oraculo-ui 0.1.151 → 0.1.153

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,19 +1,19 @@
1
- import { jsx as t, jsxs as _, Fragment as pe } from "react/jsx-runtime";
2
- import { Link as it, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ee, Container as Ct } from "@mui/material";
3
- import fe, { useState as Z, useEffect as Q, useRef as U, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ce, createContext as Nt, useContext as $t, useMemo as ie, useLayoutEffect as Mt } from "react";
4
- import j from "@mui/material/Skeleton";
5
- import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
1
+ import { jsx as t, jsxs as y, Fragment as pe } from "react/jsx-runtime";
2
+ import { Link as st, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as lt, Stack as Ce, Container as Tt } from "@mui/material";
3
+ import fe, { useState as Z, useEffect as Q, useRef as U, forwardRef as $t, useImperativeHandle as Nt, useCallback as ke, createContext as Mt, useContext as At, useMemo as ie, useLayoutEffect as Bt } from "react";
4
+ import W from "@mui/material/Skeleton";
5
+ import { Splide as Rt, SplideSlide as Lt } from "@splidejs/react-splide";
6
6
  import z from "@mui/material/Box";
7
7
  import ue from "@mui/material/Typography";
8
8
  import H from "@mui/material/Stack";
9
9
  import { useCaptureInteraction as oe } from "@olimpo/capture-client";
10
- import { ChevronLeftRounded as Ae, ChevronRightRounded as Re } from "@mui/icons-material";
10
+ import { ChevronLeftRounded as Re, ChevronRightRounded as Le } from "@mui/icons-material";
11
11
  import xe from "@mui/material/useMediaQuery";
12
- import lt from "@mui/icons-material/ChevronLeftRounded";
13
- import ct from "@mui/icons-material/ChevronRightRounded";
14
- import { useTheme as Rt, createTheme as Lt, ThemeProvider as Ft } from "@mui/material/styles";
15
- import qt from "@mui/material/CssBaseline";
16
- import { onSnapshot as zt, doc as Pt } from "firebase/firestore";
12
+ import ct from "@mui/icons-material/ChevronLeftRounded";
13
+ import dt from "@mui/icons-material/ChevronRightRounded";
14
+ import { useTheme as Ft, createTheme as qt, ThemeProvider as zt } from "@mui/material/styles";
15
+ import Pt from "@mui/material/CssBaseline";
16
+ import { onSnapshot as Dt, doc as Ut } from "firebase/firestore";
17
17
  function J({
18
18
  children: e,
19
19
  onClick: a,
@@ -24,38 +24,38 @@ function J({
24
24
  disabled: l = !1,
25
25
  variant: d = "primary",
26
26
  size: h,
27
- fullWidth: f = !1,
27
+ fullWidth: g = !1,
28
28
  fullHeight: m = !1,
29
29
  className: u = "",
30
30
  ariaLabel: c,
31
- leftIcon: g,
32
- rightIcon: b,
31
+ leftIcon: f,
32
+ rightIcon: v,
33
33
  iconOnly: x
34
34
  }) {
35
- const T = !!e && e !== !0, w = (!!g ? 1 : 0) + (!!b ? 1 : 0) == 1, R = x != null ? x : w && !T, k = [
35
+ const k = !!e && e !== !0, b = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, A = x != null ? x : b && !k, w = [
36
36
  "orc-btn",
37
37
  d === "secondary" ? "orc-btn--secondary" : d === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
38
  h ? `orc-btn--${h}` : "",
39
- f ? "orc-btn--full" : "",
39
+ g ? "orc-btn--full" : "",
40
40
  m ? "orc-btn--fullHeight" : "",
41
- R ? "orc-btn--iconOnly" : "",
41
+ A ? "orc-btn--iconOnly" : "",
42
42
  u
43
- ].filter(Boolean).join(" "), S = /* @__PURE__ */ _(pe, { children: [
44
- g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
45
- !R && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
- b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b })
47
- ] }), F = l ? !0 : void 0;
43
+ ].filter(Boolean).join(" "), S = /* @__PURE__ */ y(pe, { children: [
44
+ f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
45
+ !A && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
+ v && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: v })
47
+ ] }), L = l ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
- it,
49
+ st,
50
50
  {
51
51
  href: n,
52
52
  target: r,
53
53
  rel: i,
54
54
  "aria-label": c,
55
- "aria-disabled": F,
56
- tabIndex: F ? -1 : void 0,
57
- className: k,
58
- onClick: F ? (L) => L.preventDefault() : a,
55
+ "aria-disabled": L,
56
+ tabIndex: L ? -1 : void 0,
57
+ className: w,
58
+ onClick: L ? (F) => F.preventDefault() : a,
59
59
  children: S
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
@@ -63,9 +63,9 @@ function J({
63
63
  {
64
64
  type: s,
65
65
  onClick: a,
66
- disabled: !!F,
66
+ disabled: !!L,
67
67
  "aria-label": c,
68
- className: k,
68
+ className: w,
69
69
  children: S
70
70
  }
71
71
  );
@@ -81,7 +81,7 @@ function ge({
81
81
  n ? `orc-section-title--${n}` : "",
82
82
  r
83
83
  ].filter(Boolean).join(" ");
84
- return /* @__PURE__ */ _("div", { className: s, children: [
84
+ return /* @__PURE__ */ y("div", { className: s, children: [
85
85
  a && /* @__PURE__ */ t(
86
86
  "img",
87
87
  {
@@ -93,7 +93,7 @@ function ge({
93
93
  /* @__PURE__ */ t("h2", { className: "orc-section-title__title", children: e })
94
94
  ] });
95
95
  }
96
- const dt = ({
96
+ const ut = ({
97
97
  total: e,
98
98
  active: a,
99
99
  onSelect: n,
@@ -104,25 +104,25 @@ const dt = ({
104
104
  const s = ["orc-dots", r].filter(Boolean).join(" "), [l, d] = Z(0);
105
105
  return Q(() => {
106
106
  d((h) => h + 1);
107
- }, [a, i]), /* @__PURE__ */ t("div", { className: s, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((h, f) => {
108
- const m = f === a;
107
+ }, [a, i]), /* @__PURE__ */ t("div", { className: s, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((h, g) => {
108
+ const m = g === a;
109
109
  return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
110
110
  "button",
111
111
  {
112
112
  type: "button",
113
113
  role: "tab",
114
114
  "aria-selected": m,
115
- "aria-label": `Ir al slide ${f + 1}`,
115
+ "aria-label": `Ir al slide ${g + 1}`,
116
116
  className: "orc-dots__dot" + (m ? " orc-dots__dot--active" : ""),
117
117
  style: m ? {
118
118
  "--dot-progress-ms": `${i}ms`
119
119
  } : void 0,
120
120
  onClick: () => {
121
- m && d((u) => u + 1), n == null || n(f);
121
+ m && d((u) => u + 1), n == null || n(g);
122
122
  }
123
123
  },
124
- m ? `a-${f}-${l}` : `i-${f}`
125
- ) }, f);
124
+ m ? `a-${g}-${l}` : `i-${g}`
125
+ ) }, g);
126
126
  }) });
127
127
  };
128
128
  function me({
@@ -178,16 +178,16 @@ function Ze({ src: e, alt: a }) {
178
178
  }
179
179
  );
180
180
  }
181
- const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Fe = {
182
- contenedor: Dt,
183
- flexGroup: Ut,
184
- subtitle: Vt
181
+ const Vt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Wt = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Gt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", qe = {
182
+ contenedor: Vt,
183
+ flexGroup: Wt,
184
+ subtitle: Gt
185
185
  };
186
- function Wt({ title: e, subtitle: a }) {
187
- return /* @__PURE__ */ _(
186
+ function jt({ title: e, subtitle: a }) {
187
+ return /* @__PURE__ */ y(
188
188
  "div",
189
189
  {
190
- className: Fe.contenedor,
190
+ className: qe.contenedor,
191
191
  children: [
192
192
  /* @__PURE__ */ t(
193
193
  "span",
@@ -200,17 +200,17 @@ function Wt({ title: e, subtitle: a }) {
200
200
  children: e
201
201
  }
202
202
  ),
203
- a && /* @__PURE__ */ _(
203
+ a && /* @__PURE__ */ y(
204
204
  "div",
205
205
  {
206
- className: Fe.flexGroup,
206
+ className: qe.flexGroup,
207
207
  children: [
208
- /* @__PURE__ */ _("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
208
+ /* @__PURE__ */ y("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
209
209
  " ",
210
210
  /* @__PURE__ */ t("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
211
211
  " "
212
212
  ] }),
213
- /* @__PURE__ */ t("span", { className: Fe.subtitle, children: a }),
213
+ /* @__PURE__ */ t("span", { className: qe.subtitle, children: a }),
214
214
  /* @__PURE__ */ t("div", {})
215
215
  ]
216
216
  }
@@ -219,7 +219,7 @@ function Wt({ title: e, subtitle: a }) {
219
219
  }
220
220
  );
221
221
  }
222
- function Gt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
222
+ function Ht({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
223
223
  return /* @__PURE__ */ t(
224
224
  "span",
225
225
  {
@@ -240,14 +240,14 @@ function Gt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
240
240
  }
241
241
  );
242
242
  }
243
- function jt({ live: e, time: a }) {
244
- return /* @__PURE__ */ _("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
245
- e && /* @__PURE__ */ t(Gt, { text: "En vivo" }),
243
+ function Kt({ live: e, time: a }) {
244
+ return /* @__PURE__ */ y("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
245
+ e && /* @__PURE__ */ t(Ht, { text: "En vivo" }),
246
246
  a && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: a })
247
247
  ] });
248
248
  }
249
- function Ht({ title: e, subtitle: a, live: n = !1, time: r = "" }) {
250
- return /* @__PURE__ */ _(
249
+ function Zt({ title: e, subtitle: a, live: n = !1, time: r = "" }) {
250
+ return /* @__PURE__ */ y(
251
251
  "div",
252
252
  {
253
253
  style: {
@@ -257,33 +257,33 @@ function Ht({ title: e, subtitle: a, live: n = !1, time: r = "" }) {
257
257
  color: "#FFFFFF"
258
258
  },
259
259
  children: [
260
- /* @__PURE__ */ t(Wt, { title: e, subtitle: a }),
261
- /* @__PURE__ */ t(jt, { live: n, time: r })
260
+ /* @__PURE__ */ t(jt, { title: e, subtitle: a }),
261
+ /* @__PURE__ */ t(Kt, { live: n, time: r })
262
262
  ]
263
263
  }
264
264
  );
265
265
  }
266
- const Kt = "oraculo__OraculoEventLabel-module__label___c64Xw", Zt = {
267
- label: Kt
266
+ const Jt = "oraculo__OraculoEventLabel-module__label___c64Xw", Xt = {
267
+ label: Jt
268
268
  };
269
- function ut({ text: e }) {
270
- return /* @__PURE__ */ t("span", { className: Zt.label, children: e });
269
+ function mt({ text: e }) {
270
+ return /* @__PURE__ */ t("span", { className: Xt.label, children: e });
271
271
  }
272
- const Jt = "oraculo__OraculoEventLeague-module__container___rdk4F", Xt = {
273
- container: Jt
272
+ const Yt = "oraculo__OraculoEventLeague-module__container___rdk4F", Qt = {
273
+ container: Yt
274
274
  };
275
- function mt({ title: e }) {
276
- return /* @__PURE__ */ t("div", { className: Xt.container, children: e.toUpperCase() });
275
+ function pt({ title: e }) {
276
+ return /* @__PURE__ */ t("div", { className: Qt.container, children: e.toUpperCase() });
277
277
  }
278
- const Yt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Qt = "oraculo__OraculoEventScore-module__name___r4uL6", ea = "oraculo__OraculoEventScore-module__score___Xl03M", ta = "oraculo__OraculoEventScore-module__normal___cCNFz", aa = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
279
- scoreWrapper: Yt,
280
- name: Qt,
281
- score: ea,
282
- normal: ta,
283
- small: aa
278
+ const ea = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", ta = "oraculo__OraculoEventScore-module__name___r4uL6", aa = "oraculo__OraculoEventScore-module__score___Xl03M", na = "oraculo__OraculoEventScore-module__normal___cCNFz", oa = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
279
+ scoreWrapper: ea,
280
+ name: ta,
281
+ score: aa,
282
+ normal: na,
283
+ small: oa
284
284
  };
285
- function pt({ text: e, name: a, size: n = "normal" }) {
286
- return /* @__PURE__ */ _(
285
+ function ft({ text: e, name: a, size: n = "normal" }) {
286
+ return /* @__PURE__ */ y(
287
287
  "div",
288
288
  {
289
289
  className: `${ve.scoreWrapper} ${ve[n]}`,
@@ -294,23 +294,23 @@ function pt({ text: e, name: a, size: n = "normal" }) {
294
294
  }
295
295
  );
296
296
  }
297
- const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__OraculoEventTeamInfo-module__regular___ag826", ra = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", ia = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", sa = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", la = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
298
- team: na,
299
- regular: oa,
300
- compact: ra,
301
- logo: ia,
302
- name: sa,
303
- skeleton: la
304
- }, ca = "oraculo__OraculoTeamPolo-module__polo___BisRg", da = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ua = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ma = "oraculo__OraculoTeamPolo-module__highlight___1etm7", we = {
305
- polo: ca,
306
- svgWrapper: da,
307
- shadow: ua,
308
- highlight: ma
297
+ const ra = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ia = "oraculo__OraculoEventTeamInfo-module__regular___ag826", sa = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", la = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", ca = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", da = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
298
+ team: ra,
299
+ regular: ia,
300
+ compact: sa,
301
+ logo: la,
302
+ name: ca,
303
+ skeleton: da
304
+ }, ua = "oraculo__OraculoTeamPolo-module__polo___BisRg", ma = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", pa = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", fa = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Ie = {
305
+ polo: ua,
306
+ svgWrapper: ma,
307
+ shadow: pa,
308
+ highlight: fa
309
309
  };
310
- function pa({ jersey: e, className: a }) {
310
+ function ga({ jersey: e, className: a }) {
311
311
  const n = `#${e.base}`, r = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null, s = e.sleevelong ? `#${e.sleevelong}` : null;
312
- return /* @__PURE__ */ _("div", { className: `${we.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ t("div", { className: we.svgWrapper, children: /* @__PURE__ */ _("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
312
+ return /* @__PURE__ */ y("div", { className: `${Ie.polo} ${a != null ? a : ""}`, children: [
313
+ /* @__PURE__ */ t("div", { className: Ie.svgWrapper, children: /* @__PURE__ */ y("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
314
314
  /* @__PURE__ */ t(
315
315
  "path",
316
316
  {
@@ -318,7 +318,7 @@ function pa({ jersey: e, className: a }) {
318
318
  d: "m62 265 5.8-17c-.4-.7-.6-1.5-.4-2 .2-.7.8-1.2 1.2-1.4l1.2-4 9-21.6c.2-1 1-3.5 2.4-6.4a69.9 69.9 0 0 1 4.1-17.2l2.9-7 2.9-11.4c1.7-5.8 5.2-18.4 5.8-22 .6-3.6 6.8-19 9.8-26.2.4-.9 2.4-4.7 7.2-12.8 5.4-12.2 23.5-27.2 32-33.1l6.6-3.7 7.9-3.6 17.3-6.2 16.6-7.1L215 52c7-4.1 21.8-12.5 24.1-13.2 2.3-.8 5-3.5 6-4.7 1.2-1.2 4.2-3.8 6.6-4.7 2.3-1 8.2-6.8 10.8-9.6 1.6-1.4 3.8-4.7 9.2-7.5 5.3-2.9 20.4-4 27.2-4.3h25.6l16.7.3 14.1.6 10.3.7 9.5 1.7c6.4.6 12.6 4.3 15.4 8l2.7 3.1 8.9 8 1.8.7 4.9 3 2.7 3.5c4.2 2.2 13.1 7.1 15.2 8.7 2 1.6 30.1 15.4 44 22 8 3.2 39 12.3 55.3 30 5.2 4.3 7 7.8 11.4 12.4 5.1 5.3 15.1 29 16.9 32 1.4 2.6 5 17 6.8 24l4.8 20.5 8.4 29 8.9 22.7 2.3 5.4.6 1.5c.5.6 1.4 2 1 2.6-.2.6 0 2 .2 2.7l1 2.6 2 5.8 2.2 5.9c.3 1.3-4.3 4-6.6 5.2l-11.1 5-12.6 4.7-15 5-14.6 4.6-10.9 2.4a66 66 0 0 1-8.6 1.4c-3.4.3-4.7-.4-4.9-.8l-5-12.3-1.9-3.8-1.8-1.6.1-.8v-1l-.4-1.8-1.3-4.1-3.3-9-1.3-2-2.2-5.7-2.5-.3-1 .8v2l-2.7 13.1-8.7 58-.9 6.4-.2 7.9c0 3-1 16-1.7 18.3l-2.5 9-.2 7.6-.3 8.7-.3 7.5.3 4 .5 15c.3 1.9-.6 7-1.1 9.3-.6 2.4-1.6 7.5-1.4 8.8.3 1.4-.2 4.4-.5 5.8l-1.3 8.9c-.2 1.4-.8 5-1.3 7.2.7 1.6 4.7 14.6 5.9 17.8 1.2 3.3 4.8 19.4 5 20.7.3 1 1.1 7.8 1.5 11 .1 2.5.3 8 .2 10 0 2-.8 6.6-1.1 8.6-.2 1.7-.7 5.5-1.2 7s-1.2 8.5-1.4 11.8A81.1 81.1 0 0 1 477 552l.3 7.1.2 6.5 1.4 17.7.5 6 1.5 7.7.4 4.6c.3 2.1.7 7 .7 10.1.3 3-2.5 6-4 7 0 .2-1.2 1-4.6 3-6.4 5-26.3 11.6-35.5 14.3a379.2 379.2 0 0 1-58.6 11.2c-2.3.8-27 2.2-39 2.7-8.3 0-27 0-34.5-.4-11.5.9-47.4-4.8-63.9-7.7-6.3-.9-42.1-10.4-48-14.4-3.7-2.4-14.3-8-16.9-9.7a10.7 10.7 0 0 1-4.1-5.4c-.3-1 .1-8.6.4-12.3l.6-5 1.4-9.6 1-8 .3-4.3-.4-7.7-1-10.8v-13.8l.7-10 1.1-7.7 1.8-8 2.8-9.5 3.3-9.3a78 78 0 0 1-2.5-20.8 1112.2 1112.2 0 0 1 .6-14.1c-.1-.7 2.1-10.2 3.3-15l1-3.8-.1-.8c-1.4-8.3-1.5-14-1.9-15.4a78 78 0 0 1 .4-10.9l2-6.7.4-2-.4-1.5a67.6 67.6 0 0 1-7.3-27l-.2-7.7.5-5.4.3-1.5.4-3.9.7-5 .2-2.2-.2-.4-.3-6-1-3.1-.3-4-.7-7.6-1.5-8.3-.8-4.2-1.4-9.2-.4-4.3L172 279l-2.2-14.6a545 545 0 0 1-1.7-8.5c-.1-1-2-2.1-3-2.6 0 .6-.6 1.5-1.7 2-1.2.7-2.4 1.3-2.7 2.2l-.8 4.7a15 15 0 0 1-2.5 4.1 16.4 16.4 0 0 0-2.6 6.3l-.3 2.4v1.3l-1.4 1.1-.3.3-6 14.5c-.7 2.3-1.3 1.8-1.9 1.5l-10.5-3.1-9-3-18.3-6-20-6.8-13-4.8c-2.1-1-7-3-9.4-3.8-2.5-.8-3-1.3-2.8-1.4Z"
319
319
  }
320
320
  ),
321
- i && /* @__PURE__ */ _(pe, { children: [
321
+ i && /* @__PURE__ */ y(pe, { children: [
322
322
  /* @__PURE__ */ t("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
323
323
  /* @__PURE__ */ t("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
324
324
  ] }),
@@ -350,7 +350,7 @@ function pa({ jersey: e, className: a }) {
350
350
  "img",
351
351
  {
352
352
  src: "https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",
353
- className: we.shadow,
353
+ className: Ie.shadow,
354
354
  alt: "",
355
355
  "aria-hidden": !0
356
356
  }
@@ -359,26 +359,26 @@ function pa({ jersey: e, className: a }) {
359
359
  "img",
360
360
  {
361
361
  src: "https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png",
362
- className: we.highlight,
362
+ className: Ie.highlight,
363
363
  alt: "",
364
364
  "aria-hidden": !0
365
365
  }
366
366
  )
367
367
  ] });
368
368
  }
369
- function $e({ name: e, jersey: a, size: n = "regular" }) {
370
- return /* @__PURE__ */ _("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
369
+ function Me({ name: e, jersey: a, size: n = "regular" }) {
370
+ return /* @__PURE__ */ y("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
371
371
  a != null && a.base ? /* @__PURE__ */ t(
372
- pa,
372
+ ga,
373
373
  {
374
374
  jersey: a,
375
375
  className: `${_e.logo}`
376
376
  }
377
- ) : /* @__PURE__ */ t(j, { variant: "circular", className: `${_e.logo} ${_e.skeleton}` }),
377
+ ) : /* @__PURE__ */ t(W, { variant: "circular", className: `${_e.logo} ${_e.skeleton}` }),
378
378
  /* @__PURE__ */ t("span", { className: _e.name, children: e })
379
379
  ] });
380
380
  }
381
- function fa(e, a, {
381
+ function ha(e, a, {
382
382
  enabled: n = !0,
383
383
  threshold: r = 60,
384
384
  cooldownMs: i = 500
@@ -388,28 +388,28 @@ function fa(e, a, {
388
388
  if (!n) return;
389
389
  const d = e.current;
390
390
  if (!d) return;
391
- const h = (f) => {
391
+ const h = (g) => {
392
392
  const m = a.current;
393
393
  if (!m || !m.go) return;
394
- const { deltaX: u, deltaY: c } = f;
394
+ const { deltaX: u, deltaY: c } = g;
395
395
  if (Math.abs(u) <= Math.abs(c)) return;
396
- f.preventDefault(), s.current += u;
397
- const g = Date.now();
398
- if (g - l.current < i || Math.abs(s.current) < r) return;
399
- const b = s.current > 0 ? ">" : "<";
400
- s.current = 0, l.current = g, m.go(b);
396
+ g.preventDefault(), s.current += u;
397
+ const f = Date.now();
398
+ if (f - l.current < i || Math.abs(s.current) < r) return;
399
+ const v = s.current > 0 ? ">" : "<";
400
+ s.current = 0, l.current = f, m.go(v);
401
401
  };
402
402
  return d.addEventListener("wheel", h, { passive: !1 }), () => {
403
403
  d.removeEventListener("wheel", h), s.current = 0;
404
404
  };
405
405
  }, [n, r, i, e, a]);
406
406
  }
407
- const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "oraculo__OraculoCarousel-module__right___KwpOE", ba = "oraculo__OraculoCarousel-module__left___n3WQu", va = "oraculo__OraculoCarousel-module__svg___0mGuX", ye = {
408
- gradientOverlay: ga,
409
- right: ha,
410
- left: ba,
411
- svg: va
412
- }, _a = Bt, ya = At, he = Tt(
407
+ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "oraculo__OraculoCarousel-module__right___KwpOE", _a = "oraculo__OraculoCarousel-module__left___n3WQu", ya = "oraculo__OraculoCarousel-module__svg___0mGuX", ye = {
408
+ gradientOverlay: ba,
409
+ right: va,
410
+ left: _a,
411
+ svg: ya
412
+ }, xa = Rt, Sa = Lt, he = $t(
413
413
  ({
414
414
  items: e = [],
415
415
  renderItem: a,
@@ -420,13 +420,13 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
420
420
  className: l = "",
421
421
  onMove: d,
422
422
  useIndexAsKey: h = !1,
423
- enableHorizontalWheel: f = !0,
423
+ enableHorizontalWheel: g = !0,
424
424
  showRightGradient: m = !1
425
425
  }, u) => {
426
- const c = U(null), g = U(null), b = U(e.length), x = U(null), T = U(null), y = U("user");
427
- fa(g, c, {
428
- enabled: f
429
- }), kt(u, () => ({
426
+ const c = U(null), f = U(null), v = U(e.length), x = U(null), k = U(null), T = U("user");
427
+ ha(f, c, {
428
+ enabled: g
429
+ }), Nt(u, () => ({
430
430
  next: () => {
431
431
  var I;
432
432
  return (I = c.current) == null ? void 0 : I.go(">");
@@ -436,85 +436,85 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
436
436
  return (I = c.current) == null ? void 0 : I.go("<");
437
437
  },
438
438
  go: (I) => {
439
- var v;
440
- return (v = c.current) == null ? void 0 : v.go(I);
439
+ var _;
440
+ return (_ = c.current) == null ? void 0 : _.go(I);
441
441
  }
442
442
  }));
443
- const O = (I) => {
443
+ const E = (I) => {
444
444
  var K;
445
- const v = I.Components.Slides, E = I.Components.Controller, q = I.root.querySelector(".splide__track"), M = (K = q == null ? void 0 : q.clientWidth) != null ? K : 0, B = E.getIndex(), P = v.getLength();
446
- let V = 0, W = B;
447
- for (let G = B; G < P; G++) {
448
- const X = v.getAt(G);
445
+ const _ = I.Components.Slides, O = I.Components.Controller, q = I.root.querySelector(".splide__track"), M = (K = q == null ? void 0 : q.clientWidth) != null ? K : 0, B = O.getIndex(), P = _.getLength();
446
+ let V = 0, G = B;
447
+ for (let j = B; j < P; j++) {
448
+ const X = _.getAt(j);
449
449
  if (!X || (V += X.slide.offsetWidth, V > M)) break;
450
- W = G;
450
+ G = j;
451
451
  }
452
- return { visibleStart: B, visibleEnd: W };
453
- }, w = (I) => {
454
- const v = I.root.querySelector(".splide__track"), E = I.root.querySelector(".splide__list");
455
- return !v || !E ? !1 : E.scrollWidth > v.clientWidth + 1;
456
- }, R = U(!1), k = Ce((I) => {
457
- var K, G;
458
- if (R.current) return;
459
- const E = I.Components.Slides.getLength(), q = y.current;
460
- if (y.current = "user", !w(I)) {
452
+ return { visibleStart: B, visibleEnd: G };
453
+ }, b = (I) => {
454
+ const _ = I.root.querySelector(".splide__track"), O = I.root.querySelector(".splide__list");
455
+ return !_ || !O ? !1 : O.scrollWidth > _.clientWidth + 1;
456
+ }, A = U(!1), w = ke((I) => {
457
+ var K, j;
458
+ if (A.current) return;
459
+ const O = I.Components.Slides.getLength(), q = T.current;
460
+ if (T.current = "user", !b(I)) {
461
461
  d == null || d({
462
462
  index: 0,
463
463
  isStart: !0,
464
464
  isEnd: !0,
465
- total: E,
465
+ total: O,
466
466
  visibleStart: 0,
467
- visibleEnd: E - 1,
467
+ visibleEnd: O - 1,
468
468
  source: q
469
469
  });
470
470
  return;
471
471
  }
472
- const { visibleStart: M, visibleEnd: B } = O(I), P = M === 0, V = B === E - 1;
473
- m && ((K = x.current) == null || K.style.setProperty("--gradient-opacity", P ? "0" : "1"), (G = T.current) == null || G.style.setProperty("--gradient-opacity", V ? "0" : "1"));
474
- const W = I.Components.Controller.getIndex();
472
+ const { visibleStart: M, visibleEnd: B } = E(I), P = M === 0, V = B === O - 1;
473
+ m && ((K = x.current) == null || K.style.setProperty("--gradient-opacity", P ? "0" : "1"), (j = k.current) == null || j.style.setProperty("--gradient-opacity", V ? "0" : "1"));
474
+ const G = I.Components.Controller.getIndex();
475
475
  d == null || d({
476
- index: W,
476
+ index: G,
477
477
  isStart: P,
478
478
  isEnd: V,
479
- total: E,
479
+ total: O,
480
480
  visibleStart: M,
481
481
  visibleEnd: B,
482
482
  source: q
483
483
  });
484
484
  }, [d]);
485
485
  fe.useEffect(() => {
486
- var E;
487
- const I = (E = c.current) == null ? void 0 : E.splide;
486
+ var O;
487
+ const I = (O = c.current) == null ? void 0 : O.splide;
488
488
  if (!I) return;
489
- const v = b.current !== e.length;
490
- b.current = e.length, v && requestAnimationFrame(() => {
491
- R.current = !0;
489
+ const _ = v.current !== e.length;
490
+ v.current = e.length, _ && requestAnimationFrame(() => {
491
+ A.current = !0;
492
492
  try {
493
493
  I.refresh();
494
494
  } finally {
495
- R.current = !1;
495
+ A.current = !1;
496
496
  }
497
- y.current = "resize", k(I);
497
+ T.current = "resize", w(I);
498
498
  });
499
- }, [e.length, k]);
500
- const S = Ce(() => {
501
- var v;
502
- const I = (v = c.current) == null ? void 0 : v.splide;
499
+ }, [e.length, w]);
500
+ const S = ke(() => {
501
+ var _;
502
+ const I = (_ = c.current) == null ? void 0 : _.splide;
503
503
  if (I) {
504
- R.current = !0;
504
+ A.current = !0;
505
505
  try {
506
506
  I.go(0, !1);
507
507
  } finally {
508
- R.current = !1;
508
+ A.current = !1;
509
509
  }
510
- y.current = "resize", k(I);
510
+ T.current = "resize", w(I);
511
511
  }
512
- }, [k]), F = Ce(
512
+ }, [w]), L = ke(
513
513
  (I) => {
514
- y.current = "mounted", k(I);
514
+ T.current = "mounted", w(I);
515
515
  },
516
- [k]
517
- ), L = {
516
+ [w]
517
+ ), F = {
518
518
  type: "slide",
519
519
  trimSpace: !1,
520
520
  drag: !0,
@@ -527,37 +527,37 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
527
527
  gap: r,
528
528
  breakpoints: i,
529
529
  ...s,
530
- ...f ? { wheel: !1 } : {}
530
+ ...g ? { wheel: !1 } : {}
531
531
  };
532
- return /* @__PURE__ */ _(
532
+ return /* @__PURE__ */ y(
533
533
  "div",
534
534
  {
535
- ref: g,
535
+ ref: f,
536
536
  className: l,
537
537
  style: { width: "100%", position: "relative", height: "100%" },
538
538
  children: [
539
539
  /* @__PURE__ */ t(
540
- _a,
540
+ xa,
541
541
  {
542
542
  ref: c,
543
- options: L,
544
- onMove: k,
545
- onMounted: F,
543
+ options: F,
544
+ onMove: w,
545
+ onMounted: L,
546
546
  onResize: S,
547
- children: e.map((I, v) => {
548
- var E;
549
- return /* @__PURE__ */ t(ya, { children: a(I, v) }, h ? v : (E = I.id) != null ? E : v);
547
+ children: e.map((I, _) => {
548
+ var O;
549
+ return /* @__PURE__ */ t(Sa, { children: a(I, _) }, h ? _ : (O = I.id) != null ? O : _);
550
550
  })
551
551
  }
552
552
  ),
553
- m && /* @__PURE__ */ _(pe, { children: [
553
+ m && /* @__PURE__ */ y(pe, { children: [
554
554
  /* @__PURE__ */ t(
555
555
  "div",
556
556
  {
557
557
  ref: x,
558
558
  className: `${ye.gradientOverlay} ${ye.left}`,
559
559
  style: { "--gradient-opacity": "0" },
560
- children: /* @__PURE__ */ _(
560
+ children: /* @__PURE__ */ y(
561
561
  "svg",
562
562
  {
563
563
  className: ye.svg,
@@ -567,7 +567,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
567
567
  xmlns: "http://www.w3.org/2000/svg",
568
568
  children: [
569
569
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
570
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ _("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
570
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ y("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
571
571
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
572
572
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
573
573
  ] }) })
@@ -579,10 +579,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
579
579
  /* @__PURE__ */ t(
580
580
  "div",
581
581
  {
582
- ref: T,
582
+ ref: k,
583
583
  className: `${ye.gradientOverlay} ${ye.right}`,
584
584
  style: { "--gradient-opacity": "1" },
585
- children: /* @__PURE__ */ _(
585
+ children: /* @__PURE__ */ y(
586
586
  "svg",
587
587
  {
588
588
  className: ye.svg,
@@ -592,7 +592,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
592
592
  xmlns: "http://www.w3.org/2000/svg",
593
593
  children: [
594
594
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
595
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ _("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
595
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ y("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
596
596
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
597
597
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
598
598
  ] }) })
@@ -615,7 +615,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
615
615
  const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, s = (d) => {
616
616
  d.stopPropagation(), a == null || a();
617
617
  }, l = r ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
618
- return /* @__PURE__ */ _(
618
+ return /* @__PURE__ */ y(
619
619
  z,
620
620
  {
621
621
  onClick: a,
@@ -693,7 +693,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
693
693
  }
694
694
  );
695
695
  };
696
- function xa({
696
+ function wa({
697
697
  imageUrl: e,
698
698
  orden: a = 1,
699
699
  onClick: n,
@@ -703,18 +703,18 @@ function xa({
703
703
  md: { w: 186, h: 264, r: 22.6, font: 64 }
704
704
  }
705
705
  }) {
706
- var u, c, g, b;
707
- const s = (x, T) => {
708
- var y, O, w, R;
706
+ var u, c, f, v;
707
+ const s = (x, k) => {
708
+ var T, E, b, A;
709
709
  return {
710
- xs: (O = (y = i.xs) == null ? void 0 : y[x]) != null ? O : T,
711
- md: (R = (w = i.md) == null ? void 0 : w[x]) != null ? R : T
710
+ xs: (E = (T = i.xs) == null ? void 0 : T[x]) != null ? E : k,
711
+ md: (A = (b = i.md) == null ? void 0 : b[x]) != null ? A : k
712
712
  };
713
- }, l = s("w", 186), d = s("h", 264), h = s("r", 22.6), f = s("font", 64), m = {
713
+ }, l = s("w", 186), d = s("h", 264), h = s("r", 22.6), g = s("font", 64), m = {
714
714
  xs: Math.round(((c = (u = i.xs) == null ? void 0 : u.font) != null ? c : 64) * 0.28),
715
- md: Math.round(((b = (g = i.md) == null ? void 0 : g.font) != null ? b : 64) * 0.28)
715
+ md: Math.round(((v = (f = i.md) == null ? void 0 : f.font) != null ? v : 64) * 0.28)
716
716
  };
717
- return /* @__PURE__ */ _(
717
+ return /* @__PURE__ */ y(
718
718
  z,
719
719
  {
720
720
  sx: {
@@ -751,7 +751,7 @@ function xa({
751
751
  overflow: "hidden"
752
752
  },
753
753
  children: r ? /* @__PURE__ */ t(
754
- j,
754
+ W,
755
755
  {
756
756
  variant: "rectangular",
757
757
  width: "100%",
@@ -788,8 +788,8 @@ function xa({
788
788
  },
789
789
  fontFamily: '"secondary", sans-serif',
790
790
  fontSize: {
791
- xs: `${f.xs}px`,
792
- md: `${f.md}px`
791
+ xs: `${g.xs}px`,
792
+ md: `${g.md}px`
793
793
  },
794
794
  lineHeight: 1,
795
795
  color: "#3CC666",
@@ -804,15 +804,42 @@ function xa({
804
804
  }
805
805
  );
806
806
  }
807
- const Sa = ({
807
+ const Je = ({
808
808
  logo: e,
809
809
  provider: a,
810
810
  providerName: n,
811
811
  machine: r,
812
- onClick: i
812
+ onClick: i,
813
+ loading: s = !1
813
814
  }) => {
814
- var s;
815
- return /* @__PURE__ */ _(
815
+ var l;
816
+ return s ? /* @__PURE__ */ t(
817
+ z,
818
+ {
819
+ sx: {
820
+ flex: "0 0 auto",
821
+ position: "relative",
822
+ borderRadius: "20px",
823
+ overflow: "hidden",
824
+ width: { xs: 100, md: 180 },
825
+ height: { xs: 200, md: 380 }
826
+ },
827
+ children: /* @__PURE__ */ t(
828
+ W,
829
+ {
830
+ variant: "rectangular",
831
+ width: "100%",
832
+ height: "100%",
833
+ sx: {
834
+ bgcolor: "rgba(255,255,255,0.10)",
835
+ "&::after": {
836
+ background: "linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"
837
+ }
838
+ }
839
+ }
840
+ )
841
+ }
842
+ ) : /* @__PURE__ */ y(
816
843
  z,
817
844
  {
818
845
  onClick: i,
@@ -875,7 +902,7 @@ const Sa = ({
875
902
  fontSize: { xs: 11, md: 14 },
876
903
  textTransform: "capitalize"
877
904
  },
878
- children: (s = a != null ? a : n) != null ? s : ""
905
+ children: (l = a != null ? a : n) != null ? l : ""
879
906
  }
880
907
  )
881
908
  }
@@ -883,8 +910,8 @@ const Sa = ({
883
910
  ]
884
911
  }
885
912
  );
886
- }, qe = 12, ze = ({ r: e = 16 }) => /* @__PURE__ */ t(z, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
887
- j,
913
+ }, ze = 12, Pe = ({ r: e = 16 }) => /* @__PURE__ */ t(z, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
914
+ W,
888
915
  {
889
916
  variant: "rectangular",
890
917
  width: "100%",
@@ -898,7 +925,7 @@ const Sa = ({
898
925
  }
899
926
  }
900
927
  }
901
- ) }), ft = ({
928
+ ) }), gt = ({
902
929
  items: e,
903
930
  layout: a = "grid",
904
931
  onClick: n,
@@ -908,7 +935,7 @@ const Sa = ({
908
935
  var s, l;
909
936
  if (a === "mosaic") {
910
937
  const d = e[0], h = e.slice(1, 5);
911
- return /* @__PURE__ */ _(
938
+ return /* @__PURE__ */ y(
912
939
  z,
913
940
  {
914
941
  sx: {
@@ -926,8 +953,8 @@ const Sa = ({
926
953
  xs: "104px",
927
954
  md: "152px"
928
955
  },
929
- columnGap: `${qe}px`,
930
- rowGap: `${qe}px`,
956
+ columnGap: `${ze}px`,
957
+ rowGap: `${ze}px`,
931
958
  alignItems: "stretch",
932
959
  justifyItems: "stretch"
933
960
  },
@@ -942,7 +969,7 @@ const Sa = ({
942
969
  overflow: "hidden",
943
970
  borderRadius: 2
944
971
  },
945
- children: r ? /* @__PURE__ */ t(ze, {}) : d && /* @__PURE__ */ t(
972
+ children: r ? /* @__PURE__ */ t(Pe, {}) : d && /* @__PURE__ */ t(
946
973
  Te,
947
974
  {
948
975
  imageUrl: `https://olimpo.bet${(l = (s = d.background) != null ? s : d.imageUrl) != null ? l : ""}`,
@@ -953,7 +980,7 @@ const Sa = ({
953
980
  )
954
981
  }
955
982
  ),
956
- (r ? Array.from({ length: 4 }) : h).map((f, m) => {
983
+ (r ? Array.from({ length: 4 }) : h).map((g, m) => {
957
984
  var u, c;
958
985
  return /* @__PURE__ */ t(
959
986
  z,
@@ -964,17 +991,17 @@ const Sa = ({
964
991
  overflow: "hidden",
965
992
  borderRadius: 2
966
993
  },
967
- children: r ? /* @__PURE__ */ t(ze, {}) : /* @__PURE__ */ t(
994
+ children: r ? /* @__PURE__ */ t(Pe, {}) : /* @__PURE__ */ t(
968
995
  Te,
969
996
  {
970
- imageUrl: `https://olimpo.bet${(c = (u = f.background) != null ? u : f.imageUrl) != null ? c : ""}`,
997
+ imageUrl: `https://olimpo.bet${(c = (u = g.background) != null ? u : g.imageUrl) != null ? c : ""}`,
971
998
  size: "sm",
972
999
  fillParent: !0,
973
- onClick: () => n == null ? void 0 : n(f, m + 1)
1000
+ onClick: () => n == null ? void 0 : n(g, m + 1)
974
1001
  }
975
1002
  )
976
1003
  },
977
- r ? `sk-${m}` : f.id
1004
+ r ? `sk-${m}` : g.id
978
1005
  );
979
1006
  })
980
1007
  ]
@@ -994,19 +1021,19 @@ const Sa = ({
994
1021
  xs: "repeat(2, 112px)",
995
1022
  md: "repeat(2, 168px)"
996
1023
  },
997
- gap: `${qe}px`,
1024
+ gap: `${ze}px`,
998
1025
  gridAutoFlow: "column"
999
1026
  },
1000
1027
  children: (r ? Array.from({ length: i }) : e).map((d, h) => {
1001
- var f, m, u;
1028
+ var g, m, u;
1002
1029
  return /* @__PURE__ */ t(
1003
1030
  z,
1004
1031
  {
1005
1032
  sx: { overflow: "hidden", borderRadius: 2 },
1006
- children: r ? /* @__PURE__ */ t(ze, {}) : /* @__PURE__ */ t(
1033
+ children: r ? /* @__PURE__ */ t(Pe, {}) : /* @__PURE__ */ t(
1007
1034
  Te,
1008
1035
  {
1009
- imageUrl: `https://olimpo.bet${(m = (f = d.background) != null ? f : d.imageUrl) != null ? m : ""}`,
1036
+ imageUrl: `https://olimpo.bet${(m = (g = d.background) != null ? g : d.imageUrl) != null ? m : ""}`,
1010
1037
  size: "sm",
1011
1038
  fillParent: !0,
1012
1039
  onClick: () => n == null ? void 0 : n(d, h)
@@ -1018,7 +1045,7 @@ const Sa = ({
1018
1045
  })
1019
1046
  }
1020
1047
  );
1021
- }, Je = ({
1048
+ }, Xe = ({
1022
1049
  title: e,
1023
1050
  amount: a,
1024
1051
  subtitle: n,
@@ -1029,8 +1056,8 @@ const Sa = ({
1029
1056
  className: d = "",
1030
1057
  variant: h = "small"
1031
1058
  }) => {
1032
- const f = a ? a.slice(0, 2) : "", m = a ? a.slice(2) : "", u = h === "large";
1033
- return /* @__PURE__ */ _(
1059
+ const g = a ? a.slice(0, 2) : "", m = a ? a.slice(2) : "", u = h === "large";
1060
+ return /* @__PURE__ */ y(
1034
1061
  z,
1035
1062
  {
1036
1063
  className: d,
@@ -1091,7 +1118,7 @@ const Sa = ({
1091
1118
  pl: "14%",
1092
1119
  pr: { xs: "14%", lg: "15%" }
1093
1120
  },
1094
- children: /* @__PURE__ */ _(
1121
+ children: /* @__PURE__ */ y(
1095
1122
  z,
1096
1123
  {
1097
1124
  sx: {
@@ -1112,7 +1139,7 @@ const Sa = ({
1112
1139
  children: e
1113
1140
  }
1114
1141
  ),
1115
- a && /* @__PURE__ */ _(
1142
+ a && /* @__PURE__ */ y(
1116
1143
  z,
1117
1144
  {
1118
1145
  component: "p",
@@ -1135,7 +1162,7 @@ const Sa = ({
1135
1162
  {
1136
1163
  component: "span",
1137
1164
  sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
1138
- children: f
1165
+ children: g
1139
1166
  }
1140
1167
  ),
1141
1168
  /* @__PURE__ */ t(
@@ -1170,7 +1197,7 @@ const Sa = ({
1170
1197
  ]
1171
1198
  }
1172
1199
  );
1173
- }, wa = ({
1200
+ }, Ia = ({
1174
1201
  text: e,
1175
1202
  buttonLabel: a = "Conoce más",
1176
1203
  onClick: n,
@@ -1178,7 +1205,7 @@ const Sa = ({
1178
1205
  imgSrcMobile: i,
1179
1206
  imgSrcDesktopBg: s,
1180
1207
  imgSrcDesktopLogo: l
1181
- }) => /* @__PURE__ */ _(pe, { children: [
1208
+ }) => /* @__PURE__ */ y(pe, { children: [
1182
1209
  /* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
1183
1210
  "img",
1184
1211
  {
@@ -1187,7 +1214,7 @@ const Sa = ({
1187
1214
  className: "orc-co-bgMobileImg"
1188
1215
  }
1189
1216
  ) }),
1190
- /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ _("div", { className: "orc-co-desktopInner", children: [
1217
+ /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ y("div", { className: "orc-co-desktopInner", children: [
1191
1218
  s && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
1192
1219
  "img",
1193
1220
  {
@@ -1196,7 +1223,7 @@ const Sa = ({
1196
1223
  className: "orc-co-bgDesktopImg"
1197
1224
  }
1198
1225
  ) }),
1199
- /* @__PURE__ */ _("div", { className: "orc-co-desktopContent", children: [
1226
+ /* @__PURE__ */ y("div", { className: "orc-co-desktopContent", children: [
1200
1227
  l && /* @__PURE__ */ t(
1201
1228
  "img",
1202
1229
  {
@@ -1209,20 +1236,20 @@ const Sa = ({
1209
1236
  /* @__PURE__ */ t(J, { onClick: n, variant: "primary", size: "md", children: a })
1210
1237
  ] })
1211
1238
  ] }) }),
1212
- /* @__PURE__ */ _("div", { className: "orc-co-bottom", children: [
1239
+ /* @__PURE__ */ y("div", { className: "orc-co-bottom", children: [
1213
1240
  /* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
1214
1241
  /* @__PURE__ */ t(J, { onClick: n, variant: "primary", size: "md", children: a })
1215
1242
  ] })
1216
- ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ca = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Na = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1217
- card: Ia,
1218
- combinadas: Oa,
1219
- combinadasScroll: Ea,
1220
- apuestaItem: Ca,
1243
+ ] }), Oa = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ca = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", ka = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", $a = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Na = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Ma = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Aa = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1244
+ card: Oa,
1245
+ combinadas: Ea,
1246
+ combinadasScroll: Ca,
1247
+ apuestaItem: ka,
1221
1248
  lineContainer: Ta,
1222
- circle: ka,
1249
+ circle: $a,
1223
1250
  line: Na,
1224
- apuestaText: $a,
1225
- cuotaTotal: Ma
1251
+ apuestaText: Ma,
1252
+ cuotaTotal: Aa
1226
1253
  };
1227
1254
  function Ue(e, a) {
1228
1255
  const n = Array.isArray(a) ? a : [a];
@@ -1231,13 +1258,13 @@ function Ue(e, a) {
1231
1258
  function Ba() {
1232
1259
  window.location.href = "/deportes#in-play";
1233
1260
  }
1234
- function Aa() {
1261
+ function Ra() {
1235
1262
  window.location.href = "/deportes#sports-hub/football";
1236
1263
  }
1237
- function Ra() {
1264
+ function La() {
1238
1265
  window.location.href = "/deportes#specials";
1239
1266
  }
1240
- async function gt(e) {
1267
+ async function ht(e) {
1241
1268
  return await (await fetch("https://api.mktolimpo.com/api/jerseys/search", {
1242
1269
  method: "POST",
1243
1270
  headers: {
@@ -1248,47 +1275,47 @@ async function gt(e) {
1248
1275
  })
1249
1276
  })).json();
1250
1277
  }
1251
- const ht = Nt(void 0), bt = ({ children: e, docId: a, moduleId: n }) => {
1278
+ const bt = Mt(void 0), vt = ({ children: e, docId: a, moduleId: n }) => {
1252
1279
  const r = fe.useMemo(() => ({ docId: a, moduleId: n }), [a, n]);
1253
- return /* @__PURE__ */ t(ht.Provider, { value: r, children: e });
1254
- }, vt = () => {
1255
- const e = $t(ht);
1280
+ return /* @__PURE__ */ t(bt.Provider, { value: r, children: e });
1281
+ }, _t = () => {
1282
+ const e = At(bt);
1256
1283
  if (!e)
1257
1284
  throw new Error("useDocContext debe usarse dentro de DocIdProvider");
1258
1285
  return e;
1259
- }, re = () => vt().docId, le = () => vt().moduleId;
1260
- function La({ coupon: e }) {
1261
- var f;
1286
+ }, re = () => _t().docId, le = () => _t().moduleId;
1287
+ function Fa({ coupon: e }) {
1288
+ var g;
1262
1289
  const a = oe(), n = re();
1263
1290
  function r(m) {
1264
- var g, b;
1291
+ var f, v;
1265
1292
  const u = [], c = Array.from(
1266
1293
  new Map(
1267
- ((g = m == null ? void 0 : m.events) != null ? g : []).filter(Boolean).map((x) => [x.id, x])
1294
+ ((f = m == null ? void 0 : m.events) != null ? f : []).filter(Boolean).map((x) => [x.id, x])
1268
1295
  ).values()
1269
1296
  );
1270
1297
  return c.forEach((x) => {
1271
- var w;
1272
- const T = (w = x.betoffers) != null ? w : [], y = x.homeName, O = x.awayName;
1273
- T.forEach((R) => {
1274
- var L, I, v, E, q, M, B;
1275
- if (!((L = R == null ? void 0 : R.outcomes) != null && L.length)) return;
1276
- const k = R.outcomes[0];
1277
- if (!k) return;
1298
+ var b;
1299
+ const k = (b = x.betoffers) != null ? b : [], T = x.homeName, E = x.awayName;
1300
+ k.forEach((A) => {
1301
+ var F, I, _, O, q, M, B;
1302
+ if (!((F = A == null ? void 0 : A.outcomes) != null && F.length)) return;
1303
+ const w = A.outcomes[0];
1304
+ if (!w) return;
1278
1305
  let S = "";
1279
- const F = k != null && k.line ? k.line / 1e3 : "";
1280
- ["Más de", "Mas de", "Over"].includes(k.label) ? (S = `Más de ${F}`, k.participant && (S = `${k.participant} - ${S}`)) : ["Menos de", "Menos", "Under"].includes(k.label) ? (S = `Menos de ${F}`, k.participant && (S = `${k.participant} - ${S}`)) : ["Sí", "No"].includes(k.label) ? (S = k.label, k.participant && (S = `${k.participant} - ${S}`)) : ["1X", "12", "X2"].includes(k.label) ? (k.label === "1X" && (S = `${y} o Empate`), k.label === "12" && (S = `${y} o ${O}`), k.label === "X2" && (S = `${O} o Empate`)) : (S = (v = (I = k.participant) != null ? I : k.label) != null ? v : "", F !== "" && S === k.label && (S = `${k.label} ${F}`)), u.push({
1281
- id: k.id,
1306
+ const L = w != null && w.line ? w.line / 1e3 : "";
1307
+ ["Más de", "Mas de", "Over"].includes(w.label) ? (S = `Más de ${L}`, w.participant && (S = `${w.participant} - ${S}`)) : ["Menos de", "Menos", "Under"].includes(w.label) ? (S = `Menos de ${L}`, w.participant && (S = `${w.participant} - ${S}`)) : ["Sí", "No"].includes(w.label) ? (S = w.label, w.participant && (S = `${w.participant} - ${S}`)) : ["1X", "12", "X2"].includes(w.label) ? (w.label === "1X" && (S = `${T} o Empate`), w.label === "12" && (S = `${T} o ${E}`), w.label === "X2" && (S = `${E} o Empate`)) : (S = (_ = (I = w.participant) != null ? I : w.label) != null ? _ : "", L !== "" && S === w.label && (S = `${w.label} ${L}`)), u.push({
1308
+ id: w.id,
1282
1309
  value: S,
1283
- label: (q = (E = R.criterion) == null ? void 0 : E.label) != null ? q : "",
1284
- odds: (M = k.odds) != null ? M : 0,
1285
- position: (B = k.position) != null ? B : 0,
1310
+ label: (q = (O = A.criterion) == null ? void 0 : O.label) != null ? q : "",
1311
+ odds: (M = w.odds) != null ? M : 0,
1312
+ position: (B = w.position) != null ? B : 0,
1286
1313
  eventId: x.id
1287
1314
  });
1288
1315
  });
1289
1316
  }), {
1290
- outcomes: u.sort((x, T) => x.position - T.position),
1291
- total: Number((b = m == null ? void 0 : m.combinadoTotal) != null ? b : 0).toLocaleString("en-US", {
1317
+ outcomes: u.sort((x, k) => x.position - k.position),
1318
+ total: Number((v = m == null ? void 0 : m.combinadoTotal) != null ? v : 0).toLocaleString("en-US", {
1292
1319
  minimumFractionDigits: 2,
1293
1320
  maximumFractionDigits: 2
1294
1321
  }),
@@ -1302,23 +1329,23 @@ function La({ coupon: e }) {
1302
1329
  if (u.length === 1)
1303
1330
  return `/deportes#event/${u[0].id}`;
1304
1331
  const c = u[0].groupId;
1305
- if (u.every((b) => b.groupId === c)) {
1306
- const b = u[0].path;
1307
- if (Array.isArray(b) && b.length > 0)
1308
- return `/deportes#sports-hub/${b.map((T) => T.termKey).filter(Boolean).join("/")}`;
1332
+ if (u.every((v) => v.groupId === c)) {
1333
+ const v = u[0].path;
1334
+ if (Array.isArray(v) && v.length > 0)
1335
+ return `/deportes#sports-hub/${v.map((k) => k.termKey).filter(Boolean).join("/")}`;
1309
1336
  }
1310
1337
  return "/deportes#home";
1311
1338
  }
1312
1339
  const s = (m, u) => {
1313
- const c = Array.isArray(m) ? m : [m], g = Array.from(
1340
+ const c = Array.isArray(m) ? m : [m], f = Array.from(
1314
1341
  new Set(
1315
- l.outcomes.map((T) => {
1316
- var O;
1317
- const y = h.get(Number(T.eventId));
1318
- return (O = y == null ? void 0 : y.name) != null ? O : "";
1342
+ l.outcomes.map((k) => {
1343
+ var E;
1344
+ const T = h.get(Number(k.eventId));
1345
+ return (E = T == null ? void 0 : T.name) != null ? E : "";
1319
1346
  })
1320
1347
  )
1321
- ).filter(Boolean), b = g.length > 0 ? g.join(" + ") : JSON.stringify(c), x = u ? `${b} - Cuota: ${u}` : b;
1348
+ ).filter(Boolean), v = f.length > 0 ? f.join(" + ") : JSON.stringify(c), x = u ? `${v} - Cuota: ${u}` : v;
1322
1349
  a({
1323
1350
  element: "evento_semana_outcome",
1324
1351
  label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${x}`,
@@ -1331,14 +1358,14 @@ function La({ coupon: e }) {
1331
1358
  tags: { section: "OraculoEventCombinadasCard", outcomes: x }
1332
1359
  }), Ue(i(e), m);
1333
1360
  };
1334
- if (!((f = e == null ? void 0 : e.events) != null && f.length)) return null;
1361
+ if (!((g = e == null ? void 0 : e.events) != null && g.length)) return null;
1335
1362
  const l = r(e), d = l.outcomes.reduce((m, u) => (m[u.eventId] || (m[u.eventId] = []), m[u.eventId].push(u), m), {}), h = new Map(
1336
1363
  l.events.map((m) => [m.id, m])
1337
1364
  );
1338
- return /* @__PURE__ */ _("div", { className: ce.card, children: [
1365
+ return /* @__PURE__ */ y("div", { className: ce.card, children: [
1339
1366
  /* @__PURE__ */ t("div", { className: ce.combinadas, children: /* @__PURE__ */ t("div", { className: ce.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(d).reverse().map(([m, u]) => {
1340
1367
  const c = h.get(Number(m));
1341
- return c ? /* @__PURE__ */ _(
1368
+ return c ? /* @__PURE__ */ y(
1342
1369
  H,
1343
1370
  {
1344
1371
  direction: "column",
@@ -1360,23 +1387,23 @@ function La({ coupon: e }) {
1360
1387
  src: "/assets/img/home/Combinadas/line.png"
1361
1388
  }
1362
1389
  ),
1363
- u.map((g, b) => /* @__PURE__ */ _("div", { className: ce.apuestaItem, children: [
1364
- /* @__PURE__ */ _("div", { className: ce.lineContainer, children: [
1390
+ u.map((f, v) => /* @__PURE__ */ y("div", { className: ce.apuestaItem, children: [
1391
+ /* @__PURE__ */ y("div", { className: ce.lineContainer, children: [
1365
1392
  /* @__PURE__ */ t("div", { className: ce.circle }),
1366
- b < u.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1393
+ v < u.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1367
1394
  ] }),
1368
- /* @__PURE__ */ _("div", { className: ce.apuestaText, children: [
1369
- /* @__PURE__ */ t("strong", { children: g.value }),
1395
+ /* @__PURE__ */ y("div", { className: ce.apuestaText, children: [
1396
+ /* @__PURE__ */ t("strong", { children: f.value }),
1370
1397
  " | ",
1371
- g.label
1398
+ f.label
1372
1399
  ] })
1373
- ] }, `${m}-${b}`))
1400
+ ] }, `${m}-${v}`))
1374
1401
  ]
1375
1402
  },
1376
1403
  m
1377
1404
  ) : null;
1378
1405
  }) }) }) }),
1379
- /* @__PURE__ */ _(
1406
+ /* @__PURE__ */ y(
1380
1407
  "button",
1381
1408
  {
1382
1409
  onClick: () => s(
@@ -1385,7 +1412,7 @@ function La({ coupon: e }) {
1385
1412
  ),
1386
1413
  className: ce.cuotaTotal,
1387
1414
  children: [
1388
- /* @__PURE__ */ _("span", { children: [
1415
+ /* @__PURE__ */ y("span", { children: [
1389
1416
  "Cuota total: ",
1390
1417
  /* @__PURE__ */ t("strong", { children: l.total })
1391
1418
  ] }),
@@ -1416,7 +1443,7 @@ const de = {
1416
1443
  "orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
1417
1444
  "orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
1418
1445
  };
1419
- function Fa({
1446
+ function qa({
1420
1447
  children: e,
1421
1448
  onClick: a,
1422
1449
  href: n,
@@ -1426,41 +1453,41 @@ function Fa({
1426
1453
  disabled: l = !1,
1427
1454
  variant: d = "primary",
1428
1455
  size: h,
1429
- fullWidth: f = !1,
1456
+ fullWidth: g = !1,
1430
1457
  fullHeight: m = !1,
1431
1458
  className: u = "",
1432
1459
  ariaLabel: c,
1433
- leftIcon: g,
1434
- rightIcon: b,
1460
+ leftIcon: f,
1461
+ rightIcon: v,
1435
1462
  iconOnly: x
1436
1463
  }) {
1437
- const T = !!e && e !== !0, w = (!!g ? 1 : 0) + (!!b ? 1 : 0) == 1, R = x != null ? x : w && !T, k = [
1464
+ const k = !!e && e !== !0, b = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, A = x != null ? x : b && !k, w = [
1438
1465
  de["orc-btn"],
1439
1466
  // base
1440
1467
  de[`orc-btn--${d}`],
1441
1468
  // variant primary/secondary/tertiary
1442
1469
  h ? de[`orc-btn--${h}`] : "",
1443
1470
  // sm / md / lg
1444
- f ? de["orc-btn--full"] : "",
1471
+ g ? de["orc-btn--full"] : "",
1445
1472
  m ? de["orc-btn--fullHeight"] : "",
1446
- R ? de["orc-btn--iconOnly"] : "",
1473
+ A ? de["orc-btn--iconOnly"] : "",
1447
1474
  u
1448
- ].filter(Boolean).join(" "), S = /* @__PURE__ */ _(pe, { children: [
1449
- g && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: g }),
1450
- !R && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1451
- b && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: b })
1452
- ] }), F = l ? !0 : void 0;
1475
+ ].filter(Boolean).join(" "), S = /* @__PURE__ */ y(pe, { children: [
1476
+ f && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: f }),
1477
+ !A && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1478
+ v && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: v })
1479
+ ] }), L = l ? !0 : void 0;
1453
1480
  return n ? /* @__PURE__ */ t(
1454
- it,
1481
+ st,
1455
1482
  {
1456
1483
  href: n,
1457
1484
  target: r,
1458
1485
  rel: i,
1459
1486
  "aria-label": c,
1460
- "aria-disabled": F,
1461
- tabIndex: F ? -1 : void 0,
1462
- className: k,
1463
- onClick: F ? (L) => L.preventDefault() : a,
1487
+ "aria-disabled": L,
1488
+ tabIndex: L ? -1 : void 0,
1489
+ className: w,
1490
+ onClick: L ? (F) => F.preventDefault() : a,
1464
1491
  children: S
1465
1492
  }
1466
1493
  ) : /* @__PURE__ */ t(
@@ -1468,44 +1495,44 @@ function Fa({
1468
1495
  {
1469
1496
  type: s,
1470
1497
  onClick: a,
1471
- disabled: !!F,
1498
+ disabled: !!L,
1472
1499
  "aria-label": c,
1473
- className: k,
1500
+ className: w,
1474
1501
  children: S
1475
1502
  }
1476
1503
  );
1477
1504
  }
1478
- const qa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", za = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Pa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1479
- cardWrapper: qa,
1480
- customButtonLabel: za,
1481
- customButtonDisabled: Pa
1482
- }, Xe = {
1505
+ const za = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Pa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Da = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", $e = {
1506
+ cardWrapper: za,
1507
+ customButtonLabel: Pa,
1508
+ customButtonDisabled: Da
1509
+ }, Ye = {
1483
1510
  base: "FFFFFF",
1484
1511
  sleeve: "FFFFFF",
1485
1512
  number: "000000",
1486
1513
  real: !1,
1487
1514
  type: "short_sleeves"
1488
- }, Ye = {
1515
+ }, Qe = {
1489
1516
  base: "000000",
1490
1517
  sleeve: "000000",
1491
1518
  number: "FFFFFF",
1492
1519
  real: !1,
1493
1520
  type: "short_sleeves"
1494
- }, Me = (e, a, n = "player") => {
1521
+ }, Ae = (e, a, n = "player") => {
1495
1522
  var i, s;
1496
1523
  if (e === void 0)
1497
1524
  return null;
1498
1525
  if (e === null)
1499
- return a === "home" ? Xe : Ye;
1526
+ return a === "home" ? Ye : Qe;
1500
1527
  const r = (s = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : s[n];
1501
- return r || (a === "home" ? Xe : Ye);
1528
+ return r || (a === "home" ? Ye : Qe);
1502
1529
  };
1503
- function Da({ event: e, liveData: a, betOffers: n, jersey: r }) {
1504
- var d, h, f, m, u, c, g, b, x, T, y;
1530
+ function Ua({ event: e, liveData: a, betOffers: n, jersey: r }) {
1531
+ var d, h, g, m, u, c, f, v, x, k, T;
1505
1532
  const i = n == null ? void 0 : n.find(
1506
- (O) => {
1507
- var w;
1508
- return ((w = O.betOfferType) == null ? void 0 : w.id) === 2;
1533
+ (E) => {
1534
+ var b;
1535
+ return ((b = E.betOfferType) == null ? void 0 : b.id) === 2;
1509
1536
  }
1510
1537
  ), s = {
1511
1538
  englishLabel: "",
@@ -1521,86 +1548,98 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: r }) {
1521
1548
  { ...s, id: -2, label: "X", odds: void 0 },
1522
1549
  { ...s, id: -3, label: "2", odds: void 0 }
1523
1550
  ];
1524
- return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
- /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1551
+ return /* @__PURE__ */ t("div", { className: $e.cardWrapper, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1552
+ /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1526
1553
  /* @__PURE__ */ t(
1527
- Ht,
1554
+ Zt,
1528
1555
  {
1529
- title: (f = (h = (d = e == null ? void 0 : e.path) == null ? void 0 : d[0]) == null ? void 0 : h.name) != null ? f : "",
1556
+ title: (g = (h = (d = e == null ? void 0 : e.path) == null ? void 0 : d[0]) == null ? void 0 : h.name) != null ? g : "",
1530
1557
  subtitle: (m = e == null ? void 0 : e.group) != null ? m : "",
1531
1558
  live: !0,
1532
1559
  time: ((u = a == null ? void 0 : a.matchClock) == null ? void 0 : u.minute) != null ? `${a.matchClock.minute}'` : ""
1533
1560
  }
1534
1561
  ),
1535
- /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1536
- /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.homeName, jersey: Me(r, "home") }),
1537
- /* @__PURE__ */ t(pt, { text: ((g = (c = a == null ? void 0 : a.score) == null ? void 0 : c.home) != null ? g : 0) + ":" + ((x = (b = a == null ? void 0 : a.score) == null ? void 0 : b.away) != null ? x : 0), name: "En vivo" }),
1538
- /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.awayName, jersey: Me(r, "away") })
1562
+ /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1563
+ /* @__PURE__ */ t(Me, { name: e == null ? void 0 : e.homeName, jersey: Ae(r, "home") }),
1564
+ /* @__PURE__ */ t(ft, { text: ((f = (c = a == null ? void 0 : a.score) == null ? void 0 : c.home) != null ? f : 0) + ":" + ((x = (v = a == null ? void 0 : a.score) == null ? void 0 : v.away) != null ? x : 0), name: "En vivo" }),
1565
+ /* @__PURE__ */ t(Me, { name: e == null ? void 0 : e.awayName, jersey: Ae(r, "away") })
1539
1566
  ] }) })
1540
1567
  ] }),
1541
- /* @__PURE__ */ _(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1542
- /* @__PURE__ */ t(me, { spacing: 1, children: ((T = i == null ? void 0 : i.outcomes) != null ? T : l).map((O, w) => /* @__PURE__ */ t(ut, { text: O.label.toUpperCase() }, w)) }),
1543
- /* @__PURE__ */ t(me, { spacing: 2, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : l).map((O, w) => /* @__PURE__ */ t(Fa, { variant: "primary", disabled: O.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1544
- Ue("/deportes#event/live/" + e.id, O.id);
1545
- }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: O.odds === void 0 ? "" : (O.odds / 1e3).toFixed(2) }) }, w)) })
1568
+ /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1569
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((k = i == null ? void 0 : i.outcomes) != null ? k : l).map((E, b) => /* @__PURE__ */ t(mt, { text: E.label.toUpperCase() }, b)) }),
1570
+ /* @__PURE__ */ t(me, { spacing: 2, children: ((T = i == null ? void 0 : i.outcomes) != null ? T : l).map((E, b) => /* @__PURE__ */ t(qa, { variant: "primary", disabled: E.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1571
+ Ue("/deportes#event/live/" + e.id, E.id);
1572
+ }, className: $e.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: $e.customButtonLabel, children: E.odds === void 0 ? "" : (E.odds / 1e3).toFixed(2) }) }, b)) })
1546
1573
  ] })
1547
1574
  ] }) });
1548
1575
  }
1549
- const Ua = "oraculo__OraculoEventDate-module__date___xhIlh", Va = {
1550
- date: Ua
1576
+ const Va = "oraculo__OraculoEventDate-module__date___xhIlh", Wa = {
1577
+ date: Va
1551
1578
  };
1552
- function Wa({ text: e }) {
1553
- return /* @__PURE__ */ t("div", { className: `oli-font ${Va.date}`, children: e });
1579
+ function Ga({ text: e }) {
1580
+ return /* @__PURE__ */ t("div", { className: `oli-font ${Wa.date}`, children: e });
1554
1581
  }
1555
- const Ga = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ja = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Ha = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Ka = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", be = {
1556
- cardContainer: Ga,
1557
- cardBackground: ja,
1558
- jugadas: Ha,
1559
- equipos: Ka
1582
+ const ja = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Ha = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Ka = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Za = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", be = {
1583
+ cardContainer: ja,
1584
+ cardBackground: Ha,
1585
+ jugadas: Ka,
1586
+ equipos: Za
1560
1587
  };
1561
- function Za({ event: e, jersey: a }) {
1562
- var l, d, h, f, m, u, c;
1588
+ function Ja({ event: e, jersey: a }) {
1589
+ var l, d, h, g, m, u, c;
1563
1590
  const n = oe(), r = re();
1564
- function i(g) {
1565
- const b = new Date(g), x = b.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), T = b.getDate().toString().padStart(2, "0"), y = (b.getMonth() + 1).toString().padStart(2, "0");
1566
- let O = b.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1567
- return O = O.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${T}/${y} | ${O}`;
1591
+ function i(f) {
1592
+ const v = new Date(f), x = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), k = v.getDate().toString().padStart(2, "0"), T = (v.getMonth() + 1).toString().padStart(2, "0");
1593
+ let E = v.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1594
+ return E = E.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${k}/${T} | ${E}`;
1568
1595
  }
1569
- const s = (g, b) => {
1570
- const x = `${e.homeName} vs ${e.awayName}`, T = b ? (b / 1e3).toFixed(2) : "", y = T ? `${x} - Cuota: ${T}` : x;
1596
+ const s = (f, v) => {
1597
+ const x = `${e.homeName} vs ${e.awayName}`, k = v ? (v / 1e3).toFixed(2) : "", T = k ? `${x} - Cuota: ${k}` : x;
1571
1598
  n({
1572
1599
  element: "evento_semana_outcome",
1573
- label: `Landing: ${r} - OraculoEventSemanaCard - Click: ${y}`,
1600
+ label: `Landing: ${r} - OraculoEventSemanaCard - Click: ${T}`,
1574
1601
  target: "/deportes#in-play",
1575
1602
  event_type: "click",
1576
1603
  module_id: 301,
1577
1604
  metadata: {
1578
1605
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1579
1606
  },
1580
- tags: { section: "OraculoEventSemanaCard", outcomes: y }
1581
- }), Ue("/deportes#event/" + e.id, g);
1607
+ tags: { section: "OraculoEventSemanaCard", outcomes: T }
1608
+ }), Ue("/deportes#event/" + e.id, f);
1582
1609
  };
1583
- return /* @__PURE__ */ _("div", { className: be.cardContainer, children: [
1584
- /* @__PURE__ */ t(mt, { title: (l = e == null ? void 0 : e.group) != null ? l : "" }),
1585
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1586
- /* @__PURE__ */ _(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1587
- /* @__PURE__ */ _("div", { className: be.equipos, children: [
1588
- /* @__PURE__ */ t($e, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
1589
- /* @__PURE__ */ t(pt, { text: "vs.", name: "", size: "small" }),
1590
- /* @__PURE__ */ t($e, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
1610
+ return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
1611
+ /* @__PURE__ */ t(pt, { title: (l = e == null ? void 0 : e.group) != null ? l : "" }),
1612
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1613
+ /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1614
+ /* @__PURE__ */ y("div", { className: be.equipos, children: [
1615
+ /* @__PURE__ */ t(Me, { name: e.homeName, size: "compact", jersey: Ae(a, "home") }),
1616
+ /* @__PURE__ */ t(ft, { text: "vs.", name: "", size: "small" }),
1617
+ /* @__PURE__ */ t(Me, { name: e.awayName, size: "compact", jersey: Ae(a, "away") })
1591
1618
  ] }),
1592
- /* @__PURE__ */ t(Wa, { text: i(e.start) })
1619
+ /* @__PURE__ */ t(Ga, { text: i(e.start) })
1593
1620
  ] }),
1594
- /* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1595
- /* @__PURE__ */ t(me, { spacing: 1, children: ((f = (h = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : h.outcomes) != null ? f : []).map((g, b) => /* @__PURE__ */ t(ut, { text: g.label.toUpperCase() }, b)) }),
1596
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((c = (u = (m = e == null ? void 0 : e.outcome) == null ? void 0 : m[0]) == null ? void 0 : u.outcomes) != null ? c : []).map((g, b) => /* @__PURE__ */ t(J, { variant: "primary", fullHeight: !0, onClick: () => {
1597
- s(g.id, g.odds);
1598
- }, children: (g.odds / 1e3).toFixed(2) }, b)) }) })
1621
+ /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1622
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((g = (h = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : h.outcomes) != null ? g : []).map((f, v) => /* @__PURE__ */ t(mt, { text: f.label.toUpperCase() }, v)) }),
1623
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((c = (u = (m = e == null ? void 0 : e.outcome) == null ? void 0 : m[0]) == null ? void 0 : u.outcomes) != null ? c : []).map((f, v) => /* @__PURE__ */ t(J, { variant: "primary", fullHeight: !0, onClick: () => {
1624
+ s(f.id, f.odds);
1625
+ }, children: (f.odds / 1e3).toFixed(2) }, v)) }) })
1599
1626
  ] })
1600
1627
  ] }) })
1601
1628
  ] });
1602
1629
  }
1603
- function Ja({
1630
+ const Xa = (e = 3) => Array.from({ length: e }, (a, n) => ({
1631
+ body: "",
1632
+ image: "",
1633
+ title: `sk-${n}`,
1634
+ summary_body: "",
1635
+ summary_title: "",
1636
+ groups_forbidden: [],
1637
+ groups_allowed: [],
1638
+ promotion: "",
1639
+ tags: "",
1640
+ summary_image: ""
1641
+ }));
1642
+ function Ya({
1604
1643
  items: e,
1605
1644
  title: a = "Destacados",
1606
1645
  iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
@@ -1609,8 +1648,8 @@ function Ja({
1609
1648
  className: s = "",
1610
1649
  paddingMobile: l = "24px"
1611
1650
  }) {
1612
- var k;
1613
- const d = U(null), [h, f] = Z({ isStart: !0, isEnd: !1 }), m = oe(), u = re(), c = le(), g = !e || e.length === 0, b = () => {
1651
+ var w;
1652
+ const d = U(null), [h, g] = Z({ isStart: !0, isEnd: !1 }), m = oe(), u = re(), c = le(), f = !e || e.length === 0, v = () => {
1614
1653
  var S;
1615
1654
  m({
1616
1655
  element: "destacados_carousel_prev",
@@ -1636,7 +1675,7 @@ function Ja({
1636
1675
  },
1637
1676
  tags: { section: "OraculoSeccionDestacados" }
1638
1677
  }), (S = d.current) == null || S.next();
1639
- }, T = () => {
1678
+ }, k = () => {
1640
1679
  m({
1641
1680
  element: "destacados_view_more",
1642
1681
  label: `${u} - OraculoSeccionDestacados - Ver más`,
@@ -1648,20 +1687,20 @@ function Ja({
1648
1687
  },
1649
1688
  tags: { section: "OraculoSeccionDestacados" }
1650
1689
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1651
- }, y = s || void 0, O = xe("(max-width:950px)"), w = (k = e == null ? void 0 : e.length) != null ? k : 0;
1690
+ }, T = s || void 0, E = xe("(max-width:950px)"), b = (w = e == null ? void 0 : e.length) != null ? w : 0;
1652
1691
  Q(() => {
1653
- if (w === 0) {
1654
- f({ isStart: !0, isEnd: !0 });
1692
+ if (b === 0) {
1693
+ g({ isStart: !0, isEnd: !0 });
1655
1694
  return;
1656
1695
  }
1657
- f({ isStart: !0, isEnd: !1 });
1658
- }, [w, O, l]);
1659
- const R = (S) => {
1660
- const F = S.promotion, L = F ? `https://www.olimpo.bet/promociones/${encodeURIComponent(F)}` : "";
1696
+ g({ isStart: !0, isEnd: !1 });
1697
+ }, [b, E, l]);
1698
+ const A = (S) => {
1699
+ const L = S.promotion, F = L ? `https://www.olimpo.bet/promociones/${encodeURIComponent(L)}` : "";
1661
1700
  if (m({
1662
1701
  element: "destacados_card",
1663
- label: `${u} - OraculoSeccionDestacados - Click: ${F || S.title}`,
1664
- target: L || "custom_item_action",
1702
+ label: `${u} - OraculoSeccionDestacados - Click: ${L || S.title}`,
1703
+ target: F || "custom_item_action",
1665
1704
  event_type: "click",
1666
1705
  module_id: c,
1667
1706
  metadata: {
@@ -1669,16 +1708,16 @@ function Ja({
1669
1708
  },
1670
1709
  tags: {
1671
1710
  section: "OraculoSeccionDestacados",
1672
- promotion: String(F || "")
1711
+ promotion: String(L || "")
1673
1712
  }
1674
1713
  }), i) {
1675
1714
  i(S);
1676
1715
  return;
1677
1716
  }
1678
- L && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(L);
1717
+ F && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(F);
1679
1718
  };
1680
- return /* @__PURE__ */ _("section", { className: y, style: { width: "100%" }, children: [
1681
- /* @__PURE__ */ _(
1719
+ return /* @__PURE__ */ y("section", { className: T, style: { width: "100%" }, children: [
1720
+ /* @__PURE__ */ y(
1682
1721
  "header",
1683
1722
  {
1684
1723
  style: {
@@ -1688,21 +1727,21 @@ function Ja({
1688
1727
  columnGap: 12,
1689
1728
  rowGap: 8,
1690
1729
  marginBottom: 16,
1691
- paddingLeft: O ? l : 0,
1692
- paddingRight: O ? l : 0
1730
+ paddingLeft: E ? l : 0,
1731
+ paddingRight: E ? l : 0
1693
1732
  },
1694
1733
  children: [
1695
1734
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1696
- /* @__PURE__ */ _("div", { style: { display: "flex", gap: 8 }, children: [
1735
+ /* @__PURE__ */ y("div", { style: { display: "flex", gap: 8 }, children: [
1697
1736
  /* @__PURE__ */ t(
1698
1737
  J,
1699
1738
  {
1700
1739
  ariaLabel: "Anterior",
1701
1740
  variant: "secondary",
1702
1741
  iconOnly: !0,
1703
- leftIcon: /* @__PURE__ */ t(Ae, {}),
1704
- onClick: b,
1705
- disabled: h.isStart || g
1742
+ leftIcon: /* @__PURE__ */ t(Re, {}),
1743
+ onClick: v,
1744
+ disabled: h.isStart || f
1706
1745
  }
1707
1746
  ),
1708
1747
  /* @__PURE__ */ t(
@@ -1711,13 +1750,13 @@ function Ja({
1711
1750
  ariaLabel: "Siguiente",
1712
1751
  variant: "secondary",
1713
1752
  iconOnly: !0,
1714
- rightIcon: /* @__PURE__ */ t(Re, {}),
1753
+ rightIcon: /* @__PURE__ */ t(Le, {}),
1715
1754
  onClick: x,
1716
- disabled: h.isEnd || g
1755
+ disabled: h.isEnd || f
1717
1756
  }
1718
1757
  )
1719
1758
  ] }),
1720
- /* @__PURE__ */ t(J, { variant: "secondary", onClick: T, children: "Ver más" })
1759
+ /* @__PURE__ */ t(J, { variant: "secondary", onClick: k, children: "Ver más" })
1721
1760
  ]
1722
1761
  }
1723
1762
  ),
@@ -1725,43 +1764,60 @@ function Ja({
1725
1764
  he,
1726
1765
  {
1727
1766
  ref: d,
1728
- items: e,
1767
+ items: f ? Xa() : e,
1729
1768
  perPage: void 0,
1730
1769
  gap: "16px",
1731
1770
  enableHorizontalWheel: !0,
1732
- showRightGradient: !O,
1771
+ showRightGradient: !E,
1733
1772
  options: { autoWidth: !0, trimSpace: "move" },
1734
1773
  breakpoints: {
1735
1774
  768: { perPage: 2, focus: "start", padding: { left: l, right: l } },
1736
1775
  1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
1737
1776
  },
1738
- renderItem: (S) => /* @__PURE__ */ t(
1739
- "div",
1740
- {
1741
- style: {
1742
- textAlign: "center",
1743
- cursor: "pointer"
1744
- },
1745
- onClick: () => R(S),
1746
- children: /* @__PURE__ */ t(
1747
- "img",
1748
- {
1749
- src: `https://olimpo.bet${S.image !== "" ? S.image : S.summary_image}`,
1750
- alt: S.title,
1751
- style: {
1752
- width: "100%",
1753
- height: typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px",
1754
- borderRadius: 8,
1755
- display: "block",
1756
- objectFit: "cover"
1777
+ renderItem: (S) => {
1778
+ const L = typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px";
1779
+ return f ? /* @__PURE__ */ t("div", { style: { width: "100%" }, children: /* @__PURE__ */ t(
1780
+ W,
1781
+ {
1782
+ variant: "rectangular",
1783
+ width: "100%",
1784
+ height: L,
1785
+ sx: {
1786
+ borderRadius: "8px",
1787
+ bgcolor: "rgba(255,255,255,0.10)",
1788
+ "&::after": {
1789
+ background: "linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"
1757
1790
  }
1758
1791
  }
1759
- )
1760
- },
1761
- `${S.title}-${S.image}`
1762
- ),
1763
- onMove: ({ isStart: S, isEnd: F, source: L }) => {
1764
- f({ isStart: S, isEnd: F }), L === "user" && m({
1792
+ }
1793
+ ) }, S.title) : /* @__PURE__ */ t(
1794
+ "div",
1795
+ {
1796
+ style: {
1797
+ textAlign: "center",
1798
+ cursor: "pointer"
1799
+ },
1800
+ onClick: () => A(S),
1801
+ children: /* @__PURE__ */ t(
1802
+ "img",
1803
+ {
1804
+ src: `https://olimpo.bet${S.image !== "" ? S.image : S.summary_image}`,
1805
+ alt: S.title,
1806
+ style: {
1807
+ width: "100%",
1808
+ height: L,
1809
+ borderRadius: 8,
1810
+ display: "block",
1811
+ objectFit: "cover"
1812
+ }
1813
+ }
1814
+ )
1815
+ },
1816
+ `${S.title}-${S.image}`
1817
+ );
1818
+ },
1819
+ onMove: ({ isStart: S, isEnd: L, source: F }) => {
1820
+ g({ isStart: S, isEnd: L }), F === "user" && m({
1765
1821
  element: "destacados_carousel_slide",
1766
1822
  label: `${u} - OraculoSeccionDestacados - Slide Carousel`,
1767
1823
  target: "carousel",
@@ -1770,7 +1826,7 @@ function Ja({
1770
1826
  metadata: {
1771
1827
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
1772
1828
  isStart: S,
1773
- isEnd: F
1829
+ isEnd: L
1774
1830
  },
1775
1831
  tags: { section: "OraculoSeccionDestacados" }
1776
1832
  });
@@ -1780,21 +1836,21 @@ function Ja({
1780
1836
  ] });
1781
1837
  }
1782
1838
  const Ne = "__ORACULO_EXTRAS__";
1783
- function _t() {
1839
+ function yt() {
1784
1840
  const e = globalThis;
1785
1841
  return e[Ne] || (e[Ne] = {}), e[Ne];
1786
1842
  }
1787
- function Xa(e) {
1788
- _t().extras = e;
1843
+ function Qa(e) {
1844
+ yt().extras = e;
1789
1845
  }
1790
1846
  function se(e) {
1791
1847
  var a;
1792
- return (a = _t().extras) == null ? void 0 : a[e];
1848
+ return (a = yt().extras) == null ? void 0 : a[e];
1793
1849
  }
1794
- function Ya() {
1850
+ function en() {
1795
1851
  delete globalThis[Ne];
1796
1852
  }
1797
- function Qa({
1853
+ function tn({
1798
1854
  items: e,
1799
1855
  title: a = "Top Juegos",
1800
1856
  iconUrl: n,
@@ -1802,15 +1858,15 @@ function Qa({
1802
1858
  }) {
1803
1859
  const i = oe(), s = re(), l = le(), d = ie(
1804
1860
  () => (e != null ? e : []).map((u, c) => {
1805
- var g;
1861
+ var f;
1806
1862
  return {
1807
1863
  ...u,
1808
- orden: (g = u.orden) != null ? g : c + 1,
1864
+ orden: (f = u.orden) != null ? f : c + 1,
1809
1865
  _originalIndex: c
1810
1866
  };
1811
1867
  }).sort((u, c) => u.orden != null && c.orden != null ? u.orden - c.orden : u._originalIndex - c._originalIndex),
1812
1868
  [e]
1813
- ), h = !e || e.length === 0, f = h ? Array.from({ length: 6 }) : d.slice(0, 6), m = (u) => {
1869
+ ), h = !e || e.length === 0, g = h ? Array.from({ length: 6 }) : d.slice(0, 6), m = (u) => {
1814
1870
  i({
1815
1871
  element: "top_juegos_card",
1816
1872
  label: `${s} - OraculoSeccionTopJuegos - Open game: ${String(u.machine || "unknown")}`,
@@ -1825,12 +1881,12 @@ function Qa({
1825
1881
  section: "OraculoSeccionTopJuegos"
1826
1882
  }
1827
1883
  });
1828
- const c = se("showIframe"), g = se("loadMachine");
1884
+ const c = se("showIframe"), f = se("loadMachine");
1829
1885
  c == null || c(), requestAnimationFrame(() => {
1830
- g == null || g(u, !1, "CASINO");
1886
+ f == null || f(u, !1, "CASINO");
1831
1887
  });
1832
1888
  };
1833
- return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1889
+ return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1834
1890
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1835
1891
  /* @__PURE__ */ t(
1836
1892
  z,
@@ -1845,27 +1901,27 @@ function Qa({
1845
1901
  justifyItems: "center",
1846
1902
  width: "100%"
1847
1903
  },
1848
- children: f.map((u, c) => {
1849
- var g, b;
1904
+ children: g.map((u, c) => {
1905
+ var f, v;
1850
1906
  return /* @__PURE__ */ t(
1851
- xa,
1907
+ wa,
1852
1908
  {
1853
- imageUrl: h ? "" : u.background ? `https://olimpo.bet${u.background}` : `https://olimpo.bet${(g = u.logo) != null ? g : ""}`,
1909
+ imageUrl: h ? "" : u.background ? `https://olimpo.bet${u.background}` : `https://olimpo.bet${(f = u.logo) != null ? f : ""}`,
1854
1910
  orden: h ? c + 1 : u.orden,
1855
1911
  loading: h,
1856
1912
  onClick: h ? void 0 : () => {
1857
1913
  r == null || r(u), m(u);
1858
1914
  }
1859
1915
  },
1860
- h ? `sk-${c}` : (b = u.machine) != null ? b : `${c}`
1916
+ h ? `sk-${c}` : (v = u.machine) != null ? v : `${c}`
1861
1917
  );
1862
1918
  })
1863
1919
  }
1864
1920
  )
1865
1921
  ] }) });
1866
1922
  }
1867
- const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
1868
- var n, r, i, s, l, d, h, f, m, u, c, g, b, x;
1923
+ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", nn = (e, a) => {
1924
+ var n, r, i, s, l, d, h, g, m, u, c, f, v, x;
1869
1925
  return {
1870
1926
  orden: Number(a),
1871
1927
  machine: String(
@@ -1877,23 +1933,23 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1877
1933
  provider: (l = e.service) != null ? l : "",
1878
1934
  sub_provider: (d = e.service) != null ? d : "",
1879
1935
  external_id: (h = e.external_id) != null ? h : "",
1880
- type: (f = e.game_type) != null ? f : "",
1936
+ type: (g = e.game_type) != null ? g : "",
1881
1937
  tags: (m = e.tags) != null ? m : "",
1882
1938
  lobby_tag: (u = e.lobby_tag) != null ? u : null,
1883
1939
  background: (c = e.background) != null ? c : "",
1884
- rtp: (g = e.rtp) != null ? g : null,
1885
- demo_allowed: (b = e.demo_allowed) != null ? b : !1,
1940
+ rtp: (f = e.rtp) != null ? f : null,
1941
+ demo_allowed: (v = e.demo_allowed) != null ? v : !1,
1886
1942
  gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
1887
1943
  };
1888
- }, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
1944
+ }, on = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], xt = () => {
1889
1945
  var a, n, r;
1890
1946
  const e = se("user");
1891
1947
  return (r = (n = (a = e == null ? void 0 : e.userId) != null ? a : e == null ? void 0 : e.user) != null ? n : e == null ? void 0 : e.id) != null ? r : null;
1892
- }, nn = async (e) => {
1893
- const a = yt(), n = new URLSearchParams({
1948
+ }, rn = async (e) => {
1949
+ const a = xt(), n = new URLSearchParams({
1894
1950
  userId: String(a),
1895
1951
  productType: e
1896
- }), r = `${en}?${n.toString()}`, i = await fetch(r);
1952
+ }), r = `${an}?${n.toString()}`, i = await fetch(r);
1897
1953
  if (!i.ok)
1898
1954
  throw new Error(
1899
1955
  `No se pudo obtener recomendaciones. HTTP ${i.status} ${i.statusText}`
@@ -1903,7 +1959,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1903
1959
  ...s,
1904
1960
  recommendations: Array.isArray(s == null ? void 0 : s.recommendations) ? s.recommendations.slice(0, 49) : []
1905
1961
  };
1906
- }, on = async (e, a) => {
1962
+ }, sn = async (e, a) => {
1907
1963
  const n = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", r = JSON.stringify({
1908
1964
  userId: String(e),
1909
1965
  items: a
@@ -1928,33 +1984,33 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1928
1984
  }
1929
1985
  l(!0);
1930
1986
  try {
1931
- const f = await nn(n), m = an(f);
1987
+ const g = await rn(n), m = on(g);
1932
1988
  if (!m.length) {
1933
1989
  d || i([]);
1934
1990
  return;
1935
1991
  }
1936
- const u = yt(), c = await on(u, m), g = c.map((y) => y.itemId), b = await Promise.allSettled(
1937
- g.map(async (y, O) => {
1938
- const w = await fetch(`https://api.mktolimpo.com/api/machine/${y}`);
1939
- if (!w.ok)
1940
- throw new Error(`No se pudo obtener machine ${y}`);
1941
- const R = await w.json();
1942
- return tn(R, O);
1992
+ const u = xt(), c = await sn(u, m), f = c.map((T) => T.itemId), v = await Promise.allSettled(
1993
+ f.map(async (T, E) => {
1994
+ const b = await fetch(`https://api.mktolimpo.com/api/machine/${T}`);
1995
+ if (!b.ok)
1996
+ throw new Error(`No se pudo obtener machine ${T}`);
1997
+ const A = await b.json();
1998
+ return nn(A, E);
1943
1999
  })
1944
2000
  );
1945
2001
  if (d) return;
1946
- const x = b.filter(
1947
- (y) => y.status === "fulfilled"
1948
- ).map((y) => y.value), T = c.map((y) => {
1949
- const O = x.find((w) => w.machine === y.itemId);
1950
- return O ? { ...O, score: y.score } : null;
1951
- }).filter(Boolean).sort((y, O) => {
1952
- var w, R;
1953
- return ((w = O.score) != null ? w : 0) - ((R = y.score) != null ? R : 0);
2002
+ const x = v.filter(
2003
+ (T) => T.status === "fulfilled"
2004
+ ).map((T) => T.value), k = c.map((T) => {
2005
+ const E = x.find((b) => b.machine === T.itemId);
2006
+ return E ? { ...E, score: T.score } : null;
2007
+ }).filter(Boolean).sort((T, E) => {
2008
+ var b, A;
2009
+ return ((b = E.score) != null ? b : 0) - ((A = T.score) != null ? A : 0);
1954
2010
  });
1955
- i(T);
1956
- } catch (f) {
1957
- console.error(`[usePersonalizeGameItems:${n}] error:`, f), d || i([]);
2011
+ i(k);
2012
+ } catch (g) {
2013
+ console.error(`[usePersonalizeGameItems:${n}] error:`, g), d || i([]);
1958
2014
  } finally {
1959
2015
  d || l(!1);
1960
2016
  }
@@ -1965,10 +2021,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1965
2021
  resolvedItems: r,
1966
2022
  loading: s
1967
2023
  };
1968
- }, rn = (e, a = !1) => Ve(e, a, "Casino"), sn = (e, a = !1) => Ve(e, a, "Deportes virtuales"), ln = (e, a = !1) => Ve(e, a, "Casino en vivo"), cn = (e, a) => {
2024
+ }, ln = (e, a = !1) => Ve(e, a, "Casino"), cn = (e, a = !1) => Ve(e, a, "Deportes virtuales"), dn = (e, a = !1) => Ve(e, a, "Casino en vivo"), un = (e, a) => {
1969
2025
  var n, r;
1970
2026
  return (r = (n = e.orden) != null ? n : e.machine) != null ? r : a;
1971
- }, dn = (e) => {
2027
+ }, mn = (e) => {
1972
2028
  if (typeof e == "boolean") return e;
1973
2029
  if (typeof e == "string")
1974
2030
  return e.toLowerCase() === "true";
@@ -1978,7 +2034,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1978
2034
  return e.value.toLowerCase() === "true";
1979
2035
  }
1980
2036
  return !1;
1981
- }, un = ({
2037
+ }, pn = ({
1982
2038
  items: e,
1983
2039
  title: a = "Casino en vivo",
1984
2040
  subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
@@ -1989,42 +2045,42 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1989
2045
  className: d,
1990
2046
  isPersonalize: h = !1
1991
2047
  }) => {
1992
- const f = oe(), m = re(), u = le(), c = dn(h), { resolvedItems: g } = ln(
2048
+ const g = oe(), m = re(), u = le(), c = mn(h), { resolvedItems: f, loading: v } = dn(
1993
2049
  e,
1994
2050
  c
1995
- ), b = c ? g : Array.isArray(e) ? e : [], x = (y) => {
1996
- f({
2051
+ ), x = c ? f : Array.isArray(e) ? e : [], k = c ? v : !Array.isArray(e) || e.length === 0, T = (b) => {
2052
+ g({
1997
2053
  element: "live_casino_card",
1998
- label: `${m} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(y.machine || "unknown")}`,
1999
- target: String(y.machine || "unknown"),
2054
+ label: `${m} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(b.machine || "unknown")}`,
2055
+ target: String(b.machine || "unknown"),
2000
2056
  event_type: "click",
2001
2057
  module_id: u,
2002
2058
  metadata: {
2003
2059
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2004
2060
  },
2005
2061
  tags: {
2006
- game_name: String(y.machine || "unknown"),
2007
- provider: y.provider || "unknown",
2062
+ game_name: String(b.machine || "unknown"),
2063
+ provider: b.provider || "unknown",
2008
2064
  section: "OraculoSeccionCasinoEnVivo"
2009
2065
  }
2010
2066
  });
2011
- const O = se("showIframe"), w = se("loadMachine");
2067
+ const A = se("showIframe"), w = se("loadMachine");
2012
2068
  if (!w) {
2013
2069
  if (i) {
2014
- i(y);
2070
+ i(b);
2015
2071
  return;
2016
2072
  }
2017
2073
  console.warn(
2018
2074
  "[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
2019
- { machine: y == null ? void 0 : y.machine, provider: y == null ? void 0 : y.provider }
2075
+ { machine: b == null ? void 0 : b.machine, provider: b == null ? void 0 : b.provider }
2020
2076
  );
2021
2077
  return;
2022
2078
  }
2023
- O == null || O(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2024
- w == null || w(y, !1, "casino_en_vivo");
2079
+ A == null || A(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2080
+ w == null || w(b, !1, "casino_en_vivo");
2025
2081
  });
2026
- }, T = () => {
2027
- f({
2082
+ }, E = () => {
2083
+ g({
2028
2084
  element: "casino_en_vivo_view_more",
2029
2085
  label: `${m} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Ver más`,
2030
2086
  target: "https://www.olimpo.bet/casino-en-vivo",
@@ -2036,7 +2092,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2036
2092
  tags: { section: "OraculoSeccionCasinoEnVivo" }
2037
2093
  }), typeof globalThis != "undefined" && globalThis.location && (l ? l() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
2038
2094
  };
2039
- return /* @__PURE__ */ _(
2095
+ return /* @__PURE__ */ y(
2040
2096
  z,
2041
2097
  {
2042
2098
  className: d,
@@ -2074,7 +2130,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2074
2130
  }
2075
2131
  }
2076
2132
  ),
2077
- /* @__PURE__ */ _(
2133
+ /* @__PURE__ */ y(
2078
2134
  z,
2079
2135
  {
2080
2136
  sx: {
@@ -2092,7 +2148,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2092
2148
  textAlign: { xs: "center", md: "left" }
2093
2149
  },
2094
2150
  children: [
2095
- /* @__PURE__ */ _(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2151
+ /* @__PURE__ */ y(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2096
2152
  /* @__PURE__ */ t(
2097
2153
  ue,
2098
2154
  {
@@ -2123,7 +2179,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2123
2179
  {
2124
2180
  variant: "primary",
2125
2181
  size: "md",
2126
- onClick: T,
2182
+ onClick: E,
2127
2183
  children: "Ver más"
2128
2184
  }
2129
2185
  ) })
@@ -2139,18 +2195,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2139
2195
  py: { xs: 3, md: 0 },
2140
2196
  alignItems: "center"
2141
2197
  },
2142
- children: (b != null ? b : []).slice(0, 3).map((y, O) => {
2198
+ children: k ? Array.from({ length: 3 }).map((b, A) => /* @__PURE__ */ t(Je, { loading: !0, logo: "" }, `sk-${A}`)) : (x != null ? x : []).slice(0, 3).map((b, A) => {
2143
2199
  var w;
2144
2200
  return /* @__PURE__ */ t(
2145
- Sa,
2201
+ Je,
2146
2202
  {
2147
- logo: `https://olimpo.bet${y.background ? y.background : (w = y.logo) != null ? w : ""}`,
2148
- provider: y.provider,
2149
- providerName: y.web_name,
2150
- machine: y.machine,
2151
- onClick: () => x(y)
2203
+ logo: `https://olimpo.bet${b.background ? b.background : (w = b.logo) != null ? w : ""}`,
2204
+ provider: b.provider,
2205
+ providerName: b.web_name,
2206
+ machine: b.machine,
2207
+ onClick: () => T(b)
2152
2208
  },
2153
- cn(y, O)
2209
+ un(b, A)
2154
2210
  );
2155
2211
  })
2156
2212
  }
@@ -2160,7 +2216,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2160
2216
  {
2161
2217
  variant: "primary",
2162
2218
  size: "lg",
2163
- onClick: T,
2219
+ onClick: E,
2164
2220
  children: "Ver más"
2165
2221
  }
2166
2222
  ) })
@@ -2170,7 +2226,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2170
2226
  ]
2171
2227
  }
2172
2228
  );
2173
- }, mn = (e) => {
2229
+ }, fn = (e) => {
2174
2230
  if (typeof e == "boolean") return e;
2175
2231
  if (typeof e == "string")
2176
2232
  return e.toLowerCase() === "true";
@@ -2180,14 +2236,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2180
2236
  return e.value.toLowerCase() === "true";
2181
2237
  }
2182
2238
  return !1;
2183
- }, xt = (e, a) => {
2239
+ }, St = (e, a) => {
2184
2240
  var n, r;
2185
2241
  return (r = (n = e.orden) != null ? n : e.machine) != null ? r : a;
2186
- }, pn = (e, a = !0, n = 1) => {
2242
+ }, gn = (e, a = !0, n = 1) => {
2187
2243
  const r = e.map((l, d) => {
2188
2244
  var h;
2189
2245
  return {
2190
- id: xt(l, d),
2246
+ id: St(l, d),
2191
2247
  imageUrl: (h = l.logo) != null ? h : "",
2192
2248
  ...l.background ? { background: l.background } : {}
2193
2249
  };
@@ -2212,7 +2268,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2212
2268
  }), s = l;
2213
2269
  }
2214
2270
  return i;
2215
- }, fn = ({
2271
+ }, hn = ({
2216
2272
  items: e,
2217
2273
  title: a = "Casino",
2218
2274
  iconUrl: n = "/assets/img/home/Casino/diamante.svg",
@@ -2222,14 +2278,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2222
2278
  gridSize: l = 1,
2223
2279
  isPersonalize: d = !1
2224
2280
  }) => {
2225
- const h = oe(), f = re(), m = le(), u = U(null), [c, g] = Z({ isStart: !0, isEnd: !1 }), b = mn(d), { resolvedItems: x, loading: T } = rn(
2281
+ const h = oe(), g = re(), m = le(), u = U(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), v = fn(d), { resolvedItems: x, loading: k } = ln(
2226
2282
  e,
2227
- b
2228
- ), y = b ? x : Array.isArray(e) ? e : [], O = () => {
2283
+ v
2284
+ ), T = v ? x : Array.isArray(e) ? e : [], E = () => {
2229
2285
  var I;
2230
2286
  h({
2231
2287
  element: "casino_prev",
2232
- label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Anterior`,
2288
+ label: `${g} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Anterior`,
2233
2289
  target: "prev",
2234
2290
  event_type: "click",
2235
2291
  module_id: m,
@@ -2238,11 +2294,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2238
2294
  },
2239
2295
  tags: { section: "OraculoSeccionCasino" }
2240
2296
  }), (I = u.current) == null || I.prev();
2241
- }, w = () => {
2297
+ }, b = () => {
2242
2298
  var I;
2243
2299
  h({
2244
2300
  element: "casino_next",
2245
- label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Siguiente`,
2301
+ label: `${g} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Siguiente`,
2246
2302
  target: "next",
2247
2303
  event_type: "click",
2248
2304
  module_id: m,
@@ -2251,10 +2307,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2251
2307
  },
2252
2308
  tags: { section: "OraculoSeccionCasino" }
2253
2309
  }), (I = u.current) == null || I.next();
2254
- }, R = () => {
2310
+ }, A = () => {
2255
2311
  if (h({
2256
2312
  element: "casino_view_more",
2257
- label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Ver más`,
2313
+ label: `${g} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Ver más`,
2258
2314
  target: "https://www.olimpo.bet/casino",
2259
2315
  event_type: "click",
2260
2316
  module_id: m,
@@ -2267,15 +2323,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2267
2323
  return;
2268
2324
  }
2269
2325
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2270
- }, k = (I = !0, v = 4) => {
2271
- const E = (M) => Array.from({ length: M }, (B, P) => ({
2326
+ }, w = (I = !0, _ = 4) => {
2327
+ const O = (M) => Array.from({ length: M }, (B, P) => ({
2272
2328
  id: `sk-${M}-${P}`,
2273
2329
  imageUrl: ""
2274
2330
  })), q = [];
2275
- return I && q.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), q.push({ id: "grid-loading", kind: "grid", items: E(v) }), q;
2276
- }, S = b ? T : !Array.isArray(e) || e.length === 0, F = De("(max-width:950px)"), L = S ? k(s, l) : pn(y, s, l);
2277
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ _(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2278
- /* @__PURE__ */ _(
2331
+ return I && q.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), q.push({ id: "grid-loading", kind: "grid", items: O(_) }), q;
2332
+ }, S = v ? k : !Array.isArray(e) || e.length === 0, L = De("(max-width:950px)"), F = S ? w(s, l) : gn(T, s, l);
2333
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2334
+ /* @__PURE__ */ y(
2279
2335
  z,
2280
2336
  {
2281
2337
  sx: {
@@ -2291,15 +2347,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2291
2347
  },
2292
2348
  children: [
2293
2349
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2294
- /* @__PURE__ */ _(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2350
+ /* @__PURE__ */ y(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2295
2351
  /* @__PURE__ */ t(
2296
2352
  J,
2297
2353
  {
2298
2354
  ariaLabel: "Anterior",
2299
2355
  variant: "secondary",
2300
2356
  iconOnly: !0,
2301
- leftIcon: /* @__PURE__ */ t(lt, {}),
2302
- onClick: O,
2357
+ leftIcon: /* @__PURE__ */ t(ct, {}),
2358
+ onClick: E,
2303
2359
  disabled: c.isStart
2304
2360
  }
2305
2361
  ),
@@ -2309,13 +2365,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2309
2365
  ariaLabel: "Siguiente",
2310
2366
  variant: "secondary",
2311
2367
  iconOnly: !0,
2312
- rightIcon: /* @__PURE__ */ t(ct, {}),
2313
- onClick: w,
2368
+ rightIcon: /* @__PURE__ */ t(dt, {}),
2369
+ onClick: b,
2314
2370
  disabled: c.isEnd
2315
2371
  }
2316
2372
  )
2317
2373
  ] }),
2318
- /* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: R, children: "Ver más" }) })
2374
+ /* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: A, children: "Ver más" }) })
2319
2375
  ]
2320
2376
  }
2321
2377
  ),
@@ -2323,12 +2379,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2323
2379
  he,
2324
2380
  {
2325
2381
  ref: u,
2326
- items: L,
2382
+ items: F,
2327
2383
  perPage: void 0,
2328
2384
  gap: "16px",
2329
2385
  enableHorizontalWheel: !0,
2330
2386
  options: { autoWidth: !0, trimSpace: "move" },
2331
- showRightGradient: !F,
2387
+ showRightGradient: !L,
2332
2388
  breakpoints: {
2333
2389
  400: {
2334
2390
  gap: "4px",
@@ -2347,41 +2403,41 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2347
2403
  }
2348
2404
  },
2349
2405
  renderItem: (I) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2350
- ft,
2406
+ gt,
2351
2407
  {
2352
2408
  items: I.items,
2353
2409
  layout: I.kind === "mosaic" ? "mosaic" : "grid",
2354
2410
  loading: S,
2355
- onClick: (v) => {
2411
+ onClick: (_) => {
2356
2412
  if (S) return;
2357
- const E = y.find(
2358
- (B, P) => String(xt(B, P)) === String(v.id)
2413
+ const O = T.find(
2414
+ (B, P) => String(St(B, P)) === String(_.id)
2359
2415
  );
2360
- if (!E) return;
2361
- r == null || r(E), h({
2416
+ if (!O) return;
2417
+ r == null || r(O), h({
2362
2418
  element: "casino_game_card",
2363
- label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
2364
- target: String(E.machine || "unknown"),
2419
+ label: `${g} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Game: ${String(O.machine || "unknown")}`,
2420
+ target: String(O.machine || "unknown"),
2365
2421
  event_type: "click",
2366
2422
  module_id: m,
2367
2423
  metadata: {
2368
2424
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2369
2425
  },
2370
2426
  tags: {
2371
- game_name: String(E.machine || "unknown"),
2427
+ game_name: String(O.machine || "unknown"),
2372
2428
  section: a || "Casino"
2373
2429
  }
2374
2430
  });
2375
2431
  const q = se("showIframe"), M = se("loadMachine");
2376
- q == null || q(), M == null || M(E, !1, "CASINO");
2432
+ q == null || q(), M == null || M(O, !1, "CASINO");
2377
2433
  }
2378
2434
  }
2379
2435
  ) }),
2380
- onMove: ({ isStart: I, isEnd: v }) => g({ isStart: I, isEnd: v })
2436
+ onMove: ({ isStart: I, isEnd: _ }) => f({ isStart: I, isEnd: _ })
2381
2437
  }
2382
2438
  )
2383
2439
  ] }) });
2384
- }, gn = (e) => {
2440
+ }, bn = (e) => {
2385
2441
  if (typeof e == "boolean") return e;
2386
2442
  if (typeof e == "string")
2387
2443
  return e.toLowerCase() === "true";
@@ -2391,14 +2447,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2391
2447
  return e.value.toLowerCase() === "true";
2392
2448
  }
2393
2449
  return !1;
2394
- }, St = (e, a) => {
2450
+ }, wt = (e, a) => {
2395
2451
  var n, r;
2396
2452
  return (r = (n = e.orden) != null ? n : e.machine) != null ? r : a;
2397
- }, hn = (e, a = !0, n = 1) => {
2453
+ }, vn = (e, a = !0, n = 1) => {
2398
2454
  const r = e.map((l, d) => {
2399
2455
  var h;
2400
2456
  return {
2401
- id: St(l, d),
2457
+ id: wt(l, d),
2402
2458
  imageUrl: (h = l.logo) != null ? h : "",
2403
2459
  ...l.background ? { background: l.background } : {}
2404
2460
  };
@@ -2423,7 +2479,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2423
2479
  }), s = l;
2424
2480
  }
2425
2481
  return i;
2426
- }, bn = (e = !0, a = 4) => {
2482
+ }, _n = (e = !0, a = 4) => {
2427
2483
  const n = (i) => Array.from({ length: i }, (s, l) => ({
2428
2484
  id: `sk-${i}-${l}`,
2429
2485
  imageUrl: ""
@@ -2437,7 +2493,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2437
2493
  kind: "grid",
2438
2494
  items: n(a)
2439
2495
  }), r;
2440
- }, vn = ({
2496
+ }, yn = ({
2441
2497
  items: e,
2442
2498
  title: a = "Virtuales",
2443
2499
  iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
@@ -2447,42 +2503,42 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2447
2503
  gridSize: l = 1,
2448
2504
  isPersonalize: d = !1
2449
2505
  }) => {
2450
- const h = U(null), [f, m] = Z({ isStart: !0, isEnd: !1 }), u = oe(), c = re(), g = le(), b = gn(d), { resolvedItems: x, loading: T } = sn(
2506
+ const h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), u = oe(), c = re(), f = le(), v = bn(d), { resolvedItems: x, loading: k } = cn(
2451
2507
  e,
2452
- b
2453
- ), y = b ? x : Array.isArray(e) ? e : [], O = () => {
2454
- var L;
2508
+ v
2509
+ ), T = v ? x : Array.isArray(e) ? e : [], E = () => {
2510
+ var F;
2455
2511
  u({
2456
2512
  element: "virtuales_prev",
2457
- label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Anterior`,
2513
+ label: `${c} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Anterior`,
2458
2514
  target: "prev",
2459
2515
  event_type: "click",
2460
- module_id: g,
2516
+ module_id: f,
2461
2517
  metadata: {
2462
2518
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2463
2519
  },
2464
2520
  tags: { section: "OraculoSeccionVirtuales" }
2465
- }), (L = h.current) == null || L.prev();
2466
- }, w = () => {
2467
- var L;
2521
+ }), (F = h.current) == null || F.prev();
2522
+ }, b = () => {
2523
+ var F;
2468
2524
  u({
2469
2525
  element: "virtuales_next",
2470
- label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Siguiente`,
2526
+ label: `${c} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Siguiente`,
2471
2527
  target: "next",
2472
2528
  event_type: "click",
2473
- module_id: g,
2529
+ module_id: f,
2474
2530
  metadata: {
2475
2531
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2476
2532
  },
2477
2533
  tags: { section: "OraculoSeccionVirtuales" }
2478
- }), (L = h.current) == null || L.next();
2479
- }, R = () => {
2534
+ }), (F = h.current) == null || F.next();
2535
+ }, A = () => {
2480
2536
  if (u({
2481
2537
  element: "virtuales_view_more",
2482
- label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Ver más`,
2538
+ label: `${c} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Ver más`,
2483
2539
  target: "https://www.olimpo.bet/juegos-virtuales",
2484
2540
  event_type: "click",
2485
- module_id: g,
2541
+ module_id: f,
2486
2542
  metadata: {
2487
2543
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2488
2544
  },
@@ -2492,9 +2548,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2492
2548
  return;
2493
2549
  }
2494
2550
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2495
- }, k = b ? T : !Array.isArray(e) || e.length === 0, S = xe("(max-width:950px)"), F = k ? bn(s, l) : hn(y, s, l);
2496
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ _(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2497
- /* @__PURE__ */ _(
2551
+ }, w = v ? k : !Array.isArray(e) || e.length === 0, S = xe("(max-width:950px)"), L = w ? _n(s, l) : vn(T, s, l);
2552
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2553
+ /* @__PURE__ */ y(
2498
2554
  z,
2499
2555
  {
2500
2556
  sx: {
@@ -2510,16 +2566,16 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2510
2566
  },
2511
2567
  children: [
2512
2568
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2513
- /* @__PURE__ */ _(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2569
+ /* @__PURE__ */ y(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2514
2570
  /* @__PURE__ */ t(
2515
2571
  J,
2516
2572
  {
2517
2573
  ariaLabel: "Anterior",
2518
2574
  variant: "secondary",
2519
2575
  iconOnly: !0,
2520
- leftIcon: /* @__PURE__ */ t(lt, {}),
2521
- onClick: O,
2522
- disabled: f.isStart
2576
+ leftIcon: /* @__PURE__ */ t(ct, {}),
2577
+ onClick: E,
2578
+ disabled: g.isStart
2523
2579
  }
2524
2580
  ),
2525
2581
  /* @__PURE__ */ t(
@@ -2528,13 +2584,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2528
2584
  ariaLabel: "Siguiente",
2529
2585
  variant: "secondary",
2530
2586
  iconOnly: !0,
2531
- rightIcon: /* @__PURE__ */ t(ct, {}),
2532
- onClick: w,
2533
- disabled: f.isEnd
2587
+ rightIcon: /* @__PURE__ */ t(dt, {}),
2588
+ onClick: b,
2589
+ disabled: g.isEnd
2534
2590
  }
2535
2591
  )
2536
2592
  ] }),
2537
- /* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: R, children: "Ver más" }) })
2593
+ /* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: A, children: "Ver más" }) })
2538
2594
  ]
2539
2595
  }
2540
2596
  ),
@@ -2542,7 +2598,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2542
2598
  he,
2543
2599
  {
2544
2600
  ref: h,
2545
- items: F,
2601
+ items: L,
2546
2602
  perPage: void 0,
2547
2603
  gap: "16px",
2548
2604
  breakpoints: {
@@ -2565,52 +2621,52 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2565
2621
  enableHorizontalWheel: !0,
2566
2622
  showRightGradient: !S,
2567
2623
  options: { autoWidth: !0, trimSpace: "move" },
2568
- renderItem: (L) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2569
- ft,
2624
+ renderItem: (F) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2625
+ gt,
2570
2626
  {
2571
- items: L.items,
2572
- layout: L.kind === "mosaic" ? "mosaic" : "grid",
2573
- loading: k,
2627
+ items: F.items,
2628
+ layout: F.kind === "mosaic" ? "mosaic" : "grid",
2629
+ loading: w,
2574
2630
  onClick: (I) => {
2575
- if (k) return;
2576
- const v = y.find(
2577
- (M, B) => String(St(M, B)) === String(I.id)
2631
+ if (w) return;
2632
+ const _ = T.find(
2633
+ (M, B) => String(wt(M, B)) === String(I.id)
2578
2634
  );
2579
- if (!v) {
2635
+ if (!_) {
2580
2636
  console.warn(
2581
2637
  "[virtuales] no se encontró game para id:",
2582
2638
  I.id
2583
2639
  );
2584
2640
  return;
2585
2641
  }
2586
- r == null || r(v), u({
2642
+ r == null || r(_), u({
2587
2643
  element: "virtuales_game_card",
2588
- label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Game: ${String(v.machine || "unknown")}`,
2589
- target: String(v.machine || "unknown"),
2644
+ label: `${c} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Game: ${String(_.machine || "unknown")}`,
2645
+ target: String(_.machine || "unknown"),
2590
2646
  event_type: "click",
2591
- module_id: g,
2647
+ module_id: f,
2592
2648
  metadata: {
2593
2649
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2594
2650
  },
2595
2651
  tags: {
2596
- game_name: String(v.machine || "unknown"),
2652
+ game_name: String(_.machine || "unknown"),
2597
2653
  section: a || "Virtuales"
2598
2654
  }
2599
2655
  });
2600
- const E = se("showIframe"), q = se("loadMachine");
2601
- E == null || E(), q == null || q(
2602
- v,
2656
+ const O = se("showIframe"), q = se("loadMachine");
2657
+ O == null || O(), q == null || q(
2658
+ _,
2603
2659
  !1,
2604
- b ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2660
+ v ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2605
2661
  );
2606
2662
  }
2607
2663
  }
2608
2664
  ) }),
2609
- onMove: ({ isStart: L, isEnd: I }) => m({ isStart: L, isEnd: I })
2665
+ onMove: ({ isStart: F, isEnd: I }) => m({ isStart: F, isEnd: I })
2610
2666
  }
2611
2667
  )
2612
2668
  ] }) });
2613
- }, _n = (e) => ({
2669
+ }, xn = (e) => ({
2614
2670
  position: "relative",
2615
2671
  py: 8,
2616
2672
  color: "#fff",
@@ -2624,15 +2680,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2624
2680
  backgroundRepeat: "no-repeat",
2625
2681
  backgroundPosition: "center",
2626
2682
  backgroundSize: "cover"
2627
- }), Qe = {
2683
+ }), et = {
2628
2684
  textAlign: "center",
2629
2685
  lineHeight: 1.1,
2630
2686
  mb: 1.5
2631
- }, et = {
2687
+ }, tt = {
2632
2688
  display: "inline-block",
2633
2689
  fontWeight: 600,
2634
2690
  fontSize: 24
2635
- }, tt = {
2691
+ }, at = {
2636
2692
  display: "inline-block",
2637
2693
  fontSize: 24,
2638
2694
  lineHeight: 1.1,
@@ -2642,92 +2698,92 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2642
2698
  0 0 6px rgba(255, 255, 255, .6),
2643
2699
  0 1px 0 rgba(137, 137, 137, .85)
2644
2700
  `
2645
- }, yn = ({
2701
+ }, Sn = ({
2646
2702
  headline: e,
2647
2703
  headline2: a,
2648
2704
  items: n,
2649
2705
  backgroundImageUrl: r
2650
2706
  }) => {
2651
- const i = oe(), s = re(), l = xe("(max-width: 767px)"), d = n.length > 1, h = U(null), f = U(null), m = U(!1), u = U(!1), [c, g] = Z(0), [b, x] = Z({ isStart: !0, isEnd: !1 });
2707
+ const i = oe(), s = re(), l = xe("(max-width: 767px)"), d = n.length > 1, h = U(null), g = U(null), m = U(!1), u = U(!1), [c, f] = Z(0), [v, x] = Z({ isStart: !0, isEnd: !1 });
2652
2708
  Q(() => {
2653
- const v = setTimeout(() => {
2709
+ const _ = setTimeout(() => {
2654
2710
  m.current = !0;
2655
2711
  }, 500);
2656
- return () => clearTimeout(v);
2712
+ return () => clearTimeout(_);
2657
2713
  }, []);
2658
- const T = U(b);
2714
+ const k = U(v);
2659
2715
  Q(() => {
2660
- T.current = b;
2661
- }, [b]);
2662
- const y = U(!1), O = U(null), w = n == null ? void 0 : n[c], R = ie(
2716
+ k.current = v;
2717
+ }, [v]);
2718
+ const T = U(!1), E = U(null), b = n == null ? void 0 : n[c], A = ie(
2663
2719
  () => {
2664
- var v, E;
2665
- return (E = (v = w == null ? void 0 : w.backgroundImageUrl) != null ? v : r) != null ? E : "";
2720
+ var _, O;
2721
+ return (O = (_ = b == null ? void 0 : b.backgroundImageUrl) != null ? _ : r) != null ? O : "";
2666
2722
  },
2667
- [w, r]
2668
- ), k = _n(R), S = !n || n.length === 0, F = (v, E) => {
2723
+ [b, r]
2724
+ ), w = xn(A), S = !n || n.length === 0, L = (_, O) => {
2669
2725
  i({
2670
2726
  element: "welcome_banner_button",
2671
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${v.title || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
2727
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${_.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
2672
2728
  target: "action",
2673
2729
  event_type: "click",
2674
2730
  module_id: 301,
2675
2731
  metadata: {
2676
2732
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2677
- banner_position: E + 1,
2733
+ banner_position: O + 1,
2678
2734
  banner_total: (n == null ? void 0 : n.length) || 0
2679
2735
  },
2680
2736
  tags: {
2681
- banner_title: v.title || "no_title",
2682
- button_text: v.buttonText || "no_text"
2737
+ banner_title: _.title || "no_title",
2738
+ button_text: _.buttonText || "no_text"
2683
2739
  }
2684
- }), v.onButtonClick && v.onButtonClick();
2685
- }, L = (v) => {
2740
+ }), _.onButtonClick && _.onButtonClick();
2741
+ }, F = (_) => {
2686
2742
  if (!m.current) return;
2687
2743
  if (u.current) {
2688
2744
  u.current = !1;
2689
2745
  return;
2690
2746
  }
2691
- const E = n == null ? void 0 : n[v];
2747
+ const O = n == null ? void 0 : n[_];
2692
2748
  i({
2693
2749
  element: "welcome_banner_carousel",
2694
- label: `Landing: ${s} - OraculoSeccionBonoBienvenida - Banner view: ${(E == null ? void 0 : E.title) || "OraculoSeccionBonoBienvenida - Banner " + (v + 1)}`,
2750
+ label: `Landing: ${s} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (_ + 1)}`,
2695
2751
  target: "no_url",
2696
2752
  event_type: "view",
2697
2753
  module_id: 301,
2698
2754
  metadata: {
2699
2755
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2700
- slide_index: v + 1,
2756
+ slide_index: _ + 1,
2701
2757
  total_slides: (n == null ? void 0 : n.length) || 0,
2702
2758
  interaction_type: "manual_slide"
2703
2759
  },
2704
2760
  tags: {
2705
- banner_position: String(v + 1),
2706
- banner_title: (E == null ? void 0 : E.title) || "no_title"
2761
+ banner_position: String(_ + 1),
2762
+ banner_title: (O == null ? void 0 : O.title) || "no_title"
2707
2763
  }
2708
2764
  });
2709
2765
  };
2710
2766
  Q(() => {
2711
- const v = f.current;
2712
- if (!v) return;
2713
- const E = 6, q = 380, M = (B) => {
2714
- var K, G;
2715
- if (S || B.ctrlKey || y.current) return;
2767
+ const _ = g.current;
2768
+ if (!_) return;
2769
+ const O = 6, q = 380, M = (B) => {
2770
+ var K, j;
2771
+ if (S || B.ctrlKey || T.current) return;
2716
2772
  const P = B.deltaX, V = B.deltaY;
2717
- if (Math.abs(P) <= Math.abs(V) || Math.abs(P) < E) return;
2718
- const W = P > 0;
2719
- W && T.current.isEnd || !W && T.current.isStart || (B.preventDefault(), y.current = !0, W ? (K = h.current) == null || K.next() : (G = h.current) == null || G.prev(), O.current && window.clearTimeout(O.current), O.current = window.setTimeout(() => {
2720
- y.current = !1;
2773
+ if (Math.abs(P) <= Math.abs(V) || Math.abs(P) < O) return;
2774
+ const G = P > 0;
2775
+ G && k.current.isEnd || !G && k.current.isStart || (B.preventDefault(), T.current = !0, G ? (K = h.current) == null || K.next() : (j = h.current) == null || j.prev(), E.current && window.clearTimeout(E.current), E.current = window.setTimeout(() => {
2776
+ T.current = !1;
2721
2777
  }, q));
2722
2778
  };
2723
- return v.addEventListener("wheel", M, { passive: !1 }), () => {
2724
- v.removeEventListener("wheel", M), O.current && window.clearTimeout(O.current);
2779
+ return _.addEventListener("wheel", M, { passive: !1 }), () => {
2780
+ _.removeEventListener("wheel", M), E.current && window.clearTimeout(E.current);
2725
2781
  };
2726
2782
  }, [S]);
2727
- const I = (v, E, q) => {
2783
+ const I = (_, O, q) => {
2728
2784
  var P, V;
2729
- const M = (P = v.headline) != null ? P : e, B = (V = v.headline2) != null ? V : a;
2730
- return E ? /* @__PURE__ */ _(
2785
+ const M = (P = _.headline) != null ? P : e, B = (V = _.headline2) != null ? V : a;
2786
+ return O ? /* @__PURE__ */ y(
2731
2787
  z,
2732
2788
  {
2733
2789
  sx: {
@@ -2749,45 +2805,45 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2749
2805
  justifyContent: "flex-start",
2750
2806
  minHeight: "100%"
2751
2807
  },
2752
- children: /* @__PURE__ */ _(z, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2753
- M && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: M }),
2754
- B && /* @__PURE__ */ _(pe, { children: [
2808
+ children: /* @__PURE__ */ y(z, { sx: { ...et, textAlign: "left", mb: 0 }, children: [
2809
+ M && /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: M }),
2810
+ B && /* @__PURE__ */ y(pe, { children: [
2755
2811
  /* @__PURE__ */ t("br", {}),
2756
- /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: B })
2812
+ /* @__PURE__ */ t(ue, { component: "span", sx: at, children: B })
2757
2813
  ] })
2758
2814
  ] })
2759
2815
  }
2760
2816
  ),
2761
2817
  /* @__PURE__ */ t(z, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(z, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2762
- Je,
2818
+ Xe,
2763
2819
  {
2764
- ...v,
2765
- onButtonClick: () => F(v, q),
2820
+ ..._,
2821
+ onButtonClick: () => L(_, q),
2766
2822
  variant: "large"
2767
2823
  }
2768
2824
  ) }) })
2769
2825
  ]
2770
2826
  }
2771
- ) : /* @__PURE__ */ _(z, { sx: { textAlign: "center" }, children: [
2772
- (M || B) && /* @__PURE__ */ _(z, { sx: Qe, children: [
2773
- M && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: M }),
2774
- B && /* @__PURE__ */ _(pe, { children: [
2827
+ ) : /* @__PURE__ */ y(z, { sx: { textAlign: "center" }, children: [
2828
+ (M || B) && /* @__PURE__ */ y(z, { sx: et, children: [
2829
+ M && /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: M }),
2830
+ B && /* @__PURE__ */ y(pe, { children: [
2775
2831
  /* @__PURE__ */ t("br", {}),
2776
- /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: B })
2832
+ /* @__PURE__ */ t(ue, { component: "span", sx: at, children: B })
2777
2833
  ] })
2778
2834
  ] }),
2779
2835
  /* @__PURE__ */ t(z, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2780
- Je,
2836
+ Xe,
2781
2837
  {
2782
- ...v,
2783
- onButtonClick: () => F(v, q),
2838
+ ..._,
2839
+ onButtonClick: () => L(_, q),
2784
2840
  variant: "small"
2785
2841
  }
2786
2842
  ) })
2787
2843
  ] });
2788
2844
  };
2789
- return /* @__PURE__ */ _(z, { component: "section", sx: k, children: [
2790
- /* @__PURE__ */ t("div", { ref: f, style: { width: "100%" }, children: /* @__PURE__ */ t(
2845
+ return /* @__PURE__ */ y(z, { component: "section", sx: w, children: [
2846
+ /* @__PURE__ */ t("div", { ref: g, style: { width: "100%" }, children: /* @__PURE__ */ t(
2791
2847
  he,
2792
2848
  {
2793
2849
  ref: h,
@@ -2804,39 +2860,39 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2804
2860
  // arrows: false,
2805
2861
  // drag: true,
2806
2862
  },
2807
- renderItem: (v, E) => /* @__PURE__ */ t(z, { sx: { width: "100%" }, children: I(v, !l, E) }),
2808
- onMove: ({ index: v, isStart: E, isEnd: q, source: M }) => {
2809
- g(v), typeof E == "boolean" && typeof q == "boolean" && x({ isStart: E, isEnd: q }), M === "user" && L(v);
2863
+ renderItem: (_, O) => /* @__PURE__ */ t(z, { sx: { width: "100%" }, children: I(_, !l, O) }),
2864
+ onMove: ({ index: _, isStart: O, isEnd: q, source: M }) => {
2865
+ f(_), typeof O == "boolean" && typeof q == "boolean" && x({ isStart: O, isEnd: q }), M === "user" && F(_);
2810
2866
  }
2811
2867
  }
2812
2868
  ) }),
2813
2869
  d && /* @__PURE__ */ t(z, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2814
- dt,
2870
+ ut,
2815
2871
  {
2816
2872
  total: n.length,
2817
2873
  active: c,
2818
- onSelect: (v) => {
2819
- var E;
2874
+ onSelect: (_) => {
2875
+ var O;
2820
2876
  i({
2821
2877
  element: "welcome_banner_dots",
2822
- label: `Landing: ${s} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${v + 1}`,
2878
+ label: `Landing: ${s} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${_ + 1}`,
2823
2879
  target: "no_url",
2824
2880
  event_type: "click",
2825
2881
  module_id: 301,
2826
2882
  metadata: {
2827
2883
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2828
- dot_index: v + 1,
2884
+ dot_index: _ + 1,
2829
2885
  total_dots: n.length
2830
2886
  },
2831
2887
  tags: {
2832
2888
  navigation_type: "dot_click"
2833
2889
  }
2834
- }), g(v), (E = h.current) == null || E.go(v);
2890
+ }), f(_), (O = h.current) == null || O.go(_);
2835
2891
  }
2836
2892
  }
2837
2893
  ) })
2838
2894
  ] });
2839
- }, xn = ({
2895
+ }, wn = ({
2840
2896
  className: e = "",
2841
2897
  fullBleed: a = !0,
2842
2898
  items: n,
@@ -2844,22 +2900,22 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2844
2900
  ariaLabel: i,
2845
2901
  user: s = null
2846
2902
  }) => {
2847
- const l = U(null), d = U(null), h = oe(), f = re(), m = le();
2903
+ const l = U(null), d = U(null), h = oe(), g = re(), m = le();
2848
2904
  if (!n) return null;
2849
2905
  const u = async () => {
2850
2906
  let x = s;
2851
2907
  if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
2852
2908
  try {
2853
- const T = localStorage.getItem("user");
2854
- T && (x = JSON.parse(T));
2855
- } catch (T) {
2856
- console.error("[getMarketPlaceUrl] Error parsing localStorage user", T);
2909
+ const k = localStorage.getItem("user");
2910
+ k && (x = JSON.parse(k));
2911
+ } catch (k) {
2912
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", k);
2857
2913
  }
2858
2914
  if (!(x != null && x.user) || !(x != null && x.session))
2859
2915
  return console.warn("User data missing"), null;
2860
2916
  h({
2861
2917
  element: "club_olimpo_button",
2862
- label: `${f} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2918
+ label: `${g} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2863
2919
  target: "https://www.clubolimpo.com/OlimpoBetWeb/",
2864
2920
  event_type: "click",
2865
2921
  module_id: m,
@@ -2869,40 +2925,40 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2869
2925
  tags: { section: "OraculoSeccionClubOlimpo" }
2870
2926
  });
2871
2927
  try {
2872
- const T = {
2928
+ const k = {
2873
2929
  idUsuario: "PE" + x.user,
2874
2930
  session_id: x.session,
2875
2931
  pagina: "home"
2876
- }, O = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2932
+ }, E = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2877
2933
  method: "POST",
2878
2934
  headers: {
2879
2935
  "Content-Type": "application/json"
2880
2936
  },
2881
- body: JSON.stringify(T)
2937
+ body: JSON.stringify(k)
2882
2938
  });
2883
- if (O.ok) {
2884
- const w = await O.json();
2885
- return w == null ? void 0 : w.url;
2939
+ if (E.ok) {
2940
+ const b = await E.json();
2941
+ return b == null ? void 0 : b.url;
2886
2942
  }
2887
2943
  return null;
2888
- } catch (T) {
2889
- return console.error("[getMarketPlaceUrl]", T), null;
2944
+ } catch (k) {
2945
+ return console.error("[getMarketPlaceUrl]", k), null;
2890
2946
  }
2891
2947
  }, c = async () => {
2892
2948
  const x = await u();
2893
2949
  x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2894
- }, g = Array.isArray(n) ? n[r] : n;
2895
- Mt(() => {
2950
+ }, f = Array.isArray(n) ? n[r] : n;
2951
+ Bt(() => {
2896
2952
  if (!l.current || !d.current || typeof ResizeObserver == "undefined") return;
2897
- const x = l.current, T = d.current, y = () => {
2953
+ const x = l.current, k = d.current, T = () => {
2898
2954
  x.style.setProperty(
2899
2955
  "--orc-co-bottomH",
2900
- `${T.offsetHeight + 16}px`
2956
+ `${k.offsetHeight + 16}px`
2901
2957
  );
2902
- }, O = new ResizeObserver(y);
2903
- return O.observe(T), y(), () => O.disconnect();
2958
+ }, E = new ResizeObserver(T);
2959
+ return E.observe(k), T(), () => E.disconnect();
2904
2960
  }, []);
2905
- const b = [
2961
+ const v = [
2906
2962
  "orc-co-wrap",
2907
2963
  a ? "orc-co-fullBleed" : "",
2908
2964
  e
@@ -2911,54 +2967,54 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2911
2967
  "section",
2912
2968
  {
2913
2969
  ref: l,
2914
- className: b,
2915
- "aria-label": i || g.imgAlt || "Club Olimpo",
2970
+ className: v,
2971
+ "aria-label": i || f.imgAlt || "Club Olimpo",
2916
2972
  children: /* @__PURE__ */ t("div", { ref: d, children: /* @__PURE__ */ t(
2917
- wa,
2973
+ Ia,
2918
2974
  {
2919
- text: g.text,
2975
+ text: f.text,
2920
2976
  onClick: c,
2921
- imgAlt: g.imgAlt,
2922
- buttonLabel: g.buttonLabel,
2923
- imgSrcMobile: g.imgMobile,
2924
- imgSrcDesktopBg: g.imgDesktopBg,
2925
- imgSrcDesktopLogo: g.imgDesktopLogo
2977
+ imgAlt: f.imgAlt,
2978
+ buttonLabel: f.buttonLabel,
2979
+ imgSrcMobile: f.imgMobile,
2980
+ imgSrcDesktopBg: f.imgDesktopBg,
2981
+ imgSrcDesktopLogo: f.imgDesktopLogo
2926
2982
  }
2927
2983
  ) })
2928
2984
  }
2929
2985
  );
2930
- }, Sn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", wn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
2931
- controls: Sn,
2932
- padding: wn
2933
- }, In = (e) => {
2986
+ }, In = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", On = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", nt = {
2987
+ controls: In,
2988
+ padding: On
2989
+ }, En = (e) => {
2934
2990
  var a, n;
2935
2991
  return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((r) => {
2936
2992
  var i, s;
2937
2993
  return (s = (i = r.outcomes) == null ? void 0 : i.map((l) => l.id)) != null ? s : [];
2938
2994
  }) : [];
2939
2995
  };
2940
- function On(e, a, n) {
2996
+ function Cn(e, a, n) {
2941
2997
  return n ? n.map((r) => {
2942
2998
  var m, u;
2943
- const i = r.prePackCouponRows.flatMap((c) => In(c).map((g) => ({ eventId: c.eventId, outcomeId: g }))), s = new Set(i.map((c) => c.eventId)), l = new Set(i.map((c) => c.outcomeId)), d = new Map(i.map((c, g) => [c.outcomeId, g])), h = {};
2999
+ const i = r.prePackCouponRows.flatMap((c) => En(c).map((f) => ({ eventId: c.eventId, outcomeId: f }))), s = new Set(i.map((c) => c.eventId)), l = new Set(i.map((c) => c.outcomeId)), d = new Map(i.map((c, f) => [c.outcomeId, f])), h = {};
2944
3000
  for (const c of a) {
2945
3001
  if (!s.has(c.eventId)) continue;
2946
- const g = c.outcomes.filter((b) => l.has(b.id)).map((b) => ({ ...b, position: d.get(b.id) }));
2947
- g.length && ((u = h[m = c.eventId]) != null || (h[m] = []), h[c.eventId].push({ ...c, outcomes: g }));
3002
+ const f = c.outcomes.filter((v) => l.has(v.id)).map((v) => ({ ...v, position: d.get(v.id) }));
3003
+ f.length && ((u = h[m = c.eventId]) != null || (h[m] = []), h[c.eventId].push({ ...c, outcomes: f }));
2948
3004
  }
2949
- const f = e.filter((c) => s.has(c.id)).map((c) => {
2950
- var g;
2951
- return { ...c, betoffers: (g = h[c.id]) != null ? g : [] };
3005
+ const g = e.filter((c) => s.has(c.id)).map((c) => {
3006
+ var f;
3007
+ return { ...c, betoffers: (f = h[c.id]) != null ? f : [] };
2952
3008
  });
2953
3009
  return {
2954
3010
  couponId: r.id,
2955
3011
  status: r.status,
2956
- combinadoTotal: En(r.prePackCouponRows),
2957
- events: f
3012
+ combinadoTotal: kn(r.prePackCouponRows),
3013
+ events: g
2958
3014
  };
2959
3015
  }) : [];
2960
3016
  }
2961
- function En(e) {
3017
+ function kn(e) {
2962
3018
  if (!Array.isArray(e) || e.length === 0) return 0;
2963
3019
  let a = 1;
2964
3020
  for (const n of e) {
@@ -2967,16 +3023,16 @@ function En(e) {
2967
3023
  }
2968
3024
  return Math.floor(a * 100) / 100;
2969
3025
  }
2970
- const Cn = fe.memo(La);
2971
- function Tn({
3026
+ const Tn = fe.memo(Fa);
3027
+ function $n({
2972
3028
  items: e,
2973
3029
  title: a = "Combinadas del Olimpo",
2974
3030
  iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",
2975
3031
  onViewMore: r,
2976
3032
  className: i = ""
2977
3033
  }) {
2978
- const s = oe(), l = re(), d = le(), h = U(null), [f, m] = Z({ isStart: !0, isEnd: !1 }), [u, c] = Z([]), g = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", b = () => {
2979
- var k;
3034
+ const s = oe(), l = re(), d = le(), h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), [u, c] = Z([]), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", v = () => {
3035
+ var w;
2980
3036
  s({
2981
3037
  element: "evento_combinadas_prev",
2982
3038
  label: `${l} - OraculoSeccionEventoCombinadas - Click: Anterior`,
@@ -2986,9 +3042,9 @@ function Tn({
2986
3042
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2987
3043
  },
2988
3044
  tags: { section: "OraculoSeccionEventoCombinadas" }
2989
- }), (k = h.current) == null || k.prev();
3045
+ }), (w = h.current) == null || w.prev();
2990
3046
  }, x = () => {
2991
- var k;
3047
+ var w;
2992
3048
  s({
2993
3049
  element: "evento_combinadas_next",
2994
3050
  label: `${l} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
@@ -2998,8 +3054,8 @@ function Tn({
2998
3054
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2999
3055
  },
3000
3056
  tags: { section: "OraculoSeccionEventoCombinadas" }
3001
- }), (k = h.current) == null || k.next();
3002
- }, T = () => {
3057
+ }), (w = h.current) == null || w.next();
3058
+ }, k = () => {
3003
3059
  s({
3004
3060
  element: "evento_combinadas_ver_mas",
3005
3061
  label: `${l} - OraculoSeccionEventoCombinadas - Click: Ver más`,
@@ -3009,45 +3065,45 @@ function Tn({
3009
3065
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3010
3066
  },
3011
3067
  tags: { section: "OraculoSeccionEventoCombinadas" }
3012
- }), Ra();
3013
- }, y = ie(() => u.filter((k) => k.combinadoTotal !== null), [u]);
3014
- async function O() {
3015
- var k, S, F, L;
3068
+ }), La();
3069
+ }, T = ie(() => u.filter((w) => w.combinadoTotal !== null), [u]);
3070
+ async function E() {
3071
+ var w, S, L, F;
3016
3072
  try {
3017
- const v = await (await fetch(g)).json(), E = (L = (F = (S = (k = v == null ? void 0 : v.group) == null ? void 0 : k.groups) == null ? void 0 : S.map((P) => P.id)) == null ? void 0 : F.filter(Boolean)) == null ? void 0 : L.join(",");
3018
- if (!E) {
3073
+ const _ = await (await fetch(f)).json(), O = (F = (L = (S = (w = _ == null ? void 0 : _.group) == null ? void 0 : w.groups) == null ? void 0 : S.map((P) => P.id)) == null ? void 0 : L.filter(Boolean)) == null ? void 0 : F.join(",");
3074
+ if (!O) {
3019
3075
  console.error("Could not extract group ID");
3020
3076
  return;
3021
3077
  }
3022
- const q = `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`, B = await (await fetch(q)).json();
3023
- c(On(B.events, B.betOffers, B.prePackCoupons));
3078
+ const q = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, B = await (await fetch(q)).json();
3079
+ c(Cn(B.events, B.betOffers, B.prePackCoupons));
3024
3080
  } catch (I) {
3025
3081
  console.error("loadDataEventSpecial error:", I);
3026
3082
  }
3027
3083
  }
3028
3084
  Q(() => {
3029
- O();
3085
+ E();
3030
3086
  }, []);
3031
- const w = i || void 0, R = xe("(max-width:950px)");
3032
- return y.length === 0 ? null : /* @__PURE__ */ t("section", { className: w, style: {
3087
+ const b = i || void 0, A = xe("(max-width:950px)");
3088
+ return T.length === 0 ? null : /* @__PURE__ */ t("section", { className: b, style: {
3033
3089
  // paddingLeft: 16,
3034
3090
  // paddingRight: 16,
3035
3091
  width: "100%",
3036
3092
  boxSizing: "border-box"
3037
- }, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3038
- /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3093
+ }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3094
+ /* @__PURE__ */ t("div", { className: nt.padding, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3039
3095
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3040
- /* @__PURE__ */ _("div", { className: at.controls, children: [
3041
- /* @__PURE__ */ _(me, { spacing: 1, columns: "auto auto", children: [
3096
+ /* @__PURE__ */ y("div", { className: nt.controls, children: [
3097
+ /* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
3042
3098
  /* @__PURE__ */ t(
3043
3099
  J,
3044
3100
  {
3045
3101
  ariaLabel: "Anterior",
3046
3102
  variant: "secondary",
3047
3103
  iconOnly: !0,
3048
- leftIcon: /* @__PURE__ */ t(Ae, {}),
3049
- onClick: b,
3050
- disabled: f.isStart
3104
+ leftIcon: /* @__PURE__ */ t(Re, {}),
3105
+ onClick: v,
3106
+ disabled: g.isStart
3051
3107
  }
3052
3108
  ),
3053
3109
  /* @__PURE__ */ t(
@@ -3056,140 +3112,140 @@ function Tn({
3056
3112
  ariaLabel: "Siguiente",
3057
3113
  variant: "secondary",
3058
3114
  iconOnly: !0,
3059
- rightIcon: /* @__PURE__ */ t(Re, {}),
3115
+ rightIcon: /* @__PURE__ */ t(Le, {}),
3060
3116
  onClick: x,
3061
- disabled: f.isEnd
3117
+ disabled: g.isEnd
3062
3118
  }
3063
3119
  )
3064
3120
  ] }),
3065
- /* @__PURE__ */ t(J, { variant: "secondary", onClick: T, children: "Ver más" })
3121
+ /* @__PURE__ */ t(J, { variant: "secondary", onClick: k, children: "Ver más" })
3066
3122
  ] })
3067
3123
  ] }) }),
3068
3124
  /* @__PURE__ */ t(
3069
3125
  he,
3070
3126
  {
3071
3127
  ref: h,
3072
- items: y,
3128
+ items: T,
3073
3129
  perPage: void 0,
3074
3130
  gap: "16px",
3075
3131
  options: { autoWidth: !0, trimSpace: "move" },
3076
3132
  useIndexAsKey: !0,
3077
3133
  enableHorizontalWheel: !0,
3078
- showRightGradient: !R,
3134
+ showRightGradient: !A,
3079
3135
  breakpoints: {
3080
3136
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3081
3137
  },
3082
- renderItem: (k) => /* @__PURE__ */ t(Cn, { coupon: k }),
3083
- onMove: ({ isStart: k, isEnd: S }) => m({ isStart: k, isEnd: S })
3138
+ renderItem: (w) => /* @__PURE__ */ t(Tn, { coupon: w }),
3139
+ onMove: ({ isStart: w, isEnd: S }) => m({ isStart: w, isEnd: S })
3084
3140
  }
3085
3141
  )
3086
3142
  ] }) });
3087
3143
  }
3088
- function kn({}) {
3144
+ function Nn({}) {
3089
3145
  return /* @__PURE__ */ t(
3090
3146
  "div",
3091
3147
  {
3092
- className: ke.cardWrapper,
3093
- children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1, children: [
3094
- /* @__PURE__ */ _(H, { spacing: 1, direction: "row", children: [
3095
- /* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
3096
- /* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
3148
+ className: $e.cardWrapper,
3149
+ children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1, children: [
3150
+ /* @__PURE__ */ y(H, { spacing: 1, direction: "row", children: [
3151
+ /* @__PURE__ */ t(W, { variant: "text", width: "60%", height: 24 }),
3152
+ /* @__PURE__ */ t(W, { variant: "text", width: "39%", height: 24 })
3097
3153
  ] }),
3098
- /* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3099
- /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
3100
- /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
3101
- /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
3154
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3155
+ /* @__PURE__ */ t(W, { variant: "circular", width: 32, height: 40 }),
3156
+ /* @__PURE__ */ t(W, { variant: "text", width: 40, height: 40 }),
3157
+ /* @__PURE__ */ t(W, { variant: "circular", width: 32, height: 40 })
3102
3158
  ] }),
3103
- /* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3104
- /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
3105
- /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
3106
- /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
3159
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3160
+ /* @__PURE__ */ t(W, { variant: "text", width: 32, height: 16 }),
3161
+ /* @__PURE__ */ t(W, { variant: "text", width: 40, height: 16 }),
3162
+ /* @__PURE__ */ t(W, { variant: "text", width: 32, height: 16 })
3107
3163
  ] }),
3108
- /* @__PURE__ */ _(H, { spacing: 2, direction: "row", children: [
3109
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3110
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3111
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
3164
+ /* @__PURE__ */ y(H, { spacing: 2, direction: "row", children: [
3165
+ /* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 16 }),
3166
+ /* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 16 }),
3167
+ /* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 16 })
3112
3168
  ] }),
3113
- /* @__PURE__ */ _(H, { spacing: 2, direction: "row", children: [
3114
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3115
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3116
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
3169
+ /* @__PURE__ */ y(H, { spacing: 2, direction: "row", children: [
3170
+ /* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 32 }),
3171
+ /* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 32 }),
3172
+ /* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 32 })
3117
3173
  ] })
3118
3174
  ] })
3119
3175
  }
3120
3176
  );
3121
3177
  }
3122
- const Nn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", $n = {
3123
- fadeWrapper: Nn
3178
+ const Mn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", An = {
3179
+ fadeWrapper: Mn
3124
3180
  };
3125
3181
  function Be({ children: e }) {
3126
- return /* @__PURE__ */ t("div", { className: $n.fadeWrapper, children: e });
3182
+ return /* @__PURE__ */ t("div", { className: An.fadeWrapper, children: e });
3127
3183
  }
3128
- const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3129
- padding: Mn
3184
+ const Bn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Rn = {
3185
+ padding: Bn
3130
3186
  };
3131
- function wt({
3187
+ function It({
3132
3188
  events: e,
3133
3189
  visibleRange: a,
3134
3190
  fetchJerseys: n,
3135
3191
  buffer: r = 2,
3136
3192
  debounceMs: i = 250
3137
3193
  }) {
3138
- const [s, l] = Z({}), d = U(/* @__PURE__ */ new Set()), h = U(0), f = U(null), m = U(null);
3194
+ const [s, l] = Z({}), d = U(/* @__PURE__ */ new Set()), h = U(0), g = U(null), m = U(null);
3139
3195
  return Q(() => {
3140
3196
  if (!(!e || e.length === 0))
3141
- return f.current && clearTimeout(f.current), f.current = setTimeout(() => {
3142
- var R, k;
3143
- const u = (R = a.start) != null ? R : 0, c = (k = a.end) != null ? k : 7, g = Math.max(0, u - r), b = Math.min(e.length - 1, c + r);
3144
- let x = g, T = b;
3145
- const y = m.current;
3146
- y && (g > y.end && (x = y.end + 1), b < y.start && (T = y.start - 1)), m.current = { start: g, end: b };
3147
- const O = e.slice(x, T + 1).map((S) => S == null ? void 0 : S.id).filter((S) => !!S).filter((S) => !d.current.has(S)).filter((S) => !(S in s));
3148
- if (O.length === 0) return;
3149
- O.forEach((S) => d.current.add(S));
3150
- const w = ++h.current;
3197
+ return g.current && clearTimeout(g.current), g.current = setTimeout(() => {
3198
+ var A, w;
3199
+ const u = (A = a.start) != null ? A : 0, c = (w = a.end) != null ? w : 7, f = Math.max(0, u - r), v = Math.min(e.length - 1, c + r);
3200
+ let x = f, k = v;
3201
+ const T = m.current;
3202
+ T && (f > T.end && (x = T.end + 1), v < T.start && (k = T.start - 1)), m.current = { start: f, end: v };
3203
+ const E = e.slice(x, k + 1).map((S) => S == null ? void 0 : S.id).filter((S) => !!S).filter((S) => !d.current.has(S)).filter((S) => !(S in s));
3204
+ if (E.length === 0) return;
3205
+ E.forEach((S) => d.current.add(S));
3206
+ const b = ++h.current;
3151
3207
  (async () => {
3152
3208
  try {
3153
- const S = await n(O);
3154
- if (w !== h.current) {
3155
- O.forEach((L) => d.current.delete(L));
3209
+ const S = await n(E);
3210
+ if (b !== h.current) {
3211
+ E.forEach((F) => d.current.delete(F));
3156
3212
  return;
3157
3213
  }
3158
3214
  if (!(S != null && S.events)) {
3159
- O.forEach(
3160
- (L) => d.current.delete(L)
3215
+ E.forEach(
3216
+ (F) => d.current.delete(F)
3161
3217
  );
3162
3218
  return;
3163
3219
  }
3164
- l((L) => {
3165
- const I = { ...L };
3166
- for (const [v, E] of Object.entries(S.events)) {
3167
- const q = Number(v);
3168
- I[q] || (I[q] = E);
3220
+ l((F) => {
3221
+ const I = { ...F };
3222
+ for (const [_, O] of Object.entries(S.events)) {
3223
+ const q = Number(_);
3224
+ I[q] || (I[q] = O);
3169
3225
  }
3170
3226
  return I;
3171
3227
  });
3172
- const F = new Set(
3228
+ const L = new Set(
3173
3229
  Object.keys(S.events).map(Number)
3174
3230
  );
3175
- O.forEach((L) => {
3176
- d.current.delete(L);
3231
+ E.forEach((F) => {
3232
+ d.current.delete(F);
3177
3233
  });
3178
3234
  } catch (S) {
3179
- O.forEach(
3180
- (F) => d.current.delete(F)
3235
+ E.forEach(
3236
+ (L) => d.current.delete(L)
3181
3237
  ), console.error("Jersey fetch error", S);
3182
3238
  }
3183
3239
  })();
3184
3240
  }, i), () => {
3185
- f.current && clearTimeout(f.current);
3241
+ g.current && clearTimeout(g.current);
3186
3242
  };
3187
3243
  }, [e, a, r, i, n]), {
3188
3244
  jerseys: s,
3189
3245
  isPending: d.current
3190
3246
  };
3191
3247
  }
3192
- const An = (e) => {
3248
+ const Ln = (e) => {
3193
3249
  const a = ["esports", "cyber"];
3194
3250
  return e.filter((n) => {
3195
3251
  var s, l;
@@ -3198,113 +3254,113 @@ const An = (e) => {
3198
3254
  const i = typeof ((l = n == null ? void 0 : n.event) == null ? void 0 : l.group) == "string" ? n.event.group.toLowerCase() : "";
3199
3255
  return !a.some((d) => i.includes(d));
3200
3256
  });
3201
- }, Rn = fe.memo(Da);
3202
- function Ln({
3257
+ }, Fn = fe.memo(Ua);
3258
+ function qn({
3203
3259
  items: e,
3204
3260
  title: a = "En vivo",
3205
3261
  iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
3206
3262
  onViewMore: r,
3207
3263
  className: i = ""
3208
3264
  }) {
3209
- const s = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", l = U(null), [d, h] = Z({ isStart: !0, isEnd: !1 }), [f, m] = Z(null), [u, c] = Z({ start: null, end: null }), [g, b] = Z(null), x = U(!1), T = oe(), y = re(), O = le(), w = U(/* @__PURE__ */ new Map()), R = () => {
3265
+ const s = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", l = U(null), [d, h] = Z({ isStart: !0, isEnd: !1 }), [g, m] = Z(null), [u, c] = Z({ start: null, end: null }), [f, v] = Z(null), x = U(!1), k = oe(), T = re(), E = le(), b = U(/* @__PURE__ */ new Map()), A = () => {
3210
3266
  var M;
3211
- T({
3267
+ k({
3212
3268
  element: "evento_en_vivo_prev",
3213
- label: `${y} - OraculoSeccionEventoEnVivo - Anterior`,
3269
+ label: `${T} - OraculoSeccionEventoEnVivo - Anterior`,
3214
3270
  target: "prev",
3215
3271
  event_type: "click",
3216
- module_id: O,
3272
+ module_id: E,
3217
3273
  metadata: {
3218
3274
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3219
3275
  },
3220
3276
  tags: { section: "OraculoSeccionEventoEnVivo" }
3221
3277
  }), (M = l.current) == null || M.prev();
3222
- }, k = () => {
3278
+ }, w = () => {
3223
3279
  var M;
3224
- T({
3280
+ k({
3225
3281
  element: "evento_en_vivo_next",
3226
- label: `${y} - OraculoSeccionEventoEnVivo - Siguiente`,
3282
+ label: `${T} - OraculoSeccionEventoEnVivo - Siguiente`,
3227
3283
  target: "next",
3228
3284
  event_type: "click",
3229
- module_id: O,
3285
+ module_id: E,
3230
3286
  metadata: {
3231
3287
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3232
3288
  },
3233
3289
  tags: { section: "OraculoSeccionEventoEnVivo" }
3234
3290
  }), (M = l.current) == null || M.next();
3235
3291
  }, S = () => {
3236
- T({
3292
+ k({
3237
3293
  element: "evento_en_vivo_view_more",
3238
- label: `${y} - OraculoSeccionEventoEnVivo - Ver más`,
3294
+ label: `${T} - OraculoSeccionEventoEnVivo - Ver más`,
3239
3295
  target: "ver_mas",
3240
3296
  event_type: "click",
3241
- module_id: O,
3297
+ module_id: E,
3242
3298
  metadata: {
3243
3299
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3244
3300
  },
3245
3301
  tags: { section: "OraculoSeccionEventoEnVivo" }
3246
3302
  }), Ba();
3247
- }, F = Ce(async () => {
3303
+ }, L = ke(async () => {
3248
3304
  var M;
3249
3305
  try {
3250
3306
  if (!x.current) {
3251
3307
  x.current = !0;
3252
3308
  try {
3253
- const K = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), G = ((M = K == null ? void 0 : K.data) == null ? void 0 : M.event_ids) || [], X = /* @__PURE__ */ new Map();
3254
- G.forEach((te, o) => X.set(String(te), o)), w.current = X;
3255
- } catch (W) {
3256
- console.error("Order fetch failed, using default sorting", W);
3309
+ const K = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), j = ((M = K == null ? void 0 : K.data) == null ? void 0 : M.event_ids) || [], X = /* @__PURE__ */ new Map();
3310
+ j.forEach((te, o) => X.set(String(te), o)), b.current = X;
3311
+ } catch (G) {
3312
+ console.error("Order fetch failed, using default sorting", G);
3257
3313
  }
3258
3314
  }
3259
3315
  const B = await fetch(s);
3260
3316
  if (!B.ok) throw new Error("Failed to fetch live events");
3261
- const P = await B.json(), V = An(P.events);
3262
- if (w.current.size === 0)
3317
+ const P = await B.json(), V = Ln(P.events);
3318
+ if (b.current.size === 0)
3263
3319
  m(V);
3264
3320
  else {
3265
- const W = [...V].sort((K, G) => {
3266
- const X = w.current.get(String(K.event.id)), te = w.current.get(String(G.event.id));
3321
+ const G = [...V].sort((K, j) => {
3322
+ const X = b.current.get(String(K.event.id)), te = b.current.get(String(j.event.id));
3267
3323
  return (X !== void 0 ? X : 1 / 0) - (te !== void 0 ? te : 1 / 0);
3268
3324
  });
3269
- m(W);
3325
+ m(G);
3270
3326
  }
3271
3327
  } catch (B) {
3272
3328
  console.error("LoadData Error:", B);
3273
3329
  }
3274
3330
  }, []);
3275
3331
  Q(() => {
3276
- F();
3277
- const M = setInterval(F, 2e4);
3332
+ L();
3333
+ const M = setInterval(L, 2e4);
3278
3334
  return () => clearInterval(M);
3279
- }, [F]);
3280
- const { jerseys: L } = wt({
3281
- events: (f == null ? void 0 : f.map((M) => M.event)) || [],
3335
+ }, [L]);
3336
+ const { jerseys: F } = It({
3337
+ events: (g == null ? void 0 : g.map((M) => M.event)) || [],
3282
3338
  // extract actual event objects
3283
3339
  visibleRange: u,
3284
- fetchJerseys: gt,
3340
+ fetchJerseys: ht,
3285
3341
  buffer: 3,
3286
3342
  // same as your previous BUFFER
3287
3343
  debounceMs: 300
3288
3344
  // same as your previous debouncedVisibleRange
3289
- }), I = i || void 0, v = f === null, E = ie(() => v ? Array(4).fill({}) : (f == null ? void 0 : f.slice(0, 20)) || [], [v, f]), q = xe("(max-width:950px)");
3290
- return !v && f.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
3345
+ }), I = i || void 0, _ = g === null, O = ie(() => _ ? Array(4).fill({}) : (g == null ? void 0 : g.slice(0, 20)) || [], [_, g]), q = xe("(max-width:950px)");
3346
+ return !_ && g.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
3291
3347
  // paddingLeft: 16,
3292
3348
  // paddingRight: 16,
3293
3349
  width: "100%",
3294
3350
  boxSizing: "border-box"
3295
- }, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3296
- /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3351
+ }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3352
+ /* @__PURE__ */ t("div", { className: Rn.padding, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3297
3353
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3298
- /* @__PURE__ */ _("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3299
- /* @__PURE__ */ _(me, { spacing: 1, columns: "auto auto", children: [
3354
+ /* @__PURE__ */ y("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3355
+ /* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
3300
3356
  /* @__PURE__ */ t(
3301
3357
  J,
3302
3358
  {
3303
3359
  ariaLabel: "Anterior",
3304
3360
  variant: "secondary",
3305
3361
  iconOnly: !0,
3306
- leftIcon: /* @__PURE__ */ t(Ae, {}),
3307
- onClick: R,
3362
+ leftIcon: /* @__PURE__ */ t(Re, {}),
3363
+ onClick: A,
3308
3364
  disabled: d.isStart
3309
3365
  }
3310
3366
  ),
@@ -3314,8 +3370,8 @@ function Ln({
3314
3370
  ariaLabel: "Siguiente",
3315
3371
  variant: "secondary",
3316
3372
  iconOnly: !0,
3317
- rightIcon: /* @__PURE__ */ t(Re, {}),
3318
- onClick: k,
3373
+ rightIcon: /* @__PURE__ */ t(Le, {}),
3374
+ onClick: w,
3319
3375
  disabled: d.isEnd
3320
3376
  }
3321
3377
  )
@@ -3327,7 +3383,7 @@ function Ln({
3327
3383
  he,
3328
3384
  {
3329
3385
  ref: l,
3330
- items: E,
3386
+ items: O,
3331
3387
  perPage: void 0,
3332
3388
  showRightGradient: !q,
3333
3389
  enableHorizontalWheel: !0,
@@ -3340,9 +3396,9 @@ function Ln({
3340
3396
  },
3341
3397
  renderItem: (M) => {
3342
3398
  var V;
3343
- const B = ((V = M.event) == null ? void 0 : V.id) || M.eventId, P = B in L ? L[B] : void 0;
3344
- return v ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3345
- Rn,
3399
+ const B = ((V = M.event) == null ? void 0 : V.id) || M.eventId, P = B in F ? F[B] : void 0;
3400
+ return _ ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Nn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3401
+ Fn,
3346
3402
  {
3347
3403
  ...M,
3348
3404
  jersey: P
@@ -3351,48 +3407,48 @@ function Ln({
3351
3407
  },
3352
3408
  onMove: ({ isStart: M, isEnd: B, visibleStart: P, visibleEnd: V }) => {
3353
3409
  h(
3354
- (W) => W.isStart === M && W.isEnd === B ? W : { isStart: M, isEnd: B }
3410
+ (G) => G.isStart === M && G.isEnd === B ? G : { isStart: M, isEnd: B }
3355
3411
  ), c({ start: P, end: V });
3356
3412
  }
3357
3413
  }
3358
3414
  )
3359
3415
  ] }) });
3360
3416
  }
3361
- function Fn() {
3362
- return /* @__PURE__ */ _("div", { className: be.cardContainer, children: [
3363
- /* @__PURE__ */ t(mt, { title: "" }),
3364
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3365
- /* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3366
- /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
3367
- /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
3417
+ function zn() {
3418
+ return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
3419
+ /* @__PURE__ */ t(pt, { title: "" }),
3420
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3421
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3422
+ /* @__PURE__ */ t(W, { variant: "circular", width: 48, height: 48 }),
3423
+ /* @__PURE__ */ t(W, { variant: "circular", width: 48, height: 48 })
3368
3424
  ] }),
3369
- /* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3370
- /* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3371
- /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
3372
- /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
3425
+ /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3426
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3427
+ /* @__PURE__ */ t(W, { variant: "text", width: 80, height: 12 }),
3428
+ /* @__PURE__ */ t(W, { variant: "text", width: 80, height: 12 })
3373
3429
  ] }),
3374
- /* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
3375
- /* @__PURE__ */ _(H, { direction: "row", spacing: 1, children: [
3376
- /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3377
- /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3378
- /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
3430
+ /* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(W, { variant: "text", width: 160, height: 12 }) }),
3431
+ /* @__PURE__ */ y(H, { direction: "row", spacing: 1, children: [
3432
+ /* @__PURE__ */ t(W, { variant: "text", width: 80, height: 16 }),
3433
+ /* @__PURE__ */ t(W, { variant: "text", width: 80, height: 16 }),
3434
+ /* @__PURE__ */ t(W, { variant: "text", width: 80, height: 16 })
3379
3435
  ] }),
3380
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ _(H, { direction: "row", spacing: 1, children: [
3381
- /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3382
- /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3383
- /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
3436
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ y(H, { direction: "row", spacing: 1, children: [
3437
+ /* @__PURE__ */ t(W, { variant: "rounded", width: 80, height: 32 }),
3438
+ /* @__PURE__ */ t(W, { variant: "rounded", width: 80, height: 32 }),
3439
+ /* @__PURE__ */ t(W, { variant: "rounded", width: 80, height: 32 })
3384
3440
  ] }) })
3385
3441
  ] })
3386
3442
  ] }) })
3387
3443
  ] });
3388
3444
  }
3389
- const qn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", zn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Pn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
3390
- wrapper: qn,
3391
- container: zn,
3392
- buttonWrapper: Pn,
3393
- padding: Dn
3394
- }, Un = fe.memo(Za);
3395
- async function Vn(e, a = 2, n) {
3445
+ const Pn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Dn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Un = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Vn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Oe = {
3446
+ wrapper: Pn,
3447
+ container: Dn,
3448
+ buttonWrapper: Un,
3449
+ padding: Vn
3450
+ }, Wn = fe.memo(Ja);
3451
+ async function Gn(e, a = 2, n) {
3396
3452
  const r = [];
3397
3453
  for (let i = 0; i < e.length; i += a) {
3398
3454
  if (n.aborted)
@@ -3404,12 +3460,12 @@ async function Vn(e, a = 2, n) {
3404
3460
  }
3405
3461
  return r;
3406
3462
  }
3407
- function Wn(e) {
3463
+ function jn(e) {
3408
3464
  return [...e].sort(
3409
3465
  (a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
3410
3466
  );
3411
3467
  }
3412
- function Gn(e) {
3468
+ function Hn(e) {
3413
3469
  const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
3414
3470
  return e.filter((r) => {
3415
3471
  if (!r.start) return !1;
@@ -3417,7 +3473,7 @@ function Gn(e) {
3417
3473
  return i >= a && i <= n;
3418
3474
  });
3419
3475
  }
3420
- function jn(e, a) {
3476
+ function Kn(e, a) {
3421
3477
  const r = a.filter((i) => {
3422
3478
  var s;
3423
3479
  return ((s = i.betOfferType) == null ? void 0 : s.id) === 2;
@@ -3427,14 +3483,14 @@ function jn(e, a) {
3427
3483
  outcome: r[i.id]
3428
3484
  }));
3429
3485
  }
3430
- function Hn({
3486
+ function Zn({
3431
3487
  items: e,
3432
3488
  title: a = "En vivo",
3433
3489
  iconUrl: n,
3434
3490
  onViewMore: r,
3435
3491
  className: i = ""
3436
3492
  }) {
3437
- const s = oe(), l = re(), d = le(), h = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", f = U(null), [m, u] = Z({ isStart: !0, isEnd: !1 }), [c, g] = Z(null), [b, x] = Z({ start: null, end: null }), T = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", y = () => {
3493
+ const s = oe(), l = re(), d = le(), h = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", g = U(null), [m, u] = Z({ isStart: !0, isEnd: !1 }), [c, f] = Z(null), [v, x] = Z({ start: null, end: null }), k = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", T = () => {
3438
3494
  s({
3439
3495
  element: "evento_semana_view_more",
3440
3496
  label: `${l} - OraculoSeccionEventoSemana - Ver más`,
@@ -3445,11 +3501,11 @@ function Hn({
3445
3501
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3446
3502
  },
3447
3503
  tags: { section: "OraculoSeccionEventoSemana" }
3448
- }), Aa();
3504
+ }), Ra();
3449
3505
  };
3450
- async function O(I) {
3506
+ async function E(I) {
3451
3507
  var q, M;
3452
- let v = [], E = [];
3508
+ let _ = [], O = [];
3453
3509
  try {
3454
3510
  const B = await fetch(
3455
3511
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
@@ -3457,7 +3513,7 @@ function Hn({
3457
3513
  );
3458
3514
  if (B.ok) {
3459
3515
  const P = await B.json();
3460
- v = ((q = P == null ? void 0 : P.data) == null ? void 0 : q.group_ids) || [], E = ((M = P == null ? void 0 : P.data) == null ? void 0 : M.event_ids) || [];
3516
+ _ = ((q = P == null ? void 0 : P.data) == null ? void 0 : q.group_ids) || [], O = ((M = P == null ? void 0 : P.data) == null ? void 0 : M.event_ids) || [];
3461
3517
  }
3462
3518
  } catch (B) {
3463
3519
  B.name !== "AbortError" && console.warn("Order API not available, using default group order");
@@ -3471,58 +3527,58 @@ function Hn({
3471
3527
  console.error("Football groups not found");
3472
3528
  return;
3473
3529
  }
3474
- let W = [...V.groups];
3475
- if (v.length > 0) {
3530
+ let G = [...V.groups];
3531
+ if (_.length > 0) {
3476
3532
  const o = new Map(
3477
- v.map((p, C) => [p, C])
3533
+ _.map((p, C) => [p, C])
3478
3534
  );
3479
- W.sort((p, C) => {
3480
- const N = o.get(String(p.id)), $ = o.get(String(C.id));
3481
- return N !== void 0 && $ !== void 0 ? N - $ : N !== void 0 ? -1 : $ !== void 0 ? 1 : 0;
3535
+ G.sort((p, C) => {
3536
+ const $ = o.get(String(p.id)), N = o.get(String(C.id));
3537
+ return $ !== void 0 && N !== void 0 ? $ - N : $ !== void 0 ? -1 : N !== void 0 ? 1 : 0;
3482
3538
  });
3483
3539
  }
3484
- const G = W.slice(0, 5), X = (o) => {
3540
+ const j = G.slice(0, 5), X = (o) => {
3485
3541
  const p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3486
3542
  if (o.groups && o.groups.length > 0) {
3487
3543
  const C = o.groups[0];
3488
3544
  return [
3489
- `${p}/${o.termKey}/${C.termKey}/all/matches.json?${T}`
3545
+ `${p}/${o.termKey}/${C.termKey}/all/matches.json?${k}`
3490
3546
  ];
3491
3547
  }
3492
3548
  return [
3493
- `${p}/${o.termKey}/all/all/matches.json?${T}`
3549
+ `${p}/${o.termKey}/all/all/matches.json?${k}`
3494
3550
  ];
3495
- }, te = G.flatMap(X);
3496
- w(te, E, I);
3551
+ }, te = j.flatMap(X);
3552
+ b(te, O, I);
3497
3553
  } catch (B) {
3498
3554
  console.error(B);
3499
3555
  }
3500
3556
  }
3501
- async function w(I, v, E) {
3557
+ async function b(I, _, O) {
3502
3558
  try {
3503
- const q = await Vn(I, 2, E);
3559
+ const q = await Gn(I, 2, O);
3504
3560
  let M = [], B = [];
3505
3561
  q.forEach((K) => {
3506
- K.events && (M.push(...K.events.map((G) => G.event)), B.push(
3507
- ...K.events.flatMap((G) => G.betOffers || [])
3562
+ K.events && (M.push(...K.events.map((j) => j.event)), B.push(
3563
+ ...K.events.flatMap((j) => j.betOffers || [])
3508
3564
  ));
3509
3565
  });
3510
- const P = jn(M, B), V = Wn(Gn(P));
3511
- let W = V;
3512
- if (v.length > 0) {
3566
+ const P = Kn(M, B), V = jn(Hn(P));
3567
+ let G = V;
3568
+ if (_.length > 0) {
3513
3569
  const K = new Map(
3514
- v.map((G, X) => [
3515
- String(G),
3570
+ _.map((j, X) => [
3571
+ String(j),
3516
3572
  X
3517
3573
  ])
3518
3574
  );
3519
- W = [...V].sort((G, X) => {
3520
- const te = K.get(String(G.id)), o = K.get(String(X.id));
3575
+ G = [...V].sort((j, X) => {
3576
+ const te = K.get(String(j.id)), o = K.get(String(X.id));
3521
3577
  return te !== void 0 && o !== void 0 ? te - o : te !== void 0 ? -1 : o !== void 0 ? 1 : 0;
3522
3578
  });
3523
3579
  }
3524
- if (E.aborted) return;
3525
- g(W);
3580
+ if (O.aborted) return;
3581
+ f(G);
3526
3582
  } catch (q) {
3527
3583
  console.error("Error loading events:", q);
3528
3584
  }
@@ -3530,32 +3586,32 @@ function Hn({
3530
3586
  Q(() => {
3531
3587
  if (!e) return;
3532
3588
  const I = new AbortController();
3533
- return O(I.signal), () => {
3589
+ return E(I.signal), () => {
3534
3590
  I.abort();
3535
3591
  };
3536
3592
  }, [e]);
3537
- const R = i || void 0, k = {
3593
+ const A = i || void 0, w = {
3538
3594
  paddingLeft: 0,
3539
3595
  width: "100%",
3540
3596
  boxSizing: "border-box"
3541
- }, { jerseys: S } = wt({
3597
+ }, { jerseys: S } = It({
3542
3598
  events: c,
3543
- visibleRange: b,
3544
- fetchJerseys: gt,
3599
+ visibleRange: v,
3600
+ fetchJerseys: ht,
3545
3601
  buffer: 2,
3546
3602
  debounceMs: 250
3547
- }), F = c === null, L = xe("(max-width:950px)");
3548
- return !F && c.length === 0 ? null : /* @__PURE__ */ t("section", { className: R, style: k, children: /* @__PURE__ */ _("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3549
- /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3603
+ }), L = c === null, F = xe("(max-width:950px)");
3604
+ return !L && c.length === 0 ? null : /* @__PURE__ */ t("section", { className: A, style: w, children: /* @__PURE__ */ y("div", { className: `${Oe.wrapper} ${Oe.padding}`, children: [
3605
+ /* @__PURE__ */ t("div", { className: Oe.container, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3550
3606
  /* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
3551
- /* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
3607
+ /* @__PURE__ */ t("div", { className: Oe.buttonWrapper, children: /* @__PURE__ */ t(
3552
3608
  J,
3553
3609
  {
3554
3610
  variant: "secondary",
3555
3611
  size: "lg",
3556
3612
  fullWidth: !0,
3557
3613
  onClick: () => {
3558
- y();
3614
+ T();
3559
3615
  },
3560
3616
  children: "Ver más"
3561
3617
  }
@@ -3564,12 +3620,12 @@ function Hn({
3564
3620
  /* @__PURE__ */ t("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ t(
3565
3621
  he,
3566
3622
  {
3567
- ref: f,
3568
- items: F ? Array(6).fill({}) : c.slice(0, 20),
3623
+ ref: g,
3624
+ items: L ? Array(6).fill({}) : c.slice(0, 20),
3569
3625
  perPage: 3.5,
3570
3626
  gap: "16px",
3571
3627
  enableHorizontalWheel: !0,
3572
- showRightGradient: !L,
3628
+ showRightGradient: !F,
3573
3629
  options: { autoWidth: !0, trimSpace: !0 },
3574
3630
  breakpoints: {
3575
3631
  1024: {
@@ -3580,12 +3636,12 @@ function Hn({
3580
3636
  }
3581
3637
  },
3582
3638
  renderItem: (I) => {
3583
- const v = I.id, E = v in S ? S[v] : void 0;
3584
- return F ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Fn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: I, jersey: E }) });
3639
+ const _ = I.id, O = _ in S ? S[_] : void 0;
3640
+ return L ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(zn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Wn, { event: I, jersey: O }) });
3585
3641
  },
3586
- onMove: ({ isStart: I, isEnd: v, visibleStart: E, visibleEnd: q, source: M }) => {
3587
- u({ isStart: I, isEnd: v }), x({
3588
- start: E,
3642
+ onMove: ({ isStart: I, isEnd: _, visibleStart: O, visibleEnd: q, source: M }) => {
3643
+ u({ isStart: I, isEnd: _ }), x({
3644
+ start: O,
3589
3645
  end: q
3590
3646
  }), M === "user" && s({
3591
3647
  element: "evento_semana_carousel_slide",
@@ -3595,10 +3651,10 @@ function Hn({
3595
3651
  module_id: d,
3596
3652
  metadata: {
3597
3653
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3598
- visibleStart: E,
3654
+ visibleStart: O,
3599
3655
  visibleEnd: q,
3600
3656
  isStart: I,
3601
- isEnd: v
3657
+ isEnd: _
3602
3658
  },
3603
3659
  tags: { section: "OraculoSeccionEventoSemana" }
3604
3660
  });
@@ -3607,9 +3663,9 @@ function Hn({
3607
3663
  ) })
3608
3664
  ] }) });
3609
3665
  }
3610
- const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3666
+ const Jn = -300, Xn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ot = (e) => {
3611
3667
  if (!e) return null;
3612
- if (Zn(e)) {
3668
+ if (Xn(e)) {
3613
3669
  const h = new Date(e).getTime();
3614
3670
  return Number.isNaN(h) ? null : h;
3615
3671
  }
@@ -3622,37 +3678,37 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3622
3678
  Number(n),
3623
3679
  Number(r) - 1,
3624
3680
  Number(i),
3625
- Number(s) - Kn / 60,
3681
+ Number(s) - Jn / 60,
3626
3682
  Number(l),
3627
3683
  Number(d)
3628
3684
  );
3629
- }, Jn = (e, a) => {
3630
- var d, h, f, m, u, c, g, b, x;
3631
- const n = (f = (h = (d = e == null ? void 0 : e.fields) != null ? d : e == null ? void 0 : e.parameters) != null ? h : e == null ? void 0 : e.extraFields) != null ? f : [], r = (c = (u = e == null ? void 0 : e.startAt) != null ? u : (m = n.find((T) => (T == null ? void 0 : T.name) === "startAt")) == null ? void 0 : m.value) != null ? c : null, i = (x = (b = e == null ? void 0 : e.endAt) != null ? b : (g = n.find((T) => (T == null ? void 0 : T.name) === "endAt")) == null ? void 0 : g.value) != null ? x : null, s = nt(r), l = nt(i);
3685
+ }, Yn = (e, a) => {
3686
+ var d, h, g, m, u, c, f, v, x;
3687
+ const n = (g = (h = (d = e == null ? void 0 : e.fields) != null ? d : e == null ? void 0 : e.parameters) != null ? h : e == null ? void 0 : e.extraFields) != null ? g : [], r = (c = (u = e == null ? void 0 : e.startAt) != null ? u : (m = n.find((k) => (k == null ? void 0 : k.name) === "startAt")) == null ? void 0 : m.value) != null ? c : null, i = (x = (v = e == null ? void 0 : e.endAt) != null ? v : (f = n.find((k) => (k == null ? void 0 : k.name) === "endAt")) == null ? void 0 : f.value) != null ? x : null, s = ot(r), l = ot(i);
3632
3688
  return !(s != null && a < s || l != null && a >= l);
3633
3689
  };
3634
- function Xn({
3690
+ function Qn({
3635
3691
  backgrounds: e,
3636
3692
  items: a,
3637
3693
  hideItems: n,
3638
3694
  user: r = null
3639
3695
  }) {
3640
3696
  var te;
3641
- const [i, s] = Z(0), l = oe(), d = re(), h = le(), f = U(null), m = U(!1), u = U(!1), [c, g] = Z(() => Date.now()), b = se("setDepositActionGlobal"), x = se("setAbrirLiveActionGlobal"), T = se("openLoginWithRedirect"), y = (o) => [...o != null ? o : []].map((p, C) => ({ item: p, index: C })).sort((p, C) => {
3642
- var A, D;
3643
- const N = (A = p.item.order) != null ? A : Number.MAX_SAFE_INTEGER, $ = (D = C.item.order) != null ? D : Number.MAX_SAFE_INTEGER;
3644
- return N - $ || p.index - C.index;
3645
- }).map(({ item: p }) => p), O = ie(() => y(a), [a]), w = ie(() => {
3697
+ const [i, s] = Z(0), l = oe(), d = re(), h = le(), g = U(null), m = U(!1), u = U(!1), [c, f] = Z(() => Date.now()), v = se("setDepositActionGlobal"), x = se("setAbrirLiveActionGlobal"), k = se("openLoginWithRedirect"), T = (o) => [...o != null ? o : []].map((p, C) => ({ item: p, index: C })).sort((p, C) => {
3698
+ var R, D;
3699
+ const $ = (R = p.item.order) != null ? R : Number.MAX_SAFE_INTEGER, N = (D = C.item.order) != null ? D : Number.MAX_SAFE_INTEGER;
3700
+ return $ - N || p.index - C.index;
3701
+ }).map(({ item: p }) => p), E = ie(() => T(a), [a]), b = ie(() => {
3646
3702
  const o = (e != null ? e : []).filter(
3647
- (p) => Jn(p, c)
3703
+ (p) => Yn(p, c)
3648
3704
  );
3649
- return y(o);
3650
- }, [e, c]), R = w.length || 1, k = !w || w.length === 0, S = !k && w.length > 1, F = !n && O.length > 0;
3705
+ return T(o);
3706
+ }, [e, c]), A = b.length || 1, w = !b || b.length === 0, S = !w && b.length > 1, L = !n && E.length > 0;
3651
3707
  De("(max-width:950px)");
3652
- const L = "#B5B5B5";
3708
+ const F = "#B5B5B5";
3653
3709
  Q(() => {
3654
3710
  const o = window.setInterval(() => {
3655
- g(Date.now());
3711
+ f(Date.now());
3656
3712
  }, 3e4);
3657
3713
  return () => window.clearInterval(o);
3658
3714
  }, []);
@@ -3664,22 +3720,22 @@ function Xn({
3664
3720
  width: 48,
3665
3721
  height: 40,
3666
3722
  borderRadius: "12px",
3667
- border: `1.5px solid ${L}`,
3723
+ border: `1.5px solid ${F}`,
3668
3724
  py: 1,
3669
3725
  px: 1.5,
3670
- color: L,
3726
+ color: F,
3671
3727
  backgroundColor: "transparent",
3672
3728
  "&:hover": {
3673
3729
  backgroundColor: "rgba(181,181,181,0.08)"
3674
3730
  },
3675
3731
  "&.Mui-disabled": {
3676
3732
  opacity: 0.35,
3677
- borderColor: L,
3678
- color: L,
3733
+ borderColor: F,
3734
+ color: F,
3679
3735
  backgroundColor: "transparent",
3680
3736
  cursor: "default"
3681
3737
  }
3682
- }, v = ie(
3738
+ }, _ = ie(
3683
3739
  () => ({
3684
3740
  type: "loop",
3685
3741
  perMove: 1,
@@ -3696,13 +3752,13 @@ function Xn({
3696
3752
  }, 500);
3697
3753
  return () => clearTimeout(o);
3698
3754
  }, []);
3699
- const E = (o, p, C) => {
3755
+ const O = (o, p, C) => {
3700
3756
  var D, Y;
3701
- const N = !!p.idFunction, $ = !!p.href;
3702
- if (N)
3757
+ const $ = !!p.idFunction, N = !!p.href;
3758
+ if ($)
3703
3759
  switch (o.preventDefault(), o.stopPropagation(), p.idFunction) {
3704
3760
  case "deposito":
3705
- b == null || b(!0);
3761
+ v == null || v(!0);
3706
3762
  return;
3707
3763
  case "abrirLive":
3708
3764
  x == null || x();
@@ -3710,21 +3766,21 @@ function Xn({
3710
3766
  default:
3711
3767
  return;
3712
3768
  }
3713
- if (!$) {
3769
+ if (!N) {
3714
3770
  o.preventDefault(), o.stopPropagation();
3715
3771
  return;
3716
3772
  }
3717
- const A = ((Y = (D = p.href) == null ? void 0 : D.split("/").pop()) == null ? void 0 : Y.split(".")[0]) || p.label || p.id || `banner_${C + 1}`;
3773
+ const R = ((Y = (D = p.href) == null ? void 0 : D.split("/").pop()) == null ? void 0 : Y.split(".")[0]) || p.label || p.id || `banner_${C + 1}`;
3718
3774
  l({
3719
3775
  element: "banner_carousel",
3720
- label: `${d} - OraculoSeccionBanners - Banner click: ${A}`,
3776
+ label: `${d} - OraculoSeccionBanners - Banner click: ${R}`,
3721
3777
  target: p.href || "no_url",
3722
3778
  event_type: "click",
3723
3779
  module_id: h,
3724
3780
  metadata: {
3725
3781
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3726
3782
  banner_position: C + 1,
3727
- banner_total: (w == null ? void 0 : w.length) || 0
3783
+ banner_total: (b == null ? void 0 : b.length) || 0
3728
3784
  },
3729
3785
  tags: {
3730
3786
  banner_type: "carousel",
@@ -3748,7 +3804,7 @@ function Xn({
3748
3804
  item_label: o.label || "no_label"
3749
3805
  }
3750
3806
  }), !r && o.label == "MISIONES") {
3751
- T == null || T((p = o.href) != null ? p : "");
3807
+ k == null || k((p = o.href) != null ? p : "");
3752
3808
  return;
3753
3809
  }
3754
3810
  if (o.onClick) {
@@ -3756,52 +3812,52 @@ function Xn({
3756
3812
  return;
3757
3813
  }
3758
3814
  o.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(o.href);
3759
- }, M = 5e3, B = U(null), P = !k && ((te = w == null ? void 0 : w.length) != null ? te : 0) > 1, V = () => {
3815
+ }, M = 5e3, B = U(null), P = !w && ((te = b == null ? void 0 : b.length) != null ? te : 0) > 1, V = () => {
3760
3816
  B.current != null && (window.clearTimeout(B.current), B.current = null);
3761
- }, W = () => {
3817
+ }, G = () => {
3762
3818
  V(), P && (B.current = window.setTimeout(() => {
3763
3819
  var o;
3764
- u.current = !0, (o = f.current) == null || o.next();
3820
+ u.current = !0, (o = g.current) == null || o.next();
3765
3821
  }, M));
3766
3822
  };
3767
- Q(() => (W(), () => V()), [P, M]);
3823
+ Q(() => (G(), () => V()), [P, M]);
3768
3824
  const K = (o) => {
3769
3825
  var p;
3770
- o.preventDefault(), o.stopPropagation(), V(), (p = f.current) == null || p.prev();
3771
- }, G = (o) => {
3826
+ o.preventDefault(), o.stopPropagation(), V(), (p = g.current) == null || p.prev();
3827
+ }, j = (o) => {
3772
3828
  var p;
3773
- o.preventDefault(), o.stopPropagation(), V(), (p = f.current) == null || p.next();
3829
+ o.preventDefault(), o.stopPropagation(), V(), (p = g.current) == null || p.next();
3774
3830
  }, X = (o) => {
3775
- var N, $, A, D;
3776
- const p = (o % R + R) % R;
3831
+ var $, N, R, D;
3832
+ const p = (o % A + A) % A;
3777
3833
  if (!m.current) return;
3778
- const C = (N = w == null ? void 0 : w[p]) != null && N.href ? ((A = ($ = w[p].href) == null ? void 0 : $.split("/").pop()) == null ? void 0 : A.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
3834
+ const C = ($ = b == null ? void 0 : b[p]) != null && $.href ? ((R = (N = b[p].href) == null ? void 0 : N.split("/").pop()) == null ? void 0 : R.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
3779
3835
  l({
3780
3836
  element: "banner_carousel",
3781
3837
  label: `${d} - OraculoSeccionBanners - Banner view: Slide ${p + 1} - ${C}`,
3782
- target: ((D = w == null ? void 0 : w[p]) == null ? void 0 : D.href) || "no_url",
3838
+ target: ((D = b == null ? void 0 : b[p]) == null ? void 0 : D.href) || "no_url",
3783
3839
  event_type: "view",
3784
3840
  module_id: h,
3785
3841
  metadata: {
3786
3842
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3787
3843
  slide_index: p + 1,
3788
- total_slides: R,
3844
+ total_slides: A,
3789
3845
  interaction_type: "manual_slide"
3790
3846
  },
3791
3847
  tags: { banner_position: String(p + 1) }
3792
3848
  });
3793
3849
  };
3794
- return /* @__PURE__ */ _(
3850
+ return /* @__PURE__ */ y(
3795
3851
  ee,
3796
3852
  {
3797
3853
  component: "section",
3798
3854
  sx: {
3799
3855
  position: "relative",
3800
3856
  overflow: "visible",
3801
- pb: F ? { xs: "40px", sm: 0 } : 0
3857
+ pb: L ? { xs: "40px", sm: 0 } : 0
3802
3858
  },
3803
3859
  children: [
3804
- /* @__PURE__ */ _(
3860
+ /* @__PURE__ */ y(
3805
3861
  ee,
3806
3862
  {
3807
3863
  sx: {
@@ -3828,39 +3884,39 @@ function Xn({
3828
3884
  children: /* @__PURE__ */ t(
3829
3885
  he,
3830
3886
  {
3831
- ref: f,
3832
- items: w,
3887
+ ref: g,
3888
+ items: b,
3833
3889
  perPage: 1,
3834
3890
  gap: "0px",
3835
3891
  enableHorizontalWheel: !0,
3836
- options: v,
3892
+ options: _,
3837
3893
  onMove: ({ index: o, source: p }) => {
3838
- const C = (o % R + R) % R;
3894
+ const C = (o % A + A) % A;
3839
3895
  s(C);
3840
- const N = u.current;
3841
- u.current = !1, p === "user" && (W(), N || X(o));
3896
+ const $ = u.current;
3897
+ u.current = !1, p === "user" && (G(), $ || X(o));
3842
3898
  },
3843
3899
  renderItem: (o, p) => {
3844
3900
  var D, Y, ne;
3845
- const C = !!o.idFunction, N = !!o.href, $ = N && !C, A = C || N;
3846
- return /* @__PURE__ */ _(
3901
+ const C = !!o.idFunction, $ = !!o.href, N = $ && !C, R = C || $;
3902
+ return /* @__PURE__ */ y(
3847
3903
  ee,
3848
3904
  {
3849
- component: $ ? "a" : "div",
3850
- href: $ ? o.href : void 0,
3851
- target: $ ? (D = o.target) != null ? D : "_self" : void 0,
3852
- rel: $ && o.target === "_blank" ? "noopener noreferrer" : void 0,
3853
- onClick: (ae) => E(ae, o, p),
3905
+ component: N ? "a" : "div",
3906
+ href: N ? o.href : void 0,
3907
+ target: N ? (D = o.target) != null ? D : "_self" : void 0,
3908
+ rel: N && o.target === "_blank" ? "noopener noreferrer" : void 0,
3909
+ onClick: (ae) => O(ae, o, p),
3854
3910
  sx: {
3855
3911
  position: "relative",
3856
3912
  width: "100%",
3857
3913
  height: "100%",
3858
3914
  display: "block",
3859
3915
  textDecoration: "none",
3860
- cursor: A ? "pointer" : "default"
3916
+ cursor: R ? "pointer" : "default"
3861
3917
  },
3862
3918
  children: [
3863
- /* @__PURE__ */ _(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3919
+ /* @__PURE__ */ y(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3864
3920
  /* @__PURE__ */ t("source", { srcSet: o.desktopSrc, media: "(min-width:950px)" }),
3865
3921
  /* @__PURE__ */ t("source", { srcSet: o.mobileSrc, media: "(max-width:949px)" }),
3866
3922
  /* @__PURE__ */ t(
@@ -3907,7 +3963,7 @@ function Xn({
3907
3963
  )
3908
3964
  }
3909
3965
  ),
3910
- S && /* @__PURE__ */ _(pe, { children: [
3966
+ S && /* @__PURE__ */ y(pe, { children: [
3911
3967
  /* @__PURE__ */ t(
3912
3968
  Ke,
3913
3969
  {
@@ -3919,21 +3975,21 @@ function Xn({
3919
3975
  "@media (max-width:1024px)": { left: 24 },
3920
3976
  "@media (max-width:786px)": { display: "none" }
3921
3977
  },
3922
- children: /* @__PURE__ */ t(Ae, {})
3978
+ children: /* @__PURE__ */ t(Re, {})
3923
3979
  }
3924
3980
  ),
3925
3981
  /* @__PURE__ */ t(
3926
3982
  Ke,
3927
3983
  {
3928
3984
  "aria-label": "Siguiente",
3929
- onClick: G,
3985
+ onClick: j,
3930
3986
  sx: {
3931
3987
  ...I,
3932
3988
  right: "120px",
3933
3989
  "@media (max-width:1024px)": { right: 24 },
3934
3990
  "@media (max-width:786px)": { display: "none" }
3935
3991
  },
3936
- children: /* @__PURE__ */ t(Re, {})
3992
+ children: /* @__PURE__ */ t(Le, {})
3937
3993
  }
3938
3994
  )
3939
3995
  ] }),
@@ -3950,20 +4006,20 @@ function Xn({
3950
4006
  zIndex: 2
3951
4007
  },
3952
4008
  children: /* @__PURE__ */ t(
3953
- dt,
4009
+ ut,
3954
4010
  {
3955
- total: R,
4011
+ total: A,
3956
4012
  active: i,
3957
4013
  durationMs: M
3958
4014
  },
3959
- `${i}-${R}`
4015
+ `${i}-${A}`
3960
4016
  )
3961
4017
  }
3962
4018
  )
3963
4019
  ]
3964
4020
  }
3965
4021
  ),
3966
- F && /* @__PURE__ */ t(
4022
+ L && /* @__PURE__ */ t(
3967
4023
  ee,
3968
4024
  {
3969
4025
  sx: {
@@ -3981,7 +4037,7 @@ function Xn({
3981
4037
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3982
4038
  zIndex: 3
3983
4039
  },
3984
- children: O == null ? void 0 : O.map((o) => /* @__PURE__ */ _(
4040
+ children: E == null ? void 0 : E.map((o) => /* @__PURE__ */ y(
3985
4041
  ee,
3986
4042
  {
3987
4043
  sx: {
@@ -4028,7 +4084,7 @@ function Xn({
4028
4084
  },
4029
4085
  onClick: () => q(o),
4030
4086
  children: [
4031
- o.icon && /* @__PURE__ */ _(
4087
+ o.icon && /* @__PURE__ */ y(
4032
4088
  ee,
4033
4089
  {
4034
4090
  sx: {
@@ -4076,7 +4132,7 @@ function Xn({
4076
4132
  }
4077
4133
  ),
4078
4134
  /* @__PURE__ */ t(
4079
- st,
4135
+ lt,
4080
4136
  {
4081
4137
  className: "menu-text",
4082
4138
  sx: {
@@ -4098,7 +4154,7 @@ function Xn({
4098
4154
  }
4099
4155
  );
4100
4156
  }
4101
- const Yn = [
4157
+ const eo = [
4102
4158
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg", alt: "Interbank" },
4103
4159
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg", alt: "Yape" },
4104
4160
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
@@ -4108,14 +4164,14 @@ const Yn = [
4108
4164
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
4109
4165
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
4110
4166
  ];
4111
- function Qn({
4167
+ function to({
4112
4168
  title: e = "Medios de pago",
4113
- items: a = Yn
4169
+ items: a = eo
4114
4170
  }) {
4115
4171
  const n = Math.ceil(a.length / 2), r = a.slice(0, n), i = a.slice(n);
4116
- return /* @__PURE__ */ _(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4172
+ return /* @__PURE__ */ y(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4117
4173
  /* @__PURE__ */ t(
4118
- st,
4174
+ lt,
4119
4175
  {
4120
4176
  id: "mp-title",
4121
4177
  variant: "h6",
@@ -4142,9 +4198,9 @@ function Qn({
4142
4198
  }
4143
4199
  }
4144
4200
  ),
4145
- /* @__PURE__ */ _(Ee, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4201
+ /* @__PURE__ */ y(Ce, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4146
4202
  /* @__PURE__ */ t(
4147
- Ee,
4203
+ Ce,
4148
4204
  {
4149
4205
  direction: "row",
4150
4206
  justifyContent: "center",
@@ -4155,7 +4211,7 @@ function Qn({
4155
4211
  }
4156
4212
  ),
4157
4213
  /* @__PURE__ */ t(
4158
- Ee,
4214
+ Ce,
4159
4215
  {
4160
4216
  direction: "row",
4161
4217
  justifyContent: "center",
@@ -4168,11 +4224,11 @@ function Qn({
4168
4224
  ] })
4169
4225
  ] });
4170
4226
  }
4171
- function It({
4227
+ function Ot({
4172
4228
  children: e
4173
4229
  }) {
4174
- const a = Rt(), n = fe.useMemo(
4175
- () => Lt(a, {
4230
+ const a = Ft(), n = fe.useMemo(
4231
+ () => qt(a, {
4176
4232
  typography: { fontFamily: "var(--orc-font)" },
4177
4233
  components: {
4178
4234
  MuiTypography: {
@@ -4184,32 +4240,32 @@ function It({
4184
4240
  }),
4185
4241
  [a]
4186
4242
  );
4187
- return /* @__PURE__ */ _(Ft, { theme: n, children: [
4188
- /* @__PURE__ */ t(qt, {}),
4243
+ return /* @__PURE__ */ y(zt, { theme: n, children: [
4244
+ /* @__PURE__ */ t(Pt, {}),
4189
4245
  e
4190
4246
  ] });
4191
4247
  }
4192
- function wo({
4248
+ function Eo({
4193
4249
  docId: e = "Landing: home",
4194
4250
  moduleId: a = 301,
4195
4251
  children: n
4196
4252
  }) {
4197
- return /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: e, moduleId: a, children: n }) });
4253
+ return /* @__PURE__ */ t(Ot, { children: /* @__PURE__ */ t(vt, { docId: e, moduleId: a, children: n }) });
4198
4254
  }
4199
- const eo = {
4200
- OraculoSeccionDestacados: Ja,
4201
- OraculoSeccionTopJuegos: Qa,
4202
- OraculoSeccionCasinoEnVivo: un,
4203
- OraculoSeccionCasino: fn,
4204
- OraculoSeccionVirtuales: vn,
4205
- OraculoSeccionClubOlimpo: xn,
4206
- OraculoSeccionBonoBienvenida: yn,
4207
- OraculoSeccionBanners: Xn,
4208
- OraculoSeccionMediosPago: Qn,
4209
- OraculoSeccionEventoEnVivo: Ln,
4210
- OraculoSeccionEventoSemana: Hn,
4211
- OraculoSeccionEventoCombinadas: Tn
4212
- }, Pe = {
4255
+ const ao = {
4256
+ OraculoSeccionDestacados: Ya,
4257
+ OraculoSeccionTopJuegos: tn,
4258
+ OraculoSeccionCasinoEnVivo: pn,
4259
+ OraculoSeccionCasino: hn,
4260
+ OraculoSeccionVirtuales: yn,
4261
+ OraculoSeccionClubOlimpo: wn,
4262
+ OraculoSeccionBonoBienvenida: Sn,
4263
+ OraculoSeccionBanners: Qn,
4264
+ OraculoSeccionMediosPago: to,
4265
+ OraculoSeccionEventoEnVivo: qn,
4266
+ OraculoSeccionEventoSemana: Zn,
4267
+ OraculoSeccionEventoCombinadas: $n
4268
+ }, Ee = {
4213
4269
  sections: [
4214
4270
  {
4215
4271
  title: "Banners",
@@ -5577,8 +5633,8 @@ const eo = {
5577
5633
  componentKey: "OraculoSeccionMediosPago"
5578
5634
  }
5579
5635
  ]
5580
- }, to = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, ao = (e) => /^OraculoSeccion[A-Z]/.test(e);
5581
- function Oe(e) {
5636
+ }, no = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, oo = (e) => /^OraculoSeccion[A-Z]/.test(e);
5637
+ function Se(e) {
5582
5638
  return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
5583
5639
  var r, i;
5584
5640
  return ((r = a.order) != null ? r : 0) - ((i = n.order) != null ? i : 0);
@@ -5603,23 +5659,23 @@ function Oe(e) {
5603
5659
  };
5604
5660
  }) : [];
5605
5661
  }
5606
- const no = Object.fromEntries(
5607
- Object.entries(eo).filter(
5608
- ([e, a]) => ao(e) && to(a)
5662
+ const ro = Object.fromEntries(
5663
+ Object.entries(ao).filter(
5664
+ ([e, a]) => oo(e) && no(a)
5609
5665
  )
5610
- ), oo = (e) => {
5666
+ ), io = (e) => {
5611
5667
  try {
5612
5668
  return Object.fromEntries(e != null ? e : []);
5613
5669
  } catch {
5614
5670
  return console.warn("[oraculo] extras inválidos. Debe ser Array<[string, unknown]>", e), {};
5615
5671
  }
5616
5672
  };
5617
- class ot extends Error {
5673
+ class rt extends Error {
5618
5674
  constructor(a, n, r) {
5619
5675
  super(`HTTP ${a} ${r}`), this.status = a, this.url = n, this.statusText = r, this.name = "HttpError";
5620
5676
  }
5621
5677
  }
5622
- class ro extends fe.Component {
5678
+ class so extends fe.Component {
5623
5679
  constructor(a) {
5624
5680
  super(a), this.state = { hasError: !1 };
5625
5681
  }
@@ -5639,11 +5695,17 @@ class ro extends fe.Component {
5639
5695
  return this.state.hasError ? null : this.props.children;
5640
5696
  }
5641
5697
  }
5642
- const rt = [
5698
+ const it = [
5643
5699
  "OraculoSeccionEventoEnVivo",
5644
5700
  "OraculoSeccionEventoSemana",
5645
5701
  "OraculoSeccionEventoCombinadas"
5646
- ], Io = ({
5702
+ ], lo = [
5703
+ "OraculoSeccionCasino",
5704
+ "OraculoSeccionVirtuales",
5705
+ "OraculoSeccionCasinoEnVivo",
5706
+ "OraculoSeccionTopJuegos",
5707
+ "OraculoSeccionDestacados"
5708
+ ], Co = ({
5647
5709
  sectionsOverride: e,
5648
5710
  docId: a = "Landing: home",
5649
5711
  moduleId: n = 301,
@@ -5652,60 +5714,62 @@ const rt = [
5652
5714
  loader: s,
5653
5715
  disableWrapper: l = !1
5654
5716
  }) => {
5655
- const d = ie(() => oo(i), [i]), h = s || d.loader, [f, m] = Z([]), [u, c] = Z(!1), [g, b] = Z({}), [x, T] = Z({}), [y, O] = Z({}), w = De("(min-width:1024px)"), R = ie(
5656
- () => Oe(Pe),
5717
+ const d = ie(() => io(i), [i]), h = s || d.loader, [g, m] = Z(
5718
+ () => e ? [] : Se(Ee)
5719
+ ), [u, c] = Z(!1), [f, v] = Z({}), [x, k] = Z({}), [T, E] = Z({}), b = De("(min-width:1024px)"), A = ie(
5720
+ () => Se(Ee),
5657
5721
  []
5658
- ), k = (o) => R.find(
5722
+ ), w = (o) => A.find(
5659
5723
  (p) => p.id === o.id || p.componentKey === o.componentKey
5660
- ), S = (o) => Array.isArray(o) ? o.map((p) => Number(p)).filter((p) => !Number.isNaN(p)) : [], F = ie(() => {
5724
+ ), S = (o) => Array.isArray(o) ? o.map((p) => Number(p)).filter((p) => !Number.isNaN(p)) : [], L = ie(() => {
5661
5725
  const o = d.user;
5662
5726
  return S(o == null ? void 0 : o.groups);
5663
- }, [d]), L = (o) => {
5727
+ }, [d]), F = (o) => {
5664
5728
  const p = o.manualScalarFields;
5665
5729
  if (!Array.isArray(p)) return [];
5666
5730
  const C = p.find(
5667
- (A) => String((A == null ? void 0 : A.name) || "").trim().toLowerCase() === "groups"
5731
+ (R) => String((R == null ? void 0 : R.name) || "").trim().toLowerCase() === "groups"
5668
5732
  );
5669
5733
  if (!C) return [];
5670
- const N = C.value;
5671
- if (N == null) return [];
5672
- if (Array.isArray(N))
5673
- return N.map((A) => Number(String(A).trim())).filter((A) => !Number.isNaN(A));
5674
- const $ = String(N).trim();
5675
- return $ ? $.split(",").map((A) => Number(A.trim())).filter((A) => !Number.isNaN(A)) : [];
5734
+ const $ = C.value;
5735
+ if ($ == null) return [];
5736
+ if (Array.isArray($))
5737
+ return $.map((R) => Number(String(R).trim())).filter((R) => !Number.isNaN(R));
5738
+ const N = String($).trim();
5739
+ return N ? N.split(",").map((R) => Number(R.trim())).filter((R) => !Number.isNaN(R)) : [];
5676
5740
  }, I = (o, p) => {
5677
- const C = L(o);
5741
+ const C = F(o);
5678
5742
  if (C.length === 0) return !0;
5679
5743
  if (!Array.isArray(p) || p.length === 0) return !1;
5680
- const N = new Set(p);
5681
- return C.some(($) => N.has($));
5744
+ const $ = new Set(p);
5745
+ return C.some((N) => $.has(N));
5682
5746
  };
5683
5747
  Q(() => {
5684
5748
  if (e) return;
5685
5749
  if (!r) {
5686
- console.warn("[landing] sin db -> fallback json"), m(Oe(Pe));
5750
+ console.warn("[landing] sin db -> fallback json"), m(Se(Ee));
5687
5751
  return;
5688
5752
  }
5689
- const o = (C, N) => {
5690
- console.warn("[landing] FALLBACK:", C, N != null ? N : ""), m(Oe(Pe)), c(!1);
5753
+ const o = (C, $) => {
5754
+ console.warn("[landing] FALLBACK:", C, $ != null ? $ : ""), m(Se(Ee)), c(!1);
5691
5755
  };
5692
5756
  c(!0);
5693
- const p = zt(
5694
- Pt(r, "landings", a),
5757
+ const p = Dt(
5758
+ Ut(r, "landings", a),
5695
5759
  (C) => {
5696
5760
  try {
5697
5761
  if (!C.exists()) {
5698
5762
  o(`doc landings/${a} no existe`);
5699
5763
  return;
5700
5764
  }
5701
- const N = C.data(), $ = Oe(N);
5702
- if (!$.length) {
5703
- o("JSON inválido o sin secciones normalizables", N);
5765
+ const $ = C.data(), N = Se($);
5766
+ if (!N.length) {
5767
+ o("JSON inválido o sin secciones normalizables", $);
5704
5768
  return;
5705
5769
  }
5706
- console.log("[landing] Firestore OK (json grande):", N), m($);
5707
- } catch (N) {
5708
- o("error procesando snapshot", N);
5770
+ console.log("[landing] Firestore OK (json grande):", $), m(N);
5771
+ } catch ($) {
5772
+ o("error procesando snapshot", $);
5709
5773
  } finally {
5710
5774
  c(!1);
5711
5775
  }
@@ -5715,11 +5779,11 @@ const rt = [
5715
5779
  }
5716
5780
  );
5717
5781
  return () => p();
5718
- }, [e, a, r]), Q(() => (Xa(d), () => Ya()), [d]), Q(() => {
5719
- (e ? e.slice() : f.slice()).map((C) => C.componentKey).filter((C) => !!C).length;
5720
- }, [e, f]);
5721
- const v = async (o) => {
5722
- if (rt.includes(o.componentKey))
5782
+ }, [e, a, r]), Q(() => (Qa(d), () => en()), [d]), Q(() => {
5783
+ (e ? e.slice() : g.slice()).map((C) => C.componentKey).filter((C) => !!C).length;
5784
+ }, [e, g]);
5785
+ const _ = async (o) => {
5786
+ if (it.includes(o.componentKey))
5723
5787
  return {
5724
5788
  items: [],
5725
5789
  events: [],
@@ -5727,79 +5791,79 @@ const rt = [
5727
5791
  };
5728
5792
  const p = (o.apiUrl || "").trim();
5729
5793
  if (!p) return;
5730
- const C = o.apiMethod || "GET", N = o.apiParams || [];
5731
- let $ = p, A, D;
5794
+ const C = o.apiMethod || "GET", $ = o.apiParams || [];
5795
+ let N = p, R, D;
5732
5796
  if (C === "GET") {
5733
5797
  const ne = new URL(
5734
5798
  p,
5735
5799
  typeof window == "undefined" ? "http://localhost" : window.location.origin
5736
5800
  );
5737
- for (const ae of N)
5801
+ for (const ae of $)
5738
5802
  ae.key && ne.searchParams.append(ae.key, ae.value);
5739
- $ = ne.toString();
5803
+ N = ne.toString();
5740
5804
  } else {
5741
5805
  const ne = new URLSearchParams();
5742
- for (const ae of N)
5806
+ for (const ae of $)
5743
5807
  ae.key && ne.append(ae.key, ae.value);
5744
- A = ne.toString(), D = {
5808
+ R = ne.toString(), D = {
5745
5809
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5746
5810
  };
5747
5811
  }
5748
- const Y = await fetch($, {
5812
+ const Y = await fetch(N, {
5749
5813
  method: C,
5750
5814
  headers: D,
5751
- body: A
5815
+ body: R
5752
5816
  });
5753
- if (!Y.ok) throw new ot(Y.status, $, Y.statusText);
5817
+ if (!Y.ok) throw new rt(Y.status, N, Y.statusText);
5754
5818
  return Y.json();
5755
- }, E = ie(
5756
- () => e ? e.slice() : f.slice(),
5757
- [e, f]
5819
+ }, O = ie(
5820
+ () => e ? e.slice() : g.slice(),
5821
+ [e, g]
5758
5822
  ), q = fe.useRef(/* @__PURE__ */ new Set());
5759
5823
  Q(() => {
5760
- const o = E.map((p) => ({ s: p, url: (p.apiUrl || "").trim() })).filter(({ url: p }) => !!p);
5824
+ const o = O.map((p) => ({ s: p, url: (p.apiUrl || "").trim() })).filter(({ url: p }) => !!p);
5761
5825
  if (o.length)
5762
5826
  for (const { s: p, url: C } of o) {
5763
- const N = `${p.id}|${C}`;
5764
- q.current.has(N) || (q.current.add(N), T(($) => ({ ...$, [p.id]: !0 })), O(($) => ({ ...$, [p.id]: "" })), (async () => {
5827
+ const $ = `${p.id}|${C}`;
5828
+ q.current.has($) || (q.current.add($), k((N) => ({ ...N, [p.id]: !0 })), E((N) => ({ ...N, [p.id]: "" })), (async () => {
5765
5829
  try {
5766
- const $ = await v(p);
5767
- b((A) => ({ ...A, [p.id]: $ }));
5768
- } catch ($) {
5769
- let A = "Error desconocido";
5770
- $ instanceof ot ? A = `Error HTTP ${$.status} (${$.statusText}) en ${$.url}` : $ instanceof SyntaxError ? A = "Respuesta no es JSON válido" : $ instanceof TypeError ? A = "Fallo de red / CORS / conexión" : typeof $ == "string" && (A = $.toString()), O((D) => ({ ...D, [p.id]: A }));
5830
+ const N = await _(p);
5831
+ v((R) => ({ ...R, [p.id]: N }));
5832
+ } catch (N) {
5833
+ let R = "Error desconocido";
5834
+ N instanceof rt ? R = `Error HTTP ${N.status} (${N.statusText}) en ${N.url}` : N instanceof SyntaxError ? R = "Respuesta no es JSON válido" : N instanceof TypeError ? R = "Fallo de red / CORS / conexión" : typeof N == "string" && (R = N.toString()), E((D) => ({ ...D, [p.id]: R }));
5771
5835
  } finally {
5772
- T(($) => ({ ...$, [p.id]: !1 }));
5836
+ k((N) => ({ ...N, [p.id]: !1 }));
5773
5837
  }
5774
5838
  })());
5775
5839
  }
5776
- }, [E]);
5840
+ }, [O]);
5777
5841
  const M = ie(
5778
- () => E.filter((o) => o.visible).filter((o) => I(o, F)).sort((o, p) => o.order - p.order),
5779
- [E, F]
5842
+ () => O.filter((o) => o.visible).filter((o) => I(o, L)).sort((o, p) => o.order - p.order),
5843
+ [O, L]
5780
5844
  ), B = (o) => Array.isArray(o) ? o.map((p) => {
5781
5845
  const C = {};
5782
- for (const N of p.fields || []) {
5783
- const $ = (N.type || "string").toLowerCase();
5784
- if ($ === "number") {
5785
- const A = String(N.value || "").trim();
5786
- if (A !== "") {
5787
- const D = Number(A);
5788
- Number.isNaN(D) || (C[N.name] = D);
5846
+ for (const $ of p.fields || []) {
5847
+ const N = ($.type || "string").toLowerCase();
5848
+ if (N === "number") {
5849
+ const R = String($.value || "").trim();
5850
+ if (R !== "") {
5851
+ const D = Number(R);
5852
+ Number.isNaN(D) || (C[$.name] = D);
5789
5853
  }
5790
- } else if ($ === "boolean")
5791
- C[N.name] = String(N.value).toLowerCase() === "true";
5792
- else if ($ === "function") {
5793
- const A = String(N.value || "").trim();
5794
- if (A)
5854
+ } else if (N === "boolean")
5855
+ C[$.name] = String($.value).toLowerCase() === "true";
5856
+ else if (N === "function") {
5857
+ const R = String($.value || "").trim();
5858
+ if (R)
5795
5859
  try {
5796
- const D = new Function(A);
5797
- C[N.name] = D;
5860
+ const D = new Function(R);
5861
+ C[$.name] = D;
5798
5862
  } catch (D) {
5799
- console.error(`❌ Error creando función en item '${N.name}':`, D);
5863
+ console.error(`❌ Error creando función en item '${$.name}':`, D);
5800
5864
  }
5801
5865
  } else
5802
- C[N.name] = N.value;
5866
+ C[$.name] = $.value;
5803
5867
  }
5804
5868
  return C;
5805
5869
  }) : [], P = (o) => {
@@ -5807,88 +5871,88 @@ const rt = [
5807
5871
  if (!Array.isArray(o)) return p;
5808
5872
  for (const C of o) {
5809
5873
  if (!C.name) continue;
5810
- const N = (C.type || "string").toLowerCase();
5811
- if (N === "number") {
5812
- const $ = String(C.value || "").trim();
5813
- if ($ !== "") {
5814
- const A = Number($);
5815
- Number.isNaN(A) || (p[C.name] = A);
5874
+ const $ = (C.type || "string").toLowerCase();
5875
+ if ($ === "number") {
5876
+ const N = String(C.value || "").trim();
5877
+ if (N !== "") {
5878
+ const R = Number(N);
5879
+ Number.isNaN(R) || (p[C.name] = R);
5816
5880
  }
5817
- } else if (N === "boolean")
5881
+ } else if ($ === "boolean")
5818
5882
  p[C.name] = String(C.value).toLowerCase() === "true";
5819
- else if (N === "function") {
5820
- const $ = String(C.value || "").trim();
5821
- if ($)
5883
+ else if ($ === "function") {
5884
+ const N = String(C.value || "").trim();
5885
+ if (N)
5822
5886
  try {
5823
- const A = new Function($);
5824
- p[C.name] = A;
5825
- } catch (A) {
5826
- console.error(`❌ Error creando función en item '${C.name}':`, A);
5887
+ const R = new Function(N);
5888
+ p[C.name] = R;
5889
+ } catch (R) {
5890
+ console.error(`❌ Error creando función en item '${C.name}':`, R);
5827
5891
  }
5828
5892
  } else
5829
5893
  p[C.name] = C.value;
5830
5894
  }
5831
5895
  return p;
5832
- }, V = (o, p, C, N) => {
5833
- const $ = C ? { ...C } : {}, A = (N || "items").trim() || "items";
5896
+ }, V = (o, p, C, $) => {
5897
+ const N = C ? { ...C } : {}, R = ($ || "items").trim() || "items";
5834
5898
  if (p)
5835
- return $[A] = p.arr || [], $;
5899
+ return N[R] = p.arr || [], N;
5836
5900
  const D = o;
5837
5901
  if (Array.isArray(D))
5838
- return $[A] = D, $;
5902
+ return N[R] = D, N;
5839
5903
  if (D && typeof D == "object") {
5840
5904
  const Y = D;
5841
- return Array.isArray(Y.lobby) ? ($[A] = Y.lobby, $) : Array.isArray(Y.items) ? ($[A] = Y.items, $) : ($[A] = D, $);
5905
+ return Array.isArray(Y.lobby) ? (N[R] = Y.lobby, N) : Array.isArray(Y.items) ? (N[R] = Y.items, N) : (N[R] = D, N);
5842
5906
  }
5843
- return $[A] = [], $;
5844
- }, W = (o) => {
5845
- var A;
5846
- const p = !!((A = o.apiUrl) != null && A.trim()), C = p ? g[o.id] : void 0;
5847
- let N = o.props ? { ...o.props } : {};
5848
- const $ = P(o.manualScalarFields);
5849
- if (rt.includes(o.componentKey))
5850
- return { items: C, ...N, ...$ };
5851
- if (N = { ...N, ...$ }, p)
5852
- N = V(C, null, N);
5907
+ return N[R] = [], N;
5908
+ }, G = (o) => {
5909
+ var R;
5910
+ const p = !!((R = o.apiUrl) != null && R.trim()), C = p ? f[o.id] : void 0;
5911
+ let $ = o.props ? { ...o.props } : {};
5912
+ const N = P(o.manualScalarFields);
5913
+ if (it.includes(o.componentKey))
5914
+ return { items: C, ...$, ...N };
5915
+ if ($ = { ...$, ...N }, p)
5916
+ $ = V(C, null, $);
5853
5917
  else if (o.dataMode === "manual") {
5854
5918
  const D = B(o.manualItems);
5855
- if (N = V(
5919
+ if ($ = V(
5856
5920
  null,
5857
5921
  { arr: D, variableName: o.variableName },
5858
- N,
5922
+ $,
5859
5923
  o.variableName
5860
5924
  ), o.variableName2 && o.manualItems2) {
5861
5925
  const Y = B(o.manualItems2), ne = (o.variableName2 || "items2").trim() || "items2";
5862
- N[ne] = Y;
5926
+ $[ne] = Y;
5863
5927
  }
5864
5928
  }
5865
- return N;
5929
+ return $;
5866
5930
  }, K = (o) => {
5867
5931
  const p = o.props ? { ...o.props } : {};
5868
5932
  try {
5869
5933
  Object.assign(p, P(o.manualScalarFields));
5870
- } catch (N) {
5871
- console.error("❌ Error armando scalars vacíos:", o, N);
5934
+ } catch ($) {
5935
+ console.error("❌ Error armando scalars vacíos:", o, $);
5872
5936
  }
5873
5937
  const C = (o.variableName || "items").trim() || "items";
5874
5938
  if (typeof p[C] == "undefined" && (p[C] = []), o.variableName2) {
5875
- const N = (o.variableName2 || "items2").trim() || "items2";
5876
- typeof p[N] == "undefined" && (p[N] = []);
5939
+ const $ = (o.variableName2 || "items2").trim() || "items2";
5940
+ typeof p[$] == "undefined" && (p[$] = []);
5877
5941
  }
5878
5942
  return p;
5879
- }, G = (o) => {
5943
+ }, j = (o) => {
5880
5944
  try {
5881
- return W(o);
5945
+ return G(o);
5882
5946
  } catch (p) {
5883
5947
  console.error("🔥 ERROR EN buildCompProps:", o, p);
5884
- const C = k(o);
5948
+ const C = w(o);
5885
5949
  if (C && C !== o)
5886
5950
  try {
5887
5951
  return console.warn(
5888
5952
  `[landing] usando fallback local para sección ${o.title} (${o.componentKey})`
5889
- ), W(C);
5890
- } catch (N) {
5891
- console.error("🔥 ERROR EN fallback buildCompProps:", C, N);
5953
+ ), G(C);
5954
+ } catch ($) {
5955
+ console.error("🔥 ERROR EN fallback buildCompProps:", C, $);
5892
5956
  }
5893
5957
  return K(o);
5894
5958
  }
@@ -5898,12 +5962,12 @@ const rt = [
5898
5962
  component: "bg-yellow-100 text-yellow-800"
5899
5963
  }[p]}`, children: C }, o), te = (o) => {
5900
5964
  var He;
5901
- const p = o.componentKey, C = no[p], $ = (/* @__PURE__ */ new Set([
5965
+ const p = o.componentKey, C = ro[p], N = (/* @__PURE__ */ new Set([
5902
5966
  "OraculoSeccionBanners",
5903
5967
  "OraculoSeccionBonoBienvenida",
5904
5968
  "OraculoSeccionCasinoEnVivo",
5905
5969
  "OraculoSeccionClubOlimpo",
5906
- ...w ? [] : [
5970
+ ...b ? [] : [
5907
5971
  "OraculoSeccionEventoEnVivo",
5908
5972
  "OraculoSeccionEventoSemana",
5909
5973
  "OraculoSeccionEventoCombinadas",
@@ -5911,10 +5975,10 @@ const rt = [
5911
5975
  "OraculoSeccionDestacados",
5912
5976
  "OraculoSeccionCasino"
5913
5977
  ]
5914
- ])).has(o.componentKey), A = w ? 120 : 24, D = (w ? 8 : 5) * 8, Y = o.componentKey === "OraculoSeccionCasinoEnVivo", ne = {
5978
+ ])).has(o.componentKey), R = b ? 120 : 24, D = (b ? 8 : 5) * 8, Y = o.componentKey === "OraculoSeccionCasinoEnVivo", ne = {
5915
5979
  width: "100%",
5916
5980
  boxSizing: "border-box",
5917
- ...$ ? {} : { paddingLeft: A, paddingRight: A },
5981
+ ...N ? {} : { paddingLeft: R, paddingRight: R },
5918
5982
  ...Y ? {
5919
5983
  marginTop: -D,
5920
5984
  marginBottom: -D
@@ -5926,25 +5990,26 @@ const rt = [
5926
5990
  "component",
5927
5991
  `Componente "${p}" no encontrado`
5928
5992
  );
5929
- const ae = !!((He = o.apiUrl) != null && He.trim()), We = ae ? g[o.id] : void 0, Ot = ae ? !!x[o.id] : !1, Ge = ae ? y[o.id] : "";
5993
+ const ae = !!((He = o.apiUrl) != null && He.trim()), We = ae ? f[o.id] : void 0, Et = ae ? !!x[o.id] : !1, Ge = ae ? T[o.id] : "";
5930
5994
  if (ae) {
5931
- if (Ot && !We)
5995
+ const kt = lo.includes(o.componentKey);
5996
+ if (Et && !We && !kt)
5932
5997
  return X(
5933
5998
  o.id,
5934
5999
  "loading",
5935
6000
  `Cargando datos desde ${o.apiUrl}...`
5936
6001
  );
5937
6002
  if (Ge && !We) {
5938
- const Se = k(o);
5939
- if (Se && Se.dataMode === "manual")
6003
+ const we = w(o);
6004
+ if (we && we.dataMode === "manual")
5940
6005
  try {
5941
- const Le = G(Se);
5942
- return /* @__PURE__ */ t("div", { style: ne, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(C, { ...Le }) }, o.id);
5943
- } catch (Le) {
6006
+ const Fe = j(we);
6007
+ return /* @__PURE__ */ t("div", { style: ne, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(C, { ...Fe }) }, o.id);
6008
+ } catch (Fe) {
5944
6009
  console.error(
5945
6010
  "🔥 ERROR renderizando fallback manual de sección:",
5946
- Se,
5947
- Le
6011
+ we,
6012
+ Fe
5948
6013
  );
5949
6014
  }
5950
6015
  return X(
@@ -5954,22 +6019,22 @@ const rt = [
5954
6019
  );
5955
6020
  }
5956
6021
  }
5957
- const je = G(o), Et = o.componentKey === "OraculoSeccionClubOlimpo" || o.componentKey === "OraculoSeccionBanners" ? {
6022
+ const je = j(o), Ct = o.componentKey === "OraculoSeccionClubOlimpo" || o.componentKey === "OraculoSeccionBanners" ? {
5958
6023
  ...je,
5959
6024
  user: d.user
5960
6025
  } : je;
5961
- return /* @__PURE__ */ t(ro, { section: o, children: /* @__PURE__ */ t(
6026
+ return /* @__PURE__ */ t(so, { section: o, children: /* @__PURE__ */ t(
5962
6027
  "div",
5963
6028
  {
5964
6029
  style: ne,
5965
6030
  className: "oraculo-section-wrapper",
5966
- children: /* @__PURE__ */ t(C, { ...Et })
6031
+ children: /* @__PURE__ */ t(C, { ...Ct })
5967
6032
  },
5968
6033
  o.id
5969
6034
  ) });
5970
6035
  };
5971
- return u && !e ? h ? /* @__PURE__ */ t(h, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !u && !e && f.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
5972
- Ct,
6036
+ return u && !e && g.length === 0 ? h ? /* @__PURE__ */ t(h, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !u && !e && g.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(Ot, { children: /* @__PURE__ */ t(vt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
6037
+ Tt,
5973
6038
  {
5974
6039
  className: "oli-font",
5975
6040
  maxWidth: !1,
@@ -5982,7 +6047,7 @@ const rt = [
5982
6047
  maxWidth: "100%",
5983
6048
  overflowX: "hidden"
5984
6049
  },
5985
- children: /* @__PURE__ */ t(Ee, { direction: "column", spacing: w ? 8 : 5, useFlexGap: !0, children: M.map((o) => {
6050
+ children: /* @__PURE__ */ t(Ce, { direction: "column", spacing: b ? 8 : 5, useFlexGap: !0, children: M.map((o) => {
5986
6051
  try {
5987
6052
  return te(o);
5988
6053
  } catch (p) {
@@ -5993,45 +6058,45 @@ const rt = [
5993
6058
  ) }) });
5994
6059
  };
5995
6060
  export {
5996
- bt as DocIdProvider,
6061
+ vt as DocIdProvider,
5997
6062
  J as OraculoButton,
5998
6063
  he as OraculoCarousel,
5999
- dt as OraculoCarouselDots,
6000
- wa as OraculoClubOlimpoVisual,
6001
- La as OraculoEventCombinadasCard,
6002
- Da as OraculoEventEnVivoCard,
6003
- Ht as OraculoEventHeader,
6004
- ut as OraculoEventLabel,
6005
- mt as OraculoEventLeague,
6006
- pt as OraculoEventScore,
6007
- Za as OraculoEventSemanaCard,
6008
- jt as OraculoEventStatus,
6009
- Gt as OraculoEventStatusBadge,
6010
- $e as OraculoEventTeamInfo,
6064
+ ut as OraculoCarouselDots,
6065
+ Ia as OraculoClubOlimpoVisual,
6066
+ Fa as OraculoEventCombinadasCard,
6067
+ Ua as OraculoEventEnVivoCard,
6068
+ Zt as OraculoEventHeader,
6069
+ mt as OraculoEventLabel,
6070
+ pt as OraculoEventLeague,
6071
+ ft as OraculoEventScore,
6072
+ Ja as OraculoEventSemanaCard,
6073
+ Kt as OraculoEventStatus,
6074
+ Ht as OraculoEventStatusBadge,
6075
+ Me as OraculoEventTeamInfo,
6011
6076
  Te as OraculoGameCard,
6012
- xa as OraculoGameRankCard,
6013
- ft as OraculoGameSlide,
6077
+ wa as OraculoGameRankCard,
6078
+ gt as OraculoGameSlide,
6014
6079
  me as OraculoGridGroup,
6015
- Sa as OraculoLiveCasinoCard,
6080
+ Je as OraculoLiveCasinoCard,
6016
6081
  Ze as OraculoLogoMediosPago,
6017
- Io as OraculoPageLandingPreview,
6018
- Xn as OraculoSeccionBanners,
6019
- yn as OraculoSeccionBonoBienvenida,
6020
- fn as OraculoSeccionCasino,
6021
- un as OraculoSeccionCasinoEnVivo,
6022
- xn as OraculoSeccionClubOlimpo,
6023
- Ja as OraculoSeccionDestacados,
6024
- Tn as OraculoSeccionEventoCombinadas,
6025
- Ln as OraculoSeccionEventoEnVivo,
6026
- Hn as OraculoSeccionEventoSemana,
6027
- Qn as OraculoSeccionMediosPago,
6028
- Qa as OraculoSeccionTopJuegos,
6029
- vn as OraculoSeccionVirtuales,
6030
- wo as OraculoSectionHost,
6082
+ Co as OraculoPageLandingPreview,
6083
+ Qn as OraculoSeccionBanners,
6084
+ Sn as OraculoSeccionBonoBienvenida,
6085
+ hn as OraculoSeccionCasino,
6086
+ pn as OraculoSeccionCasinoEnVivo,
6087
+ wn as OraculoSeccionClubOlimpo,
6088
+ Ya as OraculoSeccionDestacados,
6089
+ $n as OraculoSeccionEventoCombinadas,
6090
+ qn as OraculoSeccionEventoEnVivo,
6091
+ Zn as OraculoSeccionEventoSemana,
6092
+ to as OraculoSeccionMediosPago,
6093
+ tn as OraculoSeccionTopJuegos,
6094
+ yn as OraculoSeccionVirtuales,
6095
+ Eo as OraculoSectionHost,
6031
6096
  ge as OraculoSectionTitle,
6032
- It as OraculoThemeProvider,
6033
- Qa as OraculoTopJuegoItem,
6034
- Je as OraculoWelcomeBanner,
6035
- Io as default
6097
+ Ot as OraculoThemeProvider,
6098
+ tn as OraculoTopJuegoItem,
6099
+ Xe as OraculoWelcomeBanner,
6100
+ Co as default
6036
6101
  };
6037
6102
  //# sourceMappingURL=index.es.js.map