decord/source/260__isNativeReflectConstruct.js

47 lines
1.4 KiB
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 260
// Function ID: 3334
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [7, 6, 15, 17, 18, 162]
2026-07-20 16:05:17 +00:00
// Module 260 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import _defineProperties from "_defineProperties";
import _classCallCheck from "_classCallCheck";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let _defineProperties = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return _defineProperties;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
export default ((arg0) => {
2026-07-20 16:05:17 +00:00
class HeadlessJsTaskError {
constructor() {
self = this;
2026-07-23 10:11:24 +00:00
tmp = outer1_1(this, HeadlessJsTaskError);
obj = outer1_3(HeadlessJsTaskError);
tmp2 = outer1_2;
if (outer1_5()) {
2026-07-20 16:05:17 +00:00
tmp6 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp7 = outer1_3;
2026-07-20 16:05:17 +00:00
tmp8 = arguments;
2026-07-23 10:11:24 +00:00
constructResult = Reflect.construct(obj, arguments, outer1_3(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
tmp3 = arguments;
tmp4 = arguments;
constructResult = obj(...arguments);
}
return tmp2(self, constructResult);
}
}
2026-07-23 10:11:24 +00:00
callback(HeadlessJsTaskError, arg0);
return HeadlessJsTaskError(HeadlessJsTaskError);
})(require("_wrapNativeSuper")(Error));