80 lines
2.3 KiB
JavaScript
80 lines
2.3 KiB
JavaScript
// Module ID: 7928
|
|
// Function ID: 7929
|
|
// Name: _isNativeReflectConstruct
|
|
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 7929, 7850, 7859]
|
|
|
|
// Module 7928 (_isNativeReflectConstruct)
|
|
import _classCallCheck from "_classCallCheck";
|
|
import _possibleConstructorReturn from "_possibleConstructorReturn";
|
|
import _getPrototypeOf from "_getPrototypeOf";
|
|
import importDefaultResult from "_createClass";
|
|
import "noop";
|
|
import { jsx } from "jsxProd";
|
|
|
|
const Rect = arg1;
|
|
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) {
|
|
}
|
|
}
|
|
class Rect {
|
|
constructor() {
|
|
self = this;
|
|
tmp = _isNativeReflectConstruct(this, Rect);
|
|
tmp2 = __esModule;
|
|
obj = __esModule(Rect);
|
|
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);
|
|
}
|
|
}
|
|
require("_inherits")(Rect, require("_isNativeReflectConstruct"));
|
|
const items = [
|
|
{
|
|
key: "render",
|
|
value: function render() {
|
|
const self = this;
|
|
const props = this.props;
|
|
let obj = { x: props.x, y: props.y, width: props.width, height: props.height, rx: props.rx, ry: props.ry };
|
|
obj = {
|
|
ref(arg0) {
|
|
return self.refMethod(arg0);
|
|
}
|
|
};
|
|
const tmp = importDefault(7929);
|
|
const merged = Object.assign(self(7850).withoutXY(this, props));
|
|
const merged1 = Object.assign(obj);
|
|
return <tmp ref={function ref(arg0) {
|
|
return self.refMethod(arg0);
|
|
}} />;
|
|
}
|
|
}
|
|
];
|
|
const importDefaultResultResult = importDefaultResult(Rect, items);
|
|
importDefaultResultResult.displayName = "Rect";
|
|
importDefaultResultResult.defaultProps = { x: 0, y: 0, width: 0, height: 0 };
|
|
|
|
export default importDefaultResultResult;
|