789 lines
38 KiB
React
789 lines
38 KiB
React
/* Metro module 517; source: unknown; dependencies: [518, 519, 521, 523, 535, 536, 526, 537, 538, 539, 540, 533, 534, 541, 525, 542, 543, 544, 545, 546, 547, 548, 524, 531, 550] */
|
|
function _fun6606(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#6606, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:567:6, offset: 0x00d01f2a, size: 3176 bytes, params: 8, frame: 28
|
|
var r7;
|
|
var value12;
|
|
var value13;
|
|
var map;
|
|
var value16;
|
|
var value17;
|
|
var set;
|
|
var error;
|
|
var value22;
|
|
const env0_0 = require;
|
|
const value = undefined;
|
|
const Function = global.Function;
|
|
const r12 = (require(519) /* metro dependency 519 */) ? _fun6609() : throwTypeError;
|
|
const value3 = (require(521) /* metro dependency 521 */)();
|
|
const object2 = {};
|
|
let Uint8Array = global.Uint8Array;
|
|
const r5 = typeof Uint8Array === 'undefined' ? value : (require(523) /* metro dependency 523 */) ? (require(523) /* metro dependency 523 */)(global.Uint8Array) : value;
|
|
const value6 = Object.create(null);
|
|
let AggregateError = global.AggregateError;
|
|
AggregateError = typeof AggregateError === 'undefined' ? value : global.AggregateError;
|
|
value6['%AggregateError%'] = AggregateError;
|
|
let Array = global.Array;
|
|
value6['%Array%'] = Array;
|
|
let ArrayBuffer = global.ArrayBuffer;
|
|
ArrayBuffer = typeof ArrayBuffer === 'undefined' ? value : global.ArrayBuffer;
|
|
value6['%ArrayBuffer%'] = ArrayBuffer;
|
|
value6['%ArrayIteratorPrototype%'] = value3 && (require(523) /* metro dependency 523 */) ? (require(523) /* metro dependency 523 */)([][global.Symbol.iterator]()) : value;
|
|
value6['%AsyncFromSyncIteratorPrototype%'] = value;
|
|
value6['%AsyncFunction%'] = object2;
|
|
value6['%AsyncGenerator%'] = object2;
|
|
value6['%AsyncGeneratorFunction%'] = object2;
|
|
value6['%AsyncIteratorPrototype%'] = object2;
|
|
let Atomics = global.Atomics;
|
|
Atomics = typeof Atomics === 'undefined' ? value : global.Atomics;
|
|
value6['%Atomics%'] = Atomics;
|
|
let BigInt = global.BigInt;
|
|
BigInt = typeof BigInt === 'undefined' ? value : global.BigInt;
|
|
value6['%BigInt%'] = BigInt;
|
|
let BigInt64Array = global.BigInt64Array;
|
|
BigInt64Array = typeof BigInt64Array === 'undefined' ? value : global.BigInt64Array;
|
|
value6['%BigInt64Array%'] = BigInt64Array;
|
|
let BigUint64Array = global.BigUint64Array;
|
|
BigUint64Array = typeof BigUint64Array === 'undefined' ? value : global.BigUint64Array;
|
|
value6['%BigUint64Array%'] = BigUint64Array;
|
|
const Boolean = global.Boolean;
|
|
value6['%Boolean%'] = Boolean;
|
|
let DataView = global.DataView;
|
|
DataView = typeof DataView === 'undefined' ? value : global.DataView;
|
|
value6['%DataView%'] = DataView;
|
|
const Date = global.Date;
|
|
value6['%Date%'] = Date;
|
|
value6['%decodeURI%'] = global.decodeURI;
|
|
value6['%decodeURIComponent%'] = global.decodeURIComponent;
|
|
value6['%encodeURI%'] = global.encodeURI;
|
|
value6['%encodeURIComponent%'] = global.encodeURIComponent;
|
|
value6['%Error%'] = require(535) /* metro dependency 535 */;
|
|
value6['%eval%'] = global.eval;
|
|
value6['%EvalError%'] = require(536) /* metro dependency 536 */;
|
|
let Float16Array = global.Float16Array;
|
|
Float16Array = typeof Float16Array === 'undefined' ? value : global.Float16Array;
|
|
value6['%Float16Array%'] = Float16Array;
|
|
let Float32Array = global.Float32Array;
|
|
Float32Array = typeof Float32Array === 'undefined' ? value : global.Float32Array;
|
|
value6['%Float32Array%'] = Float32Array;
|
|
let Float64Array = global.Float64Array;
|
|
Float64Array = typeof Float64Array === 'undefined' ? value : global.Float64Array;
|
|
value6['%Float64Array%'] = Float64Array;
|
|
let FinalizationRegistry = global.FinalizationRegistry;
|
|
FinalizationRegistry = typeof FinalizationRegistry === 'undefined' ? value : global.FinalizationRegistry;
|
|
value6['%FinalizationRegistry%'] = FinalizationRegistry;
|
|
value6['%Function%'] = Function;
|
|
value6['%GeneratorFunction%'] = object2;
|
|
let Int8Array = global.Int8Array;
|
|
Int8Array = typeof Int8Array === 'undefined' ? value : global.Int8Array;
|
|
value6['%Int8Array%'] = Int8Array;
|
|
let Int16Array = global.Int16Array;
|
|
Int16Array = typeof Int16Array === 'undefined' ? value : global.Int16Array;
|
|
value6['%Int16Array%'] = Int16Array;
|
|
let Int32Array = global.Int32Array;
|
|
Int32Array = typeof Int32Array === 'undefined' ? value : global.Int32Array;
|
|
value6['%Int32Array%'] = Int32Array;
|
|
value6['%isFinite%'] = global.isFinite;
|
|
value6['%isNaN%'] = global.isNaN;
|
|
value6['%IteratorPrototype%'] = value3 && (require(523) /* metro dependency 523 */) ? (require(523) /* metro dependency 523 */)((require(523) /* metro dependency 523 */)([][global.Symbol.iterator]())) : value;
|
|
let JSON = global.JSON;
|
|
JSON = typeof JSON !== 'object' ? value : global.JSON;
|
|
value6['%JSON%'] = JSON;
|
|
let Map = global.Map;
|
|
Map = typeof Map === 'undefined' ? value : global.Map;
|
|
value6['%Map%'] = Map;
|
|
Map = global.Map;
|
|
if (typeof Map === 'undefined') {
|
|
r7 = value;
|
|
} else if (value3) {
|
|
if (require(523) /* metro dependency 523 */) {
|
|
value12 = require(523) /* metro dependency 523 */;
|
|
Map = global.Map;
|
|
value13 = Object.create(Map.prototype, {constructor: {value: Map}});
|
|
map = new Map();
|
|
r7 = value12((map instanceof Object ? map : value13)[global.Symbol.iterator]());
|
|
} else {
|
|
r7 = value;
|
|
}
|
|
} else {
|
|
r7 = value;
|
|
}
|
|
value6['%MapIteratorPrototype%'] = r7;
|
|
const Math = global.Math;
|
|
value6['%Math%'] = Math;
|
|
const Number = global.Number;
|
|
value6['%Number%'] = Number;
|
|
value6['%Object%'] = require(526) /* metro dependency 526 */;
|
|
value6['%Object.getOwnPropertyDescriptor%'] = require(519) /* metro dependency 519 */;
|
|
value6['%parseFloat%'] = global.parseFloat;
|
|
value6['%parseInt%'] = global.parseInt;
|
|
let Promise = global.Promise;
|
|
Promise = typeof Promise === 'undefined' ? value : global.Promise;
|
|
value6['%Promise%'] = Promise;
|
|
let Proxy = global.Proxy;
|
|
Proxy = typeof Proxy === 'undefined' ? value : global.Proxy;
|
|
value6['%Proxy%'] = Proxy;
|
|
value6['%RangeError%'] = require(537) /* metro dependency 537 */;
|
|
value6['%ReferenceError%'] = require(538) /* metro dependency 538 */;
|
|
let Reflect = global.Reflect;
|
|
Reflect = typeof Reflect === 'undefined' ? value : global.Reflect;
|
|
value6['%Reflect%'] = Reflect;
|
|
let RegExp = global.RegExp;
|
|
value6['%RegExp%'] = RegExp;
|
|
let Set = global.Set;
|
|
Set = typeof Set === 'undefined' ? value : global.Set;
|
|
value6['%Set%'] = Set;
|
|
Set = global.Set;
|
|
if (typeof Set === 'undefined') {
|
|
r7 = value;
|
|
} else if (value3) {
|
|
if (require(523) /* metro dependency 523 */) {
|
|
value16 = require(523) /* metro dependency 523 */;
|
|
Set = global.Set;
|
|
value17 = Object.create(Set.prototype, {constructor: {value: Set}});
|
|
set = new Set();
|
|
r7 = value16((set instanceof Object ? set : value17)[global.Symbol.iterator]());
|
|
} else {
|
|
r7 = value;
|
|
}
|
|
} else {
|
|
r7 = value;
|
|
}
|
|
value6['%SetIteratorPrototype%'] = r7;
|
|
let SharedArrayBuffer = global.SharedArrayBuffer;
|
|
SharedArrayBuffer = typeof SharedArrayBuffer === 'undefined' ? value : global.SharedArrayBuffer;
|
|
value6['%SharedArrayBuffer%'] = SharedArrayBuffer;
|
|
let String = global.String;
|
|
value6['%String%'] = String;
|
|
value6['%StringIteratorPrototype%'] = value3 && (require(523) /* metro dependency 523 */) ? (require(523) /* metro dependency 523 */)(''[global.Symbol.iterator]()) : value;
|
|
const Symbol = value3 ? global.Symbol : value;
|
|
value6['%Symbol%'] = Symbol;
|
|
value6['%SyntaxError%'] = require(539) /* metro dependency 539 */;
|
|
value6['%ThrowTypeError%'] = r12;
|
|
value6['%TypedArray%'] = r5;
|
|
value6['%TypeError%'] = require(518) /* metro dependency 518 */;
|
|
Uint8Array = global.Uint8Array;
|
|
Uint8Array = typeof Uint8Array === 'undefined' ? value : global.Uint8Array;
|
|
value6['%Uint8Array%'] = Uint8Array;
|
|
let Uint8ClampedArray = global.Uint8ClampedArray;
|
|
Uint8ClampedArray = typeof Uint8ClampedArray === 'undefined' ? value : global.Uint8ClampedArray;
|
|
value6['%Uint8ClampedArray%'] = Uint8ClampedArray;
|
|
let Uint16Array = global.Uint16Array;
|
|
Uint16Array = typeof Uint16Array === 'undefined' ? value : global.Uint16Array;
|
|
value6['%Uint16Array%'] = Uint16Array;
|
|
let Uint32Array = global.Uint32Array;
|
|
Uint32Array = typeof Uint32Array === 'undefined' ? value : global.Uint32Array;
|
|
value6['%Uint32Array%'] = Uint32Array;
|
|
value6['%URIError%'] = require(540) /* metro dependency 540 */;
|
|
let WeakMap = global.WeakMap;
|
|
WeakMap = typeof WeakMap === 'undefined' ? value : global.WeakMap;
|
|
value6['%WeakMap%'] = WeakMap;
|
|
let WeakRef = global.WeakRef;
|
|
WeakRef = typeof WeakRef === 'undefined' ? value : global.WeakRef;
|
|
value6['%WeakRef%'] = WeakRef;
|
|
let WeakSet = global.WeakSet;
|
|
WeakSet = typeof WeakSet === 'undefined' ? value : global.WeakSet;
|
|
value6['%WeakSet%'] = WeakSet;
|
|
value6['%Function.prototype.call%'] = require(533) /* metro dependency 533 */;
|
|
value6['%Function.prototype.apply%'] = require(534) /* metro dependency 534 */;
|
|
value6['%Object.defineProperty%'] = require(541) /* metro dependency 541 */;
|
|
value6['%Object.getPrototypeOf%'] = require(525) /* metro dependency 525 */;
|
|
value6['%Math.abs%'] = require(542) /* metro dependency 542 */;
|
|
value6['%Math.floor%'] = require(543) /* metro dependency 543 */;
|
|
value6['%Math.max%'] = require(544) /* metro dependency 544 */;
|
|
value6['%Math.min%'] = require(545) /* metro dependency 545 */;
|
|
value6['%Math.pow%'] = require(546) /* metro dependency 546 */;
|
|
value6['%Math.round%'] = require(547) /* metro dependency 547 */;
|
|
value6['%Math.sign%'] = require(548) /* metro dependency 548 */;
|
|
value6['%Reflect.getPrototypeOf%'] = require(524) /* metro dependency 524 */;
|
|
if (require(523) /* metro dependency 523 */) {
|
|
try {
|
|
null.error;
|
|
} catch (error) {
|
|
value22 = require(523) /* metro dependency 523 */;
|
|
value6['%Error.prototype%'] = value22((require(523) /* metro dependency 523 */)(error));
|
|
}
|
|
}
|
|
const value23 = Object.create(null);
|
|
value23['%ArrayBufferPrototype%'] = ['ArrayBuffer', 'prototype'];
|
|
value23['%ArrayPrototype%'] = ['Array', 'prototype'];
|
|
value23['%ArrayProto_entries%'] = ['Array', 'prototype', 'entries'];
|
|
value23['%ArrayProto_forEach%'] = ['Array', 'prototype', 'forEach'];
|
|
value23['%ArrayProto_keys%'] = ['Array', 'prototype', 'keys'];
|
|
value23['%ArrayProto_values%'] = ['Array', 'prototype', 'values'];
|
|
value23['%AsyncFunctionPrototype%'] = ['AsyncFunction', 'prototype'];
|
|
value23['%AsyncGenerator%'] = ['AsyncGeneratorFunction', 'prototype'];
|
|
value23['%AsyncGeneratorPrototype%'] = ['AsyncGeneratorFunction', 'prototype', 'prototype'];
|
|
value23['%BooleanPrototype%'] = ['Boolean', 'prototype'];
|
|
value23['%DataViewPrototype%'] = ['DataView', 'prototype'];
|
|
value23['%DatePrototype%'] = ['Date', 'prototype'];
|
|
value23['%ErrorPrototype%'] = ['Error', 'prototype'];
|
|
value23['%EvalErrorPrototype%'] = ['EvalError', 'prototype'];
|
|
value23['%Float32ArrayPrototype%'] = ['Float32Array', 'prototype'];
|
|
value23['%Float64ArrayPrototype%'] = ['Float64Array', 'prototype'];
|
|
value23['%FunctionPrototype%'] = ['Function', 'prototype'];
|
|
value23['%Generator%'] = ['GeneratorFunction', 'prototype'];
|
|
value23['%GeneratorPrototype%'] = ['GeneratorFunction', 'prototype', 'prototype'];
|
|
value23['%Int8ArrayPrototype%'] = ['Int8Array', 'prototype'];
|
|
value23['%Int16ArrayPrototype%'] = ['Int16Array', 'prototype'];
|
|
value23['%Int32ArrayPrototype%'] = ['Int32Array', 'prototype'];
|
|
value23['%JSONParse%'] = ['JSON', 'parse'];
|
|
value23['%JSONStringify%'] = ['JSON', 'stringify'];
|
|
value23['%MapPrototype%'] = ['Map', 'prototype'];
|
|
value23['%NumberPrototype%'] = ['Number', 'prototype'];
|
|
value23['%ObjectPrototype%'] = ['Object', 'prototype'];
|
|
value23['%ObjProto_toString%'] = ['Object', 'prototype', 'toString'];
|
|
value23['%ObjProto_valueOf%'] = ['Object', 'prototype', 'valueOf'];
|
|
value23['%PromisePrototype%'] = ['Promise', 'prototype'];
|
|
value23['%PromiseProto_then%'] = ['Promise', 'prototype', 'then'];
|
|
value23['%Promise_all%'] = ['Promise', 'all'];
|
|
value23['%Promise_reject%'] = ['Promise', 'reject'];
|
|
value23['%Promise_resolve%'] = ['Promise', 'resolve'];
|
|
value23['%RangeErrorPrototype%'] = ['RangeError', 'prototype'];
|
|
value23['%ReferenceErrorPrototype%'] = ['ReferenceError', 'prototype'];
|
|
value23['%RegExpPrototype%'] = ['RegExp', 'prototype'];
|
|
value23['%SetPrototype%'] = ['Set', 'prototype'];
|
|
value23['%SharedArrayBufferPrototype%'] = ['SharedArrayBuffer', 'prototype'];
|
|
value23['%StringPrototype%'] = ['String', 'prototype'];
|
|
value23['%SymbolPrototype%'] = ['Symbol', 'prototype'];
|
|
value23['%SyntaxErrorPrototype%'] = ['SyntaxError', 'prototype'];
|
|
value23['%TypedArrayPrototype%'] = ['TypedArray', 'prototype'];
|
|
value23['%TypeErrorPrototype%'] = ['TypeError', 'prototype'];
|
|
value23['%Uint8ArrayPrototype%'] = ['Uint8Array', 'prototype'];
|
|
value23['%Uint8ClampedArrayPrototype%'] = ['Uint8ClampedArray', 'prototype'];
|
|
value23['%Uint16ArrayPrototype%'] = ['Uint16Array', 'prototype'];
|
|
value23['%Uint32ArrayPrototype%'] = ['Uint32Array', 'prototype'];
|
|
value23['%URIErrorPrototype%'] = ['URIError', 'prototype'];
|
|
value23['%WeakMapPrototype%'] = ['WeakMap', 'prototype'];
|
|
value23['%WeakSetPrototype%'] = ['WeakSet', 'prototype'];
|
|
const value24 = require(531) /* metro dependency 531 */;
|
|
let call = value24.call;
|
|
const value25 = require(533) /* metro dependency 533 */;
|
|
Array = global.Array;
|
|
const env0_9 = Reflect.apply(call, value24, [value25, Array.prototype.concat]);
|
|
const value26 = value24;
|
|
call = value26.call;
|
|
const value27 = require(534) /* metro dependency 534 */;
|
|
Array = global.Array;
|
|
const env0_10 = Reflect.apply(call, value26, [value27, Array.prototype.splice]);
|
|
const value28 = value24;
|
|
call = value28.call;
|
|
const value29 = value25;
|
|
String = global.String;
|
|
const env0_11 = Reflect.apply(call, value28, [value29, String.prototype.replace]);
|
|
const value30 = value24;
|
|
call = value30.call;
|
|
const value31 = value25;
|
|
String = global.String;
|
|
const env0_12 = Reflect.apply(call, value30, [value31, String.prototype.slice]);
|
|
const value32 = value24;
|
|
call = value32.call;
|
|
const value33 = value25;
|
|
RegExp = global.RegExp;
|
|
const env0_13 = Reflect.apply(call, value32, [value33, RegExp.prototype.exec]);
|
|
const env0_14 = RegExp('[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["\'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))',
|
|
'g');
|
|
const env0_15 = RegExp('\\\\(\\\\)?', 'g');
|
|
module.exports = exports_6612;
|
|
return value;
|
|
}
|
|
|
|
function getEvalledConstructor(a0) { // fn#6607, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:567:64, offset: 0x00d02b92, size: 52 bytes, params: 2, frame: 12
|
|
var value;
|
|
var error;
|
|
try {
|
|
value = environment;
|
|
value = '"use strict"; return (' + a0;
|
|
value += ').constructor;';
|
|
value = Function(value);
|
|
value = value();
|
|
} catch (error) {
|
|
return undefined;
|
|
}
|
|
return value;
|
|
}
|
|
|
|
function throwTypeError() { // fn#6608, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:567:172, offset: 0x00d02bc6, size: 46 bytes, params: 1, frame: 11
|
|
let value = require(518) /* metro dependency 518 */;
|
|
value = new value();
|
|
throw value;
|
|
}
|
|
|
|
function _fun6609() { // fn#6609, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:567:228, offset: 0x00d02bf4, size: 71 bytes, params: 1, frame: 14
|
|
var value;
|
|
var throwTypeErrorBinding;
|
|
var error;
|
|
var property;
|
|
var moduleValue;
|
|
var value2;
|
|
var get;
|
|
try {
|
|
value = environment;
|
|
throwTypeErrorBinding = throwTypeError;
|
|
} catch (error) {
|
|
try {
|
|
property = dependencyMap[1];
|
|
moduleValue = require(property);
|
|
value2 = moduleValue(arguments, 'callee');
|
|
get = value2.get;
|
|
} catch (error) {
|
|
return throwTypeError;
|
|
}
|
|
return get;
|
|
}
|
|
return throwTypeErrorBinding;
|
|
}
|
|
|
|
function doEval(a0) { // fn#6610, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:567:3718, offset: 0x00d02c3b, size: 240 bytes, params: 2, frame: 18
|
|
var r0;
|
|
var value;
|
|
var doEval_2Binding;
|
|
var value3;
|
|
var value4;
|
|
if (a0 === '%AsyncFunction%') {
|
|
r0 = getEvalledConstructor('async function () {}');
|
|
} else if (a0 === '%GeneratorFunction%') {
|
|
r0 = getEvalledConstructor('function* () {}');
|
|
} else if (a0 === '%AsyncGeneratorFunction%') {
|
|
r0 = getEvalledConstructor('async function* () {}');
|
|
} else if (a0 === '%AsyncGenerator%') {
|
|
doEval_2Binding = doEval_2;
|
|
value = undefined;
|
|
value4 = doEval_2Binding('%AsyncGeneratorFunction%');
|
|
r0 = value4 ? value4.prototype : value;
|
|
} else {
|
|
value = undefined;
|
|
if (a0 !== '%AsyncIteratorPrototype%') {
|
|
r0 = value;
|
|
} else {
|
|
value3 = doEval_2('%AsyncGenerator%');
|
|
r0 = value3 && (require(523) /* metro dependency 523 */) ? (require(523) /* metro dependency 523 */)(value3.prototype) : value;
|
|
}
|
|
}
|
|
env0_6[a0] = r0;
|
|
return r0;
|
|
}
|
|
|
|
function getBaseIntrinsic(a0, a1) { // fn#6611, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:567:7039, offset: 0x00d02d2b, size: 280 bytes, params: 3, frame: 18
|
|
var r2;
|
|
var r3;
|
|
var r1;
|
|
var property;
|
|
var moduleValue4;
|
|
var value7;
|
|
let value = a0;
|
|
const value3 = undefined;
|
|
if ((require(550) /* metro dependency 550 */)(env0_8, value)) {
|
|
property = env0_8[value];
|
|
r2 = '%' + property[0] + '%';
|
|
r3 = property;
|
|
} else {
|
|
r2 = value;
|
|
r3 = value3;
|
|
}
|
|
if ((require(550) /* metro dependency 550 */)(env0_6, r2)) {
|
|
property = env0_6[r2];
|
|
r1 = property !== env0_5 ? property : doEval(r2);
|
|
if (value3 !== r1) {
|
|
return {alias: r3, name: r2, value: r1};
|
|
}
|
|
if (a1) {
|
|
return {alias: r3, name: r2, value: r1};
|
|
}
|
|
moduleValue4 = require(518) /* metro dependency 518 */;
|
|
value = 'intrinsic ' + value;
|
|
value7 = Object.create(moduleValue4.prototype, {constructor: {value: moduleValue4}});
|
|
value += ' exists, but is not available. Please file an issue!';
|
|
value = new moduleValue4(value);
|
|
value = value instanceof Object ? value : value7;
|
|
throw value;
|
|
}
|
|
const moduleValue3 = require(539) /* metro dependency 539 */;
|
|
value = 'intrinsic ' + value;
|
|
const value5 = Object.create(moduleValue3.prototype, {constructor: {value: moduleValue3}});
|
|
value += ' does not exist!';
|
|
value = new moduleValue3(value);
|
|
value = value instanceof Object ? value : value5;
|
|
throw value;
|
|
}
|
|
|
|
function exports_6612(a0, a1) { // fn#6612, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:567:7368, offset: 0x00d02e43, size: 895 bytes, params: 3, frame: 48
|
|
var environment;
|
|
var r21;
|
|
var r6;
|
|
var r7;
|
|
var r8;
|
|
var r19;
|
|
var r4;
|
|
var r35;
|
|
var r31;
|
|
var r32;
|
|
var r33;
|
|
var r27;
|
|
var r29;
|
|
var r1;
|
|
var length;
|
|
var value;
|
|
var value2;
|
|
var binding;
|
|
var value3;
|
|
var value4;
|
|
var value5;
|
|
var property;
|
|
var baseIntrinsic;
|
|
var value7;
|
|
var alias;
|
|
var binding2;
|
|
var value8;
|
|
var value9;
|
|
var value10;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
var value14;
|
|
var moduleValue;
|
|
var value15;
|
|
var prototype;
|
|
var value16;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var value20;
|
|
var get;
|
|
var value21;
|
|
var value22;
|
|
if (typeof a0 === 'string') {
|
|
length = a0.length;
|
|
reducibleJoin44: while (true) {
|
|
if (length !== 0) {
|
|
value = 1;
|
|
if (arguments.length > value) {
|
|
reducibleJoin4: while (true) {
|
|
if (typeof a1 !== 'boolean') {
|
|
value = environment;
|
|
value = require(518) /* metro dependency 518 */;
|
|
value = new value('"allowMissing" argument must be a boolean');
|
|
throw value;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
}
|
|
value2 = environment;
|
|
binding = env0_13;
|
|
value3 = binding(RegExp('^%?[^%]*%?$', ''), a0);
|
|
if (value3 === null) {
|
|
value = require(539) /* metro dependency 539 */;
|
|
value = new value('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
throw value;
|
|
}
|
|
value4 = stringToPath(a0);
|
|
length = value4.length;
|
|
value5 = '';
|
|
reducibleJoin7: while (true) {
|
|
if (length > 0) {
|
|
property = value4[0];
|
|
r21 = property;
|
|
break reducibleJoin7;
|
|
}
|
|
r21 = value5;
|
|
break reducibleJoin7;
|
|
}
|
|
baseIntrinsic = getBaseIntrinsic('%' + r21 + '%', a1);
|
|
baseIntrinsic.name;
|
|
value7 = baseIntrinsic.value;
|
|
alias = baseIntrinsic.alias;
|
|
reducibleJoin9: while (true) {
|
|
if (alias) {
|
|
property = alias[0];
|
|
binding = env0_10;
|
|
binding2 = env0_9;
|
|
binding(value4, binding2([0, 1], alias));
|
|
r21 = property;
|
|
break reducibleJoin9;
|
|
}
|
|
break reducibleJoin9;
|
|
}
|
|
length = value4.length;
|
|
value8 = false;
|
|
value9 = true;
|
|
if (value < length) {
|
|
r6 = value9;
|
|
r7 = value;
|
|
r8 = value7;
|
|
r19 = value8;
|
|
reducibleLoop10: while (true) {
|
|
property = value4[r7];
|
|
value10 = env0_12(property, 0, value);
|
|
value11 = env0_12(property, -1);
|
|
if (value10 !== '"') {
|
|
reducibleJoin16: while (true) {
|
|
if (value10 === "'") {
|
|
break reducibleJoin16;
|
|
}
|
|
if (value10 === '`') {
|
|
break reducibleJoin16;
|
|
}
|
|
if (value11 === '"') {
|
|
break reducibleJoin16;
|
|
}
|
|
if (value11 === "'") {
|
|
break reducibleJoin16;
|
|
}
|
|
if (value11 === '`') {
|
|
break reducibleJoin16;
|
|
}
|
|
value12 = property !== 'constructor';
|
|
r4 = value12 && r6;
|
|
if (!r4) {
|
|
r19 = value9;
|
|
}
|
|
value13 = r21 + ('.' + property);
|
|
value14 = '%' + value13 + '%';
|
|
moduleValue = require(550) /* metro dependency 550 */;
|
|
if (moduleValue(env0_6, value14)) {
|
|
property = env0_6[value14];
|
|
r27 = property;
|
|
r29 = r6;
|
|
} else {
|
|
reducibleJoin39: while (true) {
|
|
if (r8 == null) {
|
|
r27 = r8;
|
|
r29 = r6;
|
|
break reducibleJoin39;
|
|
}
|
|
if (property in r8) {
|
|
reducibleJoin34: while (true) {
|
|
reducibleJoin27: while (true) {
|
|
if (require(dependencyMap[value])) {
|
|
length = value4.length;
|
|
if (r7 + value >= length) {
|
|
value19 = require(dependencyMap[value])(r8, property);
|
|
value20 = !!value19;
|
|
reducibleJoin33: while (true) {
|
|
reducibleJoin32: while (true) {
|
|
if (value19) {
|
|
if ('get' in value19) {
|
|
get = value19.get;
|
|
if ('originalValue' in get) {
|
|
break reducibleJoin32;
|
|
}
|
|
get = value19.get;
|
|
r35 = get;
|
|
break reducibleJoin33;
|
|
}
|
|
break reducibleJoin32;
|
|
}
|
|
break reducibleJoin32;
|
|
}
|
|
property = r8[property];
|
|
r35 = property;
|
|
break reducibleJoin33;
|
|
}
|
|
r31 = value20;
|
|
r32 = r35;
|
|
break reducibleJoin34;
|
|
}
|
|
break reducibleJoin27;
|
|
}
|
|
break reducibleJoin27;
|
|
}
|
|
value18 = (require(550) /* metro dependency 550 */)(r8, property);
|
|
property = r8[property];
|
|
r31 = value18;
|
|
r32 = property;
|
|
break reducibleJoin34;
|
|
}
|
|
reducibleJoin36: while (true) {
|
|
if (r31) {
|
|
value21 = !r19;
|
|
r33 = value21;
|
|
break reducibleJoin36;
|
|
}
|
|
r33 = r31;
|
|
break reducibleJoin36;
|
|
}
|
|
if (r33) {
|
|
env0_6[value14] = r32;
|
|
r27 = r32;
|
|
r29 = r31;
|
|
break reducibleJoin39;
|
|
}
|
|
r27 = r32;
|
|
r29 = r31;
|
|
break reducibleJoin39;
|
|
}
|
|
break reducibleLoop10;
|
|
}
|
|
}
|
|
value22 = r7 + value;
|
|
length = value4.length;
|
|
if (!(value22 < length)) {
|
|
return r27;
|
|
}
|
|
r6 = r29;
|
|
r7 = value22;
|
|
r8 = r27;
|
|
r21 = value13;
|
|
continue reducibleLoop10;
|
|
}
|
|
}
|
|
if (value10 !== value11) {
|
|
value = require(539) /* metro dependency 539 */;
|
|
value = new value('property names with quotes must have matching quotes');
|
|
throw value;
|
|
}
|
|
value12 = property !== 'constructor';
|
|
r4 = value12 && r6;
|
|
if (!r4) {
|
|
r19 = value9;
|
|
}
|
|
value13 = r21 + ('.' + property);
|
|
value14 = '%' + value13 + '%';
|
|
moduleValue = require(550) /* metro dependency 550 */;
|
|
if (moduleValue(env0_6, value14)) {
|
|
property = env0_6[value14];
|
|
r27 = property;
|
|
r29 = r6;
|
|
} else {
|
|
reducibleJoin39: while (true) {
|
|
if (r8 == null) {
|
|
r27 = r8;
|
|
r29 = r6;
|
|
break reducibleJoin39;
|
|
}
|
|
if (property in r8) {
|
|
reducibleJoin34: while (true) {
|
|
reducibleJoin27: while (true) {
|
|
if (require(dependencyMap[value])) {
|
|
length = value4.length;
|
|
if (r7 + value >= length) {
|
|
value19 = require(dependencyMap[value])(r8, property);
|
|
value20 = !!value19;
|
|
reducibleJoin33: while (true) {
|
|
reducibleJoin32: while (true) {
|
|
if (value19) {
|
|
if ('get' in value19) {
|
|
get = value19.get;
|
|
if ('originalValue' in get) {
|
|
break reducibleJoin32;
|
|
}
|
|
get = value19.get;
|
|
r35 = get;
|
|
break reducibleJoin33;
|
|
}
|
|
break reducibleJoin32;
|
|
}
|
|
break reducibleJoin32;
|
|
}
|
|
property = r8[property];
|
|
r35 = property;
|
|
break reducibleJoin33;
|
|
}
|
|
r31 = value20;
|
|
r32 = r35;
|
|
break reducibleJoin34;
|
|
}
|
|
break reducibleJoin27;
|
|
}
|
|
break reducibleJoin27;
|
|
}
|
|
value18 = (require(550) /* metro dependency 550 */)(r8, property);
|
|
property = r8[property];
|
|
r31 = value18;
|
|
r32 = property;
|
|
break reducibleJoin34;
|
|
}
|
|
reducibleJoin36: while (true) {
|
|
if (r31) {
|
|
value21 = !r19;
|
|
r33 = value21;
|
|
break reducibleJoin36;
|
|
}
|
|
r33 = r31;
|
|
break reducibleJoin36;
|
|
}
|
|
if (r33) {
|
|
env0_6[value14] = r32;
|
|
r27 = r32;
|
|
r29 = r31;
|
|
break reducibleJoin39;
|
|
}
|
|
r27 = r32;
|
|
r29 = r31;
|
|
break reducibleJoin39;
|
|
}
|
|
break reducibleLoop10;
|
|
}
|
|
}
|
|
value22 = r7 + value;
|
|
length = value4.length;
|
|
if (!(value22 < length)) {
|
|
return r27;
|
|
}
|
|
r6 = r29;
|
|
r7 = value22;
|
|
r8 = r27;
|
|
r21 = value13;
|
|
continue reducibleLoop10;
|
|
}
|
|
if (a1) {
|
|
return undefined;
|
|
}
|
|
value = require(518) /* metro dependency 518 */;
|
|
value15 = 'base intrinsic for ' + a0;
|
|
prototype = value.prototype;
|
|
value16 = Object.create(prototype, {constructor: {value: value}});
|
|
value17 = value15 + ' exists, but the property is not available.';
|
|
value = new value();
|
|
value = value instanceof Object ? value : value16;
|
|
throw value;
|
|
}
|
|
r1 = value7;
|
|
return r1;
|
|
}
|
|
break reducibleJoin44;
|
|
}
|
|
}
|
|
value = require(518) /* metro dependency 518 */;
|
|
value = new value('intrinsic name must be a non-empty string');
|
|
throw value;
|
|
}
|
|
|
|
function stringToPath(a0) { // fn#6613, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:567:7742, owner: exports_6612.stringToPath, offset: 0x00d031c2, size: 188 bytes, params: 2, frame: 18
|
|
var environment;
|
|
let value = environment.__proto__;
|
|
const value2 = env1_12(a0, 0, 1);
|
|
const value3 = env1_12(a0, -1);
|
|
if (value2 === '%') {
|
|
if (value3 !== '%') {
|
|
value = require(539) /* metro dependency 539 */;
|
|
value = new value('invalid intrinsic syntax, expected closing `%`');
|
|
throw value;
|
|
}
|
|
}
|
|
if (value3 === '%') {
|
|
if (value2 !== '%') {
|
|
value = require(539) /* metro dependency 539 */;
|
|
value = new value('invalid intrinsic syntax, expected opening `%`');
|
|
throw value;
|
|
}
|
|
}
|
|
env1_11(a0, env1_14, _fun6614);
|
|
return [];
|
|
}
|
|
|
|
function _fun6614(a0, a1, a2, a3) { // fn#6614, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:567:7993, offset: 0x00d0327e, size: 69 bytes, params: 5, frame: 18
|
|
var r2;
|
|
let value = a0;
|
|
const value2 = a1;
|
|
const binding = env0_0;
|
|
const length = binding.length;
|
|
if (a2) {
|
|
value = environment.__proto__.__proto__;
|
|
value = env2_11(a3, env2_15, '$1');
|
|
r2 = value;
|
|
} else {
|
|
r2 = value2 || value;
|
|
}
|
|
binding[length] = r2;
|
|
}
|
|
|