@wandelbots/wandelbots-js-react-components 2.40.0 → 2.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ var Og = Object.defineProperty;
2
2
  var Cg = (e, t, r) => t in e ? Og(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var Hn = (e, t, r) => Cg(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import * as B from "react";
5
- import Xt, { useState as Fe, useRef as Ee, useCallback as je, useEffect as ze, useMemo as _o, forwardRef as et, Suspense as Xh, lazy as Pg } from "react";
5
+ import Xt, { useState as Fe, useRef as Ee, useCallback as je, useEffect as Be, useMemo as _o, forwardRef as et, Suspense as Xh, lazy as Pg } from "react";
6
6
  import * as xe from "three";
7
7
  import { Vector3 as Fo, Matrix4 as qn, Quaternion as Tg } from "three";
8
8
  import { ConvexGeometry as Zh } from "three-stdlib";
@@ -1504,7 +1504,7 @@ function zo(e, t, r, n = r) {
1504
1504
  let a;
1505
1505
  return typeof e == "function" ? a = e(r) : Array.isArray(e) ? a = e[r] || n : a = gs(e, r) || n, t && (a = t(a, n, e)), a;
1506
1506
  }
1507
- function Be(e) {
1507
+ function Ne(e) {
1508
1508
  const {
1509
1509
  prop: t,
1510
1510
  cssProperty: r = e.prop,
@@ -1619,7 +1619,7 @@ function St(e) {
1619
1619
  return typeof e != "number" ? e : `${e}px solid`;
1620
1620
  }
1621
1621
  function Pt(e, t) {
1622
- return Be({
1622
+ return Ne({
1623
1623
  prop: e,
1624
1624
  themeKey: "borders",
1625
1625
  transform: t
@@ -1678,39 +1678,39 @@ Cs.propTypes = process.env.NODE_ENV !== "production" ? {
1678
1678
  rowGap: Sr
1679
1679
  } : {};
1680
1680
  Cs.filterProps = ["rowGap"];
1681
- const Ry = Be({
1681
+ const Ry = Ne({
1682
1682
  prop: "gridColumn"
1683
- }), Ay = Be({
1683
+ }), Ay = Ne({
1684
1684
  prop: "gridRow"
1685
- }), _y = Be({
1685
+ }), _y = Ne({
1686
1686
  prop: "gridAutoFlow"
1687
- }), Ey = Be({
1687
+ }), Ey = Ne({
1688
1688
  prop: "gridAutoColumns"
1689
- }), Iy = Be({
1689
+ }), Iy = Ne({
1690
1690
  prop: "gridAutoRows"
1691
- }), Vy = Be({
1691
+ }), Vy = Ne({
1692
1692
  prop: "gridTemplateColumns"
1693
- }), My = Be({
1693
+ }), My = Ne({
1694
1694
  prop: "gridTemplateRows"
1695
- }), jy = Be({
1695
+ }), jy = Ne({
1696
1696
  prop: "gridTemplateAreas"
1697
- }), $y = Be({
1697
+ }), $y = Ne({
1698
1698
  prop: "gridArea"
1699
1699
  });
1700
1700
  vs(ws, Os, Cs, Ry, Ay, _y, Ey, Iy, Vy, My, jy, $y);
1701
1701
  function xn(e, t) {
1702
1702
  return t === "grey" ? t : e;
1703
1703
  }
1704
- const ky = Be({
1704
+ const ky = Ne({
1705
1705
  prop: "color",
1706
1706
  themeKey: "palette",
1707
1707
  transform: xn
1708
- }), Uy = Be({
1708
+ }), Uy = Ne({
1709
1709
  prop: "bgcolor",
1710
1710
  cssProperty: "backgroundColor",
1711
1711
  themeKey: "palette",
1712
1712
  transform: xn
1713
- }), Dy = Be({
1713
+ }), Dy = Ne({
1714
1714
  prop: "backgroundColor",
1715
1715
  themeKey: "palette",
1716
1716
  transform: xn
@@ -1719,7 +1719,7 @@ vs(ky, Uy, Dy);
1719
1719
  function yt(e) {
1720
1720
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1721
1721
  }
1722
- const Ly = Be({
1722
+ const Ly = Ne({
1723
1723
  prop: "width",
1724
1724
  transform: yt
1725
1725
  }), Dl = (e) => {
@@ -1740,30 +1740,30 @@ const Ly = Be({
1740
1740
  return null;
1741
1741
  };
1742
1742
  Dl.filterProps = ["maxWidth"];
1743
- const Fy = Be({
1743
+ const Fy = Ne({
1744
1744
  prop: "minWidth",
1745
1745
  transform: yt
1746
- }), By = Be({
1746
+ }), By = Ne({
1747
1747
  prop: "height",
1748
1748
  transform: yt
1749
- }), Ny = Be({
1749
+ }), Ny = Ne({
1750
1750
  prop: "maxHeight",
1751
1751
  transform: yt
1752
- }), zy = Be({
1752
+ }), zy = Ne({
1753
1753
  prop: "minHeight",
1754
1754
  transform: yt
1755
1755
  });
1756
- Be({
1756
+ Ne({
1757
1757
  prop: "size",
1758
1758
  cssProperty: "width",
1759
1759
  transform: yt
1760
1760
  });
1761
- Be({
1761
+ Ne({
1762
1762
  prop: "size",
1763
1763
  cssProperty: "height",
1764
1764
  transform: yt
1765
1765
  });
1766
- const Gy = Be({
1766
+ const Gy = Ne({
1767
1767
  prop: "boxSizing"
1768
1768
  });
1769
1769
  vs(Ly, Dl, Fy, By, Ny, zy, Gy);
@@ -12251,7 +12251,7 @@ const nP = ({
12251
12251
  l.remainingTime,
12252
12252
  l.currentState
12253
12253
  ]), R = je(() => l.isPausedState, [l.isPausedState]);
12254
- return ze(() => {
12254
+ return Be(() => {
12255
12255
  n ? (l.isRunning && !l.isPausedState && (c((O) => ({ ...O, wasRunningBeforeError: !0 })), w()), o()) : (l.wasRunningBeforeError && l.isPausedState && (c((O) => ({ ...O, wasRunningBeforeError: !1 })), C()), s());
12256
12256
  }, [
12257
12257
  n,
@@ -12262,7 +12262,7 @@ const nP = ({
12262
12262
  C,
12263
12263
  o,
12264
12264
  s
12265
- ]), ze(() => {
12265
+ ]), Be(() => {
12266
12266
  if (l.isRunning) {
12267
12267
  const O = () => {
12268
12268
  if (d.current) {
@@ -12312,7 +12312,7 @@ const nP = ({
12312
12312
  l.currentState,
12313
12313
  l.maxTime,
12314
12314
  p
12315
- ]), ze(() => {
12315
+ ]), Be(() => {
12316
12316
  let O = null;
12317
12317
  const P = () => {
12318
12318
  p.update(1 / 60), O = requestAnimationFrame(P);
@@ -12367,7 +12367,7 @@ const nP = ({
12367
12367
  onClearErrorAnimation: h,
12368
12368
  onStartPulsating: p
12369
12369
  });
12370
- return ze(() => {
12370
+ return Be(() => {
12371
12371
  const O = l.current;
12372
12372
  l.current !== void 0 && O !== C.currentState ? (O === "measured" && f(), O === "idle" && b(), S()) : A(), C.currentState === "idle" && m(), l.current = C.currentState;
12373
12373
  }, [
@@ -12377,7 +12377,7 @@ const nP = ({
12377
12377
  m,
12378
12378
  S,
12379
12379
  A
12380
- ]), ze(() => {
12380
+ ]), Be(() => {
12381
12381
  let O = !0;
12382
12382
  const P = setTimeout(() => {
12383
12383
  O && e(R);
@@ -12385,7 +12385,7 @@ const nP = ({
12385
12385
  return () => {
12386
12386
  O = !1, clearTimeout(P);
12387
12387
  };
12388
- }, [e, R]), ze(() => w, [w]), a === "small" ? /* @__PURE__ */ g.jsx(
12388
+ }, [e, R]), Be(() => w, [w]), a === "small" ? /* @__PURE__ */ g.jsx(
12389
12389
  eP,
12390
12390
  {
12391
12391
  timerState: C,
@@ -12704,14 +12704,14 @@ const lP = Or(/* @__PURE__ */ g.jsx("path", {
12704
12704
  }) => {
12705
12705
  var _;
12706
12706
  const p = Le(), f = a0(), m = Ee(null), [b, S] = Fe(null), A = _o(() => e.map(r), [e, r]);
12707
- ze(() => {
12707
+ Be(() => {
12708
12708
  f.current && A.length > 0 && f.current.autosizeColumns({
12709
12709
  includeOutliers: !0,
12710
12710
  includeHeaders: !0,
12711
12711
  expand: !0,
12712
12712
  columns: t.map((I) => I.field)
12713
12713
  });
12714
- }, [A, t, f]), ze(() => {
12714
+ }, [A, t, f]), Be(() => {
12715
12715
  if (!m.current || !f.current) return;
12716
12716
  const I = new ResizeObserver(() => {
12717
12717
  setTimeout(() => {
@@ -13267,7 +13267,7 @@ const dP = ({
13267
13267
  ...r
13268
13268
  }, n) => /* @__PURE__ */ B.createElement("svg", { width: 21, height: 21, viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("g", { id: "JogPlus" }, /* @__PURE__ */ B.createElement("g", { id: "Plus" }, /* @__PURE__ */ B.createElement("path", { d: "M0 13V8H8V13H0Z", fill: "white" }), /* @__PURE__ */ B.createElement("path", { d: "M8 0L13 2.18557e-07L13 21H8L8 0Z", fill: "white" }), /* @__PURE__ */ B.createElement("path", { d: "M13 13V8H21V13H13Z", fill: "white" })))), mP = et(pP);
13269
13269
  function Ac(e) {
13270
- ze(e, []);
13270
+ Be(e, []);
13271
13271
  }
13272
13272
  function fP(e) {
13273
13273
  Ac(() => op(e));
@@ -13304,7 +13304,7 @@ const Ed = tt(
13304
13304
  T && (T.textContent = y);
13305
13305
  });
13306
13306
  const l = Le(), [c, u] = Fe(null);
13307
- ze(() => {
13307
+ Be(() => {
13308
13308
  o && A();
13309
13309
  }, [o]);
13310
13310
  const d = s || c, h = Ee(null);
@@ -28235,7 +28235,7 @@ function mV(e) {
28235
28235
  }
28236
28236
  const zf = (e) => {
28237
28237
  const t = e.softTimeout || 3e3, [r, n] = Fe(!1), a = Le();
28238
- return ze(() => {
28238
+ return Be(() => {
28239
28239
  const o = setTimeout(() => {
28240
28240
  n(!0);
28241
28241
  }, t);
@@ -30633,7 +30633,7 @@ const cj = xt("span", {
30633
30633
  ...Q,
30634
30634
  rootRef: r
30635
30635
  });
30636
- Q.marked = W.length > 0 && W.some((Ne) => Ne.label), Q.dragging = le, Q.focusedThumbIndex = K;
30636
+ Q.marked = W.length > 0 && W.some((ze) => ze.label), Q.dragging = le, Q.focusedThumbIndex = K;
30637
30637
  const ke = dj(Q), lr = (z == null ? void 0 : z.root) ?? c.Root ?? oj, Ja = (z == null ? void 0 : z.rail) ?? c.Rail ?? sj, Ya = (z == null ? void 0 : z.track) ?? c.Track ?? ij, Ka = (z == null ? void 0 : z.thumb) ?? c.Thumb ?? lj, Qa = (z == null ? void 0 : z.valueLabel) ?? c.ValueLabel ?? cg, Qr = (z == null ? void 0 : z.mark) ?? c.Mark ?? cj, Xa = (z == null ? void 0 : z.markLabel) ?? c.MarkLabel ?? uj, Y = (z == null ? void 0 : z.input) ?? c.Input ?? "input", Z = (V == null ? void 0 : V.root) ?? u.root, oe = (V == null ? void 0 : V.rail) ?? u.rail, fe = (V == null ? void 0 : V.track) ?? u.track, Oe = (V == null ? void 0 : V.thumb) ?? u.thumb, se = (V == null ? void 0 : V.valueLabel) ?? u.valueLabel, Ye = (V == null ? void 0 : V.mark) ?? u.mark, ot = (V == null ? void 0 : V.markLabel) ?? u.markLabel, Ge = (V == null ? void 0 : V.input) ?? u.input, vt = hr({
30638
30638
  elementType: lr,
30639
30639
  getSlotProps: Re,
@@ -30707,10 +30707,10 @@ const cj = xt("span", {
30707
30707
  ...Gn
30708
30708
  }), /* @__PURE__ */ g.jsx(Ya, {
30709
30709
  ...vg
30710
- }), W.filter((Ne) => Ne.value >= C && Ne.value <= w).map((Ne, Xe) => {
30711
- const ci = hs(Ne.value, C, w), Za = de[ye].offset(ci);
30710
+ }), W.filter((ze) => ze.value >= C && ze.value <= w).map((ze, Xe) => {
30711
+ const ci = hs(ze.value, C, w), Za = de[ye].offset(ci);
30712
30712
  let qt;
30713
- return ee === !1 ? qt = be.includes(Ne.value) : qt = ee === "normal" && (ae ? Ne.value >= be[0] && Ne.value <= be[be.length - 1] : Ne.value <= be[0]) || ee === "inverted" && (ae ? Ne.value <= be[0] || Ne.value >= be[be.length - 1] : Ne.value >= be[0]), /* @__PURE__ */ g.jsxs(B.Fragment, {
30713
+ return ee === !1 ? qt = be.includes(ze.value) : qt = ee === "normal" && (ae ? ze.value >= be[0] && ze.value <= be[be.length - 1] : ze.value <= be[0]) || ee === "inverted" && (ae ? ze.value <= be[0] || ze.value >= be[be.length - 1] : ze.value >= be[0]), /* @__PURE__ */ g.jsxs(B.Fragment, {
30714
30714
  children: [/* @__PURE__ */ g.jsx(Qr, {
30715
30715
  "data-index": Xe,
30716
30716
  ...ii,
@@ -30722,7 +30722,7 @@ const cj = xt("span", {
30722
30722
  ...ii.style
30723
30723
  },
30724
30724
  className: Et(ii.className, qt && ke.markActive)
30725
- }), Ne.label != null ? /* @__PURE__ */ g.jsx(Xa, {
30725
+ }), ze.label != null ? /* @__PURE__ */ g.jsx(Xa, {
30726
30726
  "aria-hidden": !0,
30727
30727
  "data-index": Xe,
30728
30728
  ...li,
@@ -30734,18 +30734,18 @@ const cj = xt("span", {
30734
30734
  ...li.style
30735
30735
  },
30736
30736
  className: Et(ke.markLabel, li.className, qt && ke.markLabelActive),
30737
- children: Ne.label
30737
+ children: ze.label
30738
30738
  }) : null]
30739
30739
  }, Xe);
30740
- }), be.map((Ne, Xe) => {
30741
- const ci = hs(Ne, C, w), Za = de[ye].offset(ci), qt = X === "off" ? hj : Qa;
30740
+ }), be.map((ze, Xe) => {
30741
+ const ci = hs(ze, C, w), Za = de[ye].offset(ci), qt = X === "off" ? hj : Qa;
30742
30742
  return (
30743
30743
  /* 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. */
30744
30744
  /* @__PURE__ */ g.jsx(qt, {
30745
30745
  ...!Lo(qt) && {
30746
30746
  valueLabelFormat: ie,
30747
30747
  valueLabelDisplay: X,
30748
- value: typeof ie == "function" ? ie(N(Ne), Xe) : ie,
30748
+ value: typeof ie == "function" ? ie(N(ze), Xe) : ie,
30749
30749
  index: Xe,
30750
30750
  open: mt === Xe || lt === Xe || X === "on",
30751
30751
  disabled: m
@@ -30763,9 +30763,9 @@ const cj = xt("span", {
30763
30763
  children: /* @__PURE__ */ g.jsx(Y, {
30764
30764
  "data-index": Xe,
30765
30765
  "aria-label": b ? b(Xe) : o,
30766
- "aria-valuenow": N(Ne),
30766
+ "aria-valuenow": N(ze),
30767
30767
  "aria-labelledby": i,
30768
- "aria-valuetext": S ? S(N(Ne), Xe) : s,
30768
+ "aria-valuetext": S ? S(N(ze), Xe) : s,
30769
30769
  value: be[Xe],
30770
30770
  ...wg
30771
30771
  })
@@ -31458,10 +31458,10 @@ const hg = Te(
31458
31458
  r.loadingError = a;
31459
31459
  }
31460
31460
  }
31461
- return ze(() => (n(), e.store ? () => null : () => {
31461
+ return Be(() => (n(), e.store ? () => null : () => {
31462
31462
  var a;
31463
31463
  (a = r.joggingStore) == null || a.dispose();
31464
- }), [e.store, e.nova, e.motionGroupId]), ze(() => {
31464
+ }), [e.store, e.nova, e.motionGroupId]), Be(() => {
31465
31465
  const a = r.joggingStore;
31466
31466
  a && (e.locked ? a.lock("external") : a.unlock("external"));
31467
31467
  }, [r.joggingStore, e.locked]), /* @__PURE__ */ g.jsx(
@@ -31548,7 +31548,7 @@ const hg = Te(
31548
31548
  }
31549
31549
  return !1;
31550
31550
  }
31551
- return ze(() => {
31551
+ return Be(() => {
31552
31552
  if (!a)
31553
31553
  return;
31554
31554
  const l = setTimeout(() => o(!1), 3e3);
@@ -31756,7 +31756,7 @@ const oi = (e, t, r) => ({
31756
31756
  Te((e) => {
31757
31757
  var u;
31758
31758
  const { messages: t = [], onClear: r, height: n = 400, sx: a } = e, o = Le(), s = Ee(null);
31759
- ze(() => {
31759
+ Be(() => {
31760
31760
  if (t.length === 0) return;
31761
31761
  const d = s.current;
31762
31762
  if (!d) return;
@@ -32024,7 +32024,7 @@ const oi = (e, t, r) => ({
32024
32024
  ), dk = tt(
32025
32025
  Te((e) => {
32026
32026
  const { store: t, onStoreReady: r, ...n } = e, a = Ee(r);
32027
- ze(() => {
32027
+ Be(() => {
32028
32028
  a.current = r;
32029
32029
  }, [r]);
32030
32030
  const o = _o(() => {
@@ -32391,7 +32391,7 @@ function yg({
32391
32391
  children: n
32392
32392
  }) {
32393
32393
  const a = Ee([]), o = Ee([]), s = Ee(null), { invalidate: i } = _g();
32394
- ze(() => {
32394
+ Be(() => {
32395
32395
  const d = e.state.joint_position.joints.filter(
32396
32396
  (h) => h !== void 0
32397
32397
  );
@@ -32522,7 +32522,7 @@ function Aj({
32522
32522
  }
32523
32523
  const _j = console.warn;
32524
32524
  function Ej() {
32525
- return ze(() => {
32525
+ return Be(() => {
32526
32526
  console.warn = (e) => {
32527
32527
  e !== "Cannot call the manual advancement of rafz whilst frameLoop is not set as demand" && _j(e);
32528
32528
  };
@@ -32618,7 +32618,7 @@ const Mj = (e, t) => {
32618
32618
  const [l, c] = Fe(null), u = je((h) => {
32619
32619
  c(h);
32620
32620
  }, []);
32621
- ze(() => {
32621
+ Be(() => {
32622
32622
  l && (s ? Mj(l, s) : jj(l));
32623
32623
  }, [l, s]);
32624
32624
  const d = /* @__PURE__ */ g.jsx(
@@ -32698,7 +32698,7 @@ const mk = tt(
32698
32698
  }) => {
32699
32699
  var V;
32700
32700
  const d = Le(), { t: h } = at(), [p, f] = Fe(!1), m = Ee(null), b = Ee(null), [S, A] = Fe(!1), [w, C] = Fe({ width: 400, height: 600 }), [R, O] = Fe(0);
32701
- ze(() => {
32701
+ Be(() => {
32702
32702
  const z = () => {
32703
32703
  if (b.current) {
32704
32704
  const { offsetWidth: ee, offsetHeight: re } = b.current;
@@ -33747,20 +33747,31 @@ function h$(e) {
33747
33747
  }
33748
33748
  const vk = tt(
33749
33749
  Te((e) => {
33750
- const { items: t, defaultActiveTab: r = 0, onTabChange: n, sx: a, ref: o } = e, [s, i] = Fe(r), l = (c, u) => {
33751
- i(u), n == null || n(u);
33750
+ const {
33751
+ items: t,
33752
+ activeTab: r,
33753
+ defaultActiveTab: n = 0,
33754
+ onTabChange: a,
33755
+ sx: o,
33756
+ ref: s
33757
+ } = e, i = r !== void 0, [l, c] = Fe(n);
33758
+ Be(() => {
33759
+ i || t.length !== 0 && (l < 0 || l > t.length - 1) && c(0);
33760
+ }, [t.length, i, l]);
33761
+ const u = i ? r : l, d = (h, p) => {
33762
+ i || c(p), a == null || a(p);
33752
33763
  };
33753
33764
  return /* @__PURE__ */ g.jsxs(
33754
33765
  ne,
33755
33766
  {
33756
- ref: o,
33757
- sx: { height: "100%", display: "flex", flexDirection: "column", ...a },
33767
+ ref: s,
33768
+ sx: { height: "100%", display: "flex", flexDirection: "column", ...o },
33758
33769
  children: [
33759
33770
  /* @__PURE__ */ g.jsx(ne, { sx: { px: 0, py: 0 }, children: /* @__PURE__ */ g.jsx(
33760
33771
  rp,
33761
33772
  {
33762
- value: s,
33763
- onChange: l,
33773
+ value: u,
33774
+ onChange: d,
33764
33775
  sx: {
33765
33776
  minHeight: "32px",
33766
33777
  backgroundColor: "transparent",
@@ -33772,11 +33783,11 @@ const vk = tt(
33772
33783
  gap: 2
33773
33784
  }
33774
33785
  },
33775
- children: t.map((c, u) => /* @__PURE__ */ g.jsx(
33786
+ children: t.map((h, p) => /* @__PURE__ */ g.jsx(
33776
33787
  np,
33777
33788
  {
33778
- label: c.label,
33779
- icon: c.icon,
33789
+ label: h.label,
33790
+ icon: h.icon,
33780
33791
  iconPosition: "start",
33781
33792
  disableRipple: !0,
33782
33793
  sx: {
@@ -33784,22 +33795,22 @@ const vk = tt(
33784
33795
  height: "32px",
33785
33796
  padding: "0px 10px",
33786
33797
  borderRadius: "12px",
33787
- backgroundColor: (d) => {
33788
- var h;
33789
- return ((h = d.palette.backgroundPaperElevation) == null ? void 0 : h[11]) || "#32344B";
33798
+ backgroundColor: (f) => {
33799
+ var m;
33800
+ return ((m = f.palette.backgroundPaperElevation) == null ? void 0 : m[11]) || "#32344B";
33790
33801
  },
33791
33802
  color: "text.primary",
33792
- opacity: s === u ? 1 : 0.38,
33803
+ opacity: u === p ? 1 : 0.38,
33793
33804
  fontSize: "13px",
33794
33805
  transition: "all 0.2s ease-in-out",
33795
33806
  "&:hover": {
33796
- opacity: s === u ? 1 : 0.6
33807
+ opacity: u === p ? 1 : 0.6
33797
33808
  },
33798
33809
  "&.Mui-selected": {
33799
33810
  opacity: 1,
33800
- backgroundColor: (d) => {
33801
- var h;
33802
- return ((h = d.palette.backgroundPaperElevation) == null ? void 0 : h[11]) || "#32344B";
33811
+ backgroundColor: (f) => {
33812
+ var m;
33813
+ return ((m = f.palette.backgroundPaperElevation) == null ? void 0 : m[11]) || "#32344B";
33803
33814
  },
33804
33815
  color: "text.primary"
33805
33816
  },
@@ -33811,12 +33822,12 @@ const vk = tt(
33811
33822
  }
33812
33823
  }
33813
33824
  },
33814
- c.id
33825
+ h.id
33815
33826
  ))
33816
33827
  }
33817
33828
  ) }),
33818
33829
  /* @__PURE__ */ g.jsx(ne, { sx: { mt: "32px", borderBottom: 1, borderColor: "divider" } }),
33819
- /* @__PURE__ */ g.jsx(ne, { sx: { flex: 1, overflow: "auto" }, children: t.map((c, u) => /* @__PURE__ */ g.jsx(h$, { value: s, index: u, children: c.content }, c.id)) })
33830
+ /* @__PURE__ */ g.jsx(ne, { sx: { flex: 1, overflow: "auto" }, children: t.map((h, p) => /* @__PURE__ */ g.jsx(h$, { value: u, index: p, children: h.content }, h.id)) })
33820
33831
  ]
33821
33832
  }
33822
33833
  );