@toteat-eng/ds-react 2026.6.9 → 2026.6.10

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.es.js CHANGED
@@ -346,12 +346,58 @@ function Fn({ variant: e = "default", size: t = "medium", children: n, className
346
346
  children: n
347
347
  });
348
348
  }
349
- var In = { card: "_card_b9brq_2" };
349
+ var L = {
350
+ nav: "_nav_2i10d_2",
351
+ back: "_back_2i10d_9",
352
+ crumbs: "_crumbs_2i10d_40",
353
+ item: "_item_2i10d_51",
354
+ link: "_link_2i10d_65",
355
+ ancestor: "_ancestor_2i10d_85",
356
+ current: "_current_2i10d_89"
357
+ };
358
+ //#endregion
359
+ //#region src/components/Breadcrumb/Breadcrumb.tsx
360
+ function In({ items: e, onBack: t, backLabel: n = "Volver", label: r = "Ruta de navegación", className: i, "data-testid": a }) {
361
+ return e.length === 0 ? null : /* @__PURE__ */ u("nav", {
362
+ "aria-label": r,
363
+ className: [L.nav, i].filter(Boolean).join(" "),
364
+ "data-testid": a,
365
+ children: [t && /* @__PURE__ */ l("button", {
366
+ type: "button",
367
+ className: L.back,
368
+ onClick: t,
369
+ "aria-label": n,
370
+ children: /* @__PURE__ */ l(F, {
371
+ name: "chevron-left-outline",
372
+ size: 18,
373
+ "aria-hidden": "true"
374
+ })
375
+ }), /* @__PURE__ */ l("ol", {
376
+ className: L.crumbs,
377
+ children: e.map((t, n) => {
378
+ let r = n === e.length - 1;
379
+ return /* @__PURE__ */ l("li", {
380
+ className: L.item,
381
+ "aria-current": r ? "page" : void 0,
382
+ children: t.href && !r ? /* @__PURE__ */ l("a", {
383
+ href: t.href,
384
+ className: L.link,
385
+ children: t.label
386
+ }) : /* @__PURE__ */ l("span", {
387
+ className: r ? L.current : L.ancestor,
388
+ children: t.label
389
+ })
390
+ }, t.id);
391
+ })
392
+ })]
393
+ });
394
+ }
395
+ var Ln = { card: "_card_b9brq_2" };
350
396
  //#endregion
351
397
  //#region src/components/Card/Card.tsx
352
- function Ln({ padding: e = "small", elevation: t = "none", hoverable: n = !1, maxWidth: r, children: i, className: a, style: o, ...s }) {
398
+ function Rn({ padding: e = "small", elevation: t = "none", hoverable: n = !1, maxWidth: r, children: i, className: a, style: o, ...s }) {
353
399
  return /* @__PURE__ */ l("section", {
354
- className: [In.card, a].filter(Boolean).join(" "),
400
+ className: [Ln.card, a].filter(Boolean).join(" "),
355
401
  "data-padding": e,
356
402
  "data-elevation": t,
357
403
  "data-hoverable": n ? "" : void 0,
@@ -363,7 +409,7 @@ function Ln({ padding: e = "small", elevation: t = "none", hoverable: n = !1, ma
363
409
  children: i
364
410
  });
365
411
  }
366
- var L = {
412
+ var R = {
367
413
  chartWrapper: "_chartWrapper_2djq2_2",
368
414
  chartTitle: "_chartTitle_2djq2_7",
369
415
  kpiCard: "_kpiCard_2djq2_16",
@@ -371,7 +417,7 @@ var L = {
371
417
  kpiValue: "_kpiValue_2djq2_31",
372
418
  kpiChange: "_kpiChange_2djq2_38",
373
419
  emptyState: "_emptyState_2djq2_55"
374
- }, R = [
420
+ }, zn = [
375
421
  "#ff4235",
376
422
  "#2563eb",
377
423
  "#16a34a",
@@ -379,12 +425,12 @@ var L = {
379
425
  "#7c3aed",
380
426
  "#0891b2"
381
427
  ];
382
- function Rn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
428
+ function Bn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
383
429
  return e?.length ? /* @__PURE__ */ u("div", {
384
- className: L.chartWrapper,
430
+ className: R.chartWrapper,
385
431
  "data-testid": c,
386
432
  children: [i && /* @__PURE__ */ l("div", {
387
- className: L.chartTitle,
433
+ className: R.chartTitle,
388
434
  children: i
389
435
  }), /* @__PURE__ */ l(y, {
390
436
  width: "100%",
@@ -416,7 +462,7 @@ function Rn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
416
462
  type: "monotone",
417
463
  dataKey: e.dataKey,
418
464
  name: e.label ?? e.dataKey,
419
- stroke: e.color ?? R[t % R.length],
465
+ stroke: e.color ?? zn[t % zn.length],
420
466
  strokeWidth: 2,
421
467
  dot: !1,
422
468
  activeDot: { r: 4 }
@@ -425,16 +471,16 @@ function Rn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
425
471
  })
426
472
  })]
427
473
  }) : /* @__PURE__ */ l("div", {
428
- className: L.emptyState,
474
+ className: R.emptyState,
429
475
  children: "Sin datos"
430
476
  });
431
477
  }
432
- function zn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
478
+ function Vn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
433
479
  return e?.length ? /* @__PURE__ */ u("div", {
434
- className: L.chartWrapper,
480
+ className: R.chartWrapper,
435
481
  "data-testid": c,
436
482
  children: [i && /* @__PURE__ */ l("div", {
437
- className: L.chartTitle,
483
+ className: R.chartTitle,
438
484
  children: i
439
485
  }), /* @__PURE__ */ l(y, {
440
486
  width: "100%",
@@ -465,7 +511,7 @@ function zn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
465
511
  n.map((e, t) => /* @__PURE__ */ l(p, {
466
512
  dataKey: e.dataKey,
467
513
  name: e.label ?? e.dataKey,
468
- fill: e.color ?? R[t % R.length],
514
+ fill: e.color ?? zn[t % zn.length],
469
515
  radius: [
470
516
  2,
471
517
  2,
@@ -477,16 +523,16 @@ function zn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
477
523
  })
478
524
  })]
479
525
  }) : /* @__PURE__ */ l("div", {
480
- className: L.emptyState,
526
+ className: R.emptyState,
481
527
  children: "Sin datos"
482
528
  });
483
529
  }
484
- function Bn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
530
+ function Hn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
485
531
  return e?.length ? /* @__PURE__ */ u("div", {
486
- className: L.chartWrapper,
532
+ className: R.chartWrapper,
487
533
  "data-testid": c,
488
534
  children: [i && /* @__PURE__ */ l("div", {
489
- className: L.chartTitle,
535
+ className: R.chartTitle,
490
536
  children: i
491
537
  }), /* @__PURE__ */ l(y, {
492
538
  width: "100%",
@@ -515,7 +561,7 @@ function Bn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
515
561
  /* @__PURE__ */ l(b, { formatter: o ? (e) => o(e) : void 0 }),
516
562
  !s && /* @__PURE__ */ l(g, {}),
517
563
  n.map((e, t) => {
518
- let n = e.color ?? R[t % R.length];
564
+ let n = e.color ?? zn[t % zn.length];
519
565
  return /* @__PURE__ */ l(d, {
520
566
  type: "monotone",
521
567
  dataKey: e.dataKey,
@@ -530,32 +576,32 @@ function Bn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
530
576
  })
531
577
  })]
532
578
  }) : /* @__PURE__ */ l("div", {
533
- className: L.emptyState,
579
+ className: R.emptyState,
534
580
  children: "Sin datos"
535
581
  });
536
582
  }
537
- function Vn({ label: e, value: t, change: n, trend: r = "neutral", "data-testid": i }) {
583
+ function Un({ label: e, value: t, change: n, trend: r = "neutral", "data-testid": i }) {
538
584
  return /* @__PURE__ */ u("div", {
539
- className: L.kpiCard,
585
+ className: R.kpiCard,
540
586
  "data-testid": i,
541
587
  children: [
542
588
  /* @__PURE__ */ l("div", {
543
- className: L.kpiLabel,
589
+ className: R.kpiLabel,
544
590
  children: e
545
591
  }),
546
592
  /* @__PURE__ */ l("div", {
547
- className: L.kpiValue,
593
+ className: R.kpiValue,
548
594
  children: t
549
595
  }),
550
596
  n && /* @__PURE__ */ l("div", {
551
- className: L.kpiChange,
597
+ className: R.kpiChange,
552
598
  "data-trend": r,
553
599
  children: n
554
600
  })
555
601
  ]
556
602
  });
557
603
  }
558
- var Hn = {
604
+ var Wn = {
559
605
  wrapper: "_wrapper_rrvhj_2",
560
606
  input: "_input_rrvhj_9",
561
607
  checkmark: "_checkmark_rrvhj_27",
@@ -563,10 +609,10 @@ var Hn = {
563
609
  };
564
610
  //#endregion
565
611
  //#region src/components/Checkbox/Checkbox.tsx
566
- function Un({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
612
+ function Gn({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
567
613
  let o = n ?? `checkbox-${String(e ?? "").toLowerCase().replace(/\s+/g, "-")}`;
568
614
  return /* @__PURE__ */ u("label", {
569
- className: [Hn.wrapper, t].filter(Boolean).join(" "),
615
+ className: [Wn.wrapper, t].filter(Boolean).join(" "),
570
616
  htmlFor: o,
571
617
  "data-testid": i,
572
618
  children: [
@@ -574,21 +620,21 @@ function Un({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
574
620
  ref: r,
575
621
  type: "checkbox",
576
622
  id: o,
577
- className: Hn.input,
623
+ className: Wn.input,
578
624
  ...a
579
625
  }),
580
626
  /* @__PURE__ */ l("span", {
581
- className: Hn.checkmark,
627
+ className: Wn.checkmark,
582
628
  "aria-hidden": "true"
583
629
  }),
584
630
  e && /* @__PURE__ */ l("span", {
585
- className: Hn.label,
631
+ className: Wn.label,
586
632
  children: e
587
633
  })
588
634
  ]
589
635
  });
590
636
  }
591
- var Wn = {
637
+ var Kn = {
592
638
  wrapper: "_wrapper_1b0cf_2",
593
639
  icon: "_icon_1b0cf_12",
594
640
  "ds-coming-soon-fade-in": "_ds-coming-soon-fade-in_1b0cf_1",
@@ -596,25 +642,25 @@ var Wn = {
596
642
  };
597
643
  //#endregion
598
644
  //#region src/components/ComingSoon/ComingSoon.tsx
599
- function Gn({ message: e, icon: t = "lock-password-1-outline", className: n, "data-testid": r }) {
645
+ function qn({ message: e, icon: t = "lock-password-1-outline", className: n, "data-testid": r }) {
600
646
  let i = e?.trim() ? e : "Próximamente";
601
647
  return /* @__PURE__ */ u("div", {
602
648
  role: "status",
603
649
  "aria-live": "polite",
604
- className: [Wn.wrapper, n].filter(Boolean).join(" "),
650
+ className: [Kn.wrapper, n].filter(Boolean).join(" "),
605
651
  "data-testid": r,
606
652
  children: [/* @__PURE__ */ l(F, {
607
653
  name: t,
608
654
  size: 40,
609
655
  "aria-hidden": "true",
610
- className: Wn.icon
656
+ className: Kn.icon
611
657
  }), /* @__PURE__ */ l("p", {
612
- className: Wn.message,
658
+ className: Kn.message,
613
659
  children: i
614
660
  })]
615
661
  });
616
662
  }
617
- var Kn = {
663
+ var Jn = {
618
664
  row: "_row_1ubkn_2",
619
665
  labelCol: "_labelCol_1ubkn_31",
620
666
  label: "_label_1ubkn_31",
@@ -623,25 +669,25 @@ var Kn = {
623
669
  };
624
670
  //#endregion
625
671
  //#region src/components/ConfigRow/ConfigRow.tsx
626
- function qn({ label: e, description: t, children: n, htmlFor: r, dimmed: i = !1, divider: a = !0, className: o, "data-testid": s }) {
672
+ function Yn({ label: e, description: t, children: n, htmlFor: r, dimmed: i = !1, divider: a = !0, className: o, "data-testid": s }) {
627
673
  let c = r ? "label" : "span";
628
674
  return /* @__PURE__ */ u("div", {
629
- className: [Kn.row, o].filter(Boolean).join(" "),
675
+ className: [Jn.row, o].filter(Boolean).join(" "),
630
676
  "data-dimmed": i || void 0,
631
677
  "data-divider": a || void 0,
632
678
  "data-testid": s,
633
679
  children: [/* @__PURE__ */ u("div", {
634
- className: Kn.labelCol,
680
+ className: Jn.labelCol,
635
681
  children: [/* @__PURE__ */ l(c, {
636
682
  htmlFor: r,
637
- className: Kn.label,
683
+ className: Jn.label,
638
684
  children: e
639
685
  }), t && /* @__PURE__ */ l("span", {
640
- className: Kn.description,
686
+ className: Jn.description,
641
687
  children: t
642
688
  })]
643
689
  }), /* @__PURE__ */ l("div", {
644
- className: Kn.controlCol,
690
+ className: Jn.controlCol,
645
691
  children: n
646
692
  })]
647
693
  });
@@ -662,13 +708,13 @@ var z = {
662
708
  };
663
709
  //#endregion
664
710
  //#region src/components/DataTable/DataTable.tsx
665
- function Jn(e) {
711
+ function Xn(e) {
666
712
  let t = e.getIsSorted();
667
713
  if (t === "asc") return "ascending";
668
714
  if (t === "desc") return "descending";
669
715
  if (e.getCanSort()) return "none";
670
716
  }
671
- function Yn({ data: e, columns: t, isLoading: n = !1, loadingSlot: i, pageSize: c = 20, searchable: d = !1, sortable: f = !0, paginated: p = !0, emptyMessage: m = "Sin resultados", searchPlaceholder: h = "Buscar...", previousLabel: g = "Anterior", nextLabel: _ = "Siguiente", onRowClick: v, selectable: y = !1, onSelectionChange: b, manualPagination: x = !1, pageCount: S, onPageChange: k, "data-testid": A }) {
717
+ function Zn({ data: e, columns: t, isLoading: n = !1, loadingSlot: i, pageSize: c = 20, searchable: d = !1, sortable: f = !0, paginated: p = !0, emptyMessage: m = "Sin resultados", searchPlaceholder: h = "Buscar...", previousLabel: g = "Anterior", nextLabel: _ = "Siguiente", onRowClick: v, selectable: y = !1, onSelectionChange: b, manualPagination: x = !1, pageCount: S, onPageChange: k, "data-testid": A }) {
672
718
  let [ee, j] = s([]), [te, ne] = s(""), [M, N] = s({
673
719
  pageIndex: 0,
674
720
  pageSize: c
@@ -676,12 +722,12 @@ function Yn({ data: e, columns: t, isLoading: n = !1, loadingSlot: i, pageSize:
676
722
  id: "__select__",
677
723
  size: 40,
678
724
  enableSorting: !1,
679
- header: ({ table: e }) => /* @__PURE__ */ l(Un, {
725
+ header: ({ table: e }) => /* @__PURE__ */ l(Gn, {
680
726
  checked: e.getIsAllPageRowsSelected(),
681
727
  onChange: e.getToggleAllPageRowsSelectedHandler(),
682
728
  "aria-label": "Select all rows"
683
729
  }),
684
- cell: ({ row: e }) => /* @__PURE__ */ l(Un, {
730
+ cell: ({ row: e }) => /* @__PURE__ */ l(Gn, {
685
731
  checked: e.getIsSelected(),
686
732
  onChange: e.getToggleSelectedHandler(),
687
733
  "aria-label": `Select row ${e.index + 1}`
@@ -750,7 +796,7 @@ function Yn({ data: e, columns: t, isLoading: n = !1, loadingSlot: i, pageSize:
750
796
  className: z.th,
751
797
  "data-sortable": e.column.getCanSort() || void 0,
752
798
  onClick: e.column.getToggleSortingHandler(),
753
- "aria-sort": Jn(e.column),
799
+ "aria-sort": Xn(e.column),
754
800
  children: [
755
801
  C(e.column.columnDef.header, e.getContext()),
756
802
  e.column.getIsSorted() === "asc" && " ▲",
@@ -808,27 +854,27 @@ function Yn({ data: e, columns: t, isLoading: n = !1, loadingSlot: i, pageSize:
808
854
  ]
809
855
  });
810
856
  }
811
- var Xn = {
857
+ var Qn = {
812
858
  wrapper: "_wrapper_kap55_2",
813
859
  label: "_label_kap55_8",
814
860
  input: "_input_kap55_16"
815
861
  };
816
862
  //#endregion
817
863
  //#region src/components/DatePicker/DatePicker.tsx
818
- function Zn({ error: e, label: t, className: n, id: r, ref: a, "data-testid": o, ...s }) {
864
+ function $n({ error: e, label: t, className: n, id: r, ref: a, "data-testid": o, ...s }) {
819
865
  let c = i(), d = r ?? c;
820
866
  return /* @__PURE__ */ u("div", {
821
- className: I(Xn.wrapper, n),
867
+ className: I(Qn.wrapper, n),
822
868
  "data-testid": o,
823
869
  children: [t && /* @__PURE__ */ l("label", {
824
870
  htmlFor: d,
825
- className: Xn.label,
871
+ className: Qn.label,
826
872
  children: t
827
873
  }), /* @__PURE__ */ l("input", {
828
874
  ref: a,
829
875
  type: "date",
830
876
  id: d,
831
- className: Xn.input,
877
+ className: Qn.input,
832
878
  "data-error": e || void 0,
833
879
  "aria-invalid": e || void 0,
834
880
  ...s
@@ -844,7 +890,7 @@ var B = {
844
890
  };
845
891
  //#endregion
846
892
  //#region src/components/DateRangePicker/DateRangePicker.tsx
847
- function Qn({ startDate: e = "", endDate: t = "", onStartChange: n, onEndChange: r, startLabel: a = "Desde", endLabel: o = "Hasta", error: s, disabled: c, minDate: d, maxDate: f, className: p, "data-testid": m }) {
893
+ function er({ startDate: e = "", endDate: t = "", onStartChange: n, onEndChange: r, startLabel: a = "Desde", endLabel: o = "Hasta", error: s, disabled: c, minDate: d, maxDate: f, className: p, "data-testid": m }) {
848
894
  let h = i(), g = i();
849
895
  return /* @__PURE__ */ u("div", {
850
896
  className: I(B.wrapper, p),
@@ -898,11 +944,11 @@ function Qn({ startDate: e = "", endDate: t = "", onStartChange: n, onEndChange:
898
944
  }
899
945
  //#endregion
900
946
  //#region src/utils/focusTrap.ts
901
- var $n = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
902
- function er(e, t) {
947
+ var tr = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
948
+ function nr(e, t) {
903
949
  r(() => {
904
950
  if (!t || !e.current) return;
905
- let n = e.current, r = document.activeElement, i = () => Array.from(n.querySelectorAll($n));
951
+ let n = e.current, r = document.activeElement, i = () => Array.from(n.querySelectorAll(tr));
906
952
  i()[0]?.focus();
907
953
  function a(e) {
908
954
  if (e.key !== "Tab") return;
@@ -929,7 +975,7 @@ var V = {
929
975
  };
930
976
  //#endregion
931
977
  //#region src/components/Dialog/Dialog.tsx
932
- function tr({ open: e, onClose: t, title: n, children: a, size: s = "medium", className: c, "data-testid": d }) {
978
+ function rr({ open: e, onClose: t, title: n, children: a, size: s = "medium", className: c, "data-testid": d }) {
933
979
  let f = i(), p = o(null);
934
980
  return r(() => {
935
981
  if (e) {
@@ -938,7 +984,7 @@ function tr({ open: e, onClose: t, title: n, children: a, size: s = "medium", cl
938
984
  document.body.style.overflow = "", document.body.style.position = "", document.body.style.top = "", document.body.style.width = "", window.scrollTo(0, e);
939
985
  };
940
986
  }
941
- }, [e]), er(p, e), r(() => {
987
+ }, [e]), nr(p, e), r(() => {
942
988
  if (!e) return;
943
989
  let n = (e) => {
944
990
  e.key === "Escape" && (e.preventDefault(), t());
@@ -1003,13 +1049,13 @@ var H = {
1003
1049
  menuItem: "_menuItem_4t7ma_172",
1004
1050
  menuIcon: "_menuIcon_4t7ma_200",
1005
1051
  menuLabel: "_menuLabel_4t7ma_204"
1006
- }, nr = {
1052
+ }, ir = {
1007
1053
  tiny: 14,
1008
1054
  small: 16,
1009
1055
  medium: 20,
1010
1056
  large: 24
1011
1057
  };
1012
- function rr({ text: e, menuItems: t, size: n = "medium", variant: i = "primary", disabled: a = !1, onSelect: c, onOpen: d, onClose: f, "data-testid": p }) {
1058
+ function ar({ text: e, menuItems: t, size: n = "medium", variant: i = "primary", disabled: a = !1, onSelect: c, onOpen: d, onClose: f, "data-testid": p }) {
1013
1059
  let [m, h] = s(!1), [g, _] = s(-1), v = o(null), y = o(null);
1014
1060
  function b() {
1015
1061
  h(!0), _(-1), d?.();
@@ -1044,7 +1090,7 @@ function rr({ text: e, menuItems: t, size: n = "medium", variant: i = "primary",
1044
1090
  }
1045
1091
  return document.addEventListener("click", e), () => document.removeEventListener("click", e);
1046
1092
  }, [f]);
1047
- let T = nr[n];
1093
+ let T = ir[n];
1048
1094
  return /* @__PURE__ */ u("div", {
1049
1095
  ref: v,
1050
1096
  className: H.root,
@@ -1108,7 +1154,7 @@ function rr({ text: e, menuItems: t, size: n = "medium", variant: i = "primary",
1108
1154
  })]
1109
1155
  });
1110
1156
  }
1111
- var ir = {
1157
+ var or = {
1112
1158
  container: "_container_1mo04_2",
1113
1159
  triggerWrapper: "_triggerWrapper_1mo04_8",
1114
1160
  menu: "_menu_1mo04_19",
@@ -1117,7 +1163,7 @@ var ir = {
1117
1163
  };
1118
1164
  //#endregion
1119
1165
  //#region src/components/DropdownMenu/DropdownMenu.tsx
1120
- function ar({ trigger: e, items: t, align: i = "left", "data-testid": a }) {
1166
+ function sr({ trigger: e, items: t, align: i = "left", "data-testid": a }) {
1121
1167
  let [c, d] = s(!1), f = o(null), p = o(null), m = o(/* @__PURE__ */ new Map()), h = n(() => {
1122
1168
  d(!1), p.current?.focus();
1123
1169
  }, []);
@@ -1139,18 +1185,18 @@ function ar({ trigger: e, items: t, align: i = "left", "data-testid": a }) {
1139
1185
  e && m.current.get(e.id)?.focus();
1140
1186
  }, [c, t]), /* @__PURE__ */ u("div", {
1141
1187
  ref: f,
1142
- className: ir.container,
1188
+ className: or.container,
1143
1189
  "data-testid": a,
1144
1190
  children: [/* @__PURE__ */ l("button", {
1145
1191
  ref: p,
1146
1192
  type: "button",
1147
- className: ir.triggerWrapper,
1193
+ className: or.triggerWrapper,
1148
1194
  onClick: () => d(!c),
1149
1195
  "aria-haspopup": "menu",
1150
1196
  "aria-expanded": c,
1151
1197
  children: e
1152
1198
  }), c && /* @__PURE__ */ l("div", {
1153
- className: ir.menu,
1199
+ className: or.menu,
1154
1200
  "data-align": i,
1155
1201
  role: "menu",
1156
1202
  onKeyDown: (e) => {
@@ -1163,7 +1209,7 @@ function ar({ trigger: e, items: t, align: i = "left", "data-testid": a }) {
1163
1209
  },
1164
1210
  type: "button",
1165
1211
  role: "menuitem",
1166
- className: ir.menuItem,
1212
+ className: or.menuItem,
1167
1213
  "data-danger": e.danger || void 0,
1168
1214
  disabled: e.disabled,
1169
1215
  tabIndex: -1,
@@ -1171,63 +1217,63 @@ function ar({ trigger: e, items: t, align: i = "left", "data-testid": a }) {
1171
1217
  e.onClick(), d(!1);
1172
1218
  },
1173
1219
  children: [e.icon && /* @__PURE__ */ l("span", {
1174
- className: ir.icon,
1220
+ className: or.icon,
1175
1221
  children: e.icon
1176
1222
  }), e.label]
1177
1223
  }, e.id))
1178
1224
  })]
1179
1225
  });
1180
1226
  }
1181
- var or = {
1227
+ var cr = {
1182
1228
  skeleton: "_skeleton_d5768_2",
1183
1229
  "ds-skeleton-shimmer": "_ds-skeleton-shimmer_d5768_1"
1184
1230
  };
1185
1231
  //#endregion
1186
1232
  //#region src/components/Skeleton/Skeleton.tsx
1187
- function sr(e) {
1233
+ function lr(e) {
1188
1234
  if (e !== void 0) return typeof e == "number" ? `${e}px` : e;
1189
1235
  }
1190
- function cr({ width: e, height: t, variant: n = "rectangular", className: r, "data-testid": i }) {
1236
+ function ur({ width: e, height: t, variant: n = "rectangular", className: r, "data-testid": i }) {
1191
1237
  return /* @__PURE__ */ l("span", {
1192
1238
  "aria-hidden": "true",
1193
- className: [or.skeleton, r].filter(Boolean).join(" "),
1239
+ className: [cr.skeleton, r].filter(Boolean).join(" "),
1194
1240
  "data-variant": n,
1195
1241
  "data-testid": i,
1196
1242
  style: {
1197
- width: sr(e),
1198
- height: sr(t)
1243
+ width: lr(e),
1244
+ height: lr(t)
1199
1245
  }
1200
1246
  });
1201
1247
  }
1202
- var lr = {
1248
+ var dr = {
1203
1249
  imagePreview: "_imagePreview_1rnes_2",
1204
1250
  hidden: "_hidden_1rnes_21",
1205
1251
  errorIcon: "_errorIcon_1rnes_27"
1206
1252
  };
1207
1253
  //#endregion
1208
1254
  //#region src/components/ImagePreview/ImagePreview.tsx
1209
- function ur(e) {
1255
+ function fr(e) {
1210
1256
  return e.startsWith("data:image/");
1211
1257
  }
1212
- function dr(e) {
1258
+ function pr(e) {
1213
1259
  try {
1214
1260
  return new URL(e), !0;
1215
1261
  } catch {
1216
1262
  return !1;
1217
1263
  }
1218
1264
  }
1219
- function fr({ imageSrc: e, width: t = 40, height: n = 40, alt: i = "Image without alt text", borderRadius: a = 8, className: o, "data-testid": c }) {
1265
+ function mr({ imageSrc: e, width: t = 40, height: n = 40, alt: i = "Image without alt text", borderRadius: a = 8, className: o, "data-testid": c }) {
1220
1266
  let [d, f] = s(() => e ? "loading" : "error");
1221
1267
  return r(() => {
1222
1268
  if (!e) {
1223
1269
  f("error");
1224
1270
  return;
1225
1271
  }
1226
- if (!ur(e) && !dr(e)) {
1272
+ if (!fr(e) && !pr(e)) {
1227
1273
  f("error");
1228
1274
  return;
1229
1275
  }
1230
- if (ur(e)) {
1276
+ if (fr(e)) {
1231
1277
  f("loaded");
1232
1278
  return;
1233
1279
  }
@@ -1237,7 +1283,7 @@ function fr({ imageSrc: e, width: t = 40, height: n = 40, alt: i = "Image withou
1237
1283
  t.onload = null, t.onerror = null;
1238
1284
  };
1239
1285
  }, [e]), /* @__PURE__ */ u("div", {
1240
- className: [lr.imagePreview, o].filter(Boolean).join(" "),
1286
+ className: [dr.imagePreview, o].filter(Boolean).join(" "),
1241
1287
  "data-state": d,
1242
1288
  "data-testid": c,
1243
1289
  role: d === "error" ? "img" : void 0,
@@ -1254,15 +1300,15 @@ function fr({ imageSrc: e, width: t = 40, height: n = 40, alt: i = "Image withou
1254
1300
  width: t,
1255
1301
  height: n,
1256
1302
  decoding: "async",
1257
- loading: ur(e) ? void 0 : "lazy",
1258
- className: d === "loading" ? lr.hidden : void 0
1303
+ loading: fr(e) ? void 0 : "lazy",
1304
+ className: d === "loading" ? dr.hidden : void 0
1259
1305
  }),
1260
- d === "loading" && /* @__PURE__ */ l(cr, {
1306
+ d === "loading" && /* @__PURE__ */ l(ur, {
1261
1307
  width: t,
1262
1308
  height: n
1263
1309
  }),
1264
1310
  d === "error" && /* @__PURE__ */ l("span", {
1265
- className: lr.errorIcon,
1311
+ className: dr.errorIcon,
1266
1312
  children: /* @__PURE__ */ l(F, {
1267
1313
  name: "error-outline",
1268
1314
  size: Math.round(t * .6),
@@ -1281,7 +1327,7 @@ var U = {
1281
1327
  zoneLabel: "_zoneLabel_10rwp_81",
1282
1328
  description: "_description_10rwp_88",
1283
1329
  fileList: "_fileList_10rwp_94"
1284
- }, pr = {
1330
+ }, hr = {
1285
1331
  images: {
1286
1332
  types: [
1287
1333
  "png",
@@ -1321,11 +1367,11 @@ var U = {
1321
1367
  mimeTypes: ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]
1322
1368
  }
1323
1369
  };
1324
- function mr(e) {
1325
- return pr[e].mimeTypes.join(",");
1370
+ function gr(e) {
1371
+ return hr[e].mimeTypes.join(",");
1326
1372
  }
1327
- function hr(e, t) {
1328
- let { types: n, mimeTypes: r } = pr[t];
1373
+ function _r(e, t) {
1374
+ let { types: n, mimeTypes: r } = hr[t];
1329
1375
  return Array.from(e).filter((e) => {
1330
1376
  let t = r.some((t) => e.type === t), i = n.some((t) => e.name.toLowerCase().endsWith(`.${t}`));
1331
1377
  return t || i;
@@ -1333,39 +1379,39 @@ function hr(e, t) {
1333
1379
  }
1334
1380
  //#endregion
1335
1381
  //#region src/components/DropZone/DropZone.tsx
1336
- async function gr(e, t) {
1382
+ async function vr(e, t) {
1337
1383
  return t ? new Promise((t) => {
1338
1384
  let n = new FileReader();
1339
1385
  n.onload = (e) => t(e.target?.result ?? ""), n.readAsDataURL(e);
1340
1386
  }) : "";
1341
1387
  }
1342
- async function _r(e, t) {
1388
+ async function yr(e, t) {
1343
1389
  return Promise.all(e.map(async (e) => ({
1344
1390
  id: crypto.randomUUID(),
1345
1391
  file: e,
1346
1392
  name: e.name,
1347
- preview: await gr(e, t)
1393
+ preview: await vr(e, t)
1348
1394
  })));
1349
1395
  }
1350
- function vr({ label: e = "Haz click o arrastra un archivo para subir", allowedFileTypes: t = "images", multiple: n = !0, displayPreview: i = !0, displayFileList: a = !1, value: c, onDrop: d, onDropError: f, onRemove: p, onChange: m, className: h, "data-testid": g }) {
1396
+ function br({ label: e = "Haz click o arrastra un archivo para subir", allowedFileTypes: t = "images", multiple: n = !0, displayPreview: i = !0, displayFileList: a = !1, value: c, onDrop: d, onDropError: f, onRemove: p, onChange: m, className: h, "data-testid": g }) {
1351
1397
  let _ = o(null), [v, y] = s(!1), [b, x] = s(!1), [S, C] = s(c ?? []);
1352
1398
  r(() => {
1353
1399
  c !== void 0 && C(c ?? []);
1354
1400
  }, [c]);
1355
- let w = c === void 0 ? S : c ?? [], T = (a || !i && !a) && w.length > 0, E = pr[t].types, D = mr(t), O = t === "images";
1401
+ let w = c === void 0 ? S : c ?? [], T = (a || !i && !a) && w.length > 0, E = hr[t].types, D = gr(t), O = t === "images";
1356
1402
  async function k(e, r) {
1357
1403
  if (e.length === 0) {
1358
1404
  f?.(`No files match the allowed types: ${t}`);
1359
1405
  return;
1360
1406
  }
1361
- let i = await _r(e, O), a = n ? [...w, ...i] : i;
1407
+ let i = await yr(e, O), a = n ? [...w, ...i] : i;
1362
1408
  c === void 0 && C(a), m?.(a), d(r);
1363
1409
  }
1364
1410
  async function A(e) {
1365
1411
  if (!b) {
1366
1412
  x(!0);
1367
1413
  try {
1368
- await k(hr(e, t), e);
1414
+ await k(_r(e, t), e);
1369
1415
  } catch (e) {
1370
1416
  f?.(e instanceof Error ? e.message : "Unknown error");
1371
1417
  } finally {
@@ -1387,7 +1433,7 @@ function vr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1387
1433
  type: "button",
1388
1434
  className: U.previewBtn,
1389
1435
  onClick: () => ee(t),
1390
- children: [/* @__PURE__ */ l(fr, {
1436
+ children: [/* @__PURE__ */ l(mr, {
1391
1437
  imageSrc: e.preview,
1392
1438
  width: 70,
1393
1439
  height: 70,
@@ -1468,7 +1514,7 @@ function vr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1468
1514
  }
1469
1515
  //#endregion
1470
1516
  //#region src/components/DsProvider/DsProvider.tsx
1471
- function yr({ theme: e, children: t, className: n, "data-testid": r }) {
1517
+ function xr({ theme: e, children: t, className: n, "data-testid": r }) {
1472
1518
  return /* @__PURE__ */ l("div", {
1473
1519
  className: I("tot-ds-root", n),
1474
1520
  "data-theme": e,
@@ -1476,18 +1522,18 @@ function yr({ theme: e, children: t, className: n, "data-testid": r }) {
1476
1522
  children: t
1477
1523
  });
1478
1524
  }
1479
- var br = {
1525
+ var Sr = {
1480
1526
  wrapper: "_wrapper_x6gz1_1",
1481
1527
  message: "_message_x6gz1_10"
1482
1528
  };
1483
1529
  //#endregion
1484
1530
  //#region src/components/EmptyState/EmptyState.tsx
1485
- function xr({ message: e, action: t, "data-testid": n }) {
1531
+ function Cr({ message: e, action: t, "data-testid": n }) {
1486
1532
  return /* @__PURE__ */ u("div", {
1487
- className: br.wrapper,
1533
+ className: Sr.wrapper,
1488
1534
  "data-testid": n,
1489
1535
  children: [/* @__PURE__ */ l("p", {
1490
- className: br.message,
1536
+ className: Sr.message,
1491
1537
  children: e
1492
1538
  }), t]
1493
1539
  });
@@ -1501,7 +1547,7 @@ var W = {
1501
1547
  details: "_details_1tgia_39",
1502
1548
  stack: "_stack_1tgia_57",
1503
1549
  retryButton: "_retryButton_1tgia_70"
1504
- }, Sr = class extends e {
1550
+ }, wr = class extends e {
1505
1551
  constructor(e) {
1506
1552
  super(e), this.state = {
1507
1553
  hasError: !1,
@@ -1574,7 +1620,7 @@ var W = {
1574
1620
  })
1575
1621
  }) : n;
1576
1622
  }
1577
- }, Cr = {
1623
+ }, Tr = {
1578
1624
  field: "_field_7gstu_2",
1579
1625
  label: "_label_7gstu_8",
1580
1626
  required: "_required_7gstu_16",
@@ -1583,30 +1629,30 @@ var W = {
1583
1629
  };
1584
1630
  //#endregion
1585
1631
  //#region src/components/FormField/FormField.tsx
1586
- function wr({ label: e, htmlFor: t, error: n, description: r, required: i = !1, children: a, className: o, "data-testid": s }) {
1632
+ function Er({ label: e, htmlFor: t, error: n, description: r, required: i = !1, children: a, className: o, "data-testid": s }) {
1587
1633
  let c = t ? `${t}-error` : void 0, d = t ? `${t}-description` : void 0;
1588
1634
  return /* @__PURE__ */ u("div", {
1589
- className: [Cr.field, o].filter(Boolean).join(" "),
1635
+ className: [Tr.field, o].filter(Boolean).join(" "),
1590
1636
  "data-testid": s,
1591
1637
  children: [
1592
1638
  /* @__PURE__ */ u("label", {
1593
1639
  htmlFor: t,
1594
- className: Cr.label,
1640
+ className: Tr.label,
1595
1641
  children: [e, i && /* @__PURE__ */ u("span", {
1596
- className: Cr.required,
1642
+ className: Tr.required,
1597
1643
  "aria-hidden": "true",
1598
1644
  children: [" ", "*"]
1599
1645
  })]
1600
1646
  }),
1601
1647
  r && /* @__PURE__ */ l("p", {
1602
1648
  id: d,
1603
- className: Cr.description,
1649
+ className: Tr.description,
1604
1650
  children: r
1605
1651
  }),
1606
1652
  a,
1607
1653
  n && /* @__PURE__ */ l("p", {
1608
1654
  id: c,
1609
- className: Cr.error,
1655
+ className: Tr.error,
1610
1656
  role: "alert",
1611
1657
  "aria-live": "polite",
1612
1658
  children: n
@@ -1614,15 +1660,15 @@ function wr({ label: e, htmlFor: t, error: n, description: r, required: i = !1,
1614
1660
  ]
1615
1661
  });
1616
1662
  }
1617
- var Tr = {
1663
+ var Dr = {
1618
1664
  wrapper: "_wrapper_8byuq_2",
1619
1665
  error: "_error_8byuq_9"
1620
1666
  };
1621
1667
  //#endregion
1622
1668
  //#region src/components/GoogleSignInButton/GoogleSignInButton.tsx
1623
- function Er({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-testid": i }) {
1669
+ function Or({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-testid": i }) {
1624
1670
  return /* @__PURE__ */ u("div", {
1625
- className: Tr.wrapper,
1671
+ className: Dr.wrapper,
1626
1672
  "data-testid": i,
1627
1673
  children: [/* @__PURE__ */ u(N, {
1628
1674
  type: "button",
@@ -1639,36 +1685,36 @@ function Er({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-t
1639
1685
  }), "Google"]
1640
1686
  }), n && /* @__PURE__ */ l("span", {
1641
1687
  role: "alert",
1642
- className: Tr.error,
1688
+ className: Dr.error,
1643
1689
  children: r instanceof Error ? r.message : "Error al iniciar sesión con Google"
1644
1690
  })]
1645
1691
  });
1646
1692
  }
1647
- var Dr = {
1693
+ var kr = {
1648
1694
  groupedButtons: "_groupedButtons_13s4p_2",
1649
1695
  button: "_button_13s4p_15"
1650
1696
  };
1651
1697
  //#endregion
1652
1698
  //#region src/components/GroupedButtons/GroupedButtons.tsx
1653
- function Or(e, t) {
1699
+ function Ar(e, t) {
1654
1700
  return t === 1 ? "standalone" : e === 0 ? "left" : e === t - 1 ? "right" : "center";
1655
1701
  }
1656
- function kr({ label: e, options: t, selectedButton: n, size: r = "medium", fullWidth: i = !1, disabled: a = !1, onChange: o, className: c, ...d }) {
1702
+ function jr({ label: e, options: t, selectedButton: n, size: r = "medium", fullWidth: i = !1, disabled: a = !1, onChange: o, className: c, ...d }) {
1657
1703
  let [f, p] = s(() => t[0]?.value), m = n !== void 0, h = m ? n : f, g = (e) => {
1658
1704
  let n = t.find((t) => t.value === e);
1659
1705
  a || n?.disabled || (m || p(e), o?.(e));
1660
1706
  };
1661
1707
  return /* @__PURE__ */ l("fieldset", {
1662
1708
  "aria-label": e,
1663
- className: [Dr.groupedButtons, c].filter(Boolean).join(" "),
1709
+ className: [kr.groupedButtons, c].filter(Boolean).join(" "),
1664
1710
  disabled: a,
1665
1711
  "data-full-width": i ? "" : void 0,
1666
1712
  ...d,
1667
1713
  children: t.map((e, n) => /* @__PURE__ */ u("button", {
1668
1714
  type: "button",
1669
- className: Dr.button,
1715
+ className: kr.button,
1670
1716
  "data-size": r,
1671
- "data-position": Or(n, t.length),
1717
+ "data-position": Ar(n, t.length),
1672
1718
  "data-selected": h === e.value ? "" : void 0,
1673
1719
  disabled: a || e.disabled,
1674
1720
  onClick: () => g(e.value),
@@ -1679,7 +1725,7 @@ function kr({ label: e, options: t, selectedButton: n, size: r = "medium", fullW
1679
1725
  }, e.value))
1680
1726
  });
1681
1727
  }
1682
- var Ar = {
1728
+ var Mr = {
1683
1729
  header: "_header_1dj55_2",
1684
1730
  item: "_item_1dj55_17",
1685
1731
  title: "_title_1dj55_24",
@@ -1687,18 +1733,18 @@ var Ar = {
1687
1733
  };
1688
1734
  //#endregion
1689
1735
  //#region src/components/Header/Header.tsx
1690
- function jr({ headers: e = [], spaceBetween: t = !1, className: n, ...r }) {
1736
+ function Nr({ headers: e = [], spaceBetween: t = !1, className: n, ...r }) {
1691
1737
  return /* @__PURE__ */ l("section", {
1692
- className: [Ar.header, n].filter(Boolean).join(" "),
1738
+ className: [Mr.header, n].filter(Boolean).join(" "),
1693
1739
  "data-space-between": t ? "" : void 0,
1694
1740
  ...r,
1695
1741
  children: e.map((e) => /* @__PURE__ */ u("div", {
1696
- className: Ar.item,
1742
+ className: Mr.item,
1697
1743
  children: [/* @__PURE__ */ l("p", {
1698
- className: Ar.title,
1744
+ className: Mr.title,
1699
1745
  children: e.title
1700
1746
  }), e.description && /* @__PURE__ */ l("p", {
1701
- className: Ar.description,
1747
+ className: Mr.description,
1702
1748
  children: e.description
1703
1749
  })]
1704
1750
  }, e.title))
@@ -1706,12 +1752,12 @@ function jr({ headers: e = [], spaceBetween: t = !1, className: n, ...r }) {
1706
1752
  }
1707
1753
  //#endregion
1708
1754
  //#region src/components/LanguageSelector/LanguageSelector.tsx
1709
- function Mr({ value: e, options: t, onChange: n, "data-testid": r }) {
1755
+ function Pr({ value: e, options: t, onChange: n, "data-testid": r }) {
1710
1756
  let i = a(() => t.map(({ value: e, label: t }) => ({
1711
1757
  value: e,
1712
1758
  label: t
1713
1759
  })), [t]);
1714
- return /* @__PURE__ */ l(rr, {
1760
+ return /* @__PURE__ */ l(ar, {
1715
1761
  text: t.find((t) => t.value === e)?.label ?? e,
1716
1762
  menuItems: i,
1717
1763
  size: "small",
@@ -1720,22 +1766,22 @@ function Mr({ value: e, options: t, onChange: n, "data-testid": r }) {
1720
1766
  "data-testid": r
1721
1767
  });
1722
1768
  }
1723
- var Nr = { logo: "_logo_t6mnr_2" }, Pr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#e6d9ca\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#ff4235\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", Fr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#1b1b1b\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#e6d9ca\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", Ir = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#1b1b1b\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#ff4235\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", Lr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#e6d9ca\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.33v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.932-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#ff4235\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.052c1.581-11.911 13.005-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24H261.89a22.4 22.4 0 0 1-1.594-5.85m-.486-24.322c-3.405 2.189-8.628 3.283-15.195 4.013-7.905.851-12.769 2.56-12.769 7.169 0 3.526 4.134 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.205 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.52V15.93h7.539V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.014 12.033 12.04 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n", Rr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#1b1b1b\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.31v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.931-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#e6d9ca\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.046c1.581-11.911 13.006-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24h-14.721a22.4 22.4 0 0 1-1.6-5.85m-.486-24.322c-3.406 2.189-8.628 3.283-15.195 4.013-7.905.851-12.801 2.56-12.801 7.169 0 3.526 4.134 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.204 78.406c-18.356 1.92-28.085-9.12-28.085-26.242V30.153h-7.54V15.93h7.54V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.013 12.033 12.039 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n", zr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#1b1b1b\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.33v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.932-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#ff4235\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.046c1.581-11.911 13.006-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24h-14.721a22.4 22.4 0 0 1-1.6-5.85m-.486-24.322c-3.405 2.189-8.628 3.283-15.195 4.013-7.905.851-12.801 2.56-12.801 7.169 0 3.526 4.135 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.204 78.406c-18.356 1.92-28.085-9.12-28.085-26.242V30.153h-7.54V15.93h7.54V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.013 12.033 12.039 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n";
1769
+ var Fr = { logo: "_logo_t6mnr_2" }, Ir = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#e6d9ca\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#ff4235\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", Lr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#1b1b1b\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#e6d9ca\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", Rr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" fill=\"none\" viewBox=\"0 0 80 80\"><path fill=\"#1b1b1b\" d=\"M47.328 24.999V10H32.329v14.999h-15v15h15v14.999h14.999V39.999h14.999V25z\"/><path fill=\"#ff4235\" d=\"M32.328 40a15 15 0 0 0 14.998 15h15v15H47.329a15 15 0 0 1-15-15z\"/></svg>\n", zr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#e6d9ca\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.33v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.932-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#ff4235\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.052c1.581-11.911 13.005-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24H261.89a22.4 22.4 0 0 1-1.594-5.85m-.486-24.322c-3.405 2.189-8.628 3.283-15.195 4.013-7.905.851-12.769 2.56-12.769 7.169 0 3.526 4.134 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.205 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.52V15.93h7.539V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.014 12.033 12.04 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n", Br = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#1b1b1b\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.31v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.931-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#e6d9ca\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.046c1.581-11.911 13.006-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24h-14.721a22.4 22.4 0 0 1-1.6-5.85m-.486-24.322c-3.406 2.189-8.628 3.283-15.195 4.013-7.905.851-12.801 2.56-12.801 7.169 0 3.526 4.134 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.204 78.406c-18.356 1.92-28.085-9.12-28.085-26.242V30.153h-7.54V15.93h7.54V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.013 12.033 12.039 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n", Vr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"317\" height=\"80\" fill=\"none\" viewBox=\"0 0 317 80\"><g clip-path=\"url(#a)\"><path fill=\"#1b1b1b\" d=\"M7.54 63.372v-33.22H.02V15.932h7.539V0h16.046v15.93h11.31v14.223h-11.33v33.34zM103.586 47.3c0 18.721-14.222 32.706-31.612 32.706S40.484 66.021 40.484 47.3s14.08-32.95 31.49-32.95 31.612 14.222 31.612 32.95m-16.168.121c0-10.823-6.932-18.363-15.444-18.363s-15.438 7.54-15.438 18.363c0 10.574 6.932 17.87 15.438 17.87s15.444-7.296 15.444-17.87M142.002 78.406c-18.357 1.92-28.086-9.12-28.086-26.242V30.153h-7.539V15.93h7.571V0h16.002v15.93h11.303v14.223H129.95v22.133c0 8.75 4.006 12.033 12.033 11.52z\"/><path fill=\"#ff4235\" d=\"M163.155 53.502c2.068 7.68 8.148 12.398 15.688 12.398 5.345 0 10.574-2.31 13.249-7.297h17.141c-3.642 12.801-14.721 21.403-30.268 21.403-17.634 0-32.099-14.593-32.099-32.706s14.465-32.95 32.099-32.95c18.478 0 33.794 14.344 31.484 39.152zm31.363-13.134c-1.92-7.297-8.026-11.918-15.681-11.918-7.297 0-13.134 4.622-15.445 11.918zM260.296 72.71c-4.135 4.378-10.452 7.04-19.202 7.04-13.255 0-25.41-6.688-25.41-20.308 0-14.082 11.79-17.75 25.654-18.965 10.458-.973 17.87-2.19 17.87-7.297 0-3.283-4.256-5.959-11.425-5.959-5.716 0-12.283 2.56-13.742 7.905h-16.046c1.581-11.911 13.006-20.789 29.442-20.789 25.41 0 27.356 16.411 27.356 21.397V68.32c.137 3.481.751 6.927 1.824 10.24h-14.721a22.4 22.4 0 0 1-1.6-5.85m-.486-24.322c-3.405 2.189-8.628 3.283-15.195 4.013-7.905.851-12.801 2.56-12.801 7.169 0 3.526 4.135 5.958 10.58 5.958 9.601 0 17.384-3.283 17.384-11.303zM316.204 78.406c-18.356 1.92-28.085-9.12-28.085-26.242V30.153h-7.54V15.93h7.54V0h16.046v15.93h11.31v14.223h-11.31v22.133c0 8.75 4.013 12.033 12.039 11.52zM7.495 47.044a16.45 16.45 0 0 0 16.392 16.392l10.99.044.038 16.354-10.983-.045A16.45 16.45 0 0 1 7.54 63.397z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h316.224v80H0z\"/></clipPath></defs></svg>\n";
1724
1770
  //#endregion
1725
1771
  //#region src/components/LogoToteat/LogoToteat.tsx
1726
- function Br(e) {
1772
+ function Hr(e) {
1727
1773
  return e.replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;");
1728
1774
  }
1729
- var Vr = {
1730
- original: zr,
1731
- "cream-orange": Lr,
1732
- "black-cream": Rr
1733
- }, Hr = {
1734
- original: Ir,
1735
- "cream-orange": Pr,
1736
- "black-cream": Fr
1775
+ var Ur = {
1776
+ original: Vr,
1777
+ "cream-orange": zr,
1778
+ "black-cream": Br
1779
+ }, Wr = {
1780
+ original: Rr,
1781
+ "cream-orange": Ir,
1782
+ "black-cream": Lr
1737
1783
  };
1738
- function Ur(e, t, n) {
1784
+ function Gr(e, t, n) {
1739
1785
  if (t !== void 0 && n !== void 0) return {
1740
1786
  width: t,
1741
1787
  height: n
@@ -1758,10 +1804,10 @@ function Ur(e, t, n) {
1758
1804
  height: Math.round(t / 317 * 80)
1759
1805
  };
1760
1806
  }
1761
- function Wr({ mode: e = "complete", variant: t = "original", width: n, height: r, alt: i = "Logo Toteat", className: a, ...o }) {
1762
- let s = e === "icon" ? Hr[t] : Vr[t], c = Ur(e, n, r), u = s.replace(/width="\d+"/, `width="${c.width}"`).replace(/height="\d+"/, `height="${c.height}"`).replace(/<svg/, `<svg role="img" aria-label="${Br(i)}"`);
1807
+ function Kr({ mode: e = "complete", variant: t = "original", width: n, height: r, alt: i = "Logo Toteat", className: a, ...o }) {
1808
+ let s = e === "icon" ? Wr[t] : Ur[t], c = Gr(e, n, r), u = s.replace(/width="\d+"/, `width="${c.width}"`).replace(/height="\d+"/, `height="${c.height}"`).replace(/<svg/, `<svg role="img" aria-label="${Hr(i)}"`);
1763
1809
  return /* @__PURE__ */ l("span", {
1764
- className: [Nr.logo, a].filter(Boolean).join(" "),
1810
+ className: [Fr.logo, a].filter(Boolean).join(" "),
1765
1811
  "data-mode": e,
1766
1812
  "data-variant": t,
1767
1813
  ...o,
@@ -1779,8 +1825,8 @@ var G = {
1779
1825
  search: "_search_jb72r_120",
1780
1826
  option: "_option_jb72r_108",
1781
1827
  noResults: "_noResults_jb72r_162"
1782
- }, Gr = 240;
1783
- function Kr({ options: e, value: t, onChange: i, placeholder: a = "Seleccionar...", searchPlaceholder: c = "Buscar...", noResultsText: d = "Sin resultados", removeLabel: f = "Eliminar", disabled: p, error: m, "data-testid": h }) {
1828
+ }, qr = 240;
1829
+ function Jr({ options: e, value: t, onChange: i, placeholder: a = "Seleccionar...", searchPlaceholder: c = "Buscar...", noResultsText: d = "Sin resultados", removeLabel: f = "Eliminar", disabled: p, error: m, "data-testid": h }) {
1784
1830
  let [g, _] = s(!1), [v, y] = s(!1), [b, x] = s(""), S = o(null), C = o(null), w = e.filter((e) => t.includes(e.value)), T = e.filter((e) => !t.includes(e.value) && e.label.toLowerCase().includes(b.toLowerCase())), E = n(() => {
1785
1831
  _(!1), C.current?.focus();
1786
1832
  }, []);
@@ -1799,7 +1845,7 @@ function Kr({ options: e, value: t, onChange: i, placeholder: a = "Seleccionar..
1799
1845
  }, [g, E]), r(() => {
1800
1846
  if (!g || !S.current) return;
1801
1847
  let e = S.current.getBoundingClientRect();
1802
- y(window.innerHeight - e.bottom < Gr + 8);
1848
+ y(window.innerHeight - e.bottom < qr + 8);
1803
1849
  }, [g]);
1804
1850
  let D = (e) => i([...t, e]), O = (e) => i(t.filter((t) => t !== e));
1805
1851
  return /* @__PURE__ */ u("div", {
@@ -1878,7 +1924,7 @@ var K = {
1878
1924
  };
1879
1925
  //#endregion
1880
1926
  //#region src/components/NavBar/NavBar.tsx
1881
- function qr({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, isLoading: i = !1, isPinLocked: a = !1, rightSlot: o, "data-testid": s }) {
1927
+ function Yr({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, isLoading: i = !1, isPinLocked: a = !1, rightSlot: o, "data-testid": s }) {
1882
1928
  return a ? null : /* @__PURE__ */ u("header", {
1883
1929
  className: K.navbar,
1884
1930
  "data-testid": s,
@@ -1938,7 +1984,7 @@ function qr({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle:
1938
1984
  ]
1939
1985
  });
1940
1986
  }
1941
- var Jr = {
1987
+ var Xr = {
1942
1988
  overlay: "_overlay_8yoic_2",
1943
1989
  "overlay-fade-in": "_overlay-fade-in_8yoic_1",
1944
1990
  backdrop: "_backdrop_8yoic_22",
@@ -1946,7 +1992,7 @@ var Jr = {
1946
1992
  };
1947
1993
  //#endregion
1948
1994
  //#region src/components/Overlay/Overlay.tsx
1949
- function Yr({ visible: e = !1, onClose: t, children: i, dismissible: a = !0, closeOnBackdrop: o = !0, closeOnEsc: s = !0, lockScroll: c = !0, blur: d = !1, placement: f = "center", zIndex: p = 1200, role: m = "presentation", "aria-label": h, className: g, "data-testid": _ }) {
1995
+ function Zr({ visible: e = !1, onClose: t, children: i, dismissible: a = !0, closeOnBackdrop: o = !0, closeOnEsc: s = !0, lockScroll: c = !0, blur: d = !1, placement: f = "center", zIndex: p = 1200, role: m = "presentation", "aria-label": h, className: g, "data-testid": _ }) {
1950
1996
  let v = n(() => {
1951
1997
  a && t();
1952
1998
  }, [a, t]);
@@ -1966,7 +2012,7 @@ function Yr({ visible: e = !1, onClose: t, children: i, dismissible: a = !0, clo
1966
2012
  v
1967
2013
  ]), !e || typeof document > "u" ? null : k(/* @__PURE__ */ u("div", {
1968
2014
  "data-testid": _,
1969
- className: [Jr.overlay, g].filter(Boolean).join(" "),
2015
+ className: [Xr.overlay, g].filter(Boolean).join(" "),
1970
2016
  "data-blur": d ? "" : void 0,
1971
2017
  "data-placement": f,
1972
2018
  style: { "--overlay-z-index": String(p) },
@@ -1974,13 +2020,13 @@ function Yr({ visible: e = !1, onClose: t, children: i, dismissible: a = !0, clo
1974
2020
  "aria-label": h,
1975
2021
  children: [/* @__PURE__ */ l("button", {
1976
2022
  type: "button",
1977
- className: Jr.backdrop,
2023
+ className: Xr.backdrop,
1978
2024
  "data-backdrop": "",
1979
2025
  onClick: o ? v : void 0,
1980
2026
  "aria-hidden": "true",
1981
2027
  tabIndex: -1
1982
2028
  }), /* @__PURE__ */ l("div", {
1983
- className: Jr.content,
2029
+ className: Xr.content,
1984
2030
  children: i
1985
2031
  })]
1986
2032
  }), document.body);
@@ -1996,19 +2042,19 @@ var q = {
1996
2042
  closeBtn: "_closeBtn_we8nc_66",
1997
2043
  body: "_body_we8nc_94",
1998
2044
  actions: "_actions_we8nc_101"
1999
- }, Xr = {
2045
+ }, Qr = {
2000
2046
  success: "success-outline",
2001
2047
  info: "info-outline",
2002
2048
  warning: "exclamation-outline",
2003
2049
  error: "error-outline"
2004
- }, Zr = {
2050
+ }, $r = {
2005
2051
  success: "var(--ds-color-success)",
2006
2052
  info: "var(--ds-color-info)",
2007
2053
  warning: "var(--ds-color-warning)",
2008
2054
  error: "var(--ds-color-primary)"
2009
2055
  };
2010
- function Qr({ title: e, eyebrow: t, children: n, status: r = "success", iconName: a, iconSize: o = 44, dismissible: s = !0, showCloseButton: c = !0, closeButtonLabel: d = "Close overlay message", primaryButtonLabel: f, secondaryButtonLabel: p, loadingPrimary: m = !1, loadingSecondary: h = !1, maxWidth: g = 400, standalone: _ = !1, onClose: v, onPrimaryClick: y, onSecondaryClick: b, "data-testid": x }) {
2011
- let S = i(), C = i(), w = a ?? Xr[r], T = Zr[r], E = !!n, D = !!f || !!p;
2056
+ function ei({ title: e, eyebrow: t, children: n, status: r = "success", iconName: a, iconSize: o = 44, dismissible: s = !0, showCloseButton: c = !0, closeButtonLabel: d = "Close overlay message", primaryButtonLabel: f, secondaryButtonLabel: p, loadingPrimary: m = !1, loadingSecondary: h = !1, maxWidth: g = 400, standalone: _ = !1, onClose: v, onPrimaryClick: y, onSecondaryClick: b, "data-testid": x }) {
2057
+ let S = i(), C = i(), w = a ?? Qr[r], T = $r[r], E = !!n, D = !!f || !!p;
2012
2058
  return /* @__PURE__ */ u("div", {
2013
2059
  className: q.overlayMessage,
2014
2060
  "data-status": r,
@@ -2082,14 +2128,14 @@ function Qr({ title: e, eyebrow: t, children: n, status: r = "success", iconName
2082
2128
  ]
2083
2129
  });
2084
2130
  }
2085
- function $r({ visible: e = !1, onClose: t, dismissible: n = !0, closeOnBackdrop: r = !0, closeOnEsc: i = !0, lockScroll: a = !0, zIndex: o = 1200, blur: s = !1, placement: c = "center", "aria-label": u, standalone: d = !1, "data-testid": f, ...p }) {
2086
- return e ? d ? /* @__PURE__ */ l(Qr, {
2131
+ function ti({ visible: e = !1, onClose: t, dismissible: n = !0, closeOnBackdrop: r = !0, closeOnEsc: i = !0, lockScroll: a = !0, zIndex: o = 1200, blur: s = !1, placement: c = "center", "aria-label": u, standalone: d = !1, "data-testid": f, ...p }) {
2132
+ return e ? d ? /* @__PURE__ */ l(ei, {
2087
2133
  ...p,
2088
2134
  standalone: !0,
2089
2135
  dismissible: n,
2090
2136
  onClose: t,
2091
2137
  "data-testid": f
2092
- }) : /* @__PURE__ */ l(Yr, {
2138
+ }) : /* @__PURE__ */ l(Zr, {
2093
2139
  visible: e,
2094
2140
  onClose: t,
2095
2141
  dismissible: n,
@@ -2100,7 +2146,7 @@ function $r({ visible: e = !1, onClose: t, dismissible: n = !0, closeOnBackdrop:
2100
2146
  blur: s,
2101
2147
  placement: c,
2102
2148
  "aria-label": u,
2103
- children: /* @__PURE__ */ l(Qr, {
2149
+ children: /* @__PURE__ */ l(ei, {
2104
2150
  ...p,
2105
2151
  dismissible: n,
2106
2152
  onClose: t,
@@ -2108,15 +2154,15 @@ function $r({ visible: e = !1, onClose: t, dismissible: n = !0, closeOnBackdrop:
2108
2154
  })
2109
2155
  }) : null;
2110
2156
  }
2111
- var ei = { canvas: "_canvas_ljz2v_7" }, ti = "#version 300 es\nin vec2 a_pos;\nvoid main() { gl_Position = vec4(a_pos, 0.0, 1.0); }", ni = "#version 300 es\nprecision highp float;\n\nuniform float u_time;\nuniform vec2 u_res;\nout vec4 fragColor;\n\n#define PI 3.14159265359\n#define CELL 18.0 /* px per grid cell */\n#define RADIUS 2.1 /* dot radius in px */\n#define SPEED 25.0 /* wave propagation */\n#define PERIOD 3.8 /* seconds per cycle */\n#define AMP 0.40 /* wave amplitude */\n#define BASE 1.30 /* resting scale */\n\nfloat swave(float t, float k) {\n return (2.0 * AMP / PI) * atan(sin(2.0 * PI * t / PERIOD) / k);\n}\n\nvoid main() {\n vec2 p = gl_FragCoord.xy;\n vec2 center = u_res * 0.5;\n vec2 gridP = p / CELL;\n\n float alpha = 0.0;\n\n for (int dy = -2; dy <= 2; dy++) {\n for (int dx = -2; dx <= 2; dx++) {\n /* grid cell index of this neighbour */\n vec2 cell = floor(gridP) + vec2(float(dx), float(dy));\n\n /* hex stagger: odd x-columns shift down half a cell */\n float hexY = mod(cell.x, 2.0) * 0.5;\n\n /* dot centre in grid units relative to screen centre */\n vec2 origGU = cell + vec2(0.5, 0.5 + hexY) - center / CELL;\n\n /* distance with 8-fold angular symmetry → petal wave-front */\n float d8 = length(origGU) + 0.5 * cos(8.0 * atan(origGU.y, origGU.x));\n\n /* smooth-square-wave breathing */\n float k = 0.15 + 0.2 * abs(d8) / 72.0;\n float wave = swave(u_time - d8 / SPEED, k);\n float scale = wave + BASE;\n\n /* animated dot centre in pixel space */\n vec2 animPx = origGU * scale * CELL + center;\n\n /* soft circle SDF */\n float dist = length(p - animPx);\n float a = 1.0 - smoothstep(RADIUS - 0.6, RADIUS + 0.6, dist);\n alpha = max(alpha, a);\n }\n }\n\n /* primary colour #ff4235 at low opacity — sits on frosted-glass overlay */\n fragColor = vec4(1.0, 0.259, 0.208, alpha * 0.28);\n}";
2112
- function ri(e) {
2157
+ var ni = { canvas: "_canvas_ljz2v_7" }, ri = "#version 300 es\nin vec2 a_pos;\nvoid main() { gl_Position = vec4(a_pos, 0.0, 1.0); }", ii = "#version 300 es\nprecision highp float;\n\nuniform float u_time;\nuniform vec2 u_res;\nout vec4 fragColor;\n\n#define PI 3.14159265359\n#define CELL 18.0 /* px per grid cell */\n#define RADIUS 2.1 /* dot radius in px */\n#define SPEED 25.0 /* wave propagation */\n#define PERIOD 3.8 /* seconds per cycle */\n#define AMP 0.40 /* wave amplitude */\n#define BASE 1.30 /* resting scale */\n\nfloat swave(float t, float k) {\n return (2.0 * AMP / PI) * atan(sin(2.0 * PI * t / PERIOD) / k);\n}\n\nvoid main() {\n vec2 p = gl_FragCoord.xy;\n vec2 center = u_res * 0.5;\n vec2 gridP = p / CELL;\n\n float alpha = 0.0;\n\n for (int dy = -2; dy <= 2; dy++) {\n for (int dx = -2; dx <= 2; dx++) {\n /* grid cell index of this neighbour */\n vec2 cell = floor(gridP) + vec2(float(dx), float(dy));\n\n /* hex stagger: odd x-columns shift down half a cell */\n float hexY = mod(cell.x, 2.0) * 0.5;\n\n /* dot centre in grid units relative to screen centre */\n vec2 origGU = cell + vec2(0.5, 0.5 + hexY) - center / CELL;\n\n /* distance with 8-fold angular symmetry → petal wave-front */\n float d8 = length(origGU) + 0.5 * cos(8.0 * atan(origGU.y, origGU.x));\n\n /* smooth-square-wave breathing */\n float k = 0.15 + 0.2 * abs(d8) / 72.0;\n float wave = swave(u_time - d8 / SPEED, k);\n float scale = wave + BASE;\n\n /* animated dot centre in pixel space */\n vec2 animPx = origGU * scale * CELL + center;\n\n /* soft circle SDF */\n float dist = length(p - animPx);\n float a = 1.0 - smoothstep(RADIUS - 0.6, RADIUS + 0.6, dist);\n alpha = max(alpha, a);\n }\n }\n\n /* primary colour #ff4235 at low opacity — sits on frosted-glass overlay */\n fragColor = vec4(1.0, 0.259, 0.208, alpha * 0.28);\n}";
2158
+ function ai(e) {
2113
2159
  let t = (t, n) => {
2114
2160
  let r = e.createShader(t);
2115
2161
  return e.shaderSource(r, n), e.compileShader(r), r;
2116
2162
  }, n = e.createProgram();
2117
- return e.attachShader(n, t(e.VERTEX_SHADER, ti)), e.attachShader(n, t(e.FRAGMENT_SHADER, ni)), e.linkProgram(n), n;
2163
+ return e.attachShader(n, t(e.VERTEX_SHADER, ri)), e.attachShader(n, t(e.FRAGMENT_SHADER, ii)), e.linkProgram(n), n;
2118
2164
  }
2119
- function ii({ active: e }) {
2165
+ function oi({ active: e }) {
2120
2166
  let t = o(null);
2121
2167
  return r(() => {
2122
2168
  if (!e || !t.current || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
@@ -2127,7 +2173,7 @@ function ii({ active: e }) {
2127
2173
  if (!r) return;
2128
2174
  let i = () => {
2129
2175
  n.width = window.innerWidth, n.height = window.innerHeight, r.viewport(0, 0, n.width, n.height), r.uniform2f(l, n.width, n.height);
2130
- }, a = ri(r);
2176
+ }, a = ai(r);
2131
2177
  r.useProgram(a);
2132
2178
  let o = r.createBuffer();
2133
2179
  r.bindBuffer(r.ARRAY_BUFFER, o), r.bufferData(r.ARRAY_BUFFER, new Float32Array([
@@ -2156,11 +2202,11 @@ function ii({ active: e }) {
2156
2202
  };
2157
2203
  }, [e]), /* @__PURE__ */ l("canvas", {
2158
2204
  ref: t,
2159
- className: ei.canvas,
2205
+ className: ni.canvas,
2160
2206
  "aria-hidden": "true"
2161
2207
  });
2162
2208
  }
2163
- var ai = {
2209
+ var si = {
2164
2210
  overlay: "_overlay_15uou_3",
2165
2211
  logoLayer: "_logoLayer_15uou_58",
2166
2212
  srOnly: "_srOnly_15uou_103"
@@ -2177,7 +2223,7 @@ var ai = {
2177
2223
  };
2178
2224
  //#endregion
2179
2225
  //#region src/components/PageLoadingOverlay/ToteatLogo.tsx
2180
- function oi() {
2226
+ function ci() {
2181
2227
  return /* @__PURE__ */ u("div", {
2182
2228
  className: J.outer,
2183
2229
  "aria-hidden": "true",
@@ -2207,38 +2253,38 @@ function oi() {
2207
2253
  }
2208
2254
  //#endregion
2209
2255
  //#region src/components/PageLoadingOverlay/PageLoadingOverlay.tsx
2210
- function si({ isOpen: e, label: t = "Cargando…", "data-testid": n }) {
2256
+ function li({ isOpen: e, label: t = "Cargando…", "data-testid": n }) {
2211
2257
  return k(/* @__PURE__ */ u(c, { children: [
2212
2258
  /* @__PURE__ */ l("div", {
2213
- className: ai.overlay,
2259
+ className: si.overlay,
2214
2260
  "data-open": e,
2215
2261
  role: "status",
2216
2262
  "aria-live": "polite",
2217
2263
  "aria-busy": e,
2218
2264
  "aria-label": t,
2219
2265
  "data-testid": n,
2220
- children: /* @__PURE__ */ l(ii, { active: e })
2266
+ children: /* @__PURE__ */ l(oi, { active: e })
2221
2267
  }),
2222
2268
  /* @__PURE__ */ l("div", {
2223
- className: `${ai.logoLayer} tot-ds-root`,
2269
+ className: `${si.logoLayer} tot-ds-root`,
2224
2270
  "data-open": e,
2225
2271
  "aria-hidden": "true",
2226
- children: /* @__PURE__ */ l(oi, {})
2272
+ children: /* @__PURE__ */ l(ci, {})
2227
2273
  }),
2228
2274
  /* @__PURE__ */ l("span", {
2229
- className: ai.srOnly,
2275
+ className: si.srOnly,
2230
2276
  "aria-live": "polite",
2231
2277
  "aria-atomic": "true",
2232
2278
  children: e ? t : ""
2233
2279
  })
2234
2280
  ] }), document.body);
2235
2281
  }
2236
- var ci = { overlay: "_overlay_16mjb_2" };
2282
+ var ui = { overlay: "_overlay_16mjb_2" };
2237
2283
  //#endregion
2238
2284
  //#region src/components/PinLockOverlay/PinLockOverlay.tsx
2239
- function li({ isLocked: e, children: t, "data-testid": n }) {
2285
+ function di({ isLocked: e, children: t, "data-testid": n }) {
2240
2286
  return e ? /* @__PURE__ */ l("div", {
2241
- className: ci.overlay,
2287
+ className: ui.overlay,
2242
2288
  role: "dialog",
2243
2289
  "aria-label": "Pantalla bloqueada — ingresa tu PIN",
2244
2290
  "aria-modal": "true",
@@ -2246,7 +2292,7 @@ function li({ isLocked: e, children: t, "data-testid": n }) {
2246
2292
  children: t
2247
2293
  }) : null;
2248
2294
  }
2249
- var ui = {
2295
+ var fi = {
2250
2296
  wrapper: "_wrapper_lqgoi_2",
2251
2297
  input: "_input_lqgoi_9",
2252
2298
  circle: "_circle_lqgoi_27",
@@ -2254,10 +2300,10 @@ var ui = {
2254
2300
  };
2255
2301
  //#endregion
2256
2302
  //#region src/components/Radio/Radio.tsx
2257
- function di({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
2303
+ function pi({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
2258
2304
  let o = n ?? `radio-${a.value}`;
2259
2305
  return /* @__PURE__ */ u("label", {
2260
- className: [ui.wrapper, t].filter(Boolean).join(" "),
2306
+ className: [fi.wrapper, t].filter(Boolean).join(" "),
2261
2307
  htmlFor: o,
2262
2308
  "data-testid": i,
2263
2309
  children: [
@@ -2265,20 +2311,67 @@ function di({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
2265
2311
  ref: r,
2266
2312
  type: "radio",
2267
2313
  id: o,
2268
- className: ui.input,
2314
+ className: fi.input,
2269
2315
  ...a
2270
2316
  }),
2271
2317
  /* @__PURE__ */ l("span", {
2272
- className: ui.circle,
2318
+ className: fi.circle,
2273
2319
  "aria-hidden": "true"
2274
2320
  }),
2275
2321
  e && /* @__PURE__ */ l("span", {
2276
- className: ui.label,
2322
+ className: fi.label,
2277
2323
  children: e
2278
2324
  })
2279
2325
  ]
2280
2326
  });
2281
2327
  }
2328
+ var mi = {
2329
+ root: "_root_fxapc_2",
2330
+ srOnly: "_srOnly_fxapc_8",
2331
+ input: "_input_fxapc_20",
2332
+ clearButton: "_clearButton_fxapc_77"
2333
+ };
2334
+ //#endregion
2335
+ //#region src/components/SearchInput/SearchInput.tsx
2336
+ function hi({ value: e, onChange: t, onClear: n, placeholder: r, label: a, id: s, disabled: c = !1, clearLabel: d = "Limpiar búsqueda", className: f, "data-testid": p }) {
2337
+ let m = i(), h = s ?? m, g = o(null);
2338
+ function _() {
2339
+ n ? n() : t(""), g.current?.focus();
2340
+ }
2341
+ return /* @__PURE__ */ u("div", {
2342
+ className: [mi.root, f].filter(Boolean).join(" "),
2343
+ "data-testid": p,
2344
+ children: [
2345
+ /* @__PURE__ */ l("label", {
2346
+ htmlFor: h,
2347
+ className: mi.srOnly,
2348
+ children: a
2349
+ }),
2350
+ /* @__PURE__ */ l("input", {
2351
+ ref: g,
2352
+ id: h,
2353
+ type: "search",
2354
+ className: mi.input,
2355
+ value: e,
2356
+ onChange: (e) => t(e.target.value),
2357
+ placeholder: r,
2358
+ disabled: c
2359
+ }),
2360
+ e.length > 0 && /* @__PURE__ */ l("button", {
2361
+ type: "button",
2362
+ className: mi.clearButton,
2363
+ "aria-label": d,
2364
+ disabled: c,
2365
+ onClick: _,
2366
+ children: /* @__PURE__ */ l(F, {
2367
+ name: "close-outline",
2368
+ size: 16,
2369
+ "aria-hidden": "true"
2370
+ })
2371
+ })
2372
+ ]
2373
+ });
2374
+ }
2282
2375
  var Y = {
2283
2376
  root: "_root_1nkx3_2",
2284
2377
  content: "_content_1nkx3_9",
@@ -2290,7 +2383,7 @@ var Y = {
2290
2383
  };
2291
2384
  //#endregion
2292
2385
  //#region src/components/SectionHeader/SectionHeader.tsx
2293
- function fi({ title: e, description: t, icon: n, iconSize: r = 32, headingLevel: i = 2, actions: a, className: o, "data-testid": s }) {
2386
+ function gi({ title: e, description: t, icon: n, iconSize: r = 32, headingLevel: i = 2, actions: a, className: o, "data-testid": s }) {
2294
2387
  let c = `h${i}`;
2295
2388
  return /* @__PURE__ */ u("header", {
2296
2389
  className: [Y.root, o].filter(Boolean).join(" "),
@@ -2334,7 +2427,7 @@ var X = {
2334
2427
  };
2335
2428
  //#endregion
2336
2429
  //#region src/components/Select/Select.tsx
2337
- function pi({ options: e, value: t, onChange: i, placeholder: a = "Seleccionar...", searchable: c = !1, searchPlaceholder: d = "Buscar...", noResultsText: f = "Sin resultados", disabled: p, error: m, name: h, "data-testid": g }) {
2430
+ function _i({ options: e, value: t, onChange: i, placeholder: a = "Seleccionar...", searchable: c = !1, searchPlaceholder: d = "Buscar...", noResultsText: f = "Sin resultados", disabled: p, error: m, name: h, "data-testid": g }) {
2338
2431
  let [_, v] = s(!1), [y, b] = s(""), x = o(null), S = o(null), C = e.find((e) => e.value === t), w = c ? e.filter((e) => e.label.toLowerCase().includes(y.toLowerCase())) : e, T = n(() => {
2339
2432
  v(!1), S.current?.focus();
2340
2433
  }, []);
@@ -2414,35 +2507,35 @@ function pi({ options: e, value: t, onChange: i, placeholder: a = "Seleccionar..
2414
2507
  ]
2415
2508
  });
2416
2509
  }
2417
- var mi = {
2510
+ var vi = {
2418
2511
  backdrop: "_backdrop_e6k21_2",
2419
2512
  sidebar: "_sidebar_e6k21_19"
2420
2513
  };
2421
2514
  //#endregion
2422
2515
  //#region src/components/Sidebar/Sidebar.tsx
2423
- function hi({ isOpen: e, onClose: t, isPinLocked: n = !1, isModal: r = !1, children: i }) {
2516
+ function yi({ isOpen: e, onClose: t, isPinLocked: n = !1, isModal: r = !1, children: i }) {
2424
2517
  return n || r ? null : /* @__PURE__ */ u(c, { children: [/* @__PURE__ */ l("div", {
2425
- className: mi.backdrop,
2518
+ className: vi.backdrop,
2426
2519
  "data-open": e,
2427
2520
  "data-testid": "sidebar-backdrop",
2428
2521
  onClick: t,
2429
2522
  role: "presentation",
2430
2523
  "aria-hidden": "true"
2431
2524
  }), /* @__PURE__ */ l("nav", {
2432
- className: mi.sidebar,
2525
+ className: vi.sidebar,
2433
2526
  "data-open": e,
2434
2527
  "aria-label": "Menú principal",
2435
2528
  children: i
2436
2529
  })] });
2437
2530
  }
2438
- var gi = {
2531
+ var bi = {
2439
2532
  item: "_item_1twlt_2",
2440
2533
  active: "_active_1twlt_33"
2441
- }, _i = gi.item, vi = gi.active;
2442
- function yi({ label: e, isActive: t = !1, className: n, type: r = "button", ...i }) {
2534
+ }, xi = bi.item, Si = bi.active;
2535
+ function Ci({ label: e, isActive: t = !1, className: n, type: r = "button", ...i }) {
2443
2536
  return /* @__PURE__ */ l("button", {
2444
2537
  type: r,
2445
- className: I(gi.item, t && gi.active, n),
2538
+ className: I(bi.item, t && bi.active, n),
2446
2539
  "data-active": t || void 0,
2447
2540
  ...i,
2448
2541
  children: e
@@ -2460,7 +2553,7 @@ var Z = {
2460
2553
  };
2461
2554
  //#endregion
2462
2555
  //#region src/components/SidebarNavSection/SidebarNavSection.tsx
2463
- function bi({ title: e, icon: t, titleSuffix: n, defaultOpen: r = !1, isActive: i = !1, className: a, children: o, "data-testid": c }) {
2556
+ function wi({ title: e, icon: t, titleSuffix: n, defaultOpen: r = !1, isActive: i = !1, className: a, children: o, "data-testid": c }) {
2464
2557
  let [d, f] = s(r);
2465
2558
  return /* @__PURE__ */ u("div", {
2466
2559
  className: I(Z.section, a),
@@ -2505,7 +2598,7 @@ function bi({ title: e, icon: t, titleSuffix: n, defaultOpen: r = !1, isActive:
2505
2598
  }
2506
2599
  //#endregion
2507
2600
  //#region src/components/StatusBadge/StatusBadge.tsx
2508
- function xi({ status: e, labels: t, variants: n, fallbackLabel: r, fallbackVariant: i = "default", size: a, "data-testid": o }) {
2601
+ function Ti({ status: e, labels: t, variants: n, fallbackLabel: r, fallbackVariant: i = "default", size: a, "data-testid": o }) {
2509
2602
  return /* @__PURE__ */ l(Fn, {
2510
2603
  variant: n[e] ?? i,
2511
2604
  size: a,
@@ -2513,19 +2606,66 @@ function xi({ status: e, labels: t, variants: n, fallbackLabel: r, fallbackVaria
2513
2606
  children: t[e] ?? r ?? e
2514
2607
  });
2515
2608
  }
2516
- var Si = { tabbar: "_tabbar_qy5zr_2" };
2609
+ var Ei = {
2610
+ stepper: "_stepper_16r3t_2",
2611
+ button: "_button_16r3t_8",
2612
+ output: "_output_16r3t_46"
2613
+ };
2614
+ //#endregion
2615
+ //#region src/components/Stepper/Stepper.tsx
2616
+ function Di({ value: e, onChange: t, min: n = 0, max: r = 2 ** 53 - 1, step: i = 1, disabled: a = !1, "aria-label": o, decrementLabel: s = "Disminuir", incrementLabel: c = "Aumentar", className: d, "data-testid": f }) {
2617
+ let p = a || e <= n, m = a || e >= r;
2618
+ return /* @__PURE__ */ u("div", {
2619
+ role: "group",
2620
+ "aria-label": o,
2621
+ className: [Ei.stepper, d].filter(Boolean).join(" "),
2622
+ "data-testid": f,
2623
+ children: [
2624
+ /* @__PURE__ */ l("button", {
2625
+ type: "button",
2626
+ "aria-label": s,
2627
+ disabled: p,
2628
+ className: Ei.button,
2629
+ onClick: () => t(Math.max(n, e - i)),
2630
+ children: /* @__PURE__ */ l(F, {
2631
+ name: "minus-filled",
2632
+ size: 20,
2633
+ "aria-hidden": "true"
2634
+ })
2635
+ }),
2636
+ /* @__PURE__ */ l("output", {
2637
+ className: Ei.output,
2638
+ "aria-live": "polite",
2639
+ children: e
2640
+ }),
2641
+ /* @__PURE__ */ l("button", {
2642
+ type: "button",
2643
+ "aria-label": c,
2644
+ disabled: m,
2645
+ className: Ei.button,
2646
+ onClick: () => t(Math.min(r, e + i)),
2647
+ children: /* @__PURE__ */ l(F, {
2648
+ name: "plus-filled",
2649
+ size: 20,
2650
+ "aria-hidden": "true"
2651
+ })
2652
+ })
2653
+ ]
2654
+ });
2655
+ }
2656
+ var Oi = { tabbar: "_tabbar_qy5zr_2" };
2517
2657
  //#endregion
2518
2658
  //#region src/components/TabBar/TabBar.tsx
2519
- function Ci({ variant: e = "default", children: t, "data-testid": n }) {
2659
+ function ki({ variant: e = "default", children: t, "data-testid": n }) {
2520
2660
  return /* @__PURE__ */ l("div", {
2521
- className: Si.tabbar,
2661
+ className: Oi.tabbar,
2522
2662
  role: "tablist",
2523
2663
  "data-variant": e,
2524
2664
  "data-testid": n,
2525
2665
  children: t
2526
2666
  });
2527
2667
  }
2528
- var wi = {
2668
+ var Ai = {
2529
2669
  tabs: "_tabs_zujvo_2",
2530
2670
  tabList: "_tabList_zujvo_8",
2531
2671
  tab: "_tab_zujvo_2",
@@ -2533,7 +2673,7 @@ var wi = {
2533
2673
  };
2534
2674
  //#endregion
2535
2675
  //#region src/components/Tabs/Tabs.tsx
2536
- function Ti({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange: i, "data-testid": a }) {
2676
+ function ji({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange: i, "data-testid": a }) {
2537
2677
  let [c, d] = s(t ?? e[0]?.id ?? ""), f = n !== void 0, p = f ? n : c, m = o(/* @__PURE__ */ new Map()), h = o(f);
2538
2678
  process.env.NODE_ENV !== "production" && h.current !== f && console.error("Tabs: `activeTab` prop changed from %s to %s. A component cannot switch between controlled and uncontrolled modes.", h.current ? "controlled" : "uncontrolled", f ? "controlled" : "uncontrolled");
2539
2679
  let g = (e) => {
@@ -2543,10 +2683,10 @@ function Ti({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange:
2543
2683
  t.key === "ArrowRight" ? (t.preventDefault(), a = r[(i + 1) % r.length]) : t.key === "ArrowLeft" ? (t.preventDefault(), a = r[(i - 1 + r.length) % r.length]) : t.key === "Home" ? (t.preventDefault(), a = r[0]) : t.key === "End" && (t.preventDefault(), a = r[r.length - 1]), a && (g(a), m.current.get(a)?.focus());
2544
2684
  }, v = e.find((e) => e.id === p)?.content;
2545
2685
  return /* @__PURE__ */ u("div", {
2546
- className: wi.tabs,
2686
+ className: Ai.tabs,
2547
2687
  "data-testid": a,
2548
2688
  children: [/* @__PURE__ */ l("div", {
2549
- className: wi.tabList,
2689
+ className: Ai.tabList,
2550
2690
  role: "tablist",
2551
2691
  "aria-label": r,
2552
2692
  children: e.map((e, t) => /* @__PURE__ */ l("button", {
@@ -2558,7 +2698,7 @@ function Ti({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange:
2558
2698
  "aria-selected": e.id === p,
2559
2699
  "aria-controls": v == null ? void 0 : `panel-${p}`,
2560
2700
  id: `tab-${e.id}`,
2561
- className: wi.tab,
2701
+ className: Ai.tab,
2562
2702
  "data-active": e.id === p || void 0,
2563
2703
  disabled: e.disabled,
2564
2704
  tabIndex: e.id === p ? 0 : -1,
@@ -2570,32 +2710,32 @@ function Ti({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange:
2570
2710
  role: "tabpanel",
2571
2711
  id: `panel-${p}`,
2572
2712
  "aria-labelledby": `tab-${p}`,
2573
- className: wi.panel,
2713
+ className: Ai.panel,
2574
2714
  children: v
2575
2715
  })]
2576
2716
  });
2577
2717
  }
2578
- var Ei = { textarea: "_textarea_1vuas_2" };
2718
+ var Mi = { textarea: "_textarea_1vuas_2" };
2579
2719
  //#endregion
2580
2720
  //#region src/components/Textarea/Textarea.tsx
2581
- function Di({ error: e, className: t, rows: n = 3, ref: r, ...i }) {
2721
+ function Ni({ error: e, className: t, rows: n = 3, ref: r, ...i }) {
2582
2722
  return /* @__PURE__ */ l("textarea", {
2583
2723
  ref: r,
2584
2724
  rows: n,
2585
- className: [Ei.textarea, t].filter(Boolean).join(" "),
2725
+ className: [Mi.textarea, t].filter(Boolean).join(" "),
2586
2726
  "data-error": e ? "" : void 0,
2587
2727
  "aria-invalid": e || void 0,
2588
2728
  ...i
2589
2729
  });
2590
2730
  }
2591
- var Oi = {
2592
- wrapper: "_wrapper_1h7g7_2",
2593
- input: "_input_1h7g7_7",
2594
- toggleButton: "_toggleButton_1h7g7_12"
2595
- }, ki = t(function({ error: e = !1, showPasswordToggle: t = !1, size: n = "medium", className: r, type: i, "data-testid": a, ...o }, c) {
2731
+ var Pi = {
2732
+ wrapper: "_wrapper_5narf_2",
2733
+ input: "_input_5narf_7",
2734
+ toggleButton: "_toggleButton_5narf_12"
2735
+ }, Fi = t(function({ error: e = !1, showPasswordToggle: t = !1, size: n = "medium", className: r, type: i, "data-testid": a, ...o }, c) {
2596
2736
  let [d, f] = s(!1), p = i === "password", m = p && d ? "text" : i, h = p && t, g = /* @__PURE__ */ l("input", {
2597
2737
  ref: c,
2598
- className: [Oi.input, !h && r].filter(Boolean).join(" "),
2738
+ className: [Pi.input, !h && r].filter(Boolean).join(" "),
2599
2739
  "data-error": e ? "" : void 0,
2600
2740
  "data-size": n,
2601
2741
  "aria-invalid": e || void 0,
@@ -2604,13 +2744,13 @@ var Oi = {
2604
2744
  ...o
2605
2745
  });
2606
2746
  return h ? /* @__PURE__ */ u("div", {
2607
- className: [Oi.wrapper, r].filter(Boolean).join(" "),
2747
+ className: [Pi.wrapper, r].filter(Boolean).join(" "),
2608
2748
  "data-error": e ? "" : void 0,
2609
2749
  "data-size": n,
2610
2750
  "data-testid": a,
2611
2751
  children: [g, /* @__PURE__ */ l("button", {
2612
2752
  type: "button",
2613
- className: Oi.toggleButton,
2753
+ className: Pi.toggleButton,
2614
2754
  "aria-label": d ? "Ocultar contraseña" : "Mostrar contraseña",
2615
2755
  "aria-pressed": d,
2616
2756
  disabled: o.disabled,
@@ -2625,7 +2765,7 @@ var Oi = {
2625
2765
  });
2626
2766
  //#endregion
2627
2767
  //#region src/components/ThemeGate/ThemeGate.tsx
2628
- function Ai({ theme: e, children: t, className: n, "data-testid": r }) {
2768
+ function Ii({ theme: e, children: t, className: n, "data-testid": r }) {
2629
2769
  return /* @__PURE__ */ l("div", {
2630
2770
  "data-theme": e,
2631
2771
  className: n,
@@ -2633,49 +2773,49 @@ function Ai({ theme: e, children: t, className: n, "data-testid": r }) {
2633
2773
  children: t
2634
2774
  });
2635
2775
  }
2636
- var ji = {
2776
+ var Li = {
2637
2777
  container: "_container_18wzq_2",
2638
2778
  toast: "_toast_18wzq_22",
2639
2779
  "ds-toast-enter": "_ds-toast-enter_18wzq_1",
2640
2780
  toastMessage: "_toastMessage_18wzq_61",
2641
2781
  dismissButton: "_dismissButton_18wzq_65"
2642
- }, Mi = [], Ni = /* @__PURE__ */ new Set(), Pi = 0;
2643
- function Fi() {
2644
- for (let e of Ni) e([...Mi]);
2782
+ }, Ri = [], zi = /* @__PURE__ */ new Set(), Bi = 0;
2783
+ function Vi() {
2784
+ for (let e of zi) e([...Ri]);
2645
2785
  }
2646
- function Ii(e) {
2647
- let t = `toast-${++Pi}-${Date.now()}`;
2648
- return Mi = [...Mi, {
2786
+ function Hi(e) {
2787
+ let t = `toast-${++Bi}-${Date.now()}`;
2788
+ return Ri = [...Ri, {
2649
2789
  id: t,
2650
2790
  message: e.message,
2651
2791
  variant: e.variant ?? "info",
2652
2792
  duration: e.duration,
2653
2793
  dismissible: e.dismissible,
2654
2794
  "data-testid": e["data-testid"]
2655
- }], Fi(), t;
2795
+ }], Vi(), t;
2656
2796
  }
2657
- function Li(e) {
2658
- Mi = Mi.filter((t) => t.id !== e), Fi();
2797
+ function Ui(e) {
2798
+ Ri = Ri.filter((t) => t.id !== e), Vi();
2659
2799
  }
2660
- function Ri() {
2661
- let [e, t] = s(Mi), i = o(!0);
2800
+ function Wi() {
2801
+ let [e, t] = s(Ri), i = o(!0);
2662
2802
  return r(() => {
2663
2803
  i.current = !0;
2664
2804
  let e = (e) => {
2665
2805
  i.current && t(e);
2666
2806
  };
2667
- return Ni.add(e), () => {
2668
- i.current = !1, Ni.delete(e);
2807
+ return zi.add(e), () => {
2808
+ i.current = !1, zi.delete(e);
2669
2809
  };
2670
2810
  }, []), {
2671
2811
  toasts: e,
2672
- addToast: n((e) => Ii(e), []),
2673
- dismissToast: n((e) => Li(e), [])
2812
+ addToast: n((e) => Hi(e), []),
2813
+ dismissToast: n((e) => Ui(e), [])
2674
2814
  };
2675
2815
  }
2676
2816
  //#endregion
2677
2817
  //#region src/components/Toast/Toast.tsx
2678
- function zi({ toast: e, onDismiss: t, dismissLabel: n = "Cerrar notificación" }) {
2818
+ function Gi({ toast: e, onDismiss: t, dismissLabel: n = "Cerrar notificación" }) {
2679
2819
  let { id: i, message: a, variant: s, duration: c = 4e3, dismissible: d = !0, "data-testid": f } = e, p = o(void 0);
2680
2820
  return r(() => (p.current = setTimeout(() => {
2681
2821
  t(i);
@@ -2686,17 +2826,17 @@ function zi({ toast: e, onDismiss: t, dismissLabel: n = "Cerrar notificación" }
2686
2826
  c,
2687
2827
  t
2688
2828
  ]), /* @__PURE__ */ u("div", {
2689
- className: ji.toast,
2829
+ className: Li.toast,
2690
2830
  "data-variant": s,
2691
2831
  role: s === "error" || s === "warning" ? "alert" : "status",
2692
2832
  "aria-atomic": "true",
2693
2833
  "data-testid": f,
2694
2834
  children: [/* @__PURE__ */ l("span", {
2695
- className: ji.toastMessage,
2835
+ className: Li.toastMessage,
2696
2836
  children: a
2697
2837
  }), d && /* @__PURE__ */ l("button", {
2698
2838
  type: "button",
2699
- className: ji.dismissButton,
2839
+ className: Li.dismissButton,
2700
2840
  onClick: () => t(i),
2701
2841
  "aria-label": n,
2702
2842
  children: /* @__PURE__ */ l("svg", {
@@ -2714,19 +2854,19 @@ function zi({ toast: e, onDismiss: t, dismissLabel: n = "Cerrar notificación" }
2714
2854
  })]
2715
2855
  });
2716
2856
  }
2717
- function Bi({ notificationsLabel: e = "Notificaciones", dismissLabel: t }) {
2718
- let { toasts: n, dismissToast: r } = Ri();
2857
+ function Ki({ notificationsLabel: e = "Notificaciones", dismissLabel: t }) {
2858
+ let { toasts: n, dismissToast: r } = Wi();
2719
2859
  return typeof document > "u" ? null : k(/* @__PURE__ */ l("section", {
2720
- className: ji.container,
2860
+ className: Li.container,
2721
2861
  "aria-label": e,
2722
- children: n.map((e) => /* @__PURE__ */ l(zi, {
2862
+ children: n.map((e) => /* @__PURE__ */ l(Gi, {
2723
2863
  toast: e,
2724
2864
  onDismiss: r,
2725
2865
  dismissLabel: t
2726
2866
  }, e.id))
2727
2867
  }), document.body);
2728
2868
  }
2729
- var Vi = {
2869
+ var qi = {
2730
2870
  wrapper: "_wrapper_1hq4w_2",
2731
2871
  input: "_input_1hq4w_9",
2732
2872
  track: "_track_1hq4w_29",
@@ -2735,10 +2875,10 @@ var Vi = {
2735
2875
  };
2736
2876
  //#endregion
2737
2877
  //#region src/components/Toggle/Toggle.tsx
2738
- function Hi({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-testid": a, ...o }) {
2878
+ function Ji({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-testid": a, ...o }) {
2739
2879
  let s = r ?? `toggle-${String(e ?? "").toLowerCase().replace(/\s+/g, "-")}`;
2740
2880
  return /* @__PURE__ */ u("label", {
2741
- className: Vi.wrapper,
2881
+ className: qi.wrapper,
2742
2882
  "data-size": t,
2743
2883
  htmlFor: s,
2744
2884
  "data-testid": a,
@@ -2749,55 +2889,55 @@ function Hi({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-t
2749
2889
  role: "switch",
2750
2890
  "aria-checked": o.checked ?? !1,
2751
2891
  id: s,
2752
- className: Vi.input,
2892
+ className: qi.input,
2753
2893
  ...o
2754
2894
  }),
2755
2895
  /* @__PURE__ */ l("span", {
2756
- className: Vi.track,
2896
+ className: qi.track,
2757
2897
  "aria-hidden": "true",
2758
- children: /* @__PURE__ */ l("span", { className: Vi.thumb })
2898
+ children: /* @__PURE__ */ l("span", { className: qi.thumb })
2759
2899
  }),
2760
2900
  e && /* @__PURE__ */ l("span", {
2761
- className: Vi.label,
2901
+ className: qi.label,
2762
2902
  children: e
2763
2903
  })
2764
2904
  ]
2765
2905
  });
2766
2906
  }
2767
- var Ui = {
2907
+ var Yi = {
2768
2908
  trigger: "_trigger_wx3tb_2",
2769
2909
  tooltip: "_tooltip_wx3tb_7"
2770
- }, Wi = 8;
2771
- function Gi(e, t) {
2910
+ }, Xi = 8;
2911
+ function Zi(e, t) {
2772
2912
  switch (t) {
2773
2913
  case "top": return {
2774
- top: e.top - Wi,
2914
+ top: e.top - Xi,
2775
2915
  left: e.left + e.width / 2
2776
2916
  };
2777
2917
  case "bottom": return {
2778
- top: e.bottom + Wi,
2918
+ top: e.bottom + Xi,
2779
2919
  left: e.left + e.width / 2
2780
2920
  };
2781
2921
  case "left": return {
2782
2922
  top: e.top + e.height / 2,
2783
- left: e.left - Wi
2923
+ left: e.left - Xi
2784
2924
  };
2785
2925
  case "right": return {
2786
2926
  top: e.top + e.height / 2,
2787
- left: e.right + Wi
2927
+ left: e.right + Xi
2788
2928
  };
2789
2929
  }
2790
2930
  }
2791
- function Ki({ content: e, children: t, placement: r = "top", "data-testid": a }) {
2931
+ function Qi({ content: e, children: t, placement: r = "top", "data-testid": a }) {
2792
2932
  let [d, f] = s(!1), [p, m] = s({
2793
2933
  top: 0,
2794
2934
  left: 0
2795
2935
  }), h = o(null), g = i(), _ = n(() => {
2796
- h.current && (m(Gi(h.current.getBoundingClientRect(), r)), f(!0));
2936
+ h.current && (m(Zi(h.current.getBoundingClientRect(), r)), f(!0));
2797
2937
  }, [r]), v = n(() => f(!1), []);
2798
2938
  return /* @__PURE__ */ u(c, { children: [/* @__PURE__ */ l("span", {
2799
2939
  ref: h,
2800
- className: Ui.trigger,
2940
+ className: Yi.trigger,
2801
2941
  "aria-describedby": d ? g : void 0,
2802
2942
  onMouseEnter: _,
2803
2943
  onMouseLeave: v,
@@ -2808,7 +2948,7 @@ function Ki({ content: e, children: t, placement: r = "top", "data-testid": a })
2808
2948
  }), d && typeof document < "u" && k(/* @__PURE__ */ l("div", {
2809
2949
  id: g,
2810
2950
  role: "tooltip",
2811
- className: Ui.tooltip,
2951
+ className: Yi.tooltip,
2812
2952
  "data-placement": r,
2813
2953
  style: {
2814
2954
  top: p.top,
@@ -2835,26 +2975,26 @@ var Q = {
2835
2975
  function $(e) {
2836
2976
  return e ? "" : void 0;
2837
2977
  }
2838
- function qi(e) {
2978
+ function $i(e) {
2839
2979
  return [
2840
2980
  "INPUT",
2841
2981
  "TEXTAREA",
2842
2982
  "SELECT"
2843
2983
  ].includes(e.tagName) || e.isContentEditable;
2844
2984
  }
2845
- function Ji(e, t, n) {
2985
+ function ea(e, t, n) {
2846
2986
  return e === "ArrowRight" ? t && !n : e === "ArrowLeft" ? t && n : !1;
2847
2987
  }
2848
- function Yi(e, t, n, r, i, a, o) {
2849
- if (!(t.disabled || qi(e.target))) {
2988
+ function ta(e, t, n, r, i, a, o) {
2989
+ if (!(t.disabled || $i(e.target))) {
2850
2990
  if (e.key === "Enter" || e.key === " ") {
2851
2991
  e.preventDefault(), n ? a(t.id) : i && o(t.id);
2852
2992
  return;
2853
2993
  }
2854
- Ji(e.key, n, r) && (e.preventDefault(), a(t.id));
2994
+ ea(e.key, n, r) && (e.preventDefault(), a(t.id));
2855
2995
  }
2856
2996
  }
2857
- function Xi(e, t, n, r, i, a, o, s, c) {
2997
+ function na(e, t, n, r, i, a, o, s, c) {
2858
2998
  return {
2859
2999
  handleDragStart(n) {
2860
3000
  if (!r.current) {
@@ -2898,9 +3038,9 @@ function Xi(e, t, n, r, i, a, o, s, c) {
2898
3038
  }
2899
3039
  };
2900
3040
  }
2901
- function Zi({ item: e, level: t, selectable: n, selected: r, prefixSlot: i, labelSlot: a, metaSlot: o, suffixSlot: s, onToggleSelect: d }) {
3041
+ function ra({ item: e, level: t, selectable: n, selected: r, prefixSlot: i, labelSlot: a, metaSlot: o, suffixSlot: s, onToggleSelect: d }) {
2902
3042
  return /* @__PURE__ */ u(c, { children: [
2903
- n && /* @__PURE__ */ l(Un, {
3043
+ n && /* @__PURE__ */ l(Gn, {
2904
3044
  checked: r,
2905
3045
  disabled: e.disabled,
2906
3046
  className: Q.checkbox,
@@ -2924,8 +3064,8 @@ function Zi({ item: e, level: t, selectable: n, selected: r, prefixSlot: i, labe
2924
3064
  })
2925
3065
  ] });
2926
3066
  }
2927
- function Qi({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggable: i = !1, selectable: a = !1, hasChildren: s = !1, indentSize: c = 24, parentId: d = null, bordered: f = !1, flatIndex: p = 0, striped: m = !1, onToggleExpand: h, onToggleSelect: g, onDragStart: _, onDragEnd: v, onDragOver: y, onDragLeave: b, onDrop: x, children: S, "data-testid": C, labelSlot: w, metaSlot: T, prefixSlot: E, suffixSlot: D }) {
2928
- let O = o(!1), k = (t) => Yi(t, e, s, n, a, h, g), A = Xi(e, d, i, O, _, v, y, b, x);
3067
+ function ia({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggable: i = !1, selectable: a = !1, hasChildren: s = !1, indentSize: c = 24, parentId: d = null, bordered: f = !1, flatIndex: p = 0, striped: m = !1, onToggleExpand: h, onToggleSelect: g, onDragStart: _, onDragEnd: v, onDragOver: y, onDragLeave: b, onDrop: x, children: S, "data-testid": C, labelSlot: w, metaSlot: T, prefixSlot: E, suffixSlot: D }) {
3068
+ let O = o(!1), k = (t) => ta(t, e, s, n, a, h, g), A = na(e, d, i, O, _, v, y, b, x);
2929
3069
  return /* @__PURE__ */ u("div", {
2930
3070
  className: Q.treeItem,
2931
3071
  style: { "--tree-item-indent": `${t * c}px` },
@@ -2976,7 +3116,7 @@ function Qi({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggab
2976
3116
  className: Q.indent,
2977
3117
  "aria-hidden": "true"
2978
3118
  }),
2979
- /* @__PURE__ */ l(Zi, {
3119
+ /* @__PURE__ */ l(ra, {
2980
3120
  item: e,
2981
3121
  level: t,
2982
3122
  selectable: a,
@@ -3012,31 +3152,31 @@ function Qi({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggab
3012
3152
  })]
3013
3153
  });
3014
3154
  }
3015
- var $i = { treeList: "_treeList_trryv_2" };
3155
+ var aa = { treeList: "_treeList_trryv_2" };
3016
3156
  //#endregion
3017
3157
  //#region src/components/TreeList/TreeList.tsx
3018
- function ea(e, t) {
3158
+ function oa(e, t) {
3019
3159
  for (let n of e) {
3020
3160
  if (n.id === t) return n;
3021
3161
  if (n.children) {
3022
- let e = ea(n.children, t);
3162
+ let e = oa(n.children, t);
3023
3163
  if (e) return e;
3024
3164
  }
3025
3165
  }
3026
3166
  return null;
3027
3167
  }
3028
- function ta(e, t) {
3168
+ function sa(e, t) {
3029
3169
  let n = /* @__PURE__ */ new Map(), r = 0;
3030
3170
  function i(e) {
3031
3171
  for (let a of e) n.set(a.id, r++), a.children?.length && t.includes(a.id) && i(a.children);
3032
3172
  }
3033
3173
  return i(e), n;
3034
3174
  }
3035
- function na(e) {
3175
+ function ca(e) {
3036
3176
  let { items: t, parentId: n, level: r, expandedIds: i, selectedIds: a, flatIndexMap: o } = e;
3037
3177
  return t.map((t) => {
3038
3178
  let s = !!t.children?.length, c = i.includes(t.id);
3039
- return /* @__PURE__ */ l(Qi, {
3179
+ return /* @__PURE__ */ l(ia, {
3040
3180
  item: t,
3041
3181
  level: r,
3042
3182
  parentId: n,
@@ -3059,7 +3199,7 @@ function na(e) {
3059
3199
  metaSlot: e.metaSlot,
3060
3200
  prefixSlot: e.prefixSlot,
3061
3201
  suffixSlot: e.suffixSlot,
3062
- children: s && c && t.children && /* @__PURE__ */ l(na, {
3202
+ children: s && c && t.children && /* @__PURE__ */ l(ca, {
3063
3203
  ...e,
3064
3204
  items: t.children,
3065
3205
  parentId: t.id,
@@ -3068,14 +3208,14 @@ function na(e) {
3068
3208
  }, t.id);
3069
3209
  });
3070
3210
  }
3071
- function ra({ items: e = [], draggable: t = !1, expandedIds: r, selectedIds: i, selectable: c = !1, indentSize: u = 24, bordered: d = !1, striped: f = !1, onExpandChange: p, onSelectChange: m, onReorder: h, labelSlot: g, metaSlot: _, prefixSlot: v, suffixSlot: y, "data-testid": b }) {
3211
+ function la({ items: e = [], draggable: t = !1, expandedIds: r, selectedIds: i, selectable: c = !1, indentSize: u = 24, bordered: d = !1, striped: f = !1, onExpandChange: p, onSelectChange: m, onReorder: h, labelSlot: g, metaSlot: _, prefixSlot: v, suffixSlot: y, "data-testid": b }) {
3072
3212
  let [x, S] = s([]), [C, w] = s([]), T = o(null), E = r ?? x, D = i ?? C, O = {
3073
3213
  items: e,
3074
3214
  parentId: null,
3075
3215
  level: 0,
3076
3216
  expandedIds: E,
3077
3217
  selectedIds: D,
3078
- flatIndexMap: a(() => ta(e, E), [e, E]),
3218
+ flatIndexMap: a(() => sa(e, E), [e, E]),
3079
3219
  draggable: t,
3080
3220
  selectable: c,
3081
3221
  bordered: d,
@@ -3115,7 +3255,7 @@ function ra({ items: e = [], draggable: t = !1, expandedIds: r, selectedIds: i,
3115
3255
  if (!n || n.parentId !== t.parentId) return;
3116
3256
  let r = n.itemId, i = t.item.id;
3117
3257
  if (r === i) return;
3118
- let a = t.parentId === null ? e : ea(e, t.parentId)?.children;
3258
+ let a = t.parentId === null ? e : oa(e, t.parentId)?.children;
3119
3259
  if (!a) return;
3120
3260
  let o = a.findIndex((e) => e.id === r), s = a.findIndex((e) => e.id === i);
3121
3261
  o === -1 || s === -1 || h?.({
@@ -3132,14 +3272,14 @@ function ra({ items: e = [], draggable: t = !1, expandedIds: r, selectedIds: i,
3132
3272
  suffixSlot: y
3133
3273
  };
3134
3274
  return /* @__PURE__ */ l("div", {
3135
- className: $i.treeList,
3275
+ className: aa.treeList,
3136
3276
  role: "tree",
3137
3277
  "data-draggable": t ? "" : void 0,
3138
3278
  "data-testid": b,
3139
- children: /* @__PURE__ */ l(na, { ...O })
3279
+ children: /* @__PURE__ */ l(ca, { ...O })
3140
3280
  });
3141
3281
  }
3142
- var ia = {
3282
+ var ua = {
3143
3283
  header: "_header_u329l_2",
3144
3284
  titleSection: "_titleSection_u329l_12",
3145
3285
  title: "_title_u329l_12",
@@ -3147,23 +3287,23 @@ var ia = {
3147
3287
  };
3148
3288
  //#endregion
3149
3289
  //#region src/layouts/AdminPageHeader/AdminPageHeader.tsx
3150
- function aa({ title: e, actions: t, "data-testid": n }) {
3290
+ function da({ title: e, actions: t, "data-testid": n }) {
3151
3291
  return /* @__PURE__ */ u("header", {
3152
- className: ia.header,
3292
+ className: ua.header,
3153
3293
  "data-testid": n,
3154
3294
  children: [/* @__PURE__ */ l("div", {
3155
- className: ia.titleSection,
3295
+ className: ua.titleSection,
3156
3296
  children: /* @__PURE__ */ l("span", {
3157
- className: ia.title,
3297
+ className: ua.title,
3158
3298
  children: e
3159
3299
  })
3160
3300
  }), t && /* @__PURE__ */ l("div", {
3161
- className: ia.actions,
3301
+ className: ua.actions,
3162
3302
  children: t
3163
3303
  })]
3164
3304
  });
3165
3305
  }
3166
- var oa = {
3306
+ var fa = {
3167
3307
  shell: "_shell_1c2iw_2",
3168
3308
  body: "_body_1c2iw_10",
3169
3309
  sidebarSlot: "_sidebarSlot_1c2iw_16",
@@ -3173,14 +3313,14 @@ var oa = {
3173
3313
  };
3174
3314
  //#endregion
3175
3315
  //#region src/layouts/AppShell/AppShell.tsx
3176
- function sa({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, sidebar: i, children: a, tabBar: o, headerRight: s, isPinLocked: c = !1, pinLockContent: d, isLoading: f = !1, "data-testid": p }) {
3177
- return c ? /* @__PURE__ */ l(li, {
3316
+ function pa({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, sidebar: i, children: a, tabBar: o, headerRight: s, isPinLocked: c = !1, pinLockContent: d, isLoading: f = !1, "data-testid": p }) {
3317
+ return c ? /* @__PURE__ */ l(di, {
3178
3318
  isLocked: !0,
3179
3319
  children: d
3180
3320
  }) : /* @__PURE__ */ u("div", {
3181
- className: oa.shell,
3321
+ className: fa.shell,
3182
3322
  "data-testid": p,
3183
- children: [/* @__PURE__ */ l(qr, {
3323
+ children: [/* @__PURE__ */ l(Yr, {
3184
3324
  restaurantName: e,
3185
3325
  onMenuToggle: t,
3186
3326
  onLogoClick: n,
@@ -3188,82 +3328,82 @@ function sa({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle:
3188
3328
  isLoading: f,
3189
3329
  rightSlot: s
3190
3330
  }), /* @__PURE__ */ u("div", {
3191
- className: oa.body,
3331
+ className: fa.body,
3192
3332
  children: [/* @__PURE__ */ l("div", {
3193
- className: oa.sidebarSlot,
3333
+ className: fa.sidebarSlot,
3194
3334
  children: i
3195
3335
  }), /* @__PURE__ */ u("div", {
3196
- className: oa.contentArea,
3336
+ className: fa.contentArea,
3197
3337
  children: [/* @__PURE__ */ l("main", {
3198
- className: oa.main,
3338
+ className: fa.main,
3199
3339
  children: a
3200
3340
  }), o && /* @__PURE__ */ l("div", {
3201
- className: oa.tabBarSlot,
3341
+ className: fa.tabBarSlot,
3202
3342
  children: o
3203
3343
  })]
3204
3344
  })]
3205
3345
  })]
3206
3346
  });
3207
3347
  }
3208
- var ca = { divider: "_divider_1nit0_1" };
3348
+ var ma = { divider: "_divider_1nit0_1" };
3209
3349
  //#endregion
3210
3350
  //#region src/layouts/Divider/Divider.tsx
3211
- function la({ orientation: e = "horizontal", spacing: t = "md", className: n, "data-testid": r }) {
3351
+ function ha({ orientation: e = "horizontal", spacing: t = "md", className: n, "data-testid": r }) {
3212
3352
  return /* @__PURE__ */ l("hr", {
3213
- className: [ca.divider, n].filter(Boolean).join(" "),
3353
+ className: [ma.divider, n].filter(Boolean).join(" "),
3214
3354
  "data-orientation": e,
3215
3355
  "data-spacing": t,
3216
3356
  "aria-orientation": e,
3217
3357
  "data-testid": r
3218
3358
  });
3219
3359
  }
3220
- var ua = { grid: "_grid_w5ah8_2" }, da = {
3360
+ var ga = { grid: "_grid_w5ah8_2" }, _a = {
3221
3361
  xs: "var(--ds-space-1)",
3222
3362
  sm: "var(--ds-space-2)",
3223
3363
  md: "var(--ds-space-3)",
3224
3364
  lg: "var(--ds-space-4)",
3225
3365
  xl: "var(--ds-space-6)"
3226
3366
  };
3227
- function fa({ columns: e = 1, gap: t = "md", children: n, className: r, style: i, "data-testid": a }) {
3367
+ function va({ columns: e = 1, gap: t = "md", children: n, className: r, style: i, "data-testid": a }) {
3228
3368
  let o = {
3229
3369
  "--grid-columns": typeof e == "number" ? `repeat(${e}, minmax(0, 1fr))` : e,
3230
- "--grid-gap": da[t],
3370
+ "--grid-gap": _a[t],
3231
3371
  ...i
3232
3372
  };
3233
3373
  return /* @__PURE__ */ l("div", {
3234
- className: [ua.grid, r].filter(Boolean).join(" "),
3374
+ className: [ga.grid, r].filter(Boolean).join(" "),
3235
3375
  style: o,
3236
3376
  "data-testid": a,
3237
3377
  children: n
3238
3378
  });
3239
3379
  }
3240
- var pa = {
3380
+ var ya = {
3241
3381
  footer: "_footer_1dat1_2",
3242
3382
  dot: "_dot_1dat1_14",
3243
3383
  info: "_info_1dat1_22"
3244
3384
  };
3245
3385
  //#endregion
3246
3386
  //#region src/layouts/LoginFooter/LoginFooter.tsx
3247
- function ma({ languageSelector: e, appName: t = "Toteat©", version: n, env: r, className: i, "data-testid": a }) {
3387
+ function ba({ languageSelector: e, appName: t = "Toteat©", version: n, env: r, className: i, "data-testid": a }) {
3248
3388
  return /* @__PURE__ */ u("footer", {
3249
- className: [pa.footer, i].filter(Boolean).join(" "),
3389
+ className: [ya.footer, i].filter(Boolean).join(" "),
3250
3390
  "data-testid": a,
3251
3391
  children: [
3252
3392
  e,
3253
3393
  e && /* @__PURE__ */ l("span", {
3254
- className: pa.dot,
3394
+ className: ya.dot,
3255
3395
  "aria-hidden": "true"
3256
3396
  }),
3257
3397
  /* @__PURE__ */ l("span", {
3258
- className: pa.info,
3398
+ className: ya.info,
3259
3399
  children: t
3260
3400
  }),
3261
3401
  (n || r) && /* @__PURE__ */ l("span", {
3262
- className: pa.dot,
3402
+ className: ya.dot,
3263
3403
  "aria-hidden": "true"
3264
3404
  }),
3265
3405
  (n || r) && /* @__PURE__ */ u("span", {
3266
- className: pa.info,
3406
+ className: ya.info,
3267
3407
  children: [
3268
3408
  n && /* @__PURE__ */ u(c, { children: ["Ver: ", n] }),
3269
3409
  n && r && /* @__PURE__ */ l(c, { children: "\xA0\xA0" }),
@@ -3273,24 +3413,24 @@ function ma({ languageSelector: e, appName: t = "Toteat©", version: n, env: r,
3273
3413
  ]
3274
3414
  });
3275
3415
  }
3276
- var ha = {
3416
+ var xa = {
3277
3417
  page: "_page_s8gdl_2",
3278
3418
  card: "_card_s8gdl_45",
3279
3419
  cardEntrance: "_cardEntrance_s8gdl_1"
3280
3420
  };
3281
3421
  //#endregion
3282
3422
  //#region src/layouts/LoginPageLayout/LoginPageLayout.tsx
3283
- function ga({ children: e, "data-testid": t }) {
3423
+ function Sa({ children: e, "data-testid": t }) {
3284
3424
  return /* @__PURE__ */ l("main", {
3285
- className: ha.page,
3425
+ className: xa.page,
3286
3426
  "data-testid": t,
3287
3427
  children: /* @__PURE__ */ l("div", {
3288
- className: ha.card,
3428
+ className: xa.card,
3289
3429
  children: e
3290
3430
  })
3291
3431
  });
3292
3432
  }
3293
- var _a = {
3433
+ var Ca = {
3294
3434
  root: "_root_11bhp_2",
3295
3435
  sidebar: "_sidebar_11bhp_20",
3296
3436
  main: "_main_11bhp_37",
@@ -3299,22 +3439,22 @@ var _a = {
3299
3439
  };
3300
3440
  //#endregion
3301
3441
  //#region src/layouts/PageLayout/PageLayout.tsx
3302
- function va({ sidebar: e, header: t, children: n, collapsed: r = !1, className: i, "data-testid": a }) {
3442
+ function wa({ sidebar: e, header: t, children: n, collapsed: r = !1, className: i, "data-testid": a }) {
3303
3443
  return /* @__PURE__ */ u("div", {
3304
- className: [_a.root, i].filter(Boolean).join(" "),
3444
+ className: [Ca.root, i].filter(Boolean).join(" "),
3305
3445
  "data-sidebar-collapsed": r ? "" : void 0,
3306
3446
  "data-testid": a,
3307
3447
  children: [e && /* @__PURE__ */ l("aside", {
3308
- className: _a.sidebar,
3448
+ className: Ca.sidebar,
3309
3449
  "aria-label": "Navegación lateral",
3310
3450
  children: e
3311
3451
  }), /* @__PURE__ */ u("div", {
3312
- className: _a.main,
3452
+ className: Ca.main,
3313
3453
  children: [t && /* @__PURE__ */ l("header", {
3314
- className: _a.header,
3454
+ className: Ca.header,
3315
3455
  children: t
3316
3456
  }), /* @__PURE__ */ l("main", {
3317
- className: _a.content,
3457
+ className: Ca.content,
3318
3458
  children: n
3319
3459
  })]
3320
3460
  })]
@@ -3322,36 +3462,36 @@ function va({ sidebar: e, header: t, children: n, collapsed: r = !1, className:
3322
3462
  }
3323
3463
  //#endregion
3324
3464
  //#region src/layouts/Stack/Stack.tsx
3325
- var ya = {
3465
+ var Ta = {
3326
3466
  xs: "var(--ds-space-1)",
3327
3467
  sm: "var(--ds-space-2)",
3328
3468
  md: "var(--ds-space-3)",
3329
3469
  lg: "var(--ds-space-4)",
3330
3470
  xl: "var(--ds-space-6)",
3331
3471
  "2xl": "var(--ds-space-8)"
3332
- }, ba = {
3472
+ }, Ea = {
3333
3473
  start: "flex-start",
3334
3474
  center: "center",
3335
3475
  end: "flex-end",
3336
3476
  between: "space-between",
3337
3477
  around: "space-around",
3338
3478
  evenly: "space-evenly"
3339
- }, xa = {
3479
+ }, Da = {
3340
3480
  start: "flex-start",
3341
3481
  center: "center",
3342
3482
  end: "flex-end",
3343
3483
  stretch: "stretch",
3344
3484
  baseline: "baseline"
3345
3485
  };
3346
- function Sa({ as: e, direction: t = "vertical", gap: n = "md", align: r, justify: i, wrap: a = !1, children: o, className: s, style: c, ...u }) {
3486
+ function Oa({ as: e, direction: t = "vertical", gap: n = "md", align: r, justify: i, wrap: a = !1, children: o, className: s, style: c, ...u }) {
3347
3487
  return /* @__PURE__ */ l(e ?? "div", {
3348
3488
  className: s,
3349
3489
  style: {
3350
3490
  display: "flex",
3351
3491
  flexDirection: t === "vertical" ? "column" : "row",
3352
- gap: ya[n],
3353
- alignItems: r ? xa[r] : void 0,
3354
- justifyContent: i ? ba[i] : void 0,
3492
+ gap: Ta[n],
3493
+ alignItems: r ? Da[r] : void 0,
3494
+ justifyContent: i ? Ea[i] : void 0,
3355
3495
  flexWrap: a ? "wrap" : void 0,
3356
3496
  ...c
3357
3497
  },
@@ -3360,11 +3500,21 @@ function Sa({ as: e, direction: t = "vertical", gap: n = "md", align: r, justify
3360
3500
  });
3361
3501
  }
3362
3502
  //#endregion
3503
+ //#region src/utils/csv.ts
3504
+ function ka(e) {
3505
+ if (e == null) return "";
3506
+ let t = String(e);
3507
+ return /[",\r\n]/.test(t) ? `"${t.replace(/"/g, "\"\"")}"` : t;
3508
+ }
3509
+ function Aa(e) {
3510
+ return e.length === 0 ? "" : e.map((e) => e.map(ka).join(",")).join("\r\n");
3511
+ }
3512
+ //#endregion
3363
3513
  //#region src/utils/portal.ts
3364
- function Ca(e, t) {
3514
+ function ja(e, t) {
3365
3515
  return k(e, t ?? document.body);
3366
3516
  }
3367
3517
  //#endregion
3368
- export { te as Accordion, aa as AdminPageHeader, sa as AppShell, jn as AppleSignInButton, Bn as AreaChart, Nn as BackgroundWrapper, Fn as Badge, zn as BarChart, N as Button, Ln as Card, Un as Checkbox, Gn as ComingSoon, qn as ConfigRow, Yn as DataTable, Zn as DatePicker, Qn as DateRangePicker, tr as Dialog, la as Divider, vr as DropZone, rr as DropdownButton, ar as DropdownMenu, yr as DsProvider, xr as EmptyState, Sr as ErrorBoundary, wr as FormField, Er as GoogleSignInButton, fa as Grid, kr as GroupedButtons, jr as Header, F as Icon, fr as ImagePreview, Vn as KpiCard, Mr as LanguageSelector, Rn as LineChart, ma as LoginFooter, ga as LoginPageLayout, Wr as LogoToteat, Kr as Multiselect, qr as NavBar, Yr as Overlay, $r as OverlayMessage, va as PageLayout, si as PageLoadingOverlay, li as PinLockOverlay, di as Radio, fi as SectionHeader, pi as Select, hi as Sidebar, yi as SidebarNavItem, bi as SidebarNavSection, cr as Skeleton, re as Spinner, Sa as Stack, xi as StatusBadge, Ci as TabBar, Ti as Tabs, ki as TextInput, Di as Textarea, Ai as ThemeGate, Bi as ToastContainer, Hi as Toggle, Ki as Tooltip, Qi as TreeItem, ra as TreeList, I as cn, Ca as portal, vi as sidebarNavItemActiveClass, _i as sidebarNavItemClass, er as useFocusTrap, Ri as useToast };
3518
+ export { te as Accordion, da as AdminPageHeader, pa as AppShell, jn as AppleSignInButton, Hn as AreaChart, Nn as BackgroundWrapper, Fn as Badge, Vn as BarChart, In as Breadcrumb, N as Button, Rn as Card, Gn as Checkbox, qn as ComingSoon, Yn as ConfigRow, Zn as DataTable, $n as DatePicker, er as DateRangePicker, rr as Dialog, ha as Divider, br as DropZone, ar as DropdownButton, sr as DropdownMenu, xr as DsProvider, Cr as EmptyState, wr as ErrorBoundary, Er as FormField, Or as GoogleSignInButton, va as Grid, jr as GroupedButtons, Nr as Header, F as Icon, mr as ImagePreview, Un as KpiCard, Pr as LanguageSelector, Bn as LineChart, ba as LoginFooter, Sa as LoginPageLayout, Kr as LogoToteat, Jr as Multiselect, Yr as NavBar, Zr as Overlay, ti as OverlayMessage, wa as PageLayout, li as PageLoadingOverlay, di as PinLockOverlay, pi as Radio, hi as SearchInput, gi as SectionHeader, _i as Select, yi as Sidebar, Ci as SidebarNavItem, wi as SidebarNavSection, ur as Skeleton, re as Spinner, Oa as Stack, Ti as StatusBadge, Di as Stepper, ki as TabBar, ji as Tabs, Fi as TextInput, Ni as Textarea, Ii as ThemeGate, Ki as ToastContainer, Ji as Toggle, Qi as Tooltip, ia as TreeItem, la as TreeList, I as cn, ka as escapeCell, ja as portal, Aa as rowsToCsv, Si as sidebarNavItemActiveClass, xi as sidebarNavItemClass, nr as useFocusTrap, Wi as useToast };
3369
3519
 
3370
3520
  //# sourceMappingURL=index.es.js.map