decord/source/6621__isNativeReflectConstruct.js

116 lines
3.3 KiB
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 6621
// Function ID: 6622
2026-07-29 08:29:29 +00:00
// Name: _isNativeReflectConstruct
2026-08-24 06:08:38 +00:00
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 6615, 6622, 6629, 6630, 6631]
2026-07-29 08:29:29 +00:00
2026-08-15 05:55:55 +00:00
// Module 6621 (_isNativeReflectConstruct)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import _inheritsDefault from "_inherits" /* 98 */;
import extractPropsDefault from "extractProps" /* 6622 */;
import __INTERNAL_VIEW_CONFIGDefault from "__INTERNAL_VIEW_CONFIG" /* 6630 */;
import _isNativeReflectConstructDefault from "_isNativeReflectConstruct" /* 6631 */;
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-29 08:29:29 +00:00
2026-08-24 06:08:38 +00:00
let closure_0 = 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);
}
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;
class G {
2026-07-29 08:29:29 +00:00
constructor() {
self = this;
2026-08-24 06:08:38 +00:00
items = [...arguments];
closure_0 = undefined;
tmp = closure_3(this, closure_0);
items1 = [...items];
tmp2 = closure_5;
obj = closure_5(closure_0);
tmp3 = closure_4;
2026-07-29 08:29:29 +00:00
if (_isNativeReflectConstruct()) {
2026-08-24 06:08:38 +00:00
tmp5 = globalThis;
2026-07-29 08:29:29 +00:00
_Reflect = Reflect;
2026-08-24 06:08:38 +00:00
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
2026-07-29 08:29:29 +00:00
} else {
2026-08-24 06:08:38 +00:00
constructResult = obj.apply(self, items1);
2026-07-29 08:29:29 +00:00
}
2026-08-24 06:08:38 +00:00
tmp3Result = tmp3(self, constructResult);
closure_0 = tmp3Result;
tmp3Result.setNativeProps = (matrix) => {
matrix = matrix.matrix;
let tmp = !matrix;
if (!matrix) {
tmp = closure_1_1(closure_1_2[7])(matrix);
}
if (tmp) {
matrix.matrix = tmp;
}
root = root.root;
if (root != null) {
root.setNativeProps(matrix);
}
};
return tmp3Result;
2026-07-29 08:29:29 +00:00
}
}
2026-08-24 06:08:38 +00:00
closure_0 = G;
_inheritsDefault(G, _isNativeReflectConstructDefault);
let items = [
{
key: "render",
value: function render() {
const self = this;
const props = this.props;
let obj = self(6622);
const propsAndStylesResult = obj.propsAndStyles(props);
const tmp5 = extractPropsDefault(propsAndStylesResult, this);
const obj2 = self(6629);
const tmp4 = importDefault;
if (typeof hasProps !== "function") {
HermesBuiltin.throwTypeError();
2026-08-14 17:33:39 +00:00
}
2026-08-24 06:08:38 +00:00
const keys = Object.keys();
if (keys !== undefined) {
let flag = true;
if (flag) {
tmp5.font = extractFontResult;
}
obj = { ref: null };
obj[0] = function ref(arg0) {
return self.refMethod(arg0);
};
const merged = Object.assign(tmp5);
obj.children = props.children;
return jsx(__INTERNAL_VIEW_CONFIGDefault, { ref: null });
}
flag = false;
}
2026-07-29 08:29:29 +00:00
}
2026-08-24 06:08:38 +00:00
];
const importDefaultResultResult = importDefaultResult(G, items);
importDefaultResultResult.displayName = "G";
function hasProps(arg0) {
}
2026-07-29 08:29:29 +00:00
export default importDefaultResultResult;