oraculo-ui 0.1.53 → 0.1.55

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
@@ -1,21 +1,21 @@
1
1
  import { jsx as e, jsxs as u, Fragment as Z } from "react/jsx-runtime";
2
- import { Link as ve, Box as j, Typography as ye, Stack as we, useMediaQuery as Pe, Container as Be } from "@mui/material";
3
- import Fe, { forwardRef as Le, useRef as A, useImperativeHandle as We, useCallback as me, useState as U, useMemo as ce, useLayoutEffect as Ue, useEffect as Q } from "react";
4
- import { Splide as ze, SplideSlide as je } from "@splidejs/react-splide";
2
+ import { Link as ve, Box as z, Typography as ye, Stack as we, useMediaQuery as Pe, Container as Be } from "@mui/material";
3
+ import Me, { forwardRef as Fe, useRef as A, useImperativeHandle as Le, useCallback as me, useState as W, useMemo as ce, useLayoutEffect as We, useEffect as Q } from "react";
4
+ import { Splide as Ue, SplideSlide as ze } from "@splidejs/react-splide";
5
5
  import k from "@mui/material/Box";
6
- import F from "@mui/material/Skeleton";
6
+ import M from "@mui/material/Skeleton";
7
7
  import D from "@mui/material/Typography";
8
8
  import B from "@mui/material/Stack";
9
9
  import { ChevronLeftRounded as le, ChevronRightRounded as de } from "@mui/icons-material";
10
10
  import Se from "@mui/icons-material/ChevronLeftRounded";
11
11
  import Ce from "@mui/icons-material/ChevronRightRounded";
12
- import Me from "@mui/material/useMediaQuery";
12
+ import je from "@mui/material/useMediaQuery";
13
13
  import { onSnapshot as Ae, doc as Ge } from "firebase/firestore";
14
- function L({
14
+ function F({
15
15
  children: t,
16
- onClick: r,
17
- href: a,
18
- target: o,
16
+ onClick: o,
17
+ href: r,
18
+ target: a,
19
19
  rel: c,
20
20
  type: n = "button",
21
21
  disabled: i = !1,
@@ -42,24 +42,24 @@ function L({
42
42
  !E && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
43
43
  h && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: h })
44
44
  ] }), $ = i ? !0 : void 0;
45
- return a ? /* @__PURE__ */ e(
45
+ return r ? /* @__PURE__ */ e(
46
46
  ve,
47
47
  {
48
- href: a,
49
- target: o,
48
+ href: r,
49
+ target: a,
50
50
  rel: c,
51
51
  "aria-label": s,
52
52
  "aria-disabled": $,
53
53
  tabIndex: $ ? -1 : void 0,
54
54
  className: T,
55
- onClick: $ ? (p) => p.preventDefault() : r,
55
+ onClick: $ ? (p) => p.preventDefault() : o,
56
56
  children: R
57
57
  }
58
58
  ) : /* @__PURE__ */ e(
59
59
  "button",
60
60
  {
61
61
  type: n,
62
- onClick: r,
62
+ onClick: o,
63
63
  disabled: !!$,
64
64
  "aria-label": s,
65
65
  className: T,
@@ -69,20 +69,20 @@ function L({
69
69
  }
70
70
  function K({
71
71
  title: t,
72
- iconUrl: r,
73
- size: a = "md",
74
- className: o = ""
72
+ iconUrl: o,
73
+ size: r = "md",
74
+ className: a = ""
75
75
  }) {
76
76
  const n = [
77
77
  "orc-section-title",
78
- a ? `orc-section-title--${a}` : "",
79
- o
78
+ r ? `orc-section-title--${r}` : "",
79
+ a
80
80
  ].filter(Boolean).join(" ");
81
81
  return /* @__PURE__ */ u("div", { className: n, children: [
82
- r && /* @__PURE__ */ e(
82
+ o && /* @__PURE__ */ e(
83
83
  "img",
84
84
  {
85
- src: r,
85
+ src: o,
86
86
  alt: "",
87
87
  className: "orc-section-title__icon"
88
88
  }
@@ -92,39 +92,39 @@ function K({
92
92
  }
93
93
  const Ee = ({
94
94
  total: t,
95
- active: r,
96
- onSelect: a,
97
- className: o = ""
95
+ active: o,
96
+ onSelect: r,
97
+ className: a = ""
98
98
  }) => {
99
99
  if (t <= 1) return null;
100
- const c = ["orc-dots", o].filter(Boolean).join(" ");
100
+ const c = ["orc-dots", a].filter(Boolean).join(" ");
101
101
  return /* @__PURE__ */ e("div", { className: c, role: "tablist", children: Array.from({ length: t }).map((n, i) => /* @__PURE__ */ e("span", { className: "orc-dots__cell", children: /* @__PURE__ */ e(
102
102
  "button",
103
103
  {
104
104
  type: "button",
105
105
  role: "tab",
106
- "aria-selected": i === r,
106
+ "aria-selected": i === o,
107
107
  "aria-label": `Ir al slide ${i + 1}`,
108
- className: "orc-dots__dot" + (i === r ? " orc-dots__dot--active" : ""),
109
- onClick: () => a == null ? void 0 : a(i)
108
+ className: "orc-dots__dot" + (i === o ? " orc-dots__dot--active" : ""),
109
+ onClick: () => r == null ? void 0 : r(i)
110
110
  }
111
111
  ) }, i)) });
112
112
  };
113
- function H({
113
+ function V({
114
114
  children: t,
115
- minWidth: r = 32,
116
- spacing: a = 2,
117
- justify: o = "stretch",
115
+ minWidth: o = 32,
116
+ spacing: r = 2,
117
+ justify: a = "stretch",
118
118
  columns: c = null
119
119
  }) {
120
- const n = c || `repeat(auto-fit, minmax(${r}px, 1fr))`, i = typeof a == "number" ? `${a * 8}px` : a;
120
+ const n = c || `repeat(auto-fit, minmax(${o}px, 1fr))`, i = typeof r == "number" ? `${r * 8}px` : r;
121
121
  return /* @__PURE__ */ e(
122
122
  "div",
123
123
  {
124
124
  style: {
125
125
  display: "grid",
126
126
  gridTemplateColumns: n,
127
- justifyItems: o,
127
+ justifyItems: a,
128
128
  gap: i,
129
129
  height: "inherit"
130
130
  },
@@ -132,9 +132,9 @@ function H({
132
132
  }
133
133
  );
134
134
  }
135
- function he({ src: t, alt: r }) {
135
+ function he({ src: t, alt: o }) {
136
136
  return /* @__PURE__ */ e(
137
- j,
137
+ z,
138
138
  {
139
139
  sx: {
140
140
  position: "relative",
@@ -145,11 +145,11 @@ function he({ src: t, alt: r }) {
145
145
  display: "inline-block"
146
146
  },
147
147
  children: /* @__PURE__ */ e(
148
- j,
148
+ z,
149
149
  {
150
150
  component: "img",
151
151
  src: t,
152
- alt: r,
152
+ alt: o,
153
153
  sx: {
154
154
  position: "absolute",
155
155
  top: 0,
@@ -163,12 +163,12 @@ function he({ src: t, alt: r }) {
163
163
  }
164
164
  );
165
165
  }
166
- const De = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", He = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Ve = "oraculo__OraculoEventTitle-module__subtitle___TmHna", re = {
166
+ const De = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ve = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", He = "oraculo__OraculoEventTitle-module__subtitle___TmHna", re = {
167
167
  contenedor: De,
168
- flexGroup: He,
169
- subtitle: Ve
168
+ flexGroup: Ve,
169
+ subtitle: He
170
170
  };
171
- function Ke({ title: t, subtitle: r }) {
171
+ function Ke({ title: t, subtitle: o }) {
172
172
  return /* @__PURE__ */ u(
173
173
  "div",
174
174
  {
@@ -185,7 +185,7 @@ function Ke({ title: t, subtitle: r }) {
185
185
  children: t
186
186
  }
187
187
  ),
188
- r && /* @__PURE__ */ u(
188
+ o && /* @__PURE__ */ u(
189
189
  "div",
190
190
  {
191
191
  className: re.flexGroup,
@@ -195,7 +195,7 @@ function Ke({ title: t, subtitle: r }) {
195
195
  /* @__PURE__ */ e("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
196
196
  " "
197
197
  ] }),
198
- /* @__PURE__ */ e("span", { className: re.subtitle, children: r }),
198
+ /* @__PURE__ */ e("span", { className: re.subtitle, children: o }),
199
199
  /* @__PURE__ */ e("div", {})
200
200
  ]
201
201
  }
@@ -204,14 +204,14 @@ function Ke({ title: t, subtitle: r }) {
204
204
  }
205
205
  );
206
206
  }
207
- function qe({ text: t, color: r = "#ff3b3b", textColor: a = "#fff" }) {
207
+ function qe({ text: t, color: o = "#ff3b3b", textColor: r = "#fff" }) {
208
208
  return /* @__PURE__ */ e(
209
209
  "span",
210
210
  {
211
211
  className: "oli-font",
212
212
  style: {
213
- backgroundColor: r,
214
- color: a,
213
+ backgroundColor: o,
214
+ color: r,
215
215
  borderRadius: "8px",
216
216
  padding: "4px 8px",
217
217
  fontSize: "12px",
@@ -225,13 +225,13 @@ function qe({ text: t, color: r = "#ff3b3b", textColor: a = "#fff" }) {
225
225
  }
226
226
  );
227
227
  }
228
- function Je({ live: t, time: r }) {
228
+ function Je({ live: t, time: o }) {
229
229
  return /* @__PURE__ */ u("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
230
230
  t && /* @__PURE__ */ e(qe, { text: "En vivo" }),
231
- r && /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: r })
231
+ o && /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: o })
232
232
  ] });
233
233
  }
234
- function Xe({ title: t, subtitle: r, live: a = !1, time: o = "" }) {
234
+ function Xe({ title: t, subtitle: o, live: r = !1, time: a = "" }) {
235
235
  return /* @__PURE__ */ u(
236
236
  "div",
237
237
  {
@@ -242,8 +242,8 @@ function Xe({ title: t, subtitle: r, live: a = !1, time: o = "" }) {
242
242
  color: "#FFFFFF"
243
243
  },
244
244
  children: [
245
- /* @__PURE__ */ e(Ke, { title: t, subtitle: r }),
246
- /* @__PURE__ */ e(Je, { live: a, time: o })
245
+ /* @__PURE__ */ e(Ke, { title: t, subtitle: o }),
246
+ /* @__PURE__ */ e(Je, { live: r, time: a })
247
247
  ]
248
248
  }
249
249
  );
@@ -267,14 +267,14 @@ const tt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", nt = "orac
267
267
  normal: rt,
268
268
  small: at
269
269
  };
270
- function ke({ text: t, name: r, size: a = "normal" }) {
270
+ function ke({ text: t, name: o, size: r = "normal" }) {
271
271
  return /* @__PURE__ */ u(
272
272
  "div",
273
273
  {
274
- className: `${X.scoreWrapper} ${X[a]}`,
274
+ className: `${X.scoreWrapper} ${X[r]}`,
275
275
  children: [
276
- /* @__PURE__ */ e("div", { className: `${X.score} ${X[a]}`, children: t }),
277
- r && /* @__PURE__ */ e("span", { className: `${X.name} ${X[a]}`, children: r })
276
+ /* @__PURE__ */ e("div", { className: `${X.score} ${X[r]}`, children: t }),
277
+ o && /* @__PURE__ */ e("span", { className: `${X.name} ${X[r]}`, children: o })
278
278
  ]
279
279
  }
280
280
  );
@@ -286,18 +286,18 @@ const it = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", st = "oraculo__
286
286
  logo: lt,
287
287
  name: dt
288
288
  };
289
- function ne({ name: t, logo: r, size: a = "regular" }) {
290
- return /* @__PURE__ */ u("div", { className: `oli-font ${ee.team} ${ee[a]}`, children: [
291
- /* @__PURE__ */ e("img", { loading: "lazy", src: r, alt: t, className: ee.logo }),
289
+ function ne({ name: t, logo: o, size: r = "regular" }) {
290
+ return /* @__PURE__ */ u("div", { className: `oli-font ${ee.team} ${ee[r]}`, children: [
291
+ /* @__PURE__ */ e("img", { loading: "lazy", src: o, alt: t, className: ee.logo }),
292
292
  /* @__PURE__ */ e("span", { className: ee.name, children: t })
293
293
  ] });
294
294
  }
295
- const ut = ze, pt = je, q = Le(
295
+ const ut = Ue, pt = ze, q = Fe(
296
296
  ({
297
297
  items: t = [],
298
- renderItem: r,
299
- perPage: a = 1,
300
- gap: o = "0px",
298
+ renderItem: o,
299
+ perPage: r = 1,
300
+ gap: a = "0px",
301
301
  breakpoints: c,
302
302
  options: n = {},
303
303
  className: i = "",
@@ -305,7 +305,7 @@ const ut = ze, pt = je, q = Le(
305
305
  useIndexAsKey: d = !1
306
306
  }, f) => {
307
307
  const x = A(null);
308
- We(f, () => ({
308
+ Le(f, () => ({
309
309
  next: () => {
310
310
  var h;
311
311
  return (h = x.current) == null ? void 0 : h.go(">");
@@ -336,8 +336,8 @@ const ut = ze, pt = je, q = Le(
336
336
  rewind: !1,
337
337
  focus: "start",
338
338
  autoWidth: !1,
339
- perPage: a,
340
- gap: o,
339
+ perPage: r,
340
+ gap: a,
341
341
  breakpoints: c,
342
342
  ...n
343
343
  };
@@ -350,24 +350,24 @@ const ut = ze, pt = je, q = Le(
350
350
  onMounted: s,
351
351
  children: t.map((h, S) => {
352
352
  var g;
353
- return /* @__PURE__ */ e(pt, { children: r(h, S) }, d ? S : (g = h.id) != null ? g : S);
353
+ return /* @__PURE__ */ e(pt, { children: o(h, S) }, d ? S : (g = h.id) != null ? g : S);
354
354
  })
355
355
  }
356
356
  ) });
357
357
  }
358
358
  ), te = ({
359
359
  imageUrl: t,
360
- onClick: r,
361
- size: a = "sm",
362
- fillParent: o = !1
360
+ onClick: o,
361
+ size: r = "sm",
362
+ fillParent: a = !1
363
363
  }) => {
364
- const c = a === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, n = (m) => {
365
- m.stopPropagation(), r == null || r();
366
- }, i = o ? { width: "100%", height: "100%" } : { width: `${c.w}px`, height: `${c.h}px` };
364
+ const c = r === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, n = (m) => {
365
+ m.stopPropagation(), o == null || o();
366
+ }, i = a ? { width: "100%", height: "100%" } : { width: `${c.w}px`, height: `${c.h}px` };
367
367
  return /* @__PURE__ */ u(
368
368
  k,
369
369
  {
370
- onClick: r,
370
+ onClick: o,
371
371
  role: "button",
372
372
  sx: {
373
373
  position: "relative",
@@ -435,7 +435,7 @@ const ut = ze, pt = je, q = Le(
435
435
  transition: "opacity .15s ease, transform .15s ease",
436
436
  pointerEvents: "none"
437
437
  },
438
- children: /* @__PURE__ */ e(L, { variant: "primary", size: "md", onClick: n, children: "JUGAR" })
438
+ children: /* @__PURE__ */ e(F, { variant: "primary", size: "md", onClick: n, children: "JUGAR" })
439
439
  }
440
440
  )
441
441
  ]
@@ -444,9 +444,9 @@ const ut = ze, pt = je, q = Le(
444
444
  };
445
445
  function mt({
446
446
  imageUrl: t,
447
- orden: r = 1,
448
- onClick: a,
449
- loading: o = !1,
447
+ orden: o = 1,
448
+ onClick: r,
449
+ loading: a = !1,
450
450
  sizes: c = {
451
451
  xs: { w: 104, h: 112, r: 18, font: 48 },
452
452
  md: { w: 186, h: 264, r: 22.6, font: 64 }
@@ -499,8 +499,8 @@ function mt({
499
499
  borderRadius: "inherit",
500
500
  overflow: "hidden"
501
501
  },
502
- children: o ? /* @__PURE__ */ e(
503
- F,
502
+ children: a ? /* @__PURE__ */ e(
503
+ M,
504
504
  {
505
505
  variant: "rectangular",
506
506
  width: "100%",
@@ -517,7 +517,7 @@ function mt({
517
517
  te,
518
518
  {
519
519
  imageUrl: t,
520
- onClick: a,
520
+ onClick: r,
521
521
  size: "lg",
522
522
  fillParent: !0
523
523
  }
@@ -546,7 +546,7 @@ function mt({
546
546
  zIndex: 3,
547
547
  userSelect: "none"
548
548
  },
549
- children: r
549
+ children: o
550
550
  }
551
551
  )
552
552
  ]
@@ -555,9 +555,9 @@ function mt({
555
555
  }
556
556
  const ht = ({
557
557
  logo: t,
558
- provider: r,
559
- providerName: a,
560
- machine: o,
558
+ provider: o,
559
+ providerName: r,
560
+ machine: a,
561
561
  onClick: c
562
562
  }) => {
563
563
  var n;
@@ -590,7 +590,7 @@ const ht = ({
590
590
  {
591
591
  component: "img",
592
592
  src: t,
593
- alt: `Juego ${o != null ? o : ""}`,
593
+ alt: `Juego ${a != null ? a : ""}`,
594
594
  sx: {
595
595
  position: "absolute",
596
596
  inset: 0,
@@ -624,7 +624,7 @@ const ht = ({
624
624
  fontSize: { xs: 11, md: 14 },
625
625
  textTransform: "capitalize"
626
626
  },
627
- children: (n = r != null ? r : a) != null ? n : ""
627
+ children: (n = o != null ? o : r) != null ? n : ""
628
628
  }
629
629
  )
630
630
  }
@@ -633,7 +633,7 @@ const ht = ({
633
633
  }
634
634
  );
635
635
  }, ae = 12, ie = ({ r: t = 16 }) => /* @__PURE__ */ e(k, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
636
- F,
636
+ M,
637
637
  {
638
638
  variant: "rectangular",
639
639
  width: "100%",
@@ -649,13 +649,13 @@ const ht = ({
649
649
  }
650
650
  ) }), Ne = ({
651
651
  items: t,
652
- layout: r = "grid",
653
- onClick: a,
654
- loading: o = !1,
652
+ layout: o = "grid",
653
+ onClick: r,
654
+ loading: a = !1,
655
655
  gridSkeletonCount: c = 4
656
656
  }) => {
657
657
  var n;
658
- if (r === "mosaic") {
658
+ if (o === "mosaic") {
659
659
  const i = t[0], m = t.slice(1, 5);
660
660
  return /* @__PURE__ */ u(
661
661
  k,
@@ -691,18 +691,18 @@ const ht = ({
691
691
  overflow: "hidden",
692
692
  borderRadius: 2
693
693
  },
694
- children: o ? /* @__PURE__ */ e(ie, {}) : i && /* @__PURE__ */ e(
694
+ children: a ? /* @__PURE__ */ e(ie, {}) : i && /* @__PURE__ */ e(
695
695
  te,
696
696
  {
697
697
  imageUrl: `https://olimpo.bet${(n = i.imageUrl) != null ? n : ""}`,
698
698
  size: "lg",
699
699
  fillParent: !0,
700
- onClick: () => a == null ? void 0 : a(i, 0)
700
+ onClick: () => r == null ? void 0 : r(i, 0)
701
701
  }
702
702
  )
703
703
  }
704
704
  ),
705
- (o ? Array.from({ length: 4 }) : m).map((d, f) => {
705
+ (a ? Array.from({ length: 4 }) : m).map((d, f) => {
706
706
  var x;
707
707
  return /* @__PURE__ */ e(
708
708
  k,
@@ -713,17 +713,17 @@ const ht = ({
713
713
  overflow: "hidden",
714
714
  borderRadius: 2
715
715
  },
716
- children: o ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ e(
716
+ children: a ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ e(
717
717
  te,
718
718
  {
719
719
  imageUrl: `https://olimpo.bet${(x = d.imageUrl) != null ? x : ""}`,
720
720
  size: "sm",
721
721
  fillParent: !0,
722
- onClick: () => a == null ? void 0 : a(d, f + 1)
722
+ onClick: () => r == null ? void 0 : r(d, f + 1)
723
723
  }
724
724
  )
725
725
  },
726
- o ? `sk-${f}` : d.id
726
+ a ? `sk-${f}` : d.id
727
727
  );
728
728
  })
729
729
  ]
@@ -746,39 +746,39 @@ const ht = ({
746
746
  gap: `${ae}px`,
747
747
  gridAutoFlow: "column"
748
748
  },
749
- children: (o ? Array.from({ length: c }) : t).map((i, m) => {
749
+ children: (a ? Array.from({ length: c }) : t).map((i, m) => {
750
750
  var d, f;
751
751
  return /* @__PURE__ */ e(
752
752
  k,
753
753
  {
754
754
  sx: { overflow: "hidden", borderRadius: 2 },
755
- children: o ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ e(
755
+ children: a ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ e(
756
756
  te,
757
757
  {
758
758
  imageUrl: `https://olimpo.bet${(d = i.imageUrl) != null ? d : ""}`,
759
759
  size: "sm",
760
760
  fillParent: !0,
761
- onClick: () => a == null ? void 0 : a(i, m)
761
+ onClick: () => r == null ? void 0 : r(i, m)
762
762
  }
763
763
  )
764
764
  },
765
- o ? `sk-${m}` : (f = i.id) != null ? f : m
765
+ a ? `sk-${m}` : (f = i.id) != null ? f : m
766
766
  );
767
767
  })
768
768
  }
769
769
  );
770
770
  }, gt = ({
771
771
  title: t,
772
- amount: r,
773
- subtitle: a,
774
- buttonText: o,
772
+ amount: o,
773
+ subtitle: r,
774
+ buttonText: a,
775
775
  onButtonClick: c,
776
776
  backgroundImage: n,
777
777
  alt: i,
778
778
  className: m = "",
779
779
  variant: d = "small"
780
780
  }) => {
781
- const f = r ? r.slice(0, 2) : "", x = r ? r.slice(2) : "", I = d === "large";
781
+ const f = o ? o.slice(0, 2) : "", x = o ? o.slice(2) : "", I = d === "large";
782
782
  return /* @__PURE__ */ u(
783
783
  k,
784
784
  {
@@ -861,7 +861,7 @@ const ht = ({
861
861
  children: t
862
862
  }
863
863
  ),
864
- r && /* @__PURE__ */ u(
864
+ o && /* @__PURE__ */ u(
865
865
  k,
866
866
  {
867
867
  component: "p",
@@ -898,7 +898,7 @@ const ht = ({
898
898
  ]
899
899
  }
900
900
  ),
901
- a && /* @__PURE__ */ e(
901
+ r && /* @__PURE__ */ e(
902
902
  D,
903
903
  {
904
904
  sx: {
@@ -907,10 +907,10 @@ const ht = ({
907
907
  fontWeight: 600,
908
908
  color: "#e7f8ff"
909
909
  },
910
- children: a
910
+ children: r
911
911
  }
912
912
  ),
913
- o && /* @__PURE__ */ e(L, { onClick: c, children: o })
913
+ a && /* @__PURE__ */ e(F, { onClick: c, children: a })
914
914
  ]
915
915
  }
916
916
  )
@@ -921,9 +921,9 @@ const ht = ({
921
921
  );
922
922
  }, ft = ({
923
923
  text: t,
924
- buttonLabel: r = "Conoce más",
925
- onClick: a,
926
- imgAlt: o = "Club Olimpo",
924
+ buttonLabel: o = "Conoce más",
925
+ onClick: r,
926
+ imgAlt: a = "Club Olimpo",
927
927
  imgSrcMobile: c,
928
928
  imgSrcDesktopBg: n,
929
929
  imgSrcDesktopLogo: i
@@ -932,7 +932,7 @@ const ht = ({
932
932
  "img",
933
933
  {
934
934
  src: c,
935
- alt: o,
935
+ alt: a,
936
936
  className: "orc-co-bgMobileImg"
937
937
  }
938
938
  ) }),
@@ -941,7 +941,7 @@ const ht = ({
941
941
  "img",
942
942
  {
943
943
  src: n,
944
- alt: `${o} fondo`,
944
+ alt: `${a} fondo`,
945
945
  className: "orc-co-bgDesktopImg"
946
946
  }
947
947
  ) }),
@@ -950,19 +950,19 @@ const ht = ({
950
950
  "img",
951
951
  {
952
952
  src: i,
953
- alt: `${o} logo`,
953
+ alt: `${a} logo`,
954
954
  className: "orc-co-logoImg"
955
955
  }
956
956
  ),
957
957
  /* @__PURE__ */ e("p", { className: "orc-co-captionDesktop", children: t }),
958
- /* @__PURE__ */ e(L, { onClick: a, variant: "primary", size: "md", children: r })
958
+ /* @__PURE__ */ e(F, { onClick: r, variant: "primary", size: "md", children: o })
959
959
  ] })
960
960
  ] }),
961
961
  /* @__PURE__ */ u("div", { className: "orc-co-bottom", children: [
962
962
  /* @__PURE__ */ e("p", { className: "orc-co-caption", children: t }),
963
- /* @__PURE__ */ e(L, { onClick: a, variant: "primary", size: "md", children: r })
963
+ /* @__PURE__ */ e(F, { onClick: r, variant: "primary", size: "md", children: o })
964
964
  ] })
965
- ] }), xt = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", _t = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", bt = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", vt = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", yt = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", wt = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", St = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ct = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", V = {
965
+ ] }), xt = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", _t = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", bt = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", vt = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", yt = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", wt = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", St = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ct = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", H = {
966
966
  card: xt,
967
967
  combinadas: _t,
968
968
  apuestaItem: bt,
@@ -973,12 +973,21 @@ const ht = ({
973
973
  cuotaTotal: Ct
974
974
  };
975
975
  function ue(t) {
976
- const r = Array.isArray(t) ? t : [t];
977
- sessionStorage.setItem("landingOutcomes", JSON.stringify(r)), window.location.href = "/deportes";
976
+ const o = Array.isArray(t) ? t : [t];
977
+ sessionStorage.setItem("landingOutcomes", JSON.stringify(o)), window.location.href = "/deportes";
978
+ }
979
+ function Et() {
980
+ window.location.href = "/#in-play";
978
981
  }
979
- function Et({ event: t }) {
980
- var o;
981
- function r(c) {
982
+ function It() {
983
+ window.location.href = "/#sports-hub/football";
984
+ }
985
+ function $t() {
986
+ window.location.href = "/#specials";
987
+ }
988
+ function kt({ event: t }) {
989
+ var a;
990
+ function o(c) {
982
991
  var x;
983
992
  const n = (x = c.betoffers) != null ? x : [], i = c.homeName, m = c.awayName, d = n.map((I) => {
984
993
  var S, g, y, O, v;
@@ -997,9 +1006,9 @@ function Et({ event: t }) {
997
1006
  total: f.toFixed(2)
998
1007
  };
999
1008
  }
1000
- const a = r(t);
1001
- return /* @__PURE__ */ u("div", { className: V.card, children: [
1002
- /* @__PURE__ */ e("div", { className: V.combinadas, children: /* @__PURE__ */ u(B, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
1009
+ const r = o(t);
1010
+ return /* @__PURE__ */ u("div", { className: H.card, children: [
1011
+ /* @__PURE__ */ e("div", { className: H.combinadas, children: /* @__PURE__ */ u(B, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
1003
1012
  /* @__PURE__ */ e(
1004
1013
  K,
1005
1014
  {
@@ -1009,12 +1018,12 @@ function Et({ event: t }) {
1009
1018
  }
1010
1019
  ),
1011
1020
  /* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/line.png" }),
1012
- /* @__PURE__ */ e(B, { direction: "column", spacing: 0.5, useFlexGap: !0, children: a.outcomes.sort((c, n) => c.position - n.position).map((c, n) => /* @__PURE__ */ u("div", { className: V.apuestaItem, children: [
1013
- /* @__PURE__ */ u("div", { className: V.lineContainer, children: [
1014
- /* @__PURE__ */ e("div", { className: V.circle }),
1015
- n < a.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: V.line })
1021
+ /* @__PURE__ */ e(B, { direction: "column", spacing: 0.5, useFlexGap: !0, children: r.outcomes.sort((c, n) => c.position - n.position).map((c, n) => /* @__PURE__ */ u("div", { className: H.apuestaItem, children: [
1022
+ /* @__PURE__ */ u("div", { className: H.lineContainer, children: [
1023
+ /* @__PURE__ */ e("div", { className: H.circle }),
1024
+ n < r.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: H.line })
1016
1025
  ] }),
1017
- /* @__PURE__ */ u("div", { className: V.apuestaText, children: [
1026
+ /* @__PURE__ */ u("div", { className: H.apuestaText, children: [
1018
1027
  /* @__PURE__ */ e("strong", { children: c.value }),
1019
1028
  " ",
1020
1029
  "| ",
@@ -1024,11 +1033,11 @@ function Et({ event: t }) {
1024
1033
  ] }) }),
1025
1034
  /* @__PURE__ */ u("button", { onClick: () => {
1026
1035
  var c, n;
1027
- return ue((n = (c = a == null ? void 0 : a.outcomes) == null ? void 0 : c.map((i) => i == null ? void 0 : i.id)) != null ? n : []);
1028
- }, className: V.cuotaTotal, children: [
1036
+ return ue((n = (c = r == null ? void 0 : r.outcomes) == null ? void 0 : c.map((i) => i == null ? void 0 : i.id)) != null ? n : []);
1037
+ }, className: H.cuotaTotal, children: [
1029
1038
  /* @__PURE__ */ u("span", { children: [
1030
1039
  "Cuota total: ",
1031
- /* @__PURE__ */ e("strong", { children: (((o = t.combinadoTotal) != null ? o : 0) / 1e3).toFixed(2) })
1040
+ /* @__PURE__ */ e("strong", { children: (((a = t.combinadoTotal) != null ? a : 0) / 1e3).toFixed(2) })
1032
1041
  ] }),
1033
1042
  /* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/cuotaTotal.svg", alt: "cuota total" })
1034
1043
  ] })
@@ -1048,11 +1057,11 @@ const G = {
1048
1057
  "orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
1049
1058
  "orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
1050
1059
  };
1051
- function It({
1060
+ function Nt({
1052
1061
  children: t,
1053
- onClick: r,
1054
- href: a,
1055
- target: o,
1062
+ onClick: o,
1063
+ href: r,
1064
+ target: a,
1056
1065
  rel: c,
1057
1066
  type: n = "button",
1058
1067
  disabled: i = !1,
@@ -1082,24 +1091,24 @@ function It({
1082
1091
  !E && /* @__PURE__ */ e("span", { className: G["orc-btn__label"], children: t }),
1083
1092
  h && /* @__PURE__ */ e("span", { className: G["orc-btn__icon"], children: h })
1084
1093
  ] }), $ = i ? !0 : void 0;
1085
- return a ? /* @__PURE__ */ e(
1094
+ return r ? /* @__PURE__ */ e(
1086
1095
  ve,
1087
1096
  {
1088
- href: a,
1089
- target: o,
1097
+ href: r,
1098
+ target: a,
1090
1099
  rel: c,
1091
1100
  "aria-label": s,
1092
1101
  "aria-disabled": $,
1093
1102
  tabIndex: $ ? -1 : void 0,
1094
1103
  className: T,
1095
- onClick: $ ? (p) => p.preventDefault() : r,
1104
+ onClick: $ ? (p) => p.preventDefault() : o,
1096
1105
  children: R
1097
1106
  }
1098
1107
  ) : /* @__PURE__ */ e(
1099
1108
  "button",
1100
1109
  {
1101
1110
  type: n,
1102
- onClick: r,
1111
+ onClick: o,
1103
1112
  disabled: !!$,
1104
1113
  "aria-label": s,
1105
1114
  className: T,
@@ -1107,12 +1116,12 @@ function It({
1107
1116
  }
1108
1117
  );
1109
1118
  }
1110
- const $t = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Oe = {
1111
- cardWrapper: $t
1119
+ const Ot = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Oe = {
1120
+ cardWrapper: Ot
1112
1121
  };
1113
- function kt({ event: t, liveData: r, betOffers: a }) {
1122
+ function Rt({ event: t, liveData: o, betOffers: r }) {
1114
1123
  var c, n, i, m, d, f, x, I;
1115
- const o = a == null ? void 0 : a.find(
1124
+ const a = r == null ? void 0 : r.find(
1116
1125
  (s) => {
1117
1126
  var l;
1118
1127
  return ((l = s.betOfferType) == null ? void 0 : l.id) === 2;
@@ -1126,10 +1135,10 @@ function kt({ event: t, liveData: r, betOffers: a }) {
1126
1135
  title: (c = t.path[0].name) != null ? c : "",
1127
1136
  subtitle: t.group,
1128
1137
  live: !0,
1129
- time: ((n = r == null ? void 0 : r.matchClock) == null ? void 0 : n.minute) != null ? `${r.matchClock.minute}'` : ""
1138
+ time: ((n = o == null ? void 0 : o.matchClock) == null ? void 0 : n.minute) != null ? `${o.matchClock.minute}'` : ""
1130
1139
  }
1131
1140
  ),
1132
- /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ u(H, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1141
+ /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ u(V, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1133
1142
  /* @__PURE__ */ e(
1134
1143
  ne,
1135
1144
  {
@@ -1137,33 +1146,33 @@ function kt({ event: t, liveData: r, betOffers: a }) {
1137
1146
  logo: "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/Juventus.png"
1138
1147
  }
1139
1148
  ),
1140
- /* @__PURE__ */ e(ke, { text: ((m = (i = r == null ? void 0 : r.score) == null ? void 0 : i.home) != null ? m : 0) + ":" + ((f = (d = r == null ? void 0 : r.score) == null ? void 0 : d.away) != null ? f : 0), name: "En vivo" }),
1149
+ /* @__PURE__ */ e(ke, { text: ((m = (i = o == null ? void 0 : o.score) == null ? void 0 : i.home) != null ? m : 0) + ":" + ((f = (d = o == null ? void 0 : o.score) == null ? void 0 : d.away) != null ? f : 0), name: "En vivo" }),
1141
1150
  /* @__PURE__ */ e(ne, { name: t.awayName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/Racing.png" })
1142
1151
  ] }) })
1143
1152
  ] }),
1144
1153
  /* @__PURE__ */ u(B, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1145
- /* @__PURE__ */ e(H, { spacing: 1, children: ((x = o == null ? void 0 : o.outcomes) != null ? x : []).map((s, l) => /* @__PURE__ */ e(Ie, { text: s.label.toUpperCase() }, l)) }),
1146
- /* @__PURE__ */ e(H, { spacing: 2, children: ((I = o == null ? void 0 : o.outcomes) != null ? I : []).map((s, l) => /* @__PURE__ */ e(It, { variant: "primary", disabled: s.odds == null || (o == null ? void 0 : o.cashOutStatus) == "SUSPENDED", onClick: () => {
1154
+ /* @__PURE__ */ e(V, { spacing: 1, children: ((x = a == null ? void 0 : a.outcomes) != null ? x : []).map((s, l) => /* @__PURE__ */ e(Ie, { text: s.label.toUpperCase() }, l)) }),
1155
+ /* @__PURE__ */ e(V, { spacing: 2, children: ((I = a == null ? void 0 : a.outcomes) != null ? I : []).map((s, l) => /* @__PURE__ */ e(Nt, { variant: "primary", disabled: s.odds == null || (a == null ? void 0 : a.cashOutStatus) == "SUSPENDED", onClick: () => {
1147
1156
  ue(s.id);
1148
1157
  }, children: s.odds === void 0 ? "" : (s.odds / 1e3).toFixed(2) }, l)) })
1149
1158
  ] })
1150
1159
  ] }) });
1151
1160
  }
1152
- const Nt = "oraculo__OraculoEventDate-module__date___xhIlh", Ot = {
1153
- date: Nt
1161
+ const Tt = "oraculo__OraculoEventDate-module__date___xhIlh", Pt = {
1162
+ date: Tt
1154
1163
  };
1155
- function Rt({ text: t }) {
1156
- return /* @__PURE__ */ e("div", { className: `oli-font ${Ot.date}`, children: t });
1164
+ function Bt({ text: t }) {
1165
+ return /* @__PURE__ */ e("div", { className: `oli-font ${Pt.date}`, children: t });
1157
1166
  }
1158
- const Tt = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Pt = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Bt = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Ft = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", J = {
1159
- cardContainer: Tt,
1160
- cardBackground: Pt,
1161
- jugadas: Bt,
1162
- equipos: Ft
1167
+ const Mt = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Ft = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Lt = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Wt = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", J = {
1168
+ cardContainer: Mt,
1169
+ cardBackground: Ft,
1170
+ jugadas: Lt,
1171
+ equipos: Wt
1163
1172
  };
1164
- function Lt({ event: t }) {
1165
- var a, o, c, n, i, m, d;
1166
- function r(f) {
1173
+ function Ut({ event: t }) {
1174
+ var r, a, c, n, i, m, d;
1175
+ function o(f) {
1167
1176
  const x = new Date(f), I = x.toLocaleDateString("es-ES", {
1168
1177
  weekday: "short"
1169
1178
  }).toUpperCase(), s = x.getDate().toString().padStart(2, "0"), l = (x.getMonth() + 1).toString().padStart(2, "0");
@@ -1175,7 +1184,7 @@ function Lt({ event: t }) {
1175
1184
  return h = h.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${I} ${s}/${l} | ${h}`;
1176
1185
  }
1177
1186
  return /* @__PURE__ */ u("div", { className: J.cardContainer, children: [
1178
- /* @__PURE__ */ e($e, { title: (a = t == null ? void 0 : t.group) != null ? a : "" }),
1187
+ /* @__PURE__ */ e($e, { title: (r = t == null ? void 0 : t.group) != null ? r : "" }),
1179
1188
  /* @__PURE__ */ e("div", { className: J.cardBackground, children: /* @__PURE__ */ u(B, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1180
1189
  /* @__PURE__ */ u(B, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1181
1190
  /* @__PURE__ */ u("div", { className: J.equipos, children: [
@@ -1183,25 +1192,25 @@ function Lt({ event: t }) {
1183
1192
  /* @__PURE__ */ e(ke, { text: "vs.", name: "", size: "small" }),
1184
1193
  /* @__PURE__ */ e(ne, { name: t.homeName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoSemana/RealMadrid.png", size: "compact" })
1185
1194
  ] }),
1186
- /* @__PURE__ */ e(Rt, { text: r(t.start) })
1195
+ /* @__PURE__ */ e(Bt, { text: o(t.start) })
1187
1196
  ] }),
1188
1197
  /* @__PURE__ */ u(B, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1189
- /* @__PURE__ */ e(H, { spacing: 1, children: ((n = (c = (o = t == null ? void 0 : t.outcome) == null ? void 0 : o[0]) == null ? void 0 : c.outcomes) != null ? n : []).map((f, x) => /* @__PURE__ */ e(Ie, { text: f.label.toUpperCase() }, x)) }),
1190
- /* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */ e(H, { spacing: 1, children: ((d = (m = (i = t == null ? void 0 : t.outcome) == null ? void 0 : i[0]) == null ? void 0 : m.outcomes) != null ? d : []).map((f, x) => /* @__PURE__ */ e(L, { variant: "primary", fullHeight: !0, onClick: () => {
1198
+ /* @__PURE__ */ e(V, { spacing: 1, children: ((n = (c = (a = t == null ? void 0 : t.outcome) == null ? void 0 : a[0]) == null ? void 0 : c.outcomes) != null ? n : []).map((f, x) => /* @__PURE__ */ e(Ie, { text: f.label.toUpperCase() }, x)) }),
1199
+ /* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */ e(V, { spacing: 1, children: ((d = (m = (i = t == null ? void 0 : t.outcome) == null ? void 0 : i[0]) == null ? void 0 : m.outcomes) != null ? d : []).map((f, x) => /* @__PURE__ */ e(F, { variant: "primary", fullHeight: !0, onClick: () => {
1191
1200
  ue(f.id);
1192
1201
  }, children: (f.odds / 1e3).toFixed(2) }, x)) }) })
1193
1202
  ] })
1194
1203
  ] }) })
1195
1204
  ] });
1196
1205
  }
1197
- function Wt({
1206
+ function zt({
1198
1207
  items: t,
1199
- title: r = "Destacados",
1200
- iconUrl: a,
1201
- onViewMore: o,
1208
+ title: o = "Destacados",
1209
+ iconUrl: r,
1210
+ onViewMore: a,
1202
1211
  className: c = ""
1203
1212
  }) {
1204
- const n = A(null), [i, m] = U({ isStart: !0, isEnd: !1 }), d = () => {
1213
+ const n = A(null), [i, m] = W({ isStart: !0, isEnd: !1 }), d = () => {
1205
1214
  var l;
1206
1215
  (l = n.current) == null || l.prev();
1207
1216
  }, f = () => {
@@ -1227,10 +1236,10 @@ function Wt({
1227
1236
  marginBottom: 16
1228
1237
  },
1229
1238
  children: [
1230
- /* @__PURE__ */ e(K, { title: r, iconUrl: a, size: "md" }),
1239
+ /* @__PURE__ */ e(K, { title: o, iconUrl: r, size: "md" }),
1231
1240
  /* @__PURE__ */ u("div", { style: { display: "flex", gap: 8 }, children: [
1232
1241
  /* @__PURE__ */ e(
1233
- L,
1242
+ F,
1234
1243
  {
1235
1244
  ariaLabel: "Anterior",
1236
1245
  variant: "secondary",
@@ -1241,7 +1250,7 @@ function Wt({
1241
1250
  }
1242
1251
  ),
1243
1252
  /* @__PURE__ */ e(
1244
- L,
1253
+ F,
1245
1254
  {
1246
1255
  ariaLabel: "Siguiente",
1247
1256
  variant: "secondary",
@@ -1252,7 +1261,7 @@ function Wt({
1252
1261
  }
1253
1262
  )
1254
1263
  ] }),
1255
- /* @__PURE__ */ e(L, { variant: "secondary", onClick: x, children: "Ver más" })
1264
+ /* @__PURE__ */ e(F, { variant: "secondary", onClick: x, children: "Ver más" })
1256
1265
  ]
1257
1266
  }
1258
1267
  ),
@@ -1292,7 +1301,7 @@ function Wt({
1292
1301
  alt: l.title,
1293
1302
  style: {
1294
1303
  width: "100%",
1295
- height: "137px",
1304
+ height: window.innerWidth < 768 ? "80px" : "137px",
1296
1305
  borderRadius: 8,
1297
1306
  display: "block",
1298
1307
  objectFit: "cover"
@@ -1307,17 +1316,17 @@ function Wt({
1307
1316
  )
1308
1317
  ] });
1309
1318
  }
1310
- const Ut = (t) => {
1319
+ const jt = (t) => {
1311
1320
  var s, l, h, S, g, y;
1312
1321
  if (typeof window == "undefined") return;
1313
- const r = (l = (s = t.name) != null ? s : t.web_name) != null ? l : "", a = (h = t.provider) != null ? h : "", o = (S = t.machine) != null ? S : "", c = (g = t.external_id) != null ? g : "", n = (y = t.type) != null ? y : "Casino", i = encodeURIComponent(String(a)), m = encodeURIComponent(String(o)), d = encodeURIComponent(String(r)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/casino?machine=${m}&provider=${i}&name=${d}&external_id=${f}&type=${x}`;
1322
+ const o = (l = (s = t.name) != null ? s : t.web_name) != null ? l : "", r = (h = t.provider) != null ? h : "", a = (S = t.machine) != null ? S : "", c = (g = t.external_id) != null ? g : "", n = (y = t.type) != null ? y : "Casino", i = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), d = encodeURIComponent(String(o)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/casino?machine=${m}&provider=${i}&name=${d}&external_id=${f}&type=${x}`;
1314
1323
  window.location.href = I;
1315
1324
  };
1316
- function zt({
1325
+ function At({
1317
1326
  items: t,
1318
- title: r = "Top Juegos",
1319
- iconUrl: a,
1320
- onCardClick: o
1327
+ title: o = "Top Juegos",
1328
+ iconUrl: r,
1329
+ onCardClick: a
1321
1330
  }) {
1322
1331
  const c = ce(
1323
1332
  () => (t != null ? t : []).map((m, d) => {
@@ -1332,7 +1341,7 @@ function zt({
1332
1341
  [t]
1333
1342
  ), n = !t || t.length === 0, i = n ? Array.from({ length: 6 }) : c.slice(0, 6);
1334
1343
  return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ u(B, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1335
- /* @__PURE__ */ e(K, { title: r, iconUrl: a, size: "md" }),
1344
+ /* @__PURE__ */ e(K, { title: o, iconUrl: r, size: "md" }),
1336
1345
  /* @__PURE__ */ e(
1337
1346
  k,
1338
1347
  {
@@ -1355,7 +1364,7 @@ function zt({
1355
1364
  orden: n ? d + 1 : m.orden,
1356
1365
  loading: n,
1357
1366
  onClick: n ? void 0 : () => {
1358
- o ? o(m) : Ut(m);
1367
+ a ? a(m) : jt(m);
1359
1368
  }
1360
1369
  },
1361
1370
  n ? `sk-${d}` : (x = m.machine) != null ? x : `${d}`
@@ -1365,19 +1374,19 @@ function zt({
1365
1374
  )
1366
1375
  ] }) });
1367
1376
  }
1368
- const jt = (t, r) => {
1369
- var a, o;
1370
- return (o = (a = t.orden) != null ? a : t.machine) != null ? o : r;
1371
- }, Mt = (t) => {
1377
+ const Gt = (t, o) => {
1378
+ var r, a;
1379
+ return (a = (r = t.orden) != null ? r : t.machine) != null ? a : o;
1380
+ }, Dt = (t) => {
1372
1381
  var s, l, h, S, g, y;
1373
1382
  if (typeof window == "undefined") return;
1374
- const r = (l = (s = t.name) != null ? s : t.web_name) != null ? l : "", a = (h = t.provider) != null ? h : "", o = (S = t.machine) != null ? S : "", c = (g = t.external_id) != null ? g : "", n = (y = t.type) != null ? y : "Live", i = encodeURIComponent(String(a)), m = encodeURIComponent(String(o)), d = encodeURIComponent(String(r)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/casino-en-vivo?${m}?provider=${i}&name=${d}&external_id=${f}&type=${x}`;
1383
+ const o = (l = (s = t.name) != null ? s : t.web_name) != null ? l : "", r = (h = t.provider) != null ? h : "", a = (S = t.machine) != null ? S : "", c = (g = t.external_id) != null ? g : "", n = (y = t.type) != null ? y : "Live", i = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), d = encodeURIComponent(String(o)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/casino-en-vivo?${m}?provider=${i}&name=${d}&external_id=${f}&type=${x}`;
1375
1384
  window.location.href = I;
1376
- }, At = ({
1385
+ }, Vt = ({
1377
1386
  items: t,
1378
- title: r = "Casino en vivo",
1379
- subtitle: a = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
1380
- backgroundMobileUrl: o = "",
1387
+ title: o = "Casino en vivo",
1388
+ subtitle: r = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
1389
+ backgroundMobileUrl: a = "",
1381
1390
  backgroundDesktopUrl: c = "",
1382
1391
  onCardClick: n,
1383
1392
  onViewMore: i,
@@ -1406,7 +1415,7 @@ const jt = (t, r) => {
1406
1415
  xs: `
1407
1416
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
1408
1417
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
1409
- url('${o}')
1418
+ url('${a}')
1410
1419
  `,
1411
1420
  md: `
1412
1421
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
@@ -1450,7 +1459,7 @@ const jt = (t, r) => {
1450
1459
  WebkitTextStroke: "0.5px rgba(255, 255, 255, .5)",
1451
1460
  textShadow: "0 0 2px rgba(255, 255, 255, .95),0 0 4px rgba(255, 255, 255, .6),0 1px 0 #898989"
1452
1461
  },
1453
- children: r
1462
+ children: o
1454
1463
  }
1455
1464
  ),
1456
1465
  /* @__PURE__ */ e(
@@ -1462,11 +1471,11 @@ const jt = (t, r) => {
1462
1471
  marginX: { xs: 4, md: 0 },
1463
1472
  lineHeight: 1.5
1464
1473
  },
1465
- children: a
1474
+ children: r
1466
1475
  }
1467
1476
  ),
1468
1477
  /* @__PURE__ */ e(k, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
1469
- L,
1478
+ F,
1470
1479
  {
1471
1480
  variant: "primary",
1472
1481
  size: "md",
@@ -1496,16 +1505,16 @@ const jt = (t, r) => {
1496
1505
  providerName: d.web_name,
1497
1506
  machine: d.machine,
1498
1507
  onClick: () => {
1499
- Mt(d);
1508
+ Dt(d);
1500
1509
  }
1501
1510
  },
1502
- jt(d, f)
1511
+ Gt(d, f)
1503
1512
  );
1504
1513
  })
1505
1514
  }
1506
1515
  ),
1507
1516
  /* @__PURE__ */ e(k, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ e(
1508
- L,
1517
+ F,
1509
1518
  {
1510
1519
  variant: "primary",
1511
1520
  size: "lg",
@@ -1518,52 +1527,52 @@ const jt = (t, r) => {
1518
1527
  )
1519
1528
  ]
1520
1529
  }
1521
- )), Re = (t, r) => {
1522
- var a, o;
1523
- return (o = (a = t.orden) != null ? a : t.machine) != null ? o : r;
1524
- }, Gt = (t) => {
1530
+ )), Re = (t, o) => {
1531
+ var r, a;
1532
+ return (a = (r = t.orden) != null ? r : t.machine) != null ? a : o;
1533
+ }, Ht = (t) => {
1525
1534
  var s, l, h, S, g;
1526
1535
  if (typeof window == "undefined") return;
1527
- const r = (s = t.name) != null ? s : "", a = (l = t.provider) != null ? l : "", o = (h = t.machine) != null ? h : "", c = (S = t.external_id) != null ? S : "", n = (g = t.type) != null ? g : "Casino", i = encodeURIComponent(String(a)), m = encodeURIComponent(String(o)), d = encodeURIComponent(String(r)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/casino?${m}?provider=${i}&name=${d}&external_id=${f}&type=${x}`;
1536
+ const o = (s = t.name) != null ? s : "", r = (l = t.provider) != null ? l : "", a = (h = t.machine) != null ? h : "", c = (S = t.external_id) != null ? S : "", n = (g = t.type) != null ? g : "Casino", i = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), d = encodeURIComponent(String(o)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/casino?${m}?provider=${i}&name=${d}&external_id=${f}&type=${x}`;
1528
1537
  window.location.href = I;
1529
- }, Dt = (t, r = !0, a = 4) => {
1530
- const o = t.map((i, m) => {
1538
+ }, Kt = (t, o = !0, r = 4) => {
1539
+ const a = t.map((i, m) => {
1531
1540
  var d;
1532
1541
  return {
1533
1542
  id: Re(i, m),
1534
1543
  imageUrl: (d = i.logo) != null ? d : ""
1535
1544
  };
1536
1545
  });
1537
- if (!o.length) return [];
1546
+ if (!a.length) return [];
1538
1547
  const c = [];
1539
1548
  let n = 0;
1540
- if (r) {
1541
- const i = Math.min(o.length, 5);
1549
+ if (o) {
1550
+ const i = Math.min(a.length, 5);
1542
1551
  c.push({
1543
1552
  id: "mosaic-0",
1544
1553
  kind: "mosaic",
1545
- items: o.slice(0, i)
1554
+ items: a.slice(0, i)
1546
1555
  }), n = i;
1547
1556
  }
1548
- for (; n < o.length; ) {
1549
- const i = Math.min(n + a, o.length);
1557
+ for (; n < a.length; ) {
1558
+ const i = Math.min(n + r, a.length);
1550
1559
  c.push({
1551
1560
  id: `grid-${n}`,
1552
1561
  kind: "grid",
1553
- items: o.slice(n, i)
1562
+ items: a.slice(n, i)
1554
1563
  }), n = i;
1555
1564
  }
1556
1565
  return c;
1557
- }, Ht = ({
1566
+ }, qt = ({
1558
1567
  items: t,
1559
- title: r = "Casino",
1560
- iconUrl: a = "/assets/img/home/Casino/diamante.svg",
1561
- onItemClick: o,
1568
+ title: o = "Casino",
1569
+ iconUrl: r = "/assets/img/home/Casino/diamante.svg",
1570
+ onItemClick: a,
1562
1571
  onViewMore: c,
1563
1572
  mosaicFirst: n = !0,
1564
1573
  gridSize: i = 4
1565
1574
  }) => {
1566
- const m = A(null), [d, f] = U({ isStart: !0, isEnd: !1 }), x = () => {
1575
+ const m = A(null), [d, f] = W({ isStart: !0, isEnd: !1 }), x = () => {
1567
1576
  var g;
1568
1577
  (g = m.current) == null || g.prev();
1569
1578
  }, I = () => {
@@ -1574,7 +1583,7 @@ const jt = (t, r) => {
1574
1583
  }, l = (g = !0, y = 4) => {
1575
1584
  const O = (E) => Array.from({ length: E }, (T, R) => ({ id: `sk-${E}-${R}`, imageUrl: "" })), v = [];
1576
1585
  return g && v.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), v.push({ id: "grid-loading", kind: "grid", items: O(y) }), v;
1577
- }, h = !t || t.length === 0, S = h ? l(n, i) : Dt(t, n, i);
1586
+ }, h = !t || t.length === 0, S = h ? l(n, i) : Kt(t, n, i);
1578
1587
  return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ u(B, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1579
1588
  /* @__PURE__ */ u(
1580
1589
  k,
@@ -1590,8 +1599,8 @@ const jt = (t, r) => {
1590
1599
  /* @__PURE__ */ e(
1591
1600
  K,
1592
1601
  {
1593
- title: r,
1594
- iconUrl: a,
1602
+ title: o,
1603
+ iconUrl: r,
1595
1604
  size: "md"
1596
1605
  }
1597
1606
  ),
@@ -1605,7 +1614,7 @@ const jt = (t, r) => {
1605
1614
  },
1606
1615
  children: [
1607
1616
  /* @__PURE__ */ e(
1608
- L,
1617
+ F,
1609
1618
  {
1610
1619
  ariaLabel: "Anterior",
1611
1620
  variant: "secondary",
@@ -1616,7 +1625,7 @@ const jt = (t, r) => {
1616
1625
  }
1617
1626
  ),
1618
1627
  /* @__PURE__ */ e(
1619
- L,
1628
+ F,
1620
1629
  {
1621
1630
  ariaLabel: "Siguiente",
1622
1631
  variant: "secondary",
@@ -1629,7 +1638,7 @@ const jt = (t, r) => {
1629
1638
  ]
1630
1639
  }
1631
1640
  ),
1632
- /* @__PURE__ */ e(k, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(L, { variant: "secondary", onClick: s, children: "Ver más" }) })
1641
+ /* @__PURE__ */ e(k, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(F, { variant: "secondary", onClick: s, children: "Ver más" }) })
1633
1642
  ]
1634
1643
  }
1635
1644
  ),
@@ -1659,7 +1668,7 @@ const jt = (t, r) => {
1659
1668
  const O = t.find(
1660
1669
  (v, E) => Re(v, E) === y.id
1661
1670
  );
1662
- h || O && Gt(O);
1671
+ h || O && Ht(O);
1663
1672
  }
1664
1673
  }
1665
1674
  ) }),
@@ -1667,52 +1676,52 @@ const jt = (t, r) => {
1667
1676
  }
1668
1677
  )
1669
1678
  ] }) });
1670
- }, Te = (t, r) => {
1671
- var a, o;
1672
- return (o = (a = t.orden) != null ? a : t.machine) != null ? o : r;
1673
- }, Vt = (t) => {
1679
+ }, Te = (t, o) => {
1680
+ var r, a;
1681
+ return (a = (r = t.orden) != null ? r : t.machine) != null ? a : o;
1682
+ }, Jt = (t) => {
1674
1683
  var s, l, h, S, g;
1675
1684
  if (typeof window == "undefined") return;
1676
- const r = (s = t.name) != null ? s : "", a = (l = t.provider) != null ? l : "", o = (h = t.machine) != null ? h : "", c = (S = t.external_id) != null ? S : "", n = (g = t.type) != null ? g : "Virtuales", i = encodeURIComponent(String(a)), m = encodeURIComponent(String(o)), d = encodeURIComponent(String(r)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/juegos-virtuales?${m}?provider=${i}&name=${d}&external_id=${f}&type=${x}`;
1685
+ const o = (s = t.name) != null ? s : "", r = (l = t.provider) != null ? l : "", a = (h = t.machine) != null ? h : "", c = (S = t.external_id) != null ? S : "", n = (g = t.type) != null ? g : "Virtuales", i = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), d = encodeURIComponent(String(o)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/juegos-virtuales?${m}?provider=${i}&name=${d}&external_id=${f}&type=${x}`;
1677
1686
  window.location.href = I;
1678
- }, Kt = (t, r = !0, a = 4) => {
1679
- const o = t.map((i, m) => {
1687
+ }, Xt = (t, o = !0, r = 4) => {
1688
+ const a = t.map((i, m) => {
1680
1689
  var d;
1681
1690
  return {
1682
1691
  id: Te(i, m),
1683
1692
  imageUrl: (d = i.logo) != null ? d : ""
1684
1693
  };
1685
1694
  });
1686
- if (!o.length) return [];
1695
+ if (!a.length) return [];
1687
1696
  const c = [];
1688
1697
  let n = 0;
1689
- if (r) {
1690
- const i = Math.min(o.length, 5);
1698
+ if (o) {
1699
+ const i = Math.min(a.length, 5);
1691
1700
  c.push({
1692
1701
  id: "mosaic-0",
1693
1702
  kind: "mosaic",
1694
- items: o.slice(0, i)
1703
+ items: a.slice(0, i)
1695
1704
  }), n = i;
1696
1705
  }
1697
- for (; n < o.length; ) {
1698
- const i = Math.min(n + a, o.length);
1706
+ for (; n < a.length; ) {
1707
+ const i = Math.min(n + r, a.length);
1699
1708
  c.push({
1700
1709
  id: `grid-${n}`,
1701
1710
  kind: "grid",
1702
- items: o.slice(n, i)
1711
+ items: a.slice(n, i)
1703
1712
  }), n = i;
1704
1713
  }
1705
1714
  return c;
1706
- }, qt = ({
1715
+ }, Qt = ({
1707
1716
  items: t,
1708
- title: r = "Virtuales",
1709
- iconUrl: a = "/assets/img/home/Virtuales/virtuales.svg",
1710
- onItemClick: o,
1717
+ title: o = "Virtuales",
1718
+ iconUrl: r = "/assets/img/home/Virtuales/virtuales.svg",
1719
+ onItemClick: a,
1711
1720
  onViewMore: c,
1712
1721
  mosaicFirst: n = !0,
1713
1722
  gridSize: i = 4
1714
1723
  }) => {
1715
- const m = A(null), [d, f] = U({ isStart: !0, isEnd: !1 }), x = () => {
1724
+ const m = A(null), [d, f] = W({ isStart: !0, isEnd: !1 }), x = () => {
1716
1725
  var g;
1717
1726
  (g = m.current) == null || g.prev();
1718
1727
  }, I = () => {
@@ -1723,7 +1732,7 @@ const jt = (t, r) => {
1723
1732
  }, l = (g = !0, y = 4) => {
1724
1733
  const O = (E) => Array.from({ length: E }, (T, R) => ({ id: `sk-${E}-${R}`, imageUrl: "" })), v = [];
1725
1734
  return g && v.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), v.push({ id: "grid-loading", kind: "grid", items: O(y) }), v;
1726
- }, h = !t || t.length === 0, S = h ? l(n, i) : Kt(t, n, i);
1735
+ }, h = !t || t.length === 0, S = h ? l(n, i) : Xt(t, n, i);
1727
1736
  return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ u(B, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1728
1737
  /* @__PURE__ */ u(
1729
1738
  k,
@@ -1739,8 +1748,8 @@ const jt = (t, r) => {
1739
1748
  /* @__PURE__ */ e(
1740
1749
  K,
1741
1750
  {
1742
- title: r,
1743
- iconUrl: a,
1751
+ title: o,
1752
+ iconUrl: r,
1744
1753
  size: "md"
1745
1754
  }
1746
1755
  ),
@@ -1754,7 +1763,7 @@ const jt = (t, r) => {
1754
1763
  },
1755
1764
  children: [
1756
1765
  /* @__PURE__ */ e(
1757
- L,
1766
+ F,
1758
1767
  {
1759
1768
  ariaLabel: "Anterior",
1760
1769
  variant: "secondary",
@@ -1765,7 +1774,7 @@ const jt = (t, r) => {
1765
1774
  }
1766
1775
  ),
1767
1776
  /* @__PURE__ */ e(
1768
- L,
1777
+ F,
1769
1778
  {
1770
1779
  ariaLabel: "Siguiente",
1771
1780
  variant: "secondary",
@@ -1778,7 +1787,7 @@ const jt = (t, r) => {
1778
1787
  ]
1779
1788
  }
1780
1789
  ),
1781
- /* @__PURE__ */ e(k, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(L, { variant: "secondary", onClick: s, children: "Ver más" }) })
1790
+ /* @__PURE__ */ e(k, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(F, { variant: "secondary", onClick: s, children: "Ver más" }) })
1782
1791
  ]
1783
1792
  }
1784
1793
  ),
@@ -1809,7 +1818,7 @@ const jt = (t, r) => {
1809
1818
  const O = t.find(
1810
1819
  (v, E) => Te(v, E) === y.id
1811
1820
  );
1812
- h || O && Vt(O);
1821
+ h || O && Jt(O);
1813
1822
  }
1814
1823
  }
1815
1824
  ) }),
@@ -1817,7 +1826,7 @@ const jt = (t, r) => {
1817
1826
  }
1818
1827
  )
1819
1828
  ] }) });
1820
- }, Jt = (t) => ({
1829
+ }, Yt = (t) => ({
1821
1830
  // width: "100vw",
1822
1831
  position: "relative",
1823
1832
  // left: "50%",
@@ -1854,13 +1863,13 @@ const jt = (t, r) => {
1854
1863
  0 0 6px rgba(255, 255, 255, .6),
1855
1864
  0 1px 0 rgba(137, 137, 137, .85)
1856
1865
  `
1857
- }, Xt = ({
1866
+ }, Zt = ({
1858
1867
  headline: t,
1859
- headline2: r,
1860
- items: a,
1861
- backgroundImageUrl: o
1868
+ headline2: o,
1869
+ items: r,
1870
+ backgroundImageUrl: a
1862
1871
  }) => {
1863
- const c = t, n = r, i = Me("(max-width: 767px)"), m = a.length > 1, d = o != null ? o : "", f = Jt(d), x = A(null), [I, s] = U({ isStart: !0, isEnd: !1 }), [l, h] = U(0), S = (g) => /* @__PURE__ */ u(
1872
+ const c = t, n = o, i = je("(max-width: 767px)"), m = r.length > 1, d = a != null ? a : "", f = Yt(d), x = A(null), [I, s] = W({ isStart: !0, isEnd: !1 }), [l, h] = W(0), S = (g) => /* @__PURE__ */ u(
1864
1873
  k,
1865
1874
  {
1866
1875
  sx: {
@@ -1873,7 +1882,7 @@ const jt = (t, r) => {
1873
1882
  q,
1874
1883
  {
1875
1884
  ref: x,
1876
- items: a,
1885
+ items: r,
1877
1886
  perPage: 1,
1878
1887
  gap: g ? "24px" : "12px",
1879
1888
  breakpoints: g ? void 0 : {
@@ -1913,7 +1922,7 @@ const jt = (t, r) => {
1913
1922
  children: /* @__PURE__ */ e(
1914
1923
  Ee,
1915
1924
  {
1916
- total: a.length,
1925
+ total: r.length,
1917
1926
  active: l,
1918
1927
  onSelect: (y) => {
1919
1928
  var O;
@@ -2000,19 +2009,19 @@ const jt = (t, r) => {
2000
2009
  ]
2001
2010
  }
2002
2011
  ) });
2003
- }, Qt = ({
2012
+ }, en = ({
2004
2013
  className: t = "",
2005
- fullBleed: r = !0,
2006
- items: a,
2007
- selectedIndex: o = 0,
2014
+ fullBleed: o = !0,
2015
+ items: r,
2016
+ selectedIndex: a = 0,
2008
2017
  ariaLabel: c
2009
2018
  }) => {
2010
2019
  const n = A(null), i = A(null);
2011
- if (!a) return null;
2020
+ if (!r) return null;
2012
2021
  const m = () => {
2013
2022
  window.location.href = "https://www.olimpo.bet/conoce-club-olimpo";
2014
- }, d = Array.isArray(a) ? a[o] : a;
2015
- Ue(() => {
2023
+ }, d = Array.isArray(r) ? r[a] : r;
2024
+ We(() => {
2016
2025
  if (!n.current || !i.current || typeof ResizeObserver == "undefined") return;
2017
2026
  const x = n.current, I = i.current, s = () => {
2018
2027
  x.style.setProperty(
@@ -2024,7 +2033,7 @@ const jt = (t, r) => {
2024
2033
  }, []);
2025
2034
  const f = [
2026
2035
  "orc-co-wrap",
2027
- r ? "orc-co-fullBleed" : "",
2036
+ o ? "orc-co-fullBleed" : "",
2028
2037
  t
2029
2038
  ].filter(Boolean).join(" ");
2030
2039
  return /* @__PURE__ */ e(
@@ -2046,24 +2055,24 @@ const jt = (t, r) => {
2046
2055
  ) })
2047
2056
  }
2048
2057
  );
2049
- }, Yt = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Zt = {
2050
- controls: Yt
2058
+ }, tn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", nn = {
2059
+ controls: tn
2051
2060
  };
2052
- function en({
2061
+ function on({
2053
2062
  items: t,
2054
- title: r = "Combinadas del Olimpo",
2055
- iconUrl: a = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
2056
- onViewMore: o,
2063
+ title: o = "Combinadas del Olimpo",
2064
+ iconUrl: r = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
2065
+ onViewMore: a,
2057
2066
  className: c = ""
2058
2067
  }) {
2059
- const n = A(null), [i, m] = U({ isStart: !0, isEnd: !1 }), [d, f] = U([]), x = "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", I = () => {
2068
+ const n = A(null), [i, m] = W({ isStart: !0, isEnd: !1 }), [d, f] = W([]), x = "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", I = () => {
2060
2069
  var v;
2061
2070
  (v = n.current) == null || v.prev();
2062
2071
  }, s = () => {
2063
2072
  var v;
2064
2073
  (v = n.current) == null || v.next();
2065
2074
  }, l = () => {
2066
- o == null || o();
2075
+ $t();
2067
2076
  };
2068
2077
  async function h() {
2069
2078
  var v, E, T;
@@ -2085,21 +2094,21 @@ function en({
2085
2094
  const R = [];
2086
2095
  for (const $ of T) {
2087
2096
  const p = y([$]), _ = g($), C = E.reduce((b, w) => {
2088
- var P, W;
2097
+ var P, L;
2089
2098
  b[w.eventId] || (b[w.eventId] = []);
2090
2099
  const N = w.outcomes.filter(
2091
- (z) => p.has(z.id)
2100
+ (U) => p.has(U.id)
2092
2101
  );
2093
2102
  if (N.length > 0) {
2094
- const z = Array.from(
2095
- (W = (P = _ == null ? void 0 : _[0]) == null ? void 0 : P.requiredOutcomeIds) != null ? W : []
2096
- ), M = N.map((Y) => ({
2103
+ const U = Array.from(
2104
+ (L = (P = _ == null ? void 0 : _[0]) == null ? void 0 : P.requiredOutcomeIds) != null ? L : []
2105
+ ), j = N.map((Y) => ({
2097
2106
  ...Y,
2098
- position: z.indexOf(Y.id)
2107
+ position: U.indexOf(Y.id)
2099
2108
  }));
2100
2109
  b[w.eventId].push({
2101
2110
  ...w,
2102
- outcomes: M
2111
+ outcomes: j
2103
2112
  });
2104
2113
  }
2105
2114
  return b;
@@ -2109,7 +2118,7 @@ function en({
2109
2118
  const w = p;
2110
2119
  let N = null;
2111
2120
  for (const P of _)
2112
- if ([...P.requiredOutcomeIds].every((z) => w.has(z))) {
2121
+ if ([...P.requiredOutcomeIds].every((U) => w.has(U))) {
2113
2122
  N = P.decimal;
2114
2123
  break;
2115
2124
  }
@@ -2161,12 +2170,12 @@ function en({
2161
2170
  width: "100%",
2162
2171
  boxSizing: "border-box"
2163
2172
  }, children: /* @__PURE__ */ u(B, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2164
- /* @__PURE__ */ u(H, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2165
- /* @__PURE__ */ e(K, { title: r, iconUrl: a, size: "md" }),
2166
- /* @__PURE__ */ u("div", { className: Zt.controls, children: [
2167
- /* @__PURE__ */ u(H, { spacing: 1, columns: "auto auto", children: [
2173
+ /* @__PURE__ */ u(V, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2174
+ /* @__PURE__ */ e(K, { title: o, iconUrl: r, size: "md" }),
2175
+ /* @__PURE__ */ u("div", { className: nn.controls, children: [
2176
+ /* @__PURE__ */ u(V, { spacing: 1, columns: "auto auto", children: [
2168
2177
  /* @__PURE__ */ e(
2169
- L,
2178
+ F,
2170
2179
  {
2171
2180
  ariaLabel: "Anterior",
2172
2181
  variant: "secondary",
@@ -2177,7 +2186,7 @@ function en({
2177
2186
  }
2178
2187
  ),
2179
2188
  /* @__PURE__ */ e(
2180
- L,
2189
+ F,
2181
2190
  {
2182
2191
  ariaLabel: "Siguiente",
2183
2192
  variant: "secondary",
@@ -2188,7 +2197,7 @@ function en({
2188
2197
  }
2189
2198
  )
2190
2199
  ] }),
2191
- /* @__PURE__ */ e(L, { variant: "secondary", onClick: l, children: "Ver más" })
2200
+ /* @__PURE__ */ e(F, { variant: "secondary", onClick: l, children: "Ver más" })
2192
2201
  ] })
2193
2202
  ] }),
2194
2203
  /* @__PURE__ */ e(
@@ -2203,67 +2212,67 @@ function en({
2203
2212
  breakpoints: {
2204
2213
  768: { perPage: 1.2, gap: "12px", padding: { left: "0px", right: "0px" } }
2205
2214
  },
2206
- renderItem: (v) => /* @__PURE__ */ e(Et, { event: v }),
2215
+ renderItem: (v) => /* @__PURE__ */ e(kt, { event: v }),
2207
2216
  onMove: ({ isStart: v, isEnd: E }) => m({ isStart: v, isEnd: E })
2208
2217
  }
2209
2218
  )
2210
2219
  ] }) });
2211
2220
  }
2212
- function tn({}) {
2221
+ function rn({}) {
2213
2222
  return /* @__PURE__ */ e(
2214
2223
  "div",
2215
2224
  {
2216
2225
  className: Oe.cardWrapper,
2217
2226
  children: /* @__PURE__ */ u(B, { direction: "column", spacing: 1, children: [
2218
2227
  /* @__PURE__ */ u(B, { spacing: 1, direction: "row", children: [
2219
- /* @__PURE__ */ e(F, { variant: "text", width: "60%", height: 24 }),
2220
- /* @__PURE__ */ e(F, { variant: "text", width: "39%", height: 24 })
2228
+ /* @__PURE__ */ e(M, { variant: "text", width: "60%", height: 24 }),
2229
+ /* @__PURE__ */ e(M, { variant: "text", width: "39%", height: 24 })
2221
2230
  ] }),
2222
2231
  /* @__PURE__ */ u(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2223
- /* @__PURE__ */ e(F, { variant: "circular", width: 32, height: 40 }),
2224
- /* @__PURE__ */ e(F, { variant: "text", width: 40, height: 40 }),
2225
- /* @__PURE__ */ e(F, { variant: "circular", width: 32, height: 40 })
2232
+ /* @__PURE__ */ e(M, { variant: "circular", width: 32, height: 40 }),
2233
+ /* @__PURE__ */ e(M, { variant: "text", width: 40, height: 40 }),
2234
+ /* @__PURE__ */ e(M, { variant: "circular", width: 32, height: 40 })
2226
2235
  ] }),
2227
2236
  /* @__PURE__ */ u(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2228
- /* @__PURE__ */ e(F, { variant: "text", width: 32, height: 16 }),
2229
- /* @__PURE__ */ e(F, { variant: "text", width: 40, height: 16 }),
2230
- /* @__PURE__ */ e(F, { variant: "text", width: 32, height: 16 })
2237
+ /* @__PURE__ */ e(M, { variant: "text", width: 32, height: 16 }),
2238
+ /* @__PURE__ */ e(M, { variant: "text", width: 40, height: 16 }),
2239
+ /* @__PURE__ */ e(M, { variant: "text", width: 32, height: 16 })
2231
2240
  ] }),
2232
2241
  /* @__PURE__ */ u(B, { spacing: 2, direction: "row", children: [
2233
- /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 16 }),
2234
- /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 16 }),
2235
- /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 16 })
2242
+ /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 }),
2243
+ /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 }),
2244
+ /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 })
2236
2245
  ] }),
2237
2246
  /* @__PURE__ */ u(B, { spacing: 2, direction: "row", children: [
2238
- /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 32 }),
2239
- /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 32 }),
2240
- /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 32 })
2247
+ /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 }),
2248
+ /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 }),
2249
+ /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 })
2241
2250
  ] })
2242
2251
  ] })
2243
2252
  }
2244
2253
  );
2245
2254
  }
2246
- const nn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", on = {
2247
- fadeWrapper: nn
2255
+ const an = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", sn = {
2256
+ fadeWrapper: an
2248
2257
  };
2249
2258
  function oe({ children: t }) {
2250
- return /* @__PURE__ */ e("div", { className: on.fadeWrapper, children: t });
2259
+ return /* @__PURE__ */ e("div", { className: sn.fadeWrapper, children: t });
2251
2260
  }
2252
- function rn({
2261
+ function cn({
2253
2262
  items: t,
2254
- title: r = "En vivo",
2255
- iconUrl: a = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
2256
- onViewMore: o,
2263
+ title: o = "En vivo",
2264
+ iconUrl: r = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
2265
+ onViewMore: a,
2257
2266
  className: c = ""
2258
2267
  }) {
2259
- const n = "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", i = A(null), [m, d] = U({ isStart: !0, isEnd: !1 }), [f, x] = U([]), I = () => {
2268
+ const n = "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", i = A(null), [m, d] = W({ isStart: !0, isEnd: !1 }), [f, x] = W([]), I = () => {
2260
2269
  var y;
2261
2270
  (y = i.current) == null || y.prev();
2262
2271
  }, s = () => {
2263
2272
  var y;
2264
2273
  (y = i.current) == null || y.next();
2265
2274
  }, l = () => {
2266
- o == null || o();
2275
+ Et();
2267
2276
  };
2268
2277
  async function h() {
2269
2278
  try {
@@ -2287,12 +2296,12 @@ function rn({
2287
2296
  width: "100%",
2288
2297
  boxSizing: "border-box"
2289
2298
  }, children: /* @__PURE__ */ u(B, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2290
- /* @__PURE__ */ u(H, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2291
- /* @__PURE__ */ e(K, { title: r, iconUrl: a, size: "md" }),
2299
+ /* @__PURE__ */ u(V, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2300
+ /* @__PURE__ */ e(K, { title: o, iconUrl: r, size: "md" }),
2292
2301
  /* @__PURE__ */ u("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
2293
- /* @__PURE__ */ u(H, { spacing: 1, columns: "auto auto", children: [
2302
+ /* @__PURE__ */ u(V, { spacing: 1, columns: "auto auto", children: [
2294
2303
  /* @__PURE__ */ e(
2295
- L,
2304
+ F,
2296
2305
  {
2297
2306
  ariaLabel: "Anterior",
2298
2307
  variant: "secondary",
@@ -2303,7 +2312,7 @@ function rn({
2303
2312
  }
2304
2313
  ),
2305
2314
  /* @__PURE__ */ e(
2306
- L,
2315
+ F,
2307
2316
  {
2308
2317
  ariaLabel: "Siguiente",
2309
2318
  variant: "secondary",
@@ -2314,7 +2323,7 @@ function rn({
2314
2323
  }
2315
2324
  )
2316
2325
  ] }),
2317
- /* @__PURE__ */ e(L, { variant: "secondary", onClick: l, children: "Ver más" })
2326
+ /* @__PURE__ */ e(F, { variant: "secondary", onClick: l, children: "Ver más" })
2318
2327
  ] })
2319
2328
  ] }),
2320
2329
  /* @__PURE__ */ e(
@@ -2332,53 +2341,53 @@ function rn({
2332
2341
  768: { gap: "8px", focus: "center" },
2333
2342
  1024: { gap: "10px", focus: "center" }
2334
2343
  },
2335
- renderItem: (y) => g ? /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(tn, {}) }) : /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(kt, { ...y }) }),
2344
+ renderItem: (y) => g ? /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(rn, {}) }) : /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(Rt, { ...y }) }),
2336
2345
  onMove: ({ isStart: y, isEnd: O }) => d({ isStart: y, isEnd: O })
2337
2346
  }
2338
2347
  )
2339
2348
  ] }) });
2340
2349
  }
2341
- function an() {
2350
+ function ln() {
2342
2351
  return /* @__PURE__ */ u("div", { className: J.cardContainer, children: [
2343
2352
  /* @__PURE__ */ e($e, { title: "" }),
2344
2353
  /* @__PURE__ */ e("div", { className: J.cardBackground, children: /* @__PURE__ */ u(B, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2345
2354
  /* @__PURE__ */ u(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2346
- /* @__PURE__ */ e(F, { variant: "circular", width: 48, height: 48 }),
2347
- /* @__PURE__ */ e(F, { variant: "circular", width: 48, height: 48 })
2355
+ /* @__PURE__ */ e(M, { variant: "circular", width: 48, height: 48 }),
2356
+ /* @__PURE__ */ e(M, { variant: "circular", width: 48, height: 48 })
2348
2357
  ] }),
2349
2358
  /* @__PURE__ */ u(B, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2350
2359
  /* @__PURE__ */ u(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2351
- /* @__PURE__ */ e(F, { variant: "text", width: 80, height: 12 }),
2352
- /* @__PURE__ */ e(F, { variant: "text", width: 80, height: 12 })
2360
+ /* @__PURE__ */ e(M, { variant: "text", width: 80, height: 12 }),
2361
+ /* @__PURE__ */ e(M, { variant: "text", width: 80, height: 12 })
2353
2362
  ] }),
2354
- /* @__PURE__ */ e(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(F, { variant: "text", width: 160, height: 12 }) }),
2363
+ /* @__PURE__ */ e(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(M, { variant: "text", width: 160, height: 12 }) }),
2355
2364
  /* @__PURE__ */ u(B, { direction: "row", spacing: 1, children: [
2356
- /* @__PURE__ */ e(F, { variant: "text", width: 80, height: 16 }),
2357
- /* @__PURE__ */ e(F, { variant: "text", width: 80, height: 16 }),
2358
- /* @__PURE__ */ e(F, { variant: "text", width: 80, height: 16 })
2365
+ /* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 }),
2366
+ /* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 }),
2367
+ /* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 })
2359
2368
  ] }),
2360
2369
  /* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */ u(B, { direction: "row", spacing: 1, children: [
2361
- /* @__PURE__ */ e(F, { variant: "rounded", width: 80, height: 32 }),
2362
- /* @__PURE__ */ e(F, { variant: "rounded", width: 80, height: 32 }),
2363
- /* @__PURE__ */ e(F, { variant: "rounded", width: 80, height: 32 })
2370
+ /* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 }),
2371
+ /* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 }),
2372
+ /* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 })
2364
2373
  ] }) })
2365
2374
  ] })
2366
2375
  ] }) })
2367
2376
  ] });
2368
2377
  }
2369
- const sn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", cn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", ln = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", se = {
2370
- wrapper: sn,
2371
- container: cn,
2372
- buttonWrapper: ln
2378
+ const dn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", un = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", pn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", se = {
2379
+ wrapper: dn,
2380
+ container: un,
2381
+ buttonWrapper: pn
2373
2382
  };
2374
- function dn({
2383
+ function mn({
2375
2384
  items: t,
2376
- title: r = "En vivo",
2377
- iconUrl: a,
2378
- onViewMore: o,
2385
+ title: o = "En vivo",
2386
+ iconUrl: r,
2387
+ onViewMore: a,
2379
2388
  className: c = ""
2380
2389
  }) {
2381
- const n = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", i = A(null), [m, d] = U({ isStart: !0, isEnd: !1 }), [f, x] = U([]);
2390
+ const n = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", i = A(null), [m, d] = W({ isStart: !0, isEnd: !1 }), [f, x] = W([]);
2382
2391
  function I(v) {
2383
2392
  return [...v].sort(
2384
2393
  (E, T) => new Date(E.start).getTime() - new Date(T.start).getTime()
@@ -2393,7 +2402,7 @@ function dn({
2393
2402
  });
2394
2403
  }
2395
2404
  const l = () => {
2396
- o == null || o();
2405
+ It();
2397
2406
  };
2398
2407
  async function h() {
2399
2408
  try {
@@ -2452,13 +2461,12 @@ function dn({
2452
2461
  const y = c || void 0, O = !f || f.length === 0;
2453
2462
  return /* @__PURE__ */ e("section", { className: y, style: {
2454
2463
  paddingLeft: 16,
2455
- paddingRight: 16,
2456
2464
  width: "100%",
2457
2465
  boxSizing: "border-box"
2458
2466
  }, children: /* @__PURE__ */ u("div", { className: se.wrapper, children: [
2459
2467
  /* @__PURE__ */ e("div", { className: se.container, children: /* @__PURE__ */ u(B, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2460
2468
  /* @__PURE__ */ e(K, { title: "Eventos de la semana" }),
2461
- /* @__PURE__ */ e("div", { className: se.buttonWrapper, children: /* @__PURE__ */ e(L, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
2469
+ /* @__PURE__ */ e("div", { className: se.buttonWrapper, children: /* @__PURE__ */ e(F, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
2462
2470
  l();
2463
2471
  }, children: "Ver más" }) })
2464
2472
  ] }) }),
@@ -2466,26 +2474,26 @@ function dn({
2466
2474
  q,
2467
2475
  {
2468
2476
  ref: i,
2469
- items: O ? Array(4).fill({}) : f,
2477
+ items: O ? Array(6).fill({}) : f,
2470
2478
  perPage: 3.5,
2471
2479
  gap: "16px",
2472
2480
  options: { autoWidth: !0, trimSpace: !0 },
2473
2481
  breakpoints: {
2474
2482
  1024: { perPage: 1.4, gap: "8px", focus: "center", padding: { left: "8px", right: "8px" } }
2475
2483
  },
2476
- renderItem: (v) => O ? /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(an, {}) }) : /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(Lt, { event: v }) }),
2484
+ renderItem: (v) => O ? /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(ln, {}) }) : /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(Ut, { event: v }) }),
2477
2485
  onMove: ({ isStart: v, isEnd: E }) => d({ isStart: v, isEnd: E })
2478
2486
  }
2479
2487
  ) })
2480
2488
  ] }) });
2481
2489
  }
2482
- function un({
2490
+ function hn({
2483
2491
  backgrounds: t,
2484
- items: r
2492
+ items: o
2485
2493
  }) {
2486
- const [a, o] = U(0), c = (t == null ? void 0 : t.length) || 1;
2494
+ const [r, a] = W(0), c = (t == null ? void 0 : t.length) || 1;
2487
2495
  return /* @__PURE__ */ u(
2488
- j,
2496
+ z,
2489
2497
  {
2490
2498
  component: "section",
2491
2499
  sx: {
@@ -2499,7 +2507,7 @@ function un({
2499
2507
  },
2500
2508
  children: [
2501
2509
  /* @__PURE__ */ u(
2502
- j,
2510
+ z,
2503
2511
  {
2504
2512
  sx: {
2505
2513
  position: "relative",
@@ -2523,11 +2531,11 @@ function un({
2523
2531
  // left: 0,
2524
2532
  // right: 0,
2525
2533
  },
2526
- onMove: ({ index: n }) => o(n),
2534
+ onMove: ({ index: n }) => a(n),
2527
2535
  renderItem: (n) => {
2528
2536
  var i;
2529
2537
  return /* @__PURE__ */ u(
2530
- j,
2538
+ z,
2531
2539
  {
2532
2540
  sx: {
2533
2541
  position: "relative",
@@ -2535,7 +2543,7 @@ function un({
2535
2543
  },
2536
2544
  children: [
2537
2545
  /* @__PURE__ */ u(
2538
- j,
2546
+ z,
2539
2547
  {
2540
2548
  component: "picture",
2541
2549
  sx: { position: "absolute", inset: 0, lineHeight: 0 },
@@ -2555,7 +2563,7 @@ function un({
2555
2563
  }
2556
2564
  ),
2557
2565
  /* @__PURE__ */ e(
2558
- j,
2566
+ z,
2559
2567
  {
2560
2568
  component: "img",
2561
2569
  src: (i = n.fallbackSrc) != null ? i : n.desktopSrc,
@@ -2574,7 +2582,7 @@ function un({
2574
2582
  }
2575
2583
  ),
2576
2584
  /* @__PURE__ */ e(
2577
- j,
2585
+ z,
2578
2586
  {
2579
2587
  sx: {
2580
2588
  position: "absolute",
@@ -2599,7 +2607,7 @@ function un({
2599
2607
  }
2600
2608
  ),
2601
2609
  /* @__PURE__ */ e(
2602
- j,
2610
+ z,
2603
2611
  {
2604
2612
  sx: {
2605
2613
  position: "absolute",
@@ -2610,14 +2618,14 @@ function un({
2610
2618
  justifyContent: "center",
2611
2619
  zIndex: 2
2612
2620
  },
2613
- children: /* @__PURE__ */ e(Ee, { total: c, active: a })
2621
+ children: /* @__PURE__ */ e(Ee, { total: c, active: r })
2614
2622
  }
2615
2623
  )
2616
2624
  ]
2617
2625
  }
2618
2626
  ),
2619
2627
  /* @__PURE__ */ e(
2620
- j,
2628
+ z,
2621
2629
  {
2622
2630
  sx: {
2623
2631
  position: "absolute",
@@ -2638,8 +2646,8 @@ function un({
2638
2646
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
2639
2647
  zIndex: 3
2640
2648
  },
2641
- children: r == null ? void 0 : r.map((n) => /* @__PURE__ */ u(
2642
- j,
2649
+ children: o == null ? void 0 : o.map((n) => /* @__PURE__ */ u(
2650
+ z,
2643
2651
  {
2644
2652
  sx: {
2645
2653
  display: "flex",
@@ -2660,7 +2668,7 @@ function un({
2660
2668
  },
2661
2669
  children: [
2662
2670
  n.icon && /* @__PURE__ */ e(
2663
- j,
2671
+ z,
2664
2672
  {
2665
2673
  component: "img",
2666
2674
  src: n.icon,
@@ -2695,7 +2703,7 @@ function un({
2695
2703
  }
2696
2704
  );
2697
2705
  }
2698
- const pn = [
2706
+ const gn = [
2699
2707
  [
2700
2708
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/IBK.svg", alt: "Interbank" },
2701
2709
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/Yape.svg", alt: "Yape" }
@@ -2706,12 +2714,12 @@ const pn = [
2706
2714
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
2707
2715
  ]
2708
2716
  ];
2709
- function mn({
2717
+ function fn({
2710
2718
  title: t = "Medios de pago",
2711
- rows: r = pn
2719
+ rows: o = gn
2712
2720
  }) {
2713
- const a = r.flat();
2714
- return /* @__PURE__ */ u(j, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
2721
+ const r = o.flat();
2722
+ return /* @__PURE__ */ u(z, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
2715
2723
  /* @__PURE__ */ e(
2716
2724
  ye,
2717
2725
  {
@@ -2727,7 +2735,7 @@ function mn({
2727
2735
  }
2728
2736
  ),
2729
2737
  /* @__PURE__ */ e(
2730
- j,
2738
+ z,
2731
2739
  {
2732
2740
  sx: {
2733
2741
  width: "288px",
@@ -2740,7 +2748,7 @@ function mn({
2740
2748
  }
2741
2749
  }
2742
2750
  ),
2743
- /* @__PURE__ */ e(j, { sx: { display: { xs: "block", md: "none" } }, children: r.map((o, c) => /* @__PURE__ */ e(
2751
+ /* @__PURE__ */ e(z, { sx: { display: { xs: "block", md: "none" } }, children: o.map((a, c) => /* @__PURE__ */ e(
2744
2752
  we,
2745
2753
  {
2746
2754
  direction: "row",
@@ -2748,12 +2756,12 @@ function mn({
2748
2756
  alignItems: "center",
2749
2757
  gap: 2.5,
2750
2758
  flexWrap: "wrap",
2751
- children: o.map((n) => /* @__PURE__ */ e(he, { ...n }, `${n.src}-${n.alt}`))
2759
+ children: a.map((n) => /* @__PURE__ */ e(he, { ...n }, `${n.src}-${n.alt}`))
2752
2760
  },
2753
2761
  c
2754
2762
  )) }),
2755
2763
  /* @__PURE__ */ e(
2756
- j,
2764
+ z,
2757
2765
  {
2758
2766
  sx: {
2759
2767
  mt: 3,
@@ -2764,73 +2772,73 @@ function mn({
2764
2772
  gridTemplateColumns: { md: "repeat(auto-fit, 160px)" },
2765
2773
  justifyContent: { md: "center" }
2766
2774
  },
2767
- children: a.map((o) => /* @__PURE__ */ e(he, { ...o }, `${o.src}-${o.alt}`))
2775
+ children: r.map((a) => /* @__PURE__ */ e(he, { ...a }, `${a.src}-${a.alt}`))
2768
2776
  }
2769
2777
  )
2770
2778
  ] });
2771
2779
  }
2772
- const hn = {
2773
- OraculoSeccionDestacados: Wt,
2774
- OraculoSeccionTopJuegos: zt,
2775
- OraculoSeccionCasinoEnVivo: At,
2776
- OraculoSeccionCasino: Ht,
2777
- OraculoSeccionVirtuales: qt,
2778
- OraculoSeccionClubOlimpo: Qt,
2779
- OraculoSeccionBonoBienvenida: Xt,
2780
- OraculoSeccionBanners: un,
2781
- OraculoSeccionMediosPago: mn,
2782
- OraculoSeccionEventoEnVivo: rn,
2783
- OraculoSeccionEventoSemana: dn,
2784
- OraculoSeccionEventoCombinadas: en
2785
- }, gn = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, fn = (t) => /^OraculoSeccion[A-Z]/.test(t), xn = Object.fromEntries(
2786
- Object.entries(hn).filter(
2787
- ([t, r]) => fn(t) && gn(r)
2780
+ const xn = {
2781
+ OraculoSeccionDestacados: zt,
2782
+ OraculoSeccionTopJuegos: At,
2783
+ OraculoSeccionCasinoEnVivo: Vt,
2784
+ OraculoSeccionCasino: qt,
2785
+ OraculoSeccionVirtuales: Qt,
2786
+ OraculoSeccionClubOlimpo: en,
2787
+ OraculoSeccionBonoBienvenida: Zt,
2788
+ OraculoSeccionBanners: hn,
2789
+ OraculoSeccionMediosPago: fn,
2790
+ OraculoSeccionEventoEnVivo: cn,
2791
+ OraculoSeccionEventoSemana: mn,
2792
+ OraculoSeccionEventoCombinadas: on
2793
+ }, _n = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, bn = (t) => /^OraculoSeccion[A-Z]/.test(t), vn = Object.fromEntries(
2794
+ Object.entries(xn).filter(
2795
+ ([t, o]) => bn(t) && _n(o)
2788
2796
  )
2789
2797
  );
2790
2798
  class _e extends Error {
2791
- constructor(r, a, o) {
2792
- super(`HTTP ${r} ${o}`), this.status = r, this.url = a, this.statusText = o, this.name = "HttpError";
2799
+ constructor(o, r, a) {
2800
+ super(`HTTP ${o} ${a}`), this.status = o, this.url = r, this.statusText = a, this.name = "HttpError";
2793
2801
  }
2794
2802
  }
2795
2803
  const be = [
2796
2804
  "OraculoSeccionEventoEnVivo",
2797
2805
  "OraculoSeccionEventoSemana",
2798
2806
  "OraculoSeccionEventoCombinadas"
2799
- ], Tn = ({
2807
+ ], Mn = ({
2800
2808
  sectionsOverride: t,
2801
- docId: r = "home",
2802
- db: a
2809
+ docId: o = "home",
2810
+ db: r
2803
2811
  }) => {
2804
- const [o, c] = U(
2812
+ const [a, c] = W(
2805
2813
  []
2806
- ), [n, i] = U(!1), [m, d] = U({}), [f, x] = U({}), [I, s] = U({}), l = Pe("(min-width:1024px)");
2814
+ ), [n, i] = W(!1), [m, d] = W({}), [f, x] = W({}), [I, s] = W({}), l = Pe("(min-width:1024px)");
2807
2815
  Q(() => {
2808
- if (t || !a) return;
2816
+ if (t || !r) return;
2809
2817
  i(!0);
2810
2818
  const p = Ae(
2811
- Ge(a, "landings", r),
2819
+ Ge(r, "landings", o),
2812
2820
  (_) => {
2813
2821
  var C;
2814
2822
  try {
2815
2823
  let b = _.exists() ? ((C = _.data()) == null ? void 0 : C.sections) || [] : [];
2816
2824
  b = b.slice().sort((w, N) => {
2817
- var P, W;
2818
- return ((P = w.order) != null ? P : 0) - ((W = N.order) != null ? W : 0);
2825
+ var P, L;
2826
+ return ((P = w.order) != null ? P : 0) - ((L = N.order) != null ? L : 0);
2819
2827
  }).map((w, N) => ({ ...w, order: N + 1 })), c(b), console.log("fetched: ", b);
2820
2828
  } catch (b) {
2821
- console.error("Error procesando landings/" + r, b);
2829
+ console.error("Error procesando landings/" + o, b);
2822
2830
  } finally {
2823
2831
  i(!1);
2824
2832
  }
2825
2833
  },
2826
2834
  (_) => {
2827
- console.error("Error escuchando landings/" + r, _), i(!1);
2835
+ console.error("Error escuchando landings/" + o, _), i(!1);
2828
2836
  }
2829
2837
  );
2830
2838
  return () => p();
2831
- }, [t, r, a]), Q(() => {
2832
- (t ? t.slice() : o.slice()).map((C) => C.componentKey).filter((C) => !!C).length;
2833
- }, [t, o]);
2839
+ }, [t, o, r]), Q(() => {
2840
+ (t ? t.slice() : a.slice()).map((C) => C.componentKey).filter((C) => !!C).length;
2841
+ }, [t, a]);
2834
2842
  const h = async (p) => {
2835
2843
  if (be.includes(p.componentKey))
2836
2844
  return {
@@ -2844,32 +2852,32 @@ const be = [
2844
2852
  const C = p.apiMethod || "GET", b = p.apiParams || [];
2845
2853
  let w = _, N, P;
2846
2854
  if (C === "GET") {
2847
- const z = new URL(
2855
+ const U = new URL(
2848
2856
  _,
2849
2857
  typeof window == "undefined" ? "http://localhost" : window.location.origin
2850
2858
  );
2851
- for (const M of b)
2852
- M.key && z.searchParams.append(M.key, M.value);
2853
- w = z.toString();
2859
+ for (const j of b)
2860
+ j.key && U.searchParams.append(j.key, j.value);
2861
+ w = U.toString();
2854
2862
  } else {
2855
- const z = new URLSearchParams();
2856
- for (const M of b)
2857
- M.key && z.append(M.key, M.value);
2858
- N = z.toString(), P = {
2863
+ const U = new URLSearchParams();
2864
+ for (const j of b)
2865
+ j.key && U.append(j.key, j.value);
2866
+ N = U.toString(), P = {
2859
2867
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
2860
2868
  };
2861
2869
  }
2862
- const W = await fetch(w, {
2870
+ const L = await fetch(w, {
2863
2871
  method: C,
2864
2872
  headers: P,
2865
2873
  body: N
2866
2874
  });
2867
- if (!W.ok) throw new _e(W.status, w, W.statusText);
2868
- return W.json();
2875
+ if (!L.ok) throw new _e(L.status, w, L.statusText);
2876
+ return L.json();
2869
2877
  }, S = ce(
2870
- () => t ? t.slice() : o.slice(),
2871
- [t, o]
2872
- ), g = Fe.useRef(/* @__PURE__ */ new Set());
2878
+ () => t ? t.slice() : a.slice(),
2879
+ [t, a]
2880
+ ), g = Me.useRef(/* @__PURE__ */ new Set());
2873
2881
  Q(() => {
2874
2882
  const p = S.map((_) => ({ s: _, url: (_.apiUrl || "").trim() })).filter(({ url: _ }) => !!_);
2875
2883
  if (p.length)
@@ -2944,11 +2952,11 @@ const be = [
2944
2952
  }, E = (p, _, C) => {
2945
2953
  const b = C ? { ...C } : {};
2946
2954
  if (_) {
2947
- const M = (_.variableName || "items").trim() || "items";
2948
- return b[M] = _.arr || [], b;
2955
+ const j = (_.variableName || "items").trim() || "items";
2956
+ return b[j] = _.arr || [], b;
2949
2957
  }
2950
- const w = p, N = Array.isArray(w), P = !N && typeof w == "object" && w !== null ? w : void 0, W = P && Array.isArray(P.lobby || P.items) ? P.lobby || P.items : void 0, z = (M) => N ? w : W || M;
2951
- return b.items = z(W || []), b;
2958
+ const w = p, N = Array.isArray(w), P = !N && typeof w == "object" && w !== null ? w : void 0, L = P && Array.isArray(P.lobby || P.items) ? P.lobby || P.items : void 0, U = (j) => N ? w : L || j;
2959
+ return b.items = U(L || []), b;
2952
2960
  }, T = (p) => {
2953
2961
  var N;
2954
2962
  const _ = !!((N = p.apiUrl) != null && N.trim()), C = _ ? m[p.id] : void 0;
@@ -2964,8 +2972,8 @@ const be = [
2964
2972
  { arr: P, variableName: p.variableName },
2965
2973
  b
2966
2974
  ), p.variableName2 && p.manualItems2) {
2967
- const W = O(p.manualItems2), z = (p.variableName2 || "items2").trim() || "items2";
2968
- b[z] = W;
2975
+ const L = O(p.manualItems2), U = (p.variableName2 || "items2").trim() || "items2";
2976
+ b[U] = L;
2969
2977
  }
2970
2978
  }
2971
2979
  return b;
@@ -2975,7 +2983,7 @@ const be = [
2975
2983
  component: "bg-yellow-100 text-yellow-800"
2976
2984
  }[_]}`, children: C }, p), $ = (p) => {
2977
2985
  var pe;
2978
- const _ = p.componentKey, C = xn[_];
2986
+ const _ = p.componentKey, C = vn[_];
2979
2987
  if (!C)
2980
2988
  return console.warn(`No hay componente registrado para "${_}"`), R(
2981
2989
  p.id,
@@ -2997,13 +3005,13 @@ const be = [
2997
3005
  `Error cargando ${p.apiUrl}: ${P}`
2998
3006
  );
2999
3007
  }
3000
- const W = T(p), M = (/* @__PURE__ */ new Set([
3008
+ const L = T(p), j = (/* @__PURE__ */ new Set([
3001
3009
  "OraculoSeccionBanners",
3002
3010
  "OraculoSeccionBonoBienvenida",
3003
3011
  "OraculoSeccionCasinoEnVivo",
3004
3012
  l ? "" : "OraculoSeccionClubOlimpo"
3005
3013
  ])).has(p.componentKey), Y = l ? 120 : 24;
3006
- return /* @__PURE__ */ e("div", { style: M ? {
3014
+ return /* @__PURE__ */ e("div", { style: j ? {
3007
3015
  width: "100%",
3008
3016
  boxSizing: "border-box"
3009
3017
  } : {
@@ -3011,9 +3019,9 @@ const be = [
3011
3019
  paddingRight: Y,
3012
3020
  width: "100%",
3013
3021
  boxSizing: "border-box"
3014
- }, children: /* @__PURE__ */ e(C, { ...W }) }, p.id);
3022
+ }, children: /* @__PURE__ */ e(C, { ...L }) }, p.id);
3015
3023
  };
3016
- return n && !t ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-400", children: "Cargando preview..." }) : !n && !t && o.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
3024
+ return n && !t ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-400", children: "Cargando preview..." }) : !n && !t && a.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
3017
3025
  Be,
3018
3026
  {
3019
3027
  className: "oli-font",
@@ -3033,42 +3041,42 @@ const be = [
3033
3041
  );
3034
3042
  };
3035
3043
  export {
3036
- L as OraculoButton,
3044
+ F as OraculoButton,
3037
3045
  q as OraculoCarousel,
3038
3046
  Ee as OraculoCarouselDots,
3039
3047
  ft as OraculoClubOlimpoVisual,
3040
- Et as OraculoEventCombinadasCard,
3041
- kt as OraculoEventEnVivoCard,
3048
+ kt as OraculoEventCombinadasCard,
3049
+ Rt as OraculoEventEnVivoCard,
3042
3050
  Xe as OraculoEventHeader,
3043
3051
  Ie as OraculoEventLabel,
3044
3052
  $e as OraculoEventLeague,
3045
3053
  ke as OraculoEventScore,
3046
- Lt as OraculoEventSemanaCard,
3054
+ Ut as OraculoEventSemanaCard,
3047
3055
  Je as OraculoEventStatus,
3048
3056
  qe as OraculoEventStatusBadge,
3049
3057
  ne as OraculoEventTeamInfo,
3050
3058
  te as OraculoGameCard,
3051
3059
  mt as OraculoGameRankCard,
3052
3060
  Ne as OraculoGameSlide,
3053
- H as OraculoGridGroup,
3061
+ V as OraculoGridGroup,
3054
3062
  ht as OraculoLiveCasinoCard,
3055
3063
  he as OraculoLogoMediosPago,
3056
- Tn as OraculoPageLandingPreview,
3057
- un as OraculoSeccionBanners,
3058
- Xt as OraculoSeccionBonoBienvenida,
3059
- Ht as OraculoSeccionCasino,
3060
- At as OraculoSeccionCasinoEnVivo,
3061
- Qt as OraculoSeccionClubOlimpo,
3062
- Wt as OraculoSeccionDestacados,
3063
- en as OraculoSeccionEventoCombinadas,
3064
- rn as OraculoSeccionEventoEnVivo,
3065
- dn as OraculoSeccionEventoSemana,
3066
- mn as OraculoSeccionMediosPago,
3067
- zt as OraculoSeccionTopJuegos,
3068
- qt as OraculoSeccionVirtuales,
3064
+ Mn as OraculoPageLandingPreview,
3065
+ hn as OraculoSeccionBanners,
3066
+ Zt as OraculoSeccionBonoBienvenida,
3067
+ qt as OraculoSeccionCasino,
3068
+ Vt as OraculoSeccionCasinoEnVivo,
3069
+ en as OraculoSeccionClubOlimpo,
3070
+ zt as OraculoSeccionDestacados,
3071
+ on as OraculoSeccionEventoCombinadas,
3072
+ cn as OraculoSeccionEventoEnVivo,
3073
+ mn as OraculoSeccionEventoSemana,
3074
+ fn as OraculoSeccionMediosPago,
3075
+ At as OraculoSeccionTopJuegos,
3076
+ Qt as OraculoSeccionVirtuales,
3069
3077
  K as OraculoSectionTitle,
3070
- zt as OraculoTopJuegoItem,
3078
+ At as OraculoTopJuegoItem,
3071
3079
  gt as OraculoWelcomeBanner,
3072
- Tn as default
3080
+ Mn as default
3073
3081
  };
3074
3082
  //# sourceMappingURL=index.es.js.map