74 lines
3.7 KiB
JavaScript
74 lines
3.7 KiB
JavaScript
/* Metro module 3898; source: unknown; dependencies: [3890] */
|
|
import * as Module03890Module from './module-03890.js'; /* Metro dependency 3890 */
|
|
|
|
function _fun32113(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#32113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4037:6, offset: 0x0100cca5, size: 98 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Map = global.Map;
|
|
const map = new Map();
|
|
exports.getHybridObjectConstructor = getHybridObjectConstructor;
|
|
function getHybridObjectConstructor(a0) { // fn#32114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4037:135, offset: 0x0100cd07, size: 122 bytes, params: 2, frame: 18
|
|
const env0_0 = a0;
|
|
const binding = env0_2;
|
|
if (binding.has(a0)) {
|
|
return env0_2.get(a0);
|
|
}
|
|
const constructorFunc2 = constructorFunc;
|
|
constructorFunc2.prototypeInitialized = false;
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [constructorFunc2, Symbol.hasInstance, {value: value_32116}]);
|
|
env0_2.set(a0, constructorFunc2);
|
|
return constructorFunc2;
|
|
function constructorFunc() { // fn#32115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4037:208, owner: getHybridObjectConstructor.constructorFunc, offset: 0x0100cd81, size: 104 bytes, params: 1, frame: 12
|
|
const NitroModules = (Module03890Module).NitroModules;
|
|
const hybridObject = NitroModules.createHybridObject(env0_0);
|
|
const Object = global.Object;
|
|
const prototypeOf = Object.getPrototypeOf(hybridObject);
|
|
if (constructorFunc.prototype !== prototypeOf) {
|
|
constructorFunc.prototype = prototypeOf;
|
|
constructorFunc.prototypeInitialized = true;
|
|
}
|
|
return hybridObject;
|
|
}
|
|
|
|
function getHybridObjectConstructorValue(a0) { // fn#32116, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4037:463, owner: getHybridObjectConstructor.value, offset: 0x0100cde9, size: 172 bytes, params: 2, frame: 14
|
|
var value2;
|
|
var getPrototypeOf;
|
|
var prototype;
|
|
var value4;
|
|
if (!constructorFunc.prototypeInitialized) {
|
|
value2 = environment.__proto__;
|
|
constructorFunc.prototype = global.Object.getPrototypeOf((require(3890) /* metro dependency 3890 */).NitroModules.createHybridObject(env0_0));
|
|
constructorFunc.prototypeInitialized = true;
|
|
}
|
|
let Object = global.Object;
|
|
const prototypeOf = Object.getPrototypeOf(a0);
|
|
if (prototypeOf != null) {
|
|
var r0 = prototypeOf;
|
|
loopExit3: while (true) {
|
|
prototype = constructorFunc.prototype;
|
|
if (r0 === prototype) {
|
|
return true;
|
|
}
|
|
Object = global.Object;
|
|
getPrototypeOf = Object.getPrototypeOf;
|
|
value4 = Reflect.apply(getPrototypeOf, Object, [r0]);
|
|
if (value4 != null) {
|
|
r0 = value4;
|
|
continue;
|
|
}
|
|
break loopExit3;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun32113, 3898, [3890]) /* metro module 3898, dependencies: [3890] */;
|