oraculo-ui 0.1.136 → 0.1.137

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
@@ -2,17 +2,17 @@ import { jsx as t, jsxs as b, Fragment as pe } from "react/jsx-runtime";
2
2
  import { Link as rt, Box as Q, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Oe, Container as Et } from "@mui/material";
3
3
  import fe, { useState as Z, useEffect as ee, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ee, createContext as $t, useContext as Nt, useMemo as ie, useLayoutEffect as Mt } from "react";
4
4
  import j from "@mui/material/Skeleton";
5
- import { Splide as At, SplideSlide as Bt } from "@splidejs/react-splide";
6
- import F from "@mui/material/Box";
5
+ import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
6
+ import q from "@mui/material/Box";
7
7
  import ue from "@mui/material/Typography";
8
8
  import H from "@mui/material/Stack";
9
9
  import { useCaptureInteraction as ae } from "@olimpo/capture-client";
10
- import { ChevronLeftRounded as Be, ChevronRightRounded as ze } from "@mui/icons-material";
10
+ import { ChevronLeftRounded as Ae, ChevronRightRounded as ze } from "@mui/icons-material";
11
11
  import xe from "@mui/material/useMediaQuery";
12
12
  import lt from "@mui/icons-material/ChevronLeftRounded";
13
13
  import ct from "@mui/icons-material/ChevronRightRounded";
14
- import { useTheme as zt, createTheme as Rt, ThemeProvider as Lt } from "@mui/material/styles";
15
- import Pt from "@mui/material/CssBaseline";
14
+ import { useTheme as zt, createTheme as Rt, ThemeProvider as Pt } from "@mui/material/styles";
15
+ import Lt from "@mui/material/CssBaseline";
16
16
  import { onSnapshot as Ft, doc as qt } from "firebase/firestore";
17
17
  function X({
18
18
  children: e,
@@ -32,7 +32,7 @@ function X({
32
32
  rightIcon: m,
33
33
  iconOnly: _
34
34
  }) {
35
- const S = !!e && e !== !0, I = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : I && !S, T = [
35
+ const I = !!e && e !== !0, C = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : C && !I, k = [
36
36
  "orc-btn",
37
37
  c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
38
  f ? `orc-btn--${f}` : "",
@@ -40,11 +40,11 @@ function X({
40
40
  u ? "orc-btn--fullHeight" : "",
41
41
  D ? "orc-btn--iconOnly" : "",
42
42
  p
43
- ].filter(Boolean).join(" "), N = /* @__PURE__ */ b(pe, { children: [
43
+ ].filter(Boolean).join(" "), M = /* @__PURE__ */ b(pe, { children: [
44
44
  g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
45
45
  !D && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
46
  m && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: m })
47
- ] }), E = s ? !0 : void 0;
47
+ ] }), T = s ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
49
  rt,
50
50
  {
@@ -52,21 +52,21 @@ function X({
52
52
  target: o,
53
53
  rel: i,
54
54
  "aria-label": d,
55
- "aria-disabled": E,
56
- tabIndex: E ? -1 : void 0,
57
- className: T,
58
- onClick: E ? (M) => M.preventDefault() : a,
59
- children: N
55
+ "aria-disabled": T,
56
+ tabIndex: T ? -1 : void 0,
57
+ className: k,
58
+ onClick: T ? (A) => A.preventDefault() : a,
59
+ children: M
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
63
63
  {
64
64
  type: r,
65
65
  onClick: a,
66
- disabled: !!E,
66
+ disabled: !!T,
67
67
  "aria-label": d,
68
- className: T,
69
- children: N
68
+ className: k,
69
+ children: M
70
70
  }
71
71
  );
72
72
  }
@@ -178,7 +178,7 @@ function Ze({ src: e, alt: a }) {
178
178
  }
179
179
  );
180
180
  }
181
- const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Le = {
181
+ const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Pe = {
182
182
  contenedor: Dt,
183
183
  flexGroup: Ut,
184
184
  subtitle: Vt
@@ -187,7 +187,7 @@ function Wt({ title: e, subtitle: a }) {
187
187
  return /* @__PURE__ */ b(
188
188
  "div",
189
189
  {
190
- className: Le.contenedor,
190
+ className: Pe.contenedor,
191
191
  children: [
192
192
  /* @__PURE__ */ t(
193
193
  "span",
@@ -203,14 +203,14 @@ function Wt({ title: e, subtitle: a }) {
203
203
  a && /* @__PURE__ */ b(
204
204
  "div",
205
205
  {
206
- className: Le.flexGroup,
206
+ className: Pe.flexGroup,
207
207
  children: [
208
208
  /* @__PURE__ */ b("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
209
209
  " ",
210
210
  /* @__PURE__ */ t("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
211
211
  " "
212
212
  ] }),
213
- /* @__PURE__ */ t("span", { className: Le.subtitle, children: a }),
213
+ /* @__PURE__ */ t("span", { className: Pe.subtitle, children: a }),
214
214
  /* @__PURE__ */ t("div", {})
215
215
  ]
216
216
  }
@@ -409,7 +409,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
409
409
  right: ha,
410
410
  left: ba,
411
411
  svg: va
412
- }, _a = At, ya = Bt, he = Tt(
412
+ }, _a = Bt, ya = At, he = Tt(
413
413
  ({
414
414
  items: e = [],
415
415
  renderItem: a,
@@ -423,81 +423,81 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
423
423
  enableHorizontalWheel: h = !0,
424
424
  showRightGradient: u = !1
425
425
  }, p) => {
426
- const d = V(null), g = V(null), m = V(e.length), _ = V(null), S = V(null);
426
+ const d = V(null), g = V(null), m = V(e.length), _ = V(null), I = V(null);
427
427
  fa(g, d, {
428
428
  enabled: h
429
429
  }), kt(p, () => ({
430
430
  next: () => {
431
- var E;
432
- return (E = d.current) == null ? void 0 : E.go(">");
431
+ var T;
432
+ return (T = d.current) == null ? void 0 : T.go(">");
433
433
  },
434
434
  prev: () => {
435
- var E;
436
- return (E = d.current) == null ? void 0 : E.go("<");
435
+ var T;
436
+ return (T = d.current) == null ? void 0 : T.go("<");
437
437
  },
438
- go: (E) => {
439
- var M;
440
- return (M = d.current) == null ? void 0 : M.go(E);
438
+ go: (T) => {
439
+ var A;
440
+ return (A = d.current) == null ? void 0 : A.go(T);
441
441
  }
442
442
  }));
443
- const y = (E) => {
443
+ const y = (T) => {
444
444
  var W;
445
- const M = E.Components.Slides, k = E.Components.Controller, x = E.root.querySelector(".splide__track"), O = (W = x == null ? void 0 : x.clientWidth) != null ? W : 0, L = k.getIndex(), z = M.getLength();
446
- let R = 0, U = L;
447
- for (let G = L; G < z; G++) {
448
- const C = M.getAt(G);
449
- if (!C || (R += C.slide.offsetWidth, R > O)) break;
445
+ const A = T.Components.Slides, $ = T.Components.Controller, x = T.root.querySelector(".splide__track"), O = (W = x == null ? void 0 : x.clientWidth) != null ? W : 0, P = $.getIndex(), z = A.getLength();
446
+ let R = 0, U = P;
447
+ for (let G = P; G < z; G++) {
448
+ const w = A.getAt(G);
449
+ if (!w || (R += w.slide.offsetWidth, R > O)) break;
450
450
  U = G;
451
451
  }
452
- return { visibleStart: L, visibleEnd: U };
453
- }, v = (E) => {
454
- const M = E.root.querySelector(".splide__track"), k = E.root.querySelector(".splide__list");
455
- return !M || !k ? !1 : k.scrollWidth > M.clientWidth + 1;
456
- }, I = Ee((E) => {
452
+ return { visibleStart: P, visibleEnd: U };
453
+ }, v = (T) => {
454
+ const A = T.root.querySelector(".splide__track"), $ = T.root.querySelector(".splide__list");
455
+ return !A || !$ ? !1 : $.scrollWidth > A.clientWidth + 1;
456
+ }, C = Ee((T) => {
457
457
  var U, W;
458
- const k = E.Components.Slides.getLength();
459
- if (!v(E)) {
458
+ const $ = T.Components.Slides.getLength();
459
+ if (!v(T)) {
460
460
  c == null || c({
461
461
  index: 0,
462
462
  isStart: !0,
463
463
  isEnd: !0,
464
- total: k,
464
+ total: $,
465
465
  visibleStart: 0,
466
- visibleEnd: k - 1
466
+ visibleEnd: $ - 1
467
467
  });
468
468
  return;
469
469
  }
470
- const { visibleStart: x, visibleEnd: O } = y(E), L = x === 0, z = O === k - 1;
471
- u && ((U = _.current) == null || U.style.setProperty("--gradient-opacity", L ? "0" : "1"), (W = S.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
472
- const R = E.Components.Controller.getIndex();
470
+ const { visibleStart: x, visibleEnd: O } = y(T), P = x === 0, z = O === $ - 1;
471
+ u && ((U = _.current) == null || U.style.setProperty("--gradient-opacity", P ? "0" : "1"), (W = I.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
472
+ const R = T.Components.Controller.getIndex();
473
473
  c == null || c({
474
474
  index: R,
475
- isStart: L,
475
+ isStart: P,
476
476
  isEnd: z,
477
- total: k,
477
+ total: $,
478
478
  visibleStart: x,
479
479
  visibleEnd: O
480
480
  });
481
481
  }, [c]);
482
482
  fe.useEffect(() => {
483
- var k;
484
- const E = (k = d.current) == null ? void 0 : k.splide;
485
- if (!E) return;
486
- const M = m.current !== e.length;
487
- m.current = e.length, M && requestAnimationFrame(() => {
488
- E.refresh(), I(E);
483
+ var $;
484
+ const T = ($ = d.current) == null ? void 0 : $.splide;
485
+ if (!T) return;
486
+ const A = m.current !== e.length;
487
+ m.current = e.length, A && requestAnimationFrame(() => {
488
+ T.refresh(), C(T);
489
489
  });
490
- }, [e.length, I]);
490
+ }, [e.length, C]);
491
491
  const D = Ee(() => {
492
- var M;
493
- const E = (M = d.current) == null ? void 0 : M.splide;
494
- E && (E.go(0, !1), I(E));
495
- }, [I]), T = Ee(
496
- (E) => {
497
- I(E);
492
+ var A;
493
+ const T = (A = d.current) == null ? void 0 : A.splide;
494
+ T && (T.go(0, !1), C(T));
495
+ }, [C]), k = Ee(
496
+ (T) => {
497
+ C(T);
498
498
  },
499
- [I]
500
- ), N = {
499
+ [C]
500
+ ), M = {
501
501
  type: "slide",
502
502
  trimSpace: !1,
503
503
  drag: !0,
@@ -523,13 +523,13 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
523
523
  _a,
524
524
  {
525
525
  ref: d,
526
- options: N,
527
- onMove: I,
528
- onMounted: T,
526
+ options: M,
527
+ onMove: C,
528
+ onMounted: k,
529
529
  onResize: D,
530
- children: e.map((E, M) => {
531
- var k;
532
- return /* @__PURE__ */ t(ya, { children: a(E, M) }, f ? M : (k = E.id) != null ? k : M);
530
+ children: e.map((T, A) => {
531
+ var $;
532
+ return /* @__PURE__ */ t(ya, { children: a(T, A) }, f ? A : ($ = T.id) != null ? $ : A);
533
533
  })
534
534
  }
535
535
  ),
@@ -562,7 +562,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
562
562
  /* @__PURE__ */ t(
563
563
  "div",
564
564
  {
565
- ref: S,
565
+ ref: I,
566
566
  className: `${ye.gradientOverlay} ${ye.right}`,
567
567
  style: { "--gradient-opacity": "1" },
568
568
  children: /* @__PURE__ */ b(
@@ -599,7 +599,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
599
599
  c.stopPropagation(), a == null || a();
600
600
  }, s = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
601
601
  return /* @__PURE__ */ b(
602
- F,
602
+ q,
603
603
  {
604
604
  onClick: a,
605
605
  role: "button",
@@ -641,7 +641,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
641
641
  }
642
642
  ),
643
643
  /* @__PURE__ */ t(
644
- F,
644
+ q,
645
645
  {
646
646
  className: "oraculo-game-card-overlay",
647
647
  sx: {
@@ -656,7 +656,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
656
656
  }
657
657
  ),
658
658
  /* @__PURE__ */ t(
659
- F,
659
+ q,
660
660
  {
661
661
  className: "oraculo-game-card-btn",
662
662
  sx: {
@@ -687,18 +687,18 @@ function xa({
687
687
  }
688
688
  }) {
689
689
  var p, d, g, m;
690
- const r = (_, S) => {
691
- var y, v, I, D;
690
+ const r = (_, I) => {
691
+ var y, v, C, D;
692
692
  return {
693
- xs: (v = (y = i.xs) == null ? void 0 : y[_]) != null ? v : S,
694
- md: (D = (I = i.md) == null ? void 0 : I[_]) != null ? D : S
693
+ xs: (v = (y = i.xs) == null ? void 0 : y[_]) != null ? v : I,
694
+ md: (D = (C = i.md) == null ? void 0 : C[_]) != null ? D : I
695
695
  };
696
696
  }, s = r("w", 186), c = r("h", 264), f = r("r", 22.6), h = r("font", 64), u = {
697
697
  xs: Math.round(((d = (p = i.xs) == null ? void 0 : p.font) != null ? d : 64) * 0.28),
698
698
  md: Math.round(((m = (g = i.md) == null ? void 0 : g.font) != null ? m : 64) * 0.28)
699
699
  };
700
700
  return /* @__PURE__ */ b(
701
- F,
701
+ q,
702
702
  {
703
703
  sx: {
704
704
  position: "relative",
@@ -725,7 +725,7 @@ function xa({
725
725
  },
726
726
  children: [
727
727
  /* @__PURE__ */ t(
728
- F,
728
+ q,
729
729
  {
730
730
  sx: {
731
731
  position: "absolute",
@@ -759,7 +759,7 @@ function xa({
759
759
  }
760
760
  ),
761
761
  /* @__PURE__ */ t(
762
- F,
762
+ q,
763
763
  {
764
764
  component: "span",
765
765
  sx: {
@@ -796,7 +796,7 @@ const wa = ({
796
796
  }) => {
797
797
  var r;
798
798
  return /* @__PURE__ */ b(
799
- F,
799
+ q,
800
800
  {
801
801
  onClick: i,
802
802
  sx: {
@@ -820,7 +820,7 @@ const wa = ({
820
820
  },
821
821
  children: [
822
822
  /* @__PURE__ */ t(
823
- F,
823
+ q,
824
824
  {
825
825
  component: "img",
826
826
  src: e,
@@ -836,7 +836,7 @@ const wa = ({
836
836
  }
837
837
  ),
838
838
  /* @__PURE__ */ t(
839
- F,
839
+ q,
840
840
  {
841
841
  className: "orc-live-provider-label",
842
842
  sx: {
@@ -866,7 +866,7 @@ const wa = ({
866
866
  ]
867
867
  }
868
868
  );
869
- }, Pe = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(F, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
869
+ }, Le = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(q, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
870
870
  j,
871
871
  {
872
872
  variant: "rectangular",
@@ -892,7 +892,7 @@ const wa = ({
892
892
  if (a === "mosaic") {
893
893
  const c = e[0], f = e.slice(1, 5);
894
894
  return /* @__PURE__ */ b(
895
- F,
895
+ q,
896
896
  {
897
897
  sx: {
898
898
  display: "grid",
@@ -909,14 +909,14 @@ const wa = ({
909
909
  xs: "104px",
910
910
  md: "152px"
911
911
  },
912
- columnGap: `${Pe}px`,
913
- rowGap: `${Pe}px`,
912
+ columnGap: `${Le}px`,
913
+ rowGap: `${Le}px`,
914
914
  alignItems: "stretch",
915
915
  justifyItems: "stretch"
916
916
  },
917
917
  children: [
918
918
  /* @__PURE__ */ t(
919
- F,
919
+ q,
920
920
  {
921
921
  sx: {
922
922
  width: { xs: 184, md: 280 },
@@ -939,7 +939,7 @@ const wa = ({
939
939
  (o ? Array.from({ length: 4 }) : f).map((h, u) => {
940
940
  var p, d;
941
941
  return /* @__PURE__ */ t(
942
- F,
942
+ q,
943
943
  {
944
944
  sx: {
945
945
  width: { xs: 104, md: 152 },
@@ -965,7 +965,7 @@ const wa = ({
965
965
  );
966
966
  }
967
967
  return /* @__PURE__ */ t(
968
- F,
968
+ q,
969
969
  {
970
970
  sx: {
971
971
  display: "grid",
@@ -977,13 +977,13 @@ const wa = ({
977
977
  xs: "repeat(2, 112px)",
978
978
  md: "repeat(2, 168px)"
979
979
  },
980
- gap: `${Pe}px`,
980
+ gap: `${Le}px`,
981
981
  gridAutoFlow: "column"
982
982
  },
983
983
  children: (o ? Array.from({ length: i }) : e).map((c, f) => {
984
984
  var h, u, p;
985
985
  return /* @__PURE__ */ t(
986
- F,
986
+ q,
987
987
  {
988
988
  sx: { overflow: "hidden", borderRadius: 2 },
989
989
  children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
@@ -1014,7 +1014,7 @@ const wa = ({
1014
1014
  }) => {
1015
1015
  const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", p = f === "large";
1016
1016
  return /* @__PURE__ */ b(
1017
- F,
1017
+ q,
1018
1018
  {
1019
1019
  className: c,
1020
1020
  sx: {
@@ -1028,7 +1028,7 @@ const wa = ({
1028
1028
  },
1029
1029
  children: [
1030
1030
  r && /* @__PURE__ */ t(
1031
- F,
1031
+ q,
1032
1032
  {
1033
1033
  sx: {
1034
1034
  position: "relative",
@@ -1041,7 +1041,7 @@ const wa = ({
1041
1041
  overflow: "hidden"
1042
1042
  },
1043
1043
  children: /* @__PURE__ */ t(
1044
- F,
1044
+ q,
1045
1045
  {
1046
1046
  component: "img",
1047
1047
  src: r,
@@ -1061,7 +1061,7 @@ const wa = ({
1061
1061
  }
1062
1062
  ),
1063
1063
  /* @__PURE__ */ t(
1064
- F,
1064
+ q,
1065
1065
  {
1066
1066
  sx: {
1067
1067
  position: "absolute",
@@ -1075,7 +1075,7 @@ const wa = ({
1075
1075
  pr: { xs: "14%", lg: "15%" }
1076
1076
  },
1077
1077
  children: /* @__PURE__ */ b(
1078
- F,
1078
+ q,
1079
1079
  {
1080
1080
  sx: {
1081
1081
  maxWidth: "60%",
@@ -1096,7 +1096,7 @@ const wa = ({
1096
1096
  }
1097
1097
  ),
1098
1098
  a && /* @__PURE__ */ b(
1099
- F,
1099
+ q,
1100
1100
  {
1101
1101
  component: "p",
1102
1102
  sx: {
@@ -1114,7 +1114,7 @@ const wa = ({
1114
1114
  },
1115
1115
  children: [
1116
1116
  /* @__PURE__ */ t(
1117
- F,
1117
+ q,
1118
1118
  {
1119
1119
  component: "span",
1120
1120
  sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
@@ -1122,7 +1122,7 @@ const wa = ({
1122
1122
  }
1123
1123
  ),
1124
1124
  /* @__PURE__ */ t(
1125
- F,
1125
+ q,
1126
1126
  {
1127
1127
  component: "span",
1128
1128
  sx: { fontSize: { xs: 52, md: 77 } },
@@ -1211,10 +1211,10 @@ function Ue(e, a) {
1211
1211
  const n = Array.isArray(a) ? a : [a];
1212
1212
  sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = e;
1213
1213
  }
1214
- function Aa() {
1214
+ function Ba() {
1215
1215
  window.location.href = "/deportes#in-play";
1216
1216
  }
1217
- function Ba() {
1217
+ function Aa() {
1218
1218
  window.location.href = "/deportes#sports-hub/football";
1219
1219
  }
1220
1220
  function za() {
@@ -1251,26 +1251,26 @@ function Ra({ coupon: e }) {
1251
1251
  ).values()
1252
1252
  );
1253
1253
  return d.forEach((_) => {
1254
- var I;
1255
- const S = (I = _.betoffers) != null ? I : [], y = _.homeName, v = _.awayName;
1256
- S.forEach((D) => {
1257
- var M, k, x, O, L, z, R;
1258
- if (!((M = D == null ? void 0 : D.outcomes) != null && M.length)) return;
1259
- const T = D.outcomes[0];
1260
- if (!T) return;
1261
- let N = "";
1262
- const E = T != null && T.line ? T.line / 1e3 : "";
1263
- ["Más de", "Mas de", "Over"].includes(T.label) ? (N = `Más de ${E}`, T.participant && (N = `${T.participant} - ${N}`)) : ["Menos de", "Menos", "Under"].includes(T.label) ? (N = `Menos de ${E}`, T.participant && (N = `${T.participant} - ${N}`)) : ["Sí", "No"].includes(T.label) ? (N = T.label, T.participant && (N = `${T.participant} - ${N}`)) : ["1X", "12", "X2"].includes(T.label) ? (T.label === "1X" && (N = `${y} o Empate`), T.label === "12" && (N = `${y} o ${v}`), T.label === "X2" && (N = `${v} o Empate`)) : (N = (x = (k = T.participant) != null ? k : T.label) != null ? x : "", E !== "" && N === T.label && (N = `${T.label} ${E}`)), p.push({
1264
- id: T.id,
1265
- value: N,
1266
- label: (L = (O = D.criterion) == null ? void 0 : O.label) != null ? L : "",
1267
- odds: (z = T.odds) != null ? z : 0,
1268
- position: (R = T.position) != null ? R : 0,
1254
+ var C;
1255
+ const I = (C = _.betoffers) != null ? C : [], y = _.homeName, v = _.awayName;
1256
+ I.forEach((D) => {
1257
+ var A, $, x, O, P, z, R;
1258
+ if (!((A = D == null ? void 0 : D.outcomes) != null && A.length)) return;
1259
+ const k = D.outcomes[0];
1260
+ if (!k) return;
1261
+ let M = "";
1262
+ const T = k != null && k.line ? k.line / 1e3 : "";
1263
+ ["Más de", "Mas de", "Over"].includes(k.label) ? (M = `Más de ${T}`, k.participant && (M = `${k.participant} - ${M}`)) : ["Menos de", "Menos", "Under"].includes(k.label) ? (M = `Menos de ${T}`, k.participant && (M = `${k.participant} - ${M}`)) : ["Sí", "No"].includes(k.label) ? (M = k.label, k.participant && (M = `${k.participant} - ${M}`)) : ["1X", "12", "X2"].includes(k.label) ? (k.label === "1X" && (M = `${y} o Empate`), k.label === "12" && (M = `${y} o ${v}`), k.label === "X2" && (M = `${v} o Empate`)) : (M = (x = ($ = k.participant) != null ? $ : k.label) != null ? x : "", T !== "" && M === k.label && (M = `${k.label} ${T}`)), p.push({
1264
+ id: k.id,
1265
+ value: M,
1266
+ label: (P = (O = D.criterion) == null ? void 0 : O.label) != null ? P : "",
1267
+ odds: (z = k.odds) != null ? z : 0,
1268
+ position: (R = k.position) != null ? R : 0,
1269
1269
  eventId: _.id
1270
1270
  });
1271
1271
  });
1272
1272
  }), {
1273
- outcomes: p.sort((_, S) => _.position - S.position),
1273
+ outcomes: p.sort((_, I) => _.position - I.position),
1274
1274
  total: Number((m = u == null ? void 0 : u.combinadoTotal) != null ? m : 0).toLocaleString("en-US", {
1275
1275
  minimumFractionDigits: 2,
1276
1276
  maximumFractionDigits: 2
@@ -1288,16 +1288,16 @@ function Ra({ coupon: e }) {
1288
1288
  if (p.every((m) => m.groupId === d)) {
1289
1289
  const m = p[0].path;
1290
1290
  if (Array.isArray(m) && m.length > 0)
1291
- return `/deportes#sports-hub/${m.map((S) => S.termKey).filter(Boolean).join("/")}`;
1291
+ return `/deportes#sports-hub/${m.map((I) => I.termKey).filter(Boolean).join("/")}`;
1292
1292
  }
1293
1293
  return "/deportes#home";
1294
1294
  }
1295
1295
  const r = (u, p) => {
1296
1296
  const d = Array.isArray(u) ? u : [u], g = Array.from(
1297
1297
  new Set(
1298
- s.outcomes.map((S) => {
1298
+ s.outcomes.map((I) => {
1299
1299
  var v;
1300
- const y = f.get(Number(S.eventId));
1300
+ const y = f.get(Number(I.eventId));
1301
1301
  return (v = y == null ? void 0 : y.name) != null ? v : "";
1302
1302
  })
1303
1303
  )
@@ -1399,7 +1399,7 @@ const de = {
1399
1399
  "orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
1400
1400
  "orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
1401
1401
  };
1402
- function La({
1402
+ function Pa({
1403
1403
  children: e,
1404
1404
  onClick: a,
1405
1405
  href: n,
@@ -1417,7 +1417,7 @@ function La({
1417
1417
  rightIcon: m,
1418
1418
  iconOnly: _
1419
1419
  }) {
1420
- const S = !!e && e !== !0, I = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : I && !S, T = [
1420
+ const I = !!e && e !== !0, C = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : C && !I, k = [
1421
1421
  de["orc-btn"],
1422
1422
  // base
1423
1423
  de[`orc-btn--${c}`],
@@ -1428,11 +1428,11 @@ function La({
1428
1428
  u ? de["orc-btn--fullHeight"] : "",
1429
1429
  D ? de["orc-btn--iconOnly"] : "",
1430
1430
  p
1431
- ].filter(Boolean).join(" "), N = /* @__PURE__ */ b(pe, { children: [
1431
+ ].filter(Boolean).join(" "), M = /* @__PURE__ */ b(pe, { children: [
1432
1432
  g && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: g }),
1433
1433
  !D && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1434
1434
  m && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: m })
1435
- ] }), E = s ? !0 : void 0;
1435
+ ] }), T = s ? !0 : void 0;
1436
1436
  return n ? /* @__PURE__ */ t(
1437
1437
  rt,
1438
1438
  {
@@ -1440,26 +1440,26 @@ function La({
1440
1440
  target: o,
1441
1441
  rel: i,
1442
1442
  "aria-label": d,
1443
- "aria-disabled": E,
1444
- tabIndex: E ? -1 : void 0,
1445
- className: T,
1446
- onClick: E ? (M) => M.preventDefault() : a,
1447
- children: N
1443
+ "aria-disabled": T,
1444
+ tabIndex: T ? -1 : void 0,
1445
+ className: k,
1446
+ onClick: T ? (A) => A.preventDefault() : a,
1447
+ children: M
1448
1448
  }
1449
1449
  ) : /* @__PURE__ */ t(
1450
1450
  "button",
1451
1451
  {
1452
1452
  type: r,
1453
1453
  onClick: a,
1454
- disabled: !!E,
1454
+ disabled: !!T,
1455
1455
  "aria-label": d,
1456
- className: T,
1457
- children: N
1456
+ className: k,
1457
+ children: M
1458
1458
  }
1459
1459
  );
1460
1460
  }
1461
- const Pa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", qa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1462
- cardWrapper: Pa,
1461
+ const La = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", qa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1462
+ cardWrapper: La,
1463
1463
  customButtonLabel: Fa,
1464
1464
  customButtonDisabled: qa
1465
1465
  }, Xe = {
@@ -1484,11 +1484,11 @@ const Pa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "
1484
1484
  return o || (a === "home" ? Xe : Ye);
1485
1485
  };
1486
1486
  function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1487
- var c, f, h, u, p, d, g, m, _, S, y;
1487
+ var c, f, h, u, p, d, g, m, _, I, y;
1488
1488
  const i = n == null ? void 0 : n.find(
1489
1489
  (v) => {
1490
- var I;
1491
- return ((I = v.betOfferType) == null ? void 0 : I.id) === 2;
1490
+ var C;
1491
+ return ((C = v.betOfferType) == null ? void 0 : C.id) === 2;
1492
1492
  }
1493
1493
  ), r = {
1494
1494
  englishLabel: "",
@@ -1522,10 +1522,10 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1522
1522
  ] }) })
1523
1523
  ] }),
1524
1524
  /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
- /* @__PURE__ */ t(me, { spacing: 1, children: ((S = i == null ? void 0 : i.outcomes) != null ? S : s).map((v, I) => /* @__PURE__ */ t(ut, { text: v.label.toUpperCase() }, I)) }),
1526
- /* @__PURE__ */ t(me, { spacing: 2, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : s).map((v, I) => /* @__PURE__ */ t(La, { variant: "primary", disabled: v.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1525
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((I = i == null ? void 0 : i.outcomes) != null ? I : s).map((v, C) => /* @__PURE__ */ t(ut, { text: v.label.toUpperCase() }, C)) }),
1526
+ /* @__PURE__ */ t(me, { spacing: 2, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : s).map((v, C) => /* @__PURE__ */ t(Pa, { variant: "primary", disabled: v.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
1527
  Ue("/deportes#event/live/" + e.id, v.id);
1528
- }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: v.odds === void 0 ? "" : (v.odds / 1e3).toFixed(2) }) }, I)) })
1528
+ }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: v.odds === void 0 ? "" : (v.odds / 1e3).toFixed(2) }) }, C)) })
1529
1529
  ] })
1530
1530
  ] }) });
1531
1531
  }
@@ -1545,12 +1545,12 @@ function Za({ event: e, jersey: a }) {
1545
1545
  var s, c, f, h, u, p, d;
1546
1546
  const n = ae(), o = ne();
1547
1547
  function i(g) {
1548
- const m = new Date(g), _ = m.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), S = m.getDate().toString().padStart(2, "0"), y = (m.getMonth() + 1).toString().padStart(2, "0");
1548
+ const m = new Date(g), _ = m.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), I = m.getDate().toString().padStart(2, "0"), y = (m.getMonth() + 1).toString().padStart(2, "0");
1549
1549
  let v = m.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1550
- return v = v.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${_} ${S}/${y} | ${v}`;
1550
+ return v = v.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${_} ${I}/${y} | ${v}`;
1551
1551
  }
1552
1552
  const r = (g, m) => {
1553
- const _ = `${e.homeName} vs ${e.awayName}`, S = m ? (m / 1e3).toFixed(2) : "", y = S ? `${_} - Cuota: ${S}` : _;
1553
+ const _ = `${e.homeName} vs ${e.awayName}`, I = m ? (m / 1e3).toFixed(2) : "", y = I ? `${_} - Cuota: ${I}` : _;
1554
1554
  n({
1555
1555
  element: "evento_semana_outcome",
1556
1556
  label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${y}`,
@@ -1645,8 +1645,8 @@ function Ja({
1645
1645
  promotion: String(v)
1646
1646
  }
1647
1647
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(D);
1648
- }, S = i || void 0, y = xe("(max-width:950px)");
1649
- return /* @__PURE__ */ b("section", { className: S, style: { width: "100%" }, children: [
1648
+ }, I = i || void 0, y = xe("(max-width:950px)");
1649
+ return /* @__PURE__ */ b("section", { className: I, style: { width: "100%" }, children: [
1650
1650
  /* @__PURE__ */ b(
1651
1651
  "header",
1652
1652
  {
@@ -1669,7 +1669,7 @@ function Ja({
1669
1669
  ariaLabel: "Anterior",
1670
1670
  variant: "secondary",
1671
1671
  iconOnly: !0,
1672
- leftIcon: /* @__PURE__ */ t(Be, {}),
1672
+ leftIcon: /* @__PURE__ */ t(Ae, {}),
1673
1673
  onClick: d,
1674
1674
  disabled: s.isStart || p
1675
1675
  }
@@ -1730,8 +1730,8 @@ function Ja({
1730
1730
  },
1731
1731
  `${v.title}-${v.image}`
1732
1732
  ),
1733
- onMove: ({ isStart: v, isEnd: I }) => {
1734
- c({ isStart: v, isEnd: I }), f({
1733
+ onMove: ({ isStart: v, isEnd: C }) => {
1734
+ c({ isStart: v, isEnd: C }), f({
1735
1735
  element: "destacados_carousel_slide",
1736
1736
  label: `${h} - OraculoSeccionDestacados - Slide Carousel`,
1737
1737
  target: "carousel",
@@ -1740,7 +1740,7 @@ function Ja({
1740
1740
  metadata: {
1741
1741
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
1742
1742
  isStart: v,
1743
- isEnd: I
1743
+ isEnd: C
1744
1744
  },
1745
1745
  tags: { section: "OraculoSeccionDestacados" }
1746
1746
  });
@@ -1803,7 +1803,7 @@ function Qa({
1803
1803
  return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1804
1804
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1805
1805
  /* @__PURE__ */ t(
1806
- F,
1806
+ q,
1807
1807
  {
1808
1808
  sx: {
1809
1809
  display: "grid",
@@ -1905,24 +1905,24 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1905
1905
  }
1906
1906
  const p = yt(), d = await on(p, u), g = d.map((y) => y.itemId), m = await Promise.allSettled(
1907
1907
  g.map(async (y, v) => {
1908
- const I = await fetch(`https://api.mktolimpo.com/api/machine/${y}`);
1909
- if (!I.ok)
1908
+ const C = await fetch(`https://api.mktolimpo.com/api/machine/${y}`);
1909
+ if (!C.ok)
1910
1910
  throw new Error(`No se pudo obtener machine ${y}`);
1911
- const D = await I.json();
1911
+ const D = await C.json();
1912
1912
  return tn(D, v);
1913
1913
  })
1914
1914
  );
1915
1915
  if (c) return;
1916
1916
  const _ = m.filter(
1917
1917
  (y) => y.status === "fulfilled"
1918
- ).map((y) => y.value), S = d.map((y) => {
1919
- const v = _.find((I) => I.machine === y.itemId);
1918
+ ).map((y) => y.value), I = d.map((y) => {
1919
+ const v = _.find((C) => C.machine === y.itemId);
1920
1920
  return v ? { ...v, score: y.score } : null;
1921
1921
  }).filter(Boolean).sort((y, v) => {
1922
- var I, D;
1923
- return ((I = v.score) != null ? I : 0) - ((D = y.score) != null ? D : 0);
1922
+ var C, D;
1923
+ return ((C = v.score) != null ? C : 0) - ((D = y.score) != null ? D : 0);
1924
1924
  });
1925
- i(S);
1925
+ i(I);
1926
1926
  } catch (h) {
1927
1927
  console.error(`[usePersonalizeGameItems:${n}] error:`, h), c || i([]);
1928
1928
  } finally {
@@ -1978,8 +1978,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1978
1978
  section: "OraculoSeccionCasinoEnVivo"
1979
1979
  }
1980
1980
  });
1981
- const v = se("showIframe"), I = se("loadMachine");
1982
- if (!I) {
1981
+ const v = se("showIframe"), C = se("loadMachine");
1982
+ if (!C) {
1983
1983
  if (i) {
1984
1984
  i(y);
1985
1985
  return;
@@ -1991,9 +1991,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1991
1991
  return;
1992
1992
  }
1993
1993
  v == null || v(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1994
- I == null || I(y, !1, "casino_en_vivo");
1994
+ C == null || C(y, !1, "casino_en_vivo");
1995
1995
  });
1996
- }, S = () => {
1996
+ }, I = () => {
1997
1997
  h({
1998
1998
  element: "casino_en_vivo_view_more",
1999
1999
  label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Ver más`,
@@ -2007,7 +2007,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2007
2007
  }), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
2008
2008
  };
2009
2009
  return /* @__PURE__ */ b(
2010
- F,
2010
+ q,
2011
2011
  {
2012
2012
  className: c,
2013
2013
  sx: {
@@ -2017,7 +2017,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2017
2017
  },
2018
2018
  children: [
2019
2019
  /* @__PURE__ */ t(
2020
- F,
2020
+ q,
2021
2021
  {
2022
2022
  sx: {
2023
2023
  position: "absolute",
@@ -2045,7 +2045,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2045
2045
  }
2046
2046
  ),
2047
2047
  /* @__PURE__ */ b(
2048
- F,
2048
+ q,
2049
2049
  {
2050
2050
  sx: {
2051
2051
  position: "relative",
@@ -2088,18 +2088,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2088
2088
  children: n
2089
2089
  }
2090
2090
  ),
2091
- /* @__PURE__ */ t(F, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
2091
+ /* @__PURE__ */ t(q, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
2092
2092
  X,
2093
2093
  {
2094
2094
  variant: "primary",
2095
2095
  size: "md",
2096
- onClick: S,
2096
+ onClick: I,
2097
2097
  children: "Ver más"
2098
2098
  }
2099
2099
  ) })
2100
2100
  ] }),
2101
2101
  /* @__PURE__ */ t(
2102
- F,
2102
+ q,
2103
2103
  {
2104
2104
  sx: {
2105
2105
  display: "flex",
@@ -2110,11 +2110,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2110
2110
  alignItems: "center"
2111
2111
  },
2112
2112
  children: (m != null ? m : []).slice(0, 3).map((y, v) => {
2113
- var I;
2113
+ var C;
2114
2114
  return /* @__PURE__ */ t(
2115
2115
  wa,
2116
2116
  {
2117
- logo: `https://olimpo.bet${y.background ? y.background : (I = y.logo) != null ? I : ""}`,
2117
+ logo: `https://olimpo.bet${y.background ? y.background : (C = y.logo) != null ? C : ""}`,
2118
2118
  provider: y.provider,
2119
2119
  providerName: y.web_name,
2120
2120
  machine: y.machine,
@@ -2125,12 +2125,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2125
2125
  })
2126
2126
  }
2127
2127
  ),
2128
- /* @__PURE__ */ t(F, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
2128
+ /* @__PURE__ */ t(q, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
2129
2129
  X,
2130
2130
  {
2131
2131
  variant: "primary",
2132
2132
  size: "lg",
2133
- onClick: S,
2133
+ onClick: I,
2134
2134
  children: "Ver más"
2135
2135
  }
2136
2136
  ) })
@@ -2192,11 +2192,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2192
2192
  gridSize: s = 1,
2193
2193
  isPersonalize: c = !1
2194
2194
  }) => {
2195
- const f = ae(), h = ne(), u = le(), p = V(null), [d, g] = Z({ isStart: !0, isEnd: !1 }), m = mn(c), { resolvedItems: _, loading: S } = rn(
2195
+ const f = ae(), h = ne(), u = le(), p = V(null), [d, g] = Z({ isStart: !0, isEnd: !1 }), m = mn(c), { resolvedItems: _, loading: I } = rn(
2196
2196
  e,
2197
2197
  m
2198
2198
  ), y = m ? _ : Array.isArray(e) ? e : [], v = () => {
2199
- var k;
2199
+ var $;
2200
2200
  f({
2201
2201
  element: "casino_prev",
2202
2202
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
@@ -2207,9 +2207,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2207
2207
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2208
2208
  },
2209
2209
  tags: { section: "OraculoSeccionCasino" }
2210
- }), (k = p.current) == null || k.prev();
2211
- }, I = () => {
2212
- var k;
2210
+ }), ($ = p.current) == null || $.prev();
2211
+ }, C = () => {
2212
+ var $;
2213
2213
  f({
2214
2214
  element: "casino_next",
2215
2215
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
@@ -2220,7 +2220,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2220
2220
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2221
2221
  },
2222
2222
  tags: { section: "OraculoSeccionCasino" }
2223
- }), (k = p.current) == null || k.next();
2223
+ }), ($ = p.current) == null || $.next();
2224
2224
  }, D = () => {
2225
2225
  if (f({
2226
2226
  element: "casino_view_more",
@@ -2237,16 +2237,16 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2237
2237
  return;
2238
2238
  }
2239
2239
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2240
- }, T = (k = !0, x = 4) => {
2240
+ }, k = ($ = !0, x = 4) => {
2241
2241
  const O = (z) => Array.from({ length: z }, (R, U) => ({
2242
2242
  id: `sk-${z}-${U}`,
2243
2243
  imageUrl: ""
2244
- })), L = [];
2245
- return k && L.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), L.push({ id: "grid-loading", kind: "grid", items: O(x) }), L;
2246
- }, N = m ? S : !Array.isArray(e) || e.length === 0, E = De("(max-width:950px)"), M = N ? T(r, s) : pn(y, r, s);
2244
+ })), P = [];
2245
+ return $ && P.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), P.push({ id: "grid-loading", kind: "grid", items: O(x) }), P;
2246
+ }, M = m ? I : !Array.isArray(e) || e.length === 0, T = De("(max-width:950px)"), A = M ? k(r, s) : pn(y, r, s);
2247
2247
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2248
2248
  /* @__PURE__ */ b(
2249
- F,
2249
+ q,
2250
2250
  {
2251
2251
  sx: {
2252
2252
  display: "grid",
@@ -2261,7 +2261,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2261
2261
  },
2262
2262
  children: [
2263
2263
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2264
- /* @__PURE__ */ b(F, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2264
+ /* @__PURE__ */ b(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2265
2265
  /* @__PURE__ */ t(
2266
2266
  X,
2267
2267
  {
@@ -2280,12 +2280,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2280
2280
  variant: "secondary",
2281
2281
  iconOnly: !0,
2282
2282
  rightIcon: /* @__PURE__ */ t(ct, {}),
2283
- onClick: I,
2283
+ onClick: C,
2284
2284
  disabled: d.isEnd
2285
2285
  }
2286
2286
  )
2287
2287
  ] }),
2288
- /* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2288
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2289
2289
  ]
2290
2290
  }
2291
2291
  ),
@@ -2293,12 +2293,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2293
2293
  he,
2294
2294
  {
2295
2295
  ref: p,
2296
- items: M,
2296
+ items: A,
2297
2297
  perPage: void 0,
2298
2298
  gap: "16px",
2299
2299
  enableHorizontalWheel: !0,
2300
2300
  options: { autoWidth: !0, trimSpace: "move" },
2301
- showRightGradient: !E,
2301
+ showRightGradient: !T,
2302
2302
  breakpoints: {
2303
2303
  400: {
2304
2304
  gap: "4px",
@@ -2316,14 +2316,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2316
2316
  padding: { left: "24px", right: "24px" }
2317
2317
  }
2318
2318
  },
2319
- renderItem: (k) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2319
+ renderItem: ($) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2320
2320
  ft,
2321
2321
  {
2322
- items: k.items,
2323
- layout: k.kind === "mosaic" ? "mosaic" : "grid",
2324
- loading: N,
2322
+ items: $.items,
2323
+ layout: $.kind === "mosaic" ? "mosaic" : "grid",
2324
+ loading: M,
2325
2325
  onClick: (x) => {
2326
- if (N) return;
2326
+ if (M) return;
2327
2327
  const O = y.find(
2328
2328
  (R, U) => String(xt(R, U)) === String(x.id)
2329
2329
  );
@@ -2342,12 +2342,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2342
2342
  section: a || "Casino"
2343
2343
  }
2344
2344
  });
2345
- const L = se("showIframe"), z = se("loadMachine");
2346
- L == null || L(), z == null || z(O, !1, "CASINO");
2345
+ const P = se("showIframe"), z = se("loadMachine");
2346
+ P == null || P(), z == null || z(O, !1, "CASINO");
2347
2347
  }
2348
2348
  }
2349
2349
  ) }),
2350
- onMove: ({ isStart: k, isEnd: x }) => g({ isStart: k, isEnd: x })
2350
+ onMove: ({ isStart: $, isEnd: x }) => g({ isStart: $, isEnd: x })
2351
2351
  }
2352
2352
  )
2353
2353
  ] }) });
@@ -2417,11 +2417,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2417
2417
  gridSize: s = 1,
2418
2418
  isPersonalize: c = !1
2419
2419
  }) => {
2420
- const f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), p = ae(), d = ne(), g = le(), m = gn(c), { resolvedItems: _, loading: S } = sn(
2420
+ const f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), p = ae(), d = ne(), g = le(), m = gn(c), { resolvedItems: _, loading: I } = sn(
2421
2421
  e,
2422
2422
  m
2423
2423
  ), y = m ? _ : Array.isArray(e) ? e : [], v = () => {
2424
- var M;
2424
+ var A;
2425
2425
  p({
2426
2426
  element: "virtuales_prev",
2427
2427
  label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Anterior`,
@@ -2432,9 +2432,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2432
2432
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2433
2433
  },
2434
2434
  tags: { section: "OraculoSeccionVirtuales" }
2435
- }), (M = f.current) == null || M.prev();
2436
- }, I = () => {
2437
- var M;
2435
+ }), (A = f.current) == null || A.prev();
2436
+ }, C = () => {
2437
+ var A;
2438
2438
  p({
2439
2439
  element: "virtuales_next",
2440
2440
  label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Siguiente`,
@@ -2445,7 +2445,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2445
2445
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2446
2446
  },
2447
2447
  tags: { section: "OraculoSeccionVirtuales" }
2448
- }), (M = f.current) == null || M.next();
2448
+ }), (A = f.current) == null || A.next();
2449
2449
  }, D = () => {
2450
2450
  if (p({
2451
2451
  element: "virtuales_view_more",
@@ -2462,10 +2462,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2462
2462
  return;
2463
2463
  }
2464
2464
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2465
- }, T = m ? S : !Array.isArray(e) || e.length === 0, N = xe("(max-width:950px)"), E = T ? bn(r, s) : hn(y, r, s);
2465
+ }, k = m ? I : !Array.isArray(e) || e.length === 0, M = xe("(max-width:950px)"), T = k ? bn(r, s) : hn(y, r, s);
2466
2466
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2467
2467
  /* @__PURE__ */ b(
2468
- F,
2468
+ q,
2469
2469
  {
2470
2470
  sx: {
2471
2471
  display: "grid",
@@ -2480,7 +2480,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2480
2480
  },
2481
2481
  children: [
2482
2482
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2483
- /* @__PURE__ */ b(F, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2483
+ /* @__PURE__ */ b(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2484
2484
  /* @__PURE__ */ t(
2485
2485
  X,
2486
2486
  {
@@ -2499,12 +2499,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2499
2499
  variant: "secondary",
2500
2500
  iconOnly: !0,
2501
2501
  rightIcon: /* @__PURE__ */ t(ct, {}),
2502
- onClick: I,
2502
+ onClick: C,
2503
2503
  disabled: h.isEnd
2504
2504
  }
2505
2505
  )
2506
2506
  ] }),
2507
- /* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2507
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2508
2508
  ]
2509
2509
  }
2510
2510
  ),
@@ -2512,7 +2512,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2512
2512
  he,
2513
2513
  {
2514
2514
  ref: f,
2515
- items: E,
2515
+ items: T,
2516
2516
  perPage: void 0,
2517
2517
  gap: "16px",
2518
2518
  breakpoints: {
@@ -2533,23 +2533,23 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2533
2533
  }
2534
2534
  },
2535
2535
  enableHorizontalWheel: !0,
2536
- showRightGradient: !N,
2536
+ showRightGradient: !M,
2537
2537
  options: { autoWidth: !0, trimSpace: "move" },
2538
- renderItem: (M) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2538
+ renderItem: (A) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2539
2539
  ft,
2540
2540
  {
2541
- items: M.items,
2542
- layout: M.kind === "mosaic" ? "mosaic" : "grid",
2543
- loading: T,
2544
- onClick: (k) => {
2545
- if (T) return;
2541
+ items: A.items,
2542
+ layout: A.kind === "mosaic" ? "mosaic" : "grid",
2543
+ loading: k,
2544
+ onClick: ($) => {
2545
+ if (k) return;
2546
2546
  const x = y.find(
2547
- (z, R) => String(wt(z, R)) === String(k.id)
2547
+ (z, R) => String(wt(z, R)) === String($.id)
2548
2548
  );
2549
2549
  if (!x) {
2550
2550
  console.warn(
2551
2551
  "[virtuales] no se encontró game para id:",
2552
- k.id
2552
+ $.id
2553
2553
  );
2554
2554
  return;
2555
2555
  }
@@ -2567,8 +2567,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2567
2567
  section: a || "Virtuales"
2568
2568
  }
2569
2569
  });
2570
- const O = se("showIframe"), L = se("loadMachine");
2571
- O == null || O(), L == null || L(
2570
+ const O = se("showIframe"), P = se("loadMachine");
2571
+ O == null || O(), P == null || P(
2572
2572
  x,
2573
2573
  !1,
2574
2574
  m ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
@@ -2576,7 +2576,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2576
2576
  }
2577
2577
  }
2578
2578
  ) }),
2579
- onMove: ({ isStart: M, isEnd: k }) => u({ isStart: M, isEnd: k })
2579
+ onMove: ({ isStart: A, isEnd: $ }) => u({ isStart: A, isEnd: $ })
2580
2580
  }
2581
2581
  )
2582
2582
  ] }) });
@@ -2625,17 +2625,17 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2625
2625
  }, 500);
2626
2626
  return () => clearTimeout(x);
2627
2627
  }, []);
2628
- const S = V(m);
2628
+ const I = V(m);
2629
2629
  ee(() => {
2630
- S.current = m;
2630
+ I.current = m;
2631
2631
  }, [m]);
2632
- const y = V(!1), v = V(null), I = n == null ? void 0 : n[d], D = ie(
2632
+ const y = V(!1), v = V(null), C = n == null ? void 0 : n[d], D = ie(
2633
2633
  () => {
2634
2634
  var x, O;
2635
- return (O = (x = I == null ? void 0 : I.backgroundImageUrl) != null ? x : o) != null ? O : "";
2635
+ return (O = (x = C == null ? void 0 : C.backgroundImageUrl) != null ? x : o) != null ? O : "";
2636
2636
  },
2637
- [I, o]
2638
- ), T = _n(D), N = !n || n.length === 0, E = (x, O) => {
2637
+ [C, o]
2638
+ ), k = _n(D), M = !n || n.length === 0, T = (x, O) => {
2639
2639
  i({
2640
2640
  element: "welcome_banner_button",
2641
2641
  label: `OraculoSeccionBonoBienvenida - Banner button click: ${x.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
@@ -2652,7 +2652,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2652
2652
  button_text: x.buttonText || "no_text"
2653
2653
  }
2654
2654
  }), x.onButtonClick && x.onButtonClick();
2655
- }, M = (x) => {
2655
+ }, A = (x) => {
2656
2656
  if (!u.current) return;
2657
2657
  if (p.current) {
2658
2658
  p.current = !1;
@@ -2680,25 +2680,25 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2680
2680
  ee(() => {
2681
2681
  const x = h.current;
2682
2682
  if (!x) return;
2683
- const O = 6, L = 380, z = (R) => {
2684
- var C, q;
2685
- if (N || R.ctrlKey || y.current) return;
2683
+ const O = 6, P = 380, z = (R) => {
2684
+ var w, F;
2685
+ if (M || R.ctrlKey || y.current) return;
2686
2686
  const U = R.deltaX, W = R.deltaY;
2687
2687
  if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < O) return;
2688
2688
  const G = U > 0;
2689
- G && S.current.isEnd || !G && S.current.isStart || (R.preventDefault(), y.current = !0, G ? (C = f.current) == null || C.next() : (q = f.current) == null || q.prev(), v.current && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
2689
+ G && I.current.isEnd || !G && I.current.isStart || (R.preventDefault(), y.current = !0, G ? (w = f.current) == null || w.next() : (F = f.current) == null || F.prev(), v.current && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
2690
2690
  y.current = !1;
2691
- }, L));
2691
+ }, P));
2692
2692
  };
2693
2693
  return x.addEventListener("wheel", z, { passive: !1 }), () => {
2694
2694
  x.removeEventListener("wheel", z), v.current && window.clearTimeout(v.current);
2695
2695
  };
2696
- }, [N]);
2697
- const k = (x, O, L) => {
2696
+ }, [M]);
2697
+ const $ = (x, O, P) => {
2698
2698
  var U, W;
2699
2699
  const z = (U = x.headline) != null ? U : e, R = (W = x.headline2) != null ? W : a;
2700
2700
  return O ? /* @__PURE__ */ b(
2701
- F,
2701
+ q,
2702
2702
  {
2703
2703
  sx: {
2704
2704
  maxWidth: 1200,
@@ -2711,7 +2711,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2711
2711
  },
2712
2712
  children: [
2713
2713
  (z || R) && /* @__PURE__ */ t(
2714
- F,
2714
+ q,
2715
2715
  {
2716
2716
  sx: {
2717
2717
  display: "flex",
@@ -2719,7 +2719,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2719
2719
  justifyContent: "flex-start",
2720
2720
  minHeight: "100%"
2721
2721
  },
2722
- children: /* @__PURE__ */ b(F, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2722
+ children: /* @__PURE__ */ b(q, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2723
2723
  z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
2724
2724
  R && /* @__PURE__ */ b(pe, { children: [
2725
2725
  /* @__PURE__ */ t("br", {}),
@@ -2728,35 +2728,35 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2728
2728
  ] })
2729
2729
  }
2730
2730
  ),
2731
- /* @__PURE__ */ t(F, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(F, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2731
+ /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(q, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2732
2732
  Je,
2733
2733
  {
2734
2734
  ...x,
2735
- onButtonClick: () => E(x, L),
2735
+ onButtonClick: () => T(x, P),
2736
2736
  variant: "large"
2737
2737
  }
2738
2738
  ) }) })
2739
2739
  ]
2740
2740
  }
2741
- ) : /* @__PURE__ */ b(F, { sx: { textAlign: "center" }, children: [
2742
- (z || R) && /* @__PURE__ */ b(F, { sx: Qe, children: [
2741
+ ) : /* @__PURE__ */ b(q, { sx: { textAlign: "center" }, children: [
2742
+ (z || R) && /* @__PURE__ */ b(q, { sx: Qe, children: [
2743
2743
  z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
2744
2744
  R && /* @__PURE__ */ b(pe, { children: [
2745
2745
  /* @__PURE__ */ t("br", {}),
2746
2746
  /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
2747
2747
  ] })
2748
2748
  ] }),
2749
- /* @__PURE__ */ t(F, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2749
+ /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2750
2750
  Je,
2751
2751
  {
2752
2752
  ...x,
2753
- onButtonClick: () => E(x, L),
2753
+ onButtonClick: () => T(x, P),
2754
2754
  variant: "small"
2755
2755
  }
2756
2756
  ) })
2757
2757
  ] });
2758
2758
  };
2759
- return /* @__PURE__ */ b(F, { component: "section", sx: T, children: [
2759
+ return /* @__PURE__ */ b(q, { component: "section", sx: k, children: [
2760
2760
  /* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
2761
2761
  he,
2762
2762
  {
@@ -2774,13 +2774,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2774
2774
  // arrows: false,
2775
2775
  // drag: true,
2776
2776
  },
2777
- renderItem: (x, O) => /* @__PURE__ */ t(F, { sx: { width: "100%" }, children: k(x, !s, O) }),
2778
- onMove: ({ index: x, isStart: O, isEnd: L }) => {
2779
- g(x), typeof O == "boolean" && typeof L == "boolean" && _({ isStart: O, isEnd: L }), M(x);
2777
+ renderItem: (x, O) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: $(x, !s, O) }),
2778
+ onMove: ({ index: x, isStart: O, isEnd: P }) => {
2779
+ g(x), typeof O == "boolean" && typeof P == "boolean" && _({ isStart: O, isEnd: P }), A(x);
2780
2780
  }
2781
2781
  }
2782
2782
  ) }),
2783
- c && /* @__PURE__ */ t(F, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2783
+ c && /* @__PURE__ */ t(q, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2784
2784
  dt,
2785
2785
  {
2786
2786
  total: n.length,
@@ -2820,10 +2820,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2820
2820
  let _ = r;
2821
2821
  if ((!(_ != null && _.user) || !(_ != null && _.session)) && typeof window != "undefined")
2822
2822
  try {
2823
- const S = localStorage.getItem("user");
2824
- S && (_ = JSON.parse(S));
2825
- } catch (S) {
2826
- console.error("[getMarketPlaceUrl] Error parsing localStorage user", S);
2823
+ const I = localStorage.getItem("user");
2824
+ I && (_ = JSON.parse(I));
2825
+ } catch (I) {
2826
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", I);
2827
2827
  }
2828
2828
  if (!(_ != null && _.user) || !(_ != null && _.session))
2829
2829
  return console.warn("User data missing"), null;
@@ -2839,7 +2839,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2839
2839
  tags: { section: "OraculoSeccionClubOlimpo" }
2840
2840
  });
2841
2841
  try {
2842
- const S = {
2842
+ const I = {
2843
2843
  idUsuario: "PE" + _.user,
2844
2844
  session_id: _.session,
2845
2845
  pagina: "home"
@@ -2848,15 +2848,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2848
2848
  headers: {
2849
2849
  "Content-Type": "application/json"
2850
2850
  },
2851
- body: JSON.stringify(S)
2851
+ body: JSON.stringify(I)
2852
2852
  });
2853
2853
  if (v.ok) {
2854
- const I = await v.json();
2855
- return I == null ? void 0 : I.url;
2854
+ const C = await v.json();
2855
+ return C == null ? void 0 : C.url;
2856
2856
  }
2857
2857
  return null;
2858
- } catch (S) {
2859
- return console.error("[getMarketPlaceUrl]", S), null;
2858
+ } catch (I) {
2859
+ return console.error("[getMarketPlaceUrl]", I), null;
2860
2860
  }
2861
2861
  }, d = async () => {
2862
2862
  const _ = await p();
@@ -2864,13 +2864,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2864
2864
  }, g = Array.isArray(n) ? n[o] : n;
2865
2865
  Mt(() => {
2866
2866
  if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
2867
- const _ = s.current, S = c.current, y = () => {
2867
+ const _ = s.current, I = c.current, y = () => {
2868
2868
  _.style.setProperty(
2869
2869
  "--orc-co-bottomH",
2870
- `${S.offsetHeight + 16}px`
2870
+ `${I.offsetHeight + 16}px`
2871
2871
  );
2872
2872
  }, v = new ResizeObserver(y);
2873
- return v.observe(S), y(), () => v.disconnect();
2873
+ return v.observe(I), y(), () => v.disconnect();
2874
2874
  }, []);
2875
2875
  const m = [
2876
2876
  "orc-co-wrap",
@@ -2946,7 +2946,7 @@ function Tn({
2946
2946
  className: i = ""
2947
2947
  }) {
2948
2948
  const r = ae(), s = ne(), c = le(), f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), [p, d] = Z([]), g = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", m = () => {
2949
- var T;
2949
+ var k;
2950
2950
  r({
2951
2951
  element: "evento_combinadas_prev",
2952
2952
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
@@ -2956,9 +2956,9 @@ function Tn({
2956
2956
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2957
2957
  },
2958
2958
  tags: { section: "OraculoSeccionEventoCombinadas" }
2959
- }), (T = f.current) == null || T.prev();
2959
+ }), (k = f.current) == null || k.prev();
2960
2960
  }, _ = () => {
2961
- var T;
2961
+ var k;
2962
2962
  r({
2963
2963
  element: "evento_combinadas_next",
2964
2964
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
@@ -2968,8 +2968,8 @@ function Tn({
2968
2968
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2969
2969
  },
2970
2970
  tags: { section: "OraculoSeccionEventoCombinadas" }
2971
- }), (T = f.current) == null || T.next();
2972
- }, S = () => {
2971
+ }), (k = f.current) == null || k.next();
2972
+ }, I = () => {
2973
2973
  r({
2974
2974
  element: "evento_combinadas_ver_mas",
2975
2975
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
@@ -2980,26 +2980,26 @@ function Tn({
2980
2980
  },
2981
2981
  tags: { section: "OraculoSeccionEventoCombinadas" }
2982
2982
  }), za();
2983
- }, y = ie(() => p.filter((T) => T.combinadoTotal !== null), [p]);
2983
+ }, y = ie(() => p.filter((k) => k.combinadoTotal !== null), [p]);
2984
2984
  async function v() {
2985
- var T, N, E, M;
2985
+ var k, M, T, A;
2986
2986
  try {
2987
- const x = await (await fetch(g)).json(), O = (M = (E = (N = (T = x == null ? void 0 : x.group) == null ? void 0 : T.groups) == null ? void 0 : N.map((U) => U.id)) == null ? void 0 : E.filter(Boolean)) == null ? void 0 : M.join(",");
2987
+ const x = await (await fetch(g)).json(), O = (A = (T = (M = (k = x == null ? void 0 : x.group) == null ? void 0 : k.groups) == null ? void 0 : M.map((U) => U.id)) == null ? void 0 : T.filter(Boolean)) == null ? void 0 : A.join(",");
2988
2988
  if (!O) {
2989
2989
  console.error("Could not extract group ID");
2990
2990
  return;
2991
2991
  }
2992
- const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(L)).json();
2992
+ const P = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(P)).json();
2993
2993
  d(Cn(R.events, R.betOffers, R.prePackCoupons));
2994
- } catch (k) {
2995
- console.error("loadDataEventSpecial error:", k);
2994
+ } catch ($) {
2995
+ console.error("loadDataEventSpecial error:", $);
2996
2996
  }
2997
2997
  }
2998
2998
  ee(() => {
2999
2999
  v();
3000
3000
  }, []);
3001
- const I = i || void 0, D = xe("(max-width:950px)");
3002
- return y.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
3001
+ const C = i || void 0, D = xe("(max-width:950px)");
3002
+ return y.length === 0 ? null : /* @__PURE__ */ t("section", { className: C, style: {
3003
3003
  // paddingLeft: 16,
3004
3004
  // paddingRight: 16,
3005
3005
  width: "100%",
@@ -3015,7 +3015,7 @@ function Tn({
3015
3015
  ariaLabel: "Anterior",
3016
3016
  variant: "secondary",
3017
3017
  iconOnly: !0,
3018
- leftIcon: /* @__PURE__ */ t(Be, {}),
3018
+ leftIcon: /* @__PURE__ */ t(Ae, {}),
3019
3019
  onClick: m,
3020
3020
  disabled: h.isStart
3021
3021
  }
@@ -3032,7 +3032,7 @@ function Tn({
3032
3032
  }
3033
3033
  )
3034
3034
  ] }),
3035
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: S, children: "Ver más" })
3035
+ /* @__PURE__ */ t(X, { variant: "secondary", onClick: I, children: "Ver más" })
3036
3036
  ] })
3037
3037
  ] }) }),
3038
3038
  /* @__PURE__ */ t(
@@ -3049,8 +3049,8 @@ function Tn({
3049
3049
  breakpoints: {
3050
3050
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3051
3051
  },
3052
- renderItem: (T) => /* @__PURE__ */ t(En, { coupon: T }),
3053
- onMove: ({ isStart: T, isEnd: N }) => u({ isStart: T, isEnd: N })
3052
+ renderItem: (k) => /* @__PURE__ */ t(En, { coupon: k }),
3053
+ onMove: ({ isStart: k, isEnd: M }) => u({ isStart: k, isEnd: M })
3054
3054
  }
3055
3055
  )
3056
3056
  ] }) });
@@ -3092,10 +3092,10 @@ function kn({}) {
3092
3092
  const $n = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Nn = {
3093
3093
  fadeWrapper: $n
3094
3094
  };
3095
- function Ae({ children: e }) {
3095
+ function Be({ children: e }) {
3096
3096
  return /* @__PURE__ */ t("div", { className: Nn.fadeWrapper, children: e });
3097
3097
  }
3098
- const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", An = {
3098
+ const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3099
3099
  padding: Mn
3100
3100
  };
3101
3101
  function St({
@@ -3109,46 +3109,46 @@ function St({
3109
3109
  return ee(() => {
3110
3110
  if (!(!e || e.length === 0))
3111
3111
  return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
3112
- var D, T;
3113
- const p = (D = a.start) != null ? D : 0, d = (T = a.end) != null ? T : 7, g = Math.max(0, p - o), m = Math.min(e.length - 1, d + o);
3114
- let _ = g, S = m;
3112
+ var D, k;
3113
+ const p = (D = a.start) != null ? D : 0, d = (k = a.end) != null ? k : 7, g = Math.max(0, p - o), m = Math.min(e.length - 1, d + o);
3114
+ let _ = g, I = m;
3115
3115
  const y = u.current;
3116
- y && (g > y.end && (_ = y.end + 1), m < y.start && (S = y.start - 1)), u.current = { start: g, end: m };
3117
- const v = e.slice(_, S + 1).map((N) => N == null ? void 0 : N.id).filter((N) => !!N).filter((N) => !c.current.has(N)).filter((N) => !(N in r));
3116
+ y && (g > y.end && (_ = y.end + 1), m < y.start && (I = y.start - 1)), u.current = { start: g, end: m };
3117
+ const v = e.slice(_, I + 1).map((M) => M == null ? void 0 : M.id).filter((M) => !!M).filter((M) => !c.current.has(M)).filter((M) => !(M in r));
3118
3118
  if (v.length === 0) return;
3119
- v.forEach((N) => c.current.add(N));
3120
- const I = ++f.current;
3119
+ v.forEach((M) => c.current.add(M));
3120
+ const C = ++f.current;
3121
3121
  (async () => {
3122
3122
  try {
3123
- const N = await n(v);
3124
- if (I !== f.current) {
3125
- v.forEach((M) => c.current.delete(M));
3123
+ const M = await n(v);
3124
+ if (C !== f.current) {
3125
+ v.forEach((A) => c.current.delete(A));
3126
3126
  return;
3127
3127
  }
3128
- if (!(N != null && N.events)) {
3128
+ if (!(M != null && M.events)) {
3129
3129
  v.forEach(
3130
- (M) => c.current.delete(M)
3130
+ (A) => c.current.delete(A)
3131
3131
  );
3132
3132
  return;
3133
3133
  }
3134
- s((M) => {
3135
- const k = { ...M };
3136
- for (const [x, O] of Object.entries(N.events)) {
3137
- const L = Number(x);
3138
- k[L] || (k[L] = O);
3134
+ s((A) => {
3135
+ const $ = { ...A };
3136
+ for (const [x, O] of Object.entries(M.events)) {
3137
+ const P = Number(x);
3138
+ $[P] || ($[P] = O);
3139
3139
  }
3140
- return k;
3140
+ return $;
3141
3141
  });
3142
- const E = new Set(
3143
- Object.keys(N.events).map(Number)
3142
+ const T = new Set(
3143
+ Object.keys(M.events).map(Number)
3144
3144
  );
3145
- v.forEach((M) => {
3146
- c.current.delete(M);
3145
+ v.forEach((A) => {
3146
+ c.current.delete(A);
3147
3147
  });
3148
- } catch (N) {
3148
+ } catch (M) {
3149
3149
  v.forEach(
3150
- (E) => c.current.delete(E)
3151
- ), console.error("Jersey fetch error", N);
3150
+ (T) => c.current.delete(T)
3151
+ ), console.error("Jersey fetch error", M);
3152
3152
  }
3153
3153
  })();
3154
3154
  }, i), () => {
@@ -3159,7 +3159,7 @@ function St({
3159
3159
  isPending: c.current
3160
3160
  };
3161
3161
  }
3162
- const Bn = (e) => {
3162
+ const An = (e) => {
3163
3163
  const a = ["esports", "cyber"];
3164
3164
  return e.filter((n) => {
3165
3165
  var r, s;
@@ -3176,9 +3176,9 @@ function Rn({
3176
3176
  onViewMore: o,
3177
3177
  className: i = ""
3178
3178
  }) {
3179
- const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), [h, u] = Z(null), [p, d] = Z({ start: null, end: null }), [g, m] = Z(null), _ = V(!1), S = ae(), y = ne(), v = le(), I = V(/* @__PURE__ */ new Map()), D = () => {
3179
+ const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), [h, u] = Z(null), [p, d] = Z({ start: null, end: null }), [g, m] = Z(null), _ = V(!1), I = ae(), y = ne(), v = le(), C = V(/* @__PURE__ */ new Map()), D = () => {
3180
3180
  var z;
3181
- S({
3181
+ I({
3182
3182
  element: "evento_en_vivo_prev",
3183
3183
  label: `${y} - OraculoSeccionEventoEnVivo - Anterior`,
3184
3184
  target: "prev",
@@ -3189,9 +3189,9 @@ function Rn({
3189
3189
  },
3190
3190
  tags: { section: "OraculoSeccionEventoEnVivo" }
3191
3191
  }), (z = s.current) == null || z.prev();
3192
- }, T = () => {
3192
+ }, k = () => {
3193
3193
  var z;
3194
- S({
3194
+ I({
3195
3195
  element: "evento_en_vivo_next",
3196
3196
  label: `${y} - OraculoSeccionEventoEnVivo - Siguiente`,
3197
3197
  target: "next",
@@ -3202,8 +3202,8 @@ function Rn({
3202
3202
  },
3203
3203
  tags: { section: "OraculoSeccionEventoEnVivo" }
3204
3204
  }), (z = s.current) == null || z.next();
3205
- }, N = () => {
3206
- S({
3205
+ }, M = () => {
3206
+ I({
3207
3207
  element: "evento_en_vivo_view_more",
3208
3208
  label: `${y} - OraculoSeccionEventoEnVivo - Ver más`,
3209
3209
  target: "ver_mas",
@@ -3213,27 +3213,27 @@ function Rn({
3213
3213
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3214
3214
  },
3215
3215
  tags: { section: "OraculoSeccionEventoEnVivo" }
3216
- }), Aa();
3217
- }, E = Ee(async () => {
3216
+ }), Ba();
3217
+ }, T = Ee(async () => {
3218
3218
  var z;
3219
3219
  try {
3220
3220
  if (!_.current) {
3221
3221
  _.current = !0;
3222
3222
  try {
3223
- const C = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), q = ((z = C == null ? void 0 : C.data) == null ? void 0 : z.event_ids) || [], K = /* @__PURE__ */ new Map();
3224
- q.forEach((Y, l) => K.set(String(Y), l)), I.current = K;
3223
+ const w = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), F = ((z = w == null ? void 0 : w.data) == null ? void 0 : z.event_ids) || [], K = /* @__PURE__ */ new Map();
3224
+ F.forEach((Y, l) => K.set(String(Y), l)), C.current = K;
3225
3225
  } catch (G) {
3226
3226
  console.error("Order fetch failed, using default sorting", G);
3227
3227
  }
3228
3228
  }
3229
3229
  const R = await fetch(r);
3230
3230
  if (!R.ok) throw new Error("Failed to fetch live events");
3231
- const U = await R.json(), W = Bn(U.events);
3232
- if (I.current.size === 0)
3231
+ const U = await R.json(), W = An(U.events);
3232
+ if (C.current.size === 0)
3233
3233
  u(W);
3234
3234
  else {
3235
- const G = [...W].sort((C, q) => {
3236
- const K = I.current.get(String(C.event.id)), Y = I.current.get(String(q.event.id));
3235
+ const G = [...W].sort((w, F) => {
3236
+ const K = C.current.get(String(w.event.id)), Y = C.current.get(String(F.event.id));
3237
3237
  return (K !== void 0 ? K : 1 / 0) - (Y !== void 0 ? Y : 1 / 0);
3238
3238
  });
3239
3239
  u(G);
@@ -3243,11 +3243,11 @@ function Rn({
3243
3243
  }
3244
3244
  }, []);
3245
3245
  ee(() => {
3246
- E();
3247
- const z = setInterval(E, 2e4);
3246
+ T();
3247
+ const z = setInterval(T, 2e4);
3248
3248
  return () => clearInterval(z);
3249
- }, [E]);
3250
- const { jerseys: M } = St({
3249
+ }, [T]);
3250
+ const { jerseys: A } = St({
3251
3251
  events: (h == null ? void 0 : h.map((z) => z.event)) || [],
3252
3252
  // extract actual event objects
3253
3253
  visibleRange: p,
@@ -3256,14 +3256,14 @@ function Rn({
3256
3256
  // same as your previous BUFFER
3257
3257
  debounceMs: 300
3258
3258
  // same as your previous debouncedVisibleRange
3259
- }), k = i || void 0, x = h === null, O = ie(() => x ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [x, h]), L = xe("(max-width:950px)");
3260
- return !x && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: k, style: {
3259
+ }), $ = i || void 0, x = h === null, O = ie(() => x ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [x, h]), P = xe("(max-width:950px)");
3260
+ return !x && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
3261
3261
  // paddingLeft: 16,
3262
3262
  // paddingRight: 16,
3263
3263
  width: "100%",
3264
3264
  boxSizing: "border-box"
3265
3265
  }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3266
- /* @__PURE__ */ t("div", { className: An.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3266
+ /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3267
3267
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3268
3268
  /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3269
3269
  /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
@@ -3273,7 +3273,7 @@ function Rn({
3273
3273
  ariaLabel: "Anterior",
3274
3274
  variant: "secondary",
3275
3275
  iconOnly: !0,
3276
- leftIcon: /* @__PURE__ */ t(Be, {}),
3276
+ leftIcon: /* @__PURE__ */ t(Ae, {}),
3277
3277
  onClick: D,
3278
3278
  disabled: c.isStart
3279
3279
  }
@@ -3285,12 +3285,12 @@ function Rn({
3285
3285
  variant: "secondary",
3286
3286
  iconOnly: !0,
3287
3287
  rightIcon: /* @__PURE__ */ t(ze, {}),
3288
- onClick: T,
3288
+ onClick: k,
3289
3289
  disabled: c.isEnd
3290
3290
  }
3291
3291
  )
3292
3292
  ] }),
3293
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: N, children: "Ver más" })
3293
+ /* @__PURE__ */ t(X, { variant: "secondary", onClick: M, children: "Ver más" })
3294
3294
  ] })
3295
3295
  ] }) }),
3296
3296
  /* @__PURE__ */ t(
@@ -3299,7 +3299,7 @@ function Rn({
3299
3299
  ref: s,
3300
3300
  items: O,
3301
3301
  perPage: void 0,
3302
- showRightGradient: !L,
3302
+ showRightGradient: !P,
3303
3303
  enableHorizontalWheel: !0,
3304
3304
  gap: "16px",
3305
3305
  options: { autoWidth: !0, trimSpace: "move" },
@@ -3310,8 +3310,8 @@ function Rn({
3310
3310
  },
3311
3311
  renderItem: (z) => {
3312
3312
  var W;
3313
- const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in M ? M[R] : void 0;
3314
- return x ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(
3313
+ const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in A ? A[R] : void 0;
3314
+ return x ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3315
3315
  zn,
3316
3316
  {
3317
3317
  ...z,
@@ -3328,7 +3328,7 @@ function Rn({
3328
3328
  )
3329
3329
  ] }) });
3330
3330
  }
3331
- function Ln() {
3331
+ function Pn() {
3332
3332
  return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
3333
3333
  /* @__PURE__ */ t(mt, { title: "" }),
3334
3334
  /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
@@ -3356,8 +3356,8 @@ function Ln() {
3356
3356
  ] }) })
3357
3357
  ] });
3358
3358
  }
3359
- const Pn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", qn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
3360
- wrapper: Pn,
3359
+ const Ln = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", qn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
3360
+ wrapper: Ln,
3361
3361
  container: Fn,
3362
3362
  buttonWrapper: qn,
3363
3363
  padding: Dn
@@ -3404,7 +3404,7 @@ function Hn({
3404
3404
  onViewMore: o,
3405
3405
  className: i = ""
3406
3406
  }) {
3407
- const r = ae(), s = ne(), c = le(), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, p] = Z({ isStart: !0, isEnd: !1 }), [d, g] = Z(null), [m, _] = Z({ start: null, end: null }), S = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", y = () => {
3407
+ const r = ae(), s = ne(), c = le(), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, p] = Z({ isStart: !0, isEnd: !1 }), [d, g] = Z(null), [m, _] = Z({ start: null, end: null }), I = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", y = () => {
3408
3408
  r({
3409
3409
  element: "evento_semana_view_more",
3410
3410
  label: `${s} - OraculoSeccionEventoSemana - Ver más`,
@@ -3415,26 +3415,26 @@ function Hn({
3415
3415
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3416
3416
  },
3417
3417
  tags: { section: "OraculoSeccionEventoSemana" }
3418
- }), Ba();
3418
+ }), Aa();
3419
3419
  };
3420
- async function v(k) {
3421
- var L, z;
3420
+ async function v($) {
3421
+ var P, z;
3422
3422
  let x = [], O = [];
3423
3423
  try {
3424
3424
  const R = await fetch(
3425
3425
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
3426
- { signal: k }
3426
+ { signal: $ }
3427
3427
  );
3428
3428
  if (R.ok) {
3429
3429
  const U = await R.json();
3430
- x = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], O = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
3430
+ x = ((P = U == null ? void 0 : U.data) == null ? void 0 : P.group_ids) || [], O = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
3431
3431
  }
3432
3432
  } catch (R) {
3433
3433
  R.name !== "AbortError" && console.warn("Order API not available, using default group order");
3434
3434
  return;
3435
3435
  }
3436
3436
  try {
3437
- const W = (await (await fetch(f, { signal: k })).json()).group.groups.find(
3437
+ const W = (await (await fetch(f, { signal: $ })).json()).group.groups.find(
3438
3438
  (l) => l.englishName === "Football"
3439
3439
  );
3440
3440
  if (!W || !Array.isArray(W.groups)) {
@@ -3444,78 +3444,78 @@ function Hn({
3444
3444
  let G = [...W.groups];
3445
3445
  if (x.length > 0) {
3446
3446
  const l = new Map(
3447
- x.map((w, $) => [w, $])
3447
+ x.map((S, E) => [S, E])
3448
3448
  );
3449
- G.sort((w, $) => {
3450
- const A = l.get(String(w.id)), B = l.get(String($.id));
3451
- return A !== void 0 && B !== void 0 ? A - B : A !== void 0 ? -1 : B !== void 0 ? 1 : 0;
3449
+ G.sort((S, E) => {
3450
+ const N = l.get(String(S.id)), B = l.get(String(E.id));
3451
+ return N !== void 0 && B !== void 0 ? N - B : N !== void 0 ? -1 : B !== void 0 ? 1 : 0;
3452
3452
  });
3453
3453
  }
3454
- const q = G.slice(0, 5), K = (l) => {
3455
- const w = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3454
+ const F = G.slice(0, 5), K = (l) => {
3455
+ const S = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3456
3456
  if (l.groups && l.groups.length > 0) {
3457
- const $ = l.groups[0];
3457
+ const E = l.groups[0];
3458
3458
  return [
3459
- `${w}/${l.termKey}/${$.termKey}/all/matches.json?${S}`
3459
+ `${S}/${l.termKey}/${E.termKey}/all/matches.json?${I}`
3460
3460
  ];
3461
3461
  }
3462
3462
  return [
3463
- `${w}/${l.termKey}/all/all/matches.json?${S}`
3463
+ `${S}/${l.termKey}/all/all/matches.json?${I}`
3464
3464
  ];
3465
- }, Y = q.flatMap(K);
3466
- I(Y, O, k);
3465
+ }, Y = F.flatMap(K);
3466
+ C(Y, O, $);
3467
3467
  } catch (R) {
3468
3468
  console.error(R);
3469
3469
  }
3470
3470
  }
3471
- async function I(k, x, O) {
3471
+ async function C($, x, O) {
3472
3472
  try {
3473
- const L = await Vn(k, 2, O);
3473
+ const P = await Vn($, 2, O);
3474
3474
  let z = [], R = [];
3475
- L.forEach((C) => {
3476
- C.events && (z.push(...C.events.map((q) => q.event)), R.push(
3477
- ...C.events.flatMap((q) => q.betOffers || [])
3475
+ P.forEach((w) => {
3476
+ w.events && (z.push(...w.events.map((F) => F.event)), R.push(
3477
+ ...w.events.flatMap((F) => F.betOffers || [])
3478
3478
  ));
3479
3479
  });
3480
3480
  const U = jn(z, R), W = Wn(Gn(U));
3481
3481
  let G = W;
3482
3482
  if (x.length > 0) {
3483
- const C = new Map(
3484
- x.map((q, K) => [
3485
- String(q),
3483
+ const w = new Map(
3484
+ x.map((F, K) => [
3485
+ String(F),
3486
3486
  K
3487
3487
  ])
3488
3488
  );
3489
- G = [...W].sort((q, K) => {
3490
- const Y = C.get(String(q.id)), l = C.get(String(K.id));
3489
+ G = [...W].sort((F, K) => {
3490
+ const Y = w.get(String(F.id)), l = w.get(String(K.id));
3491
3491
  return Y !== void 0 && l !== void 0 ? Y - l : Y !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3492
3492
  });
3493
3493
  }
3494
3494
  if (O.aborted) return;
3495
3495
  g(G);
3496
- } catch (L) {
3497
- console.error("Error loading events:", L);
3496
+ } catch (P) {
3497
+ console.error("Error loading events:", P);
3498
3498
  }
3499
3499
  }
3500
3500
  ee(() => {
3501
3501
  if (!e) return;
3502
- const k = new AbortController();
3503
- return v(k.signal), () => {
3504
- k.abort();
3502
+ const $ = new AbortController();
3503
+ return v($.signal), () => {
3504
+ $.abort();
3505
3505
  };
3506
3506
  }, [e]);
3507
- const D = i || void 0, T = {
3507
+ const D = i || void 0, k = {
3508
3508
  paddingLeft: 0,
3509
3509
  width: "100%",
3510
3510
  boxSizing: "border-box"
3511
- }, { jerseys: N } = St({
3511
+ }, { jerseys: M } = St({
3512
3512
  events: d,
3513
3513
  visibleRange: m,
3514
3514
  fetchJerseys: gt,
3515
3515
  buffer: 2,
3516
3516
  debounceMs: 250
3517
- }), E = d === null, M = xe("(max-width:950px)");
3518
- return !E && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: T, children: /* @__PURE__ */ b("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3517
+ }), T = d === null, A = xe("(max-width:950px)");
3518
+ return !T && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: k, children: /* @__PURE__ */ b("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3519
3519
  /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3520
3520
  /* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
3521
3521
  /* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
@@ -3535,11 +3535,11 @@ function Hn({
3535
3535
  he,
3536
3536
  {
3537
3537
  ref: h,
3538
- items: E ? Array(6).fill({}) : d.slice(0, 20),
3538
+ items: T ? Array(6).fill({}) : d.slice(0, 20),
3539
3539
  perPage: 3.5,
3540
3540
  gap: "16px",
3541
3541
  enableHorizontalWheel: !0,
3542
- showRightGradient: !M,
3542
+ showRightGradient: !A,
3543
3543
  options: { autoWidth: !0, trimSpace: !0 },
3544
3544
  breakpoints: {
3545
3545
  1024: {
@@ -3549,14 +3549,14 @@ function Hn({
3549
3549
  padding: { left: "8px", right: "8px" }
3550
3550
  }
3551
3551
  },
3552
- renderItem: (k) => {
3553
- const x = k.id, O = x in N ? N[x] : void 0;
3554
- return E ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Ln, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Un, { event: k, jersey: O }) });
3552
+ renderItem: ($) => {
3553
+ const x = $.id, O = x in M ? M[x] : void 0;
3554
+ return T ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Pn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: $, jersey: O }) });
3555
3555
  },
3556
- onMove: ({ isStart: k, isEnd: x, visibleStart: O, visibleEnd: L }) => {
3557
- p({ isStart: k, isEnd: x }), _({
3556
+ onMove: ({ isStart: $, isEnd: x, visibleStart: O, visibleEnd: P }) => {
3557
+ p({ isStart: $, isEnd: x }), _({
3558
3558
  start: O,
3559
- end: L
3559
+ end: P
3560
3560
  }), r({
3561
3561
  element: "evento_semana_carousel_slide",
3562
3562
  label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
@@ -3566,8 +3566,8 @@ function Hn({
3566
3566
  metadata: {
3567
3567
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3568
3568
  visibleStart: O,
3569
- visibleEnd: L,
3570
- isStart: k,
3569
+ visibleEnd: P,
3570
+ isStart: $,
3571
3571
  isEnd: x
3572
3572
  },
3573
3573
  tags: { section: "OraculoSeccionEventoSemana" }
@@ -3598,7 +3598,7 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3598
3598
  );
3599
3599
  }, Jn = (e, a) => {
3600
3600
  var c, f, h, u, p, d, g, m, _;
3601
- const n = (h = (f = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? f : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (p = e == null ? void 0 : e.startAt) != null ? p : (u = n.find((S) => (S == null ? void 0 : S.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (_ = (m = e == null ? void 0 : e.endAt) != null ? m : (g = n.find((S) => (S == null ? void 0 : S.name) === "endAt")) == null ? void 0 : g.value) != null ? _ : null, r = nt(o), s = nt(i);
3601
+ const n = (h = (f = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? f : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (p = e == null ? void 0 : e.startAt) != null ? p : (u = n.find((I) => (I == null ? void 0 : I.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (_ = (m = e == null ? void 0 : e.endAt) != null ? m : (g = n.find((I) => (I == null ? void 0 : I.name) === "endAt")) == null ? void 0 : g.value) != null ? _ : null, r = nt(o), s = nt(i);
3602
3602
  return !(r != null && a < r || s != null && a >= s);
3603
3603
  };
3604
3604
  function Xn({
@@ -3607,14 +3607,14 @@ function Xn({
3607
3607
  hideItems: n
3608
3608
  }) {
3609
3609
  var W, G;
3610
- const [o, i] = Z(0), r = ae(), s = ne(), c = le(), f = V(null), h = V(!1), u = V(!1), [p, d] = Z(() => Date.now()), g = se("setDepositActionGlobal"), m = ie(() => (e != null ? e : []).filter((C) => Jn(C, p)), [e, p]), _ = m.length || 1, S = !m || m.length === 0, y = !S && m.length > 1, v = !n && ((W = a == null ? void 0 : a.length) != null ? W : 0) > 0;
3610
+ const [o, i] = Z(0), r = ae(), s = ne(), c = le(), f = V(null), h = V(!1), u = V(!1), [p, d] = Z(() => Date.now()), g = se("setDepositActionGlobal"), m = ie(() => (e != null ? e : []).filter((w) => Jn(w, p)), [e, p]), _ = m.length || 1, I = !m || m.length === 0, y = !I && m.length > 1, v = !n && ((W = a == null ? void 0 : a.length) != null ? W : 0) > 0;
3611
3611
  De("(max-width:950px)");
3612
- const I = "#B5B5B5";
3612
+ const C = "#B5B5B5";
3613
3613
  ee(() => {
3614
- const C = window.setInterval(() => {
3614
+ const w = window.setInterval(() => {
3615
3615
  d(Date.now());
3616
3616
  }, 3e4);
3617
- return () => window.clearInterval(C);
3617
+ return () => window.clearInterval(w);
3618
3618
  }, []);
3619
3619
  const D = {
3620
3620
  position: "absolute",
@@ -3624,22 +3624,22 @@ function Xn({
3624
3624
  width: 48,
3625
3625
  height: 40,
3626
3626
  borderRadius: "12px",
3627
- border: `1.5px solid ${I}`,
3627
+ border: `1.5px solid ${C}`,
3628
3628
  py: 1,
3629
3629
  px: 1.5,
3630
- color: I,
3630
+ color: C,
3631
3631
  backgroundColor: "transparent",
3632
3632
  "&:hover": {
3633
3633
  backgroundColor: "rgba(181,181,181,0.08)"
3634
3634
  },
3635
3635
  "&.Mui-disabled": {
3636
3636
  opacity: 0.35,
3637
- borderColor: I,
3638
- color: I,
3637
+ borderColor: C,
3638
+ color: C,
3639
3639
  backgroundColor: "transparent",
3640
3640
  cursor: "default"
3641
3641
  }
3642
- }, T = ie(
3642
+ }, k = ie(
3643
3643
  () => ({
3644
3644
  type: "loop",
3645
3645
  perMove: 1,
@@ -3651,26 +3651,31 @@ function Xn({
3651
3651
  []
3652
3652
  );
3653
3653
  ee(() => {
3654
- const C = setTimeout(() => {
3654
+ const w = setTimeout(() => {
3655
3655
  h.current = !0;
3656
3656
  }, 500);
3657
- return () => clearTimeout(C);
3657
+ return () => clearTimeout(w);
3658
3658
  }, []);
3659
- const N = (C, q, K) => {
3660
- var l, w;
3661
- if (q.idfunction)
3662
- switch (C.preventDefault(), q.idfunction) {
3659
+ const M = (w, F, K) => {
3660
+ var E, N;
3661
+ const Y = !!F.idFunction, l = !!F.href;
3662
+ if (Y)
3663
+ switch (w.preventDefault(), w.stopPropagation(), F.idFunction) {
3663
3664
  case "deposito":
3664
3665
  g == null || g(!0);
3665
3666
  return;
3666
3667
  default:
3667
3668
  return;
3668
3669
  }
3669
- const Y = ((w = (l = q.href) == null ? void 0 : l.split("/").pop()) == null ? void 0 : w.split(".")[0]) || q.label || q.id || `banner_${K + 1}`;
3670
+ if (!l) {
3671
+ w.preventDefault(), w.stopPropagation();
3672
+ return;
3673
+ }
3674
+ const S = ((N = (E = F.href) == null ? void 0 : E.split("/").pop()) == null ? void 0 : N.split(".")[0]) || F.label || F.id || `banner_${K + 1}`;
3670
3675
  r({
3671
3676
  element: "banner_carousel",
3672
- label: `${s} - OraculoSeccionBanners - Banner click: ${Y}`,
3673
- target: q.href || "no_url",
3677
+ label: `${s} - OraculoSeccionBanners - Banner click: ${S}`,
3678
+ target: F.href || "no_url",
3674
3679
  event_type: "click",
3675
3680
  module_id: c,
3676
3681
  metadata: {
@@ -3681,61 +3686,61 @@ function Xn({
3681
3686
  tags: {
3682
3687
  banner_type: "carousel",
3683
3688
  banner_target: "_self",
3684
- banner_url: q.href || "no_url"
3689
+ banner_url: F.href || "no_url"
3685
3690
  }
3686
3691
  });
3687
- }, E = (C) => {
3692
+ }, T = (w) => {
3688
3693
  if (r({
3689
3694
  element: "banner_menu_item",
3690
- label: `${s} - OraculoSeccionBanners - Menu item click: ${C.label || C.id}`,
3691
- target: C.href || "action",
3695
+ label: `${s} - OraculoSeccionBanners - Menu item click: ${w.label || w.id}`,
3696
+ target: w.href || "action",
3692
3697
  event_type: "click",
3693
3698
  module_id: c,
3694
3699
  metadata: {
3695
3700
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3696
- item_id: C.id
3701
+ item_id: w.id
3697
3702
  },
3698
3703
  tags: {
3699
- item_label: C.label || "no_label"
3704
+ item_label: w.label || "no_label"
3700
3705
  }
3701
- }), C.onClick) {
3702
- C.onClick();
3706
+ }), w.onClick) {
3707
+ w.onClick();
3703
3708
  return;
3704
3709
  }
3705
- C.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(C.href);
3706
- }, M = 5e3, k = V(null), x = !S && ((G = m == null ? void 0 : m.length) != null ? G : 0) > 1, O = () => {
3707
- k.current != null && (window.clearTimeout(k.current), k.current = null);
3708
- }, L = () => {
3709
- O(), x && (k.current = window.setTimeout(() => {
3710
- var C;
3711
- u.current = !0, (C = f.current) == null || C.next();
3712
- }, M));
3710
+ w.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(w.href);
3711
+ }, A = 5e3, $ = V(null), x = !I && ((G = m == null ? void 0 : m.length) != null ? G : 0) > 1, O = () => {
3712
+ $.current != null && (window.clearTimeout($.current), $.current = null);
3713
+ }, P = () => {
3714
+ O(), x && ($.current = window.setTimeout(() => {
3715
+ var w;
3716
+ u.current = !0, (w = f.current) == null || w.next();
3717
+ }, A));
3713
3718
  };
3714
- ee(() => (L(), () => O()), [x, M]);
3715
- const z = (C) => {
3716
- var q;
3717
- C.preventDefault(), C.stopPropagation(), O(), (q = f.current) == null || q.prev();
3718
- }, R = (C) => {
3719
- var q;
3720
- C.preventDefault(), C.stopPropagation(), O(), (q = f.current) == null || q.next();
3721
- }, U = (C) => {
3722
- var Y, l, w, $;
3723
- const q = (C % _ + _) % _;
3719
+ ee(() => (P(), () => O()), [x, A]);
3720
+ const z = (w) => {
3721
+ var F;
3722
+ w.preventDefault(), w.stopPropagation(), O(), (F = f.current) == null || F.prev();
3723
+ }, R = (w) => {
3724
+ var F;
3725
+ w.preventDefault(), w.stopPropagation(), O(), (F = f.current) == null || F.next();
3726
+ }, U = (w) => {
3727
+ var Y, l, S, E;
3728
+ const F = (w % _ + _) % _;
3724
3729
  if (!h.current) return;
3725
- const K = (Y = m == null ? void 0 : m[q]) != null && Y.href ? ((w = (l = m[q].href) == null ? void 0 : l.split("/").pop()) == null ? void 0 : w.split(".")[0]) || `banner_${q + 1}` : `banner_${q + 1}`;
3730
+ const K = (Y = m == null ? void 0 : m[F]) != null && Y.href ? ((S = (l = m[F].href) == null ? void 0 : l.split("/").pop()) == null ? void 0 : S.split(".")[0]) || `banner_${F + 1}` : `banner_${F + 1}`;
3726
3731
  r({
3727
3732
  element: "banner_carousel",
3728
- label: `${s} - OraculoSeccionBanners - Banner view: Slide ${q + 1} - ${K}`,
3729
- target: (($ = m == null ? void 0 : m[q]) == null ? void 0 : $.href) || "no_url",
3733
+ label: `${s} - OraculoSeccionBanners - Banner view: Slide ${F + 1} - ${K}`,
3734
+ target: ((E = m == null ? void 0 : m[F]) == null ? void 0 : E.href) || "no_url",
3730
3735
  event_type: "view",
3731
3736
  module_id: c,
3732
3737
  metadata: {
3733
3738
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3734
- slide_index: q + 1,
3739
+ slide_index: F + 1,
3735
3740
  total_slides: _,
3736
3741
  interaction_type: "manual_slide"
3737
3742
  },
3738
- tags: { banner_position: String(q + 1) }
3743
+ tags: { banner_position: String(F + 1) }
3739
3744
  });
3740
3745
  };
3741
3746
  return /* @__PURE__ */ b(
@@ -3780,40 +3785,41 @@ function Xn({
3780
3785
  perPage: 1,
3781
3786
  gap: "0px",
3782
3787
  enableHorizontalWheel: !0,
3783
- options: T,
3784
- onMove: ({ index: C }) => {
3785
- const q = (C % _ + _) % _;
3786
- i(q);
3788
+ options: k,
3789
+ onMove: ({ index: w }) => {
3790
+ const F = (w % _ + _) % _;
3791
+ i(F);
3787
3792
  const K = u.current;
3788
- u.current = !1, L(), K || U(C);
3793
+ u.current = !1, P(), K || U(w);
3789
3794
  },
3790
- renderItem: (C, q) => {
3791
- var K, Y, l;
3795
+ renderItem: (w, F) => {
3796
+ var E, N, B;
3797
+ const K = !!w.idFunction, Y = !!w.href, l = Y && !K, S = K || Y;
3792
3798
  return /* @__PURE__ */ b(
3793
3799
  Q,
3794
3800
  {
3795
- component: "a",
3796
- href: C.href || "",
3797
- target: (K = C.target) != null ? K : "_self",
3798
- rel: C.target === "_blank" ? "noopener noreferrer" : void 0,
3799
- onClick: (w) => N(w, C, q),
3801
+ component: l ? "a" : "div",
3802
+ href: l ? w.href : void 0,
3803
+ target: l ? (E = w.target) != null ? E : "_self" : void 0,
3804
+ rel: l && w.target === "_blank" ? "noopener noreferrer" : void 0,
3805
+ onClick: (L) => M(L, w, F),
3800
3806
  sx: {
3801
3807
  position: "relative",
3802
3808
  width: "100%",
3803
3809
  height: "100%",
3804
3810
  display: "block",
3805
3811
  textDecoration: "none",
3806
- cursor: "pointer"
3812
+ cursor: S ? "pointer" : "default"
3807
3813
  },
3808
3814
  children: [
3809
3815
  /* @__PURE__ */ b(Q, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3810
- /* @__PURE__ */ t("source", { srcSet: C.desktopSrc, media: "(min-width:950px)" }),
3811
- /* @__PURE__ */ t("source", { srcSet: C.mobileSrc, media: "(max-width:949px)" }),
3816
+ /* @__PURE__ */ t("source", { srcSet: w.desktopSrc, media: "(min-width:950px)" }),
3817
+ /* @__PURE__ */ t("source", { srcSet: w.mobileSrc, media: "(max-width:949px)" }),
3812
3818
  /* @__PURE__ */ t(
3813
3819
  Q,
3814
3820
  {
3815
3821
  component: "img",
3816
- src: (l = (Y = C.fallbackSrc) != null ? Y : C.desktopSrc) != null ? l : "",
3822
+ src: (B = (N = w.fallbackSrc) != null ? N : w.desktopSrc) != null ? B : "",
3817
3823
  alt: "",
3818
3824
  "aria-hidden": !0,
3819
3825
  loading: "lazy",
@@ -3865,7 +3871,7 @@ function Xn({
3865
3871
  "@media (max-width:1024px)": { left: 24 },
3866
3872
  "@media (max-width:786px)": { display: "none" }
3867
3873
  },
3868
- children: /* @__PURE__ */ t(Be, {})
3874
+ children: /* @__PURE__ */ t(Ae, {})
3869
3875
  }
3870
3876
  ),
3871
3877
  /* @__PURE__ */ t(
@@ -3900,7 +3906,7 @@ function Xn({
3900
3906
  {
3901
3907
  total: _,
3902
3908
  active: o,
3903
- durationMs: M
3909
+ durationMs: A
3904
3910
  },
3905
3911
  `${o}-${_}`
3906
3912
  )
@@ -3927,7 +3933,7 @@ function Xn({
3927
3933
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3928
3934
  zIndex: 3
3929
3935
  },
3930
- children: a == null ? void 0 : a.map((C) => /* @__PURE__ */ b(
3936
+ children: a == null ? void 0 : a.map((w) => /* @__PURE__ */ b(
3931
3937
  Q,
3932
3938
  {
3933
3939
  sx: {
@@ -3939,7 +3945,7 @@ function Xn({
3939
3945
  gap: { xs: 0.5, md: 1 },
3940
3946
  color: "#FFFFFF",
3941
3947
  minWidth: 0,
3942
- cursor: C.onClick || C.href ? "pointer" : "default",
3948
+ cursor: w.onClick || w.href ? "pointer" : "default",
3943
3949
  whiteSpace: "nowrap",
3944
3950
  "&::after": {
3945
3951
  content: '""',
@@ -3963,7 +3969,7 @@ function Xn({
3963
3969
  opacity: 1,
3964
3970
  transform: "scaleX(1)"
3965
3971
  },
3966
- ...C.iconHover && {
3972
+ ...w.iconHover && {
3967
3973
  "&:hover .menu-icon-default": {
3968
3974
  display: "none"
3969
3975
  },
@@ -3972,9 +3978,9 @@ function Xn({
3972
3978
  }
3973
3979
  }
3974
3980
  },
3975
- onClick: () => E(C),
3981
+ onClick: () => T(w),
3976
3982
  children: [
3977
- C.icon && /* @__PURE__ */ b(
3983
+ w.icon && /* @__PURE__ */ b(
3978
3984
  Q,
3979
3985
  {
3980
3986
  sx: {
@@ -3988,8 +3994,8 @@ function Xn({
3988
3994
  Q,
3989
3995
  {
3990
3996
  component: "img",
3991
- src: C.icon,
3992
- alt: C.label || `icon-${C.id}`,
3997
+ src: w.icon,
3998
+ alt: w.label || `icon-${w.id}`,
3993
3999
  className: "menu-icon-default",
3994
4000
  sx: {
3995
4001
  display: "block",
@@ -4001,12 +4007,12 @@ function Xn({
4001
4007
  }
4002
4008
  }
4003
4009
  ),
4004
- C.iconHover && /* @__PURE__ */ t(
4010
+ w.iconHover && /* @__PURE__ */ t(
4005
4011
  Q,
4006
4012
  {
4007
4013
  component: "img",
4008
- src: C.iconHover,
4009
- alt: C.label || `icon-hover-${C.id}`,
4014
+ src: w.iconHover,
4015
+ alt: w.label || `icon-hover-${w.id}`,
4010
4016
  className: "menu-icon-hover",
4011
4017
  sx: {
4012
4018
  display: "none",
@@ -4031,12 +4037,12 @@ function Xn({
4031
4037
  color: "#E0E0E0",
4032
4038
  textAlign: "center"
4033
4039
  },
4034
- children: C.label
4040
+ children: w.label
4035
4041
  }
4036
4042
  )
4037
4043
  ]
4038
4044
  },
4039
- C.id
4045
+ w.id
4040
4046
  ))
4041
4047
  }
4042
4048
  )
@@ -4129,8 +4135,8 @@ function It({
4129
4135
  }),
4130
4136
  [a]
4131
4137
  );
4132
- return /* @__PURE__ */ b(Lt, { theme: n, children: [
4133
- /* @__PURE__ */ t(Pt, {}),
4138
+ return /* @__PURE__ */ b(Pt, { theme: n, children: [
4139
+ /* @__PURE__ */ t(Lt, {}),
4134
4140
  e
4135
4141
  ] });
4136
4142
  }
@@ -4434,7 +4440,7 @@ const eo = {
4434
4440
  {
4435
4441
  id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4436
4442
  isImage: !1,
4437
- name: "idfunction",
4443
+ name: "idFunction",
4438
4444
  required: !1,
4439
4445
  type: "string",
4440
4446
  value: "deposito"
@@ -4491,7 +4497,7 @@ const eo = {
4491
4497
  name: "startAt",
4492
4498
  required: !1,
4493
4499
  type: "string",
4494
- value: "2026-04-13T10:45"
4500
+ value: ""
4495
4501
  },
4496
4502
  {
4497
4503
  id: "fa9c467f-4f33-4bee-b502-a413d726bbb2",
@@ -4499,7 +4505,7 @@ const eo = {
4499
4505
  name: "endAt",
4500
4506
  required: !1,
4501
4507
  type: "string",
4502
- value: "2026-04-14T11:15"
4508
+ value: ""
4503
4509
  }
4504
4510
  ],
4505
4511
  id: "024f8130-91e1-4296-b826-cffa32ab1a96"
@@ -4553,7 +4559,7 @@ const eo = {
4553
4559
  name: "startAt",
4554
4560
  required: !1,
4555
4561
  type: "string",
4556
- value: "2026-04-13T10:45"
4562
+ value: ""
4557
4563
  },
4558
4564
  {
4559
4565
  id: "fa9c467f-4f33-4bee-b502-a413d726bbb2",
@@ -4561,7 +4567,7 @@ const eo = {
4561
4567
  name: "endAt",
4562
4568
  required: !1,
4563
4569
  type: "string",
4564
- value: "2026-04-13T11:00"
4570
+ value: ""
4565
4571
  }
4566
4572
  ],
4567
4573
  id: "cdfce77c-a814-43f1-911d-3715803252c2"
@@ -5517,33 +5523,33 @@ const it = [
5517
5523
  loader: r,
5518
5524
  disableWrapper: s = !1
5519
5525
  }) => {
5520
- const c = ie(() => oo(i), [i]), f = r || c.loader, [h, u] = Z([]), [p, d] = Z(!1), [g, m] = Z({}), [_, S] = Z({}), [y, v] = Z({}), I = De("(min-width:1024px)"), D = ie(
5526
+ const c = ie(() => oo(i), [i]), f = r || c.loader, [h, u] = Z([]), [p, d] = Z(!1), [g, m] = Z({}), [_, I] = Z({}), [y, v] = Z({}), C = De("(min-width:1024px)"), D = ie(
5521
5527
  () => Ce(qe),
5522
5528
  []
5523
- ), T = (l) => D.find(
5524
- (w) => w.id === l.id || w.componentKey === l.componentKey
5525
- ), N = (l) => Array.isArray(l) ? l.map((w) => Number(w)).filter((w) => !Number.isNaN(w)) : [], E = ie(() => {
5529
+ ), k = (l) => D.find(
5530
+ (S) => S.id === l.id || S.componentKey === l.componentKey
5531
+ ), M = (l) => Array.isArray(l) ? l.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], T = ie(() => {
5526
5532
  const l = c.user;
5527
- return N(l == null ? void 0 : l.groups);
5528
- }, [c]), M = (l) => {
5529
- const w = l.manualScalarFields;
5530
- if (!Array.isArray(w)) return [];
5531
- const $ = w.find(
5532
- (P) => String((P == null ? void 0 : P.name) || "").trim().toLowerCase() === "groups"
5533
+ return M(l == null ? void 0 : l.groups);
5534
+ }, [c]), A = (l) => {
5535
+ const S = l.manualScalarFields;
5536
+ if (!Array.isArray(S)) return [];
5537
+ const E = S.find(
5538
+ (L) => String((L == null ? void 0 : L.name) || "").trim().toLowerCase() === "groups"
5533
5539
  );
5534
- if (!$) return [];
5535
- const A = $.value;
5536
- if (A == null) return [];
5537
- if (Array.isArray(A))
5538
- return A.map((P) => Number(String(P).trim())).filter((P) => !Number.isNaN(P));
5539
- const B = String(A).trim();
5540
- return B ? B.split(",").map((P) => Number(P.trim())).filter((P) => !Number.isNaN(P)) : [];
5541
- }, k = (l, w) => {
5542
- const $ = M(l);
5543
- if ($.length === 0) return !0;
5544
- if (!Array.isArray(w) || w.length === 0) return !1;
5545
- const A = new Set(w);
5546
- return $.some((B) => A.has(B));
5540
+ if (!E) return [];
5541
+ const N = E.value;
5542
+ if (N == null) return [];
5543
+ if (Array.isArray(N))
5544
+ return N.map((L) => Number(String(L).trim())).filter((L) => !Number.isNaN(L));
5545
+ const B = String(N).trim();
5546
+ return B ? B.split(",").map((L) => Number(L.trim())).filter((L) => !Number.isNaN(L)) : [];
5547
+ }, $ = (l, S) => {
5548
+ const E = A(l);
5549
+ if (E.length === 0) return !0;
5550
+ if (!Array.isArray(S) || S.length === 0) return !1;
5551
+ const N = new Set(S);
5552
+ return E.some((B) => N.has(B));
5547
5553
  };
5548
5554
  ee(() => {
5549
5555
  if (e) return;
@@ -5551,41 +5557,41 @@ const it = [
5551
5557
  console.warn("[landing] sin db -> fallback json"), u(Ce(qe));
5552
5558
  return;
5553
5559
  }
5554
- const l = ($, A) => {
5555
- console.warn("[landing] FALLBACK:", $, A != null ? A : ""), u(Ce(qe)), d(!1);
5560
+ const l = (E, N) => {
5561
+ console.warn("[landing] FALLBACK:", E, N != null ? N : ""), u(Ce(qe)), d(!1);
5556
5562
  };
5557
5563
  if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
5558
5564
  d(!0), l("forzado por env");
5559
5565
  return;
5560
5566
  }
5561
5567
  d(!0);
5562
- const w = Ft(
5568
+ const S = Ft(
5563
5569
  qt(o, "landings", a),
5564
- ($) => {
5570
+ (E) => {
5565
5571
  try {
5566
- if (!$.exists()) {
5572
+ if (!E.exists()) {
5567
5573
  l(`doc landings/${a} no existe`);
5568
5574
  return;
5569
5575
  }
5570
- const A = $.data(), B = Ce(A);
5576
+ const N = E.data(), B = Ce(N);
5571
5577
  if (!B.length) {
5572
- l("JSON inválido o sin secciones normalizables", A);
5578
+ l("JSON inválido o sin secciones normalizables", N);
5573
5579
  return;
5574
5580
  }
5575
- console.log("[landing] Firestore OK (json grande):", A), u(B);
5576
- } catch (A) {
5577
- l("error procesando snapshot", A);
5581
+ console.log("[landing] Firestore OK (json grande):", N), u(B);
5582
+ } catch (N) {
5583
+ l("error procesando snapshot", N);
5578
5584
  } finally {
5579
5585
  d(!1);
5580
5586
  }
5581
5587
  },
5582
- ($) => {
5583
- l("error onSnapshot", $);
5588
+ (E) => {
5589
+ l("error onSnapshot", E);
5584
5590
  }
5585
5591
  );
5586
- return () => w();
5592
+ return () => S();
5587
5593
  }, [e, a, o]), ee(() => (Xa(c), () => Ya()), [c]), ee(() => {
5588
- (e ? e.slice() : h.slice()).map(($) => $.componentKey).filter(($) => !!$).length;
5594
+ (e ? e.slice() : h.slice()).map((E) => E.componentKey).filter((E) => !!E).length;
5589
5595
  }, [e, h]);
5590
5596
  const x = async (l) => {
5591
5597
  if (it.includes(l.componentKey))
@@ -5594,185 +5600,185 @@ const it = [
5594
5600
  events: [],
5595
5601
  data: {}
5596
5602
  };
5597
- const w = (l.apiUrl || "").trim();
5598
- if (!w) return;
5599
- const $ = l.apiMethod || "GET", A = l.apiParams || [];
5600
- let B = w, P, J;
5601
- if ($ === "GET") {
5603
+ const S = (l.apiUrl || "").trim();
5604
+ if (!S) return;
5605
+ const E = l.apiMethod || "GET", N = l.apiParams || [];
5606
+ let B = S, L, J;
5607
+ if (E === "GET") {
5602
5608
  const re = new URL(
5603
- w,
5609
+ S,
5604
5610
  typeof window == "undefined" ? "http://localhost" : window.location.origin
5605
5611
  );
5606
- for (const oe of A)
5612
+ for (const oe of N)
5607
5613
  oe.key && re.searchParams.append(oe.key, oe.value);
5608
5614
  B = re.toString();
5609
5615
  } else {
5610
5616
  const re = new URLSearchParams();
5611
- for (const oe of A)
5617
+ for (const oe of N)
5612
5618
  oe.key && re.append(oe.key, oe.value);
5613
- P = re.toString(), J = {
5619
+ L = re.toString(), J = {
5614
5620
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5615
5621
  };
5616
5622
  }
5617
5623
  const te = await fetch(B, {
5618
- method: $,
5624
+ method: E,
5619
5625
  headers: J,
5620
- body: P
5626
+ body: L
5621
5627
  });
5622
5628
  if (!te.ok) throw new ot(te.status, B, te.statusText);
5623
5629
  return te.json();
5624
5630
  }, O = ie(
5625
5631
  () => e ? e.slice() : h.slice(),
5626
5632
  [e, h]
5627
- ), L = fe.useRef(/* @__PURE__ */ new Set());
5633
+ ), P = fe.useRef(/* @__PURE__ */ new Set());
5628
5634
  ee(() => {
5629
- const l = O.map((w) => ({ s: w, url: (w.apiUrl || "").trim() })).filter(({ url: w }) => !!w);
5635
+ const l = O.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
5630
5636
  if (l.length)
5631
- for (const { s: w, url: $ } of l) {
5632
- const A = `${w.id}|${$}`;
5633
- L.current.has(A) || (L.current.add(A), S((B) => ({ ...B, [w.id]: !0 })), v((B) => ({ ...B, [w.id]: "" })), (async () => {
5637
+ for (const { s: S, url: E } of l) {
5638
+ const N = `${S.id}|${E}`;
5639
+ P.current.has(N) || (P.current.add(N), I((B) => ({ ...B, [S.id]: !0 })), v((B) => ({ ...B, [S.id]: "" })), (async () => {
5634
5640
  try {
5635
- const B = await x(w);
5636
- m((P) => ({ ...P, [w.id]: B }));
5641
+ const B = await x(S);
5642
+ m((L) => ({ ...L, [S.id]: B }));
5637
5643
  } catch (B) {
5638
- let P = "Error desconocido";
5639
- B instanceof ot ? P = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? P = "Respuesta no es JSON válido" : B instanceof TypeError ? P = "Fallo de red / CORS / conexión" : typeof B == "string" && (P = B.toString()), v((J) => ({ ...J, [w.id]: P }));
5644
+ let L = "Error desconocido";
5645
+ B instanceof ot ? L = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? L = "Respuesta no es JSON válido" : B instanceof TypeError ? L = "Fallo de red / CORS / conexión" : typeof B == "string" && (L = B.toString()), v((J) => ({ ...J, [S.id]: L }));
5640
5646
  } finally {
5641
- S((B) => ({ ...B, [w.id]: !1 }));
5647
+ I((B) => ({ ...B, [S.id]: !1 }));
5642
5648
  }
5643
5649
  })());
5644
5650
  }
5645
5651
  }, [O]);
5646
5652
  const z = ie(
5647
- () => O.filter((l) => l.visible).filter((l) => k(l, E)).sort((l, w) => l.order - w.order),
5648
- [O, E]
5649
- ), R = (l) => Array.isArray(l) ? l.map((w) => {
5650
- const $ = {};
5651
- for (const A of w.fields || []) {
5652
- const B = (A.type || "string").toLowerCase();
5653
+ () => O.filter((l) => l.visible).filter((l) => $(l, T)).sort((l, S) => l.order - S.order),
5654
+ [O, T]
5655
+ ), R = (l) => Array.isArray(l) ? l.map((S) => {
5656
+ const E = {};
5657
+ for (const N of S.fields || []) {
5658
+ const B = (N.type || "string").toLowerCase();
5653
5659
  if (B === "number") {
5654
- const P = String(A.value || "").trim();
5655
- if (P !== "") {
5656
- const J = Number(P);
5657
- Number.isNaN(J) || ($[A.name] = J);
5660
+ const L = String(N.value || "").trim();
5661
+ if (L !== "") {
5662
+ const J = Number(L);
5663
+ Number.isNaN(J) || (E[N.name] = J);
5658
5664
  }
5659
5665
  } else if (B === "boolean")
5660
- $[A.name] = String(A.value).toLowerCase() === "true";
5666
+ E[N.name] = String(N.value).toLowerCase() === "true";
5661
5667
  else if (B === "function") {
5662
- const P = String(A.value || "").trim();
5663
- if (P)
5668
+ const L = String(N.value || "").trim();
5669
+ if (L)
5664
5670
  try {
5665
- const J = new Function(P);
5666
- $[A.name] = J;
5671
+ const J = new Function(L);
5672
+ E[N.name] = J;
5667
5673
  } catch (J) {
5668
- console.error(`❌ Error creando función en item '${A.name}':`, J);
5674
+ console.error(`❌ Error creando función en item '${N.name}':`, J);
5669
5675
  }
5670
5676
  } else
5671
- $[A.name] = A.value;
5677
+ E[N.name] = N.value;
5672
5678
  }
5673
- return $;
5679
+ return E;
5674
5680
  }) : [], U = (l) => {
5675
- const w = {};
5676
- if (!Array.isArray(l)) return w;
5677
- for (const $ of l) {
5678
- if (!$.name) continue;
5679
- const A = ($.type || "string").toLowerCase();
5680
- if (A === "number") {
5681
- const B = String($.value || "").trim();
5681
+ const S = {};
5682
+ if (!Array.isArray(l)) return S;
5683
+ for (const E of l) {
5684
+ if (!E.name) continue;
5685
+ const N = (E.type || "string").toLowerCase();
5686
+ if (N === "number") {
5687
+ const B = String(E.value || "").trim();
5682
5688
  if (B !== "") {
5683
- const P = Number(B);
5684
- Number.isNaN(P) || (w[$.name] = P);
5689
+ const L = Number(B);
5690
+ Number.isNaN(L) || (S[E.name] = L);
5685
5691
  }
5686
- } else if (A === "boolean")
5687
- w[$.name] = String($.value).toLowerCase() === "true";
5688
- else if (A === "function") {
5689
- const B = String($.value || "").trim();
5692
+ } else if (N === "boolean")
5693
+ S[E.name] = String(E.value).toLowerCase() === "true";
5694
+ else if (N === "function") {
5695
+ const B = String(E.value || "").trim();
5690
5696
  if (B)
5691
5697
  try {
5692
- const P = new Function(B);
5693
- w[$.name] = P;
5694
- } catch (P) {
5695
- console.error(`❌ Error creando función en item '${$.name}':`, P);
5698
+ const L = new Function(B);
5699
+ S[E.name] = L;
5700
+ } catch (L) {
5701
+ console.error(`❌ Error creando función en item '${E.name}':`, L);
5696
5702
  }
5697
5703
  } else
5698
- w[$.name] = $.value;
5704
+ S[E.name] = E.value;
5699
5705
  }
5700
- return w;
5701
- }, W = (l, w, $, A) => {
5702
- const B = $ ? { ...$ } : {}, P = (A || "items").trim() || "items";
5703
- if (w)
5704
- return B[P] = w.arr || [], B;
5706
+ return S;
5707
+ }, W = (l, S, E, N) => {
5708
+ const B = E ? { ...E } : {}, L = (N || "items").trim() || "items";
5709
+ if (S)
5710
+ return B[L] = S.arr || [], B;
5705
5711
  const J = l;
5706
5712
  if (Array.isArray(J))
5707
- return B[P] = J, B;
5713
+ return B[L] = J, B;
5708
5714
  if (J && typeof J == "object") {
5709
5715
  const te = J;
5710
- return Array.isArray(te.lobby) ? (B[P] = te.lobby, B) : Array.isArray(te.items) ? (B[P] = te.items, B) : (B[P] = J, B);
5716
+ return Array.isArray(te.lobby) ? (B[L] = te.lobby, B) : Array.isArray(te.items) ? (B[L] = te.items, B) : (B[L] = J, B);
5711
5717
  }
5712
- return B[P] = [], B;
5718
+ return B[L] = [], B;
5713
5719
  }, G = (l) => {
5714
- var P;
5715
- const w = !!((P = l.apiUrl) != null && P.trim()), $ = w ? g[l.id] : void 0;
5716
- let A = l.props ? { ...l.props } : {};
5720
+ var L;
5721
+ const S = !!((L = l.apiUrl) != null && L.trim()), E = S ? g[l.id] : void 0;
5722
+ let N = l.props ? { ...l.props } : {};
5717
5723
  const B = U(l.manualScalarFields);
5718
5724
  if (it.includes(l.componentKey))
5719
- return { items: $, ...A, ...B };
5720
- if (A = { ...A, ...B }, w)
5721
- A = W($, null, A);
5725
+ return { items: E, ...N, ...B };
5726
+ if (N = { ...N, ...B }, S)
5727
+ N = W(E, null, N);
5722
5728
  else if (l.dataMode === "manual") {
5723
5729
  const J = R(l.manualItems);
5724
- if (A = W(
5730
+ if (N = W(
5725
5731
  null,
5726
5732
  { arr: J, variableName: l.variableName },
5727
- A,
5733
+ N,
5728
5734
  l.variableName
5729
5735
  ), l.variableName2 && l.manualItems2) {
5730
5736
  const te = R(l.manualItems2), re = (l.variableName2 || "items2").trim() || "items2";
5731
- A[re] = te;
5737
+ N[re] = te;
5732
5738
  }
5733
5739
  }
5734
- return A;
5735
- }, C = (l) => {
5736
- const w = l.props ? { ...l.props } : {};
5740
+ return N;
5741
+ }, w = (l) => {
5742
+ const S = l.props ? { ...l.props } : {};
5737
5743
  try {
5738
- Object.assign(w, U(l.manualScalarFields));
5739
- } catch (A) {
5740
- console.error("❌ Error armando scalars vacíos:", l, A);
5744
+ Object.assign(S, U(l.manualScalarFields));
5745
+ } catch (N) {
5746
+ console.error("❌ Error armando scalars vacíos:", l, N);
5741
5747
  }
5742
- const $ = (l.variableName || "items").trim() || "items";
5743
- if (typeof w[$] == "undefined" && (w[$] = []), l.variableName2) {
5744
- const A = (l.variableName2 || "items2").trim() || "items2";
5745
- typeof w[A] == "undefined" && (w[A] = []);
5748
+ const E = (l.variableName || "items").trim() || "items";
5749
+ if (typeof S[E] == "undefined" && (S[E] = []), l.variableName2) {
5750
+ const N = (l.variableName2 || "items2").trim() || "items2";
5751
+ typeof S[N] == "undefined" && (S[N] = []);
5746
5752
  }
5747
- return w;
5748
- }, q = (l) => {
5753
+ return S;
5754
+ }, F = (l) => {
5749
5755
  try {
5750
5756
  return G(l);
5751
- } catch (w) {
5752
- console.error("🔥 ERROR EN buildCompProps:", l, w);
5753
- const $ = T(l);
5754
- if ($ && $ !== l)
5757
+ } catch (S) {
5758
+ console.error("🔥 ERROR EN buildCompProps:", l, S);
5759
+ const E = k(l);
5760
+ if (E && E !== l)
5755
5761
  try {
5756
5762
  return console.warn(
5757
5763
  `[landing] usando fallback local para sección ${l.title} (${l.componentKey})`
5758
- ), G($);
5759
- } catch (A) {
5760
- console.error("🔥 ERROR EN fallback buildCompProps:", $, A);
5764
+ ), G(E);
5765
+ } catch (N) {
5766
+ console.error("🔥 ERROR EN fallback buildCompProps:", E, N);
5761
5767
  }
5762
- return C(l);
5768
+ return w(l);
5763
5769
  }
5764
- }, K = (l, w, $) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5770
+ }, K = (l, S, E) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5765
5771
  loading: "bg-blue-100 text-blue-800",
5766
5772
  error: "bg-red-100 text-red-800",
5767
5773
  component: "bg-yellow-100 text-yellow-800"
5768
- }[w]}`, children: $ }, l), Y = (l) => {
5774
+ }[S]}`, children: E }, l), Y = (l) => {
5769
5775
  var He;
5770
- const w = l.componentKey, $ = no[w], B = (/* @__PURE__ */ new Set([
5776
+ const S = l.componentKey, E = no[S], B = (/* @__PURE__ */ new Set([
5771
5777
  "OraculoSeccionBanners",
5772
5778
  "OraculoSeccionBonoBienvenida",
5773
5779
  "OraculoSeccionCasinoEnVivo",
5774
5780
  "OraculoSeccionClubOlimpo",
5775
- ...I ? [] : [
5781
+ ...C ? [] : [
5776
5782
  "OraculoSeccionEventoEnVivo",
5777
5783
  "OraculoSeccionEventoSemana",
5778
5784
  "OraculoSeccionEventoCombinadas",
@@ -5780,20 +5786,20 @@ const it = [
5780
5786
  "OraculoSeccionDestacados",
5781
5787
  "OraculoSeccionCasino"
5782
5788
  ]
5783
- ])).has(l.componentKey), P = I ? 120 : 24, J = (I ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5789
+ ])).has(l.componentKey), L = C ? 120 : 24, J = (C ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5784
5790
  width: "100%",
5785
5791
  boxSizing: "border-box",
5786
- ...B ? {} : { paddingLeft: P, paddingRight: P },
5792
+ ...B ? {} : { paddingLeft: L, paddingRight: L },
5787
5793
  ...te ? {
5788
5794
  marginTop: -J,
5789
5795
  marginBottom: -J
5790
5796
  } : {}
5791
5797
  };
5792
- if (!$)
5793
- return console.warn(`No hay componente registrado para "${w}"`), K(
5798
+ if (!E)
5799
+ return console.warn(`No hay componente registrado para "${S}"`), K(
5794
5800
  l.id,
5795
5801
  "component",
5796
- `Componente "${w}" no encontrado`
5802
+ `Componente "${S}" no encontrado`
5797
5803
  );
5798
5804
  const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? g[l.id] : void 0, Ct = oe ? !!_[l.id] : !1, Ge = oe ? y[l.id] : "";
5799
5805
  if (oe) {
@@ -5804,11 +5810,11 @@ const it = [
5804
5810
  `Cargando datos desde ${l.apiUrl}...`
5805
5811
  );
5806
5812
  if (Ge && !We) {
5807
- const we = T(l);
5813
+ const we = k(l);
5808
5814
  if (we && we.dataMode === "manual")
5809
5815
  try {
5810
- const Re = q(we);
5811
- return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t($, { ...Re }) }, l.id);
5816
+ const Re = F(we);
5817
+ return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(E, { ...Re }) }, l.id);
5812
5818
  } catch (Re) {
5813
5819
  console.error(
5814
5820
  "🔥 ERROR renderizando fallback manual de sección:",
@@ -5823,7 +5829,7 @@ const it = [
5823
5829
  );
5824
5830
  }
5825
5831
  }
5826
- const je = q(l), Ot = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5832
+ const je = F(l), Ot = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5827
5833
  ...je,
5828
5834
  user: c.user
5829
5835
  } : je;
@@ -5832,7 +5838,7 @@ const it = [
5832
5838
  {
5833
5839
  style: re,
5834
5840
  className: "oraculo-section-wrapper",
5835
- children: /* @__PURE__ */ t($, { ...Ot })
5841
+ children: /* @__PURE__ */ t(E, { ...Ot })
5836
5842
  },
5837
5843
  l.id
5838
5844
  ) });
@@ -5851,11 +5857,11 @@ const it = [
5851
5857
  maxWidth: "100%",
5852
5858
  overflowX: "hidden"
5853
5859
  },
5854
- children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: I ? 8 : 5, useFlexGap: !0, children: z.map((l) => {
5860
+ children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: C ? 8 : 5, useFlexGap: !0, children: z.map((l) => {
5855
5861
  try {
5856
5862
  return Y(l);
5857
- } catch (w) {
5858
- return console.error("🔥 ERROR EN SECTION:", l, w), null;
5863
+ } catch (S) {
5864
+ return console.error("🔥 ERROR EN SECTION:", l, S), null;
5859
5865
  }
5860
5866
  }) })
5861
5867
  }