@wandelbots/wandelbots-js-react-components 1.4.2 → 1.4.3
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/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/index.cjs +25 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +503 -500
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/robots/SupportedRobot.tsx +3 -0
package/dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import * as J from "react";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { createHighlighter as
|
|
5
|
-
import { shikiToMonaco as
|
|
6
|
-
import { useTheme as
|
|
7
|
-
import { Globals as
|
|
8
|
-
import { useGLTF as De, Line as
|
|
9
|
-
import { useThree as
|
|
10
|
-
import { reaction as
|
|
11
|
-
import * as
|
|
12
|
-
import { Matrix4 as yr, Vector3 as da, Quaternion as
|
|
13
|
-
import { ConvexGeometry as
|
|
2
|
+
import Es, { useEffect as $t, useRef as Pr, Suspense as al, useState as Bo, forwardRef as Pn } from "react";
|
|
3
|
+
import sl, { useMonaco as il } from "@monaco-editor/react";
|
|
4
|
+
import { createHighlighter as ll } from "shiki";
|
|
5
|
+
import { shikiToMonaco as cl } from "@shikijs/monaco";
|
|
6
|
+
import { useTheme as As, Button as ia, Typography as et, IconButton as la, Slider as ul, Select as dl, Stack as Me, InputLabel as Qn, MenuItem as Gr, Divider as ca, ToggleButtonGroup as fl, ToggleButton as ua, CircularProgress as hl, Tabs as ml, Tab as pl, Paper as gl } from "@mui/material";
|
|
7
|
+
import { Globals as yl, useSpring as bl, animated as x } from "@react-spring/three";
|
|
8
|
+
import { useGLTF as De, Line as _l, Environment as vl, Lightformer as Lt } from "@react-three/drei";
|
|
9
|
+
import { useThree as Sl } from "@react-three/fiber";
|
|
10
|
+
import { reaction as xl, autorun as Os, makeAutoObservable as wl, runInAction as Rl } from "mobx";
|
|
11
|
+
import * as jl from "three";
|
|
12
|
+
import { Matrix4 as yr, Vector3 as da, Quaternion as Cl } from "three";
|
|
13
|
+
import { ConvexGeometry as Pl } from "three-stdlib";
|
|
14
14
|
import { observer as _t, useLocalObservable as Jo } from "mobx-react-lite";
|
|
15
|
-
import
|
|
16
|
-
import { CacheProvider as
|
|
17
|
-
import { initReactI18next as
|
|
18
|
-
import { ChevronLeft as
|
|
19
|
-
import
|
|
20
|
-
import { poseToWandelscriptString as
|
|
21
|
-
import { defaultsDeep as on, isNumber as
|
|
22
|
-
function
|
|
15
|
+
import El from "@emotion/styled";
|
|
16
|
+
import { CacheProvider as Al, Global as Ol, ThemeContext as Ts, css as Tl, keyframes as Ml } from "@emotion/react";
|
|
17
|
+
import { initReactI18next as Il, useTranslation as nr, I18nextProvider as kl } from "react-i18next";
|
|
18
|
+
import { ChevronLeft as Ll, ChevronRight as $l } from "@mui/icons-material";
|
|
19
|
+
import Nl from "i18next-browser-languagedetector";
|
|
20
|
+
import { poseToWandelscriptString as Fl, radiansToDegrees as nn, tryParseJson as Dl } from "@wandelbots/wandelbots-js";
|
|
21
|
+
import { defaultsDeep as on, isNumber as Ul, isEqual as Bl, keyBy as Hr } from "lodash-es";
|
|
22
|
+
function Jl(e) {
|
|
23
23
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
24
24
|
}
|
|
25
25
|
function Et(e) {
|
|
@@ -52,10 +52,10 @@ var So = { exports: {} }, br = {};
|
|
|
52
52
|
* LICENSE file in the root directory of this source tree.
|
|
53
53
|
*/
|
|
54
54
|
var fa;
|
|
55
|
-
function
|
|
55
|
+
function Vl() {
|
|
56
56
|
if (fa) return br;
|
|
57
57
|
fa = 1;
|
|
58
|
-
var e =
|
|
58
|
+
var e = Es, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
59
59
|
function i(l, c, u) {
|
|
60
60
|
var d, h = {}, f = null, _ = null;
|
|
61
61
|
u !== void 0 && (f = "" + u), c.key !== void 0 && (f = "" + c.key), c.ref !== void 0 && (_ = c.ref);
|
|
@@ -76,9 +76,9 @@ var _r = {};
|
|
|
76
76
|
* LICENSE file in the root directory of this source tree.
|
|
77
77
|
*/
|
|
78
78
|
var ha;
|
|
79
|
-
function
|
|
79
|
+
function zl() {
|
|
80
80
|
return ha || (ha = 1, process.env.NODE_ENV !== "production" && function() {
|
|
81
|
-
var e =
|
|
81
|
+
var e = Es, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), g = Symbol.iterator, y = "@@iterator";
|
|
82
82
|
function b(m) {
|
|
83
83
|
if (m === null || typeof m != "object")
|
|
84
84
|
return null;
|
|
@@ -643,17 +643,17 @@ Check the top-level render call using <` + L + ">.");
|
|
|
643
643
|
Vt(nt, m);
|
|
644
644
|
}
|
|
645
645
|
if (Pe.call(j, "key")) {
|
|
646
|
-
var kt = Z(m), Ke = Object.keys(j).filter(function(
|
|
647
|
-
return
|
|
646
|
+
var kt = Z(m), Ke = Object.keys(j).filter(function(ol) {
|
|
647
|
+
return ol !== "key";
|
|
648
648
|
}), Zn = Ke.length > 0 ? "{key: someKey, " + Ke.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
649
649
|
if (!zr[kt + Zn]) {
|
|
650
|
-
var
|
|
650
|
+
var nl = Ke.length > 0 ? "{" + Ke.join(": ..., ") + ": ...}" : "{}";
|
|
651
651
|
C(`A props object containing a "key" prop is being spread into JSX:
|
|
652
652
|
let props = %s;
|
|
653
653
|
<%s {...props} />
|
|
654
654
|
React keys must be passed directly to JSX without using spread:
|
|
655
655
|
let props = %s;
|
|
656
|
-
<%s key={someKey} {...props} />`, Zn, kt,
|
|
656
|
+
<%s key={someKey} {...props} />`, Zn, kt, nl, kt), zr[kt + Zn] = !0;
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
659
|
return m === n ? Kn(Le) : Hn(Le), Le;
|
|
@@ -669,9 +669,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
669
669
|
_r.Fragment = n, _r.jsx = gr, _r.jsxs = Yn;
|
|
670
670
|
}()), _r;
|
|
671
671
|
}
|
|
672
|
-
process.env.NODE_ENV === "production" ? So.exports =
|
|
672
|
+
process.env.NODE_ENV === "production" ? So.exports = Vl() : So.exports = zl();
|
|
673
673
|
var s = So.exports;
|
|
674
|
-
const
|
|
674
|
+
const Wl = {
|
|
675
675
|
$schema: "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
676
676
|
name: "wandelscript",
|
|
677
677
|
patterns: [
|
|
@@ -731,7 +731,7 @@ const zl = {
|
|
|
731
731
|
},
|
|
732
732
|
scopeName: "source.wandelscript"
|
|
733
733
|
}, eo = "dark-plus", dp = (e) => {
|
|
734
|
-
const t =
|
|
734
|
+
const t = il(), r = As();
|
|
735
735
|
async function n(o) {
|
|
736
736
|
o.languages.register({ id: "wandelscript" }), o.languages.setLanguageConfiguration("wandelscript", {
|
|
737
737
|
comments: {
|
|
@@ -750,13 +750,13 @@ const zl = {
|
|
|
750
750
|
{ open: "(", close: ")" }
|
|
751
751
|
]
|
|
752
752
|
});
|
|
753
|
-
const a = await
|
|
753
|
+
const a = await ll({
|
|
754
754
|
// Our textmate grammar doesn't quite conform to the expected type
|
|
755
755
|
// here; I'm not sure what the missing properties mean exactly
|
|
756
|
-
langs: [
|
|
756
|
+
langs: [Wl],
|
|
757
757
|
themes: [eo]
|
|
758
758
|
});
|
|
759
|
-
|
|
759
|
+
cl(a, o), o.editor.defineTheme(eo, {
|
|
760
760
|
base: r.palette.mode === "dark" ? "vs-dark" : "vs",
|
|
761
761
|
inherit: !0,
|
|
762
762
|
rules: [],
|
|
@@ -770,7 +770,7 @@ const zl = {
|
|
|
770
770
|
return $t(() => {
|
|
771
771
|
t && n(t);
|
|
772
772
|
}, [t]), t ? /* @__PURE__ */ s.jsx(
|
|
773
|
-
|
|
773
|
+
sl,
|
|
774
774
|
{
|
|
775
775
|
value: e.code,
|
|
776
776
|
onChange: e.onChange,
|
|
@@ -784,26 +784,26 @@ const zl = {
|
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
786
|
) : null;
|
|
787
|
-
},
|
|
788
|
-
function
|
|
789
|
-
return e.children.length === 0 ? [e] : [e, ...e.children.flatMap((t) =>
|
|
787
|
+
}, Gl = "(^joint_[0-9]+$)|(_J[0-9]+$)";
|
|
788
|
+
function Ms(e) {
|
|
789
|
+
return e.children.length === 0 ? [e] : [e, ...e.children.flatMap((t) => Ms(t))];
|
|
790
790
|
}
|
|
791
|
-
function
|
|
792
|
-
return new RegExp(t ??
|
|
791
|
+
function Hl(e, t) {
|
|
792
|
+
return new RegExp(t ?? Gl).test(e);
|
|
793
793
|
}
|
|
794
|
-
function
|
|
795
|
-
return
|
|
796
|
-
(r) =>
|
|
794
|
+
function Is(e, t) {
|
|
795
|
+
return Ms(e).filter(
|
|
796
|
+
(r) => Hl(r.name, t)
|
|
797
797
|
);
|
|
798
798
|
}
|
|
799
799
|
function Vo(e) {
|
|
800
800
|
$t(e, []);
|
|
801
801
|
}
|
|
802
|
-
function
|
|
803
|
-
Vo(() =>
|
|
802
|
+
function Kl(e) {
|
|
803
|
+
Vo(() => Os(e));
|
|
804
804
|
}
|
|
805
|
-
function
|
|
806
|
-
Vo(() =>
|
|
805
|
+
function ql(e, t, r) {
|
|
806
|
+
Vo(() => xl(e, t, r));
|
|
807
807
|
}
|
|
808
808
|
function kr(e) {
|
|
809
809
|
return Vo(() => {
|
|
@@ -822,11 +822,11 @@ function Fe({
|
|
|
822
822
|
onRotationChanged: r,
|
|
823
823
|
jointCollector: n
|
|
824
824
|
}) {
|
|
825
|
-
|
|
826
|
-
const o = Pr([]), a = Pr([]), { scene: i, invalidate: l } =
|
|
825
|
+
yl.assign({ frameLoop: "always" });
|
|
826
|
+
const o = Pr([]), a = Pr([]), { scene: i, invalidate: l } = Sl();
|
|
827
827
|
$t(() => {
|
|
828
828
|
const f = i.getObjectByName(t);
|
|
829
|
-
f && (a.current = n ? n(f) :
|
|
829
|
+
f && (a.current = n ? n(f) : Is(f), u(), l());
|
|
830
830
|
}, []);
|
|
831
831
|
function c(f) {
|
|
832
832
|
o.current = f, h.start(Object.assign({}, o.current));
|
|
@@ -837,13 +837,13 @@ function Fe({
|
|
|
837
837
|
);
|
|
838
838
|
r(a.current, f);
|
|
839
839
|
}
|
|
840
|
-
|
|
840
|
+
Kl(() => {
|
|
841
841
|
const f = e.state.joint_position.joints.filter(
|
|
842
842
|
(_) => _ !== void 0
|
|
843
843
|
);
|
|
844
844
|
requestAnimationFrame(() => c(f));
|
|
845
845
|
});
|
|
846
|
-
const [d, h] =
|
|
846
|
+
const [d, h] = bl(() => ({
|
|
847
847
|
...Object.assign(
|
|
848
848
|
{},
|
|
849
849
|
e.state.joint_position.joints
|
|
@@ -857,7 +857,7 @@ function Fe({
|
|
|
857
857
|
}));
|
|
858
858
|
return null;
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function Xl({
|
|
861
861
|
modelURL: e,
|
|
862
862
|
rapidlyChangingMotionState: t,
|
|
863
863
|
...r
|
|
@@ -989,7 +989,7 @@ function ql({
|
|
|
989
989
|
] }) }) })
|
|
990
990
|
] });
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function Yl({
|
|
993
993
|
modelURL: e,
|
|
994
994
|
rapidlyChangingMotionState: t,
|
|
995
995
|
...r
|
|
@@ -1121,7 +1121,7 @@ function Xl({
|
|
|
1121
1121
|
] }) }) })
|
|
1122
1122
|
] });
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function Zl({
|
|
1125
1125
|
modelURL: e,
|
|
1126
1126
|
rapidlyChangingMotionState: t,
|
|
1127
1127
|
...r
|
|
@@ -1253,7 +1253,7 @@ function Yl({
|
|
|
1253
1253
|
] }) }) })
|
|
1254
1254
|
] });
|
|
1255
1255
|
}
|
|
1256
|
-
function
|
|
1256
|
+
function Ql({
|
|
1257
1257
|
modelURL: e,
|
|
1258
1258
|
rapidlyChangingMotionState: t,
|
|
1259
1259
|
...r
|
|
@@ -1603,7 +1603,7 @@ function Zl({
|
|
|
1603
1603
|
] }) }) })
|
|
1604
1604
|
] });
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1606
|
+
function ec({
|
|
1607
1607
|
modelURL: e,
|
|
1608
1608
|
rapidlyChangingMotionState: t,
|
|
1609
1609
|
...r
|
|
@@ -1735,7 +1735,7 @@ function Ql({
|
|
|
1735
1735
|
] }) }) })
|
|
1736
1736
|
] });
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1738
|
+
function tc({
|
|
1739
1739
|
modelURL: e,
|
|
1740
1740
|
rapidlyChangingMotionState: t,
|
|
1741
1741
|
...r
|
|
@@ -2260,7 +2260,7 @@ function ma({
|
|
|
2260
2260
|
] }) }) })
|
|
2261
2261
|
] });
|
|
2262
2262
|
}
|
|
2263
|
-
function
|
|
2263
|
+
function rc({
|
|
2264
2264
|
modelURL: e,
|
|
2265
2265
|
rapidlyChangingMotionState: t,
|
|
2266
2266
|
...r
|
|
@@ -2451,7 +2451,7 @@ function tc({
|
|
|
2451
2451
|
] }) }) })
|
|
2452
2452
|
] });
|
|
2453
2453
|
}
|
|
2454
|
-
function
|
|
2454
|
+
function nc({
|
|
2455
2455
|
modelURL: e,
|
|
2456
2456
|
rapidlyChangingMotionState: t,
|
|
2457
2457
|
...r
|
|
@@ -2669,7 +2669,7 @@ function rc({
|
|
|
2669
2669
|
] }) })
|
|
2670
2670
|
] });
|
|
2671
2671
|
}
|
|
2672
|
-
function
|
|
2672
|
+
function oc({
|
|
2673
2673
|
modelURL: e,
|
|
2674
2674
|
rapidlyChangingMotionState: t,
|
|
2675
2675
|
...r
|
|
@@ -2871,7 +2871,7 @@ function nc({
|
|
|
2871
2871
|
] }) }) })
|
|
2872
2872
|
] });
|
|
2873
2873
|
}
|
|
2874
|
-
function
|
|
2874
|
+
function ac({
|
|
2875
2875
|
modelURL: e,
|
|
2876
2876
|
rapidlyChangingMotionState: t,
|
|
2877
2877
|
...r
|
|
@@ -3080,7 +3080,7 @@ function oc({
|
|
|
3080
3080
|
] }) })
|
|
3081
3081
|
] });
|
|
3082
3082
|
}
|
|
3083
|
-
function
|
|
3083
|
+
function sc({
|
|
3084
3084
|
modelURL: e,
|
|
3085
3085
|
rapidlyChangingMotionState: t,
|
|
3086
3086
|
...r
|
|
@@ -3301,7 +3301,7 @@ function ac({
|
|
|
3301
3301
|
] }) })
|
|
3302
3302
|
] });
|
|
3303
3303
|
}
|
|
3304
|
-
function
|
|
3304
|
+
function ic({
|
|
3305
3305
|
modelURL: e,
|
|
3306
3306
|
rapidlyChangingMotionState: t,
|
|
3307
3307
|
...r
|
|
@@ -3517,7 +3517,7 @@ function sc({
|
|
|
3517
3517
|
] }) })
|
|
3518
3518
|
] });
|
|
3519
3519
|
}
|
|
3520
|
-
function
|
|
3520
|
+
function lc({
|
|
3521
3521
|
modelURL: e,
|
|
3522
3522
|
rapidlyChangingMotionState: t,
|
|
3523
3523
|
...r
|
|
@@ -3756,7 +3756,7 @@ function ic({
|
|
|
3756
3756
|
] }) })
|
|
3757
3757
|
] });
|
|
3758
3758
|
}
|
|
3759
|
-
function
|
|
3759
|
+
function cc({
|
|
3760
3760
|
modelURL: e,
|
|
3761
3761
|
rapidlyChangingMotionState: t,
|
|
3762
3762
|
...r
|
|
@@ -4131,7 +4131,7 @@ function lc({
|
|
|
4131
4131
|
] }) }) })
|
|
4132
4132
|
] });
|
|
4133
4133
|
}
|
|
4134
|
-
function
|
|
4134
|
+
function uc({
|
|
4135
4135
|
modelURL: e,
|
|
4136
4136
|
rapidlyChangingMotionState: t,
|
|
4137
4137
|
...r
|
|
@@ -4439,7 +4439,7 @@ function cc({
|
|
|
4439
4439
|
] }) }) })
|
|
4440
4440
|
] });
|
|
4441
4441
|
}
|
|
4442
|
-
function
|
|
4442
|
+
function dc({
|
|
4443
4443
|
modelURL: e,
|
|
4444
4444
|
rapidlyChangingMotionState: t,
|
|
4445
4445
|
...r
|
|
@@ -4681,7 +4681,7 @@ function uc({
|
|
|
4681
4681
|
] }) }) })
|
|
4682
4682
|
] });
|
|
4683
4683
|
}
|
|
4684
|
-
function
|
|
4684
|
+
function pa({
|
|
4685
4685
|
modelURL: e,
|
|
4686
4686
|
rapidlyChangingMotionState: t,
|
|
4687
4687
|
...r
|
|
@@ -5083,15 +5083,15 @@ function fc({
|
|
|
5083
5083
|
] }) }) })
|
|
5084
5084
|
] });
|
|
5085
5085
|
}
|
|
5086
|
-
const
|
|
5087
|
-
function
|
|
5086
|
+
const ga = "line", ya = "mesh";
|
|
5087
|
+
function ba({
|
|
5088
5088
|
rapidlyChangingMotionState: e,
|
|
5089
5089
|
dhParameters: t,
|
|
5090
5090
|
...r
|
|
5091
5091
|
}) {
|
|
5092
5092
|
const n = new yr();
|
|
5093
5093
|
function o(c, u) {
|
|
5094
|
-
const d = new da(), h = new
|
|
5094
|
+
const d = new da(), h = new Cl(), f = new da();
|
|
5095
5095
|
n.decompose(d, h, f);
|
|
5096
5096
|
const _ = d.clone(), g = new yr().makeRotationY(
|
|
5097
5097
|
c.theta + u * (c.reverse_rotation_direction ? -1 : 1)
|
|
@@ -5111,14 +5111,14 @@ function ya({
|
|
|
5111
5111
|
n.identity(), c.forEach((d, h) => {
|
|
5112
5112
|
a(
|
|
5113
5113
|
h,
|
|
5114
|
-
d.getObjectByName(pa),
|
|
5115
5114
|
d.getObjectByName(ga),
|
|
5115
|
+
d.getObjectByName(ya),
|
|
5116
5116
|
u[h]
|
|
5117
5117
|
);
|
|
5118
5118
|
});
|
|
5119
5119
|
}
|
|
5120
5120
|
function l(c) {
|
|
5121
|
-
return
|
|
5121
|
+
return Is(c, "^group_[0-9]+$");
|
|
5122
5122
|
}
|
|
5123
5123
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
5124
5124
|
/* @__PURE__ */ s.jsx(
|
|
@@ -5142,15 +5142,15 @@ function ya({
|
|
|
5142
5142
|
);
|
|
5143
5143
|
return /* @__PURE__ */ s.jsxs("group", { name: `group_${u}`, children: [
|
|
5144
5144
|
/* @__PURE__ */ s.jsx(
|
|
5145
|
-
|
|
5145
|
+
_l,
|
|
5146
5146
|
{
|
|
5147
|
-
name:
|
|
5147
|
+
name: ga,
|
|
5148
5148
|
points: [d, h],
|
|
5149
5149
|
color: "white",
|
|
5150
5150
|
lineWidth: 5
|
|
5151
5151
|
}
|
|
5152
5152
|
),
|
|
5153
|
-
/* @__PURE__ */ s.jsxs("mesh", { name:
|
|
5153
|
+
/* @__PURE__ */ s.jsxs("mesh", { name: ya, position: h, children: [
|
|
5154
5154
|
/* @__PURE__ */ s.jsx("sphereGeometry", { args: [0.01, 32, 32] }),
|
|
5155
5155
|
/* @__PURE__ */ s.jsx("meshStandardMaterial", { color: "black", depthTest: !0 })
|
|
5156
5156
|
] }, "mesh_" + u)
|
|
@@ -5159,35 +5159,35 @@ function ya({
|
|
|
5159
5159
|
] })
|
|
5160
5160
|
] });
|
|
5161
5161
|
}
|
|
5162
|
-
function
|
|
5162
|
+
function ks(e) {
|
|
5163
5163
|
return `https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`;
|
|
5164
5164
|
}
|
|
5165
5165
|
function hc({
|
|
5166
5166
|
rapidlyChangingMotionState: e,
|
|
5167
5167
|
modelFromController: t,
|
|
5168
5168
|
dhParameters: r,
|
|
5169
|
-
getModel: n =
|
|
5169
|
+
getModel: n = ks,
|
|
5170
5170
|
...o
|
|
5171
5171
|
}) {
|
|
5172
5172
|
let a;
|
|
5173
5173
|
switch (t) {
|
|
5174
5174
|
case "UniversalRobots_UR3":
|
|
5175
|
-
a =
|
|
5175
|
+
a = Xl;
|
|
5176
5176
|
break;
|
|
5177
5177
|
case "UniversalRobots_UR3e":
|
|
5178
|
-
a =
|
|
5178
|
+
a = Yl;
|
|
5179
5179
|
break;
|
|
5180
5180
|
case "UniversalRobots_UR5":
|
|
5181
|
-
a =
|
|
5181
|
+
a = Zl;
|
|
5182
5182
|
break;
|
|
5183
5183
|
case "UniversalRobots_UR5e":
|
|
5184
|
-
a =
|
|
5184
|
+
a = Ql;
|
|
5185
5185
|
break;
|
|
5186
5186
|
case "UniversalRobots_UR10":
|
|
5187
|
-
a =
|
|
5187
|
+
a = ec;
|
|
5188
5188
|
break;
|
|
5189
5189
|
case "UniversalRobots_UR10e":
|
|
5190
|
-
a =
|
|
5190
|
+
a = tc;
|
|
5191
5191
|
break;
|
|
5192
5192
|
case "Yaskawa_AR900":
|
|
5193
5193
|
a = ma;
|
|
@@ -5196,49 +5196,52 @@ function hc({
|
|
|
5196
5196
|
a = ma;
|
|
5197
5197
|
break;
|
|
5198
5198
|
case "Yaskawa_AR1440":
|
|
5199
|
-
a =
|
|
5199
|
+
a = rc;
|
|
5200
5200
|
break;
|
|
5201
5201
|
case "Yaskawa_AR1730":
|
|
5202
|
-
a =
|
|
5202
|
+
a = nc;
|
|
5203
5203
|
break;
|
|
5204
5204
|
case "Yaskawa_AR2010":
|
|
5205
|
-
a =
|
|
5205
|
+
a = oc;
|
|
5206
5206
|
break;
|
|
5207
5207
|
case "Yaskawa_AR3120":
|
|
5208
|
-
a =
|
|
5208
|
+
a = ac;
|
|
5209
5209
|
break;
|
|
5210
5210
|
case "FANUC_CRX10iA":
|
|
5211
|
-
a =
|
|
5211
|
+
a = sc;
|
|
5212
5212
|
break;
|
|
5213
5213
|
case "FANUC_CRX25iA":
|
|
5214
|
-
a =
|
|
5214
|
+
a = ic;
|
|
5215
5215
|
break;
|
|
5216
5216
|
case "FANUC_CRX25iAL":
|
|
5217
|
-
a =
|
|
5217
|
+
a = lc;
|
|
5218
5218
|
break;
|
|
5219
5219
|
case "FANUC_ARC_Mate_120iD":
|
|
5220
|
-
a =
|
|
5220
|
+
a = pa;
|
|
5221
|
+
break;
|
|
5222
|
+
case "FANUC_ARC_Mate_120iD35":
|
|
5223
|
+
a = pa;
|
|
5221
5224
|
break;
|
|
5222
5225
|
case "FANUC_ARC_Mate_100iD":
|
|
5223
|
-
a =
|
|
5226
|
+
a = dc;
|
|
5224
5227
|
break;
|
|
5225
5228
|
case "KUKA_KR210_R2700":
|
|
5226
|
-
a =
|
|
5229
|
+
a = cc;
|
|
5227
5230
|
break;
|
|
5228
5231
|
case "KUKA_KR270_R2700":
|
|
5229
|
-
a =
|
|
5232
|
+
a = uc;
|
|
5230
5233
|
break;
|
|
5231
5234
|
case "ABB_1200_07_7":
|
|
5232
5235
|
a = fc;
|
|
5233
5236
|
break;
|
|
5234
5237
|
default:
|
|
5235
|
-
console.warn(`Unknown robot type: ${t}`), a =
|
|
5238
|
+
console.warn(`Unknown robot type: ${t}`), a = ba;
|
|
5236
5239
|
}
|
|
5237
5240
|
return /* @__PURE__ */ s.jsx(
|
|
5238
|
-
|
|
5241
|
+
al,
|
|
5239
5242
|
{
|
|
5240
5243
|
fallback: /* @__PURE__ */ s.jsx(
|
|
5241
|
-
|
|
5244
|
+
ba,
|
|
5242
5245
|
{
|
|
5243
5246
|
rapidlyChangingMotionState: e,
|
|
5244
5247
|
dhParameters: r,
|
|
@@ -5259,7 +5262,7 @@ function hc({
|
|
|
5259
5262
|
}
|
|
5260
5263
|
function fp({
|
|
5261
5264
|
connectedMotionGroup: e,
|
|
5262
|
-
getModel: t =
|
|
5265
|
+
getModel: t = ks,
|
|
5263
5266
|
...r
|
|
5264
5267
|
}) {
|
|
5265
5268
|
return e.dhParameters ? /* @__PURE__ */ s.jsx(
|
|
@@ -5275,7 +5278,7 @@ function fp({
|
|
|
5275
5278
|
}
|
|
5276
5279
|
const hp = Array(6).fill(2 * Math.PI);
|
|
5277
5280
|
function mp() {
|
|
5278
|
-
return /* @__PURE__ */ s.jsx(
|
|
5281
|
+
return /* @__PURE__ */ s.jsx(vl, { children: /* @__PURE__ */ s.jsx(mc, {}) });
|
|
5279
5282
|
}
|
|
5280
5283
|
function mc({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
|
|
5281
5284
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
@@ -5357,8 +5360,8 @@ function pp({
|
|
|
5357
5360
|
return r.geometry && (r.geometry.compound ? o = r.geometry.compound.child_geometries : r.geometry.convex_hull && (o = [r.geometry])), o.map((a, i) => {
|
|
5358
5361
|
if (!a.convex_hull) return null;
|
|
5359
5362
|
const l = a.convex_hull.vertices.map(
|
|
5360
|
-
(u) => new
|
|
5361
|
-
), c = new
|
|
5363
|
+
(u) => new jl.Vector3(u.x / 1e3, u.y / 1e3, u.z / 1e3)
|
|
5364
|
+
), c = new Pl(l);
|
|
5362
5365
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx("mesh", { geometry: c, children: /* @__PURE__ */ s.jsx(
|
|
5363
5366
|
"meshStandardMaterial",
|
|
5364
5367
|
{
|
|
@@ -5385,10 +5388,10 @@ var xo = { exports: {} }, Kr = { exports: {} }, be = {};
|
|
|
5385
5388
|
* This source code is licensed under the MIT license found in the
|
|
5386
5389
|
* LICENSE file in the root directory of this source tree.
|
|
5387
5390
|
*/
|
|
5388
|
-
var
|
|
5391
|
+
var _a;
|
|
5389
5392
|
function pc() {
|
|
5390
|
-
if (
|
|
5391
|
-
|
|
5393
|
+
if (_a) return be;
|
|
5394
|
+
_a = 1;
|
|
5392
5395
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, _ = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
5393
5396
|
function P(v) {
|
|
5394
5397
|
if (typeof v == "object" && v !== null) {
|
|
@@ -5460,9 +5463,9 @@ var _e = {};
|
|
|
5460
5463
|
* This source code is licensed under the MIT license found in the
|
|
5461
5464
|
* LICENSE file in the root directory of this source tree.
|
|
5462
5465
|
*/
|
|
5463
|
-
var
|
|
5466
|
+
var va;
|
|
5464
5467
|
function gc() {
|
|
5465
|
-
return
|
|
5468
|
+
return va || (va = 1, process.env.NODE_ENV !== "production" && function() {
|
|
5466
5469
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, _ = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
5467
5470
|
function P(T) {
|
|
5468
5471
|
return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
@@ -5543,19 +5546,19 @@ function gc() {
|
|
|
5543
5546
|
_e.AsyncMode = v, _e.ConcurrentMode = N, _e.ContextConsumer = k, _e.ContextProvider = ue, _e.Element = je, _e.ForwardRef = xe, _e.Fragment = U, _e.Lazy = oe, _e.Memo = Z, _e.Portal = ee, _e.Profiler = re, _e.StrictMode = ye, _e.Suspense = le, _e.isAsyncMode = Oe, _e.isConcurrentMode = R, _e.isContextConsumer = M, _e.isContextProvider = q, _e.isElement = V, _e.isForwardRef = D, _e.isFragment = Q, _e.isLazy = W, _e.isMemo = z, _e.isPortal = H, _e.isProfiler = te, _e.isStrictMode = X, _e.isSuspense = Ce, _e.isValidElementType = P, _e.typeOf = I;
|
|
5544
5547
|
}()), _e;
|
|
5545
5548
|
}
|
|
5546
|
-
var
|
|
5547
|
-
function
|
|
5548
|
-
return
|
|
5549
|
+
var Sa;
|
|
5550
|
+
function Ls() {
|
|
5551
|
+
return Sa || (Sa = 1, process.env.NODE_ENV === "production" ? Kr.exports = pc() : Kr.exports = gc()), Kr.exports;
|
|
5549
5552
|
}
|
|
5550
5553
|
/*
|
|
5551
5554
|
object-assign
|
|
5552
5555
|
(c) Sindre Sorhus
|
|
5553
5556
|
@license MIT
|
|
5554
5557
|
*/
|
|
5555
|
-
var to,
|
|
5558
|
+
var to, xa;
|
|
5556
5559
|
function yc() {
|
|
5557
|
-
if (
|
|
5558
|
-
|
|
5560
|
+
if (xa) return to;
|
|
5561
|
+
xa = 1;
|
|
5559
5562
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
5560
5563
|
function n(a) {
|
|
5561
5564
|
if (a == null)
|
|
@@ -5598,25 +5601,25 @@ function yc() {
|
|
|
5598
5601
|
return c;
|
|
5599
5602
|
}, to;
|
|
5600
5603
|
}
|
|
5601
|
-
var ro,
|
|
5604
|
+
var ro, wa;
|
|
5602
5605
|
function zo() {
|
|
5603
|
-
if (
|
|
5604
|
-
|
|
5606
|
+
if (wa) return ro;
|
|
5607
|
+
wa = 1;
|
|
5605
5608
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
5606
5609
|
return ro = e, ro;
|
|
5607
5610
|
}
|
|
5608
|
-
var no,
|
|
5609
|
-
function
|
|
5610
|
-
return
|
|
5611
|
+
var no, Ra;
|
|
5612
|
+
function $s() {
|
|
5613
|
+
return Ra || (Ra = 1, no = Function.call.bind(Object.prototype.hasOwnProperty)), no;
|
|
5611
5614
|
}
|
|
5612
|
-
var oo,
|
|
5615
|
+
var oo, ja;
|
|
5613
5616
|
function bc() {
|
|
5614
|
-
if (
|
|
5615
|
-
|
|
5617
|
+
if (ja) return oo;
|
|
5618
|
+
ja = 1;
|
|
5616
5619
|
var e = function() {
|
|
5617
5620
|
};
|
|
5618
5621
|
if (process.env.NODE_ENV !== "production") {
|
|
5619
|
-
var t = zo(), r = {}, n =
|
|
5622
|
+
var t = zo(), r = {}, n = $s();
|
|
5620
5623
|
e = function(a) {
|
|
5621
5624
|
var i = "Warning: " + a;
|
|
5622
5625
|
typeof console < "u" && console.error(i);
|
|
@@ -5658,11 +5661,11 @@ function bc() {
|
|
|
5658
5661
|
process.env.NODE_ENV !== "production" && (r = {});
|
|
5659
5662
|
}, oo = o, oo;
|
|
5660
5663
|
}
|
|
5661
|
-
var ao,
|
|
5664
|
+
var ao, Ca;
|
|
5662
5665
|
function _c() {
|
|
5663
|
-
if (
|
|
5664
|
-
|
|
5665
|
-
var e =
|
|
5666
|
+
if (Ca) return ao;
|
|
5667
|
+
Ca = 1;
|
|
5668
|
+
var e = Ls(), t = yc(), r = zo(), n = $s(), o = bc(), a = function() {
|
|
5666
5669
|
};
|
|
5667
5670
|
process.env.NODE_ENV !== "production" && (a = function(l) {
|
|
5668
5671
|
var c = "Warning: " + l;
|
|
@@ -5979,10 +5982,10 @@ Valid keys: ` + JSON.stringify(Object.keys(R), null, " ")
|
|
|
5979
5982
|
return _.checkPropTypes = o, _.resetWarningCache = o.resetWarningCache, _.PropTypes = _, _;
|
|
5980
5983
|
}, ao;
|
|
5981
5984
|
}
|
|
5982
|
-
var so,
|
|
5985
|
+
var so, Pa;
|
|
5983
5986
|
function vc() {
|
|
5984
|
-
if (
|
|
5985
|
-
|
|
5987
|
+
if (Pa) return so;
|
|
5988
|
+
Pa = 1;
|
|
5986
5989
|
var e = zo();
|
|
5987
5990
|
function t() {
|
|
5988
5991
|
}
|
|
@@ -6028,12 +6031,12 @@ function vc() {
|
|
|
6028
6031
|
}, so;
|
|
6029
6032
|
}
|
|
6030
6033
|
if (process.env.NODE_ENV !== "production") {
|
|
6031
|
-
var Sc =
|
|
6034
|
+
var Sc = Ls(), xc = !0;
|
|
6032
6035
|
xo.exports = _c()(Sc.isElement, xc);
|
|
6033
6036
|
} else
|
|
6034
6037
|
xo.exports = vc()();
|
|
6035
6038
|
var wc = xo.exports;
|
|
6036
|
-
const p = /* @__PURE__ */
|
|
6039
|
+
const p = /* @__PURE__ */ Jl(wc);
|
|
6037
6040
|
function Er(e) {
|
|
6038
6041
|
let t = "https://mui.com/production-error/?code=" + e;
|
|
6039
6042
|
for (let r = 1; r < arguments.length; r += 1)
|
|
@@ -6085,11 +6088,11 @@ var Ec = /* @__PURE__ */ function() {
|
|
|
6085
6088
|
return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
|
|
6086
6089
|
}), this.tags = [], this.ctr = 0;
|
|
6087
6090
|
}, e;
|
|
6088
|
-
}(), Je = "-ms-", gn = "-moz-", me = "-webkit-",
|
|
6091
|
+
}(), Je = "-ms-", gn = "-moz-", me = "-webkit-", Ns = "comm", Wo = "rule", Go = "decl", Ac = "@import", Fs = "@keyframes", Oc = "@layer", Tc = Math.abs, En = String.fromCharCode, Mc = Object.assign;
|
|
6089
6092
|
function Ic(e, t) {
|
|
6090
6093
|
return Be(e, 0) ^ 45 ? (((t << 2 ^ Be(e, 0)) << 2 ^ Be(e, 1)) << 2 ^ Be(e, 2)) << 2 ^ Be(e, 3) : 0;
|
|
6091
6094
|
}
|
|
6092
|
-
function
|
|
6095
|
+
function Ds(e) {
|
|
6093
6096
|
return e.trim();
|
|
6094
6097
|
}
|
|
6095
6098
|
function kc(e, t) {
|
|
@@ -6119,7 +6122,7 @@ function qr(e, t) {
|
|
|
6119
6122
|
function Lc(e, t) {
|
|
6120
6123
|
return e.map(t).join("");
|
|
6121
6124
|
}
|
|
6122
|
-
var An = 1, rr = 1,
|
|
6125
|
+
var An = 1, rr = 1, Us = 0, Xe = 0, $e = 0, or = "";
|
|
6123
6126
|
function On(e, t, r, n, o, a, i) {
|
|
6124
6127
|
return { value: e, root: t, parent: r, type: n, props: o, children: a, line: An, column: rr, length: i, return: "" };
|
|
6125
6128
|
}
|
|
@@ -6133,7 +6136,7 @@ function Nc() {
|
|
|
6133
6136
|
return $e = Xe > 0 ? Be(or, --Xe) : 0, rr--, $e === 10 && (rr = 1, An--), $e;
|
|
6134
6137
|
}
|
|
6135
6138
|
function Qe() {
|
|
6136
|
-
return $e = Xe <
|
|
6139
|
+
return $e = Xe < Us ? Be(or, Xe++) : 0, rr++, $e === 10 && (rr = 1, An++), $e;
|
|
6137
6140
|
}
|
|
6138
6141
|
function bt() {
|
|
6139
6142
|
return Be(or, Xe);
|
|
@@ -6176,14 +6179,14 @@ function Or(e) {
|
|
|
6176
6179
|
}
|
|
6177
6180
|
return 0;
|
|
6178
6181
|
}
|
|
6179
|
-
function Us(e) {
|
|
6180
|
-
return An = rr = 1, Ds = gt(or = e), Xe = 0, [];
|
|
6181
|
-
}
|
|
6182
6182
|
function Bs(e) {
|
|
6183
|
+
return An = rr = 1, Us = gt(or = e), Xe = 0, [];
|
|
6184
|
+
}
|
|
6185
|
+
function Js(e) {
|
|
6183
6186
|
return or = "", e;
|
|
6184
6187
|
}
|
|
6185
6188
|
function sn(e) {
|
|
6186
|
-
return
|
|
6189
|
+
return Ds(Lr(Xe - 1, Ro(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
6187
6190
|
}
|
|
6188
6191
|
function Fc(e) {
|
|
6189
6192
|
for (; ($e = bt()) && $e < 33; )
|
|
@@ -6225,7 +6228,7 @@ function Bc(e) {
|
|
|
6225
6228
|
return Lr(e, Xe);
|
|
6226
6229
|
}
|
|
6227
6230
|
function Jc(e) {
|
|
6228
|
-
return
|
|
6231
|
+
return Js(ln("", null, null, null, [""], e = Bs(e), 0, [0], e));
|
|
6229
6232
|
}
|
|
6230
6233
|
function ln(e, t, r, n, o, a, i, l, c) {
|
|
6231
6234
|
for (var u = 0, d = 0, h = i, f = 0, _ = 0, g = 0, y = 1, b = 1, w = 1, C = 0, P = "", I = o, v = a, N = n, k = P; b; )
|
|
@@ -6269,12 +6272,12 @@ function ln(e, t, r, n, o, a, i, l, c) {
|
|
|
6269
6272
|
case 125:
|
|
6270
6273
|
b = 0;
|
|
6271
6274
|
case 59 + d:
|
|
6272
|
-
w == -1 && (k = pe(k, /\f/g, "")), _ > 0 && gt(k) - h && qr(_ > 32 ?
|
|
6275
|
+
w == -1 && (k = pe(k, /\f/g, "")), _ > 0 && gt(k) - h && qr(_ > 32 ? Aa(k + ";", n, r, h - 1) : Aa(pe(k, " ", "") + ";", n, r, h - 2), c);
|
|
6273
6276
|
break;
|
|
6274
6277
|
case 59:
|
|
6275
6278
|
k += ";";
|
|
6276
6279
|
default:
|
|
6277
|
-
if (qr(N =
|
|
6280
|
+
if (qr(N = Ea(k, t, r, u, d, o, l, P, I = [], v = [], h), a), C === 123)
|
|
6278
6281
|
if (d === 0)
|
|
6279
6282
|
ln(k, t, N, N, I, a, h, l, v);
|
|
6280
6283
|
else
|
|
@@ -6283,7 +6286,7 @@ function ln(e, t, r, n, o, a, i, l, c) {
|
|
|
6283
6286
|
case 108:
|
|
6284
6287
|
case 109:
|
|
6285
6288
|
case 115:
|
|
6286
|
-
ln(e, N, N, n && qr(
|
|
6289
|
+
ln(e, N, N, n && qr(Ea(e, N, N, 0, 0, o, l, P, o, I = [], h), v), o, v, h, l, n ? I : v);
|
|
6287
6290
|
break;
|
|
6288
6291
|
default:
|
|
6289
6292
|
ln(k, N, N, N, [""], v, 0, l, v);
|
|
@@ -6316,16 +6319,16 @@ function ln(e, t, r, n, o, a, i, l, c) {
|
|
|
6316
6319
|
}
|
|
6317
6320
|
return a;
|
|
6318
6321
|
}
|
|
6319
|
-
function
|
|
6322
|
+
function Ea(e, t, r, n, o, a, i, l, c, u, d) {
|
|
6320
6323
|
for (var h = o - 1, f = o === 0 ? a : [""], _ = Ho(f), g = 0, y = 0, b = 0; g < n; ++g)
|
|
6321
6324
|
for (var w = 0, C = Ar(e, h + 1, h = Tc(y = i[g])), P = e; w < _; ++w)
|
|
6322
|
-
(P =
|
|
6325
|
+
(P = Ds(y > 0 ? f[w] + " " + C : pe(C, /&\f/g, f[w]))) && (c[b++] = P);
|
|
6323
6326
|
return On(e, t, r, o === 0 ? Wo : l, c, u, d);
|
|
6324
6327
|
}
|
|
6325
6328
|
function Vc(e, t, r) {
|
|
6326
|
-
return On(e, t, r,
|
|
6329
|
+
return On(e, t, r, Ns, En($c()), Ar(e, 2, -2), 0);
|
|
6327
6330
|
}
|
|
6328
|
-
function
|
|
6331
|
+
function Aa(e, t, r, n) {
|
|
6329
6332
|
return On(e, t, r, Go, Ar(e, 0, n), Ar(e, n + 1, -1), n);
|
|
6330
6333
|
}
|
|
6331
6334
|
function Qt(e, t) {
|
|
@@ -6340,9 +6343,9 @@ function zc(e, t, r, n) {
|
|
|
6340
6343
|
case Ac:
|
|
6341
6344
|
case Go:
|
|
6342
6345
|
return e.return = e.return || e.value;
|
|
6343
|
-
case $s:
|
|
6344
|
-
return "";
|
|
6345
6346
|
case Ns:
|
|
6347
|
+
return "";
|
|
6348
|
+
case Fs:
|
|
6346
6349
|
return e.return = e.value + "{" + Qt(e.children, n) + "}";
|
|
6347
6350
|
case Wo:
|
|
6348
6351
|
e.value = e.props.join(",");
|
|
@@ -6387,15 +6390,15 @@ var Hc = function(t, r, n) {
|
|
|
6387
6390
|
while (o = Qe());
|
|
6388
6391
|
return t;
|
|
6389
6392
|
}, qc = function(t, r) {
|
|
6390
|
-
return
|
|
6391
|
-
},
|
|
6393
|
+
return Js(Kc(Bs(t), r));
|
|
6394
|
+
}, Oa = /* @__PURE__ */ new WeakMap(), Xc = function(t) {
|
|
6392
6395
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
6393
6396
|
// negative .length indicates that this rule has been already prefixed
|
|
6394
6397
|
t.length < 1)) {
|
|
6395
6398
|
for (var r = t.value, n = t.parent, o = t.column === n.column && t.line === n.line; n.type !== "rule"; )
|
|
6396
6399
|
if (n = n.parent, !n) return;
|
|
6397
|
-
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !
|
|
6398
|
-
|
|
6400
|
+
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Oa.get(n)) && !o) {
|
|
6401
|
+
Oa.set(t, !0);
|
|
6399
6402
|
for (var a = [], i = qc(r, a), l = n.props, c = 0, u = 0; c < i.length; c++)
|
|
6400
6403
|
for (var d = 0; d < l.length; d++, u++)
|
|
6401
6404
|
t.props[u] = a[c] ? i[c].replace(/&\f/g, l[d]) : l[d] + " " + i[c];
|
|
@@ -6409,7 +6412,7 @@ var Hc = function(t, r, n) {
|
|
|
6409
6412
|
r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
|
|
6410
6413
|
}
|
|
6411
6414
|
};
|
|
6412
|
-
function
|
|
6415
|
+
function Vs(e, t) {
|
|
6413
6416
|
switch (Ic(e, t)) {
|
|
6414
6417
|
case 5103:
|
|
6415
6418
|
return me + "print-" + e + e;
|
|
@@ -6494,7 +6497,7 @@ function Js(e, t) {
|
|
|
6494
6497
|
case 102:
|
|
6495
6498
|
return pe(e, /(.+:)(.+)-([^]+)/, "$1" + me + "$2-$3$1" + gn + (Be(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
6496
6499
|
case 115:
|
|
6497
|
-
return ~wo(e, "stretch") ?
|
|
6500
|
+
return ~wo(e, "stretch") ? Vs(pe(e, "stretch", "fill-available"), t) + e : e;
|
|
6498
6501
|
}
|
|
6499
6502
|
break;
|
|
6500
6503
|
case 4949:
|
|
@@ -6523,9 +6526,9 @@ function Js(e, t) {
|
|
|
6523
6526
|
var Zc = function(t, r, n, o) {
|
|
6524
6527
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
6525
6528
|
case Go:
|
|
6526
|
-
t.return =
|
|
6529
|
+
t.return = Vs(t.value, t.length);
|
|
6527
6530
|
break;
|
|
6528
|
-
case
|
|
6531
|
+
case Fs:
|
|
6529
6532
|
return Qt([vr(t, {
|
|
6530
6533
|
value: pe(t.value, "@", "@" + me)
|
|
6531
6534
|
})], o);
|
|
@@ -6602,17 +6605,17 @@ typeof document == "object" && (jo = eu({
|
|
|
6602
6605
|
key: "css",
|
|
6603
6606
|
prepend: !0
|
|
6604
6607
|
}));
|
|
6605
|
-
function
|
|
6608
|
+
function zs(e) {
|
|
6606
6609
|
const {
|
|
6607
6610
|
injectFirst: t,
|
|
6608
6611
|
children: r
|
|
6609
6612
|
} = e;
|
|
6610
|
-
return t && jo ? /* @__PURE__ */ s.jsx(
|
|
6613
|
+
return t && jo ? /* @__PURE__ */ s.jsx(Al, {
|
|
6611
6614
|
value: jo,
|
|
6612
6615
|
children: r
|
|
6613
6616
|
}) : r;
|
|
6614
6617
|
}
|
|
6615
|
-
process.env.NODE_ENV !== "production" && (
|
|
6618
|
+
process.env.NODE_ENV !== "production" && (zs.propTypes = {
|
|
6616
6619
|
/**
|
|
6617
6620
|
* Your component tree.
|
|
6618
6621
|
*/
|
|
@@ -6627,16 +6630,16 @@ process.env.NODE_ENV !== "production" && (Vs.propTypes = {
|
|
|
6627
6630
|
function tu(e) {
|
|
6628
6631
|
return e == null || Object.keys(e).length === 0;
|
|
6629
6632
|
}
|
|
6630
|
-
function
|
|
6633
|
+
function Ws(e) {
|
|
6631
6634
|
const {
|
|
6632
6635
|
styles: t,
|
|
6633
6636
|
defaultTheme: r = {}
|
|
6634
6637
|
} = e, n = typeof t == "function" ? (o) => t(tu(o) ? r : o) : t;
|
|
6635
|
-
return /* @__PURE__ */ s.jsx(
|
|
6638
|
+
return /* @__PURE__ */ s.jsx(Ol, {
|
|
6636
6639
|
styles: n
|
|
6637
6640
|
});
|
|
6638
6641
|
}
|
|
6639
|
-
process.env.NODE_ENV !== "production" && (
|
|
6642
|
+
process.env.NODE_ENV !== "production" && (Ws.propTypes = {
|
|
6640
6643
|
defaultTheme: p.object,
|
|
6641
6644
|
styles: p.oneOfType([p.array, p.string, p.object, p.func])
|
|
6642
6645
|
});
|
|
@@ -6647,25 +6650,25 @@ process.env.NODE_ENV !== "production" && (zs.propTypes = {
|
|
|
6647
6650
|
* This source code is licensed under the MIT license found in the
|
|
6648
6651
|
* LICENSE file in the root directory of this source tree.
|
|
6649
6652
|
*/
|
|
6650
|
-
function
|
|
6651
|
-
const r =
|
|
6653
|
+
function Gs(e, t) {
|
|
6654
|
+
const r = El(e, t);
|
|
6652
6655
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
6653
6656
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
6654
6657
|
return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
6655
6658
|
`)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
|
|
6656
6659
|
} : r;
|
|
6657
6660
|
}
|
|
6658
|
-
const
|
|
6661
|
+
const Hs = (e, t) => {
|
|
6659
6662
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
6660
6663
|
}, ru = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6661
6664
|
__proto__: null,
|
|
6662
|
-
GlobalStyles:
|
|
6663
|
-
StyledEngineProvider:
|
|
6664
|
-
ThemeContext:
|
|
6665
|
-
css:
|
|
6666
|
-
default:
|
|
6667
|
-
internal_processStyles:
|
|
6668
|
-
keyframes:
|
|
6665
|
+
GlobalStyles: Ws,
|
|
6666
|
+
StyledEngineProvider: zs,
|
|
6667
|
+
ThemeContext: Ts,
|
|
6668
|
+
css: Tl,
|
|
6669
|
+
default: Gs,
|
|
6670
|
+
internal_processStyles: Hs,
|
|
6671
|
+
keyframes: Ml
|
|
6669
6672
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6670
6673
|
function O() {
|
|
6671
6674
|
return O = Object.assign ? Object.assign.bind() : function(e) {
|
|
@@ -6691,12 +6694,12 @@ function St(e) {
|
|
|
6691
6694
|
const t = Object.getPrototypeOf(e);
|
|
6692
6695
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
6693
6696
|
}
|
|
6694
|
-
function
|
|
6697
|
+
function Ks(e) {
|
|
6695
6698
|
if (!St(e))
|
|
6696
6699
|
return e;
|
|
6697
6700
|
const t = {};
|
|
6698
6701
|
return Object.keys(e).forEach((r) => {
|
|
6699
|
-
t[r] =
|
|
6702
|
+
t[r] = Ks(e[r]);
|
|
6700
6703
|
}), t;
|
|
6701
6704
|
}
|
|
6702
6705
|
function lt(e, t, r = {
|
|
@@ -6705,7 +6708,7 @@ function lt(e, t, r = {
|
|
|
6705
6708
|
const n = r.clone ? O({}, e) : e;
|
|
6706
6709
|
return St(e) && St(t) && Object.keys(t).forEach((o) => {
|
|
6707
6710
|
St(t[o]) && // Avoid prototype pollution
|
|
6708
|
-
Object.prototype.hasOwnProperty.call(e, o) && St(e[o]) ? n[o] = lt(e[o], t[o], r) : r.clone ? n[o] = St(t[o]) ?
|
|
6711
|
+
Object.prototype.hasOwnProperty.call(e, o) && St(e[o]) ? n[o] = lt(e[o], t[o], r) : r.clone ? n[o] = St(t[o]) ? Ks(t[o]) : t[o] : n[o] = t[o];
|
|
6709
6712
|
}), n;
|
|
6710
6713
|
}
|
|
6711
6714
|
const nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6721,7 +6724,7 @@ const nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6721
6724
|
[n.key]: n.val
|
|
6722
6725
|
}), {});
|
|
6723
6726
|
};
|
|
6724
|
-
function
|
|
6727
|
+
function qs(e) {
|
|
6725
6728
|
const {
|
|
6726
6729
|
// The breakpoint **start** at this value.
|
|
6727
6730
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -6788,7 +6791,7 @@ const Ko = {
|
|
|
6788
6791
|
// desktop
|
|
6789
6792
|
xl: 1536
|
|
6790
6793
|
// large screen
|
|
6791
|
-
},
|
|
6794
|
+
}, Ta = {
|
|
6792
6795
|
// Sorted ASC by size. That's important.
|
|
6793
6796
|
// It can't be configured as it's used statically for propTypes.
|
|
6794
6797
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -6797,11 +6800,11 @@ const Ko = {
|
|
|
6797
6800
|
function mt(e, t, r) {
|
|
6798
6801
|
const n = e.theme || {};
|
|
6799
6802
|
if (Array.isArray(t)) {
|
|
6800
|
-
const a = n.breakpoints ||
|
|
6803
|
+
const a = n.breakpoints || Ta;
|
|
6801
6804
|
return t.reduce((i, l, c) => (i[a.up(a.keys[c])] = r(t[c]), i), {});
|
|
6802
6805
|
}
|
|
6803
6806
|
if (typeof t == "object") {
|
|
6804
|
-
const a = n.breakpoints ||
|
|
6807
|
+
const a = n.breakpoints || Ta;
|
|
6805
6808
|
return Object.keys(t).reduce((i, l) => {
|
|
6806
6809
|
if (Object.keys(a.values || Ko).indexOf(l) !== -1) {
|
|
6807
6810
|
const c = a.up(l);
|
|
@@ -6815,22 +6818,22 @@ function mt(e, t, r) {
|
|
|
6815
6818
|
}
|
|
6816
6819
|
return r(t);
|
|
6817
6820
|
}
|
|
6818
|
-
function
|
|
6821
|
+
function Xs(e = {}) {
|
|
6819
6822
|
var t;
|
|
6820
6823
|
return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
|
|
6821
6824
|
const a = e.up(o);
|
|
6822
6825
|
return n[a] = {}, n;
|
|
6823
6826
|
}, {})) || {};
|
|
6824
6827
|
}
|
|
6825
|
-
function
|
|
6828
|
+
function Ys(e, t) {
|
|
6826
6829
|
return e.reduce((r, n) => {
|
|
6827
6830
|
const o = r[n];
|
|
6828
6831
|
return (!o || Object.keys(o).length === 0) && delete r[n], r;
|
|
6829
6832
|
}, t);
|
|
6830
6833
|
}
|
|
6831
6834
|
function iu(e, ...t) {
|
|
6832
|
-
const r =
|
|
6833
|
-
return
|
|
6835
|
+
const r = Xs(e), n = [r, ...t].reduce((o, a) => lt(o, a), {});
|
|
6836
|
+
return Ys(Object.keys(r), n);
|
|
6834
6837
|
}
|
|
6835
6838
|
function lu(e, t) {
|
|
6836
6839
|
if (typeof e != "object")
|
|
@@ -6911,15 +6914,15 @@ const du = {
|
|
|
6911
6914
|
l: "Left",
|
|
6912
6915
|
x: ["Left", "Right"],
|
|
6913
6916
|
y: ["Top", "Bottom"]
|
|
6914
|
-
},
|
|
6917
|
+
}, Ma = {
|
|
6915
6918
|
marginX: "mx",
|
|
6916
6919
|
marginY: "my",
|
|
6917
6920
|
paddingX: "px",
|
|
6918
6921
|
paddingY: "py"
|
|
6919
6922
|
}, hu = uu((e) => {
|
|
6920
6923
|
if (e.length > 2)
|
|
6921
|
-
if (
|
|
6922
|
-
e =
|
|
6924
|
+
if (Ma[e])
|
|
6925
|
+
e = Ma[e];
|
|
6923
6926
|
else
|
|
6924
6927
|
return [e];
|
|
6925
6928
|
const [t, r] = e.split(""), n = du[t], o = fu[r] || "";
|
|
@@ -6952,17 +6955,17 @@ function gu(e, t, r, n) {
|
|
|
6952
6955
|
const o = hu(r), a = pu(o, n), i = e[r];
|
|
6953
6956
|
return mt(e, i, a);
|
|
6954
6957
|
}
|
|
6955
|
-
function
|
|
6958
|
+
function Zs(e, t) {
|
|
6956
6959
|
const r = qo(e.theme);
|
|
6957
6960
|
return Object.keys(e).map((n) => gu(e, t, n, r)).reduce(Rr, {});
|
|
6958
6961
|
}
|
|
6959
6962
|
function Ee(e) {
|
|
6960
|
-
return
|
|
6963
|
+
return Zs(e, Mn);
|
|
6961
6964
|
}
|
|
6962
6965
|
Ee.propTypes = process.env.NODE_ENV !== "production" ? Mn.reduce((e, t) => (e[t] = At, e), {}) : {};
|
|
6963
6966
|
Ee.filterProps = Mn;
|
|
6964
6967
|
function Ae(e) {
|
|
6965
|
-
return
|
|
6968
|
+
return Zs(e, In);
|
|
6966
6969
|
}
|
|
6967
6970
|
Ae.propTypes = process.env.NODE_ENV !== "production" ? In.reduce((e, t) => (e[t] = At, e), {}) : {};
|
|
6968
6971
|
Ae.filterProps = In;
|
|
@@ -7428,7 +7431,7 @@ function Ku(...e) {
|
|
|
7428
7431
|
function qu(e, t) {
|
|
7429
7432
|
return typeof e == "function" ? e(t) : e;
|
|
7430
7433
|
}
|
|
7431
|
-
function
|
|
7434
|
+
function Qs() {
|
|
7432
7435
|
function e(r, n, o, a) {
|
|
7433
7436
|
const i = {
|
|
7434
7437
|
[r]: n,
|
|
@@ -7475,7 +7478,7 @@ function Zs() {
|
|
|
7475
7478
|
return c;
|
|
7476
7479
|
if (!u)
|
|
7477
7480
|
return null;
|
|
7478
|
-
const d =
|
|
7481
|
+
const d = Xs(a.breakpoints), h = Object.keys(d);
|
|
7479
7482
|
let f = d;
|
|
7480
7483
|
return Object.keys(u).forEach((_) => {
|
|
7481
7484
|
const g = qu(u[_], a);
|
|
@@ -7496,15 +7499,15 @@ function Zs() {
|
|
|
7496
7499
|
}
|
|
7497
7500
|
else
|
|
7498
7501
|
f = Rr(f, e(_, g, a, i));
|
|
7499
|
-
}),
|
|
7502
|
+
}), Ys(h, f);
|
|
7500
7503
|
}
|
|
7501
7504
|
return Array.isArray(o) ? o.map(l) : l(o);
|
|
7502
7505
|
}
|
|
7503
7506
|
return t;
|
|
7504
7507
|
}
|
|
7505
|
-
const Fr =
|
|
7508
|
+
const Fr = Qs();
|
|
7506
7509
|
Fr.filterProps = ["sx"];
|
|
7507
|
-
function
|
|
7510
|
+
function ei(e, t) {
|
|
7508
7511
|
const r = this;
|
|
7509
7512
|
return r.vars && typeof r.getColorSchemeSelector == "function" ? {
|
|
7510
7513
|
[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: t
|
|
@@ -7517,7 +7520,7 @@ function Dr(e = {}, ...t) {
|
|
|
7517
7520
|
palette: n = {},
|
|
7518
7521
|
spacing: o,
|
|
7519
7522
|
shape: a = {}
|
|
7520
|
-
} = e, i = tt(e, Xu), l =
|
|
7523
|
+
} = e, i = tt(e, Xu), l = qs(r), c = yu(o);
|
|
7521
7524
|
let u = lt({
|
|
7522
7525
|
breakpoints: l,
|
|
7523
7526
|
direction: "ltr",
|
|
@@ -7529,7 +7532,7 @@ function Dr(e = {}, ...t) {
|
|
|
7529
7532
|
spacing: c,
|
|
7530
7533
|
shape: O({}, su, a)
|
|
7531
7534
|
}, i);
|
|
7532
|
-
return u.applyStyles =
|
|
7535
|
+
return u.applyStyles = ei, u = t.reduce((d, h) => lt(d, h), u), u.unstable_sxConfig = O({}, Nr, i == null ? void 0 : i.unstable_sxConfig), u.unstable_sx = function(h) {
|
|
7533
7536
|
return Fr({
|
|
7534
7537
|
sx: h,
|
|
7535
7538
|
theme: this
|
|
@@ -7539,18 +7542,18 @@ function Dr(e = {}, ...t) {
|
|
|
7539
7542
|
const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7540
7543
|
__proto__: null,
|
|
7541
7544
|
default: Dr,
|
|
7542
|
-
private_createBreakpoints:
|
|
7543
|
-
unstable_applyStyles:
|
|
7545
|
+
private_createBreakpoints: qs,
|
|
7546
|
+
unstable_applyStyles: ei
|
|
7544
7547
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7545
7548
|
function Zu(e) {
|
|
7546
7549
|
return Object.keys(e).length === 0;
|
|
7547
7550
|
}
|
|
7548
7551
|
function Qu(e = null) {
|
|
7549
|
-
const t = J.useContext(
|
|
7552
|
+
const t = J.useContext(Ts);
|
|
7550
7553
|
return !t || Zu(t) ? e : t;
|
|
7551
7554
|
}
|
|
7552
7555
|
const ed = Dr();
|
|
7553
|
-
function
|
|
7556
|
+
function ti(e = ed) {
|
|
7554
7557
|
return Qu(e);
|
|
7555
7558
|
}
|
|
7556
7559
|
const td = ["sx"], rd = (e) => {
|
|
@@ -7563,7 +7566,7 @@ const td = ["sx"], rd = (e) => {
|
|
|
7563
7566
|
o[a] ? n.systemProps[a] = e[a] : n.otherProps[a] = e[a];
|
|
7564
7567
|
}), n;
|
|
7565
7568
|
};
|
|
7566
|
-
function
|
|
7569
|
+
function ri(e) {
|
|
7567
7570
|
const {
|
|
7568
7571
|
sx: t
|
|
7569
7572
|
} = e, r = tt(e, td), {
|
|
@@ -7581,11 +7584,11 @@ function ti(e) {
|
|
|
7581
7584
|
const nd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7582
7585
|
__proto__: null,
|
|
7583
7586
|
default: Fr,
|
|
7584
|
-
extendSxProp:
|
|
7585
|
-
unstable_createStyleFunctionSx:
|
|
7587
|
+
extendSxProp: ri,
|
|
7588
|
+
unstable_createStyleFunctionSx: Qs,
|
|
7586
7589
|
unstable_defaultSxConfig: Nr
|
|
7587
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7588
|
-
let e =
|
|
7590
|
+
}, Symbol.toStringTag, { value: "Module" })), Ia = (e) => e, od = () => {
|
|
7591
|
+
let e = Ia;
|
|
7589
7592
|
return {
|
|
7590
7593
|
configure(t) {
|
|
7591
7594
|
e = t;
|
|
@@ -7594,21 +7597,21 @@ const nd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7594
7597
|
return e(t);
|
|
7595
7598
|
},
|
|
7596
7599
|
reset() {
|
|
7597
|
-
e =
|
|
7600
|
+
e = Ia;
|
|
7598
7601
|
}
|
|
7599
7602
|
};
|
|
7600
7603
|
}, ad = od();
|
|
7601
|
-
function
|
|
7604
|
+
function ni(e) {
|
|
7602
7605
|
var t, r, n = "";
|
|
7603
7606
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
7604
7607
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
7605
7608
|
var o = e.length;
|
|
7606
|
-
for (t = 0; t < o; t++) e[t] && (r =
|
|
7609
|
+
for (t = 0; t < o; t++) e[t] && (r = ni(e[t])) && (n && (n += " "), n += r);
|
|
7607
7610
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
7608
7611
|
return n;
|
|
7609
7612
|
}
|
|
7610
7613
|
function xt() {
|
|
7611
|
-
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t =
|
|
7614
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = ni(e)) && (n && (n += " "), n += t);
|
|
7612
7615
|
return n;
|
|
7613
7616
|
}
|
|
7614
7617
|
const sd = {
|
|
@@ -7645,10 +7648,10 @@ var Co = { exports: {} }, ve = {};
|
|
|
7645
7648
|
* This source code is licensed under the MIT license found in the
|
|
7646
7649
|
* LICENSE file in the root directory of this source tree.
|
|
7647
7650
|
*/
|
|
7648
|
-
var
|
|
7651
|
+
var ka;
|
|
7649
7652
|
function ld() {
|
|
7650
|
-
if (
|
|
7651
|
-
|
|
7653
|
+
if (ka) return ve;
|
|
7654
|
+
ka = 1;
|
|
7652
7655
|
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), g;
|
|
7653
7656
|
g = Symbol.for("react.module.reference");
|
|
7654
7657
|
function y(b) {
|
|
@@ -7723,9 +7726,9 @@ var Se = {};
|
|
|
7723
7726
|
* This source code is licensed under the MIT license found in the
|
|
7724
7727
|
* LICENSE file in the root directory of this source tree.
|
|
7725
7728
|
*/
|
|
7726
|
-
var
|
|
7729
|
+
var La;
|
|
7727
7730
|
function cd() {
|
|
7728
|
-
return
|
|
7731
|
+
return La || (La = 1, process.env.NODE_ENV !== "production" && function() {
|
|
7729
7732
|
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), g = !1, y = !1, b = !1, w = !1, C = !1, P;
|
|
7730
7733
|
P = Symbol.for("react.module.reference");
|
|
7731
7734
|
function I(A) {
|
|
@@ -7814,31 +7817,31 @@ function cd() {
|
|
|
7814
7817
|
}()), Se;
|
|
7815
7818
|
}
|
|
7816
7819
|
process.env.NODE_ENV === "production" ? Co.exports = ld() : Co.exports = cd();
|
|
7817
|
-
var
|
|
7820
|
+
var $a = Co.exports;
|
|
7818
7821
|
const ud = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
|
|
7819
|
-
function
|
|
7822
|
+
function oi(e) {
|
|
7820
7823
|
const t = `${e}`.match(ud);
|
|
7821
7824
|
return t && t[1] || "";
|
|
7822
7825
|
}
|
|
7823
|
-
function
|
|
7824
|
-
return e.displayName || e.name ||
|
|
7826
|
+
function ai(e, t = "") {
|
|
7827
|
+
return e.displayName || e.name || oi(e) || t;
|
|
7825
7828
|
}
|
|
7826
|
-
function
|
|
7827
|
-
const n =
|
|
7829
|
+
function Na(e, t, r) {
|
|
7830
|
+
const n = ai(t);
|
|
7828
7831
|
return e.displayName || (n !== "" ? `${r}(${n})` : r);
|
|
7829
7832
|
}
|
|
7830
|
-
function
|
|
7833
|
+
function si(e) {
|
|
7831
7834
|
if (e != null) {
|
|
7832
7835
|
if (typeof e == "string")
|
|
7833
7836
|
return e;
|
|
7834
7837
|
if (typeof e == "function")
|
|
7835
|
-
return
|
|
7838
|
+
return ai(e, "Component");
|
|
7836
7839
|
if (typeof e == "object")
|
|
7837
7840
|
switch (e.$$typeof) {
|
|
7838
|
-
case
|
|
7839
|
-
return
|
|
7840
|
-
case
|
|
7841
|
-
return
|
|
7841
|
+
case $a.ForwardRef:
|
|
7842
|
+
return Na(e, e.render, "ForwardRef");
|
|
7843
|
+
case $a.Memo:
|
|
7844
|
+
return Na(e, e.type, "memo");
|
|
7842
7845
|
default:
|
|
7843
7846
|
return;
|
|
7844
7847
|
}
|
|
@@ -7846,8 +7849,8 @@ function ai(e) {
|
|
|
7846
7849
|
}
|
|
7847
7850
|
const dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7848
7851
|
__proto__: null,
|
|
7849
|
-
default:
|
|
7850
|
-
getFunctionName:
|
|
7852
|
+
default: si,
|
|
7853
|
+
getFunctionName: oi
|
|
7851
7854
|
}, Symbol.toStringTag, { value: "Module" })), fd = ["ownerState"], hd = ["variants"], md = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
7852
7855
|
function pd(e) {
|
|
7853
7856
|
return Object.keys(e).length === 0;
|
|
@@ -7861,7 +7864,7 @@ function gd(e) {
|
|
|
7861
7864
|
function lo(e) {
|
|
7862
7865
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
7863
7866
|
}
|
|
7864
|
-
const yd = Dr(),
|
|
7867
|
+
const yd = Dr(), Fa = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
7865
7868
|
function Xr({
|
|
7866
7869
|
defaultTheme: e,
|
|
7867
7870
|
theme: t,
|
|
@@ -7914,7 +7917,7 @@ function _d(e = {}) {
|
|
|
7914
7917
|
}))
|
|
7915
7918
|
}));
|
|
7916
7919
|
return a.__mui_systemSx = !0, (i, l = {}) => {
|
|
7917
|
-
|
|
7920
|
+
Hs(i, (v) => v.filter((N) => !(N != null && N.__mui_systemSx)));
|
|
7918
7921
|
const {
|
|
7919
7922
|
name: c,
|
|
7920
7923
|
slot: u,
|
|
@@ -7922,17 +7925,17 @@ function _d(e = {}) {
|
|
|
7922
7925
|
skipSx: h,
|
|
7923
7926
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
7924
7927
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
7925
|
-
overridesResolver: f = bd(
|
|
7928
|
+
overridesResolver: f = bd(Fa(u))
|
|
7926
7929
|
} = l, _ = tt(l, md), g = d !== void 0 ? d : (
|
|
7927
7930
|
// TODO v6: remove `Root` in the next major release
|
|
7928
7931
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
7929
7932
|
u && u !== "Root" && u !== "root" || !1
|
|
7930
7933
|
), y = h || !1;
|
|
7931
7934
|
let b;
|
|
7932
|
-
process.env.NODE_ENV !== "production" && c && (b = `${c}-${
|
|
7935
|
+
process.env.NODE_ENV !== "production" && c && (b = `${c}-${Fa(u || "Root")}`);
|
|
7933
7936
|
let w = lo;
|
|
7934
7937
|
u === "Root" || u === "root" ? w = n : u ? w = o : gd(i) && (w = void 0);
|
|
7935
|
-
const C =
|
|
7938
|
+
const C = Gs(i, O({
|
|
7936
7939
|
shouldForwardProp: w,
|
|
7937
7940
|
label: b
|
|
7938
7941
|
}, _)), P = (v) => typeof v == "function" && v.__emotion_real !== v || St(v) ? (N) => cn(v, O({}, N, {
|
|
@@ -7977,7 +7980,7 @@ function _d(e = {}) {
|
|
|
7977
7980
|
const xe = C(k, ...ue);
|
|
7978
7981
|
if (process.env.NODE_ENV !== "production") {
|
|
7979
7982
|
let U;
|
|
7980
|
-
c && (U = `${c}${st(u || "")}`), U === void 0 && (U = `Styled(${
|
|
7983
|
+
c && (U = `${c}${st(u || "")}`), U === void 0 && (U = `Styled(${si(i)})`), xe.displayName = U;
|
|
7981
7984
|
}
|
|
7982
7985
|
return i.muiName && (xe.muiName = i.muiName), xe;
|
|
7983
7986
|
};
|
|
@@ -8012,14 +8015,14 @@ function xd({
|
|
|
8012
8015
|
defaultTheme: r,
|
|
8013
8016
|
themeId: n
|
|
8014
8017
|
}) {
|
|
8015
|
-
let o =
|
|
8018
|
+
let o = ti(r);
|
|
8016
8019
|
return n && (o = o[n] || o), Sd({
|
|
8017
8020
|
theme: o,
|
|
8018
8021
|
name: t,
|
|
8019
8022
|
props: e
|
|
8020
8023
|
});
|
|
8021
8024
|
}
|
|
8022
|
-
const
|
|
8025
|
+
const ii = typeof window < "u" ? J.useLayoutEffect : J.useEffect;
|
|
8023
8026
|
function Zt(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
8024
8027
|
return Math.max(t, Math.min(e, r));
|
|
8025
8028
|
}
|
|
@@ -8027,7 +8030,7 @@ const wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8027
8030
|
__proto__: null,
|
|
8028
8031
|
default: Zt
|
|
8029
8032
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8030
|
-
function
|
|
8033
|
+
function Da(e, t) {
|
|
8031
8034
|
return process.env.NODE_ENV === "production" ? () => null : function(...n) {
|
|
8032
8035
|
return e(...n) || t(...n);
|
|
8033
8036
|
};
|
|
@@ -8067,7 +8070,7 @@ function jd({
|
|
|
8067
8070
|
}
|
|
8068
8071
|
function co(e) {
|
|
8069
8072
|
const t = J.useRef(e);
|
|
8070
|
-
return
|
|
8073
|
+
return ii(() => {
|
|
8071
8074
|
t.current = e;
|
|
8072
8075
|
}), J.useRef((...r) => (
|
|
8073
8076
|
// @ts-expect-error hide `this`
|
|
@@ -8174,7 +8177,7 @@ const kd = {
|
|
|
8174
8177
|
whiteSpace: "nowrap",
|
|
8175
8178
|
width: "1px"
|
|
8176
8179
|
};
|
|
8177
|
-
function
|
|
8180
|
+
function li(e, t, r = void 0) {
|
|
8178
8181
|
const n = {};
|
|
8179
8182
|
return Object.keys(e).forEach(
|
|
8180
8183
|
// `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
@@ -8206,7 +8209,7 @@ function dn(e, t = []) {
|
|
|
8206
8209
|
r[n] = e[n];
|
|
8207
8210
|
}), r;
|
|
8208
8211
|
}
|
|
8209
|
-
function
|
|
8212
|
+
function Ua(e) {
|
|
8210
8213
|
if (e === void 0)
|
|
8211
8214
|
return {};
|
|
8212
8215
|
const t = {};
|
|
@@ -8229,7 +8232,7 @@ function $d(e) {
|
|
|
8229
8232
|
internalRef: void 0
|
|
8230
8233
|
};
|
|
8231
8234
|
}
|
|
8232
|
-
const i = dn(O({}, o, n)), l =
|
|
8235
|
+
const i = dn(O({}, o, n)), l = Ua(n), c = Ua(o), u = t(i), d = xt(u == null ? void 0 : u.className, r == null ? void 0 : r.className, a, o == null ? void 0 : o.className, n == null ? void 0 : n.className), h = O({}, u == null ? void 0 : u.style, r == null ? void 0 : r.style, o == null ? void 0 : o.style, n == null ? void 0 : n.style), f = O({}, u, r, c, l);
|
|
8233
8236
|
return d.length > 0 && (f.className = d), Object.keys(h).length > 0 && (f.style = h), {
|
|
8234
8237
|
props: f,
|
|
8235
8238
|
internalRef: u.ref
|
|
@@ -8361,10 +8364,10 @@ function Yd(e = {}) {
|
|
|
8361
8364
|
createStyledComponent: t = Gd,
|
|
8362
8365
|
useThemeProps: r = Hd,
|
|
8363
8366
|
componentName: n = "MuiStack"
|
|
8364
|
-
} = e, o = () =>
|
|
8367
|
+
} = e, o = () => li({
|
|
8365
8368
|
root: ["root"]
|
|
8366
8369
|
}, (c) => Dn(n, c), {}), a = t(Xd), i = /* @__PURE__ */ J.forwardRef(function(c, u) {
|
|
8367
|
-
const d = r(c), h =
|
|
8370
|
+
const d = r(c), h = ri(d), {
|
|
8368
8371
|
component: f = "div",
|
|
8369
8372
|
direction: _ = "column",
|
|
8370
8373
|
spacing: g = 0,
|
|
@@ -8394,7 +8397,7 @@ function Yd(e = {}) {
|
|
|
8394
8397
|
sx: p.oneOfType([p.arrayOf(p.oneOfType([p.func, p.object, p.bool])), p.func, p.object])
|
|
8395
8398
|
}), i;
|
|
8396
8399
|
}
|
|
8397
|
-
var Ur = {},
|
|
8400
|
+
var Ur = {}, ci = { exports: {} };
|
|
8398
8401
|
(function(e) {
|
|
8399
8402
|
function t(r) {
|
|
8400
8403
|
return r && r.__esModule ? r : {
|
|
@@ -8402,10 +8405,10 @@ var Ur = {}, li = { exports: {} };
|
|
|
8402
8405
|
};
|
|
8403
8406
|
}
|
|
8404
8407
|
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
|
8405
|
-
})(
|
|
8406
|
-
var
|
|
8408
|
+
})(ci);
|
|
8409
|
+
var ui = ci.exports, fo = { exports: {} }, Ba;
|
|
8407
8410
|
function Zd() {
|
|
8408
|
-
return
|
|
8411
|
+
return Ba || (Ba = 1, function(e) {
|
|
8409
8412
|
function t() {
|
|
8410
8413
|
return e.exports = t = Object.assign ? Object.assign.bind() : function(r) {
|
|
8411
8414
|
for (var n = 1; n < arguments.length; n++) {
|
|
@@ -8418,9 +8421,9 @@ function Zd() {
|
|
|
8418
8421
|
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
|
8419
8422
|
}(fo)), fo.exports;
|
|
8420
8423
|
}
|
|
8421
|
-
var ho = { exports: {} },
|
|
8424
|
+
var ho = { exports: {} }, Ja;
|
|
8422
8425
|
function Qd() {
|
|
8423
|
-
return
|
|
8426
|
+
return Ja || (Ja = 1, function(e) {
|
|
8424
8427
|
function t(r, n) {
|
|
8425
8428
|
if (r == null) return {};
|
|
8426
8429
|
var o = {};
|
|
@@ -8434,26 +8437,26 @@ function Qd() {
|
|
|
8434
8437
|
}(ho)), ho.exports;
|
|
8435
8438
|
}
|
|
8436
8439
|
const ef = /* @__PURE__ */ Et(ru), tf = /* @__PURE__ */ Et(nu), rf = /* @__PURE__ */ Et(cu), nf = /* @__PURE__ */ Et(dd), of = /* @__PURE__ */ Et(Yu), af = /* @__PURE__ */ Et(nd);
|
|
8437
|
-
var ar =
|
|
8440
|
+
var ar = ui;
|
|
8438
8441
|
Object.defineProperty(Ur, "__esModule", {
|
|
8439
8442
|
value: !0
|
|
8440
8443
|
});
|
|
8441
8444
|
var sf = Ur.default = Sf;
|
|
8442
8445
|
Ur.shouldForwardProp = fn;
|
|
8443
8446
|
Ur.systemDefaultTheme = void 0;
|
|
8444
|
-
var ot = ar(Zd()), Ao = ar(Qd()),
|
|
8447
|
+
var ot = ar(Zd()), Ao = ar(Qd()), Va = gf(ef), lf = tf, cf = ar(rf), uf = ar(nf), df = ar(of), ff = ar(af);
|
|
8445
8448
|
const hf = ["ownerState"], mf = ["variants"], pf = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
8446
|
-
function
|
|
8449
|
+
function di(e) {
|
|
8447
8450
|
if (typeof WeakMap != "function") return null;
|
|
8448
8451
|
var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
|
|
8449
|
-
return (
|
|
8452
|
+
return (di = function(n) {
|
|
8450
8453
|
return n ? r : t;
|
|
8451
8454
|
})(e);
|
|
8452
8455
|
}
|
|
8453
8456
|
function gf(e, t) {
|
|
8454
8457
|
if (e && e.__esModule) return e;
|
|
8455
8458
|
if (e === null || typeof e != "object" && typeof e != "function") return { default: e };
|
|
8456
|
-
var r =
|
|
8459
|
+
var r = di(t);
|
|
8457
8460
|
if (r && r.has(e)) return r.get(e);
|
|
8458
8461
|
var n = { __proto__: null }, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
8459
8462
|
for (var a in e) if (a !== "default" && Object.prototype.hasOwnProperty.call(e, a)) {
|
|
@@ -8474,7 +8477,7 @@ function bf(e) {
|
|
|
8474
8477
|
function fn(e) {
|
|
8475
8478
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
8476
8479
|
}
|
|
8477
|
-
const _f = Ur.systemDefaultTheme = (0, df.default)(),
|
|
8480
|
+
const _f = Ur.systemDefaultTheme = (0, df.default)(), za = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
8478
8481
|
function Yr({
|
|
8479
8482
|
defaultTheme: e,
|
|
8480
8483
|
theme: t,
|
|
@@ -8527,7 +8530,7 @@ function Sf(e = {}) {
|
|
|
8527
8530
|
}))
|
|
8528
8531
|
}));
|
|
8529
8532
|
return a.__mui_systemSx = !0, (i, l = {}) => {
|
|
8530
|
-
(0,
|
|
8533
|
+
(0, Va.internal_processStyles)(i, (v) => v.filter((N) => !(N != null && N.__mui_systemSx)));
|
|
8531
8534
|
const {
|
|
8532
8535
|
name: c,
|
|
8533
8536
|
slot: u,
|
|
@@ -8535,17 +8538,17 @@ function Sf(e = {}) {
|
|
|
8535
8538
|
skipSx: h,
|
|
8536
8539
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
8537
8540
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
8538
|
-
overridesResolver: f = vf(
|
|
8541
|
+
overridesResolver: f = vf(za(u))
|
|
8539
8542
|
} = l, _ = (0, Ao.default)(l, pf), g = d !== void 0 ? d : (
|
|
8540
8543
|
// TODO v6: remove `Root` in the next major release
|
|
8541
8544
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
8542
8545
|
u && u !== "Root" && u !== "root" || !1
|
|
8543
8546
|
), y = h || !1;
|
|
8544
8547
|
let b;
|
|
8545
|
-
process.env.NODE_ENV !== "production" && c && (b = `${c}-${
|
|
8548
|
+
process.env.NODE_ENV !== "production" && c && (b = `${c}-${za(u || "Root")}`);
|
|
8546
8549
|
let w = fn;
|
|
8547
8550
|
u === "Root" || u === "root" ? w = n : u ? w = o : bf(i) && (w = void 0);
|
|
8548
|
-
const C = (0,
|
|
8551
|
+
const C = (0, Va.default)(i, (0, ot.default)({
|
|
8549
8552
|
shouldForwardProp: w,
|
|
8550
8553
|
label: b
|
|
8551
8554
|
}, _)), P = (v) => typeof v == "function" && v.__emotion_real !== v || (0, lf.isPlainObject)(v) ? (N) => hn(v, (0, ot.default)({}, N, {
|
|
@@ -8614,20 +8617,20 @@ function xf(e, t) {
|
|
|
8614
8617
|
}
|
|
8615
8618
|
var ke = {};
|
|
8616
8619
|
const wf = /* @__PURE__ */ Et(Rc), Rf = /* @__PURE__ */ Et(wd);
|
|
8617
|
-
var
|
|
8620
|
+
var fi = ui;
|
|
8618
8621
|
Object.defineProperty(ke, "__esModule", {
|
|
8619
8622
|
value: !0
|
|
8620
8623
|
});
|
|
8621
|
-
var
|
|
8624
|
+
var Wa = ke.alpha = gi;
|
|
8622
8625
|
ke.blend = kf;
|
|
8623
8626
|
ke.colorChannel = void 0;
|
|
8624
8627
|
var Oo = ke.darken = Qo;
|
|
8625
8628
|
ke.decomposeColor = ut;
|
|
8626
|
-
ke.emphasize =
|
|
8627
|
-
var
|
|
8629
|
+
ke.emphasize = yi;
|
|
8630
|
+
var Ga = ke.getContrastRatio = Af;
|
|
8628
8631
|
ke.getLuminance = _n;
|
|
8629
|
-
ke.hexToRgb =
|
|
8630
|
-
ke.hslToRgb =
|
|
8632
|
+
ke.hexToRgb = hi;
|
|
8633
|
+
ke.hslToRgb = pi;
|
|
8631
8634
|
var To = ke.lighten = ea;
|
|
8632
8635
|
ke.private_safeAlpha = Of;
|
|
8633
8636
|
ke.private_safeColorChannel = void 0;
|
|
@@ -8636,11 +8639,11 @@ ke.private_safeEmphasize = If;
|
|
|
8636
8639
|
ke.private_safeLighten = Mf;
|
|
8637
8640
|
ke.recomposeColor = sr;
|
|
8638
8641
|
ke.rgbToHex = Ef;
|
|
8639
|
-
var
|
|
8642
|
+
var Ha = fi(wf), jf = fi(Rf);
|
|
8640
8643
|
function Zo(e, t = 0, r = 1) {
|
|
8641
8644
|
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), (0, jf.default)(e, t, r);
|
|
8642
8645
|
}
|
|
8643
|
-
function
|
|
8646
|
+
function hi(e) {
|
|
8644
8647
|
e = e.slice(1);
|
|
8645
8648
|
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
8646
8649
|
let r = e.match(t);
|
|
@@ -8654,16 +8657,16 @@ function ut(e) {
|
|
|
8654
8657
|
if (e.type)
|
|
8655
8658
|
return e;
|
|
8656
8659
|
if (e.charAt(0) === "#")
|
|
8657
|
-
return ut(
|
|
8660
|
+
return ut(hi(e));
|
|
8658
8661
|
const t = e.indexOf("("), r = e.substring(0, t);
|
|
8659
8662
|
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
|
|
8660
8663
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
8661
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0,
|
|
8664
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, Ha.default)(9, e));
|
|
8662
8665
|
let n = e.substring(t + 1, e.length - 1), o;
|
|
8663
8666
|
if (r === "color") {
|
|
8664
8667
|
if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
|
|
8665
8668
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
8666
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0,
|
|
8669
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, Ha.default)(10, o));
|
|
8667
8670
|
} else
|
|
8668
8671
|
n = n.split(",");
|
|
8669
8672
|
return n = n.map((a) => parseFloat(a)), {
|
|
@@ -8672,14 +8675,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8672
8675
|
colorSpace: o
|
|
8673
8676
|
};
|
|
8674
8677
|
}
|
|
8675
|
-
const
|
|
8678
|
+
const mi = (e) => {
|
|
8676
8679
|
const t = ut(e);
|
|
8677
8680
|
return t.values.slice(0, 3).map((r, n) => t.type.indexOf("hsl") !== -1 && n !== 0 ? `${r}%` : r).join(" ");
|
|
8678
8681
|
};
|
|
8679
|
-
ke.colorChannel =
|
|
8682
|
+
ke.colorChannel = mi;
|
|
8680
8683
|
const Pf = (e, t) => {
|
|
8681
8684
|
try {
|
|
8682
|
-
return
|
|
8685
|
+
return mi(e);
|
|
8683
8686
|
} catch {
|
|
8684
8687
|
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
8685
8688
|
}
|
|
@@ -8703,7 +8706,7 @@ function Ef(e) {
|
|
|
8703
8706
|
} = ut(e);
|
|
8704
8707
|
return `#${t.map((r, n) => Cf(n === 3 ? Math.round(255 * r) : r)).join("")}`;
|
|
8705
8708
|
}
|
|
8706
|
-
function
|
|
8709
|
+
function pi(e) {
|
|
8707
8710
|
e = ut(e);
|
|
8708
8711
|
const {
|
|
8709
8712
|
values: t
|
|
@@ -8717,19 +8720,19 @@ function mi(e) {
|
|
|
8717
8720
|
}
|
|
8718
8721
|
function _n(e) {
|
|
8719
8722
|
e = ut(e);
|
|
8720
|
-
let t = e.type === "hsl" || e.type === "hsla" ? ut(
|
|
8723
|
+
let t = e.type === "hsl" || e.type === "hsla" ? ut(pi(e)).values : e.values;
|
|
8721
8724
|
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
8722
8725
|
}
|
|
8723
8726
|
function Af(e, t) {
|
|
8724
8727
|
const r = _n(e), n = _n(t);
|
|
8725
8728
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
8726
8729
|
}
|
|
8727
|
-
function
|
|
8730
|
+
function gi(e, t) {
|
|
8728
8731
|
return e = ut(e), t = Zo(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, sr(e);
|
|
8729
8732
|
}
|
|
8730
8733
|
function Of(e, t, r) {
|
|
8731
8734
|
try {
|
|
8732
|
-
return
|
|
8735
|
+
return gi(e, t);
|
|
8733
8736
|
} catch {
|
|
8734
8737
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
8735
8738
|
}
|
|
@@ -8767,12 +8770,12 @@ function Mf(e, t, r) {
|
|
|
8767
8770
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
8768
8771
|
}
|
|
8769
8772
|
}
|
|
8770
|
-
function
|
|
8773
|
+
function yi(e, t = 0.15) {
|
|
8771
8774
|
return _n(e) > 0.5 ? Qo(e, t) : ea(e, t);
|
|
8772
8775
|
}
|
|
8773
8776
|
function If(e, t, r) {
|
|
8774
8777
|
try {
|
|
8775
|
-
return
|
|
8778
|
+
return yi(e, t);
|
|
8776
8779
|
} catch {
|
|
8777
8780
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
8778
8781
|
}
|
|
@@ -8892,7 +8895,7 @@ const Tr = {
|
|
|
8892
8895
|
A200: "#69f0ae",
|
|
8893
8896
|
A400: "#00e676",
|
|
8894
8897
|
A700: "#00c853"
|
|
8895
|
-
}, $f = ["mode", "contrastThreshold", "tonalOffset"],
|
|
8898
|
+
}, $f = ["mode", "contrastThreshold", "tonalOffset"], Ka = {
|
|
8896
8899
|
// The colors used to style the text.
|
|
8897
8900
|
text: {
|
|
8898
8901
|
// The most important text.
|
|
@@ -8955,7 +8958,7 @@ const Tr = {
|
|
|
8955
8958
|
activatedOpacity: 0.24
|
|
8956
8959
|
}
|
|
8957
8960
|
};
|
|
8958
|
-
function
|
|
8961
|
+
function qa(e, t, r, n) {
|
|
8959
8962
|
const o = n.light || n, a = n.dark || n * 1.5;
|
|
8960
8963
|
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = To(e.main, o) : t === "dark" && (e.dark = Oo(e.main, a)));
|
|
8961
8964
|
}
|
|
@@ -9033,9 +9036,9 @@ function Vf(e) {
|
|
|
9033
9036
|
tonalOffset: n = 0.2
|
|
9034
9037
|
} = e, o = tt(e, $f), a = e.primary || Nf(t), i = e.secondary || Ff(t), l = e.error || Df(t), c = e.info || Uf(t), u = e.success || Bf(t), d = e.warning || Jf(t);
|
|
9035
9038
|
function h(y) {
|
|
9036
|
-
const b =
|
|
9039
|
+
const b = Ga(y, mo.text.primary) >= r ? mo.text.primary : Ka.text.primary;
|
|
9037
9040
|
if (process.env.NODE_ENV !== "production") {
|
|
9038
|
-
const w =
|
|
9041
|
+
const w = Ga(y, b);
|
|
9039
9042
|
w < 3 && console.error([`MUI: The contrast ratio of ${w}:1 for ${b} on ${y}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
9040
9043
|
`));
|
|
9041
9044
|
}
|
|
@@ -9066,10 +9069,10 @@ const theme1 = createTheme({ palette: {
|
|
|
9066
9069
|
const theme2 = createTheme({ palette: {
|
|
9067
9070
|
primary: { main: green[500] },
|
|
9068
9071
|
} });` : Er(12, b ? ` (${b})` : "", JSON.stringify(y.main)));
|
|
9069
|
-
return
|
|
9072
|
+
return qa(y, "light", C, n), qa(y, "dark", P, n), y.contrastText || (y.contrastText = h(y.main)), y;
|
|
9070
9073
|
}, _ = {
|
|
9071
9074
|
dark: mo,
|
|
9072
|
-
light:
|
|
9075
|
+
light: Ka
|
|
9073
9076
|
};
|
|
9074
9077
|
return process.env.NODE_ENV !== "production" && (_[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), lt(O({
|
|
9075
9078
|
// A collection of common colors.
|
|
@@ -9129,12 +9132,12 @@ const zf = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "f
|
|
|
9129
9132
|
function Wf(e) {
|
|
9130
9133
|
return Math.round(e * 1e5) / 1e5;
|
|
9131
9134
|
}
|
|
9132
|
-
const
|
|
9135
|
+
const Xa = {
|
|
9133
9136
|
textTransform: "uppercase"
|
|
9134
|
-
},
|
|
9137
|
+
}, Ya = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
9135
9138
|
function Gf(e, t) {
|
|
9136
9139
|
const r = typeof t == "function" ? t(e) : t, {
|
|
9137
|
-
fontFamily: n =
|
|
9140
|
+
fontFamily: n = Ya,
|
|
9138
9141
|
// The default font size of the Material Specification.
|
|
9139
9142
|
fontSize: o = 14,
|
|
9140
9143
|
// px
|
|
@@ -9156,7 +9159,7 @@ function Gf(e, t) {
|
|
|
9156
9159
|
fontSize: g(C),
|
|
9157
9160
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
9158
9161
|
lineHeight: P
|
|
9159
|
-
}, n ===
|
|
9162
|
+
}, n === Ya ? {
|
|
9160
9163
|
letterSpacing: `${Wf(I / C)}em`
|
|
9161
9164
|
} : {}, v, d), b = {
|
|
9162
9165
|
h1: y(a, 96, 1.167, -1.5),
|
|
@@ -9169,9 +9172,9 @@ function Gf(e, t) {
|
|
|
9169
9172
|
subtitle2: y(l, 14, 1.57, 0.1),
|
|
9170
9173
|
body1: y(i, 16, 1.5, 0.15),
|
|
9171
9174
|
body2: y(i, 14, 1.43, 0.15),
|
|
9172
|
-
button: y(l, 14, 1.75, 0.4,
|
|
9175
|
+
button: y(l, 14, 1.75, 0.4, Xa),
|
|
9173
9176
|
caption: y(i, 12, 1.66, 0.4),
|
|
9174
|
-
overline: y(i, 12, 2.66, 1,
|
|
9177
|
+
overline: y(i, 12, 2.66, 1, Xa),
|
|
9175
9178
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
9176
9179
|
inherit: {
|
|
9177
9180
|
fontFamily: "inherit",
|
|
@@ -9222,7 +9225,7 @@ const Xf = ["none", Re(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Re(0, 3, 1, -2, 0,
|
|
|
9222
9225
|
// recommended when something is leaving screen
|
|
9223
9226
|
leavingScreen: 195
|
|
9224
9227
|
};
|
|
9225
|
-
function
|
|
9228
|
+
function Za(e) {
|
|
9226
9229
|
return `${Math.round(e)}ms`;
|
|
9227
9230
|
}
|
|
9228
9231
|
function eh(e) {
|
|
@@ -9246,7 +9249,7 @@ function th(e) {
|
|
|
9246
9249
|
!d(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !h(i) && !d(i) && console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`), d(l) || console.error('MUI: Argument "easing" must be a string.'), !h(c) && !d(c) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
9247
9250
|
`)), Object.keys(u).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`);
|
|
9248
9251
|
}
|
|
9249
|
-
return (Array.isArray(o) ? o : [o]).map((d) => `${d} ${typeof i == "string" ? i :
|
|
9252
|
+
return (Array.isArray(o) ? o : [o]).map((d) => `${d} ${typeof i == "string" ? i : Za(i)} ${l} ${typeof c == "string" ? c : Za(c)}`).join(",");
|
|
9250
9253
|
}
|
|
9251
9254
|
}, e, {
|
|
9252
9255
|
easing: t,
|
|
@@ -9263,7 +9266,7 @@ const rh = {
|
|
|
9263
9266
|
snackbar: 1400,
|
|
9264
9267
|
tooltip: 1500
|
|
9265
9268
|
}, nh = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
9266
|
-
function
|
|
9269
|
+
function bi(e = {}, ...t) {
|
|
9267
9270
|
const {
|
|
9268
9271
|
mixins: r = {},
|
|
9269
9272
|
palette: n = {},
|
|
@@ -9313,17 +9316,17 @@ function yi(e = {}, ...t) {
|
|
|
9313
9316
|
});
|
|
9314
9317
|
}, u;
|
|
9315
9318
|
}
|
|
9316
|
-
const
|
|
9319
|
+
const _i = bi(), vi = "$$material";
|
|
9317
9320
|
function ta(e) {
|
|
9318
9321
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
9319
9322
|
}
|
|
9320
9323
|
const oh = (e) => ta(e) && e !== "classes", Ot = sf({
|
|
9321
|
-
themeId:
|
|
9322
|
-
defaultTheme:
|
|
9324
|
+
themeId: vi,
|
|
9325
|
+
defaultTheme: _i,
|
|
9323
9326
|
rootShouldForwardProp: oh
|
|
9324
9327
|
});
|
|
9325
9328
|
process.env.NODE_ENV !== "production" && (p.node, p.object.isRequired);
|
|
9326
|
-
function
|
|
9329
|
+
function Si(e) {
|
|
9327
9330
|
return Vd(e);
|
|
9328
9331
|
}
|
|
9329
9332
|
const tr = Yd({
|
|
@@ -9332,7 +9335,7 @@ const tr = Yd({
|
|
|
9332
9335
|
slot: "Root",
|
|
9333
9336
|
overridesResolver: (e, t) => t.root
|
|
9334
9337
|
}),
|
|
9335
|
-
useThemeProps: (e) =>
|
|
9338
|
+
useThemeProps: (e) => Si({
|
|
9336
9339
|
props: e,
|
|
9337
9340
|
name: "MuiStack"
|
|
9338
9341
|
})
|
|
@@ -9381,7 +9384,7 @@ process.env.NODE_ENV !== "production" && (tr.propTypes = {
|
|
|
9381
9384
|
*/
|
|
9382
9385
|
useFlexGap: p.bool
|
|
9383
9386
|
});
|
|
9384
|
-
const
|
|
9387
|
+
const Qa = _t(
|
|
9385
9388
|
({
|
|
9386
9389
|
color: e,
|
|
9387
9390
|
label: t,
|
|
@@ -9610,7 +9613,7 @@ function xr() {
|
|
|
9610
9613
|
});
|
|
9611
9614
|
return r.resolve = e, r.reject = t, r;
|
|
9612
9615
|
}
|
|
9613
|
-
function
|
|
9616
|
+
function es(e) {
|
|
9614
9617
|
return e == null ? "" : "" + e;
|
|
9615
9618
|
}
|
|
9616
9619
|
function lh(e, t, r) {
|
|
@@ -9638,7 +9641,7 @@ function Cr(e, t, r) {
|
|
|
9638
9641
|
k: n(a[i])
|
|
9639
9642
|
};
|
|
9640
9643
|
}
|
|
9641
|
-
function
|
|
9644
|
+
function ts(e, t, r) {
|
|
9642
9645
|
const {
|
|
9643
9646
|
obj: n,
|
|
9644
9647
|
k: o
|
|
@@ -9671,9 +9674,9 @@ function dh(e, t, r) {
|
|
|
9671
9674
|
const n = Sn(e, r);
|
|
9672
9675
|
return n !== void 0 ? n : Sn(t, r);
|
|
9673
9676
|
}
|
|
9674
|
-
function
|
|
9677
|
+
function xi(e, t, r) {
|
|
9675
9678
|
for (const n in t)
|
|
9676
|
-
n !== "__proto__" && n !== "constructor" && (n in e ? typeof e[n] == "string" || e[n] instanceof String || typeof t[n] == "string" || t[n] instanceof String ? r && (e[n] = t[n]) :
|
|
9679
|
+
n !== "__proto__" && n !== "constructor" && (n in e ? typeof e[n] == "string" || e[n] instanceof String || typeof t[n] == "string" || t[n] instanceof String ? r && (e[n] = t[n]) : xi(e[n], t[n], r) : e[n] = t[n]);
|
|
9677
9680
|
return e;
|
|
9678
9681
|
}
|
|
9679
9682
|
function Xt(e) {
|
|
@@ -9739,7 +9742,7 @@ function Mo(e, t) {
|
|
|
9739
9742
|
function xn(e) {
|
|
9740
9743
|
return e && e.indexOf("_") > 0 ? e.replace("_", "-") : e;
|
|
9741
9744
|
}
|
|
9742
|
-
class
|
|
9745
|
+
class rs extends Bn {
|
|
9743
9746
|
constructor(t) {
|
|
9744
9747
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
9745
9748
|
ns: ["translation"],
|
|
@@ -9768,7 +9771,7 @@ class ts extends Bn {
|
|
|
9768
9771
|
};
|
|
9769
9772
|
const i = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator;
|
|
9770
9773
|
let l = [t, r];
|
|
9771
|
-
n && (l = l.concat(i ? n.split(i) : n)), t.indexOf(".") > -1 && (l = t.split("."), o = r, r = l[1]), this.addNamespaces(r),
|
|
9774
|
+
n && (l = l.concat(i ? n.split(i) : n)), t.indexOf(".") > -1 && (l = t.split("."), o = r, r = l[1]), this.addNamespaces(r), ts(this.data, l, o), a.silent || this.emit("added", t, r, n, o);
|
|
9772
9775
|
}
|
|
9773
9776
|
addResources(t, r, n) {
|
|
9774
9777
|
let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
@@ -9787,10 +9790,10 @@ class ts extends Bn {
|
|
|
9787
9790
|
}, l = [t, r];
|
|
9788
9791
|
t.indexOf(".") > -1 && (l = t.split("."), o = n, n = r, r = l[1]), this.addNamespaces(r);
|
|
9789
9792
|
let c = Sn(this.data, l) || {};
|
|
9790
|
-
i.skipCopy || (n = JSON.parse(JSON.stringify(n))), o ?
|
|
9793
|
+
i.skipCopy || (n = JSON.parse(JSON.stringify(n))), o ? xi(c, n, a) : c = {
|
|
9791
9794
|
...c,
|
|
9792
9795
|
...n
|
|
9793
|
-
},
|
|
9796
|
+
}, ts(this.data, l, c), i.silent || this.emit("added", t, r, n);
|
|
9794
9797
|
}
|
|
9795
9798
|
removeResourceBundle(t, r) {
|
|
9796
9799
|
this.hasResourceBundle(t, r) && delete this.data[t][r], this.removeNamespaces(r), this.emit("removed", t, r);
|
|
@@ -9814,7 +9817,7 @@ class ts extends Bn {
|
|
|
9814
9817
|
return this.data;
|
|
9815
9818
|
}
|
|
9816
9819
|
}
|
|
9817
|
-
var
|
|
9820
|
+
var wi = {
|
|
9818
9821
|
processors: {},
|
|
9819
9822
|
addPostProcessor(e) {
|
|
9820
9823
|
this.processors[e.name] = e;
|
|
@@ -9825,7 +9828,7 @@ var xi = {
|
|
|
9825
9828
|
}), t;
|
|
9826
9829
|
}
|
|
9827
9830
|
};
|
|
9828
|
-
const
|
|
9831
|
+
const ns = {};
|
|
9829
9832
|
class wn extends Bn {
|
|
9830
9833
|
constructor(t) {
|
|
9831
9834
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
@@ -9995,7 +9998,7 @@ class wn extends Bn {
|
|
|
9995
9998
|
}, n)), n.interpolation && this.interpolator.reset();
|
|
9996
9999
|
}
|
|
9997
10000
|
const l = n.postProcess || this.options.postProcess, c = typeof l == "string" ? [l] : l;
|
|
9998
|
-
return t != null && c && c.length && n.applyPostProcessor !== !1 && (t =
|
|
10001
|
+
return t != null && c && c.length && n.applyPostProcessor !== !1 && (t = wi.handle(c, t, r, this.options && this.options.postProcessPassResolved ? {
|
|
9999
10002
|
i18nResolved: {
|
|
10000
10003
|
...o,
|
|
10001
10004
|
usedParams: this.getUsedParamsDetails(n)
|
|
@@ -10013,7 +10016,7 @@ class wn extends Bn {
|
|
|
10013
10016
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
10014
10017
|
const f = r.count !== void 0 && typeof r.count != "string", _ = f && !r.ordinal && r.count === 0 && this.pluralResolver.shouldUseIntlApi(), g = r.context !== void 0 && (typeof r.context == "string" || typeof r.context == "number") && r.context !== "", y = r.lngs ? r.lngs : this.languageUtils.toResolveHierarchy(r.lng || this.language, r.fallbackLng);
|
|
10015
10018
|
h.forEach((b) => {
|
|
10016
|
-
this.isValidLookup(n) || (l = b, !
|
|
10019
|
+
this.isValidLookup(n) || (l = b, !ns[`${y[0]}-${b}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(l) && (ns[`${y[0]}-${b}`] = !0, this.logger.warn(`key "${o}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((w) => {
|
|
10017
10020
|
if (this.isValidLookup(n)) return;
|
|
10018
10021
|
i = w;
|
|
10019
10022
|
const C = [d];
|
|
@@ -10075,7 +10078,7 @@ class wn extends Bn {
|
|
|
10075
10078
|
function po(e) {
|
|
10076
10079
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
10077
10080
|
}
|
|
10078
|
-
class
|
|
10081
|
+
class os {
|
|
10079
10082
|
constructor(t) {
|
|
10080
10083
|
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = yt.create("languageUtils");
|
|
10081
10084
|
}
|
|
@@ -10294,7 +10297,7 @@ let bh = [{
|
|
|
10294
10297
|
return e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3;
|
|
10295
10298
|
}
|
|
10296
10299
|
};
|
|
10297
|
-
const vh = ["v1", "v2", "v3"], Sh = ["v4"],
|
|
10300
|
+
const vh = ["v1", "v2", "v3"], Sh = ["v4"], as = {
|
|
10298
10301
|
zero: 0,
|
|
10299
10302
|
one: 1,
|
|
10300
10303
|
two: 2,
|
|
@@ -10345,7 +10348,7 @@ class wh {
|
|
|
10345
10348
|
getSuffixes(t) {
|
|
10346
10349
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
10347
10350
|
const n = this.getRule(t, r);
|
|
10348
|
-
return n ? this.shouldUseIntlApi() ? n.resolvedOptions().pluralCategories.sort((o, a) =>
|
|
10351
|
+
return n ? this.shouldUseIntlApi() ? n.resolvedOptions().pluralCategories.sort((o, a) => as[o] - as[a]).map((o) => `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${o}`) : n.numbers.map((o) => this.getSuffix(t, o, r)) : [];
|
|
10349
10352
|
}
|
|
10350
10353
|
getSuffix(t, r) {
|
|
10351
10354
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -10363,7 +10366,7 @@ class wh {
|
|
|
10363
10366
|
return !vh.includes(this.options.compatibilityJSON);
|
|
10364
10367
|
}
|
|
10365
10368
|
}
|
|
10366
|
-
function
|
|
10369
|
+
function ss(e, t, r) {
|
|
10367
10370
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = dh(e, t, r);
|
|
10368
10371
|
return !a && o && typeof r == "string" && (a = Mo(e, r, n), a === void 0 && (a = Mo(t, r, n))), a;
|
|
10369
10372
|
}
|
|
@@ -10413,7 +10416,7 @@ class Rh {
|
|
|
10413
10416
|
}
|
|
10414
10417
|
const d = (g) => {
|
|
10415
10418
|
if (g.indexOf(this.formatSeparator) < 0) {
|
|
10416
|
-
const C =
|
|
10419
|
+
const C = ss(r, c, g, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
10417
10420
|
return this.alwaysFormat ? this.format(C, void 0, n, {
|
|
10418
10421
|
...o,
|
|
10419
10422
|
...r,
|
|
@@ -10421,7 +10424,7 @@ class Rh {
|
|
|
10421
10424
|
}) : C;
|
|
10422
10425
|
}
|
|
10423
10426
|
const y = g.split(this.formatSeparator), b = y.shift().trim(), w = y.join(this.formatSeparator).trim();
|
|
10424
|
-
return this.format(
|
|
10427
|
+
return this.format(ss(r, c, b, this.options.keySeparator, this.options.ignoreJSONStructure), w, n, {
|
|
10425
10428
|
...o,
|
|
10426
10429
|
...r,
|
|
10427
10430
|
interpolationkey: b
|
|
@@ -10449,7 +10452,7 @@ class Rh {
|
|
|
10449
10452
|
continue;
|
|
10450
10453
|
} else
|
|
10451
10454
|
this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`), i = "";
|
|
10452
|
-
else typeof i != "string" && !this.useRawValueToEscape && (i =
|
|
10455
|
+
else typeof i != "string" && !this.useRawValueToEscape && (i = es(i));
|
|
10453
10456
|
const b = g.safeValue(i);
|
|
10454
10457
|
if (t = t.replace(a[0], b), f ? (g.regex.lastIndex += i.length, g.regex.lastIndex -= a[0].length) : g.regex.lastIndex = 0, l++, l >= this.maxReplaces)
|
|
10455
10458
|
break;
|
|
@@ -10487,7 +10490,7 @@ class Rh {
|
|
|
10487
10490
|
o[1] = d.shift(), c = d, u = !0;
|
|
10488
10491
|
}
|
|
10489
10492
|
if (a = r(l.call(this, o[1].trim(), i), i), a && o[0] === t && typeof a != "string") return a;
|
|
10490
|
-
typeof a != "string" && (a =
|
|
10493
|
+
typeof a != "string" && (a = es(a)), a || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`), a = ""), u && (a = c.reduce((d, h) => this.format(d, h, n.lng, {
|
|
10491
10494
|
...n,
|
|
10492
10495
|
interpolationkey: o[1].trim()
|
|
10493
10496
|
}), a.trim())), t = t.replace(o[0], a), this.regexp.lastIndex = 0;
|
|
@@ -10735,7 +10738,7 @@ class Eh extends Bn {
|
|
|
10735
10738
|
}
|
|
10736
10739
|
}
|
|
10737
10740
|
}
|
|
10738
|
-
function
|
|
10741
|
+
function is() {
|
|
10739
10742
|
return {
|
|
10740
10743
|
debug: !1,
|
|
10741
10744
|
initImmediate: !0,
|
|
@@ -10794,7 +10797,7 @@ function ss() {
|
|
|
10794
10797
|
}
|
|
10795
10798
|
};
|
|
10796
10799
|
}
|
|
10797
|
-
function
|
|
10800
|
+
function ls(e) {
|
|
10798
10801
|
return typeof e.ns == "string" && (e.ns = [e.ns]), typeof e.fallbackLng == "string" && (e.fallbackLng = [e.fallbackLng]), typeof e.fallbackNS == "string" && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e;
|
|
10799
10802
|
}
|
|
10800
10803
|
function Zr() {
|
|
@@ -10807,7 +10810,7 @@ function Ah(e) {
|
|
|
10807
10810
|
class Mr extends Bn {
|
|
10808
10811
|
constructor() {
|
|
10809
10812
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
10810
|
-
if (super(), this.options =
|
|
10813
|
+
if (super(), this.options = ls(t), this.services = {}, this.logger = yt, this.modules = {
|
|
10811
10814
|
external: []
|
|
10812
10815
|
}, Ah(this), r && !this.isInitialized && !t.isClone) {
|
|
10813
10816
|
if (!this.options.initImmediate)
|
|
@@ -10821,11 +10824,11 @@ class Mr extends Bn {
|
|
|
10821
10824
|
var t = this;
|
|
10822
10825
|
let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
|
|
10823
10826
|
this.isInitializing = !0, typeof r == "function" && (n = r, r = {}), !r.defaultNS && r.defaultNS !== !1 && r.ns && (typeof r.ns == "string" ? r.defaultNS = r.ns : r.ns.indexOf("translation") < 0 && (r.defaultNS = r.ns[0]));
|
|
10824
|
-
const o =
|
|
10827
|
+
const o = is();
|
|
10825
10828
|
this.options = {
|
|
10826
10829
|
...o,
|
|
10827
10830
|
...this.options,
|
|
10828
|
-
...
|
|
10831
|
+
...ls(r)
|
|
10829
10832
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
|
10830
10833
|
...o.interpolation,
|
|
10831
10834
|
...this.options.interpolation
|
|
@@ -10837,8 +10840,8 @@ class Mr extends Bn {
|
|
|
10837
10840
|
this.modules.logger ? yt.init(a(this.modules.logger), this.options) : yt.init(null, this.options);
|
|
10838
10841
|
let d;
|
|
10839
10842
|
this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d = Ch);
|
|
10840
|
-
const h = new
|
|
10841
|
-
this.store = new
|
|
10843
|
+
const h = new os(this.options);
|
|
10844
|
+
this.store = new rs(this.options.resources, this.options);
|
|
10842
10845
|
const f = this.services;
|
|
10843
10846
|
f.logger = yt, f.resourceStore = this.store, f.languageUtils = h, f.pluralResolver = new wh(h, {
|
|
10844
10847
|
prepend: this.options.pluralSeparator,
|
|
@@ -10906,7 +10909,7 @@ class Mr extends Bn {
|
|
|
10906
10909
|
use(t) {
|
|
10907
10910
|
if (!t) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
10908
10911
|
if (!t.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
10909
|
-
return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" &&
|
|
10912
|
+
return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && wi.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
|
|
10910
10913
|
}
|
|
10911
10914
|
setResolvedLanguage(t) {
|
|
10912
10915
|
if (!(!t || !this.languages) && !(["cimode", "dev"].indexOf(t) > -1))
|
|
@@ -11004,7 +11007,7 @@ class Mr extends Bn {
|
|
|
11004
11007
|
}
|
|
11005
11008
|
dir(t) {
|
|
11006
11009
|
if (t || (t = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !t) return "rtl";
|
|
11007
|
-
const r = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], n = this.services && this.services.languageUtils || new
|
|
11010
|
+
const r = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], n = this.services && this.services.languageUtils || new os(is());
|
|
11008
11011
|
return r.indexOf(n.getLanguagePartFromCode(t)) > -1 || t.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
11009
11012
|
}
|
|
11010
11013
|
static createInstance() {
|
|
@@ -11026,7 +11029,7 @@ class Mr extends Bn {
|
|
|
11026
11029
|
...this.services
|
|
11027
11030
|
}, a.services.utils = {
|
|
11028
11031
|
hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
|
|
11029
|
-
}, n && (a.store = new
|
|
11032
|
+
}, n && (a.store = new rs(this.store.data, o), a.services.resourceStore = a.store), a.translator = new wn(a.services, o), a.translator.on("*", function(l) {
|
|
11030
11033
|
for (var c = arguments.length, u = new Array(c > 1 ? c - 1 : 0), d = 1; d < c; d++)
|
|
11031
11034
|
u[d - 1] = arguments[d];
|
|
11032
11035
|
a.emit(l, ...u);
|
|
@@ -11060,8 +11063,8 @@ Ve.setDefaultNamespace;
|
|
|
11060
11063
|
Ve.hasLoadedNamespace;
|
|
11061
11064
|
Ve.loadNamespaces;
|
|
11062
11065
|
Ve.loadLanguages;
|
|
11063
|
-
const
|
|
11064
|
-
|
|
11066
|
+
const Ri = Ve.createInstance();
|
|
11067
|
+
Ri.use(Nl).use(Il).init({
|
|
11065
11068
|
supportedLngs: ["en", "de"],
|
|
11066
11069
|
resources: {
|
|
11067
11070
|
en: {
|
|
@@ -11109,7 +11112,7 @@ const Oh = _t(
|
|
|
11109
11112
|
});
|
|
11110
11113
|
return g > 0 && y === 0 ? `+${b}` : b;
|
|
11111
11114
|
}
|
|
11112
|
-
return /* @__PURE__ */ s.jsx(
|
|
11115
|
+
return /* @__PURE__ */ s.jsx(kl, { i18n: Ri, children: /* @__PURE__ */ s.jsxs(
|
|
11113
11116
|
tr,
|
|
11114
11117
|
{
|
|
11115
11118
|
height: "64px",
|
|
@@ -11136,7 +11139,7 @@ const Oh = _t(
|
|
|
11136
11139
|
height: "42px"
|
|
11137
11140
|
}
|
|
11138
11141
|
},
|
|
11139
|
-
children: /* @__PURE__ */ s.jsx(
|
|
11142
|
+
children: /* @__PURE__ */ s.jsx(Ll, {})
|
|
11140
11143
|
}
|
|
11141
11144
|
),
|
|
11142
11145
|
/* @__PURE__ */ s.jsxs(
|
|
@@ -11170,7 +11173,7 @@ const Oh = _t(
|
|
|
11170
11173
|
}
|
|
11171
11174
|
),
|
|
11172
11175
|
/* @__PURE__ */ s.jsx(
|
|
11173
|
-
|
|
11176
|
+
ul,
|
|
11174
11177
|
{
|
|
11175
11178
|
disabled: !0,
|
|
11176
11179
|
"aria-label": "Joint position",
|
|
@@ -11230,7 +11233,7 @@ const Oh = _t(
|
|
|
11230
11233
|
height: "42px"
|
|
11231
11234
|
}
|
|
11232
11235
|
},
|
|
11233
|
-
children: /* @__PURE__ */ s.jsx(
|
|
11236
|
+
children: /* @__PURE__ */ s.jsx($l, {})
|
|
11234
11237
|
}
|
|
11235
11238
|
)
|
|
11236
11239
|
]
|
|
@@ -11255,8 +11258,8 @@ const Oh = _t(
|
|
|
11255
11258
|
...r
|
|
11256
11259
|
}, n) => /* @__PURE__ */ J.createElement("svg", { width: 10, height: 19, viewBox: "0 0 10 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ J.createElement("title", { id: t }, e) : null, /* @__PURE__ */ J.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.52182 14.8114C9.87293 14.4603 9.87293 13.8911 9.52182 13.54C9.17071 13.1888 8.60144 13.1888 8.25033 13.54L6.18885 15.6014L6.18885 3.15999L8.25033 5.22147C8.60144 5.57258 9.17071 5.57258 9.52182 5.22147C9.87293 4.87036 9.87293 4.30109 9.52182 3.94998L5.9255 0.353666C5.57439 0.00255379 5.00513 0.00255378 4.65401 0.353666L1.0577 3.94998C0.706587 4.30109 0.706587 4.87036 1.0577 5.22147C1.40881 5.57258 1.97808 5.57258 2.32919 5.22147L4.3907 3.15996L4.3907 15.6015L2.32919 13.54C1.97808 13.1888 1.40881 13.1888 1.0577 13.54C0.706588 13.8911 0.706588 14.4603 1.0577 14.8114L4.65402 18.4078C5.00513 18.7589 5.57439 18.7589 5.92551 18.4078L9.52182 14.8114Z", fill: "white" })), Fh = Pn(Nh);
|
|
11257
11260
|
function Dh() {
|
|
11258
|
-
const e =
|
|
11259
|
-
return process.env.NODE_ENV !== "production" && J.useDebugValue(e), e[
|
|
11261
|
+
const e = ti(_i);
|
|
11262
|
+
return process.env.NODE_ENV !== "production" && J.useDebugValue(e), e[vi] || e;
|
|
11260
11263
|
}
|
|
11261
11264
|
const ge = {
|
|
11262
11265
|
white: "#FFFFFF",
|
|
@@ -11273,7 +11276,7 @@ const ge = {
|
|
|
11273
11276
|
scaryred: "#FF0E65",
|
|
11274
11277
|
tealGreen: "#1AC0B2",
|
|
11275
11278
|
magenta: "#EA3785"
|
|
11276
|
-
},
|
|
11279
|
+
}, ji = {
|
|
11277
11280
|
primary: ge.skyblue500,
|
|
11278
11281
|
textDefault: ge.white,
|
|
11279
11282
|
textInverse: ge.darkestblue,
|
|
@@ -11294,7 +11297,7 @@ const ge = {
|
|
|
11294
11297
|
activeTabBackground: ge.darkishblue,
|
|
11295
11298
|
omniverseConfigurationSuccess: ge.tealGreen,
|
|
11296
11299
|
omniverseConfigurationFailure: ge.magenta
|
|
11297
|
-
},
|
|
11300
|
+
}, Ci = {
|
|
11298
11301
|
primary: ge.lightbuttonblue,
|
|
11299
11302
|
textDefault: "#18181B",
|
|
11300
11303
|
textInverse: ge.white,
|
|
@@ -11316,12 +11319,12 @@ const ge = {
|
|
|
11316
11319
|
omniverseConfigurationSuccess: ge.tealGreen,
|
|
11317
11320
|
omniverseConfigurationFailure: ge.magenta
|
|
11318
11321
|
};
|
|
11319
|
-
function
|
|
11320
|
-
return Dh().palette.mode === "dark" ?
|
|
11322
|
+
function Pi() {
|
|
11323
|
+
return Dh().palette.mode === "dark" ? ji : Ci;
|
|
11321
11324
|
}
|
|
11322
|
-
function
|
|
11323
|
-
const r = e === "light" ?
|
|
11324
|
-
return
|
|
11325
|
+
function Ei(e, t = {}) {
|
|
11326
|
+
const r = e === "light" ? Ci : ji;
|
|
11327
|
+
return bi(
|
|
11325
11328
|
on(t, {
|
|
11326
11329
|
palette: {
|
|
11327
11330
|
mode: e,
|
|
@@ -11421,10 +11424,10 @@ function Pi(e, t = {}) {
|
|
|
11421
11424
|
})
|
|
11422
11425
|
);
|
|
11423
11426
|
}
|
|
11424
|
-
|
|
11425
|
-
|
|
11427
|
+
Ei("dark");
|
|
11428
|
+
Ei("light");
|
|
11426
11429
|
const go = ({ kind: e, sx: t, ...r }) => {
|
|
11427
|
-
const n =
|
|
11430
|
+
const n = Pi();
|
|
11428
11431
|
let o = on(t, {
|
|
11429
11432
|
backgroundColor: n.selectBackground,
|
|
11430
11433
|
borderRadius: "10px",
|
|
@@ -11451,9 +11454,9 @@ const go = ({ kind: e, sx: t, ...r }) => {
|
|
|
11451
11454
|
}
|
|
11452
11455
|
},
|
|
11453
11456
|
o
|
|
11454
|
-
)), /* @__PURE__ */ s.jsx(
|
|
11457
|
+
)), /* @__PURE__ */ s.jsx(dl, { sx: o, ...r });
|
|
11455
11458
|
}, Uh = _t(({ store: e }) => {
|
|
11456
|
-
const { t } = nr(), r =
|
|
11459
|
+
const { t } = nr(), r = Pi();
|
|
11457
11460
|
return /* @__PURE__ */ s.jsxs(
|
|
11458
11461
|
Me,
|
|
11459
11462
|
{
|
|
@@ -11531,10 +11534,10 @@ function Bh(e, t, r = (n, o) => n === o) {
|
|
|
11531
11534
|
return e.length === t.length && e.every((n, o) => r(n, t[o]));
|
|
11532
11535
|
}
|
|
11533
11536
|
const Jh = 2;
|
|
11534
|
-
function
|
|
11537
|
+
function Ai(e, t) {
|
|
11535
11538
|
return e - t;
|
|
11536
11539
|
}
|
|
11537
|
-
function
|
|
11540
|
+
function cs(e, t) {
|
|
11538
11541
|
var r;
|
|
11539
11542
|
const {
|
|
11540
11543
|
index: n
|
|
@@ -11583,13 +11586,13 @@ function Wh(e, t, r) {
|
|
|
11583
11586
|
const n = Math.round((e - r) / t) * t + r;
|
|
11584
11587
|
return Number(n.toFixed(zh(t)));
|
|
11585
11588
|
}
|
|
11586
|
-
function
|
|
11589
|
+
function us({
|
|
11587
11590
|
values: e,
|
|
11588
11591
|
newValue: t,
|
|
11589
11592
|
index: r
|
|
11590
11593
|
}) {
|
|
11591
11594
|
const n = e.slice();
|
|
11592
|
-
return n[r] = t, n.sort(
|
|
11595
|
+
return n[r] = t, n.sort(Ai);
|
|
11593
11596
|
}
|
|
11594
11597
|
function en({
|
|
11595
11598
|
sliderRef: e,
|
|
@@ -11634,7 +11637,7 @@ const Gh = {
|
|
|
11634
11637
|
}
|
|
11635
11638
|
}, Hh = (e) => e;
|
|
11636
11639
|
let rn;
|
|
11637
|
-
function
|
|
11640
|
+
function ds() {
|
|
11638
11641
|
return rn === void 0 && (typeof CSS < "u" && typeof CSS.supports == "function" ? rn = CSS.supports("touch-action", "none") : rn = !0), rn;
|
|
11639
11642
|
}
|
|
11640
11643
|
function Kh(e) {
|
|
@@ -11671,7 +11674,7 @@ function Kh(e) {
|
|
|
11671
11674
|
}
|
|
11672
11675
|
}), d(de, $, B);
|
|
11673
11676
|
}), ee = Array.isArray(U);
|
|
11674
|
-
let re = ee ? U.slice().sort(
|
|
11677
|
+
let re = ee ? U.slice().sort(Ai) : [U];
|
|
11675
11678
|
re = re.map((E) => E == null ? c : Zt(E, c, l));
|
|
11676
11679
|
const ye = i === !0 && y !== null ? [...Array(Math.floor((l - c) / y) + 1)].map((E, $) => ({
|
|
11677
11680
|
value: c + y * $
|
|
@@ -11697,7 +11700,7 @@ function Kh(e) {
|
|
|
11697
11700
|
if (ie = Zt(ie, c, l), ee) {
|
|
11698
11701
|
o && (ie = Zt(ie, re[B - 1] || -1 / 0, re[B + 1] || 1 / 0));
|
|
11699
11702
|
const Ye = ie;
|
|
11700
|
-
ie =
|
|
11703
|
+
ie = us({
|
|
11701
11704
|
values: re,
|
|
11702
11705
|
newValue: ie,
|
|
11703
11706
|
index: B
|
|
@@ -11718,7 +11721,7 @@ function Kh(e) {
|
|
|
11718
11721
|
}
|
|
11719
11722
|
E == null || (B = E.onKeyDown) == null || B.call(E, $);
|
|
11720
11723
|
};
|
|
11721
|
-
|
|
11724
|
+
ii(() => {
|
|
11722
11725
|
if (n && D.current.contains(document.activeElement)) {
|
|
11723
11726
|
var E;
|
|
11724
11727
|
(E = document.activeElement) == null || E.blur();
|
|
@@ -11748,15 +11751,15 @@ function Kh(e) {
|
|
|
11748
11751
|
if (fe = Vh(rt, c, l), y)
|
|
11749
11752
|
fe = Wh(fe, y, c);
|
|
11750
11753
|
else {
|
|
11751
|
-
const jt =
|
|
11754
|
+
const jt = cs(le, fe);
|
|
11752
11755
|
fe = le[jt];
|
|
11753
11756
|
}
|
|
11754
11757
|
fe = Zt(fe, c, l);
|
|
11755
11758
|
let He = 0;
|
|
11756
11759
|
if (ee) {
|
|
11757
|
-
$ ? He = T.current : He =
|
|
11760
|
+
$ ? He = T.current : He = cs(re, fe), o && (fe = Zt(fe, re[He - 1] || -1 / 0, re[He + 1] || 1 / 0));
|
|
11758
11761
|
const jt = fe;
|
|
11759
|
-
fe =
|
|
11762
|
+
fe = us({
|
|
11760
11763
|
values: re,
|
|
11761
11764
|
newValue: fe,
|
|
11762
11765
|
index: He
|
|
@@ -11800,7 +11803,7 @@ function Kh(e) {
|
|
|
11800
11803
|
}), We = co((E) => {
|
|
11801
11804
|
if (n)
|
|
11802
11805
|
return;
|
|
11803
|
-
|
|
11806
|
+
ds() || E.preventDefault();
|
|
11804
11807
|
const $ = E.changedTouches[0];
|
|
11805
11808
|
$ != null && (P.current = $.identifier);
|
|
11806
11809
|
const B = Qr(E, P);
|
|
@@ -11833,7 +11836,7 @@ function Kh(e) {
|
|
|
11833
11836
|
current: E
|
|
11834
11837
|
} = D;
|
|
11835
11838
|
return E.addEventListener("touchstart", We, {
|
|
11836
|
-
passive:
|
|
11839
|
+
passive: ds()
|
|
11837
11840
|
}), () => {
|
|
11838
11841
|
E.removeEventListener("touchstart", We), Ge();
|
|
11839
11842
|
};
|
|
@@ -11950,7 +11953,7 @@ const it = id("MuiSlider", ["root", "active", "colorPrimary", "colorSecondary",
|
|
|
11950
11953
|
label: it.valueLabelLabel
|
|
11951
11954
|
};
|
|
11952
11955
|
};
|
|
11953
|
-
function
|
|
11956
|
+
function Oi(e) {
|
|
11954
11957
|
const {
|
|
11955
11958
|
children: t,
|
|
11956
11959
|
className: r,
|
|
@@ -11972,13 +11975,13 @@ function Ai(e) {
|
|
|
11972
11975
|
})]
|
|
11973
11976
|
})) : null;
|
|
11974
11977
|
}
|
|
11975
|
-
process.env.NODE_ENV !== "production" && (
|
|
11978
|
+
process.env.NODE_ENV !== "production" && (Oi.propTypes = {
|
|
11976
11979
|
children: p.element.isRequired,
|
|
11977
11980
|
className: p.string,
|
|
11978
11981
|
value: p.node
|
|
11979
11982
|
});
|
|
11980
11983
|
const Zh = ["aria-label", "aria-valuetext", "aria-labelledby", "component", "components", "componentsProps", "color", "classes", "className", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "orientation", "shiftStep", "size", "step", "scale", "slotProps", "slots", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat"];
|
|
11981
|
-
function
|
|
11984
|
+
function fs(e) {
|
|
11982
11985
|
return e;
|
|
11983
11986
|
}
|
|
11984
11987
|
const Qh = Ot("span", {
|
|
@@ -12284,7 +12287,7 @@ const Qh = Ot("span", {
|
|
|
12284
12287
|
[`&:hover, &.${it.focusVisible}`]: O({}, e.vars ? {
|
|
12285
12288
|
boxShadow: `0px 0px 0px 8px rgba(${e.vars.palette[r].mainChannel} / 0.16)`
|
|
12286
12289
|
} : {
|
|
12287
|
-
boxShadow: `0px 0px 0px 8px ${
|
|
12290
|
+
boxShadow: `0px 0px 0px 8px ${Wa(e.palette[r].main, 0.16)}`
|
|
12288
12291
|
}, {
|
|
12289
12292
|
"@media (hover: none)": {
|
|
12290
12293
|
boxShadow: "none"
|
|
@@ -12293,12 +12296,12 @@ const Qh = Ot("span", {
|
|
|
12293
12296
|
[`&.${it.active}`]: O({}, e.vars ? {
|
|
12294
12297
|
boxShadow: `0px 0px 0px 14px rgba(${e.vars.palette[r].mainChannel} / 0.16)`
|
|
12295
12298
|
} : {
|
|
12296
|
-
boxShadow: `0px 0px 0px 14px ${
|
|
12299
|
+
boxShadow: `0px 0px 0px 14px ${Wa(e.palette[r].main, 0.16)}`
|
|
12297
12300
|
})
|
|
12298
12301
|
}
|
|
12299
12302
|
}))]
|
|
12300
12303
|
};
|
|
12301
|
-
}), nm = Ot(
|
|
12304
|
+
}), nm = Ot(Oi, {
|
|
12302
12305
|
name: "MuiSlider",
|
|
12303
12306
|
slot: "ValueLabel",
|
|
12304
12307
|
overridesResolver: (e, t) => t.valueLabel
|
|
@@ -12490,12 +12493,12 @@ const Qh = Ot("span", {
|
|
|
12490
12493
|
disabled: ["disabled"],
|
|
12491
12494
|
focusVisible: ["focusVisible"]
|
|
12492
12495
|
};
|
|
12493
|
-
return
|
|
12496
|
+
return li(u, Xh, i);
|
|
12494
12497
|
}, im = ({
|
|
12495
12498
|
children: e
|
|
12496
|
-
}) => e,
|
|
12499
|
+
}) => e, Ti = /* @__PURE__ */ J.forwardRef(function(t, r) {
|
|
12497
12500
|
var n, o, a, i, l, c, u, d, h, f, _, g, y, b, w, C, P, I, v, N, k, ue, je, xe;
|
|
12498
|
-
const U =
|
|
12501
|
+
const U = Si({
|
|
12499
12502
|
props: t,
|
|
12500
12503
|
name: "MuiSlider"
|
|
12501
12504
|
}), oe = Ud(), {
|
|
@@ -12520,12 +12523,12 @@ const Qh = Ot("span", {
|
|
|
12520
12523
|
shiftStep: X = 10,
|
|
12521
12524
|
size: Ce = "medium",
|
|
12522
12525
|
step: T = 1,
|
|
12523
|
-
scale: we =
|
|
12526
|
+
scale: we = fs,
|
|
12524
12527
|
slotProps: A,
|
|
12525
12528
|
slots: ce,
|
|
12526
12529
|
track: Pe = "normal",
|
|
12527
12530
|
valueLabelDisplay: We = "off",
|
|
12528
|
-
valueLabelFormat: Ge =
|
|
12531
|
+
valueLabelFormat: Ge = fs
|
|
12529
12532
|
} = U, wt = tt(U, Zh), Ue = O({}, U, {
|
|
12530
12533
|
isRtl: oe,
|
|
12531
12534
|
max: z,
|
|
@@ -12667,7 +12670,7 @@ const Qh = Ot("span", {
|
|
|
12667
12670
|
})]
|
|
12668
12671
|
}));
|
|
12669
12672
|
});
|
|
12670
|
-
process.env.NODE_ENV !== "production" && (
|
|
12673
|
+
process.env.NODE_ENV !== "production" && (Ti.propTypes = {
|
|
12671
12674
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
12672
12675
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
12673
12676
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -12675,7 +12678,7 @@ process.env.NODE_ENV !== "production" && (Oi.propTypes = {
|
|
|
12675
12678
|
/**
|
|
12676
12679
|
* The label of the slider.
|
|
12677
12680
|
*/
|
|
12678
|
-
"aria-label":
|
|
12681
|
+
"aria-label": Da(p.string, (e) => Array.isArray(e.value || e.defaultValue) && e["aria-label"] != null ? new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.") : null),
|
|
12679
12682
|
/**
|
|
12680
12683
|
* The id of the element containing a label for the slider.
|
|
12681
12684
|
*/
|
|
@@ -12683,7 +12686,7 @@ process.env.NODE_ENV !== "production" && (Oi.propTypes = {
|
|
|
12683
12686
|
/**
|
|
12684
12687
|
* A string value that provides a user-friendly name for the current value of the slider.
|
|
12685
12688
|
*/
|
|
12686
|
-
"aria-valuetext":
|
|
12689
|
+
"aria-valuetext": Da(p.string, (e) => Array.isArray(e.value || e.defaultValue) && e["aria-valuetext"] != null ? new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.") : null),
|
|
12687
12690
|
/**
|
|
12688
12691
|
* @ignore
|
|
12689
12692
|
*/
|
|
@@ -12935,7 +12938,7 @@ process.env.NODE_ENV !== "production" && (Oi.propTypes = {
|
|
|
12935
12938
|
const lm = _t((e) => {
|
|
12936
12939
|
const t = e.valueLabelFormat || ((n) => `${n}`);
|
|
12937
12940
|
function r(n, o) {
|
|
12938
|
-
o === e.velocity || !
|
|
12941
|
+
o === e.velocity || !Ul(o) || e.onVelocityChange(o);
|
|
12939
12942
|
}
|
|
12940
12943
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
12941
12944
|
/* @__PURE__ */ s.jsx(
|
|
@@ -12949,7 +12952,7 @@ const lm = _t((e) => {
|
|
|
12949
12952
|
}
|
|
12950
12953
|
),
|
|
12951
12954
|
/* @__PURE__ */ s.jsx(
|
|
12952
|
-
|
|
12955
|
+
Ti,
|
|
12953
12956
|
{
|
|
12954
12957
|
value: e.velocity,
|
|
12955
12958
|
onChange: r,
|
|
@@ -12967,7 +12970,7 @@ const lm = _t((e) => {
|
|
|
12967
12970
|
}
|
|
12968
12971
|
)
|
|
12969
12972
|
] });
|
|
12970
|
-
}),
|
|
12973
|
+
}), Mi = _t(
|
|
12971
12974
|
({ store: e }) => {
|
|
12972
12975
|
const { t } = nr(), r = Jo(() => ({
|
|
12973
12976
|
get valueLabelFormat() {
|
|
@@ -13017,7 +13020,7 @@ const lm = _t((e) => {
|
|
|
13017
13020
|
const t = Pr(null);
|
|
13018
13021
|
function r() {
|
|
13019
13022
|
const o = e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose;
|
|
13020
|
-
return o ?
|
|
13023
|
+
return o ? Fl(o) : "";
|
|
13021
13024
|
}
|
|
13022
13025
|
return kr(() => {
|
|
13023
13026
|
t.current && (t.current.textContent = r());
|
|
@@ -13054,7 +13057,7 @@ const lm = _t((e) => {
|
|
|
13054
13057
|
);
|
|
13055
13058
|
kr(() => {
|
|
13056
13059
|
const a = e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached;
|
|
13057
|
-
|
|
13060
|
+
Bl(r, a) || n(a);
|
|
13058
13061
|
});
|
|
13059
13062
|
const o = [];
|
|
13060
13063
|
return r.forEach((a, i) => {
|
|
@@ -13078,7 +13081,7 @@ const lm = _t((e) => {
|
|
|
13078
13081
|
function r(u, d) {
|
|
13079
13082
|
(d === "translate" || d === "rotate") && e.setSelectedCartesianMotionType(d);
|
|
13080
13083
|
}
|
|
13081
|
-
|
|
13084
|
+
ql(
|
|
13082
13085
|
() => [e.selectedCoordSystemId, e.selectedTcpId],
|
|
13083
13086
|
() => {
|
|
13084
13087
|
e.jogger.motionStream.motionStateSocket.changeUrl(
|
|
@@ -13138,7 +13141,7 @@ const lm = _t((e) => {
|
|
|
13138
13141
|
/* @__PURE__ */ s.jsx(Uh, { store: e }),
|
|
13139
13142
|
/* @__PURE__ */ s.jsx(cm, { store: e }),
|
|
13140
13143
|
/* @__PURE__ */ s.jsx(Me, { alignItems: "center", marginTop: "1rem", children: /* @__PURE__ */ s.jsxs(
|
|
13141
|
-
|
|
13144
|
+
fl,
|
|
13142
13145
|
{
|
|
13143
13146
|
value: e.selectedCartesianMotionType,
|
|
13144
13147
|
onChange: r,
|
|
@@ -13159,7 +13162,7 @@ const lm = _t((e) => {
|
|
|
13159
13162
|
) }),
|
|
13160
13163
|
/* @__PURE__ */ s.jsxs(Me, { width: "80%", maxWidth: "296px", margin: "auto", children: [
|
|
13161
13164
|
e.selectedCartesianMotionType === "translate" && i.map((u) => /* @__PURE__ */ s.jsx(
|
|
13162
|
-
|
|
13165
|
+
Qa,
|
|
13163
13166
|
{
|
|
13164
13167
|
color: u.color,
|
|
13165
13168
|
disabled: e.isLocked,
|
|
@@ -13195,7 +13198,7 @@ const lm = _t((e) => {
|
|
|
13195
13198
|
u.id
|
|
13196
13199
|
)),
|
|
13197
13200
|
e.selectedCartesianMotionType === "rotate" && i.map((u) => /* @__PURE__ */ s.jsx(
|
|
13198
|
-
|
|
13201
|
+
Qa,
|
|
13199
13202
|
{
|
|
13200
13203
|
color: u.color,
|
|
13201
13204
|
disabled: e.isLocked,
|
|
@@ -13231,7 +13234,7 @@ const lm = _t((e) => {
|
|
|
13231
13234
|
u.id
|
|
13232
13235
|
))
|
|
13233
13236
|
] }),
|
|
13234
|
-
/* @__PURE__ */ s.jsx(
|
|
13237
|
+
/* @__PURE__ */ s.jsx(Mi, { store: e }),
|
|
13235
13238
|
/* @__PURE__ */ s.jsx(um, { store: e })
|
|
13236
13239
|
] });
|
|
13237
13240
|
}
|
|
@@ -13333,7 +13336,7 @@ const lm = _t((e) => {
|
|
|
13333
13336
|
`joint-${n.index}`
|
|
13334
13337
|
);
|
|
13335
13338
|
}) }),
|
|
13336
|
-
/* @__PURE__ */ s.jsx(
|
|
13339
|
+
/* @__PURE__ */ s.jsx(Mi, { store: e })
|
|
13337
13340
|
] });
|
|
13338
13341
|
}
|
|
13339
13342
|
), Io = [
|
|
@@ -13354,7 +13357,7 @@ class ra {
|
|
|
13354
13357
|
l.coordinate_system = "world";
|
|
13355
13358
|
break;
|
|
13356
13359
|
}
|
|
13357
|
-
this.selectedCoordSystemId = ((a = n[0]) == null ? void 0 : a.coordinate_system) || "world", this.selectedTcpId = ((i = o[0]) == null ? void 0 : i.id) || "",
|
|
13360
|
+
this.selectedCoordSystemId = ((a = n[0]) == null ? void 0 : a.coordinate_system) || "world", this.selectedTcpId = ((i = o[0]) == null ? void 0 : i.id) || "", wl(this, {}, { autoBind: !0 }), this.loadFromLocalStorage(), this.disposers.push(Os(() => this.saveToLocalStorage())), window.joggingStore = this;
|
|
13358
13361
|
}
|
|
13359
13362
|
/**
|
|
13360
13363
|
* Load a jogging store with the relevant data it needs
|
|
@@ -13379,7 +13382,7 @@ class ra {
|
|
|
13379
13382
|
this.jogger.dispose();
|
|
13380
13383
|
}
|
|
13381
13384
|
loadFromLocalStorage() {
|
|
13382
|
-
const t =
|
|
13385
|
+
const t = Dl(localStorage.getItem("joggingToolStore"));
|
|
13383
13386
|
t && (this.tabsById[t.selectedTabId] && (this.selectedTabId = t.selectedTabId), this.coordSystemsById[t.selectedCoordSystemId] && (this.selectedCoordSystemId = t.selectedCoordSystemId), this.tcpsById[t.selectedTcpId] && (this.selectedTcpId = t.selectedTcpId), this.incrementOptionsById[t.selectedIncrementId] && (this.selectedIncrementId = t.selectedIncrementId), ["translate", "rotate"].includes(t.selectedCartesianMotionType) && (this.selectedCartesianMotionType = t.selectedCartesianMotionType));
|
|
13384
13387
|
}
|
|
13385
13388
|
saveToLocalStorage() {
|
|
@@ -13484,7 +13487,7 @@ class ra {
|
|
|
13484
13487
|
this.selectedCartesianMotionType = t;
|
|
13485
13488
|
}
|
|
13486
13489
|
}
|
|
13487
|
-
function
|
|
13490
|
+
function Ii(e, t) {
|
|
13488
13491
|
return function() {
|
|
13489
13492
|
return e.apply(t, arguments);
|
|
13490
13493
|
};
|
|
@@ -13496,12 +13499,12 @@ const { toString: pm } = Object.prototype, { getPrototypeOf: na } = Object, Jn =
|
|
|
13496
13499
|
function gm(e) {
|
|
13497
13500
|
return e !== null && !Ir(e) && e.constructor !== null && !Ir(e.constructor) && ct(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
13498
13501
|
}
|
|
13499
|
-
const
|
|
13502
|
+
const ki = pt("ArrayBuffer");
|
|
13500
13503
|
function ym(e) {
|
|
13501
13504
|
let t;
|
|
13502
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
13505
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ki(e.buffer), t;
|
|
13503
13506
|
}
|
|
13504
|
-
const bm = Vn("string"), ct = Vn("function"),
|
|
13507
|
+
const bm = Vn("string"), ct = Vn("function"), Li = Vn("number"), zn = (e) => e !== null && typeof e == "object", _m = (e) => e === !0 || e === !1, mn = (e) => {
|
|
13505
13508
|
if (Jn(e) !== "object")
|
|
13506
13509
|
return !1;
|
|
13507
13510
|
const t = na(e);
|
|
@@ -13525,7 +13528,7 @@ function Br(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
|
13525
13528
|
l = a[n], t.call(null, e[l], l, e);
|
|
13526
13529
|
}
|
|
13527
13530
|
}
|
|
13528
|
-
function
|
|
13531
|
+
function $i(e, t) {
|
|
13529
13532
|
t = t.toLowerCase();
|
|
13530
13533
|
const r = Object.keys(e);
|
|
13531
13534
|
let n = r.length, o;
|
|
@@ -13534,10 +13537,10 @@ function Li(e, t) {
|
|
|
13534
13537
|
return o;
|
|
13535
13538
|
return null;
|
|
13536
13539
|
}
|
|
13537
|
-
const
|
|
13540
|
+
const Ni = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Fi = (e) => !Ir(e) && e !== Ni;
|
|
13538
13541
|
function ko() {
|
|
13539
|
-
const { caseless: e } =
|
|
13540
|
-
const a = e &&
|
|
13542
|
+
const { caseless: e } = Fi(this) && this || {}, t = {}, r = (n, o) => {
|
|
13543
|
+
const a = e && $i(t, o) || o;
|
|
13541
13544
|
mn(t[a]) && mn(n) ? t[a] = ko(t[a], n) : mn(n) ? t[a] = ko({}, n) : ir(n) ? t[a] = n.slice() : t[a] = n;
|
|
13542
13545
|
};
|
|
13543
13546
|
for (let n = 0, o = arguments.length; n < o; n++)
|
|
@@ -13545,7 +13548,7 @@ function ko() {
|
|
|
13545
13548
|
return t;
|
|
13546
13549
|
}
|
|
13547
13550
|
const Mm = (e, t, r, { allOwnKeys: n } = {}) => (Br(t, (o, a) => {
|
|
13548
|
-
r && ct(o) ? e[a] =
|
|
13551
|
+
r && ct(o) ? e[a] = Ii(o, r) : e[a] = o;
|
|
13549
13552
|
}, { allOwnKeys: n }), e), Im = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), km = (e, t, r, n) => {
|
|
13550
13553
|
e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
13551
13554
|
value: t.prototype
|
|
@@ -13568,7 +13571,7 @@ const Mm = (e, t, r, { allOwnKeys: n } = {}) => (Br(t, (o, a) => {
|
|
|
13568
13571
|
if (!e) return null;
|
|
13569
13572
|
if (ir(e)) return e;
|
|
13570
13573
|
let t = e.length;
|
|
13571
|
-
if (!
|
|
13574
|
+
if (!Li(t)) return null;
|
|
13572
13575
|
const r = new Array(t);
|
|
13573
13576
|
for (; t-- > 0; )
|
|
13574
13577
|
r[t] = e[t];
|
|
@@ -13591,14 +13594,14 @@ const Mm = (e, t, r, { allOwnKeys: n } = {}) => (Br(t, (o, a) => {
|
|
|
13591
13594
|
function(r, n, o) {
|
|
13592
13595
|
return n.toUpperCase() + o;
|
|
13593
13596
|
}
|
|
13594
|
-
),
|
|
13597
|
+
), hs = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Vm = pt("RegExp"), Di = (e, t) => {
|
|
13595
13598
|
const r = Object.getOwnPropertyDescriptors(e), n = {};
|
|
13596
13599
|
Br(r, (o, a) => {
|
|
13597
13600
|
let i;
|
|
13598
13601
|
(i = t(o, a, e)) !== !1 && (n[a] = i || o);
|
|
13599
13602
|
}), Object.defineProperties(e, n);
|
|
13600
13603
|
}, zm = (e) => {
|
|
13601
|
-
|
|
13604
|
+
Di(e, (t, r) => {
|
|
13602
13605
|
if (ct(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
13603
13606
|
return !1;
|
|
13604
13607
|
const n = e[r];
|
|
@@ -13620,11 +13623,11 @@ const Mm = (e, t, r, { allOwnKeys: n } = {}) => (Br(t, (o, a) => {
|
|
|
13620
13623
|
};
|
|
13621
13624
|
return ir(e) ? n(e) : n(String(e).split(t)), r;
|
|
13622
13625
|
}, Gm = () => {
|
|
13623
|
-
}, Hm = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, yo = "abcdefghijklmnopqrstuvwxyz",
|
|
13624
|
-
DIGIT:
|
|
13626
|
+
}, Hm = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, yo = "abcdefghijklmnopqrstuvwxyz", ms = "0123456789", Ui = {
|
|
13627
|
+
DIGIT: ms,
|
|
13625
13628
|
ALPHA: yo,
|
|
13626
|
-
ALPHA_DIGIT: yo + yo.toUpperCase() +
|
|
13627
|
-
}, Km = (e = 16, t =
|
|
13629
|
+
ALPHA_DIGIT: yo + yo.toUpperCase() + ms
|
|
13630
|
+
}, Km = (e = 16, t = Ui.ALPHA_DIGIT) => {
|
|
13628
13631
|
let r = "";
|
|
13629
13632
|
const { length: n } = t;
|
|
13630
13633
|
for (; e--; )
|
|
@@ -13653,12 +13656,12 @@ const Xm = (e) => {
|
|
|
13653
13656
|
return r(e, 0);
|
|
13654
13657
|
}, Ym = pt("AsyncFunction"), Zm = (e) => e && (zn(e) || ct(e)) && ct(e.then) && ct(e.catch), S = {
|
|
13655
13658
|
isArray: ir,
|
|
13656
|
-
isArrayBuffer:
|
|
13659
|
+
isArrayBuffer: ki,
|
|
13657
13660
|
isBuffer: gm,
|
|
13658
13661
|
isFormData: jm,
|
|
13659
13662
|
isArrayBufferView: ym,
|
|
13660
13663
|
isString: bm,
|
|
13661
|
-
isNumber:
|
|
13664
|
+
isNumber: Li,
|
|
13662
13665
|
isBoolean: _m,
|
|
13663
13666
|
isObject: zn,
|
|
13664
13667
|
isPlainObject: mn,
|
|
@@ -13690,19 +13693,19 @@ const Xm = (e) => {
|
|
|
13690
13693
|
forEachEntry: Dm,
|
|
13691
13694
|
matchAll: Um,
|
|
13692
13695
|
isHTMLForm: Bm,
|
|
13693
|
-
hasOwnProperty:
|
|
13694
|
-
hasOwnProp:
|
|
13696
|
+
hasOwnProperty: hs,
|
|
13697
|
+
hasOwnProp: hs,
|
|
13695
13698
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
13696
|
-
reduceDescriptors:
|
|
13699
|
+
reduceDescriptors: Di,
|
|
13697
13700
|
freezeMethods: zm,
|
|
13698
13701
|
toObjectSet: Wm,
|
|
13699
13702
|
toCamelCase: Jm,
|
|
13700
13703
|
noop: Gm,
|
|
13701
13704
|
toFiniteNumber: Hm,
|
|
13702
|
-
findKey:
|
|
13703
|
-
global:
|
|
13704
|
-
isContextDefined:
|
|
13705
|
-
ALPHABET:
|
|
13705
|
+
findKey: $i,
|
|
13706
|
+
global: Ni,
|
|
13707
|
+
isContextDefined: Fi,
|
|
13708
|
+
ALPHABET: Ui,
|
|
13706
13709
|
generateString: Km,
|
|
13707
13710
|
isSpecCompliantForm: qm,
|
|
13708
13711
|
toJSONObject: Xm,
|
|
@@ -13733,7 +13736,7 @@ S.inherits(Y, Error, {
|
|
|
13733
13736
|
};
|
|
13734
13737
|
}
|
|
13735
13738
|
});
|
|
13736
|
-
const
|
|
13739
|
+
const Bi = Y.prototype, Ji = {};
|
|
13737
13740
|
[
|
|
13738
13741
|
"ERR_BAD_OPTION_VALUE",
|
|
13739
13742
|
"ERR_BAD_OPTION",
|
|
@@ -13749,12 +13752,12 @@ const Ui = Y.prototype, Bi = {};
|
|
|
13749
13752
|
"ERR_INVALID_URL"
|
|
13750
13753
|
// eslint-disable-next-line func-names
|
|
13751
13754
|
].forEach((e) => {
|
|
13752
|
-
|
|
13755
|
+
Ji[e] = { value: e };
|
|
13753
13756
|
});
|
|
13754
|
-
Object.defineProperties(Y,
|
|
13755
|
-
Object.defineProperty(
|
|
13757
|
+
Object.defineProperties(Y, Ji);
|
|
13758
|
+
Object.defineProperty(Bi, "isAxiosError", { value: !0 });
|
|
13756
13759
|
Y.from = (e, t, r, n, o, a) => {
|
|
13757
|
-
const i = Object.create(
|
|
13760
|
+
const i = Object.create(Bi);
|
|
13758
13761
|
return S.toFlatObject(e, i, function(c) {
|
|
13759
13762
|
return c !== Error.prototype;
|
|
13760
13763
|
}, (l) => l !== "isAxiosError"), Y.call(i, e.message, t, r, n, o), i.cause = e, i.name = e.name, a && Object.assign(i, a), i;
|
|
@@ -13763,12 +13766,12 @@ const Qm = null;
|
|
|
13763
13766
|
function Lo(e) {
|
|
13764
13767
|
return S.isPlainObject(e) || S.isArray(e);
|
|
13765
13768
|
}
|
|
13766
|
-
function
|
|
13769
|
+
function Vi(e) {
|
|
13767
13770
|
return S.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
13768
13771
|
}
|
|
13769
|
-
function
|
|
13772
|
+
function ps(e, t, r) {
|
|
13770
13773
|
return e ? e.concat(t).map(function(o, a) {
|
|
13771
|
-
return o =
|
|
13774
|
+
return o = Vi(o), !r && a ? "[" + o + "]" : o;
|
|
13772
13775
|
}).join(r ? "." : "") : t;
|
|
13773
13776
|
}
|
|
13774
13777
|
function e0(e) {
|
|
@@ -13804,15 +13807,15 @@ function Wn(e, t, r) {
|
|
|
13804
13807
|
if (S.endsWith(y, "{}"))
|
|
13805
13808
|
y = n ? y : y.slice(0, -2), g = JSON.stringify(g);
|
|
13806
13809
|
else if (S.isArray(g) && e0(g) || (S.isFileList(g) || S.endsWith(y, "[]")) && (w = S.toArray(g)))
|
|
13807
|
-
return y =
|
|
13810
|
+
return y = Vi(y), w.forEach(function(P, I) {
|
|
13808
13811
|
!(S.isUndefined(P) || P === null) && t.append(
|
|
13809
13812
|
// eslint-disable-next-line no-nested-ternary
|
|
13810
|
-
i === !0 ?
|
|
13813
|
+
i === !0 ? ps([y], I, a) : i === null ? y : y + "[]",
|
|
13811
13814
|
u(P)
|
|
13812
13815
|
);
|
|
13813
13816
|
}), !1;
|
|
13814
13817
|
}
|
|
13815
|
-
return Lo(g) ? !0 : (t.append(
|
|
13818
|
+
return Lo(g) ? !0 : (t.append(ps(b, y, a), u(g)), !1);
|
|
13816
13819
|
}
|
|
13817
13820
|
const h = [], f = Object.assign(t0, {
|
|
13818
13821
|
defaultVisitor: d,
|
|
@@ -13838,7 +13841,7 @@ function Wn(e, t, r) {
|
|
|
13838
13841
|
throw new TypeError("data must be an object");
|
|
13839
13842
|
return _(e), t;
|
|
13840
13843
|
}
|
|
13841
|
-
function
|
|
13844
|
+
function gs(e) {
|
|
13842
13845
|
const t = {
|
|
13843
13846
|
"!": "%21",
|
|
13844
13847
|
"'": "%27",
|
|
@@ -13855,14 +13858,14 @@ function ps(e) {
|
|
|
13855
13858
|
function oa(e, t) {
|
|
13856
13859
|
this._pairs = [], e && Wn(e, this, t);
|
|
13857
13860
|
}
|
|
13858
|
-
const
|
|
13859
|
-
|
|
13861
|
+
const zi = oa.prototype;
|
|
13862
|
+
zi.append = function(t, r) {
|
|
13860
13863
|
this._pairs.push([t, r]);
|
|
13861
13864
|
};
|
|
13862
|
-
|
|
13865
|
+
zi.toString = function(t) {
|
|
13863
13866
|
const r = t ? function(n) {
|
|
13864
|
-
return t.call(this, n,
|
|
13865
|
-
} :
|
|
13867
|
+
return t.call(this, n, gs);
|
|
13868
|
+
} : gs;
|
|
13866
13869
|
return this._pairs.map(function(o) {
|
|
13867
13870
|
return r(o[0]) + "=" + r(o[1]);
|
|
13868
13871
|
}, "").join("&");
|
|
@@ -13870,7 +13873,7 @@ Vi.toString = function(t) {
|
|
|
13870
13873
|
function r0(e) {
|
|
13871
13874
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
13872
13875
|
}
|
|
13873
|
-
function
|
|
13876
|
+
function Wi(e, t, r) {
|
|
13874
13877
|
if (!t)
|
|
13875
13878
|
return e;
|
|
13876
13879
|
const n = r && r.encode || r0, o = r && r.serialize;
|
|
@@ -13881,7 +13884,7 @@ function zi(e, t, r) {
|
|
|
13881
13884
|
}
|
|
13882
13885
|
return e;
|
|
13883
13886
|
}
|
|
13884
|
-
class
|
|
13887
|
+
class ys {
|
|
13885
13888
|
constructor() {
|
|
13886
13889
|
this.handlers = [];
|
|
13887
13890
|
}
|
|
@@ -13935,7 +13938,7 @@ class gs {
|
|
|
13935
13938
|
});
|
|
13936
13939
|
}
|
|
13937
13940
|
}
|
|
13938
|
-
const
|
|
13941
|
+
const Gi = {
|
|
13939
13942
|
silentJSONParsing: !0,
|
|
13940
13943
|
forcedJSONParsing: !0,
|
|
13941
13944
|
clarifyTimeoutError: !1
|
|
@@ -13977,7 +13980,7 @@ function h0(e) {
|
|
|
13977
13980
|
a = r[n], t[a] = e[a];
|
|
13978
13981
|
return t;
|
|
13979
13982
|
}
|
|
13980
|
-
function
|
|
13983
|
+
function Hi(e) {
|
|
13981
13984
|
function t(r, n, o, a) {
|
|
13982
13985
|
let i = r[a++];
|
|
13983
13986
|
if (i === "__proto__") return !0;
|
|
@@ -14003,12 +14006,12 @@ function m0(e, t, r) {
|
|
|
14003
14006
|
return (r || JSON.stringify)(e);
|
|
14004
14007
|
}
|
|
14005
14008
|
const Jr = {
|
|
14006
|
-
transitional:
|
|
14009
|
+
transitional: Gi,
|
|
14007
14010
|
adapter: ["xhr", "http", "fetch"],
|
|
14008
14011
|
transformRequest: [function(t, r) {
|
|
14009
14012
|
const n = r.getContentType() || "", o = n.indexOf("application/json") > -1, a = S.isObject(t);
|
|
14010
14013
|
if (a && S.isHTMLForm(t) && (t = new FormData(t)), S.isFormData(t))
|
|
14011
|
-
return o ? JSON.stringify(
|
|
14014
|
+
return o ? JSON.stringify(Hi(t)) : t;
|
|
14012
14015
|
if (S.isArrayBuffer(t) || S.isBuffer(t) || S.isStream(t) || S.isFile(t) || S.isBlob(t) || S.isReadableStream(t))
|
|
14013
14016
|
return t;
|
|
14014
14017
|
if (S.isArrayBufferView(t))
|
|
@@ -14096,7 +14099,7 @@ const p0 = S.toObjectSet([
|
|
|
14096
14099
|
`).forEach(function(i) {
|
|
14097
14100
|
o = i.indexOf(":"), r = i.substring(0, o).trim().toLowerCase(), n = i.substring(o + 1).trim(), !(!r || t[r] && p0[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
|
|
14098
14101
|
}), t;
|
|
14099
|
-
},
|
|
14102
|
+
}, bs = Symbol("internals");
|
|
14100
14103
|
function wr(e) {
|
|
14101
14104
|
return e && String(e).trim().toLowerCase();
|
|
14102
14105
|
}
|
|
@@ -14243,7 +14246,7 @@ let qe = class {
|
|
|
14243
14246
|
return r.forEach((o) => n.set(o)), n;
|
|
14244
14247
|
}
|
|
14245
14248
|
static accessor(t) {
|
|
14246
|
-
const n = (this[
|
|
14249
|
+
const n = (this[bs] = this[bs] = {
|
|
14247
14250
|
accessors: {}
|
|
14248
14251
|
}).accessors, o = this.prototype;
|
|
14249
14252
|
function a(i) {
|
|
@@ -14271,7 +14274,7 @@ function _o(e, t) {
|
|
|
14271
14274
|
a = l.call(r, a, o.normalize(), t ? t.status : void 0);
|
|
14272
14275
|
}), o.normalize(), a;
|
|
14273
14276
|
}
|
|
14274
|
-
function
|
|
14277
|
+
function Ki(e) {
|
|
14275
14278
|
return !!(e && e.__CANCEL__);
|
|
14276
14279
|
}
|
|
14277
14280
|
function lr(e, t, r) {
|
|
@@ -14280,7 +14283,7 @@ function lr(e, t, r) {
|
|
|
14280
14283
|
S.inherits(lr, Y, {
|
|
14281
14284
|
__CANCEL__: !0
|
|
14282
14285
|
});
|
|
14283
|
-
function
|
|
14286
|
+
function qi(e, t, r) {
|
|
14284
14287
|
const n = r.config.validateStatus;
|
|
14285
14288
|
!r.status || !n || n(r.status) ? e(r) : t(new Y(
|
|
14286
14289
|
"Request failed with status code " + r.status,
|
|
@@ -14403,10 +14406,10 @@ function C0(e) {
|
|
|
14403
14406
|
function P0(e, t) {
|
|
14404
14407
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
14405
14408
|
}
|
|
14406
|
-
function
|
|
14409
|
+
function Xi(e, t) {
|
|
14407
14410
|
return e && !C0(t) ? P0(e, t) : t;
|
|
14408
14411
|
}
|
|
14409
|
-
const
|
|
14412
|
+
const _s = (e) => e instanceof qe ? { ...e } : e;
|
|
14410
14413
|
function Dt(e, t) {
|
|
14411
14414
|
t = t || {};
|
|
14412
14415
|
const r = {};
|
|
@@ -14464,17 +14467,17 @@ function Dt(e, t) {
|
|
|
14464
14467
|
socketPath: i,
|
|
14465
14468
|
responseEncoding: i,
|
|
14466
14469
|
validateStatus: l,
|
|
14467
|
-
headers: (u, d) => o(
|
|
14470
|
+
headers: (u, d) => o(_s(u), _s(d), !0)
|
|
14468
14471
|
};
|
|
14469
14472
|
return S.forEach(Object.keys(Object.assign({}, e, t)), function(d) {
|
|
14470
14473
|
const h = c[d] || o, f = h(e[d], t[d], d);
|
|
14471
14474
|
S.isUndefined(f) && h !== l || (r[d] = f);
|
|
14472
14475
|
}), r;
|
|
14473
14476
|
}
|
|
14474
|
-
const
|
|
14477
|
+
const Yi = (e) => {
|
|
14475
14478
|
const t = Dt({}, e);
|
|
14476
14479
|
let { data: r, withXSRFToken: n, xsrfHeaderName: o, xsrfCookieName: a, headers: i, auth: l } = t;
|
|
14477
|
-
t.headers = i = qe.from(i), t.url =
|
|
14480
|
+
t.headers = i = qe.from(i), t.url = Wi(Xi(t.baseURL, t.url), e.params, e.paramsSerializer), l && i.set(
|
|
14478
14481
|
"Authorization",
|
|
14479
14482
|
"Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
|
|
14480
14483
|
);
|
|
@@ -14494,7 +14497,7 @@ const Xi = (e) => {
|
|
|
14494
14497
|
return t;
|
|
14495
14498
|
}, E0 = typeof XMLHttpRequest < "u", A0 = E0 && function(e) {
|
|
14496
14499
|
return new Promise(function(r, n) {
|
|
14497
|
-
const o =
|
|
14500
|
+
const o = Yi(e);
|
|
14498
14501
|
let a = o.data;
|
|
14499
14502
|
const i = qe.from(o.headers).normalize();
|
|
14500
14503
|
let { responseType: l } = o, c;
|
|
@@ -14516,7 +14519,7 @@ const Xi = (e) => {
|
|
|
14516
14519
|
config: e,
|
|
14517
14520
|
request: d
|
|
14518
14521
|
};
|
|
14519
|
-
|
|
14522
|
+
qi(function(w) {
|
|
14520
14523
|
r(w), u();
|
|
14521
14524
|
}, function(w) {
|
|
14522
14525
|
n(w), u();
|
|
@@ -14530,7 +14533,7 @@ const Xi = (e) => {
|
|
|
14530
14533
|
n(new Y("Network Error", Y.ERR_NETWORK, o, d)), d = null;
|
|
14531
14534
|
}, d.ontimeout = function() {
|
|
14532
14535
|
let g = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
14533
|
-
const y = o.transitional ||
|
|
14536
|
+
const y = o.transitional || Gi;
|
|
14534
14537
|
o.timeoutErrorMessage && (g = o.timeoutErrorMessage), n(new Y(
|
|
14535
14538
|
g,
|
|
14536
14539
|
y.clarifyTimeoutError ? Y.ETIMEDOUT : Y.ECONNABORTED,
|
|
@@ -14583,7 +14586,7 @@ const Xi = (e) => {
|
|
|
14583
14586
|
}, M0 = async function* (e, t, r) {
|
|
14584
14587
|
for await (const n of e)
|
|
14585
14588
|
yield* T0(ArrayBuffer.isView(n) ? n : await r(String(n)), t);
|
|
14586
|
-
},
|
|
14589
|
+
}, vs = (e, t, r, n, o) => {
|
|
14587
14590
|
const a = M0(e, t, o);
|
|
14588
14591
|
let i = 0;
|
|
14589
14592
|
return new ReadableStream({
|
|
@@ -14603,14 +14606,14 @@ const Xi = (e) => {
|
|
|
14603
14606
|
}, {
|
|
14604
14607
|
highWaterMark: 2
|
|
14605
14608
|
});
|
|
14606
|
-
},
|
|
14609
|
+
}, Ss = (e, t) => {
|
|
14607
14610
|
const r = e != null;
|
|
14608
14611
|
return (n) => setTimeout(() => t({
|
|
14609
14612
|
lengthComputable: r,
|
|
14610
14613
|
total: e,
|
|
14611
14614
|
loaded: n
|
|
14612
14615
|
}));
|
|
14613
|
-
}, Gn = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function",
|
|
14616
|
+
}, Gn = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Zi = Gn && typeof ReadableStream == "function", $o = Gn && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), I0 = Zi && (() => {
|
|
14614
14617
|
let e = !1;
|
|
14615
14618
|
const t = new Request(ht.origin, {
|
|
14616
14619
|
body: new ReadableStream(),
|
|
@@ -14620,7 +14623,7 @@ const Xi = (e) => {
|
|
|
14620
14623
|
}
|
|
14621
14624
|
}).headers.has("Content-Type");
|
|
14622
14625
|
return e && !t;
|
|
14623
|
-
})(),
|
|
14626
|
+
})(), xs = 64 * 1024, No = Zi && !!(() => {
|
|
14624
14627
|
try {
|
|
14625
14628
|
return S.isReadableStream(new Response("").body);
|
|
14626
14629
|
} catch {
|
|
@@ -14663,7 +14666,7 @@ const k0 = async (e) => {
|
|
|
14663
14666
|
headers: d,
|
|
14664
14667
|
withCredentials: h = "same-origin",
|
|
14665
14668
|
fetchOptions: f
|
|
14666
|
-
} =
|
|
14669
|
+
} = Yi(e);
|
|
14667
14670
|
u = u ? (u + "").toLowerCase() : "text";
|
|
14668
14671
|
let [_, g] = o || a || i ? O0([o, a], i) : [], y, b;
|
|
14669
14672
|
const w = () => {
|
|
@@ -14679,7 +14682,7 @@ const k0 = async (e) => {
|
|
|
14679
14682
|
body: n,
|
|
14680
14683
|
duplex: "half"
|
|
14681
14684
|
}), k;
|
|
14682
|
-
S.isFormData(n) && (k = N.headers.get("content-type")) && d.setContentType(k), N.body && (n =
|
|
14685
|
+
S.isFormData(n) && (k = N.headers.get("content-type")) && d.setContentType(k), N.body && (n = vs(N.body, xs, Ss(
|
|
14683
14686
|
C,
|
|
14684
14687
|
jn(c)
|
|
14685
14688
|
), null, $o));
|
|
@@ -14702,7 +14705,7 @@ const k0 = async (e) => {
|
|
|
14702
14705
|
});
|
|
14703
14706
|
const k = S.toFiniteNumber(P.headers.get("content-length"));
|
|
14704
14707
|
P = new Response(
|
|
14705
|
-
|
|
14708
|
+
vs(P.body, xs, l && Ss(
|
|
14706
14709
|
k,
|
|
14707
14710
|
jn(l, !0)
|
|
14708
14711
|
), I && w, $o),
|
|
@@ -14712,7 +14715,7 @@ const k0 = async (e) => {
|
|
|
14712
14715
|
u = u || "text";
|
|
14713
14716
|
let v = await Cn[S.findKey(Cn, u) || "text"](P, e);
|
|
14714
14717
|
return !I && w(), g && g(), await new Promise((N, k) => {
|
|
14715
|
-
|
|
14718
|
+
qi(N, k, {
|
|
14716
14719
|
data: v,
|
|
14717
14720
|
headers: qe.from(P.headers),
|
|
14718
14721
|
status: P.status,
|
|
@@ -14743,7 +14746,7 @@ S.forEach(Fo, (e, t) => {
|
|
|
14743
14746
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
14744
14747
|
}
|
|
14745
14748
|
});
|
|
14746
|
-
const
|
|
14749
|
+
const ws = (e) => `- ${e}`, N0 = (e) => S.isFunction(e) || e === null || e === !1, Qi = {
|
|
14747
14750
|
getAdapter: (e) => {
|
|
14748
14751
|
e = S.isArray(e) ? e : [e];
|
|
14749
14752
|
const { length: t } = e;
|
|
@@ -14763,8 +14766,8 @@ const xs = (e) => `- ${e}`, N0 = (e) => S.isFunction(e) || e === null || e === !
|
|
|
14763
14766
|
([l, c]) => `adapter ${l} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
14764
14767
|
);
|
|
14765
14768
|
let i = t ? a.length > 1 ? `since :
|
|
14766
|
-
` + a.map(
|
|
14767
|
-
`) : " " +
|
|
14769
|
+
` + a.map(ws).join(`
|
|
14770
|
+
`) : " " + ws(a[0]) : "as no adapter specified";
|
|
14768
14771
|
throw new Y(
|
|
14769
14772
|
"There is no suitable adapter to dispatch the request " + i,
|
|
14770
14773
|
"ERR_NOT_SUPPORT"
|
|
@@ -14778,34 +14781,34 @@ function vo(e) {
|
|
|
14778
14781
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
14779
14782
|
throw new lr(null, e);
|
|
14780
14783
|
}
|
|
14781
|
-
function
|
|
14784
|
+
function Rs(e) {
|
|
14782
14785
|
return vo(e), e.headers = qe.from(e.headers), e.data = _o.call(
|
|
14783
14786
|
e,
|
|
14784
14787
|
e.transformRequest
|
|
14785
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
14788
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Qi.getAdapter(e.adapter || Jr.adapter)(e).then(function(n) {
|
|
14786
14789
|
return vo(e), n.data = _o.call(
|
|
14787
14790
|
e,
|
|
14788
14791
|
e.transformResponse,
|
|
14789
14792
|
n
|
|
14790
14793
|
), n.headers = qe.from(n.headers), n;
|
|
14791
14794
|
}, function(n) {
|
|
14792
|
-
return
|
|
14795
|
+
return Ki(n) || (vo(e), n && n.response && (n.response.data = _o.call(
|
|
14793
14796
|
e,
|
|
14794
14797
|
e.transformResponse,
|
|
14795
14798
|
n.response
|
|
14796
14799
|
), n.response.headers = qe.from(n.response.headers))), Promise.reject(n);
|
|
14797
14800
|
});
|
|
14798
14801
|
}
|
|
14799
|
-
const
|
|
14802
|
+
const el = "1.7.2", sa = {};
|
|
14800
14803
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
14801
14804
|
sa[e] = function(n) {
|
|
14802
14805
|
return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
14803
14806
|
};
|
|
14804
14807
|
});
|
|
14805
|
-
const
|
|
14808
|
+
const js = {};
|
|
14806
14809
|
sa.transitional = function(t, r, n) {
|
|
14807
14810
|
function o(a, i) {
|
|
14808
|
-
return "[Axios v" +
|
|
14811
|
+
return "[Axios v" + el + "] Transitional option '" + a + "'" + i + (n ? ". " + n : "");
|
|
14809
14812
|
}
|
|
14810
14813
|
return (a, i, l) => {
|
|
14811
14814
|
if (t === !1)
|
|
@@ -14813,7 +14816,7 @@ sa.transitional = function(t, r, n) {
|
|
|
14813
14816
|
o(i, " has been removed" + (r ? " in " + r : "")),
|
|
14814
14817
|
Y.ERR_DEPRECATED
|
|
14815
14818
|
);
|
|
14816
|
-
return r && !
|
|
14819
|
+
return r && !js[i] && (js[i] = !0, console.warn(
|
|
14817
14820
|
o(
|
|
14818
14821
|
i,
|
|
14819
14822
|
" has been deprecated since v" + r + " and will be removed in the near future"
|
|
@@ -14845,8 +14848,8 @@ const Do = {
|
|
|
14845
14848
|
let Nt = class {
|
|
14846
14849
|
constructor(t) {
|
|
14847
14850
|
this.defaults = t, this.interceptors = {
|
|
14848
|
-
request: new
|
|
14849
|
-
response: new
|
|
14851
|
+
request: new ys(),
|
|
14852
|
+
response: new ys()
|
|
14850
14853
|
};
|
|
14851
14854
|
}
|
|
14852
14855
|
/**
|
|
@@ -14908,7 +14911,7 @@ let Nt = class {
|
|
|
14908
14911
|
});
|
|
14909
14912
|
let d, h = 0, f;
|
|
14910
14913
|
if (!c) {
|
|
14911
|
-
const g = [
|
|
14914
|
+
const g = [Rs.bind(this), void 0];
|
|
14912
14915
|
for (g.unshift.apply(g, l), g.push.apply(g, u), f = g.length, d = Promise.resolve(r); h < f; )
|
|
14913
14916
|
d = d.then(g[h++], g[h++]);
|
|
14914
14917
|
return d;
|
|
@@ -14925,7 +14928,7 @@ let Nt = class {
|
|
|
14925
14928
|
}
|
|
14926
14929
|
}
|
|
14927
14930
|
try {
|
|
14928
|
-
d =
|
|
14931
|
+
d = Rs.call(this, _);
|
|
14929
14932
|
} catch (g) {
|
|
14930
14933
|
return Promise.reject(g);
|
|
14931
14934
|
}
|
|
@@ -14935,8 +14938,8 @@ let Nt = class {
|
|
|
14935
14938
|
}
|
|
14936
14939
|
getUri(t) {
|
|
14937
14940
|
t = Dt(this.defaults, t);
|
|
14938
|
-
const r =
|
|
14939
|
-
return
|
|
14941
|
+
const r = Xi(t.baseURL, t.url);
|
|
14942
|
+
return Wi(r, t.params, t.paramsSerializer);
|
|
14940
14943
|
}
|
|
14941
14944
|
};
|
|
14942
14945
|
S.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -14963,7 +14966,7 @@ S.forEach(["post", "put", "patch"], function(t) {
|
|
|
14963
14966
|
}
|
|
14964
14967
|
Nt.prototype[t] = r(), Nt.prototype[t + "Form"] = r(!0);
|
|
14965
14968
|
});
|
|
14966
|
-
let D0 = class
|
|
14969
|
+
let D0 = class tl {
|
|
14967
14970
|
constructor(t) {
|
|
14968
14971
|
if (typeof t != "function")
|
|
14969
14972
|
throw new TypeError("executor must be a function.");
|
|
@@ -15023,7 +15026,7 @@ let D0 = class el {
|
|
|
15023
15026
|
static source() {
|
|
15024
15027
|
let t;
|
|
15025
15028
|
return {
|
|
15026
|
-
token: new
|
|
15029
|
+
token: new tl(function(o) {
|
|
15027
15030
|
t = o;
|
|
15028
15031
|
}),
|
|
15029
15032
|
cancel: t
|
|
@@ -15106,18 +15109,18 @@ const Uo = {
|
|
|
15106
15109
|
Object.entries(Uo).forEach(([e, t]) => {
|
|
15107
15110
|
Uo[t] = e;
|
|
15108
15111
|
});
|
|
15109
|
-
function
|
|
15110
|
-
const t = new Nt(e), r =
|
|
15112
|
+
function rl(e) {
|
|
15113
|
+
const t = new Nt(e), r = Ii(Nt.prototype.request, t);
|
|
15111
15114
|
return S.extend(r, Nt.prototype, t, { allOwnKeys: !0 }), S.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
|
|
15112
|
-
return
|
|
15115
|
+
return rl(Dt(e, o));
|
|
15113
15116
|
}, r;
|
|
15114
15117
|
}
|
|
15115
|
-
const Ne =
|
|
15118
|
+
const Ne = rl(Jr);
|
|
15116
15119
|
Ne.Axios = Nt;
|
|
15117
15120
|
Ne.CanceledError = lr;
|
|
15118
15121
|
Ne.CancelToken = D0;
|
|
15119
|
-
Ne.isCancel =
|
|
15120
|
-
Ne.VERSION =
|
|
15122
|
+
Ne.isCancel = Ki;
|
|
15123
|
+
Ne.VERSION = el;
|
|
15121
15124
|
Ne.toFormData = Wn;
|
|
15122
15125
|
Ne.AxiosError = Y;
|
|
15123
15126
|
Ne.Cancel = Ne.CanceledError;
|
|
@@ -15128,13 +15131,13 @@ Ne.spread = U0;
|
|
|
15128
15131
|
Ne.isAxiosError = B0;
|
|
15129
15132
|
Ne.mergeConfig = Dt;
|
|
15130
15133
|
Ne.AxiosHeaders = qe;
|
|
15131
|
-
Ne.formToJSON = (e) =>
|
|
15132
|
-
Ne.getAdapter =
|
|
15134
|
+
Ne.formToJSON = (e) => Hi(S.isHTMLForm(e) ? new FormData(e) : e);
|
|
15135
|
+
Ne.getAdapter = Qi.getAdapter;
|
|
15133
15136
|
Ne.HttpStatusCode = Uo;
|
|
15134
15137
|
Ne.default = Ne;
|
|
15135
15138
|
const {
|
|
15136
15139
|
Axios: bp,
|
|
15137
|
-
AxiosError:
|
|
15140
|
+
AxiosError: Cs,
|
|
15138
15141
|
CanceledError: _p,
|
|
15139
15142
|
isCancel: vp,
|
|
15140
15143
|
CancelToken: Sp,
|
|
@@ -15159,7 +15162,7 @@ function J0(e) {
|
|
|
15159
15162
|
}
|
|
15160
15163
|
function V0(e) {
|
|
15161
15164
|
var t, r, n, o;
|
|
15162
|
-
return e instanceof
|
|
15165
|
+
return e instanceof Cs && e.code === "ERR_NETWORK" ? "Failed to connect to the server. Please check your internet connection." : e instanceof Cs && e.response ? `${(t = e.response) == null ? void 0 : t.status} ${(r = e.response) == null ? void 0 : r.statusText} from ${(n = e.response) == null ? void 0 : n.config.url}: ${JSON.stringify((o = e.response) == null ? void 0 : o.data)}` : e instanceof Error ? e.message : `Unexpected error: ${J0(e) || e}`;
|
|
15163
15166
|
}
|
|
15164
15167
|
const z0 = (e) => {
|
|
15165
15168
|
const t = e.softTimeout || 3e3, [r, n] = Bo(!1);
|
|
@@ -15176,7 +15179,7 @@ const z0 = (e) => {
|
|
|
15176
15179
|
alignItems: "center",
|
|
15177
15180
|
justifyContent: "center",
|
|
15178
15181
|
children: e.error ? /* @__PURE__ */ s.jsx(W0, { message: e.message, error: e.error }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
15179
|
-
/* @__PURE__ */ s.jsx(
|
|
15182
|
+
/* @__PURE__ */ s.jsx(hl, { sx: { marginBottom: "24px" } }),
|
|
15180
15183
|
!!e.message && /* @__PURE__ */ s.jsx("div", { children: e.message }),
|
|
15181
15184
|
/* @__PURE__ */ s.jsx(
|
|
15182
15185
|
Me,
|
|
@@ -15193,7 +15196,7 @@ const z0 = (e) => {
|
|
|
15193
15196
|
}
|
|
15194
15197
|
);
|
|
15195
15198
|
}, W0 = (e) => {
|
|
15196
|
-
const t = V0(e.error), r = e.error instanceof Error ? e.error.stack : null, n =
|
|
15199
|
+
const t = V0(e.error), r = e.error instanceof Error ? e.error.stack : null, n = As();
|
|
15197
15200
|
return /* @__PURE__ */ s.jsxs(
|
|
15198
15201
|
Me,
|
|
15199
15202
|
{
|
|
@@ -15225,7 +15228,7 @@ const z0 = (e) => {
|
|
|
15225
15228
|
async function n() {
|
|
15226
15229
|
try {
|
|
15227
15230
|
const d = await t.connectJogger(e.motionGroupId), h = await ra.loadFor(d);
|
|
15228
|
-
|
|
15231
|
+
Rl(() => {
|
|
15229
15232
|
r.joggingStore = h;
|
|
15230
15233
|
});
|
|
15231
15234
|
} catch (d) {
|
|
@@ -15268,11 +15271,11 @@ const z0 = (e) => {
|
|
|
15268
15271
|
}
|
|
15269
15272
|
d();
|
|
15270
15273
|
}, [(u = r.joggingStore) == null ? void 0 : u.jogger.motionStream.controllerId]), !r.joggingStore)
|
|
15271
|
-
return /* @__PURE__ */ s.jsx(
|
|
15274
|
+
return /* @__PURE__ */ s.jsx(Ps, { children: /* @__PURE__ */ s.jsx(z0, { message: "Loading jogging", error: r.loadingError }) });
|
|
15272
15275
|
const { joggingStore: o } = r;
|
|
15273
|
-
return /* @__PURE__ */ s.jsx(
|
|
15274
|
-
/* @__PURE__ */ s.jsx(
|
|
15275
|
-
|
|
15276
|
+
return /* @__PURE__ */ s.jsx(Ps, { children: /* @__PURE__ */ s.jsxs(Me, { flexGrow: 1, children: [
|
|
15277
|
+
/* @__PURE__ */ s.jsx(ml, { value: o.tabIndex, onChange: o.onTabChange, children: o.tabs.map((d) => /* @__PURE__ */ s.jsx(
|
|
15278
|
+
pl,
|
|
15276
15279
|
{
|
|
15277
15280
|
label: d.label,
|
|
15278
15281
|
id: `jogging-tab-${d.id}`,
|
|
@@ -15286,7 +15289,7 @@ const z0 = (e) => {
|
|
|
15286
15289
|
] })
|
|
15287
15290
|
] }) });
|
|
15288
15291
|
});
|
|
15289
|
-
function
|
|
15292
|
+
function Ps({ children: e }) {
|
|
15290
15293
|
return /* @__PURE__ */ s.jsx(
|
|
15291
15294
|
Me,
|
|
15292
15295
|
{
|
|
@@ -15296,14 +15299,14 @@ function Cs({ children: e }) {
|
|
|
15296
15299
|
overflowY: "auto",
|
|
15297
15300
|
position: "relative"
|
|
15298
15301
|
},
|
|
15299
|
-
children: /* @__PURE__ */ s.jsx(
|
|
15302
|
+
children: /* @__PURE__ */ s.jsx(gl, { sx: {
|
|
15300
15303
|
minHeight: "90vh"
|
|
15301
15304
|
}, children: e })
|
|
15302
15305
|
}
|
|
15303
15306
|
);
|
|
15304
15307
|
}
|
|
15305
15308
|
export {
|
|
15306
|
-
|
|
15309
|
+
Qa as JoggingCartesianAxisControl,
|
|
15307
15310
|
Oh as JoggingJointRotationControl,
|
|
15308
15311
|
Ip as JoggingPanel,
|
|
15309
15312
|
mp as PresetEnvironment,
|
|
@@ -15312,6 +15315,6 @@ export {
|
|
|
15312
15315
|
hc as SupportedRobot,
|
|
15313
15316
|
dp as WandelscriptEditor,
|
|
15314
15317
|
hp as defaultAxisConfig,
|
|
15315
|
-
|
|
15318
|
+
ks as defaultGetModel
|
|
15316
15319
|
};
|
|
15317
15320
|
//# sourceMappingURL=index.js.map
|