oraculo-ui 0.1.139 → 0.1.140

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,6 +1,6 @@
1
- import { jsx as t, jsxs as b, Fragment as pe } from "react/jsx-runtime";
2
- import { Link as rt, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Oe, Container as Et } from "@mui/material";
3
- import fe, { useState as Z, useEffect as Q, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ee, createContext as $t, useContext as Nt, useMemo as ie, useLayoutEffect as Mt } from "react";
1
+ import { jsx as t, jsxs as y, 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 Oe, Container as Ct } from "@mui/material";
3
+ import fe, { useState as X, useEffect as Q, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ce, createContext as Nt, useContext as $t, useMemo as re, useLayoutEffect as Mt } from "react";
4
4
  import j from "@mui/material/Skeleton";
5
5
  import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
6
6
  import q from "@mui/material/Box";
@@ -11,62 +11,62 @@ import { ChevronLeftRounded as Ae, ChevronRightRounded as ze } from "@mui/icons-
11
11
  import xe from "@mui/material/useMediaQuery";
12
12
  import lt from "@mui/icons-material/ChevronLeftRounded";
13
13
  import ct from "@mui/icons-material/ChevronRightRounded";
14
- import { useTheme as zt, createTheme as Rt, ThemeProvider as Lt } from "@mui/material/styles";
15
- import Pt from "@mui/material/CssBaseline";
14
+ import { useTheme as zt, createTheme as Rt, ThemeProvider as Pt } from "@mui/material/styles";
15
+ import Lt from "@mui/material/CssBaseline";
16
16
  import { onSnapshot as Ft, doc as qt } from "firebase/firestore";
17
- function X({
17
+ function Y({
18
18
  children: e,
19
19
  onClick: a,
20
20
  href: n,
21
21
  target: o,
22
- rel: i,
23
- type: r = "button",
22
+ rel: r,
23
+ type: i = "button",
24
24
  disabled: s = !1,
25
25
  variant: c = "primary",
26
- size: f,
26
+ size: p,
27
27
  fullWidth: h = !1,
28
28
  fullHeight: u = !1,
29
29
  className: m = "",
30
30
  ariaLabel: d,
31
- leftIcon: g,
32
- rightIcon: p,
33
- iconOnly: v
31
+ leftIcon: f,
32
+ rightIcon: v,
33
+ iconOnly: S
34
34
  }) {
35
- const C = !!e && e !== !0, O = (!!g ? 1 : 0) + (!!p ? 1 : 0) == 1, D = v != null ? v : O && !C, y = [
35
+ const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, L = S != null ? S : $ && !x, _ = [
36
36
  "orc-btn",
37
37
  c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
- f ? `orc-btn--${f}` : "",
38
+ p ? `orc-btn--${p}` : "",
39
39
  h ? "orc-btn--full" : "",
40
40
  u ? "orc-btn--fullHeight" : "",
41
- D ? "orc-btn--iconOnly" : "",
41
+ L ? "orc-btn--iconOnly" : "",
42
42
  m
43
- ].filter(Boolean).join(" "), $ = /* @__PURE__ */ b(pe, { children: [
44
- g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
45
- !D && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
- p && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: p })
47
- ] }), E = s ? !0 : void 0;
43
+ ].filter(Boolean).join(" "), N = /* @__PURE__ */ y(pe, { children: [
44
+ f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
45
+ !L && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
+ v && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: v })
47
+ ] }), F = s ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
- rt,
49
+ it,
50
50
  {
51
51
  href: n,
52
52
  target: o,
53
- rel: i,
53
+ rel: r,
54
54
  "aria-label": d,
55
- "aria-disabled": E,
56
- tabIndex: E ? -1 : void 0,
57
- className: y,
58
- onClick: E ? (A) => A.preventDefault() : a,
59
- children: $
55
+ "aria-disabled": F,
56
+ tabIndex: F ? -1 : void 0,
57
+ className: _,
58
+ onClick: F ? (D) => D.preventDefault() : a,
59
+ children: N
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
63
63
  {
64
- type: r,
64
+ type: i,
65
65
  onClick: a,
66
- disabled: !!E,
66
+ disabled: !!F,
67
67
  "aria-label": d,
68
- className: y,
69
- children: $
68
+ className: _,
69
+ children: N
70
70
  }
71
71
  );
72
72
  }
@@ -76,12 +76,12 @@ function ge({
76
76
  size: n = "md",
77
77
  className: o = ""
78
78
  }) {
79
- const r = [
79
+ const i = [
80
80
  "orc-section-title",
81
81
  n ? `orc-section-title--${n}` : "",
82
82
  o
83
83
  ].filter(Boolean).join(" ");
84
- return /* @__PURE__ */ b("div", { className: r, children: [
84
+ return /* @__PURE__ */ y("div", { className: i, children: [
85
85
  a && /* @__PURE__ */ t(
86
86
  "img",
87
87
  {
@@ -98,13 +98,13 @@ const dt = ({
98
98
  active: a,
99
99
  onSelect: n,
100
100
  className: o = "",
101
- durationMs: i = 5e3
101
+ durationMs: r = 5e3
102
102
  }) => {
103
103
  if (e <= 1) return null;
104
- const r = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = Z(0);
104
+ const i = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = X(0);
105
105
  return Q(() => {
106
- c((f) => f + 1);
107
- }, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((f, h) => {
106
+ c((p) => p + 1);
107
+ }, [a, r]), /* @__PURE__ */ t("div", { className: i, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((p, h) => {
108
108
  const u = h === a;
109
109
  return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
110
110
  "button",
@@ -115,7 +115,7 @@ const dt = ({
115
115
  "aria-label": `Ir al slide ${h + 1}`,
116
116
  className: "orc-dots__dot" + (u ? " orc-dots__dot--active" : ""),
117
117
  style: u ? {
118
- "--dot-progress-ms": `${i}ms`
118
+ "--dot-progress-ms": `${r}ms`
119
119
  } : void 0,
120
120
  onClick: () => {
121
121
  u && c((m) => m + 1), n == null || n(h);
@@ -130,15 +130,15 @@ function me({
130
130
  minWidth: a = 32,
131
131
  spacing: n = 2,
132
132
  justify: o = "stretch",
133
- columns: i = null
133
+ columns: r = null
134
134
  }) {
135
- const r = i || `repeat(auto-fit, minmax(${a}px, 1fr))`, s = typeof n == "number" ? `${n * 8}px` : n;
135
+ const i = r || `repeat(auto-fit, minmax(${a}px, 1fr))`, s = typeof n == "number" ? `${n * 8}px` : n;
136
136
  return /* @__PURE__ */ t(
137
137
  "div",
138
138
  {
139
139
  style: {
140
140
  display: "grid",
141
- gridTemplateColumns: r,
141
+ gridTemplateColumns: i,
142
142
  justifyItems: o,
143
143
  gap: s,
144
144
  height: "inherit"
@@ -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", Le = {
181
+ const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Pe = {
182
182
  contenedor: Dt,
183
183
  flexGroup: Ut,
184
184
  subtitle: Vt
185
185
  };
186
186
  function Wt({ title: e, subtitle: a }) {
187
- return /* @__PURE__ */ b(
187
+ return /* @__PURE__ */ y(
188
188
  "div",
189
189
  {
190
- className: Le.contenedor,
190
+ className: Pe.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__ */ b(
203
+ a && /* @__PURE__ */ y(
204
204
  "div",
205
205
  {
206
- className: Le.flexGroup,
206
+ className: Pe.flexGroup,
207
207
  children: [
208
- /* @__PURE__ */ b("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: Le.subtitle, children: a }),
213
+ /* @__PURE__ */ t("span", { className: Pe.subtitle, children: a }),
214
214
  /* @__PURE__ */ t("div", {})
215
215
  ]
216
216
  }
@@ -241,13 +241,13 @@ function Gt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
241
241
  );
242
242
  }
243
243
  function jt({ live: e, time: a }) {
244
- return /* @__PURE__ */ b("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
244
+ return /* @__PURE__ */ y("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
245
245
  e && /* @__PURE__ */ t(Gt, { 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
249
  function Ht({ title: e, subtitle: a, live: n = !1, time: o = "" }) {
250
- return /* @__PURE__ */ b(
250
+ return /* @__PURE__ */ y(
251
251
  "div",
252
252
  {
253
253
  style: {
@@ -283,7 +283,7 @@ const Yt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Qt = "orac
283
283
  small: aa
284
284
  };
285
285
  function pt({ text: e, name: a, size: n = "normal" }) {
286
- return /* @__PURE__ */ b(
286
+ return /* @__PURE__ */ y(
287
287
  "div",
288
288
  {
289
289
  className: `${ve.scoreWrapper} ${ve[n]}`,
@@ -294,11 +294,11 @@ 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", ia = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", ra = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", sa = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", la = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
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
298
  team: na,
299
299
  regular: oa,
300
- compact: ia,
301
- logo: ra,
300
+ compact: ra,
301
+ logo: ia,
302
302
  name: sa,
303
303
  skeleton: la
304
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", Se = {
@@ -308,9 +308,9 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
308
308
  highlight: ma
309
309
  };
310
310
  function pa({ jersey: e, className: a }) {
311
- const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null, r = e.sleevelong ? `#${e.sleevelong}` : null;
312
- return /* @__PURE__ */ b("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ b("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
311
+ const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, r = e.stripes ? `#${e.stripes}` : null, i = e.sleevelong ? `#${e.sleevelong}` : null;
312
+ return /* @__PURE__ */ y("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
+ /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ y("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
314
314
  /* @__PURE__ */ t(
315
315
  "path",
316
316
  {
@@ -318,11 +318,11 @@ 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__ */ b(pe, { children: [
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
- /* @__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" })
321
+ r && /* @__PURE__ */ y(pe, { children: [
322
+ /* @__PURE__ */ t("path", { fill: r, 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
+ /* @__PURE__ */ t("path", { fill: r, 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
  ] }),
325
- r && /* @__PURE__ */ t(pe, { children: /* @__PURE__ */ t("path", { fill: r, 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" }) }),
325
+ i && /* @__PURE__ */ t(pe, { children: /* @__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" }) }),
326
326
  /* @__PURE__ */ t(
327
327
  "path",
328
328
  {
@@ -366,8 +366,8 @@ function pa({ jersey: e, className: a }) {
366
366
  )
367
367
  ] });
368
368
  }
369
- function Ne({ name: e, jersey: a, size: n = "regular" }) {
370
- return /* @__PURE__ */ b("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
369
+ function $e({ 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
372
  pa,
373
373
  {
@@ -381,28 +381,28 @@ function Ne({ name: e, jersey: a, size: n = "regular" }) {
381
381
  function fa(e, a, {
382
382
  enabled: n = !0,
383
383
  threshold: o = 60,
384
- cooldownMs: i = 500
384
+ cooldownMs: r = 500
385
385
  } = {}) {
386
- const r = V(0), s = V(0);
386
+ const i = V(0), s = V(0);
387
387
  Q(() => {
388
388
  if (!n) return;
389
389
  const c = e.current;
390
390
  if (!c) return;
391
- const f = (h) => {
391
+ const p = (h) => {
392
392
  const u = a.current;
393
393
  if (!u || !u.go) return;
394
394
  const { deltaX: m, deltaY: d } = h;
395
395
  if (Math.abs(m) <= Math.abs(d)) return;
396
- h.preventDefault(), r.current += m;
397
- const g = Date.now();
398
- if (g - s.current < i || Math.abs(r.current) < o) return;
399
- const p = r.current > 0 ? ">" : "<";
400
- r.current = 0, s.current = g, u.go(p);
396
+ h.preventDefault(), i.current += m;
397
+ const f = Date.now();
398
+ if (f - s.current < r || Math.abs(i.current) < o) return;
399
+ const v = i.current > 0 ? ">" : "<";
400
+ i.current = 0, s.current = f, u.go(v);
401
401
  };
402
- return c.addEventListener("wheel", f, { passive: !1 }), () => {
403
- c.removeEventListener("wheel", f), r.current = 0;
402
+ return c.addEventListener("wheel", p, { passive: !1 }), () => {
403
+ c.removeEventListener("wheel", p), i.current = 0;
404
404
  };
405
- }, [n, o, i, e, a]);
405
+ }, [n, o, r, e, a]);
406
406
  }
407
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
408
  gradientOverlay: ga,
@@ -415,89 +415,106 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
415
415
  renderItem: a,
416
416
  perPage: n = 1,
417
417
  gap: o = "0px",
418
- breakpoints: i,
419
- options: r = {},
418
+ breakpoints: r,
419
+ options: i = {},
420
420
  className: s = "",
421
421
  onMove: c,
422
- useIndexAsKey: f = !1,
422
+ useIndexAsKey: p = !1,
423
423
  enableHorizontalWheel: h = !0,
424
424
  showRightGradient: u = !1
425
425
  }, m) => {
426
- const d = V(null), g = V(null), p = V(e.length), v = V(null), C = V(null);
427
- fa(g, d, {
426
+ const d = V(null), f = V(null), v = V(e.length), S = V(null), x = V(null), g = V("user");
427
+ fa(f, d, {
428
428
  enabled: h
429
429
  }), kt(m, () => ({
430
430
  next: () => {
431
- var E;
432
- return (E = d.current) == null ? void 0 : E.go(">");
431
+ var O;
432
+ return (O = d.current) == null ? void 0 : O.go(">");
433
433
  },
434
434
  prev: () => {
435
- var E;
436
- return (E = d.current) == null ? void 0 : E.go("<");
435
+ var O;
436
+ return (O = d.current) == null ? void 0 : O.go("<");
437
437
  },
438
- go: (E) => {
439
- var A;
440
- return (A = d.current) == null ? void 0 : A.go(E);
438
+ go: (O) => {
439
+ var b;
440
+ return (b = d.current) == null ? void 0 : b.go(O);
441
441
  }
442
442
  }));
443
- const _ = (E) => {
444
- var W;
445
- const A = E.Components.Slides, N = E.Components.Controller, x = E.root.querySelector(".splide__track"), T = (W = x == null ? void 0 : x.clientWidth) != null ? W : 0, L = N.getIndex(), z = A.getLength();
446
- let R = 0, U = L;
447
- for (let G = L; G < z; G++) {
448
- const w = A.getAt(G);
449
- if (!w || (R += w.slide.offsetWidth, R > T)) break;
450
- U = G;
443
+ const C = (O) => {
444
+ var K;
445
+ const b = O.Components.Slides, E = O.Components.Controller, R = O.root.querySelector(".splide__track"), B = (K = R == null ? void 0 : R.clientWidth) != null ? K : 0, A = E.getIndex(), U = b.getLength();
446
+ let W = 0, G = A;
447
+ for (let w = A; w < U; w++) {
448
+ const z = b.getAt(w);
449
+ if (!z || (W += z.slide.offsetWidth, W > B)) break;
450
+ G = w;
451
451
  }
452
- return { visibleStart: L, visibleEnd: U };
453
- }, I = (E) => {
454
- const A = E.root.querySelector(".splide__track"), N = E.root.querySelector(".splide__list");
455
- return !A || !N ? !1 : N.scrollWidth > A.clientWidth + 1;
456
- }, O = Ee((E) => {
457
- var U, W;
458
- const N = E.Components.Slides.getLength();
459
- if (!I(E)) {
452
+ return { visibleStart: A, visibleEnd: G };
453
+ }, $ = (O) => {
454
+ const b = O.root.querySelector(".splide__track"), E = O.root.querySelector(".splide__list");
455
+ return !b || !E ? !1 : E.scrollWidth > b.clientWidth + 1;
456
+ }, L = V(!1), _ = Ce((O) => {
457
+ var K, w;
458
+ if (L.current) return;
459
+ const E = O.Components.Slides.getLength(), R = g.current;
460
+ if (g.current = "user", !$(O)) {
460
461
  c == null || c({
461
462
  index: 0,
462
463
  isStart: !0,
463
464
  isEnd: !0,
464
- total: N,
465
+ total: E,
465
466
  visibleStart: 0,
466
- visibleEnd: N - 1
467
+ visibleEnd: E - 1,
468
+ source: R
467
469
  });
468
470
  return;
469
471
  }
470
- const { visibleStart: x, visibleEnd: T } = _(E), L = x === 0, z = T === N - 1;
471
- u && ((U = v.current) == null || U.style.setProperty("--gradient-opacity", L ? "0" : "1"), (W = C.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
472
- const R = E.Components.Controller.getIndex();
472
+ const { visibleStart: B, visibleEnd: A } = C(O), U = B === 0, W = A === E - 1;
473
+ u && ((K = S.current) == null || K.style.setProperty("--gradient-opacity", U ? "0" : "1"), (w = x.current) == null || w.style.setProperty("--gradient-opacity", W ? "0" : "1"));
474
+ const G = O.Components.Controller.getIndex();
473
475
  c == null || c({
474
- index: R,
475
- isStart: L,
476
- isEnd: z,
477
- total: N,
478
- visibleStart: x,
479
- visibleEnd: T
476
+ index: G,
477
+ isStart: U,
478
+ isEnd: W,
479
+ total: E,
480
+ visibleStart: B,
481
+ visibleEnd: A,
482
+ source: R
480
483
  });
481
484
  }, [c]);
482
485
  fe.useEffect(() => {
483
- var N;
484
- const E = (N = d.current) == null ? void 0 : N.splide;
485
- if (!E) return;
486
- const A = p.current !== e.length;
487
- p.current = e.length, A && requestAnimationFrame(() => {
488
- E.refresh(), O(E);
486
+ var E;
487
+ const O = (E = d.current) == null ? void 0 : E.splide;
488
+ if (!O) return;
489
+ const b = v.current !== e.length;
490
+ v.current = e.length, b && requestAnimationFrame(() => {
491
+ L.current = !0;
492
+ try {
493
+ O.refresh();
494
+ } finally {
495
+ L.current = !1;
496
+ }
497
+ g.current = "resize", _(O);
489
498
  });
490
- }, [e.length, O]);
491
- const D = Ee(() => {
492
- var A;
493
- const E = (A = d.current) == null ? void 0 : A.splide;
494
- E && (E.go(0, !1), O(E));
495
- }, [O]), y = Ee(
496
- (E) => {
497
- O(E);
499
+ }, [e.length, _]);
500
+ const N = Ce(() => {
501
+ var b;
502
+ const O = (b = d.current) == null ? void 0 : b.splide;
503
+ if (O) {
504
+ L.current = !0;
505
+ try {
506
+ O.go(0, !1);
507
+ } finally {
508
+ L.current = !1;
509
+ }
510
+ g.current = "resize", _(O);
511
+ }
512
+ }, [_]), F = Ce(
513
+ (O) => {
514
+ g.current = "mounted", _(O);
498
515
  },
499
- [O]
500
- ), $ = {
516
+ [_]
517
+ ), D = {
501
518
  type: "slide",
502
519
  trimSpace: !1,
503
520
  drag: !0,
@@ -508,14 +525,14 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
508
525
  autoWidth: !1,
509
526
  perPage: n,
510
527
  gap: o,
511
- breakpoints: i,
512
- ...r,
528
+ breakpoints: r,
529
+ ...i,
513
530
  ...h ? { wheel: !1 } : {}
514
531
  };
515
- return /* @__PURE__ */ b(
532
+ return /* @__PURE__ */ y(
516
533
  "div",
517
534
  {
518
- ref: g,
535
+ ref: f,
519
536
  className: s,
520
537
  style: { width: "100%", position: "relative", height: "100%" },
521
538
  children: [
@@ -523,24 +540,24 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
523
540
  _a,
524
541
  {
525
542
  ref: d,
526
- options: $,
527
- onMove: O,
528
- onMounted: y,
529
- onResize: D,
530
- children: e.map((E, A) => {
531
- var N;
532
- return /* @__PURE__ */ t(ya, { children: a(E, A) }, f ? A : (N = E.id) != null ? N : A);
543
+ options: D,
544
+ onMove: _,
545
+ onMounted: F,
546
+ onResize: N,
547
+ children: e.map((O, b) => {
548
+ var E;
549
+ return /* @__PURE__ */ t(ya, { children: a(O, b) }, p ? b : (E = O.id) != null ? E : b);
533
550
  })
534
551
  }
535
552
  ),
536
- u && /* @__PURE__ */ b(pe, { children: [
553
+ u && /* @__PURE__ */ y(pe, { children: [
537
554
  /* @__PURE__ */ t(
538
555
  "div",
539
556
  {
540
- ref: v,
557
+ ref: S,
541
558
  className: `${ye.gradientOverlay} ${ye.left}`,
542
559
  style: { "--gradient-opacity": "0" },
543
- children: /* @__PURE__ */ b(
560
+ children: /* @__PURE__ */ y(
544
561
  "svg",
545
562
  {
546
563
  className: ye.svg,
@@ -550,7 +567,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
550
567
  xmlns: "http://www.w3.org/2000/svg",
551
568
  children: [
552
569
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
553
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ b("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: [
554
571
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
555
572
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
556
573
  ] }) })
@@ -562,10 +579,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
562
579
  /* @__PURE__ */ t(
563
580
  "div",
564
581
  {
565
- ref: C,
582
+ ref: x,
566
583
  className: `${ye.gradientOverlay} ${ye.right}`,
567
584
  style: { "--gradient-opacity": "1" },
568
- children: /* @__PURE__ */ b(
585
+ children: /* @__PURE__ */ y(
569
586
  "svg",
570
587
  {
571
588
  className: ye.svg,
@@ -575,7 +592,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
575
592
  xmlns: "http://www.w3.org/2000/svg",
576
593
  children: [
577
594
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
578
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ b("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: [
579
596
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
580
597
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
581
598
  ] }) })
@@ -595,10 +612,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
595
612
  size: n = "sm",
596
613
  fillParent: o = !1
597
614
  }) => {
598
- const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (c) => {
615
+ const r = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, i = (c) => {
599
616
  c.stopPropagation(), a == null || a();
600
- }, s = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
601
- return /* @__PURE__ */ b(
617
+ }, s = o ? { width: "100%", height: "100%" } : { width: `${r.w}px`, height: `${r.h}px` };
618
+ return /* @__PURE__ */ y(
602
619
  q,
603
620
  {
604
621
  onClick: a,
@@ -669,7 +686,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
669
686
  transition: "opacity .15s ease, transform .15s ease",
670
687
  pointerEvents: "none"
671
688
  },
672
- children: /* @__PURE__ */ t(X, { variant: "primary", size: "md", onClick: r, children: "Jugar" })
689
+ children: /* @__PURE__ */ t(Y, { variant: "primary", size: "md", onClick: i, children: "Jugar" })
673
690
  }
674
691
  )
675
692
  ]
@@ -681,23 +698,23 @@ function xa({
681
698
  orden: a = 1,
682
699
  onClick: n,
683
700
  loading: o = !1,
684
- sizes: i = {
701
+ sizes: r = {
685
702
  xs: { w: 104, h: 112, r: 18, font: 48 },
686
703
  md: { w: 186, h: 264, r: 22.6, font: 64 }
687
704
  }
688
705
  }) {
689
- var m, d, g, p;
690
- const r = (v, C) => {
691
- var _, I, O, D;
706
+ var m, d, f, v;
707
+ const i = (S, x) => {
708
+ var g, C, $, L;
692
709
  return {
693
- xs: (I = (_ = i.xs) == null ? void 0 : _[v]) != null ? I : C,
694
- md: (D = (O = i.md) == null ? void 0 : O[v]) != null ? D : C
710
+ xs: (C = (g = r.xs) == null ? void 0 : g[S]) != null ? C : x,
711
+ md: (L = ($ = r.md) == null ? void 0 : $[S]) != null ? L : x
695
712
  };
696
- }, s = r("w", 186), c = r("h", 264), f = r("r", 22.6), h = r("font", 64), u = {
697
- xs: Math.round(((d = (m = i.xs) == null ? void 0 : m.font) != null ? d : 64) * 0.28),
698
- md: Math.round(((p = (g = i.md) == null ? void 0 : g.font) != null ? p : 64) * 0.28)
713
+ }, s = i("w", 186), c = i("h", 264), p = i("r", 22.6), h = i("font", 64), u = {
714
+ xs: Math.round(((d = (m = r.xs) == null ? void 0 : m.font) != null ? d : 64) * 0.28),
715
+ md: Math.round(((v = (f = r.md) == null ? void 0 : f.font) != null ? v : 64) * 0.28)
699
716
  };
700
- return /* @__PURE__ */ b(
717
+ return /* @__PURE__ */ y(
701
718
  q,
702
719
  {
703
720
  sx: {
@@ -708,7 +725,7 @@ function xa({
708
725
  xs: `${s.xs}/${c.xs}`,
709
726
  md: `${s.md}/${c.md}`
710
727
  },
711
- borderRadius: { xs: `${f.xs}px`, md: `${f.md}px` },
728
+ borderRadius: { xs: `${p.xs}px`, md: `${p.md}px` },
712
729
  boxSizing: "border-box",
713
730
  overflow: "visible",
714
731
  pb: { xs: `${u.xs}px`, md: `${u.md}px` },
@@ -792,13 +809,13 @@ const wa = ({
792
809
  provider: a,
793
810
  providerName: n,
794
811
  machine: o,
795
- onClick: i
812
+ onClick: r
796
813
  }) => {
797
- var r;
798
- return /* @__PURE__ */ b(
814
+ var i;
815
+ return /* @__PURE__ */ y(
799
816
  q,
800
817
  {
801
- onClick: i,
818
+ onClick: r,
802
819
  sx: {
803
820
  flex: "0 0 auto",
804
821
  position: "relative",
@@ -858,7 +875,7 @@ const wa = ({
858
875
  fontSize: { xs: 11, md: 14 },
859
876
  textTransform: "capitalize"
860
877
  },
861
- children: (r = a != null ? a : n) != null ? r : ""
878
+ children: (i = a != null ? a : n) != null ? i : ""
862
879
  }
863
880
  )
864
881
  }
@@ -866,7 +883,7 @@ const wa = ({
866
883
  ]
867
884
  }
868
885
  );
869
- }, Pe = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(q, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
886
+ }, Le = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(q, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
870
887
  j,
871
888
  {
872
889
  variant: "rectangular",
@@ -886,12 +903,12 @@ const wa = ({
886
903
  layout: a = "grid",
887
904
  onClick: n,
888
905
  loading: o = !1,
889
- gridSkeletonCount: i = 4
906
+ gridSkeletonCount: r = 4
890
907
  }) => {
891
- var r, s;
908
+ var i, s;
892
909
  if (a === "mosaic") {
893
- const c = e[0], f = e.slice(1, 5);
894
- return /* @__PURE__ */ b(
910
+ const c = e[0], p = e.slice(1, 5);
911
+ return /* @__PURE__ */ y(
895
912
  q,
896
913
  {
897
914
  sx: {
@@ -909,8 +926,8 @@ const wa = ({
909
926
  xs: "104px",
910
927
  md: "152px"
911
928
  },
912
- columnGap: `${Pe}px`,
913
- rowGap: `${Pe}px`,
929
+ columnGap: `${Le}px`,
930
+ rowGap: `${Le}px`,
914
931
  alignItems: "stretch",
915
932
  justifyItems: "stretch"
916
933
  },
@@ -928,7 +945,7 @@ const wa = ({
928
945
  children: o ? /* @__PURE__ */ t(Fe, {}) : c && /* @__PURE__ */ t(
929
946
  Te,
930
947
  {
931
- imageUrl: `https://olimpo.bet${(s = (r = c.background) != null ? r : c.imageUrl) != null ? s : ""}`,
948
+ imageUrl: `https://olimpo.bet${(s = (i = c.background) != null ? i : c.imageUrl) != null ? s : ""}`,
932
949
  size: "lg",
933
950
  fillParent: !0,
934
951
  onClick: () => n == null ? void 0 : n(c, 0)
@@ -936,7 +953,7 @@ const wa = ({
936
953
  )
937
954
  }
938
955
  ),
939
- (o ? Array.from({ length: 4 }) : f).map((h, u) => {
956
+ (o ? Array.from({ length: 4 }) : p).map((h, u) => {
940
957
  var m, d;
941
958
  return /* @__PURE__ */ t(
942
959
  q,
@@ -977,10 +994,10 @@ const wa = ({
977
994
  xs: "repeat(2, 112px)",
978
995
  md: "repeat(2, 168px)"
979
996
  },
980
- gap: `${Pe}px`,
997
+ gap: `${Le}px`,
981
998
  gridAutoFlow: "column"
982
999
  },
983
- children: (o ? Array.from({ length: i }) : e).map((c, f) => {
1000
+ children: (o ? Array.from({ length: r }) : e).map((c, p) => {
984
1001
  var h, u, m;
985
1002
  return /* @__PURE__ */ t(
986
1003
  q,
@@ -992,11 +1009,11 @@ const wa = ({
992
1009
  imageUrl: `https://olimpo.bet${(u = (h = c.background) != null ? h : c.imageUrl) != null ? u : ""}`,
993
1010
  size: "sm",
994
1011
  fillParent: !0,
995
- onClick: () => n == null ? void 0 : n(c, f)
1012
+ onClick: () => n == null ? void 0 : n(c, p)
996
1013
  }
997
1014
  )
998
1015
  },
999
- o ? `sk-${f}` : (m = c.id) != null ? m : f
1016
+ o ? `sk-${p}` : (m = c.id) != null ? m : p
1000
1017
  );
1001
1018
  })
1002
1019
  }
@@ -1006,14 +1023,14 @@ const wa = ({
1006
1023
  amount: a,
1007
1024
  subtitle: n,
1008
1025
  buttonText: o,
1009
- onButtonClick: i,
1010
- backgroundImage: r,
1026
+ onButtonClick: r,
1027
+ backgroundImage: i,
1011
1028
  alt: s,
1012
1029
  className: c = "",
1013
- variant: f = "small"
1030
+ variant: p = "small"
1014
1031
  }) => {
1015
- const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", m = f === "large";
1016
- return /* @__PURE__ */ b(
1032
+ const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", m = p === "large";
1033
+ return /* @__PURE__ */ y(
1017
1034
  q,
1018
1035
  {
1019
1036
  className: c,
@@ -1027,7 +1044,7 @@ const wa = ({
1027
1044
  mx: "auto"
1028
1045
  },
1029
1046
  children: [
1030
- r && /* @__PURE__ */ t(
1047
+ i && /* @__PURE__ */ t(
1031
1048
  q,
1032
1049
  {
1033
1050
  sx: {
@@ -1044,7 +1061,7 @@ const wa = ({
1044
1061
  q,
1045
1062
  {
1046
1063
  component: "img",
1047
- src: r,
1064
+ src: i,
1048
1065
  alt: s != null ? s : "Fondo promocional",
1049
1066
  sx: {
1050
1067
  width: "100%",
@@ -1074,7 +1091,7 @@ const wa = ({
1074
1091
  pl: "14%",
1075
1092
  pr: { xs: "14%", lg: "15%" }
1076
1093
  },
1077
- children: /* @__PURE__ */ b(
1094
+ children: /* @__PURE__ */ y(
1078
1095
  q,
1079
1096
  {
1080
1097
  sx: {
@@ -1095,7 +1112,7 @@ const wa = ({
1095
1112
  children: e
1096
1113
  }
1097
1114
  ),
1098
- a && /* @__PURE__ */ b(
1115
+ a && /* @__PURE__ */ y(
1099
1116
  q,
1100
1117
  {
1101
1118
  component: "p",
@@ -1144,7 +1161,7 @@ const wa = ({
1144
1161
  children: n
1145
1162
  }
1146
1163
  ),
1147
- o && /* @__PURE__ */ t(X, { onClick: i, children: o })
1164
+ o && /* @__PURE__ */ t(Y, { onClick: r, children: o })
1148
1165
  ]
1149
1166
  }
1150
1167
  )
@@ -1158,28 +1175,28 @@ const wa = ({
1158
1175
  buttonLabel: a = "Conoce más",
1159
1176
  onClick: n,
1160
1177
  imgAlt: o = "Club Olimpo",
1161
- imgSrcMobile: i,
1162
- imgSrcDesktopBg: r,
1178
+ imgSrcMobile: r,
1179
+ imgSrcDesktopBg: i,
1163
1180
  imgSrcDesktopLogo: s
1164
- }) => /* @__PURE__ */ b(pe, { children: [
1181
+ }) => /* @__PURE__ */ y(pe, { children: [
1165
1182
  /* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
1166
1183
  "img",
1167
1184
  {
1168
- src: i,
1185
+ src: r,
1169
1186
  alt: o,
1170
1187
  className: "orc-co-bgMobileImg"
1171
1188
  }
1172
1189
  ) }),
1173
- /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ b("div", { className: "orc-co-desktopInner", children: [
1174
- r && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
1190
+ /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ y("div", { className: "orc-co-desktopInner", children: [
1191
+ i && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
1175
1192
  "img",
1176
1193
  {
1177
- src: r,
1194
+ src: i,
1178
1195
  alt: `${o} fondo`,
1179
1196
  className: "orc-co-bgDesktopImg"
1180
1197
  }
1181
1198
  ) }),
1182
- /* @__PURE__ */ b("div", { className: "orc-co-desktopContent", children: [
1199
+ /* @__PURE__ */ y("div", { className: "orc-co-desktopContent", children: [
1183
1200
  s && /* @__PURE__ */ t(
1184
1201
  "img",
1185
1202
  {
@@ -1189,22 +1206,22 @@ const wa = ({
1189
1206
  }
1190
1207
  ),
1191
1208
  /* @__PURE__ */ t("p", { className: "orc-co-captionDesktop", children: e }),
1192
- /* @__PURE__ */ t(X, { onClick: n, variant: "primary", size: "md", children: a })
1209
+ /* @__PURE__ */ t(Y, { onClick: n, variant: "primary", size: "md", children: a })
1193
1210
  ] })
1194
1211
  ] }) }),
1195
- /* @__PURE__ */ b("div", { className: "orc-co-bottom", children: [
1212
+ /* @__PURE__ */ y("div", { className: "orc-co-bottom", children: [
1196
1213
  /* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
1197
- /* @__PURE__ */ t(X, { onClick: n, variant: "primary", size: "md", children: a })
1214
+ /* @__PURE__ */ t(Y, { onClick: n, variant: "primary", size: "md", children: a })
1198
1215
  ] })
1199
- ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ca = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ea = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", $a = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Na = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1216
+ ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Oa = "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 = {
1200
1217
  card: Ia,
1201
- combinadas: Ca,
1218
+ combinadas: Ea,
1202
1219
  combinadasScroll: Oa,
1203
- apuestaItem: Ea,
1220
+ apuestaItem: Ca,
1204
1221
  lineContainer: Ta,
1205
1222
  circle: ka,
1206
- line: $a,
1207
- apuestaText: Na,
1223
+ line: Na,
1224
+ apuestaText: $a,
1208
1225
  cuotaTotal: Ma
1209
1226
  };
1210
1227
  function Ue(e, a) {
@@ -1231,11 +1248,11 @@ async function gt(e) {
1231
1248
  })
1232
1249
  })).json();
1233
1250
  }
1234
- const ht = $t(void 0), bt = ({ children: e, docId: a, moduleId: n }) => {
1251
+ const ht = Nt(void 0), bt = ({ children: e, docId: a, moduleId: n }) => {
1235
1252
  const o = fe.useMemo(() => ({ docId: a, moduleId: n }), [a, n]);
1236
1253
  return /* @__PURE__ */ t(ht.Provider, { value: o, children: e });
1237
1254
  }, vt = () => {
1238
- const e = Nt(ht);
1255
+ const e = $t(ht);
1239
1256
  if (!e)
1240
1257
  throw new Error("useDocContext debe usarse dentro de DocIdProvider");
1241
1258
  return e;
@@ -1244,84 +1261,84 @@ function Ra({ coupon: e }) {
1244
1261
  var h;
1245
1262
  const a = ae(), n = ne();
1246
1263
  function o(u) {
1247
- var g, p;
1264
+ var f, v;
1248
1265
  const m = [], d = Array.from(
1249
1266
  new Map(
1250
- ((g = u == null ? void 0 : u.events) != null ? g : []).filter(Boolean).map((v) => [v.id, v])
1267
+ ((f = u == null ? void 0 : u.events) != null ? f : []).filter(Boolean).map((S) => [S.id, S])
1251
1268
  ).values()
1252
1269
  );
1253
- return d.forEach((v) => {
1254
- var O;
1255
- const C = (O = v.betoffers) != null ? O : [], _ = v.homeName, I = v.awayName;
1256
- C.forEach((D) => {
1257
- var A, N, x, T, L, z, R;
1258
- if (!((A = D == null ? void 0 : D.outcomes) != null && A.length)) return;
1259
- const y = D.outcomes[0];
1260
- if (!y) return;
1261
- let $ = "";
1262
- const E = y != null && y.line ? y.line / 1e3 : "";
1263
- ["Más de", "Mas de", "Over"].includes(y.label) ? ($ = `Más de ${E}`, y.participant && ($ = `${y.participant} - ${$}`)) : ["Menos de", "Menos", "Under"].includes(y.label) ? ($ = `Menos de ${E}`, y.participant && ($ = `${y.participant} - ${$}`)) : ["Sí", "No"].includes(y.label) ? ($ = y.label, y.participant && ($ = `${y.participant} - ${$}`)) : ["1X", "12", "X2"].includes(y.label) ? (y.label === "1X" && ($ = `${_} o Empate`), y.label === "12" && ($ = `${_} o ${I}`), y.label === "X2" && ($ = `${I} o Empate`)) : ($ = (x = (N = y.participant) != null ? N : y.label) != null ? x : "", E !== "" && $ === y.label && ($ = `${y.label} ${E}`)), m.push({
1264
- id: y.id,
1265
- value: $,
1266
- label: (L = (T = D.criterion) == null ? void 0 : T.label) != null ? L : "",
1267
- odds: (z = y.odds) != null ? z : 0,
1268
- position: (R = y.position) != null ? R : 0,
1269
- eventId: v.id
1270
+ return d.forEach((S) => {
1271
+ var $;
1272
+ const x = ($ = S.betoffers) != null ? $ : [], g = S.homeName, C = S.awayName;
1273
+ x.forEach((L) => {
1274
+ var D, O, b, E, R, B, A;
1275
+ if (!((D = L == null ? void 0 : L.outcomes) != null && D.length)) return;
1276
+ const _ = L.outcomes[0];
1277
+ if (!_) return;
1278
+ let N = "";
1279
+ const F = _ != null && _.line ? _.line / 1e3 : "";
1280
+ ["Más de", "Mas de", "Over"].includes(_.label) ? (N = `Más de ${F}`, _.participant && (N = `${_.participant} - ${N}`)) : ["Menos de", "Menos", "Under"].includes(_.label) ? (N = `Menos de ${F}`, _.participant && (N = `${_.participant} - ${N}`)) : ["Sí", "No"].includes(_.label) ? (N = _.label, _.participant && (N = `${_.participant} - ${N}`)) : ["1X", "12", "X2"].includes(_.label) ? (_.label === "1X" && (N = `${g} o Empate`), _.label === "12" && (N = `${g} o ${C}`), _.label === "X2" && (N = `${C} o Empate`)) : (N = (b = (O = _.participant) != null ? O : _.label) != null ? b : "", F !== "" && N === _.label && (N = `${_.label} ${F}`)), m.push({
1281
+ id: _.id,
1282
+ value: N,
1283
+ label: (R = (E = L.criterion) == null ? void 0 : E.label) != null ? R : "",
1284
+ odds: (B = _.odds) != null ? B : 0,
1285
+ position: (A = _.position) != null ? A : 0,
1286
+ eventId: S.id
1270
1287
  });
1271
1288
  });
1272
1289
  }), {
1273
- outcomes: m.sort((v, C) => v.position - C.position),
1274
- total: Number((p = u == null ? void 0 : u.combinadoTotal) != null ? p : 0).toLocaleString("en-US", {
1290
+ outcomes: m.sort((S, x) => S.position - x.position),
1291
+ total: Number((v = u == null ? void 0 : u.combinadoTotal) != null ? v : 0).toLocaleString("en-US", {
1275
1292
  minimumFractionDigits: 2,
1276
1293
  maximumFractionDigits: 2
1277
1294
  }),
1278
1295
  events: d
1279
1296
  };
1280
1297
  }
1281
- function i(u) {
1298
+ function r(u) {
1282
1299
  if (!u || !Array.isArray(u.events) || u.events.length === 0)
1283
1300
  return "/deportes#home";
1284
1301
  const m = u.events;
1285
1302
  if (m.length === 1)
1286
1303
  return `/deportes#event/${m[0].id}`;
1287
1304
  const d = m[0].groupId;
1288
- if (m.every((p) => p.groupId === d)) {
1289
- const p = m[0].path;
1290
- if (Array.isArray(p) && p.length > 0)
1291
- return `/deportes#sports-hub/${p.map((C) => C.termKey).filter(Boolean).join("/")}`;
1305
+ if (m.every((v) => v.groupId === d)) {
1306
+ const v = m[0].path;
1307
+ if (Array.isArray(v) && v.length > 0)
1308
+ return `/deportes#sports-hub/${v.map((x) => x.termKey).filter(Boolean).join("/")}`;
1292
1309
  }
1293
1310
  return "/deportes#home";
1294
1311
  }
1295
- const r = (u, m) => {
1296
- const d = Array.isArray(u) ? u : [u], g = Array.from(
1312
+ const i = (u, m) => {
1313
+ const d = Array.isArray(u) ? u : [u], f = Array.from(
1297
1314
  new Set(
1298
- s.outcomes.map((C) => {
1299
- var I;
1300
- const _ = f.get(Number(C.eventId));
1301
- return (I = _ == null ? void 0 : _.name) != null ? I : "";
1315
+ s.outcomes.map((x) => {
1316
+ var C;
1317
+ const g = p.get(Number(x.eventId));
1318
+ return (C = g == null ? void 0 : g.name) != null ? C : "";
1302
1319
  })
1303
1320
  )
1304
- ).filter(Boolean), p = g.length > 0 ? g.join(" + ") : JSON.stringify(d), v = m ? `${p} - Cuota: ${m}` : p;
1321
+ ).filter(Boolean), v = f.length > 0 ? f.join(" + ") : JSON.stringify(d), S = m ? `${v} - Cuota: ${m}` : v;
1305
1322
  a({
1306
1323
  element: "evento_semana_outcome",
1307
- label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${v}`,
1324
+ label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${S}`,
1308
1325
  target: "/deportes#in-play",
1309
1326
  event_type: "click",
1310
1327
  module_id: 301,
1311
1328
  metadata: {
1312
1329
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1313
1330
  },
1314
- tags: { section: "OraculoEventCombinadasCard", outcomes: v }
1315
- }), Ue(i(e), u);
1331
+ tags: { section: "OraculoEventCombinadasCard", outcomes: S }
1332
+ }), Ue(r(e), u);
1316
1333
  };
1317
1334
  if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
1318
- const s = o(e), c = s.outcomes.reduce((u, m) => (u[m.eventId] || (u[m.eventId] = []), u[m.eventId].push(m), u), {}), f = new Map(
1335
+ const s = o(e), c = s.outcomes.reduce((u, m) => (u[m.eventId] || (u[m.eventId] = []), u[m.eventId].push(m), u), {}), p = new Map(
1319
1336
  s.events.map((u) => [u.id, u])
1320
1337
  );
1321
- return /* @__PURE__ */ b("div", { className: ce.card, children: [
1338
+ return /* @__PURE__ */ y("div", { className: ce.card, children: [
1322
1339
  /* @__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(c).reverse().map(([u, m]) => {
1323
- const d = f.get(Number(u));
1324
- return d ? /* @__PURE__ */ b(
1340
+ const d = p.get(Number(u));
1341
+ return d ? /* @__PURE__ */ y(
1325
1342
  H,
1326
1343
  {
1327
1344
  direction: "column",
@@ -1343,32 +1360,32 @@ function Ra({ coupon: e }) {
1343
1360
  src: "/assets/img/home/Combinadas/line.png"
1344
1361
  }
1345
1362
  ),
1346
- m.map((g, p) => /* @__PURE__ */ b("div", { className: ce.apuestaItem, children: [
1347
- /* @__PURE__ */ b("div", { className: ce.lineContainer, children: [
1363
+ m.map((f, v) => /* @__PURE__ */ y("div", { className: ce.apuestaItem, children: [
1364
+ /* @__PURE__ */ y("div", { className: ce.lineContainer, children: [
1348
1365
  /* @__PURE__ */ t("div", { className: ce.circle }),
1349
- p < m.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1366
+ v < m.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1350
1367
  ] }),
1351
- /* @__PURE__ */ b("div", { className: ce.apuestaText, children: [
1352
- /* @__PURE__ */ t("strong", { children: g.value }),
1368
+ /* @__PURE__ */ y("div", { className: ce.apuestaText, children: [
1369
+ /* @__PURE__ */ t("strong", { children: f.value }),
1353
1370
  " | ",
1354
- g.label
1371
+ f.label
1355
1372
  ] })
1356
- ] }, `${u}-${p}`))
1373
+ ] }, `${u}-${v}`))
1357
1374
  ]
1358
1375
  },
1359
1376
  u
1360
1377
  ) : null;
1361
1378
  }) }) }) }),
1362
- /* @__PURE__ */ b(
1379
+ /* @__PURE__ */ y(
1363
1380
  "button",
1364
1381
  {
1365
- onClick: () => r(
1382
+ onClick: () => i(
1366
1383
  s.outcomes.map((u) => u.id),
1367
1384
  s.total
1368
1385
  ),
1369
1386
  className: ce.cuotaTotal,
1370
1387
  children: [
1371
- /* @__PURE__ */ b("span", { children: [
1388
+ /* @__PURE__ */ y("span", { children: [
1372
1389
  "Cuota total: ",
1373
1390
  /* @__PURE__ */ t("strong", { children: s.total })
1374
1391
  ] }),
@@ -1399,67 +1416,67 @@ const de = {
1399
1416
  "orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
1400
1417
  "orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
1401
1418
  };
1402
- function La({
1419
+ function Pa({
1403
1420
  children: e,
1404
1421
  onClick: a,
1405
1422
  href: n,
1406
1423
  target: o,
1407
- rel: i,
1408
- type: r = "button",
1424
+ rel: r,
1425
+ type: i = "button",
1409
1426
  disabled: s = !1,
1410
1427
  variant: c = "primary",
1411
- size: f,
1428
+ size: p,
1412
1429
  fullWidth: h = !1,
1413
1430
  fullHeight: u = !1,
1414
1431
  className: m = "",
1415
1432
  ariaLabel: d,
1416
- leftIcon: g,
1417
- rightIcon: p,
1418
- iconOnly: v
1433
+ leftIcon: f,
1434
+ rightIcon: v,
1435
+ iconOnly: S
1419
1436
  }) {
1420
- const C = !!e && e !== !0, O = (!!g ? 1 : 0) + (!!p ? 1 : 0) == 1, D = v != null ? v : O && !C, y = [
1437
+ const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, L = S != null ? S : $ && !x, _ = [
1421
1438
  de["orc-btn"],
1422
1439
  // base
1423
1440
  de[`orc-btn--${c}`],
1424
1441
  // variant primary/secondary/tertiary
1425
- f ? de[`orc-btn--${f}`] : "",
1442
+ p ? de[`orc-btn--${p}`] : "",
1426
1443
  // sm / md / lg
1427
1444
  h ? de["orc-btn--full"] : "",
1428
1445
  u ? de["orc-btn--fullHeight"] : "",
1429
- D ? de["orc-btn--iconOnly"] : "",
1446
+ L ? de["orc-btn--iconOnly"] : "",
1430
1447
  m
1431
- ].filter(Boolean).join(" "), $ = /* @__PURE__ */ b(pe, { children: [
1432
- g && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: g }),
1433
- !D && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1434
- p && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: p })
1435
- ] }), E = s ? !0 : void 0;
1448
+ ].filter(Boolean).join(" "), N = /* @__PURE__ */ y(pe, { children: [
1449
+ f && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: f }),
1450
+ !L && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1451
+ v && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: v })
1452
+ ] }), F = s ? !0 : void 0;
1436
1453
  return n ? /* @__PURE__ */ t(
1437
- rt,
1454
+ it,
1438
1455
  {
1439
1456
  href: n,
1440
1457
  target: o,
1441
- rel: i,
1458
+ rel: r,
1442
1459
  "aria-label": d,
1443
- "aria-disabled": E,
1444
- tabIndex: E ? -1 : void 0,
1445
- className: y,
1446
- onClick: E ? (A) => A.preventDefault() : a,
1447
- children: $
1460
+ "aria-disabled": F,
1461
+ tabIndex: F ? -1 : void 0,
1462
+ className: _,
1463
+ onClick: F ? (D) => D.preventDefault() : a,
1464
+ children: N
1448
1465
  }
1449
1466
  ) : /* @__PURE__ */ t(
1450
1467
  "button",
1451
1468
  {
1452
- type: r,
1469
+ type: i,
1453
1470
  onClick: a,
1454
- disabled: !!E,
1471
+ disabled: !!F,
1455
1472
  "aria-label": d,
1456
- className: y,
1457
- children: $
1473
+ className: _,
1474
+ children: N
1458
1475
  }
1459
1476
  );
1460
1477
  }
1461
- const Pa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", qa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1462
- cardWrapper: Pa,
1478
+ const La = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", qa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1479
+ cardWrapper: La,
1463
1480
  customButtonLabel: Fa,
1464
1481
  customButtonDisabled: qa
1465
1482
  }, Xe = {
@@ -1475,22 +1492,22 @@ const Pa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "
1475
1492
  real: !1,
1476
1493
  type: "short_sleeves"
1477
1494
  }, Me = (e, a, n = "player") => {
1478
- var i, r;
1495
+ var r, i;
1479
1496
  if (e === void 0)
1480
1497
  return null;
1481
1498
  if (e === null)
1482
1499
  return a === "home" ? Xe : Ye;
1483
- const o = (r = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : r[n];
1500
+ const o = (i = (r = e == null ? void 0 : e.jerseys) == null ? void 0 : r[a]) == null ? void 0 : i[n];
1484
1501
  return o || (a === "home" ? Xe : Ye);
1485
1502
  };
1486
1503
  function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1487
- var c, f, h, u, m, d, g, p, v, C, _;
1488
- const i = n == null ? void 0 : n.find(
1489
- (I) => {
1490
- var O;
1491
- return ((O = I.betOfferType) == null ? void 0 : O.id) === 2;
1504
+ var c, p, h, u, m, d, f, v, S, x, g;
1505
+ const r = n == null ? void 0 : n.find(
1506
+ (C) => {
1507
+ var $;
1508
+ return (($ = C.betOfferType) == null ? void 0 : $.id) === 2;
1492
1509
  }
1493
- ), r = {
1510
+ ), i = {
1494
1511
  englishLabel: "",
1495
1512
  type: "",
1496
1513
  betOfferId: 0,
@@ -1500,32 +1517,32 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1500
1517
  status: "INACTIVE",
1501
1518
  cashOutStatus: "SUSPENDED"
1502
1519
  }, s = [
1503
- { ...r, id: -1, label: "1", odds: void 0 },
1504
- { ...r, id: -2, label: "X", odds: void 0 },
1505
- { ...r, id: -3, label: "2", odds: void 0 }
1520
+ { ...i, id: -1, label: "1", odds: void 0 },
1521
+ { ...i, id: -2, label: "X", odds: void 0 },
1522
+ { ...i, id: -3, label: "2", odds: void 0 }
1506
1523
  ];
1507
- return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1508
- /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1524
+ return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
+ /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1509
1526
  /* @__PURE__ */ t(
1510
1527
  Ht,
1511
1528
  {
1512
- title: (h = (f = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : f.name) != null ? h : "",
1529
+ title: (h = (p = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : p.name) != null ? h : "",
1513
1530
  subtitle: (u = e == null ? void 0 : e.group) != null ? u : "",
1514
1531
  live: !0,
1515
1532
  time: ((m = a == null ? void 0 : a.matchClock) == null ? void 0 : m.minute) != null ? `${a.matchClock.minute}'` : ""
1516
1533
  }
1517
1534
  ),
1518
- /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1519
- /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
1520
- /* @__PURE__ */ t(pt, { text: ((g = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? g : 0) + ":" + ((v = (p = a == null ? void 0 : a.score) == null ? void 0 : p.away) != null ? v : 0), name: "En vivo" }),
1521
- /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
1535
+ /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1536
+ /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
1537
+ /* @__PURE__ */ t(pt, { text: ((f = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? f : 0) + ":" + ((S = (v = a == null ? void 0 : a.score) == null ? void 0 : v.away) != null ? S : 0), name: "En vivo" }),
1538
+ /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
1522
1539
  ] }) })
1523
1540
  ] }),
1524
- /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
- /* @__PURE__ */ t(me, { spacing: 1, children: ((C = i == null ? void 0 : i.outcomes) != null ? C : s).map((I, O) => /* @__PURE__ */ t(ut, { text: I.label.toUpperCase() }, O)) }),
1526
- /* @__PURE__ */ t(me, { spacing: 2, children: ((_ = i == null ? void 0 : i.outcomes) != null ? _ : s).map((I, O) => /* @__PURE__ */ t(La, { variant: "primary", disabled: I.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
- Ue("/deportes#event/live/" + e.id, I.id);
1528
- }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: I.odds === void 0 ? "" : (I.odds / 1e3).toFixed(2) }) }, O)) })
1541
+ /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1542
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((x = r == null ? void 0 : r.outcomes) != null ? x : s).map((C, $) => /* @__PURE__ */ t(ut, { text: C.label.toUpperCase() }, $)) }),
1543
+ /* @__PURE__ */ t(me, { spacing: 2, children: ((g = r == null ? void 0 : r.outcomes) != null ? g : s).map((C, $) => /* @__PURE__ */ t(Pa, { variant: "primary", disabled: C.odds == null || (r == null ? void 0 : r.cashOutStatus) == "SUSPENDED", onClick: () => {
1544
+ Ue("/deportes#event/live/" + e.id, C.id);
1545
+ }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: C.odds === void 0 ? "" : (C.odds / 1e3).toFixed(2) }) }, $)) })
1529
1546
  ] })
1530
1547
  ] }) });
1531
1548
  }
@@ -1542,43 +1559,43 @@ const Ga = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ja =
1542
1559
  equipos: Ka
1543
1560
  };
1544
1561
  function Za({ event: e, jersey: a }) {
1545
- var s, c, f, h, u, m, d;
1562
+ var s, c, p, h, u, m, d;
1546
1563
  const n = ae(), o = ne();
1547
- function i(g) {
1548
- const p = new Date(g), v = p.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), C = p.getDate().toString().padStart(2, "0"), _ = (p.getMonth() + 1).toString().padStart(2, "0");
1549
- let I = p.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1550
- return I = I.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${v} ${C}/${_} | ${I}`;
1564
+ function r(f) {
1565
+ const v = new Date(f), S = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), x = v.getDate().toString().padStart(2, "0"), g = (v.getMonth() + 1).toString().padStart(2, "0");
1566
+ let C = v.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1567
+ return C = C.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${S} ${x}/${g} | ${C}`;
1551
1568
  }
1552
- const r = (g, p) => {
1553
- const v = `${e.homeName} vs ${e.awayName}`, C = p ? (p / 1e3).toFixed(2) : "", _ = C ? `${v} - Cuota: ${C}` : v;
1569
+ const i = (f, v) => {
1570
+ const S = `${e.homeName} vs ${e.awayName}`, x = v ? (v / 1e3).toFixed(2) : "", g = x ? `${S} - Cuota: ${x}` : S;
1554
1571
  n({
1555
1572
  element: "evento_semana_outcome",
1556
- label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${_}`,
1573
+ label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${g}`,
1557
1574
  target: "/deportes#in-play",
1558
1575
  event_type: "click",
1559
1576
  module_id: 301,
1560
1577
  metadata: {
1561
1578
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1562
1579
  },
1563
- tags: { section: "OraculoEventSemanaCard", outcomes: _ }
1564
- }), Ue("/deportes#event/" + e.id, g);
1580
+ tags: { section: "OraculoEventSemanaCard", outcomes: g }
1581
+ }), Ue("/deportes#event/" + e.id, f);
1565
1582
  };
1566
- return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
1583
+ return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
1567
1584
  /* @__PURE__ */ t(mt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
1568
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1569
- /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1570
- /* @__PURE__ */ b("div", { className: be.equipos, children: [
1571
- /* @__PURE__ */ t(Ne, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
1585
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1586
+ /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1587
+ /* @__PURE__ */ y("div", { className: be.equipos, children: [
1588
+ /* @__PURE__ */ t($e, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
1572
1589
  /* @__PURE__ */ t(pt, { text: "vs.", name: "", size: "small" }),
1573
- /* @__PURE__ */ t(Ne, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
1590
+ /* @__PURE__ */ t($e, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
1574
1591
  ] }),
1575
- /* @__PURE__ */ t(Wa, { text: i(e.start) })
1592
+ /* @__PURE__ */ t(Wa, { text: r(e.start) })
1576
1593
  ] }),
1577
- /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1578
- /* @__PURE__ */ t(me, { spacing: 1, children: ((h = (f = (c = e == null ? void 0 : e.outcome) == null ? void 0 : c[0]) == null ? void 0 : f.outcomes) != null ? h : []).map((g, p) => /* @__PURE__ */ t(ut, { text: g.label.toUpperCase() }, p)) }),
1579
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (m = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : m.outcomes) != null ? d : []).map((g, p) => /* @__PURE__ */ t(X, { variant: "primary", fullHeight: !0, onClick: () => {
1580
- r(g.id, g.odds);
1581
- }, children: (g.odds / 1e3).toFixed(2) }, p)) }) })
1594
+ /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1595
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((h = (p = (c = e == null ? void 0 : e.outcome) == null ? void 0 : c[0]) == null ? void 0 : p.outcomes) != null ? h : []).map((f, v) => /* @__PURE__ */ t(ut, { text: f.label.toUpperCase() }, v)) }),
1596
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (m = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : m.outcomes) != null ? d : []).map((f, v) => /* @__PURE__ */ t(Y, { variant: "primary", fullHeight: !0, onClick: () => {
1597
+ i(f.id, f.odds);
1598
+ }, children: (f.odds / 1e3).toFixed(2) }, v)) }) })
1582
1599
  ] })
1583
1600
  ] }) })
1584
1601
  ] });
@@ -1588,12 +1605,12 @@ function Ja({
1588
1605
  title: a = "Destacados",
1589
1606
  iconUrl: n,
1590
1607
  onViewMore: o,
1591
- className: i = "",
1592
- paddingMobile: r = "16px"
1608
+ className: r = "",
1609
+ paddingMobile: i = "16px"
1593
1610
  }) {
1594
- var D;
1595
- const s = V(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), h = ae(), u = ne(), m = le(), d = !e || e.length === 0, g = () => {
1596
- var y;
1611
+ var L;
1612
+ const s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), h = ae(), u = ne(), m = le(), d = !e || e.length === 0, f = () => {
1613
+ var _;
1597
1614
  h({
1598
1615
  element: "destacados_carousel_prev",
1599
1616
  label: `${u} - OraculoSeccionDestacados - Anterior`,
@@ -1604,9 +1621,9 @@ function Ja({
1604
1621
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1605
1622
  },
1606
1623
  tags: { section: "OraculoSeccionDestacados" }
1607
- }), (y = s.current) == null || y.prev();
1608
- }, p = () => {
1609
- var y;
1624
+ }), (_ = s.current) == null || _.prev();
1625
+ }, v = () => {
1626
+ var _;
1610
1627
  h({
1611
1628
  element: "destacados_carousel_next",
1612
1629
  label: `${u} - OraculoSeccionDestacados - Siguiente`,
@@ -1617,8 +1634,8 @@ function Ja({
1617
1634
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1618
1635
  },
1619
1636
  tags: { section: "OraculoSeccionDestacados" }
1620
- }), (y = s.current) == null || y.next();
1621
- }, v = () => {
1637
+ }), (_ = s.current) == null || _.next();
1638
+ }, S = () => {
1622
1639
  h({
1623
1640
  element: "destacados_view_more",
1624
1641
  label: `${u} - OraculoSeccionDestacados - Ver más`,
@@ -1630,13 +1647,13 @@ function Ja({
1630
1647
  },
1631
1648
  tags: { section: "OraculoSeccionDestacados" }
1632
1649
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1633
- }, C = (y) => {
1634
- if (!y) return;
1635
- const E = `https://www.olimpo.bet/promociones/${encodeURIComponent(y)}`;
1650
+ }, x = (_) => {
1651
+ if (!_) return;
1652
+ const F = `https://www.olimpo.bet/promociones/${encodeURIComponent(_)}`;
1636
1653
  h({
1637
1654
  element: "destacados_card",
1638
- label: `${u} - OraculoSeccionDestacados - Click: ${String(y)}`,
1639
- target: E,
1655
+ label: `${u} - OraculoSeccionDestacados - Click: ${String(_)}`,
1656
+ target: F,
1640
1657
  event_type: "click",
1641
1658
  module_id: m,
1642
1659
  metadata: {
@@ -1644,18 +1661,18 @@ function Ja({
1644
1661
  },
1645
1662
  tags: {
1646
1663
  section: "OraculoSeccionDestacados",
1647
- promotion: String(y)
1664
+ promotion: String(_)
1648
1665
  }
1649
- }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(E);
1650
- }, _ = i || void 0, I = xe("(max-width:950px)"), O = (D = e == null ? void 0 : e.length) != null ? D : 0;
1666
+ }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(F);
1667
+ }, g = r || void 0, C = xe("(max-width:950px)"), $ = (L = e == null ? void 0 : e.length) != null ? L : 0;
1651
1668
  return Q(() => {
1652
- if (O === 0) {
1653
- f({ isStart: !0, isEnd: !0 });
1669
+ if ($ === 0) {
1670
+ p({ isStart: !0, isEnd: !0 });
1654
1671
  return;
1655
1672
  }
1656
- f({ isStart: !0, isEnd: !1 });
1657
- }, [O, I, r]), /* @__PURE__ */ b("section", { className: _, style: { width: "100%" }, children: [
1658
- /* @__PURE__ */ b(
1673
+ p({ isStart: !0, isEnd: !1 });
1674
+ }, [$, C, i]), /* @__PURE__ */ y("section", { className: g, style: { width: "100%" }, children: [
1675
+ /* @__PURE__ */ y(
1659
1676
  "header",
1660
1677
  {
1661
1678
  style: {
@@ -1665,36 +1682,36 @@ function Ja({
1665
1682
  columnGap: 12,
1666
1683
  rowGap: 8,
1667
1684
  marginBottom: 16,
1668
- paddingLeft: I ? r : 0,
1669
- paddingRight: I ? r : 0
1685
+ paddingLeft: C ? i : 0,
1686
+ paddingRight: C ? i : 0
1670
1687
  },
1671
1688
  children: [
1672
1689
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1673
- /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8 }, children: [
1690
+ /* @__PURE__ */ y("div", { style: { display: "flex", gap: 8 }, children: [
1674
1691
  /* @__PURE__ */ t(
1675
- X,
1692
+ Y,
1676
1693
  {
1677
1694
  ariaLabel: "Anterior",
1678
1695
  variant: "secondary",
1679
1696
  iconOnly: !0,
1680
1697
  leftIcon: /* @__PURE__ */ t(Ae, {}),
1681
- onClick: g,
1698
+ onClick: f,
1682
1699
  disabled: c.isStart || d
1683
1700
  }
1684
1701
  ),
1685
1702
  /* @__PURE__ */ t(
1686
- X,
1703
+ Y,
1687
1704
  {
1688
1705
  ariaLabel: "Siguiente",
1689
1706
  variant: "secondary",
1690
1707
  iconOnly: !0,
1691
1708
  rightIcon: /* @__PURE__ */ t(ze, {}),
1692
- onClick: p,
1709
+ onClick: v,
1693
1710
  disabled: c.isEnd || d
1694
1711
  }
1695
1712
  )
1696
1713
  ] }),
1697
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: v, children: "Ver más" })
1714
+ /* @__PURE__ */ t(Y, { variant: "secondary", onClick: S, children: "Ver más" })
1698
1715
  ]
1699
1716
  }
1700
1717
  ),
@@ -1706,25 +1723,25 @@ function Ja({
1706
1723
  perPage: void 0,
1707
1724
  gap: "16px",
1708
1725
  enableHorizontalWheel: !0,
1709
- showRightGradient: !I,
1726
+ showRightGradient: !C,
1710
1727
  options: { autoWidth: !0, trimSpace: "move" },
1711
1728
  breakpoints: {
1712
- 768: { perPage: 2, focus: "start", padding: { left: r, right: r } },
1729
+ 768: { perPage: 2, focus: "start", padding: { left: i, right: i } },
1713
1730
  1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
1714
1731
  },
1715
- renderItem: (y) => /* @__PURE__ */ t(
1732
+ renderItem: (_) => /* @__PURE__ */ t(
1716
1733
  "div",
1717
1734
  {
1718
1735
  style: {
1719
1736
  textAlign: "center",
1720
1737
  cursor: "pointer"
1721
1738
  },
1722
- onClick: () => C(y.promotion),
1739
+ onClick: () => x(_.promotion),
1723
1740
  children: /* @__PURE__ */ t(
1724
1741
  "img",
1725
1742
  {
1726
- src: `https://olimpo.bet${y.image !== "" ? y.image : y.summary_image}`,
1727
- alt: y.title,
1743
+ src: `https://olimpo.bet${_.image !== "" ? _.image : _.summary_image}`,
1744
+ alt: _.title,
1728
1745
  style: {
1729
1746
  width: "100%",
1730
1747
  height: typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px",
@@ -1735,10 +1752,10 @@ function Ja({
1735
1752
  }
1736
1753
  )
1737
1754
  },
1738
- `${y.title}-${y.image}`
1755
+ `${_.title}-${_.image}`
1739
1756
  ),
1740
- onMove: ({ isStart: y, isEnd: $ }) => {
1741
- f({ isStart: y, isEnd: $ }), h({
1757
+ onMove: ({ isStart: _, isEnd: N, source: F }) => {
1758
+ p({ isStart: _, isEnd: N }), F === "user" && h({
1742
1759
  element: "destacados_carousel_slide",
1743
1760
  label: `${u} - OraculoSeccionDestacados - Slide Carousel`,
1744
1761
  target: "carousel",
@@ -1746,8 +1763,8 @@ function Ja({
1746
1763
  module_id: m,
1747
1764
  metadata: {
1748
1765
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
1749
- isStart: y,
1750
- isEnd: $
1766
+ isStart: _,
1767
+ isEnd: N
1751
1768
  },
1752
1769
  tags: { section: "OraculoSeccionDestacados" }
1753
1770
  });
@@ -1756,10 +1773,10 @@ function Ja({
1756
1773
  )
1757
1774
  ] });
1758
1775
  }
1759
- const $e = "__ORACULO_EXTRAS__";
1776
+ const Ne = "__ORACULO_EXTRAS__";
1760
1777
  function _t() {
1761
1778
  const e = globalThis;
1762
- return e[$e] || (e[$e] = {}), e[$e];
1779
+ return e[Ne] || (e[Ne] = {}), e[Ne];
1763
1780
  }
1764
1781
  function Xa(e) {
1765
1782
  _t().extras = e;
@@ -1769,7 +1786,7 @@ function se(e) {
1769
1786
  return (a = _t().extras) == null ? void 0 : a[e];
1770
1787
  }
1771
1788
  function Ya() {
1772
- delete globalThis[$e];
1789
+ delete globalThis[Ne];
1773
1790
  }
1774
1791
  function Qa({
1775
1792
  items: e,
@@ -1777,20 +1794,20 @@ function Qa({
1777
1794
  iconUrl: n,
1778
1795
  onCardClick: o
1779
1796
  }) {
1780
- const i = ae(), r = ne(), s = le(), c = ie(
1797
+ const r = ae(), i = ne(), s = le(), c = re(
1781
1798
  () => (e != null ? e : []).map((m, d) => {
1782
- var g;
1799
+ var f;
1783
1800
  return {
1784
1801
  ...m,
1785
- orden: (g = m.orden) != null ? g : d + 1,
1802
+ orden: (f = m.orden) != null ? f : d + 1,
1786
1803
  _originalIndex: d
1787
1804
  };
1788
1805
  }).sort((m, d) => m.orden != null && d.orden != null ? m.orden - d.orden : m._originalIndex - d._originalIndex),
1789
1806
  [e]
1790
- ), f = !e || e.length === 0, h = f ? Array.from({ length: 6 }) : c.slice(0, 6), u = (m) => {
1791
- i({
1807
+ ), p = !e || e.length === 0, h = p ? Array.from({ length: 6 }) : c.slice(0, 6), u = (m) => {
1808
+ r({
1792
1809
  element: "top_juegos_card",
1793
- label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(m.machine || "unknown")}`,
1810
+ label: `${i} - OraculoSeccionTopJuegos - Open game: ${String(m.machine || "unknown")}`,
1794
1811
  target: String(m.machine || "unknown"),
1795
1812
  event_type: "click",
1796
1813
  module_id: s,
@@ -1802,12 +1819,12 @@ function Qa({
1802
1819
  section: "OraculoSeccionTopJuegos"
1803
1820
  }
1804
1821
  });
1805
- const d = se("showIframe"), g = se("loadMachine");
1822
+ const d = se("showIframe"), f = se("loadMachine");
1806
1823
  d == null || d(), requestAnimationFrame(() => {
1807
- g == null || g(m, !1, "CASINO");
1824
+ f == null || f(m, !1, "CASINO");
1808
1825
  });
1809
1826
  };
1810
- return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1827
+ return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1811
1828
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1812
1829
  /* @__PURE__ */ t(
1813
1830
  q,
@@ -1823,18 +1840,18 @@ function Qa({
1823
1840
  width: "100%"
1824
1841
  },
1825
1842
  children: h.map((m, d) => {
1826
- var g, p;
1843
+ var f, v;
1827
1844
  return /* @__PURE__ */ t(
1828
1845
  xa,
1829
1846
  {
1830
- imageUrl: f ? "" : m.background ? `https://olimpo.bet${m.background}` : `https://olimpo.bet${(g = m.logo) != null ? g : ""}`,
1831
- orden: f ? d + 1 : m.orden,
1832
- loading: f,
1833
- onClick: f ? void 0 : () => {
1847
+ imageUrl: p ? "" : m.background ? `https://olimpo.bet${m.background}` : `https://olimpo.bet${(f = m.logo) != null ? f : ""}`,
1848
+ orden: p ? d + 1 : m.orden,
1849
+ loading: p,
1850
+ onClick: p ? void 0 : () => {
1834
1851
  o == null || o(m), u(m);
1835
1852
  }
1836
1853
  },
1837
- f ? `sk-${d}` : (p = m.machine) != null ? p : `${d}`
1854
+ p ? `sk-${d}` : (v = m.machine) != null ? v : `${d}`
1838
1855
  );
1839
1856
  })
1840
1857
  }
@@ -1842,25 +1859,25 @@ function Qa({
1842
1859
  ] }) });
1843
1860
  }
1844
1861
  const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
1845
- var n, o, i, r, s, c, f, h, u, m, d, g, p, v;
1862
+ var n, o, r, i, s, c, p, h, u, m, d, f, v, S;
1846
1863
  return {
1847
1864
  orden: Number(a),
1848
1865
  machine: String(
1849
1866
  (n = e.id) != null ? n : e.external_id
1850
1867
  ),
1851
1868
  logo: (o = e.logo) != null ? o : "",
1852
- name: (i = e.room_name) != null ? i : "",
1853
- web_name: (r = e.product) != null ? r : "",
1869
+ name: (r = e.room_name) != null ? r : "",
1870
+ web_name: (i = e.product) != null ? i : "",
1854
1871
  provider: (s = e.service) != null ? s : "",
1855
1872
  sub_provider: (c = e.service) != null ? c : "",
1856
- external_id: (f = e.external_id) != null ? f : "",
1873
+ external_id: (p = e.external_id) != null ? p : "",
1857
1874
  type: (h = e.game_type) != null ? h : "",
1858
1875
  tags: (u = e.tags) != null ? u : "",
1859
1876
  lobby_tag: (m = e.lobby_tag) != null ? m : null,
1860
1877
  background: (d = e.background) != null ? d : "",
1861
- rtp: (g = e.rtp) != null ? g : null,
1862
- demo_allowed: (p = e.demo_allowed) != null ? p : !1,
1863
- gaming_session_required: (v = e.gaming_session_required) != null ? v : !1
1878
+ rtp: (f = e.rtp) != null ? f : null,
1879
+ demo_allowed: (v = e.demo_allowed) != null ? v : !1,
1880
+ gaming_session_required: (S = e.gaming_session_required) != null ? S : !1
1864
1881
  };
1865
1882
  }, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
1866
1883
  var a, n, o;
@@ -1870,68 +1887,68 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1870
1887
  const a = yt(), n = new URLSearchParams({
1871
1888
  userId: String(a),
1872
1889
  productType: e
1873
- }), o = `${en}?${n.toString()}`, i = await fetch(o);
1874
- if (!i.ok)
1890
+ }), o = `${en}?${n.toString()}`, r = await fetch(o);
1891
+ if (!r.ok)
1875
1892
  throw new Error(
1876
- `No se pudo obtener recomendaciones. HTTP ${i.status} ${i.statusText}`
1893
+ `No se pudo obtener recomendaciones. HTTP ${r.status} ${r.statusText}`
1877
1894
  );
1878
- const r = await i.json();
1895
+ const i = await r.json();
1879
1896
  return {
1880
- ...r,
1881
- recommendations: Array.isArray(r == null ? void 0 : r.recommendations) ? r.recommendations.slice(0, 49) : []
1897
+ ...i,
1898
+ recommendations: Array.isArray(i == null ? void 0 : i.recommendations) ? i.recommendations.slice(0, 49) : []
1882
1899
  };
1883
1900
  }, on = async (e, a) => {
1884
1901
  const n = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", o = JSON.stringify({
1885
1902
  userId: String(e),
1886
1903
  items: a
1887
- }), i = await fetch(n, {
1904
+ }), r = await fetch(n, {
1888
1905
  method: "POST",
1889
1906
  headers: {
1890
1907
  "Content-Type": "application/json"
1891
1908
  },
1892
1909
  body: o
1893
1910
  });
1894
- if (!i.ok)
1895
- throw new Error(`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`);
1896
- return (await i.json()).rankedItems;
1911
+ if (!r.ok)
1912
+ throw new Error(`No se pudo obtener el ranking. HTTP ${r.status} ${r.statusText}`);
1913
+ return (await r.json()).rankedItems;
1897
1914
  }, Ve = (e, a = !1, n = "Casino") => {
1898
- const [o, i] = Z([]), [r, s] = Z(!1);
1915
+ const [o, r] = X([]), [i, s] = X(!1);
1899
1916
  return Q(() => {
1900
1917
  let c = !1;
1901
1918
  return (async () => {
1902
1919
  if (!a) {
1903
- i(Array.isArray(e) ? e : []), s(!1);
1920
+ r(Array.isArray(e) ? e : []), s(!1);
1904
1921
  return;
1905
1922
  }
1906
1923
  s(!0);
1907
1924
  try {
1908
1925
  const h = await nn(n), u = an(h);
1909
1926
  if (!u.length) {
1910
- c || i([]);
1927
+ c || r([]);
1911
1928
  return;
1912
1929
  }
1913
- const m = yt(), d = await on(m, u), g = d.map((_) => _.itemId), p = await Promise.allSettled(
1914
- g.map(async (_, I) => {
1915
- const O = await fetch(`https://api.mktolimpo.com/api/machine/${_}`);
1916
- if (!O.ok)
1917
- throw new Error(`No se pudo obtener machine ${_}`);
1918
- const D = await O.json();
1919
- return tn(D, I);
1930
+ const m = yt(), d = await on(m, u), f = d.map((g) => g.itemId), v = await Promise.allSettled(
1931
+ f.map(async (g, C) => {
1932
+ const $ = await fetch(`https://api.mktolimpo.com/api/machine/${g}`);
1933
+ if (!$.ok)
1934
+ throw new Error(`No se pudo obtener machine ${g}`);
1935
+ const L = await $.json();
1936
+ return tn(L, C);
1920
1937
  })
1921
1938
  );
1922
1939
  if (c) return;
1923
- const v = p.filter(
1924
- (_) => _.status === "fulfilled"
1925
- ).map((_) => _.value), C = d.map((_) => {
1926
- const I = v.find((O) => O.machine === _.itemId);
1927
- return I ? { ...I, score: _.score } : null;
1928
- }).filter(Boolean).sort((_, I) => {
1929
- var O, D;
1930
- return ((O = I.score) != null ? O : 0) - ((D = _.score) != null ? D : 0);
1940
+ const S = v.filter(
1941
+ (g) => g.status === "fulfilled"
1942
+ ).map((g) => g.value), x = d.map((g) => {
1943
+ const C = S.find(($) => $.machine === g.itemId);
1944
+ return C ? { ...C, score: g.score } : null;
1945
+ }).filter(Boolean).sort((g, C) => {
1946
+ var $, L;
1947
+ return (($ = C.score) != null ? $ : 0) - ((L = g.score) != null ? L : 0);
1931
1948
  });
1932
- i(C);
1949
+ r(x);
1933
1950
  } catch (h) {
1934
- console.error(`[usePersonalizeGameItems:${n}] error:`, h), c || i([]);
1951
+ console.error(`[usePersonalizeGameItems:${n}] error:`, h), c || r([]);
1935
1952
  } finally {
1936
1953
  c || s(!1);
1937
1954
  }
@@ -1940,7 +1957,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1940
1957
  };
1941
1958
  }, [e, a, n]), {
1942
1959
  resolvedItems: o,
1943
- loading: r
1960
+ loading: i
1944
1961
  };
1945
1962
  }, 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) => {
1946
1963
  var n, o;
@@ -1960,47 +1977,47 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1960
1977
  title: a = "Casino en vivo",
1961
1978
  subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
1962
1979
  backgroundMobileUrl: o = "",
1963
- onCardClick: i,
1964
- backgroundDesktopUrl: r = "",
1980
+ onCardClick: r,
1981
+ backgroundDesktopUrl: i = "",
1965
1982
  onViewMore: s,
1966
1983
  className: c,
1967
- isPersonalize: f = !1
1984
+ isPersonalize: p = !1
1968
1985
  }) => {
1969
- const h = ae(), u = ne(), m = le(), d = dn(f), { resolvedItems: g } = ln(
1986
+ const h = ae(), u = ne(), m = le(), d = dn(p), { resolvedItems: f } = ln(
1970
1987
  e,
1971
1988
  d
1972
- ), p = d ? g : Array.isArray(e) ? e : [], v = (_) => {
1989
+ ), v = d ? f : Array.isArray(e) ? e : [], S = (g) => {
1973
1990
  h({
1974
1991
  element: "live_casino_card",
1975
- label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(_.machine || "unknown")}`,
1976
- target: String(_.machine || "unknown"),
1992
+ label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(g.machine || "unknown")}`,
1993
+ target: String(g.machine || "unknown"),
1977
1994
  event_type: "click",
1978
1995
  module_id: m,
1979
1996
  metadata: {
1980
1997
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1981
1998
  },
1982
1999
  tags: {
1983
- game_name: String(_.machine || "unknown"),
1984
- provider: _.provider || "unknown",
2000
+ game_name: String(g.machine || "unknown"),
2001
+ provider: g.provider || "unknown",
1985
2002
  section: "OraculoSeccionCasinoEnVivo"
1986
2003
  }
1987
2004
  });
1988
- const I = se("showIframe"), O = se("loadMachine");
1989
- if (!O) {
1990
- if (i) {
1991
- i(_);
2005
+ const C = se("showIframe"), $ = se("loadMachine");
2006
+ if (!$) {
2007
+ if (r) {
2008
+ r(g);
1992
2009
  return;
1993
2010
  }
1994
2011
  console.warn(
1995
2012
  "[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
1996
- { machine: _ == null ? void 0 : _.machine, provider: _ == null ? void 0 : _.provider }
2013
+ { machine: g == null ? void 0 : g.machine, provider: g == null ? void 0 : g.provider }
1997
2014
  );
1998
2015
  return;
1999
2016
  }
2000
- I == null || I(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2001
- O == null || O(_, !1, "casino_en_vivo");
2017
+ C == null || C(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2018
+ $ == null || $(g, !1, "casino_en_vivo");
2002
2019
  });
2003
- }, C = () => {
2020
+ }, x = () => {
2004
2021
  h({
2005
2022
  element: "casino_en_vivo_view_more",
2006
2023
  label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Ver más`,
@@ -2013,7 +2030,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2013
2030
  tags: { section: "OraculoSeccionCasinoEnVivo" }
2014
2031
  }), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
2015
2032
  };
2016
- return /* @__PURE__ */ b(
2033
+ return /* @__PURE__ */ y(
2017
2034
  q,
2018
2035
  {
2019
2036
  className: c,
@@ -2038,7 +2055,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2038
2055
  md: `
2039
2056
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
2040
2057
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
2041
- url('${r}')
2058
+ url('${i}')
2042
2059
  `
2043
2060
  },
2044
2061
  backgroundSize: {
@@ -2051,7 +2068,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2051
2068
  }
2052
2069
  }
2053
2070
  ),
2054
- /* @__PURE__ */ b(
2071
+ /* @__PURE__ */ y(
2055
2072
  q,
2056
2073
  {
2057
2074
  sx: {
@@ -2069,7 +2086,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2069
2086
  textAlign: { xs: "center", md: "left" }
2070
2087
  },
2071
2088
  children: [
2072
- /* @__PURE__ */ b(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2089
+ /* @__PURE__ */ y(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2073
2090
  /* @__PURE__ */ t(
2074
2091
  ue,
2075
2092
  {
@@ -2096,11 +2113,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2096
2113
  }
2097
2114
  ),
2098
2115
  /* @__PURE__ */ t(q, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
2099
- X,
2116
+ Y,
2100
2117
  {
2101
2118
  variant: "primary",
2102
2119
  size: "md",
2103
- onClick: C,
2120
+ onClick: x,
2104
2121
  children: "Ver más"
2105
2122
  }
2106
2123
  ) })
@@ -2116,28 +2133,28 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2116
2133
  py: { xs: 3, md: 0 },
2117
2134
  alignItems: "center"
2118
2135
  },
2119
- children: (p != null ? p : []).slice(0, 3).map((_, I) => {
2120
- var O;
2136
+ children: (v != null ? v : []).slice(0, 3).map((g, C) => {
2137
+ var $;
2121
2138
  return /* @__PURE__ */ t(
2122
2139
  wa,
2123
2140
  {
2124
- logo: `https://olimpo.bet${_.background ? _.background : (O = _.logo) != null ? O : ""}`,
2125
- provider: _.provider,
2126
- providerName: _.web_name,
2127
- machine: _.machine,
2128
- onClick: () => v(_)
2141
+ logo: `https://olimpo.bet${g.background ? g.background : ($ = g.logo) != null ? $ : ""}`,
2142
+ provider: g.provider,
2143
+ providerName: g.web_name,
2144
+ machine: g.machine,
2145
+ onClick: () => S(g)
2129
2146
  },
2130
- cn(_, I)
2147
+ cn(g, C)
2131
2148
  );
2132
2149
  })
2133
2150
  }
2134
2151
  ),
2135
2152
  /* @__PURE__ */ t(q, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
2136
- X,
2153
+ Y,
2137
2154
  {
2138
2155
  variant: "primary",
2139
2156
  size: "lg",
2140
- onClick: C,
2157
+ onClick: x,
2141
2158
  children: "Ver más"
2142
2159
  }
2143
2160
  ) })
@@ -2162,49 +2179,49 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2162
2179
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2163
2180
  }, pn = (e, a = !0, n = 1) => {
2164
2181
  const o = e.map((s, c) => {
2165
- var f;
2182
+ var p;
2166
2183
  return {
2167
2184
  id: xt(s, c),
2168
- imageUrl: (f = s.logo) != null ? f : "",
2185
+ imageUrl: (p = s.logo) != null ? p : "",
2169
2186
  ...s.background ? { background: s.background } : {}
2170
2187
  };
2171
2188
  });
2172
2189
  if (!o.length) return [];
2173
- const i = [];
2174
- let r = 0;
2190
+ const r = [];
2191
+ let i = 0;
2175
2192
  if (a) {
2176
2193
  const s = Math.min(o.length, 1);
2177
- i.push({
2194
+ r.push({
2178
2195
  id: "mosaic-0",
2179
2196
  kind: "mosaic",
2180
2197
  items: o.slice(0, s)
2181
- }), r = s;
2198
+ }), i = s;
2182
2199
  }
2183
- for (; r < o.length; ) {
2184
- const s = Math.min(r + n, o.length);
2185
- i.push({
2186
- id: `grid-${r}`,
2200
+ for (; i < o.length; ) {
2201
+ const s = Math.min(i + n, o.length);
2202
+ r.push({
2203
+ id: `grid-${i}`,
2187
2204
  kind: "grid",
2188
- items: o.slice(r, s)
2189
- }), r = s;
2205
+ items: o.slice(i, s)
2206
+ }), i = s;
2190
2207
  }
2191
- return i;
2208
+ return r;
2192
2209
  }, fn = ({
2193
2210
  items: e,
2194
2211
  title: a = "Casino",
2195
2212
  iconUrl: n = "/assets/img/home/Casino/diamante.svg",
2196
2213
  onItemClick: o,
2197
- onViewMore: i,
2198
- mosaicFirst: r = !0,
2214
+ onViewMore: r,
2215
+ mosaicFirst: i = !0,
2199
2216
  gridSize: s = 1,
2200
2217
  isPersonalize: c = !1
2201
2218
  }) => {
2202
- const f = ae(), h = ne(), u = le(), m = V(null), [d, g] = Z({ isStart: !0, isEnd: !1 }), p = mn(c), { resolvedItems: v, loading: C } = rn(
2219
+ const p = ae(), h = ne(), u = le(), m = V(null), [d, f] = X({ isStart: !0, isEnd: !1 }), v = mn(c), { resolvedItems: S, loading: x } = rn(
2203
2220
  e,
2204
- p
2205
- ), _ = p ? v : Array.isArray(e) ? e : [], I = () => {
2206
- var N;
2207
- f({
2221
+ v
2222
+ ), g = v ? S : Array.isArray(e) ? e : [], C = () => {
2223
+ var O;
2224
+ p({
2208
2225
  element: "casino_prev",
2209
2226
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
2210
2227
  target: "prev",
@@ -2214,10 +2231,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2214
2231
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2215
2232
  },
2216
2233
  tags: { section: "OraculoSeccionCasino" }
2217
- }), (N = m.current) == null || N.prev();
2218
- }, O = () => {
2219
- var N;
2220
- f({
2234
+ }), (O = m.current) == null || O.prev();
2235
+ }, $ = () => {
2236
+ var O;
2237
+ p({
2221
2238
  element: "casino_next",
2222
2239
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
2223
2240
  target: "next",
@@ -2227,9 +2244,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2227
2244
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2228
2245
  },
2229
2246
  tags: { section: "OraculoSeccionCasino" }
2230
- }), (N = m.current) == null || N.next();
2231
- }, D = () => {
2232
- if (f({
2247
+ }), (O = m.current) == null || O.next();
2248
+ }, L = () => {
2249
+ if (p({
2233
2250
  element: "casino_view_more",
2234
2251
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
2235
2252
  target: "https://www.olimpo.bet/casino",
@@ -2239,20 +2256,20 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2239
2256
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2240
2257
  },
2241
2258
  tags: { section: "OraculoSeccionCasino" }
2242
- }), i) {
2243
- i();
2259
+ }), r) {
2260
+ r();
2244
2261
  return;
2245
2262
  }
2246
2263
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2247
- }, y = (N = !0, x = 4) => {
2248
- const T = (z) => Array.from({ length: z }, (R, U) => ({
2249
- id: `sk-${z}-${U}`,
2264
+ }, _ = (O = !0, b = 4) => {
2265
+ const E = (B) => Array.from({ length: B }, (A, U) => ({
2266
+ id: `sk-${B}-${U}`,
2250
2267
  imageUrl: ""
2251
- })), L = [];
2252
- return N && L.push({ id: "mosaic-loading", kind: "mosaic", items: T(5) }), L.push({ id: "grid-loading", kind: "grid", items: T(x) }), L;
2253
- }, $ = p ? C : !Array.isArray(e) || e.length === 0, E = De("(max-width:950px)"), A = $ ? y(r, s) : pn(_, r, s);
2254
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2255
- /* @__PURE__ */ b(
2268
+ })), R = [];
2269
+ return O && R.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), R.push({ id: "grid-loading", kind: "grid", items: E(b) }), R;
2270
+ }, N = v ? x : !Array.isArray(e) || e.length === 0, F = De("(max-width:950px)"), D = N ? _(i, s) : pn(g, i, s);
2271
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2272
+ /* @__PURE__ */ y(
2256
2273
  q,
2257
2274
  {
2258
2275
  sx: {
@@ -2268,31 +2285,31 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2268
2285
  },
2269
2286
  children: [
2270
2287
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2271
- /* @__PURE__ */ b(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2288
+ /* @__PURE__ */ y(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2272
2289
  /* @__PURE__ */ t(
2273
- X,
2290
+ Y,
2274
2291
  {
2275
2292
  ariaLabel: "Anterior",
2276
2293
  variant: "secondary",
2277
2294
  iconOnly: !0,
2278
2295
  leftIcon: /* @__PURE__ */ t(lt, {}),
2279
- onClick: I,
2296
+ onClick: C,
2280
2297
  disabled: d.isStart
2281
2298
  }
2282
2299
  ),
2283
2300
  /* @__PURE__ */ t(
2284
- X,
2301
+ Y,
2285
2302
  {
2286
2303
  ariaLabel: "Siguiente",
2287
2304
  variant: "secondary",
2288
2305
  iconOnly: !0,
2289
2306
  rightIcon: /* @__PURE__ */ t(ct, {}),
2290
- onClick: O,
2307
+ onClick: $,
2291
2308
  disabled: d.isEnd
2292
2309
  }
2293
2310
  )
2294
2311
  ] }),
2295
- /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2312
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: L, children: "Ver más" }) })
2296
2313
  ]
2297
2314
  }
2298
2315
  ),
@@ -2300,12 +2317,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2300
2317
  he,
2301
2318
  {
2302
2319
  ref: m,
2303
- items: A,
2320
+ items: D,
2304
2321
  perPage: void 0,
2305
2322
  gap: "16px",
2306
2323
  enableHorizontalWheel: !0,
2307
2324
  options: { autoWidth: !0, trimSpace: "move" },
2308
- showRightGradient: !E,
2325
+ showRightGradient: !F,
2309
2326
  breakpoints: {
2310
2327
  400: {
2311
2328
  gap: "4px",
@@ -2323,38 +2340,38 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2323
2340
  padding: { left: "24px", right: "24px" }
2324
2341
  }
2325
2342
  },
2326
- renderItem: (N) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2343
+ renderItem: (O) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2327
2344
  ft,
2328
2345
  {
2329
- items: N.items,
2330
- layout: N.kind === "mosaic" ? "mosaic" : "grid",
2331
- loading: $,
2332
- onClick: (x) => {
2333
- if ($) return;
2334
- const T = _.find(
2335
- (R, U) => String(xt(R, U)) === String(x.id)
2346
+ items: O.items,
2347
+ layout: O.kind === "mosaic" ? "mosaic" : "grid",
2348
+ loading: N,
2349
+ onClick: (b) => {
2350
+ if (N) return;
2351
+ const E = g.find(
2352
+ (A, U) => String(xt(A, U)) === String(b.id)
2336
2353
  );
2337
- if (!T) return;
2338
- o == null || o(T), f({
2354
+ if (!E) return;
2355
+ o == null || o(E), p({
2339
2356
  element: "casino_game_card",
2340
- label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(T.machine || "unknown")}`,
2341
- target: String(T.machine || "unknown"),
2357
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
2358
+ target: String(E.machine || "unknown"),
2342
2359
  event_type: "click",
2343
2360
  module_id: u,
2344
2361
  metadata: {
2345
2362
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2346
2363
  },
2347
2364
  tags: {
2348
- game_name: String(T.machine || "unknown"),
2365
+ game_name: String(E.machine || "unknown"),
2349
2366
  section: a || "Casino"
2350
2367
  }
2351
2368
  });
2352
- const L = se("showIframe"), z = se("loadMachine");
2353
- L == null || L(), z == null || z(T, !1, "CASINO");
2369
+ const R = se("showIframe"), B = se("loadMachine");
2370
+ R == null || R(), B == null || B(E, !1, "CASINO");
2354
2371
  }
2355
2372
  }
2356
2373
  ) }),
2357
- onMove: ({ isStart: N, isEnd: x }) => g({ isStart: N, isEnd: x })
2374
+ onMove: ({ isStart: O, isEnd: b }) => f({ isStart: O, isEnd: b })
2358
2375
  }
2359
2376
  )
2360
2377
  ] }) });
@@ -2373,36 +2390,36 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2373
2390
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2374
2391
  }, hn = (e, a = !0, n = 1) => {
2375
2392
  const o = e.map((s, c) => {
2376
- var f;
2393
+ var p;
2377
2394
  return {
2378
2395
  id: wt(s, c),
2379
- imageUrl: (f = s.logo) != null ? f : "",
2396
+ imageUrl: (p = s.logo) != null ? p : "",
2380
2397
  ...s.background ? { background: s.background } : {}
2381
2398
  };
2382
2399
  });
2383
2400
  if (!o.length) return [];
2384
- const i = [];
2385
- let r = 0;
2401
+ const r = [];
2402
+ let i = 0;
2386
2403
  if (a) {
2387
2404
  const s = Math.min(o.length, 1);
2388
- i.push({
2405
+ r.push({
2389
2406
  id: "mosaic-0",
2390
2407
  kind: "mosaic",
2391
2408
  items: o.slice(0, s)
2392
- }), r = s;
2409
+ }), i = s;
2393
2410
  }
2394
- for (; r < o.length; ) {
2395
- const s = Math.min(r + n, o.length);
2396
- i.push({
2397
- id: `grid-${r}`,
2411
+ for (; i < o.length; ) {
2412
+ const s = Math.min(i + n, o.length);
2413
+ r.push({
2414
+ id: `grid-${i}`,
2398
2415
  kind: "grid",
2399
- items: o.slice(r, s)
2400
- }), r = s;
2416
+ items: o.slice(i, s)
2417
+ }), i = s;
2401
2418
  }
2402
- return i;
2419
+ return r;
2403
2420
  }, bn = (e = !0, a = 4) => {
2404
- const n = (i) => Array.from({ length: i }, (r, s) => ({
2405
- id: `sk-${i}-${s}`,
2421
+ const n = (r) => Array.from({ length: r }, (i, s) => ({
2422
+ id: `sk-${r}-${s}`,
2406
2423
  imageUrl: ""
2407
2424
  })), o = [];
2408
2425
  return e && o.push({
@@ -2419,59 +2436,59 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2419
2436
  title: a = "Virtuales",
2420
2437
  iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
2421
2438
  onItemClick: o,
2422
- onViewMore: i,
2423
- mosaicFirst: r = !0,
2439
+ onViewMore: r,
2440
+ mosaicFirst: i = !0,
2424
2441
  gridSize: s = 1,
2425
2442
  isPersonalize: c = !1
2426
2443
  }) => {
2427
- const f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), g = le(), p = gn(c), { resolvedItems: v, loading: C } = sn(
2444
+ const p = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), f = le(), v = gn(c), { resolvedItems: S, loading: x } = sn(
2428
2445
  e,
2429
- p
2430
- ), _ = p ? v : Array.isArray(e) ? e : [], I = () => {
2431
- var A;
2446
+ v
2447
+ ), g = v ? S : Array.isArray(e) ? e : [], C = () => {
2448
+ var D;
2432
2449
  m({
2433
2450
  element: "virtuales_prev",
2434
- label: `${d} - OraculoSeccionVirtuales${p ? " - personalize" : ""} - Anterior`,
2451
+ label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Anterior`,
2435
2452
  target: "prev",
2436
2453
  event_type: "click",
2437
- module_id: g,
2454
+ module_id: f,
2438
2455
  metadata: {
2439
2456
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2440
2457
  },
2441
2458
  tags: { section: "OraculoSeccionVirtuales" }
2442
- }), (A = f.current) == null || A.prev();
2443
- }, O = () => {
2444
- var A;
2459
+ }), (D = p.current) == null || D.prev();
2460
+ }, $ = () => {
2461
+ var D;
2445
2462
  m({
2446
2463
  element: "virtuales_next",
2447
- label: `${d} - OraculoSeccionVirtuales${p ? " - personalize" : ""} - Siguiente`,
2464
+ label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Siguiente`,
2448
2465
  target: "next",
2449
2466
  event_type: "click",
2450
- module_id: g,
2467
+ module_id: f,
2451
2468
  metadata: {
2452
2469
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2453
2470
  },
2454
2471
  tags: { section: "OraculoSeccionVirtuales" }
2455
- }), (A = f.current) == null || A.next();
2456
- }, D = () => {
2472
+ }), (D = p.current) == null || D.next();
2473
+ }, L = () => {
2457
2474
  if (m({
2458
2475
  element: "virtuales_view_more",
2459
- label: `${d} - OraculoSeccionVirtuales${p ? " - personalize" : ""} - Ver más`,
2476
+ label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Ver más`,
2460
2477
  target: "https://www.olimpo.bet/juegos-virtuales",
2461
2478
  event_type: "click",
2462
- module_id: g,
2479
+ module_id: f,
2463
2480
  metadata: {
2464
2481
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2465
2482
  },
2466
2483
  tags: { section: "OraculoSeccionVirtuales" }
2467
- }), i) {
2468
- i();
2484
+ }), r) {
2485
+ r();
2469
2486
  return;
2470
2487
  }
2471
2488
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2472
- }, y = p ? C : !Array.isArray(e) || e.length === 0, $ = xe("(max-width:950px)"), E = y ? bn(r, s) : hn(_, r, s);
2473
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2474
- /* @__PURE__ */ b(
2489
+ }, _ = v ? x : !Array.isArray(e) || e.length === 0, N = xe("(max-width:950px)"), F = _ ? bn(i, s) : hn(g, i, s);
2490
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2491
+ /* @__PURE__ */ y(
2475
2492
  q,
2476
2493
  {
2477
2494
  sx: {
@@ -2487,39 +2504,39 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2487
2504
  },
2488
2505
  children: [
2489
2506
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2490
- /* @__PURE__ */ b(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2507
+ /* @__PURE__ */ y(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2491
2508
  /* @__PURE__ */ t(
2492
- X,
2509
+ Y,
2493
2510
  {
2494
2511
  ariaLabel: "Anterior",
2495
2512
  variant: "secondary",
2496
2513
  iconOnly: !0,
2497
2514
  leftIcon: /* @__PURE__ */ t(lt, {}),
2498
- onClick: I,
2515
+ onClick: C,
2499
2516
  disabled: h.isStart
2500
2517
  }
2501
2518
  ),
2502
2519
  /* @__PURE__ */ t(
2503
- X,
2520
+ Y,
2504
2521
  {
2505
2522
  ariaLabel: "Siguiente",
2506
2523
  variant: "secondary",
2507
2524
  iconOnly: !0,
2508
2525
  rightIcon: /* @__PURE__ */ t(ct, {}),
2509
- onClick: O,
2526
+ onClick: $,
2510
2527
  disabled: h.isEnd
2511
2528
  }
2512
2529
  )
2513
2530
  ] }),
2514
- /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2531
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: L, children: "Ver más" }) })
2515
2532
  ]
2516
2533
  }
2517
2534
  ),
2518
2535
  /* @__PURE__ */ t(
2519
2536
  he,
2520
2537
  {
2521
- ref: f,
2522
- items: E,
2538
+ ref: p,
2539
+ items: F,
2523
2540
  perPage: void 0,
2524
2541
  gap: "16px",
2525
2542
  breakpoints: {
@@ -2540,50 +2557,50 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2540
2557
  }
2541
2558
  },
2542
2559
  enableHorizontalWheel: !0,
2543
- showRightGradient: !$,
2560
+ showRightGradient: !N,
2544
2561
  options: { autoWidth: !0, trimSpace: "move" },
2545
- renderItem: (A) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2562
+ renderItem: (D) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2546
2563
  ft,
2547
2564
  {
2548
- items: A.items,
2549
- layout: A.kind === "mosaic" ? "mosaic" : "grid",
2550
- loading: y,
2551
- onClick: (N) => {
2552
- if (y) return;
2553
- const x = _.find(
2554
- (z, R) => String(wt(z, R)) === String(N.id)
2565
+ items: D.items,
2566
+ layout: D.kind === "mosaic" ? "mosaic" : "grid",
2567
+ loading: _,
2568
+ onClick: (O) => {
2569
+ if (_) return;
2570
+ const b = g.find(
2571
+ (B, A) => String(wt(B, A)) === String(O.id)
2555
2572
  );
2556
- if (!x) {
2573
+ if (!b) {
2557
2574
  console.warn(
2558
2575
  "[virtuales] no se encontró game para id:",
2559
- N.id
2576
+ O.id
2560
2577
  );
2561
2578
  return;
2562
2579
  }
2563
- o == null || o(x), m({
2580
+ o == null || o(b), m({
2564
2581
  element: "virtuales_game_card",
2565
- label: `${d} - OraculoSeccionVirtuales${p ? " - personalize" : ""} - Game: ${String(x.machine || "unknown")}`,
2566
- target: String(x.machine || "unknown"),
2582
+ label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Game: ${String(b.machine || "unknown")}`,
2583
+ target: String(b.machine || "unknown"),
2567
2584
  event_type: "click",
2568
- module_id: g,
2585
+ module_id: f,
2569
2586
  metadata: {
2570
2587
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2571
2588
  },
2572
2589
  tags: {
2573
- game_name: String(x.machine || "unknown"),
2590
+ game_name: String(b.machine || "unknown"),
2574
2591
  section: a || "Virtuales"
2575
2592
  }
2576
2593
  });
2577
- const T = se("showIframe"), L = se("loadMachine");
2578
- T == null || T(), L == null || L(
2579
- x,
2594
+ const E = se("showIframe"), R = se("loadMachine");
2595
+ E == null || E(), R == null || R(
2596
+ b,
2580
2597
  !1,
2581
- p ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2598
+ v ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2582
2599
  );
2583
2600
  }
2584
2601
  }
2585
2602
  ) }),
2586
- onMove: ({ isStart: A, isEnd: N }) => u({ isStart: A, isEnd: N })
2603
+ onMove: ({ isStart: D, isEnd: O }) => u({ isStart: D, isEnd: O })
2587
2604
  }
2588
2605
  )
2589
2606
  ] }) });
@@ -2625,86 +2642,86 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2625
2642
  items: n,
2626
2643
  backgroundImageUrl: o
2627
2644
  }) => {
2628
- const i = ae(), r = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, f = V(null), h = V(null), u = V(!1), m = V(!1), [d, g] = Z(0), [p, v] = Z({ isStart: !0, isEnd: !1 });
2645
+ const r = ae(), i = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, p = V(null), h = V(null), u = V(!1), m = V(!1), [d, f] = X(0), [v, S] = X({ isStart: !0, isEnd: !1 });
2629
2646
  Q(() => {
2630
- const x = setTimeout(() => {
2647
+ const b = setTimeout(() => {
2631
2648
  u.current = !0;
2632
2649
  }, 500);
2633
- return () => clearTimeout(x);
2650
+ return () => clearTimeout(b);
2634
2651
  }, []);
2635
- const C = V(p);
2652
+ const x = V(v);
2636
2653
  Q(() => {
2637
- C.current = p;
2638
- }, [p]);
2639
- const _ = V(!1), I = V(null), O = n == null ? void 0 : n[d], D = ie(
2654
+ x.current = v;
2655
+ }, [v]);
2656
+ const g = V(!1), C = V(null), $ = n == null ? void 0 : n[d], L = re(
2640
2657
  () => {
2641
- var x, T;
2642
- return (T = (x = O == null ? void 0 : O.backgroundImageUrl) != null ? x : o) != null ? T : "";
2658
+ var b, E;
2659
+ return (E = (b = $ == null ? void 0 : $.backgroundImageUrl) != null ? b : o) != null ? E : "";
2643
2660
  },
2644
- [O, o]
2645
- ), y = _n(D), $ = !n || n.length === 0, E = (x, T) => {
2646
- i({
2661
+ [$, o]
2662
+ ), _ = _n(L), N = !n || n.length === 0, F = (b, E) => {
2663
+ r({
2647
2664
  element: "welcome_banner_button",
2648
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${x.title || "OraculoSeccionBonoBienvenida - Banner " + (T + 1)}`,
2665
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${b.title || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
2649
2666
  target: "action",
2650
2667
  event_type: "click",
2651
2668
  module_id: 301,
2652
2669
  metadata: {
2653
2670
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2654
- banner_position: T + 1,
2671
+ banner_position: E + 1,
2655
2672
  banner_total: (n == null ? void 0 : n.length) || 0
2656
2673
  },
2657
2674
  tags: {
2658
- banner_title: x.title || "no_title",
2659
- button_text: x.buttonText || "no_text"
2675
+ banner_title: b.title || "no_title",
2676
+ button_text: b.buttonText || "no_text"
2660
2677
  }
2661
- }), x.onButtonClick && x.onButtonClick();
2662
- }, A = (x) => {
2678
+ }), b.onButtonClick && b.onButtonClick();
2679
+ }, D = (b) => {
2663
2680
  if (!u.current) return;
2664
2681
  if (m.current) {
2665
2682
  m.current = !1;
2666
2683
  return;
2667
2684
  }
2668
- const T = n == null ? void 0 : n[x];
2669
- i({
2685
+ const E = n == null ? void 0 : n[b];
2686
+ r({
2670
2687
  element: "welcome_banner_carousel",
2671
- label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(T == null ? void 0 : T.title) || "OraculoSeccionBonoBienvenida - Banner " + (x + 1)}`,
2688
+ label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Banner view: ${(E == null ? void 0 : E.title) || "OraculoSeccionBonoBienvenida - Banner " + (b + 1)}`,
2672
2689
  target: "no_url",
2673
2690
  event_type: "view",
2674
2691
  module_id: 301,
2675
2692
  metadata: {
2676
2693
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2677
- slide_index: x + 1,
2694
+ slide_index: b + 1,
2678
2695
  total_slides: (n == null ? void 0 : n.length) || 0,
2679
2696
  interaction_type: "manual_slide"
2680
2697
  },
2681
2698
  tags: {
2682
- banner_position: String(x + 1),
2683
- banner_title: (T == null ? void 0 : T.title) || "no_title"
2699
+ banner_position: String(b + 1),
2700
+ banner_title: (E == null ? void 0 : E.title) || "no_title"
2684
2701
  }
2685
2702
  });
2686
2703
  };
2687
2704
  Q(() => {
2688
- const x = h.current;
2689
- if (!x) return;
2690
- const T = 6, L = 380, z = (R) => {
2691
- var w, F;
2692
- if ($ || R.ctrlKey || _.current) return;
2693
- const U = R.deltaX, W = R.deltaY;
2694
- if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < T) return;
2705
+ const b = h.current;
2706
+ if (!b) return;
2707
+ const E = 6, R = 380, B = (A) => {
2708
+ var K, w;
2709
+ if (N || A.ctrlKey || g.current) return;
2710
+ const U = A.deltaX, W = A.deltaY;
2711
+ if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < E) return;
2695
2712
  const G = U > 0;
2696
- G && C.current.isEnd || !G && C.current.isStart || (R.preventDefault(), _.current = !0, G ? (w = f.current) == null || w.next() : (F = f.current) == null || F.prev(), I.current && window.clearTimeout(I.current), I.current = window.setTimeout(() => {
2697
- _.current = !1;
2698
- }, L));
2713
+ G && x.current.isEnd || !G && x.current.isStart || (A.preventDefault(), g.current = !0, G ? (K = p.current) == null || K.next() : (w = p.current) == null || w.prev(), C.current && window.clearTimeout(C.current), C.current = window.setTimeout(() => {
2714
+ g.current = !1;
2715
+ }, R));
2699
2716
  };
2700
- return x.addEventListener("wheel", z, { passive: !1 }), () => {
2701
- x.removeEventListener("wheel", z), I.current && window.clearTimeout(I.current);
2717
+ return b.addEventListener("wheel", B, { passive: !1 }), () => {
2718
+ b.removeEventListener("wheel", B), C.current && window.clearTimeout(C.current);
2702
2719
  };
2703
- }, [$]);
2704
- const N = (x, T, L) => {
2720
+ }, [N]);
2721
+ const O = (b, E, R) => {
2705
2722
  var U, W;
2706
- const z = (U = x.headline) != null ? U : e, R = (W = x.headline2) != null ? W : a;
2707
- return T ? /* @__PURE__ */ b(
2723
+ const B = (U = b.headline) != null ? U : e, A = (W = b.headline2) != null ? W : a;
2724
+ return E ? /* @__PURE__ */ y(
2708
2725
  q,
2709
2726
  {
2710
2727
  sx: {
@@ -2717,7 +2734,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2717
2734
  columnGap: 6
2718
2735
  },
2719
2736
  children: [
2720
- (z || R) && /* @__PURE__ */ t(
2737
+ (B || A) && /* @__PURE__ */ t(
2721
2738
  q,
2722
2739
  {
2723
2740
  sx: {
@@ -2726,11 +2743,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2726
2743
  justifyContent: "flex-start",
2727
2744
  minHeight: "100%"
2728
2745
  },
2729
- children: /* @__PURE__ */ b(q, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2730
- z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
2731
- R && /* @__PURE__ */ b(pe, { children: [
2746
+ children: /* @__PURE__ */ y(q, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2747
+ B && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: B }),
2748
+ A && /* @__PURE__ */ y(pe, { children: [
2732
2749
  /* @__PURE__ */ t("br", {}),
2733
- /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
2750
+ /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: A })
2734
2751
  ] })
2735
2752
  ] })
2736
2753
  }
@@ -2738,36 +2755,36 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2738
2755
  /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(q, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2739
2756
  Je,
2740
2757
  {
2741
- ...x,
2742
- onButtonClick: () => E(x, L),
2758
+ ...b,
2759
+ onButtonClick: () => F(b, R),
2743
2760
  variant: "large"
2744
2761
  }
2745
2762
  ) }) })
2746
2763
  ]
2747
2764
  }
2748
- ) : /* @__PURE__ */ b(q, { sx: { textAlign: "center" }, children: [
2749
- (z || R) && /* @__PURE__ */ b(q, { sx: Qe, children: [
2750
- z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
2751
- R && /* @__PURE__ */ b(pe, { children: [
2765
+ ) : /* @__PURE__ */ y(q, { sx: { textAlign: "center" }, children: [
2766
+ (B || A) && /* @__PURE__ */ y(q, { sx: Qe, children: [
2767
+ B && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: B }),
2768
+ A && /* @__PURE__ */ y(pe, { children: [
2752
2769
  /* @__PURE__ */ t("br", {}),
2753
- /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
2770
+ /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: A })
2754
2771
  ] })
2755
2772
  ] }),
2756
2773
  /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2757
2774
  Je,
2758
2775
  {
2759
- ...x,
2760
- onButtonClick: () => E(x, L),
2776
+ ...b,
2777
+ onButtonClick: () => F(b, R),
2761
2778
  variant: "small"
2762
2779
  }
2763
2780
  ) })
2764
2781
  ] });
2765
2782
  };
2766
- return /* @__PURE__ */ b(q, { component: "section", sx: y, children: [
2783
+ return /* @__PURE__ */ y(q, { component: "section", sx: _, children: [
2767
2784
  /* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
2768
2785
  he,
2769
2786
  {
2770
- ref: f,
2787
+ ref: p,
2771
2788
  items: n,
2772
2789
  perPage: 1,
2773
2790
  gap: "0px",
@@ -2781,9 +2798,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2781
2798
  // arrows: false,
2782
2799
  // drag: true,
2783
2800
  },
2784
- renderItem: (x, T) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: N(x, !s, T) }),
2785
- onMove: ({ index: x, isStart: T, isEnd: L }) => {
2786
- g(x), typeof T == "boolean" && typeof L == "boolean" && v({ isStart: T, isEnd: L }), A(x);
2801
+ renderItem: (b, E) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: O(b, !s, E) }),
2802
+ onMove: ({ index: b, isStart: E, isEnd: R, source: B }) => {
2803
+ f(b), typeof E == "boolean" && typeof R == "boolean" && S({ isStart: E, isEnd: R }), B === "user" && D(b);
2787
2804
  }
2788
2805
  }
2789
2806
  ) }),
@@ -2792,23 +2809,23 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2792
2809
  {
2793
2810
  total: n.length,
2794
2811
  active: d,
2795
- onSelect: (x) => {
2796
- var T;
2797
- i({
2812
+ onSelect: (b) => {
2813
+ var E;
2814
+ r({
2798
2815
  element: "welcome_banner_dots",
2799
- label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${x + 1}`,
2816
+ label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${b + 1}`,
2800
2817
  target: "no_url",
2801
2818
  event_type: "click",
2802
2819
  module_id: 301,
2803
2820
  metadata: {
2804
2821
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2805
- dot_index: x + 1,
2822
+ dot_index: b + 1,
2806
2823
  total_dots: n.length
2807
2824
  },
2808
2825
  tags: {
2809
2826
  navigation_type: "dot_click"
2810
2827
  }
2811
- }), g(x), (T = f.current) == null || T.go(x);
2828
+ }), f(b), (E = p.current) == null || E.go(b);
2812
2829
  }
2813
2830
  }
2814
2831
  ) })
@@ -2818,23 +2835,23 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2818
2835
  fullBleed: a = !0,
2819
2836
  items: n,
2820
2837
  selectedIndex: o = 0,
2821
- ariaLabel: i,
2822
- user: r = null
2838
+ ariaLabel: r,
2839
+ user: i = null
2823
2840
  }) => {
2824
- const s = V(null), c = V(null), f = ae(), h = ne(), u = le();
2841
+ const s = V(null), c = V(null), p = ae(), h = ne(), u = le();
2825
2842
  if (!n) return null;
2826
2843
  const m = async () => {
2827
- let v = r;
2828
- if ((!(v != null && v.user) || !(v != null && v.session)) && typeof window != "undefined")
2844
+ let S = i;
2845
+ if ((!(S != null && S.user) || !(S != null && S.session)) && typeof window != "undefined")
2829
2846
  try {
2830
- const C = localStorage.getItem("user");
2831
- C && (v = JSON.parse(C));
2832
- } catch (C) {
2833
- console.error("[getMarketPlaceUrl] Error parsing localStorage user", C);
2847
+ const x = localStorage.getItem("user");
2848
+ x && (S = JSON.parse(x));
2849
+ } catch (x) {
2850
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", x);
2834
2851
  }
2835
- if (!(v != null && v.user) || !(v != null && v.session))
2852
+ if (!(S != null && S.user) || !(S != null && S.session))
2836
2853
  return console.warn("User data missing"), null;
2837
- f({
2854
+ p({
2838
2855
  element: "club_olimpo_button",
2839
2856
  label: `${h} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2840
2857
  target: "https://www.clubolimpo.com/OlimpoBetWeb/",
@@ -2846,40 +2863,40 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2846
2863
  tags: { section: "OraculoSeccionClubOlimpo" }
2847
2864
  });
2848
2865
  try {
2849
- const C = {
2850
- idUsuario: "PE" + v.user,
2851
- session_id: v.session,
2866
+ const x = {
2867
+ idUsuario: "PE" + S.user,
2868
+ session_id: S.session,
2852
2869
  pagina: "home"
2853
- }, I = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2870
+ }, C = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2854
2871
  method: "POST",
2855
2872
  headers: {
2856
2873
  "Content-Type": "application/json"
2857
2874
  },
2858
- body: JSON.stringify(C)
2875
+ body: JSON.stringify(x)
2859
2876
  });
2860
- if (I.ok) {
2861
- const O = await I.json();
2862
- return O == null ? void 0 : O.url;
2877
+ if (C.ok) {
2878
+ const $ = await C.json();
2879
+ return $ == null ? void 0 : $.url;
2863
2880
  }
2864
2881
  return null;
2865
- } catch (C) {
2866
- return console.error("[getMarketPlaceUrl]", C), null;
2882
+ } catch (x) {
2883
+ return console.error("[getMarketPlaceUrl]", x), null;
2867
2884
  }
2868
2885
  }, d = async () => {
2869
- const v = await m();
2870
- v ? window.location.href = v : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2871
- }, g = Array.isArray(n) ? n[o] : n;
2886
+ const S = await m();
2887
+ S ? window.location.href = S : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2888
+ }, f = Array.isArray(n) ? n[o] : n;
2872
2889
  Mt(() => {
2873
2890
  if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
2874
- const v = s.current, C = c.current, _ = () => {
2875
- v.style.setProperty(
2891
+ const S = s.current, x = c.current, g = () => {
2892
+ S.style.setProperty(
2876
2893
  "--orc-co-bottomH",
2877
- `${C.offsetHeight + 16}px`
2894
+ `${x.offsetHeight + 16}px`
2878
2895
  );
2879
- }, I = new ResizeObserver(_);
2880
- return I.observe(C), _(), () => I.disconnect();
2896
+ }, C = new ResizeObserver(g);
2897
+ return C.observe(x), g(), () => C.disconnect();
2881
2898
  }, []);
2882
- const p = [
2899
+ const v = [
2883
2900
  "orc-co-wrap",
2884
2901
  a ? "orc-co-fullBleed" : "",
2885
2902
  e
@@ -2888,18 +2905,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2888
2905
  "section",
2889
2906
  {
2890
2907
  ref: s,
2891
- className: p,
2892
- "aria-label": i || g.imgAlt || "Club Olimpo",
2908
+ className: v,
2909
+ "aria-label": r || f.imgAlt || "Club Olimpo",
2893
2910
  children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
2894
2911
  Sa,
2895
2912
  {
2896
- text: g.text,
2913
+ text: f.text,
2897
2914
  onClick: d,
2898
- imgAlt: g.imgAlt,
2899
- buttonLabel: g.buttonLabel,
2900
- imgSrcMobile: g.imgMobile,
2901
- imgSrcDesktopBg: g.imgDesktopBg,
2902
- imgSrcDesktopLogo: g.imgDesktopLogo
2915
+ imgAlt: f.imgAlt,
2916
+ buttonLabel: f.buttonLabel,
2917
+ imgSrcMobile: f.imgMobile,
2918
+ imgSrcDesktopBg: f.imgDesktopBg,
2919
+ imgSrcDesktopLogo: f.imgDesktopLogo
2903
2920
  }
2904
2921
  ) })
2905
2922
  }
@@ -2910,22 +2927,22 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2910
2927
  }, In = (e) => {
2911
2928
  var a, n;
2912
2929
  return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((o) => {
2913
- var i, r;
2914
- return (r = (i = o.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? r : [];
2930
+ var r, i;
2931
+ return (i = (r = o.outcomes) == null ? void 0 : r.map((s) => s.id)) != null ? i : [];
2915
2932
  }) : [];
2916
2933
  };
2917
- function Cn(e, a, n) {
2934
+ function En(e, a, n) {
2918
2935
  return n ? n.map((o) => {
2919
2936
  var u, m;
2920
- const i = o.prePackCouponRows.flatMap((d) => In(d).map((g) => ({ eventId: d.eventId, outcomeId: g }))), r = new Set(i.map((d) => d.eventId)), s = new Set(i.map((d) => d.outcomeId)), c = new Map(i.map((d, g) => [d.outcomeId, g])), f = {};
2937
+ const r = o.prePackCouponRows.flatMap((d) => In(d).map((f) => ({ eventId: d.eventId, outcomeId: f }))), i = new Set(r.map((d) => d.eventId)), s = new Set(r.map((d) => d.outcomeId)), c = new Map(r.map((d, f) => [d.outcomeId, f])), p = {};
2921
2938
  for (const d of a) {
2922
- if (!r.has(d.eventId)) continue;
2923
- const g = d.outcomes.filter((p) => s.has(p.id)).map((p) => ({ ...p, position: c.get(p.id) }));
2924
- g.length && ((m = f[u = d.eventId]) != null || (f[u] = []), f[d.eventId].push({ ...d, outcomes: g }));
2939
+ if (!i.has(d.eventId)) continue;
2940
+ const f = d.outcomes.filter((v) => s.has(v.id)).map((v) => ({ ...v, position: c.get(v.id) }));
2941
+ f.length && ((m = p[u = d.eventId]) != null || (p[u] = []), p[d.eventId].push({ ...d, outcomes: f }));
2925
2942
  }
2926
- const h = e.filter((d) => r.has(d.id)).map((d) => {
2927
- var g;
2928
- return { ...d, betoffers: (g = f[d.id]) != null ? g : [] };
2943
+ const h = e.filter((d) => i.has(d.id)).map((d) => {
2944
+ var f;
2945
+ return { ...d, betoffers: (f = p[d.id]) != null ? f : [] };
2929
2946
  });
2930
2947
  return {
2931
2948
  couponId: o.id,
@@ -2939,22 +2956,22 @@ function On(e) {
2939
2956
  if (!Array.isArray(e) || e.length === 0) return 0;
2940
2957
  let a = 1;
2941
2958
  for (const n of e) {
2942
- const o = n.odds.decimal / 1e3, i = Math.round(o * 100) / 100;
2943
- a *= i;
2959
+ const o = n.odds.decimal / 1e3, r = Math.round(o * 100) / 100;
2960
+ a *= r;
2944
2961
  }
2945
2962
  return Math.floor(a * 100) / 100;
2946
2963
  }
2947
- const En = fe.memo(Ra);
2964
+ const Cn = fe.memo(Ra);
2948
2965
  function Tn({
2949
2966
  items: e,
2950
2967
  title: a = "Combinadas del Olimpo",
2951
2968
  iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
2952
2969
  onViewMore: o,
2953
- className: i = ""
2970
+ className: r = ""
2954
2971
  }) {
2955
- const r = ae(), s = ne(), c = le(), f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), [m, d] = 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", p = () => {
2956
- var y;
2957
- r({
2972
+ const i = ae(), s = ne(), c = le(), p = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), [m, d] = X([]), 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 = () => {
2973
+ var _;
2974
+ i({
2958
2975
  element: "evento_combinadas_prev",
2959
2976
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
2960
2977
  event_type: "click",
@@ -2963,10 +2980,10 @@ function Tn({
2963
2980
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2964
2981
  },
2965
2982
  tags: { section: "OraculoSeccionEventoCombinadas" }
2966
- }), (y = f.current) == null || y.prev();
2967
- }, v = () => {
2968
- var y;
2969
- r({
2983
+ }), (_ = p.current) == null || _.prev();
2984
+ }, S = () => {
2985
+ var _;
2986
+ i({
2970
2987
  element: "evento_combinadas_next",
2971
2988
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
2972
2989
  event_type: "click",
@@ -2975,9 +2992,9 @@ function Tn({
2975
2992
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2976
2993
  },
2977
2994
  tags: { section: "OraculoSeccionEventoCombinadas" }
2978
- }), (y = f.current) == null || y.next();
2979
- }, C = () => {
2980
- r({
2995
+ }), (_ = p.current) == null || _.next();
2996
+ }, x = () => {
2997
+ i({
2981
2998
  element: "evento_combinadas_ver_mas",
2982
2999
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
2983
3000
  event_type: "click",
@@ -2987,77 +3004,77 @@ function Tn({
2987
3004
  },
2988
3005
  tags: { section: "OraculoSeccionEventoCombinadas" }
2989
3006
  }), za();
2990
- }, _ = ie(() => m.filter((y) => y.combinadoTotal !== null), [m]);
2991
- async function I() {
2992
- var y, $, E, A;
3007
+ }, g = re(() => m.filter((_) => _.combinadoTotal !== null), [m]);
3008
+ async function C() {
3009
+ var _, N, F, D;
2993
3010
  try {
2994
- const x = await (await fetch(g)).json(), T = (A = (E = ($ = (y = x == null ? void 0 : x.group) == null ? void 0 : y.groups) == null ? void 0 : $.map((U) => U.id)) == null ? void 0 : E.filter(Boolean)) == null ? void 0 : A.join(",");
2995
- if (!T) {
3011
+ const b = await (await fetch(f)).json(), E = (D = (F = (N = (_ = b == null ? void 0 : b.group) == null ? void 0 : _.groups) == null ? void 0 : N.map((U) => U.id)) == null ? void 0 : F.filter(Boolean)) == null ? void 0 : D.join(",");
3012
+ if (!E) {
2996
3013
  console.error("Could not extract group ID");
2997
3014
  return;
2998
3015
  }
2999
- const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${T}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(L)).json();
3000
- d(Cn(R.events, R.betOffers, R.prePackCoupons));
3001
- } catch (N) {
3002
- console.error("loadDataEventSpecial error:", N);
3016
+ const R = `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`, A = await (await fetch(R)).json();
3017
+ d(En(A.events, A.betOffers, A.prePackCoupons));
3018
+ } catch (O) {
3019
+ console.error("loadDataEventSpecial error:", O);
3003
3020
  }
3004
3021
  }
3005
3022
  Q(() => {
3006
- I();
3023
+ C();
3007
3024
  }, []);
3008
- const O = i || void 0, D = xe("(max-width:950px)");
3009
- return _.length === 0 ? null : /* @__PURE__ */ t("section", { className: O, style: {
3025
+ const $ = r || void 0, L = xe("(max-width:950px)");
3026
+ return g.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
3010
3027
  // paddingLeft: 16,
3011
3028
  // paddingRight: 16,
3012
3029
  width: "100%",
3013
3030
  boxSizing: "border-box"
3014
- }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3015
- /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3031
+ }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3032
+ /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3016
3033
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3017
- /* @__PURE__ */ b("div", { className: at.controls, children: [
3018
- /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
3034
+ /* @__PURE__ */ y("div", { className: at.controls, children: [
3035
+ /* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
3019
3036
  /* @__PURE__ */ t(
3020
- X,
3037
+ Y,
3021
3038
  {
3022
3039
  ariaLabel: "Anterior",
3023
3040
  variant: "secondary",
3024
3041
  iconOnly: !0,
3025
3042
  leftIcon: /* @__PURE__ */ t(Ae, {}),
3026
- onClick: p,
3043
+ onClick: v,
3027
3044
  disabled: h.isStart
3028
3045
  }
3029
3046
  ),
3030
3047
  /* @__PURE__ */ t(
3031
- X,
3048
+ Y,
3032
3049
  {
3033
3050
  ariaLabel: "Siguiente",
3034
3051
  variant: "secondary",
3035
3052
  iconOnly: !0,
3036
3053
  rightIcon: /* @__PURE__ */ t(ze, {}),
3037
- onClick: v,
3054
+ onClick: S,
3038
3055
  disabled: h.isEnd
3039
3056
  }
3040
3057
  )
3041
3058
  ] }),
3042
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: C, children: "Ver más" })
3059
+ /* @__PURE__ */ t(Y, { variant: "secondary", onClick: x, children: "Ver más" })
3043
3060
  ] })
3044
3061
  ] }) }),
3045
3062
  /* @__PURE__ */ t(
3046
3063
  he,
3047
3064
  {
3048
- ref: f,
3049
- items: _,
3065
+ ref: p,
3066
+ items: g,
3050
3067
  perPage: void 0,
3051
3068
  gap: "16px",
3052
3069
  options: { autoWidth: !0, trimSpace: "move" },
3053
3070
  useIndexAsKey: !0,
3054
3071
  enableHorizontalWheel: !0,
3055
- showRightGradient: !D,
3072
+ showRightGradient: !L,
3056
3073
  breakpoints: {
3057
3074
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3058
3075
  },
3059
- renderItem: (y) => /* @__PURE__ */ t(En, { coupon: y }),
3060
- onMove: ({ isStart: y, isEnd: $ }) => u({ isStart: y, isEnd: $ })
3076
+ renderItem: (_) => /* @__PURE__ */ t(Cn, { coupon: _ }),
3077
+ onMove: ({ isStart: _, isEnd: N }) => u({ isStart: _, isEnd: N })
3061
3078
  }
3062
3079
  )
3063
3080
  ] }) });
@@ -3067,27 +3084,27 @@ function kn({}) {
3067
3084
  "div",
3068
3085
  {
3069
3086
  className: ke.cardWrapper,
3070
- children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1, children: [
3071
- /* @__PURE__ */ b(H, { spacing: 1, direction: "row", children: [
3087
+ children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1, children: [
3088
+ /* @__PURE__ */ y(H, { spacing: 1, direction: "row", children: [
3072
3089
  /* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
3073
3090
  /* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
3074
3091
  ] }),
3075
- /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3092
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3076
3093
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
3077
3094
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
3078
3095
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
3079
3096
  ] }),
3080
- /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3097
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3081
3098
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
3082
3099
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
3083
3100
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
3084
3101
  ] }),
3085
- /* @__PURE__ */ b(H, { spacing: 2, direction: "row", children: [
3102
+ /* @__PURE__ */ y(H, { spacing: 2, direction: "row", children: [
3086
3103
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3087
3104
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3088
3105
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
3089
3106
  ] }),
3090
- /* @__PURE__ */ b(H, { spacing: 2, direction: "row", children: [
3107
+ /* @__PURE__ */ y(H, { spacing: 2, direction: "row", children: [
3091
3108
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3092
3109
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3093
3110
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
@@ -3096,11 +3113,11 @@ function kn({}) {
3096
3113
  }
3097
3114
  );
3098
3115
  }
3099
- const $n = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Nn = {
3100
- fadeWrapper: $n
3116
+ const Nn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", $n = {
3117
+ fadeWrapper: Nn
3101
3118
  };
3102
3119
  function Be({ children: e }) {
3103
- return /* @__PURE__ */ t("div", { className: Nn.fadeWrapper, children: e });
3120
+ return /* @__PURE__ */ t("div", { className: $n.fadeWrapper, children: e });
3104
3121
  }
3105
3122
  const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3106
3123
  padding: Mn
@@ -3110,70 +3127,70 @@ function St({
3110
3127
  visibleRange: a,
3111
3128
  fetchJerseys: n,
3112
3129
  buffer: o = 2,
3113
- debounceMs: i = 250
3130
+ debounceMs: r = 250
3114
3131
  }) {
3115
- const [r, s] = Z({}), c = V(/* @__PURE__ */ new Set()), f = V(0), h = V(null), u = V(null);
3132
+ const [i, s] = X({}), c = V(/* @__PURE__ */ new Set()), p = V(0), h = V(null), u = V(null);
3116
3133
  return Q(() => {
3117
3134
  if (!(!e || e.length === 0))
3118
3135
  return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
3119
- var D, y;
3120
- const m = (D = a.start) != null ? D : 0, d = (y = a.end) != null ? y : 7, g = Math.max(0, m - o), p = Math.min(e.length - 1, d + o);
3121
- let v = g, C = p;
3122
- const _ = u.current;
3123
- _ && (g > _.end && (v = _.end + 1), p < _.start && (C = _.start - 1)), u.current = { start: g, end: p };
3124
- const I = e.slice(v, C + 1).map(($) => $ == null ? void 0 : $.id).filter(($) => !!$).filter(($) => !c.current.has($)).filter(($) => !($ in r));
3125
- if (I.length === 0) return;
3126
- I.forEach(($) => c.current.add($));
3127
- const O = ++f.current;
3136
+ var L, _;
3137
+ const m = (L = a.start) != null ? L : 0, d = (_ = a.end) != null ? _ : 7, f = Math.max(0, m - o), v = Math.min(e.length - 1, d + o);
3138
+ let S = f, x = v;
3139
+ const g = u.current;
3140
+ g && (f > g.end && (S = g.end + 1), v < g.start && (x = g.start - 1)), u.current = { start: f, end: v };
3141
+ const C = e.slice(S, x + 1).map((N) => N == null ? void 0 : N.id).filter((N) => !!N).filter((N) => !c.current.has(N)).filter((N) => !(N in i));
3142
+ if (C.length === 0) return;
3143
+ C.forEach((N) => c.current.add(N));
3144
+ const $ = ++p.current;
3128
3145
  (async () => {
3129
3146
  try {
3130
- const $ = await n(I);
3131
- if (O !== f.current) {
3132
- I.forEach((A) => c.current.delete(A));
3147
+ const N = await n(C);
3148
+ if ($ !== p.current) {
3149
+ C.forEach((D) => c.current.delete(D));
3133
3150
  return;
3134
3151
  }
3135
- if (!($ != null && $.events)) {
3136
- I.forEach(
3137
- (A) => c.current.delete(A)
3152
+ if (!(N != null && N.events)) {
3153
+ C.forEach(
3154
+ (D) => c.current.delete(D)
3138
3155
  );
3139
3156
  return;
3140
3157
  }
3141
- s((A) => {
3142
- const N = { ...A };
3143
- for (const [x, T] of Object.entries($.events)) {
3144
- const L = Number(x);
3145
- N[L] || (N[L] = T);
3158
+ s((D) => {
3159
+ const O = { ...D };
3160
+ for (const [b, E] of Object.entries(N.events)) {
3161
+ const R = Number(b);
3162
+ O[R] || (O[R] = E);
3146
3163
  }
3147
- return N;
3164
+ return O;
3148
3165
  });
3149
- const E = new Set(
3150
- Object.keys($.events).map(Number)
3166
+ const F = new Set(
3167
+ Object.keys(N.events).map(Number)
3151
3168
  );
3152
- I.forEach((A) => {
3153
- c.current.delete(A);
3169
+ C.forEach((D) => {
3170
+ c.current.delete(D);
3154
3171
  });
3155
- } catch ($) {
3156
- I.forEach(
3157
- (E) => c.current.delete(E)
3158
- ), console.error("Jersey fetch error", $);
3172
+ } catch (N) {
3173
+ C.forEach(
3174
+ (F) => c.current.delete(F)
3175
+ ), console.error("Jersey fetch error", N);
3159
3176
  }
3160
3177
  })();
3161
- }, i), () => {
3178
+ }, r), () => {
3162
3179
  h.current && clearTimeout(h.current);
3163
3180
  };
3164
- }, [e, a, o, i, n]), {
3165
- jerseys: r,
3181
+ }, [e, a, o, r, n]), {
3182
+ jerseys: i,
3166
3183
  isPending: c.current
3167
3184
  };
3168
3185
  }
3169
3186
  const An = (e) => {
3170
3187
  const a = ["esports", "cyber"];
3171
3188
  return e.filter((n) => {
3172
- var r, s;
3173
- const o = (r = n == null ? void 0 : n.event) == null ? void 0 : r.sport;
3189
+ var i, s;
3190
+ const o = (i = n == null ? void 0 : n.event) == null ? void 0 : i.sport;
3174
3191
  if (typeof o != "string" || o !== "FOOTBALL") return !1;
3175
- const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
3176
- return !a.some((c) => i.includes(c));
3192
+ const r = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
3193
+ return !a.some((c) => r.includes(c));
3177
3194
  });
3178
3195
  }, zn = fe.memo(Da);
3179
3196
  function Rn({
@@ -3181,81 +3198,81 @@ function Rn({
3181
3198
  title: a = "En vivo",
3182
3199
  iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
3183
3200
  onViewMore: o,
3184
- className: i = ""
3201
+ className: r = ""
3185
3202
  }) {
3186
- const r = "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", s = V(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), [h, u] = Z(null), [m, d] = Z({ start: null, end: null }), [g, p] = Z(null), v = V(!1), C = ae(), _ = ne(), I = le(), O = V(/* @__PURE__ */ new Map()), D = () => {
3187
- var z;
3188
- C({
3203
+ const i = "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", s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), [h, u] = X(null), [m, d] = X({ start: null, end: null }), [f, v] = X(null), S = V(!1), x = ae(), g = ne(), C = le(), $ = V(/* @__PURE__ */ new Map()), L = () => {
3204
+ var B;
3205
+ x({
3189
3206
  element: "evento_en_vivo_prev",
3190
- label: `${_} - OraculoSeccionEventoEnVivo - Anterior`,
3207
+ label: `${g} - OraculoSeccionEventoEnVivo - Anterior`,
3191
3208
  target: "prev",
3192
3209
  event_type: "click",
3193
- module_id: I,
3210
+ module_id: C,
3194
3211
  metadata: {
3195
3212
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3196
3213
  },
3197
3214
  tags: { section: "OraculoSeccionEventoEnVivo" }
3198
- }), (z = s.current) == null || z.prev();
3199
- }, y = () => {
3200
- var z;
3201
- C({
3215
+ }), (B = s.current) == null || B.prev();
3216
+ }, _ = () => {
3217
+ var B;
3218
+ x({
3202
3219
  element: "evento_en_vivo_next",
3203
- label: `${_} - OraculoSeccionEventoEnVivo - Siguiente`,
3220
+ label: `${g} - OraculoSeccionEventoEnVivo - Siguiente`,
3204
3221
  target: "next",
3205
3222
  event_type: "click",
3206
- module_id: I,
3223
+ module_id: C,
3207
3224
  metadata: {
3208
3225
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3209
3226
  },
3210
3227
  tags: { section: "OraculoSeccionEventoEnVivo" }
3211
- }), (z = s.current) == null || z.next();
3212
- }, $ = () => {
3213
- C({
3228
+ }), (B = s.current) == null || B.next();
3229
+ }, N = () => {
3230
+ x({
3214
3231
  element: "evento_en_vivo_view_more",
3215
- label: `${_} - OraculoSeccionEventoEnVivo - Ver más`,
3232
+ label: `${g} - OraculoSeccionEventoEnVivo - Ver más`,
3216
3233
  target: "ver_mas",
3217
3234
  event_type: "click",
3218
- module_id: I,
3235
+ module_id: C,
3219
3236
  metadata: {
3220
3237
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3221
3238
  },
3222
3239
  tags: { section: "OraculoSeccionEventoEnVivo" }
3223
3240
  }), Ba();
3224
- }, E = Ee(async () => {
3225
- var z;
3241
+ }, F = Ce(async () => {
3242
+ var B;
3226
3243
  try {
3227
- if (!v.current) {
3228
- v.current = !0;
3244
+ if (!S.current) {
3245
+ S.current = !0;
3229
3246
  try {
3230
- const w = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), F = ((z = w == null ? void 0 : w.data) == null ? void 0 : z.event_ids) || [], K = /* @__PURE__ */ new Map();
3231
- F.forEach((Y, l) => K.set(String(Y), l)), O.current = K;
3247
+ const K = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), w = ((B = K == null ? void 0 : K.data) == null ? void 0 : B.event_ids) || [], z = /* @__PURE__ */ new Map();
3248
+ w.forEach((Z, l) => z.set(String(Z), l)), $.current = z;
3232
3249
  } catch (G) {
3233
3250
  console.error("Order fetch failed, using default sorting", G);
3234
3251
  }
3235
3252
  }
3236
- const R = await fetch(r);
3237
- if (!R.ok) throw new Error("Failed to fetch live events");
3238
- const U = await R.json(), W = An(U.events);
3239
- if (O.current.size === 0)
3253
+ const A = await fetch(i);
3254
+ if (!A.ok) throw new Error("Failed to fetch live events");
3255
+ const U = await A.json(), W = An(U.events);
3256
+ if ($.current.size === 0)
3240
3257
  u(W);
3241
3258
  else {
3242
- const G = [...W].sort((w, F) => {
3243
- const K = O.current.get(String(w.event.id)), Y = O.current.get(String(F.event.id));
3244
- return (K !== void 0 ? K : 1 / 0) - (Y !== void 0 ? Y : 1 / 0);
3259
+ const G = [...W].sort((K, w) => {
3260
+ const z = $.current.get(String(K.event.id)), Z = $.current.get(String(w.event.id));
3261
+ return (z !== void 0 ? z : 1 / 0) - (Z !== void 0 ? Z : 1 / 0);
3245
3262
  });
3246
3263
  u(G);
3247
3264
  }
3248
- } catch (R) {
3249
- console.error("LoadData Error:", R);
3265
+ } catch (A) {
3266
+ console.error("LoadData Error:", A);
3250
3267
  }
3251
3268
  }, []);
3252
3269
  Q(() => {
3253
- E();
3254
- const z = setInterval(E, 2e4);
3255
- return () => clearInterval(z);
3256
- }, [E]);
3257
- const { jerseys: A } = St({
3258
- events: (h == null ? void 0 : h.map((z) => z.event)) || [],
3270
+ F();
3271
+ const B = setInterval(F, 2e4);
3272
+ return () => clearInterval(B);
3273
+ }, [F]);
3274
+ const { jerseys: D } = St({
3275
+ events: (h == null ? void 0 : h.map((B) => B.event)) || [],
3259
3276
  // extract actual event objects
3260
3277
  visibleRange: m,
3261
3278
  fetchJerseys: gt,
@@ -3263,50 +3280,50 @@ function Rn({
3263
3280
  // same as your previous BUFFER
3264
3281
  debounceMs: 300
3265
3282
  // same as your previous debouncedVisibleRange
3266
- }), N = i || void 0, x = h === null, T = ie(() => x ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [x, h]), L = xe("(max-width:950px)");
3267
- return !x && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: N, style: {
3283
+ }), O = r || void 0, b = h === null, E = re(() => b ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [b, h]), R = xe("(max-width:950px)");
3284
+ return !b && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: O, style: {
3268
3285
  // paddingLeft: 16,
3269
3286
  // paddingRight: 16,
3270
3287
  width: "100%",
3271
3288
  boxSizing: "border-box"
3272
- }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3273
- /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3289
+ }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3290
+ /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3274
3291
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3275
- /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3276
- /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
3292
+ /* @__PURE__ */ y("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3293
+ /* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
3277
3294
  /* @__PURE__ */ t(
3278
- X,
3295
+ Y,
3279
3296
  {
3280
3297
  ariaLabel: "Anterior",
3281
3298
  variant: "secondary",
3282
3299
  iconOnly: !0,
3283
3300
  leftIcon: /* @__PURE__ */ t(Ae, {}),
3284
- onClick: D,
3301
+ onClick: L,
3285
3302
  disabled: c.isStart
3286
3303
  }
3287
3304
  ),
3288
3305
  /* @__PURE__ */ t(
3289
- X,
3306
+ Y,
3290
3307
  {
3291
3308
  ariaLabel: "Siguiente",
3292
3309
  variant: "secondary",
3293
3310
  iconOnly: !0,
3294
3311
  rightIcon: /* @__PURE__ */ t(ze, {}),
3295
- onClick: y,
3312
+ onClick: _,
3296
3313
  disabled: c.isEnd
3297
3314
  }
3298
3315
  )
3299
3316
  ] }),
3300
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: $, children: "Ver más" })
3317
+ /* @__PURE__ */ t(Y, { variant: "secondary", onClick: N, children: "Ver más" })
3301
3318
  ] })
3302
3319
  ] }) }),
3303
3320
  /* @__PURE__ */ t(
3304
3321
  he,
3305
3322
  {
3306
3323
  ref: s,
3307
- items: T,
3324
+ items: E,
3308
3325
  perPage: void 0,
3309
- showRightGradient: !L,
3326
+ showRightGradient: !R,
3310
3327
  enableHorizontalWheel: !0,
3311
3328
  gap: "16px",
3312
3329
  options: { autoWidth: !0, trimSpace: "move" },
@@ -3315,46 +3332,46 @@ function Rn({
3315
3332
  768: { gap: "8px", focus: "center", padding: { left: "24px", right: "24px" } },
3316
3333
  1024: { gap: "10px", focus: "center", padding: { left: "24px", right: "24px" } }
3317
3334
  },
3318
- renderItem: (z) => {
3335
+ renderItem: (B) => {
3319
3336
  var W;
3320
- const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in A ? A[R] : void 0;
3321
- return x ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3337
+ const A = ((W = B.event) == null ? void 0 : W.id) || B.eventId, U = A in D ? D[A] : void 0;
3338
+ return b ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3322
3339
  zn,
3323
3340
  {
3324
- ...z,
3341
+ ...B,
3325
3342
  jersey: U
3326
3343
  }
3327
3344
  ) });
3328
3345
  },
3329
- onMove: ({ isStart: z, isEnd: R, visibleStart: U, visibleEnd: W }) => {
3330
- f(
3331
- (G) => G.isStart === z && G.isEnd === R ? G : { isStart: z, isEnd: R }
3346
+ onMove: ({ isStart: B, isEnd: A, visibleStart: U, visibleEnd: W }) => {
3347
+ p(
3348
+ (G) => G.isStart === B && G.isEnd === A ? G : { isStart: B, isEnd: A }
3332
3349
  ), d({ start: U, end: W });
3333
3350
  }
3334
3351
  }
3335
3352
  )
3336
3353
  ] }) });
3337
3354
  }
3338
- function Ln() {
3339
- return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
3355
+ function Pn() {
3356
+ return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
3340
3357
  /* @__PURE__ */ t(mt, { title: "" }),
3341
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3342
- /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3358
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3359
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3343
3360
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
3344
3361
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
3345
3362
  ] }),
3346
- /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3347
- /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3363
+ /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3364
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3348
3365
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
3349
3366
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
3350
3367
  ] }),
3351
3368
  /* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
3352
- /* @__PURE__ */ b(H, { direction: "row", spacing: 1, children: [
3369
+ /* @__PURE__ */ y(H, { direction: "row", spacing: 1, children: [
3353
3370
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3354
3371
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3355
3372
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
3356
3373
  ] }),
3357
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ b(H, { direction: "row", spacing: 1, children: [
3374
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ y(H, { direction: "row", spacing: 1, children: [
3358
3375
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3359
3376
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3360
3377
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
@@ -3363,19 +3380,19 @@ function Ln() {
3363
3380
  ] }) })
3364
3381
  ] });
3365
3382
  }
3366
- const Pn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", qn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
3367
- wrapper: Pn,
3383
+ const Ln = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", qn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
3384
+ wrapper: Ln,
3368
3385
  container: Fn,
3369
3386
  buttonWrapper: qn,
3370
3387
  padding: Dn
3371
3388
  }, Un = fe.memo(Za);
3372
3389
  async function Vn(e, a = 2, n) {
3373
3390
  const o = [];
3374
- for (let i = 0; i < e.length; i += a) {
3391
+ for (let r = 0; r < e.length; r += a) {
3375
3392
  if (n.aborted)
3376
3393
  throw new DOMException("Aborted", "AbortError");
3377
- const r = e.slice(i, i + a), s = await Promise.all(
3378
- r.map((c) => fetch(c, { signal: n }).then((f) => f.json()))
3394
+ const i = e.slice(r, r + a), s = await Promise.all(
3395
+ i.map((c) => fetch(c, { signal: n }).then((p) => p.json()))
3379
3396
  );
3380
3397
  o.push(...s);
3381
3398
  }
@@ -3390,18 +3407,18 @@ function Gn(e) {
3390
3407
  const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
3391
3408
  return e.filter((o) => {
3392
3409
  if (!o.start) return !1;
3393
- const i = new Date(o.start);
3394
- return i >= a && i <= n;
3410
+ const r = new Date(o.start);
3411
+ return r >= a && r <= n;
3395
3412
  });
3396
3413
  }
3397
3414
  function jn(e, a) {
3398
- const o = a.filter((i) => {
3399
- var r;
3400
- return ((r = i.betOfferType) == null ? void 0 : r.id) === 2;
3401
- }).reduce((i, r) => (i[r.eventId] || (i[r.eventId] = []), i[r.eventId].push(r), i), {});
3402
- return e.filter((i) => o[i.id]).map((i) => ({
3403
- ...i,
3404
- outcome: o[i.id]
3415
+ const o = a.filter((r) => {
3416
+ var i;
3417
+ return ((i = r.betOfferType) == null ? void 0 : i.id) === 2;
3418
+ }).reduce((r, i) => (r[i.eventId] || (r[i.eventId] = []), r[i.eventId].push(i), r), {});
3419
+ return e.filter((r) => o[r.id]).map((r) => ({
3420
+ ...r,
3421
+ outcome: o[r.id]
3405
3422
  }));
3406
3423
  }
3407
3424
  function Hn({
@@ -3409,10 +3426,10 @@ function Hn({
3409
3426
  title: a = "En vivo",
3410
3427
  iconUrl: n,
3411
3428
  onViewMore: o,
3412
- className: i = ""
3429
+ className: r = ""
3413
3430
  }) {
3414
- const r = ae(), s = ne(), c = le(), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, m] = Z({ isStart: !0, isEnd: !1 }), [d, g] = Z(null), [p, v] = Z({ start: null, end: null }), C = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", _ = () => {
3415
- r({
3431
+ const i = ae(), s = ne(), c = le(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, m] = X({ isStart: !0, isEnd: !1 }), [d, f] = X(null), [v, S] = X({ start: null, end: null }), x = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", g = () => {
3432
+ i({
3416
3433
  element: "evento_semana_view_more",
3417
3434
  label: `${s} - OraculoSeccionEventoSemana - Ver más`,
3418
3435
  target: "ver_mas",
@@ -3424,24 +3441,24 @@ function Hn({
3424
3441
  tags: { section: "OraculoSeccionEventoSemana" }
3425
3442
  }), Aa();
3426
3443
  };
3427
- async function I(N) {
3428
- var L, z;
3429
- let x = [], T = [];
3444
+ async function C(O) {
3445
+ var R, B;
3446
+ let b = [], E = [];
3430
3447
  try {
3431
- const R = await fetch(
3448
+ const A = await fetch(
3432
3449
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
3433
- { signal: N }
3450
+ { signal: O }
3434
3451
  );
3435
- if (R.ok) {
3436
- const U = await R.json();
3437
- x = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], T = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
3452
+ if (A.ok) {
3453
+ const U = await A.json();
3454
+ b = ((R = U == null ? void 0 : U.data) == null ? void 0 : R.group_ids) || [], E = ((B = U == null ? void 0 : U.data) == null ? void 0 : B.event_ids) || [];
3438
3455
  }
3439
- } catch (R) {
3440
- R.name !== "AbortError" && console.warn("Order API not available, using default group order");
3456
+ } catch (A) {
3457
+ A.name !== "AbortError" && console.warn("Order API not available, using default group order");
3441
3458
  return;
3442
3459
  }
3443
3460
  try {
3444
- const W = (await (await fetch(f, { signal: N })).json()).group.groups.find(
3461
+ const W = (await (await fetch(p, { signal: O })).json()).group.groups.find(
3445
3462
  (l) => l.englishName === "Football"
3446
3463
  );
3447
3464
  if (!W || !Array.isArray(W.groups)) {
@@ -3449,90 +3466,90 @@ function Hn({
3449
3466
  return;
3450
3467
  }
3451
3468
  let G = [...W.groups];
3452
- if (x.length > 0) {
3469
+ if (b.length > 0) {
3453
3470
  const l = new Map(
3454
- x.map((S, k) => [S, k])
3471
+ b.map((I, T) => [I, T])
3455
3472
  );
3456
- G.sort((S, k) => {
3457
- const M = l.get(String(S.id)), B = l.get(String(k.id));
3458
- return M !== void 0 && B !== void 0 ? M - B : M !== void 0 ? -1 : B !== void 0 ? 1 : 0;
3473
+ G.sort((I, T) => {
3474
+ const k = l.get(String(I.id)), M = l.get(String(T.id));
3475
+ return k !== void 0 && M !== void 0 ? k - M : k !== void 0 ? -1 : M !== void 0 ? 1 : 0;
3459
3476
  });
3460
3477
  }
3461
- const F = G.slice(0, 5), K = (l) => {
3462
- const S = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3478
+ const w = G.slice(0, 5), z = (l) => {
3479
+ const I = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3463
3480
  if (l.groups && l.groups.length > 0) {
3464
- const k = l.groups[0];
3481
+ const T = l.groups[0];
3465
3482
  return [
3466
- `${S}/${l.termKey}/${k.termKey}/all/matches.json?${C}`
3483
+ `${I}/${l.termKey}/${T.termKey}/all/matches.json?${x}`
3467
3484
  ];
3468
3485
  }
3469
3486
  return [
3470
- `${S}/${l.termKey}/all/all/matches.json?${C}`
3487
+ `${I}/${l.termKey}/all/all/matches.json?${x}`
3471
3488
  ];
3472
- }, Y = F.flatMap(K);
3473
- O(Y, T, N);
3474
- } catch (R) {
3475
- console.error(R);
3489
+ }, Z = w.flatMap(z);
3490
+ $(Z, E, O);
3491
+ } catch (A) {
3492
+ console.error(A);
3476
3493
  }
3477
3494
  }
3478
- async function O(N, x, T) {
3495
+ async function $(O, b, E) {
3479
3496
  try {
3480
- const L = await Vn(N, 2, T);
3481
- let z = [], R = [];
3482
- L.forEach((w) => {
3483
- w.events && (z.push(...w.events.map((F) => F.event)), R.push(
3484
- ...w.events.flatMap((F) => F.betOffers || [])
3497
+ const R = await Vn(O, 2, E);
3498
+ let B = [], A = [];
3499
+ R.forEach((K) => {
3500
+ K.events && (B.push(...K.events.map((w) => w.event)), A.push(
3501
+ ...K.events.flatMap((w) => w.betOffers || [])
3485
3502
  ));
3486
3503
  });
3487
- const U = jn(z, R), W = Wn(Gn(U));
3504
+ const U = jn(B, A), W = Wn(Gn(U));
3488
3505
  let G = W;
3489
- if (x.length > 0) {
3490
- const w = new Map(
3491
- x.map((F, K) => [
3492
- String(F),
3493
- K
3506
+ if (b.length > 0) {
3507
+ const K = new Map(
3508
+ b.map((w, z) => [
3509
+ String(w),
3510
+ z
3494
3511
  ])
3495
3512
  );
3496
- G = [...W].sort((F, K) => {
3497
- const Y = w.get(String(F.id)), l = w.get(String(K.id));
3498
- return Y !== void 0 && l !== void 0 ? Y - l : Y !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3513
+ G = [...W].sort((w, z) => {
3514
+ const Z = K.get(String(w.id)), l = K.get(String(z.id));
3515
+ return Z !== void 0 && l !== void 0 ? Z - l : Z !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3499
3516
  });
3500
3517
  }
3501
- if (T.aborted) return;
3502
- g(G);
3503
- } catch (L) {
3504
- console.error("Error loading events:", L);
3518
+ if (E.aborted) return;
3519
+ f(G);
3520
+ } catch (R) {
3521
+ console.error("Error loading events:", R);
3505
3522
  }
3506
3523
  }
3507
3524
  Q(() => {
3508
3525
  if (!e) return;
3509
- const N = new AbortController();
3510
- return I(N.signal), () => {
3511
- N.abort();
3526
+ const O = new AbortController();
3527
+ return C(O.signal), () => {
3528
+ O.abort();
3512
3529
  };
3513
3530
  }, [e]);
3514
- const D = i || void 0, y = {
3531
+ const L = r || void 0, _ = {
3515
3532
  paddingLeft: 0,
3516
3533
  width: "100%",
3517
3534
  boxSizing: "border-box"
3518
- }, { jerseys: $ } = St({
3535
+ }, { jerseys: N } = St({
3519
3536
  events: d,
3520
- visibleRange: p,
3537
+ visibleRange: v,
3521
3538
  fetchJerseys: gt,
3522
3539
  buffer: 2,
3523
3540
  debounceMs: 250
3524
- }), E = d === null, A = xe("(max-width:950px)");
3525
- return !E && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: y, children: /* @__PURE__ */ b("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3526
- /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3541
+ }), F = d === null, D = xe("(max-width:950px)");
3542
+ return !F && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: L, style: _, children: /* @__PURE__ */ y("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3543
+ /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3527
3544
  /* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
3528
3545
  /* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
3529
- X,
3546
+ Y,
3530
3547
  {
3531
3548
  variant: "secondary",
3532
3549
  size: "lg",
3533
3550
  fullWidth: !0,
3534
3551
  onClick: () => {
3535
- _();
3552
+ g();
3536
3553
  },
3537
3554
  children: "Ver más"
3538
3555
  }
@@ -3542,11 +3559,11 @@ function Hn({
3542
3559
  he,
3543
3560
  {
3544
3561
  ref: h,
3545
- items: E ? Array(6).fill({}) : d.slice(0, 20),
3562
+ items: F ? Array(6).fill({}) : d.slice(0, 20),
3546
3563
  perPage: 3.5,
3547
3564
  gap: "16px",
3548
3565
  enableHorizontalWheel: !0,
3549
- showRightGradient: !A,
3566
+ showRightGradient: !D,
3550
3567
  options: { autoWidth: !0, trimSpace: !0 },
3551
3568
  breakpoints: {
3552
3569
  1024: {
@@ -3556,15 +3573,15 @@ function Hn({
3556
3573
  padding: { left: "8px", right: "8px" }
3557
3574
  }
3558
3575
  },
3559
- renderItem: (N) => {
3560
- const x = N.id, T = x in $ ? $[x] : void 0;
3561
- return E ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Ln, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: N, jersey: T }) });
3576
+ renderItem: (O) => {
3577
+ const b = O.id, E = b in N ? N[b] : void 0;
3578
+ return F ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Pn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: O, jersey: E }) });
3562
3579
  },
3563
- onMove: ({ isStart: N, isEnd: x, visibleStart: T, visibleEnd: L }) => {
3564
- m({ isStart: N, isEnd: x }), v({
3565
- start: T,
3566
- end: L
3567
- }), r({
3580
+ onMove: ({ isStart: O, isEnd: b, visibleStart: E, visibleEnd: R, source: B }) => {
3581
+ m({ isStart: O, isEnd: b }), S({
3582
+ start: E,
3583
+ end: R
3584
+ }), B === "user" && i({
3568
3585
  element: "evento_semana_carousel_slide",
3569
3586
  label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
3570
3587
  target: "carousel",
@@ -3572,10 +3589,10 @@ function Hn({
3572
3589
  module_id: c,
3573
3590
  metadata: {
3574
3591
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3575
- visibleStart: T,
3576
- visibleEnd: L,
3577
- isStart: N,
3578
- isEnd: x
3592
+ visibleStart: E,
3593
+ visibleEnd: R,
3594
+ isStart: O,
3595
+ isEnd: b
3579
3596
  },
3580
3597
  tags: { section: "OraculoSeccionEventoSemana" }
3581
3598
  });
@@ -3587,43 +3604,52 @@ function Hn({
3587
3604
  const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3588
3605
  if (!e) return null;
3589
3606
  if (Zn(e)) {
3590
- const f = new Date(e).getTime();
3591
- return Number.isNaN(f) ? null : f;
3607
+ const p = new Date(e).getTime();
3608
+ return Number.isNaN(p) ? null : p;
3592
3609
  }
3593
3610
  const a = e.match(
3594
3611
  /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
3595
3612
  );
3596
3613
  if (!a) return null;
3597
- const [, n, o, i, r, s, c = "00"] = a;
3614
+ const [, n, o, r, i, s, c = "00"] = a;
3598
3615
  return Date.UTC(
3599
3616
  Number(n),
3600
3617
  Number(o) - 1,
3601
- Number(i),
3602
- Number(r) - Kn / 60,
3618
+ Number(r),
3619
+ Number(i) - Kn / 60,
3603
3620
  Number(s),
3604
3621
  Number(c)
3605
3622
  );
3606
3623
  }, Jn = (e, a) => {
3607
- var c, f, h, u, m, d, g, p, v;
3608
- const n = (h = (f = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? f : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (m = e == null ? void 0 : e.startAt) != null ? m : (u = n.find((C) => (C == null ? void 0 : C.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (v = (p = e == null ? void 0 : e.endAt) != null ? p : (g = n.find((C) => (C == null ? void 0 : C.name) === "endAt")) == null ? void 0 : g.value) != null ? v : null, r = nt(o), s = nt(i);
3609
- return !(r != null && a < r || s != null && a >= s);
3624
+ var c, p, h, u, m, d, f, v, S;
3625
+ const n = (h = (p = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? p : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (m = e == null ? void 0 : e.startAt) != null ? m : (u = n.find((x) => (x == null ? void 0 : x.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, r = (S = (v = e == null ? void 0 : e.endAt) != null ? v : (f = n.find((x) => (x == null ? void 0 : x.name) === "endAt")) == null ? void 0 : f.value) != null ? S : null, i = nt(o), s = nt(r);
3626
+ return !(i != null && a < i || s != null && a >= s);
3610
3627
  };
3611
3628
  function Xn({
3612
3629
  backgrounds: e,
3613
3630
  items: a,
3614
3631
  hideItems: n
3615
3632
  }) {
3616
- var W, G;
3617
- const [o, i] = Z(0), r = ae(), s = ne(), c = le(), f = V(null), h = V(!1), u = V(!1), [m, d] = Z(() => Date.now()), g = se("setDepositActionGlobal"), p = ie(() => (e != null ? e : []).filter((w) => Jn(w, m)), [e, m]), v = p.length || 1, C = !p || p.length === 0, _ = !C && p.length > 1, I = !n && ((W = a == null ? void 0 : a.length) != null ? W : 0) > 0;
3633
+ var K;
3634
+ const [o, r] = X(0), i = ae(), s = ne(), c = le(), p = V(null), h = V(!1), u = V(!1), [m, d] = X(() => Date.now()), f = se("setDepositActionGlobal"), v = (w) => [...w != null ? w : []].map((z, Z) => ({ item: z, index: Z })).sort((z, Z) => {
3635
+ var T, k;
3636
+ const l = (T = z.item.order) != null ? T : Number.MAX_SAFE_INTEGER, I = (k = Z.item.order) != null ? k : Number.MAX_SAFE_INTEGER;
3637
+ return l - I || z.index - Z.index;
3638
+ }).map(({ item: z }) => z), S = re(() => v(a), [a]), x = re(() => {
3639
+ const w = (e != null ? e : []).filter(
3640
+ (z) => Jn(z, m)
3641
+ );
3642
+ return v(w);
3643
+ }, [e, m]), g = x.length || 1, C = !x || x.length === 0, $ = !C && x.length > 1, L = !n && S.length > 0;
3618
3644
  De("(max-width:950px)");
3619
- const O = "#B5B5B5";
3645
+ const _ = "#B5B5B5";
3620
3646
  Q(() => {
3621
3647
  const w = window.setInterval(() => {
3622
3648
  d(Date.now());
3623
3649
  }, 3e4);
3624
3650
  return () => window.clearInterval(w);
3625
3651
  }, []);
3626
- const D = {
3652
+ const N = {
3627
3653
  position: "absolute",
3628
3654
  top: "50%",
3629
3655
  transform: "translateY(-50%)",
@@ -3631,22 +3657,22 @@ function Xn({
3631
3657
  width: 48,
3632
3658
  height: 40,
3633
3659
  borderRadius: "12px",
3634
- border: `1.5px solid ${O}`,
3660
+ border: `1.5px solid ${_}`,
3635
3661
  py: 1,
3636
3662
  px: 1.5,
3637
- color: O,
3663
+ color: _,
3638
3664
  backgroundColor: "transparent",
3639
3665
  "&:hover": {
3640
3666
  backgroundColor: "rgba(181,181,181,0.08)"
3641
3667
  },
3642
3668
  "&.Mui-disabled": {
3643
3669
  opacity: 0.35,
3644
- borderColor: O,
3645
- color: O,
3670
+ borderColor: _,
3671
+ color: _,
3646
3672
  backgroundColor: "transparent",
3647
3673
  cursor: "default"
3648
3674
  }
3649
- }, y = ie(
3675
+ }, F = re(
3650
3676
  () => ({
3651
3677
  type: "loop",
3652
3678
  perMove: 1,
@@ -3663,41 +3689,41 @@ function Xn({
3663
3689
  }, 500);
3664
3690
  return () => clearTimeout(w);
3665
3691
  }, []);
3666
- const $ = (w, F, K) => {
3692
+ const D = (w, z, Z) => {
3667
3693
  var k, M;
3668
- const Y = !!F.idFunction, l = !!F.href;
3669
- if (Y)
3670
- switch (w.preventDefault(), w.stopPropagation(), F.idFunction) {
3694
+ const l = !!z.idFunction, I = !!z.href;
3695
+ if (l)
3696
+ switch (w.preventDefault(), w.stopPropagation(), z.idFunction) {
3671
3697
  case "deposito":
3672
- g == null || g(!0);
3698
+ f == null || f(!0);
3673
3699
  return;
3674
3700
  default:
3675
3701
  return;
3676
3702
  }
3677
- if (!l) {
3703
+ if (!I) {
3678
3704
  w.preventDefault(), w.stopPropagation();
3679
3705
  return;
3680
3706
  }
3681
- const S = ((M = (k = F.href) == null ? void 0 : k.split("/").pop()) == null ? void 0 : M.split(".")[0]) || F.label || F.id || `banner_${K + 1}`;
3682
- r({
3707
+ const T = ((M = (k = z.href) == null ? void 0 : k.split("/").pop()) == null ? void 0 : M.split(".")[0]) || z.label || z.id || `banner_${Z + 1}`;
3708
+ i({
3683
3709
  element: "banner_carousel",
3684
- label: `${s} - OraculoSeccionBanners - Banner click: ${S}`,
3685
- target: F.href || "no_url",
3710
+ label: `${s} - OraculoSeccionBanners - Banner click: ${T}`,
3711
+ target: z.href || "no_url",
3686
3712
  event_type: "click",
3687
3713
  module_id: c,
3688
3714
  metadata: {
3689
3715
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3690
- banner_position: K + 1,
3691
- banner_total: (p == null ? void 0 : p.length) || 0
3716
+ banner_position: Z + 1,
3717
+ banner_total: (x == null ? void 0 : x.length) || 0
3692
3718
  },
3693
3719
  tags: {
3694
3720
  banner_type: "carousel",
3695
3721
  banner_target: "_self",
3696
- banner_url: F.href || "no_url"
3722
+ banner_url: z.href || "no_url"
3697
3723
  }
3698
3724
  });
3699
- }, E = (w) => {
3700
- if (r({
3725
+ }, O = (w) => {
3726
+ if (i({
3701
3727
  element: "banner_menu_item",
3702
3728
  label: `${s} - OraculoSeccionBanners - Menu item click: ${w.label || w.id}`,
3703
3729
  target: w.href || "action",
@@ -3715,52 +3741,52 @@ function Xn({
3715
3741
  return;
3716
3742
  }
3717
3743
  w.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(w.href);
3718
- }, A = 5e3, N = V(null), x = !C && ((G = p == null ? void 0 : p.length) != null ? G : 0) > 1, T = () => {
3719
- N.current != null && (window.clearTimeout(N.current), N.current = null);
3720
- }, L = () => {
3721
- T(), x && (N.current = window.setTimeout(() => {
3744
+ }, b = 5e3, E = V(null), R = !C && ((K = x == null ? void 0 : x.length) != null ? K : 0) > 1, B = () => {
3745
+ E.current != null && (window.clearTimeout(E.current), E.current = null);
3746
+ }, A = () => {
3747
+ B(), R && (E.current = window.setTimeout(() => {
3722
3748
  var w;
3723
- u.current = !0, (w = f.current) == null || w.next();
3724
- }, A));
3749
+ u.current = !0, (w = p.current) == null || w.next();
3750
+ }, b));
3725
3751
  };
3726
- Q(() => (L(), () => T()), [x, A]);
3727
- const z = (w) => {
3728
- var F;
3729
- w.preventDefault(), w.stopPropagation(), T(), (F = f.current) == null || F.prev();
3730
- }, R = (w) => {
3731
- var F;
3732
- w.preventDefault(), w.stopPropagation(), T(), (F = f.current) == null || F.next();
3733
- }, U = (w) => {
3734
- var Y, l, S, k;
3735
- const F = (w % v + v) % v;
3752
+ Q(() => (A(), () => B()), [R, b]);
3753
+ const U = (w) => {
3754
+ var z;
3755
+ w.preventDefault(), w.stopPropagation(), B(), (z = p.current) == null || z.prev();
3756
+ }, W = (w) => {
3757
+ var z;
3758
+ w.preventDefault(), w.stopPropagation(), B(), (z = p.current) == null || z.next();
3759
+ }, G = (w) => {
3760
+ var l, I, T, k;
3761
+ const z = (w % g + g) % g;
3736
3762
  if (!h.current) return;
3737
- const K = (Y = p == null ? void 0 : p[F]) != null && Y.href ? ((S = (l = p[F].href) == null ? void 0 : l.split("/").pop()) == null ? void 0 : S.split(".")[0]) || `banner_${F + 1}` : `banner_${F + 1}`;
3738
- r({
3763
+ const Z = (l = x == null ? void 0 : x[z]) != null && l.href ? ((T = (I = x[z].href) == null ? void 0 : I.split("/").pop()) == null ? void 0 : T.split(".")[0]) || `banner_${z + 1}` : `banner_${z + 1}`;
3764
+ i({
3739
3765
  element: "banner_carousel",
3740
- label: `${s} - OraculoSeccionBanners - Banner view: Slide ${F + 1} - ${K}`,
3741
- target: ((k = p == null ? void 0 : p[F]) == null ? void 0 : k.href) || "no_url",
3766
+ label: `${s} - OraculoSeccionBanners - Banner view: Slide ${z + 1} - ${Z}`,
3767
+ target: ((k = x == null ? void 0 : x[z]) == null ? void 0 : k.href) || "no_url",
3742
3768
  event_type: "view",
3743
3769
  module_id: c,
3744
3770
  metadata: {
3745
3771
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3746
- slide_index: F + 1,
3747
- total_slides: v,
3772
+ slide_index: z + 1,
3773
+ total_slides: g,
3748
3774
  interaction_type: "manual_slide"
3749
3775
  },
3750
- tags: { banner_position: String(F + 1) }
3776
+ tags: { banner_position: String(z + 1) }
3751
3777
  });
3752
3778
  };
3753
- return /* @__PURE__ */ b(
3779
+ return /* @__PURE__ */ y(
3754
3780
  ee,
3755
3781
  {
3756
3782
  component: "section",
3757
3783
  sx: {
3758
3784
  position: "relative",
3759
3785
  overflow: "visible",
3760
- pb: I ? { xs: "40px", sm: 0 } : 0
3786
+ pb: L ? { xs: "40px", sm: 0 } : 0
3761
3787
  },
3762
3788
  children: [
3763
- /* @__PURE__ */ b(
3789
+ /* @__PURE__ */ y(
3764
3790
  ee,
3765
3791
  {
3766
3792
  sx: {
@@ -3787,46 +3813,46 @@ function Xn({
3787
3813
  children: /* @__PURE__ */ t(
3788
3814
  he,
3789
3815
  {
3790
- ref: f,
3791
- items: p,
3816
+ ref: p,
3817
+ items: x,
3792
3818
  perPage: 1,
3793
3819
  gap: "0px",
3794
3820
  enableHorizontalWheel: !0,
3795
- options: y,
3796
- onMove: ({ index: w }) => {
3797
- const F = (w % v + v) % v;
3798
- i(F);
3799
- const K = u.current;
3800
- u.current = !1, L(), K || U(w);
3821
+ options: F,
3822
+ onMove: ({ index: w, source: z }) => {
3823
+ const Z = (w % g + g) % g;
3824
+ r(Z);
3825
+ const l = u.current;
3826
+ u.current = !1, z === "user" && (A(), l || G(w));
3801
3827
  },
3802
- renderItem: (w, F) => {
3803
- var k, M, B;
3804
- const K = !!w.idFunction, Y = !!w.href, l = Y && !K, S = K || Y;
3805
- return /* @__PURE__ */ b(
3828
+ renderItem: (w, z) => {
3829
+ var k, M, P;
3830
+ const Z = !!w.idFunction, l = !!w.href, I = l && !Z, T = Z || l;
3831
+ return /* @__PURE__ */ y(
3806
3832
  ee,
3807
3833
  {
3808
- component: l ? "a" : "div",
3809
- href: l ? w.href : void 0,
3810
- target: l ? (k = w.target) != null ? k : "_self" : void 0,
3811
- rel: l && w.target === "_blank" ? "noopener noreferrer" : void 0,
3812
- onClick: (P) => $(P, w, F),
3834
+ component: I ? "a" : "div",
3835
+ href: I ? w.href : void 0,
3836
+ target: I ? (k = w.target) != null ? k : "_self" : void 0,
3837
+ rel: I && w.target === "_blank" ? "noopener noreferrer" : void 0,
3838
+ onClick: (J) => D(J, w, z),
3813
3839
  sx: {
3814
3840
  position: "relative",
3815
3841
  width: "100%",
3816
3842
  height: "100%",
3817
3843
  display: "block",
3818
3844
  textDecoration: "none",
3819
- cursor: S ? "pointer" : "default"
3845
+ cursor: T ? "pointer" : "default"
3820
3846
  },
3821
3847
  children: [
3822
- /* @__PURE__ */ b(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3848
+ /* @__PURE__ */ y(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3823
3849
  /* @__PURE__ */ t("source", { srcSet: w.desktopSrc, media: "(min-width:950px)" }),
3824
3850
  /* @__PURE__ */ t("source", { srcSet: w.mobileSrc, media: "(max-width:949px)" }),
3825
3851
  /* @__PURE__ */ t(
3826
3852
  ee,
3827
3853
  {
3828
3854
  component: "img",
3829
- src: (B = (M = w.fallbackSrc) != null ? M : w.desktopSrc) != null ? B : "",
3855
+ src: (P = (M = w.fallbackSrc) != null ? M : w.desktopSrc) != null ? P : "",
3830
3856
  alt: "",
3831
3857
  "aria-hidden": !0,
3832
3858
  loading: "lazy",
@@ -3866,14 +3892,14 @@ function Xn({
3866
3892
  )
3867
3893
  }
3868
3894
  ),
3869
- _ && /* @__PURE__ */ b(pe, { children: [
3895
+ $ && /* @__PURE__ */ y(pe, { children: [
3870
3896
  /* @__PURE__ */ t(
3871
3897
  Ke,
3872
3898
  {
3873
3899
  "aria-label": "Anterior",
3874
- onClick: z,
3900
+ onClick: U,
3875
3901
  sx: {
3876
- ...D,
3902
+ ...N,
3877
3903
  left: "120px",
3878
3904
  "@media (max-width:1024px)": { left: 24 },
3879
3905
  "@media (max-width:786px)": { display: "none" }
@@ -3885,9 +3911,9 @@ function Xn({
3885
3911
  Ke,
3886
3912
  {
3887
3913
  "aria-label": "Siguiente",
3888
- onClick: R,
3914
+ onClick: W,
3889
3915
  sx: {
3890
- ...D,
3916
+ ...N,
3891
3917
  right: "120px",
3892
3918
  "@media (max-width:1024px)": { right: 24 },
3893
3919
  "@media (max-width:786px)": { display: "none" }
@@ -3911,18 +3937,18 @@ function Xn({
3911
3937
  children: /* @__PURE__ */ t(
3912
3938
  dt,
3913
3939
  {
3914
- total: v,
3940
+ total: g,
3915
3941
  active: o,
3916
- durationMs: A
3942
+ durationMs: b
3917
3943
  },
3918
- `${o}-${v}`
3944
+ `${o}-${g}`
3919
3945
  )
3920
3946
  }
3921
3947
  )
3922
3948
  ]
3923
3949
  }
3924
3950
  ),
3925
- I && /* @__PURE__ */ t(
3951
+ L && /* @__PURE__ */ t(
3926
3952
  ee,
3927
3953
  {
3928
3954
  sx: {
@@ -3940,7 +3966,7 @@ function Xn({
3940
3966
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3941
3967
  zIndex: 3
3942
3968
  },
3943
- children: a == null ? void 0 : a.map((w) => /* @__PURE__ */ b(
3969
+ children: S == null ? void 0 : S.map((w) => /* @__PURE__ */ y(
3944
3970
  ee,
3945
3971
  {
3946
3972
  sx: {
@@ -3985,9 +4011,9 @@ function Xn({
3985
4011
  }
3986
4012
  }
3987
4013
  },
3988
- onClick: () => E(w),
4014
+ onClick: () => O(w),
3989
4015
  children: [
3990
- w.icon && /* @__PURE__ */ b(
4016
+ w.icon && /* @__PURE__ */ y(
3991
4017
  ee,
3992
4018
  {
3993
4019
  sx: {
@@ -4064,14 +4090,15 @@ const Yn = [
4064
4090
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/pagoEfectivo.png", alt: "PagoEfectivo" },
4065
4091
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/tupay.svg", alt: "Tupay" },
4066
4092
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/monnet.svg", alt: "Monnet" },
4067
- { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
4093
+ { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" },
4094
+ { src: "assets/img/home/MediosPago/bbva.png", alt: "BBVA" }
4068
4095
  ];
4069
4096
  function Qn({
4070
4097
  title: e = "Medios de pago",
4071
4098
  items: a = Yn
4072
4099
  }) {
4073
- const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
4074
- return /* @__PURE__ */ b(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4100
+ const n = Math.ceil(a.length / 2), o = a.slice(0, n), r = a.slice(n);
4101
+ return /* @__PURE__ */ y(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4075
4102
  /* @__PURE__ */ t(
4076
4103
  st,
4077
4104
  {
@@ -4100,7 +4127,7 @@ function Qn({
4100
4127
  }
4101
4128
  }
4102
4129
  ),
4103
- /* @__PURE__ */ b(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4130
+ /* @__PURE__ */ y(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4104
4131
  /* @__PURE__ */ t(
4105
4132
  Oe,
4106
4133
  {
@@ -4109,7 +4136,7 @@ function Qn({
4109
4136
  alignItems: "center",
4110
4137
  gap: { xs: 2, md: 3 },
4111
4138
  flexWrap: "wrap",
4112
- children: o.map((r, s) => /* @__PURE__ */ t(Ze, { ...r }, `${r.alt}-${r.src}-${s}`))
4139
+ children: o.map((i, s) => /* @__PURE__ */ t(Ze, { ...i }, `${i.alt}-${i.src}-${s}`))
4113
4140
  }
4114
4141
  ),
4115
4142
  /* @__PURE__ */ t(
@@ -4120,7 +4147,7 @@ function Qn({
4120
4147
  alignItems: "center",
4121
4148
  gap: { xs: 2, md: 3 },
4122
4149
  flexWrap: "wrap",
4123
- children: i.map((r, s) => /* @__PURE__ */ t(Ze, { ...r }, `${r.alt}-${r.src}-${s}`))
4150
+ children: r.map((i, s) => /* @__PURE__ */ t(Ze, { ...i }, `${i.alt}-${i.src}-${s}`))
4124
4151
  }
4125
4152
  )
4126
4153
  ] })
@@ -4142,8 +4169,8 @@ function It({
4142
4169
  }),
4143
4170
  [a]
4144
4171
  );
4145
- return /* @__PURE__ */ b(Lt, { theme: n, children: [
4146
- /* @__PURE__ */ t(Pt, {}),
4172
+ return /* @__PURE__ */ y(Pt, { theme: n, children: [
4173
+ /* @__PURE__ */ t(Lt, {}),
4147
4174
  e
4148
4175
  ] });
4149
4176
  }
@@ -4217,6 +4244,14 @@ const eo = {
4217
4244
  required: !1,
4218
4245
  isImage: !1,
4219
4246
  name: "href"
4247
+ },
4248
+ {
4249
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4250
+ isImage: !1,
4251
+ name: "order",
4252
+ required: !1,
4253
+ type: "number",
4254
+ value: 2
4220
4255
  }
4221
4256
  ],
4222
4257
  id: "724a1dc0-d55b-4443-a580-cad22e328536"
@@ -4264,6 +4299,14 @@ const eo = {
4264
4299
  name: "href",
4265
4300
  required: !1,
4266
4301
  isImage: !1
4302
+ },
4303
+ {
4304
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4305
+ isImage: !1,
4306
+ name: "order",
4307
+ required: !1,
4308
+ type: "number",
4309
+ value: 1
4267
4310
  }
4268
4311
  ],
4269
4312
  id: "ad0df0e2-c8ce-4524-b05a-2a29578aba11"
@@ -4311,6 +4354,14 @@ const eo = {
4311
4354
  value: "https://www.olimpo.bet/casino",
4312
4355
  id: "26a486fd-31e6-4ed4-ab83-0f9a7bf6adc4",
4313
4356
  type: "string"
4357
+ },
4358
+ {
4359
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4360
+ isImage: !1,
4361
+ name: "order",
4362
+ required: !1,
4363
+ type: "number",
4364
+ value: 5
4314
4365
  }
4315
4366
  ],
4316
4367
  id: "966bc1fc-0b1a-4a50-a4a2-964262922c3d"
@@ -4358,6 +4409,14 @@ const eo = {
4358
4409
  id: "4b72f490-75e4-458e-a4b5-68f0736a25d4",
4359
4410
  type: "string",
4360
4411
  value: "https://www.olimpo.bet/private/misiones"
4412
+ },
4413
+ {
4414
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4415
+ isImage: !1,
4416
+ name: "order",
4417
+ required: !1,
4418
+ type: "number",
4419
+ value: 3
4361
4420
  }
4362
4421
  ],
4363
4422
  id: "31e00ff9-f2dd-4942-bff3-919902fde880"
@@ -4451,6 +4510,14 @@ const eo = {
4451
4510
  required: !1,
4452
4511
  type: "string",
4453
4512
  value: "deposito"
4513
+ },
4514
+ {
4515
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4516
+ isImage: !1,
4517
+ name: "order",
4518
+ required: !1,
4519
+ type: "number",
4520
+ value: 1
4454
4521
  }
4455
4522
  ],
4456
4523
  id: "13b35362-5695-4687-b6a8-645f8effd264"
@@ -4513,6 +4580,14 @@ const eo = {
4513
4580
  required: !1,
4514
4581
  type: "string",
4515
4582
  value: ""
4583
+ },
4584
+ {
4585
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4586
+ isImage: !1,
4587
+ name: "order",
4588
+ required: !1,
4589
+ type: "number",
4590
+ value: 2
4516
4591
  }
4517
4592
  ],
4518
4593
  id: "024f8130-91e1-4296-b826-cffa32ab1a96"
@@ -4575,6 +4650,14 @@ const eo = {
4575
4650
  required: !1,
4576
4651
  type: "string",
4577
4652
  value: ""
4653
+ },
4654
+ {
4655
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4656
+ isImage: !1,
4657
+ name: "order",
4658
+ required: !1,
4659
+ type: "number",
4660
+ value: 7
4578
4661
  }
4579
4662
  ],
4580
4663
  id: "cdfce77c-a814-43f1-911d-3715803252c2"
@@ -4637,6 +4720,14 @@ const eo = {
4637
4720
  required: !1,
4638
4721
  type: "string",
4639
4722
  value: "2026-04-14T12:15"
4723
+ },
4724
+ {
4725
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4726
+ isImage: !1,
4727
+ name: "order",
4728
+ required: !1,
4729
+ type: "number",
4730
+ value: 3
4640
4731
  }
4641
4732
  ],
4642
4733
  id: "b3816989-ffeb-4409-bc0a-46310867097c"
@@ -4699,6 +4790,14 @@ const eo = {
4699
4790
  required: !1,
4700
4791
  type: "string",
4701
4792
  value: "2026-04-14T11:50"
4793
+ },
4794
+ {
4795
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4796
+ isImage: !1,
4797
+ name: "order",
4798
+ required: !1,
4799
+ type: "number",
4800
+ value: 4
4702
4801
  }
4703
4802
  ],
4704
4803
  id: "2e3e6afd-bbd3-4bbd-b6e7-0eba50e556d4"
@@ -4758,6 +4857,14 @@ const eo = {
4758
4857
  required: !1,
4759
4858
  type: "string",
4760
4859
  value: "2026-04-14T12:15"
4860
+ },
4861
+ {
4862
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4863
+ isImage: !1,
4864
+ name: "order",
4865
+ required: !1,
4866
+ type: "number",
4867
+ value: 5
4761
4868
  }
4762
4869
  ],
4763
4870
  id: "706ea8a2-46ae-4fd9-8b42-5879a903a006"
@@ -5456,17 +5563,17 @@ const eo = {
5456
5563
  }
5457
5564
  ]
5458
5565
  }, to = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, ao = (e) => /^OraculoSeccion[A-Z]/.test(e);
5459
- function Ce(e) {
5566
+ function Ee(e) {
5460
5567
  return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
5461
- var o, i;
5462
- return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
5568
+ var o, r;
5569
+ return ((o = a.order) != null ? o : 0) - ((r = n.order) != null ? r : 0);
5463
5570
  }).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
5464
- var o, i, r, s, c;
5571
+ var o, r, i, s, c;
5465
5572
  return {
5466
5573
  id: (o = a.id) != null ? o : n + 1,
5467
- title: (i = a.title) != null ? i : "",
5574
+ title: (r = a.title) != null ? r : "",
5468
5575
  componentKey: a.componentKey,
5469
- visible: (r = a.visible) != null ? r : !0,
5576
+ visible: (i = a.visible) != null ? i : !0,
5470
5577
  order: n + 1,
5471
5578
  props: (s = a.props) != null ? s : {},
5472
5579
  apiUrl: (c = a.apiUrl) != null ? c : "",
@@ -5497,7 +5604,7 @@ class ot extends Error {
5497
5604
  super(`HTTP ${a} ${o}`), this.status = a, this.url = n, this.statusText = o, this.name = "HttpError";
5498
5605
  }
5499
5606
  }
5500
- class io extends fe.Component {
5607
+ class ro extends fe.Component {
5501
5608
  constructor(a) {
5502
5609
  super(a), this.state = { hasError: !1 };
5503
5610
  }
@@ -5517,7 +5624,7 @@ class io extends fe.Component {
5517
5624
  return this.state.hasError ? null : this.props.children;
5518
5625
  }
5519
5626
  }
5520
- const it = [
5627
+ const rt = [
5521
5628
  "OraculoSeccionEventoEnVivo",
5522
5629
  "OraculoSeccionEventoSemana",
5523
5630
  "OraculoSeccionEventoCombinadas"
@@ -5526,266 +5633,262 @@ const it = [
5526
5633
  docId: a = "Landing: home",
5527
5634
  moduleId: n = 301,
5528
5635
  db: o,
5529
- extras: i,
5530
- loader: r,
5636
+ extras: r,
5637
+ loader: i,
5531
5638
  disableWrapper: s = !1
5532
5639
  }) => {
5533
- const c = ie(() => oo(i), [i]), f = r || c.loader, [h, u] = Z([]), [m, d] = Z(!1), [g, p] = Z({}), [v, C] = Z({}), [_, I] = Z({}), O = De("(min-width:1024px)"), D = ie(
5534
- () => Ce(qe),
5640
+ const c = re(() => oo(r), [r]), p = i || c.loader, [h, u] = X([]), [m, d] = X(!1), [f, v] = X({}), [S, x] = X({}), [g, C] = X({}), $ = De("(min-width:1024px)"), L = re(
5641
+ () => Ee(qe),
5535
5642
  []
5536
- ), y = (l) => D.find(
5537
- (S) => S.id === l.id || S.componentKey === l.componentKey
5538
- ), $ = (l) => Array.isArray(l) ? l.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], E = ie(() => {
5643
+ ), _ = (l) => L.find(
5644
+ (I) => I.id === l.id || I.componentKey === l.componentKey
5645
+ ), N = (l) => Array.isArray(l) ? l.map((I) => Number(I)).filter((I) => !Number.isNaN(I)) : [], F = re(() => {
5539
5646
  const l = c.user;
5540
- return $(l == null ? void 0 : l.groups);
5541
- }, [c]), A = (l) => {
5542
- const S = l.manualScalarFields;
5543
- if (!Array.isArray(S)) return [];
5544
- const k = S.find(
5647
+ return N(l == null ? void 0 : l.groups);
5648
+ }, [c]), D = (l) => {
5649
+ const I = l.manualScalarFields;
5650
+ if (!Array.isArray(I)) return [];
5651
+ const T = I.find(
5545
5652
  (P) => String((P == null ? void 0 : P.name) || "").trim().toLowerCase() === "groups"
5546
5653
  );
5547
- if (!k) return [];
5548
- const M = k.value;
5549
- if (M == null) return [];
5550
- if (Array.isArray(M))
5551
- return M.map((P) => Number(String(P).trim())).filter((P) => !Number.isNaN(P));
5552
- const B = String(M).trim();
5553
- return B ? B.split(",").map((P) => Number(P.trim())).filter((P) => !Number.isNaN(P)) : [];
5554
- }, N = (l, S) => {
5555
- const k = A(l);
5556
- if (k.length === 0) return !0;
5557
- if (!Array.isArray(S) || S.length === 0) return !1;
5558
- const M = new Set(S);
5559
- return k.some((B) => M.has(B));
5654
+ if (!T) return [];
5655
+ const k = T.value;
5656
+ if (k == null) return [];
5657
+ if (Array.isArray(k))
5658
+ return k.map((P) => Number(String(P).trim())).filter((P) => !Number.isNaN(P));
5659
+ const M = String(k).trim();
5660
+ return M ? M.split(",").map((P) => Number(P.trim())).filter((P) => !Number.isNaN(P)) : [];
5661
+ }, O = (l, I) => {
5662
+ const T = D(l);
5663
+ if (T.length === 0) return !0;
5664
+ if (!Array.isArray(I) || I.length === 0) return !1;
5665
+ const k = new Set(I);
5666
+ return T.some((M) => k.has(M));
5560
5667
  };
5561
5668
  Q(() => {
5562
5669
  if (e) return;
5563
5670
  if (!o) {
5564
- console.warn("[landing] sin db -> fallback json"), u(Ce(qe));
5671
+ console.warn("[landing] sin db -> fallback json"), u(Ee(qe));
5565
5672
  return;
5566
5673
  }
5567
- const l = (k, M) => {
5568
- console.warn("[landing] FALLBACK:", k, M != null ? M : ""), u(Ce(qe)), d(!1);
5674
+ const l = (T, k) => {
5675
+ console.warn("[landing] FALLBACK:", T, k != null ? k : ""), u(Ee(qe)), d(!1);
5569
5676
  };
5570
- if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
5571
- d(!0), l("forzado por env");
5572
- return;
5573
- }
5574
5677
  d(!0);
5575
- const S = Ft(
5678
+ const I = Ft(
5576
5679
  qt(o, "landings", a),
5577
- (k) => {
5680
+ (T) => {
5578
5681
  try {
5579
- if (!k.exists()) {
5682
+ if (!T.exists()) {
5580
5683
  l(`doc landings/${a} no existe`);
5581
5684
  return;
5582
5685
  }
5583
- const M = k.data(), B = Ce(M);
5584
- if (!B.length) {
5585
- l("JSON inválido o sin secciones normalizables", M);
5686
+ const k = T.data(), M = Ee(k);
5687
+ if (!M.length) {
5688
+ l("JSON inválido o sin secciones normalizables", k);
5586
5689
  return;
5587
5690
  }
5588
- console.log("[landing] Firestore OK (json grande):", M), u(B);
5589
- } catch (M) {
5590
- l("error procesando snapshot", M);
5691
+ console.log("[landing] Firestore OK (json grande):", k), u(M);
5692
+ } catch (k) {
5693
+ l("error procesando snapshot", k);
5591
5694
  } finally {
5592
5695
  d(!1);
5593
5696
  }
5594
5697
  },
5595
- (k) => {
5596
- l("error onSnapshot", k);
5698
+ (T) => {
5699
+ l("error onSnapshot", T);
5597
5700
  }
5598
5701
  );
5599
- return () => S();
5702
+ return () => I();
5600
5703
  }, [e, a, o]), Q(() => (Xa(c), () => Ya()), [c]), Q(() => {
5601
- (e ? e.slice() : h.slice()).map((k) => k.componentKey).filter((k) => !!k).length;
5704
+ (e ? e.slice() : h.slice()).map((T) => T.componentKey).filter((T) => !!T).length;
5602
5705
  }, [e, h]);
5603
- const x = async (l) => {
5604
- if (it.includes(l.componentKey))
5706
+ const b = async (l) => {
5707
+ if (rt.includes(l.componentKey))
5605
5708
  return {
5606
5709
  items: [],
5607
5710
  events: [],
5608
5711
  data: {}
5609
5712
  };
5610
- const S = (l.apiUrl || "").trim();
5611
- if (!S) return;
5612
- const k = l.apiMethod || "GET", M = l.apiParams || [];
5613
- let B = S, P, J;
5614
- if (k === "GET") {
5615
- const re = new URL(
5616
- S,
5713
+ const I = (l.apiUrl || "").trim();
5714
+ if (!I) return;
5715
+ const T = l.apiMethod || "GET", k = l.apiParams || [];
5716
+ let M = I, P, J;
5717
+ if (T === "GET") {
5718
+ const ie = new URL(
5719
+ I,
5617
5720
  typeof window == "undefined" ? "http://localhost" : window.location.origin
5618
5721
  );
5619
- for (const oe of M)
5620
- oe.key && re.searchParams.append(oe.key, oe.value);
5621
- B = re.toString();
5722
+ for (const oe of k)
5723
+ oe.key && ie.searchParams.append(oe.key, oe.value);
5724
+ M = ie.toString();
5622
5725
  } else {
5623
- const re = new URLSearchParams();
5624
- for (const oe of M)
5625
- oe.key && re.append(oe.key, oe.value);
5626
- P = re.toString(), J = {
5726
+ const ie = new URLSearchParams();
5727
+ for (const oe of k)
5728
+ oe.key && ie.append(oe.key, oe.value);
5729
+ P = ie.toString(), J = {
5627
5730
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5628
5731
  };
5629
5732
  }
5630
- const te = await fetch(B, {
5631
- method: k,
5733
+ const te = await fetch(M, {
5734
+ method: T,
5632
5735
  headers: J,
5633
5736
  body: P
5634
5737
  });
5635
- if (!te.ok) throw new ot(te.status, B, te.statusText);
5738
+ if (!te.ok) throw new ot(te.status, M, te.statusText);
5636
5739
  return te.json();
5637
- }, T = ie(
5740
+ }, E = re(
5638
5741
  () => e ? e.slice() : h.slice(),
5639
5742
  [e, h]
5640
- ), L = fe.useRef(/* @__PURE__ */ new Set());
5743
+ ), R = fe.useRef(/* @__PURE__ */ new Set());
5641
5744
  Q(() => {
5642
- const l = T.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
5745
+ const l = E.map((I) => ({ s: I, url: (I.apiUrl || "").trim() })).filter(({ url: I }) => !!I);
5643
5746
  if (l.length)
5644
- for (const { s: S, url: k } of l) {
5645
- const M = `${S.id}|${k}`;
5646
- L.current.has(M) || (L.current.add(M), C((B) => ({ ...B, [S.id]: !0 })), I((B) => ({ ...B, [S.id]: "" })), (async () => {
5747
+ for (const { s: I, url: T } of l) {
5748
+ const k = `${I.id}|${T}`;
5749
+ R.current.has(k) || (R.current.add(k), x((M) => ({ ...M, [I.id]: !0 })), C((M) => ({ ...M, [I.id]: "" })), (async () => {
5647
5750
  try {
5648
- const B = await x(S);
5649
- p((P) => ({ ...P, [S.id]: B }));
5650
- } catch (B) {
5751
+ const M = await b(I);
5752
+ v((P) => ({ ...P, [I.id]: M }));
5753
+ } catch (M) {
5651
5754
  let P = "Error desconocido";
5652
- B instanceof ot ? P = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? P = "Respuesta no es JSON válido" : B instanceof TypeError ? P = "Fallo de red / CORS / conexión" : typeof B == "string" && (P = B.toString()), I((J) => ({ ...J, [S.id]: P }));
5755
+ M instanceof ot ? P = `Error HTTP ${M.status} (${M.statusText}) en ${M.url}` : M instanceof SyntaxError ? P = "Respuesta no es JSON válido" : M instanceof TypeError ? P = "Fallo de red / CORS / conexión" : typeof M == "string" && (P = M.toString()), C((J) => ({ ...J, [I.id]: P }));
5653
5756
  } finally {
5654
- C((B) => ({ ...B, [S.id]: !1 }));
5757
+ x((M) => ({ ...M, [I.id]: !1 }));
5655
5758
  }
5656
5759
  })());
5657
5760
  }
5658
- }, [T]);
5659
- const z = ie(
5660
- () => T.filter((l) => l.visible).filter((l) => N(l, E)).sort((l, S) => l.order - S.order),
5661
- [T, E]
5662
- ), R = (l) => Array.isArray(l) ? l.map((S) => {
5663
- const k = {};
5664
- for (const M of S.fields || []) {
5665
- const B = (M.type || "string").toLowerCase();
5666
- if (B === "number") {
5667
- const P = String(M.value || "").trim();
5761
+ }, [E]);
5762
+ const B = re(
5763
+ () => E.filter((l) => l.visible).filter((l) => O(l, F)).sort((l, I) => l.order - I.order),
5764
+ [E, F]
5765
+ ), A = (l) => Array.isArray(l) ? l.map((I) => {
5766
+ const T = {};
5767
+ for (const k of I.fields || []) {
5768
+ const M = (k.type || "string").toLowerCase();
5769
+ if (M === "number") {
5770
+ const P = String(k.value || "").trim();
5668
5771
  if (P !== "") {
5669
5772
  const J = Number(P);
5670
- Number.isNaN(J) || (k[M.name] = J);
5773
+ Number.isNaN(J) || (T[k.name] = J);
5671
5774
  }
5672
- } else if (B === "boolean")
5673
- k[M.name] = String(M.value).toLowerCase() === "true";
5674
- else if (B === "function") {
5675
- const P = String(M.value || "").trim();
5775
+ } else if (M === "boolean")
5776
+ T[k.name] = String(k.value).toLowerCase() === "true";
5777
+ else if (M === "function") {
5778
+ const P = String(k.value || "").trim();
5676
5779
  if (P)
5677
5780
  try {
5678
5781
  const J = new Function(P);
5679
- k[M.name] = J;
5782
+ T[k.name] = J;
5680
5783
  } catch (J) {
5681
- console.error(`❌ Error creando función en item '${M.name}':`, J);
5784
+ console.error(`❌ Error creando función en item '${k.name}':`, J);
5682
5785
  }
5683
5786
  } else
5684
- k[M.name] = M.value;
5787
+ T[k.name] = k.value;
5685
5788
  }
5686
- return k;
5789
+ return T;
5687
5790
  }) : [], U = (l) => {
5688
- const S = {};
5689
- if (!Array.isArray(l)) return S;
5690
- for (const k of l) {
5691
- if (!k.name) continue;
5692
- const M = (k.type || "string").toLowerCase();
5693
- if (M === "number") {
5694
- const B = String(k.value || "").trim();
5695
- if (B !== "") {
5696
- const P = Number(B);
5697
- Number.isNaN(P) || (S[k.name] = P);
5791
+ const I = {};
5792
+ if (!Array.isArray(l)) return I;
5793
+ for (const T of l) {
5794
+ if (!T.name) continue;
5795
+ const k = (T.type || "string").toLowerCase();
5796
+ if (k === "number") {
5797
+ const M = String(T.value || "").trim();
5798
+ if (M !== "") {
5799
+ const P = Number(M);
5800
+ Number.isNaN(P) || (I[T.name] = P);
5698
5801
  }
5699
- } else if (M === "boolean")
5700
- S[k.name] = String(k.value).toLowerCase() === "true";
5701
- else if (M === "function") {
5702
- const B = String(k.value || "").trim();
5703
- if (B)
5802
+ } else if (k === "boolean")
5803
+ I[T.name] = String(T.value).toLowerCase() === "true";
5804
+ else if (k === "function") {
5805
+ const M = String(T.value || "").trim();
5806
+ if (M)
5704
5807
  try {
5705
- const P = new Function(B);
5706
- S[k.name] = P;
5808
+ const P = new Function(M);
5809
+ I[T.name] = P;
5707
5810
  } catch (P) {
5708
- console.error(`❌ Error creando función en item '${k.name}':`, P);
5811
+ console.error(`❌ Error creando función en item '${T.name}':`, P);
5709
5812
  }
5710
5813
  } else
5711
- S[k.name] = k.value;
5814
+ I[T.name] = T.value;
5712
5815
  }
5713
- return S;
5714
- }, W = (l, S, k, M) => {
5715
- const B = k ? { ...k } : {}, P = (M || "items").trim() || "items";
5716
- if (S)
5717
- return B[P] = S.arr || [], B;
5816
+ return I;
5817
+ }, W = (l, I, T, k) => {
5818
+ const M = T ? { ...T } : {}, P = (k || "items").trim() || "items";
5819
+ if (I)
5820
+ return M[P] = I.arr || [], M;
5718
5821
  const J = l;
5719
5822
  if (Array.isArray(J))
5720
- return B[P] = J, B;
5823
+ return M[P] = J, M;
5721
5824
  if (J && typeof J == "object") {
5722
5825
  const te = J;
5723
- return Array.isArray(te.lobby) ? (B[P] = te.lobby, B) : Array.isArray(te.items) ? (B[P] = te.items, B) : (B[P] = J, B);
5826
+ return Array.isArray(te.lobby) ? (M[P] = te.lobby, M) : Array.isArray(te.items) ? (M[P] = te.items, M) : (M[P] = J, M);
5724
5827
  }
5725
- return B[P] = [], B;
5828
+ return M[P] = [], M;
5726
5829
  }, G = (l) => {
5727
5830
  var P;
5728
- const S = !!((P = l.apiUrl) != null && P.trim()), k = S ? g[l.id] : void 0;
5729
- let M = l.props ? { ...l.props } : {};
5730
- const B = U(l.manualScalarFields);
5731
- if (it.includes(l.componentKey))
5732
- return { items: k, ...M, ...B };
5733
- if (M = { ...M, ...B }, S)
5734
- M = W(k, null, M);
5831
+ const I = !!((P = l.apiUrl) != null && P.trim()), T = I ? f[l.id] : void 0;
5832
+ let k = l.props ? { ...l.props } : {};
5833
+ const M = U(l.manualScalarFields);
5834
+ if (rt.includes(l.componentKey))
5835
+ return { items: T, ...k, ...M };
5836
+ if (k = { ...k, ...M }, I)
5837
+ k = W(T, null, k);
5735
5838
  else if (l.dataMode === "manual") {
5736
- const J = R(l.manualItems);
5737
- if (M = W(
5839
+ const J = A(l.manualItems);
5840
+ if (k = W(
5738
5841
  null,
5739
5842
  { arr: J, variableName: l.variableName },
5740
- M,
5843
+ k,
5741
5844
  l.variableName
5742
5845
  ), l.variableName2 && l.manualItems2) {
5743
- const te = R(l.manualItems2), re = (l.variableName2 || "items2").trim() || "items2";
5744
- M[re] = te;
5846
+ const te = A(l.manualItems2), ie = (l.variableName2 || "items2").trim() || "items2";
5847
+ k[ie] = te;
5745
5848
  }
5746
5849
  }
5747
- return M;
5748
- }, w = (l) => {
5749
- const S = l.props ? { ...l.props } : {};
5850
+ return k;
5851
+ }, K = (l) => {
5852
+ const I = l.props ? { ...l.props } : {};
5750
5853
  try {
5751
- Object.assign(S, U(l.manualScalarFields));
5752
- } catch (M) {
5753
- console.error("❌ Error armando scalars vacíos:", l, M);
5854
+ Object.assign(I, U(l.manualScalarFields));
5855
+ } catch (k) {
5856
+ console.error("❌ Error armando scalars vacíos:", l, k);
5754
5857
  }
5755
- const k = (l.variableName || "items").trim() || "items";
5756
- if (typeof S[k] == "undefined" && (S[k] = []), l.variableName2) {
5757
- const M = (l.variableName2 || "items2").trim() || "items2";
5758
- typeof S[M] == "undefined" && (S[M] = []);
5858
+ const T = (l.variableName || "items").trim() || "items";
5859
+ if (typeof I[T] == "undefined" && (I[T] = []), l.variableName2) {
5860
+ const k = (l.variableName2 || "items2").trim() || "items2";
5861
+ typeof I[k] == "undefined" && (I[k] = []);
5759
5862
  }
5760
- return S;
5761
- }, F = (l) => {
5863
+ return I;
5864
+ }, w = (l) => {
5762
5865
  try {
5763
5866
  return G(l);
5764
- } catch (S) {
5765
- console.error("🔥 ERROR EN buildCompProps:", l, S);
5766
- const k = y(l);
5767
- if (k && k !== l)
5867
+ } catch (I) {
5868
+ console.error("🔥 ERROR EN buildCompProps:", l, I);
5869
+ const T = _(l);
5870
+ if (T && T !== l)
5768
5871
  try {
5769
5872
  return console.warn(
5770
5873
  `[landing] usando fallback local para sección ${l.title} (${l.componentKey})`
5771
- ), G(k);
5772
- } catch (M) {
5773
- console.error("🔥 ERROR EN fallback buildCompProps:", k, M);
5874
+ ), G(T);
5875
+ } catch (k) {
5876
+ console.error("🔥 ERROR EN fallback buildCompProps:", T, k);
5774
5877
  }
5775
- return w(l);
5878
+ return K(l);
5776
5879
  }
5777
- }, K = (l, S, k) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5880
+ }, z = (l, I, T) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5778
5881
  loading: "bg-blue-100 text-blue-800",
5779
5882
  error: "bg-red-100 text-red-800",
5780
5883
  component: "bg-yellow-100 text-yellow-800"
5781
- }[S]}`, children: k }, l), Y = (l) => {
5884
+ }[I]}`, children: T }, l), Z = (l) => {
5782
5885
  var He;
5783
- const S = l.componentKey, k = no[S], B = (/* @__PURE__ */ new Set([
5886
+ const I = l.componentKey, T = no[I], M = (/* @__PURE__ */ new Set([
5784
5887
  "OraculoSeccionBanners",
5785
5888
  "OraculoSeccionBonoBienvenida",
5786
5889
  "OraculoSeccionCasinoEnVivo",
5787
5890
  "OraculoSeccionClubOlimpo",
5788
- ...O ? [] : [
5891
+ ...$ ? [] : [
5789
5892
  "OraculoSeccionEventoEnVivo",
5790
5893
  "OraculoSeccionEventoSemana",
5791
5894
  "OraculoSeccionEventoCombinadas",
@@ -5793,35 +5896,35 @@ const it = [
5793
5896
  "OraculoSeccionDestacados",
5794
5897
  "OraculoSeccionCasino"
5795
5898
  ]
5796
- ])).has(l.componentKey), P = O ? 120 : 24, J = (O ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5899
+ ])).has(l.componentKey), P = $ ? 120 : 24, J = ($ ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", ie = {
5797
5900
  width: "100%",
5798
5901
  boxSizing: "border-box",
5799
- ...B ? {} : { paddingLeft: P, paddingRight: P },
5902
+ ...M ? {} : { paddingLeft: P, paddingRight: P },
5800
5903
  ...te ? {
5801
5904
  marginTop: -J,
5802
5905
  marginBottom: -J
5803
5906
  } : {}
5804
5907
  };
5805
- if (!k)
5806
- return console.warn(`No hay componente registrado para "${S}"`), K(
5908
+ if (!T)
5909
+ return console.warn(`No hay componente registrado para "${I}"`), z(
5807
5910
  l.id,
5808
5911
  "component",
5809
- `Componente "${S}" no encontrado`
5912
+ `Componente "${I}" no encontrado`
5810
5913
  );
5811
- const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? g[l.id] : void 0, Ct = oe ? !!v[l.id] : !1, Ge = oe ? _[l.id] : "";
5914
+ const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? f[l.id] : void 0, Et = oe ? !!S[l.id] : !1, Ge = oe ? g[l.id] : "";
5812
5915
  if (oe) {
5813
- if (Ct && !We)
5814
- return K(
5916
+ if (Et && !We)
5917
+ return z(
5815
5918
  l.id,
5816
5919
  "loading",
5817
5920
  `Cargando datos desde ${l.apiUrl}...`
5818
5921
  );
5819
5922
  if (Ge && !We) {
5820
- const we = y(l);
5923
+ const we = _(l);
5821
5924
  if (we && we.dataMode === "manual")
5822
5925
  try {
5823
- const Re = F(we);
5824
- return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(k, { ...Re }) }, l.id);
5926
+ const Re = w(we);
5927
+ return /* @__PURE__ */ t("div", { style: ie, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(T, { ...Re }) }, l.id);
5825
5928
  } catch (Re) {
5826
5929
  console.error(
5827
5930
  "🔥 ERROR renderizando fallback manual de sección:",
@@ -5829,29 +5932,29 @@ const it = [
5829
5932
  Re
5830
5933
  );
5831
5934
  }
5832
- return K(
5935
+ return z(
5833
5936
  l.id,
5834
5937
  "error",
5835
5938
  `Error cargando ${l.apiUrl}: ${Ge}`
5836
5939
  );
5837
5940
  }
5838
5941
  }
5839
- const je = F(l), Ot = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5942
+ const je = w(l), Ot = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5840
5943
  ...je,
5841
5944
  user: c.user
5842
5945
  } : je;
5843
- return /* @__PURE__ */ t(io, { section: l, children: /* @__PURE__ */ t(
5946
+ return /* @__PURE__ */ t(ro, { section: l, children: /* @__PURE__ */ t(
5844
5947
  "div",
5845
5948
  {
5846
- style: re,
5949
+ style: ie,
5847
5950
  className: "oraculo-section-wrapper",
5848
- children: /* @__PURE__ */ t(k, { ...Ot })
5951
+ children: /* @__PURE__ */ t(T, { ...Ot })
5849
5952
  },
5850
5953
  l.id
5851
5954
  ) });
5852
5955
  };
5853
- return m && !e ? f ? /* @__PURE__ */ t(f, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !m && !e && h.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(
5854
- Et,
5956
+ return m && !e ? p ? /* @__PURE__ */ t(p, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !m && !e && h.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(
5957
+ Ct,
5855
5958
  {
5856
5959
  className: "oli-font",
5857
5960
  maxWidth: !1,
@@ -5864,11 +5967,11 @@ const it = [
5864
5967
  maxWidth: "100%",
5865
5968
  overflowX: "hidden"
5866
5969
  },
5867
- children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: O ? 8 : 5, useFlexGap: !0, children: z.map((l) => {
5970
+ children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: $ ? 8 : 5, useFlexGap: !0, children: B.map((l) => {
5868
5971
  try {
5869
- return Y(l);
5870
- } catch (S) {
5871
- return console.error("🔥 ERROR EN SECTION:", l, S), null;
5972
+ return Z(l);
5973
+ } catch (I) {
5974
+ return console.error("🔥 ERROR EN SECTION:", l, I), null;
5872
5975
  }
5873
5976
  }) })
5874
5977
  }
@@ -5876,7 +5979,7 @@ const it = [
5876
5979
  };
5877
5980
  export {
5878
5981
  bt as DocIdProvider,
5879
- X as OraculoButton,
5982
+ Y as OraculoButton,
5880
5983
  he as OraculoCarousel,
5881
5984
  dt as OraculoCarouselDots,
5882
5985
  Sa as OraculoClubOlimpoVisual,
@@ -5889,7 +5992,7 @@ export {
5889
5992
  Za as OraculoEventSemanaCard,
5890
5993
  jt as OraculoEventStatus,
5891
5994
  Gt as OraculoEventStatusBadge,
5892
- Ne as OraculoEventTeamInfo,
5995
+ $e as OraculoEventTeamInfo,
5893
5996
  Te as OraculoGameCard,
5894
5997
  xa as OraculoGameRankCard,
5895
5998
  ft as OraculoGameSlide,