decord/source/__polyfill/08xxx/module_8563.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

83 lines
2.5 KiB
JavaScript

// Module ID: 8563
// Function ID: 8564
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 8564, 8497, 8508]
// Module 8563
import _modDef8508 from "module_8508" /* 8508 */;
import _classCallCheck from "_classCallCheck" /* 41 */;
import _createClass from "_createClass" /* 42 */;
import c3 from "_possibleConstructorReturn" /* 93 */;
import _getPrototypeOf from "_getPrototypeOf" /* 95 */;
import _inherits from "_inherits" /* 98 */;
import noop from "module_19" /* 19 */;
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) {
}
}
const jsx = fn(21).jsx;
class Marker {
constructor() {
self = this;
tmp = c2(this, Marker);
tmp2 = closure_4;
obj = closure_4(Marker);
tmp3 = closure_3;
if (metroRequire()) {
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);
}
}
_inherits(Marker, _modDef8508);
const entry = {
key: "render",
value: function render() {
const self = this;
const props = this.props;
({ viewBox, preserveAspectRatio, markerWidth, markerHeight, children } = props);
const obj2 = {
ref(arg0) {
return self.refMethod(arg0);
}
};
const obj = { name: props.id, refX: props.refX, refY: props.refY, markerUnits: props.markerUnits, orient: String(props.orient), markerWidth, markerHeight };
const merged = Object.assign(obj);
const merged1 = Object.assign(Marker(8497)({ viewBox, preserveAspectRatio }));
obj2.children = children;
return jsx(Marker(8564), {
ref(arg0) {
return self.refMethod(arg0);
}
});
}
};
const items = [entry];
const importDefaultResultResult = _createClass(Marker, items);
importDefaultResultResult.displayName = "Marker";
importDefaultResultResult.defaultProps = { refX: 0, refY: 0, orient: "0", markerWidth: 3, markerHeight: 3, markerUnits: "strokeWidth" };
export default importDefaultResultResult;