oraculo-ui 0.2.28 → 0.2.29

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