110 lines
4.5 KiB
React
110 lines
4.5 KiB
React
/* Metro module 101; source: unknown; dependencies: [6, 7, 15, 17, 102, 18, 69, 98] */
|
|
function _fun1574(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#1574, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:126:6, offset: 0x00c620a2, size: 248 bytes, params: 8, frame: 20
|
|
const env0_0 = require;
|
|
let Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_4 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_5 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_6 = importDefault(102) /* metro dependency 102 */;
|
|
const env0_7 = importDefault(18) /* metro dependency 18 */;
|
|
let value = importDefault(98) /* metro dependency 98 */;
|
|
value = _fun1578(value);
|
|
value = new value();
|
|
Object = global.Object;
|
|
Object.defineProperty(global, '__rctDeviceEventEmitter', {configurable: true, value: value});
|
|
exports.default = value;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_1575() { // fn#1575, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:126:159, offset: 0x00c6219a, size: 94 bytes, params: 1, frame: 18
|
|
var Boolean;
|
|
var prototype;
|
|
var valueOf;
|
|
var call;
|
|
var Reflect;
|
|
var construct;
|
|
var closure;
|
|
var value;
|
|
var error;
|
|
try {
|
|
Boolean = global.Boolean;
|
|
prototype = Boolean.prototype;
|
|
valueOf = prototype.valueOf;
|
|
call = valueOf.call;
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
Boolean = global.Boolean;
|
|
closure = function() {
|
|
};
|
|
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
|
value = Reflect.apply(call, valueOf, [value]);
|
|
var result = !value;
|
|
} catch (error) {
|
|
}
|
|
return (_isNativeReflectConstruct_1575_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun1578(a0) { // fn#1578, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:126:384, offset: 0x00c621f8, size: 68 bytes, params: 2, frame: 15
|
|
const closure = RCTDeviceEventEmitterImpl;
|
|
env0_7(closure, a0);
|
|
return env0_3(closure, [{key: 'emit', value: value_1580}]);
|
|
}
|
|
|
|
function value_1580(a0) { // fn#1580, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:126:733, offset: 0x00c622ad, size: 214 bytes, params: 2, frame: 23
|
|
var environment;
|
|
var r5;
|
|
var value5;
|
|
var value8;
|
|
var value9;
|
|
const env0_0 = a0;
|
|
const value = environment.__proto__;
|
|
(require(69) /* metro dependency 69 */).beginEvent(_fun1581);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const value3 = 1;
|
|
reducibleJoin2: while (true) {
|
|
if (length > value3) {
|
|
value5 = length - value3;
|
|
r5 = value5;
|
|
break reducibleJoin2;
|
|
}
|
|
r5 = 0;
|
|
break reducibleJoin2;
|
|
}
|
|
const array = new Array();
|
|
if (value3 < length) {
|
|
r5 = value3;
|
|
reducibleLoop3: while (true) {
|
|
value8 = r5 - value3;
|
|
array[value8] = arguments[r5];
|
|
value9 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
if (value9 < length) {
|
|
r5 = value9;
|
|
continue reducibleLoop3;
|
|
}
|
|
break reducibleLoop3;
|
|
}
|
|
}
|
|
const value11 = value_1580_superPropGet(RCTDeviceEventEmitterImpl, 'emit', this, 3);
|
|
const items2 = [a0];
|
|
value11(items2.concat(array));
|
|
(require(69) /* metro dependency 69 */).endEvent();
|
|
}
|
|
|
|
function _fun1581() { // fn#1581, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:126:771, offset: 0x00c62383, size: 33 bytes, params: 1, frame: 11
|
|
return 'RCTDeviceEventEmitter.emit#' + env0_0;
|
|
}
|
|
|
|
function value_1580_superPropGet(a0, a1, a2, a3) { // fn#1582, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:126:908, owner: value_1580._superPropGet, offset: 0x00c623a4, size: 100 bytes, params: 5, frame: 18
|
|
let value = a0;
|
|
const env0_0 = a2;
|
|
const binding = env2_6;
|
|
value = env2_5(1 & 3 ? value.prototype : value);
|
|
value = binding(value, 'emit', a2);
|
|
return 2 & 3 ? typeof value !== 'function' ? value : _fun1583 : value;
|
|
}
|
|
|