decord/source/160__callSuper.js

109 lines
3.3 KiB
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 160
// Function ID: 2450
// Name: _callSuper
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 99, 100, 155]
2026-07-20 16:05:17 +00:00
// Module 160 (_callSuper)
2026-07-23 10:11:24 +00:00
import _classPrivateFieldKey from "_classPrivateFieldKey";
import PerformanceEntry from "PerformanceEntry";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
import _classPrivateFieldBase from "_classPrivateFieldBase";
import importDefaultResult from "_classPrivateFieldKey";
2026-07-20 16:05:17 +00:00
function _callSuper(arg0, arg1, arg2) {
let items = arg2;
const obj = callback2(arg1);
if (_isNativeReflectConstruct()) {
if (!items) {
items = [];
}
let constructResult = Reflect.construct(obj, items, callback2(arg0).constructor);
} else {
constructResult = obj.apply(arg0, items);
}
2026-07-23 10:11:24 +00:00
return _possibleConstructorReturn(arg0, constructResult);
2026-07-20 16:05:17 +00:00
}
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let _classPrivateFieldKey = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return _classPrivateFieldKey;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
let closure_6 = importDefaultResult("detail");
let closure_7 = importDefaultResult("detail");
2026-07-23 10:11:24 +00:00
export const PerformanceMark = ((PerformanceEntry) => {
2026-07-20 16:05:17 +00:00
class PerformanceMark {
constructor(arg0, arg1) {
tmp = PerformanceMark;
tmp2 = PerformanceMark(this, PerformanceMark);
obj = { name: PerformanceEntry, entryType: "mark" };
startTime = undefined;
2026-07-23 10:11:24 +00:00
tmp3 = outer1_8;
2026-07-20 16:05:17 +00:00
if (null != arg1) {
startTime = arg1.startTime;
}
if (null == startTime) {
tmp5 = globalThis;
_performance = performance;
startTime = performance.now();
}
obj.startTime = startTime;
obj.duration = 0;
items = [];
items[0] = obj;
tmp3Result = tmp3(this, tmp, items);
2026-07-23 10:11:24 +00:00
definePropertyResult = Object.defineProperty(tmp3Result, outer1_6, { writable: true, value: undefined });
2026-07-20 16:05:17 +00:00
if (arg1) {
2026-07-23 10:11:24 +00:00
tmp8 = outer1_5;
tmp9 = outer1_6;
outer1_5(tmp3Result, outer1_6)[outer1_6] = arg1.detail;
2026-07-20 16:05:17 +00:00
}
return tmp3Result;
}
}
callback3(PerformanceMark, PerformanceEntry);
2026-07-23 10:11:24 +00:00
let items = [
2026-07-20 16:05:17 +00:00
{
key: "detail",
get() {
2026-07-23 10:11:24 +00:00
return outer1_5(this, outer1_6)[outer1_6];
2026-07-20 16:05:17 +00:00
}
}
];
return callback(PerformanceMark, items);
2026-07-23 10:11:24 +00:00
})(require("PerformanceEntry").PerformanceEntry);
export const PerformanceMeasure = ((PerformanceEntry) => {
2026-07-20 16:05:17 +00:00
class PerformanceMeasure {
constructor(arg0, arg1) {
tmp = PerformanceMeasure(this, PerformanceMeasure);
obj = { name: PerformanceEntry, entryType: "measure", startTime: arg1.startTime, duration: arg1.duration };
items = [];
items[0] = obj;
2026-07-23 10:11:24 +00:00
tmp2 = outer1_8(this, PerformanceMeasure, items);
definePropertyResult = Object.defineProperty(tmp2, outer1_7, { writable: true, value: undefined });
2026-07-20 16:05:17 +00:00
if (arg1) {
2026-07-23 10:11:24 +00:00
tmp4 = outer1_5;
tmp5 = outer1_7;
outer1_5(tmp2, outer1_7)[outer1_7] = arg1.detail;
2026-07-20 16:05:17 +00:00
}
return tmp2;
}
}
callback3(PerformanceMeasure, PerformanceEntry);
2026-07-23 10:11:24 +00:00
let items = [
2026-07-20 16:05:17 +00:00
{
key: "detail",
get() {
2026-07-23 10:11:24 +00:00
return outer1_5(this, outer1_7)[outer1_7];
2026-07-20 16:05:17 +00:00
}
}
];
return callback(PerformanceMeasure, items);
2026-07-23 10:11:24 +00:00
})(require("PerformanceEntry").PerformanceEntry);