@wandelbots/wandelbots-js-react-components 1.17.9 → 1.18.0

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/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as $ from "react";
2
2
  import ki, { useState as ea, useEffect as Gt, lazy as zu, useRef as kt, Suspense as Li, useCallback as Gu, forwardRef as Yt } from "react";
3
3
  import { Stack as oe, CircularProgress as Wu, useTheme as wo, capitalize as Ku, Button as Kr, Typography as pt, IconButton as Zo, Slider as Hu, InputLabel as Jr, Chip as Xu, Select as Ia, MenuItem as yn, ToggleButtonGroup as $i, ToggleButton as Dn, Paper as qu, Tabs as Yu, Tab as Zu, Dialog as Qu, DialogTitle as ec, DialogContent as tc, DialogActions as rc } from "@mui/material";
4
- import { I18nextProvider as nc, useTranslation as Zt } from "react-i18next";
4
+ import { I18nextProvider as nc, useTranslation as br } from "react-i18next";
5
5
  import ac from "i18next-browser-languagedetector";
6
6
  import { lowerFirst as oc, omit as sc, isString as ic } from "lodash-es";
7
7
  import { animated as b, Globals as lc, useSpring as uc } from "@react-spring/three";
@@ -9,7 +9,7 @@ import { useGLTF as fe, Line as cc, Environment as dc, Lightformer as Jt } from
9
9
  import * as Pe from "three";
10
10
  import { Matrix4 as kr, Vector3 as Qo, Quaternion as hc } from "three";
11
11
  import { useThree as mc } from "@react-three/fiber";
12
- import { autorun as Ni, reaction as fc, makeAutoObservable as pc, runInAction as pr } from "mobx";
12
+ import { autorun as Ni, reaction as fc, makeAutoObservable as pc, runInAction as fr } from "mobx";
13
13
  import { ErrorBoundary as gc } from "react-error-boundary";
14
14
  import { ConvexGeometry as yc } from "three-stdlib";
15
15
  import { observer as et, useLocalObservable as jo } from "mobx-react-lite";
@@ -311,7 +311,7 @@ function Pc() {
311
311
  } finally {
312
312
  lt = !1, it.current = ee, At(), Error.prepareStackTrace = D;
313
313
  }
314
- var sr = p ? p.displayName || p.name : "", Ut = sr ? De(sr) : "";
314
+ var or = p ? p.displayName || p.name : "", Ut = or ? De(or) : "";
315
315
  return typeof p == "function" && ut.set(p, Ut), Ut;
316
316
  }
317
317
  function Be(p, w, T) {
@@ -397,7 +397,7 @@ function Pc() {
397
397
  function Pr(p) {
398
398
  return "" + p;
399
399
  }
400
- function rr(p) {
400
+ function tr(p) {
401
401
  if (Ar(p))
402
402
  return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Cr(p)), Pr(p);
403
403
  }
@@ -484,7 +484,7 @@ function Pc() {
484
484
  function Mt(p, w, T, L, D) {
485
485
  {
486
486
  var ee, J = {}, B = null, Me = null;
487
- T !== void 0 && (rr(T), B = "" + T), W(w) && (rr(w.key), B = "" + w.key), q(w) && (Me = w.ref, Ue(w, D));
487
+ T !== void 0 && (tr(T), B = "" + T), W(w) && (tr(w.key), B = "" + w.key), q(w) && (Me = w.ref, Ue(w, D));
488
488
  for (ee in w)
489
489
  de.call(w, ee) && !M.hasOwnProperty(ee) && (J[ee] = w[ee]);
490
490
  if (p && p.defaultProps) {
@@ -499,7 +499,7 @@ function Pc() {
499
499
  return ke(p, B, Me, D, L, nt.current, J);
500
500
  }
501
501
  }
502
- var nr = S.ReactCurrentOwner, Or = S.ReactDebugCurrentFrame;
502
+ var rr = S.ReactCurrentOwner, Or = S.ReactDebugCurrentFrame;
503
503
  function bt(p) {
504
504
  if (p) {
505
505
  var w = p._owner, T = Z(p.type, p._source, w ? w.type : null);
@@ -514,8 +514,8 @@ function Pc() {
514
514
  }
515
515
  function Mr() {
516
516
  {
517
- if (nr.current) {
518
- var p = V(nr.current.type);
517
+ if (rr.current) {
518
+ var p = V(rr.current.type);
519
519
  if (p)
520
520
  return `
521
521
 
@@ -540,7 +540,7 @@ Check the top-level render call using <` + T + ">.");
540
540
  return w;
541
541
  }
542
542
  }
543
- function ar(p, w) {
543
+ function nr(p, w) {
544
544
  {
545
545
  if (!p._store || p._store.validated || p.key != null)
546
546
  return;
@@ -550,17 +550,17 @@ Check the top-level render call using <` + T + ">.");
550
550
  return;
551
551
  fn[T] = !0;
552
552
  var L = "";
553
- p && p._owner && p._owner !== nr.current && (L = " It was passed a child from " + V(p._owner.type) + "."), bt(p), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, L), bt(null);
553
+ p && p._owner && p._owner !== rr.current && (L = " It was passed a child from " + V(p._owner.type) + "."), bt(p), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, L), bt(null);
554
554
  }
555
555
  }
556
- function or(p, w) {
556
+ function ar(p, w) {
557
557
  {
558
558
  if (typeof p != "object")
559
559
  return;
560
560
  if (Ft(p))
561
561
  for (var T = 0; T < p.length; T++) {
562
562
  var L = p[T];
563
- Bt(L) && ar(L, w);
563
+ Bt(L) && nr(L, w);
564
564
  }
565
565
  else if (Bt(p))
566
566
  p._store && (p._store.validated = !0);
@@ -568,7 +568,7 @@ Check the top-level render call using <` + T + ">.");
568
568
  var D = g(p);
569
569
  if (typeof D == "function" && D !== p.entries)
570
570
  for (var ee = D.call(p), J; !(J = ee.next()).done; )
571
- Bt(J.value) && ar(J.value, w);
571
+ Bt(J.value) && nr(J.value, w);
572
572
  }
573
573
  }
574
574
  }
@@ -629,13 +629,13 @@ Check the top-level render call using <` + T + ">.");
629
629
  if (He !== void 0)
630
630
  if (L)
631
631
  if (Ft(He)) {
632
- for (var sr = 0; sr < He.length; sr++)
633
- or(He[sr], p);
632
+ for (var or = 0; or < He.length; or++)
633
+ ar(He[or], p);
634
634
  Object.freeze && Object.freeze(He);
635
635
  } else
636
636
  j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
637
637
  else
638
- or(He, p);
638
+ ar(He, p);
639
639
  }
640
640
  if (de.call(w, "key")) {
641
641
  var Ut = V(p), Le = Object.keys(w).filter(function(Vu) {
@@ -872,7 +872,7 @@ const Nr = () => {
872
872
  for (const r in t)
873
873
  r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Di(e[r], t[r], n) : e[r] = t[r]);
874
874
  return e;
875
- }, ir = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
875
+ }, sr = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
876
876
  var Lc = {
877
877
  "&": "&amp;",
878
878
  "<": "&lt;",
@@ -1536,7 +1536,7 @@ class Kc {
1536
1536
  maxReplaces: S,
1537
1537
  alwaysFormat: j
1538
1538
  } = t.interpolation;
1539
- this.escape = n !== void 0 ? n : $c, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = a !== void 0 ? a : !1, this.prefix = s ? ir(s) : i || "{{", this.suffix = l ? ir(l) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : m || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = h ? ir(h) : v || ir("$t("), this.nestingSuffix = _ ? ir(_) : y || ir(")"), this.nestingOptionsSeparator = g || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = j !== void 0 ? j : !1, this.resetRegExp();
1539
+ this.escape = n !== void 0 ? n : $c, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = a !== void 0 ? a : !1, this.prefix = s ? sr(s) : i || "{{", this.suffix = l ? sr(l) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : m || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = h ? sr(h) : v || sr("$t("), this.nestingSuffix = _ ? sr(_) : y || sr(")"), this.nestingOptionsSeparator = g || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = j !== void 0 ? j : !1, this.resetRegExp();
1540
1540
  }
1541
1541
  reset() {
1542
1542
  this.options && this.init(this.options);
@@ -1649,7 +1649,7 @@ const Hc = (e) => {
1649
1649
  formatName: t,
1650
1650
  formatOptions: n
1651
1651
  };
1652
- }, lr = (e) => {
1652
+ }, ir = (e) => {
1653
1653
  const t = {};
1654
1654
  return (n, r, a) => {
1655
1655
  let s = a;
@@ -1668,32 +1668,32 @@ class Xc {
1668
1668
  constructor() {
1669
1669
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1670
1670
  this.logger = ht.create("formatter"), this.options = t, this.formats = {
1671
- number: lr((n, r) => {
1671
+ number: ir((n, r) => {
1672
1672
  const a = new Intl.NumberFormat(n, {
1673
1673
  ...r
1674
1674
  });
1675
1675
  return (s) => a.format(s);
1676
1676
  }),
1677
- currency: lr((n, r) => {
1677
+ currency: ir((n, r) => {
1678
1678
  const a = new Intl.NumberFormat(n, {
1679
1679
  ...r,
1680
1680
  style: "currency"
1681
1681
  });
1682
1682
  return (s) => a.format(s);
1683
1683
  }),
1684
- datetime: lr((n, r) => {
1684
+ datetime: ir((n, r) => {
1685
1685
  const a = new Intl.DateTimeFormat(n, {
1686
1686
  ...r
1687
1687
  });
1688
1688
  return (s) => a.format(s);
1689
1689
  }),
1690
- relativetime: lr((n, r) => {
1690
+ relativetime: ir((n, r) => {
1691
1691
  const a = new Intl.RelativeTimeFormat(n, {
1692
1692
  ...r
1693
1693
  });
1694
1694
  return (s) => a.format(s, r.range || "day");
1695
1695
  }),
1696
- list: lr((n, r) => {
1696
+ list: ir((n, r) => {
1697
1697
  const a = new Intl.ListFormat(n, {
1698
1698
  ...r
1699
1699
  });
@@ -1711,7 +1711,7 @@ class Xc {
1711
1711
  this.formats[t.toLowerCase().trim()] = n;
1712
1712
  }
1713
1713
  addCached(t, n) {
1714
- this.formats[t.toLowerCase().trim()] = lr(n);
1714
+ this.formats[t.toLowerCase().trim()] = ir(n);
1715
1715
  }
1716
1716
  format(t, n, r) {
1717
1717
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
@@ -9842,9 +9842,9 @@ function vn(e, t) {
9842
9842
  function om(e, t) {
9843
9843
  return e.map(t).join("");
9844
9844
  }
9845
- var la = 1, br = 1, Ll = 0, Ne = 0, ve = 0, wr = "";
9845
+ var la = 1, vr = 1, Ll = 0, Ne = 0, ve = 0, wr = "";
9846
9846
  function ua(e, t, n, r, a, s, i) {
9847
- return { value: e, root: t, parent: n, type: r, props: a, children: s, line: la, column: br, length: i, return: "" };
9847
+ return { value: e, root: t, parent: n, type: r, props: a, children: s, line: la, column: vr, length: i, return: "" };
9848
9848
  }
9849
9849
  function Dr(e, t) {
9850
9850
  return rm(ua("", null, null, "", null, null, 0), e, { length: -e.length }, t);
@@ -9853,10 +9853,10 @@ function sm() {
9853
9853
  return ve;
9854
9854
  }
9855
9855
  function im() {
9856
- return ve = Ne > 0 ? Re(wr, --Ne) : 0, br--, ve === 10 && (br = 1, la--), ve;
9856
+ return ve = Ne > 0 ? Re(wr, --Ne) : 0, vr--, ve === 10 && (vr = 1, la--), ve;
9857
9857
  }
9858
9858
  function ze() {
9859
- return ve = Ne < Ll ? Re(wr, Ne++) : 0, br++, ve === 10 && (br = 1, la++), ve;
9859
+ return ve = Ne < Ll ? Re(wr, Ne++) : 0, vr++, ve === 10 && (vr = 1, la++), ve;
9860
9860
  }
9861
9861
  function mt() {
9862
9862
  return Re(wr, Ne);
@@ -9900,7 +9900,7 @@ function Zr(e) {
9900
9900
  return 0;
9901
9901
  }
9902
9902
  function $l(e) {
9903
- return la = br = 1, Ll = ct(wr = e), Ne = 0, [];
9903
+ return la = vr = 1, Ll = ct(wr = e), Ne = 0, [];
9904
9904
  }
9905
9905
  function Nl(e) {
9906
9906
  return wr = "", e;
@@ -10051,7 +10051,7 @@ function mm(e, t, n) {
10051
10051
  function Is(e, t, n, r) {
10052
10052
  return ua(e, t, n, To, Yr(e, 0, r), Yr(e, r + 1, -1), r);
10053
10053
  }
10054
- function gr(e, t) {
10054
+ function pr(e, t) {
10055
10055
  for (var n = "", r = Eo(e), a = 0; a < r; a++)
10056
10056
  n += t(e[a], a, e, t) || "";
10057
10057
  return n;
@@ -10066,11 +10066,11 @@ function fm(e, t, n, r) {
10066
10066
  case Tl:
10067
10067
  return "";
10068
10068
  case El:
10069
- return e.return = e.value + "{" + gr(e.children, r) + "}";
10069
+ return e.return = e.value + "{" + pr(e.children, r) + "}";
10070
10070
  case Io:
10071
10071
  e.value = e.props.join(",");
10072
10072
  }
10073
- return ct(n = gr(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
10073
+ return ct(n = pr(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
10074
10074
  }
10075
10075
  function pm(e) {
10076
10076
  var t = Eo(e);
@@ -10249,7 +10249,7 @@ var Sm = function(t, n, r, a) {
10249
10249
  t.return = Fl(t.value, t.length);
10250
10250
  break;
10251
10251
  case El:
10252
- return gr([Dr(t, {
10252
+ return pr([Dr(t, {
10253
10253
  value: re(t.value, "@", "@" + te)
10254
10254
  })], a);
10255
10255
  case Io:
@@ -10257,11 +10257,11 @@ var Sm = function(t, n, r, a) {
10257
10257
  switch (am(s, /(::plac\w+|:read-\w+)/)) {
10258
10258
  case ":read-only":
10259
10259
  case ":read-write":
10260
- return gr([Dr(t, {
10260
+ return pr([Dr(t, {
10261
10261
  props: [re(s, /:(read-\w+)/, ":" + Wn + "$1")]
10262
10262
  })], a);
10263
10263
  case "::placeholder":
10264
- return gr([Dr(t, {
10264
+ return pr([Dr(t, {
10265
10265
  props: [re(s, /:(plac\w+)/, ":" + te + "input-$1")]
10266
10266
  }), Dr(t, {
10267
10267
  props: [re(s, /:(plac\w+)/, ":" + Wn + "$1")]
@@ -10297,7 +10297,7 @@ var Sm = function(t, n, r, a) {
10297
10297
  var d, m = [fm, gm(function(y) {
10298
10298
  d.insert(y);
10299
10299
  })], h = pm(c.concat(a, m)), v = function(g) {
10300
- return gr(hm(g), h);
10300
+ return pr(hm(g), h);
10301
10301
  };
10302
10302
  u = function(g, S, j, C) {
10303
10303
  d = j, v(g ? g + "{" + S.styles + "}" : S.styles), C && (_.inserted[S.name] = !0);
@@ -10790,22 +10790,22 @@ const ef = ge({
10790
10790
  prop: "gridArea"
10791
10791
  });
10792
10792
  ma(pa, ga, ya, ef, tf, rf, nf, af, of, sf, lf, uf);
10793
- function yr(e, t) {
10793
+ function gr(e, t) {
10794
10794
  return t === "grey" ? t : e;
10795
10795
  }
10796
10796
  const cf = ge({
10797
10797
  prop: "color",
10798
10798
  themeKey: "palette",
10799
- transform: yr
10799
+ transform: gr
10800
10800
  }), df = ge({
10801
10801
  prop: "bgcolor",
10802
10802
  cssProperty: "backgroundColor",
10803
10803
  themeKey: "palette",
10804
- transform: yr
10804
+ transform: gr
10805
10805
  }), hf = ge({
10806
10806
  prop: "backgroundColor",
10807
10807
  themeKey: "palette",
10808
- transform: yr
10808
+ transform: gr
10809
10809
  });
10810
10810
  ma(cf, df, hf);
10811
10811
  function Je(e) {
@@ -10910,16 +10910,16 @@ const un = {
10910
10910
  // palette
10911
10911
  color: {
10912
10912
  themeKey: "palette",
10913
- transform: yr
10913
+ transform: gr
10914
10914
  },
10915
10915
  bgcolor: {
10916
10916
  themeKey: "palette",
10917
10917
  cssProperty: "backgroundColor",
10918
- transform: yr
10918
+ transform: gr
10919
10919
  },
10920
10920
  backgroundColor: {
10921
10921
  themeKey: "palette",
10922
- transform: yr
10922
+ transform: gr
10923
10923
  },
10924
10924
  // spacing
10925
10925
  p: {
@@ -11743,12 +11743,12 @@ function Wf({
11743
11743
  });
11744
11744
  }
11745
11745
  const No = typeof window < "u" ? $.useLayoutEffect : $.useEffect;
11746
- function fr(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) {
11746
+ function mr(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) {
11747
11747
  return Math.max(t, Math.min(e, n));
11748
11748
  }
11749
11749
  const Kf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11750
11750
  __proto__: null,
11751
- default: fr
11751
+ default: mr
11752
11752
  }, Symbol.toStringTag, { value: "Module" }));
11753
11753
  function Us(e, t) {
11754
11754
  return process.env.NODE_ENV === "production" ? () => null : function(...r) {
@@ -11788,11 +11788,11 @@ function Yf(e, t) {
11788
11788
  (n = e.type.muiName) != null ? n : (r = e.type) == null || (r = r._payload) == null || (r = r.value) == null ? void 0 : r.muiName
11789
11789
  ) !== -1;
11790
11790
  }
11791
- function _r(e) {
11791
+ function yr(e) {
11792
11792
  return e && e.ownerDocument || document;
11793
11793
  }
11794
11794
  function Zf(e) {
11795
- return _r(e).defaultView || window;
11795
+ return yr(e).defaultView || window;
11796
11796
  }
11797
11797
  function Qf(e, t) {
11798
11798
  if (process.env.NODE_ENV === "production")
@@ -12596,7 +12596,7 @@ const Qr = {
12596
12596
  A200: "#eeeeee",
12597
12597
  A400: "#bdbdbd",
12598
12598
  A700: "#616161"
12599
- }, ur = {
12599
+ }, lr = {
12600
12600
  50: "#f3e5f5",
12601
12601
  100: "#e1bee7",
12602
12602
  200: "#ce93d8",
@@ -12611,7 +12611,7 @@ const Qr = {
12611
12611
  A200: "#e040fb",
12612
12612
  A400: "#d500f9",
12613
12613
  A700: "#aa00ff"
12614
- }, cr = {
12614
+ }, ur = {
12615
12615
  50: "#ffebee",
12616
12616
  100: "#ffcdd2",
12617
12617
  200: "#ef9a9a",
@@ -12641,7 +12641,7 @@ const Qr = {
12641
12641
  A200: "#ffab40",
12642
12642
  A400: "#ff9100",
12643
12643
  A700: "#ff6d00"
12644
- }, dr = {
12644
+ }, cr = {
12645
12645
  50: "#e3f2fd",
12646
12646
  100: "#bbdefb",
12647
12647
  200: "#90caf9",
@@ -12656,7 +12656,7 @@ const Qr = {
12656
12656
  A200: "#448aff",
12657
12657
  A400: "#2979ff",
12658
12658
  A700: "#2962ff"
12659
- }, hr = {
12659
+ }, dr = {
12660
12660
  50: "#e1f5fe",
12661
12661
  100: "#b3e5fc",
12662
12662
  200: "#81d4fa",
@@ -12671,7 +12671,7 @@ const Qr = {
12671
12671
  A200: "#40c4ff",
12672
12672
  A400: "#00b0ff",
12673
12673
  A700: "#0091ea"
12674
- }, mr = {
12674
+ }, hr = {
12675
12675
  50: "#e8f5e9",
12676
12676
  100: "#c8e6c9",
12677
12677
  200: "#a5d6a7",
@@ -12755,59 +12755,59 @@ function Qs(e, t, n, r) {
12755
12755
  }
12756
12756
  function hp(e = "light") {
12757
12757
  return e === "dark" ? {
12758
- main: dr[200],
12759
- light: dr[50],
12760
- dark: dr[400]
12758
+ main: cr[200],
12759
+ light: cr[50],
12760
+ dark: cr[400]
12761
12761
  } : {
12762
- main: dr[700],
12763
- light: dr[400],
12764
- dark: dr[800]
12762
+ main: cr[700],
12763
+ light: cr[400],
12764
+ dark: cr[800]
12765
12765
  };
12766
12766
  }
12767
12767
  function mp(e = "light") {
12768
12768
  return e === "dark" ? {
12769
- main: ur[200],
12770
- light: ur[50],
12771
- dark: ur[400]
12769
+ main: lr[200],
12770
+ light: lr[50],
12771
+ dark: lr[400]
12772
12772
  } : {
12773
+ main: lr[500],
12774
+ light: lr[300],
12775
+ dark: lr[700]
12776
+ };
12777
+ }
12778
+ function fp(e = "light") {
12779
+ return e === "dark" ? {
12773
12780
  main: ur[500],
12774
12781
  light: ur[300],
12775
12782
  dark: ur[700]
12783
+ } : {
12784
+ main: ur[700],
12785
+ light: ur[400],
12786
+ dark: ur[800]
12776
12787
  };
12777
12788
  }
12778
- function fp(e = "light") {
12789
+ function pp(e = "light") {
12779
12790
  return e === "dark" ? {
12780
- main: cr[500],
12781
- light: cr[300],
12782
- dark: cr[700]
12791
+ main: dr[400],
12792
+ light: dr[300],
12793
+ dark: dr[700]
12783
12794
  } : {
12784
- main: cr[700],
12785
- light: cr[400],
12786
- dark: cr[800]
12795
+ main: dr[700],
12796
+ light: dr[500],
12797
+ dark: dr[900]
12787
12798
  };
12788
12799
  }
12789
- function pp(e = "light") {
12800
+ function gp(e = "light") {
12790
12801
  return e === "dark" ? {
12791
12802
  main: hr[400],
12792
12803
  light: hr[300],
12793
12804
  dark: hr[700]
12794
12805
  } : {
12795
- main: hr[700],
12806
+ main: hr[800],
12796
12807
  light: hr[500],
12797
12808
  dark: hr[900]
12798
12809
  };
12799
12810
  }
12800
- function gp(e = "light") {
12801
- return e === "dark" ? {
12802
- main: mr[400],
12803
- light: mr[300],
12804
- dark: mr[700]
12805
- } : {
12806
- main: mr[800],
12807
- light: mr[500],
12808
- dark: mr[900]
12809
- };
12810
- }
12811
12811
  function yp(e = "light") {
12812
12812
  return e === "dark" ? {
12813
12813
  main: Br[400],
@@ -13120,7 +13120,7 @@ process.env.NODE_ENV !== "production" && (f.node, f.object.isRequired);
13120
13120
  function zo(e) {
13121
13121
  return v0(e);
13122
13122
  }
13123
- const vr = A0({
13123
+ const _r = A0({
13124
13124
  createStyledComponent: jt("div", {
13125
13125
  name: "MuiStack",
13126
13126
  slot: "Root",
@@ -13131,7 +13131,7 @@ const vr = A0({
13131
13131
  name: "MuiStack"
13132
13132
  })
13133
13133
  });
13134
- process.env.NODE_ENV !== "production" && (vr.propTypes = {
13134
+ process.env.NODE_ENV !== "production" && (_r.propTypes = {
13135
13135
  // ┌────────────────────────────── Warning ──────────────────────────────┐
13136
13136
  // │ These PropTypes are generated from the TypeScript type definitions. │
13137
13137
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -13198,7 +13198,7 @@ const ni = rn(
13198
13198
  function c(d) {
13199
13199
  d.button === 0 && r("+");
13200
13200
  }
13201
- return /* @__PURE__ */ o.jsxs(vr, { height: "72px", direction: "row", ...i, children: [
13201
+ return /* @__PURE__ */ o.jsxs(_r, { height: "72px", direction: "row", ...i, children: [
13202
13202
  /* @__PURE__ */ o.jsx(
13203
13203
  Kr,
13204
13204
  {
@@ -13222,7 +13222,7 @@ const ni = rn(
13222
13222
  }
13223
13223
  ),
13224
13224
  /* @__PURE__ */ o.jsxs(
13225
- vr,
13225
+ _r,
13226
13226
  {
13227
13227
  spacing: "6px",
13228
13228
  sx: {
@@ -13234,7 +13234,7 @@ const ni = rn(
13234
13234
  },
13235
13235
  children: [
13236
13236
  /* @__PURE__ */ o.jsx(
13237
- vr,
13237
+ _r,
13238
13238
  {
13239
13239
  height: "22px",
13240
13240
  direction: "row",
@@ -13476,7 +13476,7 @@ const Up = {
13476
13476
  debounce: Xf,
13477
13477
  deprecatedPropType: qf,
13478
13478
  isMuiElement: Yf,
13479
- ownerDocument: _r,
13479
+ ownerDocument: yr,
13480
13480
  ownerWindow: Zf,
13481
13481
  requirePropFactory: Qf,
13482
13482
  setRef: nu,
@@ -13552,7 +13552,7 @@ function sg(e) {
13552
13552
  return og.call(e);
13553
13553
  }
13554
13554
  var ig = "[object Null]", lg = "[object Undefined]", oi = Lt ? Lt.toStringTag : void 0;
13555
- function Qt(e) {
13555
+ function Zt(e) {
13556
13556
  return e == null ? e === void 0 ? lg : ig : oi && oi in Object(e) ? ng(e) : sg(e);
13557
13557
  }
13558
13558
  function Xt(e) {
@@ -13560,7 +13560,7 @@ function Xt(e) {
13560
13560
  }
13561
13561
  var ug = "[object Symbol]";
13562
13562
  function ba(e) {
13563
- return typeof e == "symbol" || Xt(e) && Qt(e) == ug;
13563
+ return typeof e == "symbol" || Xt(e) && Zt(e) == ug;
13564
13564
  }
13565
13565
  var si = NaN, cg = /^[-+]0x[0-9a-f]+$/i, dg = /^0b[01]+$/i, hg = /^0o[0-7]+$/i, mg = parseInt;
13566
13566
  function ii(e) {
@@ -13648,7 +13648,7 @@ const bg = rn(
13648
13648
  disabled: s,
13649
13649
  ...i
13650
13650
  }) => {
13651
- const { t: l } = Zt(), [u, c] = ea(), d = jo(() => ({
13651
+ const { t: l } = br(), [u, c] = ea(), d = jo(() => ({
13652
13652
  activeJoggingDir: null,
13653
13653
  startJogging(S) {
13654
13654
  this.activeJoggingDir = S, e(S);
@@ -13680,7 +13680,7 @@ const bg = rn(
13680
13680
  return S > 0 && j === 0 ? `+${C}` : C;
13681
13681
  }
13682
13682
  return /* @__PURE__ */ o.jsxs(
13683
- vr,
13683
+ _r,
13684
13684
  {
13685
13685
  height: "64px",
13686
13686
  width: "100%",
@@ -13719,7 +13719,7 @@ const bg = rn(
13719
13719
  }
13720
13720
  ),
13721
13721
  /* @__PURE__ */ o.jsxs(
13722
- vr,
13722
+ _r,
13723
13723
  {
13724
13724
  flexGrow: 1,
13725
13725
  alignItems: "center",
@@ -13847,7 +13847,7 @@ const bg = rn(
13847
13847
  }
13848
13848
  ), vu = et(
13849
13849
  ({ store: e, children: t }) => {
13850
- const { t: n } = Zt();
13850
+ const { t: n } = br();
13851
13851
  function r() {
13852
13852
  if (e.activationState === "inactive" && !e.activationError)
13853
13853
  return /* @__PURE__ */ o.jsx(
@@ -13996,7 +13996,7 @@ var Ug = "[object AsyncFunction]", Jg = "[object Function]", Vg = "[object Gener
13996
13996
  function Su(e) {
13997
13997
  if (!Ht(e))
13998
13998
  return !1;
13999
- var t = Qt(e);
13999
+ var t = Zt(e);
14000
14000
  return t == Jg || t == Vg || t == Ug || t == zg;
14001
14001
  }
14002
14002
  var Ka = yt["__core-js_shared__"], ui = function() {
@@ -14007,7 +14007,7 @@ function Gg(e) {
14007
14007
  return !!ui && ui in e;
14008
14008
  }
14009
14009
  var Wg = Function.prototype, Kg = Wg.toString;
14010
- function er(e) {
14010
+ function Qt(e) {
14011
14011
  if (e != null) {
14012
14012
  try {
14013
14013
  return Kg.call(e);
@@ -14027,16 +14027,16 @@ function ty(e) {
14027
14027
  if (!Ht(e) || Gg(e))
14028
14028
  return !1;
14029
14029
  var t = Su(e) ? ey : Xg;
14030
- return t.test(er(e));
14030
+ return t.test(Qt(e));
14031
14031
  }
14032
14032
  function ry(e, t) {
14033
14033
  return e == null ? void 0 : e[t];
14034
14034
  }
14035
- function tr(e, t) {
14035
+ function er(e, t) {
14036
14036
  var n = ry(e, t);
14037
14037
  return ty(n) ? n : void 0;
14038
14038
  }
14039
- var en = tr(yt, "Map"), tn = tr(Object, "create");
14039
+ var en = er(yt, "Map"), tn = er(Object, "create");
14040
14040
  function ny() {
14041
14041
  this.__data__ = tn ? tn(null) : {}, this.size = 0;
14042
14042
  }
@@ -14274,7 +14274,7 @@ function Zy(e, t) {
14274
14274
  }
14275
14275
  var Qy = "[object Arguments]";
14276
14276
  function mi(e) {
14277
- return Xt(e) && Qt(e) == Qy;
14277
+ return Xt(e) && Zt(e) == Qy;
14278
14278
  }
14279
14279
  var ju = Object.prototype, e1 = ju.hasOwnProperty, t1 = ju.propertyIsEnumerable, Ru = mi(/* @__PURE__ */ function() {
14280
14280
  return arguments;
@@ -14297,7 +14297,7 @@ var l1 = "[object Arguments]", u1 = "[object Array]", c1 = "[object Boolean]", d
14297
14297
  ue[w1] = ue[j1] = ue[R1] = ue[C1] = ue[A1] = ue[P1] = ue[O1] = ue[M1] = ue[I1] = !0;
14298
14298
  ue[l1] = ue[u1] = ue[x1] = ue[c1] = ue[S1] = ue[d1] = ue[h1] = ue[m1] = ue[f1] = ue[p1] = ue[g1] = ue[y1] = ue[_1] = ue[v1] = ue[b1] = !1;
14299
14299
  function T1(e) {
14300
- return Xt(e) && Ko(e.length) && !!ue[Qt(e)];
14300
+ return Xt(e) && Ko(e.length) && !!ue[Zt(e)];
14301
14301
  }
14302
14302
  function E1(e) {
14303
14303
  return function(t) {
@@ -14381,9 +14381,9 @@ function H1(e, t, n, r, a, s) {
14381
14381
  }
14382
14382
  return s.delete(e), s.delete(t), y;
14383
14383
  }
14384
- var _o = tr(yt, "DataView"), vo = tr(yt, "Promise"), bo = tr(yt, "Set"), xo = tr(yt, "WeakMap"), vi = "[object Map]", X1 = "[object Object]", bi = "[object Promise]", xi = "[object Set]", Si = "[object WeakMap]", wi = "[object DataView]", q1 = er(_o), Y1 = er(en), Z1 = er(vo), Q1 = er(bo), e_ = er(xo), Et = Qt;
14384
+ var _o = er(yt, "DataView"), vo = er(yt, "Promise"), bo = er(yt, "Set"), xo = er(yt, "WeakMap"), vi = "[object Map]", X1 = "[object Object]", bi = "[object Promise]", xi = "[object Set]", Si = "[object WeakMap]", wi = "[object DataView]", q1 = Qt(_o), Y1 = Qt(en), Z1 = Qt(vo), Q1 = Qt(bo), e_ = Qt(xo), Et = Zt;
14385
14385
  (_o && Et(new _o(new ArrayBuffer(1))) != wi || en && Et(new en()) != vi || vo && Et(vo.resolve()) != bi || bo && Et(new bo()) != xi || xo && Et(new xo()) != Si) && (Et = function(e) {
14386
- var t = Qt(e), n = t == X1 ? e.constructor : void 0, r = n ? er(n) : "";
14386
+ var t = Zt(e), n = t == X1 ? e.constructor : void 0, r = n ? Qt(n) : "";
14387
14387
  if (r)
14388
14388
  switch (r) {
14389
14389
  case q1:
@@ -14429,7 +14429,7 @@ function a_(e, t) {
14429
14429
  const Iu = ({
14430
14430
  store: e
14431
14431
  }) => {
14432
- const { t } = Zt(), [n, r] = ea(
14432
+ const { t } = br(), [n, r] = ea(
14433
14433
  e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached
14434
14434
  ), a = kt(n);
14435
14435
  on(() => {
@@ -14463,7 +14463,7 @@ const Iu = ({
14463
14463
  ...n
14464
14464
  }, r) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 15, height: 17, fill: "none", ref: r, "aria-labelledby": t, ...n }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "currentColor", d: "M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467" })), l_ = Yt(i_), u_ = et(({ store: e }) => {
14465
14465
  var r;
14466
- const { t } = Zt();
14466
+ const { t } = br();
14467
14467
  function n(a, s) {
14468
14468
  (s === "coordsys" || s === "tool") && e.setSelectedOrientation(s);
14469
14469
  }
@@ -14644,7 +14644,7 @@ function jn({
14644
14644
  setActive: n
14645
14645
  }) {
14646
14646
  var r, a;
14647
- const s = _r(e.current);
14647
+ const s = yr(e.current);
14648
14648
  if (!((r = e.current) != null && r.contains(s.activeElement)) || Number(s == null || (a = s.activeElement) == null ? void 0 : a.getAttribute("data-index")) !== t) {
14649
14649
  var i;
14650
14650
  (i = e.current) == null || i.querySelector(`[type="range"][data-index="${t}"]`).focus();
@@ -14719,7 +14719,7 @@ function y_(e) {
14719
14719
  }), d(q, E, N);
14720
14720
  }), X = Array.isArray(F);
14721
14721
  let K = X ? F.slice().sort(Tu) : [F];
14722
- K = K.map((M) => M == null ? u : fr(M, u, l));
14722
+ K = K.map((M) => M == null ? u : mr(M, u, l));
14723
14723
  const xe = i === !0 && y !== null ? [...Array(Math.floor((l - u) / y) + 1)].map((M, E) => ({
14724
14724
  value: u + y * E
14725
14725
  })) : i || [], ie = xe.map((M) => M.value), {
@@ -14741,8 +14741,8 @@ function y_(e) {
14741
14741
  const Ue = ie[ie.length - 1];
14742
14742
  W > Ue ? W = Ue : W < ie[0] ? W = ie[0] : W = W < G ? ie[q - 1] : ie[q + 1];
14743
14743
  }
14744
- if (W = fr(W, u, l), X) {
14745
- a && (W = fr(W, K[N - 1] || -1 / 0, K[N + 1] || 1 / 0));
14744
+ if (W = mr(W, u, l), X) {
14745
+ a && (W = mr(W, K[N - 1] || -1 / 0, K[N + 1] || 1 / 0));
14746
14746
  const Ue = W;
14747
14747
  W = Pi({
14748
14748
  values: K,
@@ -14798,10 +14798,10 @@ function y_(e) {
14798
14798
  const Mt = Ai(ie, Q);
14799
14799
  Q = ie[Mt];
14800
14800
  }
14801
- Q = fr(Q, u, l);
14801
+ Q = mr(Q, u, l);
14802
14802
  let ke = 0;
14803
14803
  if (X) {
14804
- E ? ke = vt.current : ke = Ai(K, Q), a && (Q = fr(Q, K[ke - 1] || -1 / 0, K[ke + 1] || 1 / 0));
14804
+ E ? ke = vt.current : ke = Ai(K, Q), a && (Q = mr(Q, K[ke - 1] || -1 / 0, K[ke + 1] || 1 / 0));
14805
14805
  const Mt = Q;
14806
14806
  Q = Pi({
14807
14807
  values: K,
@@ -14865,14 +14865,14 @@ function y_(e) {
14865
14865
  }), H(q), V && !Rn(q, F) && V(M, q, W);
14866
14866
  }
14867
14867
  le.current = 0;
14868
- const G = _r(Se.current);
14868
+ const G = yr(Se.current);
14869
14869
  G.addEventListener("touchmove", Z, {
14870
14870
  passive: !0
14871
14871
  }), G.addEventListener("touchend", de, {
14872
14872
  passive: !0
14873
14873
  });
14874
14874
  }), Ee = $.useCallback(() => {
14875
- const M = _r(Se.current);
14875
+ const M = yr(Se.current);
14876
14876
  M.removeEventListener("mousemove", Z), M.removeEventListener("mouseup", de), M.removeEventListener("touchmove", Z), M.removeEventListener("touchend", de);
14877
14877
  }, [de, Z]);
14878
14878
  $.useEffect(() => {
@@ -14907,7 +14907,7 @@ function y_(e) {
14907
14907
  }), H(W), V && !Rn(W, F) && V(E, W, Ue);
14908
14908
  }
14909
14909
  le.current = 0;
14910
- const q = _r(Se.current);
14910
+ const q = yr(Se.current);
14911
14911
  q.addEventListener("mousemove", Z, {
14912
14912
  passive: !0
14913
14913
  }), q.addEventListener("mouseup", de);
@@ -15596,7 +15596,7 @@ const S_ = jt("span", {
15596
15596
  getHiddenInputProps: Cr,
15597
15597
  getThumbProps: Ar,
15598
15598
  open: Pr,
15599
- active: rr,
15599
+ active: tr,
15600
15600
  axis: nt,
15601
15601
  focusedThumbIndex: M,
15602
15602
  range: E,
@@ -15610,7 +15610,7 @@ const S_ = jt("span", {
15610
15610
  rootRef: n
15611
15611
  }));
15612
15612
  we.marked = G.length > 0 && G.some((L) => L.label), we.dragging = N, we.focusedThumbIndex = M;
15613
- const Q = O_(we), ke = (r = (a = Z == null ? void 0 : Z.root) != null ? a : ie.Root) != null ? r : S_, Mt = (s = (i = Z == null ? void 0 : Z.rail) != null ? i : ie.Rail) != null ? s : w_, nr = (l = (u = Z == null ? void 0 : Z.track) != null ? u : ie.Track) != null ? l : j_, Or = (c = (d = Z == null ? void 0 : Z.thumb) != null ? d : ie.Thumb) != null ? c : R_, bt = (m = (h = Z == null ? void 0 : Z.valueLabel) != null ? h : ie.ValueLabel) != null ? m : C_, Dt = (v = (_ = Z == null ? void 0 : Z.mark) != null ? _ : ie.Mark) != null ? v : A_, Bt = (y = (g = Z == null ? void 0 : Z.markLabel) != null ? g : ie.MarkLabel) != null ? y : P_, Mr = (S = (j = Z == null ? void 0 : Z.input) != null ? j : ie.Input) != null ? S : "input", Ir = (C = I == null ? void 0 : I.root) != null ? C : Y.root, fn = (k = I == null ? void 0 : I.rail) != null ? k : Y.rail, Tr = (R = I == null ? void 0 : I.track) != null ? R : Y.track, ar = (P = I == null ? void 0 : I.thumb) != null ? P : Y.thumb, or = (O = I == null ? void 0 : I.valueLabel) != null ? O : Y.valueLabel, Ra = (z = I == null ? void 0 : I.mark) != null ? z : Y.mark, Ca = (se = I == null ? void 0 : I.markLabel) != null ? se : Y.markLabel, pn = (le = I == null ? void 0 : I.input) != null ? le : Y.input, gn = Tt({
15613
+ const Q = O_(we), ke = (r = (a = Z == null ? void 0 : Z.root) != null ? a : ie.Root) != null ? r : S_, Mt = (s = (i = Z == null ? void 0 : Z.rail) != null ? i : ie.Rail) != null ? s : w_, rr = (l = (u = Z == null ? void 0 : Z.track) != null ? u : ie.Track) != null ? l : j_, Or = (c = (d = Z == null ? void 0 : Z.thumb) != null ? d : ie.Thumb) != null ? c : R_, bt = (m = (h = Z == null ? void 0 : Z.valueLabel) != null ? h : ie.ValueLabel) != null ? m : C_, Dt = (v = (_ = Z == null ? void 0 : Z.mark) != null ? _ : ie.Mark) != null ? v : A_, Bt = (y = (g = Z == null ? void 0 : Z.markLabel) != null ? g : ie.MarkLabel) != null ? y : P_, Mr = (S = (j = Z == null ? void 0 : Z.input) != null ? j : ie.Input) != null ? S : "input", Ir = (C = I == null ? void 0 : I.root) != null ? C : Y.root, fn = (k = I == null ? void 0 : I.rail) != null ? k : Y.rail, Tr = (R = I == null ? void 0 : I.track) != null ? R : Y.track, nr = (P = I == null ? void 0 : I.thumb) != null ? P : Y.thumb, ar = (O = I == null ? void 0 : I.valueLabel) != null ? O : Y.valueLabel, Ra = (z = I == null ? void 0 : I.mark) != null ? z : Y.mark, Ca = (se = I == null ? void 0 : I.markLabel) != null ? se : Y.markLabel, pn = (le = I == null ? void 0 : I.input) != null ? le : Y.input, gn = Tt({
15614
15614
  elementType: ke,
15615
15615
  getSlotProps: Ft,
15616
15616
  externalSlotProps: Ir,
@@ -15626,7 +15626,7 @@ const S_ = jt("span", {
15626
15626
  ownerState: we,
15627
15627
  className: Q.rail
15628
15628
  }), Pa = Tt({
15629
- elementType: nr,
15629
+ elementType: rr,
15630
15630
  externalSlotProps: Tr,
15631
15631
  additionalProps: {
15632
15632
  style: A({}, Ot[nt].offset(W), Ot[nt].leap(Ue))
@@ -15636,13 +15636,13 @@ const S_ = jt("span", {
15636
15636
  }), Er = Tt({
15637
15637
  elementType: Or,
15638
15638
  getSlotProps: Ar,
15639
- externalSlotProps: ar,
15640
- ownerState: A({}, we, ar == null ? void 0 : ar.ownerState),
15639
+ externalSlotProps: nr,
15640
+ ownerState: A({}, we, nr == null ? void 0 : nr.ownerState),
15641
15641
  className: Q.thumb
15642
15642
  }), Oa = Tt({
15643
15643
  elementType: bt,
15644
- externalSlotProps: or,
15645
- ownerState: A({}, we, or == null ? void 0 : or.ownerState),
15644
+ externalSlotProps: ar,
15645
+ ownerState: A({}, we, ar == null ? void 0 : ar.ownerState),
15646
15646
  className: Q.valueLabel
15647
15647
  }), p = Tt({
15648
15648
  elementType: Dt,
@@ -15661,7 +15661,7 @@ const S_ = jt("span", {
15661
15661
  ownerState: we
15662
15662
  });
15663
15663
  return /* @__PURE__ */ o.jsxs(ke, A({}, gn, {
15664
- children: [/* @__PURE__ */ o.jsx(Mt, A({}, Aa)), /* @__PURE__ */ o.jsx(nr, A({}, Pa)), G.filter((L) => L.value >= De && L.value <= We).map((L, D) => {
15664
+ children: [/* @__PURE__ */ o.jsx(Mt, A({}, Aa)), /* @__PURE__ */ o.jsx(rr, A({}, Pa)), G.filter((L) => L.value >= De && L.value <= We).map((L, D) => {
15665
15665
  const ee = Qn(L.value, De, We), J = Ot[nt].offset(ee);
15666
15666
  let B;
15667
15667
  return de === !1 ? B = q.indexOf(L.value) !== -1 : B = de === "normal" && (E ? L.value >= q[0] && L.value <= q[q.length - 1] : L.value <= q[0]) || de === "inverted" && (E ? L.value <= q[0] || L.value >= q[q.length - 1] : L.value >= q[0]), /* @__PURE__ */ o.jsxs($.Fragment, {
@@ -15692,13 +15692,13 @@ const S_ = jt("span", {
15692
15692
  valueLabelDisplay: Te,
15693
15693
  value: typeof Ee == "function" ? Ee(Be(L), D) : Ee,
15694
15694
  index: D,
15695
- open: Pr === D || rr === D || Te === "on",
15695
+ open: Pr === D || tr === D || Te === "on",
15696
15696
  disabled: Ge
15697
15697
  }, Oa, {
15698
15698
  children: /* @__PURE__ */ o.jsx(Or, A({
15699
15699
  "data-index": D
15700
15700
  }, Er, {
15701
- className: ft(Q.thumb, Er.className, rr === D && Q.active, M === D && Q.focusVisible),
15701
+ className: ft(Q.thumb, Er.className, tr === D && Q.active, M === D && Q.focusVisible),
15702
15702
  style: A({}, J, Ke(D), Er.style),
15703
15703
  children: /* @__PURE__ */ o.jsx(Mr, A({
15704
15704
  "data-index": D,
@@ -15981,7 +15981,7 @@ process.env.NODE_ENV !== "production" && (ku.propTypes = {
15981
15981
  });
15982
15982
  var I_ = "[object Number]";
15983
15983
  function T_(e) {
15984
- return typeof e == "number" || Xt(e) && Qt(e) == I_;
15984
+ return typeof e == "number" || Xt(e) && Zt(e) == I_;
15985
15985
  }
15986
15986
  const E_ = et((e) => {
15987
15987
  const t = wo(), n = e.valueLabelFormat || ((a) => `${a}`);
@@ -15996,6 +15996,7 @@ const E_ = et((e) => {
15996
15996
  textAlign: "center",
15997
15997
  fontSize: "14px",
15998
15998
  opacity: 0.8,
15999
+ lineHeight: 1,
15999
16000
  color: t.palette.text.primary
16000
16001
  },
16001
16002
  children: n(e.velocity)
@@ -16022,7 +16023,7 @@ const E_ = et((e) => {
16022
16023
  ] });
16023
16024
  }), Lu = et(
16024
16025
  ({ store: e }) => {
16025
- const { t } = Zt(), n = jo(() => ({
16026
+ const { t } = br(), n = jo(() => ({
16026
16027
  get valueLabelFormat() {
16027
16028
  return e.currentMotionType === "translate" ? (r) => `v=${t("Jogging.Cartesian.Translation.velocityMmPerSec.lb", { amount: r })}` : (r) => `v=${t("Jogging.Cartesian.Rotation.velocityDegPerSec.lb", { amount: r })}`;
16028
16029
  }
@@ -16032,7 +16033,7 @@ const E_ = et((e) => {
16032
16033
  {
16033
16034
  sx: {
16034
16035
  margin: "0px 20px",
16035
- marginBottom: "12px"
16036
+ marginBottom: "6px"
16036
16037
  },
16037
16038
  children: /* @__PURE__ */ o.jsx(oe, { sx: { width: "380px", maxWidth: "90%", margin: "auto" }, children: /* @__PURE__ */ o.jsx(
16038
16039
  E_,
@@ -16050,7 +16051,7 @@ const E_ = et((e) => {
16050
16051
  }
16051
16052
  ), k_ = et(
16052
16053
  ({ store: e, children: t }) => {
16053
- const { t: n } = Zt();
16054
+ const { t: n } = br();
16054
16055
  function r(d, m) {
16055
16056
  (m === "translate" || m === "rotate") && e.setSelectedCartesianMotionType(m);
16056
16057
  }
@@ -16248,7 +16249,6 @@ const E_ = et((e) => {
16248
16249
  ), L_ = et(
16249
16250
  ({ store: e }) => {
16250
16251
  const t = kt(null);
16251
- Zt();
16252
16252
  function n() {
16253
16253
  const { joints: r } = e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;
16254
16254
  return `[${r.map((a) => parseFloat(a.toFixed(4))).join(", ")}]`;
@@ -16271,7 +16271,6 @@ const E_ = et((e) => {
16271
16271
  children: /* @__PURE__ */ o.jsx(
16272
16272
  bu,
16273
16273
  {
16274
- label: "Pose",
16275
16274
  value: n(),
16276
16275
  ref: t
16277
16276
  }
@@ -16293,7 +16292,6 @@ const E_ = et((e) => {
16293
16292
  }
16294
16293
  return /* @__PURE__ */ o.jsxs(oe, { flexGrow: 1, justifyContent: "space-between", children: [
16295
16294
  /* @__PURE__ */ o.jsx(L_, { store: e }),
16296
- /* @__PURE__ */ o.jsx(oe, { marginTop: "0.8rem" }),
16297
16295
  /* @__PURE__ */ o.jsx(vu, { store: e, children: /* @__PURE__ */ o.jsx(oe, { gap: "0.8rem", children: e.jogger.motionStream.joints.map((a) => {
16298
16296
  var u;
16299
16297
  const s = (u = e.motionGroupSpec.mechanical_joint_limits) == null ? void 0 : u[a.index], i = (s == null ? void 0 : s.lower_limit) !== void 0 ? Pn(s.lower_limit) : void 0, l = (s == null ? void 0 : s.upper_limit) !== void 0 ? Pn(s.upper_limit) : void 0;
@@ -16346,13 +16344,14 @@ const E_ = et((e) => {
16346
16344
  );
16347
16345
  }) }) }),
16348
16346
  /* @__PURE__ */ o.jsx(Iu, { store: e }),
16349
- /* @__PURE__ */ o.jsx(Lu, { store: e })
16347
+ /* @__PURE__ */ o.jsx(Lu, { store: e }),
16348
+ t
16350
16349
  ] });
16351
16350
  }
16352
16351
  );
16353
16352
  var Ii = function() {
16354
16353
  try {
16355
- var e = tr(Object, "defineProperty");
16354
+ var e = er(Object, "defineProperty");
16356
16355
  return e({}, "", {}), e;
16357
16356
  } catch {
16358
16357
  }
@@ -16628,7 +16627,7 @@ class Yo {
16628
16627
  async deactivate(t = {}) {
16629
16628
  if (this.activationState === "inactive") return;
16630
16629
  const n = this.jogger.activeWebsocket;
16631
- this.activationState = "inactive", this.jogger.setJoggingMode("increment"), n && await n.closed(), t.requireManualReactivation && pr(() => {
16630
+ this.activationState = "inactive", this.jogger.setJoggingMode("increment"), n && await n.closed(), t.requireManualReactivation && fr(() => {
16632
16631
  this.manualActivationRequired = !0;
16633
16632
  });
16634
16633
  }
@@ -16642,7 +16641,7 @@ class Yo {
16642
16641
  jogger: i
16643
16642
  } = this;
16644
16643
  if (this.activationState !== "loading" && !(this.manualActivationRequired && !t.manual)) {
16645
- pr(() => {
16644
+ fr(() => {
16646
16645
  this.activationState = "loading", this.activationError = null;
16647
16646
  });
16648
16647
  try {
@@ -16665,12 +16664,12 @@ class Yo {
16665
16664
  try {
16666
16665
  i.stop(), await i.activeWebsocket.nextMessage();
16667
16666
  } catch (l) {
16668
- pr(() => {
16667
+ fr(() => {
16669
16668
  this.activationState = "inactive", this.activationError = l;
16670
16669
  });
16671
16670
  return;
16672
16671
  }
16673
- pr(() => {
16672
+ fr(() => {
16674
16673
  this.activationState = "active", t.manual && (this.manualActivationRequired = !1);
16675
16674
  });
16676
16675
  }
@@ -16811,12 +16810,12 @@ const db = rn(
16811
16810
  loadingError: null
16812
16811
  }));
16813
16812
  async function r() {
16814
- pr(() => {
16813
+ fr(() => {
16815
16814
  n.loadingError = null, n.joggingStore = null;
16816
16815
  });
16817
16816
  try {
16818
16817
  const a = await t.connectJogger(e.motionGroupId), s = await Yo.loadFor(a);
16819
- pr(() => {
16818
+ fr(() => {
16820
16819
  n.joggingStore = s;
16821
16820
  }), e.onSetup && e.onSetup(s);
16822
16821
  } catch (a) {