63 lines
2.9 KiB
React
63 lines
2.9 KiB
React
/* Metro module 6494; source: unknown; dependencies: [6374, 6375] */
|
|
function _fun51154(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51154, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6672:6, offset: 0x0122a9d1, size: 108 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(6374) /* metro dependency 6374 */;
|
|
const env0_1 = importDefault(6375) /* metro dependency 6375 */;
|
|
const value = _fun51155();
|
|
exports.autoScroll = autoScroll_51159;
|
|
exports.Cancellable = value;
|
|
}
|
|
|
|
function _fun51155() { // fn#51155, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6672:122, offset: 0x0122aa3d, size: 78 bytes, params: 1, frame: 15
|
|
return env0_1(Cancellable_51156, [{key: 'cancel', value: function() {
|
|
this._isCancelled = true;
|
|
}}, {key: 'isCancelled', value: function() {
|
|
return this._isCancelled;
|
|
}}]);
|
|
}
|
|
|
|
function autoScroll_51159(a0, a1, a2, a3, a4) { // fn#51159, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6672:364, offset: 0x0122aa8b, size: 169 bytes, params: 6, frame: 15
|
|
var value2;
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const env0_2 = a2;
|
|
const env0_3 = a3;
|
|
const env0_4 = a4;
|
|
var value;
|
|
value = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : value;
|
|
if (arguments.length > 6) {
|
|
if (arguments[6] !== undefined) {
|
|
value = arguments[6];
|
|
} else {
|
|
value2 = new env0_2();
|
|
}
|
|
} else {
|
|
value2 = new env0_2();
|
|
}
|
|
const Promise = global.Promise;
|
|
value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
|
const promise = new Promise(_fun51160);
|
|
return promise instanceof Object ? promise : value;
|
|
}
|
|
|
|
function _fun51160(a0) { // fn#51160, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6672:541, offset: 0x0122ab34, size: 239 bytes, params: 2, frame: 17
|
|
a0(require, importDefault, false);
|
|
const env0_1 = 7 * env0_5;
|
|
const value2 = -1;
|
|
const env0_2 = importAll > require ? 1 : value2;
|
|
let r3 = env0_4 > importDefault ? 1 : value2;
|
|
var env0_4 = importAll > require ? global.Math.min : global.Math.max;
|
|
r3 = env0_4 > importDefault ? global.Math.min : global.Math.max;
|
|
const Date = global.Date;
|
|
const env0_6 = Date.now();
|
|
(function() {
|
|
global.requestAnimationFrame(_fun51162);
|
|
})();
|
|
}
|
|
|
|
function animationLoop_51161() { // fn#51161, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6672:666, offset: 0x0122ac23, size: 24 bytes, params: 1, frame: 11
|
|
global.requestAnimationFrame(_fun51162);
|
|
}
|
|
|