93 lines
3.7 KiB
React
93 lines
3.7 KiB
React
/* Metro module 6479; source: unknown; dependencies: [] */
|
|
function _fun51003(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6657:6, offset: 0x01226d2b, size: 62 bytes, params: 8, frame: 15
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.AutoScroll = undefined;
|
|
exports.AutoScroll = (() => {
|
|
var closure = _fun51005;
|
|
closure.scrollNow = _fun51006;
|
|
return closure;
|
|
})();
|
|
}
|
|
|
|
function _fun51004() { // fn#51004, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6657:118, offset: 0x01226d69, size: 22 bytes, params: 1, frame: 2
|
|
const closure = function() {
|
|
};
|
|
closure.scrollNow = function(a0, a1, a2, a3, a4, a5) {
|
|
var env0_0 = a0;
|
|
var env0_1 = a1;
|
|
var env0_2 = a2;
|
|
var env0_3 = a3;
|
|
var env0_4 = a4;
|
|
var env0_5 = a5;
|
|
if (a5 === undefined) {
|
|
env0_5 = 1;
|
|
}
|
|
var Promise = global.Promise;
|
|
var value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
|
var value2 = new Promise(_fun51007);
|
|
return value2 instanceof Object ? value2 : value;
|
|
};
|
|
return closure;
|
|
}
|
|
|
|
function scrollNow(a0, a1, a2, a3, a4, a5) { // fn#51006, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6657:180, offset: 0x01226d7f, size: 92 bytes, params: 7, frame: 11
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const env0_2 = a2;
|
|
const env0_3 = a3;
|
|
const env0_4 = a4;
|
|
const env0_5 = a5;
|
|
if (a5 !== undefined) {
|
|
}
|
|
const Promise = global.Promise;
|
|
const value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
|
const promise = new Promise(_fun51007);
|
|
return promise instanceof Object ? promise : value;
|
|
}
|
|
|
|
function _fun51007(a0) { // fn#51007, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6657:240, offset: 0x01226ddb, size: 107 bytes, params: 2, frame: 17
|
|
a0.scrollToOffset(require, importDefault, false);
|
|
const env0_1 = 0.1 * env0_5;
|
|
const Date = global.Date;
|
|
const env0_2 = Date.now();
|
|
(function() {
|
|
global.requestAnimationFrame(_fun51009);
|
|
})();
|
|
}
|
|
|
|
function animationLoop_51008() { // fn#51008, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6657:311, offset: 0x01226e46, size: 24 bytes, params: 1, frame: 11
|
|
global.requestAnimationFrame(_fun51009);
|
|
}
|
|
|
|
function _fun51009() { // fn#51009, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6657:359, offset: 0x01226e5e, size: 216 bytes, params: 1, frame: 22
|
|
const Date = global.Date;
|
|
const value = Date.now();
|
|
let binding = env1_1;
|
|
const value3 = binding * (value - env1_2);
|
|
env1_3 = require + value3;
|
|
env1_4 = importDefault + value3;
|
|
binding = env2_0;
|
|
const scrollToOffset = binding.scrollToOffset;
|
|
let Math = global.Math;
|
|
let min = Math.min;
|
|
const value5 = Reflect.apply(min, Math, [importAll, require]);
|
|
Math = global.Math;
|
|
Reflect.apply(scrollToOffset, binding, [value5, Math.min(env2_4, importDefault), false]);
|
|
Math = global.Math;
|
|
min = Math.min;
|
|
if (Reflect.apply(min, Math, [importAll, require]) !== importAll) {
|
|
animationLoop_51008();
|
|
} else {
|
|
Math = global.Math;
|
|
min = Math.min;
|
|
binding = env2_4;
|
|
if (Reflect.apply(min, Math, [binding, importDefault]) === binding) {
|
|
env1_0();
|
|
} else {
|
|
animationLoop_51008();
|
|
}
|
|
}
|
|
}
|
|
|