@wandelbots/wandelbots-js-react-components 2.26.0-pr.feature-update-to-react-19.361.fe8f91b → 2.26.0-pr.feature-update-to-react-19.361.fad9b97

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
@@ -2,8 +2,8 @@ var Gc = Object.defineProperty;
2
2
  var Jc = (e, t, r) => t in e ? Gc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var Ir = (e, t, r) => Jc(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import * as B from "react";
5
- import qc, { forwardRef as _e, useEffect as At, useState as qt, useRef as gr, useCallback as ql, Suspense as Hl, lazy as Hc } from "react";
6
- import { Environment as Wc, Lightformer as Ut, Line as Wl, useGLTF as Qc } from "@react-three/drei";
5
+ import qc, { forwardRef as _e, useEffect as bt, useState as Mt, useRef as gr, useCallback as ql, Suspense as Hl, lazy as Hc } from "react";
6
+ import { Environment as Wc, Lightformer as kt, Line as Wl, useGLTF as Qc } from "@react-three/drei";
7
7
  import { useThree as Kc } from "@react-three/fiber";
8
8
  import * as xe from "three";
9
9
  import { Vector3 as qa, Matrix4 as Er, Quaternion as Yc } from "three";
@@ -78,7 +78,7 @@ function $d() {
78
78
  return "Profiler";
79
79
  case x:
80
80
  return "StrictMode";
81
- case z:
81
+ case D:
82
82
  return "Suspense";
83
83
  case H:
84
84
  return "SuspenseList";
@@ -93,9 +93,9 @@ function $d() {
93
93
  return "Portal";
94
94
  case F:
95
95
  return ($.displayName || "Context") + ".Provider";
96
- case D:
97
- return ($._context.displayName || "Context") + ".Consumer";
98
96
  case N:
97
+ return ($._context.displayName || "Context") + ".Consumer";
98
+ case z:
99
99
  var Q = $.render;
100
100
  return $ = $.displayName, $ || ($ = Q.displayName || Q.name || "", $ = $ !== "" ? "ForwardRef(" + $ + ")" : "ForwardRef"), $;
101
101
  case j:
@@ -172,7 +172,7 @@ function $d() {
172
172
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
173
173
  )), $ = this.props.ref, $ !== void 0 ? $ : null;
174
174
  }
175
- function c($, Q, oe, we, He, Ee, jt, Ot) {
175
+ function c($, Q, oe, we, He, Ee, $t, wt) {
176
176
  return oe = Ee.ref, $ = {
177
177
  $$typeof: y,
178
178
  type: $,
@@ -196,15 +196,15 @@ function $d() {
196
196
  configurable: !1,
197
197
  enumerable: !1,
198
198
  writable: !0,
199
- value: jt
199
+ value: $t
200
200
  }), Object.defineProperty($, "_debugTask", {
201
201
  configurable: !1,
202
202
  enumerable: !1,
203
203
  writable: !0,
204
- value: Ot
204
+ value: wt
205
205
  }), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
206
206
  }
207
- function d($, Q, oe, we, He, Ee, jt, Ot) {
207
+ function d($, Q, oe, we, He, Ee, $t, wt) {
208
208
  var me = Q.children;
209
209
  if (me !== void 0)
210
210
  if (we)
@@ -250,14 +250,14 @@ React keys must be passed directly to JSX without using spread:
250
250
  He,
251
251
  o(),
252
252
  oe,
253
- jt,
254
- Ot
253
+ $t,
254
+ wt
255
255
  );
256
256
  }
257
257
  function p($) {
258
258
  typeof $ == "object" && $ !== null && $.$$typeof === y && $._store && ($._store.validated = 1);
259
259
  }
260
- var u = qc, y = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), D = Symbol.for("react.consumer"), F = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), H = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), f = Symbol.for("react.client.reference"), M = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = Object.prototype.hasOwnProperty, J = Array.isArray, q = console.createTask ? console.createTask : function() {
260
+ var u = qc, y = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), F = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), H = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), f = Symbol.for("react.client.reference"), M = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = Object.prototype.hasOwnProperty, J = Array.isArray, q = console.createTask ? console.createTask : function() {
261
261
  return null;
262
262
  };
263
263
  u = {
@@ -307,7 +307,7 @@ function UC() {
307
307
  function kd({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
308
308
  return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
309
309
  /* @__PURE__ */ b.jsx(
310
- Ut,
310
+ kt,
311
311
  {
312
312
  intensity: 5,
313
313
  "rotation-x": Math.PI / 2,
@@ -316,7 +316,7 @@ function kd({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
316
316
  }
317
317
  ),
318
318
  /* @__PURE__ */ b.jsx("group", { rotation: [0, 0.5, 0], children: /* @__PURE__ */ b.jsx("group", { children: e.map((t, r) => /* @__PURE__ */ b.jsx(
319
- Ut,
319
+ kt,
320
320
  {
321
321
  form: "circle",
322
322
  intensity: 5,
@@ -327,7 +327,7 @@ function kd({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
327
327
  r
328
328
  )) }) }),
329
329
  /* @__PURE__ */ b.jsx(
330
- Ut,
330
+ kt,
331
331
  {
332
332
  intensity: 40,
333
333
  "rotation-y": Math.PI / 2,
@@ -336,7 +336,7 @@ function kd({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
336
336
  }
337
337
  ),
338
338
  /* @__PURE__ */ b.jsx(
339
- Ut,
339
+ kt,
340
340
  {
341
341
  intensity: 20,
342
342
  "rotation-y": -Math.PI,
@@ -345,7 +345,7 @@ function kd({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
345
345
  }
346
346
  ),
347
347
  /* @__PURE__ */ b.jsx(
348
- Ut,
348
+ kt,
349
349
  {
350
350
  "rotation-y": Math.PI / 2,
351
351
  position: [-5, -1, -1],
@@ -354,7 +354,7 @@ function kd({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
354
354
  }
355
355
  ),
356
356
  /* @__PURE__ */ b.jsx(
357
- Ut,
357
+ kt,
358
358
  {
359
359
  "rotation-y": -Math.PI / 2,
360
360
  position: [10, 1, 0],
@@ -363,7 +363,7 @@ function kd({ positions: e = [2, 0, 2, 0, 2, 0, 2, 0] }) {
363
363
  }
364
364
  ),
365
365
  /* @__PURE__ */ b.jsx(
366
- Ut,
366
+ kt,
367
367
  {
368
368
  form: "ring",
369
369
  color: "white",
@@ -539,10 +539,10 @@ var zd = /[A-Z]|^ms/g, Dd = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Kl = function(t) {
539
539
  case "animationName":
540
540
  if (typeof r == "string")
541
541
  return r.replace(Dd, function(a, o, n) {
542
- return _t = {
542
+ return Rt = {
543
543
  name: o,
544
544
  styles: n,
545
- next: _t
545
+ next: Rt
546
546
  }, o;
547
547
  });
548
548
  }
@@ -560,20 +560,20 @@ function Wa(e, t, r) {
560
560
  case "object": {
561
561
  var o = r;
562
562
  if (o.anim === 1)
563
- return _t = {
563
+ return Rt = {
564
564
  name: o.name,
565
565
  styles: o.styles,
566
- next: _t
566
+ next: Rt
567
567
  }, o.name;
568
568
  var n = r;
569
569
  if (n.styles !== void 0) {
570
570
  var s = n.next;
571
571
  if (s !== void 0)
572
572
  for (; s !== void 0; )
573
- _t = {
573
+ Rt = {
574
574
  name: s.name,
575
575
  styles: s.styles,
576
- next: _t
576
+ next: Rt
577
577
  }, s = s.next;
578
578
  var l = n.styles + ";";
579
579
  return l;
@@ -613,12 +613,12 @@ function Gd(e, t, r) {
613
613
  }
614
614
  return a;
615
615
  }
616
- var ns = /label:\s*([^\s;{]+)\s*(;|$)/g, _t;
616
+ var ns = /label:\s*([^\s;{]+)\s*(;|$)/g, Rt;
617
617
  function Jd(e, t, r) {
618
618
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
619
619
  return e[0];
620
620
  var a = !0, o = "";
621
- _t = void 0;
621
+ Rt = void 0;
622
622
  var n = e[0];
623
623
  if (n == null || n.raw === void 0)
624
624
  a = !1, o += Wa(r, t, n);
@@ -638,7 +638,7 @@ function Jd(e, t, r) {
638
638
  return {
639
639
  name: p,
640
640
  styles: o,
641
- next: _t
641
+ next: Rt
642
642
  };
643
643
  }
644
644
  /**
@@ -945,7 +945,7 @@ function rp(e) {
945
945
  }
946
946
  const ap = {
947
947
  borderRadius: 4
948
- }, Mt = process.env.NODE_ENV !== "production" ? S.oneOfType([S.number, S.string, S.object, S.array]) : {};
948
+ }, jt = process.env.NODE_ENV !== "production" ? S.oneOfType([S.number, S.string, S.object, S.array]) : {};
949
949
  function Wr(e, t) {
950
950
  return t ? Be(e, t, {
951
951
  clone: !1
@@ -1075,7 +1075,7 @@ function Oe(e) {
1075
1075
  });
1076
1076
  };
1077
1077
  return n.propTypes = process.env.NODE_ENV !== "production" ? {
1078
- [t]: Mt
1078
+ [t]: jt
1079
1079
  } : {}, n.filterProps = [t], n;
1080
1080
  }
1081
1081
  function lp(e) {
@@ -1124,11 +1124,11 @@ function sa(e, t, r, a) {
1124
1124
  function po(e) {
1125
1125
  return sa(e, "spacing", 8, "spacing");
1126
1126
  }
1127
- function Nt(e, t) {
1127
+ function zt(e, t) {
1128
1128
  return typeof t == "string" || t == null ? t : e(t);
1129
1129
  }
1130
1130
  function up(e, t) {
1131
- return (r) => e.reduce((a, o) => (a[o] = Nt(t, r), a), {});
1131
+ return (r) => e.reduce((a, o) => (a[o] = zt(t, r), a), {});
1132
1132
  }
1133
1133
  function hp(e, t, r, a) {
1134
1134
  if (!t.includes(r))
@@ -1143,14 +1143,14 @@ function ei(e, t) {
1143
1143
  function be(e) {
1144
1144
  return ei(e, io);
1145
1145
  }
1146
- be.propTypes = process.env.NODE_ENV !== "production" ? io.reduce((e, t) => (e[t] = Mt, e), {}) : {};
1146
+ be.propTypes = process.env.NODE_ENV !== "production" ? io.reduce((e, t) => (e[t] = jt, e), {}) : {};
1147
1147
  be.filterProps = io;
1148
1148
  function Se(e) {
1149
1149
  return ei(e, co);
1150
1150
  }
1151
- Se.propTypes = process.env.NODE_ENV !== "production" ? co.reduce((e, t) => (e[t] = Mt, e), {}) : {};
1151
+ Se.propTypes = process.env.NODE_ENV !== "production" ? co.reduce((e, t) => (e[t] = jt, e), {}) : {};
1152
1152
  Se.filterProps = co;
1153
- process.env.NODE_ENV !== "production" && pp.reduce((e, t) => (e[t] = Mt, e), {});
1153
+ process.env.NODE_ENV !== "production" && pp.reduce((e, t) => (e[t] = jt, e), {});
1154
1154
  function ti(e = 8, t = po({
1155
1155
  spacing: e
1156
1156
  })) {
@@ -1181,54 +1181,54 @@ function Ye(e, t) {
1181
1181
  const mp = Ye("border", Qe), fp = Ye("borderTop", Qe), yp = Ye("borderRight", Qe), gp = Ye("borderBottom", Qe), bp = Ye("borderLeft", Qe), Sp = Ye("borderColor"), vp = Ye("borderTopColor"), xp = Ye("borderRightColor"), Op = Ye("borderBottomColor"), wp = Ye("borderLeftColor"), Cp = Ye("outline", Qe), Pp = Ye("outlineColor"), ho = (e) => {
1182
1182
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1183
1183
  const t = sa(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (a) => ({
1184
- borderRadius: Nt(t, a)
1184
+ borderRadius: zt(t, a)
1185
1185
  });
1186
1186
  return et(e, e.borderRadius, r);
1187
1187
  }
1188
1188
  return null;
1189
1189
  };
1190
1190
  ho.propTypes = process.env.NODE_ENV !== "production" ? {
1191
- borderRadius: Mt
1191
+ borderRadius: jt
1192
1192
  } : {};
1193
1193
  ho.filterProps = ["borderRadius"];
1194
1194
  uo(mp, fp, yp, gp, bp, Sp, vp, xp, Op, wp, ho, Cp, Pp);
1195
1195
  const mo = (e) => {
1196
1196
  if (e.gap !== void 0 && e.gap !== null) {
1197
1197
  const t = sa(e.theme, "spacing", 8, "gap"), r = (a) => ({
1198
- gap: Nt(t, a)
1198
+ gap: zt(t, a)
1199
1199
  });
1200
1200
  return et(e, e.gap, r);
1201
1201
  }
1202
1202
  return null;
1203
1203
  };
1204
1204
  mo.propTypes = process.env.NODE_ENV !== "production" ? {
1205
- gap: Mt
1205
+ gap: jt
1206
1206
  } : {};
1207
1207
  mo.filterProps = ["gap"];
1208
1208
  const fo = (e) => {
1209
1209
  if (e.columnGap !== void 0 && e.columnGap !== null) {
1210
1210
  const t = sa(e.theme, "spacing", 8, "columnGap"), r = (a) => ({
1211
- columnGap: Nt(t, a)
1211
+ columnGap: zt(t, a)
1212
1212
  });
1213
1213
  return et(e, e.columnGap, r);
1214
1214
  }
1215
1215
  return null;
1216
1216
  };
1217
1217
  fo.propTypes = process.env.NODE_ENV !== "production" ? {
1218
- columnGap: Mt
1218
+ columnGap: jt
1219
1219
  } : {};
1220
1220
  fo.filterProps = ["columnGap"];
1221
1221
  const yo = (e) => {
1222
1222
  if (e.rowGap !== void 0 && e.rowGap !== null) {
1223
1223
  const t = sa(e.theme, "spacing", 8, "rowGap"), r = (a) => ({
1224
- rowGap: Nt(t, a)
1224
+ rowGap: zt(t, a)
1225
1225
  });
1226
1226
  return et(e, e.rowGap, r);
1227
1227
  }
1228
1228
  return null;
1229
1229
  };
1230
1230
  yo.propTypes = process.env.NODE_ENV !== "production" ? {
1231
- rowGap: Mt
1231
+ rowGap: jt
1232
1232
  } : {};
1233
1233
  yo.filterProps = ["rowGap"];
1234
1234
  const Vp = Oe({
@@ -1932,7 +1932,7 @@ function li(e = {}) {
1932
1932
  su(l, t, r);
1933
1933
  }
1934
1934
  return (l, i = {}) => {
1935
- Hd(l, (z) => z.filter((H) => H !== Sr));
1935
+ Hd(l, (D) => D.filter((H) => H !== Sr));
1936
1936
  const {
1937
1937
  name: c,
1938
1938
  slot: d,
@@ -1949,26 +1949,26 @@ function li(e = {}) {
1949
1949
  ), x = u || !1;
1950
1950
  let I = No;
1951
1951
  d === "Root" || d === "root" ? I = a : d ? I = o : du(l) && (I = void 0);
1952
- const D = qd(l, {
1952
+ const N = qd(l, {
1953
1953
  shouldForwardProp: I,
1954
1954
  label: iu(c, d),
1955
1955
  ...g
1956
- }), F = (z) => {
1957
- if (z.__emotion_real === z)
1958
- return z;
1959
- if (typeof z == "function")
1956
+ }), F = (D) => {
1957
+ if (D.__emotion_real === D)
1958
+ return D;
1959
+ if (typeof D == "function")
1960
1960
  return function(j) {
1961
- return La(j, z);
1961
+ return La(j, D);
1962
1962
  };
1963
- if (lt(z)) {
1964
- const H = ni(z);
1963
+ if (lt(D)) {
1964
+ const H = ni(D);
1965
1965
  return H.variants ? function(U) {
1966
1966
  return La(U, H);
1967
1967
  } : H.style;
1968
1968
  }
1969
- return z;
1970
- }, N = (...z) => {
1971
- const H = [], j = z.map(F), U = [];
1969
+ return D;
1970
+ }, z = (...D) => {
1971
+ const H = [], j = D.map(F), U = [];
1972
1972
  if (H.push(n), c && y && U.push(function(L) {
1973
1973
  var Z, ve;
1974
1974
  const q = (ve = (Z = L.theme.components) == null ? void 0 : Z[c]) == null ? void 0 : ve.styleOverrides;
@@ -1987,10 +1987,10 @@ function li(e = {}) {
1987
1987
  let q;
1988
1988
  q = [...L, ...M, ...J], q.raw = [...L, ...M.raw, ...J], H.unshift(q);
1989
1989
  }
1990
- const k = [...H, ...j, ...U], f = D(...k);
1990
+ const k = [...H, ...j, ...U], f = N(...k);
1991
1991
  return l.muiName && (f.muiName = l.muiName), process.env.NODE_ENV !== "production" && (f.displayName = lu(c, d, l)), f;
1992
1992
  };
1993
- return D.withConfig && (N.withConfig = D.withConfig), N;
1993
+ return N.withConfig && (z.withConfig = N.withConfig), z;
1994
1994
  };
1995
1995
  }
1996
1996
  function lu(e, t, r) {
@@ -2300,39 +2300,39 @@ function Vu(e, t = {}) {
2300
2300
  [l]: g,
2301
2301
  ...m
2302
2302
  } = n;
2303
- if (Object.entries(m || {}).forEach(([F, N]) => {
2303
+ if (Object.entries(m || {}).forEach(([F, z]) => {
2304
2304
  const {
2305
- vars: z,
2305
+ vars: D,
2306
2306
  css: H,
2307
2307
  varsWithDefaults: j
2308
- } = zo(N, t);
2308
+ } = zo(z, t);
2309
2309
  u = Be(u, j), y[F] = {
2310
2310
  css: H,
2311
- vars: z
2311
+ vars: D
2312
2312
  };
2313
2313
  }), g) {
2314
2314
  const {
2315
2315
  css: F,
2316
- vars: N,
2317
- varsWithDefaults: z
2316
+ vars: z,
2317
+ varsWithDefaults: D
2318
2318
  } = zo(g, t);
2319
- u = Be(u, z), y[l] = {
2319
+ u = Be(u, D), y[l] = {
2320
2320
  css: F,
2321
- vars: N
2321
+ vars: z
2322
2322
  };
2323
2323
  }
2324
- function x(F, N) {
2324
+ function x(F, z) {
2325
2325
  var H, j;
2326
- let z = o;
2327
- if (o === "class" && (z = ".%s"), o === "data" && (z = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (z = `[${o}="%s"]`), F) {
2328
- if (z === "media")
2326
+ let D = o;
2327
+ if (o === "class" && (D = ".%s"), o === "data" && (D = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (D = `[${o}="%s"]`), F) {
2328
+ if (D === "media")
2329
2329
  return e.defaultColorScheme === F ? ":root" : {
2330
2330
  [`@media (prefers-color-scheme: ${((j = (H = n[F]) == null ? void 0 : H.palette) == null ? void 0 : j.mode) || F})`]: {
2331
- ":root": N
2331
+ ":root": z
2332
2332
  }
2333
2333
  };
2334
- if (z)
2335
- return e.defaultColorScheme === F ? `:root, ${z.replace("%s", String(F))}` : z.replace("%s", String(F));
2334
+ if (D)
2335
+ return e.defaultColorScheme === F ? `:root, ${D.replace("%s", String(F))}` : D.replace("%s", String(F));
2336
2336
  }
2337
2337
  return ":root";
2338
2338
  }
@@ -2343,38 +2343,38 @@ function Vu(e, t = {}) {
2343
2343
  ...c
2344
2344
  };
2345
2345
  return Object.entries(y).forEach(([, {
2346
- vars: N
2346
+ vars: z
2347
2347
  }]) => {
2348
- F = Be(F, N);
2348
+ F = Be(F, z);
2349
2349
  }), F;
2350
2350
  },
2351
2351
  generateStyleSheets: () => {
2352
2352
  var U, k;
2353
- const F = [], N = e.defaultColorScheme || "light";
2354
- function z(f, M) {
2353
+ const F = [], z = e.defaultColorScheme || "light";
2354
+ function D(f, M) {
2355
2355
  Object.keys(M).length && F.push(typeof f == "string" ? {
2356
2356
  [f]: {
2357
2357
  ...M
2358
2358
  }
2359
2359
  } : f);
2360
2360
  }
2361
- z(r(void 0, {
2361
+ D(r(void 0, {
2362
2362
  ...d
2363
2363
  }), d);
2364
2364
  const {
2365
- [N]: H,
2365
+ [z]: H,
2366
2366
  ...j
2367
2367
  } = y;
2368
2368
  if (H) {
2369
2369
  const {
2370
2370
  css: f
2371
- } = H, M = (k = (U = n[N]) == null ? void 0 : U.palette) == null ? void 0 : k.mode, L = !a && M ? {
2371
+ } = H, M = (k = (U = n[z]) == null ? void 0 : U.palette) == null ? void 0 : k.mode, L = !a && M ? {
2372
2372
  colorScheme: M,
2373
2373
  ...f
2374
2374
  } : {
2375
2375
  ...f
2376
2376
  };
2377
- z(r(N, {
2377
+ D(r(z, {
2378
2378
  ...L
2379
2379
  }), L);
2380
2380
  }
@@ -2388,7 +2388,7 @@ function Vu(e, t = {}) {
2388
2388
  } : {
2389
2389
  ...M
2390
2390
  };
2391
- z(r(f, {
2391
+ D(r(f, {
2392
2392
  ...J
2393
2393
  }), J);
2394
2394
  }), F;
@@ -2467,7 +2467,7 @@ const Eu = (e) => ({
2467
2467
  }), r = Be(r, et({
2468
2468
  theme: t
2469
2469
  }, s, (i, c) => e.useFlexGap ? {
2470
- gap: Nt(a, i)
2470
+ gap: zt(a, i)
2471
2471
  } : {
2472
2472
  // The useFlexGap={false} implement relies on each child to give up control of the margin.
2473
2473
  // We need to reset the margin to avoid double spacing.
@@ -2475,7 +2475,7 @@ const Eu = (e) => ({
2475
2475
  margin: 0
2476
2476
  },
2477
2477
  "& > :not(style) ~ :not(style)": {
2478
- [`margin${Eu(c ? n[c] : e.direction)}`]: Nt(a, i)
2478
+ [`margin${Eu(c ? n[c] : e.direction)}`]: zt(a, i)
2479
2479
  }
2480
2480
  }));
2481
2481
  }
@@ -2497,18 +2497,18 @@ function ju(e = {}) {
2497
2497
  divider: m,
2498
2498
  children: x,
2499
2499
  className: I,
2500
- useFlexGap: D = !1,
2500
+ useFlexGap: N = !1,
2501
2501
  ...F
2502
- } = p, N = {
2502
+ } = p, z = {
2503
2503
  direction: y,
2504
2504
  spacing: g,
2505
- useFlexGap: D
2506
- }, z = o();
2505
+ useFlexGap: N
2506
+ }, D = o();
2507
2507
  return /* @__PURE__ */ b.jsx(n, {
2508
2508
  as: u,
2509
- ownerState: N,
2509
+ ownerState: z,
2510
2510
  ref: c,
2511
- className: yt(z.root, I),
2511
+ className: yt(D.root, I),
2512
2512
  ...F,
2513
2513
  children: m ? Iu(x, m) : x
2514
2514
  });
@@ -2739,7 +2739,7 @@ function Bn(e) {
2739
2739
  color: m,
2740
2740
  name: x,
2741
2741
  mainShade: I = 500,
2742
- lightShade: D = 300,
2742
+ lightShade: N = 300,
2743
2743
  darkShade: F = 700
2744
2744
  }) => {
2745
2745
  if (m = {
@@ -2762,7 +2762,7 @@ const theme1 = createTheme({ palette: {
2762
2762
  const theme2 = createTheme({ palette: {
2763
2763
  primary: { main: green[500] },
2764
2764
  } });` : Tt(12, x ? ` (${x})` : "", JSON.stringify(m.main)));
2765
- return Ss(m, "light", D, a), Ss(m, "dark", F, a), m.contrastText || (m.contrastText = p(m.main)), m;
2765
+ return Ss(m, "light", N, a), Ss(m, "dark", F, a), m.contrastText || (m.contrastText = p(m.main)), m;
2766
2766
  };
2767
2767
  let y;
2768
2768
  return t === "light" ? y = pi() : t === "dark" && (y = ui()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Be({
@@ -2871,18 +2871,18 @@ function qu(e, t) {
2871
2871
  ...p
2872
2872
  } = typeof t == "function" ? t(e) : t;
2873
2873
  process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof i != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
2874
- const u = a / 14, y = d || ((x) => `${x / i * u}rem`), g = (x, I, D, F, N) => ({
2874
+ const u = a / 14, y = d || ((x) => `${x / i * u}rem`), g = (x, I, N, F, z) => ({
2875
2875
  fontFamily: r,
2876
2876
  fontWeight: x,
2877
2877
  fontSize: y(I),
2878
2878
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2879
- lineHeight: D,
2879
+ lineHeight: N,
2880
2880
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2881
2881
  // across font-families can cause issues with the kerning.
2882
2882
  ...r === xs ? {
2883
2883
  letterSpacing: `${Ju(F / I)}em`
2884
2884
  } : {},
2885
- ...N,
2885
+ ...z,
2886
2886
  ...c
2887
2887
  }), m = {
2888
2888
  h1: g(o, 96, 1.167, -1.5),
@@ -3053,13 +3053,13 @@ function pn(e = {}, ...t) {
3053
3053
  const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], g = (m, x) => {
3054
3054
  let I;
3055
3055
  for (I in m) {
3056
- const D = m[I];
3057
- if (y.includes(I) && Object.keys(D).length > 0) {
3056
+ const N = m[I];
3057
+ if (y.includes(I) && Object.keys(N).length > 0) {
3058
3058
  if (process.env.NODE_ENV !== "production") {
3059
3059
  const F = ia("", I);
3060
3060
  console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${I}\` internal state.`, "You can not override it like this: ", JSON.stringify(m, null, 2), "", `Instead, you need to use the '&.${F}' syntax:`, JSON.stringify({
3061
3061
  root: {
3062
- [`&.${F}`]: D
3062
+ [`&.${F}`]: N
3063
3063
  }
3064
3064
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3065
3065
  `));
@@ -3245,12 +3245,12 @@ function uh(e = {}, ...t) {
3245
3245
  } = r, I = {
3246
3246
  ...x
3247
3247
  };
3248
- let D = y;
3249
- if ((p === "dark" && !("dark" in r) || p === "light" && !("light" in r)) && (D = !0), !D)
3248
+ let N = y;
3249
+ if ((p === "dark" && !("dark" in r) || p === "light" && !("light" in r)) && (N = !0), !N)
3250
3250
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : Tt(21, p));
3251
- const F = Do(I, D, c, p);
3251
+ const F = Do(I, N, c, p);
3252
3252
  g && !I.light && Do(I, g, void 0, "light"), m && !I.dark && Do(I, m, void 0, "dark");
3253
- let N = {
3253
+ let z = {
3254
3254
  defaultColorScheme: p,
3255
3255
  ...F,
3256
3256
  cssVarPrefix: n,
@@ -3264,8 +3264,8 @@ function uh(e = {}, ...t) {
3264
3264
  },
3265
3265
  spacing: dh(c.spacing)
3266
3266
  };
3267
- Object.keys(N.colorSchemes).forEach((k) => {
3268
- const f = N.colorSchemes[k].palette, M = (L) => {
3267
+ Object.keys(z.colorSchemes).forEach((k) => {
3268
+ const f = z.colorSchemes[k].palette, M = (L) => {
3269
3269
  const J = L.split("-"), q = J[1], re = J[2];
3270
3270
  return u(L, f[q][re]);
3271
3271
  };
@@ -3283,30 +3283,30 @@ function uh(e = {}, ...t) {
3283
3283
  const J = f[L];
3284
3284
  L !== "tonalOffset" && J && typeof J == "object" && (J.main && E(f[L], "mainChannel", qr(Hr(J.main))), J.light && E(f[L], "lightChannel", qr(Hr(J.light))), J.dark && E(f[L], "darkChannel", qr(Hr(J.dark))), J.contrastText && E(f[L], "contrastTextChannel", qr(Hr(J.contrastText))), L === "text" && (mt(f[L], "primary"), mt(f[L], "secondary")), L === "action" && (J.active && mt(f[L], "active"), J.selected && mt(f[L], "selected")));
3285
3285
  });
3286
- }), N = t.reduce((k, f) => Be(k, f), N);
3287
- const z = {
3286
+ }), z = t.reduce((k, f) => Be(k, f), z);
3287
+ const D = {
3288
3288
  prefix: n,
3289
3289
  disableCssColorScheme: o,
3290
3290
  shouldSkipGeneratingVar: s,
3291
- getSelector: ih(N)
3291
+ getSelector: ih(z)
3292
3292
  }, {
3293
3293
  vars: H,
3294
3294
  generateThemeVars: j,
3295
3295
  generateStyleSheets: U
3296
- } = Vu(N, z);
3297
- return N.vars = H, Object.entries(N.colorSchemes[N.defaultColorScheme]).forEach(([k, f]) => {
3298
- N[k] = f;
3299
- }), N.generateThemeVars = j, N.generateStyleSheets = U, N.generateSpacing = function() {
3296
+ } = Vu(z, D);
3297
+ return z.vars = H, Object.entries(z.colorSchemes[z.defaultColorScheme]).forEach(([k, f]) => {
3298
+ z[k] = f;
3299
+ }), z.generateThemeVars = j, z.generateStyleSheets = U, z.generateSpacing = function() {
3300
3300
  return ti(c.spacing, po(this));
3301
- }, N.getColorSchemeSelector = _u(l), N.spacing = N.generateSpacing(), N.shouldSkipGeneratingVar = s, N.unstable_sxConfig = {
3301
+ }, z.getColorSchemeSelector = _u(l), z.spacing = z.generateSpacing(), z.shouldSkipGeneratingVar = s, z.unstable_sxConfig = {
3302
3302
  ...la,
3303
3303
  ...c == null ? void 0 : c.unstable_sxConfig
3304
- }, N.unstable_sx = function(f) {
3304
+ }, z.unstable_sx = function(f) {
3305
3305
  return Sr({
3306
3306
  sx: f,
3307
3307
  theme: this
3308
3308
  });
3309
- }, N.toRuntimeSource = hi, N;
3309
+ }, z.toRuntimeSource = hi, z;
3310
3310
  }
3311
3311
  function ws(e, t, r) {
3312
3312
  e.colorSchemes && r && (e.colorSchemes[t] = {
@@ -3366,7 +3366,7 @@ const hh = yi(), mh = "$$material";
3366
3366
  function Ln(e) {
3367
3367
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
3368
3368
  }
3369
- const fh = (e) => Ln(e) && e !== "classes", bt = li({
3369
+ const fh = (e) => Ln(e) && e !== "classes", St = li({
3370
3370
  themeId: mh,
3371
3371
  defaultTheme: hh,
3372
3372
  rootShouldForwardProp: fh
@@ -3376,7 +3376,7 @@ function Fn(e) {
3376
3376
  return xu(e);
3377
3377
  }
3378
3378
  const mr = ju({
3379
- createStyledComponent: bt("div", {
3379
+ createStyledComponent: St("div", {
3380
3380
  name: "MuiStack",
3381
3381
  slot: "Root"
3382
3382
  }),
@@ -3555,7 +3555,7 @@ const bh = ({
3555
3555
  ...r
3556
3556
  }, a) => /* @__PURE__ */ B.createElement("svg", { width: 21, height: 21, viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("g", { id: "JogPlus" }, /* @__PURE__ */ B.createElement("g", { id: "Plus" }, /* @__PURE__ */ B.createElement("path", { d: "M0 13V8H8V13H0Z", fill: "white" }), /* @__PURE__ */ B.createElement("path", { d: "M8 0L13 2.18557e-07L13 21H8L8 0Z", fill: "white" }), /* @__PURE__ */ B.createElement("path", { d: "M13 13V8H21V13H13Z", fill: "white" })))), Oh = _e(xh);
3557
3557
  function Nn(e) {
3558
- At(e, []);
3558
+ bt(e, []);
3559
3559
  }
3560
3560
  function wh(e) {
3561
3561
  Nn(() => Ql(e));
@@ -3586,14 +3586,14 @@ const Cs = xr(
3586
3586
  activeJoggingDirection: s,
3587
3587
  ...l
3588
3588
  }) => {
3589
- var F, N, z, H, j, U, k;
3589
+ var F, z, D, H, j, U, k;
3590
3590
  ca(() => {
3591
3591
  const f = r(), M = u.current;
3592
3592
  M && (M.textContent = f);
3593
3593
  });
3594
- const i = qe(), [c, d] = qt(null);
3595
- At(() => {
3596
- n && D();
3594
+ const i = qe(), [c, d] = Mt(null);
3595
+ bt(() => {
3596
+ n && N();
3597
3597
  }, [n]);
3598
3598
  const p = s || c, u = gr(null);
3599
3599
  e || (e = {
@@ -3619,9 +3619,9 @@ const Cs = xr(
3619
3619
  }
3620
3620
  }, m = {
3621
3621
  ...g,
3622
- backgroundColor: (N = e.buttonBackgroundColor) == null ? void 0 : N.default,
3622
+ backgroundColor: (z = e.buttonBackgroundColor) == null ? void 0 : z.default,
3623
3623
  ":hover": {
3624
- backgroundColor: (z = e.buttonBackgroundColor) == null ? void 0 : z.hovered
3624
+ backgroundColor: (D = e.buttonBackgroundColor) == null ? void 0 : D.hovered
3625
3625
  },
3626
3626
  ":active": {
3627
3627
  backgroundColor: (H = e.buttonBackgroundColor) == null ? void 0 : H.pressed,
@@ -3645,7 +3645,7 @@ const Cs = xr(
3645
3645
  function I(f, M) {
3646
3646
  n || f.button === 0 && (d(M), a(M));
3647
3647
  }
3648
- function D() {
3648
+ function N() {
3649
3649
  d(null), o();
3650
3650
  }
3651
3651
  return /* @__PURE__ */ b.jsxs(mr, { height: "64px", direction: "row", justifyContent: "center", ...l, children: [
@@ -3655,8 +3655,8 @@ const Cs = xr(
3655
3655
  disabled: n,
3656
3656
  disableRipple: !0,
3657
3657
  onPointerDown: (f) => I(f, "-"),
3658
- onPointerUp: D,
3659
- onPointerOut: D,
3658
+ onPointerUp: N,
3659
+ onPointerOut: N,
3660
3660
  size: "large",
3661
3661
  sx: {
3662
3662
  ...p === "-" ? x : m,
@@ -3724,8 +3724,8 @@ const Cs = xr(
3724
3724
  disableRipple: !0,
3725
3725
  disabled: n,
3726
3726
  onPointerDown: (f) => I(f, "+"),
3727
- onPointerUp: D,
3728
- onPointerOut: D,
3727
+ onPointerUp: N,
3728
+ onPointerOut: N,
3729
3729
  size: "large",
3730
3730
  sx: {
3731
3731
  ...p === "+" ? x : m,
@@ -3754,7 +3754,7 @@ const Vh = (e) => {
3754
3754
  root: ["root", t !== "inherit" && `color${ke(t)}`, `fontSize${ke(r)}`]
3755
3755
  };
3756
3756
  return kn(o, Ph, a);
3757
- }, _h = bt("svg", {
3757
+ }, _h = St("svg", {
3758
3758
  name: "MuiSvgIcon",
3759
3759
  slot: "Root",
3760
3760
  overridesResolver: (e, t) => {
@@ -4050,7 +4050,7 @@ const Ah = So(/* @__PURE__ */ b.jsx("path", {
4050
4050
  }), "ChevronLeft"), Th = So(/* @__PURE__ */ b.jsx("path", {
4051
4051
  d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
4052
4052
  }), "ChevronRight");
4053
- function zt(e) {
4053
+ function Dt(e) {
4054
4054
  var t = typeof e;
4055
4055
  return e != null && (t == "object" || t == "function");
4056
4056
  }
@@ -4085,12 +4085,12 @@ var zh = "[object Null]", Dh = "[object Undefined]", Ps = Et ? Et.toStringTag :
4085
4085
  function Wt(e) {
4086
4086
  return e == null ? e === void 0 ? Dh : zh : Ps && Ps in Object(e) ? Bh(e) : Nh(e);
4087
4087
  }
4088
- function Dt(e) {
4088
+ function Gt(e) {
4089
4089
  return e != null && typeof e == "object";
4090
4090
  }
4091
4091
  var Gh = "[object Symbol]";
4092
4092
  function vo(e) {
4093
- return typeof e == "symbol" || Dt(e) && Wt(e) == Gh;
4093
+ return typeof e == "symbol" || Gt(e) && Wt(e) == Gh;
4094
4094
  }
4095
4095
  var Vs = NaN, Jh = /^[-+]0x[0-9a-f]+$/i, qh = /^0b[01]+$/i, Hh = /^0o[0-7]+$/i, Wh = parseInt;
4096
4096
  function _s(e) {
@@ -4098,9 +4098,9 @@ function _s(e) {
4098
4098
  return e;
4099
4099
  if (vo(e))
4100
4100
  return Vs;
4101
- if (zt(e)) {
4101
+ if (Dt(e)) {
4102
4102
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
4103
- e = zt(t) ? t + "" : t;
4103
+ e = Dt(t) ? t + "" : t;
4104
4104
  }
4105
4105
  if (typeof e != "string")
4106
4106
  return e === 0 ? e : +e;
@@ -4113,7 +4113,7 @@ function Xh(e, t, r) {
4113
4113
  var a, o, n, s, l, i, c = 0, d = !1, p = !1, u = !0;
4114
4114
  if (typeof e != "function")
4115
4115
  throw new TypeError(Qh);
4116
- t = _s(t) || 0, zt(r) && (d = !!r.leading, p = "maxWait" in r, n = p ? Kh(_s(r.maxWait) || 0, t) : n, u = "trailing" in r ? !!r.trailing : u);
4116
+ t = _s(t) || 0, Dt(r) && (d = !!r.leading, p = "maxWait" in r, n = p ? Kh(_s(r.maxWait) || 0, t) : n, u = "trailing" in r ? !!r.trailing : u);
4117
4117
  function y(H) {
4118
4118
  var j = a, U = o;
4119
4119
  return a = o = void 0, c = H, s = e.apply(U, j), s;
@@ -4132,19 +4132,19 @@ function Xh(e, t, r) {
4132
4132
  function I() {
4133
4133
  var H = Jo();
4134
4134
  if (x(H))
4135
- return D(H);
4135
+ return N(H);
4136
4136
  l = setTimeout(I, m(H));
4137
4137
  }
4138
- function D(H) {
4138
+ function N(H) {
4139
4139
  return l = void 0, u && a ? y(H) : (a = o = void 0, s);
4140
4140
  }
4141
4141
  function F() {
4142
4142
  l !== void 0 && clearTimeout(l), c = 0, a = i = o = l = void 0;
4143
4143
  }
4144
- function N() {
4145
- return l === void 0 ? s : D(Jo());
4146
- }
4147
4144
  function z() {
4145
+ return l === void 0 ? s : N(Jo());
4146
+ }
4147
+ function D() {
4148
4148
  var H = Jo(), j = x(H);
4149
4149
  if (a = arguments, o = this, i = H, j) {
4150
4150
  if (l === void 0)
@@ -4154,14 +4154,14 @@ function Xh(e, t, r) {
4154
4154
  }
4155
4155
  return l === void 0 && (l = setTimeout(I, t)), s;
4156
4156
  }
4157
- return z.cancel = F, z.flush = N, z;
4157
+ return D.cancel = F, D.flush = z, D;
4158
4158
  }
4159
4159
  var Zh = "Expected a function";
4160
4160
  function em(e, t, r) {
4161
4161
  var a = !0, o = !0;
4162
4162
  if (typeof e != "function")
4163
4163
  throw new TypeError(Zh);
4164
- return zt(r) && (a = "leading" in r ? !!r.leading : a, o = "trailing" in r ? !!r.trailing : o), Xh(e, t, {
4164
+ return Dt(r) && (a = "leading" in r ? !!r.leading : a, o = "trailing" in r ? !!r.trailing : o), Xh(e, t, {
4165
4165
  leading: a,
4166
4166
  maxWait: t,
4167
4167
  trailing: o
@@ -4178,10 +4178,10 @@ const tm = xr(
4178
4178
  disabled: n,
4179
4179
  ...s
4180
4180
  }) => {
4181
- var F, N, z, H, j, U, k, f, M, L, J, q, re, Z, ve;
4182
- const { t: l } = dt(), [i, c] = qt(), d = qe(), p = {
4181
+ var F, z, D, H, j, U, k, f, M, L, J, q, re, Z, ve;
4182
+ const { t: l } = dt(), [i, c] = Mt(), d = qe(), p = {
4183
4183
  background: (F = d.palette.backgroundPaperElevation) == null ? void 0 : F[4],
4184
- color: (N = d.palette.backgroundPaperElevation) == null ? void 0 : N[11]
4184
+ color: (z = d.palette.backgroundPaperElevation) == null ? void 0 : z[11]
4185
4185
  }, u = no(() => ({
4186
4186
  activeJoggingDir: null,
4187
4187
  startJogging(K) {
@@ -4206,7 +4206,7 @@ const tm = xr(
4206
4206
  function I(K) {
4207
4207
  u.stopJogging();
4208
4208
  }
4209
- function D(K, ge = 1) {
4209
+ function N(K, ge = 1) {
4210
4210
  if (K === void 0 || isNaN(K)) return "";
4211
4211
  const $ = l("General.degree.variable", {
4212
4212
  amount: K.toFixed(ge)
@@ -4226,7 +4226,7 @@ const tm = xr(
4226
4226
  width: "52px",
4227
4227
  color: d.palette.text.primary,
4228
4228
  alignContent: "center",
4229
- backgroundColor: (z = d.palette.backgroundPaperElevation) == null ? void 0 : z[11],
4229
+ backgroundColor: (D = d.palette.backgroundPaperElevation) == null ? void 0 : D[11],
4230
4230
  "& svg": {
4231
4231
  width: "42px",
4232
4232
  height: "42px"
@@ -4295,7 +4295,7 @@ const tm = xr(
4295
4295
  top: "5px",
4296
4296
  color: n ? d.palette.action.disabled : d.palette.text.primary
4297
4297
  },
4298
- children: D(i)
4298
+ children: N(i)
4299
4299
  }
4300
4300
  ),
4301
4301
  /* @__PURE__ */ b.jsx(
@@ -4330,11 +4330,11 @@ const tm = xr(
4330
4330
  marks: r !== void 0 && a !== void 0 && [
4331
4331
  {
4332
4332
  value: r,
4333
- label: D(r, 0)
4333
+ label: N(r, 0)
4334
4334
  },
4335
4335
  {
4336
4336
  value: a,
4337
- label: D(a, 0)
4337
+ label: N(a, 0)
4338
4338
  }
4339
4339
  ]
4340
4340
  }
@@ -4446,7 +4446,7 @@ var Cm = wm;
4446
4446
  function Pm(e) {
4447
4447
  return this.__data__.has(e);
4448
4448
  }
4449
- var Vm = Pm, _m = typeof global == "object" && global && global.Object === Object && global, wi = _m, Rm = typeof self == "object" && self && self.Object === Object && self, Am = wi || Rm || Function("return this")(), St = Am, Tm = St.Symbol, vr = Tm, Ci = Object.prototype, Im = Ci.hasOwnProperty, Em = Ci.toString, Br = vr ? vr.toStringTag : void 0;
4449
+ var Vm = Pm, _m = typeof global == "object" && global && global.Object === Object && global, wi = _m, Rm = typeof self == "object" && self && self.Object === Object && self, Am = wi || Rm || Function("return this")(), vt = Am, Tm = vt.Symbol, vr = Tm, Ci = Object.prototype, Im = Ci.hasOwnProperty, Em = Ci.toString, Br = vr ? vr.toStringTag : void 0;
4450
4450
  function Mm(e) {
4451
4451
  var t = Im.call(e, Br), r = e[Br];
4452
4452
  try {
@@ -4472,7 +4472,7 @@ function qm(e) {
4472
4472
  var t = da(e);
4473
4473
  return t == Dm || t == Gm || t == zm || t == Jm;
4474
4474
  }
4475
- var Pi = qm, Hm = St["__core-js_shared__"], qo = Hm, As = function() {
4475
+ var Pi = qm, Hm = vt["__core-js_shared__"], qo = Hm, As = function() {
4476
4476
  var e = /[^.]+$/.exec(qo && qo.keys && qo.keys.IE_PROTO || "");
4477
4477
  return e ? "Symbol(src)_1." + e : "";
4478
4478
  }();
@@ -4511,7 +4511,7 @@ function pf(e, t) {
4511
4511
  var r = df(e, t);
4512
4512
  return lf(r) ? r : void 0;
4513
4513
  }
4514
- var wr = pf, uf = wr(St, "Map"), ea = uf, hf = wr(Object, "create"), ta = hf;
4514
+ var wr = pf, uf = wr(vt, "Map"), ea = uf, hf = wr(Object, "create"), ta = hf;
4515
4515
  function mf() {
4516
4516
  this.__data__ = ta ? ta(null) : {}, this.size = 0;
4517
4517
  }
@@ -4669,9 +4669,9 @@ function oy(e, t, r, a, o, n) {
4669
4669
  break;
4670
4670
  }
4671
4671
  if (y) {
4672
- if (!Zf(t, function(I, D) {
4673
- if (!ty(y, D) && (g === I || o(g, I, r, a, n)))
4674
- return y.push(D);
4672
+ if (!Zf(t, function(I, N) {
4673
+ if (!ty(y, N) && (g === I || o(g, I, r, a, n)))
4674
+ return y.push(N);
4675
4675
  })) {
4676
4676
  u = !1;
4677
4677
  break;
@@ -4683,7 +4683,7 @@ function oy(e, t, r, a, o, n) {
4683
4683
  }
4684
4684
  return n.delete(e), n.delete(t), u;
4685
4685
  }
4686
- var _i = oy, ny = St.Uint8Array, Is = ny;
4686
+ var _i = oy, ny = vt.Uint8Array, Is = ny;
4687
4687
  function sy(e) {
4688
4688
  var t = -1, r = Array(e.size);
4689
4689
  return e.forEach(function(a, o) {
@@ -4782,7 +4782,7 @@ var js = zy, Ri = Object.prototype, Dy = Ri.hasOwnProperty, Gy = Ri.propertyIsEn
4782
4782
  function Hy() {
4783
4783
  return !1;
4784
4784
  }
4785
- var Wy = Hy, Ai = typeof exports == "object" && exports && !exports.nodeType && exports, $s = Ai && typeof module == "object" && module && !module.nodeType && module, Qy = $s && $s.exports === Ai, Us = Qy ? St.Buffer : void 0, Ky = Us ? Us.isBuffer : void 0, Yy = Ky || Wy, un = Yy, Xy = 9007199254740991, Zy = /^(?:0|[1-9]\d*)$/;
4785
+ var Wy = Hy, Ai = typeof exports == "object" && exports && !exports.nodeType && exports, $s = Ai && typeof module == "object" && module && !module.nodeType && module, Qy = $s && $s.exports === Ai, Us = Qy ? vt.Buffer : void 0, Ky = Us ? Us.isBuffer : void 0, Yy = Ky || Wy, un = Yy, Xy = 9007199254740991, Zy = /^(?:0|[1-9]\d*)$/;
4786
4786
  function eg(e, t) {
4787
4787
  var r = typeof e;
4788
4788
  return t = t ?? Xy, !!t && (r == "number" || r != "symbol" && Zy.test(e)) && e > -1 && e % 1 == 0 && e < t;
@@ -4869,23 +4869,23 @@ function ob(e, t, r, a, o, n) {
4869
4869
  n.set(e, t), n.set(t, e);
4870
4870
  for (var x = s; ++p < i; ) {
4871
4871
  u = l[p];
4872
- var I = e[u], D = t[u];
4872
+ var I = e[u], N = t[u];
4873
4873
  if (a)
4874
- var F = s ? a(D, I, u, t, e, n) : a(I, D, u, e, t, n);
4875
- if (!(F === void 0 ? I === D || o(I, D, r, a, n) : F)) {
4874
+ var F = s ? a(N, I, u, t, e, n) : a(I, N, u, e, t, n);
4875
+ if (!(F === void 0 ? I === N || o(I, N, r, a, n) : F)) {
4876
4876
  m = !1;
4877
4877
  break;
4878
4878
  }
4879
4879
  x || (x = u == "constructor");
4880
4880
  }
4881
4881
  if (m && !x) {
4882
- var N = e.constructor, z = t.constructor;
4883
- N != z && "constructor" in e && "constructor" in t && !(typeof N == "function" && N instanceof N && typeof z == "function" && z instanceof z) && (m = !1);
4882
+ var z = e.constructor, D = t.constructor;
4883
+ z != D && "constructor" in e && "constructor" in t && !(typeof z == "function" && z instanceof z && typeof D == "function" && D instanceof D) && (m = !1);
4884
4884
  }
4885
4885
  return n.delete(e), n.delete(t), m;
4886
4886
  }
4887
- var nb = ob, sb = wr(St, "DataView"), hn = sb, lb = wr(St, "Promise"), mn = lb, ib = wr(St, "Set"), fn = ib, cb = wr(St, "WeakMap"), yn = cb, Fs = "[object Map]", db = "[object Object]", Ns = "[object Promise]", zs = "[object Set]", Ds = "[object WeakMap]", Gs = "[object DataView]", pb = Qt(hn), ub = Qt(ea), hb = Qt(mn), mb = Qt(fn), fb = Qt(yn), Bt = da;
4888
- (hn && Bt(new hn(new ArrayBuffer(1))) != Gs || ea && Bt(new ea()) != Fs || mn && Bt(mn.resolve()) != Ns || fn && Bt(new fn()) != zs || yn && Bt(new yn()) != Ds) && (Bt = function(e) {
4887
+ var nb = ob, sb = wr(vt, "DataView"), hn = sb, lb = wr(vt, "Promise"), mn = lb, ib = wr(vt, "Set"), fn = ib, cb = wr(vt, "WeakMap"), yn = cb, Fs = "[object Map]", db = "[object Object]", Ns = "[object Promise]", zs = "[object Set]", Ds = "[object WeakMap]", Gs = "[object DataView]", pb = Qt(hn), ub = Qt(ea), hb = Qt(mn), mb = Qt(fn), fb = Qt(yn), Lt = da;
4888
+ (hn && Lt(new hn(new ArrayBuffer(1))) != Gs || ea && Lt(new ea()) != Fs || mn && Lt(mn.resolve()) != Ns || fn && Lt(new fn()) != zs || yn && Lt(new yn()) != Ds) && (Lt = function(e) {
4889
4889
  var t = da(e), r = t == db ? e.constructor : void 0, a = r ? Qt(r) : "";
4890
4890
  if (a)
4891
4891
  switch (a) {
@@ -4902,7 +4902,7 @@ var nb = ob, sb = wr(St, "DataView"), hn = sb, lb = wr(St, "Promise"), mn = lb,
4902
4902
  }
4903
4903
  return t;
4904
4904
  });
4905
- var Js = Bt, yb = 1, qs = "[object Arguments]", Hs = "[object Array]", Ca = "[object Object]", gb = Object.prototype, Ws = gb.hasOwnProperty;
4905
+ var Js = Lt, yb = 1, qs = "[object Arguments]", Hs = "[object Array]", Ca = "[object Object]", gb = Object.prototype, Ws = gb.hasOwnProperty;
4906
4906
  function bb(e, t, r, a, o, n) {
4907
4907
  var s = eo(e), l = eo(t), i = s ? Hs : Js(e), c = l ? Hs : Js(t);
4908
4908
  i = i == qs ? Ca : i, c = c == qs ? Ca : c;
@@ -5031,7 +5031,7 @@ var Rb = function() {
5031
5031
  return WebSocket;
5032
5032
  }, Ab = function(e) {
5033
5033
  return typeof e < "u" && !!e && e.CLOSING === 2;
5034
- }, kt = {
5034
+ }, Bt = {
5035
5035
  maxReconnectionDelay: 1e4,
5036
5036
  minReconnectionDelay: 1e3 + Math.random() * 4e3,
5037
5037
  minUptime: 5e3,
@@ -5051,7 +5051,7 @@ var Rb = function() {
5051
5051
  close: []
5052
5052
  }, this._retryCount = -1, this._shouldReconnect = !0, this._connectLock = !1, this._binaryType = "blob", this._closeCalled = !1, this._messageQueue = [], this.onclose = null, this.onerror = null, this.onmessage = null, this.onopen = null, this._handleOpen = function(n) {
5053
5053
  o._debug("open event");
5054
- var s = o._options.minUptime, l = s === void 0 ? kt.minUptime : s;
5054
+ var s = o._options.minUptime, l = s === void 0 ? Bt.minUptime : s;
5055
5055
  clearTimeout(o._connectTimeout), o._uptimeTimeout = setTimeout(function() {
5056
5056
  return o._acceptOpen();
5057
5057
  }, l), o._ws.binaryType = o._binaryType, o._messageQueue.forEach(function(i) {
@@ -5209,7 +5209,7 @@ var Rb = function() {
5209
5209
  if (this._ws && this._ws.readyState === this.OPEN)
5210
5210
  this._debug("send", t), this._ws.send(t);
5211
5211
  else {
5212
- var r = this._options.maxEnqueuedMessages, a = r === void 0 ? kt.maxEnqueuedMessages : r;
5212
+ var r = this._options.maxEnqueuedMessages, a = r === void 0 ? Bt.maxEnqueuedMessages : r;
5213
5213
  this._messageQueue.length < a && (this._debug("enqueue", t), this._messageQueue.push(t));
5214
5214
  }
5215
5215
  }, e.prototype.addEventListener = function(t, r) {
@@ -5241,7 +5241,7 @@ var Rb = function() {
5241
5241
  t[r] = arguments[r];
5242
5242
  this._options.debug && console.log.apply(console, Pb(["RWS>"], t));
5243
5243
  }, e.prototype._getNextDelay = function() {
5244
- var t = this._options, r = t.reconnectionDelayGrowFactor, a = r === void 0 ? kt.reconnectionDelayGrowFactor : r, o = t.minReconnectionDelay, n = o === void 0 ? kt.minReconnectionDelay : o, s = t.maxReconnectionDelay, l = s === void 0 ? kt.maxReconnectionDelay : s, i = 0;
5244
+ var t = this._options, r = t.reconnectionDelayGrowFactor, a = r === void 0 ? Bt.reconnectionDelayGrowFactor : r, o = t.minReconnectionDelay, n = o === void 0 ? Bt.minReconnectionDelay : o, s = t.maxReconnectionDelay, l = s === void 0 ? Bt.maxReconnectionDelay : s, i = 0;
5245
5245
  return this._retryCount > 0 && (i = n * Math.pow(a, this._retryCount - 1), i > l && (i = l)), this._debug("next delay", i), i;
5246
5246
  }, e.prototype._wait = function() {
5247
5247
  var t = this;
@@ -5263,7 +5263,7 @@ var Rb = function() {
5263
5263
  var t = this;
5264
5264
  if (!(this._connectLock || !this._shouldReconnect)) {
5265
5265
  this._connectLock = !0;
5266
- var r = this._options, a = r.maxRetries, o = a === void 0 ? kt.maxRetries : a, n = r.connectionTimeout, s = n === void 0 ? kt.connectionTimeout : n, l = r.WebSocket, i = l === void 0 ? Rb() : l;
5266
+ var r = this._options, a = r.maxRetries, o = a === void 0 ? Bt.maxRetries : a, n = r.connectionTimeout, s = n === void 0 ? Bt.connectionTimeout : n, l = r.WebSocket, i = l === void 0 ? Rb() : l;
5267
5267
  if (this._retryCount >= o) {
5268
5268
  this._debug("max retries reached", this._retryCount, ">=", o);
5269
5269
  return;
@@ -5438,7 +5438,7 @@ var Rb = function() {
5438
5438
  return this.available ? window.localStorage.getItem(e) : null;
5439
5439
  }
5440
5440
  }, Ko = new kb();
5441
- function Rt(e) {
5441
+ function At(e) {
5442
5442
  try {
5443
5443
  return JSON.parse(e);
5444
5444
  } catch {
@@ -5549,7 +5549,7 @@ function Li(e, t) {
5549
5549
  return o;
5550
5550
  return null;
5551
5551
  }
5552
- const Lt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Fi = (e) => !aa(e) && e !== Lt;
5552
+ const Ft = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Fi = (e) => !aa(e) && e !== Ft;
5553
5553
  function Sn() {
5554
5554
  const { caseless: e } = Fi(this) && this || {}, t = {}, r = (a, o) => {
5555
5555
  const n = e && Li(t, o) || o;
@@ -5656,14 +5656,14 @@ const x0 = (e) => {
5656
5656
  return a;
5657
5657
  };
5658
5658
  return r(e, 0);
5659
- }, O0 = tt("AsyncFunction"), w0 = (e) => e && (Vo(e) || Je(e)) && Je(e.then) && Je(e.catch), zi = ((e, t) => e ? setImmediate : t ? ((r, a) => (Lt.addEventListener("message", ({ source: o, data: n }) => {
5660
- o === Lt && n === r && a.length && a.shift()();
5659
+ }, O0 = tt("AsyncFunction"), w0 = (e) => e && (Vo(e) || Je(e)) && Je(e.then) && Je(e.catch), zi = ((e, t) => e ? setImmediate : t ? ((r, a) => (Ft.addEventListener("message", ({ source: o, data: n }) => {
5660
+ o === Ft && n === r && a.length && a.shift()();
5661
5661
  }, !1), (o) => {
5662
- a.push(o), Lt.postMessage(r, "*");
5662
+ a.push(o), Ft.postMessage(r, "*");
5663
5663
  }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
5664
5664
  typeof setImmediate == "function",
5665
- Je(Lt.postMessage)
5666
- ), C0 = typeof queueMicrotask < "u" ? queueMicrotask.bind(Lt) : typeof process < "u" && process.nextTick || zi, T = {
5665
+ Je(Ft.postMessage)
5666
+ ), C0 = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ft) : typeof process < "u" && process.nextTick || zi, T = {
5667
5667
  isArray: _r,
5668
5668
  isArrayBuffer: ki,
5669
5669
  isBuffer: zb,
@@ -5712,7 +5712,7 @@ const x0 = (e) => {
5712
5712
  noop: b0,
5713
5713
  toFiniteNumber: S0,
5714
5714
  findKey: Li,
5715
- global: Lt,
5715
+ global: Ft,
5716
5716
  isContextDefined: Fi,
5717
5717
  isSpecCompliantForm: v0,
5718
5718
  toJSONObject: x0,
@@ -5816,10 +5816,10 @@ function _o(e, t, r) {
5816
5816
  if (T.endsWith(m, "{}"))
5817
5817
  m = a ? m : m.slice(0, -2), g = JSON.stringify(g);
5818
5818
  else if (T.isArray(g) && V0(g) || (T.isFileList(g) || T.endsWith(m, "[]")) && (I = T.toArray(g)))
5819
- return m = Ji(m), I.forEach(function(F, N) {
5819
+ return m = Ji(m), I.forEach(function(F, z) {
5820
5820
  !(T.isUndefined(F) || F === null) && t.append(
5821
5821
  // eslint-disable-next-line no-nested-ternary
5822
- s === !0 ? Xs([m], N, n) : s === null ? m : m + "[]",
5822
+ s === !0 ? Xs([m], z, n) : s === null ? m : m + "[]",
5823
5823
  c(F)
5824
5824
  );
5825
5825
  }), !1;
@@ -5835,14 +5835,14 @@ function _o(e, t, r) {
5835
5835
  if (!T.isUndefined(g)) {
5836
5836
  if (p.indexOf(g) !== -1)
5837
5837
  throw Error("Circular reference detected in " + m.join("."));
5838
- p.push(g), T.forEach(g, function(I, D) {
5838
+ p.push(g), T.forEach(g, function(I, N) {
5839
5839
  (!(T.isUndefined(I) || I === null) && o.call(
5840
5840
  t,
5841
5841
  I,
5842
- T.isString(D) ? D.trim() : D,
5842
+ T.isString(N) ? N.trim() : N,
5843
5843
  m,
5844
5844
  u
5845
- )) === !0 && y(I, m ? m.concat(D) : [D]);
5845
+ )) === !0 && y(I, m ? m.concat(N) : [N]);
5846
5846
  }), p.pop();
5847
5847
  }
5848
5848
  }
@@ -6406,7 +6406,7 @@ function Xi(e, t, r) {
6406
6406
  return e && a || r == !1 ? Z0(e, t) : t;
6407
6407
  }
6408
6408
  const ol = (e) => e instanceof Ne ? { ...e } : e;
6409
- function Gt(e, t) {
6409
+ function Jt(e, t) {
6410
6410
  t = t || {};
6411
6411
  const r = {};
6412
6412
  function a(c, d, p, u) {
@@ -6471,7 +6471,7 @@ function Gt(e, t) {
6471
6471
  }), r;
6472
6472
  }
6473
6473
  const Zi = (e) => {
6474
- const t = Gt({}, e);
6474
+ const t = Jt({}, e);
6475
6475
  let { data: r, withXSRFToken: a, xsrfHeaderName: o, xsrfCookieName: n, headers: s, auth: l } = t;
6476
6476
  t.headers = s = Ne.from(s), t.url = Hi(Xi(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && s.set(
6477
6477
  "Authorization",
@@ -6507,7 +6507,7 @@ const Zi = (e) => {
6507
6507
  return;
6508
6508
  const F = Ne.from(
6509
6509
  "getAllResponseHeaders" in x && x.getAllResponseHeaders()
6510
- ), z = {
6510
+ ), D = {
6511
6511
  data: !l || l === "text" || l === "json" ? x.responseText : x.response,
6512
6512
  status: x.status,
6513
6513
  statusText: x.statusText,
@@ -6519,7 +6519,7 @@ const Zi = (e) => {
6519
6519
  r(j), m();
6520
6520
  }, function(j) {
6521
6521
  a(j), m();
6522
- }, z), x = null;
6522
+ }, D), x = null;
6523
6523
  }
6524
6524
  "onloadend" in x ? x.onloadend = I : x.onreadystatechange = function() {
6525
6525
  !x || x.readyState !== 4 || x.status === 0 && !(x.responseURL && x.responseURL.indexOf("file:") === 0) || setTimeout(I);
@@ -6528,22 +6528,22 @@ const Zi = (e) => {
6528
6528
  }, x.onerror = function() {
6529
6529
  a(new te("Network Error", te.ERR_NETWORK, e, x)), x = null;
6530
6530
  }, x.ontimeout = function() {
6531
- let N = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
6532
- const z = o.transitional || Wi;
6533
- o.timeoutErrorMessage && (N = o.timeoutErrorMessage), a(new te(
6534
- N,
6535
- z.clarifyTimeoutError ? te.ETIMEDOUT : te.ECONNABORTED,
6531
+ let z = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
6532
+ const D = o.transitional || Wi;
6533
+ o.timeoutErrorMessage && (z = o.timeoutErrorMessage), a(new te(
6534
+ z,
6535
+ D.clarifyTimeoutError ? te.ETIMEDOUT : te.ECONNABORTED,
6536
6536
  e,
6537
6537
  x
6538
6538
  )), x = null;
6539
- }, n === void 0 && s.setContentType(null), "setRequestHeader" in x && T.forEach(s.toJSON(), function(N, z) {
6540
- x.setRequestHeader(z, N);
6539
+ }, n === void 0 && s.setContentType(null), "setRequestHeader" in x && T.forEach(s.toJSON(), function(z, D) {
6540
+ x.setRequestHeader(D, z);
6541
6541
  }), T.isUndefined(o.withCredentials) || (x.withCredentials = !!o.withCredentials), l && l !== "json" && (x.responseType = o.responseType), c && ([u, g] = to(c, !0), x.addEventListener("progress", u)), i && x.upload && ([p, y] = to(i), x.upload.addEventListener("progress", p), x.upload.addEventListener("loadend", y)), (o.cancelToken || o.signal) && (d = (F) => {
6542
6542
  x && (a(!F || F.type ? new Rr(null, e, x) : F), x.abort(), x = null);
6543
6543
  }, o.cancelToken && o.cancelToken.subscribe(d), o.signal && (o.signal.aborted ? d() : o.signal.addEventListener("abort", d)));
6544
- const D = H0(o.url);
6545
- if (D && Te.protocols.indexOf(D) === -1) {
6546
- a(new te("Unsupported protocol " + D + ":", te.ERR_BAD_REQUEST, e));
6544
+ const N = H0(o.url);
6545
+ if (N && Te.protocols.indexOf(N) === -1) {
6546
+ a(new te("Unsupported protocol " + N + ":", te.ERR_BAD_REQUEST, e));
6547
6547
  return;
6548
6548
  }
6549
6549
  x.send(n || null);
@@ -6694,17 +6694,17 @@ const iS = async (e) => {
6694
6694
  let x;
6695
6695
  try {
6696
6696
  if (i && lS && r !== "get" && r !== "head" && (x = await cS(d, a)) !== 0) {
6697
- let z = new Request(t, {
6697
+ let D = new Request(t, {
6698
6698
  method: "POST",
6699
6699
  body: a,
6700
6700
  duplex: "half"
6701
6701
  }), H;
6702
- if (T.isFormData(a) && (H = z.headers.get("content-type")) && d.setContentType(H), z.body) {
6702
+ if (T.isFormData(a) && (H = D.headers.get("content-type")) && d.setContentType(H), D.body) {
6703
6703
  const [j, U] = rl(
6704
6704
  x,
6705
6705
  to(al(i))
6706
6706
  );
6707
- a = nl(z.body, sl, j, U);
6707
+ a = nl(D.body, sl, j, U);
6708
6708
  }
6709
6709
  }
6710
6710
  T.isString(p) || (p = p ? "include" : "omit");
@@ -6718,32 +6718,32 @@ const iS = async (e) => {
6718
6718
  duplex: "half",
6719
6719
  credentials: I ? p : void 0
6720
6720
  });
6721
- let D = await fetch(g);
6721
+ let N = await fetch(g);
6722
6722
  const F = On && (c === "stream" || c === "response");
6723
6723
  if (On && (l || F && m)) {
6724
- const z = {};
6724
+ const D = {};
6725
6725
  ["status", "statusText", "headers"].forEach((k) => {
6726
- z[k] = D[k];
6726
+ D[k] = N[k];
6727
6727
  });
6728
- const H = T.toFiniteNumber(D.headers.get("content-length")), [j, U] = l && rl(
6728
+ const H = T.toFiniteNumber(N.headers.get("content-length")), [j, U] = l && rl(
6729
6729
  H,
6730
6730
  to(al(l), !0)
6731
6731
  ) || [];
6732
- D = new Response(
6733
- nl(D.body, sl, j, () => {
6732
+ N = new Response(
6733
+ nl(N.body, sl, j, () => {
6734
6734
  U && U(), m && m();
6735
6735
  }),
6736
- z
6736
+ D
6737
6737
  );
6738
6738
  }
6739
6739
  c = c || "text";
6740
- let N = await ro[T.findKey(ro, c) || "text"](D, e);
6741
- return !F && m && m(), await new Promise((z, H) => {
6742
- Yi(z, H, {
6743
- data: N,
6744
- headers: Ne.from(D.headers),
6745
- status: D.status,
6746
- statusText: D.statusText,
6740
+ let z = await ro[T.findKey(ro, c) || "text"](N, e);
6741
+ return !F && m && m(), await new Promise((D, H) => {
6742
+ Yi(D, H, {
6743
+ data: z,
6744
+ headers: Ne.from(N.headers),
6745
+ status: N.status,
6746
+ statusText: N.statusText,
6747
6747
  config: e,
6748
6748
  request: g
6749
6749
  });
@@ -6872,7 +6872,7 @@ const Da = {
6872
6872
  assertOptions: uS,
6873
6873
  validators: Ao
6874
6874
  }, ot = Da.validators;
6875
- let Ft = class {
6875
+ let Nt = class {
6876
6876
  constructor(t) {
6877
6877
  this.defaults = t, this.interceptors = {
6878
6878
  request: new el(),
@@ -6905,7 +6905,7 @@ let Ft = class {
6905
6905
  }
6906
6906
  }
6907
6907
  _request(t, r) {
6908
- typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Gt(this.defaults, r);
6908
+ typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Jt(this.defaults, r);
6909
6909
  const { transitional: a, paramsSerializer: o, headers: n } = r;
6910
6910
  a !== void 0 && Da.assertOptions(a, {
6911
6911
  silentJSONParsing: ot.transitional(ot.boolean),
@@ -6967,14 +6967,14 @@ let Ft = class {
6967
6967
  return d;
6968
6968
  }
6969
6969
  getUri(t) {
6970
- t = Gt(this.defaults, t);
6970
+ t = Jt(this.defaults, t);
6971
6971
  const r = Xi(t.baseURL, t.url, t.allowAbsoluteUrls);
6972
6972
  return Hi(r, t.params, t.paramsSerializer);
6973
6973
  }
6974
6974
  };
6975
6975
  T.forEach(["delete", "get", "head", "options"], function(t) {
6976
- Ft.prototype[t] = function(r, a) {
6977
- return this.request(Gt(a || {}, {
6976
+ Nt.prototype[t] = function(r, a) {
6977
+ return this.request(Jt(a || {}, {
6978
6978
  method: t,
6979
6979
  url: r,
6980
6980
  data: (a || {}).data
@@ -6984,7 +6984,7 @@ T.forEach(["delete", "get", "head", "options"], function(t) {
6984
6984
  T.forEach(["post", "put", "patch"], function(t) {
6985
6985
  function r(a) {
6986
6986
  return function(n, s, l) {
6987
- return this.request(Gt(l || {}, {
6987
+ return this.request(Jt(l || {}, {
6988
6988
  method: t,
6989
6989
  headers: a ? {
6990
6990
  "Content-Type": "multipart/form-data"
@@ -6994,7 +6994,7 @@ T.forEach(["post", "put", "patch"], function(t) {
6994
6994
  }));
6995
6995
  };
6996
6996
  }
6997
- Ft.prototype[t] = r(), Ft.prototype[t + "Form"] = r(!0);
6997
+ Nt.prototype[t] = r(), Nt.prototype[t + "Form"] = r(!0);
6998
6998
  });
6999
6999
  let hS = class oc {
7000
7000
  constructor(t) {
@@ -7146,13 +7146,13 @@ Object.entries(Cn).forEach(([e, t]) => {
7146
7146
  Cn[t] = e;
7147
7147
  });
7148
7148
  function nc(e) {
7149
- const t = new Ft(e), r = Ui(Ft.prototype.request, t);
7150
- return T.extend(r, Ft.prototype, t, { allOwnKeys: !0 }), T.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
7151
- return nc(Gt(e, o));
7149
+ const t = new Nt(e), r = Ui(Nt.prototype.request, t);
7150
+ return T.extend(r, Nt.prototype, t, { allOwnKeys: !0 }), T.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
7151
+ return nc(Jt(e, o));
7152
7152
  }, r;
7153
7153
  }
7154
7154
  const v = nc(ua);
7155
- v.Axios = Ft;
7155
+ v.Axios = Nt;
7156
7156
  v.CanceledError = Rr;
7157
7157
  v.CancelToken = hS;
7158
7158
  v.isCancel = Ki;
@@ -7165,7 +7165,7 @@ v.all = function(t) {
7165
7165
  };
7166
7166
  v.spread = mS;
7167
7167
  v.isAxiosError = fS;
7168
- v.mergeConfig = Gt;
7168
+ v.mergeConfig = Jt;
7169
7169
  v.AxiosHeaders = Ne;
7170
7170
  v.formToJSON = (e) => Qi(T.isHTMLForm(e) ? new FormData(e) : e);
7171
7171
  v.getAdapter = rc.getAdapter;
@@ -10503,8 +10503,8 @@ const kS = function(e) {
10503
10503
  e && (g = e.baseOptions);
10504
10504
  const m = { method: "GET", ...g, ...p }, x = {}, I = {};
10505
10505
  P(m, e), await V(x, e), a !== void 0 && (I.location_on_trajectory = a), o && (I["limit_override.joint_velocity_limits.joints"] = o), n && (I["limit_override.joint_acceleration_limits.joints"] = n), s !== void 0 && (I["limit_override.tcp_velocity_limit"] = s), l !== void 0 && (I["limit_override.tcp_acceleration_limit"] = l), i !== void 0 && (I["limit_override.tcp_orientation_velocity_limit"] = i), c !== void 0 && (I["limit_override.tcp_orientation_acceleration_limit"] = c), d !== void 0 && (I.responses_coordinate_system = d), _(y, I);
10506
- let D = g && g.headers ? g.headers : {};
10507
- return m.headers = { ...x, ...D, ...p.headers }, {
10506
+ let N = g && g.headers ? g.headers : {};
10507
+ return m.headers = { ...x, ...N, ...p.headers }, {
10508
10508
  url: R(y),
10509
10509
  options: m
10510
10510
  };
@@ -10754,7 +10754,7 @@ const kS = function(e) {
10754
10754
  async streamMoveToTrajectoryViaJointPTP(r, a, o, n, s, l, i, c, d, p, u) {
10755
10755
  var x, I;
10756
10756
  const y = await t.streamMoveToTrajectoryViaJointPTP(r, a, o, n, s, l, i, c, d, p, u), g = (e == null ? void 0 : e.serverIndex) ?? 0, m = (I = (x = w["MotionApi.streamMoveToTrajectoryViaJointPTP"]) == null ? void 0 : x[g]) == null ? void 0 : I.url;
10757
- return (D, F) => A(y, v, O, e)(D, m || F);
10757
+ return (N, F) => A(y, v, O, e)(N, m || F);
10758
10758
  }
10759
10759
  };
10760
10760
  };
@@ -12284,7 +12284,7 @@ const HS = function(e) {
12284
12284
  };
12285
12285
  }
12286
12286
  };
12287
- }, wt = function(e) {
12287
+ }, Ct = function(e) {
12288
12288
  const t = HS(e);
12289
12289
  return {
12290
12290
  /**
@@ -12403,7 +12403,7 @@ class WS extends he {
12403
12403
  * @memberof ProgramApi
12404
12404
  */
12405
12405
  createProgramRunner(t, r, a) {
12406
- return wt(this.configuration).createProgramRunner(t, r, a).then((o) => o(this.axios, this.basePath));
12406
+ return Ct(this.configuration).createProgramRunner(t, r, a).then((o) => o(this.axios, this.basePath));
12407
12407
  }
12408
12408
  /**
12409
12409
  * Execute a program in Wandelscript. The Wandelscript can also move multiple robots by using the \'do with\' syntax. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a succesful execution. Otherwise an error (e.g. out of reach, singularity), is returned. The Wandelscript can either be submitted as is, using Content-type text/plain, or as content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". * [WandelEngine & Wandelscript Documentation](/docs/docs/wandelscript)
@@ -12415,7 +12415,7 @@ class WS extends he {
12415
12415
  * @memberof ProgramApi
12416
12416
  */
12417
12417
  executeProgram(t, r, a) {
12418
- return wt(this.configuration).executeProgram(t, r, a).then((o) => o(this.axios, this.basePath));
12418
+ return Ct(this.configuration).executeProgram(t, r, a).then((o) => o(this.axios, this.basePath));
12419
12419
  }
12420
12420
  /**
12421
12421
  * Returns information about a program currently executed. When a program is finished: Program response, result, collected Wandelscript logs, etc. When a program is running: Running status, current executed line, etc. ## Parameters - **runner_id**: The id of the program runner
@@ -12427,7 +12427,7 @@ class WS extends he {
12427
12427
  * @memberof ProgramApi
12428
12428
  */
12429
12429
  getProgramRunner(t, r, a) {
12430
- return wt(this.configuration).getProgramRunner(t, r, a).then((o) => o(this.axios, this.basePath));
12430
+ return Ct(this.configuration).getProgramRunner(t, r, a).then((o) => o(this.axios, this.basePath));
12431
12431
  }
12432
12432
  /**
12433
12433
  * Get details about all existing program runners.
@@ -12438,7 +12438,7 @@ class WS extends he {
12438
12438
  * @memberof ProgramApi
12439
12439
  */
12440
12440
  listProgramRunners(t, r) {
12441
- return wt(this.configuration).listProgramRunners(t, r).then((a) => a(this.axios, this.basePath));
12441
+ return Ct(this.configuration).listProgramRunners(t, r).then((a) => a(this.axios, this.basePath));
12442
12442
  }
12443
12443
  /**
12444
12444
  * Migrate a program ## Parameters See the **Schema** tab for information about the request body
@@ -12450,7 +12450,7 @@ class WS extends he {
12450
12450
  * @memberof ProgramApi
12451
12451
  */
12452
12452
  migrateProgram(t, r, a) {
12453
- return wt(this.configuration).migrateProgram(t, r, a).then((o) => o(this.axios, this.basePath));
12453
+ return Ct(this.configuration).migrateProgram(t, r, a).then((o) => o(this.axios, this.basePath));
12454
12454
  }
12455
12455
  /**
12456
12456
  * Plan a program based on the specified robot type. The plan operation can be used to check if a Wandelscript is executable, given the current joint configuration of the robot. If the Wandelscript is executable, the result contains the motion path. If the Wandelscript is not executable, e.g. points that are out of reach, or the joints encounter a singularity, the reason is returned. The plan operation can be used in other operating modes besides control mode. The Wandelscript can either be submitted as is, using Content-type text/plain, or as content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". The plan operation can be used in other operating modes besides control mode. The Wandelscript can either be submitted as is, using Content-type text/plain, or as Content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". * [WandelEngine & Wandelscript Documentation](/docs/docs/wandelscript)
@@ -12463,7 +12463,7 @@ class WS extends he {
12463
12463
  * @memberof ProgramApi
12464
12464
  */
12465
12465
  planProgram(t, r, a, o) {
12466
- return wt(this.configuration).planProgram(t, r, a, o).then((n) => n(this.axios, this.basePath));
12466
+ return Ct(this.configuration).planProgram(t, r, a, o).then((n) => n(this.axios, this.basePath));
12467
12467
  }
12468
12468
  /**
12469
12469
  * Stop all runners.
@@ -12474,7 +12474,7 @@ class WS extends he {
12474
12474
  * @memberof ProgramApi
12475
12475
  */
12476
12476
  stopAllProgramRunner(t, r) {
12477
- return wt(this.configuration).stopAllProgramRunner(t, r).then((a) => a(this.axios, this.basePath));
12477
+ return Ct(this.configuration).stopAllProgramRunner(t, r).then((a) => a(this.axios, this.basePath));
12478
12478
  }
12479
12479
  /**
12480
12480
  * Stop a specific program runner. If the indicated runner was not running, an error will be returned. ## Parameters - **runner_id**: The id of the program runner
@@ -12486,7 +12486,7 @@ class WS extends he {
12486
12486
  * @memberof ProgramApi
12487
12487
  */
12488
12488
  stopProgramRunner(t, r, a) {
12489
- return wt(this.configuration).stopProgramRunner(t, r, a).then((o) => o(this.axios, this.basePath));
12489
+ return Ct(this.configuration).stopProgramRunner(t, r, a).then((o) => o(this.axios, this.basePath));
12490
12490
  }
12491
12491
  }
12492
12492
  const QS = function(e) {
@@ -15032,7 +15032,7 @@ const p1 = function(e) {
15032
15032
  };
15033
15033
  }
15034
15034
  };
15035
- }, Ct = function(e) {
15035
+ }, Pt = function(e) {
15036
15036
  const t = p1(e);
15037
15037
  return {
15038
15038
  /**
@@ -15164,7 +15164,7 @@ class u1 extends he {
15164
15164
  * @memberof VirtualRobotSetupApi
15165
15165
  */
15166
15166
  addVirtualRobotCoordinateSystem(t, r, a, o) {
15167
- return Ct(this.configuration).addVirtualRobotCoordinateSystem(t, r, a, o).then((n) => n(this.axios, this.basePath));
15167
+ return Pt(this.configuration).addVirtualRobotCoordinateSystem(t, r, a, o).then((n) => n(this.axios, this.basePath));
15168
15168
  }
15169
15169
  /**
15170
15170
  * Adds a new TCP or updates an existing TCP in the motion group. The position and rotation values in the request body are defined within the flange’s coordinate system. > **NOTE** > > Ensure the TCP\'s position is within the robot\'s reach. Refer to the robot’s documentation or data sheet for details like joint limits or reach.
@@ -15178,7 +15178,7 @@ class u1 extends he {
15178
15178
  * @memberof VirtualRobotSetupApi
15179
15179
  */
15180
15180
  addVirtualRobotTcp(t, r, a, o, n) {
15181
- return Ct(this.configuration).addVirtualRobotTcp(t, r, a, o, n).then((s) => s(this.axios, this.basePath));
15181
+ return Pt(this.configuration).addVirtualRobotTcp(t, r, a, o, n).then((s) => s(this.axios, this.basePath));
15182
15182
  }
15183
15183
  /**
15184
15184
  * Deletes a coordinate system from the virtual controller. This will remove the coordinate system from the list of coordinate systems and remove all dependent coordinate systems which use the deleted coordinate system as reference.
@@ -15192,7 +15192,7 @@ class u1 extends he {
15192
15192
  * @memberof VirtualRobotSetupApi
15193
15193
  */
15194
15194
  deleteVirtualRobotCoordinateSystem(t, r, a, o, n) {
15195
- return Ct(this.configuration).deleteVirtualRobotCoordinateSystem(t, r, a, o, n).then((s) => s(this.axios, this.basePath));
15195
+ return Pt(this.configuration).deleteVirtualRobotCoordinateSystem(t, r, a, o, n).then((s) => s(this.axios, this.basePath));
15196
15196
  }
15197
15197
  /**
15198
15198
  * Removes the TCP from the motion group. An unknown TCP is a valid input.
@@ -15206,7 +15206,7 @@ class u1 extends he {
15206
15206
  * @memberof VirtualRobotSetupApi
15207
15207
  */
15208
15208
  deleteVirtualRobotTcp(t, r, a, o, n) {
15209
- return Ct(this.configuration).deleteVirtualRobotTcp(t, r, a, o, n).then((s) => s(this.axios, this.basePath));
15209
+ return Pt(this.configuration).deleteVirtualRobotTcp(t, r, a, o, n).then((s) => s(this.axios, this.basePath));
15210
15210
  }
15211
15211
  /**
15212
15212
  * Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
@@ -15219,7 +15219,7 @@ class u1 extends he {
15219
15219
  * @memberof VirtualRobotSetupApi
15220
15220
  */
15221
15221
  getVirtualRobotMounting(t, r, a, o) {
15222
- return Ct(this.configuration).getVirtualRobotMounting(t, r, a, o).then((n) => n(this.axios, this.basePath));
15222
+ return Pt(this.configuration).getVirtualRobotMounting(t, r, a, o).then((n) => n(this.axios, this.basePath));
15223
15223
  }
15224
15224
  /**
15225
15225
  * Lists all coordinate systems on the robot controller.
@@ -15231,7 +15231,7 @@ class u1 extends he {
15231
15231
  * @memberof VirtualRobotSetupApi
15232
15232
  */
15233
15233
  listVirtualRobotCoordinateSystems(t, r, a) {
15234
- return Ct(this.configuration).listVirtualRobotCoordinateSystems(t, r, a).then((o) => o(this.axios, this.basePath));
15234
+ return Pt(this.configuration).listVirtualRobotCoordinateSystems(t, r, a).then((o) => o(this.axios, this.basePath));
15235
15235
  }
15236
15236
  /**
15237
15237
  * Lists TCPs of the motion group. An empty TCP list is valid, for example for external axes.
@@ -15244,7 +15244,7 @@ class u1 extends he {
15244
15244
  * @memberof VirtualRobotSetupApi
15245
15245
  */
15246
15246
  listVirtualRobotTcps(t, r, a, o) {
15247
- return Ct(this.configuration).listVirtualRobotTcps(t, r, a, o).then((n) => n(this.axios, this.basePath));
15247
+ return Pt(this.configuration).listVirtualRobotTcps(t, r, a, o).then((n) => n(this.axios, this.basePath));
15248
15248
  }
15249
15249
  /**
15250
15250
  * Sets motion group mounting by specifying a coordinate system. The motion group will be based on the coordinate system\'s origin. The coordinate system defines a transformation offset. The transformation offset is defined by a unique identifier, a name for front end usage and an offset in another coordinate system referenced by the unique identifier of the reference coordinate system.
@@ -15258,7 +15258,7 @@ class u1 extends he {
15258
15258
  * @memberof VirtualRobotSetupApi
15259
15259
  */
15260
15260
  setVirtualRobotMounting(t, r, a, o, n) {
15261
- return Ct(this.configuration).setVirtualRobotMounting(t, r, a, o, n).then((s) => s(this.axios, this.basePath));
15261
+ return Pt(this.configuration).setVirtualRobotMounting(t, r, a, o, n).then((s) => s(this.axios, this.basePath));
15262
15262
  }
15263
15263
  }
15264
15264
  function ft(e, t, r) {
@@ -15302,15 +15302,15 @@ class h1 {
15302
15302
  }
15303
15303
  if (p !== m || i !== u || c !== y || d !== g) {
15304
15304
  let x = 1 - l;
15305
- const I = i * u + c * y + d * g + p * m, D = I >= 0 ? 1 : -1, F = 1 - I * I;
15305
+ const I = i * u + c * y + d * g + p * m, N = I >= 0 ? 1 : -1, F = 1 - I * I;
15306
15306
  if (F > Number.EPSILON) {
15307
- const z = Math.sqrt(F), H = Math.atan2(z, I * D);
15308
- x = Math.sin(x * H) / z, l = Math.sin(l * H) / z;
15307
+ const D = Math.sqrt(F), H = Math.atan2(D, I * N);
15308
+ x = Math.sin(x * H) / D, l = Math.sin(l * H) / D;
15309
15309
  }
15310
- const N = l * D;
15311
- if (i = i * x + u * N, c = c * x + y * N, d = d * x + g * N, p = p * x + m * N, x === 1 - l) {
15312
- const z = 1 / Math.sqrt(i * i + c * c + d * d + p * p);
15313
- i *= z, c *= z, d *= z, p *= z;
15310
+ const z = l * N;
15311
+ if (i = i * x + u * z, c = c * x + y * z, d = d * x + g * z, p = p * x + m * z, x === 1 - l) {
15312
+ const D = 1 / Math.sqrt(i * i + c * c + d * d + p * p);
15313
+ i *= D, c *= D, d *= D, p *= D;
15314
15314
  }
15315
15315
  }
15316
15316
  t[r] = i, t[r + 1] = c, t[r + 2] = d, t[r + 3] = p;
@@ -16503,7 +16503,7 @@ function an() {
16503
16503
  var nt = {}, ul;
16504
16504
  function f1() {
16505
16505
  if (ul) return nt;
16506
- ul = 1, Object.defineProperty(nt, "__esModule", { value: !0 }), nt.TokenData = void 0, nt.parse = p, nt.compile = u, nt.match = m, nt.pathToRegexp = x, nt.stringify = N;
16506
+ ul = 1, Object.defineProperty(nt, "__esModule", { value: !0 }), nt.TokenData = void 0, nt.parse = p, nt.compile = u, nt.match = m, nt.pathToRegexp = x, nt.stringify = z;
16507
16507
  const e = "/", t = (j) => j, r = /^[$_\p{ID_Start}]$/u, a = /^[$\u200c\u200d\p{ID_Continue}]$/u, o = "https://git.new/pathToRegexpError", n = {
16508
16508
  // Groups.
16509
16509
  "{": "{",
@@ -16709,7 +16709,7 @@ function f1() {
16709
16709
  const { delimiter: k = e, end: f = !0, sensitive: M = !1, trailing: L = !0 } = U, J = [], q = [], re = M ? "" : "i", ve = (Array.isArray(j) ? j : [j]).map(($) => $ instanceof d ? $ : p($, U));
16710
16710
  for (const { tokens: $ } of ve)
16711
16711
  for (const Q of I($, 0, [])) {
16712
- const oe = D(Q, k, J);
16712
+ const oe = N(Q, k, J);
16713
16713
  q.push(oe);
16714
16714
  }
16715
16715
  let K = `^(?:${q.join("|")})`;
@@ -16727,7 +16727,7 @@ function f1() {
16727
16727
  k.push(f);
16728
16728
  yield* I(j, U + 1, k);
16729
16729
  }
16730
- function D(j, U, k) {
16730
+ function N(j, U, k) {
16731
16731
  let f = "", M = "", L = !0;
16732
16732
  for (let J = 0; J < j.length; J++) {
16733
16733
  const q = j[J];
@@ -16747,13 +16747,13 @@ function f1() {
16747
16747
  function F(j, U) {
16748
16748
  return U.length < 2 ? j.length < 2 ? `[^${l(j + U)}]` : `(?:(?!${l(j)})[^${l(U)}])` : j.length < 2 ? `(?:(?!${l(U)})[^${l(j)}])` : `(?:(?!${l(U)}|${l(j)})[\\s\\S])`;
16749
16749
  }
16750
- function N(j) {
16750
+ function z(j) {
16751
16751
  return j.tokens.map(function U(k, f, M) {
16752
16752
  if (k.type === "text")
16753
16753
  return s(k.value);
16754
16754
  if (k.type === "group")
16755
16755
  return `{${k.tokens.map(U).join("")}}`;
16756
- const J = z(k.name) && H(M[f + 1]) ? k.name : JSON.stringify(k.name);
16756
+ const J = D(k.name) && H(M[f + 1]) ? k.name : JSON.stringify(k.name);
16757
16757
  if (k.type === "param")
16758
16758
  return `:${J}`;
16759
16759
  if (k.type === "wildcard")
@@ -16761,7 +16761,7 @@ function f1() {
16761
16761
  throw new TypeError(`Unexpected token: ${k}`);
16762
16762
  }).join("");
16763
16763
  }
16764
- function z(j) {
16764
+ function D(j) {
16765
16765
  const [U, ...k] = j;
16766
16766
  return r.test(U) ? k.every((f) => a.test(f)) : !1;
16767
16767
  }
@@ -16791,13 +16791,13 @@ var hl = 1e-4, g1 = class ic {
16791
16791
  constructor(t, r, a, o, n, s, l, i, c, d, p, u) {
16792
16792
  this.nova = t, this.controller = r, this.motionGroup = a, this.initialMotionState = o, this.motionStateSocket = n, this.isVirtual = s, this.tcps = l, this.motionGroupSpecification = i, this.safetySetup = c, this.mounting = d, this.initialControllerState = p, this.controllerStateSocket = u, this.connectedJoggingCartesianSocket = null, this.connectedJoggingJointsSocket = null, this.joggingVelocity = 10, this.activationState = "inactive", this.rapidlyChangingMotionState = o, this.controllerState = p, u.addEventListener("message", (y) => {
16793
16793
  var g;
16794
- const m = (g = Rt(y.data)) == null ? void 0 : g.result;
16794
+ const m = (g = At(y.data)) == null ? void 0 : g.result;
16795
16795
  m && De(() => {
16796
16796
  this.controllerState = m;
16797
16797
  });
16798
16798
  }), n.addEventListener("message", (y) => {
16799
16799
  var g;
16800
- const m = (g = Rt(y.data)) == null ? void 0 : g.result;
16800
+ const m = (g = At(y.data)) == null ? void 0 : g.result;
16801
16801
  if (!m)
16802
16802
  throw new Error(
16803
16803
  `Failed to get motion state for ${this.motionGroupId}: ${y.data}`
@@ -16829,7 +16829,7 @@ var hl = 1e-4, g1 = class ic {
16829
16829
  );
16830
16830
  const d = t.openReconnectingWebsocket(
16831
16831
  `/motion-groups/${r}/state-stream`
16832
- ), p = yield d.firstMessage(), u = (o = Rt(p.data)) == null ? void 0 : o.result;
16832
+ ), p = yield d.firstMessage(), u = (o = At(p.data)) == null ? void 0 : o.result;
16833
16833
  if (!u)
16834
16834
  throw new Error(
16835
16835
  `Unable to parse initial motion state message ${p.data}`
@@ -16854,17 +16854,17 @@ var hl = 1e-4, g1 = class ic {
16854
16854
  }
16855
16855
  }), x = t.openReconnectingWebsocket(
16856
16856
  `/controllers/${i.controller}/state-stream?response_rate=1000`
16857
- ), I = yield x.firstMessage(), D = (n = Rt(I.data)) == null ? void 0 : n.result;
16858
- if (!D)
16857
+ ), I = yield x.firstMessage(), N = (n = At(I.data)) == null ? void 0 : n.result;
16858
+ if (!N)
16859
16859
  throw new Error(
16860
16860
  `Unable to parse initial controller state message ${I.data}`
16861
16861
  );
16862
16862
  console.log(
16863
16863
  `Connected controller state websocket to controller ${i.controller}. Initial state:
16864
16864
  `,
16865
- D
16865
+ N
16866
16866
  );
16867
- const { tcps: F } = yield t.api.motionGroupInfos.listTcps(r), N = yield t.api.motionGroupInfos.getMotionGroupSpecification(r), z = yield t.api.motionGroupInfos.getSafetySetup(r);
16867
+ const { tcps: F } = yield t.api.motionGroupInfos.listTcps(r), z = yield t.api.motionGroupInfos.getMotionGroupSpecification(r), D = yield t.api.motionGroupInfos.getSafetySetup(r);
16868
16868
  return new ic(
16869
16869
  t,
16870
16870
  i,
@@ -16873,10 +16873,10 @@ var hl = 1e-4, g1 = class ic {
16873
16873
  d,
16874
16874
  g,
16875
16875
  F,
16876
- N,
16877
16876
  z,
16878
- m,
16879
16877
  D,
16878
+ m,
16879
+ N,
16880
16880
  x
16881
16881
  );
16882
16882
  });
@@ -17070,7 +17070,7 @@ var hl = 1e-4, g1 = class ic {
17070
17070
  ), this.cartesianWebsocket.addEventListener(
17071
17071
  "message",
17072
17072
  (a) => {
17073
- const o = Rt(a.data);
17073
+ const o = At(a.data);
17074
17074
  if (o && "error" in o)
17075
17075
  if (this.opts.onError)
17076
17076
  this.opts.onError(a.data);
@@ -17080,7 +17080,7 @@ var hl = 1e-4, g1 = class ic {
17080
17080
  )), t === "joint" && !this.jointWebsocket && (this.jointWebsocket = this.nova.openReconnectingWebsocket(
17081
17081
  "/motion-groups/move-joint"
17082
17082
  ), this.jointWebsocket.addEventListener("message", (a) => {
17083
- const o = Rt(a.data);
17083
+ const o = At(a.data);
17084
17084
  if (o && "error" in o)
17085
17085
  if (this.opts.onError)
17086
17086
  this.opts.onError(a.data);
@@ -17200,9 +17200,9 @@ var hl = 1e-4, g1 = class ic {
17200
17200
  r.orientation.z
17201
17201
  ), g = y.length(), m = y.clone().normalize(), x = i.distanceRads * (l === "-" ? -1 : 1), I = new yr(0, 0, 0);
17202
17202
  I[s] = 1;
17203
- const D = Math.cos(0.5 * x) * Math.cos(0.5 * g), F = Math.sin(0.5 * x) * Math.sin(0.5 * g), N = Math.sin(0.5 * x) * Math.cos(0.5 * g), z = Math.cos(0.5 * x) * Math.sin(0.5 * g), H = I.dot(
17203
+ const N = Math.cos(0.5 * x) * Math.cos(0.5 * g), F = Math.sin(0.5 * x) * Math.sin(0.5 * g), z = Math.sin(0.5 * x) * Math.cos(0.5 * g), D = Math.cos(0.5 * x) * Math.sin(0.5 * g), H = I.dot(
17204
17204
  m
17205
- ), j = I.clone().cross(m), U = 2 * Math.acos(D - F * H), k = U / Math.sin(0.5 * U), f = new yr().addScaledVector(j, F).addScaledVector(I, N).addScaledVector(m, z).multiplyScalar(k);
17205
+ ), j = I.clone().cross(m), U = 2 * Math.acos(N - F * H), k = U / Math.sin(0.5 * U), f = new yr().addScaledVector(j, F).addScaledVector(I, z).addScaledVector(m, D).multiplyScalar(k);
17206
17206
  d.push({
17207
17207
  settings: {
17208
17208
  limits_override: {
@@ -17311,7 +17311,7 @@ var v1 = class dc {
17311
17311
  constructor(t, r, a, o, n) {
17312
17312
  this.nova = t, this.controller = r, this.motionGroup = a, this.initialMotionState = o, this.motionStateSocket = n, this.rapidlyChangingMotionState = o, n.addEventListener("message", (s) => {
17313
17313
  var l;
17314
- const i = (l = Rt(s.data)) == null ? void 0 : l.result;
17314
+ const i = (l = At(s.data)) == null ? void 0 : l.result;
17315
17315
  if (!i)
17316
17316
  throw new Error(
17317
17317
  `Failed to get motion state for ${this.motionGroupId}: ${s.data}`
@@ -17353,7 +17353,7 @@ var v1 = class dc {
17353
17353
  `/motion-groups/${r}/state-stream`
17354
17354
  ), d = yield c.firstMessage();
17355
17355
  console.log("got first message", d);
17356
- const p = (a = Rt(d.data)) == null ? void 0 : a.result;
17356
+ const p = (a = At(d.data)) == null ? void 0 : a.result;
17357
17357
  if (!p)
17358
17358
  throw new Error(
17359
17359
  `Unable to parse initial motion state message ${d.data}`
@@ -18821,8 +18821,8 @@ function _1(e) {
18821
18821
  return e instanceof Pn && e.code === "ERR_NETWORK" ? "Failed to connect to the server. Please check your internet connection." : e instanceof Pn && e.response ? `${(t = e.response) == null ? void 0 : t.status} ${(r = e.response) == null ? void 0 : r.statusText} from ${(a = e.response) == null ? void 0 : a.config.url}: ${JSON.stringify((o = e.response) == null ? void 0 : o.data)}` : e instanceof Error ? e.message : `Unexpected error: ${P1(e) || e}`;
18822
18822
  }
18823
18823
  const pc = (e) => {
18824
- const t = e.softTimeout || 3e3, [r, a] = qt(!1), o = qe();
18825
- return At(() => {
18824
+ const t = e.softTimeout || 3e3, [r, a] = Mt(!1), o = qe();
18825
+ return bt(() => {
18826
18826
  const n = setTimeout(() => {
18827
18827
  a(!0);
18828
18828
  }, t);
@@ -18930,20 +18930,20 @@ function D1(e, t) {
18930
18930
  var r = this.__data__, a = To(r, e);
18931
18931
  return a < 0 ? (++this.size, r.push([e, t])) : r[a][1] = t, this;
18932
18932
  }
18933
- function vt(e) {
18933
+ function xt(e) {
18934
18934
  var t = -1, r = e == null ? 0 : e.length;
18935
18935
  for (this.clear(); ++t < r; ) {
18936
18936
  var a = e[t];
18937
18937
  this.set(a[0], a[1]);
18938
18938
  }
18939
18939
  }
18940
- vt.prototype.clear = k1;
18941
- vt.prototype.delete = F1;
18942
- vt.prototype.get = N1;
18943
- vt.prototype.has = z1;
18944
- vt.prototype.set = D1;
18940
+ xt.prototype.clear = k1;
18941
+ xt.prototype.delete = F1;
18942
+ xt.prototype.get = N1;
18943
+ xt.prototype.has = z1;
18944
+ xt.prototype.set = D1;
18945
18945
  function G1() {
18946
- this.__data__ = new vt(), this.size = 0;
18946
+ this.__data__ = new xt(), this.size = 0;
18947
18947
  }
18948
18948
  function J1(e) {
18949
18949
  var t = this.__data__, r = t.delete(e);
@@ -18957,7 +18957,7 @@ function H1(e) {
18957
18957
  }
18958
18958
  var W1 = "[object AsyncFunction]", Q1 = "[object Function]", K1 = "[object GeneratorFunction]", Y1 = "[object Proxy]";
18959
18959
  function hc(e) {
18960
- if (!zt(e))
18960
+ if (!Dt(e))
18961
18961
  return !1;
18962
18962
  var t = Wt(e);
18963
18963
  return t == Q1 || t == K1 || t == W1 || t == Y1;
@@ -18987,7 +18987,7 @@ var tv = /[\\^$.*+?()[\]{}|]/g, rv = /^\[object .+?Constructor\]$/, av = Functio
18987
18987
  "^" + nv.call(sv).replace(tv, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
18988
18988
  );
18989
18989
  function iv(e) {
18990
- if (!zt(e) || X1(e))
18990
+ if (!Dt(e) || X1(e))
18991
18991
  return !1;
18992
18992
  var t = hc(e) ? lv : rv;
18993
18993
  return t.test(Kt(e));
@@ -19026,23 +19026,23 @@ function vv(e, t) {
19026
19026
  var r = this.__data__;
19027
19027
  return this.size += this.has(e) ? 0 : 1, r[e] = na && t === void 0 ? Sv : t, this;
19028
19028
  }
19029
- function Jt(e) {
19029
+ function qt(e) {
19030
19030
  var t = -1, r = e == null ? 0 : e.length;
19031
19031
  for (this.clear(); ++t < r; ) {
19032
19032
  var a = e[t];
19033
19033
  this.set(a[0], a[1]);
19034
19034
  }
19035
19035
  }
19036
- Jt.prototype.clear = dv;
19037
- Jt.prototype.delete = pv;
19038
- Jt.prototype.get = fv;
19039
- Jt.prototype.has = bv;
19040
- Jt.prototype.set = vv;
19036
+ qt.prototype.clear = dv;
19037
+ qt.prototype.delete = pv;
19038
+ qt.prototype.get = fv;
19039
+ qt.prototype.has = bv;
19040
+ qt.prototype.set = vv;
19041
19041
  function xv() {
19042
19042
  this.size = 0, this.__data__ = {
19043
- hash: new Jt(),
19044
- map: new (oa || vt)(),
19045
- string: new Jt()
19043
+ hash: new qt(),
19044
+ map: new (oa || xt)(),
19045
+ string: new qt()
19046
19046
  };
19047
19047
  }
19048
19048
  function Ov(e) {
@@ -19067,31 +19067,31 @@ function Vv(e, t) {
19067
19067
  var r = Io(this, e), a = r.size;
19068
19068
  return r.set(e, t), this.size += r.size == a ? 0 : 1, this;
19069
19069
  }
19070
- function xt(e) {
19070
+ function Ot(e) {
19071
19071
  var t = -1, r = e == null ? 0 : e.length;
19072
19072
  for (this.clear(); ++t < r; ) {
19073
19073
  var a = e[t];
19074
19074
  this.set(a[0], a[1]);
19075
19075
  }
19076
19076
  }
19077
- xt.prototype.clear = xv;
19078
- xt.prototype.delete = wv;
19079
- xt.prototype.get = Cv;
19080
- xt.prototype.has = Pv;
19081
- xt.prototype.set = Vv;
19077
+ Ot.prototype.clear = xv;
19078
+ Ot.prototype.delete = wv;
19079
+ Ot.prototype.get = Cv;
19080
+ Ot.prototype.has = Pv;
19081
+ Ot.prototype.set = Vv;
19082
19082
  var _v = 200;
19083
19083
  function Rv(e, t) {
19084
19084
  var r = this.__data__;
19085
- if (r instanceof vt) {
19085
+ if (r instanceof xt) {
19086
19086
  var a = r.__data__;
19087
19087
  if (!oa || a.length < _v - 1)
19088
19088
  return a.push([e, t]), this.size = ++r.size, this;
19089
- r = this.__data__ = new xt(a);
19089
+ r = this.__data__ = new Ot(a);
19090
19090
  }
19091
19091
  return r.set(e, t), this.size = r.size, this;
19092
19092
  }
19093
19093
  function gt(e) {
19094
- var t = this.__data__ = new vt(e);
19094
+ var t = this.__data__ = new xt(e);
19095
19095
  this.size = t.size;
19096
19096
  }
19097
19097
  gt.prototype.clear = G1;
@@ -19108,7 +19108,7 @@ function Iv(e) {
19108
19108
  }
19109
19109
  function ao(e) {
19110
19110
  var t = -1, r = e == null ? 0 : e.length;
19111
- for (this.__data__ = new xt(); ++t < r; )
19111
+ for (this.__data__ = new Ot(); ++t < r; )
19112
19112
  this.add(e[t]);
19113
19113
  }
19114
19114
  ao.prototype.add = ao.prototype.push = Tv;
@@ -19142,9 +19142,9 @@ function mc(e, t, r, a, o, n) {
19142
19142
  break;
19143
19143
  }
19144
19144
  if (y) {
19145
- if (!Ev(t, function(I, D) {
19146
- if (!Mv(y, D) && (g === I || o(g, I, r, a, n)))
19147
- return y.push(D);
19145
+ if (!Ev(t, function(I, N) {
19146
+ if (!Mv(y, N) && (g === I || o(g, I, r, a, n)))
19147
+ return y.push(N);
19148
19148
  })) {
19149
19149
  u = !1;
19150
19150
  break;
@@ -19237,12 +19237,12 @@ function nx(e, t) {
19237
19237
  }
19238
19238
  var sx = "[object Arguments]";
19239
19239
  function Sl(e) {
19240
- return Dt(e) && Wt(e) == sx;
19240
+ return Gt(e) && Wt(e) == sx;
19241
19241
  }
19242
19242
  var fc = Object.prototype, lx = fc.hasOwnProperty, ix = fc.propertyIsEnumerable, yc = Sl(/* @__PURE__ */ function() {
19243
19243
  return arguments;
19244
19244
  }()) ? Sl : function(e) {
19245
- return Dt(e) && lx.call(e, "callee") && !ix.call(e, "callee");
19245
+ return Gt(e) && lx.call(e, "callee") && !ix.call(e, "callee");
19246
19246
  };
19247
19247
  function cx() {
19248
19248
  return !1;
@@ -19260,7 +19260,7 @@ var fx = "[object Arguments]", yx = "[object Array]", gx = "[object Boolean]", b
19260
19260
  pe[Tx] = pe[Ix] = pe[Ex] = pe[Mx] = pe[jx] = pe[$x] = pe[Ux] = pe[kx] = pe[Bx] = !0;
19261
19261
  pe[fx] = pe[yx] = pe[Rx] = pe[gx] = pe[Ax] = pe[bx] = pe[Sx] = pe[vx] = pe[xx] = pe[Ox] = pe[wx] = pe[Cx] = pe[Px] = pe[Vx] = pe[_x] = !1;
19262
19262
  function Lx(e) {
19263
- return Dt(e) && Jn(e.length) && !!pe[Wt(e)];
19263
+ return Gt(e) && Jn(e.length) && !!pe[Wt(e)];
19264
19264
  }
19265
19265
  function Fx(e) {
19266
19266
  return function(t) {
@@ -19329,23 +19329,23 @@ function tO(e, t, r, a, o, n) {
19329
19329
  n.set(e, t), n.set(t, e);
19330
19330
  for (var x = s; ++p < i; ) {
19331
19331
  u = l[p];
19332
- var I = e[u], D = t[u];
19332
+ var I = e[u], N = t[u];
19333
19333
  if (a)
19334
- var F = s ? a(D, I, u, t, e, n) : a(I, D, u, e, t, n);
19335
- if (!(F === void 0 ? I === D || o(I, D, r, a, n) : F)) {
19334
+ var F = s ? a(N, I, u, t, e, n) : a(I, N, u, e, t, n);
19335
+ if (!(F === void 0 ? I === N || o(I, N, r, a, n) : F)) {
19336
19336
  m = !1;
19337
19337
  break;
19338
19338
  }
19339
19339
  x || (x = u == "constructor");
19340
19340
  }
19341
19341
  if (m && !x) {
19342
- var N = e.constructor, z = t.constructor;
19343
- N != z && "constructor" in e && "constructor" in t && !(typeof N == "function" && N instanceof N && typeof z == "function" && z instanceof z) && (m = !1);
19342
+ var z = e.constructor, D = t.constructor;
19343
+ z != D && "constructor" in e && "constructor" in t && !(typeof z == "function" && z instanceof z && typeof D == "function" && D instanceof D) && (m = !1);
19344
19344
  }
19345
19345
  return n.delete(e), n.delete(t), m;
19346
19346
  }
19347
- var Rn = Yt(pt, "DataView"), An = Yt(pt, "Promise"), Tn = Yt(pt, "Set"), In = Yt(pt, "WeakMap"), Pl = "[object Map]", rO = "[object Object]", Vl = "[object Promise]", _l = "[object Set]", Rl = "[object WeakMap]", Al = "[object DataView]", aO = Kt(Rn), oO = Kt(oa), nO = Kt(An), sO = Kt(Tn), lO = Kt(In), Vt = Wt;
19348
- (Rn && Vt(new Rn(new ArrayBuffer(1))) != Al || oa && Vt(new oa()) != Pl || An && Vt(An.resolve()) != Vl || Tn && Vt(new Tn()) != _l || In && Vt(new In()) != Rl) && (Vt = function(e) {
19347
+ var Rn = Yt(pt, "DataView"), An = Yt(pt, "Promise"), Tn = Yt(pt, "Set"), In = Yt(pt, "WeakMap"), Pl = "[object Map]", rO = "[object Object]", Vl = "[object Promise]", _l = "[object Set]", Rl = "[object WeakMap]", Al = "[object DataView]", aO = Kt(Rn), oO = Kt(oa), nO = Kt(An), sO = Kt(Tn), lO = Kt(In), _t = Wt;
19348
+ (Rn && _t(new Rn(new ArrayBuffer(1))) != Al || oa && _t(new oa()) != Pl || An && _t(An.resolve()) != Vl || Tn && _t(new Tn()) != _l || In && _t(new In()) != Rl) && (_t = function(e) {
19349
19349
  var t = Wt(e), r = t == rO ? e.constructor : void 0, a = r ? Kt(r) : "";
19350
19350
  if (a)
19351
19351
  switch (a) {
@@ -19364,7 +19364,7 @@ var Rn = Yt(pt, "DataView"), An = Yt(pt, "Promise"), Tn = Yt(pt, "Set"), In = Yt
19364
19364
  });
19365
19365
  var iO = 1, Tl = "[object Arguments]", Il = "[object Array]", Ia = "[object Object]", cO = Object.prototype, El = cO.hasOwnProperty;
19366
19366
  function dO(e, t, r, a, o, n) {
19367
- var s = ct(e), l = ct(t), i = s ? Il : Vt(e), c = l ? Il : Vt(t);
19367
+ var s = ct(e), l = ct(t), i = s ? Il : _t(e), c = l ? Il : _t(t);
19368
19368
  i = i == Tl ? Ia : i, c = c == Tl ? Ia : c;
19369
19369
  var d = i == Ia, p = c == Ia, u = i == c;
19370
19370
  if (u && _n(e)) {
@@ -19384,7 +19384,7 @@ function dO(e, t, r, a, o, n) {
19384
19384
  return u ? (n || (n = new gt()), tO(e, t, r, a, o, n)) : !1;
19385
19385
  }
19386
19386
  function Eo(e, t, r, a, o) {
19387
- return e === t ? !0 : e == null || t == null || !Dt(e) && !Dt(t) ? e !== e && t !== t : dO(e, t, r, a, Eo, o);
19387
+ return e === t ? !0 : e == null || t == null || !Gt(e) && !Gt(t) ? e !== e && t !== t : dO(e, t, r, a, Eo, o);
19388
19388
  }
19389
19389
  function pO(e, t) {
19390
19390
  return Eo(e, t);
@@ -19392,7 +19392,7 @@ function pO(e, t) {
19392
19392
  const Oc = ({
19393
19393
  store: e
19394
19394
  }) => {
19395
- const { t } = dt(), [r, a] = qt(
19395
+ const { t } = dt(), [r, a] = Mt(
19396
19396
  e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached
19397
19397
  ), o = gr(r);
19398
19398
  ca(() => {
@@ -19521,7 +19521,7 @@ function wO(e, t, r, a) {
19521
19521
  return !0;
19522
19522
  }
19523
19523
  function wc(e) {
19524
- return e === e && !zt(e);
19524
+ return e === e && !Dt(e);
19525
19525
  }
19526
19526
  function CO(e) {
19527
19527
  for (var t = qn(e), r = t.length; r--; ) {
@@ -19559,9 +19559,9 @@ function Wn(e, t) {
19559
19559
  var s = e.apply(this, a);
19560
19560
  return r.cache = n.set(o, s) || n, s;
19561
19561
  };
19562
- return r.cache = new (Wn.Cache || xt)(), r;
19562
+ return r.cache = new (Wn.Cache || Ot)(), r;
19563
19563
  }
19564
- Wn.Cache = xt;
19564
+ Wn.Cache = Ot;
19565
19565
  var AO = 500;
19566
19566
  function TO(e) {
19567
19567
  var t = Wn(e, function(a) {
@@ -20074,7 +20074,7 @@ function rw(e) {
20074
20074
  function aw(e, t, r) {
20075
20075
  return typeof e == "function" ? e(t, r) : e;
20076
20076
  }
20077
- function Pt(e) {
20077
+ function Vt(e) {
20078
20078
  var p;
20079
20079
  const {
20080
20080
  elementType: t,
@@ -20241,9 +20241,9 @@ function uw(e) {
20241
20241
  step: m = 1,
20242
20242
  shiftStep: x = 10,
20243
20243
  tabIndex: I,
20244
- value: D
20245
- } = e, F = B.useRef(void 0), [N, z] = B.useState(-1), [H, j] = B.useState(-1), [U, k] = B.useState(!1), f = B.useRef(0), M = B.useRef(null), [L, J] = Rh({
20246
- controlled: D,
20244
+ value: N
20245
+ } = e, F = B.useRef(void 0), [z, D] = B.useState(-1), [H, j] = B.useState(-1), [U, k] = B.useState(!1), f = B.useRef(0), M = B.useRef(null), [L, J] = Rh({
20246
+ controlled: N,
20247
20247
  default: r ?? i,
20248
20248
  name: "Slider"
20249
20249
  }), q = d && ((G, W, Y) => {
@@ -20289,7 +20289,7 @@ function uw(e) {
20289
20289
  });
20290
20290
  }
20291
20291
  J(X), $(Y), q && !Ua(X, L) && q(G, X, Y), p && p(G, M.current ?? X);
20292
- }, jt = (G) => (W) => {
20292
+ }, $t = (G) => (W) => {
20293
20293
  var Y;
20294
20294
  if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(W.key)) {
20295
20295
  W.preventDefault();
@@ -20334,8 +20334,8 @@ function uw(e) {
20334
20334
  ci(() => {
20335
20335
  var G;
20336
20336
  a && Q.current.contains(document.activeElement) && ((G = document.activeElement) == null || G.blur());
20337
- }, [a]), a && N !== -1 && z(-1), a && ge !== -1 && $(-1);
20338
- const Ot = (G) => (W) => {
20337
+ }, [a]), a && z !== -1 && D(-1), a && ge !== -1 && $(-1);
20338
+ const wt = (G) => (W) => {
20339
20339
  var Y;
20340
20340
  (Y = G.onChange) == null || Y.call(G, W), Ee(W, W.target.valueAsNumber);
20341
20341
  }, me = B.useRef(void 0);
@@ -20395,7 +20395,7 @@ function uw(e) {
20395
20395
  $a({
20396
20396
  sliderRef: Q,
20397
20397
  activeIndex: ae,
20398
- setActive: z
20398
+ setActive: D
20399
20399
  }), J(Y), !U && f.current > sw && k(!0), q && !Ua(Y, L) && q(G, Y, ae);
20400
20400
  }), rt = Go((G) => {
20401
20401
  const W = ja(G, F);
@@ -20407,7 +20407,7 @@ function uw(e) {
20407
20407
  finger: W,
20408
20408
  move: !0
20409
20409
  });
20410
- z(-1), G.type === "touchend" && j(-1), p && p(G, M.current ?? Y), F.current = void 0, $t();
20410
+ D(-1), G.type === "touchend" && j(-1), p && p(G, M.current ?? Y), F.current = void 0, Ut();
20411
20411
  }), Me = Go((G) => {
20412
20412
  if (a)
20413
20413
  return;
@@ -20425,7 +20425,7 @@ function uw(e) {
20425
20425
  $a({
20426
20426
  sliderRef: Q,
20427
20427
  activeIndex: X,
20428
- setActive: z
20428
+ setActive: D
20429
20429
  }), J(le), q && !Ua(le, L) && q(G, le, X);
20430
20430
  }
20431
20431
  f.current = 0;
@@ -20435,7 +20435,7 @@ function uw(e) {
20435
20435
  }), ae.addEventListener("touchend", rt, {
20436
20436
  passive: !0
20437
20437
  });
20438
- }), $t = B.useCallback(() => {
20438
+ }), Ut = B.useCallback(() => {
20439
20439
  const G = Fa(Q.current);
20440
20440
  G.removeEventListener("mousemove", ut), G.removeEventListener("mouseup", rt), G.removeEventListener("touchmove", ut), G.removeEventListener("touchend", rt);
20441
20441
  }, [rt, ut]);
@@ -20446,11 +20446,11 @@ function uw(e) {
20446
20446
  return G.addEventListener("touchstart", Me, {
20447
20447
  passive: Nl()
20448
20448
  }), () => {
20449
- G.removeEventListener("touchstart", Me), $t();
20449
+ G.removeEventListener("touchstart", Me), Ut();
20450
20450
  };
20451
- }, [$t, Me]), B.useEffect(() => {
20452
- a && $t();
20453
- }, [a, $t]);
20451
+ }, [Ut, Me]), B.useEffect(() => {
20452
+ a && Ut();
20453
+ }, [a, Ut]);
20454
20454
  const jo = (G) => (W) => {
20455
20455
  var le;
20456
20456
  if ((le = G.onMouseDown) == null || le.call(G, W), a || W.defaultPrevented || W.button !== 0)
@@ -20467,7 +20467,7 @@ function uw(e) {
20467
20467
  $a({
20468
20468
  sliderRef: Q,
20469
20469
  activeIndex: Ve,
20470
- setActive: z
20470
+ setActive: D
20471
20471
  }), J(X), q && !Ua(X, L) && q(W, X, Ve);
20472
20472
  }
20473
20473
  f.current = 0;
@@ -20507,21 +20507,21 @@ function uw(e) {
20507
20507
  };
20508
20508
  }, ga = (G) => ({
20509
20509
  // So the non active thumb doesn't show its label on hover.
20510
- pointerEvents: N !== -1 && N !== G ? "none" : void 0
20510
+ pointerEvents: z !== -1 && z !== G ? "none" : void 0
20511
20511
  });
20512
20512
  let Xt;
20513
20513
  return u === "vertical" && (Xt = n ? "vertical-rl" : "vertical-lr"), {
20514
- active: N,
20514
+ active: z,
20515
20515
  axis: Le,
20516
20516
  axisProps: dw,
20517
20517
  dragging: U,
20518
20518
  focusedThumbIndex: ge,
20519
20519
  getHiddenInputProps: (G = {}) => {
20520
20520
  const W = Ga(G), Y = {
20521
- onChange: Ot(W || {}),
20521
+ onChange: wt(W || {}),
20522
20522
  onFocus: we(W || {}),
20523
20523
  onBlur: He(W || {}),
20524
- onKeyDown: jt(W || {})
20524
+ onKeyDown: $t(W || {})
20525
20525
  }, ae = {
20526
20526
  ...W,
20527
20527
  ...Y
@@ -20623,7 +20623,7 @@ process.env.NODE_ENV !== "production" && (Tc.propTypes = {
20623
20623
  function zl(e) {
20624
20624
  return e;
20625
20625
  }
20626
- const bw = bt("span", {
20626
+ const bw = St("span", {
20627
20627
  name: "MuiSlider",
20628
20628
  slot: "Root",
20629
20629
  overridesResolver: (e, t) => {
@@ -20723,7 +20723,7 @@ const bw = bt("span", {
20723
20723
  marginRight: 44
20724
20724
  }
20725
20725
  }]
20726
- }))), Sw = bt("span", {
20726
+ }))), Sw = St("span", {
20727
20727
  name: "MuiSlider",
20728
20728
  slot: "Rail"
20729
20729
  })({
@@ -20760,7 +20760,7 @@ const bw = bt("span", {
20760
20760
  opacity: 1
20761
20761
  }
20762
20762
  }]
20763
- }), vw = bt("span", {
20763
+ }), vw = St("span", {
20764
20764
  name: "MuiSlider",
20765
20765
  slot: "Track"
20766
20766
  })(Ht(({
@@ -20827,7 +20827,7 @@ const bw = bt("span", {
20827
20827
  }
20828
20828
  }
20829
20829
  }))]
20830
- }))), xw = bt("span", {
20830
+ }))), xw = St("span", {
20831
20831
  name: "MuiSlider",
20832
20832
  slot: "Thumb",
20833
20833
  overridesResolver: (e, t) => {
@@ -20927,7 +20927,7 @@ const bw = bt("span", {
20927
20927
  }
20928
20928
  }
20929
20929
  }))]
20930
- }))), Ic = bt(Tc, {
20930
+ }))), Ic = St(Tc, {
20931
20931
  name: "MuiSlider",
20932
20932
  slot: "ValueLabel"
20933
20933
  })(Ht(({
@@ -21033,7 +21033,7 @@ process.env.NODE_ENV !== "production" && (Ic.propTypes = {
21033
21033
  */
21034
21034
  value: S.node
21035
21035
  });
21036
- const Ow = bt("span", {
21036
+ const Ow = St("span", {
21037
21037
  name: "MuiSlider",
21038
21038
  slot: "Mark",
21039
21039
  shouldForwardProp: (e) => Ln(e) && e !== "markActive",
@@ -21076,7 +21076,7 @@ const Ow = bt("span", {
21076
21076
  opacity: 0.8
21077
21077
  }
21078
21078
  }]
21079
- }))), ww = bt("span", {
21079
+ }))), ww = St("span", {
21080
21080
  name: "MuiSlider",
21081
21081
  slot: "MarkLabel",
21082
21082
  shouldForwardProp: (e) => Ln(e) && e !== "markLabelActive"
@@ -21163,10 +21163,10 @@ const Ow = bt("span", {
21163
21163
  disabled: m = !1,
21164
21164
  getAriaLabel: x,
21165
21165
  getAriaValueText: I,
21166
- marks: D = !1,
21166
+ marks: N = !1,
21167
21167
  max: F = 100,
21168
- min: N = 0,
21169
- name: z,
21168
+ min: z = 0,
21169
+ name: D,
21170
21170
  onChange: H,
21171
21171
  onChangeCommitted: j,
21172
21172
  orientation: U = "horizontal",
@@ -21186,12 +21186,12 @@ const Ow = bt("span", {
21186
21186
  ...a,
21187
21187
  isRtl: o,
21188
21188
  max: F,
21189
- min: N,
21189
+ min: z,
21190
21190
  classes: u,
21191
21191
  disabled: m,
21192
21192
  disableSwap: g,
21193
21193
  orientation: U,
21194
- marks: D,
21194
+ marks: N,
21195
21195
  color: p,
21196
21196
  size: f,
21197
21197
  step: M,
@@ -21205,15 +21205,15 @@ const Ow = bt("span", {
21205
21205
  getRootProps: we,
21206
21206
  getHiddenInputProps: He,
21207
21207
  getThumbProps: Ee,
21208
- open: jt,
21209
- active: Ot,
21208
+ open: $t,
21209
+ active: wt,
21210
21210
  axis: me,
21211
21211
  focusedThumbIndex: Le,
21212
21212
  range: Xe,
21213
21213
  dragging: ut,
21214
21214
  marks: rt,
21215
21215
  values: Me,
21216
- trackOffset: $t,
21216
+ trackOffset: Ut,
21217
21217
  trackLeap: jo,
21218
21218
  getThumbStyle: ha
21219
21219
  } = uw({
@@ -21221,7 +21221,7 @@ const Ow = bt("span", {
21221
21221
  rootRef: r
21222
21222
  });
21223
21223
  Q.marked = rt.length > 0 && rt.some((Ce) => Ce.label), Q.dragging = ut, Q.focusedThumbIndex = Le;
21224
- const je = Cw(Q), Ar = (q == null ? void 0 : q.root) ?? c.Root ?? bw, ma = (q == null ? void 0 : q.rail) ?? c.Rail ?? Sw, fa = (q == null ? void 0 : q.track) ?? c.Track ?? vw, ya = (q == null ? void 0 : q.thumb) ?? c.Thumb ?? xw, ga = (q == null ? void 0 : q.valueLabel) ?? c.ValueLabel ?? Ic, Xt = (q == null ? void 0 : q.mark) ?? c.Mark ?? Ow, ba = (q == null ? void 0 : q.markLabel) ?? c.MarkLabel ?? ww, G = (q == null ? void 0 : q.input) ?? c.Input ?? "input", W = (J == null ? void 0 : J.root) ?? d.root, Y = (J == null ? void 0 : J.rail) ?? d.rail, ae = (J == null ? void 0 : J.track) ?? d.track, le = (J == null ? void 0 : J.thumb) ?? d.thumb, X = (J == null ? void 0 : J.valueLabel) ?? d.valueLabel, Ve = (J == null ? void 0 : J.mark) ?? d.mark, $e = (J == null ? void 0 : J.markLabel) ?? d.markLabel, Pe = (J == null ? void 0 : J.input) ?? d.input, We = Pt({
21224
+ const je = Cw(Q), Ar = (q == null ? void 0 : q.root) ?? c.Root ?? bw, ma = (q == null ? void 0 : q.rail) ?? c.Rail ?? Sw, fa = (q == null ? void 0 : q.track) ?? c.Track ?? vw, ya = (q == null ? void 0 : q.thumb) ?? c.Thumb ?? xw, ga = (q == null ? void 0 : q.valueLabel) ?? c.ValueLabel ?? Ic, Xt = (q == null ? void 0 : q.mark) ?? c.Mark ?? Ow, ba = (q == null ? void 0 : q.markLabel) ?? c.MarkLabel ?? ww, G = (q == null ? void 0 : q.input) ?? c.Input ?? "input", W = (J == null ? void 0 : J.root) ?? d.root, Y = (J == null ? void 0 : J.rail) ?? d.rail, ae = (J == null ? void 0 : J.track) ?? d.track, le = (J == null ? void 0 : J.thumb) ?? d.thumb, X = (J == null ? void 0 : J.valueLabel) ?? d.valueLabel, Ve = (J == null ? void 0 : J.mark) ?? d.mark, $e = (J == null ? void 0 : J.markLabel) ?? d.markLabel, Pe = (J == null ? void 0 : J.input) ?? d.input, We = Vt({
21225
21225
  elementType: Ar,
21226
21226
  getSlotProps: we,
21227
21227
  externalSlotProps: W,
@@ -21236,17 +21236,17 @@ const Ow = bt("span", {
21236
21236
  ...W == null ? void 0 : W.ownerState
21237
21237
  },
21238
21238
  className: [je.root, y]
21239
- }), Tr = Pt({
21239
+ }), Tr = Vt({
21240
21240
  elementType: ma,
21241
21241
  externalSlotProps: Y,
21242
21242
  ownerState: Q,
21243
21243
  className: je.rail
21244
- }), Nc = Pt({
21244
+ }), Nc = Vt({
21245
21245
  elementType: fa,
21246
21246
  externalSlotProps: ae,
21247
21247
  additionalProps: {
21248
21248
  style: {
21249
- ...oe[me].offset($t),
21249
+ ...oe[me].offset(Ut),
21250
21250
  ...oe[me].leap(jo)
21251
21251
  }
21252
21252
  },
@@ -21255,7 +21255,7 @@ const Ow = bt("span", {
21255
21255
  ...ae == null ? void 0 : ae.ownerState
21256
21256
  },
21257
21257
  className: je.track
21258
- }), $o = Pt({
21258
+ }), $o = Vt({
21259
21259
  elementType: ya,
21260
21260
  getSlotProps: Ee,
21261
21261
  externalSlotProps: le,
@@ -21264,7 +21264,7 @@ const Ow = bt("span", {
21264
21264
  ...le == null ? void 0 : le.ownerState
21265
21265
  },
21266
21266
  className: je.thumb
21267
- }), zc = Pt({
21267
+ }), zc = Vt({
21268
21268
  elementType: ga,
21269
21269
  externalSlotProps: X,
21270
21270
  ownerState: {
@@ -21272,17 +21272,17 @@ const Ow = bt("span", {
21272
21272
  ...X == null ? void 0 : X.ownerState
21273
21273
  },
21274
21274
  className: je.valueLabel
21275
- }), Uo = Pt({
21275
+ }), Uo = Vt({
21276
21276
  elementType: Xt,
21277
21277
  externalSlotProps: Ve,
21278
21278
  ownerState: Q,
21279
21279
  className: je.mark
21280
- }), ko = Pt({
21280
+ }), ko = Vt({
21281
21281
  elementType: ba,
21282
21282
  externalSlotProps: $e,
21283
21283
  ownerState: Q,
21284
21284
  className: je.markLabel
21285
- }), Dc = Pt({
21285
+ }), Dc = Vt({
21286
21286
  elementType: G,
21287
21287
  getSlotProps: He,
21288
21288
  externalSlotProps: Pe,
@@ -21294,8 +21294,8 @@ const Ow = bt("span", {
21294
21294
  ...Tr
21295
21295
  }), /* @__PURE__ */ b.jsx(fa, {
21296
21296
  ...Nc
21297
- }), rt.filter((Ce) => Ce.value >= N && Ce.value <= F).map((Ce, Re) => {
21298
- const Bo = oo(Ce.value, N, F), Sa = oe[me].offset(Bo);
21297
+ }), rt.filter((Ce) => Ce.value >= z && Ce.value <= F).map((Ce, Re) => {
21298
+ const Bo = oo(Ce.value, z, F), Sa = oe[me].offset(Bo);
21299
21299
  let ht;
21300
21300
  return Z === !1 ? ht = Me.includes(Ce.value) : ht = Z === "normal" && (Xe ? Ce.value >= Me[0] && Ce.value <= Me[Me.length - 1] : Ce.value <= Me[0]) || Z === "inverted" && (Xe ? Ce.value <= Me[0] || Ce.value >= Me[Me.length - 1] : Ce.value >= Me[0]), /* @__PURE__ */ b.jsxs(B.Fragment, {
21301
21301
  children: [/* @__PURE__ */ b.jsx(Xt, {
@@ -21325,7 +21325,7 @@ const Ow = bt("span", {
21325
21325
  }) : null]
21326
21326
  }, Re);
21327
21327
  }), Me.map((Ce, Re) => {
21328
- const Bo = oo(Ce, N, F), Sa = oe[me].offset(Bo), ht = K === "off" ? Pw : ga;
21328
+ const Bo = oo(Ce, z, F), Sa = oe[me].offset(Bo), ht = K === "off" ? Pw : ga;
21329
21329
  return (
21330
21330
  /* 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. */
21331
21331
  /* @__PURE__ */ b.jsx(ht, {
@@ -21334,14 +21334,14 @@ const Ow = bt("span", {
21334
21334
  valueLabelDisplay: K,
21335
21335
  value: typeof ge == "function" ? ge(L(Ce), Re) : ge,
21336
21336
  index: Re,
21337
- open: jt === Re || Ot === Re || K === "on",
21337
+ open: $t === Re || wt === Re || K === "on",
21338
21338
  disabled: m
21339
21339
  },
21340
21340
  ...zc,
21341
21341
  children: /* @__PURE__ */ b.jsx(ya, {
21342
21342
  "data-index": Re,
21343
21343
  ...$o,
21344
- className: yt(je.thumb, $o.className, Ot === Re && je.active, Le === Re && je.focusVisible),
21344
+ className: yt(je.thumb, $o.className, wt === Re && je.active, Le === Re && je.focusVisible),
21345
21345
  style: {
21346
21346
  ...Sa,
21347
21347
  ...ha(Re),
@@ -21629,7 +21629,7 @@ process.env.NODE_ENV !== "production" && (Ec.propTypes = {
21629
21629
  });
21630
21630
  var Vw = "[object Number]";
21631
21631
  function _w(e) {
21632
- return typeof e == "number" || Dt(e) && Wt(e) == Vw;
21632
+ return typeof e == "number" || Gt(e) && Wt(e) == Vw;
21633
21633
  }
21634
21634
  const Rw = Ie((e) => {
21635
21635
  var n, s, l;
@@ -21801,8 +21801,8 @@ const jc = Ie(
21801
21801
  e.isLocked || e.activeDiscreteIncrement || await e.deactivate();
21802
21802
  }
21803
21803
  function i(u, y, g) {
21804
- var x, I, D;
21805
- const m = (D = (I = (x = g.componentsExt) == null ? void 0 : x.JoggingPanel) == null ? void 0 : I.JoggingCartesian) == null ? void 0 : D.Axis;
21804
+ var x, I, N;
21805
+ const m = (N = (I = (x = g.componentsExt) == null ? void 0 : x.JoggingPanel) == null ? void 0 : I.JoggingCartesian) == null ? void 0 : N.Axis;
21806
21806
  if (m)
21807
21807
  return y === "translate" ? m[u] : m.CustomRotation ?? m[u];
21808
21808
  }
@@ -22045,10 +22045,10 @@ const jc = Ie(
22045
22045
  r.loadingError = o;
22046
22046
  }
22047
22047
  }
22048
- return At(() => (a(), e.store ? () => null : () => {
22048
+ return bt(() => (a(), e.store ? () => null : () => {
22049
22049
  var o;
22050
22050
  (o = r.joggingStore) == null || o.dispose();
22051
- }), [e.store, e.nova, e.motionGroupId]), At(() => {
22051
+ }), [e.store, e.nova, e.motionGroupId]), bt(() => {
22052
22052
  const o = r.joggingStore;
22053
22053
  o && (e.locked ? o.lock("external") : o.unlock("external"));
22054
22054
  }, [r.joggingStore, e.locked]), /* @__PURE__ */ b.jsx(
@@ -22123,7 +22123,7 @@ const jc = Ie(
22123
22123
  value: t
22124
22124
  }, r) => {
22125
22125
  var l;
22126
- const a = qe(), [o, n] = qt(!1);
22126
+ const a = qe(), [o, n] = Mt(!1);
22127
22127
  async function s() {
22128
22128
  if (!r || !("current" in r))
22129
22129
  return console.warn("No copy target found"), !1;
@@ -22136,7 +22136,7 @@ const jc = Ie(
22136
22136
  }
22137
22137
  return !1;
22138
22138
  }
22139
- return At(() => {
22139
+ return bt(() => {
22140
22140
  if (!o)
22141
22141
  return;
22142
22142
  const i = setTimeout(() => n(!1), 3e3);
@@ -22344,44 +22344,51 @@ function Lc({
22344
22344
  children: a
22345
22345
  }) {
22346
22346
  Td.assign({ frameLoop: "always" });
22347
- const o = gr([]), n = gr([]), { invalidate: s } = Kc();
22348
- function l(u) {
22349
- u && (n.current = Mw(u), c(), s());
22347
+ const o = gr([]), n = gr([]), [s, l] = Mt(!1), { invalidate: i } = Kc();
22348
+ function c(g) {
22349
+ if (!g) {
22350
+ l(!1);
22351
+ return;
22352
+ }
22353
+ n.current = Mw(g), n.current.length > 0 && n.current.every((m) => m != null) ? l(!0) : l(!1);
22350
22354
  }
22351
- function i(u) {
22352
- o.current = u, p.start(Object.assign({}, o.current));
22355
+ function d(g) {
22356
+ s && (o.current = g, y.start(Object.assign({}, o.current)));
22353
22357
  }
22354
- function c() {
22355
- const u = n.current.map(
22356
- (y, g) => d[g].get()
22358
+ function p() {
22359
+ if (!s) return;
22360
+ const g = n.current.map(
22361
+ (m, x) => u[x].get()
22357
22362
  );
22358
22363
  if (r)
22359
- r(n.current, u);
22364
+ r(n.current, g);
22360
22365
  else
22361
- for (const [y, g] of n.current.entries()) {
22362
- const m = t[y], x = m.theta || 0, I = m.reverse_rotation_direction ? -1 : 1;
22363
- g.rotation.y = I * u[y] + x;
22366
+ for (const [m, x] of n.current.entries()) {
22367
+ const I = t[m], N = I.theta || 0, F = I.reverse_rotation_direction ? -1 : 1;
22368
+ x.rotation.y = F * g[m] + N;
22364
22369
  }
22365
22370
  }
22366
- wh(() => {
22367
- const u = e.state.joint_position.joints.filter(
22368
- (y) => y !== void 0
22369
- );
22370
- requestAnimationFrame(() => i(u));
22371
- });
22372
- const [d, p] = Id(() => ({
22371
+ const [u, y] = Id(() => ({
22373
22372
  ...Object.assign(
22374
22373
  {},
22375
22374
  e.state.joint_position.joints
22376
22375
  ),
22377
22376
  onChange: () => {
22378
- c(), s();
22377
+ s && (p(), i());
22379
22378
  },
22380
22379
  onResolve: () => {
22381
- c();
22380
+ s && p();
22382
22381
  }
22383
22382
  }));
22384
- return /* @__PURE__ */ b.jsx("group", { ref: l, children: a });
22383
+ return bt(() => {
22384
+ s && (p(), i());
22385
+ }, [s]), wh(() => {
22386
+ if (!s) return;
22387
+ const g = e.state.joint_position.joints.filter(
22388
+ (m) => m !== void 0
22389
+ );
22390
+ requestAnimationFrame(() => d(g));
22391
+ }), /* @__PURE__ */ b.jsx("group", { ref: c, children: a });
22385
22392
  }
22386
22393
  const Gl = "line", Jl = "mesh";
22387
22394
  function $w({
@@ -22455,7 +22462,7 @@ function $w({
22455
22462
  }
22456
22463
  const Uw = console.warn;
22457
22464
  function kw() {
22458
- return At(() => {
22465
+ return bt(() => {
22459
22466
  console.warn = (e) => {
22460
22467
  e !== "Cannot call the manual advancement of rafz whilst frameLoop is not set as demand" && Uw(e);
22461
22468
  };
@@ -22548,10 +22555,10 @@ const Fw = (e, t) => {
22548
22555
  transparentColor: s,
22549
22556
  ...l
22550
22557
  }) => {
22551
- const [i, c] = qt(null), d = ql((u) => {
22558
+ const [i, c] = Mt(null), d = ql((u) => {
22552
22559
  c(u);
22553
22560
  }, []);
22554
- At(() => {
22561
+ bt(() => {
22555
22562
  i && (s ? Fw(i, s) : Nw(i));
22556
22563
  }, [i, s]);
22557
22564
  const p = /* @__PURE__ */ b.jsx(
@@ -23122,7 +23129,7 @@ async function fC() {
23122
23129
  }
23123
23130
  const cP = xr(
23124
23131
  (e) => {
23125
- const t = qe(), [r, a] = qt("dark-plus"), o = t.palette.mode === "dark" ? "dark-plus" : "light-plus";
23132
+ const t = qe(), [r, a] = Mt("dark-plus"), o = t.palette.mode === "dark" ? "dark-plus" : "light-plus";
23126
23133
  async function n(s) {
23127
23134
  var c, d;
23128
23135
  s.languages.register({ id: "wandelscript" }), s.languages.setLanguageConfiguration("wandelscript", {