@wandelbots/wandelbots-js-react-components 1.44.2-pr.fix-joint-jogging-race-condition.151.121a5ce → 1.44.2

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
@@ -100,7 +100,7 @@ function wu() {
100
100
  }
101
101
  var O = !1, w = !1, C = !1, R = !1, U = !1, oe;
102
102
  oe = Symbol.for("react.module.reference");
103
- function V(g) {
103
+ function F(g) {
104
104
  return !!(typeof g == "string" || typeof g == "function" || g === n || g === i || U || g === o || g === c || g === u || R || g === v || O || w || C || typeof g == "object" && g !== null && (g.$$typeof === f || g.$$typeof === d || g.$$typeof === s || g.$$typeof === a || g.$$typeof === l || // This needs to include all possible module reference object
105
105
  // types supported by any Flight configuration anywhere since
106
106
  // we don't know which Flight build this will end up being used
@@ -291,17 +291,17 @@ function wu() {
291
291
  }
292
292
  } catch (Ie) {
293
293
  if (Ie && I && typeof Ie.stack == "string") {
294
- for (var F = Ie.stack.split(`
294
+ for (var V = Ie.stack.split(`
295
295
  `), Pe = I.stack.split(`
296
- `), pe = F.length - 1, ye = Pe.length - 1; pe >= 1 && ye >= 0 && F[pe] !== Pe[ye]; )
296
+ `), pe = V.length - 1, ye = Pe.length - 1; pe >= 1 && ye >= 0 && V[pe] !== Pe[ye]; )
297
297
  ye--;
298
298
  for (; pe >= 1 && ye >= 0; pe--, ye--)
299
- if (F[pe] !== Pe[ye]) {
299
+ if (V[pe] !== Pe[ye]) {
300
300
  if (pe !== 1 || ye !== 1)
301
301
  do
302
- if (pe--, ye--, ye < 0 || F[pe] !== Pe[ye]) {
302
+ if (pe--, ye--, ye < 0 || V[pe] !== Pe[ye]) {
303
303
  var Ke = `
304
- ` + F[pe].replace(" at new ", " at ");
304
+ ` + V[pe].replace(" at new ", " at ");
305
305
  return g.displayName && Ke.includes("<anonymous>") && (Ke = Ke.replace("<anonymous>", g.displayName)), typeof g == "function" && lt.set(g, Ke), Ke;
306
306
  }
307
307
  while (pe >= 1 && ye >= 0);
@@ -363,17 +363,17 @@ function wu() {
363
363
  var te = Function.call.bind(ue);
364
364
  for (var J in g)
365
365
  if (te(g, J)) {
366
- var F = void 0;
366
+ var V = void 0;
367
367
  try {
368
368
  if (typeof g[J] != "function") {
369
369
  var Pe = Error((I || "React class") + ": " + k + " type `" + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof g[J] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
370
370
  throw Pe.name = "Invariant Violation", Pe;
371
371
  }
372
- F = g[J](E, J, I, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
372
+ V = g[J](E, J, I, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
373
373
  } catch (pe) {
374
- F = pe;
374
+ V = pe;
375
375
  }
376
- F && !(F instanceof Error) && (_t(D), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", I || "React class", k, J, typeof F), _t(null)), F instanceof Error && !(F.message in je) && (je[F.message] = !0, _t(D), T("Failed %s type: %s", k, F.message), _t(null));
376
+ V && !(V instanceof Error) && (_t(D), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", I || "React class", k, J, typeof V), _t(null)), V instanceof Error && !(V.message in je) && (je[V.message] = !0, _t(D), T("Failed %s type: %s", k, V.message), _t(null));
377
377
  }
378
378
  }
379
379
  }
@@ -453,7 +453,7 @@ function wu() {
453
453
  }
454
454
  }
455
455
  var Ae = function(g, E, k, I, D, te, J) {
456
- var F = {
456
+ var V = {
457
457
  // This tag allows us to uniquely identify this as a React Element
458
458
  $$typeof: t,
459
459
  // Built-in properties that belong on the element
@@ -464,27 +464,27 @@ function wu() {
464
464
  // Record the component responsible for creating this element.
465
465
  _owner: te
466
466
  };
467
- return F._store = {}, Object.defineProperty(F._store, "validated", {
467
+ return V._store = {}, Object.defineProperty(V._store, "validated", {
468
468
  configurable: !1,
469
469
  enumerable: !1,
470
470
  writable: !0,
471
471
  value: !1
472
- }), Object.defineProperty(F, "_self", {
472
+ }), Object.defineProperty(V, "_self", {
473
473
  configurable: !1,
474
474
  enumerable: !1,
475
475
  writable: !1,
476
476
  value: I
477
- }), Object.defineProperty(F, "_source", {
477
+ }), Object.defineProperty(V, "_source", {
478
478
  configurable: !1,
479
479
  enumerable: !1,
480
480
  writable: !1,
481
481
  value: D
482
- }), Object.freeze && (Object.freeze(F.props), Object.freeze(F)), F;
482
+ }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
483
483
  };
484
484
  function $t(g, E, k, I, D) {
485
485
  {
486
- var te, J = {}, F = null, Pe = null;
487
- k !== void 0 && (tr(k), F = "" + k), K(E) && (tr(E.key), F = "" + E.key), X(E) && (Pe = E.ref, Be(E, D));
486
+ var te, J = {}, V = null, Pe = null;
487
+ k !== void 0 && (tr(k), V = "" + k), K(E) && (tr(E.key), V = "" + E.key), X(E) && (Pe = E.ref, Be(E, D));
488
488
  for (te in E)
489
489
  ue.call(E, te) && !P.hasOwnProperty(te) && (J[te] = E[te]);
490
490
  if (g && g.defaultProps) {
@@ -492,11 +492,11 @@ function wu() {
492
492
  for (te in pe)
493
493
  J[te] === void 0 && (J[te] = pe[te]);
494
494
  }
495
- if (F || Pe) {
495
+ if (V || Pe) {
496
496
  var ye = typeof g == "function" ? g.displayName || g.name || "Unknown" : g;
497
- F && Ge(J, ye), Pe && ee(J, ye);
497
+ V && Ge(J, ye), Pe && ee(J, ye);
498
498
  }
499
- return Ae(g, F, Pe, D, I, nt.current, J);
499
+ return Ae(g, V, Pe, D, I, nt.current, J);
500
500
  }
501
501
  }
502
502
  var rr = S.ReactCurrentOwner, Pr = S.ReactDebugCurrentFrame;
@@ -612,14 +612,14 @@ Check the top-level render call using <` + k + ">.");
612
612
  var gn = {};
613
613
  function hn(g, E, k, I, D, te) {
614
614
  {
615
- var J = V(g);
615
+ var J = F(g);
616
616
  if (!J) {
617
- var F = "";
618
- (g === void 0 || typeof g == "object" && g !== null && Object.keys(g).length === 0) && (F += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
617
+ var V = "";
618
+ (g === void 0 || typeof g == "object" && g !== null && Object.keys(g).length === 0) && (V += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
619
619
  var Pe = jr();
620
- Pe ? F += Pe : F += $r();
620
+ Pe ? V += Pe : V += $r();
621
621
  var pe;
622
- g === null ? pe = "null" : Dt(g) ? pe = "array" : g !== void 0 && g.$$typeof === t ? (pe = "<" + (W(g.type) || "Unknown") + " />", F = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof g, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, F);
622
+ g === null ? pe = "null" : Dt(g) ? pe = "array" : g !== void 0 && g.$$typeof === t ? (pe = "<" + (W(g.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof g, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, V);
623
623
  }
624
624
  var ye = $t(g, E, k, D, te);
625
625
  if (ye == null)
@@ -2525,7 +2525,7 @@ function ud() {
2525
2525
  }
2526
2526
  }
2527
2527
  }
2528
- var C = s, R = i, U = e, oe = l, V = r, N = f, H = d, W = t, Y = o, q = n, xe = c, ae = u, Z = !1, Oe = !1;
2528
+ var C = s, R = i, U = e, oe = l, F = r, N = f, H = d, W = t, Y = o, q = n, xe = c, ae = u, Z = !1, Oe = !1;
2529
2529
  function $e(j) {
2530
2530
  return Z || (Z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2531
2531
  }
@@ -2568,7 +2568,7 @@ function ud() {
2568
2568
  function Ve(j) {
2569
2569
  return w(j) === u;
2570
2570
  }
2571
- se.ContextConsumer = C, se.ContextProvider = R, se.Element = U, se.ForwardRef = oe, se.Fragment = V, se.Lazy = N, se.Memo = H, se.Portal = W, se.Profiler = Y, se.StrictMode = q, se.Suspense = xe, se.SuspenseList = ae, se.isAsyncMode = $e, se.isConcurrentMode = rt, se.isContextConsumer = mt, se.isContextProvider = He, se.isElement = Se, se.isForwardRef = Rt, se.isFragment = st, se.isLazy = We, se.isMemo = Fe, se.isPortal = at, se.isProfiler = lt, se.isStrictMode = Mt, se.isSuspense = yt, se.isSuspenseList = Ve, se.isValidElementType = O, se.typeOf = w;
2571
+ se.ContextConsumer = C, se.ContextProvider = R, se.Element = U, se.ForwardRef = oe, se.Fragment = F, se.Lazy = N, se.Memo = H, se.Portal = W, se.Profiler = Y, se.StrictMode = q, se.Suspense = xe, se.SuspenseList = ae, se.isAsyncMode = $e, se.isConcurrentMode = rt, se.isContextConsumer = mt, se.isContextProvider = He, se.isElement = Se, se.isForwardRef = Rt, se.isFragment = st, se.isLazy = We, se.isMemo = Fe, se.isPortal = at, se.isProfiler = lt, se.isStrictMode = Mt, se.isSuspense = yt, se.isSuspenseList = Ve, se.isValidElementType = O, se.typeOf = w;
2572
2572
  }()), se;
2573
2573
  }
2574
2574
  process.env.NODE_ENV === "production" ? Qo.exports = cd() : Qo.exports = ud();
@@ -2732,12 +2732,12 @@ function xd(e = {}) {
2732
2732
  const N = new Array(oe).fill("");
2733
2733
  R = [...w, ...N], R.raw = [...w.raw, ...N];
2734
2734
  }
2735
- const V = T(R, ...U);
2735
+ const F = T(R, ...U);
2736
2736
  if (process.env.NODE_ENV !== "production") {
2737
2737
  let N;
2738
- l && (N = `${l}${Ce(c || "")}`), N === void 0 && (N = `Styled(${il(s)})`), V.displayName = N;
2738
+ l && (N = `${l}${Ce(c || "")}`), N === void 0 && (N = `Styled(${il(s)})`), F.displayName = N;
2739
2739
  }
2740
- return s.muiName && (V.muiName = s.muiName), V;
2740
+ return s.muiName && (F.muiName = s.muiName), F;
2741
2741
  };
2742
2742
  return T.withConfig && (O.withConfig = T.withConfig), O;
2743
2743
  };
@@ -3416,12 +3416,12 @@ function Rp(e = {}) {
3416
3416
  const N = new Array(oe).fill("");
3417
3417
  R = [...w, ...N], R.raw = [...w.raw, ...N];
3418
3418
  }
3419
- const V = T(R, ...U);
3419
+ const F = T(R, ...U);
3420
3420
  if (process.env.NODE_ENV !== "production") {
3421
3421
  let N;
3422
- l && (N = `${l}${(0, hp.default)(c || "")}`), N === void 0 && (N = `Styled(${(0, mp.default)(s)})`), V.displayName = N;
3422
+ l && (N = `${l}${(0, hp.default)(c || "")}`), N === void 0 && (N = `Styled(${(0, mp.default)(s)})`), F.displayName = N;
3423
3423
  }
3424
- return s.muiName && (V.muiName = s.muiName), V;
3424
+ return s.muiName && (F.muiName = s.muiName), F;
3425
3425
  };
3426
3426
  return T.withConfig && (O.withConfig = T.withConfig), O;
3427
3427
  };
@@ -4596,7 +4596,7 @@ class Kn extends go {
4596
4596
  let O = !1, w = !1;
4597
4597
  const C = r.count !== void 0 && !B(r.count), R = Kn.hasDefaultValue(r), U = C ? this.pluralResolver.getSuffix(c, r.count, r) : "", oe = r.ordinal && C ? this.pluralResolver.getSuffix(c, r.count, {
4598
4598
  ordinal: !1
4599
- }) : "", V = C && !r.ordinal && r.count === 0 && this.pluralResolver.shouldUseIntlApi(), N = V && r[`defaultValue${this.options.pluralSeparator}zero`] || r[`defaultValue${U}`] || r[`defaultValue${oe}`] || r.defaultValue;
4599
+ }) : "", F = C && !r.ordinal && r.count === 0 && this.pluralResolver.shouldUseIntlApi(), N = F && r[`defaultValue${this.options.pluralSeparator}zero`] || r[`defaultValue${U}`] || r[`defaultValue${oe}`] || r.defaultValue;
4600
4600
  !this.isValidLookup(f) && R && (O = !0, f = N), this.isValidLookup(f) || (w = !0, f = s);
4601
4601
  const W = (r.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && w ? void 0 : f, Y = R && N !== f && this.options.updateMissing;
4602
4602
  if (w || O || Y) {
@@ -4619,7 +4619,7 @@ class Kn extends go {
4619
4619
  };
4620
4620
  this.options.saveMissing && (this.options.saveMissingPlurals && C ? q.forEach((Z) => {
4621
4621
  const Oe = this.pluralResolver.getSuffixes(Z, r);
4622
- V && r[`defaultValue${this.options.pluralSeparator}zero`] && Oe.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Oe.push(`${this.options.pluralSeparator}zero`), Oe.forEach(($e) => {
4622
+ F && r[`defaultValue${this.options.pluralSeparator}zero`] && Oe.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Oe.push(`${this.options.pluralSeparator}zero`), Oe.forEach(($e) => {
4623
4623
  ae([Z], s + $e, r[`defaultValue${$e}`] || N);
4624
4624
  });
4625
4625
  }) : ae(q, s, N));
@@ -5795,8 +5795,8 @@ const Ls = cn(
5795
5795
  }) => {
5796
5796
  var $, O, w, C, R, U, oe;
5797
5797
  un(() => {
5798
- const V = r(), N = f.current;
5799
- N && (N.textContent = V);
5798
+ const F = r(), N = f.current;
5799
+ N && (N.textContent = F);
5800
5800
  });
5801
5801
  const l = gt(), [c, u] = Xt(null);
5802
5802
  St(() => {
@@ -5848,8 +5848,8 @@ const Ls = cn(
5848
5848
  "svg path": { fill: l.palette.action.disabled }
5849
5849
  }
5850
5850
  };
5851
- function S(V, N) {
5852
- i || V.button === 0 && (u(N), n(N));
5851
+ function S(F, N) {
5852
+ i || F.button === 0 && (u(N), n(N));
5853
5853
  }
5854
5854
  function T() {
5855
5855
  u(null), o();
@@ -5860,7 +5860,7 @@ const Ls = cn(
5860
5860
  {
5861
5861
  disabled: i,
5862
5862
  disableRipple: !0,
5863
- onPointerDown: (V) => S(V, "-"),
5863
+ onPointerDown: (F) => S(F, "-"),
5864
5864
  onPointerUp: T,
5865
5865
  onPointerOut: T,
5866
5866
  size: "large",
@@ -5929,7 +5929,7 @@ const Ls = cn(
5929
5929
  {
5930
5930
  disableRipple: !0,
5931
5931
  disabled: i,
5932
- onPointerDown: (V) => S(V, "+"),
5932
+ onPointerDown: (F) => S(F, "+"),
5933
5933
  onPointerUp: T,
5934
5934
  onPointerOut: T,
5935
5935
  size: "large",
@@ -6315,8 +6315,8 @@ const _h = cn(
6315
6315
  color: (O = u.palette.backgroundPaperElevation) == null ? void 0 : O[11]
6316
6316
  }, f = vi(() => ({
6317
6317
  activeJoggingDir: null,
6318
- startJogging(V) {
6319
- this.activeJoggingDir = V, e(V);
6318
+ startJogging(F) {
6319
+ this.activeJoggingDir = F, e(F);
6320
6320
  },
6321
6321
  stopJogging() {
6322
6322
  this.activeJoggingDir = null, t();
@@ -6325,24 +6325,24 @@ const _h = cn(
6325
6325
  c(o());
6326
6326
  }, 50);
6327
6327
  un(v);
6328
- function y(V) {
6329
- V.button === 0 && f.startJogging("-");
6328
+ function y(F) {
6329
+ F.button === 0 && f.startJogging("-");
6330
6330
  }
6331
- function m(V) {
6332
- V.button === 0 && f.startJogging("+");
6331
+ function m(F) {
6332
+ F.button === 0 && f.startJogging("+");
6333
6333
  }
6334
- function h(V) {
6334
+ function h(F) {
6335
6335
  f.stopJogging();
6336
6336
  }
6337
- function S(V) {
6338
- f.stopJogging();
6337
+ function S(F) {
6338
+ F.target === F.currentTarget && f.stopJogging();
6339
6339
  }
6340
- function T(V, N = 1) {
6341
- if (V === void 0 || isNaN(V)) return "";
6340
+ function T(F, N = 1) {
6341
+ if (F === void 0 || isNaN(F)) return "";
6342
6342
  const H = a("General.degree.variable", {
6343
- amount: V.toFixed(N)
6343
+ amount: F.toFixed(N)
6344
6344
  });
6345
- return V > 0 && N === 0 ? `+${H}` : H;
6345
+ return F > 0 && N === 0 ? `+${H}` : H;
6346
6346
  }
6347
6347
  return /* @__PURE__ */ b.jsxs(
6348
6348
  br,
@@ -6388,14 +6388,7 @@ const _h = cn(
6388
6388
  borderRadius: "16px 0px 0px 16px",
6389
6389
  ...f.activeJoggingDir === "-" ? d : {}
6390
6390
  },
6391
- children: /* @__PURE__ */ b.jsx(
6392
- Tl,
6393
- {
6394
- sx: {
6395
- "pointer-events": "none"
6396
- }
6397
- }
6398
- )
6391
+ children: /* @__PURE__ */ b.jsx(Tl, {})
6399
6392
  }
6400
6393
  ),
6401
6394
  /* @__PURE__ */ b.jsxs(
@@ -6484,14 +6477,7 @@ const _h = cn(
6484
6477
  borderRadius: "0px 16px 16px 0px",
6485
6478
  ...f.activeJoggingDir === "+" ? d : {}
6486
6479
  },
6487
- children: /* @__PURE__ */ b.jsx(
6488
- Ol,
6489
- {
6490
- sx: {
6491
- "pointer-events": "none"
6492
- }
6493
- }
6494
- )
6480
+ children: /* @__PURE__ */ b.jsx(Ol, {})
6495
6481
  }
6496
6482
  )
6497
6483
  ]
@@ -9625,7 +9611,7 @@ function U1(e) {
9625
9611
  shiftStep: h = 10,
9626
9612
  tabIndex: S,
9627
9613
  value: T
9628
- } = e, $ = L.useRef(), [O, w] = L.useState(-1), [C, R] = L.useState(-1), [U, oe] = L.useState(!1), V = L.useRef(0), [N, H] = al({
9614
+ } = e, $ = L.useRef(), [O, w] = L.useState(-1), [C, R] = L.useState(-1), [U, oe] = L.useState(!1), F = L.useRef(0), [N, H] = al({
9629
9615
  controlled: T,
9630
9616
  default: r ?? l,
9631
9617
  name: "Slider"
@@ -9738,7 +9724,7 @@ function U1(e) {
9738
9724
  const A = Tn(P, $);
9739
9725
  if (!A)
9740
9726
  return;
9741
- if (V.current += 1, P.type === "mousemove" && P.buttons === 0) {
9727
+ if (F.current += 1, P.type === "mousemove" && P.buttons === 0) {
9742
9728
  ue(P);
9743
9729
  return;
9744
9730
  }
@@ -9753,7 +9739,7 @@ function U1(e) {
9753
9739
  sliderRef: Se,
9754
9740
  activeIndex: G,
9755
9741
  setActive: w
9756
- }), H(M), !U && V.current > N1 && oe(!0), W && !En(M, N) && W(P, M, G);
9742
+ }), H(M), !U && F.current > N1 && oe(!0), W && !En(M, N) && W(P, M, G);
9757
9743
  }), ue = kn((P) => {
9758
9744
  const A = Tn(P, $);
9759
9745
  if (oe(!1), !A)
@@ -9785,7 +9771,7 @@ function U1(e) {
9785
9771
  setActive: w
9786
9772
  }), H(X), W && !En(X, N) && W(P, X, K);
9787
9773
  }
9788
- V.current = 0;
9774
+ F.current = 0;
9789
9775
  const G = yr(Se.current);
9790
9776
  G.addEventListener("touchmove", Q, {
9791
9777
  passive: !0
@@ -9827,7 +9813,7 @@ function U1(e) {
9827
9813
  setActive: w
9828
9814
  }), H(K), W && !En(K, N) && W(A, K, Be);
9829
9815
  }
9830
- V.current = 0;
9816
+ F.current = 0;
9831
9817
  const X = yr(Se.current);
9832
9818
  X.addEventListener("mousemove", Q, {
9833
9819
  passive: !0
@@ -10462,7 +10448,7 @@ const G1 = Ot("span", {
10462
10448
  }, tv = ({
10463
10449
  children: e
10464
10450
  }) => e, bc = /* @__PURE__ */ L.forwardRef(function(t, r) {
10465
- var n, o, i, s, a, l, c, u, d, f, v, y, m, h, S, T, $, O, w, C, R, U, oe, V;
10451
+ var n, o, i, s, a, l, c, u, d, f, v, y, m, h, S, T, $, O, w, C, R, U, oe, F;
10466
10452
  const N = Ai({
10467
10453
  props: t,
10468
10454
  name: "MuiSlider"
@@ -10531,7 +10517,7 @@ const G1 = Ot("span", {
10531
10517
  rootRef: r
10532
10518
  }));
10533
10519
  we.marked = G.length > 0 && G.some((I) => I.label), we.dragging = M, we.focusedThumbIndex = P;
10534
- const ee = ev(we), Ae = (n = (o = Q == null ? void 0 : Q.root) != null ? o : ae.Root) != null ? n : G1, $t = (i = (s = Q == null ? void 0 : Q.rail) != null ? s : ae.Rail) != null ? i : K1, rr = (a = (l = Q == null ? void 0 : Q.track) != null ? l : ae.Track) != null ? a : q1, Pr = (c = (u = Q == null ? void 0 : Q.thumb) != null ? u : ae.Thumb) != null ? c : Y1, bt = (d = (f = Q == null ? void 0 : Q.valueLabel) != null ? f : ae.ValueLabel) != null ? d : X1, Ft = (v = (y = Q == null ? void 0 : Q.mark) != null ? y : ae.Mark) != null ? v : Z1, Vt = (m = (h = Q == null ? void 0 : Q.markLabel) != null ? h : ae.MarkLabel) != null ? m : Q1, $r = (S = (T = Q == null ? void 0 : Q.input) != null ? T : ae.Input) != null ? S : "input", jr = ($ = j == null ? void 0 : j.root) != null ? $ : Z.root, pn = (O = j == null ? void 0 : j.rail) != null ? O : Z.rail, kr = (w = j == null ? void 0 : j.track) != null ? w : Z.track, nr = (C = j == null ? void 0 : j.thumb) != null ? C : Z.thumb, or = (R = j == null ? void 0 : j.valueLabel) != null ? R : Z.valueLabel, Eo = (U = j == null ? void 0 : j.mark) != null ? U : Z.mark, Co = (oe = j == null ? void 0 : j.markLabel) != null ? oe : Z.markLabel, gn = (V = j == null ? void 0 : j.input) != null ? V : Z.input, hn = jt({
10520
+ const ee = ev(we), Ae = (n = (o = Q == null ? void 0 : Q.root) != null ? o : ae.Root) != null ? n : G1, $t = (i = (s = Q == null ? void 0 : Q.rail) != null ? s : ae.Rail) != null ? i : K1, rr = (a = (l = Q == null ? void 0 : Q.track) != null ? l : ae.Track) != null ? a : q1, Pr = (c = (u = Q == null ? void 0 : Q.thumb) != null ? u : ae.Thumb) != null ? c : Y1, bt = (d = (f = Q == null ? void 0 : Q.valueLabel) != null ? f : ae.ValueLabel) != null ? d : X1, Ft = (v = (y = Q == null ? void 0 : Q.mark) != null ? y : ae.Mark) != null ? v : Z1, Vt = (m = (h = Q == null ? void 0 : Q.markLabel) != null ? h : ae.MarkLabel) != null ? m : Q1, $r = (S = (T = Q == null ? void 0 : Q.input) != null ? T : ae.Input) != null ? S : "input", jr = ($ = j == null ? void 0 : j.root) != null ? $ : Z.root, pn = (O = j == null ? void 0 : j.rail) != null ? O : Z.rail, kr = (w = j == null ? void 0 : j.track) != null ? w : Z.track, nr = (C = j == null ? void 0 : j.thumb) != null ? C : Z.thumb, or = (R = j == null ? void 0 : j.valueLabel) != null ? R : Z.valueLabel, Eo = (U = j == null ? void 0 : j.mark) != null ? U : Z.mark, Co = (oe = j == null ? void 0 : j.markLabel) != null ? oe : Z.markLabel, gn = (F = j == null ? void 0 : j.input) != null ? F : Z.input, hn = jt({
10535
10521
  elementType: Ae,
10536
10522
  getSlotProps: Dt,
10537
10523
  externalSlotProps: jr,
@@ -10584,31 +10570,31 @@ const G1 = Ot("span", {
10584
10570
  return /* @__PURE__ */ b.jsxs(Ae, _({}, hn, {
10585
10571
  children: [/* @__PURE__ */ b.jsx($t, _({}, Ro)), /* @__PURE__ */ b.jsx(rr, _({}, _o)), G.filter((I) => I.value >= Fe && I.value <= We).map((I, D) => {
10586
10572
  const te = Qn(I.value, Fe, We), J = Pt[nt].offset(te);
10587
- let F;
10588
- return ue === !1 ? F = X.indexOf(I.value) !== -1 : F = ue === "normal" && (A ? I.value >= X[0] && I.value <= X[X.length - 1] : I.value <= X[0]) || ue === "inverted" && (A ? I.value <= X[0] || I.value >= X[X.length - 1] : I.value >= X[0]), /* @__PURE__ */ b.jsxs(L.Fragment, {
10573
+ let V;
10574
+ return ue === !1 ? V = X.indexOf(I.value) !== -1 : V = ue === "normal" && (A ? I.value >= X[0] && I.value <= X[X.length - 1] : I.value <= X[0]) || ue === "inverted" && (A ? I.value <= X[0] || I.value >= X[X.length - 1] : I.value >= X[0]), /* @__PURE__ */ b.jsxs(L.Fragment, {
10589
10575
  children: [/* @__PURE__ */ b.jsx(Ft, _({
10590
10576
  "data-index": D
10591
10577
  }, g, !Jr(Ft) && {
10592
- markActive: F
10578
+ markActive: V
10593
10579
  }, {
10594
10580
  style: _({}, J, g.style),
10595
- className: dt(g.className, F && ee.markActive)
10581
+ className: dt(g.className, V && ee.markActive)
10596
10582
  })), I.label != null ? /* @__PURE__ */ b.jsx(Vt, _({
10597
10583
  "aria-hidden": !0,
10598
10584
  "data-index": D
10599
10585
  }, E, !Jr(Vt) && {
10600
- markLabelActive: F
10586
+ markLabelActive: V
10601
10587
  }, {
10602
10588
  style: _({}, J, E.style),
10603
- className: dt(ee.markLabel, E.className, F && ee.markLabelActive),
10589
+ className: dt(ee.markLabel, E.className, V && ee.markLabelActive),
10604
10590
  children: I.label
10605
10591
  })) : null]
10606
10592
  }, D);
10607
10593
  }), X.map((I, D) => {
10608
- const te = Qn(I, Fe, We), J = Pt[nt].offset(te), F = je === "off" ? tv : bt;
10594
+ const te = Qn(I, Fe, We), J = Pt[nt].offset(te), V = je === "off" ? tv : bt;
10609
10595
  return (
10610
10596
  /* 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. */
10611
- /* @__PURE__ */ b.jsx(F, _({}, !Jr(F) && {
10597
+ /* @__PURE__ */ b.jsx(V, _({}, !Jr(V) && {
10612
10598
  valueLabelFormat: ke,
10613
10599
  valueLabelDisplay: je,
10614
10600
  value: typeof ke == "function" ? ke(Ve(I), D) : ke,