oraculo-ui 0.1.102 → 0.1.103

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,13 +1,13 @@
1
- import { jsx as e, jsxs as f, Fragment as oe } from "react/jsx-runtime";
2
- import { Link as He, Box as Z, IconButton as Le, Typography as Ke, Stack as be, useMediaQuery as st, Container as ct } from "@mui/material";
3
- import de, { useState as W, useEffect as K, useRef as P, forwardRef as dt, useImperativeHandle as ut, useCallback as ve, useContext as mt, createContext as pt, useMemo as ae, useLayoutEffect as gt } from "react";
4
- import U from "@mui/material/Skeleton";
1
+ import { jsx as e, jsxs as g, Fragment as Q } from "react/jsx-runtime";
2
+ import { Link as He, Box as Z, IconButton as Ae, Typography as Ke, Stack as ve, useMediaQuery as st, Container as ct } from "@mui/material";
3
+ import de, { useState as W, useEffect as K, useRef as U, forwardRef as dt, useImperativeHandle as ut, useCallback as _e, useContext as mt, createContext as pt, useMemo as ne, useLayoutEffect as gt } from "react";
4
+ import q from "@mui/material/Skeleton";
5
5
  import { Splide as ft, SplideSlide as ht } from "@splidejs/react-splide";
6
- import A from "@mui/material/Box";
7
- import te from "@mui/material/Typography";
8
- import q from "@mui/material/Stack";
6
+ import L from "@mui/material/Box";
7
+ import ae from "@mui/material/Typography";
8
+ import V from "@mui/material/Stack";
9
9
  import { useCaptureInteraction as J } from "@olimpo/capture-client";
10
- import { ChevronLeftRounded as Oe, ChevronRightRounded as Ee } from "@mui/icons-material";
10
+ import { ChevronLeftRounded as Ee, ChevronRightRounded as Ie } from "@mui/icons-material";
11
11
  import Ze from "@mui/icons-material/ChevronLeftRounded";
12
12
  import Je from "@mui/icons-material/ChevronRightRounded";
13
13
  import bt from "@mui/material/useMediaQuery";
@@ -27,46 +27,46 @@ function G({
27
27
  fullWidth: m = !1,
28
28
  fullHeight: c = !1,
29
29
  className: u = "",
30
- ariaLabel: y,
30
+ ariaLabel: _,
31
31
  leftIcon: x,
32
- rightIcon: E,
33
- iconOnly: B
32
+ rightIcon: I,
33
+ iconOnly: M
34
34
  }) {
35
- const v = !!t && t !== !0, I = (!!x ? 1 : 0) + (!!E ? 1 : 0) == 1, C = B != null ? B : I && !v, L = [
35
+ const v = !!t && t !== !0, C = (!!x ? 1 : 0) + (!!I ? 1 : 0) == 1, E = M != null ? M : C && !v, B = [
36
36
  "orc-btn",
37
37
  p === "secondary" ? "orc-btn--secondary" : p === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
38
  b ? `orc-btn--${b}` : "",
39
39
  m ? "orc-btn--full" : "",
40
40
  c ? "orc-btn--fullHeight" : "",
41
- C ? "orc-btn--iconOnly" : "",
41
+ E ? "orc-btn--iconOnly" : "",
42
42
  u
43
- ].filter(Boolean).join(" "), S = /* @__PURE__ */ f(oe, { children: [
43
+ ].filter(Boolean).join(" "), A = /* @__PURE__ */ g(Q, { children: [
44
44
  x && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: x }),
45
- !C && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
46
- E && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: E })
47
- ] }), M = d ? !0 : void 0;
45
+ !E && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
46
+ I && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: I })
47
+ ] }), O = d ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ e(
49
49
  He,
50
50
  {
51
51
  href: n,
52
52
  target: i,
53
53
  rel: r,
54
- "aria-label": y,
55
- "aria-disabled": M,
56
- tabIndex: M ? -1 : void 0,
57
- className: L,
58
- onClick: M ? (F) => F.preventDefault() : a,
59
- children: S
54
+ "aria-label": _,
55
+ "aria-disabled": O,
56
+ tabIndex: O ? -1 : void 0,
57
+ className: B,
58
+ onClick: O ? (R) => R.preventDefault() : a,
59
+ children: A
60
60
  }
61
61
  ) : /* @__PURE__ */ e(
62
62
  "button",
63
63
  {
64
64
  type: o,
65
65
  onClick: a,
66
- disabled: !!M,
67
- "aria-label": y,
68
- className: L,
69
- children: S
66
+ disabled: !!O,
67
+ "aria-label": _,
68
+ className: B,
69
+ children: A
70
70
  }
71
71
  );
72
72
  }
@@ -81,7 +81,7 @@ function le({
81
81
  n ? `orc-section-title--${n}` : "",
82
82
  i
83
83
  ].filter(Boolean).join(" ");
84
- return /* @__PURE__ */ f("div", { className: o, children: [
84
+ return /* @__PURE__ */ g("div", { className: o, children: [
85
85
  a && /* @__PURE__ */ e(
86
86
  "img",
87
87
  {
@@ -125,7 +125,7 @@ const Xe = ({
125
125
  ) }, m);
126
126
  }) });
127
127
  };
128
- function ne({
128
+ function oe({
129
129
  children: t,
130
130
  minWidth: a = 32,
131
131
  spacing: n = 2,
@@ -147,7 +147,7 @@ function ne({
147
147
  }
148
148
  );
149
149
  }
150
- function Ae({ src: t, alt: a }) {
150
+ function Re({ src: t, alt: a }) {
151
151
  return /* @__PURE__ */ e(
152
152
  Z,
153
153
  {
@@ -178,16 +178,16 @@ function Ae({ src: t, alt: a }) {
178
178
  }
179
179
  );
180
180
  }
181
- const Ct = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ot = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Et = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Ie = {
181
+ const Ct = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ot = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Et = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Te = {
182
182
  contenedor: Ct,
183
183
  flexGroup: Ot,
184
184
  subtitle: Et
185
185
  };
186
186
  function It({ title: t, subtitle: a }) {
187
- return /* @__PURE__ */ f(
187
+ return /* @__PURE__ */ g(
188
188
  "div",
189
189
  {
190
- className: Ie.contenedor,
190
+ className: Te.contenedor,
191
191
  children: [
192
192
  /* @__PURE__ */ e(
193
193
  "span",
@@ -200,17 +200,17 @@ function It({ title: t, subtitle: a }) {
200
200
  children: t
201
201
  }
202
202
  ),
203
- a && /* @__PURE__ */ f(
203
+ a && /* @__PURE__ */ g(
204
204
  "div",
205
205
  {
206
- className: Ie.flexGroup,
206
+ className: Te.flexGroup,
207
207
  children: [
208
- /* @__PURE__ */ f("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
208
+ /* @__PURE__ */ g("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__ */ e("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
211
211
  " "
212
212
  ] }),
213
- /* @__PURE__ */ e("span", { className: Ie.subtitle, children: a }),
213
+ /* @__PURE__ */ e("span", { className: Te.subtitle, children: a }),
214
214
  /* @__PURE__ */ e("div", {})
215
215
  ]
216
216
  }
@@ -241,13 +241,13 @@ function Tt({ text: t, color: a = "#ff3b3b", textColor: n = "#fff" }) {
241
241
  );
242
242
  }
243
243
  function kt({ live: t, time: a }) {
244
- return /* @__PURE__ */ f("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
244
+ return /* @__PURE__ */ g("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
245
245
  t && /* @__PURE__ */ e(Tt, { text: "En vivo" }),
246
246
  a && /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: a })
247
247
  ] });
248
248
  }
249
249
  function $t({ title: t, subtitle: a, live: n = !1, time: i = "" }) {
250
- return /* @__PURE__ */ f(
250
+ return /* @__PURE__ */ g(
251
251
  "div",
252
252
  {
253
253
  style: {
@@ -275,15 +275,15 @@ const Bt = "oraculo__OraculoEventLeague-module__container___rdk4F", Lt = {
275
275
  function Qe({ title: t }) {
276
276
  return /* @__PURE__ */ e("div", { className: Lt.container, children: t.toUpperCase() });
277
277
  }
278
- const At = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Ft = "oraculo__OraculoEventScore-module__name___r4uL6", Rt = "oraculo__OraculoEventScore-module__score___Xl03M", zt = "oraculo__OraculoEventScore-module__normal___cCNFz", Pt = "oraculo__OraculoEventScore-module__small___fVt8E", me = {
278
+ const At = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Rt = "oraculo__OraculoEventScore-module__name___r4uL6", Ft = "oraculo__OraculoEventScore-module__score___Xl03M", Pt = "oraculo__OraculoEventScore-module__normal___cCNFz", zt = "oraculo__OraculoEventScore-module__small___fVt8E", me = {
279
279
  scoreWrapper: At,
280
- name: Ft,
281
- score: Rt,
282
- normal: zt,
283
- small: Pt
280
+ name: Rt,
281
+ score: Ft,
282
+ normal: Pt,
283
+ small: zt
284
284
  };
285
285
  function et({ text: t, name: a, size: n = "normal" }) {
286
- return /* @__PURE__ */ f(
286
+ return /* @__PURE__ */ g(
287
287
  "div",
288
288
  {
289
289
  className: `${me.scoreWrapper} ${me[n]}`,
@@ -301,7 +301,7 @@ const Ut = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", qt = "oraculo__
301
301
  logo: Dt,
302
302
  name: Wt,
303
303
  skeleton: jt
304
- }, Gt = "oraculo__OraculoTeamPolo-module__polo___BisRg", Ht = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", Kt = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", Zt = "oraculo__OraculoTeamPolo-module__highlight___1etm7", fe = {
304
+ }, Gt = "oraculo__OraculoTeamPolo-module__polo___BisRg", Ht = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", Kt = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", Zt = "oraculo__OraculoTeamPolo-module__highlight___1etm7", he = {
305
305
  polo: Gt,
306
306
  svgWrapper: Ht,
307
307
  shadow: Kt,
@@ -309,8 +309,8 @@ const Ut = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", qt = "oraculo__
309
309
  };
310
310
  function Jt({ jersey: t, className: a }) {
311
311
  const n = `#${t.base}`, i = t.sleeve ? `#${t.sleeve}` : n, r = t.stripes ? `#${t.stripes}` : null, o = t.sleevelong ? `#${t.sleevelong}` : null;
312
- return /* @__PURE__ */ f("div", { className: `${fe.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ e("div", { className: fe.svgWrapper, children: /* @__PURE__ */ f("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
312
+ return /* @__PURE__ */ g("div", { className: `${he.polo} ${a != null ? a : ""}`, children: [
313
+ /* @__PURE__ */ e("div", { className: he.svgWrapper, children: /* @__PURE__ */ g("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
314
314
  /* @__PURE__ */ e(
315
315
  "path",
316
316
  {
@@ -318,11 +318,11 @@ function Jt({ jersey: t, 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
- r && /* @__PURE__ */ f(oe, { children: [
321
+ r && /* @__PURE__ */ g(Q, { children: [
322
322
  /* @__PURE__ */ e("path", { fill: r, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
323
323
  /* @__PURE__ */ e("path", { fill: r, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
324
324
  ] }),
325
- o && /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e("path", { fill: o, 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
+ o && /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e("path", { fill: o, 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__ */ e(
327
327
  "path",
328
328
  {
@@ -350,7 +350,7 @@ function Jt({ jersey: t, className: a }) {
350
350
  "img",
351
351
  {
352
352
  src: "https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",
353
- className: fe.shadow,
353
+ className: he.shadow,
354
354
  alt: "",
355
355
  "aria-hidden": !0
356
356
  }
@@ -359,22 +359,22 @@ function Jt({ jersey: t, className: a }) {
359
359
  "img",
360
360
  {
361
361
  src: "https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png",
362
- className: fe.highlight,
362
+ className: he.highlight,
363
363
  alt: "",
364
364
  "aria-hidden": !0
365
365
  }
366
366
  )
367
367
  ] });
368
368
  }
369
- function we({ name: t, jersey: a, size: n = "regular" }) {
370
- return /* @__PURE__ */ f("div", { className: `oli-font ${pe.team} ${pe[n]}`, children: [
369
+ function Se({ name: t, jersey: a, size: n = "regular" }) {
370
+ return /* @__PURE__ */ g("div", { className: `oli-font ${pe.team} ${pe[n]}`, children: [
371
371
  a != null && a.base ? /* @__PURE__ */ e(
372
372
  Jt,
373
373
  {
374
374
  jersey: a,
375
375
  className: `${pe.logo}`
376
376
  }
377
- ) : /* @__PURE__ */ e(U, { variant: "circular", className: `${pe.logo} ${pe.skeleton}` }),
377
+ ) : /* @__PURE__ */ e(q, { variant: "circular", className: `${pe.logo} ${pe.skeleton}` }),
378
378
  /* @__PURE__ */ e("span", { className: pe.name, children: t })
379
379
  ] });
380
380
  }
@@ -383,7 +383,7 @@ function Xt(t, a, {
383
383
  threshold: i = 60,
384
384
  cooldownMs: r = 500
385
385
  } = {}) {
386
- const o = P(0), d = P(0);
386
+ const o = U(0), d = U(0);
387
387
  K(() => {
388
388
  if (!n) return;
389
389
  const p = t.current;
@@ -391,23 +391,25 @@ function Xt(t, a, {
391
391
  const b = (m) => {
392
392
  const c = a.current;
393
393
  if (!c || !c.go) return;
394
- const { deltaX: u, deltaY: y } = m;
395
- if (Math.abs(u) <= Math.abs(y)) return;
394
+ const { deltaX: u, deltaY: _ } = m;
395
+ if (Math.abs(u) <= Math.abs(_)) return;
396
396
  m.preventDefault(), o.current += u;
397
397
  const x = Date.now();
398
398
  if (x - d.current < r || Math.abs(o.current) < i) return;
399
- const E = o.current > 0 ? ">" : "<";
400
- o.current = 0, d.current = x, c.go(E);
399
+ const I = o.current > 0 ? ">" : "<";
400
+ o.current = 0, d.current = x, c.go(I);
401
401
  };
402
402
  return p.addEventListener("wheel", b, { passive: !1 }), () => {
403
403
  p.removeEventListener("wheel", b), o.current = 0;
404
404
  };
405
405
  }, [n, i, r, t, a]);
406
406
  }
407
- const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "oraculo__OraculoCarousel-module__svg___0mGuX", Fe = {
407
+ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "oraculo__OraculoCarousel-module__right___KwpOE", ea = "oraculo__OraculoCarousel-module__left___n3WQu", ta = "oraculo__OraculoCarousel-module__svg___0mGuX", ge = {
408
408
  gradientOverlay: Yt,
409
- svg: Qt
410
- }, ea = ft, ta = ht, se = dt(
409
+ right: Qt,
410
+ left: ea,
411
+ svg: ta
412
+ }, aa = ft, na = ht, se = dt(
411
413
  ({
412
414
  items: t = [],
413
415
  renderItem: a,
@@ -421,80 +423,81 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
421
423
  enableHorizontalWheel: m = !0,
422
424
  showRightGradient: c = !1
423
425
  }, u) => {
424
- const y = P(null), x = P(null), E = P(t.length), B = P(null);
425
- Xt(x, y, {
426
+ const _ = U(null), x = U(null), I = U(t.length), M = U(null), v = U(null);
427
+ Xt(x, _, {
426
428
  enabled: m
427
429
  }), ut(u, () => ({
428
430
  next: () => {
429
- var S;
430
- return (S = y.current) == null ? void 0 : S.go(">");
431
+ var O;
432
+ return (O = _.current) == null ? void 0 : O.go(">");
431
433
  },
432
434
  prev: () => {
433
- var S;
434
- return (S = y.current) == null ? void 0 : S.go("<");
435
+ var O;
436
+ return (O = _.current) == null ? void 0 : O.go("<");
435
437
  },
436
- go: (S) => {
437
- var M;
438
- return (M = y.current) == null ? void 0 : M.go(S);
438
+ go: (O) => {
439
+ var R;
440
+ return (R = _.current) == null ? void 0 : R.go(O);
439
441
  }
440
442
  }));
441
- const v = (S) => {
442
- var s;
443
- const M = S.Components.Slides, F = S.Components.Controller, V = S.root.querySelector(".splide__track"), O = (s = V == null ? void 0 : V.clientWidth) != null ? s : 0, k = F.getIndex(), z = M.getLength();
444
- let g = 0, l = k;
445
- for (let h = k; h < z; h++) {
446
- const w = M.getAt(h);
447
- if (!w || (g += w.slide.offsetWidth, g > O)) break;
448
- l = h;
443
+ const T = (O) => {
444
+ var h;
445
+ const R = O.Components.Slides, z = O.Components.Controller, S = O.root.querySelector(".splide__track"), k = (h = S == null ? void 0 : S.clientWidth) != null ? h : 0, F = z.getIndex(), f = R.getLength();
446
+ let l = 0, s = F;
447
+ for (let y = F; y < f; y++) {
448
+ const $ = R.getAt(y);
449
+ if (!$ || (l += $.slide.offsetWidth, l > k)) break;
450
+ s = y;
449
451
  }
450
- return { visibleStart: k, visibleEnd: l };
451
- }, T = (S) => {
452
- const M = S.root.querySelector(".splide__track"), F = S.root.querySelector(".splide__list");
453
- return !M || !F ? !1 : F.scrollWidth > M.clientWidth + 1;
454
- }, _ = ve((S) => {
455
- const F = S.Components.Slides.getLength();
456
- if (!T(S)) {
452
+ return { visibleStart: F, visibleEnd: s };
453
+ }, w = (O) => {
454
+ const R = O.root.querySelector(".splide__track"), z = O.root.querySelector(".splide__list");
455
+ return !R || !z ? !1 : z.scrollWidth > R.clientWidth + 1;
456
+ }, C = _e((O) => {
457
+ var s, h;
458
+ const z = O.Components.Slides.getLength();
459
+ if (!w(O)) {
457
460
  p == null || p({
458
461
  index: 0,
459
462
  isStart: !0,
460
463
  isEnd: !0,
461
- total: F,
464
+ total: z,
462
465
  visibleStart: 0,
463
- visibleEnd: F - 1
466
+ visibleEnd: z - 1
464
467
  });
465
468
  return;
466
469
  }
467
- const { visibleStart: V, visibleEnd: O } = v(S), k = V === 0, z = O === F - 1;
468
- c && B.current && B.current.style.setProperty("--gradient-opacity", z ? "0" : "1");
469
- const g = S.Components.Controller.getIndex();
470
+ const { visibleStart: S, visibleEnd: k } = T(O), F = S === 0, f = k === z - 1;
471
+ c && ((s = M.current) == null || s.style.setProperty("--gradient-opacity", F ? "0" : "1"), (h = v.current) == null || h.style.setProperty("--gradient-opacity", f ? "0" : "1"));
472
+ const l = O.Components.Controller.getIndex();
470
473
  p == null || p({
471
- index: g,
472
- isStart: k,
473
- isEnd: z,
474
- total: F,
475
- visibleStart: V,
476
- visibleEnd: O
474
+ index: l,
475
+ isStart: F,
476
+ isEnd: f,
477
+ total: z,
478
+ visibleStart: S,
479
+ visibleEnd: k
477
480
  });
478
481
  }, [p]);
479
482
  de.useEffect(() => {
480
- var F;
481
- const S = (F = y.current) == null ? void 0 : F.splide;
482
- if (!S) return;
483
- const M = E.current !== t.length;
484
- E.current = t.length, M && requestAnimationFrame(() => {
485
- S.refresh(), _(S);
483
+ var z;
484
+ const O = (z = _.current) == null ? void 0 : z.splide;
485
+ if (!O) return;
486
+ const R = I.current !== t.length;
487
+ I.current = t.length, R && requestAnimationFrame(() => {
488
+ O.refresh(), C(O);
486
489
  });
487
- }, [t.length, _]);
488
- const I = ve(() => {
489
- var M;
490
- const S = (M = y.current) == null ? void 0 : M.splide;
491
- S && (S.go(0, !1), _(S));
492
- }, [_]), C = ve(
493
- (S) => {
494
- _(S);
490
+ }, [t.length, C]);
491
+ const E = _e(() => {
492
+ var R;
493
+ const O = (R = _.current) == null ? void 0 : R.splide;
494
+ O && (O.go(0, !1), C(O));
495
+ }, [C]), B = _e(
496
+ (O) => {
497
+ C(O);
495
498
  },
496
- [_]
497
- ), L = {
499
+ [C]
500
+ ), A = {
498
501
  type: "slide",
499
502
  trimSpace: !1,
500
503
  drag: !0,
@@ -509,49 +512,76 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
509
512
  ...o,
510
513
  ...m ? { wheel: !1 } : {}
511
514
  };
512
- return /* @__PURE__ */ f("div", { ref: x, className: d, style: { width: "100%", position: "relative" }, children: [
515
+ return /* @__PURE__ */ g("div", { ref: x, className: d, style: { width: "100%", position: "relative" }, children: [
513
516
  /* @__PURE__ */ e(
514
- ea,
517
+ aa,
515
518
  {
516
- ref: y,
517
- options: L,
518
- onMove: _,
519
- onMounted: C,
520
- onResize: I,
521
- children: t.map((S, M) => {
522
- var F;
523
- return /* @__PURE__ */ e(ta, { children: a(S, M) }, b ? M : (F = S.id) != null ? F : M);
519
+ ref: _,
520
+ options: A,
521
+ onMove: C,
522
+ onMounted: B,
523
+ onResize: E,
524
+ children: t.map((O, R) => {
525
+ var z;
526
+ return /* @__PURE__ */ e(na, { children: a(O, R) }, b ? R : (z = O.id) != null ? z : R);
524
527
  })
525
528
  }
526
529
  ),
527
- c && /* @__PURE__ */ e(
528
- "div",
529
- {
530
- ref: B,
531
- className: Fe.gradientOverlay,
532
- style: { "--gradient-opacity": "1" },
533
- children: /* @__PURE__ */ f(
534
- "svg",
535
- {
536
- className: Fe.svg,
537
- viewBox: "0 0 152 184",
538
- preserveAspectRatio: "none",
539
- fill: "none",
540
- xmlns: "http://www.w3.org/2000/svg",
541
- children: [
542
- /* @__PURE__ */ e("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint0_linear_7539_35919)" }),
543
- /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ f("linearGradient", { id: "paint0_linear_7539_35919", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
544
- /* @__PURE__ */ e("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
545
- /* @__PURE__ */ e("stop", { offset: "1", stopColor: "#121212" })
546
- ] }) })
547
- ]
548
- }
549
- )
550
- }
551
- )
530
+ c && /* @__PURE__ */ g(Q, { children: [
531
+ /* @__PURE__ */ e(
532
+ "div",
533
+ {
534
+ ref: M,
535
+ className: `${ge.gradientOverlay} ${ge.left}`,
536
+ style: { "--gradient-opacity": "0" },
537
+ children: /* @__PURE__ */ g(
538
+ "svg",
539
+ {
540
+ className: ge.svg,
541
+ viewBox: "0 0 152 184",
542
+ preserveAspectRatio: "none",
543
+ fill: "none",
544
+ xmlns: "http://www.w3.org/2000/svg",
545
+ children: [
546
+ /* @__PURE__ */ e("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
547
+ /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ g("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
548
+ /* @__PURE__ */ e("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
549
+ /* @__PURE__ */ e("stop", { offset: "1", stopColor: "#121212" })
550
+ ] }) })
551
+ ]
552
+ }
553
+ )
554
+ }
555
+ ),
556
+ /* @__PURE__ */ e(
557
+ "div",
558
+ {
559
+ ref: v,
560
+ className: `${ge.gradientOverlay} ${ge.right}`,
561
+ style: { "--gradient-opacity": "1" },
562
+ children: /* @__PURE__ */ g(
563
+ "svg",
564
+ {
565
+ className: ge.svg,
566
+ viewBox: "0 0 152 184",
567
+ preserveAspectRatio: "none",
568
+ fill: "none",
569
+ xmlns: "http://www.w3.org/2000/svg",
570
+ children: [
571
+ /* @__PURE__ */ e("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
572
+ /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ g("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
573
+ /* @__PURE__ */ e("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
574
+ /* @__PURE__ */ e("stop", { offset: "1", stopColor: "#121212" })
575
+ ] }) })
576
+ ]
577
+ }
578
+ )
579
+ }
580
+ )
581
+ ] })
552
582
  ] });
553
583
  }
554
- ), _e = ({
584
+ ), ye = ({
555
585
  imageUrl: t,
556
586
  onClick: a,
557
587
  size: n = "sm",
@@ -560,8 +590,8 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
560
590
  const r = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, o = (p) => {
561
591
  p.stopPropagation(), a == null || a();
562
592
  }, d = i ? { width: "100%", height: "100%" } : { width: `${r.w}px`, height: `${r.h}px` };
563
- return /* @__PURE__ */ f(
564
- A,
593
+ return /* @__PURE__ */ g(
594
+ L,
565
595
  {
566
596
  onClick: a,
567
597
  role: "button",
@@ -603,7 +633,7 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
603
633
  }
604
634
  ),
605
635
  /* @__PURE__ */ e(
606
- A,
636
+ L,
607
637
  {
608
638
  className: "oraculo-game-card-overlay",
609
639
  sx: {
@@ -618,7 +648,7 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
618
648
  }
619
649
  ),
620
650
  /* @__PURE__ */ e(
621
- A,
651
+ L,
622
652
  {
623
653
  className: "oraculo-game-card-btn",
624
654
  sx: {
@@ -638,7 +668,7 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
638
668
  }
639
669
  );
640
670
  };
641
- function aa({
671
+ function oa({
642
672
  imageUrl: t,
643
673
  orden: a = 1,
644
674
  onClick: n,
@@ -648,19 +678,19 @@ function aa({
648
678
  md: { w: 186, h: 264, r: 22.6, font: 64 }
649
679
  }
650
680
  }) {
651
- var u, y, x, E;
652
- const o = (B, v) => {
653
- var T, _, I, C;
681
+ var u, _, x, I;
682
+ const o = (M, v) => {
683
+ var T, w, C, E;
654
684
  return {
655
- xs: (_ = (T = r.xs) == null ? void 0 : T[B]) != null ? _ : v,
656
- md: (C = (I = r.md) == null ? void 0 : I[B]) != null ? C : v
685
+ xs: (w = (T = r.xs) == null ? void 0 : T[M]) != null ? w : v,
686
+ md: (E = (C = r.md) == null ? void 0 : C[M]) != null ? E : v
657
687
  };
658
688
  }, d = o("w", 186), p = o("h", 264), b = o("r", 22.6), m = o("font", 64), c = {
659
- xs: Math.round(((y = (u = r.xs) == null ? void 0 : u.font) != null ? y : 64) * 0.28),
660
- md: Math.round(((E = (x = r.md) == null ? void 0 : x.font) != null ? E : 64) * 0.28)
689
+ xs: Math.round(((_ = (u = r.xs) == null ? void 0 : u.font) != null ? _ : 64) * 0.28),
690
+ md: Math.round(((I = (x = r.md) == null ? void 0 : x.font) != null ? I : 64) * 0.28)
661
691
  };
662
- return /* @__PURE__ */ f(
663
- A,
692
+ return /* @__PURE__ */ g(
693
+ L,
664
694
  {
665
695
  sx: {
666
696
  position: "relative",
@@ -687,7 +717,7 @@ function aa({
687
717
  },
688
718
  children: [
689
719
  /* @__PURE__ */ e(
690
- A,
720
+ L,
691
721
  {
692
722
  sx: {
693
723
  position: "absolute",
@@ -696,7 +726,7 @@ function aa({
696
726
  overflow: "hidden"
697
727
  },
698
728
  children: i ? /* @__PURE__ */ e(
699
- U,
729
+ q,
700
730
  {
701
731
  variant: "rectangular",
702
732
  width: "100%",
@@ -710,7 +740,7 @@ function aa({
710
740
  }
711
741
  }
712
742
  ) : /* @__PURE__ */ e(
713
- _e,
743
+ ye,
714
744
  {
715
745
  imageUrl: t,
716
746
  onClick: n,
@@ -721,7 +751,7 @@ function aa({
721
751
  }
722
752
  ),
723
753
  /* @__PURE__ */ e(
724
- A,
754
+ L,
725
755
  {
726
756
  component: "span",
727
757
  sx: {
@@ -749,7 +779,7 @@ function aa({
749
779
  }
750
780
  );
751
781
  }
752
- const na = ({
782
+ const ia = ({
753
783
  logo: t,
754
784
  provider: a,
755
785
  providerName: n,
@@ -757,8 +787,8 @@ const na = ({
757
787
  onClick: r
758
788
  }) => {
759
789
  var o;
760
- return /* @__PURE__ */ f(
761
- A,
790
+ return /* @__PURE__ */ g(
791
+ L,
762
792
  {
763
793
  onClick: r,
764
794
  sx: {
@@ -782,7 +812,7 @@ const na = ({
782
812
  },
783
813
  children: [
784
814
  /* @__PURE__ */ e(
785
- A,
815
+ L,
786
816
  {
787
817
  component: "img",
788
818
  src: t,
@@ -798,7 +828,7 @@ const na = ({
798
828
  }
799
829
  ),
800
830
  /* @__PURE__ */ e(
801
- A,
831
+ L,
802
832
  {
803
833
  className: "orc-live-provider-label",
804
834
  sx: {
@@ -812,7 +842,7 @@ const na = ({
812
842
  pointerEvents: "none"
813
843
  },
814
844
  children: /* @__PURE__ */ e(
815
- te,
845
+ ae,
816
846
  {
817
847
  sx: {
818
848
  color: "#fff",
@@ -828,8 +858,8 @@ const na = ({
828
858
  ]
829
859
  }
830
860
  );
831
- }, Te = 12, ke = ({ r: t = 16 }) => /* @__PURE__ */ e(A, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
832
- U,
861
+ }, ke = 12, $e = ({ r: t = 16 }) => /* @__PURE__ */ e(L, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
862
+ q,
833
863
  {
834
864
  variant: "rectangular",
835
865
  width: "100%",
@@ -853,8 +883,8 @@ const na = ({
853
883
  var o, d;
854
884
  if (a === "mosaic") {
855
885
  const p = t[0], b = t.slice(1, 5);
856
- return /* @__PURE__ */ f(
857
- A,
886
+ return /* @__PURE__ */ g(
887
+ L,
858
888
  {
859
889
  sx: {
860
890
  display: "grid",
@@ -871,14 +901,14 @@ const na = ({
871
901
  xs: "104px",
872
902
  md: "152px"
873
903
  },
874
- columnGap: `${Te}px`,
875
- rowGap: `${Te}px`,
904
+ columnGap: `${ke}px`,
905
+ rowGap: `${ke}px`,
876
906
  alignItems: "stretch",
877
907
  justifyItems: "stretch"
878
908
  },
879
909
  children: [
880
910
  /* @__PURE__ */ e(
881
- A,
911
+ L,
882
912
  {
883
913
  sx: {
884
914
  width: { xs: 184, md: 280 },
@@ -887,8 +917,8 @@ const na = ({
887
917
  overflow: "hidden",
888
918
  borderRadius: 2
889
919
  },
890
- children: i ? /* @__PURE__ */ e(ke, {}) : p && /* @__PURE__ */ e(
891
- _e,
920
+ children: i ? /* @__PURE__ */ e($e, {}) : p && /* @__PURE__ */ e(
921
+ ye,
892
922
  {
893
923
  imageUrl: `https://olimpo.bet${(d = (o = p.background) != null ? o : p.imageUrl) != null ? d : ""}`,
894
924
  size: "lg",
@@ -899,9 +929,9 @@ const na = ({
899
929
  }
900
930
  ),
901
931
  (i ? Array.from({ length: 4 }) : b).map((m, c) => {
902
- var u, y;
932
+ var u, _;
903
933
  return /* @__PURE__ */ e(
904
- A,
934
+ L,
905
935
  {
906
936
  sx: {
907
937
  width: { xs: 104, md: 152 },
@@ -909,10 +939,10 @@ const na = ({
909
939
  overflow: "hidden",
910
940
  borderRadius: 2
911
941
  },
912
- children: i ? /* @__PURE__ */ e(ke, {}) : /* @__PURE__ */ e(
913
- _e,
942
+ children: i ? /* @__PURE__ */ e($e, {}) : /* @__PURE__ */ e(
943
+ ye,
914
944
  {
915
- imageUrl: `https://olimpo.bet${(y = (u = m.background) != null ? u : m.imageUrl) != null ? y : ""}`,
945
+ imageUrl: `https://olimpo.bet${(_ = (u = m.background) != null ? u : m.imageUrl) != null ? _ : ""}`,
916
946
  size: "sm",
917
947
  fillParent: !0,
918
948
  onClick: () => n == null ? void 0 : n(m, c + 1)
@@ -927,7 +957,7 @@ const na = ({
927
957
  );
928
958
  }
929
959
  return /* @__PURE__ */ e(
930
- A,
960
+ L,
931
961
  {
932
962
  sx: {
933
963
  display: "grid",
@@ -939,17 +969,17 @@ const na = ({
939
969
  xs: "repeat(2, 112px)",
940
970
  md: "repeat(2, 168px)"
941
971
  },
942
- gap: `${Te}px`,
972
+ gap: `${ke}px`,
943
973
  gridAutoFlow: "column"
944
974
  },
945
975
  children: (i ? Array.from({ length: r }) : t).map((p, b) => {
946
976
  var m, c, u;
947
977
  return /* @__PURE__ */ e(
948
- A,
978
+ L,
949
979
  {
950
980
  sx: { overflow: "hidden", borderRadius: 2 },
951
- children: i ? /* @__PURE__ */ e(ke, {}) : /* @__PURE__ */ e(
952
- _e,
981
+ children: i ? /* @__PURE__ */ e($e, {}) : /* @__PURE__ */ e(
982
+ ye,
953
983
  {
954
984
  imageUrl: `https://olimpo.bet${(c = (m = p.background) != null ? m : p.imageUrl) != null ? c : ""}`,
955
985
  size: "sm",
@@ -963,7 +993,7 @@ const na = ({
963
993
  })
964
994
  }
965
995
  );
966
- }, Re = ({
996
+ }, Fe = ({
967
997
  title: t,
968
998
  amount: a,
969
999
  subtitle: n,
@@ -975,8 +1005,8 @@ const na = ({
975
1005
  variant: b = "small"
976
1006
  }) => {
977
1007
  const m = a ? a.slice(0, 2) : "", c = a ? a.slice(2) : "", u = b === "large";
978
- return /* @__PURE__ */ f(
979
- A,
1008
+ return /* @__PURE__ */ g(
1009
+ L,
980
1010
  {
981
1011
  className: p,
982
1012
  sx: {
@@ -990,7 +1020,7 @@ const na = ({
990
1020
  },
991
1021
  children: [
992
1022
  o && /* @__PURE__ */ e(
993
- A,
1023
+ L,
994
1024
  {
995
1025
  sx: {
996
1026
  position: "relative",
@@ -1003,7 +1033,7 @@ const na = ({
1003
1033
  overflow: "hidden"
1004
1034
  },
1005
1035
  children: /* @__PURE__ */ e(
1006
- A,
1036
+ L,
1007
1037
  {
1008
1038
  component: "img",
1009
1039
  src: o,
@@ -1023,7 +1053,7 @@ const na = ({
1023
1053
  }
1024
1054
  ),
1025
1055
  /* @__PURE__ */ e(
1026
- A,
1056
+ L,
1027
1057
  {
1028
1058
  sx: {
1029
1059
  position: "absolute",
@@ -1036,8 +1066,8 @@ const na = ({
1036
1066
  pl: "14%",
1037
1067
  pr: { xs: "14%", lg: "15%" }
1038
1068
  },
1039
- children: /* @__PURE__ */ f(
1040
- A,
1069
+ children: /* @__PURE__ */ g(
1070
+ L,
1041
1071
  {
1042
1072
  sx: {
1043
1073
  maxWidth: "60%",
@@ -1047,7 +1077,7 @@ const na = ({
1047
1077
  },
1048
1078
  children: [
1049
1079
  t && /* @__PURE__ */ e(
1050
- te,
1080
+ ae,
1051
1081
  {
1052
1082
  sx: {
1053
1083
  fontSize: { xs: 12, md: 20 },
@@ -1057,8 +1087,8 @@ const na = ({
1057
1087
  children: t
1058
1088
  }
1059
1089
  ),
1060
- a && /* @__PURE__ */ f(
1061
- A,
1090
+ a && /* @__PURE__ */ g(
1091
+ L,
1062
1092
  {
1063
1093
  component: "p",
1064
1094
  sx: {
@@ -1076,7 +1106,7 @@ const na = ({
1076
1106
  },
1077
1107
  children: [
1078
1108
  /* @__PURE__ */ e(
1079
- A,
1109
+ L,
1080
1110
  {
1081
1111
  component: "span",
1082
1112
  sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
@@ -1084,7 +1114,7 @@ const na = ({
1084
1114
  }
1085
1115
  ),
1086
1116
  /* @__PURE__ */ e(
1087
- A,
1117
+ L,
1088
1118
  {
1089
1119
  component: "span",
1090
1120
  sx: { fontSize: { xs: 52, md: 77 } },
@@ -1095,7 +1125,7 @@ const na = ({
1095
1125
  }
1096
1126
  ),
1097
1127
  n && /* @__PURE__ */ e(
1098
- te,
1128
+ ae,
1099
1129
  {
1100
1130
  sx: {
1101
1131
  pb: "20px",
@@ -1115,7 +1145,7 @@ const na = ({
1115
1145
  ]
1116
1146
  }
1117
1147
  );
1118
- }, oa = ({
1148
+ }, ra = ({
1119
1149
  text: t,
1120
1150
  buttonLabel: a = "Conoce más",
1121
1151
  onClick: n,
@@ -1123,7 +1153,7 @@ const na = ({
1123
1153
  imgSrcMobile: r,
1124
1154
  imgSrcDesktopBg: o,
1125
1155
  imgSrcDesktopLogo: d
1126
- }) => /* @__PURE__ */ f(oe, { children: [
1156
+ }) => /* @__PURE__ */ g(Q, { children: [
1127
1157
  /* @__PURE__ */ e("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ e(
1128
1158
  "img",
1129
1159
  {
@@ -1132,7 +1162,7 @@ const na = ({
1132
1162
  className: "orc-co-bgMobileImg"
1133
1163
  }
1134
1164
  ) }),
1135
- /* @__PURE__ */ f("div", { className: "orc-co-bgDesktop", children: [
1165
+ /* @__PURE__ */ g("div", { className: "orc-co-bgDesktop", children: [
1136
1166
  o && /* @__PURE__ */ e("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ e(
1137
1167
  "img",
1138
1168
  {
@@ -1141,7 +1171,7 @@ const na = ({
1141
1171
  className: "orc-co-bgDesktopImg"
1142
1172
  }
1143
1173
  ) }),
1144
- /* @__PURE__ */ f("div", { className: "orc-co-desktopContent", children: [
1174
+ /* @__PURE__ */ g("div", { className: "orc-co-desktopContent", children: [
1145
1175
  d && /* @__PURE__ */ e(
1146
1176
  "img",
1147
1177
  {
@@ -1154,32 +1184,32 @@ const na = ({
1154
1184
  /* @__PURE__ */ e(G, { onClick: n, variant: "primary", size: "md", children: a })
1155
1185
  ] })
1156
1186
  ] }),
1157
- /* @__PURE__ */ f("div", { className: "orc-co-bottom", children: [
1187
+ /* @__PURE__ */ g("div", { className: "orc-co-bottom", children: [
1158
1188
  /* @__PURE__ */ e("p", { className: "orc-co-caption", children: t }),
1159
1189
  /* @__PURE__ */ e(G, { onClick: n, variant: "primary", size: "md", children: a })
1160
1190
  ] })
1161
- ] }), ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", ra = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", la = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", sa = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", ca = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", da = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", ua = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", ma = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", pa = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", Q = {
1162
- card: ia,
1163
- combinadas: ra,
1164
- combinadasScroll: la,
1165
- apuestaItem: sa,
1166
- lineContainer: ca,
1167
- circle: da,
1168
- line: ua,
1169
- apuestaText: ma,
1170
- cuotaTotal: pa
1191
+ ] }), la = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", sa = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", ca = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", da = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", ua = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ma = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", pa = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", ga = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", fa = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ee = {
1192
+ card: la,
1193
+ combinadas: sa,
1194
+ combinadasScroll: ca,
1195
+ apuestaItem: da,
1196
+ lineContainer: ua,
1197
+ circle: ma,
1198
+ line: pa,
1199
+ apuestaText: ga,
1200
+ cuotaTotal: fa
1171
1201
  };
1172
- function Be(t) {
1202
+ function Le(t) {
1173
1203
  const a = Array.isArray(t) ? t : [t];
1174
1204
  sessionStorage.setItem("landingOutcomes", JSON.stringify(a)), window.location.href = "/deportes#in-play";
1175
1205
  }
1176
- function ga() {
1206
+ function ha() {
1177
1207
  window.location.href = "/deportes#in-play";
1178
1208
  }
1179
- function fa() {
1209
+ function ba() {
1180
1210
  window.location.href = "/deportes#sports-hub/football";
1181
1211
  }
1182
- function ha() {
1212
+ function va() {
1183
1213
  window.location.href = "/deportes#specials";
1184
1214
  }
1185
1215
  async function at(t) {
@@ -1200,7 +1230,7 @@ function nt(t, a = 250) {
1200
1230
  return () => clearTimeout(r);
1201
1231
  }, [t, a]), n;
1202
1232
  }
1203
- const ot = pt(void 0), Ne = ({ children: t, docId: a }) => {
1233
+ const ot = pt(void 0), Me = ({ children: t, docId: a }) => {
1204
1234
  const n = de.useMemo(() => ({ docId: a }), [a]);
1205
1235
  return /* @__PURE__ */ e(ot.Provider, { value: n, children: t });
1206
1236
  }, X = () => {
@@ -1209,72 +1239,72 @@ const ot = pt(void 0), Ne = ({ children: t, docId: a }) => {
1209
1239
  throw new Error("useDocId debe usarse dentro de DocIdProvider");
1210
1240
  return t.docId;
1211
1241
  };
1212
- function ba({ coupon: t }) {
1242
+ function _a({ coupon: t }) {
1213
1243
  var b;
1214
1244
  const a = J(), n = X();
1215
1245
  function i(m) {
1216
- var y, x;
1246
+ var _, x;
1217
1247
  const c = [], u = Array.from(
1218
1248
  new Map(
1219
- ((y = m == null ? void 0 : m.events) != null ? y : []).filter(Boolean).map((E) => [E.id, E])
1249
+ ((_ = m == null ? void 0 : m.events) != null ? _ : []).filter(Boolean).map((I) => [I.id, I])
1220
1250
  ).values()
1221
1251
  );
1222
- return u.forEach((E) => {
1223
- var _;
1224
- const B = (_ = E.betoffers) != null ? _ : [], v = E.homeName, T = E.awayName;
1225
- B.forEach((I) => {
1226
- var M, F, V, O, k, z, g;
1227
- if (!((M = I == null ? void 0 : I.outcomes) != null && M.length)) return;
1228
- const C = I.outcomes[0];
1229
- if (!C) return;
1230
- let L = "";
1231
- const S = C != null && C.line ? C.line / 1e3 : "";
1232
- ["Más de", "Mas de", "Over"].includes(C.label) ? (L = `Más de ${S}`, C.participant && (L = `${C.participant} - ${L}`)) : ["Menos de", "Menos", "Under"].includes(C.label) ? (L = `Menos de ${S}`, C.participant && (L = `${C.participant} - ${L}`)) : ["Sí", "No"].includes(C.label) ? (L = C.label, C.participant && (L = `${C.participant} - ${L}`)) : ["1X", "12", "X2"].includes(C.label) ? (C.label === "1X" && (L = `${v} o Empate`), C.label === "12" && (L = `${v} o ${T}`), C.label === "X2" && (L = `${T} o Empate`)) : (L = (V = (F = C.participant) != null ? F : C.label) != null ? V : "", S !== "" && L === C.label && (L = `${C.label} ${S}`)), c.push({
1233
- id: C.id,
1234
- value: L,
1235
- label: (k = (O = I.criterion) == null ? void 0 : O.label) != null ? k : "",
1236
- odds: (z = C.odds) != null ? z : 0,
1237
- position: (g = C.position) != null ? g : 0,
1238
- eventId: E.id
1252
+ return u.forEach((I) => {
1253
+ var w;
1254
+ const M = (w = I.betoffers) != null ? w : [], v = I.homeName, T = I.awayName;
1255
+ M.forEach((C) => {
1256
+ var O, R, z, S, k, F, f;
1257
+ if (!((O = C == null ? void 0 : C.outcomes) != null && O.length)) return;
1258
+ const E = C.outcomes[0];
1259
+ if (!E) return;
1260
+ let B = "";
1261
+ const A = E != null && E.line ? E.line / 1e3 : "";
1262
+ ["Más de", "Mas de", "Over"].includes(E.label) ? (B = `Más de ${A}`, E.participant && (B = `${E.participant} - ${B}`)) : ["Menos de", "Menos", "Under"].includes(E.label) ? (B = `Menos de ${A}`, E.participant && (B = `${E.participant} - ${B}`)) : ["Sí", "No"].includes(E.label) ? (B = E.label, E.participant && (B = `${E.participant} - ${B}`)) : ["1X", "12", "X2"].includes(E.label) ? (E.label === "1X" && (B = `${v} o Empate`), E.label === "12" && (B = `${v} o ${T}`), E.label === "X2" && (B = `${T} o Empate`)) : (B = (z = (R = E.participant) != null ? R : E.label) != null ? z : "", A !== "" && B === E.label && (B = `${E.label} ${A}`)), c.push({
1263
+ id: E.id,
1264
+ value: B,
1265
+ label: (k = (S = C.criterion) == null ? void 0 : S.label) != null ? k : "",
1266
+ odds: (F = E.odds) != null ? F : 0,
1267
+ position: (f = E.position) != null ? f : 0,
1268
+ eventId: I.id
1239
1269
  });
1240
1270
  });
1241
1271
  }), {
1242
- outcomes: c.sort((E, B) => E.position - B.position),
1272
+ outcomes: c.sort((I, M) => I.position - M.position),
1243
1273
  total: (((x = m == null ? void 0 : m.combinadoTotal) != null ? x : 0) / 1e3).toFixed(2),
1244
1274
  events: u
1245
1275
  };
1246
1276
  }
1247
1277
  const r = (m, c) => {
1248
- const u = Array.isArray(m) ? m : [m], y = Array.from(
1278
+ const u = Array.isArray(m) ? m : [m], _ = Array.from(
1249
1279
  new Set(
1250
- o.outcomes.map((B) => {
1280
+ o.outcomes.map((M) => {
1251
1281
  var T;
1252
- const v = p.get(Number(B.eventId));
1282
+ const v = p.get(Number(M.eventId));
1253
1283
  return (T = v == null ? void 0 : v.name) != null ? T : "";
1254
1284
  })
1255
1285
  )
1256
- ).filter(Boolean), x = y.length > 0 ? y.join(" + ") : JSON.stringify(u), E = c ? `${x} - Cuota: ${c}` : x;
1286
+ ).filter(Boolean), x = _.length > 0 ? _.join(" + ") : JSON.stringify(u), I = c ? `${x} - Cuota: ${c}` : x;
1257
1287
  a({
1258
1288
  element: "evento_semana_outcome",
1259
- label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${E}`,
1289
+ label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${I}`,
1260
1290
  target: "/deportes#in-play",
1261
1291
  event_type: "click",
1262
1292
  module_id: 301,
1263
1293
  metadata: {
1264
1294
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1265
1295
  },
1266
- tags: { section: "OraculoEventCombinadasCard", outcomes: E }
1267
- }), Be(m);
1296
+ tags: { section: "OraculoEventCombinadasCard", outcomes: I }
1297
+ }), Le(m);
1268
1298
  };
1269
1299
  if (!((b = t == null ? void 0 : t.events) != null && b.length)) return null;
1270
1300
  const o = i(t), d = o.outcomes.reduce((m, c) => (m[c.eventId] || (m[c.eventId] = []), m[c.eventId].push(c), m), {}), p = new Map(
1271
1301
  o.events.map((m) => [m.id, m])
1272
1302
  );
1273
- return /* @__PURE__ */ f("div", { className: Q.card, children: [
1274
- /* @__PURE__ */ e("div", { className: Q.combinadas, children: /* @__PURE__ */ e("div", { className: Q.combinadasScroll, children: /* @__PURE__ */ e(q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(d).reverse().map(([m, c]) => {
1303
+ return /* @__PURE__ */ g("div", { className: ee.card, children: [
1304
+ /* @__PURE__ */ e("div", { className: ee.combinadas, children: /* @__PURE__ */ e("div", { className: ee.combinadasScroll, children: /* @__PURE__ */ e(V, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(d).reverse().map(([m, c]) => {
1275
1305
  const u = p.get(Number(m));
1276
- return u ? /* @__PURE__ */ f(
1277
- q,
1306
+ return u ? /* @__PURE__ */ g(
1307
+ V,
1278
1308
  {
1279
1309
  direction: "column",
1280
1310
  spacing: 0.5,
@@ -1295,15 +1325,15 @@ function ba({ coupon: t }) {
1295
1325
  src: "/assets/img/home/Combinadas/line.png"
1296
1326
  }
1297
1327
  ),
1298
- c.map((y, x) => /* @__PURE__ */ f("div", { className: Q.apuestaItem, children: [
1299
- /* @__PURE__ */ f("div", { className: Q.lineContainer, children: [
1300
- /* @__PURE__ */ e("div", { className: Q.circle }),
1301
- x < c.length - 1 && /* @__PURE__ */ e("div", { className: Q.line })
1328
+ c.map((_, x) => /* @__PURE__ */ g("div", { className: ee.apuestaItem, children: [
1329
+ /* @__PURE__ */ g("div", { className: ee.lineContainer, children: [
1330
+ /* @__PURE__ */ e("div", { className: ee.circle }),
1331
+ x < c.length - 1 && /* @__PURE__ */ e("div", { className: ee.line })
1302
1332
  ] }),
1303
- /* @__PURE__ */ f("div", { className: Q.apuestaText, children: [
1304
- /* @__PURE__ */ e("strong", { children: y.value }),
1333
+ /* @__PURE__ */ g("div", { className: ee.apuestaText, children: [
1334
+ /* @__PURE__ */ e("strong", { children: _.value }),
1305
1335
  " | ",
1306
- y.label
1336
+ _.label
1307
1337
  ] })
1308
1338
  ] }, `${m}-${x}`))
1309
1339
  ]
@@ -1311,16 +1341,16 @@ function ba({ coupon: t }) {
1311
1341
  m
1312
1342
  ) : null;
1313
1343
  }) }) }) }),
1314
- /* @__PURE__ */ f(
1344
+ /* @__PURE__ */ g(
1315
1345
  "button",
1316
1346
  {
1317
1347
  onClick: () => r(
1318
1348
  o.outcomes.map((m) => m.id),
1319
1349
  o.total
1320
1350
  ),
1321
- className: Q.cuotaTotal,
1351
+ className: ee.cuotaTotal,
1322
1352
  children: [
1323
- /* @__PURE__ */ f("span", { children: [
1353
+ /* @__PURE__ */ g("span", { children: [
1324
1354
  "Cuota total: ",
1325
1355
  /* @__PURE__ */ e("strong", { children: o.total })
1326
1356
  ] }),
@@ -1337,7 +1367,7 @@ function ba({ coupon: t }) {
1337
1367
  )
1338
1368
  ] });
1339
1369
  }
1340
- const ee = {
1370
+ const te = {
1341
1371
  "orc-btn": "oraculo__OraculoButtonBet-module__orc-btn___jakza",
1342
1372
  "orc-btn__label": "oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH",
1343
1373
  "orc-btn__icon": "oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd",
@@ -1351,7 +1381,7 @@ const ee = {
1351
1381
  "orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
1352
1382
  "orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
1353
1383
  };
1354
- function va({
1384
+ function ya({
1355
1385
  children: t,
1356
1386
  onClick: a,
1357
1387
  href: n,
@@ -1364,83 +1394,83 @@ function va({
1364
1394
  fullWidth: m = !1,
1365
1395
  fullHeight: c = !1,
1366
1396
  className: u = "",
1367
- ariaLabel: y,
1397
+ ariaLabel: _,
1368
1398
  leftIcon: x,
1369
- rightIcon: E,
1370
- iconOnly: B
1399
+ rightIcon: I,
1400
+ iconOnly: M
1371
1401
  }) {
1372
- const v = !!t && t !== !0, I = (!!x ? 1 : 0) + (!!E ? 1 : 0) == 1, C = B != null ? B : I && !v, L = [
1373
- ee["orc-btn"],
1402
+ const v = !!t && t !== !0, C = (!!x ? 1 : 0) + (!!I ? 1 : 0) == 1, E = M != null ? M : C && !v, B = [
1403
+ te["orc-btn"],
1374
1404
  // base
1375
- ee[`orc-btn--${p}`],
1405
+ te[`orc-btn--${p}`],
1376
1406
  // variant primary/secondary/tertiary
1377
- b ? ee[`orc-btn--${b}`] : "",
1407
+ b ? te[`orc-btn--${b}`] : "",
1378
1408
  // sm / md / lg
1379
- m ? ee["orc-btn--full"] : "",
1380
- c ? ee["orc-btn--fullHeight"] : "",
1381
- C ? ee["orc-btn--iconOnly"] : "",
1409
+ m ? te["orc-btn--full"] : "",
1410
+ c ? te["orc-btn--fullHeight"] : "",
1411
+ E ? te["orc-btn--iconOnly"] : "",
1382
1412
  u
1383
- ].filter(Boolean).join(" "), S = /* @__PURE__ */ f(oe, { children: [
1384
- x && /* @__PURE__ */ e("span", { className: ee["orc-btn__icon"], children: x }),
1385
- !C && /* @__PURE__ */ e("span", { className: ee["orc-btn__label"], children: t }),
1386
- E && /* @__PURE__ */ e("span", { className: ee["orc-btn__icon"], children: E })
1387
- ] }), M = d ? !0 : void 0;
1413
+ ].filter(Boolean).join(" "), A = /* @__PURE__ */ g(Q, { children: [
1414
+ x && /* @__PURE__ */ e("span", { className: te["orc-btn__icon"], children: x }),
1415
+ !E && /* @__PURE__ */ e("span", { className: te["orc-btn__label"], children: t }),
1416
+ I && /* @__PURE__ */ e("span", { className: te["orc-btn__icon"], children: I })
1417
+ ] }), O = d ? !0 : void 0;
1388
1418
  return n ? /* @__PURE__ */ e(
1389
1419
  He,
1390
1420
  {
1391
1421
  href: n,
1392
1422
  target: i,
1393
1423
  rel: r,
1394
- "aria-label": y,
1395
- "aria-disabled": M,
1396
- tabIndex: M ? -1 : void 0,
1397
- className: L,
1398
- onClick: M ? (F) => F.preventDefault() : a,
1399
- children: S
1424
+ "aria-label": _,
1425
+ "aria-disabled": O,
1426
+ tabIndex: O ? -1 : void 0,
1427
+ className: B,
1428
+ onClick: O ? (R) => R.preventDefault() : a,
1429
+ children: A
1400
1430
  }
1401
1431
  ) : /* @__PURE__ */ e(
1402
1432
  "button",
1403
1433
  {
1404
1434
  type: o,
1405
1435
  onClick: a,
1406
- disabled: !!M,
1407
- "aria-label": y,
1408
- className: L,
1409
- children: S
1436
+ disabled: !!O,
1437
+ "aria-label": _,
1438
+ className: B,
1439
+ children: A
1410
1440
  }
1411
1441
  );
1412
1442
  }
1413
- const _a = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", ya = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", xa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ye = {
1414
- cardWrapper: _a,
1415
- customButtonLabel: ya,
1416
- customButtonDisabled: xa
1417
- }, ze = {
1443
+ const xa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", wa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Sa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", xe = {
1444
+ cardWrapper: xa,
1445
+ customButtonLabel: wa,
1446
+ customButtonDisabled: Sa
1447
+ }, Pe = {
1418
1448
  base: "FFFFFF",
1419
1449
  sleeve: "FFFFFF",
1420
1450
  number: "000000",
1421
1451
  real: !1,
1422
1452
  type: "short_sleeves"
1423
- }, Pe = {
1453
+ }, ze = {
1424
1454
  base: "000000",
1425
1455
  sleeve: "000000",
1426
1456
  number: "FFFFFF",
1427
1457
  real: !1,
1428
1458
  type: "short_sleeves"
1429
- }, Se = (t, a, n = "player") => {
1459
+ }, Ce = (t, a, n = "player") => {
1430
1460
  var r, o;
1431
1461
  if (t === void 0)
1432
1462
  return null;
1433
1463
  if (t === null)
1434
- return a === "home" ? ze : Pe;
1464
+ return a === "home" ? Pe : ze;
1435
1465
  const i = (o = (r = t == null ? void 0 : t.jerseys) == null ? void 0 : r[a]) == null ? void 0 : o[n];
1436
- return i || (a === "home" ? ze : Pe);
1466
+ return i || (a === "home" ? Pe : ze);
1437
1467
  };
1438
- function wa({ event: t, liveData: a, betOffers: n, jersey: i }) {
1439
- var p, b, m, c, u, y, x, E, B, v, T;
1468
+ function Ca({ event: t, liveData: a, betOffers: n, jersey: i }) {
1469
+ var p, b, m, c, u, _, x, I, M, v, T;
1440
1470
  const r = n == null ? void 0 : n.find(
1441
- (_) => {
1442
- var I;
1443
- return ((I = _.betOfferType) == null ? void 0 : I.id) === 2;
1471
+ (w) => {
1472
+ var C;
1473
+ return ((C = w.betOfferType) == null ? void 0 : C.id) === 2;
1444
1474
  }
1445
1475
  ), o = {
1446
1476
  englishLabel: "",
@@ -1456,8 +1486,8 @@ function wa({ event: t, liveData: a, betOffers: n, jersey: i }) {
1456
1486
  { ...o, id: -2, label: "X", odds: void 0 },
1457
1487
  { ...o, id: -3, label: "2", odds: void 0 }
1458
1488
  ];
1459
- return /* @__PURE__ */ e("div", { className: ye.cardWrapper, children: /* @__PURE__ */ f(q, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1460
- /* @__PURE__ */ f(q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1489
+ return /* @__PURE__ */ e("div", { className: xe.cardWrapper, children: /* @__PURE__ */ g(V, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1490
+ /* @__PURE__ */ g(V, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1461
1491
  /* @__PURE__ */ e(
1462
1492
  $t,
1463
1493
  {
@@ -1467,42 +1497,42 @@ function wa({ event: t, liveData: a, betOffers: n, jersey: i }) {
1467
1497
  time: ((u = a == null ? void 0 : a.matchClock) == null ? void 0 : u.minute) != null ? `${a.matchClock.minute}'` : ""
1468
1498
  }
1469
1499
  ),
1470
- /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ f(ne, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1471
- /* @__PURE__ */ e(we, { name: t == null ? void 0 : t.homeName, jersey: Se(i, "home") }),
1472
- /* @__PURE__ */ e(et, { text: ((x = (y = a == null ? void 0 : a.score) == null ? void 0 : y.home) != null ? x : 0) + ":" + ((B = (E = a == null ? void 0 : a.score) == null ? void 0 : E.away) != null ? B : 0), name: "En vivo" }),
1473
- /* @__PURE__ */ e(we, { name: t == null ? void 0 : t.awayName, jersey: Se(i, "away") })
1500
+ /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ g(oe, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1501
+ /* @__PURE__ */ e(Se, { name: t == null ? void 0 : t.homeName, jersey: Ce(i, "home") }),
1502
+ /* @__PURE__ */ e(et, { text: ((x = (_ = a == null ? void 0 : a.score) == null ? void 0 : _.home) != null ? x : 0) + ":" + ((M = (I = a == null ? void 0 : a.score) == null ? void 0 : I.away) != null ? M : 0), name: "En vivo" }),
1503
+ /* @__PURE__ */ e(Se, { name: t == null ? void 0 : t.awayName, jersey: Ce(i, "away") })
1474
1504
  ] }) })
1475
1505
  ] }),
1476
- /* @__PURE__ */ f(q, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1477
- /* @__PURE__ */ e(ne, { spacing: 1, children: ((v = r == null ? void 0 : r.outcomes) != null ? v : d).map((_, I) => /* @__PURE__ */ e(Ye, { text: _.label.toUpperCase() }, I)) }),
1478
- /* @__PURE__ */ e(ne, { spacing: 2, children: ((T = r == null ? void 0 : r.outcomes) != null ? T : d).map((_, I) => /* @__PURE__ */ e(va, { variant: "primary", disabled: _.odds == null || (r == null ? void 0 : r.cashOutStatus) == "SUSPENDED", onClick: () => {
1479
- Be(_.id);
1480
- }, className: ye.customButtonDisabled, children: /* @__PURE__ */ e("span", { className: ye.customButtonLabel, children: _.odds === void 0 ? "" : (_.odds / 1e3).toFixed(2) }) }, I)) })
1506
+ /* @__PURE__ */ g(V, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1507
+ /* @__PURE__ */ e(oe, { spacing: 1, children: ((v = r == null ? void 0 : r.outcomes) != null ? v : d).map((w, C) => /* @__PURE__ */ e(Ye, { text: w.label.toUpperCase() }, C)) }),
1508
+ /* @__PURE__ */ e(oe, { spacing: 2, children: ((T = r == null ? void 0 : r.outcomes) != null ? T : d).map((w, C) => /* @__PURE__ */ e(ya, { variant: "primary", disabled: w.odds == null || (r == null ? void 0 : r.cashOutStatus) == "SUSPENDED", onClick: () => {
1509
+ Le(w.id);
1510
+ }, className: xe.customButtonDisabled, children: /* @__PURE__ */ e("span", { className: xe.customButtonLabel, children: w.odds === void 0 ? "" : (w.odds / 1e3).toFixed(2) }) }, C)) })
1481
1511
  ] })
1482
1512
  ] }) });
1483
1513
  }
1484
- const Sa = "oraculo__OraculoEventDate-module__date___xhIlh", Ca = {
1485
- date: Sa
1514
+ const Oa = "oraculo__OraculoEventDate-module__date___xhIlh", Ea = {
1515
+ date: Oa
1486
1516
  };
1487
- function Oa({ text: t }) {
1488
- return /* @__PURE__ */ e("div", { className: `oli-font ${Ca.date}`, children: t });
1517
+ function Ia({ text: t }) {
1518
+ return /* @__PURE__ */ e("div", { className: `oli-font ${Ea.date}`, children: t });
1489
1519
  }
1490
- const Ea = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Ia = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Ta = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", ka = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", ce = {
1491
- cardContainer: Ea,
1492
- cardBackground: Ia,
1493
- jugadas: Ta,
1494
- equipos: ka
1520
+ const Ta = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ka = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", $a = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Na = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", ce = {
1521
+ cardContainer: Ta,
1522
+ cardBackground: ka,
1523
+ jugadas: $a,
1524
+ equipos: Na
1495
1525
  };
1496
- function $a({ event: t, jersey: a }) {
1497
- var d, p, b, m, c, u, y;
1526
+ function Ma({ event: t, jersey: a }) {
1527
+ var d, p, b, m, c, u, _;
1498
1528
  const n = J(), i = X();
1499
1529
  function r(x) {
1500
- const E = new Date(x), B = E.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), v = E.getDate().toString().padStart(2, "0"), T = (E.getMonth() + 1).toString().padStart(2, "0");
1501
- let _ = E.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1502
- return _ = _.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${B} ${v}/${T} | ${_}`;
1530
+ const I = new Date(x), M = I.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), v = I.getDate().toString().padStart(2, "0"), T = (I.getMonth() + 1).toString().padStart(2, "0");
1531
+ let w = I.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1532
+ return w = w.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${M} ${v}/${T} | ${w}`;
1503
1533
  }
1504
- const o = (x, E) => {
1505
- const B = `${t.homeName} vs ${t.awayName}`, v = E ? (E / 1e3).toFixed(2) : "", T = v ? `${B} - Cuota: ${v}` : B;
1534
+ const o = (x, I) => {
1535
+ const M = `${t.homeName} vs ${t.awayName}`, v = I ? (I / 1e3).toFixed(2) : "", T = v ? `${M} - Cuota: ${v}` : M;
1506
1536
  n({
1507
1537
  element: "evento_semana_outcome",
1508
1538
  label: `Landing: ${i} - OraculoEventSemanaCard - Click: ${T}`,
@@ -1513,36 +1543,36 @@ function $a({ event: t, jersey: a }) {
1513
1543
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1514
1544
  },
1515
1545
  tags: { section: "OraculoEventSemanaCard", outcomes: T }
1516
- }), Be(x);
1546
+ }), Le(x);
1517
1547
  };
1518
- return /* @__PURE__ */ f("div", { className: ce.cardContainer, children: [
1548
+ return /* @__PURE__ */ g("div", { className: ce.cardContainer, children: [
1519
1549
  /* @__PURE__ */ e(Qe, { title: (d = t == null ? void 0 : t.group) != null ? d : "" }),
1520
- /* @__PURE__ */ e("div", { className: ce.cardBackground, children: /* @__PURE__ */ f(q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1521
- /* @__PURE__ */ f(q, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1522
- /* @__PURE__ */ f("div", { className: ce.equipos, children: [
1523
- /* @__PURE__ */ e(we, { name: t.homeName, size: "compact", jersey: Se(a, "home") }),
1550
+ /* @__PURE__ */ e("div", { className: ce.cardBackground, children: /* @__PURE__ */ g(V, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1551
+ /* @__PURE__ */ g(V, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1552
+ /* @__PURE__ */ g("div", { className: ce.equipos, children: [
1553
+ /* @__PURE__ */ e(Se, { name: t.homeName, size: "compact", jersey: Ce(a, "home") }),
1524
1554
  /* @__PURE__ */ e(et, { text: "vs.", name: "", size: "small" }),
1525
- /* @__PURE__ */ e(we, { name: t.awayName, size: "compact", jersey: Se(a, "away") })
1555
+ /* @__PURE__ */ e(Se, { name: t.awayName, size: "compact", jersey: Ce(a, "away") })
1526
1556
  ] }),
1527
- /* @__PURE__ */ e(Oa, { text: r(t.start) })
1557
+ /* @__PURE__ */ e(Ia, { text: r(t.start) })
1528
1558
  ] }),
1529
- /* @__PURE__ */ f(q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1530
- /* @__PURE__ */ e(ne, { spacing: 1, children: ((m = (b = (p = t == null ? void 0 : t.outcome) == null ? void 0 : p[0]) == null ? void 0 : b.outcomes) != null ? m : []).map((x, E) => /* @__PURE__ */ e(Ye, { text: x.label.toUpperCase() }, E)) }),
1531
- /* @__PURE__ */ e("div", { className: ce.jugadas, children: /* @__PURE__ */ e(ne, { spacing: 1, children: ((y = (u = (c = t == null ? void 0 : t.outcome) == null ? void 0 : c[0]) == null ? void 0 : u.outcomes) != null ? y : []).map((x, E) => /* @__PURE__ */ e(G, { variant: "primary", fullHeight: !0, onClick: () => {
1559
+ /* @__PURE__ */ g(V, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1560
+ /* @__PURE__ */ e(oe, { spacing: 1, children: ((m = (b = (p = t == null ? void 0 : t.outcome) == null ? void 0 : p[0]) == null ? void 0 : b.outcomes) != null ? m : []).map((x, I) => /* @__PURE__ */ e(Ye, { text: x.label.toUpperCase() }, I)) }),
1561
+ /* @__PURE__ */ e("div", { className: ce.jugadas, children: /* @__PURE__ */ e(oe, { spacing: 1, children: ((_ = (u = (c = t == null ? void 0 : t.outcome) == null ? void 0 : c[0]) == null ? void 0 : u.outcomes) != null ? _ : []).map((x, I) => /* @__PURE__ */ e(G, { variant: "primary", fullHeight: !0, onClick: () => {
1532
1562
  o(x.id, x.odds);
1533
- }, children: (x.odds / 1e3).toFixed(2) }, E)) }) })
1563
+ }, children: (x.odds / 1e3).toFixed(2) }, I)) }) })
1534
1564
  ] })
1535
1565
  ] }) })
1536
1566
  ] });
1537
1567
  }
1538
- function Na({
1568
+ function Ba({
1539
1569
  items: t,
1540
1570
  title: a = "Destacados",
1541
1571
  iconUrl: n,
1542
1572
  onViewMore: i,
1543
1573
  className: r = ""
1544
1574
  }) {
1545
- const o = P(null), [d, p] = W({ isStart: !0, isEnd: !1 }), b = J(), m = X(), c = !t || t.length === 0, u = () => {
1575
+ const o = U(null), [d, p] = W({ isStart: !0, isEnd: !1 }), b = J(), m = X(), c = !t || t.length === 0, u = () => {
1546
1576
  var v;
1547
1577
  b({
1548
1578
  element: "destacados_carousel_prev",
@@ -1555,7 +1585,7 @@ function Na({
1555
1585
  },
1556
1586
  tags: { section: "OraculoSeccionDestacados" }
1557
1587
  }), (v = o.current) == null || v.prev();
1558
- }, y = () => {
1588
+ }, _ = () => {
1559
1589
  var v;
1560
1590
  b({
1561
1591
  element: "destacados_carousel_next",
@@ -1580,13 +1610,13 @@ function Na({
1580
1610
  },
1581
1611
  tags: { section: "OraculoSeccionDestacados" }
1582
1612
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1583
- }, E = (v) => {
1613
+ }, I = (v) => {
1584
1614
  if (!v) return;
1585
- const _ = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
1615
+ const w = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
1586
1616
  b({
1587
1617
  element: "destacados_card",
1588
1618
  label: `Landing: ${m} - OraculoSeccionDestacados - Click: ${String(v)}`,
1589
- target: _,
1619
+ target: w,
1590
1620
  event_type: "click",
1591
1621
  module_id: 301,
1592
1622
  metadata: {
@@ -1596,10 +1626,10 @@ function Na({
1596
1626
  section: "OraculoSeccionDestacados",
1597
1627
  promotion: String(v)
1598
1628
  }
1599
- }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(_);
1629
+ }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(w);
1600
1630
  };
1601
- return /* @__PURE__ */ f("section", { className: r || void 0, style: { width: "100%" }, children: [
1602
- /* @__PURE__ */ f(
1631
+ return /* @__PURE__ */ g("section", { className: r || void 0, style: { width: "100%" }, children: [
1632
+ /* @__PURE__ */ g(
1603
1633
  "header",
1604
1634
  {
1605
1635
  style: {
@@ -1614,14 +1644,14 @@ function Na({
1614
1644
  },
1615
1645
  children: [
1616
1646
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
1617
- /* @__PURE__ */ f("div", { style: { display: "flex", gap: 8 }, children: [
1647
+ /* @__PURE__ */ g("div", { style: { display: "flex", gap: 8 }, children: [
1618
1648
  /* @__PURE__ */ e(
1619
1649
  G,
1620
1650
  {
1621
1651
  ariaLabel: "Anterior",
1622
1652
  variant: "secondary",
1623
1653
  iconOnly: !0,
1624
- leftIcon: /* @__PURE__ */ e(Oe, {}),
1654
+ leftIcon: /* @__PURE__ */ e(Ee, {}),
1625
1655
  onClick: u,
1626
1656
  disabled: d.isStart || c
1627
1657
  }
@@ -1632,8 +1662,8 @@ function Na({
1632
1662
  ariaLabel: "Siguiente",
1633
1663
  variant: "secondary",
1634
1664
  iconOnly: !0,
1635
- rightIcon: /* @__PURE__ */ e(Ee, {}),
1636
- onClick: y,
1665
+ rightIcon: /* @__PURE__ */ e(Ie, {}),
1666
+ onClick: _,
1637
1667
  disabled: d.isEnd || c
1638
1668
  }
1639
1669
  )
@@ -1664,7 +1694,7 @@ function Na({
1664
1694
  marginTop: 16,
1665
1695
  cursor: "pointer"
1666
1696
  },
1667
- onClick: () => E(v.promotion),
1697
+ onClick: () => I(v.promotion),
1668
1698
  children: /* @__PURE__ */ e(
1669
1699
  "img",
1670
1700
  {
@@ -1701,33 +1731,33 @@ function Na({
1701
1731
  )
1702
1732
  ] });
1703
1733
  }
1704
- const xe = "__ORACULO_EXTRAS__";
1734
+ const we = "__ORACULO_EXTRAS__";
1705
1735
  function it() {
1706
1736
  const t = globalThis;
1707
- return t[xe] || (t[xe] = {}), t[xe];
1737
+ return t[we] || (t[we] = {}), t[we];
1708
1738
  }
1709
- function Ma(t) {
1739
+ function La(t) {
1710
1740
  it().extras = t;
1711
1741
  }
1712
1742
  function re(t) {
1713
1743
  var a;
1714
1744
  return (a = it().extras) == null ? void 0 : a[t];
1715
1745
  }
1716
- function Ba() {
1717
- delete globalThis[xe];
1746
+ function Aa() {
1747
+ delete globalThis[we];
1718
1748
  }
1719
- function La({
1749
+ function Ra({
1720
1750
  items: t,
1721
1751
  title: a = "Top Juegos",
1722
1752
  iconUrl: n,
1723
1753
  onCardClick: i
1724
1754
  }) {
1725
- const r = J(), o = X(), d = ae(
1755
+ const r = J(), o = X(), d = ne(
1726
1756
  () => (t != null ? t : []).map((c, u) => {
1727
- var y;
1757
+ var _;
1728
1758
  return {
1729
1759
  ...c,
1730
- orden: (y = c.orden) != null ? y : u + 1,
1760
+ orden: (_ = c.orden) != null ? _ : u + 1,
1731
1761
  _originalIndex: u
1732
1762
  };
1733
1763
  }).sort((c, u) => c.orden != null && u.orden != null ? c.orden - u.orden : c._originalIndex - u._originalIndex),
@@ -1747,15 +1777,15 @@ function La({
1747
1777
  section: "OraculoSeccionTopJuegos"
1748
1778
  }
1749
1779
  });
1750
- const u = re("showIframe"), y = re("loadMachine");
1780
+ const u = re("showIframe"), _ = re("loadMachine");
1751
1781
  u == null || u(), requestAnimationFrame(() => {
1752
- y == null || y(c, !1, "CASINO");
1782
+ _ == null || _(c, !1, "CASINO");
1753
1783
  });
1754
1784
  };
1755
- return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ f(q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1785
+ return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ g(V, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1756
1786
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
1757
1787
  /* @__PURE__ */ e(
1758
- A,
1788
+ L,
1759
1789
  {
1760
1790
  sx: {
1761
1791
  display: "grid",
@@ -1768,11 +1798,11 @@ function La({
1768
1798
  width: "100%"
1769
1799
  },
1770
1800
  children: b.map((c, u) => {
1771
- var y, x;
1801
+ var _, x;
1772
1802
  return /* @__PURE__ */ e(
1773
- aa,
1803
+ oa,
1774
1804
  {
1775
- imageUrl: p ? "" : c.background ? `https://olimpo.bet${c.background}` : `https://olimpo.bet${(y = c.logo) != null ? y : ""}`,
1805
+ imageUrl: p ? "" : c.background ? `https://olimpo.bet${c.background}` : `https://olimpo.bet${(_ = c.logo) != null ? _ : ""}`,
1776
1806
  orden: p ? u + 1 : c.orden,
1777
1807
  loading: p,
1778
1808
  onClick: p ? void 0 : () => {
@@ -1786,10 +1816,10 @@ function La({
1786
1816
  )
1787
1817
  ] }) });
1788
1818
  }
1789
- const Aa = (t, a) => {
1819
+ const Fa = (t, a) => {
1790
1820
  var n, i;
1791
1821
  return (i = (n = t.orden) != null ? n : t.machine) != null ? i : a;
1792
- }, Fa = ({
1822
+ }, Pa = ({
1793
1823
  items: t,
1794
1824
  title: a = "Casino en vivo",
1795
1825
  subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
@@ -1814,8 +1844,8 @@ const Aa = (t, a) => {
1814
1844
  section: "OraculoSeccionCasinoEnVivo"
1815
1845
  }
1816
1846
  });
1817
- const y = re("showIframe"), x = re("loadMachine");
1818
- y == null || y(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1847
+ const _ = re("showIframe"), x = re("loadMachine");
1848
+ _ == null || _(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1819
1849
  x == null || x(u, !1, "casino_en_vivo");
1820
1850
  });
1821
1851
  }, c = () => {
@@ -1831,8 +1861,8 @@ const Aa = (t, a) => {
1831
1861
  tags: { section: "OraculoSeccionCasinoEnVivo" }
1832
1862
  }), typeof globalThis != "undefined" && globalThis.location && (o ? o() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
1833
1863
  };
1834
- return /* @__PURE__ */ f(
1835
- A,
1864
+ return /* @__PURE__ */ g(
1865
+ L,
1836
1866
  {
1837
1867
  className: d,
1838
1868
  sx: {
@@ -1842,7 +1872,7 @@ const Aa = (t, a) => {
1842
1872
  },
1843
1873
  children: [
1844
1874
  /* @__PURE__ */ e(
1845
- A,
1875
+ L,
1846
1876
  {
1847
1877
  sx: {
1848
1878
  position: "absolute",
@@ -1867,8 +1897,8 @@ const Aa = (t, a) => {
1867
1897
  }
1868
1898
  }
1869
1899
  ),
1870
- /* @__PURE__ */ f(
1871
- A,
1900
+ /* @__PURE__ */ g(
1901
+ L,
1872
1902
  {
1873
1903
  sx: {
1874
1904
  position: "relative",
@@ -1885,9 +1915,9 @@ const Aa = (t, a) => {
1885
1915
  textAlign: { xs: "center", md: "left" }
1886
1916
  },
1887
1917
  children: [
1888
- /* @__PURE__ */ f(q, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1918
+ /* @__PURE__ */ g(V, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1889
1919
  /* @__PURE__ */ e(
1890
- te,
1920
+ ae,
1891
1921
  {
1892
1922
  variant: "h4",
1893
1923
  sx: {
@@ -1900,7 +1930,7 @@ const Aa = (t, a) => {
1900
1930
  }
1901
1931
  ),
1902
1932
  /* @__PURE__ */ e(
1903
- te,
1933
+ ae,
1904
1934
  {
1905
1935
  sx: {
1906
1936
  fontSize: { xs: 14, md: 18 },
@@ -1911,7 +1941,7 @@ const Aa = (t, a) => {
1911
1941
  children: n
1912
1942
  }
1913
1943
  ),
1914
- /* @__PURE__ */ e(A, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
1944
+ /* @__PURE__ */ e(L, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
1915
1945
  G,
1916
1946
  {
1917
1947
  variant: "primary",
@@ -1922,7 +1952,7 @@ const Aa = (t, a) => {
1922
1952
  ) })
1923
1953
  ] }),
1924
1954
  /* @__PURE__ */ e(
1925
- A,
1955
+ L,
1926
1956
  {
1927
1957
  sx: {
1928
1958
  display: "flex",
@@ -1932,10 +1962,10 @@ const Aa = (t, a) => {
1932
1962
  py: { xs: 3, md: 0 },
1933
1963
  alignItems: "center"
1934
1964
  },
1935
- children: (t != null ? t : []).slice(0, 3).map((u, y) => {
1965
+ children: (t != null ? t : []).slice(0, 3).map((u, _) => {
1936
1966
  var x;
1937
1967
  return /* @__PURE__ */ e(
1938
- na,
1968
+ ia,
1939
1969
  {
1940
1970
  logo: `https://olimpo.bet${u.background ? u.background : (x = u.logo) != null ? x : ""}`,
1941
1971
  provider: u.provider,
@@ -1943,12 +1973,12 @@ const Aa = (t, a) => {
1943
1973
  machine: u.machine,
1944
1974
  onClick: () => m(u)
1945
1975
  },
1946
- Aa(u, y)
1976
+ Fa(u, _)
1947
1977
  );
1948
1978
  })
1949
1979
  }
1950
1980
  ),
1951
- /* @__PURE__ */ e(A, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ e(
1981
+ /* @__PURE__ */ e(L, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ e(
1952
1982
  G,
1953
1983
  {
1954
1984
  variant: "primary",
@@ -1966,7 +1996,7 @@ const Aa = (t, a) => {
1966
1996
  }, rt = (t, a) => {
1967
1997
  var n, i;
1968
1998
  return (i = (n = t.orden) != null ? n : t.machine) != null ? i : a;
1969
- }, Ra = (t, a = !0, n = 1) => {
1999
+ }, za = (t, a = !0, n = 1) => {
1970
2000
  const i = t.map((d, p) => {
1971
2001
  var b;
1972
2002
  return {
@@ -1995,7 +2025,7 @@ const Aa = (t, a) => {
1995
2025
  }), o = d;
1996
2026
  }
1997
2027
  return r;
1998
- }, za = ({
2028
+ }, Ua = ({
1999
2029
  items: t,
2000
2030
  title: a = "Casino",
2001
2031
  iconUrl: n = "/assets/img/home/Casino/diamante.svg",
@@ -2004,8 +2034,8 @@ const Aa = (t, a) => {
2004
2034
  mosaicFirst: o = !0,
2005
2035
  gridSize: d = 1
2006
2036
  }) => {
2007
- const p = J(), b = X(), m = P(null), [c, u] = W({ isStart: !0, isEnd: !1 }), y = () => {
2008
- var _;
2037
+ const p = J(), b = X(), m = U(null), [c, u] = W({ isStart: !0, isEnd: !1 }), _ = () => {
2038
+ var w;
2009
2039
  p({
2010
2040
  element: "casino_prev",
2011
2041
  label: `Landing: ${b} - OraculoSeccionCasino - Anterior`,
@@ -2016,9 +2046,9 @@ const Aa = (t, a) => {
2016
2046
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2017
2047
  },
2018
2048
  tags: { section: "OraculoSeccionCasino" }
2019
- }), (_ = m.current) == null || _.prev();
2049
+ }), (w = m.current) == null || w.prev();
2020
2050
  }, x = () => {
2021
- var _;
2051
+ var w;
2022
2052
  p({
2023
2053
  element: "casino_next",
2024
2054
  label: `Landing: ${b} - OraculoSeccionCasino - Siguiente`,
@@ -2029,8 +2059,8 @@ const Aa = (t, a) => {
2029
2059
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2030
2060
  },
2031
2061
  tags: { section: "OraculoSeccionCasino" }
2032
- }), (_ = m.current) == null || _.next();
2033
- }, E = () => {
2062
+ }), (w = m.current) == null || w.next();
2063
+ }, I = () => {
2034
2064
  p({
2035
2065
  element: "casino_view_more",
2036
2066
  label: `Landing: ${b} - OraculoSeccionCasino - Ver más`,
@@ -2042,16 +2072,16 @@ const Aa = (t, a) => {
2042
2072
  },
2043
2073
  tags: { section: "OraculoSeccionCasino" }
2044
2074
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2045
- }, B = (_ = !0, I = 4) => {
2046
- const C = (S) => Array.from({ length: S }, (M, F) => ({
2047
- id: `sk-${S}-${F}`,
2075
+ }, M = (w = !0, C = 4) => {
2076
+ const E = (A) => Array.from({ length: A }, (O, R) => ({
2077
+ id: `sk-${A}-${R}`,
2048
2078
  imageUrl: ""
2049
- })), L = [];
2050
- return _ && L.push({ id: "mosaic-loading", kind: "mosaic", items: C(5) }), L.push({ id: "grid-loading", kind: "grid", items: C(I) }), L;
2051
- }, v = !t || t.length === 0, T = v ? B(o, d) : Ra(t, o, d);
2052
- return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ f(q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2053
- /* @__PURE__ */ f(
2054
- A,
2079
+ })), B = [];
2080
+ return w && B.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), B.push({ id: "grid-loading", kind: "grid", items: E(C) }), B;
2081
+ }, v = !t || t.length === 0, T = v ? M(o, d) : za(t, o, d);
2082
+ return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ g(V, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2083
+ /* @__PURE__ */ g(
2084
+ L,
2055
2085
  {
2056
2086
  sx: {
2057
2087
  display: "grid",
@@ -2063,7 +2093,7 @@ const Aa = (t, a) => {
2063
2093
  },
2064
2094
  children: [
2065
2095
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
2066
- /* @__PURE__ */ f(A, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2096
+ /* @__PURE__ */ g(L, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2067
2097
  /* @__PURE__ */ e(
2068
2098
  G,
2069
2099
  {
@@ -2071,7 +2101,7 @@ const Aa = (t, a) => {
2071
2101
  variant: "secondary",
2072
2102
  iconOnly: !0,
2073
2103
  leftIcon: /* @__PURE__ */ e(Ze, {}),
2074
- onClick: y,
2104
+ onClick: _,
2075
2105
  disabled: c.isStart
2076
2106
  }
2077
2107
  ),
@@ -2087,7 +2117,7 @@ const Aa = (t, a) => {
2087
2117
  }
2088
2118
  )
2089
2119
  ] }),
2090
- /* @__PURE__ */ e(A, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(G, { variant: "secondary", onClick: E, children: "Ver más" }) })
2120
+ /* @__PURE__ */ e(L, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(G, { variant: "secondary", onClick: I, children: "Ver más" }) })
2091
2121
  ]
2092
2122
  }
2093
2123
  ),
@@ -2106,45 +2136,45 @@ const Aa = (t, a) => {
2106
2136
  768: { gap: "8px", focus: "center", padding: { left: "24px", right: "24px" } },
2107
2137
  1024: { gap: "10px", focus: "center", padding: { left: "24px", right: "24px" } }
2108
2138
  },
2109
- renderItem: (_) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
2139
+ renderItem: (w) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
2110
2140
  tt,
2111
2141
  {
2112
- items: _.items,
2113
- layout: _.kind === "mosaic" ? "mosaic" : "grid",
2142
+ items: w.items,
2143
+ layout: w.kind === "mosaic" ? "mosaic" : "grid",
2114
2144
  loading: v,
2115
- onClick: (I) => {
2145
+ onClick: (C) => {
2116
2146
  if (v) return;
2117
- const C = t.find(
2118
- (M, F) => String(rt(M, F)) === String(I.id)
2147
+ const E = t.find(
2148
+ (O, R) => String(rt(O, R)) === String(C.id)
2119
2149
  );
2120
- if (!C) return;
2150
+ if (!E) return;
2121
2151
  p({
2122
2152
  element: "casino_game_card",
2123
- label: `Landing: ${b} - OraculoSeccionCasino - Open game: ${String(C.machine) || "unknown"}`,
2124
- target: String(C.machine || "unknown"),
2153
+ label: `Landing: ${b} - OraculoSeccionCasino - Open game: ${String(E.machine) || "unknown"}`,
2154
+ target: String(E.machine || "unknown"),
2125
2155
  event_type: "click",
2126
2156
  module_id: 301,
2127
2157
  metadata: {
2128
2158
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2129
2159
  },
2130
2160
  tags: {
2131
- game_name: String(C.machine || "unknown"),
2161
+ game_name: String(E.machine || "unknown"),
2132
2162
  section: a || "Casino"
2133
2163
  }
2134
2164
  });
2135
- const L = re("showIframe"), S = re("loadMachine");
2136
- L == null || L(), S == null || S(C, !1, "CASINO");
2165
+ const B = re("showIframe"), A = re("loadMachine");
2166
+ B == null || B(), A == null || A(E, !1, "CASINO");
2137
2167
  }
2138
2168
  }
2139
2169
  ) }),
2140
- onMove: ({ isStart: _, isEnd: I }) => u({ isStart: _, isEnd: I })
2170
+ onMove: ({ isStart: w, isEnd: C }) => u({ isStart: w, isEnd: C })
2141
2171
  }
2142
2172
  )
2143
2173
  ] }) });
2144
2174
  }, lt = (t, a) => {
2145
2175
  var n, i;
2146
2176
  return (i = (n = t.orden) != null ? n : t.machine) != null ? i : a;
2147
- }, Pa = (t, a = !0, n = 1) => {
2177
+ }, qa = (t, a = !0, n = 1) => {
2148
2178
  const i = t.map((d, p) => {
2149
2179
  var b;
2150
2180
  return {
@@ -2173,10 +2203,10 @@ const Aa = (t, a) => {
2173
2203
  }), o = d;
2174
2204
  }
2175
2205
  return r;
2176
- }, Ua = (t = !0, a = 4) => {
2206
+ }, Va = (t = !0, a = 4) => {
2177
2207
  const n = (r) => Array.from({ length: r }, (o, d) => ({ id: `sk-${r}-${d}`, imageUrl: "" })), i = [];
2178
2208
  return t && i.push({ id: "mosaic-loading", kind: "mosaic", items: n(5) }), i.push({ id: "grid-loading", kind: "grid", items: n(a) }), i;
2179
- }, qa = ({
2209
+ }, Da = ({
2180
2210
  items: t,
2181
2211
  title: a = "Virtuales",
2182
2212
  iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
@@ -2185,7 +2215,7 @@ const Aa = (t, a) => {
2185
2215
  mosaicFirst: o = !0,
2186
2216
  gridSize: d = 1
2187
2217
  }) => {
2188
- const p = P(null), [b, m] = W({ isStart: !0, isEnd: !1 }), c = J(), u = X(), y = () => {
2218
+ const p = U(null), [b, m] = W({ isStart: !0, isEnd: !1 }), c = J(), u = X(), _ = () => {
2189
2219
  var T;
2190
2220
  c({
2191
2221
  element: "virtuales_prev",
@@ -2211,7 +2241,7 @@ const Aa = (t, a) => {
2211
2241
  },
2212
2242
  tags: { section: "OraculoSeccionVirtuales" }
2213
2243
  }), (T = p.current) == null || T.next();
2214
- }, E = () => {
2244
+ }, I = () => {
2215
2245
  c({
2216
2246
  element: "virtuales_view_more",
2217
2247
  label: `Landing: ${u} - OraculoSeccionVirtuales - Ver más`,
@@ -2223,10 +2253,10 @@ const Aa = (t, a) => {
2223
2253
  },
2224
2254
  tags: { section: "OraculoSeccionVirtuales" }
2225
2255
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2226
- }, B = !t || t.length === 0, v = B ? Ua(o, d) : Pa(t, o, d);
2227
- return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ f(q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2228
- /* @__PURE__ */ f(
2229
- A,
2256
+ }, M = !t || t.length === 0, v = M ? Va(o, d) : qa(t, o, d);
2257
+ return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ g(V, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2258
+ /* @__PURE__ */ g(
2259
+ L,
2230
2260
  {
2231
2261
  sx: {
2232
2262
  display: "grid",
@@ -2238,7 +2268,7 @@ const Aa = (t, a) => {
2238
2268
  },
2239
2269
  children: [
2240
2270
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
2241
- /* @__PURE__ */ f(A, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2271
+ /* @__PURE__ */ g(L, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2242
2272
  /* @__PURE__ */ e(
2243
2273
  G,
2244
2274
  {
@@ -2246,7 +2276,7 @@ const Aa = (t, a) => {
2246
2276
  variant: "secondary",
2247
2277
  iconOnly: !0,
2248
2278
  leftIcon: /* @__PURE__ */ e(Ze, {}),
2249
- onClick: y,
2279
+ onClick: _,
2250
2280
  disabled: b.isStart
2251
2281
  }
2252
2282
  ),
@@ -2262,7 +2292,7 @@ const Aa = (t, a) => {
2262
2292
  }
2263
2293
  )
2264
2294
  ] }),
2265
- /* @__PURE__ */ e(A, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(G, { variant: "secondary", onClick: E, children: "Ver más" }) })
2295
+ /* @__PURE__ */ e(L, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(G, { variant: "secondary", onClick: I, children: "Ver más" }) })
2266
2296
  ]
2267
2297
  }
2268
2298
  ),
@@ -2286,43 +2316,43 @@ const Aa = (t, a) => {
2286
2316
  {
2287
2317
  items: T.items,
2288
2318
  layout: T.kind === "mosaic" ? "mosaic" : "grid",
2289
- loading: B,
2290
- onClick: (_) => {
2291
- if (B) return;
2292
- const I = t.find(
2293
- (S, M) => String(lt(S, M)) === String(_.id)
2319
+ loading: M,
2320
+ onClick: (w) => {
2321
+ if (M) return;
2322
+ const C = t.find(
2323
+ (A, O) => String(lt(A, O)) === String(w.id)
2294
2324
  );
2295
- if (!I) {
2325
+ if (!C) {
2296
2326
  console.warn(
2297
2327
  "[virtuales] no se encontró game para id:",
2298
- _.id
2328
+ w.id
2299
2329
  );
2300
2330
  return;
2301
2331
  }
2302
2332
  c({
2303
2333
  element: "virtuales_game_card",
2304
- label: `Landing: ${u} - OraculoSeccionVirtuales - Open game: ${String(I.machine || "unknown")}`,
2305
- target: String(I.machine || "unknown"),
2334
+ label: `Landing: ${u} - OraculoSeccionVirtuales - Open game: ${String(C.machine || "unknown")}`,
2335
+ target: String(C.machine || "unknown"),
2306
2336
  event_type: "click",
2307
2337
  module_id: 301,
2308
2338
  metadata: {
2309
2339
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2310
2340
  },
2311
2341
  tags: {
2312
- game_name: String(I.machine || "unknown"),
2342
+ game_name: String(C.machine || "unknown"),
2313
2343
  section: "OraculoSeccionVirtuales"
2314
2344
  }
2315
2345
  });
2316
- const C = re("showIframe"), L = re("loadMachine");
2317
- C == null || C(), L == null || L(I, !1, "VIRTUALES");
2346
+ const E = re("showIframe"), B = re("loadMachine");
2347
+ E == null || E(), B == null || B(C, !1, "VIRTUALES");
2318
2348
  }
2319
2349
  }
2320
2350
  ) }),
2321
- onMove: ({ isStart: T, isEnd: _ }) => m({ isStart: T, isEnd: _ })
2351
+ onMove: ({ isStart: T, isEnd: w }) => m({ isStart: T, isEnd: w })
2322
2352
  }
2323
2353
  )
2324
2354
  ] }) });
2325
- }, Va = (t) => ({
2355
+ }, Wa = (t) => ({
2326
2356
  position: "relative",
2327
2357
  py: 8,
2328
2358
  color: "#fff",
@@ -2354,33 +2384,33 @@ const Aa = (t, a) => {
2354
2384
  0 0 6px rgba(255, 255, 255, .6),
2355
2385
  0 1px 0 rgba(137, 137, 137, .85)
2356
2386
  `
2357
- }, Da = ({
2387
+ }, ja = ({
2358
2388
  headline: t,
2359
2389
  headline2: a,
2360
2390
  items: n,
2361
2391
  backgroundImageUrl: i
2362
2392
  }) => {
2363
- const r = J(), o = X(), d = bt("(max-width: 767px)"), p = n.length > 1, b = P(null), m = P(null), c = P(!1), u = P(!1), [y, x] = W(0), [E, B] = W({ isStart: !0, isEnd: !1 });
2393
+ const r = J(), o = X(), d = bt("(max-width: 767px)"), p = n.length > 1, b = U(null), m = U(null), c = U(!1), u = U(!1), [_, x] = W(0), [I, M] = W({ isStart: !0, isEnd: !1 });
2364
2394
  K(() => {
2365
- const O = setTimeout(() => {
2395
+ const S = setTimeout(() => {
2366
2396
  c.current = !0;
2367
2397
  }, 500);
2368
- return () => clearTimeout(O);
2398
+ return () => clearTimeout(S);
2369
2399
  }, []);
2370
- const v = P(E);
2400
+ const v = U(I);
2371
2401
  K(() => {
2372
- v.current = E;
2373
- }, [E]);
2374
- const T = P(!1), _ = P(null), I = n == null ? void 0 : n[y], C = ae(
2402
+ v.current = I;
2403
+ }, [I]);
2404
+ const T = U(!1), w = U(null), C = n == null ? void 0 : n[_], E = ne(
2375
2405
  () => {
2376
- var O, k;
2377
- return (k = (O = I == null ? void 0 : I.backgroundImageUrl) != null ? O : i) != null ? k : "";
2406
+ var S, k;
2407
+ return (k = (S = C == null ? void 0 : C.backgroundImageUrl) != null ? S : i) != null ? k : "";
2378
2408
  },
2379
- [I, i]
2380
- ), L = Va(C), S = !n || n.length === 0, M = (O, k) => {
2409
+ [C, i]
2410
+ ), B = Wa(E), A = !n || n.length === 0, O = (S, k) => {
2381
2411
  r({
2382
2412
  element: "welcome_banner_button",
2383
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${O.title || "OraculoSeccionBonoBienvenida - Banner " + (k + 1)}`,
2413
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${S.title || "OraculoSeccionBonoBienvenida - Banner " + (k + 1)}`,
2384
2414
  target: "action",
2385
2415
  event_type: "click",
2386
2416
  module_id: 301,
@@ -2390,57 +2420,57 @@ const Aa = (t, a) => {
2390
2420
  banner_total: (n == null ? void 0 : n.length) || 0
2391
2421
  },
2392
2422
  tags: {
2393
- banner_title: O.title || "no_title",
2394
- button_text: O.buttonText || "no_text"
2423
+ banner_title: S.title || "no_title",
2424
+ button_text: S.buttonText || "no_text"
2395
2425
  }
2396
- }), O.onButtonClick && O.onButtonClick();
2397
- }, F = (O) => {
2426
+ }), S.onButtonClick && S.onButtonClick();
2427
+ }, R = (S) => {
2398
2428
  if (!c.current) return;
2399
2429
  if (u.current) {
2400
2430
  u.current = !1;
2401
2431
  return;
2402
2432
  }
2403
- const k = n == null ? void 0 : n[O];
2433
+ const k = n == null ? void 0 : n[S];
2404
2434
  r({
2405
2435
  element: "welcome_banner_carousel",
2406
- label: `Landing: ${o} - OraculoSeccionBonoBienvenida - Banner view: ${(k == null ? void 0 : k.title) || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
2436
+ label: `Landing: ${o} - OraculoSeccionBonoBienvenida - Banner view: ${(k == null ? void 0 : k.title) || "OraculoSeccionBonoBienvenida - Banner " + (S + 1)}`,
2407
2437
  target: "no_url",
2408
2438
  event_type: "view",
2409
2439
  module_id: 301,
2410
2440
  metadata: {
2411
2441
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2412
- slide_index: O + 1,
2442
+ slide_index: S + 1,
2413
2443
  total_slides: (n == null ? void 0 : n.length) || 0,
2414
2444
  interaction_type: "manual_slide"
2415
2445
  },
2416
2446
  tags: {
2417
- banner_position: String(O + 1),
2447
+ banner_position: String(S + 1),
2418
2448
  banner_title: (k == null ? void 0 : k.title) || "no_title"
2419
2449
  }
2420
2450
  });
2421
2451
  };
2422
2452
  K(() => {
2423
- const O = m.current;
2424
- if (!O) return;
2425
- const k = 6, z = 380, g = (l) => {
2426
- var N, $;
2427
- if (S || l.ctrlKey || T.current) return;
2453
+ const S = m.current;
2454
+ if (!S) return;
2455
+ const k = 6, F = 380, f = (l) => {
2456
+ var $, N;
2457
+ if (A || l.ctrlKey || T.current) return;
2428
2458
  const s = l.deltaX, h = l.deltaY;
2429
2459
  if (Math.abs(s) <= Math.abs(h) || Math.abs(s) < k) return;
2430
- const w = s > 0;
2431
- w && v.current.isEnd || !w && v.current.isStart || (l.preventDefault(), T.current = !0, w ? (N = b.current) == null || N.next() : ($ = b.current) == null || $.prev(), _.current && window.clearTimeout(_.current), _.current = window.setTimeout(() => {
2460
+ const y = s > 0;
2461
+ y && v.current.isEnd || !y && v.current.isStart || (l.preventDefault(), T.current = !0, y ? ($ = b.current) == null || $.next() : (N = b.current) == null || N.prev(), w.current && window.clearTimeout(w.current), w.current = window.setTimeout(() => {
2432
2462
  T.current = !1;
2433
- }, z));
2463
+ }, F));
2434
2464
  };
2435
- return O.addEventListener("wheel", g, { passive: !1 }), () => {
2436
- O.removeEventListener("wheel", g), _.current && window.clearTimeout(_.current);
2465
+ return S.addEventListener("wheel", f, { passive: !1 }), () => {
2466
+ S.removeEventListener("wheel", f), w.current && window.clearTimeout(w.current);
2437
2467
  };
2438
- }, [S]);
2439
- const V = (O, k, z) => {
2468
+ }, [A]);
2469
+ const z = (S, k, F) => {
2440
2470
  var s, h;
2441
- const g = (s = O.headline) != null ? s : t, l = (h = O.headline2) != null ? h : a;
2442
- return k ? /* @__PURE__ */ f(
2443
- A,
2471
+ const f = (s = S.headline) != null ? s : t, l = (h = S.headline2) != null ? h : a;
2472
+ return k ? /* @__PURE__ */ g(
2473
+ L,
2444
2474
  {
2445
2475
  sx: {
2446
2476
  maxWidth: 1200,
@@ -2452,8 +2482,8 @@ const Aa = (t, a) => {
2452
2482
  columnGap: 6
2453
2483
  },
2454
2484
  children: [
2455
- (g || l) && /* @__PURE__ */ e(
2456
- A,
2485
+ (f || l) && /* @__PURE__ */ e(
2486
+ L,
2457
2487
  {
2458
2488
  sx: {
2459
2489
  display: "flex",
@@ -2461,44 +2491,44 @@ const Aa = (t, a) => {
2461
2491
  justifyContent: "flex-start",
2462
2492
  minHeight: "100%"
2463
2493
  },
2464
- children: /* @__PURE__ */ f(A, { sx: { ...Ue, textAlign: "left", mb: 0 }, children: [
2465
- g && /* @__PURE__ */ e(te, { component: "span", sx: qe, children: g }),
2466
- l && /* @__PURE__ */ f(oe, { children: [
2494
+ children: /* @__PURE__ */ g(L, { sx: { ...Ue, textAlign: "left", mb: 0 }, children: [
2495
+ f && /* @__PURE__ */ e(ae, { component: "span", sx: qe, children: f }),
2496
+ l && /* @__PURE__ */ g(Q, { children: [
2467
2497
  /* @__PURE__ */ e("br", {}),
2468
- /* @__PURE__ */ e(te, { component: "span", sx: Ve, children: l })
2498
+ /* @__PURE__ */ e(ae, { component: "span", sx: Ve, children: l })
2469
2499
  ] })
2470
2500
  ] })
2471
2501
  }
2472
2502
  ),
2473
- /* @__PURE__ */ e(A, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ e(A, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ e(
2474
- Re,
2503
+ /* @__PURE__ */ e(L, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ e(L, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ e(
2504
+ Fe,
2475
2505
  {
2476
- ...O,
2477
- onButtonClick: () => M(O, z),
2506
+ ...S,
2507
+ onButtonClick: () => O(S, F),
2478
2508
  variant: "large"
2479
2509
  }
2480
2510
  ) }) })
2481
2511
  ]
2482
2512
  }
2483
- ) : /* @__PURE__ */ f(A, { sx: { textAlign: "center" }, children: [
2484
- (g || l) && /* @__PURE__ */ f(A, { sx: Ue, children: [
2485
- g && /* @__PURE__ */ e(te, { component: "span", sx: qe, children: g }),
2486
- l && /* @__PURE__ */ f(oe, { children: [
2513
+ ) : /* @__PURE__ */ g(L, { sx: { textAlign: "center" }, children: [
2514
+ (f || l) && /* @__PURE__ */ g(L, { sx: Ue, children: [
2515
+ f && /* @__PURE__ */ e(ae, { component: "span", sx: qe, children: f }),
2516
+ l && /* @__PURE__ */ g(Q, { children: [
2487
2517
  /* @__PURE__ */ e("br", {}),
2488
- /* @__PURE__ */ e(te, { component: "span", sx: Ve, children: l })
2518
+ /* @__PURE__ */ e(ae, { component: "span", sx: Ve, children: l })
2489
2519
  ] })
2490
2520
  ] }),
2491
- /* @__PURE__ */ e(A, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
2492
- Re,
2521
+ /* @__PURE__ */ e(L, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
2522
+ Fe,
2493
2523
  {
2494
- ...O,
2495
- onButtonClick: () => M(O, z),
2524
+ ...S,
2525
+ onButtonClick: () => O(S, F),
2496
2526
  variant: "small"
2497
2527
  }
2498
2528
  ) })
2499
2529
  ] });
2500
2530
  };
2501
- return /* @__PURE__ */ f(A, { component: "section", sx: L, children: [
2531
+ return /* @__PURE__ */ g(L, { component: "section", sx: B, children: [
2502
2532
  /* @__PURE__ */ e("div", { ref: m, style: { width: "100%" }, children: /* @__PURE__ */ e(
2503
2533
  se,
2504
2534
  {
@@ -2516,46 +2546,46 @@ const Aa = (t, a) => {
2516
2546
  // arrows: false,
2517
2547
  // drag: true,
2518
2548
  },
2519
- renderItem: (O, k) => /* @__PURE__ */ e(A, { sx: { width: "100%" }, children: V(O, !d, k) }),
2520
- onMove: ({ index: O, isStart: k, isEnd: z }) => {
2521
- x(O), typeof k == "boolean" && typeof z == "boolean" && B({ isStart: k, isEnd: z }), F(O);
2549
+ renderItem: (S, k) => /* @__PURE__ */ e(L, { sx: { width: "100%" }, children: z(S, !d, k) }),
2550
+ onMove: ({ index: S, isStart: k, isEnd: F }) => {
2551
+ x(S), typeof k == "boolean" && typeof F == "boolean" && M({ isStart: k, isEnd: F }), R(S);
2522
2552
  }
2523
2553
  }
2524
2554
  ) }),
2525
- p && /* @__PURE__ */ e(A, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
2555
+ p && /* @__PURE__ */ e(L, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
2526
2556
  Xe,
2527
2557
  {
2528
2558
  total: n.length,
2529
- active: y,
2530
- onSelect: (O) => {
2559
+ active: _,
2560
+ onSelect: (S) => {
2531
2561
  var k;
2532
2562
  r({
2533
2563
  element: "welcome_banner_dots",
2534
- label: `Landing: ${o} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${O + 1}`,
2564
+ label: `Landing: ${o} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${S + 1}`,
2535
2565
  target: "no_url",
2536
2566
  event_type: "click",
2537
2567
  module_id: 301,
2538
2568
  metadata: {
2539
2569
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2540
- dot_index: O + 1,
2570
+ dot_index: S + 1,
2541
2571
  total_dots: n.length
2542
2572
  },
2543
2573
  tags: {
2544
2574
  navigation_type: "dot_click"
2545
2575
  }
2546
- }), x(O), (k = b.current) == null || k.go(O);
2576
+ }), x(S), (k = b.current) == null || k.go(S);
2547
2577
  }
2548
2578
  }
2549
2579
  ) })
2550
2580
  ] });
2551
- }, Wa = ({
2581
+ }, Ga = ({
2552
2582
  className: t = "",
2553
2583
  fullBleed: a = !0,
2554
2584
  items: n,
2555
2585
  selectedIndex: i = 0,
2556
2586
  ariaLabel: r
2557
2587
  }) => {
2558
- const o = P(null), d = P(null), p = J(), b = X();
2588
+ const o = U(null), d = U(null), p = J(), b = X();
2559
2589
  if (!n) return null;
2560
2590
  const m = () => {
2561
2591
  p({
@@ -2572,13 +2602,13 @@ const Aa = (t, a) => {
2572
2602
  }, c = Array.isArray(n) ? n[i] : n;
2573
2603
  gt(() => {
2574
2604
  if (!o.current || !d.current || typeof ResizeObserver == "undefined") return;
2575
- const y = o.current, x = d.current, E = () => {
2576
- y.style.setProperty(
2605
+ const _ = o.current, x = d.current, I = () => {
2606
+ _.style.setProperty(
2577
2607
  "--orc-co-bottomH",
2578
2608
  `${x.offsetHeight + 16}px`
2579
2609
  );
2580
- }, B = new ResizeObserver(E);
2581
- return B.observe(x), E(), () => B.disconnect();
2610
+ }, M = new ResizeObserver(I);
2611
+ return M.observe(x), I(), () => M.disconnect();
2582
2612
  }, []);
2583
2613
  const u = [
2584
2614
  "orc-co-wrap",
@@ -2592,7 +2622,7 @@ const Aa = (t, a) => {
2592
2622
  className: u,
2593
2623
  "aria-label": r || c.imgAlt || "Club Olimpo",
2594
2624
  children: /* @__PURE__ */ e("div", { ref: d, children: /* @__PURE__ */ e(
2595
- oa,
2625
+ ra,
2596
2626
  {
2597
2627
  text: c.text,
2598
2628
  onClick: m,
@@ -2604,23 +2634,23 @@ const Aa = (t, a) => {
2604
2634
  ) })
2605
2635
  }
2606
2636
  );
2607
- }, ja = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Ga = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", De = {
2608
- controls: ja,
2609
- padding: Ga
2610
- }, Ha = (t) => {
2637
+ }, Ha = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Ka = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", De = {
2638
+ controls: Ha,
2639
+ padding: Ka
2640
+ }, Za = (t) => {
2611
2641
  var a, n;
2612
2642
  return (a = t.outcome) != null && a.id ? [t.outcome.id] : t.type === "BET_BUILDER" && ((n = t.group) != null && n.groups) ? t.group.groups.flatMap((i) => {
2613
2643
  var r, o;
2614
2644
  return (o = (r = i.outcomes) == null ? void 0 : r.map((d) => d.id)) != null ? o : [];
2615
2645
  }) : [];
2616
2646
  };
2617
- function Ka(t, a, n) {
2647
+ function Ja(t, a, n) {
2618
2648
  return n ? n.map((i) => {
2619
- var c, u, y, x, E, B;
2620
- const r = i.prePackCouponRows.flatMap((v) => Ha(v).map((T) => ({ eventId: v.eventId, outcomeId: T }))), o = new Set(r.map((v) => v.eventId)), d = new Set(r.map((v) => v.outcomeId)), p = new Map(r.map((v, T) => [v.outcomeId, T])), b = {};
2649
+ var c, u, _, x, I, M;
2650
+ const r = i.prePackCouponRows.flatMap((v) => Za(v).map((T) => ({ eventId: v.eventId, outcomeId: T }))), o = new Set(r.map((v) => v.eventId)), d = new Set(r.map((v) => v.outcomeId)), p = new Map(r.map((v, T) => [v.outcomeId, T])), b = {};
2621
2651
  for (const v of a) {
2622
2652
  if (!o.has(v.eventId)) continue;
2623
- const T = v.outcomes.filter((_) => d.has(_.id)).map((_) => ({ ..._, position: p.get(_.id) }));
2653
+ const T = v.outcomes.filter((w) => d.has(w.id)).map((w) => ({ ...w, position: p.get(w.id) }));
2624
2654
  T.length && ((u = b[c = v.eventId]) != null || (b[c] = []), b[v.eventId].push({ ...v, outcomes: T }));
2625
2655
  }
2626
2656
  const m = t.filter((v) => o.has(v.id)).map((v) => {
@@ -2630,21 +2660,21 @@ function Ka(t, a, n) {
2630
2660
  return {
2631
2661
  couponId: i.id,
2632
2662
  status: i.status,
2633
- combinadoTotal: (B = (E = (x = (y = i.prePackCouponBets) == null ? void 0 : y[0]) == null ? void 0 : x.odds) == null ? void 0 : E.decimal) != null ? B : null,
2663
+ combinadoTotal: (M = (I = (x = (_ = i.prePackCouponBets) == null ? void 0 : _[0]) == null ? void 0 : x.odds) == null ? void 0 : I.decimal) != null ? M : null,
2634
2664
  events: m
2635
2665
  };
2636
2666
  }) : [];
2637
2667
  }
2638
- const Za = de.memo(ba);
2639
- function Ja({
2668
+ const Xa = de.memo(_a);
2669
+ function Ya({
2640
2670
  items: t,
2641
2671
  title: a = "Combinadas del Olimpo",
2642
2672
  iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
2643
2673
  onViewMore: i,
2644
2674
  className: r = ""
2645
2675
  }) {
2646
- const o = J(), d = X(), p = P(null), [b, m] = W({ isStart: !0, isEnd: !1 }), [c, u] = W([]), y = "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", x = () => {
2647
- var I;
2676
+ const o = J(), d = X(), p = U(null), [b, m] = W({ isStart: !0, isEnd: !1 }), [c, u] = W([]), _ = "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", x = () => {
2677
+ var C;
2648
2678
  o({
2649
2679
  element: "evento_combinadas_prev",
2650
2680
  label: `Landing: ${d} - OraculoSeccionEventoCombinadas - Click: Anterior`,
@@ -2654,9 +2684,9 @@ function Ja({
2654
2684
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2655
2685
  },
2656
2686
  tags: { section: "OraculoSeccionEventoCombinadas" }
2657
- }), (I = p.current) == null || I.prev();
2658
- }, E = () => {
2659
- var I;
2687
+ }), (C = p.current) == null || C.prev();
2688
+ }, I = () => {
2689
+ var C;
2660
2690
  o({
2661
2691
  element: "evento_combinadas_next",
2662
2692
  label: `Landing: ${d} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
@@ -2666,8 +2696,8 @@ function Ja({
2666
2696
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2667
2697
  },
2668
2698
  tags: { section: "OraculoSeccionEventoCombinadas" }
2669
- }), (I = p.current) == null || I.next();
2670
- }, B = () => {
2699
+ }), (C = p.current) == null || C.next();
2700
+ }, M = () => {
2671
2701
  o({
2672
2702
  element: "evento_combinadas_ver_mas",
2673
2703
  label: `Landing: ${d} - OraculoSeccionEventoCombinadas - Click: Ver más`,
@@ -2677,43 +2707,43 @@ function Ja({
2677
2707
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2678
2708
  },
2679
2709
  tags: { section: "OraculoSeccionEventoCombinadas" }
2680
- }), ha();
2681
- }, v = ae(() => c.filter((I) => I.combinadoTotal !== null), [c]);
2710
+ }), va();
2711
+ }, v = ne(() => c.filter((C) => C.combinadoTotal !== null), [c]);
2682
2712
  async function T() {
2683
- var I, C, L;
2713
+ var C, E, B;
2684
2714
  try {
2685
- const M = await (await fetch(y)).json(), F = (L = (C = (I = M == null ? void 0 : M.group) == null ? void 0 : I.groups) == null ? void 0 : C[0]) == null ? void 0 : L.id;
2686
- if (!F) {
2715
+ const O = await (await fetch(_)).json(), R = (B = (E = (C = O == null ? void 0 : O.group) == null ? void 0 : C.groups) == null ? void 0 : E[0]) == null ? void 0 : B.id;
2716
+ if (!R) {
2687
2717
  console.error("Could not extract group ID");
2688
2718
  return;
2689
2719
  }
2690
- const V = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${F}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, k = await (await fetch(V)).json();
2691
- u(Ka(k.events, k.betOffers, k.prePackCoupons));
2692
- } catch (S) {
2693
- console.error("loadDataEventSpecial error:", S);
2720
+ const z = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${R}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, k = await (await fetch(z)).json();
2721
+ u(Ja(k.events, k.betOffers, k.prePackCoupons));
2722
+ } catch (A) {
2723
+ console.error("loadDataEventSpecial error:", A);
2694
2724
  }
2695
2725
  }
2696
2726
  K(() => {
2697
2727
  T();
2698
2728
  }, []);
2699
- const _ = r || void 0;
2700
- return v.length === 0 ? null : /* @__PURE__ */ e("section", { className: _, style: {
2729
+ const w = r || void 0;
2730
+ return v.length === 0 ? null : /* @__PURE__ */ e("section", { className: w, style: {
2701
2731
  // paddingLeft: 16,
2702
2732
  // paddingRight: 16,
2703
2733
  width: "100%",
2704
2734
  boxSizing: "border-box"
2705
- }, children: /* @__PURE__ */ f(q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2706
- /* @__PURE__ */ e("div", { className: De.padding, children: /* @__PURE__ */ f(ne, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2735
+ }, children: /* @__PURE__ */ g(V, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2736
+ /* @__PURE__ */ e("div", { className: De.padding, children: /* @__PURE__ */ g(oe, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2707
2737
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
2708
- /* @__PURE__ */ f("div", { className: De.controls, children: [
2709
- /* @__PURE__ */ f(ne, { spacing: 1, columns: "auto auto", children: [
2738
+ /* @__PURE__ */ g("div", { className: De.controls, children: [
2739
+ /* @__PURE__ */ g(oe, { spacing: 1, columns: "auto auto", children: [
2710
2740
  /* @__PURE__ */ e(
2711
2741
  G,
2712
2742
  {
2713
2743
  ariaLabel: "Anterior",
2714
2744
  variant: "secondary",
2715
2745
  iconOnly: !0,
2716
- leftIcon: /* @__PURE__ */ e(Oe, {}),
2746
+ leftIcon: /* @__PURE__ */ e(Ee, {}),
2717
2747
  onClick: x,
2718
2748
  disabled: b.isStart
2719
2749
  }
@@ -2724,13 +2754,13 @@ function Ja({
2724
2754
  ariaLabel: "Siguiente",
2725
2755
  variant: "secondary",
2726
2756
  iconOnly: !0,
2727
- rightIcon: /* @__PURE__ */ e(Ee, {}),
2728
- onClick: E,
2757
+ rightIcon: /* @__PURE__ */ e(Ie, {}),
2758
+ onClick: I,
2729
2759
  disabled: b.isEnd
2730
2760
  }
2731
2761
  )
2732
2762
  ] }),
2733
- /* @__PURE__ */ e(G, { variant: "secondary", onClick: B, children: "Ver más" })
2763
+ /* @__PURE__ */ e(G, { variant: "secondary", onClick: M, children: "Ver más" })
2734
2764
  ] })
2735
2765
  ] }) }),
2736
2766
  /* @__PURE__ */ e(
@@ -2747,55 +2777,55 @@ function Ja({
2747
2777
  breakpoints: {
2748
2778
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
2749
2779
  },
2750
- renderItem: (I) => /* @__PURE__ */ e(Za, { coupon: I }),
2751
- onMove: ({ isStart: I, isEnd: C }) => m({ isStart: I, isEnd: C })
2780
+ renderItem: (C) => /* @__PURE__ */ e(Xa, { coupon: C }),
2781
+ onMove: ({ isStart: C, isEnd: E }) => m({ isStart: C, isEnd: E })
2752
2782
  }
2753
2783
  )
2754
2784
  ] }) });
2755
2785
  }
2756
- function Xa({}) {
2786
+ function Qa({}) {
2757
2787
  return /* @__PURE__ */ e(
2758
2788
  "div",
2759
2789
  {
2760
- className: ye.cardWrapper,
2761
- children: /* @__PURE__ */ f(q, { direction: "column", spacing: 1, children: [
2762
- /* @__PURE__ */ f(q, { spacing: 1, direction: "row", children: [
2763
- /* @__PURE__ */ e(U, { variant: "text", width: "60%", height: 24 }),
2764
- /* @__PURE__ */ e(U, { variant: "text", width: "39%", height: 24 })
2790
+ className: xe.cardWrapper,
2791
+ children: /* @__PURE__ */ g(V, { direction: "column", spacing: 1, children: [
2792
+ /* @__PURE__ */ g(V, { spacing: 1, direction: "row", children: [
2793
+ /* @__PURE__ */ e(q, { variant: "text", width: "60%", height: 24 }),
2794
+ /* @__PURE__ */ e(q, { variant: "text", width: "39%", height: 24 })
2765
2795
  ] }),
2766
- /* @__PURE__ */ f(q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2767
- /* @__PURE__ */ e(U, { variant: "circular", width: 32, height: 40 }),
2768
- /* @__PURE__ */ e(U, { variant: "text", width: 40, height: 40 }),
2769
- /* @__PURE__ */ e(U, { variant: "circular", width: 32, height: 40 })
2796
+ /* @__PURE__ */ g(V, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2797
+ /* @__PURE__ */ e(q, { variant: "circular", width: 32, height: 40 }),
2798
+ /* @__PURE__ */ e(q, { variant: "text", width: 40, height: 40 }),
2799
+ /* @__PURE__ */ e(q, { variant: "circular", width: 32, height: 40 })
2770
2800
  ] }),
2771
- /* @__PURE__ */ f(q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2772
- /* @__PURE__ */ e(U, { variant: "text", width: 32, height: 16 }),
2773
- /* @__PURE__ */ e(U, { variant: "text", width: 40, height: 16 }),
2774
- /* @__PURE__ */ e(U, { variant: "text", width: 32, height: 16 })
2801
+ /* @__PURE__ */ g(V, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2802
+ /* @__PURE__ */ e(q, { variant: "text", width: 32, height: 16 }),
2803
+ /* @__PURE__ */ e(q, { variant: "text", width: 40, height: 16 }),
2804
+ /* @__PURE__ */ e(q, { variant: "text", width: 32, height: 16 })
2775
2805
  ] }),
2776
- /* @__PURE__ */ f(q, { spacing: 2, direction: "row", children: [
2777
- /* @__PURE__ */ e(U, { variant: "rounded", width: 88, height: 16 }),
2778
- /* @__PURE__ */ e(U, { variant: "rounded", width: 88, height: 16 }),
2779
- /* @__PURE__ */ e(U, { variant: "rounded", width: 88, height: 16 })
2806
+ /* @__PURE__ */ g(V, { spacing: 2, direction: "row", children: [
2807
+ /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 16 }),
2808
+ /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 16 }),
2809
+ /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 16 })
2780
2810
  ] }),
2781
- /* @__PURE__ */ f(q, { spacing: 2, direction: "row", children: [
2782
- /* @__PURE__ */ e(U, { variant: "rounded", width: 88, height: 32 }),
2783
- /* @__PURE__ */ e(U, { variant: "rounded", width: 88, height: 32 }),
2784
- /* @__PURE__ */ e(U, { variant: "rounded", width: 88, height: 32 })
2811
+ /* @__PURE__ */ g(V, { spacing: 2, direction: "row", children: [
2812
+ /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 32 }),
2813
+ /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 32 }),
2814
+ /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 32 })
2785
2815
  ] })
2786
2816
  ] })
2787
2817
  }
2788
2818
  );
2789
2819
  }
2790
- const Ya = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Qa = {
2791
- fadeWrapper: Ya
2820
+ const en = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", tn = {
2821
+ fadeWrapper: en
2792
2822
  };
2793
- function Ce({ children: t }) {
2794
- return /* @__PURE__ */ e("div", { className: Qa.fadeWrapper, children: t });
2823
+ function Oe({ children: t }) {
2824
+ return /* @__PURE__ */ e("div", { className: tn.fadeWrapper, children: t });
2795
2825
  }
2796
- const en = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", tn = {
2797
- padding: en
2798
- }, an = (t) => {
2826
+ const an = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", nn = {
2827
+ padding: an
2828
+ }, on = (t) => {
2799
2829
  const a = ["esports", "cyber"];
2800
2830
  return t.filter((n) => {
2801
2831
  var r;
@@ -2803,19 +2833,19 @@ const en = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", tn = {
2803
2833
  const i = ((r = n.event.group) == null ? void 0 : r.toLowerCase()) || "";
2804
2834
  return !a.some((o) => i.includes(o));
2805
2835
  });
2806
- }, nn = de.memo(wa);
2807
- function on({
2836
+ }, rn = de.memo(Ca);
2837
+ function ln({
2808
2838
  items: t,
2809
2839
  title: a = "En vivo",
2810
2840
  iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
2811
2841
  onViewMore: i,
2812
2842
  className: r = ""
2813
2843
  }) {
2814
- const o = "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", d = P(null), [p, b] = W({ isStart: !0, isEnd: !1 }), [m, c] = W(null), [u, y] = W({}), [x, E] = W({ start: null, end: null }), B = P(!1), [v, T] = W(null), _ = P(!1), I = J(), C = X(), L = P(/* @__PURE__ */ new Map()), S = nt(x, 300), M = P(/* @__PURE__ */ new Set()), F = () => {
2844
+ const o = "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", d = U(null), [p, b] = W({ isStart: !0, isEnd: !1 }), [m, c] = W(null), [u, _] = W({}), [x, I] = W({ start: null, end: null }), M = U(!1), [v, T] = W(null), w = U(!1), C = J(), E = X(), B = U(/* @__PURE__ */ new Map()), A = nt(x, 300), O = U(/* @__PURE__ */ new Set()), R = () => {
2815
2845
  var s;
2816
- I({
2846
+ C({
2817
2847
  element: "evento_en_vivo_prev",
2818
- label: `Landing: ${C} - OraculoSeccionEventoEnVivo - Anterior`,
2848
+ label: `Landing: ${E} - OraculoSeccionEventoEnVivo - Anterior`,
2819
2849
  target: "prev",
2820
2850
  event_type: "click",
2821
2851
  module_id: 301,
@@ -2824,11 +2854,11 @@ function on({
2824
2854
  },
2825
2855
  tags: { section: "OraculoSeccionEventoEnVivo" }
2826
2856
  }), (s = d.current) == null || s.prev();
2827
- }, V = () => {
2857
+ }, z = () => {
2828
2858
  var s;
2829
- I({
2859
+ C({
2830
2860
  element: "evento_en_vivo_next",
2831
- label: `Landing: ${C} - OraculoSeccionEventoEnVivo - Siguiente`,
2861
+ label: `Landing: ${E} - OraculoSeccionEventoEnVivo - Siguiente`,
2832
2862
  target: "next",
2833
2863
  event_type: "click",
2834
2864
  module_id: 301,
@@ -2837,10 +2867,10 @@ function on({
2837
2867
  },
2838
2868
  tags: { section: "OraculoSeccionEventoEnVivo" }
2839
2869
  }), (s = d.current) == null || s.next();
2840
- }, O = () => {
2841
- I({
2870
+ }, S = () => {
2871
+ C({
2842
2872
  element: "evento_en_vivo_view_more",
2843
- label: `Landing: ${C} - OraculoSeccionEventoEnVivo - Ver más`,
2873
+ label: `Landing: ${E} - OraculoSeccionEventoEnVivo - Ver más`,
2844
2874
  target: "ver_mas",
2845
2875
  event_type: "click",
2846
2876
  module_id: 301,
@@ -2848,30 +2878,30 @@ function on({
2848
2878
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2849
2879
  },
2850
2880
  tags: { section: "OraculoSeccionEventoEnVivo" }
2851
- }), ga();
2852
- }, k = ve(async () => {
2881
+ }), ha();
2882
+ }, k = _e(async () => {
2853
2883
  var s;
2854
2884
  try {
2855
- if (!_.current) {
2856
- _.current = !0;
2885
+ if (!w.current) {
2886
+ w.current = !0;
2857
2887
  try {
2858
- const R = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), j = ((s = R == null ? void 0 : R.data) == null ? void 0 : s.event_ids) || [], D = /* @__PURE__ */ new Map();
2859
- j.forEach((H, Y) => D.set(String(H), Y)), L.current = D;
2860
- } catch ($) {
2861
- console.error("Order fetch failed, using default sorting", $);
2888
+ const P = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), j = ((s = P == null ? void 0 : P.data) == null ? void 0 : s.event_ids) || [], D = /* @__PURE__ */ new Map();
2889
+ j.forEach((H, Y) => D.set(String(H), Y)), B.current = D;
2890
+ } catch (N) {
2891
+ console.error("Order fetch failed, using default sorting", N);
2862
2892
  }
2863
2893
  }
2864
2894
  const h = await fetch(o);
2865
2895
  if (!h.ok) throw new Error("Failed to fetch live events");
2866
- const w = await h.json(), N = an(w.events);
2867
- if (L.current.size === 0)
2868
- c(N);
2896
+ const y = await h.json(), $ = on(y.events);
2897
+ if (B.current.size === 0)
2898
+ c($);
2869
2899
  else {
2870
- const $ = [...N].sort((R, j) => {
2871
- const D = L.current.get(String(R.event.id)), H = L.current.get(String(j.event.id));
2900
+ const N = [...$].sort((P, j) => {
2901
+ const D = B.current.get(String(P.event.id)), H = B.current.get(String(j.event.id));
2872
2902
  return (D !== void 0 ? D : 1 / 0) - (H !== void 0 ? H : 1 / 0);
2873
2903
  });
2874
- c($);
2904
+ c(N);
2875
2905
  }
2876
2906
  } catch (h) {
2877
2907
  console.error("LoadData Error:", h);
@@ -2882,45 +2912,45 @@ function on({
2882
2912
  const s = setInterval(k, 2e4);
2883
2913
  return () => clearInterval(s);
2884
2914
  }, [k]), K(() => {
2885
- if (S.start === null || S.end === null || !(m != null && m.length) || B.current)
2915
+ if (A.start === null || A.end === null || !(m != null && m.length) || M.current)
2886
2916
  return;
2887
- const s = 3, h = Math.max(0, S.start - s), w = Math.min(m.length - 1, S.end + s), N = m.slice(h, w + 1).map(($) => {
2888
- var R;
2889
- return (R = $ == null ? void 0 : $.event) == null ? void 0 : R.id;
2890
- }).filter(($) => $ && !M.current.has($));
2891
- N.length !== 0 && (N.forEach(($) => M.current.add($)), B.current = !0, at(N).then(($) => {
2892
- $ != null && $.events && y((R) => ({
2893
- ...R,
2894
- ...$.events
2917
+ const s = 3, h = Math.max(0, A.start - s), y = Math.min(m.length - 1, A.end + s), $ = m.slice(h, y + 1).map((N) => {
2918
+ var P;
2919
+ return (P = N == null ? void 0 : N.event) == null ? void 0 : P.id;
2920
+ }).filter((N) => N && !O.current.has(N));
2921
+ $.length !== 0 && ($.forEach((N) => O.current.add(N)), M.current = !0, at($).then((N) => {
2922
+ N != null && N.events && _((P) => ({
2923
+ ...P,
2924
+ ...N.events
2895
2925
  }));
2896
- }).catch(($) => {
2897
- console.error("Jersey fetch error", $), N.forEach((R) => M.current.delete(R));
2926
+ }).catch((N) => {
2927
+ console.error("Jersey fetch error", N), $.forEach((P) => O.current.delete(P));
2898
2928
  }).finally(() => {
2899
- B.current = !1;
2929
+ M.current = !1;
2900
2930
  }));
2901
- }, [S, m]);
2902
- const z = r || void 0, g = m === null;
2903
- if (!g && m.length === 0)
2931
+ }, [A, m]);
2932
+ const F = r || void 0, f = m === null;
2933
+ if (!f && m.length === 0)
2904
2934
  return null;
2905
- const l = ae(() => g ? Array(4).fill({}) : (m == null ? void 0 : m.slice(0, 20)) || [], [g, m]);
2906
- return /* @__PURE__ */ e("section", { className: z, style: {
2935
+ const l = ne(() => f ? Array(4).fill({}) : (m == null ? void 0 : m.slice(0, 20)) || [], [f, m]);
2936
+ return /* @__PURE__ */ e("section", { className: F, style: {
2907
2937
  // paddingLeft: 16,
2908
2938
  // paddingRight: 16,
2909
2939
  width: "100%",
2910
2940
  boxSizing: "border-box"
2911
- }, children: /* @__PURE__ */ f(q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2912
- /* @__PURE__ */ e("div", { className: tn.padding, children: /* @__PURE__ */ f(ne, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2941
+ }, children: /* @__PURE__ */ g(V, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2942
+ /* @__PURE__ */ e("div", { className: nn.padding, children: /* @__PURE__ */ g(oe, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2913
2943
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
2914
- /* @__PURE__ */ f("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
2915
- /* @__PURE__ */ f(ne, { spacing: 1, columns: "auto auto", children: [
2944
+ /* @__PURE__ */ g("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
2945
+ /* @__PURE__ */ g(oe, { spacing: 1, columns: "auto auto", children: [
2916
2946
  /* @__PURE__ */ e(
2917
2947
  G,
2918
2948
  {
2919
2949
  ariaLabel: "Anterior",
2920
2950
  variant: "secondary",
2921
2951
  iconOnly: !0,
2922
- leftIcon: /* @__PURE__ */ e(Oe, {}),
2923
- onClick: F,
2952
+ leftIcon: /* @__PURE__ */ e(Ee, {}),
2953
+ onClick: R,
2924
2954
  disabled: p.isStart
2925
2955
  }
2926
2956
  ),
@@ -2930,13 +2960,13 @@ function on({
2930
2960
  ariaLabel: "Siguiente",
2931
2961
  variant: "secondary",
2932
2962
  iconOnly: !0,
2933
- rightIcon: /* @__PURE__ */ e(Ee, {}),
2934
- onClick: V,
2963
+ rightIcon: /* @__PURE__ */ e(Ie, {}),
2964
+ onClick: z,
2935
2965
  disabled: p.isEnd
2936
2966
  }
2937
2967
  )
2938
2968
  ] }),
2939
- /* @__PURE__ */ e(G, { variant: "secondary", onClick: O, children: "Ver más" })
2969
+ /* @__PURE__ */ e(G, { variant: "secondary", onClick: S, children: "Ver más" })
2940
2970
  ] })
2941
2971
  ] }) }),
2942
2972
  /* @__PURE__ */ e(
@@ -2955,60 +2985,60 @@ function on({
2955
2985
  1024: { gap: "10px", focus: "center", padding: { left: "24px", right: "24px" } }
2956
2986
  },
2957
2987
  renderItem: (s) => {
2958
- var N;
2959
- const h = ((N = s.event) == null ? void 0 : N.id) || s.eventId, w = h in u ? u[h] : void 0;
2960
- return g ? /* @__PURE__ */ e(Ce, { children: /* @__PURE__ */ e(Xa, {}) }) : /* @__PURE__ */ e(Ce, { children: /* @__PURE__ */ e(
2961
- nn,
2988
+ var $;
2989
+ const h = (($ = s.event) == null ? void 0 : $.id) || s.eventId, y = h in u ? u[h] : void 0;
2990
+ return f ? /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(Qa, {}) }) : /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(
2991
+ rn,
2962
2992
  {
2963
2993
  ...s,
2964
- jersey: w
2994
+ jersey: y
2965
2995
  }
2966
2996
  ) });
2967
2997
  },
2968
- onMove: ({ isStart: s, isEnd: h, visibleStart: w, visibleEnd: N }) => {
2998
+ onMove: ({ isStart: s, isEnd: h, visibleStart: y, visibleEnd: $ }) => {
2969
2999
  b(
2970
- ($) => $.isStart === s && $.isEnd === h ? $ : { isStart: s, isEnd: h }
2971
- ), E({ start: w, end: N });
3000
+ (N) => N.isStart === s && N.isEnd === h ? N : { isStart: s, isEnd: h }
3001
+ ), I({ start: y, end: $ });
2972
3002
  }
2973
3003
  }
2974
3004
  )
2975
3005
  ] }) });
2976
3006
  }
2977
- function rn() {
2978
- return /* @__PURE__ */ f("div", { className: ce.cardContainer, children: [
3007
+ function sn() {
3008
+ return /* @__PURE__ */ g("div", { className: ce.cardContainer, children: [
2979
3009
  /* @__PURE__ */ e(Qe, { title: "" }),
2980
- /* @__PURE__ */ e("div", { className: ce.cardBackground, children: /* @__PURE__ */ f(q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2981
- /* @__PURE__ */ f(q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2982
- /* @__PURE__ */ e(U, { variant: "circular", width: 48, height: 48 }),
2983
- /* @__PURE__ */ e(U, { variant: "circular", width: 48, height: 48 })
3010
+ /* @__PURE__ */ e("div", { className: ce.cardBackground, children: /* @__PURE__ */ g(V, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3011
+ /* @__PURE__ */ g(V, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3012
+ /* @__PURE__ */ e(q, { variant: "circular", width: 48, height: 48 }),
3013
+ /* @__PURE__ */ e(q, { variant: "circular", width: 48, height: 48 })
2984
3014
  ] }),
2985
- /* @__PURE__ */ f(q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2986
- /* @__PURE__ */ f(q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2987
- /* @__PURE__ */ e(U, { variant: "text", width: 80, height: 12 }),
2988
- /* @__PURE__ */ e(U, { variant: "text", width: 80, height: 12 })
3015
+ /* @__PURE__ */ g(V, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3016
+ /* @__PURE__ */ g(V, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3017
+ /* @__PURE__ */ e(q, { variant: "text", width: 80, height: 12 }),
3018
+ /* @__PURE__ */ e(q, { variant: "text", width: 80, height: 12 })
2989
3019
  ] }),
2990
- /* @__PURE__ */ e(q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(U, { variant: "text", width: 160, height: 12 }) }),
2991
- /* @__PURE__ */ f(q, { direction: "row", spacing: 1, children: [
2992
- /* @__PURE__ */ e(U, { variant: "text", width: 80, height: 16 }),
2993
- /* @__PURE__ */ e(U, { variant: "text", width: 80, height: 16 }),
2994
- /* @__PURE__ */ e(U, { variant: "text", width: 80, height: 16 })
3020
+ /* @__PURE__ */ e(V, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(q, { variant: "text", width: 160, height: 12 }) }),
3021
+ /* @__PURE__ */ g(V, { direction: "row", spacing: 1, children: [
3022
+ /* @__PURE__ */ e(q, { variant: "text", width: 80, height: 16 }),
3023
+ /* @__PURE__ */ e(q, { variant: "text", width: 80, height: 16 }),
3024
+ /* @__PURE__ */ e(q, { variant: "text", width: 80, height: 16 })
2995
3025
  ] }),
2996
- /* @__PURE__ */ e("div", { className: ce.jugadas, children: /* @__PURE__ */ f(q, { direction: "row", spacing: 1, children: [
2997
- /* @__PURE__ */ e(U, { variant: "rounded", width: 80, height: 32 }),
2998
- /* @__PURE__ */ e(U, { variant: "rounded", width: 80, height: 32 }),
2999
- /* @__PURE__ */ e(U, { variant: "rounded", width: 80, height: 32 })
3026
+ /* @__PURE__ */ e("div", { className: ce.jugadas, children: /* @__PURE__ */ g(V, { direction: "row", spacing: 1, children: [
3027
+ /* @__PURE__ */ e(q, { variant: "rounded", width: 80, height: 32 }),
3028
+ /* @__PURE__ */ e(q, { variant: "rounded", width: 80, height: 32 }),
3029
+ /* @__PURE__ */ e(q, { variant: "rounded", width: 80, height: 32 })
3000
3030
  ] }) })
3001
3031
  ] })
3002
3032
  ] }) })
3003
3033
  ] });
3004
3034
  }
3005
- const ln = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", sn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", cn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", he = {
3006
- wrapper: ln,
3007
- container: sn,
3008
- buttonWrapper: cn,
3009
- padding: dn
3010
- }, un = de.memo($a);
3011
- async function mn(t, a = 2, n) {
3035
+ const cn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", dn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", un = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", mn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", be = {
3036
+ wrapper: cn,
3037
+ container: dn,
3038
+ buttonWrapper: un,
3039
+ padding: mn
3040
+ }, pn = de.memo(Ma);
3041
+ async function gn(t, a = 2, n) {
3012
3042
  const i = [];
3013
3043
  for (let r = 0; r < t.length; r += a) {
3014
3044
  if (n.aborted)
@@ -3020,12 +3050,12 @@ async function mn(t, a = 2, n) {
3020
3050
  }
3021
3051
  return i;
3022
3052
  }
3023
- function pn(t) {
3053
+ function fn(t) {
3024
3054
  return [...t].sort(
3025
3055
  (a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
3026
3056
  );
3027
3057
  }
3028
- function gn(t) {
3058
+ function hn(t) {
3029
3059
  const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
3030
3060
  return t.filter((i) => {
3031
3061
  if (!i.start) return !1;
@@ -3033,7 +3063,7 @@ function gn(t) {
3033
3063
  return r >= a && r <= n;
3034
3064
  });
3035
3065
  }
3036
- function fn(t, a) {
3066
+ function bn(t, a) {
3037
3067
  const i = a.filter((r) => {
3038
3068
  var o;
3039
3069
  return ((o = r.betOfferType) == null ? void 0 : o.id) === 2;
@@ -3043,18 +3073,18 @@ function fn(t, a) {
3043
3073
  outcome: i[r.id]
3044
3074
  }));
3045
3075
  }
3046
- function hn({
3076
+ function vn({
3047
3077
  items: t,
3048
3078
  title: a = "En vivo",
3049
3079
  iconUrl: n,
3050
3080
  onViewMore: i,
3051
3081
  className: r = ""
3052
3082
  }) {
3053
- const o = J(), d = X(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", b = P(null), [m, c] = W({ isStart: !0, isEnd: !1 }), [u, y] = W(null);
3054
- P(/* @__PURE__ */ new Set());
3055
- const [x, E] = W({}), [B, v] = W({ start: null, end: null }), T = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", _ = nt(B, 250), I = P(!1);
3056
- ae(() => u === null ? Array(6).fill({}) : u.slice(0, 20), [u]);
3057
- const C = () => {
3083
+ const o = J(), d = X(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", b = U(null), [m, c] = W({ isStart: !0, isEnd: !1 }), [u, _] = W(null);
3084
+ U(/* @__PURE__ */ new Set());
3085
+ const [x, I] = W({}), [M, v] = W({ start: null, end: null }), T = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", w = nt(M, 250), C = U(!1);
3086
+ ne(() => u === null ? Array(6).fill({}) : u.slice(0, 20), [u]);
3087
+ const E = () => {
3058
3088
  o({
3059
3089
  element: "evento_semana_view_more",
3060
3090
  label: `Landing: ${d} - OraculoSeccionEventoSemana - Ver más`,
@@ -3065,43 +3095,43 @@ function hn({
3065
3095
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3066
3096
  },
3067
3097
  tags: { section: "OraculoSeccionEventoSemana" }
3068
- }), fa();
3098
+ }), ba();
3069
3099
  };
3070
- async function L(O) {
3071
- var g, l;
3072
- let k = [], z = [];
3100
+ async function B(S) {
3101
+ var f, l;
3102
+ let k = [], F = [];
3073
3103
  try {
3074
3104
  const s = await fetch(
3075
3105
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
3076
- { signal: O }
3106
+ { signal: S }
3077
3107
  );
3078
3108
  if (s.ok) {
3079
3109
  const h = await s.json();
3080
- k = ((g = h == null ? void 0 : h.data) == null ? void 0 : g.group_ids) || [], z = ((l = h == null ? void 0 : h.data) == null ? void 0 : l.event_ids) || [];
3110
+ k = ((f = h == null ? void 0 : h.data) == null ? void 0 : f.group_ids) || [], F = ((l = h == null ? void 0 : h.data) == null ? void 0 : l.event_ids) || [];
3081
3111
  }
3082
3112
  } catch (s) {
3083
3113
  s.name !== "AbortError" && console.warn("Order API not available, using default group order");
3084
3114
  return;
3085
3115
  }
3086
3116
  try {
3087
- const w = (await (await fetch(p, { signal: O })).json()).group.groups.find(
3117
+ const y = (await (await fetch(p, { signal: S })).json()).group.groups.find(
3088
3118
  (H) => H.englishName === "Football"
3089
3119
  );
3090
- if (!w || !Array.isArray(w.groups)) {
3120
+ if (!y || !Array.isArray(y.groups)) {
3091
3121
  console.error("Football groups not found");
3092
3122
  return;
3093
3123
  }
3094
- let N = [...w.groups];
3124
+ let $ = [...y.groups];
3095
3125
  if (k.length > 0) {
3096
3126
  const H = new Map(
3097
3127
  k.map((Y, ie) => [Y, ie])
3098
3128
  );
3099
- N.sort((Y, ie) => {
3100
- const ge = H.get(String(Y.id)), ue = H.get(String(ie.id));
3101
- return ge !== void 0 && ue !== void 0 ? ge - ue : ge !== void 0 ? -1 : ue !== void 0 ? 1 : 0;
3129
+ $.sort((Y, ie) => {
3130
+ const fe = H.get(String(Y.id)), ue = H.get(String(ie.id));
3131
+ return fe !== void 0 && ue !== void 0 ? fe - ue : fe !== void 0 ? -1 : ue !== void 0 ? 1 : 0;
3102
3132
  });
3103
3133
  }
3104
- const R = N.slice(0, 5), j = (H) => {
3134
+ const P = $.slice(0, 5), j = (H) => {
3105
3135
  const Y = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3106
3136
  if (H.groups && H.groups.length > 0) {
3107
3137
  const ie = H.groups[0];
@@ -3112,85 +3142,85 @@ function hn({
3112
3142
  return [
3113
3143
  `${Y}/${H.termKey}/all/all/matches.json?${T}`
3114
3144
  ];
3115
- }, D = R.flatMap(j);
3116
- S(D, z, O);
3145
+ }, D = P.flatMap(j);
3146
+ A(D, F, S);
3117
3147
  } catch (s) {
3118
3148
  console.error(s);
3119
3149
  }
3120
3150
  }
3121
- async function S(O, k, z) {
3151
+ async function A(S, k, F) {
3122
3152
  try {
3123
- const g = await mn(O, 2, z);
3153
+ const f = await gn(S, 2, F);
3124
3154
  let l = [], s = [];
3125
- g.forEach(($) => {
3126
- $.events && (l.push(...$.events.map((R) => R.event)), s.push(
3127
- ...$.events.flatMap((R) => R.betOffers || [])
3155
+ f.forEach((N) => {
3156
+ N.events && (l.push(...N.events.map((P) => P.event)), s.push(
3157
+ ...N.events.flatMap((P) => P.betOffers || [])
3128
3158
  ));
3129
3159
  });
3130
- const h = fn(l, s), w = pn(gn(h));
3131
- let N = w;
3160
+ const h = bn(l, s), y = fn(hn(h));
3161
+ let $ = y;
3132
3162
  if (k.length > 0) {
3133
- const $ = new Map(
3134
- k.map((R, j) => [
3135
- String(R),
3163
+ const N = new Map(
3164
+ k.map((P, j) => [
3165
+ String(P),
3136
3166
  j
3137
3167
  ])
3138
3168
  );
3139
- N = [...w].sort((R, j) => {
3140
- const D = $.get(String(R.id)), H = $.get(String(j.id));
3169
+ $ = [...y].sort((P, j) => {
3170
+ const D = N.get(String(P.id)), H = N.get(String(j.id));
3141
3171
  return D !== void 0 && H !== void 0 ? D - H : D !== void 0 ? -1 : H !== void 0 ? 1 : 0;
3142
3172
  });
3143
3173
  }
3144
- if (z.aborted) return;
3145
- y(N);
3146
- } catch (g) {
3147
- console.error("Error loading events:", g);
3174
+ if (F.aborted) return;
3175
+ _($);
3176
+ } catch (f) {
3177
+ console.error("Error loading events:", f);
3148
3178
  }
3149
3179
  }
3150
3180
  K(() => {
3151
3181
  if (!t) return;
3152
- const O = new AbortController();
3153
- return L(O.signal), () => {
3154
- O.abort();
3182
+ const S = new AbortController();
3183
+ return B(S.signal), () => {
3184
+ S.abort();
3155
3185
  };
3156
3186
  }, [t]), K(() => {
3157
- if (_.start === null || _.end === null || !(u != null && u.length) || I.current)
3187
+ if (w.start === null || w.end === null || !(u != null && u.length) || C.current)
3158
3188
  return;
3159
- const O = 2, k = Math.max(0, _.start - O), z = Math.min(u.length - 1, _.end + O), g = u.slice(k, z + 1).map((s) => s == null ? void 0 : s.id).filter(Boolean).filter((s) => x[s] === void 0);
3160
- if (!g.length) return;
3189
+ const S = 2, k = Math.max(0, w.start - S), F = Math.min(u.length - 1, w.end + S), f = u.slice(k, F + 1).map((s) => s == null ? void 0 : s.id).filter(Boolean).filter((s) => x[s] === void 0);
3190
+ if (!f.length) return;
3161
3191
  let l = !1;
3162
- return I.current = !0, (async () => {
3192
+ return C.current = !0, (async () => {
3163
3193
  try {
3164
- const s = await at(g);
3165
- l || E((h) => ({
3194
+ const s = await at(f);
3195
+ l || I((h) => ({
3166
3196
  ...h,
3167
3197
  ...s.events
3168
3198
  }));
3169
3199
  } catch (s) {
3170
3200
  console.error("Jersey fetch error", s);
3171
3201
  } finally {
3172
- I.current = !1;
3202
+ C.current = !1;
3173
3203
  }
3174
3204
  })(), () => {
3175
3205
  l = !0;
3176
3206
  };
3177
- }, [_, u]);
3178
- const M = r || void 0, F = {
3207
+ }, [w, u]);
3208
+ const O = r || void 0, R = {
3179
3209
  paddingLeft: 0,
3180
3210
  width: "100%",
3181
3211
  boxSizing: "border-box"
3182
- }, V = u === null;
3183
- return !V && u.length === 0 ? null : /* @__PURE__ */ e("section", { className: M, style: F, children: /* @__PURE__ */ f("div", { className: `${he.wrapper} ${he.padding}`, children: [
3184
- /* @__PURE__ */ e("div", { className: he.container, children: /* @__PURE__ */ f(q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3212
+ }, z = u === null;
3213
+ return !z && u.length === 0 ? null : /* @__PURE__ */ e("section", { className: O, style: R, children: /* @__PURE__ */ g("div", { className: `${be.wrapper} ${be.padding}`, children: [
3214
+ /* @__PURE__ */ e("div", { className: be.container, children: /* @__PURE__ */ g(V, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3185
3215
  /* @__PURE__ */ e(le, { title: "Eventos de la semana" }),
3186
- /* @__PURE__ */ e("div", { className: he.buttonWrapper, children: /* @__PURE__ */ e(
3216
+ /* @__PURE__ */ e("div", { className: be.buttonWrapper, children: /* @__PURE__ */ e(
3187
3217
  G,
3188
3218
  {
3189
3219
  variant: "secondary",
3190
3220
  size: "lg",
3191
3221
  fullWidth: !0,
3192
3222
  onClick: () => {
3193
- C();
3223
+ E();
3194
3224
  },
3195
3225
  children: "Ver más"
3196
3226
  }
@@ -3200,7 +3230,7 @@ function hn({
3200
3230
  se,
3201
3231
  {
3202
3232
  ref: b,
3203
- items: V ? Array(6).fill({}) : u.slice(0, 20),
3233
+ items: z ? Array(6).fill({}) : u.slice(0, 20),
3204
3234
  perPage: 3.5,
3205
3235
  gap: "16px",
3206
3236
  enableHorizontalWheel: !0,
@@ -3214,14 +3244,14 @@ function hn({
3214
3244
  padding: { left: "8px", right: "8px" }
3215
3245
  }
3216
3246
  },
3217
- renderItem: (O) => {
3218
- const k = O.id, z = k in x ? x[k] : void 0;
3219
- return V ? /* @__PURE__ */ e(Ce, { children: /* @__PURE__ */ e(rn, {}) }) : /* @__PURE__ */ e(Ce, { children: /* @__PURE__ */ e(un, { event: O, jersey: z }) });
3247
+ renderItem: (S) => {
3248
+ const k = S.id, F = k in x ? x[k] : void 0;
3249
+ return z ? /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(sn, {}) }) : /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(pn, { event: S, jersey: F }) });
3220
3250
  },
3221
- onMove: ({ isStart: O, isEnd: k, visibleStart: z, visibleEnd: g }) => {
3222
- c({ isStart: O, isEnd: k }), v({
3223
- start: z,
3224
- end: g
3251
+ onMove: ({ isStart: S, isEnd: k, visibleStart: F, visibleEnd: f }) => {
3252
+ c({ isStart: S, isEnd: k }), v({
3253
+ start: F,
3254
+ end: f
3225
3255
  }), o({
3226
3256
  element: "evento_semana_carousel_slide",
3227
3257
  label: `Landing: ${d} - OraculoSeccionEventoSemana - Slide Carousel`,
@@ -3230,9 +3260,9 @@ function hn({
3230
3260
  module_id: 301,
3231
3261
  metadata: {
3232
3262
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3233
- visibleStart: z,
3234
- visibleEnd: g,
3235
- isStart: O,
3263
+ visibleStart: F,
3264
+ visibleEnd: f,
3265
+ isStart: S,
3236
3266
  isEnd: k
3237
3267
  },
3238
3268
  tags: { section: "OraculoSeccionEventoSemana" }
@@ -3242,18 +3272,18 @@ function hn({
3242
3272
  ) })
3243
3273
  ] }) });
3244
3274
  }
3245
- function bn({
3275
+ function _n({
3246
3276
  backgrounds: t,
3247
3277
  items: a,
3248
3278
  hideItems: n
3249
3279
  }) {
3250
- var k, z, g;
3251
- const [i, r] = W(0), o = J(), d = X(), p = P(null), b = P(!1), m = P(!1), c = (t == null ? void 0 : t.length) || 1, u = !t || t.length === 0, y = !u && ((k = t == null ? void 0 : t.length) != null ? k : 0) > 1, x = !n && ((z = a == null ? void 0 : a.length) != null ? z : 0) > 0, E = (l) => {
3280
+ var k, F, f;
3281
+ const [i, r] = W(0), o = J(), d = X(), p = U(null), b = U(!1), m = U(!1), c = (t == null ? void 0 : t.length) || 1, u = !t || t.length === 0, _ = !u && ((k = t == null ? void 0 : t.length) != null ? k : 0) > 1, x = !n && ((F = a == null ? void 0 : a.length) != null ? F : 0) > 0, I = (l) => {
3252
3282
  var s;
3253
- l.preventDefault(), l.stopPropagation(), V(), (s = p.current) == null || s.prev();
3254
- }, B = (l) => {
3283
+ l.preventDefault(), l.stopPropagation(), z(), (s = p.current) == null || s.prev();
3284
+ }, M = (l) => {
3255
3285
  var s;
3256
- l.preventDefault(), l.stopPropagation(), V(), (s = p.current) == null || s.next();
3286
+ l.preventDefault(), l.stopPropagation(), z(), (s = p.current) == null || s.next();
3257
3287
  }, v = "#B5B5B5", T = {
3258
3288
  position: "absolute",
3259
3289
  top: "50%",
@@ -3277,7 +3307,7 @@ function bn({
3277
3307
  backgroundColor: "transparent",
3278
3308
  cursor: "default"
3279
3309
  }
3280
- }, _ = ae(
3310
+ }, w = ne(
3281
3311
  () => ({
3282
3312
  type: "loop",
3283
3313
  perMove: 1,
@@ -3294,9 +3324,9 @@ function bn({
3294
3324
  }, 500);
3295
3325
  return () => clearTimeout(l);
3296
3326
  }, []);
3297
- const I = (l, s) => {
3298
- var w, N;
3299
- const h = ((N = (w = l.href) == null ? void 0 : w.split("/").pop()) == null ? void 0 : N.split(".")[0]) || l.label || l.id || `banner_${s + 1}`;
3327
+ const C = (l, s) => {
3328
+ var y, $;
3329
+ const h = (($ = (y = l.href) == null ? void 0 : y.split("/").pop()) == null ? void 0 : $.split(".")[0]) || l.label || l.id || `banner_${s + 1}`;
3300
3330
  o({
3301
3331
  element: "banner_carousel",
3302
3332
  label: `Landing: ${d} - OraculoSeccionBanners - Banner click: ${h}`,
@@ -3314,7 +3344,7 @@ function bn({
3314
3344
  banner_url: l.href || "no_url"
3315
3345
  }
3316
3346
  });
3317
- }, C = (l) => {
3347
+ }, E = (l) => {
3318
3348
  if (o({
3319
3349
  element: "banner_menu_item",
3320
3350
  label: `Landing: ${d} - OraculoSeccionBanners - Menu item click: ${l.label || l.id}`,
@@ -3333,16 +3363,16 @@ function bn({
3333
3363
  return;
3334
3364
  }
3335
3365
  l.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(l.href);
3336
- }, L = (l) => {
3337
- var N, $, R, j;
3366
+ }, B = (l) => {
3367
+ var $, N, P, j;
3338
3368
  const s = (l % c + c) % c;
3339
3369
  r(s);
3340
3370
  const h = m.current;
3341
- if (m.current = !1, h || O(), !b.current || h) return;
3342
- const w = (N = t == null ? void 0 : t[s]) != null && N.href ? ((R = ($ = t[s].href) == null ? void 0 : $.split("/").pop()) == null ? void 0 : R.split(".")[0]) || `banner_${s + 1}` : `banner_${s + 1}`;
3371
+ if (m.current = !1, h || S(), !b.current || h) return;
3372
+ const y = ($ = t == null ? void 0 : t[s]) != null && $.href ? ((P = (N = t[s].href) == null ? void 0 : N.split("/").pop()) == null ? void 0 : P.split(".")[0]) || `banner_${s + 1}` : `banner_${s + 1}`;
3343
3373
  o({
3344
3374
  element: "banner_carousel",
3345
- label: `Landing: ${d} - OraculoSeccionBanners - Banner view: Slide ${s + 1} - ${w}`,
3375
+ label: `Landing: ${d} - OraculoSeccionBanners - Banner view: Slide ${s + 1} - ${y}`,
3346
3376
  target: ((j = t == null ? void 0 : t[s]) == null ? void 0 : j.href) || "no_url",
3347
3377
  event_type: "view",
3348
3378
  module_id: 301,
@@ -3354,15 +3384,15 @@ function bn({
3354
3384
  },
3355
3385
  tags: { banner_position: String(s + 1) }
3356
3386
  });
3357
- }, S = 5e3, M = P(null), F = !u && ((g = t == null ? void 0 : t.length) != null ? g : 0) > 1, V = () => {
3358
- M.current != null && (window.clearInterval(M.current), M.current = null);
3359
- }, O = () => {
3360
- V(), F && (M.current = window.setInterval(() => {
3387
+ }, A = 5e3, O = U(null), R = !u && ((f = t == null ? void 0 : t.length) != null ? f : 0) > 1, z = () => {
3388
+ O.current != null && (window.clearInterval(O.current), O.current = null);
3389
+ }, S = () => {
3390
+ z(), R && (O.current = window.setInterval(() => {
3361
3391
  var l;
3362
3392
  m.current = !0, (l = p.current) == null || l.next();
3363
- }, S));
3393
+ }, A));
3364
3394
  };
3365
- return K(() => (O(), () => V()), [u, t == null ? void 0 : t.length, S]), /* @__PURE__ */ f(
3395
+ return K(() => (S(), () => z()), [u, t == null ? void 0 : t.length, A]), /* @__PURE__ */ g(
3366
3396
  Z,
3367
3397
  {
3368
3398
  component: "section",
@@ -3371,7 +3401,7 @@ function bn({
3371
3401
  overflow: "visible"
3372
3402
  },
3373
3403
  children: [
3374
- /* @__PURE__ */ f(
3404
+ /* @__PURE__ */ g(
3375
3405
  Z,
3376
3406
  {
3377
3407
  sx: {
@@ -3389,14 +3419,14 @@ function bn({
3389
3419
  perPage: 1,
3390
3420
  gap: "0px",
3391
3421
  enableHorizontalWheel: !0,
3392
- options: _,
3422
+ options: w,
3393
3423
  onMove: ({ index: l }) => {
3394
3424
  const s = (l % c + c) % c;
3395
- r(s), L(l);
3425
+ r(s), B(l);
3396
3426
  },
3397
3427
  renderItem: (l, s) => {
3398
- var h, w;
3399
- return /* @__PURE__ */ f(
3428
+ var h, y;
3429
+ return /* @__PURE__ */ g(
3400
3430
  Z,
3401
3431
  {
3402
3432
  component: "a",
@@ -3404,7 +3434,7 @@ function bn({
3404
3434
  target: (h = l.target) != null ? h : "_self",
3405
3435
  rel: l.target === "_blank" ? "noopener noreferrer" : void 0,
3406
3436
  onClick: () => {
3407
- I(l, s);
3437
+ C(l, s);
3408
3438
  },
3409
3439
  sx: {
3410
3440
  position: "relative",
@@ -3414,7 +3444,7 @@ function bn({
3414
3444
  cursor: "pointer"
3415
3445
  },
3416
3446
  children: [
3417
- /* @__PURE__ */ f(
3447
+ /* @__PURE__ */ g(
3418
3448
  Z,
3419
3449
  {
3420
3450
  component: "picture",
@@ -3426,7 +3456,7 @@ function bn({
3426
3456
  Z,
3427
3457
  {
3428
3458
  component: "img",
3429
- src: (w = l.fallbackSrc) != null ? w : l.desktopSrc,
3459
+ src: (y = l.fallbackSrc) != null ? y : l.desktopSrc,
3430
3460
  alt: "",
3431
3461
  "aria-hidden": !0,
3432
3462
  loading: "lazy",
@@ -3466,12 +3496,12 @@ function bn({
3466
3496
  }
3467
3497
  }
3468
3498
  ),
3469
- y && /* @__PURE__ */ f(oe, { children: [
3499
+ _ && /* @__PURE__ */ g(Q, { children: [
3470
3500
  /* @__PURE__ */ e(
3471
- Le,
3501
+ Ae,
3472
3502
  {
3473
3503
  "aria-label": "Anterior",
3474
- onClick: E,
3504
+ onClick: I,
3475
3505
  sx: {
3476
3506
  ...T,
3477
3507
  left: "120px",
@@ -3482,14 +3512,14 @@ function bn({
3482
3512
  top: "40%"
3483
3513
  }
3484
3514
  },
3485
- children: /* @__PURE__ */ e(Oe, {})
3515
+ children: /* @__PURE__ */ e(Ee, {})
3486
3516
  }
3487
3517
  ),
3488
3518
  /* @__PURE__ */ e(
3489
- Le,
3519
+ Ae,
3490
3520
  {
3491
3521
  "aria-label": "Siguiente",
3492
- onClick: B,
3522
+ onClick: M,
3493
3523
  sx: {
3494
3524
  ...T,
3495
3525
  right: "120px",
@@ -3500,7 +3530,7 @@ function bn({
3500
3530
  top: "40%"
3501
3531
  }
3502
3532
  },
3503
- children: /* @__PURE__ */ e(Ee, {})
3533
+ children: /* @__PURE__ */ e(Ie, {})
3504
3534
  }
3505
3535
  )
3506
3536
  ] }),
@@ -3516,7 +3546,7 @@ function bn({
3516
3546
  justifyContent: "center",
3517
3547
  zIndex: 2
3518
3548
  },
3519
- children: /* @__PURE__ */ e(Xe, { total: c, active: i, durationMs: S })
3549
+ children: /* @__PURE__ */ e(Xe, { total: c, active: i, durationMs: A })
3520
3550
  }
3521
3551
  )
3522
3552
  ]
@@ -3543,7 +3573,7 @@ function bn({
3543
3573
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3544
3574
  zIndex: 3
3545
3575
  },
3546
- children: a == null ? void 0 : a.map((l) => /* @__PURE__ */ f(
3576
+ children: a == null ? void 0 : a.map((l) => /* @__PURE__ */ g(
3547
3577
  Z,
3548
3578
  {
3549
3579
  sx: {
@@ -3557,7 +3587,7 @@ function bn({
3557
3587
  cursor: l.onClick || l.href ? "pointer" : "default",
3558
3588
  whiteSpace: "nowrap"
3559
3589
  },
3560
- onClick: () => C(l),
3590
+ onClick: () => E(l),
3561
3591
  children: [
3562
3592
  l.icon && /* @__PURE__ */ e(
3563
3593
  Z,
@@ -3594,7 +3624,7 @@ function bn({
3594
3624
  }
3595
3625
  );
3596
3626
  }
3597
- const vn = [
3627
+ const yn = [
3598
3628
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/IBK.svg", alt: "Interbank" },
3599
3629
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/Yape.svg", alt: "Yape" },
3600
3630
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/BCP.png", alt: "BCP" },
@@ -3603,12 +3633,12 @@ const vn = [
3603
3633
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/monnet.svg", alt: "Monnet" },
3604
3634
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
3605
3635
  ];
3606
- function _n({
3636
+ function xn({
3607
3637
  title: t = "Medios de pago",
3608
- items: a = vn
3638
+ items: a = yn
3609
3639
  }) {
3610
3640
  const n = Math.ceil(a.length / 2), i = a.slice(0, n), r = a.slice(n);
3611
- return /* @__PURE__ */ f(Z, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
3641
+ return /* @__PURE__ */ g(Z, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
3612
3642
  /* @__PURE__ */ e(
3613
3643
  Ke,
3614
3644
  {
@@ -3637,33 +3667,33 @@ function _n({
3637
3667
  }
3638
3668
  }
3639
3669
  ),
3640
- /* @__PURE__ */ f(be, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
3670
+ /* @__PURE__ */ g(ve, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
3641
3671
  /* @__PURE__ */ e(
3642
- be,
3672
+ ve,
3643
3673
  {
3644
3674
  direction: "row",
3645
3675
  justifyContent: "center",
3646
3676
  alignItems: "center",
3647
3677
  gap: { xs: 2, md: 3 },
3648
3678
  flexWrap: "wrap",
3649
- children: i.map((o, d) => /* @__PURE__ */ e(Ae, { ...o }, `${o.alt}-${o.src}-${d}`))
3679
+ children: i.map((o, d) => /* @__PURE__ */ e(Re, { ...o }, `${o.alt}-${o.src}-${d}`))
3650
3680
  }
3651
3681
  ),
3652
3682
  /* @__PURE__ */ e(
3653
- be,
3683
+ ve,
3654
3684
  {
3655
3685
  direction: "row",
3656
3686
  justifyContent: "center",
3657
3687
  alignItems: "center",
3658
3688
  gap: { xs: 2, md: 3 },
3659
3689
  flexWrap: "wrap",
3660
- children: r.map((o, d) => /* @__PURE__ */ e(Ae, { ...o }, `${o.alt}-${o.src}-${d}`))
3690
+ children: r.map((o, d) => /* @__PURE__ */ e(Re, { ...o }, `${o.alt}-${o.src}-${d}`))
3661
3691
  }
3662
3692
  )
3663
3693
  ] })
3664
3694
  ] });
3665
3695
  }
3666
- function Me({
3696
+ function Be({
3667
3697
  children: t
3668
3698
  }) {
3669
3699
  const a = vt(), n = de.useMemo(
@@ -3679,30 +3709,30 @@ function Me({
3679
3709
  }),
3680
3710
  [a]
3681
3711
  );
3682
- return /* @__PURE__ */ f(yt, { theme: n, children: [
3712
+ return /* @__PURE__ */ g(yt, { theme: n, children: [
3683
3713
  /* @__PURE__ */ e(xt, {}),
3684
3714
  t
3685
3715
  ] });
3686
3716
  }
3687
- function qn({
3717
+ function Dn({
3688
3718
  docId: t = "home",
3689
3719
  children: a
3690
3720
  }) {
3691
- return /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(Ne, { docId: t, children: a }) });
3721
+ return /* @__PURE__ */ e(Be, { children: /* @__PURE__ */ e(Me, { docId: t, children: a }) });
3692
3722
  }
3693
- const yn = {
3694
- OraculoSeccionDestacados: Na,
3695
- OraculoSeccionTopJuegos: La,
3696
- OraculoSeccionCasinoEnVivo: Fa,
3697
- OraculoSeccionCasino: za,
3698
- OraculoSeccionVirtuales: qa,
3699
- OraculoSeccionClubOlimpo: Wa,
3700
- OraculoSeccionBonoBienvenida: Da,
3701
- OraculoSeccionBanners: bn,
3702
- OraculoSeccionMediosPago: _n,
3703
- OraculoSeccionEventoEnVivo: on,
3704
- OraculoSeccionEventoSemana: hn,
3705
- OraculoSeccionEventoCombinadas: Ja
3723
+ const wn = {
3724
+ OraculoSeccionDestacados: Ba,
3725
+ OraculoSeccionTopJuegos: Ra,
3726
+ OraculoSeccionCasinoEnVivo: Pa,
3727
+ OraculoSeccionCasino: Ua,
3728
+ OraculoSeccionVirtuales: Da,
3729
+ OraculoSeccionClubOlimpo: Ga,
3730
+ OraculoSeccionBonoBienvenida: ja,
3731
+ OraculoSeccionBanners: _n,
3732
+ OraculoSeccionMediosPago: xn,
3733
+ OraculoSeccionEventoEnVivo: ln,
3734
+ OraculoSeccionEventoSemana: vn,
3735
+ OraculoSeccionEventoCombinadas: Ya
3706
3736
  }, We = {
3707
3737
  sections: [
3708
3738
  {
@@ -4766,8 +4796,8 @@ const yn = {
4766
4796
  updatedAt: "2026-01-22T04:11:09.501Z"
4767
4797
  }
4768
4798
  ]
4769
- }, xn = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, wn = (t) => /^OraculoSeccion[A-Z]/.test(t);
4770
- function $e(t) {
4799
+ }, Sn = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, Cn = (t) => /^OraculoSeccion[A-Z]/.test(t);
4800
+ function Ne(t) {
4771
4801
  return t && Array.isArray(t.sections) ? t.sections.slice().sort((a, n) => {
4772
4802
  var i, r;
4773
4803
  return ((i = a.order) != null ? i : 0) - ((r = n.order) != null ? r : 0);
@@ -4789,11 +4819,11 @@ function $e(t) {
4789
4819
  };
4790
4820
  }) : [];
4791
4821
  }
4792
- const Sn = Object.fromEntries(
4793
- Object.entries(yn).filter(
4794
- ([t, a]) => wn(t) && xn(a)
4822
+ const On = Object.fromEntries(
4823
+ Object.entries(wn).filter(
4824
+ ([t, a]) => Cn(t) && Sn(a)
4795
4825
  )
4796
- ), Cn = (t) => {
4826
+ ), En = (t) => {
4797
4827
  try {
4798
4828
  return Object.fromEntries(t != null ? t : []);
4799
4829
  } catch {
@@ -4809,7 +4839,7 @@ const Ge = [
4809
4839
  "OraculoSeccionEventoEnVivo",
4810
4840
  "OraculoSeccionEventoSemana",
4811
4841
  "OraculoSeccionEventoCombinadas"
4812
- ], Vn = ({
4842
+ ], Wn = ({
4813
4843
  sectionsOverride: t,
4814
4844
  docId: a = "home",
4815
4845
  db: n,
@@ -4817,18 +4847,18 @@ const Ge = [
4817
4847
  loader: r,
4818
4848
  disableWrapper: o = !1
4819
4849
  }) => {
4820
- const d = ae(() => Cn(i), [i]), p = r || d.loader, [b, m] = W([]), [c, u] = W(!1), [y, x] = W({}), [E, B] = W({}), [v, T] = W({}), _ = st("(min-width:1024px)");
4850
+ const d = ne(() => En(i), [i]), p = r || d.loader, [b, m] = W([]), [c, u] = W(!1), [_, x] = W({}), [I, M] = W({}), [v, T] = W({}), w = st("(min-width:1024px)");
4821
4851
  K(() => {
4822
4852
  if (t) return;
4823
4853
  if (!n) {
4824
- console.warn("[landing] sin db -> fallback json"), m($e(We));
4854
+ console.warn("[landing] sin db -> fallback json"), m(Ne(We));
4825
4855
  return;
4826
4856
  }
4827
- const g = (s, h) => {
4828
- console.warn("[landing] FALLBACK:", s, h != null ? h : ""), m($e(We)), u(!1);
4857
+ const f = (s, h) => {
4858
+ console.warn("[landing] FALLBACK:", s, h != null ? h : ""), m(Ne(We)), u(!1);
4829
4859
  };
4830
4860
  if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
4831
- u(!0), g("forzado por env");
4861
+ u(!0), f("forzado por env");
4832
4862
  return;
4833
4863
  }
4834
4864
  u(!0);
@@ -4837,41 +4867,41 @@ const Ge = [
4837
4867
  (s) => {
4838
4868
  try {
4839
4869
  if (!s.exists()) {
4840
- g(`doc landings/${a} no existe`);
4870
+ f(`doc landings/${a} no existe`);
4841
4871
  return;
4842
4872
  }
4843
- const h = s.data(), w = $e(h);
4844
- if (!w.length) {
4845
- g("JSON inválido o sin secciones normalizables", h);
4873
+ const h = s.data(), y = Ne(h);
4874
+ if (!y.length) {
4875
+ f("JSON inválido o sin secciones normalizables", h);
4846
4876
  return;
4847
4877
  }
4848
- console.log("[landing] Firestore OK (json grande):", h), m(w);
4878
+ console.log("[landing] Firestore OK (json grande):", h), m(y);
4849
4879
  } catch (h) {
4850
- g("error procesando snapshot", h);
4880
+ f("error procesando snapshot", h);
4851
4881
  } finally {
4852
4882
  u(!1);
4853
4883
  }
4854
4884
  },
4855
4885
  (s) => {
4856
- g("error onSnapshot", s);
4886
+ f("error onSnapshot", s);
4857
4887
  }
4858
4888
  );
4859
4889
  return () => l();
4860
- }, [t, a, n]), K(() => (Ma(d), () => Ba()), [d]), K(() => {
4890
+ }, [t, a, n]), K(() => (La(d), () => Aa()), [d]), K(() => {
4861
4891
  (t ? t.slice() : b.slice()).map((s) => s.componentKey).filter((s) => !!s).length;
4862
4892
  }, [t, b]);
4863
- const I = async (g) => {
4864
- if (Ge.includes(g.componentKey))
4893
+ const C = async (f) => {
4894
+ if (Ge.includes(f.componentKey))
4865
4895
  return {
4866
4896
  // whatever empty structure your UI expects
4867
4897
  items: [],
4868
4898
  events: [],
4869
4899
  data: {}
4870
4900
  };
4871
- const l = (g.apiUrl || "").trim();
4901
+ const l = (f.apiUrl || "").trim();
4872
4902
  if (!l) return;
4873
- const s = g.apiMethod || "GET", h = g.apiParams || [];
4874
- let w = l, N, $;
4903
+ const s = f.apiMethod || "GET", h = f.apiParams || [];
4904
+ let y = l, $, N;
4875
4905
  if (s === "GET") {
4876
4906
  const j = new URL(
4877
4907
  l,
@@ -4879,158 +4909,158 @@ const Ge = [
4879
4909
  );
4880
4910
  for (const D of h)
4881
4911
  D.key && j.searchParams.append(D.key, D.value);
4882
- w = j.toString();
4912
+ y = j.toString();
4883
4913
  } else {
4884
4914
  const j = new URLSearchParams();
4885
4915
  for (const D of h)
4886
4916
  D.key && j.append(D.key, D.value);
4887
- N = j.toString(), $ = {
4917
+ $ = j.toString(), N = {
4888
4918
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
4889
4919
  };
4890
4920
  }
4891
- const R = await fetch(w, {
4921
+ const P = await fetch(y, {
4892
4922
  method: s,
4893
- headers: $,
4894
- body: N
4923
+ headers: N,
4924
+ body: $
4895
4925
  });
4896
- if (!R.ok) throw new je(R.status, w, R.statusText);
4897
- return R.json();
4898
- }, C = ae(
4926
+ if (!P.ok) throw new je(P.status, y, P.statusText);
4927
+ return P.json();
4928
+ }, E = ne(
4899
4929
  () => t ? t.slice() : b.slice(),
4900
4930
  [t, b]
4901
- ), L = de.useRef(/* @__PURE__ */ new Set());
4931
+ ), B = de.useRef(/* @__PURE__ */ new Set());
4902
4932
  K(() => {
4903
- const g = C.map((l) => ({ s: l, url: (l.apiUrl || "").trim() })).filter(({ url: l }) => !!l);
4904
- if (g.length)
4905
- for (const { s: l, url: s } of g) {
4933
+ const f = E.map((l) => ({ s: l, url: (l.apiUrl || "").trim() })).filter(({ url: l }) => !!l);
4934
+ if (f.length)
4935
+ for (const { s: l, url: s } of f) {
4906
4936
  const h = `${l.id}|${s}`;
4907
- L.current.has(h) || (L.current.add(h), B((w) => ({ ...w, [l.id]: !0 })), T((w) => ({ ...w, [l.id]: "" })), (async () => {
4937
+ B.current.has(h) || (B.current.add(h), M((y) => ({ ...y, [l.id]: !0 })), T((y) => ({ ...y, [l.id]: "" })), (async () => {
4908
4938
  try {
4909
- const w = await I(l);
4910
- x((N) => ({ ...N, [l.id]: w }));
4911
- } catch (w) {
4912
- let N = "Error desconocido";
4913
- w instanceof je ? N = `Error HTTP ${w.status} (${w.statusText}) en ${w.url}` : w instanceof SyntaxError ? N = "Respuesta no es JSON válido" : w instanceof TypeError ? N = "Fallo de red / CORS / conexión" : typeof w == "string" && (N = w.toString()), T(($) => ({ ...$, [l.id]: N }));
4939
+ const y = await C(l);
4940
+ x(($) => ({ ...$, [l.id]: y }));
4941
+ } catch (y) {
4942
+ let $ = "Error desconocido";
4943
+ y instanceof je ? $ = `Error HTTP ${y.status} (${y.statusText}) en ${y.url}` : y instanceof SyntaxError ? $ = "Respuesta no es JSON válido" : y instanceof TypeError ? $ = "Fallo de red / CORS / conexión" : typeof y == "string" && ($ = y.toString()), T((N) => ({ ...N, [l.id]: $ }));
4914
4944
  } finally {
4915
- B((w) => ({ ...w, [l.id]: !1 }));
4945
+ M((y) => ({ ...y, [l.id]: !1 }));
4916
4946
  }
4917
4947
  })());
4918
4948
  }
4919
- }, [C]);
4920
- const S = ae(
4921
- () => C.filter((g) => g.visible).sort((g, l) => g.order - l.order),
4922
- [C]
4923
- ), M = (g) => Array.isArray(g) ? g.map((l) => {
4949
+ }, [E]);
4950
+ const A = ne(
4951
+ () => E.filter((f) => f.visible).sort((f, l) => f.order - l.order),
4952
+ [E]
4953
+ ), O = (f) => Array.isArray(f) ? f.map((l) => {
4924
4954
  const s = {};
4925
4955
  for (const h of l.fields || []) {
4926
- const w = (h.type || "string").toLowerCase();
4927
- if (w === "number") {
4928
- const N = String(h.value || "").trim();
4929
- if (N !== "") {
4930
- const $ = Number(N);
4931
- Number.isNaN($) || (s[h.name] = $);
4956
+ const y = (h.type || "string").toLowerCase();
4957
+ if (y === "number") {
4958
+ const $ = String(h.value || "").trim();
4959
+ if ($ !== "") {
4960
+ const N = Number($);
4961
+ Number.isNaN(N) || (s[h.name] = N);
4932
4962
  }
4933
- } else if (w === "boolean")
4963
+ } else if (y === "boolean")
4934
4964
  s[h.name] = String(h.value).toLowerCase() === "true";
4935
- else if (w === "function") {
4936
- const N = String(h.value || "").trim();
4937
- if (N)
4965
+ else if (y === "function") {
4966
+ const $ = String(h.value || "").trim();
4967
+ if ($)
4938
4968
  try {
4939
- const $ = new Function(N);
4940
- s[h.name] = $;
4941
- } catch ($) {
4942
- console.error(`❌ Error creando función en item '${h.name}':`, $);
4969
+ const N = new Function($);
4970
+ s[h.name] = N;
4971
+ } catch (N) {
4972
+ console.error(`❌ Error creando función en item '${h.name}':`, N);
4943
4973
  }
4944
4974
  } else s[h.name] = h.value;
4945
4975
  }
4946
4976
  return s;
4947
- }) : [], F = (g) => {
4977
+ }) : [], R = (f) => {
4948
4978
  const l = {};
4949
- if (!Array.isArray(g)) return l;
4950
- for (const s of g) {
4979
+ if (!Array.isArray(f)) return l;
4980
+ for (const s of f) {
4951
4981
  if (!s.name) continue;
4952
4982
  const h = (s.type || "string").toLowerCase();
4953
4983
  if (h === "number") {
4954
- const w = String(s.value || "").trim();
4955
- if (w !== "") {
4956
- const N = Number(w);
4957
- Number.isNaN(N) || (l[s.name] = N);
4984
+ const y = String(s.value || "").trim();
4985
+ if (y !== "") {
4986
+ const $ = Number(y);
4987
+ Number.isNaN($) || (l[s.name] = $);
4958
4988
  }
4959
4989
  } else if (h === "boolean")
4960
4990
  l[s.name] = String(s.value).toLowerCase() === "true";
4961
4991
  else if (h === "function") {
4962
- const w = String(s.value || "").trim();
4963
- if (w)
4992
+ const y = String(s.value || "").trim();
4993
+ if (y)
4964
4994
  try {
4965
- const N = new Function(w);
4966
- l[s.name] = N;
4967
- } catch (N) {
4968
- console.error(`❌ Error creando función en item '${s.name}':`, N);
4995
+ const $ = new Function(y);
4996
+ l[s.name] = $;
4997
+ } catch ($) {
4998
+ console.error(`❌ Error creando función en item '${s.name}':`, $);
4969
4999
  }
4970
5000
  } else l[s.name] = s.value;
4971
5001
  }
4972
5002
  return l;
4973
- }, V = (g, l, s) => {
5003
+ }, z = (f, l, s) => {
4974
5004
  const h = s ? { ...s } : {};
4975
5005
  if (l) {
4976
5006
  const D = (l.variableName || "items").trim() || "items";
4977
5007
  return h[D] = l.arr || [], h;
4978
5008
  }
4979
- const w = g, N = Array.isArray(w), $ = !N && typeof w == "object" && w !== null ? w : void 0, R = $ && Array.isArray($.lobby || $.items) ? $.lobby || $.items : void 0, j = (D) => N ? w : R || D;
4980
- return h.items = j(R || []), h;
4981
- }, O = (g) => {
4982
- var N;
4983
- const l = !!((N = g.apiUrl) != null && N.trim()), s = l ? y[g.id] : void 0;
4984
- let h = g.props ? { ...g.props } : {};
4985
- const w = F(g.manualScalarFields);
4986
- if (Ge.includes(g.componentKey))
4987
- return { items: s, ...h, ...w };
4988
- if (h = { ...h, ...w }, l) h = V(s, null, h);
4989
- else if (g.dataMode === "manual") {
4990
- const $ = M(g.manualItems);
4991
- if (h = V(
5009
+ const y = f, $ = Array.isArray(y), N = !$ && typeof y == "object" && y !== null ? y : void 0, P = N && Array.isArray(N.lobby || N.items) ? N.lobby || N.items : void 0, j = (D) => $ ? y : P || D;
5010
+ return h.items = j(P || []), h;
5011
+ }, S = (f) => {
5012
+ var $;
5013
+ const l = !!(($ = f.apiUrl) != null && $.trim()), s = l ? _[f.id] : void 0;
5014
+ let h = f.props ? { ...f.props } : {};
5015
+ const y = R(f.manualScalarFields);
5016
+ if (Ge.includes(f.componentKey))
5017
+ return { items: s, ...h, ...y };
5018
+ if (h = { ...h, ...y }, l) h = z(s, null, h);
5019
+ else if (f.dataMode === "manual") {
5020
+ const N = O(f.manualItems);
5021
+ if (h = z(
4992
5022
  null,
4993
- { arr: $, variableName: g.variableName },
5023
+ { arr: N, variableName: f.variableName },
4994
5024
  h
4995
- ), g.variableName2 && g.manualItems2) {
4996
- const R = M(g.manualItems2), j = (g.variableName2 || "items2").trim() || "items2";
4997
- h[j] = R;
5025
+ ), f.variableName2 && f.manualItems2) {
5026
+ const P = O(f.manualItems2), j = (f.variableName2 || "items2").trim() || "items2";
5027
+ h[j] = P;
4998
5028
  }
4999
5029
  }
5000
5030
  return h;
5001
- }, k = (g, l, s) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
5031
+ }, k = (f, l, s) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
5002
5032
  loading: "bg-blue-100 text-blue-800",
5003
5033
  error: "bg-red-100 text-red-800",
5004
5034
  component: "bg-yellow-100 text-yellow-800"
5005
- }[l]}`, children: s }, g), z = (g) => {
5035
+ }[l]}`, children: s }, f), F = (f) => {
5006
5036
  var ue;
5007
- const l = g.componentKey, s = Sn[l];
5037
+ const l = f.componentKey, s = On[l];
5008
5038
  if (!s)
5009
5039
  return console.warn(`No hay componente registrado para "${l}"`), k(
5010
- g.id,
5040
+ f.id,
5011
5041
  "component",
5012
5042
  `Componente "${l}" no encontrado`
5013
5043
  );
5014
- const h = !!((ue = g.apiUrl) != null && ue.trim()), w = h ? y[g.id] : void 0, N = h ? !!E[g.id] : !1, $ = h ? v[g.id] : "";
5044
+ const h = !!((ue = f.apiUrl) != null && ue.trim()), y = h ? _[f.id] : void 0, $ = h ? !!I[f.id] : !1, N = h ? v[f.id] : "";
5015
5045
  if (h) {
5016
- if (N && !w)
5046
+ if ($ && !y)
5017
5047
  return k(
5018
- g.id,
5048
+ f.id,
5019
5049
  "loading",
5020
- `Cargando datos desde ${g.apiUrl}...`
5050
+ `Cargando datos desde ${f.apiUrl}...`
5021
5051
  );
5022
- if ($ && !w)
5052
+ if (N && !y)
5023
5053
  return k(
5024
- g.id,
5054
+ f.id,
5025
5055
  "error",
5026
- `Error cargando ${g.apiUrl}: ${$}`
5056
+ `Error cargando ${f.apiUrl}: ${N}`
5027
5057
  );
5028
5058
  }
5029
- const R = O(g), D = (/* @__PURE__ */ new Set([
5059
+ const P = S(f), D = (/* @__PURE__ */ new Set([
5030
5060
  "OraculoSeccionBanners",
5031
5061
  "OraculoSeccionBonoBienvenida",
5032
5062
  "OraculoSeccionCasinoEnVivo",
5033
- ..._ ? [] : [
5063
+ ...w ? [] : [
5034
5064
  "OraculoSeccionClubOlimpo",
5035
5065
  "OraculoSeccionEventoEnVivo",
5036
5066
  "OraculoSeccionEventoSemana",
@@ -5039,7 +5069,7 @@ const Ge = [
5039
5069
  "OraculoSeccionDestacados",
5040
5070
  "OraculoSeccionCasino"
5041
5071
  ]
5042
- ])).has(g.componentKey), H = _ ? 120 : 24, Y = (_ ? 8 : 5) * 8, ie = g.componentKey === "OraculoSeccionCasinoEnVivo", ge = {
5072
+ ])).has(f.componentKey), H = w ? 120 : 24, Y = (w ? 8 : 5) * 8, ie = f.componentKey === "OraculoSeccionCasinoEnVivo", fe = {
5043
5073
  width: "100%",
5044
5074
  boxSizing: "border-box",
5045
5075
  ...D ? {} : { paddingLeft: H, paddingRight: H },
@@ -5048,9 +5078,9 @@ const Ge = [
5048
5078
  marginBottom: -Y
5049
5079
  } : {}
5050
5080
  };
5051
- return /* @__PURE__ */ e("div", { style: ge, className: "oraculo-section-wrapper", children: /* @__PURE__ */ e(s, { ...R }) }, g.id);
5081
+ return /* @__PURE__ */ e("div", { style: fe, className: "oraculo-section-wrapper", children: /* @__PURE__ */ e(s, { ...P }) }, f.id);
5052
5082
  };
5053
- return c && !t ? p ? /* @__PURE__ */ e(p, {}) : /* @__PURE__ */ e("div", { children: "Cargando..." }) : !c && !t && b.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : o ? /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(Ne, { docId: a, children: /* @__PURE__ */ e(oe, { children: S.map(z) }) }) }) : /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(Ne, { docId: a, children: /* @__PURE__ */ e(
5083
+ return c && !t ? p ? /* @__PURE__ */ e(p, {}) : /* @__PURE__ */ e("div", { children: "Cargando..." }) : !c && !t && b.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : o ? /* @__PURE__ */ e(Be, { children: /* @__PURE__ */ e(Me, { docId: a, children: /* @__PURE__ */ e(Q, { children: A.map(F) }) }) }) : /* @__PURE__ */ e(Be, { children: /* @__PURE__ */ e(Me, { docId: a, children: /* @__PURE__ */ e(
5054
5084
  ct,
5055
5085
  {
5056
5086
  className: "oli-font",
@@ -5065,50 +5095,50 @@ const Ge = [
5065
5095
  maxWidth: "100%",
5066
5096
  overflowX: "hidden"
5067
5097
  },
5068
- children: /* @__PURE__ */ e(be, { direction: "column", spacing: _ ? 8 : 5, useFlexGap: !0, children: S.map(z) })
5098
+ children: /* @__PURE__ */ e(ve, { direction: "column", spacing: w ? 8 : 5, useFlexGap: !0, children: A.map(F) })
5069
5099
  }
5070
5100
  ) }) });
5071
5101
  };
5072
5102
  export {
5073
- Ne as DocIdProvider,
5103
+ Me as DocIdProvider,
5074
5104
  G as OraculoButton,
5075
5105
  se as OraculoCarousel,
5076
5106
  Xe as OraculoCarouselDots,
5077
- oa as OraculoClubOlimpoVisual,
5078
- ba as OraculoEventCombinadasCard,
5079
- wa as OraculoEventEnVivoCard,
5107
+ ra as OraculoClubOlimpoVisual,
5108
+ _a as OraculoEventCombinadasCard,
5109
+ Ca as OraculoEventEnVivoCard,
5080
5110
  $t as OraculoEventHeader,
5081
5111
  Ye as OraculoEventLabel,
5082
5112
  Qe as OraculoEventLeague,
5083
5113
  et as OraculoEventScore,
5084
- $a as OraculoEventSemanaCard,
5114
+ Ma as OraculoEventSemanaCard,
5085
5115
  kt as OraculoEventStatus,
5086
5116
  Tt as OraculoEventStatusBadge,
5087
- we as OraculoEventTeamInfo,
5088
- _e as OraculoGameCard,
5089
- aa as OraculoGameRankCard,
5117
+ Se as OraculoEventTeamInfo,
5118
+ ye as OraculoGameCard,
5119
+ oa as OraculoGameRankCard,
5090
5120
  tt as OraculoGameSlide,
5091
- ne as OraculoGridGroup,
5092
- na as OraculoLiveCasinoCard,
5093
- Ae as OraculoLogoMediosPago,
5094
- Vn as OraculoPageLandingPreview,
5095
- bn as OraculoSeccionBanners,
5096
- Da as OraculoSeccionBonoBienvenida,
5097
- za as OraculoSeccionCasino,
5098
- Fa as OraculoSeccionCasinoEnVivo,
5099
- Wa as OraculoSeccionClubOlimpo,
5100
- Na as OraculoSeccionDestacados,
5101
- Ja as OraculoSeccionEventoCombinadas,
5102
- on as OraculoSeccionEventoEnVivo,
5103
- hn as OraculoSeccionEventoSemana,
5104
- _n as OraculoSeccionMediosPago,
5105
- La as OraculoSeccionTopJuegos,
5106
- qa as OraculoSeccionVirtuales,
5107
- qn as OraculoSectionHost,
5121
+ oe as OraculoGridGroup,
5122
+ ia as OraculoLiveCasinoCard,
5123
+ Re as OraculoLogoMediosPago,
5124
+ Wn as OraculoPageLandingPreview,
5125
+ _n as OraculoSeccionBanners,
5126
+ ja as OraculoSeccionBonoBienvenida,
5127
+ Ua as OraculoSeccionCasino,
5128
+ Pa as OraculoSeccionCasinoEnVivo,
5129
+ Ga as OraculoSeccionClubOlimpo,
5130
+ Ba as OraculoSeccionDestacados,
5131
+ Ya as OraculoSeccionEventoCombinadas,
5132
+ ln as OraculoSeccionEventoEnVivo,
5133
+ vn as OraculoSeccionEventoSemana,
5134
+ xn as OraculoSeccionMediosPago,
5135
+ Ra as OraculoSeccionTopJuegos,
5136
+ Da as OraculoSeccionVirtuales,
5137
+ Dn as OraculoSectionHost,
5108
5138
  le as OraculoSectionTitle,
5109
- Me as OraculoThemeProvider,
5110
- La as OraculoTopJuegoItem,
5111
- Re as OraculoWelcomeBanner,
5112
- Vn as default
5139
+ Be as OraculoThemeProvider,
5140
+ Ra as OraculoTopJuegoItem,
5141
+ Fe as OraculoWelcomeBanner,
5142
+ Wn as default
5113
5143
  };
5114
5144
  //# sourceMappingURL=index.es.js.map