oraculo-ui 0.1.138 → 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 +1357 -1247
- 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";
|
|
@@ -14,59 +14,59 @@ import ct from "@mui/icons-material/ChevronRightRounded";
|
|
|
14
14
|
import { useTheme as zt, createTheme as Rt, ThemeProvider as Pt } from "@mui/material/styles";
|
|
15
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:
|
|
27
|
-
fullWidth:
|
|
26
|
+
size: p,
|
|
27
|
+
fullWidth: h = !1,
|
|
28
28
|
fullHeight: u = !1,
|
|
29
29
|
className: m = "",
|
|
30
30
|
ariaLabel: d,
|
|
31
31
|
leftIcon: f,
|
|
32
|
-
rightIcon:
|
|
33
|
-
iconOnly:
|
|
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
|
-
|
|
39
|
-
|
|
38
|
+
p ? `orc-btn--${p}` : "",
|
|
39
|
+
h ? "orc-btn--full" : "",
|
|
40
40
|
u ? "orc-btn--fullHeight" : "",
|
|
41
|
-
|
|
41
|
+
L ? "orc-btn--iconOnly" : "",
|
|
42
42
|
m
|
|
43
|
-
].filter(Boolean).join(" "),
|
|
43
|
+
].filter(Boolean).join(" "), N = /* @__PURE__ */ y(pe, { children: [
|
|
44
44
|
f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
|
|
45
|
-
!
|
|
46
|
-
|
|
47
|
-
] }),
|
|
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,31 +98,31 @@ 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
|
|
105
|
-
return
|
|
106
|
-
c((
|
|
107
|
-
}, [a,
|
|
108
|
-
const u =
|
|
104
|
+
const i = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = X(0);
|
|
105
|
+
return Q(() => {
|
|
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
|
+
const u = h === a;
|
|
109
109
|
return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
|
|
110
110
|
"button",
|
|
111
111
|
{
|
|
112
112
|
type: "button",
|
|
113
113
|
role: "tab",
|
|
114
114
|
"aria-selected": u,
|
|
115
|
-
"aria-label": `Ir al slide ${
|
|
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
|
-
u && c((m) => m + 1), n == null || n(
|
|
121
|
+
u && c((m) => m + 1), n == null || n(h);
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
-
u ? `a-${
|
|
125
|
-
) },
|
|
124
|
+
u ? `a-${h}-${s}` : `i-${h}`
|
|
125
|
+
) }, h);
|
|
126
126
|
}) });
|
|
127
127
|
};
|
|
128
128
|
function me({
|
|
@@ -130,15 +130,15 @@ function me({
|
|
|
130
130
|
minWidth: a = 32,
|
|
131
131
|
spacing: n = 2,
|
|
132
132
|
justify: o = "stretch",
|
|
133
|
-
columns:
|
|
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"
|
|
@@ -149,7 +149,7 @@ function me({
|
|
|
149
149
|
}
|
|
150
150
|
function Ze({ src: e, alt: a }) {
|
|
151
151
|
return /* @__PURE__ */ t(
|
|
152
|
-
|
|
152
|
+
ee,
|
|
153
153
|
{
|
|
154
154
|
sx: {
|
|
155
155
|
position: "relative",
|
|
@@ -160,7 +160,7 @@ function Ze({ src: e, alt: a }) {
|
|
|
160
160
|
display: "inline-block"
|
|
161
161
|
},
|
|
162
162
|
children: /* @__PURE__ */ t(
|
|
163
|
-
|
|
163
|
+
ee,
|
|
164
164
|
{
|
|
165
165
|
component: "img",
|
|
166
166
|
src: e,
|
|
@@ -184,7 +184,7 @@ const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oracul
|
|
|
184
184
|
subtitle: Vt
|
|
185
185
|
};
|
|
186
186
|
function Wt({ title: e, subtitle: a }) {
|
|
187
|
-
return /* @__PURE__ */
|
|
187
|
+
return /* @__PURE__ */ y(
|
|
188
188
|
"div",
|
|
189
189
|
{
|
|
190
190
|
className: Pe.contenedor,
|
|
@@ -200,12 +200,12 @@ function Wt({ title: e, subtitle: a }) {
|
|
|
200
200
|
children: e
|
|
201
201
|
}
|
|
202
202
|
),
|
|
203
|
-
a && /* @__PURE__ */
|
|
203
|
+
a && /* @__PURE__ */ y(
|
|
204
204
|
"div",
|
|
205
205
|
{
|
|
206
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
|
" "
|
|
@@ -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
|
|
387
|
-
|
|
386
|
+
const i = V(0), s = V(0);
|
|
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
|
-
const { deltaX: m, deltaY: d } =
|
|
394
|
+
const { deltaX: m, deltaY: d } = h;
|
|
395
395
|
if (Math.abs(m) <= Math.abs(d)) return;
|
|
396
|
-
|
|
396
|
+
h.preventDefault(), i.current += m;
|
|
397
397
|
const f = Date.now();
|
|
398
|
-
if (f - s.current <
|
|
399
|
-
const
|
|
400
|
-
|
|
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:
|
|
423
|
-
enableHorizontalWheel:
|
|
422
|
+
useIndexAsKey: p = !1,
|
|
423
|
+
enableHorizontalWheel: h = !0,
|
|
424
424
|
showRightGradient: u = !1
|
|
425
425
|
}, m) => {
|
|
426
|
-
const d = V(null), f = V(null),
|
|
426
|
+
const d = V(null), f = V(null), v = V(e.length), S = V(null), x = V(null), g = V("user");
|
|
427
427
|
fa(f, d, {
|
|
428
|
-
enabled:
|
|
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
499
|
}, [e.length, _]);
|
|
491
|
-
const
|
|
492
|
-
var
|
|
493
|
-
const
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
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
516
|
[_]
|
|
500
|
-
),
|
|
517
|
+
), D = {
|
|
501
518
|
type: "slide",
|
|
502
519
|
trimSpace: !1,
|
|
503
520
|
drag: !0,
|
|
@@ -508,11 +525,11 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
508
525
|
autoWidth: !1,
|
|
509
526
|
perPage: n,
|
|
510
527
|
gap: o,
|
|
511
|
-
breakpoints:
|
|
512
|
-
...
|
|
513
|
-
...
|
|
528
|
+
breakpoints: r,
|
|
529
|
+
...i,
|
|
530
|
+
...h ? { wheel: !1 } : {}
|
|
514
531
|
};
|
|
515
|
-
return /* @__PURE__ */
|
|
532
|
+
return /* @__PURE__ */ y(
|
|
516
533
|
"div",
|
|
517
534
|
{
|
|
518
535
|
ref: f,
|
|
@@ -523,24 +540,24 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
523
540
|
_a,
|
|
524
541
|
{
|
|
525
542
|
ref: d,
|
|
526
|
-
options:
|
|
543
|
+
options: D,
|
|
527
544
|
onMove: _,
|
|
528
|
-
onMounted:
|
|
529
|
-
onResize:
|
|
530
|
-
children: e.map((
|
|
531
|
-
var
|
|
532
|
-
return /* @__PURE__ */ t(ya, { children: a(
|
|
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, f,
|
|
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` },
|
|
@@ -771,8 +788,8 @@ function xa({
|
|
|
771
788
|
},
|
|
772
789
|
fontFamily: '"secondary", sans-serif',
|
|
773
790
|
fontSize: {
|
|
774
|
-
xs: `${
|
|
775
|
-
md: `${
|
|
791
|
+
xs: `${h.xs}px`,
|
|
792
|
+
md: `${h.md}px`
|
|
776
793
|
},
|
|
777
794
|
lineHeight: 1,
|
|
778
795
|
color: "#3CC666",
|
|
@@ -792,13 +809,13 @@ const wa = ({
|
|
|
792
809
|
provider: a,
|
|
793
810
|
providerName: n,
|
|
794
811
|
machine: o,
|
|
795
|
-
onClick:
|
|
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
|
}
|
|
@@ -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: {
|
|
@@ -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,
|
|
@@ -950,14 +967,14 @@ const wa = ({
|
|
|
950
967
|
children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
|
|
951
968
|
Te,
|
|
952
969
|
{
|
|
953
|
-
imageUrl: `https://olimpo.bet${(d = (m =
|
|
970
|
+
imageUrl: `https://olimpo.bet${(d = (m = h.background) != null ? m : h.imageUrl) != null ? d : ""}`,
|
|
954
971
|
size: "sm",
|
|
955
972
|
fillParent: !0,
|
|
956
|
-
onClick: () => n == null ? void 0 : n(
|
|
973
|
+
onClick: () => n == null ? void 0 : n(h, u + 1)
|
|
957
974
|
}
|
|
958
975
|
)
|
|
959
976
|
},
|
|
960
|
-
o ? `sk-${u}` :
|
|
977
|
+
o ? `sk-${u}` : h.id
|
|
961
978
|
);
|
|
962
979
|
})
|
|
963
980
|
]
|
|
@@ -980,8 +997,8 @@ const wa = ({
|
|
|
980
997
|
gap: `${Le}px`,
|
|
981
998
|
gridAutoFlow: "column"
|
|
982
999
|
},
|
|
983
|
-
children: (o ? Array.from({ length:
|
|
984
|
-
var
|
|
1000
|
+
children: (o ? Array.from({ length: r }) : e).map((c, p) => {
|
|
1001
|
+
var h, u, m;
|
|
985
1002
|
return /* @__PURE__ */ t(
|
|
986
1003
|
q,
|
|
987
1004
|
{
|
|
@@ -989,14 +1006,14 @@ const wa = ({
|
|
|
989
1006
|
children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
|
|
990
1007
|
Te,
|
|
991
1008
|
{
|
|
992
|
-
imageUrl: `https://olimpo.bet${(u = (
|
|
1009
|
+
imageUrl: `https://olimpo.bet${(u = (h = c.background) != null ? h : c.imageUrl) != null ? u : ""}`,
|
|
993
1010
|
size: "sm",
|
|
994
1011
|
fillParent: !0,
|
|
995
|
-
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
|
|
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",
|
|
@@ -1118,7 +1135,7 @@ const wa = ({
|
|
|
1118
1135
|
{
|
|
1119
1136
|
component: "span",
|
|
1120
1137
|
sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
|
|
1121
|
-
children:
|
|
1138
|
+
children: h
|
|
1122
1139
|
}
|
|
1123
1140
|
),
|
|
1124
1141
|
/* @__PURE__ */ t(
|
|
@@ -1144,7 +1161,7 @@ const wa = ({
|
|
|
1144
1161
|
children: n
|
|
1145
1162
|
}
|
|
1146
1163
|
),
|
|
1147
|
-
o && /* @__PURE__ */ t(
|
|
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,97 +1248,97 @@ 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;
|
|
1242
1259
|
}, ne = () => vt().docId, le = () => vt().moduleId;
|
|
1243
1260
|
function Ra({ coupon: e }) {
|
|
1244
|
-
var
|
|
1261
|
+
var h;
|
|
1245
1262
|
const a = ae(), n = ne();
|
|
1246
1263
|
function o(u) {
|
|
1247
|
-
var f,
|
|
1264
|
+
var f, v;
|
|
1248
1265
|
const m = [], d = Array.from(
|
|
1249
1266
|
new Map(
|
|
1250
|
-
((f = u == null ? void 0 : u.events) != null ? f : []).filter(Boolean).map((
|
|
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
|
|
1312
|
+
const i = (u, m) => {
|
|
1296
1313
|
const d = Array.isArray(u) ? u : [u], f = Array.from(
|
|
1297
1314
|
new Set(
|
|
1298
|
-
s.outcomes.map((
|
|
1299
|
-
var
|
|
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
|
-
if (!((
|
|
1318
|
-
const s = o(e), c = s.outcomes.reduce((u, m) => (u[m.eventId] || (u[m.eventId] = []), u[m.eventId].push(m), u), {}),
|
|
1334
|
+
if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
|
|
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((f,
|
|
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__ */
|
|
1368
|
+
/* @__PURE__ */ y("div", { className: ce.apuestaText, children: [
|
|
1352
1369
|
/* @__PURE__ */ t("strong", { children: f.value }),
|
|
1353
1370
|
" | ",
|
|
1354
1371
|
f.label
|
|
1355
1372
|
] })
|
|
1356
|
-
] }, `${u}-${
|
|
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
|
] }),
|
|
@@ -1404,57 +1421,57 @@ function Pa({
|
|
|
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:
|
|
1412
|
-
fullWidth:
|
|
1428
|
+
size: p,
|
|
1429
|
+
fullWidth: h = !1,
|
|
1413
1430
|
fullHeight: u = !1,
|
|
1414
1431
|
className: m = "",
|
|
1415
1432
|
ariaLabel: d,
|
|
1416
1433
|
leftIcon: f,
|
|
1417
|
-
rightIcon:
|
|
1418
|
-
iconOnly:
|
|
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(" "),
|
|
1448
|
+
].filter(Boolean).join(" "), N = /* @__PURE__ */ y(pe, { children: [
|
|
1432
1449
|
f && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: f }),
|
|
1433
|
-
!
|
|
1434
|
-
|
|
1435
|
-
] }),
|
|
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
|
}
|
|
@@ -1475,22 +1492,22 @@ const La = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "
|
|
|
1475
1492
|
real: !1,
|
|
1476
1493
|
type: "short_sleeves"
|
|
1477
1494
|
}, Me = (e, a, n = "player") => {
|
|
1478
|
-
var
|
|
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: (
|
|
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: ((f = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? f : 0) + ":" + ((
|
|
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:
|
|
1580
|
+
tags: { section: "OraculoEventSemanaCard", outcomes: g }
|
|
1564
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: ((
|
|
1579
|
-
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (m = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : m.outcomes) != null ? d : []).map((f,
|
|
1580
|
-
|
|
1581
|
-
}, children: (f.odds / 1e3).toFixed(2) },
|
|
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,13 @@ 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
|
-
|
|
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 = () => {
|
|
1595
1613
|
var _;
|
|
1596
|
-
|
|
1614
|
+
h({
|
|
1597
1615
|
element: "destacados_carousel_prev",
|
|
1598
1616
|
label: `${u} - OraculoSeccionDestacados - Anterior`,
|
|
1599
1617
|
target: "carousel",
|
|
@@ -1604,9 +1622,9 @@ function Ja({
|
|
|
1604
1622
|
},
|
|
1605
1623
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1606
1624
|
}), (_ = s.current) == null || _.prev();
|
|
1607
|
-
},
|
|
1625
|
+
}, v = () => {
|
|
1608
1626
|
var _;
|
|
1609
|
-
|
|
1627
|
+
h({
|
|
1610
1628
|
element: "destacados_carousel_next",
|
|
1611
1629
|
label: `${u} - OraculoSeccionDestacados - Siguiente`,
|
|
1612
1630
|
target: "carousel",
|
|
@@ -1617,8 +1635,8 @@ function Ja({
|
|
|
1617
1635
|
},
|
|
1618
1636
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1619
1637
|
}), (_ = s.current) == null || _.next();
|
|
1620
|
-
},
|
|
1621
|
-
|
|
1638
|
+
}, S = () => {
|
|
1639
|
+
h({
|
|
1622
1640
|
element: "destacados_view_more",
|
|
1623
1641
|
label: `${u} - OraculoSeccionDestacados - Ver más`,
|
|
1624
1642
|
target: "https://www.olimpo.bet/promociones",
|
|
@@ -1629,13 +1647,13 @@ function Ja({
|
|
|
1629
1647
|
},
|
|
1630
1648
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1631
1649
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
|
|
1632
|
-
},
|
|
1650
|
+
}, x = (_) => {
|
|
1633
1651
|
if (!_) return;
|
|
1634
|
-
const
|
|
1635
|
-
|
|
1652
|
+
const F = `https://www.olimpo.bet/promociones/${encodeURIComponent(_)}`;
|
|
1653
|
+
h({
|
|
1636
1654
|
element: "destacados_card",
|
|
1637
1655
|
label: `${u} - OraculoSeccionDestacados - Click: ${String(_)}`,
|
|
1638
|
-
target:
|
|
1656
|
+
target: F,
|
|
1639
1657
|
event_type: "click",
|
|
1640
1658
|
module_id: m,
|
|
1641
1659
|
metadata: {
|
|
@@ -1645,10 +1663,16 @@ function Ja({
|
|
|
1645
1663
|
section: "OraculoSeccionDestacados",
|
|
1646
1664
|
promotion: String(_)
|
|
1647
1665
|
}
|
|
1648
|
-
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(
|
|
1649
|
-
},
|
|
1650
|
-
return
|
|
1651
|
-
|
|
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;
|
|
1668
|
+
return Q(() => {
|
|
1669
|
+
if ($ === 0) {
|
|
1670
|
+
p({ isStart: !0, isEnd: !0 });
|
|
1671
|
+
return;
|
|
1672
|
+
}
|
|
1673
|
+
p({ isStart: !0, isEnd: !1 });
|
|
1674
|
+
}, [$, C, i]), /* @__PURE__ */ y("section", { className: g, style: { width: "100%" }, children: [
|
|
1675
|
+
/* @__PURE__ */ y(
|
|
1652
1676
|
"header",
|
|
1653
1677
|
{
|
|
1654
1678
|
style: {
|
|
@@ -1658,14 +1682,14 @@ function Ja({
|
|
|
1658
1682
|
columnGap: 12,
|
|
1659
1683
|
rowGap: 8,
|
|
1660
1684
|
marginBottom: 16,
|
|
1661
|
-
paddingLeft:
|
|
1662
|
-
paddingRight:
|
|
1685
|
+
paddingLeft: C ? i : 0,
|
|
1686
|
+
paddingRight: C ? i : 0
|
|
1663
1687
|
},
|
|
1664
1688
|
children: [
|
|
1665
1689
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
1666
|
-
/* @__PURE__ */
|
|
1690
|
+
/* @__PURE__ */ y("div", { style: { display: "flex", gap: 8 }, children: [
|
|
1667
1691
|
/* @__PURE__ */ t(
|
|
1668
|
-
|
|
1692
|
+
Y,
|
|
1669
1693
|
{
|
|
1670
1694
|
ariaLabel: "Anterior",
|
|
1671
1695
|
variant: "secondary",
|
|
@@ -1676,18 +1700,18 @@ function Ja({
|
|
|
1676
1700
|
}
|
|
1677
1701
|
),
|
|
1678
1702
|
/* @__PURE__ */ t(
|
|
1679
|
-
|
|
1703
|
+
Y,
|
|
1680
1704
|
{
|
|
1681
1705
|
ariaLabel: "Siguiente",
|
|
1682
1706
|
variant: "secondary",
|
|
1683
1707
|
iconOnly: !0,
|
|
1684
1708
|
rightIcon: /* @__PURE__ */ t(ze, {}),
|
|
1685
|
-
onClick:
|
|
1709
|
+
onClick: v,
|
|
1686
1710
|
disabled: c.isEnd || d
|
|
1687
1711
|
}
|
|
1688
1712
|
)
|
|
1689
1713
|
] }),
|
|
1690
|
-
/* @__PURE__ */ t(
|
|
1714
|
+
/* @__PURE__ */ t(Y, { variant: "secondary", onClick: S, children: "Ver más" })
|
|
1691
1715
|
]
|
|
1692
1716
|
}
|
|
1693
1717
|
),
|
|
@@ -1699,10 +1723,10 @@ function Ja({
|
|
|
1699
1723
|
perPage: void 0,
|
|
1700
1724
|
gap: "16px",
|
|
1701
1725
|
enableHorizontalWheel: !0,
|
|
1702
|
-
showRightGradient: !
|
|
1726
|
+
showRightGradient: !C,
|
|
1703
1727
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
1704
1728
|
breakpoints: {
|
|
1705
|
-
768: { perPage: 2, focus: "start", padding: { left:
|
|
1729
|
+
768: { perPage: 2, focus: "start", padding: { left: i, right: i } },
|
|
1706
1730
|
1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
|
|
1707
1731
|
},
|
|
1708
1732
|
renderItem: (_) => /* @__PURE__ */ t(
|
|
@@ -1712,7 +1736,7 @@ function Ja({
|
|
|
1712
1736
|
textAlign: "center",
|
|
1713
1737
|
cursor: "pointer"
|
|
1714
1738
|
},
|
|
1715
|
-
onClick: () =>
|
|
1739
|
+
onClick: () => x(_.promotion),
|
|
1716
1740
|
children: /* @__PURE__ */ t(
|
|
1717
1741
|
"img",
|
|
1718
1742
|
{
|
|
@@ -1730,8 +1754,8 @@ function Ja({
|
|
|
1730
1754
|
},
|
|
1731
1755
|
`${_.title}-${_.image}`
|
|
1732
1756
|
),
|
|
1733
|
-
onMove: ({ isStart: _, isEnd:
|
|
1734
|
-
|
|
1757
|
+
onMove: ({ isStart: _, isEnd: N, source: F }) => {
|
|
1758
|
+
p({ isStart: _, isEnd: N }), F === "user" && h({
|
|
1735
1759
|
element: "destacados_carousel_slide",
|
|
1736
1760
|
label: `${u} - OraculoSeccionDestacados - Slide Carousel`,
|
|
1737
1761
|
target: "carousel",
|
|
@@ -1740,7 +1764,7 @@ function Ja({
|
|
|
1740
1764
|
metadata: {
|
|
1741
1765
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
1742
1766
|
isStart: _,
|
|
1743
|
-
isEnd:
|
|
1767
|
+
isEnd: N
|
|
1744
1768
|
},
|
|
1745
1769
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1746
1770
|
});
|
|
@@ -1749,10 +1773,10 @@ function Ja({
|
|
|
1749
1773
|
)
|
|
1750
1774
|
] });
|
|
1751
1775
|
}
|
|
1752
|
-
const
|
|
1776
|
+
const Ne = "__ORACULO_EXTRAS__";
|
|
1753
1777
|
function _t() {
|
|
1754
1778
|
const e = globalThis;
|
|
1755
|
-
return e[
|
|
1779
|
+
return e[Ne] || (e[Ne] = {}), e[Ne];
|
|
1756
1780
|
}
|
|
1757
1781
|
function Xa(e) {
|
|
1758
1782
|
_t().extras = e;
|
|
@@ -1762,7 +1786,7 @@ function se(e) {
|
|
|
1762
1786
|
return (a = _t().extras) == null ? void 0 : a[e];
|
|
1763
1787
|
}
|
|
1764
1788
|
function Ya() {
|
|
1765
|
-
delete globalThis[
|
|
1789
|
+
delete globalThis[Ne];
|
|
1766
1790
|
}
|
|
1767
1791
|
function Qa({
|
|
1768
1792
|
items: e,
|
|
@@ -1770,7 +1794,7 @@ function Qa({
|
|
|
1770
1794
|
iconUrl: n,
|
|
1771
1795
|
onCardClick: o
|
|
1772
1796
|
}) {
|
|
1773
|
-
const
|
|
1797
|
+
const r = ae(), i = ne(), s = le(), c = re(
|
|
1774
1798
|
() => (e != null ? e : []).map((m, d) => {
|
|
1775
1799
|
var f;
|
|
1776
1800
|
return {
|
|
@@ -1780,10 +1804,10 @@ function Qa({
|
|
|
1780
1804
|
};
|
|
1781
1805
|
}).sort((m, d) => m.orden != null && d.orden != null ? m.orden - d.orden : m._originalIndex - d._originalIndex),
|
|
1782
1806
|
[e]
|
|
1783
|
-
),
|
|
1784
|
-
|
|
1807
|
+
), p = !e || e.length === 0, h = p ? Array.from({ length: 6 }) : c.slice(0, 6), u = (m) => {
|
|
1808
|
+
r({
|
|
1785
1809
|
element: "top_juegos_card",
|
|
1786
|
-
label: `${
|
|
1810
|
+
label: `${i} - OraculoSeccionTopJuegos - Open game: ${String(m.machine || "unknown")}`,
|
|
1787
1811
|
target: String(m.machine || "unknown"),
|
|
1788
1812
|
event_type: "click",
|
|
1789
1813
|
module_id: s,
|
|
@@ -1800,7 +1824,7 @@ function Qa({
|
|
|
1800
1824
|
f == null || f(m, !1, "CASINO");
|
|
1801
1825
|
});
|
|
1802
1826
|
};
|
|
1803
|
-
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: [
|
|
1804
1828
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
1805
1829
|
/* @__PURE__ */ t(
|
|
1806
1830
|
q,
|
|
@@ -1815,19 +1839,19 @@ function Qa({
|
|
|
1815
1839
|
justifyItems: "center",
|
|
1816
1840
|
width: "100%"
|
|
1817
1841
|
},
|
|
1818
|
-
children:
|
|
1819
|
-
var f,
|
|
1842
|
+
children: h.map((m, d) => {
|
|
1843
|
+
var f, v;
|
|
1820
1844
|
return /* @__PURE__ */ t(
|
|
1821
1845
|
xa,
|
|
1822
1846
|
{
|
|
1823
|
-
imageUrl:
|
|
1824
|
-
orden:
|
|
1825
|
-
loading:
|
|
1826
|
-
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 : () => {
|
|
1827
1851
|
o == null || o(m), u(m);
|
|
1828
1852
|
}
|
|
1829
1853
|
},
|
|
1830
|
-
|
|
1854
|
+
p ? `sk-${d}` : (v = m.machine) != null ? v : `${d}`
|
|
1831
1855
|
);
|
|
1832
1856
|
})
|
|
1833
1857
|
}
|
|
@@ -1835,25 +1859,25 @@ function Qa({
|
|
|
1835
1859
|
] }) });
|
|
1836
1860
|
}
|
|
1837
1861
|
const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
|
|
1838
|
-
var n, o,
|
|
1862
|
+
var n, o, r, i, s, c, p, h, u, m, d, f, v, S;
|
|
1839
1863
|
return {
|
|
1840
1864
|
orden: Number(a),
|
|
1841
1865
|
machine: String(
|
|
1842
1866
|
(n = e.id) != null ? n : e.external_id
|
|
1843
1867
|
),
|
|
1844
1868
|
logo: (o = e.logo) != null ? o : "",
|
|
1845
|
-
name: (
|
|
1846
|
-
web_name: (
|
|
1869
|
+
name: (r = e.room_name) != null ? r : "",
|
|
1870
|
+
web_name: (i = e.product) != null ? i : "",
|
|
1847
1871
|
provider: (s = e.service) != null ? s : "",
|
|
1848
1872
|
sub_provider: (c = e.service) != null ? c : "",
|
|
1849
|
-
external_id: (
|
|
1850
|
-
type: (
|
|
1873
|
+
external_id: (p = e.external_id) != null ? p : "",
|
|
1874
|
+
type: (h = e.game_type) != null ? h : "",
|
|
1851
1875
|
tags: (u = e.tags) != null ? u : "",
|
|
1852
1876
|
lobby_tag: (m = e.lobby_tag) != null ? m : null,
|
|
1853
1877
|
background: (d = e.background) != null ? d : "",
|
|
1854
1878
|
rtp: (f = e.rtp) != null ? f : null,
|
|
1855
|
-
demo_allowed: (
|
|
1856
|
-
gaming_session_required: (
|
|
1879
|
+
demo_allowed: (v = e.demo_allowed) != null ? v : !1,
|
|
1880
|
+
gaming_session_required: (S = e.gaming_session_required) != null ? S : !1
|
|
1857
1881
|
};
|
|
1858
1882
|
}, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
|
|
1859
1883
|
var a, n, o;
|
|
@@ -1863,68 +1887,68 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1863
1887
|
const a = yt(), n = new URLSearchParams({
|
|
1864
1888
|
userId: String(a),
|
|
1865
1889
|
productType: e
|
|
1866
|
-
}), o = `${en}?${n.toString()}`,
|
|
1867
|
-
if (!
|
|
1890
|
+
}), o = `${en}?${n.toString()}`, r = await fetch(o);
|
|
1891
|
+
if (!r.ok)
|
|
1868
1892
|
throw new Error(
|
|
1869
|
-
`No se pudo obtener recomendaciones. HTTP ${
|
|
1893
|
+
`No se pudo obtener recomendaciones. HTTP ${r.status} ${r.statusText}`
|
|
1870
1894
|
);
|
|
1871
|
-
const
|
|
1895
|
+
const i = await r.json();
|
|
1872
1896
|
return {
|
|
1873
|
-
...
|
|
1874
|
-
recommendations: Array.isArray(
|
|
1897
|
+
...i,
|
|
1898
|
+
recommendations: Array.isArray(i == null ? void 0 : i.recommendations) ? i.recommendations.slice(0, 49) : []
|
|
1875
1899
|
};
|
|
1876
1900
|
}, on = async (e, a) => {
|
|
1877
1901
|
const n = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", o = JSON.stringify({
|
|
1878
1902
|
userId: String(e),
|
|
1879
1903
|
items: a
|
|
1880
|
-
}),
|
|
1904
|
+
}), r = await fetch(n, {
|
|
1881
1905
|
method: "POST",
|
|
1882
1906
|
headers: {
|
|
1883
1907
|
"Content-Type": "application/json"
|
|
1884
1908
|
},
|
|
1885
1909
|
body: o
|
|
1886
1910
|
});
|
|
1887
|
-
if (!
|
|
1888
|
-
throw new Error(`No se pudo obtener el ranking. HTTP ${
|
|
1889
|
-
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;
|
|
1890
1914
|
}, Ve = (e, a = !1, n = "Casino") => {
|
|
1891
|
-
const [o,
|
|
1892
|
-
return
|
|
1915
|
+
const [o, r] = X([]), [i, s] = X(!1);
|
|
1916
|
+
return Q(() => {
|
|
1893
1917
|
let c = !1;
|
|
1894
1918
|
return (async () => {
|
|
1895
1919
|
if (!a) {
|
|
1896
|
-
|
|
1920
|
+
r(Array.isArray(e) ? e : []), s(!1);
|
|
1897
1921
|
return;
|
|
1898
1922
|
}
|
|
1899
1923
|
s(!0);
|
|
1900
1924
|
try {
|
|
1901
|
-
const
|
|
1925
|
+
const h = await nn(n), u = an(h);
|
|
1902
1926
|
if (!u.length) {
|
|
1903
|
-
c ||
|
|
1927
|
+
c || r([]);
|
|
1904
1928
|
return;
|
|
1905
1929
|
}
|
|
1906
|
-
const m = yt(), d = await on(m, u), f = d.map((
|
|
1907
|
-
f.map(async (
|
|
1908
|
-
const
|
|
1909
|
-
if (
|
|
1910
|
-
throw new Error(`No se pudo obtener machine ${
|
|
1911
|
-
const
|
|
1912
|
-
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);
|
|
1913
1937
|
})
|
|
1914
1938
|
);
|
|
1915
1939
|
if (c) return;
|
|
1916
|
-
const
|
|
1917
|
-
(
|
|
1918
|
-
).map((
|
|
1919
|
-
const
|
|
1920
|
-
return
|
|
1921
|
-
}).filter(Boolean).sort((
|
|
1922
|
-
var
|
|
1923
|
-
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);
|
|
1924
1948
|
});
|
|
1925
|
-
|
|
1926
|
-
} catch (
|
|
1927
|
-
console.error(`[usePersonalizeGameItems:${n}] error:`,
|
|
1949
|
+
r(x);
|
|
1950
|
+
} catch (h) {
|
|
1951
|
+
console.error(`[usePersonalizeGameItems:${n}] error:`, h), c || r([]);
|
|
1928
1952
|
} finally {
|
|
1929
1953
|
c || s(!1);
|
|
1930
1954
|
}
|
|
@@ -1933,7 +1957,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1933
1957
|
};
|
|
1934
1958
|
}, [e, a, n]), {
|
|
1935
1959
|
resolvedItems: o,
|
|
1936
|
-
loading:
|
|
1960
|
+
loading: i
|
|
1937
1961
|
};
|
|
1938
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) => {
|
|
1939
1963
|
var n, o;
|
|
@@ -1953,48 +1977,48 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1953
1977
|
title: a = "Casino en vivo",
|
|
1954
1978
|
subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
1955
1979
|
backgroundMobileUrl: o = "",
|
|
1956
|
-
onCardClick:
|
|
1957
|
-
backgroundDesktopUrl:
|
|
1980
|
+
onCardClick: r,
|
|
1981
|
+
backgroundDesktopUrl: i = "",
|
|
1958
1982
|
onViewMore: s,
|
|
1959
1983
|
className: c,
|
|
1960
|
-
isPersonalize:
|
|
1984
|
+
isPersonalize: p = !1
|
|
1961
1985
|
}) => {
|
|
1962
|
-
const
|
|
1986
|
+
const h = ae(), u = ne(), m = le(), d = dn(p), { resolvedItems: f } = ln(
|
|
1963
1987
|
e,
|
|
1964
1988
|
d
|
|
1965
|
-
),
|
|
1966
|
-
|
|
1989
|
+
), v = d ? f : Array.isArray(e) ? e : [], S = (g) => {
|
|
1990
|
+
h({
|
|
1967
1991
|
element: "live_casino_card",
|
|
1968
|
-
label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(
|
|
1969
|
-
target: String(
|
|
1992
|
+
label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(g.machine || "unknown")}`,
|
|
1993
|
+
target: String(g.machine || "unknown"),
|
|
1970
1994
|
event_type: "click",
|
|
1971
1995
|
module_id: m,
|
|
1972
1996
|
metadata: {
|
|
1973
1997
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1974
1998
|
},
|
|
1975
1999
|
tags: {
|
|
1976
|
-
game_name: String(
|
|
1977
|
-
provider:
|
|
2000
|
+
game_name: String(g.machine || "unknown"),
|
|
2001
|
+
provider: g.provider || "unknown",
|
|
1978
2002
|
section: "OraculoSeccionCasinoEnVivo"
|
|
1979
2003
|
}
|
|
1980
2004
|
});
|
|
1981
|
-
const
|
|
1982
|
-
if (
|
|
1983
|
-
if (
|
|
1984
|
-
|
|
2005
|
+
const C = se("showIframe"), $ = se("loadMachine");
|
|
2006
|
+
if (!$) {
|
|
2007
|
+
if (r) {
|
|
2008
|
+
r(g);
|
|
1985
2009
|
return;
|
|
1986
2010
|
}
|
|
1987
2011
|
console.warn(
|
|
1988
2012
|
"[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
|
|
1989
|
-
{ machine:
|
|
2013
|
+
{ machine: g == null ? void 0 : g.machine, provider: g == null ? void 0 : g.provider }
|
|
1990
2014
|
);
|
|
1991
2015
|
return;
|
|
1992
2016
|
}
|
|
1993
|
-
|
|
1994
|
-
|
|
2017
|
+
C == null || C(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
|
|
2018
|
+
$ == null || $(g, !1, "casino_en_vivo");
|
|
1995
2019
|
});
|
|
1996
|
-
},
|
|
1997
|
-
|
|
2020
|
+
}, x = () => {
|
|
2021
|
+
h({
|
|
1998
2022
|
element: "casino_en_vivo_view_more",
|
|
1999
2023
|
label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Ver más`,
|
|
2000
2024
|
target: "https://www.olimpo.bet/casino-en-vivo",
|
|
@@ -2006,7 +2030,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2006
2030
|
tags: { section: "OraculoSeccionCasinoEnVivo" }
|
|
2007
2031
|
}), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
|
|
2008
2032
|
};
|
|
2009
|
-
return /* @__PURE__ */
|
|
2033
|
+
return /* @__PURE__ */ y(
|
|
2010
2034
|
q,
|
|
2011
2035
|
{
|
|
2012
2036
|
className: c,
|
|
@@ -2031,7 +2055,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2031
2055
|
md: `
|
|
2032
2056
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2033
2057
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2034
|
-
url('${
|
|
2058
|
+
url('${i}')
|
|
2035
2059
|
`
|
|
2036
2060
|
},
|
|
2037
2061
|
backgroundSize: {
|
|
@@ -2044,7 +2068,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2044
2068
|
}
|
|
2045
2069
|
}
|
|
2046
2070
|
),
|
|
2047
|
-
/* @__PURE__ */
|
|
2071
|
+
/* @__PURE__ */ y(
|
|
2048
2072
|
q,
|
|
2049
2073
|
{
|
|
2050
2074
|
sx: {
|
|
@@ -2062,7 +2086,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2062
2086
|
textAlign: { xs: "center", md: "left" }
|
|
2063
2087
|
},
|
|
2064
2088
|
children: [
|
|
2065
|
-
/* @__PURE__ */
|
|
2089
|
+
/* @__PURE__ */ y(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
2066
2090
|
/* @__PURE__ */ t(
|
|
2067
2091
|
ue,
|
|
2068
2092
|
{
|
|
@@ -2089,11 +2113,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2089
2113
|
}
|
|
2090
2114
|
),
|
|
2091
2115
|
/* @__PURE__ */ t(q, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
|
|
2092
|
-
|
|
2116
|
+
Y,
|
|
2093
2117
|
{
|
|
2094
2118
|
variant: "primary",
|
|
2095
2119
|
size: "md",
|
|
2096
|
-
onClick:
|
|
2120
|
+
onClick: x,
|
|
2097
2121
|
children: "Ver más"
|
|
2098
2122
|
}
|
|
2099
2123
|
) })
|
|
@@ -2109,28 +2133,28 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2109
2133
|
py: { xs: 3, md: 0 },
|
|
2110
2134
|
alignItems: "center"
|
|
2111
2135
|
},
|
|
2112
|
-
children: (
|
|
2113
|
-
var
|
|
2136
|
+
children: (v != null ? v : []).slice(0, 3).map((g, C) => {
|
|
2137
|
+
var $;
|
|
2114
2138
|
return /* @__PURE__ */ t(
|
|
2115
2139
|
wa,
|
|
2116
2140
|
{
|
|
2117
|
-
logo: `https://olimpo.bet${
|
|
2118
|
-
provider:
|
|
2119
|
-
providerName:
|
|
2120
|
-
machine:
|
|
2121
|
-
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)
|
|
2122
2146
|
},
|
|
2123
|
-
cn(
|
|
2147
|
+
cn(g, C)
|
|
2124
2148
|
);
|
|
2125
2149
|
})
|
|
2126
2150
|
}
|
|
2127
2151
|
),
|
|
2128
2152
|
/* @__PURE__ */ t(q, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
|
|
2129
|
-
|
|
2153
|
+
Y,
|
|
2130
2154
|
{
|
|
2131
2155
|
variant: "primary",
|
|
2132
2156
|
size: "lg",
|
|
2133
|
-
onClick:
|
|
2157
|
+
onClick: x,
|
|
2134
2158
|
children: "Ver más"
|
|
2135
2159
|
}
|
|
2136
2160
|
) })
|
|
@@ -2155,51 +2179,51 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2155
2179
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2156
2180
|
}, pn = (e, a = !0, n = 1) => {
|
|
2157
2181
|
const o = e.map((s, c) => {
|
|
2158
|
-
var
|
|
2182
|
+
var p;
|
|
2159
2183
|
return {
|
|
2160
2184
|
id: xt(s, c),
|
|
2161
|
-
imageUrl: (
|
|
2185
|
+
imageUrl: (p = s.logo) != null ? p : "",
|
|
2162
2186
|
...s.background ? { background: s.background } : {}
|
|
2163
2187
|
};
|
|
2164
2188
|
});
|
|
2165
2189
|
if (!o.length) return [];
|
|
2166
|
-
const
|
|
2167
|
-
let
|
|
2190
|
+
const r = [];
|
|
2191
|
+
let i = 0;
|
|
2168
2192
|
if (a) {
|
|
2169
2193
|
const s = Math.min(o.length, 1);
|
|
2170
|
-
|
|
2194
|
+
r.push({
|
|
2171
2195
|
id: "mosaic-0",
|
|
2172
2196
|
kind: "mosaic",
|
|
2173
2197
|
items: o.slice(0, s)
|
|
2174
|
-
}),
|
|
2198
|
+
}), i = s;
|
|
2175
2199
|
}
|
|
2176
|
-
for (;
|
|
2177
|
-
const s = Math.min(
|
|
2178
|
-
|
|
2179
|
-
id: `grid-${
|
|
2200
|
+
for (; i < o.length; ) {
|
|
2201
|
+
const s = Math.min(i + n, o.length);
|
|
2202
|
+
r.push({
|
|
2203
|
+
id: `grid-${i}`,
|
|
2180
2204
|
kind: "grid",
|
|
2181
|
-
items: o.slice(
|
|
2182
|
-
}),
|
|
2205
|
+
items: o.slice(i, s)
|
|
2206
|
+
}), i = s;
|
|
2183
2207
|
}
|
|
2184
|
-
return
|
|
2208
|
+
return r;
|
|
2185
2209
|
}, fn = ({
|
|
2186
2210
|
items: e,
|
|
2187
2211
|
title: a = "Casino",
|
|
2188
2212
|
iconUrl: n = "/assets/img/home/Casino/diamante.svg",
|
|
2189
2213
|
onItemClick: o,
|
|
2190
|
-
onViewMore:
|
|
2191
|
-
mosaicFirst:
|
|
2214
|
+
onViewMore: r,
|
|
2215
|
+
mosaicFirst: i = !0,
|
|
2192
2216
|
gridSize: s = 1,
|
|
2193
2217
|
isPersonalize: c = !1
|
|
2194
2218
|
}) => {
|
|
2195
|
-
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(
|
|
2196
2220
|
e,
|
|
2197
|
-
|
|
2198
|
-
),
|
|
2199
|
-
var
|
|
2200
|
-
|
|
2221
|
+
v
|
|
2222
|
+
), g = v ? S : Array.isArray(e) ? e : [], C = () => {
|
|
2223
|
+
var O;
|
|
2224
|
+
p({
|
|
2201
2225
|
element: "casino_prev",
|
|
2202
|
-
label: `${
|
|
2226
|
+
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
|
|
2203
2227
|
target: "prev",
|
|
2204
2228
|
event_type: "click",
|
|
2205
2229
|
module_id: u,
|
|
@@ -2207,12 +2231,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2207
2231
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2208
2232
|
},
|
|
2209
2233
|
tags: { section: "OraculoSeccionCasino" }
|
|
2210
|
-
}), (
|
|
2211
|
-
},
|
|
2212
|
-
var
|
|
2213
|
-
|
|
2234
|
+
}), (O = m.current) == null || O.prev();
|
|
2235
|
+
}, $ = () => {
|
|
2236
|
+
var O;
|
|
2237
|
+
p({
|
|
2214
2238
|
element: "casino_next",
|
|
2215
|
-
label: `${
|
|
2239
|
+
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
|
|
2216
2240
|
target: "next",
|
|
2217
2241
|
event_type: "click",
|
|
2218
2242
|
module_id: u,
|
|
@@ -2220,11 +2244,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2220
2244
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2221
2245
|
},
|
|
2222
2246
|
tags: { section: "OraculoSeccionCasino" }
|
|
2223
|
-
}), (
|
|
2224
|
-
},
|
|
2225
|
-
if (
|
|
2247
|
+
}), (O = m.current) == null || O.next();
|
|
2248
|
+
}, L = () => {
|
|
2249
|
+
if (p({
|
|
2226
2250
|
element: "casino_view_more",
|
|
2227
|
-
label: `${
|
|
2251
|
+
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
|
|
2228
2252
|
target: "https://www.olimpo.bet/casino",
|
|
2229
2253
|
event_type: "click",
|
|
2230
2254
|
module_id: u,
|
|
@@ -2232,20 +2256,20 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2232
2256
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2233
2257
|
},
|
|
2234
2258
|
tags: { section: "OraculoSeccionCasino" }
|
|
2235
|
-
}),
|
|
2236
|
-
|
|
2259
|
+
}), r) {
|
|
2260
|
+
r();
|
|
2237
2261
|
return;
|
|
2238
2262
|
}
|
|
2239
2263
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
|
|
2240
|
-
},
|
|
2241
|
-
const
|
|
2242
|
-
id: `sk-${
|
|
2264
|
+
}, _ = (O = !0, b = 4) => {
|
|
2265
|
+
const E = (B) => Array.from({ length: B }, (A, U) => ({
|
|
2266
|
+
id: `sk-${B}-${U}`,
|
|
2243
2267
|
imageUrl: ""
|
|
2244
|
-
})),
|
|
2245
|
-
return
|
|
2246
|
-
},
|
|
2247
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2248
|
-
/* @__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(
|
|
2249
2273
|
q,
|
|
2250
2274
|
{
|
|
2251
2275
|
sx: {
|
|
@@ -2261,31 +2285,31 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2261
2285
|
},
|
|
2262
2286
|
children: [
|
|
2263
2287
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
2264
|
-
/* @__PURE__ */
|
|
2288
|
+
/* @__PURE__ */ y(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2265
2289
|
/* @__PURE__ */ t(
|
|
2266
|
-
|
|
2290
|
+
Y,
|
|
2267
2291
|
{
|
|
2268
2292
|
ariaLabel: "Anterior",
|
|
2269
2293
|
variant: "secondary",
|
|
2270
2294
|
iconOnly: !0,
|
|
2271
2295
|
leftIcon: /* @__PURE__ */ t(lt, {}),
|
|
2272
|
-
onClick:
|
|
2296
|
+
onClick: C,
|
|
2273
2297
|
disabled: d.isStart
|
|
2274
2298
|
}
|
|
2275
2299
|
),
|
|
2276
2300
|
/* @__PURE__ */ t(
|
|
2277
|
-
|
|
2301
|
+
Y,
|
|
2278
2302
|
{
|
|
2279
2303
|
ariaLabel: "Siguiente",
|
|
2280
2304
|
variant: "secondary",
|
|
2281
2305
|
iconOnly: !0,
|
|
2282
2306
|
rightIcon: /* @__PURE__ */ t(ct, {}),
|
|
2283
|
-
onClick:
|
|
2307
|
+
onClick: $,
|
|
2284
2308
|
disabled: d.isEnd
|
|
2285
2309
|
}
|
|
2286
2310
|
)
|
|
2287
2311
|
] }),
|
|
2288
|
-
/* @__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" }) })
|
|
2289
2313
|
]
|
|
2290
2314
|
}
|
|
2291
2315
|
),
|
|
@@ -2293,12 +2317,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2293
2317
|
he,
|
|
2294
2318
|
{
|
|
2295
2319
|
ref: m,
|
|
2296
|
-
items:
|
|
2320
|
+
items: D,
|
|
2297
2321
|
perPage: void 0,
|
|
2298
2322
|
gap: "16px",
|
|
2299
2323
|
enableHorizontalWheel: !0,
|
|
2300
2324
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2301
|
-
showRightGradient: !
|
|
2325
|
+
showRightGradient: !F,
|
|
2302
2326
|
breakpoints: {
|
|
2303
2327
|
400: {
|
|
2304
2328
|
gap: "4px",
|
|
@@ -2316,38 +2340,38 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2316
2340
|
padding: { left: "24px", right: "24px" }
|
|
2317
2341
|
}
|
|
2318
2342
|
},
|
|
2319
|
-
renderItem: (
|
|
2343
|
+
renderItem: (O) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
|
|
2320
2344
|
ft,
|
|
2321
2345
|
{
|
|
2322
|
-
items:
|
|
2323
|
-
layout:
|
|
2324
|
-
loading:
|
|
2325
|
-
onClick: (
|
|
2326
|
-
if (
|
|
2327
|
-
const
|
|
2328
|
-
(
|
|
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)
|
|
2329
2353
|
);
|
|
2330
|
-
if (!
|
|
2331
|
-
o == null || o(
|
|
2354
|
+
if (!E) return;
|
|
2355
|
+
o == null || o(E), p({
|
|
2332
2356
|
element: "casino_game_card",
|
|
2333
|
-
label: `${
|
|
2334
|
-
target: String(
|
|
2357
|
+
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
|
|
2358
|
+
target: String(E.machine || "unknown"),
|
|
2335
2359
|
event_type: "click",
|
|
2336
2360
|
module_id: u,
|
|
2337
2361
|
metadata: {
|
|
2338
2362
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2339
2363
|
},
|
|
2340
2364
|
tags: {
|
|
2341
|
-
game_name: String(
|
|
2365
|
+
game_name: String(E.machine || "unknown"),
|
|
2342
2366
|
section: a || "Casino"
|
|
2343
2367
|
}
|
|
2344
2368
|
});
|
|
2345
|
-
const
|
|
2346
|
-
|
|
2369
|
+
const R = se("showIframe"), B = se("loadMachine");
|
|
2370
|
+
R == null || R(), B == null || B(E, !1, "CASINO");
|
|
2347
2371
|
}
|
|
2348
2372
|
}
|
|
2349
2373
|
) }),
|
|
2350
|
-
onMove: ({ isStart:
|
|
2374
|
+
onMove: ({ isStart: O, isEnd: b }) => f({ isStart: O, isEnd: b })
|
|
2351
2375
|
}
|
|
2352
2376
|
)
|
|
2353
2377
|
] }) });
|
|
@@ -2366,36 +2390,36 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2366
2390
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2367
2391
|
}, hn = (e, a = !0, n = 1) => {
|
|
2368
2392
|
const o = e.map((s, c) => {
|
|
2369
|
-
var
|
|
2393
|
+
var p;
|
|
2370
2394
|
return {
|
|
2371
2395
|
id: wt(s, c),
|
|
2372
|
-
imageUrl: (
|
|
2396
|
+
imageUrl: (p = s.logo) != null ? p : "",
|
|
2373
2397
|
...s.background ? { background: s.background } : {}
|
|
2374
2398
|
};
|
|
2375
2399
|
});
|
|
2376
2400
|
if (!o.length) return [];
|
|
2377
|
-
const
|
|
2378
|
-
let
|
|
2401
|
+
const r = [];
|
|
2402
|
+
let i = 0;
|
|
2379
2403
|
if (a) {
|
|
2380
2404
|
const s = Math.min(o.length, 1);
|
|
2381
|
-
|
|
2405
|
+
r.push({
|
|
2382
2406
|
id: "mosaic-0",
|
|
2383
2407
|
kind: "mosaic",
|
|
2384
2408
|
items: o.slice(0, s)
|
|
2385
|
-
}),
|
|
2409
|
+
}), i = s;
|
|
2386
2410
|
}
|
|
2387
|
-
for (;
|
|
2388
|
-
const s = Math.min(
|
|
2389
|
-
|
|
2390
|
-
id: `grid-${
|
|
2411
|
+
for (; i < o.length; ) {
|
|
2412
|
+
const s = Math.min(i + n, o.length);
|
|
2413
|
+
r.push({
|
|
2414
|
+
id: `grid-${i}`,
|
|
2391
2415
|
kind: "grid",
|
|
2392
|
-
items: o.slice(
|
|
2393
|
-
}),
|
|
2416
|
+
items: o.slice(i, s)
|
|
2417
|
+
}), i = s;
|
|
2394
2418
|
}
|
|
2395
|
-
return
|
|
2419
|
+
return r;
|
|
2396
2420
|
}, bn = (e = !0, a = 4) => {
|
|
2397
|
-
const n = (
|
|
2398
|
-
id: `sk-${
|
|
2421
|
+
const n = (r) => Array.from({ length: r }, (i, s) => ({
|
|
2422
|
+
id: `sk-${r}-${s}`,
|
|
2399
2423
|
imageUrl: ""
|
|
2400
2424
|
})), o = [];
|
|
2401
2425
|
return e && o.push({
|
|
@@ -2412,19 +2436,19 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2412
2436
|
title: a = "Virtuales",
|
|
2413
2437
|
iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
|
|
2414
2438
|
onItemClick: o,
|
|
2415
|
-
onViewMore:
|
|
2416
|
-
mosaicFirst:
|
|
2439
|
+
onViewMore: r,
|
|
2440
|
+
mosaicFirst: i = !0,
|
|
2417
2441
|
gridSize: s = 1,
|
|
2418
2442
|
isPersonalize: c = !1
|
|
2419
2443
|
}) => {
|
|
2420
|
-
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(
|
|
2421
2445
|
e,
|
|
2422
|
-
|
|
2423
|
-
),
|
|
2424
|
-
var
|
|
2446
|
+
v
|
|
2447
|
+
), g = v ? S : Array.isArray(e) ? e : [], C = () => {
|
|
2448
|
+
var D;
|
|
2425
2449
|
m({
|
|
2426
2450
|
element: "virtuales_prev",
|
|
2427
|
-
label: `${d} - OraculoSeccionVirtuales${
|
|
2451
|
+
label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Anterior`,
|
|
2428
2452
|
target: "prev",
|
|
2429
2453
|
event_type: "click",
|
|
2430
2454
|
module_id: f,
|
|
@@ -2432,12 +2456,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2432
2456
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2433
2457
|
},
|
|
2434
2458
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2435
|
-
}), (
|
|
2436
|
-
},
|
|
2437
|
-
var
|
|
2459
|
+
}), (D = p.current) == null || D.prev();
|
|
2460
|
+
}, $ = () => {
|
|
2461
|
+
var D;
|
|
2438
2462
|
m({
|
|
2439
2463
|
element: "virtuales_next",
|
|
2440
|
-
label: `${d} - OraculoSeccionVirtuales${
|
|
2464
|
+
label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Siguiente`,
|
|
2441
2465
|
target: "next",
|
|
2442
2466
|
event_type: "click",
|
|
2443
2467
|
module_id: f,
|
|
@@ -2445,11 +2469,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2445
2469
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2446
2470
|
},
|
|
2447
2471
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2448
|
-
}), (
|
|
2449
|
-
},
|
|
2472
|
+
}), (D = p.current) == null || D.next();
|
|
2473
|
+
}, L = () => {
|
|
2450
2474
|
if (m({
|
|
2451
2475
|
element: "virtuales_view_more",
|
|
2452
|
-
label: `${d} - OraculoSeccionVirtuales${
|
|
2476
|
+
label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Ver más`,
|
|
2453
2477
|
target: "https://www.olimpo.bet/juegos-virtuales",
|
|
2454
2478
|
event_type: "click",
|
|
2455
2479
|
module_id: f,
|
|
@@ -2457,14 +2481,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2457
2481
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2458
2482
|
},
|
|
2459
2483
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2460
|
-
}),
|
|
2461
|
-
|
|
2484
|
+
}), r) {
|
|
2485
|
+
r();
|
|
2462
2486
|
return;
|
|
2463
2487
|
}
|
|
2464
2488
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2465
|
-
},
|
|
2466
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2467
|
-
/* @__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(
|
|
2468
2492
|
q,
|
|
2469
2493
|
{
|
|
2470
2494
|
sx: {
|
|
@@ -2480,39 +2504,39 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2480
2504
|
},
|
|
2481
2505
|
children: [
|
|
2482
2506
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
2483
|
-
/* @__PURE__ */
|
|
2507
|
+
/* @__PURE__ */ y(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2484
2508
|
/* @__PURE__ */ t(
|
|
2485
|
-
|
|
2509
|
+
Y,
|
|
2486
2510
|
{
|
|
2487
2511
|
ariaLabel: "Anterior",
|
|
2488
2512
|
variant: "secondary",
|
|
2489
2513
|
iconOnly: !0,
|
|
2490
2514
|
leftIcon: /* @__PURE__ */ t(lt, {}),
|
|
2491
|
-
onClick:
|
|
2492
|
-
disabled:
|
|
2515
|
+
onClick: C,
|
|
2516
|
+
disabled: h.isStart
|
|
2493
2517
|
}
|
|
2494
2518
|
),
|
|
2495
2519
|
/* @__PURE__ */ t(
|
|
2496
|
-
|
|
2520
|
+
Y,
|
|
2497
2521
|
{
|
|
2498
2522
|
ariaLabel: "Siguiente",
|
|
2499
2523
|
variant: "secondary",
|
|
2500
2524
|
iconOnly: !0,
|
|
2501
2525
|
rightIcon: /* @__PURE__ */ t(ct, {}),
|
|
2502
|
-
onClick:
|
|
2503
|
-
disabled:
|
|
2526
|
+
onClick: $,
|
|
2527
|
+
disabled: h.isEnd
|
|
2504
2528
|
}
|
|
2505
2529
|
)
|
|
2506
2530
|
] }),
|
|
2507
|
-
/* @__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" }) })
|
|
2508
2532
|
]
|
|
2509
2533
|
}
|
|
2510
2534
|
),
|
|
2511
2535
|
/* @__PURE__ */ t(
|
|
2512
2536
|
he,
|
|
2513
2537
|
{
|
|
2514
|
-
ref:
|
|
2515
|
-
items:
|
|
2538
|
+
ref: p,
|
|
2539
|
+
items: F,
|
|
2516
2540
|
perPage: void 0,
|
|
2517
2541
|
gap: "16px",
|
|
2518
2542
|
breakpoints: {
|
|
@@ -2533,50 +2557,50 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2533
2557
|
}
|
|
2534
2558
|
},
|
|
2535
2559
|
enableHorizontalWheel: !0,
|
|
2536
|
-
showRightGradient: !
|
|
2560
|
+
showRightGradient: !N,
|
|
2537
2561
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2538
|
-
renderItem: (
|
|
2562
|
+
renderItem: (D) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
|
|
2539
2563
|
ft,
|
|
2540
2564
|
{
|
|
2541
|
-
items:
|
|
2542
|
-
layout:
|
|
2543
|
-
loading:
|
|
2544
|
-
onClick: (
|
|
2545
|
-
if (
|
|
2546
|
-
const
|
|
2547
|
-
(
|
|
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)
|
|
2548
2572
|
);
|
|
2549
|
-
if (!
|
|
2573
|
+
if (!b) {
|
|
2550
2574
|
console.warn(
|
|
2551
2575
|
"[virtuales] no se encontró game para id:",
|
|
2552
|
-
|
|
2576
|
+
O.id
|
|
2553
2577
|
);
|
|
2554
2578
|
return;
|
|
2555
2579
|
}
|
|
2556
|
-
o == null || o(
|
|
2580
|
+
o == null || o(b), m({
|
|
2557
2581
|
element: "virtuales_game_card",
|
|
2558
|
-
label: `${d} - OraculoSeccionVirtuales${
|
|
2559
|
-
target: String(
|
|
2582
|
+
label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Game: ${String(b.machine || "unknown")}`,
|
|
2583
|
+
target: String(b.machine || "unknown"),
|
|
2560
2584
|
event_type: "click",
|
|
2561
2585
|
module_id: f,
|
|
2562
2586
|
metadata: {
|
|
2563
2587
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2564
2588
|
},
|
|
2565
2589
|
tags: {
|
|
2566
|
-
game_name: String(
|
|
2590
|
+
game_name: String(b.machine || "unknown"),
|
|
2567
2591
|
section: a || "Virtuales"
|
|
2568
2592
|
}
|
|
2569
2593
|
});
|
|
2570
|
-
const
|
|
2571
|
-
|
|
2572
|
-
|
|
2594
|
+
const E = se("showIframe"), R = se("loadMachine");
|
|
2595
|
+
E == null || E(), R == null || R(
|
|
2596
|
+
b,
|
|
2573
2597
|
!1,
|
|
2574
|
-
|
|
2598
|
+
v ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
|
|
2575
2599
|
);
|
|
2576
2600
|
}
|
|
2577
2601
|
}
|
|
2578
2602
|
) }),
|
|
2579
|
-
onMove: ({ isStart:
|
|
2603
|
+
onMove: ({ isStart: D, isEnd: O }) => u({ isStart: D, isEnd: O })
|
|
2580
2604
|
}
|
|
2581
2605
|
)
|
|
2582
2606
|
] }) });
|
|
@@ -2618,86 +2642,86 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2618
2642
|
items: n,
|
|
2619
2643
|
backgroundImageUrl: o
|
|
2620
2644
|
}) => {
|
|
2621
|
-
const
|
|
2622
|
-
|
|
2623
|
-
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 });
|
|
2646
|
+
Q(() => {
|
|
2647
|
+
const b = setTimeout(() => {
|
|
2624
2648
|
u.current = !0;
|
|
2625
2649
|
}, 500);
|
|
2626
|
-
return () => clearTimeout(
|
|
2650
|
+
return () => clearTimeout(b);
|
|
2627
2651
|
}, []);
|
|
2628
|
-
const
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
}, [
|
|
2632
|
-
const
|
|
2652
|
+
const x = V(v);
|
|
2653
|
+
Q(() => {
|
|
2654
|
+
x.current = v;
|
|
2655
|
+
}, [v]);
|
|
2656
|
+
const g = V(!1), C = V(null), $ = n == null ? void 0 : n[d], L = re(
|
|
2633
2657
|
() => {
|
|
2634
|
-
var
|
|
2635
|
-
return (
|
|
2658
|
+
var b, E;
|
|
2659
|
+
return (E = (b = $ == null ? void 0 : $.backgroundImageUrl) != null ? b : o) != null ? E : "";
|
|
2636
2660
|
},
|
|
2637
|
-
[
|
|
2638
|
-
),
|
|
2639
|
-
|
|
2661
|
+
[$, o]
|
|
2662
|
+
), _ = _n(L), N = !n || n.length === 0, F = (b, E) => {
|
|
2663
|
+
r({
|
|
2640
2664
|
element: "welcome_banner_button",
|
|
2641
|
-
label: `OraculoSeccionBonoBienvenida - Banner button click: ${
|
|
2665
|
+
label: `OraculoSeccionBonoBienvenida - Banner button click: ${b.title || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
|
|
2642
2666
|
target: "action",
|
|
2643
2667
|
event_type: "click",
|
|
2644
2668
|
module_id: 301,
|
|
2645
2669
|
metadata: {
|
|
2646
2670
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2647
|
-
banner_position:
|
|
2671
|
+
banner_position: E + 1,
|
|
2648
2672
|
banner_total: (n == null ? void 0 : n.length) || 0
|
|
2649
2673
|
},
|
|
2650
2674
|
tags: {
|
|
2651
|
-
banner_title:
|
|
2652
|
-
button_text:
|
|
2675
|
+
banner_title: b.title || "no_title",
|
|
2676
|
+
button_text: b.buttonText || "no_text"
|
|
2653
2677
|
}
|
|
2654
|
-
}),
|
|
2655
|
-
},
|
|
2678
|
+
}), b.onButtonClick && b.onButtonClick();
|
|
2679
|
+
}, D = (b) => {
|
|
2656
2680
|
if (!u.current) return;
|
|
2657
2681
|
if (m.current) {
|
|
2658
2682
|
m.current = !1;
|
|
2659
2683
|
return;
|
|
2660
2684
|
}
|
|
2661
|
-
const
|
|
2662
|
-
|
|
2685
|
+
const E = n == null ? void 0 : n[b];
|
|
2686
|
+
r({
|
|
2663
2687
|
element: "welcome_banner_carousel",
|
|
2664
|
-
label: `Landing: ${
|
|
2688
|
+
label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Banner view: ${(E == null ? void 0 : E.title) || "OraculoSeccionBonoBienvenida - Banner " + (b + 1)}`,
|
|
2665
2689
|
target: "no_url",
|
|
2666
2690
|
event_type: "view",
|
|
2667
2691
|
module_id: 301,
|
|
2668
2692
|
metadata: {
|
|
2669
2693
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2670
|
-
slide_index:
|
|
2694
|
+
slide_index: b + 1,
|
|
2671
2695
|
total_slides: (n == null ? void 0 : n.length) || 0,
|
|
2672
2696
|
interaction_type: "manual_slide"
|
|
2673
2697
|
},
|
|
2674
2698
|
tags: {
|
|
2675
|
-
banner_position: String(
|
|
2676
|
-
banner_title: (
|
|
2699
|
+
banner_position: String(b + 1),
|
|
2700
|
+
banner_title: (E == null ? void 0 : E.title) || "no_title"
|
|
2677
2701
|
}
|
|
2678
2702
|
});
|
|
2679
2703
|
};
|
|
2680
|
-
|
|
2681
|
-
const
|
|
2682
|
-
if (!
|
|
2683
|
-
const
|
|
2684
|
-
var
|
|
2685
|
-
if (
|
|
2686
|
-
const U =
|
|
2687
|
-
if (Math.abs(U) <= Math.abs(W) || Math.abs(U) <
|
|
2704
|
+
Q(() => {
|
|
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;
|
|
2688
2712
|
const G = U > 0;
|
|
2689
|
-
G &&
|
|
2690
|
-
|
|
2691
|
-
},
|
|
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));
|
|
2692
2716
|
};
|
|
2693
|
-
return
|
|
2694
|
-
|
|
2717
|
+
return b.addEventListener("wheel", B, { passive: !1 }), () => {
|
|
2718
|
+
b.removeEventListener("wheel", B), C.current && window.clearTimeout(C.current);
|
|
2695
2719
|
};
|
|
2696
|
-
}, [
|
|
2697
|
-
const
|
|
2720
|
+
}, [N]);
|
|
2721
|
+
const O = (b, E, R) => {
|
|
2698
2722
|
var U, W;
|
|
2699
|
-
const
|
|
2700
|
-
return
|
|
2723
|
+
const B = (U = b.headline) != null ? U : e, A = (W = b.headline2) != null ? W : a;
|
|
2724
|
+
return E ? /* @__PURE__ */ y(
|
|
2701
2725
|
q,
|
|
2702
2726
|
{
|
|
2703
2727
|
sx: {
|
|
@@ -2710,7 +2734,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2710
2734
|
columnGap: 6
|
|
2711
2735
|
},
|
|
2712
2736
|
children: [
|
|
2713
|
-
(
|
|
2737
|
+
(B || A) && /* @__PURE__ */ t(
|
|
2714
2738
|
q,
|
|
2715
2739
|
{
|
|
2716
2740
|
sx: {
|
|
@@ -2719,11 +2743,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2719
2743
|
justifyContent: "flex-start",
|
|
2720
2744
|
minHeight: "100%"
|
|
2721
2745
|
},
|
|
2722
|
-
children: /* @__PURE__ */
|
|
2723
|
-
|
|
2724
|
-
|
|
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: [
|
|
2725
2749
|
/* @__PURE__ */ t("br", {}),
|
|
2726
|
-
/* @__PURE__ */ t(ue, { component: "span", sx: tt, children:
|
|
2750
|
+
/* @__PURE__ */ t(ue, { component: "span", sx: tt, children: A })
|
|
2727
2751
|
] })
|
|
2728
2752
|
] })
|
|
2729
2753
|
}
|
|
@@ -2731,36 +2755,36 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2731
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(
|
|
2732
2756
|
Je,
|
|
2733
2757
|
{
|
|
2734
|
-
...
|
|
2735
|
-
onButtonClick: () =>
|
|
2758
|
+
...b,
|
|
2759
|
+
onButtonClick: () => F(b, R),
|
|
2736
2760
|
variant: "large"
|
|
2737
2761
|
}
|
|
2738
2762
|
) }) })
|
|
2739
2763
|
]
|
|
2740
2764
|
}
|
|
2741
|
-
) : /* @__PURE__ */
|
|
2742
|
-
(
|
|
2743
|
-
|
|
2744
|
-
|
|
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: [
|
|
2745
2769
|
/* @__PURE__ */ t("br", {}),
|
|
2746
|
-
/* @__PURE__ */ t(ue, { component: "span", sx: tt, children:
|
|
2770
|
+
/* @__PURE__ */ t(ue, { component: "span", sx: tt, children: A })
|
|
2747
2771
|
] })
|
|
2748
2772
|
] }),
|
|
2749
2773
|
/* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
2750
2774
|
Je,
|
|
2751
2775
|
{
|
|
2752
|
-
...
|
|
2753
|
-
onButtonClick: () =>
|
|
2776
|
+
...b,
|
|
2777
|
+
onButtonClick: () => F(b, R),
|
|
2754
2778
|
variant: "small"
|
|
2755
2779
|
}
|
|
2756
2780
|
) })
|
|
2757
2781
|
] });
|
|
2758
2782
|
};
|
|
2759
|
-
return /* @__PURE__ */
|
|
2760
|
-
/* @__PURE__ */ t("div", { ref:
|
|
2783
|
+
return /* @__PURE__ */ y(q, { component: "section", sx: _, children: [
|
|
2784
|
+
/* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
2761
2785
|
he,
|
|
2762
2786
|
{
|
|
2763
|
-
ref:
|
|
2787
|
+
ref: p,
|
|
2764
2788
|
items: n,
|
|
2765
2789
|
perPage: 1,
|
|
2766
2790
|
gap: "0px",
|
|
@@ -2774,9 +2798,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2774
2798
|
// arrows: false,
|
|
2775
2799
|
// drag: true,
|
|
2776
2800
|
},
|
|
2777
|
-
renderItem: (
|
|
2778
|
-
onMove: ({ index:
|
|
2779
|
-
f(
|
|
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);
|
|
2780
2804
|
}
|
|
2781
2805
|
}
|
|
2782
2806
|
) }),
|
|
@@ -2785,23 +2809,23 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2785
2809
|
{
|
|
2786
2810
|
total: n.length,
|
|
2787
2811
|
active: d,
|
|
2788
|
-
onSelect: (
|
|
2789
|
-
var
|
|
2790
|
-
|
|
2812
|
+
onSelect: (b) => {
|
|
2813
|
+
var E;
|
|
2814
|
+
r({
|
|
2791
2815
|
element: "welcome_banner_dots",
|
|
2792
|
-
label: `Landing: ${
|
|
2816
|
+
label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${b + 1}`,
|
|
2793
2817
|
target: "no_url",
|
|
2794
2818
|
event_type: "click",
|
|
2795
2819
|
module_id: 301,
|
|
2796
2820
|
metadata: {
|
|
2797
2821
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2798
|
-
dot_index:
|
|
2822
|
+
dot_index: b + 1,
|
|
2799
2823
|
total_dots: n.length
|
|
2800
2824
|
},
|
|
2801
2825
|
tags: {
|
|
2802
2826
|
navigation_type: "dot_click"
|
|
2803
2827
|
}
|
|
2804
|
-
}), f(
|
|
2828
|
+
}), f(b), (E = p.current) == null || E.go(b);
|
|
2805
2829
|
}
|
|
2806
2830
|
}
|
|
2807
2831
|
) })
|
|
@@ -2811,25 +2835,25 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2811
2835
|
fullBleed: a = !0,
|
|
2812
2836
|
items: n,
|
|
2813
2837
|
selectedIndex: o = 0,
|
|
2814
|
-
ariaLabel:
|
|
2815
|
-
user:
|
|
2838
|
+
ariaLabel: r,
|
|
2839
|
+
user: i = null
|
|
2816
2840
|
}) => {
|
|
2817
|
-
const s = V(null), c = V(null),
|
|
2841
|
+
const s = V(null), c = V(null), p = ae(), h = ne(), u = le();
|
|
2818
2842
|
if (!n) return null;
|
|
2819
2843
|
const m = async () => {
|
|
2820
|
-
let
|
|
2821
|
-
if ((!(
|
|
2844
|
+
let S = i;
|
|
2845
|
+
if ((!(S != null && S.user) || !(S != null && S.session)) && typeof window != "undefined")
|
|
2822
2846
|
try {
|
|
2823
|
-
const
|
|
2824
|
-
|
|
2825
|
-
} catch (
|
|
2826
|
-
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);
|
|
2827
2851
|
}
|
|
2828
|
-
if (!(
|
|
2852
|
+
if (!(S != null && S.user) || !(S != null && S.session))
|
|
2829
2853
|
return console.warn("User data missing"), null;
|
|
2830
|
-
|
|
2854
|
+
p({
|
|
2831
2855
|
element: "club_olimpo_button",
|
|
2832
|
-
label: `${
|
|
2856
|
+
label: `${h} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
|
|
2833
2857
|
target: "https://www.clubolimpo.com/OlimpoBetWeb/",
|
|
2834
2858
|
event_type: "click",
|
|
2835
2859
|
module_id: u,
|
|
@@ -2839,40 +2863,40 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2839
2863
|
tags: { section: "OraculoSeccionClubOlimpo" }
|
|
2840
2864
|
});
|
|
2841
2865
|
try {
|
|
2842
|
-
const
|
|
2843
|
-
idUsuario: "PE" +
|
|
2844
|
-
session_id:
|
|
2866
|
+
const x = {
|
|
2867
|
+
idUsuario: "PE" + S.user,
|
|
2868
|
+
session_id: S.session,
|
|
2845
2869
|
pagina: "home"
|
|
2846
|
-
},
|
|
2870
|
+
}, C = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
|
|
2847
2871
|
method: "POST",
|
|
2848
2872
|
headers: {
|
|
2849
2873
|
"Content-Type": "application/json"
|
|
2850
2874
|
},
|
|
2851
|
-
body: JSON.stringify(
|
|
2875
|
+
body: JSON.stringify(x)
|
|
2852
2876
|
});
|
|
2853
|
-
if (
|
|
2854
|
-
const
|
|
2855
|
-
return
|
|
2877
|
+
if (C.ok) {
|
|
2878
|
+
const $ = await C.json();
|
|
2879
|
+
return $ == null ? void 0 : $.url;
|
|
2856
2880
|
}
|
|
2857
2881
|
return null;
|
|
2858
|
-
} catch (
|
|
2859
|
-
return console.error("[getMarketPlaceUrl]",
|
|
2882
|
+
} catch (x) {
|
|
2883
|
+
return console.error("[getMarketPlaceUrl]", x), null;
|
|
2860
2884
|
}
|
|
2861
2885
|
}, d = async () => {
|
|
2862
|
-
const
|
|
2863
|
-
|
|
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");
|
|
2864
2888
|
}, f = Array.isArray(n) ? n[o] : n;
|
|
2865
2889
|
Mt(() => {
|
|
2866
2890
|
if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
|
|
2867
|
-
const
|
|
2868
|
-
|
|
2891
|
+
const S = s.current, x = c.current, g = () => {
|
|
2892
|
+
S.style.setProperty(
|
|
2869
2893
|
"--orc-co-bottomH",
|
|
2870
|
-
`${
|
|
2894
|
+
`${x.offsetHeight + 16}px`
|
|
2871
2895
|
);
|
|
2872
|
-
},
|
|
2873
|
-
return
|
|
2896
|
+
}, C = new ResizeObserver(g);
|
|
2897
|
+
return C.observe(x), g(), () => C.disconnect();
|
|
2874
2898
|
}, []);
|
|
2875
|
-
const
|
|
2899
|
+
const v = [
|
|
2876
2900
|
"orc-co-wrap",
|
|
2877
2901
|
a ? "orc-co-fullBleed" : "",
|
|
2878
2902
|
e
|
|
@@ -2881,8 +2905,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2881
2905
|
"section",
|
|
2882
2906
|
{
|
|
2883
2907
|
ref: s,
|
|
2884
|
-
className:
|
|
2885
|
-
"aria-label":
|
|
2908
|
+
className: v,
|
|
2909
|
+
"aria-label": r || f.imgAlt || "Club Olimpo",
|
|
2886
2910
|
children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
|
|
2887
2911
|
Sa,
|
|
2888
2912
|
{
|
|
@@ -2903,28 +2927,28 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2903
2927
|
}, In = (e) => {
|
|
2904
2928
|
var a, n;
|
|
2905
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) => {
|
|
2906
|
-
var
|
|
2907
|
-
return (
|
|
2930
|
+
var r, i;
|
|
2931
|
+
return (i = (r = o.outcomes) == null ? void 0 : r.map((s) => s.id)) != null ? i : [];
|
|
2908
2932
|
}) : [];
|
|
2909
2933
|
};
|
|
2910
|
-
function
|
|
2934
|
+
function En(e, a, n) {
|
|
2911
2935
|
return n ? n.map((o) => {
|
|
2912
2936
|
var u, m;
|
|
2913
|
-
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 = {};
|
|
2914
2938
|
for (const d of a) {
|
|
2915
|
-
if (!
|
|
2916
|
-
const f = d.outcomes.filter((
|
|
2917
|
-
f.length && ((m =
|
|
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 }));
|
|
2918
2942
|
}
|
|
2919
|
-
const
|
|
2943
|
+
const h = e.filter((d) => i.has(d.id)).map((d) => {
|
|
2920
2944
|
var f;
|
|
2921
|
-
return { ...d, betoffers: (f =
|
|
2945
|
+
return { ...d, betoffers: (f = p[d.id]) != null ? f : [] };
|
|
2922
2946
|
});
|
|
2923
2947
|
return {
|
|
2924
2948
|
couponId: o.id,
|
|
2925
2949
|
status: o.status,
|
|
2926
2950
|
combinadoTotal: On(o.prePackCouponRows),
|
|
2927
|
-
events:
|
|
2951
|
+
events: h
|
|
2928
2952
|
};
|
|
2929
2953
|
}) : [];
|
|
2930
2954
|
}
|
|
@@ -2932,22 +2956,22 @@ function On(e) {
|
|
|
2932
2956
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
2933
2957
|
let a = 1;
|
|
2934
2958
|
for (const n of e) {
|
|
2935
|
-
const o = n.odds.decimal / 1e3,
|
|
2936
|
-
a *=
|
|
2959
|
+
const o = n.odds.decimal / 1e3, r = Math.round(o * 100) / 100;
|
|
2960
|
+
a *= r;
|
|
2937
2961
|
}
|
|
2938
2962
|
return Math.floor(a * 100) / 100;
|
|
2939
2963
|
}
|
|
2940
|
-
const
|
|
2964
|
+
const Cn = fe.memo(Ra);
|
|
2941
2965
|
function Tn({
|
|
2942
2966
|
items: e,
|
|
2943
2967
|
title: a = "Combinadas del Olimpo",
|
|
2944
2968
|
iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
|
|
2945
2969
|
onViewMore: o,
|
|
2946
|
-
className:
|
|
2970
|
+
className: r = ""
|
|
2947
2971
|
}) {
|
|
2948
|
-
const
|
|
2949
|
-
var
|
|
2950
|
-
|
|
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({
|
|
2951
2975
|
element: "evento_combinadas_prev",
|
|
2952
2976
|
label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
|
|
2953
2977
|
event_type: "click",
|
|
@@ -2956,10 +2980,10 @@ function Tn({
|
|
|
2956
2980
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2957
2981
|
},
|
|
2958
2982
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2959
|
-
}), (
|
|
2960
|
-
},
|
|
2961
|
-
var
|
|
2962
|
-
|
|
2983
|
+
}), (_ = p.current) == null || _.prev();
|
|
2984
|
+
}, S = () => {
|
|
2985
|
+
var _;
|
|
2986
|
+
i({
|
|
2963
2987
|
element: "evento_combinadas_next",
|
|
2964
2988
|
label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
|
|
2965
2989
|
event_type: "click",
|
|
@@ -2968,9 +2992,9 @@ function Tn({
|
|
|
2968
2992
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2969
2993
|
},
|
|
2970
2994
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2971
|
-
}), (
|
|
2972
|
-
},
|
|
2973
|
-
|
|
2995
|
+
}), (_ = p.current) == null || _.next();
|
|
2996
|
+
}, x = () => {
|
|
2997
|
+
i({
|
|
2974
2998
|
element: "evento_combinadas_ver_mas",
|
|
2975
2999
|
label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
|
|
2976
3000
|
event_type: "click",
|
|
@@ -2980,77 +3004,77 @@ function Tn({
|
|
|
2980
3004
|
},
|
|
2981
3005
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2982
3006
|
}), za();
|
|
2983
|
-
},
|
|
2984
|
-
async function
|
|
2985
|
-
var
|
|
3007
|
+
}, g = re(() => m.filter((_) => _.combinadoTotal !== null), [m]);
|
|
3008
|
+
async function C() {
|
|
3009
|
+
var _, N, F, D;
|
|
2986
3010
|
try {
|
|
2987
|
-
const
|
|
2988
|
-
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) {
|
|
2989
3013
|
console.error("Could not extract group ID");
|
|
2990
3014
|
return;
|
|
2991
3015
|
}
|
|
2992
|
-
const
|
|
2993
|
-
d(
|
|
2994
|
-
} catch (
|
|
2995
|
-
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);
|
|
2996
3020
|
}
|
|
2997
3021
|
}
|
|
2998
|
-
|
|
2999
|
-
|
|
3022
|
+
Q(() => {
|
|
3023
|
+
C();
|
|
3000
3024
|
}, []);
|
|
3001
|
-
const
|
|
3002
|
-
return
|
|
3025
|
+
const $ = r || void 0, L = xe("(max-width:950px)");
|
|
3026
|
+
return g.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
|
|
3003
3027
|
// paddingLeft: 16,
|
|
3004
3028
|
// paddingRight: 16,
|
|
3005
3029
|
width: "100%",
|
|
3006
3030
|
boxSizing: "border-box"
|
|
3007
|
-
}, children: /* @__PURE__ */
|
|
3008
|
-
/* @__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: [
|
|
3009
3033
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
3010
|
-
/* @__PURE__ */
|
|
3011
|
-
/* @__PURE__ */
|
|
3034
|
+
/* @__PURE__ */ y("div", { className: at.controls, children: [
|
|
3035
|
+
/* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
|
|
3012
3036
|
/* @__PURE__ */ t(
|
|
3013
|
-
|
|
3037
|
+
Y,
|
|
3014
3038
|
{
|
|
3015
3039
|
ariaLabel: "Anterior",
|
|
3016
3040
|
variant: "secondary",
|
|
3017
3041
|
iconOnly: !0,
|
|
3018
3042
|
leftIcon: /* @__PURE__ */ t(Ae, {}),
|
|
3019
|
-
onClick:
|
|
3020
|
-
disabled:
|
|
3043
|
+
onClick: v,
|
|
3044
|
+
disabled: h.isStart
|
|
3021
3045
|
}
|
|
3022
3046
|
),
|
|
3023
3047
|
/* @__PURE__ */ t(
|
|
3024
|
-
|
|
3048
|
+
Y,
|
|
3025
3049
|
{
|
|
3026
3050
|
ariaLabel: "Siguiente",
|
|
3027
3051
|
variant: "secondary",
|
|
3028
3052
|
iconOnly: !0,
|
|
3029
3053
|
rightIcon: /* @__PURE__ */ t(ze, {}),
|
|
3030
|
-
onClick:
|
|
3031
|
-
disabled:
|
|
3054
|
+
onClick: S,
|
|
3055
|
+
disabled: h.isEnd
|
|
3032
3056
|
}
|
|
3033
3057
|
)
|
|
3034
3058
|
] }),
|
|
3035
|
-
/* @__PURE__ */ t(
|
|
3059
|
+
/* @__PURE__ */ t(Y, { variant: "secondary", onClick: x, children: "Ver más" })
|
|
3036
3060
|
] })
|
|
3037
3061
|
] }) }),
|
|
3038
3062
|
/* @__PURE__ */ t(
|
|
3039
3063
|
he,
|
|
3040
3064
|
{
|
|
3041
|
-
ref:
|
|
3042
|
-
items:
|
|
3065
|
+
ref: p,
|
|
3066
|
+
items: g,
|
|
3043
3067
|
perPage: void 0,
|
|
3044
3068
|
gap: "16px",
|
|
3045
3069
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
3046
3070
|
useIndexAsKey: !0,
|
|
3047
3071
|
enableHorizontalWheel: !0,
|
|
3048
|
-
showRightGradient: !
|
|
3072
|
+
showRightGradient: !L,
|
|
3049
3073
|
breakpoints: {
|
|
3050
3074
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3051
3075
|
},
|
|
3052
|
-
renderItem: (
|
|
3053
|
-
onMove: ({ isStart:
|
|
3076
|
+
renderItem: (_) => /* @__PURE__ */ t(Cn, { coupon: _ }),
|
|
3077
|
+
onMove: ({ isStart: _, isEnd: N }) => u({ isStart: _, isEnd: N })
|
|
3054
3078
|
}
|
|
3055
3079
|
)
|
|
3056
3080
|
] }) });
|
|
@@ -3060,27 +3084,27 @@ function kn({}) {
|
|
|
3060
3084
|
"div",
|
|
3061
3085
|
{
|
|
3062
3086
|
className: ke.cardWrapper,
|
|
3063
|
-
children: /* @__PURE__ */
|
|
3064
|
-
/* @__PURE__ */
|
|
3087
|
+
children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1, children: [
|
|
3088
|
+
/* @__PURE__ */ y(H, { spacing: 1, direction: "row", children: [
|
|
3065
3089
|
/* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
|
|
3066
3090
|
/* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
|
|
3067
3091
|
] }),
|
|
3068
|
-
/* @__PURE__ */
|
|
3092
|
+
/* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3069
3093
|
/* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
|
|
3070
3094
|
/* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
|
|
3071
3095
|
/* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
|
|
3072
3096
|
] }),
|
|
3073
|
-
/* @__PURE__ */
|
|
3097
|
+
/* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3074
3098
|
/* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
|
|
3075
3099
|
/* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
|
|
3076
3100
|
/* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
|
|
3077
3101
|
] }),
|
|
3078
|
-
/* @__PURE__ */
|
|
3102
|
+
/* @__PURE__ */ y(H, { spacing: 2, direction: "row", children: [
|
|
3079
3103
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
|
|
3080
3104
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
|
|
3081
3105
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
|
|
3082
3106
|
] }),
|
|
3083
|
-
/* @__PURE__ */
|
|
3107
|
+
/* @__PURE__ */ y(H, { spacing: 2, direction: "row", children: [
|
|
3084
3108
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
|
|
3085
3109
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
|
|
3086
3110
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
|
|
@@ -3089,11 +3113,11 @@ function kn({}) {
|
|
|
3089
3113
|
}
|
|
3090
3114
|
);
|
|
3091
3115
|
}
|
|
3092
|
-
const
|
|
3093
|
-
fadeWrapper:
|
|
3116
|
+
const Nn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", $n = {
|
|
3117
|
+
fadeWrapper: Nn
|
|
3094
3118
|
};
|
|
3095
3119
|
function Be({ children: e }) {
|
|
3096
|
-
return /* @__PURE__ */ t("div", { className:
|
|
3120
|
+
return /* @__PURE__ */ t("div", { className: $n.fadeWrapper, children: e });
|
|
3097
3121
|
}
|
|
3098
3122
|
const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
|
|
3099
3123
|
padding: Mn
|
|
@@ -3103,70 +3127,70 @@ function St({
|
|
|
3103
3127
|
visibleRange: a,
|
|
3104
3128
|
fetchJerseys: n,
|
|
3105
3129
|
buffer: o = 2,
|
|
3106
|
-
debounceMs:
|
|
3130
|
+
debounceMs: r = 250
|
|
3107
3131
|
}) {
|
|
3108
|
-
const [
|
|
3109
|
-
return
|
|
3132
|
+
const [i, s] = X({}), c = V(/* @__PURE__ */ new Set()), p = V(0), h = V(null), u = V(null);
|
|
3133
|
+
return Q(() => {
|
|
3110
3134
|
if (!(!e || e.length === 0))
|
|
3111
|
-
return
|
|
3112
|
-
var
|
|
3113
|
-
const m = (
|
|
3114
|
-
let
|
|
3115
|
-
const
|
|
3116
|
-
|
|
3117
|
-
const
|
|
3118
|
-
if (
|
|
3119
|
-
|
|
3120
|
-
const
|
|
3135
|
+
return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
|
|
3136
|
+
var L, _;
|
|
3137
|
+
const m = (L = a.start) != null ? L : 0, d = (_ = a.end) != null ? _ : 7, f = Math.max(0, m - o), v = Math.min(e.length - 1, d + o);
|
|
3138
|
+
let S = f, x = v;
|
|
3139
|
+
const g = u.current;
|
|
3140
|
+
g && (f > g.end && (S = g.end + 1), v < g.start && (x = g.start - 1)), u.current = { start: f, end: v };
|
|
3141
|
+
const C = e.slice(S, x + 1).map((N) => N == null ? void 0 : N.id).filter((N) => !!N).filter((N) => !c.current.has(N)).filter((N) => !(N in i));
|
|
3142
|
+
if (C.length === 0) return;
|
|
3143
|
+
C.forEach((N) => c.current.add(N));
|
|
3144
|
+
const $ = ++p.current;
|
|
3121
3145
|
(async () => {
|
|
3122
3146
|
try {
|
|
3123
|
-
const
|
|
3124
|
-
if (
|
|
3125
|
-
|
|
3147
|
+
const N = await n(C);
|
|
3148
|
+
if ($ !== p.current) {
|
|
3149
|
+
C.forEach((D) => c.current.delete(D));
|
|
3126
3150
|
return;
|
|
3127
3151
|
}
|
|
3128
|
-
if (!(
|
|
3129
|
-
|
|
3130
|
-
(
|
|
3152
|
+
if (!(N != null && N.events)) {
|
|
3153
|
+
C.forEach(
|
|
3154
|
+
(D) => c.current.delete(D)
|
|
3131
3155
|
);
|
|
3132
3156
|
return;
|
|
3133
3157
|
}
|
|
3134
|
-
s((
|
|
3135
|
-
const
|
|
3136
|
-
for (const [
|
|
3137
|
-
const
|
|
3138
|
-
|
|
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);
|
|
3139
3163
|
}
|
|
3140
|
-
return
|
|
3164
|
+
return O;
|
|
3141
3165
|
});
|
|
3142
|
-
const
|
|
3143
|
-
Object.keys(
|
|
3166
|
+
const F = new Set(
|
|
3167
|
+
Object.keys(N.events).map(Number)
|
|
3144
3168
|
);
|
|
3145
|
-
|
|
3146
|
-
c.current.delete(
|
|
3169
|
+
C.forEach((D) => {
|
|
3170
|
+
c.current.delete(D);
|
|
3147
3171
|
});
|
|
3148
|
-
} catch (
|
|
3149
|
-
|
|
3150
|
-
(
|
|
3151
|
-
), console.error("Jersey fetch error",
|
|
3172
|
+
} catch (N) {
|
|
3173
|
+
C.forEach(
|
|
3174
|
+
(F) => c.current.delete(F)
|
|
3175
|
+
), console.error("Jersey fetch error", N);
|
|
3152
3176
|
}
|
|
3153
3177
|
})();
|
|
3154
|
-
},
|
|
3155
|
-
|
|
3178
|
+
}, r), () => {
|
|
3179
|
+
h.current && clearTimeout(h.current);
|
|
3156
3180
|
};
|
|
3157
|
-
}, [e, a, o,
|
|
3158
|
-
jerseys:
|
|
3181
|
+
}, [e, a, o, r, n]), {
|
|
3182
|
+
jerseys: i,
|
|
3159
3183
|
isPending: c.current
|
|
3160
3184
|
};
|
|
3161
3185
|
}
|
|
3162
3186
|
const An = (e) => {
|
|
3163
3187
|
const a = ["esports", "cyber"];
|
|
3164
3188
|
return e.filter((n) => {
|
|
3165
|
-
var
|
|
3166
|
-
const o = (
|
|
3189
|
+
var i, s;
|
|
3190
|
+
const o = (i = n == null ? void 0 : n.event) == null ? void 0 : i.sport;
|
|
3167
3191
|
if (typeof o != "string" || o !== "FOOTBALL") return !1;
|
|
3168
|
-
const
|
|
3169
|
-
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));
|
|
3170
3194
|
});
|
|
3171
3195
|
}, zn = fe.memo(Da);
|
|
3172
3196
|
function Rn({
|
|
@@ -3174,81 +3198,81 @@ function Rn({
|
|
|
3174
3198
|
title: a = "En vivo",
|
|
3175
3199
|
iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
|
|
3176
3200
|
onViewMore: o,
|
|
3177
|
-
className:
|
|
3201
|
+
className: r = ""
|
|
3178
3202
|
}) {
|
|
3179
|
-
const
|
|
3180
|
-
var
|
|
3181
|
-
|
|
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({
|
|
3182
3206
|
element: "evento_en_vivo_prev",
|
|
3183
|
-
label: `${
|
|
3207
|
+
label: `${g} - OraculoSeccionEventoEnVivo - Anterior`,
|
|
3184
3208
|
target: "prev",
|
|
3185
3209
|
event_type: "click",
|
|
3186
|
-
module_id:
|
|
3210
|
+
module_id: C,
|
|
3187
3211
|
metadata: {
|
|
3188
3212
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3189
3213
|
},
|
|
3190
3214
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3191
|
-
}), (
|
|
3192
|
-
},
|
|
3193
|
-
var
|
|
3194
|
-
|
|
3215
|
+
}), (B = s.current) == null || B.prev();
|
|
3216
|
+
}, _ = () => {
|
|
3217
|
+
var B;
|
|
3218
|
+
x({
|
|
3195
3219
|
element: "evento_en_vivo_next",
|
|
3196
|
-
label: `${
|
|
3220
|
+
label: `${g} - OraculoSeccionEventoEnVivo - Siguiente`,
|
|
3197
3221
|
target: "next",
|
|
3198
3222
|
event_type: "click",
|
|
3199
|
-
module_id:
|
|
3223
|
+
module_id: C,
|
|
3200
3224
|
metadata: {
|
|
3201
3225
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3202
3226
|
},
|
|
3203
3227
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3204
|
-
}), (
|
|
3205
|
-
},
|
|
3206
|
-
|
|
3228
|
+
}), (B = s.current) == null || B.next();
|
|
3229
|
+
}, N = () => {
|
|
3230
|
+
x({
|
|
3207
3231
|
element: "evento_en_vivo_view_more",
|
|
3208
|
-
label: `${
|
|
3232
|
+
label: `${g} - OraculoSeccionEventoEnVivo - Ver más`,
|
|
3209
3233
|
target: "ver_mas",
|
|
3210
3234
|
event_type: "click",
|
|
3211
|
-
module_id:
|
|
3235
|
+
module_id: C,
|
|
3212
3236
|
metadata: {
|
|
3213
3237
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3214
3238
|
},
|
|
3215
3239
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3216
3240
|
}), Ba();
|
|
3217
|
-
},
|
|
3218
|
-
var
|
|
3241
|
+
}, F = Ce(async () => {
|
|
3242
|
+
var B;
|
|
3219
3243
|
try {
|
|
3220
|
-
if (!
|
|
3221
|
-
|
|
3244
|
+
if (!S.current) {
|
|
3245
|
+
S.current = !0;
|
|
3222
3246
|
try {
|
|
3223
|
-
const
|
|
3224
|
-
|
|
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;
|
|
3225
3249
|
} catch (G) {
|
|
3226
3250
|
console.error("Order fetch failed, using default sorting", G);
|
|
3227
3251
|
}
|
|
3228
3252
|
}
|
|
3229
|
-
const
|
|
3230
|
-
if (!
|
|
3231
|
-
const U = await
|
|
3232
|
-
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)
|
|
3233
3257
|
u(W);
|
|
3234
3258
|
else {
|
|
3235
|
-
const G = [...W].sort((
|
|
3236
|
-
const
|
|
3237
|
-
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);
|
|
3238
3262
|
});
|
|
3239
3263
|
u(G);
|
|
3240
3264
|
}
|
|
3241
|
-
} catch (
|
|
3242
|
-
console.error("LoadData Error:",
|
|
3265
|
+
} catch (A) {
|
|
3266
|
+
console.error("LoadData Error:", A);
|
|
3243
3267
|
}
|
|
3244
3268
|
}, []);
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
const
|
|
3248
|
-
return () => clearInterval(
|
|
3249
|
-
}, [
|
|
3250
|
-
const { jerseys:
|
|
3251
|
-
events: (
|
|
3269
|
+
Q(() => {
|
|
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)) || [],
|
|
3252
3276
|
// extract actual event objects
|
|
3253
3277
|
visibleRange: m,
|
|
3254
3278
|
fetchJerseys: gt,
|
|
@@ -3256,50 +3280,50 @@ function Rn({
|
|
|
3256
3280
|
// same as your previous BUFFER
|
|
3257
3281
|
debounceMs: 300
|
|
3258
3282
|
// same as your previous debouncedVisibleRange
|
|
3259
|
-
}),
|
|
3260
|
-
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: {
|
|
3261
3285
|
// paddingLeft: 16,
|
|
3262
3286
|
// paddingRight: 16,
|
|
3263
3287
|
width: "100%",
|
|
3264
3288
|
boxSizing: "border-box"
|
|
3265
|
-
}, children: /* @__PURE__ */
|
|
3266
|
-
/* @__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: [
|
|
3267
3291
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
3268
|
-
/* @__PURE__ */
|
|
3269
|
-
/* @__PURE__ */
|
|
3292
|
+
/* @__PURE__ */ y("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
3293
|
+
/* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
|
|
3270
3294
|
/* @__PURE__ */ t(
|
|
3271
|
-
|
|
3295
|
+
Y,
|
|
3272
3296
|
{
|
|
3273
3297
|
ariaLabel: "Anterior",
|
|
3274
3298
|
variant: "secondary",
|
|
3275
3299
|
iconOnly: !0,
|
|
3276
3300
|
leftIcon: /* @__PURE__ */ t(Ae, {}),
|
|
3277
|
-
onClick:
|
|
3301
|
+
onClick: L,
|
|
3278
3302
|
disabled: c.isStart
|
|
3279
3303
|
}
|
|
3280
3304
|
),
|
|
3281
3305
|
/* @__PURE__ */ t(
|
|
3282
|
-
|
|
3306
|
+
Y,
|
|
3283
3307
|
{
|
|
3284
3308
|
ariaLabel: "Siguiente",
|
|
3285
3309
|
variant: "secondary",
|
|
3286
3310
|
iconOnly: !0,
|
|
3287
3311
|
rightIcon: /* @__PURE__ */ t(ze, {}),
|
|
3288
|
-
onClick:
|
|
3312
|
+
onClick: _,
|
|
3289
3313
|
disabled: c.isEnd
|
|
3290
3314
|
}
|
|
3291
3315
|
)
|
|
3292
3316
|
] }),
|
|
3293
|
-
/* @__PURE__ */ t(
|
|
3317
|
+
/* @__PURE__ */ t(Y, { variant: "secondary", onClick: N, children: "Ver más" })
|
|
3294
3318
|
] })
|
|
3295
3319
|
] }) }),
|
|
3296
3320
|
/* @__PURE__ */ t(
|
|
3297
3321
|
he,
|
|
3298
3322
|
{
|
|
3299
3323
|
ref: s,
|
|
3300
|
-
items:
|
|
3324
|
+
items: E,
|
|
3301
3325
|
perPage: void 0,
|
|
3302
|
-
showRightGradient: !
|
|
3326
|
+
showRightGradient: !R,
|
|
3303
3327
|
enableHorizontalWheel: !0,
|
|
3304
3328
|
gap: "16px",
|
|
3305
3329
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
@@ -3308,20 +3332,20 @@ function Rn({
|
|
|
3308
3332
|
768: { gap: "8px", focus: "center", padding: { left: "24px", right: "24px" } },
|
|
3309
3333
|
1024: { gap: "10px", focus: "center", padding: { left: "24px", right: "24px" } }
|
|
3310
3334
|
},
|
|
3311
|
-
renderItem: (
|
|
3335
|
+
renderItem: (B) => {
|
|
3312
3336
|
var W;
|
|
3313
|
-
const
|
|
3314
|
-
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(
|
|
3315
3339
|
zn,
|
|
3316
3340
|
{
|
|
3317
|
-
...
|
|
3341
|
+
...B,
|
|
3318
3342
|
jersey: U
|
|
3319
3343
|
}
|
|
3320
3344
|
) });
|
|
3321
3345
|
},
|
|
3322
|
-
onMove: ({ isStart:
|
|
3323
|
-
|
|
3324
|
-
(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 }
|
|
3325
3349
|
), d({ start: U, end: W });
|
|
3326
3350
|
}
|
|
3327
3351
|
}
|
|
@@ -3329,25 +3353,25 @@ function Rn({
|
|
|
3329
3353
|
] }) });
|
|
3330
3354
|
}
|
|
3331
3355
|
function Pn() {
|
|
3332
|
-
return /* @__PURE__ */
|
|
3356
|
+
return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
|
|
3333
3357
|
/* @__PURE__ */ t(mt, { title: "" }),
|
|
3334
|
-
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */
|
|
3335
|
-
/* @__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: [
|
|
3336
3360
|
/* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
|
|
3337
3361
|
/* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
|
|
3338
3362
|
] }),
|
|
3339
|
-
/* @__PURE__ */
|
|
3340
|
-
/* @__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: [
|
|
3341
3365
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
|
|
3342
3366
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
|
|
3343
3367
|
] }),
|
|
3344
3368
|
/* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
|
|
3345
|
-
/* @__PURE__ */
|
|
3369
|
+
/* @__PURE__ */ y(H, { direction: "row", spacing: 1, children: [
|
|
3346
3370
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
|
|
3347
3371
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
|
|
3348
3372
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
|
|
3349
3373
|
] }),
|
|
3350
|
-
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */
|
|
3374
|
+
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ y(H, { direction: "row", spacing: 1, children: [
|
|
3351
3375
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
|
|
3352
3376
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
|
|
3353
3377
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
|
|
@@ -3364,11 +3388,11 @@ const Ln = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "
|
|
|
3364
3388
|
}, Un = fe.memo(Za);
|
|
3365
3389
|
async function Vn(e, a = 2, n) {
|
|
3366
3390
|
const o = [];
|
|
3367
|
-
for (let
|
|
3391
|
+
for (let r = 0; r < e.length; r += a) {
|
|
3368
3392
|
if (n.aborted)
|
|
3369
3393
|
throw new DOMException("Aborted", "AbortError");
|
|
3370
|
-
const
|
|
3371
|
-
|
|
3394
|
+
const i = e.slice(r, r + a), s = await Promise.all(
|
|
3395
|
+
i.map((c) => fetch(c, { signal: n }).then((p) => p.json()))
|
|
3372
3396
|
);
|
|
3373
3397
|
o.push(...s);
|
|
3374
3398
|
}
|
|
@@ -3383,18 +3407,18 @@ function Gn(e) {
|
|
|
3383
3407
|
const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
|
|
3384
3408
|
return e.filter((o) => {
|
|
3385
3409
|
if (!o.start) return !1;
|
|
3386
|
-
const
|
|
3387
|
-
return
|
|
3410
|
+
const r = new Date(o.start);
|
|
3411
|
+
return r >= a && r <= n;
|
|
3388
3412
|
});
|
|
3389
3413
|
}
|
|
3390
3414
|
function jn(e, a) {
|
|
3391
|
-
const o = a.filter((
|
|
3392
|
-
var
|
|
3393
|
-
return ((
|
|
3394
|
-
}).reduce((
|
|
3395
|
-
return e.filter((
|
|
3396
|
-
...
|
|
3397
|
-
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]
|
|
3398
3422
|
}));
|
|
3399
3423
|
}
|
|
3400
3424
|
function Hn({
|
|
@@ -3402,10 +3426,10 @@ function Hn({
|
|
|
3402
3426
|
title: a = "En vivo",
|
|
3403
3427
|
iconUrl: n,
|
|
3404
3428
|
onViewMore: o,
|
|
3405
|
-
className:
|
|
3429
|
+
className: r = ""
|
|
3406
3430
|
}) {
|
|
3407
|
-
const
|
|
3408
|
-
|
|
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({
|
|
3409
3433
|
element: "evento_semana_view_more",
|
|
3410
3434
|
label: `${s} - OraculoSeccionEventoSemana - Ver más`,
|
|
3411
3435
|
target: "ver_mas",
|
|
@@ -3417,24 +3441,24 @@ function Hn({
|
|
|
3417
3441
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3418
3442
|
}), Aa();
|
|
3419
3443
|
};
|
|
3420
|
-
async function
|
|
3421
|
-
var
|
|
3422
|
-
let
|
|
3444
|
+
async function C(O) {
|
|
3445
|
+
var R, B;
|
|
3446
|
+
let b = [], E = [];
|
|
3423
3447
|
try {
|
|
3424
|
-
const
|
|
3448
|
+
const A = await fetch(
|
|
3425
3449
|
"https://api.mktolimpo.com/api/kambi/eventos/orden",
|
|
3426
|
-
{ signal:
|
|
3450
|
+
{ signal: O }
|
|
3427
3451
|
);
|
|
3428
|
-
if (
|
|
3429
|
-
const U = await
|
|
3430
|
-
|
|
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) || [];
|
|
3431
3455
|
}
|
|
3432
|
-
} catch (
|
|
3433
|
-
|
|
3456
|
+
} catch (A) {
|
|
3457
|
+
A.name !== "AbortError" && console.warn("Order API not available, using default group order");
|
|
3434
3458
|
return;
|
|
3435
3459
|
}
|
|
3436
3460
|
try {
|
|
3437
|
-
const W = (await (await fetch(
|
|
3461
|
+
const W = (await (await fetch(p, { signal: O })).json()).group.groups.find(
|
|
3438
3462
|
(l) => l.englishName === "Football"
|
|
3439
3463
|
);
|
|
3440
3464
|
if (!W || !Array.isArray(W.groups)) {
|
|
@@ -3442,90 +3466,90 @@ function Hn({
|
|
|
3442
3466
|
return;
|
|
3443
3467
|
}
|
|
3444
3468
|
let G = [...W.groups];
|
|
3445
|
-
if (
|
|
3469
|
+
if (b.length > 0) {
|
|
3446
3470
|
const l = new Map(
|
|
3447
|
-
|
|
3471
|
+
b.map((I, T) => [I, T])
|
|
3448
3472
|
);
|
|
3449
|
-
G.sort((
|
|
3450
|
-
const
|
|
3451
|
-
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;
|
|
3452
3476
|
});
|
|
3453
3477
|
}
|
|
3454
|
-
const
|
|
3455
|
-
const
|
|
3478
|
+
const w = G.slice(0, 5), z = (l) => {
|
|
3479
|
+
const I = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
|
|
3456
3480
|
if (l.groups && l.groups.length > 0) {
|
|
3457
|
-
const
|
|
3481
|
+
const T = l.groups[0];
|
|
3458
3482
|
return [
|
|
3459
|
-
`${
|
|
3483
|
+
`${I}/${l.termKey}/${T.termKey}/all/matches.json?${x}`
|
|
3460
3484
|
];
|
|
3461
3485
|
}
|
|
3462
3486
|
return [
|
|
3463
|
-
`${
|
|
3487
|
+
`${I}/${l.termKey}/all/all/matches.json?${x}`
|
|
3464
3488
|
];
|
|
3465
|
-
},
|
|
3466
|
-
|
|
3467
|
-
} catch (
|
|
3468
|
-
console.error(
|
|
3489
|
+
}, Z = w.flatMap(z);
|
|
3490
|
+
$(Z, E, O);
|
|
3491
|
+
} catch (A) {
|
|
3492
|
+
console.error(A);
|
|
3469
3493
|
}
|
|
3470
3494
|
}
|
|
3471
|
-
async function
|
|
3495
|
+
async function $(O, b, E) {
|
|
3472
3496
|
try {
|
|
3473
|
-
const
|
|
3474
|
-
let
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
...
|
|
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 || [])
|
|
3478
3502
|
));
|
|
3479
3503
|
});
|
|
3480
|
-
const U = jn(
|
|
3504
|
+
const U = jn(B, A), W = Wn(Gn(U));
|
|
3481
3505
|
let G = W;
|
|
3482
|
-
if (
|
|
3483
|
-
const
|
|
3484
|
-
|
|
3485
|
-
String(
|
|
3486
|
-
|
|
3506
|
+
if (b.length > 0) {
|
|
3507
|
+
const K = new Map(
|
|
3508
|
+
b.map((w, z) => [
|
|
3509
|
+
String(w),
|
|
3510
|
+
z
|
|
3487
3511
|
])
|
|
3488
3512
|
);
|
|
3489
|
-
G = [...W].sort((
|
|
3490
|
-
const
|
|
3491
|
-
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;
|
|
3492
3516
|
});
|
|
3493
3517
|
}
|
|
3494
|
-
if (
|
|
3518
|
+
if (E.aborted) return;
|
|
3495
3519
|
f(G);
|
|
3496
|
-
} catch (
|
|
3497
|
-
console.error("Error loading events:",
|
|
3520
|
+
} catch (R) {
|
|
3521
|
+
console.error("Error loading events:", R);
|
|
3498
3522
|
}
|
|
3499
3523
|
}
|
|
3500
|
-
|
|
3524
|
+
Q(() => {
|
|
3501
3525
|
if (!e) return;
|
|
3502
|
-
const
|
|
3503
|
-
return
|
|
3504
|
-
|
|
3526
|
+
const O = new AbortController();
|
|
3527
|
+
return C(O.signal), () => {
|
|
3528
|
+
O.abort();
|
|
3505
3529
|
};
|
|
3506
3530
|
}, [e]);
|
|
3507
|
-
const
|
|
3531
|
+
const L = r || void 0, _ = {
|
|
3508
3532
|
paddingLeft: 0,
|
|
3509
3533
|
width: "100%",
|
|
3510
3534
|
boxSizing: "border-box"
|
|
3511
|
-
}, { jerseys:
|
|
3535
|
+
}, { jerseys: N } = St({
|
|
3512
3536
|
events: d,
|
|
3513
|
-
visibleRange:
|
|
3537
|
+
visibleRange: v,
|
|
3514
3538
|
fetchJerseys: gt,
|
|
3515
3539
|
buffer: 2,
|
|
3516
3540
|
debounceMs: 250
|
|
3517
|
-
}),
|
|
3518
|
-
return !
|
|
3519
|
-
/* @__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: [
|
|
3520
3544
|
/* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
|
|
3521
3545
|
/* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
|
|
3522
|
-
|
|
3546
|
+
Y,
|
|
3523
3547
|
{
|
|
3524
3548
|
variant: "secondary",
|
|
3525
3549
|
size: "lg",
|
|
3526
3550
|
fullWidth: !0,
|
|
3527
3551
|
onClick: () => {
|
|
3528
|
-
|
|
3552
|
+
g();
|
|
3529
3553
|
},
|
|
3530
3554
|
children: "Ver más"
|
|
3531
3555
|
}
|
|
@@ -3534,12 +3558,12 @@ function Hn({
|
|
|
3534
3558
|
/* @__PURE__ */ t("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ t(
|
|
3535
3559
|
he,
|
|
3536
3560
|
{
|
|
3537
|
-
ref:
|
|
3538
|
-
items:
|
|
3561
|
+
ref: h,
|
|
3562
|
+
items: F ? Array(6).fill({}) : d.slice(0, 20),
|
|
3539
3563
|
perPage: 3.5,
|
|
3540
3564
|
gap: "16px",
|
|
3541
3565
|
enableHorizontalWheel: !0,
|
|
3542
|
-
showRightGradient: !
|
|
3566
|
+
showRightGradient: !D,
|
|
3543
3567
|
options: { autoWidth: !0, trimSpace: !0 },
|
|
3544
3568
|
breakpoints: {
|
|
3545
3569
|
1024: {
|
|
@@ -3549,15 +3573,15 @@ function Hn({
|
|
|
3549
3573
|
padding: { left: "8px", right: "8px" }
|
|
3550
3574
|
}
|
|
3551
3575
|
},
|
|
3552
|
-
renderItem: (
|
|
3553
|
-
const
|
|
3554
|
-
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 }) });
|
|
3555
3579
|
},
|
|
3556
|
-
onMove: ({ isStart:
|
|
3557
|
-
m({ isStart:
|
|
3558
|
-
start:
|
|
3559
|
-
end:
|
|
3560
|
-
}),
|
|
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({
|
|
3561
3585
|
element: "evento_semana_carousel_slide",
|
|
3562
3586
|
label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
|
|
3563
3587
|
target: "carousel",
|
|
@@ -3565,10 +3589,10 @@ function Hn({
|
|
|
3565
3589
|
module_id: c,
|
|
3566
3590
|
metadata: {
|
|
3567
3591
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3568
|
-
visibleStart:
|
|
3569
|
-
visibleEnd:
|
|
3570
|
-
isStart:
|
|
3571
|
-
isEnd:
|
|
3592
|
+
visibleStart: E,
|
|
3593
|
+
visibleEnd: R,
|
|
3594
|
+
isStart: O,
|
|
3595
|
+
isEnd: b
|
|
3572
3596
|
},
|
|
3573
3597
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3574
3598
|
});
|
|
@@ -3580,43 +3604,52 @@ function Hn({
|
|
|
3580
3604
|
const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
|
|
3581
3605
|
if (!e) return null;
|
|
3582
3606
|
if (Zn(e)) {
|
|
3583
|
-
const
|
|
3584
|
-
return Number.isNaN(
|
|
3607
|
+
const p = new Date(e).getTime();
|
|
3608
|
+
return Number.isNaN(p) ? null : p;
|
|
3585
3609
|
}
|
|
3586
3610
|
const a = e.match(
|
|
3587
3611
|
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
|
|
3588
3612
|
);
|
|
3589
3613
|
if (!a) return null;
|
|
3590
|
-
const [, n, o,
|
|
3614
|
+
const [, n, o, r, i, s, c = "00"] = a;
|
|
3591
3615
|
return Date.UTC(
|
|
3592
3616
|
Number(n),
|
|
3593
3617
|
Number(o) - 1,
|
|
3594
|
-
Number(
|
|
3595
|
-
Number(
|
|
3618
|
+
Number(r),
|
|
3619
|
+
Number(i) - Kn / 60,
|
|
3596
3620
|
Number(s),
|
|
3597
3621
|
Number(c)
|
|
3598
3622
|
);
|
|
3599
3623
|
}, Jn = (e, a) => {
|
|
3600
|
-
var c,
|
|
3601
|
-
const n = (
|
|
3602
|
-
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);
|
|
3603
3627
|
};
|
|
3604
3628
|
function Xn({
|
|
3605
3629
|
backgrounds: e,
|
|
3606
3630
|
items: a,
|
|
3607
3631
|
hideItems: n
|
|
3608
3632
|
}) {
|
|
3609
|
-
var
|
|
3610
|
-
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;
|
|
3611
3644
|
De("(max-width:950px)");
|
|
3612
3645
|
const _ = "#B5B5B5";
|
|
3613
|
-
|
|
3646
|
+
Q(() => {
|
|
3614
3647
|
const w = window.setInterval(() => {
|
|
3615
3648
|
d(Date.now());
|
|
3616
3649
|
}, 3e4);
|
|
3617
3650
|
return () => window.clearInterval(w);
|
|
3618
3651
|
}, []);
|
|
3619
|
-
const
|
|
3652
|
+
const N = {
|
|
3620
3653
|
position: "absolute",
|
|
3621
3654
|
top: "50%",
|
|
3622
3655
|
transform: "translateY(-50%)",
|
|
@@ -3639,7 +3672,7 @@ function Xn({
|
|
|
3639
3672
|
backgroundColor: "transparent",
|
|
3640
3673
|
cursor: "default"
|
|
3641
3674
|
}
|
|
3642
|
-
},
|
|
3675
|
+
}, F = re(
|
|
3643
3676
|
() => ({
|
|
3644
3677
|
type: "loop",
|
|
3645
3678
|
perMove: 1,
|
|
@@ -3650,47 +3683,47 @@ function Xn({
|
|
|
3650
3683
|
}),
|
|
3651
3684
|
[]
|
|
3652
3685
|
);
|
|
3653
|
-
|
|
3686
|
+
Q(() => {
|
|
3654
3687
|
const w = setTimeout(() => {
|
|
3655
|
-
|
|
3688
|
+
h.current = !0;
|
|
3656
3689
|
}, 500);
|
|
3657
3690
|
return () => clearTimeout(w);
|
|
3658
3691
|
}, []);
|
|
3659
|
-
const
|
|
3660
|
-
var
|
|
3661
|
-
const
|
|
3662
|
-
if (
|
|
3663
|
-
switch (w.preventDefault(), w.stopPropagation(),
|
|
3692
|
+
const D = (w, z, Z) => {
|
|
3693
|
+
var k, M;
|
|
3694
|
+
const l = !!z.idFunction, I = !!z.href;
|
|
3695
|
+
if (l)
|
|
3696
|
+
switch (w.preventDefault(), w.stopPropagation(), z.idFunction) {
|
|
3664
3697
|
case "deposito":
|
|
3665
3698
|
f == null || f(!0);
|
|
3666
3699
|
return;
|
|
3667
3700
|
default:
|
|
3668
3701
|
return;
|
|
3669
3702
|
}
|
|
3670
|
-
if (!
|
|
3703
|
+
if (!I) {
|
|
3671
3704
|
w.preventDefault(), w.stopPropagation();
|
|
3672
3705
|
return;
|
|
3673
3706
|
}
|
|
3674
|
-
const
|
|
3675
|
-
|
|
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({
|
|
3676
3709
|
element: "banner_carousel",
|
|
3677
|
-
label: `${s} - OraculoSeccionBanners - Banner click: ${
|
|
3678
|
-
target:
|
|
3710
|
+
label: `${s} - OraculoSeccionBanners - Banner click: ${T}`,
|
|
3711
|
+
target: z.href || "no_url",
|
|
3679
3712
|
event_type: "click",
|
|
3680
3713
|
module_id: c,
|
|
3681
3714
|
metadata: {
|
|
3682
3715
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3683
|
-
banner_position:
|
|
3684
|
-
banner_total: (
|
|
3716
|
+
banner_position: Z + 1,
|
|
3717
|
+
banner_total: (x == null ? void 0 : x.length) || 0
|
|
3685
3718
|
},
|
|
3686
3719
|
tags: {
|
|
3687
3720
|
banner_type: "carousel",
|
|
3688
3721
|
banner_target: "_self",
|
|
3689
|
-
banner_url:
|
|
3722
|
+
banner_url: z.href || "no_url"
|
|
3690
3723
|
}
|
|
3691
3724
|
});
|
|
3692
|
-
},
|
|
3693
|
-
if (
|
|
3725
|
+
}, O = (w) => {
|
|
3726
|
+
if (i({
|
|
3694
3727
|
element: "banner_menu_item",
|
|
3695
3728
|
label: `${s} - OraculoSeccionBanners - Menu item click: ${w.label || w.id}`,
|
|
3696
3729
|
target: w.href || "action",
|
|
@@ -3708,53 +3741,53 @@ function Xn({
|
|
|
3708
3741
|
return;
|
|
3709
3742
|
}
|
|
3710
3743
|
w.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(w.href);
|
|
3711
|
-
},
|
|
3712
|
-
|
|
3713
|
-
},
|
|
3714
|
-
|
|
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(() => {
|
|
3715
3748
|
var w;
|
|
3716
|
-
u.current = !0, (w =
|
|
3717
|
-
},
|
|
3749
|
+
u.current = !0, (w = p.current) == null || w.next();
|
|
3750
|
+
}, b));
|
|
3718
3751
|
};
|
|
3719
|
-
|
|
3720
|
-
const
|
|
3721
|
-
var
|
|
3722
|
-
w.preventDefault(), w.stopPropagation(),
|
|
3723
|
-
},
|
|
3724
|
-
var
|
|
3725
|
-
w.preventDefault(), w.stopPropagation(),
|
|
3726
|
-
},
|
|
3727
|
-
var
|
|
3728
|
-
const
|
|
3729
|
-
if (!
|
|
3730
|
-
const
|
|
3731
|
-
|
|
3752
|
+
Q(() => (A(), () => B()), [R, b]);
|
|
3753
|
+
const U = (w) => {
|
|
3754
|
+
var z;
|
|
3755
|
+
w.preventDefault(), w.stopPropagation(), B(), (z = p.current) == null || z.prev();
|
|
3756
|
+
}, W = (w) => {
|
|
3757
|
+
var z;
|
|
3758
|
+
w.preventDefault(), w.stopPropagation(), B(), (z = p.current) == null || z.next();
|
|
3759
|
+
}, G = (w) => {
|
|
3760
|
+
var l, I, T, k;
|
|
3761
|
+
const z = (w % g + g) % g;
|
|
3762
|
+
if (!h.current) return;
|
|
3763
|
+
const Z = (l = x == null ? void 0 : x[z]) != null && l.href ? ((T = (I = x[z].href) == null ? void 0 : I.split("/").pop()) == null ? void 0 : T.split(".")[0]) || `banner_${z + 1}` : `banner_${z + 1}`;
|
|
3764
|
+
i({
|
|
3732
3765
|
element: "banner_carousel",
|
|
3733
|
-
label: `${s} - OraculoSeccionBanners - Banner view: Slide ${
|
|
3734
|
-
target: ((
|
|
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",
|
|
3735
3768
|
event_type: "view",
|
|
3736
3769
|
module_id: c,
|
|
3737
3770
|
metadata: {
|
|
3738
3771
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3739
|
-
slide_index:
|
|
3740
|
-
total_slides:
|
|
3772
|
+
slide_index: z + 1,
|
|
3773
|
+
total_slides: g,
|
|
3741
3774
|
interaction_type: "manual_slide"
|
|
3742
3775
|
},
|
|
3743
|
-
tags: { banner_position: String(
|
|
3776
|
+
tags: { banner_position: String(z + 1) }
|
|
3744
3777
|
});
|
|
3745
3778
|
};
|
|
3746
|
-
return /* @__PURE__ */
|
|
3747
|
-
|
|
3779
|
+
return /* @__PURE__ */ y(
|
|
3780
|
+
ee,
|
|
3748
3781
|
{
|
|
3749
3782
|
component: "section",
|
|
3750
3783
|
sx: {
|
|
3751
3784
|
position: "relative",
|
|
3752
3785
|
overflow: "visible",
|
|
3753
|
-
pb:
|
|
3786
|
+
pb: L ? { xs: "40px", sm: 0 } : 0
|
|
3754
3787
|
},
|
|
3755
3788
|
children: [
|
|
3756
|
-
/* @__PURE__ */
|
|
3757
|
-
|
|
3789
|
+
/* @__PURE__ */ y(
|
|
3790
|
+
ee,
|
|
3758
3791
|
{
|
|
3759
3792
|
sx: {
|
|
3760
3793
|
position: "relative",
|
|
@@ -3770,7 +3803,7 @@ function Xn({
|
|
|
3770
3803
|
},
|
|
3771
3804
|
children: [
|
|
3772
3805
|
/* @__PURE__ */ t(
|
|
3773
|
-
|
|
3806
|
+
ee,
|
|
3774
3807
|
{
|
|
3775
3808
|
sx: {
|
|
3776
3809
|
height: "100%",
|
|
@@ -3780,46 +3813,46 @@ function Xn({
|
|
|
3780
3813
|
children: /* @__PURE__ */ t(
|
|
3781
3814
|
he,
|
|
3782
3815
|
{
|
|
3783
|
-
ref:
|
|
3784
|
-
items:
|
|
3816
|
+
ref: p,
|
|
3817
|
+
items: x,
|
|
3785
3818
|
perPage: 1,
|
|
3786
3819
|
gap: "0px",
|
|
3787
3820
|
enableHorizontalWheel: !0,
|
|
3788
|
-
options:
|
|
3789
|
-
onMove: ({ index: w }) => {
|
|
3790
|
-
const
|
|
3791
|
-
|
|
3792
|
-
const
|
|
3793
|
-
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));
|
|
3794
3827
|
},
|
|
3795
|
-
renderItem: (w,
|
|
3796
|
-
var
|
|
3797
|
-
const
|
|
3798
|
-
return /* @__PURE__ */
|
|
3799
|
-
|
|
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(
|
|
3832
|
+
ee,
|
|
3800
3833
|
{
|
|
3801
|
-
component:
|
|
3802
|
-
href:
|
|
3803
|
-
target:
|
|
3804
|
-
rel:
|
|
3805
|
-
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),
|
|
3806
3839
|
sx: {
|
|
3807
3840
|
position: "relative",
|
|
3808
3841
|
width: "100%",
|
|
3809
3842
|
height: "100%",
|
|
3810
3843
|
display: "block",
|
|
3811
3844
|
textDecoration: "none",
|
|
3812
|
-
cursor:
|
|
3845
|
+
cursor: T ? "pointer" : "default"
|
|
3813
3846
|
},
|
|
3814
3847
|
children: [
|
|
3815
|
-
/* @__PURE__ */
|
|
3848
|
+
/* @__PURE__ */ y(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
|
|
3816
3849
|
/* @__PURE__ */ t("source", { srcSet: w.desktopSrc, media: "(min-width:950px)" }),
|
|
3817
3850
|
/* @__PURE__ */ t("source", { srcSet: w.mobileSrc, media: "(max-width:949px)" }),
|
|
3818
3851
|
/* @__PURE__ */ t(
|
|
3819
|
-
|
|
3852
|
+
ee,
|
|
3820
3853
|
{
|
|
3821
3854
|
component: "img",
|
|
3822
|
-
src: (
|
|
3855
|
+
src: (P = (M = w.fallbackSrc) != null ? M : w.desktopSrc) != null ? P : "",
|
|
3823
3856
|
alt: "",
|
|
3824
3857
|
"aria-hidden": !0,
|
|
3825
3858
|
loading: "lazy",
|
|
@@ -3833,7 +3866,7 @@ function Xn({
|
|
|
3833
3866
|
)
|
|
3834
3867
|
] }),
|
|
3835
3868
|
/* @__PURE__ */ t(
|
|
3836
|
-
|
|
3869
|
+
ee,
|
|
3837
3870
|
{
|
|
3838
3871
|
sx: {
|
|
3839
3872
|
position: "absolute",
|
|
@@ -3859,14 +3892,14 @@ function Xn({
|
|
|
3859
3892
|
)
|
|
3860
3893
|
}
|
|
3861
3894
|
),
|
|
3862
|
-
|
|
3895
|
+
$ && /* @__PURE__ */ y(pe, { children: [
|
|
3863
3896
|
/* @__PURE__ */ t(
|
|
3864
3897
|
Ke,
|
|
3865
3898
|
{
|
|
3866
3899
|
"aria-label": "Anterior",
|
|
3867
|
-
onClick:
|
|
3900
|
+
onClick: U,
|
|
3868
3901
|
sx: {
|
|
3869
|
-
...
|
|
3902
|
+
...N,
|
|
3870
3903
|
left: "120px",
|
|
3871
3904
|
"@media (max-width:1024px)": { left: 24 },
|
|
3872
3905
|
"@media (max-width:786px)": { display: "none" }
|
|
@@ -3878,9 +3911,9 @@ function Xn({
|
|
|
3878
3911
|
Ke,
|
|
3879
3912
|
{
|
|
3880
3913
|
"aria-label": "Siguiente",
|
|
3881
|
-
onClick:
|
|
3914
|
+
onClick: W,
|
|
3882
3915
|
sx: {
|
|
3883
|
-
...
|
|
3916
|
+
...N,
|
|
3884
3917
|
right: "120px",
|
|
3885
3918
|
"@media (max-width:1024px)": { right: 24 },
|
|
3886
3919
|
"@media (max-width:786px)": { display: "none" }
|
|
@@ -3890,7 +3923,7 @@ function Xn({
|
|
|
3890
3923
|
)
|
|
3891
3924
|
] }),
|
|
3892
3925
|
/* @__PURE__ */ t(
|
|
3893
|
-
|
|
3926
|
+
ee,
|
|
3894
3927
|
{
|
|
3895
3928
|
sx: {
|
|
3896
3929
|
position: "absolute",
|
|
@@ -3904,19 +3937,19 @@ function Xn({
|
|
|
3904
3937
|
children: /* @__PURE__ */ t(
|
|
3905
3938
|
dt,
|
|
3906
3939
|
{
|
|
3907
|
-
total:
|
|
3940
|
+
total: g,
|
|
3908
3941
|
active: o,
|
|
3909
|
-
durationMs:
|
|
3942
|
+
durationMs: b
|
|
3910
3943
|
},
|
|
3911
|
-
`${o}-${
|
|
3944
|
+
`${o}-${g}`
|
|
3912
3945
|
)
|
|
3913
3946
|
}
|
|
3914
3947
|
)
|
|
3915
3948
|
]
|
|
3916
3949
|
}
|
|
3917
3950
|
),
|
|
3918
|
-
|
|
3919
|
-
|
|
3951
|
+
L && /* @__PURE__ */ t(
|
|
3952
|
+
ee,
|
|
3920
3953
|
{
|
|
3921
3954
|
sx: {
|
|
3922
3955
|
position: "absolute",
|
|
@@ -3933,8 +3966,8 @@ function Xn({
|
|
|
3933
3966
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
3934
3967
|
zIndex: 3
|
|
3935
3968
|
},
|
|
3936
|
-
children:
|
|
3937
|
-
|
|
3969
|
+
children: S == null ? void 0 : S.map((w) => /* @__PURE__ */ y(
|
|
3970
|
+
ee,
|
|
3938
3971
|
{
|
|
3939
3972
|
sx: {
|
|
3940
3973
|
position: "relative",
|
|
@@ -3978,10 +4011,10 @@ function Xn({
|
|
|
3978
4011
|
}
|
|
3979
4012
|
}
|
|
3980
4013
|
},
|
|
3981
|
-
onClick: () =>
|
|
4014
|
+
onClick: () => O(w),
|
|
3982
4015
|
children: [
|
|
3983
|
-
w.icon && /* @__PURE__ */
|
|
3984
|
-
|
|
4016
|
+
w.icon && /* @__PURE__ */ y(
|
|
4017
|
+
ee,
|
|
3985
4018
|
{
|
|
3986
4019
|
sx: {
|
|
3987
4020
|
position: "relative",
|
|
@@ -3991,7 +4024,7 @@ function Xn({
|
|
|
3991
4024
|
},
|
|
3992
4025
|
children: [
|
|
3993
4026
|
/* @__PURE__ */ t(
|
|
3994
|
-
|
|
4027
|
+
ee,
|
|
3995
4028
|
{
|
|
3996
4029
|
component: "img",
|
|
3997
4030
|
src: w.icon,
|
|
@@ -4008,7 +4041,7 @@ function Xn({
|
|
|
4008
4041
|
}
|
|
4009
4042
|
),
|
|
4010
4043
|
w.iconHover && /* @__PURE__ */ t(
|
|
4011
|
-
|
|
4044
|
+
ee,
|
|
4012
4045
|
{
|
|
4013
4046
|
component: "img",
|
|
4014
4047
|
src: w.iconHover,
|
|
@@ -4057,14 +4090,15 @@ const Yn = [
|
|
|
4057
4090
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/pagoEfectivo.png", alt: "PagoEfectivo" },
|
|
4058
4091
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/tupay.svg", alt: "Tupay" },
|
|
4059
4092
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/monnet.svg", alt: "Monnet" },
|
|
4060
|
-
{ 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" }
|
|
4061
4095
|
];
|
|
4062
4096
|
function Qn({
|
|
4063
4097
|
title: e = "Medios de pago",
|
|
4064
4098
|
items: a = Yn
|
|
4065
4099
|
}) {
|
|
4066
|
-
const n = Math.ceil(a.length / 2), o = a.slice(0, n),
|
|
4067
|
-
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: [
|
|
4068
4102
|
/* @__PURE__ */ t(
|
|
4069
4103
|
st,
|
|
4070
4104
|
{
|
|
@@ -4080,7 +4114,7 @@ function Qn({
|
|
|
4080
4114
|
}
|
|
4081
4115
|
),
|
|
4082
4116
|
/* @__PURE__ */ t(
|
|
4083
|
-
|
|
4117
|
+
ee,
|
|
4084
4118
|
{
|
|
4085
4119
|
sx: {
|
|
4086
4120
|
width: "288px",
|
|
@@ -4093,7 +4127,7 @@ function Qn({
|
|
|
4093
4127
|
}
|
|
4094
4128
|
}
|
|
4095
4129
|
),
|
|
4096
|
-
/* @__PURE__ */
|
|
4130
|
+
/* @__PURE__ */ y(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
|
|
4097
4131
|
/* @__PURE__ */ t(
|
|
4098
4132
|
Oe,
|
|
4099
4133
|
{
|
|
@@ -4102,7 +4136,7 @@ function Qn({
|
|
|
4102
4136
|
alignItems: "center",
|
|
4103
4137
|
gap: { xs: 2, md: 3 },
|
|
4104
4138
|
flexWrap: "wrap",
|
|
4105
|
-
children: o.map((
|
|
4139
|
+
children: o.map((i, s) => /* @__PURE__ */ t(Ze, { ...i }, `${i.alt}-${i.src}-${s}`))
|
|
4106
4140
|
}
|
|
4107
4141
|
),
|
|
4108
4142
|
/* @__PURE__ */ t(
|
|
@@ -4113,7 +4147,7 @@ function Qn({
|
|
|
4113
4147
|
alignItems: "center",
|
|
4114
4148
|
gap: { xs: 2, md: 3 },
|
|
4115
4149
|
flexWrap: "wrap",
|
|
4116
|
-
children:
|
|
4150
|
+
children: r.map((i, s) => /* @__PURE__ */ t(Ze, { ...i }, `${i.alt}-${i.src}-${s}`))
|
|
4117
4151
|
}
|
|
4118
4152
|
)
|
|
4119
4153
|
] })
|
|
@@ -4135,7 +4169,7 @@ function It({
|
|
|
4135
4169
|
}),
|
|
4136
4170
|
[a]
|
|
4137
4171
|
);
|
|
4138
|
-
return /* @__PURE__ */
|
|
4172
|
+
return /* @__PURE__ */ y(Pt, { theme: n, children: [
|
|
4139
4173
|
/* @__PURE__ */ t(Lt, {}),
|
|
4140
4174
|
e
|
|
4141
4175
|
] });
|
|
@@ -4210,6 +4244,14 @@ const eo = {
|
|
|
4210
4244
|
required: !1,
|
|
4211
4245
|
isImage: !1,
|
|
4212
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
|
|
4213
4255
|
}
|
|
4214
4256
|
],
|
|
4215
4257
|
id: "724a1dc0-d55b-4443-a580-cad22e328536"
|
|
@@ -4257,6 +4299,14 @@ const eo = {
|
|
|
4257
4299
|
name: "href",
|
|
4258
4300
|
required: !1,
|
|
4259
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
|
|
4260
4310
|
}
|
|
4261
4311
|
],
|
|
4262
4312
|
id: "ad0df0e2-c8ce-4524-b05a-2a29578aba11"
|
|
@@ -4304,6 +4354,14 @@ const eo = {
|
|
|
4304
4354
|
value: "https://www.olimpo.bet/casino",
|
|
4305
4355
|
id: "26a486fd-31e6-4ed4-ab83-0f9a7bf6adc4",
|
|
4306
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
|
|
4307
4365
|
}
|
|
4308
4366
|
],
|
|
4309
4367
|
id: "966bc1fc-0b1a-4a50-a4a2-964262922c3d"
|
|
@@ -4351,6 +4409,14 @@ const eo = {
|
|
|
4351
4409
|
id: "4b72f490-75e4-458e-a4b5-68f0736a25d4",
|
|
4352
4410
|
type: "string",
|
|
4353
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
|
|
4354
4420
|
}
|
|
4355
4421
|
],
|
|
4356
4422
|
id: "31e00ff9-f2dd-4942-bff3-919902fde880"
|
|
@@ -4444,6 +4510,14 @@ const eo = {
|
|
|
4444
4510
|
required: !1,
|
|
4445
4511
|
type: "string",
|
|
4446
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
|
|
4447
4521
|
}
|
|
4448
4522
|
],
|
|
4449
4523
|
id: "13b35362-5695-4687-b6a8-645f8effd264"
|
|
@@ -4506,6 +4580,14 @@ const eo = {
|
|
|
4506
4580
|
required: !1,
|
|
4507
4581
|
type: "string",
|
|
4508
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
|
|
4509
4591
|
}
|
|
4510
4592
|
],
|
|
4511
4593
|
id: "024f8130-91e1-4296-b826-cffa32ab1a96"
|
|
@@ -4568,6 +4650,14 @@ const eo = {
|
|
|
4568
4650
|
required: !1,
|
|
4569
4651
|
type: "string",
|
|
4570
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
|
|
4571
4661
|
}
|
|
4572
4662
|
],
|
|
4573
4663
|
id: "cdfce77c-a814-43f1-911d-3715803252c2"
|
|
@@ -4630,6 +4720,14 @@ const eo = {
|
|
|
4630
4720
|
required: !1,
|
|
4631
4721
|
type: "string",
|
|
4632
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
|
|
4633
4731
|
}
|
|
4634
4732
|
],
|
|
4635
4733
|
id: "b3816989-ffeb-4409-bc0a-46310867097c"
|
|
@@ -4692,6 +4790,14 @@ const eo = {
|
|
|
4692
4790
|
required: !1,
|
|
4693
4791
|
type: "string",
|
|
4694
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
|
|
4695
4801
|
}
|
|
4696
4802
|
],
|
|
4697
4803
|
id: "2e3e6afd-bbd3-4bbd-b6e7-0eba50e556d4"
|
|
@@ -4751,6 +4857,14 @@ const eo = {
|
|
|
4751
4857
|
required: !1,
|
|
4752
4858
|
type: "string",
|
|
4753
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
|
|
4754
4868
|
}
|
|
4755
4869
|
],
|
|
4756
4870
|
id: "706ea8a2-46ae-4fd9-8b42-5879a903a006"
|
|
@@ -5449,17 +5563,17 @@ const eo = {
|
|
|
5449
5563
|
}
|
|
5450
5564
|
]
|
|
5451
5565
|
}, to = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, ao = (e) => /^OraculoSeccion[A-Z]/.test(e);
|
|
5452
|
-
function
|
|
5566
|
+
function Ee(e) {
|
|
5453
5567
|
return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
|
|
5454
|
-
var o,
|
|
5455
|
-
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);
|
|
5456
5570
|
}).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
|
|
5457
|
-
var o,
|
|
5571
|
+
var o, r, i, s, c;
|
|
5458
5572
|
return {
|
|
5459
5573
|
id: (o = a.id) != null ? o : n + 1,
|
|
5460
|
-
title: (
|
|
5574
|
+
title: (r = a.title) != null ? r : "",
|
|
5461
5575
|
componentKey: a.componentKey,
|
|
5462
|
-
visible: (
|
|
5576
|
+
visible: (i = a.visible) != null ? i : !0,
|
|
5463
5577
|
order: n + 1,
|
|
5464
5578
|
props: (s = a.props) != null ? s : {},
|
|
5465
5579
|
apiUrl: (c = a.apiUrl) != null ? c : "",
|
|
@@ -5490,7 +5604,7 @@ class ot extends Error {
|
|
|
5490
5604
|
super(`HTTP ${a} ${o}`), this.status = a, this.url = n, this.statusText = o, this.name = "HttpError";
|
|
5491
5605
|
}
|
|
5492
5606
|
}
|
|
5493
|
-
class
|
|
5607
|
+
class ro extends fe.Component {
|
|
5494
5608
|
constructor(a) {
|
|
5495
5609
|
super(a), this.state = { hasError: !1 };
|
|
5496
5610
|
}
|
|
@@ -5510,7 +5624,7 @@ class io extends fe.Component {
|
|
|
5510
5624
|
return this.state.hasError ? null : this.props.children;
|
|
5511
5625
|
}
|
|
5512
5626
|
}
|
|
5513
|
-
const
|
|
5627
|
+
const rt = [
|
|
5514
5628
|
"OraculoSeccionEventoEnVivo",
|
|
5515
5629
|
"OraculoSeccionEventoSemana",
|
|
5516
5630
|
"OraculoSeccionEventoCombinadas"
|
|
@@ -5519,266 +5633,262 @@ const it = [
|
|
|
5519
5633
|
docId: a = "Landing: home",
|
|
5520
5634
|
moduleId: n = 301,
|
|
5521
5635
|
db: o,
|
|
5522
|
-
extras:
|
|
5523
|
-
loader:
|
|
5636
|
+
extras: r,
|
|
5637
|
+
loader: i,
|
|
5524
5638
|
disableWrapper: s = !1
|
|
5525
5639
|
}) => {
|
|
5526
|
-
const c =
|
|
5527
|
-
() =>
|
|
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),
|
|
5528
5642
|
[]
|
|
5529
|
-
),
|
|
5530
|
-
(
|
|
5531
|
-
),
|
|
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(() => {
|
|
5532
5646
|
const l = c.user;
|
|
5533
|
-
return
|
|
5534
|
-
}, [c]),
|
|
5535
|
-
const
|
|
5536
|
-
if (!Array.isArray(
|
|
5537
|
-
const
|
|
5538
|
-
(
|
|
5647
|
+
return N(l == null ? void 0 : l.groups);
|
|
5648
|
+
}, [c]), D = (l) => {
|
|
5649
|
+
const I = l.manualScalarFields;
|
|
5650
|
+
if (!Array.isArray(I)) return [];
|
|
5651
|
+
const T = I.find(
|
|
5652
|
+
(P) => String((P == null ? void 0 : P.name) || "").trim().toLowerCase() === "groups"
|
|
5539
5653
|
);
|
|
5540
|
-
if (!
|
|
5541
|
-
const
|
|
5542
|
-
if (
|
|
5543
|
-
if (Array.isArray(
|
|
5544
|
-
return
|
|
5545
|
-
const
|
|
5546
|
-
return
|
|
5547
|
-
},
|
|
5548
|
-
const
|
|
5549
|
-
if (
|
|
5550
|
-
if (!Array.isArray(
|
|
5551
|
-
const
|
|
5552
|
-
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));
|
|
5553
5667
|
};
|
|
5554
|
-
|
|
5668
|
+
Q(() => {
|
|
5555
5669
|
if (e) return;
|
|
5556
5670
|
if (!o) {
|
|
5557
|
-
console.warn("[landing] sin db -> fallback json"), u(
|
|
5671
|
+
console.warn("[landing] sin db -> fallback json"), u(Ee(qe));
|
|
5558
5672
|
return;
|
|
5559
5673
|
}
|
|
5560
|
-
const l = (
|
|
5561
|
-
console.warn("[landing] FALLBACK:",
|
|
5674
|
+
const l = (T, k) => {
|
|
5675
|
+
console.warn("[landing] FALLBACK:", T, k != null ? k : ""), u(Ee(qe)), d(!1);
|
|
5562
5676
|
};
|
|
5563
|
-
if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
|
|
5564
|
-
d(!0), l("forzado por env");
|
|
5565
|
-
return;
|
|
5566
|
-
}
|
|
5567
5677
|
d(!0);
|
|
5568
|
-
const
|
|
5678
|
+
const I = Ft(
|
|
5569
5679
|
qt(o, "landings", a),
|
|
5570
|
-
(
|
|
5680
|
+
(T) => {
|
|
5571
5681
|
try {
|
|
5572
|
-
if (!
|
|
5682
|
+
if (!T.exists()) {
|
|
5573
5683
|
l(`doc landings/${a} no existe`);
|
|
5574
5684
|
return;
|
|
5575
5685
|
}
|
|
5576
|
-
const
|
|
5577
|
-
if (!
|
|
5578
|
-
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);
|
|
5579
5689
|
return;
|
|
5580
5690
|
}
|
|
5581
|
-
console.log("[landing] Firestore OK (json grande):",
|
|
5582
|
-
} catch (
|
|
5583
|
-
l("error procesando snapshot",
|
|
5691
|
+
console.log("[landing] Firestore OK (json grande):", k), u(M);
|
|
5692
|
+
} catch (k) {
|
|
5693
|
+
l("error procesando snapshot", k);
|
|
5584
5694
|
} finally {
|
|
5585
5695
|
d(!1);
|
|
5586
5696
|
}
|
|
5587
5697
|
},
|
|
5588
|
-
(
|
|
5589
|
-
l("error onSnapshot",
|
|
5698
|
+
(T) => {
|
|
5699
|
+
l("error onSnapshot", T);
|
|
5590
5700
|
}
|
|
5591
5701
|
);
|
|
5592
|
-
return () =>
|
|
5593
|
-
}, [e, a, o]),
|
|
5594
|
-
(e ? e.slice() :
|
|
5595
|
-
}, [e,
|
|
5596
|
-
const
|
|
5597
|
-
if (
|
|
5702
|
+
return () => I();
|
|
5703
|
+
}, [e, a, o]), Q(() => (Xa(c), () => Ya()), [c]), Q(() => {
|
|
5704
|
+
(e ? e.slice() : h.slice()).map((T) => T.componentKey).filter((T) => !!T).length;
|
|
5705
|
+
}, [e, h]);
|
|
5706
|
+
const b = async (l) => {
|
|
5707
|
+
if (rt.includes(l.componentKey))
|
|
5598
5708
|
return {
|
|
5599
5709
|
items: [],
|
|
5600
5710
|
events: [],
|
|
5601
5711
|
data: {}
|
|
5602
5712
|
};
|
|
5603
|
-
const
|
|
5604
|
-
if (!
|
|
5605
|
-
const
|
|
5606
|
-
let
|
|
5607
|
-
if (
|
|
5608
|
-
const
|
|
5609
|
-
|
|
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,
|
|
5610
5720
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
5611
5721
|
);
|
|
5612
|
-
for (const oe of
|
|
5613
|
-
oe.key &&
|
|
5614
|
-
|
|
5722
|
+
for (const oe of k)
|
|
5723
|
+
oe.key && ie.searchParams.append(oe.key, oe.value);
|
|
5724
|
+
M = ie.toString();
|
|
5615
5725
|
} else {
|
|
5616
|
-
const
|
|
5617
|
-
for (const oe of
|
|
5618
|
-
oe.key &&
|
|
5619
|
-
|
|
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 = {
|
|
5620
5730
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
5621
5731
|
};
|
|
5622
5732
|
}
|
|
5623
|
-
const te = await fetch(
|
|
5624
|
-
method:
|
|
5733
|
+
const te = await fetch(M, {
|
|
5734
|
+
method: T,
|
|
5625
5735
|
headers: J,
|
|
5626
|
-
body:
|
|
5736
|
+
body: P
|
|
5627
5737
|
});
|
|
5628
|
-
if (!te.ok) throw new ot(te.status,
|
|
5738
|
+
if (!te.ok) throw new ot(te.status, M, te.statusText);
|
|
5629
5739
|
return te.json();
|
|
5630
|
-
},
|
|
5631
|
-
() => e ? e.slice() :
|
|
5632
|
-
[e,
|
|
5633
|
-
),
|
|
5634
|
-
|
|
5635
|
-
const l =
|
|
5740
|
+
}, E = re(
|
|
5741
|
+
() => e ? e.slice() : h.slice(),
|
|
5742
|
+
[e, h]
|
|
5743
|
+
), R = fe.useRef(/* @__PURE__ */ new Set());
|
|
5744
|
+
Q(() => {
|
|
5745
|
+
const l = E.map((I) => ({ s: I, url: (I.apiUrl || "").trim() })).filter(({ url: I }) => !!I);
|
|
5636
5746
|
if (l.length)
|
|
5637
|
-
for (const { s:
|
|
5638
|
-
const
|
|
5639
|
-
|
|
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 () => {
|
|
5640
5750
|
try {
|
|
5641
|
-
const
|
|
5642
|
-
|
|
5643
|
-
} catch (
|
|
5644
|
-
let
|
|
5645
|
-
|
|
5751
|
+
const M = await b(I);
|
|
5752
|
+
v((P) => ({ ...P, [I.id]: M }));
|
|
5753
|
+
} catch (M) {
|
|
5754
|
+
let P = "Error desconocido";
|
|
5755
|
+
M instanceof ot ? P = `Error HTTP ${M.status} (${M.statusText}) en ${M.url}` : M instanceof SyntaxError ? P = "Respuesta no es JSON válido" : M instanceof TypeError ? P = "Fallo de red / CORS / conexión" : typeof M == "string" && (P = M.toString()), C((J) => ({ ...J, [I.id]: P }));
|
|
5646
5756
|
} finally {
|
|
5647
|
-
|
|
5757
|
+
x((M) => ({ ...M, [I.id]: !1 }));
|
|
5648
5758
|
}
|
|
5649
5759
|
})());
|
|
5650
5760
|
}
|
|
5651
|
-
}, [
|
|
5652
|
-
const
|
|
5653
|
-
() =>
|
|
5654
|
-
[
|
|
5655
|
-
),
|
|
5656
|
-
const
|
|
5657
|
-
for (const
|
|
5658
|
-
const
|
|
5659
|
-
if (
|
|
5660
|
-
const
|
|
5661
|
-
if (
|
|
5662
|
-
const J = Number(
|
|
5663
|
-
Number.isNaN(J) || (
|
|
5761
|
+
}, [E]);
|
|
5762
|
+
const B = re(
|
|
5763
|
+
() => E.filter((l) => l.visible).filter((l) => O(l, F)).sort((l, I) => l.order - I.order),
|
|
5764
|
+
[E, F]
|
|
5765
|
+
), A = (l) => Array.isArray(l) ? l.map((I) => {
|
|
5766
|
+
const T = {};
|
|
5767
|
+
for (const k of I.fields || []) {
|
|
5768
|
+
const M = (k.type || "string").toLowerCase();
|
|
5769
|
+
if (M === "number") {
|
|
5770
|
+
const P = String(k.value || "").trim();
|
|
5771
|
+
if (P !== "") {
|
|
5772
|
+
const J = Number(P);
|
|
5773
|
+
Number.isNaN(J) || (T[k.name] = J);
|
|
5664
5774
|
}
|
|
5665
|
-
} else if (
|
|
5666
|
-
|
|
5667
|
-
else if (
|
|
5668
|
-
const
|
|
5669
|
-
if (
|
|
5775
|
+
} else if (M === "boolean")
|
|
5776
|
+
T[k.name] = String(k.value).toLowerCase() === "true";
|
|
5777
|
+
else if (M === "function") {
|
|
5778
|
+
const P = String(k.value || "").trim();
|
|
5779
|
+
if (P)
|
|
5670
5780
|
try {
|
|
5671
|
-
const J = new Function(
|
|
5672
|
-
|
|
5781
|
+
const J = new Function(P);
|
|
5782
|
+
T[k.name] = J;
|
|
5673
5783
|
} catch (J) {
|
|
5674
|
-
console.error(`❌ Error creando función en item '${
|
|
5784
|
+
console.error(`❌ Error creando función en item '${k.name}':`, J);
|
|
5675
5785
|
}
|
|
5676
5786
|
} else
|
|
5677
|
-
|
|
5787
|
+
T[k.name] = k.value;
|
|
5678
5788
|
}
|
|
5679
|
-
return
|
|
5789
|
+
return T;
|
|
5680
5790
|
}) : [], U = (l) => {
|
|
5681
|
-
const
|
|
5682
|
-
if (!Array.isArray(l)) return
|
|
5683
|
-
for (const
|
|
5684
|
-
if (!
|
|
5685
|
-
const
|
|
5686
|
-
if (
|
|
5687
|
-
const
|
|
5688
|
-
if (
|
|
5689
|
-
const
|
|
5690
|
-
Number.isNaN(
|
|
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);
|
|
5691
5801
|
}
|
|
5692
|
-
} else if (
|
|
5693
|
-
|
|
5694
|
-
else if (
|
|
5695
|
-
const
|
|
5696
|
-
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)
|
|
5697
5807
|
try {
|
|
5698
|
-
const
|
|
5699
|
-
|
|
5700
|
-
} catch (
|
|
5701
|
-
console.error(`❌ Error creando función en item '${
|
|
5808
|
+
const P = new Function(M);
|
|
5809
|
+
I[T.name] = P;
|
|
5810
|
+
} catch (P) {
|
|
5811
|
+
console.error(`❌ Error creando función en item '${T.name}':`, P);
|
|
5702
5812
|
}
|
|
5703
5813
|
} else
|
|
5704
|
-
|
|
5814
|
+
I[T.name] = T.value;
|
|
5705
5815
|
}
|
|
5706
|
-
return
|
|
5707
|
-
}, W = (l,
|
|
5708
|
-
const
|
|
5709
|
-
if (
|
|
5710
|
-
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;
|
|
5711
5821
|
const J = l;
|
|
5712
5822
|
if (Array.isArray(J))
|
|
5713
|
-
return
|
|
5823
|
+
return M[P] = J, M;
|
|
5714
5824
|
if (J && typeof J == "object") {
|
|
5715
5825
|
const te = J;
|
|
5716
|
-
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);
|
|
5717
5827
|
}
|
|
5718
|
-
return
|
|
5828
|
+
return M[P] = [], M;
|
|
5719
5829
|
}, G = (l) => {
|
|
5720
|
-
var
|
|
5721
|
-
const
|
|
5722
|
-
let
|
|
5723
|
-
const
|
|
5724
|
-
if (
|
|
5725
|
-
return { items:
|
|
5726
|
-
if (
|
|
5727
|
-
|
|
5830
|
+
var P;
|
|
5831
|
+
const I = !!((P = l.apiUrl) != null && P.trim()), T = I ? f[l.id] : void 0;
|
|
5832
|
+
let k = l.props ? { ...l.props } : {};
|
|
5833
|
+
const M = U(l.manualScalarFields);
|
|
5834
|
+
if (rt.includes(l.componentKey))
|
|
5835
|
+
return { items: T, ...k, ...M };
|
|
5836
|
+
if (k = { ...k, ...M }, I)
|
|
5837
|
+
k = W(T, null, k);
|
|
5728
5838
|
else if (l.dataMode === "manual") {
|
|
5729
|
-
const J =
|
|
5730
|
-
if (
|
|
5839
|
+
const J = A(l.manualItems);
|
|
5840
|
+
if (k = W(
|
|
5731
5841
|
null,
|
|
5732
5842
|
{ arr: J, variableName: l.variableName },
|
|
5733
|
-
|
|
5843
|
+
k,
|
|
5734
5844
|
l.variableName
|
|
5735
5845
|
), l.variableName2 && l.manualItems2) {
|
|
5736
|
-
const te =
|
|
5737
|
-
|
|
5846
|
+
const te = A(l.manualItems2), ie = (l.variableName2 || "items2").trim() || "items2";
|
|
5847
|
+
k[ie] = te;
|
|
5738
5848
|
}
|
|
5739
5849
|
}
|
|
5740
|
-
return
|
|
5741
|
-
},
|
|
5742
|
-
const
|
|
5850
|
+
return k;
|
|
5851
|
+
}, K = (l) => {
|
|
5852
|
+
const I = l.props ? { ...l.props } : {};
|
|
5743
5853
|
try {
|
|
5744
|
-
Object.assign(
|
|
5745
|
-
} catch (
|
|
5746
|
-
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);
|
|
5747
5857
|
}
|
|
5748
|
-
const
|
|
5749
|
-
if (typeof
|
|
5750
|
-
const
|
|
5751
|
-
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] = []);
|
|
5752
5862
|
}
|
|
5753
|
-
return
|
|
5754
|
-
},
|
|
5863
|
+
return I;
|
|
5864
|
+
}, w = (l) => {
|
|
5755
5865
|
try {
|
|
5756
5866
|
return G(l);
|
|
5757
|
-
} catch (
|
|
5758
|
-
console.error("🔥 ERROR EN buildCompProps:", l,
|
|
5759
|
-
const
|
|
5760
|
-
if (
|
|
5867
|
+
} catch (I) {
|
|
5868
|
+
console.error("🔥 ERROR EN buildCompProps:", l, I);
|
|
5869
|
+
const T = _(l);
|
|
5870
|
+
if (T && T !== l)
|
|
5761
5871
|
try {
|
|
5762
5872
|
return console.warn(
|
|
5763
5873
|
`[landing] usando fallback local para sección ${l.title} (${l.componentKey})`
|
|
5764
|
-
), G(
|
|
5765
|
-
} catch (
|
|
5766
|
-
console.error("🔥 ERROR EN fallback buildCompProps:",
|
|
5874
|
+
), G(T);
|
|
5875
|
+
} catch (k) {
|
|
5876
|
+
console.error("🔥 ERROR EN fallback buildCompProps:", T, k);
|
|
5767
5877
|
}
|
|
5768
|
-
return
|
|
5878
|
+
return K(l);
|
|
5769
5879
|
}
|
|
5770
|
-
},
|
|
5880
|
+
}, z = (l, I, T) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
|
|
5771
5881
|
loading: "bg-blue-100 text-blue-800",
|
|
5772
5882
|
error: "bg-red-100 text-red-800",
|
|
5773
5883
|
component: "bg-yellow-100 text-yellow-800"
|
|
5774
|
-
}[
|
|
5884
|
+
}[I]}`, children: T }, l), Z = (l) => {
|
|
5775
5885
|
var He;
|
|
5776
|
-
const
|
|
5886
|
+
const I = l.componentKey, T = no[I], M = (/* @__PURE__ */ new Set([
|
|
5777
5887
|
"OraculoSeccionBanners",
|
|
5778
5888
|
"OraculoSeccionBonoBienvenida",
|
|
5779
5889
|
"OraculoSeccionCasinoEnVivo",
|
|
5780
5890
|
"OraculoSeccionClubOlimpo",
|
|
5781
|
-
|
|
5891
|
+
...$ ? [] : [
|
|
5782
5892
|
"OraculoSeccionEventoEnVivo",
|
|
5783
5893
|
"OraculoSeccionEventoSemana",
|
|
5784
5894
|
"OraculoSeccionEventoCombinadas",
|
|
@@ -5786,35 +5896,35 @@ const it = [
|
|
|
5786
5896
|
"OraculoSeccionDestacados",
|
|
5787
5897
|
"OraculoSeccionCasino"
|
|
5788
5898
|
]
|
|
5789
|
-
])).has(l.componentKey),
|
|
5899
|
+
])).has(l.componentKey), P = $ ? 120 : 24, J = ($ ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", ie = {
|
|
5790
5900
|
width: "100%",
|
|
5791
5901
|
boxSizing: "border-box",
|
|
5792
|
-
...
|
|
5902
|
+
...M ? {} : { paddingLeft: P, paddingRight: P },
|
|
5793
5903
|
...te ? {
|
|
5794
5904
|
marginTop: -J,
|
|
5795
5905
|
marginBottom: -J
|
|
5796
5906
|
} : {}
|
|
5797
5907
|
};
|
|
5798
|
-
if (!
|
|
5799
|
-
return console.warn(`No hay componente registrado para "${
|
|
5908
|
+
if (!T)
|
|
5909
|
+
return console.warn(`No hay componente registrado para "${I}"`), z(
|
|
5800
5910
|
l.id,
|
|
5801
5911
|
"component",
|
|
5802
|
-
`Componente "${
|
|
5912
|
+
`Componente "${I}" no encontrado`
|
|
5803
5913
|
);
|
|
5804
|
-
const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? f[l.id] : void 0,
|
|
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] : "";
|
|
5805
5915
|
if (oe) {
|
|
5806
|
-
if (
|
|
5807
|
-
return
|
|
5916
|
+
if (Et && !We)
|
|
5917
|
+
return z(
|
|
5808
5918
|
l.id,
|
|
5809
5919
|
"loading",
|
|
5810
5920
|
`Cargando datos desde ${l.apiUrl}...`
|
|
5811
5921
|
);
|
|
5812
5922
|
if (Ge && !We) {
|
|
5813
|
-
const we =
|
|
5923
|
+
const we = _(l);
|
|
5814
5924
|
if (we && we.dataMode === "manual")
|
|
5815
5925
|
try {
|
|
5816
|
-
const Re =
|
|
5817
|
-
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);
|
|
5818
5928
|
} catch (Re) {
|
|
5819
5929
|
console.error(
|
|
5820
5930
|
"🔥 ERROR renderizando fallback manual de sección:",
|
|
@@ -5822,29 +5932,29 @@ const it = [
|
|
|
5822
5932
|
Re
|
|
5823
5933
|
);
|
|
5824
5934
|
}
|
|
5825
|
-
return
|
|
5935
|
+
return z(
|
|
5826
5936
|
l.id,
|
|
5827
5937
|
"error",
|
|
5828
5938
|
`Error cargando ${l.apiUrl}: ${Ge}`
|
|
5829
5939
|
);
|
|
5830
5940
|
}
|
|
5831
5941
|
}
|
|
5832
|
-
const je =
|
|
5942
|
+
const je = w(l), Ot = l.componentKey === "OraculoSeccionClubOlimpo" ? {
|
|
5833
5943
|
...je,
|
|
5834
5944
|
user: c.user
|
|
5835
5945
|
} : je;
|
|
5836
|
-
return /* @__PURE__ */ t(
|
|
5946
|
+
return /* @__PURE__ */ t(ro, { section: l, children: /* @__PURE__ */ t(
|
|
5837
5947
|
"div",
|
|
5838
5948
|
{
|
|
5839
|
-
style:
|
|
5949
|
+
style: ie,
|
|
5840
5950
|
className: "oraculo-section-wrapper",
|
|
5841
|
-
children: /* @__PURE__ */ t(
|
|
5951
|
+
children: /* @__PURE__ */ t(T, { ...Ot })
|
|
5842
5952
|
},
|
|
5843
5953
|
l.id
|
|
5844
5954
|
) });
|
|
5845
5955
|
};
|
|
5846
|
-
return m && !e ?
|
|
5847
|
-
|
|
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,
|
|
5848
5958
|
{
|
|
5849
5959
|
className: "oli-font",
|
|
5850
5960
|
maxWidth: !1,
|
|
@@ -5857,11 +5967,11 @@ const it = [
|
|
|
5857
5967
|
maxWidth: "100%",
|
|
5858
5968
|
overflowX: "hidden"
|
|
5859
5969
|
},
|
|
5860
|
-
children: /* @__PURE__ */ t(Oe, { direction: "column", spacing:
|
|
5970
|
+
children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: $ ? 8 : 5, useFlexGap: !0, children: B.map((l) => {
|
|
5861
5971
|
try {
|
|
5862
|
-
return
|
|
5863
|
-
} catch (
|
|
5864
|
-
return console.error("🔥 ERROR EN SECTION:", l,
|
|
5972
|
+
return Z(l);
|
|
5973
|
+
} catch (I) {
|
|
5974
|
+
return console.error("🔥 ERROR EN SECTION:", l, I), null;
|
|
5865
5975
|
}
|
|
5866
5976
|
}) })
|
|
5867
5977
|
}
|
|
@@ -5869,7 +5979,7 @@ const it = [
|
|
|
5869
5979
|
};
|
|
5870
5980
|
export {
|
|
5871
5981
|
bt as DocIdProvider,
|
|
5872
|
-
|
|
5982
|
+
Y as OraculoButton,
|
|
5873
5983
|
he as OraculoCarousel,
|
|
5874
5984
|
dt as OraculoCarouselDots,
|
|
5875
5985
|
Sa as OraculoClubOlimpoVisual,
|
|
@@ -5882,7 +5992,7 @@ export {
|
|
|
5882
5992
|
Za as OraculoEventSemanaCard,
|
|
5883
5993
|
jt as OraculoEventStatus,
|
|
5884
5994
|
Gt as OraculoEventStatusBadge,
|
|
5885
|
-
|
|
5995
|
+
$e as OraculoEventTeamInfo,
|
|
5886
5996
|
Te as OraculoGameCard,
|
|
5887
5997
|
xa as OraculoGameRankCard,
|
|
5888
5998
|
ft as OraculoGameSlide,
|