Files
discord-decomp/sources/by-id/module-06486.jsx
T
2026-07-27 16:20:00 +03:00

63 lines
2.9 KiB
React

/* Metro module 6486; source: unknown; dependencies: [6374, 6375] */
function _fun51077(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51077, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6664:6, offset: 0x0122888d, 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 = _fun51078();
exports.autoScroll = autoScroll;
exports.Cancellable = value;
}
function _fun51078() { // fn#51078, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6664:122, offset: 0x012288f9, size: 78 bytes, params: 1, frame: 15
return env0_1(Cancellable, [{key: 'cancel', value: function() {
this._isCancelled = true;
}}, {key: 'isCancelled', value: function() {
return this._isCancelled;
}}]);
}
function autoScroll(a0, a1, a2, a3, a4) { // fn#51082, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6664:364, offset: 0x01228984, 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(_fun51083);
return promise instanceof Object ? promise : value;
}
function _fun51083(a0) { // fn#51083, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6664:541, offset: 0x01228a2d, 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(_fun51085);
})();
}
function animationLoop() { // fn#51084, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6664:666, offset: 0x01228b1c, size: 24 bytes, params: 1, frame: 11
global.requestAnimationFrame(_fun51085);
}