34 lines
1.4 KiB
React
34 lines
1.4 KiB
React
/* Metro module 574; source: unknown; dependencies: [575, 573, 586] */
|
|
function _fun6943(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#6943, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:624:6, offset: 0x00d0c1cf, 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_6944;
|
|
}
|
|
|
|
function exports_6944(a0, a1, a2) { // fn#6944, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:624:66, offset: 0x00d0c211, size: 329 bytes, params: 4, frame: 20
|
|
var r2;
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const closure = exports_6944Debounced;
|
|
let value = 0;
|
|
var env0_9;
|
|
const value2 = true;
|
|
if (typeof a0 !== 'function') {
|
|
throw new global.TypeError('Expected a function');
|
|
}
|
|
if ((require(573) /* metro dependency 573 */)(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_6950;
|
|
closure.flush = flush_6951;
|
|
return closure;
|
|
}
|
|
|