oraculo-ui 0.1.43 → 0.1.45

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