frame.identify 0.5.4 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/frame.identify.js
CHANGED
|
@@ -164,7 +164,7 @@ var oe = class {
|
|
|
164
164
|
isTopModal(e) {
|
|
165
165
|
return this.modals.length > 0 && this.modals[this.modals.length - 1] === e;
|
|
166
166
|
}
|
|
167
|
-
},
|
|
167
|
+
}, V = /* @__PURE__ */ P(((e) => {
|
|
168
168
|
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
169
169
|
function b(e) {
|
|
170
170
|
if (typeof e == "object" && e) {
|
|
@@ -220,7 +220,7 @@ var oe = class {
|
|
|
220
220
|
}, e.isValidElementType = function(e) {
|
|
221
221
|
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
222
222
|
}, e.typeOf = b;
|
|
223
|
-
})),
|
|
223
|
+
})), se = /* @__PURE__ */ P(((e) => {
|
|
224
224
|
process.env.NODE_ENV !== "production" && (function() {
|
|
225
225
|
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
226
226
|
function b(e) {
|
|
@@ -291,14 +291,14 @@ var oe = class {
|
|
|
291
291
|
function oe(e) {
|
|
292
292
|
return x(e) === a;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function V(e) {
|
|
295
295
|
return x(e) === f;
|
|
296
296
|
}
|
|
297
|
-
e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode = F, e.isConcurrentMode = I, e.isContextConsumer = L, e.isContextProvider = te, e.isElement = R, e.isForwardRef = ne, e.isFragment = re, e.isLazy = z, e.isMemo = ie, e.isPortal = ae, e.isProfiler = B, e.isStrictMode = oe, e.isSuspense =
|
|
297
|
+
e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode = F, e.isConcurrentMode = I, e.isContextConsumer = L, e.isContextProvider = te, e.isElement = R, e.isForwardRef = ne, e.isFragment = re, e.isLazy = z, e.isMemo = ie, e.isPortal = ae, e.isProfiler = B, e.isStrictMode = oe, e.isSuspense = V, e.isValidElementType = b, e.typeOf = x;
|
|
298
298
|
})();
|
|
299
|
+
})), ce = /* @__PURE__ */ P(((e, t) => {
|
|
300
|
+
t.exports = process.env.NODE_ENV === "production" ? V() : se();
|
|
299
301
|
})), le = /* @__PURE__ */ P(((e, t) => {
|
|
300
|
-
t.exports = process.env.NODE_ENV === "production" ? se() : ce();
|
|
301
|
-
})), ue = /* @__PURE__ */ P(((e, t) => {
|
|
302
302
|
var n = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
303
303
|
function a(e) {
|
|
304
304
|
if (e == null) throw TypeError("Object.assign cannot be called with null or undefined");
|
|
@@ -331,14 +331,14 @@ var oe = class {
|
|
|
331
331
|
}
|
|
332
332
|
return s;
|
|
333
333
|
};
|
|
334
|
-
})),
|
|
334
|
+
})), ue = /* @__PURE__ */ P(((e, t) => {
|
|
335
335
|
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
336
|
-
})),
|
|
336
|
+
})), de = /* @__PURE__ */ P(((e, t) => {
|
|
337
337
|
t.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
338
|
-
})),
|
|
338
|
+
})), fe = /* @__PURE__ */ P(((e, t) => {
|
|
339
339
|
var n = function() {};
|
|
340
340
|
if (process.env.NODE_ENV !== "production") {
|
|
341
|
-
var r =
|
|
341
|
+
var r = ue(), i = {}, a = de();
|
|
342
342
|
n = function(e) {
|
|
343
343
|
var t = "Warning: " + e;
|
|
344
344
|
typeof console < "u" && console.error(t);
|
|
@@ -371,8 +371,8 @@ var oe = class {
|
|
|
371
371
|
o.resetWarningCache = function() {
|
|
372
372
|
process.env.NODE_ENV !== "production" && (i = {});
|
|
373
373
|
}, t.exports = o;
|
|
374
|
-
})),
|
|
375
|
-
var n =
|
|
374
|
+
})), pe = /* @__PURE__ */ P(((e, t) => {
|
|
375
|
+
var n = ce(), r = le(), i = ue(), a = de(), o = fe(), s = function() {};
|
|
376
376
|
process.env.NODE_ENV !== "production" && (s = function(e) {
|
|
377
377
|
var t = "Warning: " + e;
|
|
378
378
|
typeof console < "u" && console.error(t);
|
|
@@ -631,8 +631,8 @@ var oe = class {
|
|
|
631
631
|
}
|
|
632
632
|
return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
|
|
633
633
|
};
|
|
634
|
-
})),
|
|
635
|
-
var n =
|
|
634
|
+
})), me = /* @__PURE__ */ P(((e, t) => {
|
|
635
|
+
var n = ue();
|
|
636
636
|
function r() {}
|
|
637
637
|
function i() {}
|
|
638
638
|
i.resetWarningCache = r, t.exports = function() {
|
|
@@ -671,61 +671,61 @@ var oe = class {
|
|
|
671
671
|
};
|
|
672
672
|
return a.PropTypes = a, a;
|
|
673
673
|
};
|
|
674
|
-
})),
|
|
674
|
+
})), he = /* @__PURE__ */ P(((e, t) => {
|
|
675
675
|
if (process.env.NODE_ENV !== "production") {
|
|
676
|
-
var n =
|
|
677
|
-
t.exports =
|
|
678
|
-
} else t.exports =
|
|
676
|
+
var n = ce();
|
|
677
|
+
t.exports = pe()(n.isElement, !0);
|
|
678
|
+
} else t.exports = me()();
|
|
679
679
|
}));
|
|
680
680
|
//#endregion
|
|
681
681
|
//#region node_modules/clsx/dist/clsx.mjs
|
|
682
|
-
function
|
|
682
|
+
function ge(e) {
|
|
683
683
|
var t, n, r = "";
|
|
684
684
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
685
685
|
else if (typeof e == "object") {
|
|
686
686
|
if (Array.isArray(e)) {
|
|
687
687
|
var i = e.length;
|
|
688
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
688
|
+
for (t = 0; t < i; t++) e[t] && (n = ge(e[t])) && (r && (r += " "), r += n);
|
|
689
689
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
690
690
|
}
|
|
691
691
|
return r;
|
|
692
692
|
}
|
|
693
|
-
function
|
|
694
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
693
|
+
function H() {
|
|
694
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ge(e)) && (r && (r += " "), r += t);
|
|
695
695
|
return r;
|
|
696
696
|
}
|
|
697
697
|
//#endregion
|
|
698
698
|
//#region node_modules/@mui/utils/HTMLElementType/HTMLElementType.mjs
|
|
699
|
-
function
|
|
699
|
+
function _e(e, t, n, r, i) {
|
|
700
700
|
if (process.env.NODE_ENV === "production") return null;
|
|
701
701
|
let a = e[t], o = i || t;
|
|
702
702
|
return a == null ? null : a && a.nodeType !== 1 ? /* @__PURE__ */ Error(`Invalid ${r} \`${o}\` supplied to \`${n}\`. Expected an HTMLElement.`) : null;
|
|
703
703
|
}
|
|
704
704
|
//#endregion
|
|
705
705
|
//#region node_modules/@mui/utils/chainPropTypes/chainPropTypes.mjs
|
|
706
|
-
function
|
|
706
|
+
function ve(e, t) {
|
|
707
707
|
return process.env.NODE_ENV === "production" ? () => null : function(...n) {
|
|
708
708
|
return e(...n) || t(...n);
|
|
709
709
|
};
|
|
710
710
|
}
|
|
711
711
|
//#endregion
|
|
712
712
|
//#region node_modules/@mui/utils/elementAcceptingRef/elementAcceptingRef.mjs
|
|
713
|
-
var
|
|
714
|
-
function
|
|
713
|
+
var U = /* @__PURE__ */ F(he(), 1);
|
|
714
|
+
function ye(e) {
|
|
715
715
|
let { prototype: t = {} } = e;
|
|
716
716
|
return !!t.isReactComponent;
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function be(e, t, n, r, i) {
|
|
719
719
|
let a = e[t], o = i || t;
|
|
720
720
|
if (a == null || typeof window > "u") return null;
|
|
721
721
|
let s, c = a.type;
|
|
722
|
-
return typeof c == "function" && !
|
|
722
|
+
return typeof c == "function" && !ye(c) && (s = "Did you accidentally use a plain function component for an element instead?"), s === void 0 ? null : /* @__PURE__ */ Error(`Invalid ${r} \`${o}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`);
|
|
723
723
|
}
|
|
724
|
-
var
|
|
725
|
-
|
|
724
|
+
var xe = ve(U.default.element, be);
|
|
725
|
+
xe.isRequired = ve(U.default.element.isRequired, be);
|
|
726
726
|
//#endregion
|
|
727
727
|
//#region node_modules/@mui/utils/composeClasses/composeClasses.mjs
|
|
728
|
-
function
|
|
728
|
+
function Se(e, t, n = void 0) {
|
|
729
729
|
let r = {};
|
|
730
730
|
for (let i in e) {
|
|
731
731
|
let a = e[i], o = "", s = !0;
|
|
@@ -739,7 +739,7 @@ function Ce(e, t, n = void 0) {
|
|
|
739
739
|
}
|
|
740
740
|
//#endregion
|
|
741
741
|
//#region node_modules/@mui/utils/useForkRef/useForkRef.mjs
|
|
742
|
-
function
|
|
742
|
+
function Ce(...t) {
|
|
743
743
|
let n = e.useRef(void 0), r = e.useCallback((e) => {
|
|
744
744
|
let n = t.map((t) => {
|
|
745
745
|
if (t == null) return null;
|
|
@@ -763,16 +763,16 @@ function we(...t) {
|
|
|
763
763
|
}
|
|
764
764
|
//#endregion
|
|
765
765
|
//#region node_modules/@mui/utils/getReactElementRef/getReactElementRef.mjs
|
|
766
|
-
function
|
|
766
|
+
function we(t) {
|
|
767
767
|
return parseInt(e.version, 10) >= 19 ? t?.props?.ref || null : t?.ref || null;
|
|
768
768
|
}
|
|
769
769
|
//#endregion
|
|
770
770
|
//#region node_modules/@mui/utils/exactProp/exactProp.mjs
|
|
771
|
-
var
|
|
772
|
-
function
|
|
771
|
+
var Te = "exact-prop: ";
|
|
772
|
+
function Ee(e) {
|
|
773
773
|
return process.env.NODE_ENV === "production" ? e : {
|
|
774
774
|
...e,
|
|
775
|
-
[
|
|
775
|
+
[Te]: (t) => {
|
|
776
776
|
let n = Object.keys(t).filter((t) => !e.hasOwnProperty(t));
|
|
777
777
|
return n.length > 0 ? /* @__PURE__ */ Error(`The following props are not supported: ${n.map((e) => `\`${e}\``).join(", ")}. Please remove them.`) : null;
|
|
778
778
|
}
|
|
@@ -780,7 +780,7 @@ function De(e) {
|
|
|
780
780
|
}
|
|
781
781
|
//#endregion
|
|
782
782
|
//#region node_modules/@mui/utils/contains/contains.mjs
|
|
783
|
-
function
|
|
783
|
+
function De(e, t) {
|
|
784
784
|
if (!e || !t) return !1;
|
|
785
785
|
if (e.contains(t)) return !0;
|
|
786
786
|
let n = t.getRootNode?.();
|
|
@@ -795,23 +795,23 @@ function Oe(e, t) {
|
|
|
795
795
|
}
|
|
796
796
|
//#endregion
|
|
797
797
|
//#region node_modules/@mui/material/utils/contains.mjs
|
|
798
|
-
var
|
|
798
|
+
var Oe = De;
|
|
799
799
|
//#endregion
|
|
800
800
|
//#region node_modules/@mui/utils/getActiveElement/getActiveElement.mjs
|
|
801
|
-
function
|
|
801
|
+
function ke(e) {
|
|
802
802
|
let t = e.activeElement;
|
|
803
803
|
for (; t?.shadowRoot?.activeElement != null;) t = t.shadowRoot.activeElement;
|
|
804
804
|
return t;
|
|
805
805
|
}
|
|
806
806
|
//#endregion
|
|
807
807
|
//#region node_modules/@mui/material/utils/getActiveElement.mjs
|
|
808
|
-
var
|
|
809
|
-
function
|
|
810
|
-
return e ? e.hasAttribute("data-mui-focusable") ? e : e.querySelector(`[${
|
|
808
|
+
var Ae = ke, je = "data-mui-focusable";
|
|
809
|
+
function Me(e) {
|
|
810
|
+
return e ? e.hasAttribute("data-mui-focusable") ? e : e.querySelector(`[${je}]`) : null;
|
|
811
811
|
}
|
|
812
812
|
//#endregion
|
|
813
813
|
//#region node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.mjs
|
|
814
|
-
var
|
|
814
|
+
var Ne = [
|
|
815
815
|
"input",
|
|
816
816
|
"select",
|
|
817
817
|
"textarea",
|
|
@@ -822,58 +822,58 @@ var Pe = [
|
|
|
822
822
|
"video[controls]",
|
|
823
823
|
"[contenteditable]:not([contenteditable=\"false\"])"
|
|
824
824
|
].join(",");
|
|
825
|
-
function
|
|
825
|
+
function Pe(e) {
|
|
826
826
|
let t = parseInt(e.getAttribute("tabindex") || "", 10);
|
|
827
827
|
return Number.isNaN(t) ? e.contentEditable === "true" || (e.nodeName === "AUDIO" || e.nodeName === "VIDEO" || e.nodeName === "DETAILS") && e.getAttribute("tabindex") === null ? 0 : e.tabIndex : t;
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function Fe(e) {
|
|
830
830
|
if (e.tagName !== "INPUT" || e.type !== "radio" || !e.name) return !1;
|
|
831
831
|
let t = (t) => e.ownerDocument.querySelector(`input[type="radio"]${t}`), n = t(`[name="${e.name}"]:checked`);
|
|
832
832
|
return n || (n = t(`[name="${e.name}"]`)), n !== e;
|
|
833
833
|
}
|
|
834
|
-
function
|
|
835
|
-
return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" ||
|
|
834
|
+
function Ie(e) {
|
|
835
|
+
return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Fe(e));
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function Le(e) {
|
|
838
838
|
let t = [], n = [];
|
|
839
|
-
return Array.from(e.querySelectorAll(
|
|
840
|
-
let i =
|
|
841
|
-
i !== -1 &&
|
|
839
|
+
return Array.from(e.querySelectorAll(Ne)).forEach((e, r) => {
|
|
840
|
+
let i = Pe(e);
|
|
841
|
+
i !== -1 && Ie(e) && (i === 0 ? t.push(e) : n.push({
|
|
842
842
|
documentOrder: r,
|
|
843
843
|
tabIndex: i,
|
|
844
844
|
node: e
|
|
845
845
|
}));
|
|
846
846
|
}), n.sort((e, t) => e.tabIndex === t.tabIndex ? e.documentOrder - t.documentOrder : e.tabIndex - t.tabIndex).map((e) => e.node).concat(t);
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function Re() {
|
|
849
849
|
return !0;
|
|
850
850
|
}
|
|
851
|
-
function
|
|
852
|
-
let { children: n, disableAutoFocus: r = !1, disableEnforceFocus: i = !1, disableRestoreFocus: a = !1, getTabbable: o =
|
|
851
|
+
function ze(t) {
|
|
852
|
+
let { children: n, disableAutoFocus: r = !1, disableEnforceFocus: i = !1, disableRestoreFocus: a = !1, getTabbable: o = Le, isEnabled: s = Re, open: u } = t, d = e.useRef(!1), f = e.useRef(null), p = e.useRef(null), m = e.useRef(null), h = e.useRef(null), g = e.useRef(!1), _ = e.useRef(null), v = Ce(we(n), _), y = e.useRef(null);
|
|
853
853
|
e.useEffect(() => {
|
|
854
854
|
u && _.current && (g.current = !r);
|
|
855
855
|
}, [r, u]), e.useEffect(() => {
|
|
856
856
|
if (d.current = !1, !u || !_.current) return;
|
|
857
|
-
let e =
|
|
858
|
-
return
|
|
857
|
+
let e = Ae(I(_.current)), t = Me(_.current) ?? _.current;
|
|
858
|
+
return Oe(_.current, e) || (t.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", "For the benefit of assistive technologies, the tabIndex of the node is being set to \"-1\"."].join("\n")), t.setAttribute("tabIndex", "-1")), g.current && t.focus()), () => {
|
|
859
859
|
!a && m.current && (d.current = !0, m.current.focus(), m.current = null);
|
|
860
860
|
};
|
|
861
861
|
}, [u]), e.useEffect(() => {
|
|
862
862
|
if (!u || !_.current) return;
|
|
863
863
|
let e = I(_.current), t = (t) => {
|
|
864
864
|
if (y.current = t, i || !s() || t.key !== "Tab") return;
|
|
865
|
-
let n = _.current, r =
|
|
865
|
+
let n = _.current, r = Ae(e);
|
|
866
866
|
if (n === null) return;
|
|
867
|
-
let a =
|
|
867
|
+
let a = Me(n);
|
|
868
868
|
if (r === n || r === a) {
|
|
869
869
|
let e = o(n);
|
|
870
870
|
if (e.length === 0) return;
|
|
871
871
|
t.preventDefault(), t.shiftKey ? e[e.length - 1].focus() : e[0].focus();
|
|
872
872
|
return;
|
|
873
873
|
}
|
|
874
|
-
if (
|
|
874
|
+
if (Oe(n, r)) {
|
|
875
875
|
let e = o(n), i = e.indexOf(r);
|
|
876
|
-
if (i === -1 || !e.some((e) =>
|
|
876
|
+
if (i === -1 || !e.some((e) => Pe(e) > 0)) return;
|
|
877
877
|
t.preventDefault();
|
|
878
878
|
let a = 0;
|
|
879
879
|
a = t.shiftKey ? i <= 0 ? e.length - 1 : i - 1 : i === e.length - 1 ? 0 : i + 1, e[a].focus();
|
|
@@ -881,12 +881,12 @@ function Be(t) {
|
|
|
881
881
|
}, n = () => {
|
|
882
882
|
let t = _.current;
|
|
883
883
|
if (t === null) return;
|
|
884
|
-
let n =
|
|
884
|
+
let n = Ae(e);
|
|
885
885
|
if (!e.hasFocus() || !s() || d.current) {
|
|
886
886
|
d.current = !1;
|
|
887
887
|
return;
|
|
888
888
|
}
|
|
889
|
-
if (
|
|
889
|
+
if (Oe(t, n) || i && n !== f.current && n !== p.current) return;
|
|
890
890
|
if (n !== h.current) h.current = null;
|
|
891
891
|
else if (h.current !== null) return;
|
|
892
892
|
if (!g.current) return;
|
|
@@ -898,7 +898,7 @@ function Be(t) {
|
|
|
898
898
|
};
|
|
899
899
|
e.addEventListener("focusin", n), e.addEventListener("keydown", t, !0);
|
|
900
900
|
let r = setInterval(() => {
|
|
901
|
-
let t =
|
|
901
|
+
let t = Ae(e);
|
|
902
902
|
t && t.tagName === "BODY" && n();
|
|
903
903
|
}, 50);
|
|
904
904
|
return () => {
|
|
@@ -938,35 +938,35 @@ function Be(t) {
|
|
|
938
938
|
})
|
|
939
939
|
] });
|
|
940
940
|
}
|
|
941
|
-
process.env.NODE_ENV !== "production" && (
|
|
942
|
-
children:
|
|
943
|
-
disableAutoFocus:
|
|
944
|
-
disableEnforceFocus:
|
|
945
|
-
disableRestoreFocus:
|
|
946
|
-
getTabbable:
|
|
947
|
-
isEnabled:
|
|
948
|
-
open:
|
|
949
|
-
}), process.env.NODE_ENV !== "production" && (
|
|
941
|
+
process.env.NODE_ENV !== "production" && (ze.propTypes = {
|
|
942
|
+
children: xe,
|
|
943
|
+
disableAutoFocus: U.default.bool,
|
|
944
|
+
disableEnforceFocus: U.default.bool,
|
|
945
|
+
disableRestoreFocus: U.default.bool,
|
|
946
|
+
getTabbable: U.default.func,
|
|
947
|
+
isEnabled: U.default.func,
|
|
948
|
+
open: U.default.bool.isRequired
|
|
949
|
+
}), process.env.NODE_ENV !== "production" && (ze.propTypes = Ee(ze.propTypes));
|
|
950
950
|
//#endregion
|
|
951
951
|
//#region node_modules/@mui/utils/useEnhancedEffect/useEnhancedEffect.mjs
|
|
952
|
-
var
|
|
952
|
+
var W = typeof window < "u" ? e.useLayoutEffect : e.useEffect;
|
|
953
953
|
//#endregion
|
|
954
954
|
//#region node_modules/@mui/utils/setRef/setRef.mjs
|
|
955
|
-
function
|
|
955
|
+
function Be(e, t) {
|
|
956
956
|
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
957
957
|
}
|
|
958
958
|
//#endregion
|
|
959
959
|
//#region node_modules/@mui/material/Portal/Portal.mjs
|
|
960
|
-
function
|
|
960
|
+
function Ve(e) {
|
|
961
961
|
return typeof e == "function" ? e() : e;
|
|
962
962
|
}
|
|
963
|
-
var
|
|
964
|
-
let { children: r, container: i, disablePortal: a = !1 } = t, [o, s] = e.useState(null), c =
|
|
965
|
-
if (
|
|
966
|
-
a || s(
|
|
967
|
-
}, [i, a]),
|
|
968
|
-
if (o && !a) return
|
|
969
|
-
|
|
963
|
+
var He = /*#__PURE__*/ e.forwardRef(function(t, n) {
|
|
964
|
+
let { children: r, container: i, disablePortal: a = !1 } = t, [o, s] = e.useState(null), c = Ce(/*#__PURE__*/ e.isValidElement(r) ? we(r) : null, n);
|
|
965
|
+
if (W(() => {
|
|
966
|
+
a || s(Ve(i) || document.body);
|
|
967
|
+
}, [i, a]), W(() => {
|
|
968
|
+
if (o && !a) return Be(n, o), () => {
|
|
969
|
+
Be(n, null);
|
|
970
970
|
};
|
|
971
971
|
}, [
|
|
972
972
|
n,
|
|
@@ -981,78 +981,78 @@ var We = /*#__PURE__*/ e.forwardRef(function(t, n) {
|
|
|
981
981
|
}
|
|
982
982
|
return o && /*#__PURE__*/ u.createPortal(r, o);
|
|
983
983
|
});
|
|
984
|
-
process.env.NODE_ENV !== "production" && (
|
|
985
|
-
children:
|
|
986
|
-
container:
|
|
987
|
-
disablePortal:
|
|
988
|
-
}), process.env.NODE_ENV !== "production" && (
|
|
984
|
+
process.env.NODE_ENV !== "production" && (He.propTypes = {
|
|
985
|
+
children: U.default.node,
|
|
986
|
+
container: U.default.oneOfType([_e, U.default.func]),
|
|
987
|
+
disablePortal: U.default.bool
|
|
988
|
+
}), process.env.NODE_ENV !== "production" && (He.propTypes = Ee(He.propTypes));
|
|
989
989
|
//#endregion
|
|
990
990
|
//#region node_modules/@mui/utils/fastDeepAssign/fastDeepAssign.mjs
|
|
991
|
-
function
|
|
991
|
+
function Ue(e, t) {
|
|
992
992
|
let n = Array.isArray(t), r = Array.isArray(e);
|
|
993
|
-
return
|
|
993
|
+
return Je(t) ? t : Ye(e) ? Xe(t) : n && r ? Ke(e, t) : n === r ? Ze(e, t) : Xe(t);
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function We(e) {
|
|
996
996
|
let t = 0, n = e.length, r = Array(n);
|
|
997
|
-
for (t = 0; t < n; t += 1) r[t] =
|
|
997
|
+
for (t = 0; t < n; t += 1) r[t] = Xe(e[t]);
|
|
998
998
|
return r;
|
|
999
999
|
}
|
|
1000
|
-
function
|
|
1000
|
+
function Ge(e) {
|
|
1001
1001
|
let t = {};
|
|
1002
|
-
for (let n in e) n !== "__proto__" && n !== "constructor" && n !== "prototype" && (t[n] =
|
|
1002
|
+
for (let n in e) n !== "__proto__" && n !== "constructor" && n !== "prototype" && (t[n] = Xe(e[n]));
|
|
1003
1003
|
return t;
|
|
1004
1004
|
}
|
|
1005
|
-
function
|
|
1005
|
+
function Ke(e, t) {
|
|
1006
1006
|
let n = e.length;
|
|
1007
|
-
for (let r = 0; r < t.length; r += 1) e[n + r] =
|
|
1007
|
+
for (let r = 0; r < t.length; r += 1) e[n + r] = Xe(t[r]);
|
|
1008
1008
|
return e;
|
|
1009
1009
|
}
|
|
1010
|
-
function
|
|
1010
|
+
function qe(e) {
|
|
1011
1011
|
return typeof e == "object" && !!e && !(e instanceof RegExp) && !(e instanceof Date);
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function Je(e) {
|
|
1014
1014
|
return typeof e != "object" || !e;
|
|
1015
1015
|
}
|
|
1016
|
-
function
|
|
1016
|
+
function Ye(e) {
|
|
1017
1017
|
return typeof e != "object" || !e || e instanceof RegExp || e instanceof Date;
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1020
|
-
return
|
|
1019
|
+
function Xe(e) {
|
|
1020
|
+
return qe(e) ? Array.isArray(e) ? We(e) : Ge(e) : e;
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1023
|
-
for (let n in t) n !== "__proto__" && n !== "constructor" && n !== "prototype" && (e[n] = n in e ?
|
|
1022
|
+
function Ze(e, t) {
|
|
1023
|
+
for (let n in t) n !== "__proto__" && n !== "constructor" && n !== "prototype" && (e[n] = n in e ? Ue(e[n], t[n]) : Xe(t[n]));
|
|
1024
1024
|
return e;
|
|
1025
1025
|
}
|
|
1026
1026
|
//#endregion
|
|
1027
1027
|
//#region node_modules/@mui/utils/formatMuiErrorMessage/formatMuiErrorMessage.mjs
|
|
1028
|
-
function
|
|
1028
|
+
function Qe(e, ...t) {
|
|
1029
1029
|
let n = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
1030
1030
|
return t.forEach((e) => n.searchParams.append("args[]", e)), `Minified MUI error #${e}; visit ${n} for the full message.`;
|
|
1031
1031
|
}
|
|
1032
1032
|
//#endregion
|
|
1033
1033
|
//#region node_modules/@mui/utils/capitalize/capitalize.mjs
|
|
1034
|
-
function
|
|
1035
|
-
if (typeof e != "string") throw Error(process.env.NODE_ENV === "production" ?
|
|
1034
|
+
function $e(e) {
|
|
1035
|
+
if (typeof e != "string") throw Error(process.env.NODE_ENV === "production" ? Qe(7) : "MUI: `capitalize(string)` expects a string argument.");
|
|
1036
1036
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1037
1037
|
}
|
|
1038
1038
|
//#endregion
|
|
1039
1039
|
//#region node_modules/@mui/system/responsivePropType/responsivePropType.mjs
|
|
1040
|
-
var
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1040
|
+
var et = process.env.NODE_ENV === "production" ? {} : U.default.oneOfType([
|
|
1041
|
+
U.default.number,
|
|
1042
|
+
U.default.string,
|
|
1043
|
+
U.default.object,
|
|
1044
|
+
U.default.array
|
|
1045
1045
|
]);
|
|
1046
1046
|
//#endregion
|
|
1047
1047
|
//#region node_modules/@mui/utils/isObjectEmpty/isObjectEmpty.mjs
|
|
1048
|
-
function
|
|
1048
|
+
function tt(e) {
|
|
1049
1049
|
if (e == null) return !0;
|
|
1050
1050
|
for (let t in e) return !1;
|
|
1051
1051
|
return !0;
|
|
1052
1052
|
}
|
|
1053
1053
|
//#endregion
|
|
1054
1054
|
//#region node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js
|
|
1055
|
-
var
|
|
1055
|
+
var nt = /* @__PURE__ */ P(((e) => {
|
|
1056
1056
|
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference");
|
|
1057
1057
|
function h(e) {
|
|
1058
1058
|
if (typeof e == "object" && e) {
|
|
@@ -1105,7 +1105,7 @@ var it = /* @__PURE__ */ P(((e) => {
|
|
|
1105
1105
|
}, e.isValidElementType = function(e) {
|
|
1106
1106
|
return !!(typeof e == "string" || typeof e == "function" || e === r || e === a || e === i || e === l || e === u || typeof e == "object" && e && (e.$$typeof === f || e.$$typeof === d || e.$$typeof === s || e.$$typeof === o || e.$$typeof === c || e.$$typeof === m || e.getModuleId !== void 0));
|
|
1107
1107
|
}, e.typeOf = h;
|
|
1108
|
-
})),
|
|
1108
|
+
})), rt = /* @__PURE__ */ P(((e) => {
|
|
1109
1109
|
process.env.NODE_ENV !== "production" && (function() {
|
|
1110
1110
|
function t(e) {
|
|
1111
1111
|
if (typeof e == "object" && e) {
|
|
@@ -1160,35 +1160,35 @@ var it = /* @__PURE__ */ P(((e) => {
|
|
|
1160
1160
|
return !!(typeof e == "string" || typeof e == "function" || e === i || e === o || e === a || e === u || e === d || typeof e == "object" && e && (e.$$typeof === p || e.$$typeof === f || e.$$typeof === c || e.$$typeof === s || e.$$typeof === l || e.$$typeof === h || e.getModuleId !== void 0));
|
|
1161
1161
|
}, e.typeOf = t;
|
|
1162
1162
|
})();
|
|
1163
|
-
})),
|
|
1164
|
-
t.exports = process.env.NODE_ENV === "production" ?
|
|
1163
|
+
})), it = (/* @__PURE__ */ P(((e, t) => {
|
|
1164
|
+
t.exports = process.env.NODE_ENV === "production" ? nt() : rt();
|
|
1165
1165
|
})))();
|
|
1166
|
-
function
|
|
1166
|
+
function at(e) {
|
|
1167
1167
|
if (typeof e != "object" || !e) return !1;
|
|
1168
1168
|
let t = Object.getPrototypeOf(e);
|
|
1169
1169
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1172
|
-
if (/*#__PURE__*/ e.isValidElement(t) || (0,
|
|
1171
|
+
function ot(t) {
|
|
1172
|
+
if (/*#__PURE__*/ e.isValidElement(t) || (0, it.isValidElementType)(t) || !at(t)) return t;
|
|
1173
1173
|
let n = {};
|
|
1174
1174
|
return Object.keys(t).forEach((e) => {
|
|
1175
|
-
n[e] =
|
|
1175
|
+
n[e] = ot(t[e]);
|
|
1176
1176
|
}), n;
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1178
|
+
function st(t, n, r = { clone: !0 }) {
|
|
1179
1179
|
let i = r.clone ? { ...t } : t;
|
|
1180
|
-
return
|
|
1181
|
-
/*#__PURE__*/ e.isValidElement(n[a]) || (0,
|
|
1180
|
+
return at(t) && at(n) && Object.keys(n).forEach((a) => {
|
|
1181
|
+
/*#__PURE__*/ e.isValidElement(n[a]) || (0, it.isValidElementType)(n[a]) ? i[a] = n[a] : at(n[a]) && Object.prototype.hasOwnProperty.call(t, a) && at(t[a]) ? i[a] = st(t[a], n[a], r) : r.clone ? i[a] = at(n[a]) ? ot(n[a]) : n[a] : i[a] = n[a];
|
|
1182
1182
|
}), i;
|
|
1183
1183
|
}
|
|
1184
1184
|
//#endregion
|
|
1185
1185
|
//#region node_modules/@mui/system/cssContainerQueries/cssContainerQueries.mjs
|
|
1186
|
-
var
|
|
1187
|
-
function
|
|
1188
|
-
if (!e.containerQueries || !
|
|
1186
|
+
var ct = /min-width:\s*([0-9.]+)/;
|
|
1187
|
+
function lt(e, t) {
|
|
1188
|
+
if (!e.containerQueries || !ut(t)) return t;
|
|
1189
1189
|
let n = [];
|
|
1190
1190
|
for (let e in t) e.startsWith("@container") && n.push(e);
|
|
1191
|
-
n.sort((e, t) => +(e.match(
|
|
1191
|
+
n.sort((e, t) => +(e.match(ct)?.[1] || 0) - (t.match(ct)?.[1] || 0));
|
|
1192
1192
|
let r = t;
|
|
1193
1193
|
for (let e = 0; e < n.length; e += 1) {
|
|
1194
1194
|
let t = n[e], i = r[t];
|
|
@@ -1196,14 +1196,14 @@ function ut(e, t) {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
return r;
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function ut(e) {
|
|
1200
1200
|
for (let t in e) if (t.startsWith("@container")) return !0;
|
|
1201
1201
|
return !1;
|
|
1202
1202
|
}
|
|
1203
|
-
function
|
|
1203
|
+
function dt(e, t) {
|
|
1204
1204
|
return t === "@" || t.startsWith("@") && (e.some((e) => t.startsWith(`@${e}`)) || !!t.match(/^@\d/));
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1206
|
+
function ft(e, t) {
|
|
1207
1207
|
let n = t.match(/^@([^/]+)?\/?(.+)?$/);
|
|
1208
1208
|
if (!n) {
|
|
1209
1209
|
if (process.env.NODE_ENV !== "production") throw Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);
|
|
@@ -1212,7 +1212,7 @@ function pt(e, t) {
|
|
|
1212
1212
|
let [, r, i] = n, a = Number.isNaN(+r) ? r || 0 : +r;
|
|
1213
1213
|
return e.containerQueries(i).up(a);
|
|
1214
1214
|
}
|
|
1215
|
-
function
|
|
1215
|
+
function pt(e) {
|
|
1216
1216
|
let t = (e, t) => e.replace("@media", t ? `@container ${t}` : "@container");
|
|
1217
1217
|
function n(n, r) {
|
|
1218
1218
|
n.up = (...n) => t(e.breakpoints.up(...n), r), n.down = (...n) => t(e.breakpoints.down(...n), r), n.between = (...n) => t(e.breakpoints.between(...n), r), n.only = (...n) => t(e.breakpoints.only(...n), r), n.not = (...n) => {
|
|
@@ -1228,7 +1228,7 @@ function mt(e) {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
//#endregion
|
|
1230
1230
|
//#region node_modules/@mui/system/createBreakpoints/createBreakpoints.mjs
|
|
1231
|
-
var
|
|
1231
|
+
var mt = (e) => {
|
|
1232
1232
|
let t = Object.keys(e).map((t) => ({
|
|
1233
1233
|
key: t,
|
|
1234
1234
|
val: e[t]
|
|
@@ -1238,14 +1238,14 @@ var ht = (e) => {
|
|
|
1238
1238
|
[t.key]: t.val
|
|
1239
1239
|
}), {});
|
|
1240
1240
|
};
|
|
1241
|
-
function
|
|
1241
|
+
function ht(e) {
|
|
1242
1242
|
let { values: t = {
|
|
1243
1243
|
xs: 0,
|
|
1244
1244
|
sm: 600,
|
|
1245
1245
|
md: 900,
|
|
1246
1246
|
lg: 1200,
|
|
1247
1247
|
xl: 1536
|
|
1248
|
-
}, unit: n = "px", step: r = 5, ...i } = e, a =
|
|
1248
|
+
}, unit: n = "px", step: r = 5, ...i } = e, a = mt(t), o = Object.keys(a);
|
|
1249
1249
|
function s(e) {
|
|
1250
1250
|
return `@media (min-width:${typeof t[e] == "number" ? t[e] : e}${n})`;
|
|
1251
1251
|
}
|
|
@@ -1280,35 +1280,35 @@ function gt(e) {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
//#endregion
|
|
1282
1282
|
//#region node_modules/@mui/system/breakpoints/breakpoints.mjs
|
|
1283
|
-
var
|
|
1283
|
+
var gt = {}, _t = {
|
|
1284
1284
|
xs: 0,
|
|
1285
1285
|
sm: 600,
|
|
1286
1286
|
md: 900,
|
|
1287
1287
|
lg: 1200,
|
|
1288
1288
|
xl: 1536
|
|
1289
|
-
},
|
|
1290
|
-
let n = typeof t == "number" ? t :
|
|
1289
|
+
}, vt = ht({ values: _t }), yt = { containerQueries: (e) => ({ up: (t) => {
|
|
1290
|
+
let n = typeof t == "number" ? t : _t[t] || t;
|
|
1291
1291
|
return typeof n == "number" && (n = `${n}px`), e ? `@container ${e} (min-width:${n})` : `@container (min-width:${n})`;
|
|
1292
1292
|
} }) };
|
|
1293
|
-
function
|
|
1293
|
+
function bt(e, t, n) {
|
|
1294
1294
|
let r = {};
|
|
1295
|
-
return
|
|
1295
|
+
return xt(r, e.theme, t, (e, t, i) => {
|
|
1296
1296
|
let a = n(t, i);
|
|
1297
|
-
e ? r[e] = a :
|
|
1297
|
+
e ? r[e] = a : Ue(r, a);
|
|
1298
1298
|
});
|
|
1299
1299
|
}
|
|
1300
|
-
function
|
|
1301
|
-
if (t ?? (t =
|
|
1302
|
-
let i = t.breakpoints ??
|
|
1303
|
-
for (let t = 0; t < n.length; t += 1)
|
|
1300
|
+
function xt(e, t, n, r) {
|
|
1301
|
+
if (t ?? (t = gt), Array.isArray(n)) {
|
|
1302
|
+
let i = t.breakpoints ?? vt;
|
|
1303
|
+
for (let t = 0; t < n.length; t += 1) St(e, i.up(i.keys[t]), n[t], void 0, r);
|
|
1304
1304
|
return e;
|
|
1305
1305
|
}
|
|
1306
1306
|
if (typeof n == "object") {
|
|
1307
|
-
let i = t.breakpoints ??
|
|
1308
|
-
for (let o in n) if (
|
|
1309
|
-
let i =
|
|
1310
|
-
i &&
|
|
1311
|
-
} else if (o in a)
|
|
1307
|
+
let i = t.breakpoints ?? vt, a = i.values ?? _t;
|
|
1308
|
+
for (let o in n) if (dt(i.keys, o)) {
|
|
1309
|
+
let i = ft(t.containerQueries ? t : yt, o);
|
|
1310
|
+
i && St(e, i, n[o], o, r);
|
|
1311
|
+
} else if (o in a) St(e, i.up(o), n[o], o, r);
|
|
1312
1312
|
else {
|
|
1313
1313
|
let t = o;
|
|
1314
1314
|
e[t] = n[t];
|
|
@@ -1317,94 +1317,94 @@ function St(e, t, n, r) {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
return r(void 0, n), e;
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function St(e, t, n, r, i) {
|
|
1321
1321
|
e[t] ?? (e[t] = {}), i(t, n, r);
|
|
1322
1322
|
}
|
|
1323
|
-
function
|
|
1323
|
+
function Ct(e = vt) {
|
|
1324
1324
|
let { internal_mediaKeys: t } = e, n = {};
|
|
1325
1325
|
for (let e = 0; e < t.length; e += 1) n[t[e]] = {};
|
|
1326
1326
|
return n;
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1328
|
+
function wt(e, t) {
|
|
1329
1329
|
let n = e.internal_mediaKeys;
|
|
1330
1330
|
for (let e = 0; e < n.length; e += 1) {
|
|
1331
1331
|
let r = n[e];
|
|
1332
|
-
|
|
1332
|
+
tt(t[r]) && delete t[r];
|
|
1333
1333
|
}
|
|
1334
1334
|
return t;
|
|
1335
1335
|
}
|
|
1336
|
-
function
|
|
1336
|
+
function Tt(e, t) {
|
|
1337
1337
|
if (Array.isArray(t)) return !0;
|
|
1338
1338
|
if (typeof t == "object" && t) {
|
|
1339
1339
|
for (let n = 0; n < e.keys.length; n += 1) if (e.keys[n] in t) return !0;
|
|
1340
1340
|
let n = Object.keys(t);
|
|
1341
|
-
for (let t = 0; t < n.length; t += 1) if (
|
|
1341
|
+
for (let t = 0; t < n.length; t += 1) if (dt(e.keys, n[t])) return !0;
|
|
1342
1342
|
}
|
|
1343
1343
|
return !1;
|
|
1344
1344
|
}
|
|
1345
1345
|
//#endregion
|
|
1346
1346
|
//#region node_modules/@mui/system/style/style.mjs
|
|
1347
|
-
function
|
|
1347
|
+
function Et(e, t, n, r) {
|
|
1348
1348
|
let i;
|
|
1349
|
-
return i = typeof e == "function" ? e(n) : Array.isArray(e) ? e[n] || n : typeof n == "string" &&
|
|
1349
|
+
return i = typeof e == "function" ? e(n) : Array.isArray(e) ? e[n] || n : typeof n == "string" && Dt(e, n, !0, r) || n, t && (i = t(i, n, e)), i;
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function Dt(e, t, n = !0, r = void 0) {
|
|
1352
1352
|
if (!e || !t) return null;
|
|
1353
1353
|
let i = t.split(".");
|
|
1354
1354
|
if (e.vars && n) {
|
|
1355
|
-
let t =
|
|
1355
|
+
let t = Ot(e.vars, i, r);
|
|
1356
1356
|
if (t != null) return t;
|
|
1357
1357
|
}
|
|
1358
|
-
return
|
|
1358
|
+
return Ot(e, i, r);
|
|
1359
1359
|
}
|
|
1360
|
-
function
|
|
1360
|
+
function Ot(e, t, n = void 0) {
|
|
1361
1361
|
let r, i = e, a = 0;
|
|
1362
1362
|
for (; a < t.length;) {
|
|
1363
1363
|
if (i == null) return i;
|
|
1364
1364
|
r = i, i = i[t[a]], a += 1;
|
|
1365
1365
|
}
|
|
1366
1366
|
if (n && i === void 0) {
|
|
1367
|
-
let e = t[t.length - 1], i = `${n}${e === "default" ? "" :
|
|
1367
|
+
let e = t[t.length - 1], i = `${n}${e === "default" ? "" : $e(e)}`;
|
|
1368
1368
|
return r?.[i];
|
|
1369
1369
|
}
|
|
1370
1370
|
return i;
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function G(e) {
|
|
1373
1373
|
let { prop: t, cssProperty: n = e.prop, themeKey: r, transform: i } = e, a = (e) => {
|
|
1374
1374
|
if (e[t] == null) return null;
|
|
1375
|
-
let a = e[t], o = e.theme, s =
|
|
1376
|
-
return
|
|
1377
|
-
let r =
|
|
1375
|
+
let a = e[t], o = e.theme, s = Dt(o, r) || {};
|
|
1376
|
+
return bt(e, a, (e) => {
|
|
1377
|
+
let r = Et(s, i, e, t);
|
|
1378
1378
|
return n === !1 ? r : { [n]: r };
|
|
1379
1379
|
});
|
|
1380
1380
|
};
|
|
1381
|
-
return a.propTypes = process.env.NODE_ENV === "production" ? {} : { [t]:
|
|
1381
|
+
return a.propTypes = process.env.NODE_ENV === "production" ? {} : { [t]: et }, a.filterProps = [t], a;
|
|
1382
1382
|
}
|
|
1383
1383
|
//#endregion
|
|
1384
1384
|
//#region node_modules/@mui/system/spacing/spacing.mjs
|
|
1385
|
-
var
|
|
1385
|
+
var kt = { internal_cache: {} }, At = {
|
|
1386
1386
|
m: "margin",
|
|
1387
1387
|
p: "padding"
|
|
1388
|
-
},
|
|
1388
|
+
}, jt = {
|
|
1389
1389
|
t: "Top",
|
|
1390
1390
|
r: "Right",
|
|
1391
1391
|
b: "Bottom",
|
|
1392
1392
|
l: "Left",
|
|
1393
1393
|
x: ["Left", "Right"],
|
|
1394
1394
|
y: ["Top", "Bottom"]
|
|
1395
|
-
},
|
|
1395
|
+
}, Mt = {
|
|
1396
1396
|
marginX: "mx",
|
|
1397
1397
|
marginY: "my",
|
|
1398
1398
|
paddingX: "px",
|
|
1399
1399
|
paddingY: "py"
|
|
1400
|
-
},
|
|
1401
|
-
for (let e in
|
|
1402
|
-
for (let e in
|
|
1403
|
-
let n =
|
|
1404
|
-
|
|
1405
|
-
}
|
|
1406
|
-
for (let e in
|
|
1407
|
-
var
|
|
1400
|
+
}, Nt = {};
|
|
1401
|
+
for (let e in At) Nt[e] = [At[e]];
|
|
1402
|
+
for (let e in At) for (let t in jt) {
|
|
1403
|
+
let n = At[e], r = jt[t], i = Array.isArray(r) ? r.map((e) => n + e) : [n + r];
|
|
1404
|
+
Nt[e + t] = i;
|
|
1405
|
+
}
|
|
1406
|
+
for (let e in Mt) Nt[e] = Nt[Mt[e]];
|
|
1407
|
+
var Pt = /* @__PURE__ */ new Set([
|
|
1408
1408
|
"m",
|
|
1409
1409
|
"mt",
|
|
1410
1410
|
"mr",
|
|
@@ -1425,7 +1425,7 @@ var Ft = /* @__PURE__ */ new Set([
|
|
|
1425
1425
|
"marginBlock",
|
|
1426
1426
|
"marginBlockStart",
|
|
1427
1427
|
"marginBlockEnd"
|
|
1428
|
-
]),
|
|
1428
|
+
]), Ft = /* @__PURE__ */ new Set([
|
|
1429
1429
|
"p",
|
|
1430
1430
|
"pt",
|
|
1431
1431
|
"pr",
|
|
@@ -1446,9 +1446,9 @@ var Ft = /* @__PURE__ */ new Set([
|
|
|
1446
1446
|
"paddingBlock",
|
|
1447
1447
|
"paddingBlockStart",
|
|
1448
1448
|
"paddingBlockEnd"
|
|
1449
|
-
]),
|
|
1450
|
-
function
|
|
1451
|
-
let i =
|
|
1449
|
+
]), It = /* @__PURE__ */ new Set([...Pt, ...Ft]);
|
|
1450
|
+
function Lt(e, t, n, r) {
|
|
1451
|
+
let i = Dt(e, t, !0) ?? n;
|
|
1452
1452
|
return typeof i == "number" || typeof i == "string" ? (e) => typeof e == "string" ? e : (process.env.NODE_ENV !== "production" && typeof e != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`), typeof i == "string" ? i.startsWith("var(") && e === 0 ? 0 : i.startsWith("var(") && e === 1 ? i : `calc(${e} * ${i})` : i * e) : Array.isArray(i) ? (e) => {
|
|
1453
1453
|
if (typeof e == "string") return e;
|
|
1454
1454
|
let n = Math.abs(e);
|
|
@@ -1461,171 +1461,171 @@ function Rt(e, t, n, r) {
|
|
|
1461
1461
|
return e >= 0 ? r : typeof r == "number" ? -r : typeof r == "string" && r.startsWith("var(") ? `calc(-1 * ${r})` : `-${r}`;
|
|
1462
1462
|
} : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join("\n")), () => void 0);
|
|
1463
1463
|
}
|
|
1464
|
-
function
|
|
1465
|
-
return
|
|
1464
|
+
function Rt(e) {
|
|
1465
|
+
return Lt(e, "spacing", 8, "spacing");
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1467
|
+
function zt(e, t) {
|
|
1468
1468
|
return typeof t == "string" || t == null ? t : e(t);
|
|
1469
1469
|
}
|
|
1470
|
-
var
|
|
1471
|
-
function
|
|
1472
|
-
let n = e.theme ??
|
|
1470
|
+
var Bt = [""];
|
|
1471
|
+
function Vt(e, t) {
|
|
1472
|
+
let n = e.theme ?? kt, r = n?.internal_cache?.unarySpacing ?? Rt(n), i = {};
|
|
1473
1473
|
for (let n in e) {
|
|
1474
1474
|
if (!t.has(n)) continue;
|
|
1475
|
-
let a =
|
|
1476
|
-
|
|
1475
|
+
let a = Nt[n] ?? (Bt[0] = n, Bt), o = e[n];
|
|
1476
|
+
xt(i, e.theme, o, (e, t) => {
|
|
1477
1477
|
let n = e ? i[e] : i;
|
|
1478
|
-
for (let e = 0; e < a.length; e += 1) n[a[e]] =
|
|
1478
|
+
for (let e = 0; e < a.length; e += 1) n[a[e]] = zt(r, t);
|
|
1479
1479
|
});
|
|
1480
1480
|
}
|
|
1481
1481
|
return i;
|
|
1482
1482
|
}
|
|
1483
|
-
function
|
|
1484
|
-
return
|
|
1483
|
+
function Ht(e) {
|
|
1484
|
+
return Vt(e, Pt);
|
|
1485
1485
|
}
|
|
1486
|
-
|
|
1487
|
-
var
|
|
1488
|
-
function
|
|
1489
|
-
return
|
|
1486
|
+
Ht.propTypes = process.env.NODE_ENV === "production" ? {} : Array.from(Pt).reduce((e, t) => (e[t] = et, e), {}), Ht.filterProps = Pt;
|
|
1487
|
+
var K = Ht;
|
|
1488
|
+
function Ut(e) {
|
|
1489
|
+
return Vt(e, Ft);
|
|
1490
1490
|
}
|
|
1491
|
-
|
|
1492
|
-
var
|
|
1493
|
-
process.env.NODE_ENV === "production" || Array.from(
|
|
1491
|
+
Ut.propTypes = process.env.NODE_ENV === "production" ? {} : Array.from(Ft).reduce((e, t) => (e[t] = et, e), {}), Ut.filterProps = Ft;
|
|
1492
|
+
var q = Ut;
|
|
1493
|
+
process.env.NODE_ENV === "production" || Array.from(It).reduce((e, t) => (e[t] = et, e), {});
|
|
1494
1494
|
//#endregion
|
|
1495
1495
|
//#region node_modules/@mui/system/compose/compose.mjs
|
|
1496
|
-
function
|
|
1496
|
+
function Wt(...e) {
|
|
1497
1497
|
let t = e.reduce((e, t) => (t.filterProps.forEach((n) => {
|
|
1498
1498
|
e[n] = t;
|
|
1499
1499
|
}), e), {}), n = (e) => {
|
|
1500
1500
|
let n = {};
|
|
1501
|
-
for (let r in e) t[r] &&
|
|
1501
|
+
for (let r in e) t[r] && Ue(n, t[r](e));
|
|
1502
1502
|
return n;
|
|
1503
1503
|
};
|
|
1504
1504
|
return n.propTypes = process.env.NODE_ENV === "production" ? {} : e.reduce((e, t) => Object.assign(e, t.propTypes), {}), n.filterProps = e.reduce((e, t) => e.concat(t.filterProps), []), n;
|
|
1505
1505
|
}
|
|
1506
1506
|
//#endregion
|
|
1507
1507
|
//#region node_modules/@mui/system/borders/borders.mjs
|
|
1508
|
-
function
|
|
1508
|
+
function Gt(e) {
|
|
1509
1509
|
return typeof e == "number" ? `${e}px solid` : e;
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1512
|
-
return
|
|
1511
|
+
function Kt(e, t) {
|
|
1512
|
+
return G({
|
|
1513
1513
|
prop: e,
|
|
1514
1514
|
themeKey: "borders",
|
|
1515
1515
|
transform: t
|
|
1516
1516
|
});
|
|
1517
1517
|
}
|
|
1518
|
-
var
|
|
1518
|
+
var qt = Kt("border", Gt), Jt = Kt("borderTop", Gt), Yt = Kt("borderRight", Gt), Xt = Kt("borderBottom", Gt), Zt = Kt("borderLeft", Gt), Qt = Kt("borderColor"), $t = Kt("borderTopColor"), en = Kt("borderRightColor"), tn = Kt("borderBottomColor"), nn = Kt("borderLeftColor"), rn = Kt("outline", Gt), an = Kt("outlineColor"), on = (e) => {
|
|
1519
1519
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1520
|
-
let t =
|
|
1521
|
-
return
|
|
1520
|
+
let t = Lt(e.theme, "shape.borderRadius", 4, "borderRadius");
|
|
1521
|
+
return bt(e, e.borderRadius, (e) => ({ borderRadius: zt(t, e) }));
|
|
1522
1522
|
}
|
|
1523
1523
|
return null;
|
|
1524
1524
|
};
|
|
1525
|
-
|
|
1525
|
+
on.propTypes = process.env.NODE_ENV === "production" ? {} : { borderRadius: et }, on.filterProps = ["borderRadius"], Wt(qt, Jt, Yt, Xt, Zt, Qt, $t, en, tn, nn, on, rn, an);
|
|
1526
1526
|
//#endregion
|
|
1527
1527
|
//#region node_modules/@mui/system/cssGrid/cssGrid.mjs
|
|
1528
|
-
var
|
|
1528
|
+
var sn = (e) => {
|
|
1529
1529
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1530
|
-
let t =
|
|
1531
|
-
return
|
|
1530
|
+
let t = Lt(e.theme, "spacing", 8, "gap");
|
|
1531
|
+
return bt(e, e.gap, (e) => ({ gap: zt(t, e) }));
|
|
1532
1532
|
}
|
|
1533
1533
|
return null;
|
|
1534
1534
|
};
|
|
1535
|
-
|
|
1536
|
-
var
|
|
1535
|
+
sn.propTypes = process.env.NODE_ENV === "production" ? {} : { gap: et }, sn.filterProps = ["gap"];
|
|
1536
|
+
var cn = (e) => {
|
|
1537
1537
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1538
|
-
let t =
|
|
1539
|
-
return
|
|
1538
|
+
let t = Lt(e.theme, "spacing", 8, "columnGap");
|
|
1539
|
+
return bt(e, e.columnGap, (e) => ({ columnGap: zt(t, e) }));
|
|
1540
1540
|
}
|
|
1541
1541
|
return null;
|
|
1542
1542
|
};
|
|
1543
|
-
|
|
1544
|
-
var
|
|
1543
|
+
cn.propTypes = process.env.NODE_ENV === "production" ? {} : { columnGap: et }, cn.filterProps = ["columnGap"];
|
|
1544
|
+
var ln = (e) => {
|
|
1545
1545
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1546
|
-
let t =
|
|
1547
|
-
return
|
|
1546
|
+
let t = Lt(e.theme, "spacing", 8, "rowGap");
|
|
1547
|
+
return bt(e, e.rowGap, (e) => ({ rowGap: zt(t, e) }));
|
|
1548
1548
|
}
|
|
1549
1549
|
return null;
|
|
1550
1550
|
};
|
|
1551
|
-
|
|
1551
|
+
ln.propTypes = process.env.NODE_ENV === "production" ? {} : { rowGap: et }, ln.filterProps = ["rowGap"], Wt(sn, cn, ln, G({ prop: "gridColumn" }), G({ prop: "gridRow" }), G({ prop: "gridAutoFlow" }), G({ prop: "gridAutoColumns" }), G({ prop: "gridAutoRows" }), G({ prop: "gridTemplateColumns" }), G({ prop: "gridTemplateRows" }), G({ prop: "gridTemplateAreas" }), G({ prop: "gridArea" }));
|
|
1552
1552
|
//#endregion
|
|
1553
1553
|
//#region node_modules/@mui/system/palette/palette.mjs
|
|
1554
|
-
function
|
|
1554
|
+
function un(e, t) {
|
|
1555
1555
|
return t === "grey" ? t : e;
|
|
1556
1556
|
}
|
|
1557
|
-
|
|
1557
|
+
Wt(G({
|
|
1558
1558
|
prop: "color",
|
|
1559
1559
|
themeKey: "palette",
|
|
1560
|
-
transform:
|
|
1561
|
-
}),
|
|
1560
|
+
transform: un
|
|
1561
|
+
}), G({
|
|
1562
1562
|
prop: "bgcolor",
|
|
1563
1563
|
cssProperty: "backgroundColor",
|
|
1564
1564
|
themeKey: "palette",
|
|
1565
|
-
transform:
|
|
1566
|
-
}),
|
|
1565
|
+
transform: un
|
|
1566
|
+
}), G({
|
|
1567
1567
|
prop: "backgroundColor",
|
|
1568
1568
|
themeKey: "palette",
|
|
1569
|
-
transform:
|
|
1569
|
+
transform: un
|
|
1570
1570
|
}));
|
|
1571
1571
|
//#endregion
|
|
1572
1572
|
//#region node_modules/@mui/system/sizing/sizing.mjs
|
|
1573
|
-
var
|
|
1574
|
-
function
|
|
1573
|
+
var dn = _t;
|
|
1574
|
+
function fn(e) {
|
|
1575
1575
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1576
1576
|
}
|
|
1577
|
-
var pn =
|
|
1577
|
+
var pn = G({
|
|
1578
1578
|
prop: "width",
|
|
1579
|
-
transform:
|
|
1580
|
-
}), mn = (e) => e.maxWidth !== void 0 && e.maxWidth !== null ?
|
|
1581
|
-
let n = e.theme?.breakpoints?.values?.[t] ||
|
|
1582
|
-
return n ? e.theme?.breakpoints?.unit === "px" ? { maxWidth: n } : { maxWidth: `${n}${e.theme.breakpoints.unit}` } : { maxWidth:
|
|
1579
|
+
transform: fn
|
|
1580
|
+
}), mn = (e) => e.maxWidth !== void 0 && e.maxWidth !== null ? bt(e, e.maxWidth, (t) => {
|
|
1581
|
+
let n = e.theme?.breakpoints?.values?.[t] || dn[t];
|
|
1582
|
+
return n ? e.theme?.breakpoints?.unit === "px" ? { maxWidth: n } : { maxWidth: `${n}${e.theme.breakpoints.unit}` } : { maxWidth: fn(t) };
|
|
1583
1583
|
}) : null;
|
|
1584
1584
|
mn.filterProps = ["maxWidth"];
|
|
1585
|
-
var hn =
|
|
1585
|
+
var hn = G({
|
|
1586
1586
|
prop: "minWidth",
|
|
1587
|
-
transform:
|
|
1588
|
-
}), gn =
|
|
1587
|
+
transform: fn
|
|
1588
|
+
}), gn = G({
|
|
1589
1589
|
prop: "height",
|
|
1590
|
-
transform:
|
|
1591
|
-
}), _n =
|
|
1590
|
+
transform: fn
|
|
1591
|
+
}), _n = G({
|
|
1592
1592
|
prop: "maxHeight",
|
|
1593
|
-
transform:
|
|
1594
|
-
}), vn =
|
|
1593
|
+
transform: fn
|
|
1594
|
+
}), vn = G({
|
|
1595
1595
|
prop: "minHeight",
|
|
1596
|
-
transform:
|
|
1596
|
+
transform: fn
|
|
1597
1597
|
});
|
|
1598
|
-
|
|
1598
|
+
G({
|
|
1599
1599
|
prop: "size",
|
|
1600
1600
|
cssProperty: "width",
|
|
1601
|
-
transform:
|
|
1602
|
-
}),
|
|
1601
|
+
transform: fn
|
|
1602
|
+
}), G({
|
|
1603
1603
|
prop: "size",
|
|
1604
1604
|
cssProperty: "height",
|
|
1605
|
-
transform:
|
|
1606
|
-
}),
|
|
1605
|
+
transform: fn
|
|
1606
|
+
}), Wt(pn, mn, hn, gn, _n, vn, G({ prop: "boxSizing" }));
|
|
1607
1607
|
//#endregion
|
|
1608
1608
|
//#region node_modules/@mui/system/styleFunctionSx/defaultSxConfig.mjs
|
|
1609
1609
|
var yn = {
|
|
1610
1610
|
border: {
|
|
1611
1611
|
themeKey: "borders",
|
|
1612
|
-
transform:
|
|
1612
|
+
transform: Gt
|
|
1613
1613
|
},
|
|
1614
1614
|
borderTop: {
|
|
1615
1615
|
themeKey: "borders",
|
|
1616
|
-
transform:
|
|
1616
|
+
transform: Gt
|
|
1617
1617
|
},
|
|
1618
1618
|
borderRight: {
|
|
1619
1619
|
themeKey: "borders",
|
|
1620
|
-
transform:
|
|
1620
|
+
transform: Gt
|
|
1621
1621
|
},
|
|
1622
1622
|
borderBottom: {
|
|
1623
1623
|
themeKey: "borders",
|
|
1624
|
-
transform:
|
|
1624
|
+
transform: Gt
|
|
1625
1625
|
},
|
|
1626
1626
|
borderLeft: {
|
|
1627
1627
|
themeKey: "borders",
|
|
1628
|
-
transform:
|
|
1628
|
+
transform: Gt
|
|
1629
1629
|
},
|
|
1630
1630
|
borderColor: { themeKey: "palette" },
|
|
1631
1631
|
borderTopColor: { themeKey: "palette" },
|
|
@@ -1634,66 +1634,66 @@ var yn = {
|
|
|
1634
1634
|
borderLeftColor: { themeKey: "palette" },
|
|
1635
1635
|
outline: {
|
|
1636
1636
|
themeKey: "borders",
|
|
1637
|
-
transform:
|
|
1637
|
+
transform: Gt
|
|
1638
1638
|
},
|
|
1639
1639
|
outlineColor: { themeKey: "palette" },
|
|
1640
1640
|
borderRadius: {
|
|
1641
1641
|
themeKey: "shape.borderRadius",
|
|
1642
|
-
style:
|
|
1642
|
+
style: on
|
|
1643
1643
|
},
|
|
1644
1644
|
color: {
|
|
1645
1645
|
themeKey: "palette",
|
|
1646
|
-
transform:
|
|
1646
|
+
transform: un
|
|
1647
1647
|
},
|
|
1648
1648
|
bgcolor: {
|
|
1649
1649
|
themeKey: "palette",
|
|
1650
1650
|
cssProperty: "backgroundColor",
|
|
1651
|
-
transform:
|
|
1651
|
+
transform: un
|
|
1652
1652
|
},
|
|
1653
1653
|
backgroundColor: {
|
|
1654
1654
|
themeKey: "palette",
|
|
1655
|
-
transform:
|
|
1655
|
+
transform: un
|
|
1656
1656
|
},
|
|
1657
|
-
p: { style:
|
|
1658
|
-
pt: { style:
|
|
1659
|
-
pr: { style:
|
|
1660
|
-
pb: { style:
|
|
1661
|
-
pl: { style:
|
|
1662
|
-
px: { style:
|
|
1663
|
-
py: { style:
|
|
1664
|
-
padding: { style:
|
|
1665
|
-
paddingTop: { style:
|
|
1666
|
-
paddingRight: { style:
|
|
1667
|
-
paddingBottom: { style:
|
|
1668
|
-
paddingLeft: { style:
|
|
1669
|
-
paddingX: { style:
|
|
1670
|
-
paddingY: { style:
|
|
1671
|
-
paddingInline: { style:
|
|
1672
|
-
paddingInlineStart: { style:
|
|
1673
|
-
paddingInlineEnd: { style:
|
|
1674
|
-
paddingBlock: { style:
|
|
1675
|
-
paddingBlockStart: { style:
|
|
1676
|
-
paddingBlockEnd: { style:
|
|
1677
|
-
m: { style:
|
|
1678
|
-
mt: { style:
|
|
1679
|
-
mr: { style:
|
|
1680
|
-
mb: { style:
|
|
1681
|
-
ml: { style:
|
|
1682
|
-
mx: { style:
|
|
1683
|
-
my: { style:
|
|
1684
|
-
margin: { style:
|
|
1685
|
-
marginTop: { style:
|
|
1686
|
-
marginRight: { style:
|
|
1687
|
-
marginBottom: { style:
|
|
1688
|
-
marginLeft: { style:
|
|
1689
|
-
marginX: { style:
|
|
1690
|
-
marginY: { style:
|
|
1691
|
-
marginInline: { style:
|
|
1692
|
-
marginInlineStart: { style:
|
|
1693
|
-
marginInlineEnd: { style:
|
|
1694
|
-
marginBlock: { style:
|
|
1695
|
-
marginBlockStart: { style:
|
|
1696
|
-
marginBlockEnd: { style:
|
|
1657
|
+
p: { style: q },
|
|
1658
|
+
pt: { style: q },
|
|
1659
|
+
pr: { style: q },
|
|
1660
|
+
pb: { style: q },
|
|
1661
|
+
pl: { style: q },
|
|
1662
|
+
px: { style: q },
|
|
1663
|
+
py: { style: q },
|
|
1664
|
+
padding: { style: q },
|
|
1665
|
+
paddingTop: { style: q },
|
|
1666
|
+
paddingRight: { style: q },
|
|
1667
|
+
paddingBottom: { style: q },
|
|
1668
|
+
paddingLeft: { style: q },
|
|
1669
|
+
paddingX: { style: q },
|
|
1670
|
+
paddingY: { style: q },
|
|
1671
|
+
paddingInline: { style: q },
|
|
1672
|
+
paddingInlineStart: { style: q },
|
|
1673
|
+
paddingInlineEnd: { style: q },
|
|
1674
|
+
paddingBlock: { style: q },
|
|
1675
|
+
paddingBlockStart: { style: q },
|
|
1676
|
+
paddingBlockEnd: { style: q },
|
|
1677
|
+
m: { style: K },
|
|
1678
|
+
mt: { style: K },
|
|
1679
|
+
mr: { style: K },
|
|
1680
|
+
mb: { style: K },
|
|
1681
|
+
ml: { style: K },
|
|
1682
|
+
mx: { style: K },
|
|
1683
|
+
my: { style: K },
|
|
1684
|
+
margin: { style: K },
|
|
1685
|
+
marginTop: { style: K },
|
|
1686
|
+
marginRight: { style: K },
|
|
1687
|
+
marginBottom: { style: K },
|
|
1688
|
+
marginLeft: { style: K },
|
|
1689
|
+
marginX: { style: K },
|
|
1690
|
+
marginY: { style: K },
|
|
1691
|
+
marginInline: { style: K },
|
|
1692
|
+
marginInlineStart: { style: K },
|
|
1693
|
+
marginInlineEnd: { style: K },
|
|
1694
|
+
marginBlock: { style: K },
|
|
1695
|
+
marginBlockStart: { style: K },
|
|
1696
|
+
marginBlockEnd: { style: K },
|
|
1697
1697
|
displayPrint: {
|
|
1698
1698
|
cssProperty: !1,
|
|
1699
1699
|
transform: (e) => ({ "@media print": { display: e } })
|
|
@@ -1716,9 +1716,9 @@ var yn = {
|
|
|
1716
1716
|
alignSelf: {},
|
|
1717
1717
|
justifyItems: {},
|
|
1718
1718
|
justifySelf: {},
|
|
1719
|
-
gap: { style:
|
|
1720
|
-
rowGap: { style:
|
|
1721
|
-
columnGap: { style:
|
|
1719
|
+
gap: { style: sn },
|
|
1720
|
+
rowGap: { style: ln },
|
|
1721
|
+
columnGap: { style: cn },
|
|
1722
1722
|
gridColumn: {},
|
|
1723
1723
|
gridRow: {},
|
|
1724
1724
|
gridAutoFlow: {},
|
|
@@ -1735,12 +1735,12 @@ var yn = {
|
|
|
1735
1735
|
bottom: {},
|
|
1736
1736
|
left: {},
|
|
1737
1737
|
boxShadow: { themeKey: "shadows" },
|
|
1738
|
-
width: { transform:
|
|
1738
|
+
width: { transform: fn },
|
|
1739
1739
|
maxWidth: { style: mn },
|
|
1740
|
-
minWidth: { transform:
|
|
1741
|
-
height: { transform:
|
|
1742
|
-
maxHeight: { transform:
|
|
1743
|
-
minHeight: { transform:
|
|
1740
|
+
minWidth: { transform: fn },
|
|
1741
|
+
height: { transform: fn },
|
|
1742
|
+
maxHeight: { transform: fn },
|
|
1743
|
+
minHeight: { transform: fn },
|
|
1744
1744
|
boxSizing: {},
|
|
1745
1745
|
font: { themeKey: "font" },
|
|
1746
1746
|
fontFamily: { themeKey: "typography" },
|
|
@@ -1769,7 +1769,7 @@ function xn() {
|
|
|
1769
1769
|
if (typeof n == "function") s = n(r);
|
|
1770
1770
|
else if (typeof n != "object") return n;
|
|
1771
1771
|
if (!s) return null;
|
|
1772
|
-
let c = r.breakpoints ??
|
|
1772
|
+
let c = r.breakpoints ?? vt, l = Ct(c);
|
|
1773
1773
|
for (let n in s) {
|
|
1774
1774
|
let i = wn(s[n], r);
|
|
1775
1775
|
if (i != null) {
|
|
@@ -1781,12 +1781,12 @@ function xn() {
|
|
|
1781
1781
|
Cn(l, n, i, r, a);
|
|
1782
1782
|
continue;
|
|
1783
1783
|
}
|
|
1784
|
-
|
|
1784
|
+
Tt(c, i) ? xt(l, t.theme, i, (e, t) => {
|
|
1785
1785
|
l[e][n] = t;
|
|
1786
1786
|
}) : (o.sx = i, l[n] = e(o));
|
|
1787
1787
|
}
|
|
1788
1788
|
}
|
|
1789
|
-
return !i && r.modularCssLayers ? { "@layer sx":
|
|
1789
|
+
return !i && r.modularCssLayers ? { "@layer sx": lt(r, wt(c, l)) } : lt(r, wt(c, l));
|
|
1790
1790
|
}
|
|
1791
1791
|
return Array.isArray(n) ? n.map(s) : s(n);
|
|
1792
1792
|
}
|
|
@@ -1807,16 +1807,16 @@ function Cn(e, t, n, r, i) {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
let { style: s } = a;
|
|
1809
1809
|
if (s) {
|
|
1810
|
-
|
|
1810
|
+
Ue(e, s({
|
|
1811
1811
|
[t]: n,
|
|
1812
1812
|
theme: r
|
|
1813
1813
|
}));
|
|
1814
1814
|
return;
|
|
1815
1815
|
}
|
|
1816
|
-
let { cssProperty: c = t, transform: l } = a, u =
|
|
1817
|
-
|
|
1818
|
-
let i =
|
|
1819
|
-
c === !1 ?
|
|
1816
|
+
let { cssProperty: c = t, transform: l } = a, u = Dt(r, o);
|
|
1817
|
+
xt(e, r, n, (n, r) => {
|
|
1818
|
+
let i = Et(u, l, r, t);
|
|
1819
|
+
c === !1 ? Ue(n ? e[n] : e, i) : n ? e[n][c] = i : e[c] = i;
|
|
1820
1820
|
});
|
|
1821
1821
|
}
|
|
1822
1822
|
function wn(e, t) {
|
|
@@ -2006,7 +2006,7 @@ function Hn(e) {
|
|
|
2006
2006
|
var Un = { borderRadius: 4 };
|
|
2007
2007
|
//#endregion
|
|
2008
2008
|
//#region node_modules/@mui/system/createTheme/createSpacing.mjs
|
|
2009
|
-
function Wn(e = 8, t =
|
|
2009
|
+
function Wn(e = 8, t = Rt({ spacing: e })) {
|
|
2010
2010
|
if (e.mui) return e;
|
|
2011
2011
|
let n = (...e) => (process.env.NODE_ENV !== "production" && (e.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)), (e.length === 0 ? [1] : e).map((e) => {
|
|
2012
2012
|
let n = t(e);
|
|
@@ -2028,7 +2028,7 @@ function Gn(e, t) {
|
|
|
2028
2028
|
//#endregion
|
|
2029
2029
|
//#region node_modules/@mui/system/createTheme/createTheme.mjs
|
|
2030
2030
|
function Kn(e = {}, ...t) {
|
|
2031
|
-
let { breakpoints: n = {}, palette: r = {}, spacing: i, shape: a = {}, ...o } = e, s =
|
|
2031
|
+
let { breakpoints: n = {}, palette: r = {}, spacing: i, shape: a = {}, ...o } = e, s = ht(n), c = Wn(i), l = st({
|
|
2032
2032
|
breakpoints: s,
|
|
2033
2033
|
direction: "ltr",
|
|
2034
2034
|
components: {},
|
|
@@ -2042,7 +2042,7 @@ function Kn(e = {}, ...t) {
|
|
|
2042
2042
|
...a
|
|
2043
2043
|
}
|
|
2044
2044
|
}, o);
|
|
2045
|
-
return l =
|
|
2045
|
+
return l = pt(l), l.applyStyles = Gn, l = t.reduce((e, t) => st(e, t), l), l.unstable_sxConfig = {
|
|
2046
2046
|
...yn,
|
|
2047
2047
|
...o?.unstable_sxConfig
|
|
2048
2048
|
}, l.unstable_sx = function(e) {
|
|
@@ -2122,8 +2122,8 @@ function ir(e) {
|
|
|
2122
2122
|
if (typeof e == "string") return e;
|
|
2123
2123
|
if (typeof e == "function") return nr(e, "Component");
|
|
2124
2124
|
if (typeof e == "object") switch (e.$$typeof) {
|
|
2125
|
-
case
|
|
2126
|
-
case
|
|
2125
|
+
case it.ForwardRef: return rr(e, e.render, "ForwardRef");
|
|
2126
|
+
case it.Memo: return rr(e, e.type, "memo");
|
|
2127
2127
|
default: return;
|
|
2128
2128
|
}
|
|
2129
2129
|
}
|
|
@@ -2153,7 +2153,7 @@ function lr(e) {
|
|
|
2153
2153
|
return e ? (t, n) => n[e] : null;
|
|
2154
2154
|
}
|
|
2155
2155
|
function ur(e, t, n) {
|
|
2156
|
-
e.theme =
|
|
2156
|
+
e.theme = tt(e.theme) ? n : e.theme[t] || e.theme;
|
|
2157
2157
|
}
|
|
2158
2158
|
function dr(e, t, n) {
|
|
2159
2159
|
let r = typeof t == "function" ? t(e) : t;
|
|
@@ -2206,7 +2206,7 @@ function pr(e = {}) {
|
|
|
2206
2206
|
if (typeof e == "function") return function(t) {
|
|
2207
2207
|
return dr(t, e, t.theme.modularCssLayers ? d : void 0);
|
|
2208
2208
|
};
|
|
2209
|
-
if (
|
|
2209
|
+
if (at(e)) {
|
|
2210
2210
|
let t = ar(e);
|
|
2211
2211
|
return function(e) {
|
|
2212
2212
|
return t.variants ? dr(e, t, e.theme.modularCssLayers ? d : void 0) : e.theme.modularCssLayers ? cr(t.style, d) : t.style;
|
|
@@ -2247,7 +2247,7 @@ function pr(e = {}) {
|
|
|
2247
2247
|
};
|
|
2248
2248
|
}
|
|
2249
2249
|
function mr(e, t, n) {
|
|
2250
|
-
return e ? `${e}${
|
|
2250
|
+
return e ? `${e}${$e(t || "")}` : `Styled(${ir(n)})`;
|
|
2251
2251
|
}
|
|
2252
2252
|
function hr(e, t) {
|
|
2253
2253
|
let n;
|
|
@@ -2280,7 +2280,7 @@ function vr(e, t, n = !1) {
|
|
|
2280
2280
|
typeof s == "function" || typeof c == "function" ? r[a][t] = (...e) => vr((typeof s == "function" ? s(...e) : s) ?? {}, (typeof c == "function" ? c(...e) : c) ?? {}, n) : r[a][t] = vr(s ?? {}, c ?? {}, n);
|
|
2281
2281
|
}
|
|
2282
2282
|
}
|
|
2283
|
-
} else a === "className" && n && t.className !== void 0 ? r.className =
|
|
2283
|
+
} else a === "className" && n && t.className !== void 0 ? r.className = H(e?.className, t?.className) : a === "style" && n && t.style ? r.style = {
|
|
2284
2284
|
...e?.style,
|
|
2285
2285
|
...t?.style
|
|
2286
2286
|
} : r[a] === void 0 && (r[a] = e[a]);
|
|
@@ -2312,7 +2312,7 @@ function Sr(e) {
|
|
|
2312
2312
|
"hsl",
|
|
2313
2313
|
"hsla",
|
|
2314
2314
|
"color"
|
|
2315
|
-
].includes(n)) throw Error(process.env.NODE_ENV === "production" ?
|
|
2315
|
+
].includes(n)) throw Error(process.env.NODE_ENV === "production" ? Qe(9, e) : `MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`);
|
|
2316
2316
|
let r = e.substring(t + 1, e.length - 1), i;
|
|
2317
2317
|
if (n === "color") {
|
|
2318
2318
|
if (r = r.split(" "), i = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), ![
|
|
@@ -2321,7 +2321,7 @@ function Sr(e) {
|
|
|
2321
2321
|
"a98-rgb",
|
|
2322
2322
|
"prophoto-rgb",
|
|
2323
2323
|
"rec-2020"
|
|
2324
|
-
].includes(i)) throw Error(process.env.NODE_ENV === "production" ?
|
|
2324
|
+
].includes(i)) throw Error(process.env.NODE_ENV === "production" ? Qe(10, i) : `MUI: unsupported \`${i}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`);
|
|
2325
2325
|
} else r = r.split(",");
|
|
2326
2326
|
return r = r.map((e) => parseFloat(e)), {
|
|
2327
2327
|
type: n,
|
|
@@ -2412,7 +2412,7 @@ function Pr(e, t, n) {
|
|
|
2412
2412
|
//#endregion
|
|
2413
2413
|
//#region node_modules/@mui/system/DefaultPropsProvider/DefaultPropsProvider.mjs
|
|
2414
2414
|
var Fr = /*#__PURE__*/ e.createContext(void 0);
|
|
2415
|
-
process.env.NODE_ENV !== "production" && (
|
|
2415
|
+
process.env.NODE_ENV !== "production" && (U.default.node, U.default.object);
|
|
2416
2416
|
function Ir(e) {
|
|
2417
2417
|
let { theme: t, name: n, props: r } = e;
|
|
2418
2418
|
if (!t || !t.components || !t.components[n]) return r;
|
|
@@ -2508,13 +2508,13 @@ function Xr(e, t = {}) {
|
|
|
2508
2508
|
let { getSelector: n = _, disableCssColorScheme: r, colorSchemeSelector: i, enableContrastVars: a } = t, { colorSchemes: o = {}, components: s, defaultColorScheme: c = "light", ...l } = e, { vars: u, css: d, varsWithDefaults: f } = Yr(l, t), p = f, m = {}, { [c]: h, ...g } = o;
|
|
2509
2509
|
if (Object.entries(g || {}).forEach(([e, n]) => {
|
|
2510
2510
|
let { vars: r, css: i, varsWithDefaults: a } = Yr(n, t);
|
|
2511
|
-
p =
|
|
2511
|
+
p = st(p, a), m[e] = {
|
|
2512
2512
|
css: i,
|
|
2513
2513
|
vars: r
|
|
2514
2514
|
};
|
|
2515
2515
|
}), h) {
|
|
2516
2516
|
let { css: e, vars: n, varsWithDefaults: r } = Yr(h, t);
|
|
2517
|
-
p =
|
|
2517
|
+
p = st(p, r), m[c] = {
|
|
2518
2518
|
css: e,
|
|
2519
2519
|
vars: n
|
|
2520
2520
|
};
|
|
@@ -2532,7 +2532,7 @@ function Xr(e, t = {}) {
|
|
|
2532
2532
|
generateThemeVars: () => {
|
|
2533
2533
|
let e = { ...u };
|
|
2534
2534
|
return Object.entries(m).forEach(([, { vars: t }]) => {
|
|
2535
|
-
e =
|
|
2535
|
+
e = st(e, t);
|
|
2536
2536
|
}), e;
|
|
2537
2537
|
},
|
|
2538
2538
|
generateStyleSheets: () => {
|
|
@@ -2833,8 +2833,8 @@ function yi(e) {
|
|
|
2833
2833
|
return t;
|
|
2834
2834
|
}
|
|
2835
2835
|
let p = ({ color: e, name: t, mainShade: n = 500, lightShade: a = 300, darkShade: o = 700 }) => {
|
|
2836
|
-
if (e = { ...e }, !e.main && e[n] && (e.main = e[n]), !e.hasOwnProperty("main")) throw Error(process.env.NODE_ENV === "production" ?
|
|
2837
|
-
if (typeof e.main != "string") throw Error(process.env.NODE_ENV === "production" ?
|
|
2836
|
+
if (e = { ...e }, !e.main && e[n] && (e.main = e[n]), !e.hasOwnProperty("main")) throw Error(process.env.NODE_ENV === "production" ? Qe(11, t ? ` (${t})` : "", n) : `MUI: The color${t ? ` (${t})` : ""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`);
|
|
2837
|
+
if (typeof e.main != "string") throw Error(process.env.NODE_ENV === "production" ? Qe(12, t ? ` (${t})` : "", JSON.stringify(e.main)) : `MUI: The color${t ? ` (${t})` : ""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n
|
|
2838
2838
|
Did you intend to use one of the following approaches?
|
|
2839
2839
|
|
|
2840
2840
|
import { green } from "@mui/material/colors";
|
|
@@ -2848,7 +2848,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2848
2848
|
} });`);
|
|
2849
2849
|
return i ? (di(i, e, "light", a, r), di(i, e, "dark", o, r)) : (ui(e, "light", a, r), ui(e, "dark", o, r)), e.contrastText || (e.contrastText = f(e.main)), e;
|
|
2850
2850
|
}, m;
|
|
2851
|
-
return t === "light" ? m = oi() : t === "dark" && (m = ci()), process.env.NODE_ENV !== "production" && (m || console.error(`MUI: The palette mode \`${t}\` is not supported.`)),
|
|
2851
|
+
return t === "light" ? m = oi() : t === "dark" && (m = ci()), process.env.NODE_ENV !== "production" && (m || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), st({
|
|
2852
2852
|
common: { ...Qr },
|
|
2853
2853
|
mode: t,
|
|
2854
2854
|
primary: p({
|
|
@@ -2893,7 +2893,7 @@ var bi = "--_focusVisible-offset", xi = "--_focusVisible-behavior", Si = "--_foc
|
|
|
2893
2893
|
[xi]: "initial"
|
|
2894
2894
|
};
|
|
2895
2895
|
function Ei(e, t) {
|
|
2896
|
-
return t.reduce((e, t) => t && "focusVisible" in t ?
|
|
2896
|
+
return t.reduce((e, t) => t && "focusVisible" in t ? st(e, { focusVisible: t.focusVisible }) : e, { focusVisible: e }).focusVisible;
|
|
2897
2897
|
}
|
|
2898
2898
|
function Di(e) {
|
|
2899
2899
|
return typeof e == "object" && !!e && typeof e.outlineOffset == "string" && e.outlineOffset.includes(bi);
|
|
@@ -2960,7 +2960,7 @@ function Fi(e, t) {
|
|
|
2960
2960
|
...a,
|
|
2961
2961
|
...l
|
|
2962
2962
|
});
|
|
2963
|
-
return
|
|
2963
|
+
return st({
|
|
2964
2964
|
htmlFontSize: c,
|
|
2965
2965
|
pxToRem: p,
|
|
2966
2966
|
fontFamily: n,
|
|
@@ -3098,7 +3098,7 @@ var Yi = {
|
|
|
3098
3098
|
//#endregion
|
|
3099
3099
|
//#region node_modules/@mui/material/styles/stringifyTheme.mjs
|
|
3100
3100
|
function Xi(e) {
|
|
3101
|
-
return
|
|
3101
|
+
return at(e) || e === void 0 || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
3102
3102
|
}
|
|
3103
3103
|
function Zi(e = {}) {
|
|
3104
3104
|
let t = { ...e };
|
|
@@ -3106,7 +3106,7 @@ function Zi(e = {}) {
|
|
|
3106
3106
|
let t = Object.entries(e);
|
|
3107
3107
|
for (let r = 0; r < t.length; r++) {
|
|
3108
3108
|
let [i, a] = t[r];
|
|
3109
|
-
!Xi(a) || i.startsWith("unstable_") || i.startsWith("internal_") ? delete e[i] :
|
|
3109
|
+
!Xi(a) || i.startsWith("unstable_") || i.startsWith("internal_") ? delete e[i] : at(a) && (e[i] = { ...a }, n(e[i]));
|
|
3110
3110
|
}
|
|
3111
3111
|
}
|
|
3112
3112
|
return n(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
@@ -3150,11 +3150,11 @@ function ea(e) {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
function ta(e = {}, ...t) {
|
|
3152
3152
|
let { breakpoints: n, mixins: r = {}, spacing: i, palette: a = {}, motion: o = {}, transitions: s = {}, typography: c = {}, shape: l, colorSpace: u, ...d } = e;
|
|
3153
|
-
if (e.vars && e.generateThemeVars === void 0) throw Error(process.env.NODE_ENV === "production" ?
|
|
3153
|
+
if (e.vars && e.generateThemeVars === void 0) throw Error(process.env.NODE_ENV === "production" ? Qe(22) : "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.");
|
|
3154
3154
|
let f = yi({
|
|
3155
3155
|
...a,
|
|
3156
3156
|
colorSpace: u
|
|
3157
|
-
}), p = Kn(e), m =
|
|
3157
|
+
}), p = Kn(e), m = st(p, {
|
|
3158
3158
|
mixins: ji(p.breakpoints, r),
|
|
3159
3159
|
palette: f,
|
|
3160
3160
|
shadows: zi.slice(),
|
|
@@ -3163,7 +3163,7 @@ function ta(e = {}, ...t) {
|
|
|
3163
3163
|
transitions: Ki(s),
|
|
3164
3164
|
zIndex: { ...Yi }
|
|
3165
3165
|
});
|
|
3166
|
-
if (m =
|
|
3166
|
+
if (m = st(m, d), m = t.reduce((e, t) => st(e, t), m), delete m.transitions.reducedMotion, m.focusVisible != null && m.focusVisible !== !1 && (m.focusVisible = Oi(m.focusVisible, m.palette.primary.main)), process.env.NODE_ENV !== "production") {
|
|
3167
3167
|
let e = [
|
|
3168
3168
|
"active",
|
|
3169
3169
|
"checked",
|
|
@@ -3347,7 +3347,7 @@ function ga(e, t, n, r, i) {
|
|
|
3347
3347
|
}
|
|
3348
3348
|
function _a(e = {}, ...t) {
|
|
3349
3349
|
let { colorSchemes: n = { light: !0 }, defaultColorScheme: r, disableCssColorScheme: i = !1, cssVarPrefix: a = "mui", nativeColor: o = !1, shouldSkipGeneratingVar: s = sa, colorSchemeSelector: c = n.light && n.dark ? "media" : void 0, rootSelector: l = ":root", ...u } = e, d = Object.keys(n)[0], f = r || (n.light && d !== "light" ? "light" : d), p = ha(a), { [f]: m, light: h, dark: g, ..._ } = n, v = { ..._ }, y = m;
|
|
3350
|
-
if ((f === "dark" && !("dark" in n) || f === "light" && !("light" in n)) && (y = !0), !y) throw Error(process.env.NODE_ENV === "production" ?
|
|
3350
|
+
if ((f === "dark" && !("dark" in n) || f === "light" && !("light" in n)) && (y = !0), !y) throw Error(process.env.NODE_ENV === "production" ? Qe(21, f) : `MUI: The \`colorSchemes.${f}\` option is either missing or invalid.`);
|
|
3351
3351
|
let b;
|
|
3352
3352
|
o && (b = "oklch");
|
|
3353
3353
|
let x = ga(b, v, y, u, f);
|
|
@@ -3410,7 +3410,7 @@ function _a(e = {}, ...t) {
|
|
|
3410
3410
|
let n = t[e];
|
|
3411
3411
|
e !== "tonalOffset" && !o && n && typeof n == "object" && (n.main && Z(t[e], "mainChannel", wr(da(n.main))), n.light && Z(t[e], "lightChannel", wr(da(n.light))), n.dark && Z(t[e], "darkChannel", wr(da(n.dark))), n.contrastText && Z(t[e], "contrastTextChannel", wr(da(n.contrastText))), e === "text" && (fa(t[e], "primary"), fa(t[e], "secondary")), e === "action" && (n.active && fa(t[e], "active"), n.selected && fa(t[e], "selected")));
|
|
3412
3412
|
});
|
|
3413
|
-
}), S = t.reduce((e, t) =>
|
|
3413
|
+
}), S = t.reduce((e, t) => st(e, t), S);
|
|
3414
3414
|
let C = Ei(e.focusVisible, t);
|
|
3415
3415
|
C != null && C !== !1 && (S.focusVisible = Oi(C, p("palette-primary-main")));
|
|
3416
3416
|
let w = {
|
|
@@ -3423,7 +3423,7 @@ function _a(e = {}, ...t) {
|
|
|
3423
3423
|
return S.vars = T, Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e, t]) => {
|
|
3424
3424
|
S[e] = t;
|
|
3425
3425
|
}), S.generateThemeVars = E, S.generateStyleSheets = D, S.generateSpacing = function() {
|
|
3426
|
-
return Wn(u.spacing,
|
|
3426
|
+
return Wn(u.spacing, Rt(this));
|
|
3427
3427
|
}, S.getColorSchemeSelector = Zr(c), S.spacing = S.generateSpacing(), S.shouldSkipGeneratingVar = s, S.unstable_sxConfig = {
|
|
3428
3428
|
...yn,
|
|
3429
3429
|
...u?.unstable_sxConfig
|
|
@@ -3508,7 +3508,7 @@ var wa = (e) => Ca(e) && e !== "classes", Q = pr({
|
|
|
3508
3508
|
defaultTheme: ba,
|
|
3509
3509
|
rootShouldForwardProp: wa
|
|
3510
3510
|
}), Ta = Ur;
|
|
3511
|
-
process.env.NODE_ENV !== "production" && (
|
|
3511
|
+
process.env.NODE_ENV !== "production" && (U.default.node, U.default.object.isRequired);
|
|
3512
3512
|
function Ea(e) {
|
|
3513
3513
|
return Lr(e);
|
|
3514
3514
|
}
|
|
@@ -3561,7 +3561,7 @@ function Ma(e) {
|
|
|
3561
3561
|
function Na(e) {
|
|
3562
3562
|
let { getSlotProps: t, additionalProps: n, externalSlotProps: r, externalForwardedProps: i, className: a } = e;
|
|
3563
3563
|
if (!t) {
|
|
3564
|
-
let e =
|
|
3564
|
+
let e = H(n?.className, a, i?.className, r?.className), t = {
|
|
3565
3565
|
...n?.style,
|
|
3566
3566
|
...i?.style,
|
|
3567
3567
|
...r?.style
|
|
@@ -3578,7 +3578,7 @@ function Na(e) {
|
|
|
3578
3578
|
let o = ja({
|
|
3579
3579
|
...i,
|
|
3580
3580
|
...r
|
|
3581
|
-
}), s = Ma(r), c = Ma(i), l = t(o), u =
|
|
3581
|
+
}), s = Ma(r), c = Ma(i), l = t(o), u = H(l?.className, n?.className, a, i?.className, r?.className), d = {
|
|
3582
3582
|
...l?.style,
|
|
3583
3583
|
...n?.style,
|
|
3584
3584
|
...i?.style,
|
|
@@ -3602,7 +3602,7 @@ function Pa(e, t) {
|
|
|
3602
3602
|
...c,
|
|
3603
3603
|
externalForwardedProps: e === "root" ? f : void 0,
|
|
3604
3604
|
externalSlotProps: m
|
|
3605
|
-
}), v =
|
|
3605
|
+
}), v = Ce(_, m?.ref, t.ref), y = e === "root" ? h || l : h;
|
|
3606
3606
|
return [p, Oa(p, {
|
|
3607
3607
|
...e === "root" && !l && !u[e] && o,
|
|
3608
3608
|
...e !== "root" && !u[e] && o,
|
|
@@ -3623,7 +3623,7 @@ function Ia(t, n) {
|
|
|
3623
3623
|
//#region node_modules/@mui/utils/useValueAsRef/useValueAsRef.mjs
|
|
3624
3624
|
function La(e) {
|
|
3625
3625
|
let t = Ia(() => Ra(e)).current;
|
|
3626
|
-
return t.next = e,
|
|
3626
|
+
return t.next = e, W(t.effect), t;
|
|
3627
3627
|
}
|
|
3628
3628
|
function Ra(e) {
|
|
3629
3629
|
let t = {
|
|
@@ -3794,9 +3794,9 @@ function $a(t) {
|
|
|
3794
3794
|
L,
|
|
3795
3795
|
N
|
|
3796
3796
|
]);
|
|
3797
|
-
return
|
|
3797
|
+
return W(() => (O.current = !0, D.current && (D.current = !1, te(!0, "entering")), () => {
|
|
3798
3798
|
O.current = !1, P();
|
|
3799
|
-
}), [P, te]),
|
|
3799
|
+
}), [P, te]), W(() => {
|
|
3800
3800
|
if (!O.current) return;
|
|
3801
3801
|
let e = E.current;
|
|
3802
3802
|
n ? e !== "entering" && e !== "entered" && te(!1, "entering") : e === "entering" || e === "entered" ? te(!1, "exiting") : e === "exited" && s && (E.current = "unmounted", T("unmounted"));
|
|
@@ -3805,7 +3805,7 @@ function $a(t) {
|
|
|
3805
3805
|
w,
|
|
3806
3806
|
s,
|
|
3807
3807
|
te
|
|
3808
|
-
]),
|
|
3808
|
+
]), W(() => {
|
|
3809
3809
|
if (w === "unmounted" || A.current === "unmounted") {
|
|
3810
3810
|
A.current = w;
|
|
3811
3811
|
return;
|
|
@@ -3824,28 +3824,28 @@ function $a(t) {
|
|
|
3824
3824
|
});
|
|
3825
3825
|
}
|
|
3826
3826
|
process.env.NODE_ENV !== "production" && ($a.propTypes = {
|
|
3827
|
-
addEndListener:
|
|
3828
|
-
appear:
|
|
3829
|
-
children:
|
|
3830
|
-
enter:
|
|
3831
|
-
exit:
|
|
3832
|
-
getAutoTimeout:
|
|
3833
|
-
in:
|
|
3834
|
-
mountOnEnter:
|
|
3835
|
-
nodeRef:
|
|
3836
|
-
onEnter:
|
|
3837
|
-
onEntered:
|
|
3838
|
-
onEntering:
|
|
3839
|
-
onExit:
|
|
3840
|
-
onExited:
|
|
3841
|
-
onExiting:
|
|
3842
|
-
reduceMotion:
|
|
3843
|
-
timeout:
|
|
3844
|
-
appear:
|
|
3845
|
-
enter:
|
|
3846
|
-
exit:
|
|
3827
|
+
addEndListener: U.default.func,
|
|
3828
|
+
appear: U.default.bool,
|
|
3829
|
+
children: U.default.func.isRequired,
|
|
3830
|
+
enter: U.default.bool,
|
|
3831
|
+
exit: U.default.bool,
|
|
3832
|
+
getAutoTimeout: U.default.func,
|
|
3833
|
+
in: U.default.bool,
|
|
3834
|
+
mountOnEnter: U.default.bool,
|
|
3835
|
+
nodeRef: U.default.shape({ current: (e, t) => e[t] == null ? null : typeof e[t] != "object" || e[t].nodeType !== 1 ? /* @__PURE__ */ Error(`Expected prop '${t}' to be of type Element`) : null }).isRequired,
|
|
3836
|
+
onEnter: U.default.func,
|
|
3837
|
+
onEntered: U.default.func,
|
|
3838
|
+
onEntering: U.default.func,
|
|
3839
|
+
onExit: U.default.func,
|
|
3840
|
+
onExited: U.default.func,
|
|
3841
|
+
onExiting: U.default.func,
|
|
3842
|
+
reduceMotion: U.default.bool,
|
|
3843
|
+
timeout: U.default.oneOfType([U.default.number, U.default.shape({
|
|
3844
|
+
appear: U.default.number,
|
|
3845
|
+
enter: U.default.number,
|
|
3846
|
+
exit: U.default.number
|
|
3847
3847
|
})]),
|
|
3848
|
-
unmountOnExit:
|
|
3848
|
+
unmountOnExit: U.default.bool
|
|
3849
3849
|
});
|
|
3850
3850
|
//#endregion
|
|
3851
3851
|
//#region node_modules/@mui/material/transitions/useReducedMotion.mjs
|
|
@@ -3855,7 +3855,7 @@ function so(t) {
|
|
|
3855
3855
|
enabled: t,
|
|
3856
3856
|
matches: t ? null : !1
|
|
3857
3857
|
})), i = n.matches;
|
|
3858
|
-
return n.enabled !== t && (i = null, t || (i = !1)),
|
|
3858
|
+
return n.enabled !== t && (i = null, t || (i = !1)), W(() => {
|
|
3859
3859
|
let e = (e) => {
|
|
3860
3860
|
r((n) => n.enabled === t && n.matches === e ? n : {
|
|
3861
3861
|
enabled: t,
|
|
@@ -3904,7 +3904,7 @@ function fo(t, n) {
|
|
|
3904
3904
|
}
|
|
3905
3905
|
//#endregion
|
|
3906
3906
|
//#region node_modules/@mui/material/utils/useForkRef.mjs
|
|
3907
|
-
var po =
|
|
3907
|
+
var po = Ce, mo = {
|
|
3908
3908
|
entering: { opacity: 1 },
|
|
3909
3909
|
entered: { opacity: 1 },
|
|
3910
3910
|
exiting: { opacity: 0 },
|
|
@@ -3916,7 +3916,7 @@ var po = we, mo = {
|
|
|
3916
3916
|
let r = Sa(), i = {
|
|
3917
3917
|
enter: r.transitions.duration.enteringScreen,
|
|
3918
3918
|
exit: r.transitions.duration.leavingScreen
|
|
3919
|
-
}, { addEndListener: a, appear: o = !0, children: s, disablePrefersReducedMotion: l = !1, easing: u, in: d, onEnter: f, onEntered: p, onEntering: m, onExit: h, onExited: g, onExiting: _, style: v, timeout: y = i, ...b } = t, x = fo(r.motion.reducedMotion, l), S = e.useRef(null), C = po(S,
|
|
3919
|
+
}, { addEndListener: a, appear: o = !0, children: s, disablePrefersReducedMotion: l = !1, easing: u, in: d, onEnter: f, onEntered: p, onEntering: m, onExit: h, onExited: g, onExiting: _, style: v, timeout: y = i, ...b } = t, x = fo(r.motion.reducedMotion, l), S = e.useRef(null), C = po(S, we(s), n), w = Ka(S, m), T = Ka(S, (e, t) => {
|
|
3920
3920
|
x.shouldReduceMotion || Ha(e);
|
|
3921
3921
|
let n = Ja({
|
|
3922
3922
|
style: v,
|
|
@@ -3975,26 +3975,26 @@ var po = we, mo = {
|
|
|
3975
3975
|
});
|
|
3976
3976
|
});
|
|
3977
3977
|
process.env.NODE_ENV !== "production" && (go.propTypes = {
|
|
3978
|
-
addEndListener:
|
|
3979
|
-
appear:
|
|
3980
|
-
children:
|
|
3981
|
-
disablePrefersReducedMotion:
|
|
3982
|
-
easing:
|
|
3983
|
-
enter:
|
|
3984
|
-
exit:
|
|
3985
|
-
}),
|
|
3986
|
-
in:
|
|
3987
|
-
onEnter:
|
|
3988
|
-
onEntered:
|
|
3989
|
-
onEntering:
|
|
3990
|
-
onExit:
|
|
3991
|
-
onExited:
|
|
3992
|
-
onExiting:
|
|
3993
|
-
style:
|
|
3994
|
-
timeout:
|
|
3995
|
-
appear:
|
|
3996
|
-
enter:
|
|
3997
|
-
exit:
|
|
3978
|
+
addEndListener: U.default.func,
|
|
3979
|
+
appear: U.default.bool,
|
|
3980
|
+
children: xe.isRequired,
|
|
3981
|
+
disablePrefersReducedMotion: U.default.bool,
|
|
3982
|
+
easing: U.default.oneOfType([U.default.shape({
|
|
3983
|
+
enter: U.default.string,
|
|
3984
|
+
exit: U.default.string
|
|
3985
|
+
}), U.default.string]),
|
|
3986
|
+
in: U.default.bool,
|
|
3987
|
+
onEnter: U.default.func,
|
|
3988
|
+
onEntered: U.default.func,
|
|
3989
|
+
onEntering: U.default.func,
|
|
3990
|
+
onExit: U.default.func,
|
|
3991
|
+
onExited: U.default.func,
|
|
3992
|
+
onExiting: U.default.func,
|
|
3993
|
+
style: U.default.object,
|
|
3994
|
+
timeout: U.default.oneOfType([U.default.number, U.default.shape({
|
|
3995
|
+
appear: U.default.number,
|
|
3996
|
+
enter: U.default.number,
|
|
3997
|
+
exit: U.default.number
|
|
3998
3998
|
})])
|
|
3999
3999
|
});
|
|
4000
4000
|
//#endregion
|
|
@@ -4007,7 +4007,7 @@ tr("MuiBackdrop", ["root", "invisible"]);
|
|
|
4007
4007
|
//#region node_modules/@mui/material/Backdrop/Backdrop.mjs
|
|
4008
4008
|
var vo = (e) => {
|
|
4009
4009
|
let { classes: t, invisible: n } = e;
|
|
4010
|
-
return
|
|
4010
|
+
return Se({ root: ["root", n && "invisible"] }, _o, t);
|
|
4011
4011
|
}, yo = Q("div", {
|
|
4012
4012
|
name: "MuiBackdrop",
|
|
4013
4013
|
slot: "Root",
|
|
@@ -4045,7 +4045,7 @@ var vo = (e) => {
|
|
|
4045
4045
|
}, [g, _] = Pa("root", {
|
|
4046
4046
|
elementType: yo,
|
|
4047
4047
|
externalForwardedProps: h,
|
|
4048
|
-
className:
|
|
4048
|
+
className: H(m.root, i),
|
|
4049
4049
|
ownerState: p
|
|
4050
4050
|
}), [v, y] = Pa("transition", {
|
|
4051
4051
|
elementType: go,
|
|
@@ -4065,40 +4065,40 @@ var vo = (e) => {
|
|
|
4065
4065
|
});
|
|
4066
4066
|
});
|
|
4067
4067
|
process.env.NODE_ENV !== "production" && (bo.propTypes = {
|
|
4068
|
-
children:
|
|
4069
|
-
classes:
|
|
4070
|
-
className:
|
|
4071
|
-
component:
|
|
4072
|
-
invisible:
|
|
4073
|
-
open:
|
|
4074
|
-
slotProps:
|
|
4075
|
-
root:
|
|
4076
|
-
transition:
|
|
4068
|
+
children: U.default.node,
|
|
4069
|
+
classes: U.default.object,
|
|
4070
|
+
className: U.default.string,
|
|
4071
|
+
component: U.default.elementType,
|
|
4072
|
+
invisible: U.default.bool,
|
|
4073
|
+
open: U.default.bool.isRequired,
|
|
4074
|
+
slotProps: U.default.shape({
|
|
4075
|
+
root: U.default.oneOfType([U.default.func, U.default.object]),
|
|
4076
|
+
transition: U.default.oneOfType([U.default.func, U.default.object])
|
|
4077
4077
|
}),
|
|
4078
|
-
slots:
|
|
4079
|
-
root:
|
|
4080
|
-
transition:
|
|
4078
|
+
slots: U.default.shape({
|
|
4079
|
+
root: U.default.elementType,
|
|
4080
|
+
transition: U.default.elementType
|
|
4081
4081
|
}),
|
|
4082
|
-
sx:
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4082
|
+
sx: U.default.oneOfType([
|
|
4083
|
+
U.default.arrayOf(U.default.oneOfType([
|
|
4084
|
+
U.default.func,
|
|
4085
|
+
U.default.object,
|
|
4086
|
+
U.default.bool
|
|
4087
4087
|
])),
|
|
4088
|
-
|
|
4089
|
-
|
|
4088
|
+
U.default.func,
|
|
4089
|
+
U.default.object
|
|
4090
4090
|
]),
|
|
4091
|
-
transitionDuration:
|
|
4092
|
-
appear:
|
|
4093
|
-
enter:
|
|
4094
|
-
exit:
|
|
4091
|
+
transitionDuration: U.default.oneOfType([U.default.number, U.default.shape({
|
|
4092
|
+
appear: U.default.number,
|
|
4093
|
+
enter: U.default.number,
|
|
4094
|
+
exit: U.default.number
|
|
4095
4095
|
})])
|
|
4096
4096
|
});
|
|
4097
4097
|
//#endregion
|
|
4098
4098
|
//#region node_modules/@mui/utils/useEventCallback/useEventCallback.mjs
|
|
4099
4099
|
function xo(t) {
|
|
4100
4100
|
let n = e.useRef(t);
|
|
4101
|
-
return
|
|
4101
|
+
return W(() => {
|
|
4102
4102
|
n.current = t;
|
|
4103
4103
|
}), e.useRef((...e) => (0, n.current)(...e)).current;
|
|
4104
4104
|
}
|
|
@@ -4119,7 +4119,7 @@ function wo(e) {
|
|
|
4119
4119
|
}
|
|
4120
4120
|
var To = () => {}, Eo = new oe();
|
|
4121
4121
|
function Do(t) {
|
|
4122
|
-
let { container: n, disableScrollLock: r = !1, closeAfterTransition: i = !1, onTransitionEnter: a, onTransitionExited: o, children: s, onClose: c, open: l, rootRef: u } = t, d = e.useRef({}), f = e.useRef(null), p = e.useRef(null), m = e.useRef(null), h =
|
|
4122
|
+
let { container: n, disableScrollLock: r = !1, closeAfterTransition: i = !1, onTransitionEnter: a, onTransitionExited: o, children: s, onClose: c, open: l, rootRef: u } = t, d = e.useRef({}), f = e.useRef(null), p = e.useRef(null), m = e.useRef(null), h = Ce(m, u), [g, _] = e.useState(!l), v = wo(s), y = !0;
|
|
4123
4123
|
(t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (y = !1);
|
|
4124
4124
|
let b = () => I(f.current), x = () => (d.current.modalRef = m.current, d.current.mount = f.current, d.current), S = () => {
|
|
4125
4125
|
Eo.mount(x(), { disableScrollLock: r }), m.current && (m.current.scrollTop = 0);
|
|
@@ -4201,7 +4201,7 @@ tr("MuiModal", [
|
|
|
4201
4201
|
//#region node_modules/@mui/material/Modal/Modal.mjs
|
|
4202
4202
|
var ko = (e) => {
|
|
4203
4203
|
let { open: t, exited: n, classes: r } = e;
|
|
4204
|
-
return
|
|
4204
|
+
return Se({
|
|
4205
4205
|
root: ["root", !t && n && "hidden"],
|
|
4206
4206
|
backdrop: ["backdrop"]
|
|
4207
4207
|
}, Oo, r);
|
|
@@ -4264,7 +4264,7 @@ var ko = (e) => {
|
|
|
4264
4264
|
},
|
|
4265
4265
|
getSlotProps: O,
|
|
4266
4266
|
ownerState: F,
|
|
4267
|
-
className:
|
|
4267
|
+
className: H(a, I?.root, !F.open && F.exited && I?.hidden)
|
|
4268
4268
|
}), [re, z] = Pa("backdrop", {
|
|
4269
4269
|
elementType: jo,
|
|
4270
4270
|
externalForwardedProps: te,
|
|
@@ -4278,13 +4278,13 @@ var ko = (e) => {
|
|
|
4278
4278
|
className: I?.backdrop,
|
|
4279
4279
|
ownerState: F
|
|
4280
4280
|
});
|
|
4281
|
-
return !v && !S && (!ee || P) ? null : /*#__PURE__*/ c(
|
|
4281
|
+
return !v && !S && (!ee || P) ? null : /*#__PURE__*/ c(He, {
|
|
4282
4282
|
ref: j,
|
|
4283
4283
|
container: M,
|
|
4284
4284
|
disablePortal: m,
|
|
4285
4285
|
children: /*#__PURE__*/ l(R, {
|
|
4286
4286
|
...ne,
|
|
4287
|
-
children: [_ ? null : /*#__PURE__*/ c(re, { ...z }), /*#__PURE__*/ c(
|
|
4287
|
+
children: [_ ? null : /*#__PURE__*/ c(re, { ...z }), /*#__PURE__*/ c(ze, {
|
|
4288
4288
|
disableEnforceFocus: p,
|
|
4289
4289
|
disableAutoFocus: f,
|
|
4290
4290
|
disableRestoreFocus: h,
|
|
@@ -4296,39 +4296,39 @@ var ko = (e) => {
|
|
|
4296
4296
|
});
|
|
4297
4297
|
});
|
|
4298
4298
|
process.env.NODE_ENV !== "production" && (Mo.propTypes = {
|
|
4299
|
-
children:
|
|
4300
|
-
classes:
|
|
4301
|
-
className:
|
|
4302
|
-
closeAfterTransition:
|
|
4303
|
-
component:
|
|
4304
|
-
container:
|
|
4305
|
-
disableAutoFocus:
|
|
4306
|
-
disableEnforceFocus:
|
|
4307
|
-
disablePortal:
|
|
4308
|
-
disableRestoreFocus:
|
|
4309
|
-
disableScrollLock:
|
|
4310
|
-
hideBackdrop:
|
|
4311
|
-
keepMounted:
|
|
4312
|
-
onClose:
|
|
4313
|
-
onTransitionEnter:
|
|
4314
|
-
onTransitionExited:
|
|
4315
|
-
open:
|
|
4316
|
-
slotProps:
|
|
4317
|
-
backdrop:
|
|
4318
|
-
root:
|
|
4299
|
+
children: xe.isRequired,
|
|
4300
|
+
classes: U.default.object,
|
|
4301
|
+
className: U.default.string,
|
|
4302
|
+
closeAfterTransition: U.default.bool,
|
|
4303
|
+
component: U.default.elementType,
|
|
4304
|
+
container: U.default.oneOfType([_e, U.default.func]),
|
|
4305
|
+
disableAutoFocus: U.default.bool,
|
|
4306
|
+
disableEnforceFocus: U.default.bool,
|
|
4307
|
+
disablePortal: U.default.bool,
|
|
4308
|
+
disableRestoreFocus: U.default.bool,
|
|
4309
|
+
disableScrollLock: U.default.bool,
|
|
4310
|
+
hideBackdrop: U.default.bool,
|
|
4311
|
+
keepMounted: U.default.bool,
|
|
4312
|
+
onClose: U.default.func,
|
|
4313
|
+
onTransitionEnter: U.default.func,
|
|
4314
|
+
onTransitionExited: U.default.func,
|
|
4315
|
+
open: U.default.bool.isRequired,
|
|
4316
|
+
slotProps: U.default.shape({
|
|
4317
|
+
backdrop: U.default.oneOfType([U.default.func, U.default.object]),
|
|
4318
|
+
root: U.default.oneOfType([U.default.func, U.default.object])
|
|
4319
4319
|
}),
|
|
4320
|
-
slots:
|
|
4321
|
-
backdrop:
|
|
4322
|
-
root:
|
|
4320
|
+
slots: U.default.shape({
|
|
4321
|
+
backdrop: U.default.elementType,
|
|
4322
|
+
root: U.default.elementType
|
|
4323
4323
|
}),
|
|
4324
|
-
sx:
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4324
|
+
sx: U.default.oneOfType([
|
|
4325
|
+
U.default.arrayOf(U.default.oneOfType([
|
|
4326
|
+
U.default.func,
|
|
4327
|
+
U.default.object,
|
|
4328
|
+
U.default.bool
|
|
4329
4329
|
])),
|
|
4330
|
-
|
|
4331
|
-
|
|
4330
|
+
U.default.func,
|
|
4331
|
+
U.default.object
|
|
4332
4332
|
])
|
|
4333
4333
|
});
|
|
4334
4334
|
//#endregion
|
|
@@ -4762,6 +4762,7 @@ function ds(e) {
|
|
|
4762
4762
|
let a = O.context.SL ?? 0, o = O.context.SH ?? 0, s = O.context.AZG ?? 0;
|
|
4763
4763
|
e.onAfterCloseModal(a, o, s, t, n, r, i)(), f(!1);
|
|
4764
4764
|
},
|
|
4765
|
+
trademarkLineScale: e.trademarkLineScale,
|
|
4765
4766
|
testMode: e.testMode
|
|
4766
4767
|
}, b),
|
|
4767
4768
|
/* @__PURE__ */ c(cs, {
|
|
@@ -4834,7 +4835,7 @@ function ds(e) {
|
|
|
4834
4835
|
}
|
|
4835
4836
|
//#endregion
|
|
4836
4837
|
//#region node_modules/@mui/material/utils/capitalize.mjs
|
|
4837
|
-
var fs =
|
|
4838
|
+
var fs = $e, ps = Vr, ms = xo, hs = U.default.oneOfType([U.default.func, U.default.object]);
|
|
4838
4839
|
//#endregion
|
|
4839
4840
|
//#region node_modules/@mui/utils/elementTypeAcceptingRef/elementTypeAcceptingRef.mjs
|
|
4840
4841
|
function gs(e) {
|
|
@@ -4847,7 +4848,7 @@ function _s(t, n, r, i, a) {
|
|
|
4847
4848
|
let c;
|
|
4848
4849
|
return typeof o == "function" && !gs(o) && (c = "Did you accidentally provide a plain function component instead?"), o === e.Fragment && (c = "Did you accidentally provide a React.Fragment instead?"), c === void 0 ? null : /* @__PURE__ */ Error(`Invalid ${i} \`${s}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`);
|
|
4849
4850
|
}
|
|
4850
|
-
var vs =
|
|
4851
|
+
var vs = ve(U.default.elementType, _s);
|
|
4851
4852
|
//#endregion
|
|
4852
4853
|
//#region node_modules/@mui/utils/isFocusVisible/isFocusVisible.mjs
|
|
4853
4854
|
function ys(e) {
|
|
@@ -5065,12 +5066,12 @@ function Ns() {
|
|
|
5065
5066
|
function Ps(t) {
|
|
5066
5067
|
let { className: n, classes: r, pulsate: i = !1, rippleX: a, rippleY: o, rippleSize: s, in: l, onExited: u, timeout: d } = t, [f, p] = e.useState(!1), m = Ns(), h = e.useRef(!1), g = e.useRef(u);
|
|
5067
5068
|
g.current = u;
|
|
5068
|
-
let _ = u != null, v =
|
|
5069
|
+
let _ = u != null, v = H(n, r.ripple, r.rippleVisible, i && r.ripplePulsate), y = {
|
|
5069
5070
|
width: s,
|
|
5070
5071
|
height: s,
|
|
5071
5072
|
top: -(s / 2) + o,
|
|
5072
5073
|
left: -(s / 2) + a
|
|
5073
|
-
}, b =
|
|
5074
|
+
}, b = H(r.child, f && r.childLeaving, i && r.childPulsate);
|
|
5074
5075
|
return !l && !f && p(!0), e.useEffect(() => {
|
|
5075
5076
|
!l && _ ? h.current || (h.current = !0, m.start(d, () => {
|
|
5076
5077
|
h.current = !1, g.current?.();
|
|
@@ -5087,15 +5088,15 @@ function Ps(t) {
|
|
|
5087
5088
|
});
|
|
5088
5089
|
}
|
|
5089
5090
|
process.env.NODE_ENV !== "production" && (Ps.propTypes = {
|
|
5090
|
-
classes:
|
|
5091
|
-
className:
|
|
5092
|
-
in:
|
|
5093
|
-
onExited:
|
|
5094
|
-
pulsate:
|
|
5095
|
-
rippleSize:
|
|
5096
|
-
rippleX:
|
|
5097
|
-
rippleY:
|
|
5098
|
-
timeout:
|
|
5091
|
+
classes: U.default.object.isRequired,
|
|
5092
|
+
className: U.default.string,
|
|
5093
|
+
in: U.default.bool,
|
|
5094
|
+
onExited: U.default.func,
|
|
5095
|
+
pulsate: U.default.bool,
|
|
5096
|
+
rippleSize: U.default.number,
|
|
5097
|
+
rippleX: U.default.number,
|
|
5098
|
+
rippleY: U.default.number,
|
|
5099
|
+
timeout: U.default.number.isRequired
|
|
5099
5100
|
});
|
|
5100
5101
|
//#endregion
|
|
5101
5102
|
//#region node_modules/@mui/material/ButtonBase/touchRippleClasses.mjs
|
|
@@ -5359,17 +5360,17 @@ var Gs = Q("span", {
|
|
|
5359
5360
|
]);
|
|
5360
5361
|
let T = new Map(f.map((e) => [e.key, e])), E = u.order.map((e) => T.get(e)).filter(Boolean);
|
|
5361
5362
|
return /*#__PURE__*/ c(Gs, {
|
|
5362
|
-
className:
|
|
5363
|
+
className: H($.root, o.root, s),
|
|
5363
5364
|
ref: y,
|
|
5364
5365
|
...l,
|
|
5365
5366
|
children: E.map((e) => /*#__PURE__*/ c(Ks, {
|
|
5366
5367
|
classes: {
|
|
5367
|
-
ripple:
|
|
5368
|
-
rippleVisible:
|
|
5369
|
-
ripplePulsate:
|
|
5370
|
-
child:
|
|
5371
|
-
childLeaving:
|
|
5372
|
-
childPulsate:
|
|
5368
|
+
ripple: H(o.ripple, $.ripple),
|
|
5369
|
+
rippleVisible: H(o.rippleVisible, $.rippleVisible),
|
|
5370
|
+
ripplePulsate: H(o.ripplePulsate, $.ripplePulsate),
|
|
5371
|
+
child: H(o.child, $.child),
|
|
5372
|
+
childLeaving: H(o.childLeaving, $.childLeaving),
|
|
5373
|
+
childPulsate: H(o.childPulsate, $.childPulsate)
|
|
5373
5374
|
},
|
|
5374
5375
|
timeout: i.shouldReduceMotion ? 0 : Fs,
|
|
5375
5376
|
pulsate: e.pulsate,
|
|
@@ -5382,9 +5383,9 @@ var Gs = Q("span", {
|
|
|
5382
5383
|
});
|
|
5383
5384
|
});
|
|
5384
5385
|
process.env.NODE_ENV !== "production" && (qs.propTypes = {
|
|
5385
|
-
center:
|
|
5386
|
-
classes:
|
|
5387
|
-
className:
|
|
5386
|
+
center: U.default.bool,
|
|
5387
|
+
classes: U.default.object,
|
|
5388
|
+
className: U.default.string
|
|
5388
5389
|
});
|
|
5389
5390
|
//#endregion
|
|
5390
5391
|
//#region node_modules/@mui/material/ButtonBase/buttonBaseClasses.mjs
|
|
@@ -5396,7 +5397,7 @@ var Ys = tr("MuiButtonBase", [
|
|
|
5396
5397
|
"disabled",
|
|
5397
5398
|
"focusVisible"
|
|
5398
5399
|
]), Xs = (e) => {
|
|
5399
|
-
let { disabled: t, focusVisible: n, focusVisibleClassName: r, suppressFocusVisible: i, classes: a } = e, o =
|
|
5400
|
+
let { disabled: t, focusVisible: n, focusVisibleClassName: r, suppressFocusVisible: i, classes: a } = e, o = Se({ root: [
|
|
5400
5401
|
"root",
|
|
5401
5402
|
t && "disabled",
|
|
5402
5403
|
n && !i && "focusVisible"
|
|
@@ -5444,17 +5445,17 @@ var Ys = tr("MuiButtonBase", [
|
|
|
5444
5445
|
name: "MuiButtonBase"
|
|
5445
5446
|
}), { action: i, centerRipple: a = !1, children: o, className: s, component: u = "button", disabled: d = !1, disableRipple: f = !1, disableTouchRipple: p = !1, focusRipple: m = !1, focusVisibleClassName: h, focusableWhenDisabled: g, suppressFocusVisible: _ = !1, internalNativeButton: v, internalDisabledThemeFocusVisible: y = !1, LinkComponent: b = "a", nativeButton: x, onBlur: S, onClick: C, onContextMenu: w, onDragLeave: T, onFocus: E, onFocusVisible: D, onKeyDown: O, onKeyUp: k, onMouseDown: A, onMouseLeave: j, onMouseUp: M, onTouchEnd: N, onTouchMove: P, onTouchStart: ee, tabIndex: F = 0, TouchRippleProps: I, touchRippleRef: L, type: te, ...R } = r, ne = !!(R.href || R.to), re = !!R.formAction, z = u;
|
|
5446
5447
|
z === "button" && ne && (z = b);
|
|
5447
|
-
let ie = typeof z == "string" ? z === "button" : v ?? !1, ae = x ?? ie, B = Os(), oe = po(B.ref, L), [
|
|
5448
|
-
(d || _) &&
|
|
5449
|
-
let
|
|
5450
|
-
m && !e.repeat &&
|
|
5448
|
+
let ie = typeof z == "string" ? z === "button" : v ?? !1, ae = x ?? ie, B = Os(), oe = po(B.ref, L), [V, se] = e.useState(!1);
|
|
5449
|
+
(d || _) && V && se(!1);
|
|
5450
|
+
let ce = ms((e) => {
|
|
5451
|
+
m && !e.repeat && V && e.key === " " && B.stop(e, () => {
|
|
5451
5452
|
B.start(e);
|
|
5452
5453
|
});
|
|
5453
|
-
}),
|
|
5454
|
-
m && e.key === " " &&
|
|
5454
|
+
}), le = ms((e) => {
|
|
5455
|
+
m && e.key === " " && V && !e.defaultPrevented && B.stop(e, () => {
|
|
5455
5456
|
B.pulsate(e);
|
|
5456
5457
|
});
|
|
5457
|
-
}), { getButtonProps:
|
|
5458
|
+
}), { getButtonProps: ue, rootRef: de } = Ss({
|
|
5458
5459
|
nativeButton: ae,
|
|
5459
5460
|
nativeButtonProp: x,
|
|
5460
5461
|
internalNativeButton: ie,
|
|
@@ -5463,34 +5464,34 @@ var Ys = tr("MuiButtonBase", [
|
|
|
5463
5464
|
type: te,
|
|
5464
5465
|
hasFormAction: re,
|
|
5465
5466
|
tabIndex: F,
|
|
5466
|
-
onBeforeKeyDown:
|
|
5467
|
-
onBeforeKeyUp:
|
|
5468
|
-
}), { onClick:
|
|
5467
|
+
onBeforeKeyDown: ce,
|
|
5468
|
+
onBeforeKeyUp: le
|
|
5469
|
+
}), { onClick: fe, onKeyDown: pe, onKeyUp: me, ...he } = ue({
|
|
5469
5470
|
onClick: C,
|
|
5470
5471
|
onKeyDown: O,
|
|
5471
5472
|
onKeyUp: k
|
|
5472
5473
|
});
|
|
5473
5474
|
e.useImperativeHandle(i, () => ({ focusVisible: () => {
|
|
5474
|
-
|
|
5475
|
-
} }), [
|
|
5476
|
-
let
|
|
5475
|
+
se(!0), de.current.focus();
|
|
5476
|
+
} }), [de]);
|
|
5477
|
+
let ge = B.shouldMount && !f && !d;
|
|
5477
5478
|
e.useEffect(() => {
|
|
5478
|
-
|
|
5479
|
+
V && m && !f && B.pulsate();
|
|
5479
5480
|
}, [
|
|
5480
5481
|
f,
|
|
5481
5482
|
m,
|
|
5482
|
-
|
|
5483
|
+
V,
|
|
5483
5484
|
B
|
|
5484
5485
|
]);
|
|
5485
|
-
let
|
|
5486
|
-
|
|
5487
|
-
}, p),
|
|
5488
|
-
ys(e.target) ||
|
|
5489
|
-
}, !1),
|
|
5490
|
-
|
|
5491
|
-
}),
|
|
5492
|
-
ne && (
|
|
5493
|
-
let
|
|
5486
|
+
let _e = $s(B, "start", A, p), ve = $s(B, "stop", w, p), U = $s(B, "stop", T, p), ye = $s(B, "stop", M, p), be = $s(B, "stop", (e) => {
|
|
5487
|
+
V && e.preventDefault(), j && j(e);
|
|
5488
|
+
}, p), xe = $s(B, "start", ee, p), Se = $s(B, "stop", N, p), Ce = $s(B, "stop", P, p), we = $s(B, "stop", (e) => {
|
|
5489
|
+
ys(e.target) || se(!1), S && S(e);
|
|
5490
|
+
}, !1), Te = ms((e) => {
|
|
5491
|
+
de.current || (de.current = e.currentTarget), !_ && ys(e.target) && (se(!0), D && D(e)), E && E(e);
|
|
5492
|
+
}), Ee = {};
|
|
5493
|
+
ne && (Ee.tabIndex = d ? -1 : F, d && (Ee["aria-disabled"] = d), Ee.type = te);
|
|
5494
|
+
let De = po(n, de), Oe = {
|
|
5494
5495
|
...r,
|
|
5495
5496
|
centerRipple: a,
|
|
5496
5497
|
component: u,
|
|
@@ -5500,30 +5501,30 @@ var Ys = tr("MuiButtonBase", [
|
|
|
5500
5501
|
focusRipple: m,
|
|
5501
5502
|
suppressFocusVisible: _,
|
|
5502
5503
|
tabIndex: F,
|
|
5503
|
-
focusVisible:
|
|
5504
|
+
focusVisible: V,
|
|
5504
5505
|
internalDisabledThemeFocusVisible: y
|
|
5505
|
-
},
|
|
5506
|
+
}, ke = Xs(Oe);
|
|
5506
5507
|
return /*#__PURE__*/ l(Zs, {
|
|
5507
5508
|
as: z,
|
|
5508
|
-
className:
|
|
5509
|
-
ownerState:
|
|
5510
|
-
onBlur:
|
|
5511
|
-
onClick:
|
|
5512
|
-
onContextMenu:
|
|
5513
|
-
onFocus:
|
|
5514
|
-
onKeyDown:
|
|
5515
|
-
onKeyUp:
|
|
5516
|
-
onMouseDown:
|
|
5517
|
-
onMouseLeave:
|
|
5518
|
-
onMouseUp:
|
|
5519
|
-
onDragLeave:
|
|
5520
|
-
onTouchEnd:
|
|
5521
|
-
onTouchMove:
|
|
5522
|
-
onTouchStart:
|
|
5523
|
-
ref:
|
|
5524
|
-
...ne ?
|
|
5509
|
+
className: H(ke.root, s),
|
|
5510
|
+
ownerState: Oe,
|
|
5511
|
+
onBlur: we,
|
|
5512
|
+
onClick: fe,
|
|
5513
|
+
onContextMenu: ve,
|
|
5514
|
+
onFocus: Te,
|
|
5515
|
+
onKeyDown: pe,
|
|
5516
|
+
onKeyUp: me,
|
|
5517
|
+
onMouseDown: _e,
|
|
5518
|
+
onMouseLeave: be,
|
|
5519
|
+
onMouseUp: ye,
|
|
5520
|
+
onDragLeave: U,
|
|
5521
|
+
onTouchEnd: Se,
|
|
5522
|
+
onTouchMove: Ce,
|
|
5523
|
+
onTouchStart: xe,
|
|
5524
|
+
ref: De,
|
|
5525
|
+
...ne ? Ee : he,
|
|
5525
5526
|
...R,
|
|
5526
|
-
children: [o,
|
|
5527
|
+
children: [o, ge ? /*#__PURE__*/ c(qs, {
|
|
5527
5528
|
ref: oe,
|
|
5528
5529
|
center: a,
|
|
5529
5530
|
...I
|
|
@@ -5535,51 +5536,51 @@ function $s(e, t, n, r = !1) {
|
|
|
5535
5536
|
}
|
|
5536
5537
|
process.env.NODE_ENV !== "production" && (Qs.propTypes = {
|
|
5537
5538
|
action: hs,
|
|
5538
|
-
centerRipple:
|
|
5539
|
-
children:
|
|
5540
|
-
classes:
|
|
5541
|
-
className:
|
|
5539
|
+
centerRipple: U.default.bool,
|
|
5540
|
+
children: U.default.node,
|
|
5541
|
+
classes: U.default.object,
|
|
5542
|
+
className: U.default.string,
|
|
5542
5543
|
component: vs,
|
|
5543
|
-
disabled:
|
|
5544
|
-
disableRipple:
|
|
5545
|
-
disableTouchRipple:
|
|
5546
|
-
focusRipple:
|
|
5547
|
-
focusVisibleClassName:
|
|
5548
|
-
formAction:
|
|
5549
|
-
href:
|
|
5550
|
-
LinkComponent:
|
|
5551
|
-
nativeButton:
|
|
5552
|
-
onBlur:
|
|
5553
|
-
onClick:
|
|
5554
|
-
onContextMenu:
|
|
5555
|
-
onDragLeave:
|
|
5556
|
-
onFocus:
|
|
5557
|
-
onFocusVisible:
|
|
5558
|
-
onKeyDown:
|
|
5559
|
-
onKeyUp:
|
|
5560
|
-
onMouseDown:
|
|
5561
|
-
onMouseLeave:
|
|
5562
|
-
onMouseUp:
|
|
5563
|
-
onTouchEnd:
|
|
5564
|
-
onTouchMove:
|
|
5565
|
-
onTouchStart:
|
|
5566
|
-
sx:
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5544
|
+
disabled: U.default.bool,
|
|
5545
|
+
disableRipple: U.default.bool,
|
|
5546
|
+
disableTouchRipple: U.default.bool,
|
|
5547
|
+
focusRipple: U.default.bool,
|
|
5548
|
+
focusVisibleClassName: U.default.string,
|
|
5549
|
+
formAction: U.default.oneOfType([U.default.func, U.default.string]),
|
|
5550
|
+
href: U.default.any,
|
|
5551
|
+
LinkComponent: U.default.elementType,
|
|
5552
|
+
nativeButton: U.default.bool,
|
|
5553
|
+
onBlur: U.default.func,
|
|
5554
|
+
onClick: U.default.func,
|
|
5555
|
+
onContextMenu: U.default.func,
|
|
5556
|
+
onDragLeave: U.default.func,
|
|
5557
|
+
onFocus: U.default.func,
|
|
5558
|
+
onFocusVisible: U.default.func,
|
|
5559
|
+
onKeyDown: U.default.func,
|
|
5560
|
+
onKeyUp: U.default.func,
|
|
5561
|
+
onMouseDown: U.default.func,
|
|
5562
|
+
onMouseLeave: U.default.func,
|
|
5563
|
+
onMouseUp: U.default.func,
|
|
5564
|
+
onTouchEnd: U.default.func,
|
|
5565
|
+
onTouchMove: U.default.func,
|
|
5566
|
+
onTouchStart: U.default.func,
|
|
5567
|
+
sx: U.default.oneOfType([
|
|
5568
|
+
U.default.arrayOf(U.default.oneOfType([
|
|
5569
|
+
U.default.func,
|
|
5570
|
+
U.default.object,
|
|
5571
|
+
U.default.bool
|
|
5571
5572
|
])),
|
|
5572
|
-
|
|
5573
|
-
|
|
5573
|
+
U.default.func,
|
|
5574
|
+
U.default.object
|
|
5574
5575
|
]),
|
|
5575
|
-
tabIndex:
|
|
5576
|
-
TouchRippleProps:
|
|
5577
|
-
touchRippleRef:
|
|
5578
|
-
pulsate:
|
|
5579
|
-
start:
|
|
5580
|
-
stop:
|
|
5576
|
+
tabIndex: U.default.number,
|
|
5577
|
+
TouchRippleProps: U.default.object,
|
|
5578
|
+
touchRippleRef: U.default.oneOfType([U.default.func, U.default.shape({ current: U.default.shape({
|
|
5579
|
+
pulsate: U.default.func.isRequired,
|
|
5580
|
+
start: U.default.func.isRequired,
|
|
5581
|
+
stop: U.default.func.isRequired
|
|
5581
5582
|
}) })]),
|
|
5582
|
-
type:
|
|
5583
|
+
type: U.default.string
|
|
5583
5584
|
});
|
|
5584
5585
|
//#endregion
|
|
5585
5586
|
//#region node_modules/@mui/material/utils/createSimplePaletteValueFilter.mjs
|
|
@@ -5641,7 +5642,7 @@ var ic = 44, ac = !1, oc = !1, sc = m`
|
|
|
5641
5642
|
animation: ${cc} 1.4s ease-in-out infinite;
|
|
5642
5643
|
`, dc = (e) => {
|
|
5643
5644
|
let { classes: t, variant: n, color: r, disableShrink: i } = e;
|
|
5644
|
-
return
|
|
5645
|
+
return Se({
|
|
5645
5646
|
root: [
|
|
5646
5647
|
"root",
|
|
5647
5648
|
n,
|
|
@@ -5750,7 +5751,7 @@ var ic = 44, ac = !1, oc = !1, sc = m`
|
|
|
5750
5751
|
x.strokeDasharray = e.toFixed(3), x.strokeDashoffset = t > 0 ? `${((v - m) / t * e).toFixed(3)}px` : `${e.toFixed(3)}px`, S.transform = "rotate(-90deg)", C["aria-valuenow"] = m, C["aria-valuemin"] = _, C["aria-valuemax"] = v;
|
|
5751
5752
|
}
|
|
5752
5753
|
return /*#__PURE__*/ c(fc, {
|
|
5753
|
-
className:
|
|
5754
|
+
className: H(b.root, r),
|
|
5754
5755
|
style: {
|
|
5755
5756
|
width: d,
|
|
5756
5757
|
height: d,
|
|
@@ -5789,9 +5790,9 @@ var ic = 44, ac = !1, oc = !1, sc = m`
|
|
|
5789
5790
|
});
|
|
5790
5791
|
});
|
|
5791
5792
|
process.env.NODE_ENV !== "production" && (gc.propTypes = {
|
|
5792
|
-
classes:
|
|
5793
|
-
className:
|
|
5794
|
-
color:
|
|
5793
|
+
classes: U.default.object,
|
|
5794
|
+
className: U.default.string,
|
|
5795
|
+
color: U.default.oneOfType([U.default.oneOf([
|
|
5795
5796
|
"inherit",
|
|
5796
5797
|
"primary",
|
|
5797
5798
|
"secondary",
|
|
@@ -5799,25 +5800,25 @@ process.env.NODE_ENV !== "production" && (gc.propTypes = {
|
|
|
5799
5800
|
"info",
|
|
5800
5801
|
"success",
|
|
5801
5802
|
"warning"
|
|
5802
|
-
]),
|
|
5803
|
-
disableShrink:
|
|
5804
|
-
enableTrackSlot:
|
|
5805
|
-
max:
|
|
5806
|
-
min:
|
|
5807
|
-
size:
|
|
5808
|
-
style:
|
|
5809
|
-
sx:
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5803
|
+
]), U.default.string]),
|
|
5804
|
+
disableShrink: ve(U.default.bool, (e) => e.disableShrink && e.variant && e.variant !== "indeterminate" ? /* @__PURE__ */ Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.") : null),
|
|
5805
|
+
enableTrackSlot: U.default.bool,
|
|
5806
|
+
max: U.default.number,
|
|
5807
|
+
min: U.default.number,
|
|
5808
|
+
size: U.default.oneOfType([U.default.number, U.default.string]),
|
|
5809
|
+
style: U.default.object,
|
|
5810
|
+
sx: U.default.oneOfType([
|
|
5811
|
+
U.default.arrayOf(U.default.oneOfType([
|
|
5812
|
+
U.default.func,
|
|
5813
|
+
U.default.object,
|
|
5814
|
+
U.default.bool
|
|
5814
5815
|
])),
|
|
5815
|
-
|
|
5816
|
-
|
|
5816
|
+
U.default.func,
|
|
5817
|
+
U.default.object
|
|
5817
5818
|
]),
|
|
5818
|
-
thickness:
|
|
5819
|
-
value:
|
|
5820
|
-
variant:
|
|
5819
|
+
thickness: U.default.number,
|
|
5820
|
+
value: U.default.number,
|
|
5821
|
+
variant: U.default.oneOf(["determinate", "indeterminate"])
|
|
5821
5822
|
});
|
|
5822
5823
|
//#endregion
|
|
5823
5824
|
//#region node_modules/@mui/material/Button/buttonClasses.mjs
|
|
@@ -5833,7 +5834,7 @@ process.env.NODE_ENV !== "production" && (bc.displayName = "ButtonGroupButtonCon
|
|
|
5833
5834
|
//#endregion
|
|
5834
5835
|
//#region node_modules/@mui/material/Button/Button.mjs
|
|
5835
5836
|
var xc = (e) => {
|
|
5836
|
-
let { color: t, disableElevation: n, fullWidth: r, size: i, variant: a, loading: o, loadingPosition: s, classes: c } = e, l =
|
|
5837
|
+
let { color: t, disableElevation: n, fullWidth: r, size: i, variant: a, loading: o, loadingPosition: s, classes: c } = e, l = Se({
|
|
5837
5838
|
root: [
|
|
5838
5839
|
"root",
|
|
5839
5840
|
o && "loading",
|
|
@@ -6265,11 +6266,11 @@ var xc = (e) => {
|
|
|
6265
6266
|
}) : null, { root: ee, ...F } = A;
|
|
6266
6267
|
return /*#__PURE__*/ l(Cc, {
|
|
6267
6268
|
ownerState: k,
|
|
6268
|
-
className:
|
|
6269
|
+
className: H(r.className, A.root, d, N),
|
|
6269
6270
|
component: u,
|
|
6270
6271
|
disabled: f || y,
|
|
6271
6272
|
focusRipple: !m,
|
|
6272
|
-
focusVisibleClassName:
|
|
6273
|
+
focusVisibleClassName: H(A.focusVisible, g),
|
|
6273
6274
|
ref: n,
|
|
6274
6275
|
internalNativeButton: !0,
|
|
6275
6276
|
type: w,
|
|
@@ -6286,10 +6287,10 @@ var xc = (e) => {
|
|
|
6286
6287
|
});
|
|
6287
6288
|
});
|
|
6288
6289
|
process.env.NODE_ENV !== "production" && (Oc.propTypes = {
|
|
6289
|
-
children:
|
|
6290
|
-
classes:
|
|
6291
|
-
className:
|
|
6292
|
-
color:
|
|
6290
|
+
children: U.default.node,
|
|
6291
|
+
classes: U.default.object,
|
|
6292
|
+
className: U.default.string,
|
|
6293
|
+
color: U.default.oneOfType([U.default.oneOf([
|
|
6293
6294
|
"inherit",
|
|
6294
6295
|
"primary",
|
|
6295
6296
|
"secondary",
|
|
@@ -6297,45 +6298,45 @@ process.env.NODE_ENV !== "production" && (Oc.propTypes = {
|
|
|
6297
6298
|
"error",
|
|
6298
6299
|
"info",
|
|
6299
6300
|
"warning"
|
|
6300
|
-
]),
|
|
6301
|
-
component:
|
|
6302
|
-
disabled:
|
|
6303
|
-
disableElevation:
|
|
6304
|
-
disableFocusRipple:
|
|
6305
|
-
disableRipple:
|
|
6306
|
-
endIcon:
|
|
6307
|
-
focusVisibleClassName:
|
|
6308
|
-
fullWidth:
|
|
6309
|
-
href:
|
|
6310
|
-
id:
|
|
6311
|
-
loading:
|
|
6312
|
-
loadingIndicator:
|
|
6313
|
-
loadingPosition:
|
|
6301
|
+
]), U.default.string]),
|
|
6302
|
+
component: U.default.elementType,
|
|
6303
|
+
disabled: U.default.bool,
|
|
6304
|
+
disableElevation: U.default.bool,
|
|
6305
|
+
disableFocusRipple: U.default.bool,
|
|
6306
|
+
disableRipple: U.default.bool,
|
|
6307
|
+
endIcon: U.default.node,
|
|
6308
|
+
focusVisibleClassName: U.default.string,
|
|
6309
|
+
fullWidth: U.default.bool,
|
|
6310
|
+
href: U.default.string,
|
|
6311
|
+
id: U.default.string,
|
|
6312
|
+
loading: U.default.bool,
|
|
6313
|
+
loadingIndicator: U.default.node,
|
|
6314
|
+
loadingPosition: U.default.oneOf([
|
|
6314
6315
|
"center",
|
|
6315
6316
|
"end",
|
|
6316
6317
|
"start"
|
|
6317
6318
|
]),
|
|
6318
|
-
size:
|
|
6319
|
+
size: U.default.oneOfType([U.default.oneOf([
|
|
6319
6320
|
"small",
|
|
6320
6321
|
"medium",
|
|
6321
6322
|
"large"
|
|
6322
|
-
]),
|
|
6323
|
-
startIcon:
|
|
6324
|
-
sx:
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6323
|
+
]), U.default.string]),
|
|
6324
|
+
startIcon: U.default.node,
|
|
6325
|
+
sx: U.default.oneOfType([
|
|
6326
|
+
U.default.arrayOf(U.default.oneOfType([
|
|
6327
|
+
U.default.func,
|
|
6328
|
+
U.default.object,
|
|
6329
|
+
U.default.bool
|
|
6329
6330
|
])),
|
|
6330
|
-
|
|
6331
|
-
|
|
6331
|
+
U.default.func,
|
|
6332
|
+
U.default.object
|
|
6332
6333
|
]),
|
|
6333
|
-
type:
|
|
6334
|
-
variant:
|
|
6334
|
+
type: U.default.string,
|
|
6335
|
+
variant: U.default.oneOfType([U.default.oneOf([
|
|
6335
6336
|
"contained",
|
|
6336
6337
|
"outlined",
|
|
6337
6338
|
"text"
|
|
6338
|
-
]),
|
|
6339
|
+
]), U.default.string])
|
|
6339
6340
|
});
|
|
6340
6341
|
//#endregion
|
|
6341
6342
|
//#region node_modules/ai.akima/dist/ai-akima.es.js
|
|
@@ -6531,14 +6532,14 @@ function Kc(e) {
|
|
|
6531
6532
|
for (let n = 1; n <= i; n++) e.lineTo(t[n].x, t[n].y);
|
|
6532
6533
|
e.stroke();
|
|
6533
6534
|
}
|
|
6534
|
-
let
|
|
6535
|
+
let V = n((e, t, n = "magenta", r = !1) => {
|
|
6535
6536
|
if (t.length < 2) return;
|
|
6536
6537
|
e.strokeStyle = n;
|
|
6537
6538
|
let i = Infinity, a = -Infinity, o = Infinity, s = -Infinity;
|
|
6538
6539
|
for (let e of t) e.x < i && (i = e.x), e.x > a && (a = e.x), e.y < o && (o = e.y), e.y > s && (s = e.y);
|
|
6539
6540
|
r && (j(a - i), N(s - o)), e.strokeRect(i, o, a - i, s - o);
|
|
6540
6541
|
}, []);
|
|
6541
|
-
function
|
|
6542
|
+
function se(t, n = 2) {
|
|
6542
6543
|
let r = "", i = "";
|
|
6543
6544
|
for (let e = 0; e < t.length; e += 1) {
|
|
6544
6545
|
let a = t[e], o = `${a.x.toFixed(2)}; ${a.y.toFixed(2)}`.replaceAll(".", ","), s = Math.round(Math.hypot(a.x * n, a.y * n) * 100);
|
|
@@ -6547,17 +6548,17 @@ function Kc(e) {
|
|
|
6547
6548
|
}
|
|
6548
6549
|
return e.testMode && console.log(i), r;
|
|
6549
6550
|
}
|
|
6550
|
-
function
|
|
6551
|
+
function ce(e) {
|
|
6551
6552
|
let t = Math.atan2(e.y, e.x);
|
|
6552
6553
|
return t < 0 && (t += 2 * Math.PI), t;
|
|
6553
6554
|
}
|
|
6554
|
-
function
|
|
6555
|
+
function le(t) {
|
|
6555
6556
|
if (t.length < 2) return [];
|
|
6556
6557
|
let n = [], r = 0, i = "";
|
|
6557
6558
|
for (let e = 0; e < 128; e++) {
|
|
6558
6559
|
let a = 2 * Math.PI * e / 128, o = 0;
|
|
6559
6560
|
for (let e = 0; e < t.length; e += 1) {
|
|
6560
|
-
let s = t[e], c =
|
|
6561
|
+
let s = t[e], c = ce(s);
|
|
6561
6562
|
if (c >= a) {
|
|
6562
6563
|
let l = (a - o) / (c - o), u = e > 0 ? t[e - 1] : t[t.length - 1], d = Math.hypot(u.x, u.y), f = d + l * (Math.hypot(s.x, s.y) - d), p = {
|
|
6563
6564
|
x: u.x + l * (s.x - u.x),
|
|
@@ -6573,26 +6574,26 @@ function Kc(e) {
|
|
|
6573
6574
|
}
|
|
6574
6575
|
return e.testMode && (console.log("maximum difference between interpolated and actual radius:", r), console.log(`createEquidistantPoints: ${i}`)), n;
|
|
6575
6576
|
}
|
|
6576
|
-
function
|
|
6577
|
+
function ue(e, t) {
|
|
6577
6578
|
if (e.length === 0) return [];
|
|
6578
6579
|
let n = Math.max(0, Math.min(t, e.length - 1));
|
|
6579
6580
|
return e.slice(n + 1).concat(e.slice(0, n + 1));
|
|
6580
6581
|
}
|
|
6581
|
-
let
|
|
6582
|
+
let de = n((t) => {
|
|
6582
6583
|
let n = -1, r = -1;
|
|
6583
6584
|
for (let e = 0; e < t.length; e += 1) {
|
|
6584
|
-
let i = t[e], a =
|
|
6585
|
+
let i = t[e], a = ce(i);
|
|
6585
6586
|
if (e > 0 && a < n) {
|
|
6586
|
-
|
|
6587
|
+
r = e;
|
|
6587
6588
|
break;
|
|
6588
6589
|
}
|
|
6589
6590
|
n = a;
|
|
6590
6591
|
}
|
|
6591
|
-
return e.testMode && console.log(`splitIndex: ${r}`),
|
|
6592
|
-
}, [e.testMode]),
|
|
6592
|
+
return e.testMode && console.log(`splitIndex: ${r}`), ue(t, r - 1);
|
|
6593
|
+
}, [e.testMode]), fe = (e, t, n) => ({
|
|
6593
6594
|
x: e.x * t,
|
|
6594
6595
|
y: e.y * (n ?? t)
|
|
6595
|
-
})), []), me = (e) => {
|
|
6596
|
+
}), pe = n((e, t, n) => e.map((e) => fe(e, t, n)), []), me = (e) => {
|
|
6596
6597
|
let t = e[0], n = e[1];
|
|
6597
6598
|
return -Math.atan2(t.y, t.x) > -Math.atan2(n.y, n.x);
|
|
6598
6599
|
}, he = n((e, t, n, r = !1) => {
|
|
@@ -6604,18 +6605,41 @@ function Kc(e) {
|
|
|
6604
6605
|
let t = a - o, n = s - c, r = e / t, i = l.map((e) => ({
|
|
6605
6606
|
x: e.x - o - t / 2,
|
|
6606
6607
|
y: e.y - c - n / 2
|
|
6607
|
-
}))
|
|
6608
|
+
})), u = O ? {
|
|
6609
|
+
x: O.x - o - t / 2,
|
|
6610
|
+
y: O.y - c - n / 2
|
|
6611
|
+
} : void 0, d = -Infinity, f = Infinity, p = -Infinity, m = Infinity;
|
|
6612
|
+
i.forEach((e) => {
|
|
6613
|
+
e.x > d && (d = e.x), e.x < f && (f = e.x), e.y > p && (p = e.y), e.y < m && (m = e.y);
|
|
6614
|
+
});
|
|
6615
|
+
let h = i.map((e) => ({
|
|
6608
6616
|
x: e.x,
|
|
6609
6617
|
y: -e.y
|
|
6610
|
-
})),
|
|
6611
|
-
|
|
6612
|
-
|
|
6618
|
+
})), g = u ? {
|
|
6619
|
+
x: u.x,
|
|
6620
|
+
y: -u.y
|
|
6621
|
+
} : void 0, _ = -Infinity, v = Infinity, y = -Infinity, b = Infinity;
|
|
6622
|
+
h.forEach((e) => {
|
|
6623
|
+
e.x > _ && (_ = e.x), e.x < v && (v = e.x), e.y > y && (y = e.y), e.y < b && (b = e.y);
|
|
6624
|
+
});
|
|
6625
|
+
let x = pe(h, r), S = g ? fe(g, r) : void 0, C = -Infinity, w = Infinity, T = -Infinity, E = Infinity;
|
|
6626
|
+
x.forEach((e) => {
|
|
6627
|
+
e.x > C && (C = e.x), e.x < w && (w = e.x), e.y > T && (T = e.y), e.y < E && (E = e.y);
|
|
6628
|
+
}), me(x) || (x.reverse(), x.forEach((e) => {
|
|
6629
|
+
e.x > C && (C = e.x), e.x < w && (w = e.x), e.y > T && (T = e.y), e.y < E && (E = e.y);
|
|
6630
|
+
}));
|
|
6631
|
+
let D = de(x), k = Infinity, A = -Infinity, j = Infinity, M = -Infinity;
|
|
6632
|
+
return D.forEach((e) => {
|
|
6633
|
+
e.x > A && (A = e.x), e.x < k && (k = e.x), e.y > M && (M = e.y), e.y < j && (j = e.y);
|
|
6634
|
+
}), {
|
|
6635
|
+
polygon: D,
|
|
6613
6636
|
box: {
|
|
6614
6637
|
minX: o,
|
|
6615
6638
|
maxX: a,
|
|
6616
6639
|
minY: c,
|
|
6617
6640
|
maxY: s
|
|
6618
|
-
}
|
|
6641
|
+
},
|
|
6642
|
+
trademark: S
|
|
6619
6643
|
};
|
|
6620
6644
|
}
|
|
6621
6645
|
return {
|
|
@@ -6625,17 +6649,19 @@ function Kc(e) {
|
|
|
6625
6649
|
maxX: a,
|
|
6626
6650
|
minY: c,
|
|
6627
6651
|
maxY: s
|
|
6628
|
-
}
|
|
6652
|
+
},
|
|
6653
|
+
trademark: void 0
|
|
6629
6654
|
};
|
|
6630
6655
|
}, [
|
|
6631
6656
|
E,
|
|
6632
6657
|
pe,
|
|
6633
|
-
|
|
6658
|
+
O,
|
|
6659
|
+
de
|
|
6634
6660
|
]);
|
|
6635
|
-
function ge(t, n, r
|
|
6636
|
-
let i = he(t, n, p,
|
|
6661
|
+
function ge(t, n, r) {
|
|
6662
|
+
let i = he(t, n, p, !0), a = le(i.polygon);
|
|
6637
6663
|
if (e.testMode) {
|
|
6638
|
-
let e =
|
|
6664
|
+
let e = se(a);
|
|
6639
6665
|
console.log("rt1:"), console.log(e);
|
|
6640
6666
|
}
|
|
6641
6667
|
return {
|
|
@@ -6643,10 +6669,11 @@ function Kc(e) {
|
|
|
6643
6669
|
center: {
|
|
6644
6670
|
x: i.box.minX + (i.box.maxX - i.box.minX) / 2,
|
|
6645
6671
|
y: i.box.minY + (i.box.maxY - i.box.minY) / 2
|
|
6646
|
-
}
|
|
6672
|
+
},
|
|
6673
|
+
scaledTrademark: i.trademark
|
|
6647
6674
|
};
|
|
6648
6675
|
}
|
|
6649
|
-
let
|
|
6676
|
+
let H = i(() => p.length < 2 ? {
|
|
6650
6677
|
polygon: [],
|
|
6651
6678
|
box: {
|
|
6652
6679
|
minX: 0,
|
|
@@ -6659,123 +6686,124 @@ function Kc(e) {
|
|
|
6659
6686
|
he,
|
|
6660
6687
|
R.context.SH,
|
|
6661
6688
|
R.context.SL
|
|
6662
|
-
]),
|
|
6663
|
-
if (
|
|
6664
|
-
e.beginPath(), e.strokeStyle = "green", e.lineWidth = 3, e.fillStyle = "rgba(255, 0, 0, 0.3)", e.moveTo(
|
|
6665
|
-
for (let t of
|
|
6666
|
-
return e.closePath(), e.fill(), e.stroke(),
|
|
6667
|
-
}, [
|
|
6668
|
-
if (R.value !== "Shape defined" && R.value !== "Trademark defined" ||
|
|
6689
|
+
]), _e = n((e) => {
|
|
6690
|
+
if (H.polygon.length === 0) return H;
|
|
6691
|
+
e.beginPath(), e.strokeStyle = "green", e.lineWidth = 3, e.fillStyle = "rgba(255, 0, 0, 0.3)", e.moveTo(H.polygon[0].x, H.polygon[0].y);
|
|
6692
|
+
for (let t of H.polygon) e.lineTo(t.x, t.y);
|
|
6693
|
+
return e.closePath(), e.fill(), e.stroke(), H;
|
|
6694
|
+
}, [H]), ve = n((e = .9) => {
|
|
6695
|
+
if (R.value !== "Shape defined" && R.value !== "Trademark defined" || H.polygon.length === 0) return {
|
|
6669
6696
|
points: [],
|
|
6670
6697
|
center: {
|
|
6671
6698
|
x: 0,
|
|
6672
6699
|
y: 0
|
|
6673
6700
|
}
|
|
6674
6701
|
};
|
|
6675
|
-
let { polygon:
|
|
6676
|
-
x: (
|
|
6677
|
-
y: (
|
|
6678
|
-
};
|
|
6702
|
+
let { polygon: t, box: n } = H, r = {
|
|
6703
|
+
x: (n.minX + n.maxX) / 2,
|
|
6704
|
+
y: (n.minY + n.maxY) / 2
|
|
6705
|
+
}, i = e, a = e;
|
|
6679
6706
|
return {
|
|
6680
|
-
points:
|
|
6681
|
-
x: (e.x -
|
|
6682
|
-
y: (e.y -
|
|
6707
|
+
points: t.map((e) => ({
|
|
6708
|
+
x: (e.x - r.x) * i + r.x,
|
|
6709
|
+
y: (e.y - r.y) * a + r.y
|
|
6683
6710
|
})).slice(40, 80),
|
|
6684
|
-
center:
|
|
6711
|
+
center: r
|
|
6685
6712
|
};
|
|
6686
|
-
}, [
|
|
6687
|
-
function
|
|
6713
|
+
}, [H, R.value]);
|
|
6714
|
+
function U(e, t, n) {
|
|
6688
6715
|
e.strokeStyle = "red", e.lineWidth = 3, n ? e.setLineDash([4, 3]) : e.setLineDash([]), e.beginPath(), e.moveTo(t[0].x, t[0].y), e.lineTo(n?.x ?? t[1].x, n?.y ?? t[1].y), e.stroke(), n && e.setLineDash([]);
|
|
6689
6716
|
}
|
|
6690
|
-
let
|
|
6691
|
-
let
|
|
6692
|
-
if (!
|
|
6693
|
-
let
|
|
6694
|
-
x === 0 ?
|
|
6695
|
-
let
|
|
6696
|
-
x:
|
|
6697
|
-
y:
|
|
6717
|
+
let ye = n((t, n) => {
|
|
6718
|
+
let r = s.current, i = u.current;
|
|
6719
|
+
if (!r || !i) return [];
|
|
6720
|
+
let a = r.getContext("2d");
|
|
6721
|
+
x === 0 ? a.drawImage(i, 0, 0) : (a.clearRect(0, 0, r.width, r.height), a.save(), a.translate(r.width / 2, r.height / 2), a.rotate(x), a.drawImage(i, -i.naturalWidth / 2, -i.naturalHeight / 2), a.restore()), a.setLineDash([]);
|
|
6722
|
+
let o = {
|
|
6723
|
+
x: r.width / 2,
|
|
6724
|
+
y: r.height / 2
|
|
6698
6725
|
};
|
|
6699
|
-
switch (Gc(
|
|
6726
|
+
switch (Gc(t, x, o), R.value) {
|
|
6700
6727
|
case Io:
|
|
6701
6728
|
case Lo: break;
|
|
6702
6729
|
case Ro:
|
|
6703
|
-
re(
|
|
6730
|
+
re(a);
|
|
6704
6731
|
break;
|
|
6705
6732
|
case zo:
|
|
6706
|
-
B(
|
|
6733
|
+
B(a, p, "orange"), V(a, p, "magenta", !0);
|
|
6707
6734
|
break;
|
|
6708
6735
|
case Bo:
|
|
6709
6736
|
{
|
|
6710
|
-
let { points:
|
|
6711
|
-
if (oe(
|
|
6712
|
-
let
|
|
6737
|
+
let { points: t, center: r } = ve(e.trademarkLineScale);
|
|
6738
|
+
if (oe(a, t, r, "red"), n && t.length > 0) {
|
|
6739
|
+
let e = t[ae(n, t)], r = [
|
|
6713
6740
|
{
|
|
6714
|
-
x:
|
|
6715
|
-
y:
|
|
6741
|
+
x: e.x + 10,
|
|
6742
|
+
y: e.y
|
|
6716
6743
|
},
|
|
6717
6744
|
{
|
|
6718
|
-
x:
|
|
6719
|
-
y:
|
|
6745
|
+
x: e.x,
|
|
6746
|
+
y: e.y + 10
|
|
6720
6747
|
},
|
|
6721
6748
|
{
|
|
6722
|
-
x:
|
|
6723
|
-
y:
|
|
6749
|
+
x: e.x - 10,
|
|
6750
|
+
y: e.y
|
|
6724
6751
|
},
|
|
6725
6752
|
{
|
|
6726
|
-
x:
|
|
6727
|
-
y:
|
|
6753
|
+
x: e.x,
|
|
6754
|
+
y: e.y - 10
|
|
6728
6755
|
}
|
|
6729
6756
|
];
|
|
6730
|
-
|
|
6757
|
+
V(a, r, "black"), z(a);
|
|
6731
6758
|
}
|
|
6732
6759
|
}
|
|
6733
6760
|
break;
|
|
6734
6761
|
case Vo:
|
|
6735
6762
|
{
|
|
6736
|
-
let { points:
|
|
6737
|
-
if (oe(
|
|
6738
|
-
let
|
|
6763
|
+
let { points: t, center: r } = ve(e.trademarkLineScale);
|
|
6764
|
+
if (oe(a, t, r, "red"), n && t.length > 0) {
|
|
6765
|
+
let e = t[ae(n, t)], r = [
|
|
6739
6766
|
{
|
|
6740
|
-
x:
|
|
6741
|
-
y:
|
|
6767
|
+
x: e.x + 10,
|
|
6768
|
+
y: e.y
|
|
6742
6769
|
},
|
|
6743
6770
|
{
|
|
6744
|
-
x:
|
|
6745
|
-
y:
|
|
6771
|
+
x: e.x,
|
|
6772
|
+
y: e.y + 10
|
|
6746
6773
|
},
|
|
6747
6774
|
{
|
|
6748
|
-
x:
|
|
6749
|
-
y:
|
|
6775
|
+
x: e.x - 10,
|
|
6776
|
+
y: e.y
|
|
6750
6777
|
},
|
|
6751
6778
|
{
|
|
6752
|
-
x:
|
|
6753
|
-
y:
|
|
6779
|
+
x: e.x,
|
|
6780
|
+
y: e.y - 10
|
|
6754
6781
|
}
|
|
6755
6782
|
];
|
|
6756
|
-
|
|
6783
|
+
V(a, r, "black"), z(a);
|
|
6757
6784
|
}
|
|
6758
6785
|
}
|
|
6759
|
-
z(
|
|
6786
|
+
z(a);
|
|
6760
6787
|
break;
|
|
6761
6788
|
case Ho:
|
|
6762
|
-
z(
|
|
6789
|
+
z(a);
|
|
6763
6790
|
break;
|
|
6764
6791
|
default: console.log(`unknown state: ${R.value}`);
|
|
6765
6792
|
}
|
|
6766
|
-
let { polygon:
|
|
6767
|
-
if (
|
|
6768
|
-
let
|
|
6769
|
-
|
|
6793
|
+
let { polygon: c } = _e(a);
|
|
6794
|
+
if (t.length === 2 && (R.value === "Image cropped" || R.value === "X-axis started") && U(a, Gc(t, x, o)), t.length === 1 && R.value === "X-axis started" && n) {
|
|
6795
|
+
let e = Wc(n, x, o);
|
|
6796
|
+
U(a, Gc(t, x, o), e);
|
|
6770
6797
|
}
|
|
6771
|
-
return
|
|
6798
|
+
return c;
|
|
6772
6799
|
}, [
|
|
6773
6800
|
p,
|
|
6774
6801
|
re,
|
|
6775
|
-
se,
|
|
6776
6802
|
V,
|
|
6803
|
+
_e,
|
|
6777
6804
|
B,
|
|
6778
6805
|
z,
|
|
6806
|
+
e.trademarkLineScale,
|
|
6779
6807
|
x,
|
|
6780
6808
|
R.value,
|
|
6781
6809
|
ve
|
|
@@ -6793,8 +6821,8 @@ function Kc(e) {
|
|
|
6793
6821
|
e && (e.width = t.naturalWidth, e.height = t.naturalHeight, e.getContext("2d")?.drawImage(t, 0, 0), u.current = t);
|
|
6794
6822
|
}, t.src = e.dataUrl;
|
|
6795
6823
|
}, [e.dataUrl]), r(() => {
|
|
6796
|
-
|
|
6797
|
-
}, [d,
|
|
6824
|
+
ye(d);
|
|
6825
|
+
}, [d, ye]), r(() => {
|
|
6798
6826
|
be(x);
|
|
6799
6827
|
}, [x]);
|
|
6800
6828
|
function xe(t) {
|
|
@@ -6847,16 +6875,13 @@ function Kc(e) {
|
|
|
6847
6875
|
]);
|
|
6848
6876
|
}
|
|
6849
6877
|
function Te() {
|
|
6850
|
-
if (!
|
|
6851
|
-
if (!
|
|
6852
|
-
let { points: t, center: n } = ge(
|
|
6878
|
+
if (!Le) throw Error("SL is undefined");
|
|
6879
|
+
if (!Re) throw Error("SH is undefined");
|
|
6880
|
+
let { points: t, center: n, scaledTrademark: r } = ge(Le, Re, O);
|
|
6853
6881
|
if (R.value === "Points defined") e.actor.send({ type: ns });
|
|
6854
6882
|
else if (R.value === "Shape defined") e.actor.send({ type: Uo });
|
|
6855
6883
|
else if (R.value === "Trademark defined") e.actor.send({ type: Uo });
|
|
6856
|
-
else if (R.value === "Finished") e.onCloseModal(x, p, t,
|
|
6857
|
-
x: O.x - n.x,
|
|
6858
|
-
y: O.y - n.y
|
|
6859
|
-
} : void 0)(), e.actor.send({ type: Wo });
|
|
6884
|
+
else if (R.value === "Finished") e.onCloseModal(x, p, t, r)(), e.actor.send({ type: Wo });
|
|
6860
6885
|
else throw Error(`Unexpected state: ${R.value}`);
|
|
6861
6886
|
}
|
|
6862
6887
|
function Ee() {
|
|
@@ -6881,7 +6906,17 @@ function Kc(e) {
|
|
|
6881
6906
|
s < r && (r = s, n = i);
|
|
6882
6907
|
}), n;
|
|
6883
6908
|
}
|
|
6884
|
-
function je(t) {
|
|
6909
|
+
function je(t, n, r) {
|
|
6910
|
+
if (n) k(void 0), e.actor.send({ type: r });
|
|
6911
|
+
else {
|
|
6912
|
+
let { points: n } = ve(e.trademarkLineScale), r = n[ae(t, n)];
|
|
6913
|
+
k(r), e.actor.send({
|
|
6914
|
+
type: ts,
|
|
6915
|
+
trademark: r
|
|
6916
|
+
});
|
|
6917
|
+
}
|
|
6918
|
+
}
|
|
6919
|
+
function Me(t) {
|
|
6885
6920
|
let n = e.actor.getSnapshot(), r = s.current;
|
|
6886
6921
|
if (!r || !u.current) return;
|
|
6887
6922
|
let i = Ce(r, t), a = t.button === 2;
|
|
@@ -6917,49 +6952,35 @@ function Kc(e) {
|
|
|
6917
6952
|
}
|
|
6918
6953
|
break;
|
|
6919
6954
|
case Bo:
|
|
6920
|
-
|
|
6921
|
-
else {
|
|
6922
|
-
let { points: t } = ve, n = t[ae(i, t)];
|
|
6923
|
-
k(n), e.actor.send({
|
|
6924
|
-
type: ts,
|
|
6925
|
-
trademark: n
|
|
6926
|
-
});
|
|
6927
|
-
}
|
|
6955
|
+
je(i, a, rs);
|
|
6928
6956
|
break;
|
|
6929
6957
|
case Vo:
|
|
6930
|
-
|
|
6931
|
-
else {
|
|
6932
|
-
let { points: t } = ve, n = t[ae(i, t)];
|
|
6933
|
-
k(n), e.actor.send({
|
|
6934
|
-
type: ts,
|
|
6935
|
-
trademark: n
|
|
6936
|
-
});
|
|
6937
|
-
}
|
|
6958
|
+
je(i, a, is);
|
|
6938
6959
|
break;
|
|
6939
6960
|
case Ho:
|
|
6940
|
-
|
|
6961
|
+
a && e.actor.send({ type: as });
|
|
6941
6962
|
break;
|
|
6942
6963
|
default: console.log(`handleMouseDown: unhandled state ${n.value}`);
|
|
6943
6964
|
}
|
|
6944
6965
|
}
|
|
6945
|
-
function
|
|
6966
|
+
function Ne(e) {
|
|
6946
6967
|
let t = s.current;
|
|
6947
6968
|
if (!t || !u.current) return;
|
|
6948
6969
|
let n = Ce(t, e);
|
|
6949
|
-
|
|
6970
|
+
ye(d, n);
|
|
6950
6971
|
}
|
|
6951
|
-
function
|
|
6952
|
-
|
|
6972
|
+
function Pe() {
|
|
6973
|
+
ye(d);
|
|
6953
6974
|
}
|
|
6954
|
-
function
|
|
6975
|
+
function Fe(e) {
|
|
6955
6976
|
e.preventDefault();
|
|
6956
6977
|
}
|
|
6957
|
-
let
|
|
6978
|
+
let Ie = (e) => {
|
|
6958
6979
|
D(e.target.checked);
|
|
6959
|
-
},
|
|
6980
|
+
}, Le = e.actor.getSnapshot().context.SL, Re = e.actor.getSnapshot().context.SH, ze = e.actor.getSnapshot().context.AZG, W, Be = !1;
|
|
6960
6981
|
switch (R.value) {
|
|
6961
6982
|
case Io:
|
|
6962
|
-
|
|
6983
|
+
W = "imageCropped", Be = !0;
|
|
6963
6984
|
break;
|
|
6964
6985
|
case Lo:
|
|
6965
6986
|
Be = !0;
|
|
@@ -6968,23 +6989,23 @@ function Kc(e) {
|
|
|
6968
6989
|
Be = !0;
|
|
6969
6990
|
break;
|
|
6970
6991
|
case zo:
|
|
6971
|
-
|
|
6992
|
+
W = "confirmShape", p.length <= 3 && (Be = !0);
|
|
6972
6993
|
break;
|
|
6973
6994
|
case Vo:
|
|
6974
|
-
|
|
6995
|
+
W = "confirmTrademark";
|
|
6975
6996
|
break;
|
|
6976
6997
|
case Bo:
|
|
6977
|
-
|
|
6998
|
+
W = "withoutTrademark";
|
|
6978
6999
|
break;
|
|
6979
7000
|
case No:
|
|
6980
|
-
|
|
7001
|
+
W = "finishActionReally";
|
|
6981
7002
|
break;
|
|
6982
7003
|
case Ho:
|
|
6983
|
-
|
|
7004
|
+
W = "finished";
|
|
6984
7005
|
break;
|
|
6985
|
-
default:
|
|
7006
|
+
default: W = "unknownState";
|
|
6986
7007
|
}
|
|
6987
|
-
let Ve = te(`main.identify.button.${
|
|
7008
|
+
let Ve = te(`main.identify.button.${W}`, { defaultValue: `main.identify.button.${W}` });
|
|
6988
7009
|
return /* @__PURE__ */ c(Mo, {
|
|
6989
7010
|
"data-testid": `${t}.Modal`,
|
|
6990
7011
|
sx: {
|
|
@@ -7018,10 +7039,10 @@ function Kc(e) {
|
|
|
7018
7039
|
maxHeight: "70vh",
|
|
7019
7040
|
cursor: "crosshair"
|
|
7020
7041
|
},
|
|
7021
|
-
onMouseDown:
|
|
7022
|
-
onMouseMove:
|
|
7023
|
-
onMouseLeave:
|
|
7024
|
-
onContextMenu:
|
|
7042
|
+
onMouseDown: Me,
|
|
7043
|
+
onMouseMove: Ne,
|
|
7044
|
+
onMouseLeave: Pe,
|
|
7045
|
+
onContextMenu: Fe
|
|
7025
7046
|
}),
|
|
7026
7047
|
/* @__PURE__ */ l("div", {
|
|
7027
7048
|
className: "modal-content",
|
|
@@ -7041,13 +7062,13 @@ function Kc(e) {
|
|
|
7041
7062
|
},
|
|
7042
7063
|
children: [
|
|
7043
7064
|
"SL: ",
|
|
7044
|
-
Ie,
|
|
7045
|
-
", SH: ",
|
|
7046
7065
|
Le,
|
|
7066
|
+
", SH: ",
|
|
7067
|
+
Re,
|
|
7047
7068
|
" -> [",
|
|
7048
|
-
|
|
7069
|
+
Le && Re && Re !== 0 ? (Le / Re).toFixed(3) : 0,
|
|
7049
7070
|
"], AZG: ",
|
|
7050
|
-
|
|
7071
|
+
ze
|
|
7051
7072
|
]
|
|
7052
7073
|
}),
|
|
7053
7074
|
/* @__PURE__ */ l(C, {
|
|
@@ -7072,7 +7093,7 @@ function Kc(e) {
|
|
|
7072
7093
|
control: /* @__PURE__ */ c(b, {
|
|
7073
7094
|
"data-testid": `${t}.Switch`,
|
|
7074
7095
|
checked: E,
|
|
7075
|
-
onChange:
|
|
7096
|
+
onChange: Ie
|
|
7076
7097
|
}),
|
|
7077
7098
|
label: /* @__PURE__ */ c(C, {
|
|
7078
7099
|
sx: {
|