oraculo-ui 0.2.24 → 0.2.25

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,18 +1,18 @@
1
- import { jsx as t, jsxs as v, Fragment as me } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as b, Fragment as pe } from "react/jsx-runtime";
2
2
  import { Link as rt, Box as Q, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Oe, Container as Et } from "@mui/material";
3
- import fe, { useState as K, useEffect as ee, 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";
3
+ import fe, { useState as Z, useEffect as ee, 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";
4
4
  import j from "@mui/material/Skeleton";
5
- import { Splide as At, SplideSlide as Bt } from "@splidejs/react-splide";
6
- import F from "@mui/material/Box";
7
- import de from "@mui/material/Typography";
5
+ import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
6
+ import q from "@mui/material/Box";
7
+ import ue from "@mui/material/Typography";
8
8
  import H from "@mui/material/Stack";
9
9
  import { useCaptureInteraction as ae } from "@olimpo/capture-client";
10
- import { ChevronLeftRounded as Be, ChevronRightRounded as ze } from "@mui/icons-material";
10
+ import { ChevronLeftRounded as Ae, ChevronRightRounded as ze } from "@mui/icons-material";
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
17
  function X({
18
18
  children: e,
@@ -22,29 +22,29 @@ function X({
22
22
  rel: i,
23
23
  type: r = "button",
24
24
  disabled: s = !1,
25
- variant: l = "primary",
25
+ variant: c = "primary",
26
26
  size: f,
27
27
  fullWidth: h = !1,
28
28
  fullHeight: u = !1,
29
29
  className: p = "",
30
30
  ariaLabel: d,
31
- leftIcon: c,
32
- rightIcon: g,
33
- iconOnly: x
31
+ leftIcon: g,
32
+ rightIcon: m,
33
+ iconOnly: _
34
34
  }) {
35
- const I = !!e && e !== !0, C = (!!c ? 1 : 0) + (!!g ? 1 : 0) == 1, q = x != null ? x : C && !I, T = [
35
+ const I = !!e && e !== !0, C = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : C && !I, k = [
36
36
  "orc-btn",
37
- l === "secondary" ? "orc-btn--secondary" : l === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
37
+ c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
38
  f ? `orc-btn--${f}` : "",
39
39
  h ? "orc-btn--full" : "",
40
40
  u ? "orc-btn--fullHeight" : "",
41
- q ? "orc-btn--iconOnly" : "",
41
+ D ? "orc-btn--iconOnly" : "",
42
42
  p
43
- ].filter(Boolean).join(" "), k = /* @__PURE__ */ v(me, { children: [
44
- c && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: c }),
45
- !q && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
- g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g })
47
- ] }), O = s ? !0 : void 0;
43
+ ].filter(Boolean).join(" "), M = /* @__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
+ m && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: m })
47
+ ] }), T = s ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
49
  rt,
50
50
  {
@@ -52,21 +52,21 @@ function X({
52
52
  target: o,
53
53
  rel: i,
54
54
  "aria-label": d,
55
- "aria-disabled": O,
56
- tabIndex: O ? -1 : void 0,
57
- className: T,
58
- onClick: O ? (M) => M.preventDefault() : a,
59
- children: k
55
+ "aria-disabled": T,
56
+ tabIndex: T ? -1 : void 0,
57
+ className: k,
58
+ onClick: T ? (A) => A.preventDefault() : a,
59
+ children: M
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
63
63
  {
64
64
  type: r,
65
65
  onClick: a,
66
- disabled: !!O,
66
+ disabled: !!T,
67
67
  "aria-label": d,
68
- className: T,
69
- children: k
68
+ className: k,
69
+ children: M
70
70
  }
71
71
  );
72
72
  }
@@ -81,7 +81,7 @@ function ge({
81
81
  n ? `orc-section-title--${n}` : "",
82
82
  o
83
83
  ].filter(Boolean).join(" ");
84
- return /* @__PURE__ */ v("div", { className: r, children: [
84
+ return /* @__PURE__ */ b("div", { className: r, children: [
85
85
  a && /* @__PURE__ */ t(
86
86
  "img",
87
87
  {
@@ -101,9 +101,9 @@ const dt = ({
101
101
  durationMs: i = 5e3
102
102
  }) => {
103
103
  if (e <= 1) return null;
104
- const r = ["orc-dots", o].filter(Boolean).join(" "), [s, l] = K(0);
104
+ const r = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = Z(0);
105
105
  return ee(() => {
106
- l((f) => f + 1);
106
+ c((f) => f + 1);
107
107
  }, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((f, h) => {
108
108
  const u = h === a;
109
109
  return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
@@ -118,14 +118,14 @@ const dt = ({
118
118
  "--dot-progress-ms": `${i}ms`
119
119
  } : void 0,
120
120
  onClick: () => {
121
- u && l((p) => p + 1), n == null || n(h);
121
+ u && c((p) => p + 1), n == null || n(h);
122
122
  }
123
123
  },
124
124
  u ? `a-${h}-${s}` : `i-${h}`
125
125
  ) }, h);
126
126
  }) });
127
127
  };
128
- function ue({
128
+ function me({
129
129
  children: e,
130
130
  minWidth: a = 32,
131
131
  spacing: n = 2,
@@ -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__ */ v(
187
+ return /* @__PURE__ */ b(
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__ */ v(
203
+ a && /* @__PURE__ */ b(
204
204
  "div",
205
205
  {
206
- className: Le.flexGroup,
206
+ className: Pe.flexGroup,
207
207
  children: [
208
- /* @__PURE__ */ v("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, 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: [
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__ */ v("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
244
+ return /* @__PURE__ */ b("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__ */ v(
250
+ return /* @__PURE__ */ b(
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__ */ v(
286
+ return /* @__PURE__ */ b(
287
287
  "div",
288
288
  {
289
289
  className: `${ve.scoreWrapper} ${ve[n]}`,
@@ -309,8 +309,8 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
309
309
  };
310
310
  function pa({ jersey: e, className: a }) {
311
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__ */ v("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ v("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
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: [
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__ */ v(me, { children: [
321
+ i && /* @__PURE__ */ b(pe, { children: [
322
322
  /* @__PURE__ */ t("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
323
323
  /* @__PURE__ */ t("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
324
324
  ] }),
325
- r && /* @__PURE__ */ t(me, { 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
+ 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" }) }),
326
326
  /* @__PURE__ */ t(
327
327
  "path",
328
328
  {
@@ -367,7 +367,7 @@ function pa({ jersey: e, className: a }) {
367
367
  ] });
368
368
  }
369
369
  function Ne({ name: e, jersey: a, size: n = "regular" }) {
370
- return /* @__PURE__ */ v("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
370
+ return /* @__PURE__ */ b("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
371
371
  a != null && a.base ? /* @__PURE__ */ t(
372
372
  pa,
373
373
  {
@@ -386,21 +386,21 @@ function fa(e, a, {
386
386
  const r = V(0), s = V(0);
387
387
  ee(() => {
388
388
  if (!n) return;
389
- const l = e.current;
390
- if (!l) return;
389
+ const c = e.current;
390
+ if (!c) return;
391
391
  const f = (h) => {
392
392
  const u = a.current;
393
393
  if (!u || !u.go) return;
394
394
  const { deltaX: p, deltaY: d } = h;
395
395
  if (Math.abs(p) <= Math.abs(d)) return;
396
396
  h.preventDefault(), r.current += p;
397
- const c = Date.now();
398
- if (c - s.current < i || Math.abs(r.current) < o) return;
399
- const g = r.current > 0 ? ">" : "<";
400
- r.current = 0, s.current = c, u.go(g);
397
+ const g = Date.now();
398
+ if (g - s.current < i || Math.abs(r.current) < o) return;
399
+ const m = r.current > 0 ? ">" : "<";
400
+ r.current = 0, s.current = g, u.go(m);
401
401
  };
402
- return l.addEventListener("wheel", f, { passive: !1 }), () => {
403
- l.removeEventListener("wheel", f), r.current = 0;
402
+ return c.addEventListener("wheel", f, { passive: !1 }), () => {
403
+ c.removeEventListener("wheel", f), r.current = 0;
404
404
  };
405
405
  }, [n, o, i, e, a]);
406
406
  }
@@ -409,7 +409,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
409
409
  right: ha,
410
410
  left: ba,
411
411
  svg: va
412
- }, _a = At, ya = Bt, he = Tt(
412
+ }, _a = Bt, ya = At, he = Tt(
413
413
  ({
414
414
  items: e = [],
415
415
  renderItem: a,
@@ -418,46 +418,46 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
418
418
  breakpoints: i,
419
419
  options: r = {},
420
420
  className: s = "",
421
- onMove: l,
421
+ onMove: c,
422
422
  useIndexAsKey: f = !1,
423
423
  enableHorizontalWheel: h = !0,
424
424
  showRightGradient: u = !1
425
425
  }, p) => {
426
- const d = V(null), c = V(null), g = V(e.length), x = V(null), I = V(null);
427
- fa(c, d, {
426
+ const d = V(null), g = V(null), m = V(e.length), _ = V(null), I = V(null);
427
+ fa(g, d, {
428
428
  enabled: h
429
429
  }), kt(p, () => ({
430
430
  next: () => {
431
- var O;
432
- return (O = d.current) == null ? void 0 : O.go(">");
431
+ var T;
432
+ return (T = d.current) == null ? void 0 : T.go(">");
433
433
  },
434
434
  prev: () => {
435
- var O;
436
- return (O = d.current) == null ? void 0 : O.go("<");
435
+ var T;
436
+ return (T = d.current) == null ? void 0 : T.go("<");
437
437
  },
438
- go: (O) => {
439
- var M;
440
- return (M = d.current) == null ? void 0 : M.go(O);
438
+ go: (T) => {
439
+ var A;
440
+ return (A = d.current) == null ? void 0 : A.go(T);
441
441
  }
442
442
  }));
443
- const _ = (O) => {
443
+ const y = (T) => {
444
444
  var W;
445
- const M = O.Components.Slides, $ = O.Components.Controller, y = O.root.querySelector(".splide__track"), E = (W = y == null ? void 0 : y.clientWidth) != null ? W : 0, L = $.getIndex(), z = M.getLength();
446
- let R = 0, U = L;
447
- for (let w = L; w < z; w++) {
448
- const D = M.getAt(w);
449
- if (!D || (R += D.slide.offsetWidth, R > E)) break;
450
- U = w;
445
+ const A = T.Components.Slides, $ = T.Components.Controller, x = T.root.querySelector(".splide__track"), O = (W = x == null ? void 0 : x.clientWidth) != null ? W : 0, P = $.getIndex(), z = A.getLength();
446
+ let R = 0, U = P;
447
+ for (let G = P; G < z; G++) {
448
+ const w = A.getAt(G);
449
+ if (!w || (R += w.slide.offsetWidth, R > O)) break;
450
+ U = G;
451
451
  }
452
- return { visibleStart: L, visibleEnd: U };
453
- }, b = (O) => {
454
- const M = O.root.querySelector(".splide__track"), $ = O.root.querySelector(".splide__list");
455
- return !M || !$ ? !1 : $.scrollWidth > M.clientWidth + 1;
456
- }, C = Ee((O) => {
452
+ return { visibleStart: P, visibleEnd: U };
453
+ }, v = (T) => {
454
+ const A = T.root.querySelector(".splide__track"), $ = T.root.querySelector(".splide__list");
455
+ return !A || !$ ? !1 : $.scrollWidth > A.clientWidth + 1;
456
+ }, C = Ee((T) => {
457
457
  var U, W;
458
- const $ = O.Components.Slides.getLength();
459
- if (!b(O)) {
460
- l == null || l({
458
+ const $ = T.Components.Slides.getLength();
459
+ if (!v(T)) {
460
+ c == null || c({
461
461
  index: 0,
462
462
  isStart: !0,
463
463
  isEnd: !0,
@@ -467,37 +467,37 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
467
467
  });
468
468
  return;
469
469
  }
470
- const { visibleStart: y, visibleEnd: E } = _(O), L = y === 0, z = E === $ - 1;
471
- u && ((U = x.current) == null || U.style.setProperty("--gradient-opacity", L ? "0" : "1"), (W = I.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
472
- const R = O.Components.Controller.getIndex();
473
- l == null || l({
470
+ const { visibleStart: x, visibleEnd: O } = y(T), P = x === 0, z = O === $ - 1;
471
+ u && ((U = _.current) == null || U.style.setProperty("--gradient-opacity", P ? "0" : "1"), (W = I.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
472
+ const R = T.Components.Controller.getIndex();
473
+ c == null || c({
474
474
  index: R,
475
- isStart: L,
475
+ isStart: P,
476
476
  isEnd: z,
477
477
  total: $,
478
- visibleStart: y,
479
- visibleEnd: E
478
+ visibleStart: x,
479
+ visibleEnd: O
480
480
  });
481
- }, [l]);
481
+ }, [c]);
482
482
  fe.useEffect(() => {
483
483
  var $;
484
- const O = ($ = d.current) == null ? void 0 : $.splide;
485
- if (!O) return;
486
- const M = g.current !== e.length;
487
- g.current = e.length, M && requestAnimationFrame(() => {
488
- O.refresh(), C(O);
484
+ const T = ($ = d.current) == null ? void 0 : $.splide;
485
+ if (!T) return;
486
+ const A = m.current !== e.length;
487
+ m.current = e.length, A && requestAnimationFrame(() => {
488
+ T.refresh(), C(T);
489
489
  });
490
490
  }, [e.length, C]);
491
- const q = Ee(() => {
492
- var M;
493
- const O = (M = d.current) == null ? void 0 : M.splide;
494
- O && (O.go(0, !1), C(O));
495
- }, [C]), T = Ee(
496
- (O) => {
497
- C(O);
491
+ const D = Ee(() => {
492
+ var A;
493
+ const T = (A = d.current) == null ? void 0 : A.splide;
494
+ T && (T.go(0, !1), C(T));
495
+ }, [C]), k = Ee(
496
+ (T) => {
497
+ C(T);
498
498
  },
499
499
  [C]
500
- ), k = {
500
+ ), M = {
501
501
  type: "slide",
502
502
  trimSpace: !1,
503
503
  drag: !0,
@@ -512,10 +512,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
512
512
  ...r,
513
513
  ...h ? { wheel: !1 } : {}
514
514
  };
515
- return /* @__PURE__ */ v(
515
+ return /* @__PURE__ */ b(
516
516
  "div",
517
517
  {
518
- ref: c,
518
+ ref: g,
519
519
  className: s,
520
520
  style: { width: "100%", position: "relative", height: "100%" },
521
521
  children: [
@@ -523,24 +523,24 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
523
523
  _a,
524
524
  {
525
525
  ref: d,
526
- options: k,
526
+ options: M,
527
527
  onMove: C,
528
- onMounted: T,
529
- onResize: q,
530
- children: e.map((O, M) => {
528
+ onMounted: k,
529
+ onResize: D,
530
+ children: e.map((T, A) => {
531
531
  var $;
532
- return /* @__PURE__ */ t(ya, { children: a(O, M) }, f ? M : ($ = O.id) != null ? $ : M);
532
+ return /* @__PURE__ */ t(ya, { children: a(T, A) }, f ? A : ($ = T.id) != null ? $ : A);
533
533
  })
534
534
  }
535
535
  ),
536
- u && /* @__PURE__ */ v(me, { children: [
536
+ u && /* @__PURE__ */ b(pe, { children: [
537
537
  /* @__PURE__ */ t(
538
538
  "div",
539
539
  {
540
- ref: x,
540
+ ref: _,
541
541
  className: `${ye.gradientOverlay} ${ye.left}`,
542
542
  style: { "--gradient-opacity": "0" },
543
- children: /* @__PURE__ */ v(
543
+ children: /* @__PURE__ */ b(
544
544
  "svg",
545
545
  {
546
546
  className: ye.svg,
@@ -550,7 +550,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
550
550
  xmlns: "http://www.w3.org/2000/svg",
551
551
  children: [
552
552
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
553
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ v("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
553
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ b("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
554
554
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
555
555
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
556
556
  ] }) })
@@ -565,7 +565,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
565
565
  ref: I,
566
566
  className: `${ye.gradientOverlay} ${ye.right}`,
567
567
  style: { "--gradient-opacity": "1" },
568
- children: /* @__PURE__ */ v(
568
+ children: /* @__PURE__ */ b(
569
569
  "svg",
570
570
  {
571
571
  className: ye.svg,
@@ -575,7 +575,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
575
575
  xmlns: "http://www.w3.org/2000/svg",
576
576
  children: [
577
577
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
578
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ v("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
578
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ b("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
579
579
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
580
580
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
581
581
  ] }) })
@@ -595,11 +595,11 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
595
595
  size: n = "sm",
596
596
  fillParent: o = !1
597
597
  }) => {
598
- const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (l) => {
599
- l.stopPropagation(), a == null || a();
598
+ const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (c) => {
599
+ c.stopPropagation(), a == null || a();
600
600
  }, s = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
601
- return /* @__PURE__ */ v(
602
- F,
601
+ return /* @__PURE__ */ b(
602
+ q,
603
603
  {
604
604
  onClick: a,
605
605
  role: "button",
@@ -641,7 +641,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
641
641
  }
642
642
  ),
643
643
  /* @__PURE__ */ t(
644
- F,
644
+ q,
645
645
  {
646
646
  className: "oraculo-game-card-overlay",
647
647
  sx: {
@@ -656,7 +656,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
656
656
  }
657
657
  ),
658
658
  /* @__PURE__ */ t(
659
- F,
659
+ q,
660
660
  {
661
661
  className: "oraculo-game-card-btn",
662
662
  sx: {
@@ -686,27 +686,27 @@ function xa({
686
686
  md: { w: 186, h: 264, r: 22.6, font: 64 }
687
687
  }
688
688
  }) {
689
- var p, d, c, g;
690
- const r = (x, I) => {
691
- var _, b, C, q;
689
+ var p, d, g, m;
690
+ const r = (_, I) => {
691
+ var y, v, C, D;
692
692
  return {
693
- xs: (b = (_ = i.xs) == null ? void 0 : _[x]) != null ? b : I,
694
- md: (q = (C = i.md) == null ? void 0 : C[x]) != null ? q : I
693
+ xs: (v = (y = i.xs) == null ? void 0 : y[_]) != null ? v : I,
694
+ md: (D = (C = i.md) == null ? void 0 : C[_]) != null ? D : I
695
695
  };
696
- }, s = r("w", 186), l = r("h", 264), f = r("r", 22.6), h = r("font", 64), u = {
696
+ }, s = r("w", 186), c = r("h", 264), f = r("r", 22.6), h = r("font", 64), u = {
697
697
  xs: Math.round(((d = (p = i.xs) == null ? void 0 : p.font) != null ? d : 64) * 0.28),
698
- md: Math.round(((g = (c = i.md) == null ? void 0 : c.font) != null ? g : 64) * 0.28)
698
+ md: Math.round(((m = (g = i.md) == null ? void 0 : g.font) != null ? m : 64) * 0.28)
699
699
  };
700
- return /* @__PURE__ */ v(
701
- F,
700
+ return /* @__PURE__ */ b(
701
+ q,
702
702
  {
703
703
  sx: {
704
704
  position: "relative",
705
705
  width: "100%",
706
706
  maxWidth: { xs: `${s.xs}px`, md: `${s.md}px` },
707
707
  aspectRatio: {
708
- xs: `${s.xs}/${l.xs}`,
709
- md: `${s.md}/${l.md}`
708
+ xs: `${s.xs}/${c.xs}`,
709
+ md: `${s.md}/${c.md}`
710
710
  },
711
711
  borderRadius: { xs: `${f.xs}px`, md: `${f.md}px` },
712
712
  boxSizing: "border-box",
@@ -725,7 +725,7 @@ function xa({
725
725
  },
726
726
  children: [
727
727
  /* @__PURE__ */ t(
728
- F,
728
+ q,
729
729
  {
730
730
  sx: {
731
731
  position: "absolute",
@@ -759,7 +759,7 @@ function xa({
759
759
  }
760
760
  ),
761
761
  /* @__PURE__ */ t(
762
- F,
762
+ q,
763
763
  {
764
764
  component: "span",
765
765
  sx: {
@@ -795,8 +795,8 @@ const wa = ({
795
795
  onClick: i
796
796
  }) => {
797
797
  var r;
798
- return /* @__PURE__ */ v(
799
- F,
798
+ return /* @__PURE__ */ b(
799
+ q,
800
800
  {
801
801
  onClick: i,
802
802
  sx: {
@@ -820,7 +820,7 @@ const wa = ({
820
820
  },
821
821
  children: [
822
822
  /* @__PURE__ */ t(
823
- F,
823
+ q,
824
824
  {
825
825
  component: "img",
826
826
  src: e,
@@ -836,7 +836,7 @@ const wa = ({
836
836
  }
837
837
  ),
838
838
  /* @__PURE__ */ t(
839
- F,
839
+ q,
840
840
  {
841
841
  className: "orc-live-provider-label",
842
842
  sx: {
@@ -850,7 +850,7 @@ const wa = ({
850
850
  pointerEvents: "none"
851
851
  },
852
852
  children: /* @__PURE__ */ t(
853
- de,
853
+ ue,
854
854
  {
855
855
  sx: {
856
856
  color: "#fff",
@@ -866,7 +866,7 @@ const wa = ({
866
866
  ]
867
867
  }
868
868
  );
869
- }, Pe = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(F, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
869
+ }, Le = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(q, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
870
870
  j,
871
871
  {
872
872
  variant: "rectangular",
@@ -890,9 +890,9 @@ const wa = ({
890
890
  }) => {
891
891
  var r, s;
892
892
  if (a === "mosaic") {
893
- const l = e[0], f = e.slice(1, 5);
894
- return /* @__PURE__ */ v(
895
- F,
893
+ const c = e[0], f = e.slice(1, 5);
894
+ return /* @__PURE__ */ b(
895
+ q,
896
896
  {
897
897
  sx: {
898
898
  display: "grid",
@@ -909,14 +909,14 @@ const wa = ({
909
909
  xs: "104px",
910
910
  md: "152px"
911
911
  },
912
- columnGap: `${Pe}px`,
913
- rowGap: `${Pe}px`,
912
+ columnGap: `${Le}px`,
913
+ rowGap: `${Le}px`,
914
914
  alignItems: "stretch",
915
915
  justifyItems: "stretch"
916
916
  },
917
917
  children: [
918
918
  /* @__PURE__ */ t(
919
- F,
919
+ q,
920
920
  {
921
921
  sx: {
922
922
  width: { xs: 184, md: 280 },
@@ -925,13 +925,13 @@ const wa = ({
925
925
  overflow: "hidden",
926
926
  borderRadius: 2
927
927
  },
928
- children: o ? /* @__PURE__ */ t(Fe, {}) : l && /* @__PURE__ */ t(
928
+ children: o ? /* @__PURE__ */ t(Fe, {}) : c && /* @__PURE__ */ t(
929
929
  Te,
930
930
  {
931
- imageUrl: `https://olimpo.bet${(s = (r = l.background) != null ? r : l.imageUrl) != null ? s : ""}`,
931
+ imageUrl: `https://olimpo.bet${(s = (r = c.background) != null ? r : c.imageUrl) != null ? s : ""}`,
932
932
  size: "lg",
933
933
  fillParent: !0,
934
- onClick: () => n == null ? void 0 : n(l, 0)
934
+ onClick: () => n == null ? void 0 : n(c, 0)
935
935
  }
936
936
  )
937
937
  }
@@ -939,7 +939,7 @@ const wa = ({
939
939
  (o ? Array.from({ length: 4 }) : f).map((h, u) => {
940
940
  var p, d;
941
941
  return /* @__PURE__ */ t(
942
- F,
942
+ q,
943
943
  {
944
944
  sx: {
945
945
  width: { xs: 104, md: 152 },
@@ -965,7 +965,7 @@ const wa = ({
965
965
  );
966
966
  }
967
967
  return /* @__PURE__ */ t(
968
- F,
968
+ q,
969
969
  {
970
970
  sx: {
971
971
  display: "grid",
@@ -977,26 +977,26 @@ const wa = ({
977
977
  xs: "repeat(2, 112px)",
978
978
  md: "repeat(2, 168px)"
979
979
  },
980
- gap: `${Pe}px`,
980
+ gap: `${Le}px`,
981
981
  gridAutoFlow: "column"
982
982
  },
983
- children: (o ? Array.from({ length: i }) : e).map((l, f) => {
983
+ children: (o ? Array.from({ length: i }) : e).map((c, f) => {
984
984
  var h, u, p;
985
985
  return /* @__PURE__ */ t(
986
- F,
986
+ q,
987
987
  {
988
988
  sx: { overflow: "hidden", borderRadius: 2 },
989
989
  children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
990
990
  Te,
991
991
  {
992
- imageUrl: `https://olimpo.bet${(u = (h = l.background) != null ? h : l.imageUrl) != null ? u : ""}`,
992
+ imageUrl: `https://olimpo.bet${(u = (h = c.background) != null ? h : c.imageUrl) != null ? u : ""}`,
993
993
  size: "sm",
994
994
  fillParent: !0,
995
- onClick: () => n == null ? void 0 : n(l, f)
995
+ onClick: () => n == null ? void 0 : n(c, f)
996
996
  }
997
997
  )
998
998
  },
999
- o ? `sk-${f}` : (p = l.id) != null ? p : f
999
+ o ? `sk-${f}` : (p = c.id) != null ? p : f
1000
1000
  );
1001
1001
  })
1002
1002
  }
@@ -1009,14 +1009,14 @@ const wa = ({
1009
1009
  onButtonClick: i,
1010
1010
  backgroundImage: r,
1011
1011
  alt: s,
1012
- className: l = "",
1012
+ className: c = "",
1013
1013
  variant: f = "small"
1014
1014
  }) => {
1015
1015
  const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", p = f === "large";
1016
- return /* @__PURE__ */ v(
1017
- F,
1016
+ return /* @__PURE__ */ b(
1017
+ q,
1018
1018
  {
1019
- className: l,
1019
+ className: c,
1020
1020
  sx: {
1021
1021
  position: "relative",
1022
1022
  width: "100%",
@@ -1028,7 +1028,7 @@ const wa = ({
1028
1028
  },
1029
1029
  children: [
1030
1030
  r && /* @__PURE__ */ t(
1031
- F,
1031
+ q,
1032
1032
  {
1033
1033
  sx: {
1034
1034
  position: "relative",
@@ -1041,7 +1041,7 @@ const wa = ({
1041
1041
  overflow: "hidden"
1042
1042
  },
1043
1043
  children: /* @__PURE__ */ t(
1044
- F,
1044
+ q,
1045
1045
  {
1046
1046
  component: "img",
1047
1047
  src: r,
@@ -1061,7 +1061,7 @@ const wa = ({
1061
1061
  }
1062
1062
  ),
1063
1063
  /* @__PURE__ */ t(
1064
- F,
1064
+ q,
1065
1065
  {
1066
1066
  sx: {
1067
1067
  position: "absolute",
@@ -1074,8 +1074,8 @@ const wa = ({
1074
1074
  pl: "14%",
1075
1075
  pr: { xs: "14%", lg: "15%" }
1076
1076
  },
1077
- children: /* @__PURE__ */ v(
1078
- F,
1077
+ children: /* @__PURE__ */ b(
1078
+ q,
1079
1079
  {
1080
1080
  sx: {
1081
1081
  maxWidth: "60%",
@@ -1085,7 +1085,7 @@ const wa = ({
1085
1085
  },
1086
1086
  children: [
1087
1087
  e && /* @__PURE__ */ t(
1088
- de,
1088
+ ue,
1089
1089
  {
1090
1090
  sx: {
1091
1091
  fontSize: { xs: 12, md: 20 },
@@ -1095,8 +1095,8 @@ const wa = ({
1095
1095
  children: e
1096
1096
  }
1097
1097
  ),
1098
- a && /* @__PURE__ */ v(
1099
- F,
1098
+ a && /* @__PURE__ */ b(
1099
+ q,
1100
1100
  {
1101
1101
  component: "p",
1102
1102
  sx: {
@@ -1114,7 +1114,7 @@ const wa = ({
1114
1114
  },
1115
1115
  children: [
1116
1116
  /* @__PURE__ */ t(
1117
- F,
1117
+ q,
1118
1118
  {
1119
1119
  component: "span",
1120
1120
  sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
@@ -1122,7 +1122,7 @@ const wa = ({
1122
1122
  }
1123
1123
  ),
1124
1124
  /* @__PURE__ */ t(
1125
- F,
1125
+ q,
1126
1126
  {
1127
1127
  component: "span",
1128
1128
  sx: { fontSize: { xs: 52, md: 77 } },
@@ -1133,7 +1133,7 @@ const wa = ({
1133
1133
  }
1134
1134
  ),
1135
1135
  n && /* @__PURE__ */ t(
1136
- de,
1136
+ ue,
1137
1137
  {
1138
1138
  sx: {
1139
1139
  pb: "20px",
@@ -1161,7 +1161,7 @@ const wa = ({
1161
1161
  imgSrcMobile: i,
1162
1162
  imgSrcDesktopBg: r,
1163
1163
  imgSrcDesktopLogo: s
1164
- }) => /* @__PURE__ */ v(me, { children: [
1164
+ }) => /* @__PURE__ */ b(pe, { children: [
1165
1165
  /* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
1166
1166
  "img",
1167
1167
  {
@@ -1170,7 +1170,7 @@ const wa = ({
1170
1170
  className: "orc-co-bgMobileImg"
1171
1171
  }
1172
1172
  ) }),
1173
- /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ v("div", { className: "orc-co-desktopInner", children: [
1173
+ /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ b("div", { className: "orc-co-desktopInner", children: [
1174
1174
  r && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
1175
1175
  "img",
1176
1176
  {
@@ -1179,7 +1179,7 @@ const wa = ({
1179
1179
  className: "orc-co-bgDesktopImg"
1180
1180
  }
1181
1181
  ) }),
1182
- /* @__PURE__ */ v("div", { className: "orc-co-desktopContent", children: [
1182
+ /* @__PURE__ */ b("div", { className: "orc-co-desktopContent", children: [
1183
1183
  s && /* @__PURE__ */ t(
1184
1184
  "img",
1185
1185
  {
@@ -1192,11 +1192,11 @@ const wa = ({
1192
1192
  /* @__PURE__ */ t(X, { onClick: n, variant: "primary", size: "md", children: a })
1193
1193
  ] })
1194
1194
  ] }) }),
1195
- /* @__PURE__ */ v("div", { className: "orc-co-bottom", children: [
1195
+ /* @__PURE__ */ b("div", { className: "orc-co-bottom", children: [
1196
1196
  /* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
1197
1197
  /* @__PURE__ */ t(X, { onClick: n, variant: "primary", size: "md", children: a })
1198
1198
  ] })
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", le = {
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 = {
1200
1200
  card: Ia,
1201
1201
  combinadas: Ca,
1202
1202
  combinadasScroll: Oa,
@@ -1211,10 +1211,10 @@ function Ue(e, a) {
1211
1211
  const n = Array.isArray(a) ? a : [a];
1212
1212
  sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = e;
1213
1213
  }
1214
- function Aa() {
1214
+ function Ba() {
1215
1215
  window.location.href = "/deportes#in-play";
1216
1216
  }
1217
- function Ba() {
1217
+ function Aa() {
1218
1218
  window.location.href = "/deportes#sports-hub/football";
1219
1219
  }
1220
1220
  function za() {
@@ -1239,39 +1239,39 @@ const ht = $t(void 0), bt = ({ children: e, docId: a, moduleId: n }) => {
1239
1239
  if (!e)
1240
1240
  throw new Error("useDocContext debe usarse dentro de DocIdProvider");
1241
1241
  return e;
1242
- }, ne = () => vt().docId, se = () => vt().moduleId;
1242
+ }, ne = () => vt().docId, le = () => vt().moduleId;
1243
1243
  function Ra({ coupon: e }) {
1244
1244
  var h;
1245
1245
  const a = ae(), n = ne();
1246
1246
  function o(u) {
1247
- var c, g;
1247
+ var g, m;
1248
1248
  const p = [], d = Array.from(
1249
1249
  new Map(
1250
- ((c = u == null ? void 0 : u.events) != null ? c : []).filter(Boolean).map((x) => [x.id, x])
1250
+ ((g = u == null ? void 0 : u.events) != null ? g : []).filter(Boolean).map((_) => [_.id, _])
1251
1251
  ).values()
1252
1252
  );
1253
- return d.forEach((x) => {
1253
+ return d.forEach((_) => {
1254
1254
  var C;
1255
- const I = (C = x.betoffers) != null ? C : [], _ = x.homeName, b = x.awayName;
1256
- I.forEach((q) => {
1257
- var M, $, y, E, L, z, R;
1258
- if (!((M = q == null ? void 0 : q.outcomes) != null && M.length)) return;
1259
- const T = q.outcomes[0];
1260
- if (!T) return;
1261
- let k = "";
1262
- const O = T != null && T.line ? T.line / 1e3 : "";
1263
- ["Más de", "Mas de", "Over"].includes(T.label) ? (k = `Más de ${O}`, T.participant && (k = `${T.participant} - ${k}`)) : ["Menos de", "Menos", "Under"].includes(T.label) ? (k = `Menos de ${O}`, T.participant && (k = `${T.participant} - ${k}`)) : ["Sí", "No"].includes(T.label) ? (k = T.label, T.participant && (k = `${T.participant} - ${k}`)) : ["1X", "12", "X2"].includes(T.label) ? (T.label === "1X" && (k = `${_} o Empate`), T.label === "12" && (k = `${_} o ${b}`), T.label === "X2" && (k = `${b} o Empate`)) : (k = (y = ($ = T.participant) != null ? $ : T.label) != null ? y : "", O !== "" && k === T.label && (k = `${T.label} ${O}`)), p.push({
1264
- id: T.id,
1265
- value: k,
1266
- label: (L = (E = q.criterion) == null ? void 0 : E.label) != null ? L : "",
1267
- odds: (z = T.odds) != null ? z : 0,
1268
- position: (R = T.position) != null ? R : 0,
1269
- eventId: x.id
1255
+ const I = (C = _.betoffers) != null ? C : [], y = _.homeName, v = _.awayName;
1256
+ I.forEach((D) => {
1257
+ var A, $, x, O, P, z, R;
1258
+ if (!((A = D == null ? void 0 : D.outcomes) != null && A.length)) return;
1259
+ const k = D.outcomes[0];
1260
+ if (!k) return;
1261
+ let M = "";
1262
+ const T = k != null && k.line ? k.line / 1e3 : "";
1263
+ ["Más de", "Mas de", "Over"].includes(k.label) ? (M = `Más de ${T}`, k.participant && (M = `${k.participant} - ${M}`)) : ["Menos de", "Menos", "Under"].includes(k.label) ? (M = `Menos de ${T}`, k.participant && (M = `${k.participant} - ${M}`)) : ["Sí", "No"].includes(k.label) ? (M = k.label, k.participant && (M = `${k.participant} - ${M}`)) : ["1X", "12", "X2"].includes(k.label) ? (k.label === "1X" && (M = `${y} o Empate`), k.label === "12" && (M = `${y} o ${v}`), k.label === "X2" && (M = `${v} o Empate`)) : (M = (x = ($ = k.participant) != null ? $ : k.label) != null ? x : "", T !== "" && M === k.label && (M = `${k.label} ${T}`)), p.push({
1264
+ id: k.id,
1265
+ value: M,
1266
+ label: (P = (O = D.criterion) == null ? void 0 : O.label) != null ? P : "",
1267
+ odds: (z = k.odds) != null ? z : 0,
1268
+ position: (R = k.position) != null ? R : 0,
1269
+ eventId: _.id
1270
1270
  });
1271
1271
  });
1272
1272
  }), {
1273
- outcomes: p.sort((x, I) => x.position - I.position),
1274
- total: Number((g = u == null ? void 0 : u.combinadoTotal) != null ? g : 0).toLocaleString("en-US", {
1273
+ outcomes: p.sort((_, I) => _.position - I.position),
1274
+ total: Number((m = u == null ? void 0 : u.combinadoTotal) != null ? m : 0).toLocaleString("en-US", {
1275
1275
  minimumFractionDigits: 2,
1276
1276
  maximumFractionDigits: 2
1277
1277
  }),
@@ -1285,43 +1285,43 @@ function Ra({ coupon: e }) {
1285
1285
  if (p.length === 1)
1286
1286
  return `/deportes#event/${p[0].id}`;
1287
1287
  const d = p[0].groupId;
1288
- if (p.every((g) => g.groupId === d)) {
1289
- const g = p[0].path;
1290
- if (Array.isArray(g) && g.length > 0)
1291
- return `/deportes#sports-hub/${g.map((I) => I.termKey).filter(Boolean).join("/")}`;
1288
+ if (p.every((m) => m.groupId === d)) {
1289
+ const m = p[0].path;
1290
+ if (Array.isArray(m) && m.length > 0)
1291
+ return `/deportes#sports-hub/${m.map((I) => I.termKey).filter(Boolean).join("/")}`;
1292
1292
  }
1293
1293
  return "/deportes#home";
1294
1294
  }
1295
1295
  const r = (u, p) => {
1296
- const d = Array.isArray(u) ? u : [u], c = Array.from(
1296
+ const d = Array.isArray(u) ? u : [u], g = Array.from(
1297
1297
  new Set(
1298
1298
  s.outcomes.map((I) => {
1299
- var b;
1300
- const _ = f.get(Number(I.eventId));
1301
- return (b = _ == null ? void 0 : _.name) != null ? b : "";
1299
+ var v;
1300
+ const y = f.get(Number(I.eventId));
1301
+ return (v = y == null ? void 0 : y.name) != null ? v : "";
1302
1302
  })
1303
1303
  )
1304
- ).filter(Boolean), g = c.length > 0 ? c.join(" + ") : JSON.stringify(d), x = p ? `${g} - Cuota: ${p}` : g;
1304
+ ).filter(Boolean), m = g.length > 0 ? g.join(" + ") : JSON.stringify(d), _ = p ? `${m} - Cuota: ${p}` : m;
1305
1305
  a({
1306
1306
  element: "evento_semana_outcome",
1307
- label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${x}`,
1307
+ label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${_}`,
1308
1308
  target: "/deportes#in-play",
1309
1309
  event_type: "click",
1310
1310
  module_id: 301,
1311
1311
  metadata: {
1312
1312
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1313
1313
  },
1314
- tags: { section: "OraculoEventCombinadasCard", outcomes: x }
1314
+ tags: { section: "OraculoEventCombinadasCard", outcomes: _ }
1315
1315
  }), Ue(i(e), u);
1316
1316
  };
1317
1317
  if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
1318
- const s = o(e), l = s.outcomes.reduce((u, p) => (u[p.eventId] || (u[p.eventId] = []), u[p.eventId].push(p), u), {}), f = new Map(
1318
+ const s = o(e), c = s.outcomes.reduce((u, p) => (u[p.eventId] || (u[p.eventId] = []), u[p.eventId].push(p), u), {}), f = new Map(
1319
1319
  s.events.map((u) => [u.id, u])
1320
1320
  );
1321
- return /* @__PURE__ */ v("div", { className: le.card, children: [
1322
- /* @__PURE__ */ t("div", { className: le.combinadas, children: /* @__PURE__ */ t("div", { className: le.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(l).reverse().map(([u, p]) => {
1321
+ return /* @__PURE__ */ b("div", { className: ce.card, children: [
1322
+ /* @__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, p]) => {
1323
1323
  const d = f.get(Number(u));
1324
- return d ? /* @__PURE__ */ v(
1324
+ return d ? /* @__PURE__ */ b(
1325
1325
  H,
1326
1326
  {
1327
1327
  direction: "column",
@@ -1343,32 +1343,32 @@ function Ra({ coupon: e }) {
1343
1343
  src: "/assets/img/home/Combinadas/line.png"
1344
1344
  }
1345
1345
  ),
1346
- p.map((c, g) => /* @__PURE__ */ v("div", { className: le.apuestaItem, children: [
1347
- /* @__PURE__ */ v("div", { className: le.lineContainer, children: [
1348
- /* @__PURE__ */ t("div", { className: le.circle }),
1349
- g < p.length - 1 && /* @__PURE__ */ t("div", { className: le.line })
1346
+ p.map((g, m) => /* @__PURE__ */ b("div", { className: ce.apuestaItem, children: [
1347
+ /* @__PURE__ */ b("div", { className: ce.lineContainer, children: [
1348
+ /* @__PURE__ */ t("div", { className: ce.circle }),
1349
+ m < p.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1350
1350
  ] }),
1351
- /* @__PURE__ */ v("div", { className: le.apuestaText, children: [
1352
- /* @__PURE__ */ t("strong", { children: c.value }),
1351
+ /* @__PURE__ */ b("div", { className: ce.apuestaText, children: [
1352
+ /* @__PURE__ */ t("strong", { children: g.value }),
1353
1353
  " | ",
1354
- c.label
1354
+ g.label
1355
1355
  ] })
1356
- ] }, `${u}-${g}`))
1356
+ ] }, `${u}-${m}`))
1357
1357
  ]
1358
1358
  },
1359
1359
  u
1360
1360
  ) : null;
1361
1361
  }) }) }) }),
1362
- /* @__PURE__ */ v(
1362
+ /* @__PURE__ */ b(
1363
1363
  "button",
1364
1364
  {
1365
1365
  onClick: () => r(
1366
1366
  s.outcomes.map((u) => u.id),
1367
1367
  s.total
1368
1368
  ),
1369
- className: le.cuotaTotal,
1369
+ className: ce.cuotaTotal,
1370
1370
  children: [
1371
- /* @__PURE__ */ v("span", { children: [
1371
+ /* @__PURE__ */ b("span", { children: [
1372
1372
  "Cuota total: ",
1373
1373
  /* @__PURE__ */ t("strong", { children: s.total })
1374
1374
  ] }),
@@ -1385,7 +1385,7 @@ function Ra({ coupon: e }) {
1385
1385
  )
1386
1386
  ] });
1387
1387
  }
1388
- const ce = {
1388
+ const de = {
1389
1389
  "orc-btn": "oraculo__OraculoButtonBet-module__orc-btn___jakza",
1390
1390
  "orc-btn__label": "oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH",
1391
1391
  "orc-btn__icon": "oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd",
@@ -1399,7 +1399,7 @@ const ce = {
1399
1399
  "orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
1400
1400
  "orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
1401
1401
  };
1402
- function La({
1402
+ function Pa({
1403
1403
  children: e,
1404
1404
  onClick: a,
1405
1405
  href: n,
@@ -1407,32 +1407,32 @@ function La({
1407
1407
  rel: i,
1408
1408
  type: r = "button",
1409
1409
  disabled: s = !1,
1410
- variant: l = "primary",
1410
+ variant: c = "primary",
1411
1411
  size: f,
1412
1412
  fullWidth: h = !1,
1413
1413
  fullHeight: u = !1,
1414
1414
  className: p = "",
1415
1415
  ariaLabel: d,
1416
- leftIcon: c,
1417
- rightIcon: g,
1418
- iconOnly: x
1416
+ leftIcon: g,
1417
+ rightIcon: m,
1418
+ iconOnly: _
1419
1419
  }) {
1420
- const I = !!e && e !== !0, C = (!!c ? 1 : 0) + (!!g ? 1 : 0) == 1, q = x != null ? x : C && !I, T = [
1421
- ce["orc-btn"],
1420
+ const I = !!e && e !== !0, C = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : C && !I, k = [
1421
+ de["orc-btn"],
1422
1422
  // base
1423
- ce[`orc-btn--${l}`],
1423
+ de[`orc-btn--${c}`],
1424
1424
  // variant primary/secondary/tertiary
1425
- f ? ce[`orc-btn--${f}`] : "",
1425
+ f ? de[`orc-btn--${f}`] : "",
1426
1426
  // sm / md / lg
1427
- h ? ce["orc-btn--full"] : "",
1428
- u ? ce["orc-btn--fullHeight"] : "",
1429
- q ? ce["orc-btn--iconOnly"] : "",
1427
+ h ? de["orc-btn--full"] : "",
1428
+ u ? de["orc-btn--fullHeight"] : "",
1429
+ D ? de["orc-btn--iconOnly"] : "",
1430
1430
  p
1431
- ].filter(Boolean).join(" "), k = /* @__PURE__ */ v(me, { children: [
1432
- c && /* @__PURE__ */ t("span", { className: ce["orc-btn__icon"], children: c }),
1433
- !q && /* @__PURE__ */ t("span", { className: ce["orc-btn__label"], children: e }),
1434
- g && /* @__PURE__ */ t("span", { className: ce["orc-btn__icon"], children: g })
1435
- ] }), O = s ? !0 : void 0;
1431
+ ].filter(Boolean).join(" "), M = /* @__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
+ m && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: m })
1435
+ ] }), T = s ? !0 : void 0;
1436
1436
  return n ? /* @__PURE__ */ t(
1437
1437
  rt,
1438
1438
  {
@@ -1440,26 +1440,26 @@ function La({
1440
1440
  target: o,
1441
1441
  rel: i,
1442
1442
  "aria-label": d,
1443
- "aria-disabled": O,
1444
- tabIndex: O ? -1 : void 0,
1445
- className: T,
1446
- onClick: O ? (M) => M.preventDefault() : a,
1447
- children: k
1443
+ "aria-disabled": T,
1444
+ tabIndex: T ? -1 : void 0,
1445
+ className: k,
1446
+ onClick: T ? (A) => A.preventDefault() : a,
1447
+ children: M
1448
1448
  }
1449
1449
  ) : /* @__PURE__ */ t(
1450
1450
  "button",
1451
1451
  {
1452
1452
  type: r,
1453
1453
  onClick: a,
1454
- disabled: !!O,
1454
+ disabled: !!T,
1455
1455
  "aria-label": d,
1456
- className: T,
1457
- children: k
1456
+ className: k,
1457
+ children: M
1458
1458
  }
1459
1459
  );
1460
1460
  }
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,
1461
+ const La = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", qa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1462
+ cardWrapper: La,
1463
1463
  customButtonLabel: Fa,
1464
1464
  customButtonDisabled: qa
1465
1465
  }, Xe = {
@@ -1484,11 +1484,11 @@ const Pa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "
1484
1484
  return o || (a === "home" ? Xe : Ye);
1485
1485
  };
1486
1486
  function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1487
- var l, f, h, u, p, d, c, g, x, I, _;
1487
+ var c, f, h, u, p, d, g, m, _, I, y;
1488
1488
  const i = n == null ? void 0 : n.find(
1489
- (b) => {
1489
+ (v) => {
1490
1490
  var C;
1491
- return ((C = b.betOfferType) == null ? void 0 : C.id) === 2;
1491
+ return ((C = v.betOfferType) == null ? void 0 : C.id) === 2;
1492
1492
  }
1493
1493
  ), r = {
1494
1494
  englishLabel: "",
@@ -1504,28 +1504,28 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1504
1504
  { ...r, id: -2, label: "X", odds: void 0 },
1505
1505
  { ...r, id: -3, label: "2", odds: void 0 }
1506
1506
  ];
1507
- return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1508
- /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
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: [
1509
1509
  /* @__PURE__ */ t(
1510
1510
  Ht,
1511
1511
  {
1512
- title: (h = (f = (l = e == null ? void 0 : e.path) == null ? void 0 : l[0]) == null ? void 0 : f.name) != null ? h : "",
1512
+ title: (h = (f = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : f.name) != null ? h : "",
1513
1513
  subtitle: (u = e == null ? void 0 : e.group) != null ? u : "",
1514
1514
  live: !0,
1515
1515
  time: ((p = a == null ? void 0 : a.matchClock) == null ? void 0 : p.minute) != null ? `${a.matchClock.minute}'` : ""
1516
1516
  }
1517
1517
  ),
1518
- /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ v(ue, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1518
+ /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1519
1519
  /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
1520
- /* @__PURE__ */ t(pt, { text: ((c = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? c : 0) + ":" + ((x = (g = a == null ? void 0 : a.score) == null ? void 0 : g.away) != null ? x : 0), name: "En vivo" }),
1520
+ /* @__PURE__ */ t(pt, { text: ((g = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? g : 0) + ":" + ((_ = (m = a == null ? void 0 : a.score) == null ? void 0 : m.away) != null ? _ : 0), name: "En vivo" }),
1521
1521
  /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
1522
1522
  ] }) })
1523
1523
  ] }),
1524
- /* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
- /* @__PURE__ */ t(ue, { spacing: 1, children: ((I = i == null ? void 0 : i.outcomes) != null ? I : s).map((b, C) => /* @__PURE__ */ t(ut, { text: b.label.toUpperCase() }, C)) }),
1526
- /* @__PURE__ */ t(ue, { spacing: 2, children: ((_ = i == null ? void 0 : i.outcomes) != null ? _ : s).map((b, C) => /* @__PURE__ */ t(La, { variant: "primary", disabled: b.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
- Ue("/deportes#event/live/" + e.id, b.id);
1528
- }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: b.odds === void 0 ? "" : (b.odds / 1e3).toFixed(2) }) }, C)) })
1524
+ /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((I = i == null ? void 0 : i.outcomes) != null ? I : s).map((v, C) => /* @__PURE__ */ t(ut, { text: v.label.toUpperCase() }, C)) }),
1526
+ /* @__PURE__ */ t(me, { spacing: 2, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : s).map((v, C) => /* @__PURE__ */ t(Pa, { variant: "primary", disabled: v.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
+ Ue("/deportes#event/live/" + e.id, v.id);
1528
+ }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: v.odds === void 0 ? "" : (v.odds / 1e3).toFixed(2) }) }, C)) })
1529
1529
  ] })
1530
1530
  ] }) });
1531
1531
  }
@@ -1542,43 +1542,43 @@ const Ga = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ja =
1542
1542
  equipos: Ka
1543
1543
  };
1544
1544
  function Za({ event: e, jersey: a }) {
1545
- var s, l, f, h, u, p, d;
1545
+ var s, c, f, h, u, p, d;
1546
1546
  const n = ae(), o = ne();
1547
- function i(c) {
1548
- const g = new Date(c), x = g.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), I = g.getDate().toString().padStart(2, "0"), _ = (g.getMonth() + 1).toString().padStart(2, "0");
1549
- let b = g.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1550
- return b = b.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${I}/${_} | ${b}`;
1547
+ function i(g) {
1548
+ const m = new Date(g), _ = m.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), I = m.getDate().toString().padStart(2, "0"), y = (m.getMonth() + 1).toString().padStart(2, "0");
1549
+ let v = m.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1550
+ return v = v.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${_} ${I}/${y} | ${v}`;
1551
1551
  }
1552
- const r = (c, g) => {
1553
- const x = `${e.homeName} vs ${e.awayName}`, I = g ? (g / 1e3).toFixed(2) : "", _ = I ? `${x} - Cuota: ${I}` : x;
1552
+ const r = (g, m) => {
1553
+ const _ = `${e.homeName} vs ${e.awayName}`, I = m ? (m / 1e3).toFixed(2) : "", y = I ? `${_} - Cuota: ${I}` : _;
1554
1554
  n({
1555
1555
  element: "evento_semana_outcome",
1556
- label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${_}`,
1556
+ label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${y}`,
1557
1557
  target: "/deportes#in-play",
1558
1558
  event_type: "click",
1559
1559
  module_id: 301,
1560
1560
  metadata: {
1561
1561
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1562
1562
  },
1563
- tags: { section: "OraculoEventSemanaCard", outcomes: _ }
1564
- }), Ue("/deportes#event/" + e.id, c);
1563
+ tags: { section: "OraculoEventSemanaCard", outcomes: y }
1564
+ }), Ue("/deportes#event/" + e.id, g);
1565
1565
  };
1566
- return /* @__PURE__ */ v("div", { className: be.cardContainer, children: [
1566
+ return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
1567
1567
  /* @__PURE__ */ t(mt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
1568
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1569
- /* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1570
- /* @__PURE__ */ v("div", { className: be.equipos, children: [
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
1571
  /* @__PURE__ */ t(Ne, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
1572
1572
  /* @__PURE__ */ t(pt, { text: "vs.", name: "", size: "small" }),
1573
1573
  /* @__PURE__ */ t(Ne, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
1574
1574
  ] }),
1575
1575
  /* @__PURE__ */ t(Wa, { text: i(e.start) })
1576
1576
  ] }),
1577
- /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1578
- /* @__PURE__ */ t(ue, { spacing: 1, children: ((h = (f = (l = e == null ? void 0 : e.outcome) == null ? void 0 : l[0]) == null ? void 0 : f.outcomes) != null ? h : []).map((c, g) => /* @__PURE__ */ t(ut, { text: c.label.toUpperCase() }, g)) }),
1579
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(ue, { spacing: 1, children: ((d = (p = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : p.outcomes) != null ? d : []).map((c, g) => /* @__PURE__ */ t(X, { variant: "primary", fullHeight: !0, onClick: () => {
1580
- r(c.id, c.odds);
1581
- }, children: (c.odds / 1e3).toFixed(2) }, g)) }) })
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, m) => /* @__PURE__ */ t(ut, { text: g.label.toUpperCase() }, m)) }),
1579
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (p = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : p.outcomes) != null ? d : []).map((g, m) => /* @__PURE__ */ t(X, { variant: "primary", fullHeight: !0, onClick: () => {
1580
+ r(g.id, g.odds);
1581
+ }, children: (g.odds / 1e3).toFixed(2) }, m)) }) })
1582
1582
  ] })
1583
1583
  ] }) })
1584
1584
  ] });
@@ -1590,8 +1590,8 @@ function Ja({
1590
1590
  onViewMore: o,
1591
1591
  className: i = ""
1592
1592
  }) {
1593
- const r = V(null), [s, l] = K({ isStart: !0, isEnd: !1 }), f = ae(), h = ne(), u = se(), p = !e || e.length === 0, d = () => {
1594
- var b;
1593
+ const r = V(null), [s, c] = Z({ isStart: !0, isEnd: !1 }), f = ae(), h = ne(), u = le(), p = !e || e.length === 0, d = () => {
1594
+ var v;
1595
1595
  f({
1596
1596
  element: "destacados_carousel_prev",
1597
1597
  label: `${h} - OraculoSeccionDestacados - Anterior`,
@@ -1602,9 +1602,9 @@ function Ja({
1602
1602
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1603
1603
  },
1604
1604
  tags: { section: "OraculoSeccionDestacados" }
1605
- }), (b = r.current) == null || b.prev();
1606
- }, c = () => {
1607
- var b;
1605
+ }), (v = r.current) == null || v.prev();
1606
+ }, g = () => {
1607
+ var v;
1608
1608
  f({
1609
1609
  element: "destacados_carousel_next",
1610
1610
  label: `${h} - OraculoSeccionDestacados - Siguiente`,
@@ -1615,8 +1615,8 @@ function Ja({
1615
1615
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1616
1616
  },
1617
1617
  tags: { section: "OraculoSeccionDestacados" }
1618
- }), (b = r.current) == null || b.next();
1619
- }, g = () => {
1618
+ }), (v = r.current) == null || v.next();
1619
+ }, m = () => {
1620
1620
  f({
1621
1621
  element: "destacados_view_more",
1622
1622
  label: `${h} - OraculoSeccionDestacados - Ver más`,
@@ -1628,13 +1628,13 @@ function Ja({
1628
1628
  },
1629
1629
  tags: { section: "OraculoSeccionDestacados" }
1630
1630
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1631
- }, x = (b) => {
1632
- if (!b) return;
1633
- const q = `https://www.olimpo.bet/promociones/${encodeURIComponent(b)}`;
1631
+ }, _ = (v) => {
1632
+ if (!v) return;
1633
+ const D = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
1634
1634
  f({
1635
1635
  element: "destacados_card",
1636
- label: `${h} - OraculoSeccionDestacados - Click: ${String(b)}`,
1637
- target: q,
1636
+ label: `${h} - OraculoSeccionDestacados - Click: ${String(v)}`,
1637
+ target: D,
1638
1638
  event_type: "click",
1639
1639
  module_id: u,
1640
1640
  metadata: {
@@ -1642,12 +1642,12 @@ function Ja({
1642
1642
  },
1643
1643
  tags: {
1644
1644
  section: "OraculoSeccionDestacados",
1645
- promotion: String(b)
1645
+ promotion: String(v)
1646
1646
  }
1647
- }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(q);
1648
- }, I = i || void 0, _ = xe("(max-width:950px)");
1649
- return /* @__PURE__ */ v("section", { className: I, style: { width: "100%" }, children: [
1650
- /* @__PURE__ */ v(
1647
+ }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(D);
1648
+ }, I = i || void 0, y = xe("(max-width:950px)");
1649
+ return /* @__PURE__ */ b("section", { className: I, style: { width: "100%" }, children: [
1650
+ /* @__PURE__ */ b(
1651
1651
  "header",
1652
1652
  {
1653
1653
  style: {
@@ -1657,19 +1657,19 @@ function Ja({
1657
1657
  columnGap: 12,
1658
1658
  rowGap: 8,
1659
1659
  // marginBottom: 16,
1660
- paddingLeft: _ ? 16 : 0,
1661
- paddingRight: _ ? 16 : 0
1660
+ paddingLeft: y ? 16 : 0,
1661
+ paddingRight: y ? 16 : 0
1662
1662
  },
1663
1663
  children: [
1664
1664
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1665
- /* @__PURE__ */ v("div", { style: { display: "flex", gap: 8 }, children: [
1665
+ /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8 }, children: [
1666
1666
  /* @__PURE__ */ t(
1667
1667
  X,
1668
1668
  {
1669
1669
  ariaLabel: "Anterior",
1670
1670
  variant: "secondary",
1671
1671
  iconOnly: !0,
1672
- leftIcon: /* @__PURE__ */ t(Be, {}),
1672
+ leftIcon: /* @__PURE__ */ t(Ae, {}),
1673
1673
  onClick: d,
1674
1674
  disabled: s.isStart || p
1675
1675
  }
@@ -1681,12 +1681,12 @@ function Ja({
1681
1681
  variant: "secondary",
1682
1682
  iconOnly: !0,
1683
1683
  rightIcon: /* @__PURE__ */ t(ze, {}),
1684
- onClick: c,
1684
+ onClick: g,
1685
1685
  disabled: s.isEnd || p
1686
1686
  }
1687
1687
  )
1688
1688
  ] }),
1689
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: g, children: "Ver más" })
1689
+ /* @__PURE__ */ t(X, { variant: "secondary", onClick: m, children: "Ver más" })
1690
1690
  ]
1691
1691
  }
1692
1692
  ),
@@ -1698,13 +1698,13 @@ function Ja({
1698
1698
  perPage: void 0,
1699
1699
  gap: "16px",
1700
1700
  enableHorizontalWheel: !0,
1701
- showRightGradient: !_,
1701
+ showRightGradient: !y,
1702
1702
  options: { autoWidth: !0, trimSpace: "move" },
1703
1703
  breakpoints: {
1704
1704
  768: { perPage: 2, focus: "start", padding: { left: "24px", right: "24px" } },
1705
1705
  1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
1706
1706
  },
1707
- renderItem: (b) => /* @__PURE__ */ t(
1707
+ renderItem: (v) => /* @__PURE__ */ t(
1708
1708
  "div",
1709
1709
  {
1710
1710
  style: {
@@ -1712,12 +1712,12 @@ function Ja({
1712
1712
  marginTop: 16,
1713
1713
  cursor: "pointer"
1714
1714
  },
1715
- onClick: () => x(b.promotion),
1715
+ onClick: () => _(v.promotion),
1716
1716
  children: /* @__PURE__ */ t(
1717
1717
  "img",
1718
1718
  {
1719
- src: `https://olimpo.bet${b.image !== "" ? b.image : b.summary_image}`,
1720
- alt: b.title,
1719
+ src: `https://olimpo.bet${v.image !== "" ? v.image : v.summary_image}`,
1720
+ alt: v.title,
1721
1721
  style: {
1722
1722
  width: "100%",
1723
1723
  height: typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px",
@@ -1728,10 +1728,10 @@ function Ja({
1728
1728
  }
1729
1729
  )
1730
1730
  },
1731
- `${b.title}-${b.image}`
1731
+ `${v.title}-${v.image}`
1732
1732
  ),
1733
- onMove: ({ isStart: b, isEnd: C }) => {
1734
- l({ isStart: b, isEnd: C }), f({
1733
+ onMove: ({ isStart: v, isEnd: C }) => {
1734
+ c({ isStart: v, isEnd: C }), f({
1735
1735
  element: "destacados_carousel_slide",
1736
1736
  label: `${h} - OraculoSeccionDestacados - Slide Carousel`,
1737
1737
  target: "carousel",
@@ -1739,7 +1739,7 @@ function Ja({
1739
1739
  module_id: u,
1740
1740
  metadata: {
1741
1741
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
1742
- isStart: b,
1742
+ isStart: v,
1743
1743
  isEnd: C
1744
1744
  },
1745
1745
  tags: { section: "OraculoSeccionDestacados" }
@@ -1757,7 +1757,7 @@ function _t() {
1757
1757
  function Xa(e) {
1758
1758
  _t().extras = e;
1759
1759
  }
1760
- function pe(e) {
1760
+ function se(e) {
1761
1761
  var a;
1762
1762
  return (a = _t().extras) == null ? void 0 : a[e];
1763
1763
  }
@@ -1770,17 +1770,17 @@ function Qa({
1770
1770
  iconUrl: n,
1771
1771
  onCardClick: o
1772
1772
  }) {
1773
- const i = ae(), r = ne(), s = se(), l = ie(
1773
+ const i = ae(), r = ne(), s = le(), c = ie(
1774
1774
  () => (e != null ? e : []).map((p, d) => {
1775
- var c;
1775
+ var g;
1776
1776
  return {
1777
1777
  ...p,
1778
- orden: (c = p.orden) != null ? c : d + 1,
1778
+ orden: (g = p.orden) != null ? g : d + 1,
1779
1779
  _originalIndex: d
1780
1780
  };
1781
1781
  }).sort((p, d) => p.orden != null && d.orden != null ? p.orden - d.orden : p._originalIndex - d._originalIndex),
1782
1782
  [e]
1783
- ), f = !e || e.length === 0, h = f ? Array.from({ length: 6 }) : l.slice(0, 6), u = (p) => {
1783
+ ), f = !e || e.length === 0, h = f ? Array.from({ length: 6 }) : c.slice(0, 6), u = (p) => {
1784
1784
  i({
1785
1785
  element: "top_juegos_card",
1786
1786
  label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(p.machine || "unknown")}`,
@@ -1795,15 +1795,15 @@ function Qa({
1795
1795
  section: "OraculoSeccionTopJuegos"
1796
1796
  }
1797
1797
  });
1798
- const d = pe("showIframe"), c = pe("loadMachine");
1798
+ const d = se("showIframe"), g = se("loadMachine");
1799
1799
  d == null || d(), requestAnimationFrame(() => {
1800
- c == null || c(p, !1, "CASINO");
1800
+ g == null || g(p, !1, "CASINO");
1801
1801
  });
1802
1802
  };
1803
- return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1803
+ return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1804
1804
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1805
1805
  /* @__PURE__ */ t(
1806
- F,
1806
+ q,
1807
1807
  {
1808
1808
  sx: {
1809
1809
  display: "grid",
@@ -1816,18 +1816,18 @@ function Qa({
1816
1816
  width: "100%"
1817
1817
  },
1818
1818
  children: h.map((p, d) => {
1819
- var c, g;
1819
+ var g, m;
1820
1820
  return /* @__PURE__ */ t(
1821
1821
  xa,
1822
1822
  {
1823
- imageUrl: f ? "" : p.background ? `https://olimpo.bet${p.background}` : `https://olimpo.bet${(c = p.logo) != null ? c : ""}`,
1823
+ imageUrl: f ? "" : p.background ? `https://olimpo.bet${p.background}` : `https://olimpo.bet${(g = p.logo) != null ? g : ""}`,
1824
1824
  orden: f ? d + 1 : p.orden,
1825
1825
  loading: f,
1826
1826
  onClick: f ? void 0 : () => {
1827
1827
  o == null || o(p), u(p);
1828
1828
  }
1829
1829
  },
1830
- f ? `sk-${d}` : (g = p.machine) != null ? g : `${d}`
1830
+ f ? `sk-${d}` : (m = p.machine) != null ? m : `${d}`
1831
1831
  );
1832
1832
  })
1833
1833
  }
@@ -1835,7 +1835,7 @@ function Qa({
1835
1835
  ] }) });
1836
1836
  }
1837
1837
  const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
1838
- var n, o, i, r, s, l, f, h, u, p, d, c, g, x;
1838
+ var n, o, i, r, s, c, f, h, u, p, d, g, m, _;
1839
1839
  return {
1840
1840
  orden: Number(a),
1841
1841
  machine: String(
@@ -1845,19 +1845,19 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1845
1845
  name: (i = e.room_name) != null ? i : "",
1846
1846
  web_name: (r = e.product) != null ? r : "",
1847
1847
  provider: (s = e.service) != null ? s : "",
1848
- sub_provider: (l = e.service) != null ? l : "",
1848
+ sub_provider: (c = e.service) != null ? c : "",
1849
1849
  external_id: (f = e.external_id) != null ? f : "",
1850
1850
  type: (h = e.game_type) != null ? h : "",
1851
1851
  tags: (u = e.tags) != null ? u : "",
1852
1852
  lobby_tag: (p = e.lobby_tag) != null ? p : null,
1853
1853
  background: (d = e.background) != null ? d : "",
1854
- rtp: (c = e.rtp) != null ? c : null,
1855
- demo_allowed: (g = e.demo_allowed) != null ? g : !1,
1856
- gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
1854
+ rtp: (g = e.rtp) != null ? g : null,
1855
+ demo_allowed: (m = e.demo_allowed) != null ? m : !1,
1856
+ gaming_session_required: (_ = e.gaming_session_required) != null ? _ : !1
1857
1857
  };
1858
1858
  }, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
1859
1859
  var a, n, o;
1860
- const e = pe("user");
1860
+ const e = se("user");
1861
1861
  return (o = (n = (a = e == null ? void 0 : e.userId) != null ? a : e == null ? void 0 : e.user) != null ? n : e == null ? void 0 : e.id) != null ? o : null;
1862
1862
  }, nn = async (e) => {
1863
1863
  const a = yt(), n = new URLSearchParams({
@@ -1888,9 +1888,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1888
1888
  throw new Error(`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`);
1889
1889
  return (await i.json()).rankedItems;
1890
1890
  }, Ve = (e, a = !1, n = "Casino") => {
1891
- const [o, i] = K([]), [r, s] = K(!1);
1891
+ const [o, i] = Z([]), [r, s] = Z(!1);
1892
1892
  return ee(() => {
1893
- let l = !1;
1893
+ let c = !1;
1894
1894
  return (async () => {
1895
1895
  if (!a) {
1896
1896
  i(Array.isArray(e) ? e : []), s(!1);
@@ -1900,36 +1900,36 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1900
1900
  try {
1901
1901
  const h = await nn(n), u = an(h);
1902
1902
  if (!u.length) {
1903
- l || i([]);
1903
+ c || i([]);
1904
1904
  return;
1905
1905
  }
1906
- const p = yt(), d = await on(p, u), c = d.map((_) => _.itemId), g = await Promise.allSettled(
1907
- c.map(async (_, b) => {
1908
- const C = await fetch(`https://api.mktolimpo.com/api/machine/${_}`);
1906
+ const p = yt(), d = await on(p, u), g = d.map((y) => y.itemId), m = await Promise.allSettled(
1907
+ g.map(async (y, v) => {
1908
+ const C = await fetch(`https://api.mktolimpo.com/api/machine/${y}`);
1909
1909
  if (!C.ok)
1910
- throw new Error(`No se pudo obtener machine ${_}`);
1911
- const q = await C.json();
1912
- return tn(q, b);
1910
+ throw new Error(`No se pudo obtener machine ${y}`);
1911
+ const D = await C.json();
1912
+ return tn(D, v);
1913
1913
  })
1914
1914
  );
1915
- if (l) return;
1916
- const x = g.filter(
1917
- (_) => _.status === "fulfilled"
1918
- ).map((_) => _.value), I = d.map((_) => {
1919
- const b = x.find((C) => C.machine === _.itemId);
1920
- return b ? { ...b, score: _.score } : null;
1921
- }).filter(Boolean).sort((_, b) => {
1922
- var C, q;
1923
- return ((C = b.score) != null ? C : 0) - ((q = _.score) != null ? q : 0);
1915
+ if (c) return;
1916
+ const _ = m.filter(
1917
+ (y) => y.status === "fulfilled"
1918
+ ).map((y) => y.value), I = d.map((y) => {
1919
+ const v = _.find((C) => C.machine === y.itemId);
1920
+ return v ? { ...v, score: y.score } : null;
1921
+ }).filter(Boolean).sort((y, v) => {
1922
+ var C, D;
1923
+ return ((C = v.score) != null ? C : 0) - ((D = y.score) != null ? D : 0);
1924
1924
  });
1925
1925
  i(I);
1926
1926
  } catch (h) {
1927
- console.error(`[usePersonalizeGameItems:${n}] error:`, h), l || i([]);
1927
+ console.error(`[usePersonalizeGameItems:${n}] error:`, h), c || i([]);
1928
1928
  } finally {
1929
- l || s(!1);
1929
+ c || s(!1);
1930
1930
  }
1931
1931
  })(), () => {
1932
- l = !0;
1932
+ c = !0;
1933
1933
  };
1934
1934
  }, [e, a, n]), {
1935
1935
  resolvedItems: o,
@@ -1956,42 +1956,42 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1956
1956
  onCardClick: i,
1957
1957
  backgroundDesktopUrl: r = "",
1958
1958
  onViewMore: s,
1959
- className: l,
1959
+ className: c,
1960
1960
  isPersonalize: f = !1
1961
1961
  }) => {
1962
- const h = ae(), u = ne(), p = se(), d = dn(f), { resolvedItems: c } = ln(
1962
+ const h = ae(), u = ne(), p = le(), d = dn(f), { resolvedItems: g } = ln(
1963
1963
  e,
1964
1964
  d
1965
- ), g = d ? c : Array.isArray(e) ? e : [], x = (_) => {
1965
+ ), m = d ? g : Array.isArray(e) ? e : [], _ = (y) => {
1966
1966
  h({
1967
1967
  element: "live_casino_card",
1968
- label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(_.machine || "unknown")}`,
1969
- target: String(_.machine || "unknown"),
1968
+ label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(y.machine || "unknown")}`,
1969
+ target: String(y.machine || "unknown"),
1970
1970
  event_type: "click",
1971
1971
  module_id: p,
1972
1972
  metadata: {
1973
1973
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1974
1974
  },
1975
1975
  tags: {
1976
- game_name: String(_.machine || "unknown"),
1977
- provider: _.provider || "unknown",
1976
+ game_name: String(y.machine || "unknown"),
1977
+ provider: y.provider || "unknown",
1978
1978
  section: "OraculoSeccionCasinoEnVivo"
1979
1979
  }
1980
1980
  });
1981
- const b = pe("showIframe"), C = pe("loadMachine");
1981
+ const v = se("showIframe"), C = se("loadMachine");
1982
1982
  if (!C) {
1983
1983
  if (i) {
1984
- i(_);
1984
+ i(y);
1985
1985
  return;
1986
1986
  }
1987
1987
  console.warn(
1988
1988
  "[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
1989
- { machine: _ == null ? void 0 : _.machine, provider: _ == null ? void 0 : _.provider }
1989
+ { machine: y == null ? void 0 : y.machine, provider: y == null ? void 0 : y.provider }
1990
1990
  );
1991
1991
  return;
1992
1992
  }
1993
- b == null || b(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1994
- C == null || C(_, !1, "casino_en_vivo");
1993
+ v == null || v(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1994
+ C == null || C(y, !1, "casino_en_vivo");
1995
1995
  });
1996
1996
  }, I = () => {
1997
1997
  h({
@@ -2006,10 +2006,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2006
2006
  tags: { section: "OraculoSeccionCasinoEnVivo" }
2007
2007
  }), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
2008
2008
  };
2009
- return /* @__PURE__ */ v(
2010
- F,
2009
+ return /* @__PURE__ */ b(
2010
+ q,
2011
2011
  {
2012
- className: l,
2012
+ className: c,
2013
2013
  sx: {
2014
2014
  position: "relative",
2015
2015
  color: "white",
@@ -2017,7 +2017,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2017
2017
  },
2018
2018
  children: [
2019
2019
  /* @__PURE__ */ t(
2020
- F,
2020
+ q,
2021
2021
  {
2022
2022
  sx: {
2023
2023
  position: "absolute",
@@ -2044,8 +2044,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2044
2044
  }
2045
2045
  }
2046
2046
  ),
2047
- /* @__PURE__ */ v(
2048
- F,
2047
+ /* @__PURE__ */ b(
2048
+ q,
2049
2049
  {
2050
2050
  sx: {
2051
2051
  position: "relative",
@@ -2062,9 +2062,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2062
2062
  textAlign: { xs: "center", md: "left" }
2063
2063
  },
2064
2064
  children: [
2065
- /* @__PURE__ */ v(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2065
+ /* @__PURE__ */ b(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2066
2066
  /* @__PURE__ */ t(
2067
- de,
2067
+ ue,
2068
2068
  {
2069
2069
  variant: "h4",
2070
2070
  sx: {
@@ -2077,7 +2077,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2077
2077
  }
2078
2078
  ),
2079
2079
  /* @__PURE__ */ t(
2080
- de,
2080
+ ue,
2081
2081
  {
2082
2082
  sx: {
2083
2083
  fontSize: { xs: 14, md: 18 },
@@ -2088,7 +2088,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2088
2088
  children: n
2089
2089
  }
2090
2090
  ),
2091
- /* @__PURE__ */ t(F, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
2091
+ /* @__PURE__ */ t(q, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
2092
2092
  X,
2093
2093
  {
2094
2094
  variant: "primary",
@@ -2099,7 +2099,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2099
2099
  ) })
2100
2100
  ] }),
2101
2101
  /* @__PURE__ */ t(
2102
- F,
2102
+ q,
2103
2103
  {
2104
2104
  sx: {
2105
2105
  display: "flex",
@@ -2109,23 +2109,23 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2109
2109
  py: { xs: 3, md: 0 },
2110
2110
  alignItems: "center"
2111
2111
  },
2112
- children: (g != null ? g : []).slice(0, 3).map((_, b) => {
2112
+ children: (m != null ? m : []).slice(0, 3).map((y, v) => {
2113
2113
  var C;
2114
2114
  return /* @__PURE__ */ t(
2115
2115
  wa,
2116
2116
  {
2117
- logo: `https://olimpo.bet${_.background ? _.background : (C = _.logo) != null ? C : ""}`,
2118
- provider: _.provider,
2119
- providerName: _.web_name,
2120
- machine: _.machine,
2121
- onClick: () => x(_)
2117
+ logo: `https://olimpo.bet${y.background ? y.background : (C = y.logo) != null ? C : ""}`,
2118
+ provider: y.provider,
2119
+ providerName: y.web_name,
2120
+ machine: y.machine,
2121
+ onClick: () => _(y)
2122
2122
  },
2123
- cn(_, b)
2123
+ cn(y, v)
2124
2124
  );
2125
2125
  })
2126
2126
  }
2127
2127
  ),
2128
- /* @__PURE__ */ t(F, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
2128
+ /* @__PURE__ */ t(q, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
2129
2129
  X,
2130
2130
  {
2131
2131
  variant: "primary",
@@ -2154,10 +2154,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2154
2154
  var n, o;
2155
2155
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2156
2156
  }, pn = (e, a = !0, n = 1) => {
2157
- const o = e.map((s, l) => {
2157
+ const o = e.map((s, c) => {
2158
2158
  var f;
2159
2159
  return {
2160
- id: xt(s, l),
2160
+ id: xt(s, c),
2161
2161
  imageUrl: (f = s.logo) != null ? f : "",
2162
2162
  ...s.background ? { background: s.background } : {}
2163
2163
  };
@@ -2190,16 +2190,16 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2190
2190
  onViewMore: i,
2191
2191
  mosaicFirst: r = !0,
2192
2192
  gridSize: s = 1,
2193
- isPersonalize: l = !1
2193
+ isPersonalize: c = !1
2194
2194
  }) => {
2195
- const f = ae(), h = ne(), u = se(), p = V(null), [d, c] = K({ isStart: !0, isEnd: !1 }), g = mn(l), { resolvedItems: x, loading: I } = rn(
2195
+ const f = ae(), h = ne(), u = le(), p = V(null), [d, g] = Z({ isStart: !0, isEnd: !1 }), m = mn(c), { resolvedItems: _, loading: I } = rn(
2196
2196
  e,
2197
- g
2198
- ), _ = g ? x : Array.isArray(e) ? e : [], b = () => {
2197
+ m
2198
+ ), y = m ? _ : Array.isArray(e) ? e : [], v = () => {
2199
2199
  var $;
2200
2200
  f({
2201
2201
  element: "casino_prev",
2202
- label: `${h} - OraculoSeccionCasino ${l ? " - personalize" : ""} - Anterior`,
2202
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
2203
2203
  target: "prev",
2204
2204
  event_type: "click",
2205
2205
  module_id: u,
@@ -2212,7 +2212,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2212
2212
  var $;
2213
2213
  f({
2214
2214
  element: "casino_next",
2215
- label: `${h} - OraculoSeccionCasino ${l ? " - personalize" : ""} - Siguiente`,
2215
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
2216
2216
  target: "next",
2217
2217
  event_type: "click",
2218
2218
  module_id: u,
@@ -2221,10 +2221,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2221
2221
  },
2222
2222
  tags: { section: "OraculoSeccionCasino" }
2223
2223
  }), ($ = p.current) == null || $.next();
2224
- }, q = () => {
2224
+ }, D = () => {
2225
2225
  if (f({
2226
2226
  element: "casino_view_more",
2227
- label: `${h} - OraculoSeccionCasino ${l ? " - personalize" : ""} - Ver más`,
2227
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
2228
2228
  target: "https://www.olimpo.bet/casino",
2229
2229
  event_type: "click",
2230
2230
  module_id: u,
@@ -2237,16 +2237,16 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2237
2237
  return;
2238
2238
  }
2239
2239
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2240
- }, T = ($ = !0, y = 4) => {
2241
- const E = (z) => Array.from({ length: z }, (R, U) => ({
2240
+ }, k = ($ = !0, x = 4) => {
2241
+ const O = (z) => Array.from({ length: z }, (R, U) => ({
2242
2242
  id: `sk-${z}-${U}`,
2243
2243
  imageUrl: ""
2244
- })), L = [];
2245
- return $ && L.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), L.push({ id: "grid-loading", kind: "grid", items: E(y) }), L;
2246
- }, k = g ? I : !Array.isArray(e) || e.length === 0, O = De("(max-width:950px)"), M = k ? T(r, s) : pn(_, r, s);
2247
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2248
- /* @__PURE__ */ v(
2249
- F,
2244
+ })), P = [];
2245
+ return $ && P.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), P.push({ id: "grid-loading", kind: "grid", items: O(x) }), P;
2246
+ }, M = m ? I : !Array.isArray(e) || e.length === 0, T = De("(max-width:950px)"), A = M ? k(r, s) : pn(y, r, s);
2247
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2248
+ /* @__PURE__ */ b(
2249
+ q,
2250
2250
  {
2251
2251
  sx: {
2252
2252
  display: "grid",
@@ -2261,7 +2261,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2261
2261
  },
2262
2262
  children: [
2263
2263
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2264
- /* @__PURE__ */ v(F, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2264
+ /* @__PURE__ */ b(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2265
2265
  /* @__PURE__ */ t(
2266
2266
  X,
2267
2267
  {
@@ -2269,7 +2269,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2269
2269
  variant: "secondary",
2270
2270
  iconOnly: !0,
2271
2271
  leftIcon: /* @__PURE__ */ t(lt, {}),
2272
- onClick: b,
2272
+ onClick: v,
2273
2273
  disabled: d.isStart
2274
2274
  }
2275
2275
  ),
@@ -2285,7 +2285,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2285
2285
  }
2286
2286
  )
2287
2287
  ] }),
2288
- /* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: q, children: "Ver más" }) })
2288
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2289
2289
  ]
2290
2290
  }
2291
2291
  ),
@@ -2293,12 +2293,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2293
2293
  he,
2294
2294
  {
2295
2295
  ref: p,
2296
- items: M,
2296
+ items: A,
2297
2297
  perPage: void 0,
2298
2298
  gap: "16px",
2299
2299
  enableHorizontalWheel: !0,
2300
2300
  options: { autoWidth: !0, trimSpace: "move" },
2301
- showRightGradient: !O,
2301
+ showRightGradient: !T,
2302
2302
  breakpoints: {
2303
2303
  400: {
2304
2304
  gap: "4px",
@@ -2321,33 +2321,33 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2321
2321
  {
2322
2322
  items: $.items,
2323
2323
  layout: $.kind === "mosaic" ? "mosaic" : "grid",
2324
- loading: k,
2325
- onClick: (y) => {
2326
- if (k) return;
2327
- const E = _.find(
2328
- (R, U) => String(xt(R, U)) === String(y.id)
2324
+ loading: M,
2325
+ onClick: (x) => {
2326
+ if (M) return;
2327
+ const O = y.find(
2328
+ (R, U) => String(xt(R, U)) === String(x.id)
2329
2329
  );
2330
- if (!E) return;
2331
- o == null || o(E), f({
2330
+ if (!O) return;
2331
+ o == null || o(O), f({
2332
2332
  element: "casino_game_card",
2333
- label: `${h} - OraculoSeccionCasino ${l ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
2334
- target: String(E.machine || "unknown"),
2333
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(O.machine || "unknown")}`,
2334
+ target: String(O.machine || "unknown"),
2335
2335
  event_type: "click",
2336
2336
  module_id: u,
2337
2337
  metadata: {
2338
2338
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2339
2339
  },
2340
2340
  tags: {
2341
- game_name: String(E.machine || "unknown"),
2341
+ game_name: String(O.machine || "unknown"),
2342
2342
  section: a || "Casino"
2343
2343
  }
2344
2344
  });
2345
- const L = pe("showIframe"), z = pe("loadMachine");
2346
- L == null || L(), z == null || z(E, !1, "CASINO");
2345
+ const P = se("showIframe"), z = se("loadMachine");
2346
+ P == null || P(), z == null || z(O, !1, "CASINO");
2347
2347
  }
2348
2348
  }
2349
2349
  ) }),
2350
- onMove: ({ isStart: $, isEnd: y }) => c({ isStart: $, isEnd: y })
2350
+ onMove: ({ isStart: $, isEnd: x }) => g({ isStart: $, isEnd: x })
2351
2351
  }
2352
2352
  )
2353
2353
  ] }) });
@@ -2365,10 +2365,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2365
2365
  var n, o;
2366
2366
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2367
2367
  }, hn = (e, a = !0, n = 1) => {
2368
- const o = e.map((s, l) => {
2368
+ const o = e.map((s, c) => {
2369
2369
  var f;
2370
2370
  return {
2371
- id: wt(s, l),
2371
+ id: wt(s, c),
2372
2372
  imageUrl: (f = s.logo) != null ? f : "",
2373
2373
  ...s.background ? { background: s.background } : {}
2374
2374
  };
@@ -2415,44 +2415,44 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2415
2415
  onViewMore: i,
2416
2416
  mosaicFirst: r = !0,
2417
2417
  gridSize: s = 1,
2418
- isPersonalize: l = !1
2418
+ isPersonalize: c = !1
2419
2419
  }) => {
2420
- const f = V(null), [h, u] = K({ isStart: !0, isEnd: !1 }), p = ae(), d = ne(), c = se(), g = gn(l), { resolvedItems: x, loading: I } = sn(
2420
+ const f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), p = ae(), d = ne(), g = le(), m = gn(c), { resolvedItems: _, loading: I } = sn(
2421
2421
  e,
2422
- g
2423
- ), _ = g ? x : Array.isArray(e) ? e : [], b = () => {
2424
- var M;
2422
+ m
2423
+ ), y = m ? _ : Array.isArray(e) ? e : [], v = () => {
2424
+ var A;
2425
2425
  p({
2426
2426
  element: "virtuales_prev",
2427
- label: `${d} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Anterior`,
2427
+ label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Anterior`,
2428
2428
  target: "prev",
2429
2429
  event_type: "click",
2430
- module_id: c,
2430
+ module_id: g,
2431
2431
  metadata: {
2432
2432
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2433
2433
  },
2434
2434
  tags: { section: "OraculoSeccionVirtuales" }
2435
- }), (M = f.current) == null || M.prev();
2435
+ }), (A = f.current) == null || A.prev();
2436
2436
  }, C = () => {
2437
- var M;
2437
+ var A;
2438
2438
  p({
2439
2439
  element: "virtuales_next",
2440
- label: `${d} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Siguiente`,
2440
+ label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Siguiente`,
2441
2441
  target: "next",
2442
2442
  event_type: "click",
2443
- module_id: c,
2443
+ module_id: g,
2444
2444
  metadata: {
2445
2445
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2446
2446
  },
2447
2447
  tags: { section: "OraculoSeccionVirtuales" }
2448
- }), (M = f.current) == null || M.next();
2449
- }, q = () => {
2448
+ }), (A = f.current) == null || A.next();
2449
+ }, D = () => {
2450
2450
  if (p({
2451
2451
  element: "virtuales_view_more",
2452
- label: `${d} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Ver más`,
2452
+ label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Ver más`,
2453
2453
  target: "https://www.olimpo.bet/juegos-virtuales",
2454
2454
  event_type: "click",
2455
- module_id: c,
2455
+ module_id: g,
2456
2456
  metadata: {
2457
2457
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2458
2458
  },
@@ -2462,10 +2462,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2462
2462
  return;
2463
2463
  }
2464
2464
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2465
- }, T = g ? I : !Array.isArray(e) || e.length === 0, k = xe("(max-width:950px)"), O = T ? bn(r, s) : hn(_, r, s);
2466
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2467
- /* @__PURE__ */ v(
2468
- F,
2465
+ }, k = m ? I : !Array.isArray(e) || e.length === 0, M = xe("(max-width:950px)"), T = k ? bn(r, s) : hn(y, r, s);
2466
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2467
+ /* @__PURE__ */ b(
2468
+ q,
2469
2469
  {
2470
2470
  sx: {
2471
2471
  display: "grid",
@@ -2480,7 +2480,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2480
2480
  },
2481
2481
  children: [
2482
2482
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2483
- /* @__PURE__ */ v(F, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2483
+ /* @__PURE__ */ b(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2484
2484
  /* @__PURE__ */ t(
2485
2485
  X,
2486
2486
  {
@@ -2488,7 +2488,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2488
2488
  variant: "secondary",
2489
2489
  iconOnly: !0,
2490
2490
  leftIcon: /* @__PURE__ */ t(lt, {}),
2491
- onClick: b,
2491
+ onClick: v,
2492
2492
  disabled: h.isStart
2493
2493
  }
2494
2494
  ),
@@ -2504,7 +2504,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2504
2504
  }
2505
2505
  )
2506
2506
  ] }),
2507
- /* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: q, children: "Ver más" }) })
2507
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2508
2508
  ]
2509
2509
  }
2510
2510
  ),
@@ -2512,7 +2512,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2512
2512
  he,
2513
2513
  {
2514
2514
  ref: f,
2515
- items: O,
2515
+ items: T,
2516
2516
  perPage: void 0,
2517
2517
  gap: "16px",
2518
2518
  breakpoints: {
@@ -2533,50 +2533,50 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2533
2533
  }
2534
2534
  },
2535
2535
  enableHorizontalWheel: !0,
2536
- showRightGradient: !k,
2536
+ showRightGradient: !M,
2537
2537
  options: { autoWidth: !0, trimSpace: "move" },
2538
- renderItem: (M) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2538
+ renderItem: (A) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2539
2539
  ft,
2540
2540
  {
2541
- items: M.items,
2542
- layout: M.kind === "mosaic" ? "mosaic" : "grid",
2543
- loading: T,
2541
+ items: A.items,
2542
+ layout: A.kind === "mosaic" ? "mosaic" : "grid",
2543
+ loading: k,
2544
2544
  onClick: ($) => {
2545
- if (T) return;
2546
- const y = _.find(
2545
+ if (k) return;
2546
+ const x = y.find(
2547
2547
  (z, R) => String(wt(z, R)) === String($.id)
2548
2548
  );
2549
- if (!y) {
2549
+ if (!x) {
2550
2550
  console.warn(
2551
2551
  "[virtuales] no se encontró game para id:",
2552
2552
  $.id
2553
2553
  );
2554
2554
  return;
2555
2555
  }
2556
- o == null || o(y), p({
2556
+ o == null || o(x), p({
2557
2557
  element: "virtuales_game_card",
2558
- label: `${d} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Game: ${String(y.machine || "unknown")}`,
2559
- target: String(y.machine || "unknown"),
2558
+ label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Game: ${String(x.machine || "unknown")}`,
2559
+ target: String(x.machine || "unknown"),
2560
2560
  event_type: "click",
2561
- module_id: c,
2561
+ module_id: g,
2562
2562
  metadata: {
2563
2563
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2564
2564
  },
2565
2565
  tags: {
2566
- game_name: String(y.machine || "unknown"),
2566
+ game_name: String(x.machine || "unknown"),
2567
2567
  section: a || "Virtuales"
2568
2568
  }
2569
2569
  });
2570
- const E = pe("showIframe"), L = pe("loadMachine");
2571
- E == null || E(), L == null || L(
2572
- y,
2570
+ const O = se("showIframe"), P = se("loadMachine");
2571
+ O == null || O(), P == null || P(
2572
+ x,
2573
2573
  !1,
2574
- g ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2574
+ m ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2575
2575
  );
2576
2576
  }
2577
2577
  }
2578
2578
  ) }),
2579
- onMove: ({ isStart: M, isEnd: $ }) => u({ isStart: M, isEnd: $ })
2579
+ onMove: ({ isStart: A, isEnd: $ }) => u({ isStart: A, isEnd: $ })
2580
2580
  }
2581
2581
  )
2582
2582
  ] }) });
@@ -2618,87 +2618,87 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2618
2618
  items: n,
2619
2619
  backgroundImageUrl: o
2620
2620
  }) => {
2621
- const i = ae(), r = ne(), s = xe("(max-width: 767px)"), l = n.length > 1, f = V(null), h = V(null), u = V(!1), p = V(!1), [d, c] = K(0), [g, x] = K({ isStart: !0, isEnd: !1 });
2621
+ const i = ae(), r = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, f = V(null), h = V(null), u = V(!1), p = V(!1), [d, g] = Z(0), [m, _] = Z({ isStart: !0, isEnd: !1 });
2622
2622
  ee(() => {
2623
- const y = setTimeout(() => {
2623
+ const x = setTimeout(() => {
2624
2624
  u.current = !0;
2625
2625
  }, 500);
2626
- return () => clearTimeout(y);
2626
+ return () => clearTimeout(x);
2627
2627
  }, []);
2628
- const I = V(g);
2628
+ const I = V(m);
2629
2629
  ee(() => {
2630
- I.current = g;
2631
- }, [g]);
2632
- const _ = V(!1), b = V(null), C = n == null ? void 0 : n[d], q = ie(
2630
+ I.current = m;
2631
+ }, [m]);
2632
+ const y = V(!1), v = V(null), C = n == null ? void 0 : n[d], D = ie(
2633
2633
  () => {
2634
- var y, E;
2635
- return (E = (y = C == null ? void 0 : C.backgroundImageUrl) != null ? y : o) != null ? E : "";
2634
+ var x, O;
2635
+ return (O = (x = C == null ? void 0 : C.backgroundImageUrl) != null ? x : o) != null ? O : "";
2636
2636
  },
2637
2637
  [C, o]
2638
- ), T = _n(q), k = !n || n.length === 0, O = (y, E) => {
2638
+ ), k = _n(D), M = !n || n.length === 0, T = (x, O) => {
2639
2639
  i({
2640
2640
  element: "welcome_banner_button",
2641
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${y.title || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
2641
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${x.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
2642
2642
  target: "action",
2643
2643
  event_type: "click",
2644
2644
  module_id: 301,
2645
2645
  metadata: {
2646
2646
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2647
- banner_position: E + 1,
2647
+ banner_position: O + 1,
2648
2648
  banner_total: (n == null ? void 0 : n.length) || 0
2649
2649
  },
2650
2650
  tags: {
2651
- banner_title: y.title || "no_title",
2652
- button_text: y.buttonText || "no_text"
2651
+ banner_title: x.title || "no_title",
2652
+ button_text: x.buttonText || "no_text"
2653
2653
  }
2654
- }), y.onButtonClick && y.onButtonClick();
2655
- }, M = (y) => {
2654
+ }), x.onButtonClick && x.onButtonClick();
2655
+ }, A = (x) => {
2656
2656
  if (!u.current) return;
2657
2657
  if (p.current) {
2658
2658
  p.current = !1;
2659
2659
  return;
2660
2660
  }
2661
- const E = n == null ? void 0 : n[y];
2661
+ const O = n == null ? void 0 : n[x];
2662
2662
  i({
2663
2663
  element: "welcome_banner_carousel",
2664
- label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(E == null ? void 0 : E.title) || "OraculoSeccionBonoBienvenida - Banner " + (y + 1)}`,
2664
+ label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (x + 1)}`,
2665
2665
  target: "no_url",
2666
2666
  event_type: "view",
2667
2667
  module_id: 301,
2668
2668
  metadata: {
2669
2669
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2670
- slide_index: y + 1,
2670
+ slide_index: x + 1,
2671
2671
  total_slides: (n == null ? void 0 : n.length) || 0,
2672
2672
  interaction_type: "manual_slide"
2673
2673
  },
2674
2674
  tags: {
2675
- banner_position: String(y + 1),
2676
- banner_title: (E == null ? void 0 : E.title) || "no_title"
2675
+ banner_position: String(x + 1),
2676
+ banner_title: (O == null ? void 0 : O.title) || "no_title"
2677
2677
  }
2678
2678
  });
2679
2679
  };
2680
2680
  ee(() => {
2681
- const y = h.current;
2682
- if (!y) return;
2683
- const E = 6, L = 380, z = (R) => {
2684
- var D, G;
2685
- if (k || R.ctrlKey || _.current) return;
2681
+ const x = h.current;
2682
+ if (!x) return;
2683
+ const O = 6, P = 380, z = (R) => {
2684
+ var w, F;
2685
+ if (M || R.ctrlKey || y.current) return;
2686
2686
  const U = R.deltaX, W = R.deltaY;
2687
- if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < E) return;
2688
- const w = U > 0;
2689
- w && I.current.isEnd || !w && I.current.isStart || (R.preventDefault(), _.current = !0, w ? (D = f.current) == null || D.next() : (G = f.current) == null || G.prev(), b.current && window.clearTimeout(b.current), b.current = window.setTimeout(() => {
2690
- _.current = !1;
2691
- }, L));
2687
+ if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < O) return;
2688
+ const G = U > 0;
2689
+ G && I.current.isEnd || !G && I.current.isStart || (R.preventDefault(), y.current = !0, G ? (w = f.current) == null || w.next() : (F = f.current) == null || F.prev(), v.current && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
2690
+ y.current = !1;
2691
+ }, P));
2692
2692
  };
2693
- return y.addEventListener("wheel", z, { passive: !1 }), () => {
2694
- y.removeEventListener("wheel", z), b.current && window.clearTimeout(b.current);
2693
+ return x.addEventListener("wheel", z, { passive: !1 }), () => {
2694
+ x.removeEventListener("wheel", z), v.current && window.clearTimeout(v.current);
2695
2695
  };
2696
- }, [k]);
2697
- const $ = (y, E, L) => {
2696
+ }, [M]);
2697
+ const $ = (x, O, P) => {
2698
2698
  var U, W;
2699
- const z = (U = y.headline) != null ? U : e, R = (W = y.headline2) != null ? W : a;
2700
- return E ? /* @__PURE__ */ v(
2701
- F,
2699
+ const z = (U = x.headline) != null ? U : e, R = (W = x.headline2) != null ? W : a;
2700
+ return O ? /* @__PURE__ */ b(
2701
+ q,
2702
2702
  {
2703
2703
  sx: {
2704
2704
  maxWidth: 1200,
@@ -2711,7 +2711,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2711
2711
  },
2712
2712
  children: [
2713
2713
  (z || R) && /* @__PURE__ */ t(
2714
- F,
2714
+ q,
2715
2715
  {
2716
2716
  sx: {
2717
2717
  display: "flex",
@@ -2719,44 +2719,44 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2719
2719
  justifyContent: "flex-start",
2720
2720
  minHeight: "100%"
2721
2721
  },
2722
- children: /* @__PURE__ */ v(F, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2723
- z && /* @__PURE__ */ t(de, { component: "span", sx: et, children: z }),
2724
- R && /* @__PURE__ */ v(me, { children: [
2722
+ children: /* @__PURE__ */ b(q, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2723
+ z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
2724
+ R && /* @__PURE__ */ b(pe, { children: [
2725
2725
  /* @__PURE__ */ t("br", {}),
2726
- /* @__PURE__ */ t(de, { component: "span", sx: tt, children: R })
2726
+ /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
2727
2727
  ] })
2728
2728
  ] })
2729
2729
  }
2730
2730
  ),
2731
- /* @__PURE__ */ t(F, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(F, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2731
+ /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(q, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2732
2732
  Je,
2733
2733
  {
2734
- ...y,
2735
- onButtonClick: () => O(y, L),
2734
+ ...x,
2735
+ onButtonClick: () => T(x, P),
2736
2736
  variant: "large"
2737
2737
  }
2738
2738
  ) }) })
2739
2739
  ]
2740
2740
  }
2741
- ) : /* @__PURE__ */ v(F, { sx: { textAlign: "center" }, children: [
2742
- (z || R) && /* @__PURE__ */ v(F, { sx: Qe, children: [
2743
- z && /* @__PURE__ */ t(de, { component: "span", sx: et, children: z }),
2744
- R && /* @__PURE__ */ v(me, { children: [
2741
+ ) : /* @__PURE__ */ b(q, { sx: { textAlign: "center" }, children: [
2742
+ (z || R) && /* @__PURE__ */ b(q, { sx: Qe, children: [
2743
+ z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
2744
+ R && /* @__PURE__ */ b(pe, { children: [
2745
2745
  /* @__PURE__ */ t("br", {}),
2746
- /* @__PURE__ */ t(de, { component: "span", sx: tt, children: R })
2746
+ /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
2747
2747
  ] })
2748
2748
  ] }),
2749
- /* @__PURE__ */ t(F, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2749
+ /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2750
2750
  Je,
2751
2751
  {
2752
- ...y,
2753
- onButtonClick: () => O(y, L),
2752
+ ...x,
2753
+ onButtonClick: () => T(x, P),
2754
2754
  variant: "small"
2755
2755
  }
2756
2756
  ) })
2757
2757
  ] });
2758
2758
  };
2759
- return /* @__PURE__ */ v(F, { component: "section", sx: T, children: [
2759
+ return /* @__PURE__ */ b(q, { component: "section", sx: k, children: [
2760
2760
  /* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
2761
2761
  he,
2762
2762
  {
@@ -2774,34 +2774,34 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2774
2774
  // arrows: false,
2775
2775
  // drag: true,
2776
2776
  },
2777
- renderItem: (y, E) => /* @__PURE__ */ t(F, { sx: { width: "100%" }, children: $(y, !s, E) }),
2778
- onMove: ({ index: y, isStart: E, isEnd: L }) => {
2779
- c(y), typeof E == "boolean" && typeof L == "boolean" && x({ isStart: E, isEnd: L }), M(y);
2777
+ renderItem: (x, O) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: $(x, !s, O) }),
2778
+ onMove: ({ index: x, isStart: O, isEnd: P }) => {
2779
+ g(x), typeof O == "boolean" && typeof P == "boolean" && _({ isStart: O, isEnd: P }), A(x);
2780
2780
  }
2781
2781
  }
2782
2782
  ) }),
2783
- l && /* @__PURE__ */ t(F, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2783
+ c && /* @__PURE__ */ t(q, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2784
2784
  dt,
2785
2785
  {
2786
2786
  total: n.length,
2787
2787
  active: d,
2788
- onSelect: (y) => {
2789
- var E;
2788
+ onSelect: (x) => {
2789
+ var O;
2790
2790
  i({
2791
2791
  element: "welcome_banner_dots",
2792
- label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${y + 1}`,
2792
+ label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${x + 1}`,
2793
2793
  target: "no_url",
2794
2794
  event_type: "click",
2795
2795
  module_id: 301,
2796
2796
  metadata: {
2797
2797
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2798
- dot_index: y + 1,
2798
+ dot_index: x + 1,
2799
2799
  total_dots: n.length
2800
2800
  },
2801
2801
  tags: {
2802
2802
  navigation_type: "dot_click"
2803
2803
  }
2804
- }), c(y), (E = f.current) == null || E.go(y);
2804
+ }), g(x), (O = f.current) == null || O.go(x);
2805
2805
  }
2806
2806
  }
2807
2807
  ) })
@@ -2814,18 +2814,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2814
2814
  ariaLabel: i,
2815
2815
  user: r = null
2816
2816
  }) => {
2817
- const s = V(null), l = V(null), f = ae(), h = ne(), u = se();
2817
+ const s = V(null), c = V(null), f = ae(), h = ne(), u = le();
2818
2818
  if (!n) return null;
2819
2819
  const p = async () => {
2820
- let x = r;
2821
- if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
2820
+ let _ = r;
2821
+ if ((!(_ != null && _.user) || !(_ != null && _.session)) && typeof window != "undefined")
2822
2822
  try {
2823
2823
  const I = localStorage.getItem("user");
2824
- I && (x = JSON.parse(I));
2824
+ I && (_ = JSON.parse(I));
2825
2825
  } catch (I) {
2826
2826
  console.error("[getMarketPlaceUrl] Error parsing localStorage user", I);
2827
2827
  }
2828
- if (!(x != null && x.user) || !(x != null && x.session))
2828
+ if (!(_ != null && _.user) || !(_ != null && _.session))
2829
2829
  return console.warn("User data missing"), null;
2830
2830
  f({
2831
2831
  element: "club_olimpo_button",
@@ -2840,18 +2840,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2840
2840
  });
2841
2841
  try {
2842
2842
  const I = {
2843
- idUsuario: "PE" + x.user,
2844
- session_id: x.session,
2843
+ idUsuario: "PE" + _.user,
2844
+ session_id: _.session,
2845
2845
  pagina: "home"
2846
- }, b = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2846
+ }, v = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2847
2847
  method: "POST",
2848
2848
  headers: {
2849
2849
  "Content-Type": "application/json"
2850
2850
  },
2851
2851
  body: JSON.stringify(I)
2852
2852
  });
2853
- if (b.ok) {
2854
- const C = await b.json();
2853
+ if (v.ok) {
2854
+ const C = await v.json();
2855
2855
  return C == null ? void 0 : C.url;
2856
2856
  }
2857
2857
  return null;
@@ -2859,20 +2859,20 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2859
2859
  return console.error("[getMarketPlaceUrl]", I), null;
2860
2860
  }
2861
2861
  }, d = async () => {
2862
- const x = await p();
2863
- x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2864
- }, c = Array.isArray(n) ? n[o] : n;
2862
+ const _ = await p();
2863
+ _ ? window.location.href = _ : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2864
+ }, g = Array.isArray(n) ? n[o] : n;
2865
2865
  Mt(() => {
2866
- if (!s.current || !l.current || typeof ResizeObserver == "undefined") return;
2867
- const x = s.current, I = l.current, _ = () => {
2868
- x.style.setProperty(
2866
+ if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
2867
+ const _ = s.current, I = c.current, y = () => {
2868
+ _.style.setProperty(
2869
2869
  "--orc-co-bottomH",
2870
2870
  `${I.offsetHeight + 16}px`
2871
2871
  );
2872
- }, b = new ResizeObserver(_);
2873
- return b.observe(I), _(), () => b.disconnect();
2872
+ }, v = new ResizeObserver(y);
2873
+ return v.observe(I), y(), () => v.disconnect();
2874
2874
  }, []);
2875
- const g = [
2875
+ const m = [
2876
2876
  "orc-co-wrap",
2877
2877
  a ? "orc-co-fullBleed" : "",
2878
2878
  e
@@ -2881,18 +2881,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2881
2881
  "section",
2882
2882
  {
2883
2883
  ref: s,
2884
- className: g,
2885
- "aria-label": i || c.imgAlt || "Club Olimpo",
2886
- children: /* @__PURE__ */ t("div", { ref: l, children: /* @__PURE__ */ t(
2884
+ className: m,
2885
+ "aria-label": i || g.imgAlt || "Club Olimpo",
2886
+ children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
2887
2887
  Sa,
2888
2888
  {
2889
- text: c.text,
2889
+ text: g.text,
2890
2890
  onClick: d,
2891
- imgAlt: c.imgAlt,
2892
- buttonLabel: c.buttonLabel,
2893
- imgSrcMobile: c.imgMobile,
2894
- imgSrcDesktopBg: c.imgDesktopBg,
2895
- imgSrcDesktopLogo: c.imgDesktopLogo
2891
+ imgAlt: g.imgAlt,
2892
+ buttonLabel: g.buttonLabel,
2893
+ imgSrcMobile: g.imgMobile,
2894
+ imgSrcDesktopBg: g.imgDesktopBg,
2895
+ imgSrcDesktopLogo: g.imgDesktopLogo
2896
2896
  }
2897
2897
  ) })
2898
2898
  }
@@ -2910,15 +2910,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2910
2910
  function Cn(e, a, n) {
2911
2911
  return n ? n.map((o) => {
2912
2912
  var u, p;
2913
- const i = o.prePackCouponRows.flatMap((d) => In(d).map((c) => ({ eventId: d.eventId, outcomeId: c }))), r = new Set(i.map((d) => d.eventId)), s = new Set(i.map((d) => d.outcomeId)), l = new Map(i.map((d, c) => [d.outcomeId, c])), f = {};
2913
+ 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 = {};
2914
2914
  for (const d of a) {
2915
2915
  if (!r.has(d.eventId)) continue;
2916
- const c = d.outcomes.filter((g) => s.has(g.id)).map((g) => ({ ...g, position: l.get(g.id) }));
2917
- c.length && ((p = f[u = d.eventId]) != null || (f[u] = []), f[d.eventId].push({ ...d, outcomes: c }));
2916
+ const g = d.outcomes.filter((m) => s.has(m.id)).map((m) => ({ ...m, position: c.get(m.id) }));
2917
+ g.length && ((p = f[u = d.eventId]) != null || (f[u] = []), f[d.eventId].push({ ...d, outcomes: g }));
2918
2918
  }
2919
2919
  const h = e.filter((d) => r.has(d.id)).map((d) => {
2920
- var c;
2921
- return { ...d, betoffers: (c = f[d.id]) != null ? c : [] };
2920
+ var g;
2921
+ return { ...d, betoffers: (g = f[d.id]) != null ? g : [] };
2922
2922
  });
2923
2923
  return {
2924
2924
  couponId: o.id,
@@ -2945,78 +2945,78 @@ function Tn({
2945
2945
  onViewMore: o,
2946
2946
  className: i = ""
2947
2947
  }) {
2948
- const r = ae(), s = ne(), l = se(), f = V(null), [h, u] = K({ isStart: !0, isEnd: !1 }), [p, d] = K([]), c = "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", g = () => {
2949
- var T;
2948
+ const r = ae(), s = ne(), c = le(), f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), [p, 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", m = () => {
2949
+ var k;
2950
2950
  r({
2951
2951
  element: "evento_combinadas_prev",
2952
2952
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
2953
2953
  event_type: "click",
2954
- module_id: l,
2954
+ module_id: c,
2955
2955
  metadata: {
2956
2956
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2957
2957
  },
2958
2958
  tags: { section: "OraculoSeccionEventoCombinadas" }
2959
- }), (T = f.current) == null || T.prev();
2960
- }, x = () => {
2961
- var T;
2959
+ }), (k = f.current) == null || k.prev();
2960
+ }, _ = () => {
2961
+ var k;
2962
2962
  r({
2963
2963
  element: "evento_combinadas_next",
2964
2964
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
2965
2965
  event_type: "click",
2966
- module_id: l,
2966
+ module_id: c,
2967
2967
  metadata: {
2968
2968
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2969
2969
  },
2970
2970
  tags: { section: "OraculoSeccionEventoCombinadas" }
2971
- }), (T = f.current) == null || T.next();
2971
+ }), (k = f.current) == null || k.next();
2972
2972
  }, I = () => {
2973
2973
  r({
2974
2974
  element: "evento_combinadas_ver_mas",
2975
2975
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
2976
2976
  event_type: "click",
2977
- module_id: l,
2977
+ module_id: c,
2978
2978
  metadata: {
2979
2979
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2980
2980
  },
2981
2981
  tags: { section: "OraculoSeccionEventoCombinadas" }
2982
2982
  }), za();
2983
- }, _ = ie(() => p.filter((T) => T.combinadoTotal !== null), [p]);
2984
- async function b() {
2985
- var T, k, O, M;
2983
+ }, y = ie(() => p.filter((k) => k.combinadoTotal !== null), [p]);
2984
+ async function v() {
2985
+ var k, M, T, A;
2986
2986
  try {
2987
- const y = await (await fetch(c)).json(), E = (M = (O = (k = (T = y == null ? void 0 : y.group) == null ? void 0 : T.groups) == null ? void 0 : k.map((U) => U.id)) == null ? void 0 : O.filter(Boolean)) == null ? void 0 : M.join(",");
2988
- if (!E) {
2987
+ const x = await (await fetch(g)).json(), O = (A = (T = (M = (k = x == null ? void 0 : x.group) == null ? void 0 : k.groups) == null ? void 0 : M.map((U) => U.id)) == null ? void 0 : T.filter(Boolean)) == null ? void 0 : A.join(",");
2988
+ if (!O) {
2989
2989
  console.error("Could not extract group ID");
2990
2990
  return;
2991
2991
  }
2992
- const L = `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`, R = await (await fetch(L)).json();
2992
+ const P = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(P)).json();
2993
2993
  d(Cn(R.events, R.betOffers, R.prePackCoupons));
2994
2994
  } catch ($) {
2995
2995
  console.error("loadDataEventSpecial error:", $);
2996
2996
  }
2997
2997
  }
2998
2998
  ee(() => {
2999
- b();
2999
+ v();
3000
3000
  }, []);
3001
- const C = i || void 0, q = xe("(max-width:950px)");
3002
- return _.length === 0 ? null : /* @__PURE__ */ t("section", { className: C, style: {
3001
+ const C = i || void 0, D = xe("(max-width:950px)");
3002
+ return y.length === 0 ? null : /* @__PURE__ */ t("section", { className: C, style: {
3003
3003
  // paddingLeft: 16,
3004
3004
  // paddingRight: 16,
3005
3005
  width: "100%",
3006
3006
  boxSizing: "border-box"
3007
- }, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3008
- /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ v(ue, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3007
+ }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3008
+ /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3009
3009
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3010
- /* @__PURE__ */ v("div", { className: at.controls, children: [
3011
- /* @__PURE__ */ v(ue, { spacing: 1, columns: "auto auto", children: [
3010
+ /* @__PURE__ */ b("div", { className: at.controls, children: [
3011
+ /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
3012
3012
  /* @__PURE__ */ t(
3013
3013
  X,
3014
3014
  {
3015
3015
  ariaLabel: "Anterior",
3016
3016
  variant: "secondary",
3017
3017
  iconOnly: !0,
3018
- leftIcon: /* @__PURE__ */ t(Be, {}),
3019
- onClick: g,
3018
+ leftIcon: /* @__PURE__ */ t(Ae, {}),
3019
+ onClick: m,
3020
3020
  disabled: h.isStart
3021
3021
  }
3022
3022
  ),
@@ -3027,7 +3027,7 @@ function Tn({
3027
3027
  variant: "secondary",
3028
3028
  iconOnly: !0,
3029
3029
  rightIcon: /* @__PURE__ */ t(ze, {}),
3030
- onClick: x,
3030
+ onClick: _,
3031
3031
  disabled: h.isEnd
3032
3032
  }
3033
3033
  )
@@ -3039,18 +3039,18 @@ function Tn({
3039
3039
  he,
3040
3040
  {
3041
3041
  ref: f,
3042
- items: _,
3042
+ items: y,
3043
3043
  perPage: void 0,
3044
3044
  gap: "16px",
3045
3045
  options: { autoWidth: !0, trimSpace: "move" },
3046
3046
  useIndexAsKey: !0,
3047
3047
  enableHorizontalWheel: !0,
3048
- showRightGradient: !q,
3048
+ showRightGradient: !D,
3049
3049
  breakpoints: {
3050
3050
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3051
3051
  },
3052
- renderItem: (T) => /* @__PURE__ */ t(En, { coupon: T }),
3053
- onMove: ({ isStart: T, isEnd: k }) => u({ isStart: T, isEnd: k })
3052
+ renderItem: (k) => /* @__PURE__ */ t(En, { coupon: k }),
3053
+ onMove: ({ isStart: k, isEnd: M }) => u({ isStart: k, isEnd: M })
3054
3054
  }
3055
3055
  )
3056
3056
  ] }) });
@@ -3060,27 +3060,27 @@ function kn({}) {
3060
3060
  "div",
3061
3061
  {
3062
3062
  className: ke.cardWrapper,
3063
- children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1, children: [
3064
- /* @__PURE__ */ v(H, { spacing: 1, direction: "row", children: [
3063
+ children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1, children: [
3064
+ /* @__PURE__ */ b(H, { spacing: 1, direction: "row", children: [
3065
3065
  /* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
3066
3066
  /* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
3067
3067
  ] }),
3068
- /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3068
+ /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3069
3069
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
3070
3070
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
3071
3071
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
3072
3072
  ] }),
3073
- /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3073
+ /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3074
3074
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
3075
3075
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
3076
3076
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
3077
3077
  ] }),
3078
- /* @__PURE__ */ v(H, { spacing: 2, direction: "row", children: [
3078
+ /* @__PURE__ */ b(H, { spacing: 2, direction: "row", children: [
3079
3079
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3080
3080
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3081
3081
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
3082
3082
  ] }),
3083
- /* @__PURE__ */ v(H, { spacing: 2, direction: "row", children: [
3083
+ /* @__PURE__ */ b(H, { spacing: 2, direction: "row", children: [
3084
3084
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3085
3085
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3086
3086
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
@@ -3092,10 +3092,10 @@ function kn({}) {
3092
3092
  const $n = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Nn = {
3093
3093
  fadeWrapper: $n
3094
3094
  };
3095
- function Ae({ children: e }) {
3095
+ function Be({ children: e }) {
3096
3096
  return /* @__PURE__ */ t("div", { className: Nn.fadeWrapper, children: e });
3097
3097
  }
3098
- const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", An = {
3098
+ const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3099
3099
  padding: Mn
3100
3100
  };
3101
3101
  function St({
@@ -3105,50 +3105,50 @@ function St({
3105
3105
  buffer: o = 2,
3106
3106
  debounceMs: i = 250
3107
3107
  }) {
3108
- const [r, s] = K({}), l = V(/* @__PURE__ */ new Set()), f = V(0), h = V(null), u = V(null);
3108
+ const [r, s] = Z({}), c = V(/* @__PURE__ */ new Set()), f = V(0), h = V(null), u = V(null);
3109
3109
  return ee(() => {
3110
3110
  if (!(!e || e.length === 0))
3111
3111
  return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
3112
- var q, T;
3113
- const p = (q = a.start) != null ? q : 0, d = (T = a.end) != null ? T : 7, c = Math.max(0, p - o), g = Math.min(e.length - 1, d + o);
3114
- let x = c, I = g;
3115
- const _ = u.current;
3116
- _ && (c > _.end && (x = _.end + 1), g < _.start && (I = _.start - 1)), u.current = { start: c, end: g };
3117
- const b = e.slice(x, I + 1).map((k) => k == null ? void 0 : k.id).filter((k) => !!k).filter((k) => !l.current.has(k)).filter((k) => !(k in r));
3118
- if (b.length === 0) return;
3119
- b.forEach((k) => l.current.add(k));
3112
+ var D, k;
3113
+ const p = (D = a.start) != null ? D : 0, d = (k = a.end) != null ? k : 7, g = Math.max(0, p - o), m = Math.min(e.length - 1, d + o);
3114
+ let _ = g, I = m;
3115
+ const y = u.current;
3116
+ y && (g > y.end && (_ = y.end + 1), m < y.start && (I = y.start - 1)), u.current = { start: g, end: m };
3117
+ const v = e.slice(_, I + 1).map((M) => M == null ? void 0 : M.id).filter((M) => !!M).filter((M) => !c.current.has(M)).filter((M) => !(M in r));
3118
+ if (v.length === 0) return;
3119
+ v.forEach((M) => c.current.add(M));
3120
3120
  const C = ++f.current;
3121
3121
  (async () => {
3122
3122
  try {
3123
- const k = await n(b);
3123
+ const M = await n(v);
3124
3124
  if (C !== f.current) {
3125
- b.forEach((M) => l.current.delete(M));
3125
+ v.forEach((A) => c.current.delete(A));
3126
3126
  return;
3127
3127
  }
3128
- if (!(k != null && k.events)) {
3129
- b.forEach(
3130
- (M) => l.current.delete(M)
3128
+ if (!(M != null && M.events)) {
3129
+ v.forEach(
3130
+ (A) => c.current.delete(A)
3131
3131
  );
3132
3132
  return;
3133
3133
  }
3134
- s((M) => {
3135
- const $ = { ...M };
3136
- for (const [y, E] of Object.entries(k.events)) {
3137
- const L = Number(y);
3138
- $[L] || ($[L] = E);
3134
+ s((A) => {
3135
+ const $ = { ...A };
3136
+ for (const [x, O] of Object.entries(M.events)) {
3137
+ const P = Number(x);
3138
+ $[P] || ($[P] = O);
3139
3139
  }
3140
3140
  return $;
3141
3141
  });
3142
- const O = new Set(
3143
- Object.keys(k.events).map(Number)
3142
+ const T = new Set(
3143
+ Object.keys(M.events).map(Number)
3144
3144
  );
3145
- b.forEach((M) => {
3146
- l.current.delete(M);
3145
+ v.forEach((A) => {
3146
+ c.current.delete(A);
3147
3147
  });
3148
- } catch (k) {
3149
- b.forEach(
3150
- (O) => l.current.delete(O)
3151
- ), console.error("Jersey fetch error", k);
3148
+ } catch (M) {
3149
+ v.forEach(
3150
+ (T) => c.current.delete(T)
3151
+ ), console.error("Jersey fetch error", M);
3152
3152
  }
3153
3153
  })();
3154
3154
  }, i), () => {
@@ -3156,17 +3156,17 @@ function St({
3156
3156
  };
3157
3157
  }, [e, a, o, i, n]), {
3158
3158
  jerseys: r,
3159
- isPending: l.current
3159
+ isPending: c.current
3160
3160
  };
3161
3161
  }
3162
- const Bn = (e) => {
3162
+ const An = (e) => {
3163
3163
  const a = ["esports", "cyber"];
3164
3164
  return e.filter((n) => {
3165
3165
  var r, s;
3166
3166
  const o = (r = n == null ? void 0 : n.event) == null ? void 0 : r.sport;
3167
3167
  if (typeof o != "string" || o !== "FOOTBALL") return !1;
3168
3168
  const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
3169
- return !a.some((l) => i.includes(l));
3169
+ return !a.some((c) => i.includes(c));
3170
3170
  });
3171
3171
  }, zn = fe.memo(Da);
3172
3172
  function Rn({
@@ -3176,78 +3176,78 @@ function Rn({
3176
3176
  onViewMore: o,
3177
3177
  className: i = ""
3178
3178
  }) {
3179
- 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), [l, f] = K({ isStart: !0, isEnd: !1 }), [h, u] = K(null), [p, d] = K({ start: null, end: null }), [c, g] = K(null), x = V(!1), I = ae(), _ = ne(), b = se(), C = V(/* @__PURE__ */ new Map()), q = () => {
3179
+ 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), [p, d] = Z({ start: null, end: null }), [g, m] = Z(null), _ = V(!1), I = ae(), y = ne(), v = le(), C = V(/* @__PURE__ */ new Map()), D = () => {
3180
3180
  var z;
3181
3181
  I({
3182
3182
  element: "evento_en_vivo_prev",
3183
- label: `${_} - OraculoSeccionEventoEnVivo - Anterior`,
3183
+ label: `${y} - OraculoSeccionEventoEnVivo - Anterior`,
3184
3184
  target: "prev",
3185
3185
  event_type: "click",
3186
- module_id: b,
3186
+ module_id: v,
3187
3187
  metadata: {
3188
3188
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3189
3189
  },
3190
3190
  tags: { section: "OraculoSeccionEventoEnVivo" }
3191
3191
  }), (z = s.current) == null || z.prev();
3192
- }, T = () => {
3192
+ }, k = () => {
3193
3193
  var z;
3194
3194
  I({
3195
3195
  element: "evento_en_vivo_next",
3196
- label: `${_} - OraculoSeccionEventoEnVivo - Siguiente`,
3196
+ label: `${y} - OraculoSeccionEventoEnVivo - Siguiente`,
3197
3197
  target: "next",
3198
3198
  event_type: "click",
3199
- module_id: b,
3199
+ module_id: v,
3200
3200
  metadata: {
3201
3201
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3202
3202
  },
3203
3203
  tags: { section: "OraculoSeccionEventoEnVivo" }
3204
3204
  }), (z = s.current) == null || z.next();
3205
- }, k = () => {
3205
+ }, M = () => {
3206
3206
  I({
3207
3207
  element: "evento_en_vivo_view_more",
3208
- label: `${_} - OraculoSeccionEventoEnVivo - Ver más`,
3208
+ label: `${y} - OraculoSeccionEventoEnVivo - Ver más`,
3209
3209
  target: "ver_mas",
3210
3210
  event_type: "click",
3211
- module_id: b,
3211
+ module_id: v,
3212
3212
  metadata: {
3213
3213
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3214
3214
  },
3215
3215
  tags: { section: "OraculoSeccionEventoEnVivo" }
3216
- }), Aa();
3217
- }, O = Ee(async () => {
3216
+ }), Ba();
3217
+ }, T = Ee(async () => {
3218
3218
  var z;
3219
3219
  try {
3220
- if (!x.current) {
3221
- x.current = !0;
3220
+ if (!_.current) {
3221
+ _.current = !0;
3222
3222
  try {
3223
- const D = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), G = ((z = D == null ? void 0 : D.data) == null ? void 0 : z.event_ids) || [], Z = /* @__PURE__ */ new Map();
3224
- G.forEach((Y, m) => Z.set(String(Y), m)), C.current = Z;
3225
- } catch (w) {
3226
- console.error("Order fetch failed, using default sorting", w);
3223
+ 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();
3224
+ F.forEach((Y, l) => K.set(String(Y), l)), C.current = K;
3225
+ } catch (G) {
3226
+ console.error("Order fetch failed, using default sorting", G);
3227
3227
  }
3228
3228
  }
3229
3229
  const R = await fetch(r);
3230
3230
  if (!R.ok) throw new Error("Failed to fetch live events");
3231
- const U = await R.json(), W = Bn(U.events);
3231
+ const U = await R.json(), W = An(U.events);
3232
3232
  if (C.current.size === 0)
3233
3233
  u(W);
3234
3234
  else {
3235
- const w = [...W].sort((D, G) => {
3236
- const Z = C.current.get(String(D.event.id)), Y = C.current.get(String(G.event.id));
3237
- return (Z !== void 0 ? Z : 1 / 0) - (Y !== void 0 ? Y : 1 / 0);
3235
+ const G = [...W].sort((w, F) => {
3236
+ const K = C.current.get(String(w.event.id)), Y = C.current.get(String(F.event.id));
3237
+ return (K !== void 0 ? K : 1 / 0) - (Y !== void 0 ? Y : 1 / 0);
3238
3238
  });
3239
- u(w);
3239
+ u(G);
3240
3240
  }
3241
3241
  } catch (R) {
3242
3242
  console.error("LoadData Error:", R);
3243
3243
  }
3244
3244
  }, []);
3245
3245
  ee(() => {
3246
- O();
3247
- const z = setInterval(O, 2e4);
3246
+ T();
3247
+ const z = setInterval(T, 2e4);
3248
3248
  return () => clearInterval(z);
3249
- }, [O]);
3250
- const { jerseys: M } = St({
3249
+ }, [T]);
3250
+ const { jerseys: A } = St({
3251
3251
  events: (h == null ? void 0 : h.map((z) => z.event)) || [],
3252
3252
  // extract actual event objects
3253
3253
  visibleRange: p,
@@ -3256,26 +3256,26 @@ function Rn({
3256
3256
  // same as your previous BUFFER
3257
3257
  debounceMs: 300
3258
3258
  // same as your previous debouncedVisibleRange
3259
- }), $ = i || void 0, y = h === null, E = ie(() => y ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [y, h]), L = xe("(max-width:950px)");
3260
- return !y && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
3259
+ }), $ = i || void 0, x = h === null, O = ie(() => x ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [x, h]), P = xe("(max-width:950px)");
3260
+ return !x && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
3261
3261
  // paddingLeft: 16,
3262
3262
  // paddingRight: 16,
3263
3263
  width: "100%",
3264
3264
  boxSizing: "border-box"
3265
- }, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3266
- /* @__PURE__ */ t("div", { className: An.padding, children: /* @__PURE__ */ v(ue, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3265
+ }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3266
+ /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3267
3267
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3268
- /* @__PURE__ */ v("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3269
- /* @__PURE__ */ v(ue, { spacing: 1, columns: "auto auto", children: [
3268
+ /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3269
+ /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
3270
3270
  /* @__PURE__ */ t(
3271
3271
  X,
3272
3272
  {
3273
3273
  ariaLabel: "Anterior",
3274
3274
  variant: "secondary",
3275
3275
  iconOnly: !0,
3276
- leftIcon: /* @__PURE__ */ t(Be, {}),
3277
- onClick: q,
3278
- disabled: l.isStart
3276
+ leftIcon: /* @__PURE__ */ t(Ae, {}),
3277
+ onClick: D,
3278
+ disabled: c.isStart
3279
3279
  }
3280
3280
  ),
3281
3281
  /* @__PURE__ */ t(
@@ -3285,21 +3285,21 @@ function Rn({
3285
3285
  variant: "secondary",
3286
3286
  iconOnly: !0,
3287
3287
  rightIcon: /* @__PURE__ */ t(ze, {}),
3288
- onClick: T,
3289
- disabled: l.isEnd
3288
+ onClick: k,
3289
+ disabled: c.isEnd
3290
3290
  }
3291
3291
  )
3292
3292
  ] }),
3293
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: k, children: "Ver más" })
3293
+ /* @__PURE__ */ t(X, { variant: "secondary", onClick: M, children: "Ver más" })
3294
3294
  ] })
3295
3295
  ] }) }),
3296
3296
  /* @__PURE__ */ t(
3297
3297
  he,
3298
3298
  {
3299
3299
  ref: s,
3300
- items: E,
3300
+ items: O,
3301
3301
  perPage: void 0,
3302
- showRightGradient: !L,
3302
+ showRightGradient: !P,
3303
3303
  enableHorizontalWheel: !0,
3304
3304
  gap: "16px",
3305
3305
  options: { autoWidth: !0, trimSpace: "move" },
@@ -3310,8 +3310,8 @@ function Rn({
3310
3310
  },
3311
3311
  renderItem: (z) => {
3312
3312
  var W;
3313
- const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in M ? M[R] : void 0;
3314
- return y ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(
3313
+ const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in A ? A[R] : void 0;
3314
+ return x ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3315
3315
  zn,
3316
3316
  {
3317
3317
  ...z,
@@ -3321,33 +3321,33 @@ function Rn({
3321
3321
  },
3322
3322
  onMove: ({ isStart: z, isEnd: R, visibleStart: U, visibleEnd: W }) => {
3323
3323
  f(
3324
- (w) => w.isStart === z && w.isEnd === R ? w : { isStart: z, isEnd: R }
3324
+ (G) => G.isStart === z && G.isEnd === R ? G : { isStart: z, isEnd: R }
3325
3325
  ), d({ start: U, end: W });
3326
3326
  }
3327
3327
  }
3328
3328
  )
3329
3329
  ] }) });
3330
3330
  }
3331
- function Ln() {
3332
- return /* @__PURE__ */ v("div", { className: be.cardContainer, children: [
3331
+ function Pn() {
3332
+ return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
3333
3333
  /* @__PURE__ */ t(mt, { title: "" }),
3334
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3335
- /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3334
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3335
+ /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3336
3336
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
3337
3337
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
3338
3338
  ] }),
3339
- /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3340
- /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3339
+ /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3340
+ /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3341
3341
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
3342
3342
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
3343
3343
  ] }),
3344
3344
  /* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
3345
- /* @__PURE__ */ v(H, { direction: "row", spacing: 1, children: [
3345
+ /* @__PURE__ */ b(H, { direction: "row", spacing: 1, children: [
3346
3346
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3347
3347
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3348
3348
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
3349
3349
  ] }),
3350
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ v(H, { direction: "row", spacing: 1, children: [
3350
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ b(H, { direction: "row", spacing: 1, children: [
3351
3351
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3352
3352
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3353
3353
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
@@ -3356,8 +3356,8 @@ function Ln() {
3356
3356
  ] }) })
3357
3357
  ] });
3358
3358
  }
3359
- 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 = {
3360
- wrapper: Pn,
3359
+ 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 = {
3360
+ wrapper: Ln,
3361
3361
  container: Fn,
3362
3362
  buttonWrapper: qn,
3363
3363
  padding: Dn
@@ -3368,7 +3368,7 @@ async function Vn(e, a = 2, n) {
3368
3368
  if (n.aborted)
3369
3369
  throw new DOMException("Aborted", "AbortError");
3370
3370
  const r = e.slice(i, i + a), s = await Promise.all(
3371
- r.map((l) => fetch(l, { signal: n }).then((f) => f.json()))
3371
+ r.map((c) => fetch(c, { signal: n }).then((f) => f.json()))
3372
3372
  );
3373
3373
  o.push(...s);
3374
3374
  }
@@ -3404,22 +3404,22 @@ function Hn({
3404
3404
  onViewMore: o,
3405
3405
  className: i = ""
3406
3406
  }) {
3407
- const r = ae(), s = ne(), l = se(), 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, p] = K({ isStart: !0, isEnd: !1 }), [d, c] = K(null), [g, x] = K({ start: null, end: null }), I = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", _ = () => {
3407
+ 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, p] = Z({ isStart: !0, isEnd: !1 }), [d, g] = Z(null), [m, _] = Z({ start: null, end: null }), I = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", y = () => {
3408
3408
  r({
3409
3409
  element: "evento_semana_view_more",
3410
3410
  label: `${s} - OraculoSeccionEventoSemana - Ver más`,
3411
3411
  target: "ver_mas",
3412
3412
  event_type: "click",
3413
- module_id: l,
3413
+ module_id: c,
3414
3414
  metadata: {
3415
3415
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3416
3416
  },
3417
3417
  tags: { section: "OraculoSeccionEventoSemana" }
3418
- }), Ba();
3418
+ }), Aa();
3419
3419
  };
3420
- async function b($) {
3421
- var L, z;
3422
- let y = [], E = [];
3420
+ async function v($) {
3421
+ var P, z;
3422
+ let x = [], O = [];
3423
3423
  try {
3424
3424
  const R = await fetch(
3425
3425
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
@@ -3427,7 +3427,7 @@ function Hn({
3427
3427
  );
3428
3428
  if (R.ok) {
3429
3429
  const U = await R.json();
3430
- y = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], E = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
3430
+ x = ((P = U == null ? void 0 : U.data) == null ? void 0 : P.group_ids) || [], O = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
3431
3431
  }
3432
3432
  } catch (R) {
3433
3433
  R.name !== "AbortError" && console.warn("Order API not available, using default group order");
@@ -3435,88 +3435,88 @@ function Hn({
3435
3435
  }
3436
3436
  try {
3437
3437
  const W = (await (await fetch(f, { signal: $ })).json()).group.groups.find(
3438
- (m) => m.englishName === "Football"
3438
+ (l) => l.englishName === "Football"
3439
3439
  );
3440
3440
  if (!W || !Array.isArray(W.groups)) {
3441
3441
  console.error("Football groups not found");
3442
3442
  return;
3443
3443
  }
3444
- let w = [...W.groups];
3445
- if (y.length > 0) {
3446
- const m = new Map(
3447
- y.map((S, N) => [S, N])
3444
+ let G = [...W.groups];
3445
+ if (x.length > 0) {
3446
+ const l = new Map(
3447
+ x.map((S, E) => [S, E])
3448
3448
  );
3449
- w.sort((S, N) => {
3450
- const A = m.get(String(S.id)), B = m.get(String(N.id));
3451
- return A !== void 0 && B !== void 0 ? A - B : A !== void 0 ? -1 : B !== void 0 ? 1 : 0;
3449
+ G.sort((S, E) => {
3450
+ const N = l.get(String(S.id)), B = l.get(String(E.id));
3451
+ return N !== void 0 && B !== void 0 ? N - B : N !== void 0 ? -1 : B !== void 0 ? 1 : 0;
3452
3452
  });
3453
3453
  }
3454
- const G = w.slice(0, 5), Z = (m) => {
3454
+ const F = G.slice(0, 5), K = (l) => {
3455
3455
  const S = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3456
- if (m.groups && m.groups.length > 0) {
3457
- const N = m.groups[0];
3456
+ if (l.groups && l.groups.length > 0) {
3457
+ const E = l.groups[0];
3458
3458
  return [
3459
- `${S}/${m.termKey}/${N.termKey}/all/matches.json?${I}`
3459
+ `${S}/${l.termKey}/${E.termKey}/all/matches.json?${I}`
3460
3460
  ];
3461
3461
  }
3462
3462
  return [
3463
- `${S}/${m.termKey}/all/all/matches.json?${I}`
3463
+ `${S}/${l.termKey}/all/all/matches.json?${I}`
3464
3464
  ];
3465
- }, Y = G.flatMap(Z);
3466
- C(Y, E, $);
3465
+ }, Y = F.flatMap(K);
3466
+ C(Y, O, $);
3467
3467
  } catch (R) {
3468
3468
  console.error(R);
3469
3469
  }
3470
3470
  }
3471
- async function C($, y, E) {
3471
+ async function C($, x, O) {
3472
3472
  try {
3473
- const L = await Vn($, 2, E);
3473
+ const P = await Vn($, 2, O);
3474
3474
  let z = [], R = [];
3475
- L.forEach((D) => {
3476
- D.events && (z.push(...D.events.map((G) => G.event)), R.push(
3477
- ...D.events.flatMap((G) => G.betOffers || [])
3475
+ P.forEach((w) => {
3476
+ w.events && (z.push(...w.events.map((F) => F.event)), R.push(
3477
+ ...w.events.flatMap((F) => F.betOffers || [])
3478
3478
  ));
3479
3479
  });
3480
3480
  const U = jn(z, R), W = Wn(Gn(U));
3481
- let w = W;
3482
- if (y.length > 0) {
3483
- const D = new Map(
3484
- y.map((G, Z) => [
3485
- String(G),
3486
- Z
3481
+ let G = W;
3482
+ if (x.length > 0) {
3483
+ const w = new Map(
3484
+ x.map((F, K) => [
3485
+ String(F),
3486
+ K
3487
3487
  ])
3488
3488
  );
3489
- w = [...W].sort((G, Z) => {
3490
- const Y = D.get(String(G.id)), m = D.get(String(Z.id));
3491
- return Y !== void 0 && m !== void 0 ? Y - m : Y !== void 0 ? -1 : m !== void 0 ? 1 : 0;
3489
+ G = [...W].sort((F, K) => {
3490
+ const Y = w.get(String(F.id)), l = w.get(String(K.id));
3491
+ return Y !== void 0 && l !== void 0 ? Y - l : Y !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3492
3492
  });
3493
3493
  }
3494
- if (E.aborted) return;
3495
- c(w);
3496
- } catch (L) {
3497
- console.error("Error loading events:", L);
3494
+ if (O.aborted) return;
3495
+ g(G);
3496
+ } catch (P) {
3497
+ console.error("Error loading events:", P);
3498
3498
  }
3499
3499
  }
3500
3500
  ee(() => {
3501
3501
  if (!e) return;
3502
3502
  const $ = new AbortController();
3503
- return b($.signal), () => {
3503
+ return v($.signal), () => {
3504
3504
  $.abort();
3505
3505
  };
3506
3506
  }, [e]);
3507
- const q = i || void 0, T = {
3507
+ const D = i || void 0, k = {
3508
3508
  paddingLeft: 0,
3509
3509
  width: "100%",
3510
3510
  boxSizing: "border-box"
3511
- }, { jerseys: k } = St({
3511
+ }, { jerseys: M } = St({
3512
3512
  events: d,
3513
- visibleRange: g,
3513
+ visibleRange: m,
3514
3514
  fetchJerseys: gt,
3515
3515
  buffer: 2,
3516
3516
  debounceMs: 250
3517
- }), O = d === null, M = xe("(max-width:950px)");
3518
- return !O && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: q, style: T, children: /* @__PURE__ */ v("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3519
- /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3517
+ }), T = d === null, A = xe("(max-width:950px)");
3518
+ return !T && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: k, children: /* @__PURE__ */ b("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3519
+ /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3520
3520
  /* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
3521
3521
  /* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
3522
3522
  X,
@@ -3525,7 +3525,7 @@ function Hn({
3525
3525
  size: "lg",
3526
3526
  fullWidth: !0,
3527
3527
  onClick: () => {
3528
- _();
3528
+ y();
3529
3529
  },
3530
3530
  children: "Ver más"
3531
3531
  }
@@ -3535,11 +3535,11 @@ function Hn({
3535
3535
  he,
3536
3536
  {
3537
3537
  ref: h,
3538
- items: O ? Array(6).fill({}) : d.slice(0, 20),
3538
+ items: T ? Array(6).fill({}) : d.slice(0, 20),
3539
3539
  perPage: 3.5,
3540
3540
  gap: "16px",
3541
3541
  enableHorizontalWheel: !0,
3542
- showRightGradient: !M,
3542
+ showRightGradient: !A,
3543
3543
  options: { autoWidth: !0, trimSpace: !0 },
3544
3544
  breakpoints: {
3545
3545
  1024: {
@@ -3550,25 +3550,25 @@ function Hn({
3550
3550
  }
3551
3551
  },
3552
3552
  renderItem: ($) => {
3553
- const y = $.id, E = y in k ? k[y] : void 0;
3554
- return O ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Ln, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Un, { event: $, jersey: E }) });
3553
+ const x = $.id, O = x in M ? M[x] : void 0;
3554
+ return T ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Pn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: $, jersey: O }) });
3555
3555
  },
3556
- onMove: ({ isStart: $, isEnd: y, visibleStart: E, visibleEnd: L }) => {
3557
- p({ isStart: $, isEnd: y }), x({
3558
- start: E,
3559
- end: L
3556
+ onMove: ({ isStart: $, isEnd: x, visibleStart: O, visibleEnd: P }) => {
3557
+ p({ isStart: $, isEnd: x }), _({
3558
+ start: O,
3559
+ end: P
3560
3560
  }), r({
3561
3561
  element: "evento_semana_carousel_slide",
3562
3562
  label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
3563
3563
  target: "carousel",
3564
3564
  event_type: "slide",
3565
- module_id: l,
3565
+ module_id: c,
3566
3566
  metadata: {
3567
3567
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3568
- visibleStart: E,
3569
- visibleEnd: L,
3568
+ visibleStart: O,
3569
+ visibleEnd: P,
3570
3570
  isStart: $,
3571
- isEnd: y
3571
+ isEnd: x
3572
3572
  },
3573
3573
  tags: { section: "OraculoSeccionEventoSemana" }
3574
3574
  });
@@ -3587,18 +3587,18 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3587
3587
  /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
3588
3588
  );
3589
3589
  if (!a) return null;
3590
- const [, n, o, i, r, s, l = "00"] = a;
3590
+ const [, n, o, i, r, s, c = "00"] = a;
3591
3591
  return Date.UTC(
3592
3592
  Number(n),
3593
3593
  Number(o) - 1,
3594
3594
  Number(i),
3595
3595
  Number(r) - Kn / 60,
3596
3596
  Number(s),
3597
- Number(l)
3597
+ Number(c)
3598
3598
  );
3599
3599
  }, Jn = (e, a) => {
3600
- var l, f, h, u, p, d, c, g, x;
3601
- const n = (h = (f = (l = e == null ? void 0 : e.fields) != null ? l : e == null ? void 0 : e.parameters) != null ? f : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (p = e == null ? void 0 : e.startAt) != null ? p : (u = n.find((I) => (I == null ? void 0 : I.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (x = (g = e == null ? void 0 : e.endAt) != null ? g : (c = n.find((I) => (I == null ? void 0 : I.name) === "endAt")) == null ? void 0 : c.value) != null ? x : null, r = nt(o), s = nt(i);
3600
+ var c, f, h, u, p, d, g, m, _;
3601
+ 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 = (p = e == null ? void 0 : e.startAt) != null ? p : (u = n.find((I) => (I == null ? void 0 : I.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (_ = (m = e == null ? void 0 : e.endAt) != null ? m : (g = n.find((I) => (I == null ? void 0 : I.name) === "endAt")) == null ? void 0 : g.value) != null ? _ : null, r = nt(o), s = nt(i);
3602
3602
  return !(r != null && a < r || s != null && a >= s);
3603
3603
  };
3604
3604
  function Xn({
@@ -3606,17 +3606,17 @@ function Xn({
3606
3606
  items: a,
3607
3607
  hideItems: n
3608
3608
  }) {
3609
- var U, W;
3610
- const [o, i] = K(0), r = ae(), s = ne(), l = se(), f = V(null), h = V(!1), u = V(!1), [p, d] = K(() => Date.now()), c = ie(() => (e != null ? e : []).filter((w) => Jn(w, p)), [e, p]), g = c.length || 1, x = !c || c.length === 0, I = !x && c.length > 1, _ = !n && ((U = a == null ? void 0 : a.length) != null ? U : 0) > 0;
3609
+ var W, G;
3610
+ const [o, i] = Z(0), r = ae(), s = ne(), c = le(), f = V(null), h = V(!1), u = V(!1), [p, d] = Z(() => Date.now()), g = se("setDepositActionGlobal"), m = ie(() => (e != null ? e : []).filter((w) => Jn(w, p)), [e, p]), _ = m.length || 1, I = !m || m.length === 0, y = !I && m.length > 1, v = !n && ((W = a == null ? void 0 : a.length) != null ? W : 0) > 0;
3611
3611
  De("(max-width:950px)");
3612
- const b = "#B5B5B5";
3612
+ const C = "#B5B5B5";
3613
3613
  ee(() => {
3614
3614
  const w = window.setInterval(() => {
3615
3615
  d(Date.now());
3616
3616
  }, 3e4);
3617
3617
  return () => window.clearInterval(w);
3618
3618
  }, []);
3619
- const C = {
3619
+ const D = {
3620
3620
  position: "absolute",
3621
3621
  top: "50%",
3622
3622
  transform: "translateY(-50%)",
@@ -3624,22 +3624,22 @@ function Xn({
3624
3624
  width: 48,
3625
3625
  height: 40,
3626
3626
  borderRadius: "12px",
3627
- border: `1.5px solid ${b}`,
3627
+ border: `1.5px solid ${C}`,
3628
3628
  py: 1,
3629
3629
  px: 1.5,
3630
- color: b,
3630
+ color: C,
3631
3631
  backgroundColor: "transparent",
3632
3632
  "&:hover": {
3633
3633
  backgroundColor: "rgba(181,181,181,0.08)"
3634
3634
  },
3635
3635
  "&.Mui-disabled": {
3636
3636
  opacity: 0.35,
3637
- borderColor: b,
3638
- color: b,
3637
+ borderColor: C,
3638
+ color: C,
3639
3639
  backgroundColor: "transparent",
3640
3640
  cursor: "default"
3641
3641
  }
3642
- }, q = ie(
3642
+ }, k = ie(
3643
3643
  () => ({
3644
3644
  type: "loop",
3645
3645
  perMove: 1,
@@ -3656,33 +3656,46 @@ function Xn({
3656
3656
  }, 500);
3657
3657
  return () => clearTimeout(w);
3658
3658
  }, []);
3659
- const T = (w, D) => {
3660
- var Z, Y;
3661
- const G = ((Y = (Z = w.href) == null ? void 0 : Z.split("/").pop()) == null ? void 0 : Y.split(".")[0]) || w.label || w.id || `banner_${D + 1}`;
3659
+ const M = (w, F, K) => {
3660
+ var E, N;
3661
+ const Y = !!F.idFunction, l = !!F.href;
3662
+ if (Y)
3663
+ switch (w.preventDefault(), w.stopPropagation(), F.idFunction) {
3664
+ case "deposito":
3665
+ g == null || g(!0);
3666
+ return;
3667
+ default:
3668
+ return;
3669
+ }
3670
+ if (!l) {
3671
+ w.preventDefault(), w.stopPropagation();
3672
+ return;
3673
+ }
3674
+ const S = ((N = (E = F.href) == null ? void 0 : E.split("/").pop()) == null ? void 0 : N.split(".")[0]) || F.label || F.id || `banner_${K + 1}`;
3662
3675
  r({
3663
3676
  element: "banner_carousel",
3664
- label: `${s} - OraculoSeccionBanners - Banner click: ${G}`,
3665
- target: w.href || "no_url",
3677
+ label: `${s} - OraculoSeccionBanners - Banner click: ${S}`,
3678
+ target: F.href || "no_url",
3666
3679
  event_type: "click",
3667
- module_id: l,
3680
+ module_id: c,
3668
3681
  metadata: {
3669
3682
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3670
- banner_position: D + 1,
3671
- banner_total: (c == null ? void 0 : c.length) || 0
3683
+ banner_position: K + 1,
3684
+ banner_total: (m == null ? void 0 : m.length) || 0
3672
3685
  },
3673
3686
  tags: {
3674
3687
  banner_type: "carousel",
3675
3688
  banner_target: "_self",
3676
- banner_url: w.href || "no_url"
3689
+ banner_url: F.href || "no_url"
3677
3690
  }
3678
3691
  });
3679
- }, k = (w) => {
3692
+ }, T = (w) => {
3680
3693
  if (r({
3681
3694
  element: "banner_menu_item",
3682
3695
  label: `${s} - OraculoSeccionBanners - Menu item click: ${w.label || w.id}`,
3683
3696
  target: w.href || "action",
3684
3697
  event_type: "click",
3685
- module_id: l,
3698
+ module_id: c,
3686
3699
  metadata: {
3687
3700
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3688
3701
  item_id: w.id
@@ -3695,52 +3708,52 @@ function Xn({
3695
3708
  return;
3696
3709
  }
3697
3710
  w.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(w.href);
3698
- }, O = 5e3, M = V(null), $ = !x && ((W = c == null ? void 0 : c.length) != null ? W : 0) > 1, y = () => {
3699
- M.current != null && (window.clearTimeout(M.current), M.current = null);
3700
- }, E = () => {
3701
- y(), $ && (M.current = window.setTimeout(() => {
3711
+ }, A = 5e3, $ = V(null), x = !I && ((G = m == null ? void 0 : m.length) != null ? G : 0) > 1, O = () => {
3712
+ $.current != null && (window.clearTimeout($.current), $.current = null);
3713
+ }, P = () => {
3714
+ O(), x && ($.current = window.setTimeout(() => {
3702
3715
  var w;
3703
3716
  u.current = !0, (w = f.current) == null || w.next();
3704
- }, O));
3717
+ }, A));
3705
3718
  };
3706
- ee(() => (E(), () => y()), [$, O]);
3707
- const L = (w) => {
3708
- var D;
3709
- w.preventDefault(), w.stopPropagation(), y(), (D = f.current) == null || D.prev();
3710
- }, z = (w) => {
3711
- var D;
3712
- w.preventDefault(), w.stopPropagation(), y(), (D = f.current) == null || D.next();
3719
+ ee(() => (P(), () => O()), [x, A]);
3720
+ const z = (w) => {
3721
+ var F;
3722
+ w.preventDefault(), w.stopPropagation(), O(), (F = f.current) == null || F.prev();
3713
3723
  }, R = (w) => {
3714
- var Z, Y, m, S;
3715
- const D = (w % g + g) % g;
3724
+ var F;
3725
+ w.preventDefault(), w.stopPropagation(), O(), (F = f.current) == null || F.next();
3726
+ }, U = (w) => {
3727
+ var Y, l, S, E;
3728
+ const F = (w % _ + _) % _;
3716
3729
  if (!h.current) return;
3717
- const G = (Z = c == null ? void 0 : c[D]) != null && Z.href ? ((m = (Y = c[D].href) == null ? void 0 : Y.split("/").pop()) == null ? void 0 : m.split(".")[0]) || `banner_${D + 1}` : `banner_${D + 1}`;
3730
+ const K = (Y = m == null ? void 0 : m[F]) != null && Y.href ? ((S = (l = m[F].href) == null ? void 0 : l.split("/").pop()) == null ? void 0 : S.split(".")[0]) || `banner_${F + 1}` : `banner_${F + 1}`;
3718
3731
  r({
3719
3732
  element: "banner_carousel",
3720
- label: `${s} - OraculoSeccionBanners - Banner view: Slide ${D + 1} - ${G}`,
3721
- target: ((S = c == null ? void 0 : c[D]) == null ? void 0 : S.href) || "no_url",
3733
+ label: `${s} - OraculoSeccionBanners - Banner view: Slide ${F + 1} - ${K}`,
3734
+ target: ((E = m == null ? void 0 : m[F]) == null ? void 0 : E.href) || "no_url",
3722
3735
  event_type: "view",
3723
- module_id: l,
3736
+ module_id: c,
3724
3737
  metadata: {
3725
3738
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3726
- slide_index: D + 1,
3727
- total_slides: g,
3739
+ slide_index: F + 1,
3740
+ total_slides: _,
3728
3741
  interaction_type: "manual_slide"
3729
3742
  },
3730
- tags: { banner_position: String(D + 1) }
3743
+ tags: { banner_position: String(F + 1) }
3731
3744
  });
3732
3745
  };
3733
- return /* @__PURE__ */ v(
3746
+ return /* @__PURE__ */ b(
3734
3747
  Q,
3735
3748
  {
3736
3749
  component: "section",
3737
3750
  sx: {
3738
3751
  position: "relative",
3739
3752
  overflow: "visible",
3740
- pb: _ ? { xs: "40px", sm: 0 } : 0
3753
+ pb: v ? { xs: "40px", sm: 0 } : 0
3741
3754
  },
3742
3755
  children: [
3743
- /* @__PURE__ */ v(
3756
+ /* @__PURE__ */ b(
3744
3757
  Q,
3745
3758
  {
3746
3759
  sx: {
@@ -3768,44 +3781,45 @@ function Xn({
3768
3781
  he,
3769
3782
  {
3770
3783
  ref: f,
3771
- items: c,
3784
+ items: m,
3772
3785
  perPage: 1,
3773
3786
  gap: "0px",
3774
3787
  enableHorizontalWheel: !0,
3775
- options: q,
3788
+ options: k,
3776
3789
  onMove: ({ index: w }) => {
3777
- const D = (w % g + g) % g;
3778
- i(D);
3779
- const G = u.current;
3780
- u.current = !1, E(), G || R(w);
3790
+ const F = (w % _ + _) % _;
3791
+ i(F);
3792
+ const K = u.current;
3793
+ u.current = !1, P(), K || U(w);
3781
3794
  },
3782
- renderItem: (w, D) => {
3783
- var G, Z, Y;
3784
- return /* @__PURE__ */ v(
3795
+ renderItem: (w, F) => {
3796
+ var E, N, B;
3797
+ const K = !!w.idFunction, Y = !!w.href, l = Y && !K, S = K || Y;
3798
+ return /* @__PURE__ */ b(
3785
3799
  Q,
3786
3800
  {
3787
- component: "a",
3788
- href: w.href,
3789
- target: (G = w.target) != null ? G : "_self",
3790
- rel: w.target === "_blank" ? "noopener noreferrer" : void 0,
3791
- onClick: () => T(w, D),
3801
+ component: l ? "a" : "div",
3802
+ href: l ? w.href : void 0,
3803
+ target: l ? (E = w.target) != null ? E : "_self" : void 0,
3804
+ rel: l && w.target === "_blank" ? "noopener noreferrer" : void 0,
3805
+ onClick: (L) => M(L, w, F),
3792
3806
  sx: {
3793
3807
  position: "relative",
3794
3808
  width: "100%",
3795
3809
  height: "100%",
3796
3810
  display: "block",
3797
3811
  textDecoration: "none",
3798
- cursor: "pointer"
3812
+ cursor: S ? "pointer" : "default"
3799
3813
  },
3800
3814
  children: [
3801
- /* @__PURE__ */ v(Q, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3815
+ /* @__PURE__ */ b(Q, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3802
3816
  /* @__PURE__ */ t("source", { srcSet: w.desktopSrc, media: "(min-width:950px)" }),
3803
3817
  /* @__PURE__ */ t("source", { srcSet: w.mobileSrc, media: "(max-width:949px)" }),
3804
3818
  /* @__PURE__ */ t(
3805
3819
  Q,
3806
3820
  {
3807
3821
  component: "img",
3808
- src: (Y = (Z = w.fallbackSrc) != null ? Z : w.desktopSrc) != null ? Y : "",
3822
+ src: (B = (N = w.fallbackSrc) != null ? N : w.desktopSrc) != null ? B : "",
3809
3823
  alt: "",
3810
3824
  "aria-hidden": !0,
3811
3825
  loading: "lazy",
@@ -3845,28 +3859,28 @@ function Xn({
3845
3859
  )
3846
3860
  }
3847
3861
  ),
3848
- I && /* @__PURE__ */ v(me, { children: [
3862
+ y && /* @__PURE__ */ b(pe, { children: [
3849
3863
  /* @__PURE__ */ t(
3850
3864
  Ke,
3851
3865
  {
3852
3866
  "aria-label": "Anterior",
3853
- onClick: L,
3867
+ onClick: z,
3854
3868
  sx: {
3855
- ...C,
3869
+ ...D,
3856
3870
  left: "120px",
3857
3871
  "@media (max-width:1024px)": { left: 24 },
3858
3872
  "@media (max-width:786px)": { display: "none" }
3859
3873
  },
3860
- children: /* @__PURE__ */ t(Be, {})
3874
+ children: /* @__PURE__ */ t(Ae, {})
3861
3875
  }
3862
3876
  ),
3863
3877
  /* @__PURE__ */ t(
3864
3878
  Ke,
3865
3879
  {
3866
3880
  "aria-label": "Siguiente",
3867
- onClick: z,
3881
+ onClick: R,
3868
3882
  sx: {
3869
- ...C,
3883
+ ...D,
3870
3884
  right: "120px",
3871
3885
  "@media (max-width:1024px)": { right: 24 },
3872
3886
  "@media (max-width:786px)": { display: "none" }
@@ -3890,18 +3904,18 @@ function Xn({
3890
3904
  children: /* @__PURE__ */ t(
3891
3905
  dt,
3892
3906
  {
3893
- total: g,
3907
+ total: _,
3894
3908
  active: o,
3895
- durationMs: O
3909
+ durationMs: A
3896
3910
  },
3897
- `${o}-${g}`
3911
+ `${o}-${_}`
3898
3912
  )
3899
3913
  }
3900
3914
  )
3901
3915
  ]
3902
3916
  }
3903
3917
  ),
3904
- _ && /* @__PURE__ */ t(
3918
+ v && /* @__PURE__ */ t(
3905
3919
  Q,
3906
3920
  {
3907
3921
  sx: {
@@ -3919,7 +3933,7 @@ function Xn({
3919
3933
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3920
3934
  zIndex: 3
3921
3935
  },
3922
- children: a == null ? void 0 : a.map((w) => /* @__PURE__ */ v(
3936
+ children: a == null ? void 0 : a.map((w) => /* @__PURE__ */ b(
3923
3937
  Q,
3924
3938
  {
3925
3939
  sx: {
@@ -3964,9 +3978,9 @@ function Xn({
3964
3978
  }
3965
3979
  }
3966
3980
  },
3967
- onClick: () => k(w),
3981
+ onClick: () => T(w),
3968
3982
  children: [
3969
- w.icon && /* @__PURE__ */ v(
3983
+ w.icon && /* @__PURE__ */ b(
3970
3984
  Q,
3971
3985
  {
3972
3986
  sx: {
@@ -4050,7 +4064,7 @@ function Qn({
4050
4064
  items: a = Yn
4051
4065
  }) {
4052
4066
  const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
4053
- return /* @__PURE__ */ v(Q, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4067
+ return /* @__PURE__ */ b(Q, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4054
4068
  /* @__PURE__ */ t(
4055
4069
  st,
4056
4070
  {
@@ -4079,7 +4093,7 @@ function Qn({
4079
4093
  }
4080
4094
  }
4081
4095
  ),
4082
- /* @__PURE__ */ v(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4096
+ /* @__PURE__ */ b(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4083
4097
  /* @__PURE__ */ t(
4084
4098
  Oe,
4085
4099
  {
@@ -4121,8 +4135,8 @@ function It({
4121
4135
  }),
4122
4136
  [a]
4123
4137
  );
4124
- return /* @__PURE__ */ v(Lt, { theme: n, children: [
4125
- /* @__PURE__ */ t(Pt, {}),
4138
+ return /* @__PURE__ */ b(Pt, { theme: n, children: [
4139
+ /* @__PURE__ */ t(Lt, {}),
4126
4140
  e
4127
4141
  ] });
4128
4142
  }
@@ -4422,6 +4436,14 @@ const eo = {
4422
4436
  required: !1,
4423
4437
  type: "string",
4424
4438
  value: ""
4439
+ },
4440
+ {
4441
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4442
+ isImage: !1,
4443
+ name: "idFunction",
4444
+ required: !1,
4445
+ type: "string",
4446
+ value: "deposito"
4425
4447
  }
4426
4448
  ],
4427
4449
  id: "13b35362-5695-4687-b6a8-645f8effd264"
@@ -4475,7 +4497,7 @@ const eo = {
4475
4497
  name: "startAt",
4476
4498
  required: !1,
4477
4499
  type: "string",
4478
- value: "2026-04-13T10:45"
4500
+ value: ""
4479
4501
  },
4480
4502
  {
4481
4503
  id: "fa9c467f-4f33-4bee-b502-a413d726bbb2",
@@ -4483,7 +4505,7 @@ const eo = {
4483
4505
  name: "endAt",
4484
4506
  required: !1,
4485
4507
  type: "string",
4486
- value: "2026-04-14T11:15"
4508
+ value: ""
4487
4509
  }
4488
4510
  ],
4489
4511
  id: "024f8130-91e1-4296-b826-cffa32ab1a96"
@@ -4537,7 +4559,7 @@ const eo = {
4537
4559
  name: "startAt",
4538
4560
  required: !1,
4539
4561
  type: "string",
4540
- value: "2026-04-13T10:45"
4562
+ value: ""
4541
4563
  },
4542
4564
  {
4543
4565
  id: "fa9c467f-4f33-4bee-b502-a413d726bbb2",
@@ -4545,7 +4567,7 @@ const eo = {
4545
4567
  name: "endAt",
4546
4568
  required: !1,
4547
4569
  type: "string",
4548
- value: "2026-04-13T11:00"
4570
+ value: ""
4549
4571
  }
4550
4572
  ],
4551
4573
  id: "cdfce77c-a814-43f1-911d-3715803252c2"
@@ -5432,7 +5454,7 @@ function Ce(e) {
5432
5454
  var o, i;
5433
5455
  return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
5434
5456
  }).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
5435
- var o, i, r, s, l;
5457
+ var o, i, r, s, c;
5436
5458
  return {
5437
5459
  id: (o = a.id) != null ? o : n + 1,
5438
5460
  title: (i = a.title) != null ? i : "",
@@ -5440,7 +5462,7 @@ function Ce(e) {
5440
5462
  visible: (r = a.visible) != null ? r : !0,
5441
5463
  order: n + 1,
5442
5464
  props: (s = a.props) != null ? s : {},
5443
- apiUrl: (l = a.apiUrl) != null ? l : "",
5465
+ apiUrl: (c = a.apiUrl) != null ? c : "",
5444
5466
  dataMode: a.dataMode,
5445
5467
  variableName: a.variableName,
5446
5468
  manualItems: a.manualItems,
@@ -5501,33 +5523,33 @@ const it = [
5501
5523
  loader: r,
5502
5524
  disableWrapper: s = !1
5503
5525
  }) => {
5504
- const l = ie(() => oo(i), [i]), f = r || l.loader, [h, u] = K([]), [p, d] = K(!1), [c, g] = K({}), [x, I] = K({}), [_, b] = K({}), C = De("(min-width:1024px)"), q = ie(
5526
+ const c = ie(() => oo(i), [i]), f = r || c.loader, [h, u] = Z([]), [p, d] = Z(!1), [g, m] = Z({}), [_, I] = Z({}), [y, v] = Z({}), C = De("(min-width:1024px)"), D = ie(
5505
5527
  () => Ce(qe),
5506
5528
  []
5507
- ), T = (m) => q.find(
5508
- (S) => S.id === m.id || S.componentKey === m.componentKey
5509
- ), k = (m) => Array.isArray(m) ? m.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], O = ie(() => {
5510
- const m = l.user;
5511
- return k(m == null ? void 0 : m.groups);
5512
- }, [l]), M = (m) => {
5513
- const S = m.manualScalarFields;
5529
+ ), k = (l) => D.find(
5530
+ (S) => S.id === l.id || S.componentKey === l.componentKey
5531
+ ), M = (l) => Array.isArray(l) ? l.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], T = ie(() => {
5532
+ const l = c.user;
5533
+ return M(l == null ? void 0 : l.groups);
5534
+ }, [c]), A = (l) => {
5535
+ const S = l.manualScalarFields;
5514
5536
  if (!Array.isArray(S)) return [];
5515
- const N = S.find(
5516
- (P) => String((P == null ? void 0 : P.name) || "").trim().toLowerCase() === "groups"
5537
+ const E = S.find(
5538
+ (L) => String((L == null ? void 0 : L.name) || "").trim().toLowerCase() === "groups"
5517
5539
  );
5518
- if (!N) return [];
5519
- const A = N.value;
5520
- if (A == null) return [];
5521
- if (Array.isArray(A))
5522
- return A.map((P) => Number(String(P).trim())).filter((P) => !Number.isNaN(P));
5523
- const B = String(A).trim();
5524
- return B ? B.split(",").map((P) => Number(P.trim())).filter((P) => !Number.isNaN(P)) : [];
5525
- }, $ = (m, S) => {
5526
- const N = M(m);
5527
- if (N.length === 0) return !0;
5540
+ if (!E) return [];
5541
+ const N = E.value;
5542
+ if (N == null) return [];
5543
+ if (Array.isArray(N))
5544
+ return N.map((L) => Number(String(L).trim())).filter((L) => !Number.isNaN(L));
5545
+ const B = String(N).trim();
5546
+ return B ? B.split(",").map((L) => Number(L.trim())).filter((L) => !Number.isNaN(L)) : [];
5547
+ }, $ = (l, S) => {
5548
+ const E = A(l);
5549
+ if (E.length === 0) return !0;
5528
5550
  if (!Array.isArray(S) || S.length === 0) return !1;
5529
- const A = new Set(S);
5530
- return N.some((B) => A.has(B));
5551
+ const N = new Set(S);
5552
+ return E.some((B) => N.has(B));
5531
5553
  };
5532
5554
  ee(() => {
5533
5555
  if (e) return;
@@ -5535,223 +5557,223 @@ const it = [
5535
5557
  console.warn("[landing] sin db -> fallback json"), u(Ce(qe));
5536
5558
  return;
5537
5559
  }
5538
- const m = (N, A) => {
5539
- console.warn("[landing] FALLBACK:", N, A != null ? A : ""), u(Ce(qe)), d(!1);
5560
+ const l = (E, N) => {
5561
+ console.warn("[landing] FALLBACK:", E, N != null ? N : ""), u(Ce(qe)), d(!1);
5540
5562
  };
5541
5563
  if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
5542
- d(!0), m("forzado por env");
5564
+ d(!0), l("forzado por env");
5543
5565
  return;
5544
5566
  }
5545
5567
  d(!0);
5546
5568
  const S = Ft(
5547
5569
  qt(o, "landings", a),
5548
- (N) => {
5570
+ (E) => {
5549
5571
  try {
5550
- if (!N.exists()) {
5551
- m(`doc landings/${a} no existe`);
5572
+ if (!E.exists()) {
5573
+ l(`doc landings/${a} no existe`);
5552
5574
  return;
5553
5575
  }
5554
- const A = N.data(), B = Ce(A);
5576
+ const N = E.data(), B = Ce(N);
5555
5577
  if (!B.length) {
5556
- m("JSON inválido o sin secciones normalizables", A);
5578
+ l("JSON inválido o sin secciones normalizables", N);
5557
5579
  return;
5558
5580
  }
5559
- console.log("[landing] Firestore OK (json grande):", A), u(B);
5560
- } catch (A) {
5561
- m("error procesando snapshot", A);
5581
+ console.log("[landing] Firestore OK (json grande):", N), u(B);
5582
+ } catch (N) {
5583
+ l("error procesando snapshot", N);
5562
5584
  } finally {
5563
5585
  d(!1);
5564
5586
  }
5565
5587
  },
5566
- (N) => {
5567
- m("error onSnapshot", N);
5588
+ (E) => {
5589
+ l("error onSnapshot", E);
5568
5590
  }
5569
5591
  );
5570
5592
  return () => S();
5571
- }, [e, a, o]), ee(() => (Xa(l), () => Ya()), [l]), ee(() => {
5572
- (e ? e.slice() : h.slice()).map((N) => N.componentKey).filter((N) => !!N).length;
5593
+ }, [e, a, o]), ee(() => (Xa(c), () => Ya()), [c]), ee(() => {
5594
+ (e ? e.slice() : h.slice()).map((E) => E.componentKey).filter((E) => !!E).length;
5573
5595
  }, [e, h]);
5574
- const y = async (m) => {
5575
- if (it.includes(m.componentKey))
5596
+ const x = async (l) => {
5597
+ if (it.includes(l.componentKey))
5576
5598
  return {
5577
5599
  items: [],
5578
5600
  events: [],
5579
5601
  data: {}
5580
5602
  };
5581
- const S = (m.apiUrl || "").trim();
5603
+ const S = (l.apiUrl || "").trim();
5582
5604
  if (!S) return;
5583
- const N = m.apiMethod || "GET", A = m.apiParams || [];
5584
- let B = S, P, J;
5585
- if (N === "GET") {
5605
+ const E = l.apiMethod || "GET", N = l.apiParams || [];
5606
+ let B = S, L, J;
5607
+ if (E === "GET") {
5586
5608
  const re = new URL(
5587
5609
  S,
5588
5610
  typeof window == "undefined" ? "http://localhost" : window.location.origin
5589
5611
  );
5590
- for (const oe of A)
5612
+ for (const oe of N)
5591
5613
  oe.key && re.searchParams.append(oe.key, oe.value);
5592
5614
  B = re.toString();
5593
5615
  } else {
5594
5616
  const re = new URLSearchParams();
5595
- for (const oe of A)
5617
+ for (const oe of N)
5596
5618
  oe.key && re.append(oe.key, oe.value);
5597
- P = re.toString(), J = {
5619
+ L = re.toString(), J = {
5598
5620
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5599
5621
  };
5600
5622
  }
5601
5623
  const te = await fetch(B, {
5602
- method: N,
5624
+ method: E,
5603
5625
  headers: J,
5604
- body: P
5626
+ body: L
5605
5627
  });
5606
5628
  if (!te.ok) throw new ot(te.status, B, te.statusText);
5607
5629
  return te.json();
5608
- }, E = ie(
5630
+ }, O = ie(
5609
5631
  () => e ? e.slice() : h.slice(),
5610
5632
  [e, h]
5611
- ), L = fe.useRef(/* @__PURE__ */ new Set());
5633
+ ), P = fe.useRef(/* @__PURE__ */ new Set());
5612
5634
  ee(() => {
5613
- const m = E.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
5614
- if (m.length)
5615
- for (const { s: S, url: N } of m) {
5616
- const A = `${S.id}|${N}`;
5617
- L.current.has(A) || (L.current.add(A), I((B) => ({ ...B, [S.id]: !0 })), b((B) => ({ ...B, [S.id]: "" })), (async () => {
5635
+ const l = O.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
5636
+ if (l.length)
5637
+ for (const { s: S, url: E } of l) {
5638
+ const N = `${S.id}|${E}`;
5639
+ P.current.has(N) || (P.current.add(N), I((B) => ({ ...B, [S.id]: !0 })), v((B) => ({ ...B, [S.id]: "" })), (async () => {
5618
5640
  try {
5619
- const B = await y(S);
5620
- g((P) => ({ ...P, [S.id]: B }));
5641
+ const B = await x(S);
5642
+ m((L) => ({ ...L, [S.id]: B }));
5621
5643
  } catch (B) {
5622
- let P = "Error desconocido";
5623
- 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()), b((J) => ({ ...J, [S.id]: P }));
5644
+ let L = "Error desconocido";
5645
+ B instanceof ot ? L = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? L = "Respuesta no es JSON válido" : B instanceof TypeError ? L = "Fallo de red / CORS / conexión" : typeof B == "string" && (L = B.toString()), v((J) => ({ ...J, [S.id]: L }));
5624
5646
  } finally {
5625
5647
  I((B) => ({ ...B, [S.id]: !1 }));
5626
5648
  }
5627
5649
  })());
5628
5650
  }
5629
- }, [E]);
5651
+ }, [O]);
5630
5652
  const z = ie(
5631
- () => E.filter((m) => m.visible).filter((m) => $(m, O)).sort((m, S) => m.order - S.order),
5632
- [E, O]
5633
- ), R = (m) => Array.isArray(m) ? m.map((S) => {
5634
- const N = {};
5635
- for (const A of S.fields || []) {
5636
- const B = (A.type || "string").toLowerCase();
5653
+ () => O.filter((l) => l.visible).filter((l) => $(l, T)).sort((l, S) => l.order - S.order),
5654
+ [O, T]
5655
+ ), R = (l) => Array.isArray(l) ? l.map((S) => {
5656
+ const E = {};
5657
+ for (const N of S.fields || []) {
5658
+ const B = (N.type || "string").toLowerCase();
5637
5659
  if (B === "number") {
5638
- const P = String(A.value || "").trim();
5639
- if (P !== "") {
5640
- const J = Number(P);
5641
- Number.isNaN(J) || (N[A.name] = J);
5660
+ const L = String(N.value || "").trim();
5661
+ if (L !== "") {
5662
+ const J = Number(L);
5663
+ Number.isNaN(J) || (E[N.name] = J);
5642
5664
  }
5643
5665
  } else if (B === "boolean")
5644
- N[A.name] = String(A.value).toLowerCase() === "true";
5666
+ E[N.name] = String(N.value).toLowerCase() === "true";
5645
5667
  else if (B === "function") {
5646
- const P = String(A.value || "").trim();
5647
- if (P)
5668
+ const L = String(N.value || "").trim();
5669
+ if (L)
5648
5670
  try {
5649
- const J = new Function(P);
5650
- N[A.name] = J;
5671
+ const J = new Function(L);
5672
+ E[N.name] = J;
5651
5673
  } catch (J) {
5652
- console.error(`❌ Error creando función en item '${A.name}':`, J);
5674
+ console.error(`❌ Error creando función en item '${N.name}':`, J);
5653
5675
  }
5654
5676
  } else
5655
- N[A.name] = A.value;
5677
+ E[N.name] = N.value;
5656
5678
  }
5657
- return N;
5658
- }) : [], U = (m) => {
5679
+ return E;
5680
+ }) : [], U = (l) => {
5659
5681
  const S = {};
5660
- if (!Array.isArray(m)) return S;
5661
- for (const N of m) {
5662
- if (!N.name) continue;
5663
- const A = (N.type || "string").toLowerCase();
5664
- if (A === "number") {
5665
- const B = String(N.value || "").trim();
5682
+ if (!Array.isArray(l)) return S;
5683
+ for (const E of l) {
5684
+ if (!E.name) continue;
5685
+ const N = (E.type || "string").toLowerCase();
5686
+ if (N === "number") {
5687
+ const B = String(E.value || "").trim();
5666
5688
  if (B !== "") {
5667
- const P = Number(B);
5668
- Number.isNaN(P) || (S[N.name] = P);
5689
+ const L = Number(B);
5690
+ Number.isNaN(L) || (S[E.name] = L);
5669
5691
  }
5670
- } else if (A === "boolean")
5671
- S[N.name] = String(N.value).toLowerCase() === "true";
5672
- else if (A === "function") {
5673
- const B = String(N.value || "").trim();
5692
+ } else if (N === "boolean")
5693
+ S[E.name] = String(E.value).toLowerCase() === "true";
5694
+ else if (N === "function") {
5695
+ const B = String(E.value || "").trim();
5674
5696
  if (B)
5675
5697
  try {
5676
- const P = new Function(B);
5677
- S[N.name] = P;
5678
- } catch (P) {
5679
- console.error(`❌ Error creando función en item '${N.name}':`, P);
5698
+ const L = new Function(B);
5699
+ S[E.name] = L;
5700
+ } catch (L) {
5701
+ console.error(`❌ Error creando función en item '${E.name}':`, L);
5680
5702
  }
5681
5703
  } else
5682
- S[N.name] = N.value;
5704
+ S[E.name] = E.value;
5683
5705
  }
5684
5706
  return S;
5685
- }, W = (m, S, N, A) => {
5686
- const B = N ? { ...N } : {}, P = (A || "items").trim() || "items";
5707
+ }, W = (l, S, E, N) => {
5708
+ const B = E ? { ...E } : {}, L = (N || "items").trim() || "items";
5687
5709
  if (S)
5688
- return B[P] = S.arr || [], B;
5689
- const J = m;
5710
+ return B[L] = S.arr || [], B;
5711
+ const J = l;
5690
5712
  if (Array.isArray(J))
5691
- return B[P] = J, B;
5713
+ return B[L] = J, B;
5692
5714
  if (J && typeof J == "object") {
5693
5715
  const te = J;
5694
- return Array.isArray(te.lobby) ? (B[P] = te.lobby, B) : Array.isArray(te.items) ? (B[P] = te.items, B) : (B[P] = J, B);
5716
+ return Array.isArray(te.lobby) ? (B[L] = te.lobby, B) : Array.isArray(te.items) ? (B[L] = te.items, B) : (B[L] = J, B);
5695
5717
  }
5696
- return B[P] = [], B;
5697
- }, w = (m) => {
5698
- var P;
5699
- const S = !!((P = m.apiUrl) != null && P.trim()), N = S ? c[m.id] : void 0;
5700
- let A = m.props ? { ...m.props } : {};
5701
- const B = U(m.manualScalarFields);
5702
- if (it.includes(m.componentKey))
5703
- return { items: N, ...A, ...B };
5704
- if (A = { ...A, ...B }, S)
5705
- A = W(N, null, A);
5706
- else if (m.dataMode === "manual") {
5707
- const J = R(m.manualItems);
5708
- if (A = W(
5718
+ return B[L] = [], B;
5719
+ }, G = (l) => {
5720
+ var L;
5721
+ const S = !!((L = l.apiUrl) != null && L.trim()), E = S ? g[l.id] : void 0;
5722
+ let N = l.props ? { ...l.props } : {};
5723
+ const B = U(l.manualScalarFields);
5724
+ if (it.includes(l.componentKey))
5725
+ return { items: E, ...N, ...B };
5726
+ if (N = { ...N, ...B }, S)
5727
+ N = W(E, null, N);
5728
+ else if (l.dataMode === "manual") {
5729
+ const J = R(l.manualItems);
5730
+ if (N = W(
5709
5731
  null,
5710
- { arr: J, variableName: m.variableName },
5711
- A,
5712
- m.variableName
5713
- ), m.variableName2 && m.manualItems2) {
5714
- const te = R(m.manualItems2), re = (m.variableName2 || "items2").trim() || "items2";
5715
- A[re] = te;
5732
+ { arr: J, variableName: l.variableName },
5733
+ N,
5734
+ l.variableName
5735
+ ), l.variableName2 && l.manualItems2) {
5736
+ const te = R(l.manualItems2), re = (l.variableName2 || "items2").trim() || "items2";
5737
+ N[re] = te;
5716
5738
  }
5717
5739
  }
5718
- return A;
5719
- }, D = (m) => {
5720
- const S = m.props ? { ...m.props } : {};
5740
+ return N;
5741
+ }, w = (l) => {
5742
+ const S = l.props ? { ...l.props } : {};
5721
5743
  try {
5722
- Object.assign(S, U(m.manualScalarFields));
5723
- } catch (A) {
5724
- console.error("❌ Error armando scalars vacíos:", m, A);
5744
+ Object.assign(S, U(l.manualScalarFields));
5745
+ } catch (N) {
5746
+ console.error("❌ Error armando scalars vacíos:", l, N);
5725
5747
  }
5726
- const N = (m.variableName || "items").trim() || "items";
5727
- if (typeof S[N] == "undefined" && (S[N] = []), m.variableName2) {
5728
- const A = (m.variableName2 || "items2").trim() || "items2";
5729
- typeof S[A] == "undefined" && (S[A] = []);
5748
+ const E = (l.variableName || "items").trim() || "items";
5749
+ if (typeof S[E] == "undefined" && (S[E] = []), l.variableName2) {
5750
+ const N = (l.variableName2 || "items2").trim() || "items2";
5751
+ typeof S[N] == "undefined" && (S[N] = []);
5730
5752
  }
5731
5753
  return S;
5732
- }, G = (m) => {
5754
+ }, F = (l) => {
5733
5755
  try {
5734
- return w(m);
5756
+ return G(l);
5735
5757
  } catch (S) {
5736
- console.error("🔥 ERROR EN buildCompProps:", m, S);
5737
- const N = T(m);
5738
- if (N && N !== m)
5758
+ console.error("🔥 ERROR EN buildCompProps:", l, S);
5759
+ const E = k(l);
5760
+ if (E && E !== l)
5739
5761
  try {
5740
5762
  return console.warn(
5741
- `[landing] usando fallback local para sección ${m.title} (${m.componentKey})`
5742
- ), w(N);
5743
- } catch (A) {
5744
- console.error("🔥 ERROR EN fallback buildCompProps:", N, A);
5763
+ `[landing] usando fallback local para sección ${l.title} (${l.componentKey})`
5764
+ ), G(E);
5765
+ } catch (N) {
5766
+ console.error("🔥 ERROR EN fallback buildCompProps:", E, N);
5745
5767
  }
5746
- return D(m);
5768
+ return w(l);
5747
5769
  }
5748
- }, Z = (m, S, N) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5770
+ }, K = (l, S, E) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5749
5771
  loading: "bg-blue-100 text-blue-800",
5750
5772
  error: "bg-red-100 text-red-800",
5751
5773
  component: "bg-yellow-100 text-yellow-800"
5752
- }[S]}`, children: N }, m), Y = (m) => {
5774
+ }[S]}`, children: E }, l), Y = (l) => {
5753
5775
  var He;
5754
- const S = m.componentKey, N = no[S], B = (/* @__PURE__ */ new Set([
5776
+ const S = l.componentKey, E = no[S], B = (/* @__PURE__ */ new Set([
5755
5777
  "OraculoSeccionBanners",
5756
5778
  "OraculoSeccionBonoBienvenida",
5757
5779
  "OraculoSeccionCasinoEnVivo",
@@ -5764,35 +5786,35 @@ const it = [
5764
5786
  "OraculoSeccionDestacados",
5765
5787
  "OraculoSeccionCasino"
5766
5788
  ]
5767
- ])).has(m.componentKey), P = C ? 120 : 24, J = (C ? 8 : 5) * 8, te = m.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5789
+ ])).has(l.componentKey), L = C ? 120 : 24, J = (C ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5768
5790
  width: "100%",
5769
5791
  boxSizing: "border-box",
5770
- ...B ? {} : { paddingLeft: P, paddingRight: P },
5792
+ ...B ? {} : { paddingLeft: L, paddingRight: L },
5771
5793
  ...te ? {
5772
5794
  marginTop: -J,
5773
5795
  marginBottom: -J
5774
5796
  } : {}
5775
5797
  };
5776
- if (!N)
5777
- return console.warn(`No hay componente registrado para "${S}"`), Z(
5778
- m.id,
5798
+ if (!E)
5799
+ return console.warn(`No hay componente registrado para "${S}"`), K(
5800
+ l.id,
5779
5801
  "component",
5780
5802
  `Componente "${S}" no encontrado`
5781
5803
  );
5782
- const oe = !!((He = m.apiUrl) != null && He.trim()), We = oe ? c[m.id] : void 0, Ct = oe ? !!x[m.id] : !1, Ge = oe ? _[m.id] : "";
5804
+ const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? g[l.id] : void 0, Ct = oe ? !!_[l.id] : !1, Ge = oe ? y[l.id] : "";
5783
5805
  if (oe) {
5784
5806
  if (Ct && !We)
5785
- return Z(
5786
- m.id,
5807
+ return K(
5808
+ l.id,
5787
5809
  "loading",
5788
- `Cargando datos desde ${m.apiUrl}...`
5810
+ `Cargando datos desde ${l.apiUrl}...`
5789
5811
  );
5790
5812
  if (Ge && !We) {
5791
- const we = T(m);
5813
+ const we = k(l);
5792
5814
  if (we && we.dataMode === "manual")
5793
5815
  try {
5794
- const Re = G(we);
5795
- return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(N, { ...Re }) }, m.id);
5816
+ const Re = F(we);
5817
+ return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(E, { ...Re }) }, l.id);
5796
5818
  } catch (Re) {
5797
5819
  console.error(
5798
5820
  "🔥 ERROR renderizando fallback manual de sección:",
@@ -5800,25 +5822,25 @@ const it = [
5800
5822
  Re
5801
5823
  );
5802
5824
  }
5803
- return Z(
5804
- m.id,
5825
+ return K(
5826
+ l.id,
5805
5827
  "error",
5806
- `Error cargando ${m.apiUrl}: ${Ge}`
5828
+ `Error cargando ${l.apiUrl}: ${Ge}`
5807
5829
  );
5808
5830
  }
5809
5831
  }
5810
- const je = G(m), Ot = m.componentKey === "OraculoSeccionClubOlimpo" ? {
5832
+ const je = F(l), Ot = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5811
5833
  ...je,
5812
- user: l.user
5834
+ user: c.user
5813
5835
  } : je;
5814
- return /* @__PURE__ */ t(io, { section: m, children: /* @__PURE__ */ t(
5836
+ return /* @__PURE__ */ t(io, { section: l, children: /* @__PURE__ */ t(
5815
5837
  "div",
5816
5838
  {
5817
5839
  style: re,
5818
5840
  className: "oraculo-section-wrapper",
5819
- children: /* @__PURE__ */ t(N, { ...Ot })
5841
+ children: /* @__PURE__ */ t(E, { ...Ot })
5820
5842
  },
5821
- m.id
5843
+ l.id
5822
5844
  ) });
5823
5845
  };
5824
5846
  return p && !e ? f ? /* @__PURE__ */ t(f, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !p && !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(
@@ -5835,11 +5857,11 @@ const it = [
5835
5857
  maxWidth: "100%",
5836
5858
  overflowX: "hidden"
5837
5859
  },
5838
- children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: C ? 8 : 5, useFlexGap: !0, children: z.map((m) => {
5860
+ children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: C ? 8 : 5, useFlexGap: !0, children: z.map((l) => {
5839
5861
  try {
5840
- return Y(m);
5862
+ return Y(l);
5841
5863
  } catch (S) {
5842
- return console.error("🔥 ERROR EN SECTION:", m, S), null;
5864
+ return console.error("🔥 ERROR EN SECTION:", l, S), null;
5843
5865
  }
5844
5866
  }) })
5845
5867
  }
@@ -5864,7 +5886,7 @@ export {
5864
5886
  Te as OraculoGameCard,
5865
5887
  xa as OraculoGameRankCard,
5866
5888
  ft as OraculoGameSlide,
5867
- ue as OraculoGridGroup,
5889
+ me as OraculoGridGroup,
5868
5890
  wa as OraculoLiveCasinoCard,
5869
5891
  Ze as OraculoLogoMediosPago,
5870
5892
  Io as OraculoPageLandingPreview,