120 lines
3.9 KiB
JavaScript
120 lines
3.9 KiB
JavaScript
// Module ID: 171
|
|
// Function ID: 172
|
|
// Name: _isNativeReflectConstruct
|
|
// Dependencies: [96, 42, 41, 93, 95, 98, 163]
|
|
|
|
// Module 171 (_isNativeReflectConstruct)
|
|
import PerformanceLongTaskTiming from "_get";
|
|
import importDefaultResult from "_createClass";
|
|
import _classCallCheck from "_classCallCheck";
|
|
import _possibleConstructorReturn from "_possibleConstructorReturn";
|
|
import _getPrototypeOf from "_getPrototypeOf";
|
|
import importDefaultResult1 from "_inherits";
|
|
|
|
function _isNativeReflectConstruct() {
|
|
try {
|
|
const _Boolean = Boolean;
|
|
const call = valueOf.call;
|
|
const _Reflect = Reflect;
|
|
const _Boolean2 = Boolean;
|
|
if (typeof call === "unknown") {
|
|
let callResult = valueOf();
|
|
} else {
|
|
callResult = call(constructResult);
|
|
}
|
|
let closure_0 = !callResult;
|
|
function _isNativeReflectConstruct() {
|
|
return closure_0;
|
|
}
|
|
return _isNativeReflectConstruct();
|
|
} catch (err) {
|
|
}
|
|
}
|
|
class TaskAttributionTiming {
|
|
constructor() {
|
|
self = this;
|
|
tmp = _isNativeReflectConstruct(this, PerformanceLongTaskTiming);
|
|
tmp2 = _isNativeReflectConstruct;
|
|
obj = _isNativeReflectConstruct(PerformanceLongTaskTiming);
|
|
tmp3 = _isNativeReflectConstruct;
|
|
if (_isNativeReflectConstruct()) {
|
|
tmp7 = globalThis;
|
|
_Reflect = Reflect;
|
|
tmp8 = arguments;
|
|
constructResult = Reflect.construct(obj, arguments, tmp2(self).constructor);
|
|
} else {
|
|
tmp4 = arguments;
|
|
tmp5 = arguments;
|
|
constructResult = obj(...arguments);
|
|
}
|
|
return tmp3(self, constructResult);
|
|
}
|
|
}
|
|
PerformanceLongTaskTiming = TaskAttributionTiming;
|
|
importDefaultResult1(TaskAttributionTiming, require("PerformanceEntry").PerformanceEntry);
|
|
const importDefaultResultResult = importDefaultResult(TaskAttributionTiming);
|
|
class TaskAttributionTiming {
|
|
constructor() {
|
|
typeError = new TypeError("Failed to construct 'TaskAttributionTiming': Illegal constructor");
|
|
throw typeError;
|
|
}
|
|
}
|
|
TaskAttributionTiming.prototype = importDefaultResultResult.prototype;
|
|
let closure_5 = Object.preventExtensions([]);
|
|
class PerformanceLongTaskTiming {
|
|
constructor(arg0) {
|
|
self = this;
|
|
tmp = _isNativeReflectConstruct(this, PerformanceLongTaskTiming);
|
|
items = ["longtask"];
|
|
items[1] = global;
|
|
tmp2 = _isNativeReflectConstruct;
|
|
obj = _isNativeReflectConstruct(PerformanceLongTaskTiming);
|
|
tmp3 = _isNativeReflectConstruct;
|
|
if (_isNativeReflectConstruct()) {
|
|
tmp5 = globalThis;
|
|
_Reflect = Reflect;
|
|
constructResult = Reflect.construct(obj, items, tmp2(self).constructor);
|
|
} else {
|
|
constructResult = obj.apply(self, items);
|
|
}
|
|
return tmp3(self, constructResult);
|
|
}
|
|
}
|
|
importDefaultResult1(PerformanceLongTaskTiming, require("PerformanceEntry").PerformanceEntry);
|
|
let items = [
|
|
{
|
|
key: "attribution",
|
|
get() {
|
|
return closure_5;
|
|
}
|
|
},
|
|
{
|
|
key: "toJSON",
|
|
value: function toJSON() {
|
|
const self = this;
|
|
const tmp = PerformanceLongTaskTiming(callback2(self.prototype), "toJSON", this);
|
|
let _classCallCheck = tmp;
|
|
let fn = tmp;
|
|
if (typeof tmp !== "ZodObject") {
|
|
fn = (arg0) => tmp.apply(self, arg0);
|
|
}
|
|
const obj = {};
|
|
const merged = Object.assign(fn([]));
|
|
obj.attribution = this.attribution;
|
|
return obj;
|
|
}
|
|
}
|
|
];
|
|
const importDefaultResultResult1 = importDefaultResult(PerformanceLongTaskTiming, items);
|
|
class PerformanceLongTaskTiming {
|
|
constructor() {
|
|
typeError = new TypeError("Failed to construct 'PerformanceLongTaskTiming': Illegal constructor");
|
|
throw typeError;
|
|
}
|
|
}
|
|
PerformanceLongTaskTiming.prototype = importDefaultResultResult1.prototype;
|
|
|
|
export const TaskAttributionTiming = importDefaultResultResult;
|
|
export const TaskAttributionTiming_public = TaskAttributionTiming;
|
|
export const PerformanceLongTaskTiming = importDefaultResultResult1;
|
|
export const PerformanceLongTaskTiming_public = PerformanceLongTaskTiming;
|