Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
54 lines
1.7 KiB
JavaScript
54 lines
1.7 KiB
JavaScript
// Module ID: 4385
|
|
// Function ID: 4386
|
|
// Dependencies: [4377]
|
|
// Exports: getHybridObjectConstructor
|
|
|
|
// Module 4385
|
|
import _mod4377 from "module_4377" /* 4377 */;
|
|
|
|
require = arg1;
|
|
const dependencyMap = arg6;
|
|
const map = new Map();
|
|
|
|
export const getHybridObjectConstructor = function getHybridObjectConstructor(arg0) {
|
|
closure_0 = arg0;
|
|
if (map.has(arg0)) {
|
|
return obj.get(arg0);
|
|
} else {
|
|
function constructorFunc() {
|
|
const NitroModules = _mod4377.NitroModules;
|
|
const hybridObject = NitroModules.createHybridObject(closure_0);
|
|
const prototypeOf = Object.getPrototypeOf(hybridObject);
|
|
if (constructorFunc.prototype !== prototypeOf) {
|
|
tmp3.prototype = prototypeOf;
|
|
tmp3.prototypeInitialized = true;
|
|
}
|
|
return hybridObject;
|
|
}
|
|
constructorFunc.prototypeInitialized = false;
|
|
let _Object = Object;
|
|
const _Symbol = Symbol;
|
|
const obj2 = {
|
|
value(arg0) {
|
|
if (!constructorFunc.prototypeInitialized) {
|
|
const NitroModules = _mod4377.NitroModules;
|
|
const _Object = Object;
|
|
tmp.prototype = Object.getPrototypeOf(NitroModules.createHybridObject(closure_0));
|
|
tmp.prototypeInitialized = true;
|
|
}
|
|
let prototypeOf = Object.getPrototypeOf(arg0);
|
|
if (null != prototypeOf) {
|
|
while (prototypeOf !== constructorFunc.prototype) {
|
|
let _Object2 = Object;
|
|
prototypeOf = Object.getPrototypeOf(prototypeOf);
|
|
}
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
};
|
|
Object.defineProperty(constructorFunc, Symbol.hasInstance, obj2);
|
|
const result = obj.set(arg0, constructorFunc);
|
|
return constructorFunc;
|
|
}
|
|
};
|