86 lines
2.7 KiB
JavaScript
86 lines
2.7 KiB
JavaScript
// Module ID: 8064
|
|
// Function ID: 8065
|
|
// Name: _isNativeReflectConstruct
|
|
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 8065, 7998, 8009]
|
|
|
|
// Module 8064 (_isNativeReflectConstruct)
|
|
import noopAll from "noop" /* 19 */;
|
|
import _inheritsDefault from "_inherits" /* 98 */;
|
|
import _isNativeReflectConstructDefault from "_isNativeReflectConstruct" /* 8009 */;
|
|
import closure_2 from "_classCallCheck" /* 41 */;
|
|
import closure_3 from "_possibleConstructorReturn" /* 93 */;
|
|
import closure_4 from "_getPrototypeOf" /* 95 */;
|
|
import importDefaultResult from "_createClass" /* 42 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
|
|
const Marker = importDefault;
|
|
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);
|
|
}
|
|
closure_0 = !callResult;
|
|
_isNativeReflectConstruct = function _isNativeReflectConstruct() {
|
|
return closure_0;
|
|
};
|
|
return _isNativeReflectConstruct();
|
|
} catch (err) {
|
|
}
|
|
}
|
|
noopAll;
|
|
class Marker {
|
|
constructor() {
|
|
self = this;
|
|
tmp = closure_2(this, Marker);
|
|
tmp2 = closure_4;
|
|
obj = closure_4(Marker);
|
|
tmp3 = closure_3;
|
|
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);
|
|
}
|
|
}
|
|
_inheritsDefault(Marker, _isNativeReflectConstructDefault);
|
|
const items = [
|
|
{
|
|
key: "render",
|
|
value: function render() {
|
|
const self = this;
|
|
const props = this.props;
|
|
let obj = { name: props.id, refX: props.refX, refY: props.refY, markerUnits: props.markerUnits, orient: String(props.orient), markerWidth, markerHeight };
|
|
({ viewBox, preserveAspectRatio, markerWidth, markerHeight, children } = props);
|
|
obj = {
|
|
ref(arg0) {
|
|
return self.refMethod(arg0);
|
|
}
|
|
};
|
|
const merged = Object.assign(obj);
|
|
const merged1 = Object.assign(self(7998)({ viewBox, preserveAspectRatio }));
|
|
obj.children = children;
|
|
return jsx(self(8065), {
|
|
ref(arg0) {
|
|
return self.refMethod(arg0);
|
|
}
|
|
});
|
|
}
|
|
}
|
|
];
|
|
const importDefaultResultResult = importDefaultResult(Marker, items);
|
|
importDefaultResultResult.displayName = "Marker";
|
|
importDefaultResultResult.defaultProps = { refX: 0, refY: 0, orient: "0", markerWidth: 3, markerHeight: 3, markerUnits: "strokeWidth" };
|
|
|
|
export default importDefaultResultResult;
|