34 lines
1.4 KiB
React
34 lines
1.4 KiB
React
/* Metro module 6949; source: unknown; dependencies: [4391, 598, 6950] */
|
|
function _fun55273(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#55273, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7127:6, offset: 0x0137a705, size: 66 bytes, params: 8, frame: 3
|
|
const env0_0 = require;
|
|
let Math = global.Math;
|
|
const env0_2 = Math.max;
|
|
Math = global.Math;
|
|
const env0_3 = Math.min;
|
|
module.exports = exports_55274;
|
|
}
|
|
|
|
function exports_55274(a0, a1, a2) { // fn#55274, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7127:66, offset: 0x0137a747, size: 329 bytes, params: 4, frame: 20
|
|
var r2;
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const closure = exports_55274Debounced;
|
|
let value = 0;
|
|
var env0_9;
|
|
const value2 = true;
|
|
if (typeof a0 !== 'function') {
|
|
throw new global.TypeError('Expected a function');
|
|
}
|
|
if ((require(598) /* metro dependency 598 */)(a2)) {
|
|
env0_9 = !!a2.leading;
|
|
if ('maxWait' in a2) {
|
|
value = max(require(dependencyMap[value])(a2.maxWait) || value, require(dependencyMap[value])(a1) || value);
|
|
}
|
|
r2 = 'trailing' in a2 ? !!a2.trailing : value2;
|
|
}
|
|
closure.cancel = cancel_55280;
|
|
closure.flush = flush_55281;
|
|
return closure;
|
|
}
|
|
|