decord/source/7934__isNativeReflectConstruct.js

100 lines
3.1 KiB
JavaScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 7934
// Function ID: 7935
2026-07-29 08:29:29 +00:00
// Name: _isNativeReflectConstruct
2026-08-08 06:10:11 +00:00
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 7843, 7850, 7851, 7857, 7935, 7859]
2026-07-29 08:29:29 +00:00
2026-08-08 06:10:11 +00:00
// Module 7934 (_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-08 06:10:11 +00:00
import extractFont from "extractFont";
2026-07-29 08:29:29 +00:00
2026-08-08 06:10:11 +00:00
const TSpan = 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-08 06:10:11 +00:00
class TSpan {
2026-07-29 08:29:29 +00:00
constructor() {
self = this;
2026-08-05 07:35:12 +00:00
items = [...arguments];
apply = undefined;
tmp = _isNativeReflectConstruct(this, apply);
items1 = [...items];
2026-08-08 06:10:11 +00:00
tmp2 = _isNativeReflectConstruct;
obj = _isNativeReflectConstruct(apply);
tmp3 = _isNativeReflectConstruct;
2026-07-29 08:29:29 +00:00
if (_isNativeReflectConstruct()) {
2026-08-05 07:35:12 +00:00
tmp5 = globalThis;
2026-07-29 08:29:29 +00:00
_Reflect = Reflect;
2026-08-05 07:35:12 +00:00
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
2026-07-29 08:29:29 +00:00
} else {
2026-08-05 07:35:12 +00:00
constructResult = obj.apply(self, items1);
2026-07-29 08:29:29 +00:00
}
2026-08-05 07:35:12 +00:00
tmp3Result = tmp3(self, constructResult);
apply = tmp3Result;
tmp3Result.setNativeProps = (matrix) => {
2026-08-08 06:10:11 +00:00
matrix = matrix.matrix;
let tmp = !matrix;
if (!matrix) {
tmp = outer1_1(outer1_2[7])(matrix);
2026-08-05 07:35:12 +00:00
}
if (tmp) {
matrix.matrix = tmp;
}
2026-08-08 06:10:11 +00:00
const propsAndStylesResult = _undefined(outer1_2[8]).propsAndStyles(matrix);
const obj = _undefined(outer1_2[8]);
const merged = Object.assign(propsAndStylesResult, _undefined(outer1_2[9]).pickNotNil(outer1_1(outer1_2[10])(propsAndStylesResult, false)));
2026-08-05 07:35:12 +00:00
if (_undefined.root) {
const root = _undefined.root;
root.setNativeProps(propsAndStylesResult);
}
};
return tmp3Result;
2026-07-29 08:29:29 +00:00
}
}
2026-08-08 06:10:11 +00:00
require("_inherits")(TSpan, require("_isNativeReflectConstruct"));
2026-08-05 07:35:12 +00:00
let items = [
2026-07-29 08:29:29 +00:00
{
key: "render",
value: function render() {
2026-08-08 06:10:11 +00:00
let obj = TSpan(7850);
2026-08-05 07:35:12 +00:00
const propsAndStylesResult = obj.propsAndStyles(this.props);
obj = {};
const merged = Object.assign(propsAndStylesResult);
obj.x = null;
obj.y = null;
2026-08-08 06:10:11 +00:00
const tmp2Result = importDefault(7850)(obj, this);
const merged1 = Object.assign(tmp2Result, importDefault(7857)(propsAndStylesResult, false));
2026-08-05 07:35:12 +00:00
tmp2Result.ref = this.refMethod;
obj = {};
2026-08-08 06:10:11 +00:00
const tmp2 = importDefault(7850);
2026-08-05 07:35:12 +00:00
const merged2 = Object.assign(tmp2Result);
2026-08-08 06:10:11 +00:00
return jsx(importDefault(7935), {});
2026-07-29 08:29:29 +00:00
}
}
];
2026-08-08 06:10:11 +00:00
const importDefaultResultResult = importDefaultResult(TSpan, items);
importDefaultResultResult.displayName = "TSpan";
extractFont.setTSpan(importDefaultResultResult);
2026-07-29 08:29:29 +00:00
export default importDefaultResultResult;