@toteat-eng/ds-react 2026.8.12 → 2026.8.27-1

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
@@ -251,49 +251,72 @@ function On({ size: e = "medium", label: t = "Cargando", className: n, "data-tes
251
251
  });
252
252
  }
253
253
  var kn = {
254
- button: "_button_11r91_2",
255
- spinnerWrap: "_spinnerWrap_11r91_121",
256
- content: "_content_11r91_128"
254
+ button: "_button_1swbm_2",
255
+ spinnerWrap: "_spinnerWrap_1swbm_134",
256
+ content: "_content_1swbm_141"
257
257
  };
258
258
  //#endregion
259
259
  //#region src/components/Button/Button.tsx
260
- function An({ variant: e = "primary", size: t = "medium", loading: n = !1, fullWidth: r = !1, icon: i, iconPosition: a = "left", disabled: o, children: s, className: c, type: l = "button", ...u }) {
261
- return /* @__PURE__ */ p("button", {
262
- type: l,
263
- className: [kn.button, c].filter(Boolean).join(" "),
264
- "data-variant": e,
265
- "data-size": t,
266
- "data-loading": n ? "" : void 0,
267
- "data-full-width": r ? "" : void 0,
268
- disabled: o || n,
269
- "aria-busy": n,
270
- ...u,
271
- children: [n && /* @__PURE__ */ f("span", {
260
+ function An({ isButton: e, isDisabled: t, type: n, onClick: r }) {
261
+ return e ? {
262
+ rootProps: {
263
+ type: n ?? "button",
264
+ disabled: t
265
+ },
266
+ onClick: r
267
+ } : {
268
+ rootProps: {
269
+ "aria-disabled": t || void 0,
270
+ tabIndex: t ? -1 : void 0
271
+ },
272
+ onClick: t ? ((e) => {
273
+ e.preventDefault(), e.stopPropagation();
274
+ }) : r
275
+ };
276
+ }
277
+ function jn({ as: e, variant: t = "primary", size: n = "medium", loading: r = !1, fullWidth: i = !1, icon: a, iconPosition: o = "left", disabled: s, children: c, className: l, type: u, ...d }) {
278
+ let m = e ?? "button", { rootProps: h, onClick: g } = An({
279
+ isButton: m === "button",
280
+ isDisabled: !!s || r,
281
+ type: u,
282
+ onClick: d.onClick
283
+ });
284
+ return /* @__PURE__ */ p(m, {
285
+ className: [kn.button, l].filter(Boolean).join(" "),
286
+ "data-variant": t,
287
+ "data-size": n,
288
+ "data-loading": r ? "" : void 0,
289
+ "data-full-width": i ? "" : void 0,
290
+ "aria-busy": r,
291
+ ...d,
292
+ ...h,
293
+ onClick: g,
294
+ children: [r && /* @__PURE__ */ f("span", {
272
295
  className: kn.spinnerWrap,
273
296
  "aria-hidden": "true",
274
297
  children: /* @__PURE__ */ f(On, { size: "small" })
275
298
  }), /* @__PURE__ */ p("span", {
276
299
  className: kn.content,
277
- "data-hidden": n ? "" : void 0,
300
+ "data-hidden": r ? "" : void 0,
278
301
  children: [
279
- i && a === "left" && i,
280
- s,
281
- i && a === "right" && i
302
+ a && o === "left" && a,
303
+ c,
304
+ a && o === "right" && a
282
305
  ]
283
306
  })]
284
307
  });
285
308
  }
286
- var jn = {
309
+ var Mn = {
287
310
  wrapper: "_wrapper_8byuq_2",
288
311
  error: "_error_8byuq_9"
289
312
  };
290
313
  //#endregion
291
314
  //#region src/components/AppleSignInButton/AppleSignInButton.tsx
292
- function Mn({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-testid": i }) {
315
+ function Nn({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-testid": i }) {
293
316
  return /* @__PURE__ */ p("div", {
294
- className: jn.wrapper,
317
+ className: Mn.wrapper,
295
318
  "data-testid": i,
296
- children: [/* @__PURE__ */ p(An, {
319
+ children: [/* @__PURE__ */ p(jn, {
297
320
  type: "button",
298
321
  variant: "outline",
299
322
  size: "small",
@@ -308,24 +331,24 @@ function Mn({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-t
308
331
  }), "Apple"]
309
332
  }), n && /* @__PURE__ */ f("span", {
310
333
  role: "alert",
311
- className: jn.error,
334
+ className: Mn.error,
312
335
  children: r instanceof Error ? r.message : "Error al iniciar sesión con Apple"
313
336
  })]
314
337
  });
315
338
  }
316
- var Nn = {
339
+ var Pn = {
317
340
  wrapper: "_wrapper_17prb_2",
318
341
  content: "_content_17prb_39"
319
342
  };
320
343
  //#endregion
321
344
  //#region src/components/BackgroundWrapper/BackgroundWrapper.tsx
322
- function Pn({ children: e, className: t, ...n }) {
345
+ function Fn({ children: e, className: t, ...n }) {
323
346
  return /* @__PURE__ */ f("div", {
324
- className: [Nn.wrapper, t].filter(Boolean).join(" "),
347
+ className: [Pn.wrapper, t].filter(Boolean).join(" "),
325
348
  "data-full-bleed": "",
326
349
  ...n,
327
350
  children: /* @__PURE__ */ f("div", {
328
- className: Nn.content,
351
+ className: Pn.content,
329
352
  children: e
330
353
  })
331
354
  });
@@ -335,19 +358,19 @@ function Pn({ children: e, className: t, ...n }) {
335
358
  function R(...e) {
336
359
  return e.filter(Boolean).join(" ");
337
360
  }
338
- var Fn = { badge: "_badge_1luxy_2" };
361
+ var In = { badge: "_badge_1luxy_2" };
339
362
  //#endregion
340
363
  //#region src/components/Badge/Badge.tsx
341
- function In({ variant: e = "default", size: t = "medium", children: n, className: r, "data-testid": i }) {
364
+ function Ln({ variant: e = "default", size: t = "medium", children: n, className: r, "data-testid": i }) {
342
365
  return /* @__PURE__ */ f("span", {
343
- className: R(Fn.badge, r),
366
+ className: R(In.badge, r),
344
367
  "data-variant": e,
345
368
  "data-size": t,
346
369
  "data-testid": i,
347
370
  children: n
348
371
  });
349
372
  }
350
- var Ln = {
373
+ var Rn = {
351
374
  banner: "_banner_k1c7g_2",
352
375
  content: "_content_k1c7g_40",
353
376
  action: "_action_k1c7g_45",
@@ -355,10 +378,10 @@ var Ln = {
355
378
  };
356
379
  //#endregion
357
380
  //#region src/components/Banner/Banner.tsx
358
- function Rn({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cerrar", action: i, children: a, className: o, "data-testid": s }) {
381
+ function zn({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cerrar", action: i, children: a, className: o, "data-testid": s }) {
359
382
  let c = e === "error";
360
383
  return /* @__PURE__ */ p("div", {
361
- className: [Ln.banner, o].filter(Boolean).join(" "),
384
+ className: [Rn.banner, o].filter(Boolean).join(" "),
362
385
  "data-variant": e,
363
386
  role: c ? "alert" : "status",
364
387
  "aria-live": c ? "assertive" : "polite",
@@ -370,16 +393,16 @@ function Rn({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cer
370
393
  "aria-hidden": "true"
371
394
  }),
372
395
  /* @__PURE__ */ f("span", {
373
- className: Ln.content,
396
+ className: Rn.content,
374
397
  children: a
375
398
  }),
376
399
  i && /* @__PURE__ */ f("span", {
377
- className: Ln.action,
400
+ className: Rn.action,
378
401
  children: i
379
402
  }),
380
403
  n && /* @__PURE__ */ f("button", {
381
404
  type: "button",
382
- className: Ln.dismiss,
405
+ className: Rn.dismiss,
383
406
  onClick: n,
384
407
  "aria-label": r,
385
408
  children: /* @__PURE__ */ f(L, {
@@ -391,7 +414,7 @@ function Rn({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cer
391
414
  ]
392
415
  });
393
416
  }
394
- var zn = {
417
+ var Bn = {
395
418
  breadcrumb: "_breadcrumb_1j7hr_2",
396
419
  list: "_list_1j7hr_8",
397
420
  item: "_item_1j7hr_18",
@@ -400,26 +423,26 @@ var zn = {
400
423
  };
401
424
  //#endregion
402
425
  //#region src/components/Breadcrumb/Breadcrumb.tsx
403
- function Bn({ items: e, "aria-label": t = "Breadcrumb", className: n, "data-testid": r }) {
426
+ function Vn({ items: e, "aria-label": t = "Breadcrumb", className: n, "data-testid": r }) {
404
427
  if (e.length === 0) return null;
405
428
  let i = e.length - 1;
406
429
  return /* @__PURE__ */ f("nav", {
407
430
  "aria-label": t,
408
- className: R(zn.breadcrumb, n),
431
+ className: R(Bn.breadcrumb, n),
409
432
  "data-testid": r,
410
433
  children: /* @__PURE__ */ f("ol", {
411
- className: zn.list,
434
+ className: Bn.list,
412
435
  children: e.map((e, t) => {
413
436
  let n = t === i, r = `${t}-${e.label}`;
414
437
  return /* @__PURE__ */ f("li", {
415
- className: zn.item,
438
+ className: Bn.item,
416
439
  children: n || !e.href ? /* @__PURE__ */ f("span", {
417
- className: zn.current,
440
+ className: Bn.current,
418
441
  "aria-current": n ? "page" : void 0,
419
442
  children: e.label
420
443
  }) : /* @__PURE__ */ f("a", {
421
444
  href: e.href,
422
- className: zn.link,
445
+ className: Bn.link,
423
446
  children: e.label
424
447
  })
425
448
  }, r);
@@ -427,12 +450,12 @@ function Bn({ items: e, "aria-label": t = "Breadcrumb", className: n, "data-test
427
450
  })
428
451
  });
429
452
  }
430
- var Vn = { card: "_card_b9brq_2" };
453
+ var Hn = { card: "_card_b9brq_2" };
431
454
  //#endregion
432
455
  //#region src/components/Card/Card.tsx
433
- function Hn({ padding: e = "small", elevation: t = "none", hoverable: n = !1, maxWidth: r, children: i, className: a, style: o, ...s }) {
456
+ function Un({ padding: e = "small", elevation: t = "none", hoverable: n = !1, maxWidth: r, children: i, className: a, style: o, ...s }) {
434
457
  return /* @__PURE__ */ f("section", {
435
- className: [Vn.card, a].filter(Boolean).join(" "),
458
+ className: [Hn.card, a].filter(Boolean).join(" "),
436
459
  "data-padding": e,
437
460
  "data-elevation": t,
438
461
  "data-hoverable": n ? "" : void 0,
@@ -452,7 +475,7 @@ var z = {
452
475
  kpiValue: "_kpiValue_2djq2_31",
453
476
  kpiChange: "_kpiChange_2djq2_38",
454
477
  emptyState: "_emptyState_2djq2_55"
455
- }, Un = [
478
+ }, Wn = [
456
479
  "#ff4235",
457
480
  "#2563eb",
458
481
  "#16a34a",
@@ -460,7 +483,7 @@ var z = {
460
483
  "#7c3aed",
461
484
  "#0891b2"
462
485
  ];
463
- function Wn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
486
+ function Gn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
464
487
  return e?.length ? /* @__PURE__ */ p("div", {
465
488
  className: z.chartWrapper,
466
489
  "data-testid": c,
@@ -497,7 +520,7 @@ function Wn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
497
520
  type: "monotone",
498
521
  dataKey: e.dataKey,
499
522
  name: e.label ?? e.dataKey,
500
- stroke: e.color ?? Un[t % Un.length],
523
+ stroke: e.color ?? Wn[t % Wn.length],
501
524
  strokeWidth: 2,
502
525
  dot: !1,
503
526
  activeDot: { r: 4 }
@@ -510,7 +533,7 @@ function Wn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
510
533
  children: "Sin datos"
511
534
  });
512
535
  }
513
- function Gn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
536
+ function Kn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
514
537
  return e?.length ? /* @__PURE__ */ p("div", {
515
538
  className: z.chartWrapper,
516
539
  "data-testid": c,
@@ -546,7 +569,7 @@ function Gn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
546
569
  n.map((e, t) => /* @__PURE__ */ f(g, {
547
570
  dataKey: e.dataKey,
548
571
  name: e.label ?? e.dataKey,
549
- fill: e.color ?? Un[t % Un.length],
572
+ fill: e.color ?? Wn[t % Wn.length],
550
573
  radius: [
551
574
  2,
552
575
  2,
@@ -562,7 +585,7 @@ function Gn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
562
585
  children: "Sin datos"
563
586
  });
564
587
  }
565
- function Kn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
588
+ function qn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a, formatValue: o, hideLegend: s, "data-testid": c }) {
566
589
  return e?.length ? /* @__PURE__ */ p("div", {
567
590
  className: z.chartWrapper,
568
591
  "data-testid": c,
@@ -596,7 +619,7 @@ function Kn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
596
619
  /* @__PURE__ */ f(C, { formatter: o ? (e) => o(e) : void 0 }),
597
620
  !s && /* @__PURE__ */ f(y, {}),
598
621
  n.map((e, t) => {
599
- let n = e.color ?? Un[t % Un.length];
622
+ let n = e.color ?? Wn[t % Wn.length];
600
623
  return /* @__PURE__ */ f(m, {
601
624
  type: "monotone",
602
625
  dataKey: e.dataKey,
@@ -615,7 +638,7 @@ function Kn({ data: e, xKey: t, series: n, height: r = 300, title: i, formatY: a
615
638
  children: "Sin datos"
616
639
  });
617
640
  }
618
- function qn({ label: e, value: t, change: n, trend: r = "neutral", "data-testid": i }) {
641
+ function Jn({ label: e, value: t, change: n, trend: r = "neutral", "data-testid": i }) {
619
642
  return /* @__PURE__ */ p("div", {
620
643
  className: z.kpiCard,
621
644
  "data-testid": i,
@@ -636,7 +659,7 @@ function qn({ label: e, value: t, change: n, trend: r = "neutral", "data-testid"
636
659
  ]
637
660
  });
638
661
  }
639
- var Jn = {
662
+ var Yn = {
640
663
  wrapper: "_wrapper_rrvhj_2",
641
664
  input: "_input_rrvhj_9",
642
665
  checkmark: "_checkmark_rrvhj_27",
@@ -644,10 +667,10 @@ var Jn = {
644
667
  };
645
668
  //#endregion
646
669
  //#region src/components/Checkbox/Checkbox.tsx
647
- function Yn({ label: e, className: t, id: n, ref: r, "data-testid": i, ...o }) {
670
+ function Xn({ label: e, className: t, id: n, ref: r, "data-testid": i, ...o }) {
648
671
  let s = a(), c = String(e ?? ""), l = n ?? (c === "" ? `checkbox-${s}` : `checkbox-${c.toLowerCase().replace(/\s+/g, "-")}`);
649
672
  return /* @__PURE__ */ p("label", {
650
- className: [Jn.wrapper, t].filter(Boolean).join(" "),
673
+ className: [Yn.wrapper, t].filter(Boolean).join(" "),
651
674
  htmlFor: l,
652
675
  "data-testid": i,
653
676
  children: [
@@ -655,21 +678,21 @@ function Yn({ label: e, className: t, id: n, ref: r, "data-testid": i, ...o }) {
655
678
  ref: r,
656
679
  type: "checkbox",
657
680
  id: l,
658
- className: Jn.input,
681
+ className: Yn.input,
659
682
  ...o
660
683
  }),
661
684
  /* @__PURE__ */ f("span", {
662
- className: Jn.checkmark,
685
+ className: Yn.checkmark,
663
686
  "aria-hidden": "true"
664
687
  }),
665
688
  e && /* @__PURE__ */ f("span", {
666
- className: Jn.label,
689
+ className: Yn.label,
667
690
  children: e
668
691
  })
669
692
  ]
670
693
  });
671
694
  }
672
- var Xn = {
695
+ var Zn = {
673
696
  wrapper: "_wrapper_1b0cf_2",
674
697
  icon: "_icon_1b0cf_12",
675
698
  "ds-coming-soon-fade-in": "_ds-coming-soon-fade-in_1b0cf_1",
@@ -677,25 +700,25 @@ var Xn = {
677
700
  };
678
701
  //#endregion
679
702
  //#region src/components/ComingSoon/ComingSoon.tsx
680
- function Zn({ message: e, icon: t = "lock-password-1-outline", className: n, "data-testid": r }) {
703
+ function Qn({ message: e, icon: t = "lock-password-1-outline", className: n, "data-testid": r }) {
681
704
  let i = e?.trim() ? e : "Próximamente";
682
705
  return /* @__PURE__ */ p("div", {
683
706
  role: "status",
684
707
  "aria-live": "polite",
685
- className: [Xn.wrapper, n].filter(Boolean).join(" "),
708
+ className: [Zn.wrapper, n].filter(Boolean).join(" "),
686
709
  "data-testid": r,
687
710
  children: [/* @__PURE__ */ f(L, {
688
711
  name: t,
689
712
  size: 40,
690
713
  "aria-hidden": "true",
691
- className: Xn.icon
714
+ className: Zn.icon
692
715
  }), /* @__PURE__ */ f("p", {
693
- className: Xn.message,
716
+ className: Zn.message,
694
717
  children: i
695
718
  })]
696
719
  });
697
720
  }
698
- var Qn = {
721
+ var $n = {
699
722
  row: "_row_1qgbi_14",
700
723
  labelCol: "_labelCol_1qgbi_63",
701
724
  label: "_label_1qgbi_63",
@@ -704,29 +727,29 @@ var Qn = {
704
727
  };
705
728
  //#endregion
706
729
  //#region src/components/ConfigRow/ConfigRow.tsx
707
- function $n({ label: e, description: t, children: n, htmlFor: r, dimmed: i = !1, divider: a = !0, labelRatio: o, className: s, "data-testid": c }) {
730
+ function er({ label: e, description: t, children: n, htmlFor: r, dimmed: i = !1, divider: a = !0, labelRatio: o, className: s, "data-testid": c }) {
708
731
  let l = r ? "label" : "span", u = o === void 0 ? void 0 : {
709
732
  "--ds-config-row-label-basis": `${o}%`,
710
733
  "--ds-config-row-control-basis": `${100 - o}%`
711
734
  };
712
735
  return /* @__PURE__ */ p("div", {
713
- className: [Qn.row, s].filter(Boolean).join(" "),
736
+ className: [$n.row, s].filter(Boolean).join(" "),
714
737
  style: u,
715
738
  "data-dimmed": i || void 0,
716
739
  "data-divider": a || void 0,
717
740
  "data-testid": c,
718
741
  children: [/* @__PURE__ */ p("div", {
719
- className: Qn.labelCol,
742
+ className: $n.labelCol,
720
743
  children: [/* @__PURE__ */ f(l, {
721
744
  htmlFor: r,
722
- className: Qn.label,
745
+ className: $n.label,
723
746
  children: e
724
747
  }), t && /* @__PURE__ */ f("span", {
725
- className: Qn.description,
748
+ className: $n.description,
726
749
  children: t
727
750
  })]
728
751
  }), /* @__PURE__ */ f("div", {
729
- className: Qn.controlCol,
752
+ className: $n.controlCol,
730
753
  children: n
731
754
  })]
732
755
  });
@@ -752,20 +775,21 @@ var B = {
752
775
  };
753
776
  //#endregion
754
777
  //#region src/components/DataTable/DataTable.tsx
755
- function er(e) {
778
+ function tr(e) {
756
779
  let t = e.getIsSorted();
757
780
  if (t === "asc") return "ascending";
758
781
  if (t === "desc") return "descending";
759
782
  if (e.getCanSort()) return "none";
760
783
  }
761
- function tr(e) {
784
+ function nr(e) {
762
785
  let t = e.columnDef.header;
763
786
  return typeof t == "string" ? t : e.id;
764
787
  }
765
- function nr(e, t, n) {
788
+ function rr(e, t, n) {
766
789
  return String(e.getValue(t) ?? "").toLowerCase().includes(String(n).toLowerCase());
767
790
  }
768
- function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize: a = 20, searchable: o = !1, sortable: s = !0, paginated: d = !0, emptyMessage: m = "Sin resultados", searchPlaceholder: h = "Buscar...", filterable: g = !1, filterPlaceholder: _ = "Filtrar...", clearFiltersLabel: v = "Limpiar filtros", onColumnFiltersChange: y, previousLabel: b = "Anterior", nextLabel: x = "Siguiente", onRowClick: S, selectable: C = !1, onSelectionChange: w, manualPagination: T = !1, pageCount: M, onPageChange: N, "data-testid": ee }) {
791
+ var ir = [];
792
+ function ar({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize: a = 20, searchable: o = !1, sortable: s = !0, paginated: d = !0, emptyMessage: m = "Sin resultados", searchPlaceholder: h = "Buscar...", filterable: g = !1, filterPlaceholder: _ = "Filtrar...", clearFiltersLabel: v = "Limpiar filtros", onColumnFiltersChange: y, previousLabel: b = "Anterior", nextLabel: x = "Siguiente", onRowClick: S, selectable: C = !1, onSelectionChange: w, manualPagination: T = !1, pageCount: M, onPageChange: N, "data-testid": ee }) {
769
793
  let [te, ne] = u([]), [re, ie] = u(""), [ae, oe] = u({
770
794
  pageIndex: 0,
771
795
  pageSize: a
@@ -775,12 +799,12 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
775
799
  id: "__select__",
776
800
  size: 40,
777
801
  enableSorting: !1,
778
- header: ({ table: e }) => /* @__PURE__ */ f(Yn, {
802
+ header: ({ table: e }) => /* @__PURE__ */ f(Xn, {
779
803
  checked: e.getIsAllPageRowsSelected(),
780
804
  onChange: e.getToggleAllPageRowsSelectedHandler(),
781
805
  "aria-label": "Select all rows"
782
806
  }),
783
- cell: ({ row: e }) => /* @__PURE__ */ f(Yn, {
807
+ cell: ({ row: e }) => /* @__PURE__ */ f(Xn, {
784
808
  checked: e.getIsSelected(),
785
809
  onChange: e.getToggleSelectedHandler(),
786
810
  "aria-label": `Select row ${e.index + 1}`
@@ -788,7 +812,7 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
788
812
  }), []), F = c(() => {
789
813
  let e = g ? t.map((e) => e.filterFn ? e : {
790
814
  ...e,
791
- filterFn: nr
815
+ filterFn: rr
792
816
  }) : t;
793
817
  return C ? [pe, ...e] : e;
794
818
  }, [
@@ -804,7 +828,7 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
804
828
  globalFilter: re,
805
829
  pagination: ae,
806
830
  rowSelection: se,
807
- columnFilters: g ? P : []
831
+ columnFilters: g ? P : ir
808
832
  },
809
833
  onSortingChange: ne,
810
834
  onGlobalFilterChange: ie,
@@ -873,7 +897,7 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
873
897
  className: B.th,
874
898
  "data-sortable": e.column.getCanSort() || void 0,
875
899
  onClick: e.column.getToggleSortingHandler(),
876
- "aria-sort": er(e.column),
900
+ "aria-sort": tr(e.column),
877
901
  children: [
878
902
  E(e.column.columnDef.header, e.getContext()),
879
903
  e.column.getIsSorted() === "asc" && " ▲",
@@ -888,7 +912,7 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
888
912
  type: "text",
889
913
  className: B.filterInput,
890
914
  placeholder: _,
891
- "aria-label": `Filtrar por ${tr(e)}`,
915
+ "aria-label": `Filtrar por ${nr(e)}`,
892
916
  value: e.getFilterValue() ?? "",
893
917
  onChange: (t) => e.setFilterValue(t.target.value)
894
918
  })
@@ -945,27 +969,27 @@ function rr({ data: e, columns: t, isLoading: n = !1, loadingSlot: r, pageSize:
945
969
  ]
946
970
  });
947
971
  }
948
- var ir = {
972
+ var or = {
949
973
  wrapper: "_wrapper_kap55_2",
950
974
  label: "_label_kap55_8",
951
975
  input: "_input_kap55_16"
952
976
  };
953
977
  //#endregion
954
978
  //#region src/components/DatePicker/DatePicker.tsx
955
- function ar({ error: e, label: t, className: n, id: r, ref: i, "data-testid": o, ...s }) {
979
+ function sr({ error: e, label: t, className: n, id: r, ref: i, "data-testid": o, ...s }) {
956
980
  let c = a(), l = r ?? c;
957
981
  return /* @__PURE__ */ p("div", {
958
- className: R(ir.wrapper, n),
982
+ className: R(or.wrapper, n),
959
983
  "data-testid": o,
960
984
  children: [t && /* @__PURE__ */ f("label", {
961
985
  htmlFor: l,
962
- className: ir.label,
986
+ className: or.label,
963
987
  children: t
964
988
  }), /* @__PURE__ */ f("input", {
965
989
  ref: i,
966
990
  type: "date",
967
991
  id: l,
968
- className: ir.input,
992
+ className: or.input,
969
993
  "data-error": e || void 0,
970
994
  "aria-invalid": e || void 0,
971
995
  ...s
@@ -981,7 +1005,7 @@ var V = {
981
1005
  };
982
1006
  //#endregion
983
1007
  //#region src/components/DateRangePicker/DateRangePicker.tsx
984
- function or({ startDate: e = "", endDate: t = "", onStartChange: n, onEndChange: r, startLabel: i = "Desde", endLabel: o = "Hasta", error: s, disabled: c, minDate: l, maxDate: u, className: d, "data-testid": m }) {
1008
+ function cr({ startDate: e = "", endDate: t = "", onStartChange: n, onEndChange: r, startLabel: i = "Desde", endLabel: o = "Hasta", error: s, disabled: c, minDate: l, maxDate: u, className: d, "data-testid": m }) {
985
1009
  let h = a(), g = a();
986
1010
  return /* @__PURE__ */ p("div", {
987
1011
  className: R(V.wrapper, d),
@@ -1035,7 +1059,7 @@ function or({ startDate: e = "", endDate: t = "", onStartChange: n, onEndChange:
1035
1059
  }
1036
1060
  //#endregion
1037
1061
  //#region src/hooks/useScrollLock.ts
1038
- function sr(e, t = {}) {
1062
+ function lr(e, t = {}) {
1039
1063
  let { strategy: n = "fixed" } = t;
1040
1064
  i(() => {
1041
1065
  if (!e) return;
@@ -1044,17 +1068,17 @@ function sr(e, t = {}) {
1044
1068
  };
1045
1069
  let t = window.scrollY;
1046
1070
  return document.body.style.overflow = "hidden", document.body.style.position = "fixed", document.body.style.top = `-${t}px`, document.body.style.width = "100%", () => {
1047
- document.body.style.overflow = "", document.body.style.position = "", document.body.style.top = "", document.body.style.width = "", window.scrollTo(0, t);
1071
+ document.body.style.overflow = "", document.body.style.position = "", document.body.style.top = "", document.body.style.width = "", window.scrollY !== t && window.scrollTo(0, t);
1048
1072
  };
1049
1073
  }, [e, n]);
1050
1074
  }
1051
1075
  //#endregion
1052
1076
  //#region src/utils/focusTrap.ts
1053
- var cr = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
1054
- function lr(e, t) {
1077
+ var ur = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
1078
+ function dr(e, t) {
1055
1079
  i(() => {
1056
1080
  if (!t || !e.current) return;
1057
- let n = e.current, r = document.activeElement, i = () => Array.from(n.querySelectorAll(cr));
1081
+ let n = e.current, r = document.activeElement, i = () => Array.from(n.querySelectorAll(ur));
1058
1082
  i()[0]?.focus();
1059
1083
  function a(e) {
1060
1084
  if (e.key !== "Tab") return;
@@ -1068,13 +1092,13 @@ function lr(e, t) {
1068
1092
  };
1069
1093
  }, [t, e]);
1070
1094
  }
1071
- var ur = { closeButton: "_closeButton_drwqj_8" };
1095
+ var fr = { closeButton: "_closeButton_drwqj_8" };
1072
1096
  //#endregion
1073
1097
  //#region src/components/CloseButton/CloseButton.tsx
1074
- function dr({ onClick: e, label: t = "Cerrar", size: n = 20, className: r, "data-testid": i }) {
1098
+ function pr({ onClick: e, label: t = "Cerrar", size: n = 20, className: r, "data-testid": i }) {
1075
1099
  return /* @__PURE__ */ f("button", {
1076
1100
  type: "button",
1077
- className: R(ur.closeButton, r),
1101
+ className: R(fr.closeButton, r),
1078
1102
  onClick: e,
1079
1103
  "aria-label": t,
1080
1104
  "data-testid": i,
@@ -1085,7 +1109,7 @@ function dr({ onClick: e, label: t = "Cerrar", size: n = 20, className: r, "data
1085
1109
  })
1086
1110
  });
1087
1111
  }
1088
- var fr = {
1112
+ var mr = {
1089
1113
  overlay: "_overlay_ib7kc_2",
1090
1114
  "ds-fade-in": "_ds-fade-in_ib7kc_1",
1091
1115
  overlayBackdrop: "_overlayBackdrop_ib7kc_14",
@@ -1098,19 +1122,19 @@ var fr = {
1098
1122
  };
1099
1123
  //#endregion
1100
1124
  //#region src/components/Dialog/Dialog.tsx
1101
- function pr({ open: e, onClose: t, title: n, children: r, size: o = "medium", className: s, "data-testid": c }) {
1125
+ function hr({ open: e, onClose: t, title: n, children: r, size: o = "medium", className: s, "data-testid": c }) {
1102
1126
  let u = a(), d = l(null);
1103
- return sr(e), lr(d, e), i(() => {
1127
+ return lr(e), dr(d, e), i(() => {
1104
1128
  if (!e) return;
1105
1129
  let n = (e) => {
1106
1130
  e.key === "Escape" && (e.preventDefault(), t());
1107
1131
  };
1108
1132
  return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
1109
1133
  }, [e, t]), !e || typeof document > "u" ? null : M(/* @__PURE__ */ p("div", {
1110
- className: fr.overlay,
1134
+ className: mr.overlay,
1111
1135
  children: [/* @__PURE__ */ f("button", {
1112
1136
  type: "button",
1113
- className: fr.overlayBackdrop,
1137
+ className: mr.overlayBackdrop,
1114
1138
  onClick: t,
1115
1139
  "aria-label": "Cerrar",
1116
1140
  tabIndex: -1
@@ -1119,24 +1143,24 @@ function pr({ open: e, onClose: t, title: n, children: r, size: o = "medium", cl
1119
1143
  role: "dialog",
1120
1144
  "aria-modal": "true",
1121
1145
  "aria-labelledby": u,
1122
- className: [fr.dialog, s].filter(Boolean).join(" "),
1146
+ className: [mr.dialog, s].filter(Boolean).join(" "),
1123
1147
  "data-size": o,
1124
1148
  tabIndex: -1,
1125
1149
  "data-testid": c,
1126
1150
  children: [/* @__PURE__ */ p("div", {
1127
- className: fr.header,
1151
+ className: mr.header,
1128
1152
  children: [/* @__PURE__ */ f("h2", {
1129
1153
  id: u,
1130
- className: fr.title,
1154
+ className: mr.title,
1131
1155
  children: n
1132
- }), /* @__PURE__ */ f(dr, {
1133
- className: fr.closeButton,
1156
+ }), /* @__PURE__ */ f(pr, {
1157
+ className: mr.closeButton,
1134
1158
  onClick: t,
1135
1159
  label: "Cerrar diálogo",
1136
1160
  size: 20
1137
1161
  })]
1138
1162
  }), /* @__PURE__ */ f("div", {
1139
- className: fr.body,
1163
+ className: mr.body,
1140
1164
  children: r
1141
1165
  })]
1142
1166
  })]
@@ -1144,7 +1168,7 @@ function pr({ open: e, onClose: t, title: n, children: r, size: o = "medium", cl
1144
1168
  }
1145
1169
  //#endregion
1146
1170
  //#region src/hooks/useDropdown.ts
1147
- function mr(e = {}) {
1171
+ function gr(e = {}) {
1148
1172
  let { itemCount: t = 0, onSelectIndex: n, onOpen: a, onClose: o, disabled: s = !1, closeOnOutsideClick: c = !0 } = e, [d, f] = u(!1), [p, m] = u(-1), h = l(null), g = l(null), _ = l(null), v = l(o);
1149
1173
  v.current = o;
1150
1174
  let y = l(n);
@@ -1220,7 +1244,7 @@ function mr(e = {}) {
1220
1244
  }
1221
1245
  //#endregion
1222
1246
  //#region src/utils/portal.ts
1223
- function hr(e, t) {
1247
+ function _r(e, t) {
1224
1248
  return M(e, t ?? document.body);
1225
1249
  }
1226
1250
  var H = {
@@ -1234,25 +1258,25 @@ var H = {
1234
1258
  menuItem: "_menuItem_139kr_170",
1235
1259
  menuIcon: "_menuIcon_139kr_198",
1236
1260
  menuLabel: "_menuLabel_139kr_202"
1237
- }, gr = {
1261
+ }, vr = {
1238
1262
  tiny: 14,
1239
1263
  small: 16,
1240
1264
  medium: 20,
1241
1265
  large: 24
1242
- }, _r = 4, vr = 8;
1243
- function yr(e, t, n) {
1244
- let r = e.top - _r - t.height >= vr, i = e.bottom + _r + t.height <= n.height - vr, a = r || !i ? "top" : "bottom", o = a === "top" ? e.top - _r - t.height : e.bottom + _r, s = e.left + e.width / 2 - t.width / 2, c = n.width - vr - t.width;
1266
+ }, yr = 4, br = 8;
1267
+ function xr(e, t, n) {
1268
+ let r = e.top - yr - t.height >= br, i = e.bottom + yr + t.height <= n.height - br, a = r || !i ? "top" : "bottom", o = a === "top" ? e.top - yr - t.height : e.bottom + yr, s = e.left + e.width / 2 - t.width / 2, c = n.width - br - t.width;
1245
1269
  return {
1246
1270
  top: o,
1247
- left: Math.max(vr, Math.min(s, c)),
1271
+ left: Math.max(br, Math.min(s, c)),
1248
1272
  placement: a
1249
1273
  };
1250
1274
  }
1251
- function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary", disabled: a = !1, onSelect: o, onOpen: s, onClose: c, "data-testid": l }) {
1275
+ function Sr({ text: e, menuItems: t, size: n = "medium", variant: r = "primary", disabled: a = !1, onSelect: o, onOpen: s, onClose: c, "data-testid": l }) {
1252
1276
  function d(e) {
1253
1277
  e.disabled || (o?.(e), y());
1254
1278
  }
1255
- let { isOpen: m, containerRef: h, triggerRef: g, menuRef: _, activeIndex: v, close: y, toggle: b, handleTriggerKeyDown: x } = mr({
1279
+ let { isOpen: m, containerRef: h, triggerRef: g, menuRef: _, activeIndex: v, close: y, toggle: b, handleTriggerKeyDown: x } = gr({
1256
1280
  itemCount: t.length,
1257
1281
  disabled: a,
1258
1282
  onOpen: s,
@@ -1273,7 +1297,7 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1273
1297
  let e = g.current, t = _.current;
1274
1298
  if (!e || !t) return;
1275
1299
  let n = e.getBoundingClientRect();
1276
- C(yr({
1300
+ C(xr({
1277
1301
  top: n.top,
1278
1302
  bottom: n.bottom,
1279
1303
  left: n.left,
@@ -1297,7 +1321,7 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1297
1321
  g,
1298
1322
  _
1299
1323
  ]);
1300
- let E = gr[n];
1324
+ let E = vr[n];
1301
1325
  return /* @__PURE__ */ p("div", {
1302
1326
  ref: h,
1303
1327
  className: H.root,
@@ -1333,7 +1357,7 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1333
1357
  })
1334
1358
  })
1335
1359
  ]
1336
- }), m && hr(/* @__PURE__ */ f("div", {
1360
+ }), m && _r(/* @__PURE__ */ f("div", {
1337
1361
  ref: _,
1338
1362
  className: R("tot-ds-root", H.menu),
1339
1363
  "data-theme": w || void 0,
@@ -1369,7 +1393,7 @@ function br({ text: e, menuItems: t, size: n = "medium", variant: r = "primary",
1369
1393
  }))]
1370
1394
  });
1371
1395
  }
1372
- var xr = {
1396
+ var Cr = {
1373
1397
  container: "_container_1mo04_2",
1374
1398
  triggerWrapper: "_triggerWrapper_1mo04_8",
1375
1399
  menu: "_menu_1mo04_19",
@@ -1378,26 +1402,26 @@ var xr = {
1378
1402
  };
1379
1403
  //#endregion
1380
1404
  //#region src/components/DropdownMenu/DropdownMenu.tsx
1381
- function Sr({ trigger: e, items: t, align: n = "left", "data-testid": r }) {
1382
- let a = l(/* @__PURE__ */ new Map()), { isOpen: o, containerRef: s, triggerRef: c, toggle: u, close: d, closeAndFocusTrigger: m } = mr();
1405
+ function wr({ trigger: e, items: t, align: n = "left", "data-testid": r }) {
1406
+ let a = l(/* @__PURE__ */ new Map()), { isOpen: o, containerRef: s, triggerRef: c, toggle: u, close: d, closeAndFocusTrigger: m } = gr();
1383
1407
  return i(() => {
1384
1408
  if (!o) return;
1385
1409
  let e = t.find((e) => !e.disabled);
1386
1410
  e && a.current.get(e.id)?.focus();
1387
1411
  }, [o, t]), /* @__PURE__ */ p("div", {
1388
1412
  ref: s,
1389
- className: xr.container,
1413
+ className: Cr.container,
1390
1414
  "data-testid": r,
1391
1415
  children: [/* @__PURE__ */ f("button", {
1392
1416
  ref: c,
1393
1417
  type: "button",
1394
- className: xr.triggerWrapper,
1418
+ className: Cr.triggerWrapper,
1395
1419
  onClick: u,
1396
1420
  "aria-haspopup": "menu",
1397
1421
  "aria-expanded": o,
1398
1422
  children: e
1399
1423
  }), o && /* @__PURE__ */ f("div", {
1400
- className: xr.menu,
1424
+ className: Cr.menu,
1401
1425
  "data-align": n,
1402
1426
  role: "menu",
1403
1427
  onKeyDown: (e) => {
@@ -1414,7 +1438,7 @@ function Sr({ trigger: e, items: t, align: n = "left", "data-testid": r }) {
1414
1438
  },
1415
1439
  type: "button",
1416
1440
  role: "menuitem",
1417
- className: xr.menuItem,
1441
+ className: Cr.menuItem,
1418
1442
  "data-danger": e.danger || void 0,
1419
1443
  disabled: e.disabled,
1420
1444
  tabIndex: -1,
@@ -1422,63 +1446,63 @@ function Sr({ trigger: e, items: t, align: n = "left", "data-testid": r }) {
1422
1446
  e.onClick(), d();
1423
1447
  },
1424
1448
  children: [e.icon && /* @__PURE__ */ f("span", {
1425
- className: xr.icon,
1449
+ className: Cr.icon,
1426
1450
  children: e.icon
1427
1451
  }), e.label]
1428
1452
  }, e.id))
1429
1453
  })]
1430
1454
  });
1431
1455
  }
1432
- var Cr = {
1456
+ var Tr = {
1433
1457
  skeleton: "_skeleton_d5768_2",
1434
1458
  "ds-skeleton-shimmer": "_ds-skeleton-shimmer_d5768_1"
1435
1459
  };
1436
1460
  //#endregion
1437
1461
  //#region src/components/Skeleton/Skeleton.tsx
1438
- function wr(e) {
1462
+ function Er(e) {
1439
1463
  if (e !== void 0) return typeof e == "number" ? `${e}px` : e;
1440
1464
  }
1441
- function Tr({ width: e, height: t, variant: n = "rectangular", className: r, "data-testid": i }) {
1465
+ function Dr({ width: e, height: t, variant: n = "rectangular", className: r, "data-testid": i }) {
1442
1466
  return /* @__PURE__ */ f("span", {
1443
1467
  "aria-hidden": "true",
1444
- className: [Cr.skeleton, r].filter(Boolean).join(" "),
1468
+ className: [Tr.skeleton, r].filter(Boolean).join(" "),
1445
1469
  "data-variant": n,
1446
1470
  "data-testid": i,
1447
1471
  style: {
1448
- width: wr(e),
1449
- height: wr(t)
1472
+ width: Er(e),
1473
+ height: Er(t)
1450
1474
  }
1451
1475
  });
1452
1476
  }
1453
- var Er = {
1477
+ var Or = {
1454
1478
  imagePreview: "_imagePreview_1rnes_2",
1455
1479
  hidden: "_hidden_1rnes_21",
1456
1480
  errorIcon: "_errorIcon_1rnes_27"
1457
1481
  };
1458
1482
  //#endregion
1459
1483
  //#region src/components/ImagePreview/ImagePreview.tsx
1460
- function Dr(e) {
1484
+ function kr(e) {
1461
1485
  return e.startsWith("data:image/");
1462
1486
  }
1463
- function Or(e) {
1487
+ function Ar(e) {
1464
1488
  try {
1465
1489
  return new URL(e), !0;
1466
1490
  } catch {
1467
1491
  return !1;
1468
1492
  }
1469
1493
  }
1470
- function kr({ imageSrc: e, width: t = 40, height: n = 40, alt: r = "Image without alt text", borderRadius: a = 8, className: o, "data-testid": s }) {
1494
+ function jr({ imageSrc: e, width: t = 40, height: n = 40, alt: r = "Image without alt text", borderRadius: a = 8, className: o, "data-testid": s }) {
1471
1495
  let [c, l] = u(() => e ? "loading" : "error");
1472
1496
  return i(() => {
1473
1497
  if (!e) {
1474
1498
  l("error");
1475
1499
  return;
1476
1500
  }
1477
- if (!Dr(e) && !Or(e)) {
1501
+ if (!kr(e) && !Ar(e)) {
1478
1502
  l("error");
1479
1503
  return;
1480
1504
  }
1481
- if (Dr(e)) {
1505
+ if (kr(e)) {
1482
1506
  l("loaded");
1483
1507
  return;
1484
1508
  }
@@ -1488,7 +1512,7 @@ function kr({ imageSrc: e, width: t = 40, height: n = 40, alt: r = "Image withou
1488
1512
  t.onload = null, t.onerror = null;
1489
1513
  };
1490
1514
  }, [e]), /* @__PURE__ */ p("div", {
1491
- className: [Er.imagePreview, o].filter(Boolean).join(" "),
1515
+ className: [Or.imagePreview, o].filter(Boolean).join(" "),
1492
1516
  "data-state": c,
1493
1517
  "data-testid": s,
1494
1518
  role: c === "error" ? "img" : void 0,
@@ -1505,15 +1529,15 @@ function kr({ imageSrc: e, width: t = 40, height: n = 40, alt: r = "Image withou
1505
1529
  width: t,
1506
1530
  height: n,
1507
1531
  decoding: "async",
1508
- loading: Dr(e) ? void 0 : "lazy",
1509
- className: c === "loading" ? Er.hidden : void 0
1532
+ loading: kr(e) ? void 0 : "lazy",
1533
+ className: c === "loading" ? Or.hidden : void 0
1510
1534
  }),
1511
- c === "loading" && /* @__PURE__ */ f(Tr, {
1535
+ c === "loading" && /* @__PURE__ */ f(Dr, {
1512
1536
  width: t,
1513
1537
  height: n
1514
1538
  }),
1515
1539
  c === "error" && /* @__PURE__ */ f("span", {
1516
- className: Er.errorIcon,
1540
+ className: Or.errorIcon,
1517
1541
  children: /* @__PURE__ */ f(L, {
1518
1542
  name: "error-outline",
1519
1543
  size: Math.round(t * .6),
@@ -1532,7 +1556,7 @@ var U = {
1532
1556
  zoneLabel: "_zoneLabel_10rwp_81",
1533
1557
  description: "_description_10rwp_88",
1534
1558
  fileList: "_fileList_10rwp_94"
1535
- }, Ar = {
1559
+ }, Mr = {
1536
1560
  images: {
1537
1561
  types: [
1538
1562
  "png",
@@ -1572,11 +1596,11 @@ var U = {
1572
1596
  mimeTypes: ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]
1573
1597
  }
1574
1598
  };
1575
- function jr(e) {
1576
- return Ar[e].mimeTypes.join(",");
1599
+ function Nr(e) {
1600
+ return Mr[e].mimeTypes.join(",");
1577
1601
  }
1578
- function Mr(e, t) {
1579
- let { types: n, mimeTypes: r } = Ar[t];
1602
+ function Pr(e, t) {
1603
+ let { types: n, mimeTypes: r } = Mr[t];
1580
1604
  return Array.from(e).filter((e) => {
1581
1605
  let t = r.some((t) => e.type === t), i = n.some((t) => e.name.toLowerCase().endsWith(`.${t}`));
1582
1606
  return t || i;
@@ -1584,39 +1608,39 @@ function Mr(e, t) {
1584
1608
  }
1585
1609
  //#endregion
1586
1610
  //#region src/components/DropZone/DropZone.tsx
1587
- async function Nr(e, t) {
1611
+ async function Fr(e, t) {
1588
1612
  return t ? new Promise((t) => {
1589
1613
  let n = new FileReader();
1590
1614
  n.onload = (e) => t(e.target?.result ?? ""), n.readAsDataURL(e);
1591
1615
  }) : "";
1592
1616
  }
1593
- async function Pr(e, t) {
1617
+ async function Ir(e, t) {
1594
1618
  return Promise.all(e.map(async (e) => ({
1595
1619
  id: crypto.randomUUID(),
1596
1620
  file: e,
1597
1621
  name: e.name,
1598
- preview: await Nr(e, t)
1622
+ preview: await Fr(e, t)
1599
1623
  })));
1600
1624
  }
1601
- function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFileTypes: t = "images", multiple: n = !0, displayPreview: r = !0, displayFileList: a = !1, value: o, onDrop: s, onDropError: c, onRemove: d, onChange: m, className: h, "data-testid": g }) {
1625
+ function Lr({ label: e = "Haz click o arrastra un archivo para subir", allowedFileTypes: t = "images", multiple: n = !0, displayPreview: r = !0, displayFileList: a = !1, value: o, onDrop: s, onDropError: c, onRemove: d, onChange: m, className: h, "data-testid": g }) {
1602
1626
  let _ = l(null), [v, y] = u(!1), [b, x] = u(!1), [S, C] = u(o ?? []);
1603
1627
  i(() => {
1604
1628
  o !== void 0 && C(o ?? []);
1605
1629
  }, [o]);
1606
- let w = o === void 0 ? S : o ?? [], T = (a || !r && !a) && w.length > 0, E = Ar[t].types, D = jr(t), O = t === "images";
1630
+ let w = o === void 0 ? S : o ?? [], T = (a || !r && !a) && w.length > 0, E = Mr[t].types, D = Nr(t), O = t === "images";
1607
1631
  async function k(e, r) {
1608
1632
  if (e.length === 0) {
1609
1633
  c?.(`No files match the allowed types: ${t}`);
1610
1634
  return;
1611
1635
  }
1612
- let i = await Pr(e, O), a = n ? [...w, ...i] : i;
1636
+ let i = await Ir(e, O), a = n ? [...w, ...i] : i;
1613
1637
  o === void 0 && C(a), m?.(a), s(r);
1614
1638
  }
1615
1639
  async function A(e) {
1616
1640
  if (!b) {
1617
1641
  x(!0);
1618
1642
  try {
1619
- await k(Mr(e, t), e);
1643
+ await k(Pr(e, t), e);
1620
1644
  } catch (e) {
1621
1645
  c?.(e instanceof Error ? e.message : "Unknown error");
1622
1646
  } finally {
@@ -1638,7 +1662,7 @@ function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1638
1662
  type: "button",
1639
1663
  className: U.previewBtn,
1640
1664
  onClick: () => j(t),
1641
- children: [/* @__PURE__ */ f(kr, {
1665
+ children: [/* @__PURE__ */ f(jr, {
1642
1666
  imageSrc: e.preview,
1643
1667
  width: 70,
1644
1668
  height: 70,
@@ -1707,7 +1731,7 @@ function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1707
1731
  }),
1708
1732
  T && /* @__PURE__ */ f("div", {
1709
1733
  className: U.fileList,
1710
- children: w.map((e, t) => /* @__PURE__ */ f(An, {
1734
+ children: w.map((e, t) => /* @__PURE__ */ f(jn, {
1711
1735
  variant: "outline",
1712
1736
  size: "small",
1713
1737
  onClick: () => j(t),
@@ -1719,7 +1743,7 @@ function Fr({ label: e = "Haz click o arrastra un archivo para subir", allowedFi
1719
1743
  }
1720
1744
  //#endregion
1721
1745
  //#region src/components/DsProvider/DsProvider.tsx
1722
- function Ir({ theme: e, children: t, className: n, "data-testid": r }) {
1746
+ function Rr({ theme: e, children: t, className: n, "data-testid": r }) {
1723
1747
  return /* @__PURE__ */ f("div", {
1724
1748
  className: R("tot-ds-root", n),
1725
1749
  "data-theme": e,
@@ -1727,18 +1751,18 @@ function Ir({ theme: e, children: t, className: n, "data-testid": r }) {
1727
1751
  children: t
1728
1752
  });
1729
1753
  }
1730
- var Lr = {
1754
+ var zr = {
1731
1755
  wrapper: "_wrapper_x6gz1_1",
1732
1756
  message: "_message_x6gz1_10"
1733
1757
  };
1734
1758
  //#endregion
1735
1759
  //#region src/components/EmptyState/EmptyState.tsx
1736
- function Rr({ message: e, action: t, "data-testid": n }) {
1760
+ function Br({ message: e, action: t, "data-testid": n }) {
1737
1761
  return /* @__PURE__ */ p("div", {
1738
- className: Lr.wrapper,
1762
+ className: zr.wrapper,
1739
1763
  "data-testid": n,
1740
1764
  children: [/* @__PURE__ */ f("p", {
1741
- className: Lr.message,
1765
+ className: zr.message,
1742
1766
  children: e
1743
1767
  }), t]
1744
1768
  });
@@ -1752,7 +1776,7 @@ var W = {
1752
1776
  details: "_details_1tgia_39",
1753
1777
  stack: "_stack_1tgia_57",
1754
1778
  retryButton: "_retryButton_1tgia_70"
1755
- }, zr = class extends e {
1779
+ }, Vr = class extends e {
1756
1780
  constructor(e) {
1757
1781
  super(e), this.state = {
1758
1782
  hasError: !1,
@@ -1837,7 +1861,7 @@ var W = {
1837
1861
  };
1838
1862
  //#endregion
1839
1863
  //#region src/components/ExtrasDialog/ExtrasDialog.tsx
1840
- function Br({ open: e, onClose: t, onConfirm: n, categories: r, productName: i, "data-testid": a }) {
1864
+ function Hr({ open: e, onClose: t, onConfirm: n, categories: r, productName: i, "data-testid": a }) {
1841
1865
  let [o, s] = u(/* @__PURE__ */ new Map()), c = (e, t, n, r) => {
1842
1866
  s((i) => {
1843
1867
  let a = new Map(i), o = a.get(e) ?? [];
@@ -1863,7 +1887,7 @@ function Br({ open: e, onClose: t, onConfirm: n, categories: r, productName: i,
1863
1887
  }, m = () => {
1864
1888
  s(/* @__PURE__ */ new Map()), t();
1865
1889
  };
1866
- return /* @__PURE__ */ f(pr, {
1890
+ return /* @__PURE__ */ f(hr, {
1867
1891
  open: e,
1868
1892
  onClose: m,
1869
1893
  title: `Extras — ${i}`,
@@ -1899,11 +1923,11 @@ function Br({ open: e, onClose: t, onConfirm: n, categories: r, productName: i,
1899
1923
  })]
1900
1924
  }, e.id)), /* @__PURE__ */ p("div", {
1901
1925
  className: G.actions,
1902
- children: [/* @__PURE__ */ f(An, {
1926
+ children: [/* @__PURE__ */ f(jn, {
1903
1927
  variant: "ghost",
1904
1928
  onClick: m,
1905
1929
  children: "Cancelar"
1906
- }), /* @__PURE__ */ p(An, {
1930
+ }), /* @__PURE__ */ p(jn, {
1907
1931
  variant: "primary",
1908
1932
  onClick: d,
1909
1933
  children: ["Agregar ", l.length > 0 ? `(${l.length})` : ""]
@@ -1912,7 +1936,7 @@ function Br({ open: e, onClose: t, onConfirm: n, categories: r, productName: i,
1912
1936
  })
1913
1937
  });
1914
1938
  }
1915
- var Vr = {
1939
+ var Ur = {
1916
1940
  field: "_field_mizrx_2",
1917
1941
  label: "_label_mizrx_8",
1918
1942
  required: "_required_mizrx_18",
@@ -1921,30 +1945,30 @@ var Vr = {
1921
1945
  };
1922
1946
  //#endregion
1923
1947
  //#region src/components/FormField/FormField.tsx
1924
- function Hr({ label: e, htmlFor: t, error: n, description: r, required: i = !1, children: a, className: o, "data-testid": s }) {
1948
+ function Wr({ label: e, htmlFor: t, error: n, description: r, required: i = !1, children: a, className: o, "data-testid": s }) {
1925
1949
  let c = t ? `${t}-error` : void 0, l = t ? `${t}-description` : void 0;
1926
1950
  return /* @__PURE__ */ p("div", {
1927
- className: [Vr.field, o].filter(Boolean).join(" "),
1951
+ className: [Ur.field, o].filter(Boolean).join(" "),
1928
1952
  "data-testid": s,
1929
1953
  children: [
1930
1954
  /* @__PURE__ */ p("label", {
1931
1955
  htmlFor: t,
1932
- className: Vr.label,
1956
+ className: Ur.label,
1933
1957
  children: [e, i && /* @__PURE__ */ p("span", {
1934
- className: Vr.required,
1958
+ className: Ur.required,
1935
1959
  "aria-hidden": "true",
1936
1960
  children: [" ", "*"]
1937
1961
  })]
1938
1962
  }),
1939
1963
  r && /* @__PURE__ */ f("p", {
1940
1964
  id: l,
1941
- className: Vr.description,
1965
+ className: Ur.description,
1942
1966
  children: r
1943
1967
  }),
1944
1968
  a,
1945
1969
  n && /* @__PURE__ */ f("p", {
1946
1970
  id: c,
1947
- className: Vr.error,
1971
+ className: Ur.error,
1948
1972
  role: "alert",
1949
1973
  "aria-live": "polite",
1950
1974
  children: n
@@ -1952,17 +1976,17 @@ function Hr({ label: e, htmlFor: t, error: n, description: r, required: i = !1,
1952
1976
  ]
1953
1977
  });
1954
1978
  }
1955
- var Ur = {
1979
+ var Gr = {
1956
1980
  wrapper: "_wrapper_8byuq_2",
1957
1981
  error: "_error_8byuq_9"
1958
1982
  };
1959
1983
  //#endregion
1960
1984
  //#region src/components/GoogleSignInButton/GoogleSignInButton.tsx
1961
- function Wr({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-testid": i }) {
1985
+ function Kr({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-testid": i }) {
1962
1986
  return /* @__PURE__ */ p("div", {
1963
- className: Ur.wrapper,
1987
+ className: Gr.wrapper,
1964
1988
  "data-testid": i,
1965
- children: [/* @__PURE__ */ p(An, {
1989
+ children: [/* @__PURE__ */ p(jn, {
1966
1990
  type: "button",
1967
1991
  variant: "outline",
1968
1992
  size: "small",
@@ -1977,36 +2001,36 @@ function Wr({ onSignIn: e, isPending: t = !1, isError: n = !1, error: r, "data-t
1977
2001
  }), "Google"]
1978
2002
  }), n && /* @__PURE__ */ f("span", {
1979
2003
  role: "alert",
1980
- className: Ur.error,
2004
+ className: Gr.error,
1981
2005
  children: r instanceof Error ? r.message : "Error al iniciar sesión con Google"
1982
2006
  })]
1983
2007
  });
1984
2008
  }
1985
- var Gr = {
2009
+ var qr = {
1986
2010
  groupedButtons: "_groupedButtons_13s4p_2",
1987
2011
  button: "_button_13s4p_15"
1988
2012
  };
1989
2013
  //#endregion
1990
2014
  //#region src/components/GroupedButtons/GroupedButtons.tsx
1991
- function Kr(e, t) {
2015
+ function Jr(e, t) {
1992
2016
  return t === 1 ? "standalone" : e === 0 ? "left" : e === t - 1 ? "right" : "center";
1993
2017
  }
1994
- function qr({ label: e, options: t, selectedButton: n, size: r = "medium", fullWidth: i = !1, disabled: a = !1, onChange: o, className: s, ...c }) {
2018
+ function Yr({ label: e, options: t, selectedButton: n, size: r = "medium", fullWidth: i = !1, disabled: a = !1, onChange: o, className: s, ...c }) {
1995
2019
  let [l, d] = u(() => t[0]?.value), m = n !== void 0, h = m ? n : l, g = (e) => {
1996
2020
  let n = t.find((t) => t.value === e);
1997
2021
  a || n?.disabled || (m || d(e), o?.(e));
1998
2022
  };
1999
2023
  return /* @__PURE__ */ f("fieldset", {
2000
2024
  "aria-label": e,
2001
- className: [Gr.groupedButtons, s].filter(Boolean).join(" "),
2025
+ className: [qr.groupedButtons, s].filter(Boolean).join(" "),
2002
2026
  disabled: a,
2003
2027
  "data-full-width": i ? "" : void 0,
2004
2028
  ...c,
2005
2029
  children: t.map((e, n) => /* @__PURE__ */ p("button", {
2006
2030
  type: "button",
2007
- className: Gr.button,
2031
+ className: qr.button,
2008
2032
  "data-size": r,
2009
- "data-position": Kr(n, t.length),
2033
+ "data-position": Jr(n, t.length),
2010
2034
  "data-selected": h === e.value ? "" : void 0,
2011
2035
  "data-testid": e["data-testid"],
2012
2036
  disabled: a || e.disabled,
@@ -2018,7 +2042,7 @@ function qr({ label: e, options: t, selectedButton: n, size: r = "medium", fullW
2018
2042
  }, e.value))
2019
2043
  });
2020
2044
  }
2021
- var Jr = {
2045
+ var Xr = {
2022
2046
  header: "_header_1dj55_2",
2023
2047
  item: "_item_1dj55_17",
2024
2048
  title: "_title_1dj55_24",
@@ -2026,18 +2050,18 @@ var Jr = {
2026
2050
  };
2027
2051
  //#endregion
2028
2052
  //#region src/components/Header/Header.tsx
2029
- function Yr({ headers: e = [], spaceBetween: t = !1, className: n, ...r }) {
2053
+ function Zr({ headers: e = [], spaceBetween: t = !1, className: n, ...r }) {
2030
2054
  return /* @__PURE__ */ f("section", {
2031
- className: [Jr.header, n].filter(Boolean).join(" "),
2055
+ className: [Xr.header, n].filter(Boolean).join(" "),
2032
2056
  "data-space-between": t ? "" : void 0,
2033
2057
  ...r,
2034
2058
  children: e.map((e) => /* @__PURE__ */ p("div", {
2035
- className: Jr.item,
2059
+ className: Xr.item,
2036
2060
  children: [/* @__PURE__ */ f("p", {
2037
- className: Jr.title,
2061
+ className: Xr.title,
2038
2062
  children: e.title
2039
2063
  }), e.description && /* @__PURE__ */ f("p", {
2040
- className: Jr.description,
2064
+ className: Xr.description,
2041
2065
  children: e.description
2042
2066
  })]
2043
2067
  }, e.title))
@@ -2045,12 +2069,12 @@ function Yr({ headers: e = [], spaceBetween: t = !1, className: n, ...r }) {
2045
2069
  }
2046
2070
  //#endregion
2047
2071
  //#region src/components/LanguageSelector/LanguageSelector.tsx
2048
- function Xr({ value: e, options: t, onChange: n, "data-testid": r }) {
2072
+ function Qr({ value: e, options: t, onChange: n, "data-testid": r }) {
2049
2073
  let i = c(() => t.map(({ value: e, label: t }) => ({
2050
2074
  value: e,
2051
2075
  label: t
2052
2076
  })), [t]);
2053
- return /* @__PURE__ */ f(br, {
2077
+ return /* @__PURE__ */ f(Sr, {
2054
2078
  text: t.find((t) => t.value === e)?.label ?? e,
2055
2079
  menuItems: i,
2056
2080
  size: "small",
@@ -2059,22 +2083,22 @@ function Xr({ value: e, options: t, onChange: n, "data-testid": r }) {
2059
2083
  "data-testid": r
2060
2084
  });
2061
2085
  }
2062
- var Zr = { logo: "_logo_t6mnr_2" }, Qr = "<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", $r = "<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", ei = "<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", ti = "<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", ni = "<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", ri = "<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";
2086
+ var $r = { logo: "_logo_t6mnr_2" }, ei = "<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", ti = "<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", ni = "<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", ri = "<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", ii = "<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", ai = "<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";
2063
2087
  //#endregion
2064
2088
  //#region src/components/LogoToteat/LogoToteat.tsx
2065
- function ii(e) {
2089
+ function oi(e) {
2066
2090
  return e.replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;");
2067
2091
  }
2068
- var ai = {
2069
- original: ri,
2070
- "cream-orange": ti,
2071
- "black-cream": ni
2072
- }, oi = {
2073
- original: ei,
2074
- "cream-orange": Qr,
2075
- "black-cream": $r
2092
+ var si = {
2093
+ original: ai,
2094
+ "cream-orange": ri,
2095
+ "black-cream": ii
2096
+ }, ci = {
2097
+ original: ni,
2098
+ "cream-orange": ei,
2099
+ "black-cream": ti
2076
2100
  };
2077
- function si(e, t, n) {
2101
+ function li(e, t, n) {
2078
2102
  if (t !== void 0 && n !== void 0) return {
2079
2103
  width: t,
2080
2104
  height: n
@@ -2097,10 +2121,10 @@ function si(e, t, n) {
2097
2121
  height: Math.round(t / 317 * 80)
2098
2122
  };
2099
2123
  }
2100
- function ci({ mode: e = "complete", variant: t = "original", width: n, height: r, alt: i = "Logo Toteat", className: a, ...o }) {
2101
- let s = e === "icon" ? oi[t] : ai[t], c = si(e, n, r), l = s.replace(/width="\d+"/, `width="${c.width}"`).replace(/height="\d+"/, `height="${c.height}"`).replace(/<svg/, `<svg role="img" aria-label="${ii(i)}"`);
2124
+ function ui({ mode: e = "complete", variant: t = "original", width: n, height: r, alt: i = "Logo Toteat", className: a, ...o }) {
2125
+ let s = e === "icon" ? ci[t] : si[t], c = li(e, n, r), l = s.replace(/width="\d+"/, `width="${c.width}"`).replace(/height="\d+"/, `height="${c.height}"`).replace(/<svg/, `<svg role="img" aria-label="${oi(i)}"`);
2102
2126
  return /* @__PURE__ */ f("span", {
2103
- className: [Zr.logo, a].filter(Boolean).join(" "),
2127
+ className: [$r.logo, a].filter(Boolean).join(" "),
2104
2128
  "data-mode": e,
2105
2129
  "data-variant": t,
2106
2130
  ...o,
@@ -2118,9 +2142,9 @@ var K = {
2118
2142
  search: "_search_jb72r_120",
2119
2143
  option: "_option_jb72r_108",
2120
2144
  noResults: "_noResults_jb72r_162"
2121
- }, li = 240;
2122
- function ui({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar...", searchPlaceholder: a = "Buscar...", noResultsText: o = "Sin resultados", removeLabel: s = "Eliminar", disabled: c, error: l, "data-testid": d }) {
2123
- let [m, h] = u(!1), [g, _] = u(""), { isOpen: v, containerRef: y, triggerRef: b, toggle: x, closeAndFocusTrigger: S } = mr({
2145
+ }, di = 240;
2146
+ function fi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar...", searchPlaceholder: a = "Buscar...", noResultsText: o = "Sin resultados", removeLabel: s = "Eliminar", disabled: c, error: l, "data-testid": d }) {
2147
+ let [m, h] = u(!1), [g, _] = u(""), { isOpen: v, containerRef: y, triggerRef: b, toggle: x, closeAndFocusTrigger: S } = gr({
2124
2148
  disabled: c,
2125
2149
  closeOnOutsideClick: !1
2126
2150
  }), C = e.filter((e) => t.includes(e.value)), w = e.filter((e) => !t.includes(e.value) && e.label.toLowerCase().includes(g.toLowerCase()));
@@ -2143,7 +2167,7 @@ function ui({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2143
2167
  }, [v, S]), i(() => {
2144
2168
  if (!v || !y.current) return;
2145
2169
  let e = y.current.getBoundingClientRect();
2146
- h(window.innerHeight - e.bottom < li + 8);
2170
+ h(window.innerHeight - e.bottom < di + 8);
2147
2171
  }, [v, y]);
2148
2172
  let T = (e) => n([...t, e]), E = (e) => n(t.filter((t) => t !== e));
2149
2173
  return /* @__PURE__ */ p("div", {
@@ -2207,15 +2231,15 @@ function ui({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2207
2231
  })]
2208
2232
  });
2209
2233
  }
2210
- var di = {
2234
+ var pi = {
2211
2235
  backdrop: "_backdrop_kq54y_3",
2212
2236
  sidebar: "_sidebar_kq54y_16"
2213
- }, fi = "ds-sidebar-drawer", pi = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
2214
- function mi(e) {
2215
- return Array.from(e.querySelectorAll(pi));
2237
+ }, mi = "ds-sidebar-drawer", hi = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
2238
+ function gi(e) {
2239
+ return Array.from(e.querySelectorAll(hi));
2216
2240
  }
2217
- function hi(e, t) {
2218
- let n = mi(e), r = n[0], i = n[n.length - 1];
2241
+ function _i(e, t) {
2242
+ let n = gi(e), r = n[0], i = n[n.length - 1];
2219
2243
  if (!r || !i) {
2220
2244
  t.preventDefault(), e.focus();
2221
2245
  return;
@@ -2223,7 +2247,7 @@ function hi(e, t) {
2223
2247
  let a = document.activeElement;
2224
2248
  t.shiftKey ? (a === r || !e.contains(a)) && (t.preventDefault(), i.focus()) : (a === i || !e.contains(a)) && (t.preventDefault(), r.focus());
2225
2249
  }
2226
- function gi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, isModal: a = !1, children: o }) {
2250
+ function vi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, isModal: a = !1, children: o }) {
2227
2251
  let s = l(null), c = l(t);
2228
2252
  c.current = t;
2229
2253
  let u = n === "overlay";
@@ -2232,13 +2256,13 @@ function gi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, i
2232
2256
  let t = s.current;
2233
2257
  if (!t) return;
2234
2258
  let n = document.activeElement;
2235
- (mi(t)[0] ?? t).focus();
2259
+ (gi(t)[0] ?? t).focus();
2236
2260
  let i = (e) => {
2237
2261
  if (e.key === "Escape") {
2238
2262
  c.current();
2239
2263
  return;
2240
2264
  }
2241
- e.key === "Tab" && hi(t, e);
2265
+ e.key === "Tab" && _i(t, e);
2242
2266
  };
2243
2267
  return document.addEventListener("keydown", i), () => {
2244
2268
  document.removeEventListener("keydown", i), n?.focus?.();
@@ -2249,7 +2273,7 @@ function gi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, i
2249
2273
  a,
2250
2274
  u
2251
2275
  ]), r || a ? null : /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("div", {
2252
- className: di.backdrop,
2276
+ className: pi.backdrop,
2253
2277
  "data-open": e,
2254
2278
  "data-mode": n,
2255
2279
  "data-testid": "sidebar-backdrop",
@@ -2258,8 +2282,8 @@ function gi({ isOpen: e, onClose: t, mode: n = "overlay", isPinLocked: r = !1, i
2258
2282
  "aria-hidden": "true"
2259
2283
  }), /* @__PURE__ */ f("nav", {
2260
2284
  ref: s,
2261
- id: fi,
2262
- className: di.sidebar,
2285
+ id: mi,
2286
+ className: pi.sidebar,
2263
2287
  "data-open": e,
2264
2288
  "data-mode": n,
2265
2289
  "data-testid": "sidebar",
@@ -2283,7 +2307,7 @@ var q = {
2283
2307
  };
2284
2308
  //#endregion
2285
2309
  //#region src/components/NavBar/NavBar.tsx
2286
- function _i({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, isMenuOpen: i = !1, isLoading: a = !1, isPinLocked: o = !1, rightSlot: s, "data-testid": c }) {
2310
+ function yi({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, isMenuOpen: i = !1, isLoading: a = !1, isPinLocked: o = !1, rightSlot: s, "data-testid": c }) {
2287
2311
  return o ? null : /* @__PURE__ */ p("header", {
2288
2312
  className: q.navbar,
2289
2313
  "data-testid": c,
@@ -2296,7 +2320,7 @@ function _i({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle:
2296
2320
  onClick: t,
2297
2321
  "aria-label": i ? "Cerrar menú" : "Abrir menú",
2298
2322
  "aria-expanded": i,
2299
- "aria-controls": fi,
2323
+ "aria-controls": mi,
2300
2324
  children: /* @__PURE__ */ f(L, {
2301
2325
  name: i ? "menu-close-outline" : "menu-hamburger-outline",
2302
2326
  size: 24,
@@ -2346,7 +2370,7 @@ function _i({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle:
2346
2370
  ]
2347
2371
  });
2348
2372
  }
2349
- var vi = {
2373
+ var bi = {
2350
2374
  overlay: "_overlay_1uftb_2",
2351
2375
  "overlay-fade-in": "_overlay-fade-in_1uftb_1",
2352
2376
  backdrop: "_backdrop_1uftb_22",
@@ -2354,11 +2378,11 @@ var vi = {
2354
2378
  };
2355
2379
  //#endregion
2356
2380
  //#region src/components/Overlay/Overlay.tsx
2357
- function yi({ visible: e = !1, onClose: t, children: n, dismissible: a = !0, closeOnBackdrop: o = !0, closeOnEsc: s = !0, lockScroll: c = !0, blur: l = !1, placement: u = "center", zIndex: d = 1200, role: m = "presentation", "aria-label": h, className: g, "data-testid": _ }) {
2381
+ function xi({ visible: e = !1, onClose: t, children: n, dismissible: a = !0, closeOnBackdrop: o = !0, closeOnEsc: s = !0, lockScroll: c = !0, blur: l = !1, placement: u = "center", zIndex: d = 1200, role: m = "presentation", "aria-label": h, className: g, "data-testid": _ }) {
2358
2382
  let v = r(() => {
2359
2383
  a && t();
2360
2384
  }, [a, t]);
2361
- return sr(e && c, { strategy: "overflow" }), i(() => {
2385
+ return lr(e && c, { strategy: "overflow" }), i(() => {
2362
2386
  if (!e || !s) return;
2363
2387
  let t = (e) => {
2364
2388
  e.key === "Escape" && v();
@@ -2370,7 +2394,7 @@ function yi({ visible: e = !1, onClose: t, children: n, dismissible: a = !0, clo
2370
2394
  v
2371
2395
  ]), !e || typeof document > "u" ? null : M(/* @__PURE__ */ p("div", {
2372
2396
  "data-testid": _,
2373
- className: [vi.overlay, g].filter(Boolean).join(" "),
2397
+ className: [bi.overlay, g].filter(Boolean).join(" "),
2374
2398
  "data-blur": l ? "" : void 0,
2375
2399
  "data-placement": u,
2376
2400
  style: { "--overlay-z-index": String(d) },
@@ -2378,13 +2402,13 @@ function yi({ visible: e = !1, onClose: t, children: n, dismissible: a = !0, clo
2378
2402
  "aria-label": h,
2379
2403
  children: [/* @__PURE__ */ f("button", {
2380
2404
  type: "button",
2381
- className: vi.backdrop,
2405
+ className: bi.backdrop,
2382
2406
  "data-backdrop": "",
2383
2407
  onClick: o ? v : void 0,
2384
2408
  "aria-hidden": "true",
2385
2409
  tabIndex: -1
2386
2410
  }), /* @__PURE__ */ f("div", {
2387
- className: vi.content,
2411
+ className: bi.content,
2388
2412
  children: n
2389
2413
  })]
2390
2414
  }), document.body);
@@ -2400,19 +2424,19 @@ var J = {
2400
2424
  closeBtn: "_closeBtn_we8nc_66",
2401
2425
  body: "_body_we8nc_94",
2402
2426
  actions: "_actions_we8nc_101"
2403
- }, bi = {
2427
+ }, Si = {
2404
2428
  success: "success-outline",
2405
2429
  info: "info-outline",
2406
2430
  warning: "exclamation-outline",
2407
2431
  error: "error-outline"
2408
- }, xi = {
2432
+ }, Ci = {
2409
2433
  success: "var(--ds-color-success)",
2410
2434
  info: "var(--ds-color-info)",
2411
2435
  warning: "var(--ds-color-warning)",
2412
2436
  error: "var(--ds-color-primary)"
2413
2437
  };
2414
- function Si({ title: e, eyebrow: t, children: n, status: r = "success", iconName: i, iconSize: o = 44, dismissible: s = !0, showCloseButton: c = !0, closeButtonLabel: l = "Close overlay message", primaryButtonLabel: u, secondaryButtonLabel: d, loadingPrimary: m = !1, loadingSecondary: h = !1, maxWidth: g = 400, standalone: _ = !1, onClose: v, onPrimaryClick: y, onSecondaryClick: b, "data-testid": x }) {
2415
- let S = a(), C = a(), w = i ?? bi[r], T = xi[r], E = !!n, D = !!u || !!d;
2438
+ function wi({ title: e, eyebrow: t, children: n, status: r = "success", iconName: i, iconSize: o = 44, dismissible: s = !0, showCloseButton: c = !0, closeButtonLabel: l = "Close overlay message", primaryButtonLabel: u, secondaryButtonLabel: d, loadingPrimary: m = !1, loadingSecondary: h = !1, maxWidth: g = 400, standalone: _ = !1, onClose: v, onPrimaryClick: y, onSecondaryClick: b, "data-testid": x }) {
2439
+ let S = a(), C = a(), w = i ?? Si[r], T = Ci[r], E = !!n, D = !!u || !!d;
2416
2440
  return /* @__PURE__ */ p("div", {
2417
2441
  className: J.overlayMessage,
2418
2442
  "data-status": r,
@@ -2450,7 +2474,7 @@ function Si({ title: e, eyebrow: t, children: n, status: r = "success", iconName
2450
2474
  children: e
2451
2475
  })]
2452
2476
  }),
2453
- s && c && /* @__PURE__ */ f(dr, {
2477
+ s && c && /* @__PURE__ */ f(pr, {
2454
2478
  className: J.closeBtn,
2455
2479
  label: l,
2456
2480
  onClick: v,
@@ -2465,13 +2489,13 @@ function Si({ title: e, eyebrow: t, children: n, status: r = "success", iconName
2465
2489
  }),
2466
2490
  D && /* @__PURE__ */ p("footer", {
2467
2491
  className: J.actions,
2468
- children: [d && /* @__PURE__ */ f(An, {
2492
+ children: [d && /* @__PURE__ */ f(jn, {
2469
2493
  variant: "outline",
2470
2494
  fullWidth: !0,
2471
2495
  loading: h,
2472
2496
  onClick: b,
2473
2497
  children: d
2474
- }), u && /* @__PURE__ */ f(An, {
2498
+ }), u && /* @__PURE__ */ f(jn, {
2475
2499
  variant: "primary",
2476
2500
  fullWidth: !0,
2477
2501
  loading: m,
@@ -2482,14 +2506,14 @@ function Si({ title: e, eyebrow: t, children: n, status: r = "success", iconName
2482
2506
  ]
2483
2507
  });
2484
2508
  }
2485
- function Ci({ 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": l, standalone: u = !1, "data-testid": d, ...p }) {
2486
- return e ? u ? /* @__PURE__ */ f(Si, {
2509
+ 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": l, standalone: u = !1, "data-testid": d, ...p }) {
2510
+ return e ? u ? /* @__PURE__ */ f(wi, {
2487
2511
  ...p,
2488
2512
  standalone: !0,
2489
2513
  dismissible: n,
2490
2514
  onClose: t,
2491
2515
  "data-testid": d
2492
- }) : /* @__PURE__ */ f(yi, {
2516
+ }) : /* @__PURE__ */ f(xi, {
2493
2517
  visible: e,
2494
2518
  onClose: t,
2495
2519
  dismissible: n,
@@ -2500,7 +2524,7 @@ function Ci({ visible: e = !1, onClose: t, dismissible: n = !0, closeOnBackdrop:
2500
2524
  blur: s,
2501
2525
  placement: c,
2502
2526
  "aria-label": l,
2503
- children: /* @__PURE__ */ f(Si, {
2527
+ children: /* @__PURE__ */ f(wi, {
2504
2528
  ...p,
2505
2529
  dismissible: n,
2506
2530
  onClose: t,
@@ -2508,15 +2532,15 @@ function Ci({ visible: e = !1, onClose: t, dismissible: n = !0, closeOnBackdrop:
2508
2532
  })
2509
2533
  }) : null;
2510
2534
  }
2511
- var wi = { canvas: "_canvas_3p2sn_7" }, Ti = "#version 300 es\nin vec2 a_pos;\nvoid main() { gl_Position = vec4(a_pos, 0.0, 1.0); }", Ei = "#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}";
2512
- function Di(e) {
2535
+ var Ei = { canvas: "_canvas_3p2sn_7" }, Di = "#version 300 es\nin vec2 a_pos;\nvoid main() { gl_Position = vec4(a_pos, 0.0, 1.0); }", Oi = "#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}";
2536
+ function ki(e) {
2513
2537
  let t = (t, n) => {
2514
2538
  let r = e.createShader(t);
2515
2539
  return e.shaderSource(r, n), e.compileShader(r), r;
2516
2540
  }, n = e.createProgram();
2517
- return e.attachShader(n, t(e.VERTEX_SHADER, Ti)), e.attachShader(n, t(e.FRAGMENT_SHADER, Ei)), e.linkProgram(n), n;
2541
+ return e.attachShader(n, t(e.VERTEX_SHADER, Di)), e.attachShader(n, t(e.FRAGMENT_SHADER, Oi)), e.linkProgram(n), n;
2518
2542
  }
2519
- function Oi({ active: e }) {
2543
+ function Ai({ active: e }) {
2520
2544
  let t = l(null);
2521
2545
  return i(() => {
2522
2546
  if (!e || !t.current || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
@@ -2527,7 +2551,7 @@ function Oi({ active: e }) {
2527
2551
  if (!r) return;
2528
2552
  let i = () => {
2529
2553
  n.width = window.innerWidth, n.height = window.innerHeight, r.viewport(0, 0, n.width, n.height), r.uniform2f(l, n.width, n.height);
2530
- }, a = Di(r);
2554
+ }, a = ki(r);
2531
2555
  r.useProgram(a);
2532
2556
  let o = r.createBuffer();
2533
2557
  r.bindBuffer(r.ARRAY_BUFFER, o), r.bufferData(r.ARRAY_BUFFER, new Float32Array([
@@ -2556,11 +2580,11 @@ function Oi({ active: e }) {
2556
2580
  };
2557
2581
  }, [e]), /* @__PURE__ */ f("canvas", {
2558
2582
  ref: t,
2559
- className: wi.canvas,
2583
+ className: Ei.canvas,
2560
2584
  "aria-hidden": "true"
2561
2585
  });
2562
2586
  }
2563
- var ki = {
2587
+ var ji = {
2564
2588
  overlay: "_overlay_1h8qm_3",
2565
2589
  logoLayer: "_logoLayer_1h8qm_58",
2566
2590
  srOnly: "_srOnly_1h8qm_103"
@@ -2577,7 +2601,7 @@ var ki = {
2577
2601
  };
2578
2602
  //#endregion
2579
2603
  //#region src/components/PageLoadingOverlay/ToteatLogo.tsx
2580
- function Ai() {
2604
+ function Mi() {
2581
2605
  return /* @__PURE__ */ p("div", {
2582
2606
  className: Y.outer,
2583
2607
  "aria-hidden": "true",
@@ -2607,26 +2631,26 @@ function Ai() {
2607
2631
  }
2608
2632
  //#endregion
2609
2633
  //#region src/components/PageLoadingOverlay/PageLoadingOverlay.tsx
2610
- function ji({ isOpen: e, label: t = "Cargando…", "data-testid": n }) {
2634
+ function Ni({ isOpen: e, label: t = "Cargando…", "data-testid": n }) {
2611
2635
  return M(/* @__PURE__ */ p(d, { children: [
2612
2636
  /* @__PURE__ */ f("div", {
2613
- className: ki.overlay,
2637
+ className: ji.overlay,
2614
2638
  "data-open": e,
2615
2639
  role: "status",
2616
2640
  "aria-live": "polite",
2617
2641
  "aria-busy": e,
2618
2642
  "aria-label": t,
2619
2643
  "data-testid": n,
2620
- children: /* @__PURE__ */ f(Oi, { active: e })
2644
+ children: /* @__PURE__ */ f(Ai, { active: e })
2621
2645
  }),
2622
2646
  /* @__PURE__ */ f("div", {
2623
- className: `${ki.logoLayer} tot-ds-root`,
2647
+ className: `${ji.logoLayer} tot-ds-root`,
2624
2648
  "data-open": e,
2625
2649
  "aria-hidden": "true",
2626
- children: /* @__PURE__ */ f(Ai, {})
2650
+ children: /* @__PURE__ */ f(Mi, {})
2627
2651
  }),
2628
2652
  /* @__PURE__ */ f("span", {
2629
- className: ki.srOnly,
2653
+ className: ji.srOnly,
2630
2654
  "aria-live": "polite",
2631
2655
  "aria-atomic": "true",
2632
2656
  children: e ? t : ""
@@ -2635,15 +2659,15 @@ function ji({ isOpen: e, label: t = "Cargando…", "data-testid": n }) {
2635
2659
  }
2636
2660
  //#endregion
2637
2661
  //#region src/components/PermissionGate/PermissionGate.tsx
2638
- function Mi({ allowed: e, children: t, fallback: n = null }) {
2662
+ function Pi({ allowed: e, children: t, fallback: n = null }) {
2639
2663
  return /* @__PURE__ */ f(d, { children: e ? t : n });
2640
2664
  }
2641
- var Ni = { overlay: "_overlay_16mjb_2" };
2665
+ var Fi = { overlay: "_overlay_16mjb_2" };
2642
2666
  //#endregion
2643
2667
  //#region src/components/PinLockOverlay/PinLockOverlay.tsx
2644
- function Pi({ isLocked: e, children: t, "data-testid": n }) {
2668
+ function Ii({ isLocked: e, children: t, "data-testid": n }) {
2645
2669
  return e ? /* @__PURE__ */ f("div", {
2646
- className: Ni.overlay,
2670
+ className: Fi.overlay,
2647
2671
  role: "dialog",
2648
2672
  "aria-label": "Pantalla bloqueada — ingresa tu PIN",
2649
2673
  "aria-modal": "true",
@@ -2651,7 +2675,7 @@ function Pi({ isLocked: e, children: t, "data-testid": n }) {
2651
2675
  children: t
2652
2676
  }) : null;
2653
2677
  }
2654
- var Fi = {
2678
+ var Li = {
2655
2679
  tile: "_tile_gu9b4_2",
2656
2680
  image: "_image_gu9b4_45",
2657
2681
  name: "_name_gu9b4_53",
@@ -2660,13 +2684,13 @@ var Fi = {
2660
2684
  };
2661
2685
  //#endregion
2662
2686
  //#region src/components/ProductTile/ProductTile.tsx
2663
- function Ii({ product: e, onAdd: t, "data-testid": n }) {
2687
+ function Ri({ product: e, onAdd: t, "data-testid": n }) {
2664
2688
  let r;
2665
2689
  e.stockStatus === "depleted" ? r = "depleted" : e.stockStatus === "low" && (r = "low");
2666
2690
  let i = e.stockStatus === "depleted";
2667
2691
  return /* @__PURE__ */ p("button", {
2668
2692
  type: "button",
2669
- className: Fi.tile,
2693
+ className: Li.tile,
2670
2694
  "data-stock": r,
2671
2695
  onClick: () => {
2672
2696
  i || t(e);
@@ -2679,34 +2703,34 @@ function Ii({ product: e, onAdd: t, "data-testid": n }) {
2679
2703
  e.imageUrl && /* @__PURE__ */ f("img", {
2680
2704
  src: e.imageUrl,
2681
2705
  alt: "",
2682
- className: Fi.image,
2706
+ className: Li.image,
2683
2707
  "aria-hidden": "true",
2684
2708
  loading: "lazy"
2685
2709
  }),
2686
2710
  /* @__PURE__ */ f("span", {
2687
- className: Fi.name,
2711
+ className: Li.name,
2688
2712
  children: e.name
2689
2713
  }),
2690
2714
  /* @__PURE__ */ p("span", {
2691
- className: Fi.price,
2715
+ className: Li.price,
2692
2716
  children: ["$", e.price.toLocaleString("es-CL")]
2693
2717
  }),
2694
2718
  e.hasExtras && /* @__PURE__ */ f("span", {
2695
- className: Fi.badge,
2719
+ className: Li.badge,
2696
2720
  "data-type": "extras",
2697
2721
  role: "img",
2698
2722
  "aria-label": "Tiene extras",
2699
2723
  children: "+"
2700
2724
  }),
2701
2725
  e.isWeighed && /* @__PURE__ */ f("span", {
2702
- className: Fi.badge,
2726
+ className: Li.badge,
2703
2727
  "data-type": "weighed",
2704
2728
  role: "img",
2705
2729
  "aria-label": "Producto por peso",
2706
2730
  children: "kg"
2707
2731
  }),
2708
2732
  e.stockStatus === "low" && /* @__PURE__ */ f("span", {
2709
- className: Fi.badge,
2733
+ className: Li.badge,
2710
2734
  "data-type": "low-stock",
2711
2735
  role: "img",
2712
2736
  "aria-label": "Stock bajo",
@@ -2715,7 +2739,7 @@ function Ii({ product: e, onAdd: t, "data-testid": n }) {
2715
2739
  ]
2716
2740
  });
2717
2741
  }
2718
- var Li = n(Ii), Ri = {
2742
+ var zi = n(Ri), Bi = {
2719
2743
  wrapper: "_wrapper_lqgoi_2",
2720
2744
  input: "_input_lqgoi_9",
2721
2745
  circle: "_circle_lqgoi_27",
@@ -2723,10 +2747,10 @@ var Li = n(Ii), Ri = {
2723
2747
  };
2724
2748
  //#endregion
2725
2749
  //#region src/components/Radio/Radio.tsx
2726
- function zi({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
2750
+ function Vi({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
2727
2751
  let o = n ?? `radio-${a.value}`;
2728
2752
  return /* @__PURE__ */ p("label", {
2729
- className: [Ri.wrapper, t].filter(Boolean).join(" "),
2753
+ className: [Bi.wrapper, t].filter(Boolean).join(" "),
2730
2754
  htmlFor: o,
2731
2755
  "data-testid": i,
2732
2756
  children: [
@@ -2734,28 +2758,28 @@ function zi({ label: e, className: t, id: n, ref: r, "data-testid": i, ...a }) {
2734
2758
  ref: r,
2735
2759
  type: "radio",
2736
2760
  id: o,
2737
- className: Ri.input,
2761
+ className: Bi.input,
2738
2762
  ...a
2739
2763
  }),
2740
2764
  /* @__PURE__ */ f("span", {
2741
- className: Ri.circle,
2765
+ className: Bi.circle,
2742
2766
  "aria-hidden": "true"
2743
2767
  }),
2744
2768
  e && /* @__PURE__ */ f("span", {
2745
- className: Ri.label,
2769
+ className: Bi.label,
2746
2770
  children: e
2747
2771
  })
2748
2772
  ]
2749
2773
  });
2750
2774
  }
2751
- var Bi = {
2775
+ var Hi = {
2752
2776
  root: "_root_r7xgo_2",
2753
2777
  input: "_input_r7xgo_9",
2754
2778
  clear: "_clear_r7xgo_55"
2755
2779
  };
2756
2780
  //#endregion
2757
2781
  //#region src/components/SearchInput/SearchInput.tsx
2758
- function Vi({ onSearch: e, onClear: t, debounceMs: n = 300, size: r = "md", clearLabel: a = "Limpiar búsqueda", className: o, value: s, defaultValue: c, onChange: d, disabled: m, "data-testid": h, ...g }) {
2782
+ function Ui({ onSearch: e, onClear: t, debounceMs: n = 300, size: r = "md", clearLabel: a = "Limpiar búsqueda", className: o, value: s, defaultValue: c, onChange: d, disabled: m, "data-testid": h, ...g }) {
2759
2783
  let _ = s !== void 0, [v, y] = u(() => (c ?? "").toString()), b = _ ? String(s) : v, x = l(null), S = l(null);
2760
2784
  i(() => () => {
2761
2785
  S.current !== null && clearTimeout(S.current);
@@ -2771,20 +2795,20 @@ function Vi({ onSearch: e, onClear: t, debounceMs: n = 300, size: r = "md", clea
2771
2795
  _ || y(""), C(""), t?.(), x.current?.focus();
2772
2796
  }, E = b.length > 0;
2773
2797
  return /* @__PURE__ */ p("div", {
2774
- className: R(Bi.root, o),
2798
+ className: R(Hi.root, o),
2775
2799
  "data-size": r,
2776
2800
  "data-testid": h,
2777
2801
  children: [/* @__PURE__ */ f("input", {
2778
2802
  ...g,
2779
2803
  ref: x,
2780
2804
  type: "search",
2781
- className: Bi.input,
2805
+ className: Hi.input,
2782
2806
  value: b,
2783
2807
  onChange: w,
2784
2808
  disabled: m
2785
2809
  }), E && !m && /* @__PURE__ */ f("button", {
2786
2810
  type: "button",
2787
- className: Bi.clear,
2811
+ className: Hi.clear,
2788
2812
  onClick: T,
2789
2813
  "aria-label": a,
2790
2814
  children: /* @__PURE__ */ f(L, {
@@ -2795,7 +2819,7 @@ function Vi({ onSearch: e, onClear: t, debounceMs: n = 300, size: r = "md", clea
2795
2819
  })]
2796
2820
  });
2797
2821
  }
2798
- var Hi = {
2822
+ var Wi = {
2799
2823
  root: "_root_1nkx3_2",
2800
2824
  content: "_content_1nkx3_9",
2801
2825
  iconWrap: "_iconWrap_1nkx3_16",
@@ -2806,15 +2830,15 @@ var Hi = {
2806
2830
  };
2807
2831
  //#endregion
2808
2832
  //#region src/components/SectionHeader/SectionHeader.tsx
2809
- function Ui({ title: e, description: t, icon: n, iconSize: r = 32, headingLevel: i = 2, actions: a, className: o, "data-testid": s }) {
2833
+ function Gi({ title: e, description: t, icon: n, iconSize: r = 32, headingLevel: i = 2, actions: a, className: o, "data-testid": s }) {
2810
2834
  let c = `h${i}`;
2811
2835
  return /* @__PURE__ */ p("header", {
2812
- className: [Hi.root, o].filter(Boolean).join(" "),
2836
+ className: [Wi.root, o].filter(Boolean).join(" "),
2813
2837
  "data-testid": s,
2814
2838
  children: [/* @__PURE__ */ p("div", {
2815
- className: Hi.content,
2839
+ className: Wi.content,
2816
2840
  children: [n && /* @__PURE__ */ f("span", {
2817
- className: Hi.iconWrap,
2841
+ className: Wi.iconWrap,
2818
2842
  "aria-hidden": "true",
2819
2843
  children: /* @__PURE__ */ f(L, {
2820
2844
  name: n,
@@ -2822,17 +2846,17 @@ function Ui({ title: e, description: t, icon: n, iconSize: r = 32, headingLevel:
2822
2846
  "aria-hidden": "true"
2823
2847
  })
2824
2848
  }), /* @__PURE__ */ p("div", {
2825
- className: Hi.text,
2849
+ className: Wi.text,
2826
2850
  children: [/* @__PURE__ */ f(c, {
2827
- className: Hi.title,
2851
+ className: Wi.title,
2828
2852
  children: e
2829
2853
  }), t && /* @__PURE__ */ f("p", {
2830
- className: Hi.description,
2854
+ className: Wi.description,
2831
2855
  children: t
2832
2856
  })]
2833
2857
  })]
2834
2858
  }), a && /* @__PURE__ */ f("div", {
2835
- className: Hi.actions,
2859
+ className: Wi.actions,
2836
2860
  children: a
2837
2861
  })]
2838
2862
  });
@@ -2847,29 +2871,29 @@ var X = {
2847
2871
  search: "_search_1ez7r_106",
2848
2872
  option: "_option_1ez7r_127",
2849
2873
  noResults: "_noResults_1ez7r_162"
2850
- }, Wi = 240, Gi = 4;
2851
- function Ki(e) {
2874
+ }, Ki = 240, qi = 4;
2875
+ function Ji(e) {
2852
2876
  return e?.closest("[data-theme]")?.dataset.theme;
2853
2877
  }
2854
- function qi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar...", searchable: a = !1, searchPlaceholder: o = "Buscar...", noResultsText: c = "Sin resultados", disabled: l, error: d, name: m, "data-testid": h }) {
2878
+ function Yi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar...", searchable: a = !1, searchPlaceholder: o = "Buscar...", noResultsText: c = "Sin resultados", disabled: l, error: d, name: m, "data-testid": h }) {
2855
2879
  let [g, _] = u(""), [v, y] = u({
2856
2880
  top: 0,
2857
2881
  left: 0,
2858
2882
  width: 0,
2859
2883
  upward: !1
2860
- }), [b, x] = u(void 0), { isOpen: S, containerRef: C, triggerRef: w, menuRef: T, toggle: E, close: D, closeAndFocusTrigger: O } = mr({
2884
+ }), [b, x] = u(void 0), { isOpen: S, containerRef: C, triggerRef: w, menuRef: T, toggle: E, close: D, closeAndFocusTrigger: O } = gr({
2861
2885
  disabled: l,
2862
2886
  closeOnOutsideClick: !1
2863
2887
  }), k = e.find((e) => e.value === t), A = a ? e.filter((e) => e.label.toLowerCase().includes(g.toLowerCase())) : e;
2864
2888
  return s(() => {
2865
2889
  if (!S) return;
2866
- x(Ki(w.current));
2890
+ x(Ji(w.current));
2867
2891
  let e = () => {
2868
2892
  let e = w.current;
2869
2893
  if (!e) return;
2870
- let t = e.getBoundingClientRect(), n = t.bottom + Gi, r = n + Wi > window.innerHeight && t.top - Gi - Wi > 0;
2894
+ let t = e.getBoundingClientRect(), n = t.bottom + qi, r = n + Ki > window.innerHeight && t.top - qi - Ki > 0;
2871
2895
  y({
2872
- top: r ? t.top - Gi : n,
2896
+ top: r ? t.top - qi : n,
2873
2897
  left: t.left,
2874
2898
  width: t.width,
2875
2899
  upward: r
@@ -2976,14 +3000,14 @@ function qi({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
2976
3000
  ]
2977
3001
  });
2978
3002
  }
2979
- var Ji = {
3003
+ var Xi = {
2980
3004
  item: "_item_1twlt_2",
2981
3005
  active: "_active_1twlt_33"
2982
- }, Yi = Ji.item, Xi = Ji.active;
2983
- function Zi({ label: e, isActive: t = !1, className: n, type: r = "button", ...i }) {
3006
+ }, Zi = Xi.item, Qi = Xi.active;
3007
+ function $i({ label: e, isActive: t = !1, className: n, type: r = "button", ...i }) {
2984
3008
  return /* @__PURE__ */ f("button", {
2985
3009
  type: r,
2986
- className: R(Ji.item, t && Ji.active, n),
3010
+ className: R(Xi.item, t && Xi.active, n),
2987
3011
  "data-active": t || void 0,
2988
3012
  ...i,
2989
3013
  children: e
@@ -2991,7 +3015,7 @@ function Zi({ label: e, isActive: t = !1, className: n, type: r = "button", ...i
2991
3015
  }
2992
3016
  //#endregion
2993
3017
  //#region src/hooks/useToggle.ts
2994
- function Qi(e = !1) {
3018
+ function ea(e = !1) {
2995
3019
  let [t, n] = u(e);
2996
3020
  return [
2997
3021
  t,
@@ -3011,8 +3035,8 @@ var Z = {
3011
3035
  };
3012
3036
  //#endregion
3013
3037
  //#region src/components/SidebarNavSection/SidebarNavSection.tsx
3014
- function $i({ title: e, icon: t, titleSuffix: n, defaultOpen: r = !1, open: i, onToggle: a, isActive: o = !1, className: s, children: c, "data-testid": l }) {
3015
- let [u, d] = Qi(r), m = i !== void 0, h = m ? i : u;
3038
+ function ta({ title: e, icon: t, titleSuffix: n, defaultOpen: r = !1, open: i, onToggle: a, isActive: o = !1, className: s, children: c, "data-testid": l }) {
3039
+ let [u, d] = ea(r), m = i !== void 0, h = m ? i : u;
3016
3040
  return /* @__PURE__ */ p("div", {
3017
3041
  className: R(Z.section, s),
3018
3042
  "data-testid": l,
@@ -3058,8 +3082,8 @@ function $i({ title: e, icon: t, titleSuffix: n, defaultOpen: r = !1, open: i, o
3058
3082
  }
3059
3083
  //#endregion
3060
3084
  //#region src/components/StatusBadge/StatusBadge.tsx
3061
- function ea({ status: e, labels: t, variants: n, fallbackLabel: r, fallbackVariant: i = "default", size: a, "data-testid": o }) {
3062
- return /* @__PURE__ */ f(In, {
3085
+ function na({ status: e, labels: t, variants: n, fallbackLabel: r, fallbackVariant: i = "default", size: a, "data-testid": o }) {
3086
+ return /* @__PURE__ */ f(Ln, {
3063
3087
  variant: n[e] ?? i,
3064
3088
  size: a,
3065
3089
  "data-testid": o,
@@ -3068,7 +3092,7 @@ function ea({ status: e, labels: t, variants: n, fallbackLabel: r, fallbackVaria
3068
3092
  }
3069
3093
  //#endregion
3070
3094
  //#region src/components/UserNotification/NotificationBase.tsx
3071
- function ta({ variant: e, rootClassName: t, contentClassName: n, actionClassName: r, icon: i, action: a, children: o, className: s, "data-testid": c, dismissSlot: l, ariaAtomic: u }) {
3095
+ function ra({ variant: e, rootClassName: t, contentClassName: n, actionClassName: r, icon: i, action: a, children: o, className: s, "data-testid": c, dismissSlot: l, ariaAtomic: u }) {
3072
3096
  let d = e === "error";
3073
3097
  return /* @__PURE__ */ p("div", {
3074
3098
  className: [t, s].filter(Boolean).join(" "),
@@ -3095,19 +3119,19 @@ function ta({ variant: e, rootClassName: t, contentClassName: n, actionClassName
3095
3119
  ]
3096
3120
  });
3097
3121
  }
3098
- var na = {
3122
+ var ia = {
3099
3123
  statusBanner: "_statusBanner_azeha_2",
3100
3124
  content: "_content_azeha_40",
3101
3125
  action: "_action_azeha_45"
3102
3126
  };
3103
3127
  //#endregion
3104
3128
  //#region src/components/StatusBanner/StatusBanner.tsx
3105
- function ra({ variant: e = "info", icon: t, action: n, children: r, className: i, "data-testid": a }) {
3106
- return /* @__PURE__ */ f(ta, {
3129
+ function aa({ variant: e = "info", icon: t, action: n, children: r, className: i, "data-testid": a }) {
3130
+ return /* @__PURE__ */ f(ra, {
3107
3131
  variant: e,
3108
- rootClassName: na.statusBanner,
3109
- contentClassName: na.content,
3110
- actionClassName: na.action,
3132
+ rootClassName: ia.statusBanner,
3133
+ contentClassName: ia.content,
3134
+ actionClassName: ia.action,
3111
3135
  icon: t,
3112
3136
  action: n,
3113
3137
  className: i,
@@ -3116,24 +3140,24 @@ function ra({ variant: e = "info", icon: t, action: n, children: r, className: i
3116
3140
  children: r
3117
3141
  });
3118
3142
  }
3119
- var ia = {
3143
+ var oa = {
3120
3144
  stepper: "_stepper_tofcg_2",
3121
3145
  button: "_button_tofcg_13",
3122
3146
  value: "_value_tofcg_45"
3123
3147
  };
3124
3148
  //#endregion
3125
3149
  //#region src/components/Stepper/Stepper.tsx
3126
- function aa({ value: e, onChange: t, min: n = 0, max: r, step: i = 1, disabled: a = !1, decrementLabel: o = "Decrease", incrementLabel: s = "Increase", className: c, "aria-label": l, "data-testid": u }) {
3150
+ function sa({ value: e, onChange: t, min: n = 0, max: r, step: i = 1, disabled: a = !1, decrementLabel: o = "Decrease", incrementLabel: s = "Increase", className: c, "aria-label": l, "data-testid": u }) {
3127
3151
  let d = Number.isFinite(i) && i > 0 ? i : 1, m = Number.isFinite(n) ? n : 0, h = r !== void 0 && Number.isFinite(r) ? r : void 0, g = Number.isFinite(e) ? e : m, _ = g <= m, v = h !== void 0 && g >= h;
3128
3152
  return /* @__PURE__ */ p("div", {
3129
- className: R(ia.stepper, c),
3153
+ className: R(oa.stepper, c),
3130
3154
  role: "group",
3131
3155
  "aria-label": l,
3132
3156
  "data-testid": u,
3133
3157
  children: [
3134
3158
  /* @__PURE__ */ f("button", {
3135
3159
  type: "button",
3136
- className: ia.button,
3160
+ className: oa.button,
3137
3161
  onClick: () => {
3138
3162
  let e = Math.max(m, g - d);
3139
3163
  e !== g && t(e);
@@ -3146,13 +3170,13 @@ function aa({ value: e, onChange: t, min: n = 0, max: r, step: i = 1, disabled:
3146
3170
  })
3147
3171
  }),
3148
3172
  /* @__PURE__ */ f("output", {
3149
- className: ia.value,
3173
+ className: oa.value,
3150
3174
  "aria-live": "polite",
3151
3175
  children: g
3152
3176
  }),
3153
3177
  /* @__PURE__ */ f("button", {
3154
3178
  type: "button",
3155
- className: ia.button,
3179
+ className: oa.button,
3156
3180
  onClick: () => {
3157
3181
  let e = h === void 0 ? g + d : Math.min(h, g + d);
3158
3182
  e !== g && t(e);
@@ -3167,13 +3191,13 @@ function aa({ value: e, onChange: t, min: n = 0, max: r, step: i = 1, disabled:
3167
3191
  ]
3168
3192
  });
3169
3193
  }
3170
- var oa = {
3194
+ var ca = {
3171
3195
  tab: "_tab_1g43g_3",
3172
3196
  group: "_group_1g43g_20"
3173
3197
  };
3174
3198
  //#endregion
3175
3199
  //#region src/components/Tab/Tab.tsx
3176
- function sa({ tabs: e, label: t, selectedTab: n, size: r = "medium", fullWidth: i = !0, selectedColor: a = "secondary", onChange: o, onTabClick: s, className: c, "data-testid": d }) {
3200
+ function la({ tabs: e, label: t, selectedTab: n, size: r = "medium", fullWidth: i = !0, selectedColor: a = "secondary", onChange: o, onTabClick: s, className: c, "data-testid": d }) {
3177
3201
  let [p, m] = u(() => e[0]?.value), h = n !== void 0, g = h ? n : p, _ = l(h);
3178
3202
  process.env.NODE_ENV !== "production" && _.current !== h && console.error("Tab: `selectedTab` prop changed from %s to %s. A component cannot switch between controlled and uncontrolled modes.", _.current ? "controlled" : "uncontrolled", h ? "controlled" : "uncontrolled");
3179
3203
  let v = e.map((e) => ({
@@ -3184,13 +3208,13 @@ function sa({ tabs: e, label: t, selectedTab: n, size: r = "medium", fullWidth:
3184
3208
  "data-testid": e["data-testid"]
3185
3209
  }));
3186
3210
  return /* @__PURE__ */ f("div", {
3187
- className: [oa.tab, c].filter(Boolean).join(" "),
3211
+ className: [ca.tab, c].filter(Boolean).join(" "),
3188
3212
  "data-size": r,
3189
3213
  "data-full-width": i ? "" : void 0,
3190
3214
  "data-selected-color": a,
3191
3215
  "data-testid": d,
3192
- children: /* @__PURE__ */ f(qr, {
3193
- className: oa.group,
3216
+ children: /* @__PURE__ */ f(Yr, {
3217
+ className: ca.group,
3194
3218
  label: t,
3195
3219
  options: v,
3196
3220
  selectedButton: g,
@@ -3207,19 +3231,19 @@ function sa({ tabs: e, label: t, selectedTab: n, size: r = "medium", fullWidth:
3207
3231
  })
3208
3232
  });
3209
3233
  }
3210
- var ca = { tabbar: "_tabbar_qy5zr_2" };
3234
+ var ua = { tabbar: "_tabbar_qy5zr_2" };
3211
3235
  //#endregion
3212
3236
  //#region src/components/TabBar/TabBar.tsx
3213
- function la({ variant: e = "default", children: t, "data-testid": n }) {
3237
+ function da({ variant: e = "default", children: t, "data-testid": n }) {
3214
3238
  return /* @__PURE__ */ f("div", {
3215
- className: ca.tabbar,
3239
+ className: ua.tabbar,
3216
3240
  role: "tablist",
3217
3241
  "data-variant": e,
3218
3242
  "data-testid": n,
3219
3243
  children: t
3220
3244
  });
3221
3245
  }
3222
- var ua = {
3246
+ var fa = {
3223
3247
  tabs: "_tabs_16jix_2",
3224
3248
  tabList: "_tabList_16jix_8",
3225
3249
  tab: "_tab_16jix_2",
@@ -3227,7 +3251,7 @@ var ua = {
3227
3251
  };
3228
3252
  //#endregion
3229
3253
  //#region src/components/Tabs/Tabs.tsx
3230
- function da({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange: a, "data-testid": o }) {
3254
+ function pa({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange: a, "data-testid": o }) {
3231
3255
  let [s, c] = u(t ?? e[0]?.id ?? ""), d = n !== void 0, m = d ? n : s, h = l(/* @__PURE__ */ new Map()), g = l(d), _ = l(!1);
3232
3256
  process.env.NODE_ENV !== "production" && g.current !== d && console.error("Tabs: `activeTab` prop changed from %s to %s. A component cannot switch between controlled and uncontrolled modes.", g.current ? "controlled" : "uncontrolled", d ? "controlled" : "uncontrolled");
3233
3257
  let v = (e) => {
@@ -3246,10 +3270,10 @@ function da({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange:
3246
3270
  block: "nearest"
3247
3271
  });
3248
3272
  }, [m]), /* @__PURE__ */ p("div", {
3249
- className: ua.tabs,
3273
+ className: fa.tabs,
3250
3274
  "data-testid": o,
3251
3275
  children: [/* @__PURE__ */ f("div", {
3252
- className: ua.tabList,
3276
+ className: fa.tabList,
3253
3277
  role: "tablist",
3254
3278
  "aria-label": r,
3255
3279
  children: e.map((e, t) => /* @__PURE__ */ f("button", {
@@ -3261,7 +3285,7 @@ function da({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange:
3261
3285
  "aria-selected": e.id === m,
3262
3286
  "aria-controls": b == null ? void 0 : `panel-${m}`,
3263
3287
  id: `tab-${e.id}`,
3264
- className: ua.tab,
3288
+ className: fa.tab,
3265
3289
  "data-active": e.id === m || void 0,
3266
3290
  disabled: e.disabled,
3267
3291
  tabIndex: e.id === m ? 0 : -1,
@@ -3273,19 +3297,19 @@ function da({ items: e, defaultTab: t, activeTab: n, "aria-label": r, onChange:
3273
3297
  role: "tabpanel",
3274
3298
  id: `panel-${m}`,
3275
3299
  "aria-labelledby": `tab-${m}`,
3276
- className: ua.panel,
3300
+ className: fa.panel,
3277
3301
  children: b
3278
3302
  })]
3279
3303
  });
3280
3304
  }
3281
- var fa = { textarea: "_textarea_1vuas_2" };
3305
+ var ma = { textarea: "_textarea_1vuas_2" };
3282
3306
  //#endregion
3283
3307
  //#region src/components/Textarea/Textarea.tsx
3284
- function pa({ error: e, className: t, rows: n = 3, ref: r, ...i }) {
3308
+ function ha({ error: e, className: t, rows: n = 3, ref: r, ...i }) {
3285
3309
  return /* @__PURE__ */ f("textarea", {
3286
3310
  ref: r,
3287
3311
  rows: n,
3288
- className: [fa.textarea, t].filter(Boolean).join(" "),
3312
+ className: [ma.textarea, t].filter(Boolean).join(" "),
3289
3313
  "data-error": e ? "" : void 0,
3290
3314
  "aria-invalid": e || void 0,
3291
3315
  ...i
@@ -3305,26 +3329,26 @@ var Q = {
3305
3329
  meta: "_meta_8nxer_224",
3306
3330
  messages: "_messages_8nxer_235",
3307
3331
  error: "_error_8nxer_273"
3308
- }, ma = {
3332
+ }, ga = {
3309
3333
  success: "success-filled-green",
3310
3334
  warning: "warning-outline",
3311
3335
  error: "error-filled-red"
3312
- }, ha = {
3336
+ }, _a = {
3313
3337
  small: 16,
3314
3338
  medium: 20,
3315
3339
  large: 24
3316
3340
  };
3317
- function ga(e, t) {
3341
+ function va(e, t) {
3318
3342
  return e === void 0 ? t ? "error" : "default" : e;
3319
3343
  }
3320
- var _a = t(function({ size: e = "medium", error: t = !1, showPasswordToggle: n = !1, label: i, required: s = !1, validationState: c, errorMessage: d, helperText: m, helperTextAlign: h = "right", prefixIcon: g, suffixIcon: _, clearable: v = !1, onClear: y, clearLabel: b = "Limpiar", showPasswordLabel: x = "Mostrar contraseña", hidePasswordLabel: S = "Ocultar contraseña", showCounter: C = !1, showValidationIcon: w = !0, fullWidth: T = !1, className: E, type: D = "text", id: O, value: k, onChange: A, disabled: j, readOnly: M, maxLength: N, "aria-label": ee, "aria-describedby": te, "data-testid": ne, ...re }, ie) {
3344
+ var ya = t(function({ size: e = "medium", error: t = !1, showPasswordToggle: n = !1, label: i, required: s = !1, validationState: c, errorMessage: d, helperText: m, helperTextAlign: h = "right", prefixIcon: g, suffixIcon: _, clearable: v = !1, onClear: y, clearLabel: b = "Limpiar", showPasswordLabel: x = "Mostrar contraseña", hidePasswordLabel: S = "Ocultar contraseña", showCounter: C = !1, showValidationIcon: w = !0, fullWidth: T = !1, className: E, type: D = "text", id: O, value: k, onChange: A, disabled: j, readOnly: M, maxLength: N, "aria-label": ee, "aria-describedby": te, "data-testid": ne, ...re }, ie) {
3321
3345
  let ae = a(), oe = O ?? ae, se = l(null);
3322
3346
  o(ie, () => se.current, []);
3323
- let [ce, P] = u(!1), le = D === "password", ue = le && ce ? "text" : D, de = ga(c, t), fe = de === "error", pe = fe ? d : void 0, F = !!pe, I = !!m && !F, me = I ? `${oe}-helper` : void 0, he = F ? `${oe}-error` : void 0, ge = [
3347
+ let [ce, P] = u(!1), le = D === "password", ue = le && ce ? "text" : D, de = va(c, t), fe = de === "error", pe = fe ? d : void 0, F = !!pe, I = !!m && !F, me = I ? `${oe}-helper` : void 0, he = F ? `${oe}-error` : void 0, ge = [
3324
3348
  te,
3325
3349
  me,
3326
3350
  he
3327
- ].filter(Boolean).join(" ") || void 0, _e = typeof k == "string" || typeof k == "number" ? `${k}`.length > 0 : !1, ve = typeof k == "string" || typeof k == "number" ? `${k}`.length : 0, ye = v && !!A && _e && !j && !M && !le, be = le && n, xe = w && de !== "default" ? ma[de] : void 0, Se = !!_ && !ye && !be, Ce = C || typeof N == "number", we = I || F || Ce, Te = ha[e], Ee = r(() => {
3351
+ ].filter(Boolean).join(" ") || void 0, _e = typeof k == "string" || typeof k == "number" ? `${k}`.length > 0 : !1, ve = typeof k == "string" || typeof k == "number" ? `${k}`.length : 0, ye = v && !!A && _e && !j && !M && !le, be = le && n, xe = w && de !== "default" ? ga[de] : void 0, Se = !!_ && !ye && !be, Ce = C || typeof N == "number", we = I || F || Ce, Te = _a[e], Ee = r(() => {
3328
3352
  if (j || M) return;
3329
3353
  let e = se.current;
3330
3354
  e && A && ((Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set)?.call(e, ""), e.dispatchEvent(new Event("input", { bubbles: !0 }))), y?.(), se.current?.focus();
@@ -3445,7 +3469,7 @@ var _a = t(function({ size: e = "medium", error: t = !1, showPasswordToggle: n =
3445
3469
  });
3446
3470
  //#endregion
3447
3471
  //#region src/components/ThemeGate/ThemeGate.tsx
3448
- function va({ theme: e, children: t, className: n, "data-testid": r }) {
3472
+ function ba({ theme: e, children: t, className: n, "data-testid": r }) {
3449
3473
  return /* @__PURE__ */ f("div", {
3450
3474
  "data-theme": e,
3451
3475
  className: n,
@@ -3453,49 +3477,49 @@ function va({ theme: e, children: t, className: n, "data-testid": r }) {
3453
3477
  children: t
3454
3478
  });
3455
3479
  }
3456
- var ya = {
3480
+ var xa = {
3457
3481
  container: "_container_7r0zk_2",
3458
3482
  toast: "_toast_7r0zk_22",
3459
3483
  "ds-toast-enter": "_ds-toast-enter_7r0zk_1",
3460
3484
  toastMessage: "_toastMessage_7r0zk_61",
3461
3485
  dismissButton: "_dismissButton_7r0zk_65"
3462
- }, ba = [], xa = /* @__PURE__ */ new Set(), Sa = 0;
3463
- function Ca() {
3464
- for (let e of xa) e([...ba]);
3486
+ }, Sa = [], Ca = /* @__PURE__ */ new Set(), wa = 0;
3487
+ function Ta() {
3488
+ for (let e of Ca) e([...Sa]);
3465
3489
  }
3466
- function wa(e) {
3467
- let t = `toast-${++Sa}-${Date.now()}`;
3468
- return ba = [...ba, {
3490
+ function Ea(e) {
3491
+ let t = `toast-${++wa}-${Date.now()}`;
3492
+ return Sa = [...Sa, {
3469
3493
  id: t,
3470
3494
  message: e.message,
3471
3495
  variant: e.variant ?? "info",
3472
3496
  duration: e.duration,
3473
3497
  dismissible: e.dismissible,
3474
3498
  "data-testid": e["data-testid"]
3475
- }], Ca(), t;
3499
+ }], Ta(), t;
3476
3500
  }
3477
- function Ta(e) {
3478
- ba = ba.filter((t) => t.id !== e), Ca();
3501
+ function Da(e) {
3502
+ Sa = Sa.filter((t) => t.id !== e), Ta();
3479
3503
  }
3480
- function Ea() {
3481
- let [e, t] = u(ba), n = l(!0);
3504
+ function Oa() {
3505
+ let [e, t] = u(Sa), n = l(!0);
3482
3506
  return i(() => {
3483
3507
  n.current = !0;
3484
3508
  let e = (e) => {
3485
3509
  n.current && t(e);
3486
3510
  };
3487
- return xa.add(e), () => {
3488
- n.current = !1, xa.delete(e);
3511
+ return Ca.add(e), () => {
3512
+ n.current = !1, Ca.delete(e);
3489
3513
  };
3490
3514
  }, []), {
3491
3515
  toasts: e,
3492
- addToast: r((e) => wa(e), []),
3493
- dismissToast: r((e) => Ta(e), [])
3516
+ addToast: r((e) => Ea(e), []),
3517
+ dismissToast: r((e) => Da(e), [])
3494
3518
  };
3495
3519
  }
3496
3520
  //#endregion
3497
3521
  //#region src/components/Toast/Toast.tsx
3498
- function Da({ toast: e, onDismiss: t, dismissLabel: n = "Cerrar notificación" }) {
3522
+ function ka({ toast: e, onDismiss: t, dismissLabel: n = "Cerrar notificación" }) {
3499
3523
  let { id: r, message: a, variant: o, duration: s = 4e3, dismissible: c = !0, "data-testid": u } = e, d = l(void 0);
3500
3524
  return i(() => (d.current = setTimeout(() => {
3501
3525
  t(r);
@@ -3506,35 +3530,35 @@ function Da({ toast: e, onDismiss: t, dismissLabel: n = "Cerrar notificación" }
3506
3530
  s,
3507
3531
  t
3508
3532
  ]), /* @__PURE__ */ p("div", {
3509
- className: ya.toast,
3533
+ className: xa.toast,
3510
3534
  "data-variant": o,
3511
3535
  role: o === "error" || o === "warning" ? "alert" : "status",
3512
3536
  "aria-atomic": "true",
3513
3537
  "data-testid": u,
3514
3538
  children: [/* @__PURE__ */ f("span", {
3515
- className: ya.toastMessage,
3539
+ className: xa.toastMessage,
3516
3540
  children: a
3517
- }), c && /* @__PURE__ */ f(dr, {
3518
- className: ya.dismissButton,
3541
+ }), c && /* @__PURE__ */ f(pr, {
3542
+ className: xa.dismissButton,
3519
3543
  onClick: () => t(r),
3520
3544
  label: n,
3521
3545
  size: 14
3522
3546
  })]
3523
3547
  });
3524
3548
  }
3525
- function Oa({ notificationsLabel: e = "Notificaciones", dismissLabel: t }) {
3526
- let { toasts: n, dismissToast: r } = Ea();
3549
+ function Aa({ notificationsLabel: e = "Notificaciones", dismissLabel: t }) {
3550
+ let { toasts: n, dismissToast: r } = Oa();
3527
3551
  return typeof document > "u" ? null : M(/* @__PURE__ */ f("section", {
3528
- className: ya.container,
3552
+ className: xa.container,
3529
3553
  "aria-label": e,
3530
- children: n.map((e) => /* @__PURE__ */ f(Da, {
3554
+ children: n.map((e) => /* @__PURE__ */ f(ka, {
3531
3555
  toast: e,
3532
3556
  onDismiss: r,
3533
3557
  dismissLabel: t
3534
3558
  }, e.id))
3535
3559
  }), document.body);
3536
3560
  }
3537
- var ka = {
3561
+ var ja = {
3538
3562
  wrapper: "_wrapper_1hq4w_2",
3539
3563
  input: "_input_1hq4w_9",
3540
3564
  track: "_track_1hq4w_29",
@@ -3543,10 +3567,10 @@ var ka = {
3543
3567
  };
3544
3568
  //#endregion
3545
3569
  //#region src/components/Toggle/Toggle.tsx
3546
- function Aa({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-testid": o, ...s }) {
3570
+ function Ma({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-testid": o, ...s }) {
3547
3571
  let c = a(), l = r ?? c;
3548
3572
  return /* @__PURE__ */ p("label", {
3549
- className: ka.wrapper,
3573
+ className: ja.wrapper,
3550
3574
  "data-size": t,
3551
3575
  htmlFor: l,
3552
3576
  "data-testid": o,
@@ -3557,55 +3581,55 @@ function Aa({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-t
3557
3581
  role: "switch",
3558
3582
  "aria-checked": s.checked ?? !1,
3559
3583
  id: l,
3560
- className: ka.input,
3584
+ className: ja.input,
3561
3585
  ...s
3562
3586
  }),
3563
3587
  /* @__PURE__ */ f("span", {
3564
- className: ka.track,
3588
+ className: ja.track,
3565
3589
  "aria-hidden": "true",
3566
- children: /* @__PURE__ */ f("span", { className: ka.thumb })
3590
+ children: /* @__PURE__ */ f("span", { className: ja.thumb })
3567
3591
  }),
3568
3592
  e && /* @__PURE__ */ f("span", {
3569
- className: ka.label,
3593
+ className: ja.label,
3570
3594
  children: e
3571
3595
  })
3572
3596
  ]
3573
3597
  });
3574
3598
  }
3575
- var ja = {
3599
+ var Na = {
3576
3600
  trigger: "_trigger_wx3tb_2",
3577
3601
  tooltip: "_tooltip_wx3tb_7"
3578
- }, Ma = 8;
3579
- function Na(e, t) {
3602
+ }, Pa = 8;
3603
+ function Fa(e, t) {
3580
3604
  switch (t) {
3581
3605
  case "top": return {
3582
- top: e.top - Ma,
3606
+ top: e.top - Pa,
3583
3607
  left: e.left + e.width / 2
3584
3608
  };
3585
3609
  case "bottom": return {
3586
- top: e.bottom + Ma,
3610
+ top: e.bottom + Pa,
3587
3611
  left: e.left + e.width / 2
3588
3612
  };
3589
3613
  case "left": return {
3590
3614
  top: e.top + e.height / 2,
3591
- left: e.left - Ma
3615
+ left: e.left - Pa
3592
3616
  };
3593
3617
  case "right": return {
3594
3618
  top: e.top + e.height / 2,
3595
- left: e.right + Ma
3619
+ left: e.right + Pa
3596
3620
  };
3597
3621
  }
3598
3622
  }
3599
- function Pa({ content: e, children: t, placement: n = "top", "data-testid": i }) {
3623
+ function Ia({ content: e, children: t, placement: n = "top", "data-testid": i }) {
3600
3624
  let [o, s] = u(!1), [c, m] = u({
3601
3625
  top: 0,
3602
3626
  left: 0
3603
3627
  }), h = l(null), g = a(), _ = r(() => {
3604
- h.current && (m(Na(h.current.getBoundingClientRect(), n)), s(!0));
3628
+ h.current && (m(Fa(h.current.getBoundingClientRect(), n)), s(!0));
3605
3629
  }, [n]), v = r(() => s(!1), []);
3606
3630
  return /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("span", {
3607
3631
  ref: h,
3608
- className: ja.trigger,
3632
+ className: Na.trigger,
3609
3633
  "aria-describedby": o ? g : void 0,
3610
3634
  onMouseEnter: _,
3611
3635
  onMouseLeave: v,
@@ -3616,7 +3640,7 @@ function Pa({ content: e, children: t, placement: n = "top", "data-testid": i })
3616
3640
  }), o && typeof document < "u" && M(/* @__PURE__ */ f("div", {
3617
3641
  id: g,
3618
3642
  role: "tooltip",
3619
- className: ja.tooltip,
3643
+ className: Na.tooltip,
3620
3644
  "data-placement": n,
3621
3645
  style: {
3622
3646
  top: c.top,
@@ -3640,29 +3664,29 @@ var $ = {
3640
3664
  };
3641
3665
  //#endregion
3642
3666
  //#region src/components/TreeItem/TreeItem.tsx
3643
- function Fa(e) {
3667
+ function La(e) {
3644
3668
  return e ? "" : void 0;
3645
3669
  }
3646
- function Ia(e) {
3670
+ function Ra(e) {
3647
3671
  return [
3648
3672
  "INPUT",
3649
3673
  "TEXTAREA",
3650
3674
  "SELECT"
3651
3675
  ].includes(e.tagName) || e.isContentEditable;
3652
3676
  }
3653
- function La(e, t, n) {
3677
+ function za(e, t, n) {
3654
3678
  return e === "ArrowRight" ? t && !n : e === "ArrowLeft" ? t && n : !1;
3655
3679
  }
3656
- function Ra(e, t, n, r, i, a, o) {
3657
- if (!(t.disabled || Ia(e.target))) {
3680
+ function Ba(e, t, n, r, i, a, o) {
3681
+ if (!(t.disabled || Ra(e.target))) {
3658
3682
  if (e.key === "Enter" || e.key === " ") {
3659
3683
  e.preventDefault(), n ? a(t.id) : i && o(t.id);
3660
3684
  return;
3661
3685
  }
3662
- La(e.key, n, r) && (e.preventDefault(), a(t.id));
3686
+ za(e.key, n, r) && (e.preventDefault(), a(t.id));
3663
3687
  }
3664
3688
  }
3665
- function za(e, t, n, r, i, a, o, s, c) {
3689
+ function Va(e, t, n, r, i, a, o, s, c) {
3666
3690
  return {
3667
3691
  handleDragStart(n) {
3668
3692
  if (!r.current) {
@@ -3706,9 +3730,9 @@ function za(e, t, n, r, i, a, o, s, c) {
3706
3730
  }
3707
3731
  };
3708
3732
  }
3709
- function Ba({ item: e, level: t, selectable: n, selected: r, prefixSlot: i, labelSlot: a, metaSlot: o, suffixSlot: s, onToggleSelect: c }) {
3733
+ function Ha({ item: e, level: t, selectable: n, selected: r, prefixSlot: i, labelSlot: a, metaSlot: o, suffixSlot: s, onToggleSelect: c }) {
3710
3734
  return /* @__PURE__ */ p(d, { children: [
3711
- n && /* @__PURE__ */ f(Yn, {
3735
+ n && /* @__PURE__ */ f(Xn, {
3712
3736
  checked: r,
3713
3737
  disabled: e.disabled,
3714
3738
  className: $.checkbox,
@@ -3732,19 +3756,19 @@ function Ba({ item: e, level: t, selectable: n, selected: r, prefixSlot: i, labe
3732
3756
  })
3733
3757
  ] });
3734
3758
  }
3735
- function Va({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggable: i = !1, selectable: a = !1, hasChildren: o = !1, indentSize: s = 24, parentId: c = null, bordered: u = !1, flatIndex: d = 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 }) {
3736
- let O = l(!1), k = (t) => Ra(t, e, o, n, a, h, g), A = za(e, c, i, O, _, v, y, b, x);
3759
+ function Ua({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggable: i = !1, selectable: a = !1, hasChildren: o = !1, indentSize: s = 24, parentId: c = null, bordered: u = !1, flatIndex: d = 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 }) {
3760
+ let O = l(!1), k = (t) => Ba(t, e, o, n, a, h, g), A = Va(e, c, i, O, _, v, y, b, x);
3737
3761
  return /* @__PURE__ */ p("div", {
3738
3762
  className: $.treeItem,
3739
3763
  style: { "--tree-item-indent": `${t * s}px` },
3740
3764
  "data-level": t,
3741
- "data-expanded": Fa(n),
3742
- "data-selected": Fa(r),
3743
- "data-disabled": Fa(e.disabled),
3744
- "data-has-children": Fa(o),
3745
- "data-bordered": Fa(u),
3746
- "data-striped": Fa(m),
3747
- "data-odd-row": Fa(m && d % 2 == 1),
3765
+ "data-expanded": La(n),
3766
+ "data-selected": La(r),
3767
+ "data-disabled": La(e.disabled),
3768
+ "data-has-children": La(o),
3769
+ "data-bordered": La(u),
3770
+ "data-striped": La(m),
3771
+ "data-odd-row": La(m && d % 2 == 1),
3748
3772
  "data-testid": C,
3749
3773
  role: "treeitem",
3750
3774
  "aria-level": t + 1,
@@ -3784,7 +3808,7 @@ function Va({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggab
3784
3808
  className: $.indent,
3785
3809
  "aria-hidden": "true"
3786
3810
  }),
3787
- /* @__PURE__ */ f(Ba, {
3811
+ /* @__PURE__ */ f(Ha, {
3788
3812
  item: e,
3789
3813
  level: t,
3790
3814
  selectable: a,
@@ -3820,31 +3844,31 @@ function Va({ item: e, level: t = 0, expanded: n = !1, selected: r = !1, draggab
3820
3844
  })]
3821
3845
  });
3822
3846
  }
3823
- var Ha = { treeList: "_treeList_trryv_2" };
3847
+ var Wa = { treeList: "_treeList_trryv_2" };
3824
3848
  //#endregion
3825
3849
  //#region src/components/TreeList/TreeList.tsx
3826
- function Ua(e, t) {
3850
+ function Ga(e, t) {
3827
3851
  for (let n of e) {
3828
3852
  if (n.id === t) return n;
3829
3853
  if (n.children) {
3830
- let e = Ua(n.children, t);
3854
+ let e = Ga(n.children, t);
3831
3855
  if (e) return e;
3832
3856
  }
3833
3857
  }
3834
3858
  return null;
3835
3859
  }
3836
- function Wa(e, t) {
3860
+ function Ka(e, t) {
3837
3861
  let n = /* @__PURE__ */ new Map(), r = 0;
3838
3862
  function i(e) {
3839
3863
  for (let a of e) n.set(a.id, r++), a.children?.length && t.includes(a.id) && i(a.children);
3840
3864
  }
3841
3865
  return i(e), n;
3842
3866
  }
3843
- function Ga(e) {
3867
+ function qa(e) {
3844
3868
  let { items: t, parentId: n, level: r, expandedIds: i, selectedIds: a, flatIndexMap: o } = e;
3845
3869
  return t.map((t) => {
3846
3870
  let s = !!t.children?.length, c = i.includes(t.id);
3847
- return /* @__PURE__ */ f(Va, {
3871
+ return /* @__PURE__ */ f(Ua, {
3848
3872
  item: t,
3849
3873
  level: r,
3850
3874
  parentId: n,
@@ -3867,7 +3891,7 @@ function Ga(e) {
3867
3891
  metaSlot: e.metaSlot,
3868
3892
  prefixSlot: e.prefixSlot,
3869
3893
  suffixSlot: e.suffixSlot,
3870
- children: s && c && t.children && /* @__PURE__ */ f(Ga, {
3894
+ children: s && c && t.children && /* @__PURE__ */ f(qa, {
3871
3895
  ...e,
3872
3896
  items: t.children,
3873
3897
  parentId: t.id,
@@ -3876,14 +3900,14 @@ function Ga(e) {
3876
3900
  }, t.id);
3877
3901
  });
3878
3902
  }
3879
- function Ka({ items: e = [], draggable: t = !1, expandedIds: n, selectedIds: i, selectable: a = !1, indentSize: o = 24, bordered: s = !1, striped: d = !1, onExpandChange: p, onSelectChange: m, onReorder: h, labelSlot: g, metaSlot: _, prefixSlot: v, suffixSlot: y, "data-testid": b }) {
3903
+ function Ja({ items: e = [], draggable: t = !1, expandedIds: n, selectedIds: i, selectable: a = !1, indentSize: o = 24, bordered: s = !1, striped: d = !1, onExpandChange: p, onSelectChange: m, onReorder: h, labelSlot: g, metaSlot: _, prefixSlot: v, suffixSlot: y, "data-testid": b }) {
3880
3904
  let [x, S] = u([]), [C, w] = u([]), T = l(null), E = n ?? x, D = i ?? C, O = {
3881
3905
  items: e,
3882
3906
  parentId: null,
3883
3907
  level: 0,
3884
3908
  expandedIds: E,
3885
3909
  selectedIds: D,
3886
- flatIndexMap: c(() => Wa(e, E), [e, E]),
3910
+ flatIndexMap: c(() => Ka(e, E), [e, E]),
3887
3911
  draggable: t,
3888
3912
  selectable: a,
3889
3913
  bordered: s,
@@ -3923,7 +3947,7 @@ function Ka({ items: e = [], draggable: t = !1, expandedIds: n, selectedIds: i,
3923
3947
  if (!n || n.parentId !== t.parentId) return;
3924
3948
  let r = n.itemId, i = t.item.id;
3925
3949
  if (r === i) return;
3926
- let a = t.parentId === null ? e : Ua(e, t.parentId)?.children;
3950
+ let a = t.parentId === null ? e : Ga(e, t.parentId)?.children;
3927
3951
  if (!a) return;
3928
3952
  let o = a.findIndex((e) => e.id === r), s = a.findIndex((e) => e.id === i);
3929
3953
  o === -1 || s === -1 || h?.({
@@ -3940,14 +3964,14 @@ function Ka({ items: e = [], draggable: t = !1, expandedIds: n, selectedIds: i,
3940
3964
  suffixSlot: y
3941
3965
  };
3942
3966
  return /* @__PURE__ */ f("div", {
3943
- className: Ha.treeList,
3967
+ className: Wa.treeList,
3944
3968
  role: "tree",
3945
3969
  "data-draggable": t ? "" : void 0,
3946
3970
  "data-testid": b,
3947
- children: /* @__PURE__ */ f(Ga, { ...O })
3971
+ children: /* @__PURE__ */ f(qa, { ...O })
3948
3972
  });
3949
3973
  }
3950
- var qa = {
3974
+ var Ya = {
3951
3975
  notification: "_notification_i6esb_2",
3952
3976
  content: "_content_i6esb_40",
3953
3977
  action: "_action_i6esb_45",
@@ -3955,18 +3979,18 @@ var qa = {
3955
3979
  };
3956
3980
  //#endregion
3957
3981
  //#region src/components/UserNotification/UserNotification.tsx
3958
- function Ja({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cerrar", action: i, children: a, className: o, "data-testid": s }) {
3959
- return /* @__PURE__ */ f(ta, {
3982
+ function Xa({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cerrar", action: i, children: a, className: o, "data-testid": s }) {
3983
+ return /* @__PURE__ */ f(ra, {
3960
3984
  variant: e,
3961
- rootClassName: qa.notification,
3962
- contentClassName: qa.content,
3963
- actionClassName: qa.action,
3985
+ rootClassName: Ya.notification,
3986
+ contentClassName: Ya.content,
3987
+ actionClassName: Ya.action,
3964
3988
  icon: t,
3965
3989
  action: i,
3966
3990
  className: o,
3967
3991
  "data-testid": s,
3968
- dismissSlot: /* @__PURE__ */ f(dr, {
3969
- className: qa.dismiss,
3992
+ dismissSlot: /* @__PURE__ */ f(pr, {
3993
+ className: Ya.dismiss,
3970
3994
  onClick: n,
3971
3995
  label: r,
3972
3996
  size: 20
@@ -3974,7 +3998,7 @@ function Ja({ variant: e = "info", icon: t, onDismiss: n, dismissLabel: r = "Cer
3974
3998
  children: a
3975
3999
  });
3976
4000
  }
3977
- var Ya = {
4001
+ var Za = {
3978
4002
  header: "_header_u329l_2",
3979
4003
  titleSection: "_titleSection_u329l_12",
3980
4004
  title: "_title_u329l_12",
@@ -3982,23 +4006,23 @@ var Ya = {
3982
4006
  };
3983
4007
  //#endregion
3984
4008
  //#region src/layouts/AdminPageHeader/AdminPageHeader.tsx
3985
- function Xa({ title: e, actions: t, "data-testid": n }) {
4009
+ function Qa({ title: e, actions: t, "data-testid": n }) {
3986
4010
  return /* @__PURE__ */ p("header", {
3987
- className: Ya.header,
4011
+ className: Za.header,
3988
4012
  "data-testid": n,
3989
4013
  children: [/* @__PURE__ */ f("div", {
3990
- className: Ya.titleSection,
4014
+ className: Za.titleSection,
3991
4015
  children: /* @__PURE__ */ f("span", {
3992
- className: Ya.title,
4016
+ className: Za.title,
3993
4017
  children: e
3994
4018
  })
3995
4019
  }), t && /* @__PURE__ */ f("div", {
3996
- className: Ya.actions,
4020
+ className: Za.actions,
3997
4021
  children: t
3998
4022
  })]
3999
4023
  });
4000
4024
  }
4001
- var Za = {
4025
+ var $a = {
4002
4026
  shell: "_shell_h247i_2",
4003
4027
  body: "_body_h247i_10",
4004
4028
  sidebarSlot: "_sidebarSlot_h247i_17",
@@ -4008,15 +4032,15 @@ var Za = {
4008
4032
  };
4009
4033
  //#endregion
4010
4034
  //#region src/layouts/AppShell/AppShell.tsx
4011
- function Qa({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, sidebar: i, children: a, tabBar: o, headerRight: s, isSidebarOpen: c = !1, sidebarMode: l = "overlay", contentPadding: u, isPinLocked: d = !1, pinLockContent: m, isLoading: h = !1, "data-testid": g }) {
4012
- return d ? /* @__PURE__ */ f(Pi, {
4035
+ function eo({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, sidebar: i, children: a, tabBar: o, headerRight: s, isSidebarOpen: c = !1, sidebarMode: l = "overlay", contentPadding: u, isPinLocked: d = !1, pinLockContent: m, isLoading: h = !1, "data-testid": g }) {
4036
+ return d ? /* @__PURE__ */ f(Ii, {
4013
4037
  isLocked: !0,
4014
4038
  children: m
4015
4039
  }) : /* @__PURE__ */ p("div", {
4016
- className: Za.shell,
4040
+ className: $a.shell,
4017
4041
  "data-sidebar-mode": l,
4018
4042
  "data-testid": g,
4019
- children: [/* @__PURE__ */ f(_i, {
4043
+ children: [/* @__PURE__ */ f(yi, {
4020
4044
  restaurantName: e,
4021
4045
  onMenuToggle: t,
4022
4046
  onLogoClick: n,
@@ -4025,83 +4049,83 @@ function Qa({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle:
4025
4049
  isLoading: h,
4026
4050
  rightSlot: s
4027
4051
  }), /* @__PURE__ */ p("div", {
4028
- className: Za.body,
4052
+ className: $a.body,
4029
4053
  children: [/* @__PURE__ */ f("div", {
4030
- className: Za.sidebarSlot,
4054
+ className: $a.sidebarSlot,
4031
4055
  children: i
4032
4056
  }), /* @__PURE__ */ p("div", {
4033
- className: Za.contentArea,
4057
+ className: $a.contentArea,
4034
4058
  children: [/* @__PURE__ */ f("main", {
4035
- className: Za.main,
4059
+ className: $a.main,
4036
4060
  style: u ? { "--ds-appshell-content-padding": u } : void 0,
4037
4061
  children: a
4038
4062
  }), o && /* @__PURE__ */ f("div", {
4039
- className: Za.tabBarSlot,
4063
+ className: $a.tabBarSlot,
4040
4064
  children: o
4041
4065
  })]
4042
4066
  })]
4043
4067
  })]
4044
4068
  });
4045
4069
  }
4046
- var $a = { divider: "_divider_1nit0_1" };
4070
+ var to = { divider: "_divider_1nit0_1" };
4047
4071
  //#endregion
4048
4072
  //#region src/layouts/Divider/Divider.tsx
4049
- function eo({ orientation: e = "horizontal", spacing: t = "md", className: n, "data-testid": r }) {
4073
+ function no({ orientation: e = "horizontal", spacing: t = "md", className: n, "data-testid": r }) {
4050
4074
  return /* @__PURE__ */ f("hr", {
4051
- className: [$a.divider, n].filter(Boolean).join(" "),
4075
+ className: [to.divider, n].filter(Boolean).join(" "),
4052
4076
  "data-orientation": e,
4053
4077
  "data-spacing": t,
4054
4078
  "aria-orientation": e,
4055
4079
  "data-testid": r
4056
4080
  });
4057
4081
  }
4058
- var to = { grid: "_grid_w5ah8_2" }, no = {
4082
+ var ro = { grid: "_grid_w5ah8_2" }, io = {
4059
4083
  xs: "var(--ds-space-1)",
4060
4084
  sm: "var(--ds-space-2)",
4061
4085
  md: "var(--ds-space-3)",
4062
4086
  lg: "var(--ds-space-4)",
4063
4087
  xl: "var(--ds-space-6)"
4064
4088
  };
4065
- function ro({ columns: e = 1, gap: t = "md", children: n, className: r, style: i, "data-testid": a }) {
4089
+ function ao({ columns: e = 1, gap: t = "md", children: n, className: r, style: i, "data-testid": a }) {
4066
4090
  let o = {
4067
4091
  "--grid-columns": typeof e == "number" ? `repeat(${e}, minmax(0, 1fr))` : e,
4068
- "--grid-gap": no[t],
4092
+ "--grid-gap": io[t],
4069
4093
  ...i
4070
4094
  };
4071
4095
  return /* @__PURE__ */ f("div", {
4072
- className: [to.grid, r].filter(Boolean).join(" "),
4096
+ className: [ro.grid, r].filter(Boolean).join(" "),
4073
4097
  style: o,
4074
4098
  "data-testid": a,
4075
4099
  children: n
4076
4100
  });
4077
4101
  }
4078
- var io = {
4102
+ var oo = {
4079
4103
  footer: "_footer_1dat1_2",
4080
4104
  dot: "_dot_1dat1_14",
4081
4105
  info: "_info_1dat1_22"
4082
4106
  };
4083
4107
  //#endregion
4084
4108
  //#region src/layouts/LoginFooter/LoginFooter.tsx
4085
- function ao({ languageSelector: e, appName: t = "Toteat©", version: n, env: r, className: i, "data-testid": a }) {
4109
+ function so({ languageSelector: e, appName: t = "Toteat©", version: n, env: r, className: i, "data-testid": a }) {
4086
4110
  return /* @__PURE__ */ p("footer", {
4087
- className: [io.footer, i].filter(Boolean).join(" "),
4111
+ className: [oo.footer, i].filter(Boolean).join(" "),
4088
4112
  "data-testid": a,
4089
4113
  children: [
4090
4114
  e,
4091
4115
  e && /* @__PURE__ */ f("span", {
4092
- className: io.dot,
4116
+ className: oo.dot,
4093
4117
  "aria-hidden": "true"
4094
4118
  }),
4095
4119
  /* @__PURE__ */ f("span", {
4096
- className: io.info,
4120
+ className: oo.info,
4097
4121
  children: t
4098
4122
  }),
4099
4123
  (n || r) && /* @__PURE__ */ f("span", {
4100
- className: io.dot,
4124
+ className: oo.dot,
4101
4125
  "aria-hidden": "true"
4102
4126
  }),
4103
4127
  (n || r) && /* @__PURE__ */ p("span", {
4104
- className: io.info,
4128
+ className: oo.info,
4105
4129
  children: [
4106
4130
  n && /* @__PURE__ */ p(d, { children: ["Ver: ", n] }),
4107
4131
  n && r && /* @__PURE__ */ f(d, { children: "\xA0\xA0" }),
@@ -4111,24 +4135,24 @@ function ao({ languageSelector: e, appName: t = "Toteat©", version: n, env: r,
4111
4135
  ]
4112
4136
  });
4113
4137
  }
4114
- var oo = {
4138
+ var co = {
4115
4139
  page: "_page_s8gdl_2",
4116
4140
  card: "_card_s8gdl_45",
4117
4141
  cardEntrance: "_cardEntrance_s8gdl_1"
4118
4142
  };
4119
4143
  //#endregion
4120
4144
  //#region src/layouts/LoginPageLayout/LoginPageLayout.tsx
4121
- function so({ children: e, "data-testid": t }) {
4145
+ function lo({ children: e, "data-testid": t }) {
4122
4146
  return /* @__PURE__ */ f("main", {
4123
- className: oo.page,
4147
+ className: co.page,
4124
4148
  "data-testid": t,
4125
4149
  children: /* @__PURE__ */ f("div", {
4126
- className: oo.card,
4150
+ className: co.card,
4127
4151
  children: e
4128
4152
  })
4129
4153
  });
4130
4154
  }
4131
- var co = {
4155
+ var uo = {
4132
4156
  root: "_root_1cmfb_2",
4133
4157
  sidebar: "_sidebar_1cmfb_20",
4134
4158
  main: "_main_1cmfb_37",
@@ -4137,22 +4161,22 @@ var co = {
4137
4161
  };
4138
4162
  //#endregion
4139
4163
  //#region src/layouts/PageLayout/PageLayout.tsx
4140
- function lo({ sidebar: e, header: t, children: n, collapsed: r = !1, className: i, "data-testid": a }) {
4164
+ function fo({ sidebar: e, header: t, children: n, collapsed: r = !1, className: i, "data-testid": a }) {
4141
4165
  return /* @__PURE__ */ p("div", {
4142
- className: [co.root, i].filter(Boolean).join(" "),
4166
+ className: [uo.root, i].filter(Boolean).join(" "),
4143
4167
  "data-sidebar-collapsed": r ? "" : void 0,
4144
4168
  "data-testid": a,
4145
4169
  children: [e && /* @__PURE__ */ f("aside", {
4146
- className: co.sidebar,
4170
+ className: uo.sidebar,
4147
4171
  "aria-label": "Navegación lateral",
4148
4172
  children: e
4149
4173
  }), /* @__PURE__ */ p("div", {
4150
- className: co.main,
4174
+ className: uo.main,
4151
4175
  children: [t && /* @__PURE__ */ f("header", {
4152
- className: co.header,
4176
+ className: uo.header,
4153
4177
  children: t
4154
4178
  }), /* @__PURE__ */ f("main", {
4155
- className: co.content,
4179
+ className: uo.content,
4156
4180
  children: n
4157
4181
  })]
4158
4182
  })]
@@ -4160,36 +4184,36 @@ function lo({ sidebar: e, header: t, children: n, collapsed: r = !1, className:
4160
4184
  }
4161
4185
  //#endregion
4162
4186
  //#region src/layouts/Stack/Stack.tsx
4163
- var uo = {
4187
+ var po = {
4164
4188
  xs: "var(--ds-space-1)",
4165
4189
  sm: "var(--ds-space-2)",
4166
4190
  md: "var(--ds-space-3)",
4167
4191
  lg: "var(--ds-space-4)",
4168
4192
  xl: "var(--ds-space-6)",
4169
4193
  "2xl": "var(--ds-space-8)"
4170
- }, fo = {
4194
+ }, mo = {
4171
4195
  start: "flex-start",
4172
4196
  center: "center",
4173
4197
  end: "flex-end",
4174
4198
  between: "space-between",
4175
4199
  around: "space-around",
4176
4200
  evenly: "space-evenly"
4177
- }, po = {
4201
+ }, ho = {
4178
4202
  start: "flex-start",
4179
4203
  center: "center",
4180
4204
  end: "flex-end",
4181
4205
  stretch: "stretch",
4182
4206
  baseline: "baseline"
4183
4207
  };
4184
- function mo({ as: e, direction: t = "vertical", gap: n = "md", align: r, justify: i, wrap: a = !1, children: o, className: s, style: c, ...l }) {
4208
+ function go({ as: e, direction: t = "vertical", gap: n = "md", align: r, justify: i, wrap: a = !1, children: o, className: s, style: c, ...l }) {
4185
4209
  return /* @__PURE__ */ f(e ?? "div", {
4186
4210
  className: s,
4187
4211
  style: {
4188
4212
  display: "flex",
4189
4213
  flexDirection: t === "vertical" ? "column" : "row",
4190
- gap: uo[n],
4191
- alignItems: r ? po[r] : void 0,
4192
- justifyContent: i ? fo[i] : void 0,
4214
+ gap: po[n],
4215
+ alignItems: r ? ho[r] : void 0,
4216
+ justifyContent: i ? mo[i] : void 0,
4193
4217
  flexWrap: a ? "wrap" : void 0,
4194
4218
  ...c
4195
4219
  },
@@ -4199,15 +4223,15 @@ function mo({ as: e, direction: t = "vertical", gap: n = "md", align: r, justify
4199
4223
  }
4200
4224
  //#endregion
4201
4225
  //#region src/utils/csv.ts
4202
- function ho(e) {
4226
+ function _o(e) {
4203
4227
  if (e == null || typeof e == "number" && !Number.isFinite(e)) return "";
4204
4228
  let t = String(e);
4205
4229
  return /[",\r\n]/.test(t) ? `"${t.replace(/"/g, "\"\"")}"` : t;
4206
4230
  }
4207
- function go(e) {
4208
- return e.map((e) => e.map(ho).join(",")).join("\r\n");
4231
+ function vo(e) {
4232
+ return e.map((e) => e.map(_o).join(",")).join("\r\n");
4209
4233
  }
4210
4234
  //#endregion
4211
- export { En as Accordion, Xa as AdminPageHeader, Qa as AppShell, Mn as AppleSignInButton, Kn as AreaChart, Pn as BackgroundWrapper, In as Badge, Rn as Banner, Gn as BarChart, Bn as Breadcrumb, An as Button, Hn as Card, Yn as Checkbox, Zn as ComingSoon, $n as ConfigRow, rr as DataTable, ar as DatePicker, or as DateRangePicker, pr as Dialog, eo as Divider, Fr as DropZone, br as DropdownButton, Sr as DropdownMenu, Ir as DsProvider, Rr as EmptyState, zr as ErrorBoundary, Br as ExtrasDialog, Hr as FormField, Wr as GoogleSignInButton, ro as Grid, qr as GroupedButtons, Yr as Header, L as Icon, kr as ImagePreview, qn as KpiCard, Xr as LanguageSelector, Wn as LineChart, ao as LoginFooter, so as LoginPageLayout, ci as LogoToteat, ui as Multiselect, _i as NavBar, yi as Overlay, Ci as OverlayMessage, lo as PageLayout, ji as PageLoadingOverlay, Mi as PermissionGate, Pi as PinLockOverlay, Li as ProductTile, zi as Radio, Vi as SearchInput, Ui as SectionHeader, qi as Select, gi as Sidebar, Zi as SidebarNavItem, $i as SidebarNavSection, Tr as Skeleton, On as Spinner, mo as Stack, ea as StatusBadge, ra as StatusBanner, aa as Stepper, sa as Tab, la as TabBar, da as Tabs, _a as TextInput, pa as Textarea, va as ThemeGate, Oa as ToastContainer, Aa as Toggle, Pa as Tooltip, Va as TreeItem, Ka as TreeList, Ja as UserNotification, R as cn, ho as escapeCell, hr as portal, go as rowsToCsv, Xi as sidebarNavItemActiveClass, Yi as sidebarNavItemClass, lr as useFocusTrap, Ea as useToast };
4235
+ export { En as Accordion, Qa as AdminPageHeader, eo as AppShell, Nn as AppleSignInButton, qn as AreaChart, Fn as BackgroundWrapper, Ln as Badge, zn as Banner, Kn as BarChart, Vn as Breadcrumb, jn as Button, Un as Card, Xn as Checkbox, Qn as ComingSoon, er as ConfigRow, ar as DataTable, sr as DatePicker, cr as DateRangePicker, hr as Dialog, no as Divider, Lr as DropZone, Sr as DropdownButton, wr as DropdownMenu, Rr as DsProvider, Br as EmptyState, Vr as ErrorBoundary, Hr as ExtrasDialog, Wr as FormField, Kr as GoogleSignInButton, ao as Grid, Yr as GroupedButtons, Zr as Header, L as Icon, jr as ImagePreview, Jn as KpiCard, Qr as LanguageSelector, Gn as LineChart, so as LoginFooter, lo as LoginPageLayout, ui as LogoToteat, fi as Multiselect, yi as NavBar, xi as Overlay, Ti as OverlayMessage, fo as PageLayout, Ni as PageLoadingOverlay, Pi as PermissionGate, Ii as PinLockOverlay, zi as ProductTile, Vi as Radio, Ui as SearchInput, Gi as SectionHeader, Yi as Select, vi as Sidebar, $i as SidebarNavItem, ta as SidebarNavSection, Dr as Skeleton, On as Spinner, go as Stack, na as StatusBadge, aa as StatusBanner, sa as Stepper, la as Tab, da as TabBar, pa as Tabs, ya as TextInput, ha as Textarea, ba as ThemeGate, Aa as ToastContainer, Ma as Toggle, Ia as Tooltip, Ua as TreeItem, Ja as TreeList, Xa as UserNotification, R as cn, _o as escapeCell, _r as portal, vo as rowsToCsv, Qi as sidebarNavItemActiveClass, Zi as sidebarNavItemClass, dr as useFocusTrap, Oa as useToast };
4212
4236
 
4213
4237
  //# sourceMappingURL=index.es.js.map