@wandelbots/wandelbots-js-react-components 2.53.0-pr.feature-tabbar-support-badges.398.51d2a73 → 2.53.0-pr.feature-tabbar-support-badges.398.7789539

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -83,7 +83,7 @@ function j0() {
83
83
  return "Profiler";
84
84
  case y:
85
85
  return "StrictMode";
86
- case P:
86
+ case T:
87
87
  return "Suspense";
88
88
  case O:
89
89
  return "SuspenseList";
@@ -98,12 +98,12 @@ function j0() {
98
98
  return "Portal";
99
99
  case w:
100
100
  return (q.displayName || "Context") + ".Provider";
101
- case R:
102
- return (q._context.displayName || "Context") + ".Consumer";
103
101
  case C:
102
+ return (q._context.displayName || "Context") + ".Consumer";
103
+ case P:
104
104
  var Q = q.render;
105
105
  return q = q.displayName, q || (q = Q.displayName || Q.name || "", q = q !== "" ? "ForwardRef(" + q + ")" : "ForwardRef"), q;
106
- case T:
106
+ case R:
107
107
  return Q = q.displayName || null, Q !== null ? Q : e(q.type) || "Memo";
108
108
  case _:
109
109
  Q = q._payload, q = q._init;
@@ -262,7 +262,7 @@ React keys must be passed directly to JSX without using spread:
262
262
  function d(q) {
263
263
  typeof q == "object" && q !== null && q.$$typeof === p && q._store && (q._store.validated = 1);
264
264
  }
265
- var h = Zt, p = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), R = Symbol.for("react.consumer"), w = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), E = Symbol.for("react.activity"), b = Symbol.for("react.client.reference"), A = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, V = Array.isArray, z = console.createTask ? console.createTask : function() {
265
+ var h = Zt, p = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), w = Symbol.for("react.context"), P = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), E = Symbol.for("react.activity"), b = Symbol.for("react.client.reference"), A = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, V = Array.isArray, z = console.createTask ? console.createTask : function() {
266
266
  return null;
267
267
  };
268
268
  h = {
@@ -2377,7 +2377,7 @@ function Sp(e = {}) {
2377
2377
  db(i, t, r);
2378
2378
  }
2379
2379
  return (i, l = {}) => {
2380
- Z0(i, (P) => P.filter((O) => O !== Pn));
2380
+ Z0(i, (T) => T.filter((O) => O !== Pn));
2381
2381
  const {
2382
2382
  name: c,
2383
2383
  slot: u,
@@ -2394,26 +2394,26 @@ function Sp(e = {}) {
2394
2394
  ), y = h || !1;
2395
2395
  let S = hi;
2396
2396
  u === "Root" || u === "root" ? S = n : u ? S = a : fb(i) && (S = void 0);
2397
- const R = X0(i, {
2397
+ const C = X0(i, {
2398
2398
  shouldForwardProp: S,
2399
2399
  label: pb(c, u),
2400
2400
  ...f
2401
- }), w = (P) => {
2402
- if (P.__emotion_real === P)
2403
- return P;
2404
- if (typeof P == "function")
2405
- return function(T) {
2406
- return _o(T, P);
2401
+ }), w = (T) => {
2402
+ if (T.__emotion_real === T)
2403
+ return T;
2404
+ if (typeof T == "function")
2405
+ return function(R) {
2406
+ return _o(R, T);
2407
2407
  };
2408
- if (Lt(P)) {
2409
- const O = xp(P);
2408
+ if (Lt(T)) {
2409
+ const O = xp(T);
2410
2410
  return O.variants ? function(_) {
2411
2411
  return _o(_, O);
2412
2412
  } : O.style;
2413
2413
  }
2414
- return P;
2415
- }, C = (...P) => {
2416
- const O = [], T = P.map(w), _ = [];
2414
+ return T;
2415
+ }, P = (...T) => {
2416
+ const O = [], R = T.map(w), _ = [];
2417
2417
  if (O.push(o), c && p && _.push(function(N) {
2418
2418
  var ee, ne;
2419
2419
  const z = (ne = (ee = N.theme.components) == null ? void 0 : ee[c]) == null ? void 0 : ne.styleOverrides;
@@ -2427,15 +2427,15 @@ function Sp(e = {}) {
2427
2427
  var te, ee;
2428
2428
  const V = N.theme, z = (ee = (te = V == null ? void 0 : V.components) == null ? void 0 : te[c]) == null ? void 0 : ee.variants;
2429
2429
  return z ? vp(N, z) : null;
2430
- }), y || _.push(Pn), Array.isArray(T[0])) {
2431
- const A = T.shift(), N = new Array(O.length).fill(""), V = new Array(_.length).fill("");
2430
+ }), y || _.push(Pn), Array.isArray(R[0])) {
2431
+ const A = R.shift(), N = new Array(O.length).fill(""), V = new Array(_.length).fill("");
2432
2432
  let z;
2433
2433
  z = [...N, ...A, ...V], z.raw = [...N, ...A.raw, ...V], O.unshift(z);
2434
2434
  }
2435
- const E = [...O, ...T, ..._], b = R(...E);
2435
+ const E = [...O, ...R, ..._], b = C(...E);
2436
2436
  return i.muiName && (b.muiName = i.muiName), process.env.NODE_ENV !== "production" && (b.displayName = hb(c, u, i)), b;
2437
2437
  };
2438
- return R.withConfig && (C.withConfig = R.withConfig), C;
2438
+ return C.withConfig && (P.withConfig = C.withConfig), P;
2439
2439
  };
2440
2440
  }
2441
2441
  function hb(e, t, r) {
@@ -2748,39 +2748,39 @@ function _b(e, t = {}) {
2748
2748
  [i]: f,
2749
2749
  ...m
2750
2750
  } = o;
2751
- if (Object.entries(m || {}).forEach(([w, C]) => {
2751
+ if (Object.entries(m || {}).forEach(([w, P]) => {
2752
2752
  const {
2753
- vars: P,
2753
+ vars: T,
2754
2754
  css: O,
2755
- varsWithDefaults: T
2756
- } = pi(C, t);
2757
- h = it(h, T), p[w] = {
2755
+ varsWithDefaults: R
2756
+ } = pi(P, t);
2757
+ h = it(h, R), p[w] = {
2758
2758
  css: O,
2759
- vars: P
2759
+ vars: T
2760
2760
  };
2761
2761
  }), f) {
2762
2762
  const {
2763
2763
  css: w,
2764
- vars: C,
2765
- varsWithDefaults: P
2764
+ vars: P,
2765
+ varsWithDefaults: T
2766
2766
  } = pi(f, t);
2767
- h = it(h, P), p[i] = {
2767
+ h = it(h, T), p[i] = {
2768
2768
  css: w,
2769
- vars: C
2769
+ vars: P
2770
2770
  };
2771
2771
  }
2772
- function y(w, C) {
2773
- var O, T;
2774
- let P = a;
2775
- if (a === "class" && (P = ".%s"), a === "data" && (P = "[data-%s]"), a != null && a.startsWith("data-") && !a.includes("%s") && (P = `[${a}="%s"]`), w) {
2776
- if (P === "media")
2772
+ function y(w, P) {
2773
+ var O, R;
2774
+ let T = a;
2775
+ if (a === "class" && (T = ".%s"), a === "data" && (T = "[data-%s]"), a != null && a.startsWith("data-") && !a.includes("%s") && (T = `[${a}="%s"]`), w) {
2776
+ if (T === "media")
2777
2777
  return e.defaultColorScheme === w ? ":root" : {
2778
- [`@media (prefers-color-scheme: ${((T = (O = o[w]) == null ? void 0 : O.palette) == null ? void 0 : T.mode) || w})`]: {
2779
- ":root": C
2778
+ [`@media (prefers-color-scheme: ${((R = (O = o[w]) == null ? void 0 : O.palette) == null ? void 0 : R.mode) || w})`]: {
2779
+ ":root": P
2780
2780
  }
2781
2781
  };
2782
- if (P)
2783
- return e.defaultColorScheme === w ? `:root, ${P.replace("%s", String(w))}` : P.replace("%s", String(w));
2782
+ if (T)
2783
+ return e.defaultColorScheme === w ? `:root, ${T.replace("%s", String(w))}` : T.replace("%s", String(w));
2784
2784
  }
2785
2785
  return ":root";
2786
2786
  }
@@ -2791,42 +2791,42 @@ function _b(e, t = {}) {
2791
2791
  ...c
2792
2792
  };
2793
2793
  return Object.entries(p).forEach(([, {
2794
- vars: C
2794
+ vars: P
2795
2795
  }]) => {
2796
- w = it(w, C);
2796
+ w = it(w, P);
2797
2797
  }), w;
2798
2798
  },
2799
2799
  generateStyleSheets: () => {
2800
2800
  var _, E;
2801
- const w = [], C = e.defaultColorScheme || "light";
2802
- function P(b, A) {
2801
+ const w = [], P = e.defaultColorScheme || "light";
2802
+ function T(b, A) {
2803
2803
  Object.keys(A).length && w.push(typeof b == "string" ? {
2804
2804
  [b]: {
2805
2805
  ...A
2806
2806
  }
2807
2807
  } : b);
2808
2808
  }
2809
- P(r(void 0, {
2809
+ T(r(void 0, {
2810
2810
  ...u
2811
2811
  }), u);
2812
2812
  const {
2813
- [C]: O,
2814
- ...T
2813
+ [P]: O,
2814
+ ...R
2815
2815
  } = p;
2816
2816
  if (O) {
2817
2817
  const {
2818
2818
  css: b
2819
- } = O, A = (E = (_ = o[C]) == null ? void 0 : _.palette) == null ? void 0 : E.mode, N = !n && A ? {
2819
+ } = O, A = (E = (_ = o[P]) == null ? void 0 : _.palette) == null ? void 0 : E.mode, N = !n && A ? {
2820
2820
  colorScheme: A,
2821
2821
  ...b
2822
2822
  } : {
2823
2823
  ...b
2824
2824
  };
2825
- P(r(C, {
2825
+ T(r(P, {
2826
2826
  ...N
2827
2827
  }), N);
2828
2828
  }
2829
- return Object.entries(T).forEach(([b, {
2829
+ return Object.entries(R).forEach(([b, {
2830
2830
  css: A
2831
2831
  }]) => {
2832
2832
  var z, te;
@@ -2836,7 +2836,7 @@ function _b(e, t = {}) {
2836
2836
  } : {
2837
2837
  ...A
2838
2838
  };
2839
- P(r(b, {
2839
+ T(r(b, {
2840
2840
  ...V
2841
2841
  }), V);
2842
2842
  }), w;
@@ -2932,18 +2932,18 @@ function Db(e = {}) {
2932
2932
  divider: m,
2933
2933
  children: y,
2934
2934
  className: S,
2935
- useFlexGap: R = !1,
2935
+ useFlexGap: C = !1,
2936
2936
  ...w
2937
- } = d, C = {
2937
+ } = d, P = {
2938
2938
  direction: p,
2939
2939
  spacing: f,
2940
- useFlexGap: R
2941
- }, P = a();
2940
+ useFlexGap: C
2941
+ }, T = a();
2942
2942
  return /* @__PURE__ */ g.jsx(o, {
2943
2943
  as: h,
2944
- ownerState: C,
2944
+ ownerState: P,
2945
2945
  ref: c,
2946
- className: _t(P.root, S),
2946
+ className: _t(T.root, S),
2947
2947
  ...w,
2948
2948
  children: m ? kb(y, m) : y
2949
2949
  });
@@ -3174,7 +3174,7 @@ function Bl(e) {
3174
3174
  color: m,
3175
3175
  name: y,
3176
3176
  mainShade: S = 500,
3177
- lightShade: R = 300,
3177
+ lightShade: C = 300,
3178
3178
  darkShade: w = 700
3179
3179
  }) => {
3180
3180
  if (m = {
@@ -3197,7 +3197,7 @@ const theme1 = createTheme({ palette: {
3197
3197
  const theme2 = createTheme({ palette: {
3198
3198
  primary: { main: green[500] },
3199
3199
  } });` : xr(12, y ? ` (${y})` : "", JSON.stringify(m.main)));
3200
- return pu(m, "light", R, n), pu(m, "dark", w, n), m.contrastText || (m.contrastText = d(m.main)), m;
3200
+ return pu(m, "light", C, n), pu(m, "dark", w, n), m.contrastText || (m.contrastText = d(m.main)), m;
3201
3201
  };
3202
3202
  let p;
3203
3203
  return t === "light" ? p = Pp() : t === "dark" && (p = Tp()), process.env.NODE_ENV !== "production" && (p || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), it({
@@ -3306,18 +3306,18 @@ function Kb(e, t) {
3306
3306
  ...d
3307
3307
  } = typeof t == "function" ? t(e) : t;
3308
3308
  process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof l != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
3309
- const h = n / 14, p = u || ((y) => `${y / l * h}rem`), f = (y, S, R, w, C) => ({
3309
+ const h = n / 14, p = u || ((y) => `${y / l * h}rem`), f = (y, S, C, w, P) => ({
3310
3310
  fontFamily: r,
3311
3311
  fontWeight: y,
3312
3312
  fontSize: p(S),
3313
3313
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
3314
- lineHeight: R,
3314
+ lineHeight: C,
3315
3315
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
3316
3316
  // across font-families can cause issues with the kerning.
3317
3317
  ...r === fu ? {
3318
3318
  letterSpacing: `${Yb(w / S)}em`
3319
3319
  } : {},
3320
- ...C,
3320
+ ...P,
3321
3321
  ...c
3322
3322
  }), m = {
3323
3323
  h1: f(a, 96, 1.167, -1.5),
@@ -3488,13 +3488,13 @@ function el(e = {}, ...t) {
3488
3488
  const p = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (m, y) => {
3489
3489
  let S;
3490
3490
  for (S in m) {
3491
- const R = m[S];
3492
- if (p.includes(S) && Object.keys(R).length > 0) {
3491
+ const C = m[S];
3492
+ if (p.includes(S) && Object.keys(C).length > 0) {
3493
3493
  if (process.env.NODE_ENV !== "production") {
3494
3494
  const w = jn("", S);
3495
3495
  console.error([`MUI: The \`${y}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(m, null, 2), "", `Instead, you need to use the '&.${w}' syntax:`, JSON.stringify({
3496
3496
  root: {
3497
- [`&.${w}`]: R
3497
+ [`&.${w}`]: C
3498
3498
  }
3499
3499
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3500
3500
  `));
@@ -3680,12 +3680,12 @@ function gx(e = {}, ...t) {
3680
3680
  } = r, S = {
3681
3681
  ...y
3682
3682
  };
3683
- let R = p;
3684
- if ((d === "dark" && !("dark" in r) || d === "light" && !("light" in r)) && (R = !0), !R)
3683
+ let C = p;
3684
+ if ((d === "dark" && !("dark" in r) || d === "light" && !("light" in r)) && (C = !0), !C)
3685
3685
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${d}\` option is either missing or invalid.` : xr(21, d));
3686
- const w = mi(S, R, c, d);
3686
+ const w = mi(S, C, c, d);
3687
3687
  f && !S.light && mi(S, f, void 0, "light"), m && !S.dark && mi(S, m, void 0, "dark");
3688
- let C = {
3688
+ let P = {
3689
3689
  defaultColorScheme: d,
3690
3690
  ...w,
3691
3691
  cssVarPrefix: o,
@@ -3699,8 +3699,8 @@ function gx(e = {}, ...t) {
3699
3699
  },
3700
3700
  spacing: mx(c.spacing)
3701
3701
  };
3702
- Object.keys(C.colorSchemes).forEach((E) => {
3703
- const b = C.colorSchemes[E].palette, A = (N) => {
3702
+ Object.keys(P.colorSchemes).forEach((E) => {
3703
+ const b = P.colorSchemes[E].palette, A = (N) => {
3704
3704
  const V = N.split("-"), z = V[1], te = V[2];
3705
3705
  return h(N, b[z][te]);
3706
3706
  };
@@ -3718,30 +3718,30 @@ function gx(e = {}, ...t) {
3718
3718
  const V = b[N];
3719
3719
  N !== "tonalOffset" && V && typeof V == "object" && (V.main && H(b[N], "mainChannel", da(ha(V.main))), V.light && H(b[N], "lightChannel", da(ha(V.light))), V.dark && H(b[N], "darkChannel", da(ha(V.dark))), V.contrastText && H(b[N], "contrastTextChannel", da(ha(V.contrastText))), N === "text" && (Jt(b[N], "primary"), Jt(b[N], "secondary")), N === "action" && (V.active && Jt(b[N], "active"), V.selected && Jt(b[N], "selected")));
3720
3720
  });
3721
- }), C = t.reduce((E, b) => it(E, b), C);
3722
- const P = {
3721
+ }), P = t.reduce((E, b) => it(E, b), P);
3722
+ const T = {
3723
3723
  prefix: o,
3724
3724
  disableCssColorScheme: a,
3725
3725
  shouldSkipGeneratingVar: s,
3726
- getSelector: hx(C)
3726
+ getSelector: hx(P)
3727
3727
  }, {
3728
3728
  vars: O,
3729
- generateThemeVars: T,
3729
+ generateThemeVars: R,
3730
3730
  generateStyleSheets: _
3731
- } = _b(C, P);
3732
- return C.vars = O, Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([E, b]) => {
3733
- C[E] = b;
3734
- }), C.generateThemeVars = T, C.generateStyleSheets = _, C.generateSpacing = function() {
3731
+ } = _b(P, T);
3732
+ return P.vars = O, Object.entries(P.colorSchemes[P.defaultColorScheme]).forEach(([E, b]) => {
3733
+ P[E] = b;
3734
+ }), P.generateThemeVars = R, P.generateStyleSheets = _, P.generateSpacing = function() {
3735
3735
  return gp(c.spacing, bs(this));
3736
- }, C.getColorSchemeSelector = Eb(i), C.spacing = C.generateSpacing(), C.shouldSkipGeneratingVar = s, C.unstable_sxConfig = {
3736
+ }, P.getColorSchemeSelector = Eb(i), P.spacing = P.generateSpacing(), P.shouldSkipGeneratingVar = s, P.unstable_sxConfig = {
3737
3737
  ...Ua,
3738
3738
  ...c == null ? void 0 : c.unstable_sxConfig
3739
- }, C.unstable_sx = function(b) {
3739
+ }, P.unstable_sx = function(b) {
3740
3740
  return Pn({
3741
3741
  sx: b,
3742
3742
  theme: this
3743
3743
  });
3744
- }, C.toRuntimeSource = Rp, C;
3744
+ }, P.toRuntimeSource = Rp, P;
3745
3745
  }
3746
3746
  function yu(e, t, r) {
3747
3747
  e.colorSchemes && r && (e.colorSchemes[t] = {
@@ -4174,44 +4174,44 @@ function Mp(e, ...t) {
4174
4174
  argsMemoize: p = Vp,
4175
4175
  argsMemoizeOptions: f = [],
4176
4176
  devModeChecks: m = {}
4177
- } = u, y = vu(h), S = vu(f), R = Ix(a), w = d(function() {
4177
+ } = u, y = vu(h), S = vu(f), C = Ix(a), w = d(function() {
4178
4178
  return o++, c.apply(
4179
4179
  null,
4180
4180
  arguments
4181
4181
  );
4182
4182
  }, ...y);
4183
- let C = !0;
4184
- const P = p(function() {
4183
+ let P = !0;
4184
+ const T = p(function() {
4185
4185
  s++;
4186
- const T = Su(
4187
- R,
4186
+ const R = Su(
4187
+ C,
4188
4188
  arguments
4189
4189
  );
4190
- if (i = w.apply(null, T), process.env.NODE_ENV !== "production") {
4191
- const { identityFunctionCheck: _, inputStabilityCheck: E } = _x(C, m);
4190
+ if (i = w.apply(null, R), process.env.NODE_ENV !== "production") {
4191
+ const { identityFunctionCheck: _, inputStabilityCheck: E } = _x(P, m);
4192
4192
  if (_.shouldRun && _.run(
4193
4193
  c,
4194
- T,
4194
+ R,
4195
4195
  i
4196
4196
  ), E.shouldRun) {
4197
4197
  const b = Su(
4198
- R,
4198
+ C,
4199
4199
  arguments
4200
4200
  );
4201
4201
  E.run(
4202
- { inputSelectorResults: T, inputSelectorResultsCopy: b },
4202
+ { inputSelectorResults: R, inputSelectorResultsCopy: b },
4203
4203
  { memoize: d, memoizeOptions: y },
4204
4204
  arguments
4205
4205
  );
4206
4206
  }
4207
- C && (C = !1);
4207
+ P && (P = !1);
4208
4208
  }
4209
4209
  return i;
4210
4210
  }, ...S);
4211
- return Object.assign(P, {
4211
+ return Object.assign(T, {
4212
4212
  resultFunc: c,
4213
4213
  memoizedResultFunc: w,
4214
- dependencies: R,
4214
+ dependencies: C,
4215
4215
  dependencyRecomputations: () => s,
4216
4216
  resetDependencyRecomputations: () => {
4217
4217
  s = 0;
@@ -4348,16 +4348,16 @@ function qx() {
4348
4348
  y = s({
4349
4349
  inst: { value: m, getSnapshot: f }
4350
4350
  });
4351
- var S = y[0].inst, R = y[1];
4351
+ var S = y[0].inst, C = y[1];
4352
4352
  return l(
4353
4353
  function() {
4354
- S.value = m, S.getSnapshot = f, r(S) && R({ inst: S });
4354
+ S.value = m, S.getSnapshot = f, r(S) && C({ inst: S });
4355
4355
  },
4356
4356
  [p, m, f]
4357
4357
  ), i(
4358
4358
  function() {
4359
- return r(S) && R({ inst: S }), p(function() {
4360
- r(S) && R({ inst: S });
4359
+ return r(S) && C({ inst: S }), p(function() {
4360
+ r(S) && C({ inst: S });
4361
4361
  });
4362
4362
  },
4363
4363
  [p]
@@ -4412,25 +4412,25 @@ function Wx() {
4412
4412
  f = i(
4413
4413
  function() {
4414
4414
  function S(O) {
4415
- if (!R) {
4416
- if (R = !0, w = O, O = h(O), p !== void 0 && m.hasValue) {
4417
- var T = m.value;
4418
- if (p(T, O))
4419
- return C = T;
4415
+ if (!C) {
4416
+ if (C = !0, w = O, O = h(O), p !== void 0 && m.hasValue) {
4417
+ var R = m.value;
4418
+ if (p(R, O))
4419
+ return P = R;
4420
4420
  }
4421
- return C = O;
4421
+ return P = O;
4422
4422
  }
4423
- if (T = C, n(w, O)) return T;
4423
+ if (R = P, n(w, O)) return R;
4424
4424
  var _ = h(O);
4425
- return p !== void 0 && p(T, _) ? (w = O, T) : (w = O, C = _);
4425
+ return p !== void 0 && p(R, _) ? (w = O, R) : (w = O, P = _);
4426
4426
  }
4427
- var R = !1, w, C, P = d === void 0 ? null : d;
4427
+ var C = !1, w, P, T = d === void 0 ? null : d;
4428
4428
  return [
4429
4429
  function() {
4430
4430
  return S(u());
4431
4431
  },
4432
- P === null ? void 0 : function() {
4433
- return S(P());
4432
+ T === null ? void 0 : function() {
4433
+ return S(T());
4434
4434
  }
4435
4435
  ];
4436
4436
  },
@@ -4472,26 +4472,26 @@ function Jx() {
4472
4472
  f = i(
4473
4473
  function() {
4474
4474
  function S(O) {
4475
- if (!R) {
4476
- if (R = !0, w = O, O = h(O), p !== void 0 && m.hasValue) {
4477
- var T = m.value;
4478
- if (p(T, O))
4479
- return C = T;
4475
+ if (!C) {
4476
+ if (C = !0, w = O, O = h(O), p !== void 0 && m.hasValue) {
4477
+ var R = m.value;
4478
+ if (p(R, O))
4479
+ return P = R;
4480
4480
  }
4481
- return C = O;
4481
+ return P = O;
4482
4482
  }
4483
- if (T = C, n(w, O))
4484
- return T;
4483
+ if (R = P, n(w, O))
4484
+ return R;
4485
4485
  var _ = h(O);
4486
- return p !== void 0 && p(T, _) ? (w = O, T) : (w = O, C = _);
4486
+ return p !== void 0 && p(R, _) ? (w = O, R) : (w = O, P = _);
4487
4487
  }
4488
- var R = !1, w, C, P = d === void 0 ? null : d;
4488
+ var C = !1, w, P, T = d === void 0 ? null : d;
4489
4489
  return [
4490
4490
  function() {
4491
4491
  return S(u());
4492
4492
  },
4493
- P === null ? void 0 : function() {
4494
- return S(P());
4493
+ T === null ? void 0 : function() {
4494
+ return S(T());
4495
4495
  }
4496
4496
  ];
4497
4497
  },
@@ -4573,8 +4573,8 @@ const m1 = 10, As = ({
4573
4573
  const f = r == null ? void 0 : r.current;
4574
4574
  if (!f)
4575
4575
  return {};
4576
- const y = Gx(f).getComputedStyle(f), S = Math.floor(parseFloat(y.height)) || 0, R = Math.floor(parseFloat(y.width)) || 0;
4577
- return t.update((w) => w.dimensions.width === R && w.dimensions.height === S ? w : J({}, w, {
4576
+ const y = Gx(f).getComputedStyle(f), S = Math.floor(parseFloat(y.height)) || 0, C = Math.floor(parseFloat(y.width)) || 0;
4577
+ return t.update((w) => w.dimensions.width === C && w.dimensions.height === S ? w : J({}, w, {
4578
4578
  dimensions: {
4579
4579
  margin: {
4580
4580
  top: e.margin.top,
@@ -4582,14 +4582,14 @@ const m1 = 10, As = ({
4582
4582
  bottom: e.margin.bottom,
4583
4583
  left: e.margin.left
4584
4584
  },
4585
- width: e.width ?? R,
4585
+ width: e.width ?? C,
4586
4586
  height: e.height ?? S,
4587
4587
  propsWidth: e.width,
4588
4588
  propsHeight: e.height
4589
4589
  }
4590
4590
  })), {
4591
4591
  height: S,
4592
- width: R
4592
+ width: C
4593
4593
  };
4594
4594
  }, [
4595
4595
  t,
@@ -5765,10 +5765,10 @@ class Wl extends Fa {
5765
5765
  * Emit pan-specific events with additional data
5766
5766
  */
5767
5767
  emitPanEvent(t, r, n, a, o) {
5768
- var S, R;
5768
+ var S, C;
5769
5769
  if (!this.state.startCentroid)
5770
5770
  return;
5771
- const s = ((S = this.state.lastDeltas) == null ? void 0 : S.x) ?? 0, i = ((R = this.state.lastDeltas) == null ? void 0 : R.y) ?? 0, l = this.state.startPointers.values().next().value, c = l ? (a.timeStamp - l.timeStamp) / 1e3 : 0, u = c > 0 ? s / c : 0, d = c > 0 ? i / c : 0, h = Math.sqrt(u * u + d * d), p = this.gesturesRegistry.getActiveGestures(t), f = {
5771
+ const s = ((S = this.state.lastDeltas) == null ? void 0 : S.x) ?? 0, i = ((C = this.state.lastDeltas) == null ? void 0 : C.y) ?? 0, l = this.state.startPointers.values().next().value, c = l ? (a.timeStamp - l.timeStamp) / 1e3 : 0, u = c > 0 ? s / c : 0, d = c > 0 ? i / c : 0, h = Math.sqrt(u * u + d * d), p = this.gesturesRegistry.getActiveGestures(t), f = {
5772
5772
  gestureName: this.name,
5773
5773
  initialCentroid: this.state.startCentroid,
5774
5774
  centroid: o,
@@ -7299,18 +7299,18 @@ function jv(e) {
7299
7299
  var t = e.grouping === void 0 || e.thousands === void 0 ? Yu : Iv(Ku.call(e.grouping, Number), e.thousands + ""), r = e.currency === void 0 ? "" : e.currency[0] + "", n = e.currency === void 0 ? "" : e.currency[1] + "", a = e.decimal === void 0 ? "." : e.decimal + "", o = e.numerals === void 0 ? Yu : _v(Ku.call(e.numerals, String)), s = e.percent === void 0 ? "%" : e.percent + "", i = e.minus === void 0 ? "−" : e.minus + "", l = e.nan === void 0 ? "NaN" : e.nan + "";
7300
7300
  function c(d) {
7301
7301
  d = Ra(d);
7302
- var h = d.fill, p = d.align, f = d.sign, m = d.symbol, y = d.zero, S = d.width, R = d.comma, w = d.precision, C = d.trim, P = d.type;
7303
- P === "n" ? (R = !0, P = "g") : Ju[P] || (w === void 0 && (w = 12), C = !0, P = "g"), (y || h === "0" && p === "=") && (y = !0, h = "0", p = "=");
7304
- var O = m === "$" ? r : m === "#" && /[boxX]/.test(P) ? "0" + P.toLowerCase() : "", T = m === "$" ? n : /[%p]/.test(P) ? s : "", _ = Ju[P], E = /[defgprs%]/.test(P);
7305
- w = w === void 0 ? 6 : /[gprs]/.test(P) ? Math.max(1, Math.min(21, w)) : Math.max(0, Math.min(20, w));
7302
+ var h = d.fill, p = d.align, f = d.sign, m = d.symbol, y = d.zero, S = d.width, C = d.comma, w = d.precision, P = d.trim, T = d.type;
7303
+ T === "n" ? (C = !0, T = "g") : Ju[T] || (w === void 0 && (w = 12), P = !0, T = "g"), (y || h === "0" && p === "=") && (y = !0, h = "0", p = "=");
7304
+ var O = m === "$" ? r : m === "#" && /[boxX]/.test(T) ? "0" + T.toLowerCase() : "", R = m === "$" ? n : /[%p]/.test(T) ? s : "", _ = Ju[T], E = /[defgprs%]/.test(T);
7305
+ w = w === void 0 ? 6 : /[gprs]/.test(T) ? Math.max(1, Math.min(21, w)) : Math.max(0, Math.min(20, w));
7306
7306
  function b(A) {
7307
- var N = O, V = T, z, te, ee;
7308
- if (P === "c")
7307
+ var N = O, V = R, z, te, ee;
7308
+ if (T === "c")
7309
7309
  V = _(A) + V, A = "";
7310
7310
  else {
7311
7311
  A = +A;
7312
7312
  var ne = A < 0 || 1 / A < 0;
7313
- if (A = isNaN(A) ? l : _(Math.abs(A), w), C && (A = Vv(A)), ne && +A == 0 && f !== "+" && (ne = !1), N = (ne ? f === "(" ? f : i : f === "-" || f === "(" ? "" : f) + N, V = (P === "s" ? Qu[8 + rm / 3] : "") + V + (ne && f === "(" ? ")" : ""), E) {
7313
+ if (A = isNaN(A) ? l : _(Math.abs(A), w), P && (A = Vv(A)), ne && +A == 0 && f !== "+" && (ne = !1), N = (ne ? f === "(" ? f : i : f === "-" || f === "(" ? "" : f) + N, V = (T === "s" ? Qu[8 + rm / 3] : "") + V + (ne && f === "(" ? ")" : ""), E) {
7314
7314
  for (z = -1, te = A.length; ++z < te; )
7315
7315
  if (ee = A.charCodeAt(z), 48 > ee || ee > 57) {
7316
7316
  V = (ee === 46 ? a + A.slice(z + 1) : A.slice(z)) + V, A = A.slice(0, z);
@@ -7318,9 +7318,9 @@ function jv(e) {
7318
7318
  }
7319
7319
  }
7320
7320
  }
7321
- R && !y && (A = t(A, 1 / 0));
7321
+ C && !y && (A = t(A, 1 / 0));
7322
7322
  var X = N.length + A.length + V.length, ie = X < S ? new Array(S - X + 1).join(h) : "";
7323
- switch (R && y && (A = t(ie + A, ie.length ? S - V.length : 1 / 0), ie = ""), p) {
7323
+ switch (C && y && (A = t(ie + A, ie.length ? S - V.length : 1 / 0), ie = ""), p) {
7324
7324
  case "<":
7325
7325
  A = N + A + V + ie;
7326
7326
  break;
@@ -7757,7 +7757,7 @@ function Qn(e, t, r) {
7757
7757
  return { y: e, m: t, d: r, H: 0, M: 0, S: 0, L: 0 };
7758
7758
  }
7759
7759
  function lS(e) {
7760
- var t = e.dateTime, r = e.date, n = e.time, a = e.periods, o = e.days, s = e.shortDays, i = e.months, l = e.shortMonths, c = Xn(a), u = Zn(a), d = Xn(o), h = Zn(o), p = Xn(s), f = Zn(s), m = Xn(i), y = Zn(i), S = Xn(l), R = Zn(l), w = {
7760
+ var t = e.dateTime, r = e.date, n = e.time, a = e.periods, o = e.days, s = e.shortDays, i = e.months, l = e.shortMonths, c = Xn(a), u = Zn(a), d = Xn(o), h = Zn(o), p = Xn(s), f = Zn(s), m = Xn(i), y = Zn(i), S = Xn(l), C = Zn(l), w = {
7761
7761
  a: ne,
7762
7762
  A: X,
7763
7763
  b: ie,
@@ -7790,7 +7790,7 @@ function lS(e) {
7790
7790
  Y: NS,
7791
7791
  Z: GS,
7792
7792
  "%": ud
7793
- }, C = {
7793
+ }, P = {
7794
7794
  a: _e,
7795
7795
  A: Je,
7796
7796
  b: Pe,
@@ -7823,7 +7823,7 @@ function lS(e) {
7823
7823
  Y: ow,
7824
7824
  Z: iw,
7825
7825
  "%": ud
7826
- }, P = {
7826
+ }, T = {
7827
7827
  a: b,
7828
7828
  A,
7829
7829
  b: N,
@@ -7857,7 +7857,7 @@ function lS(e) {
7857
7857
  Z: yS,
7858
7858
  "%": PS
7859
7859
  };
7860
- w.x = O(r, w), w.X = O(n, w), w.c = O(t, w), C.x = O(r, C), C.X = O(n, C), C.c = O(t, C);
7860
+ w.x = O(r, w), w.X = O(n, w), w.c = O(t, w), P.x = O(r, P), P.X = O(n, P), P.c = O(t, P);
7861
7861
  function O(K, ae) {
7862
7862
  return function(le) {
7863
7863
  var W = [], xe = -1, me = 0, Ze = K.length, Ye, Ue, cr;
@@ -7866,7 +7866,7 @@ function lS(e) {
7866
7866
  return W.push(K.slice(me, xe)), W.join("");
7867
7867
  };
7868
7868
  }
7869
- function T(K, ae) {
7869
+ function R(K, ae) {
7870
7870
  return function(le) {
7871
7871
  var W = Qn(1900, void 0, 1), xe = _(W, K, le += "", 0), me, Ze;
7872
7872
  if (xe != le.length) return null;
@@ -7883,7 +7883,7 @@ function lS(e) {
7883
7883
  for (var xe = 0, me = ae.length, Ze = le.length, Ye, Ue; xe < me; ) {
7884
7884
  if (W >= Ze) return -1;
7885
7885
  if (Ye = ae.charCodeAt(xe++), Ye === 37) {
7886
- if (Ye = ae.charAt(xe++), Ue = P[Ye in nd ? ae.charAt(xe++) : Ye], !Ue || (W = Ue(K, le, W)) < 0) return -1;
7886
+ if (Ye = ae.charAt(xe++), Ue = T[Ye in nd ? ae.charAt(xe++) : Ye], !Ue || (W = Ue(K, le, W)) < 0) return -1;
7887
7887
  } else if (Ye != le.charCodeAt(W++))
7888
7888
  return -1;
7889
7889
  }
@@ -7903,7 +7903,7 @@ function lS(e) {
7903
7903
  }
7904
7904
  function N(K, ae, le) {
7905
7905
  var W = S.exec(ae.slice(le));
7906
- return W ? (K.m = R.get(W[0].toLowerCase()), le + W[0].length) : -1;
7906
+ return W ? (K.m = C.get(W[0].toLowerCase()), le + W[0].length) : -1;
7907
7907
  }
7908
7908
  function V(K, ae, le) {
7909
7909
  var W = m.exec(ae.slice(le));
@@ -7962,19 +7962,19 @@ function lS(e) {
7962
7962
  }, ae;
7963
7963
  },
7964
7964
  parse: function(K) {
7965
- var ae = T(K += "", !1);
7965
+ var ae = R(K += "", !1);
7966
7966
  return ae.toString = function() {
7967
7967
  return K;
7968
7968
  }, ae;
7969
7969
  },
7970
7970
  utcFormat: function(K) {
7971
- var ae = O(K += "", C);
7971
+ var ae = O(K += "", P);
7972
7972
  return ae.toString = function() {
7973
7973
  return K;
7974
7974
  }, ae;
7975
7975
  },
7976
7976
  utcParse: function(K) {
7977
- var ae = T(K += "", !0);
7977
+ var ae = R(K += "", !0);
7978
7978
  return ae.toString = function() {
7979
7979
  return K;
7980
7980
  }, ae;
@@ -8232,22 +8232,22 @@ function uw(e) {
8232
8232
  return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
8233
8233
  }
8234
8234
  function bc(e, t, r, n, a, o, s, i, l, c) {
8235
- var u = tm(), d = u.invert, h = u.domain, p = c(".%L"), f = c(":%S"), m = c("%I:%M"), y = c("%I %p"), S = c("%a %d"), R = c("%b %d"), w = c("%B"), C = c("%Y");
8236
- function P(O) {
8237
- return (l(O) < O ? p : i(O) < O ? f : s(O) < O ? m : o(O) < O ? y : n(O) < O ? a(O) < O ? S : R : r(O) < O ? w : C)(O);
8235
+ var u = tm(), d = u.invert, h = u.domain, p = c(".%L"), f = c(":%S"), m = c("%I:%M"), y = c("%I %p"), S = c("%a %d"), C = c("%b %d"), w = c("%B"), P = c("%Y");
8236
+ function T(O) {
8237
+ return (l(O) < O ? p : i(O) < O ? f : s(O) < O ? m : o(O) < O ? y : n(O) < O ? a(O) < O ? S : C : r(O) < O ? w : P)(O);
8238
8238
  }
8239
8239
  return u.invert = function(O) {
8240
8240
  return new Date(d(O));
8241
8241
  }, u.domain = function(O) {
8242
8242
  return arguments.length ? h(Array.from(O, uw)) : h().map(cw);
8243
8243
  }, u.ticks = function(O) {
8244
- var T = h();
8245
- return e(T[0], T[T.length - 1], O ?? 10);
8246
- }, u.tickFormat = function(O, T) {
8247
- return T == null ? P : c(T);
8244
+ var R = h();
8245
+ return e(R[0], R[R.length - 1], O ?? 10);
8246
+ }, u.tickFormat = function(O, R) {
8247
+ return R == null ? T : c(R);
8248
8248
  }, u.nice = function(O) {
8249
- var T = h();
8250
- return (!O || typeof O.range != "function") && (O = t(T[0], T[T.length - 1], O ?? 10)), O ? h(om(T, O)) : u;
8249
+ var R = h();
8250
+ return (!O || typeof O.range != "function") && (O = t(R[0], R[R.length - 1], O ?? 10)), O ? h(om(R, O)) : u;
8251
8251
  }, u.copy = function() {
8252
8252
  return Vs(u, bc(e, t, r, n, a, o, s, i, l, c));
8253
8253
  }, u;
@@ -8447,7 +8447,7 @@ function vm({
8447
8447
  };
8448
8448
  const c = Cw(a, n, t, r[0].id), u = {};
8449
8449
  return r.forEach((d, h) => {
8450
- const p = d, f = s == null ? void 0 : s[p.id], m = o == null ? void 0 : o.get(p.id), y = m ? [m.start, m.end] : [0, 100], S = Tw(e, a, p), [R, w] = xm(
8450
+ const p = d, f = s == null ? void 0 : s[p.id], m = o == null ? void 0 : o.get(p.id), y = m ? [m.start, m.end] : [0, 100], S = Tw(e, a, p), [C, w] = xm(
8451
8451
  p,
8452
8452
  a,
8453
8453
  n,
@@ -8455,7 +8455,7 @@ function vm({
8455
8455
  t,
8456
8456
  m === void 0 && !f ? i : void 0
8457
8457
  // Do not apply filtering if zoom is already defined.
8458
- ), C = !p.ignoreTooltip && c.has(p.id), P = p.data ?? [];
8458
+ ), P = !p.ignoreTooltip && c.has(p.id), T = p.data ?? [];
8459
8459
  if (fw(p)) {
8460
8460
  const ne = p.categoryGapRatio ?? Rw, X = p.barGapRatio ?? Aw, ie = a === "y" ? [S[1], S[0]] : S, q = Ri(ie, y);
8461
8461
  if (u[p.id] = J({
@@ -8463,9 +8463,9 @@ function vm({
8463
8463
  height: 0,
8464
8464
  categoryGapRatio: ne,
8465
8465
  barGapRatio: X,
8466
- triggerTooltip: C
8466
+ triggerTooltip: P
8467
8467
  }, p, {
8468
- data: P,
8468
+ data: T,
8469
8469
  scale: rc(p.data, q).paddingInner(ne).paddingOuter(ne / 2),
8470
8470
  tickNumber: p.data.length,
8471
8471
  colorScale: p.colorMap && (p.colorMap.type === "ordinal" ? Zo(J({
@@ -8481,9 +8481,9 @@ function vm({
8481
8481
  if (u[p.id] = J({
8482
8482
  offset: 0,
8483
8483
  height: 0,
8484
- triggerTooltip: C
8484
+ triggerTooltip: P
8485
8485
  }, p, {
8486
- data: P,
8486
+ data: T,
8487
8487
  scale: ev(p.data, X),
8488
8488
  tickNumber: p.data.length,
8489
8489
  colorScale: p.colorMap && (p.colorMap.type === "ordinal" ? Zo(J({
@@ -8496,24 +8496,24 @@ function vm({
8496
8496
  }
8497
8497
  if (p.scaleType === "band" || p.scaleType === "point")
8498
8498
  return;
8499
- const O = p.scaleType ?? "linear", T = l ? Pw(p, a, h, t) : p.domainLimit ?? "nice", _ = [p.min ?? R, p.max ?? w];
8500
- if (typeof T == "function") {
8499
+ const O = p.scaleType ?? "linear", R = l ? Pw(p, a, h, t) : p.domainLimit ?? "nice", _ = [p.min ?? C, p.max ?? w];
8500
+ if (typeof R == "function") {
8501
8501
  const {
8502
8502
  min: ne,
8503
8503
  max: X
8504
- } = T(R, w);
8504
+ } = R(C, w);
8505
8505
  _[0] = ne, _[1] = X;
8506
8506
  }
8507
8507
  const E = bw(J({}, p, {
8508
8508
  range: S,
8509
8509
  domain: _
8510
- })), b = xw(E, y), A = Ri(S, y), N = il(O, _, A), V = T === "nice" ? N.nice(E) : N, [z, te] = V.domain(), ee = [p.min ?? z, p.max ?? te];
8510
+ })), b = xw(E, y), A = Ri(S, y), N = il(O, _, A), V = R === "nice" ? N.nice(E) : N, [z, te] = V.domain(), ee = [p.min ?? z, p.max ?? te];
8511
8511
  u[p.id] = J({
8512
8512
  offset: 0,
8513
8513
  height: 0,
8514
- triggerTooltip: C
8514
+ triggerTooltip: P
8515
8515
  }, p, {
8516
- data: P,
8516
+ data: T,
8517
8517
  scaleType: O,
8518
8518
  scale: V.domain(ee),
8519
8519
  tickNumber: b,
@@ -8551,10 +8551,10 @@ function Sm({
8551
8551
  let d, h;
8552
8552
  [d, h] = il(!u || u === "band" || u === "point" ? "linear" : u, c, [0, 100]).nice().domain(), d = d instanceof Date ? d.getTime() : d, h = h instanceof Date ? h.getTime() : h;
8553
8553
  const f = d + l.start * (h - d) / 100, m = d + l.end * (h - d) / 100;
8554
- return (S, R) => {
8555
- var C;
8556
- const w = S[a] ?? ((C = o.data) == null ? void 0 : C[R]);
8557
- return w == null ? !0 : o.scaleType === "point" || o.scaleType === "band" || typeof w == "string" ? R >= f && R <= m : w >= f && w <= m;
8554
+ return (S, C) => {
8555
+ var P;
8556
+ const w = S[a] ?? ((P = o.data) == null ? void 0 : P[C]);
8557
+ return w == null ? !0 : o.scaleType === "point" || o.scaleType === "band" || typeof w == "string" ? C >= f && C <= m : w >= f && w <= m;
8558
8558
  };
8559
8559
  };
8560
8560
  }
@@ -8918,8 +8918,8 @@ const Bs = ({
8918
8918
  onHighlightedAxisChange: l
8919
8919
  } = e;
8920
8920
  if (process.env.NODE_ENV !== "production") {
8921
- const w = [...o ?? [], ...s ?? []].filter((P) => P.id).map((P) => P.id), C = new Set(w.filter((P, O) => w.indexOf(P) !== O));
8922
- C.size > 0 && Oa([`MUI X Charts: The following axis ids are duplicated: ${Array.from(C).join(", ")}.`, "Please make sure that each axis has a unique id."].join(`
8921
+ const w = [...o ?? [], ...s ?? []].filter((T) => T.id).map((T) => T.id), P = new Set(w.filter((T, O) => w.indexOf(T) !== O));
8922
+ P.size > 0 && Oa([`MUI X Charts: The following axis ids are duplicated: ${Array.from(P).join(", ")}.`, "Please make sure that each axis has a unique id."].join(`
8923
8923
  `), "error");
8924
8924
  }
8925
8925
  const c = dt(t, Da), u = dt(t, La), d = dt(t, kw), {
@@ -8953,33 +8953,33 @@ const Bs = ({
8953
8953
  })
8954
8954
  }));
8955
8955
  }, [r, c, o, s, i, t]);
8956
- const S = p[0], R = m[0];
8957
- return Gw(t, Lw, (w, C) => {
8958
- if (!Object.is(w, C)) {
8959
- if (w.length !== C.length) {
8960
- l(C);
8956
+ const S = p[0], C = m[0];
8957
+ return Gw(t, Lw, (w, P) => {
8958
+ if (!Object.is(w, P)) {
8959
+ if (w.length !== P.length) {
8960
+ l(P);
8961
8961
  return;
8962
8962
  }
8963
8963
  w != null && w.some(({
8964
- axisId: P,
8964
+ axisId: T,
8965
8965
  dataIndex: O
8966
- }, T) => C[T].axisId !== P || C[T].dataIndex !== O) && l(C);
8966
+ }, R) => P[R].axisId !== T || P[R].dataIndex !== O) && l(P);
8967
8967
  }
8968
8968
  }, !l), B.useEffect(() => {
8969
8969
  const w = n.current;
8970
8970
  if (!d || !w || e.disableAxisListener)
8971
8971
  return () => {
8972
8972
  };
8973
- const C = a.addInteractionListener("moveEnd", (A) => {
8973
+ const P = a.addInteractionListener("moveEnd", (A) => {
8974
8974
  var N;
8975
8975
  A.detail.activeGestures.pan || (N = a.cleanInteraction) == null || N.call(a);
8976
- }), P = a.addInteractionListener("panEnd", (A) => {
8976
+ }), T = a.addInteractionListener("panEnd", (A) => {
8977
8977
  var N;
8978
8978
  A.detail.activeGestures.move || (N = a.cleanInteraction) == null || N.call(a);
8979
8979
  }), O = a.addInteractionListener("quickPressEnd", (A) => {
8980
8980
  var N;
8981
8981
  !A.detail.activeGestures.move && !A.detail.activeGestures.pan && ((N = a.cleanInteraction) == null || N.call(a));
8982
- }), T = (A) => {
8982
+ }), R = (A) => {
8983
8983
  var te, ee;
8984
8984
  const N = A.detail.srcEvent, V = A.detail.target, z = xd(w, N);
8985
8985
  if (A.detail.srcEvent.buttons >= 1 && (V != null && V.hasPointerCapture(A.detail.srcEvent.pointerId)) && !(V != null && V.closest("[data-charts-zoom-slider]")) && (V == null || V.releasePointerCapture(A.detail.srcEvent.pointerId)), !a.isPointInside(z.x, z.y, V)) {
@@ -8987,39 +8987,39 @@ const Bs = ({
8987
8987
  return;
8988
8988
  }
8989
8989
  (ee = a.setPointerCoordinate) == null || ee.call(a, z);
8990
- }, _ = a.addInteractionListener("move", T), E = a.addInteractionListener("pan", T), b = a.addInteractionListener("quickPress", T);
8990
+ }, _ = a.addInteractionListener("move", R), E = a.addInteractionListener("pan", R), b = a.addInteractionListener("quickPress", R);
8991
8991
  return () => {
8992
- _.cleanup(), C.cleanup(), E.cleanup(), P.cleanup(), b.cleanup(), O.cleanup();
8992
+ _.cleanup(), P.cleanup(), E.cleanup(), T.cleanup(), b.cleanup(), O.cleanup();
8993
8993
  };
8994
- }, [n, t, h, S, f, R, a, e.disableAxisListener, d]), B.useEffect(() => {
8995
- const w = n.current, C = e.onAxisClick;
8996
- if (w === null || !C)
8994
+ }, [n, t, h, S, f, C, a, e.disableAxisListener, d]), B.useEffect(() => {
8995
+ const w = n.current, P = e.onAxisClick;
8996
+ if (w === null || !P)
8997
8997
  return () => {
8998
8998
  };
8999
- const P = a.addInteractionListener("tap", (O) => {
9000
- let T = null, _ = !1;
8999
+ const T = a.addInteractionListener("tap", (O) => {
9000
+ let R = null, _ = !1;
9001
9001
  const E = xd(w, O.detail.srcEvent), b = In(h[S], E.x);
9002
- _ = b !== -1, T = _ ? b : In(f[R], E.y);
9002
+ _ = b !== -1, R = _ ? b : In(f[C], E.y);
9003
9003
  const A = _ ? p[0] : m[0];
9004
- if (T == null || T === -1)
9004
+ if (R == null || R === -1)
9005
9005
  return;
9006
- const N = (_ ? h : f)[A].data[T], V = {};
9006
+ const N = (_ ? h : f)[A].data[R], V = {};
9007
9007
  Object.keys(u).filter((z) => ["bar", "line"].includes(z)).forEach((z) => {
9008
9008
  var te;
9009
9009
  (te = u[z]) == null || te.seriesOrder.forEach((ee) => {
9010
9010
  const ne = u[z].series[ee], X = ne.xAxisId, ie = ne.yAxisId, q = _ ? X : ie;
9011
- (q === void 0 || q === A) && (V[ee] = ne.data[T]);
9011
+ (q === void 0 || q === A) && (V[ee] = ne.data[R]);
9012
9012
  });
9013
- }), C(O.detail.srcEvent, {
9014
- dataIndex: T,
9013
+ }), P(O.detail.srcEvent, {
9014
+ dataIndex: R,
9015
9015
  axisValue: N,
9016
9016
  seriesValues: V
9017
9017
  });
9018
9018
  });
9019
9019
  return () => {
9020
- P.cleanup();
9020
+ T.cleanup();
9021
9021
  };
9022
- }, [e.onAxisClick, u, n, h, p, f, m, S, R, a]), {};
9022
+ }, [e.onAxisClick, u, n, h, p, f, m, S, C, a]), {};
9023
9023
  };
9024
9024
  Bs.params = {
9025
9025
  xAxis: !0,
@@ -9262,8 +9262,8 @@ class eO {
9262
9262
  else if (h > Ar) if (!(Math.abs(d * l - c * u) > Ar) || !o)
9263
9263
  this._append`L${this._x1 = t},${this._y1 = r}`;
9264
9264
  else {
9265
- let p = n - s, f = a - i, m = l * l + c * c, y = p * p + f * f, S = Math.sqrt(m), R = Math.sqrt(h), w = o * Math.tan((cl - Math.acos((m + h - y) / (2 * S * R))) / 2), C = w / R, P = w / S;
9266
- Math.abs(C - 1) > Ar && this._append`L${t + C * u},${r + C * d}`, this._append`A${o},${o},0,0,${+(d * p > u * f)},${this._x1 = t + P * l},${this._y1 = r + P * c}`;
9265
+ let p = n - s, f = a - i, m = l * l + c * c, y = p * p + f * f, S = Math.sqrt(m), C = Math.sqrt(h), w = o * Math.tan((cl - Math.acos((m + h - y) / (2 * S * C))) / 2), P = w / C, T = w / S;
9266
+ Math.abs(P - 1) > Ar && this._append`L${t + P * u},${r + P * d}`, this._append`A${o},${o},0,0,${+(d * p > u * f)},${this._x1 = t + T * l},${this._y1 = r + T * c}`;
9267
9267
  }
9268
9268
  }
9269
9269
  arc(t, r, n, a, o, s) {
@@ -9313,14 +9313,14 @@ function iO(e, t, r, n, a, o, s, i) {
9313
9313
  return h = (u * (t - o) - d * (e - a)) / h, [e + h * l, t + h * c];
9314
9314
  }
9315
9315
  function ho(e, t, r, n, a, o, s) {
9316
- var i = e - r, l = t - n, c = (s ? o : -o) / bn(i * i + l * l), u = c * l, d = -c * i, h = e + u, p = t + d, f = r + u, m = n + d, y = (h + f) / 2, S = (p + m) / 2, R = f - h, w = m - p, C = R * R + w * w, P = a - o, O = h * m - f * p, T = (w < 0 ? -1 : 1) * bn(Kw(0, P * P * C - O * O)), _ = (O * w - R * T) / C, E = (-O * R - w * T) / C, b = (O * w + R * T) / C, A = (-O * R + w * T) / C, N = _ - y, V = E - S, z = b - y, te = A - S;
9316
+ var i = e - r, l = t - n, c = (s ? o : -o) / bn(i * i + l * l), u = c * l, d = -c * i, h = e + u, p = t + d, f = r + u, m = n + d, y = (h + f) / 2, S = (p + m) / 2, C = f - h, w = m - p, P = C * C + w * w, T = a - o, O = h * m - f * p, R = (w < 0 ? -1 : 1) * bn(Kw(0, T * T * P - O * O)), _ = (O * w - C * R) / P, E = (-O * C - w * R) / P, b = (O * w + C * R) / P, A = (-O * C + w * R) / P, N = _ - y, V = E - S, z = b - y, te = A - S;
9317
9317
  return N * N + V * V > z * z + te * te && (_ = b, E = A), {
9318
9318
  cx: _,
9319
9319
  cy: E,
9320
9320
  x01: -u,
9321
9321
  y01: -d,
9322
- x11: _ * (a / P - 1),
9323
- y11: E * (a / P - 1)
9322
+ x11: _ * (a / T - 1),
9323
+ y11: E * (a / T - 1)
9324
9324
  };
9325
9325
  }
9326
9326
  function Mm() {
@@ -9331,14 +9331,14 @@ function Mm() {
9331
9331
  else if (y > Mo - ut)
9332
9332
  i.moveTo(p * Tr(f), p * jt(f)), i.arc(0, 0, p, f, m, !S), h > ut && (i.moveTo(h * Tr(m), h * jt(m)), i.arc(0, 0, h, m, f, S));
9333
9333
  else {
9334
- var R = f, w = m, C = f, P = m, O = y, T = y, _ = s.apply(this, arguments) / 2, E = _ > ut && (n ? +n.apply(this, arguments) : bn(h * h + p * p)), b = Ai(Cd(p - h) / 2, +r.apply(this, arguments)), A = b, N = b, V, z;
9334
+ var C = f, w = m, P = f, T = m, O = y, R = y, _ = s.apply(this, arguments) / 2, E = _ > ut && (n ? +n.apply(this, arguments) : bn(h * h + p * p)), b = Ai(Cd(p - h) / 2, +r.apply(this, arguments)), A = b, N = b, V, z;
9335
9335
  if (E > ut) {
9336
9336
  var te = Pd(E / h * jt(_)), ee = Pd(E / p * jt(_));
9337
- (O -= te * 2) > ut ? (te *= S ? 1 : -1, C += te, P -= te) : (O = 0, C = P = (f + m) / 2), (T -= ee * 2) > ut ? (ee *= S ? 1 : -1, R += ee, w -= ee) : (T = 0, R = w = (f + m) / 2);
9337
+ (O -= te * 2) > ut ? (te *= S ? 1 : -1, P += te, T -= te) : (O = 0, P = T = (f + m) / 2), (R -= ee * 2) > ut ? (ee *= S ? 1 : -1, C += ee, w -= ee) : (R = 0, C = w = (f + m) / 2);
9338
9338
  }
9339
- var ne = p * Tr(R), X = p * jt(R), ie = h * Tr(P), q = h * jt(P);
9339
+ var ne = p * Tr(C), X = p * jt(C), ie = h * Tr(T), q = h * jt(T);
9340
9340
  if (b > ut) {
9341
- var Q = p * Tr(w), de = p * jt(w), _e = h * Tr(C), Je = h * jt(C), Pe;
9341
+ var Q = p * Tr(w), de = p * jt(w), _e = h * Tr(P), Je = h * jt(P), Pe;
9342
9342
  if (y < Aa)
9343
9343
  if (Pe = iO(ne, X, _e, Je, Q, de, ie, q)) {
9344
9344
  var mt = ne - Pe[0], lt = X - Pe[1], be = Q - Pe[0], K = de - Pe[1], ae = 1 / jt(Qw((mt * be + lt * K) / (bn(mt * mt + lt * lt) * bn(be * be + K * K))) / 2), le = bn(Pe[0] * Pe[0] + Pe[1] * Pe[1]);
@@ -9346,7 +9346,7 @@ function Mm() {
9346
9346
  } else
9347
9347
  A = N = 0;
9348
9348
  }
9349
- T > ut ? N > ut ? (V = ho(_e, Je, ne, X, p, N, S), z = ho(Q, de, ie, q, p, N, S), i.moveTo(V.cx + V.x01, V.cy + V.y01), N < b ? i.arc(V.cx, V.cy, N, nt(V.y01, V.x01), nt(z.y01, z.x01), !S) : (i.arc(V.cx, V.cy, N, nt(V.y01, V.x01), nt(V.y11, V.x11), !S), i.arc(0, 0, p, nt(V.cy + V.y11, V.cx + V.x11), nt(z.cy + z.y11, z.cx + z.x11), !S), i.arc(z.cx, z.cy, N, nt(z.y11, z.x11), nt(z.y01, z.x01), !S))) : (i.moveTo(ne, X), i.arc(0, 0, p, R, w, !S)) : i.moveTo(ne, X), !(h > ut) || !(O > ut) ? i.lineTo(ie, q) : A > ut ? (V = ho(ie, q, Q, de, h, -A, S), z = ho(ne, X, _e, Je, h, -A, S), i.lineTo(V.cx + V.x01, V.cy + V.y01), A < b ? i.arc(V.cx, V.cy, A, nt(V.y01, V.x01), nt(z.y01, z.x01), !S) : (i.arc(V.cx, V.cy, A, nt(V.y01, V.x01), nt(V.y11, V.x11), !S), i.arc(0, 0, h, nt(V.cy + V.y11, V.cx + V.x11), nt(z.cy + z.y11, z.cx + z.x11), S), i.arc(z.cx, z.cy, A, nt(z.y11, z.x11), nt(z.y01, z.x01), !S))) : i.arc(0, 0, h, P, C, S);
9349
+ R > ut ? N > ut ? (V = ho(_e, Je, ne, X, p, N, S), z = ho(Q, de, ie, q, p, N, S), i.moveTo(V.cx + V.x01, V.cy + V.y01), N < b ? i.arc(V.cx, V.cy, N, nt(V.y01, V.x01), nt(z.y01, z.x01), !S) : (i.arc(V.cx, V.cy, N, nt(V.y01, V.x01), nt(V.y11, V.x11), !S), i.arc(0, 0, p, nt(V.cy + V.y11, V.cx + V.x11), nt(z.cy + z.y11, z.cx + z.x11), !S), i.arc(z.cx, z.cy, N, nt(z.y11, z.x11), nt(z.y01, z.x01), !S))) : (i.moveTo(ne, X), i.arc(0, 0, p, C, w, !S)) : i.moveTo(ne, X), !(h > ut) || !(O > ut) ? i.lineTo(ie, q) : A > ut ? (V = ho(ie, q, Q, de, h, -A, S), z = ho(ne, X, _e, Je, h, -A, S), i.lineTo(V.cx + V.x01, V.cy + V.y01), A < b ? i.arc(V.cx, V.cy, A, nt(V.y01, V.x01), nt(z.y01, z.x01), !S) : (i.arc(V.cx, V.cy, A, nt(V.y01, V.x01), nt(V.y11, V.x11), !S), i.arc(0, 0, h, nt(V.cy + V.y11, V.cx + V.x11), nt(z.cy + z.y11, z.cx + z.x11), S), i.arc(z.cx, z.cy, A, nt(z.y11, z.x11), nt(z.y01, z.x01), !S))) : i.arc(0, 0, h, T, P, S);
9350
9350
  }
9351
9351
  if (i.closePath(), u) return i = null, u + "" || null;
9352
9352
  }
@@ -9383,21 +9383,21 @@ function cO(e) {
9383
9383
  function uO() {
9384
9384
  var e = cO, t = lO, r = null, n = qe(0), a = qe(Mo), o = qe(0);
9385
9385
  function s(i) {
9386
- var l, c = (i = jm(i)).length, u, d, h = 0, p = new Array(c), f = new Array(c), m = +n.apply(this, arguments), y = Math.min(Mo, Math.max(-Mo, a.apply(this, arguments) - m)), S, R = Math.min(Math.abs(y) / c, o.apply(this, arguments)), w = R * (y < 0 ? -1 : 1), C;
9386
+ var l, c = (i = jm(i)).length, u, d, h = 0, p = new Array(c), f = new Array(c), m = +n.apply(this, arguments), y = Math.min(Mo, Math.max(-Mo, a.apply(this, arguments) - m)), S, C = Math.min(Math.abs(y) / c, o.apply(this, arguments)), w = C * (y < 0 ? -1 : 1), P;
9387
9387
  for (l = 0; l < c; ++l)
9388
- (C = f[p[l] = l] = +e(i[l], l, i)) > 0 && (h += C);
9389
- for (t != null ? p.sort(function(P, O) {
9390
- return t(f[P], f[O]);
9391
- }) : r != null && p.sort(function(P, O) {
9392
- return r(i[P], i[O]);
9388
+ (P = f[p[l] = l] = +e(i[l], l, i)) > 0 && (h += P);
9389
+ for (t != null ? p.sort(function(T, O) {
9390
+ return t(f[T], f[O]);
9391
+ }) : r != null && p.sort(function(T, O) {
9392
+ return r(i[T], i[O]);
9393
9393
  }), l = 0, d = h ? (y - c * w) / h : 0; l < c; ++l, m = S)
9394
- u = p[l], C = f[u], S = m + (C > 0 ? C * d : 0) + w, f[u] = {
9394
+ u = p[l], P = f[u], S = m + (P > 0 ? P * d : 0) + w, f[u] = {
9395
9395
  data: i[u],
9396
9396
  index: l,
9397
- value: C,
9397
+ value: P,
9398
9398
  startAngle: m,
9399
9399
  endAngle: S,
9400
- padAngle: R
9400
+ padAngle: C
9401
9401
  };
9402
9402
  return f;
9403
9403
  }
@@ -10216,39 +10216,39 @@ function uC() {
10216
10216
  function d(m, y, S) {
10217
10217
  return 3 * i(y, S) * m * m + 2 * l(y, S) * m + c(y);
10218
10218
  }
10219
- function h(m, y, S, R, w) {
10220
- var C, P, O = 0;
10219
+ function h(m, y, S, C, w) {
10220
+ var P, T, O = 0;
10221
10221
  do
10222
- P = y + (S - y) / 2, C = u(P, R, w) - m, C > 0 ? S = P : y = P;
10223
- while (Math.abs(C) > r && ++O < n);
10224
- return P;
10222
+ T = y + (S - y) / 2, P = u(T, C, w) - m, P > 0 ? S = T : y = T;
10223
+ while (Math.abs(P) > r && ++O < n);
10224
+ return T;
10225
10225
  }
10226
- function p(m, y, S, R) {
10226
+ function p(m, y, S, C) {
10227
10227
  for (var w = 0; w < e; ++w) {
10228
- var C = d(y, S, R);
10229
- if (C === 0)
10228
+ var P = d(y, S, C);
10229
+ if (P === 0)
10230
10230
  return y;
10231
- var P = u(y, S, R) - m;
10232
- y -= P / C;
10231
+ var T = u(y, S, C) - m;
10232
+ y -= T / P;
10233
10233
  }
10234
10234
  return y;
10235
10235
  }
10236
10236
  function f(m) {
10237
10237
  return m;
10238
10238
  }
10239
- return Ei = function(y, S, R, w) {
10240
- if (!(0 <= y && y <= 1 && 0 <= R && R <= 1))
10239
+ return Ei = function(y, S, C, w) {
10240
+ if (!(0 <= y && y <= 1 && 0 <= C && C <= 1))
10241
10241
  throw new Error("bezier x values must be in [0, 1] range");
10242
- if (y === S && R === w)
10242
+ if (y === S && C === w)
10243
10243
  return f;
10244
- for (var C = s ? new Float32Array(a) : new Array(a), P = 0; P < a; ++P)
10245
- C[P] = u(P * o, y, R);
10246
- function O(T) {
10247
- for (var _ = 0, E = 1, b = a - 1; E !== b && C[E] <= T; ++E)
10244
+ for (var P = s ? new Float32Array(a) : new Array(a), T = 0; T < a; ++T)
10245
+ P[T] = u(T * o, y, C);
10246
+ function O(R) {
10247
+ for (var _ = 0, E = 1, b = a - 1; E !== b && P[E] <= R; ++E)
10248
10248
  _ += o;
10249
10249
  --E;
10250
- var A = (T - C[E]) / (C[E + 1] - C[E]), N = _ + A * o, V = d(N, y, R);
10251
- return V >= t ? p(T, N, y, R) : V === 0 ? N : h(T, _, _ + o, y, R);
10250
+ var A = (R - P[E]) / (P[E + 1] - P[E]), N = _ + A * o, V = d(N, y, C);
10251
+ return V >= t ? p(R, N, y, C) : V === 0 ? N : h(R, _, _ + o, y, C);
10252
10252
  }
10253
10253
  return function(_) {
10254
10254
  return _ === 0 ? 0 : _ === 1 ? 1 : u(O(_), S, w);
@@ -10498,9 +10498,9 @@ function Id(e) {
10498
10498
  const S = s(y);
10499
10499
  if (S === void 0)
10500
10500
  return null;
10501
- const R = r ? 1 - S / a : S / a, w = i(y);
10501
+ const C = r ? 1 - S / a : S / a, w = i(y);
10502
10502
  return w === null ? null : /* @__PURE__ */ g.jsx("stop", {
10503
- offset: R,
10503
+ offset: C,
10504
10504
  stopColor: w,
10505
10505
  stopOpacity: 1
10506
10506
  }, p + m);
@@ -10561,78 +10561,78 @@ function TC() {
10561
10561
  } = oC(), {
10562
10562
  zAxis: f,
10563
10563
  zAxisIds: m
10564
- } = sC(), y = p.filter((w) => h[w].colorMap !== void 0), S = d.filter((w) => u[w].colorMap !== void 0), R = m.filter((w) => f[w].colorMap !== void 0);
10565
- return y.length === 0 && S.length === 0 && R.length === 0 ? null : /* @__PURE__ */ g.jsxs("defs", {
10564
+ } = sC(), y = p.filter((w) => h[w].colorMap !== void 0), S = d.filter((w) => u[w].colorMap !== void 0), C = m.filter((w) => f[w].colorMap !== void 0);
10565
+ return y.length === 0 && S.length === 0 && C.length === 0 ? null : /* @__PURE__ */ g.jsxs("defs", {
10566
10566
  children: [y.map((w) => {
10567
- const C = l(w), P = c(w), {
10567
+ const P = l(w), T = c(w), {
10568
10568
  colorMap: O,
10569
- scale: T,
10569
+ scale: R,
10570
10570
  colorScale: _,
10571
10571
  reverse: E
10572
10572
  } = h[w];
10573
10573
  return (O == null ? void 0 : O.type) === "piecewise" ? /* @__PURE__ */ g.jsx(Ad, {
10574
10574
  isReversed: !E,
10575
- scale: T,
10575
+ scale: R,
10576
10576
  colorMap: O,
10577
10577
  size: s,
10578
- gradientId: C,
10578
+ gradientId: P,
10579
10579
  direction: "y"
10580
- }, C) : (O == null ? void 0 : O.type) === "continuous" ? /* @__PURE__ */ g.jsxs(B.Fragment, {
10580
+ }, P) : (O == null ? void 0 : O.type) === "continuous" ? /* @__PURE__ */ g.jsxs(B.Fragment, {
10581
10581
  children: [/* @__PURE__ */ g.jsx(Id, {
10582
10582
  isReversed: !E,
10583
- scale: T,
10583
+ scale: R,
10584
10584
  colorScale: _,
10585
10585
  colorMap: O,
10586
10586
  size: s,
10587
- gradientId: C,
10587
+ gradientId: P,
10588
10588
  direction: "y"
10589
10589
  }), /* @__PURE__ */ g.jsx(Vi, {
10590
10590
  isReversed: E,
10591
10591
  colorScale: _,
10592
10592
  colorMap: O,
10593
- gradientId: P
10593
+ gradientId: T
10594
10594
  })]
10595
- }, C) : null;
10595
+ }, P) : null;
10596
10596
  }), S.map((w) => {
10597
- const C = l(w), P = c(w), {
10597
+ const P = l(w), T = c(w), {
10598
10598
  colorMap: O,
10599
- scale: T,
10599
+ scale: R,
10600
10600
  reverse: _,
10601
10601
  colorScale: E
10602
10602
  } = u[w];
10603
10603
  return (O == null ? void 0 : O.type) === "piecewise" ? /* @__PURE__ */ g.jsx(Ad, {
10604
10604
  isReversed: _,
10605
- scale: T,
10605
+ scale: R,
10606
10606
  colorMap: O,
10607
10607
  size: i,
10608
- gradientId: C,
10608
+ gradientId: P,
10609
10609
  direction: "x"
10610
- }, C) : (O == null ? void 0 : O.type) === "continuous" ? /* @__PURE__ */ g.jsxs(B.Fragment, {
10610
+ }, P) : (O == null ? void 0 : O.type) === "continuous" ? /* @__PURE__ */ g.jsxs(B.Fragment, {
10611
10611
  children: [/* @__PURE__ */ g.jsx(Id, {
10612
10612
  isReversed: _,
10613
- scale: T,
10613
+ scale: R,
10614
10614
  colorScale: E,
10615
10615
  colorMap: O,
10616
10616
  size: i,
10617
- gradientId: C,
10617
+ gradientId: P,
10618
10618
  direction: "x"
10619
10619
  }), /* @__PURE__ */ g.jsx(Vi, {
10620
10620
  isReversed: _,
10621
10621
  colorScale: E,
10622
10622
  colorMap: O,
10623
- gradientId: P
10623
+ gradientId: T
10624
10624
  })]
10625
- }, C) : null;
10626
- }), R.map((w) => {
10627
- const C = c(w), {
10628
- colorMap: P,
10625
+ }, P) : null;
10626
+ }), C.map((w) => {
10627
+ const P = c(w), {
10628
+ colorMap: T,
10629
10629
  colorScale: O
10630
10630
  } = f[w];
10631
- return (P == null ? void 0 : P.type) === "continuous" ? /* @__PURE__ */ g.jsx(Vi, {
10631
+ return (T == null ? void 0 : T.type) === "continuous" ? /* @__PURE__ */ g.jsx(Vi, {
10632
10632
  colorScale: O,
10633
- colorMap: P,
10634
- gradientId: C
10635
- }, C) : null;
10633
+ colorMap: T,
10634
+ gradientId: P
10635
+ }, P) : null;
10636
10636
  })]
10637
10637
  });
10638
10638
  }
@@ -10791,18 +10791,18 @@ function EC(e) {
10791
10791
  top: p,
10792
10792
  width: f,
10793
10793
  height: m
10794
- } = Bm(), y = IC(a, o), S = c ? ta(c, f) : y.cx * f, R = u ? ta(u, m) : y.cy * m;
10795
- let w = h + S, C = p + R;
10796
- const P = _C(S, R, f, m, y);
10794
+ } = Bm(), y = IC(a, o), S = c ? ta(c, f) : y.cx * f, C = u ? ta(u, m) : y.cy * m;
10795
+ let w = h + S, P = p + C;
10796
+ const T = _C(S, C, f, m, y);
10797
10797
  if (c === void 0) {
10798
- const b = P * (y.maxX - y.minX);
10798
+ const b = T * (y.maxX - y.minX);
10799
10799
  w = h + (f - b) / 2 + y.cx * b;
10800
10800
  }
10801
10801
  if (u === void 0) {
10802
- const b = P * (y.maxY - y.minY);
10803
- C = p + (m - b) / 2 + y.cy * b;
10802
+ const b = T * (y.maxY - y.minY);
10803
+ P = p + (m - b) / 2 + y.cy * b;
10804
10804
  }
10805
- const O = ta(s ?? P, P), T = ta(i ?? "80%", P), _ = ta(l ?? 0, O - T), E = B.useMemo(() => {
10805
+ const O = ta(s ?? T, T), R = ta(i ?? "80%", T), _ = ta(l ?? 0, O - R), E = B.useMemo(() => {
10806
10806
  const b = dl(a), A = dl(o);
10807
10807
  return {
10808
10808
  value: t,
@@ -10811,14 +10811,14 @@ function EC(e) {
10811
10811
  startAngle: b,
10812
10812
  endAngle: A,
10813
10813
  outerRadius: O,
10814
- innerRadius: T,
10814
+ innerRadius: R,
10815
10815
  cornerRadius: _,
10816
10816
  cx: w,
10817
- cy: C,
10818
- maxRadius: P,
10817
+ cy: P,
10818
+ maxRadius: T,
10819
10819
  valueAngle: t === null ? null : b + (A - b) * (t - r) / (n - r)
10820
10820
  };
10821
- }, [t, r, n, a, o, O, T, _, w, C, P]);
10821
+ }, [t, r, n, a, o, O, R, _, w, P, T]);
10822
10822
  return /* @__PURE__ */ g.jsx(Cc.Provider, {
10823
10823
  value: E,
10824
10824
  children: d
@@ -10850,7 +10850,7 @@ const VC = ["width", "height", "margin", "title", "desc", "value", "valueMin", "
10850
10850
  cornerRadius: m,
10851
10851
  cx: y,
10852
10852
  cy: S,
10853
- children: R
10853
+ children: C
10854
10854
  } = t, w = br(t, VC);
10855
10855
  return /* @__PURE__ */ g.jsx(nC, {
10856
10856
  pluginParams: {
@@ -10886,7 +10886,7 @@ const VC = ["width", "height", "margin", "title", "desc", "value", "valueMin", "
10886
10886
  ref: r,
10887
10887
  children: /* @__PURE__ */ g.jsx(MC, {
10888
10888
  "aria-hidden": "true",
10889
- children: R
10889
+ children: C
10890
10890
  })
10891
10891
  }))
10892
10892
  })
@@ -11496,7 +11496,7 @@ const rP = (e) => {
11496
11496
  showLabels: m,
11497
11497
  showMainText: y,
11498
11498
  showIdlePulsating: S,
11499
- idleDotsCount: R
11499
+ idleDotsCount: C
11500
11500
  } = t;
11501
11501
  return /* @__PURE__ */ g.jsxs(
11502
11502
  re,
@@ -11666,7 +11666,7 @@ const rP = (e) => {
11666
11666
  opacity: S ? 1 : 0.6,
11667
11667
  transition: "opacity 2s ease-in-out"
11668
11668
  },
11669
- children: ".".repeat(R)
11669
+ children: ".".repeat(C)
11670
11670
  }
11671
11671
  )
11672
11672
  ]
@@ -11930,19 +11930,19 @@ const rP = (e) => {
11930
11930
  }, []), d = ge(() => {
11931
11931
  t((w) => ({ ...w, showErrorAnimation: !1 })), n.current && clearTimeout(n.current);
11932
11932
  }, []), h = ge((w) => {
11933
- s.current = 0, t((C) => ({
11934
- ...C,
11933
+ s.current = 0, t((P) => ({
11934
+ ...P,
11935
11935
  showPulsatingText: !0,
11936
11936
  pulsatingFinished: !1
11937
11937
  })), setTimeout(() => {
11938
- t((C) => ({
11939
- ...C,
11938
+ t((P) => ({
11939
+ ...P,
11940
11940
  pulsatingFinished: !0
11941
11941
  // This will keep the success color and start slow pulsating
11942
11942
  })), a.current = setInterval(() => {
11943
- t((C) => ({
11944
- ...C,
11945
- showPulsatingText: !C.showPulsatingText
11943
+ t((P) => ({
11944
+ ...P,
11945
+ showPulsatingText: !P.showPulsatingText
11946
11946
  }));
11947
11947
  }, 2e3), w && w();
11948
11948
  }, 800);
@@ -11992,7 +11992,7 @@ const rP = (e) => {
11992
11992
  showLabels: !0,
11993
11993
  showMainText: !0
11994
11994
  }));
11995
- }, []), R = ge(() => {
11995
+ }, []), C = ge(() => {
11996
11996
  r.current && clearTimeout(r.current), n.current && clearTimeout(n.current), o.current && clearTimeout(o.current), a.current && clearInterval(a.current), i.current && clearInterval(i.current), l.current && clearInterval(l.current);
11997
11997
  }, []);
11998
11998
  return {
@@ -12006,7 +12006,7 @@ const rP = (e) => {
12006
12006
  stopIdleAnimations: m,
12007
12007
  triggerFadeTransition: y,
12008
12008
  setInitialAnimationState: S,
12009
- cleanup: R
12009
+ cleanup: C
12010
12010
  };
12011
12011
  };
12012
12012
  class Xm {
@@ -12162,12 +12162,12 @@ const iP = ({
12162
12162
  }), u = Se(null), d = Se(null), h = Se(0), [p] = Zm([0], {
12163
12163
  tension: 80,
12164
12164
  friction: 18,
12165
- onChange: ([P]) => {
12166
- c((O) => ({ ...O, currentProgress: P }));
12165
+ onChange: ([T]) => {
12166
+ c((O) => ({ ...O, currentProgress: T }));
12167
12167
  }
12168
12168
  }), f = ge(() => {
12169
- c((P) => ({
12170
- ...P,
12169
+ c((T) => ({
12170
+ ...T,
12171
12171
  currentState: "idle",
12172
12172
  maxTime: null,
12173
12173
  // Don't reset remainingTime - keep the last value
@@ -12177,59 +12177,59 @@ const iP = ({
12177
12177
  // Reset progress to 0 for gauge
12178
12178
  })), h.current = 0, d.current = null, p.setImmediate([0]);
12179
12179
  }, [p]), m = ge(
12180
- (P = 0) => {
12181
- const O = P / 60 % 1 * 100;
12182
- c((T) => ({
12183
- ...T,
12180
+ (T = 0) => {
12181
+ const O = T / 60 % 1 * 100;
12182
+ c((R) => ({
12183
+ ...R,
12184
12184
  currentState: "measuring",
12185
12185
  maxTime: null,
12186
- remainingTime: P,
12186
+ remainingTime: T,
12187
12187
  isPausedState: !1,
12188
12188
  currentProgress: O
12189
12189
  // Immediately set progress
12190
- })), h.current = 0, p.setImmediate([O]), e ? (d.current = Date.now() - P * 1e3, c((T) => ({ ...T, isRunning: !0 }))) : d.current = null;
12190
+ })), h.current = 0, p.setImmediate([O]), e ? (d.current = Date.now() - T * 1e3, c((R) => ({ ...R, isRunning: !0 }))) : d.current = null;
12191
12191
  },
12192
12192
  [e, p]
12193
12193
  ), y = ge(
12194
- (P, O = 0) => {
12194
+ (T, O = 0) => {
12195
12195
  c((E) => ({ ...E, isRunning: !1 })), d.current = null, c((E) => ({
12196
12196
  ...E,
12197
12197
  currentState: "countdown",
12198
- maxTime: P,
12198
+ maxTime: T,
12199
12199
  isPausedState: !1
12200
12200
  })), h.current = 0;
12201
- const T = Math.max(0, P - O), _ = O > 0 ? O / P * 100 : 0;
12201
+ const R = Math.max(0, T - O), _ = O > 0 ? O / T * 100 : 0;
12202
12202
  c((E) => ({
12203
12203
  ...E,
12204
- remainingTime: T,
12204
+ remainingTime: R,
12205
12205
  currentProgress: _
12206
12206
  // Immediately set progress
12207
- })), p.setImmediate([_]), T === 0 ? (c((E) => ({ ...E, isRunning: !1 })), d.current = null, t && queueMicrotask(() => t())) : e ? setTimeout(() => {
12207
+ })), p.setImmediate([_]), R === 0 ? (c((E) => ({ ...E, isRunning: !1 })), d.current = null, t && queueMicrotask(() => t())) : e ? setTimeout(() => {
12208
12208
  d.current = Date.now() - O * 1e3, c((E) => ({ ...E, isRunning: !0 }));
12209
12209
  }, 0) : d.current = null;
12210
12210
  },
12211
12211
  [e, t, p]
12212
12212
  ), S = ge(() => {
12213
- c((P) => ({
12214
- ...P,
12213
+ c((T) => ({
12214
+ ...T,
12215
12215
  isRunning: !1,
12216
12216
  currentState: "measured"
12217
12217
  })), d.current = null, i(() => {
12218
12218
  r && r();
12219
12219
  });
12220
- }, [i, r]), R = ge(() => {
12220
+ }, [i, r]), C = ge(() => {
12221
12221
  if (d.current && l.isRunning) {
12222
12222
  const O = Date.now() - d.current;
12223
12223
  h.current += O;
12224
- const T = h.current / 1e3, _ = nP(
12224
+ const R = h.current / 1e3, _ = nP(
12225
12225
  l.currentState,
12226
- T,
12226
+ R,
12227
12227
  l.maxTime
12228
12228
  );
12229
12229
  p.setTarget([_]);
12230
12230
  }
12231
- c((P) => ({
12232
- ...P,
12231
+ c((T) => ({
12232
+ ...T,
12233
12233
  isRunning: !1,
12234
12234
  isPausedState: !0
12235
12235
  })), a();
@@ -12240,8 +12240,8 @@ const iP = ({
12240
12240
  p,
12241
12241
  a
12242
12242
  ]), w = ge(() => {
12243
- l.isPausedState && (l.remainingTime > 0 || l.currentState !== "countdown") && (d.current = Date.now(), c((P) => ({
12244
- ...P,
12243
+ l.isPausedState && (l.remainingTime > 0 || l.currentState !== "countdown") && (d.current = Date.now(), c((T) => ({
12244
+ ...T,
12245
12245
  isRunning: !0,
12246
12246
  isPausedState: !1
12247
12247
  })));
@@ -12249,30 +12249,30 @@ const iP = ({
12249
12249
  l.isPausedState,
12250
12250
  l.remainingTime,
12251
12251
  l.currentState
12252
- ]), C = ge(() => l.isPausedState, [l.isPausedState]);
12252
+ ]), P = ge(() => l.isPausedState, [l.isPausedState]);
12253
12253
  return Ie(() => {
12254
- n ? (l.isRunning && !l.isPausedState && (c((P) => ({ ...P, wasRunningBeforeError: !0 })), R()), o()) : (l.wasRunningBeforeError && l.isPausedState && (c((P) => ({ ...P, wasRunningBeforeError: !1 })), w()), s());
12254
+ n ? (l.isRunning && !l.isPausedState && (c((T) => ({ ...T, wasRunningBeforeError: !0 })), C()), o()) : (l.wasRunningBeforeError && l.isPausedState && (c((T) => ({ ...T, wasRunningBeforeError: !1 })), w()), s());
12255
12255
  }, [
12256
12256
  n,
12257
12257
  l.isRunning,
12258
12258
  l.isPausedState,
12259
12259
  l.wasRunningBeforeError,
12260
- R,
12260
+ C,
12261
12261
  w,
12262
12262
  o,
12263
12263
  s
12264
12264
  ]), Ie(() => {
12265
12265
  if (l.isRunning) {
12266
- const P = () => {
12266
+ const T = () => {
12267
12267
  if (d.current) {
12268
- const T = (Date.now() - d.current + h.current) / 1e3;
12268
+ const R = (Date.now() - d.current + h.current) / 1e3;
12269
12269
  if (l.currentState === "countdown" && l.maxTime !== null) {
12270
- const _ = Math.max(0, l.maxTime - T);
12270
+ const _ = Math.max(0, l.maxTime - R);
12271
12271
  c((b) => ({
12272
12272
  ...b,
12273
12273
  remainingTime: Math.ceil(_)
12274
12274
  }));
12275
- const E = Math.min(100, T / l.maxTime * 100);
12275
+ const E = Math.min(100, R / l.maxTime * 100);
12276
12276
  if (p.setTarget([E]), _ <= 0) {
12277
12277
  c((b) => ({
12278
12278
  ...b,
@@ -12284,15 +12284,15 @@ const iP = ({
12284
12284
  } else if (l.currentState === "measuring") {
12285
12285
  c((E) => ({
12286
12286
  ...E,
12287
- remainingTime: Math.floor(T)
12287
+ remainingTime: Math.floor(R)
12288
12288
  }));
12289
- const _ = T / 60 % 1 * 100;
12289
+ const _ = R / 60 % 1 * 100;
12290
12290
  p.setTarget([_]);
12291
12291
  }
12292
- l.isRunning && (u.current = requestAnimationFrame(P));
12292
+ l.isRunning && (u.current = requestAnimationFrame(T));
12293
12293
  }
12294
12294
  };
12295
- u.current = requestAnimationFrame(P);
12295
+ u.current = requestAnimationFrame(T);
12296
12296
  } else
12297
12297
  u.current && (cancelAnimationFrame(u.current), u.current = null);
12298
12298
  return () => {
@@ -12305,12 +12305,12 @@ const iP = ({
12305
12305
  l.maxTime,
12306
12306
  p
12307
12307
  ]), Ie(() => {
12308
- let P = null;
12308
+ let T = null;
12309
12309
  const O = () => {
12310
- p.update(1 / 60), P = requestAnimationFrame(O);
12310
+ p.update(1 / 60), T = requestAnimationFrame(O);
12311
12311
  };
12312
- return P = requestAnimationFrame(O), () => {
12313
- P && cancelAnimationFrame(P);
12312
+ return T = requestAnimationFrame(O), () => {
12313
+ T && cancelAnimationFrame(T);
12314
12314
  };
12315
12315
  }, [p]), {
12316
12316
  timerState: l,
@@ -12319,9 +12319,9 @@ const iP = ({
12319
12319
  startMeasuring: m,
12320
12320
  setIdle: f,
12321
12321
  completeMeasuring: S,
12322
- pause: R,
12322
+ pause: C,
12323
12323
  resume: w,
12324
- isPaused: C
12324
+ isPaused: P
12325
12325
  }
12326
12326
  };
12327
12327
  }, Yk = Ge(
@@ -12346,9 +12346,9 @@ const iP = ({
12346
12346
  startIdleAnimations: m,
12347
12347
  stopIdleAnimations: y,
12348
12348
  triggerFadeTransition: S,
12349
- setInitialAnimationState: R,
12349
+ setInitialAnimationState: C,
12350
12350
  cleanup: w
12351
- } = sP(), { timerState: C, controls: P } = iP({
12351
+ } = sP(), { timerState: P, controls: T } = iP({
12352
12352
  autoStart: n,
12353
12353
  onCycleEnd: t,
12354
12354
  onMeasuringComplete: r,
@@ -12360,26 +12360,26 @@ const iP = ({
12360
12360
  });
12361
12361
  return Ie(() => {
12362
12362
  const O = l.current;
12363
- l.current !== void 0 && O !== C.currentState ? (O === "measured" && f(), O === "idle" && y(), S()) : R(), C.currentState === "idle" && m(), l.current = C.currentState;
12363
+ l.current !== void 0 && O !== P.currentState ? (O === "measured" && f(), O === "idle" && y(), S()) : C(), P.currentState === "idle" && m(), l.current = P.currentState;
12364
12364
  }, [
12365
- C.currentState,
12365
+ P.currentState,
12366
12366
  f,
12367
12367
  y,
12368
12368
  m,
12369
12369
  S,
12370
- R
12370
+ C
12371
12371
  ]), Ie(() => {
12372
12372
  let O = !0;
12373
- const T = setTimeout(() => {
12374
- O && e(P);
12373
+ const R = setTimeout(() => {
12374
+ O && e(T);
12375
12375
  }, 0);
12376
12376
  return () => {
12377
- O = !1, clearTimeout(T);
12377
+ O = !1, clearTimeout(R);
12378
12378
  };
12379
- }, [e, P]), Ie(() => w, [w]), a === "small" ? /* @__PURE__ */ g.jsx(
12379
+ }, [e, T]), Ie(() => w, [w]), a === "small" ? /* @__PURE__ */ g.jsx(
12380
12380
  oP,
12381
12381
  {
12382
- timerState: C,
12382
+ timerState: P,
12383
12383
  animationState: c,
12384
12384
  hasError: i,
12385
12385
  compact: o,
@@ -12388,7 +12388,7 @@ const iP = ({
12388
12388
  ) : /* @__PURE__ */ g.jsx(
12389
12389
  aP,
12390
12390
  {
12391
- timerState: C,
12391
+ timerState: P,
12392
12392
  animationState: c,
12393
12393
  hasError: i,
12394
12394
  className: s
@@ -12708,25 +12708,25 @@ const iP = ({
12708
12708
  tension: 80,
12709
12709
  friction: 18,
12710
12710
  onChange: ([S]) => {
12711
- s((R) => ({ ...R, currentProgress: S }));
12711
+ s((C) => ({ ...C, currentProgress: S }));
12712
12712
  }
12713
12713
  }), h = ge(
12714
12714
  (S = 0) => {
12715
- const R = S / 60 % 1 * 100;
12715
+ const C = S / 60 % 1 * 100;
12716
12716
  s((w) => ({
12717
12717
  ...w,
12718
12718
  elapsedTime: S,
12719
12719
  isPausedState: !1,
12720
- currentProgress: R
12721
- })), c.current = 0, u.current = R, d.setImmediate([R]), e ? (l.current = Date.now() - S * 1e3, s((w) => ({ ...w, isRunning: !0 }))) : l.current = null;
12720
+ currentProgress: C
12721
+ })), c.current = 0, u.current = C, d.setImmediate([C]), e ? (l.current = Date.now() - S * 1e3, s((w) => ({ ...w, isRunning: !0 }))) : l.current = null;
12722
12722
  },
12723
12723
  [e, d]
12724
12724
  ), p = ge(() => {
12725
12725
  if (l.current && o.isRunning) {
12726
- const R = (Date.now() - l.current) / 1e3 + c.current, w = R / 60 % 1 * 100;
12727
- d.setTarget([w]), s((C) => ({
12728
- ...C,
12729
- elapsedTime: Math.floor(R)
12726
+ const C = (Date.now() - l.current) / 1e3 + c.current, w = C / 60 % 1 * 100;
12727
+ d.setTarget([w]), s((P) => ({
12728
+ ...P,
12729
+ elapsedTime: Math.floor(C)
12730
12730
  }));
12731
12731
  }
12732
12732
  s((S) => ({
@@ -12767,11 +12767,11 @@ const iP = ({
12767
12767
  if (o.isRunning) {
12768
12768
  const S = () => {
12769
12769
  if (l.current) {
12770
- const w = (Date.now() - l.current) / 1e3 + c.current, C = w / 60 % 1 * 100;
12770
+ const w = (Date.now() - l.current) / 1e3 + c.current, P = w / 60 % 1 * 100;
12771
12771
  s((O) => ({
12772
12772
  ...O,
12773
12773
  elapsedTime: Math.floor(w)
12774
- })), Math.abs(C - u.current) > 0.1 && (d.setTarget([C]), u.current = C);
12774
+ })), Math.abs(P - u.current) > 0.1 && (d.setTarget([P]), u.current = P);
12775
12775
  }
12776
12776
  i.current = requestAnimationFrame(S);
12777
12777
  };
@@ -12783,10 +12783,10 @@ const iP = ({
12783
12783
  };
12784
12784
  }, [o.isRunning, d]), Ie(() => {
12785
12785
  let S = null;
12786
- const R = () => {
12787
- d.update(), S = requestAnimationFrame(R);
12786
+ const C = () => {
12787
+ d.update(), S = requestAnimationFrame(C);
12788
12788
  };
12789
- return S = requestAnimationFrame(R), () => {
12789
+ return S = requestAnimationFrame(C), () => {
12790
12790
  S && cancelAnimationFrame(S);
12791
12791
  };
12792
12792
  }, [d]), {
@@ -13151,19 +13151,19 @@ const yP = Cr(/* @__PURE__ */ g.jsx("path", {
13151
13151
  sx: h
13152
13152
  }) => {
13153
13153
  var _;
13154
- const p = Be(), f = c0(), m = Se(null), [y, S] = De(null), R = Ao(() => e.map(r), [e, r]);
13154
+ const p = Be(), f = c0(), m = Se(null), [y, S] = De(null), C = Ao(() => e.map(r), [e, r]);
13155
13155
  Ie(() => {
13156
- f.current && R.length > 0 && f.current.autosizeColumns({
13156
+ f.current && C.length > 0 && f.current.autosizeColumns({
13157
13157
  includeOutliers: !0,
13158
13158
  includeHeaders: !0,
13159
13159
  expand: !0,
13160
13160
  columns: t.map((E) => E.field)
13161
13161
  });
13162
- }, [R, t, f]), Ie(() => {
13162
+ }, [C, t, f]), Ie(() => {
13163
13163
  if (!m.current || !f.current) return;
13164
13164
  const E = new ResizeObserver(() => {
13165
13165
  setTimeout(() => {
13166
- f.current && R.length > 0 && f.current.autosizeColumns({
13166
+ f.current && C.length > 0 && f.current.autosizeColumns({
13167
13167
  includeOutliers: !0,
13168
13168
  includeHeaders: !0,
13169
13169
  expand: !0,
@@ -13174,7 +13174,7 @@ const yP = Cr(/* @__PURE__ */ g.jsx("path", {
13174
13174
  return E.observe(m.current), () => {
13175
13175
  E.disconnect();
13176
13176
  };
13177
- }, [f, R.length, t]);
13177
+ }, [f, C.length, t]);
13178
13178
  const w = Ao(() => {
13179
13179
  if (a !== void 0)
13180
13180
  return a;
@@ -13185,10 +13185,10 @@ const yP = Cr(/* @__PURE__ */ g.jsx("path", {
13185
13185
  return S(E), E;
13186
13186
  }
13187
13187
  return null;
13188
- }, [d, e, a, y]), C = (E) => {
13188
+ }, [d, e, a, y]), P = (E) => {
13189
13189
  const b = e.find((A) => r(A).id === E.id);
13190
13190
  b && (a === void 0 && S(b), n && n(b, E));
13191
- }, P = Ao(() => !w || !o ? null : o(w), [w, o]);
13191
+ }, T = Ao(() => !w || !o ? null : o(w), [w, o]);
13192
13192
  function O() {
13193
13193
  return /* @__PURE__ */ g.jsx(d0, { children: /* @__PURE__ */ g.jsxs(
13194
13194
  re,
@@ -13424,7 +13424,7 @@ const yP = Cr(/* @__PURE__ */ g.jsx("path", {
13424
13424
  }
13425
13425
  ) });
13426
13426
  }
13427
- const T = u || O;
13427
+ const R = u || O;
13428
13428
  return /* @__PURE__ */ g.jsx(
13429
13429
  re,
13430
13430
  {
@@ -13466,9 +13466,9 @@ const yP = Cr(/* @__PURE__ */ g.jsx("path", {
13466
13466
  u0,
13467
13467
  {
13468
13468
  apiRef: f,
13469
- rows: R,
13469
+ rows: C,
13470
13470
  columns: t,
13471
- onRowClick: C,
13471
+ onRowClick: P,
13472
13472
  disableColumnMenu: !1,
13473
13473
  disableRowSelectionOnClick: !0,
13474
13474
  disableMultipleRowSelection: !0,
@@ -13478,7 +13478,7 @@ const yP = Cr(/* @__PURE__ */ g.jsx("path", {
13478
13478
  hideFooter: !1,
13479
13479
  showToolbar: !0,
13480
13480
  slots: {
13481
- toolbar: T
13481
+ toolbar: R
13482
13482
  },
13483
13483
  initialState: {
13484
13484
  sorting: {
@@ -13553,8 +13553,8 @@ const yP = Cr(/* @__PURE__ */ g.jsx("path", {
13553
13553
  }
13554
13554
  },
13555
13555
  // Highlight selected row with a distinct color using data attribute
13556
- ...P !== null && {
13557
- [`&[data-id="${P}"]`]: {
13556
+ ...T !== null && {
13557
+ [`&[data-id="${T}"]`]: {
13558
13558
  backgroundColor: "transparent !important",
13559
13559
  "&::before": {
13560
13560
  content: '""',
@@ -13746,14 +13746,14 @@ const Md = Ge(
13746
13746
  activeJoggingDirection: s,
13747
13747
  ...i
13748
13748
  }) => {
13749
- var w, C, P, O, T, _, E;
13749
+ var w, P, T, O, R, _, E;
13750
13750
  _c(() => {
13751
13751
  const b = r(), A = h.current;
13752
13752
  A && (A.textContent = b);
13753
13753
  });
13754
13754
  const l = Be(), [c, u] = De(null);
13755
13755
  Ie(() => {
13756
- o && R();
13756
+ o && C();
13757
13757
  }, [o]);
13758
13758
  const d = s || c, h = Se(null);
13759
13759
  e || (e = {
@@ -13779,9 +13779,9 @@ const Md = Ge(
13779
13779
  }
13780
13780
  }, m = {
13781
13781
  ...f,
13782
- backgroundColor: (C = e.buttonBackgroundColor) == null ? void 0 : C.default,
13782
+ backgroundColor: (P = e.buttonBackgroundColor) == null ? void 0 : P.default,
13783
13783
  ":hover": {
13784
- backgroundColor: (P = e.buttonBackgroundColor) == null ? void 0 : P.hovered
13784
+ backgroundColor: (T = e.buttonBackgroundColor) == null ? void 0 : T.hovered
13785
13785
  },
13786
13786
  ":active": {
13787
13787
  backgroundColor: (O = e.buttonBackgroundColor) == null ? void 0 : O.pressed,
@@ -13789,7 +13789,7 @@ const Md = Ge(
13789
13789
  path: { fill: e.backgroundColor }
13790
13790
  },
13791
13791
  ":disabled": {
13792
- backgroundColor: (T = e.buttonBackgroundColor) == null ? void 0 : T.disabled,
13792
+ backgroundColor: (R = e.buttonBackgroundColor) == null ? void 0 : R.disabled,
13793
13793
  "svg path": { fill: l.palette.action.disabled }
13794
13794
  }
13795
13795
  }, y = {
@@ -13805,7 +13805,7 @@ const Md = Ge(
13805
13805
  function S(b, A) {
13806
13806
  o || b.button === 0 && (u(A), n(A));
13807
13807
  }
13808
- function R() {
13808
+ function C() {
13809
13809
  u(null), a();
13810
13810
  }
13811
13811
  return /* @__PURE__ */ g.jsxs(wn, { height: "64px", direction: "row", justifyContent: "center", ...i, children: [
@@ -13815,8 +13815,8 @@ const Md = Ge(
13815
13815
  disabled: o,
13816
13816
  disableRipple: !0,
13817
13817
  onPointerDown: (b) => S(b, "-"),
13818
- onPointerUp: R,
13819
- onPointerOut: R,
13818
+ onPointerUp: C,
13819
+ onPointerOut: C,
13820
13820
  size: "large",
13821
13821
  sx: {
13822
13822
  ...d === "-" ? y : m,
@@ -13884,8 +13884,8 @@ const Md = Ge(
13884
13884
  disableRipple: !0,
13885
13885
  disabled: o,
13886
13886
  onPointerDown: (b) => S(b, "+"),
13887
- onPointerUp: R,
13888
- onPointerOut: R,
13887
+ onPointerUp: C,
13888
+ onPointerOut: C,
13889
13889
  size: "large",
13890
13890
  sx: {
13891
13891
  ...d === "+" ? y : m,
@@ -13970,38 +13970,38 @@ function YP(e, t, r) {
13970
13970
  throw new TypeError(qP);
13971
13971
  t = $d(t) || 0, Lr(r) && (u = !!r.leading, d = "maxWait" in r, o = d ? WP($d(r.maxWait) || 0, t) : o, h = "trailing" in r ? !!r.trailing : h);
13972
13972
  function p(O) {
13973
- var T = n, _ = a;
13974
- return n = a = void 0, c = O, s = e.apply(_, T), s;
13973
+ var R = n, _ = a;
13974
+ return n = a = void 0, c = O, s = e.apply(_, R), s;
13975
13975
  }
13976
13976
  function f(O) {
13977
13977
  return c = O, i = setTimeout(S, t), u ? p(O) : s;
13978
13978
  }
13979
13979
  function m(O) {
13980
- var T = O - l, _ = O - c, E = t - T;
13980
+ var R = O - l, _ = O - c, E = t - R;
13981
13981
  return d ? JP(E, o - _) : E;
13982
13982
  }
13983
13983
  function y(O) {
13984
- var T = O - l, _ = O - c;
13985
- return l === void 0 || T >= t || T < 0 || d && _ >= o;
13984
+ var R = O - l, _ = O - c;
13985
+ return l === void 0 || R >= t || R < 0 || d && _ >= o;
13986
13986
  }
13987
13987
  function S() {
13988
13988
  var O = ki();
13989
13989
  if (y(O))
13990
- return R(O);
13990
+ return C(O);
13991
13991
  i = setTimeout(S, m(O));
13992
13992
  }
13993
- function R(O) {
13993
+ function C(O) {
13994
13994
  return i = void 0, h && n ? p(O) : (n = a = void 0, s);
13995
13995
  }
13996
13996
  function w() {
13997
13997
  i !== void 0 && clearTimeout(i), c = 0, n = l = a = i = void 0;
13998
13998
  }
13999
- function C() {
14000
- return i === void 0 ? s : R(ki());
14001
- }
14002
13999
  function P() {
14003
- var O = ki(), T = y(O);
14004
- if (n = arguments, a = this, l = O, T) {
14000
+ return i === void 0 ? s : C(ki());
14001
+ }
14002
+ function T() {
14003
+ var O = ki(), R = y(O);
14004
+ if (n = arguments, a = this, l = O, R) {
14005
14005
  if (i === void 0)
14006
14006
  return f(l);
14007
14007
  if (d)
@@ -14009,7 +14009,7 @@ function YP(e, t, r) {
14009
14009
  }
14010
14010
  return i === void 0 && (i = setTimeout(S, t)), s;
14011
14011
  }
14012
- return P.cancel = w, P.flush = C, P;
14012
+ return T.cancel = w, T.flush = P, T;
14013
14013
  }
14014
14014
  var KP = "Expected a function";
14015
14015
  function QP(e, t, r) {
@@ -14033,10 +14033,10 @@ const XP = Ge(
14033
14033
  disabled: o,
14034
14034
  ...s
14035
14035
  }) => {
14036
- var w, C, P, O, T, _, E, b, A, N, V, z, te, ee, ne;
14036
+ var w, P, T, O, R, _, E, b, A, N, V, z, te, ee, ne;
14037
14037
  const { t: i } = Qe(), [l, c] = De(), u = Be(), d = {
14038
14038
  background: (w = u.palette.backgroundPaperElevation) == null ? void 0 : w[4],
14039
- color: (C = u.palette.backgroundPaperElevation) == null ? void 0 : C[11]
14039
+ color: (P = u.palette.backgroundPaperElevation) == null ? void 0 : P[11]
14040
14040
  }, h = hs(() => ({
14041
14041
  activeJoggingDir: null,
14042
14042
  startJogging(X) {
@@ -14061,7 +14061,7 @@ const XP = Ge(
14061
14061
  function S(X) {
14062
14062
  h.stopJogging();
14063
14063
  }
14064
- function R(X, ie = 1) {
14064
+ function C(X, ie = 1) {
14065
14065
  if (X === void 0 || isNaN(X)) return "";
14066
14066
  const q = i("General.degree.variable", {
14067
14067
  amount: X.toFixed(ie)
@@ -14081,7 +14081,7 @@ const XP = Ge(
14081
14081
  width: "52px",
14082
14082
  color: u.palette.text.primary,
14083
14083
  alignContent: "center",
14084
- backgroundColor: (P = u.palette.backgroundPaperElevation) == null ? void 0 : P[11],
14084
+ backgroundColor: (T = u.palette.backgroundPaperElevation) == null ? void 0 : T[11],
14085
14085
  "& svg": {
14086
14086
  width: "42px",
14087
14087
  height: "42px"
@@ -14092,7 +14092,7 @@ const XP = Ge(
14092
14092
  opacity: 1
14093
14093
  },
14094
14094
  "&:hover": {
14095
- backgroundColor: (T = u.palette.backgroundPaperElevation) == null ? void 0 : T[9]
14095
+ backgroundColor: (R = u.palette.backgroundPaperElevation) == null ? void 0 : R[9]
14096
14096
  },
14097
14097
  "&:active": {
14098
14098
  ...d
@@ -14150,7 +14150,7 @@ const XP = Ge(
14150
14150
  top: "5px",
14151
14151
  color: o ? u.palette.action.disabled : u.palette.text.primary
14152
14152
  },
14153
- children: R(l)
14153
+ children: C(l)
14154
14154
  }
14155
14155
  ),
14156
14156
  /* @__PURE__ */ g.jsx(
@@ -14185,11 +14185,11 @@ const XP = Ge(
14185
14185
  marks: r !== void 0 && n !== void 0 && [
14186
14186
  {
14187
14187
  value: r,
14188
- label: R(r, 0)
14188
+ label: C(r, 0)
14189
14189
  },
14190
14190
  {
14191
14191
  value: n,
14192
- label: R(n, 0)
14192
+ label: C(n, 0)
14193
14193
  }
14194
14194
  ]
14195
14195
  }
@@ -14524,9 +14524,9 @@ function eA(e, t, r, n, a, o) {
14524
14524
  break;
14525
14525
  }
14526
14526
  if (p) {
14527
- if (!YR(t, function(S, R) {
14528
- if (!QR(p, R) && (f === S || a(f, S, r, n, o)))
14529
- return p.push(R);
14527
+ if (!YR(t, function(S, C) {
14528
+ if (!QR(p, C) && (f === S || a(f, S, r, n, o)))
14529
+ return p.push(C);
14530
14530
  })) {
14531
14531
  h = !1;
14532
14532
  break;
@@ -14724,18 +14724,18 @@ function eI(e, t, r, n, a, o) {
14724
14724
  o.set(e, t), o.set(t, e);
14725
14725
  for (var y = s; ++d < l; ) {
14726
14726
  h = i[d];
14727
- var S = e[h], R = t[h];
14727
+ var S = e[h], C = t[h];
14728
14728
  if (n)
14729
- var w = s ? n(R, S, h, t, e, o) : n(S, R, h, e, t, o);
14730
- if (!(w === void 0 ? S === R || a(S, R, r, n, o) : w)) {
14729
+ var w = s ? n(C, S, h, t, e, o) : n(S, C, h, e, t, o);
14730
+ if (!(w === void 0 ? S === C || a(S, C, r, n, o) : w)) {
14731
14731
  m = !1;
14732
14732
  break;
14733
14733
  }
14734
14734
  y || (y = h == "constructor");
14735
14735
  }
14736
14736
  if (m && !y) {
14737
- var C = e.constructor, P = t.constructor;
14738
- C != P && "constructor" in e && "constructor" in t && !(typeof C == "function" && C instanceof C && typeof P == "function" && P instanceof P) && (m = !1);
14737
+ var P = e.constructor, T = t.constructor;
14738
+ P != T && "constructor" in e && "constructor" in t && !(typeof P == "function" && P instanceof P && typeof T == "function" && T instanceof T) && (m = !1);
14739
14739
  }
14740
14740
  return o.delete(e), o.delete(t), m;
14741
14741
  }
@@ -15671,10 +15671,10 @@ function Qs(e, t, r) {
15671
15671
  if (G.endsWith(m, "{}"))
15672
15672
  m = n ? m : m.slice(0, -2), f = JSON.stringify(f);
15673
15673
  else if (G.isArray(f) && w_(f) || (G.isFileList(f) || G.endsWith(m, "[]")) && (S = G.toArray(f)))
15674
- return m = Rf(m), S.forEach(function(w, C) {
15674
+ return m = Rf(m), S.forEach(function(w, P) {
15675
15675
  !(G.isUndefined(w) || w === null) && t.append(
15676
15676
  // eslint-disable-next-line no-nested-ternary
15677
- s === !0 ? ih([m], C, o) : s === null ? m : m + "[]",
15677
+ s === !0 ? ih([m], P, o) : s === null ? m : m + "[]",
15678
15678
  c(w)
15679
15679
  );
15680
15680
  }), !1;
@@ -15690,14 +15690,14 @@ function Qs(e, t, r) {
15690
15690
  if (!G.isUndefined(f)) {
15691
15691
  if (d.indexOf(f) !== -1)
15692
15692
  throw Error("Circular reference detected in " + m.join("."));
15693
- d.push(f), G.forEach(f, function(S, R) {
15693
+ d.push(f), G.forEach(f, function(S, C) {
15694
15694
  (!(G.isUndefined(S) || S === null) && a.call(
15695
15695
  t,
15696
15696
  S,
15697
- G.isString(R) ? R.trim() : R,
15697
+ G.isString(C) ? C.trim() : C,
15698
15698
  m,
15699
15699
  h
15700
- )) === !0 && p(S, m ? m.concat(R) : [R]);
15700
+ )) === !0 && p(S, m ? m.concat(C) : [C]);
15701
15701
  }), d.pop();
15702
15702
  }
15703
15703
  }
@@ -16362,7 +16362,7 @@ const kf = (e) => {
16362
16362
  return;
16363
16363
  const w = pt.from(
16364
16364
  "getAllResponseHeaders" in y && y.getAllResponseHeaders()
16365
- ), P = {
16365
+ ), T = {
16366
16366
  data: !i || i === "text" || i === "json" ? y.responseText : y.response,
16367
16367
  status: y.status,
16368
16368
  statusText: y.statusText,
@@ -16370,11 +16370,11 @@ const kf = (e) => {
16370
16370
  config: e,
16371
16371
  request: y
16372
16372
  };
16373
- Mf(function(T) {
16374
- r(T), m();
16375
- }, function(T) {
16376
- n(T), m();
16377
- }, P), y = null;
16373
+ Mf(function(R) {
16374
+ r(R), m();
16375
+ }, function(R) {
16376
+ n(R), m();
16377
+ }, T), y = null;
16378
16378
  }
16379
16379
  "onloadend" in y ? y.onloadend = S : y.onreadystatechange = function() {
16380
16380
  !y || y.readyState !== 4 || y.status === 0 && !(y.responseURL && y.responseURL.indexOf("file:") === 0) || setTimeout(S);
@@ -16383,22 +16383,22 @@ const kf = (e) => {
16383
16383
  }, y.onerror = function() {
16384
16384
  n(new ue("Network Error", ue.ERR_NETWORK, e, y)), y = null;
16385
16385
  }, y.ontimeout = function() {
16386
- let C = a.timeout ? "timeout of " + a.timeout + "ms exceeded" : "timeout exceeded";
16387
- const P = a.transitional || _f;
16388
- a.timeoutErrorMessage && (C = a.timeoutErrorMessage), n(new ue(
16389
- C,
16390
- P.clarifyTimeoutError ? ue.ETIMEDOUT : ue.ECONNABORTED,
16386
+ let P = a.timeout ? "timeout of " + a.timeout + "ms exceeded" : "timeout exceeded";
16387
+ const T = a.transitional || _f;
16388
+ a.timeoutErrorMessage && (P = a.timeoutErrorMessage), n(new ue(
16389
+ P,
16390
+ T.clarifyTimeoutError ? ue.ETIMEDOUT : ue.ECONNABORTED,
16391
16391
  e,
16392
16392
  y
16393
16393
  )), y = null;
16394
- }, o === void 0 && s.setContentType(null), "setRequestHeader" in y && G.forEach(s.toJSON(), function(C, P) {
16395
- y.setRequestHeader(P, C);
16394
+ }, o === void 0 && s.setContentType(null), "setRequestHeader" in y && G.forEach(s.toJSON(), function(P, T) {
16395
+ y.setRequestHeader(T, P);
16396
16396
  }), G.isUndefined(a.withCredentials) || (y.withCredentials = !!a.withCredentials), i && i !== "json" && (y.responseType = a.responseType), c && ([h, f] = ls(c, !0), y.addEventListener("progress", h)), l && y.upload && ([d, p] = ls(l), y.upload.addEventListener("progress", d), y.upload.addEventListener("loadend", p)), (a.cancelToken || a.signal) && (u = (w) => {
16397
16397
  y && (n(!w || w.type ? new Gn(null, e, y) : w), y.abort(), y = null);
16398
16398
  }, a.cancelToken && a.cancelToken.subscribe(u), a.signal && (a.signal.aborted ? u() : a.signal.addEventListener("abort", u)));
16399
- const R = z_(a.url);
16400
- if (R && at.protocols.indexOf(R) === -1) {
16401
- n(new ue("Unsupported protocol " + R + ":", ue.ERR_BAD_REQUEST, e));
16399
+ const C = z_(a.url);
16400
+ if (C && at.protocols.indexOf(C) === -1) {
16401
+ n(new ue("Unsupported protocol " + C + ":", ue.ERR_BAD_REQUEST, e));
16402
16402
  return;
16403
16403
  }
16404
16404
  y.send(o || null);
@@ -16549,17 +16549,17 @@ const aE = async (e) => {
16549
16549
  let y;
16550
16550
  try {
16551
16551
  if (l && nE && r !== "get" && r !== "head" && (y = await oE(u, n)) !== 0) {
16552
- let P = new Request(t, {
16552
+ let T = new Request(t, {
16553
16553
  method: "POST",
16554
16554
  body: n,
16555
16555
  duplex: "half"
16556
16556
  }), O;
16557
- if (G.isFormData(n) && (O = P.headers.get("content-type")) && u.setContentType(O), P.body) {
16558
- const [T, _] = dh(
16557
+ if (G.isFormData(n) && (O = T.headers.get("content-type")) && u.setContentType(O), T.body) {
16558
+ const [R, _] = dh(
16559
16559
  y,
16560
16560
  ls(hh(l))
16561
16561
  );
16562
- n = mh(P.body, fh, T, _);
16562
+ n = mh(T.body, fh, R, _);
16563
16563
  }
16564
16564
  }
16565
16565
  G.isString(d) || (d = d ? "include" : "omit");
@@ -16573,32 +16573,32 @@ const aE = async (e) => {
16573
16573
  duplex: "half",
16574
16574
  credentials: S ? d : void 0
16575
16575
  });
16576
- let R = await fetch(f);
16576
+ let C = await fetch(f);
16577
16577
  const w = Cl && (c === "stream" || c === "response");
16578
16578
  if (Cl && (i || w && m)) {
16579
- const P = {};
16579
+ const T = {};
16580
16580
  ["status", "statusText", "headers"].forEach((E) => {
16581
- P[E] = R[E];
16581
+ T[E] = C[E];
16582
16582
  });
16583
- const O = G.toFiniteNumber(R.headers.get("content-length")), [T, _] = i && dh(
16583
+ const O = G.toFiniteNumber(C.headers.get("content-length")), [R, _] = i && dh(
16584
16584
  O,
16585
16585
  ls(hh(i), !0)
16586
16586
  ) || [];
16587
- R = new Response(
16588
- mh(R.body, fh, T, () => {
16587
+ C = new Response(
16588
+ mh(C.body, fh, R, () => {
16589
16589
  _ && _(), m && m();
16590
16590
  }),
16591
- P
16591
+ T
16592
16592
  );
16593
16593
  }
16594
16594
  c = c || "text";
16595
- let C = await cs[G.findKey(cs, c) || "text"](R, e);
16596
- return !w && m && m(), await new Promise((P, O) => {
16597
- Mf(P, O, {
16598
- data: C,
16599
- headers: pt.from(R.headers),
16600
- status: R.status,
16601
- statusText: R.statusText,
16595
+ let P = await cs[G.findKey(cs, c) || "text"](C, e);
16596
+ return !w && m && m(), await new Promise((T, O) => {
16597
+ Mf(T, O, {
16598
+ data: P,
16599
+ headers: pt.from(C.headers),
16600
+ status: C.status,
16601
+ statusText: C.statusText,
16602
16602
  config: e,
16603
16603
  request: f
16604
16604
  });
@@ -20364,8 +20364,8 @@ const ME = function(e) {
20364
20364
  e && (f = e.baseOptions);
20365
20365
  const m = { method: "GET", ...f, ...d }, y = {}, S = {};
20366
20366
  $(m, e), await U(y, e), n !== void 0 && (S.location_on_trajectory = n), a && (S["limit_override.joint_velocity_limits.joints"] = a), o && (S["limit_override.joint_acceleration_limits.joints"] = o), s !== void 0 && (S["limit_override.tcp_velocity_limit"] = s), i !== void 0 && (S["limit_override.tcp_acceleration_limit"] = i), l !== void 0 && (S["limit_override.tcp_orientation_velocity_limit"] = l), c !== void 0 && (S["limit_override.tcp_orientation_acceleration_limit"] = c), u !== void 0 && (S.responses_coordinate_system = u), D(p, S);
20367
- let R = f && f.headers ? f.headers : {};
20368
- return m.headers = { ...y, ...R, ...d.headers }, {
20367
+ let C = f && f.headers ? f.headers : {};
20368
+ return m.headers = { ...y, ...C, ...d.headers }, {
20369
20369
  url: L(p),
20370
20370
  options: m
20371
20371
  };
@@ -20615,7 +20615,7 @@ const ME = function(e) {
20615
20615
  async streamMoveToTrajectoryViaJointPTP(r, n, a, o, s, i, l, c, u, d, h) {
20616
20616
  var y, S;
20617
20617
  const p = await t.streamMoveToTrajectoryViaJointPTP(r, n, a, o, s, i, l, c, u, d, h), f = (e == null ? void 0 : e.serverIndex) ?? 0, m = (S = (y = j["MotionApi.streamMoveToTrajectoryViaJointPTP"]) == null ? void 0 : y[f]) == null ? void 0 : S.url;
20618
- return (R, w) => F(p, I, M, e)(R, m || w);
20618
+ return (C, w) => F(p, I, M, e)(C, m || w);
20619
20619
  }
20620
20620
  };
20621
20621
  };
@@ -25163,15 +25163,15 @@ class cV {
25163
25163
  }
25164
25164
  if (d !== m || l !== h || c !== p || u !== f) {
25165
25165
  let y = 1 - i;
25166
- const S = l * h + c * p + u * f + d * m, R = S >= 0 ? 1 : -1, w = 1 - S * S;
25166
+ const S = l * h + c * p + u * f + d * m, C = S >= 0 ? 1 : -1, w = 1 - S * S;
25167
25167
  if (w > Number.EPSILON) {
25168
- const P = Math.sqrt(w), O = Math.atan2(P, S * R);
25169
- y = Math.sin(y * O) / P, i = Math.sin(i * O) / P;
25168
+ const T = Math.sqrt(w), O = Math.atan2(T, S * C);
25169
+ y = Math.sin(y * O) / T, i = Math.sin(i * O) / T;
25170
25170
  }
25171
- const C = i * R;
25172
- if (l = l * y + h * C, c = c * y + p * C, u = u * y + f * C, d = d * y + m * C, y === 1 - i) {
25173
- const P = 1 / Math.sqrt(l * l + c * c + u * u + d * d);
25174
- l *= P, c *= P, u *= P, d *= P;
25171
+ const P = i * C;
25172
+ if (l = l * y + h * P, c = c * y + p * P, u = u * y + f * P, d = d * y + m * P, y === 1 - i) {
25173
+ const T = 1 / Math.sqrt(l * l + c * c + u * u + d * d);
25174
+ l *= T, c *= T, u *= T, d *= T;
25175
25175
  }
25176
25176
  }
25177
25177
  t[r] = l, t[r + 1] = c, t[r + 2] = u, t[r + 3] = d;
@@ -26364,8 +26364,8 @@ function Wi() {
26364
26364
  var $t = {}, Sh;
26365
26365
  function dV() {
26366
26366
  if (Sh) return $t;
26367
- Sh = 1, Object.defineProperty($t, "__esModule", { value: !0 }), $t.TokenData = void 0, $t.parse = d, $t.compile = h, $t.match = m, $t.pathToRegexp = y, $t.stringify = C;
26368
- const e = "/", t = (T) => T, r = /^[$_\p{ID_Start}]$/u, n = /^[$\u200c\u200d\p{ID_Continue}]$/u, a = "https://git.new/pathToRegexpError", o = {
26367
+ Sh = 1, Object.defineProperty($t, "__esModule", { value: !0 }), $t.TokenData = void 0, $t.parse = d, $t.compile = h, $t.match = m, $t.pathToRegexp = y, $t.stringify = P;
26368
+ const e = "/", t = (R) => R, r = /^[$_\p{ID_Start}]$/u, n = /^[$\u200c\u200d\p{ID_Continue}]$/u, a = "https://git.new/pathToRegexpError", o = {
26369
26369
  // Groups.
26370
26370
  "{": "{",
26371
26371
  "}": "}",
@@ -26378,14 +26378,14 @@ function dV() {
26378
26378
  "?": "?",
26379
26379
  "!": "!"
26380
26380
  };
26381
- function s(T) {
26382
- return T.replace(/[{}()\[\]+?!:*]/g, "\\$&");
26381
+ function s(R) {
26382
+ return R.replace(/[{}()\[\]+?!:*]/g, "\\$&");
26383
26383
  }
26384
- function i(T) {
26385
- return T.replace(/[.+*?^${}()[\]|/\\]/g, "\\$&");
26384
+ function i(R) {
26385
+ return R.replace(/[.+*?^${}()[\]|/\\]/g, "\\$&");
26386
26386
  }
26387
- function* l(T) {
26388
- const _ = [...T];
26387
+ function* l(R) {
26388
+ const _ = [...R];
26389
26389
  let E = 0;
26390
26390
  function b() {
26391
26391
  let A = "";
@@ -26461,8 +26461,8 @@ function dV() {
26461
26461
  }
26462
26462
  }
26463
26463
  $t.TokenData = u;
26464
- function d(T, _ = {}) {
26465
- const { encodePath: E = t } = _, b = new c(l(T));
26464
+ function d(R, _ = {}) {
26465
+ const { encodePath: E = t } = _, b = new c(l(R));
26466
26466
  function A(V) {
26467
26467
  const z = [];
26468
26468
  for (; ; ) {
@@ -26497,8 +26497,8 @@ function dV() {
26497
26497
  const N = A("END");
26498
26498
  return new u(N);
26499
26499
  }
26500
- function h(T, _ = {}) {
26501
- const { encode: E = encodeURIComponent, delimiter: b = e } = _, A = T instanceof u ? T : d(T, _), N = p(A.tokens, b, E);
26500
+ function h(R, _ = {}) {
26501
+ const { encode: E = encodeURIComponent, delimiter: b = e } = _, A = R instanceof u ? R : d(R, _), N = p(A.tokens, b, E);
26502
26502
  return function(z = {}) {
26503
26503
  const [te, ...ee] = N(z);
26504
26504
  if (ee.length)
@@ -26506,8 +26506,8 @@ function dV() {
26506
26506
  return te;
26507
26507
  };
26508
26508
  }
26509
- function p(T, _, E) {
26510
- const b = T.map((A) => f(A, _, E));
26509
+ function p(R, _, E) {
26510
+ const b = R.map((A) => f(A, _, E));
26511
26511
  return (A) => {
26512
26512
  const N = [""];
26513
26513
  for (const V of b) {
@@ -26517,41 +26517,41 @@ function dV() {
26517
26517
  return N;
26518
26518
  };
26519
26519
  }
26520
- function f(T, _, E) {
26521
- if (T.type === "text")
26522
- return () => [T.value];
26523
- if (T.type === "group") {
26524
- const A = p(T.tokens, _, E);
26520
+ function f(R, _, E) {
26521
+ if (R.type === "text")
26522
+ return () => [R.value];
26523
+ if (R.type === "group") {
26524
+ const A = p(R.tokens, _, E);
26525
26525
  return (N) => {
26526
26526
  const [V, ...z] = A(N);
26527
26527
  return z.length ? [""] : [V];
26528
26528
  };
26529
26529
  }
26530
26530
  const b = E || t;
26531
- return T.type === "wildcard" && E !== !1 ? (A) => {
26532
- const N = A[T.name];
26531
+ return R.type === "wildcard" && E !== !1 ? (A) => {
26532
+ const N = A[R.name];
26533
26533
  if (N == null)
26534
- return ["", T.name];
26534
+ return ["", R.name];
26535
26535
  if (!Array.isArray(N) || N.length === 0)
26536
- throw new TypeError(`Expected "${T.name}" to be a non-empty array`);
26536
+ throw new TypeError(`Expected "${R.name}" to be a non-empty array`);
26537
26537
  return [
26538
26538
  N.map((V, z) => {
26539
26539
  if (typeof V != "string")
26540
- throw new TypeError(`Expected "${T.name}/${z}" to be a string`);
26540
+ throw new TypeError(`Expected "${R.name}/${z}" to be a string`);
26541
26541
  return b(V);
26542
26542
  }).join(_)
26543
26543
  ];
26544
26544
  } : (A) => {
26545
- const N = A[T.name];
26545
+ const N = A[R.name];
26546
26546
  if (N == null)
26547
- return ["", T.name];
26547
+ return ["", R.name];
26548
26548
  if (typeof N != "string")
26549
- throw new TypeError(`Expected "${T.name}" to be a string`);
26549
+ throw new TypeError(`Expected "${R.name}" to be a string`);
26550
26550
  return [b(N)];
26551
26551
  };
26552
26552
  }
26553
- function m(T, _ = {}) {
26554
- const { decode: E = decodeURIComponent, delimiter: b = e } = _, { regexp: A, keys: N } = y(T, _), V = N.map((z) => E === !1 ? t : z.type === "param" ? E : (te) => te.split(b).map(E));
26553
+ function m(R, _ = {}) {
26554
+ const { decode: E = decodeURIComponent, delimiter: b = e } = _, { regexp: A, keys: N } = y(R, _), V = N.map((z) => E === !1 ? t : z.type === "param" ? E : (te) => te.split(b).map(E));
26555
26555
  return function(te) {
26556
26556
  const ee = A.exec(te);
26557
26557
  if (!ee)
@@ -26566,32 +26566,32 @@ function dV() {
26566
26566
  return { path: ne, params: X };
26567
26567
  };
26568
26568
  }
26569
- function y(T, _ = {}) {
26570
- const { delimiter: E = e, end: b = !0, sensitive: A = !1, trailing: N = !0 } = _, V = [], z = [], te = A ? "" : "i", ne = (Array.isArray(T) ? T : [T]).map((q) => q instanceof u ? q : d(q, _));
26569
+ function y(R, _ = {}) {
26570
+ const { delimiter: E = e, end: b = !0, sensitive: A = !1, trailing: N = !0 } = _, V = [], z = [], te = A ? "" : "i", ne = (Array.isArray(R) ? R : [R]).map((q) => q instanceof u ? q : d(q, _));
26571
26571
  for (const { tokens: q } of ne)
26572
26572
  for (const Q of S(q, 0, [])) {
26573
- const de = R(Q, E, V);
26573
+ const de = C(Q, E, V);
26574
26574
  z.push(de);
26575
26575
  }
26576
26576
  let X = `^(?:${z.join("|")})`;
26577
26577
  return N && (X += `(?:${i(E)}$)?`), X += b ? "$" : `(?=${i(E)}|$)`, { regexp: new RegExp(X, te), keys: V };
26578
26578
  }
26579
- function* S(T, _, E) {
26580
- if (_ === T.length)
26579
+ function* S(R, _, E) {
26580
+ if (_ === R.length)
26581
26581
  return yield E;
26582
- const b = T[_];
26582
+ const b = R[_];
26583
26583
  if (b.type === "group") {
26584
26584
  const A = E.slice();
26585
26585
  for (const N of S(b.tokens, 0, A))
26586
- yield* S(T, _ + 1, N);
26586
+ yield* S(R, _ + 1, N);
26587
26587
  } else
26588
26588
  E.push(b);
26589
- yield* S(T, _ + 1, E);
26589
+ yield* S(R, _ + 1, E);
26590
26590
  }
26591
- function R(T, _, E) {
26591
+ function C(R, _, E) {
26592
26592
  let b = "", A = "", N = !0;
26593
- for (let V = 0; V < T.length; V++) {
26594
- const z = T[V];
26593
+ for (let V = 0; V < R.length; V++) {
26594
+ const z = R[V];
26595
26595
  if (z.type === "text") {
26596
26596
  b += i(z.value), A += z.value, N || (N = z.value.includes(_));
26597
26597
  continue;
@@ -26605,16 +26605,16 @@ function dV() {
26605
26605
  }
26606
26606
  return b;
26607
26607
  }
26608
- function w(T, _) {
26609
- return _.length < 2 ? T.length < 2 ? `[^${i(T + _)}]` : `(?:(?!${i(T)})[^${i(_)}])` : T.length < 2 ? `(?:(?!${i(_)})[^${i(T)}])` : `(?:(?!${i(_)}|${i(T)})[\\s\\S])`;
26608
+ function w(R, _) {
26609
+ return _.length < 2 ? R.length < 2 ? `[^${i(R + _)}]` : `(?:(?!${i(R)})[^${i(_)}])` : R.length < 2 ? `(?:(?!${i(_)})[^${i(R)}])` : `(?:(?!${i(_)}|${i(R)})[\\s\\S])`;
26610
26610
  }
26611
- function C(T) {
26612
- return T.tokens.map(function _(E, b, A) {
26611
+ function P(R) {
26612
+ return R.tokens.map(function _(E, b, A) {
26613
26613
  if (E.type === "text")
26614
26614
  return s(E.value);
26615
26615
  if (E.type === "group")
26616
26616
  return `{${E.tokens.map(_).join("")}}`;
26617
- const V = P(E.name) && O(A[b + 1]) ? E.name : JSON.stringify(E.name);
26617
+ const V = T(E.name) && O(A[b + 1]) ? E.name : JSON.stringify(E.name);
26618
26618
  if (E.type === "param")
26619
26619
  return `:${V}`;
26620
26620
  if (E.type === "wildcard")
@@ -26622,12 +26622,12 @@ function dV() {
26622
26622
  throw new TypeError(`Unexpected token: ${E}`);
26623
26623
  }).join("");
26624
26624
  }
26625
- function P(T) {
26626
- const [_, ...E] = T;
26625
+ function T(R) {
26626
+ const [_, ...E] = R;
26627
26627
  return r.test(_) ? E.every((b) => n.test(b)) : !1;
26628
26628
  }
26629
- function O(T) {
26630
- return (T == null ? void 0 : T.type) !== "text" ? !0 : !n.test(T.value[0]);
26629
+ function O(R) {
26630
+ return (R == null ? void 0 : R.type) !== "text" ? !0 : !n.test(R.value[0]);
26631
26631
  }
26632
26632
  return $t;
26633
26633
  }
@@ -26715,17 +26715,17 @@ var wh = 1e-4, pV = class Gf {
26715
26715
  }
26716
26716
  }), y = t.openReconnectingWebsocket(
26717
26717
  `/controllers/${l.controller}/state-stream?response_rate=1000`
26718
- ), S = yield y.firstMessage(), R = (o = gr(S.data)) == null ? void 0 : o.result;
26719
- if (!R)
26718
+ ), S = yield y.firstMessage(), C = (o = gr(S.data)) == null ? void 0 : o.result;
26719
+ if (!C)
26720
26720
  throw new Error(
26721
26721
  `Unable to parse initial controller state message ${S.data}`
26722
26722
  );
26723
26723
  console.log(
26724
26724
  `Connected controller state websocket to controller ${l.controller}. Initial state:
26725
26725
  `,
26726
- R
26726
+ C
26727
26727
  );
26728
- const { tcps: w } = yield t.api.motionGroupInfos.listTcps(r), C = yield t.api.motionGroupInfos.getMotionGroupSpecification(r), P = yield t.api.motionGroupInfos.getSafetySetup(r);
26728
+ const { tcps: w } = yield t.api.motionGroupInfos.listTcps(r), P = yield t.api.motionGroupInfos.getMotionGroupSpecification(r), T = yield t.api.motionGroupInfos.getSafetySetup(r);
26729
26729
  return new Gf(
26730
26730
  t,
26731
26731
  l,
@@ -26734,10 +26734,10 @@ var wh = 1e-4, pV = class Gf {
26734
26734
  u,
26735
26735
  f,
26736
26736
  w,
26737
- C,
26738
26737
  P,
26738
+ T,
26739
26739
  m,
26740
- R,
26740
+ C,
26741
26741
  y
26742
26742
  );
26743
26743
  });
@@ -27061,9 +27061,9 @@ var wh = 1e-4, pV = class Gf {
27061
27061
  r.orientation.z
27062
27062
  ), f = p.length(), m = p.clone().normalize(), y = l.distanceRads * (i === "-" ? -1 : 1), S = new Cn(0, 0, 0);
27063
27063
  S[s] = 1;
27064
- const R = Math.cos(0.5 * y) * Math.cos(0.5 * f), w = Math.sin(0.5 * y) * Math.sin(0.5 * f), C = Math.sin(0.5 * y) * Math.cos(0.5 * f), P = Math.cos(0.5 * y) * Math.sin(0.5 * f), O = S.dot(
27064
+ const C = Math.cos(0.5 * y) * Math.cos(0.5 * f), w = Math.sin(0.5 * y) * Math.sin(0.5 * f), P = Math.sin(0.5 * y) * Math.cos(0.5 * f), T = Math.cos(0.5 * y) * Math.sin(0.5 * f), O = S.dot(
27065
27065
  m
27066
- ), T = S.clone().cross(m), _ = 2 * Math.acos(R - w * O), E = _ / Math.sin(0.5 * _), b = new Cn().addScaledVector(T, w).addScaledVector(S, C).addScaledVector(m, P).multiplyScalar(E);
27066
+ ), R = S.clone().cross(m), _ = 2 * Math.acos(C - w * O), E = _ / Math.sin(0.5 * _), b = new Cn().addScaledVector(R, w).addScaledVector(S, P).addScaledVector(m, T).multiplyScalar(E);
27067
27067
  u.push({
27068
27068
  settings: {
27069
27069
  limits_override: {
@@ -29003,9 +29003,9 @@ function Kf(e, t, r, n, a, o) {
29003
29003
  break;
29004
29004
  }
29005
29005
  if (p) {
29006
- if (!AM(t, function(S, R) {
29007
- if (!IM(p, R) && (f === S || a(f, S, r, n, o)))
29008
- return p.push(R);
29006
+ if (!AM(t, function(S, C) {
29007
+ if (!IM(p, C) && (f === S || a(f, S, r, n, o)))
29008
+ return p.push(C);
29009
29009
  })) {
29010
29010
  h = !1;
29011
29011
  break;
@@ -29190,18 +29190,18 @@ function Q5(e, t, r, n, a, o) {
29190
29190
  o.set(e, t), o.set(t, e);
29191
29191
  for (var y = s; ++d < l; ) {
29192
29192
  h = i[d];
29193
- var S = e[h], R = t[h];
29193
+ var S = e[h], C = t[h];
29194
29194
  if (n)
29195
- var w = s ? n(R, S, h, t, e, o) : n(S, R, h, e, t, o);
29196
- if (!(w === void 0 ? S === R || a(S, R, r, n, o) : w)) {
29195
+ var w = s ? n(C, S, h, t, e, o) : n(S, C, h, e, t, o);
29196
+ if (!(w === void 0 ? S === C || a(S, C, r, n, o) : w)) {
29197
29197
  m = !1;
29198
29198
  break;
29199
29199
  }
29200
29200
  y || (y = h == "constructor");
29201
29201
  }
29202
29202
  if (m && !y) {
29203
- var C = e.constructor, P = t.constructor;
29204
- C != P && "constructor" in e && "constructor" in t && !(typeof C == "function" && C instanceof C && typeof P == "function" && P instanceof P) && (m = !1);
29203
+ var P = e.constructor, T = t.constructor;
29204
+ P != T && "constructor" in e && "constructor" in t && !(typeof P == "function" && P instanceof P && typeof T == "function" && T instanceof T) && (m = !1);
29205
29205
  }
29206
29206
  return o.delete(e), o.delete(t), m;
29207
29207
  }
@@ -30102,9 +30102,9 @@ function lj(e) {
30102
30102
  step: m = 1,
30103
30103
  shiftStep: y = 10,
30104
30104
  tabIndex: S,
30105
- value: R
30106
- } = e, w = B.useRef(void 0), [C, P] = B.useState(-1), [O, T] = B.useState(-1), [_, E] = B.useState(!1), b = B.useRef(0), A = B.useRef(null), [N, V] = gP({
30107
- controlled: R,
30105
+ value: C
30106
+ } = e, w = B.useRef(void 0), [P, T] = B.useState(-1), [O, R] = B.useState(-1), [_, E] = B.useState(!1), b = B.useRef(0), A = B.useRef(null), [N, V] = gP({
30107
+ controlled: C,
30108
30108
  default: r ?? l,
30109
30109
  name: "Slider"
30110
30110
  }), z = u && ((Y, Z, oe) => {
@@ -30124,10 +30124,10 @@ function lj(e) {
30124
30124
  })) : s || [], X = ne.map((Y) => Y.value), [ie, q] = B.useState(-1), Q = B.useRef(null), de = Ts(p, Q), _e = (Y) => (Z) => {
30125
30125
  var fe;
30126
30126
  const oe = Number(Z.currentTarget.getAttribute("data-index"));
30127
- Wh(Z.target) && q(oe), T(oe), (fe = Y == null ? void 0 : Y.onFocus) == null || fe.call(Y, Z);
30127
+ Wh(Z.target) && q(oe), R(oe), (fe = Y == null ? void 0 : Y.onFocus) == null || fe.call(Y, Z);
30128
30128
  }, Je = (Y) => (Z) => {
30129
30129
  var oe;
30130
- Wh(Z.target) || q(-1), T(-1), (oe = Y == null ? void 0 : Y.onBlur) == null || oe.call(Y, Z);
30130
+ Wh(Z.target) || q(-1), R(-1), (oe = Y == null ? void 0 : Y.onBlur) == null || oe.call(Y, Z);
30131
30131
  }, Pe = (Y, Z) => {
30132
30132
  const oe = Number(Y.currentTarget.getAttribute("data-index")), fe = ee[oe], Te = X.indexOf(fe);
30133
30133
  let se = Z;
@@ -30195,7 +30195,7 @@ function lj(e) {
30195
30195
  Gt(() => {
30196
30196
  var Y;
30197
30197
  n && Q.current.contains(document.activeElement) && ((Y = document.activeElement) == null || Y.blur());
30198
- }, [n]), n && C !== -1 && P(-1), n && ie !== -1 && q(-1);
30198
+ }, [n]), n && P !== -1 && T(-1), n && ie !== -1 && q(-1);
30199
30199
  const lt = (Y) => (Z) => {
30200
30200
  var oe;
30201
30201
  (oe = Y.onChange) == null || oe.call(Y, Z), Pe(Z, Z.target.valueAsNumber);
@@ -30256,7 +30256,7 @@ function lj(e) {
30256
30256
  Po({
30257
30257
  sliderRef: Q,
30258
30258
  activeIndex: fe,
30259
- setActive: P
30259
+ setActive: T
30260
30260
  }), V(oe), !_ && b.current > rj && E(!0), z && !To(oe, N) && z(Y, oe, fe);
30261
30261
  }), W = Xt((Y) => {
30262
30262
  const Z = Co(Y, w);
@@ -30268,7 +30268,7 @@ function lj(e) {
30268
30268
  finger: Z,
30269
30269
  move: !0
30270
30270
  });
30271
- P(-1), Y.type === "touchend" && T(-1), d && d(Y, A.current ?? oe), w.current = void 0, me();
30271
+ T(-1), Y.type === "touchend" && R(-1), d && d(Y, A.current ?? oe), w.current = void 0, me();
30272
30272
  }), xe = Xt((Y) => {
30273
30273
  if (n)
30274
30274
  return;
@@ -30286,7 +30286,7 @@ function lj(e) {
30286
30286
  Po({
30287
30287
  sliderRef: Q,
30288
30288
  activeIndex: se,
30289
- setActive: P
30289
+ setActive: T
30290
30290
  }), V(Te), z && !To(Te, N) && z(Y, Te, se);
30291
30291
  }
30292
30292
  b.current = 0;
@@ -30328,7 +30328,7 @@ function lj(e) {
30328
30328
  Po({
30329
30329
  sliderRef: Q,
30330
30330
  activeIndex: Ke,
30331
- setActive: P
30331
+ setActive: T
30332
30332
  }), V(se), z && !To(se, N) && z(Z, se, Ke);
30333
30333
  }
30334
30334
  b.current = 0;
@@ -30352,10 +30352,10 @@ function lj(e) {
30352
30352
  var fe;
30353
30353
  (fe = Y.onMouseOver) == null || fe.call(Y, Z);
30354
30354
  const oe = Number(Z.currentTarget.getAttribute("data-index"));
30355
- T(oe);
30355
+ R(oe);
30356
30356
  }, Ja = (Y) => (Z) => {
30357
30357
  var oe;
30358
- (oe = Y.onMouseLeave) == null || oe.call(Y, Z), T(-1);
30358
+ (oe = Y.onMouseLeave) == null || oe.call(Y, Z), R(-1);
30359
30359
  }, Ya = (Y = {}) => {
30360
30360
  const Z = Uo(Y), oe = {
30361
30361
  onMouseOver: Wa(Z || {}),
@@ -30368,11 +30368,11 @@ function lj(e) {
30368
30368
  };
30369
30369
  }, Ka = (Y) => ({
30370
30370
  // So the non active thumb doesn't show its label on hover.
30371
- pointerEvents: C !== -1 && C !== Y ? "none" : void 0
30371
+ pointerEvents: P !== -1 && P !== Y ? "none" : void 0
30372
30372
  });
30373
30373
  let Zr;
30374
30374
  return h === "vertical" && (Zr = o ? "vertical-rl" : "vertical-lr"), {
30375
- active: C,
30375
+ active: P,
30376
30376
  axis: K,
30377
30377
  axisProps: sj,
30378
30378
  dragging: _,
@@ -31024,12 +31024,12 @@ const bj = xt("span", {
31024
31024
  disabled: m = !1,
31025
31025
  getAriaLabel: y,
31026
31026
  getAriaValueText: S,
31027
- marks: R = !1,
31027
+ marks: C = !1,
31028
31028
  max: w = 100,
31029
- min: C = 0,
31030
- name: P,
31029
+ min: P = 0,
31030
+ name: T,
31031
31031
  onChange: O,
31032
- onChangeCommitted: T,
31032
+ onChangeCommitted: R,
31033
31033
  orientation: _ = "horizontal",
31034
31034
  shiftStep: E = 10,
31035
31035
  size: b = "medium",
@@ -31047,12 +31047,12 @@ const bj = xt("span", {
31047
31047
  ...n,
31048
31048
  isRtl: a,
31049
31049
  max: w,
31050
- min: C,
31050
+ min: P,
31051
31051
  classes: h,
31052
31052
  disabled: m,
31053
31053
  disableSwap: f,
31054
31054
  orientation: _,
31055
- marks: R,
31055
+ marks: C,
31056
31056
  color: d,
31057
31057
  size: b,
31058
31058
  step: A,
@@ -31155,8 +31155,8 @@ const bj = xt("span", {
31155
31155
  ...Hn
31156
31156
  }), /* @__PURE__ */ g.jsx(Ja, {
31157
31157
  ...Cg
31158
- }), W.filter((ze) => ze.value >= C && ze.value <= w).map((ze, et) => {
31159
- const li = ds(ze.value, C, w), Xa = de[be].offset(li);
31158
+ }), W.filter((ze) => ze.value >= P && ze.value <= w).map((ze, et) => {
31159
+ const li = ds(ze.value, P, w), Xa = de[be].offset(li);
31160
31160
  let Wt;
31161
31161
  return ee === !1 ? Wt = xe.includes(ze.value) : Wt = ee === "normal" && (ae ? ze.value >= xe[0] && ze.value <= xe[xe.length - 1] : ze.value <= xe[0]) || ee === "inverted" && (ae ? ze.value <= xe[0] || ze.value >= xe[xe.length - 1] : ze.value >= xe[0]), /* @__PURE__ */ g.jsxs(B.Fragment, {
31162
31162
  children: [/* @__PURE__ */ g.jsx(Zr, {
@@ -31186,7 +31186,7 @@ const bj = xt("span", {
31186
31186
  }) : null]
31187
31187
  }, et);
31188
31188
  }), xe.map((ze, et) => {
31189
- const li = ds(ze, C, w), Xa = de[be].offset(li), Wt = X === "off" ? Sj : Ka;
31189
+ const li = ds(ze, P, w), Xa = de[be].offset(li), Wt = X === "off" ? Sj : Ka;
31190
31190
  return (
31191
31191
  /* TODO v6: Change component structure. It will help in avoiding the complicated React.cloneElement API added in SliderValueLabel component. Should be: Thumb -> Input, ValueLabel. Follow Joy UI's Slider structure. */
31192
31192
  /* @__PURE__ */ g.jsx(Wt, {
@@ -31662,8 +31662,8 @@ const gg = Ce(
31662
31662
  e.isLocked || e.activeDiscreteIncrement || await e.deactivate();
31663
31663
  }
31664
31664
  function l(h, p, f) {
31665
- var y, S, R;
31666
- const m = (R = (S = (y = f.componentsExt) == null ? void 0 : y.JoggingPanel) == null ? void 0 : S.JoggingCartesian) == null ? void 0 : R.Axis;
31665
+ var y, S, C;
31666
+ const m = (C = (S = (y = f.componentsExt) == null ? void 0 : y.JoggingPanel) == null ? void 0 : S.JoggingCartesian) == null ? void 0 : C.Axis;
31667
31667
  if (m)
31668
31668
  return p === "translate" ? m[h] : m.CustomRotation ?? m[h];
31669
31669
  }
@@ -32170,13 +32170,13 @@ const ai = (e, t, r) => ({
32170
32170
  return o.palette.text.secondary;
32171
32171
  }
32172
32172
  }, c = ({ message: d }) => {
32173
- const [h, p] = De(!1), [f, m] = De(!1), [y, S] = De(!1), R = d.message.length > 150, w = async () => {
32173
+ const [h, p] = De(!1), [f, m] = De(!1), [y, S] = De(!1), C = d.message.length > 150, w = async () => {
32174
32174
  try {
32175
32175
  await navigator.clipboard.writeText(d.message), m(!0), setTimeout(() => m(!1), 2e3);
32176
- } catch (P) {
32177
- console.error("Failed to copy message:", P);
32176
+ } catch (T) {
32177
+ console.error("Failed to copy message:", T);
32178
32178
  }
32179
- }, C = R && !h ? d.message.substring(0, 150) + "..." : d.message;
32179
+ }, P = C && !h ? d.message.substring(0, 150) + "..." : d.message;
32180
32180
  return /* @__PURE__ */ g.jsx(
32181
32181
  re,
32182
32182
  {
@@ -32231,7 +32231,7 @@ const ai = (e, t, r) => ({
32231
32231
  flex: 1,
32232
32232
  whiteSpace: "pre-wrap"
32233
32233
  },
32234
- children: C
32234
+ children: P
32235
32235
  }
32236
32236
  ),
32237
32237
  /* @__PURE__ */ g.jsxs(
@@ -32262,7 +32262,7 @@ const ai = (e, t, r) => ({
32262
32262
  children: /* @__PURE__ */ g.jsx(R0, { sx: { fontSize: 12 } })
32263
32263
  }
32264
32264
  ),
32265
- R && /* @__PURE__ */ g.jsx(
32265
+ C && /* @__PURE__ */ g.jsx(
32266
32266
  $r,
32267
32267
  {
32268
32268
  size: "small",
@@ -33113,12 +33113,12 @@ const O$ = Ge(
33113
33113
  className: u
33114
33114
  }) => {
33115
33115
  var V;
33116
- const d = Be(), { t: h } = Qe(), [p, f] = De(!1), m = Se(null), y = Se(null), [S, R] = De(!1), [w, C] = De({ width: 400, height: 600 }), [P, O] = De(0);
33116
+ const d = Be(), { t: h } = Qe(), [p, f] = De(!1), m = Se(null), y = Se(null), [S, C] = De(!1), [w, P] = De({ width: 400, height: 600 }), [T, O] = De(0);
33117
33117
  Ie(() => {
33118
33118
  const z = () => {
33119
33119
  if (y.current) {
33120
33120
  const { offsetWidth: ee, offsetHeight: ne } = y.current;
33121
- R(ee > ne), C({ width: ee, height: ne });
33121
+ C(ee > ne), P({ width: ee, height: ne });
33122
33122
  }
33123
33123
  };
33124
33124
  z();
@@ -33127,7 +33127,7 @@ const O$ = Ge(
33127
33127
  te.disconnect();
33128
33128
  };
33129
33129
  }, []);
33130
- const T = ge(() => {
33130
+ const R = ge(() => {
33131
33131
  O((z) => z + 1);
33132
33132
  }, []), _ = ge(() => {
33133
33133
  !a || !o || (f(!0), o());
@@ -33202,7 +33202,7 @@ const O$ = Ge(
33202
33202
  l,
33203
33203
  {
33204
33204
  connectedMotionGroup: i,
33205
- postModelRender: T
33205
+ postModelRender: R
33206
33206
  }
33207
33207
  ) })
33208
33208
  ]
@@ -33372,7 +33372,7 @@ const O$ = Ge(
33372
33372
  l,
33373
33373
  {
33374
33374
  connectedMotionGroup: i,
33375
- postModelRender: T
33375
+ postModelRender: R
33376
33376
  }
33377
33377
  ) })
33378
33378
  ]
@@ -34211,8 +34211,13 @@ const I$ = Ge(
34211
34211
  px: 0,
34212
34212
  py: 0,
34213
34213
  overflow: "visible",
34214
- paddingTop: "16px",
34215
- paddingRight: "20px"
34214
+ // Extra padding to prevent badge clipping
34215
+ // Top: accommodates badge positioned at top: -6px with 20px height
34216
+ // Right: accommodates badge positioned at right: -8px with 20px width
34217
+ paddingTop: (h) => h.spacing(2),
34218
+ // 16px
34219
+ paddingRight: (h) => h.spacing(2.5)
34220
+ // 20px
34216
34221
  },
34217
34222
  children: /* @__PURE__ */ g.jsx(
34218
34223
  op,
@@ -34240,87 +34245,119 @@ const I$ = Ge(
34240
34245
  overflow: "visible"
34241
34246
  }
34242
34247
  },
34243
- children: t.map((h, p) => /* @__PURE__ */ g.jsx(
34244
- sp,
34245
- {
34246
- label: h.label,
34247
- icon: h.icon,
34248
- iconPosition: "start",
34249
- disableRipple: !0,
34250
- sx: {
34251
- minHeight: "32px",
34252
- height: "32px",
34253
- padding: "0px 10px",
34254
- borderRadius: "12px",
34255
- backgroundColor: (f) => {
34256
- var m;
34257
- return ((m = f.palette.backgroundPaperElevation) == null ? void 0 : m[11]) || "#32344B";
34258
- },
34259
- color: "text.primary",
34260
- opacity: u === p ? 1 : 0.38,
34261
- fontSize: "13px",
34262
- transition: "all 0.2s ease-in-out",
34263
- position: "relative",
34264
- "&:hover": {
34265
- opacity: u === p ? 1 : 0.6
34266
- },
34267
- "&.Mui-selected": {
34268
- opacity: 1,
34269
- backgroundColor: (f) => {
34270
- var m;
34271
- return ((m = f.palette.backgroundPaperElevation) == null ? void 0 : m[11]) || "#32344B";
34248
+ children: t.map((h, p) => {
34249
+ const f = () => {
34250
+ if (!h.badge) return "";
34251
+ const C = h.badge.content, w = h.badge.max;
34252
+ return typeof C == "number" && w && C > w ? `${w}+` : String(C);
34253
+ }, m = () => {
34254
+ if (!h.badge) return !1;
34255
+ const C = h.badge.content, w = h.badge.showZero;
34256
+ return !(C === 0 && !w);
34257
+ }, y = f(), S = m();
34258
+ return /* @__PURE__ */ g.jsx(
34259
+ sp,
34260
+ {
34261
+ label: h.label,
34262
+ icon: h.icon,
34263
+ iconPosition: "start",
34264
+ disableRipple: !0,
34265
+ sx: {
34266
+ minHeight: "32px",
34267
+ height: "32px",
34268
+ padding: "0px 10px",
34269
+ borderRadius: "12px",
34270
+ backgroundColor: (C) => {
34271
+ var w;
34272
+ return ((w = C.palette.backgroundPaperElevation) == null ? void 0 : w[11]) || "#32344B";
34272
34273
  },
34273
- color: "text.primary"
34274
- },
34275
- "&:focus": {
34276
- outline: "none"
34277
- },
34278
- "&:active": {
34279
- transform: "none"
34280
- },
34281
- ...h.badge && {
34282
- "&::after": {
34283
- content: `"${h.badge.content}"`,
34284
- position: "absolute",
34285
- top: -6,
34286
- right: -8,
34287
- minWidth: "20px",
34288
- height: "20px",
34289
- borderRadius: "10px",
34290
- backgroundColor: (f) => {
34291
- var y;
34292
- const m = {
34293
- error: f.palette.error.main,
34294
- info: f.palette.info.main,
34295
- success: f.palette.success.main,
34296
- warning: f.palette.warning.main,
34297
- primary: f.palette.primary.main,
34298
- secondary: f.palette.secondary.main,
34299
- default: f.palette.grey[500]
34300
- };
34301
- return m[((y = h.badge) == null ? void 0 : y.color) || "error"] || m.error;
34274
+ color: "text.primary",
34275
+ opacity: u === p ? 1 : 0.38,
34276
+ fontSize: "13px",
34277
+ transition: "all 0.2s ease-in-out",
34278
+ position: "relative",
34279
+ "&:hover": {
34280
+ opacity: u === p ? 1 : 0.6
34281
+ },
34282
+ "&.Mui-selected": {
34283
+ opacity: 1,
34284
+ backgroundColor: (C) => {
34285
+ var w;
34286
+ return ((w = C.palette.backgroundPaperElevation) == null ? void 0 : w[11]) || "#32344B";
34302
34287
  },
34303
- color: "white",
34304
- fontSize: "12px",
34305
- fontWeight: 600,
34306
- display: "flex",
34307
- alignItems: "center",
34308
- justifyContent: "center",
34309
- padding: "2px 6px",
34310
- zIndex: 1,
34311
- pointerEvents: "none",
34312
- boxShadow: "0 2px 4px rgba(0,0,0,0.2)"
34288
+ color: "text.primary"
34289
+ },
34290
+ "&:focus": {
34291
+ outline: "none"
34292
+ },
34293
+ "&:active": {
34294
+ transform: "none"
34295
+ },
34296
+ ...S && {
34297
+ "&::after": {
34298
+ content: `"${y}"`,
34299
+ position: "absolute",
34300
+ // Position badge in top-right corner, extending outside tab bounds
34301
+ top: -6,
34302
+ // Positions badge above the tab
34303
+ right: -8,
34304
+ // Positions badge to the right of the tab
34305
+ // Badge sizing - MUI Badge standard small size
34306
+ minWidth: "20px",
34307
+ // Min width for single digits
34308
+ height: "20px",
34309
+ // Fixed height for consistent appearance
34310
+ borderRadius: "10px",
34311
+ // Half of height for circular shape
34312
+ backgroundColor: (C) => {
34313
+ var P;
34314
+ const w = {
34315
+ error: C.palette.error.main,
34316
+ info: C.palette.info.main,
34317
+ success: C.palette.success.main,
34318
+ warning: C.palette.warning.main,
34319
+ primary: C.palette.primary.main,
34320
+ secondary: C.palette.secondary.main,
34321
+ default: C.palette.grey[500]
34322
+ };
34323
+ return w[((P = h.badge) == null ? void 0 : P.color) || "error"] || w.error;
34324
+ },
34325
+ color: "white",
34326
+ fontSize: "12px",
34327
+ // Readable size for badge content
34328
+ fontWeight: 600,
34329
+ // Semi-bold for better visibility
34330
+ display: "flex",
34331
+ alignItems: "center",
34332
+ justifyContent: "center",
34333
+ padding: "2px 6px",
34334
+ // Horizontal padding for wider content (e.g., "99+")
34335
+ zIndex: 1,
34336
+ pointerEvents: "none",
34337
+ // Allow clicks to pass through to tab
34338
+ boxShadow: "0 2px 4px rgba(0,0,0,0.2)"
34339
+ // Subtle depth
34340
+ }
34313
34341
  }
34314
34342
  }
34315
- }
34316
- },
34317
- h.id
34318
- ))
34343
+ },
34344
+ h.id
34345
+ );
34346
+ })
34319
34347
  }
34320
34348
  )
34321
34349
  }
34322
34350
  ),
34323
- /* @__PURE__ */ g.jsx(re, { sx: { mt: "16px", borderBottom: 1, borderColor: "divider" } }),
34351
+ /* @__PURE__ */ g.jsx(
34352
+ re,
34353
+ {
34354
+ sx: {
34355
+ mt: (h) => h.spacing(2),
34356
+ borderBottom: 1,
34357
+ borderColor: "divider"
34358
+ }
34359
+ }
34360
+ ),
34324
34361
  /* @__PURE__ */ g.jsx(re, { sx: { flex: 1, overflow: "auto" }, children: t.map((h, p) => /* @__PURE__ */ g.jsx(xk, { value: u, index: p, children: h.content }, h.id)) })
34325
34362
  ]
34326
34363
  }