oraculo-ui 0.2.48 → 0.2.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +858 -878
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { Link as lt, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ce, Container as
|
|
3
|
-
import fe, { useState as Z, useEffect as Q, useRef as U, forwardRef as
|
|
1
|
+
import { jsx as t, jsxs as _, Fragment as pe } from "react/jsx-runtime";
|
|
2
|
+
import { Link as lt, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ce, Container as kt } from "@mui/material";
|
|
3
|
+
import fe, { useState as Z, useEffect as Q, useRef as U, forwardRef as Tt, useImperativeHandle as $t, useCallback as ke, createContext as Nt, useContext as Mt, useMemo as ie, useLayoutEffect as At } from "react";
|
|
4
4
|
import W from "@mui/material/Skeleton";
|
|
5
|
-
import { Splide as
|
|
5
|
+
import { Splide as Bt, SplideSlide as Rt } from "@splidejs/react-splide";
|
|
6
6
|
import z from "@mui/material/Box";
|
|
7
7
|
import ue from "@mui/material/Typography";
|
|
8
8
|
import H from "@mui/material/Stack";
|
|
@@ -11,9 +11,9 @@ import { ChevronLeftRounded as Re, ChevronRightRounded as Le } from "@mui/icons-
|
|
|
11
11
|
import xe from "@mui/material/useMediaQuery";
|
|
12
12
|
import ct from "@mui/icons-material/ChevronLeftRounded";
|
|
13
13
|
import dt from "@mui/icons-material/ChevronRightRounded";
|
|
14
|
-
import { useTheme as
|
|
15
|
-
import
|
|
16
|
-
import { onSnapshot as
|
|
14
|
+
import { useTheme as Lt, createTheme as Ft, ThemeProvider as qt } from "@mui/material/styles";
|
|
15
|
+
import zt from "@mui/material/CssBaseline";
|
|
16
|
+
import { onSnapshot as Pt, doc as Dt } from "firebase/firestore";
|
|
17
17
|
function J({
|
|
18
18
|
children: e,
|
|
19
19
|
onClick: n,
|
|
@@ -29,21 +29,21 @@ function J({
|
|
|
29
29
|
className: u = "",
|
|
30
30
|
ariaLabel: c,
|
|
31
31
|
leftIcon: f,
|
|
32
|
-
rightIcon:
|
|
33
|
-
iconOnly:
|
|
32
|
+
rightIcon: b,
|
|
33
|
+
iconOnly: y
|
|
34
34
|
}) {
|
|
35
|
-
const
|
|
35
|
+
const C = !!e && e !== !0, x = (!!f ? 1 : 0) + (!!b ? 1 : 0) == 1, R = y != null ? y : x && !C, w = [
|
|
36
36
|
"orc-btn",
|
|
37
37
|
d === "secondary" ? "orc-btn--secondary" : d === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
38
38
|
h ? `orc-btn--${h}` : "",
|
|
39
39
|
g ? "orc-btn--full" : "",
|
|
40
40
|
m ? "orc-btn--fullHeight" : "",
|
|
41
|
-
|
|
41
|
+
R ? "orc-btn--iconOnly" : "",
|
|
42
42
|
u
|
|
43
|
-
].filter(Boolean).join(" "), S = /* @__PURE__ */
|
|
43
|
+
].filter(Boolean).join(" "), S = /* @__PURE__ */ _(pe, { children: [
|
|
44
44
|
f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
|
|
45
|
-
!
|
|
46
|
-
|
|
45
|
+
!R && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
|
|
46
|
+
b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b })
|
|
47
47
|
] }), L = s ? !0 : void 0;
|
|
48
48
|
return a ? /* @__PURE__ */ t(
|
|
49
49
|
lt,
|
|
@@ -81,7 +81,7 @@ function ge({
|
|
|
81
81
|
a ? `orc-section-title--${a}` : "",
|
|
82
82
|
r
|
|
83
83
|
].filter(Boolean).join(" ");
|
|
84
|
-
return /* @__PURE__ */
|
|
84
|
+
return /* @__PURE__ */ _("div", { className: l, children: [
|
|
85
85
|
n && /* @__PURE__ */ t(
|
|
86
86
|
"img",
|
|
87
87
|
{
|
|
@@ -178,13 +178,13 @@ function Ze({ src: e, alt: n }) {
|
|
|
178
178
|
}
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const
|
|
182
|
-
contenedor:
|
|
183
|
-
flexGroup:
|
|
184
|
-
subtitle:
|
|
181
|
+
const Ut = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Vt = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Wt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", qe = {
|
|
182
|
+
contenedor: Ut,
|
|
183
|
+
flexGroup: Vt,
|
|
184
|
+
subtitle: Wt
|
|
185
185
|
};
|
|
186
|
-
function
|
|
187
|
-
return /* @__PURE__ */
|
|
186
|
+
function Gt({ title: e, subtitle: n }) {
|
|
187
|
+
return /* @__PURE__ */ _(
|
|
188
188
|
"div",
|
|
189
189
|
{
|
|
190
190
|
className: qe.contenedor,
|
|
@@ -200,12 +200,12 @@ function jt({ title: e, subtitle: n }) {
|
|
|
200
200
|
children: e
|
|
201
201
|
}
|
|
202
202
|
),
|
|
203
|
-
n && /* @__PURE__ */
|
|
203
|
+
n && /* @__PURE__ */ _(
|
|
204
204
|
"div",
|
|
205
205
|
{
|
|
206
206
|
className: qe.flexGroup,
|
|
207
207
|
children: [
|
|
208
|
-
/* @__PURE__ */
|
|
208
|
+
/* @__PURE__ */ _("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
|
|
209
209
|
" ",
|
|
210
210
|
/* @__PURE__ */ t("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
|
|
211
211
|
" "
|
|
@@ -219,7 +219,7 @@ function jt({ title: e, subtitle: n }) {
|
|
|
219
219
|
}
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function jt({ text: e, color: n = "#ff3b3b", textColor: a = "#fff" }) {
|
|
223
223
|
return /* @__PURE__ */ t(
|
|
224
224
|
"span",
|
|
225
225
|
{
|
|
@@ -240,14 +240,14 @@ function Ht({ text: e, color: n = "#ff3b3b", textColor: a = "#fff" }) {
|
|
|
240
240
|
}
|
|
241
241
|
);
|
|
242
242
|
}
|
|
243
|
-
function
|
|
244
|
-
return /* @__PURE__ */
|
|
245
|
-
e && /* @__PURE__ */ t(
|
|
243
|
+
function Ht({ live: e, time: n }) {
|
|
244
|
+
return /* @__PURE__ */ _("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
245
|
+
e && /* @__PURE__ */ t(jt, { text: "En vivo" }),
|
|
246
246
|
n && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: n })
|
|
247
247
|
] });
|
|
248
248
|
}
|
|
249
|
-
function
|
|
250
|
-
return /* @__PURE__ */
|
|
249
|
+
function Kt({ title: e, subtitle: n, live: a = !1, time: r = "" }) {
|
|
250
|
+
return /* @__PURE__ */ _(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
253
253
|
style: {
|
|
@@ -257,33 +257,33 @@ function Zt({ title: e, subtitle: n, live: a = !1, time: r = "" }) {
|
|
|
257
257
|
color: "#FFFFFF"
|
|
258
258
|
},
|
|
259
259
|
children: [
|
|
260
|
-
/* @__PURE__ */ t(
|
|
261
|
-
/* @__PURE__ */ t(
|
|
260
|
+
/* @__PURE__ */ t(Gt, { title: e, subtitle: n }),
|
|
261
|
+
/* @__PURE__ */ t(Ht, { live: a, time: r })
|
|
262
262
|
]
|
|
263
263
|
}
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
|
-
const
|
|
267
|
-
label:
|
|
266
|
+
const Zt = "oraculo__OraculoEventLabel-module__label___c64Xw", Jt = {
|
|
267
|
+
label: Zt
|
|
268
268
|
};
|
|
269
269
|
function mt({ text: e }) {
|
|
270
|
-
return /* @__PURE__ */ t("span", { className:
|
|
270
|
+
return /* @__PURE__ */ t("span", { className: Jt.label, children: e });
|
|
271
271
|
}
|
|
272
|
-
const
|
|
273
|
-
container:
|
|
272
|
+
const Xt = "oraculo__OraculoEventLeague-module__container___rdk4F", Yt = {
|
|
273
|
+
container: Xt
|
|
274
274
|
};
|
|
275
275
|
function pt({ title: e }) {
|
|
276
|
-
return /* @__PURE__ */ t("div", { className:
|
|
276
|
+
return /* @__PURE__ */ t("div", { className: Yt.container, children: e.toUpperCase() });
|
|
277
277
|
}
|
|
278
|
-
const
|
|
279
|
-
scoreWrapper:
|
|
280
|
-
name:
|
|
281
|
-
score:
|
|
282
|
-
normal:
|
|
283
|
-
small:
|
|
278
|
+
const Qt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", en = "oraculo__OraculoEventScore-module__name___r4uL6", tn = "oraculo__OraculoEventScore-module__score___Xl03M", nn = "oraculo__OraculoEventScore-module__normal___cCNFz", an = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
|
|
279
|
+
scoreWrapper: Qt,
|
|
280
|
+
name: en,
|
|
281
|
+
score: tn,
|
|
282
|
+
normal: nn,
|
|
283
|
+
small: an
|
|
284
284
|
};
|
|
285
285
|
function ft({ text: e, name: n, size: a = "normal" }) {
|
|
286
|
-
return /* @__PURE__ */
|
|
286
|
+
return /* @__PURE__ */ _(
|
|
287
287
|
"div",
|
|
288
288
|
{
|
|
289
289
|
className: `${ve.scoreWrapper} ${ve[a]}`,
|
|
@@ -294,23 +294,23 @@ function ft({ text: e, name: n, size: a = "normal" }) {
|
|
|
294
294
|
}
|
|
295
295
|
);
|
|
296
296
|
}
|
|
297
|
-
const
|
|
298
|
-
team:
|
|
299
|
-
regular:
|
|
300
|
-
compact:
|
|
301
|
-
logo:
|
|
302
|
-
name:
|
|
303
|
-
skeleton:
|
|
304
|
-
},
|
|
305
|
-
polo:
|
|
306
|
-
svgWrapper:
|
|
307
|
-
shadow:
|
|
308
|
-
highlight:
|
|
297
|
+
const on = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", rn = "oraculo__OraculoEventTeamInfo-module__regular___ag826", ln = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", sn = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", cn = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", dn = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
|
|
298
|
+
team: on,
|
|
299
|
+
regular: rn,
|
|
300
|
+
compact: ln,
|
|
301
|
+
logo: sn,
|
|
302
|
+
name: cn,
|
|
303
|
+
skeleton: dn
|
|
304
|
+
}, un = "oraculo__OraculoTeamPolo-module__polo___BisRg", mn = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", pn = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", fn = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Ie = {
|
|
305
|
+
polo: un,
|
|
306
|
+
svgWrapper: mn,
|
|
307
|
+
shadow: pn,
|
|
308
|
+
highlight: fn
|
|
309
309
|
};
|
|
310
|
-
function
|
|
310
|
+
function gn({ jersey: e, className: n }) {
|
|
311
311
|
const a = `#${e.base}`, r = e.sleeve ? `#${e.sleeve}` : a, i = e.stripes ? `#${e.stripes}` : null, l = e.sleevelong ? `#${e.sleevelong}` : null;
|
|
312
|
-
return /* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */ t("div", { className: Ie.svgWrapper, children: /* @__PURE__ */
|
|
312
|
+
return /* @__PURE__ */ _("div", { className: `${Ie.polo} ${n != null ? n : ""}`, children: [
|
|
313
|
+
/* @__PURE__ */ t("div", { className: Ie.svgWrapper, children: /* @__PURE__ */ _("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
|
|
314
314
|
/* @__PURE__ */ t(
|
|
315
315
|
"path",
|
|
316
316
|
{
|
|
@@ -318,7 +318,7 @@ function hn({ jersey: e, className: n }) {
|
|
|
318
318
|
d: "m62 265 5.8-17c-.4-.7-.6-1.5-.4-2 .2-.7.8-1.2 1.2-1.4l1.2-4 9-21.6c.2-1 1-3.5 2.4-6.4a69.9 69.9 0 0 1 4.1-17.2l2.9-7 2.9-11.4c1.7-5.8 5.2-18.4 5.8-22 .6-3.6 6.8-19 9.8-26.2.4-.9 2.4-4.7 7.2-12.8 5.4-12.2 23.5-27.2 32-33.1l6.6-3.7 7.9-3.6 17.3-6.2 16.6-7.1L215 52c7-4.1 21.8-12.5 24.1-13.2 2.3-.8 5-3.5 6-4.7 1.2-1.2 4.2-3.8 6.6-4.7 2.3-1 8.2-6.8 10.8-9.6 1.6-1.4 3.8-4.7 9.2-7.5 5.3-2.9 20.4-4 27.2-4.3h25.6l16.7.3 14.1.6 10.3.7 9.5 1.7c6.4.6 12.6 4.3 15.4 8l2.7 3.1 8.9 8 1.8.7 4.9 3 2.7 3.5c4.2 2.2 13.1 7.1 15.2 8.7 2 1.6 30.1 15.4 44 22 8 3.2 39 12.3 55.3 30 5.2 4.3 7 7.8 11.4 12.4 5.1 5.3 15.1 29 16.9 32 1.4 2.6 5 17 6.8 24l4.8 20.5 8.4 29 8.9 22.7 2.3 5.4.6 1.5c.5.6 1.4 2 1 2.6-.2.6 0 2 .2 2.7l1 2.6 2 5.8 2.2 5.9c.3 1.3-4.3 4-6.6 5.2l-11.1 5-12.6 4.7-15 5-14.6 4.6-10.9 2.4a66 66 0 0 1-8.6 1.4c-3.4.3-4.7-.4-4.9-.8l-5-12.3-1.9-3.8-1.8-1.6.1-.8v-1l-.4-1.8-1.3-4.1-3.3-9-1.3-2-2.2-5.7-2.5-.3-1 .8v2l-2.7 13.1-8.7 58-.9 6.4-.2 7.9c0 3-1 16-1.7 18.3l-2.5 9-.2 7.6-.3 8.7-.3 7.5.3 4 .5 15c.3 1.9-.6 7-1.1 9.3-.6 2.4-1.6 7.5-1.4 8.8.3 1.4-.2 4.4-.5 5.8l-1.3 8.9c-.2 1.4-.8 5-1.3 7.2.7 1.6 4.7 14.6 5.9 17.8 1.2 3.3 4.8 19.4 5 20.7.3 1 1.1 7.8 1.5 11 .1 2.5.3 8 .2 10 0 2-.8 6.6-1.1 8.6-.2 1.7-.7 5.5-1.2 7s-1.2 8.5-1.4 11.8A81.1 81.1 0 0 1 477 552l.3 7.1.2 6.5 1.4 17.7.5 6 1.5 7.7.4 4.6c.3 2.1.7 7 .7 10.1.3 3-2.5 6-4 7 0 .2-1.2 1-4.6 3-6.4 5-26.3 11.6-35.5 14.3a379.2 379.2 0 0 1-58.6 11.2c-2.3.8-27 2.2-39 2.7-8.3 0-27 0-34.5-.4-11.5.9-47.4-4.8-63.9-7.7-6.3-.9-42.1-10.4-48-14.4-3.7-2.4-14.3-8-16.9-9.7a10.7 10.7 0 0 1-4.1-5.4c-.3-1 .1-8.6.4-12.3l.6-5 1.4-9.6 1-8 .3-4.3-.4-7.7-1-10.8v-13.8l.7-10 1.1-7.7 1.8-8 2.8-9.5 3.3-9.3a78 78 0 0 1-2.5-20.8 1112.2 1112.2 0 0 1 .6-14.1c-.1-.7 2.1-10.2 3.3-15l1-3.8-.1-.8c-1.4-8.3-1.5-14-1.9-15.4a78 78 0 0 1 .4-10.9l2-6.7.4-2-.4-1.5a67.6 67.6 0 0 1-7.3-27l-.2-7.7.5-5.4.3-1.5.4-3.9.7-5 .2-2.2-.2-.4-.3-6-1-3.1-.3-4-.7-7.6-1.5-8.3-.8-4.2-1.4-9.2-.4-4.3L172 279l-2.2-14.6a545 545 0 0 1-1.7-8.5c-.1-1-2-2.1-3-2.6 0 .6-.6 1.5-1.7 2-1.2.7-2.4 1.3-2.7 2.2l-.8 4.7a15 15 0 0 1-2.5 4.1 16.4 16.4 0 0 0-2.6 6.3l-.3 2.4v1.3l-1.4 1.1-.3.3-6 14.5c-.7 2.3-1.3 1.8-1.9 1.5l-10.5-3.1-9-3-18.3-6-20-6.8-13-4.8c-2.1-1-7-3-9.4-3.8-2.5-.8-3-1.3-2.8-1.4Z"
|
|
319
319
|
}
|
|
320
320
|
),
|
|
321
|
-
i && /* @__PURE__ */
|
|
321
|
+
i && /* @__PURE__ */ _(pe, { children: [
|
|
322
322
|
/* @__PURE__ */ t("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
323
323
|
/* @__PURE__ */ t("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
|
|
324
324
|
] }),
|
|
@@ -367,9 +367,9 @@ function hn({ jersey: e, className: n }) {
|
|
|
367
367
|
] });
|
|
368
368
|
}
|
|
369
369
|
function Me({ name: e, jersey: n, size: a = "regular" }) {
|
|
370
|
-
return /* @__PURE__ */
|
|
370
|
+
return /* @__PURE__ */ _("div", { className: `oli-font ${_e.team} ${_e[a]}`, children: [
|
|
371
371
|
n != null && n.base ? /* @__PURE__ */ t(
|
|
372
|
-
|
|
372
|
+
gn,
|
|
373
373
|
{
|
|
374
374
|
jersey: n,
|
|
375
375
|
className: `${_e.logo}`
|
|
@@ -378,7 +378,7 @@ function Me({ name: e, jersey: n, size: a = "regular" }) {
|
|
|
378
378
|
/* @__PURE__ */ t("span", { className: _e.name, children: e })
|
|
379
379
|
] });
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function hn(e, n, {
|
|
382
382
|
enabled: a = !0,
|
|
383
383
|
threshold: r = 60,
|
|
384
384
|
cooldownMs: i = 500
|
|
@@ -396,20 +396,20 @@ function bn(e, n, {
|
|
|
396
396
|
g.preventDefault(), l.current += u;
|
|
397
397
|
const f = Date.now();
|
|
398
398
|
if (f - s.current < i || Math.abs(l.current) < r) return;
|
|
399
|
-
const
|
|
400
|
-
l.current = 0, s.current = f, m.go(
|
|
399
|
+
const b = l.current > 0 ? ">" : "<";
|
|
400
|
+
l.current = 0, s.current = f, m.go(b);
|
|
401
401
|
};
|
|
402
402
|
return d.addEventListener("wheel", h, { passive: !1 }), () => {
|
|
403
403
|
d.removeEventListener("wheel", h), l.current = 0;
|
|
404
404
|
};
|
|
405
405
|
}, [a, r, i, e, n]);
|
|
406
406
|
}
|
|
407
|
-
const
|
|
408
|
-
gradientOverlay:
|
|
409
|
-
right:
|
|
410
|
-
left:
|
|
411
|
-
svg:
|
|
412
|
-
},
|
|
407
|
+
const bn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", vn = "oraculo__OraculoCarousel-module__right___KwpOE", _n = "oraculo__OraculoCarousel-module__left___n3WQu", yn = "oraculo__OraculoCarousel-module__svg___0mGuX", ye = {
|
|
408
|
+
gradientOverlay: bn,
|
|
409
|
+
right: vn,
|
|
410
|
+
left: _n,
|
|
411
|
+
svg: yn
|
|
412
|
+
}, xn = Bt, Sn = Rt, he = Tt(
|
|
413
413
|
({
|
|
414
414
|
items: e = [],
|
|
415
415
|
renderItem: n,
|
|
@@ -423,10 +423,10 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
423
423
|
enableHorizontalWheel: g = !0,
|
|
424
424
|
showRightGradient: m = !1
|
|
425
425
|
}, u) => {
|
|
426
|
-
const c = U(null), f = U(null),
|
|
427
|
-
|
|
426
|
+
const c = U(null), f = U(null), b = U(e.length), y = U(null), C = U(null), N = U("user");
|
|
427
|
+
hn(f, c, {
|
|
428
428
|
enabled: g
|
|
429
|
-
}),
|
|
429
|
+
}), $t(u, () => ({
|
|
430
430
|
next: () => {
|
|
431
431
|
var I;
|
|
432
432
|
return (I = c.current) == null ? void 0 : I.go(">");
|
|
@@ -436,28 +436,28 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
436
436
|
return (I = c.current) == null ? void 0 : I.go("<");
|
|
437
437
|
},
|
|
438
438
|
go: (I) => {
|
|
439
|
-
var
|
|
440
|
-
return (
|
|
439
|
+
var v;
|
|
440
|
+
return (v = c.current) == null ? void 0 : v.go(I);
|
|
441
441
|
}
|
|
442
442
|
}));
|
|
443
|
-
const
|
|
443
|
+
const T = (I) => {
|
|
444
444
|
var K;
|
|
445
|
-
const
|
|
446
|
-
let V = 0, G =
|
|
447
|
-
for (let j =
|
|
448
|
-
const X =
|
|
445
|
+
const v = I.Components.Slides, O = I.Components.Controller, q = I.root.querySelector(".splide__track"), M = (K = q == null ? void 0 : q.clientWidth) != null ? K : 0, A = O.getIndex(), P = v.getLength();
|
|
446
|
+
let V = 0, G = A;
|
|
447
|
+
for (let j = A; j < P; j++) {
|
|
448
|
+
const X = v.getAt(j);
|
|
449
449
|
if (!X || (V += X.slide.offsetWidth, V > M)) break;
|
|
450
450
|
G = j;
|
|
451
451
|
}
|
|
452
|
-
return { visibleStart:
|
|
453
|
-
},
|
|
454
|
-
const
|
|
455
|
-
return !
|
|
456
|
-
},
|
|
452
|
+
return { visibleStart: A, visibleEnd: G };
|
|
453
|
+
}, x = (I) => {
|
|
454
|
+
const v = I.root.querySelector(".splide__track"), O = I.root.querySelector(".splide__list");
|
|
455
|
+
return !v || !O ? !1 : O.scrollWidth > v.clientWidth + 1;
|
|
456
|
+
}, R = U(!1), w = ke((I) => {
|
|
457
457
|
var K, j;
|
|
458
|
-
if (
|
|
459
|
-
const O = I.Components.Slides.getLength(), q =
|
|
460
|
-
if (
|
|
458
|
+
if (R.current) return;
|
|
459
|
+
const O = I.Components.Slides.getLength(), q = N.current;
|
|
460
|
+
if (N.current = "user", !x(I)) {
|
|
461
461
|
d == null || d({
|
|
462
462
|
index: 0,
|
|
463
463
|
isStart: !0,
|
|
@@ -469,8 +469,8 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
469
469
|
});
|
|
470
470
|
return;
|
|
471
471
|
}
|
|
472
|
-
const { visibleStart: M, visibleEnd:
|
|
473
|
-
m && ((K =
|
|
472
|
+
const { visibleStart: M, visibleEnd: A } = T(I), P = M === 0, V = A === O - 1;
|
|
473
|
+
m && ((K = y.current) == null || K.style.setProperty("--gradient-opacity", P ? "0" : "1"), (j = C.current) == null || j.style.setProperty("--gradient-opacity", V ? "0" : "1"));
|
|
474
474
|
const G = I.Components.Controller.getIndex();
|
|
475
475
|
d == null || d({
|
|
476
476
|
index: G,
|
|
@@ -478,7 +478,7 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
478
478
|
isEnd: V,
|
|
479
479
|
total: O,
|
|
480
480
|
visibleStart: M,
|
|
481
|
-
visibleEnd:
|
|
481
|
+
visibleEnd: A,
|
|
482
482
|
source: q
|
|
483
483
|
});
|
|
484
484
|
}, [d]);
|
|
@@ -486,32 +486,32 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
486
486
|
var O;
|
|
487
487
|
const I = (O = c.current) == null ? void 0 : O.splide;
|
|
488
488
|
if (!I) return;
|
|
489
|
-
const
|
|
490
|
-
|
|
491
|
-
|
|
489
|
+
const v = b.current !== e.length;
|
|
490
|
+
b.current = e.length, v && requestAnimationFrame(() => {
|
|
491
|
+
R.current = !0;
|
|
492
492
|
try {
|
|
493
493
|
I.refresh();
|
|
494
494
|
} finally {
|
|
495
|
-
|
|
495
|
+
R.current = !1;
|
|
496
496
|
}
|
|
497
|
-
|
|
497
|
+
N.current = "resize", w(I);
|
|
498
498
|
});
|
|
499
499
|
}, [e.length, w]);
|
|
500
500
|
const S = ke(() => {
|
|
501
|
-
var
|
|
502
|
-
const I = (
|
|
501
|
+
var v;
|
|
502
|
+
const I = (v = c.current) == null ? void 0 : v.splide;
|
|
503
503
|
if (I) {
|
|
504
|
-
|
|
504
|
+
R.current = !0;
|
|
505
505
|
try {
|
|
506
506
|
I.go(0, !1);
|
|
507
507
|
} finally {
|
|
508
|
-
|
|
508
|
+
R.current = !1;
|
|
509
509
|
}
|
|
510
|
-
|
|
510
|
+
N.current = "resize", w(I);
|
|
511
511
|
}
|
|
512
512
|
}, [w]), L = ke(
|
|
513
513
|
(I) => {
|
|
514
|
-
|
|
514
|
+
N.current = "mounted", w(I);
|
|
515
515
|
},
|
|
516
516
|
[w]
|
|
517
517
|
), F = {
|
|
@@ -529,7 +529,7 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
529
529
|
...l,
|
|
530
530
|
...g ? { wheel: !1 } : {}
|
|
531
531
|
};
|
|
532
|
-
return /* @__PURE__ */
|
|
532
|
+
return /* @__PURE__ */ _(
|
|
533
533
|
"div",
|
|
534
534
|
{
|
|
535
535
|
ref: f,
|
|
@@ -537,27 +537,27 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
537
537
|
style: { width: "100%", position: "relative", height: "100%" },
|
|
538
538
|
children: [
|
|
539
539
|
/* @__PURE__ */ t(
|
|
540
|
-
|
|
540
|
+
xn,
|
|
541
541
|
{
|
|
542
542
|
ref: c,
|
|
543
543
|
options: F,
|
|
544
544
|
onMove: w,
|
|
545
545
|
onMounted: L,
|
|
546
546
|
onResize: S,
|
|
547
|
-
children: e.map((I,
|
|
547
|
+
children: e.map((I, v) => {
|
|
548
548
|
var O;
|
|
549
|
-
return /* @__PURE__ */ t(
|
|
549
|
+
return /* @__PURE__ */ t(Sn, { children: n(I, v) }, h ? v : (O = I.id) != null ? O : v);
|
|
550
550
|
})
|
|
551
551
|
}
|
|
552
552
|
),
|
|
553
|
-
m && /* @__PURE__ */
|
|
553
|
+
m && /* @__PURE__ */ _(pe, { children: [
|
|
554
554
|
/* @__PURE__ */ t(
|
|
555
555
|
"div",
|
|
556
556
|
{
|
|
557
|
-
ref:
|
|
557
|
+
ref: y,
|
|
558
558
|
className: `${ye.gradientOverlay} ${ye.left}`,
|
|
559
559
|
style: { "--gradient-opacity": "0" },
|
|
560
|
-
children: /* @__PURE__ */
|
|
560
|
+
children: /* @__PURE__ */ _(
|
|
561
561
|
"svg",
|
|
562
562
|
{
|
|
563
563
|
className: ye.svg,
|
|
@@ -567,7 +567,7 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
567
567
|
xmlns: "http://www.w3.org/2000/svg",
|
|
568
568
|
children: [
|
|
569
569
|
/* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
|
|
570
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */
|
|
570
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ _("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
|
|
571
571
|
/* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
|
|
572
572
|
/* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
|
|
573
573
|
] }) })
|
|
@@ -579,10 +579,10 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
579
579
|
/* @__PURE__ */ t(
|
|
580
580
|
"div",
|
|
581
581
|
{
|
|
582
|
-
ref:
|
|
582
|
+
ref: C,
|
|
583
583
|
className: `${ye.gradientOverlay} ${ye.right}`,
|
|
584
584
|
style: { "--gradient-opacity": "1" },
|
|
585
|
-
children: /* @__PURE__ */
|
|
585
|
+
children: /* @__PURE__ */ _(
|
|
586
586
|
"svg",
|
|
587
587
|
{
|
|
588
588
|
className: ye.svg,
|
|
@@ -592,7 +592,7 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
592
592
|
xmlns: "http://www.w3.org/2000/svg",
|
|
593
593
|
children: [
|
|
594
594
|
/* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
|
|
595
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */
|
|
595
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ _("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
|
|
596
596
|
/* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
|
|
597
597
|
/* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
|
|
598
598
|
] }) })
|
|
@@ -615,7 +615,7 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
615
615
|
const i = a === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, l = (d) => {
|
|
616
616
|
d.stopPropagation(), n == null || n();
|
|
617
617
|
}, s = r ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
|
|
618
|
-
return /* @__PURE__ */
|
|
618
|
+
return /* @__PURE__ */ _(
|
|
619
619
|
z,
|
|
620
620
|
{
|
|
621
621
|
onClick: n,
|
|
@@ -693,7 +693,7 @@ const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "ora
|
|
|
693
693
|
}
|
|
694
694
|
);
|
|
695
695
|
};
|
|
696
|
-
function
|
|
696
|
+
function wn({
|
|
697
697
|
imageUrl: e,
|
|
698
698
|
orden: n = 1,
|
|
699
699
|
onClick: a,
|
|
@@ -703,18 +703,18 @@ function In({
|
|
|
703
703
|
md: { w: 186, h: 264, r: 22.6, font: 64 }
|
|
704
704
|
}
|
|
705
705
|
}) {
|
|
706
|
-
var u, c, f,
|
|
707
|
-
const l = (
|
|
708
|
-
var
|
|
706
|
+
var u, c, f, b;
|
|
707
|
+
const l = (y, C) => {
|
|
708
|
+
var N, T, x, R;
|
|
709
709
|
return {
|
|
710
|
-
xs: (
|
|
711
|
-
md: (
|
|
710
|
+
xs: (T = (N = i.xs) == null ? void 0 : N[y]) != null ? T : C,
|
|
711
|
+
md: (R = (x = i.md) == null ? void 0 : x[y]) != null ? R : C
|
|
712
712
|
};
|
|
713
713
|
}, s = l("w", 186), d = l("h", 264), h = l("r", 22.6), g = l("font", 64), m = {
|
|
714
714
|
xs: Math.round(((c = (u = i.xs) == null ? void 0 : u.font) != null ? c : 64) * 0.28),
|
|
715
|
-
md: Math.round(((
|
|
715
|
+
md: Math.round(((b = (f = i.md) == null ? void 0 : f.font) != null ? b : 64) * 0.28)
|
|
716
716
|
};
|
|
717
|
-
return /* @__PURE__ */
|
|
717
|
+
return /* @__PURE__ */ _(
|
|
718
718
|
z,
|
|
719
719
|
{
|
|
720
720
|
sx: {
|
|
@@ -839,7 +839,7 @@ const Je = ({
|
|
|
839
839
|
}
|
|
840
840
|
)
|
|
841
841
|
}
|
|
842
|
-
) : /* @__PURE__ */
|
|
842
|
+
) : /* @__PURE__ */ _(
|
|
843
843
|
z,
|
|
844
844
|
{
|
|
845
845
|
onClick: i,
|
|
@@ -935,7 +935,7 @@ const Je = ({
|
|
|
935
935
|
var l, s;
|
|
936
936
|
if (n === "mosaic") {
|
|
937
937
|
const d = e[0], h = e.slice(1, 5);
|
|
938
|
-
return /* @__PURE__ */
|
|
938
|
+
return /* @__PURE__ */ _(
|
|
939
939
|
z,
|
|
940
940
|
{
|
|
941
941
|
sx: {
|
|
@@ -1057,7 +1057,7 @@ const Je = ({
|
|
|
1057
1057
|
variant: h = "small"
|
|
1058
1058
|
}) => {
|
|
1059
1059
|
const g = n ? n.slice(0, 2) : "", m = n ? n.slice(2) : "", u = h === "large";
|
|
1060
|
-
return /* @__PURE__ */
|
|
1060
|
+
return /* @__PURE__ */ _(
|
|
1061
1061
|
z,
|
|
1062
1062
|
{
|
|
1063
1063
|
className: d,
|
|
@@ -1118,7 +1118,7 @@ const Je = ({
|
|
|
1118
1118
|
pl: "14%",
|
|
1119
1119
|
pr: { xs: "14%", lg: "15%" }
|
|
1120
1120
|
},
|
|
1121
|
-
children: /* @__PURE__ */
|
|
1121
|
+
children: /* @__PURE__ */ _(
|
|
1122
1122
|
z,
|
|
1123
1123
|
{
|
|
1124
1124
|
sx: {
|
|
@@ -1139,7 +1139,7 @@ const Je = ({
|
|
|
1139
1139
|
children: e
|
|
1140
1140
|
}
|
|
1141
1141
|
),
|
|
1142
|
-
n && /* @__PURE__ */
|
|
1142
|
+
n && /* @__PURE__ */ _(
|
|
1143
1143
|
z,
|
|
1144
1144
|
{
|
|
1145
1145
|
component: "p",
|
|
@@ -1197,7 +1197,7 @@ const Je = ({
|
|
|
1197
1197
|
]
|
|
1198
1198
|
}
|
|
1199
1199
|
);
|
|
1200
|
-
},
|
|
1200
|
+
}, In = ({
|
|
1201
1201
|
text: e,
|
|
1202
1202
|
buttonLabel: n = "Conoce más",
|
|
1203
1203
|
onClick: a,
|
|
@@ -1205,7 +1205,7 @@ const Je = ({
|
|
|
1205
1205
|
imgSrcMobile: i,
|
|
1206
1206
|
imgSrcDesktopBg: l,
|
|
1207
1207
|
imgSrcDesktopLogo: s
|
|
1208
|
-
}) => /* @__PURE__ */
|
|
1208
|
+
}) => /* @__PURE__ */ _(pe, { children: [
|
|
1209
1209
|
/* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
|
|
1210
1210
|
"img",
|
|
1211
1211
|
{
|
|
@@ -1214,7 +1214,7 @@ const Je = ({
|
|
|
1214
1214
|
className: "orc-co-bgMobileImg"
|
|
1215
1215
|
}
|
|
1216
1216
|
) }),
|
|
1217
|
-
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */
|
|
1217
|
+
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ _("div", { className: "orc-co-desktopInner", children: [
|
|
1218
1218
|
l && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
|
|
1219
1219
|
"img",
|
|
1220
1220
|
{
|
|
@@ -1223,7 +1223,7 @@ const Je = ({
|
|
|
1223
1223
|
className: "orc-co-bgDesktopImg"
|
|
1224
1224
|
}
|
|
1225
1225
|
) }),
|
|
1226
|
-
/* @__PURE__ */
|
|
1226
|
+
/* @__PURE__ */ _("div", { className: "orc-co-desktopContent", children: [
|
|
1227
1227
|
s && /* @__PURE__ */ t(
|
|
1228
1228
|
"img",
|
|
1229
1229
|
{
|
|
@@ -1236,32 +1236,32 @@ const Je = ({
|
|
|
1236
1236
|
/* @__PURE__ */ t(J, { onClick: a, variant: "primary", size: "md", children: n })
|
|
1237
1237
|
] })
|
|
1238
1238
|
] }) }),
|
|
1239
|
-
/* @__PURE__ */
|
|
1239
|
+
/* @__PURE__ */ _("div", { className: "orc-co-bottom", children: [
|
|
1240
1240
|
/* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
|
|
1241
1241
|
/* @__PURE__ */ t(J, { onClick: a, variant: "primary", size: "md", children: n })
|
|
1242
1242
|
] })
|
|
1243
|
-
] }),
|
|
1244
|
-
card:
|
|
1245
|
-
combinadas:
|
|
1246
|
-
combinadasScroll:
|
|
1247
|
-
apuestaItem:
|
|
1248
|
-
lineContainer:
|
|
1249
|
-
circle:
|
|
1250
|
-
line:
|
|
1251
|
-
apuestaText:
|
|
1252
|
-
cuotaTotal:
|
|
1243
|
+
] }), On = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", En = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Cn = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", kn = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Tn = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", $n = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Nn = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Mn = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", An = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
|
|
1244
|
+
card: On,
|
|
1245
|
+
combinadas: En,
|
|
1246
|
+
combinadasScroll: Cn,
|
|
1247
|
+
apuestaItem: kn,
|
|
1248
|
+
lineContainer: Tn,
|
|
1249
|
+
circle: $n,
|
|
1250
|
+
line: Nn,
|
|
1251
|
+
apuestaText: Mn,
|
|
1252
|
+
cuotaTotal: An
|
|
1253
1253
|
};
|
|
1254
1254
|
function Ue(e, n) {
|
|
1255
1255
|
const a = Array.isArray(n) ? n : [n];
|
|
1256
1256
|
sessionStorage.setItem("landingOutcomes", JSON.stringify(a)), window.location.href = e;
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1258
|
+
function Bn() {
|
|
1259
1259
|
window.location.href = "/deportes#in-play";
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1261
|
+
function Rn() {
|
|
1262
1262
|
window.location.href = "/deportes#sports-hub/football";
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1264
|
+
function Ln() {
|
|
1265
1265
|
window.location.href = "/deportes#specials";
|
|
1266
1266
|
}
|
|
1267
1267
|
async function ht(e) {
|
|
@@ -1275,47 +1275,47 @@ async function ht(e) {
|
|
|
1275
1275
|
})
|
|
1276
1276
|
})).json();
|
|
1277
1277
|
}
|
|
1278
|
-
const bt =
|
|
1278
|
+
const bt = Nt(void 0), vt = ({ children: e, docId: n, moduleId: a }) => {
|
|
1279
1279
|
const r = fe.useMemo(() => ({ docId: n, moduleId: a }), [n, a]);
|
|
1280
1280
|
return /* @__PURE__ */ t(bt.Provider, { value: r, children: e });
|
|
1281
1281
|
}, _t = () => {
|
|
1282
|
-
const e =
|
|
1282
|
+
const e = Mt(bt);
|
|
1283
1283
|
if (!e)
|
|
1284
1284
|
throw new Error("useDocContext debe usarse dentro de DocIdProvider");
|
|
1285
1285
|
return e;
|
|
1286
1286
|
}, re = () => _t().docId, se = () => _t().moduleId;
|
|
1287
|
-
function
|
|
1287
|
+
function Fn({ coupon: e }) {
|
|
1288
1288
|
var g;
|
|
1289
1289
|
const n = oe(), a = re();
|
|
1290
1290
|
function r(m) {
|
|
1291
|
-
var f,
|
|
1291
|
+
var f, b;
|
|
1292
1292
|
const u = [], c = Array.from(
|
|
1293
1293
|
new Map(
|
|
1294
|
-
((f = m == null ? void 0 : m.events) != null ? f : []).filter(Boolean).map((
|
|
1294
|
+
((f = m == null ? void 0 : m.events) != null ? f : []).filter(Boolean).map((y) => [y.id, y])
|
|
1295
1295
|
).values()
|
|
1296
1296
|
);
|
|
1297
|
-
return c.forEach((
|
|
1298
|
-
var
|
|
1299
|
-
const
|
|
1300
|
-
|
|
1301
|
-
var F, I,
|
|
1302
|
-
if (!((F =
|
|
1303
|
-
const w =
|
|
1297
|
+
return c.forEach((y) => {
|
|
1298
|
+
var x;
|
|
1299
|
+
const C = (x = y.betoffers) != null ? x : [], N = y.homeName, T = y.awayName;
|
|
1300
|
+
C.forEach((R) => {
|
|
1301
|
+
var F, I, v, O, q, M, A;
|
|
1302
|
+
if (!((F = R == null ? void 0 : R.outcomes) != null && F.length)) return;
|
|
1303
|
+
const w = R.outcomes[0];
|
|
1304
1304
|
if (!w) return;
|
|
1305
1305
|
let S = "";
|
|
1306
1306
|
const L = w != null && w.line ? w.line / 1e3 : "";
|
|
1307
|
-
["Más de", "Mas de", "Over"].includes(w.label) ? (S = `Más de ${L}`, w.participant && (S = `${w.participant} - ${S}`)) : ["Menos de", "Menos", "Under"].includes(w.label) ? (S = `Menos de ${L}`, w.participant && (S = `${w.participant} - ${S}`)) : ["Sí", "No"].includes(w.label) ? (S = w.label, w.participant && (S = `${w.participant} - ${S}`)) : ["1X", "12", "X2"].includes(w.label) ? (w.label === "1X" && (S = `${
|
|
1307
|
+
["Más de", "Mas de", "Over"].includes(w.label) ? (S = `Más de ${L}`, w.participant && (S = `${w.participant} - ${S}`)) : ["Menos de", "Menos", "Under"].includes(w.label) ? (S = `Menos de ${L}`, w.participant && (S = `${w.participant} - ${S}`)) : ["Sí", "No"].includes(w.label) ? (S = w.label, w.participant && (S = `${w.participant} - ${S}`)) : ["1X", "12", "X2"].includes(w.label) ? (w.label === "1X" && (S = `${N} o Empate`), w.label === "12" && (S = `${N} o ${T}`), w.label === "X2" && (S = `${T} o Empate`)) : (S = (v = (I = w.participant) != null ? I : w.label) != null ? v : "", L !== "" && S === w.label && (S = `${w.label} ${L}`)), u.push({
|
|
1308
1308
|
id: w.id,
|
|
1309
1309
|
value: S,
|
|
1310
|
-
label: (q = (O =
|
|
1310
|
+
label: (q = (O = R.criterion) == null ? void 0 : O.label) != null ? q : "",
|
|
1311
1311
|
odds: (M = w.odds) != null ? M : 0,
|
|
1312
|
-
position: (
|
|
1313
|
-
eventId:
|
|
1312
|
+
position: (A = w.position) != null ? A : 0,
|
|
1313
|
+
eventId: y.id
|
|
1314
1314
|
});
|
|
1315
1315
|
});
|
|
1316
1316
|
}), {
|
|
1317
|
-
outcomes: u.sort((
|
|
1318
|
-
total: Number((
|
|
1317
|
+
outcomes: u.sort((y, C) => y.position - C.position),
|
|
1318
|
+
total: Number((b = m == null ? void 0 : m.combinadoTotal) != null ? b : 0).toLocaleString("en-US", {
|
|
1319
1319
|
minimumFractionDigits: 2,
|
|
1320
1320
|
maximumFractionDigits: 2
|
|
1321
1321
|
}),
|
|
@@ -1329,43 +1329,43 @@ function qn({ coupon: e }) {
|
|
|
1329
1329
|
if (u.length === 1)
|
|
1330
1330
|
return `/deportes#event/${u[0].id}`;
|
|
1331
1331
|
const c = u[0].groupId;
|
|
1332
|
-
if (u.every((
|
|
1333
|
-
const
|
|
1334
|
-
if (Array.isArray(
|
|
1335
|
-
return `/deportes#sports-hub/${
|
|
1332
|
+
if (u.every((b) => b.groupId === c)) {
|
|
1333
|
+
const b = u[0].path;
|
|
1334
|
+
if (Array.isArray(b) && b.length > 0)
|
|
1335
|
+
return `/deportes#sports-hub/${b.map((C) => C.termKey).filter(Boolean).join("/")}`;
|
|
1336
1336
|
}
|
|
1337
1337
|
return "/deportes#home";
|
|
1338
1338
|
}
|
|
1339
1339
|
const l = (m, u) => {
|
|
1340
1340
|
const c = Array.isArray(m) ? m : [m], f = Array.from(
|
|
1341
1341
|
new Set(
|
|
1342
|
-
s.outcomes.map((
|
|
1343
|
-
var
|
|
1344
|
-
const
|
|
1345
|
-
return (
|
|
1342
|
+
s.outcomes.map((C) => {
|
|
1343
|
+
var T;
|
|
1344
|
+
const N = h.get(Number(C.eventId));
|
|
1345
|
+
return (T = N == null ? void 0 : N.name) != null ? T : "";
|
|
1346
1346
|
})
|
|
1347
1347
|
)
|
|
1348
|
-
).filter(Boolean),
|
|
1348
|
+
).filter(Boolean), b = f.length > 0 ? f.join(" + ") : JSON.stringify(c), y = u ? `${b} - Cuota: ${u}` : b;
|
|
1349
1349
|
n({
|
|
1350
1350
|
element: "evento_semana_outcome",
|
|
1351
|
-
label: `Landing: ${a} - OraculoEventCombinadasCard - Click: ${
|
|
1351
|
+
label: `Landing: ${a} - OraculoEventCombinadasCard - Click: ${y}`,
|
|
1352
1352
|
target: "/deportes#in-play",
|
|
1353
1353
|
event_type: "click",
|
|
1354
1354
|
module_id: 301,
|
|
1355
1355
|
metadata: {
|
|
1356
1356
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1357
1357
|
},
|
|
1358
|
-
tags: { section: "OraculoEventCombinadasCard", outcomes:
|
|
1358
|
+
tags: { section: "OraculoEventCombinadasCard", outcomes: y }
|
|
1359
1359
|
}), Ue(i(e), m);
|
|
1360
1360
|
};
|
|
1361
1361
|
if (!((g = e == null ? void 0 : e.events) != null && g.length)) return null;
|
|
1362
1362
|
const s = r(e), d = s.outcomes.reduce((m, u) => (m[u.eventId] || (m[u.eventId] = []), m[u.eventId].push(u), m), {}), h = new Map(
|
|
1363
1363
|
s.events.map((m) => [m.id, m])
|
|
1364
1364
|
);
|
|
1365
|
-
return /* @__PURE__ */
|
|
1365
|
+
return /* @__PURE__ */ _("div", { className: ce.card, children: [
|
|
1366
1366
|
/* @__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(d).reverse().map(([m, u]) => {
|
|
1367
1367
|
const c = h.get(Number(m));
|
|
1368
|
-
return c ? /* @__PURE__ */
|
|
1368
|
+
return c ? /* @__PURE__ */ _(
|
|
1369
1369
|
H,
|
|
1370
1370
|
{
|
|
1371
1371
|
direction: "column",
|
|
@@ -1387,23 +1387,23 @@ function qn({ coupon: e }) {
|
|
|
1387
1387
|
src: "/assets/img/home/Combinadas/line.png"
|
|
1388
1388
|
}
|
|
1389
1389
|
),
|
|
1390
|
-
u.map((f,
|
|
1391
|
-
/* @__PURE__ */
|
|
1390
|
+
u.map((f, b) => /* @__PURE__ */ _("div", { className: ce.apuestaItem, children: [
|
|
1391
|
+
/* @__PURE__ */ _("div", { className: ce.lineContainer, children: [
|
|
1392
1392
|
/* @__PURE__ */ t("div", { className: ce.circle }),
|
|
1393
|
-
|
|
1393
|
+
b < u.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
|
|
1394
1394
|
] }),
|
|
1395
|
-
/* @__PURE__ */
|
|
1395
|
+
/* @__PURE__ */ _("div", { className: ce.apuestaText, children: [
|
|
1396
1396
|
/* @__PURE__ */ t("strong", { children: f.value }),
|
|
1397
1397
|
" | ",
|
|
1398
1398
|
f.label
|
|
1399
1399
|
] })
|
|
1400
|
-
] }, `${m}-${
|
|
1400
|
+
] }, `${m}-${b}`))
|
|
1401
1401
|
]
|
|
1402
1402
|
},
|
|
1403
1403
|
m
|
|
1404
1404
|
) : null;
|
|
1405
1405
|
}) }) }) }),
|
|
1406
|
-
/* @__PURE__ */
|
|
1406
|
+
/* @__PURE__ */ _(
|
|
1407
1407
|
"button",
|
|
1408
1408
|
{
|
|
1409
1409
|
onClick: () => l(
|
|
@@ -1412,7 +1412,7 @@ function qn({ coupon: e }) {
|
|
|
1412
1412
|
),
|
|
1413
1413
|
className: ce.cuotaTotal,
|
|
1414
1414
|
children: [
|
|
1415
|
-
/* @__PURE__ */
|
|
1415
|
+
/* @__PURE__ */ _("span", { children: [
|
|
1416
1416
|
"Cuota total: ",
|
|
1417
1417
|
/* @__PURE__ */ t("strong", { children: s.total })
|
|
1418
1418
|
] }),
|
|
@@ -1443,7 +1443,7 @@ const de = {
|
|
|
1443
1443
|
"orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
|
|
1444
1444
|
"orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
|
|
1445
1445
|
};
|
|
1446
|
-
function
|
|
1446
|
+
function qn({
|
|
1447
1447
|
children: e,
|
|
1448
1448
|
onClick: n,
|
|
1449
1449
|
href: a,
|
|
@@ -1458,10 +1458,10 @@ function zn({
|
|
|
1458
1458
|
className: u = "",
|
|
1459
1459
|
ariaLabel: c,
|
|
1460
1460
|
leftIcon: f,
|
|
1461
|
-
rightIcon:
|
|
1462
|
-
iconOnly:
|
|
1461
|
+
rightIcon: b,
|
|
1462
|
+
iconOnly: y
|
|
1463
1463
|
}) {
|
|
1464
|
-
const
|
|
1464
|
+
const C = !!e && e !== !0, x = (!!f ? 1 : 0) + (!!b ? 1 : 0) == 1, R = y != null ? y : x && !C, w = [
|
|
1465
1465
|
de["orc-btn"],
|
|
1466
1466
|
// base
|
|
1467
1467
|
de[`orc-btn--${d}`],
|
|
@@ -1470,12 +1470,12 @@ function zn({
|
|
|
1470
1470
|
// sm / md / lg
|
|
1471
1471
|
g ? de["orc-btn--full"] : "",
|
|
1472
1472
|
m ? de["orc-btn--fullHeight"] : "",
|
|
1473
|
-
|
|
1473
|
+
R ? de["orc-btn--iconOnly"] : "",
|
|
1474
1474
|
u
|
|
1475
|
-
].filter(Boolean).join(" "), S = /* @__PURE__ */
|
|
1475
|
+
].filter(Boolean).join(" "), S = /* @__PURE__ */ _(pe, { children: [
|
|
1476
1476
|
f && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: f }),
|
|
1477
|
-
!
|
|
1478
|
-
|
|
1477
|
+
!R && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
|
|
1478
|
+
b && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: b })
|
|
1479
1479
|
] }), L = s ? !0 : void 0;
|
|
1480
1480
|
return a ? /* @__PURE__ */ t(
|
|
1481
1481
|
lt,
|
|
@@ -1502,10 +1502,10 @@ function zn({
|
|
|
1502
1502
|
}
|
|
1503
1503
|
);
|
|
1504
1504
|
}
|
|
1505
|
-
const
|
|
1506
|
-
cardWrapper:
|
|
1507
|
-
customButtonLabel:
|
|
1508
|
-
customButtonDisabled:
|
|
1505
|
+
const zn = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Pn = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Dn = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", $e = {
|
|
1506
|
+
cardWrapper: zn,
|
|
1507
|
+
customButtonLabel: Pn,
|
|
1508
|
+
customButtonDisabled: Dn
|
|
1509
1509
|
}, Ye = {
|
|
1510
1510
|
base: "FFFFFF",
|
|
1511
1511
|
sleeve: "FFFFFF",
|
|
@@ -1527,12 +1527,12 @@ const Pn = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Dn = "
|
|
|
1527
1527
|
const r = (l = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[n]) == null ? void 0 : l[a];
|
|
1528
1528
|
return r || (n === "home" ? Ye : Qe);
|
|
1529
1529
|
};
|
|
1530
|
-
function
|
|
1531
|
-
var d, h, g, m, u, c, f,
|
|
1530
|
+
function Un({ event: e, liveData: n, betOffers: a, jersey: r }) {
|
|
1531
|
+
var d, h, g, m, u, c, f, b, y, C, N;
|
|
1532
1532
|
const i = a == null ? void 0 : a.find(
|
|
1533
|
-
(
|
|
1534
|
-
var
|
|
1535
|
-
return ((
|
|
1533
|
+
(T) => {
|
|
1534
|
+
var x;
|
|
1535
|
+
return ((x = T.betOfferType) == null ? void 0 : x.id) === 2;
|
|
1536
1536
|
}
|
|
1537
1537
|
), l = {
|
|
1538
1538
|
englishLabel: "",
|
|
@@ -1548,10 +1548,10 @@ function Vn({ event: e, liveData: n, betOffers: a, jersey: r }) {
|
|
|
1548
1548
|
{ ...l, id: -2, label: "X", odds: void 0 },
|
|
1549
1549
|
{ ...l, id: -3, label: "2", odds: void 0 }
|
|
1550
1550
|
];
|
|
1551
|
-
return /* @__PURE__ */ t("div", { className: $e.cardWrapper, children: /* @__PURE__ */
|
|
1552
|
-
/* @__PURE__ */
|
|
1551
|
+
return /* @__PURE__ */ t("div", { className: $e.cardWrapper, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1552
|
+
/* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
1553
1553
|
/* @__PURE__ */ t(
|
|
1554
|
-
|
|
1554
|
+
Kt,
|
|
1555
1555
|
{
|
|
1556
1556
|
title: (g = (h = (d = e == null ? void 0 : e.path) == null ? void 0 : d[0]) == null ? void 0 : h.name) != null ? g : "",
|
|
1557
1557
|
subtitle: (m = e == null ? void 0 : e.group) != null ? m : "",
|
|
@@ -1559,75 +1559,75 @@ function Vn({ event: e, liveData: n, betOffers: a, jersey: r }) {
|
|
|
1559
1559
|
time: ((u = n == null ? void 0 : n.matchClock) == null ? void 0 : u.minute) != null ? `${n.matchClock.minute}'` : ""
|
|
1560
1560
|
}
|
|
1561
1561
|
),
|
|
1562
|
-
/* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */
|
|
1562
|
+
/* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1563
1563
|
/* @__PURE__ */ t(Me, { name: e == null ? void 0 : e.homeName, jersey: Ae(r, "home") }),
|
|
1564
|
-
/* @__PURE__ */ t(ft, { text: ((f = (c = n == null ? void 0 : n.score) == null ? void 0 : c.home) != null ? f : 0) + ":" + ((
|
|
1564
|
+
/* @__PURE__ */ t(ft, { text: ((f = (c = n == null ? void 0 : n.score) == null ? void 0 : c.home) != null ? f : 0) + ":" + ((y = (b = n == null ? void 0 : n.score) == null ? void 0 : b.away) != null ? y : 0), name: "En vivo" }),
|
|
1565
1565
|
/* @__PURE__ */ t(Me, { name: e == null ? void 0 : e.awayName, jersey: Ae(r, "away") })
|
|
1566
1566
|
] }) })
|
|
1567
1567
|
] }),
|
|
1568
|
-
/* @__PURE__ */
|
|
1569
|
-
/* @__PURE__ */ t(me, { spacing: 1, children: ((
|
|
1570
|
-
/* @__PURE__ */ t(me, { spacing: 2, children: ((
|
|
1571
|
-
Ue("/deportes#event/live/" + e.id,
|
|
1572
|
-
}, className: $e.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: $e.customButtonLabel, children:
|
|
1568
|
+
/* @__PURE__ */ _(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1569
|
+
/* @__PURE__ */ t(me, { spacing: 1, children: ((C = i == null ? void 0 : i.outcomes) != null ? C : s).map((T, x) => /* @__PURE__ */ t(mt, { text: T.label.toUpperCase() }, x)) }),
|
|
1570
|
+
/* @__PURE__ */ t(me, { spacing: 2, children: ((N = i == null ? void 0 : i.outcomes) != null ? N : s).map((T, x) => /* @__PURE__ */ t(qn, { variant: "primary", disabled: T.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1571
|
+
Ue("/deportes#event/live/" + e.id, T.id);
|
|
1572
|
+
}, className: $e.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: $e.customButtonLabel, children: T.odds === void 0 ? "" : (T.odds / 1e3).toFixed(2) }) }, x)) })
|
|
1573
1573
|
] })
|
|
1574
1574
|
] }) });
|
|
1575
1575
|
}
|
|
1576
|
-
const
|
|
1577
|
-
date:
|
|
1576
|
+
const Vn = "oraculo__OraculoEventDate-module__date___xhIlh", Wn = {
|
|
1577
|
+
date: Vn
|
|
1578
1578
|
};
|
|
1579
|
-
function
|
|
1580
|
-
return /* @__PURE__ */ t("div", { className: `oli-font ${
|
|
1579
|
+
function Gn({ text: e }) {
|
|
1580
|
+
return /* @__PURE__ */ t("div", { className: `oli-font ${Wn.date}`, children: e });
|
|
1581
1581
|
}
|
|
1582
|
-
const
|
|
1583
|
-
cardContainer:
|
|
1584
|
-
cardBackground:
|
|
1585
|
-
jugadas:
|
|
1586
|
-
equipos:
|
|
1582
|
+
const jn = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Hn = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Kn = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Zn = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", be = {
|
|
1583
|
+
cardContainer: jn,
|
|
1584
|
+
cardBackground: Hn,
|
|
1585
|
+
jugadas: Kn,
|
|
1586
|
+
equipos: Zn
|
|
1587
1587
|
};
|
|
1588
|
-
function
|
|
1588
|
+
function Jn({ event: e, jersey: n }) {
|
|
1589
1589
|
var s, d, h, g, m, u, c;
|
|
1590
1590
|
const a = oe(), r = re();
|
|
1591
1591
|
function i(f) {
|
|
1592
|
-
const
|
|
1593
|
-
let
|
|
1594
|
-
return
|
|
1592
|
+
const b = new Date(f), y = b.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), C = b.getDate().toString().padStart(2, "0"), N = (b.getMonth() + 1).toString().padStart(2, "0");
|
|
1593
|
+
let T = b.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1594
|
+
return T = T.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${y} ${C}/${N} | ${T}`;
|
|
1595
1595
|
}
|
|
1596
|
-
const l = (f,
|
|
1597
|
-
const
|
|
1596
|
+
const l = (f, b) => {
|
|
1597
|
+
const y = `${e.homeName} vs ${e.awayName}`, C = b ? (b / 1e3).toFixed(2) : "", N = C ? `${y} - Cuota: ${C}` : y;
|
|
1598
1598
|
a({
|
|
1599
1599
|
element: "evento_semana_outcome",
|
|
1600
|
-
label: `Landing: ${r} - OraculoEventSemanaCard - Click: ${
|
|
1600
|
+
label: `Landing: ${r} - OraculoEventSemanaCard - Click: ${N}`,
|
|
1601
1601
|
target: "/deportes#in-play",
|
|
1602
1602
|
event_type: "click",
|
|
1603
1603
|
module_id: 301,
|
|
1604
1604
|
metadata: {
|
|
1605
1605
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1606
1606
|
},
|
|
1607
|
-
tags: { section: "OraculoEventSemanaCard", outcomes:
|
|
1607
|
+
tags: { section: "OraculoEventSemanaCard", outcomes: N }
|
|
1608
1608
|
}), Ue("/deportes#event/" + e.id, f);
|
|
1609
1609
|
};
|
|
1610
|
-
return /* @__PURE__ */
|
|
1610
|
+
return /* @__PURE__ */ _("div", { className: be.cardContainer, children: [
|
|
1611
1611
|
/* @__PURE__ */ t(pt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
|
|
1612
|
-
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */
|
|
1613
|
-
/* @__PURE__ */
|
|
1614
|
-
/* @__PURE__ */
|
|
1612
|
+
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1613
|
+
/* @__PURE__ */ _(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1614
|
+
/* @__PURE__ */ _("div", { className: be.equipos, children: [
|
|
1615
1615
|
/* @__PURE__ */ t(Me, { name: e.homeName, size: "compact", jersey: Ae(n, "home") }),
|
|
1616
1616
|
/* @__PURE__ */ t(ft, { text: "vs.", name: "", size: "small" }),
|
|
1617
1617
|
/* @__PURE__ */ t(Me, { name: e.awayName, size: "compact", jersey: Ae(n, "away") })
|
|
1618
1618
|
] }),
|
|
1619
|
-
/* @__PURE__ */ t(
|
|
1619
|
+
/* @__PURE__ */ t(Gn, { text: i(e.start) })
|
|
1620
1620
|
] }),
|
|
1621
|
-
/* @__PURE__ */
|
|
1622
|
-
/* @__PURE__ */ t(me, { spacing: 1, children: ((g = (h = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : h.outcomes) != null ? g : []).map((f,
|
|
1623
|
-
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((c = (u = (m = e == null ? void 0 : e.outcome) == null ? void 0 : m[0]) == null ? void 0 : u.outcomes) != null ? c : []).map((f,
|
|
1621
|
+
/* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1622
|
+
/* @__PURE__ */ t(me, { spacing: 1, children: ((g = (h = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : h.outcomes) != null ? g : []).map((f, b) => /* @__PURE__ */ t(mt, { text: f.label.toUpperCase() }, b)) }),
|
|
1623
|
+
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((c = (u = (m = e == null ? void 0 : e.outcome) == null ? void 0 : m[0]) == null ? void 0 : u.outcomes) != null ? c : []).map((f, b) => /* @__PURE__ */ t(J, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1624
1624
|
l(f.id, f.odds);
|
|
1625
|
-
}, children: (f.odds / 1e3).toFixed(2) },
|
|
1625
|
+
}, children: (f.odds / 1e3).toFixed(2) }, b)) }) })
|
|
1626
1626
|
] })
|
|
1627
1627
|
] }) })
|
|
1628
1628
|
] });
|
|
1629
1629
|
}
|
|
1630
|
-
const
|
|
1630
|
+
const Xn = (e = 3) => Array.from({ length: e }, (n, a) => ({
|
|
1631
1631
|
body: "",
|
|
1632
1632
|
image: "",
|
|
1633
1633
|
title: `sk-${a}`,
|
|
@@ -1639,7 +1639,7 @@ const Yn = (e = 3) => Array.from({ length: e }, (n, a) => ({
|
|
|
1639
1639
|
tags: "",
|
|
1640
1640
|
summary_image: ""
|
|
1641
1641
|
}));
|
|
1642
|
-
function
|
|
1642
|
+
function Yn({
|
|
1643
1643
|
items: e,
|
|
1644
1644
|
title: n = "Destacados",
|
|
1645
1645
|
iconUrl: a = "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
|
|
@@ -1649,7 +1649,7 @@ function Qn({
|
|
|
1649
1649
|
paddingMobile: s = "24px"
|
|
1650
1650
|
}) {
|
|
1651
1651
|
var w;
|
|
1652
|
-
const d = U(null), [h, g] = Z({ isStart: !0, isEnd: !1 }), m = oe(), u = re(), c = se(), f = !e || e.length === 0,
|
|
1652
|
+
const d = U(null), [h, g] = Z({ isStart: !0, isEnd: !1 }), m = oe(), u = re(), c = se(), f = !e || e.length === 0, b = () => {
|
|
1653
1653
|
var S;
|
|
1654
1654
|
m({
|
|
1655
1655
|
element: "destacados_carousel_prev",
|
|
@@ -1662,7 +1662,7 @@ function Qn({
|
|
|
1662
1662
|
},
|
|
1663
1663
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1664
1664
|
}), (S = d.current) == null || S.prev();
|
|
1665
|
-
},
|
|
1665
|
+
}, y = () => {
|
|
1666
1666
|
var S;
|
|
1667
1667
|
m({
|
|
1668
1668
|
element: "destacados_carousel_next",
|
|
@@ -1675,7 +1675,7 @@ function Qn({
|
|
|
1675
1675
|
},
|
|
1676
1676
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1677
1677
|
}), (S = d.current) == null || S.next();
|
|
1678
|
-
},
|
|
1678
|
+
}, C = () => {
|
|
1679
1679
|
m({
|
|
1680
1680
|
element: "destacados_view_more",
|
|
1681
1681
|
label: `${u} - OraculoSeccionDestacados - Ver más`,
|
|
@@ -1687,15 +1687,15 @@ function Qn({
|
|
|
1687
1687
|
},
|
|
1688
1688
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1689
1689
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
|
|
1690
|
-
},
|
|
1690
|
+
}, N = l || void 0, T = xe("(max-width:950px)"), x = (w = e == null ? void 0 : e.length) != null ? w : 0;
|
|
1691
1691
|
Q(() => {
|
|
1692
|
-
if (
|
|
1692
|
+
if (x === 0) {
|
|
1693
1693
|
g({ isStart: !0, isEnd: !0 });
|
|
1694
1694
|
return;
|
|
1695
1695
|
}
|
|
1696
1696
|
g({ isStart: !0, isEnd: !1 });
|
|
1697
|
-
}, [
|
|
1698
|
-
const
|
|
1697
|
+
}, [x, T, s]);
|
|
1698
|
+
const R = (S) => {
|
|
1699
1699
|
const L = S.promotion, F = L ? `https://www.olimpo.bet/promociones/${encodeURIComponent(L)}` : "";
|
|
1700
1700
|
if (m({
|
|
1701
1701
|
element: "destacados_card",
|
|
@@ -1716,8 +1716,8 @@ function Qn({
|
|
|
1716
1716
|
}
|
|
1717
1717
|
F && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(F);
|
|
1718
1718
|
};
|
|
1719
|
-
return /* @__PURE__ */
|
|
1720
|
-
/* @__PURE__ */
|
|
1719
|
+
return /* @__PURE__ */ _("section", { className: N, style: { width: "100%" }, children: [
|
|
1720
|
+
/* @__PURE__ */ _(
|
|
1721
1721
|
"header",
|
|
1722
1722
|
{
|
|
1723
1723
|
style: {
|
|
@@ -1727,12 +1727,12 @@ function Qn({
|
|
|
1727
1727
|
columnGap: 12,
|
|
1728
1728
|
rowGap: 8,
|
|
1729
1729
|
marginBottom: 16,
|
|
1730
|
-
paddingLeft:
|
|
1731
|
-
paddingRight:
|
|
1730
|
+
paddingLeft: T ? s : 0,
|
|
1731
|
+
paddingRight: T ? s : 0
|
|
1732
1732
|
},
|
|
1733
1733
|
children: [
|
|
1734
1734
|
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
1735
|
-
/* @__PURE__ */
|
|
1735
|
+
/* @__PURE__ */ _("div", { style: { display: "flex", gap: 8 }, children: [
|
|
1736
1736
|
/* @__PURE__ */ t(
|
|
1737
1737
|
J,
|
|
1738
1738
|
{
|
|
@@ -1740,7 +1740,7 @@ function Qn({
|
|
|
1740
1740
|
variant: "secondary",
|
|
1741
1741
|
iconOnly: !0,
|
|
1742
1742
|
leftIcon: /* @__PURE__ */ t(Re, {}),
|
|
1743
|
-
onClick:
|
|
1743
|
+
onClick: b,
|
|
1744
1744
|
disabled: h.isStart || f
|
|
1745
1745
|
}
|
|
1746
1746
|
),
|
|
@@ -1751,12 +1751,12 @@ function Qn({
|
|
|
1751
1751
|
variant: "secondary",
|
|
1752
1752
|
iconOnly: !0,
|
|
1753
1753
|
rightIcon: /* @__PURE__ */ t(Le, {}),
|
|
1754
|
-
onClick:
|
|
1754
|
+
onClick: y,
|
|
1755
1755
|
disabled: h.isEnd || f
|
|
1756
1756
|
}
|
|
1757
1757
|
)
|
|
1758
1758
|
] }),
|
|
1759
|
-
/* @__PURE__ */ t(J, { variant: "secondary", onClick:
|
|
1759
|
+
/* @__PURE__ */ t(J, { variant: "secondary", onClick: C, children: "Ver más" })
|
|
1760
1760
|
]
|
|
1761
1761
|
}
|
|
1762
1762
|
),
|
|
@@ -1764,11 +1764,11 @@ function Qn({
|
|
|
1764
1764
|
he,
|
|
1765
1765
|
{
|
|
1766
1766
|
ref: d,
|
|
1767
|
-
items: f ?
|
|
1767
|
+
items: f ? Xn() : e,
|
|
1768
1768
|
perPage: void 0,
|
|
1769
1769
|
gap: "16px",
|
|
1770
1770
|
enableHorizontalWheel: !0,
|
|
1771
|
-
showRightGradient: !
|
|
1771
|
+
showRightGradient: !T,
|
|
1772
1772
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
1773
1773
|
breakpoints: {
|
|
1774
1774
|
768: { perPage: 2, focus: "start", padding: { left: s, right: s } },
|
|
@@ -1797,7 +1797,7 @@ function Qn({
|
|
|
1797
1797
|
textAlign: "center",
|
|
1798
1798
|
cursor: "pointer"
|
|
1799
1799
|
},
|
|
1800
|
-
onClick: () =>
|
|
1800
|
+
onClick: () => R(S),
|
|
1801
1801
|
children: /* @__PURE__ */ t(
|
|
1802
1802
|
"img",
|
|
1803
1803
|
{
|
|
@@ -1840,17 +1840,17 @@ function yt() {
|
|
|
1840
1840
|
const e = globalThis;
|
|
1841
1841
|
return e[Ne] || (e[Ne] = {}), e[Ne];
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1843
|
+
function Qn(e) {
|
|
1844
1844
|
yt().extras = e;
|
|
1845
1845
|
}
|
|
1846
1846
|
function le(e) {
|
|
1847
1847
|
var n;
|
|
1848
1848
|
return (n = yt().extras) == null ? void 0 : n[e];
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1850
|
+
function ea() {
|
|
1851
1851
|
delete globalThis[Ne];
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1853
|
+
function ta({
|
|
1854
1854
|
items: e,
|
|
1855
1855
|
title: n = "Top Juegos",
|
|
1856
1856
|
iconUrl: a,
|
|
@@ -1886,7 +1886,7 @@ function na({
|
|
|
1886
1886
|
f == null || f(u, !1, "CASINO");
|
|
1887
1887
|
});
|
|
1888
1888
|
};
|
|
1889
|
-
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */
|
|
1889
|
+
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1890
1890
|
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
1891
1891
|
/* @__PURE__ */ t(
|
|
1892
1892
|
z,
|
|
@@ -1902,9 +1902,9 @@ function na({
|
|
|
1902
1902
|
width: "100%"
|
|
1903
1903
|
},
|
|
1904
1904
|
children: g.map((u, c) => {
|
|
1905
|
-
var f,
|
|
1905
|
+
var f, b;
|
|
1906
1906
|
return /* @__PURE__ */ t(
|
|
1907
|
-
|
|
1907
|
+
wn,
|
|
1908
1908
|
{
|
|
1909
1909
|
imageUrl: h ? "" : u.background ? `https://olimpo.bet${u.background}` : `https://olimpo.bet${(f = u.logo) != null ? f : ""}`,
|
|
1910
1910
|
orden: h ? c + 1 : u.orden,
|
|
@@ -1913,15 +1913,15 @@ function na({
|
|
|
1913
1913
|
r == null || r(u), m(u);
|
|
1914
1914
|
}
|
|
1915
1915
|
},
|
|
1916
|
-
h ? `sk-${c}` : (
|
|
1916
|
+
h ? `sk-${c}` : (b = u.machine) != null ? b : `${c}`
|
|
1917
1917
|
);
|
|
1918
1918
|
})
|
|
1919
1919
|
}
|
|
1920
1920
|
)
|
|
1921
1921
|
] }) });
|
|
1922
1922
|
}
|
|
1923
|
-
const
|
|
1924
|
-
var a, r, i, l, s, d, h, g, m, u, c, f,
|
|
1923
|
+
const na = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", aa = (e, n) => {
|
|
1924
|
+
var a, r, i, l, s, d, h, g, m, u, c, f, b, y;
|
|
1925
1925
|
return {
|
|
1926
1926
|
orden: Number(n),
|
|
1927
1927
|
machine: String(
|
|
@@ -1938,18 +1938,18 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1938
1938
|
lobby_tag: (u = e.lobby_tag) != null ? u : null,
|
|
1939
1939
|
background: (c = e.background) != null ? c : "",
|
|
1940
1940
|
rtp: (f = e.rtp) != null ? f : null,
|
|
1941
|
-
demo_allowed: (
|
|
1942
|
-
gaming_session_required: (
|
|
1941
|
+
demo_allowed: (b = e.demo_allowed) != null ? b : !1,
|
|
1942
|
+
gaming_session_required: (y = e.gaming_session_required) != null ? y : !1
|
|
1943
1943
|
};
|
|
1944
|
-
},
|
|
1944
|
+
}, oa = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((n) => String(n)) : [] : [], ra = () => {
|
|
1945
1945
|
var n, a, r;
|
|
1946
1946
|
const e = le("user");
|
|
1947
1947
|
return (r = (a = (n = e == null ? void 0 : e.userId) != null ? n : e == null ? void 0 : e.user) != null ? a : e == null ? void 0 : e.id) != null ? r : null;
|
|
1948
1948
|
}, ia = async (e) => {
|
|
1949
|
-
const n =
|
|
1949
|
+
const n = ra(), a = new URLSearchParams({
|
|
1950
1950
|
userId: String(n),
|
|
1951
1951
|
productType: e
|
|
1952
|
-
}), r = `${
|
|
1952
|
+
}), r = `${na}?${a.toString()}`, i = await fetch(r);
|
|
1953
1953
|
if (!i.ok)
|
|
1954
1954
|
throw new Error(
|
|
1955
1955
|
`No se pudo obtener recomendaciones. HTTP ${i.status} ${i.statusText}`
|
|
@@ -1959,20 +1959,6 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1959
1959
|
...l,
|
|
1960
1960
|
recommendations: Array.isArray(l == null ? void 0 : l.recommendations) ? l.recommendations.slice(0, 49) : []
|
|
1961
1961
|
};
|
|
1962
|
-
}, la = async (e, n) => {
|
|
1963
|
-
const a = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", r = JSON.stringify({
|
|
1964
|
-
userId: String(e),
|
|
1965
|
-
items: n
|
|
1966
|
-
}), i = await fetch(a, {
|
|
1967
|
-
method: "POST",
|
|
1968
|
-
headers: {
|
|
1969
|
-
"Content-Type": "application/json"
|
|
1970
|
-
},
|
|
1971
|
-
body: r
|
|
1972
|
-
});
|
|
1973
|
-
if (!i.ok)
|
|
1974
|
-
throw new Error(`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`);
|
|
1975
|
-
return (await i.json()).rankedItems;
|
|
1976
1962
|
}, Ve = (e, n = !1, a = "Casino") => {
|
|
1977
1963
|
const [r, i] = Z([]), [l, s] = Z(!1);
|
|
1978
1964
|
return Q(() => {
|
|
@@ -1984,31 +1970,25 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1984
1970
|
}
|
|
1985
1971
|
s(!0);
|
|
1986
1972
|
try {
|
|
1987
|
-
const g = await ia(a), m =
|
|
1973
|
+
const g = await ia(a), m = oa(g);
|
|
1988
1974
|
if (!m.length) {
|
|
1989
1975
|
d || i([]);
|
|
1990
1976
|
return;
|
|
1991
1977
|
}
|
|
1992
|
-
const u =
|
|
1993
|
-
|
|
1994
|
-
const
|
|
1995
|
-
if (!
|
|
1996
|
-
throw new Error(`No se pudo obtener machine ${
|
|
1997
|
-
const
|
|
1998
|
-
return
|
|
1978
|
+
const u = await Promise.allSettled(
|
|
1979
|
+
m.map(async (f, b) => {
|
|
1980
|
+
const y = await fetch(`https://api.mktolimpo.com/api/machine/${f}`);
|
|
1981
|
+
if (!y.ok)
|
|
1982
|
+
throw new Error(`No se pudo obtener machine ${f}`);
|
|
1983
|
+
const C = await y.json();
|
|
1984
|
+
return aa(C, b);
|
|
1999
1985
|
})
|
|
2000
1986
|
);
|
|
2001
1987
|
if (d) return;
|
|
2002
|
-
const
|
|
2003
|
-
(
|
|
2004
|
-
).map((
|
|
2005
|
-
|
|
2006
|
-
return E ? { ...E, score: T.score } : null;
|
|
2007
|
-
}).filter(Boolean).sort((T, E) => {
|
|
2008
|
-
var b, A;
|
|
2009
|
-
return ((b = E.score) != null ? b : 0) - ((A = T.score) != null ? A : 0);
|
|
2010
|
-
});
|
|
2011
|
-
i(k);
|
|
1988
|
+
const c = u.filter(
|
|
1989
|
+
(f) => f.status === "fulfilled"
|
|
1990
|
+
).map((f) => f.value);
|
|
1991
|
+
i(c);
|
|
2012
1992
|
} catch (g) {
|
|
2013
1993
|
console.error(`[usePersonalizeGameItems:${a}] error:`, g), d || i([]);
|
|
2014
1994
|
} finally {
|
|
@@ -2021,10 +2001,10 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2021
2001
|
resolvedItems: r,
|
|
2022
2002
|
loading: l
|
|
2023
2003
|
};
|
|
2024
|
-
},
|
|
2004
|
+
}, la = (e, n = !1) => Ve(e, n, "Casino"), sa = (e, n = !1) => Ve(e, n, "Deportes virtuales"), ca = (e, n = !1) => Ve(e, n, "Casino en vivo"), da = (e, n) => {
|
|
2025
2005
|
var a, r;
|
|
2026
2006
|
return (r = (a = e.orden) != null ? a : e.machine) != null ? r : n;
|
|
2027
|
-
},
|
|
2007
|
+
}, ua = (e) => {
|
|
2028
2008
|
if (typeof e == "boolean") return e;
|
|
2029
2009
|
if (typeof e == "string")
|
|
2030
2010
|
return e.toLowerCase() === "true";
|
|
@@ -2034,7 +2014,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2034
2014
|
return e.value.toLowerCase() === "true";
|
|
2035
2015
|
}
|
|
2036
2016
|
return !1;
|
|
2037
|
-
},
|
|
2017
|
+
}, ma = ({
|
|
2038
2018
|
items: e,
|
|
2039
2019
|
title: n = "Casino en vivo",
|
|
2040
2020
|
subtitle: a = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
@@ -2045,41 +2025,41 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2045
2025
|
className: d,
|
|
2046
2026
|
isPersonalize: h = !1
|
|
2047
2027
|
}) => {
|
|
2048
|
-
const g = oe(), m = re(), u = se(), c =
|
|
2028
|
+
const g = oe(), m = re(), u = se(), c = ua(h), { resolvedItems: f, loading: b } = ca(
|
|
2049
2029
|
e,
|
|
2050
2030
|
c
|
|
2051
|
-
),
|
|
2031
|
+
), y = c ? f : Array.isArray(e) ? e : [], C = c ? b : !Array.isArray(e) || e.length === 0, N = (x) => {
|
|
2052
2032
|
g({
|
|
2053
2033
|
element: "live_casino_card",
|
|
2054
|
-
label: `${m} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(
|
|
2055
|
-
target: String(
|
|
2034
|
+
label: `${m} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(x.machine || "unknown")}`,
|
|
2035
|
+
target: String(x.machine || "unknown"),
|
|
2056
2036
|
event_type: "click",
|
|
2057
2037
|
module_id: u,
|
|
2058
2038
|
metadata: {
|
|
2059
2039
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2060
2040
|
},
|
|
2061
2041
|
tags: {
|
|
2062
|
-
game_name: String(
|
|
2063
|
-
provider:
|
|
2042
|
+
game_name: String(x.machine || "unknown"),
|
|
2043
|
+
provider: x.provider || "unknown",
|
|
2064
2044
|
section: "OraculoSeccionCasinoEnVivo"
|
|
2065
2045
|
}
|
|
2066
2046
|
});
|
|
2067
|
-
const
|
|
2047
|
+
const R = le("showIframe"), w = le("loadMachine");
|
|
2068
2048
|
if (!w) {
|
|
2069
2049
|
if (i) {
|
|
2070
|
-
i(
|
|
2050
|
+
i(x);
|
|
2071
2051
|
return;
|
|
2072
2052
|
}
|
|
2073
2053
|
console.warn(
|
|
2074
2054
|
"[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
|
|
2075
|
-
{ machine:
|
|
2055
|
+
{ machine: x == null ? void 0 : x.machine, provider: x == null ? void 0 : x.provider }
|
|
2076
2056
|
);
|
|
2077
2057
|
return;
|
|
2078
2058
|
}
|
|
2079
|
-
|
|
2080
|
-
w == null || w(
|
|
2059
|
+
R == null || R(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
|
|
2060
|
+
w == null || w(x, !1, "casino_en_vivo");
|
|
2081
2061
|
});
|
|
2082
|
-
},
|
|
2062
|
+
}, T = () => {
|
|
2083
2063
|
g({
|
|
2084
2064
|
element: "casino_en_vivo_view_more",
|
|
2085
2065
|
label: `${m} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Ver más`,
|
|
@@ -2092,7 +2072,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2092
2072
|
tags: { section: "OraculoSeccionCasinoEnVivo" }
|
|
2093
2073
|
}), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
|
|
2094
2074
|
};
|
|
2095
|
-
return /* @__PURE__ */
|
|
2075
|
+
return /* @__PURE__ */ _(
|
|
2096
2076
|
z,
|
|
2097
2077
|
{
|
|
2098
2078
|
className: d,
|
|
@@ -2130,7 +2110,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2130
2110
|
}
|
|
2131
2111
|
}
|
|
2132
2112
|
),
|
|
2133
|
-
/* @__PURE__ */
|
|
2113
|
+
/* @__PURE__ */ _(
|
|
2134
2114
|
z,
|
|
2135
2115
|
{
|
|
2136
2116
|
sx: {
|
|
@@ -2148,7 +2128,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2148
2128
|
textAlign: { xs: "center", md: "left" }
|
|
2149
2129
|
},
|
|
2150
2130
|
children: [
|
|
2151
|
-
/* @__PURE__ */
|
|
2131
|
+
/* @__PURE__ */ _(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
2152
2132
|
/* @__PURE__ */ t(
|
|
2153
2133
|
ue,
|
|
2154
2134
|
{
|
|
@@ -2179,7 +2159,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2179
2159
|
{
|
|
2180
2160
|
variant: "primary",
|
|
2181
2161
|
size: "md",
|
|
2182
|
-
onClick:
|
|
2162
|
+
onClick: T,
|
|
2183
2163
|
children: "Ver más"
|
|
2184
2164
|
}
|
|
2185
2165
|
) })
|
|
@@ -2195,18 +2175,18 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2195
2175
|
py: { xs: 3, md: 0 },
|
|
2196
2176
|
alignItems: "center"
|
|
2197
2177
|
},
|
|
2198
|
-
children:
|
|
2178
|
+
children: C ? Array.from({ length: 3 }).map((x, R) => /* @__PURE__ */ t(Je, { loading: !0, logo: "" }, `sk-${R}`)) : (y != null ? y : []).slice(0, 3).map((x, R) => {
|
|
2199
2179
|
var w;
|
|
2200
2180
|
return /* @__PURE__ */ t(
|
|
2201
2181
|
Je,
|
|
2202
2182
|
{
|
|
2203
|
-
logo: `https://olimpo.bet${
|
|
2204
|
-
provider:
|
|
2205
|
-
providerName:
|
|
2206
|
-
machine:
|
|
2207
|
-
onClick: () =>
|
|
2183
|
+
logo: `https://olimpo.bet${x.background ? x.background : (w = x.logo) != null ? w : ""}`,
|
|
2184
|
+
provider: x.provider,
|
|
2185
|
+
providerName: x.web_name,
|
|
2186
|
+
machine: x.machine,
|
|
2187
|
+
onClick: () => N(x)
|
|
2208
2188
|
},
|
|
2209
|
-
|
|
2189
|
+
da(x, R)
|
|
2210
2190
|
);
|
|
2211
2191
|
})
|
|
2212
2192
|
}
|
|
@@ -2216,7 +2196,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2216
2196
|
{
|
|
2217
2197
|
variant: "primary",
|
|
2218
2198
|
size: "lg",
|
|
2219
|
-
onClick:
|
|
2199
|
+
onClick: T,
|
|
2220
2200
|
children: "Ver más"
|
|
2221
2201
|
}
|
|
2222
2202
|
) })
|
|
@@ -2226,7 +2206,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2226
2206
|
]
|
|
2227
2207
|
}
|
|
2228
2208
|
);
|
|
2229
|
-
},
|
|
2209
|
+
}, pa = (e) => {
|
|
2230
2210
|
if (typeof e == "boolean") return e;
|
|
2231
2211
|
if (typeof e == "string")
|
|
2232
2212
|
return e.toLowerCase() === "true";
|
|
@@ -2236,14 +2216,14 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2236
2216
|
return e.value.toLowerCase() === "true";
|
|
2237
2217
|
}
|
|
2238
2218
|
return !1;
|
|
2239
|
-
},
|
|
2219
|
+
}, xt = (e, n) => {
|
|
2240
2220
|
var a, r;
|
|
2241
2221
|
return (r = (a = e.orden) != null ? a : e.machine) != null ? r : n;
|
|
2242
|
-
},
|
|
2222
|
+
}, fa = (e, n = !0, a = 1) => {
|
|
2243
2223
|
const r = e.map((s, d) => {
|
|
2244
2224
|
var h;
|
|
2245
2225
|
return {
|
|
2246
|
-
id:
|
|
2226
|
+
id: xt(s, d),
|
|
2247
2227
|
imageUrl: (h = s.logo) != null ? h : "",
|
|
2248
2228
|
...s.background ? { background: s.background } : {}
|
|
2249
2229
|
};
|
|
@@ -2268,7 +2248,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2268
2248
|
}), l = s;
|
|
2269
2249
|
}
|
|
2270
2250
|
return i;
|
|
2271
|
-
},
|
|
2251
|
+
}, ga = ({
|
|
2272
2252
|
items: e,
|
|
2273
2253
|
title: n = "Casino",
|
|
2274
2254
|
iconUrl: a = "/assets/img/home/Casino/diamante.svg",
|
|
@@ -2278,10 +2258,10 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2278
2258
|
gridSize: s = 1,
|
|
2279
2259
|
isPersonalize: d = !1
|
|
2280
2260
|
}) => {
|
|
2281
|
-
const h = oe(), g = re(), m = se(), u = U(null), [c, f] = Z({ isStart: !0, isEnd: !1 }),
|
|
2261
|
+
const h = oe(), g = re(), m = se(), u = U(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), b = pa(d), { resolvedItems: y, loading: C } = la(
|
|
2282
2262
|
e,
|
|
2283
|
-
|
|
2284
|
-
),
|
|
2263
|
+
b
|
|
2264
|
+
), N = b ? y : Array.isArray(e) ? e : [], T = () => {
|
|
2285
2265
|
var I;
|
|
2286
2266
|
h({
|
|
2287
2267
|
element: "casino_prev",
|
|
@@ -2294,7 +2274,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2294
2274
|
},
|
|
2295
2275
|
tags: { section: "OraculoSeccionCasino" }
|
|
2296
2276
|
}), (I = u.current) == null || I.prev();
|
|
2297
|
-
},
|
|
2277
|
+
}, x = () => {
|
|
2298
2278
|
var I;
|
|
2299
2279
|
h({
|
|
2300
2280
|
element: "casino_next",
|
|
@@ -2307,7 +2287,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2307
2287
|
},
|
|
2308
2288
|
tags: { section: "OraculoSeccionCasino" }
|
|
2309
2289
|
}), (I = u.current) == null || I.next();
|
|
2310
|
-
},
|
|
2290
|
+
}, R = () => {
|
|
2311
2291
|
if (h({
|
|
2312
2292
|
element: "casino_view_more",
|
|
2313
2293
|
label: `${g} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Ver más`,
|
|
@@ -2323,15 +2303,15 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2323
2303
|
return;
|
|
2324
2304
|
}
|
|
2325
2305
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
|
|
2326
|
-
}, w = (I = !0,
|
|
2327
|
-
const O = (M) => Array.from({ length: M }, (
|
|
2306
|
+
}, w = (I = !0, v = 4) => {
|
|
2307
|
+
const O = (M) => Array.from({ length: M }, (A, P) => ({
|
|
2328
2308
|
id: `sk-${M}-${P}`,
|
|
2329
2309
|
imageUrl: ""
|
|
2330
2310
|
})), q = [];
|
|
2331
|
-
return I && q.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), q.push({ id: "grid-loading", kind: "grid", items: O(
|
|
2332
|
-
}, S =
|
|
2333
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2334
|
-
/* @__PURE__ */
|
|
2311
|
+
return I && q.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), q.push({ id: "grid-loading", kind: "grid", items: O(v) }), q;
|
|
2312
|
+
}, S = b ? C : !Array.isArray(e) || e.length === 0, L = De("(max-width:950px)"), F = S ? w(l, s) : fa(N, l, s);
|
|
2313
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ _(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2314
|
+
/* @__PURE__ */ _(
|
|
2335
2315
|
z,
|
|
2336
2316
|
{
|
|
2337
2317
|
sx: {
|
|
@@ -2347,7 +2327,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2347
2327
|
},
|
|
2348
2328
|
children: [
|
|
2349
2329
|
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
2350
|
-
/* @__PURE__ */
|
|
2330
|
+
/* @__PURE__ */ _(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2351
2331
|
/* @__PURE__ */ t(
|
|
2352
2332
|
J,
|
|
2353
2333
|
{
|
|
@@ -2355,7 +2335,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2355
2335
|
variant: "secondary",
|
|
2356
2336
|
iconOnly: !0,
|
|
2357
2337
|
leftIcon: /* @__PURE__ */ t(ct, {}),
|
|
2358
|
-
onClick:
|
|
2338
|
+
onClick: T,
|
|
2359
2339
|
disabled: c.isStart
|
|
2360
2340
|
}
|
|
2361
2341
|
),
|
|
@@ -2366,12 +2346,12 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2366
2346
|
variant: "secondary",
|
|
2367
2347
|
iconOnly: !0,
|
|
2368
2348
|
rightIcon: /* @__PURE__ */ t(dt, {}),
|
|
2369
|
-
onClick:
|
|
2349
|
+
onClick: x,
|
|
2370
2350
|
disabled: c.isEnd
|
|
2371
2351
|
}
|
|
2372
2352
|
)
|
|
2373
2353
|
] }),
|
|
2374
|
-
/* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick:
|
|
2354
|
+
/* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: R, children: "Ver más" }) })
|
|
2375
2355
|
]
|
|
2376
2356
|
}
|
|
2377
2357
|
),
|
|
@@ -2408,10 +2388,10 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2408
2388
|
items: I.items,
|
|
2409
2389
|
layout: I.kind === "mosaic" ? "mosaic" : "grid",
|
|
2410
2390
|
loading: S,
|
|
2411
|
-
onClick: (
|
|
2391
|
+
onClick: (v) => {
|
|
2412
2392
|
if (S) return;
|
|
2413
|
-
const O =
|
|
2414
|
-
(
|
|
2393
|
+
const O = N.find(
|
|
2394
|
+
(A, P) => String(xt(A, P)) === String(v.id)
|
|
2415
2395
|
);
|
|
2416
2396
|
if (!O) return;
|
|
2417
2397
|
r == null || r(O), h({
|
|
@@ -2433,11 +2413,11 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2433
2413
|
}
|
|
2434
2414
|
}
|
|
2435
2415
|
) }),
|
|
2436
|
-
onMove: ({ isStart: I, isEnd:
|
|
2416
|
+
onMove: ({ isStart: I, isEnd: v }) => f({ isStart: I, isEnd: v })
|
|
2437
2417
|
}
|
|
2438
2418
|
)
|
|
2439
2419
|
] }) });
|
|
2440
|
-
},
|
|
2420
|
+
}, ha = (e) => {
|
|
2441
2421
|
if (typeof e == "boolean") return e;
|
|
2442
2422
|
if (typeof e == "string")
|
|
2443
2423
|
return e.toLowerCase() === "true";
|
|
@@ -2447,14 +2427,14 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2447
2427
|
return e.value.toLowerCase() === "true";
|
|
2448
2428
|
}
|
|
2449
2429
|
return !1;
|
|
2450
|
-
},
|
|
2430
|
+
}, St = (e, n) => {
|
|
2451
2431
|
var a, r;
|
|
2452
2432
|
return (r = (a = e.orden) != null ? a : e.machine) != null ? r : n;
|
|
2453
|
-
},
|
|
2433
|
+
}, ba = (e, n = !0, a = 1) => {
|
|
2454
2434
|
const r = e.map((s, d) => {
|
|
2455
2435
|
var h;
|
|
2456
2436
|
return {
|
|
2457
|
-
id:
|
|
2437
|
+
id: St(s, d),
|
|
2458
2438
|
imageUrl: (h = s.logo) != null ? h : "",
|
|
2459
2439
|
...s.background ? { background: s.background } : {}
|
|
2460
2440
|
};
|
|
@@ -2479,7 +2459,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2479
2459
|
}), l = s;
|
|
2480
2460
|
}
|
|
2481
2461
|
return i;
|
|
2482
|
-
},
|
|
2462
|
+
}, va = (e = !0, n = 4) => {
|
|
2483
2463
|
const a = (i) => Array.from({ length: i }, (l, s) => ({
|
|
2484
2464
|
id: `sk-${i}-${s}`,
|
|
2485
2465
|
imageUrl: ""
|
|
@@ -2493,7 +2473,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2493
2473
|
kind: "grid",
|
|
2494
2474
|
items: a(n)
|
|
2495
2475
|
}), r;
|
|
2496
|
-
},
|
|
2476
|
+
}, _a = ({
|
|
2497
2477
|
items: e,
|
|
2498
2478
|
title: n = "Virtuales",
|
|
2499
2479
|
iconUrl: a = "/assets/img/home/Virtuales/virtuales.svg",
|
|
@@ -2503,14 +2483,14 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2503
2483
|
gridSize: s = 1,
|
|
2504
2484
|
isPersonalize: d = !1
|
|
2505
2485
|
}) => {
|
|
2506
|
-
const h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), u = oe(), c = re(), f = se(),
|
|
2486
|
+
const h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), u = oe(), c = re(), f = se(), b = ha(d), { resolvedItems: y, loading: C } = sa(
|
|
2507
2487
|
e,
|
|
2508
|
-
|
|
2509
|
-
),
|
|
2488
|
+
b
|
|
2489
|
+
), N = b ? y : Array.isArray(e) ? e : [], T = () => {
|
|
2510
2490
|
var F;
|
|
2511
2491
|
u({
|
|
2512
2492
|
element: "virtuales_prev",
|
|
2513
|
-
label: `${c} - OraculoSeccionVirtuales${
|
|
2493
|
+
label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Anterior`,
|
|
2514
2494
|
target: "prev",
|
|
2515
2495
|
event_type: "click",
|
|
2516
2496
|
module_id: f,
|
|
@@ -2519,11 +2499,11 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2519
2499
|
},
|
|
2520
2500
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2521
2501
|
}), (F = h.current) == null || F.prev();
|
|
2522
|
-
},
|
|
2502
|
+
}, x = () => {
|
|
2523
2503
|
var F;
|
|
2524
2504
|
u({
|
|
2525
2505
|
element: "virtuales_next",
|
|
2526
|
-
label: `${c} - OraculoSeccionVirtuales${
|
|
2506
|
+
label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Siguiente`,
|
|
2527
2507
|
target: "next",
|
|
2528
2508
|
event_type: "click",
|
|
2529
2509
|
module_id: f,
|
|
@@ -2532,10 +2512,10 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2532
2512
|
},
|
|
2533
2513
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2534
2514
|
}), (F = h.current) == null || F.next();
|
|
2535
|
-
},
|
|
2515
|
+
}, R = () => {
|
|
2536
2516
|
if (u({
|
|
2537
2517
|
element: "virtuales_view_more",
|
|
2538
|
-
label: `${c} - OraculoSeccionVirtuales${
|
|
2518
|
+
label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Ver más`,
|
|
2539
2519
|
target: "https://www.olimpo.bet/juegos-virtuales",
|
|
2540
2520
|
event_type: "click",
|
|
2541
2521
|
module_id: f,
|
|
@@ -2548,9 +2528,9 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2548
2528
|
return;
|
|
2549
2529
|
}
|
|
2550
2530
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2551
|
-
}, w =
|
|
2552
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2553
|
-
/* @__PURE__ */
|
|
2531
|
+
}, w = b ? C : !Array.isArray(e) || e.length === 0, S = xe("(max-width:950px)"), L = w ? va(l, s) : ba(N, l, s);
|
|
2532
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ _(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2533
|
+
/* @__PURE__ */ _(
|
|
2554
2534
|
z,
|
|
2555
2535
|
{
|
|
2556
2536
|
sx: {
|
|
@@ -2566,7 +2546,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2566
2546
|
},
|
|
2567
2547
|
children: [
|
|
2568
2548
|
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
2569
|
-
/* @__PURE__ */
|
|
2549
|
+
/* @__PURE__ */ _(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2570
2550
|
/* @__PURE__ */ t(
|
|
2571
2551
|
J,
|
|
2572
2552
|
{
|
|
@@ -2574,7 +2554,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2574
2554
|
variant: "secondary",
|
|
2575
2555
|
iconOnly: !0,
|
|
2576
2556
|
leftIcon: /* @__PURE__ */ t(ct, {}),
|
|
2577
|
-
onClick:
|
|
2557
|
+
onClick: T,
|
|
2578
2558
|
disabled: g.isStart
|
|
2579
2559
|
}
|
|
2580
2560
|
),
|
|
@@ -2585,12 +2565,12 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2585
2565
|
variant: "secondary",
|
|
2586
2566
|
iconOnly: !0,
|
|
2587
2567
|
rightIcon: /* @__PURE__ */ t(dt, {}),
|
|
2588
|
-
onClick:
|
|
2568
|
+
onClick: x,
|
|
2589
2569
|
disabled: g.isEnd
|
|
2590
2570
|
}
|
|
2591
2571
|
)
|
|
2592
2572
|
] }),
|
|
2593
|
-
/* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick:
|
|
2573
|
+
/* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: R, children: "Ver más" }) })
|
|
2594
2574
|
]
|
|
2595
2575
|
}
|
|
2596
2576
|
),
|
|
@@ -2629,35 +2609,35 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2629
2609
|
loading: w,
|
|
2630
2610
|
onClick: (I) => {
|
|
2631
2611
|
if (w) return;
|
|
2632
|
-
const
|
|
2633
|
-
(M,
|
|
2612
|
+
const v = N.find(
|
|
2613
|
+
(M, A) => String(St(M, A)) === String(I.id)
|
|
2634
2614
|
);
|
|
2635
|
-
if (!
|
|
2615
|
+
if (!v) {
|
|
2636
2616
|
console.warn(
|
|
2637
2617
|
"[virtuales] no se encontró game para id:",
|
|
2638
2618
|
I.id
|
|
2639
2619
|
);
|
|
2640
2620
|
return;
|
|
2641
2621
|
}
|
|
2642
|
-
r == null || r(
|
|
2622
|
+
r == null || r(v), u({
|
|
2643
2623
|
element: "virtuales_game_card",
|
|
2644
|
-
label: `${c} - OraculoSeccionVirtuales${
|
|
2645
|
-
target: String(
|
|
2624
|
+
label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Game: ${String(v.machine || "unknown")}`,
|
|
2625
|
+
target: String(v.machine || "unknown"),
|
|
2646
2626
|
event_type: "click",
|
|
2647
2627
|
module_id: f,
|
|
2648
2628
|
metadata: {
|
|
2649
2629
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2650
2630
|
},
|
|
2651
2631
|
tags: {
|
|
2652
|
-
game_name: String(
|
|
2632
|
+
game_name: String(v.machine || "unknown"),
|
|
2653
2633
|
section: n || "Virtuales"
|
|
2654
2634
|
}
|
|
2655
2635
|
});
|
|
2656
2636
|
const O = le("showIframe"), q = le("loadMachine");
|
|
2657
2637
|
O == null || O(), q == null || q(
|
|
2658
|
-
|
|
2638
|
+
v,
|
|
2659
2639
|
!1,
|
|
2660
|
-
|
|
2640
|
+
b ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
|
|
2661
2641
|
);
|
|
2662
2642
|
}
|
|
2663
2643
|
}
|
|
@@ -2666,7 +2646,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2666
2646
|
}
|
|
2667
2647
|
)
|
|
2668
2648
|
] }) });
|
|
2669
|
-
},
|
|
2649
|
+
}, ya = (e) => ({
|
|
2670
2650
|
position: "relative",
|
|
2671
2651
|
py: 8,
|
|
2672
2652
|
color: "#fff",
|
|
@@ -2698,33 +2678,33 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2698
2678
|
0 0 6px rgba(255, 255, 255, .6),
|
|
2699
2679
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
2700
2680
|
`
|
|
2701
|
-
},
|
|
2681
|
+
}, xa = ({
|
|
2702
2682
|
headline: e,
|
|
2703
2683
|
headline2: n,
|
|
2704
2684
|
items: a,
|
|
2705
2685
|
backgroundImageUrl: r
|
|
2706
2686
|
}) => {
|
|
2707
|
-
const i = oe(), l = re(), s = xe("(max-width: 767px)"), d = a.length > 1, h = U(null), g = U(null), m = U(!1), u = U(!1), [c, f] = Z(0), [
|
|
2687
|
+
const i = oe(), l = re(), s = xe("(max-width: 767px)"), d = a.length > 1, h = U(null), g = U(null), m = U(!1), u = U(!1), [c, f] = Z(0), [b, y] = Z({ isStart: !0, isEnd: !1 });
|
|
2708
2688
|
Q(() => {
|
|
2709
|
-
const
|
|
2689
|
+
const v = setTimeout(() => {
|
|
2710
2690
|
m.current = !0;
|
|
2711
2691
|
}, 500);
|
|
2712
|
-
return () => clearTimeout(
|
|
2692
|
+
return () => clearTimeout(v);
|
|
2713
2693
|
}, []);
|
|
2714
|
-
const
|
|
2694
|
+
const C = U(b);
|
|
2715
2695
|
Q(() => {
|
|
2716
|
-
|
|
2717
|
-
}, [
|
|
2718
|
-
const
|
|
2696
|
+
C.current = b;
|
|
2697
|
+
}, [b]);
|
|
2698
|
+
const N = U(!1), T = U(null), x = a == null ? void 0 : a[c], R = ie(
|
|
2719
2699
|
() => {
|
|
2720
|
-
var
|
|
2721
|
-
return (O = (
|
|
2700
|
+
var v, O;
|
|
2701
|
+
return (O = (v = x == null ? void 0 : x.backgroundImageUrl) != null ? v : r) != null ? O : "";
|
|
2722
2702
|
},
|
|
2723
|
-
[
|
|
2724
|
-
), w =
|
|
2703
|
+
[x, r]
|
|
2704
|
+
), w = ya(R), S = !a || a.length === 0, L = (v, O) => {
|
|
2725
2705
|
i({
|
|
2726
2706
|
element: "welcome_banner_button",
|
|
2727
|
-
label: `OraculoSeccionBonoBienvenida - Banner button click: ${
|
|
2707
|
+
label: `OraculoSeccionBonoBienvenida - Banner button click: ${v.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
|
|
2728
2708
|
target: "action",
|
|
2729
2709
|
event_type: "click",
|
|
2730
2710
|
module_id: 301,
|
|
@@ -2734,56 +2714,56 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2734
2714
|
banner_total: (a == null ? void 0 : a.length) || 0
|
|
2735
2715
|
},
|
|
2736
2716
|
tags: {
|
|
2737
|
-
banner_title:
|
|
2738
|
-
button_text:
|
|
2717
|
+
banner_title: v.title || "no_title",
|
|
2718
|
+
button_text: v.buttonText || "no_text"
|
|
2739
2719
|
}
|
|
2740
|
-
}),
|
|
2741
|
-
}, F = (
|
|
2720
|
+
}), v.onButtonClick && v.onButtonClick();
|
|
2721
|
+
}, F = (v) => {
|
|
2742
2722
|
if (!m.current) return;
|
|
2743
2723
|
if (u.current) {
|
|
2744
2724
|
u.current = !1;
|
|
2745
2725
|
return;
|
|
2746
2726
|
}
|
|
2747
|
-
const O = a == null ? void 0 : a[
|
|
2727
|
+
const O = a == null ? void 0 : a[v];
|
|
2748
2728
|
i({
|
|
2749
2729
|
element: "welcome_banner_carousel",
|
|
2750
|
-
label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (
|
|
2730
|
+
label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (v + 1)}`,
|
|
2751
2731
|
target: "no_url",
|
|
2752
2732
|
event_type: "view",
|
|
2753
2733
|
module_id: 301,
|
|
2754
2734
|
metadata: {
|
|
2755
2735
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2756
|
-
slide_index:
|
|
2736
|
+
slide_index: v + 1,
|
|
2757
2737
|
total_slides: (a == null ? void 0 : a.length) || 0,
|
|
2758
2738
|
interaction_type: "manual_slide"
|
|
2759
2739
|
},
|
|
2760
2740
|
tags: {
|
|
2761
|
-
banner_position: String(
|
|
2741
|
+
banner_position: String(v + 1),
|
|
2762
2742
|
banner_title: (O == null ? void 0 : O.title) || "no_title"
|
|
2763
2743
|
}
|
|
2764
2744
|
});
|
|
2765
2745
|
};
|
|
2766
2746
|
Q(() => {
|
|
2767
|
-
const
|
|
2768
|
-
if (!
|
|
2769
|
-
const O = 6, q = 380, M = (
|
|
2747
|
+
const v = g.current;
|
|
2748
|
+
if (!v) return;
|
|
2749
|
+
const O = 6, q = 380, M = (A) => {
|
|
2770
2750
|
var K, j;
|
|
2771
|
-
if (S ||
|
|
2772
|
-
const P =
|
|
2751
|
+
if (S || A.ctrlKey || N.current) return;
|
|
2752
|
+
const P = A.deltaX, V = A.deltaY;
|
|
2773
2753
|
if (Math.abs(P) <= Math.abs(V) || Math.abs(P) < O) return;
|
|
2774
2754
|
const G = P > 0;
|
|
2775
|
-
G &&
|
|
2776
|
-
|
|
2755
|
+
G && C.current.isEnd || !G && C.current.isStart || (A.preventDefault(), N.current = !0, G ? (K = h.current) == null || K.next() : (j = h.current) == null || j.prev(), T.current && window.clearTimeout(T.current), T.current = window.setTimeout(() => {
|
|
2756
|
+
N.current = !1;
|
|
2777
2757
|
}, q));
|
|
2778
2758
|
};
|
|
2779
|
-
return
|
|
2780
|
-
|
|
2759
|
+
return v.addEventListener("wheel", M, { passive: !1 }), () => {
|
|
2760
|
+
v.removeEventListener("wheel", M), T.current && window.clearTimeout(T.current);
|
|
2781
2761
|
};
|
|
2782
2762
|
}, [S]);
|
|
2783
|
-
const I = (
|
|
2763
|
+
const I = (v, O, q) => {
|
|
2784
2764
|
var P, V;
|
|
2785
|
-
const M = (P =
|
|
2786
|
-
return O ? /* @__PURE__ */
|
|
2765
|
+
const M = (P = v.headline) != null ? P : e, A = (V = v.headline2) != null ? V : n;
|
|
2766
|
+
return O ? /* @__PURE__ */ _(
|
|
2787
2767
|
z,
|
|
2788
2768
|
{
|
|
2789
2769
|
sx: {
|
|
@@ -2796,7 +2776,7 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2796
2776
|
columnGap: 6
|
|
2797
2777
|
},
|
|
2798
2778
|
children: [
|
|
2799
|
-
(M ||
|
|
2779
|
+
(M || A) && /* @__PURE__ */ t(
|
|
2800
2780
|
z,
|
|
2801
2781
|
{
|
|
2802
2782
|
sx: {
|
|
@@ -2805,11 +2785,11 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2805
2785
|
justifyContent: "flex-start",
|
|
2806
2786
|
minHeight: "100%"
|
|
2807
2787
|
},
|
|
2808
|
-
children: /* @__PURE__ */
|
|
2788
|
+
children: /* @__PURE__ */ _(z, { sx: { ...et, textAlign: "left", mb: 0 }, children: [
|
|
2809
2789
|
M && /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: M }),
|
|
2810
|
-
|
|
2790
|
+
A && /* @__PURE__ */ _(pe, { children: [
|
|
2811
2791
|
/* @__PURE__ */ t("br", {}),
|
|
2812
|
-
/* @__PURE__ */ t(ue, { component: "span", sx: nt, children:
|
|
2792
|
+
/* @__PURE__ */ t(ue, { component: "span", sx: nt, children: A })
|
|
2813
2793
|
] })
|
|
2814
2794
|
] })
|
|
2815
2795
|
}
|
|
@@ -2817,32 +2797,32 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2817
2797
|
/* @__PURE__ */ t(z, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(z, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
|
|
2818
2798
|
Xe,
|
|
2819
2799
|
{
|
|
2820
|
-
...
|
|
2821
|
-
onButtonClick: () => L(
|
|
2800
|
+
...v,
|
|
2801
|
+
onButtonClick: () => L(v, q),
|
|
2822
2802
|
variant: "large"
|
|
2823
2803
|
}
|
|
2824
2804
|
) }) })
|
|
2825
2805
|
]
|
|
2826
2806
|
}
|
|
2827
|
-
) : /* @__PURE__ */
|
|
2828
|
-
(M ||
|
|
2807
|
+
) : /* @__PURE__ */ _(z, { sx: { textAlign: "center" }, children: [
|
|
2808
|
+
(M || A) && /* @__PURE__ */ _(z, { sx: et, children: [
|
|
2829
2809
|
M && /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: M }),
|
|
2830
|
-
|
|
2810
|
+
A && /* @__PURE__ */ _(pe, { children: [
|
|
2831
2811
|
/* @__PURE__ */ t("br", {}),
|
|
2832
|
-
/* @__PURE__ */ t(ue, { component: "span", sx: nt, children:
|
|
2812
|
+
/* @__PURE__ */ t(ue, { component: "span", sx: nt, children: A })
|
|
2833
2813
|
] })
|
|
2834
2814
|
] }),
|
|
2835
2815
|
/* @__PURE__ */ t(z, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
2836
2816
|
Xe,
|
|
2837
2817
|
{
|
|
2838
|
-
...
|
|
2839
|
-
onButtonClick: () => L(
|
|
2818
|
+
...v,
|
|
2819
|
+
onButtonClick: () => L(v, q),
|
|
2840
2820
|
variant: "small"
|
|
2841
2821
|
}
|
|
2842
2822
|
) })
|
|
2843
2823
|
] });
|
|
2844
2824
|
};
|
|
2845
|
-
return /* @__PURE__ */
|
|
2825
|
+
return /* @__PURE__ */ _(z, { component: "section", sx: w, children: [
|
|
2846
2826
|
/* @__PURE__ */ t("div", { ref: g, style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
2847
2827
|
he,
|
|
2848
2828
|
{
|
|
@@ -2860,9 +2840,9 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2860
2840
|
// arrows: false,
|
|
2861
2841
|
// drag: true,
|
|
2862
2842
|
},
|
|
2863
|
-
renderItem: (
|
|
2864
|
-
onMove: ({ index:
|
|
2865
|
-
f(
|
|
2843
|
+
renderItem: (v, O) => /* @__PURE__ */ t(z, { sx: { width: "100%" }, children: I(v, !s, O) }),
|
|
2844
|
+
onMove: ({ index: v, isStart: O, isEnd: q, source: M }) => {
|
|
2845
|
+
f(v), typeof O == "boolean" && typeof q == "boolean" && y({ isStart: O, isEnd: q }), M === "user" && F(v);
|
|
2866
2846
|
}
|
|
2867
2847
|
}
|
|
2868
2848
|
) }),
|
|
@@ -2871,28 +2851,28 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2871
2851
|
{
|
|
2872
2852
|
total: a.length,
|
|
2873
2853
|
active: c,
|
|
2874
|
-
onSelect: (
|
|
2854
|
+
onSelect: (v) => {
|
|
2875
2855
|
var O;
|
|
2876
2856
|
i({
|
|
2877
2857
|
element: "welcome_banner_dots",
|
|
2878
|
-
label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${
|
|
2858
|
+
label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${v + 1}`,
|
|
2879
2859
|
target: "no_url",
|
|
2880
2860
|
event_type: "click",
|
|
2881
2861
|
module_id: 301,
|
|
2882
2862
|
metadata: {
|
|
2883
2863
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2884
|
-
dot_index:
|
|
2864
|
+
dot_index: v + 1,
|
|
2885
2865
|
total_dots: a.length
|
|
2886
2866
|
},
|
|
2887
2867
|
tags: {
|
|
2888
2868
|
navigation_type: "dot_click"
|
|
2889
2869
|
}
|
|
2890
|
-
}), f(
|
|
2870
|
+
}), f(v), (O = h.current) == null || O.go(v);
|
|
2891
2871
|
}
|
|
2892
2872
|
}
|
|
2893
2873
|
) })
|
|
2894
2874
|
] });
|
|
2895
|
-
},
|
|
2875
|
+
}, Sa = ({
|
|
2896
2876
|
className: e = "",
|
|
2897
2877
|
fullBleed: n = !0,
|
|
2898
2878
|
items: a,
|
|
@@ -2903,15 +2883,15 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2903
2883
|
const s = U(null), d = U(null), h = oe(), g = re(), m = se();
|
|
2904
2884
|
if (!a) return null;
|
|
2905
2885
|
const u = async () => {
|
|
2906
|
-
let
|
|
2907
|
-
if ((!(
|
|
2886
|
+
let y = l;
|
|
2887
|
+
if ((!(y != null && y.user) || !(y != null && y.session)) && typeof window != "undefined")
|
|
2908
2888
|
try {
|
|
2909
|
-
const
|
|
2910
|
-
|
|
2911
|
-
} catch (
|
|
2912
|
-
console.error("[getMarketPlaceUrl] Error parsing localStorage user",
|
|
2889
|
+
const C = localStorage.getItem("user");
|
|
2890
|
+
C && (y = JSON.parse(C));
|
|
2891
|
+
} catch (C) {
|
|
2892
|
+
console.error("[getMarketPlaceUrl] Error parsing localStorage user", C);
|
|
2913
2893
|
}
|
|
2914
|
-
if (!(
|
|
2894
|
+
if (!(y != null && y.user) || !(y != null && y.session))
|
|
2915
2895
|
return console.warn("User data missing"), null;
|
|
2916
2896
|
h({
|
|
2917
2897
|
element: "club_olimpo_button",
|
|
@@ -2925,40 +2905,40 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2925
2905
|
tags: { section: "OraculoSeccionClubOlimpo" }
|
|
2926
2906
|
});
|
|
2927
2907
|
try {
|
|
2928
|
-
const
|
|
2929
|
-
idUsuario: "PE" +
|
|
2930
|
-
session_id:
|
|
2908
|
+
const C = {
|
|
2909
|
+
idUsuario: "PE" + y.user,
|
|
2910
|
+
session_id: y.session,
|
|
2931
2911
|
pagina: "home"
|
|
2932
|
-
},
|
|
2912
|
+
}, T = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
|
|
2933
2913
|
method: "POST",
|
|
2934
2914
|
headers: {
|
|
2935
2915
|
"Content-Type": "application/json"
|
|
2936
2916
|
},
|
|
2937
|
-
body: JSON.stringify(
|
|
2917
|
+
body: JSON.stringify(C)
|
|
2938
2918
|
});
|
|
2939
|
-
if (
|
|
2940
|
-
const
|
|
2941
|
-
return
|
|
2919
|
+
if (T.ok) {
|
|
2920
|
+
const x = await T.json();
|
|
2921
|
+
return x == null ? void 0 : x.url;
|
|
2942
2922
|
}
|
|
2943
2923
|
return null;
|
|
2944
|
-
} catch (
|
|
2945
|
-
return console.error("[getMarketPlaceUrl]",
|
|
2924
|
+
} catch (C) {
|
|
2925
|
+
return console.error("[getMarketPlaceUrl]", C), null;
|
|
2946
2926
|
}
|
|
2947
2927
|
}, c = async () => {
|
|
2948
|
-
const
|
|
2949
|
-
|
|
2928
|
+
const y = await u();
|
|
2929
|
+
y ? window.location.href = y : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
2950
2930
|
}, f = Array.isArray(a) ? a[r] : a;
|
|
2951
|
-
|
|
2931
|
+
At(() => {
|
|
2952
2932
|
if (!s.current || !d.current || typeof ResizeObserver == "undefined") return;
|
|
2953
|
-
const
|
|
2954
|
-
|
|
2933
|
+
const y = s.current, C = d.current, N = () => {
|
|
2934
|
+
y.style.setProperty(
|
|
2955
2935
|
"--orc-co-bottomH",
|
|
2956
|
-
`${
|
|
2936
|
+
`${C.offsetHeight + 16}px`
|
|
2957
2937
|
);
|
|
2958
|
-
},
|
|
2959
|
-
return
|
|
2938
|
+
}, T = new ResizeObserver(N);
|
|
2939
|
+
return T.observe(C), N(), () => T.disconnect();
|
|
2960
2940
|
}, []);
|
|
2961
|
-
const
|
|
2941
|
+
const b = [
|
|
2962
2942
|
"orc-co-wrap",
|
|
2963
2943
|
n ? "orc-co-fullBleed" : "",
|
|
2964
2944
|
e
|
|
@@ -2967,10 +2947,10 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2967
2947
|
"section",
|
|
2968
2948
|
{
|
|
2969
2949
|
ref: s,
|
|
2970
|
-
className:
|
|
2950
|
+
className: b,
|
|
2971
2951
|
"aria-label": i || f.imgAlt || "Club Olimpo",
|
|
2972
2952
|
children: /* @__PURE__ */ t("div", { ref: d, children: /* @__PURE__ */ t(
|
|
2973
|
-
|
|
2953
|
+
In,
|
|
2974
2954
|
{
|
|
2975
2955
|
text: f.text,
|
|
2976
2956
|
onClick: c,
|
|
@@ -2983,23 +2963,23 @@ const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2983
2963
|
) })
|
|
2984
2964
|
}
|
|
2985
2965
|
);
|
|
2986
|
-
},
|
|
2987
|
-
controls:
|
|
2988
|
-
padding:
|
|
2989
|
-
},
|
|
2966
|
+
}, wa = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Ia = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
|
|
2967
|
+
controls: wa,
|
|
2968
|
+
padding: Ia
|
|
2969
|
+
}, Oa = (e) => {
|
|
2990
2970
|
var n, a;
|
|
2991
2971
|
return (n = e.outcome) != null && n.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((a = e.group) != null && a.groups) ? e.group.groups.flatMap((r) => {
|
|
2992
2972
|
var i, l;
|
|
2993
2973
|
return (l = (i = r.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? l : [];
|
|
2994
2974
|
}) : [];
|
|
2995
2975
|
};
|
|
2996
|
-
function
|
|
2976
|
+
function Ea(e, n, a) {
|
|
2997
2977
|
return a ? a.map((r) => {
|
|
2998
2978
|
var m, u;
|
|
2999
|
-
const i = r.prePackCouponRows.flatMap((c) =>
|
|
2979
|
+
const i = r.prePackCouponRows.flatMap((c) => Oa(c).map((f) => ({ eventId: c.eventId, outcomeId: f }))), l = new Set(i.map((c) => c.eventId)), s = new Set(i.map((c) => c.outcomeId)), d = new Map(i.map((c, f) => [c.outcomeId, f])), h = {};
|
|
3000
2980
|
for (const c of n) {
|
|
3001
2981
|
if (!l.has(c.eventId)) continue;
|
|
3002
|
-
const f = c.outcomes.filter((
|
|
2982
|
+
const f = c.outcomes.filter((b) => s.has(b.id)).map((b) => ({ ...b, position: d.get(b.id) }));
|
|
3003
2983
|
f.length && ((u = h[m = c.eventId]) != null || (h[m] = []), h[c.eventId].push({ ...c, outcomes: f }));
|
|
3004
2984
|
}
|
|
3005
2985
|
const g = e.filter((c) => l.has(c.id)).map((c) => {
|
|
@@ -3009,12 +2989,12 @@ function Ca(e, n, a) {
|
|
|
3009
2989
|
return {
|
|
3010
2990
|
couponId: r.id,
|
|
3011
2991
|
status: r.status,
|
|
3012
|
-
combinadoTotal:
|
|
2992
|
+
combinadoTotal: Ca(r.prePackCouponRows),
|
|
3013
2993
|
events: g
|
|
3014
2994
|
};
|
|
3015
2995
|
}) : [];
|
|
3016
2996
|
}
|
|
3017
|
-
function
|
|
2997
|
+
function Ca(e) {
|
|
3018
2998
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
3019
2999
|
let n = 1;
|
|
3020
3000
|
for (const a of e) {
|
|
@@ -3023,15 +3003,15 @@ function ka(e) {
|
|
|
3023
3003
|
}
|
|
3024
3004
|
return Math.floor(n * 100) / 100;
|
|
3025
3005
|
}
|
|
3026
|
-
const
|
|
3027
|
-
function
|
|
3006
|
+
const ka = fe.memo(Fn);
|
|
3007
|
+
function Ta({
|
|
3028
3008
|
items: e,
|
|
3029
3009
|
title: n = "Combinadas del Olimpo",
|
|
3030
3010
|
iconUrl: a = "https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",
|
|
3031
3011
|
onViewMore: r,
|
|
3032
3012
|
className: i = ""
|
|
3033
3013
|
}) {
|
|
3034
|
-
const l = oe(), s = re(), d = se(), h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), [u, c] = Z([]), 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",
|
|
3014
|
+
const l = oe(), s = re(), d = se(), h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), [u, c] = Z([]), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", b = () => {
|
|
3035
3015
|
var w;
|
|
3036
3016
|
l({
|
|
3037
3017
|
element: "evento_combinadas_prev",
|
|
@@ -3043,7 +3023,7 @@ function $a({
|
|
|
3043
3023
|
},
|
|
3044
3024
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3045
3025
|
}), (w = h.current) == null || w.prev();
|
|
3046
|
-
},
|
|
3026
|
+
}, y = () => {
|
|
3047
3027
|
var w;
|
|
3048
3028
|
l({
|
|
3049
3029
|
element: "evento_combinadas_next",
|
|
@@ -3055,7 +3035,7 @@ function $a({
|
|
|
3055
3035
|
},
|
|
3056
3036
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3057
3037
|
}), (w = h.current) == null || w.next();
|
|
3058
|
-
},
|
|
3038
|
+
}, C = () => {
|
|
3059
3039
|
l({
|
|
3060
3040
|
element: "evento_combinadas_ver_mas",
|
|
3061
3041
|
label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
|
|
@@ -3065,36 +3045,36 @@ function $a({
|
|
|
3065
3045
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3066
3046
|
},
|
|
3067
3047
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3068
|
-
}),
|
|
3069
|
-
},
|
|
3070
|
-
async function
|
|
3048
|
+
}), Ln();
|
|
3049
|
+
}, N = ie(() => u.filter((w) => w.combinadoTotal !== null), [u]);
|
|
3050
|
+
async function T() {
|
|
3071
3051
|
var w, S, L, F;
|
|
3072
3052
|
try {
|
|
3073
|
-
const
|
|
3053
|
+
const v = await (await fetch(f)).json(), O = (F = (L = (S = (w = v == null ? void 0 : v.group) == null ? void 0 : w.groups) == null ? void 0 : S.map((P) => P.id)) == null ? void 0 : L.filter(Boolean)) == null ? void 0 : F.join(",");
|
|
3074
3054
|
if (!O) {
|
|
3075
3055
|
console.error("Could not extract group ID");
|
|
3076
3056
|
return;
|
|
3077
3057
|
}
|
|
3078
|
-
const q = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`,
|
|
3079
|
-
c(
|
|
3058
|
+
const q = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, A = await (await fetch(q)).json();
|
|
3059
|
+
c(Ea(A.events, A.betOffers, A.prePackCoupons));
|
|
3080
3060
|
} catch (I) {
|
|
3081
3061
|
console.error("loadDataEventSpecial error:", I);
|
|
3082
3062
|
}
|
|
3083
3063
|
}
|
|
3084
3064
|
Q(() => {
|
|
3085
|
-
|
|
3065
|
+
T();
|
|
3086
3066
|
}, []);
|
|
3087
|
-
const
|
|
3088
|
-
return
|
|
3067
|
+
const x = i || void 0, R = xe("(max-width:950px)");
|
|
3068
|
+
return N.length === 0 ? null : /* @__PURE__ */ t("section", { className: x, style: {
|
|
3089
3069
|
// paddingLeft: 16,
|
|
3090
3070
|
// paddingRight: 16,
|
|
3091
3071
|
width: "100%",
|
|
3092
3072
|
boxSizing: "border-box"
|
|
3093
|
-
}, children: /* @__PURE__ */
|
|
3094
|
-
/* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */
|
|
3073
|
+
}, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3074
|
+
/* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3095
3075
|
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
3096
|
-
/* @__PURE__ */
|
|
3097
|
-
/* @__PURE__ */
|
|
3076
|
+
/* @__PURE__ */ _("div", { className: at.controls, children: [
|
|
3077
|
+
/* @__PURE__ */ _(me, { spacing: 1, columns: "auto auto", children: [
|
|
3098
3078
|
/* @__PURE__ */ t(
|
|
3099
3079
|
J,
|
|
3100
3080
|
{
|
|
@@ -3102,7 +3082,7 @@ function $a({
|
|
|
3102
3082
|
variant: "secondary",
|
|
3103
3083
|
iconOnly: !0,
|
|
3104
3084
|
leftIcon: /* @__PURE__ */ t(Re, {}),
|
|
3105
|
-
onClick:
|
|
3085
|
+
onClick: b,
|
|
3106
3086
|
disabled: g.isStart
|
|
3107
3087
|
}
|
|
3108
3088
|
),
|
|
@@ -3113,60 +3093,60 @@ function $a({
|
|
|
3113
3093
|
variant: "secondary",
|
|
3114
3094
|
iconOnly: !0,
|
|
3115
3095
|
rightIcon: /* @__PURE__ */ t(Le, {}),
|
|
3116
|
-
onClick:
|
|
3096
|
+
onClick: y,
|
|
3117
3097
|
disabled: g.isEnd
|
|
3118
3098
|
}
|
|
3119
3099
|
)
|
|
3120
3100
|
] }),
|
|
3121
|
-
/* @__PURE__ */ t(J, { variant: "secondary", onClick:
|
|
3101
|
+
/* @__PURE__ */ t(J, { variant: "secondary", onClick: C, children: "Ver más" })
|
|
3122
3102
|
] })
|
|
3123
3103
|
] }) }),
|
|
3124
3104
|
/* @__PURE__ */ t(
|
|
3125
3105
|
he,
|
|
3126
3106
|
{
|
|
3127
3107
|
ref: h,
|
|
3128
|
-
items:
|
|
3108
|
+
items: N,
|
|
3129
3109
|
perPage: void 0,
|
|
3130
3110
|
gap: "16px",
|
|
3131
3111
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
3132
3112
|
useIndexAsKey: !0,
|
|
3133
3113
|
enableHorizontalWheel: !0,
|
|
3134
|
-
showRightGradient: !
|
|
3114
|
+
showRightGradient: !R,
|
|
3135
3115
|
breakpoints: {
|
|
3136
3116
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3137
3117
|
},
|
|
3138
|
-
renderItem: (w) => /* @__PURE__ */ t(
|
|
3118
|
+
renderItem: (w) => /* @__PURE__ */ t(ka, { coupon: w }),
|
|
3139
3119
|
onMove: ({ isStart: w, isEnd: S }) => m({ isStart: w, isEnd: S })
|
|
3140
3120
|
}
|
|
3141
3121
|
)
|
|
3142
3122
|
] }) });
|
|
3143
3123
|
}
|
|
3144
|
-
function
|
|
3124
|
+
function $a({}) {
|
|
3145
3125
|
return /* @__PURE__ */ t(
|
|
3146
3126
|
"div",
|
|
3147
3127
|
{
|
|
3148
3128
|
className: $e.cardWrapper,
|
|
3149
|
-
children: /* @__PURE__ */
|
|
3150
|
-
/* @__PURE__ */
|
|
3129
|
+
children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1, children: [
|
|
3130
|
+
/* @__PURE__ */ _(H, { spacing: 1, direction: "row", children: [
|
|
3151
3131
|
/* @__PURE__ */ t(W, { variant: "text", width: "60%", height: 24 }),
|
|
3152
3132
|
/* @__PURE__ */ t(W, { variant: "text", width: "39%", height: 24 })
|
|
3153
3133
|
] }),
|
|
3154
|
-
/* @__PURE__ */
|
|
3134
|
+
/* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3155
3135
|
/* @__PURE__ */ t(W, { variant: "circular", width: 32, height: 40 }),
|
|
3156
3136
|
/* @__PURE__ */ t(W, { variant: "text", width: 40, height: 40 }),
|
|
3157
3137
|
/* @__PURE__ */ t(W, { variant: "circular", width: 32, height: 40 })
|
|
3158
3138
|
] }),
|
|
3159
|
-
/* @__PURE__ */
|
|
3139
|
+
/* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3160
3140
|
/* @__PURE__ */ t(W, { variant: "text", width: 32, height: 16 }),
|
|
3161
3141
|
/* @__PURE__ */ t(W, { variant: "text", width: 40, height: 16 }),
|
|
3162
3142
|
/* @__PURE__ */ t(W, { variant: "text", width: 32, height: 16 })
|
|
3163
3143
|
] }),
|
|
3164
|
-
/* @__PURE__ */
|
|
3144
|
+
/* @__PURE__ */ _(H, { spacing: 2, direction: "row", children: [
|
|
3165
3145
|
/* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 16 }),
|
|
3166
3146
|
/* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 16 }),
|
|
3167
3147
|
/* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 16 })
|
|
3168
3148
|
] }),
|
|
3169
|
-
/* @__PURE__ */
|
|
3149
|
+
/* @__PURE__ */ _(H, { spacing: 2, direction: "row", children: [
|
|
3170
3150
|
/* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 32 }),
|
|
3171
3151
|
/* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 32 }),
|
|
3172
3152
|
/* @__PURE__ */ t(W, { variant: "rounded", width: 88, height: 32 })
|
|
@@ -3175,16 +3155,16 @@ function Na({}) {
|
|
|
3175
3155
|
}
|
|
3176
3156
|
);
|
|
3177
3157
|
}
|
|
3178
|
-
const
|
|
3179
|
-
fadeWrapper:
|
|
3158
|
+
const Na = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Ma = {
|
|
3159
|
+
fadeWrapper: Na
|
|
3180
3160
|
};
|
|
3181
3161
|
function Be({ children: e }) {
|
|
3182
|
-
return /* @__PURE__ */ t("div", { className:
|
|
3162
|
+
return /* @__PURE__ */ t("div", { className: Ma.fadeWrapper, children: e });
|
|
3183
3163
|
}
|
|
3184
|
-
const
|
|
3185
|
-
padding:
|
|
3164
|
+
const Aa = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Ba = {
|
|
3165
|
+
padding: Aa
|
|
3186
3166
|
};
|
|
3187
|
-
function
|
|
3167
|
+
function wt({
|
|
3188
3168
|
events: e,
|
|
3189
3169
|
visibleRange: n,
|
|
3190
3170
|
fetchJerseys: a,
|
|
@@ -3195,32 +3175,32 @@ function It({
|
|
|
3195
3175
|
return Q(() => {
|
|
3196
3176
|
if (!(!e || e.length === 0))
|
|
3197
3177
|
return g.current && clearTimeout(g.current), g.current = setTimeout(() => {
|
|
3198
|
-
var
|
|
3199
|
-
const u = (
|
|
3200
|
-
let
|
|
3201
|
-
const
|
|
3202
|
-
|
|
3203
|
-
const
|
|
3204
|
-
if (
|
|
3205
|
-
|
|
3206
|
-
const
|
|
3178
|
+
var R, w;
|
|
3179
|
+
const u = (R = n.start) != null ? R : 0, c = (w = n.end) != null ? w : 7, f = Math.max(0, u - r), b = Math.min(e.length - 1, c + r);
|
|
3180
|
+
let y = f, C = b;
|
|
3181
|
+
const N = m.current;
|
|
3182
|
+
N && (f > N.end && (y = N.end + 1), b < N.start && (C = N.start - 1)), m.current = { start: f, end: b };
|
|
3183
|
+
const T = e.slice(y, C + 1).map((S) => S == null ? void 0 : S.id).filter((S) => !!S).filter((S) => !d.current.has(S)).filter((S) => !(S in l));
|
|
3184
|
+
if (T.length === 0) return;
|
|
3185
|
+
T.forEach((S) => d.current.add(S));
|
|
3186
|
+
const x = ++h.current;
|
|
3207
3187
|
(async () => {
|
|
3208
3188
|
try {
|
|
3209
|
-
const S = await a(
|
|
3210
|
-
if (
|
|
3211
|
-
|
|
3189
|
+
const S = await a(T);
|
|
3190
|
+
if (x !== h.current) {
|
|
3191
|
+
T.forEach((F) => d.current.delete(F));
|
|
3212
3192
|
return;
|
|
3213
3193
|
}
|
|
3214
3194
|
if (!(S != null && S.events)) {
|
|
3215
|
-
|
|
3195
|
+
T.forEach(
|
|
3216
3196
|
(F) => d.current.delete(F)
|
|
3217
3197
|
);
|
|
3218
3198
|
return;
|
|
3219
3199
|
}
|
|
3220
3200
|
s((F) => {
|
|
3221
3201
|
const I = { ...F };
|
|
3222
|
-
for (const [
|
|
3223
|
-
const q = Number(
|
|
3202
|
+
for (const [v, O] of Object.entries(S.events)) {
|
|
3203
|
+
const q = Number(v);
|
|
3224
3204
|
I[q] || (I[q] = O);
|
|
3225
3205
|
}
|
|
3226
3206
|
return I;
|
|
@@ -3228,11 +3208,11 @@ function It({
|
|
|
3228
3208
|
const L = new Set(
|
|
3229
3209
|
Object.keys(S.events).map(Number)
|
|
3230
3210
|
);
|
|
3231
|
-
|
|
3211
|
+
T.forEach((F) => {
|
|
3232
3212
|
d.current.delete(F);
|
|
3233
3213
|
});
|
|
3234
3214
|
} catch (S) {
|
|
3235
|
-
|
|
3215
|
+
T.forEach(
|
|
3236
3216
|
(L) => d.current.delete(L)
|
|
3237
3217
|
), console.error("Jersey fetch error", S);
|
|
3238
3218
|
}
|
|
@@ -3245,7 +3225,7 @@ function It({
|
|
|
3245
3225
|
isPending: d.current
|
|
3246
3226
|
};
|
|
3247
3227
|
}
|
|
3248
|
-
const
|
|
3228
|
+
const Ra = (e) => {
|
|
3249
3229
|
const n = ["esports", "cyber"];
|
|
3250
3230
|
return e.filter((a) => {
|
|
3251
3231
|
var l, s;
|
|
@@ -3254,22 +3234,22 @@ const La = (e) => {
|
|
|
3254
3234
|
const i = typeof ((s = a == null ? void 0 : a.event) == null ? void 0 : s.group) == "string" ? a.event.group.toLowerCase() : "";
|
|
3255
3235
|
return !n.some((d) => i.includes(d));
|
|
3256
3236
|
});
|
|
3257
|
-
},
|
|
3258
|
-
function
|
|
3237
|
+
}, La = fe.memo(Un);
|
|
3238
|
+
function Fa({
|
|
3259
3239
|
items: e,
|
|
3260
3240
|
title: n = "En vivo",
|
|
3261
3241
|
iconUrl: a = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
|
|
3262
3242
|
onViewMore: r,
|
|
3263
3243
|
className: i = ""
|
|
3264
3244
|
}) {
|
|
3265
|
-
const l = "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 = U(null), [d, h] = Z({ isStart: !0, isEnd: !1 }), [g, m] = Z(null), [u, c] = Z({ start: null, end: null }), [f,
|
|
3245
|
+
const l = "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 = U(null), [d, h] = Z({ isStart: !0, isEnd: !1 }), [g, m] = Z(null), [u, c] = Z({ start: null, end: null }), [f, b] = Z(null), y = U(!1), C = oe(), N = re(), T = se(), x = U(/* @__PURE__ */ new Map()), R = () => {
|
|
3266
3246
|
var M;
|
|
3267
|
-
|
|
3247
|
+
C({
|
|
3268
3248
|
element: "evento_en_vivo_prev",
|
|
3269
|
-
label: `${
|
|
3249
|
+
label: `${N} - OraculoSeccionEventoEnVivo - Anterior`,
|
|
3270
3250
|
target: "prev",
|
|
3271
3251
|
event_type: "click",
|
|
3272
|
-
module_id:
|
|
3252
|
+
module_id: T,
|
|
3273
3253
|
metadata: {
|
|
3274
3254
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3275
3255
|
},
|
|
@@ -3277,55 +3257,55 @@ function qa({
|
|
|
3277
3257
|
}), (M = s.current) == null || M.prev();
|
|
3278
3258
|
}, w = () => {
|
|
3279
3259
|
var M;
|
|
3280
|
-
|
|
3260
|
+
C({
|
|
3281
3261
|
element: "evento_en_vivo_next",
|
|
3282
|
-
label: `${
|
|
3262
|
+
label: `${N} - OraculoSeccionEventoEnVivo - Siguiente`,
|
|
3283
3263
|
target: "next",
|
|
3284
3264
|
event_type: "click",
|
|
3285
|
-
module_id:
|
|
3265
|
+
module_id: T,
|
|
3286
3266
|
metadata: {
|
|
3287
3267
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3288
3268
|
},
|
|
3289
3269
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3290
3270
|
}), (M = s.current) == null || M.next();
|
|
3291
3271
|
}, S = () => {
|
|
3292
|
-
|
|
3272
|
+
C({
|
|
3293
3273
|
element: "evento_en_vivo_view_more",
|
|
3294
|
-
label: `${
|
|
3274
|
+
label: `${N} - OraculoSeccionEventoEnVivo - Ver más`,
|
|
3295
3275
|
target: "ver_mas",
|
|
3296
3276
|
event_type: "click",
|
|
3297
|
-
module_id:
|
|
3277
|
+
module_id: T,
|
|
3298
3278
|
metadata: {
|
|
3299
3279
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3300
3280
|
},
|
|
3301
3281
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3302
|
-
}),
|
|
3282
|
+
}), Bn();
|
|
3303
3283
|
}, L = ke(async () => {
|
|
3304
3284
|
var M;
|
|
3305
3285
|
try {
|
|
3306
|
-
if (!
|
|
3307
|
-
|
|
3286
|
+
if (!y.current) {
|
|
3287
|
+
y.current = !0;
|
|
3308
3288
|
try {
|
|
3309
3289
|
const K = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), j = ((M = K == null ? void 0 : K.data) == null ? void 0 : M.event_ids) || [], X = /* @__PURE__ */ new Map();
|
|
3310
|
-
j.forEach((te, o) => X.set(String(te), o)),
|
|
3290
|
+
j.forEach((te, o) => X.set(String(te), o)), x.current = X;
|
|
3311
3291
|
} catch (G) {
|
|
3312
3292
|
console.error("Order fetch failed, using default sorting", G);
|
|
3313
3293
|
}
|
|
3314
3294
|
}
|
|
3315
|
-
const
|
|
3316
|
-
if (!
|
|
3317
|
-
const P = await
|
|
3318
|
-
if (
|
|
3295
|
+
const A = await fetch(l);
|
|
3296
|
+
if (!A.ok) throw new Error("Failed to fetch live events");
|
|
3297
|
+
const P = await A.json(), V = Ra(P.events);
|
|
3298
|
+
if (x.current.size === 0)
|
|
3319
3299
|
m(V);
|
|
3320
3300
|
else {
|
|
3321
3301
|
const G = [...V].sort((K, j) => {
|
|
3322
|
-
const X =
|
|
3302
|
+
const X = x.current.get(String(K.event.id)), te = x.current.get(String(j.event.id));
|
|
3323
3303
|
return (X !== void 0 ? X : 1 / 0) - (te !== void 0 ? te : 1 / 0);
|
|
3324
3304
|
});
|
|
3325
3305
|
m(G);
|
|
3326
3306
|
}
|
|
3327
|
-
} catch (
|
|
3328
|
-
console.error("LoadData Error:",
|
|
3307
|
+
} catch (A) {
|
|
3308
|
+
console.error("LoadData Error:", A);
|
|
3329
3309
|
}
|
|
3330
3310
|
}, []);
|
|
3331
3311
|
Q(() => {
|
|
@@ -3333,7 +3313,7 @@ function qa({
|
|
|
3333
3313
|
const M = setInterval(L, 2e4);
|
|
3334
3314
|
return () => clearInterval(M);
|
|
3335
3315
|
}, [L]);
|
|
3336
|
-
const { jerseys: F } =
|
|
3316
|
+
const { jerseys: F } = wt({
|
|
3337
3317
|
events: (g == null ? void 0 : g.map((M) => M.event)) || [],
|
|
3338
3318
|
// extract actual event objects
|
|
3339
3319
|
visibleRange: u,
|
|
@@ -3342,17 +3322,17 @@ function qa({
|
|
|
3342
3322
|
// same as your previous BUFFER
|
|
3343
3323
|
debounceMs: 300
|
|
3344
3324
|
// same as your previous debouncedVisibleRange
|
|
3345
|
-
}), I = i || void 0,
|
|
3346
|
-
return !
|
|
3325
|
+
}), I = i || void 0, v = g === null, O = ie(() => v ? Array(4).fill({}) : (g == null ? void 0 : g.slice(0, 20)) || [], [v, g]), q = xe("(max-width:950px)");
|
|
3326
|
+
return !v && g.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
|
|
3347
3327
|
// paddingLeft: 16,
|
|
3348
3328
|
// paddingRight: 16,
|
|
3349
3329
|
width: "100%",
|
|
3350
3330
|
boxSizing: "border-box"
|
|
3351
|
-
}, children: /* @__PURE__ */
|
|
3352
|
-
/* @__PURE__ */ t("div", { className:
|
|
3331
|
+
}, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3332
|
+
/* @__PURE__ */ t("div", { className: Ba.padding, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3353
3333
|
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
3354
|
-
/* @__PURE__ */
|
|
3355
|
-
/* @__PURE__ */
|
|
3334
|
+
/* @__PURE__ */ _("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
3335
|
+
/* @__PURE__ */ _(me, { spacing: 1, columns: "auto auto", children: [
|
|
3356
3336
|
/* @__PURE__ */ t(
|
|
3357
3337
|
J,
|
|
3358
3338
|
{
|
|
@@ -3360,7 +3340,7 @@ function qa({
|
|
|
3360
3340
|
variant: "secondary",
|
|
3361
3341
|
iconOnly: !0,
|
|
3362
3342
|
leftIcon: /* @__PURE__ */ t(Re, {}),
|
|
3363
|
-
onClick:
|
|
3343
|
+
onClick: R,
|
|
3364
3344
|
disabled: d.isStart
|
|
3365
3345
|
}
|
|
3366
3346
|
),
|
|
@@ -3396,44 +3376,44 @@ function qa({
|
|
|
3396
3376
|
},
|
|
3397
3377
|
renderItem: (M) => {
|
|
3398
3378
|
var V;
|
|
3399
|
-
const
|
|
3400
|
-
return
|
|
3401
|
-
|
|
3379
|
+
const A = ((V = M.event) == null ? void 0 : V.id) || M.eventId, P = A in F ? F[A] : void 0;
|
|
3380
|
+
return v ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t($a, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
|
|
3381
|
+
La,
|
|
3402
3382
|
{
|
|
3403
3383
|
...M,
|
|
3404
3384
|
jersey: P
|
|
3405
3385
|
}
|
|
3406
3386
|
) });
|
|
3407
3387
|
},
|
|
3408
|
-
onMove: ({ isStart: M, isEnd:
|
|
3388
|
+
onMove: ({ isStart: M, isEnd: A, visibleStart: P, visibleEnd: V }) => {
|
|
3409
3389
|
h(
|
|
3410
|
-
(G) => G.isStart === M && G.isEnd ===
|
|
3390
|
+
(G) => G.isStart === M && G.isEnd === A ? G : { isStart: M, isEnd: A }
|
|
3411
3391
|
), c({ start: P, end: V });
|
|
3412
3392
|
}
|
|
3413
3393
|
}
|
|
3414
3394
|
)
|
|
3415
3395
|
] }) });
|
|
3416
3396
|
}
|
|
3417
|
-
function
|
|
3418
|
-
return /* @__PURE__ */
|
|
3397
|
+
function qa() {
|
|
3398
|
+
return /* @__PURE__ */ _("div", { className: be.cardContainer, children: [
|
|
3419
3399
|
/* @__PURE__ */ t(pt, { title: "" }),
|
|
3420
|
-
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */
|
|
3421
|
-
/* @__PURE__ */
|
|
3400
|
+
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3401
|
+
/* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3422
3402
|
/* @__PURE__ */ t(W, { variant: "circular", width: 48, height: 48 }),
|
|
3423
3403
|
/* @__PURE__ */ t(W, { variant: "circular", width: 48, height: 48 })
|
|
3424
3404
|
] }),
|
|
3425
|
-
/* @__PURE__ */
|
|
3426
|
-
/* @__PURE__ */
|
|
3405
|
+
/* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3406
|
+
/* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3427
3407
|
/* @__PURE__ */ t(W, { variant: "text", width: 80, height: 12 }),
|
|
3428
3408
|
/* @__PURE__ */ t(W, { variant: "text", width: 80, height: 12 })
|
|
3429
3409
|
] }),
|
|
3430
3410
|
/* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(W, { variant: "text", width: 160, height: 12 }) }),
|
|
3431
|
-
/* @__PURE__ */
|
|
3411
|
+
/* @__PURE__ */ _(H, { direction: "row", spacing: 1, children: [
|
|
3432
3412
|
/* @__PURE__ */ t(W, { variant: "text", width: 80, height: 16 }),
|
|
3433
3413
|
/* @__PURE__ */ t(W, { variant: "text", width: 80, height: 16 }),
|
|
3434
3414
|
/* @__PURE__ */ t(W, { variant: "text", width: 80, height: 16 })
|
|
3435
3415
|
] }),
|
|
3436
|
-
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */
|
|
3416
|
+
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ _(H, { direction: "row", spacing: 1, children: [
|
|
3437
3417
|
/* @__PURE__ */ t(W, { variant: "rounded", width: 80, height: 32 }),
|
|
3438
3418
|
/* @__PURE__ */ t(W, { variant: "rounded", width: 80, height: 32 }),
|
|
3439
3419
|
/* @__PURE__ */ t(W, { variant: "rounded", width: 80, height: 32 })
|
|
@@ -3442,13 +3422,13 @@ function za() {
|
|
|
3442
3422
|
] }) })
|
|
3443
3423
|
] });
|
|
3444
3424
|
}
|
|
3445
|
-
const
|
|
3446
|
-
wrapper:
|
|
3447
|
-
container:
|
|
3448
|
-
buttonWrapper:
|
|
3449
|
-
padding:
|
|
3450
|
-
},
|
|
3451
|
-
async function
|
|
3425
|
+
const za = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Pa = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Da = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Ua = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Oe = {
|
|
3426
|
+
wrapper: za,
|
|
3427
|
+
container: Pa,
|
|
3428
|
+
buttonWrapper: Da,
|
|
3429
|
+
padding: Ua
|
|
3430
|
+
}, Va = fe.memo(Jn);
|
|
3431
|
+
async function Wa(e, n = 2, a) {
|
|
3452
3432
|
const r = [];
|
|
3453
3433
|
for (let i = 0; i < e.length; i += n) {
|
|
3454
3434
|
if (a.aborted)
|
|
@@ -3460,12 +3440,12 @@ async function Ga(e, n = 2, a) {
|
|
|
3460
3440
|
}
|
|
3461
3441
|
return r;
|
|
3462
3442
|
}
|
|
3463
|
-
function
|
|
3443
|
+
function Ga(e) {
|
|
3464
3444
|
return [...e].sort(
|
|
3465
3445
|
(n, a) => new Date(n.start).getTime() - new Date(a.start).getTime()
|
|
3466
3446
|
);
|
|
3467
3447
|
}
|
|
3468
|
-
function
|
|
3448
|
+
function ja(e) {
|
|
3469
3449
|
const n = /* @__PURE__ */ new Date(), a = new Date(n.getTime() + 480 * 60 * 60 * 1e3);
|
|
3470
3450
|
return e.filter((r) => {
|
|
3471
3451
|
if (!r.start) return !1;
|
|
@@ -3473,7 +3453,7 @@ function Ha(e) {
|
|
|
3473
3453
|
return i >= n && i <= a;
|
|
3474
3454
|
});
|
|
3475
3455
|
}
|
|
3476
|
-
function
|
|
3456
|
+
function Ha(e, n) {
|
|
3477
3457
|
const r = n.filter((i) => {
|
|
3478
3458
|
var l;
|
|
3479
3459
|
return ((l = i.betOfferType) == null ? void 0 : l.id) === 2;
|
|
@@ -3483,14 +3463,14 @@ function Ka(e, n) {
|
|
|
3483
3463
|
outcome: r[i.id]
|
|
3484
3464
|
}));
|
|
3485
3465
|
}
|
|
3486
|
-
function
|
|
3466
|
+
function Ka({
|
|
3487
3467
|
items: e,
|
|
3488
3468
|
title: n = "En vivo",
|
|
3489
3469
|
iconUrl: a,
|
|
3490
3470
|
onViewMore: r,
|
|
3491
3471
|
className: i = ""
|
|
3492
3472
|
}) {
|
|
3493
|
-
const l = oe(), s = re(), d = se(), h = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", g = U(null), [m, u] = Z({ isStart: !0, isEnd: !1 }), [c, f] = Z(null), [
|
|
3473
|
+
const l = oe(), s = re(), d = se(), h = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", g = U(null), [m, u] = Z({ isStart: !0, isEnd: !1 }), [c, f] = Z(null), [b, y] = Z({ start: null, end: null }), C = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", N = () => {
|
|
3494
3474
|
l({
|
|
3495
3475
|
element: "evento_semana_view_more",
|
|
3496
3476
|
label: `${s} - OraculoSeccionEventoSemana - Ver más`,
|
|
@@ -3501,22 +3481,22 @@ function Za({
|
|
|
3501
3481
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3502
3482
|
},
|
|
3503
3483
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3504
|
-
}),
|
|
3484
|
+
}), Rn();
|
|
3505
3485
|
};
|
|
3506
|
-
async function
|
|
3486
|
+
async function T(I) {
|
|
3507
3487
|
var q, M;
|
|
3508
|
-
let
|
|
3488
|
+
let v = [], O = [];
|
|
3509
3489
|
try {
|
|
3510
|
-
const
|
|
3490
|
+
const A = await fetch(
|
|
3511
3491
|
"https://api.mktolimpo.com/api/kambi/eventos/orden",
|
|
3512
3492
|
{ signal: I }
|
|
3513
3493
|
);
|
|
3514
|
-
if (
|
|
3515
|
-
const P = await
|
|
3516
|
-
|
|
3494
|
+
if (A.ok) {
|
|
3495
|
+
const P = await A.json();
|
|
3496
|
+
v = ((q = P == null ? void 0 : P.data) == null ? void 0 : q.group_ids) || [], O = ((M = P == null ? void 0 : P.data) == null ? void 0 : M.event_ids) || [];
|
|
3517
3497
|
}
|
|
3518
|
-
} catch (
|
|
3519
|
-
|
|
3498
|
+
} catch (A) {
|
|
3499
|
+
A.name !== "AbortError" && console.warn("Order API not available, using default group order");
|
|
3520
3500
|
return;
|
|
3521
3501
|
}
|
|
3522
3502
|
try {
|
|
@@ -3528,46 +3508,46 @@ function Za({
|
|
|
3528
3508
|
return;
|
|
3529
3509
|
}
|
|
3530
3510
|
let G = [...V.groups];
|
|
3531
|
-
if (
|
|
3511
|
+
if (v.length > 0) {
|
|
3532
3512
|
const o = new Map(
|
|
3533
|
-
|
|
3513
|
+
v.map((p, E) => [p, E])
|
|
3534
3514
|
);
|
|
3535
|
-
G.sort((p,
|
|
3536
|
-
const
|
|
3537
|
-
return
|
|
3515
|
+
G.sort((p, E) => {
|
|
3516
|
+
const k = o.get(String(p.id)), $ = o.get(String(E.id));
|
|
3517
|
+
return k !== void 0 && $ !== void 0 ? k - $ : k !== void 0 ? -1 : $ !== void 0 ? 1 : 0;
|
|
3538
3518
|
});
|
|
3539
3519
|
}
|
|
3540
3520
|
const j = G.slice(0, 5), X = (o) => {
|
|
3541
3521
|
const p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
|
|
3542
3522
|
if (o.groups && o.groups.length > 0) {
|
|
3543
|
-
const
|
|
3523
|
+
const E = o.groups[0];
|
|
3544
3524
|
return [
|
|
3545
|
-
`${p}/${o.termKey}/${
|
|
3525
|
+
`${p}/${o.termKey}/${E.termKey}/all/matches.json?${C}`
|
|
3546
3526
|
];
|
|
3547
3527
|
}
|
|
3548
3528
|
return [
|
|
3549
|
-
`${p}/${o.termKey}/all/all/matches.json?${
|
|
3529
|
+
`${p}/${o.termKey}/all/all/matches.json?${C}`
|
|
3550
3530
|
];
|
|
3551
3531
|
}, te = j.flatMap(X);
|
|
3552
|
-
|
|
3553
|
-
} catch (
|
|
3554
|
-
console.error(
|
|
3532
|
+
x(te, O, I);
|
|
3533
|
+
} catch (A) {
|
|
3534
|
+
console.error(A);
|
|
3555
3535
|
}
|
|
3556
3536
|
}
|
|
3557
|
-
async function
|
|
3537
|
+
async function x(I, v, O) {
|
|
3558
3538
|
try {
|
|
3559
|
-
const q = await
|
|
3560
|
-
let M = [],
|
|
3539
|
+
const q = await Wa(I, 2, O);
|
|
3540
|
+
let M = [], A = [];
|
|
3561
3541
|
q.forEach((K) => {
|
|
3562
|
-
K.events && (M.push(...K.events.map((j) => j.event)),
|
|
3542
|
+
K.events && (M.push(...K.events.map((j) => j.event)), A.push(
|
|
3563
3543
|
...K.events.flatMap((j) => j.betOffers || [])
|
|
3564
3544
|
));
|
|
3565
3545
|
});
|
|
3566
|
-
const P =
|
|
3546
|
+
const P = Ha(M, A), V = Ga(ja(P));
|
|
3567
3547
|
let G = V;
|
|
3568
|
-
if (
|
|
3548
|
+
if (v.length > 0) {
|
|
3569
3549
|
const K = new Map(
|
|
3570
|
-
|
|
3550
|
+
v.map((j, X) => [
|
|
3571
3551
|
String(j),
|
|
3572
3552
|
X
|
|
3573
3553
|
])
|
|
@@ -3586,23 +3566,23 @@ function Za({
|
|
|
3586
3566
|
Q(() => {
|
|
3587
3567
|
if (!e) return;
|
|
3588
3568
|
const I = new AbortController();
|
|
3589
|
-
return
|
|
3569
|
+
return T(I.signal), () => {
|
|
3590
3570
|
I.abort();
|
|
3591
3571
|
};
|
|
3592
3572
|
}, [e]);
|
|
3593
|
-
const
|
|
3573
|
+
const R = i || void 0, w = {
|
|
3594
3574
|
paddingLeft: 0,
|
|
3595
3575
|
width: "100%",
|
|
3596
3576
|
boxSizing: "border-box"
|
|
3597
|
-
}, { jerseys: S } =
|
|
3577
|
+
}, { jerseys: S } = wt({
|
|
3598
3578
|
events: c,
|
|
3599
|
-
visibleRange:
|
|
3579
|
+
visibleRange: b,
|
|
3600
3580
|
fetchJerseys: ht,
|
|
3601
3581
|
buffer: 2,
|
|
3602
3582
|
debounceMs: 250
|
|
3603
3583
|
}), L = c === null, F = xe("(max-width:950px)");
|
|
3604
|
-
return !L && c.length === 0 ? null : /* @__PURE__ */ t("section", { className:
|
|
3605
|
-
/* @__PURE__ */ t("div", { className: Oe.container, children: /* @__PURE__ */
|
|
3584
|
+
return !L && c.length === 0 ? null : /* @__PURE__ */ t("section", { className: R, style: w, children: /* @__PURE__ */ _("div", { className: `${Oe.wrapper} ${Oe.padding}`, children: [
|
|
3585
|
+
/* @__PURE__ */ t("div", { className: Oe.container, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3606
3586
|
/* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
|
|
3607
3587
|
/* @__PURE__ */ t("div", { className: Oe.buttonWrapper, children: /* @__PURE__ */ t(
|
|
3608
3588
|
J,
|
|
@@ -3611,7 +3591,7 @@ function Za({
|
|
|
3611
3591
|
size: "lg",
|
|
3612
3592
|
fullWidth: !0,
|
|
3613
3593
|
onClick: () => {
|
|
3614
|
-
|
|
3594
|
+
N();
|
|
3615
3595
|
},
|
|
3616
3596
|
children: "Ver más"
|
|
3617
3597
|
}
|
|
@@ -3636,11 +3616,11 @@ function Za({
|
|
|
3636
3616
|
}
|
|
3637
3617
|
},
|
|
3638
3618
|
renderItem: (I) => {
|
|
3639
|
-
const
|
|
3640
|
-
return L ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
|
|
3619
|
+
const v = I.id, O = v in S ? S[v] : void 0;
|
|
3620
|
+
return L ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(qa, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Va, { event: I, jersey: O }) });
|
|
3641
3621
|
},
|
|
3642
|
-
onMove: ({ isStart: I, isEnd:
|
|
3643
|
-
u({ isStart: I, isEnd:
|
|
3622
|
+
onMove: ({ isStart: I, isEnd: v, visibleStart: O, visibleEnd: q, source: M }) => {
|
|
3623
|
+
u({ isStart: I, isEnd: v }), y({
|
|
3644
3624
|
start: O,
|
|
3645
3625
|
end: q
|
|
3646
3626
|
}), M === "user" && l({
|
|
@@ -3654,7 +3634,7 @@ function Za({
|
|
|
3654
3634
|
visibleStart: O,
|
|
3655
3635
|
visibleEnd: q,
|
|
3656
3636
|
isStart: I,
|
|
3657
|
-
isEnd:
|
|
3637
|
+
isEnd: v
|
|
3658
3638
|
},
|
|
3659
3639
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3660
3640
|
});
|
|
@@ -3663,9 +3643,9 @@ function Za({
|
|
|
3663
3643
|
) })
|
|
3664
3644
|
] }) });
|
|
3665
3645
|
}
|
|
3666
|
-
const
|
|
3646
|
+
const Za = -300, Ja = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ot = (e) => {
|
|
3667
3647
|
if (!e) return null;
|
|
3668
|
-
if (
|
|
3648
|
+
if (Ja(e)) {
|
|
3669
3649
|
const h = new Date(e).getTime();
|
|
3670
3650
|
return Number.isNaN(h) ? null : h;
|
|
3671
3651
|
}
|
|
@@ -3678,32 +3658,32 @@ const Ja = -300, Xa = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ot = (e) => {
|
|
|
3678
3658
|
Number(a),
|
|
3679
3659
|
Number(r) - 1,
|
|
3680
3660
|
Number(i),
|
|
3681
|
-
Number(l) -
|
|
3661
|
+
Number(l) - Za / 60,
|
|
3682
3662
|
Number(s),
|
|
3683
3663
|
Number(d)
|
|
3684
3664
|
);
|
|
3685
|
-
},
|
|
3686
|
-
var d, h, g, m, u, c, f,
|
|
3687
|
-
const a = (g = (h = (d = e == null ? void 0 : e.fields) != null ? d : e == null ? void 0 : e.parameters) != null ? h : e == null ? void 0 : e.extraFields) != null ? g : [], r = (c = (u = e == null ? void 0 : e.startAt) != null ? u : (m = a.find((
|
|
3665
|
+
}, Xa = (e, n) => {
|
|
3666
|
+
var d, h, g, m, u, c, f, b, y;
|
|
3667
|
+
const a = (g = (h = (d = e == null ? void 0 : e.fields) != null ? d : e == null ? void 0 : e.parameters) != null ? h : e == null ? void 0 : e.extraFields) != null ? g : [], r = (c = (u = e == null ? void 0 : e.startAt) != null ? u : (m = a.find((C) => (C == null ? void 0 : C.name) === "startAt")) == null ? void 0 : m.value) != null ? c : null, i = (y = (b = e == null ? void 0 : e.endAt) != null ? b : (f = a.find((C) => (C == null ? void 0 : C.name) === "endAt")) == null ? void 0 : f.value) != null ? y : null, l = ot(r), s = ot(i);
|
|
3688
3668
|
return !(l != null && n < l || s != null && n >= s);
|
|
3689
3669
|
};
|
|
3690
|
-
function
|
|
3670
|
+
function Ya({
|
|
3691
3671
|
backgrounds: e,
|
|
3692
3672
|
items: n,
|
|
3693
3673
|
hideItems: a,
|
|
3694
3674
|
user: r = null
|
|
3695
3675
|
}) {
|
|
3696
3676
|
var te;
|
|
3697
|
-
const [i, l] = Z(0), s = oe(), d = re(), h = se(), g = U(null), m = U(!1), u = U(!1), [c, f] = Z(() => Date.now()),
|
|
3698
|
-
var
|
|
3699
|
-
const
|
|
3700
|
-
return
|
|
3701
|
-
}).map(({ item: p }) => p),
|
|
3677
|
+
const [i, l] = Z(0), s = oe(), d = re(), h = se(), g = U(null), m = U(!1), u = U(!1), [c, f] = Z(() => Date.now()), b = le("setDepositActionGlobal"), y = le("setAbrirLiveActionGlobal"), C = le("openLoginWithRedirect"), N = (o) => [...o != null ? o : []].map((p, E) => ({ item: p, index: E })).sort((p, E) => {
|
|
3678
|
+
var B, D;
|
|
3679
|
+
const k = (B = p.item.order) != null ? B : Number.MAX_SAFE_INTEGER, $ = (D = E.item.order) != null ? D : Number.MAX_SAFE_INTEGER;
|
|
3680
|
+
return k - $ || p.index - E.index;
|
|
3681
|
+
}).map(({ item: p }) => p), T = ie(() => N(n), [n]), x = ie(() => {
|
|
3702
3682
|
const o = (e != null ? e : []).filter(
|
|
3703
|
-
(p) =>
|
|
3683
|
+
(p) => Xa(p, c)
|
|
3704
3684
|
);
|
|
3705
|
-
return
|
|
3706
|
-
}, [e, c]),
|
|
3685
|
+
return N(o);
|
|
3686
|
+
}, [e, c]), R = x.length || 1, w = !x || x.length === 0, S = !w && x.length > 1, L = !a && T.length > 0;
|
|
3707
3687
|
De("(max-width:950px)");
|
|
3708
3688
|
const F = "#B5B5B5";
|
|
3709
3689
|
Q(() => {
|
|
@@ -3735,7 +3715,7 @@ function Qa({
|
|
|
3735
3715
|
backgroundColor: "transparent",
|
|
3736
3716
|
cursor: "default"
|
|
3737
3717
|
}
|
|
3738
|
-
},
|
|
3718
|
+
}, v = ie(
|
|
3739
3719
|
() => ({
|
|
3740
3720
|
type: "loop",
|
|
3741
3721
|
perMove: 1,
|
|
@@ -3752,35 +3732,35 @@ function Qa({
|
|
|
3752
3732
|
}, 500);
|
|
3753
3733
|
return () => clearTimeout(o);
|
|
3754
3734
|
}, []);
|
|
3755
|
-
const O = (o, p,
|
|
3735
|
+
const O = (o, p, E) => {
|
|
3756
3736
|
var D, Y;
|
|
3757
|
-
const
|
|
3758
|
-
if (
|
|
3737
|
+
const k = !!p.idFunction, $ = !!p.href;
|
|
3738
|
+
if (k)
|
|
3759
3739
|
switch (o.preventDefault(), o.stopPropagation(), p.idFunction) {
|
|
3760
3740
|
case "deposito":
|
|
3761
|
-
|
|
3741
|
+
b == null || b(!0);
|
|
3762
3742
|
return;
|
|
3763
3743
|
case "abrirLive":
|
|
3764
|
-
|
|
3744
|
+
y == null || y();
|
|
3765
3745
|
return;
|
|
3766
3746
|
default:
|
|
3767
3747
|
return;
|
|
3768
3748
|
}
|
|
3769
|
-
if (
|
|
3749
|
+
if (!$) {
|
|
3770
3750
|
o.preventDefault(), o.stopPropagation();
|
|
3771
3751
|
return;
|
|
3772
3752
|
}
|
|
3773
|
-
const
|
|
3753
|
+
const B = ((Y = (D = p.href) == null ? void 0 : D.split("/").pop()) == null ? void 0 : Y.split(".")[0]) || p.label || p.id || `banner_${E + 1}`;
|
|
3774
3754
|
s({
|
|
3775
3755
|
element: "banner_carousel",
|
|
3776
|
-
label: `${d} - OraculoSeccionBanners - Banner click: ${
|
|
3756
|
+
label: `${d} - OraculoSeccionBanners - Banner click: ${B}`,
|
|
3777
3757
|
target: p.href || "no_url",
|
|
3778
3758
|
event_type: "click",
|
|
3779
3759
|
module_id: h,
|
|
3780
3760
|
metadata: {
|
|
3781
3761
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3782
|
-
banner_position:
|
|
3783
|
-
banner_total: (
|
|
3762
|
+
banner_position: E + 1,
|
|
3763
|
+
banner_total: (x == null ? void 0 : x.length) || 0
|
|
3784
3764
|
},
|
|
3785
3765
|
tags: {
|
|
3786
3766
|
banner_type: "carousel",
|
|
@@ -3804,7 +3784,7 @@ function Qa({
|
|
|
3804
3784
|
item_label: o.label || "no_label"
|
|
3805
3785
|
}
|
|
3806
3786
|
}), !r && o.label == "MISIONES") {
|
|
3807
|
-
|
|
3787
|
+
C == null || C((p = o.href) != null ? p : "");
|
|
3808
3788
|
return;
|
|
3809
3789
|
}
|
|
3810
3790
|
if (o.onClick) {
|
|
@@ -3812,10 +3792,10 @@ function Qa({
|
|
|
3812
3792
|
return;
|
|
3813
3793
|
}
|
|
3814
3794
|
o.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(o.href);
|
|
3815
|
-
}, M = 5e3,
|
|
3816
|
-
|
|
3795
|
+
}, M = 5e3, A = U(null), P = !w && ((te = x == null ? void 0 : x.length) != null ? te : 0) > 1, V = () => {
|
|
3796
|
+
A.current != null && (window.clearTimeout(A.current), A.current = null);
|
|
3817
3797
|
}, G = () => {
|
|
3818
|
-
V(), P && (
|
|
3798
|
+
V(), P && (A.current = window.setTimeout(() => {
|
|
3819
3799
|
var o;
|
|
3820
3800
|
u.current = !0, (o = g.current) == null || o.next();
|
|
3821
3801
|
}, M));
|
|
@@ -3828,26 +3808,26 @@ function Qa({
|
|
|
3828
3808
|
var p;
|
|
3829
3809
|
o.preventDefault(), o.stopPropagation(), V(), (p = g.current) == null || p.next();
|
|
3830
3810
|
}, X = (o) => {
|
|
3831
|
-
var $,
|
|
3832
|
-
const p = (o %
|
|
3811
|
+
var k, $, B, D;
|
|
3812
|
+
const p = (o % R + R) % R;
|
|
3833
3813
|
if (!m.current) return;
|
|
3834
|
-
const
|
|
3814
|
+
const E = (k = x == null ? void 0 : x[p]) != null && k.href ? ((B = ($ = x[p].href) == null ? void 0 : $.split("/").pop()) == null ? void 0 : B.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
|
|
3835
3815
|
s({
|
|
3836
3816
|
element: "banner_carousel",
|
|
3837
|
-
label: `${d} - OraculoSeccionBanners - Banner view: Slide ${p + 1} - ${
|
|
3838
|
-
target: ((D =
|
|
3817
|
+
label: `${d} - OraculoSeccionBanners - Banner view: Slide ${p + 1} - ${E}`,
|
|
3818
|
+
target: ((D = x == null ? void 0 : x[p]) == null ? void 0 : D.href) || "no_url",
|
|
3839
3819
|
event_type: "view",
|
|
3840
3820
|
module_id: h,
|
|
3841
3821
|
metadata: {
|
|
3842
3822
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3843
3823
|
slide_index: p + 1,
|
|
3844
|
-
total_slides:
|
|
3824
|
+
total_slides: R,
|
|
3845
3825
|
interaction_type: "manual_slide"
|
|
3846
3826
|
},
|
|
3847
3827
|
tags: { banner_position: String(p + 1) }
|
|
3848
3828
|
});
|
|
3849
3829
|
};
|
|
3850
|
-
return /* @__PURE__ */
|
|
3830
|
+
return /* @__PURE__ */ _(
|
|
3851
3831
|
ee,
|
|
3852
3832
|
{
|
|
3853
3833
|
component: "section",
|
|
@@ -3857,7 +3837,7 @@ function Qa({
|
|
|
3857
3837
|
pb: L ? { xs: "40px", sm: 0 } : 0
|
|
3858
3838
|
},
|
|
3859
3839
|
children: [
|
|
3860
|
-
/* @__PURE__ */
|
|
3840
|
+
/* @__PURE__ */ _(
|
|
3861
3841
|
ee,
|
|
3862
3842
|
{
|
|
3863
3843
|
sx: {
|
|
@@ -3885,27 +3865,27 @@ function Qa({
|
|
|
3885
3865
|
he,
|
|
3886
3866
|
{
|
|
3887
3867
|
ref: g,
|
|
3888
|
-
items:
|
|
3868
|
+
items: x,
|
|
3889
3869
|
perPage: 1,
|
|
3890
3870
|
gap: "0px",
|
|
3891
3871
|
enableHorizontalWheel: !0,
|
|
3892
|
-
options:
|
|
3872
|
+
options: v,
|
|
3893
3873
|
onMove: ({ index: o, source: p }) => {
|
|
3894
|
-
const
|
|
3895
|
-
l(
|
|
3896
|
-
const
|
|
3897
|
-
u.current = !1, p === "user" && (G(),
|
|
3874
|
+
const E = (o % R + R) % R;
|
|
3875
|
+
l(E);
|
|
3876
|
+
const k = u.current;
|
|
3877
|
+
u.current = !1, p === "user" && (G(), k || X(o));
|
|
3898
3878
|
},
|
|
3899
3879
|
renderItem: (o, p) => {
|
|
3900
3880
|
var D, Y, ae;
|
|
3901
|
-
const
|
|
3902
|
-
return /* @__PURE__ */
|
|
3881
|
+
const E = !!o.idFunction, k = !!o.href, $ = k && !E, B = E || k;
|
|
3882
|
+
return /* @__PURE__ */ _(
|
|
3903
3883
|
ee,
|
|
3904
3884
|
{
|
|
3905
|
-
component:
|
|
3906
|
-
href:
|
|
3907
|
-
target:
|
|
3908
|
-
rel:
|
|
3885
|
+
component: $ ? "a" : "div",
|
|
3886
|
+
href: $ ? o.href : void 0,
|
|
3887
|
+
target: $ ? (D = o.target) != null ? D : "_self" : void 0,
|
|
3888
|
+
rel: $ && o.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
3909
3889
|
onClick: (ne) => O(ne, o, p),
|
|
3910
3890
|
sx: {
|
|
3911
3891
|
position: "relative",
|
|
@@ -3913,10 +3893,10 @@ function Qa({
|
|
|
3913
3893
|
height: "100%",
|
|
3914
3894
|
display: "block",
|
|
3915
3895
|
textDecoration: "none",
|
|
3916
|
-
cursor:
|
|
3896
|
+
cursor: B ? "pointer" : "default"
|
|
3917
3897
|
},
|
|
3918
3898
|
children: [
|
|
3919
|
-
/* @__PURE__ */
|
|
3899
|
+
/* @__PURE__ */ _(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
|
|
3920
3900
|
/* @__PURE__ */ t("source", { srcSet: o.desktopSrc, media: "(min-width:950px)" }),
|
|
3921
3901
|
/* @__PURE__ */ t("source", { srcSet: o.mobileSrc, media: "(max-width:949px)" }),
|
|
3922
3902
|
/* @__PURE__ */ t(
|
|
@@ -3963,7 +3943,7 @@ function Qa({
|
|
|
3963
3943
|
)
|
|
3964
3944
|
}
|
|
3965
3945
|
),
|
|
3966
|
-
S && /* @__PURE__ */
|
|
3946
|
+
S && /* @__PURE__ */ _(pe, { children: [
|
|
3967
3947
|
/* @__PURE__ */ t(
|
|
3968
3948
|
Ke,
|
|
3969
3949
|
{
|
|
@@ -4008,11 +3988,11 @@ function Qa({
|
|
|
4008
3988
|
children: /* @__PURE__ */ t(
|
|
4009
3989
|
ut,
|
|
4010
3990
|
{
|
|
4011
|
-
total:
|
|
3991
|
+
total: R,
|
|
4012
3992
|
active: i,
|
|
4013
3993
|
durationMs: M
|
|
4014
3994
|
},
|
|
4015
|
-
`${i}-${
|
|
3995
|
+
`${i}-${R}`
|
|
4016
3996
|
)
|
|
4017
3997
|
}
|
|
4018
3998
|
)
|
|
@@ -4037,7 +4017,7 @@ function Qa({
|
|
|
4037
4017
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
4038
4018
|
zIndex: 3
|
|
4039
4019
|
},
|
|
4040
|
-
children:
|
|
4020
|
+
children: T == null ? void 0 : T.map((o) => /* @__PURE__ */ _(
|
|
4041
4021
|
ee,
|
|
4042
4022
|
{
|
|
4043
4023
|
sx: {
|
|
@@ -4084,7 +4064,7 @@ function Qa({
|
|
|
4084
4064
|
},
|
|
4085
4065
|
onClick: () => q(o),
|
|
4086
4066
|
children: [
|
|
4087
|
-
o.icon && /* @__PURE__ */
|
|
4067
|
+
o.icon && /* @__PURE__ */ _(
|
|
4088
4068
|
ee,
|
|
4089
4069
|
{
|
|
4090
4070
|
sx: {
|
|
@@ -4154,7 +4134,7 @@ function Qa({
|
|
|
4154
4134
|
}
|
|
4155
4135
|
);
|
|
4156
4136
|
}
|
|
4157
|
-
const
|
|
4137
|
+
const Qa = [
|
|
4158
4138
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg", alt: "Interbank" },
|
|
4159
4139
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg", alt: "Yape" },
|
|
4160
4140
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
|
|
@@ -4164,12 +4144,12 @@ const eo = [
|
|
|
4164
4144
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
|
|
4165
4145
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
|
|
4166
4146
|
];
|
|
4167
|
-
function
|
|
4147
|
+
function eo({
|
|
4168
4148
|
title: e = "Medios de pago",
|
|
4169
|
-
items: n =
|
|
4149
|
+
items: n = Qa
|
|
4170
4150
|
}) {
|
|
4171
4151
|
const a = Math.ceil(n.length / 2), r = n.slice(0, a), i = n.slice(a);
|
|
4172
|
-
return /* @__PURE__ */
|
|
4152
|
+
return /* @__PURE__ */ _(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
4173
4153
|
/* @__PURE__ */ t(
|
|
4174
4154
|
st,
|
|
4175
4155
|
{
|
|
@@ -4198,7 +4178,7 @@ function to({
|
|
|
4198
4178
|
}
|
|
4199
4179
|
}
|
|
4200
4180
|
),
|
|
4201
|
-
/* @__PURE__ */
|
|
4181
|
+
/* @__PURE__ */ _(Ce, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
|
|
4202
4182
|
/* @__PURE__ */ t(
|
|
4203
4183
|
Ce,
|
|
4204
4184
|
{
|
|
@@ -4224,11 +4204,11 @@ function to({
|
|
|
4224
4204
|
] })
|
|
4225
4205
|
] });
|
|
4226
4206
|
}
|
|
4227
|
-
function
|
|
4207
|
+
function It({
|
|
4228
4208
|
children: e
|
|
4229
4209
|
}) {
|
|
4230
|
-
const n =
|
|
4231
|
-
() =>
|
|
4210
|
+
const n = Lt(), a = fe.useMemo(
|
|
4211
|
+
() => Ft(n, {
|
|
4232
4212
|
typography: { fontFamily: "var(--orc-font)" },
|
|
4233
4213
|
components: {
|
|
4234
4214
|
MuiTypography: {
|
|
@@ -4240,31 +4220,31 @@ function Ot({
|
|
|
4240
4220
|
}),
|
|
4241
4221
|
[n]
|
|
4242
4222
|
);
|
|
4243
|
-
return /* @__PURE__ */
|
|
4244
|
-
/* @__PURE__ */ t(
|
|
4223
|
+
return /* @__PURE__ */ _(qt, { theme: a, children: [
|
|
4224
|
+
/* @__PURE__ */ t(zt, {}),
|
|
4245
4225
|
e
|
|
4246
4226
|
] });
|
|
4247
4227
|
}
|
|
4248
|
-
function
|
|
4228
|
+
function Oo({
|
|
4249
4229
|
docId: e = "Landing: home",
|
|
4250
4230
|
moduleId: n = 301,
|
|
4251
4231
|
children: a
|
|
4252
4232
|
}) {
|
|
4253
|
-
return /* @__PURE__ */ t(
|
|
4233
|
+
return /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(vt, { docId: e, moduleId: n, children: a }) });
|
|
4254
4234
|
}
|
|
4255
|
-
const
|
|
4256
|
-
OraculoSeccionDestacados:
|
|
4257
|
-
OraculoSeccionTopJuegos:
|
|
4258
|
-
OraculoSeccionCasinoEnVivo:
|
|
4259
|
-
OraculoSeccionCasino:
|
|
4260
|
-
OraculoSeccionVirtuales:
|
|
4261
|
-
OraculoSeccionClubOlimpo:
|
|
4262
|
-
OraculoSeccionBonoBienvenida:
|
|
4263
|
-
OraculoSeccionBanners:
|
|
4264
|
-
OraculoSeccionMediosPago:
|
|
4265
|
-
OraculoSeccionEventoEnVivo:
|
|
4266
|
-
OraculoSeccionEventoSemana:
|
|
4267
|
-
OraculoSeccionEventoCombinadas:
|
|
4235
|
+
const to = {
|
|
4236
|
+
OraculoSeccionDestacados: Yn,
|
|
4237
|
+
OraculoSeccionTopJuegos: ta,
|
|
4238
|
+
OraculoSeccionCasinoEnVivo: ma,
|
|
4239
|
+
OraculoSeccionCasino: ga,
|
|
4240
|
+
OraculoSeccionVirtuales: _a,
|
|
4241
|
+
OraculoSeccionClubOlimpo: Sa,
|
|
4242
|
+
OraculoSeccionBonoBienvenida: xa,
|
|
4243
|
+
OraculoSeccionBanners: Ya,
|
|
4244
|
+
OraculoSeccionMediosPago: eo,
|
|
4245
|
+
OraculoSeccionEventoEnVivo: Fa,
|
|
4246
|
+
OraculoSeccionEventoSemana: Ka,
|
|
4247
|
+
OraculoSeccionEventoCombinadas: Ta
|
|
4268
4248
|
}, Ee = {
|
|
4269
4249
|
sections: [
|
|
4270
4250
|
{
|
|
@@ -5633,7 +5613,7 @@ const no = {
|
|
|
5633
5613
|
componentKey: "OraculoSeccionMediosPago"
|
|
5634
5614
|
}
|
|
5635
5615
|
]
|
|
5636
|
-
},
|
|
5616
|
+
}, no = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, ao = (e) => /^OraculoSeccion[A-Z]/.test(e);
|
|
5637
5617
|
function Se(e) {
|
|
5638
5618
|
return e && Array.isArray(e.sections) ? e.sections.slice().sort((n, a) => {
|
|
5639
5619
|
var r, i;
|
|
@@ -5659,11 +5639,11 @@ function Se(e) {
|
|
|
5659
5639
|
};
|
|
5660
5640
|
}) : [];
|
|
5661
5641
|
}
|
|
5662
|
-
const
|
|
5663
|
-
Object.entries(
|
|
5664
|
-
([e, n]) =>
|
|
5642
|
+
const oo = Object.fromEntries(
|
|
5643
|
+
Object.entries(to).filter(
|
|
5644
|
+
([e, n]) => ao(e) && no(n)
|
|
5665
5645
|
)
|
|
5666
|
-
),
|
|
5646
|
+
), ro = (e) => {
|
|
5667
5647
|
try {
|
|
5668
5648
|
return Object.fromEntries(e != null ? e : []);
|
|
5669
5649
|
} catch {
|
|
@@ -5675,7 +5655,7 @@ class rt extends Error {
|
|
|
5675
5655
|
super(`HTTP ${n} ${r}`), this.status = n, this.url = a, this.statusText = r, this.name = "HttpError";
|
|
5676
5656
|
}
|
|
5677
5657
|
}
|
|
5678
|
-
class
|
|
5658
|
+
class io extends fe.Component {
|
|
5679
5659
|
constructor(n) {
|
|
5680
5660
|
super(n), this.state = { hasError: !1 };
|
|
5681
5661
|
}
|
|
@@ -5699,13 +5679,13 @@ const it = [
|
|
|
5699
5679
|
"OraculoSeccionEventoEnVivo",
|
|
5700
5680
|
"OraculoSeccionEventoSemana",
|
|
5701
5681
|
"OraculoSeccionEventoCombinadas"
|
|
5702
|
-
],
|
|
5682
|
+
], lo = [
|
|
5703
5683
|
"OraculoSeccionCasino",
|
|
5704
5684
|
"OraculoSeccionVirtuales",
|
|
5705
5685
|
"OraculoSeccionCasinoEnVivo",
|
|
5706
5686
|
"OraculoSeccionTopJuegos",
|
|
5707
5687
|
"OraculoSeccionDestacados"
|
|
5708
|
-
],
|
|
5688
|
+
], Eo = ({
|
|
5709
5689
|
sectionsOverride: e,
|
|
5710
5690
|
docId: n = "Landing: home",
|
|
5711
5691
|
moduleId: a = 301,
|
|
@@ -5714,12 +5694,12 @@ const it = [
|
|
|
5714
5694
|
loader: l,
|
|
5715
5695
|
disableWrapper: s = !1
|
|
5716
5696
|
}) => {
|
|
5717
|
-
const d = ie(() =>
|
|
5697
|
+
const d = ie(() => ro(i), [i]), h = l || d.loader, [g, m] = Z(
|
|
5718
5698
|
() => e ? [] : Se(Ee)
|
|
5719
|
-
), [u, c] = Z(!1), [f,
|
|
5699
|
+
), [u, c] = Z(!1), [f, b] = Z({}), [y, C] = Z({}), [N, T] = Z({}), x = De("(min-width:1024px)"), R = ie(
|
|
5720
5700
|
() => Se(Ee),
|
|
5721
5701
|
[]
|
|
5722
|
-
), w = (o) =>
|
|
5702
|
+
), w = (o) => R.find(
|
|
5723
5703
|
(p) => p.id === o.id || p.componentKey === o.componentKey
|
|
5724
5704
|
), S = (o) => Array.isArray(o) ? o.map((p) => Number(p)).filter((p) => !Number.isNaN(p)) : [], L = ie(() => {
|
|
5725
5705
|
const o = d.user;
|
|
@@ -5727,22 +5707,22 @@ const it = [
|
|
|
5727
5707
|
}, [d]), F = (o) => {
|
|
5728
5708
|
const p = o.manualScalarFields;
|
|
5729
5709
|
if (!Array.isArray(p)) return [];
|
|
5730
|
-
const
|
|
5731
|
-
(
|
|
5710
|
+
const E = p.find(
|
|
5711
|
+
(B) => String((B == null ? void 0 : B.name) || "").trim().toLowerCase() === "groups"
|
|
5732
5712
|
);
|
|
5733
|
-
if (!
|
|
5734
|
-
const
|
|
5735
|
-
if (
|
|
5736
|
-
if (Array.isArray(
|
|
5737
|
-
return
|
|
5738
|
-
const
|
|
5739
|
-
return
|
|
5713
|
+
if (!E) return [];
|
|
5714
|
+
const k = E.value;
|
|
5715
|
+
if (k == null) return [];
|
|
5716
|
+
if (Array.isArray(k))
|
|
5717
|
+
return k.map((B) => Number(String(B).trim())).filter((B) => !Number.isNaN(B));
|
|
5718
|
+
const $ = String(k).trim();
|
|
5719
|
+
return $ ? $.split(",").map((B) => Number(B.trim())).filter((B) => !Number.isNaN(B)) : [];
|
|
5740
5720
|
}, I = (o, p) => {
|
|
5741
|
-
const
|
|
5742
|
-
if (
|
|
5721
|
+
const E = F(o);
|
|
5722
|
+
if (E.length === 0) return !0;
|
|
5743
5723
|
if (!Array.isArray(p) || p.length === 0) return !1;
|
|
5744
|
-
const
|
|
5745
|
-
return
|
|
5724
|
+
const k = new Set(p);
|
|
5725
|
+
return E.some(($) => k.has($));
|
|
5746
5726
|
};
|
|
5747
5727
|
Q(() => {
|
|
5748
5728
|
if (e) return;
|
|
@@ -5750,39 +5730,39 @@ const it = [
|
|
|
5750
5730
|
console.warn("[landing] sin db -> fallback json"), m(Se(Ee));
|
|
5751
5731
|
return;
|
|
5752
5732
|
}
|
|
5753
|
-
const o = (
|
|
5754
|
-
console.warn("[landing] FALLBACK:",
|
|
5733
|
+
const o = (E, k) => {
|
|
5734
|
+
console.warn("[landing] FALLBACK:", E, k != null ? k : ""), m(Se(Ee)), c(!1);
|
|
5755
5735
|
};
|
|
5756
5736
|
c(!0);
|
|
5757
|
-
const p =
|
|
5758
|
-
|
|
5759
|
-
(
|
|
5737
|
+
const p = Pt(
|
|
5738
|
+
Dt(r, "landings", n),
|
|
5739
|
+
(E) => {
|
|
5760
5740
|
try {
|
|
5761
|
-
if (!
|
|
5741
|
+
if (!E.exists()) {
|
|
5762
5742
|
o(`doc landings/${n} no existe`);
|
|
5763
5743
|
return;
|
|
5764
5744
|
}
|
|
5765
|
-
const
|
|
5766
|
-
if (
|
|
5767
|
-
o("JSON inválido o sin secciones normalizables",
|
|
5745
|
+
const k = E.data(), $ = Se(k);
|
|
5746
|
+
if (!$.length) {
|
|
5747
|
+
o("JSON inválido o sin secciones normalizables", k);
|
|
5768
5748
|
return;
|
|
5769
5749
|
}
|
|
5770
|
-
console.log("[landing] Firestore OK (json grande):",
|
|
5771
|
-
} catch (
|
|
5772
|
-
o("error procesando snapshot",
|
|
5750
|
+
console.log("[landing] Firestore OK (json grande):", k), m($);
|
|
5751
|
+
} catch (k) {
|
|
5752
|
+
o("error procesando snapshot", k);
|
|
5773
5753
|
} finally {
|
|
5774
5754
|
c(!1);
|
|
5775
5755
|
}
|
|
5776
5756
|
},
|
|
5777
|
-
(
|
|
5778
|
-
o("error onSnapshot",
|
|
5757
|
+
(E) => {
|
|
5758
|
+
o("error onSnapshot", E);
|
|
5779
5759
|
}
|
|
5780
5760
|
);
|
|
5781
5761
|
return () => p();
|
|
5782
|
-
}, [e, n, r]), Q(() => (
|
|
5783
|
-
(e ? e.slice() : g.slice()).map((
|
|
5762
|
+
}, [e, n, r]), Q(() => (Qn(d), () => ea()), [d]), Q(() => {
|
|
5763
|
+
(e ? e.slice() : g.slice()).map((E) => E.componentKey).filter((E) => !!E).length;
|
|
5784
5764
|
}, [e, g]);
|
|
5785
|
-
const
|
|
5765
|
+
const v = async (o) => {
|
|
5786
5766
|
if (it.includes(o.componentKey))
|
|
5787
5767
|
return {
|
|
5788
5768
|
items: [],
|
|
@@ -5791,30 +5771,30 @@ const it = [
|
|
|
5791
5771
|
};
|
|
5792
5772
|
const p = (o.apiUrl || "").trim();
|
|
5793
5773
|
if (!p) return;
|
|
5794
|
-
const
|
|
5795
|
-
let
|
|
5796
|
-
if (
|
|
5774
|
+
const E = o.apiMethod || "GET", k = o.apiParams || [];
|
|
5775
|
+
let $ = p, B, D;
|
|
5776
|
+
if (E === "GET") {
|
|
5797
5777
|
const ae = new URL(
|
|
5798
5778
|
p,
|
|
5799
5779
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
5800
5780
|
);
|
|
5801
|
-
for (const ne of
|
|
5781
|
+
for (const ne of k)
|
|
5802
5782
|
ne.key && ae.searchParams.append(ne.key, ne.value);
|
|
5803
|
-
|
|
5783
|
+
$ = ae.toString();
|
|
5804
5784
|
} else {
|
|
5805
5785
|
const ae = new URLSearchParams();
|
|
5806
|
-
for (const ne of
|
|
5786
|
+
for (const ne of k)
|
|
5807
5787
|
ne.key && ae.append(ne.key, ne.value);
|
|
5808
|
-
|
|
5788
|
+
B = ae.toString(), D = {
|
|
5809
5789
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
5810
5790
|
};
|
|
5811
5791
|
}
|
|
5812
|
-
const Y = await fetch(
|
|
5813
|
-
method:
|
|
5792
|
+
const Y = await fetch($, {
|
|
5793
|
+
method: E,
|
|
5814
5794
|
headers: D,
|
|
5815
|
-
body:
|
|
5795
|
+
body: B
|
|
5816
5796
|
});
|
|
5817
|
-
if (!Y.ok) throw new rt(Y.status,
|
|
5797
|
+
if (!Y.ok) throw new rt(Y.status, $, Y.statusText);
|
|
5818
5798
|
return Y.json();
|
|
5819
5799
|
}, O = ie(
|
|
5820
5800
|
() => e ? e.slice() : g.slice(),
|
|
@@ -5823,17 +5803,17 @@ const it = [
|
|
|
5823
5803
|
Q(() => {
|
|
5824
5804
|
const o = O.map((p) => ({ s: p, url: (p.apiUrl || "").trim() })).filter(({ url: p }) => !!p);
|
|
5825
5805
|
if (o.length)
|
|
5826
|
-
for (const { s: p, url:
|
|
5827
|
-
const
|
|
5828
|
-
q.current.has(
|
|
5806
|
+
for (const { s: p, url: E } of o) {
|
|
5807
|
+
const k = `${p.id}|${E}`;
|
|
5808
|
+
q.current.has(k) || (q.current.add(k), C(($) => ({ ...$, [p.id]: !0 })), T(($) => ({ ...$, [p.id]: "" })), (async () => {
|
|
5829
5809
|
try {
|
|
5830
|
-
const
|
|
5831
|
-
|
|
5832
|
-
} catch (
|
|
5833
|
-
let
|
|
5834
|
-
|
|
5810
|
+
const $ = await v(p);
|
|
5811
|
+
b((B) => ({ ...B, [p.id]: $ }));
|
|
5812
|
+
} catch ($) {
|
|
5813
|
+
let B = "Error desconocido";
|
|
5814
|
+
$ instanceof rt ? B = `Error HTTP ${$.status} (${$.statusText}) en ${$.url}` : $ instanceof SyntaxError ? B = "Respuesta no es JSON válido" : $ instanceof TypeError ? B = "Fallo de red / CORS / conexión" : typeof $ == "string" && (B = $.toString()), T((D) => ({ ...D, [p.id]: B }));
|
|
5835
5815
|
} finally {
|
|
5836
|
-
|
|
5816
|
+
C(($) => ({ ...$, [p.id]: !1 }));
|
|
5837
5817
|
}
|
|
5838
5818
|
})());
|
|
5839
5819
|
}
|
|
@@ -5841,103 +5821,103 @@ const it = [
|
|
|
5841
5821
|
const M = ie(
|
|
5842
5822
|
() => O.filter((o) => o.visible).filter((o) => I(o, L)).sort((o, p) => o.order - p.order),
|
|
5843
5823
|
[O, L]
|
|
5844
|
-
),
|
|
5845
|
-
const
|
|
5846
|
-
for (const
|
|
5847
|
-
const
|
|
5848
|
-
if (
|
|
5849
|
-
const
|
|
5850
|
-
if (
|
|
5851
|
-
const D = Number(
|
|
5852
|
-
Number.isNaN(D) || (
|
|
5824
|
+
), A = (o) => Array.isArray(o) ? o.map((p) => {
|
|
5825
|
+
const E = {};
|
|
5826
|
+
for (const k of p.fields || []) {
|
|
5827
|
+
const $ = (k.type || "string").toLowerCase();
|
|
5828
|
+
if ($ === "number") {
|
|
5829
|
+
const B = String(k.value || "").trim();
|
|
5830
|
+
if (B !== "") {
|
|
5831
|
+
const D = Number(B);
|
|
5832
|
+
Number.isNaN(D) || (E[k.name] = D);
|
|
5853
5833
|
}
|
|
5854
|
-
} else if (
|
|
5855
|
-
|
|
5856
|
-
else if (
|
|
5857
|
-
const
|
|
5858
|
-
if (
|
|
5834
|
+
} else if ($ === "boolean")
|
|
5835
|
+
E[k.name] = String(k.value).toLowerCase() === "true";
|
|
5836
|
+
else if ($ === "function") {
|
|
5837
|
+
const B = String(k.value || "").trim();
|
|
5838
|
+
if (B)
|
|
5859
5839
|
try {
|
|
5860
|
-
const D = new Function(
|
|
5861
|
-
|
|
5840
|
+
const D = new Function(B);
|
|
5841
|
+
E[k.name] = D;
|
|
5862
5842
|
} catch (D) {
|
|
5863
|
-
console.error(`❌ Error creando función en item '${
|
|
5843
|
+
console.error(`❌ Error creando función en item '${k.name}':`, D);
|
|
5864
5844
|
}
|
|
5865
5845
|
} else
|
|
5866
|
-
|
|
5846
|
+
E[k.name] = k.value;
|
|
5867
5847
|
}
|
|
5868
|
-
return
|
|
5848
|
+
return E;
|
|
5869
5849
|
}) : [], P = (o) => {
|
|
5870
5850
|
const p = {};
|
|
5871
5851
|
if (!Array.isArray(o)) return p;
|
|
5872
|
-
for (const
|
|
5873
|
-
if (!
|
|
5874
|
-
const
|
|
5875
|
-
if (
|
|
5876
|
-
const
|
|
5877
|
-
if (
|
|
5878
|
-
const
|
|
5879
|
-
Number.isNaN(
|
|
5852
|
+
for (const E of o) {
|
|
5853
|
+
if (!E.name) continue;
|
|
5854
|
+
const k = (E.type || "string").toLowerCase();
|
|
5855
|
+
if (k === "number") {
|
|
5856
|
+
const $ = String(E.value || "").trim();
|
|
5857
|
+
if ($ !== "") {
|
|
5858
|
+
const B = Number($);
|
|
5859
|
+
Number.isNaN(B) || (p[E.name] = B);
|
|
5880
5860
|
}
|
|
5881
|
-
} else if (
|
|
5882
|
-
p[
|
|
5883
|
-
else if (
|
|
5884
|
-
const
|
|
5885
|
-
if (
|
|
5861
|
+
} else if (k === "boolean")
|
|
5862
|
+
p[E.name] = String(E.value).toLowerCase() === "true";
|
|
5863
|
+
else if (k === "function") {
|
|
5864
|
+
const $ = String(E.value || "").trim();
|
|
5865
|
+
if ($)
|
|
5886
5866
|
try {
|
|
5887
|
-
const
|
|
5888
|
-
p[
|
|
5889
|
-
} catch (
|
|
5890
|
-
console.error(`❌ Error creando función en item '${
|
|
5867
|
+
const B = new Function($);
|
|
5868
|
+
p[E.name] = B;
|
|
5869
|
+
} catch (B) {
|
|
5870
|
+
console.error(`❌ Error creando función en item '${E.name}':`, B);
|
|
5891
5871
|
}
|
|
5892
5872
|
} else
|
|
5893
|
-
p[
|
|
5873
|
+
p[E.name] = E.value;
|
|
5894
5874
|
}
|
|
5895
5875
|
return p;
|
|
5896
|
-
}, V = (o, p,
|
|
5897
|
-
const
|
|
5876
|
+
}, V = (o, p, E, k) => {
|
|
5877
|
+
const $ = E ? { ...E } : {}, B = (k || "items").trim() || "items";
|
|
5898
5878
|
if (p)
|
|
5899
|
-
return
|
|
5879
|
+
return $[B] = p.arr || [], $;
|
|
5900
5880
|
const D = o;
|
|
5901
5881
|
if (Array.isArray(D))
|
|
5902
|
-
return
|
|
5882
|
+
return $[B] = D, $;
|
|
5903
5883
|
if (D && typeof D == "object") {
|
|
5904
5884
|
const Y = D;
|
|
5905
|
-
return Array.isArray(Y.lobby) ? (
|
|
5885
|
+
return Array.isArray(Y.lobby) ? ($[B] = Y.lobby, $) : Array.isArray(Y.items) ? ($[B] = Y.items, $) : ($[B] = D, $);
|
|
5906
5886
|
}
|
|
5907
|
-
return
|
|
5887
|
+
return $[B] = [], $;
|
|
5908
5888
|
}, G = (o) => {
|
|
5909
|
-
var
|
|
5910
|
-
const p = !!((
|
|
5911
|
-
let
|
|
5912
|
-
const
|
|
5889
|
+
var B;
|
|
5890
|
+
const p = !!((B = o.apiUrl) != null && B.trim()), E = p ? f[o.id] : void 0;
|
|
5891
|
+
let k = o.props ? { ...o.props } : {};
|
|
5892
|
+
const $ = P(o.manualScalarFields);
|
|
5913
5893
|
if (it.includes(o.componentKey))
|
|
5914
|
-
return { items:
|
|
5915
|
-
if (
|
|
5916
|
-
|
|
5894
|
+
return { items: E, ...k, ...$ };
|
|
5895
|
+
if (k = { ...k, ...$ }, p)
|
|
5896
|
+
k = V(E, null, k);
|
|
5917
5897
|
else if (o.dataMode === "manual") {
|
|
5918
|
-
const D =
|
|
5919
|
-
if (
|
|
5898
|
+
const D = A(o.manualItems);
|
|
5899
|
+
if (k = V(
|
|
5920
5900
|
null,
|
|
5921
5901
|
{ arr: D, variableName: o.variableName },
|
|
5922
|
-
|
|
5902
|
+
k,
|
|
5923
5903
|
o.variableName
|
|
5924
5904
|
), o.variableName2 && o.manualItems2) {
|
|
5925
|
-
const Y =
|
|
5926
|
-
|
|
5905
|
+
const Y = A(o.manualItems2), ae = (o.variableName2 || "items2").trim() || "items2";
|
|
5906
|
+
k[ae] = Y;
|
|
5927
5907
|
}
|
|
5928
5908
|
}
|
|
5929
|
-
return
|
|
5909
|
+
return k;
|
|
5930
5910
|
}, K = (o) => {
|
|
5931
5911
|
const p = o.props ? { ...o.props } : {};
|
|
5932
5912
|
try {
|
|
5933
5913
|
Object.assign(p, P(o.manualScalarFields));
|
|
5934
|
-
} catch (
|
|
5935
|
-
console.error("❌ Error armando scalars vacíos:", o,
|
|
5914
|
+
} catch (k) {
|
|
5915
|
+
console.error("❌ Error armando scalars vacíos:", o, k);
|
|
5936
5916
|
}
|
|
5937
|
-
const
|
|
5938
|
-
if (typeof p[
|
|
5939
|
-
const
|
|
5940
|
-
typeof p[
|
|
5917
|
+
const E = (o.variableName || "items").trim() || "items";
|
|
5918
|
+
if (typeof p[E] == "undefined" && (p[E] = []), o.variableName2) {
|
|
5919
|
+
const k = (o.variableName2 || "items2").trim() || "items2";
|
|
5920
|
+
typeof p[k] == "undefined" && (p[k] = []);
|
|
5941
5921
|
}
|
|
5942
5922
|
return p;
|
|
5943
5923
|
}, j = (o) => {
|
|
@@ -5945,29 +5925,29 @@ const it = [
|
|
|
5945
5925
|
return G(o);
|
|
5946
5926
|
} catch (p) {
|
|
5947
5927
|
console.error("🔥 ERROR EN buildCompProps:", o, p);
|
|
5948
|
-
const
|
|
5949
|
-
if (
|
|
5928
|
+
const E = w(o);
|
|
5929
|
+
if (E && E !== o)
|
|
5950
5930
|
try {
|
|
5951
5931
|
return console.warn(
|
|
5952
5932
|
`[landing] usando fallback local para sección ${o.title} (${o.componentKey})`
|
|
5953
|
-
), G(
|
|
5954
|
-
} catch (
|
|
5955
|
-
console.error("🔥 ERROR EN fallback buildCompProps:",
|
|
5933
|
+
), G(E);
|
|
5934
|
+
} catch (k) {
|
|
5935
|
+
console.error("🔥 ERROR EN fallback buildCompProps:", E, k);
|
|
5956
5936
|
}
|
|
5957
5937
|
return K(o);
|
|
5958
5938
|
}
|
|
5959
|
-
}, X = (o, p,
|
|
5939
|
+
}, X = (o, p, E) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
|
|
5960
5940
|
loading: "bg-blue-100 text-blue-800",
|
|
5961
5941
|
error: "bg-red-100 text-red-800",
|
|
5962
5942
|
component: "bg-yellow-100 text-yellow-800"
|
|
5963
|
-
}[p]}`, children:
|
|
5943
|
+
}[p]}`, children: E }, o), te = (o) => {
|
|
5964
5944
|
var He;
|
|
5965
|
-
const p = o.componentKey,
|
|
5945
|
+
const p = o.componentKey, E = oo[p], $ = (/* @__PURE__ */ new Set([
|
|
5966
5946
|
"OraculoSeccionBanners",
|
|
5967
5947
|
"OraculoSeccionBonoBienvenida",
|
|
5968
5948
|
"OraculoSeccionCasinoEnVivo",
|
|
5969
5949
|
"OraculoSeccionClubOlimpo",
|
|
5970
|
-
...
|
|
5950
|
+
...x ? [] : [
|
|
5971
5951
|
"OraculoSeccionEventoEnVivo",
|
|
5972
5952
|
"OraculoSeccionEventoSemana",
|
|
5973
5953
|
"OraculoSeccionEventoCombinadas",
|
|
@@ -5975,25 +5955,25 @@ const it = [
|
|
|
5975
5955
|
"OraculoSeccionDestacados",
|
|
5976
5956
|
"OraculoSeccionCasino"
|
|
5977
5957
|
]
|
|
5978
|
-
])).has(o.componentKey),
|
|
5958
|
+
])).has(o.componentKey), B = x ? 120 : 24, D = (x ? 8 : 5) * 8, Y = o.componentKey === "OraculoSeccionCasinoEnVivo", ae = {
|
|
5979
5959
|
width: "100%",
|
|
5980
5960
|
boxSizing: "border-box",
|
|
5981
|
-
|
|
5961
|
+
...$ ? {} : { paddingLeft: B, paddingRight: B },
|
|
5982
5962
|
...Y ? {
|
|
5983
5963
|
marginTop: -D,
|
|
5984
5964
|
marginBottom: -D
|
|
5985
5965
|
} : {}
|
|
5986
5966
|
};
|
|
5987
|
-
if (!
|
|
5967
|
+
if (!E)
|
|
5988
5968
|
return console.warn(`No hay componente registrado para "${p}"`), X(
|
|
5989
5969
|
o.id,
|
|
5990
5970
|
"component",
|
|
5991
5971
|
`Componente "${p}" no encontrado`
|
|
5992
5972
|
);
|
|
5993
|
-
const ne = !!((He = o.apiUrl) != null && He.trim()), We = ne ? f[o.id] : void 0,
|
|
5973
|
+
const ne = !!((He = o.apiUrl) != null && He.trim()), We = ne ? f[o.id] : void 0, Ot = ne ? !!y[o.id] : !1, Ge = ne ? N[o.id] : "";
|
|
5994
5974
|
if (ne) {
|
|
5995
|
-
const
|
|
5996
|
-
if (
|
|
5975
|
+
const Ct = lo.includes(o.componentKey);
|
|
5976
|
+
if (Ot && !We && !Ct)
|
|
5997
5977
|
return X(
|
|
5998
5978
|
o.id,
|
|
5999
5979
|
"loading",
|
|
@@ -6004,7 +5984,7 @@ const it = [
|
|
|
6004
5984
|
if (we && we.dataMode === "manual")
|
|
6005
5985
|
try {
|
|
6006
5986
|
const Fe = j(we);
|
|
6007
|
-
return /* @__PURE__ */ t("div", { style: ae, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(
|
|
5987
|
+
return /* @__PURE__ */ t("div", { style: ae, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(E, { ...Fe }) }, o.id);
|
|
6008
5988
|
} catch (Fe) {
|
|
6009
5989
|
console.error(
|
|
6010
5990
|
"🔥 ERROR renderizando fallback manual de sección:",
|
|
@@ -6019,23 +5999,23 @@ const it = [
|
|
|
6019
5999
|
);
|
|
6020
6000
|
}
|
|
6021
6001
|
}
|
|
6022
|
-
const je = j(o),
|
|
6002
|
+
const je = j(o), Et = o.componentKey === "OraculoSeccionClubOlimpo" || o.componentKey === "OraculoSeccionBanners" ? {
|
|
6023
6003
|
...je,
|
|
6024
6004
|
user: d.user
|
|
6025
6005
|
} : je;
|
|
6026
|
-
return /* @__PURE__ */ t(
|
|
6006
|
+
return /* @__PURE__ */ t(io, { section: o, children: /* @__PURE__ */ t(
|
|
6027
6007
|
"div",
|
|
6028
6008
|
{
|
|
6029
6009
|
style: ae,
|
|
6030
6010
|
className: "oraculo-section-wrapper",
|
|
6031
6011
|
"data-component-key": p,
|
|
6032
|
-
children: /* @__PURE__ */ t(
|
|
6012
|
+
children: /* @__PURE__ */ t(E, { ...Et })
|
|
6033
6013
|
},
|
|
6034
6014
|
o.id
|
|
6035
6015
|
) });
|
|
6036
6016
|
};
|
|
6037
|
-
return u && !e && g.length === 0 ? h ? /* @__PURE__ */ t(h, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !u && !e && g.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(
|
|
6038
|
-
|
|
6017
|
+
return u && !e && g.length === 0 ? h ? /* @__PURE__ */ t(h, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !u && !e && g.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(vt, { docId: n, moduleId: a, children: /* @__PURE__ */ t(
|
|
6018
|
+
kt,
|
|
6039
6019
|
{
|
|
6040
6020
|
className: "oli-font",
|
|
6041
6021
|
maxWidth: !1,
|
|
@@ -6048,7 +6028,7 @@ const it = [
|
|
|
6048
6028
|
maxWidth: "100%",
|
|
6049
6029
|
overflowX: "hidden"
|
|
6050
6030
|
},
|
|
6051
|
-
children: /* @__PURE__ */ t(Ce, { direction: "column", spacing:
|
|
6031
|
+
children: /* @__PURE__ */ t(Ce, { direction: "column", spacing: x ? 8 : 5, useFlexGap: !0, children: M.map((o) => {
|
|
6052
6032
|
try {
|
|
6053
6033
|
return te(o);
|
|
6054
6034
|
} catch (p) {
|
|
@@ -6063,41 +6043,41 @@ export {
|
|
|
6063
6043
|
J as OraculoButton,
|
|
6064
6044
|
he as OraculoCarousel,
|
|
6065
6045
|
ut as OraculoCarouselDots,
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6046
|
+
In as OraculoClubOlimpoVisual,
|
|
6047
|
+
Fn as OraculoEventCombinadasCard,
|
|
6048
|
+
Un as OraculoEventEnVivoCard,
|
|
6049
|
+
Kt as OraculoEventHeader,
|
|
6070
6050
|
mt as OraculoEventLabel,
|
|
6071
6051
|
pt as OraculoEventLeague,
|
|
6072
6052
|
ft as OraculoEventScore,
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6053
|
+
Jn as OraculoEventSemanaCard,
|
|
6054
|
+
Ht as OraculoEventStatus,
|
|
6055
|
+
jt as OraculoEventStatusBadge,
|
|
6076
6056
|
Me as OraculoEventTeamInfo,
|
|
6077
6057
|
Te as OraculoGameCard,
|
|
6078
|
-
|
|
6058
|
+
wn as OraculoGameRankCard,
|
|
6079
6059
|
gt as OraculoGameSlide,
|
|
6080
6060
|
me as OraculoGridGroup,
|
|
6081
6061
|
Je as OraculoLiveCasinoCard,
|
|
6082
6062
|
Ze as OraculoLogoMediosPago,
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6063
|
+
Eo as OraculoPageLandingPreview,
|
|
6064
|
+
Ya as OraculoSeccionBanners,
|
|
6065
|
+
xa as OraculoSeccionBonoBienvenida,
|
|
6066
|
+
ga as OraculoSeccionCasino,
|
|
6067
|
+
ma as OraculoSeccionCasinoEnVivo,
|
|
6068
|
+
Sa as OraculoSeccionClubOlimpo,
|
|
6069
|
+
Yn as OraculoSeccionDestacados,
|
|
6070
|
+
Ta as OraculoSeccionEventoCombinadas,
|
|
6071
|
+
Fa as OraculoSeccionEventoEnVivo,
|
|
6072
|
+
Ka as OraculoSeccionEventoSemana,
|
|
6073
|
+
eo as OraculoSeccionMediosPago,
|
|
6074
|
+
ta as OraculoSeccionTopJuegos,
|
|
6075
|
+
_a as OraculoSeccionVirtuales,
|
|
6076
|
+
Oo as OraculoSectionHost,
|
|
6097
6077
|
ge as OraculoSectionTitle,
|
|
6098
|
-
|
|
6099
|
-
|
|
6078
|
+
It as OraculoThemeProvider,
|
|
6079
|
+
ta as OraculoTopJuegoItem,
|
|
6100
6080
|
Xe as OraculoWelcomeBanner,
|
|
6101
|
-
|
|
6081
|
+
Eo as default
|
|
6102
6082
|
};
|
|
6103
6083
|
//# sourceMappingURL=index.es.js.map
|