632 lines
28 KiB
React
632 lines
28 KiB
React
/* Metro module 6628; source: unknown; dependencies: [65] */
|
|
function _fun52475(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#52475, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6806:6, offset: 0x0132d6a6, size: 279 bytes, params: 8, frame: 15
|
|
const closure = decode_52478;
|
|
const env0_0 = require(65) /* metro dependency 65 */;
|
|
const env0_1 = RegExp('^xn--', '');
|
|
const env0_2 = RegExp('[^\\0-\\x7E]', '');
|
|
const env0_3 = RegExp('[\\x2E\\u3002\\uFF0E\\uFF61]', 'g');
|
|
const env0_4 = {'overflow': 'Overflow: input needs wider integers to process',
|
|
'not-basic': 'Illegal input >= 0x80 (not a basic code point)', 'invalid-input': 'Invalid input'};
|
|
const Math = global.Math;
|
|
const env0_5 = Math.floor;
|
|
const String = global.String;
|
|
const env0_6 = String.fromCharCode;
|
|
const basicToDigit = function(a0) {
|
|
return a0 - 48 < 10 ? a0 - 22 : a0 - 65 < 26 ? a0 - 65 : a0 - 97 < 26 ? a0 - 97 : 36;
|
|
};
|
|
const digitToBasic = function(a0, a1) {
|
|
var value = a0 + 22;
|
|
value += 75 * (a0 < 26);
|
|
return value - ((0 != 0) << 5);
|
|
};
|
|
module.exports = {version: '2.1.0', ucs2: {decode: closure, encode: encode_52484}, decode: decode_52482,
|
|
encode: encode_52483, toASCII: function(a0) {
|
|
return mapDomain(a0, _fun52486);
|
|
}, toUnicode: function(a0) {
|
|
return mapDomain(a0, _fun52488);
|
|
}};
|
|
}
|
|
|
|
function decode_52482(a0) { // fn#52482, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6806:1064, offset: 0x0132da0f, size: 490 bytes, params: 2, frame: 37
|
|
var r0;
|
|
var r2;
|
|
var r10;
|
|
var r12;
|
|
var r19;
|
|
var r20;
|
|
var r21;
|
|
var r22;
|
|
var r25;
|
|
var r23;
|
|
var charCodeAt;
|
|
var push;
|
|
var value4;
|
|
var basicToDigitBinding;
|
|
var value10;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
var floorBinding;
|
|
var value14;
|
|
var value15;
|
|
var value16;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var length2;
|
|
var value20;
|
|
var value21;
|
|
var value22;
|
|
var value23;
|
|
var value24;
|
|
var value25;
|
|
var splice;
|
|
var value26;
|
|
const items2 = [];
|
|
const length = a0.length;
|
|
const value = a0.lastIndexOf('-');
|
|
const value2 = 0;
|
|
const r1 = value < value2 ? value2 : value;
|
|
const value3 = 128;
|
|
if (value2 < r1) {
|
|
r0 = value2;
|
|
while (true) {
|
|
charCodeAt = a0.charCodeAt;
|
|
if (Reflect.apply(charCodeAt, a0, [r0]) >= value3) {
|
|
error_52476('not-basic');
|
|
}
|
|
push = items2.push;
|
|
charCodeAt = a0.charCodeAt;
|
|
Reflect.apply(push, items2, [Reflect.apply(charCodeAt, a0, [r0])]);
|
|
value4 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (value4 < r1) {
|
|
r0 = value4;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
let r11 = r1 > value2 ? r1 + 1 : value2;
|
|
const value6 = 72;
|
|
const value7 = 1;
|
|
const value8 = 36;
|
|
const value9 = 26;
|
|
if (r11 < length) {
|
|
r2 = value2;
|
|
r10 = value6;
|
|
r12 = value3;
|
|
while (true) {
|
|
r19 = value8;
|
|
r20 = value7;
|
|
r21 = r2;
|
|
while (true) {
|
|
if (r11 >= length) {
|
|
error_52476('invalid-input');
|
|
}
|
|
basicToDigitBinding = basicToDigit;
|
|
charCodeAt = a0.charCodeAt;
|
|
value10 = typeof r11 === 'bigint' ? r11 : +r11;
|
|
value11 = typeof value10 === 'bigint' ? value10 + 1n : +value10 + 1;
|
|
value12 = basicToDigitBinding(Reflect.apply(charCodeAt, a0, [value10]));
|
|
value13 = value12 >= value8;
|
|
if (value13) {
|
|
r22 = value13;
|
|
continue;
|
|
}
|
|
value14 = value12 > floor((2147483647 - r21) / r20);
|
|
r22 = value14;
|
|
if (!r22) {
|
|
continue;
|
|
}
|
|
error_52476('overflow');
|
|
value15 = r21 + value12 * r20;
|
|
if (r19 <= r10) {
|
|
r23 = value7;
|
|
continue;
|
|
}
|
|
if (r19 >= r10 + value9) {
|
|
r25 = value9;
|
|
continue;
|
|
}
|
|
value16 = r19 - r10;
|
|
r25 = value16;
|
|
r23 = r25;
|
|
if (value12 < r23) {
|
|
break;
|
|
}
|
|
value17 = value8 - r23;
|
|
if (!(r20 > floor(2147483647 / value17))) {
|
|
continue;
|
|
}
|
|
error_52476('overflow');
|
|
value18 = r20 * value17;
|
|
value19 = r19 + value8;
|
|
r11 = value11;
|
|
r19 = value19;
|
|
r20 = value18;
|
|
r21 = value15;
|
|
}
|
|
length2 = items2.length;
|
|
value20 = length2 + value7;
|
|
value21 = adapt(value15 - r2, value20, value2 === r2);
|
|
floorBinding = floor;
|
|
value22 = value15 / value20;
|
|
value23 = floorBinding(value22);
|
|
if (!(value23 > 2147483647 - r12)) {
|
|
continue;
|
|
}
|
|
error_52476('overflow');
|
|
value24 = r12 + floor(value22);
|
|
value25 = value15 % value20;
|
|
splice = items2.splice;
|
|
value26 = typeof value25 === 'bigint' ? value25 + 1n : +value25 + 1;
|
|
Reflect.apply(splice, items2, [value25, value2, value24]);
|
|
if (value11 < length) {
|
|
r2 = value26;
|
|
r10 = value21;
|
|
r11 = value11;
|
|
r12 = value24;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
let String = global.String;
|
|
const fromCodePoint = String.fromCodePoint;
|
|
const apply = fromCodePoint.apply;
|
|
String = global.String;
|
|
return Reflect.apply(apply, fromCodePoint, [String, items2]);
|
|
}
|
|
|
|
function encode_52483(a0) { // fn#52483, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6806:1618, offset: 0x0132dbf9, size: 662 bytes, params: 2, frame: 43
|
|
var r2;
|
|
var r12;
|
|
var r13;
|
|
var r14;
|
|
var r16;
|
|
var r17;
|
|
var r24;
|
|
var r25;
|
|
var r21;
|
|
var r22;
|
|
var r26;
|
|
var items2;
|
|
var value;
|
|
var value2;
|
|
var length;
|
|
var value3;
|
|
var value4;
|
|
var value5;
|
|
var iterator;
|
|
var iterator2;
|
|
var item;
|
|
var item2;
|
|
var value6;
|
|
var push;
|
|
var fromCharCodeBinding;
|
|
var value7;
|
|
var error;
|
|
var length2;
|
|
var value8;
|
|
var value9;
|
|
var value10;
|
|
var value11;
|
|
var iterator3;
|
|
var item3;
|
|
var value12;
|
|
var value13;
|
|
var value14;
|
|
var value15;
|
|
var floorBinding;
|
|
var error_52476Binding;
|
|
var value16;
|
|
var iterator4;
|
|
var item4;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var value20;
|
|
var value21;
|
|
var value22;
|
|
var value23;
|
|
var value24;
|
|
var value25;
|
|
var value26;
|
|
var value27;
|
|
var digitToBasicBinding;
|
|
var value28;
|
|
var value29;
|
|
var value30;
|
|
var value31;
|
|
var value32;
|
|
var value33;
|
|
var value34;
|
|
var value35;
|
|
var value36;
|
|
var adaptBinding;
|
|
var value37;
|
|
var value38;
|
|
var value39;
|
|
var value40;
|
|
var value41;
|
|
var join;
|
|
exceptionSkip87: while (true) {
|
|
exceptionLanding87: while (true) {
|
|
exceptionSkip24: while (true) {
|
|
exceptionLanding24: while (true) {
|
|
exceptionSkip10: while (true) {
|
|
exceptionLanding10: while (true) {
|
|
items2 = [];
|
|
value = environment;
|
|
value2 = decode_52478(a0);
|
|
length = value2.length;
|
|
value3 = 128;
|
|
value4 = 0;
|
|
value5 = 72;
|
|
iterator = value2[Symbol.iterator]();
|
|
iterator2 = iterator.next;
|
|
r2 = iterator;
|
|
while (true) {
|
|
item2 = Reflect.apply(iterator2, r2, []);
|
|
item = item2.value;
|
|
item2 = item2.done ? undefined : r2;
|
|
if (item2 === undefined) {
|
|
break;
|
|
}
|
|
try {
|
|
value6 = item < value3;
|
|
} catch (error) {
|
|
break exceptionLanding10;
|
|
}
|
|
if (!value6) {
|
|
r2 = item2;
|
|
continue;
|
|
}
|
|
try {
|
|
push = items2.push;
|
|
} catch (error) {
|
|
break exceptionLanding10;
|
|
}
|
|
try {
|
|
fromCharCodeBinding = fromCharCode;
|
|
} catch (error) {
|
|
break exceptionLanding10;
|
|
}
|
|
try {
|
|
value7 = fromCharCodeBinding(item);
|
|
} catch (error) {
|
|
break exceptionLanding10;
|
|
}
|
|
try {
|
|
Reflect.apply(push, items2, [value7]);
|
|
} catch (error) {
|
|
break exceptionLanding10;
|
|
}
|
|
r2 = item2;
|
|
}
|
|
length2 = items2.length;
|
|
if (length2) {
|
|
push = items2.push;
|
|
Reflect.apply(push, items2, ['-']);
|
|
}
|
|
value8 = 36;
|
|
value9 = 26;
|
|
value10 = 1;
|
|
value11 = 2147483647;
|
|
if (length2 < length) {
|
|
r12 = value3;
|
|
r13 = value4;
|
|
r14 = value5;
|
|
r16 = length2;
|
|
while (true) {
|
|
iterator = value2[Symbol.iterator]();
|
|
iterator3 = iterator.next;
|
|
r17 = value11;
|
|
r24 = iterator;
|
|
while (true) {
|
|
item3 = Reflect.apply(iterator3, r24, []);
|
|
item = item3.value;
|
|
item3 = item3.done ? undefined : r24;
|
|
if (item3 === undefined) {
|
|
break;
|
|
}
|
|
try {
|
|
value12 = item >= r12;
|
|
} catch (error) {
|
|
break exceptionLanding24;
|
|
}
|
|
if (!value12) {
|
|
r25 = value12;
|
|
continue;
|
|
}
|
|
try {
|
|
value13 = item < r17;
|
|
} catch (error) {
|
|
break exceptionLanding24;
|
|
}
|
|
r25 = value13;
|
|
if (!r25) {
|
|
continue;
|
|
}
|
|
r17 = item;
|
|
r24 = item3;
|
|
}
|
|
value14 = r16 + value10;
|
|
value15 = r17 - r12;
|
|
if (!(value15 > floor((value11 - r13) / value14))) {
|
|
continue;
|
|
}
|
|
error_52476('overflow');
|
|
value16 = r13 + (r17 - r12) * value14;
|
|
iterator = value2[Symbol.iterator]();
|
|
iterator4 = iterator.next;
|
|
r13 = value16;
|
|
r24 = iterator;
|
|
while (true) {
|
|
item4 = Reflect.apply(iterator4, r24, []);
|
|
item = item4.value;
|
|
item4 = item4.done ? undefined : r24;
|
|
if (item4 === undefined) {
|
|
break;
|
|
}
|
|
try {
|
|
value17 = item < r17;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
if (!value17) {
|
|
r25 = value17;
|
|
continue;
|
|
}
|
|
try {
|
|
value18 = typeof r13 === 'bigint' ? r13 + 1n : +r13 + 1;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value19 = value18 > value11;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
r13 = value18;
|
|
r25 = value19;
|
|
if (!r25) {
|
|
continue;
|
|
}
|
|
try {
|
|
error_52476Binding = error_52476;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
error_52476Binding('overflow');
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value20 = item != r17;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
if (value20) {
|
|
continue;
|
|
}
|
|
r21 = r13;
|
|
r22 = value8;
|
|
while (true) {
|
|
try {
|
|
value21 = r22 <= r14;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
if (value21) {
|
|
r26 = value10;
|
|
continue;
|
|
}
|
|
try {
|
|
value22 = r14 + value9;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value23 = r22 >= value22;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
if (value23) {
|
|
r25 = value9;
|
|
continue;
|
|
}
|
|
try {
|
|
value24 = r22 - r14;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
r25 = value24;
|
|
r26 = r25;
|
|
try {
|
|
value25 = r21 < r26;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
if (value25) {
|
|
break;
|
|
}
|
|
try {
|
|
value26 = r21 - r26;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value27 = value8 - r26;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
push = items2.push;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
fromCharCodeBinding = fromCharCode;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
digitToBasicBinding = digitToBasic;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value28 = value26 % value27;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value29 = r26 + value28;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value30 = digitToBasicBinding(value29, value4);
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value31 = fromCharCodeBinding(value30);
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
Reflect.apply(push, items2, [value31]);
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
floorBinding = floor;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value32 = value26 / value27;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value33 = floorBinding(value32);
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value34 = r22 + value8;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
r21 = value33;
|
|
r22 = value34;
|
|
}
|
|
try {
|
|
push = items2.push;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
fromCharCodeBinding = fromCharCode;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
digitToBasicBinding = digitToBasic;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value35 = digitToBasicBinding(r21, value4);
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value36 = fromCharCodeBinding(value35);
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
Reflect.apply(push, items2, [value36]);
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
adaptBinding = adapt;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value37 = r16 == length2;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value38 = adaptBinding(r13, value14, value37);
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
try {
|
|
value39 = typeof r16 === 'bigint' ? r16 + 1n : +r16 + 1;
|
|
} catch (error) {
|
|
break exceptionLanding87;
|
|
}
|
|
r13 = value4;
|
|
r14 = value38;
|
|
r16 = value39;
|
|
r24 = item4;
|
|
}
|
|
value40 = typeof r13 === 'bigint' ? r13 + 1n : +r13 + 1;
|
|
value41 = typeof r17 === 'bigint' ? r17 + 1n : +r17 + 1;
|
|
if (r16 < length) {
|
|
r12 = value41;
|
|
r13 = value40;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
join = items2.join;
|
|
return Reflect.apply(join, items2, ['']);
|
|
break exceptionSkip10;
|
|
}
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
break exceptionSkip10;
|
|
}
|
|
break exceptionSkip24;
|
|
}
|
|
try {
|
|
item3.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
break exceptionSkip24;
|
|
}
|
|
break exceptionSkip87;
|
|
}
|
|
try {
|
|
item4.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
break exceptionSkip87;
|
|
}
|
|
}
|
|
|
|
function toASCII(a0) { // fn#52485, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6806:2247, offset: 0x0132dec1, size: 27 bytes, params: 2, frame: 13
|
|
return mapDomain(a0, _fun52486);
|
|
}
|
|
|
|
function toUnicode(a0) { // fn#52487, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6806:2344, offset: 0x0132df0d, size: 27 bytes, params: 2, frame: 13
|
|
return mapDomain(a0, _fun52488);
|
|
}
|
|
|