oraculo-ui 0.1.61 → 0.1.62

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,58 +1,58 @@
1
1
  import { jsx as e, jsxs as l, Fragment as Z } from "react/jsx-runtime";
2
- import { Link as we, Box as j, Typography as Se, Stack as Ce, useMediaQuery as Me, Container as Fe } from "@mui/material";
3
- import Le, { forwardRef as We, useRef as G, useImperativeHandle as je, useCallback as he, useState as z, useMemo as oe, useLayoutEffect as ze, useEffect as Q } from "react";
4
- import { Splide as Ae, SplideSlide as Ge } from "@splidejs/react-splide";
5
- import O from "@mui/material/Box";
6
- import M from "@mui/material/Skeleton";
7
- import D from "@mui/material/Typography";
8
- import R from "@mui/material/Stack";
2
+ import { Link as Se, Box as z, Typography as Ce, Stack as Ee, useMediaQuery as Fe, Container as Le } from "@mui/material";
3
+ import We, { forwardRef as je, useRef as U, useImperativeHandle as ze, useCallback as ge, useState as A, useMemo as oe, useLayoutEffect as Ae, useEffect as Y } from "react";
4
+ import { Splide as Ge, SplideSlide as Ue } from "@splidejs/react-splide";
5
+ import $ from "@mui/material/Box";
6
+ import F from "@mui/material/Skeleton";
7
+ import V from "@mui/material/Typography";
8
+ import M from "@mui/material/Stack";
9
9
  import { ChevronLeftRounded as de, ChevronRightRounded as ue } from "@mui/icons-material";
10
- import Ee from "@mui/icons-material/ChevronLeftRounded";
11
- import ke from "@mui/icons-material/ChevronRightRounded";
12
- import Ue from "@mui/material/useMediaQuery";
13
- import { onSnapshot as De, doc as Ve } from "firebase/firestore";
14
- function F({
10
+ import ke from "@mui/icons-material/ChevronLeftRounded";
11
+ import $e from "@mui/icons-material/ChevronRightRounded";
12
+ import De from "@mui/material/useMediaQuery";
13
+ import { onSnapshot as Ve, doc as He } from "firebase/firestore";
14
+ function L({
15
15
  children: t,
16
16
  onClick: n,
17
17
  href: r,
18
18
  target: i,
19
- rel: u,
19
+ rel: d,
20
20
  type: o = "button",
21
21
  disabled: a = !1,
22
- variant: p = "primary",
23
- size: m,
24
- fullWidth: g = !1,
25
- fullHeight: b = !1,
22
+ variant: u = "primary",
23
+ size: p,
24
+ fullWidth: h = !1,
25
+ fullHeight: _ = !1,
26
26
  className: k = "",
27
27
  ariaLabel: s,
28
28
  leftIcon: c,
29
- rightIcon: x,
30
- iconOnly: $
29
+ rightIcon: g,
30
+ iconOnly: O
31
31
  }) {
32
- const v = !!t && t !== !0, _ = (!!c ? 1 : 0) + (!!x ? 1 : 0) == 1, S = $ != null ? $ : _ && !v, P = [
32
+ const x = !!t && t !== !0, f = (!!c ? 1 : 0) + (!!g ? 1 : 0) == 1, E = O != null ? O : f && !x, P = [
33
33
  "orc-btn",
34
- p === "secondary" ? "orc-btn--secondary" : p === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
35
- m ? `orc-btn--${m}` : "",
36
- g ? "orc-btn--full" : "",
37
- b ? "orc-btn--fullHeight" : "",
38
- S ? "orc-btn--iconOnly" : "",
34
+ u === "secondary" ? "orc-btn--secondary" : u === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
35
+ p ? `orc-btn--${p}` : "",
36
+ h ? "orc-btn--full" : "",
37
+ _ ? "orc-btn--fullHeight" : "",
38
+ E ? "orc-btn--iconOnly" : "",
39
39
  k
40
40
  ].filter(Boolean).join(" "), T = /* @__PURE__ */ l(Z, { children: [
41
41
  c && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: c }),
42
- !S && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
43
- x && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: x })
44
- ] }), E = a ? !0 : void 0;
42
+ !E && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
43
+ g && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: g })
44
+ ] }), S = a ? !0 : void 0;
45
45
  return r ? /* @__PURE__ */ e(
46
- we,
46
+ Se,
47
47
  {
48
48
  href: r,
49
49
  target: i,
50
- rel: u,
50
+ rel: d,
51
51
  "aria-label": s,
52
- "aria-disabled": E,
53
- tabIndex: E ? -1 : void 0,
52
+ "aria-disabled": S,
53
+ tabIndex: S ? -1 : void 0,
54
54
  className: P,
55
- onClick: E ? (d) => d.preventDefault() : n,
55
+ onClick: S ? (B) => B.preventDefault() : n,
56
56
  children: T
57
57
  }
58
58
  ) : /* @__PURE__ */ e(
@@ -60,14 +60,14 @@ function F({
60
60
  {
61
61
  type: o,
62
62
  onClick: n,
63
- disabled: !!E,
63
+ disabled: !!S,
64
64
  "aria-label": s,
65
65
  className: P,
66
66
  children: T
67
67
  }
68
68
  );
69
69
  }
70
- function K({
70
+ function q({
71
71
  title: t,
72
72
  iconUrl: n,
73
73
  size: r = "md",
@@ -90,15 +90,15 @@ function K({
90
90
  /* @__PURE__ */ e("h2", { className: "orc-section-title__title", children: t })
91
91
  ] });
92
92
  }
93
- const $e = ({
93
+ const Oe = ({
94
94
  total: t,
95
95
  active: n,
96
96
  onSelect: r,
97
97
  className: i = ""
98
98
  }) => {
99
99
  if (t <= 1) return null;
100
- const u = ["orc-dots", i].filter(Boolean).join(" ");
101
- return /* @__PURE__ */ e("div", { className: u, role: "tablist", children: Array.from({ length: t }).map((o, a) => /* @__PURE__ */ e("span", { className: "orc-dots__cell", children: /* @__PURE__ */ e(
100
+ const d = ["orc-dots", i].filter(Boolean).join(" ");
101
+ return /* @__PURE__ */ e("div", { className: d, role: "tablist", children: Array.from({ length: t }).map((o, a) => /* @__PURE__ */ e("span", { className: "orc-dots__cell", children: /* @__PURE__ */ e(
102
102
  "button",
103
103
  {
104
104
  type: "button",
@@ -110,14 +110,14 @@ const $e = ({
110
110
  }
111
111
  ) }, a)) });
112
112
  };
113
- function V({
113
+ function H({
114
114
  children: t,
115
115
  minWidth: n = 32,
116
116
  spacing: r = 2,
117
117
  justify: i = "stretch",
118
- columns: u = null
118
+ columns: d = null
119
119
  }) {
120
- const o = u || `repeat(auto-fit, minmax(${n}px, 1fr))`, a = typeof r == "number" ? `${r * 8}px` : r;
120
+ const o = d || `repeat(auto-fit, minmax(${n}px, 1fr))`, a = typeof r == "number" ? `${r * 8}px` : r;
121
121
  return /* @__PURE__ */ e(
122
122
  "div",
123
123
  {
@@ -132,9 +132,9 @@ function V({
132
132
  }
133
133
  );
134
134
  }
135
- function ge({ src: t, alt: n }) {
135
+ function fe({ src: t, alt: n }) {
136
136
  return /* @__PURE__ */ e(
137
- j,
137
+ z,
138
138
  {
139
139
  sx: {
140
140
  position: "relative",
@@ -145,7 +145,7 @@ function ge({ src: t, alt: n }) {
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,
@@ -163,12 +163,12 @@ function ge({ src: t, alt: n }) {
163
163
  }
164
164
  );
165
165
  }
166
- const He = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ke = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", qe = "oraculo__OraculoEventTitle-module__subtitle___TmHna", ie = {
167
- contenedor: He,
168
- flexGroup: Ke,
169
- subtitle: qe
166
+ const Ke = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", qe = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Je = "oraculo__OraculoEventTitle-module__subtitle___TmHna", ie = {
167
+ contenedor: Ke,
168
+ flexGroup: qe,
169
+ subtitle: Je
170
170
  };
171
- function Je({ title: t, subtitle: n }) {
171
+ function Xe({ title: t, subtitle: n }) {
172
172
  return /* @__PURE__ */ l(
173
173
  "div",
174
174
  {
@@ -204,7 +204,7 @@ function Je({ title: t, subtitle: n }) {
204
204
  }
205
205
  );
206
206
  }
207
- function Xe({ text: t, color: n = "#ff3b3b", textColor: r = "#fff" }) {
207
+ function Qe({ text: t, color: n = "#ff3b3b", textColor: r = "#fff" }) {
208
208
  return /* @__PURE__ */ e(
209
209
  "span",
210
210
  {
@@ -225,13 +225,13 @@ function Xe({ text: t, color: n = "#ff3b3b", textColor: r = "#fff" }) {
225
225
  }
226
226
  );
227
227
  }
228
- function Qe({ live: t, time: n }) {
228
+ function Ye({ live: t, time: n }) {
229
229
  return /* @__PURE__ */ l("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
230
- t && /* @__PURE__ */ e(Xe, { text: "En vivo" }),
230
+ t && /* @__PURE__ */ e(Qe, { text: "En vivo" }),
231
231
  n && /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: n })
232
232
  ] });
233
233
  }
234
- function Ye({ title: t, subtitle: n, live: r = !1, time: i = "" }) {
234
+ function Ze({ title: t, subtitle: n, live: r = !1, time: i = "" }) {
235
235
  return /* @__PURE__ */ l(
236
236
  "div",
237
237
  {
@@ -242,49 +242,49 @@ function Ye({ title: t, subtitle: n, live: r = !1, time: i = "" }) {
242
242
  color: "#FFFFFF"
243
243
  },
244
244
  children: [
245
- /* @__PURE__ */ e(Je, { title: t, subtitle: n }),
246
- /* @__PURE__ */ e(Qe, { live: r, time: i })
245
+ /* @__PURE__ */ e(Xe, { title: t, subtitle: n }),
246
+ /* @__PURE__ */ e(Ye, { live: r, time: i })
247
247
  ]
248
248
  }
249
249
  );
250
250
  }
251
- const Ze = "oraculo__OraculoEventLabel-module__label___c64Xw", et = {
252
- label: Ze
251
+ const et = "oraculo__OraculoEventLabel-module__label___c64Xw", tt = {
252
+ label: et
253
253
  };
254
- function Oe({ text: t }) {
255
- return /* @__PURE__ */ e("span", { className: et.label, children: t });
254
+ function Ie({ text: t }) {
255
+ return /* @__PURE__ */ e("span", { className: tt.label, children: t });
256
256
  }
257
- const tt = "oraculo__OraculoEventLeague-module__container___rdk4F", ot = {
258
- container: tt
257
+ const ot = "oraculo__OraculoEventLeague-module__container___rdk4F", nt = {
258
+ container: ot
259
259
  };
260
- function Ie({ title: t }) {
261
- return /* @__PURE__ */ e("div", { className: ot.container, children: t.toUpperCase() });
260
+ function Ne({ title: t }) {
261
+ return /* @__PURE__ */ e("div", { className: nt.container, children: t.toUpperCase() });
262
262
  }
263
- const nt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", rt = "oraculo__OraculoEventScore-module__name___r4uL6", at = "oraculo__OraculoEventScore-module__score___Xl03M", it = "oraculo__OraculoEventScore-module__normal___cCNFz", st = "oraculo__OraculoEventScore-module__small___fVt8E", X = {
264
- scoreWrapper: nt,
265
- name: rt,
266
- score: at,
267
- normal: it,
268
- small: st
263
+ const rt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", at = "oraculo__OraculoEventScore-module__name___r4uL6", it = "oraculo__OraculoEventScore-module__score___Xl03M", st = "oraculo__OraculoEventScore-module__normal___cCNFz", ct = "oraculo__OraculoEventScore-module__small___fVt8E", Q = {
264
+ scoreWrapper: rt,
265
+ name: at,
266
+ score: it,
267
+ normal: st,
268
+ small: ct
269
269
  };
270
- function Ne({ text: t, name: n, size: r = "normal" }) {
270
+ function Te({ text: t, name: n, size: r = "normal" }) {
271
271
  return /* @__PURE__ */ l(
272
272
  "div",
273
273
  {
274
- className: `${X.scoreWrapper} ${X[r]}`,
274
+ className: `${Q.scoreWrapper} ${Q[r]}`,
275
275
  children: [
276
- /* @__PURE__ */ e("div", { className: `${X.score} ${X[r]}`, children: t }),
277
- n && /* @__PURE__ */ e("span", { className: `${X.name} ${X[r]}`, children: n })
276
+ /* @__PURE__ */ e("div", { className: `${Q.score} ${Q[r]}`, children: t }),
277
+ n && /* @__PURE__ */ e("span", { className: `${Q.name} ${Q[r]}`, children: n })
278
278
  ]
279
279
  }
280
280
  );
281
281
  }
282
- const ct = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", lt = "oraculo__OraculoEventTeamInfo-module__regular___ag826", dt = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", ut = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", pt = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", ee = {
283
- team: ct,
284
- regular: lt,
285
- compact: dt,
286
- logo: ut,
287
- name: pt
282
+ const lt = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", dt = "oraculo__OraculoEventTeamInfo-module__regular___ag826", ut = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", pt = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", mt = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", ee = {
283
+ team: lt,
284
+ regular: dt,
285
+ compact: ut,
286
+ logo: pt,
287
+ name: mt
288
288
  };
289
289
  function ne({ name: t, logo: n, size: r = "regular" }) {
290
290
  return /* @__PURE__ */ l("div", { className: `oli-font ${ee.team} ${ee[r]}`, children: [
@@ -292,39 +292,39 @@ function ne({ name: t, logo: n, size: r = "regular" }) {
292
292
  /* @__PURE__ */ e("span", { className: ee.name, children: t })
293
293
  ] });
294
294
  }
295
- const mt = Ae, ht = Ge, q = We(
295
+ const ht = Ge, gt = Ue, J = je(
296
296
  ({
297
297
  items: t = [],
298
298
  renderItem: n,
299
299
  perPage: r = 1,
300
300
  gap: i = "0px",
301
- breakpoints: u,
301
+ breakpoints: d,
302
302
  options: o = {},
303
303
  className: a = "",
304
- onMove: p,
305
- useIndexAsKey: m = !1
306
- }, g) => {
307
- const b = G(null);
308
- je(g, () => ({
304
+ onMove: u,
305
+ useIndexAsKey: p = !1
306
+ }, h) => {
307
+ const _ = U(null);
308
+ ze(h, () => ({
309
309
  next: () => {
310
- var x;
311
- return (x = b.current) == null ? void 0 : x.go(">");
310
+ var g;
311
+ return (g = _.current) == null ? void 0 : g.go(">");
312
312
  },
313
313
  prev: () => {
314
- var x;
315
- return (x = b.current) == null ? void 0 : x.go("<");
314
+ var g;
315
+ return (g = _.current) == null ? void 0 : g.go("<");
316
316
  },
317
- go: (x) => {
318
- var $;
319
- return ($ = b.current) == null ? void 0 : $.go(x);
317
+ go: (g) => {
318
+ var O;
319
+ return (O = _.current) == null ? void 0 : O.go(g);
320
320
  }
321
321
  }));
322
- const k = he((x) => {
323
- const $ = x.Components.Controller, v = $.getIndex(), C = $.getEnd(), N = v === 0, _ = v >= C, S = x.Components.Slides.getLength();
324
- p == null || p({ index: v, isStart: N, isEnd: _, total: S });
325
- }, [p]), s = he(
326
- (x) => {
327
- k(x);
322
+ const k = ge((g) => {
323
+ const O = g.Components.Controller, x = O.getIndex(), C = O.getEnd(), N = x === 0, f = x >= C, E = g.Components.Slides.getLength();
324
+ u == null || u({ index: x, isStart: N, isEnd: f, total: E });
325
+ }, [u]), s = ge(
326
+ (g) => {
327
+ k(g);
328
328
  },
329
329
  [k]
330
330
  ), c = {
@@ -338,19 +338,19 @@ const mt = Ae, ht = Ge, q = We(
338
338
  autoWidth: !1,
339
339
  perPage: r,
340
340
  gap: i,
341
- breakpoints: u,
341
+ breakpoints: d,
342
342
  ...o
343
343
  };
344
344
  return /* @__PURE__ */ e("div", { className: a, style: { width: "100%" }, children: /* @__PURE__ */ e(
345
- mt,
345
+ ht,
346
346
  {
347
- ref: b,
347
+ ref: _,
348
348
  options: c,
349
349
  onMove: k,
350
350
  onMounted: s,
351
- children: t.map((x, $) => {
352
- var v;
353
- return /* @__PURE__ */ e(ht, { children: n(x, $) }, m ? $ : (v = x.id) != null ? v : $);
351
+ children: t.map((g, O) => {
352
+ var x;
353
+ return /* @__PURE__ */ e(gt, { children: n(g, O) }, p ? O : (x = g.id) != null ? x : O);
354
354
  })
355
355
  }
356
356
  ) });
@@ -361,11 +361,11 @@ const mt = Ae, ht = Ge, q = We(
361
361
  size: r = "sm",
362
362
  fillParent: i = !1
363
363
  }) => {
364
- const u = r === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, o = (p) => {
365
- p.stopPropagation(), n == null || n();
366
- }, a = i ? { width: "100%", height: "100%" } : { width: `${u.w}px`, height: `${u.h}px` };
364
+ const d = r === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, o = (u) => {
365
+ u.stopPropagation(), n == null || n();
366
+ }, a = i ? { width: "100%", height: "100%" } : { width: `${d.w}px`, height: `${d.h}px` };
367
367
  return /* @__PURE__ */ l(
368
- O,
368
+ $,
369
369
  {
370
370
  onClick: n,
371
371
  role: "button",
@@ -407,7 +407,7 @@ const mt = Ae, ht = Ge, q = We(
407
407
  }
408
408
  ),
409
409
  /* @__PURE__ */ e(
410
- O,
410
+ $,
411
411
  {
412
412
  className: "oraculo-game-card-overlay",
413
413
  sx: {
@@ -422,7 +422,7 @@ const mt = Ae, ht = Ge, q = We(
422
422
  }
423
423
  ),
424
424
  /* @__PURE__ */ e(
425
- O,
425
+ $,
426
426
  {
427
427
  className: "oraculo-game-card-btn",
428
428
  sx: {
@@ -435,49 +435,49 @@ const mt = Ae, ht = Ge, q = We(
435
435
  transition: "opacity .15s ease, transform .15s ease",
436
436
  pointerEvents: "none"
437
437
  },
438
- children: /* @__PURE__ */ e(F, { variant: "primary", size: "md", onClick: o, children: "JUGAR" })
438
+ children: /* @__PURE__ */ e(L, { variant: "primary", size: "md", onClick: o, children: "JUGAR" })
439
439
  }
440
440
  )
441
441
  ]
442
442
  }
443
443
  );
444
444
  };
445
- function gt({
445
+ function ft({
446
446
  imageUrl: t,
447
447
  orden: n = 1,
448
448
  onClick: r,
449
449
  loading: i = !1,
450
- sizes: u = {
450
+ sizes: d = {
451
451
  xs: { w: 104, h: 112, r: 18, font: 48 },
452
452
  md: { w: 186, h: 264, r: 22.6, font: 64 }
453
453
  }
454
454
  }) {
455
- var k, s, c, x;
456
- const o = ($, v) => {
457
- var C, N, _, S;
455
+ var k, s, c, g;
456
+ const o = (O, x) => {
457
+ var C, N, f, E;
458
458
  return {
459
- xs: (N = (C = u.xs) == null ? void 0 : C[$]) != null ? N : v,
460
- md: (S = (_ = u.md) == null ? void 0 : _[$]) != null ? S : v
459
+ xs: (N = (C = d.xs) == null ? void 0 : C[O]) != null ? N : x,
460
+ md: (E = (f = d.md) == null ? void 0 : f[O]) != null ? E : x
461
461
  };
462
- }, a = o("w", 186), p = o("h", 264), m = o("r", 22.6), g = o("font", 64), b = {
463
- xs: Math.round(((s = (k = u.xs) == null ? void 0 : k.font) != null ? s : 64) * 0.28),
464
- md: Math.round(((x = (c = u.md) == null ? void 0 : c.font) != null ? x : 64) * 0.28)
462
+ }, a = o("w", 186), u = o("h", 264), p = o("r", 22.6), h = o("font", 64), _ = {
463
+ xs: Math.round(((s = (k = d.xs) == null ? void 0 : k.font) != null ? s : 64) * 0.28),
464
+ md: Math.round(((g = (c = d.md) == null ? void 0 : c.font) != null ? g : 64) * 0.28)
465
465
  };
466
466
  return /* @__PURE__ */ l(
467
- O,
467
+ $,
468
468
  {
469
469
  sx: {
470
470
  position: "relative",
471
471
  width: "100%",
472
472
  maxWidth: { xs: `${a.xs}px`, md: `${a.md}px` },
473
473
  aspectRatio: {
474
- xs: `${a.xs}/${p.xs}`,
475
- md: `${a.md}/${p.md}`
474
+ xs: `${a.xs}/${u.xs}`,
475
+ md: `${a.md}/${u.md}`
476
476
  },
477
- borderRadius: { xs: `${m.xs}px`, md: `${m.md}px` },
477
+ borderRadius: { xs: `${p.xs}px`, md: `${p.md}px` },
478
478
  boxSizing: "border-box",
479
479
  overflow: "visible",
480
- pb: { xs: `${b.xs}px`, md: `${b.md}px` },
480
+ pb: { xs: `${_.xs}px`, md: `${_.md}px` },
481
481
  "&::before": {
482
482
  content: '""',
483
483
  position: "absolute",
@@ -491,7 +491,7 @@ function gt({
491
491
  },
492
492
  children: [
493
493
  /* @__PURE__ */ e(
494
- O,
494
+ $,
495
495
  {
496
496
  sx: {
497
497
  position: "absolute",
@@ -500,7 +500,7 @@ function gt({
500
500
  overflow: "hidden"
501
501
  },
502
502
  children: i ? /* @__PURE__ */ e(
503
- M,
503
+ F,
504
504
  {
505
505
  variant: "rectangular",
506
506
  width: "100%",
@@ -525,20 +525,20 @@ function gt({
525
525
  }
526
526
  ),
527
527
  /* @__PURE__ */ e(
528
- O,
528
+ $,
529
529
  {
530
530
  component: "span",
531
531
  sx: {
532
532
  position: "absolute",
533
533
  left: 8,
534
534
  bottom: {
535
- xs: `-${b.xs}px`,
536
- md: `-${b.md}px`
535
+ xs: `-${_.xs}px`,
536
+ md: `-${_.md}px`
537
537
  },
538
538
  fontFamily: "secondary",
539
539
  fontSize: {
540
- xs: `${g.xs}px`,
541
- md: `${g.md}px`
540
+ xs: `${h.xs}px`,
541
+ md: `${h.md}px`
542
542
  },
543
543
  lineHeight: 1,
544
544
  color: "#3CC666",
@@ -553,18 +553,18 @@ function gt({
553
553
  }
554
554
  );
555
555
  }
556
- const ft = ({
556
+ const xt = ({
557
557
  logo: t,
558
558
  provider: n,
559
559
  providerName: r,
560
560
  machine: i,
561
- onClick: u
561
+ onClick: d
562
562
  }) => {
563
563
  var o;
564
564
  return /* @__PURE__ */ l(
565
- O,
565
+ $,
566
566
  {
567
- onClick: u,
567
+ onClick: d,
568
568
  sx: {
569
569
  flex: "0 0 auto",
570
570
  position: "relative",
@@ -586,7 +586,7 @@ const ft = ({
586
586
  },
587
587
  children: [
588
588
  /* @__PURE__ */ e(
589
- O,
589
+ $,
590
590
  {
591
591
  component: "img",
592
592
  src: t,
@@ -602,7 +602,7 @@ const ft = ({
602
602
  }
603
603
  ),
604
604
  /* @__PURE__ */ e(
605
- O,
605
+ $,
606
606
  {
607
607
  className: "orc-live-provider-label",
608
608
  sx: {
@@ -616,7 +616,7 @@ const ft = ({
616
616
  pointerEvents: "none"
617
617
  },
618
618
  children: /* @__PURE__ */ e(
619
- D,
619
+ V,
620
620
  {
621
621
  sx: {
622
622
  color: "#fff",
@@ -632,8 +632,8 @@ const ft = ({
632
632
  ]
633
633
  }
634
634
  );
635
- }, se = 12, ce = ({ r: t = 16 }) => /* @__PURE__ */ e(O, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
636
- M,
635
+ }, se = 12, ce = ({ r: t = 16 }) => /* @__PURE__ */ e($, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
636
+ F,
637
637
  {
638
638
  variant: "rectangular",
639
639
  width: "100%",
@@ -647,20 +647,20 @@ const ft = ({
647
647
  }
648
648
  }
649
649
  }
650
- ) }), Te = ({
650
+ ) }), Pe = ({
651
651
  items: t,
652
652
  layout: n = "grid",
653
653
  onClick: r,
654
654
  loading: i = !1,
655
- gridSkeletonCount: u = 4
655
+ gridSkeletonCount: d = 4
656
656
  }) => {
657
657
  var o, a;
658
658
  if (n === "mosaic") {
659
- const p = t[0];
660
- console.log("big: ", p);
661
- const m = t.slice(1, 5);
659
+ const u = t[0];
660
+ console.log("big: ", u);
661
+ const p = t.slice(1, 5);
662
662
  return /* @__PURE__ */ l(
663
- O,
663
+ $,
664
664
  {
665
665
  sx: {
666
666
  display: "grid",
@@ -684,7 +684,7 @@ const ft = ({
684
684
  },
685
685
  children: [
686
686
  /* @__PURE__ */ e(
687
- O,
687
+ $,
688
688
  {
689
689
  sx: {
690
690
  width: { xs: 184, md: 280 },
@@ -693,21 +693,21 @@ const ft = ({
693
693
  overflow: "hidden",
694
694
  borderRadius: 2
695
695
  },
696
- children: i ? /* @__PURE__ */ e(ce, {}) : p && /* @__PURE__ */ e(
696
+ children: i ? /* @__PURE__ */ e(ce, {}) : u && /* @__PURE__ */ e(
697
697
  te,
698
698
  {
699
- imageUrl: `https://olimpo.bet${(a = (o = p.background) != null ? o : p.imageUrl) != null ? a : ""}`,
699
+ imageUrl: `https://olimpo.bet${(a = (o = u.background) != null ? o : u.imageUrl) != null ? a : ""}`,
700
700
  size: "lg",
701
701
  fillParent: !0,
702
- onClick: () => r == null ? void 0 : r(p, 0)
702
+ onClick: () => r == null ? void 0 : r(u, 0)
703
703
  }
704
704
  )
705
705
  }
706
706
  ),
707
- (i ? Array.from({ length: 4 }) : m).map((g, b) => {
707
+ (i ? Array.from({ length: 4 }) : p).map((h, _) => {
708
708
  var k, s;
709
709
  return /* @__PURE__ */ e(
710
- O,
710
+ $,
711
711
  {
712
712
  sx: {
713
713
  width: { xs: 104, md: 152 },
@@ -718,14 +718,14 @@ const ft = ({
718
718
  children: i ? /* @__PURE__ */ e(ce, {}) : /* @__PURE__ */ e(
719
719
  te,
720
720
  {
721
- imageUrl: `https://olimpo.bet${(s = (k = g.background) != null ? k : g.imageUrl) != null ? s : ""}`,
721
+ imageUrl: `https://olimpo.bet${(s = (k = h.background) != null ? k : h.imageUrl) != null ? s : ""}`,
722
722
  size: "sm",
723
723
  fillParent: !0,
724
- onClick: () => r == null ? void 0 : r(g, b + 1)
724
+ onClick: () => r == null ? void 0 : r(h, _ + 1)
725
725
  }
726
726
  )
727
727
  },
728
- i ? `sk-${b}` : g.id
728
+ i ? `sk-${_}` : h.id
729
729
  );
730
730
  })
731
731
  ]
@@ -733,7 +733,7 @@ const ft = ({
733
733
  );
734
734
  }
735
735
  return /* @__PURE__ */ e(
736
- O,
736
+ $,
737
737
  {
738
738
  sx: {
739
739
  display: "grid",
@@ -748,43 +748,43 @@ const ft = ({
748
748
  gap: `${se}px`,
749
749
  gridAutoFlow: "column"
750
750
  },
751
- children: (i ? Array.from({ length: u }) : t).map((p, m) => {
752
- var g, b, k;
751
+ children: (i ? Array.from({ length: d }) : t).map((u, p) => {
752
+ var h, _, k;
753
753
  return /* @__PURE__ */ e(
754
- O,
754
+ $,
755
755
  {
756
756
  sx: { overflow: "hidden", borderRadius: 2 },
757
757
  children: i ? /* @__PURE__ */ e(ce, {}) : /* @__PURE__ */ e(
758
758
  te,
759
759
  {
760
- imageUrl: `https://olimpo.bet${(b = (g = p.background) != null ? g : p.imageUrl) != null ? b : ""}`,
760
+ imageUrl: `https://olimpo.bet${(_ = (h = u.background) != null ? h : u.imageUrl) != null ? _ : ""}`,
761
761
  size: "sm",
762
762
  fillParent: !0,
763
- onClick: () => r == null ? void 0 : r(p, m)
763
+ onClick: () => r == null ? void 0 : r(u, p)
764
764
  }
765
765
  )
766
766
  },
767
- i ? `sk-${m}` : (k = p.id) != null ? k : m
767
+ i ? `sk-${p}` : (k = u.id) != null ? k : p
768
768
  );
769
769
  })
770
770
  }
771
771
  );
772
- }, fe = ({
772
+ }, xe = ({
773
773
  title: t,
774
774
  amount: n,
775
775
  subtitle: r,
776
776
  buttonText: i,
777
- onButtonClick: u,
777
+ onButtonClick: d,
778
778
  backgroundImage: o,
779
779
  alt: a,
780
- className: p = "",
781
- variant: m = "small"
780
+ className: u = "",
781
+ variant: p = "small"
782
782
  }) => {
783
- const g = n ? n.slice(0, 2) : "", b = n ? n.slice(2) : "", k = m === "large";
783
+ const h = n ? n.slice(0, 2) : "", _ = n ? n.slice(2) : "", k = p === "large";
784
784
  return /* @__PURE__ */ l(
785
- O,
785
+ $,
786
786
  {
787
- className: p,
787
+ className: u,
788
788
  sx: {
789
789
  position: "relative",
790
790
  width: "100%",
@@ -796,7 +796,7 @@ const ft = ({
796
796
  },
797
797
  children: [
798
798
  o && /* @__PURE__ */ e(
799
- O,
799
+ $,
800
800
  {
801
801
  sx: {
802
802
  position: "relative",
@@ -809,7 +809,7 @@ const ft = ({
809
809
  overflow: "hidden"
810
810
  },
811
811
  children: /* @__PURE__ */ e(
812
- O,
812
+ $,
813
813
  {
814
814
  component: "img",
815
815
  src: o,
@@ -829,7 +829,7 @@ const ft = ({
829
829
  }
830
830
  ),
831
831
  /* @__PURE__ */ e(
832
- O,
832
+ $,
833
833
  {
834
834
  sx: {
835
835
  position: "absolute",
@@ -843,7 +843,7 @@ const ft = ({
843
843
  pr: { xs: "14%", lg: "15%" }
844
844
  },
845
845
  children: /* @__PURE__ */ l(
846
- O,
846
+ $,
847
847
  {
848
848
  sx: {
849
849
  maxWidth: "60%",
@@ -853,7 +853,7 @@ const ft = ({
853
853
  },
854
854
  children: [
855
855
  t && /* @__PURE__ */ e(
856
- D,
856
+ V,
857
857
  {
858
858
  sx: {
859
859
  fontSize: { xs: 12, md: 20 },
@@ -864,7 +864,7 @@ const ft = ({
864
864
  }
865
865
  ),
866
866
  n && /* @__PURE__ */ l(
867
- O,
867
+ $,
868
868
  {
869
869
  component: "p",
870
870
  sx: {
@@ -882,26 +882,26 @@ const ft = ({
882
882
  },
883
883
  children: [
884
884
  /* @__PURE__ */ e(
885
- O,
885
+ $,
886
886
  {
887
887
  component: "span",
888
888
  sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
889
- children: g
889
+ children: h
890
890
  }
891
891
  ),
892
892
  /* @__PURE__ */ e(
893
- O,
893
+ $,
894
894
  {
895
895
  component: "span",
896
896
  sx: { fontSize: { xs: 52, md: 77 } },
897
- children: b
897
+ children: _
898
898
  }
899
899
  )
900
900
  ]
901
901
  }
902
902
  ),
903
903
  r && /* @__PURE__ */ e(
904
- D,
904
+ V,
905
905
  {
906
906
  sx: {
907
907
  pb: "20px",
@@ -912,7 +912,7 @@ const ft = ({
912
912
  children: r
913
913
  }
914
914
  ),
915
- i && /* @__PURE__ */ e(F, { onClick: u, children: i })
915
+ i && /* @__PURE__ */ e(L, { onClick: d, children: i })
916
916
  ]
917
917
  }
918
918
  )
@@ -921,19 +921,19 @@ const ft = ({
921
921
  ]
922
922
  }
923
923
  );
924
- }, xt = ({
924
+ }, bt = ({
925
925
  text: t,
926
926
  buttonLabel: n = "Conoce más",
927
927
  onClick: r,
928
928
  imgAlt: i = "Club Olimpo",
929
- imgSrcMobile: u,
929
+ imgSrcMobile: d,
930
930
  imgSrcDesktopBg: o,
931
931
  imgSrcDesktopLogo: a
932
932
  }) => /* @__PURE__ */ l(Z, { children: [
933
933
  /* @__PURE__ */ e("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ e(
934
934
  "img",
935
935
  {
936
- src: u,
936
+ src: d,
937
937
  alt: i,
938
938
  className: "orc-co-bgMobileImg"
939
939
  }
@@ -957,62 +957,62 @@ const ft = ({
957
957
  }
958
958
  ),
959
959
  /* @__PURE__ */ e("p", { className: "orc-co-captionDesktop", children: t }),
960
- /* @__PURE__ */ e(F, { onClick: r, variant: "primary", size: "md", children: n })
960
+ /* @__PURE__ */ e(L, { onClick: r, variant: "primary", size: "md", children: n })
961
961
  ] })
962
962
  ] }),
963
963
  /* @__PURE__ */ l("div", { className: "orc-co-bottom", children: [
964
964
  /* @__PURE__ */ e("p", { className: "orc-co-caption", children: t }),
965
- /* @__PURE__ */ e(F, { onClick: r, variant: "primary", size: "md", children: n })
965
+ /* @__PURE__ */ e(L, { onClick: r, variant: "primary", size: "md", children: n })
966
966
  ] })
967
- ] }), bt = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", _t = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", vt = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", yt = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", wt = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", St = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Ct = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Et = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", H = {
968
- card: bt,
969
- combinadas: _t,
970
- apuestaItem: vt,
971
- lineContainer: yt,
972
- circle: wt,
973
- line: St,
974
- apuestaText: Ct,
975
- cuotaTotal: Et
967
+ ] }), _t = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", vt = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", yt = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", wt = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", St = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Ct = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Et = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", kt = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", K = {
968
+ card: _t,
969
+ combinadas: vt,
970
+ apuestaItem: yt,
971
+ lineContainer: wt,
972
+ circle: St,
973
+ line: Ct,
974
+ apuestaText: Et,
975
+ cuotaTotal: kt
976
976
  };
977
977
  function pe(t) {
978
978
  const n = Array.isArray(t) ? t : [t];
979
979
  sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = "/deportes#in-play";
980
980
  }
981
- function kt() {
981
+ function $t() {
982
982
  window.location.href = "/deportes#in-play";
983
983
  }
984
- function $t() {
984
+ function Ot() {
985
985
  window.location.href = "/deportes#sports-hub/football";
986
986
  }
987
- function Ot() {
987
+ function It() {
988
988
  window.location.href = "/deportes#specials";
989
989
  }
990
- function It({ event: t }) {
990
+ function Nt({ event: t }) {
991
991
  var i;
992
- function n(u) {
993
- var b;
994
- const o = (b = u.betoffers) != null ? b : [], a = u.homeName, p = u.awayName, m = o.map((k) => {
995
- var $, v, C, N, _;
996
- let s = k.outcomes[0], c = "", x = s != null && s.line ? s.line / 1e3 : "";
997
- return ["Más de", "Mas de", "Over"].includes(s == null ? void 0 : s.label) ? (c = `Más de ${x}`, s != null && s.participant && (c = `${s.participant} - ${c}`)) : ["Menos de", "Menos"].includes(s == null ? void 0 : s.label) ? (c = `Menos de ${x}`, s != null && s.participant && (c = `${s.participant} - ${c}`)) : ["Sí", "No"].includes(s == null ? void 0 : s.label) ? (c = s == null ? void 0 : s.label, s != null && s.participant && (c = `${s.participant} - ${c}`)) : ["1X", "12", "X2"].includes(s == null ? void 0 : s.label) ? s.label === "1X" ? c = `${a} o Empate` : s.label === "12" ? c = `${a} o ${p}` : s.label === "X2" && (c = `${p} o Empate`) : (s != null && s.participant ? c = s.participant : c = ($ = s == null ? void 0 : s.label) != null ? $ : "", x !== "" && c === s.label && (c = `${s.label} ${x}`)), {
998
- id: (v = s == null ? void 0 : s.id) != null ? v : 0,
992
+ function n(d) {
993
+ var _;
994
+ const o = (_ = d.betoffers) != null ? _ : [], a = d.homeName, u = d.awayName, p = o.map((k) => {
995
+ var O, x, C, N, f;
996
+ let s = k.outcomes[0], c = "", g = s != null && s.line ? s.line / 1e3 : "";
997
+ return ["Más de", "Mas de", "Over"].includes(s == null ? void 0 : s.label) ? (c = `Más de ${g}`, s != null && s.participant && (c = `${s.participant} - ${c}`)) : ["Menos de", "Menos"].includes(s == null ? void 0 : s.label) ? (c = `Menos de ${g}`, s != null && s.participant && (c = `${s.participant} - ${c}`)) : ["Sí", "No"].includes(s == null ? void 0 : s.label) ? (c = s == null ? void 0 : s.label, s != null && s.participant && (c = `${s.participant} - ${c}`)) : ["1X", "12", "X2"].includes(s == null ? void 0 : s.label) ? s.label === "1X" ? c = `${a} o Empate` : s.label === "12" ? c = `${a} o ${u}` : s.label === "X2" && (c = `${u} o Empate`) : (s != null && s.participant ? c = s.participant : c = (O = s == null ? void 0 : s.label) != null ? O : "", g !== "" && c === s.label && (c = `${s.label} ${g}`)), {
998
+ id: (x = s == null ? void 0 : s.id) != null ? x : 0,
999
999
  value: c,
1000
1000
  label: k.criterion.label,
1001
1001
  odds: (C = s == null ? void 0 : s.odds) != null ? C : 0,
1002
1002
  bl: (N = s == null ? void 0 : s.label) != null ? N : 0,
1003
- position: (_ = s == null ? void 0 : s.position) != null ? _ : 0
1003
+ position: (f = s == null ? void 0 : s.position) != null ? f : 0
1004
1004
  };
1005
- }), g = m.reduce((k, s) => k + s.odds, 0) / 1e3;
1005
+ }), h = p.reduce((k, s) => k + s.odds, 0) / 1e3;
1006
1006
  return {
1007
- outcomes: m,
1008
- total: g.toFixed(2)
1007
+ outcomes: p,
1008
+ total: h.toFixed(2)
1009
1009
  };
1010
1010
  }
1011
1011
  const r = n(t);
1012
- return /* @__PURE__ */ l("div", { className: H.card, children: [
1013
- /* @__PURE__ */ e("div", { className: H.combinadas, children: /* @__PURE__ */ l(R, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
1012
+ return /* @__PURE__ */ l("div", { className: K.card, children: [
1013
+ /* @__PURE__ */ e("div", { className: K.combinadas, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
1014
1014
  /* @__PURE__ */ e(
1015
- K,
1015
+ q,
1016
1016
  {
1017
1017
  title: t.name,
1018
1018
  iconUrl: "/assets/img/home/Combinadas/pelota.png",
@@ -1020,23 +1020,23 @@ function It({ event: t }) {
1020
1020
  }
1021
1021
  ),
1022
1022
  /* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/line.png" }),
1023
- /* @__PURE__ */ e(R, { direction: "column", spacing: 0.5, useFlexGap: !0, children: r.outcomes.sort((u, o) => u.position - o.position).map((u, o) => /* @__PURE__ */ l("div", { className: H.apuestaItem, children: [
1024
- /* @__PURE__ */ l("div", { className: H.lineContainer, children: [
1025
- /* @__PURE__ */ e("div", { className: H.circle }),
1026
- o < r.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: H.line })
1023
+ /* @__PURE__ */ e(M, { direction: "column", spacing: 0.5, useFlexGap: !0, children: r.outcomes.sort((d, o) => d.position - o.position).map((d, o) => /* @__PURE__ */ l("div", { className: K.apuestaItem, children: [
1024
+ /* @__PURE__ */ l("div", { className: K.lineContainer, children: [
1025
+ /* @__PURE__ */ e("div", { className: K.circle }),
1026
+ o < r.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: K.line })
1027
1027
  ] }),
1028
- /* @__PURE__ */ l("div", { className: H.apuestaText, children: [
1029
- /* @__PURE__ */ e("strong", { children: u.value }),
1028
+ /* @__PURE__ */ l("div", { className: K.apuestaText, children: [
1029
+ /* @__PURE__ */ e("strong", { children: d.value }),
1030
1030
  " ",
1031
1031
  "| ",
1032
- u.label
1032
+ d.label
1033
1033
  ] })
1034
1034
  ] }, o)) })
1035
1035
  ] }) }),
1036
1036
  /* @__PURE__ */ l("button", { onClick: () => {
1037
- var u, o;
1038
- return pe((o = (u = r == null ? void 0 : r.outcomes) == null ? void 0 : u.map((a) => a == null ? void 0 : a.id)) != null ? o : []);
1039
- }, className: H.cuotaTotal, children: [
1037
+ var d, o;
1038
+ return pe((o = (d = r == null ? void 0 : r.outcomes) == null ? void 0 : d.map((a) => a == null ? void 0 : a.id)) != null ? o : []);
1039
+ }, className: K.cuotaTotal, children: [
1040
1040
  /* @__PURE__ */ l("span", { children: [
1041
1041
  "Cuota total: ",
1042
1042
  /* @__PURE__ */ e("strong", { children: (((i = t.combinadoTotal) != null ? i : 0) / 1e3).toFixed(2) })
@@ -1045,7 +1045,7 @@ function It({ event: t }) {
1045
1045
  ] })
1046
1046
  ] });
1047
1047
  }
1048
- const U = {
1048
+ const D = {
1049
1049
  "orc-btn": "oraculo__OraculoButtonBet-module__orc-btn___jakza",
1050
1050
  "orc-btn__label": "oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH",
1051
1051
  "orc-btn__icon": "oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd",
@@ -1059,51 +1059,51 @@ const U = {
1059
1059
  "orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
1060
1060
  "orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
1061
1061
  };
1062
- function Nt({
1062
+ function Tt({
1063
1063
  children: t,
1064
1064
  onClick: n,
1065
1065
  href: r,
1066
1066
  target: i,
1067
- rel: u,
1067
+ rel: d,
1068
1068
  type: o = "button",
1069
1069
  disabled: a = !1,
1070
- variant: p = "primary",
1071
- size: m,
1072
- fullWidth: g = !1,
1073
- fullHeight: b = !1,
1070
+ variant: u = "primary",
1071
+ size: p,
1072
+ fullWidth: h = !1,
1073
+ fullHeight: _ = !1,
1074
1074
  className: k = "",
1075
1075
  ariaLabel: s,
1076
1076
  leftIcon: c,
1077
- rightIcon: x,
1078
- iconOnly: $
1077
+ rightIcon: g,
1078
+ iconOnly: O
1079
1079
  }) {
1080
- const v = !!t && t !== !0, _ = (!!c ? 1 : 0) + (!!x ? 1 : 0) == 1, S = $ != null ? $ : _ && !v, P = [
1081
- U["orc-btn"],
1080
+ const x = !!t && t !== !0, f = (!!c ? 1 : 0) + (!!g ? 1 : 0) == 1, E = O != null ? O : f && !x, P = [
1081
+ D["orc-btn"],
1082
1082
  // base
1083
- U[`orc-btn--${p}`],
1083
+ D[`orc-btn--${u}`],
1084
1084
  // variant primary/secondary/tertiary
1085
- m ? U[`orc-btn--${m}`] : "",
1085
+ p ? D[`orc-btn--${p}`] : "",
1086
1086
  // sm / md / lg
1087
- g ? U["orc-btn--full"] : "",
1088
- b ? U["orc-btn--fullHeight"] : "",
1089
- S ? U["orc-btn--iconOnly"] : "",
1087
+ h ? D["orc-btn--full"] : "",
1088
+ _ ? D["orc-btn--fullHeight"] : "",
1089
+ E ? D["orc-btn--iconOnly"] : "",
1090
1090
  k
1091
1091
  ].filter(Boolean).join(" "), T = /* @__PURE__ */ l(Z, { children: [
1092
- c && /* @__PURE__ */ e("span", { className: U["orc-btn__icon"], children: c }),
1093
- !S && /* @__PURE__ */ e("span", { className: U["orc-btn__label"], children: t }),
1094
- x && /* @__PURE__ */ e("span", { className: U["orc-btn__icon"], children: x })
1095
- ] }), E = a ? !0 : void 0;
1092
+ c && /* @__PURE__ */ e("span", { className: D["orc-btn__icon"], children: c }),
1093
+ !E && /* @__PURE__ */ e("span", { className: D["orc-btn__label"], children: t }),
1094
+ g && /* @__PURE__ */ e("span", { className: D["orc-btn__icon"], children: g })
1095
+ ] }), S = a ? !0 : void 0;
1096
1096
  return r ? /* @__PURE__ */ e(
1097
- we,
1097
+ Se,
1098
1098
  {
1099
1099
  href: r,
1100
1100
  target: i,
1101
- rel: u,
1101
+ rel: d,
1102
1102
  "aria-label": s,
1103
- "aria-disabled": E,
1104
- tabIndex: E ? -1 : void 0,
1103
+ "aria-disabled": S,
1104
+ tabIndex: S ? -1 : void 0,
1105
1105
  className: P,
1106
- onClick: E ? (d) => d.preventDefault() : n,
1106
+ onClick: S ? (B) => B.preventDefault() : n,
1107
1107
  children: T
1108
1108
  }
1109
1109
  ) : /* @__PURE__ */ e(
@@ -1111,36 +1111,36 @@ function Nt({
1111
1111
  {
1112
1112
  type: o,
1113
1113
  onClick: n,
1114
- disabled: !!E,
1114
+ disabled: !!S,
1115
1115
  "aria-label": s,
1116
1116
  className: P,
1117
1117
  children: T
1118
1118
  }
1119
1119
  );
1120
1120
  }
1121
- const Tt = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Pe = {
1122
- cardWrapper: Tt
1121
+ const Pt = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Be = {
1122
+ cardWrapper: Pt
1123
1123
  };
1124
- function Pt({ event: t, liveData: n, betOffers: r }) {
1125
- var u, o, a, p, m, g, b, k;
1124
+ function Bt({ event: t, liveData: n, betOffers: r }) {
1125
+ var d, o, a, u, p, h, _, k;
1126
1126
  const i = r == null ? void 0 : r.find(
1127
1127
  (s) => {
1128
1128
  var c;
1129
1129
  return ((c = s.betOfferType) == null ? void 0 : c.id) === 2;
1130
1130
  }
1131
1131
  );
1132
- return /* @__PURE__ */ e("div", { className: Pe.cardWrapper, children: /* @__PURE__ */ l(R, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1133
- /* @__PURE__ */ l(R, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1132
+ return /* @__PURE__ */ e("div", { className: Be.cardWrapper, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1133
+ /* @__PURE__ */ l(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1134
1134
  /* @__PURE__ */ e(
1135
- Ye,
1135
+ Ze,
1136
1136
  {
1137
- title: (u = t.path[0].name) != null ? u : "",
1137
+ title: (d = t.path[0].name) != null ? d : "",
1138
1138
  subtitle: t.group,
1139
1139
  live: !0,
1140
1140
  time: ((o = n == null ? void 0 : n.matchClock) == null ? void 0 : o.minute) != null ? `${n.matchClock.minute}'` : ""
1141
1141
  }
1142
1142
  ),
1143
- /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ l(V, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1143
+ /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ l(H, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1144
1144
  /* @__PURE__ */ e(
1145
1145
  ne,
1146
1146
  {
@@ -1148,84 +1148,84 @@ function Pt({ event: t, liveData: n, betOffers: r }) {
1148
1148
  logo: "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/Juventus.png"
1149
1149
  }
1150
1150
  ),
1151
- /* @__PURE__ */ e(Ne, { text: ((p = (a = n == null ? void 0 : n.score) == null ? void 0 : a.home) != null ? p : 0) + ":" + ((g = (m = n == null ? void 0 : n.score) == null ? void 0 : m.away) != null ? g : 0), name: "En vivo" }),
1151
+ /* @__PURE__ */ e(Te, { text: ((u = (a = n == null ? void 0 : n.score) == null ? void 0 : a.home) != null ? u : 0) + ":" + ((h = (p = n == null ? void 0 : n.score) == null ? void 0 : p.away) != null ? h : 0), name: "En vivo" }),
1152
1152
  /* @__PURE__ */ e(ne, { name: t.awayName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/Racing.png" })
1153
1153
  ] }) })
1154
1154
  ] }),
1155
- /* @__PURE__ */ l(R, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1156
- /* @__PURE__ */ e(V, { spacing: 1, children: ((b = i == null ? void 0 : i.outcomes) != null ? b : []).map((s, c) => /* @__PURE__ */ e(Oe, { text: s.label.toUpperCase() }, c)) }),
1157
- /* @__PURE__ */ e(V, { spacing: 2, children: ((k = i == null ? void 0 : i.outcomes) != null ? k : []).map((s, c) => /* @__PURE__ */ e(Nt, { variant: "primary", disabled: s.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1155
+ /* @__PURE__ */ l(M, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1156
+ /* @__PURE__ */ e(H, { spacing: 1, children: ((_ = i == null ? void 0 : i.outcomes) != null ? _ : []).map((s, c) => /* @__PURE__ */ e(Ie, { text: s.label.toUpperCase() }, c)) }),
1157
+ /* @__PURE__ */ e(H, { spacing: 2, children: ((k = i == null ? void 0 : i.outcomes) != null ? k : []).map((s, c) => /* @__PURE__ */ e(Tt, { variant: "primary", disabled: s.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1158
1158
  pe(s.id);
1159
1159
  }, children: s.odds === void 0 ? "" : (s.odds / 1e3).toFixed(2) }, c)) })
1160
1160
  ] })
1161
1161
  ] }) });
1162
1162
  }
1163
- const Bt = "oraculo__OraculoEventDate-module__date___xhIlh", Rt = {
1164
- date: Bt
1163
+ const Rt = "oraculo__OraculoEventDate-module__date___xhIlh", Mt = {
1164
+ date: Rt
1165
1165
  };
1166
- function Mt({ text: t }) {
1167
- return /* @__PURE__ */ e("div", { className: `oli-font ${Rt.date}`, children: t });
1166
+ function Ft({ text: t }) {
1167
+ return /* @__PURE__ */ e("div", { className: `oli-font ${Mt.date}`, children: t });
1168
1168
  }
1169
- const Ft = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Lt = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Wt = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", jt = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", J = {
1170
- cardContainer: Ft,
1171
- cardBackground: Lt,
1172
- jugadas: Wt,
1173
- equipos: jt
1169
+ const Lt = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Wt = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", jt = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", zt = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", X = {
1170
+ cardContainer: Lt,
1171
+ cardBackground: Wt,
1172
+ jugadas: jt,
1173
+ equipos: zt
1174
1174
  };
1175
- function zt({ event: t }) {
1176
- var r, i, u, o, a, p, m;
1177
- function n(g) {
1178
- const b = new Date(g), k = b.toLocaleDateString("es-ES", {
1175
+ function At({ event: t }) {
1176
+ var r, i, d, o, a, u, p;
1177
+ function n(h) {
1178
+ const _ = new Date(h), k = _.toLocaleDateString("es-ES", {
1179
1179
  weekday: "short"
1180
- }).toUpperCase(), s = b.getDate().toString().padStart(2, "0"), c = (b.getMonth() + 1).toString().padStart(2, "0");
1181
- let x = b.toLocaleTimeString("es-PE", {
1180
+ }).toUpperCase(), s = _.getDate().toString().padStart(2, "0"), c = (_.getMonth() + 1).toString().padStart(2, "0");
1181
+ let g = _.toLocaleTimeString("es-PE", {
1182
1182
  hour: "numeric",
1183
1183
  minute: "2-digit",
1184
1184
  hour12: !0
1185
1185
  }).toUpperCase();
1186
- return x = x.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${k} ${s}/${c} | ${x}`;
1186
+ return g = g.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${k} ${s}/${c} | ${g}`;
1187
1187
  }
1188
- return /* @__PURE__ */ l("div", { className: J.cardContainer, children: [
1189
- /* @__PURE__ */ e(Ie, { title: (r = t == null ? void 0 : t.group) != null ? r : "" }),
1190
- /* @__PURE__ */ e("div", { className: J.cardBackground, children: /* @__PURE__ */ l(R, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1191
- /* @__PURE__ */ l(R, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1192
- /* @__PURE__ */ l("div", { className: J.equipos, children: [
1188
+ return /* @__PURE__ */ l("div", { className: X.cardContainer, children: [
1189
+ /* @__PURE__ */ e(Ne, { title: (r = t == null ? void 0 : t.group) != null ? r : "" }),
1190
+ /* @__PURE__ */ e("div", { className: X.cardBackground, children: /* @__PURE__ */ l(M, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1191
+ /* @__PURE__ */ l(M, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1192
+ /* @__PURE__ */ l("div", { className: X.equipos, children: [
1193
1193
  /* @__PURE__ */ e(ne, { name: t.awayName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoSemana/Flamengo.png", size: "compact" }),
1194
- /* @__PURE__ */ e(Ne, { text: "vs.", name: "", size: "small" }),
1194
+ /* @__PURE__ */ e(Te, { text: "vs.", name: "", size: "small" }),
1195
1195
  /* @__PURE__ */ e(ne, { name: t.homeName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoSemana/RealMadrid.png", size: "compact" })
1196
1196
  ] }),
1197
- /* @__PURE__ */ e(Mt, { text: n(t.start) })
1197
+ /* @__PURE__ */ e(Ft, { text: n(t.start) })
1198
1198
  ] }),
1199
- /* @__PURE__ */ l(R, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1200
- /* @__PURE__ */ e(V, { spacing: 1, children: ((o = (u = (i = t == null ? void 0 : t.outcome) == null ? void 0 : i[0]) == null ? void 0 : u.outcomes) != null ? o : []).map((g, b) => /* @__PURE__ */ e(Oe, { text: g.label.toUpperCase() }, b)) }),
1201
- /* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */ e(V, { spacing: 1, children: ((m = (p = (a = t == null ? void 0 : t.outcome) == null ? void 0 : a[0]) == null ? void 0 : p.outcomes) != null ? m : []).map((g, b) => /* @__PURE__ */ e(F, { variant: "primary", fullHeight: !0, onClick: () => {
1202
- pe(g.id);
1203
- }, children: (g.odds / 1e3).toFixed(2) }, b)) }) })
1199
+ /* @__PURE__ */ l(M, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1200
+ /* @__PURE__ */ e(H, { spacing: 1, children: ((o = (d = (i = t == null ? void 0 : t.outcome) == null ? void 0 : i[0]) == null ? void 0 : d.outcomes) != null ? o : []).map((h, _) => /* @__PURE__ */ e(Ie, { text: h.label.toUpperCase() }, _)) }),
1201
+ /* @__PURE__ */ e("div", { className: X.jugadas, children: /* @__PURE__ */ e(H, { spacing: 1, children: ((p = (u = (a = t == null ? void 0 : t.outcome) == null ? void 0 : a[0]) == null ? void 0 : u.outcomes) != null ? p : []).map((h, _) => /* @__PURE__ */ e(L, { variant: "primary", fullHeight: !0, onClick: () => {
1202
+ pe(h.id);
1203
+ }, children: (h.odds / 1e3).toFixed(2) }, _)) }) })
1204
1204
  ] })
1205
1205
  ] }) })
1206
1206
  ] });
1207
1207
  }
1208
- function At({
1208
+ function Gt({
1209
1209
  items: t,
1210
1210
  title: n = "Destacados",
1211
1211
  iconUrl: r,
1212
1212
  onViewMore: i,
1213
- className: u = ""
1213
+ className: d = ""
1214
1214
  }) {
1215
- const o = G(null), [a, p] = z({ isStart: !0, isEnd: !1 }), m = () => {
1215
+ const o = U(null), [a, u] = A({ isStart: !0, isEnd: !1 }), p = () => {
1216
1216
  var c;
1217
1217
  (c = o.current) == null || c.prev();
1218
- }, g = () => {
1218
+ }, h = () => {
1219
1219
  var c;
1220
1220
  (c = o.current) == null || c.next(), console.log("items: ", t);
1221
- }, b = () => {
1221
+ }, _ = () => {
1222
1222
  window.location.href = "https://www.olimpo.bet/promociones";
1223
1223
  }, k = (c) => {
1224
1224
  if (!c || typeof window == "undefined") return;
1225
- const $ = `https://www.olimpo.bet/promociones/${encodeURIComponent(c)}`;
1226
- window.location.href = $;
1225
+ const O = `https://www.olimpo.bet/promociones/${encodeURIComponent(c)}`;
1226
+ window.location.href = O;
1227
1227
  };
1228
- return /* @__PURE__ */ l("section", { className: u || void 0, style: { width: "100%" }, children: [
1228
+ return /* @__PURE__ */ l("section", { className: d || void 0, style: { width: "100%" }, children: [
1229
1229
  /* @__PURE__ */ l(
1230
1230
  "header",
1231
1231
  {
@@ -1238,37 +1238,37 @@ function At({
1238
1238
  marginBottom: 16
1239
1239
  },
1240
1240
  children: [
1241
- /* @__PURE__ */ e(K, { title: n, iconUrl: r, size: "md" }),
1241
+ /* @__PURE__ */ e(q, { title: n, iconUrl: r, size: "md" }),
1242
1242
  /* @__PURE__ */ l("div", { style: { display: "flex", gap: 8 }, children: [
1243
1243
  /* @__PURE__ */ e(
1244
- F,
1244
+ L,
1245
1245
  {
1246
1246
  ariaLabel: "Anterior",
1247
1247
  variant: "secondary",
1248
1248
  iconOnly: !0,
1249
1249
  leftIcon: /* @__PURE__ */ e(de, {}),
1250
- onClick: m,
1250
+ onClick: p,
1251
1251
  disabled: a.isStart
1252
1252
  }
1253
1253
  ),
1254
1254
  /* @__PURE__ */ e(
1255
- F,
1255
+ L,
1256
1256
  {
1257
1257
  ariaLabel: "Siguiente",
1258
1258
  variant: "secondary",
1259
1259
  iconOnly: !0,
1260
1260
  rightIcon: /* @__PURE__ */ e(ue, {}),
1261
- onClick: g,
1261
+ onClick: h,
1262
1262
  disabled: a.isEnd
1263
1263
  }
1264
1264
  )
1265
1265
  ] }),
1266
- /* @__PURE__ */ e(F, { variant: "secondary", onClick: b, children: "Ver más" })
1266
+ /* @__PURE__ */ e(L, { variant: "secondary", onClick: _, children: "Ver más" })
1267
1267
  ]
1268
1268
  }
1269
1269
  ),
1270
1270
  /* @__PURE__ */ e(
1271
- q,
1271
+ J,
1272
1272
  {
1273
1273
  ref: o,
1274
1274
  items: t,
@@ -1313,7 +1313,7 @@ function At({
1313
1313
  },
1314
1314
  `${c.title}-${c.image}`
1315
1315
  ),
1316
- onMove: ({ isStart: c, isEnd: x }) => p({ isStart: c, isEnd: x })
1316
+ onMove: ({ isStart: c, isEnd: g }) => u({ isStart: c, isEnd: g })
1317
1317
  }
1318
1318
  )
1319
1319
  ] });
@@ -1322,36 +1322,36 @@ function ae(t, {
1322
1322
  basePath: n = "/casino",
1323
1323
  src: r,
1324
1324
  demo: i = !1,
1325
- host: u = "https://www.olimpo.bet"
1325
+ host: d = "https://www.olimpo.bet"
1326
1326
  } = {}) {
1327
1327
  if (typeof window == "undefined") return;
1328
1328
  const o = t == null ? void 0 : t.machine;
1329
1329
  if (!o) return;
1330
1330
  const a = new URLSearchParams();
1331
- a.set("machine", String(o)), i && a.set("demo", "1"), window.location.href = `${u}${n}?${a.toString()}`;
1331
+ a.set("machine", String(o)), i && a.set("demo", "1"), window.location.href = `${d}${n}?${a.toString()}`;
1332
1332
  }
1333
- function Gt({
1333
+ function Ut({
1334
1334
  items: t,
1335
1335
  title: n = "Top Juegos",
1336
1336
  iconUrl: r,
1337
1337
  onCardClick: i
1338
1338
  }) {
1339
- const u = oe(
1340
- () => (t != null ? t : []).map((p, m) => {
1341
- var g;
1339
+ const d = oe(
1340
+ () => (t != null ? t : []).map((u, p) => {
1341
+ var h;
1342
1342
  return {
1343
- ...p,
1343
+ ...u,
1344
1344
  // si no viene orden, usamos el índice (1-based)
1345
- orden: (g = p.orden) != null ? g : m + 1,
1346
- _originalIndex: m
1345
+ orden: (h = u.orden) != null ? h : p + 1,
1346
+ _originalIndex: p
1347
1347
  };
1348
- }).sort((p, m) => p.orden != null && m.orden != null ? p.orden - m.orden : p._originalIndex - m._originalIndex),
1348
+ }).sort((u, p) => u.orden != null && p.orden != null ? u.orden - p.orden : u._originalIndex - p._originalIndex),
1349
1349
  [t]
1350
- ), o = !t || t.length === 0, a = o ? Array.from({ length: 6 }) : u.slice(0, 6);
1351
- return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ l(R, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1352
- /* @__PURE__ */ e(K, { title: n, iconUrl: r, size: "md" }),
1350
+ ), o = !t || t.length === 0, a = o ? Array.from({ length: 6 }) : d.slice(0, 6);
1351
+ return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1352
+ /* @__PURE__ */ e(q, { title: n, iconUrl: r, size: "md" }),
1353
1353
  /* @__PURE__ */ e(
1354
- O,
1354
+ $,
1355
1355
  {
1356
1356
  sx: {
1357
1357
  display: "grid",
@@ -1363,41 +1363,41 @@ function Gt({
1363
1363
  justifyItems: "center",
1364
1364
  width: "100%"
1365
1365
  },
1366
- children: a.map((p, m) => {
1367
- var g, b;
1366
+ children: a.map((u, p) => {
1367
+ var h, _;
1368
1368
  return /* @__PURE__ */ e(
1369
- gt,
1369
+ ft,
1370
1370
  {
1371
- imageUrl: o ? "" : `https://olimpo.bet${(g = p.logo) != null ? g : ""}`,
1372
- orden: o ? m + 1 : p.orden,
1371
+ imageUrl: o ? "" : `https://olimpo.bet${(h = u.logo) != null ? h : ""}`,
1372
+ orden: o ? p + 1 : u.orden,
1373
1373
  loading: o,
1374
1374
  onClick: o ? void 0 : () => {
1375
- i ? i(p) : ae(p, { basePath: "/casino" });
1375
+ i ? i(u) : ae(u, { basePath: "/casino" });
1376
1376
  }
1377
1377
  },
1378
- o ? `sk-${m}` : (b = p.machine) != null ? b : `${m}`
1378
+ o ? `sk-${p}` : (_ = u.machine) != null ? _ : `${p}`
1379
1379
  );
1380
1380
  })
1381
1381
  }
1382
1382
  )
1383
1383
  ] }) });
1384
1384
  }
1385
- const Ut = (t, n) => {
1385
+ const Dt = (t, n) => {
1386
1386
  var r, i;
1387
1387
  return (i = (r = t.orden) != null ? r : t.machine) != null ? i : n;
1388
- }, Dt = ({
1388
+ }, Vt = ({
1389
1389
  items: t,
1390
1390
  title: n = "Casino en vivo",
1391
1391
  subtitle: r = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
1392
1392
  backgroundMobileUrl: i = "",
1393
- backgroundDesktopUrl: u = "",
1393
+ backgroundDesktopUrl: d = "",
1394
1394
  onCardClick: o,
1395
1395
  onViewMore: a,
1396
- className: p
1396
+ className: u
1397
1397
  }) => (console.log("items: ", t), /* @__PURE__ */ l(
1398
- O,
1398
+ $,
1399
1399
  {
1400
- className: p,
1400
+ className: u,
1401
1401
  sx: {
1402
1402
  position: "relative",
1403
1403
  // width: "100vw",
@@ -1409,7 +1409,7 @@ const Ut = (t, n) => {
1409
1409
  },
1410
1410
  children: [
1411
1411
  /* @__PURE__ */ e(
1412
- O,
1412
+ $,
1413
1413
  {
1414
1414
  sx: {
1415
1415
  position: "absolute",
@@ -1423,7 +1423,7 @@ const Ut = (t, n) => {
1423
1423
  md: `
1424
1424
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
1425
1425
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
1426
- url('${u}')
1426
+ url('${d}')
1427
1427
  `
1428
1428
  },
1429
1429
  backgroundSize: "cover",
@@ -1434,7 +1434,7 @@ const Ut = (t, n) => {
1434
1434
  }
1435
1435
  ),
1436
1436
  /* @__PURE__ */ l(
1437
- O,
1437
+ $,
1438
1438
  {
1439
1439
  sx: {
1440
1440
  position: "relative",
@@ -1451,9 +1451,9 @@ const Ut = (t, n) => {
1451
1451
  textAlign: { xs: "center", md: "left" }
1452
1452
  },
1453
1453
  children: [
1454
- /* @__PURE__ */ l(R, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1454
+ /* @__PURE__ */ l(M, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1455
1455
  /* @__PURE__ */ e(
1456
- D,
1456
+ V,
1457
1457
  {
1458
1458
  variant: "h4",
1459
1459
  sx: {
@@ -1466,7 +1466,7 @@ const Ut = (t, n) => {
1466
1466
  }
1467
1467
  ),
1468
1468
  /* @__PURE__ */ e(
1469
- D,
1469
+ V,
1470
1470
  {
1471
1471
  sx: {
1472
1472
  fontSize: { xs: 14, md: 18 },
@@ -1477,8 +1477,8 @@ const Ut = (t, n) => {
1477
1477
  children: r
1478
1478
  }
1479
1479
  ),
1480
- /* @__PURE__ */ e(O, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
1481
- F,
1480
+ /* @__PURE__ */ e($, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
1481
+ L,
1482
1482
  {
1483
1483
  variant: "primary",
1484
1484
  size: "md",
@@ -1488,7 +1488,7 @@ const Ut = (t, n) => {
1488
1488
  ) })
1489
1489
  ] }),
1490
1490
  /* @__PURE__ */ e(
1491
- O,
1491
+ $,
1492
1492
  {
1493
1493
  sx: {
1494
1494
  display: "flex",
@@ -1498,26 +1498,26 @@ const Ut = (t, n) => {
1498
1498
  py: { xs: 3, md: 0 },
1499
1499
  alignItems: "center"
1500
1500
  },
1501
- children: (t != null ? t : []).slice(0, 3).map((m, g) => {
1502
- var b;
1501
+ children: (t != null ? t : []).slice(0, 3).map((p, h) => {
1502
+ var _;
1503
1503
  return /* @__PURE__ */ e(
1504
- ft,
1504
+ xt,
1505
1505
  {
1506
- logo: `https://olimpo.bet${(b = m.logo) != null ? b : ""}`,
1507
- provider: m.provider,
1508
- providerName: m.web_name,
1509
- machine: m.machine,
1506
+ logo: `https://olimpo.bet${(_ = p.logo) != null ? _ : ""}`,
1507
+ provider: p.provider,
1508
+ providerName: p.web_name,
1509
+ machine: p.machine,
1510
1510
  onClick: () => {
1511
- ae(m, { basePath: "/casino-en-vivo" });
1511
+ ae(p, { basePath: "/casino-en-vivo" });
1512
1512
  }
1513
1513
  },
1514
- Ut(m, g)
1514
+ Dt(p, h)
1515
1515
  );
1516
1516
  })
1517
1517
  }
1518
1518
  ),
1519
- /* @__PURE__ */ e(O, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ e(
1520
- F,
1519
+ /* @__PURE__ */ e($, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ e(
1520
+ L,
1521
1521
  {
1522
1522
  variant: "primary",
1523
1523
  size: "lg",
@@ -1530,25 +1530,25 @@ const Ut = (t, n) => {
1530
1530
  )
1531
1531
  ]
1532
1532
  }
1533
- )), Be = (t, n) => {
1533
+ )), Re = (t, n) => {
1534
1534
  var r, i;
1535
1535
  return (i = (r = t.orden) != null ? r : t.machine) != null ? i : n;
1536
- }, Vt = (t, n = !0, r = 4) => {
1537
- const i = t.map((a, p) => {
1538
- var m;
1536
+ }, Ht = (t, n = !0, r = 4) => {
1537
+ const i = t.map((a, u) => {
1538
+ var p;
1539
1539
  return {
1540
- id: Be(a, p),
1541
- imageUrl: (m = a.logo) != null ? m : "",
1540
+ id: Re(a, u),
1541
+ imageUrl: (p = a.logo) != null ? p : "",
1542
1542
  ...a.background ? { background: a.background } : {}
1543
1543
  // background: g.background,
1544
1544
  };
1545
1545
  });
1546
1546
  if (!i.length) return [];
1547
- const u = [];
1547
+ const d = [];
1548
1548
  let o = 0;
1549
1549
  if (n) {
1550
1550
  const a = Math.min(i.length, 5);
1551
- u.push({
1551
+ d.push({
1552
1552
  id: "mosaic-0",
1553
1553
  kind: "mosaic",
1554
1554
  items: i.slice(0, a)
@@ -1556,37 +1556,37 @@ const Ut = (t, n) => {
1556
1556
  }
1557
1557
  for (; o < i.length; ) {
1558
1558
  const a = Math.min(o + r, i.length);
1559
- u.push({
1559
+ d.push({
1560
1560
  id: `grid-${o}`,
1561
1561
  kind: "grid",
1562
1562
  items: i.slice(o, a)
1563
1563
  }), o = a;
1564
1564
  }
1565
- return u;
1566
- }, Ht = ({
1565
+ return d;
1566
+ }, Kt = ({
1567
1567
  items: t,
1568
1568
  title: n = "Casino",
1569
1569
  iconUrl: r = "/assets/img/home/Casino/diamante.svg",
1570
1570
  onItemClick: i,
1571
- onViewMore: u,
1571
+ onViewMore: d,
1572
1572
  mosaicFirst: o = !0,
1573
1573
  gridSize: a = 4
1574
1574
  }) => {
1575
- const p = G(null), [m, g] = z({ isStart: !0, isEnd: !1 }), b = () => {
1576
- var v;
1577
- (v = p.current) == null || v.prev();
1575
+ const u = U(null), [p, h] = A({ isStart: !0, isEnd: !1 }), _ = () => {
1576
+ var x;
1577
+ (x = u.current) == null || x.prev();
1578
1578
  }, k = () => {
1579
- var v;
1580
- (v = p.current) == null || v.next();
1579
+ var x;
1580
+ (x = u.current) == null || x.next();
1581
1581
  }, s = () => {
1582
1582
  window.location.href = "https://www.olimpo.bet/casino";
1583
- }, c = (v = !0, C = 4) => {
1584
- const N = (S) => Array.from({ length: S }, (P, T) => ({ id: `sk-${S}-${T}`, imageUrl: "" })), _ = [];
1585
- return v && _.push({ id: "mosaic-loading", kind: "mosaic", items: N(5) }), _.push({ id: "grid-loading", kind: "grid", items: N(C) }), _;
1586
- }, x = !t || t.length === 0, $ = x ? c(o, a) : Vt(t, o, a);
1587
- return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ l(R, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1583
+ }, c = (x = !0, C = 4) => {
1584
+ const N = (E) => Array.from({ length: E }, (P, T) => ({ id: `sk-${E}-${T}`, imageUrl: "" })), f = [];
1585
+ return x && f.push({ id: "mosaic-loading", kind: "mosaic", items: N(5) }), f.push({ id: "grid-loading", kind: "grid", items: N(C) }), f;
1586
+ }, g = !t || t.length === 0, O = g ? c(o, a) : Ht(t, o, a);
1587
+ return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ l(M, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1588
1588
  /* @__PURE__ */ l(
1589
- O,
1589
+ $,
1590
1590
  {
1591
1591
  sx: {
1592
1592
  display: "grid",
@@ -1597,7 +1597,7 @@ const Ut = (t, n) => {
1597
1597
  },
1598
1598
  children: [
1599
1599
  /* @__PURE__ */ e(
1600
- K,
1600
+ q,
1601
1601
  {
1602
1602
  title: n,
1603
1603
  iconUrl: r,
@@ -1605,7 +1605,7 @@ const Ut = (t, n) => {
1605
1605
  }
1606
1606
  ),
1607
1607
  /* @__PURE__ */ l(
1608
- O,
1608
+ $,
1609
1609
  {
1610
1610
  sx: {
1611
1611
  display: "flex",
@@ -1614,39 +1614,39 @@ const Ut = (t, n) => {
1614
1614
  },
1615
1615
  children: [
1616
1616
  /* @__PURE__ */ e(
1617
- F,
1617
+ L,
1618
1618
  {
1619
1619
  ariaLabel: "Anterior",
1620
1620
  variant: "secondary",
1621
1621
  iconOnly: !0,
1622
- leftIcon: /* @__PURE__ */ e(Ee, {}),
1623
- onClick: b,
1624
- disabled: m.isStart
1622
+ leftIcon: /* @__PURE__ */ e(ke, {}),
1623
+ onClick: _,
1624
+ disabled: p.isStart
1625
1625
  }
1626
1626
  ),
1627
1627
  /* @__PURE__ */ e(
1628
- F,
1628
+ L,
1629
1629
  {
1630
1630
  ariaLabel: "Siguiente",
1631
1631
  variant: "secondary",
1632
1632
  iconOnly: !0,
1633
- rightIcon: /* @__PURE__ */ e(ke, {}),
1633
+ rightIcon: /* @__PURE__ */ e($e, {}),
1634
1634
  onClick: k,
1635
- disabled: m.isEnd
1635
+ disabled: p.isEnd
1636
1636
  }
1637
1637
  )
1638
1638
  ]
1639
1639
  }
1640
1640
  ),
1641
- /* @__PURE__ */ e(O, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(F, { variant: "secondary", onClick: s, children: "Ver más" }) })
1641
+ /* @__PURE__ */ e($, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(L, { variant: "secondary", onClick: s, children: "Ver más" }) })
1642
1642
  ]
1643
1643
  }
1644
1644
  ),
1645
1645
  /* @__PURE__ */ e(
1646
- q,
1646
+ J,
1647
1647
  {
1648
- ref: p,
1649
- items: $,
1648
+ ref: u,
1649
+ items: O,
1650
1650
  perPage: 1,
1651
1651
  gap: "0px",
1652
1652
  options: {
@@ -1658,43 +1658,43 @@ const Ut = (t, n) => {
1658
1658
  drag: !0,
1659
1659
  focus: "start"
1660
1660
  },
1661
- renderItem: (v) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
1662
- Te,
1661
+ renderItem: (x) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
1662
+ Pe,
1663
1663
  {
1664
- items: v.items,
1665
- layout: v.kind === "mosaic" ? "mosaic" : "grid",
1666
- loading: x,
1664
+ items: x.items,
1665
+ layout: x.kind === "mosaic" ? "mosaic" : "grid",
1666
+ loading: g,
1667
1667
  onClick: (C) => {
1668
1668
  const N = t.find(
1669
- (_, S) => Be(_, S) === C.id
1669
+ (f, E) => Re(f, E) === C.id
1670
1670
  );
1671
- x || N && ae(N, { basePath: "/casino" });
1671
+ g || N && ae(N, { basePath: "/casino" });
1672
1672
  }
1673
1673
  }
1674
1674
  ) }),
1675
- onMove: ({ isStart: v, isEnd: C }) => g({ isStart: v, isEnd: C })
1675
+ onMove: ({ isStart: x, isEnd: C }) => h({ isStart: x, isEnd: C })
1676
1676
  }
1677
1677
  )
1678
1678
  ] }) });
1679
- }, Re = (t, n) => {
1679
+ }, Me = (t, n) => {
1680
1680
  var r, i;
1681
1681
  return (i = (r = t.orden) != null ? r : t.machine) != null ? i : n;
1682
- }, Kt = (t, n = !0, r = 4) => {
1683
- const i = t.map((a, p) => {
1684
- var m;
1682
+ }, qt = (t, n = !0, r = 4) => {
1683
+ const i = t.map((a, u) => {
1684
+ var p;
1685
1685
  return {
1686
- id: Re(a, p),
1687
- imageUrl: (m = a.logo) != null ? m : "",
1686
+ id: Me(a, u),
1687
+ imageUrl: (p = a.logo) != null ? p : "",
1688
1688
  ...a.background ? { background: a.background } : {}
1689
1689
  // background: g.background,
1690
1690
  };
1691
1691
  });
1692
1692
  if (!i.length) return [];
1693
- const u = [];
1693
+ const d = [];
1694
1694
  let o = 0;
1695
1695
  if (n) {
1696
1696
  const a = Math.min(i.length, 5);
1697
- u.push({
1697
+ d.push({
1698
1698
  id: "mosaic-0",
1699
1699
  kind: "mosaic",
1700
1700
  items: i.slice(0, a)
@@ -1702,37 +1702,37 @@ const Ut = (t, n) => {
1702
1702
  }
1703
1703
  for (; o < i.length; ) {
1704
1704
  const a = Math.min(o + r, i.length);
1705
- u.push({
1705
+ d.push({
1706
1706
  id: `grid-${o}`,
1707
1707
  kind: "grid",
1708
1708
  items: i.slice(o, a)
1709
1709
  }), o = a;
1710
1710
  }
1711
- return u;
1712
- }, qt = ({
1711
+ return d;
1712
+ }, Jt = ({
1713
1713
  items: t,
1714
1714
  title: n = "Virtuales",
1715
1715
  iconUrl: r = "/assets/img/home/Virtuales/virtuales.svg",
1716
1716
  onItemClick: i,
1717
- onViewMore: u,
1717
+ onViewMore: d,
1718
1718
  mosaicFirst: o = !0,
1719
1719
  gridSize: a = 4
1720
1720
  }) => {
1721
- const p = G(null), [m, g] = z({ isStart: !0, isEnd: !1 }), b = () => {
1722
- var v;
1723
- (v = p.current) == null || v.prev();
1721
+ const u = U(null), [p, h] = A({ isStart: !0, isEnd: !1 }), _ = () => {
1722
+ var x;
1723
+ (x = u.current) == null || x.prev();
1724
1724
  }, k = () => {
1725
- var v;
1726
- (v = p.current) == null || v.next();
1725
+ var x;
1726
+ (x = u.current) == null || x.next();
1727
1727
  }, s = () => {
1728
1728
  window.location.href = "https://www.olimpo.bet/juegos-virtuales";
1729
- }, c = (v = !0, C = 4) => {
1730
- const N = (S) => Array.from({ length: S }, (P, T) => ({ id: `sk-${S}-${T}`, imageUrl: "" })), _ = [];
1731
- return v && _.push({ id: "mosaic-loading", kind: "mosaic", items: N(5) }), _.push({ id: "grid-loading", kind: "grid", items: N(C) }), _;
1732
- }, x = !t || t.length === 0, $ = x ? c(o, a) : Kt(t, o, a);
1733
- return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ l(R, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1729
+ }, c = (x = !0, C = 4) => {
1730
+ const N = (E) => Array.from({ length: E }, (P, T) => ({ id: `sk-${E}-${T}`, imageUrl: "" })), f = [];
1731
+ return x && f.push({ id: "mosaic-loading", kind: "mosaic", items: N(5) }), f.push({ id: "grid-loading", kind: "grid", items: N(C) }), f;
1732
+ }, g = !t || t.length === 0, O = g ? c(o, a) : qt(t, o, a);
1733
+ return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ l(M, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1734
1734
  /* @__PURE__ */ l(
1735
- O,
1735
+ $,
1736
1736
  {
1737
1737
  sx: {
1738
1738
  display: "grid",
@@ -1743,7 +1743,7 @@ const Ut = (t, n) => {
1743
1743
  },
1744
1744
  children: [
1745
1745
  /* @__PURE__ */ e(
1746
- K,
1746
+ q,
1747
1747
  {
1748
1748
  title: n,
1749
1749
  iconUrl: r,
@@ -1751,7 +1751,7 @@ const Ut = (t, n) => {
1751
1751
  }
1752
1752
  ),
1753
1753
  /* @__PURE__ */ l(
1754
- O,
1754
+ $,
1755
1755
  {
1756
1756
  sx: {
1757
1757
  display: "flex",
@@ -1760,39 +1760,39 @@ const Ut = (t, n) => {
1760
1760
  },
1761
1761
  children: [
1762
1762
  /* @__PURE__ */ e(
1763
- F,
1763
+ L,
1764
1764
  {
1765
1765
  ariaLabel: "Anterior",
1766
1766
  variant: "secondary",
1767
1767
  iconOnly: !0,
1768
- leftIcon: /* @__PURE__ */ e(Ee, {}),
1769
- onClick: b,
1770
- disabled: m.isStart
1768
+ leftIcon: /* @__PURE__ */ e(ke, {}),
1769
+ onClick: _,
1770
+ disabled: p.isStart
1771
1771
  }
1772
1772
  ),
1773
1773
  /* @__PURE__ */ e(
1774
- F,
1774
+ L,
1775
1775
  {
1776
1776
  ariaLabel: "Siguiente",
1777
1777
  variant: "secondary",
1778
1778
  iconOnly: !0,
1779
- rightIcon: /* @__PURE__ */ e(ke, {}),
1779
+ rightIcon: /* @__PURE__ */ e($e, {}),
1780
1780
  onClick: k,
1781
- disabled: m.isEnd
1781
+ disabled: p.isEnd
1782
1782
  }
1783
1783
  )
1784
1784
  ]
1785
1785
  }
1786
1786
  ),
1787
- /* @__PURE__ */ e(O, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(F, { variant: "secondary", onClick: s, children: "Ver más" }) })
1787
+ /* @__PURE__ */ e($, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(L, { variant: "secondary", onClick: s, children: "Ver más" }) })
1788
1788
  ]
1789
1789
  }
1790
1790
  ),
1791
1791
  /* @__PURE__ */ e(
1792
- q,
1792
+ J,
1793
1793
  {
1794
- ref: p,
1795
- items: $,
1794
+ ref: u,
1795
+ items: O,
1796
1796
  perPage: 1,
1797
1797
  gap: "0",
1798
1798
  options: {
@@ -1805,25 +1805,25 @@ const Ut = (t, n) => {
1805
1805
  focus: "start",
1806
1806
  perMove: 1
1807
1807
  },
1808
- renderItem: (v) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
1809
- Te,
1808
+ renderItem: (x) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
1809
+ Pe,
1810
1810
  {
1811
- items: v.items,
1812
- layout: v.kind === "mosaic" ? "mosaic" : "grid",
1813
- loading: x,
1811
+ items: x.items,
1812
+ layout: x.kind === "mosaic" ? "mosaic" : "grid",
1813
+ loading: g,
1814
1814
  onClick: (C) => {
1815
1815
  const N = t.find(
1816
- (_, S) => Re(_, S) === C.id
1816
+ (f, E) => Me(f, E) === C.id
1817
1817
  );
1818
- x || N && ae(N, { basePath: "/casino" });
1818
+ g || N && ae(N, { basePath: "/casino" });
1819
1819
  }
1820
1820
  }
1821
1821
  ) }),
1822
- onMove: ({ isStart: v, isEnd: C }) => g({ isStart: v, isEnd: C })
1822
+ onMove: ({ isStart: x, isEnd: C }) => h({ isStart: x, isEnd: C })
1823
1823
  }
1824
1824
  )
1825
1825
  ] }) });
1826
- }, Jt = (t) => ({
1826
+ }, Xt = (t) => ({
1827
1827
  position: "relative",
1828
1828
  py: 8,
1829
1829
  color: "#fff",
@@ -1837,15 +1837,15 @@ const Ut = (t, n) => {
1837
1837
  backgroundRepeat: "no-repeat",
1838
1838
  backgroundPosition: "center",
1839
1839
  backgroundSize: "cover"
1840
- }), xe = {
1840
+ }), be = {
1841
1841
  textAlign: "center",
1842
1842
  lineHeight: 1.1,
1843
1843
  mb: 1.5
1844
- }, be = {
1844
+ }, _e = {
1845
1845
  display: "inline-block",
1846
1846
  fontWeight: 600,
1847
1847
  fontSize: 24
1848
- }, _e = {
1848
+ }, ve = {
1849
1849
  display: "inline-block",
1850
1850
  fontSize: 24,
1851
1851
  lineHeight: 1.1,
@@ -1855,23 +1855,23 @@ const Ut = (t, n) => {
1855
1855
  0 0 6px rgba(255, 255, 255, .6),
1856
1856
  0 1px 0 rgba(137, 137, 137, .85)
1857
1857
  `
1858
- }, Xt = ({
1858
+ }, Qt = ({
1859
1859
  headline: t,
1860
1860
  headline2: n,
1861
1861
  items: r,
1862
1862
  backgroundImageUrl: i
1863
1863
  }) => {
1864
- const u = Ue("(max-width: 767px)"), o = r.length > 1, a = G(null), [p, m] = z(0), g = r == null ? void 0 : r[p], b = oe(
1864
+ const d = De("(max-width: 767px)"), o = r.length > 1, a = U(null), [u, p] = A(0), h = r == null ? void 0 : r[u], _ = oe(
1865
1865
  () => {
1866
- var c, x;
1867
- return (x = (c = g == null ? void 0 : g.backgroundImageUrl) != null ? c : i) != null ? x : "";
1866
+ var c, g;
1867
+ return (g = (c = h == null ? void 0 : h.backgroundImageUrl) != null ? c : i) != null ? g : "";
1868
1868
  },
1869
- [g, i]
1870
- ), k = Jt(b), s = (c, x) => {
1869
+ [h, i]
1870
+ ), k = Xt(_), s = (c, g) => {
1871
1871
  var C, N;
1872
- const $ = (C = c.headline) != null ? C : t, v = (N = c.headline2) != null ? N : n;
1873
- return x ? /* @__PURE__ */ l(
1874
- O,
1872
+ const O = (C = c.headline) != null ? C : t, x = (N = c.headline2) != null ? N : n;
1873
+ return g ? /* @__PURE__ */ l(
1874
+ $,
1875
1875
  {
1876
1876
  sx: {
1877
1877
  maxWidth: 1200,
@@ -1883,8 +1883,8 @@ const Ut = (t, n) => {
1883
1883
  columnGap: 6
1884
1884
  },
1885
1885
  children: [
1886
- ($ || v) && /* @__PURE__ */ e(
1887
- O,
1886
+ (O || x) && /* @__PURE__ */ e(
1887
+ $,
1888
1888
  {
1889
1889
  sx: {
1890
1890
  display: "flex",
@@ -1892,17 +1892,17 @@ const Ut = (t, n) => {
1892
1892
  justifyContent: "flex-start",
1893
1893
  minHeight: "100%"
1894
1894
  },
1895
- children: /* @__PURE__ */ l(O, { sx: { ...xe, textAlign: "left", mb: 0 }, children: [
1896
- $ && /* @__PURE__ */ e(D, { component: "span", sx: be, children: $ }),
1897
- v && /* @__PURE__ */ l(Z, { children: [
1895
+ children: /* @__PURE__ */ l($, { sx: { ...be, textAlign: "left", mb: 0 }, children: [
1896
+ O && /* @__PURE__ */ e(V, { component: "span", sx: _e, children: O }),
1897
+ x && /* @__PURE__ */ l(Z, { children: [
1898
1898
  /* @__PURE__ */ e("br", {}),
1899
- /* @__PURE__ */ e(D, { component: "span", sx: _e, children: v })
1899
+ /* @__PURE__ */ e(V, { component: "span", sx: ve, children: x })
1900
1900
  ] })
1901
1901
  ] })
1902
1902
  }
1903
1903
  ),
1904
- /* @__PURE__ */ e(O, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ e(O, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ e(
1905
- fe,
1904
+ /* @__PURE__ */ e($, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ e($, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ e(
1905
+ xe,
1906
1906
  {
1907
1907
  ...c,
1908
1908
  onButtonClick: c.onButtonClick,
@@ -1911,16 +1911,16 @@ const Ut = (t, n) => {
1911
1911
  ) }) })
1912
1912
  ]
1913
1913
  }
1914
- ) : /* @__PURE__ */ l(O, { sx: { textAlign: "center" }, children: [
1915
- ($ || v) && /* @__PURE__ */ l(O, { sx: xe, children: [
1916
- $ && /* @__PURE__ */ e(D, { component: "span", sx: be, children: $ }),
1917
- v && /* @__PURE__ */ l(Z, { children: [
1914
+ ) : /* @__PURE__ */ l($, { sx: { textAlign: "center" }, children: [
1915
+ (O || x) && /* @__PURE__ */ l($, { sx: be, children: [
1916
+ O && /* @__PURE__ */ e(V, { component: "span", sx: _e, children: O }),
1917
+ x && /* @__PURE__ */ l(Z, { children: [
1918
1918
  /* @__PURE__ */ e("br", {}),
1919
- /* @__PURE__ */ e(D, { component: "span", sx: _e, children: v })
1919
+ /* @__PURE__ */ e(V, { component: "span", sx: ve, children: x })
1920
1920
  ] })
1921
1921
  ] }),
1922
- /* @__PURE__ */ e(O, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
1923
- fe,
1922
+ /* @__PURE__ */ e($, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
1923
+ xe,
1924
1924
  {
1925
1925
  ...c,
1926
1926
  onButtonClick: c.onButtonClick,
@@ -1929,56 +1929,56 @@ const Ut = (t, n) => {
1929
1929
  ) })
1930
1930
  ] });
1931
1931
  };
1932
- return /* @__PURE__ */ l(O, { component: "section", sx: k, children: [
1932
+ return /* @__PURE__ */ l($, { component: "section", sx: k, children: [
1933
1933
  /* @__PURE__ */ e(
1934
- q,
1934
+ J,
1935
1935
  {
1936
1936
  ref: a,
1937
1937
  items: r,
1938
1938
  perPage: 1,
1939
1939
  gap: "0px",
1940
1940
  options: { autoWidth: !1 },
1941
- renderItem: (c) => /* @__PURE__ */ e(O, { sx: { width: "100%" }, children: s(c, !u) }),
1941
+ renderItem: (c) => /* @__PURE__ */ e($, { sx: { width: "100%" }, children: s(c, !d) }),
1942
1942
  onMove: ({ index: c }) => {
1943
- m(c);
1943
+ p(c);
1944
1944
  }
1945
1945
  }
1946
1946
  ),
1947
- o && /* @__PURE__ */ e(O, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
1948
- $e,
1947
+ o && /* @__PURE__ */ e($, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
1948
+ Oe,
1949
1949
  {
1950
1950
  total: r.length,
1951
- active: p,
1951
+ active: u,
1952
1952
  onSelect: (c) => {
1953
- var x;
1954
- m(c), (x = a.current) == null || x.go(c);
1953
+ var g;
1954
+ p(c), (g = a.current) == null || g.go(c);
1955
1955
  }
1956
1956
  }
1957
1957
  ) })
1958
1958
  ] });
1959
- }, Qt = ({
1959
+ }, Yt = ({
1960
1960
  className: t = "",
1961
1961
  fullBleed: n = !0,
1962
1962
  items: r,
1963
1963
  selectedIndex: i = 0,
1964
- ariaLabel: u
1964
+ ariaLabel: d
1965
1965
  }) => {
1966
- const o = G(null), a = G(null);
1966
+ const o = U(null), a = U(null);
1967
1967
  if (!r) return null;
1968
- const p = () => {
1968
+ const u = () => {
1969
1969
  window.location.href = "https://www.olimpo.bet/conoce-club-olimpo";
1970
- }, m = Array.isArray(r) ? r[i] : r;
1971
- ze(() => {
1970
+ }, p = Array.isArray(r) ? r[i] : r;
1971
+ Ae(() => {
1972
1972
  if (!o.current || !a.current || typeof ResizeObserver == "undefined") return;
1973
- const b = o.current, k = a.current, s = () => {
1974
- b.style.setProperty(
1973
+ const _ = o.current, k = a.current, s = () => {
1974
+ _.style.setProperty(
1975
1975
  "--orc-co-bottomH",
1976
1976
  `${k.offsetHeight + 16}px`
1977
1977
  );
1978
1978
  }, c = new ResizeObserver(s);
1979
1979
  return c.observe(k), s(), () => c.disconnect();
1980
1980
  }, []);
1981
- const g = [
1981
+ const h = [
1982
1982
  "orc-co-wrap",
1983
1983
  n ? "orc-co-fullBleed" : "",
1984
1984
  t
@@ -1987,142 +1987,142 @@ const Ut = (t, n) => {
1987
1987
  "section",
1988
1988
  {
1989
1989
  ref: o,
1990
- className: g,
1991
- "aria-label": u || m.imgAlt || "Club Olimpo",
1990
+ className: h,
1991
+ "aria-label": d || p.imgAlt || "Club Olimpo",
1992
1992
  children: /* @__PURE__ */ e("div", { ref: a, children: /* @__PURE__ */ e(
1993
- xt,
1993
+ bt,
1994
1994
  {
1995
- text: m.text,
1996
- onClick: p,
1997
- imgAlt: m.imgAlt,
1998
- imgSrcMobile: m.imgMobile,
1999
- imgSrcDesktopBg: m.imgDesktopBg,
2000
- imgSrcDesktopLogo: m.imgDesktopLogo
1995
+ text: p.text,
1996
+ onClick: u,
1997
+ imgAlt: p.imgAlt,
1998
+ imgSrcMobile: p.imgMobile,
1999
+ imgSrcDesktopBg: p.imgDesktopBg,
2000
+ imgSrcDesktopLogo: p.imgDesktopLogo
2001
2001
  }
2002
2002
  ) })
2003
2003
  }
2004
2004
  );
2005
- }, Yt = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Zt = {
2006
- controls: Yt
2005
+ }, Zt = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", eo = {
2006
+ controls: Zt
2007
2007
  };
2008
- function eo({
2008
+ function to({
2009
2009
  items: t,
2010
2010
  title: n = "Combinadas del Olimpo",
2011
2011
  iconUrl: r = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
2012
2012
  onViewMore: i,
2013
- className: u = ""
2013
+ className: d = ""
2014
2014
  }) {
2015
- const o = G(null), [a, p] = z({ isStart: !0, isEnd: !1 }), [m, g] = z([]), b = "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", k = () => {
2016
- var _;
2017
- (_ = o.current) == null || _.prev();
2015
+ const o = U(null), [a, u] = A({ isStart: !0, isEnd: !1 }), [p, h] = A([]), _ = "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", k = () => {
2016
+ var f;
2017
+ (f = o.current) == null || f.prev();
2018
2018
  }, s = () => {
2019
- var _;
2020
- (_ = o.current) == null || _.next();
2019
+ var f;
2020
+ (f = o.current) == null || f.next();
2021
2021
  }, c = () => {
2022
- Ot();
2022
+ It();
2023
2023
  };
2024
- async function x() {
2025
- var _, S, P;
2024
+ async function g() {
2025
+ var f, E, P;
2026
2026
  try {
2027
- const E = await (await fetch(b)).json(), d = (P = (S = (_ = E == null ? void 0 : E.group) == null ? void 0 : _.groups) == null ? void 0 : S[0]) == null ? void 0 : P.id;
2028
- if (!d) {
2027
+ const S = await (await fetch(_)).json(), B = (P = (E = (f = S == null ? void 0 : S.group) == null ? void 0 : f.groups) == null ? void 0 : E[0]) == null ? void 0 : P.id;
2028
+ if (!B) {
2029
2029
  console.error("Could not extract group ID");
2030
2030
  return;
2031
2031
  }
2032
- const h = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${d}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, f = await (await fetch(h)).json();
2033
- g(
2034
- $(f.events, f.betOffers, f.prePackCoupons)
2032
+ const m = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${B}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, y = await (await fetch(m)).json();
2033
+ h(
2034
+ O(y.events, y.betOffers, y.prePackCoupons)
2035
2035
  );
2036
2036
  } catch (T) {
2037
2037
  console.error("loadDataEventSpecial error:", T);
2038
2038
  }
2039
2039
  }
2040
- function $(_, S, P) {
2040
+ function O(f, E, P) {
2041
2041
  const T = [];
2042
- for (const E of P) {
2043
- const d = C([E]), h = v(E), w = S.reduce((f, y) => {
2044
- var B, L;
2045
- f[y.eventId] || (f[y.eventId] = []);
2046
- const I = y.outcomes.filter(
2047
- (W) => d.has(W.id)
2042
+ for (const S of P) {
2043
+ const B = C([S]), m = x(S), b = E.reduce((y, v) => {
2044
+ var I, R;
2045
+ y[v.eventId] || (y[v.eventId] = []);
2046
+ const w = v.outcomes.filter(
2047
+ (W) => B.has(W.id)
2048
2048
  );
2049
- if (I.length > 0) {
2049
+ if (w.length > 0) {
2050
2050
  const W = Array.from(
2051
- (L = (B = h == null ? void 0 : h[0]) == null ? void 0 : B.requiredOutcomeIds) != null ? L : []
2052
- ), A = I.map((Y) => ({
2053
- ...Y,
2054
- position: W.indexOf(Y.id)
2051
+ (R = (I = m == null ? void 0 : m[0]) == null ? void 0 : I.requiredOutcomeIds) != null ? R : []
2052
+ ), G = w.map((j) => ({
2053
+ ...j,
2054
+ position: W.indexOf(j.id)
2055
2055
  }));
2056
- f[y.eventId].push({
2057
- ...y,
2058
- outcomes: A
2056
+ y[v.eventId].push({
2057
+ ...v,
2058
+ outcomes: G
2059
2059
  });
2060
2060
  }
2061
- return f;
2061
+ return y;
2062
2062
  }, {});
2063
- _.forEach((f) => {
2064
- if (f.id !== E.prePackCouponRows[0].eventId) return;
2065
- const y = d;
2066
- let I = null;
2067
- for (const B of h)
2068
- if ([...B.requiredOutcomeIds].every((W) => y.has(W))) {
2069
- I = B.decimal;
2063
+ f.forEach((y) => {
2064
+ if (y.id !== S.prePackCouponRows[0].eventId) return;
2065
+ const v = B;
2066
+ let w = null;
2067
+ for (const I of m)
2068
+ if ([...I.requiredOutcomeIds].every((W) => v.has(W))) {
2069
+ w = I.decimal;
2070
2070
  break;
2071
2071
  }
2072
2072
  T.push({
2073
- ...f,
2074
- combinadoTotal: I,
2075
- betoffers: w[f.id] || [],
2076
- couponId: E.id
2073
+ ...y,
2074
+ combinadoTotal: w,
2075
+ betoffers: b[y.id] || [],
2076
+ couponId: S.id
2077
2077
  // optional for tracking
2078
2078
  });
2079
2079
  });
2080
2080
  }
2081
2081
  return T;
2082
2082
  }
2083
- function v(_) {
2083
+ function x(f) {
2084
2084
  var P;
2085
- const S = [];
2086
- for (const T of _.prePackCouponRows)
2085
+ const E = [];
2086
+ for (const T of f.prePackCouponRows)
2087
2087
  if (T.type === "BET_BUILDER" && ((P = T.group) != null && P.groups)) {
2088
- const E = /* @__PURE__ */ new Set();
2089
- T.group.groups.forEach((d) => {
2090
- var h;
2091
- (h = d.outcomes) == null || h.forEach((w) => E.add(w.id));
2092
- }), S.push({
2093
- requiredOutcomeIds: E,
2088
+ const S = /* @__PURE__ */ new Set();
2089
+ T.group.groups.forEach((B) => {
2090
+ var m;
2091
+ (m = B.outcomes) == null || m.forEach((b) => S.add(b.id));
2092
+ }), E.push({
2093
+ requiredOutcomeIds: S,
2094
2094
  decimal: T.odds.decimal
2095
2095
  });
2096
2096
  }
2097
- return S;
2097
+ return E;
2098
2098
  }
2099
- function C(_) {
2099
+ function C(f) {
2100
2100
  var P;
2101
- const S = /* @__PURE__ */ new Set();
2102
- for (const T of _)
2103
- for (const E of T.prePackCouponRows)
2104
- E.type === "BET_BUILDER" && ((P = E.group) != null && P.groups) && E.group.groups.forEach((d) => {
2105
- var h;
2106
- (h = d.outcomes) == null || h.forEach((w) => S.add(w.id));
2107
- }), E.type === "SIMPLE" && E.outcome && S.add(E.outcome.id);
2108
- return S;
2101
+ const E = /* @__PURE__ */ new Set();
2102
+ for (const T of f)
2103
+ for (const S of T.prePackCouponRows)
2104
+ S.type === "BET_BUILDER" && ((P = S.group) != null && P.groups) && S.group.groups.forEach((B) => {
2105
+ var m;
2106
+ (m = B.outcomes) == null || m.forEach((b) => E.add(b.id));
2107
+ }), S.type === "SIMPLE" && S.outcome && E.add(S.outcome.id);
2108
+ return E;
2109
2109
  }
2110
- Q(() => {
2111
- x();
2110
+ Y(() => {
2111
+ g();
2112
2112
  }, []);
2113
- const N = u || void 0;
2114
- return !m || m.length === 0 ? null : /* @__PURE__ */ e("section", { className: N, style: {
2113
+ const N = d || void 0;
2114
+ return !p || p.length === 0 ? null : /* @__PURE__ */ e("section", { className: N, style: {
2115
2115
  // paddingLeft: 16,
2116
2116
  // paddingRight: 16,
2117
2117
  width: "100%",
2118
2118
  boxSizing: "border-box"
2119
- }, children: /* @__PURE__ */ l(R, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2120
- /* @__PURE__ */ l(V, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2121
- /* @__PURE__ */ e(K, { title: n, iconUrl: r, size: "md" }),
2122
- /* @__PURE__ */ l("div", { className: Zt.controls, children: [
2123
- /* @__PURE__ */ l(V, { spacing: 1, columns: "auto auto", children: [
2119
+ }, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2120
+ /* @__PURE__ */ l(H, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2121
+ /* @__PURE__ */ e(q, { title: n, iconUrl: r, size: "md" }),
2122
+ /* @__PURE__ */ l("div", { className: eo.controls, children: [
2123
+ /* @__PURE__ */ l(H, { spacing: 1, columns: "auto auto", children: [
2124
2124
  /* @__PURE__ */ e(
2125
- F,
2125
+ L,
2126
2126
  {
2127
2127
  ariaLabel: "Anterior",
2128
2128
  variant: "secondary",
@@ -2133,7 +2133,7 @@ function eo({
2133
2133
  }
2134
2134
  ),
2135
2135
  /* @__PURE__ */ e(
2136
- F,
2136
+ L,
2137
2137
  {
2138
2138
  ariaLabel: "Siguiente",
2139
2139
  variant: "secondary",
@@ -2144,14 +2144,14 @@ function eo({
2144
2144
  }
2145
2145
  )
2146
2146
  ] }),
2147
- /* @__PURE__ */ e(F, { variant: "secondary", onClick: c, children: "Ver más" })
2147
+ /* @__PURE__ */ e(L, { variant: "secondary", onClick: c, children: "Ver más" })
2148
2148
  ] })
2149
2149
  ] }),
2150
2150
  /* @__PURE__ */ e(
2151
- q,
2151
+ J,
2152
2152
  {
2153
2153
  ref: o,
2154
- items: m.filter((_) => _.combinadoTotal !== null),
2154
+ items: p.filter((f) => f.combinadoTotal !== null),
2155
2155
  perPage: void 0,
2156
2156
  gap: "16px",
2157
2157
  options: { autoWidth: !0, trimSpace: "move" },
@@ -2159,125 +2159,125 @@ function eo({
2159
2159
  breakpoints: {
2160
2160
  768: { perPage: 1.2, gap: "12px", padding: { left: "0px", right: "0px" } }
2161
2161
  },
2162
- renderItem: (_) => /* @__PURE__ */ e(It, { event: _ }),
2163
- onMove: ({ isStart: _, isEnd: S }) => p({ isStart: _, isEnd: S })
2162
+ renderItem: (f) => /* @__PURE__ */ e(Nt, { event: f }),
2163
+ onMove: ({ isStart: f, isEnd: E }) => u({ isStart: f, isEnd: E })
2164
2164
  }
2165
2165
  )
2166
2166
  ] }) });
2167
2167
  }
2168
- function to({}) {
2168
+ function oo({}) {
2169
2169
  return /* @__PURE__ */ e(
2170
2170
  "div",
2171
2171
  {
2172
- className: Pe.cardWrapper,
2173
- children: /* @__PURE__ */ l(R, { direction: "column", spacing: 1, children: [
2174
- /* @__PURE__ */ l(R, { spacing: 1, direction: "row", children: [
2175
- /* @__PURE__ */ e(M, { variant: "text", width: "60%", height: 24 }),
2176
- /* @__PURE__ */ e(M, { variant: "text", width: "39%", height: 24 })
2172
+ className: Be.cardWrapper,
2173
+ children: /* @__PURE__ */ l(M, { direction: "column", spacing: 1, children: [
2174
+ /* @__PURE__ */ l(M, { spacing: 1, direction: "row", children: [
2175
+ /* @__PURE__ */ e(F, { variant: "text", width: "60%", height: 24 }),
2176
+ /* @__PURE__ */ e(F, { variant: "text", width: "39%", height: 24 })
2177
2177
  ] }),
2178
- /* @__PURE__ */ l(R, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2179
- /* @__PURE__ */ e(M, { variant: "circular", width: 32, height: 40 }),
2180
- /* @__PURE__ */ e(M, { variant: "text", width: 40, height: 40 }),
2181
- /* @__PURE__ */ e(M, { variant: "circular", width: 32, height: 40 })
2178
+ /* @__PURE__ */ l(M, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2179
+ /* @__PURE__ */ e(F, { variant: "circular", width: 32, height: 40 }),
2180
+ /* @__PURE__ */ e(F, { variant: "text", width: 40, height: 40 }),
2181
+ /* @__PURE__ */ e(F, { variant: "circular", width: 32, height: 40 })
2182
2182
  ] }),
2183
- /* @__PURE__ */ l(R, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2184
- /* @__PURE__ */ e(M, { variant: "text", width: 32, height: 16 }),
2185
- /* @__PURE__ */ e(M, { variant: "text", width: 40, height: 16 }),
2186
- /* @__PURE__ */ e(M, { variant: "text", width: 32, height: 16 })
2183
+ /* @__PURE__ */ l(M, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2184
+ /* @__PURE__ */ e(F, { variant: "text", width: 32, height: 16 }),
2185
+ /* @__PURE__ */ e(F, { variant: "text", width: 40, height: 16 }),
2186
+ /* @__PURE__ */ e(F, { variant: "text", width: 32, height: 16 })
2187
2187
  ] }),
2188
- /* @__PURE__ */ l(R, { spacing: 2, direction: "row", children: [
2189
- /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 }),
2190
- /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 }),
2191
- /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 })
2188
+ /* @__PURE__ */ l(M, { spacing: 2, direction: "row", children: [
2189
+ /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 16 }),
2190
+ /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 16 }),
2191
+ /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 16 })
2192
2192
  ] }),
2193
- /* @__PURE__ */ l(R, { spacing: 2, direction: "row", children: [
2194
- /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 }),
2195
- /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 }),
2196
- /* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 })
2193
+ /* @__PURE__ */ l(M, { spacing: 2, direction: "row", children: [
2194
+ /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 32 }),
2195
+ /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 32 }),
2196
+ /* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 32 })
2197
2197
  ] })
2198
2198
  ] })
2199
2199
  }
2200
2200
  );
2201
2201
  }
2202
- const oo = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", no = {
2203
- fadeWrapper: oo
2202
+ const no = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", ro = {
2203
+ fadeWrapper: no
2204
2204
  };
2205
2205
  function re({ children: t }) {
2206
- return /* @__PURE__ */ e("div", { className: no.fadeWrapper, children: t });
2206
+ return /* @__PURE__ */ e("div", { className: ro.fadeWrapper, children: t });
2207
2207
  }
2208
- function ro({
2208
+ function ao({
2209
2209
  items: t,
2210
2210
  title: n = "En vivo",
2211
2211
  iconUrl: r = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
2212
2212
  onViewMore: i,
2213
- className: u = ""
2213
+ className: d = ""
2214
2214
  }) {
2215
- const o = "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", a = G(null), [p, m] = z({ isStart: !0, isEnd: !1 }), [g, b] = z([]), k = () => {
2215
+ const o = "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", a = U(null), [u, p] = A({ isStart: !0, isEnd: !1 }), [h, _] = A([]), k = () => {
2216
2216
  var C;
2217
2217
  (C = a.current) == null || C.prev();
2218
2218
  }, s = () => {
2219
2219
  var C;
2220
2220
  (C = a.current) == null || C.next();
2221
2221
  }, c = () => {
2222
- kt();
2222
+ $t();
2223
2223
  };
2224
- async function x() {
2224
+ async function g() {
2225
2225
  try {
2226
2226
  const N = await (await fetch(o)).json();
2227
- b(N.events);
2227
+ _(N.events);
2228
2228
  } catch (C) {
2229
2229
  console.error(C);
2230
2230
  }
2231
2231
  }
2232
- Q(() => {
2233
- x();
2232
+ Y(() => {
2233
+ g();
2234
2234
  const C = setInterval(() => {
2235
- x();
2235
+ g();
2236
2236
  }, 2e4);
2237
2237
  return () => clearInterval(C);
2238
2238
  }, []);
2239
- const $ = u || void 0, v = !g || g.length === 0;
2240
- return /* @__PURE__ */ e("section", { className: $, style: {
2239
+ const O = d || void 0, x = !h || h.length === 0;
2240
+ return /* @__PURE__ */ e("section", { className: O, style: {
2241
2241
  // paddingLeft: 16,
2242
2242
  // paddingRight: 16,
2243
2243
  width: "100%",
2244
2244
  boxSizing: "border-box"
2245
- }, children: /* @__PURE__ */ l(R, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2246
- /* @__PURE__ */ l(V, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2247
- /* @__PURE__ */ e(K, { title: n, iconUrl: r, size: "md" }),
2245
+ }, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2246
+ /* @__PURE__ */ l(H, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2247
+ /* @__PURE__ */ e(q, { title: n, iconUrl: r, size: "md" }),
2248
2248
  /* @__PURE__ */ l("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
2249
- /* @__PURE__ */ l(V, { spacing: 1, columns: "auto auto", children: [
2249
+ /* @__PURE__ */ l(H, { spacing: 1, columns: "auto auto", children: [
2250
2250
  /* @__PURE__ */ e(
2251
- F,
2251
+ L,
2252
2252
  {
2253
2253
  ariaLabel: "Anterior",
2254
2254
  variant: "secondary",
2255
2255
  iconOnly: !0,
2256
2256
  leftIcon: /* @__PURE__ */ e(de, {}),
2257
2257
  onClick: k,
2258
- disabled: p.isStart
2258
+ disabled: u.isStart
2259
2259
  }
2260
2260
  ),
2261
2261
  /* @__PURE__ */ e(
2262
- F,
2262
+ L,
2263
2263
  {
2264
2264
  ariaLabel: "Siguiente",
2265
2265
  variant: "secondary",
2266
2266
  iconOnly: !0,
2267
2267
  rightIcon: /* @__PURE__ */ e(ue, {}),
2268
2268
  onClick: s,
2269
- disabled: p.isEnd
2269
+ disabled: u.isEnd
2270
2270
  }
2271
2271
  )
2272
2272
  ] }),
2273
- /* @__PURE__ */ e(F, { variant: "secondary", onClick: c, children: "Ver más" })
2273
+ /* @__PURE__ */ e(L, { variant: "secondary", onClick: c, children: "Ver más" })
2274
2274
  ] })
2275
2275
  ] }),
2276
2276
  /* @__PURE__ */ e(
2277
- q,
2277
+ J,
2278
2278
  {
2279
2279
  ref: a,
2280
- items: v ? Array(4).fill({}) : g == null ? void 0 : g.filter((C) => C.event.sport === "FOOTBALL").sort(
2280
+ items: x ? Array(4).fill({}) : h == null ? void 0 : h.filter((C) => C.event.sport === "FOOTBALL").sort(
2281
2281
  (C, N) => new Date(N.event.start).getTime() - new Date(C.event.start).getTime()
2282
2282
  ),
2283
2283
  perPage: void 0,
@@ -2288,159 +2288,159 @@ function ro({
2288
2288
  768: { gap: "8px", focus: "center" },
2289
2289
  1024: { gap: "10px", focus: "center" }
2290
2290
  },
2291
- renderItem: (C) => v ? /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(to, {}) }) : /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(Pt, { ...C }) }),
2292
- onMove: ({ isStart: C, isEnd: N }) => m({ isStart: C, isEnd: N })
2291
+ renderItem: (C) => x ? /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(oo, {}) }) : /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(Bt, { ...C }) }),
2292
+ onMove: ({ isStart: C, isEnd: N }) => p({ isStart: C, isEnd: N })
2293
2293
  }
2294
2294
  )
2295
2295
  ] }) });
2296
2296
  }
2297
- function ao() {
2298
- return /* @__PURE__ */ l("div", { className: J.cardContainer, children: [
2299
- /* @__PURE__ */ e(Ie, { title: "" }),
2300
- /* @__PURE__ */ e("div", { className: J.cardBackground, children: /* @__PURE__ */ l(R, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2301
- /* @__PURE__ */ l(R, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2302
- /* @__PURE__ */ e(M, { variant: "circular", width: 48, height: 48 }),
2303
- /* @__PURE__ */ e(M, { variant: "circular", width: 48, height: 48 })
2297
+ function io() {
2298
+ return /* @__PURE__ */ l("div", { className: X.cardContainer, children: [
2299
+ /* @__PURE__ */ e(Ne, { title: "" }),
2300
+ /* @__PURE__ */ e("div", { className: X.cardBackground, children: /* @__PURE__ */ l(M, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2301
+ /* @__PURE__ */ l(M, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2302
+ /* @__PURE__ */ e(F, { variant: "circular", width: 48, height: 48 }),
2303
+ /* @__PURE__ */ e(F, { variant: "circular", width: 48, height: 48 })
2304
2304
  ] }),
2305
- /* @__PURE__ */ l(R, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2306
- /* @__PURE__ */ l(R, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2307
- /* @__PURE__ */ e(M, { variant: "text", width: 80, height: 12 }),
2308
- /* @__PURE__ */ e(M, { variant: "text", width: 80, height: 12 })
2305
+ /* @__PURE__ */ l(M, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2306
+ /* @__PURE__ */ l(M, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2307
+ /* @__PURE__ */ e(F, { variant: "text", width: 80, height: 12 }),
2308
+ /* @__PURE__ */ e(F, { variant: "text", width: 80, height: 12 })
2309
2309
  ] }),
2310
- /* @__PURE__ */ e(R, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(M, { variant: "text", width: 160, height: 12 }) }),
2311
- /* @__PURE__ */ l(R, { direction: "row", spacing: 1, children: [
2312
- /* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 }),
2313
- /* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 }),
2314
- /* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 })
2310
+ /* @__PURE__ */ e(M, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(F, { variant: "text", width: 160, height: 12 }) }),
2311
+ /* @__PURE__ */ l(M, { direction: "row", spacing: 1, children: [
2312
+ /* @__PURE__ */ e(F, { variant: "text", width: 80, height: 16 }),
2313
+ /* @__PURE__ */ e(F, { variant: "text", width: 80, height: 16 }),
2314
+ /* @__PURE__ */ e(F, { variant: "text", width: 80, height: 16 })
2315
2315
  ] }),
2316
- /* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */ l(R, { direction: "row", spacing: 1, children: [
2317
- /* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 }),
2318
- /* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 }),
2319
- /* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 })
2316
+ /* @__PURE__ */ e("div", { className: X.jugadas, children: /* @__PURE__ */ l(M, { direction: "row", spacing: 1, children: [
2317
+ /* @__PURE__ */ e(F, { variant: "rounded", width: 80, height: 32 }),
2318
+ /* @__PURE__ */ e(F, { variant: "rounded", width: 80, height: 32 }),
2319
+ /* @__PURE__ */ e(F, { variant: "rounded", width: 80, height: 32 })
2320
2320
  ] }) })
2321
2321
  ] })
2322
2322
  ] }) })
2323
2323
  ] });
2324
2324
  }
2325
- const io = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", so = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", co = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", le = {
2326
- wrapper: io,
2327
- container: so,
2328
- buttonWrapper: co
2325
+ const so = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", co = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", lo = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", le = {
2326
+ wrapper: so,
2327
+ container: co,
2328
+ buttonWrapper: lo
2329
2329
  };
2330
- function lo({
2330
+ function uo({
2331
2331
  items: t,
2332
2332
  title: n = "En vivo",
2333
2333
  iconUrl: r,
2334
2334
  onViewMore: i,
2335
- className: u = ""
2335
+ className: d = ""
2336
2336
  }) {
2337
- const o = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", a = G(null), [p, m] = z({ isStart: !0, isEnd: !1 }), [g, b] = z([]);
2338
- function k(_) {
2339
- return [..._].sort(
2340
- (S, P) => new Date(S.start).getTime() - new Date(P.start).getTime()
2337
+ const o = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", a = U(null), [u, p] = A({ isStart: !0, isEnd: !1 }), [h, _] = A([]);
2338
+ function k(f) {
2339
+ return [...f].sort(
2340
+ (E, P) => new Date(E.start).getTime() - new Date(P.start).getTime()
2341
2341
  );
2342
2342
  }
2343
- function s(_) {
2344
- const S = /* @__PURE__ */ new Date(), P = new Date(S.getTime() + 10080 * 60 * 1e3);
2345
- return _.filter((T) => {
2343
+ function s(f) {
2344
+ const E = /* @__PURE__ */ new Date(), P = new Date(E.getTime() + 10080 * 60 * 1e3);
2345
+ return f.filter((T) => {
2346
2346
  if (!T.start) return !1;
2347
- const E = new Date(T.start);
2348
- return E >= S && E <= P;
2347
+ const S = new Date(T.start);
2348
+ return S >= E && S <= P;
2349
2349
  });
2350
2350
  }
2351
2351
  const c = () => {
2352
- $t();
2352
+ Ot();
2353
2353
  };
2354
- async function x() {
2354
+ async function g() {
2355
2355
  try {
2356
2356
  const P = (await (await fetch(o)).json()).group.groups.find(
2357
- (w) => w.englishName === "Football"
2357
+ (b) => b.englishName === "Football"
2358
2358
  );
2359
2359
  if (!P || !Array.isArray(P.groups)) {
2360
2360
  console.error("Football groups not found");
2361
2361
  return;
2362
2362
  }
2363
- const E = P.groups.slice(0, 5), d = (w) => {
2364
- const f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
2365
- if (w.groups && w.groups.length > 0) {
2366
- const y = w.groups[0];
2363
+ const S = P.groups.slice(0, 5), B = (b) => {
2364
+ const y = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
2365
+ if (b.groups && b.groups.length > 0) {
2366
+ const v = b.groups[0];
2367
2367
  return [
2368
- `${f}/${w.termKey}/${y.termKey}/all/matches.json?channel_id=1&channel_id=1&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true`
2368
+ `${y}/${b.termKey}/${v.termKey}/all/matches.json?channel_id=1&channel_id=1&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true`
2369
2369
  ];
2370
2370
  }
2371
2371
  return [
2372
- `${f}/${w.termKey}/all/all/matches.json?channel_id=1&channel_id=1&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true`
2372
+ `${y}/${b.termKey}/all/all/matches.json?channel_id=1&channel_id=1&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true`
2373
2373
  ];
2374
- }, h = E.flatMap(d);
2375
- $(h);
2376
- } catch (_) {
2377
- console.error(_);
2374
+ }, m = S.flatMap(B);
2375
+ O(m);
2376
+ } catch (f) {
2377
+ console.error(f);
2378
2378
  }
2379
2379
  }
2380
- async function $(_) {
2380
+ async function O(f) {
2381
2381
  try {
2382
- const S = await Promise.all(
2383
- _.map((d) => fetch(d).then((h) => h.json()))
2382
+ const E = await Promise.all(
2383
+ f.map((B) => fetch(B).then((m) => m.json()))
2384
2384
  );
2385
2385
  let P = [], T = [];
2386
- S.forEach((d) => {
2387
- d.events && (P.push(...d.events.map((h) => h.event)), T.push(...d.events.flatMap((h) => h.betOffers || [])));
2386
+ E.forEach((B) => {
2387
+ B.events && (P.push(...B.events.map((m) => m.event)), T.push(...B.events.flatMap((m) => m.betOffers || [])));
2388
2388
  });
2389
- const E = v(P, T);
2390
- b(k(s(E)));
2391
- } catch (S) {
2392
- console.error("Error loading events:", S);
2389
+ const S = x(P, T);
2390
+ _(k(s(S)));
2391
+ } catch (E) {
2392
+ console.error("Error loading events:", E);
2393
2393
  }
2394
2394
  }
2395
- function v(_, S) {
2396
- const T = S.filter((E) => {
2397
- var d;
2398
- return ((d = E.betOfferType) == null ? void 0 : d.id) === 2;
2399
- }).reduce((E, d) => (E[d.eventId] || (E[d.eventId] = []), E[d.eventId].push(d), E), {});
2400
- return _.filter((E) => T[E.id]).map((E) => ({
2401
- ...E,
2402
- outcome: T[E.id]
2395
+ function x(f, E) {
2396
+ const T = E.filter((S) => {
2397
+ var B;
2398
+ return ((B = S.betOfferType) == null ? void 0 : B.id) === 2;
2399
+ }).reduce((S, B) => (S[B.eventId] || (S[B.eventId] = []), S[B.eventId].push(B), S), {});
2400
+ return f.filter((S) => T[S.id]).map((S) => ({
2401
+ ...S,
2402
+ outcome: T[S.id]
2403
2403
  }));
2404
2404
  }
2405
- Q(() => {
2406
- t && x();
2405
+ Y(() => {
2406
+ t && g();
2407
2407
  }, [t]);
2408
- const C = u || void 0, N = !g || g.length === 0;
2408
+ const C = d || void 0, N = !h || h.length === 0;
2409
2409
  return /* @__PURE__ */ e("section", { className: C, style: {
2410
2410
  // paddingLeft: 16,
2411
2411
  width: "100%",
2412
2412
  boxSizing: "border-box"
2413
2413
  }, children: /* @__PURE__ */ l("div", { className: le.wrapper, children: [
2414
- /* @__PURE__ */ e("div", { className: le.container, children: /* @__PURE__ */ l(R, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2415
- /* @__PURE__ */ e(K, { title: "Eventos de la semana" }),
2416
- /* @__PURE__ */ e("div", { className: le.buttonWrapper, children: /* @__PURE__ */ e(F, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
2414
+ /* @__PURE__ */ e("div", { className: le.container, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2415
+ /* @__PURE__ */ e(q, { title: "Eventos de la semana" }),
2416
+ /* @__PURE__ */ e("div", { className: le.buttonWrapper, children: /* @__PURE__ */ e(L, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
2417
2417
  c();
2418
2418
  }, children: "Ver más" }) })
2419
2419
  ] }) }),
2420
2420
  /* @__PURE__ */ e("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ e(
2421
- q,
2421
+ J,
2422
2422
  {
2423
2423
  ref: a,
2424
- items: N ? Array(6).fill({}) : g,
2424
+ items: N ? Array(6).fill({}) : h,
2425
2425
  perPage: 3.5,
2426
2426
  gap: "16px",
2427
2427
  options: { autoWidth: !0, trimSpace: !0 },
2428
2428
  breakpoints: {
2429
2429
  1024: { perPage: 1.4, gap: "8px", focus: "center", padding: { left: "8px", right: "8px" } }
2430
2430
  },
2431
- renderItem: (_) => N ? /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(ao, {}) }) : /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(zt, { event: _ }) }),
2432
- onMove: ({ isStart: _, isEnd: S }) => m({ isStart: _, isEnd: S })
2431
+ renderItem: (f) => N ? /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(io, {}) }) : /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(At, { event: f }) }),
2432
+ onMove: ({ isStart: f, isEnd: E }) => p({ isStart: f, isEnd: E })
2433
2433
  }
2434
2434
  ) })
2435
2435
  ] }) });
2436
2436
  }
2437
- function uo({
2437
+ function po({
2438
2438
  backgrounds: t,
2439
2439
  items: n
2440
2440
  }) {
2441
- const [r, i] = z(0), u = (t == null ? void 0 : t.length) || 1;
2441
+ const [r, i] = A(0), d = (t == null ? void 0 : t.length) || 1;
2442
2442
  return /* @__PURE__ */ l(
2443
- j,
2443
+ z,
2444
2444
  {
2445
2445
  component: "section",
2446
2446
  sx: {
@@ -2454,7 +2454,7 @@ function uo({
2454
2454
  },
2455
2455
  children: [
2456
2456
  /* @__PURE__ */ l(
2457
- j,
2457
+ z,
2458
2458
  {
2459
2459
  sx: {
2460
2460
  position: "relative",
@@ -2464,7 +2464,7 @@ function uo({
2464
2464
  },
2465
2465
  children: [
2466
2466
  /* @__PURE__ */ e(
2467
- q,
2467
+ J,
2468
2468
  {
2469
2469
  items: t,
2470
2470
  perPage: 0,
@@ -2482,7 +2482,7 @@ function uo({
2482
2482
  renderItem: (o) => {
2483
2483
  var a;
2484
2484
  return /* @__PURE__ */ l(
2485
- j,
2485
+ z,
2486
2486
  {
2487
2487
  sx: {
2488
2488
  position: "relative",
@@ -2490,7 +2490,7 @@ function uo({
2490
2490
  },
2491
2491
  children: [
2492
2492
  /* @__PURE__ */ l(
2493
- j,
2493
+ z,
2494
2494
  {
2495
2495
  component: "picture",
2496
2496
  sx: { position: "absolute", inset: 0, lineHeight: 0 },
@@ -2510,7 +2510,7 @@ function uo({
2510
2510
  }
2511
2511
  ),
2512
2512
  /* @__PURE__ */ e(
2513
- j,
2513
+ z,
2514
2514
  {
2515
2515
  component: "img",
2516
2516
  src: (a = o.fallbackSrc) != null ? a : o.desktopSrc,
@@ -2529,7 +2529,7 @@ function uo({
2529
2529
  }
2530
2530
  ),
2531
2531
  /* @__PURE__ */ e(
2532
- j,
2532
+ z,
2533
2533
  {
2534
2534
  sx: {
2535
2535
  position: "absolute",
@@ -2554,7 +2554,7 @@ function uo({
2554
2554
  }
2555
2555
  ),
2556
2556
  /* @__PURE__ */ e(
2557
- j,
2557
+ z,
2558
2558
  {
2559
2559
  sx: {
2560
2560
  position: "absolute",
@@ -2565,18 +2565,18 @@ function uo({
2565
2565
  justifyContent: "center",
2566
2566
  zIndex: 2
2567
2567
  },
2568
- children: /* @__PURE__ */ e($e, { total: u, active: r })
2568
+ children: /* @__PURE__ */ e(Oe, { total: d, active: r })
2569
2569
  }
2570
2570
  )
2571
2571
  ]
2572
2572
  }
2573
2573
  ),
2574
2574
  /* @__PURE__ */ e(
2575
- j,
2575
+ z,
2576
2576
  {
2577
2577
  sx: {
2578
2578
  position: "absolute",
2579
- bottom: { xs: 10, sm: 10 },
2579
+ bottom: { xs: 0, sm: 12 },
2580
2580
  left: 120,
2581
2581
  right: 120,
2582
2582
  "@media (max-width:1024px)": {
@@ -2585,8 +2585,7 @@ function uo({
2585
2585
  },
2586
2586
  backgroundColor: "#363636",
2587
2587
  borderRadius: 2,
2588
- py: { xs: 0.8, md: 1.2 },
2589
- px: { xs: 1.5, md: 2 },
2588
+ p: 1.5,
2590
2589
  display: "flex",
2591
2590
  justifyContent: "space-around",
2592
2591
  alignItems: "center",
@@ -2594,7 +2593,7 @@ function uo({
2594
2593
  zIndex: 3
2595
2594
  },
2596
2595
  children: n == null ? void 0 : n.map((o) => /* @__PURE__ */ l(
2597
- j,
2596
+ z,
2598
2597
  {
2599
2598
  sx: {
2600
2599
  display: "flex",
@@ -2614,7 +2613,7 @@ function uo({
2614
2613
  },
2615
2614
  children: [
2616
2615
  o.icon && /* @__PURE__ */ e(
2617
- j,
2616
+ z,
2618
2617
  {
2619
2618
  component: "img",
2620
2619
  src: o.icon,
@@ -2627,7 +2626,7 @@ function uo({
2627
2626
  }
2628
2627
  ),
2629
2628
  /* @__PURE__ */ e(
2630
- Se,
2629
+ Ce,
2631
2630
  {
2632
2631
  sx: {
2633
2632
  fontSize: { xs: 10, sm: 11, md: 12 },
@@ -2648,7 +2647,7 @@ function uo({
2648
2647
  }
2649
2648
  );
2650
2649
  }
2651
- const po = [
2650
+ const mo = [
2652
2651
  [
2653
2652
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/IBK.svg", alt: "Interbank" },
2654
2653
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/Yape.svg", alt: "Yape" }
@@ -2659,14 +2658,14 @@ const po = [
2659
2658
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
2660
2659
  ]
2661
2660
  ];
2662
- function mo({
2661
+ function ho({
2663
2662
  title: t = "Medios de pago",
2664
- rows: n = po
2663
+ rows: n = mo
2665
2664
  }) {
2666
2665
  const r = n.flat();
2667
- return /* @__PURE__ */ l(j, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
2666
+ return /* @__PURE__ */ l(z, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
2668
2667
  /* @__PURE__ */ e(
2669
- Se,
2668
+ Ce,
2670
2669
  {
2671
2670
  id: "mp-title",
2672
2671
  variant: "h6",
@@ -2680,7 +2679,7 @@ function mo({
2680
2679
  }
2681
2680
  ),
2682
2681
  /* @__PURE__ */ e(
2683
- j,
2682
+ z,
2684
2683
  {
2685
2684
  sx: {
2686
2685
  width: "288px",
@@ -2693,20 +2692,20 @@ function mo({
2693
2692
  }
2694
2693
  }
2695
2694
  ),
2696
- /* @__PURE__ */ e(j, { sx: { display: { xs: "block", md: "none" } }, children: n.map((i, u) => /* @__PURE__ */ e(
2697
- Ce,
2695
+ /* @__PURE__ */ e(z, { sx: { display: { xs: "block", md: "none" } }, children: n.map((i, d) => /* @__PURE__ */ e(
2696
+ Ee,
2698
2697
  {
2699
2698
  direction: "row",
2700
2699
  justifyContent: "center",
2701
2700
  alignItems: "center",
2702
2701
  gap: 2.5,
2703
2702
  flexWrap: "wrap",
2704
- children: i.map((o) => /* @__PURE__ */ e(ge, { ...o }, `${o.src}-${o.alt}`))
2703
+ children: i.map((o) => /* @__PURE__ */ e(fe, { ...o }, `${o.src}-${o.alt}`))
2705
2704
  },
2706
- u
2705
+ d
2707
2706
  )) }),
2708
2707
  /* @__PURE__ */ e(
2709
- j,
2708
+ z,
2710
2709
  {
2711
2710
  sx: {
2712
2711
  mt: 3,
@@ -2717,257 +2716,258 @@ function mo({
2717
2716
  gridTemplateColumns: { md: "repeat(auto-fit, 160px)" },
2718
2717
  justifyContent: { md: "center" }
2719
2718
  },
2720
- children: r.map((i) => /* @__PURE__ */ e(ge, { ...i }, `${i.src}-${i.alt}`))
2719
+ children: r.map((i) => /* @__PURE__ */ e(fe, { ...i }, `${i.src}-${i.alt}`))
2721
2720
  }
2722
2721
  )
2723
2722
  ] });
2724
2723
  }
2725
- const ho = {
2726
- OraculoSeccionDestacados: At,
2727
- OraculoSeccionTopJuegos: Gt,
2728
- OraculoSeccionCasinoEnVivo: Dt,
2729
- OraculoSeccionCasino: Ht,
2730
- OraculoSeccionVirtuales: qt,
2731
- OraculoSeccionClubOlimpo: Qt,
2732
- OraculoSeccionBonoBienvenida: Xt,
2733
- OraculoSeccionBanners: uo,
2734
- OraculoSeccionMediosPago: mo,
2735
- OraculoSeccionEventoEnVivo: ro,
2736
- OraculoSeccionEventoSemana: lo,
2737
- OraculoSeccionEventoCombinadas: eo
2738
- }, go = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, fo = (t) => /^OraculoSeccion[A-Z]/.test(t), xo = Object.fromEntries(
2739
- Object.entries(ho).filter(
2740
- ([t, n]) => fo(t) && go(n)
2724
+ const go = {
2725
+ OraculoSeccionDestacados: Gt,
2726
+ OraculoSeccionTopJuegos: Ut,
2727
+ OraculoSeccionCasinoEnVivo: Vt,
2728
+ OraculoSeccionCasino: Kt,
2729
+ OraculoSeccionVirtuales: Jt,
2730
+ OraculoSeccionClubOlimpo: Yt,
2731
+ OraculoSeccionBonoBienvenida: Qt,
2732
+ OraculoSeccionBanners: po,
2733
+ OraculoSeccionMediosPago: ho,
2734
+ OraculoSeccionEventoEnVivo: ao,
2735
+ OraculoSeccionEventoSemana: uo,
2736
+ OraculoSeccionEventoCombinadas: to
2737
+ }, fo = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, xo = (t) => /^OraculoSeccion[A-Z]/.test(t), bo = Object.fromEntries(
2738
+ Object.entries(go).filter(
2739
+ ([t, n]) => xo(t) && fo(n)
2741
2740
  )
2742
2741
  );
2743
- class ve extends Error {
2742
+ class ye extends Error {
2744
2743
  constructor(n, r, i) {
2745
2744
  super(`HTTP ${n} ${i}`), this.status = n, this.url = r, this.statusText = i, this.name = "HttpError";
2746
2745
  }
2747
2746
  }
2748
- const ye = [
2747
+ const we = [
2749
2748
  "OraculoSeccionEventoEnVivo",
2750
2749
  "OraculoSeccionEventoSemana",
2751
2750
  "OraculoSeccionEventoCombinadas"
2752
- ], Po = ({
2751
+ ], Bo = ({
2753
2752
  sectionsOverride: t,
2754
2753
  docId: n = "home",
2755
- db: r
2754
+ db: r,
2755
+ loader: i
2756
2756
  }) => {
2757
- const [i, u] = z(
2757
+ const [d, o] = A(
2758
2758
  []
2759
- ), [o, a] = z(!1), [p, m] = z({}), [g, b] = z({}), [k, s] = z({}), c = Me("(min-width:1024px)");
2760
- Q(() => {
2759
+ ), [a, u] = A(!1), [p, h] = A({}), [_, k] = A({}), [s, c] = A({}), g = Fe("(min-width:1024px)");
2760
+ Y(() => {
2761
2761
  if (t || !r) return;
2762
- a(!0);
2763
- const d = De(
2764
- Ve(r, "landings", n),
2765
- (h) => {
2766
- var w;
2762
+ u(!0);
2763
+ const m = Ve(
2764
+ He(r, "landings", n),
2765
+ (b) => {
2766
+ var y;
2767
2767
  try {
2768
- let f = h.exists() ? ((w = h.data()) == null ? void 0 : w.sections) || [] : [];
2769
- f = f.slice().sort((y, I) => {
2770
- var B, L;
2771
- return ((B = y.order) != null ? B : 0) - ((L = I.order) != null ? L : 0);
2772
- }).map((y, I) => ({ ...y, order: I + 1 })), u(f), console.log("fetched: ", f);
2773
- } catch (f) {
2774
- console.error("Error procesando landings/" + n, f);
2768
+ let v = b.exists() ? ((y = b.data()) == null ? void 0 : y.sections) || [] : [];
2769
+ v = v.slice().sort((w, I) => {
2770
+ var R, W;
2771
+ return ((R = w.order) != null ? R : 0) - ((W = I.order) != null ? W : 0);
2772
+ }).map((w, I) => ({ ...w, order: I + 1 })), o(v), console.log("fetched: ", v);
2773
+ } catch (v) {
2774
+ console.error("Error procesando landings/" + n, v);
2775
2775
  } finally {
2776
- a(!1);
2776
+ u(!1);
2777
2777
  }
2778
2778
  },
2779
- (h) => {
2780
- console.error("Error escuchando landings/" + n, h), a(!1);
2779
+ (b) => {
2780
+ console.error("Error escuchando landings/" + n, b), u(!1);
2781
2781
  }
2782
2782
  );
2783
- return () => d();
2784
- }, [t, n, r]), Q(() => {
2785
- (t ? t.slice() : i.slice()).map((w) => w.componentKey).filter((w) => !!w).length;
2786
- }, [t, i]);
2787
- const x = async (d) => {
2788
- if (ye.includes(d.componentKey))
2783
+ return () => m();
2784
+ }, [t, n, r]), Y(() => {
2785
+ (t ? t.slice() : d.slice()).map((y) => y.componentKey).filter((y) => !!y).length;
2786
+ }, [t, d]);
2787
+ const O = async (m) => {
2788
+ if (we.includes(m.componentKey))
2789
2789
  return {
2790
2790
  // whatever empty structure your UI expects
2791
2791
  items: [],
2792
2792
  events: [],
2793
2793
  data: {}
2794
2794
  };
2795
- const h = (d.apiUrl || "").trim();
2796
- if (!h) return;
2797
- const w = d.apiMethod || "GET", f = d.apiParams || [];
2798
- let y = h, I, B;
2799
- if (w === "GET") {
2800
- const W = new URL(
2801
- h,
2795
+ const b = (m.apiUrl || "").trim();
2796
+ if (!b) return;
2797
+ const y = m.apiMethod || "GET", v = m.apiParams || [];
2798
+ let w = b, I, R;
2799
+ if (y === "GET") {
2800
+ const G = new URL(
2801
+ b,
2802
2802
  typeof window == "undefined" ? "http://localhost" : window.location.origin
2803
2803
  );
2804
- for (const A of f)
2805
- A.key && W.searchParams.append(A.key, A.value);
2806
- y = W.toString();
2804
+ for (const j of v)
2805
+ j.key && G.searchParams.append(j.key, j.value);
2806
+ w = G.toString();
2807
2807
  } else {
2808
- const W = new URLSearchParams();
2809
- for (const A of f)
2810
- A.key && W.append(A.key, A.value);
2811
- I = W.toString(), B = {
2808
+ const G = new URLSearchParams();
2809
+ for (const j of v)
2810
+ j.key && G.append(j.key, j.value);
2811
+ I = G.toString(), R = {
2812
2812
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
2813
2813
  };
2814
2814
  }
2815
- const L = await fetch(y, {
2816
- method: w,
2817
- headers: B,
2815
+ const W = await fetch(w, {
2816
+ method: y,
2817
+ headers: R,
2818
2818
  body: I
2819
2819
  });
2820
- if (!L.ok) throw new ve(L.status, y, L.statusText);
2821
- return L.json();
2822
- }, $ = oe(
2823
- () => t ? t.slice() : i.slice(),
2824
- [t, i]
2825
- ), v = Le.useRef(/* @__PURE__ */ new Set());
2826
- Q(() => {
2827
- const d = $.map((h) => ({ s: h, url: (h.apiUrl || "").trim() })).filter(({ url: h }) => !!h);
2828
- if (d.length)
2829
- for (const { s: h, url: w } of d) {
2830
- const f = `${h.id}|${w}`;
2831
- v.current.has(f) || (v.current.add(f), b((y) => ({ ...y, [h.id]: !0 })), s((y) => ({ ...y, [h.id]: "" })), (async () => {
2820
+ if (!W.ok) throw new ye(W.status, w, W.statusText);
2821
+ return W.json();
2822
+ }, x = oe(
2823
+ () => t ? t.slice() : d.slice(),
2824
+ [t, d]
2825
+ ), C = We.useRef(/* @__PURE__ */ new Set());
2826
+ Y(() => {
2827
+ const m = x.map((b) => ({ s: b, url: (b.apiUrl || "").trim() })).filter(({ url: b }) => !!b);
2828
+ if (m.length)
2829
+ for (const { s: b, url: y } of m) {
2830
+ const v = `${b.id}|${y}`;
2831
+ C.current.has(v) || (C.current.add(v), k((w) => ({ ...w, [b.id]: !0 })), c((w) => ({ ...w, [b.id]: "" })), (async () => {
2832
2832
  try {
2833
- const y = await x(h);
2834
- m((I) => ({ ...I, [h.id]: y }));
2835
- } catch (y) {
2833
+ const w = await O(b);
2834
+ h((I) => ({ ...I, [b.id]: w }));
2835
+ } catch (w) {
2836
2836
  let I = "Error desconocido";
2837
- y instanceof ve ? I = `Error HTTP ${y.status} (${y.statusText}) en ${y.url}` : y instanceof SyntaxError ? I = "Respuesta no es JSON válido" : y instanceof TypeError ? I = "Fallo de red / CORS / conexión" : typeof y == "string" && (I = y.toString()), s((B) => ({ ...B, [h.id]: I }));
2837
+ w instanceof ye ? I = `Error HTTP ${w.status} (${w.statusText}) en ${w.url}` : w instanceof SyntaxError ? I = "Respuesta no es JSON válido" : w instanceof TypeError ? I = "Fallo de red / CORS / conexión" : typeof w == "string" && (I = w.toString()), c((R) => ({ ...R, [b.id]: I }));
2838
2838
  } finally {
2839
- b((y) => ({ ...y, [h.id]: !1 }));
2839
+ k((w) => ({ ...w, [b.id]: !1 }));
2840
2840
  }
2841
2841
  })());
2842
2842
  }
2843
- }, [$]);
2844
- const C = oe(
2845
- () => $.filter((d) => d.visible).sort((d, h) => d.order - h.order),
2846
- [$]
2847
- ), N = (d) => Array.isArray(d) ? d.map((h) => {
2848
- const w = {};
2849
- for (const f of h.fields || []) {
2850
- const y = (f.type || "string").toLowerCase();
2851
- if (y === "number") {
2852
- const I = String(f.value || "").trim();
2843
+ }, [x]);
2844
+ const N = oe(
2845
+ () => x.filter((m) => m.visible).sort((m, b) => m.order - b.order),
2846
+ [x]
2847
+ ), f = (m) => Array.isArray(m) ? m.map((b) => {
2848
+ const y = {};
2849
+ for (const v of b.fields || []) {
2850
+ const w = (v.type || "string").toLowerCase();
2851
+ if (w === "number") {
2852
+ const I = String(v.value || "").trim();
2853
2853
  if (I !== "") {
2854
- const B = Number(I);
2855
- Number.isNaN(B) || (w[f.name] = B);
2854
+ const R = Number(I);
2855
+ Number.isNaN(R) || (y[v.name] = R);
2856
2856
  }
2857
- } else if (y === "boolean")
2858
- w[f.name] = String(f.value).toLowerCase() === "true";
2859
- else if (y === "function") {
2860
- const I = String(f.value || "").trim();
2857
+ } else if (w === "boolean")
2858
+ y[v.name] = String(v.value).toLowerCase() === "true";
2859
+ else if (w === "function") {
2860
+ const I = String(v.value || "").trim();
2861
2861
  if (I)
2862
2862
  try {
2863
- const B = new Function(I);
2864
- w[f.name] = B;
2865
- } catch (B) {
2866
- console.error(`❌ Error creando función en item '${f.name}':`, B);
2863
+ const R = new Function(I);
2864
+ y[v.name] = R;
2865
+ } catch (R) {
2866
+ console.error(`❌ Error creando función en item '${v.name}':`, R);
2867
2867
  }
2868
- } else w[f.name] = f.value;
2868
+ } else y[v.name] = v.value;
2869
2869
  }
2870
- return w;
2871
- }) : [], _ = (d) => {
2872
- const h = {};
2873
- if (!Array.isArray(d)) return h;
2874
- for (const w of d) {
2875
- if (!w.name) continue;
2876
- const f = (w.type || "string").toLowerCase();
2877
- if (f === "number") {
2878
- const y = String(w.value || "").trim();
2879
- if (y !== "") {
2880
- const I = Number(y);
2881
- Number.isNaN(I) || (h[w.name] = I);
2870
+ return y;
2871
+ }) : [], E = (m) => {
2872
+ const b = {};
2873
+ if (!Array.isArray(m)) return b;
2874
+ for (const y of m) {
2875
+ if (!y.name) continue;
2876
+ const v = (y.type || "string").toLowerCase();
2877
+ if (v === "number") {
2878
+ const w = String(y.value || "").trim();
2879
+ if (w !== "") {
2880
+ const I = Number(w);
2881
+ Number.isNaN(I) || (b[y.name] = I);
2882
2882
  }
2883
- } else if (f === "boolean")
2884
- h[w.name] = String(w.value).toLowerCase() === "true";
2885
- else if (f === "function") {
2886
- const y = String(w.value || "").trim();
2887
- if (y)
2883
+ } else if (v === "boolean")
2884
+ b[y.name] = String(y.value).toLowerCase() === "true";
2885
+ else if (v === "function") {
2886
+ const w = String(y.value || "").trim();
2887
+ if (w)
2888
2888
  try {
2889
- const I = new Function(y);
2890
- h[w.name] = I;
2889
+ const I = new Function(w);
2890
+ b[y.name] = I;
2891
2891
  } catch (I) {
2892
- console.error(`❌ Error creando función en item '${w.name}':`, I);
2892
+ console.error(`❌ Error creando función en item '${y.name}':`, I);
2893
2893
  }
2894
- } else h[w.name] = w.value;
2894
+ } else b[y.name] = y.value;
2895
2895
  }
2896
- return h;
2897
- }, S = (d, h, w) => {
2898
- const f = w ? { ...w } : {};
2899
- if (h) {
2900
- const A = (h.variableName || "items").trim() || "items";
2901
- return f[A] = h.arr || [], f;
2896
+ return b;
2897
+ }, P = (m, b, y) => {
2898
+ const v = y ? { ...y } : {};
2899
+ if (b) {
2900
+ const j = (b.variableName || "items").trim() || "items";
2901
+ return v[j] = b.arr || [], v;
2902
2902
  }
2903
- const y = d, I = Array.isArray(y), B = !I && typeof y == "object" && y !== null ? y : void 0, L = B && Array.isArray(B.lobby || B.items) ? B.lobby || B.items : void 0, W = (A) => I ? y : L || A;
2904
- return f.items = W(L || []), f;
2905
- }, P = (d) => {
2903
+ const w = m, I = Array.isArray(w), R = !I && typeof w == "object" && w !== null ? w : void 0, W = R && Array.isArray(R.lobby || R.items) ? R.lobby || R.items : void 0, G = (j) => I ? w : W || j;
2904
+ return v.items = G(W || []), v;
2905
+ }, T = (m) => {
2906
2906
  var I;
2907
- const h = !!((I = d.apiUrl) != null && I.trim()), w = h ? p[d.id] : void 0;
2908
- let f = d.props ? { ...d.props } : {};
2909
- const y = _(d.manualScalarFields);
2910
- if (ye.includes(d.componentKey))
2911
- return { items: w, ...f, ...y };
2912
- if (f = { ...f, ...y }, h) f = S(w, null, f);
2913
- else if (d.dataMode === "manual") {
2914
- const B = N(d.manualItems);
2915
- if (f = S(
2907
+ const b = !!((I = m.apiUrl) != null && I.trim()), y = b ? p[m.id] : void 0;
2908
+ let v = m.props ? { ...m.props } : {};
2909
+ const w = E(m.manualScalarFields);
2910
+ if (we.includes(m.componentKey))
2911
+ return { items: y, ...v, ...w };
2912
+ if (v = { ...v, ...w }, b) v = P(y, null, v);
2913
+ else if (m.dataMode === "manual") {
2914
+ const R = f(m.manualItems);
2915
+ if (v = P(
2916
2916
  null,
2917
- { arr: B, variableName: d.variableName },
2918
- f
2919
- ), d.variableName2 && d.manualItems2) {
2920
- const L = N(d.manualItems2), W = (d.variableName2 || "items2").trim() || "items2";
2921
- f[W] = L;
2917
+ { arr: R, variableName: m.variableName },
2918
+ v
2919
+ ), m.variableName2 && m.manualItems2) {
2920
+ const W = f(m.manualItems2), G = (m.variableName2 || "items2").trim() || "items2";
2921
+ v[G] = W;
2922
2922
  }
2923
2923
  }
2924
- return f;
2925
- }, T = (d, h, w) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
2924
+ return v;
2925
+ }, S = (m, b, y) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
2926
2926
  loading: "bg-blue-100 text-blue-800",
2927
2927
  error: "bg-red-100 text-red-800",
2928
2928
  component: "bg-yellow-100 text-yellow-800"
2929
- }[h]}`, children: w }, d), E = (d) => {
2930
- var me;
2931
- const h = d.componentKey, w = xo[h];
2932
- if (!w)
2933
- return console.warn(`No hay componente registrado para "${h}"`), T(
2934
- d.id,
2929
+ }[b]}`, children: y }, m), B = (m) => {
2930
+ var he;
2931
+ const b = m.componentKey, y = bo[b];
2932
+ if (!y)
2933
+ return console.warn(`No hay componente registrado para "${b}"`), S(
2934
+ m.id,
2935
2935
  "component",
2936
- `Componente "${h}" no encontrado`
2936
+ `Componente "${b}" no encontrado`
2937
2937
  );
2938
- const f = !!((me = d.apiUrl) != null && me.trim()), y = f ? p[d.id] : void 0, I = f ? !!g[d.id] : !1, B = f ? k[d.id] : "";
2939
- if (f) {
2940
- if (I && !y)
2941
- return T(
2942
- d.id,
2938
+ const v = !!((he = m.apiUrl) != null && he.trim()), w = v ? p[m.id] : void 0, I = v ? !!_[m.id] : !1, R = v ? s[m.id] : "";
2939
+ if (v) {
2940
+ if (I && !w)
2941
+ return S(
2942
+ m.id,
2943
2943
  "loading",
2944
- `Cargando datos desde ${d.apiUrl}...`
2944
+ `Cargando datos desde ${m.apiUrl}...`
2945
2945
  );
2946
- if (B && !y)
2947
- return T(
2948
- d.id,
2946
+ if (R && !w)
2947
+ return S(
2948
+ m.id,
2949
2949
  "error",
2950
- `Error cargando ${d.apiUrl}: ${B}`
2950
+ `Error cargando ${m.apiUrl}: ${R}`
2951
2951
  );
2952
2952
  }
2953
- const L = P(d), A = (/* @__PURE__ */ new Set([
2953
+ const W = T(m), j = (/* @__PURE__ */ new Set([
2954
2954
  "OraculoSeccionBanners",
2955
2955
  "OraculoSeccionBonoBienvenida",
2956
2956
  "OraculoSeccionCasinoEnVivo",
2957
- c ? "" : "OraculoSeccionClubOlimpo"
2958
- ])).has(d.componentKey), Y = c ? 120 : 24;
2959
- return /* @__PURE__ */ e("div", { style: A ? {
2957
+ g ? "" : "OraculoSeccionClubOlimpo"
2958
+ ])).has(m.componentKey), me = g ? 120 : 24;
2959
+ return /* @__PURE__ */ e("div", { style: j ? {
2960
2960
  width: "100%",
2961
2961
  boxSizing: "border-box"
2962
2962
  } : {
2963
- paddingLeft: Y,
2964
- paddingRight: Y,
2963
+ paddingLeft: me,
2964
+ paddingRight: me,
2965
2965
  width: "100%",
2966
2966
  boxSizing: "border-box"
2967
- }, children: /* @__PURE__ */ e(w, { ...L }) }, d.id);
2967
+ }, children: /* @__PURE__ */ e(y, { ...W }) }, m.id);
2968
2968
  };
2969
- return o && !t ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-400", children: "Cargando preview..." }) : !o && !t && i.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
2970
- Fe,
2969
+ return a && !t ? i ? /* @__PURE__ */ e(i, {}) : /* @__PURE__ */ e("div", { children: "Cargando..." }) : !a && !t && d.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
2970
+ Le,
2971
2971
  {
2972
2972
  className: "oli-font",
2973
2973
  maxWidth: !1,
@@ -2981,47 +2981,55 @@ const ye = [
2981
2981
  maxWidth: "100%",
2982
2982
  overflowX: "hidden"
2983
2983
  },
2984
- children: /* @__PURE__ */ e(Ce, { direction: "column", spacing: 8, useFlexGap: !0, children: C.map(E) })
2984
+ children: /* @__PURE__ */ e(
2985
+ Ee,
2986
+ {
2987
+ direction: "column",
2988
+ spacing: g ? 8 : 5,
2989
+ useFlexGap: !0,
2990
+ children: N.map(B)
2991
+ }
2992
+ )
2985
2993
  }
2986
2994
  );
2987
2995
  };
2988
2996
  export {
2989
- F as OraculoButton,
2990
- q as OraculoCarousel,
2991
- $e as OraculoCarouselDots,
2992
- xt as OraculoClubOlimpoVisual,
2993
- It as OraculoEventCombinadasCard,
2994
- Pt as OraculoEventEnVivoCard,
2995
- Ye as OraculoEventHeader,
2996
- Oe as OraculoEventLabel,
2997
- Ie as OraculoEventLeague,
2998
- Ne as OraculoEventScore,
2999
- zt as OraculoEventSemanaCard,
3000
- Qe as OraculoEventStatus,
3001
- Xe as OraculoEventStatusBadge,
2997
+ L as OraculoButton,
2998
+ J as OraculoCarousel,
2999
+ Oe as OraculoCarouselDots,
3000
+ bt as OraculoClubOlimpoVisual,
3001
+ Nt as OraculoEventCombinadasCard,
3002
+ Bt as OraculoEventEnVivoCard,
3003
+ Ze as OraculoEventHeader,
3004
+ Ie as OraculoEventLabel,
3005
+ Ne as OraculoEventLeague,
3006
+ Te as OraculoEventScore,
3007
+ At as OraculoEventSemanaCard,
3008
+ Ye as OraculoEventStatus,
3009
+ Qe as OraculoEventStatusBadge,
3002
3010
  ne as OraculoEventTeamInfo,
3003
3011
  te as OraculoGameCard,
3004
- gt as OraculoGameRankCard,
3005
- Te as OraculoGameSlide,
3006
- V as OraculoGridGroup,
3007
- ft as OraculoLiveCasinoCard,
3008
- ge as OraculoLogoMediosPago,
3009
- Po as OraculoPageLandingPreview,
3010
- uo as OraculoSeccionBanners,
3011
- Xt as OraculoSeccionBonoBienvenida,
3012
- Ht as OraculoSeccionCasino,
3013
- Dt as OraculoSeccionCasinoEnVivo,
3014
- Qt as OraculoSeccionClubOlimpo,
3015
- At as OraculoSeccionDestacados,
3016
- eo as OraculoSeccionEventoCombinadas,
3017
- ro as OraculoSeccionEventoEnVivo,
3018
- lo as OraculoSeccionEventoSemana,
3019
- mo as OraculoSeccionMediosPago,
3020
- Gt as OraculoSeccionTopJuegos,
3021
- qt as OraculoSeccionVirtuales,
3022
- K as OraculoSectionTitle,
3023
- Gt as OraculoTopJuegoItem,
3024
- fe as OraculoWelcomeBanner,
3025
- Po as default
3012
+ ft as OraculoGameRankCard,
3013
+ Pe as OraculoGameSlide,
3014
+ H as OraculoGridGroup,
3015
+ xt as OraculoLiveCasinoCard,
3016
+ fe as OraculoLogoMediosPago,
3017
+ Bo as OraculoPageLandingPreview,
3018
+ po as OraculoSeccionBanners,
3019
+ Qt as OraculoSeccionBonoBienvenida,
3020
+ Kt as OraculoSeccionCasino,
3021
+ Vt as OraculoSeccionCasinoEnVivo,
3022
+ Yt as OraculoSeccionClubOlimpo,
3023
+ Gt as OraculoSeccionDestacados,
3024
+ to as OraculoSeccionEventoCombinadas,
3025
+ ao as OraculoSeccionEventoEnVivo,
3026
+ uo as OraculoSeccionEventoSemana,
3027
+ ho as OraculoSeccionMediosPago,
3028
+ Ut as OraculoSeccionTopJuegos,
3029
+ Jt as OraculoSeccionVirtuales,
3030
+ q as OraculoSectionTitle,
3031
+ Ut as OraculoTopJuegoItem,
3032
+ xe as OraculoWelcomeBanner,
3033
+ Bo as default
3026
3034
  };
3027
3035
  //# sourceMappingURL=index.es.js.map