oraculo-ui 0.2.21 → 0.2.23
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,20 +1,20 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { Link as
|
|
3
|
-
import fe, { useState as K, useEffect as Q, useRef as V, forwardRef as
|
|
1
|
+
import { jsx as t, jsxs as h, Fragment as me } from "react/jsx-runtime";
|
|
2
|
+
import { Link as it, Box as Y, useMediaQuery as Ue, IconButton as Ke, Typography as rt, Stack as Oe, Container as Ot } from "@mui/material";
|
|
3
|
+
import fe, { useState as K, useEffect as Q, useRef as V, forwardRef as Et, useImperativeHandle as Tt, useCallback as Ee, createContext as kt, useContext as $t, useMemo as re, useLayoutEffect as Nt } from "react";
|
|
4
4
|
import j from "@mui/material/Skeleton";
|
|
5
|
-
import { Splide as
|
|
5
|
+
import { Splide as Mt, SplideSlide as Bt } from "@splidejs/react-splide";
|
|
6
6
|
import q from "@mui/material/Box";
|
|
7
7
|
import de from "@mui/material/Typography";
|
|
8
8
|
import H from "@mui/material/Stack";
|
|
9
9
|
import { useCaptureInteraction as ae } from "@olimpo/capture-client";
|
|
10
10
|
import { ChevronLeftRounded as ze, ChevronRightRounded as Ae } from "@mui/icons-material";
|
|
11
11
|
import xe from "@mui/material/useMediaQuery";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { useTheme as
|
|
15
|
-
import
|
|
16
|
-
import { onSnapshot as
|
|
17
|
-
function
|
|
12
|
+
import st from "@mui/icons-material/ChevronLeftRounded";
|
|
13
|
+
import lt from "@mui/icons-material/ChevronRightRounded";
|
|
14
|
+
import { useTheme as zt, createTheme as At, ThemeProvider as Rt } from "@mui/material/styles";
|
|
15
|
+
import Lt from "@mui/material/CssBaseline";
|
|
16
|
+
import { onSnapshot as Pt, doc as Ft } from "firebase/firestore";
|
|
17
|
+
function J({
|
|
18
18
|
children: e,
|
|
19
19
|
onClick: a,
|
|
20
20
|
href: n,
|
|
@@ -22,51 +22,51 @@ function X({
|
|
|
22
22
|
rel: i,
|
|
23
23
|
type: r = "button",
|
|
24
24
|
disabled: s = !1,
|
|
25
|
-
variant:
|
|
25
|
+
variant: d = "primary",
|
|
26
26
|
size: p,
|
|
27
27
|
fullWidth: f = !1,
|
|
28
|
-
fullHeight:
|
|
28
|
+
fullHeight: u = !1,
|
|
29
29
|
className: l = "",
|
|
30
30
|
ariaLabel: c,
|
|
31
|
-
leftIcon:
|
|
32
|
-
rightIcon:
|
|
33
|
-
iconOnly:
|
|
31
|
+
leftIcon: g,
|
|
32
|
+
rightIcon: b,
|
|
33
|
+
iconOnly: x
|
|
34
34
|
}) {
|
|
35
|
-
const
|
|
35
|
+
const T = !!e && e !== !0, I = (!!g ? 1 : 0) + (!!b ? 1 : 0) == 1, U = x != null ? x : I && !T, O = [
|
|
36
36
|
"orc-btn",
|
|
37
|
-
|
|
37
|
+
d === "secondary" ? "orc-btn--secondary" : d === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
38
38
|
p ? `orc-btn--${p}` : "",
|
|
39
39
|
f ? "orc-btn--full" : "",
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
u ? "orc-btn--fullHeight" : "",
|
|
41
|
+
U ? "orc-btn--iconOnly" : "",
|
|
42
42
|
l
|
|
43
|
-
].filter(Boolean).join(" "),
|
|
44
|
-
|
|
45
|
-
!
|
|
46
|
-
|
|
47
|
-
] }),
|
|
43
|
+
].filter(Boolean).join(" "), k = /* @__PURE__ */ h(me, { children: [
|
|
44
|
+
g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
|
|
45
|
+
!U && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
|
|
46
|
+
b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b })
|
|
47
|
+
] }), S = s ? !0 : void 0;
|
|
48
48
|
return n ? /* @__PURE__ */ t(
|
|
49
|
-
|
|
49
|
+
it,
|
|
50
50
|
{
|
|
51
51
|
href: n,
|
|
52
52
|
target: o,
|
|
53
53
|
rel: i,
|
|
54
54
|
"aria-label": c,
|
|
55
|
-
"aria-disabled":
|
|
56
|
-
tabIndex:
|
|
57
|
-
className:
|
|
58
|
-
onClick:
|
|
59
|
-
children:
|
|
55
|
+
"aria-disabled": S,
|
|
56
|
+
tabIndex: S ? -1 : void 0,
|
|
57
|
+
className: O,
|
|
58
|
+
onClick: S ? (B) => B.preventDefault() : a,
|
|
59
|
+
children: k
|
|
60
60
|
}
|
|
61
61
|
) : /* @__PURE__ */ t(
|
|
62
62
|
"button",
|
|
63
63
|
{
|
|
64
64
|
type: r,
|
|
65
65
|
onClick: a,
|
|
66
|
-
disabled: !!
|
|
66
|
+
disabled: !!S,
|
|
67
67
|
"aria-label": c,
|
|
68
|
-
className:
|
|
69
|
-
children:
|
|
68
|
+
className: O,
|
|
69
|
+
children: k
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
}
|
|
@@ -81,7 +81,7 @@ function ge({
|
|
|
81
81
|
n ? `orc-section-title--${n}` : "",
|
|
82
82
|
o
|
|
83
83
|
].filter(Boolean).join(" ");
|
|
84
|
-
return /* @__PURE__ */
|
|
84
|
+
return /* @__PURE__ */ h("div", { className: r, children: [
|
|
85
85
|
a && /* @__PURE__ */ t(
|
|
86
86
|
"img",
|
|
87
87
|
{
|
|
@@ -93,7 +93,7 @@ function ge({
|
|
|
93
93
|
/* @__PURE__ */ t("h2", { className: "orc-section-title__title", children: e })
|
|
94
94
|
] });
|
|
95
95
|
}
|
|
96
|
-
const
|
|
96
|
+
const ct = ({
|
|
97
97
|
total: e,
|
|
98
98
|
active: a,
|
|
99
99
|
onSelect: n,
|
|
@@ -101,27 +101,27 @@ const lt = ({
|
|
|
101
101
|
durationMs: i = 5e3
|
|
102
102
|
}) => {
|
|
103
103
|
if (e <= 1) return null;
|
|
104
|
-
const r = ["orc-dots", o].filter(Boolean).join(" "), [s,
|
|
104
|
+
const r = ["orc-dots", o].filter(Boolean).join(" "), [s, d] = K(0);
|
|
105
105
|
return Q(() => {
|
|
106
|
-
|
|
106
|
+
d((p) => p + 1);
|
|
107
107
|
}, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((p, f) => {
|
|
108
|
-
const
|
|
108
|
+
const u = f === 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
|
-
"aria-selected":
|
|
114
|
+
"aria-selected": u,
|
|
115
115
|
"aria-label": `Ir al slide ${f + 1}`,
|
|
116
|
-
className: "orc-dots__dot" + (
|
|
117
|
-
style:
|
|
116
|
+
className: "orc-dots__dot" + (u ? " orc-dots__dot--active" : ""),
|
|
117
|
+
style: u ? {
|
|
118
118
|
"--dot-progress-ms": `${i}ms`
|
|
119
119
|
} : void 0,
|
|
120
120
|
onClick: () => {
|
|
121
|
-
|
|
121
|
+
u && d((l) => l + 1), n == null || n(f);
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
-
|
|
124
|
+
u ? `a-${f}-${s}` : `i-${f}`
|
|
125
125
|
) }, f);
|
|
126
126
|
}) });
|
|
127
127
|
};
|
|
@@ -147,7 +147,7 @@ function ue({
|
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function Ze({ src: e, alt: a }) {
|
|
151
151
|
return /* @__PURE__ */ t(
|
|
152
152
|
Y,
|
|
153
153
|
{
|
|
@@ -178,13 +178,13 @@ function Ke({ src: e, alt: a }) {
|
|
|
178
178
|
}
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const
|
|
182
|
-
contenedor:
|
|
183
|
-
flexGroup:
|
|
181
|
+
const qt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Dt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Le = {
|
|
182
|
+
contenedor: qt,
|
|
183
|
+
flexGroup: Ut,
|
|
184
184
|
subtitle: Dt
|
|
185
185
|
};
|
|
186
|
-
function
|
|
187
|
-
return /* @__PURE__ */
|
|
186
|
+
function Vt({ title: e, subtitle: a }) {
|
|
187
|
+
return /* @__PURE__ */ h(
|
|
188
188
|
"div",
|
|
189
189
|
{
|
|
190
190
|
className: Le.contenedor,
|
|
@@ -200,12 +200,12 @@ function Ut({ title: e, subtitle: a }) {
|
|
|
200
200
|
children: e
|
|
201
201
|
}
|
|
202
202
|
),
|
|
203
|
-
a && /* @__PURE__ */
|
|
203
|
+
a && /* @__PURE__ */ h(
|
|
204
204
|
"div",
|
|
205
205
|
{
|
|
206
206
|
className: Le.flexGroup,
|
|
207
207
|
children: [
|
|
208
|
-
/* @__PURE__ */
|
|
208
|
+
/* @__PURE__ */ h("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
|
" "
|
|
@@ -219,7 +219,7 @@ function Ut({ title: e, subtitle: a }) {
|
|
|
219
219
|
}
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Wt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
|
|
223
223
|
return /* @__PURE__ */ t(
|
|
224
224
|
"span",
|
|
225
225
|
{
|
|
@@ -240,14 +240,14 @@ function Vt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
|
|
|
240
240
|
}
|
|
241
241
|
);
|
|
242
242
|
}
|
|
243
|
-
function
|
|
244
|
-
return /* @__PURE__ */
|
|
245
|
-
e && /* @__PURE__ */ t(
|
|
243
|
+
function Gt({ live: e, time: a }) {
|
|
244
|
+
return /* @__PURE__ */ h("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
245
|
+
e && /* @__PURE__ */ t(Wt, { text: "En vivo" }),
|
|
246
246
|
a && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: a })
|
|
247
247
|
] });
|
|
248
248
|
}
|
|
249
|
-
function
|
|
250
|
-
return /* @__PURE__ */
|
|
249
|
+
function jt({ title: e, subtitle: a, live: n = !1, time: o = "" }) {
|
|
250
|
+
return /* @__PURE__ */ h(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
253
253
|
style: {
|
|
@@ -257,33 +257,33 @@ function Gt({ title: e, subtitle: a, live: n = !1, time: o = "" }) {
|
|
|
257
257
|
color: "#FFFFFF"
|
|
258
258
|
},
|
|
259
259
|
children: [
|
|
260
|
-
/* @__PURE__ */ t(
|
|
261
|
-
/* @__PURE__ */ t(
|
|
260
|
+
/* @__PURE__ */ t(Vt, { title: e, subtitle: a }),
|
|
261
|
+
/* @__PURE__ */ t(Gt, { live: n, time: o })
|
|
262
262
|
]
|
|
263
263
|
}
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
|
-
const
|
|
267
|
-
label:
|
|
266
|
+
const Ht = "oraculo__OraculoEventLabel-module__label___c64Xw", Kt = {
|
|
267
|
+
label: Ht
|
|
268
268
|
};
|
|
269
|
-
function
|
|
270
|
-
return /* @__PURE__ */ t("span", { className:
|
|
269
|
+
function dt({ text: e }) {
|
|
270
|
+
return /* @__PURE__ */ t("span", { className: Kt.label, children: e });
|
|
271
271
|
}
|
|
272
|
-
const
|
|
273
|
-
container:
|
|
272
|
+
const Zt = "oraculo__OraculoEventLeague-module__container___rdk4F", Jt = {
|
|
273
|
+
container: Zt
|
|
274
274
|
};
|
|
275
|
-
function
|
|
276
|
-
return /* @__PURE__ */ t("div", { className:
|
|
275
|
+
function ut({ title: e }) {
|
|
276
|
+
return /* @__PURE__ */ t("div", { className: Jt.container, children: e.toUpperCase() });
|
|
277
277
|
}
|
|
278
|
-
const Xt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr",
|
|
278
|
+
const Xt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Yt = "oraculo__OraculoEventScore-module__name___r4uL6", Qt = "oraculo__OraculoEventScore-module__score___Xl03M", ea = "oraculo__OraculoEventScore-module__normal___cCNFz", ta = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
|
|
279
279
|
scoreWrapper: Xt,
|
|
280
|
-
name:
|
|
281
|
-
score:
|
|
282
|
-
normal:
|
|
283
|
-
small:
|
|
280
|
+
name: Yt,
|
|
281
|
+
score: Qt,
|
|
282
|
+
normal: ea,
|
|
283
|
+
small: ta
|
|
284
284
|
};
|
|
285
|
-
function
|
|
286
|
-
return /* @__PURE__ */
|
|
285
|
+
function mt({ text: e, name: a, size: n = "normal" }) {
|
|
286
|
+
return /* @__PURE__ */ h(
|
|
287
287
|
"div",
|
|
288
288
|
{
|
|
289
289
|
className: `${ve.scoreWrapper} ${ve[n]}`,
|
|
@@ -294,23 +294,23 @@ function ut({ text: e, name: a, size: n = "normal" }) {
|
|
|
294
294
|
}
|
|
295
295
|
);
|
|
296
296
|
}
|
|
297
|
-
const
|
|
298
|
-
team:
|
|
299
|
-
regular:
|
|
300
|
-
compact:
|
|
301
|
-
logo:
|
|
302
|
-
name:
|
|
303
|
-
skeleton:
|
|
304
|
-
},
|
|
305
|
-
polo:
|
|
306
|
-
svgWrapper:
|
|
307
|
-
shadow:
|
|
308
|
-
highlight:
|
|
297
|
+
const aa = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", na = "oraculo__OraculoEventTeamInfo-module__regular___ag826", oa = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", ia = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", ra = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", sa = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
|
|
298
|
+
team: aa,
|
|
299
|
+
regular: na,
|
|
300
|
+
compact: oa,
|
|
301
|
+
logo: ia,
|
|
302
|
+
name: ra,
|
|
303
|
+
skeleton: sa
|
|
304
|
+
}, la = "oraculo__OraculoTeamPolo-module__polo___BisRg", ca = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", da = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ua = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Se = {
|
|
305
|
+
polo: la,
|
|
306
|
+
svgWrapper: ca,
|
|
307
|
+
shadow: da,
|
|
308
|
+
highlight: ua
|
|
309
309
|
};
|
|
310
|
-
function
|
|
310
|
+
function ma({ jersey: e, className: a }) {
|
|
311
311
|
const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null, r = e.sleevelong ? `#${e.sleevelong}` : null;
|
|
312
|
-
return /* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */
|
|
312
|
+
return /* @__PURE__ */ h("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
|
|
313
|
+
/* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ h("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
|
|
314
314
|
/* @__PURE__ */ t(
|
|
315
315
|
"path",
|
|
316
316
|
{
|
|
@@ -318,7 +318,7 @@ function ua({ 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__ */
|
|
321
|
+
i && /* @__PURE__ */ h(me, { children: [
|
|
322
322
|
/* @__PURE__ */ t("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
323
323
|
/* @__PURE__ */ t("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
|
|
324
324
|
] }),
|
|
@@ -367,9 +367,9 @@ function ua({ jersey: e, className: a }) {
|
|
|
367
367
|
] });
|
|
368
368
|
}
|
|
369
369
|
function Ne({ name: e, jersey: a, size: n = "regular" }) {
|
|
370
|
-
return /* @__PURE__ */
|
|
370
|
+
return /* @__PURE__ */ h("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
|
|
371
371
|
a != null && a.base ? /* @__PURE__ */ t(
|
|
372
|
-
|
|
372
|
+
ma,
|
|
373
373
|
{
|
|
374
374
|
jersey: a,
|
|
375
375
|
className: `${_e.logo}`
|
|
@@ -378,7 +378,7 @@ function Ne({ name: e, jersey: a, size: n = "regular" }) {
|
|
|
378
378
|
/* @__PURE__ */ t("span", { className: _e.name, children: e })
|
|
379
379
|
] });
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function pa(e, a, {
|
|
382
382
|
enabled: n = !0,
|
|
383
383
|
threshold: o = 60,
|
|
384
384
|
cooldownMs: i = 500
|
|
@@ -386,30 +386,30 @@ function ma(e, a, {
|
|
|
386
386
|
const r = V(0), s = V(0);
|
|
387
387
|
Q(() => {
|
|
388
388
|
if (!n) return;
|
|
389
|
-
const
|
|
390
|
-
if (!
|
|
389
|
+
const d = e.current;
|
|
390
|
+
if (!d) return;
|
|
391
391
|
const p = (f) => {
|
|
392
|
-
const
|
|
393
|
-
if (!
|
|
392
|
+
const u = a.current;
|
|
393
|
+
if (!u || !u.go) return;
|
|
394
394
|
const { deltaX: l, deltaY: c } = f;
|
|
395
395
|
if (Math.abs(l) <= Math.abs(c)) return;
|
|
396
396
|
f.preventDefault(), r.current += l;
|
|
397
|
-
const
|
|
398
|
-
if (
|
|
399
|
-
const
|
|
400
|
-
r.current = 0, s.current =
|
|
397
|
+
const g = Date.now();
|
|
398
|
+
if (g - s.current < i || Math.abs(r.current) < o) return;
|
|
399
|
+
const b = r.current > 0 ? ">" : "<";
|
|
400
|
+
r.current = 0, s.current = g, u.go(b);
|
|
401
401
|
};
|
|
402
|
-
return
|
|
403
|
-
|
|
402
|
+
return d.addEventListener("wheel", p, { passive: !1 }), () => {
|
|
403
|
+
d.removeEventListener("wheel", p), r.current = 0;
|
|
404
404
|
};
|
|
405
405
|
}, [n, o, i, e, a]);
|
|
406
406
|
}
|
|
407
|
-
const
|
|
408
|
-
gradientOverlay:
|
|
409
|
-
right:
|
|
410
|
-
left:
|
|
411
|
-
svg:
|
|
412
|
-
},
|
|
407
|
+
const fa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ga = "oraculo__OraculoCarousel-module__right___KwpOE", ha = "oraculo__OraculoCarousel-module__left___n3WQu", ba = "oraculo__OraculoCarousel-module__svg___0mGuX", ye = {
|
|
408
|
+
gradientOverlay: fa,
|
|
409
|
+
right: ga,
|
|
410
|
+
left: ha,
|
|
411
|
+
svg: ba
|
|
412
|
+
}, va = Mt, _a = Bt, he = Et(
|
|
413
413
|
({
|
|
414
414
|
items: e = [],
|
|
415
415
|
renderItem: a,
|
|
@@ -418,86 +418,86 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
|
|
|
418
418
|
breakpoints: i,
|
|
419
419
|
options: r = {},
|
|
420
420
|
className: s = "",
|
|
421
|
-
onMove:
|
|
421
|
+
onMove: d,
|
|
422
422
|
useIndexAsKey: p = !1,
|
|
423
423
|
enableHorizontalWheel: f = !0,
|
|
424
|
-
showRightGradient:
|
|
424
|
+
showRightGradient: u = !1
|
|
425
425
|
}, l) => {
|
|
426
|
-
const c = V(null),
|
|
427
|
-
|
|
426
|
+
const c = V(null), g = V(null), b = V(e.length), x = V(null), T = V(null);
|
|
427
|
+
pa(g, c, {
|
|
428
428
|
enabled: f
|
|
429
|
-
}),
|
|
429
|
+
}), Tt(l, () => ({
|
|
430
430
|
next: () => {
|
|
431
|
-
var
|
|
432
|
-
return (
|
|
431
|
+
var S;
|
|
432
|
+
return (S = c.current) == null ? void 0 : S.go(">");
|
|
433
433
|
},
|
|
434
434
|
prev: () => {
|
|
435
|
-
var
|
|
436
|
-
return (
|
|
435
|
+
var S;
|
|
436
|
+
return (S = c.current) == null ? void 0 : S.go("<");
|
|
437
437
|
},
|
|
438
|
-
go: (
|
|
438
|
+
go: (S) => {
|
|
439
439
|
var B;
|
|
440
|
-
return (B = c.current) == null ? void 0 : B.go(
|
|
440
|
+
return (B = c.current) == null ? void 0 : B.go(S);
|
|
441
441
|
}
|
|
442
442
|
}));
|
|
443
|
-
const
|
|
443
|
+
const _ = (S) => {
|
|
444
444
|
var P;
|
|
445
|
-
const B =
|
|
446
|
-
let R = 0,
|
|
447
|
-
for (let
|
|
448
|
-
const W = B.getAt(
|
|
449
|
-
if (!W || (R += W.slide.offsetWidth, R >
|
|
450
|
-
|
|
445
|
+
const B = S.Components.Slides, $ = S.Components.Controller, w = S.root.querySelector(".splide__track"), E = (P = w == null ? void 0 : w.clientWidth) != null ? P : 0, L = $.getIndex(), A = B.getLength();
|
|
446
|
+
let R = 0, y = L;
|
|
447
|
+
for (let D = L; D < A; D++) {
|
|
448
|
+
const W = B.getAt(D);
|
|
449
|
+
if (!W || (R += W.slide.offsetWidth, R > E)) break;
|
|
450
|
+
y = D;
|
|
451
451
|
}
|
|
452
|
-
return { visibleStart: L, visibleEnd:
|
|
453
|
-
},
|
|
454
|
-
const B =
|
|
455
|
-
return !B ||
|
|
456
|
-
},
|
|
457
|
-
var
|
|
458
|
-
const
|
|
459
|
-
if (!
|
|
460
|
-
|
|
452
|
+
return { visibleStart: L, visibleEnd: y };
|
|
453
|
+
}, v = (S) => {
|
|
454
|
+
const B = S.root.querySelector(".splide__track"), $ = S.root.querySelector(".splide__list");
|
|
455
|
+
return !B || !$ ? !1 : $.scrollWidth > B.clientWidth + 1;
|
|
456
|
+
}, I = Ee((S) => {
|
|
457
|
+
var y, P;
|
|
458
|
+
const $ = S.Components.Slides.getLength();
|
|
459
|
+
if (!v(S)) {
|
|
460
|
+
d == null || d({
|
|
461
461
|
index: 0,
|
|
462
462
|
isStart: !0,
|
|
463
463
|
isEnd: !0,
|
|
464
|
-
total:
|
|
464
|
+
total: $,
|
|
465
465
|
visibleStart: 0,
|
|
466
|
-
visibleEnd:
|
|
466
|
+
visibleEnd: $ - 1
|
|
467
467
|
});
|
|
468
468
|
return;
|
|
469
469
|
}
|
|
470
|
-
const { visibleStart:
|
|
471
|
-
|
|
472
|
-
const R =
|
|
473
|
-
|
|
470
|
+
const { visibleStart: w, visibleEnd: E } = _(S), L = w === 0, A = E === $ - 1;
|
|
471
|
+
u && ((y = x.current) == null || y.style.setProperty("--gradient-opacity", L ? "0" : "1"), (P = T.current) == null || P.style.setProperty("--gradient-opacity", A ? "0" : "1"));
|
|
472
|
+
const R = S.Components.Controller.getIndex();
|
|
473
|
+
d == null || d({
|
|
474
474
|
index: R,
|
|
475
475
|
isStart: L,
|
|
476
476
|
isEnd: A,
|
|
477
|
-
total:
|
|
478
|
-
visibleStart:
|
|
479
|
-
visibleEnd:
|
|
477
|
+
total: $,
|
|
478
|
+
visibleStart: w,
|
|
479
|
+
visibleEnd: E
|
|
480
480
|
});
|
|
481
|
-
}, [
|
|
481
|
+
}, [d]);
|
|
482
482
|
fe.useEffect(() => {
|
|
483
|
-
var
|
|
484
|
-
const
|
|
485
|
-
if (!
|
|
486
|
-
const B =
|
|
487
|
-
|
|
488
|
-
|
|
483
|
+
var $;
|
|
484
|
+
const S = ($ = c.current) == null ? void 0 : $.splide;
|
|
485
|
+
if (!S) return;
|
|
486
|
+
const B = b.current !== e.length;
|
|
487
|
+
b.current = e.length, B && requestAnimationFrame(() => {
|
|
488
|
+
S.refresh(), I(S);
|
|
489
489
|
});
|
|
490
|
-
}, [e.length,
|
|
491
|
-
const
|
|
490
|
+
}, [e.length, I]);
|
|
491
|
+
const U = Ee(() => {
|
|
492
492
|
var B;
|
|
493
|
-
const
|
|
494
|
-
|
|
495
|
-
}, [
|
|
496
|
-
(
|
|
497
|
-
|
|
493
|
+
const S = (B = c.current) == null ? void 0 : B.splide;
|
|
494
|
+
S && (S.go(0, !1), I(S));
|
|
495
|
+
}, [I]), O = Ee(
|
|
496
|
+
(S) => {
|
|
497
|
+
I(S);
|
|
498
498
|
},
|
|
499
|
-
[
|
|
500
|
-
),
|
|
499
|
+
[I]
|
|
500
|
+
), k = {
|
|
501
501
|
type: "slide",
|
|
502
502
|
trimSpace: !1,
|
|
503
503
|
drag: !0,
|
|
@@ -512,35 +512,35 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
|
|
|
512
512
|
...r,
|
|
513
513
|
...f ? { wheel: !1 } : {}
|
|
514
514
|
};
|
|
515
|
-
return /* @__PURE__ */
|
|
515
|
+
return /* @__PURE__ */ h(
|
|
516
516
|
"div",
|
|
517
517
|
{
|
|
518
|
-
ref:
|
|
518
|
+
ref: g,
|
|
519
519
|
className: s,
|
|
520
520
|
style: { width: "100%", position: "relative", height: "100%" },
|
|
521
521
|
children: [
|
|
522
522
|
/* @__PURE__ */ t(
|
|
523
|
-
|
|
523
|
+
va,
|
|
524
524
|
{
|
|
525
525
|
ref: c,
|
|
526
|
-
options:
|
|
527
|
-
onMove:
|
|
528
|
-
onMounted:
|
|
529
|
-
onResize:
|
|
530
|
-
children: e.map((
|
|
531
|
-
var
|
|
532
|
-
return /* @__PURE__ */ t(
|
|
526
|
+
options: k,
|
|
527
|
+
onMove: I,
|
|
528
|
+
onMounted: O,
|
|
529
|
+
onResize: U,
|
|
530
|
+
children: e.map((S, B) => {
|
|
531
|
+
var $;
|
|
532
|
+
return /* @__PURE__ */ t(_a, { children: a(S, B) }, p ? B : ($ = S.id) != null ? $ : B);
|
|
533
533
|
})
|
|
534
534
|
}
|
|
535
535
|
),
|
|
536
|
-
|
|
536
|
+
u && /* @__PURE__ */ h(me, { children: [
|
|
537
537
|
/* @__PURE__ */ t(
|
|
538
538
|
"div",
|
|
539
539
|
{
|
|
540
|
-
ref:
|
|
540
|
+
ref: x,
|
|
541
541
|
className: `${ye.gradientOverlay} ${ye.left}`,
|
|
542
542
|
style: { "--gradient-opacity": "0" },
|
|
543
|
-
children: /* @__PURE__ */
|
|
543
|
+
children: /* @__PURE__ */ h(
|
|
544
544
|
"svg",
|
|
545
545
|
{
|
|
546
546
|
className: ye.svg,
|
|
@@ -550,7 +550,7 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
|
|
|
550
550
|
xmlns: "http://www.w3.org/2000/svg",
|
|
551
551
|
children: [
|
|
552
552
|
/* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
|
|
553
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */
|
|
553
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ h("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
|
|
554
554
|
/* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
|
|
555
555
|
/* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
|
|
556
556
|
] }) })
|
|
@@ -562,10 +562,10 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
|
|
|
562
562
|
/* @__PURE__ */ t(
|
|
563
563
|
"div",
|
|
564
564
|
{
|
|
565
|
-
ref:
|
|
565
|
+
ref: T,
|
|
566
566
|
className: `${ye.gradientOverlay} ${ye.right}`,
|
|
567
567
|
style: { "--gradient-opacity": "1" },
|
|
568
|
-
children: /* @__PURE__ */
|
|
568
|
+
children: /* @__PURE__ */ h(
|
|
569
569
|
"svg",
|
|
570
570
|
{
|
|
571
571
|
className: ye.svg,
|
|
@@ -575,7 +575,7 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
|
|
|
575
575
|
xmlns: "http://www.w3.org/2000/svg",
|
|
576
576
|
children: [
|
|
577
577
|
/* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
|
|
578
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */
|
|
578
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ h("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
|
|
579
579
|
/* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
|
|
580
580
|
/* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
|
|
581
581
|
] }) })
|
|
@@ -595,10 +595,10 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
|
|
|
595
595
|
size: n = "sm",
|
|
596
596
|
fillParent: o = !1
|
|
597
597
|
}) => {
|
|
598
|
-
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (
|
|
599
|
-
|
|
598
|
+
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (d) => {
|
|
599
|
+
d.stopPropagation(), a == null || a();
|
|
600
600
|
}, s = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
|
|
601
|
-
return /* @__PURE__ */
|
|
601
|
+
return /* @__PURE__ */ h(
|
|
602
602
|
q,
|
|
603
603
|
{
|
|
604
604
|
onClick: a,
|
|
@@ -669,14 +669,14 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
|
|
|
669
669
|
transition: "opacity .15s ease, transform .15s ease",
|
|
670
670
|
pointerEvents: "none"
|
|
671
671
|
},
|
|
672
|
-
children: /* @__PURE__ */ t(
|
|
672
|
+
children: /* @__PURE__ */ t(J, { variant: "primary", size: "md", onClick: r, children: "Jugar" })
|
|
673
673
|
}
|
|
674
674
|
)
|
|
675
675
|
]
|
|
676
676
|
}
|
|
677
677
|
);
|
|
678
678
|
};
|
|
679
|
-
function
|
|
679
|
+
function ya({
|
|
680
680
|
imageUrl: e,
|
|
681
681
|
orden: a = 1,
|
|
682
682
|
onClick: n,
|
|
@@ -686,18 +686,18 @@ function _a({
|
|
|
686
686
|
md: { w: 186, h: 264, r: 22.6, font: 64 }
|
|
687
687
|
}
|
|
688
688
|
}) {
|
|
689
|
-
var l, c,
|
|
690
|
-
const r = (
|
|
691
|
-
var
|
|
689
|
+
var l, c, g, b;
|
|
690
|
+
const r = (x, T) => {
|
|
691
|
+
var _, v, I, U;
|
|
692
692
|
return {
|
|
693
|
-
xs: (
|
|
694
|
-
md: (
|
|
693
|
+
xs: (v = (_ = i.xs) == null ? void 0 : _[x]) != null ? v : T,
|
|
694
|
+
md: (U = (I = i.md) == null ? void 0 : I[x]) != null ? U : T
|
|
695
695
|
};
|
|
696
|
-
}, s = r("w", 186),
|
|
696
|
+
}, s = r("w", 186), d = r("h", 264), p = r("r", 22.6), f = r("font", 64), u = {
|
|
697
697
|
xs: Math.round(((c = (l = i.xs) == null ? void 0 : l.font) != null ? c : 64) * 0.28),
|
|
698
|
-
md: Math.round(((
|
|
698
|
+
md: Math.round(((b = (g = i.md) == null ? void 0 : g.font) != null ? b : 64) * 0.28)
|
|
699
699
|
};
|
|
700
|
-
return /* @__PURE__ */
|
|
700
|
+
return /* @__PURE__ */ h(
|
|
701
701
|
q,
|
|
702
702
|
{
|
|
703
703
|
sx: {
|
|
@@ -705,13 +705,13 @@ function _a({
|
|
|
705
705
|
width: "100%",
|
|
706
706
|
maxWidth: { xs: `${s.xs}px`, md: `${s.md}px` },
|
|
707
707
|
aspectRatio: {
|
|
708
|
-
xs: `${s.xs}/${
|
|
709
|
-
md: `${s.md}/${
|
|
708
|
+
xs: `${s.xs}/${d.xs}`,
|
|
709
|
+
md: `${s.md}/${d.md}`
|
|
710
710
|
},
|
|
711
711
|
borderRadius: { xs: `${p.xs}px`, md: `${p.md}px` },
|
|
712
712
|
boxSizing: "border-box",
|
|
713
713
|
overflow: "visible",
|
|
714
|
-
pb: { xs: `${
|
|
714
|
+
pb: { xs: `${u.xs}px`, md: `${u.md}px` },
|
|
715
715
|
"&::before": {
|
|
716
716
|
content: '""',
|
|
717
717
|
position: "absolute",
|
|
@@ -766,8 +766,8 @@ function _a({
|
|
|
766
766
|
position: "absolute",
|
|
767
767
|
left: 8,
|
|
768
768
|
bottom: {
|
|
769
|
-
xs: `-${
|
|
770
|
-
md: `-${
|
|
769
|
+
xs: `-${u.xs}px`,
|
|
770
|
+
md: `-${u.md}px`
|
|
771
771
|
},
|
|
772
772
|
fontFamily: '"secondary", sans-serif',
|
|
773
773
|
fontSize: {
|
|
@@ -787,7 +787,7 @@ function _a({
|
|
|
787
787
|
}
|
|
788
788
|
);
|
|
789
789
|
}
|
|
790
|
-
const
|
|
790
|
+
const xa = ({
|
|
791
791
|
logo: e,
|
|
792
792
|
provider: a,
|
|
793
793
|
providerName: n,
|
|
@@ -795,7 +795,7 @@ const ya = ({
|
|
|
795
795
|
onClick: i
|
|
796
796
|
}) => {
|
|
797
797
|
var r;
|
|
798
|
-
return /* @__PURE__ */
|
|
798
|
+
return /* @__PURE__ */ h(
|
|
799
799
|
q,
|
|
800
800
|
{
|
|
801
801
|
onClick: i,
|
|
@@ -881,7 +881,7 @@ const ya = ({
|
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
|
-
) }),
|
|
884
|
+
) }), pt = ({
|
|
885
885
|
items: e,
|
|
886
886
|
layout: a = "grid",
|
|
887
887
|
onClick: n,
|
|
@@ -890,8 +890,8 @@ const ya = ({
|
|
|
890
890
|
}) => {
|
|
891
891
|
var r, s;
|
|
892
892
|
if (a === "mosaic") {
|
|
893
|
-
const
|
|
894
|
-
return /* @__PURE__ */
|
|
893
|
+
const d = e[0], p = e.slice(1, 5);
|
|
894
|
+
return /* @__PURE__ */ h(
|
|
895
895
|
q,
|
|
896
896
|
{
|
|
897
897
|
sx: {
|
|
@@ -925,18 +925,18 @@ const ya = ({
|
|
|
925
925
|
overflow: "hidden",
|
|
926
926
|
borderRadius: 2
|
|
927
927
|
},
|
|
928
|
-
children: o ? /* @__PURE__ */ t(Fe, {}) :
|
|
928
|
+
children: o ? /* @__PURE__ */ t(Fe, {}) : d && /* @__PURE__ */ t(
|
|
929
929
|
Te,
|
|
930
930
|
{
|
|
931
|
-
imageUrl: `https://olimpo.bet${(s = (r =
|
|
931
|
+
imageUrl: `https://olimpo.bet${(s = (r = d.background) != null ? r : d.imageUrl) != null ? s : ""}`,
|
|
932
932
|
size: "lg",
|
|
933
933
|
fillParent: !0,
|
|
934
|
-
onClick: () => n == null ? void 0 : n(
|
|
934
|
+
onClick: () => n == null ? void 0 : n(d, 0)
|
|
935
935
|
}
|
|
936
936
|
)
|
|
937
937
|
}
|
|
938
938
|
),
|
|
939
|
-
(o ? Array.from({ length: 4 }) : p).map((f,
|
|
939
|
+
(o ? Array.from({ length: 4 }) : p).map((f, u) => {
|
|
940
940
|
var l, c;
|
|
941
941
|
return /* @__PURE__ */ t(
|
|
942
942
|
q,
|
|
@@ -953,11 +953,11 @@ const ya = ({
|
|
|
953
953
|
imageUrl: `https://olimpo.bet${(c = (l = f.background) != null ? l : f.imageUrl) != null ? c : ""}`,
|
|
954
954
|
size: "sm",
|
|
955
955
|
fillParent: !0,
|
|
956
|
-
onClick: () => n == null ? void 0 : n(f,
|
|
956
|
+
onClick: () => n == null ? void 0 : n(f, u + 1)
|
|
957
957
|
}
|
|
958
958
|
)
|
|
959
959
|
},
|
|
960
|
-
o ? `sk-${
|
|
960
|
+
o ? `sk-${u}` : f.id
|
|
961
961
|
);
|
|
962
962
|
})
|
|
963
963
|
]
|
|
@@ -980,8 +980,8 @@ const ya = ({
|
|
|
980
980
|
gap: `${Pe}px`,
|
|
981
981
|
gridAutoFlow: "column"
|
|
982
982
|
},
|
|
983
|
-
children: (o ? Array.from({ length: i }) : e).map((
|
|
984
|
-
var f,
|
|
983
|
+
children: (o ? Array.from({ length: i }) : e).map((d, p) => {
|
|
984
|
+
var f, u, l;
|
|
985
985
|
return /* @__PURE__ */ t(
|
|
986
986
|
q,
|
|
987
987
|
{
|
|
@@ -989,19 +989,19 @@ const ya = ({
|
|
|
989
989
|
children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
|
|
990
990
|
Te,
|
|
991
991
|
{
|
|
992
|
-
imageUrl: `https://olimpo.bet${(
|
|
992
|
+
imageUrl: `https://olimpo.bet${(u = (f = d.background) != null ? f : d.imageUrl) != null ? u : ""}`,
|
|
993
993
|
size: "sm",
|
|
994
994
|
fillParent: !0,
|
|
995
|
-
onClick: () => n == null ? void 0 : n(
|
|
995
|
+
onClick: () => n == null ? void 0 : n(d, p)
|
|
996
996
|
}
|
|
997
997
|
)
|
|
998
998
|
},
|
|
999
|
-
o ? `sk-${p}` : (l =
|
|
999
|
+
o ? `sk-${p}` : (l = d.id) != null ? l : p
|
|
1000
1000
|
);
|
|
1001
1001
|
})
|
|
1002
1002
|
}
|
|
1003
1003
|
);
|
|
1004
|
-
},
|
|
1004
|
+
}, Je = ({
|
|
1005
1005
|
title: e,
|
|
1006
1006
|
amount: a,
|
|
1007
1007
|
subtitle: n,
|
|
@@ -1009,14 +1009,14 @@ const ya = ({
|
|
|
1009
1009
|
onButtonClick: i,
|
|
1010
1010
|
backgroundImage: r,
|
|
1011
1011
|
alt: s,
|
|
1012
|
-
className:
|
|
1012
|
+
className: d = "",
|
|
1013
1013
|
variant: p = "small"
|
|
1014
1014
|
}) => {
|
|
1015
|
-
const f = a ? a.slice(0, 2) : "",
|
|
1016
|
-
return /* @__PURE__ */
|
|
1015
|
+
const f = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", l = p === "large";
|
|
1016
|
+
return /* @__PURE__ */ h(
|
|
1017
1017
|
q,
|
|
1018
1018
|
{
|
|
1019
|
-
className:
|
|
1019
|
+
className: d,
|
|
1020
1020
|
sx: {
|
|
1021
1021
|
position: "relative",
|
|
1022
1022
|
width: "100%",
|
|
@@ -1074,7 +1074,7 @@ const ya = ({
|
|
|
1074
1074
|
pl: "14%",
|
|
1075
1075
|
pr: { xs: "14%", lg: "15%" }
|
|
1076
1076
|
},
|
|
1077
|
-
children: /* @__PURE__ */
|
|
1077
|
+
children: /* @__PURE__ */ h(
|
|
1078
1078
|
q,
|
|
1079
1079
|
{
|
|
1080
1080
|
sx: {
|
|
@@ -1095,7 +1095,7 @@ const ya = ({
|
|
|
1095
1095
|
children: e
|
|
1096
1096
|
}
|
|
1097
1097
|
),
|
|
1098
|
-
a && /* @__PURE__ */
|
|
1098
|
+
a && /* @__PURE__ */ h(
|
|
1099
1099
|
q,
|
|
1100
1100
|
{
|
|
1101
1101
|
component: "p",
|
|
@@ -1126,7 +1126,7 @@ const ya = ({
|
|
|
1126
1126
|
{
|
|
1127
1127
|
component: "span",
|
|
1128
1128
|
sx: { fontSize: { xs: 52, md: 77 } },
|
|
1129
|
-
children:
|
|
1129
|
+
children: u
|
|
1130
1130
|
}
|
|
1131
1131
|
)
|
|
1132
1132
|
]
|
|
@@ -1144,7 +1144,7 @@ const ya = ({
|
|
|
1144
1144
|
children: n
|
|
1145
1145
|
}
|
|
1146
1146
|
),
|
|
1147
|
-
o && /* @__PURE__ */ t(
|
|
1147
|
+
o && /* @__PURE__ */ t(J, { onClick: i, children: o })
|
|
1148
1148
|
]
|
|
1149
1149
|
}
|
|
1150
1150
|
)
|
|
@@ -1153,7 +1153,7 @@ const ya = ({
|
|
|
1153
1153
|
]
|
|
1154
1154
|
}
|
|
1155
1155
|
);
|
|
1156
|
-
},
|
|
1156
|
+
}, wa = ({
|
|
1157
1157
|
text: e,
|
|
1158
1158
|
buttonLabel: a = "Conoce más",
|
|
1159
1159
|
onClick: n,
|
|
@@ -1161,7 +1161,7 @@ const ya = ({
|
|
|
1161
1161
|
imgSrcMobile: i,
|
|
1162
1162
|
imgSrcDesktopBg: r,
|
|
1163
1163
|
imgSrcDesktopLogo: s
|
|
1164
|
-
}) => /* @__PURE__ */
|
|
1164
|
+
}) => /* @__PURE__ */ h(me, { children: [
|
|
1165
1165
|
/* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
|
|
1166
1166
|
"img",
|
|
1167
1167
|
{
|
|
@@ -1170,7 +1170,7 @@ const ya = ({
|
|
|
1170
1170
|
className: "orc-co-bgMobileImg"
|
|
1171
1171
|
}
|
|
1172
1172
|
) }),
|
|
1173
|
-
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */
|
|
1173
|
+
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ h("div", { className: "orc-co-desktopInner", children: [
|
|
1174
1174
|
r && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
|
|
1175
1175
|
"img",
|
|
1176
1176
|
{
|
|
@@ -1179,7 +1179,7 @@ const ya = ({
|
|
|
1179
1179
|
className: "orc-co-bgDesktopImg"
|
|
1180
1180
|
}
|
|
1181
1181
|
) }),
|
|
1182
|
-
/* @__PURE__ */
|
|
1182
|
+
/* @__PURE__ */ h("div", { className: "orc-co-desktopContent", children: [
|
|
1183
1183
|
s && /* @__PURE__ */ t(
|
|
1184
1184
|
"img",
|
|
1185
1185
|
{
|
|
@@ -1189,38 +1189,38 @@ const ya = ({
|
|
|
1189
1189
|
}
|
|
1190
1190
|
),
|
|
1191
1191
|
/* @__PURE__ */ t("p", { className: "orc-co-captionDesktop", children: e }),
|
|
1192
|
-
/* @__PURE__ */ t(
|
|
1192
|
+
/* @__PURE__ */ t(J, { onClick: n, variant: "primary", size: "md", children: a })
|
|
1193
1193
|
] })
|
|
1194
1194
|
] }) }),
|
|
1195
|
-
/* @__PURE__ */
|
|
1195
|
+
/* @__PURE__ */ h("div", { className: "orc-co-bottom", children: [
|
|
1196
1196
|
/* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
|
|
1197
|
-
/* @__PURE__ */ t(
|
|
1197
|
+
/* @__PURE__ */ t(J, { onClick: n, variant: "primary", size: "md", children: a })
|
|
1198
1198
|
] })
|
|
1199
|
-
] }),
|
|
1200
|
-
card:
|
|
1201
|
-
combinadas:
|
|
1202
|
-
combinadasScroll:
|
|
1203
|
-
apuestaItem:
|
|
1204
|
-
lineContainer:
|
|
1205
|
-
circle:
|
|
1206
|
-
line:
|
|
1207
|
-
apuestaText:
|
|
1208
|
-
cuotaTotal:
|
|
1199
|
+
] }), Sa = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ia = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ca = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Oa = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ea = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", Ta = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", ka = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Na = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", le = {
|
|
1200
|
+
card: Sa,
|
|
1201
|
+
combinadas: Ia,
|
|
1202
|
+
combinadasScroll: Ca,
|
|
1203
|
+
apuestaItem: Oa,
|
|
1204
|
+
lineContainer: Ea,
|
|
1205
|
+
circle: Ta,
|
|
1206
|
+
line: ka,
|
|
1207
|
+
apuestaText: $a,
|
|
1208
|
+
cuotaTotal: Na
|
|
1209
1209
|
};
|
|
1210
|
-
function
|
|
1210
|
+
function De(e, a) {
|
|
1211
1211
|
const n = Array.isArray(a) ? a : [a];
|
|
1212
1212
|
sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = e;
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1214
|
+
function Ma() {
|
|
1215
1215
|
window.location.href = "/deportes#in-play";
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function Ba() {
|
|
1218
1218
|
window.location.href = "/deportes#sports-hub/football";
|
|
1219
1219
|
}
|
|
1220
|
-
function
|
|
1220
|
+
function za() {
|
|
1221
1221
|
window.location.href = "/deportes#specials";
|
|
1222
1222
|
}
|
|
1223
|
-
async function
|
|
1223
|
+
async function ft(e) {
|
|
1224
1224
|
return await (await fetch("https://api.mktolimpo.com/api/jerseys/search", {
|
|
1225
1225
|
method: "POST",
|
|
1226
1226
|
headers: {
|
|
@@ -1231,97 +1231,97 @@ async function pt(e) {
|
|
|
1231
1231
|
})
|
|
1232
1232
|
})).json();
|
|
1233
1233
|
}
|
|
1234
|
-
const
|
|
1234
|
+
const gt = kt(void 0), ht = ({ children: e, docId: a, moduleId: n }) => {
|
|
1235
1235
|
const o = fe.useMemo(() => ({ docId: a, moduleId: n }), [a, n]);
|
|
1236
|
-
return /* @__PURE__ */ t(
|
|
1237
|
-
},
|
|
1238
|
-
const e =
|
|
1236
|
+
return /* @__PURE__ */ t(gt.Provider, { value: o, children: e });
|
|
1237
|
+
}, bt = () => {
|
|
1238
|
+
const e = $t(gt);
|
|
1239
1239
|
if (!e)
|
|
1240
1240
|
throw new Error("useDocContext debe usarse dentro de DocIdProvider");
|
|
1241
1241
|
return e;
|
|
1242
|
-
}, ne = () =>
|
|
1243
|
-
function
|
|
1242
|
+
}, ne = () => bt().docId, se = () => bt().moduleId;
|
|
1243
|
+
function Aa({ coupon: e }) {
|
|
1244
1244
|
var f;
|
|
1245
1245
|
const a = ae(), n = ne();
|
|
1246
|
-
function o(
|
|
1247
|
-
var
|
|
1246
|
+
function o(u) {
|
|
1247
|
+
var g, b;
|
|
1248
1248
|
const l = [], c = Array.from(
|
|
1249
1249
|
new Map(
|
|
1250
|
-
((
|
|
1250
|
+
((g = u == null ? void 0 : u.events) != null ? g : []).filter(Boolean).map((x) => [x.id, x])
|
|
1251
1251
|
).values()
|
|
1252
1252
|
);
|
|
1253
|
-
return c.forEach((
|
|
1254
|
-
var
|
|
1255
|
-
const
|
|
1256
|
-
|
|
1257
|
-
var B,
|
|
1258
|
-
if (!((B =
|
|
1259
|
-
const
|
|
1260
|
-
if (!
|
|
1261
|
-
let
|
|
1262
|
-
const
|
|
1263
|
-
["Más de", "Mas de", "Over"].includes(
|
|
1264
|
-
id:
|
|
1265
|
-
value:
|
|
1266
|
-
label: (L = (
|
|
1267
|
-
odds: (A =
|
|
1268
|
-
position: (R =
|
|
1269
|
-
eventId:
|
|
1253
|
+
return c.forEach((x) => {
|
|
1254
|
+
var I;
|
|
1255
|
+
const T = (I = x.betoffers) != null ? I : [], _ = x.homeName, v = x.awayName;
|
|
1256
|
+
T.forEach((U) => {
|
|
1257
|
+
var B, $, w, E, L, A, R;
|
|
1258
|
+
if (!((B = U == null ? void 0 : U.outcomes) != null && B.length)) return;
|
|
1259
|
+
const O = U.outcomes[0];
|
|
1260
|
+
if (!O) return;
|
|
1261
|
+
let k = "";
|
|
1262
|
+
const S = O != null && O.line ? O.line / 1e3 : "";
|
|
1263
|
+
["Más de", "Mas de", "Over"].includes(O.label) ? (k = `Más de ${S}`, O.participant && (k = `${O.participant} - ${k}`)) : ["Menos de", "Menos", "Under"].includes(O.label) ? (k = `Menos de ${S}`, O.participant && (k = `${O.participant} - ${k}`)) : ["Sí", "No"].includes(O.label) ? (k = O.label, O.participant && (k = `${O.participant} - ${k}`)) : ["1X", "12", "X2"].includes(O.label) ? (O.label === "1X" && (k = `${_} o Empate`), O.label === "12" && (k = `${_} o ${v}`), O.label === "X2" && (k = `${v} o Empate`)) : (k = (w = ($ = O.participant) != null ? $ : O.label) != null ? w : "", S !== "" && k === O.label && (k = `${O.label} ${S}`)), l.push({
|
|
1264
|
+
id: O.id,
|
|
1265
|
+
value: k,
|
|
1266
|
+
label: (L = (E = U.criterion) == null ? void 0 : E.label) != null ? L : "",
|
|
1267
|
+
odds: (A = O.odds) != null ? A : 0,
|
|
1268
|
+
position: (R = O.position) != null ? R : 0,
|
|
1269
|
+
eventId: x.id
|
|
1270
1270
|
});
|
|
1271
1271
|
});
|
|
1272
1272
|
}), {
|
|
1273
|
-
outcomes: l.sort((
|
|
1274
|
-
total: Number((
|
|
1273
|
+
outcomes: l.sort((x, T) => x.position - T.position),
|
|
1274
|
+
total: Number((b = u == null ? void 0 : u.combinadoTotal) != null ? b : 0).toLocaleString("en-US", {
|
|
1275
1275
|
minimumFractionDigits: 2,
|
|
1276
1276
|
maximumFractionDigits: 2
|
|
1277
1277
|
}),
|
|
1278
1278
|
events: c
|
|
1279
1279
|
};
|
|
1280
1280
|
}
|
|
1281
|
-
function i(
|
|
1282
|
-
if (!
|
|
1281
|
+
function i(u) {
|
|
1282
|
+
if (!u || !Array.isArray(u.events) || u.events.length === 0)
|
|
1283
1283
|
return "/deportes#home";
|
|
1284
|
-
const l =
|
|
1284
|
+
const l = u.events;
|
|
1285
1285
|
if (l.length === 1)
|
|
1286
1286
|
return `/deportes#event/${l[0].id}`;
|
|
1287
1287
|
const c = l[0].groupId;
|
|
1288
|
-
if (l.every((
|
|
1289
|
-
const
|
|
1290
|
-
if (Array.isArray(
|
|
1291
|
-
return `/deportes#sports-hub/${
|
|
1288
|
+
if (l.every((b) => b.groupId === c)) {
|
|
1289
|
+
const b = l[0].path;
|
|
1290
|
+
if (Array.isArray(b) && b.length > 0)
|
|
1291
|
+
return `/deportes#sports-hub/${b.map((T) => T.termKey).filter(Boolean).join("/")}`;
|
|
1292
1292
|
}
|
|
1293
1293
|
return "/deportes#home";
|
|
1294
1294
|
}
|
|
1295
|
-
const r = (
|
|
1296
|
-
const c = Array.isArray(
|
|
1295
|
+
const r = (u, l) => {
|
|
1296
|
+
const c = Array.isArray(u) ? u : [u], g = Array.from(
|
|
1297
1297
|
new Set(
|
|
1298
|
-
s.outcomes.map((
|
|
1299
|
-
var
|
|
1300
|
-
const
|
|
1301
|
-
return (
|
|
1298
|
+
s.outcomes.map((T) => {
|
|
1299
|
+
var v;
|
|
1300
|
+
const _ = p.get(Number(T.eventId));
|
|
1301
|
+
return (v = _ == null ? void 0 : _.name) != null ? v : "";
|
|
1302
1302
|
})
|
|
1303
1303
|
)
|
|
1304
|
-
).filter(Boolean),
|
|
1304
|
+
).filter(Boolean), b = g.length > 0 ? g.join(" + ") : JSON.stringify(c), x = l ? `${b} - Cuota: ${l}` : b;
|
|
1305
1305
|
a({
|
|
1306
1306
|
element: "evento_semana_outcome",
|
|
1307
|
-
label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${
|
|
1307
|
+
label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${x}`,
|
|
1308
1308
|
target: "/deportes#in-play",
|
|
1309
1309
|
event_type: "click",
|
|
1310
1310
|
module_id: 301,
|
|
1311
1311
|
metadata: {
|
|
1312
1312
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1313
1313
|
},
|
|
1314
|
-
tags: { section: "OraculoEventCombinadasCard", outcomes:
|
|
1315
|
-
}),
|
|
1314
|
+
tags: { section: "OraculoEventCombinadasCard", outcomes: x }
|
|
1315
|
+
}), De(i(e), u);
|
|
1316
1316
|
};
|
|
1317
1317
|
if (!((f = e == null ? void 0 : e.events) != null && f.length)) return null;
|
|
1318
|
-
const s = o(e),
|
|
1319
|
-
s.events.map((
|
|
1318
|
+
const s = o(e), d = s.outcomes.reduce((u, l) => (u[l.eventId] || (u[l.eventId] = []), u[l.eventId].push(l), u), {}), p = new Map(
|
|
1319
|
+
s.events.map((u) => [u.id, u])
|
|
1320
1320
|
);
|
|
1321
|
-
return /* @__PURE__ */
|
|
1322
|
-
/* @__PURE__ */ t("div", { className: le.combinadas, children: /* @__PURE__ */ t("div", { className: le.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(
|
|
1323
|
-
const c = p.get(Number(
|
|
1324
|
-
return c ? /* @__PURE__ */
|
|
1321
|
+
return /* @__PURE__ */ h("div", { className: le.card, children: [
|
|
1322
|
+
/* @__PURE__ */ t("div", { className: le.combinadas, children: /* @__PURE__ */ t("div", { className: le.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(d).reverse().map(([u, l]) => {
|
|
1323
|
+
const c = p.get(Number(u));
|
|
1324
|
+
return c ? /* @__PURE__ */ h(
|
|
1325
1325
|
H,
|
|
1326
1326
|
{
|
|
1327
1327
|
direction: "column",
|
|
@@ -1343,32 +1343,32 @@ function za({ coupon: e }) {
|
|
|
1343
1343
|
src: "/assets/img/home/Combinadas/line.png"
|
|
1344
1344
|
}
|
|
1345
1345
|
),
|
|
1346
|
-
l.map((
|
|
1347
|
-
/* @__PURE__ */
|
|
1346
|
+
l.map((g, b) => /* @__PURE__ */ h("div", { className: le.apuestaItem, children: [
|
|
1347
|
+
/* @__PURE__ */ h("div", { className: le.lineContainer, children: [
|
|
1348
1348
|
/* @__PURE__ */ t("div", { className: le.circle }),
|
|
1349
|
-
|
|
1349
|
+
b < l.length - 1 && /* @__PURE__ */ t("div", { className: le.line })
|
|
1350
1350
|
] }),
|
|
1351
|
-
/* @__PURE__ */
|
|
1352
|
-
/* @__PURE__ */ t("strong", { children:
|
|
1351
|
+
/* @__PURE__ */ h("div", { className: le.apuestaText, children: [
|
|
1352
|
+
/* @__PURE__ */ t("strong", { children: g.value }),
|
|
1353
1353
|
" | ",
|
|
1354
|
-
|
|
1354
|
+
g.label
|
|
1355
1355
|
] })
|
|
1356
|
-
] }, `${
|
|
1356
|
+
] }, `${u}-${b}`))
|
|
1357
1357
|
]
|
|
1358
1358
|
},
|
|
1359
|
-
|
|
1359
|
+
u
|
|
1360
1360
|
) : null;
|
|
1361
1361
|
}) }) }) }),
|
|
1362
|
-
/* @__PURE__ */
|
|
1362
|
+
/* @__PURE__ */ h(
|
|
1363
1363
|
"button",
|
|
1364
1364
|
{
|
|
1365
1365
|
onClick: () => r(
|
|
1366
|
-
s.outcomes.map((
|
|
1366
|
+
s.outcomes.map((u) => u.id),
|
|
1367
1367
|
s.total
|
|
1368
1368
|
),
|
|
1369
1369
|
className: le.cuotaTotal,
|
|
1370
1370
|
children: [
|
|
1371
|
-
/* @__PURE__ */
|
|
1371
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1372
1372
|
"Cuota total: ",
|
|
1373
1373
|
/* @__PURE__ */ t("strong", { children: s.total })
|
|
1374
1374
|
] }),
|
|
@@ -1399,7 +1399,7 @@ const ce = {
|
|
|
1399
1399
|
"orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
|
|
1400
1400
|
"orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
|
|
1401
1401
|
};
|
|
1402
|
-
function
|
|
1402
|
+
function Ra({
|
|
1403
1403
|
children: e,
|
|
1404
1404
|
onClick: a,
|
|
1405
1405
|
href: n,
|
|
@@ -1407,68 +1407,68 @@ function Aa({
|
|
|
1407
1407
|
rel: i,
|
|
1408
1408
|
type: r = "button",
|
|
1409
1409
|
disabled: s = !1,
|
|
1410
|
-
variant:
|
|
1410
|
+
variant: d = "primary",
|
|
1411
1411
|
size: p,
|
|
1412
1412
|
fullWidth: f = !1,
|
|
1413
|
-
fullHeight:
|
|
1413
|
+
fullHeight: u = !1,
|
|
1414
1414
|
className: l = "",
|
|
1415
1415
|
ariaLabel: c,
|
|
1416
|
-
leftIcon:
|
|
1417
|
-
rightIcon:
|
|
1418
|
-
iconOnly:
|
|
1416
|
+
leftIcon: g,
|
|
1417
|
+
rightIcon: b,
|
|
1418
|
+
iconOnly: x
|
|
1419
1419
|
}) {
|
|
1420
|
-
const
|
|
1420
|
+
const T = !!e && e !== !0, I = (!!g ? 1 : 0) + (!!b ? 1 : 0) == 1, U = x != null ? x : I && !T, O = [
|
|
1421
1421
|
ce["orc-btn"],
|
|
1422
1422
|
// base
|
|
1423
|
-
ce[`orc-btn--${
|
|
1423
|
+
ce[`orc-btn--${d}`],
|
|
1424
1424
|
// variant primary/secondary/tertiary
|
|
1425
1425
|
p ? ce[`orc-btn--${p}`] : "",
|
|
1426
1426
|
// sm / md / lg
|
|
1427
1427
|
f ? ce["orc-btn--full"] : "",
|
|
1428
|
-
|
|
1429
|
-
|
|
1428
|
+
u ? ce["orc-btn--fullHeight"] : "",
|
|
1429
|
+
U ? ce["orc-btn--iconOnly"] : "",
|
|
1430
1430
|
l
|
|
1431
|
-
].filter(Boolean).join(" "),
|
|
1432
|
-
|
|
1433
|
-
!
|
|
1434
|
-
|
|
1435
|
-
] }),
|
|
1431
|
+
].filter(Boolean).join(" "), k = /* @__PURE__ */ h(me, { children: [
|
|
1432
|
+
g && /* @__PURE__ */ t("span", { className: ce["orc-btn__icon"], children: g }),
|
|
1433
|
+
!U && /* @__PURE__ */ t("span", { className: ce["orc-btn__label"], children: e }),
|
|
1434
|
+
b && /* @__PURE__ */ t("span", { className: ce["orc-btn__icon"], children: b })
|
|
1435
|
+
] }), S = s ? !0 : void 0;
|
|
1436
1436
|
return n ? /* @__PURE__ */ t(
|
|
1437
|
-
|
|
1437
|
+
it,
|
|
1438
1438
|
{
|
|
1439
1439
|
href: n,
|
|
1440
1440
|
target: o,
|
|
1441
1441
|
rel: i,
|
|
1442
1442
|
"aria-label": c,
|
|
1443
|
-
"aria-disabled":
|
|
1444
|
-
tabIndex:
|
|
1445
|
-
className:
|
|
1446
|
-
onClick:
|
|
1447
|
-
children:
|
|
1443
|
+
"aria-disabled": S,
|
|
1444
|
+
tabIndex: S ? -1 : void 0,
|
|
1445
|
+
className: O,
|
|
1446
|
+
onClick: S ? (B) => B.preventDefault() : a,
|
|
1447
|
+
children: k
|
|
1448
1448
|
}
|
|
1449
1449
|
) : /* @__PURE__ */ t(
|
|
1450
1450
|
"button",
|
|
1451
1451
|
{
|
|
1452
1452
|
type: r,
|
|
1453
1453
|
onClick: a,
|
|
1454
|
-
disabled: !!
|
|
1454
|
+
disabled: !!S,
|
|
1455
1455
|
"aria-label": c,
|
|
1456
|
-
className:
|
|
1457
|
-
children:
|
|
1456
|
+
className: O,
|
|
1457
|
+
children: k
|
|
1458
1458
|
}
|
|
1459
1459
|
);
|
|
1460
1460
|
}
|
|
1461
|
-
const
|
|
1462
|
-
cardWrapper:
|
|
1463
|
-
customButtonLabel:
|
|
1464
|
-
customButtonDisabled:
|
|
1461
|
+
const La = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Pa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Fa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
|
|
1462
|
+
cardWrapper: La,
|
|
1463
|
+
customButtonLabel: Pa,
|
|
1464
|
+
customButtonDisabled: Fa
|
|
1465
1465
|
}, Xe = {
|
|
1466
1466
|
base: "FFFFFF",
|
|
1467
1467
|
sleeve: "FFFFFF",
|
|
1468
1468
|
number: "000000",
|
|
1469
1469
|
real: !1,
|
|
1470
1470
|
type: "short_sleeves"
|
|
1471
|
-
},
|
|
1471
|
+
}, Ye = {
|
|
1472
1472
|
base: "000000",
|
|
1473
1473
|
sleeve: "000000",
|
|
1474
1474
|
number: "FFFFFF",
|
|
@@ -1479,16 +1479,16 @@ const Ra = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", La = "
|
|
|
1479
1479
|
if (e === void 0)
|
|
1480
1480
|
return null;
|
|
1481
1481
|
if (e === null)
|
|
1482
|
-
return a === "home" ? Xe :
|
|
1482
|
+
return a === "home" ? Xe : Ye;
|
|
1483
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" ? Xe :
|
|
1484
|
+
return o || (a === "home" ? Xe : Ye);
|
|
1485
1485
|
};
|
|
1486
|
-
function
|
|
1487
|
-
var
|
|
1486
|
+
function qa({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
1487
|
+
var d, p, f, u, l, c, g, b, x, T, _;
|
|
1488
1488
|
const i = n == null ? void 0 : n.find(
|
|
1489
|
-
(
|
|
1490
|
-
var
|
|
1491
|
-
return ((
|
|
1489
|
+
(v) => {
|
|
1490
|
+
var I;
|
|
1491
|
+
return ((I = v.betOfferType) == null ? void 0 : I.id) === 2;
|
|
1492
1492
|
}
|
|
1493
1493
|
), r = {
|
|
1494
1494
|
englishLabel: "",
|
|
@@ -1504,150 +1504,150 @@ function Fa({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1504
1504
|
{ ...r, id: -2, label: "X", odds: void 0 },
|
|
1505
1505
|
{ ...r, id: -3, label: "2", odds: void 0 }
|
|
1506
1506
|
];
|
|
1507
|
-
return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */
|
|
1508
|
-
/* @__PURE__ */
|
|
1507
|
+
return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ h(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1508
|
+
/* @__PURE__ */ h(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
1509
1509
|
/* @__PURE__ */ t(
|
|
1510
|
-
|
|
1510
|
+
jt,
|
|
1511
1511
|
{
|
|
1512
|
-
title: (f = (p = (
|
|
1513
|
-
subtitle: (
|
|
1512
|
+
title: (f = (p = (d = e == null ? void 0 : e.path) == null ? void 0 : d[0]) == null ? void 0 : p.name) != null ? f : "",
|
|
1513
|
+
subtitle: (u = e == null ? void 0 : e.group) != null ? u : "",
|
|
1514
1514
|
live: !0,
|
|
1515
1515
|
time: ((l = a == null ? void 0 : a.matchClock) == null ? void 0 : l.minute) != null ? `${a.matchClock.minute}'` : ""
|
|
1516
1516
|
}
|
|
1517
1517
|
),
|
|
1518
|
-
/* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */
|
|
1518
|
+
/* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ h(ue, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1519
1519
|
/* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
|
|
1520
|
-
/* @__PURE__ */ t(
|
|
1520
|
+
/* @__PURE__ */ t(mt, { text: ((g = (c = a == null ? void 0 : a.score) == null ? void 0 : c.home) != null ? g : 0) + ":" + ((x = (b = a == null ? void 0 : a.score) == null ? void 0 : b.away) != null ? x : 0), name: "En vivo" }),
|
|
1521
1521
|
/* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
|
|
1522
1522
|
] }) })
|
|
1523
1523
|
] }),
|
|
1524
|
-
/* @__PURE__ */
|
|
1525
|
-
/* @__PURE__ */ t(ue, { spacing: 1, children: ((
|
|
1526
|
-
/* @__PURE__ */ t(ue, { spacing: 2, children: ((
|
|
1527
|
-
|
|
1528
|
-
}, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children:
|
|
1524
|
+
/* @__PURE__ */ h(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1525
|
+
/* @__PURE__ */ t(ue, { spacing: 1, children: ((T = i == null ? void 0 : i.outcomes) != null ? T : s).map((v, I) => /* @__PURE__ */ t(dt, { text: v.label.toUpperCase() }, I)) }),
|
|
1526
|
+
/* @__PURE__ */ t(ue, { spacing: 2, children: ((_ = i == null ? void 0 : i.outcomes) != null ? _ : s).map((v, I) => /* @__PURE__ */ t(Ra, { variant: "primary", disabled: v.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1527
|
+
De("/deportes#event/live/" + e.id, v.id);
|
|
1528
|
+
}, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: v.odds === void 0 ? "" : (v.odds / 1e3).toFixed(2) }) }, I)) })
|
|
1529
1529
|
] })
|
|
1530
1530
|
] }) });
|
|
1531
1531
|
}
|
|
1532
|
-
const
|
|
1533
|
-
date:
|
|
1532
|
+
const Ua = "oraculo__OraculoEventDate-module__date___xhIlh", Da = {
|
|
1533
|
+
date: Ua
|
|
1534
1534
|
};
|
|
1535
|
-
function
|
|
1535
|
+
function Va({ text: e }) {
|
|
1536
1536
|
return /* @__PURE__ */ t("div", { className: `oli-font ${Da.date}`, children: e });
|
|
1537
1537
|
}
|
|
1538
|
-
const
|
|
1539
|
-
cardContainer:
|
|
1540
|
-
cardBackground:
|
|
1541
|
-
jugadas:
|
|
1542
|
-
equipos:
|
|
1538
|
+
const Wa = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Ga = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", ja = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Ha = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", be = {
|
|
1539
|
+
cardContainer: Wa,
|
|
1540
|
+
cardBackground: Ga,
|
|
1541
|
+
jugadas: ja,
|
|
1542
|
+
equipos: Ha
|
|
1543
1543
|
};
|
|
1544
|
-
function
|
|
1545
|
-
var s,
|
|
1544
|
+
function Ka({ event: e, jersey: a }) {
|
|
1545
|
+
var s, d, p, f, u, l, c;
|
|
1546
1546
|
const n = ae(), o = ne();
|
|
1547
|
-
function i(
|
|
1548
|
-
const
|
|
1549
|
-
let
|
|
1550
|
-
return
|
|
1547
|
+
function i(g) {
|
|
1548
|
+
const b = new Date(g), x = b.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), T = b.getDate().toString().padStart(2, "0"), _ = (b.getMonth() + 1).toString().padStart(2, "0");
|
|
1549
|
+
let v = b.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1550
|
+
return v = v.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${T}/${_} | ${v}`;
|
|
1551
1551
|
}
|
|
1552
|
-
const r = (
|
|
1553
|
-
const
|
|
1552
|
+
const r = (g, b) => {
|
|
1553
|
+
const x = `${e.homeName} vs ${e.awayName}`, T = b ? (b / 1e3).toFixed(2) : "", _ = T ? `${x} - Cuota: ${T}` : x;
|
|
1554
1554
|
n({
|
|
1555
1555
|
element: "evento_semana_outcome",
|
|
1556
|
-
label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${
|
|
1556
|
+
label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${_}`,
|
|
1557
1557
|
target: "/deportes#in-play",
|
|
1558
1558
|
event_type: "click",
|
|
1559
1559
|
module_id: 301,
|
|
1560
1560
|
metadata: {
|
|
1561
1561
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1562
1562
|
},
|
|
1563
|
-
tags: { section: "OraculoEventSemanaCard", outcomes:
|
|
1564
|
-
}),
|
|
1563
|
+
tags: { section: "OraculoEventSemanaCard", outcomes: _ }
|
|
1564
|
+
}), De("/deportes#event/" + e.id, g);
|
|
1565
1565
|
};
|
|
1566
|
-
return /* @__PURE__ */
|
|
1567
|
-
/* @__PURE__ */ t(
|
|
1568
|
-
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */
|
|
1569
|
-
/* @__PURE__ */
|
|
1570
|
-
/* @__PURE__ */
|
|
1566
|
+
return /* @__PURE__ */ h("div", { className: be.cardContainer, children: [
|
|
1567
|
+
/* @__PURE__ */ t(ut, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
|
|
1568
|
+
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ h(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1569
|
+
/* @__PURE__ */ h(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1570
|
+
/* @__PURE__ */ h("div", { className: be.equipos, children: [
|
|
1571
1571
|
/* @__PURE__ */ t(Ne, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
|
|
1572
|
-
/* @__PURE__ */ t(
|
|
1572
|
+
/* @__PURE__ */ t(mt, { text: "vs.", name: "", size: "small" }),
|
|
1573
1573
|
/* @__PURE__ */ t(Ne, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
|
|
1574
1574
|
] }),
|
|
1575
|
-
/* @__PURE__ */ t(
|
|
1575
|
+
/* @__PURE__ */ t(Va, { text: i(e.start) })
|
|
1576
1576
|
] }),
|
|
1577
|
-
/* @__PURE__ */
|
|
1578
|
-
/* @__PURE__ */ t(ue, { spacing: 1, children: ((f = (p = (
|
|
1579
|
-
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(ue, { spacing: 1, children: ((c = (l = (
|
|
1580
|
-
r(
|
|
1581
|
-
}, children: (
|
|
1577
|
+
/* @__PURE__ */ h(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1578
|
+
/* @__PURE__ */ t(ue, { spacing: 1, children: ((f = (p = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : p.outcomes) != null ? f : []).map((g, b) => /* @__PURE__ */ t(dt, { text: g.label.toUpperCase() }, b)) }),
|
|
1579
|
+
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(ue, { spacing: 1, children: ((c = (l = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : l.outcomes) != null ? c : []).map((g, b) => /* @__PURE__ */ t(J, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1580
|
+
r(g.id, g.odds);
|
|
1581
|
+
}, children: (g.odds / 1e3).toFixed(2) }, b)) }) })
|
|
1582
1582
|
] })
|
|
1583
1583
|
] }) })
|
|
1584
1584
|
] });
|
|
1585
1585
|
}
|
|
1586
|
-
function
|
|
1586
|
+
function Za({
|
|
1587
1587
|
items: e,
|
|
1588
1588
|
title: a = "Destacados",
|
|
1589
1589
|
iconUrl: n,
|
|
1590
1590
|
onViewMore: o,
|
|
1591
1591
|
className: i = ""
|
|
1592
1592
|
}) {
|
|
1593
|
-
const r = V(null), [s,
|
|
1594
|
-
var
|
|
1593
|
+
const r = V(null), [s, d] = K({ isStart: !0, isEnd: !1 }), p = ae(), f = ne(), u = se(), l = !e || e.length === 0, c = () => {
|
|
1594
|
+
var v;
|
|
1595
1595
|
p({
|
|
1596
1596
|
element: "destacados_carousel_prev",
|
|
1597
1597
|
label: `${f} - OraculoSeccionDestacados - Anterior`,
|
|
1598
1598
|
target: "carousel",
|
|
1599
1599
|
event_type: "click",
|
|
1600
|
-
module_id:
|
|
1600
|
+
module_id: u,
|
|
1601
1601
|
metadata: {
|
|
1602
1602
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1603
1603
|
},
|
|
1604
1604
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1605
|
-
}), (
|
|
1606
|
-
},
|
|
1607
|
-
var
|
|
1605
|
+
}), (v = r.current) == null || v.prev();
|
|
1606
|
+
}, g = () => {
|
|
1607
|
+
var v;
|
|
1608
1608
|
p({
|
|
1609
1609
|
element: "destacados_carousel_next",
|
|
1610
1610
|
label: `${f} - OraculoSeccionDestacados - Siguiente`,
|
|
1611
1611
|
target: "carousel",
|
|
1612
1612
|
event_type: "click",
|
|
1613
|
-
module_id:
|
|
1613
|
+
module_id: u,
|
|
1614
1614
|
metadata: {
|
|
1615
1615
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1616
1616
|
},
|
|
1617
1617
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1618
|
-
}), (
|
|
1619
|
-
},
|
|
1618
|
+
}), (v = r.current) == null || v.next();
|
|
1619
|
+
}, b = () => {
|
|
1620
1620
|
p({
|
|
1621
1621
|
element: "destacados_view_more",
|
|
1622
1622
|
label: `${f} - OraculoSeccionDestacados - Ver más`,
|
|
1623
1623
|
target: "https://www.olimpo.bet/promociones",
|
|
1624
1624
|
event_type: "click",
|
|
1625
|
-
module_id:
|
|
1625
|
+
module_id: u,
|
|
1626
1626
|
metadata: {
|
|
1627
1627
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1628
1628
|
},
|
|
1629
1629
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1630
1630
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
|
|
1631
|
-
},
|
|
1632
|
-
if (!
|
|
1633
|
-
const
|
|
1631
|
+
}, x = (v) => {
|
|
1632
|
+
if (!v) return;
|
|
1633
|
+
const U = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
|
|
1634
1634
|
p({
|
|
1635
1635
|
element: "destacados_card",
|
|
1636
|
-
label: `${f} - OraculoSeccionDestacados - Click: ${String(
|
|
1637
|
-
target:
|
|
1636
|
+
label: `${f} - OraculoSeccionDestacados - Click: ${String(v)}`,
|
|
1637
|
+
target: U,
|
|
1638
1638
|
event_type: "click",
|
|
1639
|
-
module_id:
|
|
1639
|
+
module_id: u,
|
|
1640
1640
|
metadata: {
|
|
1641
1641
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1642
1642
|
},
|
|
1643
1643
|
tags: {
|
|
1644
1644
|
section: "OraculoSeccionDestacados",
|
|
1645
|
-
promotion: String(
|
|
1645
|
+
promotion: String(v)
|
|
1646
1646
|
}
|
|
1647
|
-
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(
|
|
1648
|
-
},
|
|
1649
|
-
return /* @__PURE__ */
|
|
1650
|
-
/* @__PURE__ */
|
|
1647
|
+
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(U);
|
|
1648
|
+
}, T = i || void 0, _ = xe("(max-width:950px)");
|
|
1649
|
+
return /* @__PURE__ */ h("section", { className: T, style: { width: "100%" }, children: [
|
|
1650
|
+
/* @__PURE__ */ h(
|
|
1651
1651
|
"header",
|
|
1652
1652
|
{
|
|
1653
1653
|
style: {
|
|
@@ -1657,14 +1657,14 @@ function Ka({
|
|
|
1657
1657
|
columnGap: 12,
|
|
1658
1658
|
rowGap: 8,
|
|
1659
1659
|
// marginBottom: 16,
|
|
1660
|
-
paddingLeft:
|
|
1661
|
-
paddingRight:
|
|
1660
|
+
paddingLeft: _ ? 16 : 0,
|
|
1661
|
+
paddingRight: _ ? 16 : 0
|
|
1662
1662
|
},
|
|
1663
1663
|
children: [
|
|
1664
1664
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
1665
|
-
/* @__PURE__ */
|
|
1665
|
+
/* @__PURE__ */ h("div", { style: { display: "flex", gap: 8 }, children: [
|
|
1666
1666
|
/* @__PURE__ */ t(
|
|
1667
|
-
|
|
1667
|
+
J,
|
|
1668
1668
|
{
|
|
1669
1669
|
ariaLabel: "Anterior",
|
|
1670
1670
|
variant: "secondary",
|
|
@@ -1675,18 +1675,18 @@ function Ka({
|
|
|
1675
1675
|
}
|
|
1676
1676
|
),
|
|
1677
1677
|
/* @__PURE__ */ t(
|
|
1678
|
-
|
|
1678
|
+
J,
|
|
1679
1679
|
{
|
|
1680
1680
|
ariaLabel: "Siguiente",
|
|
1681
1681
|
variant: "secondary",
|
|
1682
1682
|
iconOnly: !0,
|
|
1683
1683
|
rightIcon: /* @__PURE__ */ t(Ae, {}),
|
|
1684
|
-
onClick:
|
|
1684
|
+
onClick: g,
|
|
1685
1685
|
disabled: s.isEnd || l
|
|
1686
1686
|
}
|
|
1687
1687
|
)
|
|
1688
1688
|
] }),
|
|
1689
|
-
/* @__PURE__ */ t(
|
|
1689
|
+
/* @__PURE__ */ t(J, { variant: "secondary", onClick: b, children: "Ver más" })
|
|
1690
1690
|
]
|
|
1691
1691
|
}
|
|
1692
1692
|
),
|
|
@@ -1698,13 +1698,13 @@ function Ka({
|
|
|
1698
1698
|
perPage: void 0,
|
|
1699
1699
|
gap: "16px",
|
|
1700
1700
|
enableHorizontalWheel: !0,
|
|
1701
|
-
showRightGradient: !
|
|
1701
|
+
showRightGradient: !_,
|
|
1702
1702
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
1703
1703
|
breakpoints: {
|
|
1704
1704
|
768: { perPage: 2, focus: "start", padding: { left: "24px", right: "24px" } },
|
|
1705
1705
|
1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
|
|
1706
1706
|
},
|
|
1707
|
-
renderItem: (
|
|
1707
|
+
renderItem: (v) => /* @__PURE__ */ t(
|
|
1708
1708
|
"div",
|
|
1709
1709
|
{
|
|
1710
1710
|
style: {
|
|
@@ -1712,12 +1712,12 @@ function Ka({
|
|
|
1712
1712
|
marginTop: 16,
|
|
1713
1713
|
cursor: "pointer"
|
|
1714
1714
|
},
|
|
1715
|
-
onClick: () =>
|
|
1715
|
+
onClick: () => x(v.promotion),
|
|
1716
1716
|
children: /* @__PURE__ */ t(
|
|
1717
1717
|
"img",
|
|
1718
1718
|
{
|
|
1719
|
-
src: `https://olimpo.bet${
|
|
1720
|
-
alt:
|
|
1719
|
+
src: `https://olimpo.bet${v.image !== "" ? v.image : v.summary_image}`,
|
|
1720
|
+
alt: v.title,
|
|
1721
1721
|
style: {
|
|
1722
1722
|
width: "100%",
|
|
1723
1723
|
height: typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px",
|
|
@@ -1728,19 +1728,19 @@ function Ka({
|
|
|
1728
1728
|
}
|
|
1729
1729
|
)
|
|
1730
1730
|
},
|
|
1731
|
-
`${
|
|
1731
|
+
`${v.title}-${v.image}`
|
|
1732
1732
|
),
|
|
1733
|
-
onMove: ({ isStart:
|
|
1734
|
-
|
|
1733
|
+
onMove: ({ isStart: v, isEnd: I }) => {
|
|
1734
|
+
d({ isStart: v, isEnd: I }), p({
|
|
1735
1735
|
element: "destacados_carousel_slide",
|
|
1736
1736
|
label: `${f} - OraculoSeccionDestacados - Slide Carousel`,
|
|
1737
1737
|
target: "carousel",
|
|
1738
1738
|
event_type: "slide",
|
|
1739
|
-
module_id:
|
|
1739
|
+
module_id: u,
|
|
1740
1740
|
metadata: {
|
|
1741
1741
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
1742
|
-
isStart:
|
|
1743
|
-
isEnd:
|
|
1742
|
+
isStart: v,
|
|
1743
|
+
isEnd: I
|
|
1744
1744
|
},
|
|
1745
1745
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1746
1746
|
});
|
|
@@ -1750,37 +1750,37 @@ function Ka({
|
|
|
1750
1750
|
] });
|
|
1751
1751
|
}
|
|
1752
1752
|
const $e = "__ORACULO_EXTRAS__";
|
|
1753
|
-
function
|
|
1753
|
+
function vt() {
|
|
1754
1754
|
const e = globalThis;
|
|
1755
1755
|
return e[$e] || (e[$e] = {}), e[$e];
|
|
1756
1756
|
}
|
|
1757
|
-
function
|
|
1758
|
-
|
|
1757
|
+
function Ja(e) {
|
|
1758
|
+
vt().extras = e;
|
|
1759
1759
|
}
|
|
1760
1760
|
function pe(e) {
|
|
1761
1761
|
var a;
|
|
1762
|
-
return (a =
|
|
1762
|
+
return (a = vt().extras) == null ? void 0 : a[e];
|
|
1763
1763
|
}
|
|
1764
1764
|
function Xa() {
|
|
1765
1765
|
delete globalThis[$e];
|
|
1766
1766
|
}
|
|
1767
|
-
function
|
|
1767
|
+
function Ya({
|
|
1768
1768
|
items: e,
|
|
1769
1769
|
title: a = "Top Juegos",
|
|
1770
1770
|
iconUrl: n,
|
|
1771
1771
|
onCardClick: o
|
|
1772
1772
|
}) {
|
|
1773
|
-
const i = ae(), r = ne(), s = se(),
|
|
1773
|
+
const i = ae(), r = ne(), s = se(), d = re(
|
|
1774
1774
|
() => (e != null ? e : []).map((l, c) => {
|
|
1775
|
-
var
|
|
1775
|
+
var g;
|
|
1776
1776
|
return {
|
|
1777
1777
|
...l,
|
|
1778
|
-
orden: (
|
|
1778
|
+
orden: (g = l.orden) != null ? g : c + 1,
|
|
1779
1779
|
_originalIndex: c
|
|
1780
1780
|
};
|
|
1781
1781
|
}).sort((l, c) => l.orden != null && c.orden != null ? l.orden - c.orden : l._originalIndex - c._originalIndex),
|
|
1782
1782
|
[e]
|
|
1783
|
-
), p = !e || e.length === 0, f = p ? Array.from({ length: 6 }) :
|
|
1783
|
+
), p = !e || e.length === 0, f = p ? Array.from({ length: 6 }) : d.slice(0, 6), u = (l) => {
|
|
1784
1784
|
i({
|
|
1785
1785
|
element: "top_juegos_card",
|
|
1786
1786
|
label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(l.machine || "unknown")}`,
|
|
@@ -1795,12 +1795,12 @@ function Ja({
|
|
|
1795
1795
|
section: "OraculoSeccionTopJuegos"
|
|
1796
1796
|
}
|
|
1797
1797
|
});
|
|
1798
|
-
const c = pe("showIframe"),
|
|
1798
|
+
const c = pe("showIframe"), g = pe("loadMachine");
|
|
1799
1799
|
c == null || c(), requestAnimationFrame(() => {
|
|
1800
|
-
|
|
1800
|
+
g == null || g(l, !1, "CASINO");
|
|
1801
1801
|
});
|
|
1802
1802
|
};
|
|
1803
|
-
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */
|
|
1803
|
+
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ h(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1804
1804
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
1805
1805
|
/* @__PURE__ */ t(
|
|
1806
1806
|
q,
|
|
@@ -1816,26 +1816,26 @@ function Ja({
|
|
|
1816
1816
|
width: "100%"
|
|
1817
1817
|
},
|
|
1818
1818
|
children: f.map((l, c) => {
|
|
1819
|
-
var
|
|
1819
|
+
var g, b;
|
|
1820
1820
|
return /* @__PURE__ */ t(
|
|
1821
|
-
|
|
1821
|
+
ya,
|
|
1822
1822
|
{
|
|
1823
|
-
imageUrl: p ? "" : l.background ? `https://olimpo.bet${l.background}` : `https://olimpo.bet${(
|
|
1823
|
+
imageUrl: p ? "" : l.background ? `https://olimpo.bet${l.background}` : `https://olimpo.bet${(g = l.logo) != null ? g : ""}`,
|
|
1824
1824
|
orden: p ? c + 1 : l.orden,
|
|
1825
1825
|
loading: p,
|
|
1826
1826
|
onClick: p ? void 0 : () => {
|
|
1827
|
-
o == null || o(l),
|
|
1827
|
+
o == null || o(l), u(l);
|
|
1828
1828
|
}
|
|
1829
1829
|
},
|
|
1830
|
-
p ? `sk-${c}` : (
|
|
1830
|
+
p ? `sk-${c}` : (b = l.machine) != null ? b : `${c}`
|
|
1831
1831
|
);
|
|
1832
1832
|
})
|
|
1833
1833
|
}
|
|
1834
1834
|
)
|
|
1835
1835
|
] }) });
|
|
1836
1836
|
}
|
|
1837
|
-
const
|
|
1838
|
-
var n, o, i, r, s,
|
|
1837
|
+
const Qa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", en = (e, a) => {
|
|
1838
|
+
var n, o, i, r, s, d, p, f, u, l, c, g, b, x;
|
|
1839
1839
|
return {
|
|
1840
1840
|
orden: Number(a),
|
|
1841
1841
|
machine: String(
|
|
@@ -1845,25 +1845,25 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1845
1845
|
name: (i = e.room_name) != null ? i : "",
|
|
1846
1846
|
web_name: (r = e.product) != null ? r : "",
|
|
1847
1847
|
provider: (s = e.service) != null ? s : "",
|
|
1848
|
-
sub_provider: (
|
|
1848
|
+
sub_provider: (d = e.service) != null ? d : "",
|
|
1849
1849
|
external_id: (p = e.external_id) != null ? p : "",
|
|
1850
1850
|
type: (f = e.game_type) != null ? f : "",
|
|
1851
|
-
tags: (
|
|
1851
|
+
tags: (u = e.tags) != null ? u : "",
|
|
1852
1852
|
lobby_tag: (l = e.lobby_tag) != null ? l : null,
|
|
1853
1853
|
background: (c = e.background) != null ? c : "",
|
|
1854
|
-
rtp: (
|
|
1855
|
-
demo_allowed: (
|
|
1856
|
-
gaming_session_required: (
|
|
1854
|
+
rtp: (g = e.rtp) != null ? g : null,
|
|
1855
|
+
demo_allowed: (b = e.demo_allowed) != null ? b : !1,
|
|
1856
|
+
gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
|
|
1857
1857
|
};
|
|
1858
|
-
},
|
|
1858
|
+
}, tn = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], _t = () => {
|
|
1859
1859
|
var a, n, o;
|
|
1860
1860
|
const e = pe("user");
|
|
1861
1861
|
return (o = (n = (a = e == null ? void 0 : e.userId) != null ? a : e == null ? void 0 : e.user) != null ? n : e == null ? void 0 : e.id) != null ? o : null;
|
|
1862
|
-
},
|
|
1863
|
-
const a =
|
|
1862
|
+
}, an = async (e) => {
|
|
1863
|
+
const a = _t(), n = new URLSearchParams({
|
|
1864
1864
|
userId: String(a),
|
|
1865
1865
|
productType: e
|
|
1866
|
-
}), o = `${
|
|
1866
|
+
}), o = `${Qa}?${n.toString()}`, i = await fetch(o);
|
|
1867
1867
|
if (!i.ok)
|
|
1868
1868
|
throw new Error(
|
|
1869
1869
|
`No se pudo obtener recomendaciones. HTTP ${i.status} ${i.statusText}`
|
|
@@ -1873,7 +1873,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1873
1873
|
...r,
|
|
1874
1874
|
recommendations: Array.isArray(r == null ? void 0 : r.recommendations) ? r.recommendations.slice(0, 49) : []
|
|
1875
1875
|
};
|
|
1876
|
-
},
|
|
1876
|
+
}, nn = async (e, a) => {
|
|
1877
1877
|
const n = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", o = JSON.stringify({
|
|
1878
1878
|
userId: String(e),
|
|
1879
1879
|
items: a
|
|
@@ -1890,7 +1890,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1890
1890
|
}, Ve = (e, a = !1, n = "Casino") => {
|
|
1891
1891
|
const [o, i] = K([]), [r, s] = K(!1);
|
|
1892
1892
|
return Q(() => {
|
|
1893
|
-
let
|
|
1893
|
+
let d = !1;
|
|
1894
1894
|
return (async () => {
|
|
1895
1895
|
if (!a) {
|
|
1896
1896
|
i(Array.isArray(e) ? e : []), s(!1);
|
|
@@ -1898,47 +1898,47 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1898
1898
|
}
|
|
1899
1899
|
s(!0);
|
|
1900
1900
|
try {
|
|
1901
|
-
const f = await
|
|
1902
|
-
if (!
|
|
1903
|
-
|
|
1901
|
+
const f = await an(n), u = tn(f);
|
|
1902
|
+
if (!u.length) {
|
|
1903
|
+
d || i([]);
|
|
1904
1904
|
return;
|
|
1905
1905
|
}
|
|
1906
|
-
const l =
|
|
1907
|
-
|
|
1908
|
-
const
|
|
1909
|
-
if (!
|
|
1910
|
-
throw new Error(`No se pudo obtener machine ${
|
|
1911
|
-
const
|
|
1912
|
-
return
|
|
1906
|
+
const l = _t(), c = await nn(l, u), g = c.map((_) => _.itemId), b = await Promise.allSettled(
|
|
1907
|
+
g.map(async (_, v) => {
|
|
1908
|
+
const I = await fetch(`https://api.mktolimpo.com/api/machine/${_}`);
|
|
1909
|
+
if (!I.ok)
|
|
1910
|
+
throw new Error(`No se pudo obtener machine ${_}`);
|
|
1911
|
+
const U = await I.json();
|
|
1912
|
+
return en(U, v);
|
|
1913
1913
|
})
|
|
1914
1914
|
);
|
|
1915
|
-
if (
|
|
1916
|
-
const
|
|
1917
|
-
(
|
|
1918
|
-
).map((
|
|
1919
|
-
const
|
|
1920
|
-
return
|
|
1921
|
-
}).filter(Boolean).sort((
|
|
1922
|
-
var
|
|
1923
|
-
return ((
|
|
1915
|
+
if (d) return;
|
|
1916
|
+
const x = b.filter(
|
|
1917
|
+
(_) => _.status === "fulfilled"
|
|
1918
|
+
).map((_) => _.value), T = c.map((_) => {
|
|
1919
|
+
const v = x.find((I) => I.machine === _.itemId);
|
|
1920
|
+
return v ? { ...v, score: _.score } : null;
|
|
1921
|
+
}).filter(Boolean).sort((_, v) => {
|
|
1922
|
+
var I, U;
|
|
1923
|
+
return ((I = v.score) != null ? I : 0) - ((U = _.score) != null ? U : 0);
|
|
1924
1924
|
});
|
|
1925
|
-
i(
|
|
1925
|
+
i(T);
|
|
1926
1926
|
} catch (f) {
|
|
1927
|
-
console.error(`[usePersonalizeGameItems:${n}] error:`, f),
|
|
1927
|
+
console.error(`[usePersonalizeGameItems:${n}] error:`, f), d || i([]);
|
|
1928
1928
|
} finally {
|
|
1929
|
-
|
|
1929
|
+
d || s(!1);
|
|
1930
1930
|
}
|
|
1931
1931
|
})(), () => {
|
|
1932
|
-
|
|
1932
|
+
d = !0;
|
|
1933
1933
|
};
|
|
1934
1934
|
}, [e, a, n]), {
|
|
1935
1935
|
resolvedItems: o,
|
|
1936
1936
|
loading: r
|
|
1937
1937
|
};
|
|
1938
|
-
},
|
|
1938
|
+
}, on = (e, a = !1) => Ve(e, a, "Casino"), rn = (e, a = !1) => Ve(e, a, "Deportes virtuales"), sn = (e, a = !1) => Ve(e, a, "Casino en vivo"), ln = (e, a) => {
|
|
1939
1939
|
var n, o;
|
|
1940
1940
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
1941
|
-
},
|
|
1941
|
+
}, cn = (e) => {
|
|
1942
1942
|
if (typeof e == "boolean") return e;
|
|
1943
1943
|
if (typeof e == "string")
|
|
1944
1944
|
return e.toLowerCase() === "true";
|
|
@@ -1948,7 +1948,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1948
1948
|
return e.value.toLowerCase() === "true";
|
|
1949
1949
|
}
|
|
1950
1950
|
return !1;
|
|
1951
|
-
},
|
|
1951
|
+
}, dn = ({
|
|
1952
1952
|
items: e,
|
|
1953
1953
|
title: a = "Casino en vivo",
|
|
1954
1954
|
subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
@@ -1956,47 +1956,47 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1956
1956
|
onCardClick: i,
|
|
1957
1957
|
backgroundDesktopUrl: r = "",
|
|
1958
1958
|
onViewMore: s,
|
|
1959
|
-
className:
|
|
1959
|
+
className: d,
|
|
1960
1960
|
isPersonalize: p = !1
|
|
1961
1961
|
}) => {
|
|
1962
|
-
const f = ae(),
|
|
1962
|
+
const f = ae(), u = ne(), l = se(), c = cn(p), { resolvedItems: g } = sn(
|
|
1963
1963
|
e,
|
|
1964
1964
|
c
|
|
1965
|
-
),
|
|
1965
|
+
), b = c ? g : Array.isArray(e) ? e : [], x = (_) => {
|
|
1966
1966
|
f({
|
|
1967
1967
|
element: "live_casino_card",
|
|
1968
|
-
label: `${
|
|
1969
|
-
target: String(
|
|
1968
|
+
label: `${u} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(_.machine || "unknown")}`,
|
|
1969
|
+
target: String(_.machine || "unknown"),
|
|
1970
1970
|
event_type: "click",
|
|
1971
1971
|
module_id: l,
|
|
1972
1972
|
metadata: {
|
|
1973
1973
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1974
1974
|
},
|
|
1975
1975
|
tags: {
|
|
1976
|
-
game_name: String(
|
|
1977
|
-
provider:
|
|
1976
|
+
game_name: String(_.machine || "unknown"),
|
|
1977
|
+
provider: _.provider || "unknown",
|
|
1978
1978
|
section: "OraculoSeccionCasinoEnVivo"
|
|
1979
1979
|
}
|
|
1980
1980
|
});
|
|
1981
|
-
const
|
|
1982
|
-
if (!
|
|
1981
|
+
const v = pe("showIframe"), I = pe("loadMachine");
|
|
1982
|
+
if (!I) {
|
|
1983
1983
|
if (i) {
|
|
1984
|
-
i(
|
|
1984
|
+
i(_);
|
|
1985
1985
|
return;
|
|
1986
1986
|
}
|
|
1987
1987
|
console.warn(
|
|
1988
1988
|
"[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
|
|
1989
|
-
{ machine:
|
|
1989
|
+
{ machine: _ == null ? void 0 : _.machine, provider: _ == null ? void 0 : _.provider }
|
|
1990
1990
|
);
|
|
1991
1991
|
return;
|
|
1992
1992
|
}
|
|
1993
|
-
|
|
1994
|
-
|
|
1993
|
+
v == null || v(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
|
|
1994
|
+
I == null || I(_, !1, "casino_en_vivo");
|
|
1995
1995
|
});
|
|
1996
|
-
},
|
|
1996
|
+
}, T = () => {
|
|
1997
1997
|
f({
|
|
1998
1998
|
element: "casino_en_vivo_view_more",
|
|
1999
|
-
label: `${
|
|
1999
|
+
label: `${u} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Ver más`,
|
|
2000
2000
|
target: "https://www.olimpo.bet/casino-en-vivo",
|
|
2001
2001
|
event_type: "click",
|
|
2002
2002
|
module_id: l,
|
|
@@ -2006,10 +2006,10 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2006
2006
|
tags: { section: "OraculoSeccionCasinoEnVivo" }
|
|
2007
2007
|
}), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
|
|
2008
2008
|
};
|
|
2009
|
-
return /* @__PURE__ */
|
|
2009
|
+
return /* @__PURE__ */ h(
|
|
2010
2010
|
q,
|
|
2011
2011
|
{
|
|
2012
|
-
className:
|
|
2012
|
+
className: d,
|
|
2013
2013
|
sx: {
|
|
2014
2014
|
position: "relative",
|
|
2015
2015
|
color: "white",
|
|
@@ -2044,7 +2044,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2044
2044
|
}
|
|
2045
2045
|
}
|
|
2046
2046
|
),
|
|
2047
|
-
/* @__PURE__ */
|
|
2047
|
+
/* @__PURE__ */ h(
|
|
2048
2048
|
q,
|
|
2049
2049
|
{
|
|
2050
2050
|
sx: {
|
|
@@ -2062,7 +2062,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2062
2062
|
textAlign: { xs: "center", md: "left" }
|
|
2063
2063
|
},
|
|
2064
2064
|
children: [
|
|
2065
|
-
/* @__PURE__ */
|
|
2065
|
+
/* @__PURE__ */ h(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
2066
2066
|
/* @__PURE__ */ t(
|
|
2067
2067
|
de,
|
|
2068
2068
|
{
|
|
@@ -2089,11 +2089,11 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2089
2089
|
}
|
|
2090
2090
|
),
|
|
2091
2091
|
/* @__PURE__ */ t(q, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
|
|
2092
|
-
|
|
2092
|
+
J,
|
|
2093
2093
|
{
|
|
2094
2094
|
variant: "primary",
|
|
2095
2095
|
size: "md",
|
|
2096
|
-
onClick:
|
|
2096
|
+
onClick: T,
|
|
2097
2097
|
children: "Ver más"
|
|
2098
2098
|
}
|
|
2099
2099
|
) })
|
|
@@ -2109,28 +2109,28 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2109
2109
|
py: { xs: 3, md: 0 },
|
|
2110
2110
|
alignItems: "center"
|
|
2111
2111
|
},
|
|
2112
|
-
children: (
|
|
2113
|
-
var
|
|
2112
|
+
children: (b != null ? b : []).slice(0, 3).map((_, v) => {
|
|
2113
|
+
var I;
|
|
2114
2114
|
return /* @__PURE__ */ t(
|
|
2115
|
-
|
|
2115
|
+
xa,
|
|
2116
2116
|
{
|
|
2117
|
-
logo: `https://olimpo.bet${
|
|
2118
|
-
provider:
|
|
2119
|
-
providerName:
|
|
2120
|
-
machine:
|
|
2121
|
-
onClick: () =>
|
|
2117
|
+
logo: `https://olimpo.bet${_.background ? _.background : (I = _.logo) != null ? I : ""}`,
|
|
2118
|
+
provider: _.provider,
|
|
2119
|
+
providerName: _.web_name,
|
|
2120
|
+
machine: _.machine,
|
|
2121
|
+
onClick: () => x(_)
|
|
2122
2122
|
},
|
|
2123
|
-
|
|
2123
|
+
ln(_, v)
|
|
2124
2124
|
);
|
|
2125
2125
|
})
|
|
2126
2126
|
}
|
|
2127
2127
|
),
|
|
2128
2128
|
/* @__PURE__ */ t(q, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
|
|
2129
|
-
|
|
2129
|
+
J,
|
|
2130
2130
|
{
|
|
2131
2131
|
variant: "primary",
|
|
2132
2132
|
size: "lg",
|
|
2133
|
-
onClick:
|
|
2133
|
+
onClick: T,
|
|
2134
2134
|
children: "Ver más"
|
|
2135
2135
|
}
|
|
2136
2136
|
) })
|
|
@@ -2140,7 +2140,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2140
2140
|
]
|
|
2141
2141
|
}
|
|
2142
2142
|
);
|
|
2143
|
-
},
|
|
2143
|
+
}, un = (e) => {
|
|
2144
2144
|
if (typeof e == "boolean") return e;
|
|
2145
2145
|
if (typeof e == "string")
|
|
2146
2146
|
return e.toLowerCase() === "true";
|
|
@@ -2150,14 +2150,14 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2150
2150
|
return e.value.toLowerCase() === "true";
|
|
2151
2151
|
}
|
|
2152
2152
|
return !1;
|
|
2153
|
-
},
|
|
2153
|
+
}, yt = (e, a) => {
|
|
2154
2154
|
var n, o;
|
|
2155
2155
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2156
|
-
},
|
|
2157
|
-
const o = e.map((s,
|
|
2156
|
+
}, mn = (e, a = !0, n = 1) => {
|
|
2157
|
+
const o = e.map((s, d) => {
|
|
2158
2158
|
var p;
|
|
2159
2159
|
return {
|
|
2160
|
-
id:
|
|
2160
|
+
id: yt(s, d),
|
|
2161
2161
|
imageUrl: (p = s.logo) != null ? p : "",
|
|
2162
2162
|
...s.background ? { background: s.background } : {}
|
|
2163
2163
|
};
|
|
@@ -2182,7 +2182,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2182
2182
|
}), r = s;
|
|
2183
2183
|
}
|
|
2184
2184
|
return i;
|
|
2185
|
-
},
|
|
2185
|
+
}, pn = ({
|
|
2186
2186
|
items: e,
|
|
2187
2187
|
title: a = "Casino",
|
|
2188
2188
|
iconUrl: n = "/assets/img/home/Casino/diamante.svg",
|
|
@@ -2190,44 +2190,44 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2190
2190
|
onViewMore: i,
|
|
2191
2191
|
mosaicFirst: r = !0,
|
|
2192
2192
|
gridSize: s = 1,
|
|
2193
|
-
isPersonalize:
|
|
2193
|
+
isPersonalize: d = !1
|
|
2194
2194
|
}) => {
|
|
2195
|
-
const p = ae(), f = ne(),
|
|
2195
|
+
const p = ae(), f = ne(), u = se(), l = V(null), [c, g] = K({ isStart: !0, isEnd: !1 }), b = un(d), { resolvedItems: x, loading: T } = on(
|
|
2196
2196
|
e,
|
|
2197
|
-
|
|
2198
|
-
),
|
|
2199
|
-
var
|
|
2197
|
+
b
|
|
2198
|
+
), _ = b ? x : Array.isArray(e) ? e : [], v = () => {
|
|
2199
|
+
var $;
|
|
2200
2200
|
p({
|
|
2201
2201
|
element: "casino_prev",
|
|
2202
|
-
label: `${f} - OraculoSeccionCasino ${
|
|
2202
|
+
label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Anterior`,
|
|
2203
2203
|
target: "prev",
|
|
2204
2204
|
event_type: "click",
|
|
2205
|
-
module_id:
|
|
2205
|
+
module_id: u,
|
|
2206
2206
|
metadata: {
|
|
2207
2207
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2208
2208
|
},
|
|
2209
2209
|
tags: { section: "OraculoSeccionCasino" }
|
|
2210
|
-
}), (
|
|
2211
|
-
},
|
|
2212
|
-
var
|
|
2210
|
+
}), ($ = l.current) == null || $.prev();
|
|
2211
|
+
}, I = () => {
|
|
2212
|
+
var $;
|
|
2213
2213
|
p({
|
|
2214
2214
|
element: "casino_next",
|
|
2215
|
-
label: `${f} - OraculoSeccionCasino ${
|
|
2215
|
+
label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Siguiente`,
|
|
2216
2216
|
target: "next",
|
|
2217
2217
|
event_type: "click",
|
|
2218
|
-
module_id:
|
|
2218
|
+
module_id: u,
|
|
2219
2219
|
metadata: {
|
|
2220
2220
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2221
2221
|
},
|
|
2222
2222
|
tags: { section: "OraculoSeccionCasino" }
|
|
2223
|
-
}), (
|
|
2224
|
-
},
|
|
2223
|
+
}), ($ = l.current) == null || $.next();
|
|
2224
|
+
}, U = () => {
|
|
2225
2225
|
if (p({
|
|
2226
2226
|
element: "casino_view_more",
|
|
2227
|
-
label: `${f} - OraculoSeccionCasino ${
|
|
2227
|
+
label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Ver más`,
|
|
2228
2228
|
target: "https://www.olimpo.bet/casino",
|
|
2229
2229
|
event_type: "click",
|
|
2230
|
-
module_id:
|
|
2230
|
+
module_id: u,
|
|
2231
2231
|
metadata: {
|
|
2232
2232
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2233
2233
|
},
|
|
@@ -2237,15 +2237,15 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2237
2237
|
return;
|
|
2238
2238
|
}
|
|
2239
2239
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
|
|
2240
|
-
},
|
|
2241
|
-
const
|
|
2242
|
-
id: `sk-${A}-${
|
|
2240
|
+
}, O = ($ = !0, w = 4) => {
|
|
2241
|
+
const E = (A) => Array.from({ length: A }, (R, y) => ({
|
|
2242
|
+
id: `sk-${A}-${y}`,
|
|
2243
2243
|
imageUrl: ""
|
|
2244
2244
|
})), L = [];
|
|
2245
|
-
return
|
|
2246
|
-
},
|
|
2247
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2248
|
-
/* @__PURE__ */
|
|
2245
|
+
return $ && L.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), L.push({ id: "grid-loading", kind: "grid", items: E(w) }), L;
|
|
2246
|
+
}, k = b ? T : !Array.isArray(e) || e.length === 0, S = Ue("(max-width:950px)"), B = k ? O(r, s) : mn(_, r, s);
|
|
2247
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ h(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2248
|
+
/* @__PURE__ */ h(
|
|
2249
2249
|
q,
|
|
2250
2250
|
{
|
|
2251
2251
|
sx: {
|
|
@@ -2261,31 +2261,31 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2261
2261
|
},
|
|
2262
2262
|
children: [
|
|
2263
2263
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
2264
|
-
/* @__PURE__ */
|
|
2264
|
+
/* @__PURE__ */ h(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2265
2265
|
/* @__PURE__ */ t(
|
|
2266
|
-
|
|
2266
|
+
J,
|
|
2267
2267
|
{
|
|
2268
2268
|
ariaLabel: "Anterior",
|
|
2269
2269
|
variant: "secondary",
|
|
2270
2270
|
iconOnly: !0,
|
|
2271
|
-
leftIcon: /* @__PURE__ */ t(
|
|
2272
|
-
onClick:
|
|
2271
|
+
leftIcon: /* @__PURE__ */ t(st, {}),
|
|
2272
|
+
onClick: v,
|
|
2273
2273
|
disabled: c.isStart
|
|
2274
2274
|
}
|
|
2275
2275
|
),
|
|
2276
2276
|
/* @__PURE__ */ t(
|
|
2277
|
-
|
|
2277
|
+
J,
|
|
2278
2278
|
{
|
|
2279
2279
|
ariaLabel: "Siguiente",
|
|
2280
2280
|
variant: "secondary",
|
|
2281
2281
|
iconOnly: !0,
|
|
2282
|
-
rightIcon: /* @__PURE__ */ t(
|
|
2283
|
-
onClick:
|
|
2282
|
+
rightIcon: /* @__PURE__ */ t(lt, {}),
|
|
2283
|
+
onClick: I,
|
|
2284
2284
|
disabled: c.isEnd
|
|
2285
2285
|
}
|
|
2286
2286
|
)
|
|
2287
2287
|
] }),
|
|
2288
|
-
/* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(
|
|
2288
|
+
/* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: U, children: "Ver más" }) })
|
|
2289
2289
|
]
|
|
2290
2290
|
}
|
|
2291
2291
|
),
|
|
@@ -2298,7 +2298,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2298
2298
|
gap: "16px",
|
|
2299
2299
|
enableHorizontalWheel: !0,
|
|
2300
2300
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2301
|
-
showRightGradient: !
|
|
2301
|
+
showRightGradient: !S,
|
|
2302
2302
|
breakpoints: {
|
|
2303
2303
|
400: {
|
|
2304
2304
|
gap: "4px",
|
|
@@ -2316,42 +2316,42 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2316
2316
|
padding: { left: "24px", right: "24px" }
|
|
2317
2317
|
}
|
|
2318
2318
|
},
|
|
2319
|
-
renderItem: (
|
|
2320
|
-
|
|
2319
|
+
renderItem: ($) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
|
|
2320
|
+
pt,
|
|
2321
2321
|
{
|
|
2322
|
-
items:
|
|
2323
|
-
layout:
|
|
2324
|
-
loading:
|
|
2325
|
-
onClick: (
|
|
2326
|
-
if (
|
|
2327
|
-
const
|
|
2328
|
-
(R,
|
|
2322
|
+
items: $.items,
|
|
2323
|
+
layout: $.kind === "mosaic" ? "mosaic" : "grid",
|
|
2324
|
+
loading: k,
|
|
2325
|
+
onClick: (w) => {
|
|
2326
|
+
if (k) return;
|
|
2327
|
+
const E = _.find(
|
|
2328
|
+
(R, y) => String(yt(R, y)) === String(w.id)
|
|
2329
2329
|
);
|
|
2330
|
-
if (!
|
|
2331
|
-
o == null || o(
|
|
2330
|
+
if (!E) return;
|
|
2331
|
+
o == null || o(E), p({
|
|
2332
2332
|
element: "casino_game_card",
|
|
2333
|
-
label: `${f} - OraculoSeccionCasino ${
|
|
2334
|
-
target: String(
|
|
2333
|
+
label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
|
|
2334
|
+
target: String(E.machine || "unknown"),
|
|
2335
2335
|
event_type: "click",
|
|
2336
|
-
module_id:
|
|
2336
|
+
module_id: u,
|
|
2337
2337
|
metadata: {
|
|
2338
2338
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2339
2339
|
},
|
|
2340
2340
|
tags: {
|
|
2341
|
-
game_name: String(
|
|
2341
|
+
game_name: String(E.machine || "unknown"),
|
|
2342
2342
|
section: a || "Casino"
|
|
2343
2343
|
}
|
|
2344
2344
|
});
|
|
2345
2345
|
const L = pe("showIframe"), A = pe("loadMachine");
|
|
2346
|
-
L == null || L(), A == null || A(
|
|
2346
|
+
L == null || L(), A == null || A(E, !1, "CASINO");
|
|
2347
2347
|
}
|
|
2348
2348
|
}
|
|
2349
2349
|
) }),
|
|
2350
|
-
onMove: ({ isStart:
|
|
2350
|
+
onMove: ({ isStart: $, isEnd: w }) => g({ isStart: $, isEnd: w })
|
|
2351
2351
|
}
|
|
2352
2352
|
)
|
|
2353
2353
|
] }) });
|
|
2354
|
-
},
|
|
2354
|
+
}, fn = (e) => {
|
|
2355
2355
|
if (typeof e == "boolean") return e;
|
|
2356
2356
|
if (typeof e == "string")
|
|
2357
2357
|
return e.toLowerCase() === "true";
|
|
@@ -2361,14 +2361,14 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2361
2361
|
return e.value.toLowerCase() === "true";
|
|
2362
2362
|
}
|
|
2363
2363
|
return !1;
|
|
2364
|
-
},
|
|
2364
|
+
}, xt = (e, a) => {
|
|
2365
2365
|
var n, o;
|
|
2366
2366
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2367
|
-
},
|
|
2368
|
-
const o = e.map((s,
|
|
2367
|
+
}, gn = (e, a = !0, n = 1) => {
|
|
2368
|
+
const o = e.map((s, d) => {
|
|
2369
2369
|
var p;
|
|
2370
2370
|
return {
|
|
2371
|
-
id:
|
|
2371
|
+
id: xt(s, d),
|
|
2372
2372
|
imageUrl: (p = s.logo) != null ? p : "",
|
|
2373
2373
|
...s.background ? { background: s.background } : {}
|
|
2374
2374
|
};
|
|
@@ -2393,7 +2393,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2393
2393
|
}), r = s;
|
|
2394
2394
|
}
|
|
2395
2395
|
return i;
|
|
2396
|
-
},
|
|
2396
|
+
}, hn = (e = !0, a = 4) => {
|
|
2397
2397
|
const n = (i) => Array.from({ length: i }, (r, s) => ({
|
|
2398
2398
|
id: `sk-${i}-${s}`,
|
|
2399
2399
|
imageUrl: ""
|
|
@@ -2407,7 +2407,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2407
2407
|
kind: "grid",
|
|
2408
2408
|
items: n(a)
|
|
2409
2409
|
}), o;
|
|
2410
|
-
},
|
|
2410
|
+
}, bn = ({
|
|
2411
2411
|
items: e,
|
|
2412
2412
|
title: a = "Virtuales",
|
|
2413
2413
|
iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
|
|
@@ -2415,44 +2415,44 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2415
2415
|
onViewMore: i,
|
|
2416
2416
|
mosaicFirst: r = !0,
|
|
2417
2417
|
gridSize: s = 1,
|
|
2418
|
-
isPersonalize:
|
|
2418
|
+
isPersonalize: d = !1
|
|
2419
2419
|
}) => {
|
|
2420
|
-
const p = V(null), [f,
|
|
2420
|
+
const p = V(null), [f, u] = K({ isStart: !0, isEnd: !1 }), l = ae(), c = ne(), g = se(), b = fn(d), { resolvedItems: x, loading: T } = rn(
|
|
2421
2421
|
e,
|
|
2422
|
-
|
|
2423
|
-
),
|
|
2422
|
+
b
|
|
2423
|
+
), _ = b ? x : Array.isArray(e) ? e : [], v = () => {
|
|
2424
2424
|
var B;
|
|
2425
2425
|
l({
|
|
2426
2426
|
element: "virtuales_prev",
|
|
2427
|
-
label: `${c} - OraculoSeccionVirtuales${
|
|
2427
|
+
label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Anterior`,
|
|
2428
2428
|
target: "prev",
|
|
2429
2429
|
event_type: "click",
|
|
2430
|
-
module_id:
|
|
2430
|
+
module_id: g,
|
|
2431
2431
|
metadata: {
|
|
2432
2432
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2433
2433
|
},
|
|
2434
2434
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2435
2435
|
}), (B = p.current) == null || B.prev();
|
|
2436
|
-
},
|
|
2436
|
+
}, I = () => {
|
|
2437
2437
|
var B;
|
|
2438
2438
|
l({
|
|
2439
2439
|
element: "virtuales_next",
|
|
2440
|
-
label: `${c} - OraculoSeccionVirtuales${
|
|
2440
|
+
label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Siguiente`,
|
|
2441
2441
|
target: "next",
|
|
2442
2442
|
event_type: "click",
|
|
2443
|
-
module_id:
|
|
2443
|
+
module_id: g,
|
|
2444
2444
|
metadata: {
|
|
2445
2445
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2446
2446
|
},
|
|
2447
2447
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2448
2448
|
}), (B = p.current) == null || B.next();
|
|
2449
|
-
},
|
|
2449
|
+
}, U = () => {
|
|
2450
2450
|
if (l({
|
|
2451
2451
|
element: "virtuales_view_more",
|
|
2452
|
-
label: `${c} - OraculoSeccionVirtuales${
|
|
2452
|
+
label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Ver más`,
|
|
2453
2453
|
target: "https://www.olimpo.bet/juegos-virtuales",
|
|
2454
2454
|
event_type: "click",
|
|
2455
|
-
module_id:
|
|
2455
|
+
module_id: g,
|
|
2456
2456
|
metadata: {
|
|
2457
2457
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2458
2458
|
},
|
|
@@ -2462,9 +2462,9 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2462
2462
|
return;
|
|
2463
2463
|
}
|
|
2464
2464
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2465
|
-
},
|
|
2466
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2467
|
-
/* @__PURE__ */
|
|
2465
|
+
}, O = b ? T : !Array.isArray(e) || e.length === 0, k = xe("(max-width:950px)"), S = O ? hn(r, s) : gn(_, r, s);
|
|
2466
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ h(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2467
|
+
/* @__PURE__ */ h(
|
|
2468
2468
|
q,
|
|
2469
2469
|
{
|
|
2470
2470
|
sx: {
|
|
@@ -2480,31 +2480,31 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2480
2480
|
},
|
|
2481
2481
|
children: [
|
|
2482
2482
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
2483
|
-
/* @__PURE__ */
|
|
2483
|
+
/* @__PURE__ */ h(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2484
2484
|
/* @__PURE__ */ t(
|
|
2485
|
-
|
|
2485
|
+
J,
|
|
2486
2486
|
{
|
|
2487
2487
|
ariaLabel: "Anterior",
|
|
2488
2488
|
variant: "secondary",
|
|
2489
2489
|
iconOnly: !0,
|
|
2490
|
-
leftIcon: /* @__PURE__ */ t(
|
|
2491
|
-
onClick:
|
|
2490
|
+
leftIcon: /* @__PURE__ */ t(st, {}),
|
|
2491
|
+
onClick: v,
|
|
2492
2492
|
disabled: f.isStart
|
|
2493
2493
|
}
|
|
2494
2494
|
),
|
|
2495
2495
|
/* @__PURE__ */ t(
|
|
2496
|
-
|
|
2496
|
+
J,
|
|
2497
2497
|
{
|
|
2498
2498
|
ariaLabel: "Siguiente",
|
|
2499
2499
|
variant: "secondary",
|
|
2500
2500
|
iconOnly: !0,
|
|
2501
|
-
rightIcon: /* @__PURE__ */ t(
|
|
2502
|
-
onClick:
|
|
2501
|
+
rightIcon: /* @__PURE__ */ t(lt, {}),
|
|
2502
|
+
onClick: I,
|
|
2503
2503
|
disabled: f.isEnd
|
|
2504
2504
|
}
|
|
2505
2505
|
)
|
|
2506
2506
|
] }),
|
|
2507
|
-
/* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(
|
|
2507
|
+
/* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: U, children: "Ver más" }) })
|
|
2508
2508
|
]
|
|
2509
2509
|
}
|
|
2510
2510
|
),
|
|
@@ -2512,7 +2512,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2512
2512
|
he,
|
|
2513
2513
|
{
|
|
2514
2514
|
ref: p,
|
|
2515
|
-
items:
|
|
2515
|
+
items: S,
|
|
2516
2516
|
perPage: void 0,
|
|
2517
2517
|
gap: "16px",
|
|
2518
2518
|
breakpoints: {
|
|
@@ -2533,54 +2533,54 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2533
2533
|
}
|
|
2534
2534
|
},
|
|
2535
2535
|
enableHorizontalWheel: !0,
|
|
2536
|
-
showRightGradient: !
|
|
2536
|
+
showRightGradient: !k,
|
|
2537
2537
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2538
2538
|
renderItem: (B) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
|
|
2539
|
-
|
|
2539
|
+
pt,
|
|
2540
2540
|
{
|
|
2541
2541
|
items: B.items,
|
|
2542
2542
|
layout: B.kind === "mosaic" ? "mosaic" : "grid",
|
|
2543
|
-
loading:
|
|
2544
|
-
onClick: (
|
|
2545
|
-
if (
|
|
2546
|
-
const
|
|
2547
|
-
(A, R) => String(
|
|
2543
|
+
loading: O,
|
|
2544
|
+
onClick: ($) => {
|
|
2545
|
+
if (O) return;
|
|
2546
|
+
const w = _.find(
|
|
2547
|
+
(A, R) => String(xt(A, R)) === String($.id)
|
|
2548
2548
|
);
|
|
2549
|
-
if (!
|
|
2549
|
+
if (!w) {
|
|
2550
2550
|
console.warn(
|
|
2551
2551
|
"[virtuales] no se encontró game para id:",
|
|
2552
|
-
|
|
2552
|
+
$.id
|
|
2553
2553
|
);
|
|
2554
2554
|
return;
|
|
2555
2555
|
}
|
|
2556
|
-
o == null || o(
|
|
2556
|
+
o == null || o(w), l({
|
|
2557
2557
|
element: "virtuales_game_card",
|
|
2558
|
-
label: `${c} - OraculoSeccionVirtuales${
|
|
2559
|
-
target: String(
|
|
2558
|
+
label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Game: ${String(w.machine || "unknown")}`,
|
|
2559
|
+
target: String(w.machine || "unknown"),
|
|
2560
2560
|
event_type: "click",
|
|
2561
|
-
module_id:
|
|
2561
|
+
module_id: g,
|
|
2562
2562
|
metadata: {
|
|
2563
2563
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2564
2564
|
},
|
|
2565
2565
|
tags: {
|
|
2566
|
-
game_name: String(
|
|
2566
|
+
game_name: String(w.machine || "unknown"),
|
|
2567
2567
|
section: a || "Virtuales"
|
|
2568
2568
|
}
|
|
2569
2569
|
});
|
|
2570
|
-
const
|
|
2571
|
-
|
|
2572
|
-
|
|
2570
|
+
const E = pe("showIframe"), L = pe("loadMachine");
|
|
2571
|
+
E == null || E(), L == null || L(
|
|
2572
|
+
w,
|
|
2573
2573
|
!1,
|
|
2574
|
-
|
|
2574
|
+
b ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
|
|
2575
2575
|
);
|
|
2576
2576
|
}
|
|
2577
2577
|
}
|
|
2578
2578
|
) }),
|
|
2579
|
-
onMove: ({ isStart: B, isEnd:
|
|
2579
|
+
onMove: ({ isStart: B, isEnd: $ }) => u({ isStart: B, isEnd: $ })
|
|
2580
2580
|
}
|
|
2581
2581
|
)
|
|
2582
2582
|
] }) });
|
|
2583
|
-
},
|
|
2583
|
+
}, vn = (e) => ({
|
|
2584
2584
|
position: "relative",
|
|
2585
2585
|
py: 8,
|
|
2586
2586
|
color: "#fff",
|
|
@@ -2594,15 +2594,15 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2594
2594
|
backgroundRepeat: "no-repeat",
|
|
2595
2595
|
backgroundPosition: "center",
|
|
2596
2596
|
backgroundSize: "cover"
|
|
2597
|
-
}),
|
|
2597
|
+
}), Qe = {
|
|
2598
2598
|
textAlign: "center",
|
|
2599
2599
|
lineHeight: 1.1,
|
|
2600
2600
|
mb: 1.5
|
|
2601
|
-
},
|
|
2601
|
+
}, et = {
|
|
2602
2602
|
display: "inline-block",
|
|
2603
2603
|
fontWeight: 600,
|
|
2604
2604
|
fontSize: 24
|
|
2605
|
-
},
|
|
2605
|
+
}, tt = {
|
|
2606
2606
|
display: "inline-block",
|
|
2607
2607
|
fontSize: 24,
|
|
2608
2608
|
lineHeight: 1.1,
|
|
@@ -2612,92 +2612,92 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2612
2612
|
0 0 6px rgba(255, 255, 255, .6),
|
|
2613
2613
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
2614
2614
|
`
|
|
2615
|
-
},
|
|
2615
|
+
}, _n = ({
|
|
2616
2616
|
headline: e,
|
|
2617
2617
|
headline2: a,
|
|
2618
2618
|
items: n,
|
|
2619
2619
|
backgroundImageUrl: o
|
|
2620
2620
|
}) => {
|
|
2621
|
-
const i = ae(), r = ne(), s = xe("(max-width: 767px)"),
|
|
2621
|
+
const i = ae(), r = ne(), s = xe("(max-width: 767px)"), d = n.length > 1, p = V(null), f = V(null), u = V(!1), l = V(!1), [c, g] = K(0), [b, x] = K({ isStart: !0, isEnd: !1 });
|
|
2622
2622
|
Q(() => {
|
|
2623
|
-
const
|
|
2624
|
-
|
|
2623
|
+
const w = setTimeout(() => {
|
|
2624
|
+
u.current = !0;
|
|
2625
2625
|
}, 500);
|
|
2626
|
-
return () => clearTimeout(
|
|
2626
|
+
return () => clearTimeout(w);
|
|
2627
2627
|
}, []);
|
|
2628
|
-
const
|
|
2628
|
+
const T = V(b);
|
|
2629
2629
|
Q(() => {
|
|
2630
|
-
|
|
2631
|
-
}, [
|
|
2632
|
-
const
|
|
2630
|
+
T.current = b;
|
|
2631
|
+
}, [b]);
|
|
2632
|
+
const _ = V(!1), v = V(null), I = n == null ? void 0 : n[c], U = re(
|
|
2633
2633
|
() => {
|
|
2634
|
-
var
|
|
2635
|
-
return (
|
|
2634
|
+
var w, E;
|
|
2635
|
+
return (E = (w = I == null ? void 0 : I.backgroundImageUrl) != null ? w : o) != null ? E : "";
|
|
2636
2636
|
},
|
|
2637
|
-
[
|
|
2638
|
-
),
|
|
2637
|
+
[I, o]
|
|
2638
|
+
), O = vn(U), k = !n || n.length === 0, S = (w, E) => {
|
|
2639
2639
|
i({
|
|
2640
2640
|
element: "welcome_banner_button",
|
|
2641
|
-
label: `OraculoSeccionBonoBienvenida - Banner button click: ${
|
|
2641
|
+
label: `OraculoSeccionBonoBienvenida - Banner button click: ${w.title || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
|
|
2642
2642
|
target: "action",
|
|
2643
2643
|
event_type: "click",
|
|
2644
2644
|
module_id: 301,
|
|
2645
2645
|
metadata: {
|
|
2646
2646
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2647
|
-
banner_position:
|
|
2647
|
+
banner_position: E + 1,
|
|
2648
2648
|
banner_total: (n == null ? void 0 : n.length) || 0
|
|
2649
2649
|
},
|
|
2650
2650
|
tags: {
|
|
2651
|
-
banner_title:
|
|
2652
|
-
button_text:
|
|
2651
|
+
banner_title: w.title || "no_title",
|
|
2652
|
+
button_text: w.buttonText || "no_text"
|
|
2653
2653
|
}
|
|
2654
|
-
}),
|
|
2655
|
-
}, B = (
|
|
2656
|
-
if (!
|
|
2654
|
+
}), w.onButtonClick && w.onButtonClick();
|
|
2655
|
+
}, B = (w) => {
|
|
2656
|
+
if (!u.current) return;
|
|
2657
2657
|
if (l.current) {
|
|
2658
2658
|
l.current = !1;
|
|
2659
2659
|
return;
|
|
2660
2660
|
}
|
|
2661
|
-
const
|
|
2661
|
+
const E = n == null ? void 0 : n[w];
|
|
2662
2662
|
i({
|
|
2663
2663
|
element: "welcome_banner_carousel",
|
|
2664
|
-
label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(
|
|
2664
|
+
label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(E == null ? void 0 : E.title) || "OraculoSeccionBonoBienvenida - Banner " + (w + 1)}`,
|
|
2665
2665
|
target: "no_url",
|
|
2666
2666
|
event_type: "view",
|
|
2667
2667
|
module_id: 301,
|
|
2668
2668
|
metadata: {
|
|
2669
2669
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2670
|
-
slide_index:
|
|
2670
|
+
slide_index: w + 1,
|
|
2671
2671
|
total_slides: (n == null ? void 0 : n.length) || 0,
|
|
2672
2672
|
interaction_type: "manual_slide"
|
|
2673
2673
|
},
|
|
2674
2674
|
tags: {
|
|
2675
|
-
banner_position: String(
|
|
2676
|
-
banner_title: (
|
|
2675
|
+
banner_position: String(w + 1),
|
|
2676
|
+
banner_title: (E == null ? void 0 : E.title) || "no_title"
|
|
2677
2677
|
}
|
|
2678
2678
|
});
|
|
2679
2679
|
};
|
|
2680
2680
|
Q(() => {
|
|
2681
|
-
const
|
|
2682
|
-
if (!
|
|
2683
|
-
const
|
|
2681
|
+
const w = f.current;
|
|
2682
|
+
if (!w) return;
|
|
2683
|
+
const E = 6, L = 380, A = (R) => {
|
|
2684
2684
|
var W, G;
|
|
2685
|
-
if (
|
|
2686
|
-
const
|
|
2687
|
-
if (Math.abs(
|
|
2688
|
-
const
|
|
2689
|
-
|
|
2690
|
-
|
|
2685
|
+
if (k || R.ctrlKey || _.current) return;
|
|
2686
|
+
const y = R.deltaX, P = R.deltaY;
|
|
2687
|
+
if (Math.abs(y) <= Math.abs(P) || Math.abs(y) < E) return;
|
|
2688
|
+
const D = y > 0;
|
|
2689
|
+
D && T.current.isEnd || !D && T.current.isStart || (R.preventDefault(), _.current = !0, D ? (W = p.current) == null || W.next() : (G = p.current) == null || G.prev(), v.current && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
|
|
2690
|
+
_.current = !1;
|
|
2691
2691
|
}, L));
|
|
2692
2692
|
};
|
|
2693
|
-
return
|
|
2694
|
-
|
|
2693
|
+
return w.addEventListener("wheel", A, { passive: !1 }), () => {
|
|
2694
|
+
w.removeEventListener("wheel", A), v.current && window.clearTimeout(v.current);
|
|
2695
2695
|
};
|
|
2696
|
-
}, [
|
|
2697
|
-
const
|
|
2698
|
-
var
|
|
2699
|
-
const A = (
|
|
2700
|
-
return
|
|
2696
|
+
}, [k]);
|
|
2697
|
+
const $ = (w, E, L) => {
|
|
2698
|
+
var y, P;
|
|
2699
|
+
const A = (y = w.headline) != null ? y : e, R = (P = w.headline2) != null ? P : a;
|
|
2700
|
+
return E ? /* @__PURE__ */ h(
|
|
2701
2701
|
q,
|
|
2702
2702
|
{
|
|
2703
2703
|
sx: {
|
|
@@ -2719,44 +2719,44 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2719
2719
|
justifyContent: "flex-start",
|
|
2720
2720
|
minHeight: "100%"
|
|
2721
2721
|
},
|
|
2722
|
-
children: /* @__PURE__ */
|
|
2723
|
-
A && /* @__PURE__ */ t(de, { component: "span", sx:
|
|
2724
|
-
R && /* @__PURE__ */
|
|
2722
|
+
children: /* @__PURE__ */ h(q, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
|
|
2723
|
+
A && /* @__PURE__ */ t(de, { component: "span", sx: et, children: A }),
|
|
2724
|
+
R && /* @__PURE__ */ h(me, { children: [
|
|
2725
2725
|
/* @__PURE__ */ t("br", {}),
|
|
2726
|
-
/* @__PURE__ */ t(de, { component: "span", sx:
|
|
2726
|
+
/* @__PURE__ */ t(de, { component: "span", sx: tt, children: R })
|
|
2727
2727
|
] })
|
|
2728
2728
|
] })
|
|
2729
2729
|
}
|
|
2730
2730
|
),
|
|
2731
2731
|
/* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(q, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
|
|
2732
|
-
|
|
2732
|
+
Je,
|
|
2733
2733
|
{
|
|
2734
|
-
...
|
|
2735
|
-
onButtonClick: () => w
|
|
2734
|
+
...w,
|
|
2735
|
+
onButtonClick: () => S(w, L),
|
|
2736
2736
|
variant: "large"
|
|
2737
2737
|
}
|
|
2738
2738
|
) }) })
|
|
2739
2739
|
]
|
|
2740
2740
|
}
|
|
2741
|
-
) : /* @__PURE__ */
|
|
2742
|
-
(A || R) && /* @__PURE__ */
|
|
2743
|
-
A && /* @__PURE__ */ t(de, { component: "span", sx:
|
|
2744
|
-
R && /* @__PURE__ */
|
|
2741
|
+
) : /* @__PURE__ */ h(q, { sx: { textAlign: "center" }, children: [
|
|
2742
|
+
(A || R) && /* @__PURE__ */ h(q, { sx: Qe, children: [
|
|
2743
|
+
A && /* @__PURE__ */ t(de, { component: "span", sx: et, children: A }),
|
|
2744
|
+
R && /* @__PURE__ */ h(me, { children: [
|
|
2745
2745
|
/* @__PURE__ */ t("br", {}),
|
|
2746
|
-
/* @__PURE__ */ t(de, { component: "span", sx:
|
|
2746
|
+
/* @__PURE__ */ t(de, { component: "span", sx: tt, children: R })
|
|
2747
2747
|
] })
|
|
2748
2748
|
] }),
|
|
2749
2749
|
/* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
2750
|
-
|
|
2750
|
+
Je,
|
|
2751
2751
|
{
|
|
2752
|
-
...
|
|
2753
|
-
onButtonClick: () => w
|
|
2752
|
+
...w,
|
|
2753
|
+
onButtonClick: () => S(w, L),
|
|
2754
2754
|
variant: "small"
|
|
2755
2755
|
}
|
|
2756
2756
|
) })
|
|
2757
2757
|
] });
|
|
2758
2758
|
};
|
|
2759
|
-
return /* @__PURE__ */
|
|
2759
|
+
return /* @__PURE__ */ h(q, { component: "section", sx: O, children: [
|
|
2760
2760
|
/* @__PURE__ */ t("div", { ref: f, style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
2761
2761
|
he,
|
|
2762
2762
|
{
|
|
@@ -2774,71 +2774,105 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2774
2774
|
// arrows: false,
|
|
2775
2775
|
// drag: true,
|
|
2776
2776
|
},
|
|
2777
|
-
renderItem: (
|
|
2778
|
-
onMove: ({ index:
|
|
2779
|
-
|
|
2777
|
+
renderItem: (w, E) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: $(w, !s, E) }),
|
|
2778
|
+
onMove: ({ index: w, isStart: E, isEnd: L }) => {
|
|
2779
|
+
g(w), typeof E == "boolean" && typeof L == "boolean" && x({ isStart: E, isEnd: L }), B(w);
|
|
2780
2780
|
}
|
|
2781
2781
|
}
|
|
2782
2782
|
) }),
|
|
2783
|
-
|
|
2784
|
-
|
|
2783
|
+
d && /* @__PURE__ */ t(q, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
2784
|
+
ct,
|
|
2785
2785
|
{
|
|
2786
2786
|
total: n.length,
|
|
2787
2787
|
active: c,
|
|
2788
|
-
onSelect: (
|
|
2789
|
-
var
|
|
2788
|
+
onSelect: (w) => {
|
|
2789
|
+
var E;
|
|
2790
2790
|
i({
|
|
2791
2791
|
element: "welcome_banner_dots",
|
|
2792
|
-
label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${
|
|
2792
|
+
label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${w + 1}`,
|
|
2793
2793
|
target: "no_url",
|
|
2794
2794
|
event_type: "click",
|
|
2795
2795
|
module_id: 301,
|
|
2796
2796
|
metadata: {
|
|
2797
2797
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2798
|
-
dot_index:
|
|
2798
|
+
dot_index: w + 1,
|
|
2799
2799
|
total_dots: n.length
|
|
2800
2800
|
},
|
|
2801
2801
|
tags: {
|
|
2802
2802
|
navigation_type: "dot_click"
|
|
2803
2803
|
}
|
|
2804
|
-
}),
|
|
2804
|
+
}), g(w), (E = p.current) == null || E.go(w);
|
|
2805
2805
|
}
|
|
2806
2806
|
}
|
|
2807
2807
|
) })
|
|
2808
2808
|
] });
|
|
2809
|
-
},
|
|
2809
|
+
}, yn = ({
|
|
2810
2810
|
className: e = "",
|
|
2811
2811
|
fullBleed: a = !0,
|
|
2812
2812
|
items: n,
|
|
2813
2813
|
selectedIndex: o = 0,
|
|
2814
|
-
ariaLabel: i
|
|
2814
|
+
ariaLabel: i,
|
|
2815
|
+
user: r = null
|
|
2815
2816
|
}) => {
|
|
2816
|
-
const
|
|
2817
|
+
const s = V(null), d = V(null), p = ae(), f = ne(), u = se();
|
|
2817
2818
|
if (!n) return null;
|
|
2818
|
-
const
|
|
2819
|
-
|
|
2819
|
+
const l = async () => {
|
|
2820
|
+
let x = r;
|
|
2821
|
+
if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
|
|
2822
|
+
try {
|
|
2823
|
+
const T = localStorage.getItem("user");
|
|
2824
|
+
T && (x = JSON.parse(T));
|
|
2825
|
+
} catch (T) {
|
|
2826
|
+
console.error("[getMarketPlaceUrl] Error parsing localStorage user", T);
|
|
2827
|
+
}
|
|
2828
|
+
if (!(x != null && x.user) || !(x != null && x.session))
|
|
2829
|
+
return console.warn("User data missing"), null;
|
|
2830
|
+
p({
|
|
2820
2831
|
element: "club_olimpo_button",
|
|
2821
|
-
label: `${
|
|
2822
|
-
target: "https://www.
|
|
2832
|
+
label: `${f} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
|
|
2833
|
+
target: "https://www.clubolimpo.com/OlimpoBetWeb/",
|
|
2823
2834
|
event_type: "click",
|
|
2824
|
-
module_id:
|
|
2835
|
+
module_id: u,
|
|
2825
2836
|
metadata: {
|
|
2826
2837
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2827
2838
|
},
|
|
2828
2839
|
tags: { section: "OraculoSeccionClubOlimpo" }
|
|
2829
|
-
})
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2840
|
+
});
|
|
2841
|
+
try {
|
|
2842
|
+
const T = {
|
|
2843
|
+
idUsuario: "PE" + x.user,
|
|
2844
|
+
session_id: x.session,
|
|
2845
|
+
pagina: "home"
|
|
2846
|
+
}, v = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
|
|
2847
|
+
method: "POST",
|
|
2848
|
+
headers: {
|
|
2849
|
+
"Content-Type": "application/json"
|
|
2850
|
+
},
|
|
2851
|
+
body: JSON.stringify(T)
|
|
2852
|
+
});
|
|
2853
|
+
if (v.ok) {
|
|
2854
|
+
const I = await v.json();
|
|
2855
|
+
return I == null ? void 0 : I.url;
|
|
2856
|
+
}
|
|
2857
|
+
return null;
|
|
2858
|
+
} catch (T) {
|
|
2859
|
+
return console.error("[getMarketPlaceUrl]", T), null;
|
|
2860
|
+
}
|
|
2861
|
+
}, c = async () => {
|
|
2862
|
+
const x = await l();
|
|
2863
|
+
x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
2864
|
+
}, g = Array.isArray(n) ? n[o] : n;
|
|
2865
|
+
Nt(() => {
|
|
2866
|
+
if (!s.current || !d.current || typeof ResizeObserver == "undefined") return;
|
|
2867
|
+
const x = s.current, T = d.current, _ = () => {
|
|
2868
|
+
x.style.setProperty(
|
|
2835
2869
|
"--orc-co-bottomH",
|
|
2836
|
-
`${
|
|
2870
|
+
`${T.offsetHeight + 16}px`
|
|
2837
2871
|
);
|
|
2838
|
-
},
|
|
2839
|
-
return
|
|
2872
|
+
}, v = new ResizeObserver(_);
|
|
2873
|
+
return v.observe(T), _(), () => v.disconnect();
|
|
2840
2874
|
}, []);
|
|
2841
|
-
const
|
|
2875
|
+
const b = [
|
|
2842
2876
|
"orc-co-wrap",
|
|
2843
2877
|
a ? "orc-co-fullBleed" : "",
|
|
2844
2878
|
e
|
|
@@ -2846,55 +2880,55 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2846
2880
|
return /* @__PURE__ */ t(
|
|
2847
2881
|
"section",
|
|
2848
2882
|
{
|
|
2849
|
-
ref:
|
|
2850
|
-
className:
|
|
2851
|
-
"aria-label": i ||
|
|
2852
|
-
children: /* @__PURE__ */ t("div", { ref:
|
|
2853
|
-
|
|
2883
|
+
ref: s,
|
|
2884
|
+
className: b,
|
|
2885
|
+
"aria-label": i || g.imgAlt || "Club Olimpo",
|
|
2886
|
+
children: /* @__PURE__ */ t("div", { ref: d, children: /* @__PURE__ */ t(
|
|
2887
|
+
wa,
|
|
2854
2888
|
{
|
|
2855
|
-
text:
|
|
2856
|
-
onClick:
|
|
2857
|
-
imgAlt:
|
|
2858
|
-
buttonLabel:
|
|
2859
|
-
imgSrcMobile:
|
|
2860
|
-
imgSrcDesktopBg:
|
|
2861
|
-
imgSrcDesktopLogo:
|
|
2889
|
+
text: g.text,
|
|
2890
|
+
onClick: c,
|
|
2891
|
+
imgAlt: g.imgAlt,
|
|
2892
|
+
buttonLabel: g.buttonLabel,
|
|
2893
|
+
imgSrcMobile: g.imgMobile,
|
|
2894
|
+
imgSrcDesktopBg: g.imgDesktopBg,
|
|
2895
|
+
imgSrcDesktopLogo: g.imgDesktopLogo
|
|
2862
2896
|
}
|
|
2863
2897
|
) })
|
|
2864
2898
|
}
|
|
2865
2899
|
);
|
|
2866
|
-
},
|
|
2867
|
-
controls:
|
|
2868
|
-
padding:
|
|
2869
|
-
},
|
|
2900
|
+
}, xn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", wn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
|
|
2901
|
+
controls: xn,
|
|
2902
|
+
padding: wn
|
|
2903
|
+
}, Sn = (e) => {
|
|
2870
2904
|
var a, n;
|
|
2871
2905
|
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) => {
|
|
2872
2906
|
var i, r;
|
|
2873
2907
|
return (r = (i = o.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? r : [];
|
|
2874
2908
|
}) : [];
|
|
2875
2909
|
};
|
|
2876
|
-
function
|
|
2910
|
+
function In(e, a, n) {
|
|
2877
2911
|
return n ? n.map((o) => {
|
|
2878
|
-
var
|
|
2879
|
-
const i = o.prePackCouponRows.flatMap((c) =>
|
|
2912
|
+
var u, l;
|
|
2913
|
+
const i = o.prePackCouponRows.flatMap((c) => Sn(c).map((g) => ({ eventId: c.eventId, outcomeId: g }))), r = new Set(i.map((c) => c.eventId)), s = new Set(i.map((c) => c.outcomeId)), d = new Map(i.map((c, g) => [c.outcomeId, g])), p = {};
|
|
2880
2914
|
for (const c of a) {
|
|
2881
2915
|
if (!r.has(c.eventId)) continue;
|
|
2882
|
-
const
|
|
2883
|
-
|
|
2916
|
+
const g = c.outcomes.filter((b) => s.has(b.id)).map((b) => ({ ...b, position: d.get(b.id) }));
|
|
2917
|
+
g.length && ((l = p[u = c.eventId]) != null || (p[u] = []), p[c.eventId].push({ ...c, outcomes: g }));
|
|
2884
2918
|
}
|
|
2885
2919
|
const f = e.filter((c) => r.has(c.id)).map((c) => {
|
|
2886
|
-
var
|
|
2887
|
-
return { ...c, betoffers: (
|
|
2920
|
+
var g;
|
|
2921
|
+
return { ...c, betoffers: (g = p[c.id]) != null ? g : [] };
|
|
2888
2922
|
});
|
|
2889
2923
|
return {
|
|
2890
2924
|
couponId: o.id,
|
|
2891
2925
|
status: o.status,
|
|
2892
|
-
combinadoTotal:
|
|
2926
|
+
combinadoTotal: Cn(o.prePackCouponRows),
|
|
2893
2927
|
events: f
|
|
2894
2928
|
};
|
|
2895
2929
|
}) : [];
|
|
2896
2930
|
}
|
|
2897
|
-
function
|
|
2931
|
+
function Cn(e) {
|
|
2898
2932
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
2899
2933
|
let a = 1;
|
|
2900
2934
|
for (const n of e) {
|
|
@@ -2903,150 +2937,150 @@ function In(e) {
|
|
|
2903
2937
|
}
|
|
2904
2938
|
return Math.floor(a * 100) / 100;
|
|
2905
2939
|
}
|
|
2906
|
-
const
|
|
2907
|
-
function
|
|
2940
|
+
const On = fe.memo(Aa);
|
|
2941
|
+
function En({
|
|
2908
2942
|
items: e,
|
|
2909
2943
|
title: a = "Combinadas del Olimpo",
|
|
2910
2944
|
iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
|
|
2911
2945
|
onViewMore: o,
|
|
2912
2946
|
className: i = ""
|
|
2913
2947
|
}) {
|
|
2914
|
-
const r = ae(), s = ne(),
|
|
2915
|
-
var
|
|
2948
|
+
const r = ae(), s = ne(), d = se(), p = V(null), [f, u] = K({ isStart: !0, isEnd: !1 }), [l, c] = K([]), g = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", b = () => {
|
|
2949
|
+
var O;
|
|
2916
2950
|
r({
|
|
2917
2951
|
element: "evento_combinadas_prev",
|
|
2918
2952
|
label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
|
|
2919
2953
|
event_type: "click",
|
|
2920
|
-
module_id:
|
|
2954
|
+
module_id: d,
|
|
2921
2955
|
metadata: {
|
|
2922
2956
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2923
2957
|
},
|
|
2924
2958
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2925
|
-
}), (
|
|
2926
|
-
},
|
|
2927
|
-
var
|
|
2959
|
+
}), (O = p.current) == null || O.prev();
|
|
2960
|
+
}, x = () => {
|
|
2961
|
+
var O;
|
|
2928
2962
|
r({
|
|
2929
2963
|
element: "evento_combinadas_next",
|
|
2930
2964
|
label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
|
|
2931
2965
|
event_type: "click",
|
|
2932
|
-
module_id:
|
|
2966
|
+
module_id: d,
|
|
2933
2967
|
metadata: {
|
|
2934
2968
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2935
2969
|
},
|
|
2936
2970
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2937
|
-
}), (
|
|
2938
|
-
},
|
|
2971
|
+
}), (O = p.current) == null || O.next();
|
|
2972
|
+
}, T = () => {
|
|
2939
2973
|
r({
|
|
2940
2974
|
element: "evento_combinadas_ver_mas",
|
|
2941
2975
|
label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
|
|
2942
2976
|
event_type: "click",
|
|
2943
|
-
module_id:
|
|
2977
|
+
module_id: d,
|
|
2944
2978
|
metadata: {
|
|
2945
2979
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2946
2980
|
},
|
|
2947
2981
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2948
|
-
}),
|
|
2949
|
-
},
|
|
2950
|
-
async function
|
|
2951
|
-
var
|
|
2982
|
+
}), za();
|
|
2983
|
+
}, _ = re(() => l.filter((O) => O.combinadoTotal !== null), [l]);
|
|
2984
|
+
async function v() {
|
|
2985
|
+
var O, k, S, B;
|
|
2952
2986
|
try {
|
|
2953
|
-
const
|
|
2954
|
-
if (!
|
|
2987
|
+
const w = await (await fetch(g)).json(), E = (B = (S = (k = (O = w == null ? void 0 : w.group) == null ? void 0 : O.groups) == null ? void 0 : k.map((y) => y.id)) == null ? void 0 : S.filter(Boolean)) == null ? void 0 : B.join(",");
|
|
2988
|
+
if (!E) {
|
|
2955
2989
|
console.error("Could not extract group ID");
|
|
2956
2990
|
return;
|
|
2957
2991
|
}
|
|
2958
|
-
const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${
|
|
2959
|
-
c(
|
|
2960
|
-
} catch (
|
|
2961
|
-
console.error("loadDataEventSpecial error:",
|
|
2992
|
+
const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${E}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(L)).json();
|
|
2993
|
+
c(In(R.events, R.betOffers, R.prePackCoupons));
|
|
2994
|
+
} catch ($) {
|
|
2995
|
+
console.error("loadDataEventSpecial error:", $);
|
|
2962
2996
|
}
|
|
2963
2997
|
}
|
|
2964
2998
|
Q(() => {
|
|
2965
|
-
|
|
2999
|
+
v();
|
|
2966
3000
|
}, []);
|
|
2967
|
-
const
|
|
2968
|
-
return
|
|
3001
|
+
const I = i || void 0, U = xe("(max-width:950px)");
|
|
3002
|
+
return _.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
|
|
2969
3003
|
// paddingLeft: 16,
|
|
2970
3004
|
// paddingRight: 16,
|
|
2971
3005
|
width: "100%",
|
|
2972
3006
|
boxSizing: "border-box"
|
|
2973
|
-
}, children: /* @__PURE__ */
|
|
2974
|
-
/* @__PURE__ */ t("div", { className:
|
|
3007
|
+
}, children: /* @__PURE__ */ h(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3008
|
+
/* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ h(ue, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
2975
3009
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
2976
|
-
/* @__PURE__ */
|
|
2977
|
-
/* @__PURE__ */
|
|
3010
|
+
/* @__PURE__ */ h("div", { className: at.controls, children: [
|
|
3011
|
+
/* @__PURE__ */ h(ue, { spacing: 1, columns: "auto auto", children: [
|
|
2978
3012
|
/* @__PURE__ */ t(
|
|
2979
|
-
|
|
3013
|
+
J,
|
|
2980
3014
|
{
|
|
2981
3015
|
ariaLabel: "Anterior",
|
|
2982
3016
|
variant: "secondary",
|
|
2983
3017
|
iconOnly: !0,
|
|
2984
3018
|
leftIcon: /* @__PURE__ */ t(ze, {}),
|
|
2985
|
-
onClick:
|
|
3019
|
+
onClick: b,
|
|
2986
3020
|
disabled: f.isStart
|
|
2987
3021
|
}
|
|
2988
3022
|
),
|
|
2989
3023
|
/* @__PURE__ */ t(
|
|
2990
|
-
|
|
3024
|
+
J,
|
|
2991
3025
|
{
|
|
2992
3026
|
ariaLabel: "Siguiente",
|
|
2993
3027
|
variant: "secondary",
|
|
2994
3028
|
iconOnly: !0,
|
|
2995
3029
|
rightIcon: /* @__PURE__ */ t(Ae, {}),
|
|
2996
|
-
onClick:
|
|
3030
|
+
onClick: x,
|
|
2997
3031
|
disabled: f.isEnd
|
|
2998
3032
|
}
|
|
2999
3033
|
)
|
|
3000
3034
|
] }),
|
|
3001
|
-
/* @__PURE__ */ t(
|
|
3035
|
+
/* @__PURE__ */ t(J, { variant: "secondary", onClick: T, children: "Ver más" })
|
|
3002
3036
|
] })
|
|
3003
3037
|
] }) }),
|
|
3004
3038
|
/* @__PURE__ */ t(
|
|
3005
3039
|
he,
|
|
3006
3040
|
{
|
|
3007
3041
|
ref: p,
|
|
3008
|
-
items:
|
|
3042
|
+
items: _,
|
|
3009
3043
|
perPage: void 0,
|
|
3010
3044
|
gap: "16px",
|
|
3011
3045
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
3012
3046
|
useIndexAsKey: !0,
|
|
3013
3047
|
enableHorizontalWheel: !0,
|
|
3014
|
-
showRightGradient: !
|
|
3048
|
+
showRightGradient: !U,
|
|
3015
3049
|
breakpoints: {
|
|
3016
3050
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3017
3051
|
},
|
|
3018
|
-
renderItem: (
|
|
3019
|
-
onMove: ({ isStart:
|
|
3052
|
+
renderItem: (O) => /* @__PURE__ */ t(On, { coupon: O }),
|
|
3053
|
+
onMove: ({ isStart: O, isEnd: k }) => u({ isStart: O, isEnd: k })
|
|
3020
3054
|
}
|
|
3021
3055
|
)
|
|
3022
3056
|
] }) });
|
|
3023
3057
|
}
|
|
3024
|
-
function
|
|
3058
|
+
function Tn({}) {
|
|
3025
3059
|
return /* @__PURE__ */ t(
|
|
3026
3060
|
"div",
|
|
3027
3061
|
{
|
|
3028
3062
|
className: ke.cardWrapper,
|
|
3029
|
-
children: /* @__PURE__ */
|
|
3030
|
-
/* @__PURE__ */
|
|
3063
|
+
children: /* @__PURE__ */ h(H, { direction: "column", spacing: 1, children: [
|
|
3064
|
+
/* @__PURE__ */ h(H, { spacing: 1, direction: "row", children: [
|
|
3031
3065
|
/* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
|
|
3032
3066
|
/* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
|
|
3033
3067
|
] }),
|
|
3034
|
-
/* @__PURE__ */
|
|
3068
|
+
/* @__PURE__ */ h(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3035
3069
|
/* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
|
|
3036
3070
|
/* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
|
|
3037
3071
|
/* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
|
|
3038
3072
|
] }),
|
|
3039
|
-
/* @__PURE__ */
|
|
3073
|
+
/* @__PURE__ */ h(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3040
3074
|
/* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
|
|
3041
3075
|
/* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
|
|
3042
3076
|
/* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
|
|
3043
3077
|
] }),
|
|
3044
|
-
/* @__PURE__ */
|
|
3078
|
+
/* @__PURE__ */ h(H, { spacing: 2, direction: "row", children: [
|
|
3045
3079
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
|
|
3046
3080
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
|
|
3047
3081
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
|
|
3048
3082
|
] }),
|
|
3049
|
-
/* @__PURE__ */
|
|
3083
|
+
/* @__PURE__ */ h(H, { spacing: 2, direction: "row", children: [
|
|
3050
3084
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
|
|
3051
3085
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
|
|
3052
3086
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
|
|
@@ -3055,66 +3089,66 @@ function En({}) {
|
|
|
3055
3089
|
}
|
|
3056
3090
|
);
|
|
3057
3091
|
}
|
|
3058
|
-
const
|
|
3059
|
-
fadeWrapper:
|
|
3092
|
+
const kn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", $n = {
|
|
3093
|
+
fadeWrapper: kn
|
|
3060
3094
|
};
|
|
3061
3095
|
function Be({ children: e }) {
|
|
3062
|
-
return /* @__PURE__ */ t("div", { className:
|
|
3096
|
+
return /* @__PURE__ */ t("div", { className: $n.fadeWrapper, children: e });
|
|
3063
3097
|
}
|
|
3064
|
-
const
|
|
3065
|
-
padding:
|
|
3098
|
+
const Nn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Mn = {
|
|
3099
|
+
padding: Nn
|
|
3066
3100
|
};
|
|
3067
|
-
function
|
|
3101
|
+
function wt({
|
|
3068
3102
|
events: e,
|
|
3069
3103
|
visibleRange: a,
|
|
3070
3104
|
fetchJerseys: n,
|
|
3071
3105
|
buffer: o = 2,
|
|
3072
3106
|
debounceMs: i = 250
|
|
3073
3107
|
}) {
|
|
3074
|
-
const [r, s] = K({}),
|
|
3108
|
+
const [r, s] = K({}), d = V(/* @__PURE__ */ new Set()), p = V(0), f = V(null), u = V(null);
|
|
3075
3109
|
return Q(() => {
|
|
3076
3110
|
if (!(!e || e.length === 0))
|
|
3077
3111
|
return f.current && clearTimeout(f.current), f.current = setTimeout(() => {
|
|
3078
|
-
var
|
|
3079
|
-
const l = (
|
|
3080
|
-
let
|
|
3081
|
-
const
|
|
3082
|
-
|
|
3083
|
-
const
|
|
3084
|
-
if (
|
|
3085
|
-
|
|
3086
|
-
const
|
|
3112
|
+
var U, O;
|
|
3113
|
+
const l = (U = a.start) != null ? U : 0, c = (O = a.end) != null ? O : 7, g = Math.max(0, l - o), b = Math.min(e.length - 1, c + o);
|
|
3114
|
+
let x = g, T = b;
|
|
3115
|
+
const _ = u.current;
|
|
3116
|
+
_ && (g > _.end && (x = _.end + 1), b < _.start && (T = _.start - 1)), u.current = { start: g, end: b };
|
|
3117
|
+
const v = e.slice(x, T + 1).map((k) => k == null ? void 0 : k.id).filter((k) => !!k).filter((k) => !d.current.has(k)).filter((k) => !(k in r));
|
|
3118
|
+
if (v.length === 0) return;
|
|
3119
|
+
v.forEach((k) => d.current.add(k));
|
|
3120
|
+
const I = ++p.current;
|
|
3087
3121
|
(async () => {
|
|
3088
3122
|
try {
|
|
3089
|
-
const
|
|
3090
|
-
if (
|
|
3091
|
-
|
|
3123
|
+
const k = await n(v);
|
|
3124
|
+
if (I !== p.current) {
|
|
3125
|
+
v.forEach((B) => d.current.delete(B));
|
|
3092
3126
|
return;
|
|
3093
3127
|
}
|
|
3094
|
-
if (!(
|
|
3095
|
-
|
|
3096
|
-
(B) =>
|
|
3128
|
+
if (!(k != null && k.events)) {
|
|
3129
|
+
v.forEach(
|
|
3130
|
+
(B) => d.current.delete(B)
|
|
3097
3131
|
);
|
|
3098
3132
|
return;
|
|
3099
3133
|
}
|
|
3100
3134
|
s((B) => {
|
|
3101
|
-
const
|
|
3102
|
-
for (const [
|
|
3103
|
-
const L = Number(
|
|
3104
|
-
|
|
3135
|
+
const $ = { ...B };
|
|
3136
|
+
for (const [w, E] of Object.entries(k.events)) {
|
|
3137
|
+
const L = Number(w);
|
|
3138
|
+
$[L] || ($[L] = E);
|
|
3105
3139
|
}
|
|
3106
|
-
return
|
|
3140
|
+
return $;
|
|
3107
3141
|
});
|
|
3108
|
-
const
|
|
3109
|
-
Object.keys(
|
|
3142
|
+
const S = new Set(
|
|
3143
|
+
Object.keys(k.events).map(Number)
|
|
3110
3144
|
);
|
|
3111
|
-
|
|
3112
|
-
|
|
3145
|
+
v.forEach((B) => {
|
|
3146
|
+
d.current.delete(B);
|
|
3113
3147
|
});
|
|
3114
|
-
} catch (
|
|
3115
|
-
|
|
3116
|
-
(
|
|
3117
|
-
), console.error("Jersey fetch error",
|
|
3148
|
+
} catch (k) {
|
|
3149
|
+
v.forEach(
|
|
3150
|
+
(S) => d.current.delete(S)
|
|
3151
|
+
), console.error("Jersey fetch error", k);
|
|
3118
3152
|
}
|
|
3119
3153
|
})();
|
|
3120
3154
|
}, i), () => {
|
|
@@ -3122,148 +3156,148 @@ function xt({
|
|
|
3122
3156
|
};
|
|
3123
3157
|
}, [e, a, o, i, n]), {
|
|
3124
3158
|
jerseys: r,
|
|
3125
|
-
isPending:
|
|
3159
|
+
isPending: d.current
|
|
3126
3160
|
};
|
|
3127
3161
|
}
|
|
3128
|
-
const
|
|
3162
|
+
const Bn = (e) => {
|
|
3129
3163
|
const a = ["esports", "cyber"];
|
|
3130
3164
|
return e.filter((n) => {
|
|
3131
3165
|
var r, s;
|
|
3132
3166
|
const o = (r = n == null ? void 0 : n.event) == null ? void 0 : r.sport;
|
|
3133
3167
|
if (typeof o != "string" || o !== "FOOTBALL") return !1;
|
|
3134
3168
|
const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
|
|
3135
|
-
return !a.some((
|
|
3169
|
+
return !a.some((d) => i.includes(d));
|
|
3136
3170
|
});
|
|
3137
|
-
},
|
|
3138
|
-
function
|
|
3171
|
+
}, zn = fe.memo(qa);
|
|
3172
|
+
function An({
|
|
3139
3173
|
items: e,
|
|
3140
3174
|
title: a = "En vivo",
|
|
3141
3175
|
iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
|
|
3142
3176
|
onViewMore: o,
|
|
3143
3177
|
className: i = ""
|
|
3144
3178
|
}) {
|
|
3145
|
-
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), [
|
|
3179
|
+
const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [d, p] = K({ isStart: !0, isEnd: !1 }), [f, u] = K(null), [l, c] = K({ start: null, end: null }), [g, b] = K(null), x = V(!1), T = ae(), _ = ne(), v = se(), I = V(/* @__PURE__ */ new Map()), U = () => {
|
|
3146
3180
|
var A;
|
|
3147
|
-
|
|
3181
|
+
T({
|
|
3148
3182
|
element: "evento_en_vivo_prev",
|
|
3149
|
-
label: `${
|
|
3183
|
+
label: `${_} - OraculoSeccionEventoEnVivo - Anterior`,
|
|
3150
3184
|
target: "prev",
|
|
3151
3185
|
event_type: "click",
|
|
3152
|
-
module_id:
|
|
3186
|
+
module_id: v,
|
|
3153
3187
|
metadata: {
|
|
3154
3188
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3155
3189
|
},
|
|
3156
3190
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3157
3191
|
}), (A = s.current) == null || A.prev();
|
|
3158
|
-
},
|
|
3192
|
+
}, O = () => {
|
|
3159
3193
|
var A;
|
|
3160
|
-
|
|
3194
|
+
T({
|
|
3161
3195
|
element: "evento_en_vivo_next",
|
|
3162
|
-
label: `${
|
|
3196
|
+
label: `${_} - OraculoSeccionEventoEnVivo - Siguiente`,
|
|
3163
3197
|
target: "next",
|
|
3164
3198
|
event_type: "click",
|
|
3165
|
-
module_id:
|
|
3199
|
+
module_id: v,
|
|
3166
3200
|
metadata: {
|
|
3167
3201
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3168
3202
|
},
|
|
3169
3203
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3170
3204
|
}), (A = s.current) == null || A.next();
|
|
3171
|
-
},
|
|
3172
|
-
|
|
3205
|
+
}, k = () => {
|
|
3206
|
+
T({
|
|
3173
3207
|
element: "evento_en_vivo_view_more",
|
|
3174
|
-
label: `${
|
|
3208
|
+
label: `${_} - OraculoSeccionEventoEnVivo - Ver más`,
|
|
3175
3209
|
target: "ver_mas",
|
|
3176
3210
|
event_type: "click",
|
|
3177
|
-
module_id:
|
|
3211
|
+
module_id: v,
|
|
3178
3212
|
metadata: {
|
|
3179
3213
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3180
3214
|
},
|
|
3181
3215
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3182
|
-
}),
|
|
3183
|
-
},
|
|
3216
|
+
}), Ma();
|
|
3217
|
+
}, S = Ee(async () => {
|
|
3184
3218
|
var A;
|
|
3185
3219
|
try {
|
|
3186
|
-
if (!
|
|
3187
|
-
|
|
3220
|
+
if (!x.current) {
|
|
3221
|
+
x.current = !0;
|
|
3188
3222
|
try {
|
|
3189
|
-
const W = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), G = ((A = W == null ? void 0 : W.data) == null ? void 0 : A.event_ids) || [],
|
|
3190
|
-
G.forEach((ee,
|
|
3191
|
-
} catch (
|
|
3192
|
-
console.error("Order fetch failed, using default sorting",
|
|
3223
|
+
const W = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), G = ((A = W == null ? void 0 : W.data) == null ? void 0 : A.event_ids) || [], X = /* @__PURE__ */ new Map();
|
|
3224
|
+
G.forEach((ee, m) => X.set(String(ee), m)), I.current = X;
|
|
3225
|
+
} catch (D) {
|
|
3226
|
+
console.error("Order fetch failed, using default sorting", D);
|
|
3193
3227
|
}
|
|
3194
3228
|
}
|
|
3195
3229
|
const R = await fetch(r);
|
|
3196
3230
|
if (!R.ok) throw new Error("Failed to fetch live events");
|
|
3197
|
-
const
|
|
3198
|
-
if (
|
|
3199
|
-
|
|
3231
|
+
const y = await R.json(), P = Bn(y.events);
|
|
3232
|
+
if (I.current.size === 0)
|
|
3233
|
+
u(P);
|
|
3200
3234
|
else {
|
|
3201
|
-
const
|
|
3202
|
-
const
|
|
3203
|
-
return (
|
|
3235
|
+
const D = [...P].sort((W, G) => {
|
|
3236
|
+
const X = I.current.get(String(W.event.id)), ee = I.current.get(String(G.event.id));
|
|
3237
|
+
return (X !== void 0 ? X : 1 / 0) - (ee !== void 0 ? ee : 1 / 0);
|
|
3204
3238
|
});
|
|
3205
|
-
|
|
3239
|
+
u(D);
|
|
3206
3240
|
}
|
|
3207
3241
|
} catch (R) {
|
|
3208
3242
|
console.error("LoadData Error:", R);
|
|
3209
3243
|
}
|
|
3210
3244
|
}, []);
|
|
3211
3245
|
Q(() => {
|
|
3212
|
-
|
|
3213
|
-
const A = setInterval(
|
|
3246
|
+
S();
|
|
3247
|
+
const A = setInterval(S, 2e4);
|
|
3214
3248
|
return () => clearInterval(A);
|
|
3215
|
-
}, [
|
|
3216
|
-
const { jerseys: B } =
|
|
3249
|
+
}, [S]);
|
|
3250
|
+
const { jerseys: B } = wt({
|
|
3217
3251
|
events: (f == null ? void 0 : f.map((A) => A.event)) || [],
|
|
3218
3252
|
// extract actual event objects
|
|
3219
3253
|
visibleRange: l,
|
|
3220
|
-
fetchJerseys:
|
|
3254
|
+
fetchJerseys: ft,
|
|
3221
3255
|
buffer: 3,
|
|
3222
3256
|
// same as your previous BUFFER
|
|
3223
3257
|
debounceMs: 300
|
|
3224
3258
|
// same as your previous debouncedVisibleRange
|
|
3225
|
-
}),
|
|
3226
|
-
return !
|
|
3259
|
+
}), $ = i || void 0, w = f === null, E = re(() => w ? Array(4).fill({}) : (f == null ? void 0 : f.slice(0, 20)) || [], [w, f]), L = xe("(max-width:950px)");
|
|
3260
|
+
return !w && f.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
|
|
3227
3261
|
// paddingLeft: 16,
|
|
3228
3262
|
// paddingRight: 16,
|
|
3229
3263
|
width: "100%",
|
|
3230
3264
|
boxSizing: "border-box"
|
|
3231
|
-
}, children: /* @__PURE__ */
|
|
3232
|
-
/* @__PURE__ */ t("div", { className:
|
|
3265
|
+
}, children: /* @__PURE__ */ h(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3266
|
+
/* @__PURE__ */ t("div", { className: Mn.padding, children: /* @__PURE__ */ h(ue, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3233
3267
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
3234
|
-
/* @__PURE__ */
|
|
3235
|
-
/* @__PURE__ */
|
|
3268
|
+
/* @__PURE__ */ h("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
3269
|
+
/* @__PURE__ */ h(ue, { spacing: 1, columns: "auto auto", children: [
|
|
3236
3270
|
/* @__PURE__ */ t(
|
|
3237
|
-
|
|
3271
|
+
J,
|
|
3238
3272
|
{
|
|
3239
3273
|
ariaLabel: "Anterior",
|
|
3240
3274
|
variant: "secondary",
|
|
3241
3275
|
iconOnly: !0,
|
|
3242
3276
|
leftIcon: /* @__PURE__ */ t(ze, {}),
|
|
3243
|
-
onClick:
|
|
3244
|
-
disabled:
|
|
3277
|
+
onClick: U,
|
|
3278
|
+
disabled: d.isStart
|
|
3245
3279
|
}
|
|
3246
3280
|
),
|
|
3247
3281
|
/* @__PURE__ */ t(
|
|
3248
|
-
|
|
3282
|
+
J,
|
|
3249
3283
|
{
|
|
3250
3284
|
ariaLabel: "Siguiente",
|
|
3251
3285
|
variant: "secondary",
|
|
3252
3286
|
iconOnly: !0,
|
|
3253
3287
|
rightIcon: /* @__PURE__ */ t(Ae, {}),
|
|
3254
|
-
onClick:
|
|
3255
|
-
disabled:
|
|
3288
|
+
onClick: O,
|
|
3289
|
+
disabled: d.isEnd
|
|
3256
3290
|
}
|
|
3257
3291
|
)
|
|
3258
3292
|
] }),
|
|
3259
|
-
/* @__PURE__ */ t(
|
|
3293
|
+
/* @__PURE__ */ t(J, { variant: "secondary", onClick: k, children: "Ver más" })
|
|
3260
3294
|
] })
|
|
3261
3295
|
] }) }),
|
|
3262
3296
|
/* @__PURE__ */ t(
|
|
3263
3297
|
he,
|
|
3264
3298
|
{
|
|
3265
3299
|
ref: s,
|
|
3266
|
-
items:
|
|
3300
|
+
items: E,
|
|
3267
3301
|
perPage: void 0,
|
|
3268
3302
|
showRightGradient: !L,
|
|
3269
3303
|
enableHorizontalWheel: !0,
|
|
@@ -3276,44 +3310,44 @@ function zn({
|
|
|
3276
3310
|
},
|
|
3277
3311
|
renderItem: (A) => {
|
|
3278
3312
|
var P;
|
|
3279
|
-
const R = ((P = A.event) == null ? void 0 : P.id) || A.eventId,
|
|
3280
|
-
return
|
|
3281
|
-
|
|
3313
|
+
const R = ((P = A.event) == null ? void 0 : P.id) || A.eventId, y = R in B ? B[R] : void 0;
|
|
3314
|
+
return w ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Tn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
|
|
3315
|
+
zn,
|
|
3282
3316
|
{
|
|
3283
3317
|
...A,
|
|
3284
|
-
jersey:
|
|
3318
|
+
jersey: y
|
|
3285
3319
|
}
|
|
3286
3320
|
) });
|
|
3287
3321
|
},
|
|
3288
|
-
onMove: ({ isStart: A, isEnd: R, visibleStart:
|
|
3322
|
+
onMove: ({ isStart: A, isEnd: R, visibleStart: y, visibleEnd: P }) => {
|
|
3289
3323
|
p(
|
|
3290
|
-
(
|
|
3291
|
-
), c({ start:
|
|
3324
|
+
(D) => D.isStart === A && D.isEnd === R ? D : { isStart: A, isEnd: R }
|
|
3325
|
+
), c({ start: y, end: P });
|
|
3292
3326
|
}
|
|
3293
3327
|
}
|
|
3294
3328
|
)
|
|
3295
3329
|
] }) });
|
|
3296
3330
|
}
|
|
3297
|
-
function
|
|
3298
|
-
return /* @__PURE__ */
|
|
3299
|
-
/* @__PURE__ */ t(
|
|
3300
|
-
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */
|
|
3301
|
-
/* @__PURE__ */
|
|
3331
|
+
function Rn() {
|
|
3332
|
+
return /* @__PURE__ */ h("div", { className: be.cardContainer, children: [
|
|
3333
|
+
/* @__PURE__ */ t(ut, { title: "" }),
|
|
3334
|
+
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ h(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3335
|
+
/* @__PURE__ */ h(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3302
3336
|
/* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
|
|
3303
3337
|
/* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
|
|
3304
3338
|
] }),
|
|
3305
|
-
/* @__PURE__ */
|
|
3306
|
-
/* @__PURE__ */
|
|
3339
|
+
/* @__PURE__ */ h(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3340
|
+
/* @__PURE__ */ h(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3307
3341
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
|
|
3308
3342
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
|
|
3309
3343
|
] }),
|
|
3310
3344
|
/* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
|
|
3311
|
-
/* @__PURE__ */
|
|
3345
|
+
/* @__PURE__ */ h(H, { direction: "row", spacing: 1, children: [
|
|
3312
3346
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
|
|
3313
3347
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
|
|
3314
3348
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
|
|
3315
3349
|
] }),
|
|
3316
|
-
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */
|
|
3350
|
+
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ h(H, { direction: "row", spacing: 1, children: [
|
|
3317
3351
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
|
|
3318
3352
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
|
|
3319
3353
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
|
|
@@ -3322,30 +3356,30 @@ function An() {
|
|
|
3322
3356
|
] }) })
|
|
3323
3357
|
] });
|
|
3324
3358
|
}
|
|
3325
|
-
const
|
|
3326
|
-
wrapper:
|
|
3327
|
-
container:
|
|
3328
|
-
buttonWrapper:
|
|
3329
|
-
padding:
|
|
3330
|
-
},
|
|
3359
|
+
const Ln = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Pn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Fn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", qn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
|
|
3360
|
+
wrapper: Ln,
|
|
3361
|
+
container: Pn,
|
|
3362
|
+
buttonWrapper: Fn,
|
|
3363
|
+
padding: qn
|
|
3364
|
+
}, Un = fe.memo(Ka);
|
|
3331
3365
|
async function Dn(e, a = 2, n) {
|
|
3332
3366
|
const o = [];
|
|
3333
3367
|
for (let i = 0; i < e.length; i += a) {
|
|
3334
3368
|
if (n.aborted)
|
|
3335
3369
|
throw new DOMException("Aborted", "AbortError");
|
|
3336
3370
|
const r = e.slice(i, i + a), s = await Promise.all(
|
|
3337
|
-
r.map((
|
|
3371
|
+
r.map((d) => fetch(d, { signal: n }).then((p) => p.json()))
|
|
3338
3372
|
);
|
|
3339
3373
|
o.push(...s);
|
|
3340
3374
|
}
|
|
3341
3375
|
return o;
|
|
3342
3376
|
}
|
|
3343
|
-
function
|
|
3377
|
+
function Vn(e) {
|
|
3344
3378
|
return [...e].sort(
|
|
3345
3379
|
(a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
|
|
3346
3380
|
);
|
|
3347
3381
|
}
|
|
3348
|
-
function
|
|
3382
|
+
function Wn(e) {
|
|
3349
3383
|
const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
|
|
3350
3384
|
return e.filter((o) => {
|
|
3351
3385
|
if (!o.start) return !1;
|
|
@@ -3353,7 +3387,7 @@ function Vn(e) {
|
|
|
3353
3387
|
return i >= a && i <= n;
|
|
3354
3388
|
});
|
|
3355
3389
|
}
|
|
3356
|
-
function
|
|
3390
|
+
function Gn(e, a) {
|
|
3357
3391
|
const o = a.filter((i) => {
|
|
3358
3392
|
var r;
|
|
3359
3393
|
return ((r = i.betOfferType) == null ? void 0 : r.id) === 2;
|
|
@@ -3363,135 +3397,135 @@ function Wn(e, a) {
|
|
|
3363
3397
|
outcome: o[i.id]
|
|
3364
3398
|
}));
|
|
3365
3399
|
}
|
|
3366
|
-
function
|
|
3400
|
+
function jn({
|
|
3367
3401
|
items: e,
|
|
3368
3402
|
title: a = "En vivo",
|
|
3369
3403
|
iconUrl: n,
|
|
3370
3404
|
onViewMore: o,
|
|
3371
3405
|
className: i = ""
|
|
3372
3406
|
}) {
|
|
3373
|
-
const r = ae(), s = ne(),
|
|
3407
|
+
const r = ae(), s = ne(), d = se(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", f = V(null), [u, l] = K({ isStart: !0, isEnd: !1 }), [c, g] = K(null), [b, x] = K({ start: null, end: null }), T = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", _ = () => {
|
|
3374
3408
|
r({
|
|
3375
3409
|
element: "evento_semana_view_more",
|
|
3376
3410
|
label: `${s} - OraculoSeccionEventoSemana - Ver más`,
|
|
3377
3411
|
target: "ver_mas",
|
|
3378
3412
|
event_type: "click",
|
|
3379
|
-
module_id:
|
|
3413
|
+
module_id: d,
|
|
3380
3414
|
metadata: {
|
|
3381
3415
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3382
3416
|
},
|
|
3383
3417
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3384
|
-
}),
|
|
3418
|
+
}), Ba();
|
|
3385
3419
|
};
|
|
3386
|
-
async function
|
|
3420
|
+
async function v($) {
|
|
3387
3421
|
var L, A;
|
|
3388
|
-
let
|
|
3422
|
+
let w = [], E = [];
|
|
3389
3423
|
try {
|
|
3390
3424
|
const R = await fetch(
|
|
3391
3425
|
"https://api.mktolimpo.com/api/kambi/eventos/orden",
|
|
3392
|
-
{ signal:
|
|
3426
|
+
{ signal: $ }
|
|
3393
3427
|
);
|
|
3394
3428
|
if (R.ok) {
|
|
3395
|
-
const
|
|
3396
|
-
|
|
3429
|
+
const y = await R.json();
|
|
3430
|
+
w = ((L = y == null ? void 0 : y.data) == null ? void 0 : L.group_ids) || [], E = ((A = y == null ? void 0 : y.data) == null ? void 0 : A.event_ids) || [];
|
|
3397
3431
|
}
|
|
3398
3432
|
} catch (R) {
|
|
3399
3433
|
R.name !== "AbortError" && console.warn("Order API not available, using default group order");
|
|
3400
3434
|
return;
|
|
3401
3435
|
}
|
|
3402
3436
|
try {
|
|
3403
|
-
const P = (await (await fetch(p, { signal:
|
|
3404
|
-
(
|
|
3437
|
+
const P = (await (await fetch(p, { signal: $ })).json()).group.groups.find(
|
|
3438
|
+
(m) => m.englishName === "Football"
|
|
3405
3439
|
);
|
|
3406
3440
|
if (!P || !Array.isArray(P.groups)) {
|
|
3407
3441
|
console.error("Football groups not found");
|
|
3408
3442
|
return;
|
|
3409
3443
|
}
|
|
3410
|
-
let
|
|
3411
|
-
if (
|
|
3412
|
-
const
|
|
3413
|
-
|
|
3444
|
+
let D = [...P.groups];
|
|
3445
|
+
if (w.length > 0) {
|
|
3446
|
+
const m = new Map(
|
|
3447
|
+
w.map((C, N) => [C, N])
|
|
3414
3448
|
);
|
|
3415
|
-
|
|
3416
|
-
const
|
|
3417
|
-
return
|
|
3449
|
+
D.sort((C, N) => {
|
|
3450
|
+
const M = m.get(String(C.id)), z = m.get(String(N.id));
|
|
3451
|
+
return M !== void 0 && z !== void 0 ? M - z : M !== void 0 ? -1 : z !== void 0 ? 1 : 0;
|
|
3418
3452
|
});
|
|
3419
3453
|
}
|
|
3420
|
-
const G =
|
|
3421
|
-
const
|
|
3422
|
-
if (
|
|
3423
|
-
const
|
|
3454
|
+
const G = D.slice(0, 5), X = (m) => {
|
|
3455
|
+
const C = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
|
|
3456
|
+
if (m.groups && m.groups.length > 0) {
|
|
3457
|
+
const N = m.groups[0];
|
|
3424
3458
|
return [
|
|
3425
|
-
`${
|
|
3459
|
+
`${C}/${m.termKey}/${N.termKey}/all/matches.json?${T}`
|
|
3426
3460
|
];
|
|
3427
3461
|
}
|
|
3428
3462
|
return [
|
|
3429
|
-
`${
|
|
3463
|
+
`${C}/${m.termKey}/all/all/matches.json?${T}`
|
|
3430
3464
|
];
|
|
3431
|
-
}, ee = G.flatMap(
|
|
3432
|
-
|
|
3465
|
+
}, ee = G.flatMap(X);
|
|
3466
|
+
I(ee, E, $);
|
|
3433
3467
|
} catch (R) {
|
|
3434
3468
|
console.error(R);
|
|
3435
3469
|
}
|
|
3436
3470
|
}
|
|
3437
|
-
async function
|
|
3471
|
+
async function I($, w, E) {
|
|
3438
3472
|
try {
|
|
3439
|
-
const L = await Dn(
|
|
3473
|
+
const L = await Dn($, 2, E);
|
|
3440
3474
|
let A = [], R = [];
|
|
3441
3475
|
L.forEach((W) => {
|
|
3442
3476
|
W.events && (A.push(...W.events.map((G) => G.event)), R.push(
|
|
3443
3477
|
...W.events.flatMap((G) => G.betOffers || [])
|
|
3444
3478
|
));
|
|
3445
3479
|
});
|
|
3446
|
-
const
|
|
3447
|
-
let
|
|
3448
|
-
if (
|
|
3480
|
+
const y = Gn(A, R), P = Vn(Wn(y));
|
|
3481
|
+
let D = P;
|
|
3482
|
+
if (w.length > 0) {
|
|
3449
3483
|
const W = new Map(
|
|
3450
|
-
|
|
3484
|
+
w.map((G, X) => [
|
|
3451
3485
|
String(G),
|
|
3452
|
-
|
|
3486
|
+
X
|
|
3453
3487
|
])
|
|
3454
3488
|
);
|
|
3455
|
-
|
|
3456
|
-
const ee = W.get(String(G.id)),
|
|
3457
|
-
return ee !== void 0 &&
|
|
3489
|
+
D = [...P].sort((G, X) => {
|
|
3490
|
+
const ee = W.get(String(G.id)), m = W.get(String(X.id));
|
|
3491
|
+
return ee !== void 0 && m !== void 0 ? ee - m : ee !== void 0 ? -1 : m !== void 0 ? 1 : 0;
|
|
3458
3492
|
});
|
|
3459
3493
|
}
|
|
3460
|
-
if (
|
|
3461
|
-
|
|
3494
|
+
if (E.aborted) return;
|
|
3495
|
+
g(D);
|
|
3462
3496
|
} catch (L) {
|
|
3463
3497
|
console.error("Error loading events:", L);
|
|
3464
3498
|
}
|
|
3465
3499
|
}
|
|
3466
3500
|
Q(() => {
|
|
3467
3501
|
if (!e) return;
|
|
3468
|
-
const
|
|
3469
|
-
return
|
|
3470
|
-
|
|
3502
|
+
const $ = new AbortController();
|
|
3503
|
+
return v($.signal), () => {
|
|
3504
|
+
$.abort();
|
|
3471
3505
|
};
|
|
3472
3506
|
}, [e]);
|
|
3473
|
-
const
|
|
3507
|
+
const U = i || void 0, O = {
|
|
3474
3508
|
paddingLeft: 0,
|
|
3475
3509
|
width: "100%",
|
|
3476
3510
|
boxSizing: "border-box"
|
|
3477
|
-
}, { jerseys:
|
|
3511
|
+
}, { jerseys: k } = wt({
|
|
3478
3512
|
events: c,
|
|
3479
|
-
visibleRange:
|
|
3480
|
-
fetchJerseys:
|
|
3513
|
+
visibleRange: b,
|
|
3514
|
+
fetchJerseys: ft,
|
|
3481
3515
|
buffer: 2,
|
|
3482
3516
|
debounceMs: 250
|
|
3483
|
-
}),
|
|
3484
|
-
return !
|
|
3485
|
-
/* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */
|
|
3517
|
+
}), S = c === null, B = xe("(max-width:950px)");
|
|
3518
|
+
return !S && c.length === 0 ? null : /* @__PURE__ */ t("section", { className: U, style: O, children: /* @__PURE__ */ h("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
|
|
3519
|
+
/* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ h(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3486
3520
|
/* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
|
|
3487
3521
|
/* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
|
|
3488
|
-
|
|
3522
|
+
J,
|
|
3489
3523
|
{
|
|
3490
3524
|
variant: "secondary",
|
|
3491
3525
|
size: "lg",
|
|
3492
3526
|
fullWidth: !0,
|
|
3493
3527
|
onClick: () => {
|
|
3494
|
-
|
|
3528
|
+
_();
|
|
3495
3529
|
},
|
|
3496
3530
|
children: "Ver más"
|
|
3497
3531
|
}
|
|
@@ -3501,7 +3535,7 @@ function Gn({
|
|
|
3501
3535
|
he,
|
|
3502
3536
|
{
|
|
3503
3537
|
ref: f,
|
|
3504
|
-
items:
|
|
3538
|
+
items: S ? Array(6).fill({}) : c.slice(0, 20),
|
|
3505
3539
|
perPage: 3.5,
|
|
3506
3540
|
gap: "16px",
|
|
3507
3541
|
enableHorizontalWheel: !0,
|
|
@@ -3515,26 +3549,26 @@ function Gn({
|
|
|
3515
3549
|
padding: { left: "8px", right: "8px" }
|
|
3516
3550
|
}
|
|
3517
3551
|
},
|
|
3518
|
-
renderItem: (
|
|
3519
|
-
const
|
|
3520
|
-
return
|
|
3552
|
+
renderItem: ($) => {
|
|
3553
|
+
const w = $.id, E = w in k ? k[w] : void 0;
|
|
3554
|
+
return S ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Rn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: $, jersey: E }) });
|
|
3521
3555
|
},
|
|
3522
|
-
onMove: ({ isStart:
|
|
3523
|
-
l({ isStart:
|
|
3524
|
-
start:
|
|
3556
|
+
onMove: ({ isStart: $, isEnd: w, visibleStart: E, visibleEnd: L }) => {
|
|
3557
|
+
l({ isStart: $, isEnd: w }), x({
|
|
3558
|
+
start: E,
|
|
3525
3559
|
end: L
|
|
3526
3560
|
}), r({
|
|
3527
3561
|
element: "evento_semana_carousel_slide",
|
|
3528
3562
|
label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
|
|
3529
3563
|
target: "carousel",
|
|
3530
3564
|
event_type: "slide",
|
|
3531
|
-
module_id:
|
|
3565
|
+
module_id: d,
|
|
3532
3566
|
metadata: {
|
|
3533
3567
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3534
|
-
visibleStart:
|
|
3568
|
+
visibleStart: E,
|
|
3535
3569
|
visibleEnd: L,
|
|
3536
|
-
isStart:
|
|
3537
|
-
isEnd:
|
|
3570
|
+
isStart: $,
|
|
3571
|
+
isEnd: w
|
|
3538
3572
|
},
|
|
3539
3573
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3540
3574
|
});
|
|
@@ -3543,15 +3577,15 @@ function Gn({
|
|
|
3543
3577
|
) })
|
|
3544
3578
|
] }) });
|
|
3545
3579
|
}
|
|
3546
|
-
function
|
|
3580
|
+
function Hn({
|
|
3547
3581
|
backgrounds: e,
|
|
3548
3582
|
items: a,
|
|
3549
3583
|
hideItems: n
|
|
3550
3584
|
}) {
|
|
3551
3585
|
var L, A, R;
|
|
3552
|
-
const [o, i] = K(0), r = ae(), s = ne(),
|
|
3553
|
-
|
|
3554
|
-
const
|
|
3586
|
+
const [o, i] = K(0), r = ae(), s = ne(), d = se(), p = V(null), f = V(!1), u = V(!1), l = (e == null ? void 0 : e.length) || 1, c = !e || e.length === 0, g = !c && ((L = e == null ? void 0 : e.length) != null ? L : 0) > 1, b = !n && ((A = a == null ? void 0 : a.length) != null ? A : 0) > 0;
|
|
3587
|
+
Ue("(max-width:950px)");
|
|
3588
|
+
const x = "#B5B5B5", T = {
|
|
3555
3589
|
position: "absolute",
|
|
3556
3590
|
top: "50%",
|
|
3557
3591
|
transform: "translateY(-50%)",
|
|
@@ -3559,22 +3593,22 @@ function jn({
|
|
|
3559
3593
|
width: 48,
|
|
3560
3594
|
height: 40,
|
|
3561
3595
|
borderRadius: "12px",
|
|
3562
|
-
border: `1.5px solid ${
|
|
3596
|
+
border: `1.5px solid ${x}`,
|
|
3563
3597
|
py: 1,
|
|
3564
3598
|
px: 1.5,
|
|
3565
|
-
color:
|
|
3599
|
+
color: x,
|
|
3566
3600
|
backgroundColor: "transparent",
|
|
3567
3601
|
"&:hover": {
|
|
3568
3602
|
backgroundColor: "rgba(181,181,181,0.08)"
|
|
3569
3603
|
},
|
|
3570
3604
|
"&.Mui-disabled": {
|
|
3571
3605
|
opacity: 0.35,
|
|
3572
|
-
borderColor:
|
|
3573
|
-
color:
|
|
3606
|
+
borderColor: x,
|
|
3607
|
+
color: x,
|
|
3574
3608
|
backgroundColor: "transparent",
|
|
3575
3609
|
cursor: "default"
|
|
3576
3610
|
}
|
|
3577
|
-
},
|
|
3611
|
+
}, _ = re(
|
|
3578
3612
|
() => ({
|
|
3579
3613
|
type: "loop",
|
|
3580
3614
|
perMove: 1,
|
|
@@ -3586,20 +3620,20 @@ function jn({
|
|
|
3586
3620
|
[]
|
|
3587
3621
|
);
|
|
3588
3622
|
Q(() => {
|
|
3589
|
-
const
|
|
3623
|
+
const y = setTimeout(() => {
|
|
3590
3624
|
f.current = !0;
|
|
3591
3625
|
}, 500);
|
|
3592
|
-
return () => clearTimeout(
|
|
3626
|
+
return () => clearTimeout(y);
|
|
3593
3627
|
}, []);
|
|
3594
|
-
const
|
|
3628
|
+
const v = (y, P) => {
|
|
3595
3629
|
var W, G;
|
|
3596
|
-
const
|
|
3630
|
+
const D = ((G = (W = y.href) == null ? void 0 : W.split("/").pop()) == null ? void 0 : G.split(".")[0]) || y.label || y.id || `banner_${P + 1}`;
|
|
3597
3631
|
r({
|
|
3598
3632
|
element: "banner_carousel",
|
|
3599
|
-
label: `${s} - OraculoSeccionBanners - Banner click: ${
|
|
3600
|
-
target:
|
|
3633
|
+
label: `${s} - OraculoSeccionBanners - Banner click: ${D}`,
|
|
3634
|
+
target: y.href || "no_url",
|
|
3601
3635
|
event_type: "click",
|
|
3602
|
-
module_id:
|
|
3636
|
+
module_id: d,
|
|
3603
3637
|
metadata: {
|
|
3604
3638
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3605
3639
|
banner_position: P + 1,
|
|
@@ -3608,54 +3642,54 @@ function jn({
|
|
|
3608
3642
|
tags: {
|
|
3609
3643
|
banner_type: "carousel",
|
|
3610
3644
|
banner_target: "_self",
|
|
3611
|
-
banner_url:
|
|
3645
|
+
banner_url: y.href || "no_url"
|
|
3612
3646
|
}
|
|
3613
3647
|
});
|
|
3614
|
-
},
|
|
3648
|
+
}, I = (y) => {
|
|
3615
3649
|
if (r({
|
|
3616
3650
|
element: "banner_menu_item",
|
|
3617
|
-
label: `${s} - OraculoSeccionBanners - Menu item click: ${
|
|
3618
|
-
target:
|
|
3651
|
+
label: `${s} - OraculoSeccionBanners - Menu item click: ${y.label || y.id}`,
|
|
3652
|
+
target: y.href || "action",
|
|
3619
3653
|
event_type: "click",
|
|
3620
|
-
module_id:
|
|
3654
|
+
module_id: d,
|
|
3621
3655
|
metadata: {
|
|
3622
3656
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3623
|
-
item_id:
|
|
3657
|
+
item_id: y.id
|
|
3624
3658
|
},
|
|
3625
3659
|
tags: {
|
|
3626
|
-
item_label:
|
|
3660
|
+
item_label: y.label || "no_label"
|
|
3627
3661
|
}
|
|
3628
|
-
}),
|
|
3629
|
-
|
|
3662
|
+
}), y.onClick) {
|
|
3663
|
+
y.onClick();
|
|
3630
3664
|
return;
|
|
3631
3665
|
}
|
|
3632
|
-
|
|
3633
|
-
},
|
|
3634
|
-
|
|
3666
|
+
y.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(y.href);
|
|
3667
|
+
}, U = 5e3, O = V(null), k = !c && ((R = e == null ? void 0 : e.length) != null ? R : 0) > 1, S = () => {
|
|
3668
|
+
O.current != null && (window.clearTimeout(O.current), O.current = null);
|
|
3635
3669
|
}, B = () => {
|
|
3636
|
-
|
|
3637
|
-
var
|
|
3638
|
-
|
|
3639
|
-
},
|
|
3670
|
+
S(), k && (O.current = window.setTimeout(() => {
|
|
3671
|
+
var y;
|
|
3672
|
+
u.current = !0, (y = p.current) == null || y.next();
|
|
3673
|
+
}, U));
|
|
3640
3674
|
};
|
|
3641
|
-
Q(() => (B(), () =>
|
|
3642
|
-
const
|
|
3675
|
+
Q(() => (B(), () => S()), [k, U]);
|
|
3676
|
+
const $ = (y) => {
|
|
3643
3677
|
var P;
|
|
3644
|
-
|
|
3645
|
-
},
|
|
3678
|
+
y.preventDefault(), y.stopPropagation(), S(), (P = p.current) == null || P.prev();
|
|
3679
|
+
}, w = (y) => {
|
|
3646
3680
|
var P;
|
|
3647
|
-
|
|
3648
|
-
},
|
|
3649
|
-
var W, G,
|
|
3650
|
-
const P = (
|
|
3681
|
+
y.preventDefault(), y.stopPropagation(), S(), (P = p.current) == null || P.next();
|
|
3682
|
+
}, E = (y) => {
|
|
3683
|
+
var W, G, X, ee;
|
|
3684
|
+
const P = (y % l + l) % l;
|
|
3651
3685
|
if (!f.current) return;
|
|
3652
|
-
const
|
|
3686
|
+
const D = (W = e == null ? void 0 : e[P]) != null && W.href ? ((X = (G = e[P].href) == null ? void 0 : G.split("/").pop()) == null ? void 0 : X.split(".")[0]) || `banner_${P + 1}` : `banner_${P + 1}`;
|
|
3653
3687
|
r({
|
|
3654
3688
|
element: "banner_carousel",
|
|
3655
|
-
label: `${s} - OraculoSeccionBanners - Banner view: Slide ${P + 1} - ${
|
|
3689
|
+
label: `${s} - OraculoSeccionBanners - Banner view: Slide ${P + 1} - ${D}`,
|
|
3656
3690
|
target: ((ee = e == null ? void 0 : e[P]) == null ? void 0 : ee.href) || "no_url",
|
|
3657
3691
|
event_type: "view",
|
|
3658
|
-
module_id:
|
|
3692
|
+
module_id: d,
|
|
3659
3693
|
metadata: {
|
|
3660
3694
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3661
3695
|
slide_index: P + 1,
|
|
@@ -3665,17 +3699,17 @@ function jn({
|
|
|
3665
3699
|
tags: { banner_position: String(P + 1) }
|
|
3666
3700
|
});
|
|
3667
3701
|
};
|
|
3668
|
-
return /* @__PURE__ */
|
|
3702
|
+
return /* @__PURE__ */ h(
|
|
3669
3703
|
Y,
|
|
3670
3704
|
{
|
|
3671
3705
|
component: "section",
|
|
3672
3706
|
sx: {
|
|
3673
3707
|
position: "relative",
|
|
3674
3708
|
overflow: "visible",
|
|
3675
|
-
pb:
|
|
3709
|
+
pb: b ? { xs: "40px", sm: 0 } : 0
|
|
3676
3710
|
},
|
|
3677
3711
|
children: [
|
|
3678
|
-
/* @__PURE__ */
|
|
3712
|
+
/* @__PURE__ */ h(
|
|
3679
3713
|
Y,
|
|
3680
3714
|
{
|
|
3681
3715
|
sx: {
|
|
@@ -3707,23 +3741,23 @@ function jn({
|
|
|
3707
3741
|
perPage: 1,
|
|
3708
3742
|
gap: "0px",
|
|
3709
3743
|
enableHorizontalWheel: !0,
|
|
3710
|
-
options:
|
|
3711
|
-
onMove: ({ index:
|
|
3712
|
-
const P = (
|
|
3744
|
+
options: _,
|
|
3745
|
+
onMove: ({ index: y }) => {
|
|
3746
|
+
const P = (y % l + l) % l;
|
|
3713
3747
|
i(P);
|
|
3714
|
-
const
|
|
3715
|
-
|
|
3748
|
+
const D = u.current;
|
|
3749
|
+
u.current = !1, B(), D || E(y);
|
|
3716
3750
|
},
|
|
3717
|
-
renderItem: (
|
|
3718
|
-
var
|
|
3719
|
-
return /* @__PURE__ */
|
|
3751
|
+
renderItem: (y, P) => {
|
|
3752
|
+
var D, W, G;
|
|
3753
|
+
return /* @__PURE__ */ h(
|
|
3720
3754
|
Y,
|
|
3721
3755
|
{
|
|
3722
3756
|
component: "a",
|
|
3723
|
-
href:
|
|
3724
|
-
target: (
|
|
3725
|
-
rel:
|
|
3726
|
-
onClick: () =>
|
|
3757
|
+
href: y.href,
|
|
3758
|
+
target: (D = y.target) != null ? D : "_self",
|
|
3759
|
+
rel: y.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
3760
|
+
onClick: () => v(y, P),
|
|
3727
3761
|
sx: {
|
|
3728
3762
|
position: "relative",
|
|
3729
3763
|
width: "100%",
|
|
@@ -3733,14 +3767,14 @@ function jn({
|
|
|
3733
3767
|
cursor: "pointer"
|
|
3734
3768
|
},
|
|
3735
3769
|
children: [
|
|
3736
|
-
/* @__PURE__ */
|
|
3737
|
-
/* @__PURE__ */ t("source", { srcSet:
|
|
3738
|
-
/* @__PURE__ */ t("source", { srcSet:
|
|
3770
|
+
/* @__PURE__ */ h(Y, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
|
|
3771
|
+
/* @__PURE__ */ t("source", { srcSet: y.desktopSrc, media: "(min-width:950px)" }),
|
|
3772
|
+
/* @__PURE__ */ t("source", { srcSet: y.mobileSrc, media: "(max-width:949px)" }),
|
|
3739
3773
|
/* @__PURE__ */ t(
|
|
3740
3774
|
Y,
|
|
3741
3775
|
{
|
|
3742
3776
|
component: "img",
|
|
3743
|
-
src: (G = (W =
|
|
3777
|
+
src: (G = (W = y.fallbackSrc) != null ? W : y.desktopSrc) != null ? G : "",
|
|
3744
3778
|
alt: "",
|
|
3745
3779
|
"aria-hidden": !0,
|
|
3746
3780
|
loading: "lazy",
|
|
@@ -3780,14 +3814,14 @@ function jn({
|
|
|
3780
3814
|
)
|
|
3781
3815
|
}
|
|
3782
3816
|
),
|
|
3783
|
-
|
|
3817
|
+
g && /* @__PURE__ */ h(me, { children: [
|
|
3784
3818
|
/* @__PURE__ */ t(
|
|
3785
|
-
|
|
3819
|
+
Ke,
|
|
3786
3820
|
{
|
|
3787
3821
|
"aria-label": "Anterior",
|
|
3788
|
-
onClick:
|
|
3822
|
+
onClick: $,
|
|
3789
3823
|
sx: {
|
|
3790
|
-
...
|
|
3824
|
+
...T,
|
|
3791
3825
|
left: "120px",
|
|
3792
3826
|
"@media (max-width:1024px)": { left: 24 },
|
|
3793
3827
|
"@media (max-width:786px)": { display: "none" }
|
|
@@ -3796,12 +3830,12 @@ function jn({
|
|
|
3796
3830
|
}
|
|
3797
3831
|
),
|
|
3798
3832
|
/* @__PURE__ */ t(
|
|
3799
|
-
|
|
3833
|
+
Ke,
|
|
3800
3834
|
{
|
|
3801
3835
|
"aria-label": "Siguiente",
|
|
3802
|
-
onClick:
|
|
3836
|
+
onClick: w,
|
|
3803
3837
|
sx: {
|
|
3804
|
-
...
|
|
3838
|
+
...T,
|
|
3805
3839
|
right: "120px",
|
|
3806
3840
|
"@media (max-width:1024px)": { right: 24 },
|
|
3807
3841
|
"@media (max-width:786px)": { display: "none" }
|
|
@@ -3823,11 +3857,11 @@ function jn({
|
|
|
3823
3857
|
zIndex: 2
|
|
3824
3858
|
},
|
|
3825
3859
|
children: /* @__PURE__ */ t(
|
|
3826
|
-
|
|
3860
|
+
ct,
|
|
3827
3861
|
{
|
|
3828
3862
|
total: l,
|
|
3829
3863
|
active: o,
|
|
3830
|
-
durationMs:
|
|
3864
|
+
durationMs: U
|
|
3831
3865
|
},
|
|
3832
3866
|
`${o}-${l}`
|
|
3833
3867
|
)
|
|
@@ -3836,7 +3870,7 @@ function jn({
|
|
|
3836
3870
|
]
|
|
3837
3871
|
}
|
|
3838
3872
|
),
|
|
3839
|
-
|
|
3873
|
+
b && /* @__PURE__ */ t(
|
|
3840
3874
|
Y,
|
|
3841
3875
|
{
|
|
3842
3876
|
sx: {
|
|
@@ -3854,7 +3888,7 @@ function jn({
|
|
|
3854
3888
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
3855
3889
|
zIndex: 3
|
|
3856
3890
|
},
|
|
3857
|
-
children: a == null ? void 0 : a.map((
|
|
3891
|
+
children: a == null ? void 0 : a.map((y) => /* @__PURE__ */ h(
|
|
3858
3892
|
Y,
|
|
3859
3893
|
{
|
|
3860
3894
|
sx: {
|
|
@@ -3866,7 +3900,7 @@ function jn({
|
|
|
3866
3900
|
gap: { xs: 0.5, md: 1 },
|
|
3867
3901
|
color: "#FFFFFF",
|
|
3868
3902
|
minWidth: 0,
|
|
3869
|
-
cursor:
|
|
3903
|
+
cursor: y.onClick || y.href ? "pointer" : "default",
|
|
3870
3904
|
whiteSpace: "nowrap",
|
|
3871
3905
|
"&::after": {
|
|
3872
3906
|
content: '""',
|
|
@@ -3890,7 +3924,7 @@ function jn({
|
|
|
3890
3924
|
opacity: 1,
|
|
3891
3925
|
transform: "scaleX(1)"
|
|
3892
3926
|
},
|
|
3893
|
-
...
|
|
3927
|
+
...y.iconHover && {
|
|
3894
3928
|
"&:hover .menu-icon-default": {
|
|
3895
3929
|
display: "none"
|
|
3896
3930
|
},
|
|
@@ -3899,9 +3933,9 @@ function jn({
|
|
|
3899
3933
|
}
|
|
3900
3934
|
}
|
|
3901
3935
|
},
|
|
3902
|
-
onClick: () =>
|
|
3936
|
+
onClick: () => I(y),
|
|
3903
3937
|
children: [
|
|
3904
|
-
|
|
3938
|
+
y.icon && /* @__PURE__ */ h(
|
|
3905
3939
|
Y,
|
|
3906
3940
|
{
|
|
3907
3941
|
sx: {
|
|
@@ -3915,8 +3949,8 @@ function jn({
|
|
|
3915
3949
|
Y,
|
|
3916
3950
|
{
|
|
3917
3951
|
component: "img",
|
|
3918
|
-
src:
|
|
3919
|
-
alt:
|
|
3952
|
+
src: y.icon,
|
|
3953
|
+
alt: y.label || `icon-${y.id}`,
|
|
3920
3954
|
className: "menu-icon-default",
|
|
3921
3955
|
sx: {
|
|
3922
3956
|
display: "block",
|
|
@@ -3928,12 +3962,12 @@ function jn({
|
|
|
3928
3962
|
}
|
|
3929
3963
|
}
|
|
3930
3964
|
),
|
|
3931
|
-
|
|
3965
|
+
y.iconHover && /* @__PURE__ */ t(
|
|
3932
3966
|
Y,
|
|
3933
3967
|
{
|
|
3934
3968
|
component: "img",
|
|
3935
|
-
src:
|
|
3936
|
-
alt:
|
|
3969
|
+
src: y.iconHover,
|
|
3970
|
+
alt: y.label || `icon-hover-${y.id}`,
|
|
3937
3971
|
className: "menu-icon-hover",
|
|
3938
3972
|
sx: {
|
|
3939
3973
|
display: "none",
|
|
@@ -3949,7 +3983,7 @@ function jn({
|
|
|
3949
3983
|
}
|
|
3950
3984
|
),
|
|
3951
3985
|
/* @__PURE__ */ t(
|
|
3952
|
-
|
|
3986
|
+
rt,
|
|
3953
3987
|
{
|
|
3954
3988
|
className: "menu-text",
|
|
3955
3989
|
sx: {
|
|
@@ -3958,12 +3992,12 @@ function jn({
|
|
|
3958
3992
|
color: "#E0E0E0",
|
|
3959
3993
|
textAlign: "center"
|
|
3960
3994
|
},
|
|
3961
|
-
children:
|
|
3995
|
+
children: y.label
|
|
3962
3996
|
}
|
|
3963
3997
|
)
|
|
3964
3998
|
]
|
|
3965
3999
|
},
|
|
3966
|
-
|
|
4000
|
+
y.id
|
|
3967
4001
|
))
|
|
3968
4002
|
}
|
|
3969
4003
|
)
|
|
@@ -3971,7 +4005,7 @@ function jn({
|
|
|
3971
4005
|
}
|
|
3972
4006
|
);
|
|
3973
4007
|
}
|
|
3974
|
-
const
|
|
4008
|
+
const Kn = [
|
|
3975
4009
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/IBK.svg", alt: "Interbank" },
|
|
3976
4010
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/Yape.svg", alt: "Yape" },
|
|
3977
4011
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/BCP.png", alt: "BCP" },
|
|
@@ -3980,14 +4014,14 @@ const Hn = [
|
|
|
3980
4014
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/monnet.svg", alt: "Monnet" },
|
|
3981
4015
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
|
|
3982
4016
|
];
|
|
3983
|
-
function
|
|
4017
|
+
function Zn({
|
|
3984
4018
|
title: e = "Medios de pago",
|
|
3985
|
-
items: a =
|
|
4019
|
+
items: a = Kn
|
|
3986
4020
|
}) {
|
|
3987
4021
|
const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
|
|
3988
|
-
return /* @__PURE__ */
|
|
4022
|
+
return /* @__PURE__ */ h(Y, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
3989
4023
|
/* @__PURE__ */ t(
|
|
3990
|
-
|
|
4024
|
+
rt,
|
|
3991
4025
|
{
|
|
3992
4026
|
id: "mp-title",
|
|
3993
4027
|
variant: "h6",
|
|
@@ -4014,7 +4048,7 @@ function Kn({
|
|
|
4014
4048
|
}
|
|
4015
4049
|
}
|
|
4016
4050
|
),
|
|
4017
|
-
/* @__PURE__ */
|
|
4051
|
+
/* @__PURE__ */ h(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
|
|
4018
4052
|
/* @__PURE__ */ t(
|
|
4019
4053
|
Oe,
|
|
4020
4054
|
{
|
|
@@ -4023,7 +4057,7 @@ function Kn({
|
|
|
4023
4057
|
alignItems: "center",
|
|
4024
4058
|
gap: { xs: 2, md: 3 },
|
|
4025
4059
|
flexWrap: "wrap",
|
|
4026
|
-
children: o.map((r, s) => /* @__PURE__ */ t(
|
|
4060
|
+
children: o.map((r, s) => /* @__PURE__ */ t(Ze, { ...r }, `${r.alt}-${r.src}-${s}`))
|
|
4027
4061
|
}
|
|
4028
4062
|
),
|
|
4029
4063
|
/* @__PURE__ */ t(
|
|
@@ -4034,17 +4068,17 @@ function Kn({
|
|
|
4034
4068
|
alignItems: "center",
|
|
4035
4069
|
gap: { xs: 2, md: 3 },
|
|
4036
4070
|
flexWrap: "wrap",
|
|
4037
|
-
children: i.map((r, s) => /* @__PURE__ */ t(
|
|
4071
|
+
children: i.map((r, s) => /* @__PURE__ */ t(Ze, { ...r }, `${r.alt}-${r.src}-${s}`))
|
|
4038
4072
|
}
|
|
4039
4073
|
)
|
|
4040
4074
|
] })
|
|
4041
4075
|
] });
|
|
4042
4076
|
}
|
|
4043
|
-
function
|
|
4077
|
+
function St({
|
|
4044
4078
|
children: e
|
|
4045
4079
|
}) {
|
|
4046
|
-
const a =
|
|
4047
|
-
() =>
|
|
4080
|
+
const a = zt(), n = fe.useMemo(
|
|
4081
|
+
() => At(a, {
|
|
4048
4082
|
typography: { fontFamily: "var(--orc-font)" },
|
|
4049
4083
|
components: {
|
|
4050
4084
|
MuiTypography: {
|
|
@@ -4056,31 +4090,31 @@ function wt({
|
|
|
4056
4090
|
}),
|
|
4057
4091
|
[a]
|
|
4058
4092
|
);
|
|
4059
|
-
return /* @__PURE__ */
|
|
4060
|
-
/* @__PURE__ */ t(
|
|
4093
|
+
return /* @__PURE__ */ h(Rt, { theme: n, children: [
|
|
4094
|
+
/* @__PURE__ */ t(Lt, {}),
|
|
4061
4095
|
e
|
|
4062
4096
|
] });
|
|
4063
4097
|
}
|
|
4064
|
-
function
|
|
4098
|
+
function _o({
|
|
4065
4099
|
docId: e = "Landing: home",
|
|
4066
4100
|
moduleId: a = 301,
|
|
4067
4101
|
children: n
|
|
4068
4102
|
}) {
|
|
4069
|
-
return /* @__PURE__ */ t(
|
|
4103
|
+
return /* @__PURE__ */ t(St, { children: /* @__PURE__ */ t(ht, { docId: e, moduleId: a, children: n }) });
|
|
4070
4104
|
}
|
|
4071
|
-
const
|
|
4072
|
-
OraculoSeccionDestacados:
|
|
4073
|
-
OraculoSeccionTopJuegos:
|
|
4074
|
-
OraculoSeccionCasinoEnVivo:
|
|
4075
|
-
OraculoSeccionCasino:
|
|
4076
|
-
OraculoSeccionVirtuales:
|
|
4077
|
-
OraculoSeccionClubOlimpo:
|
|
4078
|
-
OraculoSeccionBonoBienvenida:
|
|
4079
|
-
OraculoSeccionBanners:
|
|
4080
|
-
OraculoSeccionMediosPago:
|
|
4081
|
-
OraculoSeccionEventoEnVivo:
|
|
4082
|
-
OraculoSeccionEventoSemana:
|
|
4083
|
-
OraculoSeccionEventoCombinadas:
|
|
4105
|
+
const Jn = {
|
|
4106
|
+
OraculoSeccionDestacados: Za,
|
|
4107
|
+
OraculoSeccionTopJuegos: Ya,
|
|
4108
|
+
OraculoSeccionCasinoEnVivo: dn,
|
|
4109
|
+
OraculoSeccionCasino: pn,
|
|
4110
|
+
OraculoSeccionVirtuales: bn,
|
|
4111
|
+
OraculoSeccionClubOlimpo: yn,
|
|
4112
|
+
OraculoSeccionBonoBienvenida: _n,
|
|
4113
|
+
OraculoSeccionBanners: Hn,
|
|
4114
|
+
OraculoSeccionMediosPago: Zn,
|
|
4115
|
+
OraculoSeccionEventoEnVivo: An,
|
|
4116
|
+
OraculoSeccionEventoSemana: jn,
|
|
4117
|
+
OraculoSeccionEventoCombinadas: En
|
|
4084
4118
|
}, qe = {
|
|
4085
4119
|
sections: [
|
|
4086
4120
|
{
|
|
@@ -5265,13 +5299,13 @@ const Zn = {
|
|
|
5265
5299
|
componentKey: "OraculoSeccionMediosPago"
|
|
5266
5300
|
}
|
|
5267
5301
|
]
|
|
5268
|
-
}, Xn = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e,
|
|
5302
|
+
}, Xn = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, Yn = (e) => /^OraculoSeccion[A-Z]/.test(e);
|
|
5269
5303
|
function Ce(e) {
|
|
5270
5304
|
return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
|
|
5271
5305
|
var o, i;
|
|
5272
5306
|
return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
|
|
5273
5307
|
}).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
|
|
5274
|
-
var o, i, r, s,
|
|
5308
|
+
var o, i, r, s, d;
|
|
5275
5309
|
return {
|
|
5276
5310
|
id: (o = a.id) != null ? o : n + 1,
|
|
5277
5311
|
title: (i = a.title) != null ? i : "",
|
|
@@ -5279,7 +5313,7 @@ function Ce(e) {
|
|
|
5279
5313
|
visible: (r = a.visible) != null ? r : !0,
|
|
5280
5314
|
order: n + 1,
|
|
5281
5315
|
props: (s = a.props) != null ? s : {},
|
|
5282
|
-
apiUrl: (
|
|
5316
|
+
apiUrl: (d = a.apiUrl) != null ? d : "",
|
|
5283
5317
|
dataMode: a.dataMode,
|
|
5284
5318
|
variableName: a.variableName,
|
|
5285
5319
|
manualItems: a.manualItems,
|
|
@@ -5291,23 +5325,23 @@ function Ce(e) {
|
|
|
5291
5325
|
};
|
|
5292
5326
|
}) : [];
|
|
5293
5327
|
}
|
|
5294
|
-
const
|
|
5295
|
-
Object.entries(
|
|
5296
|
-
([e, a]) =>
|
|
5328
|
+
const Qn = Object.fromEntries(
|
|
5329
|
+
Object.entries(Jn).filter(
|
|
5330
|
+
([e, a]) => Yn(e) && Xn(a)
|
|
5297
5331
|
)
|
|
5298
|
-
),
|
|
5332
|
+
), eo = (e) => {
|
|
5299
5333
|
try {
|
|
5300
5334
|
return Object.fromEntries(e != null ? e : []);
|
|
5301
5335
|
} catch {
|
|
5302
5336
|
return console.warn("[oraculo] extras inválidos. Debe ser Array<[string, unknown]>", e), {};
|
|
5303
5337
|
}
|
|
5304
5338
|
};
|
|
5305
|
-
class
|
|
5339
|
+
class nt extends Error {
|
|
5306
5340
|
constructor(a, n, o) {
|
|
5307
5341
|
super(`HTTP ${a} ${o}`), this.status = a, this.url = n, this.statusText = o, this.name = "HttpError";
|
|
5308
5342
|
}
|
|
5309
5343
|
}
|
|
5310
|
-
class
|
|
5344
|
+
class to extends fe.Component {
|
|
5311
5345
|
constructor(a) {
|
|
5312
5346
|
super(a), this.state = { hasError: !1 };
|
|
5313
5347
|
}
|
|
@@ -5327,11 +5361,11 @@ class eo extends fe.Component {
|
|
|
5327
5361
|
return this.state.hasError ? null : this.props.children;
|
|
5328
5362
|
}
|
|
5329
5363
|
}
|
|
5330
|
-
const
|
|
5364
|
+
const ot = [
|
|
5331
5365
|
"OraculoSeccionEventoEnVivo",
|
|
5332
5366
|
"OraculoSeccionEventoSemana",
|
|
5333
5367
|
"OraculoSeccionEventoCombinadas"
|
|
5334
|
-
],
|
|
5368
|
+
], yo = ({
|
|
5335
5369
|
sectionsOverride: e,
|
|
5336
5370
|
docId: a = "Landing: home",
|
|
5337
5371
|
moduleId: n = 301,
|
|
@@ -5340,192 +5374,192 @@ const nt = [
|
|
|
5340
5374
|
loader: r,
|
|
5341
5375
|
disableWrapper: s = !1
|
|
5342
5376
|
}) => {
|
|
5343
|
-
const
|
|
5377
|
+
const d = re(() => eo(i), [i]), p = r || d.loader, [f, u] = K([]), [l, c] = K(!1), [g, b] = K({}), [x, T] = K({}), [_, v] = K({}), I = Ue("(min-width:1024px)"), U = re(
|
|
5344
5378
|
() => Ce(qe),
|
|
5345
5379
|
[]
|
|
5346
|
-
),
|
|
5347
|
-
(
|
|
5348
|
-
),
|
|
5349
|
-
const
|
|
5350
|
-
return
|
|
5351
|
-
}, [
|
|
5352
|
-
const
|
|
5353
|
-
if (!Array.isArray(
|
|
5354
|
-
const
|
|
5380
|
+
), O = (m) => U.find(
|
|
5381
|
+
(C) => C.id === m.id || C.componentKey === m.componentKey
|
|
5382
|
+
), k = (m) => Array.isArray(m) ? m.map((C) => Number(C)).filter((C) => !Number.isNaN(C)) : [], S = re(() => {
|
|
5383
|
+
const m = d.user;
|
|
5384
|
+
return k(m == null ? void 0 : m.groups);
|
|
5385
|
+
}, [d]), B = (m) => {
|
|
5386
|
+
const C = m.manualScalarFields;
|
|
5387
|
+
if (!Array.isArray(C)) return [];
|
|
5388
|
+
const N = C.find(
|
|
5355
5389
|
(F) => String((F == null ? void 0 : F.name) || "").trim().toLowerCase() === "groups"
|
|
5356
5390
|
);
|
|
5357
|
-
if (
|
|
5358
|
-
const
|
|
5359
|
-
if (
|
|
5360
|
-
if (Array.isArray(
|
|
5361
|
-
return
|
|
5362
|
-
const z = String(
|
|
5391
|
+
if (!N) return [];
|
|
5392
|
+
const M = N.value;
|
|
5393
|
+
if (M == null) return [];
|
|
5394
|
+
if (Array.isArray(M))
|
|
5395
|
+
return M.map((F) => Number(String(F).trim())).filter((F) => !Number.isNaN(F));
|
|
5396
|
+
const z = String(M).trim();
|
|
5363
5397
|
return z ? z.split(",").map((F) => Number(F.trim())).filter((F) => !Number.isNaN(F)) : [];
|
|
5364
|
-
},
|
|
5365
|
-
const
|
|
5366
|
-
if (
|
|
5367
|
-
if (!Array.isArray(
|
|
5368
|
-
const
|
|
5369
|
-
return
|
|
5398
|
+
}, $ = (m, C) => {
|
|
5399
|
+
const N = B(m);
|
|
5400
|
+
if (N.length === 0) return !0;
|
|
5401
|
+
if (!Array.isArray(C) || C.length === 0) return !1;
|
|
5402
|
+
const M = new Set(C);
|
|
5403
|
+
return N.some((z) => M.has(z));
|
|
5370
5404
|
};
|
|
5371
5405
|
Q(() => {
|
|
5372
5406
|
if (e) return;
|
|
5373
5407
|
if (!o) {
|
|
5374
|
-
console.warn("[landing] sin db -> fallback json"),
|
|
5408
|
+
console.warn("[landing] sin db -> fallback json"), u(Ce(qe));
|
|
5375
5409
|
return;
|
|
5376
5410
|
}
|
|
5377
|
-
const
|
|
5378
|
-
console.warn("[landing] FALLBACK:",
|
|
5411
|
+
const m = (N, M) => {
|
|
5412
|
+
console.warn("[landing] FALLBACK:", N, M != null ? M : ""), u(Ce(qe)), c(!1);
|
|
5379
5413
|
};
|
|
5380
5414
|
if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
|
|
5381
|
-
c(!0),
|
|
5415
|
+
c(!0), m("forzado por env");
|
|
5382
5416
|
return;
|
|
5383
5417
|
}
|
|
5384
5418
|
c(!0);
|
|
5385
|
-
const
|
|
5386
|
-
|
|
5387
|
-
(
|
|
5419
|
+
const C = Pt(
|
|
5420
|
+
Ft(o, "landings", a),
|
|
5421
|
+
(N) => {
|
|
5388
5422
|
try {
|
|
5389
|
-
if (
|
|
5390
|
-
|
|
5423
|
+
if (!N.exists()) {
|
|
5424
|
+
m(`doc landings/${a} no existe`);
|
|
5391
5425
|
return;
|
|
5392
5426
|
}
|
|
5393
|
-
const
|
|
5427
|
+
const M = N.data(), z = Ce(M);
|
|
5394
5428
|
if (!z.length) {
|
|
5395
|
-
|
|
5429
|
+
m("JSON inválido o sin secciones normalizables", M);
|
|
5396
5430
|
return;
|
|
5397
5431
|
}
|
|
5398
|
-
console.log("[landing] Firestore OK (json grande):",
|
|
5399
|
-
} catch (
|
|
5400
|
-
|
|
5432
|
+
console.log("[landing] Firestore OK (json grande):", M), u(z);
|
|
5433
|
+
} catch (M) {
|
|
5434
|
+
m("error procesando snapshot", M);
|
|
5401
5435
|
} finally {
|
|
5402
5436
|
c(!1);
|
|
5403
5437
|
}
|
|
5404
5438
|
},
|
|
5405
|
-
(
|
|
5406
|
-
|
|
5439
|
+
(N) => {
|
|
5440
|
+
m("error onSnapshot", N);
|
|
5407
5441
|
}
|
|
5408
5442
|
);
|
|
5409
|
-
return () =>
|
|
5410
|
-
}, [e, a, o]), Q(() => (
|
|
5411
|
-
(e ? e.slice() : f.slice()).map((
|
|
5443
|
+
return () => C();
|
|
5444
|
+
}, [e, a, o]), Q(() => (Ja(d), () => Xa()), [d]), Q(() => {
|
|
5445
|
+
(e ? e.slice() : f.slice()).map((N) => N.componentKey).filter((N) => !!N).length;
|
|
5412
5446
|
}, [e, f]);
|
|
5413
|
-
const
|
|
5414
|
-
if (
|
|
5447
|
+
const w = async (m) => {
|
|
5448
|
+
if (ot.includes(m.componentKey))
|
|
5415
5449
|
return {
|
|
5416
5450
|
items: [],
|
|
5417
5451
|
events: [],
|
|
5418
5452
|
data: {}
|
|
5419
5453
|
};
|
|
5420
|
-
const
|
|
5421
|
-
if (!
|
|
5422
|
-
const
|
|
5423
|
-
let z =
|
|
5424
|
-
if (
|
|
5454
|
+
const C = (m.apiUrl || "").trim();
|
|
5455
|
+
if (!C) return;
|
|
5456
|
+
const N = m.apiMethod || "GET", M = m.apiParams || [];
|
|
5457
|
+
let z = C, F, Z;
|
|
5458
|
+
if (N === "GET") {
|
|
5425
5459
|
const ie = new URL(
|
|
5426
|
-
|
|
5460
|
+
C,
|
|
5427
5461
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
5428
5462
|
);
|
|
5429
|
-
for (const oe of
|
|
5463
|
+
for (const oe of M)
|
|
5430
5464
|
oe.key && ie.searchParams.append(oe.key, oe.value);
|
|
5431
5465
|
z = ie.toString();
|
|
5432
5466
|
} else {
|
|
5433
5467
|
const ie = new URLSearchParams();
|
|
5434
|
-
for (const oe of
|
|
5468
|
+
for (const oe of M)
|
|
5435
5469
|
oe.key && ie.append(oe.key, oe.value);
|
|
5436
5470
|
F = ie.toString(), Z = {
|
|
5437
5471
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
5438
5472
|
};
|
|
5439
5473
|
}
|
|
5440
5474
|
const te = await fetch(z, {
|
|
5441
|
-
method:
|
|
5475
|
+
method: N,
|
|
5442
5476
|
headers: Z,
|
|
5443
5477
|
body: F
|
|
5444
5478
|
});
|
|
5445
|
-
if (!te.ok) throw new
|
|
5479
|
+
if (!te.ok) throw new nt(te.status, z, te.statusText);
|
|
5446
5480
|
return te.json();
|
|
5447
|
-
},
|
|
5481
|
+
}, E = re(
|
|
5448
5482
|
() => e ? e.slice() : f.slice(),
|
|
5449
5483
|
[e, f]
|
|
5450
5484
|
), L = fe.useRef(/* @__PURE__ */ new Set());
|
|
5451
5485
|
Q(() => {
|
|
5452
|
-
const
|
|
5453
|
-
if (
|
|
5454
|
-
for (const { s:
|
|
5455
|
-
const
|
|
5456
|
-
L.current.has(
|
|
5486
|
+
const m = E.map((C) => ({ s: C, url: (C.apiUrl || "").trim() })).filter(({ url: C }) => !!C);
|
|
5487
|
+
if (m.length)
|
|
5488
|
+
for (const { s: C, url: N } of m) {
|
|
5489
|
+
const M = `${C.id}|${N}`;
|
|
5490
|
+
L.current.has(M) || (L.current.add(M), T((z) => ({ ...z, [C.id]: !0 })), v((z) => ({ ...z, [C.id]: "" })), (async () => {
|
|
5457
5491
|
try {
|
|
5458
|
-
const z = await
|
|
5459
|
-
|
|
5492
|
+
const z = await w(C);
|
|
5493
|
+
b((F) => ({ ...F, [C.id]: z }));
|
|
5460
5494
|
} catch (z) {
|
|
5461
5495
|
let F = "Error desconocido";
|
|
5462
|
-
z instanceof
|
|
5496
|
+
z instanceof nt ? F = `Error HTTP ${z.status} (${z.statusText}) en ${z.url}` : z instanceof SyntaxError ? F = "Respuesta no es JSON válido" : z instanceof TypeError ? F = "Fallo de red / CORS / conexión" : typeof z == "string" && (F = z.toString()), v((Z) => ({ ...Z, [C.id]: F }));
|
|
5463
5497
|
} finally {
|
|
5464
|
-
|
|
5498
|
+
T((z) => ({ ...z, [C.id]: !1 }));
|
|
5465
5499
|
}
|
|
5466
5500
|
})());
|
|
5467
5501
|
}
|
|
5468
|
-
}, [
|
|
5502
|
+
}, [E]);
|
|
5469
5503
|
const A = re(
|
|
5470
|
-
() =>
|
|
5471
|
-
[
|
|
5472
|
-
), R = (
|
|
5473
|
-
const
|
|
5474
|
-
for (const
|
|
5475
|
-
const z = (
|
|
5504
|
+
() => E.filter((m) => m.visible).filter((m) => $(m, S)).sort((m, C) => m.order - C.order),
|
|
5505
|
+
[E, S]
|
|
5506
|
+
), R = (m) => Array.isArray(m) ? m.map((C) => {
|
|
5507
|
+
const N = {};
|
|
5508
|
+
for (const M of C.fields || []) {
|
|
5509
|
+
const z = (M.type || "string").toLowerCase();
|
|
5476
5510
|
if (z === "number") {
|
|
5477
|
-
const F = String(
|
|
5511
|
+
const F = String(M.value || "").trim();
|
|
5478
5512
|
if (F !== "") {
|
|
5479
5513
|
const Z = Number(F);
|
|
5480
|
-
Number.isNaN(Z) || (
|
|
5514
|
+
Number.isNaN(Z) || (N[M.name] = Z);
|
|
5481
5515
|
}
|
|
5482
5516
|
} else if (z === "boolean")
|
|
5483
|
-
|
|
5517
|
+
N[M.name] = String(M.value).toLowerCase() === "true";
|
|
5484
5518
|
else if (z === "function") {
|
|
5485
|
-
const F = String(
|
|
5519
|
+
const F = String(M.value || "").trim();
|
|
5486
5520
|
if (F)
|
|
5487
5521
|
try {
|
|
5488
5522
|
const Z = new Function(F);
|
|
5489
|
-
|
|
5523
|
+
N[M.name] = Z;
|
|
5490
5524
|
} catch (Z) {
|
|
5491
|
-
console.error(`❌ Error creando función en item '${
|
|
5525
|
+
console.error(`❌ Error creando función en item '${M.name}':`, Z);
|
|
5492
5526
|
}
|
|
5493
5527
|
} else
|
|
5494
|
-
|
|
5528
|
+
N[M.name] = M.value;
|
|
5495
5529
|
}
|
|
5496
|
-
return
|
|
5497
|
-
}) : [],
|
|
5498
|
-
const
|
|
5499
|
-
if (!Array.isArray(
|
|
5500
|
-
for (const
|
|
5501
|
-
if (
|
|
5502
|
-
const
|
|
5503
|
-
if (
|
|
5504
|
-
const z = String(
|
|
5530
|
+
return N;
|
|
5531
|
+
}) : [], y = (m) => {
|
|
5532
|
+
const C = {};
|
|
5533
|
+
if (!Array.isArray(m)) return C;
|
|
5534
|
+
for (const N of m) {
|
|
5535
|
+
if (!N.name) continue;
|
|
5536
|
+
const M = (N.type || "string").toLowerCase();
|
|
5537
|
+
if (M === "number") {
|
|
5538
|
+
const z = String(N.value || "").trim();
|
|
5505
5539
|
if (z !== "") {
|
|
5506
5540
|
const F = Number(z);
|
|
5507
|
-
Number.isNaN(F) || (
|
|
5541
|
+
Number.isNaN(F) || (C[N.name] = F);
|
|
5508
5542
|
}
|
|
5509
|
-
} else if (
|
|
5510
|
-
|
|
5511
|
-
else if (
|
|
5512
|
-
const z = String(
|
|
5543
|
+
} else if (M === "boolean")
|
|
5544
|
+
C[N.name] = String(N.value).toLowerCase() === "true";
|
|
5545
|
+
else if (M === "function") {
|
|
5546
|
+
const z = String(N.value || "").trim();
|
|
5513
5547
|
if (z)
|
|
5514
5548
|
try {
|
|
5515
5549
|
const F = new Function(z);
|
|
5516
|
-
|
|
5550
|
+
C[N.name] = F;
|
|
5517
5551
|
} catch (F) {
|
|
5518
|
-
console.error(`❌ Error creando función en item '${
|
|
5552
|
+
console.error(`❌ Error creando función en item '${N.name}':`, F);
|
|
5519
5553
|
}
|
|
5520
5554
|
} else
|
|
5521
|
-
|
|
5555
|
+
C[N.name] = N.value;
|
|
5522
5556
|
}
|
|
5523
|
-
return
|
|
5524
|
-
}, P = (
|
|
5525
|
-
const z =
|
|
5526
|
-
if (
|
|
5527
|
-
return z[F] =
|
|
5528
|
-
const Z =
|
|
5557
|
+
return C;
|
|
5558
|
+
}, P = (m, C, N, M) => {
|
|
5559
|
+
const z = N ? { ...N } : {}, F = (M || "items").trim() || "items";
|
|
5560
|
+
if (C)
|
|
5561
|
+
return z[F] = C.arr || [], z;
|
|
5562
|
+
const Z = m;
|
|
5529
5563
|
if (Array.isArray(Z))
|
|
5530
5564
|
return z[F] = Z, z;
|
|
5531
5565
|
if (Z && typeof Z == "object") {
|
|
@@ -5533,69 +5567,69 @@ const nt = [
|
|
|
5533
5567
|
return Array.isArray(te.lobby) ? (z[F] = te.lobby, z) : Array.isArray(te.items) ? (z[F] = te.items, z) : (z[F] = Z, z);
|
|
5534
5568
|
}
|
|
5535
5569
|
return z[F] = [], z;
|
|
5536
|
-
},
|
|
5570
|
+
}, D = (m) => {
|
|
5537
5571
|
var F;
|
|
5538
|
-
const
|
|
5539
|
-
let
|
|
5540
|
-
const z =
|
|
5541
|
-
if (
|
|
5542
|
-
return { items:
|
|
5543
|
-
if (
|
|
5544
|
-
|
|
5545
|
-
else if (
|
|
5546
|
-
const Z = R(
|
|
5547
|
-
if (
|
|
5572
|
+
const C = !!((F = m.apiUrl) != null && F.trim()), N = C ? g[m.id] : void 0;
|
|
5573
|
+
let M = m.props ? { ...m.props } : {};
|
|
5574
|
+
const z = y(m.manualScalarFields);
|
|
5575
|
+
if (ot.includes(m.componentKey))
|
|
5576
|
+
return { items: N, ...M, ...z };
|
|
5577
|
+
if (M = { ...M, ...z }, C)
|
|
5578
|
+
M = P(N, null, M);
|
|
5579
|
+
else if (m.dataMode === "manual") {
|
|
5580
|
+
const Z = R(m.manualItems);
|
|
5581
|
+
if (M = P(
|
|
5548
5582
|
null,
|
|
5549
|
-
{ arr: Z, variableName:
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
),
|
|
5553
|
-
const te = R(
|
|
5554
|
-
|
|
5583
|
+
{ arr: Z, variableName: m.variableName },
|
|
5584
|
+
M,
|
|
5585
|
+
m.variableName
|
|
5586
|
+
), m.variableName2 && m.manualItems2) {
|
|
5587
|
+
const te = R(m.manualItems2), ie = (m.variableName2 || "items2").trim() || "items2";
|
|
5588
|
+
M[ie] = te;
|
|
5555
5589
|
}
|
|
5556
5590
|
}
|
|
5557
|
-
return
|
|
5558
|
-
}, W = (
|
|
5559
|
-
const
|
|
5591
|
+
return M;
|
|
5592
|
+
}, W = (m) => {
|
|
5593
|
+
const C = m.props ? { ...m.props } : {};
|
|
5560
5594
|
try {
|
|
5561
|
-
Object.assign(
|
|
5562
|
-
} catch (
|
|
5563
|
-
console.error("❌ Error armando scalars vacíos:",
|
|
5595
|
+
Object.assign(C, y(m.manualScalarFields));
|
|
5596
|
+
} catch (M) {
|
|
5597
|
+
console.error("❌ Error armando scalars vacíos:", m, M);
|
|
5564
5598
|
}
|
|
5565
|
-
const
|
|
5566
|
-
if (typeof
|
|
5567
|
-
const
|
|
5568
|
-
typeof
|
|
5599
|
+
const N = (m.variableName || "items").trim() || "items";
|
|
5600
|
+
if (typeof C[N] == "undefined" && (C[N] = []), m.variableName2) {
|
|
5601
|
+
const M = (m.variableName2 || "items2").trim() || "items2";
|
|
5602
|
+
typeof C[M] == "undefined" && (C[M] = []);
|
|
5569
5603
|
}
|
|
5570
|
-
return
|
|
5571
|
-
}, G = (
|
|
5604
|
+
return C;
|
|
5605
|
+
}, G = (m) => {
|
|
5572
5606
|
try {
|
|
5573
|
-
return
|
|
5574
|
-
} catch (
|
|
5575
|
-
console.error("🔥 ERROR EN buildCompProps:",
|
|
5576
|
-
const
|
|
5577
|
-
if (
|
|
5607
|
+
return D(m);
|
|
5608
|
+
} catch (C) {
|
|
5609
|
+
console.error("🔥 ERROR EN buildCompProps:", m, C);
|
|
5610
|
+
const N = O(m);
|
|
5611
|
+
if (N && N !== m)
|
|
5578
5612
|
try {
|
|
5579
5613
|
return console.warn(
|
|
5580
|
-
`[landing] usando fallback local para sección ${
|
|
5581
|
-
),
|
|
5582
|
-
} catch (
|
|
5583
|
-
console.error("🔥 ERROR EN fallback buildCompProps:",
|
|
5614
|
+
`[landing] usando fallback local para sección ${m.title} (${m.componentKey})`
|
|
5615
|
+
), D(N);
|
|
5616
|
+
} catch (M) {
|
|
5617
|
+
console.error("🔥 ERROR EN fallback buildCompProps:", N, M);
|
|
5584
5618
|
}
|
|
5585
|
-
return W(
|
|
5619
|
+
return W(m);
|
|
5586
5620
|
}
|
|
5587
|
-
},
|
|
5621
|
+
}, X = (m, C, N) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
|
|
5588
5622
|
loading: "bg-blue-100 text-blue-800",
|
|
5589
5623
|
error: "bg-red-100 text-red-800",
|
|
5590
5624
|
component: "bg-yellow-100 text-yellow-800"
|
|
5591
|
-
}[
|
|
5592
|
-
var
|
|
5593
|
-
const
|
|
5625
|
+
}[C]}`, children: N }, m), ee = (m) => {
|
|
5626
|
+
var He;
|
|
5627
|
+
const C = m.componentKey, N = Qn[C], z = (/* @__PURE__ */ new Set([
|
|
5594
5628
|
"OraculoSeccionBanners",
|
|
5595
5629
|
"OraculoSeccionBonoBienvenida",
|
|
5596
5630
|
"OraculoSeccionCasinoEnVivo",
|
|
5597
5631
|
"OraculoSeccionClubOlimpo",
|
|
5598
|
-
...
|
|
5632
|
+
...I ? [] : [
|
|
5599
5633
|
"OraculoSeccionEventoEnVivo",
|
|
5600
5634
|
"OraculoSeccionEventoSemana",
|
|
5601
5635
|
"OraculoSeccionEventoCombinadas",
|
|
@@ -5603,7 +5637,7 @@ const nt = [
|
|
|
5603
5637
|
"OraculoSeccionDestacados",
|
|
5604
5638
|
"OraculoSeccionCasino"
|
|
5605
5639
|
]
|
|
5606
|
-
])).has(
|
|
5640
|
+
])).has(m.componentKey), F = I ? 120 : 24, Z = (I ? 8 : 5) * 8, te = m.componentKey === "OraculoSeccionCasinoEnVivo", ie = {
|
|
5607
5641
|
width: "100%",
|
|
5608
5642
|
boxSizing: "border-box",
|
|
5609
5643
|
...z ? {} : { paddingLeft: F, paddingRight: F },
|
|
@@ -5612,26 +5646,26 @@ const nt = [
|
|
|
5612
5646
|
marginBottom: -Z
|
|
5613
5647
|
} : {}
|
|
5614
5648
|
};
|
|
5615
|
-
if (
|
|
5616
|
-
return console.warn(`No hay componente registrado para "${
|
|
5617
|
-
|
|
5649
|
+
if (!N)
|
|
5650
|
+
return console.warn(`No hay componente registrado para "${C}"`), X(
|
|
5651
|
+
m.id,
|
|
5618
5652
|
"component",
|
|
5619
|
-
`Componente "${
|
|
5653
|
+
`Componente "${C}" no encontrado`
|
|
5620
5654
|
);
|
|
5621
|
-
const oe = !!((
|
|
5655
|
+
const oe = !!((He = m.apiUrl) != null && He.trim()), We = oe ? g[m.id] : void 0, It = oe ? !!x[m.id] : !1, Ge = oe ? _[m.id] : "";
|
|
5622
5656
|
if (oe) {
|
|
5623
|
-
if (
|
|
5624
|
-
return
|
|
5625
|
-
|
|
5657
|
+
if (It && !We)
|
|
5658
|
+
return X(
|
|
5659
|
+
m.id,
|
|
5626
5660
|
"loading",
|
|
5627
|
-
`Cargando datos desde ${
|
|
5661
|
+
`Cargando datos desde ${m.apiUrl}...`
|
|
5628
5662
|
);
|
|
5629
5663
|
if (Ge && !We) {
|
|
5630
|
-
const we =
|
|
5664
|
+
const we = O(m);
|
|
5631
5665
|
if (we && we.dataMode === "manual")
|
|
5632
5666
|
try {
|
|
5633
5667
|
const Re = G(we);
|
|
5634
|
-
return /* @__PURE__ */ t("div", { style: ie, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(
|
|
5668
|
+
return /* @__PURE__ */ t("div", { style: ie, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(N, { ...Re }) }, m.id);
|
|
5635
5669
|
} catch (Re) {
|
|
5636
5670
|
console.error(
|
|
5637
5671
|
"🔥 ERROR renderizando fallback manual de sección:",
|
|
@@ -5639,26 +5673,29 @@ const nt = [
|
|
|
5639
5673
|
Re
|
|
5640
5674
|
);
|
|
5641
5675
|
}
|
|
5642
|
-
return
|
|
5643
|
-
|
|
5676
|
+
return X(
|
|
5677
|
+
m.id,
|
|
5644
5678
|
"error",
|
|
5645
|
-
`Error cargando ${
|
|
5679
|
+
`Error cargando ${m.apiUrl}: ${Ge}`
|
|
5646
5680
|
);
|
|
5647
5681
|
}
|
|
5648
5682
|
}
|
|
5649
|
-
const
|
|
5650
|
-
|
|
5683
|
+
const je = G(m), Ct = m.componentKey === "OraculoSeccionClubOlimpo" ? {
|
|
5684
|
+
...je,
|
|
5685
|
+
user: d.user
|
|
5686
|
+
} : je;
|
|
5687
|
+
return /* @__PURE__ */ t(to, { section: m, children: /* @__PURE__ */ t(
|
|
5651
5688
|
"div",
|
|
5652
5689
|
{
|
|
5653
5690
|
style: ie,
|
|
5654
5691
|
className: "oraculo-section-wrapper",
|
|
5655
|
-
children: /* @__PURE__ */ t(
|
|
5692
|
+
children: /* @__PURE__ */ t(N, { ...Ct })
|
|
5656
5693
|
},
|
|
5657
|
-
|
|
5694
|
+
m.id
|
|
5658
5695
|
) });
|
|
5659
5696
|
};
|
|
5660
|
-
return l && !e ? p ? /* @__PURE__ */ t(p, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !l && !e && f.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(
|
|
5661
|
-
|
|
5697
|
+
return l && !e ? p ? /* @__PURE__ */ t(p, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !l && !e && f.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(St, { children: /* @__PURE__ */ t(ht, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
|
|
5698
|
+
Ot,
|
|
5662
5699
|
{
|
|
5663
5700
|
className: "oli-font",
|
|
5664
5701
|
maxWidth: !1,
|
|
@@ -5671,56 +5708,56 @@ const nt = [
|
|
|
5671
5708
|
maxWidth: "100%",
|
|
5672
5709
|
overflowX: "hidden"
|
|
5673
5710
|
},
|
|
5674
|
-
children: /* @__PURE__ */ t(Oe, { direction: "column", spacing:
|
|
5711
|
+
children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: I ? 8 : 5, useFlexGap: !0, children: A.map((m) => {
|
|
5675
5712
|
try {
|
|
5676
|
-
return ee(
|
|
5677
|
-
} catch (
|
|
5678
|
-
return console.error("🔥 ERROR EN SECTION:",
|
|
5713
|
+
return ee(m);
|
|
5714
|
+
} catch (C) {
|
|
5715
|
+
return console.error("🔥 ERROR EN SECTION:", m, C), null;
|
|
5679
5716
|
}
|
|
5680
5717
|
}) })
|
|
5681
5718
|
}
|
|
5682
5719
|
) }) });
|
|
5683
5720
|
};
|
|
5684
5721
|
export {
|
|
5685
|
-
|
|
5686
|
-
|
|
5722
|
+
ht as DocIdProvider,
|
|
5723
|
+
J as OraculoButton,
|
|
5687
5724
|
he as OraculoCarousel,
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5725
|
+
ct as OraculoCarouselDots,
|
|
5726
|
+
wa as OraculoClubOlimpoVisual,
|
|
5727
|
+
Aa as OraculoEventCombinadasCard,
|
|
5728
|
+
qa as OraculoEventEnVivoCard,
|
|
5729
|
+
jt as OraculoEventHeader,
|
|
5730
|
+
dt as OraculoEventLabel,
|
|
5731
|
+
ut as OraculoEventLeague,
|
|
5732
|
+
mt as OraculoEventScore,
|
|
5733
|
+
Ka as OraculoEventSemanaCard,
|
|
5734
|
+
Gt as OraculoEventStatus,
|
|
5735
|
+
Wt as OraculoEventStatusBadge,
|
|
5699
5736
|
Ne as OraculoEventTeamInfo,
|
|
5700
5737
|
Te as OraculoGameCard,
|
|
5701
|
-
|
|
5702
|
-
|
|
5738
|
+
ya as OraculoGameRankCard,
|
|
5739
|
+
pt as OraculoGameSlide,
|
|
5703
5740
|
ue as OraculoGridGroup,
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5741
|
+
xa as OraculoLiveCasinoCard,
|
|
5742
|
+
Ze as OraculoLogoMediosPago,
|
|
5743
|
+
yo as OraculoPageLandingPreview,
|
|
5744
|
+
Hn as OraculoSeccionBanners,
|
|
5745
|
+
_n as OraculoSeccionBonoBienvenida,
|
|
5746
|
+
pn as OraculoSeccionCasino,
|
|
5747
|
+
dn as OraculoSeccionCasinoEnVivo,
|
|
5748
|
+
yn as OraculoSeccionClubOlimpo,
|
|
5749
|
+
Za as OraculoSeccionDestacados,
|
|
5750
|
+
En as OraculoSeccionEventoCombinadas,
|
|
5751
|
+
An as OraculoSeccionEventoEnVivo,
|
|
5752
|
+
jn as OraculoSeccionEventoSemana,
|
|
5753
|
+
Zn as OraculoSeccionMediosPago,
|
|
5754
|
+
Ya as OraculoSeccionTopJuegos,
|
|
5755
|
+
bn as OraculoSeccionVirtuales,
|
|
5756
|
+
_o as OraculoSectionHost,
|
|
5720
5757
|
ge as OraculoSectionTitle,
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5758
|
+
St as OraculoThemeProvider,
|
|
5759
|
+
Ya as OraculoTopJuegoItem,
|
|
5760
|
+
Je as OraculoWelcomeBanner,
|
|
5761
|
+
yo as default
|
|
5725
5762
|
};
|
|
5726
5763
|
//# sourceMappingURL=index.es.js.map
|