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