oraculo-ui 0.1.45 → 0.1.47

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,57 +1,57 @@
1
- import { jsx as e, jsxs as p, Fragment as Q } from "react/jsx-runtime";
2
- import { Link as Ce, Box as z, Typography as me, Stack as ge, Container as we } from "@mui/material";
3
- import $e, { forwardRef as Ee, useRef as B, useImperativeHandle as Ie, useCallback as ie, useState as F, useMemo as ne, useLayoutEffect as Ne, useEffect as Z } from "react";
4
- import { Splide as ke, SplideSlide as Oe } from "@splidejs/react-splide";
5
- import w from "@mui/material/Box";
6
- import M from "@mui/material/Typography";
7
- import L from "@mui/material/Stack";
8
- import { ChevronLeftRounded as re, ChevronRightRounded as ae } from "@mui/icons-material";
9
- import he from "@mui/icons-material/ChevronLeftRounded";
10
- import fe from "@mui/icons-material/ChevronRightRounded";
11
- import Re from "@mui/material/useMediaQuery";
12
- import { onSnapshot as Te, doc as Pe } from "firebase/firestore";
13
- function R({
1
+ import { jsx as e, jsxs as p, Fragment as Y } from "react/jsx-runtime";
2
+ import { Link as _e, Box as F, Typography as pe, Stack as me, Container as Se } from "@mui/material";
3
+ import we, { forwardRef as Ce, useRef as B, useImperativeHandle as Ee, useCallback as re, useState as U, useMemo as te, useLayoutEffect as $e, useEffect as J } from "react";
4
+ import { Splide as Ie, SplideSlide as ke } from "@splidejs/react-splide";
5
+ import C from "@mui/material/Box";
6
+ import j from "@mui/material/Typography";
7
+ import z from "@mui/material/Stack";
8
+ import { ChevronLeftRounded as oe, ChevronRightRounded as ne } from "@mui/icons-material";
9
+ import ue from "@mui/icons-material/ChevronLeftRounded";
10
+ import ge from "@mui/icons-material/ChevronRightRounded";
11
+ import Ne from "@mui/material/useMediaQuery";
12
+ import { onSnapshot as Oe, doc as Re } from "firebase/firestore";
13
+ function T({
14
14
  children: t,
15
15
  onClick: i,
16
16
  href: r,
17
- target: a,
17
+ target: n,
18
18
  rel: c,
19
19
  type: o = "button",
20
- disabled: n = !1,
21
- variant: m = "primary",
20
+ disabled: a = !1,
21
+ variant: u = "primary",
22
22
  size: g,
23
- fullWidth: x = !1,
24
- fullHeight: h = !1,
25
- className: S = "",
23
+ fullWidth: y = !1,
24
+ fullHeight: x = !1,
25
+ className: w = "",
26
26
  ariaLabel: s,
27
27
  leftIcon: d,
28
28
  rightIcon: l,
29
- iconOnly: u
29
+ iconOnly: m
30
30
  }) {
31
- const v = !!t && t !== !0, O = (!!d ? 1 : 0) + (!!l ? 1 : 0) == 1, P = u != null ? u : O && !v, E = [
31
+ const _ = !!t && t !== !0, R = (!!d ? 1 : 0) + (!!l ? 1 : 0) == 1, P = m != null ? m : R && !_, I = [
32
32
  "orc-btn",
33
- m === "secondary" ? "orc-btn--secondary" : m === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
33
+ u === "secondary" ? "orc-btn--secondary" : u === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
34
34
  g ? `orc-btn--${g}` : "",
35
- x ? "orc-btn--full" : "",
36
- h ? "orc-btn--fullHeight" : "",
35
+ y ? "orc-btn--full" : "",
36
+ x ? "orc-btn--fullHeight" : "",
37
37
  P ? "orc-btn--iconOnly" : "",
38
- S
39
- ].filter(Boolean).join(" "), N = /* @__PURE__ */ p(Q, { children: [
38
+ w
39
+ ].filter(Boolean).join(" "), N = /* @__PURE__ */ p(Y, { children: [
40
40
  d && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: d }),
41
41
  !P && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
42
42
  l && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: l })
43
- ] }), U = n ? !0 : void 0;
43
+ ] }), f = a ? !0 : void 0;
44
44
  return r ? /* @__PURE__ */ e(
45
- Ce,
45
+ _e,
46
46
  {
47
47
  href: r,
48
- target: a,
48
+ target: n,
49
49
  rel: c,
50
50
  "aria-label": s,
51
- "aria-disabled": U,
52
- tabIndex: U ? -1 : void 0,
53
- className: E,
54
- onClick: U ? (W) => W.preventDefault() : i,
51
+ "aria-disabled": f,
52
+ tabIndex: f ? -1 : void 0,
53
+ className: I,
54
+ onClick: f ? (h) => h.preventDefault() : i,
55
55
  children: N
56
56
  }
57
57
  ) : /* @__PURE__ */ e(
@@ -59,23 +59,23 @@ function R({
59
59
  {
60
60
  type: o,
61
61
  onClick: i,
62
- disabled: !!U,
62
+ disabled: !!f,
63
63
  "aria-label": s,
64
- className: E,
64
+ className: I,
65
65
  children: N
66
66
  }
67
67
  );
68
68
  }
69
- function X({
69
+ function D({
70
70
  title: t,
71
71
  iconUrl: i,
72
72
  size: r = "md",
73
- className: a = ""
73
+ className: n = ""
74
74
  }) {
75
75
  const o = [
76
76
  "orc-section-title",
77
77
  r ? `orc-section-title--${r}` : "",
78
- a
78
+ n
79
79
  ].filter(Boolean).join(" ");
80
80
  return /* @__PURE__ */ p("div", { className: o, children: [
81
81
  i && /* @__PURE__ */ e(
@@ -89,51 +89,51 @@ function X({
89
89
  /* @__PURE__ */ e("h2", { className: "orc-section-title__title", children: t })
90
90
  ] });
91
91
  }
92
- const xe = ({
92
+ const he = ({
93
93
  total: t,
94
94
  active: i,
95
95
  onSelect: r,
96
- className: a = ""
96
+ className: n = ""
97
97
  }) => {
98
98
  if (t <= 1) return null;
99
- const c = ["orc-dots", a].filter(Boolean).join(" ");
100
- return /* @__PURE__ */ e("div", { className: c, role: "tablist", children: Array.from({ length: t }).map((o, n) => /* @__PURE__ */ e("span", { className: "orc-dots__cell", children: /* @__PURE__ */ e(
99
+ const c = ["orc-dots", n].filter(Boolean).join(" ");
100
+ return /* @__PURE__ */ e("div", { className: c, role: "tablist", children: Array.from({ length: t }).map((o, a) => /* @__PURE__ */ e("span", { className: "orc-dots__cell", children: /* @__PURE__ */ e(
101
101
  "button",
102
102
  {
103
103
  type: "button",
104
104
  role: "tab",
105
- "aria-selected": n === i,
106
- "aria-label": `Ir al slide ${n + 1}`,
107
- className: "orc-dots__dot" + (n === i ? " orc-dots__dot--active" : ""),
108
- onClick: () => r == null ? void 0 : r(n)
105
+ "aria-selected": a === i,
106
+ "aria-label": `Ir al slide ${a + 1}`,
107
+ className: "orc-dots__dot" + (a === i ? " orc-dots__dot--active" : ""),
108
+ onClick: () => r == null ? void 0 : r(a)
109
109
  }
110
- ) }, n)) });
110
+ ) }, a)) });
111
111
  };
112
- function D({
112
+ function G({
113
113
  children: t,
114
114
  minWidth: i = 32,
115
115
  spacing: r = 2,
116
- justify: a = "stretch",
116
+ justify: n = "stretch",
117
117
  columns: c = null
118
118
  }) {
119
- const o = c || `repeat(auto-fit, minmax(${i}px, 1fr))`, n = typeof r == "number" ? `${r * 8}px` : r;
119
+ const o = c || `repeat(auto-fit, minmax(${i}px, 1fr))`, a = typeof r == "number" ? `${r * 8}px` : r;
120
120
  return /* @__PURE__ */ e(
121
121
  "div",
122
122
  {
123
123
  style: {
124
124
  display: "grid",
125
125
  gridTemplateColumns: o,
126
- justifyItems: a,
127
- gap: n,
126
+ justifyItems: n,
127
+ gap: a,
128
128
  height: "inherit"
129
129
  },
130
130
  children: t
131
131
  }
132
132
  );
133
133
  }
134
- function se({ src: t, alt: i }) {
134
+ function ae({ src: t, alt: i }) {
135
135
  return /* @__PURE__ */ e(
136
- z,
136
+ F,
137
137
  {
138
138
  sx: {
139
139
  position: "relative",
@@ -144,7 +144,7 @@ function se({ src: t, alt: i }) {
144
144
  display: "inline-block"
145
145
  },
146
146
  children: /* @__PURE__ */ e(
147
- z,
147
+ F,
148
148
  {
149
149
  component: "img",
150
150
  src: t,
@@ -162,7 +162,7 @@ function se({ src: t, alt: i }) {
162
162
  }
163
163
  );
164
164
  }
165
- function Fe({ title: t, subtitle: i }) {
165
+ function Te({ title: t, subtitle: i }) {
166
166
  return /* @__PURE__ */ p(
167
167
  "div",
168
168
  {
@@ -217,7 +217,7 @@ function Fe({ title: t, subtitle: i }) {
217
217
  }
218
218
  );
219
219
  }
220
- function Ue({ text: t, color: i = "#ff3b3b", textColor: r = "#fff" }) {
220
+ function Pe({ text: t, color: i = "#ff3b3b", textColor: r = "#fff" }) {
221
221
  return /* @__PURE__ */ e(
222
222
  "span",
223
223
  {
@@ -238,13 +238,13 @@ function Ue({ text: t, color: i = "#ff3b3b", textColor: r = "#fff" }) {
238
238
  }
239
239
  );
240
240
  }
241
- function ze({ live: t, time: i }) {
241
+ function Fe({ live: t, time: i }) {
242
242
  return /* @__PURE__ */ p("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
243
- t && /* @__PURE__ */ e(Ue, { text: "En vivo" }),
243
+ t && /* @__PURE__ */ e(Pe, { text: "En vivo" }),
244
244
  i && /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: i })
245
245
  ] });
246
246
  }
247
- function We({ title: t, subtitle: i, live: r = !1, time: a = "" }) {
247
+ function Ue({ title: t, subtitle: i, live: r = !1, time: n = "" }) {
248
248
  return /* @__PURE__ */ p(
249
249
  "div",
250
250
  {
@@ -255,94 +255,94 @@ function We({ title: t, subtitle: i, live: r = !1, time: a = "" }) {
255
255
  color: "#FFFFFF"
256
256
  },
257
257
  children: [
258
- /* @__PURE__ */ e(Fe, { title: t, subtitle: i }),
259
- /* @__PURE__ */ e(ze, { live: r, time: a })
258
+ /* @__PURE__ */ e(Te, { title: t, subtitle: i }),
259
+ /* @__PURE__ */ e(Fe, { live: r, time: n })
260
260
  ]
261
261
  }
262
262
  );
263
263
  }
264
- const Le = "oraculo__OraculoEventLabel-module__label___c64Xw", je = {
265
- label: Le
264
+ const ze = "oraculo__OraculoEventLabel-module__label___c64Xw", Le = {
265
+ label: ze
266
266
  };
267
- function ve({ text: t }) {
268
- return /* @__PURE__ */ e("span", { className: je.label, children: t });
267
+ function fe({ text: t }) {
268
+ return /* @__PURE__ */ e("span", { className: Le.label, children: t });
269
269
  }
270
- const Ae = "oraculo__OraculoEventLeague-module__container___rdk4F", Ge = {
270
+ const Ae = "oraculo__OraculoEventLeague-module__container___rdk4F", We = {
271
271
  container: Ae
272
272
  };
273
273
  function Be({ title: t }) {
274
- return /* @__PURE__ */ e("div", { className: Ge.container, children: t.toUpperCase() });
274
+ return /* @__PURE__ */ e("div", { className: We.container, children: t.toUpperCase() });
275
275
  }
276
- const Me = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", De = "oraculo__OraculoEventScore-module__name___r4uL6", He = "oraculo__OraculoEventScore-module__score___Xl03M", Xe = "oraculo__OraculoEventScore-module__normal___cCNFz", Je = "oraculo__OraculoEventScore-module__small___fVt8E", K = {
277
- scoreWrapper: Me,
278
- name: De,
279
- score: He,
280
- normal: Xe,
281
- small: Je
276
+ const je = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Ge = "oraculo__OraculoEventScore-module__name___r4uL6", Me = "oraculo__OraculoEventScore-module__score___Xl03M", De = "oraculo__OraculoEventScore-module__normal___cCNFz", He = "oraculo__OraculoEventScore-module__small___fVt8E", X = {
277
+ scoreWrapper: je,
278
+ name: Ge,
279
+ score: Me,
280
+ normal: De,
281
+ small: He
282
282
  };
283
- function be({ text: t, name: i, size: r = "normal" }) {
283
+ function xe({ text: t, name: i, size: r = "normal" }) {
284
284
  return /* @__PURE__ */ p(
285
285
  "div",
286
286
  {
287
- className: `${K.scoreWrapper} ${K[r]}`,
287
+ className: `${X.scoreWrapper} ${X[r]}`,
288
288
  children: [
289
- /* @__PURE__ */ e("div", { className: `${K.score} ${K[r]}`, children: t }),
290
- i && /* @__PURE__ */ e("span", { className: `${K.name} ${K[r]}`, children: i })
289
+ /* @__PURE__ */ e("div", { className: `${X.score} ${X[r]}`, children: t }),
290
+ i && /* @__PURE__ */ e("span", { className: `${X.name} ${X[r]}`, children: i })
291
291
  ]
292
292
  }
293
293
  );
294
294
  }
295
- const Ke = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", qe = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", Ye = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", Qe = "oraculo__OraculoEventTeamInfo-module__regular___ag826", Ze = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", q = {
296
- team: Ke,
297
- logo: qe,
298
- name: Ye,
299
- regular: Qe,
300
- compact: Ze
295
+ const Xe = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", Je = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", Ke = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", qe = "oraculo__OraculoEventTeamInfo-module__regular___ag826", Ye = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", K = {
296
+ team: Xe,
297
+ logo: Je,
298
+ name: Ke,
299
+ regular: qe,
300
+ compact: Ye
301
301
  };
302
- function V({ name: t, logo: i, size: r = "regular" }) {
303
- return /* @__PURE__ */ p("div", { className: `oli-font ${q.team} ${q[r]}`, children: [
304
- /* @__PURE__ */ e("img", { src: i, alt: t, className: q.logo }),
305
- /* @__PURE__ */ e("span", { className: q.name, children: t })
302
+ function Q({ name: t, logo: i, size: r = "regular" }) {
303
+ return /* @__PURE__ */ p("div", { className: `oli-font ${K.team} ${K[r]}`, children: [
304
+ /* @__PURE__ */ e("img", { src: i, alt: t, className: K.logo }),
305
+ /* @__PURE__ */ e("span", { className: K.name, children: t })
306
306
  ] });
307
307
  }
308
- const Ve = ke, et = Oe, J = Ee(
308
+ const Qe = Ie, Ze = ke, H = Ce(
309
309
  ({
310
310
  items: t = [],
311
311
  renderItem: i,
312
312
  perPage: r = 1,
313
- gap: a = "0px",
313
+ gap: n = "0px",
314
314
  breakpoints: c,
315
315
  options: o = {},
316
- className: n = "",
317
- onMove: m,
316
+ className: a = "",
317
+ onMove: u,
318
318
  useIndexAsKey: g = !1
319
- }, x) => {
320
- const h = B(null);
321
- Ie(x, () => ({
319
+ }, y) => {
320
+ const x = B(null);
321
+ Ee(y, () => ({
322
322
  next: () => {
323
323
  var l;
324
- return (l = h.current) == null ? void 0 : l.go(">");
324
+ return (l = x.current) == null ? void 0 : l.go(">");
325
325
  },
326
326
  prev: () => {
327
327
  var l;
328
- return (l = h.current) == null ? void 0 : l.go("<");
328
+ return (l = x.current) == null ? void 0 : l.go("<");
329
329
  },
330
330
  go: (l) => {
331
- var u;
332
- return (u = h.current) == null ? void 0 : u.go(l);
331
+ var m;
332
+ return (m = x.current) == null ? void 0 : m.go(l);
333
333
  }
334
334
  }));
335
- const S = ie(
335
+ const w = re(
336
336
  (l) => {
337
- const u = l.index, v = l.length, I = l.options.perPage || 1, $ = u === 0, O = u >= v - I;
338
- m == null || m({ index: u, isStart: $, isEnd: O, total: v });
337
+ const m = l.index, _ = l.length, k = l.options.perPage || 1, E = m === 0, R = m >= _ - k;
338
+ u == null || u({ index: m, isStart: E, isEnd: R, total: _ });
339
339
  },
340
- [m]
341
- ), s = ie(
340
+ [u]
341
+ ), s = re(
342
342
  (l) => {
343
- S(l);
343
+ w(l);
344
344
  },
345
- [S]
345
+ [w]
346
346
  ), d = {
347
347
  type: "slide",
348
348
  trimSpace: !1,
@@ -353,35 +353,35 @@ const Ve = ke, et = Oe, J = Ee(
353
353
  focus: "start",
354
354
  autoWidth: !1,
355
355
  perPage: r,
356
- gap: a,
356
+ gap: n,
357
357
  breakpoints: c,
358
358
  ...o
359
359
  };
360
- return /* @__PURE__ */ e("div", { className: n, style: { width: "100%" }, children: /* @__PURE__ */ e(
361
- Ve,
360
+ return /* @__PURE__ */ e("div", { className: a, style: { width: "100%" }, children: /* @__PURE__ */ e(
361
+ Qe,
362
362
  {
363
- ref: h,
363
+ ref: x,
364
364
  options: d,
365
- onMove: S,
365
+ onMove: w,
366
366
  onMounted: s,
367
- children: t.map((l, u) => {
368
- var v;
369
- return /* @__PURE__ */ e(et, { children: i(l, u) }, g ? u : (v = l.id) != null ? v : u);
367
+ children: t.map((l, m) => {
368
+ var _;
369
+ return /* @__PURE__ */ e(Ze, { children: i(l, m) }, g ? m : (_ = l.id) != null ? _ : m);
370
370
  })
371
371
  }
372
372
  ) });
373
373
  }
374
- ), Y = ({
374
+ ), q = ({
375
375
  imageUrl: t,
376
376
  onClick: i,
377
377
  size: r = "sm",
378
- fillParent: a = !1
378
+ fillParent: n = !1
379
379
  }) => {
380
- const c = r === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, o = (m) => {
381
- m.stopPropagation(), i == null || i();
382
- }, n = a ? { width: "100%", height: "100%" } : { width: `${c.w}px`, height: `${c.h}px` };
380
+ const c = r === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, o = (u) => {
381
+ u.stopPropagation(), i == null || i();
382
+ }, a = n ? { width: "100%", height: "100%" } : { width: `${c.w}px`, height: `${c.h}px` };
383
383
  return /* @__PURE__ */ p(
384
- w,
384
+ C,
385
385
  {
386
386
  onClick: i,
387
387
  role: "button",
@@ -391,7 +391,7 @@ const Ve = ke, et = Oe, J = Ee(
391
391
  overflow: "hidden",
392
392
  boxSizing: "border-box",
393
393
  transition: "transform .15s ease, box-shadow .15s ease",
394
- ...n,
394
+ ...a,
395
395
  "&:hover": {
396
396
  transform: "translateY(-2px)",
397
397
  boxShadow: 8,
@@ -423,7 +423,7 @@ const Ve = ke, et = Oe, J = Ee(
423
423
  }
424
424
  ),
425
425
  /* @__PURE__ */ e(
426
- w,
426
+ C,
427
427
  {
428
428
  className: "oraculo-game-card-overlay",
429
429
  sx: {
@@ -438,7 +438,7 @@ const Ve = ke, et = Oe, J = Ee(
438
438
  }
439
439
  ),
440
440
  /* @__PURE__ */ e(
441
- w,
441
+ C,
442
442
  {
443
443
  className: "oraculo-game-card-btn",
444
444
  sx: {
@@ -451,52 +451,52 @@ const Ve = ke, et = Oe, J = Ee(
451
451
  transition: "opacity .15s ease, transform .15s ease",
452
452
  pointerEvents: "none"
453
453
  },
454
- children: /* @__PURE__ */ e(R, { variant: "primary", size: "md", onClick: o, children: "JUGAR" })
454
+ children: /* @__PURE__ */ e(T, { variant: "primary", size: "md", onClick: o, children: "JUGAR" })
455
455
  }
456
456
  )
457
457
  ]
458
458
  }
459
459
  );
460
460
  };
461
- function tt({
461
+ function Ve({
462
462
  imageUrl: t,
463
463
  orden: i = 1,
464
464
  onClick: r,
465
- sizes: a = {
465
+ sizes: n = {
466
466
  xs: { w: 104, h: 112, r: 18, font: 48 },
467
467
  md: { w: 186, h: 264, r: 22.6, font: 64 }
468
468
  }
469
469
  }) {
470
- var h, S, s, d;
471
- const c = (l, u) => {
472
- var v, I, $, O;
470
+ var x, w, s, d;
471
+ const c = (l, m) => {
472
+ var _, k, E, R;
473
473
  return {
474
- xs: (I = (v = a.xs) == null ? void 0 : v[l]) != null ? I : u,
475
- md: (O = ($ = a.md) == null ? void 0 : $[l]) != null ? O : u
474
+ xs: (k = (_ = n.xs) == null ? void 0 : _[l]) != null ? k : m,
475
+ md: (R = (E = n.md) == null ? void 0 : E[l]) != null ? R : m
476
476
  };
477
- }, o = c("w", 186), n = c("h", 264), m = c("r", 22.6), g = c("font", 64), x = {
478
- xs: Math.round(((S = (h = a.xs) == null ? void 0 : h.font) != null ? S : 64) * 0.28),
479
- md: Math.round(((d = (s = a.md) == null ? void 0 : s.font) != null ? d : 64) * 0.28)
477
+ }, o = c("w", 186), a = c("h", 264), u = c("r", 22.6), g = c("font", 64), y = {
478
+ xs: Math.round(((w = (x = n.xs) == null ? void 0 : x.font) != null ? w : 64) * 0.28),
479
+ md: Math.round(((d = (s = n.md) == null ? void 0 : s.font) != null ? d : 64) * 0.28)
480
480
  };
481
481
  return /* @__PURE__ */ p(
482
- w,
482
+ C,
483
483
  {
484
484
  sx: {
485
485
  position: "relative",
486
486
  width: "100%",
487
487
  maxWidth: { xs: `${o.xs}px`, md: `${o.md}px` },
488
488
  aspectRatio: {
489
- xs: `${o.xs}/${n.xs}`,
490
- md: `${o.md}/${n.md}`
489
+ xs: `${o.xs}/${a.xs}`,
490
+ md: `${o.md}/${a.md}`
491
491
  },
492
- borderRadius: { xs: `${m.xs}px`, md: `${m.md}px` },
492
+ borderRadius: { xs: `${u.xs}px`, md: `${u.md}px` },
493
493
  boxSizing: "border-box",
494
494
  overflow: "visible",
495
- pb: { xs: `${x.xs}px`, md: `${x.md}px` }
495
+ pb: { xs: `${y.xs}px`, md: `${y.md}px` }
496
496
  },
497
497
  children: [
498
498
  /* @__PURE__ */ e(
499
- w,
499
+ C,
500
500
  {
501
501
  sx: {
502
502
  position: "absolute",
@@ -505,7 +505,7 @@ function tt({
505
505
  overflow: "hidden"
506
506
  },
507
507
  children: /* @__PURE__ */ e(
508
- Y,
508
+ q,
509
509
  {
510
510
  imageUrl: t,
511
511
  onClick: r,
@@ -516,15 +516,15 @@ function tt({
516
516
  }
517
517
  ),
518
518
  /* @__PURE__ */ e(
519
- w,
519
+ C,
520
520
  {
521
521
  component: "span",
522
522
  sx: {
523
523
  position: "absolute",
524
524
  left: 8,
525
525
  bottom: {
526
- xs: `-${x.xs}px`,
527
- md: `-${x.md}px`
526
+ xs: `-${y.xs}px`,
527
+ md: `-${y.md}px`
528
528
  },
529
529
  fontFamily: "secondary",
530
530
  fontSize: {
@@ -544,16 +544,16 @@ function tt({
544
544
  }
545
545
  );
546
546
  }
547
- const ot = ({
547
+ const et = ({
548
548
  logo: t,
549
549
  provider: i,
550
550
  providerName: r,
551
- machine: a,
551
+ machine: n,
552
552
  onClick: c
553
553
  }) => {
554
554
  var o;
555
555
  return /* @__PURE__ */ p(
556
- w,
556
+ C,
557
557
  {
558
558
  onClick: c,
559
559
  sx: {
@@ -577,11 +577,11 @@ const ot = ({
577
577
  },
578
578
  children: [
579
579
  /* @__PURE__ */ e(
580
- w,
580
+ C,
581
581
  {
582
582
  component: "img",
583
583
  src: t,
584
- alt: `Juego ${a != null ? a : ""}`,
584
+ alt: `Juego ${n != null ? n : ""}`,
585
585
  sx: {
586
586
  position: "absolute",
587
587
  inset: 0,
@@ -593,7 +593,7 @@ const ot = ({
593
593
  }
594
594
  ),
595
595
  /* @__PURE__ */ e(
596
- w,
596
+ C,
597
597
  {
598
598
  className: "orc-live-provider-label",
599
599
  sx: {
@@ -607,7 +607,7 @@ const ot = ({
607
607
  pointerEvents: "none"
608
608
  },
609
609
  children: /* @__PURE__ */ e(
610
- M,
610
+ j,
611
611
  {
612
612
  sx: {
613
613
  color: "#fff",
@@ -623,16 +623,16 @@ const ot = ({
623
623
  ]
624
624
  }
625
625
  );
626
- }, ee = 12, ye = ({
626
+ }, Z = 12, be = ({
627
627
  items: t,
628
628
  layout: i = "grid",
629
629
  onClick: r
630
630
  }) => {
631
- var a;
631
+ var n;
632
632
  if (i === "mosaic") {
633
633
  const c = t[0], o = t.slice(1, 5);
634
634
  return /* @__PURE__ */ p(
635
- w,
635
+ C,
636
636
  {
637
637
  sx: {
638
638
  display: "grid",
@@ -649,14 +649,14 @@ const ot = ({
649
649
  xs: "104px",
650
650
  md: "152px"
651
651
  },
652
- columnGap: `${ee}px`,
653
- rowGap: `${ee}px`,
652
+ columnGap: `${Z}px`,
653
+ rowGap: `${Z}px`,
654
654
  alignItems: "stretch",
655
655
  justifyItems: "stretch"
656
656
  },
657
657
  children: [
658
658
  c && /* @__PURE__ */ e(
659
- w,
659
+ C,
660
660
  {
661
661
  sx: {
662
662
  width: { xs: 184, md: 280 },
@@ -666,9 +666,9 @@ const ot = ({
666
666
  borderRadius: 2
667
667
  },
668
668
  children: /* @__PURE__ */ e(
669
- Y,
669
+ q,
670
670
  {
671
- imageUrl: `https://olimpo.bet${(a = c.imageUrl) != null ? a : ""}`,
671
+ imageUrl: `https://olimpo.bet${(n = c.imageUrl) != null ? n : ""}`,
672
672
  size: "lg",
673
673
  fillParent: !0,
674
674
  onClick: () => r == null ? void 0 : r(c, 0)
@@ -676,10 +676,10 @@ const ot = ({
676
676
  )
677
677
  }
678
678
  ),
679
- o.map((n, m) => {
679
+ o.map((a, u) => {
680
680
  var g;
681
681
  return /* @__PURE__ */ e(
682
- w,
682
+ C,
683
683
  {
684
684
  sx: {
685
685
  width: { xs: 104, md: 152 },
@@ -688,16 +688,16 @@ const ot = ({
688
688
  borderRadius: 2
689
689
  },
690
690
  children: /* @__PURE__ */ e(
691
- Y,
691
+ q,
692
692
  {
693
- imageUrl: `https://olimpo.bet${(g = n.imageUrl) != null ? g : ""}`,
693
+ imageUrl: `https://olimpo.bet${(g = a.imageUrl) != null ? g : ""}`,
694
694
  size: "sm",
695
695
  fillParent: !0,
696
- onClick: () => r == null ? void 0 : r(n, m + 1)
696
+ onClick: () => r == null ? void 0 : r(a, u + 1)
697
697
  }
698
698
  )
699
699
  },
700
- n.id
700
+ a.id
701
701
  );
702
702
  })
703
703
  ]
@@ -705,7 +705,7 @@ const ot = ({
705
705
  );
706
706
  }
707
707
  return /* @__PURE__ */ e(
708
- w,
708
+ C,
709
709
  {
710
710
  sx: {
711
711
  display: "grid",
@@ -717,78 +717,78 @@ const ot = ({
717
717
  xs: "repeat(2, 112px)",
718
718
  md: "repeat(2, 168px)"
719
719
  },
720
- gap: `${ee}px`,
720
+ gap: `${Z}px`,
721
721
  gridAutoFlow: "column"
722
722
  },
723
723
  children: t.map((c, o) => {
724
- var n, m;
724
+ var a, u;
725
725
  return /* @__PURE__ */ e(
726
- w,
726
+ C,
727
727
  {
728
728
  sx: {
729
729
  overflow: "hidden",
730
730
  borderRadius: 2
731
731
  },
732
732
  children: /* @__PURE__ */ e(
733
- Y,
733
+ q,
734
734
  {
735
- imageUrl: `https://olimpo.bet${(n = c.imageUrl) != null ? n : ""}`,
735
+ imageUrl: `https://olimpo.bet${(a = c.imageUrl) != null ? a : ""}`,
736
736
  size: "sm",
737
737
  fillParent: !0,
738
738
  onClick: () => r == null ? void 0 : r(c, o)
739
739
  }
740
740
  )
741
741
  },
742
- (m = c.id) != null ? m : o
742
+ (u = c.id) != null ? u : o
743
743
  );
744
744
  })
745
745
  }
746
746
  );
747
- }, ce = ({
747
+ }, ie = ({
748
748
  title: t,
749
749
  amount: i,
750
750
  subtitle: r,
751
- buttonText: a,
751
+ buttonText: n,
752
752
  onButtonClick: c,
753
753
  backgroundImage: o,
754
- alt: n,
755
- className: m = "",
754
+ alt: a,
755
+ className: u = "",
756
756
  variant: g = "small"
757
757
  }) => {
758
- const x = i ? i.slice(0, 2) : "", h = i ? i.slice(2) : "", S = g === "large";
758
+ const y = i ? i.slice(0, 2) : "", x = i ? i.slice(2) : "", w = g === "large";
759
759
  return /* @__PURE__ */ p(
760
- w,
760
+ C,
761
761
  {
762
- className: m,
762
+ className: u,
763
763
  sx: {
764
764
  position: "relative",
765
765
  width: "100%",
766
766
  maxWidth: {
767
767
  xs: 328,
768
- lg: S ? 618 : 456
768
+ lg: w ? 618 : 456
769
769
  },
770
770
  mx: "auto"
771
771
  },
772
772
  children: [
773
773
  o && /* @__PURE__ */ e(
774
- w,
774
+ C,
775
775
  {
776
776
  sx: {
777
777
  position: "relative",
778
778
  width: "100%",
779
779
  aspectRatio: {
780
780
  xs: "328 / 188",
781
- lg: S ? "618 / 346" : "456 / 272"
781
+ lg: w ? "618 / 346" : "456 / 272"
782
782
  },
783
783
  borderRadius: "14px",
784
784
  overflow: "hidden"
785
785
  },
786
786
  children: /* @__PURE__ */ e(
787
- w,
787
+ C,
788
788
  {
789
789
  component: "img",
790
790
  src: o,
791
- alt: n != null ? n : "Fondo promocional",
791
+ alt: a != null ? a : "Fondo promocional",
792
792
  sx: {
793
793
  width: "100%",
794
794
  height: "100%",
@@ -804,7 +804,7 @@ const ot = ({
804
804
  }
805
805
  ),
806
806
  /* @__PURE__ */ e(
807
- w,
807
+ C,
808
808
  {
809
809
  sx: {
810
810
  position: "absolute",
@@ -818,7 +818,7 @@ const ot = ({
818
818
  pr: { xs: "14%", lg: "15%" }
819
819
  },
820
820
  children: /* @__PURE__ */ p(
821
- w,
821
+ C,
822
822
  {
823
823
  sx: {
824
824
  maxWidth: "60%",
@@ -828,7 +828,7 @@ const ot = ({
828
828
  },
829
829
  children: [
830
830
  t && /* @__PURE__ */ e(
831
- M,
831
+ j,
832
832
  {
833
833
  sx: {
834
834
  fontSize: { xs: 12, lg: 20 },
@@ -839,7 +839,7 @@ const ot = ({
839
839
  }
840
840
  ),
841
841
  i && /* @__PURE__ */ p(
842
- w,
842
+ C,
843
843
  {
844
844
  component: "p",
845
845
  sx: {
@@ -857,26 +857,26 @@ const ot = ({
857
857
  },
858
858
  children: [
859
859
  /* @__PURE__ */ e(
860
- w,
860
+ C,
861
861
  {
862
862
  component: "span",
863
863
  sx: { fontSize: { xs: 35, lg: 48 }, mr: 0.5 },
864
- children: x
864
+ children: y
865
865
  }
866
866
  ),
867
867
  /* @__PURE__ */ e(
868
- w,
868
+ C,
869
869
  {
870
870
  component: "span",
871
871
  sx: { fontSize: { xs: 52, lg: 77 } },
872
- children: h
872
+ children: x
873
873
  }
874
874
  )
875
875
  ]
876
876
  }
877
877
  ),
878
878
  r && /* @__PURE__ */ e(
879
- M,
879
+ j,
880
880
  {
881
881
  sx: {
882
882
  pb: "20px",
@@ -887,7 +887,7 @@ const ot = ({
887
887
  children: r
888
888
  }
889
889
  ),
890
- a && /* @__PURE__ */ e(R, { onClick: c, children: a })
890
+ n && /* @__PURE__ */ e(T, { onClick: c, children: n })
891
891
  ]
892
892
  }
893
893
  )
@@ -896,20 +896,20 @@ const ot = ({
896
896
  ]
897
897
  }
898
898
  );
899
- }, nt = ({
899
+ }, tt = ({
900
900
  text: t,
901
901
  buttonLabel: i = "Conoce más",
902
902
  onClick: r,
903
- imgAlt: a = "Club Olimpo",
903
+ imgAlt: n = "Club Olimpo",
904
904
  imgSrcMobile: c,
905
905
  imgSrcDesktopBg: o,
906
- imgSrcDesktopLogo: n
907
- }) => /* @__PURE__ */ p(Q, { children: [
906
+ imgSrcDesktopLogo: a
907
+ }) => /* @__PURE__ */ p(Y, { children: [
908
908
  /* @__PURE__ */ e("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ e(
909
909
  "img",
910
910
  {
911
911
  src: c,
912
- alt: a,
912
+ alt: n,
913
913
  className: "orc-co-bgMobileImg"
914
914
  }
915
915
  ) }),
@@ -918,62 +918,62 @@ const ot = ({
918
918
  "img",
919
919
  {
920
920
  src: o,
921
- alt: `${a} fondo`,
921
+ alt: `${n} fondo`,
922
922
  className: "orc-co-bgDesktopImg"
923
923
  }
924
924
  ) }),
925
- n && /* @__PURE__ */ e("div", { className: "orc-co-logo", children: /* @__PURE__ */ e(
925
+ a && /* @__PURE__ */ e("div", { className: "orc-co-logo", children: /* @__PURE__ */ e(
926
926
  "img",
927
927
  {
928
- src: n,
929
- alt: `${a} logo`,
928
+ src: a,
929
+ alt: `${n} logo`,
930
930
  className: "orc-co-logoImg"
931
931
  }
932
932
  ) }),
933
933
  /* @__PURE__ */ p("div", { className: "orc-co-desktopContent", children: [
934
934
  /* @__PURE__ */ e("p", { className: "orc-co-captionDesktop", children: t }),
935
- /* @__PURE__ */ e(R, { onClick: r, variant: "primary", size: "md", children: i })
935
+ /* @__PURE__ */ e(T, { onClick: r, variant: "primary", size: "md", children: i })
936
936
  ] })
937
937
  ] }),
938
938
  /* @__PURE__ */ p("div", { className: "orc-co-bottom", children: [
939
939
  /* @__PURE__ */ e("p", { className: "orc-co-caption", children: t }),
940
- /* @__PURE__ */ e(R, { onClick: r, variant: "primary", size: "md", children: i })
940
+ /* @__PURE__ */ e(T, { onClick: r, variant: "primary", size: "md", children: i })
941
941
  ] })
942
- ] }), rt = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", at = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", it = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", st = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ct = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", lt = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", dt = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", pt = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", H = {
943
- card: rt,
944
- combinadas: at,
945
- apuestaItem: it,
946
- lineContainer: st,
947
- circle: ct,
948
- line: lt,
949
- apuestaText: dt,
950
- cuotaTotal: pt
942
+ ] }), ot = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", nt = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", rt = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", at = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", it = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", st = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", ct = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", lt = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", M = {
943
+ card: ot,
944
+ combinadas: nt,
945
+ apuestaItem: rt,
946
+ lineContainer: at,
947
+ circle: it,
948
+ line: st,
949
+ apuestaText: ct,
950
+ cuotaTotal: lt
951
951
  };
952
- function ut({ event: t }) {
953
- var a;
952
+ function dt({ event: t }) {
953
+ var n;
954
954
  function i(c) {
955
- var h;
956
- const o = (h = c.betoffers) != null ? h : [], n = c.homeName, m = c.awayName, g = o.map((S) => {
957
- var u, v, I, $;
958
- let s = S.outcomes[0], d = "", l = s != null && s.line ? s.line / 1e3 : "";
959
- return ["Más de", "Mas de", "Over"].includes(s == null ? void 0 : s.label) ? (d = `Más de ${l}`, s != null && s.participant && (d = `${s.participant} - ${d}`)) : ["Menos de", "Menos"].includes(s == null ? void 0 : s.label) ? (d = `Menos de ${l}`, s != null && s.participant && (d = `${s.participant} - ${d}`)) : ["Sí", "No"].includes(s == null ? void 0 : s.label) ? (d = s == null ? void 0 : s.label, s != null && s.participant && (d = `${s.participant} - ${d}`)) : ["1X", "12", "X2"].includes(s == null ? void 0 : s.label) ? s.label === "1X" ? d = `${n} o Empate` : s.label === "12" ? d = `${n} o ${m}` : s.label === "X2" && (d = `${m} o Empate`) : (s != null && s.participant ? d = s.participant : d = (u = s == null ? void 0 : s.label) != null ? u : "", l !== "" && d === s.label && (d = `${s.label} ${l}`)), {
960
- id: (v = s == null ? void 0 : s.id) != null ? v : 0,
955
+ var x;
956
+ const o = (x = c.betoffers) != null ? x : [], a = c.homeName, u = c.awayName, g = o.map((w) => {
957
+ var m, _, k, E;
958
+ let s = w.outcomes[0], d = "", l = s != null && s.line ? s.line / 1e3 : "";
959
+ return ["Más de", "Mas de", "Over"].includes(s == null ? void 0 : s.label) ? (d = `Más de ${l}`, s != null && s.participant && (d = `${s.participant} - ${d}`)) : ["Menos de", "Menos"].includes(s == null ? void 0 : s.label) ? (d = `Menos de ${l}`, s != null && s.participant && (d = `${s.participant} - ${d}`)) : ["Sí", "No"].includes(s == null ? void 0 : s.label) ? (d = s == null ? void 0 : s.label, s != null && s.participant && (d = `${s.participant} - ${d}`)) : ["1X", "12", "X2"].includes(s == null ? void 0 : s.label) ? s.label === "1X" ? d = `${a} o Empate` : s.label === "12" ? d = `${a} o ${u}` : s.label === "X2" && (d = `${u} o Empate`) : (s != null && s.participant ? d = s.participant : d = (m = s == null ? void 0 : s.label) != null ? m : "", l !== "" && d === s.label && (d = `${s.label} ${l}`)), {
960
+ id: (_ = s == null ? void 0 : s.id) != null ? _ : 0,
961
961
  value: d,
962
- label: S.criterion.label,
963
- odds: (I = s == null ? void 0 : s.odds) != null ? I : 0,
964
- bl: ($ = s == null ? void 0 : s.label) != null ? $ : 0
962
+ label: w.criterion.label,
963
+ odds: (k = s == null ? void 0 : s.odds) != null ? k : 0,
964
+ bl: (E = s == null ? void 0 : s.label) != null ? E : 0
965
965
  };
966
- }), x = g.reduce((S, s) => S + s.odds, 0) / 1e3;
966
+ }), y = g.reduce((w, s) => w + s.odds, 0) / 1e3;
967
967
  return {
968
968
  outcomes: g,
969
- total: x.toFixed(2)
969
+ total: y.toFixed(2)
970
970
  };
971
971
  }
972
972
  const r = i(t);
973
- return /* @__PURE__ */ p("div", { className: H.card, children: [
974
- /* @__PURE__ */ e("div", { className: H.combinadas, children: /* @__PURE__ */ p(L, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
973
+ return /* @__PURE__ */ p("div", { className: M.card, children: [
974
+ /* @__PURE__ */ e("div", { className: M.combinadas, children: /* @__PURE__ */ p(z, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
975
975
  /* @__PURE__ */ e(
976
- X,
976
+ D,
977
977
  {
978
978
  title: t.name,
979
979
  iconUrl: "/assets/img/home/Combinadas/pelota.png",
@@ -981,12 +981,12 @@ function ut({ event: t }) {
981
981
  }
982
982
  ),
983
983
  /* @__PURE__ */ e("img", { src: "/assets/img/home/Combinadas/line.png" }),
984
- /* @__PURE__ */ e(L, { direction: "column", spacing: 0.5, useFlexGap: !0, children: r.outcomes.map((c, o) => /* @__PURE__ */ p("div", { className: H.apuestaItem, children: [
985
- /* @__PURE__ */ p("div", { className: H.lineContainer, children: [
986
- /* @__PURE__ */ e("div", { className: H.circle }),
987
- o < r.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: H.line })
984
+ /* @__PURE__ */ e(z, { direction: "column", spacing: 0.5, useFlexGap: !0, children: r.outcomes.map((c, o) => /* @__PURE__ */ p("div", { className: M.apuestaItem, children: [
985
+ /* @__PURE__ */ p("div", { className: M.lineContainer, children: [
986
+ /* @__PURE__ */ e("div", { className: M.circle }),
987
+ o < r.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: M.line })
988
988
  ] }),
989
- /* @__PURE__ */ p("div", { className: H.apuestaText, children: [
989
+ /* @__PURE__ */ p("div", { className: M.apuestaText, children: [
990
990
  /* @__PURE__ */ e("strong", { children: c.value }),
991
991
  " ",
992
992
  "| ",
@@ -996,126 +996,126 @@ function ut({ event: t }) {
996
996
  ] }) }),
997
997
  /* @__PURE__ */ p("button", { onClick: () => {
998
998
  var c, o;
999
- return console.log((o = (c = r == null ? void 0 : r.outcomes) == null ? void 0 : c.map((n) => n == null ? void 0 : n.id)) != null ? o : []);
1000
- }, className: H.cuotaTotal, children: [
999
+ return console.log((o = (c = r == null ? void 0 : r.outcomes) == null ? void 0 : c.map((a) => a == null ? void 0 : a.id)) != null ? o : []);
1000
+ }, className: M.cuotaTotal, children: [
1001
1001
  /* @__PURE__ */ p("span", { children: [
1002
1002
  "Cuota total: ",
1003
- /* @__PURE__ */ e("strong", { children: (((a = t.combinadoTotal) != null ? a : 0) / 1e3).toFixed(2) })
1003
+ /* @__PURE__ */ e("strong", { children: (((n = t.combinadoTotal) != null ? n : 0) / 1e3).toFixed(2) })
1004
1004
  ] }),
1005
1005
  /* @__PURE__ */ e("img", { src: "/assets/img/home/Combinadas/cuotaTotal.svg", alt: "cuota total" })
1006
1006
  ] })
1007
1007
  ] });
1008
1008
  }
1009
- function mt({ event: t, liveData: i, betOffers: r, fondo: a = "/assets/img/home/EnVivo/fondo.png" }) {
1010
- var c, o, n, m, g, x, h, S, s, d, l;
1009
+ function pt({ event: t, liveData: i, betOffers: r, fondo: n = "/assets/img/home/EnVivo/fondo.png" }) {
1010
+ var c, o, a, u, g, y, x, w, s, d, l;
1011
1011
  return /* @__PURE__ */ e("div", { style: {
1012
- backgroundImage: `url(${a})`,
1012
+ backgroundImage: `url(${n})`,
1013
1013
  backgroundSize: "cover",
1014
1014
  height: "160px",
1015
1015
  width: "296px",
1016
1016
  padding: "12px 16px",
1017
1017
  borderRadius: "16px"
1018
- }, children: /* @__PURE__ */ p(L, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1019
- /* @__PURE__ */ p(L, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1018
+ }, children: /* @__PURE__ */ p(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1019
+ /* @__PURE__ */ p(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1020
1020
  /* @__PURE__ */ e(
1021
- We,
1021
+ Ue,
1022
1022
  {
1023
1023
  title: (c = t.path[0].name) != null ? c : "",
1024
1024
  subtitle: t.group,
1025
1025
  live: !0,
1026
- time: (n = (o = i == null ? void 0 : i.matchClock) == null ? void 0 : o.minute) != null ? n : ""
1026
+ time: (a = (o = i == null ? void 0 : i.matchClock) == null ? void 0 : o.minute) != null ? a : ""
1027
1027
  }
1028
1028
  ),
1029
- /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ p(D, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1029
+ /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ p(G, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1030
1030
  /* @__PURE__ */ e(
1031
- V,
1031
+ Q,
1032
1032
  {
1033
1033
  name: t.homeName,
1034
1034
  logo: "/assets/img/home/EnVivo/Juventus.png"
1035
1035
  }
1036
1036
  ),
1037
- /* @__PURE__ */ e(be, { text: ((g = (m = i == null ? void 0 : i.score) == null ? void 0 : m.home) != null ? g : 0) + ":" + ((h = (x = i == null ? void 0 : i.score) == null ? void 0 : x.away) != null ? h : 0), name: "En vivo" }),
1038
- /* @__PURE__ */ e(V, { name: t.awayName, logo: "/assets/img/home/EnVivo/Racing.png" })
1037
+ /* @__PURE__ */ e(xe, { text: ((g = (u = i == null ? void 0 : i.score) == null ? void 0 : u.home) != null ? g : 0) + ":" + ((x = (y = i == null ? void 0 : i.score) == null ? void 0 : y.away) != null ? x : 0), name: "En vivo" }),
1038
+ /* @__PURE__ */ e(Q, { name: t.awayName, logo: "/assets/img/home/EnVivo/Racing.png" })
1039
1039
  ] }) })
1040
1040
  ] }),
1041
- /* @__PURE__ */ p(L, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1042
- /* @__PURE__ */ e(D, { spacing: 1, children: ((s = (S = r == null ? void 0 : r[0]) == null ? void 0 : S.outcomes) != null ? s : []).map((u, v) => /* @__PURE__ */ e(ve, { text: u.label.toUpperCase() }, v)) }),
1043
- /* @__PURE__ */ e(D, { spacing: 2, children: ((l = (d = r == null ? void 0 : r[0]) == null ? void 0 : d.outcomes) != null ? l : []).map((u, v) => /* @__PURE__ */ e(R, { variant: "primary", disabled: u.odds == null, onClick: () => {
1044
- console.log(u.id);
1045
- }, children: u.odds === void 0 ? "X" : (u.odds / 1e3).toFixed(2) }, v)) })
1041
+ /* @__PURE__ */ p(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1042
+ /* @__PURE__ */ e(G, { spacing: 1, children: ((s = (w = r == null ? void 0 : r[0]) == null ? void 0 : w.outcomes) != null ? s : []).map((m, _) => /* @__PURE__ */ e(fe, { text: m.label.toUpperCase() }, _)) }),
1043
+ /* @__PURE__ */ e(G, { spacing: 2, children: ((l = (d = r == null ? void 0 : r[0]) == null ? void 0 : d.outcomes) != null ? l : []).map((m, _) => /* @__PURE__ */ e(T, { variant: "primary", disabled: m.odds == null, onClick: () => {
1044
+ console.log(m.id);
1045
+ }, children: m.odds === void 0 ? "X" : (m.odds / 1e3).toFixed(2) }, _)) })
1046
1046
  ] })
1047
1047
  ] }) });
1048
1048
  }
1049
- const gt = "oraculo__OraculoEventDate-module__date___xhIlh", ht = {
1050
- date: gt
1049
+ const mt = "oraculo__OraculoEventDate-module__date___xhIlh", ut = {
1050
+ date: mt
1051
1051
  };
1052
- function ft({ text: t }) {
1053
- return /* @__PURE__ */ e("div", { className: `oli-font ${ht.date}`, children: t });
1052
+ function gt({ text: t }) {
1053
+ return /* @__PURE__ */ e("div", { className: `oli-font ${ut.date}`, children: t });
1054
1054
  }
1055
- const xt = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", vt = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", bt = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", te = {
1056
- cardContainer: xt,
1057
- cardBackground: vt,
1058
- jugadas: bt
1055
+ const ht = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ft = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", xt = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", V = {
1056
+ cardContainer: ht,
1057
+ cardBackground: ft,
1058
+ jugadas: xt
1059
1059
  };
1060
- function yt({ event: t }) {
1061
- var r, a, c, o, n, m, g;
1062
- function i(x) {
1063
- const h = new Date(x), S = h.toLocaleDateString("es-ES", {
1060
+ function bt({ event: t }) {
1061
+ var r, n, c, o, a, u, g;
1062
+ function i(y) {
1063
+ const x = new Date(y), w = x.toLocaleDateString("es-ES", {
1064
1064
  weekday: "short"
1065
- }).toUpperCase(), s = h.getDate().toString().padStart(2, "0"), d = (h.getMonth() + 1).toString().padStart(2, "0");
1066
- let l = h.toLocaleTimeString("es-PE", {
1065
+ }).toUpperCase(), s = x.getDate().toString().padStart(2, "0"), d = (x.getMonth() + 1).toString().padStart(2, "0");
1066
+ let l = x.toLocaleTimeString("es-PE", {
1067
1067
  hour: "numeric",
1068
1068
  minute: "2-digit",
1069
1069
  hour12: !0
1070
1070
  }).toUpperCase();
1071
- return l = l.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${S} ${s}/${d} | ${l}`;
1071
+ return l = l.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${w} ${s}/${d} | ${l}`;
1072
1072
  }
1073
- return /* @__PURE__ */ p("div", { className: te.cardContainer, children: [
1073
+ return /* @__PURE__ */ p("div", { className: V.cardContainer, children: [
1074
1074
  /* @__PURE__ */ e(Be, { title: (r = t.group) != null ? r : "" }),
1075
- /* @__PURE__ */ e("div", { className: te.cardBackground, children: /* @__PURE__ */ p(L, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1076
- /* @__PURE__ */ p(L, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1077
- /* @__PURE__ */ p(D, { spacing: 1, columns: "1fr auto 1fr", children: [
1075
+ /* @__PURE__ */ e("div", { className: V.cardBackground, children: /* @__PURE__ */ p(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1076
+ /* @__PURE__ */ p(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1077
+ /* @__PURE__ */ p(G, { spacing: 1, columns: "1fr auto 1fr", children: [
1078
1078
  /* @__PURE__ */ e(
1079
- V,
1079
+ Q,
1080
1080
  {
1081
1081
  name: t.awayName,
1082
1082
  logo: "/assets/img/home/EventoSemana/Flamengo.png",
1083
1083
  size: "compact"
1084
1084
  }
1085
1085
  ),
1086
- /* @__PURE__ */ e(be, { text: "vs.", name: "", size: "small" }),
1087
- /* @__PURE__ */ e(V, { name: t.homeName, logo: "/assets/img/home/EventoSemana/RealMadrid.png", size: "compact" })
1086
+ /* @__PURE__ */ e(xe, { text: "vs.", name: "", size: "small" }),
1087
+ /* @__PURE__ */ e(Q, { name: t.homeName, logo: "/assets/img/home/EventoSemana/RealMadrid.png", size: "compact" })
1088
1088
  ] }),
1089
- /* @__PURE__ */ e(ft, { text: i(t.start) })
1089
+ /* @__PURE__ */ e(gt, { text: i(t.start) })
1090
1090
  ] }),
1091
- /* @__PURE__ */ p(L, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1092
- /* @__PURE__ */ e(D, { spacing: 1, children: ((o = (c = (a = t == null ? void 0 : t.outcome) == null ? void 0 : a[0]) == null ? void 0 : c.outcomes) != null ? o : []).map((x, h) => /* @__PURE__ */ e(ve, { text: x.label.toUpperCase() }, h)) }),
1093
- /* @__PURE__ */ e("div", { className: te.jugadas, children: /* @__PURE__ */ e(D, { spacing: 1, children: ((g = (m = (n = t == null ? void 0 : t.outcome) == null ? void 0 : n[0]) == null ? void 0 : m.outcomes) != null ? g : []).map((x, h) => /* @__PURE__ */ e(R, { variant: "primary", fullHeight: !0, onClick: () => {
1094
- console.log(x.id);
1095
- }, children: (x.odds / 1e3).toFixed(2) }, h)) }) })
1091
+ /* @__PURE__ */ p(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1092
+ /* @__PURE__ */ e(G, { spacing: 1, children: ((o = (c = (n = t == null ? void 0 : t.outcome) == null ? void 0 : n[0]) == null ? void 0 : c.outcomes) != null ? o : []).map((y, x) => /* @__PURE__ */ e(fe, { text: y.label.toUpperCase() }, x)) }),
1093
+ /* @__PURE__ */ e("div", { className: V.jugadas, children: /* @__PURE__ */ e(G, { spacing: 1, children: ((g = (u = (a = t == null ? void 0 : t.outcome) == null ? void 0 : a[0]) == null ? void 0 : u.outcomes) != null ? g : []).map((y, x) => /* @__PURE__ */ e(T, { variant: "primary", fullHeight: !0, onClick: () => {
1094
+ console.log(y.id);
1095
+ }, children: (y.odds / 1e3).toFixed(2) }, x)) }) })
1096
1096
  ] })
1097
1097
  ] }) })
1098
1098
  ] });
1099
1099
  }
1100
- function _t({
1100
+ function vt({
1101
1101
  items: t,
1102
1102
  title: i = "Destacados",
1103
1103
  iconUrl: r,
1104
- onViewMore: a,
1104
+ onViewMore: n,
1105
1105
  className: c = ""
1106
1106
  }) {
1107
- const o = B(null), [n, m] = F({ isStart: !0, isEnd: !1 }), g = () => {
1107
+ const o = B(null), [a, u] = U({ isStart: !0, isEnd: !1 }), g = () => {
1108
1108
  var d;
1109
1109
  (d = o.current) == null || d.prev();
1110
- }, x = () => {
1110
+ }, y = () => {
1111
1111
  var d;
1112
1112
  (d = o.current) == null || d.next(), console.log("items: ", t);
1113
- }, h = () => {
1114
- a == null || a();
1115
- }, S = (d) => {
1113
+ }, x = () => {
1114
+ n == null || n();
1115
+ }, w = (d) => {
1116
1116
  if (!d || typeof window == "undefined") return;
1117
- const u = `https://www.olimpo.bet/promociones/${encodeURIComponent(d)}`;
1118
- window.location.href = u;
1117
+ const m = `https://www.olimpo.bet/promociones/${encodeURIComponent(d)}`;
1118
+ window.location.href = m;
1119
1119
  };
1120
1120
  return /* @__PURE__ */ p("section", { className: c || void 0, style: { width: "100%" }, children: [
1121
1121
  /* @__PURE__ */ p(
@@ -1130,37 +1130,37 @@ function _t({
1130
1130
  marginBottom: 16
1131
1131
  },
1132
1132
  children: [
1133
- /* @__PURE__ */ e(X, { title: i, iconUrl: r, size: "md" }),
1133
+ /* @__PURE__ */ e(D, { title: i, iconUrl: r, size: "md" }),
1134
1134
  /* @__PURE__ */ p("div", { style: { display: "flex", gap: 8 }, children: [
1135
1135
  /* @__PURE__ */ e(
1136
- R,
1136
+ T,
1137
1137
  {
1138
1138
  ariaLabel: "Anterior",
1139
1139
  variant: "secondary",
1140
1140
  iconOnly: !0,
1141
- leftIcon: /* @__PURE__ */ e(re, {}),
1141
+ leftIcon: /* @__PURE__ */ e(oe, {}),
1142
1142
  onClick: g,
1143
- disabled: n.isStart
1143
+ disabled: a.isStart
1144
1144
  }
1145
1145
  ),
1146
1146
  /* @__PURE__ */ e(
1147
- R,
1147
+ T,
1148
1148
  {
1149
1149
  ariaLabel: "Siguiente",
1150
1150
  variant: "secondary",
1151
1151
  iconOnly: !0,
1152
- rightIcon: /* @__PURE__ */ e(ae, {}),
1153
- onClick: x,
1154
- disabled: n.isEnd
1152
+ rightIcon: /* @__PURE__ */ e(ne, {}),
1153
+ onClick: y,
1154
+ disabled: a.isEnd
1155
1155
  }
1156
1156
  )
1157
1157
  ] }),
1158
- /* @__PURE__ */ e(R, { variant: "secondary", onClick: h, children: "Ver más" })
1158
+ /* @__PURE__ */ e(T, { variant: "secondary", onClick: x, children: "Ver más" })
1159
1159
  ]
1160
1160
  }
1161
1161
  ),
1162
1162
  /* @__PURE__ */ e(
1163
- J,
1163
+ H,
1164
1164
  {
1165
1165
  ref: o,
1166
1166
  items: t,
@@ -1179,7 +1179,7 @@ function _t({
1179
1179
  marginTop: 16,
1180
1180
  cursor: "pointer"
1181
1181
  },
1182
- onClick: () => S(d.promotion),
1182
+ onClick: () => w(d.promotion),
1183
1183
  children: /* @__PURE__ */ e(
1184
1184
  "img",
1185
1185
  {
@@ -1198,39 +1198,39 @@ function _t({
1198
1198
  },
1199
1199
  `${d.title}-${d.image}`
1200
1200
  ),
1201
- onMove: ({ isStart: d, isEnd: l }) => m({ isStart: d, isEnd: l })
1201
+ onMove: ({ isStart: d, isEnd: l }) => u({ isStart: d, isEnd: l })
1202
1202
  }
1203
1203
  )
1204
1204
  ] });
1205
1205
  }
1206
- const St = (t) => {
1207
- var s, d, l, u, v, I;
1206
+ const yt = (t) => {
1207
+ var s, d, l, m, _, k;
1208
1208
  if (typeof window == "undefined") return;
1209
- const i = (d = (s = t.name) != null ? s : t.web_name) != null ? d : "", r = (l = t.provider) != null ? l : "", a = (u = t.machine) != null ? u : "", c = (v = t.external_id) != null ? v : "", o = (I = t.type) != null ? I : "", n = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), g = encodeURIComponent(String(i)), x = encodeURIComponent(String(c)), h = encodeURIComponent(String(o)), S = `https://www.olimpo.bet/casino?${m}?provider=${n}&name=${g}&external_id=${x}&type=${h}`;
1210
- window.location.href = S;
1209
+ const i = (d = (s = t.name) != null ? s : t.web_name) != null ? d : "", r = (l = t.provider) != null ? l : "", n = (m = t.machine) != null ? m : "", c = (_ = t.external_id) != null ? _ : "", o = (k = t.type) != null ? k : "", a = encodeURIComponent(String(r)), u = encodeURIComponent(String(n)), g = encodeURIComponent(String(i)), y = encodeURIComponent(String(c)), x = encodeURIComponent(String(o)), w = `https://www.olimpo.bet/casino?${u}?provider=${a}&name=${g}&external_id=${y}&type=${x}`;
1210
+ window.location.href = w;
1211
1211
  };
1212
- function Ct({
1212
+ function _t({
1213
1213
  items: t,
1214
1214
  title: i = "Top Juegos",
1215
1215
  iconUrl: r,
1216
- onCardClick: a
1216
+ onCardClick: n
1217
1217
  }) {
1218
- const c = ne(
1219
- () => t.map((o, n) => {
1220
- var m;
1218
+ const c = te(
1219
+ () => t.map((o, a) => {
1220
+ var u;
1221
1221
  return {
1222
1222
  ...o,
1223
1223
  // si no viene orden, usamos el índice (1-based)
1224
- orden: (m = o.orden) != null ? m : n + 1,
1225
- _originalIndex: n
1224
+ orden: (u = o.orden) != null ? u : a + 1,
1225
+ _originalIndex: a
1226
1226
  };
1227
- }).sort((o, n) => o.orden != null && n.orden != null ? o.orden - n.orden : o._originalIndex - n._originalIndex),
1227
+ }).sort((o, a) => o.orden != null && a.orden != null ? o.orden - a.orden : o._originalIndex - a._originalIndex),
1228
1228
  [t]
1229
1229
  );
1230
- return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ p(L, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1231
- /* @__PURE__ */ e(X, { title: i, iconUrl: r, size: "md" }),
1230
+ return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ p(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1231
+ /* @__PURE__ */ e(D, { title: i, iconUrl: r, size: "md" }),
1232
1232
  /* @__PURE__ */ e(
1233
- w,
1233
+ C,
1234
1234
  {
1235
1235
  sx: {
1236
1236
  display: "grid",
@@ -1243,14 +1243,14 @@ function Ct({
1243
1243
  width: "100%"
1244
1244
  },
1245
1245
  children: c.slice(0, 6).map((o) => {
1246
- var n;
1246
+ var a;
1247
1247
  return /* @__PURE__ */ e(
1248
- tt,
1248
+ Ve,
1249
1249
  {
1250
- imageUrl: `https://olimpo.bet${(n = o.logo) != null ? n : ""}`,
1250
+ imageUrl: `https://olimpo.bet${(a = o.logo) != null ? a : ""}`,
1251
1251
  orden: o.orden,
1252
1252
  onClick: () => {
1253
- a ? a(o) : St(o);
1253
+ n ? n(o) : yt(o);
1254
1254
  }
1255
1255
  },
1256
1256
  o.machine
@@ -1260,27 +1260,27 @@ function Ct({
1260
1260
  )
1261
1261
  ] }) });
1262
1262
  }
1263
- const wt = (t, i) => {
1264
- var r, a;
1265
- return (a = (r = t.orden) != null ? r : t.machine) != null ? a : i;
1266
- }, $t = (t) => {
1267
- var s, d, l, u, v, I;
1263
+ const St = (t, i) => {
1264
+ var r, n;
1265
+ return (n = (r = t.orden) != null ? r : t.machine) != null ? n : i;
1266
+ }, wt = (t) => {
1267
+ var s, d, l, m, _, k;
1268
1268
  if (typeof window == "undefined") return;
1269
- const i = (d = (s = t.name) != null ? s : t.web_name) != null ? d : "", r = (l = t.provider) != null ? l : "", a = (u = t.machine) != null ? u : "", c = (v = t.external_id) != null ? v : "", o = (I = t.type) != null ? I : "Live", n = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), g = encodeURIComponent(String(i)), x = encodeURIComponent(String(c)), h = encodeURIComponent(String(o)), S = `https://www.olimpo.bet/casino-en-vivo?${m}?provider=${n}&name=${g}&external_id=${x}&type=${h}`;
1270
- window.location.href = S;
1271
- }, Et = ({
1269
+ const i = (d = (s = t.name) != null ? s : t.web_name) != null ? d : "", r = (l = t.provider) != null ? l : "", n = (m = t.machine) != null ? m : "", c = (_ = t.external_id) != null ? _ : "", o = (k = t.type) != null ? k : "Live", a = encodeURIComponent(String(r)), u = encodeURIComponent(String(n)), g = encodeURIComponent(String(i)), y = encodeURIComponent(String(c)), x = encodeURIComponent(String(o)), w = `https://www.olimpo.bet/casino-en-vivo?${u}?provider=${a}&name=${g}&external_id=${y}&type=${x}`;
1270
+ window.location.href = w;
1271
+ }, Ct = ({
1272
1272
  items: t,
1273
1273
  title: i = "Casino en vivo",
1274
1274
  subtitle: r = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
1275
- backgroundMobileUrl: a = "",
1275
+ backgroundMobileUrl: n = "",
1276
1276
  backgroundDesktopUrl: c = "",
1277
1277
  onCardClick: o,
1278
- onViewMore: n,
1279
- className: m
1278
+ onViewMore: a,
1279
+ className: u
1280
1280
  }) => /* @__PURE__ */ p(
1281
- w,
1281
+ C,
1282
1282
  {
1283
- className: m,
1283
+ className: u,
1284
1284
  sx: {
1285
1285
  position: "relative",
1286
1286
  // width: "100vw",
@@ -1292,7 +1292,7 @@ const wt = (t, i) => {
1292
1292
  },
1293
1293
  children: [
1294
1294
  /* @__PURE__ */ e(
1295
- w,
1295
+ C,
1296
1296
  {
1297
1297
  sx: {
1298
1298
  position: "absolute",
@@ -1301,7 +1301,7 @@ const wt = (t, i) => {
1301
1301
  xs: `
1302
1302
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
1303
1303
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
1304
- url('${a}')
1304
+ url('${n}')
1305
1305
  `,
1306
1306
  md: `
1307
1307
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
@@ -1317,7 +1317,7 @@ const wt = (t, i) => {
1317
1317
  }
1318
1318
  ),
1319
1319
  /* @__PURE__ */ p(
1320
- w,
1320
+ C,
1321
1321
  {
1322
1322
  sx: {
1323
1323
  position: "relative",
@@ -1334,9 +1334,9 @@ const wt = (t, i) => {
1334
1334
  textAlign: { xs: "center", md: "left" }
1335
1335
  },
1336
1336
  children: [
1337
- /* @__PURE__ */ p(L, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1337
+ /* @__PURE__ */ p(z, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1338
1338
  /* @__PURE__ */ e(
1339
- M,
1339
+ j,
1340
1340
  {
1341
1341
  variant: "h4",
1342
1342
  sx: {
@@ -1349,7 +1349,7 @@ const wt = (t, i) => {
1349
1349
  }
1350
1350
  ),
1351
1351
  /* @__PURE__ */ e(
1352
- M,
1352
+ j,
1353
1353
  {
1354
1354
  sx: {
1355
1355
  fontSize: { xs: 14, md: 18 },
@@ -1360,18 +1360,18 @@ const wt = (t, i) => {
1360
1360
  children: r
1361
1361
  }
1362
1362
  ),
1363
- /* @__PURE__ */ e(w, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
1364
- R,
1363
+ /* @__PURE__ */ e(C, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
1364
+ T,
1365
1365
  {
1366
1366
  variant: "primary",
1367
1367
  size: "md",
1368
- onClick: () => n == null ? void 0 : n(),
1368
+ onClick: () => a == null ? void 0 : a(),
1369
1369
  children: "Ver más"
1370
1370
  }
1371
1371
  ) })
1372
1372
  ] }),
1373
1373
  /* @__PURE__ */ e(
1374
- w,
1374
+ C,
1375
1375
  {
1376
1376
  sx: {
1377
1377
  display: "flex",
@@ -1381,30 +1381,30 @@ const wt = (t, i) => {
1381
1381
  py: { xs: 3, md: 0 },
1382
1382
  alignItems: "center"
1383
1383
  },
1384
- children: (t != null ? t : []).slice(0, 3).map((g, x) => {
1385
- var h;
1384
+ children: (t != null ? t : []).slice(0, 3).map((g, y) => {
1385
+ var x;
1386
1386
  return /* @__PURE__ */ e(
1387
- ot,
1387
+ et,
1388
1388
  {
1389
- logo: `https://olimpo.bet${(h = g.logo) != null ? h : ""}`,
1389
+ logo: `https://olimpo.bet${(x = g.logo) != null ? x : ""}`,
1390
1390
  provider: g.provider,
1391
1391
  providerName: g.web_name,
1392
1392
  machine: g.machine,
1393
1393
  onClick: () => {
1394
- o ? o(g, x) : $t(g);
1394
+ o ? o(g, y) : wt(g);
1395
1395
  }
1396
1396
  },
1397
- wt(g, x)
1397
+ St(g, y)
1398
1398
  );
1399
1399
  })
1400
1400
  }
1401
1401
  ),
1402
- /* @__PURE__ */ e(w, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ e(
1403
- R,
1402
+ /* @__PURE__ */ e(C, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ e(
1403
+ T,
1404
1404
  {
1405
1405
  variant: "primary",
1406
1406
  size: "lg",
1407
- onClick: () => n == null ? void 0 : n(),
1407
+ onClick: () => a == null ? void 0 : a(),
1408
1408
  children: "Ver más"
1409
1409
  }
1410
1410
  ) })
@@ -1413,63 +1413,63 @@ const wt = (t, i) => {
1413
1413
  )
1414
1414
  ]
1415
1415
  }
1416
- ), _e = (t, i) => {
1417
- var r, a;
1418
- return (a = (r = t.orden) != null ? r : t.machine) != null ? a : i;
1419
- }, It = (t) => {
1420
- var s, d, l, u, v;
1416
+ ), ve = (t, i) => {
1417
+ var r, n;
1418
+ return (n = (r = t.orden) != null ? r : t.machine) != null ? n : i;
1419
+ }, Et = (t) => {
1420
+ var s, d, l, m, _;
1421
1421
  if (typeof window == "undefined") return;
1422
- const i = (s = t.name) != null ? s : "", r = (d = t.provider) != null ? d : "", a = (l = t.machine) != null ? l : "", c = (u = t.external_id) != null ? u : "", o = (v = t.type) != null ? v : "Casino", n = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), g = encodeURIComponent(String(i)), x = encodeURIComponent(String(c)), h = encodeURIComponent(String(o)), S = `https://www.olimpo.bet/casino?${m}?provider=${n}&name=${g}&external_id=${x}&type=${h}`;
1423
- window.location.href = S;
1424
- }, Nt = (t, i = !0, r = 4) => {
1425
- const a = t.map((n, m) => {
1422
+ const i = (s = t.name) != null ? s : "", r = (d = t.provider) != null ? d : "", n = (l = t.machine) != null ? l : "", c = (m = t.external_id) != null ? m : "", o = (_ = t.type) != null ? _ : "Casino", a = encodeURIComponent(String(r)), u = encodeURIComponent(String(n)), g = encodeURIComponent(String(i)), y = encodeURIComponent(String(c)), x = encodeURIComponent(String(o)), w = `https://www.olimpo.bet/casino?${u}?provider=${a}&name=${g}&external_id=${y}&type=${x}`;
1423
+ window.location.href = w;
1424
+ }, $t = (t, i = !0, r = 4) => {
1425
+ const n = t.map((a, u) => {
1426
1426
  var g;
1427
1427
  return {
1428
- id: _e(n, m),
1429
- imageUrl: (g = n.logo) != null ? g : ""
1428
+ id: ve(a, u),
1429
+ imageUrl: (g = a.logo) != null ? g : ""
1430
1430
  };
1431
1431
  });
1432
- if (!a.length) return [];
1432
+ if (!n.length) return [];
1433
1433
  const c = [];
1434
1434
  let o = 0;
1435
1435
  if (i) {
1436
- const n = Math.min(a.length, 5);
1436
+ const a = Math.min(n.length, 5);
1437
1437
  c.push({
1438
1438
  id: "mosaic-0",
1439
1439
  kind: "mosaic",
1440
- items: a.slice(0, n)
1441
- }), o = n;
1440
+ items: n.slice(0, a)
1441
+ }), o = a;
1442
1442
  }
1443
- for (; o < a.length; ) {
1444
- const n = Math.min(o + r, a.length);
1443
+ for (; o < n.length; ) {
1444
+ const a = Math.min(o + r, n.length);
1445
1445
  c.push({
1446
1446
  id: `grid-${o}`,
1447
1447
  kind: "grid",
1448
- items: a.slice(o, n)
1449
- }), o = n;
1448
+ items: n.slice(o, a)
1449
+ }), o = a;
1450
1450
  }
1451
1451
  return c;
1452
- }, kt = ({
1452
+ }, It = ({
1453
1453
  items: t,
1454
1454
  title: i = "Casino",
1455
1455
  iconUrl: r = "/assets/img/home/Casino/diamante.svg",
1456
- onItemClick: a,
1456
+ onItemClick: n,
1457
1457
  onViewMore: c,
1458
1458
  mosaicFirst: o = !0,
1459
- gridSize: n = 4
1459
+ gridSize: a = 4
1460
1460
  }) => {
1461
- const m = B(null), [g, x] = F({ isStart: !0, isEnd: !1 }), h = Nt(t, o, n), S = () => {
1461
+ const u = B(null), [g, y] = U({ isStart: !0, isEnd: !1 }), x = $t(t, o, a), w = () => {
1462
1462
  var l;
1463
- (l = m.current) == null || l.prev();
1463
+ (l = u.current) == null || l.prev();
1464
1464
  }, s = () => {
1465
1465
  var l;
1466
- (l = m.current) == null || l.next();
1466
+ (l = u.current) == null || l.next();
1467
1467
  }, d = () => {
1468
1468
  c == null || c();
1469
1469
  };
1470
- return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ p(L, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1470
+ return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ p(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1471
1471
  /* @__PURE__ */ p(
1472
- w,
1472
+ C,
1473
1473
  {
1474
1474
  sx: {
1475
1475
  display: "grid",
@@ -1480,7 +1480,7 @@ const wt = (t, i) => {
1480
1480
  },
1481
1481
  children: [
1482
1482
  /* @__PURE__ */ e(
1483
- X,
1483
+ D,
1484
1484
  {
1485
1485
  title: i,
1486
1486
  iconUrl: r,
@@ -1488,7 +1488,7 @@ const wt = (t, i) => {
1488
1488
  }
1489
1489
  ),
1490
1490
  /* @__PURE__ */ p(
1491
- w,
1491
+ C,
1492
1492
  {
1493
1493
  sx: {
1494
1494
  display: "flex",
@@ -1497,23 +1497,23 @@ const wt = (t, i) => {
1497
1497
  },
1498
1498
  children: [
1499
1499
  /* @__PURE__ */ e(
1500
- R,
1500
+ T,
1501
1501
  {
1502
1502
  ariaLabel: "Anterior",
1503
1503
  variant: "secondary",
1504
1504
  iconOnly: !0,
1505
- leftIcon: /* @__PURE__ */ e(he, {}),
1506
- onClick: S,
1505
+ leftIcon: /* @__PURE__ */ e(ue, {}),
1506
+ onClick: w,
1507
1507
  disabled: g.isStart
1508
1508
  }
1509
1509
  ),
1510
1510
  /* @__PURE__ */ e(
1511
- R,
1511
+ T,
1512
1512
  {
1513
1513
  ariaLabel: "Siguiente",
1514
1514
  variant: "secondary",
1515
1515
  iconOnly: !0,
1516
- rightIcon: /* @__PURE__ */ e(fe, {}),
1516
+ rightIcon: /* @__PURE__ */ e(ge, {}),
1517
1517
  onClick: s,
1518
1518
  disabled: g.isEnd
1519
1519
  }
@@ -1521,15 +1521,15 @@ const wt = (t, i) => {
1521
1521
  ]
1522
1522
  }
1523
1523
  ),
1524
- /* @__PURE__ */ e(w, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(R, { variant: "secondary", onClick: d, children: "Ver más" }) })
1524
+ /* @__PURE__ */ e(C, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(T, { variant: "secondary", onClick: d, children: "Ver más" }) })
1525
1525
  ]
1526
1526
  }
1527
1527
  ),
1528
1528
  /* @__PURE__ */ e(
1529
- J,
1529
+ H,
1530
1530
  {
1531
- ref: m,
1532
- items: h,
1531
+ ref: u,
1532
+ items: x,
1533
1533
  perPage: 1,
1534
1534
  gap: "0px",
1535
1535
  options: {
@@ -1542,79 +1542,79 @@ const wt = (t, i) => {
1542
1542
  focus: "start"
1543
1543
  },
1544
1544
  renderItem: (l) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
1545
- ye,
1545
+ be,
1546
1546
  {
1547
1547
  items: l.items,
1548
1548
  layout: l.kind === "mosaic" ? "mosaic" : "grid",
1549
- onClick: (u) => {
1550
- const v = t.find(
1551
- (I, $) => _e(I, $) === u.id
1549
+ onClick: (m) => {
1550
+ const _ = t.find(
1551
+ (k, E) => ve(k, E) === m.id
1552
1552
  );
1553
- v && (a ? a(v) : It(v));
1553
+ _ && (n ? n(_) : Et(_));
1554
1554
  }
1555
1555
  }
1556
1556
  ) }),
1557
- onMove: ({ isStart: l, isEnd: u }) => x({ isStart: l, isEnd: u })
1557
+ onMove: ({ isStart: l, isEnd: m }) => y({ isStart: l, isEnd: m })
1558
1558
  }
1559
1559
  )
1560
1560
  ] }) });
1561
- }, Se = (t, i) => {
1562
- var r, a;
1563
- return (a = (r = t.orden) != null ? r : t.machine) != null ? a : i;
1564
- }, Ot = (t) => {
1565
- var s, d, l, u, v;
1561
+ }, ye = (t, i) => {
1562
+ var r, n;
1563
+ return (n = (r = t.orden) != null ? r : t.machine) != null ? n : i;
1564
+ }, kt = (t) => {
1565
+ var s, d, l, m, _;
1566
1566
  if (typeof window == "undefined") return;
1567
- const i = (s = t.name) != null ? s : "", r = (d = t.provider) != null ? d : "", a = (l = t.machine) != null ? l : "", c = (u = t.external_id) != null ? u : "", o = (v = t.type) != null ? v : "Virtuales", n = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), g = encodeURIComponent(String(i)), x = encodeURIComponent(String(c)), h = encodeURIComponent(String(o)), S = `https://www.olimpo.bet/juegos-virtuales?${m}?provider=${n}&name=${g}&external_id=${x}&type=${h}`;
1568
- window.location.href = S;
1569
- }, Rt = (t, i = !0, r = 4) => {
1570
- const a = t.map((n, m) => {
1567
+ const i = (s = t.name) != null ? s : "", r = (d = t.provider) != null ? d : "", n = (l = t.machine) != null ? l : "", c = (m = t.external_id) != null ? m : "", o = (_ = t.type) != null ? _ : "Virtuales", a = encodeURIComponent(String(r)), u = encodeURIComponent(String(n)), g = encodeURIComponent(String(i)), y = encodeURIComponent(String(c)), x = encodeURIComponent(String(o)), w = `https://www.olimpo.bet/juegos-virtuales?${u}?provider=${a}&name=${g}&external_id=${y}&type=${x}`;
1568
+ window.location.href = w;
1569
+ }, Nt = (t, i = !0, r = 4) => {
1570
+ const n = t.map((a, u) => {
1571
1571
  var g;
1572
1572
  return {
1573
- id: Se(n, m),
1574
- imageUrl: (g = n.logo) != null ? g : ""
1573
+ id: ye(a, u),
1574
+ imageUrl: (g = a.logo) != null ? g : ""
1575
1575
  };
1576
1576
  });
1577
- if (!a.length) return [];
1577
+ if (!n.length) return [];
1578
1578
  const c = [];
1579
1579
  let o = 0;
1580
1580
  if (i) {
1581
- const n = Math.min(a.length, 5);
1581
+ const a = Math.min(n.length, 5);
1582
1582
  c.push({
1583
1583
  id: "mosaic-0",
1584
1584
  kind: "mosaic",
1585
- items: a.slice(0, n)
1586
- }), o = n;
1585
+ items: n.slice(0, a)
1586
+ }), o = a;
1587
1587
  }
1588
- for (; o < a.length; ) {
1589
- const n = Math.min(o + r, a.length);
1588
+ for (; o < n.length; ) {
1589
+ const a = Math.min(o + r, n.length);
1590
1590
  c.push({
1591
1591
  id: `grid-${o}`,
1592
1592
  kind: "grid",
1593
- items: a.slice(o, n)
1594
- }), o = n;
1593
+ items: n.slice(o, a)
1594
+ }), o = a;
1595
1595
  }
1596
1596
  return c;
1597
- }, Tt = ({
1597
+ }, Ot = ({
1598
1598
  items: t,
1599
1599
  title: i = "Virtuales",
1600
1600
  iconUrl: r = "/assets/img/home/Virtuales/virtuales.svg",
1601
- onItemClick: a,
1601
+ onItemClick: n,
1602
1602
  onViewMore: c,
1603
1603
  mosaicFirst: o = !0,
1604
- gridSize: n = 4
1604
+ gridSize: a = 4
1605
1605
  }) => {
1606
- const m = B(null), [g, x] = F({ isStart: !0, isEnd: !1 }), h = Rt(t, o, n), S = () => {
1606
+ const u = B(null), [g, y] = U({ isStart: !0, isEnd: !1 }), x = Nt(t, o, a), w = () => {
1607
1607
  var l;
1608
- (l = m.current) == null || l.prev();
1608
+ (l = u.current) == null || l.prev();
1609
1609
  }, s = () => {
1610
1610
  var l;
1611
- (l = m.current) == null || l.next();
1611
+ (l = u.current) == null || l.next();
1612
1612
  }, d = () => {
1613
1613
  c == null || c();
1614
1614
  };
1615
- return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ p(L, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1615
+ return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ p(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1616
1616
  /* @__PURE__ */ p(
1617
- w,
1617
+ C,
1618
1618
  {
1619
1619
  sx: {
1620
1620
  display: "grid",
@@ -1625,7 +1625,7 @@ const wt = (t, i) => {
1625
1625
  },
1626
1626
  children: [
1627
1627
  /* @__PURE__ */ e(
1628
- X,
1628
+ D,
1629
1629
  {
1630
1630
  title: i,
1631
1631
  iconUrl: r,
@@ -1633,7 +1633,7 @@ const wt = (t, i) => {
1633
1633
  }
1634
1634
  ),
1635
1635
  /* @__PURE__ */ p(
1636
- w,
1636
+ C,
1637
1637
  {
1638
1638
  sx: {
1639
1639
  display: "flex",
@@ -1642,23 +1642,23 @@ const wt = (t, i) => {
1642
1642
  },
1643
1643
  children: [
1644
1644
  /* @__PURE__ */ e(
1645
- R,
1645
+ T,
1646
1646
  {
1647
1647
  ariaLabel: "Anterior",
1648
1648
  variant: "secondary",
1649
1649
  iconOnly: !0,
1650
- leftIcon: /* @__PURE__ */ e(he, {}),
1651
- onClick: S,
1650
+ leftIcon: /* @__PURE__ */ e(ue, {}),
1651
+ onClick: w,
1652
1652
  disabled: g.isStart
1653
1653
  }
1654
1654
  ),
1655
1655
  /* @__PURE__ */ e(
1656
- R,
1656
+ T,
1657
1657
  {
1658
1658
  ariaLabel: "Siguiente",
1659
1659
  variant: "secondary",
1660
1660
  iconOnly: !0,
1661
- rightIcon: /* @__PURE__ */ e(fe, {}),
1661
+ rightIcon: /* @__PURE__ */ e(ge, {}),
1662
1662
  onClick: s,
1663
1663
  disabled: g.isEnd
1664
1664
  }
@@ -1666,15 +1666,15 @@ const wt = (t, i) => {
1666
1666
  ]
1667
1667
  }
1668
1668
  ),
1669
- /* @__PURE__ */ e(w, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(R, { variant: "secondary", onClick: d, children: "Ver más" }) })
1669
+ /* @__PURE__ */ e(C, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(T, { variant: "secondary", onClick: d, children: "Ver más" }) })
1670
1670
  ]
1671
1671
  }
1672
1672
  ),
1673
1673
  /* @__PURE__ */ e(
1674
- J,
1674
+ H,
1675
1675
  {
1676
- ref: m,
1677
- items: h,
1676
+ ref: u,
1677
+ items: x,
1678
1678
  perPage: 1,
1679
1679
  gap: "0",
1680
1680
  options: {
@@ -1688,23 +1688,23 @@ const wt = (t, i) => {
1688
1688
  perMove: 1
1689
1689
  },
1690
1690
  renderItem: (l) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
1691
- ye,
1691
+ be,
1692
1692
  {
1693
1693
  items: l.items,
1694
1694
  layout: l.kind === "mosaic" ? "mosaic" : "grid",
1695
- onClick: (u) => {
1696
- const v = t.find(
1697
- (I, $) => Se(I, $) === u.id
1695
+ onClick: (m) => {
1696
+ const _ = t.find(
1697
+ (k, E) => ye(k, E) === m.id
1698
1698
  );
1699
- v && (a ? a(v) : Ot(v));
1699
+ _ && (n ? n(_) : kt(_));
1700
1700
  }
1701
1701
  }
1702
1702
  ) }),
1703
- onMove: ({ isStart: l, isEnd: u }) => x({ isStart: l, isEnd: u })
1703
+ onMove: ({ isStart: l, isEnd: m }) => y({ isStart: l, isEnd: m })
1704
1704
  }
1705
1705
  )
1706
1706
  ] }) });
1707
- }, Pt = (t) => ({
1707
+ }, Rt = (t) => ({
1708
1708
  // width: "100vw",
1709
1709
  position: "relative",
1710
1710
  // left: "50%",
@@ -1723,15 +1723,15 @@ const wt = (t, i) => {
1723
1723
  backgroundRepeat: "no-repeat",
1724
1724
  backgroundPosition: "center",
1725
1725
  backgroundSize: "cover"
1726
- }), le = {
1726
+ }), se = {
1727
1727
  textAlign: "center",
1728
1728
  lineHeight: 1.1,
1729
1729
  mb: 1.5
1730
- }, de = {
1730
+ }, ce = {
1731
1731
  display: "inline-block",
1732
1732
  fontWeight: 600,
1733
1733
  fontSize: 24
1734
- }, pe = {
1734
+ }, le = {
1735
1735
  display: "inline-block",
1736
1736
  fontSize: 24,
1737
1737
  lineHeight: 1.1,
@@ -1741,34 +1741,34 @@ const wt = (t, i) => {
1741
1741
  0 0 6px rgba(255, 255, 255, .6),
1742
1742
  0 1px 0 rgba(137, 137, 137, .85)
1743
1743
  `
1744
- }, Ft = ({
1744
+ }, Tt = ({
1745
1745
  headline: t,
1746
1746
  headline2: i,
1747
1747
  items: r,
1748
- backgroundImageUrl: a
1748
+ backgroundImageUrl: n
1749
1749
  }) => {
1750
- const c = t, o = i, n = Re("(max-width: 767px)"), m = r.length > 1, g = a != null ? a : "", x = Pt(g), h = B(null), [S, s] = F({ isStart: !0, isEnd: !1 }), [d, l] = F(0);
1751
- return n ? /* @__PURE__ */ p(
1752
- w,
1750
+ const c = t, o = i, a = Ne("(max-width: 767px)"), u = r.length > 1, g = n != null ? n : "", y = Rt(g), x = B(null), [w, s] = U({ isStart: !0, isEnd: !1 }), [d, l] = U(0);
1751
+ return a ? /* @__PURE__ */ p(
1752
+ C,
1753
1753
  {
1754
1754
  component: "section",
1755
1755
  sx: {
1756
- ...x,
1756
+ ...y,
1757
1757
  textAlign: "center"
1758
1758
  },
1759
1759
  children: [
1760
- (c || o) && /* @__PURE__ */ p(w, { sx: le, children: [
1761
- c && /* @__PURE__ */ e(M, { component: "span", sx: de, children: c }),
1762
- o && /* @__PURE__ */ p(Q, { children: [
1760
+ (c || o) && /* @__PURE__ */ p(C, { sx: se, children: [
1761
+ c && /* @__PURE__ */ e(j, { component: "span", sx: ce, children: c }),
1762
+ o && /* @__PURE__ */ p(Y, { children: [
1763
1763
  /* @__PURE__ */ e("br", {}),
1764
- /* @__PURE__ */ e(M, { component: "span", sx: pe, children: o })
1764
+ /* @__PURE__ */ e(j, { component: "span", sx: le, children: o })
1765
1765
  ] })
1766
1766
  ] }),
1767
- /* @__PURE__ */ p(w, { children: [
1767
+ /* @__PURE__ */ p(C, { children: [
1768
1768
  /* @__PURE__ */ e(
1769
- J,
1769
+ H,
1770
1770
  {
1771
- ref: h,
1771
+ ref: x,
1772
1772
  items: r,
1773
1773
  perPage: 1,
1774
1774
  gap: "12px",
@@ -1787,28 +1787,28 @@ const wt = (t, i) => {
1787
1787
  options: {
1788
1788
  autoWidth: !1
1789
1789
  },
1790
- renderItem: (u) => /* @__PURE__ */ e(ce, { ...u, onButtonClick: r[0].onButtonClick }),
1791
- onMove: ({ index: u, isStart: v, isEnd: I }) => {
1792
- s({ isStart: v, isEnd: I }), l(u);
1790
+ renderItem: (m) => /* @__PURE__ */ e(ie, { ...m, onButtonClick: r[0].onButtonClick }),
1791
+ onMove: ({ index: m, isStart: _, isEnd: k }) => {
1792
+ s({ isStart: _, isEnd: k }), l(m);
1793
1793
  }
1794
1794
  }
1795
1795
  ),
1796
- m && /* @__PURE__ */ e(
1797
- xe,
1796
+ u && /* @__PURE__ */ e(
1797
+ he,
1798
1798
  {
1799
1799
  total: r.length,
1800
1800
  active: d,
1801
- onSelect: (u) => {
1802
- var v;
1803
- l(u), (v = h.current) == null || v.go(u);
1801
+ onSelect: (m) => {
1802
+ var _;
1803
+ l(m), (_ = x.current) == null || _.go(m);
1804
1804
  }
1805
1805
  }
1806
1806
  )
1807
1807
  ] })
1808
1808
  ]
1809
1809
  }
1810
- ) : /* @__PURE__ */ e(w, { component: "section", sx: x, children: /* @__PURE__ */ p(
1811
- w,
1810
+ ) : /* @__PURE__ */ e(C, { component: "section", sx: y, children: /* @__PURE__ */ p(
1811
+ C,
1812
1812
  {
1813
1813
  sx: {
1814
1814
  maxWidth: 1200,
@@ -1820,7 +1820,7 @@ const wt = (t, i) => {
1820
1820
  },
1821
1821
  children: [
1822
1822
  (c || o) && /* @__PURE__ */ e(
1823
- w,
1823
+ C,
1824
1824
  {
1825
1825
  sx: {
1826
1826
  display: "flex",
@@ -1829,18 +1829,18 @@ const wt = (t, i) => {
1829
1829
  minHeight: "100%"
1830
1830
  },
1831
1831
  children: /* @__PURE__ */ p(
1832
- w,
1832
+ C,
1833
1833
  {
1834
1834
  sx: {
1835
- ...le,
1835
+ ...se,
1836
1836
  textAlign: "left",
1837
1837
  mb: 0
1838
1838
  },
1839
1839
  children: [
1840
- c && /* @__PURE__ */ e(M, { component: "span", sx: de, children: c }),
1841
- o && /* @__PURE__ */ p(Q, { children: [
1840
+ c && /* @__PURE__ */ e(j, { component: "span", sx: ce, children: c }),
1841
+ o && /* @__PURE__ */ p(Y, { children: [
1842
1842
  /* @__PURE__ */ e("br", {}),
1843
- /* @__PURE__ */ e(M, { component: "span", sx: pe, children: o })
1843
+ /* @__PURE__ */ e(j, { component: "span", sx: le, children: o })
1844
1844
  ] })
1845
1845
  ]
1846
1846
  }
@@ -1848,7 +1848,7 @@ const wt = (t, i) => {
1848
1848
  }
1849
1849
  ),
1850
1850
  /* @__PURE__ */ e(
1851
- w,
1851
+ C,
1852
1852
  {
1853
1853
  sx: {
1854
1854
  display: "flex",
@@ -1857,42 +1857,42 @@ const wt = (t, i) => {
1857
1857
  flexWrap: "nowrap",
1858
1858
  gap: 4
1859
1859
  },
1860
- children: r.map((u, v) => /* @__PURE__ */ e(
1861
- ce,
1860
+ children: r.map((m, _) => /* @__PURE__ */ e(
1861
+ ie,
1862
1862
  {
1863
- onButtonClick: u.onButtonClick,
1864
- ...u
1863
+ onButtonClick: m.onButtonClick,
1864
+ ...m
1865
1865
  },
1866
- v
1866
+ _
1867
1867
  ))
1868
1868
  }
1869
1869
  )
1870
1870
  ]
1871
1871
  }
1872
1872
  ) });
1873
- }, Ut = ({
1873
+ }, Pt = ({
1874
1874
  className: t = "",
1875
1875
  fullBleed: i = !0,
1876
1876
  items: r,
1877
- selectedIndex: a = 0,
1877
+ selectedIndex: n = 0,
1878
1878
  ariaLabel: c
1879
1879
  }) => {
1880
- const o = B(null), n = B(null);
1880
+ const o = B(null), a = B(null);
1881
1881
  if (!r) return null;
1882
- const m = () => {
1882
+ const u = () => {
1883
1883
  window.location.href = "https://www.olimpo.bet/conoce-club-olimpo";
1884
- }, g = r;
1885
- Ne(() => {
1886
- if (!o.current || !n.current || typeof ResizeObserver == "undefined") return;
1887
- const h = o.current, S = n.current, s = () => {
1888
- h.style.setProperty(
1884
+ }, g = Array.isArray(r) ? r[n] : r;
1885
+ $e(() => {
1886
+ if (!o.current || !a.current || typeof ResizeObserver == "undefined") return;
1887
+ const x = o.current, w = a.current, s = () => {
1888
+ x.style.setProperty(
1889
1889
  "--orc-co-bottomH",
1890
- `${S.offsetHeight + 16}px`
1890
+ `${w.offsetHeight + 16}px`
1891
1891
  );
1892
1892
  }, d = new ResizeObserver(s);
1893
- return d.observe(S), s(), () => d.disconnect();
1893
+ return d.observe(w), s(), () => d.disconnect();
1894
1894
  }, []);
1895
- const x = [
1895
+ const y = [
1896
1896
  "orc-co-wrap",
1897
1897
  i ? "orc-co-fullBleed" : "",
1898
1898
  t
@@ -1901,13 +1901,13 @@ const wt = (t, i) => {
1901
1901
  "section",
1902
1902
  {
1903
1903
  ref: o,
1904
- className: x,
1904
+ className: y,
1905
1905
  "aria-label": c || g.imgAlt || "Club Olimpo",
1906
- children: /* @__PURE__ */ e("div", { ref: n, children: /* @__PURE__ */ e(
1907
- nt,
1906
+ children: /* @__PURE__ */ e("div", { ref: a, children: /* @__PURE__ */ e(
1907
+ tt,
1908
1908
  {
1909
1909
  text: g.text,
1910
- onClick: m,
1910
+ onClick: u,
1911
1911
  imgAlt: g.imgAlt,
1912
1912
  imgSrcMobile: g.imgMobile,
1913
1913
  imgSrcDesktopBg: g.imgDesktopBg,
@@ -1916,136 +1916,136 @@ const wt = (t, i) => {
1916
1916
  ) })
1917
1917
  }
1918
1918
  );
1919
- }, zt = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Wt = {
1920
- controls: zt
1919
+ }, Ft = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Ut = {
1920
+ controls: Ft
1921
1921
  };
1922
- function Lt({
1922
+ function zt({
1923
1923
  items: t,
1924
1924
  title: i = "Combinadas del Olimpo",
1925
1925
  iconUrl: r,
1926
- onViewMore: a,
1926
+ onViewMore: n,
1927
1927
  className: c = ""
1928
1928
  }) {
1929
- const o = B(null), [n, m] = F({ isStart: !0, isEnd: !1 }), [g, x] = F([]), h = () => {
1930
- var $;
1931
- ($ = o.current) == null || $.prev();
1932
- }, S = () => {
1933
- var $;
1934
- ($ = o.current) == null || $.next(), console.log("items: ", t);
1929
+ const o = B(null), [a, u] = U({ isStart: !0, isEnd: !1 }), [g, y] = U([]), x = () => {
1930
+ var E;
1931
+ (E = o.current) == null || E.prev();
1932
+ }, w = () => {
1933
+ var E;
1934
+ (E = o.current) == null || E.next(), console.log("items: ", t);
1935
1935
  }, s = () => {
1936
- a == null || a();
1936
+ n == null || n();
1937
1937
  };
1938
- function d($, O, P) {
1939
- const E = [];
1938
+ function d(E, R, P) {
1939
+ const I = [];
1940
1940
  for (const N of P) {
1941
- const U = u([N]), W = O.reduce((f, C) => {
1942
- f[C.eventId] || (f[C.eventId] = []);
1943
- const y = C.outcomes.filter(
1944
- (_) => U.has(_.id)
1941
+ const f = m([N]), h = R.reduce((b, v) => {
1942
+ b[v.eventId] || (b[v.eventId] = []);
1943
+ const $ = v.outcomes.filter(
1944
+ (O) => f.has(O.id)
1945
1945
  );
1946
- return y.length > 0 && f[C.eventId].push({
1947
- ...C,
1948
- outcomes: y
1949
- }), f;
1950
- }, {}), b = l(N);
1951
- $.forEach((f) => {
1952
- if (f.id !== N.prePackCouponRows[0].eventId) return;
1953
- const C = U;
1954
- let y = null;
1955
- for (const _ of b)
1956
- if ([..._.requiredOutcomeIds].every((T) => C.has(T))) {
1957
- y = _.decimal;
1946
+ return $.length > 0 && b[v.eventId].push({
1947
+ ...v,
1948
+ outcomes: $
1949
+ }), b;
1950
+ }, {}), S = l(N);
1951
+ E.forEach((b) => {
1952
+ if (b.id !== N.prePackCouponRows[0].eventId) return;
1953
+ const v = f;
1954
+ let $ = null;
1955
+ for (const O of S)
1956
+ if ([...O.requiredOutcomeIds].every((A) => v.has(A))) {
1957
+ $ = O.decimal;
1958
1958
  break;
1959
1959
  }
1960
- E.push({
1961
- ...f,
1962
- combinadoTotal: y,
1963
- betoffers: W[f.id] || [],
1960
+ I.push({
1961
+ ...b,
1962
+ combinadoTotal: $,
1963
+ betoffers: h[b.id] || [],
1964
1964
  couponId: N.id
1965
1965
  // optional for tracking
1966
1966
  });
1967
1967
  });
1968
1968
  }
1969
- return E;
1969
+ return I;
1970
1970
  }
1971
- function l($) {
1971
+ function l(E) {
1972
1972
  var P;
1973
- const O = [];
1974
- for (const E of $.prePackCouponRows)
1975
- if (E.type === "BET_BUILDER" && ((P = E.group) != null && P.groups)) {
1973
+ const R = [];
1974
+ for (const I of E.prePackCouponRows)
1975
+ if (I.type === "BET_BUILDER" && ((P = I.group) != null && P.groups)) {
1976
1976
  const N = /* @__PURE__ */ new Set();
1977
- E.group.groups.forEach((U) => {
1978
- var W;
1979
- (W = U.outcomes) == null || W.forEach((b) => N.add(b.id));
1980
- }), O.push({
1977
+ I.group.groups.forEach((f) => {
1978
+ var h;
1979
+ (h = f.outcomes) == null || h.forEach((S) => N.add(S.id));
1980
+ }), R.push({
1981
1981
  requiredOutcomeIds: N,
1982
- decimal: E.odds.decimal
1982
+ decimal: I.odds.decimal
1983
1983
  });
1984
1984
  }
1985
- return O;
1985
+ return R;
1986
1986
  }
1987
- function u($) {
1987
+ function m(E) {
1988
1988
  var P;
1989
- const O = /* @__PURE__ */ new Set();
1990
- for (const E of $)
1991
- for (const N of E.prePackCouponRows)
1992
- N.type === "BET_BUILDER" && ((P = N.group) != null && P.groups) && N.group.groups.forEach((U) => {
1993
- var W;
1994
- (W = U.outcomes) == null || W.forEach((b) => O.add(b.id));
1995
- }), N.type === "SIMPLE" && N.outcome && O.add(N.outcome.id);
1996
- return O;
1989
+ const R = /* @__PURE__ */ new Set();
1990
+ for (const I of E)
1991
+ for (const N of I.prePackCouponRows)
1992
+ N.type === "BET_BUILDER" && ((P = N.group) != null && P.groups) && N.group.groups.forEach((f) => {
1993
+ var h;
1994
+ (h = f.outcomes) == null || h.forEach((S) => R.add(S.id));
1995
+ }), N.type === "SIMPLE" && N.outcome && R.add(N.outcome.id);
1996
+ return R;
1997
1997
  }
1998
- async function v() {
1999
- var $, O, P;
1998
+ async function _() {
1999
+ var E, R, P;
2000
2000
  try {
2001
- const E = (P = (O = ($ = t == null ? void 0 : t.group) == null ? void 0 : $.groups) == null ? void 0 : O[0]) == null ? void 0 : P.id;
2002
- if (!E) {
2001
+ const I = (P = (R = (E = t == null ? void 0 : t.group) == null ? void 0 : E.groups) == null ? void 0 : R[0]) == null ? void 0 : P.id;
2002
+ if (!I) {
2003
2003
  console.error("Could not extract group ID");
2004
2004
  return;
2005
2005
  }
2006
- const N = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${E}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, W = await (await fetch(N)).json();
2007
- x(
2008
- d(W.events, W.betOffers, W.prePackCoupons)
2006
+ const N = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${I}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, h = await (await fetch(N)).json();
2007
+ y(
2008
+ d(h.events, h.betOffers, h.prePackCoupons)
2009
2009
  );
2010
- } catch (E) {
2011
- console.error("loadDataEventSpecial error:", E);
2010
+ } catch (I) {
2011
+ console.error("loadDataEventSpecial error:", I);
2012
2012
  }
2013
2013
  }
2014
- return Z(() => {
2015
- t && v();
2016
- }, [t]), /* @__PURE__ */ e("section", { className: c || void 0, style: { width: "100%" }, children: /* @__PURE__ */ p(L, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2017
- /* @__PURE__ */ p(D, { spacing: 1.5, columns: "1fr auto auto", justify: "start", children: [
2018
- /* @__PURE__ */ e(X, { title: i, iconUrl: r, size: "md" }),
2019
- /* @__PURE__ */ p("div", { className: Wt.controls, children: [
2020
- /* @__PURE__ */ p(D, { spacing: 1, columns: "auto auto", children: [
2014
+ return J(() => {
2015
+ t && _();
2016
+ }, [t]), /* @__PURE__ */ e("section", { className: c || void 0, style: { width: "100%" }, children: /* @__PURE__ */ p(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2017
+ /* @__PURE__ */ p(G, { spacing: 1.5, columns: "1fr auto auto", justify: "start", children: [
2018
+ /* @__PURE__ */ e(D, { title: i, iconUrl: r, size: "md" }),
2019
+ /* @__PURE__ */ p("div", { className: Ut.controls, children: [
2020
+ /* @__PURE__ */ p(G, { spacing: 1, columns: "auto auto", children: [
2021
2021
  /* @__PURE__ */ e(
2022
- R,
2022
+ T,
2023
2023
  {
2024
2024
  ariaLabel: "Anterior",
2025
2025
  variant: "secondary",
2026
2026
  iconOnly: !0,
2027
- leftIcon: /* @__PURE__ */ e(re, {}),
2028
- onClick: h,
2029
- disabled: n.isStart
2027
+ leftIcon: /* @__PURE__ */ e(oe, {}),
2028
+ onClick: x,
2029
+ disabled: a.isStart
2030
2030
  }
2031
2031
  ),
2032
2032
  /* @__PURE__ */ e(
2033
- R,
2033
+ T,
2034
2034
  {
2035
2035
  ariaLabel: "Siguiente",
2036
2036
  variant: "secondary",
2037
2037
  iconOnly: !0,
2038
- rightIcon: /* @__PURE__ */ e(ae, {}),
2039
- onClick: S,
2040
- disabled: n.isEnd
2038
+ rightIcon: /* @__PURE__ */ e(ne, {}),
2039
+ onClick: w,
2040
+ disabled: a.isEnd
2041
2041
  }
2042
2042
  )
2043
2043
  ] }),
2044
- /* @__PURE__ */ e(R, { variant: "secondary", onClick: s, children: "Ver más" })
2044
+ /* @__PURE__ */ e(T, { variant: "secondary", onClick: s, children: "Ver más" })
2045
2045
  ] })
2046
2046
  ] }),
2047
2047
  /* @__PURE__ */ e(
2048
- J,
2048
+ H,
2049
2049
  {
2050
2050
  ref: o,
2051
2051
  items: g,
@@ -2056,64 +2056,64 @@ function Lt({
2056
2056
  breakpoints: {
2057
2057
  768: { perPage: 1.2, gap: "12px", padding: { left: "0px", right: "0px" } }
2058
2058
  },
2059
- renderItem: ($) => /* @__PURE__ */ e(ut, { event: $ }),
2060
- onMove: ({ isStart: $, isEnd: O }) => m({ isStart: $, isEnd: O })
2059
+ renderItem: (E) => /* @__PURE__ */ e(dt, { event: E }),
2060
+ onMove: ({ isStart: E, isEnd: R }) => u({ isStart: E, isEnd: R })
2061
2061
  }
2062
2062
  )
2063
2063
  ] }) });
2064
2064
  }
2065
- function jt({
2065
+ function Lt({
2066
2066
  items: t,
2067
2067
  title: i = "En vivo",
2068
2068
  iconUrl: r,
2069
- onViewMore: a,
2069
+ onViewMore: n,
2070
2070
  className: c = ""
2071
2071
  }) {
2072
2072
  var s, d;
2073
2073
  console.log("wefwef", t);
2074
- const o = B(null), [n, m] = F({ isStart: !0, isEnd: !1 }), g = () => {
2074
+ const o = B(null), [a, u] = U({ isStart: !0, isEnd: !1 }), g = () => {
2075
2075
  var l;
2076
2076
  (l = o.current) == null || l.prev();
2077
- }, x = () => {
2077
+ }, y = () => {
2078
2078
  var l;
2079
2079
  (l = o.current) == null || l.next(), console.log("items: ", t);
2080
- }, h = () => {
2081
- a == null || a();
2080
+ }, x = () => {
2081
+ n == null || n();
2082
2082
  };
2083
2083
  return /* @__PURE__ */ p("section", { className: c || void 0, style: { width: "100%" }, children: [
2084
- /* @__PURE__ */ p(D, { spacing: 1.5, columns: "1fr auto auto", justify: "start", children: [
2085
- /* @__PURE__ */ e(X, { title: i, iconUrl: r, size: "md" }),
2084
+ /* @__PURE__ */ p(G, { spacing: 1.5, columns: "1fr auto auto", justify: "start", children: [
2085
+ /* @__PURE__ */ e(D, { title: i, iconUrl: r, size: "md" }),
2086
2086
  /* @__PURE__ */ p("div", { style: { display: "flex", gap: 8 }, children: [
2087
2087
  /* @__PURE__ */ e(
2088
- R,
2088
+ T,
2089
2089
  {
2090
2090
  ariaLabel: "Anterior",
2091
2091
  variant: "secondary",
2092
2092
  iconOnly: !0,
2093
- leftIcon: /* @__PURE__ */ e(re, {}),
2093
+ leftIcon: /* @__PURE__ */ e(oe, {}),
2094
2094
  onClick: g,
2095
- disabled: n.isStart
2095
+ disabled: a.isStart
2096
2096
  }
2097
2097
  ),
2098
2098
  /* @__PURE__ */ e(
2099
- R,
2099
+ T,
2100
2100
  {
2101
2101
  ariaLabel: "Siguiente",
2102
2102
  variant: "secondary",
2103
2103
  iconOnly: !0,
2104
- rightIcon: /* @__PURE__ */ e(ae, {}),
2105
- onClick: x,
2106
- disabled: n.isEnd
2104
+ rightIcon: /* @__PURE__ */ e(ne, {}),
2105
+ onClick: y,
2106
+ disabled: a.isEnd
2107
2107
  }
2108
2108
  )
2109
2109
  ] }),
2110
- /* @__PURE__ */ e(R, { variant: "secondary", onClick: h, children: "Ver más" })
2110
+ /* @__PURE__ */ e(T, { variant: "secondary", onClick: x, children: "Ver más" })
2111
2111
  ] }),
2112
2112
  /* @__PURE__ */ e(
2113
- J,
2113
+ H,
2114
2114
  {
2115
2115
  ref: o,
2116
- items: (d = (s = t == null ? void 0 : t.events) == null ? void 0 : s.filter((l) => l.event.sport === "FOOTBALL").sort((l, u) => new Date(u.event.start).getTime() - new Date(l.event.start).getTime())) != null ? d : [],
2116
+ items: (d = (s = t == null ? void 0 : t.events) == null ? void 0 : s.filter((l) => l.event.sport === "FOOTBALL").sort((l, m) => new Date(m.event.start).getTime() - new Date(l.event.start).getTime())) != null ? d : [],
2117
2117
  perPage: 3.395,
2118
2118
  gap: "16px",
2119
2119
  options: { autoWidth: !0 },
@@ -2121,93 +2121,130 @@ function jt({
2121
2121
  768: { perPage: 1, gap: "8px", focus: "center", padding: { left: "16px", right: "16px" } },
2122
2122
  1024: { perPage: 2.5, gap: "10px", padding: { right: "16px" } }
2123
2123
  },
2124
- renderItem: (l) => /* @__PURE__ */ e(mt, { ...l }),
2125
- onMove: ({ isStart: l, isEnd: u }) => m({ isStart: l, isEnd: u })
2124
+ renderItem: (l) => /* @__PURE__ */ e(pt, { ...l }),
2125
+ onMove: ({ isStart: l, isEnd: m }) => u({ isStart: l, isEnd: m })
2126
2126
  }
2127
2127
  )
2128
2128
  ] });
2129
2129
  }
2130
- const At = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Gt = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Bt = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", oe = {
2130
+ const At = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Wt = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Bt = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", ee = {
2131
2131
  wrapper: At,
2132
- container: Gt,
2132
+ container: Wt,
2133
2133
  buttonWrapper: Bt
2134
2134
  };
2135
- function Mt({
2135
+ function jt({
2136
2136
  items: t,
2137
2137
  title: i = "En vivo",
2138
2138
  iconUrl: r,
2139
- onViewMore: a,
2139
+ onViewMore: n,
2140
2140
  className: c = ""
2141
2141
  }) {
2142
2142
  const o = /* @__PURE__ */ new Date();
2143
2143
  o.toISOString();
2144
- const n = new Date(o);
2145
- n.setDate(n.getDate() + 7), n.toISOString();
2146
- const m = B(null), [g, x] = F({ isStart: !0, isEnd: !1 }), [h, S] = F([]), s = () => {
2147
- a == null || a();
2144
+ const a = new Date(o);
2145
+ a.setDate(a.getDate() + 7), a.toISOString();
2146
+ const u = B(null), [g, y] = U({ isStart: !0, isEnd: !1 }), [x, w] = U([]), s = () => {
2147
+ n == null || n();
2148
2148
  };
2149
2149
  async function d() {
2150
2150
  try {
2151
- const I = t.events.map((E) => {
2151
+ const k = t.events.map((I) => {
2152
2152
  var N;
2153
- return (N = E.event) == null ? void 0 : N.id;
2154
- }), $ = I.map((E) => `id=${E}`).join("&"), P = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/betoffer/selected/combined_layout/event/${I[0]}?${$}&lang=es_PE&market=PE`;
2153
+ return (N = I.event) == null ? void 0 : N.id;
2154
+ }), E = k.map((I) => `id=${I}`).join("&"), P = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/betoffer/selected/combined_layout/event/${k[0]}?${E}&lang=es_PE&market=PE`;
2155
2155
  l(P);
2156
- } catch (I) {
2157
- console.error(I);
2156
+ } catch (k) {
2157
+ console.error(k);
2158
2158
  }
2159
2159
  }
2160
- async function l(I) {
2160
+ async function l(k) {
2161
2161
  try {
2162
- const O = await (await fetch(I)).json(), P = O.events.map((N) => N.event), E = O.events.flatMap((N) => N.betOffers || []);
2163
- S(u(P, E));
2164
- } catch ($) {
2165
- console.error($);
2162
+ const R = await (await fetch(k)).json(), P = R.events.map((N) => N.event), I = R.events.flatMap((N) => N.betOffers || []);
2163
+ w(m(P, I));
2164
+ } catch (E) {
2165
+ console.error(E);
2166
2166
  }
2167
2167
  }
2168
- function u(I, $) {
2169
- const P = $.filter((E) => {
2168
+ function m(k, E) {
2169
+ const P = E.filter((I) => {
2170
2170
  var N;
2171
- return ((N = E.betOfferType) == null ? void 0 : N.id) === 2;
2172
- }).reduce((E, N) => (E[N.eventId] || (E[N.eventId] = []), E[N.eventId].push(N), E), {});
2173
- return I.filter((E) => P[E.id]).map((E) => ({
2174
- ...E,
2175
- outcome: P[E.id]
2171
+ return ((N = I.betOfferType) == null ? void 0 : N.id) === 2;
2172
+ }).reduce((I, N) => (I[N.eventId] || (I[N.eventId] = []), I[N.eventId].push(N), I), {});
2173
+ return k.filter((I) => P[I.id]).map((I) => ({
2174
+ ...I,
2175
+ outcome: P[I.id]
2176
2176
  }));
2177
2177
  }
2178
- return Z(() => {
2178
+ return J(() => {
2179
2179
  t && t.events.length > 0 && d();
2180
- }, [t]), /* @__PURE__ */ e("section", { className: c || void 0, style: { width: "100%" }, children: /* @__PURE__ */ p("div", { className: oe.wrapper, children: [
2181
- /* @__PURE__ */ e("div", { className: oe.container, children: /* @__PURE__ */ p(L, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2182
- /* @__PURE__ */ e(X, { title: "Eventos de la semana" }),
2183
- /* @__PURE__ */ e("div", { className: oe.buttonWrapper, children: /* @__PURE__ */ e(R, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
2180
+ }, [t]), /* @__PURE__ */ e("section", { className: c || void 0, style: { width: "100%" }, children: /* @__PURE__ */ p("div", { className: ee.wrapper, children: [
2181
+ /* @__PURE__ */ e("div", { className: ee.container, children: /* @__PURE__ */ p(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2182
+ /* @__PURE__ */ e(D, { title: "Eventos de la semana" }),
2183
+ /* @__PURE__ */ e("div", { className: ee.buttonWrapper, children: /* @__PURE__ */ e(T, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
2184
2184
  s();
2185
2185
  }, children: "Ver más" }) })
2186
2186
  ] }) }),
2187
2187
  /* @__PURE__ */ e("div", { style: { minWidth: 0 }, children: /* @__PURE__ */ e(
2188
- J,
2188
+ H,
2189
2189
  {
2190
- ref: m,
2191
- items: h,
2190
+ ref: u,
2191
+ items: x,
2192
2192
  perPage: 3.5,
2193
2193
  gap: "16px",
2194
2194
  options: { autoWidth: !0 },
2195
2195
  breakpoints: {
2196
2196
  1024: { perPage: 1.4, gap: "8px", focus: "center", padding: { left: "8px", right: "8px" } }
2197
2197
  },
2198
- renderItem: (I) => /* @__PURE__ */ e(yt, { event: I }),
2199
- onMove: ({ isStart: I, isEnd: $ }) => x({ isStart: I, isEnd: $ })
2198
+ renderItem: (k) => /* @__PURE__ */ e(bt, { event: k }),
2199
+ onMove: ({ isStart: k, isEnd: E }) => y({ isStart: k, isEnd: E })
2200
2200
  }
2201
2201
  ) })
2202
2202
  ] }) });
2203
2203
  }
2204
+ const Gt = [
2205
+ {
2206
+ desktopSrc: "https://stg-www.contodobet.com/static/img/landing/Banner/FondoDesktop.png",
2207
+ mobileSrc: "https://stg-www.contodobet.com/static/img/landing/Banner/FondoMisiones.png",
2208
+ fallbackSrc: "https://stg-www.contodobet.com/static/img/landing/Banner/FondoMisiones.jpg"
2209
+ },
2210
+ {
2211
+ desktopSrc: "https://stg-www.contodobet.com/static/img/landing/Banner/FondoDesktop.png",
2212
+ mobileSrc: "https://stg-www.contodobet.com/static/img/landing/Banner/FondoMisiones.png",
2213
+ fallbackSrc: "https://stg-www.contodobet.com/static/img/landing/Banner/FondoMisiones.jpg"
2214
+ }
2215
+ ], Mt = [
2216
+ {
2217
+ id: 1,
2218
+ label: "APUESTAS",
2219
+ icon: "https://stg-www.contodobet.com/static/img/landing/Banner/icon1.svg",
2220
+ onclick: () => console.log("APUESTAS")
2221
+ },
2222
+ {
2223
+ id: 2,
2224
+ label: "EXPLORAR",
2225
+ icon: "https://stg-www.contodobet.com/static/img/landing/Banner/icon2.svg",
2226
+ onclick: () => console.log("EXPLORAR")
2227
+ },
2228
+ {
2229
+ id: 3,
2230
+ label: "TOP JUEGOS",
2231
+ icon: "https://stg-www.contodobet.com/static/img/landing/Banner/icon3.svg",
2232
+ onclick: () => console.log("TOP JUEGOS")
2233
+ },
2234
+ {
2235
+ id: 4,
2236
+ label: "MISIONES",
2237
+ icon: "https://stg-www.contodobet.com/static/img/landing/Banner/icon4.svg",
2238
+ onclick: () => console.log("MISIONES")
2239
+ }
2240
+ ];
2204
2241
  function Dt({
2205
- backgrounds: t,
2206
- items: i
2242
+ backgrounds: t = Gt,
2243
+ items: i = Mt
2207
2244
  }) {
2208
- const [r, a] = F(0), c = t.length || 1;
2245
+ const [r, n] = U(0), c = t.length || 1;
2209
2246
  return /* @__PURE__ */ p(
2210
- z,
2247
+ F,
2211
2248
  {
2212
2249
  component: "section",
2213
2250
  sx: {
@@ -2221,7 +2258,7 @@ function Dt({
2221
2258
  },
2222
2259
  children: [
2223
2260
  /* @__PURE__ */ p(
2224
- z,
2261
+ F,
2225
2262
  {
2226
2263
  sx: {
2227
2264
  position: "relative",
@@ -2231,7 +2268,7 @@ function Dt({
2231
2268
  },
2232
2269
  children: [
2233
2270
  /* @__PURE__ */ e(
2234
- J,
2271
+ H,
2235
2272
  {
2236
2273
  items: t,
2237
2274
  perPage: 1,
@@ -2243,11 +2280,11 @@ function Dt({
2243
2280
  drag: !0,
2244
2281
  focus: "center"
2245
2282
  },
2246
- onMove: ({ index: o }) => a(o),
2283
+ onMove: ({ index: o }) => n(o),
2247
2284
  renderItem: (o) => {
2248
- var n;
2285
+ var a;
2249
2286
  return /* @__PURE__ */ p(
2250
- z,
2287
+ F,
2251
2288
  {
2252
2289
  sx: {
2253
2290
  position: "relative",
@@ -2255,7 +2292,7 @@ function Dt({
2255
2292
  },
2256
2293
  children: [
2257
2294
  /* @__PURE__ */ p(
2258
- z,
2295
+ F,
2259
2296
  {
2260
2297
  component: "picture",
2261
2298
  sx: { position: "absolute", inset: 0, lineHeight: 0 },
@@ -2275,10 +2312,10 @@ function Dt({
2275
2312
  }
2276
2313
  ),
2277
2314
  /* @__PURE__ */ e(
2278
- z,
2315
+ F,
2279
2316
  {
2280
2317
  component: "img",
2281
- src: (n = o.fallbackSrc) != null ? n : o.desktopSrc,
2318
+ src: (a = o.fallbackSrc) != null ? a : o.desktopSrc,
2282
2319
  alt: "",
2283
2320
  "aria-hidden": !0,
2284
2321
  loading: "lazy",
@@ -2294,7 +2331,7 @@ function Dt({
2294
2331
  }
2295
2332
  ),
2296
2333
  /* @__PURE__ */ e(
2297
- z,
2334
+ F,
2298
2335
  {
2299
2336
  sx: {
2300
2337
  position: "absolute",
@@ -2316,7 +2353,7 @@ function Dt({
2316
2353
  }
2317
2354
  ),
2318
2355
  /* @__PURE__ */ e(
2319
- z,
2356
+ F,
2320
2357
  {
2321
2358
  sx: {
2322
2359
  position: "absolute",
@@ -2327,14 +2364,14 @@ function Dt({
2327
2364
  justifyContent: "center",
2328
2365
  zIndex: 2
2329
2366
  },
2330
- children: /* @__PURE__ */ e(xe, { total: c, active: r })
2367
+ children: /* @__PURE__ */ e(he, { total: c, active: r })
2331
2368
  }
2332
2369
  )
2333
2370
  ]
2334
2371
  }
2335
2372
  ),
2336
2373
  /* @__PURE__ */ e(
2337
- z,
2374
+ F,
2338
2375
  {
2339
2376
  sx: {
2340
2377
  position: "absolute",
@@ -2353,7 +2390,7 @@ function Dt({
2353
2390
  zIndex: 3
2354
2391
  },
2355
2392
  children: i.map((o) => /* @__PURE__ */ p(
2356
- z,
2393
+ F,
2357
2394
  {
2358
2395
  sx: {
2359
2396
  display: "flex",
@@ -2364,12 +2401,12 @@ function Dt({
2364
2401
  cursor: o.onclick ? "pointer" : "default"
2365
2402
  },
2366
2403
  onClick: () => {
2367
- var n;
2368
- return (n = o.onclick) == null ? void 0 : n.call(o);
2404
+ var a;
2405
+ return (a = o.onclick) == null ? void 0 : a.call(o);
2369
2406
  },
2370
2407
  children: [
2371
2408
  o.icon && /* @__PURE__ */ e(
2372
- z,
2409
+ F,
2373
2410
  {
2374
2411
  component: "img",
2375
2412
  src: o.icon,
@@ -2384,7 +2421,7 @@ function Dt({
2384
2421
  }
2385
2422
  ),
2386
2423
  /* @__PURE__ */ e(
2387
- me,
2424
+ pe,
2388
2425
  {
2389
2426
  sx: {
2390
2427
  fontSize: 12,
@@ -2421,9 +2458,9 @@ function Xt({
2421
2458
  rows: i = Ht
2422
2459
  }) {
2423
2460
  const r = i.flat();
2424
- return /* @__PURE__ */ p(z, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
2461
+ return /* @__PURE__ */ p(F, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
2425
2462
  /* @__PURE__ */ e(
2426
- me,
2463
+ pe,
2427
2464
  {
2428
2465
  id: "mp-title",
2429
2466
  variant: "h6",
@@ -2437,7 +2474,7 @@ function Xt({
2437
2474
  }
2438
2475
  ),
2439
2476
  /* @__PURE__ */ e(
2440
- z,
2477
+ F,
2441
2478
  {
2442
2479
  sx: {
2443
2480
  width: "288px",
@@ -2450,20 +2487,20 @@ function Xt({
2450
2487
  }
2451
2488
  }
2452
2489
  ),
2453
- /* @__PURE__ */ e(z, { sx: { display: { xs: "block", md: "none" } }, children: i.map((a, c) => /* @__PURE__ */ e(
2454
- ge,
2490
+ /* @__PURE__ */ e(F, { sx: { display: { xs: "block", md: "none" } }, children: i.map((n, c) => /* @__PURE__ */ e(
2491
+ me,
2455
2492
  {
2456
2493
  direction: "row",
2457
2494
  justifyContent: "center",
2458
2495
  alignItems: "center",
2459
2496
  gap: 2.5,
2460
2497
  flexWrap: "wrap",
2461
- children: a.map((o) => /* @__PURE__ */ e(se, { ...o }, `${o.src}-${o.alt}`))
2498
+ children: n.map((o) => /* @__PURE__ */ e(ae, { ...o }, `${o.src}-${o.alt}`))
2462
2499
  },
2463
2500
  c
2464
2501
  )) }),
2465
2502
  /* @__PURE__ */ e(
2466
- z,
2503
+ F,
2467
2504
  {
2468
2505
  sx: {
2469
2506
  mt: 3,
@@ -2474,30 +2511,32 @@ function Xt({
2474
2511
  gridTemplateColumns: { md: "repeat(auto-fit, 160px)" },
2475
2512
  justifyContent: { md: "center" }
2476
2513
  },
2477
- children: r.map((a) => /* @__PURE__ */ e(se, { ...a }, `${a.src}-${a.alt}`))
2514
+ children: r.map((n) => /* @__PURE__ */ e(ae, { ...n }, `${n.src}-${n.alt}`))
2478
2515
  }
2479
2516
  )
2480
2517
  ] });
2481
2518
  }
2482
2519
  const Jt = {
2483
- OraculoSeccionDestacados: _t,
2484
- OraculoSeccionTopJuegos: Ct,
2485
- OraculoSeccionCasinoEnVivo: Et,
2486
- OraculoSeccionCasino: kt,
2487
- OraculoSeccionVirtuales: Tt,
2488
- OraculoSeccionClubOlimpo: Ut,
2489
- OraculoSeccionBonoBienvenida: Ft,
2520
+ OraculoSeccionDestacados: vt,
2521
+ OraculoSeccionTopJuegos: _t,
2522
+ OraculoSeccionCasinoEnVivo: Ct,
2523
+ OraculoSeccionCasino: It,
2524
+ OraculoSeccionVirtuales: Ot,
2525
+ OraculoSeccionClubOlimpo: Pt,
2526
+ OraculoSeccionBonoBienvenida: Tt,
2490
2527
  OraculoSeccionBanners: Dt,
2491
2528
  OraculoSeccionMediosPago: Xt,
2492
- OraculoSeccionEventoEnVivo: jt,
2493
- OraculoSeccionEventoSemana: Mt,
2494
- OraculoSeccionEventoCombinadas: Lt
2529
+ OraculoSeccionEventoEnVivo: Lt,
2530
+ OraculoSeccionEventoSemana: jt,
2531
+ OraculoSeccionEventoCombinadas: zt
2495
2532
  }, Kt = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, qt = (t) => /^OraculoSeccion[A-Z]/.test(t), Yt = Object.fromEntries(
2496
- Object.entries(Jt).filter(([t, i]) => qt(t) && Kt(i))
2533
+ Object.entries(Jt).filter(
2534
+ ([t, i]) => qt(t) && Kt(i)
2535
+ )
2497
2536
  );
2498
- class ue extends Error {
2499
- constructor(i, r, a) {
2500
- super(`HTTP ${i} ${a}`), this.status = i, this.url = r, this.statusText = a, this.name = "HttpError";
2537
+ class de extends Error {
2538
+ constructor(i, r, n) {
2539
+ super(`HTTP ${i} ${n}`), this.status = i, this.url = r, this.statusText = n, this.name = "HttpError";
2501
2540
  }
2502
2541
  }
2503
2542
  const lo = ({
@@ -2505,185 +2544,197 @@ const lo = ({
2505
2544
  docId: i = "home",
2506
2545
  db: r
2507
2546
  }) => {
2508
- const [a, c] = F([]), [o, n] = F(!1), [m, g] = F({}), [x, h] = F({}), [S, s] = F({}), [d, l] = F({});
2509
- Z(() => {
2547
+ const [n, c] = U(
2548
+ []
2549
+ ), [o, a] = U(!1), [u, g] = U({}), [y, x] = U({}), [w, s] = U({});
2550
+ J(() => {
2510
2551
  if (t || !r) return;
2511
- n(!0);
2512
- const b = Te(
2513
- Pe(r, "landings", i),
2514
- (f) => {
2515
- var C;
2552
+ a(!0);
2553
+ const f = Oe(
2554
+ Re(r, "landings", i),
2555
+ (h) => {
2556
+ var S;
2516
2557
  try {
2517
- let y = f.exists() ? ((C = f.data()) == null ? void 0 : C.sections) || [] : [];
2518
- y = y.slice().sort((_, k) => {
2519
- var T, j;
2520
- return ((T = _.order) != null ? T : 0) - ((j = k.order) != null ? j : 0);
2521
- }).map((_, k) => ({ ..._, order: k + 1 })), c(y), console.log("fetched: ", y);
2522
- } catch (y) {
2523
- console.error("Error procesando landings/" + i, y);
2558
+ let b = h.exists() ? ((S = h.data()) == null ? void 0 : S.sections) || [] : [];
2559
+ b = b.slice().sort((v, $) => {
2560
+ var O, L;
2561
+ return ((O = v.order) != null ? O : 0) - ((L = $.order) != null ? L : 0);
2562
+ }).map((v, $) => ({ ...v, order: $ + 1 })), c(b), console.log("fetched: ", b);
2563
+ } catch (b) {
2564
+ console.error("Error procesando landings/" + i, b);
2524
2565
  } finally {
2525
- n(!1);
2566
+ a(!1);
2526
2567
  }
2527
2568
  },
2528
- (f) => {
2529
- console.error("Error escuchando landings/" + i, f), n(!1);
2569
+ (h) => {
2570
+ console.error("Error escuchando landings/" + i, h), a(!1);
2530
2571
  }
2531
2572
  );
2532
- return () => b();
2533
- }, [t, i, r]);
2534
- const u = async (b) => {
2535
- const f = (b.apiUrl || "").trim();
2536
- if (!f) return;
2537
- const C = b.apiMethod || "GET", y = b.apiParams || [];
2538
- let _ = f, k, T;
2539
- if (C === "GET") {
2540
- const G = new URL(
2541
- f,
2573
+ return () => f();
2574
+ }, [t, i, r]), J(() => {
2575
+ (t ? t.slice() : n.slice()).map((S) => S.componentKey).filter((S) => !!S).length;
2576
+ }, [t, n]);
2577
+ const d = async (f) => {
2578
+ const h = (f.apiUrl || "").trim();
2579
+ if (!h) return;
2580
+ const S = f.apiMethod || "GET", b = f.apiParams || [];
2581
+ let v = h, $, O;
2582
+ if (S === "GET") {
2583
+ const A = new URL(
2584
+ h,
2542
2585
  typeof window == "undefined" ? "http://localhost" : window.location.origin
2543
2586
  );
2544
- for (const A of y)
2545
- A.key && G.searchParams.append(A.key, A.value);
2546
- _ = G.toString();
2587
+ for (const W of b)
2588
+ W.key && A.searchParams.append(W.key, W.value);
2589
+ v = A.toString();
2547
2590
  } else {
2548
- const G = new URLSearchParams();
2549
- for (const A of y)
2550
- A.key && G.append(A.key, A.value);
2551
- k = G.toString(), T = {
2591
+ const A = new URLSearchParams();
2592
+ for (const W of b)
2593
+ W.key && A.append(W.key, W.value);
2594
+ $ = A.toString(), O = {
2552
2595
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
2553
2596
  };
2554
2597
  }
2555
- const j = await fetch(_, {
2556
- method: C,
2557
- headers: T,
2558
- body: k
2598
+ const L = await fetch(v, {
2599
+ method: S,
2600
+ headers: O,
2601
+ body: $
2559
2602
  });
2560
- if (!j.ok) throw new ue(j.status, _, j.statusText);
2561
- return j.json();
2562
- }, v = ne(
2563
- () => t ? t.slice() : a.slice(),
2564
- [t, a]
2565
- ), I = $e.useRef(/* @__PURE__ */ new Set());
2566
- Z(() => {
2567
- const b = v.map((f) => ({ s: f, url: (f.apiUrl || "").trim() })).filter(({ url: f }) => !!f);
2568
- if (b.length)
2569
- for (const { s: f, url: C } of b) {
2570
- const y = `${f.id}|${C}`;
2571
- I.current.has(y) || (I.current.add(y), s((_) => ({ ..._, [f.id]: !0 })), l((_) => ({ ..._, [f.id]: "" })), (async () => {
2603
+ if (!L.ok) throw new de(L.status, v, L.statusText);
2604
+ return L.json();
2605
+ }, l = te(
2606
+ () => t ? t.slice() : n.slice(),
2607
+ [t, n]
2608
+ ), m = we.useRef(/* @__PURE__ */ new Set());
2609
+ J(() => {
2610
+ const f = l.map((h) => ({ s: h, url: (h.apiUrl || "").trim() })).filter(({ url: h }) => !!h);
2611
+ if (f.length)
2612
+ for (const { s: h, url: S } of f) {
2613
+ const b = `${h.id}|${S}`;
2614
+ m.current.has(b) || (m.current.add(b), x((v) => ({ ...v, [h.id]: !0 })), s((v) => ({ ...v, [h.id]: "" })), (async () => {
2572
2615
  try {
2573
- const _ = await u(f);
2574
- h((k) => ({ ...k, [f.id]: _ }));
2575
- } catch (_) {
2576
- let k = "Error desconocido";
2577
- _ instanceof ue ? k = `Error HTTP ${_.status} (${_.statusText}) en ${_.url}` : _ instanceof SyntaxError ? k = "Respuesta no es JSON válido" : _ instanceof TypeError ? k = "Fallo de red / CORS / conexión" : typeof _ == "string" && (k = _.toString()), l((T) => ({ ...T, [f.id]: k }));
2616
+ const v = await d(h);
2617
+ g(($) => ({ ...$, [h.id]: v }));
2618
+ } catch (v) {
2619
+ let $ = "Error desconocido";
2620
+ v instanceof de ? $ = `Error HTTP ${v.status} (${v.statusText}) en ${v.url}` : v instanceof SyntaxError ? $ = "Respuesta no es JSON válido" : v instanceof TypeError ? $ = "Fallo de red / CORS / conexión" : typeof v == "string" && ($ = v.toString()), s((O) => ({ ...O, [h.id]: $ }));
2578
2621
  } finally {
2579
- s((_) => ({ ..._, [f.id]: !1 }));
2622
+ x((v) => ({ ...v, [h.id]: !1 }));
2580
2623
  }
2581
2624
  })());
2582
2625
  }
2583
- }, [v]);
2584
- const $ = ne(
2585
- () => v.filter((b) => b.visible).sort((b, f) => b.order - f.order),
2586
- [v]
2587
- ), O = (b) => Array.isArray(b) ? b.map((f) => {
2588
- const C = {};
2589
- for (const y of f.fields || []) {
2590
- const _ = (y.type || "string").toLowerCase();
2591
- if (_ === "number") C[y.name] = Number(y.value);
2592
- else if (_ === "boolean")
2593
- C[y.name] = String(y.value).toLowerCase() === "true";
2594
- else if (_ === "function") {
2595
- const k = String(y.value || "").trim();
2596
- C[y.name] = () => {
2597
- if (k)
2598
- try {
2599
- return new Function(k)();
2600
- } catch (T) {
2601
- console.error("Error función manual", T);
2602
- }
2603
- };
2604
- } else C[y.name] = y.value;
2626
+ }, [l]);
2627
+ const _ = te(
2628
+ () => l.filter((f) => f.visible).sort((f, h) => f.order - h.order),
2629
+ [l]
2630
+ ), k = (f) => Array.isArray(f) ? f.map((h) => {
2631
+ const S = {};
2632
+ for (const b of h.fields || []) {
2633
+ const v = (b.type || "string").toLowerCase();
2634
+ if (v === "number") {
2635
+ const $ = String(b.value || "").trim();
2636
+ if ($ !== "") {
2637
+ const O = Number($);
2638
+ Number.isNaN(O) || (S[b.name] = O);
2639
+ }
2640
+ } else if (v === "boolean")
2641
+ S[b.name] = String(b.value).toLowerCase() === "true";
2642
+ else if (v === "function") {
2643
+ const $ = String(b.value || "").trim();
2644
+ if ($)
2645
+ try {
2646
+ const O = new Function($);
2647
+ S[b.name] = O;
2648
+ } catch (O) {
2649
+ console.error(`❌ Error creando función en item '${b.name}':`, O);
2650
+ }
2651
+ } else S[b.name] = b.value;
2605
2652
  }
2606
- return C;
2607
- }) : [], P = (b) => {
2608
- const f = {};
2609
- if (!Array.isArray(b)) return f;
2610
- for (const C of b) {
2611
- if (!C.name) continue;
2612
- const y = (C.type || "string").toLowerCase();
2613
- if (y === "number") f[C.name] = Number(C.value);
2614
- else if (y === "boolean")
2615
- f[C.name] = String(C.value).toLowerCase() === "true";
2616
- else if (y === "function") {
2617
- const _ = String(C.value || "").trim();
2618
- f[C.name] = () => {
2619
- if (_)
2620
- try {
2621
- return new Function(_)();
2622
- } catch (k) {
2623
- console.error("Error función escalar manual", k);
2624
- }
2625
- };
2626
- } else f[C.name] = C.value;
2653
+ return S;
2654
+ }) : [], E = (f) => {
2655
+ const h = {};
2656
+ if (!Array.isArray(f)) return h;
2657
+ for (const S of f) {
2658
+ if (!S.name) continue;
2659
+ const b = (S.type || "string").toLowerCase();
2660
+ if (b === "number") {
2661
+ const v = String(S.value || "").trim();
2662
+ if (v !== "") {
2663
+ const $ = Number(v);
2664
+ Number.isNaN($) || (h[S.name] = $);
2665
+ }
2666
+ } else if (b === "boolean")
2667
+ h[S.name] = String(S.value).toLowerCase() === "true";
2668
+ else if (b === "function") {
2669
+ const v = String(S.value || "").trim();
2670
+ if (v)
2671
+ try {
2672
+ const $ = new Function(v);
2673
+ h[S.name] = $;
2674
+ } catch ($) {
2675
+ console.error(`❌ Error creando función en item '${S.name}':`, $);
2676
+ }
2677
+ } else h[S.name] = S.value;
2627
2678
  }
2628
- return f;
2629
- }, E = (b, f, C) => {
2630
- const y = C ? { ...C } : {};
2631
- if (f) {
2632
- const A = (f.variableName || "items").trim() || "items";
2633
- return y[A] = f.arr || [], y;
2679
+ return h;
2680
+ }, R = (f, h, S) => {
2681
+ const b = S ? { ...S } : {};
2682
+ if (h) {
2683
+ const W = (h.variableName || "items").trim() || "items";
2684
+ return b[W] = h.arr || [], b;
2634
2685
  }
2635
- const _ = b, k = Array.isArray(_), T = !k && typeof _ == "object" && _ !== null ? _ : void 0, j = T && Array.isArray(T.lobby || T.items) ? T.lobby || T.items : void 0, G = (A) => k ? _ : j || A;
2636
- return y.items = G(j || []), y;
2637
- }, N = (b) => {
2638
- var _;
2639
- const f = !!((_ = b.apiUrl) != null && _.trim()), C = f ? x[b.id] : void 0;
2640
- if (["OraculoSeccionEventoEnVivo", "OraculoSeccionEventoSemana", "OraculoSeccionEventoCombinadas"].includes(b.componentKey))
2641
- return console.log(C), { items: C };
2642
- let y = b.props ? { ...b.props } : {};
2643
- if (f) y = E(C, null, y);
2644
- else if (b.dataMode === "manual") {
2645
- const k = O(b.manualItems);
2646
- y = E(
2686
+ const v = f, $ = Array.isArray(v), O = !$ && typeof v == "object" && v !== null ? v : void 0, L = O && Array.isArray(O.lobby || O.items) ? O.lobby || O.items : void 0, A = (W) => $ ? v : L || W;
2687
+ return b.items = A(L || []), b;
2688
+ }, P = (f) => {
2689
+ var $;
2690
+ const h = !!(($ = f.apiUrl) != null && $.trim()), S = h ? u[f.id] : void 0;
2691
+ let b = f.props ? { ...f.props } : {};
2692
+ const v = E(f.manualScalarFields);
2693
+ if ([
2694
+ "OraculoSeccionEventoEnVivo",
2695
+ "OraculoSeccionEventoSemana",
2696
+ "OraculoSeccionEventoCombinadas"
2697
+ ].includes(f.componentKey))
2698
+ return console.log(S), { items: S, ...b, ...v };
2699
+ if (b = { ...b, ...v }, h) b = R(S, null, b);
2700
+ else if (f.dataMode === "manual") {
2701
+ const O = k(f.manualItems);
2702
+ b = R(
2647
2703
  null,
2648
- { arr: k, variableName: b.variableName },
2649
- y
2704
+ { arr: O, variableName: f.variableName },
2705
+ b
2650
2706
  );
2651
- const T = P(b.manualScalarFields);
2652
- y = { ...y, ...T };
2653
2707
  }
2654
- return y;
2655
- }, U = (b, f, C) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
2708
+ return b;
2709
+ }, I = (f, h, S) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
2656
2710
  loading: "bg-blue-100 text-blue-800",
2657
2711
  error: "bg-red-100 text-red-800",
2658
2712
  component: "bg-yellow-100 text-yellow-800"
2659
- }[f]}`, children: C }, b), W = (b) => {
2660
- var G;
2661
- const f = b.componentKey, C = (
2662
- // STATIC_COMPONENTS[rawKey] || componentMap[rawKey];
2663
- Yt[f] || m[f]
2664
- );
2665
- if (!C)
2666
- return console.warn(`No hay componente registrado para "${f}"`), U(
2667
- b.id,
2713
+ }[h]}`, children: S }, f), N = (f) => {
2714
+ var A;
2715
+ const h = f.componentKey, S = Yt[h];
2716
+ if (!S)
2717
+ return console.warn(`No hay componente registrado para "${h}"`), I(
2718
+ f.id,
2668
2719
  "component",
2669
- `Componente "${f}" no encontrado`
2720
+ `Componente "${h}" no encontrado`
2670
2721
  );
2671
- const y = !!((G = b.apiUrl) != null && G.trim()), _ = y ? x[b.id] : void 0, k = y ? !!S[b.id] : !1, T = y ? d[b.id] : "";
2672
- if (y) {
2673
- if (k && !_)
2674
- return U(
2675
- b.id,
2722
+ const b = !!((A = f.apiUrl) != null && A.trim()), v = b ? u[f.id] : void 0, $ = b ? !!y[f.id] : !1, O = b ? w[f.id] : "";
2723
+ if (b) {
2724
+ if ($ && !v)
2725
+ return I(
2726
+ f.id,
2676
2727
  "loading",
2677
- `Cargando datos desde ${b.apiUrl}...`
2728
+ `Cargando datos desde ${f.apiUrl}...`
2678
2729
  );
2679
- if (T && !_)
2680
- return U(
2681
- b.id,
2730
+ if (O && !v)
2731
+ return I(
2732
+ f.id,
2682
2733
  "error",
2683
- `Error cargando ${b.apiUrl}: ${T}`
2734
+ `Error cargando ${f.apiUrl}: ${O}`
2684
2735
  );
2685
2736
  }
2686
- const j = N(b);
2737
+ const L = P(f);
2687
2738
  return /* @__PURE__ */ e(
2688
2739
  "div",
2689
2740
  {
@@ -2693,13 +2744,13 @@ const lo = ({
2693
2744
  width: "100%",
2694
2745
  boxSizing: "border-box"
2695
2746
  },
2696
- children: /* @__PURE__ */ e(C, { ...j })
2747
+ children: /* @__PURE__ */ e(S, { ...L })
2697
2748
  },
2698
- b.id
2749
+ f.id
2699
2750
  );
2700
2751
  };
2701
- return o && !t ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-400", children: "Cargando preview..." }) : !o && !t && a.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
2702
- we,
2752
+ return o && !t ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-400", children: "Cargando preview..." }) : !o && !t && n.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
2753
+ Se,
2703
2754
  {
2704
2755
  className: "oli-font",
2705
2756
  maxWidth: !1,
@@ -2713,46 +2764,46 @@ const lo = ({
2713
2764
  maxWidth: "100%",
2714
2765
  overflowX: "hidden"
2715
2766
  },
2716
- children: /* @__PURE__ */ e(ge, { direction: "column", spacing: 8, useFlexGap: !0, children: $.map(W) })
2767
+ children: /* @__PURE__ */ e(me, { direction: "column", spacing: 8, useFlexGap: !0, children: _.map(N) })
2717
2768
  }
2718
2769
  );
2719
2770
  };
2720
2771
  export {
2721
- R as OraculoButton,
2722
- J as OraculoCarousel,
2723
- xe as OraculoCarouselDots,
2724
- nt as OraculoClubOlimpoVisual,
2725
- ut as OraculoEventCombinadasCard,
2726
- mt as OraculoEventEnVivoCard,
2727
- We as OraculoEventHeader,
2728
- ve as OraculoEventLabel,
2772
+ T as OraculoButton,
2773
+ H as OraculoCarousel,
2774
+ he as OraculoCarouselDots,
2775
+ tt as OraculoClubOlimpoVisual,
2776
+ dt as OraculoEventCombinadasCard,
2777
+ pt as OraculoEventEnVivoCard,
2778
+ Ue as OraculoEventHeader,
2779
+ fe as OraculoEventLabel,
2729
2780
  Be as OraculoEventLeague,
2730
- be as OraculoEventScore,
2731
- yt as OraculoEventSemanaCard,
2732
- ze as OraculoEventStatus,
2733
- Ue as OraculoEventStatusBadge,
2734
- V as OraculoEventTeamInfo,
2735
- Y as OraculoGameCard,
2736
- tt as OraculoGameRankCard,
2737
- ye as OraculoGameSlide,
2738
- D as OraculoGridGroup,
2739
- ot as OraculoLiveCasinoCard,
2740
- se as OraculoLogoMediosPago,
2781
+ xe as OraculoEventScore,
2782
+ bt as OraculoEventSemanaCard,
2783
+ Fe as OraculoEventStatus,
2784
+ Pe as OraculoEventStatusBadge,
2785
+ Q as OraculoEventTeamInfo,
2786
+ q as OraculoGameCard,
2787
+ Ve as OraculoGameRankCard,
2788
+ be as OraculoGameSlide,
2789
+ G as OraculoGridGroup,
2790
+ et as OraculoLiveCasinoCard,
2791
+ ae as OraculoLogoMediosPago,
2741
2792
  lo as OraculoPageLandingPreview,
2742
2793
  Dt as OraculoSeccionBanners,
2743
- Ft as OraculoSeccionBonoBienvenida,
2744
- kt as OraculoSeccionCasino,
2745
- Et as OraculoSeccionCasinoEnVivo,
2746
- Ut as OraculoSeccionClubOlimpo,
2747
- _t as OraculoSeccionDestacados,
2748
- Lt as OraculoSeccionEventoCombinadas,
2749
- jt as OraculoSeccionEventoEnVivo,
2750
- Mt as OraculoSeccionEventoSemana,
2751
- Ct as OraculoSeccionTopJuegos,
2752
- Tt as OraculoSeccionVirtuales,
2753
- X as OraculoSectionTitle,
2754
- Ct as OraculoTopJuegoItem,
2755
- ce as OraculoWelcomeBanner,
2794
+ Tt as OraculoSeccionBonoBienvenida,
2795
+ It as OraculoSeccionCasino,
2796
+ Ct as OraculoSeccionCasinoEnVivo,
2797
+ Pt as OraculoSeccionClubOlimpo,
2798
+ vt as OraculoSeccionDestacados,
2799
+ zt as OraculoSeccionEventoCombinadas,
2800
+ Lt as OraculoSeccionEventoEnVivo,
2801
+ jt as OraculoSeccionEventoSemana,
2802
+ _t as OraculoSeccionTopJuegos,
2803
+ Ot as OraculoSeccionVirtuales,
2804
+ D as OraculoSectionTitle,
2805
+ _t as OraculoTopJuegoItem,
2806
+ ie as OraculoWelcomeBanner,
2756
2807
  lo as default
2757
2808
  };
2758
2809
  //# sourceMappingURL=index.es.js.map