decord/source/8437__isNativeReflectConstruct.js

90 lines
2.3 KiB
JavaScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 8437
// Function ID: 8438
2026-07-29 08:29:29 +00:00
// Name: _isNativeReflectConstruct
2026-08-05 07:35:12 +00:00
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 8424, 8438, 8433]
2026-07-29 08:29:29 +00:00
2026-08-05 07:35:12 +00:00
// Module 8437 (_isNativeReflectConstruct)
2026-07-29 08:29:29 +00:00
import _classCallCheck from "_classCallCheck";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import importDefaultResult from "_createClass";
import "noop";
import { jsx } from "jsxProd";
2026-08-05 07:35:12 +00:00
const Circle = arg1;
2026-07-29 08:29:29 +00:00
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) {
}
}
2026-08-05 07:35:12 +00:00
class Circle {
2026-07-29 08:29:29 +00:00
constructor() {
self = this;
2026-08-05 07:35:12 +00:00
tmp = _isNativeReflectConstruct(this, Circle);
2026-07-29 08:29:29 +00:00
tmp2 = __esModule;
2026-08-05 07:35:12 +00:00
obj = __esModule(Circle);
2026-07-29 08:29:29 +00:00
tmp3 = __esModule;
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);
}
}
2026-08-05 07:35:12 +00:00
require("_inherits")(Circle, require("_isNativeReflectConstruct"));
2026-07-29 08:29:29 +00:00
const items = [
{
key: "render",
value: function render() {
2026-08-05 07:35:12 +00:00
let cx;
let cy;
let r;
2026-07-29 08:29:29 +00:00
const self = this;
const props = this.props;
2026-07-31 08:44:05 +00:00
let obj = {};
2026-08-05 07:35:12 +00:00
({ cx, cy, r } = props);
const merged = Object.assign(self(8424).extract(this, props));
obj.cx = cx;
obj.cy = cy;
obj.r = r;
2026-07-29 08:29:29 +00:00
obj = {
ref(arg0) {
return self.refMethod(arg0);
}
};
2026-08-05 07:35:12 +00:00
const obj2 = self(8424);
2026-07-31 08:44:05 +00:00
const merged1 = Object.assign(obj);
2026-08-05 07:35:12 +00:00
return jsx(importDefault(8438), {
2026-07-30 10:14:41 +00:00
ref(arg0) {
return self.refMethod(arg0);
}
});
2026-07-29 08:29:29 +00:00
}
}
];
2026-08-05 07:35:12 +00:00
const importDefaultResultResult = importDefaultResult(Circle, items);
importDefaultResultResult.displayName = "Circle";
importDefaultResultResult.defaultProps = { cx: 0, cy: 0, r: 0 };
2026-07-29 08:29:29 +00:00
export default importDefaultResultResult;