47 lines
1.7 KiB
React
47 lines
1.7 KiB
React
/* Metro module 1057; source: unknown; dependencies: [] */
|
|
function _fun11113(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#11113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1184:6, offset: 0x00da1454, size: 94 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
const WeakMap = global.WeakMap;
|
|
const weakMap = new WeakMap();
|
|
exports.initUnique = initUnique;
|
|
}
|
|
|
|
function initUnique(a0, a1) { // fn#11114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1184:125, offset: 0x00da14b2, size: 110 bytes, params: 3, frame: 17
|
|
var value;
|
|
var binding;
|
|
var value2;
|
|
var set;
|
|
var prototype;
|
|
var value3;
|
|
var value4;
|
|
var value5;
|
|
var error;
|
|
var value6;
|
|
try {
|
|
value = environment;
|
|
binding = env0_0;
|
|
value2 = binding.get(a0);
|
|
if (!value2) {
|
|
binding = env0_0;
|
|
set = binding.set;
|
|
prototype = a1.prototype;
|
|
value3 = Object.create(prototype, {constructor: {value: a1}});
|
|
value4 = new a1();
|
|
value5 = value4 instanceof Object ? value4 : value3;
|
|
Reflect.apply(set, binding, [a0, value5]);
|
|
}
|
|
binding = env0_0;
|
|
value = binding.get(a0);
|
|
} catch (error) {
|
|
prototype = a1.prototype;
|
|
value = Object.create(prototype, {constructor: {value: a1}});
|
|
value6 = new a1();
|
|
return value6 instanceof Object ? value6 : value;
|
|
}
|
|
return value;
|
|
}
|
|
|