oraculo-ui 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -23,28 +23,28 @@ function K({
23
23
  type: l = "button",
24
24
  disabled: s = !1,
25
25
  variant: u = "primary",
26
- size: h,
27
- fullWidth: f = !1,
26
+ size: b,
27
+ fullWidth: h = !1,
28
28
  fullHeight: r = !1,
29
29
  className: c = "",
30
30
  ariaLabel: m,
31
- leftIcon: g,
32
- rightIcon: y,
31
+ leftIcon: f,
32
+ rightIcon: _,
33
33
  iconOnly: T
34
34
  }) {
35
- const C = !!e && e !== !0, A = (!!g ? 1 : 0) + (!!y ? 1 : 0) == 1, R = T != null ? T : A && !C, M = [
35
+ const C = !!e && e !== !0, A = (!!f ? 1 : 0) + (!!_ ? 1 : 0) == 1, L = T != null ? T : A && !C, M = [
36
36
  "orc-btn",
37
37
  u === "secondary" ? "orc-btn--secondary" : u === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
- h ? `orc-btn--${h}` : "",
39
- f ? "orc-btn--full" : "",
38
+ b ? `orc-btn--${b}` : "",
39
+ h ? "orc-btn--full" : "",
40
40
  r ? "orc-btn--fullHeight" : "",
41
- R ? "orc-btn--iconOnly" : "",
41
+ L ? "orc-btn--iconOnly" : "",
42
42
  c
43
- ].filter(Boolean).join(" "), N = /* @__PURE__ */ p(ae, { children: [
44
- g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
45
- !R && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
- y && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: y })
47
- ] }), _ = s ? !0 : void 0;
43
+ ].filter(Boolean).join(" "), F = /* @__PURE__ */ p(ae, { children: [
44
+ f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
45
+ !L && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
+ _ && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: _ })
47
+ ] }), w = s ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
49
  Xe,
50
50
  {
@@ -52,21 +52,21 @@ function K({
52
52
  target: o,
53
53
  rel: i,
54
54
  "aria-label": m,
55
- "aria-disabled": _,
56
- tabIndex: _ ? -1 : void 0,
55
+ "aria-disabled": w,
56
+ tabIndex: w ? -1 : void 0,
57
57
  className: M,
58
- onClick: _ ? (L) => L.preventDefault() : a,
59
- children: N
58
+ onClick: w ? (N) => N.preventDefault() : a,
59
+ children: F
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
63
63
  {
64
64
  type: l,
65
65
  onClick: a,
66
- disabled: !!_,
66
+ disabled: !!w,
67
67
  "aria-label": m,
68
68
  className: M,
69
- children: N
69
+ children: F
70
70
  }
71
71
  );
72
72
  }
@@ -103,26 +103,26 @@ const at = ({
103
103
  if (e <= 1) return null;
104
104
  const l = ["orc-dots", o].filter(Boolean).join(" "), [s, u] = H(0);
105
105
  return J(() => {
106
- u((h) => h + 1);
107
- }, [a, i]), /* @__PURE__ */ t("div", { className: l, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((h, f) => {
108
- const r = f === a;
106
+ u((b) => b + 1);
107
+ }, [a, i]), /* @__PURE__ */ t("div", { className: l, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((b, h) => {
108
+ const r = h === a;
109
109
  return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
110
110
  "button",
111
111
  {
112
112
  type: "button",
113
113
  role: "tab",
114
114
  "aria-selected": r,
115
- "aria-label": `Ir al slide ${f + 1}`,
115
+ "aria-label": `Ir al slide ${h + 1}`,
116
116
  className: "orc-dots__dot" + (r ? " orc-dots__dot--active" : ""),
117
117
  style: r ? {
118
118
  "--dot-progress-ms": `${i}ms`
119
119
  } : void 0,
120
120
  onClick: () => {
121
- r && u((c) => c + 1), n == null || n(f);
121
+ r && u((c) => c + 1), n == null || n(h);
122
122
  }
123
123
  },
124
- r ? `a-${f}-${s}` : `i-${f}`
125
- ) }, f);
124
+ r ? `a-${h}-${s}` : `i-${h}`
125
+ ) }, h);
126
126
  }) });
127
127
  };
128
128
  function re({
@@ -388,19 +388,19 @@ function aa(e, a, {
388
388
  if (!n) return;
389
389
  const u = e.current;
390
390
  if (!u) return;
391
- const h = (f) => {
391
+ const b = (h) => {
392
392
  const r = a.current;
393
393
  if (!r || !r.go) return;
394
- const { deltaX: c, deltaY: m } = f;
394
+ const { deltaX: c, deltaY: m } = h;
395
395
  if (Math.abs(c) <= Math.abs(m)) return;
396
- f.preventDefault(), l.current += c;
397
- const g = Date.now();
398
- if (g - s.current < i || Math.abs(l.current) < o) return;
399
- const y = l.current > 0 ? ">" : "<";
400
- l.current = 0, s.current = g, r.go(y);
396
+ h.preventDefault(), l.current += c;
397
+ const f = Date.now();
398
+ if (f - s.current < i || Math.abs(l.current) < o) return;
399
+ const _ = l.current > 0 ? ">" : "<";
400
+ l.current = 0, s.current = f, r.go(_);
401
401
  };
402
- return u.addEventListener("wheel", h, { passive: !1 }), () => {
403
- u.removeEventListener("wheel", h), l.current = 0;
402
+ return u.addEventListener("wheel", b, { passive: !1 }), () => {
403
+ u.removeEventListener("wheel", b), l.current = 0;
404
404
  };
405
405
  }, [n, o, i, e, a]);
406
406
  }
@@ -419,85 +419,85 @@ const na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", oa = "ora
419
419
  options: l = {},
420
420
  className: s = "",
421
421
  onMove: u,
422
- useIndexAsKey: h = !1,
423
- enableHorizontalWheel: f = !0,
422
+ useIndexAsKey: b = !1,
423
+ enableHorizontalWheel: h = !0,
424
424
  showRightGradient: r = !1
425
425
  }, c) => {
426
- const m = W(null), g = W(null), y = W(e.length), T = W(null), C = W(null);
427
- aa(g, m, {
428
- enabled: f
426
+ const m = W(null), f = W(null), _ = W(e.length), T = W(null), C = W(null);
427
+ aa(f, m, {
428
+ enabled: h
429
429
  }), bt(c, () => ({
430
430
  next: () => {
431
- var _;
432
- return (_ = m.current) == null ? void 0 : _.go(">");
431
+ var w;
432
+ return (w = m.current) == null ? void 0 : w.go(">");
433
433
  },
434
434
  prev: () => {
435
- var _;
436
- return (_ = m.current) == null ? void 0 : _.go("<");
435
+ var w;
436
+ return (w = m.current) == null ? void 0 : w.go("<");
437
437
  },
438
- go: (_) => {
439
- var L;
440
- return (L = m.current) == null ? void 0 : L.go(_);
438
+ go: (w) => {
439
+ var N;
440
+ return (N = m.current) == null ? void 0 : N.go(w);
441
441
  }
442
442
  }));
443
- const I = (_) => {
443
+ const I = (w) => {
444
444
  var $;
445
- const L = _.Components.Slides, z = _.Components.Controller, E = _.root.querySelector(".splide__track"), O = ($ = E == null ? void 0 : E.clientWidth) != null ? $ : 0, P = z.getIndex(), q = L.getLength();
446
- let b = 0, F = P;
447
- for (let d = P; d < q; d++) {
448
- const x = L.getAt(d);
449
- if (!x || (b += x.slide.offsetWidth, b > O)) break;
450
- F = d;
445
+ const N = w.Components.Slides, P = w.Components.Controller, E = w.root.querySelector(".splide__track"), O = ($ = E == null ? void 0 : E.clientWidth) != null ? $ : 0, R = P.getIndex(), q = N.getLength();
446
+ let g = 0, z = R;
447
+ for (let d = R; d < q; d++) {
448
+ const y = N.getAt(d);
449
+ if (!y || (g += y.slide.offsetWidth, g > O)) break;
450
+ z = d;
451
451
  }
452
- return { visibleStart: P, visibleEnd: F };
453
- }, k = (_) => {
454
- const L = _.root.querySelector(".splide__track"), z = _.root.querySelector(".splide__list");
455
- return !L || !z ? !1 : z.scrollWidth > L.clientWidth + 1;
456
- }, A = xe((_) => {
457
- var F, $;
458
- const z = _.Components.Slides.getLength();
459
- if (!k(_)) {
452
+ return { visibleStart: R, visibleEnd: z };
453
+ }, k = (w) => {
454
+ const N = w.root.querySelector(".splide__track"), P = w.root.querySelector(".splide__list");
455
+ return !N || !P ? !1 : P.scrollWidth > N.clientWidth + 1;
456
+ }, A = xe((w) => {
457
+ var z, $;
458
+ const P = w.Components.Slides.getLength();
459
+ if (!k(w)) {
460
460
  u == null || u({
461
461
  index: 0,
462
462
  isStart: !0,
463
463
  isEnd: !0,
464
- total: z,
464
+ total: P,
465
465
  visibleStart: 0,
466
- visibleEnd: z - 1
466
+ visibleEnd: P - 1
467
467
  });
468
468
  return;
469
469
  }
470
- const { visibleStart: E, visibleEnd: O } = I(_), P = E === 0, q = O === z - 1;
471
- r && ((F = T.current) == null || F.style.setProperty("--gradient-opacity", P ? "0" : "1"), ($ = C.current) == null || $.style.setProperty("--gradient-opacity", q ? "0" : "1"));
472
- const b = _.Components.Controller.getIndex();
470
+ const { visibleStart: E, visibleEnd: O } = I(w), R = E === 0, q = O === P - 1;
471
+ r && ((z = T.current) == null || z.style.setProperty("--gradient-opacity", R ? "0" : "1"), ($ = C.current) == null || $.style.setProperty("--gradient-opacity", q ? "0" : "1"));
472
+ const g = w.Components.Controller.getIndex();
473
473
  u == null || u({
474
- index: b,
475
- isStart: P,
474
+ index: g,
475
+ isStart: R,
476
476
  isEnd: q,
477
- total: z,
477
+ total: P,
478
478
  visibleStart: E,
479
479
  visibleEnd: O
480
480
  });
481
481
  }, [u]);
482
482
  ue.useEffect(() => {
483
- var z;
484
- const _ = (z = m.current) == null ? void 0 : z.splide;
485
- if (!_) return;
486
- const L = y.current !== e.length;
487
- y.current = e.length, L && requestAnimationFrame(() => {
488
- _.refresh(), A(_);
483
+ var P;
484
+ const w = (P = m.current) == null ? void 0 : P.splide;
485
+ if (!w) return;
486
+ const N = _.current !== e.length;
487
+ _.current = e.length, N && requestAnimationFrame(() => {
488
+ w.refresh(), A(w);
489
489
  });
490
490
  }, [e.length, A]);
491
- const R = xe(() => {
492
- var L;
493
- const _ = (L = m.current) == null ? void 0 : L.splide;
494
- _ && (_.go(0, !1), A(_));
491
+ const L = xe(() => {
492
+ var N;
493
+ const w = (N = m.current) == null ? void 0 : N.splide;
494
+ w && (w.go(0, !1), A(w));
495
495
  }, [A]), M = xe(
496
- (_) => {
497
- A(_);
496
+ (w) => {
497
+ A(w);
498
498
  },
499
499
  [A]
500
- ), N = {
500
+ ), F = {
501
501
  type: "slide",
502
502
  trimSpace: !1,
503
503
  drag: !0,
@@ -510,12 +510,12 @@ const na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", oa = "ora
510
510
  gap: o,
511
511
  breakpoints: i,
512
512
  ...l,
513
- ...f ? { wheel: !1 } : {}
513
+ ...h ? { wheel: !1 } : {}
514
514
  };
515
515
  return /* @__PURE__ */ p(
516
516
  "div",
517
517
  {
518
- ref: g,
518
+ ref: f,
519
519
  className: s,
520
520
  style: { width: "100%", position: "relative", height: "100%" },
521
521
  children: [
@@ -523,13 +523,13 @@ const na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", oa = "ora
523
523
  la,
524
524
  {
525
525
  ref: m,
526
- options: N,
526
+ options: F,
527
527
  onMove: A,
528
528
  onMounted: M,
529
- onResize: R,
530
- children: e.map((_, L) => {
531
- var z;
532
- return /* @__PURE__ */ t(sa, { children: a(_, L) }, h ? L : (z = _.id) != null ? z : L);
529
+ onResize: L,
530
+ children: e.map((w, N) => {
531
+ var P;
532
+ return /* @__PURE__ */ t(sa, { children: a(w, N) }, b ? N : (P = w.id) != null ? P : N);
533
533
  })
534
534
  }
535
535
  ),
@@ -686,16 +686,16 @@ function ca({
686
686
  md: { w: 186, h: 264, r: 22.6, font: 64 }
687
687
  }
688
688
  }) {
689
- var c, m, g, y;
689
+ var c, m, f, _;
690
690
  const l = (T, C) => {
691
- var I, k, A, R;
691
+ var I, k, A, L;
692
692
  return {
693
693
  xs: (k = (I = i.xs) == null ? void 0 : I[T]) != null ? k : C,
694
- md: (R = (A = i.md) == null ? void 0 : A[T]) != null ? R : C
694
+ md: (L = (A = i.md) == null ? void 0 : A[T]) != null ? L : C
695
695
  };
696
- }, s = l("w", 186), u = l("h", 264), h = l("r", 22.6), f = l("font", 64), r = {
696
+ }, s = l("w", 186), u = l("h", 264), b = l("r", 22.6), h = l("font", 64), r = {
697
697
  xs: Math.round(((m = (c = i.xs) == null ? void 0 : c.font) != null ? m : 64) * 0.28),
698
- md: Math.round(((y = (g = i.md) == null ? void 0 : g.font) != null ? y : 64) * 0.28)
698
+ md: Math.round(((_ = (f = i.md) == null ? void 0 : f.font) != null ? _ : 64) * 0.28)
699
699
  };
700
700
  return /* @__PURE__ */ p(
701
701
  U,
@@ -708,7 +708,7 @@ function ca({
708
708
  xs: `${s.xs}/${u.xs}`,
709
709
  md: `${s.md}/${u.md}`
710
710
  },
711
- borderRadius: { xs: `${h.xs}px`, md: `${h.md}px` },
711
+ borderRadius: { xs: `${b.xs}px`, md: `${b.md}px` },
712
712
  boxSizing: "border-box",
713
713
  overflow: "visible",
714
714
  pb: { xs: `${r.xs}px`, md: `${r.md}px` },
@@ -771,8 +771,8 @@ function ca({
771
771
  },
772
772
  fontFamily: '"secondary", sans-serif',
773
773
  fontSize: {
774
- xs: `${f.xs}px`,
775
- md: `${f.md}px`
774
+ xs: `${h.xs}px`,
775
+ md: `${h.md}px`
776
776
  },
777
777
  lineHeight: 1,
778
778
  color: "#3CC666",
@@ -890,7 +890,7 @@ const da = ({
890
890
  }) => {
891
891
  var l, s;
892
892
  if (a === "mosaic") {
893
- const u = e[0], h = e.slice(1, 5);
893
+ const u = e[0], b = e.slice(1, 5);
894
894
  return /* @__PURE__ */ p(
895
895
  U,
896
896
  {
@@ -936,7 +936,7 @@ const da = ({
936
936
  )
937
937
  }
938
938
  ),
939
- (o ? Array.from({ length: 4 }) : h).map((f, r) => {
939
+ (o ? Array.from({ length: 4 }) : b).map((h, r) => {
940
940
  var c, m;
941
941
  return /* @__PURE__ */ t(
942
942
  U,
@@ -950,14 +950,14 @@ const da = ({
950
950
  children: o ? /* @__PURE__ */ t(Me, {}) : /* @__PURE__ */ t(
951
951
  we,
952
952
  {
953
- imageUrl: `https://olimpo.bet${(m = (c = f.background) != null ? c : f.imageUrl) != null ? m : ""}`,
953
+ imageUrl: `https://olimpo.bet${(m = (c = h.background) != null ? c : h.imageUrl) != null ? m : ""}`,
954
954
  size: "sm",
955
955
  fillParent: !0,
956
- onClick: () => n == null ? void 0 : n(f, r + 1)
956
+ onClick: () => n == null ? void 0 : n(h, r + 1)
957
957
  }
958
958
  )
959
959
  },
960
- o ? `sk-${r}` : f.id
960
+ o ? `sk-${r}` : h.id
961
961
  );
962
962
  })
963
963
  ]
@@ -980,8 +980,8 @@ const da = ({
980
980
  gap: `${Ne}px`,
981
981
  gridAutoFlow: "column"
982
982
  },
983
- children: (o ? Array.from({ length: i }) : e).map((u, h) => {
984
- var f, r, c;
983
+ children: (o ? Array.from({ length: i }) : e).map((u, b) => {
984
+ var h, r, c;
985
985
  return /* @__PURE__ */ t(
986
986
  U,
987
987
  {
@@ -989,14 +989,14 @@ const da = ({
989
989
  children: o ? /* @__PURE__ */ t(Me, {}) : /* @__PURE__ */ t(
990
990
  we,
991
991
  {
992
- imageUrl: `https://olimpo.bet${(r = (f = u.background) != null ? f : u.imageUrl) != null ? r : ""}`,
992
+ imageUrl: `https://olimpo.bet${(r = (h = u.background) != null ? h : u.imageUrl) != null ? r : ""}`,
993
993
  size: "sm",
994
994
  fillParent: !0,
995
- onClick: () => n == null ? void 0 : n(u, h)
995
+ onClick: () => n == null ? void 0 : n(u, b)
996
996
  }
997
997
  )
998
998
  },
999
- o ? `sk-${h}` : (c = u.id) != null ? c : h
999
+ o ? `sk-${b}` : (c = u.id) != null ? c : b
1000
1000
  );
1001
1001
  })
1002
1002
  }
@@ -1010,9 +1010,9 @@ const da = ({
1010
1010
  backgroundImage: l,
1011
1011
  alt: s,
1012
1012
  className: u = "",
1013
- variant: h = "small"
1013
+ variant: b = "small"
1014
1014
  }) => {
1015
- const f = a ? a.slice(0, 2) : "", r = a ? a.slice(2) : "", c = h === "large";
1015
+ const h = a ? a.slice(0, 2) : "", r = a ? a.slice(2) : "", c = b === "large";
1016
1016
  return /* @__PURE__ */ p(
1017
1017
  U,
1018
1018
  {
@@ -1118,7 +1118,7 @@ const da = ({
1118
1118
  {
1119
1119
  component: "span",
1120
1120
  sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
1121
- children: f
1121
+ children: h
1122
1122
  }
1123
1123
  ),
1124
1124
  /* @__PURE__ */ t(
@@ -1248,37 +1248,37 @@ const ct = _t(void 0), Le = ({ children: e, docId: a }) => {
1248
1248
  return e.docId;
1249
1249
  };
1250
1250
  function Ca({ coupon: e }) {
1251
- var f;
1251
+ var h;
1252
1252
  const a = Q(), n = ee();
1253
1253
  function o(r) {
1254
- var g, y;
1254
+ var f, _;
1255
1255
  const c = [], m = Array.from(
1256
1256
  new Map(
1257
- ((g = r == null ? void 0 : r.events) != null ? g : []).filter(Boolean).map((T) => [T.id, T])
1257
+ ((f = r == null ? void 0 : r.events) != null ? f : []).filter(Boolean).map((T) => [T.id, T])
1258
1258
  ).values()
1259
1259
  );
1260
1260
  return m.forEach((T) => {
1261
1261
  var A;
1262
1262
  const C = (A = T.betoffers) != null ? A : [], I = T.homeName, k = T.awayName;
1263
- C.forEach((R) => {
1264
- var L, z, E, O, P, q, b;
1265
- if (!((L = R == null ? void 0 : R.outcomes) != null && L.length)) return;
1266
- const M = R.outcomes[0];
1263
+ C.forEach((L) => {
1264
+ var N, P, E, O, R, q, g;
1265
+ if (!((N = L == null ? void 0 : L.outcomes) != null && N.length)) return;
1266
+ const M = L.outcomes[0];
1267
1267
  if (!M) return;
1268
- let N = "";
1269
- const _ = M != null && M.line ? M.line / 1e3 : "";
1270
- ["Más de", "Mas de", "Over"].includes(M.label) ? (N = `Más de ${_}`, M.participant && (N = `${M.participant} - ${N}`)) : ["Menos de", "Menos", "Under"].includes(M.label) ? (N = `Menos de ${_}`, M.participant && (N = `${M.participant} - ${N}`)) : ["Sí", "No"].includes(M.label) ? (N = M.label, M.participant && (N = `${M.participant} - ${N}`)) : ["1X", "12", "X2"].includes(M.label) ? (M.label === "1X" && (N = `${I} o Empate`), M.label === "12" && (N = `${I} o ${k}`), M.label === "X2" && (N = `${k} o Empate`)) : (N = (E = (z = M.participant) != null ? z : M.label) != null ? E : "", _ !== "" && N === M.label && (N = `${M.label} ${_}`)), c.push({
1268
+ let F = "";
1269
+ const w = M != null && M.line ? M.line / 1e3 : "";
1270
+ ["Más de", "Mas de", "Over"].includes(M.label) ? (F = `Más de ${w}`, M.participant && (F = `${M.participant} - ${F}`)) : ["Menos de", "Menos", "Under"].includes(M.label) ? (F = `Menos de ${w}`, M.participant && (F = `${M.participant} - ${F}`)) : ["Sí", "No"].includes(M.label) ? (F = M.label, M.participant && (F = `${M.participant} - ${F}`)) : ["1X", "12", "X2"].includes(M.label) ? (M.label === "1X" && (F = `${I} o Empate`), M.label === "12" && (F = `${I} o ${k}`), M.label === "X2" && (F = `${k} o Empate`)) : (F = (E = (P = M.participant) != null ? P : M.label) != null ? E : "", w !== "" && F === M.label && (F = `${M.label} ${w}`)), c.push({
1271
1271
  id: M.id,
1272
- value: N,
1273
- label: (P = (O = R.criterion) == null ? void 0 : O.label) != null ? P : "",
1272
+ value: F,
1273
+ label: (R = (O = L.criterion) == null ? void 0 : O.label) != null ? R : "",
1274
1274
  odds: (q = M.odds) != null ? q : 0,
1275
- position: (b = M.position) != null ? b : 0,
1275
+ position: (g = M.position) != null ? g : 0,
1276
1276
  eventId: T.id
1277
1277
  });
1278
1278
  });
1279
1279
  }), {
1280
1280
  outcomes: c.sort((T, C) => T.position - C.position),
1281
- total: Number((y = r == null ? void 0 : r.combinadoTotal) != null ? y : 0).toLocaleString("en-US", {
1281
+ total: Number((_ = r == null ? void 0 : r.combinadoTotal) != null ? _ : 0).toLocaleString("en-US", {
1282
1282
  minimumFractionDigits: 2,
1283
1283
  maximumFractionDigits: 2
1284
1284
  }),
@@ -1292,23 +1292,23 @@ function Ca({ coupon: e }) {
1292
1292
  if (c.length === 1)
1293
1293
  return `/deportes#event/${c[0].id}`;
1294
1294
  const m = c[0].groupId;
1295
- if (c.every((y) => y.groupId === m)) {
1296
- const y = c[0].path;
1297
- if (Array.isArray(y) && y.length > 0)
1298
- return `/deportes#sports-hub/${y.map((C) => C.termKey).filter(Boolean).join("/")}`;
1295
+ if (c.every((_) => _.groupId === m)) {
1296
+ const _ = c[0].path;
1297
+ if (Array.isArray(_) && _.length > 0)
1298
+ return `/deportes#sports-hub/${_.map((C) => C.termKey).filter(Boolean).join("/")}`;
1299
1299
  }
1300
1300
  return "/deportes#home";
1301
1301
  }
1302
1302
  const l = (r, c) => {
1303
- const m = Array.isArray(r) ? r : [r], g = Array.from(
1303
+ const m = Array.isArray(r) ? r : [r], f = Array.from(
1304
1304
  new Set(
1305
1305
  s.outcomes.map((C) => {
1306
1306
  var k;
1307
- const I = h.get(Number(C.eventId));
1307
+ const I = b.get(Number(C.eventId));
1308
1308
  return (k = I == null ? void 0 : I.name) != null ? k : "";
1309
1309
  })
1310
1310
  )
1311
- ).filter(Boolean), y = g.length > 0 ? g.join(" + ") : JSON.stringify(m), T = c ? `${y} - Cuota: ${c}` : y;
1311
+ ).filter(Boolean), _ = f.length > 0 ? f.join(" + ") : JSON.stringify(m), T = c ? `${_} - Cuota: ${c}` : _;
1312
1312
  a({
1313
1313
  element: "evento_semana_outcome",
1314
1314
  label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${T}`,
@@ -1321,13 +1321,13 @@ function Ca({ coupon: e }) {
1321
1321
  tags: { section: "OraculoEventCombinadasCard", outcomes: T }
1322
1322
  }), Re(i(e), r);
1323
1323
  };
1324
- if (!((f = e == null ? void 0 : e.events) != null && f.length)) return null;
1325
- const s = o(e), u = s.outcomes.reduce((r, c) => (r[c.eventId] || (r[c.eventId] = []), r[c.eventId].push(c), r), {}), h = new Map(
1324
+ if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
1325
+ const s = o(e), u = s.outcomes.reduce((r, c) => (r[c.eventId] || (r[c.eventId] = []), r[c.eventId].push(c), r), {}), b = new Map(
1326
1326
  s.events.map((r) => [r.id, r])
1327
1327
  );
1328
1328
  return /* @__PURE__ */ p("div", { className: ne.card, children: [
1329
1329
  /* @__PURE__ */ t("div", { className: ne.combinadas, children: /* @__PURE__ */ t("div", { className: ne.combinadasScroll, children: /* @__PURE__ */ t(j, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(u).reverse().map(([r, c]) => {
1330
- const m = h.get(Number(r));
1330
+ const m = b.get(Number(r));
1331
1331
  return m ? /* @__PURE__ */ p(
1332
1332
  j,
1333
1333
  {
@@ -1350,17 +1350,17 @@ function Ca({ coupon: e }) {
1350
1350
  src: "/assets/img/home/Combinadas/line.png"
1351
1351
  }
1352
1352
  ),
1353
- c.map((g, y) => /* @__PURE__ */ p("div", { className: ne.apuestaItem, children: [
1353
+ c.map((f, _) => /* @__PURE__ */ p("div", { className: ne.apuestaItem, children: [
1354
1354
  /* @__PURE__ */ p("div", { className: ne.lineContainer, children: [
1355
1355
  /* @__PURE__ */ t("div", { className: ne.circle }),
1356
- y < c.length - 1 && /* @__PURE__ */ t("div", { className: ne.line })
1356
+ _ < c.length - 1 && /* @__PURE__ */ t("div", { className: ne.line })
1357
1357
  ] }),
1358
1358
  /* @__PURE__ */ p("div", { className: ne.apuestaText, children: [
1359
- /* @__PURE__ */ t("strong", { children: g.value }),
1359
+ /* @__PURE__ */ t("strong", { children: f.value }),
1360
1360
  " | ",
1361
- g.label
1361
+ f.label
1362
1362
  ] })
1363
- ] }, `${r}-${y}`))
1363
+ ] }, `${r}-${_}`))
1364
1364
  ]
1365
1365
  },
1366
1366
  r
@@ -1415,31 +1415,31 @@ function Oa({
1415
1415
  type: l = "button",
1416
1416
  disabled: s = !1,
1417
1417
  variant: u = "primary",
1418
- size: h,
1419
- fullWidth: f = !1,
1418
+ size: b,
1419
+ fullWidth: h = !1,
1420
1420
  fullHeight: r = !1,
1421
1421
  className: c = "",
1422
1422
  ariaLabel: m,
1423
- leftIcon: g,
1424
- rightIcon: y,
1423
+ leftIcon: f,
1424
+ rightIcon: _,
1425
1425
  iconOnly: T
1426
1426
  }) {
1427
- const C = !!e && e !== !0, A = (!!g ? 1 : 0) + (!!y ? 1 : 0) == 1, R = T != null ? T : A && !C, M = [
1427
+ const C = !!e && e !== !0, A = (!!f ? 1 : 0) + (!!_ ? 1 : 0) == 1, L = T != null ? T : A && !C, M = [
1428
1428
  oe["orc-btn"],
1429
1429
  // base
1430
1430
  oe[`orc-btn--${u}`],
1431
1431
  // variant primary/secondary/tertiary
1432
- h ? oe[`orc-btn--${h}`] : "",
1432
+ b ? oe[`orc-btn--${b}`] : "",
1433
1433
  // sm / md / lg
1434
- f ? oe["orc-btn--full"] : "",
1434
+ h ? oe["orc-btn--full"] : "",
1435
1435
  r ? oe["orc-btn--fullHeight"] : "",
1436
- R ? oe["orc-btn--iconOnly"] : "",
1436
+ L ? oe["orc-btn--iconOnly"] : "",
1437
1437
  c
1438
- ].filter(Boolean).join(" "), N = /* @__PURE__ */ p(ae, { children: [
1439
- g && /* @__PURE__ */ t("span", { className: oe["orc-btn__icon"], children: g }),
1440
- !R && /* @__PURE__ */ t("span", { className: oe["orc-btn__label"], children: e }),
1441
- y && /* @__PURE__ */ t("span", { className: oe["orc-btn__icon"], children: y })
1442
- ] }), _ = s ? !0 : void 0;
1438
+ ].filter(Boolean).join(" "), F = /* @__PURE__ */ p(ae, { children: [
1439
+ f && /* @__PURE__ */ t("span", { className: oe["orc-btn__icon"], children: f }),
1440
+ !L && /* @__PURE__ */ t("span", { className: oe["orc-btn__label"], children: e }),
1441
+ _ && /* @__PURE__ */ t("span", { className: oe["orc-btn__icon"], children: _ })
1442
+ ] }), w = s ? !0 : void 0;
1443
1443
  return n ? /* @__PURE__ */ t(
1444
1444
  Xe,
1445
1445
  {
@@ -1447,21 +1447,21 @@ function Oa({
1447
1447
  target: o,
1448
1448
  rel: i,
1449
1449
  "aria-label": m,
1450
- "aria-disabled": _,
1451
- tabIndex: _ ? -1 : void 0,
1450
+ "aria-disabled": w,
1451
+ tabIndex: w ? -1 : void 0,
1452
1452
  className: M,
1453
- onClick: _ ? (L) => L.preventDefault() : a,
1454
- children: N
1453
+ onClick: w ? (N) => N.preventDefault() : a,
1454
+ children: F
1455
1455
  }
1456
1456
  ) : /* @__PURE__ */ t(
1457
1457
  "button",
1458
1458
  {
1459
1459
  type: l,
1460
1460
  onClick: a,
1461
- disabled: !!_,
1461
+ disabled: !!w,
1462
1462
  "aria-label": m,
1463
1463
  className: M,
1464
- children: N
1464
+ children: F
1465
1465
  }
1466
1466
  );
1467
1467
  }
@@ -1491,7 +1491,7 @@ const Ea = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Ia = "
1491
1491
  return o || (a === "home" ? Ve : De);
1492
1492
  };
1493
1493
  function ka({ event: e, liveData: a, betOffers: n, jersey: o }) {
1494
- var u, h, f, r, c, m, g, y, T, C, I;
1494
+ var u, b, h, r, c, m, f, _, T, C, I;
1495
1495
  const i = n == null ? void 0 : n.find(
1496
1496
  (k) => {
1497
1497
  var A;
@@ -1516,7 +1516,7 @@ function ka({ event: e, liveData: a, betOffers: n, jersey: o }) {
1516
1516
  /* @__PURE__ */ t(
1517
1517
  At,
1518
1518
  {
1519
- title: (f = (h = (u = e == null ? void 0 : e.path) == null ? void 0 : u[0]) == null ? void 0 : h.name) != null ? f : "",
1519
+ title: (h = (b = (u = e == null ? void 0 : e.path) == null ? void 0 : u[0]) == null ? void 0 : b.name) != null ? h : "",
1520
1520
  subtitle: (r = e == null ? void 0 : e.group) != null ? r : "",
1521
1521
  live: !0,
1522
1522
  time: ((c = a == null ? void 0 : a.matchClock) == null ? void 0 : c.minute) != null ? `${a.matchClock.minute}'` : ""
@@ -1524,7 +1524,7 @@ function ka({ event: e, liveData: a, betOffers: n, jersey: o }) {
1524
1524
  ),
1525
1525
  /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ p(re, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1526
1526
  /* @__PURE__ */ t(Oe, { name: e == null ? void 0 : e.homeName, jersey: Ee(o, "home") }),
1527
- /* @__PURE__ */ t(it, { text: ((g = (m = a == null ? void 0 : a.score) == null ? void 0 : m.home) != null ? g : 0) + ":" + ((T = (y = a == null ? void 0 : a.score) == null ? void 0 : y.away) != null ? T : 0), name: "En vivo" }),
1527
+ /* @__PURE__ */ t(it, { text: ((f = (m = a == null ? void 0 : a.score) == null ? void 0 : m.home) != null ? f : 0) + ":" + ((T = (_ = a == null ? void 0 : a.score) == null ? void 0 : _.away) != null ? T : 0), name: "En vivo" }),
1528
1528
  /* @__PURE__ */ t(Oe, { name: e == null ? void 0 : e.awayName, jersey: Ee(o, "away") })
1529
1529
  ] }) })
1530
1530
  ] }),
@@ -1549,15 +1549,15 @@ const Ba = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", La =
1549
1549
  equipos: Ra
1550
1550
  };
1551
1551
  function Fa({ event: e, jersey: a }) {
1552
- var s, u, h, f, r, c, m;
1552
+ var s, u, b, h, r, c, m;
1553
1553
  const n = Q(), o = ee();
1554
- function i(g) {
1555
- const y = new Date(g), T = y.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), C = y.getDate().toString().padStart(2, "0"), I = (y.getMonth() + 1).toString().padStart(2, "0");
1556
- let k = y.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1554
+ function i(f) {
1555
+ const _ = new Date(f), T = _.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), C = _.getDate().toString().padStart(2, "0"), I = (_.getMonth() + 1).toString().padStart(2, "0");
1556
+ let k = _.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1557
1557
  return k = k.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${T} ${C}/${I} | ${k}`;
1558
1558
  }
1559
- const l = (g, y) => {
1560
- const T = `${e.homeName} vs ${e.awayName}`, C = y ? (y / 1e3).toFixed(2) : "", I = C ? `${T} - Cuota: ${C}` : T;
1559
+ const l = (f, _) => {
1560
+ const T = `${e.homeName} vs ${e.awayName}`, C = _ ? (_ / 1e3).toFixed(2) : "", I = C ? `${T} - Cuota: ${C}` : T;
1561
1561
  n({
1562
1562
  element: "evento_semana_outcome",
1563
1563
  label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${I}`,
@@ -1568,7 +1568,7 @@ function Fa({ event: e, jersey: a }) {
1568
1568
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1569
1569
  },
1570
1570
  tags: { section: "OraculoEventSemanaCard", outcomes: I }
1571
- }), Re("/deportes#event/" + e.id, g);
1571
+ }), Re("/deportes#event/" + e.id, f);
1572
1572
  };
1573
1573
  return /* @__PURE__ */ p("div", { className: de.cardContainer, children: [
1574
1574
  /* @__PURE__ */ t(ot, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
@@ -1582,10 +1582,10 @@ function Fa({ event: e, jersey: a }) {
1582
1582
  /* @__PURE__ */ t(Ma, { text: i(e.start) })
1583
1583
  ] }),
1584
1584
  /* @__PURE__ */ p(j, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1585
- /* @__PURE__ */ t(re, { spacing: 1, children: ((f = (h = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : h.outcomes) != null ? f : []).map((g, y) => /* @__PURE__ */ t(nt, { text: g.label.toUpperCase() }, y)) }),
1586
- /* @__PURE__ */ t("div", { className: de.jugadas, children: /* @__PURE__ */ t(re, { spacing: 1, children: ((m = (c = (r = e == null ? void 0 : e.outcome) == null ? void 0 : r[0]) == null ? void 0 : c.outcomes) != null ? m : []).map((g, y) => /* @__PURE__ */ t(K, { variant: "primary", fullHeight: !0, onClick: () => {
1587
- l(g.id, g.odds);
1588
- }, children: (g.odds / 1e3).toFixed(2) }, y)) }) })
1585
+ /* @__PURE__ */ t(re, { spacing: 1, children: ((h = (b = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : b.outcomes) != null ? h : []).map((f, _) => /* @__PURE__ */ t(nt, { text: f.label.toUpperCase() }, _)) }),
1586
+ /* @__PURE__ */ t("div", { className: de.jugadas, children: /* @__PURE__ */ t(re, { spacing: 1, children: ((m = (c = (r = e == null ? void 0 : e.outcome) == null ? void 0 : r[0]) == null ? void 0 : c.outcomes) != null ? m : []).map((f, _) => /* @__PURE__ */ t(K, { variant: "primary", fullHeight: !0, onClick: () => {
1587
+ l(f.id, f.odds);
1588
+ }, children: (f.odds / 1e3).toFixed(2) }, _)) }) })
1589
1589
  ] })
1590
1590
  ] }) })
1591
1591
  ] });
@@ -1597,11 +1597,11 @@ function za({
1597
1597
  onViewMore: o,
1598
1598
  className: i = ""
1599
1599
  }) {
1600
- const l = W(null), [s, u] = H({ isStart: !0, isEnd: !1 }), h = Q(), f = ee(), r = !e || e.length === 0, c = () => {
1600
+ const l = W(null), [s, u] = H({ isStart: !0, isEnd: !1 }), b = Q(), h = ee(), r = !e || e.length === 0, c = () => {
1601
1601
  var I;
1602
- h({
1602
+ b({
1603
1603
  element: "destacados_carousel_prev",
1604
- label: `Landing: ${f} - OraculoSeccionDestacados - Anterior`,
1604
+ label: `Landing: ${h} - OraculoSeccionDestacados - Anterior`,
1605
1605
  target: "carousel",
1606
1606
  event_type: "click",
1607
1607
  module_id: 301,
@@ -1612,9 +1612,9 @@ function za({
1612
1612
  }), (I = l.current) == null || I.prev();
1613
1613
  }, m = () => {
1614
1614
  var I;
1615
- h({
1615
+ b({
1616
1616
  element: "destacados_carousel_next",
1617
- label: `Landing: ${f} - OraculoSeccionDestacados - Siguiente`,
1617
+ label: `Landing: ${h} - OraculoSeccionDestacados - Siguiente`,
1618
1618
  target: "carousel",
1619
1619
  event_type: "click",
1620
1620
  module_id: 301,
@@ -1623,10 +1623,10 @@ function za({
1623
1623
  },
1624
1624
  tags: { section: "OraculoSeccionDestacados" }
1625
1625
  }), (I = l.current) == null || I.next();
1626
- }, g = () => {
1627
- h({
1626
+ }, f = () => {
1627
+ b({
1628
1628
  element: "destacados_view_more",
1629
- label: `Landing: ${f} - OraculoSeccionDestacados - Ver más`,
1629
+ label: `Landing: ${h} - OraculoSeccionDestacados - Ver más`,
1630
1630
  target: "https://www.olimpo.bet/promociones",
1631
1631
  event_type: "click",
1632
1632
  module_id: 301,
@@ -1635,12 +1635,12 @@ function za({
1635
1635
  },
1636
1636
  tags: { section: "OraculoSeccionDestacados" }
1637
1637
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1638
- }, y = (I) => {
1638
+ }, _ = (I) => {
1639
1639
  if (!I) return;
1640
1640
  const A = `https://www.olimpo.bet/promociones/${encodeURIComponent(I)}`;
1641
- h({
1641
+ b({
1642
1642
  element: "destacados_card",
1643
- label: `Landing: ${f} - OraculoSeccionDestacados - Click: ${String(I)}`,
1643
+ label: `Landing: ${h} - OraculoSeccionDestacados - Click: ${String(I)}`,
1644
1644
  target: A,
1645
1645
  event_type: "click",
1646
1646
  module_id: 301,
@@ -1693,7 +1693,7 @@ function za({
1693
1693
  }
1694
1694
  )
1695
1695
  ] }),
1696
- /* @__PURE__ */ t(K, { variant: "secondary", onClick: g, children: "Ver más" })
1696
+ /* @__PURE__ */ t(K, { variant: "secondary", onClick: f, children: "Ver más" })
1697
1697
  ]
1698
1698
  }
1699
1699
  ),
@@ -1719,7 +1719,7 @@ function za({
1719
1719
  marginTop: 16,
1720
1720
  cursor: "pointer"
1721
1721
  },
1722
- onClick: () => y(I.promotion),
1722
+ onClick: () => _(I.promotion),
1723
1723
  children: /* @__PURE__ */ t(
1724
1724
  "img",
1725
1725
  {
@@ -1738,7 +1738,7 @@ function za({
1738
1738
  `${I.title}-${I.image}`
1739
1739
  ),
1740
1740
  onMove: ({ isStart: I, isEnd: k }) => {
1741
- u({ isStart: I, isEnd: k }), h({
1741
+ u({ isStart: I, isEnd: k }), b({
1742
1742
  element: "destacados_carousel_slide",
1743
1743
  label: "OraculoSeccionDestacados - Slide Carousel",
1744
1744
  target: "carousel",
@@ -1787,7 +1787,7 @@ function qa({
1787
1787
  };
1788
1788
  }).sort((r, c) => r.orden != null && c.orden != null ? r.orden - c.orden : r._originalIndex - c._originalIndex),
1789
1789
  [e]
1790
- ), u = !e || e.length === 0, h = u ? Array.from({ length: 6 }) : s.slice(0, 6), f = (r) => {
1790
+ ), u = !e || e.length === 0, b = u ? Array.from({ length: 6 }) : s.slice(0, 6), h = (r) => {
1791
1791
  i({
1792
1792
  element: "top_juegos_card",
1793
1793
  label: `Landing: ${l} - OraculoSeccionTopJuegos - Open game: ${String(r.machine || "unknown")}`,
@@ -1822,8 +1822,8 @@ function qa({
1822
1822
  justifyItems: "center",
1823
1823
  width: "100%"
1824
1824
  },
1825
- children: h.map((r, c) => {
1826
- var m, g;
1825
+ children: b.map((r, c) => {
1826
+ var m, f;
1827
1827
  return /* @__PURE__ */ t(
1828
1828
  ca,
1829
1829
  {
@@ -1831,10 +1831,10 @@ function qa({
1831
1831
  orden: u ? c + 1 : r.orden,
1832
1832
  loading: u,
1833
1833
  onClick: u ? void 0 : () => {
1834
- o == null || o(r), f(r);
1834
+ o == null || o(r), h(r);
1835
1835
  }
1836
1836
  },
1837
- u ? `sk-${c}` : (g = r.machine) != null ? g : `${c}`
1837
+ u ? `sk-${c}` : (f = r.machine) != null ? f : `${c}`
1838
1838
  );
1839
1839
  })
1840
1840
  }
@@ -1842,7 +1842,7 @@ function qa({
1842
1842
  ] }) });
1843
1843
  }
1844
1844
  const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", Da = (e, a) => {
1845
- var n, o, i, l, s, u, h, f, r, c, m;
1845
+ var n, o, i, l, s, u, b, h, r, c, m;
1846
1846
  return {
1847
1847
  ...e,
1848
1848
  id: (n = e.id) != null ? n : a,
@@ -1853,8 +1853,8 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1853
1853
  logo: e.logo,
1854
1854
  background: e.background,
1855
1855
  room_name: (u = e.room_name) != null ? u : "",
1856
- product: (h = e.product) != null ? h : "",
1857
- service: (f = e.service) != null ? f : "",
1856
+ product: (b = e.product) != null ? b : "",
1857
+ service: (h = e.service) != null ? h : "",
1858
1858
  provider: (r = e.provider) != null ? r : "",
1859
1859
  game_type: (c = e.game_type) != null ? c : null,
1860
1860
  external_id: (m = e.external_id) != null ? m : ""
@@ -1885,29 +1885,29 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1885
1885
  }
1886
1886
  s(!0);
1887
1887
  try {
1888
- const f = await ja(n), r = Wa(f);
1888
+ const h = await ja(n), r = Wa(h);
1889
1889
  if (!r.length) {
1890
1890
  u || i([]);
1891
1891
  return;
1892
1892
  }
1893
1893
  const c = await Promise.allSettled(
1894
- r.map(async (g, y) => {
1894
+ r.map(async (f, _) => {
1895
1895
  const T = await fetch(
1896
- `https://api.mktolimpo.com/api/machine/${g}`
1896
+ `https://api.mktolimpo.com/api/machine/${f}`
1897
1897
  );
1898
1898
  if (!T.ok)
1899
- throw new Error(`No se pudo obtener machine ${g}`);
1899
+ throw new Error(`No se pudo obtener machine ${f}`);
1900
1900
  const C = await T.json();
1901
- return Da(C, y);
1901
+ return Da(C, _);
1902
1902
  })
1903
1903
  );
1904
1904
  if (u) return;
1905
1905
  const m = c.filter(
1906
- (g) => g.status === "fulfilled"
1907
- ).map((g) => g.value);
1906
+ (f) => f.status === "fulfilled"
1907
+ ).map((f) => f.value);
1908
1908
  i(m);
1909
- } catch (f) {
1910
- console.error(`[usePersonalizeGameItems:${n}] error:`, f), u || i([]);
1909
+ } catch (h) {
1910
+ console.error(`[usePersonalizeGameItems:${n}] error:`, h), u || i([]);
1911
1911
  } finally {
1912
1912
  u || s(!1);
1913
1913
  }
@@ -1940,13 +1940,13 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1940
1940
  backgroundDesktopUrl: l = "",
1941
1941
  onViewMore: s,
1942
1942
  className: u,
1943
- isPersonalize: h = !1
1943
+ isPersonalize: b = !1
1944
1944
  }) => {
1945
- const f = Q(), r = ee(), c = Xa(h), { resolvedItems: m } = Za(
1945
+ const h = Q(), r = ee(), c = Xa(b), { resolvedItems: m } = Za(
1946
1946
  e,
1947
1947
  c
1948
- ), g = c ? m : Array.isArray(e) ? e : [], y = (C) => {
1949
- f({
1948
+ ), f = c ? m : Array.isArray(e) ? e : [], _ = (C) => {
1949
+ h({
1950
1950
  element: "live_casino_card",
1951
1951
  label: `Landing: ${r} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(C.machine || "unknown")}`,
1952
1952
  target: String(C.machine || "unknown"),
@@ -1977,7 +1977,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1977
1977
  k == null || k(C, !1, "casino_en_vivo");
1978
1978
  });
1979
1979
  }, T = () => {
1980
- f({
1980
+ h({
1981
1981
  element: "casino_en_vivo_view_more",
1982
1982
  label: `Landing: ${r} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Ver más`,
1983
1983
  target: "https://www.olimpo.bet/casino-en-vivo",
@@ -2092,7 +2092,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2092
2092
  py: { xs: 3, md: 0 },
2093
2093
  alignItems: "center"
2094
2094
  },
2095
- children: (g != null ? g : []).slice(0, 3).map((C, I) => {
2095
+ children: (f != null ? f : []).slice(0, 3).map((C, I) => {
2096
2096
  var k;
2097
2097
  return /* @__PURE__ */ t(
2098
2098
  da,
@@ -2101,7 +2101,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2101
2101
  provider: C.provider,
2102
2102
  providerName: C.web_name,
2103
2103
  machine: C.machine,
2104
- onClick: () => y(C)
2104
+ onClick: () => _(C)
2105
2105
  },
2106
2106
  Ja(C, I)
2107
2107
  );
@@ -2138,10 +2138,10 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2138
2138
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2139
2139
  }, en = (e, a = !0, n = 1) => {
2140
2140
  const o = e.map((s, u) => {
2141
- var h;
2141
+ var b;
2142
2142
  return {
2143
2143
  id: ut(s, u),
2144
- imageUrl: (h = s.logo) != null ? h : "",
2144
+ imageUrl: (b = s.logo) != null ? b : "",
2145
2145
  ...s.background ? { background: s.background } : {}
2146
2146
  };
2147
2147
  });
@@ -2175,14 +2175,14 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2175
2175
  gridSize: s = 1,
2176
2176
  isPersonalize: u = !1
2177
2177
  }) => {
2178
- const h = Q(), f = ee(), r = W(null), [c, m] = H({ isStart: !0, isEnd: !1 }), g = Qa(u), { resolvedItems: y } = Ha(
2178
+ const b = Q(), h = ee(), r = W(null), [c, m] = H({ isStart: !0, isEnd: !1 }), f = Qa(u), { resolvedItems: _, loading: T } = Ha(
2179
2179
  e,
2180
- g
2181
- ), T = g ? y : Array.isArray(e) ? e : [], C = () => {
2182
- var _;
2183
- h({
2180
+ f
2181
+ ), C = f ? _ : Array.isArray(e) ? e : [], I = () => {
2182
+ var N;
2183
+ b({
2184
2184
  element: "casino_prev",
2185
- label: `Landing: ${f} - OraculoSeccionCasino ${u ? " - personalize" : ""} - Anterior`,
2185
+ label: `Landing: ${h} - OraculoSeccionCasino ${u ? " - personalize" : ""} - Anterior`,
2186
2186
  target: "prev",
2187
2187
  event_type: "click",
2188
2188
  module_id: 301,
@@ -2190,12 +2190,12 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2190
2190
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2191
2191
  },
2192
2192
  tags: { section: "OraculoSeccionCasino" }
2193
- }), (_ = r.current) == null || _.prev();
2194
- }, I = () => {
2195
- var _;
2196
- h({
2193
+ }), (N = r.current) == null || N.prev();
2194
+ }, k = () => {
2195
+ var N;
2196
+ b({
2197
2197
  element: "casino_next",
2198
- label: `Landing: ${f} - OraculoSeccionCasino ${u ? " - personalize" : ""} - Siguiente`,
2198
+ label: `Landing: ${h} - OraculoSeccionCasino ${u ? " - personalize" : ""} - Siguiente`,
2199
2199
  target: "next",
2200
2200
  event_type: "click",
2201
2201
  module_id: 301,
@@ -2203,11 +2203,11 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2203
2203
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2204
2204
  },
2205
2205
  tags: { section: "OraculoSeccionCasino" }
2206
- }), (_ = r.current) == null || _.next();
2207
- }, k = () => {
2208
- if (h({
2206
+ }), (N = r.current) == null || N.next();
2207
+ }, A = () => {
2208
+ if (b({
2209
2209
  element: "casino_view_more",
2210
- label: `Landing: ${f} - OraculoSeccionCasino ${u ? " - personalize" : ""} - Ver más`,
2210
+ label: `Landing: ${h} - OraculoSeccionCasino ${u ? " - personalize" : ""} - Ver más`,
2211
2211
  target: "https://www.olimpo.bet/casino",
2212
2212
  event_type: "click",
2213
2213
  module_id: 301,
@@ -2220,13 +2220,13 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2220
2220
  return;
2221
2221
  }
2222
2222
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2223
- }, A = (_ = !0, L = 4) => {
2224
- const z = (O) => Array.from({ length: O }, (P, q) => ({
2225
- id: `sk-${O}-${q}`,
2223
+ }, L = (N = !0, P = 4) => {
2224
+ const E = (R) => Array.from({ length: R }, (q, g) => ({
2225
+ id: `sk-${R}-${g}`,
2226
2226
  imageUrl: ""
2227
- })), E = [];
2228
- return _ && E.push({ id: "mosaic-loading", kind: "mosaic", items: z(5) }), E.push({ id: "grid-loading", kind: "grid", items: z(L) }), E;
2229
- }, R = !e || e.length === 0, M = Ye("(max-width:768px)"), N = R ? A(l, s) : en(e, l, s);
2227
+ })), O = [];
2228
+ return N && O.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), O.push({ id: "grid-loading", kind: "grid", items: E(P) }), O;
2229
+ }, M = f ? T : !Array.isArray(e) || e.length === 0, F = Ye("(max-width:768px)"), w = M ? L(l, s) : en(C, l, s);
2230
2230
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ p(j, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2231
2231
  /* @__PURE__ */ p(
2232
2232
  U,
@@ -2249,7 +2249,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2249
2249
  variant: "secondary",
2250
2250
  iconOnly: !0,
2251
2251
  leftIcon: /* @__PURE__ */ t(et, {}),
2252
- onClick: C,
2252
+ onClick: I,
2253
2253
  disabled: c.isStart
2254
2254
  }
2255
2255
  ),
@@ -2260,12 +2260,12 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2260
2260
  variant: "secondary",
2261
2261
  iconOnly: !0,
2262
2262
  rightIcon: /* @__PURE__ */ t(tt, {}),
2263
- onClick: I,
2263
+ onClick: k,
2264
2264
  disabled: c.isEnd
2265
2265
  }
2266
2266
  )
2267
2267
  ] }),
2268
- /* @__PURE__ */ t(U, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(K, { variant: "secondary", onClick: k, children: "Ver más" }) })
2268
+ /* @__PURE__ */ t(U, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(K, { variant: "secondary", onClick: A, children: "Ver más" }) })
2269
2269
  ]
2270
2270
  }
2271
2271
  ),
@@ -2273,12 +2273,12 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2273
2273
  ce,
2274
2274
  {
2275
2275
  ref: r,
2276
- items: N,
2276
+ items: w,
2277
2277
  perPage: void 0,
2278
2278
  gap: "16px",
2279
2279
  enableHorizontalWheel: !0,
2280
2280
  options: { autoWidth: !0, trimSpace: "move" },
2281
- showRightGradient: !M,
2281
+ showRightGradient: !F,
2282
2282
  breakpoints: {
2283
2283
  400: {
2284
2284
  gap: "4px",
@@ -2296,38 +2296,38 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2296
2296
  padding: { left: "24px", right: "24px" }
2297
2297
  }
2298
2298
  },
2299
- renderItem: (_) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2299
+ renderItem: (N) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2300
2300
  rt,
2301
2301
  {
2302
- items: _.items,
2303
- layout: _.kind === "mosaic" ? "mosaic" : "grid",
2304
- loading: R,
2305
- onClick: (L) => {
2306
- if (R) return;
2307
- const z = T.find(
2308
- (P, q) => String(ut(P, q)) === String(L.id)
2302
+ items: N.items,
2303
+ layout: N.kind === "mosaic" ? "mosaic" : "grid",
2304
+ loading: M,
2305
+ onClick: (P) => {
2306
+ if (M) return;
2307
+ const E = C.find(
2308
+ (q, g) => String(ut(q, g)) === String(P.id)
2309
2309
  );
2310
- if (!z) return;
2311
- o == null || o(z), h({
2310
+ if (!E) return;
2311
+ o == null || o(E), b({
2312
2312
  element: "casino_game_card",
2313
- label: `Landing: ${f} - OraculoSeccionCasino ${u ? " - personalize" : ""} - Game: ${String(z.machine || "unknown")}`,
2314
- target: String(z.machine || "unknown"),
2313
+ label: `Landing: ${h} - OraculoSeccionCasino ${u ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
2314
+ target: String(E.machine || "unknown"),
2315
2315
  event_type: "click",
2316
2316
  module_id: 301,
2317
2317
  metadata: {
2318
2318
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2319
2319
  },
2320
2320
  tags: {
2321
- game_name: String(z.machine || "unknown"),
2321
+ game_name: String(E.machine || "unknown"),
2322
2322
  section: a || "Casino"
2323
2323
  }
2324
2324
  });
2325
- const E = le("showIframe"), O = le("loadMachine");
2326
- E == null || E(), O == null || O(z, !1, "CASINO");
2325
+ const O = le("showIframe"), R = le("loadMachine");
2326
+ O == null || O(), R == null || R(E, !1, "CASINO");
2327
2327
  }
2328
2328
  }
2329
2329
  ) }),
2330
- onMove: ({ isStart: _, isEnd: L }) => m({ isStart: _, isEnd: L })
2330
+ onMove: ({ isStart: N, isEnd: P }) => m({ isStart: N, isEnd: P })
2331
2331
  }
2332
2332
  )
2333
2333
  ] }) });
@@ -2346,10 +2346,10 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2346
2346
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2347
2347
  }, nn = (e, a = !0, n = 1) => {
2348
2348
  const o = e.map((s, u) => {
2349
- var h;
2349
+ var b;
2350
2350
  return {
2351
2351
  id: mt(s, u),
2352
- imageUrl: (h = s.logo) != null ? h : "",
2352
+ imageUrl: (b = s.logo) != null ? b : "",
2353
2353
  ...s.background ? { background: s.background } : {}
2354
2354
  };
2355
2355
  });
@@ -2397,14 +2397,14 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2397
2397
  gridSize: s = 1,
2398
2398
  isPersonalize: u = !1
2399
2399
  }) => {
2400
- const h = W(null), [f, r] = H({ isStart: !0, isEnd: !1 }), c = Q(), m = ee(), g = an(u), { resolvedItems: y } = Ka(
2400
+ const b = W(null), [h, r] = H({ isStart: !0, isEnd: !1 }), c = Q(), m = ee(), f = an(u), { resolvedItems: _, loading: T } = Ka(
2401
2401
  e,
2402
- g
2403
- ), T = g ? y : Array.isArray(e) ? e : [], C = () => {
2404
- var N;
2402
+ f
2403
+ ), C = f ? _ : Array.isArray(e) ? e : [], I = () => {
2404
+ var w;
2405
2405
  c({
2406
2406
  element: "virtuales_prev",
2407
- label: `Landing: ${m} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Anterior`,
2407
+ label: `Landing: ${m} - OraculoSeccionVirtuales${f ? " - personalize" : ""} - Anterior`,
2408
2408
  target: "prev",
2409
2409
  event_type: "click",
2410
2410
  module_id: 301,
@@ -2412,12 +2412,12 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2412
2412
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2413
2413
  },
2414
2414
  tags: { section: "OraculoSeccionVirtuales" }
2415
- }), (N = h.current) == null || N.prev();
2416
- }, I = () => {
2417
- var N;
2415
+ }), (w = b.current) == null || w.prev();
2416
+ }, k = () => {
2417
+ var w;
2418
2418
  c({
2419
2419
  element: "virtuales_next",
2420
- label: `Landing: ${m} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Siguiente`,
2420
+ label: `Landing: ${m} - OraculoSeccionVirtuales${f ? " - personalize" : ""} - Siguiente`,
2421
2421
  target: "next",
2422
2422
  event_type: "click",
2423
2423
  module_id: 301,
@@ -2425,11 +2425,11 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2425
2425
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2426
2426
  },
2427
2427
  tags: { section: "OraculoSeccionVirtuales" }
2428
- }), (N = h.current) == null || N.next();
2429
- }, k = () => {
2428
+ }), (w = b.current) == null || w.next();
2429
+ }, A = () => {
2430
2430
  if (c({
2431
2431
  element: "virtuales_view_more",
2432
- label: `Landing: ${m} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Ver más`,
2432
+ label: `Landing: ${m} - OraculoSeccionVirtuales${f ? " - personalize" : ""} - Ver más`,
2433
2433
  target: "https://www.olimpo.bet/juegos-virtuales",
2434
2434
  event_type: "click",
2435
2435
  module_id: 301,
@@ -2442,7 +2442,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2442
2442
  return;
2443
2443
  }
2444
2444
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2445
- }, A = !e || e.length === 0, R = be("(max-width:768px)"), M = A ? on(l, s) : nn(e, l, s);
2445
+ }, L = f ? T : !Array.isArray(e) || e.length === 0, M = be("(max-width:768px)"), F = L ? on(l, s) : nn(C, l, s);
2446
2446
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ p(j, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2447
2447
  /* @__PURE__ */ p(
2448
2448
  U,
@@ -2465,8 +2465,8 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2465
2465
  variant: "secondary",
2466
2466
  iconOnly: !0,
2467
2467
  leftIcon: /* @__PURE__ */ t(et, {}),
2468
- onClick: C,
2469
- disabled: f.isStart
2468
+ onClick: I,
2469
+ disabled: h.isStart
2470
2470
  }
2471
2471
  ),
2472
2472
  /* @__PURE__ */ t(
@@ -2476,20 +2476,20 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2476
2476
  variant: "secondary",
2477
2477
  iconOnly: !0,
2478
2478
  rightIcon: /* @__PURE__ */ t(tt, {}),
2479
- onClick: I,
2480
- disabled: f.isEnd
2479
+ onClick: k,
2480
+ disabled: h.isEnd
2481
2481
  }
2482
2482
  )
2483
2483
  ] }),
2484
- /* @__PURE__ */ t(U, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(K, { variant: "secondary", onClick: k, children: "Ver más" }) })
2484
+ /* @__PURE__ */ t(U, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(K, { variant: "secondary", onClick: A, children: "Ver más" }) })
2485
2485
  ]
2486
2486
  }
2487
2487
  ),
2488
2488
  /* @__PURE__ */ t(
2489
2489
  ce,
2490
2490
  {
2491
- ref: h,
2492
- items: M,
2491
+ ref: b,
2492
+ items: F,
2493
2493
  perPage: void 0,
2494
2494
  gap: "16px",
2495
2495
  breakpoints: {
@@ -2510,50 +2510,50 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2510
2510
  }
2511
2511
  },
2512
2512
  enableHorizontalWheel: !0,
2513
- showRightGradient: !R,
2513
+ showRightGradient: !M,
2514
2514
  options: { autoWidth: !0, trimSpace: "move" },
2515
- renderItem: (N) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2515
+ renderItem: (w) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2516
2516
  rt,
2517
2517
  {
2518
- items: N.items,
2519
- layout: N.kind === "mosaic" ? "mosaic" : "grid",
2520
- loading: A,
2521
- onClick: (_) => {
2522
- if (A) return;
2523
- const L = T.find(
2524
- (O, P) => String(mt(O, P)) === String(_.id)
2518
+ items: w.items,
2519
+ layout: w.kind === "mosaic" ? "mosaic" : "grid",
2520
+ loading: L,
2521
+ onClick: (N) => {
2522
+ if (L) return;
2523
+ const P = C.find(
2524
+ (R, q) => String(mt(R, q)) === String(N.id)
2525
2525
  );
2526
- if (!L) {
2526
+ if (!P) {
2527
2527
  console.warn(
2528
2528
  "[virtuales] no se encontró game para id:",
2529
- _.id
2529
+ N.id
2530
2530
  );
2531
2531
  return;
2532
2532
  }
2533
- o == null || o(L), c({
2533
+ o == null || o(P), c({
2534
2534
  element: "virtuales_game_card",
2535
- label: `Landing: ${m} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Game: ${String(L.machine || "unknown")}`,
2536
- target: String(L.machine || "unknown"),
2535
+ label: `Landing: ${m} - OraculoSeccionVirtuales${f ? " - personalize" : ""} - Game: ${String(P.machine || "unknown")}`,
2536
+ target: String(P.machine || "unknown"),
2537
2537
  event_type: "click",
2538
2538
  module_id: 301,
2539
2539
  metadata: {
2540
2540
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2541
2541
  },
2542
2542
  tags: {
2543
- game_name: String(L.machine || "unknown"),
2543
+ game_name: String(P.machine || "unknown"),
2544
2544
  section: a || "Virtuales"
2545
2545
  }
2546
2546
  });
2547
- const z = le("showIframe"), E = le("loadMachine");
2548
- z == null || z(), E == null || E(
2549
- L,
2547
+ const E = le("showIframe"), O = le("loadMachine");
2548
+ E == null || E(), O == null || O(
2549
+ P,
2550
2550
  !1,
2551
- g ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2551
+ f ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2552
2552
  );
2553
2553
  }
2554
2554
  }
2555
2555
  ) }),
2556
- onMove: ({ isStart: N, isEnd: _ }) => r({ isStart: N, isEnd: _ })
2556
+ onMove: ({ isStart: w, isEnd: N }) => r({ isStart: w, isEnd: N })
2557
2557
  }
2558
2558
  )
2559
2559
  ] }) });
@@ -2595,24 +2595,24 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2595
2595
  items: n,
2596
2596
  backgroundImageUrl: o
2597
2597
  }) => {
2598
- const i = Q(), l = ee(), s = be("(max-width: 767px)"), u = n.length > 1, h = W(null), f = W(null), r = W(!1), c = W(!1), [m, g] = H(0), [y, T] = H({ isStart: !0, isEnd: !1 });
2598
+ const i = Q(), l = ee(), s = be("(max-width: 767px)"), u = n.length > 1, b = W(null), h = W(null), r = W(!1), c = W(!1), [m, f] = H(0), [_, T] = H({ isStart: !0, isEnd: !1 });
2599
2599
  J(() => {
2600
2600
  const E = setTimeout(() => {
2601
2601
  r.current = !0;
2602
2602
  }, 500);
2603
2603
  return () => clearTimeout(E);
2604
2604
  }, []);
2605
- const C = W(y);
2605
+ const C = W(_);
2606
2606
  J(() => {
2607
- C.current = y;
2608
- }, [y]);
2609
- const I = W(!1), k = W(null), A = n == null ? void 0 : n[m], R = te(
2607
+ C.current = _;
2608
+ }, [_]);
2609
+ const I = W(!1), k = W(null), A = n == null ? void 0 : n[m], L = te(
2610
2610
  () => {
2611
2611
  var E, O;
2612
2612
  return (O = (E = A == null ? void 0 : A.backgroundImageUrl) != null ? E : o) != null ? O : "";
2613
2613
  },
2614
2614
  [A, o]
2615
- ), M = ln(R), N = !n || n.length === 0, _ = (E, O) => {
2615
+ ), M = ln(L), F = !n || n.length === 0, w = (E, O) => {
2616
2616
  i({
2617
2617
  element: "welcome_banner_button",
2618
2618
  label: `OraculoSeccionBonoBienvenida - Banner button click: ${E.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
@@ -2629,7 +2629,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2629
2629
  button_text: E.buttonText || "no_text"
2630
2630
  }
2631
2631
  }), E.onButtonClick && E.onButtonClick();
2632
- }, L = (E) => {
2632
+ }, N = (E) => {
2633
2633
  if (!r.current) return;
2634
2634
  if (c.current) {
2635
2635
  c.current = !1;
@@ -2655,25 +2655,25 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2655
2655
  });
2656
2656
  };
2657
2657
  J(() => {
2658
- const E = f.current;
2658
+ const E = h.current;
2659
2659
  if (!E) return;
2660
- const O = 6, P = 380, q = (b) => {
2661
- var x, S;
2662
- if (N || b.ctrlKey || I.current) return;
2663
- const F = b.deltaX, $ = b.deltaY;
2664
- if (Math.abs(F) <= Math.abs($) || Math.abs(F) < O) return;
2665
- const d = F > 0;
2666
- d && C.current.isEnd || !d && C.current.isStart || (b.preventDefault(), I.current = !0, d ? (x = h.current) == null || x.next() : (S = h.current) == null || S.prev(), k.current && window.clearTimeout(k.current), k.current = window.setTimeout(() => {
2660
+ const O = 6, R = 380, q = (g) => {
2661
+ var y, S;
2662
+ if (F || g.ctrlKey || I.current) return;
2663
+ const z = g.deltaX, $ = g.deltaY;
2664
+ if (Math.abs(z) <= Math.abs($) || Math.abs(z) < O) return;
2665
+ const d = z > 0;
2666
+ d && C.current.isEnd || !d && C.current.isStart || (g.preventDefault(), I.current = !0, d ? (y = b.current) == null || y.next() : (S = b.current) == null || S.prev(), k.current && window.clearTimeout(k.current), k.current = window.setTimeout(() => {
2667
2667
  I.current = !1;
2668
- }, P));
2668
+ }, R));
2669
2669
  };
2670
2670
  return E.addEventListener("wheel", q, { passive: !1 }), () => {
2671
2671
  E.removeEventListener("wheel", q), k.current && window.clearTimeout(k.current);
2672
2672
  };
2673
- }, [N]);
2674
- const z = (E, O, P) => {
2675
- var F, $;
2676
- const q = (F = E.headline) != null ? F : e, b = ($ = E.headline2) != null ? $ : a;
2673
+ }, [F]);
2674
+ const P = (E, O, R) => {
2675
+ var z, $;
2676
+ const q = (z = E.headline) != null ? z : e, g = ($ = E.headline2) != null ? $ : a;
2677
2677
  return O ? /* @__PURE__ */ p(
2678
2678
  U,
2679
2679
  {
@@ -2687,7 +2687,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2687
2687
  columnGap: 6
2688
2688
  },
2689
2689
  children: [
2690
- (q || b) && /* @__PURE__ */ t(
2690
+ (q || g) && /* @__PURE__ */ t(
2691
2691
  U,
2692
2692
  {
2693
2693
  sx: {
@@ -2698,9 +2698,9 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2698
2698
  },
2699
2699
  children: /* @__PURE__ */ p(U, { sx: { ...We, textAlign: "left", mb: 0 }, children: [
2700
2700
  q && /* @__PURE__ */ t(ie, { component: "span", sx: Ge, children: q }),
2701
- b && /* @__PURE__ */ p(ae, { children: [
2701
+ g && /* @__PURE__ */ p(ae, { children: [
2702
2702
  /* @__PURE__ */ t("br", {}),
2703
- /* @__PURE__ */ t(ie, { component: "span", sx: je, children: b })
2703
+ /* @__PURE__ */ t(ie, { component: "span", sx: je, children: g })
2704
2704
  ] })
2705
2705
  ] })
2706
2706
  }
@@ -2709,35 +2709,35 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2709
2709
  qe,
2710
2710
  {
2711
2711
  ...E,
2712
- onButtonClick: () => _(E, P),
2712
+ onButtonClick: () => w(E, R),
2713
2713
  variant: "large"
2714
2714
  }
2715
2715
  ) }) })
2716
2716
  ]
2717
2717
  }
2718
2718
  ) : /* @__PURE__ */ p(U, { sx: { textAlign: "center" }, children: [
2719
- (q || b) && /* @__PURE__ */ p(U, { sx: We, children: [
2719
+ (q || g) && /* @__PURE__ */ p(U, { sx: We, children: [
2720
2720
  q && /* @__PURE__ */ t(ie, { component: "span", sx: Ge, children: q }),
2721
- b && /* @__PURE__ */ p(ae, { children: [
2721
+ g && /* @__PURE__ */ p(ae, { children: [
2722
2722
  /* @__PURE__ */ t("br", {}),
2723
- /* @__PURE__ */ t(ie, { component: "span", sx: je, children: b })
2723
+ /* @__PURE__ */ t(ie, { component: "span", sx: je, children: g })
2724
2724
  ] })
2725
2725
  ] }),
2726
2726
  /* @__PURE__ */ t(U, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2727
2727
  qe,
2728
2728
  {
2729
2729
  ...E,
2730
- onButtonClick: () => _(E, P),
2730
+ onButtonClick: () => w(E, R),
2731
2731
  variant: "small"
2732
2732
  }
2733
2733
  ) })
2734
2734
  ] });
2735
2735
  };
2736
2736
  return /* @__PURE__ */ p(U, { component: "section", sx: M, children: [
2737
- /* @__PURE__ */ t("div", { ref: f, style: { width: "100%" }, children: /* @__PURE__ */ t(
2737
+ /* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
2738
2738
  ce,
2739
2739
  {
2740
- ref: h,
2740
+ ref: b,
2741
2741
  items: n,
2742
2742
  perPage: 1,
2743
2743
  gap: "0px",
@@ -2751,9 +2751,9 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2751
2751
  // arrows: false,
2752
2752
  // drag: true,
2753
2753
  },
2754
- renderItem: (E, O) => /* @__PURE__ */ t(U, { sx: { width: "100%" }, children: z(E, !s, O) }),
2755
- onMove: ({ index: E, isStart: O, isEnd: P }) => {
2756
- g(E), typeof O == "boolean" && typeof P == "boolean" && T({ isStart: O, isEnd: P }), L(E);
2754
+ renderItem: (E, O) => /* @__PURE__ */ t(U, { sx: { width: "100%" }, children: P(E, !s, O) }),
2755
+ onMove: ({ index: E, isStart: O, isEnd: R }) => {
2756
+ f(E), typeof O == "boolean" && typeof R == "boolean" && T({ isStart: O, isEnd: R }), N(E);
2757
2757
  }
2758
2758
  }
2759
2759
  ) }),
@@ -2778,7 +2778,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2778
2778
  tags: {
2779
2779
  navigation_type: "dot_click"
2780
2780
  }
2781
- }), g(E), (O = h.current) == null || O.go(E);
2781
+ }), f(E), (O = b.current) == null || O.go(E);
2782
2782
  }
2783
2783
  }
2784
2784
  ) })
@@ -2790,12 +2790,12 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2790
2790
  selectedIndex: o = 0,
2791
2791
  ariaLabel: i
2792
2792
  }) => {
2793
- const l = W(null), s = W(null), u = Q(), h = ee();
2793
+ const l = W(null), s = W(null), u = Q(), b = ee();
2794
2794
  if (!n) return null;
2795
- const f = () => {
2795
+ const h = () => {
2796
2796
  u({
2797
2797
  element: "club_olimpo_button",
2798
- label: `Landing: ${h} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2798
+ label: `Landing: ${b} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2799
2799
  target: "https://www.olimpo.bet/conoce-club-olimpo",
2800
2800
  event_type: "click",
2801
2801
  module_id: 301,
@@ -2807,13 +2807,13 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2807
2807
  }, r = Array.isArray(n) ? n[o] : n;
2808
2808
  yt(() => {
2809
2809
  if (!l.current || !s.current || typeof ResizeObserver == "undefined") return;
2810
- const m = l.current, g = s.current, y = () => {
2810
+ const m = l.current, f = s.current, _ = () => {
2811
2811
  m.style.setProperty(
2812
2812
  "--orc-co-bottomH",
2813
- `${g.offsetHeight + 16}px`
2813
+ `${f.offsetHeight + 16}px`
2814
2814
  );
2815
- }, T = new ResizeObserver(y);
2816
- return T.observe(g), y(), () => T.disconnect();
2815
+ }, T = new ResizeObserver(_);
2816
+ return T.observe(f), _(), () => T.disconnect();
2817
2817
  }, []);
2818
2818
  const c = [
2819
2819
  "orc-co-wrap",
@@ -2830,7 +2830,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2830
2830
  ua,
2831
2831
  {
2832
2832
  text: r.text,
2833
- onClick: f,
2833
+ onClick: h,
2834
2834
  imgAlt: r.imgAlt,
2835
2835
  buttonLabel: r.buttonLabel,
2836
2836
  imgSrcMobile: r.imgMobile,
@@ -2853,21 +2853,21 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2853
2853
  function pn(e, a, n) {
2854
2854
  return n ? n.map((o) => {
2855
2855
  var r, c;
2856
- const i = o.prePackCouponRows.flatMap((m) => mn(m).map((g) => ({ eventId: m.eventId, outcomeId: g }))), l = new Set(i.map((m) => m.eventId)), s = new Set(i.map((m) => m.outcomeId)), u = new Map(i.map((m, g) => [m.outcomeId, g])), h = {};
2856
+ const i = o.prePackCouponRows.flatMap((m) => mn(m).map((f) => ({ eventId: m.eventId, outcomeId: f }))), l = new Set(i.map((m) => m.eventId)), s = new Set(i.map((m) => m.outcomeId)), u = new Map(i.map((m, f) => [m.outcomeId, f])), b = {};
2857
2857
  for (const m of a) {
2858
2858
  if (!l.has(m.eventId)) continue;
2859
- const g = m.outcomes.filter((y) => s.has(y.id)).map((y) => ({ ...y, position: u.get(y.id) }));
2860
- g.length && ((c = h[r = m.eventId]) != null || (h[r] = []), h[m.eventId].push({ ...m, outcomes: g }));
2859
+ const f = m.outcomes.filter((_) => s.has(_.id)).map((_) => ({ ..._, position: u.get(_.id) }));
2860
+ f.length && ((c = b[r = m.eventId]) != null || (b[r] = []), b[m.eventId].push({ ...m, outcomes: f }));
2861
2861
  }
2862
- const f = e.filter((m) => l.has(m.id)).map((m) => {
2863
- var g;
2864
- return { ...m, betoffers: (g = h[m.id]) != null ? g : [] };
2862
+ const h = e.filter((m) => l.has(m.id)).map((m) => {
2863
+ var f;
2864
+ return { ...m, betoffers: (f = b[m.id]) != null ? f : [] };
2865
2865
  });
2866
2866
  return {
2867
2867
  couponId: o.id,
2868
2868
  status: o.status,
2869
2869
  combinadoTotal: fn(o.prePackCouponRows),
2870
- events: f
2870
+ events: h
2871
2871
  };
2872
2872
  }) : [];
2873
2873
  }
@@ -2888,8 +2888,8 @@ function hn({
2888
2888
  onViewMore: o,
2889
2889
  className: i = ""
2890
2890
  }) {
2891
- const l = Q(), s = ee(), u = W(null), [h, f] = H({ isStart: !0, isEnd: !1 }), [r, c] = H([]), m = "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", g = () => {
2892
- var R;
2891
+ const l = Q(), s = ee(), u = W(null), [b, h] = H({ isStart: !0, isEnd: !1 }), [r, c] = H([]), m = "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", f = () => {
2892
+ var L;
2893
2893
  l({
2894
2894
  element: "evento_combinadas_prev",
2895
2895
  label: `Landing: ${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
@@ -2899,9 +2899,9 @@ function hn({
2899
2899
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2900
2900
  },
2901
2901
  tags: { section: "OraculoSeccionEventoCombinadas" }
2902
- }), (R = u.current) == null || R.prev();
2903
- }, y = () => {
2904
- var R;
2902
+ }), (L = u.current) == null || L.prev();
2903
+ }, _ = () => {
2904
+ var L;
2905
2905
  l({
2906
2906
  element: "evento_combinadas_next",
2907
2907
  label: `Landing: ${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
@@ -2911,7 +2911,7 @@ function hn({
2911
2911
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2912
2912
  },
2913
2913
  tags: { section: "OraculoSeccionEventoCombinadas" }
2914
- }), (R = u.current) == null || R.next();
2914
+ }), (L = u.current) == null || L.next();
2915
2915
  }, T = () => {
2916
2916
  l({
2917
2917
  element: "evento_combinadas_ver_mas",
@@ -2923,19 +2923,19 @@ function hn({
2923
2923
  },
2924
2924
  tags: { section: "OraculoSeccionEventoCombinadas" }
2925
2925
  }), Sa();
2926
- }, C = te(() => r.filter((R) => R.combinadoTotal !== null), [r]);
2926
+ }, C = te(() => r.filter((L) => L.combinadoTotal !== null), [r]);
2927
2927
  async function I() {
2928
- var R, M, N;
2928
+ var L, M, F;
2929
2929
  try {
2930
- const L = await (await fetch(m)).json(), z = (N = (M = (R = L == null ? void 0 : L.group) == null ? void 0 : R.groups) == null ? void 0 : M[0]) == null ? void 0 : N.id;
2931
- if (!z) {
2930
+ const N = await (await fetch(m)).json(), P = (F = (M = (L = N == null ? void 0 : N.group) == null ? void 0 : L.groups) == null ? void 0 : M[0]) == null ? void 0 : F.id;
2931
+ if (!P) {
2932
2932
  console.error("Could not extract group ID");
2933
2933
  return;
2934
2934
  }
2935
- const E = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${z}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, P = await (await fetch(E)).json();
2936
- c(pn(P.events, P.betOffers, P.prePackCoupons));
2937
- } catch (_) {
2938
- console.error("loadDataEventSpecial error:", _);
2935
+ const E = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${P}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(E)).json();
2936
+ c(pn(R.events, R.betOffers, R.prePackCoupons));
2937
+ } catch (w) {
2938
+ console.error("loadDataEventSpecial error:", w);
2939
2939
  }
2940
2940
  }
2941
2941
  J(() => {
@@ -2959,8 +2959,8 @@ function hn({
2959
2959
  variant: "secondary",
2960
2960
  iconOnly: !0,
2961
2961
  leftIcon: /* @__PURE__ */ t(Te, {}),
2962
- onClick: g,
2963
- disabled: h.isStart
2962
+ onClick: f,
2963
+ disabled: b.isStart
2964
2964
  }
2965
2965
  ),
2966
2966
  /* @__PURE__ */ t(
@@ -2970,8 +2970,8 @@ function hn({
2970
2970
  variant: "secondary",
2971
2971
  iconOnly: !0,
2972
2972
  rightIcon: /* @__PURE__ */ t(ke, {}),
2973
- onClick: y,
2974
- disabled: h.isEnd
2973
+ onClick: _,
2974
+ disabled: b.isEnd
2975
2975
  }
2976
2976
  )
2977
2977
  ] }),
@@ -2992,8 +2992,8 @@ function hn({
2992
2992
  breakpoints: {
2993
2993
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
2994
2994
  },
2995
- renderItem: (R) => /* @__PURE__ */ t(gn, { coupon: R }),
2996
- onMove: ({ isStart: R, isEnd: M }) => f({ isStart: R, isEnd: M })
2995
+ renderItem: (L) => /* @__PURE__ */ t(gn, { coupon: L }),
2996
+ onMove: ({ isStart: L, isEnd: M }) => h({ isStart: L, isEnd: M })
2997
2997
  }
2998
2998
  )
2999
2999
  ] }) });
@@ -3056,11 +3056,11 @@ function Cn({
3056
3056
  onViewMore: o,
3057
3057
  className: i = ""
3058
3058
  }) {
3059
- const l = "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 = W(null), [u, h] = H({ isStart: !0, isEnd: !1 }), [f, r] = H(null), [c, m] = H({}), [g, y] = H({ start: null, end: null }), T = W(!1), [C, I] = H(null), k = W(!1), A = Q(), R = ee(), M = W(/* @__PURE__ */ new Map()), N = st(g, 300), _ = W(/* @__PURE__ */ new Set()), L = () => {
3059
+ const l = "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 = W(null), [u, b] = H({ isStart: !0, isEnd: !1 }), [h, r] = H(null), [c, m] = H({}), [f, _] = H({ start: null, end: null }), T = W(!1), [C, I] = H(null), k = W(!1), A = Q(), L = ee(), M = W(/* @__PURE__ */ new Map()), F = st(f, 300), w = W(/* @__PURE__ */ new Set()), N = () => {
3060
3060
  var $;
3061
3061
  A({
3062
3062
  element: "evento_en_vivo_prev",
3063
- label: `Landing: ${R} - OraculoSeccionEventoEnVivo - Anterior`,
3063
+ label: `Landing: ${L} - OraculoSeccionEventoEnVivo - Anterior`,
3064
3064
  target: "prev",
3065
3065
  event_type: "click",
3066
3066
  module_id: 301,
@@ -3069,11 +3069,11 @@ function Cn({
3069
3069
  },
3070
3070
  tags: { section: "OraculoSeccionEventoEnVivo" }
3071
3071
  }), ($ = s.current) == null || $.prev();
3072
- }, z = () => {
3072
+ }, P = () => {
3073
3073
  var $;
3074
3074
  A({
3075
3075
  element: "evento_en_vivo_next",
3076
- label: `Landing: ${R} - OraculoSeccionEventoEnVivo - Siguiente`,
3076
+ label: `Landing: ${L} - OraculoSeccionEventoEnVivo - Siguiente`,
3077
3077
  target: "next",
3078
3078
  event_type: "click",
3079
3079
  module_id: 301,
@@ -3085,7 +3085,7 @@ function Cn({
3085
3085
  }, E = () => {
3086
3086
  A({
3087
3087
  element: "evento_en_vivo_view_more",
3088
- label: `Landing: ${R} - OraculoSeccionEventoEnVivo - Ver más`,
3088
+ label: `Landing: ${L} - OraculoSeccionEventoEnVivo - Ver más`,
3089
3089
  target: "ver_mas",
3090
3090
  event_type: "click",
3091
3091
  module_id: 301,
@@ -3100,7 +3100,7 @@ function Cn({
3100
3100
  if (!k.current) {
3101
3101
  k.current = !0;
3102
3102
  try {
3103
- const w = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), B = (($ = w == null ? void 0 : w.data) == null ? void 0 : $.event_ids) || [], V = /* @__PURE__ */ new Map();
3103
+ const x = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), B = (($ = x == null ? void 0 : x.data) == null ? void 0 : $.event_ids) || [], V = /* @__PURE__ */ new Map();
3104
3104
  B.forEach((D, Z) => V.set(String(D), Z)), M.current = V;
3105
3105
  } catch (v) {
3106
3106
  console.error("Order fetch failed, using default sorting", v);
@@ -3108,12 +3108,12 @@ function Cn({
3108
3108
  }
3109
3109
  const d = await fetch(l);
3110
3110
  if (!d.ok) throw new Error("Failed to fetch live events");
3111
- const x = await d.json(), S = wn(x.events);
3111
+ const y = await d.json(), S = wn(y.events);
3112
3112
  if (M.current.size === 0)
3113
3113
  r(S);
3114
3114
  else {
3115
- const v = [...S].sort((w, B) => {
3116
- const V = M.current.get(String(w.event.id)), D = M.current.get(String(B.event.id));
3115
+ const v = [...S].sort((x, B) => {
3116
+ const V = M.current.get(String(x.event.id)), D = M.current.get(String(B.event.id));
3117
3117
  return (V !== void 0 ? V : 1 / 0) - (D !== void 0 ? D : 1 / 0);
3118
3118
  });
3119
3119
  r(v);
@@ -3127,28 +3127,28 @@ function Cn({
3127
3127
  const $ = setInterval(O, 2e4);
3128
3128
  return () => clearInterval($);
3129
3129
  }, [O]), J(() => {
3130
- if (N.start === null || N.end === null || !(f != null && f.length) || T.current)
3130
+ if (F.start === null || F.end === null || !(h != null && h.length) || T.current)
3131
3131
  return;
3132
- const $ = 3, d = Math.max(0, N.start - $), x = Math.min(f.length - 1, N.end + $), S = f.slice(d, x + 1).map((v) => {
3133
- var w;
3134
- return (w = v == null ? void 0 : v.event) == null ? void 0 : w.id;
3135
- }).filter((v) => v && !_.current.has(v));
3136
- S.length !== 0 && (S.forEach((v) => _.current.add(v)), T.current = !0, lt(S).then((v) => {
3137
- v != null && v.events && m((w) => ({
3138
- ...w,
3132
+ const $ = 3, d = Math.max(0, F.start - $), y = Math.min(h.length - 1, F.end + $), S = h.slice(d, y + 1).map((v) => {
3133
+ var x;
3134
+ return (x = v == null ? void 0 : v.event) == null ? void 0 : x.id;
3135
+ }).filter((v) => v && !w.current.has(v));
3136
+ S.length !== 0 && (S.forEach((v) => w.current.add(v)), T.current = !0, lt(S).then((v) => {
3137
+ v != null && v.events && m((x) => ({
3138
+ ...x,
3139
3139
  ...v.events
3140
3140
  }));
3141
3141
  }).catch((v) => {
3142
- console.error("Jersey fetch error", v), S.forEach((w) => _.current.delete(w));
3142
+ console.error("Jersey fetch error", v), S.forEach((x) => w.current.delete(x));
3143
3143
  }).finally(() => {
3144
3144
  T.current = !1;
3145
3145
  }));
3146
- }, [N, f]);
3147
- const P = i || void 0, q = f === null;
3148
- if (!q && f.length === 0)
3146
+ }, [F, h]);
3147
+ const R = i || void 0, q = h === null;
3148
+ if (!q && h.length === 0)
3149
3149
  return null;
3150
- const b = te(() => q ? Array(4).fill({}) : (f == null ? void 0 : f.slice(0, 20)) || [], [q, f]), F = be("(max-width:768px)");
3151
- return /* @__PURE__ */ t("section", { className: P, style: {
3150
+ const g = te(() => q ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [q, h]), z = be("(max-width:768px)");
3151
+ return /* @__PURE__ */ t("section", { className: R, style: {
3152
3152
  // paddingLeft: 16,
3153
3153
  // paddingRight: 16,
3154
3154
  width: "100%",
@@ -3165,7 +3165,7 @@ function Cn({
3165
3165
  variant: "secondary",
3166
3166
  iconOnly: !0,
3167
3167
  leftIcon: /* @__PURE__ */ t(Te, {}),
3168
- onClick: L,
3168
+ onClick: N,
3169
3169
  disabled: u.isStart
3170
3170
  }
3171
3171
  ),
@@ -3176,7 +3176,7 @@ function Cn({
3176
3176
  variant: "secondary",
3177
3177
  iconOnly: !0,
3178
3178
  rightIcon: /* @__PURE__ */ t(ke, {}),
3179
- onClick: z,
3179
+ onClick: P,
3180
3180
  disabled: u.isEnd
3181
3181
  }
3182
3182
  )
@@ -3188,9 +3188,9 @@ function Cn({
3188
3188
  ce,
3189
3189
  {
3190
3190
  ref: s,
3191
- items: b,
3191
+ items: g,
3192
3192
  perPage: void 0,
3193
- showRightGradient: !F,
3193
+ showRightGradient: !z,
3194
3194
  enableHorizontalWheel: !0,
3195
3195
  gap: "16px",
3196
3196
  options: { autoWidth: !0, trimSpace: "move" },
@@ -3201,19 +3201,19 @@ function Cn({
3201
3201
  },
3202
3202
  renderItem: ($) => {
3203
3203
  var S;
3204
- const d = ((S = $.event) == null ? void 0 : S.id) || $.eventId, x = d in c ? c[d] : void 0;
3204
+ const d = ((S = $.event) == null ? void 0 : S.id) || $.eventId, y = d in c ? c[d] : void 0;
3205
3205
  return q ? /* @__PURE__ */ t(Ie, { children: /* @__PURE__ */ t(bn, {}) }) : /* @__PURE__ */ t(Ie, { children: /* @__PURE__ */ t(
3206
3206
  Sn,
3207
3207
  {
3208
3208
  ...$,
3209
- jersey: x
3209
+ jersey: y
3210
3210
  }
3211
3211
  ) });
3212
3212
  },
3213
- onMove: ({ isStart: $, isEnd: d, visibleStart: x, visibleEnd: S }) => {
3214
- h(
3213
+ onMove: ({ isStart: $, isEnd: d, visibleStart: y, visibleEnd: S }) => {
3214
+ b(
3215
3215
  (v) => v.isStart === $ && v.isEnd === d ? v : { isStart: $, isEnd: d }
3216
- ), y({ start: x, end: S });
3216
+ ), _({ start: y, end: S });
3217
3217
  }
3218
3218
  }
3219
3219
  )
@@ -3259,7 +3259,7 @@ async function Nn(e, a = 2, n) {
3259
3259
  if (n.aborted)
3260
3260
  throw new DOMException("Aborted", "AbortError");
3261
3261
  const l = e.slice(i, i + a), s = await Promise.all(
3262
- l.map((u) => fetch(u, { signal: n }).then((h) => h.json()))
3262
+ l.map((u) => fetch(u, { signal: n }).then((b) => b.json()))
3263
3263
  );
3264
3264
  o.push(...s);
3265
3265
  }
@@ -3295,11 +3295,11 @@ function An({
3295
3295
  onViewMore: o,
3296
3296
  className: i = ""
3297
3297
  }) {
3298
- const l = Q(), s = ee(), u = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = W(null), [f, r] = H({ isStart: !0, isEnd: !1 }), [c, m] = H(null);
3298
+ const l = Q(), s = ee(), u = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", b = W(null), [h, r] = H({ isStart: !0, isEnd: !1 }), [c, m] = H(null);
3299
3299
  W(/* @__PURE__ */ new Set());
3300
- const [g, y] = H({}), [T, C] = H({ start: null, end: null }), I = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", k = st(T, 250), A = W(!1);
3300
+ const [f, _] = H({}), [T, C] = H({ start: null, end: null }), I = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", k = st(T, 250), A = W(!1);
3301
3301
  te(() => c === null ? Array(6).fill({}) : c.slice(0, 20), [c]);
3302
- const R = () => {
3302
+ const L = () => {
3303
3303
  l({
3304
3304
  element: "evento_semana_view_more",
3305
3305
  label: `Landing: ${s} - OraculoSeccionEventoSemana - Ver más`,
@@ -3313,8 +3313,8 @@ function An({
3313
3313
  }), wa();
3314
3314
  };
3315
3315
  async function M(O) {
3316
- var b, F;
3317
- let P = [], q = [];
3316
+ var g, z;
3317
+ let R = [], q = [];
3318
3318
  try {
3319
3319
  const $ = await fetch(
3320
3320
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
@@ -3322,31 +3322,31 @@ function An({
3322
3322
  );
3323
3323
  if ($.ok) {
3324
3324
  const d = await $.json();
3325
- P = ((b = d == null ? void 0 : d.data) == null ? void 0 : b.group_ids) || [], q = ((F = d == null ? void 0 : d.data) == null ? void 0 : F.event_ids) || [];
3325
+ R = ((g = d == null ? void 0 : d.data) == null ? void 0 : g.group_ids) || [], q = ((z = d == null ? void 0 : d.data) == null ? void 0 : z.event_ids) || [];
3326
3326
  }
3327
3327
  } catch ($) {
3328
3328
  $.name !== "AbortError" && console.warn("Order API not available, using default group order");
3329
3329
  return;
3330
3330
  }
3331
3331
  try {
3332
- const x = (await (await fetch(u, { signal: O })).json()).group.groups.find(
3332
+ const y = (await (await fetch(u, { signal: O })).json()).group.groups.find(
3333
3333
  (D) => D.englishName === "Football"
3334
3334
  );
3335
- if (!x || !Array.isArray(x.groups)) {
3335
+ if (!y || !Array.isArray(y.groups)) {
3336
3336
  console.error("Football groups not found");
3337
3337
  return;
3338
3338
  }
3339
- let S = [...x.groups];
3340
- if (P.length > 0) {
3339
+ let S = [...y.groups];
3340
+ if (R.length > 0) {
3341
3341
  const D = new Map(
3342
- P.map((Z, Y) => [Z, Y])
3342
+ R.map((Z, Y) => [Z, Y])
3343
3343
  );
3344
3344
  S.sort((Z, Y) => {
3345
3345
  const me = D.get(String(Z.id)), pe = D.get(String(Y.id));
3346
3346
  return me !== void 0 && pe !== void 0 ? me - pe : me !== void 0 ? -1 : pe !== void 0 ? 1 : 0;
3347
3347
  });
3348
3348
  }
3349
- const w = S.slice(0, 5), B = (D) => {
3349
+ const x = S.slice(0, 5), B = (D) => {
3350
3350
  const Z = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3351
3351
  if (D.groups && D.groups.length > 0) {
3352
3352
  const Y = D.groups[0];
@@ -3357,39 +3357,39 @@ function An({
3357
3357
  return [
3358
3358
  `${Z}/${D.termKey}/all/all/matches.json?${I}`
3359
3359
  ];
3360
- }, V = w.flatMap(B);
3361
- N(V, q, O);
3360
+ }, V = x.flatMap(B);
3361
+ F(V, q, O);
3362
3362
  } catch ($) {
3363
3363
  console.error($);
3364
3364
  }
3365
3365
  }
3366
- async function N(O, P, q) {
3366
+ async function F(O, R, q) {
3367
3367
  try {
3368
- const b = await Nn(O, 2, q);
3369
- let F = [], $ = [];
3370
- b.forEach((v) => {
3371
- v.events && (F.push(...v.events.map((w) => w.event)), $.push(
3372
- ...v.events.flatMap((w) => w.betOffers || [])
3368
+ const g = await Nn(O, 2, q);
3369
+ let z = [], $ = [];
3370
+ g.forEach((v) => {
3371
+ v.events && (z.push(...v.events.map((x) => x.event)), $.push(
3372
+ ...v.events.flatMap((x) => x.betOffers || [])
3373
3373
  ));
3374
3374
  });
3375
- const d = Ln(F, $), x = Mn(Bn(d));
3376
- let S = x;
3377
- if (P.length > 0) {
3375
+ const d = Ln(z, $), y = Mn(Bn(d));
3376
+ let S = y;
3377
+ if (R.length > 0) {
3378
3378
  const v = new Map(
3379
- P.map((w, B) => [
3380
- String(w),
3379
+ R.map((x, B) => [
3380
+ String(x),
3381
3381
  B
3382
3382
  ])
3383
3383
  );
3384
- S = [...x].sort((w, B) => {
3385
- const V = v.get(String(w.id)), D = v.get(String(B.id));
3384
+ S = [...y].sort((x, B) => {
3385
+ const V = v.get(String(x.id)), D = v.get(String(B.id));
3386
3386
  return V !== void 0 && D !== void 0 ? V - D : V !== void 0 ? -1 : D !== void 0 ? 1 : 0;
3387
3387
  });
3388
3388
  }
3389
3389
  if (q.aborted) return;
3390
3390
  m(S);
3391
- } catch (b) {
3392
- console.error("Error loading events:", b);
3391
+ } catch (g) {
3392
+ console.error("Error loading events:", g);
3393
3393
  }
3394
3394
  }
3395
3395
  J(() => {
@@ -3401,13 +3401,13 @@ function An({
3401
3401
  }, [e]), J(() => {
3402
3402
  if (k.start === null || k.end === null || !(c != null && c.length) || A.current)
3403
3403
  return;
3404
- const O = 2, P = Math.max(0, k.start - O), q = Math.min(c.length - 1, k.end + O), b = c.slice(P, q + 1).map(($) => $ == null ? void 0 : $.id).filter(Boolean).filter(($) => g[$] === void 0);
3405
- if (!b.length) return;
3406
- let F = !1;
3404
+ const O = 2, R = Math.max(0, k.start - O), q = Math.min(c.length - 1, k.end + O), g = c.slice(R, q + 1).map(($) => $ == null ? void 0 : $.id).filter(Boolean).filter(($) => f[$] === void 0);
3405
+ if (!g.length) return;
3406
+ let z = !1;
3407
3407
  return A.current = !0, (async () => {
3408
3408
  try {
3409
- const $ = await lt(b);
3410
- F || y((d) => ({
3409
+ const $ = await lt(g);
3410
+ z || _((d) => ({
3411
3411
  ...d,
3412
3412
  ...$.events
3413
3413
  }));
@@ -3417,15 +3417,15 @@ function An({
3417
3417
  A.current = !1;
3418
3418
  }
3419
3419
  })(), () => {
3420
- F = !0;
3420
+ z = !0;
3421
3421
  };
3422
3422
  }, [k, c]);
3423
- const _ = i || void 0, L = {
3423
+ const w = i || void 0, N = {
3424
3424
  paddingLeft: 0,
3425
3425
  width: "100%",
3426
3426
  boxSizing: "border-box"
3427
- }, z = c === null, E = be("(max-width:768px)");
3428
- return !z && c.length === 0 ? null : /* @__PURE__ */ t("section", { className: _, style: L, children: /* @__PURE__ */ p("div", { className: `${_e.wrapper} ${_e.padding}`, children: [
3427
+ }, P = c === null, E = be("(max-width:768px)");
3428
+ return !P && c.length === 0 ? null : /* @__PURE__ */ t("section", { className: w, style: N, children: /* @__PURE__ */ p("div", { className: `${_e.wrapper} ${_e.padding}`, children: [
3429
3429
  /* @__PURE__ */ t("div", { className: _e.container, children: /* @__PURE__ */ p(j, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3430
3430
  /* @__PURE__ */ t(se, { title: "Eventos de la semana" }),
3431
3431
  /* @__PURE__ */ t("div", { className: _e.buttonWrapper, children: /* @__PURE__ */ t(
@@ -3435,7 +3435,7 @@ function An({
3435
3435
  size: "lg",
3436
3436
  fullWidth: !0,
3437
3437
  onClick: () => {
3438
- R();
3438
+ L();
3439
3439
  },
3440
3440
  children: "Ver más"
3441
3441
  }
@@ -3444,8 +3444,8 @@ function An({
3444
3444
  /* @__PURE__ */ t("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ t(
3445
3445
  ce,
3446
3446
  {
3447
- ref: h,
3448
- items: z ? Array(6).fill({}) : c.slice(0, 20),
3447
+ ref: b,
3448
+ items: P ? Array(6).fill({}) : c.slice(0, 20),
3449
3449
  perPage: 3.5,
3450
3450
  gap: "16px",
3451
3451
  enableHorizontalWheel: !0,
@@ -3460,13 +3460,13 @@ function An({
3460
3460
  }
3461
3461
  },
3462
3462
  renderItem: (O) => {
3463
- const P = O.id, q = P in g ? g[P] : void 0;
3464
- return z ? /* @__PURE__ */ t(Ie, { children: /* @__PURE__ */ t(On, {}) }) : /* @__PURE__ */ t(Ie, { children: /* @__PURE__ */ t($n, { event: O, jersey: q }) });
3463
+ const R = O.id, q = R in f ? f[R] : void 0;
3464
+ return P ? /* @__PURE__ */ t(Ie, { children: /* @__PURE__ */ t(On, {}) }) : /* @__PURE__ */ t(Ie, { children: /* @__PURE__ */ t($n, { event: O, jersey: q }) });
3465
3465
  },
3466
- onMove: ({ isStart: O, isEnd: P, visibleStart: q, visibleEnd: b }) => {
3467
- r({ isStart: O, isEnd: P }), C({
3466
+ onMove: ({ isStart: O, isEnd: R, visibleStart: q, visibleEnd: g }) => {
3467
+ r({ isStart: O, isEnd: R }), C({
3468
3468
  start: q,
3469
- end: b
3469
+ end: g
3470
3470
  }), l({
3471
3471
  element: "evento_semana_carousel_slide",
3472
3472
  label: `Landing: ${s} - OraculoSeccionEventoSemana - Slide Carousel`,
@@ -3476,9 +3476,9 @@ function An({
3476
3476
  metadata: {
3477
3477
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3478
3478
  visibleStart: q,
3479
- visibleEnd: b,
3479
+ visibleEnd: g,
3480
3480
  isStart: O,
3481
- isEnd: P
3481
+ isEnd: R
3482
3482
  },
3483
3483
  tags: { section: "OraculoSeccionEventoSemana" }
3484
3484
  });
@@ -3492,8 +3492,8 @@ function Rn({
3492
3492
  items: a,
3493
3493
  hideItems: n
3494
3494
  }) {
3495
- var O, P, q;
3496
- const [o, i] = H(0), l = Q(), s = ee(), u = W(null), h = W(!1), f = W(!1), r = (e == null ? void 0 : e.length) || 1, c = !e || e.length === 0, m = !c && ((O = e == null ? void 0 : e.length) != null ? O : 0) > 1, g = !n && ((P = a == null ? void 0 : a.length) != null ? P : 0) > 0, y = "#B5B5B5", T = {
3495
+ var O, R, q;
3496
+ const [o, i] = H(0), l = Q(), s = ee(), u = W(null), b = W(!1), h = W(!1), r = (e == null ? void 0 : e.length) || 1, c = !e || e.length === 0, m = !c && ((O = e == null ? void 0 : e.length) != null ? O : 0) > 1, f = !n && ((R = a == null ? void 0 : a.length) != null ? R : 0) > 0, _ = "#B5B5B5", T = {
3497
3497
  position: "absolute",
3498
3498
  top: "50%",
3499
3499
  transform: "translateY(-50%)",
@@ -3501,18 +3501,18 @@ function Rn({
3501
3501
  width: 48,
3502
3502
  height: 40,
3503
3503
  borderRadius: "12px",
3504
- border: `1.5px solid ${y}`,
3504
+ border: `1.5px solid ${_}`,
3505
3505
  py: 1,
3506
3506
  px: 1.5,
3507
- color: y,
3507
+ color: _,
3508
3508
  backgroundColor: "transparent",
3509
3509
  "&:hover": {
3510
3510
  backgroundColor: "rgba(181,181,181,0.08)"
3511
3511
  },
3512
3512
  "&.Mui-disabled": {
3513
3513
  opacity: 0.35,
3514
- borderColor: y,
3515
- color: y,
3514
+ borderColor: _,
3515
+ color: _,
3516
3516
  backgroundColor: "transparent",
3517
3517
  cursor: "default"
3518
3518
  }
@@ -3528,83 +3528,83 @@ function Rn({
3528
3528
  []
3529
3529
  );
3530
3530
  J(() => {
3531
- const b = setTimeout(() => {
3532
- h.current = !0;
3531
+ const g = setTimeout(() => {
3532
+ b.current = !0;
3533
3533
  }, 500);
3534
- return () => clearTimeout(b);
3534
+ return () => clearTimeout(g);
3535
3535
  }, []);
3536
- const I = (b, F) => {
3537
- var d, x;
3538
- const $ = ((x = (d = b.href) == null ? void 0 : d.split("/").pop()) == null ? void 0 : x.split(".")[0]) || b.label || b.id || `banner_${F + 1}`;
3536
+ const I = (g, z) => {
3537
+ var d, y;
3538
+ const $ = ((y = (d = g.href) == null ? void 0 : d.split("/").pop()) == null ? void 0 : y.split(".")[0]) || g.label || g.id || `banner_${z + 1}`;
3539
3539
  l({
3540
3540
  element: "banner_carousel",
3541
3541
  label: `Landing: ${s} - OraculoSeccionBanners - Banner click: ${$}`,
3542
- target: b.href || "no_url",
3542
+ target: g.href || "no_url",
3543
3543
  event_type: "click",
3544
3544
  module_id: 301,
3545
3545
  metadata: {
3546
3546
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3547
- banner_position: F + 1,
3547
+ banner_position: z + 1,
3548
3548
  banner_total: (e == null ? void 0 : e.length) || 0
3549
3549
  },
3550
3550
  tags: {
3551
3551
  banner_type: "carousel",
3552
3552
  banner_target: "_self",
3553
- banner_url: b.href || "no_url"
3553
+ banner_url: g.href || "no_url"
3554
3554
  }
3555
3555
  });
3556
- }, k = (b) => {
3556
+ }, k = (g) => {
3557
3557
  if (l({
3558
3558
  element: "banner_menu_item",
3559
- label: `Landing: ${s} - OraculoSeccionBanners - Menu item click: ${b.label || b.id}`,
3560
- target: b.href || "action",
3559
+ label: `Landing: ${s} - OraculoSeccionBanners - Menu item click: ${g.label || g.id}`,
3560
+ target: g.href || "action",
3561
3561
  event_type: "click",
3562
3562
  module_id: 301,
3563
3563
  metadata: {
3564
3564
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3565
- item_id: b.id
3565
+ item_id: g.id
3566
3566
  },
3567
3567
  tags: {
3568
- item_label: b.label || "no_label"
3568
+ item_label: g.label || "no_label"
3569
3569
  }
3570
- }), b.onClick) {
3571
- b.onClick();
3570
+ }), g.onClick) {
3571
+ g.onClick();
3572
3572
  return;
3573
3573
  }
3574
- b.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(b.href);
3575
- }, A = 5e3, R = W(null), M = !c && ((q = e == null ? void 0 : e.length) != null ? q : 0) > 1, N = () => {
3576
- R.current != null && (window.clearTimeout(R.current), R.current = null);
3577
- }, _ = () => {
3578
- N(), M && (R.current = window.setTimeout(() => {
3579
- var b;
3580
- f.current = !0, (b = u.current) == null || b.next();
3574
+ g.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(g.href);
3575
+ }, A = 5e3, L = W(null), M = !c && ((q = e == null ? void 0 : e.length) != null ? q : 0) > 1, F = () => {
3576
+ L.current != null && (window.clearTimeout(L.current), L.current = null);
3577
+ }, w = () => {
3578
+ F(), M && (L.current = window.setTimeout(() => {
3579
+ var g;
3580
+ h.current = !0, (g = u.current) == null || g.next();
3581
3581
  }, A));
3582
3582
  };
3583
- J(() => (_(), () => N()), [M, A]);
3584
- const L = (b) => {
3585
- var F;
3586
- b.preventDefault(), b.stopPropagation(), N(), (F = u.current) == null || F.prev();
3587
- }, z = (b) => {
3588
- var F;
3589
- b.preventDefault(), b.stopPropagation(), N(), (F = u.current) == null || F.next();
3590
- }, E = (b) => {
3591
- var d, x, S, v;
3592
- const F = (b % r + r) % r;
3593
- if (!h.current) return;
3594
- const $ = (d = e == null ? void 0 : e[F]) != null && d.href ? ((S = (x = e[F].href) == null ? void 0 : x.split("/").pop()) == null ? void 0 : S.split(".")[0]) || `banner_${F + 1}` : `banner_${F + 1}`;
3583
+ J(() => (w(), () => F()), [M, A]);
3584
+ const N = (g) => {
3585
+ var z;
3586
+ g.preventDefault(), g.stopPropagation(), F(), (z = u.current) == null || z.prev();
3587
+ }, P = (g) => {
3588
+ var z;
3589
+ g.preventDefault(), g.stopPropagation(), F(), (z = u.current) == null || z.next();
3590
+ }, E = (g) => {
3591
+ var d, y, S, v;
3592
+ const z = (g % r + r) % r;
3593
+ if (!b.current) return;
3594
+ const $ = (d = e == null ? void 0 : e[z]) != null && d.href ? ((S = (y = e[z].href) == null ? void 0 : y.split("/").pop()) == null ? void 0 : S.split(".")[0]) || `banner_${z + 1}` : `banner_${z + 1}`;
3595
3595
  l({
3596
3596
  element: "banner_carousel",
3597
- label: `Landing: ${s} - OraculoSeccionBanners - Banner view: Slide ${F + 1} - ${$}`,
3598
- target: ((v = e == null ? void 0 : e[F]) == null ? void 0 : v.href) || "no_url",
3597
+ label: `Landing: ${s} - OraculoSeccionBanners - Banner view: Slide ${z + 1} - ${$}`,
3598
+ target: ((v = e == null ? void 0 : e[z]) == null ? void 0 : v.href) || "no_url",
3599
3599
  event_type: "view",
3600
3600
  module_id: 301,
3601
3601
  metadata: {
3602
3602
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3603
- slide_index: F + 1,
3603
+ slide_index: z + 1,
3604
3604
  total_slides: r,
3605
3605
  interaction_type: "manual_slide"
3606
3606
  },
3607
- tags: { banner_position: String(F + 1) }
3607
+ tags: { banner_position: String(z + 1) }
3608
3608
  });
3609
3609
  };
3610
3610
  return /* @__PURE__ */ p(
@@ -3649,22 +3649,22 @@ function Rn({
3649
3649
  gap: "0px",
3650
3650
  enableHorizontalWheel: !0,
3651
3651
  options: C,
3652
- onMove: ({ index: b }) => {
3653
- const F = (b % r + r) % r;
3654
- i(F);
3655
- const $ = f.current;
3656
- f.current = !1, _(), $ || E(b);
3652
+ onMove: ({ index: g }) => {
3653
+ const z = (g % r + r) % r;
3654
+ i(z);
3655
+ const $ = h.current;
3656
+ h.current = !1, w(), $ || E(g);
3657
3657
  },
3658
- renderItem: (b, F) => {
3658
+ renderItem: (g, z) => {
3659
3659
  var $, d;
3660
3660
  return /* @__PURE__ */ p(
3661
3661
  X,
3662
3662
  {
3663
3663
  component: "a",
3664
- href: b.href,
3665
- target: ($ = b.target) != null ? $ : "_self",
3666
- rel: b.target === "_blank" ? "noopener noreferrer" : void 0,
3667
- onClick: () => I(b, F),
3664
+ href: g.href,
3665
+ target: ($ = g.target) != null ? $ : "_self",
3666
+ rel: g.target === "_blank" ? "noopener noreferrer" : void 0,
3667
+ onClick: () => I(g, z),
3668
3668
  sx: {
3669
3669
  position: "relative",
3670
3670
  width: "100%",
@@ -3675,13 +3675,13 @@ function Rn({
3675
3675
  },
3676
3676
  children: [
3677
3677
  /* @__PURE__ */ p(X, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3678
- /* @__PURE__ */ t("source", { srcSet: b.desktopSrc, media: "(min-width:800px)" }),
3679
- /* @__PURE__ */ t("source", { srcSet: b.mobileSrc, media: "(max-width:799px)" }),
3678
+ /* @__PURE__ */ t("source", { srcSet: g.desktopSrc, media: "(min-width:800px)" }),
3679
+ /* @__PURE__ */ t("source", { srcSet: g.mobileSrc, media: "(max-width:799px)" }),
3680
3680
  /* @__PURE__ */ t(
3681
3681
  X,
3682
3682
  {
3683
3683
  component: "img",
3684
- src: (d = b.fallbackSrc) != null ? d : b.desktopSrc,
3684
+ src: (d = g.fallbackSrc) != null ? d : g.desktopSrc,
3685
3685
  alt: "",
3686
3686
  "aria-hidden": !0,
3687
3687
  loading: "lazy",
@@ -3726,7 +3726,7 @@ function Rn({
3726
3726
  Pe,
3727
3727
  {
3728
3728
  "aria-label": "Anterior",
3729
- onClick: L,
3729
+ onClick: N,
3730
3730
  sx: {
3731
3731
  ...T,
3732
3732
  left: "120px",
@@ -3740,7 +3740,7 @@ function Rn({
3740
3740
  Pe,
3741
3741
  {
3742
3742
  "aria-label": "Siguiente",
3743
- onClick: z,
3743
+ onClick: P,
3744
3744
  sx: {
3745
3745
  ...T,
3746
3746
  right: "120px",
@@ -3777,7 +3777,7 @@ function Rn({
3777
3777
  ]
3778
3778
  }
3779
3779
  ),
3780
- g && /* @__PURE__ */ t(
3780
+ f && /* @__PURE__ */ t(
3781
3781
  X,
3782
3782
  {
3783
3783
  sx: {
@@ -3795,7 +3795,7 @@ function Rn({
3795
3795
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3796
3796
  zIndex: 3
3797
3797
  },
3798
- children: a == null ? void 0 : a.map((b) => /* @__PURE__ */ p(
3798
+ children: a == null ? void 0 : a.map((g) => /* @__PURE__ */ p(
3799
3799
  X,
3800
3800
  {
3801
3801
  sx: {
@@ -3807,7 +3807,7 @@ function Rn({
3807
3807
  gap: { xs: 0.5, md: 1 },
3808
3808
  color: "#FFFFFF",
3809
3809
  minWidth: 0,
3810
- cursor: b.onClick || b.href ? "pointer" : "default",
3810
+ cursor: g.onClick || g.href ? "pointer" : "default",
3811
3811
  whiteSpace: "nowrap",
3812
3812
  "&::after": {
3813
3813
  content: '""',
@@ -3831,7 +3831,7 @@ function Rn({
3831
3831
  opacity: 1,
3832
3832
  transform: "scaleX(1)"
3833
3833
  },
3834
- ...b.iconHover && {
3834
+ ...g.iconHover && {
3835
3835
  "&:hover .menu-icon-default": {
3836
3836
  display: "none"
3837
3837
  },
@@ -3840,9 +3840,9 @@ function Rn({
3840
3840
  }
3841
3841
  }
3842
3842
  },
3843
- onClick: () => k(b),
3843
+ onClick: () => k(g),
3844
3844
  children: [
3845
- b.icon && /* @__PURE__ */ p(
3845
+ g.icon && /* @__PURE__ */ p(
3846
3846
  X,
3847
3847
  {
3848
3848
  sx: {
@@ -3856,8 +3856,8 @@ function Rn({
3856
3856
  X,
3857
3857
  {
3858
3858
  component: "img",
3859
- src: b.icon,
3860
- alt: b.label || `icon-${b.id}`,
3859
+ src: g.icon,
3860
+ alt: g.label || `icon-${g.id}`,
3861
3861
  className: "menu-icon-default",
3862
3862
  sx: {
3863
3863
  display: "block",
@@ -3869,12 +3869,12 @@ function Rn({
3869
3869
  }
3870
3870
  }
3871
3871
  ),
3872
- b.iconHover && /* @__PURE__ */ t(
3872
+ g.iconHover && /* @__PURE__ */ t(
3873
3873
  X,
3874
3874
  {
3875
3875
  component: "img",
3876
- src: b.iconHover,
3877
- alt: b.label || `icon-hover-${b.id}`,
3876
+ src: g.iconHover,
3877
+ alt: g.label || `icon-hover-${g.id}`,
3878
3878
  className: "menu-icon-hover",
3879
3879
  sx: {
3880
3880
  display: "none",
@@ -3899,12 +3899,12 @@ function Rn({
3899
3899
  color: "#E0E0E0",
3900
3900
  textAlign: "center"
3901
3901
  },
3902
- children: b.label
3902
+ children: g.label
3903
3903
  }
3904
3904
  )
3905
3905
  ]
3906
3906
  },
3907
- b.id
3907
+ g.id
3908
3908
  ))
3909
3909
  }
3910
3910
  )
@@ -5138,13 +5138,13 @@ const Je = [
5138
5138
  loader: i,
5139
5139
  disableWrapper: l = !1
5140
5140
  }) => {
5141
- const s = te(() => Dn(o), [o]), u = i || s.loader, [h, f] = H([]), [r, c] = H(!1), [m, g] = H({}), [y, T] = H({}), [C, I] = H({}), k = Ye("(min-width:1024px)"), A = (d) => Array.isArray(d) ? d.map((x) => Number(x)).filter((x) => !Number.isNaN(x)) : [], R = te(() => {
5141
+ const s = te(() => Dn(o), [o]), u = i || s.loader, [b, h] = H([]), [r, c] = H(!1), [m, f] = H({}), [_, T] = H({}), [C, I] = H({}), k = Ye("(min-width:1024px)"), A = (d) => Array.isArray(d) ? d.map((y) => Number(y)).filter((y) => !Number.isNaN(y)) : [], L = te(() => {
5142
5142
  const d = s.user;
5143
5143
  return A(d == null ? void 0 : d.groups);
5144
5144
  }, [s]), M = (d) => {
5145
- const x = d.manualScalarFields;
5146
- if (!Array.isArray(x)) return [];
5147
- const S = x.find(
5145
+ const y = d.manualScalarFields;
5146
+ if (!Array.isArray(y)) return [];
5147
+ const S = y.find(
5148
5148
  (B) => String((B == null ? void 0 : B.name) || "").trim().toLowerCase() === "groups"
5149
5149
  );
5150
5150
  if (!S) return [];
@@ -5152,30 +5152,30 @@ const Je = [
5152
5152
  if (v == null) return [];
5153
5153
  if (Array.isArray(v))
5154
5154
  return v.map((B) => Number(String(B).trim())).filter((B) => !Number.isNaN(B));
5155
- const w = String(v).trim();
5156
- return w ? w.split(",").map((B) => Number(B.trim())).filter((B) => !Number.isNaN(B)) : [];
5157
- }, N = (d, x) => {
5155
+ const x = String(v).trim();
5156
+ return x ? x.split(",").map((B) => Number(B.trim())).filter((B) => !Number.isNaN(B)) : [];
5157
+ }, F = (d, y) => {
5158
5158
  const S = M(d);
5159
5159
  if (S.length === 0) return !0;
5160
- if (!Array.isArray(x) || x.length === 0) return !1;
5161
- const v = new Set(x);
5162
- return S.some((w) => v.has(w));
5160
+ if (!Array.isArray(y) || y.length === 0) return !1;
5161
+ const v = new Set(y);
5162
+ return S.some((x) => v.has(x));
5163
5163
  };
5164
5164
  J(() => {
5165
5165
  if (e) return;
5166
5166
  if (!n) {
5167
- console.warn("[landing] sin db -> fallback json"), f(Be(Ke));
5167
+ console.warn("[landing] sin db -> fallback json"), h(Be(Ke));
5168
5168
  return;
5169
5169
  }
5170
5170
  const d = (S, v) => {
5171
- console.warn("[landing] FALLBACK:", S, v != null ? v : ""), f(Be(Ke)), c(!1);
5171
+ console.warn("[landing] FALLBACK:", S, v != null ? v : ""), h(Be(Ke)), c(!1);
5172
5172
  };
5173
5173
  if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
5174
5174
  c(!0), d("forzado por env");
5175
5175
  return;
5176
5176
  }
5177
5177
  c(!0);
5178
- const x = It(
5178
+ const y = It(
5179
5179
  Tt(n, "landings", a),
5180
5180
  (S) => {
5181
5181
  try {
@@ -5183,12 +5183,12 @@ const Je = [
5183
5183
  d(`doc landings/${a} no existe`);
5184
5184
  return;
5185
5185
  }
5186
- const v = S.data(), w = Be(v);
5187
- if (!w.length) {
5186
+ const v = S.data(), x = Be(v);
5187
+ if (!x.length) {
5188
5188
  d("JSON inválido o sin secciones normalizables", v);
5189
5189
  return;
5190
5190
  }
5191
- console.log("[landing] Firestore OK (json grande):", v), f(w);
5191
+ console.log("[landing] Firestore OK (json grande):", v), h(x);
5192
5192
  } catch (v) {
5193
5193
  d("error procesando snapshot", v);
5194
5194
  } finally {
@@ -5199,29 +5199,29 @@ const Je = [
5199
5199
  d("error onSnapshot", S);
5200
5200
  }
5201
5201
  );
5202
- return () => x();
5202
+ return () => y();
5203
5203
  }, [e, a, n]), J(() => (Pa(s), () => Ua()), [s]), J(() => {
5204
- (e ? e.slice() : h.slice()).map((S) => S.componentKey).filter((S) => !!S).length;
5205
- }, [e, h]);
5206
- const _ = async (d) => {
5204
+ (e ? e.slice() : b.slice()).map((S) => S.componentKey).filter((S) => !!S).length;
5205
+ }, [e, b]);
5206
+ const w = async (d) => {
5207
5207
  if (Je.includes(d.componentKey))
5208
5208
  return {
5209
5209
  items: [],
5210
5210
  events: [],
5211
5211
  data: {}
5212
5212
  };
5213
- const x = (d.apiUrl || "").trim();
5214
- if (!x) return;
5213
+ const y = (d.apiUrl || "").trim();
5214
+ if (!y) return;
5215
5215
  const S = d.apiMethod || "GET", v = d.apiParams || [];
5216
- let w = x, B, V;
5216
+ let x = y, B, V;
5217
5217
  if (S === "GET") {
5218
5218
  const Z = new URL(
5219
- x,
5219
+ y,
5220
5220
  typeof window == "undefined" ? "http://localhost" : window.location.origin
5221
5221
  );
5222
5222
  for (const Y of v)
5223
5223
  Y.key && Z.searchParams.append(Y.key, Y.value);
5224
- w = Z.toString();
5224
+ x = Z.toString();
5225
5225
  } else {
5226
5226
  const Z = new URLSearchParams();
5227
5227
  for (const Y of v)
@@ -5230,51 +5230,51 @@ const Je = [
5230
5230
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5231
5231
  };
5232
5232
  }
5233
- const D = await fetch(w, {
5233
+ const D = await fetch(x, {
5234
5234
  method: S,
5235
5235
  headers: V,
5236
5236
  body: B
5237
5237
  });
5238
- if (!D.ok) throw new Ze(D.status, w, D.statusText);
5238
+ if (!D.ok) throw new Ze(D.status, x, D.statusText);
5239
5239
  return D.json();
5240
- }, L = te(
5241
- () => e ? e.slice() : h.slice(),
5242
- [e, h]
5243
- ), z = ue.useRef(/* @__PURE__ */ new Set());
5240
+ }, N = te(
5241
+ () => e ? e.slice() : b.slice(),
5242
+ [e, b]
5243
+ ), P = ue.useRef(/* @__PURE__ */ new Set());
5244
5244
  J(() => {
5245
- const d = L.map((x) => ({ s: x, url: (x.apiUrl || "").trim() })).filter(({ url: x }) => !!x);
5245
+ const d = N.map((y) => ({ s: y, url: (y.apiUrl || "").trim() })).filter(({ url: y }) => !!y);
5246
5246
  if (d.length)
5247
- for (const { s: x, url: S } of d) {
5248
- const v = `${x.id}|${S}`;
5249
- z.current.has(v) || (z.current.add(v), T((w) => ({ ...w, [x.id]: !0 })), I((w) => ({ ...w, [x.id]: "" })), (async () => {
5247
+ for (const { s: y, url: S } of d) {
5248
+ const v = `${y.id}|${S}`;
5249
+ P.current.has(v) || (P.current.add(v), T((x) => ({ ...x, [y.id]: !0 })), I((x) => ({ ...x, [y.id]: "" })), (async () => {
5250
5250
  try {
5251
- const w = await _(x);
5252
- g((B) => ({ ...B, [x.id]: w }));
5253
- } catch (w) {
5251
+ const x = await w(y);
5252
+ f((B) => ({ ...B, [y.id]: x }));
5253
+ } catch (x) {
5254
5254
  let B = "Error desconocido";
5255
- w instanceof Ze ? B = `Error HTTP ${w.status} (${w.statusText}) en ${w.url}` : w instanceof SyntaxError ? B = "Respuesta no es JSON válido" : w instanceof TypeError ? B = "Fallo de red / CORS / conexión" : typeof w == "string" && (B = w.toString()), I((V) => ({ ...V, [x.id]: B }));
5255
+ x instanceof Ze ? B = `Error HTTP ${x.status} (${x.statusText}) en ${x.url}` : x instanceof SyntaxError ? B = "Respuesta no es JSON válido" : x instanceof TypeError ? B = "Fallo de red / CORS / conexión" : typeof x == "string" && (B = x.toString()), I((V) => ({ ...V, [y.id]: B }));
5256
5256
  } finally {
5257
- T((w) => ({ ...w, [x.id]: !1 }));
5257
+ T((x) => ({ ...x, [y.id]: !1 }));
5258
5258
  }
5259
5259
  })());
5260
5260
  }
5261
- }, [L]);
5261
+ }, [N]);
5262
5262
  const E = te(
5263
- () => L.filter((d) => d.visible).filter((d) => N(d, R)).sort((d, x) => d.order - x.order),
5264
- [L, R]
5265
- ), O = (d) => Array.isArray(d) ? d.map((x) => {
5263
+ () => N.filter((d) => d.visible).filter((d) => F(d, L)).sort((d, y) => d.order - y.order),
5264
+ [N, L]
5265
+ ), O = (d) => Array.isArray(d) ? d.map((y) => {
5266
5266
  const S = {};
5267
- for (const v of x.fields || []) {
5268
- const w = (v.type || "string").toLowerCase();
5269
- if (w === "number") {
5267
+ for (const v of y.fields || []) {
5268
+ const x = (v.type || "string").toLowerCase();
5269
+ if (x === "number") {
5270
5270
  const B = String(v.value || "").trim();
5271
5271
  if (B !== "") {
5272
5272
  const V = Number(B);
5273
5273
  Number.isNaN(V) || (S[v.name] = V);
5274
5274
  }
5275
- } else if (w === "boolean")
5275
+ } else if (x === "boolean")
5276
5276
  S[v.name] = String(v.value).toLowerCase() === "true";
5277
- else if (w === "function") {
5277
+ else if (x === "function") {
5278
5278
  const B = String(v.value || "").trim();
5279
5279
  if (B)
5280
5280
  try {
@@ -5287,53 +5287,53 @@ const Je = [
5287
5287
  S[v.name] = v.value;
5288
5288
  }
5289
5289
  return S;
5290
- }) : [], P = (d) => {
5291
- const x = {};
5292
- if (!Array.isArray(d)) return x;
5290
+ }) : [], R = (d) => {
5291
+ const y = {};
5292
+ if (!Array.isArray(d)) return y;
5293
5293
  for (const S of d) {
5294
5294
  if (!S.name) continue;
5295
5295
  const v = (S.type || "string").toLowerCase();
5296
5296
  if (v === "number") {
5297
- const w = String(S.value || "").trim();
5298
- if (w !== "") {
5299
- const B = Number(w);
5300
- Number.isNaN(B) || (x[S.name] = B);
5297
+ const x = String(S.value || "").trim();
5298
+ if (x !== "") {
5299
+ const B = Number(x);
5300
+ Number.isNaN(B) || (y[S.name] = B);
5301
5301
  }
5302
5302
  } else if (v === "boolean")
5303
- x[S.name] = String(S.value).toLowerCase() === "true";
5303
+ y[S.name] = String(S.value).toLowerCase() === "true";
5304
5304
  else if (v === "function") {
5305
- const w = String(S.value || "").trim();
5306
- if (w)
5305
+ const x = String(S.value || "").trim();
5306
+ if (x)
5307
5307
  try {
5308
- const B = new Function(w);
5309
- x[S.name] = B;
5308
+ const B = new Function(x);
5309
+ y[S.name] = B;
5310
5310
  } catch (B) {
5311
5311
  console.error(`❌ Error creando función en item '${S.name}':`, B);
5312
5312
  }
5313
5313
  } else
5314
- x[S.name] = S.value;
5314
+ y[S.name] = S.value;
5315
5315
  }
5316
- return x;
5317
- }, q = (d, x, S, v) => {
5318
- const w = S ? { ...S } : {}, B = (v || "items").trim() || "items";
5319
- if (x)
5320
- return w[B] = x.arr || [], w;
5316
+ return y;
5317
+ }, q = (d, y, S, v) => {
5318
+ const x = S ? { ...S } : {}, B = (v || "items").trim() || "items";
5319
+ if (y)
5320
+ return x[B] = y.arr || [], x;
5321
5321
  const V = d;
5322
5322
  if (Array.isArray(V))
5323
- return w[B] = V, w;
5323
+ return x[B] = V, x;
5324
5324
  if (V && typeof V == "object") {
5325
5325
  const D = V;
5326
- return Array.isArray(D.lobby) ? (w[B] = D.lobby, w) : Array.isArray(D.items) ? (w[B] = D.items, w) : (w[B] = V, w);
5326
+ return Array.isArray(D.lobby) ? (x[B] = D.lobby, x) : Array.isArray(D.items) ? (x[B] = D.items, x) : (x[B] = V, x);
5327
5327
  }
5328
- return w[B] = [], w;
5329
- }, b = (d) => {
5328
+ return x[B] = [], x;
5329
+ }, g = (d) => {
5330
5330
  var B;
5331
- const x = !!((B = d.apiUrl) != null && B.trim()), S = x ? m[d.id] : void 0;
5331
+ const y = !!((B = d.apiUrl) != null && B.trim()), S = y ? m[d.id] : void 0;
5332
5332
  let v = d.props ? { ...d.props } : {};
5333
- const w = P(d.manualScalarFields);
5333
+ const x = R(d.manualScalarFields);
5334
5334
  if (Je.includes(d.componentKey))
5335
- return { items: S, ...v, ...w };
5336
- if (v = { ...v, ...w }, x) v = q(S, null, v);
5335
+ return { items: S, ...v, ...x };
5336
+ if (v = { ...v, ...x }, y) v = q(S, null, v);
5337
5337
  else if (d.dataMode === "manual") {
5338
5338
  const V = O(d.manualItems);
5339
5339
  if (v = q(
@@ -5347,35 +5347,35 @@ const Je = [
5347
5347
  }
5348
5348
  }
5349
5349
  return v;
5350
- }, F = (d, x, S) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5350
+ }, z = (d, y, S) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5351
5351
  loading: "bg-blue-100 text-blue-800",
5352
5352
  error: "bg-red-100 text-red-800",
5353
5353
  component: "bg-yellow-100 text-yellow-800"
5354
- }[x]}`, children: S }, d), $ = (d) => {
5354
+ }[y]}`, children: S }, d), $ = (d) => {
5355
5355
  var ze;
5356
- const x = d.componentKey, S = Vn[x];
5356
+ const y = d.componentKey, S = Vn[y];
5357
5357
  if (!S)
5358
- return console.warn(`No hay componente registrado para "${x}"`), F(
5358
+ return console.warn(`No hay componente registrado para "${y}"`), z(
5359
5359
  d.id,
5360
5360
  "component",
5361
- `Componente "${x}" no encontrado`
5361
+ `Componente "${y}" no encontrado`
5362
5362
  );
5363
- const v = !!((ze = d.apiUrl) != null && ze.trim()), w = v ? m[d.id] : void 0, B = v ? !!y[d.id] : !1, V = v ? C[d.id] : "";
5363
+ const v = !!((ze = d.apiUrl) != null && ze.trim()), x = v ? m[d.id] : void 0, B = v ? !!_[d.id] : !1, V = v ? C[d.id] : "";
5364
5364
  if (v) {
5365
- if (B && !w)
5366
- return F(
5365
+ if (B && !x)
5366
+ return z(
5367
5367
  d.id,
5368
5368
  "loading",
5369
5369
  `Cargando datos desde ${d.apiUrl}...`
5370
5370
  );
5371
- if (V && !w)
5372
- return F(
5371
+ if (V && !x)
5372
+ return z(
5373
5373
  d.id,
5374
5374
  "error",
5375
5375
  `Error cargando ${d.apiUrl}: ${V}`
5376
5376
  );
5377
5377
  }
5378
- const D = b(d), Y = (/* @__PURE__ */ new Set([
5378
+ const D = g(d), Y = (/* @__PURE__ */ new Set([
5379
5379
  "OraculoSeccionBanners",
5380
5380
  "OraculoSeccionBonoBienvenida",
5381
5381
  "OraculoSeccionCasinoEnVivo",
@@ -5399,7 +5399,7 @@ const Je = [
5399
5399
  };
5400
5400
  return /* @__PURE__ */ t("div", { style: ft, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(S, { ...D }) }, d.id);
5401
5401
  };
5402
- return r && !e ? u ? /* @__PURE__ */ t(u, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !r && !e && h.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : l ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Le, { docId: a, children: /* @__PURE__ */ t(ae, { children: E.map($) }) }) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Le, { docId: a, children: /* @__PURE__ */ t(
5402
+ return r && !e ? u ? /* @__PURE__ */ t(u, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !r && !e && b.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : l ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Le, { docId: a, children: /* @__PURE__ */ t(ae, { children: E.map($) }) }) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Le, { docId: a, children: /* @__PURE__ */ t(
5403
5403
  gt,
5404
5404
  {
5405
5405
  className: "oli-font",