decord/source/6771__isNativeReflectConstruct.js
2026-07-20 16:05:17 +00:00

73 lines
2.5 KiB
JavaScript

// Module ID: 6771
// Function ID: 53312
// Name: _isNativeReflectConstruct
// Dependencies: []
// Exports: isUnknownCollectiblesItemRecord
// Module 6771 (_isNativeReflectConstruct)
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
let closure_2 = importDefault(dependencyMap[0]);
let closure_3 = importDefault(dependencyMap[1]);
let closure_4 = importDefault(dependencyMap[2]);
let closure_5 = importDefault(dependencyMap[3]);
let closure_6 = importDefault(dependencyMap[4]);
let closure_7 = importDefault(dependencyMap[5]);
const tmp2 = (arg0) => {
class UnknownCollectiblesItemRecord {
constructor(arg0) {
self = this;
tmp = closure_2(this, UnknownCollectiblesItemRecord);
items = [];
items[0] = arg0;
obj = closure_5(UnknownCollectiblesItemRecord);
tmp2 = closure_4;
if (closure_9()) {
tmp4 = globalThis;
_Reflect = Reflect;
tmp5 = closure_5;
constructResult = Reflect.construct(obj, items, closure_5(self).constructor);
} else {
constructResult = obj.apply(self, items);
}
tmp2Result = tmp2(self, constructResult);
tmp2Result.type = UnknownCollectiblesItemRecord(closure_1[7]).CollectiblesItemType.NONE;
return tmp2Result;
}
}
const arg1 = UnknownCollectiblesItemRecord;
callback2(UnknownCollectiblesItemRecord, arg0);
const items = [
{
key: "fromServer",
value(arg0) {
let tmp = UnknownCollectiblesItemRecord;
const obj = {};
const UnknownCollectiblesItemRecord = this;
let fn = callback3(callback2(UnknownCollectiblesItemRecord), "fromServer", this);
if ("function" === typeof fn) {
fn = (items) => fn.apply(self, items);
}
const items = [arg0];
const merged = Object.assign(fn(items));
obj["type"] = UnknownCollectiblesItemRecord(fn[7]).CollectiblesItemType.NONE;
tmp = new tmp(obj);
return tmp;
}
}
];
return callback(UnknownCollectiblesItemRecord, null, items);
}(importDefault(dependencyMap[6]));
const result = arg1(dependencyMap[8]).fileFinishedImporting("modules/collectibles/records/UnknownCollectiblesItemRecord.tsx");
export default tmp2;
export const isUnknownCollectiblesItemRecord = function isUnknownCollectiblesItemRecord(arg0) {
return arg0 instanceof tmp2;
};