@wandelbots/wandelbots-js-react-components 2.44.0-pr.feature-seperate-timer.383.8ca3799 → 2.44.0-pr.feature-seperate-timer.383.59e079b
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/ProgramControl.d.ts +5 -2
- package/dist/components/ProgramControl.d.ts.map +1 -1
- package/dist/components/ProgramStateIndicator.d.ts.map +1 -1
- package/dist/index.cjs +18 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +271 -250
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ProgramControl.tsx +14 -3
- package/src/components/ProgramStateIndicator.tsx +15 -0
- package/src/i18n/locales/de/translations.json +3 -0
- package/src/i18n/locales/en/translations.json +3 -0
package/dist/index.js
CHANGED
|
@@ -8,9 +8,9 @@ import { Vector3 as Lo, Matrix4 as Wn, Quaternion as Ig } from "three";
|
|
|
8
8
|
import { ConvexGeometry as rp } from "three-stdlib";
|
|
9
9
|
import { Environment as Eg, Lightformer as Pr, Line as np, useGLTF as Vg, Bounds as Bc } from "@react-three/drei";
|
|
10
10
|
import { useThree as Mg, useFrame as jg, Canvas as Nc } from "@react-three/fiber";
|
|
11
|
-
import { SvgIcon as ap, AppBar as kg, Toolbar as $g, Box as re, Typography as he, IconButton as $r, alpha as zc, Backdrop as Ug, Menu as Dg, MenuItem as gn, useTheme as Be, Fade as Ir, Divider as
|
|
11
|
+
import { SvgIcon as ap, AppBar as kg, Toolbar as $g, Box as re, Typography as he, IconButton as $r, alpha as zc, Backdrop as Ug, Menu as Dg, MenuItem as gn, useTheme as Be, Fade as Ir, Divider as zt, Slider as Lg, Stack as $e, CircularProgress as Fg, capitalize as Bg, styled as $l, InputLabel as Ng, Select as zg, FormControl as Gg, ToggleButtonGroup as Hg, ToggleButton as Gc, Tabs as op, Tab as sp, Tooltip as qg, Button as yr, Paper as Wg, Dialog as Jg, DialogTitle as Yg, DialogContent as Kg, DialogActions as Qg, Chip as ip, Card as Xg, Popover as Zg, Fab as e0, createTheme as t0, rgbToHex as r0 } from "@mui/material";
|
|
12
12
|
import { observer as Ce, useLocalObservable as hs } from "mobx-react-lite";
|
|
13
|
-
import { I18nextProvider as n0, useTranslation as Qe, Trans as
|
|
13
|
+
import { I18nextProvider as n0, useTranslation as Qe, Trans as Dt } from "react-i18next";
|
|
14
14
|
import a0 from "i18next";
|
|
15
15
|
import o0 from "i18next-browser-languagedetector";
|
|
16
16
|
import { Gauge as s0 } from "@mui/x-charts";
|
|
@@ -602,10 +602,13 @@ Bei einem physischen Roboter bedeutet dies im Allgemeinen, dass ein Freigabescha
|
|
|
602
602
|
"ProgramControl.Retry.bt": "Wiederholen",
|
|
603
603
|
"ProgramControl.Pause.bt": "Pause",
|
|
604
604
|
"ProgramControl.Stop.bt": "Stopp",
|
|
605
|
+
"ProgramStateIndicator.Preparing.lb": "Vorbereitung",
|
|
605
606
|
"ProgramStateIndicator.Starting.lb": "Startet",
|
|
606
607
|
"ProgramStateIndicator.Running.lb": "In Betrieb",
|
|
607
608
|
"ProgramStateIndicator.Pausing.lb": "Pausiert",
|
|
608
609
|
"ProgramStateIndicator.Stopping.lb": "Stoppt",
|
|
610
|
+
"ProgramStateIndicator.Completed.lb": "Abgeschlossen",
|
|
611
|
+
"ProgramStateIndicator.Failed.lb": "Fehlgeschlagen",
|
|
609
612
|
"ProgramStateIndicator.Error.lb": "Fehler",
|
|
610
613
|
"ProgramStateIndicator.EStop.lb": "Not-Aus",
|
|
611
614
|
"ProgramStateIndicator.Idle.lb": "Leerlauf",
|
|
@@ -682,10 +685,13 @@ Bei einem physischen Roboter bedeutet dies im Allgemeinen, dass ein Freigabescha
|
|
|
682
685
|
"ProgramControl.Retry.bt": "Retry",
|
|
683
686
|
"ProgramControl.Pause.bt": "Pause",
|
|
684
687
|
"ProgramControl.Stop.bt": "Stop",
|
|
688
|
+
"ProgramStateIndicator.Preparing.lb": "Preparing",
|
|
685
689
|
"ProgramStateIndicator.Starting.lb": "Starting",
|
|
686
690
|
"ProgramStateIndicator.Running.lb": "Running",
|
|
687
691
|
"ProgramStateIndicator.Pausing.lb": "Pausing",
|
|
688
692
|
"ProgramStateIndicator.Stopping.lb": "Stopping",
|
|
693
|
+
"ProgramStateIndicator.Completed.lb": "Completed",
|
|
694
|
+
"ProgramStateIndicator.Failed.lb": "Failed",
|
|
689
695
|
"ProgramStateIndicator.Error.lb": "Error",
|
|
690
696
|
"ProgramStateIndicator.EStop.lb": "E-Stop",
|
|
691
697
|
"ProgramStateIndicator.Idle.lb": "Idle",
|
|
@@ -899,7 +905,7 @@ function up(e) {
|
|
|
899
905
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
900
906
|
return n;
|
|
901
907
|
}
|
|
902
|
-
function
|
|
908
|
+
function Et() {
|
|
903
909
|
for (var e, t, r = 0, n = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (t = up(e)) && (n && (n += " "), n += t);
|
|
904
910
|
return n;
|
|
905
911
|
}
|
|
@@ -1272,14 +1278,14 @@ function ry() {
|
|
|
1272
1278
|
return ou || (ou = 1, process.env.NODE_ENV === "production" ? eo.exports = /* @__PURE__ */ ey() : eo.exports = /* @__PURE__ */ ty()), eo.exports;
|
|
1273
1279
|
}
|
|
1274
1280
|
var Bo = /* @__PURE__ */ ry();
|
|
1275
|
-
function
|
|
1281
|
+
function Lt(e) {
|
|
1276
1282
|
if (typeof e != "object" || e === null)
|
|
1277
1283
|
return !1;
|
|
1278
1284
|
const t = Object.getPrototypeOf(e);
|
|
1279
1285
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1280
1286
|
}
|
|
1281
1287
|
function hp(e) {
|
|
1282
|
-
if (/* @__PURE__ */ B.isValidElement(e) || Bo.isValidElementType(e) || !
|
|
1288
|
+
if (/* @__PURE__ */ B.isValidElement(e) || Bo.isValidElementType(e) || !Lt(e))
|
|
1283
1289
|
return e;
|
|
1284
1290
|
const t = {};
|
|
1285
1291
|
return Object.keys(e).forEach((r) => {
|
|
@@ -1292,9 +1298,9 @@ function it(e, t, r = {
|
|
|
1292
1298
|
const n = r.clone ? {
|
|
1293
1299
|
...e
|
|
1294
1300
|
} : e;
|
|
1295
|
-
return
|
|
1296
|
-
/* @__PURE__ */ B.isValidElement(t[a]) || Bo.isValidElementType(t[a]) ? n[a] = t[a] :
|
|
1297
|
-
Object.prototype.hasOwnProperty.call(e, a) &&
|
|
1301
|
+
return Lt(e) && Lt(t) && Object.keys(t).forEach((a) => {
|
|
1302
|
+
/* @__PURE__ */ B.isValidElement(t[a]) || Bo.isValidElementType(t[a]) ? n[a] = t[a] : Lt(t[a]) && // Avoid prototype pollution
|
|
1303
|
+
Object.prototype.hasOwnProperty.call(e, a) && Lt(e[a]) ? n[a] = it(e[a], t[a], r) : r.clone ? n[a] = Lt(t[a]) ? hp(t[a]) : t[a] : n[a] = t[a];
|
|
1298
1304
|
}), n;
|
|
1299
1305
|
}
|
|
1300
1306
|
const ny = (e) => {
|
|
@@ -1432,7 +1438,7 @@ const ms = {
|
|
|
1432
1438
|
}
|
|
1433
1439
|
})
|
|
1434
1440
|
};
|
|
1435
|
-
function
|
|
1441
|
+
function Vt(e, t, r) {
|
|
1436
1442
|
const n = e.theme || {};
|
|
1437
1443
|
if (Array.isArray(t)) {
|
|
1438
1444
|
const o = n.breakpoints || su;
|
|
@@ -1523,7 +1529,7 @@ function Ne(e) {
|
|
|
1523
1529
|
if (s[t] == null)
|
|
1524
1530
|
return null;
|
|
1525
1531
|
const i = s[t], l = s.theme, c = fs(l, n) || {};
|
|
1526
|
-
return
|
|
1532
|
+
return Vt(s, i, (d) => {
|
|
1527
1533
|
let h = No(c, a, d);
|
|
1528
1534
|
return d === h && typeof d == "string" && (h = No(c, a, `${t}${d === "default" ? "" : st(d)}`, d)), r === !1 ? h : {
|
|
1529
1535
|
[r]: h
|
|
@@ -1590,7 +1596,7 @@ function xy(e, t, r, n) {
|
|
|
1590
1596
|
if (!t.includes(r))
|
|
1591
1597
|
return null;
|
|
1592
1598
|
const a = gy(r), o = by(a, n), s = e[r];
|
|
1593
|
-
return
|
|
1599
|
+
return Vt(e, s, o);
|
|
1594
1600
|
}
|
|
1595
1601
|
function fp(e, t) {
|
|
1596
1602
|
const r = bs(e.theme);
|
|
@@ -1624,22 +1630,22 @@ function xs(...e) {
|
|
|
1624
1630
|
}), n), {}), r = (n) => Object.keys(n).reduce((a, o) => t[o] ? fa(a, t[o](n)) : a, {});
|
|
1625
1631
|
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, a) => Object.assign(n, a.propTypes), {}) : {}, r.filterProps = e.reduce((n, a) => n.concat(a.filterProps), []), r;
|
|
1626
1632
|
}
|
|
1627
|
-
function
|
|
1633
|
+
function wt(e) {
|
|
1628
1634
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
1629
1635
|
}
|
|
1630
|
-
function
|
|
1636
|
+
function Tt(e, t) {
|
|
1631
1637
|
return Ne({
|
|
1632
1638
|
prop: e,
|
|
1633
1639
|
themeKey: "borders",
|
|
1634
1640
|
transform: t
|
|
1635
1641
|
});
|
|
1636
1642
|
}
|
|
1637
|
-
const vy =
|
|
1643
|
+
const vy = Tt("border", wt), Sy = Tt("borderTop", wt), wy = Tt("borderRight", wt), Oy = Tt("borderBottom", wt), Cy = Tt("borderLeft", wt), Py = Tt("borderColor"), Ty = Tt("borderTopColor"), Ry = Tt("borderRightColor"), Ay = Tt("borderBottomColor"), _y = Tt("borderLeftColor"), Iy = Tt("outline", wt), Ey = Tt("outlineColor"), vs = (e) => {
|
|
1638
1644
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1639
1645
|
const t = $a(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
1640
1646
|
borderRadius: Ur(t, n)
|
|
1641
1647
|
});
|
|
1642
|
-
return
|
|
1648
|
+
return Vt(e, e.borderRadius, r);
|
|
1643
1649
|
}
|
|
1644
1650
|
return null;
|
|
1645
1651
|
};
|
|
@@ -1653,7 +1659,7 @@ const Ss = (e) => {
|
|
|
1653
1659
|
const t = $a(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
1654
1660
|
gap: Ur(t, n)
|
|
1655
1661
|
});
|
|
1656
|
-
return
|
|
1662
|
+
return Vt(e, e.gap, r);
|
|
1657
1663
|
}
|
|
1658
1664
|
return null;
|
|
1659
1665
|
};
|
|
@@ -1666,7 +1672,7 @@ const ws = (e) => {
|
|
|
1666
1672
|
const t = $a(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
1667
1673
|
columnGap: Ur(t, n)
|
|
1668
1674
|
});
|
|
1669
|
-
return
|
|
1675
|
+
return Vt(e, e.columnGap, r);
|
|
1670
1676
|
}
|
|
1671
1677
|
return null;
|
|
1672
1678
|
};
|
|
@@ -1679,7 +1685,7 @@ const Os = (e) => {
|
|
|
1679
1685
|
const t = $a(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
|
|
1680
1686
|
rowGap: Ur(t, n)
|
|
1681
1687
|
});
|
|
1682
|
-
return
|
|
1688
|
+
return Vt(e, e.rowGap, r);
|
|
1683
1689
|
}
|
|
1684
1690
|
return null;
|
|
1685
1691
|
};
|
|
@@ -1744,7 +1750,7 @@ const Gy = Ne({
|
|
|
1744
1750
|
maxWidth: yt(r)
|
|
1745
1751
|
};
|
|
1746
1752
|
};
|
|
1747
|
-
return
|
|
1753
|
+
return Vt(e, e.maxWidth, t);
|
|
1748
1754
|
}
|
|
1749
1755
|
return null;
|
|
1750
1756
|
};
|
|
@@ -1780,23 +1786,23 @@ const Ua = {
|
|
|
1780
1786
|
// borders
|
|
1781
1787
|
border: {
|
|
1782
1788
|
themeKey: "borders",
|
|
1783
|
-
transform:
|
|
1789
|
+
transform: wt
|
|
1784
1790
|
},
|
|
1785
1791
|
borderTop: {
|
|
1786
1792
|
themeKey: "borders",
|
|
1787
|
-
transform:
|
|
1793
|
+
transform: wt
|
|
1788
1794
|
},
|
|
1789
1795
|
borderRight: {
|
|
1790
1796
|
themeKey: "borders",
|
|
1791
|
-
transform:
|
|
1797
|
+
transform: wt
|
|
1792
1798
|
},
|
|
1793
1799
|
borderBottom: {
|
|
1794
1800
|
themeKey: "borders",
|
|
1795
|
-
transform:
|
|
1801
|
+
transform: wt
|
|
1796
1802
|
},
|
|
1797
1803
|
borderLeft: {
|
|
1798
1804
|
themeKey: "borders",
|
|
1799
|
-
transform:
|
|
1805
|
+
transform: wt
|
|
1800
1806
|
},
|
|
1801
1807
|
borderColor: {
|
|
1802
1808
|
themeKey: "palette"
|
|
@@ -1815,7 +1821,7 @@ const Ua = {
|
|
|
1815
1821
|
},
|
|
1816
1822
|
outline: {
|
|
1817
1823
|
themeKey: "borders",
|
|
1818
|
-
transform:
|
|
1824
|
+
transform: wt
|
|
1819
1825
|
},
|
|
1820
1826
|
outlineColor: {
|
|
1821
1827
|
themeKey: "palette"
|
|
@@ -2094,7 +2100,7 @@ function Xy() {
|
|
|
2094
2100
|
[r]: n
|
|
2095
2101
|
};
|
|
2096
2102
|
const h = fs(a, c) || {};
|
|
2097
|
-
return d ? d(s) :
|
|
2103
|
+
return d ? d(s) : Vt(s, n, (f) => {
|
|
2098
2104
|
let m = No(h, u, f);
|
|
2099
2105
|
return f === m && typeof f == "string" && (m = No(h, u, `${r}${f === "default" ? "" : st(f)}`, f)), l === !1 ? m : {
|
|
2100
2106
|
[l]: m
|
|
@@ -2126,7 +2132,7 @@ function Xy() {
|
|
|
2126
2132
|
if (o[h])
|
|
2127
2133
|
d = fa(d, e(h, p, a, o));
|
|
2128
2134
|
else {
|
|
2129
|
-
const f =
|
|
2135
|
+
const f = Vt({
|
|
2130
2136
|
theme: a
|
|
2131
2137
|
}, p, (m) => ({
|
|
2132
2138
|
[h]: m
|
|
@@ -2224,7 +2230,7 @@ function ab(e) {
|
|
|
2224
2230
|
let o;
|
|
2225
2231
|
return Array.isArray(t) ? o = [n, ...t] : typeof t == "function" ? o = (...s) => {
|
|
2226
2232
|
const i = t(...s);
|
|
2227
|
-
return
|
|
2233
|
+
return Lt(i) ? {
|
|
2228
2234
|
...n,
|
|
2229
2235
|
...i
|
|
2230
2236
|
} : n;
|
|
@@ -2402,7 +2408,7 @@ function Sp(e = {}) {
|
|
|
2402
2408
|
return function(T) {
|
|
2403
2409
|
return Io(T, P);
|
|
2404
2410
|
};
|
|
2405
|
-
if (
|
|
2411
|
+
if (Lt(P)) {
|
|
2406
2412
|
const O = xp(P);
|
|
2407
2413
|
return O.variants ? function(I) {
|
|
2408
2414
|
return Io(I, O);
|
|
@@ -2485,7 +2491,7 @@ function zo(e, t, r = !1) {
|
|
|
2485
2491
|
n[o][c] = zo(s[c], i[c], r);
|
|
2486
2492
|
}
|
|
2487
2493
|
}
|
|
2488
|
-
} else o === "className" && r && t.className ? n.className =
|
|
2494
|
+
} else o === "className" && r && t.className ? n.className = Et(e == null ? void 0 : e.className, t == null ? void 0 : t.className) : o === "style" && r && t.style ? n.style = {
|
|
2489
2495
|
...e == null ? void 0 : e.style,
|
|
2490
2496
|
...t == null ? void 0 : t.style
|
|
2491
2497
|
} : n[o] === void 0 && (n[o] = e[o]);
|
|
@@ -2513,7 +2519,7 @@ function Op({
|
|
|
2513
2519
|
props: e
|
|
2514
2520
|
});
|
|
2515
2521
|
}
|
|
2516
|
-
const
|
|
2522
|
+
const Gt = typeof window < "u" ? B.useLayoutEffect : B.useEffect;
|
|
2517
2523
|
function yn(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
2518
2524
|
return Math.max(t, Math.min(e, r));
|
|
2519
2525
|
}
|
|
@@ -2874,7 +2880,7 @@ const $b = (e) => ({
|
|
|
2874
2880
|
let r = {
|
|
2875
2881
|
display: "flex",
|
|
2876
2882
|
flexDirection: "column",
|
|
2877
|
-
...
|
|
2883
|
+
...Vt({
|
|
2878
2884
|
theme: t
|
|
2879
2885
|
}, di({
|
|
2880
2886
|
values: e.direction,
|
|
@@ -2896,7 +2902,7 @@ const $b = (e) => ({
|
|
|
2896
2902
|
const h = c > 0 ? o[u[c - 1]] : "column";
|
|
2897
2903
|
o[l] = h;
|
|
2898
2904
|
}
|
|
2899
|
-
}), r = it(r,
|
|
2905
|
+
}), r = it(r, Vt({
|
|
2900
2906
|
theme: t
|
|
2901
2907
|
}, s, (l, c) => e.useFlexGap ? {
|
|
2902
2908
|
gap: Ur(n, l)
|
|
@@ -2940,7 +2946,7 @@ function Db(e = {}) {
|
|
|
2940
2946
|
as: h,
|
|
2941
2947
|
ownerState: C,
|
|
2942
2948
|
ref: c,
|
|
2943
|
-
className:
|
|
2949
|
+
className: Et(P.root, S),
|
|
2944
2950
|
...w,
|
|
2945
2951
|
children: m ? kb(y, m) : y
|
|
2946
2952
|
});
|
|
@@ -3430,7 +3436,7 @@ const ox = {
|
|
|
3430
3436
|
tooltip: 1500
|
|
3431
3437
|
};
|
|
3432
3438
|
function sx(e) {
|
|
3433
|
-
return
|
|
3439
|
+
return Lt(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
3434
3440
|
}
|
|
3435
3441
|
function Rp(e = {}) {
|
|
3436
3442
|
const t = {
|
|
@@ -3440,7 +3446,7 @@ function Rp(e = {}) {
|
|
|
3440
3446
|
const a = Object.entries(n);
|
|
3441
3447
|
for (let o = 0; o < a.length; o++) {
|
|
3442
3448
|
const [s, i] = a[o];
|
|
3443
|
-
!sx(i) || s.startsWith("unstable_") ? delete n[s] :
|
|
3449
|
+
!sx(i) || s.startsWith("unstable_") ? delete n[s] : Lt(i) && (n[s] = {
|
|
3444
3450
|
...i
|
|
3445
3451
|
}, r(n[s]));
|
|
3446
3452
|
}
|
|
@@ -3609,14 +3615,14 @@ function H(e, t, r) {
|
|
|
3609
3615
|
function ha(e) {
|
|
3610
3616
|
return typeof e != "string" || !e.startsWith("hsl") ? e : Cp(e);
|
|
3611
3617
|
}
|
|
3612
|
-
function
|
|
3618
|
+
function Jt(e, t) {
|
|
3613
3619
|
`${t}Channel` in e || (e[`${t}Channel`] = da(ha(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
3614
3620
|
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
3615
3621
|
}
|
|
3616
3622
|
function mx(e) {
|
|
3617
3623
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
3618
3624
|
}
|
|
3619
|
-
const
|
|
3625
|
+
const jt = (e) => {
|
|
3620
3626
|
try {
|
|
3621
3627
|
return e();
|
|
3622
3628
|
} catch {
|
|
@@ -3702,18 +3708,18 @@ function gx(e = {}, ...t) {
|
|
|
3702
3708
|
return h(N, b[z][te]);
|
|
3703
3709
|
};
|
|
3704
3710
|
if (b.mode === "light" && (H(b.common, "background", "#fff"), H(b.common, "onBackground", "#000")), b.mode === "dark" && (H(b.common, "background", "#000"), H(b.common, "onBackground", "#fff")), px(b, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), b.mode === "light") {
|
|
3705
|
-
H(b.Alert, "errorColor", Re(b.error.light, 0.6)), H(b.Alert, "infoColor", Re(b.info.light, 0.6)), H(b.Alert, "successColor", Re(b.success.light, 0.6)), H(b.Alert, "warningColor", Re(b.warning.light, 0.6)), H(b.Alert, "errorFilledBg", A("palette-error-main")), H(b.Alert, "infoFilledBg", A("palette-info-main")), H(b.Alert, "successFilledBg", A("palette-success-main")), H(b.Alert, "warningFilledBg", A("palette-warning-main")), H(b.Alert, "errorFilledColor",
|
|
3711
|
+
H(b.Alert, "errorColor", Re(b.error.light, 0.6)), H(b.Alert, "infoColor", Re(b.info.light, 0.6)), H(b.Alert, "successColor", Re(b.success.light, 0.6)), H(b.Alert, "warningColor", Re(b.warning.light, 0.6)), H(b.Alert, "errorFilledBg", A("palette-error-main")), H(b.Alert, "infoFilledBg", A("palette-info-main")), H(b.Alert, "successFilledBg", A("palette-success-main")), H(b.Alert, "warningFilledBg", A("palette-warning-main")), H(b.Alert, "errorFilledColor", jt(() => b.getContrastText(b.error.main))), H(b.Alert, "infoFilledColor", jt(() => b.getContrastText(b.info.main))), H(b.Alert, "successFilledColor", jt(() => b.getContrastText(b.success.main))), H(b.Alert, "warningFilledColor", jt(() => b.getContrastText(b.warning.main))), H(b.Alert, "errorStandardBg", Ae(b.error.light, 0.9)), H(b.Alert, "infoStandardBg", Ae(b.info.light, 0.9)), H(b.Alert, "successStandardBg", Ae(b.success.light, 0.9)), H(b.Alert, "warningStandardBg", Ae(b.warning.light, 0.9)), H(b.Alert, "errorIconColor", A("palette-error-main")), H(b.Alert, "infoIconColor", A("palette-info-main")), H(b.Alert, "successIconColor", A("palette-success-main")), H(b.Alert, "warningIconColor", A("palette-warning-main")), H(b.AppBar, "defaultBg", A("palette-grey-100")), H(b.Avatar, "defaultBg", A("palette-grey-400")), H(b.Button, "inheritContainedBg", A("palette-grey-300")), H(b.Button, "inheritContainedHoverBg", A("palette-grey-A100")), H(b.Chip, "defaultBorder", A("palette-grey-400")), H(b.Chip, "defaultAvatarColor", A("palette-grey-700")), H(b.Chip, "defaultIconColor", A("palette-grey-700")), H(b.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), H(b.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), H(b.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), H(b.LinearProgress, "primaryBg", Ae(b.primary.main, 0.62)), H(b.LinearProgress, "secondaryBg", Ae(b.secondary.main, 0.62)), H(b.LinearProgress, "errorBg", Ae(b.error.main, 0.62)), H(b.LinearProgress, "infoBg", Ae(b.info.main, 0.62)), H(b.LinearProgress, "successBg", Ae(b.success.main, 0.62)), H(b.LinearProgress, "warningBg", Ae(b.warning.main, 0.62)), H(b.Skeleton, "bg", `rgba(${A("palette-text-primaryChannel")} / 0.11)`), H(b.Slider, "primaryTrack", Ae(b.primary.main, 0.62)), H(b.Slider, "secondaryTrack", Ae(b.secondary.main, 0.62)), H(b.Slider, "errorTrack", Ae(b.error.main, 0.62)), H(b.Slider, "infoTrack", Ae(b.info.main, 0.62)), H(b.Slider, "successTrack", Ae(b.success.main, 0.62)), H(b.Slider, "warningTrack", Ae(b.warning.main, 0.62));
|
|
3706
3712
|
const N = ro(b.background.default, 0.8);
|
|
3707
|
-
H(b.SnackbarContent, "bg", N), H(b.SnackbarContent, "color",
|
|
3713
|
+
H(b.SnackbarContent, "bg", N), H(b.SnackbarContent, "color", jt(() => b.getContrastText(N))), H(b.SpeedDialAction, "fabHoverBg", ro(b.background.paper, 0.15)), H(b.StepConnector, "border", A("palette-grey-400")), H(b.StepContent, "border", A("palette-grey-400")), H(b.Switch, "defaultColor", A("palette-common-white")), H(b.Switch, "defaultDisabledColor", A("palette-grey-100")), H(b.Switch, "primaryDisabledColor", Ae(b.primary.main, 0.62)), H(b.Switch, "secondaryDisabledColor", Ae(b.secondary.main, 0.62)), H(b.Switch, "errorDisabledColor", Ae(b.error.main, 0.62)), H(b.Switch, "infoDisabledColor", Ae(b.info.main, 0.62)), H(b.Switch, "successDisabledColor", Ae(b.success.main, 0.62)), H(b.Switch, "warningDisabledColor", Ae(b.warning.main, 0.62)), H(b.TableCell, "border", Ae(to(b.divider, 1), 0.88)), H(b.Tooltip, "bg", to(b.grey[700], 0.92));
|
|
3708
3714
|
}
|
|
3709
3715
|
if (b.mode === "dark") {
|
|
3710
|
-
H(b.Alert, "errorColor", Ae(b.error.light, 0.6)), H(b.Alert, "infoColor", Ae(b.info.light, 0.6)), H(b.Alert, "successColor", Ae(b.success.light, 0.6)), H(b.Alert, "warningColor", Ae(b.warning.light, 0.6)), H(b.Alert, "errorFilledBg", A("palette-error-dark")), H(b.Alert, "infoFilledBg", A("palette-info-dark")), H(b.Alert, "successFilledBg", A("palette-success-dark")), H(b.Alert, "warningFilledBg", A("palette-warning-dark")), H(b.Alert, "errorFilledColor",
|
|
3716
|
+
H(b.Alert, "errorColor", Ae(b.error.light, 0.6)), H(b.Alert, "infoColor", Ae(b.info.light, 0.6)), H(b.Alert, "successColor", Ae(b.success.light, 0.6)), H(b.Alert, "warningColor", Ae(b.warning.light, 0.6)), H(b.Alert, "errorFilledBg", A("palette-error-dark")), H(b.Alert, "infoFilledBg", A("palette-info-dark")), H(b.Alert, "successFilledBg", A("palette-success-dark")), H(b.Alert, "warningFilledBg", A("palette-warning-dark")), H(b.Alert, "errorFilledColor", jt(() => b.getContrastText(b.error.dark))), H(b.Alert, "infoFilledColor", jt(() => b.getContrastText(b.info.dark))), H(b.Alert, "successFilledColor", jt(() => b.getContrastText(b.success.dark))), H(b.Alert, "warningFilledColor", jt(() => b.getContrastText(b.warning.dark))), H(b.Alert, "errorStandardBg", Re(b.error.light, 0.9)), H(b.Alert, "infoStandardBg", Re(b.info.light, 0.9)), H(b.Alert, "successStandardBg", Re(b.success.light, 0.9)), H(b.Alert, "warningStandardBg", Re(b.warning.light, 0.9)), H(b.Alert, "errorIconColor", A("palette-error-main")), H(b.Alert, "infoIconColor", A("palette-info-main")), H(b.Alert, "successIconColor", A("palette-success-main")), H(b.Alert, "warningIconColor", A("palette-warning-main")), H(b.AppBar, "defaultBg", A("palette-grey-900")), H(b.AppBar, "darkBg", A("palette-background-paper")), H(b.AppBar, "darkColor", A("palette-text-primary")), H(b.Avatar, "defaultBg", A("palette-grey-600")), H(b.Button, "inheritContainedBg", A("palette-grey-800")), H(b.Button, "inheritContainedHoverBg", A("palette-grey-700")), H(b.Chip, "defaultBorder", A("palette-grey-700")), H(b.Chip, "defaultAvatarColor", A("palette-grey-300")), H(b.Chip, "defaultIconColor", A("palette-grey-300")), H(b.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), H(b.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), H(b.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), H(b.LinearProgress, "primaryBg", Re(b.primary.main, 0.5)), H(b.LinearProgress, "secondaryBg", Re(b.secondary.main, 0.5)), H(b.LinearProgress, "errorBg", Re(b.error.main, 0.5)), H(b.LinearProgress, "infoBg", Re(b.info.main, 0.5)), H(b.LinearProgress, "successBg", Re(b.success.main, 0.5)), H(b.LinearProgress, "warningBg", Re(b.warning.main, 0.5)), H(b.Skeleton, "bg", `rgba(${A("palette-text-primaryChannel")} / 0.13)`), H(b.Slider, "primaryTrack", Re(b.primary.main, 0.5)), H(b.Slider, "secondaryTrack", Re(b.secondary.main, 0.5)), H(b.Slider, "errorTrack", Re(b.error.main, 0.5)), H(b.Slider, "infoTrack", Re(b.info.main, 0.5)), H(b.Slider, "successTrack", Re(b.success.main, 0.5)), H(b.Slider, "warningTrack", Re(b.warning.main, 0.5));
|
|
3711
3717
|
const N = ro(b.background.default, 0.98);
|
|
3712
|
-
H(b.SnackbarContent, "bg", N), H(b.SnackbarContent, "color",
|
|
3718
|
+
H(b.SnackbarContent, "bg", N), H(b.SnackbarContent, "color", jt(() => b.getContrastText(N))), H(b.SpeedDialAction, "fabHoverBg", ro(b.background.paper, 0.15)), H(b.StepConnector, "border", A("palette-grey-600")), H(b.StepContent, "border", A("palette-grey-600")), H(b.Switch, "defaultColor", A("palette-grey-300")), H(b.Switch, "defaultDisabledColor", A("palette-grey-600")), H(b.Switch, "primaryDisabledColor", Re(b.primary.main, 0.55)), H(b.Switch, "secondaryDisabledColor", Re(b.secondary.main, 0.55)), H(b.Switch, "errorDisabledColor", Re(b.error.main, 0.55)), H(b.Switch, "infoDisabledColor", Re(b.info.main, 0.55)), H(b.Switch, "successDisabledColor", Re(b.success.main, 0.55)), H(b.Switch, "warningDisabledColor", Re(b.warning.main, 0.55)), H(b.TableCell, "border", Re(to(b.divider, 1), 0.68)), H(b.Tooltip, "bg", to(b.grey[700], 0.92));
|
|
3713
3719
|
}
|
|
3714
|
-
|
|
3720
|
+
Jt(b.background, "default"), Jt(b.background, "paper"), Jt(b.common, "background"), Jt(b.common, "onBackground"), Jt(b, "divider"), Object.keys(b).forEach((N) => {
|
|
3715
3721
|
const V = b[N];
|
|
3716
|
-
N !== "tonalOffset" && V && typeof V == "object" && (V.main && H(b[N], "mainChannel", da(ha(V.main))), V.light && H(b[N], "lightChannel", da(ha(V.light))), V.dark && H(b[N], "darkChannel", da(ha(V.dark))), V.contrastText && H(b[N], "contrastTextChannel", da(ha(V.contrastText))), N === "text" && (
|
|
3722
|
+
N !== "tonalOffset" && V && typeof V == "object" && (V.main && H(b[N], "mainChannel", da(ha(V.main))), V.light && H(b[N], "lightChannel", da(ha(V.light))), V.dark && H(b[N], "darkChannel", da(ha(V.dark))), V.contrastText && H(b[N], "contrastTextChannel", da(ha(V.contrastText))), N === "text" && (Jt(b[N], "primary"), Jt(b[N], "secondary")), N === "action" && (V.active && Jt(b[N], "active"), V.selected && Jt(b[N], "selected")));
|
|
3717
3723
|
});
|
|
3718
3724
|
}), C = t.reduce((E, b) => it(E, b), C);
|
|
3719
3725
|
const P = {
|
|
@@ -3889,7 +3895,7 @@ const Rs = ({
|
|
|
3889
3895
|
})));
|
|
3890
3896
|
};
|
|
3891
3897
|
}, [t]);
|
|
3892
|
-
return
|
|
3898
|
+
return Gt(() => {
|
|
3893
3899
|
if (typeof window > "u" || !(window != null && window.matchMedia))
|
|
3894
3900
|
return;
|
|
3895
3901
|
let a;
|
|
@@ -4628,12 +4634,12 @@ const m1 = 10, As = ({
|
|
|
4628
4634
|
e.margin.bottom
|
|
4629
4635
|
]), B.useEffect(() => {
|
|
4630
4636
|
a.current.displayError = !0;
|
|
4631
|
-
}, []),
|
|
4637
|
+
}, []), Gt(() => {
|
|
4632
4638
|
if (n || !a.current.initialCompute || a.current.computeRun > m1)
|
|
4633
4639
|
return;
|
|
4634
4640
|
const f = c();
|
|
4635
4641
|
f.width !== o || f.height !== i ? (a.current.computeRun += 1, f.width !== void 0 && s(f.width), f.height !== void 0 && l(f.height)) : a.current.initialCompute && (a.current.initialCompute = !1);
|
|
4636
|
-
}, [i, o, c, n]),
|
|
4642
|
+
}, [i, o, c, n]), Gt(() => {
|
|
4637
4643
|
if (n)
|
|
4638
4644
|
return () => {
|
|
4639
4645
|
};
|
|
@@ -4687,7 +4693,7 @@ As.getInitialState = ({
|
|
|
4687
4693
|
const Hl = ({
|
|
4688
4694
|
params: e,
|
|
4689
4695
|
store: t
|
|
4690
|
-
}) => (
|
|
4696
|
+
}) => (Gt(() => {
|
|
4691
4697
|
t.update((r) => J({}, r, {
|
|
4692
4698
|
experimentalFeatures: e.experimentalFeatures
|
|
4693
4699
|
}));
|
|
@@ -6730,7 +6736,7 @@ function Qp(e, t) {
|
|
|
6730
6736
|
}
|
|
6731
6737
|
function Ba() {
|
|
6732
6738
|
}
|
|
6733
|
-
var Ca = 0.7, Wo = 1 / Ca, Sn = "\\s*([+-]?\\d+)\\s*", Pa = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
|
|
6739
|
+
var Ca = 0.7, Wo = 1 / Ca, Sn = "\\s*([+-]?\\d+)\\s*", Pa = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Nt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", tv = /^#([0-9a-f]{3,8})$/, rv = new RegExp(`^rgb\\(${Sn},${Sn},${Sn}\\)$`), nv = new RegExp(`^rgb\\(${Nt},${Nt},${Nt}\\)$`), av = new RegExp(`^rgba\\(${Sn},${Sn},${Sn},${Pa}\\)$`), ov = new RegExp(`^rgba\\(${Nt},${Nt},${Nt},${Pa}\\)$`), sv = new RegExp(`^hsl\\(${Pa},${Nt},${Nt}\\)$`), iv = new RegExp(`^hsla\\(${Pa},${Nt},${Nt},${Pa}\\)$`), Du = {
|
|
6734
6740
|
aliceblue: 15792383,
|
|
6735
6741
|
antiquewhite: 16444375,
|
|
6736
6742
|
aqua: 65535,
|
|
@@ -6969,28 +6975,28 @@ function Er(e) {
|
|
|
6969
6975
|
return e = jr(e), (e < 16 ? "0" : "") + e.toString(16);
|
|
6970
6976
|
}
|
|
6971
6977
|
function Gu(e, t, r, n) {
|
|
6972
|
-
return n <= 0 ? e = t = r = NaN : r <= 0 || r >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new
|
|
6978
|
+
return n <= 0 ? e = t = r = NaN : r <= 0 || r >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new _t(e, t, r, n);
|
|
6973
6979
|
}
|
|
6974
6980
|
function Xp(e) {
|
|
6975
|
-
if (e instanceof
|
|
6976
|
-
if (e instanceof Ba || (e = Ta(e)), !e) return new
|
|
6977
|
-
if (e instanceof
|
|
6981
|
+
if (e instanceof _t) return new _t(e.h, e.s, e.l, e.opacity);
|
|
6982
|
+
if (e instanceof Ba || (e = Ta(e)), !e) return new _t();
|
|
6983
|
+
if (e instanceof _t) return e;
|
|
6978
6984
|
e = e.rgb();
|
|
6979
6985
|
var t = e.r / 255, r = e.g / 255, n = e.b / 255, a = Math.min(t, r, n), o = Math.max(t, r, n), s = NaN, i = o - a, l = (o + a) / 2;
|
|
6980
|
-
return i ? (t === o ? s = (r - n) / i + (r < n) * 6 : r === o ? s = (n - t) / i + 2 : s = (t - r) / i + 4, i /= l < 0.5 ? o + a : 2 - o - a, s *= 60) : i = l > 0 && l < 1 ? 0 : s, new
|
|
6986
|
+
return i ? (t === o ? s = (r - n) / i + (r < n) * 6 : r === o ? s = (n - t) / i + 2 : s = (t - r) / i + 4, i /= l < 0.5 ? o + a : 2 - o - a, s *= 60) : i = l > 0 && l < 1 ? 0 : s, new _t(s, i, l, e.opacity);
|
|
6981
6987
|
}
|
|
6982
6988
|
function hv(e, t, r, n) {
|
|
6983
|
-
return arguments.length === 1 ? Xp(e) : new
|
|
6989
|
+
return arguments.length === 1 ? Xp(e) : new _t(e, t, r, n ?? 1);
|
|
6984
6990
|
}
|
|
6985
|
-
function
|
|
6991
|
+
function _t(e, t, r, n) {
|
|
6986
6992
|
this.h = +e, this.s = +t, this.l = +r, this.opacity = +n;
|
|
6987
6993
|
}
|
|
6988
|
-
ac(
|
|
6994
|
+
ac(_t, hv, Qp(Ba, {
|
|
6989
6995
|
brighter(e) {
|
|
6990
|
-
return e = e == null ? Wo : Math.pow(Wo, e), new
|
|
6996
|
+
return e = e == null ? Wo : Math.pow(Wo, e), new _t(this.h, this.s, this.l * e, this.opacity);
|
|
6991
6997
|
},
|
|
6992
6998
|
darker(e) {
|
|
6993
|
-
return e = e == null ? Ca : Math.pow(Ca, e), new
|
|
6999
|
+
return e = e == null ? Ca : Math.pow(Ca, e), new _t(this.h, this.s, this.l * e, this.opacity);
|
|
6994
7000
|
},
|
|
6995
7001
|
rgb() {
|
|
6996
7002
|
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, r = this.l, n = r + (r < 0.5 ? r : 1 - r) * t, a = 2 * r - n;
|
|
@@ -7002,7 +7008,7 @@ ac(At, hv, Qp(Ba, {
|
|
|
7002
7008
|
);
|
|
7003
7009
|
},
|
|
7004
7010
|
clamp() {
|
|
7005
|
-
return new
|
|
7011
|
+
return new _t(Hu(this.h), co(this.s), co(this.l), Jo(this.opacity));
|
|
7006
7012
|
},
|
|
7007
7013
|
displayable() {
|
|
7008
7014
|
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
@@ -7077,7 +7083,7 @@ function sc(e, t) {
|
|
|
7077
7083
|
return r.setTime(e * (1 - n) + t * n), r;
|
|
7078
7084
|
};
|
|
7079
7085
|
}
|
|
7080
|
-
function
|
|
7086
|
+
function It(e, t) {
|
|
7081
7087
|
return e = +e, t = +t, function(r) {
|
|
7082
7088
|
return e * (1 - r) + t * r;
|
|
7083
7089
|
};
|
|
@@ -7106,7 +7112,7 @@ function Sv(e) {
|
|
|
7106
7112
|
function wv(e, t) {
|
|
7107
7113
|
var r = ol.lastIndex = Si.lastIndex = 0, n, a, o, s = -1, i = [], l = [];
|
|
7108
7114
|
for (e = e + "", t = t + ""; (n = ol.exec(e)) && (a = Si.exec(t)); )
|
|
7109
|
-
(o = a.index) > r && (o = t.slice(r, o), i[s] ? i[s] += o : i[++s] = o), (n = n[0]) === (a = a[0]) ? i[s] ? i[s] += a : i[++s] = a : (i[++s] = null, l.push({ i: s, x:
|
|
7115
|
+
(o = a.index) > r && (o = t.slice(r, o), i[s] ? i[s] += o : i[++s] = o), (n = n[0]) === (a = a[0]) ? i[s] ? i[s] += a : i[++s] = a : (i[++s] = null, l.push({ i: s, x: It(n, a) })), r = Si.lastIndex;
|
|
7110
7116
|
return r < t.length && (o = t.slice(r), i[s] ? i[s] += o : i[++s] = o), i.length < 2 ? l[0] ? Sv(l[0].x) : vv(t) : (t = l.length, function(c) {
|
|
7111
7117
|
for (var u = 0, d; u < t; ++u) i[(d = l[u]).i] = d.x(c);
|
|
7112
7118
|
return i.join("");
|
|
@@ -7114,7 +7120,7 @@ function wv(e, t) {
|
|
|
7114
7120
|
}
|
|
7115
7121
|
function Es(e, t) {
|
|
7116
7122
|
var r = typeof t, n;
|
|
7117
|
-
return t == null || r === "boolean" ? oc(t) : (r === "number" ?
|
|
7123
|
+
return t == null || r === "boolean" ? oc(t) : (r === "number" ? It : r === "string" ? (n = Ta(t)) ? (t = n, qu) : wv : t instanceof Ta ? qu : t instanceof Date ? sc : yv(t) ? gv : Array.isArray(t) ? bv : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? xv : It)(e, t);
|
|
7118
7124
|
}
|
|
7119
7125
|
function em(e, t) {
|
|
7120
7126
|
return e = +e, t = +t, function(r) {
|
|
@@ -7130,7 +7136,7 @@ function Cv(e) {
|
|
|
7130
7136
|
return +e;
|
|
7131
7137
|
}
|
|
7132
7138
|
var Wu = [0, 1];
|
|
7133
|
-
function
|
|
7139
|
+
function Ot(e) {
|
|
7134
7140
|
return e;
|
|
7135
7141
|
}
|
|
7136
7142
|
function sl(e, t) {
|
|
@@ -7163,16 +7169,16 @@ function Vs(e, t) {
|
|
|
7163
7169
|
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
|
|
7164
7170
|
}
|
|
7165
7171
|
function ic() {
|
|
7166
|
-
var e = Wu, t = Wu, r = Es, n, a, o, s =
|
|
7172
|
+
var e = Wu, t = Wu, r = Es, n, a, o, s = Ot, i, l, c;
|
|
7167
7173
|
function u() {
|
|
7168
7174
|
var h = Math.min(e.length, t.length);
|
|
7169
|
-
return s !==
|
|
7175
|
+
return s !== Ot && (s = Pv(e[0], e[h - 1])), i = h > 2 ? Rv : Tv, l = c = null, d;
|
|
7170
7176
|
}
|
|
7171
7177
|
function d(h) {
|
|
7172
7178
|
return h == null || isNaN(h = +h) ? o : (l || (l = i(e.map(n), t, r)))(n(s(h)));
|
|
7173
7179
|
}
|
|
7174
7180
|
return d.invert = function(h) {
|
|
7175
|
-
return s(a((c || (c = i(t, e.map(n),
|
|
7181
|
+
return s(a((c || (c = i(t, e.map(n), It)))(h)));
|
|
7176
7182
|
}, d.domain = function(h) {
|
|
7177
7183
|
return arguments.length ? (e = Array.from(h, Cv), u()) : e.slice();
|
|
7178
7184
|
}, d.range = function(h) {
|
|
@@ -7180,7 +7186,7 @@ function ic() {
|
|
|
7180
7186
|
}, d.rangeRound = function(h) {
|
|
7181
7187
|
return t = Array.from(h), r = em, u();
|
|
7182
7188
|
}, d.clamp = function(h) {
|
|
7183
|
-
return arguments.length ? (s = h ? !0 :
|
|
7189
|
+
return arguments.length ? (s = h ? !0 : Ot, u()) : s !== Ot;
|
|
7184
7190
|
}, d.interpolate = function(h) {
|
|
7185
7191
|
return arguments.length ? (r = h, u()) : r;
|
|
7186
7192
|
}, d.unknown = function(h) {
|
|
@@ -7190,7 +7196,7 @@ function ic() {
|
|
|
7190
7196
|
};
|
|
7191
7197
|
}
|
|
7192
7198
|
function tm() {
|
|
7193
|
-
return ic()(
|
|
7199
|
+
return ic()(Ot, Ot);
|
|
7194
7200
|
}
|
|
7195
7201
|
function Av(e) {
|
|
7196
7202
|
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
|
|
@@ -7513,9 +7519,9 @@ function Wv(e) {
|
|
|
7513
7519
|
return e < 0 ? -e * e : e * e;
|
|
7514
7520
|
}
|
|
7515
7521
|
function Jv(e) {
|
|
7516
|
-
var t = e(
|
|
7522
|
+
var t = e(Ot, Ot), r = 1;
|
|
7517
7523
|
function n() {
|
|
7518
|
-
return r === 1 ? e(
|
|
7524
|
+
return r === 1 ? e(Ot, Ot) : r === 0.5 ? e(qv, Wv) : e(rd(r), rd(1 / r));
|
|
7519
7525
|
}
|
|
7520
7526
|
return t.exponent = function(a) {
|
|
7521
7527
|
return arguments.length ? (r = +a, n()) : r;
|
|
@@ -7586,7 +7592,7 @@ Ko.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ?
|
|
|
7586
7592
|
t.setTime(+t + r * e);
|
|
7587
7593
|
}, (t, r) => (r - t) / e) : Ko);
|
|
7588
7594
|
Ko.range;
|
|
7589
|
-
const Kt = 1e3,
|
|
7595
|
+
const Kt = 1e3, Ct = Kt * 60, Qt = Ct * 60, rr = Qt * 24, hc = rr * 7, nd = rr * 30, Ci = rr * 365, Vr = We((e) => {
|
|
7590
7596
|
e.setTime(e - e.getMilliseconds());
|
|
7591
7597
|
}, (e, t) => {
|
|
7592
7598
|
e.setTime(+e + t * Kt);
|
|
@@ -7595,17 +7601,17 @@ Vr.range;
|
|
|
7595
7601
|
const pc = We((e) => {
|
|
7596
7602
|
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Kt);
|
|
7597
7603
|
}, (e, t) => {
|
|
7598
|
-
e.setTime(+e + t *
|
|
7599
|
-
}, (e, t) => (t - e) /
|
|
7604
|
+
e.setTime(+e + t * Ct);
|
|
7605
|
+
}, (e, t) => (t - e) / Ct, (e) => e.getMinutes());
|
|
7600
7606
|
pc.range;
|
|
7601
7607
|
const mc = We((e) => {
|
|
7602
7608
|
e.setUTCSeconds(0, 0);
|
|
7603
7609
|
}, (e, t) => {
|
|
7604
|
-
e.setTime(+e + t *
|
|
7605
|
-
}, (e, t) => (t - e) /
|
|
7610
|
+
e.setTime(+e + t * Ct);
|
|
7611
|
+
}, (e, t) => (t - e) / Ct, (e) => e.getUTCMinutes());
|
|
7606
7612
|
mc.range;
|
|
7607
7613
|
const fc = We((e) => {
|
|
7608
|
-
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Kt - e.getMinutes() *
|
|
7614
|
+
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Kt - e.getMinutes() * Ct);
|
|
7609
7615
|
}, (e, t) => {
|
|
7610
7616
|
e.setTime(+e + t * Qt);
|
|
7611
7617
|
}, (e, t) => (t - e) / Qt, (e) => e.getHours());
|
|
@@ -7619,7 +7625,7 @@ gc.range;
|
|
|
7619
7625
|
const Na = We(
|
|
7620
7626
|
(e) => e.setHours(0, 0, 0, 0),
|
|
7621
7627
|
(e, t) => e.setDate(e.getDate() + t),
|
|
7622
|
-
(e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) *
|
|
7628
|
+
(e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * Ct) / rr,
|
|
7623
7629
|
(e) => e.getDate() - 1
|
|
7624
7630
|
);
|
|
7625
7631
|
Na.range;
|
|
@@ -7640,7 +7646,7 @@ function zr(e) {
|
|
|
7640
7646
|
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
|
|
7641
7647
|
}, (t, r) => {
|
|
7642
7648
|
t.setDate(t.getDate() + r * 7);
|
|
7643
|
-
}, (t, r) => (r - t - (r.getTimezoneOffset() - t.getTimezoneOffset()) *
|
|
7649
|
+
}, (t, r) => (r - t - (r.getTimezoneOffset() - t.getTimezoneOffset()) * Ct) / hc);
|
|
7644
7650
|
}
|
|
7645
7651
|
const js = zr(0), Qo = zr(1), Kv = zr(2), Qv = zr(3), Rn = zr(4), Xv = zr(5), Zv = zr(6);
|
|
7646
7652
|
js.range;
|
|
@@ -7705,10 +7711,10 @@ function cm(e, t, r, n, a, o) {
|
|
|
7705
7711
|
[Vr, 5, 5 * Kt],
|
|
7706
7712
|
[Vr, 15, 15 * Kt],
|
|
7707
7713
|
[Vr, 30, 30 * Kt],
|
|
7708
|
-
[o, 1,
|
|
7709
|
-
[o, 5, 5 *
|
|
7710
|
-
[o, 15, 15 *
|
|
7711
|
-
[o, 30, 30 *
|
|
7714
|
+
[o, 1, Ct],
|
|
7715
|
+
[o, 5, 5 * Ct],
|
|
7716
|
+
[o, 15, 15 * Ct],
|
|
7717
|
+
[o, 30, 30 * Ct],
|
|
7712
7718
|
[a, 1, Qt],
|
|
7713
7719
|
[a, 3, 3 * Qt],
|
|
7714
7720
|
[a, 6, 6 * Qt],
|
|
@@ -8256,7 +8262,7 @@ function dw() {
|
|
|
8256
8262
|
return Or.apply(xc(aS, oS, ar, bc, ks, Ms, gc, mc, Vr, fm).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
|
|
8257
8263
|
}
|
|
8258
8264
|
function hw() {
|
|
8259
|
-
var e = 0, t = 1, r, n, a, o, s =
|
|
8265
|
+
var e = 0, t = 1, r, n, a, o, s = Ot, i = !1, l;
|
|
8260
8266
|
function c(d) {
|
|
8261
8267
|
return d == null || isNaN(d = +d) ? l : s(a === 0 ? 0.5 : (d = (o(d) - r) * a, i ? Math.max(0, Math.min(1, d)) : d));
|
|
8262
8268
|
}
|
|
@@ -8283,7 +8289,7 @@ function pw(e, t) {
|
|
|
8283
8289
|
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
|
|
8284
8290
|
}
|
|
8285
8291
|
function ym() {
|
|
8286
|
-
var e = uc(hw()(
|
|
8292
|
+
var e = uc(hw()(Ot));
|
|
8287
8293
|
return e.copy = function() {
|
|
8288
8294
|
return pw(e, ym());
|
|
8289
8295
|
}, Z1.apply(e, arguments);
|
|
@@ -8671,7 +8677,7 @@ function vd(e, t) {
|
|
|
8671
8677
|
}
|
|
8672
8678
|
function Xt(e) {
|
|
8673
8679
|
const t = B.useRef(e);
|
|
8674
|
-
return
|
|
8680
|
+
return Gt(() => {
|
|
8675
8681
|
t.current = e;
|
|
8676
8682
|
}), B.useRef((...r) => (
|
|
8677
8683
|
// @ts-expect-error hide `this`
|
|
@@ -8932,7 +8938,7 @@ const Bs = ({
|
|
|
8932
8938
|
propName: "highlightedAxis",
|
|
8933
8939
|
controlled: e.highlightedAxis,
|
|
8934
8940
|
defaultValue: void 0
|
|
8935
|
-
}),
|
|
8941
|
+
}), Gt(() => {
|
|
8936
8942
|
e.highlightedAxis !== void 0 && t.update((w) => w.controlledCartesianAxisHighlight === e.highlightedAxis ? w : J({}, w, {
|
|
8937
8943
|
controlledCartesianAxisHighlight: e.highlightedAxis
|
|
8938
8944
|
}));
|
|
@@ -9116,7 +9122,7 @@ const qw = (e) => e, Ww = pe([qw], (e) => e.zAxis), Ns = ({
|
|
|
9116
9122
|
propName: "highlightedItem",
|
|
9117
9123
|
controlled: t.highlightedItem,
|
|
9118
9124
|
defaultValue: null
|
|
9119
|
-
}),
|
|
9125
|
+
}), Gt(() => {
|
|
9120
9126
|
e.update((a) => a.highlight.item === t.highlightedItem ? a : J({}, a, {
|
|
9121
9127
|
highlight: J({}, a.highlight, {
|
|
9122
9128
|
item: t.highlightedItem
|
|
@@ -9207,7 +9213,7 @@ function qe(e) {
|
|
|
9207
9213
|
return e;
|
|
9208
9214
|
};
|
|
9209
9215
|
}
|
|
9210
|
-
const Pd = Math.abs, nt = Math.atan2, Tr = Math.cos, Kw = Math.max, Ai = Math.min,
|
|
9216
|
+
const Pd = Math.abs, nt = Math.atan2, Tr = Math.cos, Kw = Math.max, Ai = Math.min, kt = Math.sin, bn = Math.sqrt, ut = 1e-12, Aa = Math.PI, es = Aa / 2, Mo = 2 * Aa;
|
|
9211
9217
|
function Qw(e) {
|
|
9212
9218
|
return e > 1 ? 0 : e < -1 ? Aa : Math.acos(e);
|
|
9213
9219
|
}
|
|
@@ -9326,19 +9332,19 @@ function Mm() {
|
|
|
9326
9332
|
var u, d, h = +e.apply(this, arguments), p = +t.apply(this, arguments), f = a.apply(this, arguments) - es, m = o.apply(this, arguments) - es, y = Pd(m - f), S = m > f;
|
|
9327
9333
|
if (i || (i = u = l()), p < h && (d = p, p = h, h = d), !(p > ut)) i.moveTo(0, 0);
|
|
9328
9334
|
else if (y > Mo - ut)
|
|
9329
|
-
i.moveTo(p * Tr(f), p *
|
|
9335
|
+
i.moveTo(p * Tr(f), p * kt(f)), i.arc(0, 0, p, f, m, !S), h > ut && (i.moveTo(h * Tr(m), h * kt(m)), i.arc(0, 0, h, m, f, S));
|
|
9330
9336
|
else {
|
|
9331
9337
|
var R = f, w = m, C = f, P = m, O = y, T = y, I = s.apply(this, arguments) / 2, E = I > ut && (n ? +n.apply(this, arguments) : bn(h * h + p * p)), b = Ai(Pd(p - h) / 2, +r.apply(this, arguments)), A = b, N = b, V, z;
|
|
9332
9338
|
if (E > ut) {
|
|
9333
|
-
var te = Td(E / h *
|
|
9339
|
+
var te = Td(E / h * kt(I)), ee = Td(E / p * kt(I));
|
|
9334
9340
|
(O -= te * 2) > ut ? (te *= S ? 1 : -1, C += te, P -= te) : (O = 0, C = P = (f + m) / 2), (T -= ee * 2) > ut ? (ee *= S ? 1 : -1, R += ee, w -= ee) : (T = 0, R = w = (f + m) / 2);
|
|
9335
9341
|
}
|
|
9336
|
-
var ne = p * Tr(R), X = p *
|
|
9342
|
+
var ne = p * Tr(R), X = p * kt(R), ie = h * Tr(P), q = h * kt(P);
|
|
9337
9343
|
if (b > ut) {
|
|
9338
|
-
var Q = p * Tr(w), de = p *
|
|
9344
|
+
var Q = p * Tr(w), de = p * kt(w), Ie = h * Tr(C), Je = h * kt(C), Pe;
|
|
9339
9345
|
if (y < Aa)
|
|
9340
9346
|
if (Pe = iO(ne, X, Ie, Je, Q, de, ie, q)) {
|
|
9341
|
-
var mt = ne - Pe[0], lt = X - Pe[1], be = Q - Pe[0], K = de - Pe[1], ae = 1 /
|
|
9347
|
+
var mt = ne - Pe[0], lt = X - Pe[1], be = Q - Pe[0], K = de - Pe[1], ae = 1 / kt(Qw((mt * be + lt * K) / (bn(mt * mt + lt * lt) * bn(be * be + K * K))) / 2), le = bn(Pe[0] * Pe[0] + Pe[1] * Pe[1]);
|
|
9342
9348
|
A = Ai(b, (h - le) / (ae - 1)), N = Ai(b, (p - le) / (ae + 1));
|
|
9343
9349
|
} else
|
|
9344
9350
|
A = N = 0;
|
|
@@ -9349,7 +9355,7 @@ function Mm() {
|
|
|
9349
9355
|
}
|
|
9350
9356
|
return c.centroid = function() {
|
|
9351
9357
|
var u = (+e.apply(this, arguments) + +t.apply(this, arguments)) / 2, d = (+a.apply(this, arguments) + +o.apply(this, arguments)) / 2 - Aa / 2;
|
|
9352
|
-
return [Tr(d) * u,
|
|
9358
|
+
return [Tr(d) * u, kt(d) * u];
|
|
9353
9359
|
}, c.innerRadius = function(u) {
|
|
9354
9360
|
return arguments.length ? (e = typeof u == "function" ? u : qe(+u), c) : e;
|
|
9355
9361
|
}, c.outerRadius = function(u) {
|
|
@@ -10379,9 +10385,9 @@ function SC(e, {
|
|
|
10379
10385
|
initialProps: a = e
|
|
10380
10386
|
}) {
|
|
10381
10387
|
const o = B.useRef(a), s = B.useRef(null), i = B.useRef(null), l = B.useRef(e);
|
|
10382
|
-
|
|
10388
|
+
Gt(() => {
|
|
10383
10389
|
l.current = e;
|
|
10384
|
-
}, [e]),
|
|
10390
|
+
}, [e]), Gt(() => {
|
|
10385
10391
|
var d;
|
|
10386
10392
|
n && ((d = s.current) == null || d.finish(), s.current = null, i.current = null, o.current = e);
|
|
10387
10393
|
}, [e, n]);
|
|
@@ -10477,7 +10483,7 @@ function Id(e) {
|
|
|
10477
10483
|
} = e, c = [l.min ?? 0, l.max ?? 100], u = c.map(s).filter((f) => f !== void 0);
|
|
10478
10484
|
if (u.length !== 2)
|
|
10479
10485
|
return null;
|
|
10480
|
-
const d = typeof c[0] == "number" ?
|
|
10486
|
+
const d = typeof c[0] == "number" ? It(c[0], c[1]) : sc(c[0], c[1]), h = Math.round((Math.max(...u) - Math.min(...u)) / OC), p = `${c[0]}-${c[1]}-`;
|
|
10481
10487
|
return /* @__PURE__ */ g.jsx("linearGradient", {
|
|
10482
10488
|
id: n,
|
|
10483
10489
|
x1: "0",
|
|
@@ -10521,7 +10527,7 @@ function Vi(e) {
|
|
|
10521
10527
|
gradientId: r,
|
|
10522
10528
|
colorScale: n,
|
|
10523
10529
|
colorMap: a
|
|
10524
|
-
} = e, o = [a.min ?? 0, a.max ?? 100], s = typeof o[0] == "number" ?
|
|
10530
|
+
} = e, o = [a.min ?? 0, a.max ?? 100], s = typeof o[0] == "number" ? It(o[0], o[1]) : sc(o[0], o[1]), i = CC, l = `${o[0]}-${o[1]}-`;
|
|
10525
10531
|
return /* @__PURE__ */ g.jsx("linearGradient", J({
|
|
10526
10532
|
id: r
|
|
10527
10533
|
}, PC(t), {
|
|
@@ -10993,7 +10999,7 @@ function jC(e) {
|
|
|
10993
10999
|
return e || r;
|
|
10994
11000
|
}
|
|
10995
11001
|
function kC(e, t) {
|
|
10996
|
-
const r =
|
|
11002
|
+
const r = It(e.startAngle, t.startAngle), n = It(e.endAngle, t.endAngle), a = It(e.innerRadius, t.innerRadius), o = It(e.outerRadius, t.outerRadius), s = It(e.cornerRadius, t.cornerRadius);
|
|
10997
11003
|
return (i) => ({
|
|
10998
11004
|
startAngle: r(i),
|
|
10999
11005
|
endAngle: n(i),
|
|
@@ -11352,7 +11358,7 @@ const eP = ["text", "children", "classes", "className", "skipAnimation"], tP = (
|
|
|
11352
11358
|
skipAnimation: s
|
|
11353
11359
|
} = t, i = br(t, eP), l = tP(t);
|
|
11354
11360
|
return /* @__PURE__ */ g.jsxs(Rc, J({}, i, {
|
|
11355
|
-
className:
|
|
11361
|
+
className: Et(l.root, o),
|
|
11356
11362
|
ref: r,
|
|
11357
11363
|
children: [/* @__PURE__ */ g.jsx(FC, {
|
|
11358
11364
|
className: l.referenceArc
|
|
@@ -11466,7 +11472,7 @@ process.env.NODE_ENV !== "production" && (Ac.propTypes = {
|
|
|
11466
11472
|
*/
|
|
11467
11473
|
width: x.number
|
|
11468
11474
|
});
|
|
11469
|
-
const
|
|
11475
|
+
const At = (e) => {
|
|
11470
11476
|
const t = Math.floor(e / 60), r = e % 60;
|
|
11471
11477
|
return `${t}:${r.toString().padStart(2, "0")}`;
|
|
11472
11478
|
}, rP = (e, t, r) => e === "countdown" && r !== null ? Math.min(100, t / r * 100) : e === "measuring" ? t / 60 % 1 * 100 : 0, nP = ({
|
|
@@ -11699,7 +11705,7 @@ const Rt = (e) => {
|
|
|
11699
11705
|
opacity: 1,
|
|
11700
11706
|
transition: "opacity 2s ease-in-out"
|
|
11701
11707
|
},
|
|
11702
|
-
children:
|
|
11708
|
+
children: At(i)
|
|
11703
11709
|
}
|
|
11704
11710
|
)
|
|
11705
11711
|
}
|
|
@@ -11741,7 +11747,7 @@ const Rt = (e) => {
|
|
|
11741
11747
|
transition: "opacity 2s ease-in-out"
|
|
11742
11748
|
},
|
|
11743
11749
|
children: s === "measuring" ? a("CycleTimer.Measuring.lb", "measuring...") : s === "measured" ? a("CycleTimer.Determined.lb", "determined") : s === "countdown" && l !== null ? a("CycleTimer.OfTime.lb", {
|
|
11744
|
-
time:
|
|
11750
|
+
time: At(l)
|
|
11745
11751
|
}) : ""
|
|
11746
11752
|
}
|
|
11747
11753
|
)
|
|
@@ -11790,7 +11796,7 @@ const Rt = (e) => {
|
|
|
11790
11796
|
fontSize: "14px",
|
|
11791
11797
|
transition: "color 0.5s ease-out"
|
|
11792
11798
|
},
|
|
11793
|
-
children: r ? o("CycleTimer.Error.lb", "Error") : i === "idle" ? "0:00" :
|
|
11799
|
+
children: r ? o("CycleTimer.Error.lb", "Error") : i === "idle" ? "0:00" : At(l)
|
|
11794
11800
|
}
|
|
11795
11801
|
)
|
|
11796
11802
|
}
|
|
@@ -11890,7 +11896,7 @@ const Rt = (e) => {
|
|
|
11890
11896
|
children: ".".repeat(m)
|
|
11891
11897
|
}
|
|
11892
11898
|
)
|
|
11893
|
-
] }) : i === "measuring" ? n ? `${
|
|
11899
|
+
] }) : i === "measuring" ? n ? `${At(l)} ${o("CycleTimer.Time.lb", { time: "" }).replace(/\s*$/, "")}` : `${At(l)} / ${o("CycleTimer.Measuring.lb", "measuring...")}` : i === "measured" ? n ? `${At(l)} ${o("CycleTimer.Time.lb", { time: "" }).replace(/\s*$/, "")}` : `${At(l)} / ${o("CycleTimer.Determined.lb", "determined")}` : i === "countdown" && c !== null ? n ? `${At(l)} ${o("CycleTimer.Time.lb", { time: "" }).replace(/\s*$/, "")}` : `${At(l)} / ${o("CycleTimer.Time.lb", { time: At(c) })}` : At(l)
|
|
11894
11900
|
}
|
|
11895
11901
|
)
|
|
11896
11902
|
]
|
|
@@ -12978,7 +12984,7 @@ const hP = (e) => {
|
|
|
12978
12984
|
const S = hP(m);
|
|
12979
12985
|
return /* @__PURE__ */ g.jsxs(pP, {
|
|
12980
12986
|
as: i,
|
|
12981
|
-
className:
|
|
12987
|
+
className: Et(S.root, o),
|
|
12982
12988
|
focusable: "false",
|
|
12983
12989
|
color: c,
|
|
12984
12990
|
"aria-hidden": d ? void 0 : !0,
|
|
@@ -13210,7 +13216,7 @@ const fP = Cr(/* @__PURE__ */ g.jsx("path", {
|
|
|
13210
13216
|
}
|
|
13211
13217
|
),
|
|
13212
13218
|
/* @__PURE__ */ g.jsx(
|
|
13213
|
-
|
|
13219
|
+
zt,
|
|
13214
13220
|
{
|
|
13215
13221
|
orientation: "vertical",
|
|
13216
13222
|
flexItem: !0,
|
|
@@ -13886,8 +13892,8 @@ function Lr(e) {
|
|
|
13886
13892
|
var t = typeof e;
|
|
13887
13893
|
return e != null && (t == "object" || t == "function");
|
|
13888
13894
|
}
|
|
13889
|
-
var ef = typeof global == "object" && global && global.Object === Object && global, TP = typeof self == "object" && self && self.Object === Object && self,
|
|
13890
|
-
return
|
|
13895
|
+
var ef = typeof global == "object" && global && global.Object === Object && global, TP = typeof self == "object" && self && self.Object === Object && self, qt = ef || TP || Function("return this")(), ki = function() {
|
|
13896
|
+
return qt.Date.now();
|
|
13891
13897
|
}, RP = /\s/;
|
|
13892
13898
|
function AP(e) {
|
|
13893
13899
|
for (var t = e.length; t-- && RP.test(e.charAt(t)); )
|
|
@@ -13898,7 +13904,7 @@ var _P = /^\s+/;
|
|
|
13898
13904
|
function IP(e) {
|
|
13899
13905
|
return e && e.slice(0, AP(e) + 1).replace(_P, "");
|
|
13900
13906
|
}
|
|
13901
|
-
var Sr =
|
|
13907
|
+
var Sr = qt.Symbol, tf = Object.prototype, EP = tf.hasOwnProperty, VP = tf.toString, ra = Sr ? Sr.toStringTag : void 0;
|
|
13902
13908
|
function MP(e) {
|
|
13903
13909
|
var t = EP.call(e, ra), r = e[ra];
|
|
13904
13910
|
try {
|
|
@@ -15339,11 +15345,11 @@ function bf(e, t) {
|
|
|
15339
15345
|
const { toString: k_ } = Object.prototype, { getPrototypeOf: Vc } = Object, Js = /* @__PURE__ */ ((e) => (t) => {
|
|
15340
15346
|
const r = k_.call(t);
|
|
15341
15347
|
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
15342
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
15348
|
+
})(/* @__PURE__ */ Object.create(null)), Mt = (e) => (e = e.toLowerCase(), (t) => Js(t) === e), Ys = (e) => (t) => typeof t === e, { isArray: zn } = Array, Ma = Ys("undefined");
|
|
15343
15349
|
function $_(e) {
|
|
15344
15350
|
return e !== null && !Ma(e) && e.constructor !== null && !Ma(e.constructor) && bt(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
15345
15351
|
}
|
|
15346
|
-
const xf =
|
|
15352
|
+
const xf = Mt("ArrayBuffer");
|
|
15347
15353
|
function U_(e) {
|
|
15348
15354
|
let t;
|
|
15349
15355
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && xf(e.buffer), t;
|
|
@@ -15353,11 +15359,11 @@ const D_ = Ys("string"), bt = Ys("function"), vf = Ys("number"), Ks = (e) => e !
|
|
|
15353
15359
|
return !1;
|
|
15354
15360
|
const t = Vc(e);
|
|
15355
15361
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
15356
|
-
}, F_ =
|
|
15362
|
+
}, F_ = Mt("Date"), B_ = Mt("File"), N_ = Mt("Blob"), z_ = Mt("FileList"), G_ = (e) => Ks(e) && bt(e.pipe), H_ = (e) => {
|
|
15357
15363
|
let t;
|
|
15358
15364
|
return e && (typeof FormData == "function" && e instanceof FormData || bt(e.append) && ((t = Js(e)) === "formdata" || // detect form-data instance
|
|
15359
15365
|
t === "object" && bt(e.toString) && e.toString() === "[object FormData]"));
|
|
15360
|
-
}, q_ =
|
|
15366
|
+
}, q_ = Mt("URLSearchParams"), [W_, J_, Y_, K_] = ["ReadableStream", "Request", "Response", "Headers"].map(Mt), Q_ = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
15361
15367
|
function Ha(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
15362
15368
|
if (e === null || typeof e > "u")
|
|
15363
15369
|
return;
|
|
@@ -15433,12 +15439,12 @@ const X_ = (e, t, r, { allOwnKeys: n } = {}) => (Ha(t, (a, o) => {
|
|
|
15433
15439
|
for (; (r = e.exec(t)) !== null; )
|
|
15434
15440
|
n.push(r);
|
|
15435
15441
|
return n;
|
|
15436
|
-
}, iI =
|
|
15442
|
+
}, iI = Mt("HTMLFormElement"), lI = (e) => e.toLowerCase().replace(
|
|
15437
15443
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
15438
15444
|
function(r, n, a) {
|
|
15439
15445
|
return n.toUpperCase() + a;
|
|
15440
15446
|
}
|
|
15441
|
-
), sh = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), cI =
|
|
15447
|
+
), sh = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), cI = Mt("RegExp"), Of = (e, t) => {
|
|
15442
15448
|
const r = Object.getOwnPropertyDescriptors(e), n = {};
|
|
15443
15449
|
Ha(r, (a, o) => {
|
|
15444
15450
|
let s;
|
|
@@ -15488,7 +15494,7 @@ const fI = (e) => {
|
|
|
15488
15494
|
return n;
|
|
15489
15495
|
};
|
|
15490
15496
|
return r(e, 0);
|
|
15491
|
-
}, gI =
|
|
15497
|
+
}, gI = Mt("AsyncFunction"), yI = (e) => e && (Ks(e) || bt(e)) && bt(e.then) && bt(e.catch), Cf = ((e, t) => e ? setImmediate : t ? ((r, n) => (Mr.addEventListener("message", ({ source: a, data: o }) => {
|
|
15492
15498
|
a === Mr && o === r && n.length && n.shift()();
|
|
15493
15499
|
}, !1), (a) => {
|
|
15494
15500
|
n.push(a), Mr.postMessage(r, "*");
|
|
@@ -15528,7 +15534,7 @@ const fI = (e) => {
|
|
|
15528
15534
|
inherits: eI,
|
|
15529
15535
|
toFlatObject: tI,
|
|
15530
15536
|
kindOf: Js,
|
|
15531
|
-
kindOfTest:
|
|
15537
|
+
kindOfTest: Mt,
|
|
15532
15538
|
endsWith: rI,
|
|
15533
15539
|
toArray: nI,
|
|
15534
15540
|
forEachEntry: oI,
|
|
@@ -16703,7 +16709,7 @@ function sE(e, t, r) {
|
|
|
16703
16709
|
const $o = {
|
|
16704
16710
|
assertOptions: sE,
|
|
16705
16711
|
validators: Zs
|
|
16706
|
-
},
|
|
16712
|
+
}, $t = $o.validators;
|
|
16707
16713
|
let kr = class {
|
|
16708
16714
|
constructor(t) {
|
|
16709
16715
|
this.defaults = t, this.interceptors = {
|
|
@@ -16740,17 +16746,17 @@ let kr = class {
|
|
|
16740
16746
|
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Br(this.defaults, r);
|
|
16741
16747
|
const { transitional: n, paramsSerializer: a, headers: o } = r;
|
|
16742
16748
|
n !== void 0 && $o.assertOptions(n, {
|
|
16743
|
-
silentJSONParsing:
|
|
16744
|
-
forcedJSONParsing:
|
|
16745
|
-
clarifyTimeoutError:
|
|
16749
|
+
silentJSONParsing: $t.transitional($t.boolean),
|
|
16750
|
+
forcedJSONParsing: $t.transitional($t.boolean),
|
|
16751
|
+
clarifyTimeoutError: $t.transitional($t.boolean)
|
|
16746
16752
|
}, !1), a != null && (G.isFunction(a) ? r.paramsSerializer = {
|
|
16747
16753
|
serialize: a
|
|
16748
16754
|
} : $o.assertOptions(a, {
|
|
16749
|
-
encode:
|
|
16750
|
-
serialize:
|
|
16755
|
+
encode: $t.function,
|
|
16756
|
+
serialize: $t.function
|
|
16751
16757
|
}, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), $o.assertOptions(r, {
|
|
16752
|
-
baseUrl:
|
|
16753
|
-
withXsrfToken:
|
|
16758
|
+
baseUrl: $t.spelling("baseURL"),
|
|
16759
|
+
withXsrfToken: $t.spelling("withXSRFToken")
|
|
16754
16760
|
}, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
16755
16761
|
let s = o && G.merge(
|
|
16756
16762
|
o.common,
|
|
@@ -17063,7 +17069,7 @@ const D = function(e, ...t) {
|
|
|
17063
17069
|
const s = { ...e.options, url: (a.defaults.baseURL ? "" : (n == null ? void 0 : n.basePath) ?? o) + e.url };
|
|
17064
17070
|
return a.request(s);
|
|
17065
17071
|
};
|
|
17066
|
-
},
|
|
17072
|
+
}, Ft = {
|
|
17067
17073
|
Abb: "abb",
|
|
17068
17074
|
Fanuc: "fanuc",
|
|
17069
17075
|
Kuka: "kuka",
|
|
@@ -21257,7 +21263,7 @@ const kE = function(e) {
|
|
|
21257
21263
|
};
|
|
21258
21264
|
}
|
|
21259
21265
|
};
|
|
21260
|
-
},
|
|
21266
|
+
}, Rt = function(e) {
|
|
21261
21267
|
const t = kE(e);
|
|
21262
21268
|
return {
|
|
21263
21269
|
/**
|
|
@@ -21424,7 +21430,7 @@ class $E extends je {
|
|
|
21424
21430
|
* @memberof MotionGroupInfosApi
|
|
21425
21431
|
*/
|
|
21426
21432
|
getActivePayload(t, r, n) {
|
|
21427
|
-
return
|
|
21433
|
+
return Rt(this.configuration).getActivePayload(t, r, n).then((a) => a(this.axios, this.basePath));
|
|
21428
21434
|
}
|
|
21429
21435
|
/**
|
|
21430
21436
|
* Get the internal selected TCP of a connected device.
|
|
@@ -21437,7 +21443,7 @@ class $E extends je {
|
|
|
21437
21443
|
* @memberof MotionGroupInfosApi
|
|
21438
21444
|
*/
|
|
21439
21445
|
getActiveTcp(t, r, n, a) {
|
|
21440
|
-
return
|
|
21446
|
+
return Rt(this.configuration).getActiveTcp(t, r, n, a).then((o) => o(this.axios, this.basePath));
|
|
21441
21447
|
}
|
|
21442
21448
|
/**
|
|
21443
21449
|
* Returns the current state of the selected motion group including the current joint position, velocity, pose, and more.
|
|
@@ -21451,7 +21457,7 @@ class $E extends je {
|
|
|
21451
21457
|
* @memberof MotionGroupInfosApi
|
|
21452
21458
|
*/
|
|
21453
21459
|
getCurrentMotionGroupState(t, r, n, a, o) {
|
|
21454
|
-
return
|
|
21460
|
+
return Rt(this.configuration).getCurrentMotionGroupState(t, r, n, a, o).then((s) => s(this.axios, this.basePath));
|
|
21455
21461
|
}
|
|
21456
21462
|
/**
|
|
21457
21463
|
* Shows the options the motion group offers in regard to the information service. Some motion groups may not provide all information services, e.g. some manufacturers don\'t have a blending zone concept.
|
|
@@ -21463,7 +21469,7 @@ class $E extends je {
|
|
|
21463
21469
|
* @memberof MotionGroupInfosApi
|
|
21464
21470
|
*/
|
|
21465
21471
|
getInfoCapabilities(t, r, n) {
|
|
21466
|
-
return
|
|
21472
|
+
return Rt(this.configuration).getInfoCapabilities(t, r, n).then((a) => a(this.axios, this.basePath));
|
|
21467
21473
|
}
|
|
21468
21474
|
/**
|
|
21469
21475
|
* Get static properties of the motion group. Those properties are used internally for motion group plannning. Only supported motion groups will return a valid response.
|
|
@@ -21475,7 +21481,7 @@ class $E extends je {
|
|
|
21475
21481
|
* @memberof MotionGroupInfosApi
|
|
21476
21482
|
*/
|
|
21477
21483
|
getMotionGroupSpecification(t, r, n) {
|
|
21478
|
-
return
|
|
21484
|
+
return Rt(this.configuration).getMotionGroupSpecification(t, r, n).then((a) => a(this.axios, this.basePath));
|
|
21479
21485
|
}
|
|
21480
21486
|
/**
|
|
21481
21487
|
* Returns the configured mounting pose offset in relation to world coordinate system and the motion groups coordinate system.
|
|
@@ -21487,7 +21493,7 @@ class $E extends je {
|
|
|
21487
21493
|
* @memberof MotionGroupInfosApi
|
|
21488
21494
|
*/
|
|
21489
21495
|
getMounting(t, r, n) {
|
|
21490
|
-
return
|
|
21496
|
+
return Rt(this.configuration).getMounting(t, r, n).then((a) => a(this.axios, this.basePath));
|
|
21491
21497
|
}
|
|
21492
21498
|
/**
|
|
21493
21499
|
* <!-- theme: danger --> > **Experimental** Get the complete configuration which can be passed to the planner-optimizer (incl. motion group description, limits etc.)
|
|
@@ -21500,7 +21506,7 @@ class $E extends je {
|
|
|
21500
21506
|
* @memberof MotionGroupInfosApi
|
|
21501
21507
|
*/
|
|
21502
21508
|
getOptimizerConfiguration(t, r, n, a) {
|
|
21503
|
-
return
|
|
21509
|
+
return Rt(this.configuration).getOptimizerConfiguration(t, r, n, a).then((o) => o(this.axios, this.basePath));
|
|
21504
21510
|
}
|
|
21505
21511
|
/**
|
|
21506
21512
|
* Get the safety setup and limitations of a connected device, which restricts the device. Safety settings are configured globally on the robot controller and are valid for all the connected devices (like robots).
|
|
@@ -21512,7 +21518,7 @@ class $E extends je {
|
|
|
21512
21518
|
* @memberof MotionGroupInfosApi
|
|
21513
21519
|
*/
|
|
21514
21520
|
getSafetySetup(t, r, n) {
|
|
21515
|
-
return
|
|
21521
|
+
return Rt(this.configuration).getSafetySetup(t, r, n).then((a) => a(this.axios, this.basePath));
|
|
21516
21522
|
}
|
|
21517
21523
|
/**
|
|
21518
21524
|
* Lists all defined payloads of the motion group. The payload is defined as the sum of all weights attached to the flange/endpoint of the motion group, e.g. sum of the tools and workpiece weight that are currently attached.
|
|
@@ -21524,7 +21530,7 @@ class $E extends je {
|
|
|
21524
21530
|
* @memberof MotionGroupInfosApi
|
|
21525
21531
|
*/
|
|
21526
21532
|
listPayloads(t, r, n) {
|
|
21527
|
-
return
|
|
21533
|
+
return Rt(this.configuration).listPayloads(t, r, n).then((a) => a(this.axios, this.basePath));
|
|
21528
21534
|
}
|
|
21529
21535
|
/**
|
|
21530
21536
|
* Get all internal configured TCPs of a connected device.
|
|
@@ -21537,7 +21543,7 @@ class $E extends je {
|
|
|
21537
21543
|
* @memberof MotionGroupInfosApi
|
|
21538
21544
|
*/
|
|
21539
21545
|
listTcps(t, r, n, a) {
|
|
21540
|
-
return
|
|
21546
|
+
return Rt(this.configuration).listTcps(t, r, n, a).then((o) => o(this.axios, this.basePath));
|
|
21541
21547
|
}
|
|
21542
21548
|
/**
|
|
21543
21549
|
* Receive updates of the motion group state. The stream will be closed from the server if the controller is disconnected.
|
|
@@ -21552,7 +21558,7 @@ class $E extends je {
|
|
|
21552
21558
|
* @memberof MotionGroupInfosApi
|
|
21553
21559
|
*/
|
|
21554
21560
|
streamMotionGroupState(t, r, n, a, o, s) {
|
|
21555
|
-
return
|
|
21561
|
+
return Rt(this.configuration).streamMotionGroupState(t, r, n, a, o, s).then((i) => i(this.axios, this.basePath));
|
|
21556
21562
|
}
|
|
21557
21563
|
}
|
|
21558
21564
|
const UE = function(e) {
|
|
@@ -25099,7 +25105,7 @@ class sV extends je {
|
|
|
25099
25105
|
return hr(this.configuration).setVirtualRobotMounting(t, r, n, a, o).then((s) => s(this.axios, this.basePath));
|
|
25100
25106
|
}
|
|
25101
25107
|
}
|
|
25102
|
-
function
|
|
25108
|
+
function Yt(e, t, r) {
|
|
25103
25109
|
return Math.max(t, Math.min(r, e));
|
|
25104
25110
|
}
|
|
25105
25111
|
class iV {
|
|
@@ -25334,7 +25340,7 @@ class iV {
|
|
|
25334
25340
|
* @return {number} The angle in radians.
|
|
25335
25341
|
*/
|
|
25336
25342
|
angleTo(t) {
|
|
25337
|
-
return 2 * Math.acos(Math.abs(
|
|
25343
|
+
return 2 * Math.acos(Math.abs(Yt(this.dot(t), -1, 1)));
|
|
25338
25344
|
}
|
|
25339
25345
|
/**
|
|
25340
25346
|
* Rotates this quaternion by a given angular step to the given quaternion.
|
|
@@ -25902,7 +25908,7 @@ class Cn {
|
|
|
25902
25908
|
* @return {Vector3} A reference to this vector.
|
|
25903
25909
|
*/
|
|
25904
25910
|
clamp(t, r) {
|
|
25905
|
-
return this.x =
|
|
25911
|
+
return this.x = Yt(this.x, t.x, r.x), this.y = Yt(this.y, t.y, r.y), this.z = Yt(this.z, t.z, r.z), this;
|
|
25906
25912
|
}
|
|
25907
25913
|
/**
|
|
25908
25914
|
* If this vector's x, y or z values are greater than the max value, they are
|
|
@@ -25915,7 +25921,7 @@ class Cn {
|
|
|
25915
25921
|
* @return {Vector3} A reference to this vector.
|
|
25916
25922
|
*/
|
|
25917
25923
|
clampScalar(t, r) {
|
|
25918
|
-
return this.x =
|
|
25924
|
+
return this.x = Yt(this.x, t, r), this.y = Yt(this.y, t, r), this.z = Yt(this.z, t, r), this;
|
|
25919
25925
|
}
|
|
25920
25926
|
/**
|
|
25921
25927
|
* If this vector's length is greater than the max value, it is replaced by
|
|
@@ -25929,7 +25935,7 @@ class Cn {
|
|
|
25929
25935
|
*/
|
|
25930
25936
|
clampLength(t, r) {
|
|
25931
25937
|
const n = this.length();
|
|
25932
|
-
return this.divideScalar(n || 1).multiplyScalar(
|
|
25938
|
+
return this.divideScalar(n || 1).multiplyScalar(Yt(n, t, r));
|
|
25933
25939
|
}
|
|
25934
25940
|
/**
|
|
25935
25941
|
* The components of this vector are rounded down to the nearest integer value.
|
|
@@ -26114,7 +26120,7 @@ class Cn {
|
|
|
26114
26120
|
const r = Math.sqrt(this.lengthSq() * t.lengthSq());
|
|
26115
26121
|
if (r === 0) return Math.PI / 2;
|
|
26116
26122
|
const n = this.dot(t) / r;
|
|
26117
|
-
return Math.acos(
|
|
26123
|
+
return Math.acos(Yt(n, -1, 1));
|
|
26118
26124
|
}
|
|
26119
26125
|
/**
|
|
26120
26126
|
* Computes the distance from the given vector to this instance.
|
|
@@ -26338,10 +26344,10 @@ function Wi() {
|
|
|
26338
26344
|
var e;
|
|
26339
26345
|
return typeof arguments[0] == "object" ? e = arguments[0] : e = [].slice.call(arguments), lV(e);
|
|
26340
26346
|
}
|
|
26341
|
-
var
|
|
26347
|
+
var Ut = {}, Sh;
|
|
26342
26348
|
function cV() {
|
|
26343
|
-
if (Sh) return
|
|
26344
|
-
Sh = 1, Object.defineProperty(
|
|
26349
|
+
if (Sh) return Ut;
|
|
26350
|
+
Sh = 1, Object.defineProperty(Ut, "__esModule", { value: !0 }), Ut.TokenData = void 0, Ut.parse = d, Ut.compile = h, Ut.match = m, Ut.pathToRegexp = y, Ut.stringify = C;
|
|
26345
26351
|
const e = "/", t = (T) => T, r = /^[$_\p{ID_Start}]$/u, n = /^[$\u200c\u200d\p{ID_Continue}]$/u, a = "https://git.new/pathToRegexpError", o = {
|
|
26346
26352
|
// Groups.
|
|
26347
26353
|
"{": "{",
|
|
@@ -26437,7 +26443,7 @@ function cV() {
|
|
|
26437
26443
|
this.tokens = I;
|
|
26438
26444
|
}
|
|
26439
26445
|
}
|
|
26440
|
-
|
|
26446
|
+
Ut.TokenData = u;
|
|
26441
26447
|
function d(T, I = {}) {
|
|
26442
26448
|
const { encodePath: E = t } = I, b = new c(l(T));
|
|
26443
26449
|
function A(V) {
|
|
@@ -26606,7 +26612,7 @@ function cV() {
|
|
|
26606
26612
|
function O(T) {
|
|
26607
26613
|
return (T == null ? void 0 : T.type) !== "text" ? !0 : !n.test(T.value[0]);
|
|
26608
26614
|
}
|
|
26609
|
-
return
|
|
26615
|
+
return Ut;
|
|
26610
26616
|
}
|
|
26611
26617
|
var uV = cV();
|
|
26612
26618
|
function Nf(e, t, r) {
|
|
@@ -28800,7 +28806,7 @@ function Yf(e) {
|
|
|
28800
28806
|
var t = Yr(e);
|
|
28801
28807
|
return t == zV || t == GV || t == NV || t == HV;
|
|
28802
28808
|
}
|
|
28803
|
-
var Ji =
|
|
28809
|
+
var Ji = qt["__core-js_shared__"], Ch = function() {
|
|
28804
28810
|
var e = /[^.]+$/.exec(Ji && Ji.keys && Ji.keys.IE_PROTO || "");
|
|
28805
28811
|
return e ? "Symbol(src)_1." + e : "";
|
|
28806
28812
|
}();
|
|
@@ -28837,7 +28843,7 @@ function Xr(e, t) {
|
|
|
28837
28843
|
var r = nM(e, t);
|
|
28838
28844
|
return rM(r) ? r : void 0;
|
|
28839
28845
|
}
|
|
28840
|
-
var ja = Xr(
|
|
28846
|
+
var ja = Xr(qt, "Map"), ka = Xr(Object, "create");
|
|
28841
28847
|
function aM() {
|
|
28842
28848
|
this.__data__ = ka ? ka(null) : {}, this.size = 0;
|
|
28843
28849
|
}
|
|
@@ -28994,7 +29000,7 @@ function Kf(e, t, r, n, a, o) {
|
|
|
28994
29000
|
}
|
|
28995
29001
|
return o.delete(e), o.delete(t), h;
|
|
28996
29002
|
}
|
|
28997
|
-
var Ph =
|
|
29003
|
+
var Ph = qt.Uint8Array;
|
|
28998
29004
|
function IM(e) {
|
|
28999
29005
|
var t = -1, r = Array(e.size);
|
|
29000
29006
|
return e.forEach(function(n, a) {
|
|
@@ -29048,10 +29054,10 @@ function qM(e, t) {
|
|
|
29048
29054
|
e[a + r] = t[r];
|
|
29049
29055
|
return e;
|
|
29050
29056
|
}
|
|
29051
|
-
var
|
|
29057
|
+
var Ht = Array.isArray;
|
|
29052
29058
|
function WM(e, t, r) {
|
|
29053
29059
|
var n = t(e);
|
|
29054
|
-
return
|
|
29060
|
+
return Ht(e) ? n : qM(n, r(e));
|
|
29055
29061
|
}
|
|
29056
29062
|
function JM(e, t) {
|
|
29057
29063
|
for (var r = -1, n = e == null ? 0 : e.length, a = 0, o = []; ++r < n; ) {
|
|
@@ -29085,7 +29091,7 @@ var Qf = Object.prototype, t5 = Qf.hasOwnProperty, r5 = Qf.propertyIsEnumerable,
|
|
|
29085
29091
|
function n5() {
|
|
29086
29092
|
return !1;
|
|
29087
29093
|
}
|
|
29088
|
-
var Zf = typeof exports == "object" && exports && !exports.nodeType && exports, _h = Zf && typeof module == "object" && module && !module.nodeType && module, a5 = _h && _h.exports === Zf, Ih = a5 ?
|
|
29094
|
+
var Zf = typeof exports == "object" && exports && !exports.nodeType && exports, _h = Zf && typeof module == "object" && module && !module.nodeType && module, a5 = _h && _h.exports === Zf, Ih = a5 ? qt.Buffer : void 0, o5 = Ih ? Ih.isBuffer : void 0, Il = o5 || n5, s5 = 9007199254740991, i5 = /^(?:0|[1-9]\d*)$/;
|
|
29089
29095
|
function eg(e, t) {
|
|
29090
29096
|
var r = typeof e;
|
|
29091
29097
|
return t = t ?? s5, !!t && (r == "number" || r != "symbol" && i5.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
@@ -29113,7 +29119,7 @@ var tg = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
29113
29119
|
}
|
|
29114
29120
|
}(), Vh = Eh && Eh.isTypedArray, rg = Vh ? j5(Vh) : M5, $5 = Object.prototype, U5 = $5.hasOwnProperty;
|
|
29115
29121
|
function D5(e, t) {
|
|
29116
|
-
var r =
|
|
29122
|
+
var r = Ht(e), n = !r && Xf(e), a = !r && !n && Il(e), o = !r && !n && !a && rg(e), s = r || n || a || o, i = s ? ZM(e.length, String) : [], l = i.length;
|
|
29117
29123
|
for (var c in e)
|
|
29118
29124
|
U5.call(e, c) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
29119
29125
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -29182,7 +29188,7 @@ function Y5(e, t, r, n, a, o) {
|
|
|
29182
29188
|
}
|
|
29183
29189
|
return o.delete(e), o.delete(t), m;
|
|
29184
29190
|
}
|
|
29185
|
-
var El = Xr(
|
|
29191
|
+
var El = Xr(qt, "DataView"), Vl = Xr(qt, "Promise"), Ml = Xr(qt, "Set"), jl = Xr(qt, "WeakMap"), jh = "[object Map]", K5 = "[object Object]", kh = "[object Promise]", $h = "[object Set]", Uh = "[object WeakMap]", Dh = "[object DataView]", Q5 = Qr(El), X5 = Qr(ja), Z5 = Qr(Vl), e3 = Qr(Ml), t3 = Qr(jl), mr = Yr;
|
|
29186
29192
|
(El && mr(new El(new ArrayBuffer(1))) != Dh || ja && mr(new ja()) != jh || Vl && mr(Vl.resolve()) != kh || Ml && mr(new Ml()) != $h || jl && mr(new jl()) != Uh) && (mr = function(e) {
|
|
29187
29193
|
var t = Yr(e), r = t == K5 ? e.constructor : void 0, n = r ? Qr(r) : "";
|
|
29188
29194
|
if (n)
|
|
@@ -29202,7 +29208,7 @@ var El = Xr(Ht, "DataView"), Vl = Xr(Ht, "Promise"), Ml = Xr(Ht, "Set"), jl = Xr
|
|
|
29202
29208
|
});
|
|
29203
29209
|
var r3 = 1, Lh = "[object Arguments]", Fh = "[object Array]", So = "[object Object]", n3 = Object.prototype, Bh = n3.hasOwnProperty;
|
|
29204
29210
|
function a3(e, t, r, n, a, o) {
|
|
29205
|
-
var s =
|
|
29211
|
+
var s = Ht(e), i = Ht(t), l = s ? Fh : mr(e), c = i ? Fh : mr(t);
|
|
29206
29212
|
l = l == Lh ? So : l, c = c == Lh ? So : c;
|
|
29207
29213
|
var u = l == So, d = c == So, h = l == c;
|
|
29208
29214
|
if (h && Il(e)) {
|
|
@@ -29381,7 +29387,7 @@ function x3(e) {
|
|
|
29381
29387
|
}
|
|
29382
29388
|
var v3 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, S3 = /^\w*$/;
|
|
29383
29389
|
function Uc(e, t) {
|
|
29384
|
-
if (
|
|
29390
|
+
if (Ht(e))
|
|
29385
29391
|
return !1;
|
|
29386
29392
|
var r = typeof e;
|
|
29387
29393
|
return r == "number" || r == "symbol" || r == "boolean" || e == null || Gs(e) ? !0 : S3.test(e) || !v3.test(e) || t != null && e in Object(t);
|
|
@@ -29422,7 +29428,7 @@ var zh = Sr ? Sr.prototype : void 0, Gh = zh ? zh.toString : void 0;
|
|
|
29422
29428
|
function ig(e) {
|
|
29423
29429
|
if (typeof e == "string")
|
|
29424
29430
|
return e;
|
|
29425
|
-
if (
|
|
29431
|
+
if (Ht(e))
|
|
29426
29432
|
return A3(e, ig) + "";
|
|
29427
29433
|
if (Gs(e))
|
|
29428
29434
|
return Gh ? Gh.call(e) : "";
|
|
@@ -29433,7 +29439,7 @@ function lg(e) {
|
|
|
29433
29439
|
return e == null ? "" : ig(e);
|
|
29434
29440
|
}
|
|
29435
29441
|
function cg(e, t) {
|
|
29436
|
-
return
|
|
29442
|
+
return Ht(e) ? e : Uc(e, t) ? [e] : R3(lg(e));
|
|
29437
29443
|
}
|
|
29438
29444
|
function ni(e) {
|
|
29439
29445
|
if (typeof e == "string" || Gs(e))
|
|
@@ -29462,7 +29468,7 @@ function E3(e, t, r) {
|
|
|
29462
29468
|
break;
|
|
29463
29469
|
e = e[s];
|
|
29464
29470
|
}
|
|
29465
|
-
return o || ++n != a ? o : (a = e == null ? 0 : e.length, !!a && kc(a) && eg(s, a) && (
|
|
29471
|
+
return o || ++n != a ? o : (a = e == null ? 0 : e.length, !!a && kc(a) && eg(s, a) && (Ht(e) || Xf(e)));
|
|
29466
29472
|
}
|
|
29467
29473
|
function V3(e, t) {
|
|
29468
29474
|
return e != null && E3(e, t, I3);
|
|
@@ -29491,11 +29497,11 @@ function L3(e) {
|
|
|
29491
29497
|
return Uc(e) ? U3(ni(e)) : D3(e);
|
|
29492
29498
|
}
|
|
29493
29499
|
function F3(e) {
|
|
29494
|
-
return typeof e == "function" ? e : e == null ? $3 : typeof e == "object" ?
|
|
29500
|
+
return typeof e == "function" ? e : e == null ? $3 : typeof e == "object" ? Ht(e) ? k3(e[0], e[1]) : x3(e) : L3(e);
|
|
29495
29501
|
}
|
|
29496
29502
|
function B3(e, t) {
|
|
29497
29503
|
return function(r, n) {
|
|
29498
|
-
var a =
|
|
29504
|
+
var a = Ht(r) ? l3 : m3, o = {};
|
|
29499
29505
|
return a(r, e, F3(n), o);
|
|
29500
29506
|
};
|
|
29501
29507
|
}
|
|
@@ -29876,7 +29882,7 @@ function K3(e) {
|
|
|
29876
29882
|
className: o
|
|
29877
29883
|
} = e;
|
|
29878
29884
|
if (!t) {
|
|
29879
|
-
const p =
|
|
29885
|
+
const p = Et(r == null ? void 0 : r.className, o, a == null ? void 0 : a.className, n == null ? void 0 : n.className), f = {
|
|
29880
29886
|
...r == null ? void 0 : r.style,
|
|
29881
29887
|
...a == null ? void 0 : a.style,
|
|
29882
29888
|
...n == null ? void 0 : n.style
|
|
@@ -29893,7 +29899,7 @@ function K3(e) {
|
|
|
29893
29899
|
const s = Uo({
|
|
29894
29900
|
...a,
|
|
29895
29901
|
...n
|
|
29896
|
-
}), i = qh(n), l = qh(a), c = t(s), u =
|
|
29902
|
+
}), i = qh(n), l = qh(a), c = t(s), u = Et(c == null ? void 0 : c.className, r == null ? void 0 : r.className, o, a == null ? void 0 : a.className, n == null ? void 0 : n.className), d = {
|
|
29897
29903
|
...c == null ? void 0 : c.style,
|
|
29898
29904
|
...r == null ? void 0 : r.style,
|
|
29899
29905
|
...a == null ? void 0 : a.style,
|
|
@@ -30169,7 +30175,7 @@ function sj(e) {
|
|
|
30169
30175
|
}
|
|
30170
30176
|
(oe = Y == null ? void 0 : Y.onKeyDown) == null || oe.call(Y, Z);
|
|
30171
30177
|
};
|
|
30172
|
-
|
|
30178
|
+
Gt(() => {
|
|
30173
30179
|
var Y;
|
|
30174
30180
|
n && Q.current.contains(document.activeElement) && ((Y = document.activeElement) == null || Y.blur());
|
|
30175
30181
|
}, [n]), n && C !== -1 && P(-1), n && ie !== -1 && q(-1);
|
|
@@ -30421,14 +30427,14 @@ function Fc(e = []) {
|
|
|
30421
30427
|
function uj(e) {
|
|
30422
30428
|
return jn("MuiSlider", e);
|
|
30423
30429
|
}
|
|
30424
|
-
const
|
|
30430
|
+
const Pt = Fl("MuiSlider", ["root", "active", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "disabled", "dragging", "focusVisible", "mark", "markActive", "marked", "markLabel", "markLabelActive", "rail", "sizeSmall", "thumb", "thumbColorPrimary", "thumbColorSecondary", "thumbColorError", "thumbColorSuccess", "thumbColorInfo", "thumbColorWarning", "track", "trackInverted", "trackFalse", "thumbSizeSmall", "valueLabel", "valueLabelOpen", "valueLabelCircle", "valueLabelLabel", "vertical"]), dj = (e) => {
|
|
30425
30431
|
const {
|
|
30426
30432
|
open: t
|
|
30427
30433
|
} = e;
|
|
30428
30434
|
return {
|
|
30429
|
-
offset:
|
|
30430
|
-
circle:
|
|
30431
|
-
label:
|
|
30435
|
+
offset: Et(t && Pt.valueLabelOpen),
|
|
30436
|
+
circle: Pt.valueLabelCircle,
|
|
30437
|
+
label: Pt.valueLabelLabel
|
|
30432
30438
|
};
|
|
30433
30439
|
};
|
|
30434
30440
|
function hg(e) {
|
|
@@ -30441,7 +30447,7 @@ function hg(e) {
|
|
|
30441
30447
|
className: t.props.className
|
|
30442
30448
|
}, /* @__PURE__ */ g.jsxs(B.Fragment, {
|
|
30443
30449
|
children: [t.props.children, /* @__PURE__ */ g.jsx("span", {
|
|
30444
|
-
className:
|
|
30450
|
+
className: Et(a.offset, r),
|
|
30445
30451
|
"aria-hidden": !0,
|
|
30446
30452
|
children: /* @__PURE__ */ g.jsx("span", {
|
|
30447
30453
|
className: a.circle,
|
|
@@ -30483,13 +30489,13 @@ const hj = xt("span", {
|
|
|
30483
30489
|
"@media print": {
|
|
30484
30490
|
colorAdjust: "exact"
|
|
30485
30491
|
},
|
|
30486
|
-
[`&.${
|
|
30492
|
+
[`&.${Pt.disabled}`]: {
|
|
30487
30493
|
pointerEvents: "none",
|
|
30488
30494
|
cursor: "default",
|
|
30489
30495
|
color: (e.vars || e).palette.grey[400]
|
|
30490
30496
|
},
|
|
30491
|
-
[`&.${
|
|
30492
|
-
[`& .${
|
|
30497
|
+
[`&.${Pt.dragging}`]: {
|
|
30498
|
+
[`& .${Pt.thumb}, & .${Pt.track}`]: {
|
|
30493
30499
|
transition: "none"
|
|
30494
30500
|
}
|
|
30495
30501
|
},
|
|
@@ -30709,7 +30715,7 @@ const hj = xt("span", {
|
|
|
30709
30715
|
left: "50%",
|
|
30710
30716
|
transform: "translate(-50%, -50%)"
|
|
30711
30717
|
},
|
|
30712
|
-
[`&.${
|
|
30718
|
+
[`&.${Pt.disabled}`]: {
|
|
30713
30719
|
"&:hover": {
|
|
30714
30720
|
boxShadow: "none"
|
|
30715
30721
|
}
|
|
@@ -30746,7 +30752,7 @@ const hj = xt("span", {
|
|
|
30746
30752
|
color: t
|
|
30747
30753
|
},
|
|
30748
30754
|
style: {
|
|
30749
|
-
[`&:hover, &.${
|
|
30755
|
+
[`&:hover, &.${Pt.focusVisible}`]: {
|
|
30750
30756
|
...e.vars ? {
|
|
30751
30757
|
boxShadow: `0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`
|
|
30752
30758
|
} : {
|
|
@@ -30756,7 +30762,7 @@ const hj = xt("span", {
|
|
|
30756
30762
|
boxShadow: "none"
|
|
30757
30763
|
}
|
|
30758
30764
|
},
|
|
30759
|
-
[`&.${
|
|
30765
|
+
[`&.${Pt.active}`]: {
|
|
30760
30766
|
...e.vars ? {
|
|
30761
30767
|
boxShadow: `0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`
|
|
30762
30768
|
} : {
|
|
@@ -30804,7 +30810,7 @@ const hj = xt("span", {
|
|
|
30804
30810
|
bottom: 0,
|
|
30805
30811
|
left: "50%"
|
|
30806
30812
|
},
|
|
30807
|
-
[`&.${
|
|
30813
|
+
[`&.${Pt.valueLabelOpen}`]: {
|
|
30808
30814
|
transform: "translateY(-100%) scale(1)"
|
|
30809
30815
|
}
|
|
30810
30816
|
}
|
|
@@ -30827,7 +30833,7 @@ const hj = xt("span", {
|
|
|
30827
30833
|
right: -8,
|
|
30828
30834
|
top: "50%"
|
|
30829
30835
|
},
|
|
30830
|
-
[`&.${
|
|
30836
|
+
[`&.${Pt.valueLabelOpen}`]: {
|
|
30831
30837
|
transform: "translateY(-50%) scale(1)"
|
|
30832
30838
|
}
|
|
30833
30839
|
}
|
|
@@ -31134,40 +31140,40 @@ const gj = xt("span", {
|
|
|
31134
31140
|
...Cg
|
|
31135
31141
|
}), W.filter((ze) => ze.value >= C && ze.value <= w).map((ze, et) => {
|
|
31136
31142
|
const li = ds(ze.value, C, w), Xa = de[be].offset(li);
|
|
31137
|
-
let
|
|
31138
|
-
return ee === !1 ?
|
|
31143
|
+
let Wt;
|
|
31144
|
+
return ee === !1 ? Wt = xe.includes(ze.value) : Wt = ee === "normal" && (ae ? ze.value >= xe[0] && ze.value <= xe[xe.length - 1] : ze.value <= xe[0]) || ee === "inverted" && (ae ? ze.value <= xe[0] || ze.value >= xe[xe.length - 1] : ze.value >= xe[0]), /* @__PURE__ */ g.jsxs(B.Fragment, {
|
|
31139
31145
|
children: [/* @__PURE__ */ g.jsx(Zr, {
|
|
31140
31146
|
"data-index": et,
|
|
31141
31147
|
...si,
|
|
31142
31148
|
...!Do(Zr) && {
|
|
31143
|
-
markActive:
|
|
31149
|
+
markActive: Wt
|
|
31144
31150
|
},
|
|
31145
31151
|
style: {
|
|
31146
31152
|
...Xa,
|
|
31147
31153
|
...si.style
|
|
31148
31154
|
},
|
|
31149
|
-
className:
|
|
31155
|
+
className: Et(si.className, Wt && Ue.markActive)
|
|
31150
31156
|
}), ze.label != null ? /* @__PURE__ */ g.jsx(Qa, {
|
|
31151
31157
|
"aria-hidden": !0,
|
|
31152
31158
|
"data-index": et,
|
|
31153
31159
|
...ii,
|
|
31154
31160
|
...!Do(Qa) && {
|
|
31155
|
-
markLabelActive:
|
|
31161
|
+
markLabelActive: Wt
|
|
31156
31162
|
},
|
|
31157
31163
|
style: {
|
|
31158
31164
|
...Xa,
|
|
31159
31165
|
...ii.style
|
|
31160
31166
|
},
|
|
31161
|
-
className:
|
|
31167
|
+
className: Et(Ue.markLabel, ii.className, Wt && Ue.markLabelActive),
|
|
31162
31168
|
children: ze.label
|
|
31163
31169
|
}) : null]
|
|
31164
31170
|
}, et);
|
|
31165
31171
|
}), xe.map((ze, et) => {
|
|
31166
|
-
const li = ds(ze, C, w), Xa = de[be].offset(li),
|
|
31172
|
+
const li = ds(ze, C, w), Xa = de[be].offset(li), Wt = X === "off" ? xj : Ka;
|
|
31167
31173
|
return (
|
|
31168
31174
|
/* TODO v6: Change component structure. It will help in avoiding the complicated React.cloneElement API added in SliderValueLabel component. Should be: Thumb -> Input, ValueLabel. Follow Joy UI's Slider structure. */
|
|
31169
|
-
/* @__PURE__ */ g.jsx(
|
|
31170
|
-
...!Do(
|
|
31175
|
+
/* @__PURE__ */ g.jsx(Wt, {
|
|
31176
|
+
...!Do(Wt) && {
|
|
31171
31177
|
valueLabelFormat: ie,
|
|
31172
31178
|
valueLabelDisplay: X,
|
|
31173
31179
|
value: typeof ie == "function" ? ie(N(ze), et) : ie,
|
|
@@ -31179,7 +31185,7 @@ const gj = xt("span", {
|
|
|
31179
31185
|
children: /* @__PURE__ */ g.jsx(Ya, {
|
|
31180
31186
|
"data-index": et,
|
|
31181
31187
|
...oi,
|
|
31182
|
-
className:
|
|
31188
|
+
className: Et(Ue.thumb, oi.className, lt === et && Ue.active, K === et && Ue.focusVisible),
|
|
31183
31189
|
style: {
|
|
31184
31190
|
...Xa,
|
|
31185
31191
|
...Ye(et),
|
|
@@ -31673,7 +31679,7 @@ const gg = Ce(
|
|
|
31673
31679
|
/* @__PURE__ */ g.jsxs($e, { gap: 2, children: [
|
|
31674
31680
|
/* @__PURE__ */ g.jsx(q3, { store: e }),
|
|
31675
31681
|
/* @__PURE__ */ g.jsx(gg, { store: e }),
|
|
31676
|
-
/* @__PURE__ */ g.jsx(
|
|
31682
|
+
/* @__PURE__ */ g.jsx(zt, {})
|
|
31677
31683
|
] }),
|
|
31678
31684
|
/* @__PURE__ */ g.jsx(
|
|
31679
31685
|
$e,
|
|
@@ -31785,7 +31791,7 @@ const gg = Ce(
|
|
|
31785
31791
|
}
|
|
31786
31792
|
),
|
|
31787
31793
|
/* @__PURE__ */ g.jsx(ag, { store: e }),
|
|
31788
|
-
t && /* @__PURE__ */ g.jsx(
|
|
31794
|
+
t && /* @__PURE__ */ g.jsx(zt, {}),
|
|
31789
31795
|
t
|
|
31790
31796
|
] });
|
|
31791
31797
|
}
|
|
@@ -31804,7 +31810,7 @@ const gg = Ce(
|
|
|
31804
31810
|
}
|
|
31805
31811
|
return /* @__PURE__ */ g.jsxs($e, { flexGrow: 1, gap: 2, sx: { padding: "18px 24px" }, children: [
|
|
31806
31812
|
/* @__PURE__ */ g.jsx(gg, { store: e }),
|
|
31807
|
-
/* @__PURE__ */ g.jsx(
|
|
31813
|
+
/* @__PURE__ */ g.jsx(zt, {}),
|
|
31808
31814
|
/* @__PURE__ */ g.jsx(
|
|
31809
31815
|
$e,
|
|
31810
31816
|
{
|
|
@@ -31856,7 +31862,7 @@ const gg = Ce(
|
|
|
31856
31862
|
}
|
|
31857
31863
|
),
|
|
31858
31864
|
/* @__PURE__ */ g.jsx(ag, { store: e }),
|
|
31859
|
-
t && /* @__PURE__ */ g.jsx(
|
|
31865
|
+
t && /* @__PURE__ */ g.jsx(zt, {}),
|
|
31860
31866
|
t
|
|
31861
31867
|
] });
|
|
31862
31868
|
}
|
|
@@ -32486,7 +32492,7 @@ function x$({
|
|
|
32486
32492
|
}
|
|
32487
32493
|
);
|
|
32488
32494
|
}
|
|
32489
|
-
var
|
|
32495
|
+
var St = /* @__PURE__ */ ((e) => (e.IDLE = "idle", e.PREPARING = "preparing", e.STARTING = "starting", e.RUNNING = "running", e.PAUSING = "pausing", e.PAUSED = "paused", e.STOPPING = "stopping", e.COMPLETED = "completed", e.FAILED = "failed", e.STOPPED = "stopped", e.ERROR = "error", e))(St || {});
|
|
32490
32496
|
const v$ = Ge(
|
|
32491
32497
|
Ce(
|
|
32492
32498
|
({
|
|
@@ -32502,8 +32508,8 @@ const v$ = Ge(
|
|
|
32502
32508
|
const l = Be(), { t: c } = Qe(), u = () => {
|
|
32503
32509
|
const p = {
|
|
32504
32510
|
run: {
|
|
32505
|
-
enabled: e === "idle" || e === "stopped" || e === "paused" || e === "error",
|
|
32506
|
-
label: c(e === "paused" ? "ProgramControl.Resume.bt" : e === "error" ? "ProgramControl.Retry.bt" : "ProgramControl.Start.bt"),
|
|
32511
|
+
enabled: e === "idle" || e === "stopped" || e === "paused" || e === "completed" || e === "failed" || e === "error",
|
|
32512
|
+
label: c(e === "paused" ? "ProgramControl.Resume.bt" : e === "error" || e === "failed" ? "ProgramControl.Retry.bt" : "ProgramControl.Start.bt"),
|
|
32507
32513
|
color: l.palette.success.main,
|
|
32508
32514
|
onClick: t
|
|
32509
32515
|
},
|
|
@@ -32515,7 +32521,7 @@ const v$ = Ge(
|
|
|
32515
32521
|
})
|
|
32516
32522
|
},
|
|
32517
32523
|
stop: {
|
|
32518
|
-
enabled: e === "starting" || e === "running" || e === "pausing" || e === "paused",
|
|
32524
|
+
enabled: e === "preparing" || e === "starting" || e === "running" || e === "pausing" || e === "paused",
|
|
32519
32525
|
label: c("ProgramControl.Stop.bt"),
|
|
32520
32526
|
color: l.palette.error.main,
|
|
32521
32527
|
onClick: n
|
|
@@ -32571,17 +32577,17 @@ const v$ = Ge(
|
|
|
32571
32577
|
yr,
|
|
32572
32578
|
{
|
|
32573
32579
|
variant: "contained",
|
|
32574
|
-
disabled: !p.enabled || e === "starting" || e === "pausing" || e === "stopping" && !o,
|
|
32580
|
+
disabled: !p.enabled || e === "preparing" || e === "starting" || e === "pausing" || e === "stopping" && !o,
|
|
32575
32581
|
onClick: p.onClick,
|
|
32576
32582
|
sx: {
|
|
32577
32583
|
width: "88px",
|
|
32578
32584
|
height: "88px",
|
|
32579
32585
|
borderRadius: "88px",
|
|
32580
32586
|
backgroundColor: p.color,
|
|
32581
|
-
opacity: p.enabled && e !== "starting" && e !== "pausing" && !(e === "stopping" && !o) ? 1 : 0.3,
|
|
32587
|
+
opacity: p.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !o) ? 1 : 0.3,
|
|
32582
32588
|
"&:hover": {
|
|
32583
32589
|
backgroundColor: p.color,
|
|
32584
|
-
opacity: p.enabled && e !== "starting" && e !== "pausing" && !(e === "stopping" && !o) ? 0.8 : 0.3
|
|
32590
|
+
opacity: p.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !o) ? 0.8 : 0.3
|
|
32585
32591
|
},
|
|
32586
32592
|
"&:disabled": {
|
|
32587
32593
|
backgroundColor: p.color,
|
|
@@ -32598,9 +32604,9 @@ const v$ = Ge(
|
|
|
32598
32604
|
{
|
|
32599
32605
|
variant: "body1",
|
|
32600
32606
|
sx: {
|
|
32601
|
-
color: p.enabled && e !== "starting" && e !== "pausing" && !(e === "stopping" && !o) ? p.color : l.palette.text.disabled,
|
|
32607
|
+
color: p.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !o) ? p.color : l.palette.text.disabled,
|
|
32602
32608
|
textAlign: "center",
|
|
32603
|
-
opacity: p.enabled && e !== "starting" && e !== "pausing" && !(e === "stopping" && !o) ? 1 : 0.3
|
|
32609
|
+
opacity: p.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !o) ? 1 : 0.3
|
|
32604
32610
|
},
|
|
32605
32611
|
children: p.label
|
|
32606
32612
|
}
|
|
@@ -32636,42 +32642,57 @@ const v$ = Ge(
|
|
|
32636
32642
|
};
|
|
32637
32643
|
if (t === "SAFETY_STATE_NORMAL")
|
|
32638
32644
|
switch (e) {
|
|
32639
|
-
case
|
|
32645
|
+
case St.PREPARING:
|
|
32646
|
+
return {
|
|
32647
|
+
label: o("ProgramStateIndicator.Preparing.lb"),
|
|
32648
|
+
color: a.palette.warning.main
|
|
32649
|
+
};
|
|
32650
|
+
case St.STARTING:
|
|
32640
32651
|
return {
|
|
32641
32652
|
label: o("ProgramStateIndicator.Starting.lb"),
|
|
32642
32653
|
color: a.palette.warning.main
|
|
32643
32654
|
};
|
|
32644
|
-
case
|
|
32655
|
+
case St.RUNNING:
|
|
32645
32656
|
return {
|
|
32646
32657
|
label: o("ProgramStateIndicator.Running.lb"),
|
|
32647
32658
|
color: a.palette.success.main
|
|
32648
32659
|
};
|
|
32649
|
-
case
|
|
32660
|
+
case St.PAUSING:
|
|
32650
32661
|
return {
|
|
32651
32662
|
label: o("ProgramStateIndicator.Pausing.lb"),
|
|
32652
32663
|
color: a.palette.warning.main
|
|
32653
32664
|
};
|
|
32654
|
-
case
|
|
32665
|
+
case St.PAUSED:
|
|
32655
32666
|
return {
|
|
32656
32667
|
label: o("ProgramStateIndicator.Paused.lb"),
|
|
32657
32668
|
color: a.palette.grey[600]
|
|
32658
32669
|
};
|
|
32659
|
-
case
|
|
32670
|
+
case St.STOPPING:
|
|
32660
32671
|
return {
|
|
32661
32672
|
label: o("ProgramStateIndicator.Stopping.lb"),
|
|
32662
32673
|
color: a.palette.warning.main
|
|
32663
32674
|
};
|
|
32664
|
-
case
|
|
32675
|
+
case St.COMPLETED:
|
|
32676
|
+
return {
|
|
32677
|
+
label: o("ProgramStateIndicator.Completed.lb"),
|
|
32678
|
+
color: a.palette.success.main
|
|
32679
|
+
};
|
|
32680
|
+
case St.FAILED:
|
|
32681
|
+
return {
|
|
32682
|
+
label: o("ProgramStateIndicator.Failed.lb"),
|
|
32683
|
+
color: a.palette.error.main
|
|
32684
|
+
};
|
|
32685
|
+
case St.STOPPED:
|
|
32665
32686
|
return {
|
|
32666
32687
|
label: o("ProgramStateIndicator.Stopped.lb"),
|
|
32667
32688
|
color: a.palette.grey[600]
|
|
32668
32689
|
};
|
|
32669
|
-
case
|
|
32690
|
+
case St.ERROR:
|
|
32670
32691
|
return {
|
|
32671
32692
|
label: o("ProgramStateIndicator.Error.lb"),
|
|
32672
32693
|
color: a.palette.error.main
|
|
32673
32694
|
};
|
|
32674
|
-
case
|
|
32695
|
+
case St.IDLE:
|
|
32675
32696
|
default:
|
|
32676
32697
|
return {
|
|
32677
32698
|
label: o("ProgramStateIndicator.Ready.lb"),
|
|
@@ -33219,7 +33240,7 @@ const S$ = Ge(
|
|
|
33219
33240
|
!N && c && /* @__PURE__ */ g.jsxs(re, { children: [
|
|
33220
33241
|
/* @__PURE__ */ g.jsx(c, {}),
|
|
33221
33242
|
/* @__PURE__ */ g.jsx(
|
|
33222
|
-
|
|
33243
|
+
zt,
|
|
33223
33244
|
{
|
|
33224
33245
|
sx: {
|
|
33225
33246
|
mt: 1,
|
|
@@ -33346,7 +33367,7 @@ const S$ = Ge(
|
|
|
33346
33367
|
!N && c && /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
33347
33368
|
/* @__PURE__ */ g.jsx(c, {}),
|
|
33348
33369
|
/* @__PURE__ */ g.jsx(
|
|
33349
|
-
|
|
33370
|
+
zt,
|
|
33350
33371
|
{
|
|
33351
33372
|
sx: {
|
|
33352
33373
|
mt: 1,
|
|
@@ -33567,7 +33588,7 @@ const Hj = Ge(
|
|
|
33567
33588
|
}
|
|
33568
33589
|
),
|
|
33569
33590
|
/* @__PURE__ */ g.jsx(
|
|
33570
|
-
|
|
33591
|
+
zt,
|
|
33571
33592
|
{
|
|
33572
33593
|
orientation: "vertical",
|
|
33573
33594
|
flexItem: !0,
|
|
@@ -33598,10 +33619,10 @@ const Hj = Ge(
|
|
|
33598
33619
|
}
|
|
33599
33620
|
)
|
|
33600
33621
|
), O$ = Array(6).fill(2 * Math.PI), ep = {
|
|
33601
|
-
[
|
|
33602
|
-
[
|
|
33603
|
-
[
|
|
33604
|
-
[
|
|
33622
|
+
[Ft.Abb]: [0, 0, 0, 0, Math.PI / 2, 0, 0],
|
|
33623
|
+
[Ft.Fanuc]: [0, 0, 0, 0, -Math.PI / 2, 0, 0],
|
|
33624
|
+
[Ft.Yaskawa]: [0, 0, 0, 0, -Math.PI / 2, 0, 0],
|
|
33625
|
+
[Ft.Kuka]: [
|
|
33605
33626
|
0,
|
|
33606
33627
|
-Math.PI / 2,
|
|
33607
33628
|
Math.PI / 2,
|
|
@@ -33610,7 +33631,7 @@ const Hj = Ge(
|
|
|
33610
33631
|
0,
|
|
33611
33632
|
0
|
|
33612
33633
|
],
|
|
33613
|
-
[
|
|
33634
|
+
[Ft.Universalrobots]: [
|
|
33614
33635
|
0,
|
|
33615
33636
|
-Math.PI / 2,
|
|
33616
33637
|
-Math.PI / 2,
|
|
@@ -33624,15 +33645,15 @@ function qj(e) {
|
|
|
33624
33645
|
const [t] = e.split("_");
|
|
33625
33646
|
switch (t) {
|
|
33626
33647
|
case "ABB":
|
|
33627
|
-
return
|
|
33648
|
+
return Ft.Abb;
|
|
33628
33649
|
case "FANUC":
|
|
33629
|
-
return
|
|
33650
|
+
return Ft.Fanuc;
|
|
33630
33651
|
case "YASKAWA":
|
|
33631
|
-
return
|
|
33652
|
+
return Ft.Yaskawa;
|
|
33632
33653
|
case "KUKA":
|
|
33633
|
-
return
|
|
33654
|
+
return Ft.Kuka;
|
|
33634
33655
|
case "UniversalRobots":
|
|
33635
|
-
return
|
|
33656
|
+
return Ft.Universalrobots;
|
|
33636
33657
|
default:
|
|
33637
33658
|
return null;
|
|
33638
33659
|
}
|
|
@@ -33649,7 +33670,7 @@ const Wj = ({
|
|
|
33649
33670
|
title: e,
|
|
33650
33671
|
titleId: t,
|
|
33651
33672
|
...r
|
|
33652
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "m13.37 9.12 1.69 1.69 2.99-2.99-3.73-3.73-.95-.95-7.66 7.66-.95.95 3.99 3.99v3.44h7.55v-3.55l-4.72-4.72 1.79-1.79Zm-.91-2.99.91-.91 2.6 2.6-.91.91-2.6-2.6Zm-2.25 10.24h3.74l-1.34-1.34-.04-.04h-2.5l-3.25-3.25 4.59-4.59.92.92L9.5 10.9l5.33 5.33v1.48H10.2v-1.35l.01.01ZM2 2v4.99h1.41V3.4h3.58V2H2ZM22.21 2h-4.98v1.41h3.59v3.58h1.4V2h-.01ZM20.81 20.65h-3.58v1.4h4.98v-4.99h-1.4v3.59ZM3.4 17.06H2v4.98h4.99v-1.4H3.4v-3.58Z" })), Kj = rt(Yj),
|
|
33673
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "m13.37 9.12 1.69 1.69 2.99-2.99-3.73-3.73-.95-.95-7.66 7.66-.95.95 3.99 3.99v3.44h7.55v-3.55l-4.72-4.72 1.79-1.79Zm-.91-2.99.91-.91 2.6 2.6-.91.91-2.6-2.6Zm-2.25 10.24h3.74l-1.34-1.34-.04-.04h-2.5l-3.25-3.25 4.59-4.59.92.92L9.5 10.9l5.33 5.33v1.48H10.2v-1.35l.01.01ZM2 2v4.99h1.41V3.4h3.58V2H2ZM22.21 2h-4.98v1.41h3.59v3.58h1.4V2h-.01ZM20.81 20.65h-3.58v1.4h4.98v-4.99h-1.4v3.59ZM3.4 17.06H2v4.98h4.99v-1.4H3.4v-3.58Z" })), Kj = rt(Yj), Bt = Ce(
|
|
33653
33674
|
({
|
|
33654
33675
|
id: e,
|
|
33655
33676
|
icon: t,
|
|
@@ -33764,7 +33785,7 @@ const Wj = ({
|
|
|
33764
33785
|
}) => {
|
|
33765
33786
|
const o = Be(), { t: s } = Qe();
|
|
33766
33787
|
return e ? /* @__PURE__ */ g.jsx(
|
|
33767
|
-
|
|
33788
|
+
Bt,
|
|
33768
33789
|
{
|
|
33769
33790
|
id: "motion-group-virtual",
|
|
33770
33791
|
icon: Kj,
|
|
@@ -33772,7 +33793,7 @@ const Wj = ({
|
|
|
33772
33793
|
name: s("SafetyBar.ControllerType.Virtual.lb"),
|
|
33773
33794
|
label: a ? null : s("SafetyBar.ControllerType.Virtual.lb"),
|
|
33774
33795
|
explanation: /* @__PURE__ */ g.jsxs(
|
|
33775
|
-
|
|
33796
|
+
Dt,
|
|
33776
33797
|
{
|
|
33777
33798
|
i18nKey: "SafetyBar.MotionGroup.Virtual.Explanation.lb",
|
|
33778
33799
|
values: {
|
|
@@ -33789,7 +33810,7 @@ const Wj = ({
|
|
|
33789
33810
|
transformOrigin: n
|
|
33790
33811
|
}
|
|
33791
33812
|
) : /* @__PURE__ */ g.jsx(
|
|
33792
|
-
|
|
33813
|
+
Bt,
|
|
33793
33814
|
{
|
|
33794
33815
|
id: "motion-group-physical",
|
|
33795
33816
|
icon: Jj,
|
|
@@ -33797,7 +33818,7 @@ const Wj = ({
|
|
|
33797
33818
|
name: s("SafetyBar.ControllerType.Physical.lb"),
|
|
33798
33819
|
label: a ? null : s("SafetyBar.ControllerType.Physical.lb"),
|
|
33799
33820
|
explanation: /* @__PURE__ */ g.jsx(
|
|
33800
|
-
|
|
33821
|
+
Dt,
|
|
33801
33822
|
{
|
|
33802
33823
|
i18nKey: "SafetyBar.MotionGroup.Physical.Explanation.lb",
|
|
33803
33824
|
values: {
|
|
@@ -33834,7 +33855,7 @@ const Wj = ({
|
|
|
33834
33855
|
switch (e) {
|
|
33835
33856
|
case "OPERATION_MODE_AUTO":
|
|
33836
33857
|
return /* @__PURE__ */ g.jsx(
|
|
33837
|
-
|
|
33858
|
+
Bt,
|
|
33838
33859
|
{
|
|
33839
33860
|
id: "operation-mode-auto",
|
|
33840
33861
|
icon: Zj,
|
|
@@ -33842,7 +33863,7 @@ const Wj = ({
|
|
|
33842
33863
|
name: a("SafetyBar.OperationMode.Automatic.ti"),
|
|
33843
33864
|
label: n ? null : a("SafetyBar.OperationMode.Automatic.ti"),
|
|
33844
33865
|
color: o.palette.text.secondary,
|
|
33845
|
-
explanation: /* @__PURE__ */ g.jsx(
|
|
33866
|
+
explanation: /* @__PURE__ */ g.jsx(Dt, { i18nKey: "SafetyBar.OperationMode.Auto.Explanation.lb", children: "The robot controller is in automatic operation mode. Automated movement without manual confirmation is possible in this mode." }),
|
|
33846
33867
|
anchorOrigin: t,
|
|
33847
33868
|
transformOrigin: r
|
|
33848
33869
|
}
|
|
@@ -33851,7 +33872,7 @@ const Wj = ({
|
|
|
33851
33872
|
case "OPERATION_MODE_MANUAL_T1":
|
|
33852
33873
|
case "OPERATION_MODE_MANUAL_T2":
|
|
33853
33874
|
return /* @__PURE__ */ g.jsx(
|
|
33854
|
-
|
|
33875
|
+
Bt,
|
|
33855
33876
|
{
|
|
33856
33877
|
id: "operation-mode-manual",
|
|
33857
33878
|
icon: nk,
|
|
@@ -33859,7 +33880,7 @@ const Wj = ({
|
|
|
33859
33880
|
title: a("SafetyBar.OperationMode.ti"),
|
|
33860
33881
|
name: a("SafetyBar.OperationMode.Manual.lb"),
|
|
33861
33882
|
label: n ? null : a("SafetyBar.OperationMode.Manual.lb"),
|
|
33862
|
-
explanation: /* @__PURE__ */ g.jsx(
|
|
33883
|
+
explanation: /* @__PURE__ */ g.jsx(Dt, { i18nKey: "SafetyBar.OperationMode.Manual.Explanation.lb", children: "The robot controller is in manual operation mode. On a physical robot, this generally indicates that an enabling switch must be held for the robot to move successfully." }),
|
|
33863
33884
|
literalValue: e,
|
|
33864
33885
|
anchorOrigin: t,
|
|
33865
33886
|
transformOrigin: r
|
|
@@ -33867,7 +33888,7 @@ const Wj = ({
|
|
|
33867
33888
|
);
|
|
33868
33889
|
default:
|
|
33869
33890
|
return /* @__PURE__ */ g.jsx(
|
|
33870
|
-
|
|
33891
|
+
Bt,
|
|
33871
33892
|
{
|
|
33872
33893
|
id: "operation-mode-error",
|
|
33873
33894
|
icon: tk,
|
|
@@ -33875,7 +33896,7 @@ const Wj = ({
|
|
|
33875
33896
|
title: a("SafetyBar.OperationMode.ti"),
|
|
33876
33897
|
name: a("SafetyBar.OperationMode.Error.lb"),
|
|
33877
33898
|
label: n ? null : a("SafetyBar.OperationMode.Error.lb"),
|
|
33878
|
-
explanation: /* @__PURE__ */ g.jsx(
|
|
33899
|
+
explanation: /* @__PURE__ */ g.jsx(Dt, { i18nKey: "SafetyBar.OperationMode.Error.Explanation.lb", children: "The robot controller has entered an unexpected operation mode. Motion group movement may not be possible." }),
|
|
33879
33900
|
literalValue: e,
|
|
33880
33901
|
anchorOrigin: t,
|
|
33881
33902
|
transformOrigin: r
|
|
@@ -33915,7 +33936,7 @@ const Wj = ({
|
|
|
33915
33936
|
// Normal state, robot can move
|
|
33916
33937
|
case "SAFETY_STATE_NORMAL":
|
|
33917
33938
|
return /* @__PURE__ */ g.jsx(
|
|
33918
|
-
|
|
33939
|
+
Bt,
|
|
33919
33940
|
{
|
|
33920
33941
|
id: "safety-state-normal",
|
|
33921
33942
|
title: a("SafetyBar.SafetyState.ti"),
|
|
@@ -33923,7 +33944,7 @@ const Wj = ({
|
|
|
33923
33944
|
label: n ? null : a("SafetyBar.SafetyState.Normal.lb"),
|
|
33924
33945
|
icon: hk,
|
|
33925
33946
|
color: o.palette.text.secondary,
|
|
33926
|
-
explanation: /* @__PURE__ */ g.jsx(
|
|
33947
|
+
explanation: /* @__PURE__ */ g.jsx(Dt, { i18nKey: "SafetyBar.SafetyState.Normal.Explanation.lb", children: "The robot controller is in a normal safety state. Movement is not prevented by this state." }),
|
|
33927
33948
|
anchorOrigin: t,
|
|
33928
33949
|
transformOrigin: r
|
|
33929
33950
|
}
|
|
@@ -33932,7 +33953,7 @@ const Wj = ({
|
|
|
33932
33953
|
case "SAFETY_STATE_DEVICE_EMERGENCY_STOP":
|
|
33933
33954
|
case "SAFETY_STATE_ROBOT_EMERGENCY_STOP":
|
|
33934
33955
|
return /* @__PURE__ */ g.jsx(
|
|
33935
|
-
|
|
33956
|
+
Bt,
|
|
33936
33957
|
{
|
|
33937
33958
|
id: "safety-state-estop",
|
|
33938
33959
|
title: a("SafetyBar.SafetyState.ti"),
|
|
@@ -33940,7 +33961,7 @@ const Wj = ({
|
|
|
33940
33961
|
label: n ? null : a("SafetyBar.SafetyState.Estop.lb"),
|
|
33941
33962
|
icon: lk,
|
|
33942
33963
|
color: o.palette.error.main,
|
|
33943
|
-
explanation: /* @__PURE__ */ g.jsx(
|
|
33964
|
+
explanation: /* @__PURE__ */ g.jsx(Dt, { i18nKey: "SafetyBar.StopState.Estop.Explanation.lb", children: "An emergency stop of the robot controller has been triggered. Movement of the robot is no longer possible until the estop is released." }),
|
|
33944
33965
|
literalValue: e,
|
|
33945
33966
|
anchorOrigin: t,
|
|
33946
33967
|
transformOrigin: r
|
|
@@ -33953,7 +33974,7 @@ const Wj = ({
|
|
|
33953
33974
|
case "SAFETY_STATE_PROTECTIVE_STOP":
|
|
33954
33975
|
case "SAFETY_STATE_STOP":
|
|
33955
33976
|
return /* @__PURE__ */ g.jsx(
|
|
33956
|
-
|
|
33977
|
+
Bt,
|
|
33957
33978
|
{
|
|
33958
33979
|
id: "safety-state-stop",
|
|
33959
33980
|
icon: mk,
|
|
@@ -33961,7 +33982,7 @@ const Wj = ({
|
|
|
33961
33982
|
name: a("SafetyBar.SafetyState.Stop.lb"),
|
|
33962
33983
|
label: n ? null : a("SafetyBar.SafetyState.Stop.lb"),
|
|
33963
33984
|
color: o.palette.warning.main,
|
|
33964
|
-
explanation: /* @__PURE__ */ g.jsx(
|
|
33985
|
+
explanation: /* @__PURE__ */ g.jsx(Dt, { i18nKey: "SafetyBar.SafetyState.Stop.Explanation.lb", children: "The robot controller has entered a stop state. Movement is no longer possible until the stop state is resolved." }),
|
|
33965
33986
|
literalValue: e,
|
|
33966
33987
|
anchorOrigin: t,
|
|
33967
33988
|
transformOrigin: r
|
|
@@ -33975,7 +33996,7 @@ const Wj = ({
|
|
|
33975
33996
|
case "SAFETY_STATE_RECOVERY":
|
|
33976
33997
|
case "SAFETY_STATE_VIOLATION":
|
|
33977
33998
|
return /* @__PURE__ */ g.jsx(
|
|
33978
|
-
|
|
33999
|
+
Bt,
|
|
33979
34000
|
{
|
|
33980
34001
|
id: "safety-state-manual-action-required",
|
|
33981
34002
|
icon: uk,
|
|
@@ -33983,7 +34004,7 @@ const Wj = ({
|
|
|
33983
34004
|
title: a("SafetyBar.SafetyState.ti"),
|
|
33984
34005
|
name: a("SafetyBar.SafetyState.ManualActionRequired.lb"),
|
|
33985
34006
|
label: n ? null : a("SafetyBar.SafetyState.ManualActionRequired.lb"),
|
|
33986
|
-
explanation: /* @__PURE__ */ g.jsx(
|
|
34007
|
+
explanation: /* @__PURE__ */ g.jsx(Dt, { i18nKey: "SafetyBar.SafetyState.ManualActionRequired.Explanation.lb", children: "The robot controller has entered a safety state requiring manual action to resolve." }),
|
|
33987
34008
|
literalValue: e,
|
|
33988
34009
|
anchorOrigin: t,
|
|
33989
34010
|
transformOrigin: r
|
|
@@ -33993,7 +34014,7 @@ const Wj = ({
|
|
|
33993
34014
|
case "SAFETY_STATE_UNKNOWN":
|
|
33994
34015
|
case "SAFETY_STATE_FAULT":
|
|
33995
34016
|
return /* @__PURE__ */ g.jsx(
|
|
33996
|
-
|
|
34017
|
+
Bt,
|
|
33997
34018
|
{
|
|
33998
34019
|
id: "safety-state-error",
|
|
33999
34020
|
icon: sk,
|
|
@@ -34001,7 +34022,7 @@ const Wj = ({
|
|
|
34001
34022
|
title: a("SafetyBar.SafetyState.ti"),
|
|
34002
34023
|
name: a("SafetyBar.SafetyState.Error.lb"),
|
|
34003
34024
|
label: n ? null : a("SafetyBar.SafetyState.Error.lb"),
|
|
34004
|
-
explanation: /* @__PURE__ */ g.jsx(
|
|
34025
|
+
explanation: /* @__PURE__ */ g.jsx(Dt, { i18nKey: "SafetyBar.SafetyState.Error.Explanation.lb", children: "The robot controller has entered an unexpected safety state." }),
|
|
34005
34026
|
literalValue: e,
|
|
34006
34027
|
anchorOrigin: t,
|
|
34007
34028
|
transformOrigin: r
|
|
@@ -34040,7 +34061,7 @@ const Wj = ({
|
|
|
34040
34061
|
compact: s
|
|
34041
34062
|
}
|
|
34042
34063
|
),
|
|
34043
|
-
/* @__PURE__ */ g.jsx(
|
|
34064
|
+
/* @__PURE__ */ g.jsx(zt, { orientation: "vertical", flexItem: !0 }),
|
|
34044
34065
|
/* @__PURE__ */ g.jsx(
|
|
34045
34066
|
ak,
|
|
34046
34067
|
{
|
|
@@ -34050,7 +34071,7 @@ const Wj = ({
|
|
|
34050
34071
|
compact: s
|
|
34051
34072
|
}
|
|
34052
34073
|
),
|
|
34053
|
-
/* @__PURE__ */ g.jsx(
|
|
34074
|
+
/* @__PURE__ */ g.jsx(zt, { orientation: "vertical", flexItem: !0 }),
|
|
34054
34075
|
/* @__PURE__ */ g.jsx(
|
|
34055
34076
|
Qj,
|
|
34056
34077
|
{
|
|
@@ -34732,7 +34753,7 @@ export {
|
|
|
34732
34753
|
p$ as PoseJointValues,
|
|
34733
34754
|
Qc as PresetEnvironment,
|
|
34734
34755
|
v$ as ProgramControl,
|
|
34735
|
-
|
|
34756
|
+
St as ProgramState,
|
|
34736
34757
|
Xh as ProgramStateIndicator,
|
|
34737
34758
|
Bj as Robot,
|
|
34738
34759
|
S$ as RobotCard,
|