decord/source/8476__isNativeReflectConstruct.js

82 lines
2.4 KiB
JavaScript
Raw Normal View History

2026-08-04 08:36:32 +00:00
// Module ID: 8476
// Function ID: 8477
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-08-05 07:35:12 +00:00
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 8477, 8433]
2026-07-20 16:05:17 +00:00
2026-08-04 08:36:32 +00:00
// Module 8476 (_isNativeReflectConstruct)
2026-08-05 07:35:12 +00:00
import _classCallCheck from "_classCallCheck";
2026-07-23 10:11:24 +00:00
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
2026-07-29 08:29:29 +00:00
import importDefaultResult from "_createClass";
2026-08-05 07:35:12 +00:00
import "noop";
import { jsx } from "jsxProd";
2026-07-23 10:11:24 +00:00
2026-08-05 07:35:12 +00:00
const Filter = importDefault;
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);
}
let closure_0 = !callResult;
function _isNativeReflectConstruct() {
return closure_0;
}
return _isNativeReflectConstruct();
} catch (err) {
2026-07-20 16:05:17 +00:00
}
}
2026-08-05 07:35:12 +00:00
class Filter {
2026-07-29 08:29:29 +00:00
constructor() {
self = this;
2026-08-05 07:35:12 +00:00
tmp = _isNativeReflectConstruct(this, Filter);
2026-07-29 08:29:29 +00:00
tmp2 = __esModule;
2026-08-05 07:35:12 +00:00
obj = __esModule(Filter);
2026-07-29 08:29:29 +00:00
tmp3 = __esModule;
if (_isNativeReflectConstruct()) {
2026-08-05 07:35:12 +00:00
tmp7 = globalThis;
2026-07-29 08:29:29 +00:00
_Reflect = Reflect;
2026-08-05 07:35:12 +00:00
tmp8 = arguments;
constructResult = Reflect.construct(obj, arguments, tmp2(self).constructor);
2026-07-29 08:29:29 +00:00
} else {
2026-08-05 07:35:12 +00:00
tmp4 = arguments;
tmp5 = arguments;
constructResult = obj(...arguments);
2026-07-29 08:29:29 +00:00
}
2026-08-05 07:35:12 +00:00
return tmp3(self, constructResult);
2026-07-29 08:29:29 +00:00
}
2026-07-31 08:44:05 +00:00
}
2026-08-05 07:35:12 +00:00
require("_inherits")(Filter, require("_isNativeReflectConstruct"));
const items = [
{
key: "render",
value: function render() {
const self = this;
const props = this.props;
let obj = { name: props.id, x: props.x, y: props.y, width: props.width, height: props.height, filterUnits: props.filterUnits, primitiveUnits: props.primitiveUnits };
obj = {
ref(arg0) {
return self.refMethod(arg0);
}
};
const merged = Object.assign(obj);
obj.children = this.props.children;
return jsx(self(8477), {
ref(arg0) {
return self.refMethod(arg0);
}
});
}
}
];
const importDefaultResultResult = importDefaultResult(Filter, items);
importDefaultResultResult.displayName = "Filter";
importDefaultResultResult.defaultProps = { x: "-10%", y: "-10%", width: "120%", height: "120%", filterUnits: "objectBoundingBox", primitiveUnits: "userSpaceOnUse" };
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default importDefaultResultResult;