@moises.ai/design-system 4.18.7 → 4.18.8

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
@@ -31,7 +31,7 @@ var gu = [" ", "Enter", "ArrowUp", "ArrowDown"], mu = [" ", "Enter"], _t = "Sele
31
31
  disabled: g,
32
32
  required: C,
33
33
  form: m
34
- } = n, f = Mr(t), [k, y] = A.useState(null), [R, b] = A.useState(null), [N, E] = A.useState(!1), w = mo(u), [B, x] = vr({
34
+ } = n, f = Mr(t), [k, y] = A.useState(null), [N, b] = A.useState(null), [R, E] = A.useState(!1), w = mo(u), [B, x] = vr({
35
35
  prop: s,
36
36
  defaultProp: o ?? !1,
37
37
  onChange: i,
@@ -49,9 +49,9 @@ var gu = [" ", "Enter", "ArrowUp", "ArrowDown"], mu = [" ", "Enter"], _t = "Sele
49
49
  scope: t,
50
50
  trigger: k,
51
51
  onTriggerChange: y,
52
- valueNode: R,
52
+ valueNode: N,
53
53
  onValueNodeChange: b,
54
- valueNodeHasChildren: N,
54
+ valueNodeHasChildren: R,
55
55
  onValueNodeHasChildrenChange: E,
56
56
  contentId: Ls(),
57
57
  value: U,
@@ -105,8 +105,8 @@ Go.displayName = _t;
105
105
  var qo = "SelectTrigger", Yo = A.forwardRef(
106
106
  (n, t) => {
107
107
  const { __scopeSelect: r, disabled: s = !1, ...o } = n, i = Mr(r), l = Mt(qo, r), c = l.disabled || s, d = Pe(t, l.onTriggerChange), u = Qr(r), p = A.useRef("touch"), [h, g, C] = Ci((f) => {
108
- const k = u().filter((b) => !b.disabled), y = k.find((b) => b.value === l.value), R = vi(k, f, y);
109
- R !== void 0 && l.onValueChange(R.value);
108
+ const k = u().filter((b) => !b.disabled), y = k.find((b) => b.value === l.value), N = vi(k, f, y);
109
+ N !== void 0 && l.onValueChange(N.value);
110
110
  }), m = (f) => {
111
111
  c || (l.onOpenChange(!0), C()), f && (l.triggerPointerDownPosRef.current = {
112
112
  x: Math.round(f.pageX),
@@ -210,7 +210,7 @@ var nt = 10, [ti, Ut] = yn($t), Iu = "SelectContentImpl", Su = mc("SelectContent
210
210
  avoidCollisions: k,
211
211
  //
212
212
  ...y
213
- } = n, R = Mt($t, r), [b, N] = A.useState(null), [E, w] = A.useState(null), B = Pe(t, (M) => N(M)), [x, U] = A.useState(null), [T, Q] = A.useState(
213
+ } = n, N = Mt($t, r), [b, R] = A.useState(null), [E, w] = A.useState(null), B = Pe(t, (M) => R(M)), [x, U] = A.useState(null), [T, Q] = A.useState(
214
214
  null
215
215
  ), D = Qr(r), [z, O] = A.useState(!1), P = A.useRef(!1);
216
216
  A.useEffect(() => {
@@ -230,7 +230,7 @@ var nt = 10, [ti, Ut] = yn($t), Iu = "SelectContentImpl", Su = mc("SelectContent
230
230
  A.useEffect(() => {
231
231
  z && $();
232
232
  }, [z, $]);
233
- const { onOpenChange: G, triggerPointerDownPosRef: W } = R;
233
+ const { onOpenChange: G, triggerPointerDownPosRef: W } = N;
234
234
  A.useEffect(() => {
235
235
  if (b) {
236
236
  let M = { x: 0, y: 0 };
@@ -259,15 +259,15 @@ var nt = 10, [ti, Ut] = yn($t), Iu = "SelectContentImpl", Su = mc("SelectContent
259
259
  }), de = A.useCallback(
260
260
  (M, L, le) => {
261
261
  const ce = !P.current && !le;
262
- (R.value !== void 0 && R.value === L || ce) && (U(M), ce && (P.current = !0));
262
+ (N.value !== void 0 && N.value === L || ce) && (U(M), ce && (P.current = !0));
263
263
  },
264
- [R.value]
264
+ [N.value]
265
265
  ), ge = A.useCallback(() => b == null ? void 0 : b.focus(), [b]), K = A.useCallback(
266
266
  (M, L, le) => {
267
267
  const ce = !P.current && !le;
268
- (R.value !== void 0 && R.value === L || ce) && Q(M);
268
+ (N.value !== void 0 && N.value === L || ce) && Q(M);
269
269
  },
270
- [R.value]
270
+ [N.value]
271
271
  ), Z = s === "popper" ? ws : ri, F = Z === ws ? {
272
272
  side: c,
273
273
  sideOffset: d,
@@ -300,13 +300,13 @@ var nt = 10, [ti, Ut] = yn($t), Iu = "SelectContentImpl", Su = mc("SelectContent
300
300
  pc,
301
301
  {
302
302
  asChild: !0,
303
- trapped: R.open,
303
+ trapped: N.open,
304
304
  onMountAutoFocus: (M) => {
305
305
  M.preventDefault();
306
306
  },
307
307
  onUnmountAutoFocus: be(o, (M) => {
308
308
  var L;
309
- (L = R.trigger) == null || L.focus({ preventScroll: !0 }), M.preventDefault();
309
+ (L = N.trigger) == null || L.focus({ preventScroll: !0 }), M.preventDefault();
310
310
  }),
311
311
  children: /* @__PURE__ */ a(
312
312
  gc,
@@ -316,14 +316,14 @@ var nt = 10, [ti, Ut] = yn($t), Iu = "SelectContentImpl", Su = mc("SelectContent
316
316
  onEscapeKeyDown: i,
317
317
  onPointerDownOutside: l,
318
318
  onFocusOutside: (M) => M.preventDefault(),
319
- onDismiss: () => R.onOpenChange(!1),
319
+ onDismiss: () => N.onOpenChange(!1),
320
320
  children: /* @__PURE__ */ a(
321
321
  Z,
322
322
  {
323
323
  role: "listbox",
324
- id: R.contentId,
325
- "data-state": R.open ? "open" : "closed",
326
- dir: R.dir,
324
+ id: N.contentId,
325
+ "data-state": N.open ? "open" : "closed",
326
+ dir: N.dir,
327
327
  onContextMenu: (M) => M.preventDefault(),
328
328
  ...y,
329
329
  ...F,
@@ -360,7 +360,7 @@ var nt = 10, [ti, Ut] = yn($t), Iu = "SelectContentImpl", Su = mc("SelectContent
360
360
  );
361
361
  ni.displayName = Iu;
362
362
  var Eu = "SelectItemAlignedPosition", ri = A.forwardRef((n, t) => {
363
- const { __scopeSelect: r, onPlaced: s, ...o } = n, i = Mt($t, r), l = Ut($t, r), [c, d] = A.useState(null), [u, p] = A.useState(null), h = Pe(t, (B) => p(B)), g = Qr(r), C = A.useRef(!1), m = A.useRef(!0), { viewport: f, selectedItem: k, selectedItemText: y, focusSelectedItem: R } = l, b = A.useCallback(() => {
363
+ const { __scopeSelect: r, onPlaced: s, ...o } = n, i = Mt($t, r), l = Ut($t, r), [c, d] = A.useState(null), [u, p] = A.useState(null), h = Pe(t, (B) => p(B)), g = Qr(r), C = A.useRef(!1), m = A.useRef(!0), { viewport: f, selectedItem: k, selectedItemText: y, focusSelectedItem: N } = l, b = A.useCallback(() => {
364
364
  if (i.trigger && i.valueNode && c && u && f && k && y) {
365
365
  const B = i.trigger.getBoundingClientRect(), x = u.getBoundingClientRect(), U = i.valueNode.getBoundingClientRect(), T = y.getBoundingClientRect();
366
366
  if (i.dir !== "rtl") {
@@ -416,15 +416,15 @@ var Eu = "SelectItemAlignedPosition", ri = A.forwardRef((n, t) => {
416
416
  s
417
417
  ]);
418
418
  Jt(() => b(), [b]);
419
- const [N, E] = A.useState();
419
+ const [R, E] = A.useState();
420
420
  Jt(() => {
421
421
  u && E(window.getComputedStyle(u).zIndex);
422
422
  }, [u]);
423
423
  const w = A.useCallback(
424
424
  (B) => {
425
- B && m.current === !0 && (b(), R == null || R(), m.current = !1);
425
+ B && m.current === !0 && (b(), N == null || N(), m.current = !1);
426
426
  },
427
- [b, R]
427
+ [b, N]
428
428
  );
429
429
  return /* @__PURE__ */ a(
430
430
  Nu,
@@ -441,7 +441,7 @@ var Eu = "SelectItemAlignedPosition", ri = A.forwardRef((n, t) => {
441
441
  display: "flex",
442
442
  flexDirection: "column",
443
443
  position: "fixed",
444
- zIndex: N
444
+ zIndex: R
445
445
  },
446
446
  children: /* @__PURE__ */ a(
447
447
  De.div,
@@ -533,8 +533,8 @@ var [Nu, na] = yn($t, {}), Ns = "SelectViewport", si = A.forwardRef(
533
533
  if (C > 0) {
534
534
  const m = window.innerHeight - nt * 2, f = parseFloat(h.style.minHeight), k = parseFloat(h.style.height), y = Math.max(f, k);
535
535
  if (y < m) {
536
- const R = y + C, b = Math.min(m, R), N = R - b;
537
- h.style.height = b + "px", h.style.bottom === "0px" && (p.scrollTop = N > 0 ? N : 0, h.style.justifyContent = "flex-end");
536
+ const N = y + C, b = Math.min(m, N), R = N - b;
537
+ h.style.height = b + "px", h.style.bottom === "0px" && (p.scrollTop = R > 0 ? R : 0, h.style.justifyContent = "flex-end");
538
538
  }
539
539
  }
540
540
  }
@@ -570,9 +570,9 @@ var kr = "SelectItem", [xu, ci] = yn(kr), di = A.forwardRef(
570
570
  ...l
571
571
  } = n, c = Mt(kr, r), d = Ut(kr, r), u = c.value === s, [p, h] = A.useState(i ?? ""), [g, C] = A.useState(!1), m = Pe(
572
572
  t,
573
- (R) => {
573
+ (N) => {
574
574
  var b;
575
- return (b = d.itemRefCallback) == null ? void 0 : b.call(d, R, s, o);
575
+ return (b = d.itemRefCallback) == null ? void 0 : b.call(d, N, s, o);
576
576
  }
577
577
  ), f = Ls(), k = A.useRef("touch"), y = () => {
578
578
  o || (c.onValueChange(s), c.onOpenChange(!1));
@@ -589,8 +589,8 @@ var kr = "SelectItem", [xu, ci] = yn(kr), di = A.forwardRef(
589
589
  disabled: o,
590
590
  textId: f,
591
591
  isSelected: u,
592
- onItemTextChange: A.useCallback((R) => {
593
- h((b) => b || ((R == null ? void 0 : R.textContent) ?? "").trim());
592
+ onItemTextChange: A.useCallback((N) => {
593
+ h((b) => b || ((N == null ? void 0 : N.textContent) ?? "").trim());
594
594
  }, []),
595
595
  children: /* @__PURE__ */ a(
596
596
  Jr.ItemSlot,
@@ -620,20 +620,20 @@ var kr = "SelectItem", [xu, ci] = yn(kr), di = A.forwardRef(
620
620
  onPointerUp: be(l.onPointerUp, () => {
621
621
  k.current === "mouse" && y();
622
622
  }),
623
- onPointerDown: be(l.onPointerDown, (R) => {
624
- k.current = R.pointerType;
623
+ onPointerDown: be(l.onPointerDown, (N) => {
624
+ k.current = N.pointerType;
625
625
  }),
626
- onPointerMove: be(l.onPointerMove, (R) => {
626
+ onPointerMove: be(l.onPointerMove, (N) => {
627
627
  var b;
628
- k.current = R.pointerType, o ? (b = d.onItemLeave) == null || b.call(d) : k.current === "mouse" && R.currentTarget.focus({ preventScroll: !0 });
628
+ k.current = N.pointerType, o ? (b = d.onItemLeave) == null || b.call(d) : k.current === "mouse" && N.currentTarget.focus({ preventScroll: !0 });
629
629
  }),
630
- onPointerLeave: be(l.onPointerLeave, (R) => {
630
+ onPointerLeave: be(l.onPointerLeave, (N) => {
631
631
  var b;
632
- R.currentTarget === document.activeElement && ((b = d.onItemLeave) == null || b.call(d));
632
+ N.currentTarget === document.activeElement && ((b = d.onItemLeave) == null || b.call(d));
633
633
  }),
634
- onKeyDown: be(l.onKeyDown, (R) => {
635
- var N;
636
- ((N = d.searchRef) == null ? void 0 : N.current) !== "" && R.key === " " || (mu.includes(R.key) && y(), R.key === " " && R.preventDefault());
634
+ onKeyDown: be(l.onKeyDown, (N) => {
635
+ var R;
636
+ ((R = d.searchRef) == null ? void 0 : R.current) !== "" && N.key === " " || (mu.includes(N.key) && y(), N.key === " " && N.preventDefault());
637
637
  })
638
638
  }
639
639
  )
@@ -651,8 +651,8 @@ var Pn = "SelectItemText", ui = A.forwardRef(
651
651
  (y) => h(y),
652
652
  d.onItemTextChange,
653
653
  (y) => {
654
- var R;
655
- return (R = c.itemTextRefCallback) == null ? void 0 : R.call(c, y, d.value, d.disabled);
654
+ var N;
655
+ return (N = c.itemTextRefCallback) == null ? void 0 : N.call(c, y, d.value, d.disabled);
656
656
  }
657
657
  ), C = p == null ? void 0 : p.textContent, m = A.useMemo(
658
658
  () => /* @__PURE__ */ a("option", { value: d.value, disabled: d.disabled, children: C }, d.value),
@@ -842,16 +842,16 @@ var Ou = Go, Pu = Yo, Fu = Zo, zu = _o, Wu = $o, Hu = ei, Lu = si, Ku = oi, Vu =
842
842
  inverted: C = !1,
843
843
  form: m,
844
844
  ...f
845
- } = n, k = A.useRef(/* @__PURE__ */ new Set()), y = A.useRef(0), b = l === "horizontal" ? eh : th, [N = [], E] = vr({
845
+ } = n, k = A.useRef(/* @__PURE__ */ new Set()), y = A.useRef(0), b = l === "horizontal" ? eh : th, [R = [], E] = vr({
846
846
  prop: p,
847
847
  defaultProp: u,
848
848
  onChange: (Q) => {
849
849
  var z;
850
850
  (z = [...k.current][y.current]) == null || z.focus(), h(Q);
851
851
  }
852
- }), w = A.useRef(N);
852
+ }), w = A.useRef(R);
853
853
  function B(Q) {
854
- const D = oh(N, Q);
854
+ const D = oh(R, Q);
855
855
  T(Q, D);
856
856
  }
857
857
  function x(Q) {
@@ -859,7 +859,7 @@ var Ou = Go, Pu = Yo, Fu = Zo, zu = _o, Wu = $o, Hu = ei, Lu = si, Ku = oi, Vu =
859
859
  }
860
860
  function U() {
861
861
  const Q = w.current[y.current];
862
- N[y.current] !== Q && g(N);
862
+ R[y.current] !== Q && g(R);
863
863
  }
864
864
  function T(Q, D, { commit: z } = { commit: !1 }) {
865
865
  const O = dh(i), P = uh(Math.round((Q - s) / i) * i + s, O), V = yr(P, [s, o]);
@@ -883,7 +883,7 @@ var Ou = Go, Pu = Yo, Fu = Zo, zu = _o, Wu = $o, Hu = ei, Lu = si, Ku = oi, Vu =
883
883
  max: o,
884
884
  valueIndexToChangeRef: y,
885
885
  thumbs: k.current,
886
- values: N,
886
+ values: R,
887
887
  orientation: l,
888
888
  form: m,
889
889
  children: /* @__PURE__ */ a(Ts.Provider, { scope: n.__scopeSlider, children: /* @__PURE__ */ a(Ts.Slot, { scope: n.__scopeSlider, children: /* @__PURE__ */ a(
@@ -894,7 +894,7 @@ var Ou = Go, Pu = Yo, Fu = Zo, zu = _o, Wu = $o, Hu = ei, Lu = si, Ku = oi, Vu =
894
894
  ...f,
895
895
  ref: t,
896
896
  onPointerDown: be(f.onPointerDown, () => {
897
- c || (w.current = N);
897
+ c || (w.current = R);
898
898
  }),
899
899
  min: s,
900
900
  max: o,
@@ -903,10 +903,10 @@ var Ou = Go, Pu = Yo, Fu = Zo, zu = _o, Wu = $o, Hu = ei, Lu = si, Ku = oi, Vu =
903
903
  onSlideMove: c ? void 0 : x,
904
904
  onSlideEnd: c ? void 0 : U,
905
905
  onHomeKeyDown: () => !c && T(s, 0, { commit: !0 }),
906
- onEndKeyDown: () => !c && T(o, N.length - 1, { commit: !0 }),
906
+ onEndKeyDown: () => !c && T(o, R.length - 1, { commit: !0 }),
907
907
  onStepKeyDown: ({ event: Q, direction: D }) => {
908
908
  if (!c) {
909
- const P = yi.includes(Q.key) || Q.shiftKey && ki.includes(Q.key) ? 10 : 1, V = y.current, $ = N[V], G = i * P * D;
909
+ const P = yi.includes(Q.key) || Q.shiftKey && ki.includes(Q.key) ? 10 : 1, V = y.current, $ = R[V], G = i * P * D;
910
910
  T($ + G, V, { commit: !0 });
911
911
  }
912
912
  }
@@ -935,9 +935,9 @@ var [Si, Ei] = Ii(kn, {
935
935
  onStepKeyDown: u,
936
936
  ...p
937
937
  } = n, [h, g] = A.useState(null), C = Pe(t, (b) => g(b)), m = A.useRef(void 0), f = mo(o), k = f === "ltr", y = k && !i || !k && i;
938
- function R(b) {
939
- const N = m.current || h.getBoundingClientRect(), E = [0, N.width], B = ia(E, y ? [r, s] : [s, r]);
940
- return m.current = N, B(b - N.left);
938
+ function N(b) {
939
+ const R = m.current || h.getBoundingClientRect(), E = [0, R.width], B = ia(E, y ? [r, s] : [s, r]);
940
+ return m.current = R, B(b - R.left);
941
941
  }
942
942
  return /* @__PURE__ */ a(
943
943
  Si,
@@ -959,12 +959,12 @@ var [Si, Ei] = Ii(kn, {
959
959
  "--radix-slider-thumb-transform": "translateX(-50%)"
960
960
  },
961
961
  onSlideStart: (b) => {
962
- const N = R(b.clientX);
963
- l == null || l(N);
962
+ const R = N(b.clientX);
963
+ l == null || l(R);
964
964
  },
965
965
  onSlideMove: (b) => {
966
- const N = R(b.clientX);
967
- c == null || c(N);
966
+ const R = N(b.clientX);
967
+ c == null || c(R);
968
968
  },
969
969
  onSlideEnd: () => {
970
970
  m.current = void 0, d == null || d();
@@ -1113,7 +1113,7 @@ var Js = "SliderThumb", oa = A.forwardRef(
1113
1113
  }
1114
1114
  ), nh = A.forwardRef(
1115
1115
  (n, t) => {
1116
- const { __scopeSlider: r, index: s, name: o, ...i } = n, l = Ur(Js, r), c = Ei(Js, r), [d, u] = A.useState(null), p = Pe(t, (R) => u(R)), h = d ? l.form || !!d.closest("form") : !0, g = vc(d), C = l.values[s], m = C === void 0 ? 0 : Bi(C, l.min, l.max), f = ah(s, l.values.length), k = g == null ? void 0 : g[c.size], y = k ? ih(k, m, c.direction) : 0;
1116
+ const { __scopeSlider: r, index: s, name: o, ...i } = n, l = Ur(Js, r), c = Ei(Js, r), [d, u] = A.useState(null), p = Pe(t, (N) => u(N)), h = d ? l.form || !!d.closest("form") : !0, g = vc(d), C = l.values[s], m = C === void 0 ? 0 : Bi(C, l.min, l.max), f = ah(s, l.values.length), k = g == null ? void 0 : g[c.size], y = k ? ih(k, m, c.direction) : 0;
1117
1117
  return A.useEffect(() => {
1118
1118
  if (d)
1119
1119
  return l.thumbs.add(d), () => {
@@ -1437,15 +1437,15 @@ const Mi = A.forwardRef((n, t) => {
1437
1437
  A.useEffect(() => f(o), [o]);
1438
1438
  const [k, y] = A.useState(i);
1439
1439
  A.useEffect(() => y(i), [i]);
1440
- const [R, b] = A.useState(l);
1440
+ const [N, b] = A.useState(l);
1441
1441
  A.useEffect(() => b(l), [l]);
1442
- const [N, E] = A.useState(c);
1443
- return A.useEffect(() => E(c), [c]), A.createElement(ca, { ...u, ref: t, isRoot: !0, hasBackground: d, appearance: p, accentColor: g, grayColor: m, panelBackground: k, radius: R, scaling: N, onAppearanceChange: h, onAccentColorChange: C, onGrayColorChange: f, onPanelBackgroundChange: y, onRadiusChange: b, onScalingChange: E });
1442
+ const [R, E] = A.useState(c);
1443
+ return A.useEffect(() => E(c), [c]), A.createElement(ca, { ...u, ref: t, isRoot: !0, hasBackground: d, appearance: p, accentColor: g, grayColor: m, panelBackground: k, radius: N, scaling: R, onAppearanceChange: h, onAccentColorChange: C, onGrayColorChange: f, onPanelBackgroundChange: y, onRadiusChange: b, onScalingChange: E });
1444
1444
  });
1445
1445
  Mi.displayName = "ThemeRoot";
1446
1446
  const ca = A.forwardRef((n, t) => {
1447
- const r = A.useContext(br), { asChild: s, isRoot: o, hasBackground: i, appearance: l = (r == null ? void 0 : r.appearance) ?? Ze.appearance.default, accentColor: c = (r == null ? void 0 : r.accentColor) ?? Ze.accentColor.default, grayColor: d = (r == null ? void 0 : r.resolvedGrayColor) ?? Ze.grayColor.default, panelBackground: u = (r == null ? void 0 : r.panelBackground) ?? Ze.panelBackground.default, radius: p = (r == null ? void 0 : r.radius) ?? Ze.radius.default, scaling: h = (r == null ? void 0 : r.scaling) ?? Ze.scaling.default, onAppearanceChange: g = an, onAccentColorChange: C = an, onGrayColorChange: m = an, onPanelBackgroundChange: f = an, onRadiusChange: k = an, onScalingChange: y = an, ...R } = n, b = s ? Je : "div", N = d === "auto" ? wh(c) : d, E = n.appearance === "light" || n.appearance === "dark", w = i === void 0 ? o || E : i;
1448
- return A.createElement(br.Provider, { value: A.useMemo(() => ({ appearance: l, accentColor: c, grayColor: d, resolvedGrayColor: N, panelBackground: u, radius: p, scaling: h, onAppearanceChange: g, onAccentColorChange: C, onGrayColorChange: m, onPanelBackgroundChange: f, onRadiusChange: k, onScalingChange: y }), [l, c, d, N, u, p, h, g, C, m, f, k, y]) }, A.createElement(b, { "data-is-root-theme": o ? "true" : "false", "data-accent-color": c, "data-gray-color": N, "data-has-background": w ? "true" : "false", "data-panel-background": u, "data-radius": p, "data-scaling": h, ref: t, ...R, className: I("radix-themes", { light: l === "light", dark: l === "dark" }, R.className) }));
1447
+ const r = A.useContext(br), { asChild: s, isRoot: o, hasBackground: i, appearance: l = (r == null ? void 0 : r.appearance) ?? Ze.appearance.default, accentColor: c = (r == null ? void 0 : r.accentColor) ?? Ze.accentColor.default, grayColor: d = (r == null ? void 0 : r.resolvedGrayColor) ?? Ze.grayColor.default, panelBackground: u = (r == null ? void 0 : r.panelBackground) ?? Ze.panelBackground.default, radius: p = (r == null ? void 0 : r.radius) ?? Ze.radius.default, scaling: h = (r == null ? void 0 : r.scaling) ?? Ze.scaling.default, onAppearanceChange: g = an, onAccentColorChange: C = an, onGrayColorChange: m = an, onPanelBackgroundChange: f = an, onRadiusChange: k = an, onScalingChange: y = an, ...N } = n, b = s ? Je : "div", R = d === "auto" ? wh(c) : d, E = n.appearance === "light" || n.appearance === "dark", w = i === void 0 ? o || E : i;
1448
+ return A.createElement(br.Provider, { value: A.useMemo(() => ({ appearance: l, accentColor: c, grayColor: d, resolvedGrayColor: R, panelBackground: u, radius: p, scaling: h, onAppearanceChange: g, onAccentColorChange: C, onGrayColorChange: m, onPanelBackgroundChange: f, onRadiusChange: k, onScalingChange: y }), [l, c, d, R, u, p, h, g, C, m, f, k, y]) }, A.createElement(b, { "data-is-root-theme": o ? "true" : "false", "data-accent-color": c, "data-gray-color": R, "data-has-background": w ? "true" : "false", "data-panel-background": u, "data-radius": p, "data-scaling": h, ref: t, ...N, className: I("radix-themes", { light: l === "light", dark: l === "dark" }, N.className) }));
1449
1449
  });
1450
1450
  ca.displayName = "ThemeImpl";
1451
1451
  const Pt = (n) => {
@@ -2337,20 +2337,20 @@ const km = "_Callout_1lwt5_1", bm = "_size1_1lwt5_5", Im = "_onlyButton_1lwt5_5"
2337
2337
  iconButtonProps: p,
2338
2338
  ...h
2339
2339
  }) => {
2340
- const g = !!u, C = !!p, m = g || C, f = Pm(r), k = Fm(r), y = r === "3" ? "3" : "2", R = X(null), b = X(null), [N, E] = j("start");
2340
+ const g = !!u, C = !!p, m = g || C, f = Pm(r), k = Fm(r), y = r === "3" ? "3" : "2", N = X(null), b = X(null), [R, E] = j("start");
2341
2341
  Qo(() => {
2342
2342
  if (!m) {
2343
2343
  E("start");
2344
2344
  return;
2345
2345
  }
2346
- if (!R.current || !b.current) return;
2346
+ if (!N.current || !b.current) return;
2347
2347
  const B = () => {
2348
- const U = R.current.scrollHeight, T = b.current.scrollHeight;
2348
+ const U = N.current.scrollHeight, T = b.current.scrollHeight;
2349
2349
  E(U <= T ? "center" : "start");
2350
2350
  };
2351
2351
  B();
2352
2352
  const x = new ResizeObserver(B);
2353
- return x.observe(R.current), x.observe(b.current), () => x.disconnect();
2353
+ return x.observe(N.current), x.observe(b.current), () => x.disconnect();
2354
2354
  }, [m]);
2355
2355
  const w = () => d ? null : /* @__PURE__ */ a(ga, { style: { height: k }, children: /* @__PURE__ */ a(i, { width: f, height: f }) });
2356
2356
  return /* @__PURE__ */ a(en, { asChild: !0, children: /* @__PURE__ */ a(
@@ -2370,7 +2370,7 @@ const km = "_Callout_1lwt5_1", bm = "_size1_1lwt5_5", Im = "_onlyButton_1lwt5_5"
2370
2370
  C && !g && on.onlyIconButton
2371
2371
  ),
2372
2372
  ...h,
2373
- children: /* @__PURE__ */ v(S, { justify: "between", gap: "3", width: "100%", align: N, children: [
2373
+ children: /* @__PURE__ */ v(S, { justify: "between", gap: "3", width: "100%", align: R, children: [
2374
2374
  /* @__PURE__ */ v(
2375
2375
  S,
2376
2376
  {
@@ -2379,7 +2379,7 @@ const km = "_Callout_1lwt5_1", bm = "_size1_1lwt5_5", Im = "_onlyButton_1lwt5_5"
2379
2379
  width: "100%",
2380
2380
  children: [
2381
2381
  w(),
2382
- /* @__PURE__ */ v(S, { direction: "column", gap: "1", width: "100%", ref: R, children: [
2382
+ /* @__PURE__ */ v(S, { direction: "column", gap: "1", width: "100%", ref: N, children: [
2383
2383
  c && /* @__PURE__ */ a(Y, { size: y, weight: "bold", children: c }),
2384
2384
  /* @__PURE__ */ a(Y, { size: y, weight: "regular", children: l || n })
2385
2385
  ] })
@@ -2981,17 +2981,17 @@ const Xf = "_DataTable_kyf7f_1", Zf = "_titleText_kyf7f_23", _f = "_artistText_k
2981
2981
  if (u.length > 1) {
2982
2982
  const p = new Set(u), h = u.map((y) => n[y]).filter(Boolean), g = u.filter(
2983
2983
  (y) => y < i
2984
- ).length, C = i - g, f = [...n.filter((y, R) => !p.has(R))];
2984
+ ).length, C = i - g, f = [...n.filter((y, N) => !p.has(N))];
2985
2985
  return f.splice(C, 0, ...h), f.some(
2986
- (y, R) => {
2986
+ (y, N) => {
2987
2987
  var b;
2988
- return (y == null ? void 0 : y.id) !== ((b = n[R]) == null ? void 0 : b.id);
2988
+ return (y == null ? void 0 : y.id) !== ((b = n[N]) == null ? void 0 : b.id);
2989
2989
  }
2990
2990
  ) ? {
2991
2991
  order: r,
2992
2992
  move_before: i,
2993
2993
  orders: u,
2994
- rowIds: h.map((y, R) => Xt(y, R)).filter(Boolean),
2994
+ rowIds: h.map((y, N) => Xt(y, N)).filter(Boolean),
2995
2995
  mode: "multi"
2996
2996
  } : null;
2997
2997
  }
@@ -3101,7 +3101,7 @@ const Xf = "_DataTable_kyf7f_1", Zf = "_titleText_kyf7f_23", _f = "_artistText_k
3101
3101
  u(x), h(x), C(D), i == null || i(D, B.activatorEvent);
3102
3102
  },
3103
3103
  [i, f, r, t]
3104
- ), R = J((B) => {
3104
+ ), N = J((B) => {
3105
3105
  var x;
3106
3106
  h((x = B.over) != null && x.id ? String(B.over.id) : null);
3107
3107
  }, []), b = J(
@@ -3109,7 +3109,7 @@ const Xf = "_DataTable_kyf7f_1", Zf = "_titleText_kyf7f_23", _f = "_artistText_k
3109
3109
  g != null && g.row && (l == null || l(g.row, B == null ? void 0 : B.activatorEvent)), k();
3110
3110
  },
3111
3111
  [g, l, k]
3112
- ), N = J(
3112
+ ), R = J(
3113
3113
  (B) => {
3114
3114
  var Q, D;
3115
3115
  const x = String(((Q = B.active) == null ? void 0 : Q.id) ?? ""), U = (D = B.over) != null && D.id ? String(B.over.id) : null, T = f.get(x) ?? (g == null ? void 0 : g.row);
@@ -3151,19 +3151,19 @@ const Xf = "_DataTable_kyf7f_1", Zf = "_titleText_kyf7f_23", _f = "_artistText_k
3151
3151
  sensors: m,
3152
3152
  collisionDetection: au,
3153
3153
  onDragStart: y,
3154
- onDragOver: R,
3154
+ onDragOver: N,
3155
3155
  onDragCancel: b,
3156
- onDragEnd: N
3156
+ onDragEnd: R
3157
3157
  }),
3158
- [b, N, R, y, m]
3158
+ [b, R, N, y, m]
3159
3159
  ), w = oe(
3160
3160
  () => ({
3161
3161
  onDragStart: y,
3162
- onDragOver: R,
3162
+ onDragOver: N,
3163
3163
  onDragCancel: b,
3164
- onDragEnd: N
3164
+ onDragEnd: R
3165
3165
  }),
3166
- [y, R, b, N]
3166
+ [y, N, b, R]
3167
3167
  );
3168
3168
  return {
3169
3169
  dndContextProps: E,
@@ -3217,22 +3217,22 @@ const Xf = "_DataTable_kyf7f_1", Zf = "_titleText_kyf7f_23", _f = "_artistText_k
3217
3217
  )
3218
3218
  }
3219
3219
  ),
3220
- n.map((y, R) => /* @__PURE__ */ a(
3220
+ n.map((y, N) => /* @__PURE__ */ a(
3221
3221
  Hn,
3222
3222
  {
3223
3223
  className: I(ne.columnHeaderCell, {
3224
- [ne.columnProject]: R === 0,
3225
- [ne.dataColumn]: R !== 0,
3224
+ [ne.columnProject]: N === 0,
3225
+ [ne.dataColumn]: N !== 0,
3226
3226
  [ne.mobileVisibleDataColumn]: y.id === s,
3227
3227
  [ne.sortedColumn]: nr(t) === nr(y.id)
3228
3228
  }),
3229
3229
  children: /* @__PURE__ */ v(S, { align: "center", gap: "3", height: "24px", children: [
3230
- R === 0 && o ? /* @__PURE__ */ a(Y, { size: "2", weight: "regular", className: ne.headerTextFirst, children: l }) : y.sortable ? /* @__PURE__ */ v(
3230
+ N === 0 && o ? /* @__PURE__ */ a(Y, { size: "2", weight: "regular", className: ne.headerTextFirst, children: l }) : y.sortable ? /* @__PURE__ */ v(
3231
3231
  "button",
3232
3232
  {
3233
3233
  type: "button",
3234
3234
  className: I(ne.sortButton, {
3235
- [ne.sortButtonFirst]: R === 0
3235
+ [ne.sortButtonFirst]: N === 0
3236
3236
  }),
3237
3237
  onClick: () => f(y.id),
3238
3238
  children: [
@@ -3241,7 +3241,7 @@ const Xf = "_DataTable_kyf7f_1", Zf = "_titleText_kyf7f_23", _f = "_artistText_k
3241
3241
  ]
3242
3242
  }
3243
3243
  ) : /* @__PURE__ */ a(Y, { size: "2", className: ne.headerText, children: y.label }),
3244
- R === 0 && g && /* @__PURE__ */ a(S, { gap: "2", className: ne.headerActions, children: g({
3244
+ N === 0 && g && /* @__PURE__ */ a(S, { gap: "2", className: ne.headerActions, children: g({
3245
3245
  selectedCount: c,
3246
3246
  total: d,
3247
3247
  anySelected: o,
@@ -3296,11 +3296,11 @@ const YC = Te.memo(function({
3296
3296
  renderDataCell: f,
3297
3297
  rowDraggable: k,
3298
3298
  reorderable: y,
3299
- isDragOver: R,
3299
+ isDragOver: N,
3300
3300
  dndScopeId: b
3301
3301
  }) {
3302
3302
  var Z;
3303
- const N = X(!1), E = X(!1), w = X(!1), B = X(!1), { listeners: x, setNodeRef: U, transform: T, transition: Q, isDragging: D } = du({
3303
+ const R = X(!1), E = X(!1), w = X(!1), B = X(!1), { listeners: x, setNodeRef: U, transform: T, transition: Q, isDragging: D } = du({
3304
3304
  id: r,
3305
3305
  disabled: !Va({ row: t, rowDraggable: k, reorderable: y }),
3306
3306
  data: {
@@ -3322,14 +3322,14 @@ const YC = Te.memo(function({
3322
3322
  }, V = (F) => {
3323
3323
  F.pointerType === "touch" && (E.current = !0, F.shiftKey ? C == null || C(t, s) : h == null || h(t));
3324
3324
  }, $ = (F) => {
3325
- F.stopPropagation(), F.shiftKey && (F.preventDefault(), N.current = !0, C == null || C(t, s), setTimeout(() => {
3326
- N.current = !1;
3325
+ F.stopPropagation(), F.shiftKey && (F.preventDefault(), R.current = !0, C == null || C(t, s), setTimeout(() => {
3326
+ R.current = !1;
3327
3327
  }, 0));
3328
3328
  }, G = (F) => {
3329
3329
  if (F.key === "Enter") {
3330
3330
  if (F.preventDefault(), F.stopPropagation(), F.shiftKey) {
3331
- N.current = !0, C == null || C(t, s), setTimeout(() => {
3332
- N.current = !1;
3331
+ R.current = !0, C == null || C(t, s), setTimeout(() => {
3332
+ R.current = !1;
3333
3333
  }, 0);
3334
3334
  return;
3335
3335
  }
@@ -3344,8 +3344,8 @@ const YC = Te.memo(function({
3344
3344
  }, q = (F) => {
3345
3345
  F.pointerType === "touch" && (F.stopPropagation(), w.current = !0, F.shiftKey ? C == null || C(t, s) : r != null && (g == null || g(r, !i)));
3346
3346
  }, he = (F) => {
3347
- if (N.current) {
3348
- N.current = !1;
3347
+ if (R.current) {
3348
+ R.current = !1;
3349
3349
  return;
3350
3350
  }
3351
3351
  if (w.current) {
@@ -3367,7 +3367,7 @@ const YC = Te.memo(function({
3367
3367
  [ne.rowSelected]: i,
3368
3368
  [ne.showDropdownOnSelect]: de,
3369
3369
  [ne.rowDragging]: D,
3370
- [ne.rowDragOver]: K && R,
3370
+ [ne.rowDragOver]: K && N,
3371
3371
  [ne.rowReorderable]: K
3372
3372
  }),
3373
3373
  style: O,
@@ -3487,24 +3487,24 @@ const YC = Te.memo(function({
3487
3487
  overDragRowId: f,
3488
3488
  dndScopeId: k
3489
3489
  }) => {
3490
- const y = t.length + 1 + (d ? 1 : 0), R = J((N) => /* @__PURE__ */ v(S, { align: "center", gap: "3", children: [
3490
+ const y = t.length + 1 + (d ? 1 : 0), N = J((R) => /* @__PURE__ */ v(S, { align: "center", gap: "3", children: [
3491
3491
  /* @__PURE__ */ a(
3492
3492
  es,
3493
3493
  {
3494
- title: N.title,
3494
+ title: R.title,
3495
3495
  size: 48,
3496
3496
  className: ne.thumb,
3497
- type: N.type,
3498
- cover: N.thumb
3497
+ type: R.type,
3498
+ cover: R.thumb
3499
3499
  }
3500
3500
  ),
3501
3501
  /* @__PURE__ */ v(S, { direction: "column", style: { minWidth: 0, flex: 1 }, children: [
3502
- /* @__PURE__ */ a(Y, { size: "2", className: ne.titleText, children: N.title }),
3503
- /* @__PURE__ */ a(Y, { size: "1", className: ne.artistText, children: N.artist })
3502
+ /* @__PURE__ */ a(Y, { size: "2", className: ne.titleText, children: R.title }),
3503
+ /* @__PURE__ */ a(Y, { size: "1", className: ne.artistText, children: R.artist })
3504
3504
  ] })
3505
- ] }), []), b = J((N, E, w) => {
3505
+ ] }), []), b = J((R, E, w) => {
3506
3506
  var T;
3507
- const B = (N == null ? void 0 : N[E.id]) ?? (N == null ? void 0 : N[`${E.id}Formatted`]), x = ((T = E.render) == null ? void 0 : T.call(E, { row: N, value: B, column: E, index: w })) ?? B;
3507
+ const B = (R == null ? void 0 : R[E.id]) ?? (R == null ? void 0 : R[`${E.id}Formatted`]), x = ((T = E.render) == null ? void 0 : T.call(E, { row: R, value: B, column: E, index: w })) ?? B;
3508
3508
  return typeof x == "string" || typeof x == "number" || x == null ? /* @__PURE__ */ a(Y, { size: "2", className: ne.cellText, children: x }) : x;
3509
3509
  }, []);
3510
3510
  return /* @__PURE__ */ a(Ta, { children: /* @__PURE__ */ v(uu, { items: r, strategy: hu, children: [
@@ -3516,14 +3516,14 @@ const YC = Te.memo(function({
3516
3516
  colSpan: y
3517
3517
  }
3518
3518
  ),
3519
- n.map((N, E) => /* @__PURE__ */ a(
3519
+ n.map((R, E) => /* @__PURE__ */ a(
3520
3520
  YC,
3521
3521
  {
3522
- rowId: N.id,
3523
- row: N,
3522
+ rowId: R.id,
3523
+ row: R,
3524
3524
  rowIndex: E,
3525
3525
  columns: t,
3526
- isSelected: s(N, E),
3526
+ isSelected: s(R, E),
3527
3527
  anyRowSelected: o,
3528
3528
  selectedCount: i,
3529
3529
  sortedKey: l,
@@ -3532,14 +3532,14 @@ const YC = Te.memo(function({
3532
3532
  onRowClick: u,
3533
3533
  onSelectRow: p,
3534
3534
  onShiftClickRow: h,
3535
- renderProjectCell: R,
3535
+ renderProjectCell: N,
3536
3536
  renderDataCell: b,
3537
3537
  rowDraggable: g,
3538
3538
  reorderable: C,
3539
- isDragOver: C && f === N.id && m !== N.id,
3539
+ isDragOver: C && f === R.id && m !== R.id,
3540
3540
  dndScopeId: k
3541
3541
  },
3542
- N.id
3542
+ R.id
3543
3543
  )),
3544
3544
  C && /* @__PURE__ */ a(
3545
3545
  ja,
@@ -3569,9 +3569,9 @@ const YC = Te.memo(function({
3569
3569
  rowDraggable: f,
3570
3570
  onRowDragStart: k,
3571
3571
  onRowDragMove: y,
3572
- onRowDragEnd: R,
3572
+ onRowDragEnd: N,
3573
3573
  getDragPreviewLabel: b,
3574
- getDragPreviewCountLabel: N,
3574
+ getDragPreviewCountLabel: R,
3575
3575
  renderDragPreview: E,
3576
3576
  renderDndContext: w = !0,
3577
3577
  dndScopeId: B,
@@ -3638,7 +3638,7 @@ const YC = Te.memo(function({
3638
3638
  reorderable: C,
3639
3639
  onReorder: m,
3640
3640
  onRowDragStart: k,
3641
- onRowDragEnd: R,
3641
+ onRowDragEnd: N,
3642
3642
  dndScopeId: B
3643
3643
  }), ee = X(ae);
3644
3644
  ee.current = ae;
@@ -3702,7 +3702,7 @@ const YC = Te.memo(function({
3702
3702
  model: le,
3703
3703
  renderDragPreview: E,
3704
3704
  getDragPreviewLabel: b,
3705
- getDragPreviewCountLabel: N
3705
+ getDragPreviewCountLabel: R
3706
3706
  }
3707
3707
  ) }) : null });
3708
3708
  return w ? /* @__PURE__ */ v(iu, { ...F, children: [
@@ -3749,11 +3749,11 @@ const _C = "_hasTriggerWithoutClick_19qua_1", $C = "_hasLeftColor_19qua_10", ev
3749
3749
  i && (w.preventDefault(), w.stopPropagation(), i(w));
3750
3750
  }, y = () => {
3751
3751
  C(!0);
3752
- }, R = () => {
3752
+ }, N = () => {
3753
3753
  C(!1);
3754
3754
  }, b = () => {
3755
3755
  f(!0);
3756
- }, N = () => {
3756
+ }, R = () => {
3757
3757
  f(!1);
3758
3758
  }, E = i ? "button" : "div";
3759
3759
  return /* @__PURE__ */ a(S, { className: I(We.container, s), ...u, children: /* @__PURE__ */ v(Rr, { open: l, onOpenChange: c, modal: !0, children: [
@@ -3771,7 +3771,7 @@ const _C = "_hasTriggerWithoutClick_19qua_1", $C = "_hasLeftColor_19qua_10", ev
3771
3771
  onMouseLeave: () => h(!1),
3772
3772
  onClick: k,
3773
3773
  onFocus: y,
3774
- onBlur: R,
3774
+ onBlur: N,
3775
3775
  children: /* @__PURE__ */ a(
3776
3776
  Oe,
3777
3777
  {
@@ -3807,7 +3807,7 @@ const _C = "_hasTriggerWithoutClick_19qua_1", $C = "_hasLeftColor_19qua_10", ev
3807
3807
  h(!1);
3808
3808
  },
3809
3809
  onFocus: b,
3810
- onBlur: N,
3810
+ onBlur: R,
3811
3811
  children: [
3812
3812
  !i && /* @__PURE__ */ a(
3813
3813
  Oe,
@@ -3873,10 +3873,10 @@ const Ga = Da(ld), mn = Ge(
3873
3873
  wrapCloseMenu: g,
3874
3874
  ...C
3875
3875
  }) => {
3876
- const m = C.open !== void 0, [f, k] = j(!1), y = m ? C.open : f, R = J((w) => {
3876
+ const m = C.open !== void 0, [f, k] = j(!1), y = m ? C.open : f, N = J((w) => {
3877
3877
  var B;
3878
3878
  m || k(w), (B = C == null ? void 0 : C.onOpenChange) == null || B.call(C, w);
3879
- }, [m, C == null ? void 0 : C.onOpenChange]), b = J(() => R(!1), [R]), N = g ? g(b) : b, E = {
3879
+ }, [m, C == null ? void 0 : C.onOpenChange]), b = J(() => N(!1), [N]), R = g ? g(b) : b, E = {
3880
3880
  ...p && {
3881
3881
  width: "var(--radix-dropdown-menu-trigger-width)",
3882
3882
  boxSizing: "border-box"
@@ -3888,7 +3888,7 @@ const Ga = Da(ld), mn = Ge(
3888
3888
  {
3889
3889
  ...C,
3890
3890
  open: l ? !1 : y,
3891
- onOpenChange: l ? void 0 : R,
3891
+ onOpenChange: l ? void 0 : N,
3892
3892
  children: [
3893
3893
  /* @__PURE__ */ a(
3894
3894
  Jo,
@@ -3926,7 +3926,7 @@ const Ga = Da(ld), mn = Ge(
3926
3926
  o,
3927
3927
  i,
3928
3928
  d,
3929
- N,
3929
+ R,
3930
3930
  h
3931
3931
  )
3932
3932
  )
@@ -3953,7 +3953,7 @@ const Ga = Da(ld), mn = Ge(
3953
3953
  o,
3954
3954
  i,
3955
3955
  d,
3956
- N,
3956
+ R,
3957
3957
  h
3958
3958
  )
3959
3959
  )
@@ -3992,13 +3992,13 @@ const dv = "_container_5ow1v_1", uv = "_triggerWithClick_5ow1v_12", hv = "_chevr
3992
3992
  wrapCloseMenu: C,
3993
3993
  ...m
3994
3994
  }) => {
3995
- const f = m.open !== void 0, [k, y] = j(!1), R = f ? m.open : k, b = J(
3995
+ const f = m.open !== void 0, [k, y] = j(!1), N = f ? m.open : k, b = J(
3996
3996
  (D) => {
3997
3997
  var z;
3998
3998
  f || y(D), (z = m == null ? void 0 : m.onOpenChange) == null || z.call(m, D);
3999
3999
  },
4000
4000
  [f, m == null ? void 0 : m.onOpenChange]
4001
- ), N = J(() => b(!1), [b]), E = C ? C(N) : N, w = {
4001
+ ), R = J(() => b(!1), [b]), E = C ? C(R) : R, w = {
4002
4002
  ...u && {
4003
4003
  width: "var(--radix-dropdown-menu-trigger-width)",
4004
4004
  boxSizing: "border-box"
@@ -4043,7 +4043,7 @@ const dv = "_container_5ow1v_1", uv = "_triggerWithClick_5ow1v_12", hv = "_chevr
4043
4043
  Do,
4044
4044
  {
4045
4045
  ...m,
4046
- open: l ? !1 : R,
4046
+ open: l ? !1 : N,
4047
4047
  onOpenChange: l ? void 0 : b,
4048
4048
  children: [
4049
4049
  p && /* @__PURE__ */ a(
@@ -4108,13 +4108,13 @@ const vv = "_popoverPortal_j8b3y_1", yv = "_popoverContent_j8b3y_9", kv = "_cont
4108
4108
  g || m(x), (U = h == null ? void 0 : h.onOpenChange) == null || U.call(h, x);
4109
4109
  },
4110
4110
  [g, h == null ? void 0 : h.onOpenChange]
4111
- ), y = J(() => k(!1), [k]), R = u ? u(y) : y, b = {
4111
+ ), y = J(() => k(!1), [k]), N = u ? u(y) : y, b = {
4112
4112
  ...d && {
4113
4113
  width: "var(--radix-popover-trigger-width)",
4114
4114
  boxSizing: "border-box"
4115
4115
  },
4116
4116
  ...l && { height: l }
4117
- }, N = J((x) => {
4117
+ }, R = J((x) => {
4118
4118
  x.key === "Tab" && x.stopPropagation();
4119
4119
  }, []), E = J((x) => {
4120
4120
  x.preventDefault();
@@ -4126,8 +4126,8 @@ const vv = "_popoverPortal_j8b3y_1", yv = "_popoverContent_j8b3y_9", kv = "_cont
4126
4126
  className: is.contentPanel,
4127
4127
  "data-tools-popover-panel": !0,
4128
4128
  tabIndex: -1,
4129
- onKeyDown: N,
4130
- children: typeof t == "function" ? t(R) : t
4129
+ onKeyDown: R,
4130
+ children: typeof t == "function" ? t(N) : t
4131
4131
  }
4132
4132
  ), B = /* @__PURE__ */ a(en, { asChild: !0, children: /* @__PURE__ */ a(
4133
4133
  Nr,
@@ -4378,18 +4378,18 @@ function Wv({ initialScreen: n, animated: t, children: r }) {
4378
4378
  ), k = J(
4379
4379
  (Q) => g(() => [{ name: Q || n, params: {} }]),
4380
4380
  [g, n]
4381
- ), y = s.length > 1, R = oe(
4381
+ ), y = s.length > 1, N = oe(
4382
4382
  () => ({ push: C, pop: m, popTo: f, reset: k, canGoBack: y, stack: s }),
4383
4383
  [C, m, f, k, y, s]
4384
- ), b = s[s.length - 1], N = h[b.name];
4385
- if (!N) return null;
4384
+ ), b = s[s.length - 1], R = h[b.name];
4385
+ if (!R) return null;
4386
4386
  const E = oe(
4387
4387
  () => s.map((Q, D) => {
4388
4388
  var z;
4389
4389
  return (z = h[Q.name]) != null && z.keepMounted ? { entry: Q, stackIndex: D } : null;
4390
4390
  }).filter(Boolean),
4391
4391
  [s, h]
4392
- ), w = (Q, D) => Q in i ? i[Q] : N[Q] ?? D, B = N.component, x = N.keepMounted === !0, U = J(
4392
+ ), w = (Q, D) => Q in i ? i[Q] : R[Q] ?? D, B = R.component, x = R.keepMounted === !0, U = J(
4393
4393
  (Q) => {
4394
4394
  u.current[u.current.length - 1].name === b.name && l((z) => ({ ...z, ...Q }));
4395
4395
  },
@@ -4398,7 +4398,7 @@ function Wv({ initialScreen: n, animated: t, children: r }) {
4398
4398
  () => ({ name: b.name, params: b.params || {}, setOptions: U }),
4399
4399
  [b.name, b.params, U]
4400
4400
  );
4401
- return /* @__PURE__ */ a(Tl.Provider, { value: R, children: /* @__PURE__ */ v("div", { style: { display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
4401
+ return /* @__PURE__ */ a(Tl.Provider, { value: N, children: /* @__PURE__ */ v("div", { style: { display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
4402
4402
  /* @__PURE__ */ a(
4403
4403
  Dl,
4404
4404
  {
@@ -4873,13 +4873,13 @@ const oR = $r, g1 = "_sliderRoot_19e7a_23", m1 = "_sliderTrack_19e7a_31", f1 = "
4873
4873
  tooltipArrow: y1,
4874
4874
  sliderContainer: k1
4875
4875
  }, b1 = ({ onChangeValue: n, volume: t, disabled: r }) => {
4876
- const [s, o] = j(!1), i = X(), l = X(0), c = J((N) => {
4877
- if (N < 1e-3) return -1 / 0;
4878
- const E = 20 * Math.log10(N);
4876
+ const [s, o] = j(!1), i = X(), l = X(0), c = J((R) => {
4877
+ if (R < 1e-3) return -1 / 0;
4878
+ const E = 20 * Math.log10(R);
4879
4879
  return E < -60 ? -60 : E;
4880
- }, []), d = J((N) => N === -1 / 0 || N <= -60 ? 0 : Math.pow(10, N / 20), []), u = oe(() => {
4881
- const N = c(t);
4882
- return N === -1 / 0 ? -60 : Math.max(-60, Math.min(6, N));
4880
+ }, []), d = J((R) => R === -1 / 0 || R <= -60 ? 0 : Math.pow(10, R / 20), []), u = oe(() => {
4881
+ const R = c(t);
4882
+ return R === -1 / 0 ? -60 : Math.max(-60, Math.min(6, R));
4883
4883
  }, [t, c]), p = oe(() => t < 1e-3, [t]), h = J(() => {
4884
4884
  clearTimeout(i.current), o(!0);
4885
4885
  }, []), g = J(() => {
@@ -4887,13 +4887,13 @@ const oR = $r, g1 = "_sliderRoot_19e7a_23", m1 = "_sliderTrack_19e7a_31", f1 = "
4887
4887
  o(!1);
4888
4888
  }, 300);
4889
4889
  }, []), C = J(
4890
- (N) => {
4891
- (N.key === "ArrowUp" || N.key === "ArrowDown") && h(), (N.key === "ArrowLeft" || N.key === "ArrowRight") && (N.preventDefault(), N.stopPropagation(), h());
4890
+ (R) => {
4891
+ (R.key === "ArrowUp" || R.key === "ArrowDown") && h(), (R.key === "ArrowLeft" || R.key === "ArrowRight") && (R.preventDefault(), R.stopPropagation(), h());
4892
4892
  },
4893
4893
  [h]
4894
4894
  ), m = J(
4895
- (N) => {
4896
- n(N.map(d));
4895
+ (R) => {
4896
+ n(R.map(d));
4897
4897
  },
4898
4898
  [n, d]
4899
4899
  ), f = J(() => {
@@ -4902,9 +4902,9 @@ const oR = $r, g1 = "_sliderRoot_19e7a_23", m1 = "_sliderTrack_19e7a_31", f1 = "
4902
4902
  g();
4903
4903
  }, [g]), y = J(() => {
4904
4904
  n([1]), h();
4905
- }, [n, h]), R = J(() => {
4906
- const N = Date.now();
4907
- N - l.current < 300 && y(), l.current = N;
4905
+ }, [n, h]), N = J(() => {
4906
+ const R = Date.now();
4907
+ R - l.current < 300 && y(), l.current = R;
4908
4908
  }, [y]), b = oe(
4909
4909
  () => /* @__PURE__ */ v(we, { children: [
4910
4910
  p ? "-∞ dB" : `${u.toFixed(1)} dB`,
@@ -4934,7 +4934,7 @@ const oR = $r, g1 = "_sliderRoot_19e7a_23", m1 = "_sliderTrack_19e7a_31", f1 = "
4934
4934
  onPointerDown: f,
4935
4935
  onKeyDown: C,
4936
4936
  onBlur: k,
4937
- onClick: R
4937
+ onClick: N
4938
4938
  }
4939
4939
  ) }),
4940
4940
  /* @__PURE__ */ a(
@@ -5026,13 +5026,13 @@ const Ol = Ge(
5026
5026
  const [u, p] = j(!1), [h, g] = j(!1), C = r || u || h, m = J(
5027
5027
  (y) => {
5028
5028
  if (!c || y.button !== 0) return;
5029
- const R = performance.now(), b = i.current;
5030
- if (b && R - b.t < P1 && Math.hypot(y.clientX - b.x, y.clientY - b.y) < F1) {
5029
+ const N = performance.now(), b = i.current;
5030
+ if (b && N - b.t < P1 && Math.hypot(y.clientX - b.x, y.clientY - b.y) < F1) {
5031
5031
  y.preventDefault(), y.stopPropagation(), i.current = null, c();
5032
5032
  return;
5033
5033
  }
5034
5034
  i.current = {
5035
- t: R,
5035
+ t: N,
5036
5036
  x: y.clientX,
5037
5037
  y: y.clientY
5038
5038
  };
@@ -5041,16 +5041,16 @@ const Ol = Ge(
5041
5041
  ), f = J(
5042
5042
  (y) => {
5043
5043
  if (!l) return;
5044
- const R = Ul(o);
5045
- let b = R;
5044
+ const N = Ul(o);
5045
+ let b = N;
5046
5046
  switch (y.key) {
5047
5047
  case "ArrowRight":
5048
5048
  case "ArrowUp":
5049
- y.preventDefault(), b = Math.min(1, R + sr), l([Nt(b)]);
5049
+ y.preventDefault(), b = Math.min(1, N + sr), l([Nt(b)]);
5050
5050
  break;
5051
5051
  case "ArrowLeft":
5052
5052
  case "ArrowDown":
5053
- y.preventDefault(), b = Math.max(0, R - sr), l([Nt(b)]);
5053
+ y.preventDefault(), b = Math.max(0, N - sr), l([Nt(b)]);
5054
5054
  break;
5055
5055
  case "Home":
5056
5056
  y.preventDefault(), l([Nt(0)]);
@@ -5059,10 +5059,10 @@ const Ol = Ge(
5059
5059
  y.preventDefault(), l([Nt(1)]);
5060
5060
  break;
5061
5061
  case "PageUp":
5062
- y.preventDefault(), b = Math.min(1, R + sr * 4), l([Nt(b)]);
5062
+ y.preventDefault(), b = Math.min(1, N + sr * 4), l([Nt(b)]);
5063
5063
  break;
5064
5064
  case "PageDown":
5065
- y.preventDefault(), b = Math.max(0, R - sr * 4), l([Nt(b)]);
5065
+ y.preventDefault(), b = Math.max(0, N - sr * 4), l([Nt(b)]);
5066
5066
  break;
5067
5067
  }
5068
5068
  },
@@ -5112,16 +5112,16 @@ const Qa = Ge(function({
5112
5112
  hover: c = !1,
5113
5113
  resetPeakHold: d
5114
5114
  }) {
5115
- const [u, p] = t, h = Ps(Xa(u ?? 0)), g = Ps(Xa(p ?? 0)), [C, m] = j(!1), f = X(!1), k = X(null), y = X(null), R = X(null), b = X(0), N = X(null), [E, w] = j(0), [B, x] = j(!1);
5115
+ const [u, p] = t, h = Ps(Xa(u ?? 0)), g = Ps(Xa(p ?? 0)), [C, m] = j(!1), f = X(!1), k = X(null), y = X(null), N = X(null), b = X(0), R = X(null), [E, w] = j(0), [B, x] = j(!1);
5116
5116
  ie(() => {
5117
5117
  b.current = 0, w(0);
5118
- }, [d]), ie(() => () => clearTimeout(N.current), []);
5118
+ }, [d]), ie(() => () => clearTimeout(R.current), []);
5119
5119
  const U = Math.max(
5120
5120
  0,
5121
5121
  Math.min(100, Ul(r) * 100)
5122
5122
  ), T = Fs(h), Q = Fs(g), D = Math.max(T, Q);
5123
5123
  ie(() => {
5124
- D > b.current && (b.current = D, w(D), x(!0), clearTimeout(N.current), N.current = setTimeout(() => {
5124
+ D > b.current && (b.current = D, w(D), x(!0), clearTimeout(R.current), R.current = setTimeout(() => {
5125
5125
  x(!1), requestAnimationFrame(() => {
5126
5126
  requestAnimationFrame(() => {
5127
5127
  b.current = 0, w(0);
@@ -5133,7 +5133,7 @@ const Qa = Ge(function({
5133
5133
  (q) => {
5134
5134
  var de;
5135
5135
  if (!s) return;
5136
- y.current && q.target instanceof Element && !y.current.contains(q.target) && (R.current = null), q.currentTarget.setPointerCapture(q.pointerId), f.current = !0, m(!0), document.body.style.cursor = "ew-resize";
5136
+ y.current && q.target instanceof Element && !y.current.contains(q.target) && (N.current = null), q.currentTarget.setPointerCapture(q.pointerId), f.current = !0, m(!0), document.body.style.cursor = "ew-resize";
5137
5137
  const he = (de = k.current) == null ? void 0 : de.getBoundingClientRect();
5138
5138
  if (he) {
5139
5139
  const ge = Math.max(
@@ -5186,7 +5186,7 @@ const Qa = Ge(function({
5186
5186
  isPressed: C,
5187
5187
  hover: c,
5188
5188
  volume: r,
5189
- doubleTapStateRef: R,
5189
+ doubleTapStateRef: N,
5190
5190
  onVolumeChange: s,
5191
5191
  onVolumeReset: o
5192
5192
  }
@@ -5305,7 +5305,7 @@ const Z1 = Cn(function({
5305
5305
  r && /* @__PURE__ */ a(Ke, { content: r, children: /* @__PURE__ */ a(vn, { width: 16, height: 16, className: pt.infoIcon }) })
5306
5306
  ] }),
5307
5307
  /* @__PURE__ */ a("div", { className: pt.grid, style: C, role: "group", "aria-label": t, children: s.map((m) => {
5308
- const f = m.text ?? m.label ?? m.name, k = m.Icon ?? m.icon, y = m.locked ?? m.isLocked ?? !1, R = m.disabled ?? !1;
5308
+ const f = m.text ?? m.label ?? m.name, k = m.Icon ?? m.icon, y = m.locked ?? m.isLocked ?? !1, N = m.disabled ?? !1;
5309
5309
  return /* @__PURE__ */ a(
5310
5310
  Pl,
5311
5311
  {
@@ -5314,7 +5314,7 @@ const Z1 = Cn(function({
5314
5314
  Icon: k,
5315
5315
  selected: X1(h, m.value),
5316
5316
  locked: y,
5317
- disabled: R,
5317
+ disabled: N,
5318
5318
  onClick: () => l == null ? void 0 : l(m)
5319
5319
  },
5320
5320
  m.value
@@ -5492,11 +5492,11 @@ const Ar = 19.5, pr = 19.5, $a = 14, eo = 18, ly = [
5492
5492
  const g = J(
5493
5493
  (b) => {
5494
5494
  if (b.preventDefault(), b.stopPropagation(), r) return;
5495
- const N = b.wheelDelta ?? -b.deltaY * 25;
5496
- if (!N || Math.abs(N) <= 50) return;
5495
+ const R = b.wheelDelta ?? -b.deltaY * 25;
5496
+ if (!R || Math.abs(R) <= 50) return;
5497
5497
  const E = Date.now();
5498
5498
  if (E - h.current < 100) return;
5499
- const w = N > 0 ? 1 : -1, B = no(n, s, w);
5499
+ const w = R > 0 ? 1 : -1, B = no(n, s, w);
5500
5500
  t(B), h.current = E;
5501
5501
  },
5502
5502
  [t, n, s, r]
@@ -5512,9 +5512,9 @@ const Ar = 19.5, pr = 19.5, $a = 14, eo = 18, ly = [
5512
5512
  ), m = J(
5513
5513
  (b) => {
5514
5514
  if (!c || r) return;
5515
- const N = u - b.clientY;
5516
- if (Math.abs(N) <= 20) return;
5517
- const E = N > 0 ? 1 : -1, w = no(n, s, E);
5515
+ const R = u - b.clientY;
5516
+ if (Math.abs(R) <= 20) return;
5517
+ const E = R > 0 ? 1 : -1, w = no(n, s, E);
5518
5518
  t(w), p(b.clientY), h.current = Date.now();
5519
5519
  },
5520
5520
  [c, u, n, t, s, r]
@@ -5527,11 +5527,11 @@ const Ar = 19.5, pr = 19.5, $a = 14, eo = 18, ly = [
5527
5527
  b.detail === 2 && !r && t(o);
5528
5528
  },
5529
5529
  [t, o, r]
5530
- ), R = J(
5530
+ ), N = J(
5531
5531
  (b) => {
5532
5532
  if (!i || r) return;
5533
- const N = cy(s, b);
5534
- N && t(N);
5533
+ const R = cy(s, b);
5534
+ R && t(R);
5535
5535
  },
5536
5536
  [i, r, t, s]
5537
5537
  );
@@ -5539,7 +5539,7 @@ const Ar = 19.5, pr = 19.5, $a = 14, eo = 18, ly = [
5539
5539
  containerRef: l,
5540
5540
  isDragging: c,
5541
5541
  handleClick: y,
5542
- handleDotClick: R
5542
+ handleDotClick: N
5543
5543
  };
5544
5544
  }, Ay = ({
5545
5545
  className: n,
@@ -5558,12 +5558,12 @@ const Ar = 19.5, pr = 19.5, $a = 14, eo = 18, ly = [
5558
5558
  tooltipCloseDelay: d
5559
5559
  });
5560
5560
  k.current = { tooltipDelayDuration: c, tooltipCloseDelay: d };
5561
- const y = Array.isArray(i) && i.length > 0, R = oe(() => (i == null ? void 0 : i.find((W) => W.default)) || (i == null ? void 0 : i[0]) || { position: 0, color: "neutral", default: !0 }, [i]), { containerRef: b, isDragging: N, handleClick: E, handleDotClick: w } = hy({
5561
+ const y = Array.isArray(i) && i.length > 0, N = oe(() => (i == null ? void 0 : i.find((W) => W.default)) || (i == null ? void 0 : i[0]) || { position: 0, color: "neutral", default: !0 }, [i]), { containerRef: b, isDragging: R, handleClick: E, handleDotClick: w } = hy({
5562
5562
  value: t,
5563
5563
  onChange: r,
5564
5564
  disabled: s,
5565
5565
  dots: i || [],
5566
- defaultDot: R,
5566
+ defaultDot: N,
5567
5567
  clickableDots: o
5568
5568
  }), B = oe(() => typeof t == "object" && t !== null ? t.position : dy(t, i), [t, i]), x = oe(() => typeof t == "object" && t !== null ? t : (i == null ? void 0 : i.find((W) => W.position === B)) ?? null, [t, i, B]), { pointerRotation: U, pointerColor: T } = oe(() => uy(B, s), [B, s]);
5569
5569
  if (ie(() => () => {
@@ -5598,12 +5598,12 @@ const Ar = 19.5, pr = 19.5, $a = 14, eo = 18, ly = [
5598
5598
  }, P = (W) => {
5599
5599
  const q = to[W.color] || to.neutral, he = W.position === B, de = p === W.position && o;
5600
5600
  return s ? q.default : he ? q.active : de ? q.hover : q.default;
5601
- }, V = u ? u(x ?? t) : (x == null ? void 0 : x.label) ?? (x == null ? void 0 : x.value) ?? B, $ = !s && (g || N), G = /* @__PURE__ */ a(
5601
+ }, V = u ? u(x ?? t) : (x == null ? void 0 : x.label) ?? (x == null ? void 0 : x.value) ?? B, $ = !s && (g || R), G = /* @__PURE__ */ a(
5602
5602
  "div",
5603
5603
  {
5604
5604
  className: I(
5605
5605
  ar.pan,
5606
- N && ar.active,
5606
+ R && ar.active,
5607
5607
  s && ar.disabled
5608
5608
  ),
5609
5609
  onPointerEnter: z,
@@ -5951,7 +5951,7 @@ const Yy = "_listCardsItem_1exuc_1", Xy = "_listCardsItemDescriptionWrappable_1e
5951
5951
  style: g,
5952
5952
  ...C
5953
5953
  }) => {
5954
- const m = (i == null ? void 0 : i.id) || o, f = (i == null ? void 0 : i.name) || r, k = (i == null ? void 0 : i.description) || s, y = (i == null ? void 0 : i.image) || t, R = (i == null ? void 0 : i.icon) || c, b = y && (y != null && y.startsWith("url(")) ? y == null ? void 0 : y.substring(4, (y == null ? void 0 : y.length) - 1).replace(/"/g, "") : y, N = (x) => {
5954
+ const m = (i == null ? void 0 : i.id) || o, f = (i == null ? void 0 : i.name) || r, k = (i == null ? void 0 : i.description) || s, y = (i == null ? void 0 : i.image) || t, N = (i == null ? void 0 : i.icon) || c, b = y && (y != null && y.startsWith("url(")) ? y == null ? void 0 : y.substring(4, (y == null ? void 0 : y.length) - 1).replace(/"/g, "") : y, R = (x) => {
5955
5955
  x.stopPropagation(), x.preventDefault(), p == null || p();
5956
5956
  }, E = {
5957
5957
  1: { avatar: 60, icon: 15 },
@@ -5969,7 +5969,7 @@ const Yy = "_listCardsItem_1exuc_1", Xy = "_listCardsItemDescriptionWrappable_1e
5969
5969
  ),
5970
5970
  style: { "--color-surface": "transparent", ...g },
5971
5971
  "data-state": u ? "checked" : "unchecked",
5972
- onClick: N,
5972
+ onClick: R,
5973
5973
  ...C,
5974
5974
  children: /* @__PURE__ */ v(S, { gap: "2", children: [
5975
5975
  /* @__PURE__ */ a(S, { width: `${B.avatar}px`, height: `${B.avatar}px`, children: l ? /* @__PURE__ */ a(
@@ -5992,14 +5992,14 @@ const Yy = "_listCardsItem_1exuc_1", Xy = "_listCardsItemDescriptionWrappable_1e
5992
5992
  ),
5993
5993
  children: /* @__PURE__ */ a(d, { width: B.icon, height: B.icon })
5994
5994
  }
5995
- ) : R ? /* @__PURE__ */ a(
5995
+ ) : N ? /* @__PURE__ */ a(
5996
5996
  "div",
5997
5997
  {
5998
5998
  className: I(
5999
5999
  ue.listCardsAvatarIcon,
6000
6000
  ue[`listCardsAvatarIconSize${h}`]
6001
6001
  ),
6002
- children: R
6002
+ children: N
6003
6003
  }
6004
6004
  ) : /* @__PURE__ */ a(
6005
6005
  ot,
@@ -6045,9 +6045,9 @@ const Yy = "_listCardsItem_1exuc_1", Xy = "_listCardsItemDescriptionWrappable_1e
6045
6045
  disabled: f,
6046
6046
  children: k,
6047
6047
  style: y,
6048
- ...R
6048
+ ...N
6049
6049
  }) => {
6050
- const b = (i == null ? void 0 : i.id) || o, N = (i == null ? void 0 : i.name) || r, E = (i == null ? void 0 : i.avatar) || t, w = (i == null ? void 0 : i.description) || s, B = E && (E != null && E.startsWith("url(")) ? E == null ? void 0 : E.substring(4, (E == null ? void 0 : E.length) - 1).replace(/"/g, "") : E;
6050
+ const b = (i == null ? void 0 : i.id) || o, R = (i == null ? void 0 : i.name) || r, E = (i == null ? void 0 : i.avatar) || t, w = (i == null ? void 0 : i.description) || s, B = E && (E != null && E.startsWith("url(")) ? E == null ? void 0 : E.substring(4, (E == null ? void 0 : E.length) - 1).replace(/"/g, "") : E;
6051
6051
  return /* @__PURE__ */ v(
6052
6052
  "div",
6053
6053
  {
@@ -6073,7 +6073,7 @@ const Yy = "_listCardsItem_1exuc_1", Xy = "_listCardsItemDescriptionWrappable_1e
6073
6073
  minHeight: "68px",
6074
6074
  ...y
6075
6075
  },
6076
- ...R,
6076
+ ...N,
6077
6077
  children: /* @__PURE__ */ v(
6078
6078
  S,
6079
6079
  {
@@ -6096,7 +6096,7 @@ const Yy = "_listCardsItem_1exuc_1", Xy = "_listCardsItemDescriptionWrappable_1e
6096
6096
  justify: "center",
6097
6097
  style: { flex: 1, minWidth: 0 },
6098
6098
  children: [
6099
- /* @__PURE__ */ a(H, { as: "div", size: "2", className: ue.listCardsItemText, children: N }),
6099
+ /* @__PURE__ */ a(H, { as: "div", size: "2", className: ue.listCardsItemText, children: R }),
6100
6100
  k ? /* @__PURE__ */ a(
6101
6101
  S,
6102
6102
  {
@@ -6490,14 +6490,14 @@ const Vk = "_content_15iux_1", jk = "_pan_15iux_13", Gk = "_disabled_15iux_26",
6490
6490
  tooltipDelayDuration: c = 0,
6491
6491
  tooltipCloseDelay: d = 500
6492
6492
  }) => {
6493
- const u = X(null), [p, h] = j(!1), g = X(null), C = X(0), m = X(t), f = X(0), k = X(null), y = X(null), R = X({
6493
+ const u = X(null), [p, h] = j(!1), g = X(null), C = X(0), m = X(t), f = X(0), k = X(null), y = X(null), N = X({
6494
6494
  tooltipDelayDuration: c,
6495
6495
  tooltipCloseDelay: d
6496
6496
  });
6497
- R.current = { tooltipDelayDuration: c, tooltipCloseDelay: d };
6498
- const [b, N] = j(!1), [E, w] = j(!1);
6497
+ N.current = { tooltipDelayDuration: c, tooltipCloseDelay: d };
6498
+ const [b, R] = j(!1), [E, w] = j(!1);
6499
6499
  ie(() => {
6500
- s && (w(!1), N(!1));
6500
+ s && (w(!1), R(!1));
6501
6501
  }, [s]), ie(() => () => {
6502
6502
  k.current != null && clearTimeout(k.current), y.current != null && clearTimeout(y.current);
6503
6503
  }, []), ie(() => {
@@ -6594,7 +6594,7 @@ const Vk = "_content_15iux_1", jk = "_pan_15iux_13", Gk = "_disabled_15iux_26",
6594
6594
  }, ge = () => {
6595
6595
  if (s) return;
6596
6596
  de(), he();
6597
- const { tooltipDelayDuration: M } = R.current;
6597
+ const { tooltipDelayDuration: M } = N.current;
6598
6598
  if (M <= 0) {
6599
6599
  w(!0);
6600
6600
  return;
@@ -6604,7 +6604,7 @@ const Vk = "_content_15iux_1", jk = "_pan_15iux_13", Gk = "_disabled_15iux_26",
6604
6604
  }, M);
6605
6605
  }, K = () => {
6606
6606
  he();
6607
- const { tooltipCloseDelay: M } = R.current;
6607
+ const { tooltipCloseDelay: M } = N.current;
6608
6608
  if (M <= 0) {
6609
6609
  w(!1);
6610
6610
  return;
@@ -6634,8 +6634,8 @@ const Vk = "_content_15iux_1", jk = "_pan_15iux_13", Gk = "_disabled_15iux_26",
6634
6634
  onPointerCancel: Q,
6635
6635
  onPointerEnter: ge,
6636
6636
  onPointerLeave: K,
6637
- onFocus: () => N(!0),
6638
- onBlur: () => N(!1),
6637
+ onFocus: () => R(!0),
6638
+ onBlur: () => R(!1),
6639
6639
  onKeyDown: z,
6640
6640
  children: /* @__PURE__ */ v("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", children: [
6641
6641
  /* @__PURE__ */ a("circle", { cx: xn, cy: Tn, r: 10 }),
@@ -7136,15 +7136,15 @@ class m0 extends Xn {
7136
7136
  if (g.button !== i || d.has(g.pointerId) || (d.set(g.pointerId, g), d.size > 1)) return;
7137
7137
  const C = g.pointerId;
7138
7138
  let m = g.clientX, f = g.clientY, k = !1;
7139
- const y = Date.now(), R = r.getBoundingClientRect(), { left: b, top: N } = R, E = (T) => {
7139
+ const y = Date.now(), N = r.getBoundingClientRect(), { left: b, top: R } = N, E = (T) => {
7140
7140
  if (T.pointerId !== C || T.defaultPrevented || d.size > 1 || u && Date.now() - y < l) return;
7141
7141
  const Q = T.clientX, D = T.clientY, z = Q - m, O = D - f;
7142
- (k || Math.abs(z) > o || Math.abs(O) > o) && (T.preventDefault(), T.stopPropagation(), k || (c.set({ type: "start", x: m - b, y: f - N }), k = !0), c.set({ type: "move", x: Q - b, y: D - N, deltaX: z, deltaY: O }), m = Q, f = D);
7142
+ (k || Math.abs(z) > o || Math.abs(O) > o) && (T.preventDefault(), T.stopPropagation(), k || (c.set({ type: "start", x: m - b, y: f - R }), k = !0), c.set({ type: "move", x: Q - b, y: D - R, deltaX: z, deltaY: O }), m = Q, f = D);
7143
7143
  }, w = (T) => {
7144
7144
  if (d.delete(T.pointerId)) {
7145
7145
  if (T.pointerId === C && k) {
7146
7146
  const Q = T.clientX, D = T.clientY;
7147
- c.set({ type: "end", x: Q - b, y: D - N });
7147
+ c.set({ type: "end", x: Q - b, y: D - R });
7148
7148
  }
7149
7149
  d.size === 0 && p();
7150
7150
  }
@@ -7326,16 +7326,16 @@ class m0 extends Xn {
7326
7326
  var t;
7327
7327
  }
7328
7328
  renderBarWaveform(t, r, s, o) {
7329
- const { width: i, height: l } = s.canvas, { halfHeight: c, barWidth: d, barRadius: u, barIndexScale: p, barSpacing: h, barMinHeight: g } = function({ width: m, height: f, length: k, options: y, pixelRatio: R }) {
7330
- const b = f / 2, N = y.barWidth ? y.barWidth * R : 1, E = y.barGap ? y.barGap * R : y.barWidth ? N / 2 : 0, w = N + E || 1;
7331
- return { halfHeight: b, barWidth: N, barGap: E, barRadius: y.barRadius || 0, barMinHeight: y.barMinHeight ? y.barMinHeight * R : 0, barIndexScale: k > 0 ? m / w / k : 0, barSpacing: w };
7332
- }({ width: i, height: l, length: (t[0] || []).length, options: r, pixelRatio: this.getPixelRatio() }), C = function({ channelData: m, barIndexScale: f, barSpacing: k, barWidth: y, halfHeight: R, vScale: b, canvasHeight: N, barAlign: E, barMinHeight: w }) {
7329
+ const { width: i, height: l } = s.canvas, { halfHeight: c, barWidth: d, barRadius: u, barIndexScale: p, barSpacing: h, barMinHeight: g } = function({ width: m, height: f, length: k, options: y, pixelRatio: N }) {
7330
+ const b = f / 2, R = y.barWidth ? y.barWidth * N : 1, E = y.barGap ? y.barGap * N : y.barWidth ? R / 2 : 0, w = R + E || 1;
7331
+ return { halfHeight: b, barWidth: R, barGap: E, barRadius: y.barRadius || 0, barMinHeight: y.barMinHeight ? y.barMinHeight * N : 0, barIndexScale: k > 0 ? m / w / k : 0, barSpacing: w };
7332
+ }({ width: i, height: l, length: (t[0] || []).length, options: r, pixelRatio: this.getPixelRatio() }), C = function({ channelData: m, barIndexScale: f, barSpacing: k, barWidth: y, halfHeight: N, vScale: b, canvasHeight: R, barAlign: E, barMinHeight: w }) {
7333
7333
  const B = m[0] || [], x = m[1] || B, U = B.length, T = [];
7334
7334
  let Q = 0, D = 0, z = 0;
7335
7335
  for (let O = 0; O <= U; O++) {
7336
7336
  const P = Math.round(O * f);
7337
7337
  if (P > Q) {
7338
- const { topHeight: G, totalHeight: W } = A0({ maxTop: D, maxBottom: z, halfHeight: R, vScale: b, barMinHeight: w, barAlign: E }), q = p0({ barAlign: E, halfHeight: R, topHeight: G, totalHeight: W, canvasHeight: N });
7338
+ const { topHeight: G, totalHeight: W } = A0({ maxTop: D, maxBottom: z, halfHeight: N, vScale: b, barMinHeight: w, barAlign: E }), q = p0({ barAlign: E, halfHeight: N, topHeight: G, totalHeight: W, canvasHeight: R });
7339
7339
  T.push({ x: Q * k, y: q, width: y, height: W }), Q = P, D = 0, z = 0;
7340
7340
  }
7341
7341
  const V = Math.abs(B[O] || 0), $ = Math.abs(x[O] || 0);
@@ -7351,18 +7351,18 @@ class m0 extends Xn {
7351
7351
  const { width: i, height: l } = s.canvas, c = function({ channelData: d, width: u, height: p, vScale: h }) {
7352
7352
  const g = p / 2, C = d[0] || [];
7353
7353
  return [C, d[1] || C].map((m, f) => {
7354
- const k = m.length, y = k ? u / k : 0, R = g, b = f === 0 ? -1 : 1, N = [{ x: 0, y: R }];
7354
+ const k = m.length, y = k ? u / k : 0, N = g, b = f === 0 ? -1 : 1, R = [{ x: 0, y: N }];
7355
7355
  let E = 0, w = 0;
7356
7356
  for (let B = 0; B <= k; B++) {
7357
7357
  const x = Math.round(B * y);
7358
7358
  if (x > E) {
7359
- const T = R + (Math.round(w * g * h) || 1) * b;
7360
- N.push({ x: E, y: T }), E = x, w = 0;
7359
+ const T = N + (Math.round(w * g * h) || 1) * b;
7360
+ R.push({ x: E, y: T }), E = x, w = 0;
7361
7361
  }
7362
7362
  const U = Math.abs(m[B] || 0);
7363
7363
  U > w && (w = U);
7364
7364
  }
7365
- return N.push({ x: E, y: R }), N;
7365
+ return R.push({ x: E, y: N }), R;
7366
7366
  });
7367
7367
  }({ channelData: t, width: i, height: l, vScale: o });
7368
7368
  s.beginPath();
@@ -7413,9 +7413,9 @@ class m0 extends Xn {
7413
7413
  const f = m * p;
7414
7414
  let k = Math.min(u - f, p);
7415
7415
  if (k = io(k, r), k <= 0) return;
7416
- const y = function({ channelData: R, offset: b, clampedWidth: N, totalWidth: E }) {
7417
- return R.map((w) => {
7418
- const B = Math.floor(b / E * w.length), x = Math.floor((b + N) / E * w.length);
7416
+ const y = function({ channelData: N, offset: b, clampedWidth: R, totalWidth: E }) {
7417
+ return N.map((w) => {
7418
+ const B = Math.floor(b / E * w.length), x = Math.floor((b + R) / E * w.length);
7419
7419
  return w.slice(B, x);
7420
7420
  });
7421
7421
  }({ channelData: t, offset: f, clampedWidth: k, totalWidth: u });
@@ -7705,8 +7705,8 @@ class jn extends h0 {
7705
7705
  super({ media: r, mediaControls: t.mediaControls, autoplay: t.autoplay, playbackRate: t.audioRate }), this.plugins = [], this.decodedData = null, this.stopAtPosition = null, this.subscriptions = [], this.mediaSubscriptions = [], this.abortController = null, this._isDestroyed = !1, this._loadVersion = 0, this.reactiveCleanups = [], this.options = Object.assign({}, C0, t);
7706
7706
  const { state: s, actions: o } = function(c) {
7707
7707
  var d, u, p, h, g, C;
7708
- const m = (d = c == null ? void 0 : c.currentTime) !== null && d !== void 0 ? d : Re(0), f = (u = c == null ? void 0 : c.duration) !== null && u !== void 0 ? u : Re(0), k = (p = c == null ? void 0 : c.isPlaying) !== null && p !== void 0 ? p : Re(!1), y = (h = c == null ? void 0 : c.isSeeking) !== null && h !== void 0 ? h : Re(!1), R = (g = c == null ? void 0 : c.volume) !== null && g !== void 0 ? g : Re(1), b = (C = c == null ? void 0 : c.playbackRate) !== null && C !== void 0 ? C : Re(1), N = Re(null), E = Re(null), w = Re(""), B = Re(0), x = Re(0), U = Yt(() => !k.value, [k]), T = Yt(() => N.value !== null, [N]), Q = Yt(() => T.value && f.value > 0, [T, f]), D = Yt(() => m.value, [m]), z = Yt(() => f.value > 0 ? m.value / f.value : 0, [m, f]);
7709
- return { state: { currentTime: m, duration: f, isPlaying: k, isPaused: U, isSeeking: y, volume: R, playbackRate: b, audioBuffer: N, peaks: E, url: w, zoom: B, scrollPosition: x, canPlay: T, isReady: Q, progress: D, progressPercent: z }, actions: { setCurrentTime: (O) => {
7708
+ const m = (d = c == null ? void 0 : c.currentTime) !== null && d !== void 0 ? d : Re(0), f = (u = c == null ? void 0 : c.duration) !== null && u !== void 0 ? u : Re(0), k = (p = c == null ? void 0 : c.isPlaying) !== null && p !== void 0 ? p : Re(!1), y = (h = c == null ? void 0 : c.isSeeking) !== null && h !== void 0 ? h : Re(!1), N = (g = c == null ? void 0 : c.volume) !== null && g !== void 0 ? g : Re(1), b = (C = c == null ? void 0 : c.playbackRate) !== null && C !== void 0 ? C : Re(1), R = Re(null), E = Re(null), w = Re(""), B = Re(0), x = Re(0), U = Yt(() => !k.value, [k]), T = Yt(() => R.value !== null, [R]), Q = Yt(() => T.value && f.value > 0, [T, f]), D = Yt(() => m.value, [m]), z = Yt(() => f.value > 0 ? m.value / f.value : 0, [m, f]);
7709
+ return { state: { currentTime: m, duration: f, isPlaying: k, isPaused: U, isSeeking: y, volume: N, playbackRate: b, audioBuffer: R, peaks: E, url: w, zoom: B, scrollPosition: x, canPlay: T, isReady: Q, progress: D, progressPercent: z }, actions: { setCurrentTime: (O) => {
7710
7710
  const P = Math.max(0, Math.min(f.value || 1 / 0, O));
7711
7711
  m.set(P);
7712
7712
  }, setDuration: (O) => {
@@ -7717,12 +7717,12 @@ class jn extends h0 {
7717
7717
  y.set(O);
7718
7718
  }, setVolume: (O) => {
7719
7719
  const P = Math.max(0, Math.min(1, O));
7720
- R.set(P);
7720
+ N.set(P);
7721
7721
  }, setPlaybackRate: (O) => {
7722
7722
  const P = Math.max(0.1, Math.min(16, O));
7723
7723
  b.set(P);
7724
7724
  }, setAudioBuffer: (O) => {
7725
- N.set(O), O && f.set(O.duration);
7725
+ R.set(O), O && f.set(O.duration);
7726
7726
  }, setPeaks: (O) => {
7727
7727
  E.set(O);
7728
7728
  }, setUrl: (O) => {
@@ -8105,7 +8105,7 @@ const ql = Ge((n) => {
8105
8105
  id: C,
8106
8106
  tabIndex: m
8107
8107
  }, f) {
8108
- const [k, y] = j(!1), [R, b] = j(!1), [N, E] = j(!1), w = X(null), B = X(!1), x = X(null), U = X(null), T = s || !R;
8108
+ const [k, y] = j(!1), [N, b] = j(!1), [R, E] = j(!1), w = X(null), B = X(!1), x = X(null), U = X(null), T = s || !N;
8109
8109
  ie(() => {
8110
8110
  typeof navigator < "u" && E(/^((?!chrome|android).)*safari/i.test(navigator.userAgent));
8111
8111
  }, []);
@@ -8139,8 +8139,8 @@ const ql = Ge((n) => {
8139
8139
  [D, o]
8140
8140
  ), O = J(() => {
8141
8141
  const K = w.current;
8142
- K && (N || K.setOptions({ progressColor: p }), K.play());
8143
- }, [N, p]), P = J(() => {
8142
+ K && (R || K.setOptions({ progressColor: p }), K.play());
8143
+ }, [R, p]), P = J(() => {
8144
8144
  var M;
8145
8145
  const K = w.current;
8146
8146
  if (T || !K) return;
@@ -8159,13 +8159,13 @@ const ql = Ge((n) => {
8159
8159
  () => ({
8160
8160
  play: P,
8161
8161
  pause: Q,
8162
- isReady: () => R,
8162
+ isReady: () => N,
8163
8163
  isPlaying: () => {
8164
8164
  var K;
8165
8165
  return !!((K = w.current) != null && K.isPlaying());
8166
8166
  }
8167
8167
  }),
8168
- [P, Q, R]
8168
+ [P, Q, N]
8169
8169
  ), ie(() => {
8170
8170
  w.current && t && (w.current.load(t), b(!1));
8171
8171
  }, [t]);
@@ -8221,7 +8221,7 @@ const ql = Ge((n) => {
8221
8221
  const L = typeof Z == "number" ? Z : ((ce = K.getCurrentTime) == null ? void 0 : ce.call(K)) ?? 0, le = z(K, {
8222
8222
  seekTime: L
8223
8223
  });
8224
- x.current = L, B.current = !0, le.previousWasPlaying || (ae = F.emit) == null || ae.call(F, "pause"), N || K.setOptions({ progressColor: p }), le.wasPlaying && K.play(), o.setter((ee) => ({
8224
+ x.current = L, B.current = !0, le.previousWasPlaying || (ae = F.emit) == null || ae.call(F, "pause"), R || K.setOptions({ progressColor: p }), le.wasPlaying && K.play(), o.setter((ee) => ({
8225
8225
  ...ee,
8226
8226
  active: K,
8227
8227
  lastPlayed: K,
@@ -8230,7 +8230,7 @@ const ql = Ge((n) => {
8230
8230
  },
8231
8231
  [
8232
8232
  o,
8233
- N,
8233
+ R,
8234
8234
  p,
8235
8235
  z,
8236
8236
  T,
@@ -8301,7 +8301,7 @@ const ql = Ge((n) => {
8301
8301
  onPlay: $,
8302
8302
  onPause: G,
8303
8303
  onFinish: he,
8304
- backend: N ? "WebAudio" : "MediaElement"
8304
+ backend: R ? "WebAudio" : "MediaElement"
8305
8305
  }
8306
8306
  ) }),
8307
8307
  c && /* @__PURE__ */ a("div", { className: bt.actions, children: c })
@@ -8524,12 +8524,12 @@ const nb = ({
8524
8524
  onProjectClick: C,
8525
8525
  openedItem: m,
8526
8526
  setOpenedItem: f
8527
- } = gt(ts), [k, y] = j(!1), R = oe(() => k ? i : i.slice(0, 6), [i, k]), b = J(() => {
8527
+ } = gt(ts), [k, y] = j(!1), N = oe(() => k ? i : i.slice(0, 6), [i, k]), b = J(() => {
8528
8528
  if (c) return;
8529
8529
  y(!1);
8530
8530
  const w = h.find((B) => B.id === n);
8531
8531
  m === n ? (f(null), C == null || C(w, !1)) : (f(n), C == null || C(w, !0));
8532
- }, [n, m, f, C, h, c]), N = J((w) => {
8532
+ }, [n, m, f, C, h, c]), R = J((w) => {
8533
8533
  w.preventDefault(), w.stopPropagation(), y(!k);
8534
8534
  }, [k]), E = J((w) => {
8535
8535
  w.stopPropagation(), g == null || g(i);
@@ -8574,7 +8574,7 @@ const nb = ({
8574
8574
  /* @__PURE__ */ a(H, { size: "2", style: { color: "var(--neutral-alpha-10)" }, children: u.loading || "Loading tracks..." })
8575
8575
  ] }),
8576
8576
  i.length > 0 && /* @__PURE__ */ v(S, { direction: "column", gap: "1", children: [
8577
- typeof d == "function" ? d({ projectId: n, tracks: R }) : d,
8577
+ typeof d == "function" ? d({ projectId: n, tracks: N }) : d,
8578
8578
  /* @__PURE__ */ v(S, { direction: "row", gap: "3", p: "2", align: "center", justify: "center", children: [
8579
8579
  /* @__PURE__ */ v(
8580
8580
  Ir,
@@ -8592,7 +8592,7 @@ const nb = ({
8592
8592
  ),
8593
8593
  i.length > 6 && /* @__PURE__ */ v(we, { children: [
8594
8594
  /* @__PURE__ */ a(it, { orientation: "vertical" }),
8595
- /* @__PURE__ */ v(Ir, { variant: "ghost", color: "gray", style: { flex: "1" }, onClick: N, children: [
8595
+ /* @__PURE__ */ v(Ir, { variant: "ghost", color: "gray", style: { flex: "1" }, onClick: R, children: [
8596
8596
  k ? u.showLess || "Show less" : u.showMore || "Show more",
8597
8597
  k ? /* @__PURE__ */ a(xd, { width: 16, height: 16 }) : /* @__PURE__ */ a(Xs, { width: 16, height: 16 })
8598
8598
  ] })
@@ -8770,19 +8770,21 @@ const nb = ({
8770
8770
  ...n
8771
8771
  }) => {
8772
8772
  var B;
8773
- const { onClickTrack: t, onChangeTransfer: r, projects: s, labels: o = {} } = gt(ts), { projectId: i, id: l, title: c, cover: d, transfers: u, audioUrl: p, loading: h } = n, g = oe(() => u && u.length > 0, [u]), C = 24, m = -24, [f, k] = j(g ? parseInt(((B = u == null ? void 0 : u[0]) == null ? void 0 : B.pitchShift) ?? 0) : 0), [y, R] = j(h), b = X(null);
8773
+ const { onClickTrack: t, onChangeTransfer: r, projects: s, labels: o = {} } = gt(ts), { projectId: i, id: l, title: c, cover: d, transfers: u, audioUrl: p, loading: h } = n, g = oe(() => u && u.length > 0, [u]), C = 24, m = -24, [f, k] = j(g ? parseInt(((B = u == null ? void 0 : u[0]) == null ? void 0 : B.pitchShift) ?? 0) : 0), [y, N] = j(h), b = X(null);
8774
8774
  ie(() => {
8775
+ g && !u.some((x) => parseInt(x.pitchShift) === f) ? N(!0) : N(!1);
8776
+ }, [f, u, g]), ie(() => {
8775
8777
  var x;
8776
- R(h), !h && g && k(parseInt(((x = u == null ? void 0 : u[0]) == null ? void 0 : x.pitchShift) ?? 0));
8778
+ N(h), !h && g && k(parseInt(((x = u == null ? void 0 : u[0]) == null ? void 0 : x.pitchShift) ?? 0));
8777
8779
  }, [h, g, u]), ie(() => () => {
8778
8780
  b.current && clearTimeout(b.current);
8779
8781
  }, []);
8780
- const N = J((x) => {
8782
+ const R = J((x) => {
8781
8783
  var U;
8782
8784
  return g ? (U = u == null ? void 0 : u.find((T) => parseInt(T.pitchShift) === x)) == null ? void 0 : U.audioUrl : p;
8783
8785
  }, [g, u, p]), E = J((x) => {
8784
8786
  k(x), b.current && clearTimeout(b.current), b.current = setTimeout(() => {
8785
- const U = N(x), T = s.find((Q) => Q.id === i);
8787
+ const U = R(x), T = s.find((Q) => Q.id === i);
8786
8788
  r == null || r(T, {
8787
8789
  id: l,
8788
8790
  title: c,
@@ -8791,18 +8793,18 @@ const nb = ({
8791
8793
  pitchShift: x
8792
8794
  });
8793
8795
  }, Eb);
8794
- }, [r, i, l, c, N, s]), w = J((x) => {
8796
+ }, [r, i, l, c, R, s]), w = J((x) => {
8795
8797
  if (x.stopPropagation(), y)
8796
8798
  return;
8797
8799
  const U = !g && !p;
8798
- U && R(!0), t == null || t({
8800
+ U && N(!0), t == null || t({
8799
8801
  ...n,
8800
8802
  id: l,
8801
8803
  title: c,
8802
- audioUrl: g || p ? N(f) : null,
8804
+ audioUrl: g || p ? R(f) : null,
8803
8805
  processTrack: U
8804
8806
  });
8805
- }, [t, n, l, c, N, f, g, y, p]);
8807
+ }, [t, n, l, c, R, f, g, y, p]);
8806
8808
  return /* @__PURE__ */ a(S, { direction: "column", gap: "1", children: /* @__PURE__ */ v(
8807
8809
  S,
8808
8810
  {
@@ -8923,7 +8925,7 @@ const Jb = "_starButton_1311l_1", Qb = "_disabled_1311l_17", Mb = "_readOnly_131
8923
8925
  maxLabel: p,
8924
8926
  ...h
8925
8927
  }) => {
8926
- const [g, C] = j(r || 0), [m, f] = j(0), k = t !== void 0 ? t : g, y = t !== void 0, R = J(
8928
+ const [g, C] = j(r || 0), [m, f] = j(0), k = t !== void 0 ? t : g, y = t !== void 0, N = J(
8927
8929
  (w) => {
8928
8930
  if (s || o) return;
8929
8931
  const B = w + 1, x = B === k ? 0 : B;
@@ -8937,7 +8939,7 @@ const Jb = "_starButton_1311l_1", Qb = "_disabled_1311l_17", Mb = "_readOnly_131
8937
8939
  D !== m && (f(D), l == null || l({ value: D }));
8938
8940
  },
8939
8941
  [s, o, n, m, l]
8940
- ), N = J(() => {
8942
+ ), R = J(() => {
8941
8943
  s || o || (f(0), l == null || l({ value: 0 }));
8942
8944
  }, [s, o, l]), E = (w) => {
8943
8945
  const B = m > 0 ? w < m : w < k, x = m > 0 && w < m, U = w < k;
@@ -8952,7 +8954,7 @@ const Jb = "_starButton_1311l_1", Qb = "_disabled_1311l_17", Mb = "_readOnly_131
8952
8954
  [Xe.disabled]: s,
8953
8955
  [Xe.readOnly]: o
8954
8956
  }),
8955
- onClick: () => R(w),
8957
+ onClick: () => N(w),
8956
8958
  disabled: s || o,
8957
8959
  "aria-label": `Rate ${w + 1} out of ${n}`,
8958
8960
  ...h,
@@ -8983,7 +8985,7 @@ const Jb = "_starButton_1311l_1", Qb = "_disabled_1311l_17", Mb = "_readOnly_131
8983
8985
  role: "radiogroup",
8984
8986
  "aria-label": `Rating: ${k} out of ${n} stars`,
8985
8987
  onMouseMove: b,
8986
- onMouseLeave: N,
8988
+ onMouseLeave: R,
8987
8989
  children: Array.from({ length: n }, (w, B) => E(B))
8988
8990
  }
8989
8991
  ),
@@ -9188,9 +9190,9 @@ const lI = "_boxVertical_ujop8_21", cI = "_sliderRoot_ujop8_27", dI = "_sliderRo
9188
9190
  horizontalWidth: f = "100%",
9189
9191
  verticalHeight: k = 200,
9190
9192
  scrollWheel: y = !1,
9191
- ...R
9193
+ ...N
9192
9194
  }) => {
9193
- const { onWheel: b, ...N } = R, E = m === "vertical", w = (T) => (T - c) / (d - c) * 100, B = J(
9195
+ const { onWheel: b, ...R } = N, E = m === "vertical", w = (T) => (T - c) / (d - c) * 100, B = J(
9194
9196
  (T) => {
9195
9197
  if (b == null || b(T), h || !r || T.defaultPrevented) return;
9196
9198
  const Q = E ? T.deltaY : Math.abs(T.deltaX) > Math.abs(T.deltaY) ? T.deltaX : T.deltaY;
@@ -9268,7 +9270,7 @@ const lI = "_boxVertical_ujop8_21", cI = "_sliderRoot_ujop8_27", dI = "_sliderRo
9268
9270
  [ve.sliderRootVertical]: E
9269
9271
  }),
9270
9272
  onWheel: y ? B : b,
9271
- ...N,
9273
+ ...R,
9272
9274
  children: /* @__PURE__ */ v(
9273
9275
  S,
9274
9276
  {
@@ -9385,12 +9387,12 @@ const QI = ({
9385
9387
  /* @__PURE__ */ v(S, { gap: "2", direction: "column", children: [
9386
9388
  /* @__PURE__ */ a(Y, { size: "2", weight: "medium", children: n._("Input Level") }),
9387
9389
  /* @__PURE__ */ a("div", { className: St.levelMeter, children: /* @__PURE__ */ a("div", { className: St.levelMeterTrack, children: /* @__PURE__ */ a("div", { className: St.levelMeterRow, children: Array.from({ length: 17 }, (f, k) => {
9388
- const y = Math.max(0, (m - 5) / 25) * 17, R = k < y;
9390
+ const y = Math.max(0, (m - 5) / 25) * 17, N = k < y;
9389
9391
  let b = "low";
9390
9392
  return k >= 15 ? b = "high" : k >= 11 && (b = "mid"), /* @__PURE__ */ a(
9391
9393
  "div",
9392
9394
  {
9393
- className: `${St.levelMeterSegment} ${R ? `${St.active} ${St[b]}` : ""}`
9395
+ className: `${St.levelMeterSegment} ${N ? `${St.active} ${St[b]}` : ""}`
9394
9396
  },
9395
9397
  `level-${k}`
9396
9398
  );
@@ -9702,9 +9704,9 @@ const Zl = ({
9702
9704
  droppable: f = !1,
9703
9705
  isDropTarget: k = !1,
9704
9706
  dndDroppableId: y,
9705
- onDragEnter: R,
9707
+ onDragEnter: N,
9706
9708
  onDragLeave: b,
9707
- onDragOver: N,
9709
+ onDragOver: R,
9708
9710
  onDrop: E,
9709
9711
  isLoading: w = !1
9710
9712
  }) => {
@@ -9738,9 +9740,9 @@ const Zl = ({
9738
9740
  onMouseEnter: D,
9739
9741
  onMouseLeave: z,
9740
9742
  "data-setlist-id": t,
9741
- onDragEnter: f ? R : void 0,
9743
+ onDragEnter: f ? N : void 0,
9742
9744
  onDragLeave: f ? b : void 0,
9743
- onDragOver: f ? N : void 0,
9745
+ onDragOver: f ? R : void 0,
9744
9746
  onDrop: f ? E : void 0,
9745
9747
  onKeyDown: r ? (V) => {
9746
9748
  (V.key === "Enter" || V.key === " ") && (V.preventDefault(), r == null || r());
@@ -9842,7 +9844,7 @@ const Zl = ({
9842
9844
  enableDndDropTargets: m = !1,
9843
9845
  className: f
9844
9846
  }) => {
9845
- const { close: k, isMobile: y } = qr(), [R, b] = j(null), N = (_) => {
9847
+ const { close: k, isMobile: y } = qr(), [N, b] = j(null), R = (_) => {
9846
9848
  r == null || r(_), y && k();
9847
9849
  }, E = () => {
9848
9850
  c == null || c(), y && k();
@@ -9996,7 +9998,7 @@ const Zl = ({
9996
9998
  {
9997
9999
  isSelected: fe,
9998
10000
  setlistId: _.id,
9999
- onClick: () => N(_.id),
10001
+ onClick: () => R(_.id),
10000
10002
  droppable: g,
10001
10003
  isDropTarget: C === _.id,
10002
10004
  dndDroppableId: m ? `setlist:${_.id}` : void 0,
@@ -10012,7 +10014,7 @@ const Zl = ({
10012
10014
  onDragLeave: (qe) => {
10013
10015
  l == null || l(_.id, qe);
10014
10016
  },
10015
- dropdownMenuOpen: R === _.id,
10017
+ dropdownMenuOpen: N === _.id,
10016
10018
  onDropdownMenuOpenChange: (qe) => {
10017
10019
  b(qe ? _.id : null);
10018
10020
  },
@@ -10118,13 +10120,13 @@ const Zl = ({
10118
10120
  mobileBreakpoint: d = mr,
10119
10121
  ...u
10120
10122
  }) => {
10121
- const p = sE(d), { isMobile: h, isOpen: g, open: C, close: m } = _l(p), [f, k] = j(!1), [y, R] = j(!1), b = s ?? y, N = J(
10123
+ const p = sE(d), { isMobile: h, isOpen: g, open: C, close: m } = _l(p), [f, k] = j(!1), [y, N] = j(!1), b = s ?? y, R = J(
10122
10124
  (G) => {
10123
- s == null && R(G), o == null || o(G);
10125
+ s == null && N(G), o == null || o(G);
10124
10126
  },
10125
10127
  [s, o]
10126
10128
  ), E = h ? !1 : r && !b, w = () => {
10127
- h || (k(!1), N(!1), i((G) => !G));
10129
+ h || (k(!1), R(!1), i((G) => !G));
10128
10130
  }, B = () => {
10129
10131
  h || k(!0);
10130
10132
  }, x = () => {
@@ -10132,9 +10134,9 @@ const Zl = ({
10132
10134
  }, U = (G) => {
10133
10135
  E ? w() : l && l(G);
10134
10136
  }, T = () => {
10135
- h || !r || N(!0);
10137
+ h || !r || R(!0);
10136
10138
  }, Q = () => {
10137
- N(!1);
10139
+ R(!1);
10138
10140
  }, D = (G) => {
10139
10141
  B(), G.buttons > 0 && T();
10140
10142
  }, z = () => {
@@ -10403,13 +10405,13 @@ const aE = "_sectionTitle_bwlze_1", oE = "_separator_bwlze_17", co = {
10403
10405
  sidebarTooltip: m,
10404
10406
  children: f
10405
10407
  }) => {
10406
- const [k, y] = j(!1), [R, b] = j(!1), { isMobile: N } = _l(), E = N ? !1 : k && !R;
10408
+ const [k, y] = j(!1), [N, b] = j(!1), { isMobile: R } = _l(), E = R ? !1 : k && !N;
10407
10409
  return /* @__PURE__ */ v(we, { children: [
10408
10410
  /* @__PURE__ */ v(
10409
10411
  $l,
10410
10412
  {
10411
10413
  isCollapsed: k,
10412
- isTemporarilyExpandedByDrag: R,
10414
+ isTemporarilyExpandedByDrag: N,
10413
10415
  onTemporarilyExpandedByDragChange: b,
10414
10416
  onCollapsedChange: y,
10415
10417
  tooltip: m,
@@ -10443,7 +10445,7 @@ const aE = "_sectionTitle_bwlze_1", oE = "_separator_bwlze_17", co = {
10443
10445
  newSetlistButtonTooltip: h,
10444
10446
  expandButtonTooltip: g,
10445
10447
  collapsed: E,
10446
- isMobile: N
10448
+ isMobile: R
10447
10449
  }
10448
10450
  )
10449
10451
  ]
@@ -10501,7 +10503,7 @@ const aE = "_sectionTitle_bwlze_1", oE = "_separator_bwlze_17", co = {
10501
10503
  className: g,
10502
10504
  ...C
10503
10505
  }, m) {
10504
- const f = C["aria-label"], k = X(null), y = X(null), R = X(null), b = X(null), [N, E] = j(!1), [w, B] = j(!1), [x, U] = j(!1), T = X({ value: t, min: s, max: o, step: i, disabled: l, onValueChange: r });
10506
+ const f = C["aria-label"], k = X(null), y = X(null), N = X(null), b = X(null), [R, E] = j(!1), [w, B] = j(!1), [x, U] = j(!1), T = X({ value: t, min: s, max: o, step: i, disabled: l, onValueChange: r });
10505
10507
  T.current = { value: t, min: s, max: o, step: i, disabled: l, onValueChange: r };
10506
10508
  const Q = X({
10507
10509
  tooltipDelayDuration: d,
@@ -10510,7 +10512,7 @@ const aE = "_sectionTitle_bwlze_1", oE = "_separator_bwlze_17", co = {
10510
10512
  Q.current = { tooltipDelayDuration: d, tooltipCloseDelay: u };
10511
10513
  const D = X({ accum: 0, axis: null, lastTime: 0 });
10512
10514
  ie(() => () => {
10513
- R.current != null && clearTimeout(R.current), b.current != null && clearTimeout(b.current);
10515
+ N.current != null && clearTimeout(N.current), b.current != null && clearTimeout(b.current);
10514
10516
  }, []), ie(() => {
10515
10517
  const F = () => {
10516
10518
  y.current = "keyboard";
@@ -10570,7 +10572,7 @@ const aE = "_sectionTitle_bwlze_1", oE = "_separator_bwlze_17", co = {
10570
10572
  ), O = () => {
10571
10573
  l || U(!0);
10572
10574
  }, P = () => {
10573
- R.current != null && (clearTimeout(R.current), R.current = null);
10575
+ N.current != null && (clearTimeout(N.current), N.current = null);
10574
10576
  }, V = () => {
10575
10577
  b.current != null && (clearTimeout(b.current), b.current = null);
10576
10578
  }, $ = () => {
@@ -10582,8 +10584,8 @@ const aE = "_sectionTitle_bwlze_1", oE = "_separator_bwlze_17", co = {
10582
10584
  B(!0);
10583
10585
  return;
10584
10586
  }
10585
- R.current = setTimeout(() => {
10586
- R.current = null, B(!0);
10587
+ N.current = setTimeout(() => {
10588
+ N.current = null, B(!0);
10587
10589
  }, F);
10588
10590
  }, he = () => {
10589
10591
  P();
@@ -10597,11 +10599,11 @@ const aE = "_sectionTitle_bwlze_1", oE = "_separator_bwlze_17", co = {
10597
10599
  }, F);
10598
10600
  }, de = () => {
10599
10601
  l || h == null || h(t);
10600
- }, ge = p ? p(t) : t, K = !l && (w || x || N), Z = /* @__PURE__ */ a(
10602
+ }, ge = p ? p(t) : t, K = !l && (w || x || R), Z = /* @__PURE__ */ a(
10601
10603
  zr,
10602
10604
  {
10603
10605
  className: cr.thumb,
10604
- "data-focus-visible": N || void 0,
10606
+ "data-focus-visible": R || void 0,
10605
10607
  "aria-label": f,
10606
10608
  onFocus: $,
10607
10609
  onBlur: G,
@@ -10832,7 +10834,7 @@ const dr = (n) => {
10832
10834
  const g = X(null), C = X(null), [m, f] = j(!1), k = J((E) => {
10833
10835
  const w = E.target, B = w.scrollLeft + w.clientWidth >= w.scrollWidth - 2;
10834
10836
  f(B);
10835
- }, []), y = !!l || !!d, R = J(
10837
+ }, []), y = !!l || !!d, N = J(
10836
10838
  (E) => {
10837
10839
  if (y) return;
10838
10840
  const w = E.target.value;
@@ -10861,7 +10863,7 @@ const dr = (n) => {
10861
10863
  }));
10862
10864
  },
10863
10865
  [t]
10864
- ), N = J(() => {
10866
+ ), R = J(() => {
10865
10867
  t((E) => ({
10866
10868
  ...E,
10867
10869
  conditioningAudio: null,
@@ -10904,7 +10906,7 @@ const dr = (n) => {
10904
10906
  {
10905
10907
  value: n.conditioningText,
10906
10908
  onFocus: o,
10907
- onChange: R,
10909
+ onChange: N,
10908
10910
  placeholder: r._(
10909
10911
  `Describe your desired sound characteristics (ex: ${RE(
10910
10912
  n.instrument,
@@ -11028,7 +11030,7 @@ const dr = (n) => {
11028
11030
  NE(n),
11029
11031
  ")"
11030
11032
  ] }),
11031
- /* @__PURE__ */ a(Be, { variant: "soft", onClick: N, children: /* @__PURE__ */ a(qd, { width: 16, height: 16 }) })
11033
+ /* @__PURE__ */ a(Be, { variant: "soft", onClick: R, children: /* @__PURE__ */ a(qd, { width: 16, height: 16 }) })
11032
11034
  ]
11033
11035
  }
11034
11036
  ) : /* @__PURE__ */ v(
@@ -11475,9 +11477,9 @@ const fr = {
11475
11477
  generateFromSelectionTrack: f,
11476
11478
  unmutedTracksCount: k,
11477
11479
  onMountConcurrency: y,
11478
- onClear: R,
11480
+ onClear: N,
11479
11481
  onInspireMe: b,
11480
- inspireMeLoading: N,
11482
+ inspireMeLoading: R,
11481
11483
  onBoost: E,
11482
11484
  boostLoading: w,
11483
11485
  suggestedTags: B,
@@ -11631,7 +11633,7 @@ const fr = {
11631
11633
  onAddConditioningAudio: s,
11632
11634
  onTextConditioningFocus: o,
11633
11635
  onInspireMe: b,
11634
- inspireMeLoading: N,
11636
+ inspireMeLoading: R,
11635
11637
  onBoost: E,
11636
11638
  boostLoading: w,
11637
11639
  suggestedTags: B,
@@ -11710,7 +11712,7 @@ const fr = {
11710
11712
  inpaintingTrack: m,
11711
11713
  generateFromSelectionTrack: f,
11712
11714
  unmutedTracksCount: k,
11713
- onClear: R,
11715
+ onClear: N,
11714
11716
  i18n: l
11715
11717
  }
11716
11718
  ) }),
@@ -11736,7 +11738,7 @@ const fr = {
11736
11738
  _e,
11737
11739
  {
11738
11740
  type: "error",
11739
- onClick: R,
11741
+ onClick: N,
11740
11742
  ctaLabel: l._("Clear"),
11741
11743
  showBackground: !1,
11742
11744
  showIcon: !1,
@@ -11866,7 +11868,7 @@ const Ao = {
11866
11868
  showStemsPaywall: C,
11867
11869
  showHiFiSwitch: m
11868
11870
  }) => {
11869
- var N;
11871
+ var R;
11870
11872
  const { submitted: f, handleSubmit: k } = Ma(l), y = [
11871
11873
  {
11872
11874
  value: "freeVocalInstruments",
@@ -11978,7 +11980,7 @@ const Ao = {
11978
11980
  name: n._("Other"),
11979
11981
  category: "paid"
11980
11982
  }
11981
- ], R = async (E) => {
11983
+ ], N = async (E) => {
11982
11984
  if (E.isLocked) {
11983
11985
  C(E.value);
11984
11986
  return;
@@ -12033,7 +12035,7 @@ const Ao = {
12033
12035
  };
12034
12036
  }),
12035
12037
  value: c.selectedStems,
12036
- onSelect: R,
12038
+ onSelect: N,
12037
12039
  style: {
12038
12040
  marginBottom: "12px"
12039
12041
  }
@@ -12054,7 +12056,7 @@ const Ao = {
12054
12056
  _r,
12055
12057
  {
12056
12058
  title: n._("Separate Stems"),
12057
- disabled: !((N = c == null ? void 0 : c.selectedStems) != null && N.length) || !(c != null && c.trackName),
12059
+ disabled: !((R = c == null ? void 0 : c.selectedStems) != null && R.length) || !(c != null && c.trackName),
12058
12060
  loading: u,
12059
12061
  onClick: k,
12060
12062
  besideFooter: /* @__PURE__ */ v(S, { align: "center", gap: "2", children: [
@@ -12627,17 +12629,17 @@ const ms = (n, t) => typeof n == "string" ? { title: n, description: "", variant
12627
12629
  const k = {
12628
12630
  ...ms(m, "neutral"),
12629
12631
  id: `${Date.now()}-${Bw++}`
12630
- }, y = k.duration ?? t, R = setTimeout(() => {
12632
+ }, y = k.duration ?? t, N = setTimeout(() => {
12631
12633
  u(k.id);
12632
12634
  }, y);
12633
- return d.current.set(k.id, R), c((b) => {
12634
- const N = [...b.slice(-(r - 1)), k], E = new Set(N.map((w) => w.id));
12635
+ return d.current.set(k.id, N), c((b) => {
12636
+ const R = [...b.slice(-(r - 1)), k], E = new Set(R.map((w) => w.id));
12635
12637
  return b.forEach((w) => {
12636
12638
  if (!E.has(w.id)) {
12637
12639
  const B = d.current.get(w.id);
12638
12640
  B && (clearTimeout(B), d.current.delete(w.id));
12639
12641
  }
12640
- }), N;
12642
+ }), R;
12641
12643
  }), k.id;
12642
12644
  },
12643
12645
  [u, t, r]
@@ -12870,9 +12872,9 @@ const Fw = "_track_2k5w9_1", zw = "_name_2k5w9_11", Ww = "_line_2k5w9_22", Hw =
12870
12872
  isAutoMuted: f,
12871
12873
  isSolo: k,
12872
12874
  isOpen: y,
12873
- instrumentSelected: R,
12875
+ instrumentSelected: N,
12874
12876
  device: b,
12875
- channel: N,
12877
+ channel: R,
12876
12878
  // State change listeners
12877
12879
  onVolumeChange: E,
12878
12880
  onVolumeReset: w,
@@ -12956,7 +12958,7 @@ const Fw = "_track_2k5w9_1", zw = "_name_2k5w9_11", Ww = "_line_2k5w9_22", Hw =
12956
12958
  xe.instrumentIconButton,
12957
12959
  xe.menuOptionsTrigger
12958
12960
  ),
12959
- children: R.icon
12961
+ children: N.icon
12960
12962
  }
12961
12963
  ),
12962
12964
  options: c,
@@ -12993,7 +12995,7 @@ const Fw = "_track_2k5w9_1", zw = "_name_2k5w9_11", Ww = "_line_2k5w9_22", Hw =
12993
12995
  device: b,
12994
12996
  onDeviceChange: z,
12995
12997
  channelOptions: u,
12996
- channel: N,
12998
+ channel: R,
12997
12999
  onChannelChange: O,
12998
13000
  inputLevel: p,
12999
13001
  children: /* @__PURE__ */ a(
@@ -13106,15 +13108,15 @@ function pR({ schema: n }) {
13106
13108
  r((b) => ({ ...b, [f]: k })), o((b) => ({ ...b, [f]: null }));
13107
13109
  return;
13108
13110
  }
13109
- const y = f, R = Object.fromEntries(
13111
+ const y = f, N = Object.fromEntries(
13110
13112
  Object.entries(y).map(([b]) => ({ [b]: null }))
13111
13113
  );
13112
- r((b) => ({ ...b, ...y })), o((b) => ({ ...b, ...R }));
13114
+ r((b) => ({ ...b, ...y })), o((b) => ({ ...b, ...N }));
13113
13115
  }, []), u = (f, k) => {
13114
- const y = t[f], R = (b) => d(f, b);
13115
- return k === "checkbox" || k === "switch" ? { checked: !!y, onCheckedChange: R } : { value: y ?? "", onChange: (b) => {
13116
- var N;
13117
- return R(((N = b == null ? void 0 : b.target) == null ? void 0 : N.value) ?? b);
13116
+ const y = t[f], N = (b) => d(f, b);
13117
+ return k === "checkbox" || k === "switch" ? { checked: !!y, onCheckedChange: N } : { value: y ?? "", onChange: (b) => {
13118
+ var R;
13119
+ return N(((R = b == null ? void 0 : b.target) == null ? void 0 : R.value) ?? b);
13118
13120
  } };
13119
13121
  }, p = () => {
13120
13122
  const f = n.safeParse(t);
@@ -13122,8 +13124,8 @@ function pR({ schema: n }) {
13122
13124
  return o({}), { isValid: !0, data: f.data };
13123
13125
  const k = {};
13124
13126
  for (const y of f.error.issues) {
13125
- const R = y.path.join(".");
13126
- k[R] || (k[R] = y.message);
13127
+ const N = y.path.join(".");
13128
+ k[N] || (k[N] = y.message);
13127
13129
  }
13128
13130
  return o(k), { isValid: !1, data: t };
13129
13131
  }, h = J((f) => (l.current.push(f), () => {
@@ -13285,13 +13287,13 @@ function ac({
13285
13287
  classNamesButton: C,
13286
13288
  onPlayStateChange: m
13287
13289
  }) {
13288
- const [f, k] = j(!1), [y, R] = j(!1), [b, N] = j(!1), [E, w] = j(!1);
13290
+ const [f, k] = j(!1), [y, N] = j(!1), [b, R] = j(!1), [E, w] = j(!1);
13289
13291
  ie(() => {
13290
13292
  typeof navigator < "u" && w(/^((?!chrome|android).)*safari/i.test(navigator.userAgent));
13291
13293
  }, []);
13292
13294
  const B = oe(() => s, [s]), x = oe(() => o ? !1 : !B || B && f, [B, f, o]), U = X(null), T = X(null);
13293
13295
  ie(() => {
13294
- b || (!p || i) && N(!0);
13296
+ b || (!p || i) && R(!0);
13295
13297
  }, [p, i, b]);
13296
13298
  const Q = J(() => {
13297
13299
  var W;
@@ -13305,7 +13307,7 @@ function ac({
13305
13307
  T.current && n && ((W = T.current) == null || W.load(n));
13306
13308
  }, [n]);
13307
13309
  const z = J((W) => {
13308
- T.current = W, R(!0), k(!1);
13310
+ T.current = W, N(!0), k(!1);
13309
13311
  }, []), O = J(
13310
13312
  (W) => {
13311
13313
  if (k(!0), r == null || r(!0), m == null || m(!0), d) {
@@ -13768,7 +13770,7 @@ const UN = "_footerVoiceForm_lsc2c_2", ON = {
13768
13770
  onClickUpgradeConcurrency: m,
13769
13771
  onRemoveTrack: f
13770
13772
  }) => {
13771
- const [k, y] = j(null), [R, b] = j(null), { submitted: N, handleSubmit: E } = Ma(p), [w, B] = j({
13773
+ const [k, y] = j(null), [N, b] = j(null), { submitted: R, handleSubmit: E } = Ma(p), [w, B] = j({
13772
13774
  lastPlayed: null,
13773
13775
  active: null,
13774
13776
  isPlaying: !1,
@@ -13785,9 +13787,9 @@ const UN = "_footerVoiceForm_lsc2c_2", ON = {
13785
13787
  [n, r]
13786
13788
  ), U = J(
13787
13789
  (P) => {
13788
- R !== P && b(P);
13790
+ N !== P && b(P);
13789
13791
  },
13790
- [R, b]
13792
+ [N, b]
13791
13793
  ), T = J(
13792
13794
  (P) => {
13793
13795
  b(null), w.active && w.active.pause(), B((V) => ({
@@ -13836,7 +13838,7 @@ const UN = "_footerVoiceForm_lsc2c_2", ON = {
13836
13838
  voices: n,
13837
13839
  selectedId: k,
13838
13840
  handleSelect: x,
13839
- playingItem: R,
13841
+ playingItem: N,
13840
13842
  handleAvatarClick: U,
13841
13843
  handleDetailsClick: T,
13842
13844
  wavegroup: Q,
@@ -13886,7 +13888,7 @@ const UN = "_footerVoiceForm_lsc2c_2", ON = {
13886
13888
  onMountConcurrency: g
13887
13889
  }
13888
13890
  ),
13889
- !d && !N && !u && !i && /* @__PURE__ */ a(
13891
+ !d && !R && !u && !i && /* @__PURE__ */ a(
13890
13892
  MN,
13891
13893
  {
13892
13894
  trackId: t.trackId,
@@ -13896,7 +13898,7 @@ const UN = "_footerVoiceForm_lsc2c_2", ON = {
13896
13898
  onRemoveTrack: f
13897
13899
  }
13898
13900
  ),
13899
- !d && N && !u && !i && /* @__PURE__ */ a(_e, { showIcon: !1, showBackground: !1, children: /* @__PURE__ */ a(H, { size: "2", children: l._("Voice conversion initialized!") }) }),
13901
+ !d && R && !u && !i && /* @__PURE__ */ a(_e, { showIcon: !1, showBackground: !1, children: /* @__PURE__ */ a(H, { size: "2", children: l._("Voice conversion initialized!") }) }),
13900
13902
  !d && u && !i && /* @__PURE__ */ a(
13901
13903
  _e,
13902
13904
  {