79 lines
3.6 KiB
React
79 lines
3.6 KiB
React
/* Metro module 1177; source: unknown; dependencies: [1171] */
|
|
function _fun13094(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13094, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1304:6, offset: 0x00de1608, size: 153 bytes, params: 8, frame: 17
|
|
var closure;
|
|
let value = this;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
if (!(value && value.__awaiter)) {
|
|
closure = function(a0, a1, a2, a3) {
|
|
var r2;
|
|
var value = a2;
|
|
var env0_0 = a0;
|
|
var env0_1 = a1;
|
|
var env0_2 = value;
|
|
var env0_3 = a3;
|
|
r2 = value || global.Promise;
|
|
value = Object.create(r2.prototype, {constructor: {value: r2}});
|
|
var value2 = new r2(_fun13096);
|
|
return value2 instanceof Object ? value2 : value;
|
|
};
|
|
}
|
|
const AsyncExpiringMap = (require(1171) /* metro dependency 1171 */).AsyncExpiringMap;
|
|
const asyncExpiringMap = new AsyncExpiringMap({ttl: 60000});
|
|
exports.addTimeToInitialDisplayFallback = addTimeToInitialDisplayFallback;
|
|
exports.getTimeToInitialDisplayFallback = function(a0) {
|
|
return a0(undefined, undefined, undefined, _fun13104);
|
|
};
|
|
}
|
|
|
|
function _fun13095(a0, a1, a2, a3) { // fn#13095, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1304:122, offset: 0x00de16a1, size: 75 bytes, params: 5, frame: 12
|
|
let value = a2;
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const env0_3 = a3;
|
|
let r2 = value || global.Promise;
|
|
value = Object.create(r2.prototype, {constructor: {value: r2}});
|
|
r2 = new r2(_fun13096);
|
|
return r2 instanceof Object ? r2 : value;
|
|
}
|
|
|
|
function getTimeToInitialDisplayFallback(a0) { // fn#13103, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1304:644, offset: 0x00de17ed, size: 35 bytes, params: 2, frame: 14
|
|
return a0(undefined, undefined, undefined, _fun13105);
|
|
}
|
|
|
|
function _fun13096(a0, a1) { // fn#13096, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1304:168, offset: 0x00de16ec, size: 98 bytes, params: 3, frame: 16
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const closure = step_13099;
|
|
const value2 = importAll.apply(env0_0, require || []);
|
|
closure(value2.next());
|
|
}
|
|
|
|
function* _fun13105() { // fn#13105, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1304:719, offset: 0x00de1819, size: 37 bytes, params: 1, frame: 12
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
const binding = env2_1;
|
|
const get = binding.get;
|
|
value = environment.__proto__;
|
|
return Reflect.apply(get, binding, [env1_0]);
|
|
}
|
|
|
|
function step_13099(a0) { // fn#13099, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1304:296, offset: 0x00de174e, size: 77 bytes, params: 2, frame: 14
|
|
var value;
|
|
if (a0.done) {
|
|
env0_0(a0.value);
|
|
} else {
|
|
value = a0.value;
|
|
value = step_13099Adopt(value);
|
|
value.then(fulfilled_13097, rejected_13098);
|
|
}
|
|
}
|
|
|
|
function step_13099Adopt(a0) { // fn#13100, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1304:331, owner: step_13099.adopt, offset: 0x00de179b, size: 54 bytes, params: 2, frame: 12
|
|
const value = a0;
|
|
return value instanceof env2_2 ? value : new env2_2(_fun13101);
|
|
}
|
|
|