decord/source/6680__isNativeReflectConstruct.js

92 lines
2.6 KiB
JavaScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 6680
// Function ID: 6681
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-08-24 06:08:38 +00:00
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 6622, 6681, 6631]
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
// Module 6680 (_isNativeReflectConstruct)
import noopAll from "noop" /* 19 */;
import _inheritsDefault from "_inherits" /* 98 */;
import _isNativeReflectConstructDefault from "_isNativeReflectConstruct" /* 6631 */;
import __INTERNAL_VIEW_CONFIGDefault from "__INTERNAL_VIEW_CONFIG" /* 6681 */;
import closure_3 from "_classCallCheck" /* 41 */;
import closure_4 from "_possibleConstructorReturn" /* 93 */;
import closure_5 from "_getPrototypeOf" /* 95 */;
import importDefaultResult from "_createClass" /* 42 */;
import { jsx } from "jsxProd" /* 21 */;
2026-07-21 06:55:02 +00:00
2026-08-14 17:33:39 +00:00
const Line = arg1;
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
2026-07-29 08:29:29 +00:00
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);
}
2026-08-24 06:08:38 +00:00
closure_0 = !callResult;
_isNativeReflectConstruct = function _isNativeReflectConstruct() {
2026-07-29 08:29:29 +00:00
return closure_0;
2026-08-24 06:08:38 +00:00
};
2026-07-29 08:29:29 +00:00
return _isNativeReflectConstruct();
} catch (err) {
}
}
2026-08-24 06:08:38 +00:00
noopAll;
2026-08-14 17:33:39 +00:00
class Line {
2026-07-29 08:29:29 +00:00
constructor() {
self = this;
2026-08-24 06:08:38 +00:00
tmp = closure_3(this, Line);
tmp2 = closure_5;
obj = closure_5(Line);
tmp3 = closure_4;
2026-07-29 08:29:29 +00:00
if (_isNativeReflectConstruct()) {
2026-08-07 06:50:47 +00:00
tmp7 = globalThis;
2026-07-29 08:29:29 +00:00
_Reflect = Reflect;
2026-08-07 06:50:47 +00:00
tmp8 = arguments;
constructResult = Reflect.construct(obj, arguments, tmp2(self).constructor);
2026-07-29 08:29:29 +00:00
} else {
2026-08-07 06:50:47 +00:00
tmp4 = arguments;
tmp5 = arguments;
constructResult = obj(...arguments);
2026-07-29 08:29:29 +00:00
}
2026-08-07 06:50:47 +00:00
return tmp3(self, constructResult);
2026-07-20 16:05:17 +00:00
}
}
2026-08-24 06:08:38 +00:00
_inheritsDefault(Line, _isNativeReflectConstructDefault);
2026-08-07 06:50:47 +00:00
const items = [
2026-07-29 08:29:29 +00:00
{
key: "render",
value: function render() {
2026-08-13 07:00:46 +00:00
const self = this;
const props = this.props;
let obj = {};
2026-08-14 17:33:39 +00:00
({ x1, y1, x2, y2 } = props);
2026-08-24 06:08:38 +00:00
const merged = Object.assign(self(6622).extract(this, props));
2026-08-14 17:33:39 +00:00
obj.x1 = x1;
obj.y1 = y1;
obj.x2 = x2;
obj.y2 = y2;
2026-08-13 07:00:46 +00:00
obj = {
ref(arg0) {
return self.refMethod(arg0);
}
};
2026-08-24 06:08:38 +00:00
const obj2 = self(6622);
2026-08-13 07:00:46 +00:00
const merged1 = Object.assign(obj);
2026-08-24 06:08:38 +00:00
return jsx(__INTERNAL_VIEW_CONFIGDefault, {
2026-08-13 07:00:46 +00:00
ref(arg0) {
return self.refMethod(arg0);
}
});
2026-07-29 08:29:29 +00:00
}
}
];
2026-08-14 17:33:39 +00:00
const importDefaultResultResult = importDefaultResult(Line, items);
importDefaultResultResult.displayName = "Line";
importDefaultResultResult.defaultProps = { x1: 0, y1: 0, x2: 0, y2: 0 };
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default importDefaultResultResult;