@skalar-saas/design-system 0.1.78 → 0.1.80

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.mjs CHANGED
@@ -351,7 +351,7 @@ const Er = S.memo(({
351
351
  c(null), N && a && a(w);
352
352
  }, [a]), g = Y((w, N) => {
353
353
  i && i(w, N);
354
- }, [i]), b = Y((w) => {
354
+ }, [i]), v = Y((w) => {
355
355
  const N = ce(n, w);
356
356
  if (N)
357
357
  return {
@@ -364,10 +364,10 @@ const Er = S.memo(({
364
364
  onResize: h,
365
365
  onResizeEnd: p,
366
366
  onCloseZoneChange: g,
367
- getPanelState: b,
367
+ getPanelState: v,
368
368
  minCentralWidth: s,
369
369
  containerRef: d
370
- }), [n, m, h, p, g, b, s]), { leftPanels: v, rightPanels: x, mainContent: y } = _e(() => {
370
+ }), [n, m, h, p, g, v, s]), { leftPanels: b, rightPanels: x, mainContent: y } = _e(() => {
371
371
  const w = [], N = [];
372
372
  let M = null;
373
373
  return S.Children.forEach(t, (I) => {
@@ -396,7 +396,7 @@ const Er = S.memo(({
396
396
  "data-panel-layout": !0,
397
397
  "data-resizing": k,
398
398
  children: [
399
- v,
399
+ b,
400
400
  y,
401
401
  x
402
402
  ]
@@ -432,7 +432,7 @@ const Dr = ({
432
432
  L ${h - 4} ${d - 4}
433
433
  Q ${h} ${d - 4}, ${h} ${d}
434
434
  L ${h} ${t}
435
- `, b = m ? (h + p) / 2 : (p + h) / 2, C = t / 2;
435
+ `, v = m ? (h + p) / 2 : (p + h) / 2, C = t / 2;
436
436
  return /* @__PURE__ */ o(
437
437
  "div",
438
438
  {
@@ -466,7 +466,7 @@ const Dr = ({
466
466
  {
467
467
  className: "absolute flex flex-col gap-[2px] items-center",
468
468
  style: {
469
- left: b,
469
+ left: v,
470
470
  top: C,
471
471
  transform: "translate(-50%, -50%)"
472
472
  },
@@ -488,13 +488,13 @@ const Dr = ({
488
488
  panelBg: a = "var(--surface-1)",
489
489
  className: s
490
490
  }) => {
491
- const { panels: l, onResizeStart: u, onResize: c, onResizeEnd: d, onCloseZoneChange: m, getPanelState: h, minCentralWidth: p, containerRef: g } = Hr(), b = h(t), C = O(!1), v = O(!1), x = O(null), y = O(!1), k = O(0), w = O(!1), N = O(null), [M, I] = H(500), T = O({
491
+ const { panels: l, onResizeStart: u, onResize: c, onResizeEnd: d, onCloseZoneChange: m, getPanelState: h, minCentralWidth: p, containerRef: g } = Hr(), v = h(t), C = O(!1), b = O(!1), x = O(null), y = O(!1), k = O(0), w = O(!1), N = O(null), [M, I] = H(500), T = O({
492
492
  side: n,
493
493
  oppositeSideWidth: 0,
494
494
  minCentralWidth: p,
495
495
  externalPanelsWidth: 0,
496
496
  internalPanelsWidth: 0,
497
- panelState: b
497
+ panelState: v
498
498
  }), $ = st(l[n === "left" ? "right" : "left"]), P = l[n], A = P.findIndex((G) => G.id === t), z = P.filter((G, q) => G.open ? n === "right" ? q > A : q < A : !1).reduce((G, q) => G + q.width, 0), Z = P.filter((G, q) => !G.open || G.id === t ? !1 : n === "right" ? q < A : q > A).reduce((G, q) => G + q.width, 0);
499
499
  T.current = {
500
500
  side: n,
@@ -502,12 +502,12 @@ const Dr = ({
502
502
  minCentralWidth: p,
503
503
  externalPanelsWidth: z,
504
504
  internalPanelsWidth: Z,
505
- panelState: b
505
+ panelState: v
506
506
  };
507
507
  const W = O(c), L = O(d), E = O(m);
508
508
  W.current = c, L.current = d, E.current = m;
509
509
  const _ = Y((G) => {
510
- C.current && (v.current = !0, !x.current && (x.current = requestAnimationFrame(() => {
510
+ C.current && (b.current = !0, !x.current && (x.current = requestAnimationFrame(() => {
511
511
  x.current = null;
512
512
  const q = g.current;
513
513
  if (!q) return;
@@ -525,8 +525,8 @@ const Dr = ({
525
525
  }, [t, g]), ne = Y(() => {
526
526
  if (!C.current) return;
527
527
  C.current = !1, document.body.style.userSelect = "", document.body.style.cursor = "";
528
- const G = v.current && y.current, { panelState: q } = T.current;
529
- !G && q && q.width < Pt(q.width) && W.current(t, Pt(q.width)), v.current = !1, y.current = !1, L.current(t, G), document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", ne);
528
+ const G = b.current && y.current, { panelState: q } = T.current;
529
+ !G && q && q.width < Pt(q.width) && W.current(t, Pt(q.width)), b.current = !1, y.current = !1, L.current(t, G), document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", ne);
530
530
  }, [t, _]), ue = Y(() => {
531
531
  C.current = !0, document.body.style.userSelect = "none", document.body.style.cursor = "col-resize";
532
532
  const { panelState: G } = T.current;
@@ -535,13 +535,13 @@ const Dr = ({
535
535
  if (U(() => () => {
536
536
  x.current && cancelAnimationFrame(x.current), document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", ne);
537
537
  }, [_, ne]), U(() => {
538
- if (b?.open && !b?.exiting) {
538
+ if (v?.open && !v?.exiting) {
539
539
  const G = setTimeout(() => {
540
540
  w.current = !0;
541
541
  }, 150);
542
542
  return () => clearTimeout(G);
543
- } else b?.open || (w.current = !1);
544
- }, [b?.open, b?.exiting]), U(() => {
543
+ } else v?.open || (w.current = !1);
544
+ }, [v?.open, v?.exiting]), U(() => {
545
545
  const G = N.current;
546
546
  if (!G) return;
547
547
  const q = () => {
@@ -551,9 +551,9 @@ const Dr = ({
551
551
  q();
552
552
  const oe = new ResizeObserver(q);
553
553
  return oe.observe(G), () => oe.disconnect();
554
- }, []), !b || !b.open && !b.exiting)
554
+ }, []), !v || !v.open && !v.exiting)
555
555
  return null;
556
- const ae = n === "left" ? "right" : "left", le = () => b.exiting ? n === "left" ? "animate-panel-exit" : "animate-panel-exit-right" : w.current ? "" : n === "left" ? "animate-panel-enter" : "animate-panel-enter-right";
556
+ const ae = n === "left" ? "right" : "left", le = () => v.exiting ? n === "left" ? "animate-panel-exit" : "animate-panel-exit-right" : w.current ? "" : n === "left" ? "animate-panel-enter" : "animate-panel-enter-right";
557
557
  return /* @__PURE__ */ o(
558
558
  "div",
559
559
  {
@@ -561,14 +561,14 @@ const Dr = ({
561
561
  className: f(
562
562
  "h-full relative flex-shrink-0",
563
563
  "transition-[width] duration-100 ease-out",
564
- b.isResizing && "transition-none",
564
+ v.isResizing && "transition-none",
565
565
  s
566
566
  ),
567
- style: { width: `${b.width}%` },
567
+ style: { width: `${v.width}%` },
568
568
  "data-panel": t,
569
569
  "data-panel-side": n,
570
- "data-in-close-zone": b.inCloseZone,
571
- "data-exiting": b.exiting,
570
+ "data-in-close-zone": v.inCloseZone,
571
+ "data-exiting": v.exiting,
572
572
  children: [
573
573
  /* @__PURE__ */ e(
574
574
  "div",
@@ -578,13 +578,13 @@ const Dr = ({
578
578
  "transition-opacity duration-100",
579
579
  le(),
580
580
  // Visual feedback: reduce opacity when in close zone
581
- b.inCloseZone ? "opacity-50" : "opacity-100"
581
+ v.inCloseZone ? "opacity-50" : "opacity-100"
582
582
  ),
583
583
  style: { backgroundColor: a },
584
584
  children: r
585
585
  }
586
586
  ),
587
- i && !b.exiting && /* @__PURE__ */ e(
587
+ i && !v.exiting && /* @__PURE__ */ e(
588
588
  "div",
589
589
  {
590
590
  className: f(
@@ -634,15 +634,15 @@ function Ar(t) {
634
634
  }
635
635
  function As(t) {
636
636
  const { config: n, persist: r = !1, persistKey: i = "panel-state" } = t, a = _e(() => {
637
- const v = /* @__PURE__ */ new Map();
638
- return n.forEach((x) => v.set(x.id, x)), v;
637
+ const b = /* @__PURE__ */ new Map();
638
+ return n.forEach((x) => b.set(x.id, x)), b;
639
639
  }, [n]), [s, l] = H(() => Tt(n, 1920)), [u, c] = H(!1);
640
640
  U(() => {
641
641
  if (r && typeof window < "u")
642
642
  try {
643
- const v = localStorage.getItem(i);
644
- if (v) {
645
- const x = JSON.parse(v);
643
+ const b = localStorage.getItem(i);
644
+ if (b) {
645
+ const x = JSON.parse(b);
646
646
  Ar(x) && l(x);
647
647
  }
648
648
  } catch {
@@ -655,24 +655,24 @@ function As(t) {
655
655
  } catch {
656
656
  }
657
657
  }, [s, r, i, u]);
658
- const d = Y((v) => {
658
+ const d = Y((b) => {
659
659
  l((x) => {
660
- const y = ce(x, v);
660
+ const y = ce(x, b);
661
661
  if (!y) return x;
662
662
  const { side: k, panel: w } = y;
663
663
  if (w.open)
664
664
  return {
665
665
  ...x,
666
666
  [k]: x[k].map(
667
- (E) => E.id === v ? { ...E, open: !1 } : E
667
+ (E) => E.id === b ? { ...E, open: !1 } : E
668
668
  )
669
669
  };
670
- const N = k === "left" ? "right" : "left", M = a.get(v), I = typeof window < "u" ? window.innerWidth : 1920, T = M ? it(M.defaultWidth, I) : 20, V = x[N].filter((E) => E.open).reduce((E, _) => E + _.width, 0), $ = x[k].filter((E) => E.open && E.id !== v), P = $.reduce((E, _) => E + _.width, 0), A = 100 - V - Q.minCentralPercent;
670
+ const N = k === "left" ? "right" : "left", M = a.get(b), I = typeof window < "u" ? window.innerWidth : 1920, T = M ? it(M.defaultWidth, I) : 20, V = x[N].filter((E) => E.open).reduce((E, _) => E + _.width, 0), $ = x[k].filter((E) => E.open && E.id !== b), P = $.reduce((E, _) => E + _.width, 0), A = 100 - V - Q.minCentralPercent;
671
671
  if (P + T <= A)
672
672
  return {
673
673
  ...x,
674
674
  [k]: x[k].map(
675
- (E) => E.id === v ? { ...E, open: !0, width: T } : E
675
+ (E) => E.id === b ? { ...E, open: !0, width: T } : E
676
676
  )
677
677
  };
678
678
  const z = $.length * Q.snapMinWidth, Z = A - z, W = Math.min(T, Math.max(Q.snapMinWidth, Z)), L = A - W;
@@ -681,7 +681,7 @@ function As(t) {
681
681
  return {
682
682
  ...x,
683
683
  [k]: x[k].map((_) => {
684
- if (_.id === v)
684
+ if (_.id === b)
685
685
  return { ..._, open: !0, width: W };
686
686
  if (_.open) {
687
687
  const ne = Math.max(Q.snapMinWidth, _.width * E);
@@ -694,20 +694,20 @@ function As(t) {
694
694
  return {
695
695
  ...x,
696
696
  [k]: x[k].map(
697
- (E) => E.id === v ? { ...E, open: !0, width: W } : E
697
+ (E) => E.id === b ? { ...E, open: !0, width: W } : E
698
698
  )
699
699
  };
700
700
  });
701
- }, [a]), m = Y((v, x) => {
701
+ }, [a]), m = Y((b, x) => {
702
702
  l((y) => {
703
- const k = ce(y, v);
703
+ const k = ce(y, b);
704
704
  if (!k) return y;
705
- const { side: w, panel: N } = k, I = y[w === "left" ? "right" : "left"].filter((z) => z.open).reduce((z, Z) => z + Z.width, 0), T = y[w].filter((z) => z.open && z.id !== v), V = T.reduce((z, Z) => z + Z.width, 0), $ = 100 - I - Q.minCentralPercent, P = x + V;
705
+ const { side: w, panel: N } = k, I = y[w === "left" ? "right" : "left"].filter((z) => z.open).reduce((z, Z) => z + Z.width, 0), T = y[w].filter((z) => z.open && z.id !== b), V = T.reduce((z, Z) => z + Z.width, 0), $ = 100 - I - Q.minCentralPercent, P = x + V;
706
706
  if (P <= $)
707
707
  return {
708
708
  ...y,
709
709
  [w]: y[w].map(
710
- (z) => z.id === v ? { ...z, width: x } : z
710
+ (z) => z.id === b ? { ...z, width: x } : z
711
711
  )
712
712
  };
713
713
  if (x > N.width && V > 0) {
@@ -719,7 +719,7 @@ function As(t) {
719
719
  return {
720
720
  ...y,
721
721
  [w]: y[w].map((E) => {
722
- if (E.id === v)
722
+ if (E.id === b)
723
723
  return { ...E, width: W };
724
724
  if (E.open) {
725
725
  const _ = Math.max(Q.snapMinWidth, E.width * L);
@@ -732,20 +732,20 @@ function As(t) {
732
732
  return {
733
733
  ...y,
734
734
  [w]: y[w].map(
735
- (z) => z.id === v ? { ...z, width: Math.min(x, $ - V) } : z
735
+ (z) => z.id === b ? { ...z, width: Math.min(x, $ - V) } : z
736
736
  )
737
737
  };
738
738
  });
739
- }, []), h = Y((v) => {
739
+ }, []), h = Y((b) => {
740
740
  l((x) => {
741
- const y = ce(x, v);
741
+ const y = ce(x, b);
742
742
  if (!y || y.panel.open) return x;
743
- const { side: k } = y, w = k === "left" ? "right" : "left", N = a.get(v), M = typeof window < "u" ? window.innerWidth : 1920, I = N ? it(N.defaultWidth, M) : 20, T = x[w].filter((L) => L.open).reduce((L, E) => L + E.width, 0), V = x[k].filter((L) => L.open && L.id !== v), $ = V.reduce((L, E) => L + E.width, 0), P = 100 - T - Q.minCentralPercent;
743
+ const { side: k } = y, w = k === "left" ? "right" : "left", N = a.get(b), M = typeof window < "u" ? window.innerWidth : 1920, I = N ? it(N.defaultWidth, M) : 20, T = x[w].filter((L) => L.open).reduce((L, E) => L + E.width, 0), V = x[k].filter((L) => L.open && L.id !== b), $ = V.reduce((L, E) => L + E.width, 0), P = 100 - T - Q.minCentralPercent;
744
744
  if ($ + I <= P)
745
745
  return {
746
746
  ...x,
747
747
  [k]: x[k].map(
748
- (L) => L.id === v ? { ...L, open: !0, width: I } : L
748
+ (L) => L.id === b ? { ...L, open: !0, width: I } : L
749
749
  )
750
750
  };
751
751
  const A = V.length * Q.snapMinWidth, z = P - A, Z = Math.min(I, Math.max(Q.snapMinWidth, z)), W = P - Z;
@@ -754,7 +754,7 @@ function As(t) {
754
754
  return {
755
755
  ...x,
756
756
  [k]: x[k].map((E) => {
757
- if (E.id === v)
757
+ if (E.id === b)
758
758
  return { ...E, open: !0, width: Z };
759
759
  if (E.open) {
760
760
  const _ = Math.max(Q.snapMinWidth, E.width * L);
@@ -767,69 +767,69 @@ function As(t) {
767
767
  return {
768
768
  ...x,
769
769
  [k]: x[k].map(
770
- (L) => L.id === v ? { ...L, open: !0, width: Z } : L
770
+ (L) => L.id === b ? { ...L, open: !0, width: Z } : L
771
771
  )
772
772
  };
773
773
  });
774
- }, [a]), p = Y((v) => {
774
+ }, [a]), p = Y((b) => {
775
775
  l((x) => {
776
- const y = ce(x, v);
776
+ const y = ce(x, b);
777
777
  if (!y || !y.panel.open) return x;
778
778
  const { side: k } = y;
779
779
  return {
780
780
  ...x,
781
781
  [k]: x[k].map(
782
- (w) => w.id === v ? { ...w, open: !1, exiting: !1, inCloseZone: !1 } : w
782
+ (w) => w.id === b ? { ...w, open: !1, exiting: !1, inCloseZone: !1 } : w
783
783
  )
784
784
  };
785
785
  });
786
- }, []), g = Y((v, x) => {
786
+ }, []), g = Y((b, x) => {
787
787
  l((y) => {
788
- const k = ce(y, v);
788
+ const k = ce(y, b);
789
789
  if (!k) return y;
790
790
  const { side: w } = k;
791
791
  return {
792
792
  ...y,
793
793
  [w]: y[w].map(
794
- (N) => N.id === v ? { ...N, inCloseZone: x } : N
794
+ (N) => N.id === b ? { ...N, inCloseZone: x } : N
795
795
  )
796
796
  };
797
797
  });
798
- }, []), b = Y((v) => {
798
+ }, []), v = Y((b) => {
799
799
  l((x) => {
800
- const y = ce(x, v);
800
+ const y = ce(x, b);
801
801
  if (!y) return x;
802
802
  const { side: k } = y;
803
803
  return {
804
804
  ...x,
805
805
  [k]: x[k].map(
806
- (w) => w.id === v ? { ...w, exiting: !0, inCloseZone: !1 } : w
806
+ (w) => w.id === b ? { ...w, exiting: !0, inCloseZone: !1 } : w
807
807
  )
808
808
  };
809
809
  }), setTimeout(() => {
810
810
  l((x) => {
811
- const y = ce(x, v);
811
+ const y = ce(x, b);
812
812
  if (!y) return x;
813
813
  const { side: k } = y;
814
814
  return {
815
815
  ...x,
816
816
  [k]: x[k].map(
817
- (w) => w.id === v ? { ...w, open: !1, exiting: !1, width: Q.snapMinWidth } : w
817
+ (w) => w.id === b ? { ...w, open: !1, exiting: !1, width: Q.snapMinWidth } : w
818
818
  )
819
819
  };
820
820
  });
821
821
  }, Q.exitAnimationDuration);
822
822
  }, []), C = Y(() => {
823
- const v = typeof window < "u" ? window.innerWidth : 1920;
824
- l(Tt(n, v));
823
+ const b = typeof window < "u" ? window.innerWidth : 1920;
824
+ l(Tt(n, b));
825
825
  }, [n]);
826
826
  return U(() => {
827
- const v = [
827
+ const b = [
828
828
  ...s.left.filter((y) => y.exiting),
829
829
  ...s.right.filter((y) => y.exiting)
830
830
  ];
831
- if (v.length === 0) return;
832
- const x = v.map((y) => setTimeout(() => {
831
+ if (b.length === 0) return;
832
+ const x = b.map((y) => setTimeout(() => {
833
833
  l((k) => {
834
834
  const w = ce(k, y.id);
835
835
  if (!w) return k;
@@ -853,7 +853,7 @@ function As(t) {
853
853
  closePanel: p,
854
854
  resetPanels: C,
855
855
  handleCloseZoneChange: g,
856
- handlePanelClose: b
856
+ handlePanelClose: v
857
857
  };
858
858
  }
859
859
  const Fr = S.memo(({
@@ -880,7 +880,7 @@ const Fr = S.memo(({
880
880
  return () => clearTimeout(x);
881
881
  }
882
882
  }, [r, l, p, i]);
883
- const b = r ? `calc(100% - ${a}px)` : "100%", C = s === "right" ? "animate-slideInRight" : "animate-slideInLeft", v = s === "right" ? "animate-slideOutRight" : "animate-slideOutLeft";
883
+ const v = r ? `calc(100% - ${a}px)` : "100%", C = s === "right" ? "animate-slideInRight" : "animate-slideInLeft", b = s === "right" ? "animate-slideOutRight" : "animate-slideOutLeft";
884
884
  return /* @__PURE__ */ e(
885
885
  "div",
886
886
  {
@@ -909,7 +909,7 @@ const Fr = S.memo(({
909
909
  className: f(
910
910
  "h-full",
911
911
  d,
912
- m ? v : C
912
+ m ? b : C
913
913
  ),
914
914
  children: n
915
915
  }
@@ -924,7 +924,7 @@ const Fr = S.memo(({
924
924
  c
925
925
  ),
926
926
  style: {
927
- width: b,
927
+ width: v,
928
928
  transitionDuration: `${l}ms`
929
929
  },
930
930
  children: /* @__PURE__ */ e("div", { className: "relative flex-1 overflow-hidden", children: t })
@@ -945,7 +945,7 @@ const Fr = S.memo(({
945
945
  className: f(
946
946
  "h-full",
947
947
  d,
948
- m ? v : C
948
+ m ? b : C
949
949
  ),
950
950
  children: n
951
951
  }
@@ -2010,9 +2010,9 @@ const de = (t) => t !== void 0 && {
2010
2010
  toggledTrailingIcon: h,
2011
2011
  borderRadius: p,
2012
2012
  color: g,
2013
- loading: b = !1,
2013
+ loading: v = !1,
2014
2014
  ...C
2015
- }, v) => {
2015
+ }, b) => {
2016
2016
  const x = "group inline-flex items-center justify-center font-semibold rounded-6 transition-all duration-200 focus:outline-none disabled:cursor-not-allowed", y = "disabled:bg-surface-3 disabled:!text-disabled", k = {
2017
2017
  brand: {
2018
2018
  primary: "bg-brand-primary-main text-white-uniform hover:bg-brand-primary-accent-3 active:bg-brand-primary-accent-3 focus:ring focus:ring-low-em",
@@ -2061,7 +2061,7 @@ const de = (t) => t !== void 0 && {
2061
2061
  color: "currentColor"
2062
2062
  }) : null, z = k[t]?.[n] ?? k[t]?.primary ?? "", Z = F(f(
2063
2063
  x,
2064
- b && "relative",
2064
+ v && "relative",
2065
2065
  z,
2066
2066
  N[r],
2067
2067
  p && `rounded-[${p}]`,
@@ -2074,7 +2074,7 @@ const de = (t) => t !== void 0 && {
2074
2074
  i === "only" && P && /* @__PURE__ */ e("span", { className: "group-disabled:!text-disabled", children: P }),
2075
2075
  (i === "trailing" || i === "both") && A && /* @__PURE__ */ e("span", { className: `group-disabled:!text-disabled ${T[r].trailing}`, children: A })
2076
2076
  ] });
2077
- return /* @__PURE__ */ e("button", { ref: v, className: Z, disabled: u || b, ...C, children: b ? /* @__PURE__ */ o(ee, { children: [
2077
+ return /* @__PURE__ */ e("button", { ref: b, className: Z, disabled: u || v, ...C, children: v ? /* @__PURE__ */ o(ee, { children: [
2078
2078
  /* @__PURE__ */ e("span", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e(
2079
2079
  "span",
2080
2080
  {
@@ -2494,7 +2494,7 @@ const xe = ({
2494
2494
  a
2495
2495
  );
2496
2496
  return /* @__PURE__ */ o("div", { className: h, ...s, children: [
2497
- l.map((g, b) => /* @__PURE__ */ e(
2497
+ l.map((g, v) => /* @__PURE__ */ e(
2498
2498
  "div",
2499
2499
  {
2500
2500
  className: "relative rounded-full border-2 border-white",
@@ -2507,7 +2507,7 @@ const xe = ({
2507
2507
  }
2508
2508
  )
2509
2509
  },
2510
- b
2510
+ v
2511
2511
  )),
2512
2512
  c && /* @__PURE__ */ o("div", { className: p, children: [
2513
2513
  "+",
@@ -2643,7 +2643,7 @@ const dl = ({
2643
2643
  }
2644
2644
  ), g = () => {
2645
2645
  m((x) => !x);
2646
- }, b = (x) => {
2646
+ }, v = (x) => {
2647
2647
  x.disabled || (x.onClick(), m(!1));
2648
2648
  }, C = () => {
2649
2649
  m(!1);
@@ -2657,7 +2657,7 @@ const dl = ({
2657
2657
  document.removeEventListener("mousedown", x);
2658
2658
  };
2659
2659
  }, [d]);
2660
- const v = () => {
2660
+ const b = () => {
2661
2661
  switch (u) {
2662
2662
  case "bottom-right":
2663
2663
  return "top-full right-0 mt-[6px]";
@@ -2707,14 +2707,14 @@ const dl = ({
2707
2707
  ),
2708
2708
  d && /* @__PURE__ */ e("div", { className: f(
2709
2709
  "absolute z-20 w-[150px] bg-white border border-gray-100 rounded-[16px] shadow-lg overflow-hidden",
2710
- v(),
2710
+ b(),
2711
2711
  l
2712
2712
  ), children: /* @__PURE__ */ e("div", { children: i.map((x, y) => /* @__PURE__ */ o(S.Fragment, { children: [
2713
2713
  y > 0 && /* @__PURE__ */ e("div", { className: "border-t border-gray-100" }),
2714
2714
  /* @__PURE__ */ e(
2715
2715
  "button",
2716
2716
  {
2717
- onClick: () => b(x),
2717
+ onClick: () => v(x),
2718
2718
  disabled: x.disabled,
2719
2719
  className: f(
2720
2720
  "w-full text-left pl-5 py-3 transition-colors duration-150 group",
@@ -2882,7 +2882,7 @@ const dl = ({
2882
2882
  const p = {
2883
2883
  neutral: "text-med-wm hover:text-high-em hover:border-low-em",
2884
2884
  info: "text-info-main hover:text-info-wm hover:border-info-accent-3"
2885
- }, g = "text-disabled pointer-events-none", b = {
2885
+ }, g = "text-disabled pointer-events-none", v = {
2886
2886
  xs: { text: "text-[10px]", leadingGap: "mr-[2px]", trailingGap: "ml-[2px]" },
2887
2887
  sm: { text: "text-[12px]", leadingGap: "mr-[2px]", trailingGap: "ml-[2px]" },
2888
2888
  md: { text: "text-[14px]", leadingGap: "mr-[4px]", trailingGap: "ml-[4px]" },
@@ -2892,7 +2892,7 @@ const dl = ({
2892
2892
  sm: 12,
2893
2893
  md: 16,
2894
2894
  lg: 20
2895
- }, v = s && i && S.isValidElement(i) ? S.cloneElement(i, {
2895
+ }, b = s && i && S.isValidElement(i) ? S.cloneElement(i, {
2896
2896
  size: C[n],
2897
2897
  color: "currentColor"
2898
2898
  }) : null, x = l && a && S.isValidElement(a) ? S.cloneElement(a, {
@@ -2907,7 +2907,7 @@ const dl = ({
2907
2907
  !c && "border-b-2 border-transparent",
2908
2908
  !r && !c && p[t],
2909
2909
  !r && c && (t === "neutral" ? "text-high-em" : "text-info-accent-1"),
2910
- b[n].text,
2910
+ v[n].text,
2911
2911
  {
2912
2912
  "w-full justify-between": u === "end"
2913
2913
  },
@@ -2920,9 +2920,9 @@ const dl = ({
2920
2920
  ...h,
2921
2921
  children: [
2922
2922
  /* @__PURE__ */ o("span", { className: "inline-flex items-center", children: [
2923
- v && /* @__PURE__ */ e("span", { className: b[n].leadingGap, children: v }),
2923
+ b && /* @__PURE__ */ e("span", { className: v[n].leadingGap, children: b }),
2924
2924
  /* @__PURE__ */ e("span", { children: d }),
2925
- u === "inline" && /* @__PURE__ */ e("span", { className: b[n].trailingGap, children: x })
2925
+ u === "inline" && /* @__PURE__ */ e("span", { className: v[n].trailingGap, children: x })
2926
2926
  ] }),
2927
2927
  u === "end" && /* @__PURE__ */ e("span", { className: "shrink-0", children: x })
2928
2928
  ]
@@ -3014,8 +3014,8 @@ const dl = ({
3014
3014
  className: l
3015
3015
  }, u) => {
3016
3016
  const [c, d] = H(s), m = r ?? c, h = r !== void 0, p = () => {
3017
- const b = !m;
3018
- h || d(b), i?.(b);
3017
+ const v = !m;
3018
+ h || d(v), i?.(v);
3019
3019
  }, g = F(
3020
3020
  f(
3021
3021
  "bg-surface-2 rounded-t-3 overflow-hidden",
@@ -3135,7 +3135,7 @@ const un = ({
3135
3135
  defaultCollapsed: l = !1,
3136
3136
  className: u
3137
3137
  }, c) => {
3138
- const p = n.length > 3 ? 150 : void 0, g = n.filter((y) => y.checked).length, b = n.length, C = b > 0 ? Math.round(g / b * 100) : 0, v = (y, k) => {
3138
+ const p = n.length > 3 ? 150 : void 0, g = n.filter((y) => y.checked).length, v = n.length, C = v > 0 ? Math.round(g / v * 100) : 0, b = (y, k) => {
3139
3139
  r?.(y, k);
3140
3140
  };
3141
3141
  return /* @__PURE__ */ e(
@@ -3148,7 +3148,7 @@ const un = ({
3148
3148
  " ",
3149
3149
  g,
3150
3150
  "/",
3151
- b
3151
+ v
3152
3152
  ] }),
3153
3153
  /* @__PURE__ */ e(un, { progress: C, variant: "none", className: "h-2" })
3154
3154
  ] }),
@@ -3170,7 +3170,7 @@ const un = ({
3170
3170
  size: "medium",
3171
3171
  checked: y.checked,
3172
3172
  disabled: y.disabled,
3173
- onChange: (w) => v(y.id, w.target.checked)
3173
+ onChange: (w) => b(y.id, w.target.checked)
3174
3174
  }
3175
3175
  ),
3176
3176
  /* @__PURE__ */ e(
@@ -3271,14 +3271,14 @@ const Ia = {
3271
3271
  const g = p ? S.cloneElement(p, {
3272
3272
  size: d.icon,
3273
3273
  color: "currentColor"
3274
- }) : null, b = (v) => {
3275
- v.stopPropagation(), a && a(v);
3274
+ }) : null, v = (b) => {
3275
+ b.stopPropagation(), a && a(b);
3276
3276
  }, C = () => {
3277
- const v = {
3277
+ const b = {
3278
3278
  xs: { left: "pl-4", right: "pr-4", both: "px-4" },
3279
3279
  sm: { left: "pl-6", right: "pr-6", both: "px-6" }
3280
3280
  }, x = !!h, y = !!g;
3281
- return !x && !y ? v[n].both : !x && y ? v[n].left : x && !y ? v[n].right : "";
3281
+ return !x && !y ? b[n].both : !x && y ? b[n].left : x && !y ? b[n].right : "";
3282
3282
  };
3283
3283
  return /* @__PURE__ */ o(
3284
3284
  "button",
@@ -3301,7 +3301,7 @@ const Ia = {
3301
3301
  {
3302
3302
  className: "ml-1 p-0.5 rounded-full",
3303
3303
  role: "button",
3304
- onClick: b,
3304
+ onClick: v,
3305
3305
  children: g
3306
3306
  }
3307
3307
  )
@@ -3612,12 +3612,12 @@ const Ia = {
3612
3612
  className: l,
3613
3613
  ...u
3614
3614
  }) => {
3615
- const [c, d] = H("categories"), [m, h] = H(null), p = Ra[n], g = (v) => {
3616
- h(v), d("items"), r?.(v.id);
3617
- }, b = () => {
3615
+ const [c, d] = H("categories"), [m, h] = H(null), p = Ra[n], g = (b) => {
3616
+ h(b), d("items"), r?.(b.id);
3617
+ }, v = () => {
3618
3618
  d("categories"), h(null);
3619
- }, C = (v) => {
3620
- m && i?.(m.id, v.id);
3619
+ }, C = (b) => {
3620
+ m && i?.(m.id, b.id);
3621
3621
  };
3622
3622
  return /* @__PURE__ */ o(
3623
3623
  "div",
@@ -3639,41 +3639,41 @@ const Ia = {
3639
3639
  {
3640
3640
  config: p,
3641
3641
  category: m,
3642
- onBack: b
3642
+ onBack: v
3643
3643
  }
3644
3644
  ) : null,
3645
3645
  c === "categories" ? (
3646
3646
  // Categories view
3647
- t.map((v) => /* @__PURE__ */ e(
3647
+ t.map((b) => /* @__PURE__ */ e(
3648
3648
  Vt,
3649
3649
  {
3650
3650
  variant: "type-1",
3651
3651
  size: n,
3652
- title: v.title,
3653
- leadingTag: v.leadingTag,
3652
+ title: b.title,
3653
+ leadingTag: b.leadingTag,
3654
3654
  trailingButton: {
3655
3655
  icon: /* @__PURE__ */ e(Ue, {}),
3656
- onClick: () => g(v),
3656
+ onClick: () => g(b),
3657
3657
  variant: "neutral",
3658
3658
  hierarchy: "secondary"
3659
3659
  },
3660
- onClick: () => g(v)
3660
+ onClick: () => g(b)
3661
3661
  },
3662
- v.id
3662
+ b.id
3663
3663
  ))
3664
3664
  ) : m ? (
3665
3665
  // Items view
3666
- m.items.map((v) => /* @__PURE__ */ e(
3666
+ m.items.map((b) => /* @__PURE__ */ e(
3667
3667
  Vt,
3668
3668
  {
3669
3669
  variant: "type-2",
3670
3670
  size: n,
3671
- title: v.title,
3672
- tag: v.tag,
3673
- description: v.description,
3674
- onClick: () => C(v)
3671
+ title: b.title,
3672
+ tag: b.tag,
3673
+ description: b.description,
3674
+ onClick: () => C(b)
3675
3675
  },
3676
- v.id
3676
+ b.id
3677
3677
  ))
3678
3678
  ) : null,
3679
3679
  /* @__PURE__ */ e(Ea, { config: p })
@@ -3927,14 +3927,14 @@ const Ia = {
3927
3927
  customBackground: h,
3928
3928
  placeholderColor: p,
3929
3929
  multiline: g,
3930
- customFontWeight: b,
3930
+ customFontWeight: v,
3931
3931
  fontSize: C,
3932
- customFontSize: v,
3932
+ customFontSize: b,
3933
3933
  hintIconVariant: x,
3934
3934
  onInputClick: y,
3935
3935
  ...k
3936
3936
  }, w) => {
3937
- const N = ja[t], M = Aa[n], I = m === "password", [T, V] = H(!1), $ = I && T ? "text" : m, P = v || C, A = {
3937
+ const N = ja[t], M = Aa[n], I = m === "password", [T, V] = H(!1), $ = I && T ? "text" : m, P = b || C, A = {
3938
3938
  xs: "text-xs",
3939
3939
  sm: "text-sm",
3940
3940
  md: "text-base",
@@ -3943,13 +3943,13 @@ const Ia = {
3943
3943
  }, z = P && A[P] || void 0, Z = P && !A[P] ? { fontSize: P } : void 0, W = (ae) => {
3944
3944
  const le = ae.currentTarget;
3945
3945
  le.style.height = "auto", le.style.height = `${le.scrollHeight}px`, k.onChange && k.onChange(ae);
3946
- }, L = h, E = L ? /^[a-z]+-[a-z0-9-]+$/i.test(L) ? `var(--${L})` : L : void 0, _ = b || void 0, ne = (ae) => {
3946
+ }, L = h, E = L ? /^[a-z]+-[a-z0-9-]+$/i.test(L) ? `var(--${L})` : L : void 0, _ = v || void 0, ne = (ae) => {
3947
3947
  y && (ae.preventDefault(), y());
3948
3948
  }, ue = F(f(
3949
3949
  "w-full bg-transparent text-placeholder focus:outline-none",
3950
3950
  !g && "h-full",
3951
3951
  g ? M.textareaPadding : M.inputPadding,
3952
- !b && "font-medium",
3952
+ !v && "font-medium",
3953
3953
  !P && M.fontSize,
3954
3954
  // Apply size-specific font size if no custom font size
3955
3955
  N.placeholder,
@@ -4134,9 +4134,9 @@ const Fa = {
4134
4134
  customTitleColor: h,
4135
4135
  customBackgroundColor: p,
4136
4136
  customHoverColor: g,
4137
- customLeadingIconColor: b,
4137
+ customLeadingIconColor: v,
4138
4138
  checked: C = !1,
4139
- indeterminate: v = !1,
4139
+ indeterminate: b = !1,
4140
4140
  onCheckboxChange: x,
4141
4141
  leadingImageUrl: y,
4142
4142
  leadingImageAlt: k = "List item image",
@@ -4178,7 +4178,7 @@ const Fa = {
4178
4178
  {
4179
4179
  size: z.checkbox,
4180
4180
  checked: C,
4181
- indeterminate: v,
4181
+ indeterminate: b,
4182
4182
  onChange: W,
4183
4183
  disabled: n
4184
4184
  }
@@ -4192,7 +4192,7 @@ const Fa = {
4192
4192
  alt: k
4193
4193
  }
4194
4194
  ) }),
4195
- a && /* @__PURE__ */ e("div", { className: "shrink-0", children: /* @__PURE__ */ e(j, { size: z.leadingIcon, color: n ? "var(--text-disabled)" : b || "var(--med-em)", children: w || /* @__PURE__ */ e(Qn, {}) }) }),
4195
+ a && /* @__PURE__ */ e("div", { className: "shrink-0", children: /* @__PURE__ */ e(j, { size: z.leadingIcon, color: n ? "var(--text-disabled)" : v || "var(--med-em)", children: w || /* @__PURE__ */ e(Qn, {}) }) }),
4196
4196
  /* @__PURE__ */ o("div", { className: "flex flex-col gap-0 justify-start items-start min-w-0 shrink mr-8", children: [
4197
4197
  /* @__PURE__ */ e(
4198
4198
  "span",
@@ -4262,7 +4262,7 @@ const Fa = {
4262
4262
  className: c,
4263
4263
  ...d
4264
4264
  }) => {
4265
- const m = Za[i], h = !!u, p = S.useRef(null), [g, b] = S.useState({
4265
+ const m = Za[i], h = !!u, p = S.useRef(null), [g, v] = S.useState({
4266
4266
  position: "fixed",
4267
4267
  visibility: "hidden",
4268
4268
  top: 0,
@@ -4271,13 +4271,13 @@ const Fa = {
4271
4271
  });
4272
4272
  S.useLayoutEffect(() => {
4273
4273
  if (!h) return;
4274
- const v = () => {
4274
+ const b = () => {
4275
4275
  if (!u?.current || !p.current) return;
4276
4276
  const x = u.current.getBoundingClientRect(), y = p.current.getBoundingClientRect(), k = x.bottom + y.height + 8 > window.innerHeight ? x.top - y.height - 8 : x.bottom + 8, w = x.left + y.width > window.innerWidth ? x.right - y.width : x.left;
4277
- b({ position: "fixed", top: k, left: w, visibility: "visible", zIndex: 50 });
4277
+ v({ position: "fixed", top: k, left: w, visibility: "visible", zIndex: 50 });
4278
4278
  };
4279
- return v(), window.addEventListener("scroll", v, !0), window.addEventListener("resize", v), () => {
4280
- window.removeEventListener("scroll", v, !0), window.removeEventListener("resize", v);
4279
+ return b(), window.addEventListener("scroll", b, !0), window.addEventListener("resize", b), () => {
4280
+ window.removeEventListener("scroll", b, !0), window.removeEventListener("resize", b);
4281
4281
  };
4282
4282
  }, [u, h]);
4283
4283
  const C = /* @__PURE__ */ o(
@@ -4316,8 +4316,8 @@ const Fa = {
4316
4316
  ),
4317
4317
  /* @__PURE__ */ e("div", { className: "border-t border-surface-3" })
4318
4318
  ] }),
4319
- t.map((v, x) => {
4320
- const { id: y, showDividerAfter: k, onClick: w, onSelect: N, customBackgroundColor: M, customHoverColor: I, ...T } = v, V = y ? a.includes(y) : !1, $ = x === t.length - 1;
4319
+ t.map((b, x) => {
4320
+ const { id: y, showDividerAfter: k, onClick: w, onSelect: N, customBackgroundColor: M, customHoverColor: I, ...T } = b, V = y ? a.includes(y) : !1, $ = x === t.length - 1;
4321
4321
  return /* @__PURE__ */ o(S.Fragment, { children: [
4322
4322
  /* @__PURE__ */ e(
4323
4323
  ct,
@@ -4466,7 +4466,7 @@ const Fa = {
4466
4466
  l(p), a?.(p);
4467
4467
  }, d = (h, p) => p.length === 0 ? null : /* @__PURE__ */ o("div", { children: [
4468
4468
  /* @__PURE__ */ e("div", { className: "px-8 py-8", children: /* @__PURE__ */ e("h3", { className: "text-xs font-semibold text-low-em", children: h }) }),
4469
- p.map((g, b) => /* @__PURE__ */ o(S.Fragment, { children: [
4469
+ p.map((g, v) => /* @__PURE__ */ o(S.Fragment, { children: [
4470
4470
  /* @__PURE__ */ e(
4471
4471
  Oa,
4472
4472
  {
@@ -4477,7 +4477,7 @@ const Fa = {
4477
4477
  onClick: () => n?.(g)
4478
4478
  }
4479
4479
  ),
4480
- b < p.length - 1 && /* @__PURE__ */ e("div", { className: "border-b border-surface-2" })
4480
+ v < p.length - 1 && /* @__PURE__ */ e("div", { className: "border-b border-surface-2" })
4481
4481
  ] }, g.id))
4482
4482
  ] }, h), m = u.today.length === 0 && u.last7Days.length === 0 && u.last30Days.length === 0 && u.last90Days.length === 0;
4483
4483
  return /* @__PURE__ */ o("div", { className: f("flex flex-col", i), children: [
@@ -4524,10 +4524,10 @@ const Fa = {
4524
4524
  const C = m.current?.querySelector("textarea");
4525
4525
  if (!C) return;
4526
4526
  C.style.height = "0px", C.style.overflow = "hidden";
4527
- const v = C.scrollHeight, x = Math.max(p, Math.min(v, g));
4528
- C.style.height = `${x}px`, C.style.overflow = v > g ? "auto" : "hidden";
4527
+ const b = C.scrollHeight, x = Math.max(p, Math.min(b, g));
4528
+ C.style.height = `${x}px`, C.style.overflow = b > g ? "auto" : "hidden";
4529
4529
  }, [t, p, g]);
4530
- const b = (C) => {
4530
+ const v = (C) => {
4531
4531
  C.key === "Enter" && !C.shiftKey && (C.preventDefault(), r?.());
4532
4532
  };
4533
4533
  return /* @__PURE__ */ o(
@@ -4557,7 +4557,7 @@ const Fa = {
4557
4557
  placeholder: i,
4558
4558
  value: t,
4559
4559
  onChange: (C) => n?.(C.target.value),
4560
- onKeyDown: b,
4560
+ onKeyDown: v,
4561
4561
  resize: "none",
4562
4562
  className: "[&_textarea]:!min-h-0"
4563
4563
  }
@@ -4749,9 +4749,9 @@ const Fa = {
4749
4749
  onSettingsClick: h,
4750
4750
  onCloseClick: p,
4751
4751
  containerWidth: g = 0,
4752
- historialItems: b = [],
4752
+ historialItems: v = [],
4753
4753
  onHistorialItemClick: C,
4754
- historialSearchPlaceholder: v,
4754
+ historialSearchPlaceholder: b,
4755
4755
  onHistorialSearchChange: x,
4756
4756
  showChatInput: y = !0,
4757
4757
  chatInputValue: k,
@@ -4790,9 +4790,9 @@ const Fa = {
4790
4790
  c === "historial" ? /* @__PURE__ */ e(
4791
4791
  Ga,
4792
4792
  {
4793
- items: b,
4793
+ items: v,
4794
4794
  onItemClick: C,
4795
- searchPlaceholder: v,
4795
+ searchPlaceholder: b,
4796
4796
  onSearchChange: x,
4797
4797
  className: "flex-1 overflow-y-auto"
4798
4798
  }
@@ -4894,11 +4894,11 @@ const Xa = {
4894
4894
  size: void 0
4895
4895
  };
4896
4896
  return S.cloneElement(V, P);
4897
- }, p = !!l && r !== "disabled", g = !!a && c, b = !!s && d, C = Xa[t], v = ei[r], x = ti(n, r), y = F(
4897
+ }, p = !!l && r !== "disabled", g = !!a && c, v = !!s && d, C = Xa[t], b = ei[r], x = ti(n, r), y = F(
4898
4898
  // Base styles
4899
4899
  "inline-flex items-center border border-solid transition-all duration-150 rounded-full font-family-inter",
4900
4900
  // State styles
4901
- v,
4901
+ b,
4902
4902
  // Size styles
4903
4903
  C.container,
4904
4904
  // State specific styles (Sobreescribe los estilos de theme y size)
@@ -4929,7 +4929,7 @@ const Xa = {
4929
4929
  width: `${w}px`,
4930
4930
  height: `${w}px`
4931
4931
  },
4932
- children: b ? h(s) : null
4932
+ children: v ? h(s) : null
4933
4933
  }
4934
4934
  );
4935
4935
  return /* @__PURE__ */ o(
@@ -5089,9 +5089,9 @@ const Xa = {
5089
5089
  value: h,
5090
5090
  onChange: p,
5091
5091
  placeholder: g,
5092
- className: b,
5092
+ className: v,
5093
5093
  placeholderColor: C,
5094
- inputTextColor: v,
5094
+ inputTextColor: b,
5095
5095
  backgroundColor: x,
5096
5096
  chevronColor: y = "currentColor",
5097
5097
  optionActiveColor: k = "bg-primary-500",
@@ -5106,7 +5106,7 @@ const Xa = {
5106
5106
  "w-full flex-1 bg-transparent focus:outline-none",
5107
5107
  V.input,
5108
5108
  C,
5109
- v
5109
+ b
5110
5110
  )
5111
5111
  ), Z = F(
5112
5112
  f(
@@ -5118,7 +5118,7 @@ const Xa = {
5118
5118
  x
5119
5119
  )
5120
5120
  );
5121
- return /* @__PURE__ */ o("div", { className: f("flex flex-col gap-1.5", b), children: [
5121
+ return /* @__PURE__ */ o("div", { className: f("flex flex-col gap-1.5", v), children: [
5122
5122
  a && /* @__PURE__ */ e("label", { className: "font-medium text-sm text-gray-800", children: a }),
5123
5123
  /* @__PURE__ */ e(He, { value: h, onChange: p, disabled: l, children: /* @__PURE__ */ o("div", { className: "relative", children: [
5124
5124
  /* @__PURE__ */ o("div", { className: Z, children: [
@@ -5236,7 +5236,7 @@ const Xa = {
5236
5236
  onClick: p,
5237
5237
  state: g = "default"
5238
5238
  }) => {
5239
- const b = {
5239
+ const v = {
5240
5240
  xs: "text-xs",
5241
5241
  sm: "text-sm",
5242
5242
  base: "text-base",
@@ -5248,12 +5248,12 @@ const Xa = {
5248
5248
  base: 18,
5249
5249
  lg: 20,
5250
5250
  xl: 24
5251
- }, v = {
5251
+ }, b = {
5252
5252
  normal: "font-normal",
5253
5253
  medium: "font-medium",
5254
5254
  semibold: "font-semibold",
5255
5255
  bold: "font-bold"
5256
- }, x = b[d] || void 0, y = b[d] ? void 0 : d, k = l ?? C[d] ?? 20, w = !!p && g !== "disabled", N = F(
5256
+ }, x = v[d] || void 0, y = v[d] ? void 0 : d, k = l ?? C[d] ?? 20, w = !!p && g !== "disabled", N = F(
5257
5257
  f(
5258
5258
  "flex border border-surface-3 w-full items-center px-6 h-14 text-left text-sm font-medium transition-colors rounded-xl",
5259
5259
  // State-specific styles
@@ -5270,7 +5270,7 @@ const Xa = {
5270
5270
  f(
5271
5271
  "flex-1 ml-6",
5272
5272
  x,
5273
- v[m],
5273
+ b[m],
5274
5274
  g === "disabled" ? "text-disabled" : h || "text-med-em",
5275
5275
  c
5276
5276
  )
@@ -5387,9 +5387,9 @@ const oi = {
5387
5387
  id: h,
5388
5388
  customHeight: p,
5389
5389
  customRadius: g,
5390
- customPlaceholderColor: b,
5390
+ customPlaceholderColor: v,
5391
5391
  customBackgroundColor: C,
5392
- leadingIcon: v,
5392
+ leadingIcon: b,
5393
5393
  showLeadingIcon: x = !0,
5394
5394
  hintIconVariant: y,
5395
5395
  menuMinHeight: k
@@ -5436,7 +5436,7 @@ const oi = {
5436
5436
  }, ae = () => {
5437
5437
  if (g)
5438
5438
  return { borderRadius: g };
5439
- }, le = b?.startsWith("var(") ? { color: b } : void 0, G = b && !b.startsWith("var(") ? b : void 0, q = C && !C.startsWith("#") && !C.startsWith("rgb") ? C : void 0, oe = C && (C.startsWith("#") || C.startsWith("rgb")) ? { backgroundColor: C } : void 0;
5439
+ }, le = v?.startsWith("var(") ? { color: v } : void 0, G = v && !v.startsWith("var(") ? v : void 0, q = C && !C.startsWith("#") && !C.startsWith("rgb") ? C : void 0, oe = C && (C.startsWith("#") || C.startsWith("rgb")) ? { backgroundColor: C } : void 0;
5440
5440
  return /* @__PURE__ */ o("div", { className: f("w-full flex flex-col gap-1.5", c), children: [
5441
5441
  i && /* @__PURE__ */ e(
5442
5442
  "label",
@@ -5477,7 +5477,7 @@ const oi = {
5477
5477
  x && /* @__PURE__ */ e("span", { className: f(
5478
5478
  "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3.5",
5479
5479
  l ? "text-disabled" : W ? w.selectedValue : w.placeholder
5480
- ), children: v ? S.isValidElement(v) ? S.cloneElement(v, { color: "currentColor" }) : v : /* @__PURE__ */ e(Qt, { size: N.icon, color: "currentColor" }) }),
5480
+ ), children: b ? S.isValidElement(b) ? S.cloneElement(b, { color: "currentColor" }) : b : /* @__PURE__ */ e(Qt, { size: N.icon, color: "currentColor" }) }),
5481
5481
  /* @__PURE__ */ e("span", { className: f("flex-1 min-w-0 truncate", x ? "pl-[36px]" : "pl-3.5"), children: W ? /* @__PURE__ */ e("span", { className: f(
5482
5482
  N.selectText,
5483
5483
  l ? ke.selectedValue : w.selectedValue
@@ -5943,11 +5943,11 @@ const wl = ({
5943
5943
  centerFullHeight: h = !0,
5944
5944
  ...p
5945
5945
  } = t, g = S.Children.toArray(l).find(
5946
- (v) => S.isValidElement(v) && v.type === pn
5947
- ), b = S.Children.toArray(l).find(
5948
- (v) => S.isValidElement(v) && v.type === gn
5946
+ (b) => S.isValidElement(b) && b.type === pn
5947
+ ), v = S.Children.toArray(l).find(
5948
+ (b) => S.isValidElement(b) && b.type === gn
5949
5949
  ), C = S.Children.toArray(l).find(
5950
- (v) => S.isValidElement(v) && v.type === xn
5950
+ (b) => S.isValidElement(b) && b.type === xn
5951
5951
  );
5952
5952
  return /* @__PURE__ */ e(
5953
5953
  "header",
@@ -5979,7 +5979,7 @@ const wl = ({
5979
5979
  ]
5980
5980
  }
5981
5981
  ),
5982
- b && /* @__PURE__ */ e(
5982
+ v && /* @__PURE__ */ e(
5983
5983
  "div",
5984
5984
  {
5985
5985
  className: J(
@@ -5988,7 +5988,7 @@ const wl = ({
5988
5988
  d !== void 0 ? "" : "flex-1"
5989
5989
  ),
5990
5990
  style: d !== void 0 ? { width: `${d}%` } : void 0,
5991
- children: b
5991
+ children: v
5992
5992
  }
5993
5993
  ),
5994
5994
  /* @__PURE__ */ e(
@@ -6176,7 +6176,7 @@ const gi = {
6176
6176
  disabled: l = !1,
6177
6177
  initialPreviewUrl: u
6178
6178
  }) => {
6179
- const c = O(null), d = O(0), [m, h] = H(!1), [p, g] = H(u || null), [b, C] = H(!1), [v, x] = H(null), y = gi[n], k = xi[r], w = (z) => {
6179
+ const c = O(null), d = O(0), [m, h] = H(!1), [p, g] = H(u || null), [v, C] = H(!1), [b, x] = H(null), y = gi[n], k = xi[r], w = (z) => {
6180
6180
  if (s && z.size > s) {
6181
6181
  const Z = (s / 1048576).toFixed(1);
6182
6182
  x(`File size must be less than ${Z}MB`);
@@ -6245,11 +6245,11 @@ const gi = {
6245
6245
  alt: "Preview",
6246
6246
  className: f(
6247
6247
  "w-full h-full object-cover transition-all duration-200",
6248
- b && "brightness-90"
6248
+ v && "brightness-90"
6249
6249
  )
6250
6250
  }
6251
6251
  ),
6252
- b && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center transition-all duration-200", children: /* @__PURE__ */ e(
6252
+ v && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center transition-all duration-200", children: /* @__PURE__ */ e(
6253
6253
  R,
6254
6254
  {
6255
6255
  onClick: $,
@@ -6424,9 +6424,9 @@ const wi = K(
6424
6424
  id: h,
6425
6425
  name: p,
6426
6426
  autoComplete: g,
6427
- maxLength: b,
6427
+ maxLength: v,
6428
6428
  required: C,
6429
- onBlur: v,
6429
+ onBlur: b,
6430
6430
  onFocus: x,
6431
6431
  onInvalid: y,
6432
6432
  "aria-label": k = "Search",
@@ -6501,7 +6501,7 @@ const wi = K(
6501
6501
  onChange: _,
6502
6502
  onKeyDown: ne,
6503
6503
  onFocus: ue,
6504
- onBlur: v,
6504
+ onBlur: b,
6505
6505
  onInvalid: y,
6506
6506
  variant: G,
6507
6507
  hint: a,
@@ -6512,7 +6512,7 @@ const wi = K(
6512
6512
  id: h,
6513
6513
  name: p,
6514
6514
  autoComplete: g,
6515
- maxLength: b,
6515
+ maxLength: v,
6516
6516
  required: C,
6517
6517
  "aria-label": k,
6518
6518
  ...M
@@ -6608,7 +6608,7 @@ const kl = ({
6608
6608
  }) => {
6609
6609
  if (c)
6610
6610
  return t;
6611
- const b = d || m, C = {};
6611
+ const v = d || m, C = {};
6612
6612
  return h && (C.backgroundColor = h), p && (C.color = p), g && (C.fontSize = g), /* @__PURE__ */ o(re.Root, { delayDuration: u, children: [
6613
6613
  /* @__PURE__ */ e(re.Trigger, { asChild: !0, children: t }),
6614
6614
  /* @__PURE__ */ e(re.Portal, { children: /* @__PURE__ */ o(
@@ -6632,9 +6632,9 @@ const kl = ({
6632
6632
  ),
6633
6633
  style: Object.keys(C).length > 0 ? C : void 0,
6634
6634
  children: [
6635
- /* @__PURE__ */ o("div", { className: f(b && "flex flex-col gap-8"), children: [
6635
+ /* @__PURE__ */ o("div", { className: f(v && "flex flex-col gap-8"), children: [
6636
6636
  /* @__PURE__ */ e("div", { children: n }),
6637
- b && /* @__PURE__ */ o("div", { className: "flex gap-4 items-center w-full", children: [
6637
+ v && /* @__PURE__ */ o("div", { className: "flex gap-4 items-center w-full", children: [
6638
6638
  d && /* @__PURE__ */ e(
6639
6639
  R,
6640
6640
  {
@@ -7008,7 +7008,7 @@ function Li({
7008
7008
  label: Si(a, i),
7009
7009
  placeholder: i,
7010
7010
  value: d,
7011
- onChange: (b) => m(b.target.value),
7011
+ onChange: (v) => m(v.target.value),
7012
7012
  disabled: c,
7013
7013
  variant: "outlined",
7014
7014
  size: "md"
@@ -7061,9 +7061,9 @@ function zi({
7061
7061
  recommendedLabel: h = "Recommended",
7062
7062
  recommendedIcon: p,
7063
7063
  loading: g = !1,
7064
- ctaVariant: b = "neutral",
7064
+ ctaVariant: v = "neutral",
7065
7065
  ctaHierarchy: C = "primary",
7066
- sectionColor: v = "bg-white",
7066
+ sectionColor: b = "bg-white",
7067
7067
  sectionTextColor: x,
7068
7068
  className: y
7069
7069
  }) {
@@ -7080,7 +7080,7 @@ function zi({
7080
7080
  }
7081
7081
  ) }) }),
7082
7082
  /* @__PURE__ */ o("div", { className: "bg-surface-2 border border-surface-3 rounded-8 overflow-hidden w-full flex flex-col flex-1", children: [
7083
- /* @__PURE__ */ o("div", { className: f("flex items-start justify-between p-8 border-b border-surface-3", v), children: [
7083
+ /* @__PURE__ */ o("div", { className: f("flex items-start justify-between p-8 border-b border-surface-3", b), children: [
7084
7084
  /* @__PURE__ */ e("span", { className: f("text-xl font-semibold", x ?? "text-high-em"), children: t }),
7085
7085
  /* @__PURE__ */ e("div", { className: "flex items-baseline gap-4", children: i ?? /* @__PURE__ */ o(ee, { children: [
7086
7086
  /* @__PURE__ */ e("span", { className: f("text-2xl font-bold leading-none", x ?? "text-high-em"), children: n }),
@@ -7090,12 +7090,12 @@ function zi({
7090
7090
  ] })
7091
7091
  ] }) })
7092
7092
  ] }),
7093
- /* @__PURE__ */ o("div", { className: f("flex flex-col gap-8 p-8 border-b border-surface-3", v), children: [
7093
+ /* @__PURE__ */ o("div", { className: f("flex flex-col gap-8 p-8 border-b border-surface-3", b), children: [
7094
7094
  /* @__PURE__ */ e("p", { className: f("text-sm leading-relaxed", x ?? "text-high-em"), children: a }),
7095
7095
  /* @__PURE__ */ e(
7096
7096
  R,
7097
7097
  {
7098
- variant: b,
7098
+ variant: v,
7099
7099
  hierarchy: C,
7100
7100
  size: "md",
7101
7101
  className: "w-full",
@@ -7195,36 +7195,37 @@ const St = ({
7195
7195
  badgeStatus: r,
7196
7196
  badgeStatusState: i,
7197
7197
  onButtonAction: a,
7198
- stackLabel: s,
7199
- powerLabel: l,
7200
- calendarLabel: u,
7201
- link1Label: c,
7202
- link1Href: d,
7203
- link2Label: m,
7204
- link2Href: h,
7205
- link2Status: p,
7206
- onCardClick: g,
7207
- className: b,
7208
- ...C
7209
- }, v) => {
7210
- const x = f(
7198
+ actionButtonRef: s,
7199
+ stackLabel: l,
7200
+ powerLabel: u,
7201
+ calendarLabel: c,
7202
+ link1Label: d,
7203
+ link1Href: m,
7204
+ link2Label: h,
7205
+ link2Href: p,
7206
+ link2Status: g,
7207
+ onCardClick: v,
7208
+ className: C,
7209
+ ...b
7210
+ }, x) => {
7211
+ const y = f(
7211
7212
  "flex flex-col overflow-hidden transition-all duration-200 w-full min-w-0 p-4 gap-3 border rounded-2xl border-surface-3",
7212
7213
  "bg-white",
7213
7214
  "p-6 md:p-8 gap-6 md:gap-8"
7214
- ), y = F(f(
7215
- x,
7216
- b
7215
+ ), k = F(f(
7216
+ y,
7217
+ C
7217
7218
  ));
7218
7219
  return /* @__PURE__ */ o(
7219
7220
  "div",
7220
7221
  {
7221
- ref: v,
7222
- className: y,
7223
- ...C,
7222
+ ref: x,
7223
+ className: k,
7224
+ ...b,
7224
7225
  children: [
7225
7226
  /* @__PURE__ */ o("div", { className: "flex-row flex justify-between", children: [
7226
7227
  /* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ e(j, { className: "!rounded-4", size: "2xl", imageUrl: n }) }),
7227
- /* @__PURE__ */ e("div", { className: "flex w-fit", children: /* @__PURE__ */ e(R, { size: "sm", leadingIcon: /* @__PURE__ */ e(j, { children: /* @__PURE__ */ e(oa, {}) }), icons: "only", hierarchy: "secondary", variant: "neutral", onClick: a }) })
7228
+ /* @__PURE__ */ e("div", { className: "flex w-fit", children: /* @__PURE__ */ e(R, { ref: s, size: "sm", leadingIcon: /* @__PURE__ */ e(j, { children: /* @__PURE__ */ e(oa, {}) }), icons: "only", hierarchy: "secondary", variant: "neutral", onClick: a }) })
7228
7229
  ] }),
7229
7230
  /* @__PURE__ */ o("div", { className: "flex-col flex justify-between gap-4", children: [
7230
7231
  /* @__PURE__ */ o("div", { className: "flex gap-5 items-center", children: [
@@ -7237,22 +7238,22 @@ const St = ({
7237
7238
  }[i], children: r }) })
7238
7239
  ] }),
7239
7240
  /* @__PURE__ */ o("div", { className: "flex flex-row gap-4", children: [
7240
- /* @__PURE__ */ e(fe, { label: s, labelSize: "sm", iconSize: "sm", gap: 4, icon: /* @__PURE__ */ e(ca, {}) }),
7241
- /* @__PURE__ */ e(fe, { label: l, labelSize: "sm", iconSize: "sm", gap: 4, icon: /* @__PURE__ */ e(da, {}) }),
7242
- /* @__PURE__ */ e(fe, { label: u, labelSize: "sm", iconSize: "sm", gap: 4, icon: /* @__PURE__ */ e(ha, {}) })
7241
+ /* @__PURE__ */ e(fe, { label: l, labelSize: "sm", iconSize: "sm", gap: 4, icon: /* @__PURE__ */ e(ca, {}) }),
7242
+ /* @__PURE__ */ e(fe, { label: u, labelSize: "sm", iconSize: "sm", gap: 4, icon: /* @__PURE__ */ e(da, {}) }),
7243
+ /* @__PURE__ */ e(fe, { label: c, labelSize: "sm", iconSize: "sm", gap: 4, icon: /* @__PURE__ */ e(ha, {}) })
7243
7244
  ] })
7244
7245
  ] }),
7245
7246
  /* @__PURE__ */ e(X, { direction: "horizontal" }),
7246
7247
  /* @__PURE__ */ o("div", { className: "flex-row flex justify-between gap-8", children: [
7247
7248
  /* @__PURE__ */ o("div", { className: "flex w-1/2 flex-col gap-2", children: [
7248
7249
  /* @__PURE__ */ e("span", { className: "text-sm text-low-em", children: "Subdomain" }),
7249
- /* @__PURE__ */ e("div", { className: "flex-row flex center items-center gap-4", children: /* @__PURE__ */ e(ve, { href: d, className: "w-fit", variant: "neutral", children: c }) })
7250
+ /* @__PURE__ */ e("div", { className: "flex-row flex center items-center gap-4", children: /* @__PURE__ */ e(ve, { href: m, className: "w-fit", variant: "neutral", children: d }) })
7250
7251
  ] }),
7251
7252
  /* @__PURE__ */ o("div", { className: "flex w-1/2 flex-col gap-2", children: [
7252
7253
  /* @__PURE__ */ e("span", { className: "text-sm text-low-em", children: "Database" }),
7253
7254
  /* @__PURE__ */ o("div", { className: "flex-row flex center items-center gap-4", children: [
7254
- /* @__PURE__ */ e(xe, { variant: "status", statusState: p, statusSize: "xs" }),
7255
- /* @__PURE__ */ e(ve, { href: h, trailingIcon: /* @__PURE__ */ e(la, {}), className: "w-fit", variant: "neutral", children: m })
7255
+ /* @__PURE__ */ e(xe, { variant: "status", statusState: g, statusSize: "xs" }),
7256
+ /* @__PURE__ */ e(ve, { href: p, trailingIcon: /* @__PURE__ */ e(la, {}), className: "w-fit", variant: "neutral", children: h })
7256
7257
  ] })
7257
7258
  ] })
7258
7259
  ] })
@@ -7366,7 +7367,7 @@ const jt = ({
7366
7367
  id: c,
7367
7368
  ...d
7368
7369
  }) => {
7369
- const m = Math.min(100, Math.max(0, t)), h = S.useId(), p = c || `progress-circle-${h}`, g = s ? `${p}-label` : void 0, b = nt[n], C = Ii[r], v = () => u || (s ? `Progreso: ${s}, ${m}% completado` : `Progreso: ${m}% completado`), x = b.size, y = (x - b.strokeWidth) / 2, k = 2 * Math.PI * y, w = k - m / 100 * k, N = () => i === "circle" ? nt[n].container : nt[n].halfCircle, M = () => /* @__PURE__ */ o(
7370
+ const m = Math.min(100, Math.max(0, t)), h = S.useId(), p = c || `progress-circle-${h}`, g = s ? `${p}-label` : void 0, v = nt[n], C = Ii[r], b = () => u || (s ? `Progreso: ${s}, ${m}% completado` : `Progreso: ${m}% completado`), x = v.size, y = (x - v.strokeWidth) / 2, k = 2 * Math.PI * y, w = k - m / 100 * k, N = () => i === "circle" ? nt[n].container : nt[n].halfCircle, M = () => /* @__PURE__ */ o(
7370
7371
  "svg",
7371
7372
  {
7372
7373
  width: x,
@@ -7376,7 +7377,7 @@ const jt = ({
7376
7377
  "aria-valuenow": m,
7377
7378
  "aria-valuemin": 0,
7378
7379
  "aria-valuemax": 100,
7379
- "aria-label": v(),
7380
+ "aria-label": b(),
7380
7381
  "aria-labelledby": g,
7381
7382
  "aria-live": "polite",
7382
7383
  "aria-atomic": "true",
@@ -7388,7 +7389,7 @@ const jt = ({
7388
7389
  cy: x / 2,
7389
7390
  r: y,
7390
7391
  stroke: "currentColor",
7391
- strokeWidth: b.strokeWidth,
7392
+ strokeWidth: v.strokeWidth,
7392
7393
  fill: "none",
7393
7394
  className: C.track,
7394
7395
  opacity: C.opacity
@@ -7401,7 +7402,7 @@ const jt = ({
7401
7402
  cy: x / 2,
7402
7403
  r: y,
7403
7404
  stroke: "currentColor",
7404
- strokeWidth: b.strokeWidth,
7405
+ strokeWidth: v.strokeWidth,
7405
7406
  fill: "none",
7406
7407
  className: C.fill,
7407
7408
  strokeDasharray: k,
@@ -7415,7 +7416,7 @@ const jt = ({
7415
7416
  ]
7416
7417
  }
7417
7418
  ), I = () => {
7418
- const T = b.strokeWidth, V = x, $ = x / 2 + T, P = (x - b.strokeWidth) / 2, A = T / 2, z = $ - T / 2, Z = x - T / 2, W = $ - T / 2, L = Math.PI * P * 2, E = L - m / 100 * L;
7419
+ const T = v.strokeWidth, V = x, $ = x / 2 + T, P = (x - v.strokeWidth) / 2, A = T / 2, z = $ - T / 2, Z = x - T / 2, W = $ - T / 2, L = Math.PI * P * 2, E = L - m / 100 * L;
7419
7420
  return /* @__PURE__ */ o(
7420
7421
  "svg",
7421
7422
  {
@@ -7429,7 +7430,7 @@ const jt = ({
7429
7430
  "aria-valuenow": m,
7430
7431
  "aria-valuemin": 0,
7431
7432
  "aria-valuemax": 100,
7432
- "aria-label": v(),
7433
+ "aria-label": b(),
7433
7434
  "aria-labelledby": g,
7434
7435
  "aria-live": "polite",
7435
7436
  "aria-atomic": "true",
@@ -7441,7 +7442,7 @@ const jt = ({
7441
7442
  fill: "none",
7442
7443
  strokeLinecap: "round",
7443
7444
  strokeLinejoin: "round",
7444
- strokeWidth: b.strokeWidth,
7445
+ strokeWidth: v.strokeWidth,
7445
7446
  stroke: "currentColor",
7446
7447
  className: C.track,
7447
7448
  opacity: C.opacity
@@ -7454,7 +7455,7 @@ const jt = ({
7454
7455
  fill: "none",
7455
7456
  strokeLinecap: "round",
7456
7457
  strokeLinejoin: "round",
7457
- strokeWidth: b.strokeWidth,
7458
+ strokeWidth: v.strokeWidth,
7458
7459
  stroke: "currentColor",
7459
7460
  className: C.fill,
7460
7461
  strokeDasharray: L,
@@ -7493,7 +7494,7 @@ const jt = ({
7493
7494
  {
7494
7495
  id: g,
7495
7496
  className: f(
7496
- b.labelFontSize,
7497
+ v.labelFontSize,
7497
7498
  C.label
7498
7499
  ),
7499
7500
  children: s
@@ -7503,8 +7504,8 @@ const jt = ({
7503
7504
  "span",
7504
7505
  {
7505
7506
  className: f(
7506
- b.fontSize,
7507
- b.lineHeight,
7507
+ v.fontSize,
7508
+ v.lineHeight,
7508
7509
  C.progressLabel
7509
7510
  ),
7510
7511
  style: { fontFamily: "var(--font-space-grotesk)" },
@@ -7519,8 +7520,8 @@ const jt = ({
7519
7520
  {
7520
7521
  className: f(
7521
7522
  "absolute left-0 right-0 flex flex-col items-center justify-center",
7522
- s ? b.halfCircleLabelPosition : "top-1/2",
7523
- s && b.labelSpace
7523
+ s ? v.halfCircleLabelPosition : "top-1/2",
7524
+ s && v.labelSpace
7524
7525
  ),
7525
7526
  children: [
7526
7527
  s && /* @__PURE__ */ e(
@@ -7528,7 +7529,7 @@ const jt = ({
7528
7529
  {
7529
7530
  id: g,
7530
7531
  className: f(
7531
- b.labelFontSize,
7532
+ v.labelFontSize,
7532
7533
  C.label
7533
7534
  ),
7534
7535
  children: s
@@ -7538,8 +7539,8 @@ const jt = ({
7538
7539
  "span",
7539
7540
  {
7540
7541
  className: f(
7541
- b.fontSize,
7542
- b.lineHeight,
7542
+ v.fontSize,
7543
+ v.lineHeight,
7543
7544
  C.progressLabel
7544
7545
  ),
7545
7546
  style: { fontFamily: "var(--font-space-grotesk)" },
@@ -7570,9 +7571,9 @@ const jt = ({
7570
7571
  typeof u == "boolean" && p(u);
7571
7572
  }, [u]);
7572
7573
  const g = () => {
7573
- const v = !h;
7574
- p(v), c && c(v);
7575
- }, b = S.useMemo(() => Array.from({ length: n }, (v, x) => {
7574
+ const b = !h;
7575
+ p(b), c && c(b);
7576
+ }, v = S.useMemo(() => Array.from({ length: n }, (b, x) => {
7576
7577
  const y = x + 1;
7577
7578
  let k;
7578
7579
  return y < t ? k = 100 : k = 0, {
@@ -7620,10 +7621,10 @@ const jt = ({
7620
7621
  animate: { opacity: 1 },
7621
7622
  exit: { opacity: 0 },
7622
7623
  transition: { duration: 0.2 },
7623
- children: b.map((v, x) => /* @__PURE__ */ e("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ e(
7624
+ children: v.map((b, x) => /* @__PURE__ */ e("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ e(
7624
7625
  jt,
7625
7626
  {
7626
- progress: v.progress
7627
+ progress: b.progress
7627
7628
  }
7628
7629
  ) }, x))
7629
7630
  },
@@ -7716,7 +7717,7 @@ const jt = ({
7716
7717
  initial: { opacity: 0 },
7717
7718
  animate: { opacity: 1 },
7718
7719
  transition: { delay: 0.1, duration: 0.2 },
7719
- children: b.map((v, x) => {
7720
+ children: v.map((b, x) => {
7720
7721
  const k = x + 1 === t;
7721
7722
  return /* @__PURE__ */ e(
7722
7723
  ie.div,
@@ -7733,11 +7734,11 @@ const jt = ({
7733
7734
  /* @__PURE__ */ e(
7734
7735
  jt,
7735
7736
  {
7736
- progress: v.progress
7737
+ progress: b.progress
7737
7738
  }
7738
7739
  ),
7739
- (v.progress !== 0 || k) && v.description && /* @__PURE__ */ e("div", { className: "text-sm text-[#2F343C] mt-3 font-semibold", children: v.description }),
7740
- v.progress === 0 && !k && v.description && /* @__PURE__ */ e("div", { className: "text-sm text-[#5A606B] mt-3 font-semibold", children: v.description })
7740
+ (b.progress !== 0 || k) && b.description && /* @__PURE__ */ e("div", { className: "text-sm text-[#2F343C] mt-3 font-semibold", children: b.description }),
7741
+ b.progress === 0 && !k && b.description && /* @__PURE__ */ e("div", { className: "text-sm text-[#5A606B] mt-3 font-semibold", children: b.description })
7741
7742
  ] })
7742
7743
  },
7743
7744
  x
@@ -7920,7 +7921,7 @@ const jt = ({
7920
7921
  }), [m, h] = S.useState(a.searchValue || ""), [p, g] = S.useState(() => ({
7921
7922
  pageIndex: (a.currentPage || 1) - 1,
7922
7923
  pageSize: a.itemsPerPage || 10
7923
- })), [b, C] = S.useState({});
7924
+ })), [v, C] = S.useState({});
7924
7925
  S.useEffect(() => {
7925
7926
  if (a.sortBy && a.sortDirection) {
7926
7927
  const w = [{ id: a.sortBy, desc: a.sortDirection === "desc" }];
@@ -7941,7 +7942,7 @@ const jt = ({
7941
7942
  w !== p.pageIndex && g((N) => ({ ...N, pageIndex: w }));
7942
7943
  }
7943
7944
  }, [a.currentPage, p.pageIndex]);
7944
- const v = S.useMemo(() => {
7945
+ const b = S.useMemo(() => {
7945
7946
  const w = t.map((N) => {
7946
7947
  const M = N.id === "__select" || N.type === "select", I = a.selectColumnSize ?? Vi, T = {
7947
7948
  id: N.id,
@@ -7977,9 +7978,9 @@ const jt = ({
7977
7978
  }), w;
7978
7979
  }, [t, a.selectable]), x = fr({
7979
7980
  data: n,
7980
- columns: v,
7981
+ columns: b,
7981
7982
  state: {
7982
- columnSizing: b,
7983
+ columnSizing: v,
7983
7984
  sorting: l,
7984
7985
  rowSelection: c,
7985
7986
  globalFilter: m,
@@ -8163,7 +8164,7 @@ const jt = ({
8163
8164
  ) })
8164
8165
  }
8165
8166
  );
8166
- const b = /* @__PURE__ */ o(
8167
+ const v = /* @__PURE__ */ o(
8167
8168
  "th",
8168
8169
  {
8169
8170
  className: f(
@@ -8249,7 +8250,7 @@ const jt = ({
8249
8250
  )
8250
8251
  ]
8251
8252
  }
8252
- ) : b;
8253
+ ) : v;
8253
8254
  }, Ft = ({ direction: t }) => t ? /* @__PURE__ */ e(
8254
8255
  Br,
8255
8256
  {
@@ -8422,7 +8423,7 @@ const jt = ({
8422
8423
  l.setPageIndex(w);
8423
8424
  }, p = (k) => {
8424
8425
  l.setPageSize(Number(k));
8425
- }, g = () => l.previousPage(), b = () => l.nextPage(), C = l.getFilteredRowModel().rows.length, { total: v } = ji(
8426
+ }, g = () => l.previousPage(), v = () => l.nextPage(), C = l.getFilteredRowModel().rows.length, { total: b } = ji(
8426
8427
  u.pageIndex,
8427
8428
  u.pageSize,
8428
8429
  n,
@@ -8454,7 +8455,7 @@ const jt = ({
8454
8455
  menuSize: "sm"
8455
8456
  }
8456
8457
  ),
8457
- /* @__PURE__ */ e("span", { className: "hidden lg:block text-med-em text-sm font-semibold", children: `/ ${String(v)}` })
8458
+ /* @__PURE__ */ e("span", { className: "hidden lg:block text-med-em text-sm font-semibold", children: `/ ${String(b)}` })
8458
8459
  ] }),
8459
8460
  /* @__PURE__ */ o("div", { className: "flex flex-row items-center w-full lg:w-auto justify-between lg:justify-end gap-4", children: [
8460
8461
  /* @__PURE__ */ o("div", { className: "flex items-center gap-4", children: [
@@ -8495,7 +8496,7 @@ const jt = ({
8495
8496
  /* @__PURE__ */ e(
8496
8497
  R,
8497
8498
  {
8498
- onClick: b,
8499
+ onClick: v,
8499
8500
  disabled: !m,
8500
8501
  variant: "brand",
8501
8502
  hierarchy: "primary",
@@ -8559,7 +8560,7 @@ const jt = ({
8559
8560
  className: "w-full border border-gray-300 rounded px-2 py-1 text-sm",
8560
8561
  children: [
8561
8562
  /* @__PURE__ */ e("option", { value: "", children: "All" }),
8562
- r?.map((g, b) => /* @__PURE__ */ e("option", { value: String(g.value), children: g.label }, b))
8563
+ r?.map((g, v) => /* @__PURE__ */ e("option", { value: String(g.value), children: g.label }, v))
8563
8564
  ]
8564
8565
  }
8565
8566
  );
@@ -8686,7 +8687,7 @@ const jt = ({
8686
8687
  ] })
8687
8688
  ] }) }),
8688
8689
  /* @__PURE__ */ e("div", { className: "max-h-60 overflow-y-auto", children: l.map((p) => {
8689
- const g = p.getIsVisible(), b = typeof p.columnDef.header == "string" ? p.columnDef.header : p.id;
8690
+ const g = p.getIsVisible(), v = typeof p.columnDef.header == "string" ? p.columnDef.header : p.id;
8690
8691
  return /* @__PURE__ */ o(
8691
8692
  "div",
8692
8693
  {
@@ -8709,7 +8710,7 @@ const jt = ({
8709
8710
  onClick: (C) => {
8710
8711
  C.stopPropagation(), p.toggleVisibility();
8711
8712
  },
8712
- children: b
8713
+ children: v
8713
8714
  }
8714
8715
  )
8715
8716
  ] }),
@@ -9153,8 +9154,8 @@ const qi = {
9153
9154
  tabPaddingX: p,
9154
9155
  tabListClassName: g
9155
9156
  }) => {
9156
- const b = t === "line-icons" || t === "only-icon" ? Bt.line : Bt[t], C = m ? b.list : b.list.replace(/border-b\s+border-surface-3/g, "").trim(), v = {};
9157
- h && (v.height = `${h}px`, v.alignItems = "flex-end");
9157
+ const v = t === "line-icons" || t === "only-icon" ? Bt.line : Bt[t], C = m ? v.list : v.list.replace(/border-b\s+border-surface-3/g, "").trim(), b = {};
9158
+ h && (b.height = `${h}px`, b.alignItems = "flex-end");
9158
9159
  const x = () => typeof l == "number" ? "" : l in rt ? rt[l] : rt.sm, y = typeof l == "number" ? { marginTop: `${l}px` } : {}, k = u ? {
9159
9160
  height: "100%",
9160
9161
  maxHeight: "100%",
@@ -9175,11 +9176,11 @@ const qi = {
9175
9176
  me.List,
9176
9177
  {
9177
9178
  className: f(C, g),
9178
- style: v,
9179
+ style: b,
9179
9180
  children: n.map((N) => /* @__PURE__ */ e(
9180
9181
  me,
9181
9182
  {
9182
- className: ({ selected: M }) => f(b.tab, M ? b.selected : b.unselected),
9183
+ className: ({ selected: M }) => f(v.tab, M ? v.selected : v.unselected),
9183
9184
  style: {
9184
9185
  ...s ? { paddingBottom: s } : {},
9185
9186
  ...p !== void 0 ? { paddingLeft: `${p}px`, paddingRight: `${p}px` } : {}
@@ -9252,25 +9253,25 @@ const qi = {
9252
9253
  tabWidth: u,
9253
9254
  scrollDistance: c = 300
9254
9255
  }) => {
9255
- const d = O(null), [m, h] = H(!1), [p, g] = H(!1), b = () => {
9256
+ const d = O(null), [m, h] = H(!1), [p, g] = H(!1), v = () => {
9256
9257
  if (!d.current) return;
9257
9258
  const { scrollLeft: x, scrollWidth: y, clientWidth: k } = d.current;
9258
9259
  h(x > 0), g(x < y - k - 1);
9259
9260
  };
9260
9261
  U(() => {
9261
- b();
9262
+ v();
9262
9263
  const x = d.current;
9263
9264
  if (x) {
9264
- x.addEventListener("scroll", b);
9265
- const y = new ResizeObserver(b);
9265
+ x.addEventListener("scroll", v);
9266
+ const y = new ResizeObserver(v);
9266
9267
  return y.observe(x), () => {
9267
- x.removeEventListener("scroll", b), y.disconnect();
9268
+ x.removeEventListener("scroll", v), y.disconnect();
9268
9269
  };
9269
9270
  }
9270
9271
  }, [t]);
9271
9272
  const C = () => {
9272
9273
  d.current && d.current.scrollBy({ left: -c, behavior: "smooth" });
9273
- }, v = () => {
9274
+ }, b = () => {
9274
9275
  d.current && d.current.scrollBy({ left: c, behavior: "smooth" });
9275
9276
  };
9276
9277
  return /* @__PURE__ */ e("div", { className: f("w-full h-full", n), children: /* @__PURE__ */ e(me.Group, { className: "h-full w-full", selectedIndex: r, onChange: i, children: /* @__PURE__ */ o("div", { className: "relative flex items-center border-x border-surface-3 h-full w-full", children: [
@@ -9326,7 +9327,7 @@ const qi = {
9326
9327
  p && /* @__PURE__ */ e(
9327
9328
  "button",
9328
9329
  {
9329
- onClick: s || v,
9330
+ onClick: s || b,
9330
9331
  className: "h-full hover:bg-surface-bg cursor-pointer px-6 border-x border-surface-3",
9331
9332
  "aria-label": "Scroll right",
9332
9333
  children: /* @__PURE__ */ e(j, { className: "text-low-em", size: "xs", children: /* @__PURE__ */ e(Ue, {}) })
@@ -9383,7 +9384,7 @@ const es = {
9383
9384
  customBackground: d,
9384
9385
  ...m
9385
9386
  }) => {
9386
- const h = es[t], p = ts[n], g = c || void 0, b = d ? /^[a-z]+-[a-z0-9-]+$/i.test(d) ? `var(--${d})` : d : void 0, C = {
9387
+ const h = es[t], p = ts[n], g = c || void 0, v = d ? /^[a-z]+-[a-z0-9-]+$/i.test(d) ? `var(--${d})` : d : void 0, C = {
9387
9388
  none: "resize-none",
9388
9389
  vertical: "resize-y",
9389
9390
  horizontal: "resize-x",
@@ -9400,7 +9401,7 @@ const es = {
9400
9401
  h.border,
9401
9402
  s && Le.wrapper
9402
9403
  ),
9403
- style: { backgroundColor: b },
9404
+ style: { backgroundColor: v },
9404
9405
  children: /* @__PURE__ */ e(
9405
9406
  "textarea",
9406
9407
  {
@@ -9857,14 +9858,14 @@ const Zl = ({
9857
9858
  viewOptions: l = [],
9858
9859
  buttonGroupSize: u = "sm"
9859
9860
  }) => {
9860
- const [c, d] = H(""), [m, h] = H("list"), p = n !== void 0 ? n : c, g = a !== void 0 ? a : m, b = Y(
9861
- (v) => {
9862
- const x = v.target.value;
9861
+ const [c, d] = H(""), [m, h] = H("list"), p = n !== void 0 ? n : c, g = a !== void 0 ? a : m, v = Y(
9862
+ (b) => {
9863
+ const x = b.target.value;
9863
9864
  r ? r(x) : d(x);
9864
9865
  },
9865
9866
  [r]
9866
- ), C = (v) => {
9867
- s ? s(v) : h(v);
9867
+ ), C = (b) => {
9868
+ s ? s(b) : h(b);
9868
9869
  };
9869
9870
  return /* @__PURE__ */ o("div", { className: `flex flex-col ${t}`, children: [
9870
9871
  /* @__PURE__ */ e(X, {}),
@@ -9875,7 +9876,7 @@ const Zl = ({
9875
9876
  type: "search",
9876
9877
  placeholder: i,
9877
9878
  value: p,
9878
- onChange: b,
9879
+ onChange: v,
9879
9880
  trailingIcon: /* @__PURE__ */ e(Qe, { size: 16, color: "currentColor" })
9880
9881
  }
9881
9882
  ) }),
@@ -10008,42 +10009,42 @@ const Gl = ({
10008
10009
  t.email && /* @__PURE__ */ e("p", { className: "text-xs text-low-em mt-1", children: t.email })
10009
10010
  ] }),
10010
10011
  /* @__PURE__ */ e("div", { className: "py-3", children: n.map((p, g) => /* @__PURE__ */ o(S.Fragment, { children: [
10011
- p.map((b) => /* @__PURE__ */ o(
10012
+ p.map((v) => /* @__PURE__ */ o(
10012
10013
  "button",
10013
10014
  {
10014
- onClick: () => m(b),
10015
- disabled: b.disabled || !!b.switch,
10015
+ onClick: () => m(v),
10016
+ disabled: v.disabled || !!v.switch,
10016
10017
  className: f(
10017
10018
  "w-full px-10 py-4 text-left text-sm flex items-center gap-3 transition-colors",
10018
- !b.switch && "hover:bg-surface-1",
10019
- b.destructive ? "text-danger-main" : "text-high-em",
10020
- b.disabled && "opacity-50 cursor-not-allowed"
10019
+ !v.switch && "hover:bg-surface-1",
10020
+ v.destructive ? "text-danger-main" : "text-high-em",
10021
+ v.disabled && "opacity-50 cursor-not-allowed"
10021
10022
  ),
10022
10023
  children: [
10023
- b.icon && /* @__PURE__ */ e("span", { className: "flex-shrink-0 flex items-center justify-center text-current", children: b.icon }),
10024
- /* @__PURE__ */ e("span", { className: "flex-1 font-normal", children: b.label }),
10025
- b.trailing && /* @__PURE__ */ e("span", { className: "flex-shrink-0", children: b.trailing }),
10026
- !b.trailing && b.badge && /* @__PURE__ */ e(
10024
+ v.icon && /* @__PURE__ */ e("span", { className: "flex-shrink-0 flex items-center justify-center text-current", children: v.icon }),
10025
+ /* @__PURE__ */ e("span", { className: "flex-1 font-normal", children: v.label }),
10026
+ v.trailing && /* @__PURE__ */ e("span", { className: "flex-shrink-0", children: v.trailing }),
10027
+ !v.trailing && v.badge && /* @__PURE__ */ e(
10027
10028
  xe,
10028
10029
  {
10029
- theme: b.badge.theme || "success",
10030
+ theme: v.badge.theme || "success",
10030
10031
  size: "xs",
10031
10032
  variant: "simple",
10032
- children: b.badge.label
10033
+ children: v.badge.label
10033
10034
  }
10034
10035
  ),
10035
- !b.trailing && b.switch && /* @__PURE__ */ e(
10036
+ !v.trailing && v.switch && /* @__PURE__ */ e(
10036
10037
  ls,
10037
10038
  {
10038
10039
  size: "small",
10039
- checked: b.switch.checked,
10040
- onChange: (C) => h(b, C.target.checked),
10040
+ checked: v.switch.checked,
10041
+ onChange: (C) => h(v, C.target.checked),
10041
10042
  onClick: (C) => C.stopPropagation()
10042
10043
  }
10043
10044
  )
10044
10045
  ]
10045
10046
  },
10046
- b.id
10047
+ v.id
10047
10048
  )),
10048
10049
  g < n.length - 1 && /* @__PURE__ */ e("div", { className: "my-3 border-t border-surface-3" })
10049
10050
  ] }, g)) })
@@ -10069,11 +10070,11 @@ const Gl = ({
10069
10070
  }, [t]);
10070
10071
  const p = m, g = (x) => {
10071
10072
  h(x), n && n(x);
10072
- }, b = () => {
10073
+ }, v = () => {
10073
10074
  h(void 0), i && i();
10074
10075
  }, C = () => {
10075
10076
  a && a(p);
10076
- }, v = l === "range" ? {
10077
+ }, b = l === "range" ? {
10077
10078
  mode: "range",
10078
10079
  selected: p,
10079
10080
  onSelect: g
@@ -10096,7 +10097,7 @@ const Gl = ({
10096
10097
  /* @__PURE__ */ e(
10097
10098
  mr,
10098
10099
  {
10099
- ...v,
10100
+ ...b,
10100
10101
  disabled: r,
10101
10102
  numberOfMonths: s ? 2 : 1,
10102
10103
  showOutsideDays: !0,
@@ -10114,7 +10115,7 @@ const Gl = ({
10114
10115
  variant: "neutral",
10115
10116
  size: "sm",
10116
10117
  hierarchy: "secondary",
10117
- onClick: b,
10118
+ onClick: v,
10118
10119
  disabled: r,
10119
10120
  children: c
10120
10121
  }
@@ -10149,12 +10150,12 @@ const Gl = ({
10149
10150
  labelInlineContent: h,
10150
10151
  contentGap: p = 2,
10151
10152
  classNameActions: g,
10152
- ...b
10153
+ ...v
10153
10154
  }) => /* @__PURE__ */ o(
10154
10155
  "div",
10155
10156
  {
10156
10157
  className: f("flex flex-row gap-8 items-center", t),
10157
- ...b,
10158
+ ...v,
10158
10159
  children: [
10159
10160
  n && /* @__PURE__ */ e(St, { type: s, variant: l, size: u, children: n }),
10160
10161
  /* @__PURE__ */ o("div", { className: f("flex flex-1 flex-col", de(p)), children: [
@@ -10514,10 +10515,10 @@ const Gl = ({
10514
10515
  footerVariant: h = "default",
10515
10516
  classNameHeader: p,
10516
10517
  classNameBody: g,
10517
- classNameFooter: b,
10518
+ classNameFooter: v,
10518
10519
  ...C
10519
10520
  }) => {
10520
- const v = n || r || u || i, x = d || m, y = {
10521
+ const b = n || r || u || i, x = d || m, y = {
10521
10522
  default: "border-surface-3 ",
10522
10523
  danger: "bg-danger-accent-1 border-danger-accent-3",
10523
10524
  warning: "bg-warning-accent-1 border-warning-accent-3",
@@ -10533,7 +10534,7 @@ const Gl = ({
10533
10534
  ),
10534
10535
  ...C,
10535
10536
  children: [
10536
- v && /* @__PURE__ */ o(
10537
+ b && /* @__PURE__ */ o(
10537
10538
  "div",
10538
10539
  {
10539
10540
  className: F(
@@ -10555,7 +10556,7 @@ const Gl = ({
10555
10556
  ]
10556
10557
  }
10557
10558
  ),
10558
- c && /* @__PURE__ */ e("div", { className: F(f("p-8", v), g), children: c }),
10559
+ c && /* @__PURE__ */ e("div", { className: F(f("p-8", b), g), children: c }),
10559
10560
  x && /* @__PURE__ */ o(
10560
10561
  "div",
10561
10562
  {
@@ -10563,10 +10564,10 @@ const Gl = ({
10563
10564
  f(
10564
10565
  "flex flex-row gap-10 p-8 items-center rounded-b-8",
10565
10566
  d && m ? "justify-between" : m ? "justify-end" : "justify-start",
10566
- (v || c) && "border-t",
10567
+ (b || c) && "border-t",
10567
10568
  y[h]
10568
10569
  ),
10569
- b
10570
+ v
10570
10571
  ),
10571
10572
  children: [
10572
10573
  d && /* @__PURE__ */ e("div", { className: "text-sm text-low-em", children: d }),
@@ -10785,7 +10786,7 @@ const Gl = ({
10785
10786
  }, [n]);
10786
10787
  const g = (w) => {
10787
10788
  c(w), w === "add" && p(!h), r?.(w);
10788
- }, b = [
10789
+ }, v = [
10789
10790
  {
10790
10791
  value: "grid",
10791
10792
  icon: /* @__PURE__ */ e(j, { size: 12, children: /* @__PURE__ */ e(Fn, {}) })
@@ -10803,7 +10804,7 @@ const Gl = ({
10803
10804
  value: "trash",
10804
10805
  icon: /* @__PURE__ */ e(j, { size: 12, children: /* @__PURE__ */ e(gt, {}) })
10805
10806
  }
10806
- ], v = (w) => {
10807
+ ], b = (w) => {
10807
10808
  const N = k(w), M = Array.from({ length: N }).map((V, $) => ({
10808
10809
  id: `${Date.now()}-col-${$}`,
10809
10810
  widgets: []
@@ -10847,7 +10848,7 @@ const Gl = ({
10847
10848
  /* @__PURE__ */ e(
10848
10849
  be,
10849
10850
  {
10850
- options: b,
10851
+ options: v,
10851
10852
  value: u,
10852
10853
  onChange: g,
10853
10854
  size: "xs",
@@ -10943,7 +10944,7 @@ const Gl = ({
10943
10944
  showCheckbox: !1
10944
10945
  }
10945
10946
  ],
10946
- onSelect: (w) => v(w)
10947
+ onSelect: (w) => b(w)
10947
10948
  }
10948
10949
  )
10949
10950
  ] })
@@ -11001,7 +11002,7 @@ const Gl = ({
11001
11002
  onSettings: a,
11002
11003
  className: s
11003
11004
  }) => {
11004
- const [l, u] = H(""), [c, d] = H(""), [m, h] = H(""), [p, g] = H(""), [b, C] = H(!1), [v, x] = H(!1), y = t === "signup";
11005
+ const [l, u] = H(""), [c, d] = H(""), [m, h] = H(""), [p, g] = H(""), [v, C] = H(!1), [b, x] = H(!1), y = t === "signup";
11005
11006
  return /* @__PURE__ */ e(
11006
11007
  Te,
11007
11008
  {
@@ -11064,13 +11065,13 @@ const Gl = ({
11064
11065
  /* @__PURE__ */ e(
11065
11066
  te,
11066
11067
  {
11067
- type: b ? "text" : "password",
11068
+ type: v ? "text" : "password",
11068
11069
  name: "password",
11069
11070
  autoComplete: y ? "new-password" : "current-password",
11070
11071
  value: m,
11071
11072
  onChange: (w) => h(w.target.value),
11072
11073
  placeholder: y ? "Nueva contraseña" : "Contraseña",
11073
- trailingIcon: /* @__PURE__ */ e(j, { children: b ? /* @__PURE__ */ e(
11074
+ trailingIcon: /* @__PURE__ */ e(j, { children: v ? /* @__PURE__ */ e(
11074
11075
  Pe,
11075
11076
  {
11076
11077
  onClick: () => C(!1),
@@ -11089,13 +11090,13 @@ const Gl = ({
11089
11090
  y && /* @__PURE__ */ e(
11090
11091
  te,
11091
11092
  {
11092
- type: v ? "text" : "password",
11093
+ type: b ? "text" : "password",
11093
11094
  name: "confirmPassword",
11094
11095
  autoComplete: "new-password",
11095
11096
  value: p,
11096
11097
  onChange: (w) => g(w.target.value),
11097
11098
  placeholder: "Confirmar contraseña",
11098
- trailingIcon: /* @__PURE__ */ e(j, { children: v ? /* @__PURE__ */ e(
11099
+ trailingIcon: /* @__PURE__ */ e(j, { children: b ? /* @__PURE__ */ e(
11099
11100
  Pe,
11100
11101
  {
11101
11102
  onClick: () => x(!1),
@@ -11137,8 +11138,8 @@ const Gl = ({
11137
11138
  onSettings: l,
11138
11139
  className: u
11139
11140
  }) => {
11140
- const [c, d] = H(""), m = (v) => {
11141
- v.preventDefault(), a?.(c);
11141
+ const [c, d] = H(""), m = (b) => {
11142
+ b.preventDefault(), a?.(c);
11142
11143
  }, h = r === "email";
11143
11144
  return /* @__PURE__ */ e(
11144
11145
  Te,
@@ -11169,7 +11170,7 @@ const Gl = ({
11169
11170
  {
11170
11171
  type: h ? "email" : "text",
11171
11172
  value: c,
11172
- onChange: (v) => d(v.target.value),
11173
+ onChange: (b) => d(b.target.value),
11173
11174
  placeholder: h ? "Correo" : "Código de verificación",
11174
11175
  hint: h ? "Un código será enviado a tu correo" : "Ingresa el código enviado a tu correo",
11175
11176
  required: !0
@@ -11570,7 +11571,7 @@ const gs = S.forwardRef(
11570
11571
  innerRef: m,
11571
11572
  style: h
11572
11573
  }, p) => {
11573
- const [g, b] = S.useState(!1), C = g && u;
11574
+ const [g, v] = S.useState(!1), C = g && u;
11574
11575
  return /* @__PURE__ */ o(
11575
11576
  "div",
11576
11577
  {
@@ -11582,8 +11583,8 @@ const gs = S.forwardRef(
11582
11583
  "div",
11583
11584
  {
11584
11585
  onClick: s,
11585
- onMouseEnter: () => b(!0),
11586
- onMouseLeave: () => b(!1),
11586
+ onMouseEnter: () => v(!0),
11587
+ onMouseLeave: () => v(!1),
11587
11588
  className: f(
11588
11589
  "w-full text-left m-0 cursor-pointer overflow-hidden",
11589
11590
  i ? "bg-surface-3" : "hover:bg-surface-1"
@@ -11759,7 +11760,7 @@ const bs = ({
11759
11760
  }) => {
11760
11761
  const [d, m] = H(""), h = t.filter(
11761
11762
  (C) => C.title.toLowerCase().includes(d.toLowerCase()) || C.description?.toLowerCase().includes(d.toLowerCase())
11762
- ), p = t.length, g = t.filter((C) => C.isVisible).length, b = (C) => {
11763
+ ), p = t.length, g = t.filter((C) => C.isVisible).length, v = (C) => {
11763
11764
  s?.(C);
11764
11765
  };
11765
11766
  return /* @__PURE__ */ e(re.Provider, { delayDuration: 200, children: /* @__PURE__ */ o(
@@ -11811,7 +11812,7 @@ const bs = ({
11811
11812
  C.isSelected && "border border-surface-3",
11812
11813
  C.isVisible && "border border-surface-3"
11813
11814
  ),
11814
- onClick: () => b(C)
11815
+ onClick: () => v(C)
11815
11816
  },
11816
11817
  C.id
11817
11818
  )) : /* @__PURE__ */ o("div", { className: "flex flex-col items-center justify-center p-10 text-center gap-10", children: [