Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,381 @@
|
||||
/* Metro module 1343; source: unknown; dependencies: [57] */
|
||||
function _fun15279(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#15279, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1470:6, offset: 0x00e2bd08, size: 138 bytes, params: 8, frame: 19
|
||||
const closure = isEnumObject;
|
||||
const closure2 = listEnumValues;
|
||||
const env0_0 = require(57) /* metro dependency 57 */;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.isEnumObject = undefined;
|
||||
exports.listEnumValues = undefined;
|
||||
exports.listEnumNames = undefined;
|
||||
exports.listEnumNumbers = undefined;
|
||||
exports.isEnumObject = closure;
|
||||
exports.listEnumValues = closure2;
|
||||
exports.listEnumNames = listEnumNames;
|
||||
exports.listEnumNumbers = listEnumNumbers;
|
||||
}
|
||||
|
||||
function isEnumObject(a0) { // fn#15280, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1470:57, offset: 0x00e2bd92, size: 274 bytes, params: 2, frame: 21
|
||||
var r1;
|
||||
var hasOwnProperty;
|
||||
var Object;
|
||||
var keys;
|
||||
var iterator;
|
||||
var iterator2;
|
||||
var item;
|
||||
var item2;
|
||||
var parseInt;
|
||||
var value;
|
||||
var Number;
|
||||
var isNaN;
|
||||
var isNaN2;
|
||||
var property;
|
||||
var value2;
|
||||
var error;
|
||||
reducibleJoin6: while (true) {
|
||||
reducibleJoin38: while (true) {
|
||||
if (typeof a0 !== 'object') {
|
||||
break reducibleJoin38;
|
||||
}
|
||||
if (a0 === null) {
|
||||
break reducibleJoin38;
|
||||
}
|
||||
hasOwnProperty = a0.hasOwnProperty;
|
||||
if (!Reflect.apply(hasOwnProperty, a0, [0])) {
|
||||
return false;
|
||||
}
|
||||
Object = global.Object;
|
||||
keys = Object.keys;
|
||||
iterator = Reflect.apply(keys, Object, [a0])[Symbol.iterator]();
|
||||
iterator2 = iterator.next;
|
||||
r1 = iterator;
|
||||
item2 = Reflect.apply(iterator2, r1, []);
|
||||
item = item2.value;
|
||||
item2 = item2.done ? undefined : r1;
|
||||
if (item2 === undefined) {
|
||||
return true;
|
||||
}
|
||||
break reducibleJoin6;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
reducibleLoop6: while (true) {
|
||||
try {
|
||||
parseInt = global.parseInt;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value = parseInt(item);
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
Number = global.Number;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
isNaN = Number.isNaN;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
isNaN2 = Reflect.apply(isNaN, Number, [value]);
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
if (isNaN2) {
|
||||
try {
|
||||
property = a0[item];
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value = property === undefined;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
if (value) {
|
||||
item2.return();
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
value = typeof property !== 'number';
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
if (value) {
|
||||
item2.return();
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
property = a0[property];
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value = property === undefined;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
reducibleJoin5: while (true) {
|
||||
if (value) {
|
||||
item2.return();
|
||||
return false;
|
||||
}
|
||||
r1 = item2;
|
||||
break reducibleJoin5;
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
property = a0[value];
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value2 = property === undefined;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
if (value2) {
|
||||
item2.return();
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
property = a0[property];
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value = property === value;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
reducibleJoin5: while (true) {
|
||||
if (!value) {
|
||||
item2.return();
|
||||
return false;
|
||||
}
|
||||
r1 = item2;
|
||||
break reducibleJoin5;
|
||||
}
|
||||
}
|
||||
item2 = Reflect.apply(iterator2, r1, []);
|
||||
item = item2.value;
|
||||
item2 = item2.done ? undefined : r1;
|
||||
if (item2 === undefined) {
|
||||
return true;
|
||||
}
|
||||
continue reducibleLoop6;
|
||||
}
|
||||
}
|
||||
|
||||
function listEnumValues(a0) { // fn#15281, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1470:384, offset: 0x00e2bea4, size: 181 bytes, params: 2, frame: 24
|
||||
var error;
|
||||
var binding;
|
||||
var value2;
|
||||
var property;
|
||||
var property2;
|
||||
var value3;
|
||||
var push;
|
||||
var object2;
|
||||
if (!isEnumObject(a0)) {
|
||||
throw new global.Error('not a typescript enum object');
|
||||
}
|
||||
const items2 = [];
|
||||
const Object = global.Object;
|
||||
const iterator = Object.entries(a0)[Symbol.iterator]();
|
||||
const iterator2 = iterator.next;
|
||||
let r2 = iterator;
|
||||
let item2 = Reflect.apply(iterator2, r2, []);
|
||||
let item = item2.value;
|
||||
item2 = item2.done ? undefined : r2;
|
||||
reducibleJoin4: while (true) {
|
||||
if (item2 === undefined) {
|
||||
return items2;
|
||||
}
|
||||
break reducibleJoin4;
|
||||
}
|
||||
reducibleLoop4: while (true) {
|
||||
try {
|
||||
binding = env0_0;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value2 = binding(item, 2);
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
property = value2[0];
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
property2 = value2[1];
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value3 = typeof property2 !== 'number';
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
reducibleJoin3: while (true) {
|
||||
if (value3) {
|
||||
r2 = item2;
|
||||
break reducibleJoin3;
|
||||
}
|
||||
try {
|
||||
push = items2.push;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
object2 = {};
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
object2.name = property;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
object2.number = property2;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
Reflect.apply(push, items2, [object2]);
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
r2 = item2;
|
||||
break reducibleJoin3;
|
||||
}
|
||||
item2 = Reflect.apply(iterator2, r2, []);
|
||||
item = item2.value;
|
||||
item2 = item2.done ? undefined : r2;
|
||||
if (item2 === undefined) {
|
||||
break reducibleLoop4;
|
||||
}
|
||||
continue reducibleLoop4;
|
||||
}
|
||||
return items2;
|
||||
}
|
||||
|
||||
function listEnumNames(a0) { // fn#15282, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1470:800, offset: 0x00e2bf59, size: 36 bytes, params: 2, frame: 11
|
||||
return listEnumValues(a0).map(function(a0) {
|
||||
return a0.name;
|
||||
});
|
||||
}
|
||||
|
||||
function listEnumNumbers(a0) { // fn#15284, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1470:904, offset: 0x00e2bf7d, size: 51 bytes, params: 2, frame: 12
|
||||
let value = listEnumValues(a0);
|
||||
value = value.map(function(a0) {
|
||||
return a0.number;
|
||||
});
|
||||
return value.filter(function(a0, a1, a2) {
|
||||
return a2.indexOf(a0) == a1;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user