@wandelbots/wandelbots-js-react-components 1.44.2 → 1.44.3-pr.fix-jogging-initial-lock-state.152.855e6db

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 F(g) {
103
+ function V(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 V = Ie.stack.split(`
294
+ for (var F = Ie.stack.split(`
295
295
  `), Pe = I.stack.split(`
296
- `), pe = V.length - 1, ye = Pe.length - 1; pe >= 1 && ye >= 0 && V[pe] !== Pe[ye]; )
296
+ `), pe = F.length - 1, ye = Pe.length - 1; pe >= 1 && ye >= 0 && F[pe] !== Pe[ye]; )
297
297
  ye--;
298
298
  for (; pe >= 1 && ye >= 0; pe--, ye--)
299
- if (V[pe] !== Pe[ye]) {
299
+ if (F[pe] !== Pe[ye]) {
300
300
  if (pe !== 1 || ye !== 1)
301
301
  do
302
- if (pe--, ye--, ye < 0 || V[pe] !== Pe[ye]) {
302
+ if (pe--, ye--, ye < 0 || F[pe] !== Pe[ye]) {
303
303
  var Ke = `
304
- ` + V[pe].replace(" at new ", " at ");
304
+ ` + F[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 V = void 0;
366
+ var F = 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
- V = g[J](E, J, I, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
372
+ F = g[J](E, J, I, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
373
373
  } catch (pe) {
374
- V = pe;
374
+ F = pe;
375
375
  }
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));
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));
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 V = {
456
+ var F = {
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 V._store = {}, Object.defineProperty(V._store, "validated", {
467
+ return F._store = {}, Object.defineProperty(F._store, "validated", {
468
468
  configurable: !1,
469
469
  enumerable: !1,
470
470
  writable: !0,
471
471
  value: !1
472
- }), Object.defineProperty(V, "_self", {
472
+ }), Object.defineProperty(F, "_self", {
473
473
  configurable: !1,
474
474
  enumerable: !1,
475
475
  writable: !1,
476
476
  value: I
477
- }), Object.defineProperty(V, "_source", {
477
+ }), Object.defineProperty(F, "_source", {
478
478
  configurable: !1,
479
479
  enumerable: !1,
480
480
  writable: !1,
481
481
  value: D
482
- }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
482
+ }), Object.freeze && (Object.freeze(F.props), Object.freeze(F)), F;
483
483
  };
484
484
  function $t(g, E, k, I, D) {
485
485
  {
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));
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));
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 (V || Pe) {
495
+ if (F || Pe) {
496
496
  var ye = typeof g == "function" ? g.displayName || g.name || "Unknown" : g;
497
- V && Ge(J, ye), Pe && ee(J, ye);
497
+ F && Ge(J, ye), Pe && ee(J, ye);
498
498
  }
499
- return Ae(g, V, Pe, D, I, nt.current, J);
499
+ return Ae(g, F, 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 = F(g);
615
+ var J = V(g);
616
616
  if (!J) {
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.");
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.");
619
619
  var Pe = jr();
620
- Pe ? V += Pe : V += $r();
620
+ Pe ? F += Pe : F += $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") + " />", 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);
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);
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, F = 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, V = 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 = 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;
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;
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 F = T(R, ...U);
2735
+ const V = 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)})`), F.displayName = N;
2738
+ l && (N = `${l}${Ce(c || "")}`), N === void 0 && (N = `Styled(${il(s)})`), V.displayName = N;
2739
2739
  }
2740
- return s.muiName && (F.muiName = s.muiName), F;
2740
+ return s.muiName && (V.muiName = s.muiName), V;
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 F = T(R, ...U);
3419
+ const V = 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)})`), F.displayName = N;
3422
+ l && (N = `${l}${(0, hp.default)(c || "")}`), N === void 0 && (N = `Styled(${(0, mp.default)(s)})`), V.displayName = N;
3423
3423
  }
3424
- return s.muiName && (F.muiName = s.muiName), F;
3424
+ return s.muiName && (V.muiName = s.muiName), V;
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
- }) : "", 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;
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;
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
- F && r[`defaultValue${this.options.pluralSeparator}zero`] && Oe.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Oe.push(`${this.options.pluralSeparator}zero`), Oe.forEach(($e) => {
4622
+ V && 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 F = r(), N = f.current;
5799
- N && (N.textContent = F);
5798
+ const V = r(), N = f.current;
5799
+ N && (N.textContent = V);
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(F, N) {
5852
- i || F.button === 0 && (u(N), n(N));
5851
+ function S(V, N) {
5852
+ i || V.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: (F) => S(F, "-"),
5863
+ onPointerDown: (V) => S(V, "-"),
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: (F) => S(F, "+"),
5932
+ onPointerDown: (V) => S(V, "+"),
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(F) {
6319
- this.activeJoggingDir = F, e(F);
6318
+ startJogging(V) {
6319
+ this.activeJoggingDir = V, e(V);
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(F) {
6329
- F.button === 0 && f.startJogging("-");
6328
+ function y(V) {
6329
+ V.button === 0 && f.startJogging("-");
6330
6330
  }
6331
- function m(F) {
6332
- F.button === 0 && f.startJogging("+");
6331
+ function m(V) {
6332
+ V.button === 0 && f.startJogging("+");
6333
6333
  }
6334
- function h(F) {
6334
+ function h(V) {
6335
6335
  f.stopJogging();
6336
6336
  }
6337
- function S(F) {
6338
- F.target === F.currentTarget && f.stopJogging();
6337
+ function S(V) {
6338
+ f.stopJogging();
6339
6339
  }
6340
- function T(F, N = 1) {
6341
- if (F === void 0 || isNaN(F)) return "";
6340
+ function T(V, N = 1) {
6341
+ if (V === void 0 || isNaN(V)) return "";
6342
6342
  const H = a("General.degree.variable", {
6343
- amount: F.toFixed(N)
6343
+ amount: V.toFixed(N)
6344
6344
  });
6345
- return F > 0 && N === 0 ? `+${H}` : H;
6345
+ return V > 0 && N === 0 ? `+${H}` : H;
6346
6346
  }
6347
6347
  return /* @__PURE__ */ b.jsxs(
6348
6348
  br,
@@ -6388,7 +6388,14 @@ const _h = cn(
6388
6388
  borderRadius: "16px 0px 0px 16px",
6389
6389
  ...f.activeJoggingDir === "-" ? d : {}
6390
6390
  },
6391
- children: /* @__PURE__ */ b.jsx(Tl, {})
6391
+ children: /* @__PURE__ */ b.jsx(
6392
+ Tl,
6393
+ {
6394
+ sx: {
6395
+ "pointer-events": "none"
6396
+ }
6397
+ }
6398
+ )
6392
6399
  }
6393
6400
  ),
6394
6401
  /* @__PURE__ */ b.jsxs(
@@ -6477,7 +6484,14 @@ const _h = cn(
6477
6484
  borderRadius: "0px 16px 16px 0px",
6478
6485
  ...f.activeJoggingDir === "+" ? d : {}
6479
6486
  },
6480
- children: /* @__PURE__ */ b.jsx(Ol, {})
6487
+ children: /* @__PURE__ */ b.jsx(
6488
+ Ol,
6489
+ {
6490
+ sx: {
6491
+ "pointer-events": "none"
6492
+ }
6493
+ }
6494
+ )
6481
6495
  }
6482
6496
  )
6483
6497
  ]
@@ -9350,14 +9364,20 @@ class Wi {
9350
9364
  setSelectedCartesianMotionType(t) {
9351
9365
  this.selectedCartesianMotionType = t;
9352
9366
  }
9367
+ lock(t) {
9368
+ this.locks.add(t);
9369
+ }
9370
+ unlock(t) {
9371
+ this.locks.delete(t);
9372
+ }
9353
9373
  /** Lock the UI until the given async callback resolves */
9354
9374
  async withMotionLock(t) {
9355
9375
  const r = $1();
9356
- this.locks.add(r);
9376
+ this.lock(r);
9357
9377
  try {
9358
9378
  return await t();
9359
9379
  } finally {
9360
- this.locks.delete(r);
9380
+ this.unlock(r);
9361
9381
  }
9362
9382
  }
9363
9383
  }
@@ -9611,7 +9631,7 @@ function U1(e) {
9611
9631
  shiftStep: h = 10,
9612
9632
  tabIndex: S,
9613
9633
  value: T
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({
9634
+ } = 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({
9615
9635
  controlled: T,
9616
9636
  default: r ?? l,
9617
9637
  name: "Slider"
@@ -9724,7 +9744,7 @@ function U1(e) {
9724
9744
  const A = Tn(P, $);
9725
9745
  if (!A)
9726
9746
  return;
9727
- if (F.current += 1, P.type === "mousemove" && P.buttons === 0) {
9747
+ if (V.current += 1, P.type === "mousemove" && P.buttons === 0) {
9728
9748
  ue(P);
9729
9749
  return;
9730
9750
  }
@@ -9739,7 +9759,7 @@ function U1(e) {
9739
9759
  sliderRef: Se,
9740
9760
  activeIndex: G,
9741
9761
  setActive: w
9742
- }), H(M), !U && F.current > N1 && oe(!0), W && !En(M, N) && W(P, M, G);
9762
+ }), H(M), !U && V.current > N1 && oe(!0), W && !En(M, N) && W(P, M, G);
9743
9763
  }), ue = kn((P) => {
9744
9764
  const A = Tn(P, $);
9745
9765
  if (oe(!1), !A)
@@ -9771,7 +9791,7 @@ function U1(e) {
9771
9791
  setActive: w
9772
9792
  }), H(X), W && !En(X, N) && W(P, X, K);
9773
9793
  }
9774
- F.current = 0;
9794
+ V.current = 0;
9775
9795
  const G = yr(Se.current);
9776
9796
  G.addEventListener("touchmove", Q, {
9777
9797
  passive: !0
@@ -9813,7 +9833,7 @@ function U1(e) {
9813
9833
  setActive: w
9814
9834
  }), H(K), W && !En(K, N) && W(A, K, Be);
9815
9835
  }
9816
- F.current = 0;
9836
+ V.current = 0;
9817
9837
  const X = yr(Se.current);
9818
9838
  X.addEventListener("mousemove", Q, {
9819
9839
  passive: !0
@@ -10448,7 +10468,7 @@ const G1 = Ot("span", {
10448
10468
  }, tv = ({
10449
10469
  children: e
10450
10470
  }) => e, bc = /* @__PURE__ */ L.forwardRef(function(t, r) {
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;
10471
+ var n, o, i, s, a, l, c, u, d, f, v, y, m, h, S, T, $, O, w, C, R, U, oe, V;
10452
10472
  const N = Ai({
10453
10473
  props: t,
10454
10474
  name: "MuiSlider"
@@ -10517,7 +10537,7 @@ const G1 = Ot("span", {
10517
10537
  rootRef: r
10518
10538
  }));
10519
10539
  we.marked = G.length > 0 && G.some((I) => I.label), we.dragging = M, we.focusedThumbIndex = P;
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({
10540
+ 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({
10521
10541
  elementType: Ae,
10522
10542
  getSlotProps: Dt,
10523
10543
  externalSlotProps: jr,
@@ -10570,31 +10590,31 @@ const G1 = Ot("span", {
10570
10590
  return /* @__PURE__ */ b.jsxs(Ae, _({}, hn, {
10571
10591
  children: [/* @__PURE__ */ b.jsx($t, _({}, Ro)), /* @__PURE__ */ b.jsx(rr, _({}, _o)), G.filter((I) => I.value >= Fe && I.value <= We).map((I, D) => {
10572
10592
  const te = Qn(I.value, Fe, We), J = Pt[nt].offset(te);
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, {
10593
+ let F;
10594
+ 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, {
10575
10595
  children: [/* @__PURE__ */ b.jsx(Ft, _({
10576
10596
  "data-index": D
10577
10597
  }, g, !Jr(Ft) && {
10578
- markActive: V
10598
+ markActive: F
10579
10599
  }, {
10580
10600
  style: _({}, J, g.style),
10581
- className: dt(g.className, V && ee.markActive)
10601
+ className: dt(g.className, F && ee.markActive)
10582
10602
  })), I.label != null ? /* @__PURE__ */ b.jsx(Vt, _({
10583
10603
  "aria-hidden": !0,
10584
10604
  "data-index": D
10585
10605
  }, E, !Jr(Vt) && {
10586
- markLabelActive: V
10606
+ markLabelActive: F
10587
10607
  }, {
10588
10608
  style: _({}, J, E.style),
10589
- className: dt(ee.markLabel, E.className, V && ee.markLabelActive),
10609
+ className: dt(ee.markLabel, E.className, F && ee.markLabelActive),
10590
10610
  children: I.label
10591
10611
  })) : null]
10592
10612
  }, D);
10593
10613
  }), X.map((I, D) => {
10594
- const te = Qn(I, Fe, We), J = Pt[nt].offset(te), V = je === "off" ? tv : bt;
10614
+ const te = Qn(I, Fe, We), J = Pt[nt].offset(te), F = je === "off" ? tv : bt;
10595
10615
  return (
10596
10616
  /* 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. */
10597
- /* @__PURE__ */ b.jsx(V, _({}, !Jr(V) && {
10617
+ /* @__PURE__ */ b.jsx(F, _({}, !Jr(F) && {
10598
10618
  valueLabelFormat: ke,
10599
10619
  valueLabelDisplay: je,
10600
10620
  value: typeof ke == "function" ? ke(Ve(I), D) : ke,
@@ -11265,8 +11285,8 @@ const xc = et(
11265
11285
  (o = r.joggingStore) == null || o.dispose();
11266
11286
  }), [e.store, e.nova, e.motionGroupId]), St(() => {
11267
11287
  const o = r.joggingStore;
11268
- o && (e.locked ? o.locks.add("external") : o.locks.delete("external"));
11269
- }, [e.locked]), /* @__PURE__ */ b.jsx(
11288
+ o && (e.locked ? o.lock("external") : o.unlock("external"));
11289
+ }, [r.joggingStore, e.locked]), /* @__PURE__ */ b.jsx(
11270
11290
  ge,
11271
11291
  {
11272
11292
  sx: {