decord/source/8113__isNativeReflectConstruct.js

70 lines
1.8 KiB
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 8113
// Function ID: 64261
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 31]
// Module 8113 (_isNativeReflectConstruct)
import _classCallCheck from "_classCallCheck";
import _defineProperties from "_defineProperties";
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 _classCallCheck = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return _classCallCheck;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
const tmp2 = ((Component) => {
2026-07-21 22:01:30 +00:00
class Stop {
2026-07-20 16:05:17 +00:00
constructor() {
self = this;
2026-07-23 10:11:24 +00:00
tmp = Stop(this, apply);
2026-07-21 22:01:30 +00:00
length = arguments.length;
array = new Array(length);
for (let num = 0; num < length; num = num + 1) {
array[num] = arguments[num];
}
items = [];
combined = items.concat(array);
2026-07-23 10:11:24 +00:00
obj = outer1_3(apply);
tmp3 = outer1_2;
if (outer1_5()) {
2026-07-21 22:01:30 +00:00
if (!combined) {
combined = [];
}
2026-07-23 10:11:24 +00:00
tmp5 = outer1_3;
constructResult = Reflect.construct(obj, combined, outer1_3(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
2026-07-21 22:01:30 +00:00
constructResult = obj.apply(self, combined);
2026-07-20 16:05:17 +00:00
}
2026-07-21 22:01:30 +00:00
tmp3Result = tmp3(self, constructResult);
2026-07-23 10:11:24 +00:00
apply = tmp3Result;
2026-07-21 22:01:30 +00:00
tmp3Result.setNativeProps = () => {
const parent = tmp3Result.props.parent;
if (parent) {
parent.forceUpdate();
}
};
return tmp3Result;
2026-07-20 16:05:17 +00:00
}
}
2026-07-21 22:01:30 +00:00
callback2(Stop, Component);
2026-07-23 10:11:24 +00:00
let items = [
2026-07-20 16:05:17 +00:00
{
key: "render",
value: function render() {
2026-07-21 22:01:30 +00:00
return null;
2026-07-20 16:05:17 +00:00
}
}
];
2026-07-21 22:01:30 +00:00
return callback(Stop, items);
2026-07-23 10:11:24 +00:00
})(require("result").Component);
2026-07-21 22:01:30 +00:00
tmp2.displayName = "Stop";
2026-07-20 16:05:17 +00:00
2026-07-21 22:01:30 +00:00
export default tmp2;