66 lines
2.2 KiB
React
66 lines
2.2 KiB
React
/* Metro module 527; source: unknown; dependencies: [519, 528] */
|
|
function _fun6629(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#6629, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:577:6, offset: 0x00d0375a, size: 303 bytes, params: 8, frame: 22
|
|
var r10;
|
|
var __proto__;
|
|
var Array;
|
|
var prototype;
|
|
var value2;
|
|
var error;
|
|
var code;
|
|
let value = undefined;
|
|
try {
|
|
__proto__ = [].__proto__;
|
|
Array = global.Array;
|
|
prototype = Array.prototype;
|
|
value2 = __proto__ === prototype;
|
|
r10 = value2;
|
|
} catch (error) {
|
|
if (!error) {
|
|
throw error;
|
|
}
|
|
if (typeof error !== 'object') {
|
|
throw error;
|
|
}
|
|
if (!('code' in error)) {
|
|
throw error;
|
|
}
|
|
code = error.code;
|
|
if (code !== 'ERR_PROTO_ACCESS') {
|
|
throw error;
|
|
}
|
|
r10 = value;
|
|
}
|
|
let r2 = (r10 ? require(519) /* metro dependency 519 */ : !!r10) && (require(519) /* metro dependency 519 */)(global.Object.prototype,
|
|
'__proto__');
|
|
const Object = global.Object;
|
|
const getPrototypeOf = Object.getPrototypeOf;
|
|
r2 = r2 ? typeof r2.get === 'function' ? (require(528) /* metro dependency 528 */)([r2.get]) : typeof getPrototypeOf === 'function' && (function(a0) {
|
|
var r1;
|
|
var value = a0;
|
|
var getPrototypeOfBinding = getPrototypeOf;
|
|
if (value == null) {
|
|
r1 = value;
|
|
} else {
|
|
value = Object(value);
|
|
r1 = value;
|
|
}
|
|
return getPrototypeOfBinding(r1);
|
|
}) : typeof getPrototypeOf === 'function' && getDunder;
|
|
module.exports = r2;
|
|
return value;
|
|
}
|
|
|
|
function getDunder(a0) { // fn#6630, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:577:337, offset: 0x00d03889, size: 39 bytes, params: 2, frame: 13
|
|
var r1;
|
|
let value = a0;
|
|
const getPrototypeOfBinding = getPrototypeOf;
|
|
if (value == null) {
|
|
r1 = value;
|
|
} else {
|
|
value = Object(value);
|
|
r1 = value;
|
|
}
|
|
return getPrototypeOfBinding(r1);
|
|
}
|
|
|