72 lines
3.4 KiB
React
72 lines
3.4 KiB
React
/* Metro module 7420; source: unknown; dependencies: [7393, 7397, 7369, 7376] */
|
|
function _fun59831(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59831, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7598:6, offset: 0x016f41aa, size: 70 bytes, params: 8, frame: 16
|
|
let env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.notifyEventProcessors = function(a0, a1, a2) {
|
|
var env0_0 = a0;
|
|
var env0_1 = a1;
|
|
var env0_2 = a2;
|
|
var value = 0;
|
|
var env0_3 = arguments.length > 3 ? arguments[3] === undefined ? value : arguments[3] : value;
|
|
var SyncPromise = require(dependencyMap[value]).SyncPromise;
|
|
value = Object.create(SyncPromise.prototype, {constructor: {value: SyncPromise}});
|
|
var value4 = new SyncPromise(_fun59833);
|
|
return value4 instanceof Object ? value4 : value;
|
|
};
|
|
}
|
|
|
|
function notifyEventProcessors_59832(a0, a1, a2) { // fn#59832, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7598:103, offset: 0x016f41f0, size: 115 bytes, params: 4, frame: 15
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const env0_2 = a2;
|
|
let value = 0;
|
|
const env0_3 = arguments.length > 3 ? arguments[3] === undefined ? value : arguments[3] : value;
|
|
const SyncPromise = require(dependencyMap[value]).SyncPromise;
|
|
value = Object.create(SyncPromise.prototype, {constructor: {value: SyncPromise}});
|
|
const syncPromise = new SyncPromise(_fun59833);
|
|
return syncPromise instanceof Object ? syncPromise : value;
|
|
}
|
|
|
|
function _fun59833(a0, a1) { // fn#59833, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7598:237, offset: 0x016f4263, size: 338 bytes, params: 3, frame: 26
|
|
var environment;
|
|
var r8;
|
|
var value3;
|
|
var value4;
|
|
var logger;
|
|
var moduleValue;
|
|
const env0_0 = a0;
|
|
var value;
|
|
const property = env0_0[env0_3];
|
|
if (require === null) {
|
|
a0(require);
|
|
} else if (typeof property !== 'function') {
|
|
a0(require);
|
|
} else {
|
|
value3 = property(global.Object.assign({}, require), importDefault);
|
|
value4 = environment.__proto__;
|
|
r8 = (require(7397) /* metro dependency 7397 */).DEBUG_BUILD && property.id;
|
|
r8 = r8 && value3 === null;
|
|
if (r8) {
|
|
logger = (require(7369) /* metro dependency 7369 */).logger;
|
|
logger.log('Event processor "' + property.id + '" dropped event');
|
|
}
|
|
moduleValue = require(7376) /* metro dependency 7376 */;
|
|
if (moduleValue.isThenable(value3)) {
|
|
value3.then(_fun59834).then(null, a1);
|
|
} else {
|
|
value = notifyEventProcessors_59832(env0_0, value3, importDefault, env0_3 + 1);
|
|
value = value.then(a0);
|
|
value.then(null, a1);
|
|
}
|
|
}
|
|
}
|
|
|
|
function _fun59834(a0) { // fn#59834, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7598:466, offset: 0x016f43b5, size: 57 bytes, params: 2, frame: 17
|
|
let value = environment.__proto__.__proto__;
|
|
const notifyEventProcessors_59832Binding = notifyEventProcessors_59832;
|
|
value = environment.__proto__;
|
|
return notifyEventProcessors_59832Binding(env1_0, a0, importDefault, env1_3 + 1).then(env0_0);
|
|
}
|
|
|