@wandelbots/wandelbots-js-react-components 5.10.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,79 +1,79 @@
1
- import { jsx as a, jsxs as S, Fragment as nt } from "react/jsx-runtime";
2
- import { styled as dt, alpha as Rt, useTheme as B } from "@mui/material/styles";
3
- import oe from "@mui/material/TextField";
4
- import ne from "@mui/material/AppBar";
5
- import Lt from "@mui/material/Backdrop";
6
- import T from "@mui/material/Box";
7
- import q from "@mui/material/IconButton";
8
- import ie from "@mui/material/Menu";
9
- import Z from "@mui/material/MenuItem";
10
- import re from "@mui/material/Toolbar";
1
+ import { jsx as a, jsxs as S, Fragment as rt } from "react/jsx-runtime";
2
+ import { styled as gt, alpha as jt, useTheme as B } from "@mui/material/styles";
3
+ import ie from "@mui/material/TextField";
4
+ import re from "@mui/material/AppBar";
5
+ import Vt from "@mui/material/Backdrop";
6
+ import M from "@mui/material/Box";
7
+ import Y from "@mui/material/IconButton";
8
+ import ae from "@mui/material/Menu";
9
+ import X from "@mui/material/MenuItem";
10
+ import se from "@mui/material/Toolbar";
11
11
  import R from "@mui/material/Typography";
12
- import { observer as J, useLocalObservable as zt } from "mobx-react-lite";
13
- import { useState as $, useRef as A, useCallback as P, useEffect as F, useMemo as st, useId as ae } from "react";
14
- import { e as z } from "./externalizeComponent-EDymnaGR.js";
15
- import se from "@mui/material/SvgIcon";
16
- import H from "@mui/material/Fade";
17
- import { Gauge as le } from "@mui/x-charts/Gauge";
18
- import { useTranslation as V } from "react-i18next";
19
- import { f as Vt, e as ft } from "./interpolation-DG8VTxzS.js";
20
- import ce from "@mui/icons-material/Clear";
21
- import de from "@mui/icons-material/FilterList";
22
- import jt from "@mui/icons-material/Search";
12
+ import { observer as L, useLocalObservable as Nt } from "mobx-react-lite";
13
+ import * as A from "react";
14
+ import { useState as $, useRef as J, useCallback as P, useEffect as F, useMemo as ct, forwardRef as Z, useId as le } from "react";
15
+ import { e as V } from "./externalizeComponent-EDymnaGR.js";
16
+ import ce from "@mui/material/SvgIcon";
17
+ import q from "@mui/material/Fade";
18
+ import { Gauge as de } from "@mui/x-charts/Gauge";
19
+ import { useTranslation as N } from "react-i18next";
20
+ import { f as Wt, e as xt } from "./interpolation-DG8VTxzS.js";
21
+ import ue from "@mui/icons-material/Clear";
22
+ import ge from "@mui/icons-material/FilterList";
23
+ import Pt from "@mui/icons-material/Search";
23
24
  import U from "@mui/material/Divider";
24
- import { useGridApiRef as ue, DataGrid as ge, Toolbar as pe, FilterPanelTrigger as me, ToolbarButton as gt, QuickFilter as he, QuickFilterTrigger as fe, QuickFilterControl as be, QuickFilterClear as xe } from "@mui/x-data-grid";
25
- import ye from "@mui/icons-material/OpenWith";
26
- import Se from "@mui/icons-material/Share";
25
+ import { useGridApiRef as pe, DataGrid as me, Toolbar as he, FilterPanelTrigger as fe, ToolbarButton as mt, QuickFilter as be, QuickFilterTrigger as xe, QuickFilterControl as ye, QuickFilterClear as Se } from "@mui/x-data-grid";
26
+ import ve from "@mui/icons-material/OpenWith";
27
+ import we from "@mui/icons-material/Share";
27
28
  import _ from "@mui/material/Stack";
28
- import Nt from "@mui/material/Tab";
29
- import Wt from "@mui/material/Tabs";
30
- import { JointTypeEnum as G, Nova as ve, poseToWandelscriptString as Ce } from "@wandelbots/nova-js/v2";
31
- import { lowerFirst as we, countBy as Te, isString as Ie } from "lodash-es";
32
- import { runInAction as D, makeAutoObservable as bt, when as lt, autorun as Et, makeObservable as Me, action as Pt, observable as ke } from "mobx";
33
- import { radiansToDegrees as Gt, tryParseJson as W, XYZ_TO_VECTOR as ot, degreesToRadians as Re } from "@wandelbots/nova-js";
34
- import { Vector3 as pt } from "three/src/math/Vector3.js";
35
- import Ut from "@mui/material/CircularProgress";
36
- import { capitalize as je } from "@mui/material/utils";
37
- import { m as Ee } from "./SafetyBar-CxxIVVeR.js";
38
- import Pe from "@mui/material/Alert";
39
- import _e from "@mui/material/AlertTitle";
40
- import Q from "@mui/material/Button";
41
- import _t from "@mui/material/ToggleButton";
42
- import { c as Oe, d as De, F as Ae, a as Je, b as Fe, f as Be, e as $e } from "./robot-Cy9ST5-m.js";
43
- import Le from "lodash-es/isEqual.js";
44
- import ze from "@mui/material/InputAdornment";
45
- import Ve from "@mui/material/FormControl";
46
- import Ne from "@mui/material/InputLabel";
47
- import We from "@mui/material/Select";
48
- import rt from "lodash-es/keyBy.js";
49
- import Ge from "lodash-es/uniqueId.js";
50
- import Ue from "@mui/material/ToggleButtonGroup";
51
- import Ht from "@mui/material/Slider";
52
- import He from "lodash-es/isNumber.js";
53
- import qe from "@mui/icons-material/ChevronLeft";
54
- import Ye from "@mui/icons-material/ChevronRight";
55
- import Ze from "lodash-es/throttle.js";
56
- import Qe from "@mui/material/Tooltip";
57
- import Xe from "@mui/icons-material/ContentCopy";
58
- import Ke from "@mui/icons-material/DescriptionOutlined";
59
- import to from "@mui/icons-material/ExpandLess";
60
- import eo from "@mui/icons-material/ExpandMore";
61
- import oo from "@mui/material/Paper";
62
- import no from "@mui/material/Dialog";
63
- import io from "@mui/material/DialogActions";
64
- import ro from "@mui/material/DialogContent";
65
- import ao from "@mui/material/DialogTitle";
66
- import so from "@mui/icons-material/Error";
67
- import lo from "@mui/material/Chip";
68
- import co from "@mui/material/Fab";
69
- import uo from "@mui/material/Badge";
70
- import { Gauge as go } from "@mui/x-charts";
71
- import * as Ot from "three";
72
- import { Vector3 as Dt } from "three";
73
- import { createNovaMuiTheme as po } from "@wandelbots/mui";
74
- import { RadiusSm as Y } from "@wandelbots/design-tokens";
29
+ import Gt from "@mui/material/Tab";
30
+ import Ht from "@mui/material/Tabs";
31
+ import { JointTypeEnum as H, Nova as Ce, poseToWandelscriptString as Me } from "@wandelbots/nova-js/v2";
32
+ import { lowerFirst as Te, countBy as Ie, isString as ke } from "lodash-es";
33
+ import { runInAction as D, makeAutoObservable as yt, when as dt, autorun as _t, makeObservable as Re, action as At, observable as Ee } from "mobx";
34
+ import { radiansToDegrees as Ut, tryParseJson as G, XYZ_TO_VECTOR as it, degreesToRadians as je } from "@wandelbots/nova-js";
35
+ import { Vector3 as ht } from "three/src/math/Vector3.js";
36
+ import qt from "@mui/material/CircularProgress";
37
+ import { capitalize as Pe } from "@mui/material/utils";
38
+ import { m as _e } from "./SafetyBar-Cy9DiXp9.js";
39
+ import Ae from "@mui/material/Alert";
40
+ import Oe from "@mui/material/AlertTitle";
41
+ import K from "@mui/material/Button";
42
+ import Ot from "@mui/material/ToggleButton";
43
+ import De from "lodash-es/isEqual.js";
44
+ import Je from "@mui/material/InputAdornment";
45
+ import Le from "@mui/material/FormControl";
46
+ import Fe from "@mui/material/InputLabel";
47
+ import Be from "@mui/material/Select";
48
+ import st from "lodash-es/keyBy.js";
49
+ import $e from "lodash-es/uniqueId.js";
50
+ import ze from "@mui/material/ToggleButtonGroup";
51
+ import Yt from "@mui/material/Slider";
52
+ import Ve from "lodash-es/isNumber.js";
53
+ import Ne from "@mui/icons-material/ChevronLeft";
54
+ import We from "@mui/icons-material/ChevronRight";
55
+ import Ge from "lodash-es/throttle.js";
56
+ import He from "@mui/material/Tooltip";
57
+ import Ue from "@mui/icons-material/ContentCopy";
58
+ import qe from "@mui/icons-material/DescriptionOutlined";
59
+ import Ye from "@mui/icons-material/ExpandLess";
60
+ import Ze from "@mui/icons-material/ExpandMore";
61
+ import Qe from "@mui/material/Paper";
62
+ import Xe from "@mui/material/Dialog";
63
+ import Ke from "@mui/material/DialogActions";
64
+ import to from "@mui/material/DialogContent";
65
+ import eo from "@mui/material/DialogTitle";
66
+ import oo from "@mui/icons-material/Error";
67
+ import no from "@mui/material/Chip";
68
+ import io from "@mui/material/Fab";
69
+ import ro from "@mui/material/Badge";
70
+ import { Gauge as ao } from "@mui/x-charts";
71
+ import * as Dt from "three";
72
+ import { Vector3 as Jt } from "three";
73
+ import { createNovaMuiTheme as so } from "@wandelbots/mui";
74
+ import { RadiusSm as Q } from "@wandelbots/design-tokens";
75
75
  import "@mui/x-data-grid/themeAugmentation";
76
- const mo = dt(oe, {
76
+ const lo = gt(ie, {
77
77
  shouldForwardProp: (e) => e !== "adornedSize"
78
78
  })(({ theme: e, adornedSize: t = "medium" }) => ({
79
79
  "&.MuiTextField-root": {
@@ -119,13 +119,13 @@ const mo = dt(oe, {
119
119
  }
120
120
  }
121
121
  }
122
- })), vi = ({
122
+ })), Ei = ({
123
123
  adornedSize: e = "medium",
124
124
  ...t
125
125
  }) => {
126
126
  var o;
127
127
  return /* @__PURE__ */ a(
128
- mo,
128
+ lo,
129
129
  {
130
130
  adornedSize: e,
131
131
  ...t,
@@ -138,20 +138,20 @@ const mo = dt(oe, {
138
138
  }
139
139
  }
140
140
  );
141
- }, ho = (e) => /* @__PURE__ */ a(se, { ...e, viewBox: "0 0 10 8", children: /* @__PURE__ */ a(
141
+ }, co = (e) => /* @__PURE__ */ a(ce, { ...e, viewBox: "0 0 10 8", children: /* @__PURE__ */ a(
142
142
  "path",
143
143
  {
144
144
  d: "M8.825 0.9125L5 4.72917L1.175 0.9125L0 2.0875L5 7.0875L10 2.0875L8.825 0.9125Z",
145
145
  fill: "currentColor",
146
146
  fillOpacity: "0.56"
147
147
  }
148
- ) }), Ci = z(
149
- J((e) => {
148
+ ) }), ji = V(
149
+ L((e) => {
150
150
  const {
151
151
  appIcon: t,
152
152
  appName: o,
153
- apps: r = [],
154
- onAppSelect: i,
153
+ apps: i = [],
154
+ onAppSelect: r,
155
155
  disabled: n = !1,
156
156
  sx: c
157
157
  } = e, [s, l] = $(null), d = !!s, m = (u) => {
@@ -159,11 +159,11 @@ const mo = dt(oe, {
159
159
  }, g = () => {
160
160
  l(null);
161
161
  }, p = (u) => {
162
- g(), u.onClick ? u.onClick() : u.href && (window.location.href = u.href), i == null || i(u);
162
+ g(), u.onClick ? u.onClick() : u.href && (window.location.href = u.href), r == null || r(u);
163
163
  };
164
- return /* @__PURE__ */ S(nt, { children: [
164
+ return /* @__PURE__ */ S(rt, { children: [
165
165
  /* @__PURE__ */ a(
166
- ne,
166
+ re,
167
167
  {
168
168
  position: "static",
169
169
  sx: {
@@ -175,9 +175,9 @@ const mo = dt(oe, {
175
175
  },
176
176
  ...c
177
177
  },
178
- children: /* @__PURE__ */ S(re, { sx: { minHeight: "62px !important" }, children: [
179
- /* @__PURE__ */ a(T, { sx: { mr: 1, display: "flex", alignItems: "center" }, children: t }),
180
- /* @__PURE__ */ S(T, { sx: { display: "flex", alignItems: "center", flexGrow: 1 }, children: [
178
+ children: /* @__PURE__ */ S(se, { sx: { minHeight: "62px !important" }, children: [
179
+ /* @__PURE__ */ a(M, { sx: { mr: 1, display: "flex", alignItems: "center" }, children: t }),
180
+ /* @__PURE__ */ S(M, { sx: { display: "flex", alignItems: "center", flexGrow: 1 }, children: [
181
181
  /* @__PURE__ */ a(
182
182
  R,
183
183
  {
@@ -189,8 +189,8 @@ const mo = dt(oe, {
189
189
  children: o
190
190
  }
191
191
  ),
192
- r.length > 0 && /* @__PURE__ */ a(
193
- q,
192
+ i.length > 0 && /* @__PURE__ */ a(
193
+ Y,
194
194
  {
195
195
  color: "inherit",
196
196
  "aria-label": "switch app",
@@ -204,10 +204,10 @@ const mo = dt(oe, {
204
204
  height: 28,
205
205
  borderRadius: "6px",
206
206
  padding: 0,
207
- backgroundColor: (u) => Rt(u.palette.common.white, 0.1),
207
+ backgroundColor: (u) => jt(u.palette.common.white, 0.1),
208
208
  opacity: 1,
209
209
  "&:hover": {
210
- backgroundColor: (u) => Rt(u.palette.common.white, 0.16)
210
+ backgroundColor: (u) => jt(u.palette.common.white, 0.16)
211
211
  },
212
212
  "& .MuiSvgIcon-root": {
213
213
  fontSize: "8px",
@@ -215,7 +215,7 @@ const mo = dt(oe, {
215
215
  height: "6px"
216
216
  }
217
217
  },
218
- children: /* @__PURE__ */ a(ho, {})
218
+ children: /* @__PURE__ */ a(co, {})
219
219
  }
220
220
  )
221
221
  ] })
@@ -223,7 +223,7 @@ const mo = dt(oe, {
223
223
  }
224
224
  ),
225
225
  /* @__PURE__ */ a(
226
- Lt,
226
+ Vt,
227
227
  {
228
228
  open: d,
229
229
  onClick: g,
@@ -235,7 +235,7 @@ const mo = dt(oe, {
235
235
  }
236
236
  ),
237
237
  /* @__PURE__ */ a(
238
- ie,
238
+ ae,
239
239
  {
240
240
  id: "app-menu",
241
241
  anchorEl: s,
@@ -256,35 +256,35 @@ const mo = dt(oe, {
256
256
  mt: 1
257
257
  }
258
258
  },
259
- children: r.map((u) => /* @__PURE__ */ S(Z, { onClick: () => p(u), children: [
260
- /* @__PURE__ */ a(T, { sx: { display: "flex", alignItems: "center" }, children: u.icon }),
259
+ children: i.map((u) => /* @__PURE__ */ S(X, { onClick: () => p(u), children: [
260
+ /* @__PURE__ */ a(M, { sx: { display: "flex", alignItems: "center" }, children: u.icon }),
261
261
  /* @__PURE__ */ a(R, { variant: "body1", sx: { ml: 2 }, children: u.name })
262
262
  ] }, u.id))
263
263
  }
264
264
  )
265
265
  ] });
266
266
  })
267
- ), fo = (e) => {
268
- const t = Math.floor(e / 86400), o = Math.floor(e % 86400 / 3600), r = Math.floor(e % 3600 / 60), i = e % 60, n = [];
269
- return t > 0 ? (n.push(t.toString()), n.push(o.toString().padStart(2, "0")), n.push(r.toString().padStart(2, "0")), n.push(i.toString().padStart(2, "0"))) : o > 0 ? (n.push(o.toString()), n.push(r.toString().padStart(2, "0")), n.push(i.toString().padStart(2, "0"))) : (n.push(r.toString()), n.push(i.toString().padStart(2, "0"))), n.join(":");
270
- }, N = (e, t) => {
271
- const o = Math.floor(e / 86400), r = Math.floor(e % 86400 / 3600), i = Math.floor(e % 3600 / 60), n = e % 60;
267
+ ), uo = (e) => {
268
+ const t = Math.floor(e / 86400), o = Math.floor(e % 86400 / 3600), i = Math.floor(e % 3600 / 60), r = e % 60, n = [];
269
+ return t > 0 ? (n.push(t.toString()), n.push(o.toString().padStart(2, "0")), n.push(i.toString().padStart(2, "0")), n.push(r.toString().padStart(2, "0"))) : o > 0 ? (n.push(o.toString()), n.push(i.toString().padStart(2, "0")), n.push(r.toString().padStart(2, "0"))) : (n.push(i.toString()), n.push(r.toString().padStart(2, "0"))), n.join(":");
270
+ }, W = (e, t) => {
271
+ const o = Math.floor(e / 86400), i = Math.floor(e % 86400 / 3600), r = Math.floor(e % 3600 / 60), n = e % 60;
272
272
  if (typeof Intl < "u" && "DurationFormat" in Intl)
273
273
  try {
274
274
  const s = {};
275
- return o > 0 && (s.days = o), r > 0 && (s.hours = r), i > 0 && (s.minutes = i), (n > 0 || Object.keys(s).length === 0) && (s.seconds = n), new Intl.DurationFormat(t, { style: "narrow" }).format(s);
275
+ return o > 0 && (s.days = o), i > 0 && (s.hours = i), r > 0 && (s.minutes = r), (n > 0 || Object.keys(s).length === 0) && (s.seconds = n), new Intl.DurationFormat(t, { style: "narrow" }).format(s);
276
276
  } catch {
277
277
  }
278
278
  const c = [];
279
- return o > 0 && c.push(`${o}d`), r > 0 && c.push(`${r}h`), i > 0 && c.push(`${i}m`), (n > 0 || c.length === 0) && c.push(`${n}s`), c.join(" ");
280
- }, bo = (e, t, o) => e === "countdown" && o !== null ? Math.min(100, t / o * 100) : e === "measuring" ? t / 60 % 1 * 100 : 0, xo = ({
279
+ return o > 0 && c.push(`${o}d`), i > 0 && c.push(`${i}h`), r > 0 && c.push(`${r}m`), (n > 0 || c.length === 0) && c.push(`${n}s`), c.join(" ");
280
+ }, go = (e, t, o) => e === "countdown" && o !== null ? Math.min(100, t / o * 100) : e === "measuring" ? t / 60 % 1 * 100 : 0, po = ({
281
281
  timerState: e,
282
282
  animationState: t,
283
283
  hasError: o,
284
- className: r
284
+ className: i
285
285
  }) => {
286
- var f, w;
287
- const { t: i, i18n: n } = V(), c = B(), { currentState: s, remainingTime: l, maxTime: d, currentProgress: m } = e, {
286
+ var f, C;
287
+ const { t: r, i18n: n } = N(), c = B(), { currentState: s, remainingTime: l, maxTime: d, currentProgress: m } = e, {
288
288
  showErrorAnimation: g,
289
289
  showPauseAnimation: p,
290
290
  showPulsatingText: u,
@@ -295,9 +295,9 @@ const mo = dt(oe, {
295
295
  idleDotsCount: v
296
296
  } = t;
297
297
  return /* @__PURE__ */ S(
298
- T,
298
+ M,
299
299
  {
300
- className: r,
300
+ className: i,
301
301
  sx: {
302
302
  position: "relative",
303
303
  width: 264,
@@ -308,7 +308,7 @@ const mo = dt(oe, {
308
308
  },
309
309
  children: [
310
310
  /* @__PURE__ */ a(
311
- le,
311
+ de,
312
312
  {
313
313
  width: 264,
314
314
  height: 264,
@@ -343,7 +343,7 @@ const mo = dt(oe, {
343
343
  }
344
344
  ),
345
345
  /* @__PURE__ */ S(
346
- T,
346
+ M,
347
347
  {
348
348
  sx: {
349
349
  position: "absolute",
@@ -353,7 +353,7 @@ const mo = dt(oe, {
353
353
  width: 225,
354
354
  height: 225,
355
355
  borderRadius: "50%",
356
- backgroundColor: (w = c.palette.backgroundPaperElevation) == null ? void 0 : w[8],
356
+ backgroundColor: (C = c.palette.backgroundPaperElevation) == null ? void 0 : C[8],
357
357
  display: "flex",
358
358
  flexDirection: "column",
359
359
  alignItems: "center",
@@ -364,7 +364,7 @@ const mo = dt(oe, {
364
364
  },
365
365
  children: [
366
366
  /* @__PURE__ */ a(
367
- T,
367
+ M,
368
368
  {
369
369
  sx: {
370
370
  height: "16px",
@@ -374,7 +374,7 @@ const mo = dt(oe, {
374
374
  marginBottom: 1
375
375
  },
376
376
  children: /* @__PURE__ */ a(
377
- H,
377
+ q,
378
378
  {
379
379
  in: y && !o && s !== "idle" && s !== "success",
380
380
  timeout: 300,
@@ -394,7 +394,7 @@ const mo = dt(oe, {
394
394
  opacity: s === "measured" && b ? u ? 1 : 0.6 : 1,
395
395
  transition: "opacity 2s ease-in-out"
396
396
  },
397
- children: s === "measuring" || s === "measured" ? i("CycleTimer.CycleTime.lb", "Cycle Time") : s === "countdown" ? i("CycleTimer.RemainingTime.lb", "Remaining Time") : ""
397
+ children: s === "measuring" || s === "measured" ? r("CycleTimer.CycleTime.lb", "Cycle Time") : s === "countdown" ? r("CycleTimer.RemainingTime.lb", "Remaining Time") : ""
398
398
  }
399
399
  )
400
400
  }
@@ -404,7 +404,7 @@ const mo = dt(oe, {
404
404
  }
405
405
  ),
406
406
  /* @__PURE__ */ S(
407
- T,
407
+ M,
408
408
  {
409
409
  sx: {
410
410
  position: "relative",
@@ -416,7 +416,7 @@ const mo = dt(oe, {
416
416
  },
417
417
  children: [
418
418
  /* @__PURE__ */ a(
419
- H,
419
+ q,
420
420
  {
421
421
  in: x && s === "idle" && !o,
422
422
  timeout: 200,
@@ -446,7 +446,7 @@ const mo = dt(oe, {
446
446
  opacity: h ? 1 : 0.6,
447
447
  transition: "opacity 2s ease-in-out"
448
448
  },
449
- children: i(
449
+ children: r(
450
450
  "CycleTimer.WaitingForCycle.lb",
451
451
  "Waiting for program cycle"
452
452
  )
@@ -470,7 +470,7 @@ const mo = dt(oe, {
470
470
  )
471
471
  }
472
472
  ),
473
- /* @__PURE__ */ a(H, { in: x && o, timeout: 200, children: /* @__PURE__ */ a(
473
+ /* @__PURE__ */ a(q, { in: x && o, timeout: 200, children: /* @__PURE__ */ a(
474
474
  R,
475
475
  {
476
476
  variant: "h3",
@@ -481,11 +481,11 @@ const mo = dt(oe, {
481
481
  color: c.palette.text.primary,
482
482
  lineHeight: "116.7%"
483
483
  },
484
- children: i("CycleTimer.Error.lb", "Error")
484
+ children: r("CycleTimer.Error.lb", "Error")
485
485
  }
486
486
  ) }),
487
487
  /* @__PURE__ */ a(
488
- H,
488
+ q,
489
489
  {
490
490
  in: x && !o && s !== "idle" && s !== "success",
491
491
  timeout: 300,
@@ -508,7 +508,7 @@ const mo = dt(oe, {
508
508
  opacity: 1,
509
509
  transition: "opacity 2s ease-in-out"
510
510
  },
511
- children: fo(l)
511
+ children: uo(l)
512
512
  }
513
513
  )
514
514
  }
@@ -519,7 +519,7 @@ const mo = dt(oe, {
519
519
  }
520
520
  ),
521
521
  /* @__PURE__ */ a(
522
- T,
522
+ M,
523
523
  {
524
524
  sx: {
525
525
  height: "16px",
@@ -529,7 +529,7 @@ const mo = dt(oe, {
529
529
  justifyContent: "center"
530
530
  },
531
531
  children: /* @__PURE__ */ a(
532
- H,
532
+ q,
533
533
  {
534
534
  in: y && !o && s !== "idle" && s !== "success",
535
535
  timeout: 300,
@@ -549,8 +549,8 @@ const mo = dt(oe, {
549
549
  opacity: s === "measured" && b ? u ? 1 : 0.6 : 1,
550
550
  transition: "opacity 2s ease-in-out"
551
551
  },
552
- children: s === "measuring" ? i("CycleTimer.Measuring.lb", "measuring...") : s === "measured" ? i("CycleTimer.Determined.lb", "determined") : s === "countdown" && d !== null ? i("CycleTimer.OfTime.lb", {
553
- time: N(d, n.language)
552
+ children: s === "measuring" ? r("CycleTimer.Measuring.lb", "measuring...") : s === "measured" ? r("CycleTimer.Determined.lb", "determined") : s === "countdown" && d !== null ? r("CycleTimer.OfTime.lb", {
553
+ time: W(d, n.language)
554
554
  }) : ""
555
555
  }
556
556
  )
@@ -566,14 +566,14 @@ const mo = dt(oe, {
566
566
  ]
567
567
  }
568
568
  );
569
- }, yo = ({
569
+ }, mo = ({
570
570
  timerState: e,
571
571
  animationState: t,
572
572
  hasError: o,
573
- compact: r,
574
- className: i
573
+ compact: i,
574
+ className: r
575
575
  }) => {
576
- const { t: n, i18n: c } = V(), s = B(), { currentState: l, remainingTime: d, maxTime: m } = e, {
576
+ const { t: n, i18n: c } = N(), s = B(), { currentState: l, remainingTime: d, maxTime: m } = e, {
577
577
  showErrorAnimation: g,
578
578
  showPauseAnimation: p,
579
579
  showPulsatingText: u,
@@ -581,10 +581,10 @@ const mo = dt(oe, {
581
581
  showIdlePulsating: y,
582
582
  idleDotsCount: x
583
583
  } = t;
584
- return r && l === "idle" ? /* @__PURE__ */ a(
585
- T,
584
+ return i && l === "idle" ? /* @__PURE__ */ a(
585
+ M,
586
586
  {
587
- className: i,
587
+ className: r,
588
588
  sx: {
589
589
  display: "flex",
590
590
  alignItems: "center",
@@ -599,14 +599,14 @@ const mo = dt(oe, {
599
599
  fontSize: "14px",
600
600
  transition: "color 0.5s ease-out"
601
601
  },
602
- children: o ? n("CycleTimer.Error.lb", "Error") : l === "idle" ? "0s" : N(d, c.language)
602
+ children: o ? n("CycleTimer.Error.lb", "Error") : l === "idle" ? "0s" : W(d, c.language)
603
603
  }
604
604
  )
605
605
  }
606
606
  ) : /* @__PURE__ */ S(
607
- T,
607
+ M,
608
608
  {
609
- className: i,
609
+ className: r,
610
610
  sx: {
611
611
  display: "flex",
612
612
  alignItems: "center",
@@ -614,8 +614,8 @@ const mo = dt(oe, {
614
614
  gap: 1
615
615
  },
616
616
  children: [
617
- !(l === "idle" && r) && /* @__PURE__ */ a(
618
- T,
617
+ !(l === "idle" && i) && /* @__PURE__ */ a(
618
+ M,
619
619
  {
620
620
  sx: {
621
621
  width: 20,
@@ -686,7 +686,7 @@ const mo = dt(oe, {
686
686
  opacity: l === "idle" ? y ? 1 : 0.6 : l === "measured" && b ? u ? 1 : 0.6 : 1,
687
687
  transition: "color 0.8s ease-in-out, font-size 0.3s ease-out, opacity 2s ease-in-out"
688
688
  },
689
- children: o ? n("CycleTimer.Error.lb", "Error") : l === "idle" ? /* @__PURE__ */ S(nt, { children: [
689
+ children: o ? n("CycleTimer.Error.lb", "Error") : l === "idle" ? /* @__PURE__ */ S(rt, { children: [
690
690
  /* @__PURE__ */ a("span", { children: n("CycleTimer.WaitingForCycle.lb", "Waiting for program cycle") }),
691
691
  /* @__PURE__ */ a(
692
692
  "span",
@@ -699,13 +699,13 @@ const mo = dt(oe, {
699
699
  children: ".".repeat(x)
700
700
  }
701
701
  )
702
- ] }) : l === "measuring" ? r ? N(d, c.language) : `${N(d, c.language)} / ${n("CycleTimer.Measuring.lb", "measuring...")}` : l === "measured" ? r ? N(d, c.language) : `${N(d, c.language)} / ${n("CycleTimer.Determined.lb", "determined")}` : l === "countdown" && m !== null ? r ? N(d, c.language) : `${N(d, c.language)} / ${n("CycleTimer.Time.lb", { time: N(m, c.language) })}` : N(d, c.language)
702
+ ] }) : l === "measuring" ? i ? W(d, c.language) : `${W(d, c.language)} / ${n("CycleTimer.Measuring.lb", "measuring...")}` : l === "measured" ? i ? W(d, c.language) : `${W(d, c.language)} / ${n("CycleTimer.Determined.lb", "determined")}` : l === "countdown" && m !== null ? i ? W(d, c.language) : `${W(d, c.language)} / ${n("CycleTimer.Time.lb", { time: W(m, c.language) })}` : W(d, c.language)
703
703
  }
704
704
  )
705
705
  ]
706
706
  }
707
707
  );
708
- }, So = () => {
708
+ }, ho = () => {
709
709
  const [e, t] = $({
710
710
  showPauseAnimation: !1,
711
711
  showErrorAnimation: !1,
@@ -715,43 +715,43 @@ const mo = dt(oe, {
715
715
  showMainText: !0,
716
716
  showIdlePulsating: !1,
717
717
  idleDotsCount: 0
718
- }), o = A(
718
+ }), o = J(
719
719
  null
720
- ), r = A(
720
+ ), i = J(
721
721
  null
722
- ), i = A(
722
+ ), r = J(
723
723
  null
724
- ), n = A(null), c = A(0), s = A(null), l = A(
724
+ ), n = J(null), c = J(0), s = J(null), l = J(
725
725
  null
726
726
  ), d = P(() => {
727
727
  t((f) => ({ ...f, showPauseAnimation: !0 })), o.current && clearTimeout(o.current), o.current = setTimeout(() => {
728
728
  t((f) => ({ ...f, showPauseAnimation: !1 }));
729
729
  }, 800);
730
730
  }, []), m = P(() => {
731
- t((f) => ({ ...f, showErrorAnimation: !0 })), r.current && clearTimeout(r.current), r.current = setTimeout(() => {
731
+ t((f) => ({ ...f, showErrorAnimation: !0 })), i.current && clearTimeout(i.current), i.current = setTimeout(() => {
732
732
  t((f) => ({ ...f, showErrorAnimation: !1 }));
733
733
  }, 600);
734
734
  }, []), g = P(() => {
735
- t((f) => ({ ...f, showErrorAnimation: !1 })), r.current && clearTimeout(r.current);
735
+ t((f) => ({ ...f, showErrorAnimation: !1 })), i.current && clearTimeout(i.current);
736
736
  }, []), p = P((f) => {
737
- c.current = 0, t((w) => ({
738
- ...w,
737
+ c.current = 0, t((C) => ({
738
+ ...C,
739
739
  showPulsatingText: !0,
740
740
  pulsatingFinished: !1
741
741
  })), setTimeout(() => {
742
- t((w) => ({
743
- ...w,
742
+ t((C) => ({
743
+ ...C,
744
744
  pulsatingFinished: !0
745
745
  // This will keep the success color and start slow pulsating
746
- })), i.current = setInterval(() => {
747
- t((w) => ({
748
- ...w,
749
- showPulsatingText: !w.showPulsatingText
746
+ })), r.current = setInterval(() => {
747
+ t((C) => ({
748
+ ...C,
749
+ showPulsatingText: !C.showPulsatingText
750
750
  }));
751
751
  }, 2e3), f && f();
752
752
  }, 800);
753
753
  }, []), u = P(() => {
754
- i.current && (clearInterval(i.current), i.current = null), t((f) => ({
754
+ r.current && (clearInterval(r.current), r.current = null), t((f) => ({
755
755
  ...f,
756
756
  showPulsatingText: !1,
757
757
  pulsatingFinished: !1
@@ -797,7 +797,7 @@ const mo = dt(oe, {
797
797
  showMainText: !0
798
798
  }));
799
799
  }, []), v = P(() => {
800
- o.current && clearTimeout(o.current), r.current && clearTimeout(r.current), n.current && clearTimeout(n.current), i.current && clearInterval(i.current), s.current && clearInterval(s.current), l.current && clearInterval(l.current);
800
+ o.current && clearTimeout(o.current), i.current && clearTimeout(i.current), n.current && clearTimeout(n.current), r.current && clearInterval(r.current), s.current && clearInterval(s.current), l.current && clearInterval(l.current);
801
801
  }, []);
802
802
  return {
803
803
  animationState: e,
@@ -812,12 +812,12 @@ const mo = dt(oe, {
812
812
  setInitialAnimationState: h,
813
813
  cleanup: v
814
814
  };
815
- }, vo = ({
815
+ }, fo = ({
816
816
  autoStart: e,
817
817
  onCycleEnd: t,
818
818
  onMeasuringComplete: o,
819
- hasError: r,
820
- onPauseAnimation: i,
819
+ hasError: i,
820
+ onPauseAnimation: r,
821
821
  onErrorAnimation: n,
822
822
  onClearErrorAnimation: c,
823
823
  onStartPulsating: s
@@ -830,15 +830,15 @@ const mo = dt(oe, {
830
830
  isPausedState: !1,
831
831
  currentProgress: 0,
832
832
  wasRunningBeforeError: !1
833
- }), m = A(null), g = A(null), p = A(0), [u] = Vt([0], {
833
+ }), m = J(null), g = J(null), p = J(0), [u] = Wt([0], {
834
834
  tension: 80,
835
835
  friction: 18,
836
- onChange: ([C]) => {
837
- d((I) => ({ ...I, currentProgress: C }));
836
+ onChange: ([w]) => {
837
+ d((T) => ({ ...T, currentProgress: w }));
838
838
  }
839
839
  }), b = P(() => {
840
- d((C) => ({
841
- ...C,
840
+ d((w) => ({
841
+ ...w,
842
842
  currentState: "idle",
843
843
  maxTime: null,
844
844
  // Don't reset remainingTime - keep the last value
@@ -848,41 +848,41 @@ const mo = dt(oe, {
848
848
  // Reset progress to 0 for gauge
849
849
  })), p.current = 0, g.current = null, u.setImmediate([0]);
850
850
  }, [u]), y = P(
851
- (C = 0) => {
852
- const I = C / 60 % 1 * 100;
853
- d((M) => ({
854
- ...M,
851
+ (w = 0) => {
852
+ const T = w / 60 % 1 * 100;
853
+ d((I) => ({
854
+ ...I,
855
855
  currentState: "measuring",
856
856
  maxTime: null,
857
- remainingTime: C,
857
+ remainingTime: w,
858
858
  isPausedState: !1,
859
- currentProgress: I
859
+ currentProgress: T
860
860
  // Immediately set progress
861
- })), p.current = 0, u.setImmediate([I]), e ? (g.current = Date.now() - C * 1e3, d((M) => ({ ...M, isRunning: !0 }))) : g.current = null;
861
+ })), p.current = 0, u.setImmediate([T]), e ? (g.current = Date.now() - w * 1e3, d((I) => ({ ...I, isRunning: !0 }))) : g.current = null;
862
862
  },
863
863
  [e, u]
864
864
  ), x = P(
865
- (C, I = 0) => {
865
+ (w, T = 0) => {
866
866
  d((k) => ({ ...k, isRunning: !1 })), g.current = null, d((k) => ({
867
867
  ...k,
868
868
  currentState: "countdown",
869
- maxTime: C,
869
+ maxTime: w,
870
870
  isPausedState: !1
871
871
  })), p.current = 0;
872
- const M = Math.max(0, C - I), j = I > 0 ? I / C * 100 : 0;
872
+ const I = Math.max(0, w - T), E = T > 0 ? T / w * 100 : 0;
873
873
  d((k) => ({
874
874
  ...k,
875
- remainingTime: M,
876
- currentProgress: j
875
+ remainingTime: I,
876
+ currentProgress: E
877
877
  // Immediately set progress
878
- })), u.setImmediate([j]), M === 0 ? (d((k) => ({ ...k, isRunning: !1 })), g.current = null, t && queueMicrotask(() => t())) : e ? setTimeout(() => {
879
- g.current = Date.now() - I * 1e3, d((k) => ({ ...k, isRunning: !0 }));
878
+ })), u.setImmediate([E]), I === 0 ? (d((k) => ({ ...k, isRunning: !1 })), g.current = null, t && queueMicrotask(() => t())) : e ? setTimeout(() => {
879
+ g.current = Date.now() - T * 1e3, d((k) => ({ ...k, isRunning: !0 }));
880
880
  }, 0) : g.current = null;
881
881
  },
882
882
  [e, t, u]
883
883
  ), h = P(() => {
884
- d((C) => ({
885
- ...C,
884
+ d((w) => ({
885
+ ...w,
886
886
  isRunning: !1,
887
887
  currentState: "measured"
888
888
  })), g.current = null, s(() => {
@@ -890,29 +890,29 @@ const mo = dt(oe, {
890
890
  });
891
891
  }, [s, o]), v = P(() => {
892
892
  if (g.current && l.isRunning) {
893
- const I = Date.now() - g.current;
894
- p.current += I;
895
- const M = p.current / 1e3, j = bo(
893
+ const T = Date.now() - g.current;
894
+ p.current += T;
895
+ const I = p.current / 1e3, E = go(
896
896
  l.currentState,
897
- M,
897
+ I,
898
898
  l.maxTime
899
899
  );
900
- u.setTarget([j]);
900
+ u.setTarget([E]);
901
901
  }
902
- d((C) => ({
903
- ...C,
902
+ d((w) => ({
903
+ ...w,
904
904
  isRunning: !1,
905
905
  isPausedState: !0
906
- })), i();
906
+ })), r();
907
907
  }, [
908
908
  l.isRunning,
909
909
  l.currentState,
910
910
  l.maxTime,
911
911
  u,
912
- i
912
+ r
913
913
  ]), f = P(() => {
914
- l.isPausedState && (l.remainingTime > 0 || l.currentState !== "countdown") && (g.current = Date.now(), d((C) => ({
915
- ...C,
914
+ l.isPausedState && (l.remainingTime > 0 || l.currentState !== "countdown") && (g.current = Date.now(), d((w) => ({
915
+ ...w,
916
916
  isRunning: !0,
917
917
  isPausedState: !1
918
918
  })));
@@ -920,11 +920,11 @@ const mo = dt(oe, {
920
920
  l.isPausedState,
921
921
  l.remainingTime,
922
922
  l.currentState
923
- ]), w = P(() => l.isPausedState, [l.isPausedState]);
923
+ ]), C = P(() => l.isPausedState, [l.isPausedState]);
924
924
  return F(() => {
925
- r ? (l.isRunning && !l.isPausedState && (d((C) => ({ ...C, wasRunningBeforeError: !0 })), v()), n()) : (l.wasRunningBeforeError && l.isPausedState && (d((C) => ({ ...C, wasRunningBeforeError: !1 })), f()), c());
925
+ i ? (l.isRunning && !l.isPausedState && (d((w) => ({ ...w, wasRunningBeforeError: !0 })), v()), n()) : (l.wasRunningBeforeError && l.isPausedState && (d((w) => ({ ...w, wasRunningBeforeError: !1 })), f()), c());
926
926
  }, [
927
- r,
927
+ i,
928
928
  l.isRunning,
929
929
  l.isPausedState,
930
930
  l.wasRunningBeforeError,
@@ -934,19 +934,19 @@ const mo = dt(oe, {
934
934
  c
935
935
  ]), F(() => {
936
936
  if (l.isRunning) {
937
- const C = () => {
937
+ const w = () => {
938
938
  if (g.current) {
939
- const M = (Date.now() - g.current + p.current) / 1e3;
939
+ const I = (Date.now() - g.current + p.current) / 1e3;
940
940
  if (l.currentState === "countdown" && l.maxTime !== null) {
941
- const j = Math.max(0, l.maxTime - M);
942
- d((E) => ({
943
- ...E,
944
- remainingTime: Math.ceil(j)
941
+ const E = Math.max(0, l.maxTime - I);
942
+ d((j) => ({
943
+ ...j,
944
+ remainingTime: Math.ceil(E)
945
945
  }));
946
- const k = Math.min(100, M / l.maxTime * 100);
947
- if (u.setTarget([k]), j <= 0) {
948
- d((E) => ({
949
- ...E,
946
+ const k = Math.min(100, I / l.maxTime * 100);
947
+ if (u.setTarget([k]), E <= 0) {
948
+ d((j) => ({
949
+ ...j,
950
950
  isRunning: !1,
951
951
  remainingTime: 0
952
952
  })), g.current = null, u.setTarget([100]), t && queueMicrotask(() => t());
@@ -955,15 +955,15 @@ const mo = dt(oe, {
955
955
  } else if (l.currentState === "measuring") {
956
956
  d((k) => ({
957
957
  ...k,
958
- remainingTime: Math.floor(M)
958
+ remainingTime: Math.floor(I)
959
959
  }));
960
- const j = M / 60 % 1 * 100;
961
- u.setTarget([j]);
960
+ const E = I / 60 % 1 * 100;
961
+ u.setTarget([E]);
962
962
  }
963
- l.isRunning && (m.current = requestAnimationFrame(C));
963
+ l.isRunning && (m.current = requestAnimationFrame(w));
964
964
  }
965
965
  };
966
- m.current = requestAnimationFrame(C);
966
+ m.current = requestAnimationFrame(w);
967
967
  } else
968
968
  m.current && (cancelAnimationFrame(m.current), m.current = null);
969
969
  return () => {
@@ -976,12 +976,12 @@ const mo = dt(oe, {
976
976
  l.maxTime,
977
977
  u
978
978
  ]), F(() => {
979
- let C = null;
980
- const I = () => {
981
- u.update(1 / 60), C = requestAnimationFrame(I);
979
+ let w = null;
980
+ const T = () => {
981
+ u.update(1 / 60), w = requestAnimationFrame(T);
982
982
  };
983
- return C = requestAnimationFrame(I), () => {
984
- C && cancelAnimationFrame(C);
983
+ return w = requestAnimationFrame(T), () => {
984
+ w && cancelAnimationFrame(w);
985
985
  };
986
986
  }, [u]), {
987
987
  timerState: l,
@@ -992,22 +992,22 @@ const mo = dt(oe, {
992
992
  completeMeasuring: h,
993
993
  pause: v,
994
994
  resume: f,
995
- isPaused: w
995
+ isPaused: C
996
996
  }
997
997
  };
998
- }, wi = z(
999
- J(
998
+ }, Pi = V(
999
+ L(
1000
1000
  ({
1001
1001
  onCycleComplete: e,
1002
1002
  onCycleEnd: t,
1003
1003
  onMeasuringComplete: o,
1004
- autoStart: r = !0,
1005
- variant: i = "default",
1004
+ autoStart: i = !0,
1005
+ variant: r = "default",
1006
1006
  compact: n = !1,
1007
1007
  className: c,
1008
1008
  hasError: s = !1
1009
1009
  }) => {
1010
- const l = A(void 0), {
1010
+ const l = J(void 0), {
1011
1011
  animationState: d,
1012
1012
  triggerPauseAnimation: m,
1013
1013
  triggerErrorAnimation: g,
@@ -1019,8 +1019,8 @@ const mo = dt(oe, {
1019
1019
  triggerFadeTransition: h,
1020
1020
  setInitialAnimationState: v,
1021
1021
  cleanup: f
1022
- } = So(), { timerState: w, controls: C } = vo({
1023
- autoStart: r,
1022
+ } = ho(), { timerState: C, controls: w } = fo({
1023
+ autoStart: i,
1024
1024
  onCycleEnd: t,
1025
1025
  onMeasuringComplete: o,
1026
1026
  hasError: s,
@@ -1030,36 +1030,36 @@ const mo = dt(oe, {
1030
1030
  onStartPulsating: u
1031
1031
  });
1032
1032
  return F(() => {
1033
- const I = l.current;
1034
- l.current !== void 0 && I !== w.currentState ? (I === "measured" && b(), I === "idle" && x(), h()) : v(), w.currentState === "idle" && y(), l.current = w.currentState;
1033
+ const T = l.current;
1034
+ l.current !== void 0 && T !== C.currentState ? (T === "measured" && b(), T === "idle" && x(), h()) : v(), C.currentState === "idle" && y(), l.current = C.currentState;
1035
1035
  }, [
1036
- w.currentState,
1036
+ C.currentState,
1037
1037
  b,
1038
1038
  x,
1039
1039
  y,
1040
1040
  h,
1041
1041
  v
1042
1042
  ]), F(() => {
1043
- let I = !0;
1044
- const M = setTimeout(() => {
1045
- I && e(C);
1043
+ let T = !0;
1044
+ const I = setTimeout(() => {
1045
+ T && e(w);
1046
1046
  }, 0);
1047
1047
  return () => {
1048
- I = !1, clearTimeout(M);
1048
+ T = !1, clearTimeout(I);
1049
1049
  };
1050
- }, [e, C]), F(() => f, [f]), i === "small" ? /* @__PURE__ */ a(
1051
- yo,
1050
+ }, [e, w]), F(() => f, [f]), r === "small" ? /* @__PURE__ */ a(
1051
+ mo,
1052
1052
  {
1053
- timerState: w,
1053
+ timerState: C,
1054
1054
  animationState: d,
1055
1055
  hasError: s,
1056
1056
  compact: n,
1057
1057
  className: c
1058
1058
  }
1059
1059
  ) : /* @__PURE__ */ a(
1060
- xo,
1060
+ po,
1061
1061
  {
1062
- timerState: w,
1062
+ timerState: C,
1063
1063
  animationState: d,
1064
1064
  hasError: s,
1065
1065
  className: c
@@ -1067,14 +1067,14 @@ const mo = dt(oe, {
1067
1067
  );
1068
1068
  }
1069
1069
  )
1070
- ), Co = z(
1071
- J(
1070
+ ), bo = V(
1071
+ L(
1072
1072
  ({
1073
1073
  data: e,
1074
1074
  columns: t,
1075
1075
  getRowData: o,
1076
- onRowClick: r,
1077
- selectedItem: i,
1076
+ onRowClick: i,
1077
+ selectedItem: r,
1078
1078
  getItemId: n,
1079
1079
  title: c,
1080
1080
  showCount: s = !0,
@@ -1084,8 +1084,8 @@ const mo = dt(oe, {
1084
1084
  selectFirstByDefault: g = !1,
1085
1085
  sx: p
1086
1086
  }) => {
1087
- var j;
1088
- const u = B(), b = ue(), y = A(null), [x, h] = $(null), v = st(() => e.map(o), [e, o]);
1087
+ var E;
1088
+ const u = B(), b = pe(), y = J(null), [x, h] = $(null), v = ct(() => e.map(o), [e, o]);
1089
1089
  F(() => {
1090
1090
  b.current && v.length > 0 && b.current.autosizeColumns({
1091
1091
  includeOutliers: !0,
@@ -1101,7 +1101,7 @@ const mo = dt(oe, {
1101
1101
  includeOutliers: !0,
1102
1102
  includeHeaders: !0,
1103
1103
  expand: !0,
1104
- columns: t.map((E) => E.field)
1104
+ columns: t.map((j) => j.field)
1105
1105
  });
1106
1106
  }, 100);
1107
1107
  });
@@ -1109,9 +1109,9 @@ const mo = dt(oe, {
1109
1109
  k.disconnect();
1110
1110
  };
1111
1111
  }, [b, v.length, t]);
1112
- const f = st(() => {
1113
- if (i !== void 0)
1114
- return i;
1112
+ const f = ct(() => {
1113
+ if (r !== void 0)
1114
+ return r;
1115
1115
  if (x !== null)
1116
1116
  return x;
1117
1117
  if (g && e.length > 0) {
@@ -1119,13 +1119,13 @@ const mo = dt(oe, {
1119
1119
  return h(k), k;
1120
1120
  }
1121
1121
  return null;
1122
- }, [g, e, i, x]), w = (k) => {
1123
- const E = e.find((L) => o(L).id === k.id);
1124
- E && (i === void 0 && h(E), r && r(E, k));
1125
- }, C = st(() => !f || !n ? null : n(f), [f, n]);
1126
- function I() {
1127
- return /* @__PURE__ */ a(pe, { children: /* @__PURE__ */ S(
1128
- T,
1122
+ }, [g, e, r, x]), C = (k) => {
1123
+ const j = e.find((z) => o(z).id === k.id);
1124
+ j && (r === void 0 && h(j), i && i(j, k));
1125
+ }, w = ct(() => !f || !n ? null : n(f), [f, n]);
1126
+ function T() {
1127
+ return /* @__PURE__ */ a(he, { children: /* @__PURE__ */ S(
1128
+ M,
1129
1129
  {
1130
1130
  sx: {
1131
1131
  display: "flex",
@@ -1150,7 +1150,7 @@ const mo = dt(oe, {
1150
1150
  }
1151
1151
  ),
1152
1152
  /* @__PURE__ */ S(
1153
- T,
1153
+ M,
1154
1154
  {
1155
1155
  sx: {
1156
1156
  ml: "auto",
@@ -1161,9 +1161,9 @@ const mo = dt(oe, {
1161
1161
  },
1162
1162
  children: [
1163
1163
  /* @__PURE__ */ a(
1164
- me,
1164
+ fe,
1165
1165
  {
1166
- render: /* @__PURE__ */ a(gt, { "aria-label": "Show filters", children: /* @__PURE__ */ a(de, { fontSize: "small" }) })
1166
+ render: /* @__PURE__ */ a(mt, { "aria-label": "Show filters", children: /* @__PURE__ */ a(ge, { fontSize: "small" }) })
1167
1167
  }
1168
1168
  ),
1169
1169
  /* @__PURE__ */ a(
@@ -1178,12 +1178,12 @@ const mo = dt(oe, {
1178
1178
  }
1179
1179
  ),
1180
1180
  /* @__PURE__ */ a(
1181
- he,
1181
+ be,
1182
1182
  {
1183
- render: (k, E) => {
1184
- var L;
1183
+ render: (k, j) => {
1184
+ var z;
1185
1185
  return /* @__PURE__ */ S(
1186
- T,
1186
+ M,
1187
1187
  {
1188
1188
  ...k,
1189
1189
  sx: {
@@ -1191,25 +1191,25 @@ const mo = dt(oe, {
1191
1191
  overflow: "hidden"
1192
1192
  },
1193
1193
  children: [
1194
- !E.expanded && /* @__PURE__ */ a(
1195
- fe,
1194
+ !j.expanded && /* @__PURE__ */ a(
1195
+ xe,
1196
1196
  {
1197
- render: /* @__PURE__ */ a(gt, { "aria-label": "Search", children: /* @__PURE__ */ a(jt, { fontSize: "small" }) })
1197
+ render: /* @__PURE__ */ a(mt, { "aria-label": "Search", children: /* @__PURE__ */ a(Pt, { fontSize: "small" }) })
1198
1198
  }
1199
1199
  ),
1200
1200
  /* @__PURE__ */ S(
1201
- T,
1201
+ M,
1202
1202
  {
1203
1203
  sx: {
1204
1204
  display: "flex",
1205
1205
  overflow: "hidden",
1206
1206
  transition: "all 0.3s ease-in-out",
1207
- width: E.expanded ? "200px" : "0px",
1207
+ width: j.expanded ? "200px" : "0px",
1208
1208
  position: "relative"
1209
1209
  },
1210
1210
  children: [
1211
1211
  /* @__PURE__ */ S(
1212
- T,
1212
+ M,
1213
1213
  {
1214
1214
  sx: {
1215
1215
  flex: 1,
@@ -1217,9 +1217,9 @@ const mo = dt(oe, {
1217
1217
  "& .MuiInputBase-root": {
1218
1218
  height: "32px",
1219
1219
  borderRadius: "16px",
1220
- backgroundColor: (L = u.palette.backgroundPaperElevation) == null ? void 0 : L[2],
1220
+ backgroundColor: (z = u.palette.backgroundPaperElevation) == null ? void 0 : z[2],
1221
1221
  paddingLeft: "40px",
1222
- paddingRight: E.expanded && E.value !== "" ? "40px" : "12px",
1222
+ paddingRight: j.expanded && j.value !== "" ? "40px" : "12px",
1223
1223
  color: "white",
1224
1224
  fontSize: "14px",
1225
1225
  border: "none !important",
@@ -1293,8 +1293,8 @@ const mo = dt(oe, {
1293
1293
  }
1294
1294
  },
1295
1295
  children: [
1296
- E.expanded && /* @__PURE__ */ a(
1297
- jt,
1296
+ j.expanded && /* @__PURE__ */ a(
1297
+ Pt,
1298
1298
  {
1299
1299
  fontSize: "small",
1300
1300
  sx: {
@@ -1308,15 +1308,15 @@ const mo = dt(oe, {
1308
1308
  }
1309
1309
  }
1310
1310
  ),
1311
- /* @__PURE__ */ a(be, { placeholder: l })
1311
+ /* @__PURE__ */ a(ye, { placeholder: l })
1312
1312
  ]
1313
1313
  }
1314
1314
  ),
1315
- E.expanded && E.value !== "" && /* @__PURE__ */ a(
1316
- xe,
1315
+ j.expanded && j.value !== "" && /* @__PURE__ */ a(
1316
+ Se,
1317
1317
  {
1318
1318
  render: /* @__PURE__ */ a(
1319
- T,
1319
+ M,
1320
1320
  {
1321
1321
  sx: {
1322
1322
  position: "absolute",
@@ -1326,7 +1326,7 @@ const mo = dt(oe, {
1326
1326
  zIndex: 1
1327
1327
  },
1328
1328
  children: /* @__PURE__ */ a(
1329
- T,
1329
+ M,
1330
1330
  {
1331
1331
  sx: {
1332
1332
  minWidth: "24px",
@@ -1338,7 +1338,7 @@ const mo = dt(oe, {
1338
1338
  backgroundColor: "rgba(255, 255, 255, 0.1)"
1339
1339
  }
1340
1340
  },
1341
- children: /* @__PURE__ */ a(gt, { "aria-label": "Clear", children: /* @__PURE__ */ a(ce, { fontSize: "small" }) })
1341
+ children: /* @__PURE__ */ a(mt, { "aria-label": "Clear", children: /* @__PURE__ */ a(ue, { fontSize: "small" }) })
1342
1342
  }
1343
1343
  )
1344
1344
  }
@@ -1361,9 +1361,9 @@ const mo = dt(oe, {
1361
1361
  }
1362
1362
  ) });
1363
1363
  }
1364
- const M = m || I;
1364
+ const I = m || T;
1365
1365
  return /* @__PURE__ */ a(
1366
- T,
1366
+ M,
1367
1367
  {
1368
1368
  ref: y,
1369
1369
  sx: {
@@ -1400,12 +1400,12 @@ const mo = dt(oe, {
1400
1400
  ...p
1401
1401
  },
1402
1402
  children: /* @__PURE__ */ a(
1403
- ge,
1403
+ me,
1404
1404
  {
1405
1405
  apiRef: b,
1406
1406
  rows: v,
1407
1407
  columns: t,
1408
- onRowClick: w,
1408
+ onRowClick: C,
1409
1409
  disableColumnMenu: !1,
1410
1410
  disableRowSelectionOnClick: !0,
1411
1411
  disableMultipleRowSelection: !0,
@@ -1415,7 +1415,7 @@ const mo = dt(oe, {
1415
1415
  hideFooter: !1,
1416
1416
  showToolbar: !0,
1417
1417
  slots: {
1418
- toolbar: M
1418
+ toolbar: I
1419
1419
  },
1420
1420
  initialState: {
1421
1421
  sorting: {
@@ -1438,7 +1438,7 @@ const mo = dt(oe, {
1438
1438
  includeHeaders: !0,
1439
1439
  expand: !0,
1440
1440
  // Auto-size all columns by default (can be overridden by dataGridProps)
1441
- columns: ((j = d == null ? void 0 : d.autosizeOptions) == null ? void 0 : j.columns) || t.map((k) => k.field)
1441
+ columns: ((E = d == null ? void 0 : d.autosizeOptions) == null ? void 0 : E.columns) || t.map((k) => k.field)
1442
1442
  },
1443
1443
  sx: {
1444
1444
  border: "none",
@@ -1462,7 +1462,7 @@ const mo = dt(oe, {
1462
1462
  borderBottom: "none !important"
1463
1463
  },
1464
1464
  "& .MuiDataGrid-row": {
1465
- cursor: r ? "pointer" : "default",
1465
+ cursor: i ? "pointer" : "default",
1466
1466
  border: "none",
1467
1467
  margin: "1px 0",
1468
1468
  position: "relative",
@@ -1490,8 +1490,8 @@ const mo = dt(oe, {
1490
1490
  }
1491
1491
  },
1492
1492
  // Highlight selected row with a distinct color using data attribute
1493
- ...C !== null && {
1494
- [`&[data-id="${C}"]`]: {
1493
+ ...w !== null && {
1494
+ [`&[data-id="${w}"]`]: {
1495
1495
  backgroundColor: "transparent !important",
1496
1496
  "&::before": {
1497
1497
  content: '""',
@@ -1587,29 +1587,37 @@ const mo = dt(oe, {
1587
1587
  }
1588
1588
  )
1589
1589
  );
1590
- Co.displayName = "WandelbotsDataGrid";
1591
- const At = z(
1592
- J(
1590
+ bo.displayName = "WandelbotsDataGrid";
1591
+ const xo = ({
1592
+ title: e,
1593
+ titleId: t,
1594
+ ...o
1595
+ }, i) => /* @__PURE__ */ A.createElement("svg", { width: 21, height: 21, viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: i, "aria-labelledby": t, ...o }, e ? /* @__PURE__ */ A.createElement("title", { id: t }, e) : null, /* @__PURE__ */ A.createElement("g", { id: "JogMinus" }, /* @__PURE__ */ A.createElement("path", { id: "Minus", d: "M0 13V8H21V13H0Z", fill: "white" }))), yo = Z(xo), So = ({
1596
+ title: e,
1597
+ titleId: t,
1598
+ ...o
1599
+ }, i) => /* @__PURE__ */ A.createElement("svg", { width: 21, height: 21, viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: i, "aria-labelledby": t, ...o }, e ? /* @__PURE__ */ A.createElement("title", { id: t }, e) : null, /* @__PURE__ */ A.createElement("g", { id: "JogPlus" }, /* @__PURE__ */ A.createElement("g", { id: "Plus" }, /* @__PURE__ */ A.createElement("path", { d: "M0 13V8H8V13H0Z", fill: "white" }), /* @__PURE__ */ A.createElement("path", { d: "M8 0L13 2.18557e-07L13 21H8L8 0Z", fill: "white" }), /* @__PURE__ */ A.createElement("path", { d: "M13 13V8H21V13H13Z", fill: "white" })))), vo = Z(So), Lt = V(
1600
+ L(
1593
1601
  ({
1594
1602
  colors: e,
1595
1603
  label: t,
1596
1604
  getDisplayedValue: o,
1597
- startJogging: r,
1598
- stopJogging: i,
1605
+ startJogging: i,
1606
+ stopJogging: r,
1599
1607
  disabled: n,
1600
1608
  activeJoggingDirection: c,
1601
1609
  ...s
1602
1610
  }) => {
1603
- var f, w, C, I, M, j, k;
1604
- ft(() => {
1605
- const E = o(), L = p.current;
1606
- L && (L.textContent = E);
1611
+ var f, C, w, T, I, E, k;
1612
+ xt(() => {
1613
+ const j = o(), z = p.current;
1614
+ z && (z.textContent = j);
1607
1615
  });
1608
1616
  const l = B(), [d, m] = $(null);
1609
1617
  F(() => {
1610
1618
  n && v();
1611
1619
  }, [n]);
1612
- const g = c || d, p = A(null);
1620
+ const g = c || d, p = J(null);
1613
1621
  e || (e = {
1614
1622
  color: "#fff",
1615
1623
  backgroundColor: "#000",
@@ -1633,22 +1641,22 @@ const At = z(
1633
1641
  }
1634
1642
  }, y = {
1635
1643
  ...b,
1636
- backgroundColor: (w = e.buttonBackgroundColor) == null ? void 0 : w.default,
1644
+ backgroundColor: (C = e.buttonBackgroundColor) == null ? void 0 : C.default,
1637
1645
  ":hover": {
1638
- backgroundColor: (C = e.buttonBackgroundColor) == null ? void 0 : C.hovered
1646
+ backgroundColor: (w = e.buttonBackgroundColor) == null ? void 0 : w.hovered
1639
1647
  },
1640
1648
  ":active": {
1641
- backgroundColor: (I = e.buttonBackgroundColor) == null ? void 0 : I.pressed,
1649
+ backgroundColor: (T = e.buttonBackgroundColor) == null ? void 0 : T.pressed,
1642
1650
  color: e.backgroundColor,
1643
1651
  path: { fill: e.backgroundColor }
1644
1652
  },
1645
1653
  ":disabled": {
1646
- backgroundColor: (M = e.buttonBackgroundColor) == null ? void 0 : M.disabled,
1654
+ backgroundColor: (I = e.buttonBackgroundColor) == null ? void 0 : I.disabled,
1647
1655
  "svg path": { fill: l.palette.action.disabled }
1648
1656
  }
1649
1657
  }, x = {
1650
1658
  ...b,
1651
- backgroundColor: (j = e.buttonBackgroundColor) == null ? void 0 : j.pressed,
1659
+ backgroundColor: (E = e.buttonBackgroundColor) == null ? void 0 : E.pressed,
1652
1660
  color: e.backgroundColor,
1653
1661
  path: { fill: e.backgroundColor },
1654
1662
  ":disabled": {
@@ -1656,19 +1664,19 @@ const At = z(
1656
1664
  "svg path": { fill: l.palette.action.disabled }
1657
1665
  }
1658
1666
  };
1659
- function h(E, L) {
1660
- n || E.button === 0 && (m(L), r(L));
1667
+ function h(j, z) {
1668
+ n || j.button === 0 && (m(z), i(z));
1661
1669
  }
1662
1670
  function v() {
1663
- m(null), i();
1671
+ m(null), r();
1664
1672
  }
1665
1673
  return /* @__PURE__ */ S(_, { height: "64px", direction: "row", justifyContent: "center", ...s, children: [
1666
1674
  /* @__PURE__ */ a(
1667
- q,
1675
+ Y,
1668
1676
  {
1669
1677
  disabled: n,
1670
1678
  disableRipple: !0,
1671
- onPointerDown: (E) => h(E, "-"),
1679
+ onPointerDown: (j) => h(j, "-"),
1672
1680
  onPointerUp: v,
1673
1681
  onPointerOut: v,
1674
1682
  size: "large",
@@ -1679,7 +1687,7 @@ const At = z(
1679
1687
  borderBottom: `2px solid ${u ?? "#fff"}`,
1680
1688
  borderTop: `2px solid ${u ?? "#fff"}`
1681
1689
  },
1682
- children: /* @__PURE__ */ a(Oe, {})
1690
+ children: /* @__PURE__ */ a(yo, {})
1683
1691
  }
1684
1692
  ),
1685
1693
  /* @__PURE__ */ S(
@@ -1736,11 +1744,11 @@ const At = z(
1736
1744
  }
1737
1745
  ),
1738
1746
  /* @__PURE__ */ a(
1739
- q,
1747
+ Y,
1740
1748
  {
1741
1749
  disableRipple: !0,
1742
1750
  disabled: n,
1743
- onPointerDown: (E) => h(E, "+"),
1751
+ onPointerDown: (j) => h(j, "+"),
1744
1752
  onPointerUp: v,
1745
1753
  onPointerOut: v,
1746
1754
  size: "large",
@@ -1751,29 +1759,29 @@ const At = z(
1751
1759
  borderBottom: `2px solid ${u ?? "#fff"}`,
1752
1760
  borderTop: `2px solid ${u ?? "#fff"}`
1753
1761
  },
1754
- children: /* @__PURE__ */ a(De, {})
1762
+ children: /* @__PURE__ */ a(vo, {})
1755
1763
  }
1756
1764
  )
1757
1765
  ] });
1758
1766
  }
1759
1767
  )
1760
- ), wo = z(
1761
- J(
1768
+ ), wo = V(
1769
+ L(
1762
1770
  ({
1763
1771
  startJogging: e,
1764
1772
  stopJogging: t,
1765
1773
  lowerLimit: o,
1766
- upperLimit: r,
1767
- useDegree: i,
1774
+ upperLimit: i,
1775
+ useDegree: r,
1768
1776
  getValue: n,
1769
1777
  disabled: c,
1770
1778
  ...s
1771
1779
  }) => {
1772
- var I, M, j, k, E, L, X, it, vt, Ct, wt, Tt, It, Mt, kt;
1773
- const { t: l } = V(), [d, m] = $(), g = B(), p = {
1774
- background: (I = g.palette.backgroundPaperElevation) == null ? void 0 : I[4],
1775
- color: (M = g.palette.backgroundPaperElevation) == null ? void 0 : M[11]
1776
- }, u = zt(() => ({
1780
+ var T, I, E, k, j, z, tt, at, Ct, Mt, Tt, It, kt, Rt, Et;
1781
+ const { t: l } = N(), [d, m] = $(), g = B(), p = {
1782
+ background: (T = g.palette.backgroundPaperElevation) == null ? void 0 : T[4],
1783
+ color: (I = g.palette.backgroundPaperElevation) == null ? void 0 : I[11]
1784
+ }, u = Nt(() => ({
1777
1785
  activeJoggingDir: null,
1778
1786
  startJogging(O) {
1779
1787
  this.activeJoggingDir = O, e(O);
@@ -1781,14 +1789,14 @@ const At = z(
1781
1789
  stopJogging() {
1782
1790
  this.activeJoggingDir = null, t();
1783
1791
  }
1784
- })), b = Ze(() => {
1785
- const O = i ? y(n()) : n();
1792
+ })), b = Ge(() => {
1793
+ const O = r ? y(n()) : n();
1786
1794
  (O === void 0 || d === void 0 || Math.abs(d - O) > 1e-9) && m(O);
1787
1795
  }, 50);
1788
- ft(b);
1796
+ xt(b);
1789
1797
  function y(O) {
1790
1798
  if (O !== void 0)
1791
- return Gt(O);
1799
+ return Ut(O);
1792
1800
  }
1793
1801
  function x(O) {
1794
1802
  O.button === 0 && u.startJogging("-");
@@ -1802,19 +1810,19 @@ const At = z(
1802
1810
  function f(O) {
1803
1811
  u.stopJogging();
1804
1812
  }
1805
- function w(O, K = 1) {
1813
+ function C(O, et = 1) {
1806
1814
  if (O === void 0 || Number.isNaN(O)) return "";
1807
- const tt = l("General.degree.variable", {
1808
- amount: O.toFixed(K)
1815
+ const ot = l("General.degree.variable", {
1816
+ amount: O.toFixed(et)
1809
1817
  });
1810
- return O > 0 && K === 0 ? `+${tt}` : tt;
1818
+ return O > 0 && et === 0 ? `+${ot}` : ot;
1811
1819
  }
1812
- function C(O, K = 1) {
1820
+ function w(O, et = 1) {
1813
1821
  if (O === void 0 || Number.isNaN(O)) return "";
1814
- const tt = l("General.mm.variable", {
1815
- amount: O.toFixed(K)
1822
+ const ot = l("General.mm.variable", {
1823
+ amount: O.toFixed(et)
1816
1824
  });
1817
- return O > 0 && K === 0 ? `+${tt}` : tt;
1825
+ return O > 0 && et === 0 ? `+${ot}` : ot;
1818
1826
  }
1819
1827
  return /* @__PURE__ */ S(
1820
1828
  _,
@@ -1829,7 +1837,7 @@ const At = z(
1829
1837
  width: "52px",
1830
1838
  color: g.palette.text.primary,
1831
1839
  alignContent: "center",
1832
- backgroundColor: (j = g.palette.backgroundPaperElevation) == null ? void 0 : j[11],
1840
+ backgroundColor: (E = g.palette.backgroundPaperElevation) == null ? void 0 : E[11],
1833
1841
  "& svg": {
1834
1842
  width: "42px",
1835
1843
  height: "42px"
@@ -1840,7 +1848,7 @@ const At = z(
1840
1848
  opacity: 1
1841
1849
  },
1842
1850
  "&:hover": {
1843
- backgroundColor: (E = g.palette.backgroundPaperElevation) == null ? void 0 : E[9]
1851
+ backgroundColor: (j = g.palette.backgroundPaperElevation) == null ? void 0 : j[9]
1844
1852
  },
1845
1853
  "&:active": {
1846
1854
  ...p
@@ -1849,7 +1857,7 @@ const At = z(
1849
1857
  },
1850
1858
  children: [
1851
1859
  /* @__PURE__ */ a(
1852
- q,
1860
+ Y,
1853
1861
  {
1854
1862
  onPointerDown: x,
1855
1863
  onPointerUp: v,
@@ -1861,11 +1869,11 @@ const At = z(
1861
1869
  ...u.activeJoggingDir === "-" ? p : {}
1862
1870
  },
1863
1871
  children: /* @__PURE__ */ a(
1864
- qe,
1872
+ Ne,
1865
1873
  {
1866
1874
  sx: {
1867
1875
  pointerEvents: "none",
1868
- color: (vt = (it = (X = (L = g.componentsExt) == null ? void 0 : L.JoggingPanel) == null ? void 0 : X.JoggingJoint) == null ? void 0 : it.Joint) == null ? void 0 : vt.arrowColor
1876
+ color: (Ct = (at = (tt = (z = g.componentsExt) == null ? void 0 : z.JoggingPanel) == null ? void 0 : tt.JoggingJoint) == null ? void 0 : at.Joint) == null ? void 0 : Ct.arrowColor
1869
1877
  }
1870
1878
  }
1871
1879
  )
@@ -1882,7 +1890,7 @@ const At = z(
1882
1890
  borderLeftWidth: 0,
1883
1891
  borderRightWidth: 0,
1884
1892
  border: "none",
1885
- backgroundColor: (Ct = g.palette.backgroundPaperElevation) == null ? void 0 : Ct[11],
1893
+ backgroundColor: (Mt = g.palette.backgroundPaperElevation) == null ? void 0 : Mt[11],
1886
1894
  paddingLeft: "20px",
1887
1895
  paddingRight: "20px",
1888
1896
  zIndex: 1
@@ -1901,16 +1909,16 @@ const At = z(
1901
1909
  textAlign: "center",
1902
1910
  color: c ? g.palette.action.disabled : g.palette.text.primary
1903
1911
  },
1904
- children: i ? w(d) : C(d)
1912
+ children: r ? C(d) : w(d)
1905
1913
  }
1906
1914
  ),
1907
1915
  /* @__PURE__ */ a(
1908
- Ht,
1916
+ Yt,
1909
1917
  {
1910
1918
  disabled: !0,
1911
1919
  "aria-label": "Joint position",
1912
- min: i ? y(o) : o,
1913
- max: i ? y(r) : r,
1920
+ min: r ? y(o) : o,
1921
+ max: r ? y(i) : i,
1914
1922
  value: d || 0,
1915
1923
  track: !1,
1916
1924
  sx: {
@@ -1929,18 +1937,18 @@ const At = z(
1929
1937
  color: c ? g.palette.action.disabled : g.palette.text.secondary
1930
1938
  },
1931
1939
  "& .MuiSlider-rail": {
1932
- backgroundColor: (wt = g.palette.backgroundPaperElevation) == null ? void 0 : wt[5],
1940
+ backgroundColor: (Tt = g.palette.backgroundPaperElevation) == null ? void 0 : Tt[5],
1933
1941
  opacity: 1
1934
1942
  }
1935
1943
  },
1936
- marks: o !== void 0 && r !== void 0 && [
1944
+ marks: o !== void 0 && i !== void 0 && [
1937
1945
  {
1938
- value: i ? y(o) : o,
1939
- label: i ? w(y(o), 0) : C(o)
1946
+ value: r ? y(o) : o,
1947
+ label: r ? C(y(o), 0) : w(o)
1940
1948
  },
1941
1949
  {
1942
- value: i ? y(r) : r,
1943
- label: i ? w(y(r), 0) : C(r)
1950
+ value: r ? y(i) : i,
1951
+ label: r ? C(y(i), 0) : w(i)
1944
1952
  }
1945
1953
  ]
1946
1954
  }
@@ -1949,7 +1957,7 @@ const At = z(
1949
1957
  }
1950
1958
  ),
1951
1959
  /* @__PURE__ */ a(
1952
- q,
1960
+ Y,
1953
1961
  {
1954
1962
  onPointerDown: h,
1955
1963
  onPointerUp: v,
@@ -1961,11 +1969,11 @@ const At = z(
1961
1969
  ...u.activeJoggingDir === "+" ? p : {}
1962
1970
  },
1963
1971
  children: /* @__PURE__ */ a(
1964
- Ye,
1972
+ We,
1965
1973
  {
1966
1974
  sx: {
1967
1975
  pointerEvents: "none",
1968
- color: (kt = (Mt = (It = (Tt = g.componentsExt) == null ? void 0 : Tt.JoggingPanel) == null ? void 0 : It.JoggingJoint) == null ? void 0 : Mt.Joint) == null ? void 0 : kt.arrowColor
1976
+ color: (Et = (Rt = (kt = (It = g.componentsExt) == null ? void 0 : It.JoggingPanel) == null ? void 0 : kt.JoggingJoint) == null ? void 0 : Rt.Joint) == null ? void 0 : Et.arrowColor
1969
1977
  }
1970
1978
  }
1971
1979
  )
@@ -1977,56 +1985,56 @@ const At = z(
1977
1985
  }
1978
1986
  )
1979
1987
  );
1980
- function qt(e, t, o) {
1988
+ function Zt(e, t, o) {
1981
1989
  if (t.length !== e.length)
1982
1990
  return !0;
1983
- for (let r = 0; r < t.length; r++)
1991
+ for (let i = 0; i < t.length; i++)
1984
1992
  if (
1985
1993
  // biome-ignore lint/style/noNonNullAssertion: legacy code
1986
- Math.abs(t[r] - e[r]) > o
1994
+ Math.abs(t[i] - e[i]) > o
1987
1995
  )
1988
1996
  return !1;
1989
1997
  return !0;
1990
1998
  }
1991
- function To(e, t, o) {
1999
+ function Co(e, t, o) {
1992
2000
  if (e === void 0 && t || e && t === void 0 || (e == null ? void 0 : e.orientation) === void 0 || (t == null ? void 0 : t.orientation) === void 0 || (e == null ? void 0 : e.position) === void 0 || (t == null ? void 0 : t.position) === void 0)
1993
2001
  return !1;
1994
2002
  if (e === void 0 || t === void 0)
1995
2003
  return !0;
1996
- let r = 0;
1997
- return r += Math.abs(e.orientation[0] - t.orientation[0]), r += Math.abs(e.orientation[1] - t.orientation[1]), r += Math.abs(e.orientation[2] - t.orientation[2]), r += Math.abs(e.position[0] - t.position[0]), r += Math.abs(e.position[1] - t.position[1]), r += Math.abs(e.position[2] - t.position[2]), r <= o;
2004
+ let i = 0;
2005
+ return i += Math.abs(e.orientation[0] - t.orientation[0]), i += Math.abs(e.orientation[1] - t.orientation[1]), i += Math.abs(e.orientation[2] - t.orientation[2]), i += Math.abs(e.position[0] - t.position[0]), i += Math.abs(e.position[1] - t.position[1]), i += Math.abs(e.position[2] - t.position[2]), i <= o;
1998
2006
  }
1999
- function Yt(e, t, o) {
2000
- return e.coordinate_system === t.coordinate_system && e.tcp === t.tcp && To(
2007
+ function Qt(e, t, o) {
2008
+ return e.coordinate_system === t.coordinate_system && e.tcp === t.tcp && Co(
2001
2009
  e.tcp_pose,
2002
2010
  t.tcp_pose,
2003
2011
  o
2004
2012
  );
2005
2013
  }
2006
- function Io(e, t) {
2007
- const o = new Dt(
2014
+ function Mo(e, t) {
2015
+ const o = new Jt(
2008
2016
  t[0],
2009
2017
  t[1],
2010
2018
  t[2]
2011
- ), r = new Dt(
2019
+ ), i = new Jt(
2012
2020
  e[0],
2013
2021
  e[1],
2014
2022
  e[2]
2015
- ), i = o.length(), n = o.normalize();
2016
- let c = r.length(), s = r.normalize();
2023
+ ), r = o.length(), n = o.normalize();
2024
+ let c = i.length(), s = i.normalize();
2017
2025
  s.dot(n) < 0 && (c = -c, s = s.multiplyScalar(-1));
2018
- let l = c - i;
2019
- return l -= 2 * Math.PI * Math.floor((l + Math.PI) / (2 * Math.PI)), c = i + l, [...s.multiplyScalar(c)];
2026
+ let l = c - r;
2027
+ return l -= 2 * Math.PI * Math.floor((l + Math.PI) / (2 * Math.PI)), c = r + l, [...s.multiplyScalar(c)];
2020
2028
  }
2021
- function Mo(e) {
2029
+ function To(e) {
2022
2030
  return "cellId" in e.api;
2023
2031
  }
2024
- function ct(e) {
2025
- if (!Mo(e))
2032
+ function ut(e) {
2033
+ if (!To(e))
2026
2034
  return e;
2027
- const t = e, o = t.api.cellId, r = new Proxy(t.api, {
2028
- get(i, n) {
2029
- const c = Reflect.get(i, n);
2035
+ const t = e, o = t.api.cellId, i = new Proxy(t.api, {
2036
+ get(r, n) {
2037
+ const c = Reflect.get(r, n);
2030
2038
  return !c || typeof c != "object" ? c : new Proxy(c, {
2031
2039
  get(s, l) {
2032
2040
  const d = Reflect.get(s, l);
@@ -2036,36 +2044,36 @@ function ct(e) {
2036
2044
  }
2037
2045
  });
2038
2046
  return new Proxy(t, {
2039
- get(i, n) {
2040
- return n === "api" ? r : n === "openReconnectingWebsocket" ? (c) => i.openReconnectingWebsocket(c.replace(/^\/cells\/[^/]+/, "")) : Reflect.get(i, n);
2047
+ get(r, n) {
2048
+ return n === "api" ? i : n === "openReconnectingWebsocket" ? (c) => r.openReconnectingWebsocket(c.replace(/^\/cells\/[^/]+/, "")) : Reflect.get(r, n);
2041
2049
  }
2042
2050
  });
2043
2051
  }
2044
- const Jt = 1e-4;
2045
- class xt {
2046
- constructor(t, o, r, i, n, c, s = "cell") {
2047
- this.controller = o, this.motionGroup = r, this.description = i, this.initialMotionState = n, this.motionStateSocket = c, this.cellId = s, this.nova = ct(t), this.rapidlyChangingMotionState = n, c.addEventListener("message", (l) => {
2052
+ const Ft = 1e-4;
2053
+ class St {
2054
+ constructor(t, o, i, r, n, c, s = "cell") {
2055
+ this.controller = o, this.motionGroup = i, this.description = r, this.initialMotionState = n, this.motionStateSocket = c, this.cellId = s, this.nova = ut(t), this.rapidlyChangingMotionState = n, c.addEventListener("message", (l) => {
2048
2056
  var p;
2049
- const d = (p = W(l.data)) == null ? void 0 : p.result;
2057
+ const d = (p = G(l.data)) == null ? void 0 : p.result;
2050
2058
  if (!d)
2051
2059
  throw new Error(
2052
2060
  `Failed to get motion state for ${this.motionGroupId}: ${l.data}`
2053
2061
  );
2054
- qt(
2062
+ Zt(
2055
2063
  this.rapidlyChangingMotionState.joint_position,
2056
2064
  d.joint_position,
2057
- Jt
2065
+ Ft
2058
2066
  ) || D(() => {
2059
2067
  this.rapidlyChangingMotionState.joint_position = d.joint_position;
2060
- }), Yt(
2068
+ }), Qt(
2061
2069
  this.rapidlyChangingMotionState,
2062
2070
  d,
2063
- Jt
2071
+ Ft
2064
2072
  ) || D(() => {
2065
2073
  var u, b, y;
2066
2074
  this.rapidlyChangingMotionState.tcp_pose == null ? this.rapidlyChangingMotionState.tcp_pose = d.tcp_pose : (u = d.tcp_pose) != null && u.orientation && ((b = d.tcp_pose) != null && b.position) && ((y = this.rapidlyChangingMotionState.tcp_pose) != null && y.orientation) ? this.rapidlyChangingMotionState.tcp_pose = {
2067
2075
  position: d.tcp_pose.position,
2068
- orientation: Io(
2076
+ orientation: Mo(
2069
2077
  d.tcp_pose.orientation,
2070
2078
  this.rapidlyChangingMotionState.tcp_pose.orientation
2071
2079
  )
@@ -2084,11 +2092,11 @@ class xt {
2084
2092
  }), this.rapidlyChangingMotionState.execute !== d.execute && D(() => {
2085
2093
  this.rapidlyChangingMotionState.execute = d.execute;
2086
2094
  });
2087
- }), bt(this);
2095
+ }), yt(this);
2088
2096
  }
2089
- static async open(t, o, r = {}) {
2097
+ static async open(t, o, i = {}) {
2090
2098
  var b;
2091
- const i = ct(t), n = r.cellId ?? "cell", [c, s] = o.split("@"), l = await i.api.controller.getCurrentRobotControllerState(
2099
+ const r = ut(t), n = i.cellId ?? "cell", [c, s] = o.split("@"), l = await r.api.controller.getCurrentRobotControllerState(
2092
2100
  n,
2093
2101
  s
2094
2102
  ), d = l == null ? void 0 : l.motion_groups.find(
@@ -2098,9 +2106,9 @@ class xt {
2098
2106
  throw new Error(
2099
2107
  `Controller ${s} or motion group ${o} not found`
2100
2108
  );
2101
- const m = i.openReconnectingWebsocket(
2109
+ const m = r.openReconnectingWebsocket(
2102
2110
  `/cells/${n}/controllers/${s}/motion-groups/${o}/state-stream`
2103
- ), g = await m.firstMessage(), p = (b = W(g.data)) == null ? void 0 : b.result;
2111
+ ), g = await m.firstMessage(), p = (b = G(g.data)) == null ? void 0 : b.result;
2104
2112
  if (!p)
2105
2113
  throw new Error(
2106
2114
  `Unable to parse initial motion state message ${g.data}`
@@ -2110,13 +2118,13 @@ class xt {
2110
2118
  `,
2111
2119
  p
2112
2120
  );
2113
- const u = await i.api.motionGroup.getMotionGroupDescription(
2121
+ const u = await r.api.motionGroup.getMotionGroupDescription(
2114
2122
  n,
2115
2123
  s,
2116
2124
  d.motion_group
2117
2125
  );
2118
- return new xt(
2119
- i,
2126
+ return new St(
2127
+ r,
2120
2128
  l,
2121
2129
  d,
2122
2130
  u,
@@ -2140,8 +2148,8 @@ class xt {
2140
2148
  this.motionStateSocket.close();
2141
2149
  }
2142
2150
  }
2143
- const Ft = "Movement request rejected. Another client is currently executing a 'Jogging' motion!";
2144
- class yt {
2151
+ const Bt = "Movement request rejected. Another client is currently executing a 'Jogging' motion!";
2152
+ class vt {
2145
2153
  constructor(t, o = {}) {
2146
2154
  this.motionStream = t, this.options = o, this.DEFAULT_MODE = "off", this.DEFAULT_TCP = "Flange", this.NO_TCP = void 0, this.DEFAULT_INIT_TIMEOUT = 5e3, this.DEFAULT_ORIENTATION = "coordsys", this.mode = "off", this.joggingSocket = null, this.trajectorySocket = null, this.timeout = this.DEFAULT_INIT_TIMEOUT, this.tcp = (o == null ? void 0 : o.tcp) || t.motionGroup.tcp || this.getDefaultTcp(t), this.orientation = (o == null ? void 0 : o.orientation) || this.DEFAULT_ORIENTATION, this.timeout = (o == null ? void 0 : o.timeout) || this.DEFAULT_INIT_TIMEOUT, this.mode = (o == null ? void 0 : o.mode) || this.DEFAULT_MODE, this.onError = o == null ? void 0 : o.onError;
2147
2155
  }
@@ -2162,20 +2170,20 @@ class yt {
2162
2170
  * @param options.onError - Error handler for websocket errors
2163
2171
  * @returns Promise resolving to initialized JoggerConnection instance
2164
2172
  */
2165
- static async open(t, o, r = {}) {
2166
- const i = await xt.open(
2173
+ static async open(t, o, i = {}) {
2174
+ const r = await St.open(
2167
2175
  t,
2168
2176
  o,
2169
2177
  {
2170
- cellId: r.cellId
2178
+ cellId: i.cellId
2171
2179
  }
2172
- ), n = new yt(i, r);
2180
+ ), n = new vt(r, i);
2173
2181
  return await n.setJoggingMode(n.mode), n;
2174
2182
  }
2175
2183
  getDefaultTcp(t) {
2176
- var r, i;
2177
- const o = (i = (r = t.description.dh_parameters) == null ? void 0 : r[0]) == null ? void 0 : i.type;
2178
- return t.joints.length < 6 && (o === G.RevoluteJoint || o === G.PrismaticJoint) ? this.NO_TCP : this.DEFAULT_TCP;
2184
+ var i, r;
2185
+ const o = (r = (i = t.description.dh_parameters) == null ? void 0 : i[0]) == null ? void 0 : r.type;
2186
+ return t.joints.length < 6 && (o === H.RevoluteJoint || o === H.PrismaticJoint) ? this.NO_TCP : this.DEFAULT_TCP;
2179
2187
  }
2180
2188
  // Set a new tcp or other options. If current mode is jogging, will reinitialize the jogging websocket
2181
2189
  async setOptions(t) {
@@ -2231,7 +2239,7 @@ class yt {
2231
2239
  // Initializes continuous jogging websocket, called by setJoggingMode("jogging")
2232
2240
  async initializeJoggingWebsocket() {
2233
2241
  return new Promise((t, o) => {
2234
- const r = setTimeout(() => {
2242
+ const i = setTimeout(() => {
2235
2243
  o(
2236
2244
  new Error(
2237
2245
  `Jogging initialization timeout after ${this.timeout} seconds`
@@ -2240,18 +2248,18 @@ class yt {
2240
2248
  }, this.timeout);
2241
2249
  this.joggingSocket = this.nova.openReconnectingWebsocket(
2242
2250
  `/cells/${this.cellId}/controllers/${this.motionStream.controllerId}/execution/jogging`
2243
- ), this.joggingSocket.addEventListener("message", (i) => {
2251
+ ), this.joggingSocket.addEventListener("message", (r) => {
2244
2252
  var c, s, l, d;
2245
- const n = W(i.data);
2253
+ const n = G(r.data);
2246
2254
  if (((c = n == null ? void 0 : n.result) == null ? void 0 : c.kind) === "INITIALIZE_RECEIVED") {
2247
- clearTimeout(r), t();
2255
+ clearTimeout(i), t();
2248
2256
  return;
2249
2257
  }
2250
2258
  if (((s = n == null ? void 0 : n.result) == null ? void 0 : s.kind) === "MOTION_ERROR")
2251
- if (clearTimeout(r), this.onBlocked && ((l = n == null ? void 0 : n.result) != null && l.message.includes(Ft))) {
2259
+ if (clearTimeout(i), this.onBlocked && ((l = n == null ? void 0 : n.result) != null && l.message.includes(Bt))) {
2252
2260
  (d = this.joggingSocket) == null || d.dispose(), this.onBlocked();
2253
2261
  return;
2254
- } else this.onError ? this.onError(i.data) : o(new Error(i.data));
2262
+ } else this.onError ? this.onError(r.data) : o(new Error(r.data));
2255
2263
  }), this.joggingSocket.sendJson({
2256
2264
  message_type: "InitializeJoggingRequest",
2257
2265
  motion_group: this.motionGroupId,
@@ -2265,15 +2273,15 @@ class yt {
2265
2273
  async rotateJoints({
2266
2274
  joint: t,
2267
2275
  direction: o,
2268
- velocityValue: r,
2269
- velocityUnit: i
2276
+ velocityValue: i,
2277
+ velocityUnit: r
2270
2278
  }) {
2271
2279
  if (!this.joggingSocket || this.mode !== "jogging")
2272
2280
  throw new Error(
2273
2281
  "Joint jogging websocket not connected; create one by setting jogging mode to 'jogging'"
2274
2282
  );
2275
2283
  const n = new Array(this.numJoints).fill(0);
2276
- n[t] = o === "-" ? -r : r, this.joggingSocket.sendJson({
2284
+ n[t] = o === "-" ? -i : i, this.joggingSocket.sendJson({
2277
2285
  message_type: "JointVelocityRequest",
2278
2286
  velocity: n
2279
2287
  });
@@ -2284,17 +2292,17 @@ class yt {
2284
2292
  async translateTCP({
2285
2293
  axis: t,
2286
2294
  direction: o,
2287
- velocityMmPerSec: r
2295
+ velocityMmPerSec: i
2288
2296
  }) {
2289
2297
  if (!this.joggingSocket || this.mode !== "jogging")
2290
2298
  throw new Error(
2291
2299
  "Continuous jogging websocket not connected; create one by setting jogging mode to 'jogging'"
2292
2300
  );
2293
- const i = [0, 0, 0], n = [0, 0, 0];
2294
- n[ot[t]] = o === "-" ? -r : r, this.joggingSocket.sendJson({
2301
+ const r = [0, 0, 0], n = [0, 0, 0];
2302
+ n[it[t]] = o === "-" ? -i : i, this.joggingSocket.sendJson({
2295
2303
  message_type: "TcpVelocityRequest",
2296
2304
  translation: n,
2297
- rotation: i,
2305
+ rotation: r,
2298
2306
  use_tool_coordinate_system: this.orientation === "tool"
2299
2307
  });
2300
2308
  }
@@ -2304,17 +2312,17 @@ class yt {
2304
2312
  async rotateTCP({
2305
2313
  axis: t,
2306
2314
  direction: o,
2307
- velocityRadsPerSec: r
2315
+ velocityRadsPerSec: i
2308
2316
  }) {
2309
2317
  if (!this.joggingSocket || this.mode !== "jogging")
2310
2318
  throw new Error(
2311
2319
  "Continuous jogging websocket not connected; create one by setting jogging mode to 'jogging'"
2312
2320
  );
2313
- const i = [0, 0, 0], n = [0, 0, 0];
2314
- i[ot[t]] = o === "-" ? -r : r, this.joggingSocket.sendJson({
2321
+ const r = [0, 0, 0], n = [0, 0, 0];
2322
+ r[it[t]] = o === "-" ? -i : i, this.joggingSocket.sendJson({
2315
2323
  message_type: "TcpVelocityRequest",
2316
2324
  translation: n,
2317
- rotation: i,
2325
+ rotation: r,
2318
2326
  use_tool_coordinate_system: this.orientation === "tool"
2319
2327
  });
2320
2328
  }
@@ -2329,8 +2337,8 @@ class yt {
2329
2337
  currentTcpPose: t,
2330
2338
  currentJoints: o,
2331
2339
  // coordSystemId,
2332
- velocityInRelevantUnits: r,
2333
- axis: i,
2340
+ velocityInRelevantUnits: i,
2341
+ axis: r,
2334
2342
  direction: n,
2335
2343
  motion: c
2336
2344
  }) {
@@ -2345,9 +2353,9 @@ class yt {
2345
2353
  "Current pose has no position, cannot perform translation"
2346
2354
  );
2347
2355
  const x = [...t.position];
2348
- x[ot[i]] += c.distanceMm * (n === "-" ? -1 : 1), s.push({
2356
+ x[it[r]] += c.distanceMm * (n === "-" ? -1 : 1), s.push({
2349
2357
  limits_override: {
2350
- tcp_velocity_limit: r
2358
+ tcp_velocity_limit: i
2351
2359
  },
2352
2360
  path: {
2353
2361
  path_definition_name: "PathLine",
@@ -2362,24 +2370,24 @@ class yt {
2362
2370
  throw new Error(
2363
2371
  "Current pose has no orientation, cannot perform rotation"
2364
2372
  );
2365
- const x = new pt(
2373
+ const x = new ht(
2366
2374
  t.orientation[0],
2367
2375
  t.orientation[1],
2368
2376
  t.orientation[2]
2369
- ), h = x.length(), v = x.clone().normalize(), f = c.distanceRads * (n === "-" ? -1 : 1), w = new pt(0, 0, 0);
2370
- w[i] = 1;
2371
- const C = Math.cos(0.5 * f) * Math.cos(0.5 * h), I = Math.sin(0.5 * f) * Math.sin(0.5 * h), M = Math.sin(0.5 * f) * Math.cos(0.5 * h), j = Math.cos(0.5 * f) * Math.sin(0.5 * h), k = w.dot(
2377
+ ), h = x.length(), v = x.clone().normalize(), f = c.distanceRads * (n === "-" ? -1 : 1), C = new ht(0, 0, 0);
2378
+ C[r] = 1;
2379
+ const w = Math.cos(0.5 * f) * Math.cos(0.5 * h), T = Math.sin(0.5 * f) * Math.sin(0.5 * h), I = Math.sin(0.5 * f) * Math.cos(0.5 * h), E = Math.cos(0.5 * f) * Math.sin(0.5 * h), k = C.dot(
2372
2380
  v
2373
- ), E = w.clone().cross(v), L = 2 * Math.acos(C - I * k), X = L / Math.sin(0.5 * L), it = new pt().addScaledVector(E, I).addScaledVector(w, M).addScaledVector(v, j).multiplyScalar(X);
2381
+ ), j = C.clone().cross(v), z = 2 * Math.acos(w - T * k), tt = z / Math.sin(0.5 * z), at = new ht().addScaledVector(j, T).addScaledVector(C, I).addScaledVector(v, E).multiplyScalar(tt);
2374
2382
  s.push({
2375
2383
  limits_override: {
2376
- tcp_orientation_velocity_limit: r
2384
+ tcp_orientation_velocity_limit: i
2377
2385
  },
2378
2386
  path: {
2379
2387
  path_definition_name: "PathLine",
2380
2388
  target_pose: {
2381
2389
  position: t.position,
2382
- orientation: [...it]
2390
+ orientation: [...at]
2383
2391
  }
2384
2392
  }
2385
2393
  });
@@ -2432,10 +2440,10 @@ class yt {
2432
2440
  });
2433
2441
  }, u = async () => {
2434
2442
  var x;
2435
- await lt(() => !this.motionStream.rapidlyChangingMotionState.standstill), await lt(() => this.motionStream.rapidlyChangingMotionState.standstill), (x = this.trajectorySocket) == null || x.dispose(), this.trajectorySocket = null;
2443
+ await dt(() => !this.motionStream.rapidlyChangingMotionState.standstill), await dt(() => this.motionStream.rapidlyChangingMotionState.standstill), (x = this.trajectorySocket) == null || x.dispose(), this.trajectorySocket = null;
2436
2444
  }, b = async () => {
2437
2445
  var x;
2438
- await lt(() => this.motionStream.rapidlyChangingMotionState.standstill), (x = this.trajectorySocket) == null || x.dispose(), this.trajectorySocket = null;
2446
+ await dt(() => this.motionStream.rapidlyChangingMotionState.standstill), (x = this.trajectorySocket) == null || x.dispose(), this.trajectorySocket = null;
2439
2447
  }, y = async (x) => {
2440
2448
  if (x != null && x.message)
2441
2449
  if (this.onError) {
@@ -2449,12 +2457,12 @@ class yt {
2449
2457
  };
2450
2458
  this.trajectorySocket.addEventListener("message", (x) => {
2451
2459
  var v, f;
2452
- const h = W(x.data);
2460
+ const h = G(x.data);
2453
2461
  if (!((v = h == null ? void 0 : h.result) != null && v.kind))
2454
2462
  throw new Error(
2455
2463
  `Failed to execute trajectory: Received invalid message ${x.data}`
2456
2464
  );
2457
- if (this.onBlocked && ((f = h.result.message) != null && f.includes(Ft))) {
2465
+ if (this.onBlocked && ((f = h.result.message) != null && f.includes(Bt))) {
2458
2466
  this.onBlocked();
2459
2467
  return;
2460
2468
  }
@@ -2483,11 +2491,11 @@ class yt {
2483
2491
  });
2484
2492
  }
2485
2493
  }
2486
- const ko = (e) => {
2487
- const t = e.softTimeout || 3e3, [o, r] = $(!1), i = B();
2494
+ const Io = (e) => {
2495
+ const t = e.softTimeout || 3e3, [o, i] = $(!1), r = B();
2488
2496
  return F(() => {
2489
2497
  const n = setTimeout(() => {
2490
- r(!0);
2498
+ i(!0);
2491
2499
  }, t);
2492
2500
  return () => clearTimeout(n);
2493
2501
  }), /* @__PURE__ */ a(
@@ -2497,15 +2505,15 @@ const ko = (e) => {
2497
2505
  height: "100%",
2498
2506
  alignItems: "center",
2499
2507
  justifyContent: "center",
2500
- sx: { color: i.palette.text.primary },
2508
+ sx: { color: r.palette.text.primary },
2501
2509
  children: e.error ? /* @__PURE__ */ a(
2502
- Ro,
2510
+ ko,
2503
2511
  {
2504
2512
  loadingMessage: e.message,
2505
2513
  error: e.error
2506
2514
  }
2507
- ) : /* @__PURE__ */ S(nt, { children: [
2508
- /* @__PURE__ */ a(Ut, { sx: { marginBottom: "24px" } }),
2515
+ ) : /* @__PURE__ */ S(rt, { children: [
2516
+ /* @__PURE__ */ a(qt, { sx: { marginBottom: "24px" } }),
2509
2517
  !!e.message && /* @__PURE__ */ a("div", { children: e.message }),
2510
2518
  /* @__PURE__ */ a(
2511
2519
  _,
@@ -2513,7 +2521,7 @@ const ko = (e) => {
2513
2521
  sx: {
2514
2522
  visibility: o ? "visible" : "hidden",
2515
2523
  marginTop: "1rem",
2516
- color: i.palette.text.secondary
2524
+ color: r.palette.text.secondary
2517
2525
  },
2518
2526
  children: "This is taking longer than expected..."
2519
2527
  }
@@ -2521,8 +2529,8 @@ const ko = (e) => {
2521
2529
  ] })
2522
2530
  }
2523
2531
  );
2524
- }, Ro = (e) => {
2525
- const t = Ee(e.error), o = e.error instanceof Error ? e.error.stack : null, r = B();
2532
+ }, ko = (e) => {
2533
+ const t = _e(e.error), o = e.error instanceof Error ? e.error.stack : null, i = B();
2526
2534
  return /* @__PURE__ */ S(
2527
2535
  _,
2528
2536
  {
@@ -2531,7 +2539,7 @@ const ko = (e) => {
2531
2539
  maxWidth: "min(100%, 800px)",
2532
2540
  padding: 2,
2533
2541
  overflow: "auto",
2534
- color: r.palette.error.main,
2542
+ color: i.palette.error.main,
2535
2543
  "& pre": {
2536
2544
  whiteSpace: "pre-wrap",
2537
2545
  wordBreak: "break-word",
@@ -2539,16 +2547,16 @@ const ko = (e) => {
2539
2547
  }
2540
2548
  },
2541
2549
  children: [
2542
- (e.loadingMessage ? `Error while ${we(je(e.loadingMessage))} - ` : "") + t,
2550
+ (e.loadingMessage ? `Error while ${Te(Pe(e.loadingMessage))} - ` : "") + t,
2543
2551
  /* @__PURE__ */ a("br", {}),
2544
2552
  o && /* @__PURE__ */ a("pre", { children: o })
2545
2553
  ]
2546
2554
  }
2547
2555
  );
2548
- }, jo = J(({ store: e }) => {
2549
- const { t } = V();
2556
+ }, Ro = L(({ store: e }) => {
2557
+ const { t } = N();
2550
2558
  return /* @__PURE__ */ a(
2551
- Lt,
2559
+ Vt,
2552
2560
  {
2553
2561
  "data-testid": "jogging-blocked",
2554
2562
  "aria-label": "jogging-blocked",
@@ -2562,12 +2570,12 @@ const ko = (e) => {
2562
2570
  alignItems: "flex-start"
2563
2571
  },
2564
2572
  children: /* @__PURE__ */ S(_, { sx: { m: 2, width: "100%" }, children: [
2565
- /* @__PURE__ */ S(Pe, { severity: "error", sx: { mb: 2 }, children: [
2566
- /* @__PURE__ */ a(_e, { children: t("Jogging.Blocked.ti") }),
2573
+ /* @__PURE__ */ S(Ae, { severity: "error", sx: { mb: 2 }, children: [
2574
+ /* @__PURE__ */ a(Oe, { children: t("Jogging.Blocked.ti") }),
2567
2575
  t("Jogging.Blocked.lb")
2568
2576
  ] }),
2569
2577
  /* @__PURE__ */ a(
2570
- Q,
2578
+ K,
2571
2579
  {
2572
2580
  variant: "contained",
2573
2581
  color: "secondary",
@@ -2578,20 +2586,36 @@ const ko = (e) => {
2578
2586
  ] })
2579
2587
  }
2580
2588
  );
2581
- }), Zt = J(
2589
+ }), Eo = ({
2590
+ title: e,
2591
+ titleId: t,
2592
+ ...o
2593
+ }, i) => /* @__PURE__ */ A.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 19, height: 10, fill: "none", ref: i, "aria-labelledby": t, ...o }, e ? /* @__PURE__ */ A.createElement("title", { id: t }, e) : null, /* @__PURE__ */ A.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0", clipRule: "evenodd" })), jo = Z(Eo), Po = ({
2594
+ title: e,
2595
+ titleId: t,
2596
+ ...o
2597
+ }, i) => /* @__PURE__ */ A.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 19, height: 10, fill: "none", ref: i, "aria-labelledby": t, ...o }, e ? /* @__PURE__ */ A.createElement("title", { id: t }, e) : null, /* @__PURE__ */ A.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0", clipRule: "evenodd" })), _o = Z(Po), Ao = ({
2598
+ title: e,
2599
+ titleId: t,
2600
+ ...o
2601
+ }, i) => /* @__PURE__ */ A.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 10, height: 19, fill: "none", ref: i, "aria-labelledby": t, ...o }, e ? /* @__PURE__ */ A.createElement("title", { id: t }, e) : null, /* @__PURE__ */ A.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M9.522 14.811A.899.899 0 1 0 8.25 13.54L6.19 15.601V3.16L8.25 5.221A.9.9 0 0 0 9.522 3.95L5.926.354a.9.9 0 0 0-1.272 0L1.058 3.95a.9.9 0 1 0 1.271 1.271L4.391 3.16v12.442L2.329 13.54a.899.899 0 1 0-1.271 1.271l3.596 3.597a.9.9 0 0 0 1.272 0z", clipRule: "evenodd" })), Oo = Z(Ao), Do = ({
2602
+ title: e,
2603
+ titleId: t,
2604
+ ...o
2605
+ }, i) => /* @__PURE__ */ A.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: i, "aria-labelledby": t, ...o }, e ? /* @__PURE__ */ A.createElement("title", { id: t }, e) : null, /* @__PURE__ */ A.createElement("path", { d: "M8 16C5.76667 16 3.875 15.225 2.325 13.675C0.775 12.125 0 10.2333 0 8C0 5.76667 0.775 3.875 2.325 2.325C3.875 0.775 5.76667 0 8 0C9.15 0 10.25 0.2375 11.3 0.7125C12.35 1.1875 13.25 1.86667 14 2.75V0H16V7H9V5H13.2C12.6667 4.06667 11.9375 3.33333 11.0125 2.8C10.0875 2.26667 9.08333 2 8 2C6.33333 2 4.91667 2.58333 3.75 3.75C2.58333 4.91667 2 6.33333 2 8C2 9.66667 2.58333 11.0833 3.75 12.25C4.91667 13.4167 6.33333 14 8 14C9.28333 14 10.4417 13.6333 11.475 12.9C11.0583 14.1 12.5083 12.1667 11.475 12.9L12.9 14.325C11.4667 15.4417 9.83333 16 8 16Z", fill: "white" })), Jo = Z(Do), Xt = L(
2582
2606
  ({ store: e }) => {
2583
- const { t } = V(), [o, r] = $(
2607
+ const { t } = N(), [o, i] = $(
2584
2608
  e.jogger.motionStream.rapidlyChangingMotionState.joint_limit_reached.limit_reached
2585
- ), i = A(o);
2586
- ft(() => {
2609
+ ), r = J(o);
2610
+ xt(() => {
2587
2611
  const c = e.jogger.motionStream.rapidlyChangingMotionState.joint_limit_reached.limit_reached;
2588
- Le(i.current, c) || (i.current = c, r(c));
2612
+ De(r.current, c) || (r.current = c, i(c));
2589
2613
  });
2590
2614
  const n = [];
2591
2615
  for (const [c, s] of o.entries())
2592
2616
  s && n.push(c);
2593
2617
  return /* @__PURE__ */ a(
2594
- T,
2618
+ M,
2595
2619
  {
2596
2620
  sx: {
2597
2621
  display: "flex",
@@ -2618,7 +2642,7 @@ const ko = (e) => {
2618
2642
  }
2619
2643
  );
2620
2644
  }
2621
- ), Eo = dt(Ve)(({ theme: e }) => ({
2645
+ ), Lo = gt(Le)(({ theme: e }) => ({
2622
2646
  "&.MuiFormControl-root": {
2623
2647
  ".MuiSelect-select": {
2624
2648
  paddingTop: "20px",
@@ -2635,37 +2659,37 @@ const ko = (e) => {
2635
2659
  }
2636
2660
  }
2637
2661
  }));
2638
- function at({
2662
+ function lt({
2639
2663
  labelValue: e,
2640
2664
  ...t
2641
2665
  }) {
2642
- return /* @__PURE__ */ S(Eo, { fullWidth: !0, variant: "filled", children: [
2643
- /* @__PURE__ */ a(Ne, { id: t.labelId, children: e }),
2644
- /* @__PURE__ */ a(We, { ...t })
2666
+ return /* @__PURE__ */ S(Lo, { fullWidth: !0, variant: "filled", children: [
2667
+ /* @__PURE__ */ a(Fe, { id: t.labelId, children: e }),
2668
+ /* @__PURE__ */ a(Be, { ...t })
2645
2669
  ] });
2646
2670
  }
2647
- const mt = [
2671
+ const ft = [
2648
2672
  { id: "0.1", mm: 0.1, degrees: 0.05 },
2649
2673
  { id: "1", mm: 1, degrees: 0.5 },
2650
2674
  { id: "5", mm: 5, degrees: 2.5 },
2651
2675
  { id: "10", mm: 10, degrees: 5 }
2652
- ], Po = [
2676
+ ], Fo = [
2653
2677
  { id: "continuous" },
2654
- ...mt
2655
- ], _o = ["coordsys", "tool"];
2656
- class St {
2657
- constructor(t, o, r, i, n) {
2678
+ ...ft
2679
+ ], Bo = ["coordsys", "tool"];
2680
+ class wt {
2681
+ constructor(t, o, i, r, n) {
2658
2682
  var c, s, l;
2659
- this.jogger = t, this.coordSystems = o, this.motionGroupDescription = r, this.tcps = i, this.inverseSolverValue = n, this.selectedTabId = "cartesian", this.locks = /* @__PURE__ */ new Set(), this.blocked = !1, this.selectedCoordSystemId = "world", this.selectedTcpId = "", this.tcpChangeInProgress = !1, this.selectedOrientation = "coordsys", this.selectedIncrementId = "continuous", this.selectedCartesianMotionType = "translate", this.incrementJogInProgress = null, this.translationVelocityMmPerSec = 10, this.rotationVelocityDegPerSec = 1, this.minTranslationVelocityMmPerSec = 5, this.maxTranslationVelocityMmPerSec = 250, this.minRotationVelocityDegPerSec = 1, this.maxRotationVelocityDegPerSec = 60, this.showCoordSystemSelect = !1, this.showTcpSelect = !0, this.showOrientationSelect = !0, this.showIncrementSelect = !0, this.showTabIcons = !1, this.showVelocitySliderLabel = !0, this.showVelocityLegend = !1, this.showJointsLegend = !1, this.disposers = [], this.inverseSolver = void 0, this.jointType = G.RevoluteJoint;
2683
+ this.jogger = t, this.coordSystems = o, this.motionGroupDescription = i, this.tcps = r, this.inverseSolverValue = n, this.selectedTabId = "cartesian", this.locks = /* @__PURE__ */ new Set(), this.blocked = !1, this.selectedCoordSystemId = "world", this.selectedTcpId = "", this.tcpChangeInProgress = !1, this.selectedOrientation = "coordsys", this.selectedIncrementId = "continuous", this.selectedCartesianMotionType = "translate", this.incrementJogInProgress = null, this.translationVelocityMmPerSec = 10, this.rotationVelocityDegPerSec = 1, this.minTranslationVelocityMmPerSec = 5, this.maxTranslationVelocityMmPerSec = 250, this.minRotationVelocityDegPerSec = 1, this.maxRotationVelocityDegPerSec = 60, this.showCoordSystemSelect = !1, this.showTcpSelect = !0, this.showOrientationSelect = !0, this.showIncrementSelect = !0, this.showTabIcons = !1, this.showVelocitySliderLabel = !0, this.showVelocityLegend = !1, this.showJointsLegend = !1, this.disposers = [], this.inverseSolver = void 0, this.jointType = H.RevoluteJoint;
2660
2684
  for (const d of o)
2661
2685
  if (d.coordinate_system === "") {
2662
2686
  d.coordinate_system = "world";
2663
2687
  break;
2664
2688
  }
2665
- this.selectedCoordSystemId = ((c = o[0]) == null ? void 0 : c.coordinate_system) || "world", this.selectedTcpId = t.motionStream.rapidlyChangingMotionState.tcp ?? "", this.tcpChangeInProgress = this.tcps.length > 0 && !this.selectedTcpId, this.inverseSolver = n, this.jointType = ((l = (s = r == null ? void 0 : r.dh_parameters) == null ? void 0 : s[0]) == null ? void 0 : l.type) ?? G.RevoluteJoint, bt(this, {}, { autoBind: !0 }), this.jogger.onBlocked = () => {
2689
+ this.selectedCoordSystemId = ((c = o[0]) == null ? void 0 : c.coordinate_system) || "world", this.selectedTcpId = t.motionStream.rapidlyChangingMotionState.tcp ?? "", this.tcpChangeInProgress = this.tcps.length > 0 && !this.selectedTcpId, this.inverseSolver = n, this.jointType = ((l = (s = i == null ? void 0 : i.dh_parameters) == null ? void 0 : s[0]) == null ? void 0 : l.type) ?? H.RevoluteJoint, yt(this, {}, { autoBind: !0 }), this.jogger.onBlocked = () => {
2666
2690
  this.block();
2667
- }, this.loadFromLocalStorage(), this.disposers.push(Et(() => this.saveToLocalStorage())), this.disposers.push(
2668
- Et(() => {
2691
+ }, this.loadFromLocalStorage(), this.disposers.push(_t(() => this.saveToLocalStorage())), this.disposers.push(
2692
+ _t(() => {
2669
2693
  const d = this.jogger.motionStream.rapidlyChangingMotionState.tcp;
2670
2694
  d && d !== this.selectedTcpId && D(() => {
2671
2695
  this.selectedTcpId = d, this.tcpChangeInProgress = !1;
@@ -2678,16 +2702,16 @@ class St {
2678
2702
  * from the backend
2679
2703
  */
2680
2704
  static async loadFor(t) {
2681
- const { nova: o, cellId: r } = t, [i, n] = await Promise.all([
2705
+ const { nova: o, cellId: i } = t, [r, n] = await Promise.all([
2682
2706
  // Fetch coord systems so user can select between them
2683
2707
  o.api.controller.listCoordinateSystems(
2684
- r,
2708
+ i,
2685
2709
  t.motionStream.controllerId,
2686
2710
  "ROTATION_VECTOR"
2687
2711
  ),
2688
2712
  // Same for TCPs and other info from description
2689
2713
  o.api.motionGroup.getMotionGroupDescription(
2690
- r,
2714
+ i,
2691
2715
  t.motionStream.controllerId,
2692
2716
  t.motionGroupId
2693
2717
  )
@@ -2699,9 +2723,9 @@ class St {
2699
2723
  position: d.pose.position,
2700
2724
  orientation: d.pose.orientation
2701
2725
  }));
2702
- return new St(
2726
+ return new wt(
2703
2727
  t,
2704
- i || [],
2728
+ r || [],
2705
2729
  n,
2706
2730
  s,
2707
2731
  c.inverse_solver
@@ -2713,7 +2737,7 @@ class St {
2713
2737
  this.jogger.dispose();
2714
2738
  }
2715
2739
  get coordSystemCountByName() {
2716
- return Te(this.coordSystems, (t) => t.name);
2740
+ return Ie(this.coordSystems, (t) => t.name);
2717
2741
  }
2718
2742
  async deactivate() {
2719
2743
  this.jogger.mode === "jogging" && await this.jogger.setJoggingMode("off");
@@ -2726,7 +2750,7 @@ class St {
2726
2750
  }), this.activeDiscreteIncrement ? this.jogger.setJoggingMode("trajectory") : this.jogger.setJoggingMode("jogging")) : this.jogger.setJoggingMode("jogging"), this.jogger;
2727
2751
  }
2728
2752
  loadFromLocalStorage() {
2729
- const t = W(localStorage.getItem("joggingToolStore"));
2753
+ const t = G(localStorage.getItem("joggingToolStore"));
2730
2754
  t && (this.tabsById[t.selectedTabId] && (this.selectedTabId = t.selectedTabId), this.coordSystemsById[t.selectedCoordSystemId] && (this.selectedCoordSystemId = t.selectedCoordSystemId), this.incrementOptionsById[t.selectedIncrementId] && (this.selectedIncrementId = t.selectedIncrementId), ["translate", "rotate"].includes(t.selectedCartesianMotionType) && (this.selectedCartesianMotionType = t.selectedCartesianMotionType), ["coordsys", "tool"].includes(t.selectedOrientation) && (this.selectedOrientation = t.selectedOrientation));
2731
2755
  }
2732
2756
  saveToLocalStorage() {
@@ -2760,16 +2784,16 @@ class St {
2760
2784
  }), t;
2761
2785
  }
2762
2786
  get incrementOptions() {
2763
- return Po;
2787
+ return Fo;
2764
2788
  }
2765
2789
  get discreteIncrementOptions() {
2766
- return mt;
2790
+ return ft;
2767
2791
  }
2768
2792
  get incrementOptionsById() {
2769
- return rt(this.incrementOptions, (t) => t.id);
2793
+ return st(this.incrementOptions, (t) => t.id);
2770
2794
  }
2771
2795
  get tabsById() {
2772
- return rt(this.tabs, (t) => t.id);
2796
+ return st(this.tabs, (t) => t.id);
2773
2797
  }
2774
2798
  get currentTab() {
2775
2799
  return this.tabsById[this.selectedTabId] || this.tabs[0];
@@ -2778,7 +2802,7 @@ class St {
2778
2802
  return this.tabs.indexOf(this.currentTab);
2779
2803
  }
2780
2804
  get coordSystemsById() {
2781
- return rt(this.coordSystems, (t) => t.coordinate_system);
2805
+ return st(this.coordSystems, (t) => t.coordinate_system);
2782
2806
  }
2783
2807
  /**
2784
2808
  * The id of the coordinate system to use for jogging.
@@ -2789,10 +2813,10 @@ class St {
2789
2813
  return this.selectedOrientation === "tool" ? "tool" : this.selectedCoordSystemId;
2790
2814
  }
2791
2815
  get tcpsById() {
2792
- return rt(this.tcps, (t) => t.id);
2816
+ return st(this.tcps, (t) => t.id);
2793
2817
  }
2794
2818
  get activeDiscreteIncrement() {
2795
- return this.selectedOrientation === "tool" ? void 0 : mt.find((t) => t.id === this.selectedIncrementId);
2819
+ return this.selectedOrientation === "tool" ? void 0 : ft.find((t) => t.id === this.selectedIncrementId);
2796
2820
  }
2797
2821
  /** The selected rotation velocity converted to radians per second */
2798
2822
  get rotationVelocityRadsPerSec() {
@@ -2811,8 +2835,8 @@ class St {
2811
2835
  return t ? this.maxRotationVelocityDegPerSec : this.maxTranslationVelocityMmPerSec;
2812
2836
  }
2813
2837
  onTabChange(t, o) {
2814
- const r = this.tabs[o] || this.tabs[0];
2815
- this.selectedTabId = r.id;
2838
+ const i = this.tabs[o] || this.tabs[0];
2839
+ this.selectedTabId = i.id;
2816
2840
  }
2817
2841
  setSelectedCoordSystemId(t) {
2818
2842
  this.selectedCoordSystemId = t;
@@ -2838,18 +2862,18 @@ class St {
2838
2862
  async requestTcpChange(t) {
2839
2863
  if (t === this.selectedTcpId) return;
2840
2864
  this.tcpChangeInProgress = !0;
2841
- const o = this.jogger.tcp, r = this.jogger.mode !== "jogging";
2865
+ const o = this.jogger.tcp, i = this.jogger.mode !== "jogging";
2842
2866
  try {
2843
- this.jogger.tcp = t, r ? await this.jogger.setJoggingMode("jogging") : await this.jogger.setJoggingMode("jogging", !1);
2844
- let i = await this.waitForTcpConfirmation(t, 1e3);
2845
- r && await this.jogger.setJoggingMode("off"), i || (i = await this.waitForTcpConfirmation(t, 2e3)), D(() => {
2846
- i ? this.selectedTcpId = t : (this.jogger.tcp = o, this.selectedTcpId = this.jogger.motionStream.rapidlyChangingMotionState.tcp ?? "");
2867
+ this.jogger.tcp = t, i ? await this.jogger.setJoggingMode("jogging") : await this.jogger.setJoggingMode("jogging", !1);
2868
+ let r = await this.waitForTcpConfirmation(t, 1e3);
2869
+ i && await this.jogger.setJoggingMode("off"), r || (r = await this.waitForTcpConfirmation(t, 2e3)), D(() => {
2870
+ r ? this.selectedTcpId = t : (this.jogger.tcp = o, this.selectedTcpId = this.jogger.motionStream.rapidlyChangingMotionState.tcp ?? "");
2847
2871
  });
2848
- } catch (i) {
2849
- throw r && await this.jogger.setJoggingMode("off").catch(() => {
2872
+ } catch (r) {
2873
+ throw i && await this.jogger.setJoggingMode("off").catch(() => {
2850
2874
  }), D(() => {
2851
2875
  this.jogger.tcp = o, this.selectedTcpId = this.jogger.motionStream.rapidlyChangingMotionState.tcp ?? "";
2852
- }), i;
2876
+ }), r;
2853
2877
  } finally {
2854
2878
  D(() => {
2855
2879
  this.tcpChangeInProgress = !1;
@@ -2857,13 +2881,13 @@ class St {
2857
2881
  }
2858
2882
  }
2859
2883
  waitForTcpConfirmation(t, o) {
2860
- return new Promise((r) => {
2861
- const i = setTimeout(() => {
2862
- n(), r(!1);
2863
- }, o), n = lt(
2884
+ return new Promise((i) => {
2885
+ const r = setTimeout(() => {
2886
+ n(), i(!1);
2887
+ }, o), n = dt(
2864
2888
  () => this.jogger.motionStream.rapidlyChangingMotionState.tcp === t,
2865
2889
  () => {
2866
- clearTimeout(i), r(!0);
2890
+ clearTimeout(r), i(!0);
2867
2891
  }
2868
2892
  );
2869
2893
  });
@@ -2897,7 +2921,7 @@ class St {
2897
2921
  }
2898
2922
  /** Lock the UI until the given async callback resolves */
2899
2923
  async withMotionLock(t) {
2900
- const o = Ge();
2924
+ const o = $e();
2901
2925
  this.lock(o);
2902
2926
  try {
2903
2927
  return await t();
@@ -2906,10 +2930,10 @@ class St {
2906
2930
  }
2907
2931
  }
2908
2932
  }
2909
- const Oo = J(
2933
+ const $o = L(
2910
2934
  ({ store: e, useDegree: t }) => {
2911
2935
  var c;
2912
- const { t: o } = V(), r = ae(), i = [];
2936
+ const { t: o } = N(), i = le(), r = [];
2913
2937
  function n(s) {
2914
2938
  switch (s) {
2915
2939
  case "coordsys":
@@ -2920,26 +2944,26 @@ const Oo = J(
2920
2944
  return s;
2921
2945
  }
2922
2946
  }
2923
- return e.showCoordSystemSelect && i.push(
2947
+ return e.showCoordSystemSelect && r.push(
2924
2948
  /* @__PURE__ */ a(
2925
- at,
2949
+ lt,
2926
2950
  {
2927
- labelId: `jogging-coord-select-${r}`,
2951
+ labelId: `jogging-coord-select-${i}`,
2928
2952
  labelValue: o("Jogging.CoordinateSystem.hlb"),
2929
2953
  value: e.selectedCoordSystemId,
2930
2954
  size: "small",
2931
2955
  variant: "filled",
2932
2956
  displayEmpty: !0,
2933
2957
  onChange: (s) => e.setSelectedCoordSystemId(s.target.value),
2934
- children: e.coordSystems.map((s) => /* @__PURE__ */ a(Z, { value: s.coordinate_system, children: s.name && e.coordSystemCountByName[s.name] > 1 ? `${s.name} / ${s.coordinate_system}` : s.name || s.coordinate_system }, s.coordinate_system))
2958
+ children: e.coordSystems.map((s) => /* @__PURE__ */ a(X, { value: s.coordinate_system, children: s.name && e.coordSystemCountByName[s.name] > 1 ? `${s.name} / ${s.coordinate_system}` : s.name || s.coordinate_system }, s.coordinate_system))
2935
2959
  },
2936
2960
  "coord"
2937
2961
  )
2938
- ), e.showTcpSelect && i.push(
2962
+ ), e.showTcpSelect && r.push(
2939
2963
  /* @__PURE__ */ a(
2940
- at,
2964
+ lt,
2941
2965
  {
2942
- labelId: `jogging-tcp-select-${r}`,
2966
+ labelId: `jogging-tcp-select-${i}`,
2943
2967
  labelValue: "TCP",
2944
2968
  value: e.selectedTcpId,
2945
2969
  size: "small",
@@ -2951,29 +2975,29 @@ const Oo = J(
2951
2975
  });
2952
2976
  },
2953
2977
  disabled: e.tcpChangeInProgress,
2954
- endAdornment: e.tcpChangeInProgress ? /* @__PURE__ */ a(ze, { position: "end", children: /* @__PURE__ */ a(Ut, { size: 16 }) }) : void 0,
2955
- children: e.tcps.map((s) => /* @__PURE__ */ a(Z, { value: s.id, children: s.id }, s.id))
2978
+ endAdornment: e.tcpChangeInProgress ? /* @__PURE__ */ a(Je, { position: "end", children: /* @__PURE__ */ a(qt, { size: 16 }) }) : void 0,
2979
+ children: e.tcps.map((s) => /* @__PURE__ */ a(X, { value: s.id, children: s.id }, s.id))
2956
2980
  },
2957
2981
  "tcp"
2958
2982
  )
2959
- ), e.showOrientationSelect && i.push(
2983
+ ), e.showOrientationSelect && r.push(
2960
2984
  /* @__PURE__ */ a(
2961
- at,
2985
+ lt,
2962
2986
  {
2963
2987
  labelValue: o("Jogging.Cartesian.Orientation.lb"),
2964
- labelId: `orientation-select-${r}`,
2988
+ labelId: `orientation-select-${i}`,
2965
2989
  value: e.selectedOrientation,
2966
2990
  onChange: (s) => e.setSelectedOrientation(s.target.value),
2967
- children: _o.map((s) => /* @__PURE__ */ a(Z, { value: s, children: n(s) }, s))
2991
+ children: Bo.map((s) => /* @__PURE__ */ a(X, { value: s, children: n(s) }, s))
2968
2992
  },
2969
2993
  "orientation"
2970
2994
  )
2971
- ), e.showIncrementSelect && i.push(
2995
+ ), e.showIncrementSelect && r.push(
2972
2996
  /* @__PURE__ */ S(
2973
- at,
2997
+ lt,
2974
2998
  {
2975
2999
  labelValue: o("Jogging.Increment.hlb"),
2976
- labelId: `jogging-increment-select-${r}`,
3000
+ labelId: `jogging-increment-select-${i}`,
2977
3001
  size: "small",
2978
3002
  variant: "filled",
2979
3003
  value: ((c = e.activeDiscreteIncrement) == null ? void 0 : c.id) || "continuous",
@@ -2981,14 +3005,14 @@ const Oo = J(
2981
3005
  s.target.value
2982
3006
  ),
2983
3007
  children: [
2984
- /* @__PURE__ */ a(Z, { value: "continuous", children: o("Jogging.Increment.Continuous.dd") }, "continuous"),
2985
- e.selectedOrientation === "tool" ? null : e.discreteIncrementOptions.map((s) => /* @__PURE__ */ a(Z, { value: s.id, children: t ? `${s.degrees}°` : `${s.mm}mm` }, s.id))
3008
+ /* @__PURE__ */ a(X, { value: "continuous", children: o("Jogging.Increment.Continuous.dd") }, "continuous"),
3009
+ e.selectedOrientation === "tool" ? null : e.discreteIncrementOptions.map((s) => /* @__PURE__ */ a(X, { value: s.id, children: t ? `${s.degrees}°` : `${s.mm}mm` }, s.id))
2986
3010
  ]
2987
3011
  },
2988
3012
  "increment"
2989
3013
  )
2990
3014
  ), /* @__PURE__ */ a(
2991
- T,
3015
+ M,
2992
3016
  {
2993
3017
  component: "div",
2994
3018
  "data-testid": "jogging-options",
@@ -3000,11 +3024,11 @@ const Oo = J(
3000
3024
  gridAutoRows: "min-content",
3001
3025
  "& label": { opacity: 0.7, fontSize: "12px", marginBottom: "4px" }
3002
3026
  },
3003
- children: i.map((s, l) => /* @__PURE__ */ a(
3004
- T,
3027
+ children: r.map((s, l) => /* @__PURE__ */ a(
3028
+ M,
3005
3029
  {
3006
3030
  sx: {
3007
- gridColumn: i.length % 2 === 1 && l === i.length - 1 ? "span 2" : "auto"
3031
+ gridColumn: r.length % 2 === 1 && l === r.length - 1 ? "span 2" : "auto"
3008
3032
  },
3009
3033
  children: s
3010
3034
  },
@@ -3013,7 +3037,7 @@ const Oo = J(
3013
3037
  }
3014
3038
  );
3015
3039
  }
3016
- ), Do = dt(Ue)(({ theme: e }) => {
3040
+ ), zo = gt(ze)(({ theme: e }) => {
3017
3041
  var t;
3018
3042
  return {
3019
3043
  "&.MuiToggleButtonGroup-root": {
@@ -3035,11 +3059,11 @@ const Oo = J(
3035
3059
  }
3036
3060
  }
3037
3061
  };
3038
- }), Ao = J((e) => {
3062
+ }), Vo = L((e) => {
3039
3063
  var n, c, s;
3040
- const t = B(), { store: o } = e, { t: r } = V();
3041
- function i(l, d) {
3042
- d === e.velocity || !He(d) || e.onVelocityChange(d, e.useDegree);
3064
+ const t = B(), { store: o } = e, { t: i } = N();
3065
+ function r(l, d) {
3066
+ d === e.velocity || !Ve(d) || e.onVelocityChange(d, e.useDegree);
3043
3067
  }
3044
3068
  return /* @__PURE__ */ S(
3045
3069
  _,
@@ -3057,15 +3081,15 @@ const Oo = J(
3057
3081
  color: (s = (c = (n = t.componentsExt) == null ? void 0 : n.JoggingPanel) == null ? void 0 : c.VelocitySlider) == null ? void 0 : s.sliderLegendColor,
3058
3082
  fontSize: "14px"
3059
3083
  },
3060
- children: r("Jogging.Velocity.bt")
3084
+ children: i("Jogging.Velocity.bt")
3061
3085
  }
3062
3086
  ),
3063
3087
  /* @__PURE__ */ a(
3064
- Ht,
3088
+ Yt,
3065
3089
  {
3066
3090
  value: e.velocity,
3067
3091
  color: "secondary",
3068
- onChange: i,
3092
+ onChange: r,
3069
3093
  min: e.min,
3070
3094
  max: e.max,
3071
3095
  "aria-labelledby": "input-slider",
@@ -3079,13 +3103,13 @@ const Oo = J(
3079
3103
  }
3080
3104
  }
3081
3105
  ),
3082
- o.showVelocitySliderLabel && (e.renderValue ? e.renderValue(e.velocity) : /* @__PURE__ */ a(Qt, { value: e.velocity.toString() }))
3106
+ o.showVelocitySliderLabel && (e.renderValue ? e.renderValue(e.velocity) : /* @__PURE__ */ a(Kt, { value: e.velocity.toString() }))
3083
3107
  ]
3084
3108
  }
3085
3109
  );
3086
3110
  });
3087
- function Qt({ value: e, sx: t }) {
3088
- var r;
3111
+ function Kt({ value: e, sx: t }) {
3112
+ var i;
3089
3113
  const o = B();
3090
3114
  return /* @__PURE__ */ a(
3091
3115
  _,
@@ -3096,7 +3120,7 @@ function Qt({ value: e, sx: t }) {
3096
3120
  gap: "5px",
3097
3121
  sx: {
3098
3122
  padding: "6px 12px",
3099
- background: (r = o.palette.backgroundPaperElevation) == null ? void 0 : r[8],
3123
+ background: (i = o.palette.backgroundPaperElevation) == null ? void 0 : i[8],
3100
3124
  borderRadius: "10px",
3101
3125
  minWidth: "111px",
3102
3126
  ...t
@@ -3118,14 +3142,14 @@ function Qt({ value: e, sx: t }) {
3118
3142
  }
3119
3143
  );
3120
3144
  }
3121
- const Xt = J(
3145
+ const te = L(
3122
3146
  ({ store: e, useDegree: t }) => {
3123
- const { t: o } = V();
3124
- function r(i, n) {
3125
- return n ? `ω = ${o("Jogging.Cartesian.Rotation.velocityDegPerSec.lb", { amount: i })}` : `v = ${o("Jogging.Cartesian.Translation.velocityMmPerSec.lb", { amount: i })}`;
3147
+ const { t: o } = N();
3148
+ function i(r, n) {
3149
+ return n ? `ω = ${o("Jogging.Cartesian.Rotation.velocityDegPerSec.lb", { amount: r })}` : `v = ${o("Jogging.Cartesian.Translation.velocityMmPerSec.lb", { amount: r })}`;
3126
3150
  }
3127
3151
  return /* @__PURE__ */ a(
3128
- Ao,
3152
+ Vo,
3129
3153
  {
3130
3154
  store: e,
3131
3155
  velocity: e.velocityInDisplayUnits(t),
@@ -3134,10 +3158,10 @@ const Xt = J(
3134
3158
  onVelocityChange: e.setVelocityFromSlider,
3135
3159
  useDegree: t,
3136
3160
  disabled: e.isLocked,
3137
- renderValue: (i) => /* @__PURE__ */ a(
3138
- Qt,
3161
+ renderValue: (r) => /* @__PURE__ */ a(
3162
+ Kt,
3139
3163
  {
3140
- value: r(i, t),
3164
+ value: i(r, t),
3141
3165
  sx: {
3142
3166
  minWidth: "111px",
3143
3167
  span: {
@@ -3149,11 +3173,11 @@ const Xt = J(
3149
3173
  }
3150
3174
  );
3151
3175
  }
3152
- ), Kt = J(({ store: e }) => {
3153
- var i, n, c;
3154
- const { t } = V(), o = B(), r = ((c = (n = (i = e.jogger.motionStream.rapidlyChangingMotionState.execute) == null ? void 0 : i.details) == null ? void 0 : n.state) == null ? void 0 : c.kind) ?? "KIND_UNKNOWN";
3176
+ ), ee = L(({ store: e }) => {
3177
+ var r, n, c;
3178
+ const { t } = N(), o = B(), i = ((c = (n = (r = e.jogger.motionStream.rapidlyChangingMotionState.execute) == null ? void 0 : r.details) == null ? void 0 : n.state) == null ? void 0 : c.kind) ?? "KIND_UNKNOWN";
3155
3179
  return /* @__PURE__ */ S(
3156
- T,
3180
+ M,
3157
3181
  {
3158
3182
  sx: {
3159
3183
  display: "flex",
@@ -3183,20 +3207,20 @@ const Xt = J(
3183
3207
  // Smaller than body2
3184
3208
  lineHeight: 1.2
3185
3209
  },
3186
- "data-testid": r,
3187
- children: t(`Jogging.StreamStateSection.${r}.lb`)
3210
+ "data-testid": i,
3211
+ children: t(`Jogging.StreamStateSection.${i}.lb`)
3188
3212
  }
3189
3213
  )
3190
3214
  ]
3191
3215
  }
3192
3216
  );
3193
- }), Jo = J(
3217
+ }), No = L(
3194
3218
  ({
3195
3219
  store: e,
3196
3220
  children: t
3197
3221
  }) => {
3198
- const { t: o } = V(), r = B();
3199
- function i(p, u) {
3222
+ const { t: o } = N(), i = B();
3223
+ function r(p, u) {
3200
3224
  (u === "translate" || u === "rotate") && e.setSelectedCartesianMotionType(u);
3201
3225
  }
3202
3226
  async function n(p, u) {
@@ -3218,7 +3242,7 @@ const Xt = J(
3218
3242
  distanceMm: u.mm
3219
3243
  } : {
3220
3244
  type: "rotate",
3221
- distanceRads: Re(u.degrees)
3245
+ distanceRads: je(u.degrees)
3222
3246
  }
3223
3247
  });
3224
3248
  } finally {
@@ -3253,18 +3277,18 @@ const Xt = J(
3253
3277
  const d = [
3254
3278
  {
3255
3279
  id: "x",
3256
- icon: /* @__PURE__ */ a(Ae, {}),
3257
- colors: l("X", e.selectedCartesianMotionType, r)
3280
+ icon: /* @__PURE__ */ a(jo, {}),
3281
+ colors: l("X", e.selectedCartesianMotionType, i)
3258
3282
  },
3259
3283
  {
3260
3284
  id: "y",
3261
- icon: /* @__PURE__ */ a(Je, {}),
3262
- colors: l("Y", e.selectedCartesianMotionType, r)
3285
+ icon: /* @__PURE__ */ a(_o, {}),
3286
+ colors: l("Y", e.selectedCartesianMotionType, i)
3263
3287
  },
3264
3288
  {
3265
3289
  id: "z",
3266
- icon: /* @__PURE__ */ a(Fe, {}),
3267
- colors: l("Z", e.selectedCartesianMotionType, r)
3290
+ icon: /* @__PURE__ */ a(Oo, {}),
3291
+ colors: l("Z", e.selectedCartesianMotionType, i)
3268
3292
  }
3269
3293
  ];
3270
3294
  function m(p) {
@@ -3272,7 +3296,7 @@ const Xt = J(
3272
3296
  }
3273
3297
  function g(p) {
3274
3298
  return o("General.degree.variable", {
3275
- amount: Gt(p).toFixed(1)
3299
+ amount: Ut(p).toFixed(1)
3276
3300
  });
3277
3301
  }
3278
3302
  return /* @__PURE__ */ S(
@@ -3286,14 +3310,14 @@ const Xt = J(
3286
3310
  children: [
3287
3311
  /* @__PURE__ */ S(_, { gap: 2, children: [
3288
3312
  /* @__PURE__ */ a(
3289
- Oo,
3313
+ $o,
3290
3314
  {
3291
3315
  store: e,
3292
3316
  useDegree: e.selectedCartesianMotionType === "rotate"
3293
3317
  }
3294
3318
  ),
3295
3319
  /* @__PURE__ */ a(
3296
- Xt,
3320
+ te,
3297
3321
  {
3298
3322
  store: e,
3299
3323
  useDegree: e.selectedCartesianMotionType === "rotate"
@@ -3318,37 +3342,37 @@ const Xt = J(
3318
3342
  sx: { flexGrow: 1 },
3319
3343
  children: [
3320
3344
  /* @__PURE__ */ S(
3321
- Do,
3345
+ zo,
3322
3346
  {
3323
3347
  value: e.selectedCartesianMotionType,
3324
- onChange: i,
3348
+ onChange: r,
3325
3349
  exclusive: !0,
3326
3350
  "aria-label": o("Jogging.Cartesian.MotionType.lb"),
3327
3351
  sx: { justifyContent: "center" },
3328
3352
  children: [
3329
- /* @__PURE__ */ a(_t, { value: "translate", children: o("Jogging.Cartesian.Translation.bt") }),
3330
- /* @__PURE__ */ a(_t, { value: "rotate", children: o("Jogging.Cartesian.Rotation.bt") })
3353
+ /* @__PURE__ */ a(Ot, { value: "translate", children: o("Jogging.Cartesian.Translation.bt") }),
3354
+ /* @__PURE__ */ a(Ot, { value: "rotate", children: o("Jogging.Cartesian.Rotation.bt") })
3331
3355
  ]
3332
3356
  }
3333
3357
  ),
3334
3358
  e.selectedCartesianMotionType === "translate" && d.map((p) => {
3335
3359
  var u, b;
3336
3360
  return /* @__PURE__ */ a(
3337
- At,
3361
+ Lt,
3338
3362
  {
3339
3363
  "data-testid": `jogging-cartesian-axis-control-${p.id}`,
3340
3364
  "aria-label": `jogging-cartesian-axis-control-${p.id}`,
3341
3365
  colors: p.colors,
3342
3366
  disabled: e.isLocked,
3343
3367
  activeJoggingDirection: ((u = e.incrementJogInProgress) == null ? void 0 : u.axis) === p.id ? e.incrementJogInProgress.direction : void 0,
3344
- label: /* @__PURE__ */ S(nt, { children: [
3368
+ label: /* @__PURE__ */ S(rt, { children: [
3345
3369
  p.icon,
3346
3370
  /* @__PURE__ */ a(
3347
3371
  R,
3348
3372
  {
3349
3373
  sx: {
3350
3374
  fontSize: "24px",
3351
- color: ((b = p.colors) == null ? void 0 : b.labelColor) ?? r.palette.text.primary
3375
+ color: ((b = p.colors) == null ? void 0 : b.labelColor) ?? i.palette.text.primary
3352
3376
  },
3353
3377
  children: p.id.toUpperCase()
3354
3378
  }
@@ -3357,7 +3381,7 @@ const Xt = J(
3357
3381
  getDisplayedValue: () => {
3358
3382
  var y, x;
3359
3383
  return m(
3360
- ((x = (y = e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose) == null ? void 0 : y.position) == null ? void 0 : x[ot[p.id]]) || 0
3384
+ ((x = (y = e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose) == null ? void 0 : y.position) == null ? void 0 : x[it[p.id]]) || 0
3361
3385
  );
3362
3386
  },
3363
3387
  startJogging: (y) => c({
@@ -3373,21 +3397,21 @@ const Xt = J(
3373
3397
  e.selectedCartesianMotionType === "rotate" && d.map((p) => {
3374
3398
  var u, b;
3375
3399
  return /* @__PURE__ */ a(
3376
- At,
3400
+ Lt,
3377
3401
  {
3378
3402
  "data-testid": `jogging-cartesian-axis-control-${p.id}`,
3379
3403
  "aria-label": `jogging-cartesian-axis-control-${p.id}`,
3380
3404
  colors: p.colors,
3381
3405
  disabled: e.isLocked,
3382
3406
  activeJoggingDirection: ((u = e.incrementJogInProgress) == null ? void 0 : u.axis) === p.id ? e.incrementJogInProgress.direction : void 0,
3383
- label: /* @__PURE__ */ S(nt, { children: [
3384
- /* @__PURE__ */ a(Be, {}),
3407
+ label: /* @__PURE__ */ S(rt, { children: [
3408
+ /* @__PURE__ */ a(Jo, {}),
3385
3409
  /* @__PURE__ */ a(
3386
3410
  R,
3387
3411
  {
3388
3412
  sx: {
3389
3413
  fontSize: "24px",
3390
- color: ((b = p.colors) == null ? void 0 : b.labelColor) ?? r.palette.text.primary
3414
+ color: ((b = p.colors) == null ? void 0 : b.labelColor) ?? i.palette.text.primary
3391
3415
  },
3392
3416
  children: p.id.toUpperCase()
3393
3417
  }
@@ -3396,7 +3420,7 @@ const Xt = J(
3396
3420
  getDisplayedValue: () => {
3397
3421
  var y, x;
3398
3422
  return g(
3399
- ((x = (y = e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose) == null ? void 0 : y.orientation) == null ? void 0 : x[ot[p.id]]) || 0
3423
+ ((x = (y = e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose) == null ? void 0 : y.orientation) == null ? void 0 : x[it[p.id]]) || 0
3400
3424
  );
3401
3425
  },
3402
3426
  startJogging: (y) => c({
@@ -3414,27 +3438,27 @@ const Xt = J(
3414
3438
  )
3415
3439
  }
3416
3440
  ),
3417
- /* @__PURE__ */ a(Zt, { store: e }),
3441
+ /* @__PURE__ */ a(Xt, { store: e }),
3418
3442
  /* @__PURE__ */ a(U, {}),
3419
- /* @__PURE__ */ a(Kt, { store: e }),
3443
+ /* @__PURE__ */ a(ee, { store: e }),
3420
3444
  t && /* @__PURE__ */ a(U, {}),
3421
3445
  t
3422
3446
  ]
3423
3447
  }
3424
3448
  );
3425
3449
  }
3426
- ), Fo = J(
3450
+ ), Wo = L(
3427
3451
  ({ store: e, children: t }) => {
3428
3452
  const o = B();
3429
- async function r(n) {
3453
+ async function i(n) {
3430
3454
  await e.activate(), await e.jogger.rotateJoints({
3431
3455
  joint: n.joint,
3432
3456
  direction: n.direction,
3433
- velocityUnit: e.jointType === G.PrismaticJoint ? "mm/s" : "rad/s",
3434
- velocityValue: e.jointType === G.PrismaticJoint ? e.translationVelocityMmPerSec : e.rotationVelocityRadsPerSec
3457
+ velocityUnit: e.jointType === H.PrismaticJoint ? "mm/s" : "rad/s",
3458
+ velocityValue: e.jointType === H.PrismaticJoint ? e.translationVelocityMmPerSec : e.rotationVelocityRadsPerSec
3435
3459
  });
3436
3460
  }
3437
- async function i() {
3461
+ async function r() {
3438
3462
  await e.jogger.stop(), await e.deactivate();
3439
3463
  }
3440
3464
  return /* @__PURE__ */ S(
@@ -3447,10 +3471,10 @@ const Xt = J(
3447
3471
  sx: { padding: "18px 24px" },
3448
3472
  children: [
3449
3473
  /* @__PURE__ */ a(
3450
- Xt,
3474
+ te,
3451
3475
  {
3452
3476
  store: e,
3453
- useDegree: e.jointType === G.RevoluteJoint
3477
+ useDegree: e.jointType === H.RevoluteJoint
3454
3478
  }
3455
3479
  ),
3456
3480
  /* @__PURE__ */ a(U, {}),
@@ -3494,16 +3518,16 @@ const Xt = J(
3494
3518
  disabled: e.isLocked,
3495
3519
  lowerLimit: c == null ? void 0 : c.lower_limit,
3496
3520
  upperLimit: c == null ? void 0 : c.upper_limit,
3497
- useDegree: e.jointType === G.RevoluteJoint,
3521
+ useDegree: e.jointType === H.RevoluteJoint,
3498
3522
  getValue: () => {
3499
3523
  const m = e.jogger.motionStream.rapidlyChangingMotionState.joint_position[n.index];
3500
3524
  return m !== void 0 ? m : void 0;
3501
3525
  },
3502
- startJogging: (m) => r({
3526
+ startJogging: (m) => i({
3503
3527
  joint: n.index,
3504
3528
  direction: m
3505
3529
  }),
3506
- stopJogging: i
3530
+ stopJogging: r
3507
3531
  }
3508
3532
  )
3509
3533
  ]
@@ -3515,50 +3539,50 @@ const Xt = J(
3515
3539
  )
3516
3540
  }
3517
3541
  ),
3518
- /* @__PURE__ */ a(Zt, { store: e }),
3542
+ /* @__PURE__ */ a(Xt, { store: e }),
3519
3543
  /* @__PURE__ */ a(U, {}),
3520
- /* @__PURE__ */ a(Kt, { store: e }),
3544
+ /* @__PURE__ */ a(ee, { store: e }),
3521
3545
  t && /* @__PURE__ */ a(U, {}),
3522
3546
  t
3523
3547
  ]
3524
3548
  }
3525
3549
  );
3526
3550
  }
3527
- ), Ti = z(
3528
- J((e) => {
3529
- const t = Ie(e.nova) ? new ve({ instanceUrl: e.nova }) : e.nova, o = zt(() => ({
3551
+ ), _i = V(
3552
+ L((e) => {
3553
+ const t = ke(e.nova) ? new Ce({ instanceUrl: e.nova }) : e.nova, o = Nt(() => ({
3530
3554
  joggingStore: null,
3531
3555
  loadingError: null
3532
3556
  }));
3533
- async function r() {
3557
+ async function i() {
3534
3558
  D(() => {
3535
3559
  o.loadingError = null, o.joggingStore = null;
3536
3560
  });
3537
3561
  try {
3538
- let i = e.store;
3539
- if (!i) {
3540
- const n = await yt.open(
3562
+ let r = e.store;
3563
+ if (!r) {
3564
+ const n = await vt.open(
3541
3565
  t,
3542
3566
  e.motionGroupId,
3543
3567
  {
3544
3568
  cellId: e.cellId
3545
3569
  }
3546
3570
  );
3547
- i = await St.loadFor(n);
3571
+ r = await wt.loadFor(n);
3548
3572
  }
3549
3573
  D(() => {
3550
- o.joggingStore = i;
3551
- }), e.onSetup && e.onSetup(i);
3552
- } catch (i) {
3553
- o.loadingError = i;
3574
+ o.joggingStore = r;
3575
+ }), e.onSetup && e.onSetup(r);
3576
+ } catch (r) {
3577
+ o.loadingError = r;
3554
3578
  }
3555
3579
  }
3556
- return F(() => (r(), e.store ? () => null : () => {
3557
- var i;
3558
- (i = o.joggingStore) == null || i.dispose();
3580
+ return F(() => (i(), e.store ? () => null : () => {
3581
+ var r;
3582
+ (r = o.joggingStore) == null || r.dispose();
3559
3583
  }), [e.store, e.nova, e.motionGroupId, e.cellId]), F(() => {
3560
- const i = o.joggingStore;
3561
- i && (e.locked ? i.lock("external") : i.unlock("external"));
3584
+ const r = o.joggingStore;
3585
+ r && (e.locked ? r.lock("external") : r.unlock("external"));
3562
3586
  }, [o.joggingStore, e.locked]), /* @__PURE__ */ a(
3563
3587
  _,
3564
3588
  {
@@ -3570,46 +3594,46 @@ const Xt = J(
3570
3594
  position: "relative",
3571
3595
  ...e.sx
3572
3596
  },
3573
- children: o.joggingStore ? /* @__PURE__ */ a(Bo, { store: o.joggingStore, children: e.children }) : /* @__PURE__ */ a(ko, { message: "Loading jogging", error: o.loadingError })
3597
+ children: o.joggingStore ? /* @__PURE__ */ a(Go, { store: o.joggingStore, children: e.children }) : /* @__PURE__ */ a(Io, { message: "Loading jogging", error: o.loadingError })
3574
3598
  }
3575
3599
  );
3576
3600
  })
3577
- ), Bo = J(
3601
+ ), Go = L(
3578
3602
  ({
3579
3603
  store: e,
3580
3604
  children: t
3581
3605
  }) => {
3582
- const { t: o } = V();
3583
- function r() {
3606
+ const { t: o } = N();
3607
+ function i() {
3584
3608
  if (e.currentTab.id === "cartesian")
3585
- return /* @__PURE__ */ a(Jo, { store: e, children: t });
3609
+ return /* @__PURE__ */ a(No, { store: e, children: t });
3586
3610
  if (e.currentTab.id === "joint")
3587
- return /* @__PURE__ */ a(Fo, { store: e, children: t });
3611
+ return /* @__PURE__ */ a(Wo, { store: e, children: t });
3588
3612
  }
3589
3613
  return /* @__PURE__ */ S(_, { flexGrow: 1, sx: { overflow: "hidden" }, children: [
3590
3614
  /* @__PURE__ */ a(
3591
- Wt,
3615
+ Ht,
3592
3616
  {
3593
3617
  "data-testid": "jogging-tabs",
3594
3618
  "aria-label": "jogging-tabs",
3595
3619
  value: e.tabIndex,
3596
3620
  onChange: e.onTabChange,
3597
3621
  variant: "fullWidth",
3598
- children: e.tabs.map((i) => {
3599
- const n = i.label === "Cartesian" ? o("Jogging.Cartesian.bt") : o("Jogging.Joints.bt"), c = i.label === "cartesian" ? /* @__PURE__ */ a(ye, { fontSize: "small", sx: { mr: 1 } }) : /* @__PURE__ */ a(Se, { fontSize: "small", sx: { mr: 1 } });
3622
+ children: e.tabs.map((r) => {
3623
+ const n = r.label === "Cartesian" ? o("Jogging.Cartesian.bt") : o("Jogging.Joints.bt"), c = r.label === "cartesian" ? /* @__PURE__ */ a(ve, { fontSize: "small", sx: { mr: 1 } }) : /* @__PURE__ */ a(we, { fontSize: "small", sx: { mr: 1 } });
3600
3624
  return /* @__PURE__ */ a(
3601
- Nt,
3625
+ Gt,
3602
3626
  {
3603
- "data-testid": `jogging-tab-${i.id}`,
3604
- "aria-label": `jogging-tab-${i.id}`,
3627
+ "data-testid": `jogging-tab-${r.id}`,
3628
+ "aria-label": `jogging-tab-${r.id}`,
3605
3629
  label: e.showTabIcons ? /* @__PURE__ */ S(_, { direction: "row", alignItems: "center", children: [
3606
3630
  c,
3607
3631
  n
3608
3632
  ] }) : n,
3609
- id: `jogging-tab-${i.id}`,
3610
- "aria-controls": `jogging-tab-${i.id}`
3633
+ id: `jogging-tab-${r.id}`,
3634
+ "aria-controls": `jogging-tab-${r.id}`
3611
3635
  },
3612
- i.id
3636
+ r.id
3613
3637
  );
3614
3638
  })
3615
3639
  }
@@ -3620,15 +3644,15 @@ const Xt = J(
3620
3644
  flexGrow: 1,
3621
3645
  position: "relative",
3622
3646
  sx: { overflowY: "auto", overflowX: "hidden" },
3623
- children: r()
3647
+ children: i()
3624
3648
  }
3625
3649
  ),
3626
- e.blocked && /* @__PURE__ */ a(jo, { store: e })
3650
+ e.blocked && /* @__PURE__ */ a(Ro, { store: e })
3627
3651
  ] });
3628
3652
  }
3629
- ), te = (e) => {
3653
+ ), oe = (e) => {
3630
3654
  var s;
3631
- const { value: t, ref: o } = e, r = B(), [i, n] = $(!1);
3655
+ const { value: t, ref: o } = e, i = B(), [r, n] = $(!1);
3632
3656
  async function c() {
3633
3657
  if (!o || !("current" in o))
3634
3658
  return console.warn("No copy target found"), !1;
@@ -3645,13 +3669,13 @@ const Xt = J(
3645
3669
  return !1;
3646
3670
  }
3647
3671
  return F(() => {
3648
- if (!i)
3672
+ if (!r)
3649
3673
  return;
3650
3674
  const l = setTimeout(() => n(!1), 3e3);
3651
3675
  return () => {
3652
3676
  l && clearTimeout(l);
3653
3677
  };
3654
- }, [i]), /* @__PURE__ */ a(Qe, { open: i, title: "Copied!", children: /* @__PURE__ */ a(
3678
+ }, [r]), /* @__PURE__ */ a(He, { open: r, title: "Copied!", children: /* @__PURE__ */ a(
3655
3679
  _,
3656
3680
  {
3657
3681
  justifyContent: "center",
@@ -3659,7 +3683,7 @@ const Xt = J(
3659
3683
  height: "100%",
3660
3684
  boxSizing: "border-box",
3661
3685
  padding: "6px 12px",
3662
- background: (s = r.palette.backgroundPaperElevation) == null ? void 0 : s[8],
3686
+ background: (s = i.palette.backgroundPaperElevation) == null ? void 0 : s[8],
3663
3687
  borderRadius: "10px",
3664
3688
  minWidth: "0",
3665
3689
  cursor: "pointer"
@@ -3673,7 +3697,7 @@ const Xt = J(
3673
3697
  sx: {
3674
3698
  pointerEvents: "none",
3675
3699
  fontSize: "12px",
3676
- color: r.palette.text.primary,
3700
+ color: i.palette.text.primary,
3677
3701
  whiteSpace: "nowrap",
3678
3702
  minWidth: 0,
3679
3703
  textOverflow: "ellipsis",
@@ -3685,9 +3709,9 @@ const Xt = J(
3685
3709
  )
3686
3710
  }
3687
3711
  ) });
3688
- }, Ii = z(
3689
- J(({ tcpPose: e, showCopyButton: t = !1 }) => {
3690
- const [o, r] = $(null), i = Ce(e);
3712
+ }, Ai = V(
3713
+ L(({ tcpPose: e, showCopyButton: t = !1 }) => {
3714
+ const [o, i] = $(null), r = Me(e);
3691
3715
  return /* @__PURE__ */ S(
3692
3716
  _,
3693
3717
  {
@@ -3697,18 +3721,18 @@ const Xt = J(
3697
3721
  sx: { flexGrow: 1, minWidth: 0, overflow: "hidden" },
3698
3722
  "data-testid": "pose-cartesian-values",
3699
3723
  children: [
3700
- /* @__PURE__ */ a(te, { value: i }),
3724
+ /* @__PURE__ */ a(oe, { value: r }),
3701
3725
  t && /* @__PURE__ */ a(
3702
- Q,
3726
+ K,
3703
3727
  {
3704
3728
  variant: "contained",
3705
3729
  color: "secondary",
3706
3730
  size: "small",
3707
3731
  onClick: async () => {
3708
3732
  try {
3709
- await navigator.clipboard.writeText(i), r("Copied!"), setTimeout(() => r(null), 2e3);
3733
+ await navigator.clipboard.writeText(r), i("Copied!"), setTimeout(() => i(null), 2e3);
3710
3734
  } catch {
3711
- r("Copy failed"), setTimeout(() => r(null), 2e3);
3735
+ i("Copy failed"), setTimeout(() => i(null), 2e3);
3712
3736
  }
3713
3737
  },
3714
3738
  sx: { flexShrink: 0 },
@@ -3719,9 +3743,9 @@ const Xt = J(
3719
3743
  }
3720
3744
  );
3721
3745
  })
3722
- ), Mi = z(
3723
- J(({ joints: e, showCopyButton: t = !1 }) => {
3724
- const [o, r] = $(null), i = `[${e.map((c) => parseFloat(c.toFixed(4))).join(", ")}]`;
3746
+ ), Oi = V(
3747
+ L(({ joints: e, showCopyButton: t = !1 }) => {
3748
+ const [o, i] = $(null), r = `[${e.map((c) => parseFloat(c.toFixed(4))).join(", ")}]`;
3725
3749
  return /* @__PURE__ */ S(
3726
3750
  _,
3727
3751
  {
@@ -3731,18 +3755,18 @@ const Xt = J(
3731
3755
  sx: { flexGrow: 1, minWidth: 0, overflow: "hidden" },
3732
3756
  "data-testid": "pose-joint-values",
3733
3757
  children: [
3734
- /* @__PURE__ */ a(te, { value: i }),
3758
+ /* @__PURE__ */ a(oe, { value: r }),
3735
3759
  t && /* @__PURE__ */ a(
3736
- Q,
3760
+ K,
3737
3761
  {
3738
3762
  variant: "contained",
3739
3763
  color: "secondary",
3740
3764
  size: "small",
3741
3765
  onClick: async () => {
3742
3766
  try {
3743
- await navigator.clipboard.writeText(i), r("Copied!"), setTimeout(() => r(null), 2e3);
3767
+ await navigator.clipboard.writeText(r), i("Copied!"), setTimeout(() => i(null), 2e3);
3744
3768
  } catch {
3745
- r("Copy failed"), setTimeout(() => r(null), 2e3);
3769
+ i("Copy failed"), setTimeout(() => i(null), 2e3);
3746
3770
  }
3747
3771
  },
3748
3772
  sx: { flexShrink: 0 },
@@ -3754,16 +3778,16 @@ const Xt = J(
3754
3778
  );
3755
3779
  })
3756
3780
  );
3757
- class $o {
3781
+ class Ho {
3758
3782
  constructor() {
3759
3783
  this.messages = [], this.addMessage = (t, o = "info") => {
3760
- const r = {
3784
+ const i = {
3761
3785
  id: Math.random().toString(36).substring(2, 11),
3762
3786
  timestamp: /* @__PURE__ */ new Date(),
3763
3787
  message: t,
3764
3788
  level: o
3765
3789
  };
3766
- this.messages.push(r);
3790
+ this.messages.push(i);
3767
3791
  }, this.clearMessages = () => {
3768
3792
  this.messages = [];
3769
3793
  }, this.addInfo = (t) => {
@@ -3774,22 +3798,22 @@ class $o {
3774
3798
  this.addMessage(t, "error");
3775
3799
  }, this.addDebug = (t) => {
3776
3800
  this.addMessage(t, "debug");
3777
- }, Me(this, {
3778
- messages: ke,
3779
- addMessage: Pt,
3780
- clearMessages: Pt
3801
+ }, Re(this, {
3802
+ messages: Ee,
3803
+ addMessage: At,
3804
+ clearMessages: At
3781
3805
  });
3782
3806
  }
3783
3807
  }
3784
- const ut = (e, t, o) => ({
3808
+ const pt = (e, t, o) => ({
3785
3809
  id: o || `${Date.now()}-${Math.random().toString(36).substring(2, 11)}`,
3786
3810
  timestamp: /* @__PURE__ */ new Date(),
3787
3811
  message: e,
3788
3812
  level: t
3789
- }), ki = (e, t) => ut(e, "debug", t), Ri = (e, t) => ut(e, "info", t), ji = (e, t) => ut(e, "warning", t), Ei = (e, t) => ut(e, "error", t), Lo = z(
3790
- J((e) => {
3813
+ }), Di = (e, t) => pt(e, "debug", t), Ji = (e, t) => pt(e, "info", t), Li = (e, t) => pt(e, "warning", t), Fi = (e, t) => pt(e, "error", t), Uo = V(
3814
+ L((e) => {
3791
3815
  var m;
3792
- const { messages: t = [], onClear: o, height: r = 400, sx: i } = e, n = B(), c = A(null);
3816
+ const { messages: t = [], onClear: o, height: i = 400, sx: r } = e, n = B(), c = J(null);
3793
3817
  F(() => {
3794
3818
  if (t.length === 0) return;
3795
3819
  const g = c.current;
@@ -3821,12 +3845,12 @@ const ut = (e, t, o) => ({
3821
3845
  const [p, u] = $(!1), [b, y] = $(!1), [x, h] = $(!1), v = g.message.length > 150, f = async () => {
3822
3846
  try {
3823
3847
  await navigator.clipboard.writeText(g.message), y(!0), setTimeout(() => y(!1), 2e3);
3824
- } catch (C) {
3825
- console.error("Failed to copy message:", C);
3848
+ } catch (w) {
3849
+ console.error("Failed to copy message:", w);
3826
3850
  }
3827
- }, w = v && !p ? `${g.message.substring(0, 150)}...` : g.message;
3851
+ }, C = v && !p ? `${g.message.substring(0, 150)}...` : g.message;
3828
3852
  return /* @__PURE__ */ a(
3829
- T,
3853
+ M,
3830
3854
  {
3831
3855
  onMouseEnter: () => h(!0),
3832
3856
  onMouseLeave: () => h(!1),
@@ -3842,7 +3866,7 @@ const ut = (e, t, o) => ({
3842
3866
  padding: "2px 4px",
3843
3867
  margin: "-2px -4px"
3844
3868
  },
3845
- children: /* @__PURE__ */ S(T, { sx: { display: "flex", gap: 1 }, children: [
3869
+ children: /* @__PURE__ */ S(M, { sx: { display: "flex", gap: 1 }, children: [
3846
3870
  /* @__PURE__ */ S(
3847
3871
  R,
3848
3872
  {
@@ -3879,11 +3903,11 @@ const ut = (e, t, o) => ({
3879
3903
  flex: 1,
3880
3904
  whiteSpace: "pre-wrap"
3881
3905
  },
3882
- children: w
3906
+ children: C
3883
3907
  }
3884
3908
  ),
3885
3909
  /* @__PURE__ */ S(
3886
- T,
3910
+ M,
3887
3911
  {
3888
3912
  sx: {
3889
3913
  display: "flex",
@@ -3895,7 +3919,7 @@ const ut = (e, t, o) => ({
3895
3919
  },
3896
3920
  children: [
3897
3921
  /* @__PURE__ */ a(
3898
- q,
3922
+ Y,
3899
3923
  {
3900
3924
  size: "small",
3901
3925
  onClick: f,
@@ -3907,11 +3931,11 @@ const ut = (e, t, o) => ({
3907
3931
  }
3908
3932
  },
3909
3933
  title: b ? "Copied!" : "Copy message",
3910
- children: /* @__PURE__ */ a(Xe, { sx: { fontSize: 12 } })
3934
+ children: /* @__PURE__ */ a(Ue, { sx: { fontSize: 12 } })
3911
3935
  }
3912
3936
  ),
3913
3937
  v && /* @__PURE__ */ a(
3914
- q,
3938
+ Y,
3915
3939
  {
3916
3940
  size: "small",
3917
3941
  onClick: () => u(!p),
@@ -3923,7 +3947,7 @@ const ut = (e, t, o) => ({
3923
3947
  }
3924
3948
  },
3925
3949
  title: p ? "Collapse" : "Expand",
3926
- children: p ? /* @__PURE__ */ a(to, { sx: { fontSize: 12 } }) : /* @__PURE__ */ a(eo, { sx: { fontSize: 12 } })
3950
+ children: p ? /* @__PURE__ */ a(Ye, { sx: { fontSize: 12 } }) : /* @__PURE__ */ a(Ze, { sx: { fontSize: 12 } })
3927
3951
  }
3928
3952
  )
3929
3953
  ]
@@ -3935,21 +3959,21 @@ const ut = (e, t, o) => ({
3935
3959
  );
3936
3960
  };
3937
3961
  return /* @__PURE__ */ S(
3938
- oo,
3962
+ Qe,
3939
3963
  {
3940
3964
  sx: {
3941
3965
  backgroundColor: ((m = n.palette.backgroundPaperElevation) == null ? void 0 : m[2]) || "#171927",
3942
3966
  backgroundImage: "none",
3943
3967
  // Override any gradient from elevation
3944
- height: r,
3968
+ height: i,
3945
3969
  display: "flex",
3946
3970
  flexDirection: "column",
3947
3971
  overflow: "hidden",
3948
- ...i
3972
+ ...r
3949
3973
  },
3950
3974
  children: [
3951
3975
  /* @__PURE__ */ S(
3952
- T,
3976
+ M,
3953
3977
  {
3954
3978
  sx: {
3955
3979
  display: "flex",
@@ -3958,9 +3982,9 @@ const ut = (e, t, o) => ({
3958
3982
  padding: "12px 16px"
3959
3983
  },
3960
3984
  children: [
3961
- /* @__PURE__ */ S(T, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
3985
+ /* @__PURE__ */ S(M, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
3962
3986
  /* @__PURE__ */ a(
3963
- Ke,
3987
+ qe,
3964
3988
  {
3965
3989
  sx: {
3966
3990
  fontSize: 16,
@@ -3984,7 +4008,7 @@ const ut = (e, t, o) => ({
3984
4008
  )
3985
4009
  ] }),
3986
4010
  /* @__PURE__ */ a(
3987
- Q,
4011
+ K,
3988
4012
  {
3989
4013
  onClick: o,
3990
4014
  variant: "text",
@@ -4009,7 +4033,7 @@ const ut = (e, t, o) => ({
4009
4033
  }
4010
4034
  ),
4011
4035
  /* @__PURE__ */ a(
4012
- T,
4036
+ M,
4013
4037
  {
4014
4038
  ref: c,
4015
4039
  sx: {
@@ -4055,42 +4079,42 @@ const ut = (e, t, o) => ({
4055
4079
  }
4056
4080
  );
4057
4081
  })
4058
- ), Pi = z(
4059
- J((e) => {
4060
- const { store: t, onStoreReady: o, ...r } = e, i = A(o);
4082
+ ), Bi = V(
4083
+ L((e) => {
4084
+ const { store: t, onStoreReady: o, ...i } = e, r = J(o);
4061
4085
  F(() => {
4062
- i.current = o;
4086
+ r.current = o;
4063
4087
  }, [o]);
4064
- const n = st(() => {
4088
+ const n = ct(() => {
4065
4089
  var l;
4066
- const s = t || new $o();
4067
- return (l = i.current) == null || l.call(i, s), s;
4090
+ const s = t || new Ho();
4091
+ return (l = r.current) == null || l.call(r, s), s;
4068
4092
  }, [t]), c = () => {
4069
4093
  n.clearMessages();
4070
4094
  };
4071
4095
  return /* @__PURE__ */ a(
4072
- Lo,
4096
+ Uo,
4073
4097
  {
4074
- ...r,
4098
+ ...i,
4075
4099
  messages: n.messages,
4076
4100
  onClear: c
4077
4101
  }
4078
4102
  );
4079
4103
  })
4080
4104
  );
4081
- function zo() {
4105
+ function qo() {
4082
4106
  const e = window.location.href;
4083
4107
  return e.substring(
4084
4108
  0,
4085
4109
  e.indexOf("/", e.indexOf("//") + 2)
4086
4110
  );
4087
4111
  }
4088
- function _i({
4089
- baseUrl: e = zo(),
4112
+ function $i({
4113
+ baseUrl: e = qo(),
4090
4114
  ...t
4091
4115
  }) {
4092
4116
  return /* @__PURE__ */ S(
4093
- no,
4117
+ Xe,
4094
4118
  {
4095
4119
  "aria-labelledby": "no-motion-group-modal-title",
4096
4120
  open: !0,
@@ -4110,9 +4134,9 @@ function _i({
4110
4134
  }
4111
4135
  },
4112
4136
  children: [
4113
- /* @__PURE__ */ a(ao, { id: "no-motion-group-modal-title", children: "No motion group found" }),
4137
+ /* @__PURE__ */ a(eo, { id: "no-motion-group-modal-title", children: "No motion group found" }),
4114
4138
  /* @__PURE__ */ S(
4115
- ro,
4139
+ to,
4116
4140
  {
4117
4141
  sx: {
4118
4142
  marginTop: "3rem",
@@ -4125,9 +4149,9 @@ function _i({
4125
4149
  ]
4126
4150
  }
4127
4151
  ),
4128
- /* @__PURE__ */ a(io, { children: /* @__PURE__ */ S(_, { width: "100%", maxWidth: "300px", margin: "auto", marginBottom: "2rem", children: [
4152
+ /* @__PURE__ */ a(Ke, { children: /* @__PURE__ */ S(_, { width: "100%", maxWidth: "300px", margin: "auto", marginBottom: "2rem", children: [
4129
4153
  /* @__PURE__ */ a(
4130
- Q,
4154
+ K,
4131
4155
  {
4132
4156
  href: `${e}/settings`,
4133
4157
  variant: "contained",
@@ -4139,7 +4163,7 @@ function _i({
4139
4163
  }
4140
4164
  ),
4141
4165
  /* @__PURE__ */ a(
4142
- Q,
4166
+ K,
4143
4167
  {
4144
4168
  href: `${e}`,
4145
4169
  variant: "text",
@@ -4157,50 +4181,55 @@ function _i({
4157
4181
  }
4158
4182
  );
4159
4183
  }
4160
- var ee = /* @__PURE__ */ ((e) => (e.PRECONDITION_NOT_FULFILLED = "PRECONDITION_NOT_FULFILLED", e.ROBOT_DISCONNECTED = "ROBOT_DISCONNECTED", e.CELL_OPEN = "CELL_OPEN", e.E_STOP = "E_STOP", e.MANUAL_MODE = "MANUAL_MODE", e.READY = "READY", e))(ee || {});
4161
- const Vo = z(
4162
- J(({ setupState: e, className: t }) => {
4163
- const o = B(), { t: r } = V(), i = () => {
4184
+ const Yo = ({
4185
+ title: e,
4186
+ titleId: t,
4187
+ ...o
4188
+ }, i) => /* @__PURE__ */ A.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "none", ref: i, "aria-labelledby": t, ...o }, e ? /* @__PURE__ */ A.createElement("title", { id: t }, e) : null, /* @__PURE__ */ A.createElement("path", { fill: "#38C6F4", fillRule: "evenodd", d: "M6.359 14.25v2.934h7.63v-3.521L10.196 9.87 9 8.674l.859-.859.337-.337.858-.858.565.565.631.63.565.565 1.196-1.195.543-.544 1.196-1.195-1.196-1.196-2.304-2.304L11.054.75 9.86 1.946 3.446 8.359 2.25 9.554l1.196 1.196 2.913 2.913zm1.69 0v1.244h4.249v-1.13L7.804 9.87 6.608 8.674l1.196-1.196L9.86 5.424l.007-.008-.543-.543-4.681 4.681 2.912 2.913.496.496v.113h2.124l1.174 1.174zm3.005-10.022-.294.294-.543-.543.837-.837 2.304 2.304-.543.543-.565-.565z", clipRule: "evenodd" })), Zo = Z(Yo);
4189
+ var ne = /* @__PURE__ */ ((e) => (e.PRECONDITION_NOT_FULFILLED = "PRECONDITION_NOT_FULFILLED", e.ROBOT_DISCONNECTED = "ROBOT_DISCONNECTED", e.CELL_OPEN = "CELL_OPEN", e.E_STOP = "E_STOP", e.MANUAL_MODE = "MANUAL_MODE", e.READY = "READY", e))(ne || {});
4190
+ const Qo = V(
4191
+ L(({ setupState: e, className: t }) => {
4192
+ const o = B(), { t: i } = N(), r = () => {
4164
4193
  var d, m, g, p, u, b, y;
4165
4194
  switch (e) {
4166
4195
  case "READY":
4167
4196
  return {
4168
- label: r("RobotSetupReadinessIndicator.Ready.lb"),
4197
+ label: i("RobotSetupReadinessIndicator.Ready.lb"),
4169
4198
  indicatorColor: ((d = o.palette.tertiary) == null ? void 0 : d.main) || o.palette.primary.main,
4170
4199
  backgroundColor: ((m = o.palette.backgroundPaperElevation) == null ? void 0 : m[11]) || o.palette.background.paper,
4171
4200
  textColor: o.palette.secondary.contrastText
4172
4201
  };
4173
4202
  case "ROBOT_DISCONNECTED":
4174
4203
  return {
4175
- label: r("RobotSetupReadinessIndicator.RobotDisconnected.lb"),
4204
+ label: i("RobotSetupReadinessIndicator.RobotDisconnected.lb"),
4176
4205
  indicatorColor: o.palette.error.main,
4177
4206
  backgroundColor: ((g = o.palette.backgroundPaperElevation) == null ? void 0 : g[11]) || o.palette.background.paper,
4178
4207
  textColor: o.palette.secondary.contrastText
4179
4208
  };
4180
4209
  case "CELL_OPEN":
4181
4210
  return {
4182
- label: r("RobotSetupReadinessIndicator.CellOpen.lb"),
4211
+ label: i("RobotSetupReadinessIndicator.CellOpen.lb"),
4183
4212
  indicatorColor: o.palette.error.main,
4184
4213
  backgroundColor: ((p = o.palette.backgroundPaperElevation) == null ? void 0 : p[11]) || o.palette.background.paper,
4185
4214
  textColor: o.palette.secondary.contrastText
4186
4215
  };
4187
4216
  case "E_STOP":
4188
4217
  return {
4189
- label: r("RobotSetupReadinessIndicator.EStop.lb"),
4218
+ label: i("RobotSetupReadinessIndicator.EStop.lb"),
4190
4219
  indicatorColor: o.palette.error.main,
4191
4220
  backgroundColor: ((u = o.palette.backgroundPaperElevation) == null ? void 0 : u[11]) || o.palette.background.paper,
4192
4221
  textColor: o.palette.secondary.contrastText
4193
4222
  };
4194
4223
  case "MANUAL_MODE":
4195
4224
  return {
4196
- label: r("RobotSetupReadinessIndicator.ManualMode.lb"),
4225
+ label: i("RobotSetupReadinessIndicator.ManualMode.lb"),
4197
4226
  indicatorColor: o.palette.error.main,
4198
4227
  backgroundColor: ((b = o.palette.backgroundPaperElevation) == null ? void 0 : b[11]) || o.palette.background.paper,
4199
4228
  textColor: o.palette.secondary.contrastText
4200
4229
  };
4201
4230
  default:
4202
4231
  return {
4203
- label: r(
4232
+ label: i(
4204
4233
  "RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb"
4205
4234
  ),
4206
4235
  indicatorColor: o.palette.error.main,
@@ -4208,13 +4237,13 @@ const Vo = z(
4208
4237
  textColor: o.palette.secondary.contrastText
4209
4238
  };
4210
4239
  }
4211
- }, { label: n, indicatorColor: c, backgroundColor: s, textColor: l } = i();
4240
+ }, { label: n, indicatorColor: c, backgroundColor: s, textColor: l } = r();
4212
4241
  return /* @__PURE__ */ a(
4213
- lo,
4242
+ no,
4214
4243
  {
4215
4244
  className: t,
4216
4245
  label: /* @__PURE__ */ S(
4217
- T,
4246
+ M,
4218
4247
  {
4219
4248
  sx: {
4220
4249
  display: "flex",
@@ -4223,7 +4252,7 @@ const Vo = z(
4223
4252
  },
4224
4253
  children: [
4225
4254
  /* @__PURE__ */ a(
4226
- T,
4255
+ M,
4227
4256
  {
4228
4257
  sx: {
4229
4258
  width: 8,
@@ -4264,21 +4293,21 @@ const Vo = z(
4264
4293
  }
4265
4294
  );
4266
4295
  })
4267
- ), Oi = z(
4268
- J(
4296
+ ), zi = V(
4297
+ L(
4269
4298
  ({
4270
4299
  robotName: e,
4271
4300
  robotType: t,
4272
4301
  setupState: o,
4273
- PreconditionComponent: r = Vo,
4274
- className: i
4302
+ PreconditionComponent: i = Qo,
4303
+ className: r
4275
4304
  }) => {
4276
4305
  var l;
4277
- const n = B(), c = t || "Robot", s = o === ee.READY;
4306
+ const n = B(), c = t || "Robot", s = o === ne.READY;
4278
4307
  return /* @__PURE__ */ S(
4279
- T,
4308
+ M,
4280
4309
  {
4281
- className: i,
4310
+ className: r,
4282
4311
  sx: {
4283
4312
  border: `1px solid ${n.palette.divider}`,
4284
4313
  background: ((l = n.palette.backgroundPaperElevation) == null ? void 0 : l[8]) || "#292B3F",
@@ -4291,7 +4320,7 @@ const Vo = z(
4291
4320
  },
4292
4321
  children: [
4293
4322
  /* @__PURE__ */ S(
4294
- T,
4323
+ M,
4295
4324
  {
4296
4325
  sx: {
4297
4326
  display: "flex",
@@ -4301,7 +4330,7 @@ const Vo = z(
4301
4330
  },
4302
4331
  children: [
4303
4332
  s ? /* @__PURE__ */ a(
4304
- T,
4333
+ M,
4305
4334
  {
4306
4335
  sx: {
4307
4336
  fontSize: 24,
@@ -4317,10 +4346,10 @@ const Vo = z(
4317
4346
  fill: `${n.palette.primary.main} !important`
4318
4347
  }
4319
4348
  },
4320
- children: /* @__PURE__ */ a($e, {})
4349
+ children: /* @__PURE__ */ a(Zo, {})
4321
4350
  }
4322
4351
  ) : /* @__PURE__ */ a(
4323
- so,
4352
+ oo,
4324
4353
  {
4325
4354
  sx: {
4326
4355
  color: n.palette.error.main,
@@ -4364,16 +4393,16 @@ const Vo = z(
4364
4393
  ]
4365
4394
  }
4366
4395
  ),
4367
- r && /* @__PURE__ */ a(r, { setupState: o })
4396
+ i && /* @__PURE__ */ a(i, { setupState: o })
4368
4397
  ]
4369
4398
  }
4370
4399
  );
4371
4400
  }
4372
4401
  )
4373
- ), No = dt(co, {
4402
+ ), Xo = gt(io, {
4374
4403
  shouldForwardProp: (e) => e !== "selected"
4375
4404
  })(({ theme: e }) => {
4376
- var t, o, r;
4405
+ var t, o, i;
4377
4406
  return {
4378
4407
  borderRadius: "20px",
4379
4408
  "&:hover": {
@@ -4381,7 +4410,7 @@ const Vo = z(
4381
4410
  },
4382
4411
  variants: [
4383
4412
  {
4384
- props: ({ selected: i }) => !i,
4413
+ props: ({ selected: r }) => !r,
4385
4414
  style: {
4386
4415
  background: (o = e.palette.backgroundPaperElevation) == null ? void 0 : o[0],
4387
4416
  color: e.palette.action.disabled,
@@ -4391,19 +4420,19 @@ const Vo = z(
4391
4420
  }
4392
4421
  },
4393
4422
  {
4394
- props: ({ selected: i }) => i,
4423
+ props: ({ selected: r }) => r,
4395
4424
  style: {
4396
- background: (r = e.palette.backgroundPaperElevation) == null ? void 0 : r[11],
4425
+ background: (i = e.palette.backgroundPaperElevation) == null ? void 0 : i[11],
4397
4426
  border: `1px solid ${e.palette.divider}`,
4398
4427
  color: e.palette.primary.contrastText
4399
4428
  }
4400
4429
  }
4401
4430
  ]
4402
4431
  };
4403
- }), Di = (e) => {
4432
+ }), Vi = (e) => {
4404
4433
  const { ref: t, ...o } = e;
4405
4434
  return /* @__PURE__ */ a(
4406
- No,
4435
+ Xo,
4407
4436
  {
4408
4437
  ref: t,
4409
4438
  selected: e.selected,
@@ -4413,25 +4442,25 @@ const Vo = z(
4413
4442
  }
4414
4443
  );
4415
4444
  };
4416
- function Wo(e) {
4417
- const { children: t, value: o, index: r, ...i } = e;
4445
+ function Ko(e) {
4446
+ const { children: t, value: o, index: i, ...r } = e;
4418
4447
  return /* @__PURE__ */ a(
4419
4448
  "div",
4420
4449
  {
4421
4450
  role: "tabpanel",
4422
- hidden: o !== r,
4423
- id: `tabpanel-${r}`,
4424
- "aria-labelledby": `tab-${r}`,
4425
- ...i,
4426
- children: o === r && /* @__PURE__ */ a(T, { children: t })
4451
+ hidden: o !== i,
4452
+ id: `tabpanel-${i}`,
4453
+ "aria-labelledby": `tab-${i}`,
4454
+ ...r,
4455
+ children: o === i && /* @__PURE__ */ a(M, { children: t })
4427
4456
  }
4428
4457
  );
4429
4458
  }
4430
- function Go({ children: e, ...t }) {
4459
+ function tn({ children: e, ...t }) {
4431
4460
  const {
4432
4461
  fullWidth: o,
4433
- indicator: r,
4434
- onChange: i,
4462
+ indicator: i,
4463
+ onChange: r,
4435
4464
  orientation: n,
4436
4465
  scrollButtons: c,
4437
4466
  selectionFollowsFocus: s,
@@ -4440,32 +4469,32 @@ function Go({ children: e, ...t }) {
4440
4469
  variant: m,
4441
4470
  ...g
4442
4471
  } = t;
4443
- return /* @__PURE__ */ a(T, { ...g, children: e });
4472
+ return /* @__PURE__ */ a(M, { ...g, children: e });
4444
4473
  }
4445
- const Ai = z(
4446
- J((e) => {
4474
+ const Ni = V(
4475
+ L((e) => {
4447
4476
  const {
4448
4477
  items: t,
4449
4478
  activeTab: o,
4450
- defaultActiveTab: r = 0,
4451
- onTabChange: i,
4479
+ defaultActiveTab: i = 0,
4480
+ onTabChange: r,
4452
4481
  sx: n,
4453
4482
  ref: c
4454
- } = e, s = o !== void 0, [l, d] = $(r), m = s ? o : l;
4483
+ } = e, s = o !== void 0, [l, d] = $(i), m = s ? o : l;
4455
4484
  F(() => {
4456
4485
  s || t.length !== 0 && (l < 0 || l > t.length - 1) && d(0);
4457
4486
  }, [t.length, s, l]);
4458
4487
  const g = (p, u) => {
4459
- s || d(u), i == null || i(u);
4488
+ s || d(u), r == null || r(u);
4460
4489
  };
4461
4490
  return /* @__PURE__ */ S(
4462
- T,
4491
+ M,
4463
4492
  {
4464
4493
  ref: c,
4465
4494
  sx: { height: "100%", display: "flex", flexDirection: "column", ...n },
4466
4495
  children: [
4467
4496
  /* @__PURE__ */ a(
4468
- T,
4497
+ M,
4469
4498
  {
4470
4499
  sx: {
4471
4500
  px: 0,
@@ -4481,7 +4510,7 @@ const Ai = z(
4481
4510
  // 20px
4482
4511
  },
4483
4512
  children: /* @__PURE__ */ a(
4484
- Wt,
4513
+ Ht,
4485
4514
  {
4486
4515
  value: m,
4487
4516
  onChange: g,
@@ -4507,19 +4536,19 @@ const Ai = z(
4507
4536
  }
4508
4537
  },
4509
4538
  children: t.map((p, u) => {
4510
- var w, C, I;
4539
+ var C, w, T;
4511
4540
  const b = () => {
4512
4541
  if (!p.badge) return;
4513
- const M = p.badge.content, j = p.badge.max;
4514
- return typeof M == "number" && j && M > j ? `${j}+` : M;
4542
+ const I = p.badge.content, E = p.badge.max;
4543
+ return typeof I == "number" && E && I > E ? `${E}+` : I;
4515
4544
  }, y = () => {
4516
4545
  if (!p.badge) return !1;
4517
- const M = p.badge.content, j = p.badge.showZero;
4518
- return !(M === 0 && !j);
4546
+ const I = p.badge.content, E = p.badge.showZero;
4547
+ return !(I === 0 && !E);
4519
4548
  }, x = b(), h = y(), v = () => {
4520
- s || d(u), i == null || i(u);
4549
+ s || d(u), r == null || r(u);
4521
4550
  }, f = /* @__PURE__ */ a(
4522
- Nt,
4551
+ Gt,
4523
4552
  {
4524
4553
  label: p.label,
4525
4554
  icon: p.icon,
@@ -4531,9 +4560,9 @@ const Ai = z(
4531
4560
  height: "32px",
4532
4561
  padding: "0px 10px",
4533
4562
  borderRadius: "12px",
4534
- backgroundColor: (M) => {
4535
- var j;
4536
- return ((j = M.palette.backgroundPaperElevation) == null ? void 0 : j[11]) || "#32344B";
4563
+ backgroundColor: (I) => {
4564
+ var E;
4565
+ return ((E = I.palette.backgroundPaperElevation) == null ? void 0 : E[11]) || "#32344B";
4537
4566
  },
4538
4567
  color: "text.primary",
4539
4568
  opacity: m === u ? 1 : 0.38,
@@ -4546,9 +4575,9 @@ const Ai = z(
4546
4575
  },
4547
4576
  "&.Mui-selected": {
4548
4577
  opacity: 1,
4549
- backgroundColor: (M) => {
4550
- var j;
4551
- return ((j = M.palette.backgroundPaperElevation) == null ? void 0 : j[11]) || "#32344B";
4578
+ backgroundColor: (I) => {
4579
+ var E;
4580
+ return ((E = I.palette.backgroundPaperElevation) == null ? void 0 : E[11]) || "#32344B";
4552
4581
  },
4553
4582
  color: "text.primary"
4554
4583
  },
@@ -4563,17 +4592,17 @@ const Ai = z(
4563
4592
  p.id
4564
4593
  );
4565
4594
  return h ? /* @__PURE__ */ a(
4566
- Go,
4595
+ tn,
4567
4596
  {
4568
4597
  component: "span",
4569
4598
  sx: { display: "inline-flex" },
4570
4599
  children: /* @__PURE__ */ a(
4571
- uo,
4600
+ ro,
4572
4601
  {
4573
4602
  badgeContent: x,
4574
- color: ((w = p.badge) == null ? void 0 : w.color) || "error",
4575
- max: (C = p.badge) == null ? void 0 : C.max,
4576
- showZero: (I = p.badge) == null ? void 0 : I.showZero,
4603
+ color: ((C = p.badge) == null ? void 0 : C.color) || "error",
4604
+ max: (w = p.badge) == null ? void 0 : w.max,
4605
+ showZero: (T = p.badge) == null ? void 0 : T.showZero,
4577
4606
  anchorOrigin: {
4578
4607
  vertical: "top",
4579
4608
  horizontal: "right"
@@ -4597,7 +4626,7 @@ const Ai = z(
4597
4626
  }
4598
4627
  ),
4599
4628
  /* @__PURE__ */ a(
4600
- T,
4629
+ M,
4601
4630
  {
4602
4631
  sx: {
4603
4632
  mt: (p) => p.spacing(2),
@@ -4606,36 +4635,36 @@ const Ai = z(
4606
4635
  }
4607
4636
  }
4608
4637
  ),
4609
- /* @__PURE__ */ a(T, { sx: { flex: 1, overflow: "auto" }, children: t.map((p, u) => /* @__PURE__ */ a(Wo, { value: m, index: u, children: p.content }, p.id)) })
4638
+ /* @__PURE__ */ a(M, { sx: { flex: 1, overflow: "auto" }, children: t.map((p, u) => /* @__PURE__ */ a(Ko, { value: m, index: u, children: p.content }, p.id)) })
4610
4639
  ]
4611
4640
  }
4612
4641
  );
4613
4642
  })
4614
- ), Uo = (e) => {
4615
- const t = Math.floor(e / 86400), o = Math.floor(e % 86400 / 3600), r = Math.floor(e % 3600 / 60), i = e % 60, n = [];
4616
- return t > 0 ? (n.push(t.toString()), n.push(o.toString().padStart(2, "0")), n.push(r.toString().padStart(2, "0")), n.push(i.toString().padStart(2, "0"))) : o > 0 ? (n.push(o.toString()), n.push(r.toString().padStart(2, "0")), n.push(i.toString().padStart(2, "0"))) : (n.push(r.toString()), n.push(i.toString().padStart(2, "0"))), n.join(":");
4617
- }, Bt = (e, t) => {
4618
- const o = Math.floor(e / 86400), r = Math.floor(e % 86400 / 3600), i = Math.floor(e % 3600 / 60), n = e % 60;
4643
+ ), en = (e) => {
4644
+ const t = Math.floor(e / 86400), o = Math.floor(e % 86400 / 3600), i = Math.floor(e % 3600 / 60), r = e % 60, n = [];
4645
+ return t > 0 ? (n.push(t.toString()), n.push(o.toString().padStart(2, "0")), n.push(i.toString().padStart(2, "0")), n.push(r.toString().padStart(2, "0"))) : o > 0 ? (n.push(o.toString()), n.push(i.toString().padStart(2, "0")), n.push(r.toString().padStart(2, "0"))) : (n.push(i.toString()), n.push(r.toString().padStart(2, "0"))), n.join(":");
4646
+ }, $t = (e, t) => {
4647
+ const o = Math.floor(e / 86400), i = Math.floor(e % 86400 / 3600), r = Math.floor(e % 3600 / 60), n = e % 60;
4619
4648
  if (typeof Intl < "u" && "DurationFormat" in Intl)
4620
4649
  try {
4621
4650
  const s = {};
4622
- return o > 0 && (s.days = o), r > 0 && (s.hours = r), i > 0 && (s.minutes = i), (n > 0 || Object.keys(s).length === 0) && (s.seconds = n), new Intl.DurationFormat(t, { style: "narrow" }).format(s);
4651
+ return o > 0 && (s.days = o), i > 0 && (s.hours = i), r > 0 && (s.minutes = r), (n > 0 || Object.keys(s).length === 0) && (s.seconds = n), new Intl.DurationFormat(t, { style: "narrow" }).format(s);
4623
4652
  } catch {
4624
4653
  }
4625
4654
  const c = [];
4626
- return o > 0 && c.push(`${o}d`), r > 0 && c.push(`${r}h`), i > 0 && c.push(`${i}m`), (n > 0 || c.length === 0) && c.push(`${n}s`), c.join(" ");
4627
- }, Ho = ({
4655
+ return o > 0 && c.push(`${o}d`), i > 0 && c.push(`${i}h`), r > 0 && c.push(`${r}m`), (n > 0 || c.length === 0) && c.push(`${n}s`), c.join(" ");
4656
+ }, on = ({
4628
4657
  timerState: e,
4629
4658
  animationState: t,
4630
4659
  hasError: o,
4631
- className: r
4660
+ className: i
4632
4661
  }) => {
4633
4662
  var g, p;
4634
- const { t: i } = V(), n = B(), { elapsedTime: c, currentProgress: s } = e, { showErrorAnimation: l, showPauseAnimation: d, showMainText: m } = t;
4663
+ const { t: r } = N(), n = B(), { elapsedTime: c, currentProgress: s } = e, { showErrorAnimation: l, showPauseAnimation: d, showMainText: m } = t;
4635
4664
  return /* @__PURE__ */ S(
4636
- T,
4665
+ M,
4637
4666
  {
4638
- className: r,
4667
+ className: i,
4639
4668
  sx: {
4640
4669
  position: "relative",
4641
4670
  width: 264,
@@ -4646,7 +4675,7 @@ const Ai = z(
4646
4675
  },
4647
4676
  children: [
4648
4677
  /* @__PURE__ */ a(
4649
- go,
4678
+ ao,
4650
4679
  {
4651
4680
  width: 264,
4652
4681
  height: 264,
@@ -4681,7 +4710,7 @@ const Ai = z(
4681
4710
  }
4682
4711
  ),
4683
4712
  /* @__PURE__ */ a(
4684
- T,
4713
+ M,
4685
4714
  {
4686
4715
  sx: {
4687
4716
  position: "absolute",
@@ -4701,7 +4730,7 @@ const Ai = z(
4701
4730
  transition: "background-color 0.5s ease-out"
4702
4731
  },
4703
4732
  children: /* @__PURE__ */ S(
4704
- T,
4733
+ M,
4705
4734
  {
4706
4735
  sx: {
4707
4736
  position: "relative",
@@ -4712,7 +4741,7 @@ const Ai = z(
4712
4741
  marginBottom: 0.5
4713
4742
  },
4714
4743
  children: [
4715
- /* @__PURE__ */ a(H, { in: m && o, timeout: 200, children: /* @__PURE__ */ a(
4744
+ /* @__PURE__ */ a(q, { in: m && o, timeout: 200, children: /* @__PURE__ */ a(
4716
4745
  R,
4717
4746
  {
4718
4747
  variant: "h6",
@@ -4722,10 +4751,10 @@ const Ai = z(
4722
4751
  fontWeight: 500,
4723
4752
  color: n.palette.error.light
4724
4753
  },
4725
- children: i("timer.error")
4754
+ children: r("timer.error")
4726
4755
  }
4727
4756
  ) }),
4728
- /* @__PURE__ */ a(H, { in: m && !o, timeout: 300, children: /* @__PURE__ */ a(
4757
+ /* @__PURE__ */ a(q, { in: m && !o, timeout: 300, children: /* @__PURE__ */ a(
4729
4758
  R,
4730
4759
  {
4731
4760
  variant: "h1",
@@ -4737,7 +4766,7 @@ const Ai = z(
4737
4766
  lineHeight: 1,
4738
4767
  letterSpacing: "-0.5px"
4739
4768
  },
4740
- children: Uo(c)
4769
+ children: en(c)
4741
4770
  }
4742
4771
  ) })
4743
4772
  ]
@@ -4748,18 +4777,18 @@ const Ai = z(
4748
4777
  ]
4749
4778
  }
4750
4779
  );
4751
- }, qo = ({
4780
+ }, nn = ({
4752
4781
  timerState: e,
4753
4782
  animationState: t,
4754
4783
  hasError: o,
4755
- compact: r,
4756
- className: i
4784
+ compact: i,
4785
+ className: r
4757
4786
  }) => {
4758
- const { t: n, i18n: c } = V(), s = B(), { elapsedTime: l, currentProgress: d } = e, { showErrorAnimation: m, showPauseAnimation: g } = t;
4759
- return r ? /* @__PURE__ */ a(
4760
- T,
4787
+ const { t: n, i18n: c } = N(), s = B(), { elapsedTime: l, currentProgress: d } = e, { showErrorAnimation: m, showPauseAnimation: g } = t;
4788
+ return i ? /* @__PURE__ */ a(
4789
+ M,
4761
4790
  {
4762
- className: i,
4791
+ className: r,
4763
4792
  sx: {
4764
4793
  display: "flex",
4765
4794
  alignItems: "center",
@@ -4774,14 +4803,14 @@ const Ai = z(
4774
4803
  fontSize: "14px",
4775
4804
  transition: "color 0.5s ease-out"
4776
4805
  },
4777
- children: o ? n("timer.error") : Bt(l, c.language)
4806
+ children: o ? n("timer.error") : $t(l, c.language)
4778
4807
  }
4779
4808
  )
4780
4809
  }
4781
4810
  ) : /* @__PURE__ */ S(
4782
- T,
4811
+ M,
4783
4812
  {
4784
- className: i,
4813
+ className: r,
4785
4814
  sx: {
4786
4815
  display: "flex",
4787
4816
  alignItems: "center",
@@ -4790,7 +4819,7 @@ const Ai = z(
4790
4819
  },
4791
4820
  children: [
4792
4821
  /* @__PURE__ */ a(
4793
- T,
4822
+ M,
4794
4823
  {
4795
4824
  sx: {
4796
4825
  width: 20,
@@ -4859,36 +4888,36 @@ const Ai = z(
4859
4888
  letterSpacing: "normal",
4860
4889
  transition: "color 0.8s ease-in-out, font-size 0.3s ease-out, opacity 2s ease-in-out"
4861
4890
  },
4862
- children: o ? n("timer.error") : Bt(l, c.language)
4891
+ children: o ? n("timer.error") : $t(l, c.language)
4863
4892
  }
4864
4893
  )
4865
4894
  ]
4866
4895
  }
4867
4896
  );
4868
- }, Yo = () => {
4897
+ }, rn = () => {
4869
4898
  const [e, t] = $({
4870
4899
  showPauseAnimation: !1,
4871
4900
  showErrorAnimation: !1,
4872
4901
  showMainText: !0
4873
- }), o = A(
4902
+ }), o = J(
4874
4903
  null
4875
- ), r = A(
4904
+ ), i = J(
4876
4905
  null
4877
- ), i = A(null), n = P(() => {
4906
+ ), r = J(null), n = P(() => {
4878
4907
  t((g) => ({ ...g, showPauseAnimation: !0 })), o.current && clearTimeout(o.current), o.current = setTimeout(() => {
4879
4908
  t((g) => ({ ...g, showPauseAnimation: !1 }));
4880
4909
  }, 800);
4881
4910
  }, []), c = P(() => {
4882
- t((g) => ({ ...g, showErrorAnimation: !0 })), r.current && clearTimeout(r.current), r.current = setTimeout(() => {
4911
+ t((g) => ({ ...g, showErrorAnimation: !0 })), i.current && clearTimeout(i.current), i.current = setTimeout(() => {
4883
4912
  t((g) => ({ ...g, showErrorAnimation: !1 }));
4884
4913
  }, 600);
4885
4914
  }, []), s = P(() => {
4886
- t((g) => ({ ...g, showErrorAnimation: !1 })), r.current && clearTimeout(r.current);
4915
+ t((g) => ({ ...g, showErrorAnimation: !1 })), i.current && clearTimeout(i.current);
4887
4916
  }, []), l = P(() => {
4888
4917
  t((g) => ({
4889
4918
  ...g,
4890
4919
  showMainText: !1
4891
- })), i.current && clearTimeout(i.current), i.current = setTimeout(() => {
4920
+ })), r.current && clearTimeout(r.current), r.current = setTimeout(() => {
4892
4921
  t((g) => ({
4893
4922
  ...g,
4894
4923
  showMainText: !0
@@ -4900,7 +4929,7 @@ const Ai = z(
4900
4929
  showMainText: !0
4901
4930
  }));
4902
4931
  }, []), m = P(() => {
4903
- o.current && clearTimeout(o.current), r.current && clearTimeout(r.current), i.current && clearTimeout(i.current);
4932
+ o.current && clearTimeout(o.current), i.current && clearTimeout(i.current), r.current && clearTimeout(r.current);
4904
4933
  }, []);
4905
4934
  return {
4906
4935
  animationState: e,
@@ -4911,12 +4940,12 @@ const Ai = z(
4911
4940
  setInitialAnimationState: d,
4912
4941
  cleanup: m
4913
4942
  };
4914
- }, Zo = ({
4943
+ }, an = ({
4915
4944
  autoStart: e,
4916
4945
  hasError: t,
4917
4946
  onPauseAnimation: o,
4918
- onErrorAnimation: r,
4919
- onClearErrorAnimation: i
4947
+ onErrorAnimation: i,
4948
+ onClearErrorAnimation: r
4920
4949
  }) => {
4921
4950
  const [n, c] = $({
4922
4951
  elapsedTime: 0,
@@ -4924,7 +4953,7 @@ const Ai = z(
4924
4953
  isPausedState: !1,
4925
4954
  currentProgress: 0,
4926
4955
  wasRunningBeforeError: !1
4927
- }), s = A(null), l = A(null), d = A(0), m = A(0), [g] = Vt([0], {
4956
+ }), s = J(null), l = J(null), d = J(0), m = J(0), [g] = Wt([0], {
4928
4957
  tension: 80,
4929
4958
  friction: 18,
4930
4959
  onChange: ([h]) => {
@@ -4944,8 +4973,8 @@ const Ai = z(
4944
4973
  ), u = P(() => {
4945
4974
  if (l.current && n.isRunning) {
4946
4975
  const v = (Date.now() - l.current) / 1e3 + d.current, f = v / 60 % 1 * 100;
4947
- g.setTarget([f]), c((w) => ({
4948
- ...w,
4976
+ g.setTarget([f]), c((C) => ({
4977
+ ...C,
4949
4978
  elapsedTime: Math.floor(v)
4950
4979
  }));
4951
4980
  }
@@ -4970,26 +4999,26 @@ const Ai = z(
4970
4999
  })), d.current = 0, l.current = null, m.current = 0, g.setImmediate([0]);
4971
5000
  }, [g]), x = P(() => n.isPausedState, [n.isPausedState]);
4972
5001
  return F(() => {
4973
- t ? (n.isRunning && (c((h) => ({ ...h, wasRunningBeforeError: !0 })), u()), r()) : (n.wasRunningBeforeError && !n.isRunning && (c((h) => ({ ...h, wasRunningBeforeError: !1 })), b()), i());
5002
+ t ? (n.isRunning && (c((h) => ({ ...h, wasRunningBeforeError: !0 })), u()), i()) : (n.wasRunningBeforeError && !n.isRunning && (c((h) => ({ ...h, wasRunningBeforeError: !1 })), b()), r());
4974
5003
  }, [
4975
5004
  t,
4976
5005
  n.isRunning,
4977
5006
  n.wasRunningBeforeError,
4978
5007
  u,
4979
5008
  b,
4980
- r,
4981
- i
5009
+ i,
5010
+ r
4982
5011
  ]), F(() => {
4983
5012
  if (n.isRunning) {
4984
5013
  const h = () => {
4985
5014
  if (l.current) {
4986
- const f = (Date.now() - l.current) / 1e3 + d.current, w = f / 60 % 1 * 100;
4987
- c((I) => ({
4988
- ...I,
5015
+ const f = (Date.now() - l.current) / 1e3 + d.current, C = f / 60 % 1 * 100;
5016
+ c((T) => ({
5017
+ ...T,
4989
5018
  elapsedTime: Math.floor(f)
4990
5019
  })), Math.abs(
4991
- w - m.current
4992
- ) > 0.1 && (g.setTarget([w]), m.current = w);
5020
+ C - m.current
5021
+ ) > 0.1 && (g.setTarget([C]), m.current = C);
4993
5022
  }
4994
5023
  s.current = requestAnimationFrame(h);
4995
5024
  };
@@ -5017,14 +5046,14 @@ const Ai = z(
5017
5046
  isPaused: x
5018
5047
  }
5019
5048
  };
5020
- }, Ji = z(
5021
- J(
5049
+ }, Wi = V(
5050
+ L(
5022
5051
  ({
5023
5052
  onTimerReady: e,
5024
5053
  autoStart: t = !0,
5025
5054
  variant: o = "default",
5026
- compact: r = !1,
5027
- className: i,
5055
+ compact: i = !1,
5056
+ className: r,
5028
5057
  hasError: n = !1
5029
5058
  }) => {
5030
5059
  const {
@@ -5034,7 +5063,7 @@ const Ai = z(
5034
5063
  clearErrorAnimation: d,
5035
5064
  setInitialAnimationState: m,
5036
5065
  cleanup: g
5037
- } = Yo(), { timerState: p, controls: u } = Zo({
5066
+ } = rn(), { timerState: p, controls: u } = an({
5038
5067
  autoStart: t,
5039
5068
  hasError: n,
5040
5069
  onPauseAnimation: s,
@@ -5052,57 +5081,57 @@ const Ai = z(
5052
5081
  b = !1, clearTimeout(y);
5053
5082
  };
5054
5083
  }, [e, u]), F(() => g, [g]), o === "small" ? /* @__PURE__ */ a(
5055
- qo,
5084
+ nn,
5056
5085
  {
5057
5086
  timerState: p,
5058
5087
  animationState: c,
5059
5088
  hasError: n,
5060
- compact: r,
5061
- className: i
5089
+ compact: i,
5090
+ className: r
5062
5091
  }
5063
5092
  ) : /* @__PURE__ */ a(
5064
- Ho,
5093
+ on,
5065
5094
  {
5066
5095
  timerState: p,
5067
5096
  animationState: c,
5068
5097
  hasError: n,
5069
- className: i
5098
+ className: r
5070
5099
  }
5071
5100
  );
5072
5101
  }
5073
5102
  )
5074
- ), $t = 1e-4, Qo = {
5103
+ ), zt = 1e-4, sn = {
5075
5104
  a: 0,
5076
5105
  d: 0,
5077
5106
  alpha: 0,
5078
5107
  theta: 0,
5079
5108
  reverse_rotation_direction: !1
5080
5109
  };
5081
- class ht {
5082
- constructor(t, o, r, i, n, c, s, l, d, m, g = "cell") {
5083
- this.controller = o, this.motionGroup = r, this.initialMotionState = i, this.motionStateSocket = n, this.isVirtual = c, this.tcps = s, this.description = l, this.initialControllerState = d, this.controllerStateSocket = m, this.cellId = g, this.connectedJoggingSocket = null, this.joggingVelocity = 10, this.activationState = "inactive", this.nova = ct(t), this.rapidlyChangingMotionState = i, this.controllerState = d, m.addEventListener("message", (p) => {
5110
+ class bt {
5111
+ constructor(t, o, i, r, n, c, s, l, d, m, g = "cell") {
5112
+ this.controller = o, this.motionGroup = i, this.initialMotionState = r, this.motionStateSocket = n, this.isVirtual = c, this.tcps = s, this.description = l, this.initialControllerState = d, this.controllerStateSocket = m, this.cellId = g, this.connectedJoggingSocket = null, this.joggingVelocity = 10, this.activationState = "inactive", this.nova = ut(t), this.rapidlyChangingMotionState = r, this.controllerState = d, m.addEventListener("message", (p) => {
5084
5113
  var b;
5085
- const u = (b = W(p.data)) == null ? void 0 : b.result;
5114
+ const u = (b = G(p.data)) == null ? void 0 : b.result;
5086
5115
  u && D(() => {
5087
5116
  this.controllerState = u;
5088
5117
  });
5089
5118
  }), n.addEventListener("message", (p) => {
5090
5119
  var b;
5091
- const u = (b = W(p.data)) == null ? void 0 : b.result;
5120
+ const u = (b = G(p.data)) == null ? void 0 : b.result;
5092
5121
  if (!u)
5093
5122
  throw new Error(
5094
5123
  `Failed to get motion state for ${this.motionGroupId}: ${p.data}`
5095
5124
  );
5096
- qt(
5125
+ Zt(
5097
5126
  this.rapidlyChangingMotionState.joint_position,
5098
5127
  u.joint_position,
5099
- $t
5128
+ zt
5100
5129
  ) || D(() => {
5101
5130
  this.rapidlyChangingMotionState.joint_position = u.joint_position;
5102
- }), Yt(
5131
+ }), Qt(
5103
5132
  this.rapidlyChangingMotionState,
5104
5133
  u,
5105
- $t
5134
+ zt
5106
5135
  ) || D(() => {
5107
5136
  this.rapidlyChangingMotionState.tcp_pose = u.tcp_pose;
5108
5137
  }), u.tcp !== void 0 && this.rapidlyChangingMotionState.tcp !== u.tcp && D(() => {
@@ -5110,30 +5139,30 @@ class ht {
5110
5139
  }), this.rapidlyChangingMotionState.standstill !== u.standstill && D(() => {
5111
5140
  this.rapidlyChangingMotionState.standstill = u.standstill;
5112
5141
  });
5113
- }), bt(this);
5142
+ }), yt(this);
5114
5143
  }
5115
- static async connectMultiple(t, o, r = {}) {
5144
+ static async connectMultiple(t, o, i = {}) {
5116
5145
  return Promise.all(
5117
5146
  o.map(
5118
- (i) => ht.connect(t, i, r)
5147
+ (r) => bt.connect(t, r, i)
5119
5148
  )
5120
5149
  );
5121
5150
  }
5122
- static async connect(t, o, r = {}) {
5123
- var w, C;
5124
- const i = ct(t), n = r.cellId ?? "cell", [c, s] = o.split("@"), l = await i.api.controller.getCurrentRobotControllerState(
5151
+ static async connect(t, o, i = {}) {
5152
+ var C, w;
5153
+ const r = ut(t), n = i.cellId ?? "cell", [c, s] = o.split("@"), l = await r.api.controller.getCurrentRobotControllerState(
5125
5154
  n,
5126
5155
  s
5127
5156
  ), d = l == null ? void 0 : l.motion_groups.find(
5128
- (I) => I.motion_group === o
5157
+ (T) => T.motion_group === o
5129
5158
  );
5130
5159
  if (!l || !d)
5131
5160
  throw new Error(
5132
5161
  `Controller ${s} or motion group ${o} not found`
5133
5162
  );
5134
- const m = i.openReconnectingWebsocket(
5163
+ const m = r.openReconnectingWebsocket(
5135
5164
  `/cells/${n}/controllers/${s}/motion-groups/${o}/state-stream`
5136
- ), g = await m.firstMessage(), p = (w = W(g.data)) == null ? void 0 : w.result;
5165
+ ), g = await m.firstMessage(), p = (C = G(g.data)) == null ? void 0 : C.result;
5137
5166
  if (!p)
5138
5167
  throw new Error(
5139
5168
  `Unable to parse initial motion state message ${g.data}`
@@ -5143,23 +5172,23 @@ class ht {
5143
5172
  `,
5144
5173
  p
5145
5174
  );
5146
- const b = (await i.api.controller.getRobotController(
5175
+ const b = (await r.api.controller.getRobotController(
5147
5176
  n,
5148
5177
  l.controller
5149
- )).configuration.kind === "VirtualController", y = await i.api.motionGroup.getMotionGroupDescription(
5178
+ )).configuration.kind === "VirtualController", y = await r.api.motionGroup.getMotionGroupDescription(
5150
5179
  n,
5151
5180
  s,
5152
5181
  d.motion_group
5153
5182
  ), x = Object.entries(y.tcps || {}).map(
5154
- ([I, M]) => ({
5155
- id: I,
5156
- readable_name: M.name,
5157
- position: M.pose.position,
5158
- orientation: M.pose.orientation
5183
+ ([T, I]) => ({
5184
+ id: T,
5185
+ readable_name: I.name,
5186
+ position: I.pose.position,
5187
+ orientation: I.pose.orientation
5159
5188
  })
5160
- ), h = i.openReconnectingWebsocket(
5189
+ ), h = r.openReconnectingWebsocket(
5161
5190
  `/cells/${n}/controllers/${l.controller}/state-stream?response_rate=1000`
5162
- ), v = await h.firstMessage(), f = (C = W(v.data)) == null ? void 0 : C.result;
5191
+ ), v = await h.firstMessage(), f = (w = G(v.data)) == null ? void 0 : w.result;
5163
5192
  if (!f)
5164
5193
  throw new Error(
5165
5194
  `Unable to parse initial controller state message ${v.data}`
@@ -5168,8 +5197,8 @@ class ht {
5168
5197
  `Connected controller state websocket to controller ${l.controller}. Initial state:
5169
5198
  `,
5170
5199
  f
5171
- ), new ht(
5172
- i,
5200
+ ), new bt(
5201
+ r,
5173
5202
  l,
5174
5203
  d,
5175
5204
  p,
@@ -5204,7 +5233,7 @@ class ht {
5204
5233
  get dhParameters() {
5205
5234
  if (this.description.dh_parameters !== void 0)
5206
5235
  return this.description.dh_parameters.map((t) => ({
5207
- ...Qo,
5236
+ ...sn,
5208
5237
  ...t
5209
5238
  }));
5210
5239
  }
@@ -5213,22 +5242,22 @@ class ht {
5213
5242
  }
5214
5243
  /** Gets the robot mounting position offset in 3D viz coordinates */
5215
5244
  get mountingPosition() {
5216
- var t, o, r;
5245
+ var t, o, i;
5217
5246
  return this.description.mounting ? [
5218
5247
  (((t = this.description.mounting.position) == null ? void 0 : t[0]) || 0) / 1e3,
5219
5248
  (((o = this.description.mounting.position) == null ? void 0 : o[1]) || 0) / 1e3,
5220
- (((r = this.description.mounting.position) == null ? void 0 : r[2]) || 0) / 1e3
5249
+ (((i = this.description.mounting.position) == null ? void 0 : i[2]) || 0) / 1e3
5221
5250
  ] : [0, 0, 0];
5222
5251
  }
5223
5252
  /** Gets the robot mounting position rotation in 3D viz coordinates */
5224
5253
  get mountingQuaternion() {
5225
- var i, n, c, s, l, d;
5226
- const t = new Ot.Vector3(
5227
- ((n = (i = this.description.mounting) == null ? void 0 : i.orientation) == null ? void 0 : n[0]) || 0,
5254
+ var r, n, c, s, l, d;
5255
+ const t = new Dt.Vector3(
5256
+ ((n = (r = this.description.mounting) == null ? void 0 : r.orientation) == null ? void 0 : n[0]) || 0,
5228
5257
  ((s = (c = this.description.mounting) == null ? void 0 : c.orientation) == null ? void 0 : s[1]) || 0,
5229
5258
  ((d = (l = this.description.mounting) == null ? void 0 : l.orientation) == null ? void 0 : d[2]) || 0
5230
- ), o = t.length(), r = t.normalize();
5231
- return new Ot.Quaternion().setFromAxisAngle(r, o);
5259
+ ), o = t.length(), i = t.normalize();
5260
+ return new Dt.Quaternion().setFromAxisAngle(i, o);
5232
5261
  }
5233
5262
  /**
5234
5263
  * Whether the controller is currently in a safety state
@@ -5322,7 +5351,7 @@ class ht {
5322
5351
  this.joggingVelocity = t;
5323
5352
  }
5324
5353
  }
5325
- const et = "rgba(255, 255, 255, 1)", Xo = {
5354
+ const nt = "rgba(255, 255, 255, 1)", ln = {
5326
5355
  components: {
5327
5356
  // Globals for MUI X DataGrid filter popup. These keys deep-merge into
5328
5357
  // Nova's MuiCssBaseline.styleOverrides (which contains scrollbar rules)
@@ -5378,23 +5407,23 @@ const et = "rgba(255, 255, 255, 1)", Xo = {
5378
5407
  },
5379
5408
  filterForm: {
5380
5409
  "& .MuiInputBase-root": {
5381
- borderRadius: `${Y} !important`,
5410
+ borderRadius: `${Q} !important`,
5382
5411
  "& fieldset": {
5383
- borderRadius: `${Y} !important`
5412
+ borderRadius: `${Q} !important`
5384
5413
  },
5385
5414
  "& .MuiOutlinedInput-notchedOutline": {
5386
- borderRadius: `${Y} !important`
5415
+ borderRadius: `${Q} !important`
5387
5416
  }
5388
5417
  }
5389
5418
  },
5390
5419
  filterFormValueInput: {
5391
5420
  "& .MuiInputBase-root": {
5392
- borderRadius: `${Y} !important`,
5421
+ borderRadius: `${Q} !important`,
5393
5422
  "& fieldset": {
5394
- borderRadius: `${Y} !important`
5423
+ borderRadius: `${Q} !important`
5395
5424
  },
5396
5425
  "& .MuiOutlinedInput-notchedOutline": {
5397
- borderRadius: `${Y} !important`
5426
+ borderRadius: `${Q} !important`
5398
5427
  }
5399
5428
  }
5400
5429
  }
@@ -5415,7 +5444,7 @@ const et = "rgba(255, 255, 255, 1)", Xo = {
5415
5444
  disabled: "rgba(241, 77, 66, 1)"
5416
5445
  },
5417
5446
  color: "rgba(255, 198, 198, 1)",
5418
- labelColor: et
5447
+ labelColor: nt
5419
5448
  },
5420
5449
  Y: {
5421
5450
  backgroundColor: "rgba(20, 151, 108, 1)",
@@ -5427,7 +5456,7 @@ const et = "rgba(255, 255, 255, 1)", Xo = {
5427
5456
  hovered: "rgba(28, 188, 135, 1)"
5428
5457
  },
5429
5458
  color: "rgba(215, 255, 242, 1)",
5430
- labelColor: et
5459
+ labelColor: nt
5431
5460
  },
5432
5461
  Z: {
5433
5462
  backgroundColor: "rgba(1, 87, 155, 1)",
@@ -5439,75 +5468,75 @@ const et = "rgba(255, 255, 255, 1)", Xo = {
5439
5468
  hovered: "rgba(2, 136, 209, 1)"
5440
5469
  },
5441
5470
  color: "rgba(210, 239, 255, 1)",
5442
- labelColor: et
5471
+ labelColor: nt
5443
5472
  }
5444
5473
  }
5445
5474
  },
5446
5475
  JoggingJoint: {
5447
5476
  Joint: {
5448
- arrowColor: et
5477
+ arrowColor: nt
5449
5478
  }
5450
5479
  },
5451
5480
  VelocitySlider: {
5452
- sliderLegendColor: et
5481
+ sliderLegendColor: nt
5453
5482
  }
5454
5483
  }
5455
5484
  }
5456
5485
  };
5457
- function Ko(...e) {
5486
+ function cn(...e) {
5458
5487
  const t = e.map((o) => {
5459
- var r;
5460
- if (((r = o == null ? void 0 : o.palette) == null ? void 0 : r.mode) === "light") {
5488
+ var i;
5489
+ if (((i = o == null ? void 0 : o.palette) == null ? void 0 : i.mode) === "light") {
5461
5490
  console.warn(
5462
5491
  "[createNovaTheme] palette.mode 'light' is not supported — light tokens are not yet available. Falling back to dark mode. Remove palette.mode from your theme options to silence this warning."
5463
5492
  );
5464
- const { mode: i, ...n } = o.palette;
5493
+ const { mode: r, ...n } = o.palette;
5465
5494
  return { ...o, palette: n };
5466
5495
  }
5467
5496
  return o;
5468
5497
  });
5469
- return po(Xo, ...t);
5498
+ return so(ln, ...t);
5470
5499
  }
5471
- function Fi(e = {}) {
5472
- return Ko(e);
5500
+ function Gi(e = {}) {
5501
+ return cn(e);
5473
5502
  }
5474
5503
  export {
5475
- vi as A,
5476
- wi as C,
5477
- St as J,
5478
- $o as L,
5479
- xt as M,
5480
- _i as N,
5481
- Ii as P,
5482
- Oi as R,
5483
- Di as S,
5484
- Ai as T,
5485
- Ao as V,
5486
- Co as W,
5487
- Fi as a,
5488
- Ci as b,
5489
- Ko as c,
5490
- At as d,
5504
+ Ei as A,
5505
+ Pi as C,
5506
+ wt as J,
5507
+ Ho as L,
5508
+ St as M,
5509
+ $i as N,
5510
+ Ai as P,
5511
+ zi as R,
5512
+ Vi as S,
5513
+ Ni as T,
5514
+ Vo as V,
5515
+ bo as W,
5516
+ Gi as a,
5517
+ ji as b,
5518
+ cn as c,
5519
+ Lt as d,
5491
5520
  wo as e,
5492
- Ti as f,
5493
- Mi as g,
5494
- ko as h,
5495
- Ro as i,
5496
- Pi as j,
5497
- ut as k,
5498
- ki as l,
5499
- Ri as m,
5500
- ji as n,
5501
- Ei as o,
5502
- Lo as p,
5503
- ee as q,
5504
- Vo as r,
5505
- Ji as s,
5506
- Qt as t,
5507
- ht as u,
5508
- yt as v,
5509
- qt as w,
5510
- To as x,
5511
- Yt as y,
5512
- Io as z
5521
+ _i as f,
5522
+ Oi as g,
5523
+ Io as h,
5524
+ ko as i,
5525
+ Bi as j,
5526
+ pt as k,
5527
+ Di as l,
5528
+ Ji as m,
5529
+ Li as n,
5530
+ Fi as o,
5531
+ Uo as p,
5532
+ ne as q,
5533
+ Qo as r,
5534
+ Wi as s,
5535
+ Kt as t,
5536
+ bt as u,
5537
+ vt as v,
5538
+ Zt as w,
5539
+ Co as x,
5540
+ Qt as y,
5541
+ Mo as z
5513
5542
  };