39 lines
2.4 KiB
JavaScript
39 lines
2.4 KiB
JavaScript
/* Metro module 342; source: unknown; dependencies: [44, 343] */
|
|
function _fun5052(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5052, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:383:6, offset: 0x00cd4733, size: 110 bytes, params: 8, frame: 16
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = {setGlobalOptions: setGlobalOptions, setContext: setContext, beginScroll: beginScroll,
|
|
endScroll: endScroll};
|
|
function setGlobalOptions(a0) { // fn#5053, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:383:116, offset: 0x00cd47a1, size: 143 bytes, params: 2, frame: 15
|
|
if (a0.debug !== undefined) {
|
|
(require(44) /* metro dependency 44 */)(importDefault(343) /* metro dependency 343 */,
|
|
'Trying to debug FrameRateLogger without the native module!');
|
|
}
|
|
if ((importDefault(343) /* metro dependency 343 */) != null) {
|
|
(importDefault(343) /* metro dependency 343 */).setGlobalOptions({debug: !!a0.debug});
|
|
}
|
|
}
|
|
|
|
function setContext(a0) { // fn#5054, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:383:312, offset: 0x00cd4830, size: 64 bytes, params: 2, frame: 13
|
|
if ((importDefault(343) /* metro dependency 343 */) != null) {
|
|
(importDefault(343) /* metro dependency 343 */).setContext(a0);
|
|
}
|
|
}
|
|
|
|
function beginScroll() { // fn#5055, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:383:385, offset: 0x00cd4870, size: 60 bytes, params: 1, frame: 13
|
|
if ((importDefault(343) /* metro dependency 343 */) != null) {
|
|
(importDefault(343) /* metro dependency 343 */).beginScroll();
|
|
}
|
|
}
|
|
|
|
function endScroll() { // fn#5056, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:383:456, offset: 0x00cd48ac, size: 60 bytes, params: 1, frame: 13
|
|
if ((importDefault(343) /* metro dependency 343 */) != null) {
|
|
(importDefault(343) /* metro dependency 343 */).endScroll();
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun5052, 342, [44, 343]) /* metro module 342, dependencies: [44, 343] */;
|