oraculo-ui 0.2.55 → 0.2.57
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 +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1176 -1128
- package/dist/index.es.js.map +1 -1
- package/dist/interfaces/oraculo/InterfaceKambi.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as h, Fragment as te } from "react/jsx-runtime";
|
|
2
2
|
import { Link as ht, Box as le, useMediaQuery as Je, IconButton as Qe, Typography as bt, Stack as Re, Container as Bt } from "@mui/material";
|
|
3
|
-
import ve, { useState as ee, useEffect as re, useRef as Z, forwardRef as Lt, useImperativeHandle as Rt, useCallback as Pe, createContext as Pt, useContext as Ft, useMemo as de, useLayoutEffect as
|
|
3
|
+
import ve, { useState as ee, useEffect as re, useRef as Z, forwardRef as Lt, useImperativeHandle as Rt, useCallback as Pe, createContext as Pt, useContext as Ft, useMemo as de, useLayoutEffect as Ut } from "react";
|
|
4
4
|
import X from "@mui/material/Skeleton";
|
|
5
|
-
import { Splide as zt, SplideSlide as
|
|
5
|
+
import { Splide as zt, SplideSlide as qt } from "@splidejs/react-splide";
|
|
6
6
|
import z from "@mui/material/Box";
|
|
7
7
|
import he from "@mui/material/Typography";
|
|
8
8
|
import Q from "@mui/material/Stack";
|
|
@@ -20,53 +20,53 @@ function ae({
|
|
|
20
20
|
href: n,
|
|
21
21
|
target: o,
|
|
22
22
|
rel: i,
|
|
23
|
-
type:
|
|
24
|
-
disabled:
|
|
23
|
+
type: s = "button",
|
|
24
|
+
disabled: l = !1,
|
|
25
25
|
variant: c = "primary",
|
|
26
|
-
size:
|
|
27
|
-
fullWidth:
|
|
26
|
+
size: f,
|
|
27
|
+
fullWidth: g = !1,
|
|
28
28
|
fullHeight: m = !1,
|
|
29
|
-
className:
|
|
30
|
-
ariaLabel:
|
|
31
|
-
leftIcon:
|
|
29
|
+
className: d = "",
|
|
30
|
+
ariaLabel: u,
|
|
31
|
+
leftIcon: b,
|
|
32
32
|
rightIcon: x,
|
|
33
33
|
iconOnly: v
|
|
34
34
|
}) {
|
|
35
|
-
const
|
|
35
|
+
const S = !!e && e !== !0, _ = (!!b ? 1 : 0) + (!!x ? 1 : 0) == 1, C = v != null ? v : _ && !S, O = [
|
|
36
36
|
"orc-btn",
|
|
37
37
|
c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
f ? `orc-btn--${f}` : "",
|
|
39
|
+
g ? "orc-btn--full" : "",
|
|
40
40
|
m ? "orc-btn--fullHeight" : "",
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
].filter(Boolean).join(" "),
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
C ? "orc-btn--iconOnly" : "",
|
|
42
|
+
d
|
|
43
|
+
].filter(Boolean).join(" "), w = /* @__PURE__ */ h(te, { children: [
|
|
44
|
+
b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b }),
|
|
45
|
+
!C && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
|
|
46
46
|
x && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: x })
|
|
47
|
-
] }), L =
|
|
47
|
+
] }), L = l ? !0 : void 0;
|
|
48
48
|
return n ? /* @__PURE__ */ t(
|
|
49
49
|
ht,
|
|
50
50
|
{
|
|
51
51
|
href: n,
|
|
52
52
|
target: o,
|
|
53
53
|
rel: i,
|
|
54
|
-
"aria-label":
|
|
54
|
+
"aria-label": u,
|
|
55
55
|
"aria-disabled": L,
|
|
56
56
|
tabIndex: L ? -1 : void 0,
|
|
57
|
-
className:
|
|
57
|
+
className: O,
|
|
58
58
|
onClick: L ? (R) => R.preventDefault() : a,
|
|
59
|
-
children:
|
|
59
|
+
children: w
|
|
60
60
|
}
|
|
61
61
|
) : /* @__PURE__ */ t(
|
|
62
62
|
"button",
|
|
63
63
|
{
|
|
64
|
-
type:
|
|
64
|
+
type: s,
|
|
65
65
|
onClick: a,
|
|
66
66
|
disabled: !!L,
|
|
67
|
-
"aria-label":
|
|
68
|
-
className:
|
|
69
|
-
children:
|
|
67
|
+
"aria-label": u,
|
|
68
|
+
className: O,
|
|
69
|
+
children: w
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
}
|
|
@@ -76,12 +76,12 @@ function ye({
|
|
|
76
76
|
size: n = "md",
|
|
77
77
|
className: o = ""
|
|
78
78
|
}) {
|
|
79
|
-
const
|
|
79
|
+
const s = [
|
|
80
80
|
"orc-section-title",
|
|
81
81
|
n ? `orc-section-title--${n}` : "",
|
|
82
82
|
o
|
|
83
83
|
].filter(Boolean).join(" ");
|
|
84
|
-
return /* @__PURE__ */
|
|
84
|
+
return /* @__PURE__ */ h("div", { className: s, children: [
|
|
85
85
|
a && /* @__PURE__ */ t(
|
|
86
86
|
"img",
|
|
87
87
|
{
|
|
@@ -101,28 +101,28 @@ const yt = ({
|
|
|
101
101
|
durationMs: i = 5e3
|
|
102
102
|
}) => {
|
|
103
103
|
if (e <= 1) return null;
|
|
104
|
-
const
|
|
104
|
+
const s = ["orc-dots", o].filter(Boolean).join(" "), [l, c] = ee(0);
|
|
105
105
|
return re(() => {
|
|
106
|
-
c((
|
|
107
|
-
}, [a, i]), /* @__PURE__ */ t("div", { className:
|
|
108
|
-
const m =
|
|
106
|
+
c((f) => f + 1);
|
|
107
|
+
}, [a, i]), /* @__PURE__ */ t("div", { className: s, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((f, g) => {
|
|
108
|
+
const m = g === a;
|
|
109
109
|
return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
|
|
110
110
|
"button",
|
|
111
111
|
{
|
|
112
112
|
type: "button",
|
|
113
113
|
role: "tab",
|
|
114
114
|
"aria-selected": m,
|
|
115
|
-
"aria-label": `Ir al slide ${
|
|
115
|
+
"aria-label": `Ir al slide ${g + 1}`,
|
|
116
116
|
className: "orc-dots__dot" + (m ? " orc-dots__dot--active" : ""),
|
|
117
117
|
style: m ? {
|
|
118
118
|
"--dot-progress-ms": `${i}ms`
|
|
119
119
|
} : void 0,
|
|
120
120
|
onClick: () => {
|
|
121
|
-
m && c((
|
|
121
|
+
m && c((d) => d + 1), n == null || n(g);
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
-
m ? `a-${
|
|
125
|
-
) },
|
|
124
|
+
m ? `a-${g}-${l}` : `i-${g}`
|
|
125
|
+
) }, g);
|
|
126
126
|
}) });
|
|
127
127
|
};
|
|
128
128
|
function me({
|
|
@@ -132,15 +132,15 @@ function me({
|
|
|
132
132
|
justify: o = "stretch",
|
|
133
133
|
columns: i = null
|
|
134
134
|
}) {
|
|
135
|
-
const
|
|
135
|
+
const s = i || `repeat(auto-fit, minmax(${a}px, 1fr))`, l = typeof n == "number" ? `${n * 8}px` : n;
|
|
136
136
|
return /* @__PURE__ */ t(
|
|
137
137
|
"div",
|
|
138
138
|
{
|
|
139
139
|
style: {
|
|
140
140
|
display: "grid",
|
|
141
|
-
gridTemplateColumns:
|
|
141
|
+
gridTemplateColumns: s,
|
|
142
142
|
justifyItems: o,
|
|
143
|
-
gap:
|
|
143
|
+
gap: l,
|
|
144
144
|
height: "inherit"
|
|
145
145
|
},
|
|
146
146
|
children: e
|
|
@@ -193,9 +193,9 @@ function ta({
|
|
|
193
193
|
maxSubtitleChars: n = 25
|
|
194
194
|
}) {
|
|
195
195
|
const o = !!(a && a.length >= n);
|
|
196
|
-
return /* @__PURE__ */
|
|
196
|
+
return /* @__PURE__ */ h("div", { className: be.contenedor, children: [
|
|
197
197
|
/* @__PURE__ */ t("span", { className: be.title, children: e }),
|
|
198
|
-
a && /* @__PURE__ */
|
|
198
|
+
a && /* @__PURE__ */ h("div", { className: be.flexGroup, children: [
|
|
199
199
|
/* @__PURE__ */ t(
|
|
200
200
|
"svg",
|
|
201
201
|
{
|
|
@@ -207,7 +207,7 @@ function ta({
|
|
|
207
207
|
children: /* @__PURE__ */ t("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" })
|
|
208
208
|
}
|
|
209
209
|
),
|
|
210
|
-
/* @__PURE__ */ t("div", { className: be.subtitleWrapper, children: /* @__PURE__ */
|
|
210
|
+
/* @__PURE__ */ t("div", { className: be.subtitleWrapper, children: /* @__PURE__ */ h("div", { className: `${be.track} ${o ? be.animateTrack : ""}`, children: [
|
|
211
211
|
/* @__PURE__ */ t("span", { className: be.subtitle, children: a }),
|
|
212
212
|
o && /* @__PURE__ */ t("span", { className: be.subtitle, "aria-hidden": "true", children: a })
|
|
213
213
|
] }) })
|
|
@@ -236,11 +236,11 @@ function aa({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
|
|
|
236
236
|
);
|
|
237
237
|
}
|
|
238
238
|
function na({ live: e, time: a, extra: n }) {
|
|
239
|
-
return /* @__PURE__ */
|
|
239
|
+
return /* @__PURE__ */ h("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
240
240
|
e && /* @__PURE__ */ t(aa, { text: "En vivo" }),
|
|
241
|
-
(a || n) && /* @__PURE__ */
|
|
241
|
+
(a || n) && /* @__PURE__ */ h("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
242
242
|
a && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "20px", paddingTop: "4px" }, children: a }),
|
|
243
|
-
n && /* @__PURE__ */
|
|
243
|
+
n && /* @__PURE__ */ h("span", { style: { fontSize: "14px", fontWeight: 700, lineHeight: "20px", paddingTop: "4px", color: "#9EE86E", display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
244
244
|
/* @__PURE__ */ t("svg", { width: "4", height: "4", viewBox: "0 0 4 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("circle", { cx: "2", cy: "2", r: "2", fill: "#9EE86E" }) }),
|
|
245
245
|
n
|
|
246
246
|
] })
|
|
@@ -248,7 +248,7 @@ function na({ live: e, time: a, extra: n }) {
|
|
|
248
248
|
] });
|
|
249
249
|
}
|
|
250
250
|
function oa({ title: e, subtitle: a, live: n = !1, time: o = "", extra: i = "" }) {
|
|
251
|
-
return /* @__PURE__ */
|
|
251
|
+
return /* @__PURE__ */ h(
|
|
252
252
|
"div",
|
|
253
253
|
{
|
|
254
254
|
style: {
|
|
@@ -286,7 +286,7 @@ const ca = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", da = "orac
|
|
|
286
286
|
basketball: fa
|
|
287
287
|
};
|
|
288
288
|
function St({ text: e, name: a, size: n = "normal" }) {
|
|
289
|
-
return /* @__PURE__ */
|
|
289
|
+
return /* @__PURE__ */ h(
|
|
290
290
|
"div",
|
|
291
291
|
{
|
|
292
292
|
className: `${Ee.scoreWrapper} ${Ee[n]}`,
|
|
@@ -312,7 +312,7 @@ const ga = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ha = "oraculo__
|
|
|
312
312
|
highlight: Ia
|
|
313
313
|
};
|
|
314
314
|
function et({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
315
|
-
return /* @__PURE__ */
|
|
315
|
+
return /* @__PURE__ */ h(te, { children: [
|
|
316
316
|
/* @__PURE__ */ t(
|
|
317
317
|
"path",
|
|
318
318
|
{
|
|
@@ -320,7 +320,7 @@ function et({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
320
320
|
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"
|
|
321
321
|
}
|
|
322
322
|
),
|
|
323
|
-
n && /* @__PURE__ */
|
|
323
|
+
n && /* @__PURE__ */ h(te, { children: [
|
|
324
324
|
/* @__PURE__ */ t("path", { fill: n, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
325
325
|
/* @__PURE__ */ t("path", { fill: n, 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" })
|
|
326
326
|
] }),
|
|
@@ -350,7 +350,7 @@ function et({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
350
350
|
] });
|
|
351
351
|
}
|
|
352
352
|
function tt({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
353
|
-
return /* @__PURE__ */
|
|
353
|
+
return /* @__PURE__ */ h(te, { children: [
|
|
354
354
|
/* @__PURE__ */ t(
|
|
355
355
|
"path",
|
|
356
356
|
{
|
|
@@ -358,7 +358,7 @@ function tt({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
358
358
|
d: "m342 8.1-29-.2h-2.3c-5.2 0-19.7.9-26.6 2.6a55 55 0 0 0-11.8 3.5c-6 2.4-16.4 10.7-20.9 14.6l-2.3 1.3-6.5 3.6L236 37l-8.4 4.4-14 6.5-14 5.2-10.1 3.3-12.5 4-10.4 3.7a81.5 81.5 0 0 0-25.3 15.5c-.9 1-3 3.7-5 5.9-2 2.1-7.9 12.5-10.5 17.4l-5.1 12.2-4.4 13.5-3.2 11.8-3.2 15.7-2.1 15.2-2.6 22-1.5 10.9-1.8 11-1.3 6.3-1.4 6-.3 3.3-.5.8-3.1 14c-.5 3.3.7 3.6 1.7 4l2.9.8 7 1.3 12.5 2.3 10.7 2 16 2.3 14.5 1.6 11 .2c8.3.2 8.6-2.8 8.8-5.4l.4-.2 1.3 13.9 1.8 14.7 2.4 15.5 1 8.3 1.8 9.7a326 326 0 0 1 2.8 20.3l-.2 7.7c-.4 5 .4 11.1 2.6 13.7v5.5l-.2 9.5-.3 8.8-.3 6.2v10l.2 7.5.3 5.8V424c-.1.5-.2 2-.2 4.5-.8 1-2.4 10.8-3 15.6l-.7 6-.4 3.6V474l-.2 6.9-1 5.8-.6 4.3-.5 3-1.5 3.5-2.6 6.7-2.6 7.4-2.6 8.7-4.7 17-2 8-1.4 4.4-2.2 9.2-1.7 6.4-5 14.5-1.9 5.7-1.9 7-1.2 2-3.5 11-.8 2.8v1l3 2.3 2.5 2.5c3.5 3.6 9.1 7.8 15 8.7l1.7 1.1c9 7 22.8 20.1 63.6 24.3l15.6 1.8 29.6 1.7 35 .5 38-.6L389 650c15-.3 62.3-4 78.6-13.8 5.7-1.4 21.6-15.3 28.8-22 5.5-4.3 4-5 3.5-7.3a249 249 0 0 0-2.2-10.5c-1-1-1.7-4.9-1.8-6.7l-1.5-4.1-3.2-12.3a391 391 0 0 1-1.8-7c.4-.8-1-6.7-1.6-9.6l-1.2-3.5-2.4-10.7-6.6-20.8-4.8-11.6-.7-6.2c-.1-2.3-.5-8.7-.6-15.7 0-7-4.9-31-7.3-42l-2.6-8.6v-1.9l-.3-9v-6.3l.3-8 .3-4.1v-9l-.2-12.2-.6-9.4-.6-7.3-.8-6.9.5-10.3c1.7-1.2 2.3-9.1 2.3-13l.5-6.7 1.1-6 4-22.8 1.3-9 1.3-5.4.4-4.2 2-15.3 1.2-12.2.7-11.6.4-4 1 10.5c.2 3.1 1.5 7 4.7 7.4 2.6.4 9.7 0 12.9-.4l15.5-1.9 46.3-8c6.4-.1 4.6-2.9 4.2-6.4l-1.2-4.9-2-7.5-3.3-14.5-4-26.4-3-25.1a215 215 0 0 0-7.2-35.6c-1.2-4.5-11-35-24-48a103.8 103.8 0 0 0-34-20 566 566 0 0 0-23.8-8.2c-10.1-1.3-40.2-17.6-54-25.6C387.4 13 374.6 8.1 341.9 8.1Z"
|
|
359
359
|
}
|
|
360
360
|
),
|
|
361
|
-
n && /* @__PURE__ */
|
|
361
|
+
n && /* @__PURE__ */ h(te, { children: [
|
|
362
362
|
/* @__PURE__ */ t("path", { fill: n, 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" }),
|
|
363
363
|
/* @__PURE__ */ t("path", { fill: n, 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" })
|
|
364
364
|
] }),
|
|
@@ -388,7 +388,7 @@ function tt({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
388
388
|
] });
|
|
389
389
|
}
|
|
390
390
|
function Ta({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
391
|
-
return /* @__PURE__ */
|
|
391
|
+
return /* @__PURE__ */ h(te, { children: [
|
|
392
392
|
/* @__PURE__ */ t(
|
|
393
393
|
"path",
|
|
394
394
|
{
|
|
@@ -396,7 +396,7 @@ function Ta({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
396
396
|
d: "m249.3 24.4-9.4-7.1c0-.1-.6-.6-1.7-1.3-1.1-.7-3.7-.4-4.8-.2l-4.8 2.6-2 2.9-8.7 4.4-7.7 2H198c.2-.5-.8-1.2-1.3-1.5a15 15 0 0 0-5.2 0c-3.7.3-6.6 8.3-7.5 12.2L179 59.2 171 86.1l-8.2 26.8c-1.3 6-4.3 19.8-5.9 26.3-2.4 6-3.1 20.4-3.2 26.8l-1 25.6-1 17.6c-2.7 3.9-1 5-.4 6.6-.3 1.5 1.8 3 2.6 2.8l2.7 9.3-1.3 12.1c-.5 5.5 1 16.9 1.8 21.8l3.2 14 4.4 18.5 2.4 12.9 2.2 11.6 2.4 11.3v7.5c.1.3-.4 2-3.2 6.2a47 47 0 0 0-4.8 15.8s-.6.4-1.8 3.1c-2.5 5 2.2 17 4.8 22.4 0 1.6-.3 6.6-1 13.8-3.5 1.2-5 8.5-5.3 12-.3 3.4-1 10.8-1 13.2 0 2.4.9 10.3 1.3 14 .5 1.3 1.4 4.6 1.6 6.2.3 1.6 1.9 5.4 2.6 7.1.4.7 1.2 2.7 1.6 5.6-1 1.5-3.4 11-4.5 15.5l-2.4 10-1.9 8.5-1.8 7.8-2.8 11-3 12.9-3 10.4-4 15.2-3 12-2.3 8.1-1.3 6.7-2.3 11.2-2 12.8-2.5 8c-1.1.3-.7 1.4-.4 2l-.6 1.8c-1 .2-.9 1.1-.7 1.6-.5.7-2 3.2-4 7.3-2 4 .8 6.7 2.5 7.5l5.5 2.4 6 2.1 8.1 2.8 12.2 2.4 15.1 2.2 19.7 2.2 24 1.8 80.4 1.8 76.4-1 36-.8 51.6-3.9c7-.5 47-4.3 61.4-12.5 4.5-1.8 10.5-6.1 6.8-11.7a245 245 0 0 1-4.7-5.7c.8-.8 0-1.6-.6-2-.4-.2-1-.8-.8-1.3.2-.6-.6-1.6-1.1-2l-1.6-4.2-5.3-18-8.5-27.9-5-18.4-5.5-19.8-5.6-23.4-3-12.6-2.3-8.3c-.8-2.5-2.4-8-3.3-10.2 1.7-1 7-14.2 9.6-20.6 1.8-8.9 1.9-14.3 1.9-21.2a44 44 0 0 0-5.8-17.8l-3.5-12.5-1.3-5.7a64.4 64.4 0 0 0 7.5-18.7c1.6-8 .7-12.1 0-13.2-.6-.1-1.6-.7-1-1.7.7-1 .3-5.9 0-8.2l-3-12.5-2.4-8 2.4-11.7 2.3-13.2 2.6-11 4.2-14.7 2.4-12.8.6-10.4-.6-12.2-.2-9.7 2-6.4c2.7.4 2.8-1.4 2.8-3 1.6-2.2.6-5.1 0-6.7v-3.8l-.4-5-1.5-13.3v-20c-.1-2.3-1.1-17.4-1.6-19.3 0-1.3-2.9-15.7-4.3-22.7L494 121l-4-15-3-10.7-3.7-12.1-2.8-8.8-2.7-10.2-2.6-9.6-2.8-11.7c-.6-6-3.9-16-8.6-17l-.6 1H462c-.3-.9-1.8-1.2-2.6-1.2-.6.2-2 1-2.6 2.1-5.7 1-12.6-.3-15.4-1l-4.2-1.2-3.5-1.7c-.7-.5-2.5-1.5-3.9-2.1-2-3-4.2-3.8-5.1-3.9l-.8-.6-1.4-1-2-.5-1.8.8-.7.1-1 .2-1.3.9-4.5 3.6-4.4 3.5-7.1 5-7 4.5-6.3 3.7-8.2 4.1-7.8 3.6-5.6 2.3-6.3 2.2-6.8 2-8 1.5-6 .8-4.4.3h-14.1l-2.6-.3-7.7-1-12-3.3-9.5-3.3c-4.3-2-13.2-6.2-15-7.3-2-.4-12.3-7.4-17.3-10.8l-5.7-4.5Z"
|
|
397
397
|
}
|
|
398
398
|
),
|
|
399
|
-
n && /* @__PURE__ */
|
|
399
|
+
n && /* @__PURE__ */ h(te, { children: [
|
|
400
400
|
/* @__PURE__ */ t("path", { fill: n, 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" }),
|
|
401
401
|
/* @__PURE__ */ t("path", { fill: n, 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" })
|
|
402
402
|
] }),
|
|
@@ -412,7 +412,7 @@ function Ta({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
412
412
|
] });
|
|
413
413
|
}
|
|
414
414
|
function Ea({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
415
|
-
return /* @__PURE__ */
|
|
415
|
+
return /* @__PURE__ */ h(te, { children: [
|
|
416
416
|
/* @__PURE__ */ t(
|
|
417
417
|
"path",
|
|
418
418
|
{
|
|
@@ -420,7 +420,7 @@ function Ea({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
420
420
|
d: "m249.3 24.4-9.4-7.1c0-.1-.6-.6-1.7-1.3-1.1-.7-3.7-.4-4.8-.2l-4.8 2.6-2 2.9-8.7 4.4-7.7 2H198c.2-.5-.8-1.2-1.3-1.5a15 15 0 0 0-5.2 0c-3.7.3-6.6 8.3-7.5 12.2L179 59.2 171 86.1l-8.2 26.8c-1.3 6-4.3 19.8-5.9 26.3-2.4 6-3.1 20.4-3.2 26.8l-1 25.6-1 17.6c-2.7 3.9-1 5-.4 6.6-.3 1.5 1.8 3 2.6 2.8l2.7 9.3-1.3 12.1c-.5 5.5 1 16.9 1.8 21.8l3.2 14 4.4 18.5 2.4 12.9 2.2 11.6 2.4 11.3v7.5c.1.3-.4 2-3.2 6.2a47 47 0 0 0-4.8 15.8s-.6.4-1.8 3.1c-2.5 5 2.2 17 4.8 22.4 0 1.6-.3 6.6-1 13.8-3.5 1.2-5 8.5-5.3 12-.3 3.4-1 10.8-1 13.2 0 2.4.9 10.3 1.3 14 .5 1.3 1.4 4.6 1.6 6.2.3 1.6 1.9 5.4 2.6 7.1.4.7 1.2 2.7 1.6 5.6-1 1.5-3.4 11-4.5 15.5l-2.4 10-1.9 8.5-1.8 7.8-2.8 11-3 12.9-3 10.4-4 15.2-3 12-2.3 8.1-1.3 6.7-2.3 11.2-2 12.8-2.5 8c-1.1.3-.7 1.4-.4 2l-.6 1.8c-1 .2-.9 1.1-.7 1.6-.5.7-2 3.2-4 7.3-2 4 .8 6.7 2.5 7.5l5.5 2.4 6 2.1 8.1 2.8 12.2 2.4 15.1 2.2 19.7 2.2 24 1.8 80.4 1.8 76.4-1 36-.8 51.6-3.9c7-.5 47-4.3 61.4-12.5 4.5-1.8 10.5-6.1 6.8-11.7a245 245 0 0 1-4.7-5.7c.8-.8 0-1.6-.6-2-.4-.2-1-.8-.8-1.3.2-.6-.6-1.6-1.1-2l-1.6-4.2-5.3-18-8.5-27.9-5-18.4-5.5-19.8-5.6-23.4-3-12.6-2.3-8.3c-.8-2.5-2.4-8-3.3-10.2 1.7-1 7-14.2 9.6-20.6 1.8-8.9 1.9-14.3 1.9-21.2a44 44 0 0 0-5.8-17.8l-3.5-12.5-1.3-5.7a64.4 64.4 0 0 0 7.5-18.7c1.6-8 .7-12.1 0-13.2-.6-.1-1.6-.7-1-1.7.7-1 .3-5.9 0-8.2l-3-12.5-2.4-8 2.4-11.7 2.3-13.2 2.6-11 4.2-14.7 2.4-12.8.6-10.4-.6-12.2-.2-9.7 2-6.4c2.7.4 2.8-1.4 2.8-3 1.6-2.2.6-5.1 0-6.7v-3.8l-.4-5-1.5-13.3v-20c-.1-2.3-1.1-17.4-1.6-19.3 0-1.3-2.9-15.7-4.3-22.7L494 121l-4-15-3-10.7-3.7-12.1-2.8-8.8-2.7-10.2-2.6-9.6-2.8-11.7c-.6-6-3.9-16-8.6-17l-.6 1H462c-.3-.9-1.8-1.2-2.6-1.2-.6.2-2 1-2.6 2.1-5.7 1-12.6-.3-15.4-1l-4.2-1.2-3.5-1.7c-.7-.5-2.5-1.5-3.9-2.1-2-3-4.2-3.8-5.1-3.9l-.8-.6-1.4-1-2-.5-1.8.8-.7.1-1 .2-1.3.9-4.5 3.6-4.4 3.5-7.1 5-7 4.5-6.3 3.7-8.2 4.1-7.8 3.6-5.6 2.3-6.3 2.2-6.8 2-8 1.5-6 .8-4.4.3h-14.1l-2.6-.3-7.7-1-12-3.3-9.5-3.3c-4.3-2-13.2-6.2-15-7.3-2-.4-12.3-7.4-17.3-10.8l-5.7-4.5Z"
|
|
421
421
|
}
|
|
422
422
|
),
|
|
423
|
-
n && /* @__PURE__ */
|
|
423
|
+
n && /* @__PURE__ */ h(te, { children: [
|
|
424
424
|
/* @__PURE__ */ t("path", { fill: n, 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" }),
|
|
425
425
|
/* @__PURE__ */ t("path", { fill: n, 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" })
|
|
426
426
|
] }),
|
|
@@ -481,29 +481,29 @@ function Ca({
|
|
|
481
481
|
className: o,
|
|
482
482
|
flag: i = ""
|
|
483
483
|
}) {
|
|
484
|
-
const
|
|
485
|
-
if (e === "TENNIS" && i == "" || e === "BASKETBALL" && (n == null ||
|
|
486
|
-
const
|
|
487
|
-
return /* @__PURE__ */ t("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: /* @__PURE__ */ t("img", { src:
|
|
484
|
+
const s = (n == null ? void 0 : n.base) === "D8D8D8" && (n == null ? void 0 : n.sleeve) === "D8D8D8" || (n == null ? void 0 : n.base) === "585858" && (n == null ? void 0 : n.sleeve) === "585858", l = (v) => v ? v.startsWith("#") ? v : `#${v}` : null;
|
|
485
|
+
if (e === "TENNIS" && i == "" || e === "BASKETBALL" && (n == null || s)) {
|
|
486
|
+
const S = `https://d28gilnhu2bcbp.cloudfront.net/landing/${e === "BASKETBALL" ? "basketball" : "tennis"}_default.png`;
|
|
487
|
+
return /* @__PURE__ */ t("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: /* @__PURE__ */ t("img", { src: S, className: _e.flagImage }) });
|
|
488
488
|
}
|
|
489
489
|
if (e === "TENNIS")
|
|
490
490
|
return /* @__PURE__ */ t("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: /* @__PURE__ */ t("img", { src: `https://img.sportradar.com/ls/crest/big/${i}.png`, className: _e.flagImage }) });
|
|
491
|
-
const c =
|
|
492
|
-
return /* @__PURE__ */
|
|
491
|
+
const c = l(n.base) || "#FFFFFF", f = l(n.sleeve) || c, g = l(n.stripes), m = l(n.sleevelong), d = l(n.trim) || f, u = at[e] || at.FOOTBALL, b = u[a] || u.men, x = b.pathsComponent;
|
|
492
|
+
return /* @__PURE__ */ h("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: [
|
|
493
493
|
/* @__PURE__ */ t("div", { className: _e.svgWrapper, children: /* @__PURE__ */ t("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: /* @__PURE__ */ t(
|
|
494
494
|
x,
|
|
495
495
|
{
|
|
496
496
|
base: c,
|
|
497
|
-
sleeve:
|
|
498
|
-
stripes:
|
|
497
|
+
sleeve: f,
|
|
498
|
+
stripes: g,
|
|
499
499
|
sleevelong: m,
|
|
500
|
-
trim:
|
|
500
|
+
trim: d
|
|
501
501
|
}
|
|
502
502
|
) }) }),
|
|
503
503
|
/* @__PURE__ */ t(
|
|
504
504
|
"img",
|
|
505
505
|
{
|
|
506
|
-
src:
|
|
506
|
+
src: b.shadowUrl,
|
|
507
507
|
className: _e.shadow,
|
|
508
508
|
alt: "",
|
|
509
509
|
"aria-hidden": !0
|
|
@@ -512,7 +512,7 @@ function Ca({
|
|
|
512
512
|
/* @__PURE__ */ t(
|
|
513
513
|
"img",
|
|
514
514
|
{
|
|
515
|
-
src:
|
|
515
|
+
src: b.highlightUrl,
|
|
516
516
|
className: _e.highlight,
|
|
517
517
|
alt: "",
|
|
518
518
|
"aria-hidden": !0
|
|
@@ -520,9 +520,9 @@ function Ca({
|
|
|
520
520
|
)
|
|
521
521
|
] });
|
|
522
522
|
}
|
|
523
|
-
function ze({ name: e, jersey: a, size: n = "regular", sport: o = "FOOTBALL", gender: i = "men", flag:
|
|
524
|
-
return /* @__PURE__ */
|
|
525
|
-
a != null && a.base ? /* @__PURE__ */ t(Ca, { sport: o, gender: i, colors: a, flag:
|
|
523
|
+
function ze({ name: e, jersey: a, size: n = "regular", sport: o = "FOOTBALL", gender: i = "men", flag: s = "" }) {
|
|
524
|
+
return /* @__PURE__ */ h("div", { className: `oli-font ${Ce.team} ${Ce[n]}`, children: [
|
|
525
|
+
a != null && a.base ? /* @__PURE__ */ t(Ca, { sport: o, gender: i, colors: a, flag: s, className: `${Ce.logo}` }) : /* @__PURE__ */ t(X, { variant: "circular", className: `${Ce.logo} ${Ce.skeleton}` }),
|
|
526
526
|
/* @__PURE__ */ t("span", { className: Ce.name, children: e })
|
|
527
527
|
] });
|
|
528
528
|
}
|
|
@@ -531,24 +531,24 @@ function ka(e, a, {
|
|
|
531
531
|
threshold: o = 60,
|
|
532
532
|
cooldownMs: i = 500
|
|
533
533
|
} = {}) {
|
|
534
|
-
const
|
|
534
|
+
const s = Z(0), l = Z(0);
|
|
535
535
|
re(() => {
|
|
536
536
|
if (!n) return;
|
|
537
537
|
const c = e.current;
|
|
538
538
|
if (!c) return;
|
|
539
|
-
const
|
|
539
|
+
const f = (g) => {
|
|
540
540
|
const m = a.current;
|
|
541
541
|
if (!m || !m.go) return;
|
|
542
|
-
const { deltaX:
|
|
543
|
-
if (Math.abs(
|
|
544
|
-
|
|
545
|
-
const
|
|
546
|
-
if (
|
|
547
|
-
const x =
|
|
548
|
-
|
|
542
|
+
const { deltaX: d, deltaY: u } = g;
|
|
543
|
+
if (Math.abs(d) <= Math.abs(u)) return;
|
|
544
|
+
g.preventDefault(), s.current += d;
|
|
545
|
+
const b = Date.now();
|
|
546
|
+
if (b - l.current < i || Math.abs(s.current) < o) return;
|
|
547
|
+
const x = s.current > 0 ? ">" : "<";
|
|
548
|
+
s.current = 0, l.current = b, m.go(x);
|
|
549
549
|
};
|
|
550
|
-
return c.addEventListener("wheel",
|
|
551
|
-
c.removeEventListener("wheel",
|
|
550
|
+
return c.addEventListener("wheel", f, { passive: !1 }), () => {
|
|
551
|
+
c.removeEventListener("wheel", f), s.current = 0;
|
|
552
552
|
};
|
|
553
553
|
}, [n, o, i, e, a]);
|
|
554
554
|
}
|
|
@@ -557,40 +557,40 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
557
557
|
right: $a,
|
|
558
558
|
left: Aa,
|
|
559
559
|
svg: Ma
|
|
560
|
-
}, Ba = zt, La =
|
|
560
|
+
}, Ba = zt, La = qt, xe = Lt(
|
|
561
561
|
({
|
|
562
562
|
items: e = [],
|
|
563
563
|
renderItem: a,
|
|
564
564
|
perPage: n = 1,
|
|
565
565
|
gap: o = "0px",
|
|
566
566
|
breakpoints: i,
|
|
567
|
-
options:
|
|
568
|
-
className:
|
|
567
|
+
options: s = {},
|
|
568
|
+
className: l = "",
|
|
569
569
|
onMove: c,
|
|
570
|
-
useIndexAsKey:
|
|
571
|
-
enableHorizontalWheel:
|
|
570
|
+
useIndexAsKey: f = !1,
|
|
571
|
+
enableHorizontalWheel: g = !0,
|
|
572
572
|
showRightGradient: m = !1
|
|
573
|
-
},
|
|
574
|
-
const
|
|
575
|
-
ka(
|
|
576
|
-
enabled:
|
|
577
|
-
}), Rt(
|
|
573
|
+
}, d) => {
|
|
574
|
+
const u = Z(null), b = Z(null), x = Z(e.length), v = Z(null), S = Z(null), M = Z("user");
|
|
575
|
+
ka(b, u, {
|
|
576
|
+
enabled: g
|
|
577
|
+
}), Rt(d, () => ({
|
|
578
578
|
next: () => {
|
|
579
|
-
var
|
|
580
|
-
return (
|
|
579
|
+
var $;
|
|
580
|
+
return ($ = u.current) == null ? void 0 : $.go(">");
|
|
581
581
|
},
|
|
582
582
|
prev: () => {
|
|
583
|
-
var
|
|
584
|
-
return (
|
|
583
|
+
var $;
|
|
584
|
+
return ($ = u.current) == null ? void 0 : $.go("<");
|
|
585
585
|
},
|
|
586
|
-
go: (
|
|
586
|
+
go: ($) => {
|
|
587
587
|
var y;
|
|
588
|
-
return (y =
|
|
588
|
+
return (y = u.current) == null ? void 0 : y.go($);
|
|
589
589
|
}
|
|
590
590
|
}));
|
|
591
|
-
const
|
|
591
|
+
const E = ($) => {
|
|
592
592
|
var G;
|
|
593
|
-
const y =
|
|
593
|
+
const y = $.Components.Slides, I = $.Components.Controller, F = $.root.querySelector(".splide__track"), B = (G = F == null ? void 0 : F.clientWidth) != null ? G : 0, P = I.getIndex(), W = y.getLength();
|
|
594
594
|
let V = 0, H = P;
|
|
595
595
|
for (let D = P; D < W; D++) {
|
|
596
596
|
const K = y.getAt(D);
|
|
@@ -598,14 +598,14 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
598
598
|
H = D;
|
|
599
599
|
}
|
|
600
600
|
return { visibleStart: P, visibleEnd: H };
|
|
601
|
-
}, _ = (
|
|
602
|
-
const y =
|
|
601
|
+
}, _ = ($) => {
|
|
602
|
+
const y = $.root.querySelector(".splide__track"), I = $.root.querySelector(".splide__list");
|
|
603
603
|
return !y || !I ? !1 : I.scrollWidth > y.clientWidth + 1;
|
|
604
|
-
},
|
|
604
|
+
}, C = Z(!1), O = Pe(($) => {
|
|
605
605
|
var G, D;
|
|
606
|
-
if (
|
|
607
|
-
const I =
|
|
608
|
-
if (M.current = "user", !_(
|
|
606
|
+
if (C.current) return;
|
|
607
|
+
const I = $.Components.Slides.getLength(), F = M.current;
|
|
608
|
+
if (M.current = "user", !_($)) {
|
|
609
609
|
c == null || c({
|
|
610
610
|
index: 0,
|
|
611
611
|
isStart: !0,
|
|
@@ -617,9 +617,9 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
617
617
|
});
|
|
618
618
|
return;
|
|
619
619
|
}
|
|
620
|
-
const { visibleStart: B, visibleEnd: P } =
|
|
621
|
-
m && ((G = v.current) == null || G.style.setProperty("--gradient-opacity", W ? "0" : "1"), (D =
|
|
622
|
-
const H =
|
|
620
|
+
const { visibleStart: B, visibleEnd: P } = E($), W = B === 0, V = P === I - 1;
|
|
621
|
+
m && ((G = v.current) == null || G.style.setProperty("--gradient-opacity", W ? "0" : "1"), (D = S.current) == null || D.style.setProperty("--gradient-opacity", V ? "0" : "1"));
|
|
622
|
+
const H = $.Components.Controller.getIndex();
|
|
623
623
|
c == null || c({
|
|
624
624
|
index: H,
|
|
625
625
|
isStart: W,
|
|
@@ -632,36 +632,36 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
632
632
|
}, [c]);
|
|
633
633
|
ve.useEffect(() => {
|
|
634
634
|
var I;
|
|
635
|
-
const
|
|
636
|
-
if (
|
|
635
|
+
const $ = (I = u.current) == null ? void 0 : I.splide;
|
|
636
|
+
if (!$) return;
|
|
637
637
|
const y = x.current !== e.length;
|
|
638
638
|
x.current = e.length, y && requestAnimationFrame(() => {
|
|
639
|
-
|
|
639
|
+
C.current = !0;
|
|
640
640
|
try {
|
|
641
|
-
|
|
641
|
+
$.refresh();
|
|
642
642
|
} finally {
|
|
643
|
-
|
|
643
|
+
C.current = !1;
|
|
644
644
|
}
|
|
645
|
-
M.current = "resize",
|
|
645
|
+
M.current = "resize", O($);
|
|
646
646
|
});
|
|
647
|
-
}, [e.length,
|
|
648
|
-
const
|
|
647
|
+
}, [e.length, O]);
|
|
648
|
+
const w = Pe(() => {
|
|
649
649
|
var y;
|
|
650
|
-
const
|
|
651
|
-
if (
|
|
652
|
-
|
|
650
|
+
const $ = (y = u.current) == null ? void 0 : y.splide;
|
|
651
|
+
if ($) {
|
|
652
|
+
C.current = !0;
|
|
653
653
|
try {
|
|
654
|
-
|
|
654
|
+
$.go(0, !1);
|
|
655
655
|
} finally {
|
|
656
|
-
|
|
656
|
+
C.current = !1;
|
|
657
657
|
}
|
|
658
|
-
M.current = "resize",
|
|
658
|
+
M.current = "resize", O($);
|
|
659
659
|
}
|
|
660
|
-
}, [
|
|
661
|
-
(
|
|
662
|
-
M.current = "mounted",
|
|
660
|
+
}, [O]), L = Pe(
|
|
661
|
+
($) => {
|
|
662
|
+
M.current = "mounted", O($);
|
|
663
663
|
},
|
|
664
|
-
[
|
|
664
|
+
[O]
|
|
665
665
|
), R = {
|
|
666
666
|
type: "slide",
|
|
667
667
|
trimSpace: !1,
|
|
@@ -674,38 +674,38 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
674
674
|
perPage: n,
|
|
675
675
|
gap: o,
|
|
676
676
|
breakpoints: i,
|
|
677
|
-
...
|
|
678
|
-
...
|
|
677
|
+
...s,
|
|
678
|
+
...g ? { wheel: !1 } : {}
|
|
679
679
|
};
|
|
680
|
-
return /* @__PURE__ */
|
|
680
|
+
return /* @__PURE__ */ h(
|
|
681
681
|
"div",
|
|
682
682
|
{
|
|
683
|
-
ref:
|
|
684
|
-
className:
|
|
683
|
+
ref: b,
|
|
684
|
+
className: l,
|
|
685
685
|
style: { width: "100%", position: "relative", height: "100%" },
|
|
686
686
|
children: [
|
|
687
687
|
/* @__PURE__ */ t(
|
|
688
688
|
Ba,
|
|
689
689
|
{
|
|
690
|
-
ref:
|
|
690
|
+
ref: u,
|
|
691
691
|
options: R,
|
|
692
|
-
onMove:
|
|
692
|
+
onMove: O,
|
|
693
693
|
onMounted: L,
|
|
694
|
-
onResize:
|
|
695
|
-
children: e.map((
|
|
694
|
+
onResize: w,
|
|
695
|
+
children: e.map(($, y) => {
|
|
696
696
|
var I;
|
|
697
|
-
return /* @__PURE__ */ t(La, { children: a(
|
|
697
|
+
return /* @__PURE__ */ t(La, { children: a($, y) }, f ? y : (I = $.id) != null ? I : y);
|
|
698
698
|
})
|
|
699
699
|
}
|
|
700
700
|
),
|
|
701
|
-
m && /* @__PURE__ */
|
|
701
|
+
m && /* @__PURE__ */ h(te, { children: [
|
|
702
702
|
/* @__PURE__ */ t(
|
|
703
703
|
"div",
|
|
704
704
|
{
|
|
705
705
|
ref: v,
|
|
706
706
|
className: `${ke.gradientOverlay} ${ke.left}`,
|
|
707
707
|
style: { "--gradient-opacity": "0" },
|
|
708
|
-
children: /* @__PURE__ */
|
|
708
|
+
children: /* @__PURE__ */ h(
|
|
709
709
|
"svg",
|
|
710
710
|
{
|
|
711
711
|
className: ke.svg,
|
|
@@ -715,7 +715,7 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
715
715
|
xmlns: "http://www.w3.org/2000/svg",
|
|
716
716
|
children: [
|
|
717
717
|
/* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
|
|
718
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */
|
|
718
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ h("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
|
|
719
719
|
/* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
|
|
720
720
|
/* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
|
|
721
721
|
] }) })
|
|
@@ -727,10 +727,10 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
727
727
|
/* @__PURE__ */ t(
|
|
728
728
|
"div",
|
|
729
729
|
{
|
|
730
|
-
ref:
|
|
730
|
+
ref: S,
|
|
731
731
|
className: `${ke.gradientOverlay} ${ke.right}`,
|
|
732
732
|
style: { "--gradient-opacity": "1" },
|
|
733
|
-
children: /* @__PURE__ */
|
|
733
|
+
children: /* @__PURE__ */ h(
|
|
734
734
|
"svg",
|
|
735
735
|
{
|
|
736
736
|
className: ke.svg,
|
|
@@ -740,7 +740,7 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
740
740
|
xmlns: "http://www.w3.org/2000/svg",
|
|
741
741
|
children: [
|
|
742
742
|
/* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
|
|
743
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */
|
|
743
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ h("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
|
|
744
744
|
/* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
|
|
745
745
|
/* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
|
|
746
746
|
] }) })
|
|
@@ -760,10 +760,10 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
760
760
|
size: n = "sm",
|
|
761
761
|
fillParent: o = !1
|
|
762
762
|
}) => {
|
|
763
|
-
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 },
|
|
763
|
+
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, s = (c) => {
|
|
764
764
|
c.stopPropagation(), a == null || a();
|
|
765
|
-
},
|
|
766
|
-
return /* @__PURE__ */
|
|
765
|
+
}, l = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
|
|
766
|
+
return /* @__PURE__ */ h(
|
|
767
767
|
z,
|
|
768
768
|
{
|
|
769
769
|
onClick: a,
|
|
@@ -774,7 +774,7 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
774
774
|
overflow: "hidden",
|
|
775
775
|
boxSizing: "border-box",
|
|
776
776
|
transition: "transform .15s ease, box-shadow .15s ease",
|
|
777
|
-
...
|
|
777
|
+
...l,
|
|
778
778
|
"&:hover": {
|
|
779
779
|
transform: "translateY(-2px)",
|
|
780
780
|
boxShadow: 8,
|
|
@@ -834,7 +834,7 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
834
834
|
transition: "opacity .15s ease, transform .15s ease",
|
|
835
835
|
pointerEvents: "none"
|
|
836
836
|
},
|
|
837
|
-
children: /* @__PURE__ */ t(ae, { variant: "primary", size: "md", onClick:
|
|
837
|
+
children: /* @__PURE__ */ t(ae, { variant: "primary", size: "md", onClick: s, children: "Jugar" })
|
|
838
838
|
}
|
|
839
839
|
)
|
|
840
840
|
]
|
|
@@ -851,29 +851,29 @@ function Ra({
|
|
|
851
851
|
md: { w: 186, h: 264, r: 22.6, font: 64 }
|
|
852
852
|
}
|
|
853
853
|
}) {
|
|
854
|
-
var
|
|
855
|
-
const
|
|
856
|
-
var M,
|
|
854
|
+
var d, u, b, x;
|
|
855
|
+
const s = (v, S) => {
|
|
856
|
+
var M, E, _, C;
|
|
857
857
|
return {
|
|
858
|
-
xs: (
|
|
859
|
-
md: (
|
|
858
|
+
xs: (E = (M = i.xs) == null ? void 0 : M[v]) != null ? E : S,
|
|
859
|
+
md: (C = (_ = i.md) == null ? void 0 : _[v]) != null ? C : S
|
|
860
860
|
};
|
|
861
|
-
},
|
|
862
|
-
xs: Math.round(((
|
|
863
|
-
md: Math.round(((x = (
|
|
861
|
+
}, l = s("w", 186), c = s("h", 264), f = s("r", 22.6), g = s("font", 64), m = {
|
|
862
|
+
xs: Math.round(((u = (d = i.xs) == null ? void 0 : d.font) != null ? u : 64) * 0.28),
|
|
863
|
+
md: Math.round(((x = (b = i.md) == null ? void 0 : b.font) != null ? x : 64) * 0.28)
|
|
864
864
|
};
|
|
865
|
-
return /* @__PURE__ */
|
|
865
|
+
return /* @__PURE__ */ h(
|
|
866
866
|
z,
|
|
867
867
|
{
|
|
868
868
|
sx: {
|
|
869
869
|
position: "relative",
|
|
870
870
|
width: "100%",
|
|
871
|
-
maxWidth: { xs: `${
|
|
871
|
+
maxWidth: { xs: `${l.xs}px`, md: `${l.md}px` },
|
|
872
872
|
aspectRatio: {
|
|
873
|
-
xs: `${
|
|
874
|
-
md: `${
|
|
873
|
+
xs: `${l.xs}/${c.xs}`,
|
|
874
|
+
md: `${l.md}/${c.md}`
|
|
875
875
|
},
|
|
876
|
-
borderRadius: { xs: `${
|
|
876
|
+
borderRadius: { xs: `${f.xs}px`, md: `${f.md}px` },
|
|
877
877
|
boxSizing: "border-box",
|
|
878
878
|
overflow: "visible",
|
|
879
879
|
pb: { xs: `${m.xs}px`, md: `${m.md}px` },
|
|
@@ -936,8 +936,8 @@ function Ra({
|
|
|
936
936
|
},
|
|
937
937
|
fontFamily: '"secondary", sans-serif',
|
|
938
938
|
fontSize: {
|
|
939
|
-
xs: `${
|
|
940
|
-
md: `${
|
|
939
|
+
xs: `${g.xs}px`,
|
|
940
|
+
md: `${g.md}px`
|
|
941
941
|
},
|
|
942
942
|
lineHeight: 1,
|
|
943
943
|
color: "#3CC666",
|
|
@@ -958,10 +958,10 @@ const nt = ({
|
|
|
958
958
|
providerName: n,
|
|
959
959
|
machine: o,
|
|
960
960
|
onClick: i,
|
|
961
|
-
loading:
|
|
961
|
+
loading: s = !1
|
|
962
962
|
}) => {
|
|
963
|
-
var
|
|
964
|
-
return
|
|
963
|
+
var l;
|
|
964
|
+
return s ? /* @__PURE__ */ t(
|
|
965
965
|
z,
|
|
966
966
|
{
|
|
967
967
|
sx: {
|
|
@@ -987,7 +987,7 @@ const nt = ({
|
|
|
987
987
|
}
|
|
988
988
|
)
|
|
989
989
|
}
|
|
990
|
-
) : /* @__PURE__ */
|
|
990
|
+
) : /* @__PURE__ */ h(
|
|
991
991
|
z,
|
|
992
992
|
{
|
|
993
993
|
onClick: i,
|
|
@@ -1050,7 +1050,7 @@ const nt = ({
|
|
|
1050
1050
|
fontSize: { xs: 11, md: 14 },
|
|
1051
1051
|
textTransform: "capitalize"
|
|
1052
1052
|
},
|
|
1053
|
-
children: (
|
|
1053
|
+
children: (l = a != null ? a : n) != null ? l : ""
|
|
1054
1054
|
}
|
|
1055
1055
|
)
|
|
1056
1056
|
}
|
|
@@ -1080,10 +1080,10 @@ const nt = ({
|
|
|
1080
1080
|
loading: o = !1,
|
|
1081
1081
|
gridSkeletonCount: i = 4
|
|
1082
1082
|
}) => {
|
|
1083
|
-
var
|
|
1083
|
+
var s, l;
|
|
1084
1084
|
if (a === "mosaic") {
|
|
1085
|
-
const c = e[0],
|
|
1086
|
-
return /* @__PURE__ */
|
|
1085
|
+
const c = e[0], f = e.slice(1, 5);
|
|
1086
|
+
return /* @__PURE__ */ h(
|
|
1087
1087
|
z,
|
|
1088
1088
|
{
|
|
1089
1089
|
sx: {
|
|
@@ -1120,7 +1120,7 @@ const nt = ({
|
|
|
1120
1120
|
children: o ? /* @__PURE__ */ t(je, {}) : c && /* @__PURE__ */ t(
|
|
1121
1121
|
Fe,
|
|
1122
1122
|
{
|
|
1123
|
-
imageUrl: `https://olimpo.bet${(
|
|
1123
|
+
imageUrl: `https://olimpo.bet${(l = (s = c.background) != null ? s : c.imageUrl) != null ? l : ""}`,
|
|
1124
1124
|
size: "lg",
|
|
1125
1125
|
fillParent: !0,
|
|
1126
1126
|
onClick: () => n == null ? void 0 : n(c, 0)
|
|
@@ -1128,8 +1128,8 @@ const nt = ({
|
|
|
1128
1128
|
)
|
|
1129
1129
|
}
|
|
1130
1130
|
),
|
|
1131
|
-
(o ? Array.from({ length: 4 }) :
|
|
1132
|
-
var
|
|
1131
|
+
(o ? Array.from({ length: 4 }) : f).map((g, m) => {
|
|
1132
|
+
var d, u;
|
|
1133
1133
|
return /* @__PURE__ */ t(
|
|
1134
1134
|
z,
|
|
1135
1135
|
{
|
|
@@ -1142,14 +1142,14 @@ const nt = ({
|
|
|
1142
1142
|
children: o ? /* @__PURE__ */ t(je, {}) : /* @__PURE__ */ t(
|
|
1143
1143
|
Fe,
|
|
1144
1144
|
{
|
|
1145
|
-
imageUrl: `https://olimpo.bet${(
|
|
1145
|
+
imageUrl: `https://olimpo.bet${(u = (d = g.background) != null ? d : g.imageUrl) != null ? u : ""}`,
|
|
1146
1146
|
size: "sm",
|
|
1147
1147
|
fillParent: !0,
|
|
1148
|
-
onClick: () => n == null ? void 0 : n(
|
|
1148
|
+
onClick: () => n == null ? void 0 : n(g, m + 1)
|
|
1149
1149
|
}
|
|
1150
1150
|
)
|
|
1151
1151
|
},
|
|
1152
|
-
o ? `sk-${m}` :
|
|
1152
|
+
o ? `sk-${m}` : g.id
|
|
1153
1153
|
);
|
|
1154
1154
|
})
|
|
1155
1155
|
]
|
|
@@ -1172,8 +1172,8 @@ const nt = ({
|
|
|
1172
1172
|
gap: `${Ze}px`,
|
|
1173
1173
|
gridAutoFlow: "column"
|
|
1174
1174
|
},
|
|
1175
|
-
children: (o ? Array.from({ length: i }) : e).map((c,
|
|
1176
|
-
var
|
|
1175
|
+
children: (o ? Array.from({ length: i }) : e).map((c, f) => {
|
|
1176
|
+
var g, m, d;
|
|
1177
1177
|
return /* @__PURE__ */ t(
|
|
1178
1178
|
z,
|
|
1179
1179
|
{
|
|
@@ -1181,14 +1181,14 @@ const nt = ({
|
|
|
1181
1181
|
children: o ? /* @__PURE__ */ t(je, {}) : /* @__PURE__ */ t(
|
|
1182
1182
|
Fe,
|
|
1183
1183
|
{
|
|
1184
|
-
imageUrl: `https://olimpo.bet${(m = (
|
|
1184
|
+
imageUrl: `https://olimpo.bet${(m = (g = c.background) != null ? g : c.imageUrl) != null ? m : ""}`,
|
|
1185
1185
|
size: "sm",
|
|
1186
1186
|
fillParent: !0,
|
|
1187
|
-
onClick: () => n == null ? void 0 : n(c,
|
|
1187
|
+
onClick: () => n == null ? void 0 : n(c, f)
|
|
1188
1188
|
}
|
|
1189
1189
|
)
|
|
1190
1190
|
},
|
|
1191
|
-
o ? `sk-${
|
|
1191
|
+
o ? `sk-${f}` : (d = c.id) != null ? d : f
|
|
1192
1192
|
);
|
|
1193
1193
|
})
|
|
1194
1194
|
}
|
|
@@ -1199,13 +1199,13 @@ const nt = ({
|
|
|
1199
1199
|
subtitle: n,
|
|
1200
1200
|
buttonText: o,
|
|
1201
1201
|
onButtonClick: i,
|
|
1202
|
-
backgroundImage:
|
|
1203
|
-
alt:
|
|
1202
|
+
backgroundImage: s,
|
|
1203
|
+
alt: l,
|
|
1204
1204
|
className: c = "",
|
|
1205
|
-
variant:
|
|
1205
|
+
variant: f = "small"
|
|
1206
1206
|
}) => {
|
|
1207
|
-
const
|
|
1208
|
-
return /* @__PURE__ */
|
|
1207
|
+
const g = a ? a.slice(0, 2) : "", m = a ? a.slice(2) : "", d = f === "large";
|
|
1208
|
+
return /* @__PURE__ */ h(
|
|
1209
1209
|
z,
|
|
1210
1210
|
{
|
|
1211
1211
|
className: c,
|
|
@@ -1214,12 +1214,12 @@ const nt = ({
|
|
|
1214
1214
|
width: "100%",
|
|
1215
1215
|
maxWidth: {
|
|
1216
1216
|
xs: 328,
|
|
1217
|
-
md:
|
|
1217
|
+
md: d ? 618 : 456
|
|
1218
1218
|
},
|
|
1219
1219
|
mx: "auto"
|
|
1220
1220
|
},
|
|
1221
1221
|
children: [
|
|
1222
|
-
|
|
1222
|
+
s && /* @__PURE__ */ t(
|
|
1223
1223
|
z,
|
|
1224
1224
|
{
|
|
1225
1225
|
sx: {
|
|
@@ -1227,7 +1227,7 @@ const nt = ({
|
|
|
1227
1227
|
width: "100%",
|
|
1228
1228
|
aspectRatio: {
|
|
1229
1229
|
xs: "328 / 188",
|
|
1230
|
-
md:
|
|
1230
|
+
md: d ? "618 / 346" : "456 / 272"
|
|
1231
1231
|
},
|
|
1232
1232
|
borderRadius: "14px",
|
|
1233
1233
|
overflow: "hidden"
|
|
@@ -1236,8 +1236,8 @@ const nt = ({
|
|
|
1236
1236
|
z,
|
|
1237
1237
|
{
|
|
1238
1238
|
component: "img",
|
|
1239
|
-
src:
|
|
1240
|
-
alt:
|
|
1239
|
+
src: s,
|
|
1240
|
+
alt: l != null ? l : "Fondo promocional",
|
|
1241
1241
|
sx: {
|
|
1242
1242
|
width: "100%",
|
|
1243
1243
|
height: "100%",
|
|
@@ -1266,7 +1266,7 @@ const nt = ({
|
|
|
1266
1266
|
pl: "14%",
|
|
1267
1267
|
pr: { xs: "14%", lg: "15%" }
|
|
1268
1268
|
},
|
|
1269
|
-
children: /* @__PURE__ */
|
|
1269
|
+
children: /* @__PURE__ */ h(
|
|
1270
1270
|
z,
|
|
1271
1271
|
{
|
|
1272
1272
|
sx: {
|
|
@@ -1287,7 +1287,7 @@ const nt = ({
|
|
|
1287
1287
|
children: e
|
|
1288
1288
|
}
|
|
1289
1289
|
),
|
|
1290
|
-
a && /* @__PURE__ */
|
|
1290
|
+
a && /* @__PURE__ */ h(
|
|
1291
1291
|
z,
|
|
1292
1292
|
{
|
|
1293
1293
|
component: "p",
|
|
@@ -1310,7 +1310,7 @@ const nt = ({
|
|
|
1310
1310
|
{
|
|
1311
1311
|
component: "span",
|
|
1312
1312
|
sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
|
|
1313
|
-
children:
|
|
1313
|
+
children: g
|
|
1314
1314
|
}
|
|
1315
1315
|
),
|
|
1316
1316
|
/* @__PURE__ */ t(
|
|
@@ -1351,9 +1351,9 @@ const nt = ({
|
|
|
1351
1351
|
onClick: n,
|
|
1352
1352
|
imgAlt: o = "Club Olimpo",
|
|
1353
1353
|
imgSrcMobile: i,
|
|
1354
|
-
imgSrcDesktopBg:
|
|
1355
|
-
imgSrcDesktopLogo:
|
|
1356
|
-
}) => /* @__PURE__ */
|
|
1354
|
+
imgSrcDesktopBg: s,
|
|
1355
|
+
imgSrcDesktopLogo: l
|
|
1356
|
+
}) => /* @__PURE__ */ h(te, { children: [
|
|
1357
1357
|
/* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
|
|
1358
1358
|
"img",
|
|
1359
1359
|
{
|
|
@@ -1362,20 +1362,20 @@ const nt = ({
|
|
|
1362
1362
|
className: "orc-co-bgMobileImg"
|
|
1363
1363
|
}
|
|
1364
1364
|
) }),
|
|
1365
|
-
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */
|
|
1366
|
-
|
|
1365
|
+
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ h("div", { className: "orc-co-desktopInner", children: [
|
|
1366
|
+
s && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
|
|
1367
1367
|
"img",
|
|
1368
1368
|
{
|
|
1369
|
-
src:
|
|
1369
|
+
src: s,
|
|
1370
1370
|
alt: `${o} fondo`,
|
|
1371
1371
|
className: "orc-co-bgDesktopImg"
|
|
1372
1372
|
}
|
|
1373
1373
|
) }),
|
|
1374
|
-
/* @__PURE__ */
|
|
1375
|
-
|
|
1374
|
+
/* @__PURE__ */ h("div", { className: "orc-co-desktopContent", children: [
|
|
1375
|
+
l && /* @__PURE__ */ t(
|
|
1376
1376
|
"img",
|
|
1377
1377
|
{
|
|
1378
|
-
src:
|
|
1378
|
+
src: l,
|
|
1379
1379
|
alt: `${o} logo`,
|
|
1380
1380
|
className: "orc-co-logoImg"
|
|
1381
1381
|
}
|
|
@@ -1384,22 +1384,22 @@ const nt = ({
|
|
|
1384
1384
|
/* @__PURE__ */ t(ae, { onClick: n, variant: "primary", size: "md", children: a })
|
|
1385
1385
|
] })
|
|
1386
1386
|
] }) }),
|
|
1387
|
-
/* @__PURE__ */
|
|
1387
|
+
/* @__PURE__ */ h("div", { className: "orc-co-bottom", children: [
|
|
1388
1388
|
/* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
|
|
1389
1389
|
/* @__PURE__ */ t(ae, { onClick: n, variant: "primary", size: "md", children: a })
|
|
1390
1390
|
] })
|
|
1391
|
-
] }), Fa = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY",
|
|
1391
|
+
] }), Fa = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ua = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", za = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", qa = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Da = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", Wa = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Va = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Ha = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ga = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", fe = {
|
|
1392
1392
|
card: Fa,
|
|
1393
|
-
combinadas:
|
|
1393
|
+
combinadas: Ua,
|
|
1394
1394
|
combinadasScroll: za,
|
|
1395
|
-
apuestaItem:
|
|
1395
|
+
apuestaItem: qa,
|
|
1396
1396
|
lineContainer: Da,
|
|
1397
1397
|
circle: Wa,
|
|
1398
1398
|
line: Va,
|
|
1399
1399
|
apuestaText: Ha,
|
|
1400
1400
|
cuotaTotal: Ga
|
|
1401
1401
|
};
|
|
1402
|
-
function
|
|
1402
|
+
function qe(e, a) {
|
|
1403
1403
|
const n = Array.isArray(a) ? a : [a];
|
|
1404
1404
|
sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = e;
|
|
1405
1405
|
}
|
|
@@ -1433,67 +1433,67 @@ const It = Pt(void 0), Tt = ({ children: e, docId: a, moduleId: n }) => {
|
|
|
1433
1433
|
return e;
|
|
1434
1434
|
}, ce = () => Et().docId, pe = () => Et().moduleId;
|
|
1435
1435
|
function Ja({ coupon: e }) {
|
|
1436
|
-
var
|
|
1436
|
+
var g;
|
|
1437
1437
|
const a = se(), n = ce();
|
|
1438
1438
|
function o(m) {
|
|
1439
|
-
var
|
|
1440
|
-
const
|
|
1439
|
+
var b, x;
|
|
1440
|
+
const d = [], u = Array.from(
|
|
1441
1441
|
new Map(
|
|
1442
|
-
((
|
|
1442
|
+
((b = m == null ? void 0 : m.events) != null ? b : []).filter(Boolean).map((v) => [v.id, v])
|
|
1443
1443
|
).values()
|
|
1444
1444
|
);
|
|
1445
|
-
return
|
|
1445
|
+
return u.forEach((v) => {
|
|
1446
1446
|
var _;
|
|
1447
|
-
const
|
|
1448
|
-
|
|
1449
|
-
var R,
|
|
1450
|
-
if (!((R =
|
|
1451
|
-
const
|
|
1452
|
-
if (!
|
|
1453
|
-
let
|
|
1454
|
-
const L =
|
|
1455
|
-
["Más de", "Mas de", "Over"].includes(
|
|
1456
|
-
id:
|
|
1457
|
-
value:
|
|
1458
|
-
label: (F = (I =
|
|
1459
|
-
odds: (B =
|
|
1460
|
-
position: (P =
|
|
1447
|
+
const S = (_ = v.betoffers) != null ? _ : [], M = v.homeName, E = v.awayName;
|
|
1448
|
+
S.forEach((C) => {
|
|
1449
|
+
var R, $, y, I, F, B, P;
|
|
1450
|
+
if (!((R = C == null ? void 0 : C.outcomes) != null && R.length)) return;
|
|
1451
|
+
const O = C.outcomes[0];
|
|
1452
|
+
if (!O) return;
|
|
1453
|
+
let w = "";
|
|
1454
|
+
const L = O != null && O.line ? O.line / 1e3 : "";
|
|
1455
|
+
["Más de", "Mas de", "Over"].includes(O.label) ? (w = `Más de ${L}`, O.participant && (w = `${O.participant} - ${w}`)) : ["Menos de", "Menos", "Under"].includes(O.label) ? (w = `Menos de ${L}`, O.participant && (w = `${O.participant} - ${w}`)) : ["Sí", "No"].includes(O.label) ? (w = O.label, O.participant && (w = `${O.participant} - ${w}`)) : ["1X", "12", "X2"].includes(O.label) ? (O.label === "1X" && (w = `${M} o Empate`), O.label === "12" && (w = `${M} o ${E}`), O.label === "X2" && (w = `${E} o Empate`)) : (w = (y = ($ = O.participant) != null ? $ : O.label) != null ? y : "", L !== "" && w === O.label && (w = `${O.label} ${L}`)), d.push({
|
|
1456
|
+
id: O.id,
|
|
1457
|
+
value: w,
|
|
1458
|
+
label: (F = (I = C.criterion) == null ? void 0 : I.label) != null ? F : "",
|
|
1459
|
+
odds: (B = O.odds) != null ? B : 0,
|
|
1460
|
+
position: (P = O.position) != null ? P : 0,
|
|
1461
1461
|
eventId: v.id
|
|
1462
1462
|
});
|
|
1463
1463
|
});
|
|
1464
1464
|
}), {
|
|
1465
|
-
outcomes:
|
|
1465
|
+
outcomes: d.sort((v, S) => v.position - S.position),
|
|
1466
1466
|
total: Number((x = m == null ? void 0 : m.combinadoTotal) != null ? x : 0).toLocaleString("en-US", {
|
|
1467
1467
|
minimumFractionDigits: 2,
|
|
1468
1468
|
maximumFractionDigits: 2
|
|
1469
1469
|
}),
|
|
1470
|
-
events:
|
|
1470
|
+
events: u
|
|
1471
1471
|
};
|
|
1472
1472
|
}
|
|
1473
1473
|
function i(m) {
|
|
1474
1474
|
if (!m || !Array.isArray(m.events) || m.events.length === 0)
|
|
1475
1475
|
return "/deportes#home";
|
|
1476
|
-
const
|
|
1477
|
-
if (
|
|
1478
|
-
return `/deportes#event/${
|
|
1479
|
-
const
|
|
1480
|
-
if (
|
|
1481
|
-
const x =
|
|
1476
|
+
const d = m.events;
|
|
1477
|
+
if (d.length === 1)
|
|
1478
|
+
return `/deportes#event/${d[0].id}`;
|
|
1479
|
+
const u = d[0].groupId;
|
|
1480
|
+
if (d.every((x) => x.groupId === u)) {
|
|
1481
|
+
const x = d[0].path;
|
|
1482
1482
|
if (Array.isArray(x) && x.length > 0)
|
|
1483
|
-
return `/deportes#sports-hub/${x.map((
|
|
1483
|
+
return `/deportes#sports-hub/${x.map((S) => S.termKey).filter(Boolean).join("/")}`;
|
|
1484
1484
|
}
|
|
1485
1485
|
return "/deportes#home";
|
|
1486
1486
|
}
|
|
1487
|
-
const
|
|
1488
|
-
const
|
|
1487
|
+
const s = (m, d) => {
|
|
1488
|
+
const u = Array.isArray(m) ? m : [m], b = Array.from(
|
|
1489
1489
|
new Set(
|
|
1490
|
-
|
|
1491
|
-
var
|
|
1492
|
-
const M =
|
|
1493
|
-
return (
|
|
1490
|
+
l.outcomes.map((S) => {
|
|
1491
|
+
var E;
|
|
1492
|
+
const M = f.get(Number(S.eventId));
|
|
1493
|
+
return (E = M == null ? void 0 : M.name) != null ? E : "";
|
|
1494
1494
|
})
|
|
1495
1495
|
)
|
|
1496
|
-
).filter(Boolean), x =
|
|
1496
|
+
).filter(Boolean), x = b.length > 0 ? b.join(" + ") : JSON.stringify(u), v = d ? `${x} - Cuota: ${d}` : x;
|
|
1497
1497
|
a({
|
|
1498
1498
|
element: "evento_semana_outcome",
|
|
1499
1499
|
label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${v}`,
|
|
@@ -1504,16 +1504,16 @@ function Ja({ coupon: e }) {
|
|
|
1504
1504
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1505
1505
|
},
|
|
1506
1506
|
tags: { section: "OraculoEventCombinadasCard", outcomes: v }
|
|
1507
|
-
}),
|
|
1507
|
+
}), qe(i(e), m);
|
|
1508
1508
|
};
|
|
1509
|
-
if (!((
|
|
1510
|
-
const
|
|
1511
|
-
|
|
1509
|
+
if (!((g = e == null ? void 0 : e.events) != null && g.length)) return null;
|
|
1510
|
+
const l = o(e), c = l.outcomes.reduce((m, d) => (m[d.eventId] || (m[d.eventId] = []), m[d.eventId].push(d), m), {}), f = new Map(
|
|
1511
|
+
l.events.map((m) => [m.id, m])
|
|
1512
1512
|
);
|
|
1513
|
-
return /* @__PURE__ */
|
|
1514
|
-
/* @__PURE__ */ t("div", { className: fe.combinadas, children: /* @__PURE__ */ t("div", { className: fe.combinadasScroll, children: /* @__PURE__ */ t(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(c).reverse().map(([m,
|
|
1515
|
-
const
|
|
1516
|
-
return
|
|
1513
|
+
return /* @__PURE__ */ h("div", { className: fe.card, children: [
|
|
1514
|
+
/* @__PURE__ */ t("div", { className: fe.combinadas, children: /* @__PURE__ */ t("div", { className: fe.combinadasScroll, children: /* @__PURE__ */ t(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(c).reverse().map(([m, d]) => {
|
|
1515
|
+
const u = f.get(Number(m));
|
|
1516
|
+
return u ? /* @__PURE__ */ h(
|
|
1517
1517
|
Q,
|
|
1518
1518
|
{
|
|
1519
1519
|
direction: "column",
|
|
@@ -1523,7 +1523,7 @@ function Ja({ coupon: e }) {
|
|
|
1523
1523
|
/* @__PURE__ */ t(
|
|
1524
1524
|
ye,
|
|
1525
1525
|
{
|
|
1526
|
-
title:
|
|
1526
|
+
title: u.name,
|
|
1527
1527
|
iconUrl: "/assets/img/home/Combinadas/pelota.png",
|
|
1528
1528
|
size: "xs"
|
|
1529
1529
|
}
|
|
@@ -1535,15 +1535,15 @@ function Ja({ coupon: e }) {
|
|
|
1535
1535
|
src: "/assets/img/home/Combinadas/line.png"
|
|
1536
1536
|
}
|
|
1537
1537
|
),
|
|
1538
|
-
|
|
1539
|
-
/* @__PURE__ */
|
|
1538
|
+
d.map((b, x) => /* @__PURE__ */ h("div", { className: fe.apuestaItem, children: [
|
|
1539
|
+
/* @__PURE__ */ h("div", { className: fe.lineContainer, children: [
|
|
1540
1540
|
/* @__PURE__ */ t("div", { className: fe.circle }),
|
|
1541
|
-
x <
|
|
1541
|
+
x < d.length - 1 && /* @__PURE__ */ t("div", { className: fe.line })
|
|
1542
1542
|
] }),
|
|
1543
|
-
/* @__PURE__ */
|
|
1544
|
-
/* @__PURE__ */ t("strong", { children:
|
|
1543
|
+
/* @__PURE__ */ h("div", { className: fe.apuestaText, children: [
|
|
1544
|
+
/* @__PURE__ */ t("strong", { children: b.value }),
|
|
1545
1545
|
" | ",
|
|
1546
|
-
|
|
1546
|
+
b.label
|
|
1547
1547
|
] })
|
|
1548
1548
|
] }, `${m}-${x}`))
|
|
1549
1549
|
]
|
|
@@ -1551,18 +1551,18 @@ function Ja({ coupon: e }) {
|
|
|
1551
1551
|
m
|
|
1552
1552
|
) : null;
|
|
1553
1553
|
}) }) }) }),
|
|
1554
|
-
/* @__PURE__ */
|
|
1554
|
+
/* @__PURE__ */ h(
|
|
1555
1555
|
"button",
|
|
1556
1556
|
{
|
|
1557
|
-
onClick: () =>
|
|
1558
|
-
|
|
1559
|
-
|
|
1557
|
+
onClick: () => s(
|
|
1558
|
+
l.outcomes.map((m) => m.id),
|
|
1559
|
+
l.total
|
|
1560
1560
|
),
|
|
1561
1561
|
className: fe.cuotaTotal,
|
|
1562
1562
|
children: [
|
|
1563
|
-
/* @__PURE__ */
|
|
1563
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1564
1564
|
"Cuota total: ",
|
|
1565
|
-
/* @__PURE__ */ t("strong", { children:
|
|
1565
|
+
/* @__PURE__ */ t("strong", { children: l.total })
|
|
1566
1566
|
] }),
|
|
1567
1567
|
/* @__PURE__ */ t(
|
|
1568
1568
|
"img",
|
|
@@ -1597,60 +1597,60 @@ function rt({
|
|
|
1597
1597
|
href: n,
|
|
1598
1598
|
target: o,
|
|
1599
1599
|
rel: i,
|
|
1600
|
-
type:
|
|
1601
|
-
disabled:
|
|
1600
|
+
type: s = "button",
|
|
1601
|
+
disabled: l = !1,
|
|
1602
1602
|
variant: c = "primary",
|
|
1603
|
-
size:
|
|
1604
|
-
fullWidth:
|
|
1603
|
+
size: f,
|
|
1604
|
+
fullWidth: g = !1,
|
|
1605
1605
|
fullHeight: m = !1,
|
|
1606
|
-
className:
|
|
1607
|
-
ariaLabel:
|
|
1608
|
-
leftIcon:
|
|
1606
|
+
className: d = "",
|
|
1607
|
+
ariaLabel: u,
|
|
1608
|
+
leftIcon: b,
|
|
1609
1609
|
rightIcon: x,
|
|
1610
1610
|
iconOnly: v
|
|
1611
1611
|
}) {
|
|
1612
|
-
const
|
|
1612
|
+
const S = !!e && e !== !0, _ = (!!b ? 1 : 0) + (!!x ? 1 : 0) == 1, C = v != null ? v : _ && !S, O = [
|
|
1613
1613
|
ge["orc-btn"],
|
|
1614
1614
|
// base
|
|
1615
1615
|
ge[`orc-btn--${c}`],
|
|
1616
1616
|
// variant primary/secondary/tertiary
|
|
1617
|
-
|
|
1617
|
+
f ? ge[`orc-btn--${f}`] : "",
|
|
1618
1618
|
// sm / md / lg
|
|
1619
|
-
|
|
1619
|
+
g ? ge["orc-btn--full"] : "",
|
|
1620
1620
|
m ? ge["orc-btn--fullHeight"] : "",
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
].filter(Boolean).join(" "),
|
|
1624
|
-
|
|
1625
|
-
|
|
1621
|
+
C ? ge["orc-btn--iconOnly"] : "",
|
|
1622
|
+
d
|
|
1623
|
+
].filter(Boolean).join(" "), w = /* @__PURE__ */ h(te, { children: [
|
|
1624
|
+
b && /* @__PURE__ */ t("span", { className: ge["orc-btn__icon"], children: b }),
|
|
1625
|
+
!C && /* @__PURE__ */ t("span", { className: ge["orc-btn__label"], children: e }),
|
|
1626
1626
|
x && /* @__PURE__ */ t("span", { className: ge["orc-btn__icon"], children: x })
|
|
1627
|
-
] }), L =
|
|
1627
|
+
] }), L = l ? !0 : void 0;
|
|
1628
1628
|
return n ? /* @__PURE__ */ t(
|
|
1629
1629
|
ht,
|
|
1630
1630
|
{
|
|
1631
1631
|
href: n,
|
|
1632
1632
|
target: o,
|
|
1633
1633
|
rel: i,
|
|
1634
|
-
"aria-label":
|
|
1634
|
+
"aria-label": u,
|
|
1635
1635
|
"aria-disabled": L,
|
|
1636
1636
|
tabIndex: L ? -1 : void 0,
|
|
1637
|
-
className:
|
|
1637
|
+
className: O,
|
|
1638
1638
|
onClick: L ? (R) => R.preventDefault() : a,
|
|
1639
|
-
children:
|
|
1639
|
+
children: w
|
|
1640
1640
|
}
|
|
1641
1641
|
) : /* @__PURE__ */ t(
|
|
1642
1642
|
"button",
|
|
1643
1643
|
{
|
|
1644
|
-
type:
|
|
1644
|
+
type: s,
|
|
1645
1645
|
onClick: a,
|
|
1646
1646
|
disabled: !!L,
|
|
1647
|
-
"aria-label":
|
|
1648
|
-
className:
|
|
1649
|
-
children:
|
|
1647
|
+
"aria-label": u,
|
|
1648
|
+
className: O,
|
|
1649
|
+
children: w
|
|
1650
1650
|
}
|
|
1651
1651
|
);
|
|
1652
1652
|
}
|
|
1653
|
-
const Xa = "oraculo__OraculoTennisScoreboard-module__tennisContainer___I3KST", Qa = "oraculo__OraculoTennisScoreboard-module__tennisTable___haqoS", Ya = "oraculo__OraculoTennisScoreboard-module__tennisTableRow___IbIkR", en = "oraculo__OraculoTennisScoreboard-module__colName___mNrno", tn = "oraculo__OraculoTennisScoreboard-module__colHeader___e3Eis", an = "oraculo__OraculoTennisScoreboard-module__serveDot___hn2Zf", nn = "oraculo__OraculoTennisScoreboard-module__activeServe___SMoyr", on = "oraculo__OraculoTennisScoreboard-module__cellPlayerNameHome___pUZjS", rn = "oraculo__OraculoTennisScoreboard-module__cellPlayerNameAway___jf9sp", ln = "oraculo__OraculoTennisScoreboard-module__playerName___OKXca", sn = "oraculo__OraculoTennisScoreboard-module__cellStat___QhEvN", cn = "oraculo__OraculoTennisScoreboard-module__active___5OX1k", dn = "oraculo__OraculoTennisScoreboard-module__border___Xzw2j", un = "oraculo__OraculoTennisScoreboard-module__hasDivider___Dv65A", mn = "oraculo__OraculoTennisScoreboard-module__colDot___euain", pn = "oraculo__OraculoTennisScoreboard-module__dotWrapper___k0gUr", fn = "oraculo__OraculoTennisScoreboard-module__cellDotHome___Y7hCS", gn = "oraculo__OraculoTennisScoreboard-module__cellDotAway___9Ugqr", hn = "oraculo__OraculoTennisScoreboard-module__cellHome___J2681", bn = "oraculo__OraculoTennisScoreboard-module__cellAway___yJ34F",
|
|
1653
|
+
const Xa = "oraculo__OraculoTennisScoreboard-module__tennisContainer___I3KST", Qa = "oraculo__OraculoTennisScoreboard-module__tennisTable___haqoS", Ya = "oraculo__OraculoTennisScoreboard-module__tennisTableRow___IbIkR", en = "oraculo__OraculoTennisScoreboard-module__colName___mNrno", tn = "oraculo__OraculoTennisScoreboard-module__colHeader___e3Eis", an = "oraculo__OraculoTennisScoreboard-module__serveDot___hn2Zf", nn = "oraculo__OraculoTennisScoreboard-module__activeServe___SMoyr", on = "oraculo__OraculoTennisScoreboard-module__cellPlayerNameHome___pUZjS", rn = "oraculo__OraculoTennisScoreboard-module__cellPlayerNameAway___jf9sp", ln = "oraculo__OraculoTennisScoreboard-module__playerName___OKXca", sn = "oraculo__OraculoTennisScoreboard-module__cellStat___QhEvN", cn = "oraculo__OraculoTennisScoreboard-module__active___5OX1k", dn = "oraculo__OraculoTennisScoreboard-module__border___Xzw2j", un = "oraculo__OraculoTennisScoreboard-module__hasDivider___Dv65A", mn = "oraculo__OraculoTennisScoreboard-module__colDot___euain", pn = "oraculo__OraculoTennisScoreboard-module__dotWrapper___k0gUr", fn = "oraculo__OraculoTennisScoreboard-module__cellDotHome___Y7hCS", gn = "oraculo__OraculoTennisScoreboard-module__cellDotAway___9Ugqr", hn = "oraculo__OraculoTennisScoreboard-module__cellHome___J2681", bn = "oraculo__OraculoTennisScoreboard-module__cellAway___yJ34F", q = {
|
|
1654
1654
|
tennisContainer: Xa,
|
|
1655
1655
|
tennisTable: Qa,
|
|
1656
1656
|
tennisTableRow: Ya,
|
|
@@ -1678,47 +1678,47 @@ function _n({
|
|
|
1678
1678
|
homeSets: n = [],
|
|
1679
1679
|
awaySets: o = [],
|
|
1680
1680
|
homePoints: i = "0",
|
|
1681
|
-
awayPoints:
|
|
1682
|
-
homeServe:
|
|
1681
|
+
awayPoints: s = "0",
|
|
1682
|
+
homeServe: l = !0
|
|
1683
1683
|
}) {
|
|
1684
1684
|
const c = n.reduce(
|
|
1685
|
-
(M,
|
|
1685
|
+
(M, E, _) => E >= 0 ? _ : M,
|
|
1686
1686
|
0
|
|
1687
1687
|
);
|
|
1688
|
-
let
|
|
1689
|
-
n.forEach((M,
|
|
1690
|
-
var
|
|
1691
|
-
const _ = (
|
|
1692
|
-
|
|
1688
|
+
let f = 0, g = 0;
|
|
1689
|
+
n.forEach((M, E) => {
|
|
1690
|
+
var C;
|
|
1691
|
+
const _ = (C = o[E]) != null ? C : -1;
|
|
1692
|
+
E !== c && M >= 0 && _ >= 0 && (M > _ && f++, _ > M && g++);
|
|
1693
1693
|
});
|
|
1694
|
-
const m = n[c] >= 0 ? n[c] : 0,
|
|
1694
|
+
const m = n[c] >= 0 ? n[c] : 0, d = o[c] >= 0 ? o[c] : 0, u = (M) => {
|
|
1695
1695
|
if (typeof M == "number") return M;
|
|
1696
|
-
const
|
|
1697
|
-
return
|
|
1698
|
-
},
|
|
1699
|
-
let v = !1,
|
|
1700
|
-
return
|
|
1701
|
-
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */
|
|
1702
|
-
/* @__PURE__ */ t("th", { className:
|
|
1703
|
-
/* @__PURE__ */ t("th", { className:
|
|
1704
|
-
/* @__PURE__ */ t("th", { className:
|
|
1705
|
-
/* @__PURE__ */ t("th", { className: `${
|
|
1706
|
-
/* @__PURE__ */ t("th", { className:
|
|
1696
|
+
const E = String(M).trim().toUpperCase();
|
|
1697
|
+
return E === "A" || E === "ADV" ? 50 : parseInt(E, 10) || 0;
|
|
1698
|
+
}, b = u(i), x = u(s);
|
|
1699
|
+
let v = !1, S = !1;
|
|
1700
|
+
return f !== g ? (v = f > g, S = g > f) : m !== d ? (v = m > d, S = d > m) : b !== x && (v = b > x, S = x > b), /* @__PURE__ */ t("div", { className: q.tennisContainer, children: /* @__PURE__ */ h("table", { className: q.tennisTable, children: [
|
|
1701
|
+
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */ h("tr", { style: { height: "18px" }, children: [
|
|
1702
|
+
/* @__PURE__ */ t("th", { className: q.colDot }),
|
|
1703
|
+
/* @__PURE__ */ t("th", { className: q.colName }),
|
|
1704
|
+
/* @__PURE__ */ t("th", { className: q.colHeader, children: "SETS" }),
|
|
1705
|
+
/* @__PURE__ */ t("th", { className: `${q.colHeader} ${q.border}`, style: { width: "62px" }, children: "JUEGOS" }),
|
|
1706
|
+
/* @__PURE__ */ t("th", { className: q.colHeader, children: "PTS" })
|
|
1707
1707
|
] }) }),
|
|
1708
|
-
/* @__PURE__ */
|
|
1709
|
-
/* @__PURE__ */
|
|
1710
|
-
/* @__PURE__ */ t("td", { className:
|
|
1711
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1712
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1713
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1714
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1708
|
+
/* @__PURE__ */ h("tbody", { children: [
|
|
1709
|
+
/* @__PURE__ */ h("tr", { className: q.tennisTableRow, children: [
|
|
1710
|
+
/* @__PURE__ */ t("td", { className: q.cellDotHome, children: /* @__PURE__ */ t("div", { className: q.dotWrapper, children: /* @__PURE__ */ t("span", { className: `${q.serveDot} ${l ? q.activeServe : ""}` }) }) }),
|
|
1711
|
+
/* @__PURE__ */ t("td", { className: `${q.cellPlayerNameHome} ${q.hasDivider}`, children: /* @__PURE__ */ t("span", { className: q.playerName, children: e }) }),
|
|
1712
|
+
/* @__PURE__ */ t("td", { className: `${q.cellStat} ${q.cellHome} ${q.hasDivider} ${v ? q.active : ""}`, children: f }),
|
|
1713
|
+
/* @__PURE__ */ t("td", { className: `${q.cellStat} ${q.cellHome} ${q.hasDivider} ${q.border} ${v ? q.active : ""}`, children: m }),
|
|
1714
|
+
/* @__PURE__ */ t("td", { className: `${q.cellStat} ${q.cellHome} ${q.hasDivider} ${v ? q.active : ""}`, children: i })
|
|
1715
1715
|
] }),
|
|
1716
|
-
/* @__PURE__ */
|
|
1717
|
-
/* @__PURE__ */ t("td", { className:
|
|
1718
|
-
/* @__PURE__ */ t("td", { className:
|
|
1719
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1720
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1721
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1716
|
+
/* @__PURE__ */ h("tr", { className: q.tennisTableRow, children: [
|
|
1717
|
+
/* @__PURE__ */ t("td", { className: q.cellDotAway, children: /* @__PURE__ */ t("div", { className: q.dotWrapper, children: /* @__PURE__ */ t("span", { className: `${q.serveDot} ${l ? "" : q.activeServe}` }) }) }),
|
|
1718
|
+
/* @__PURE__ */ t("td", { className: q.cellPlayerNameAway, children: /* @__PURE__ */ t("span", { className: q.playerName, children: a }) }),
|
|
1719
|
+
/* @__PURE__ */ t("td", { className: `${q.cellStat} ${q.cellAway} ${S ? q.active : ""}`, children: g }),
|
|
1720
|
+
/* @__PURE__ */ t("td", { className: `${q.cellStat} ${q.cellAway} ${q.border} ${S ? q.active : ""}`, children: d }),
|
|
1721
|
+
/* @__PURE__ */ t("td", { className: `${q.cellStat} ${q.cellAway} ${S ? q.active : ""}`, children: s })
|
|
1722
1722
|
] })
|
|
1723
1723
|
] })
|
|
1724
1724
|
] }) });
|
|
@@ -1742,12 +1742,12 @@ const vn = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", yn = "
|
|
|
1742
1742
|
real: !1,
|
|
1743
1743
|
type: "short_sleeves"
|
|
1744
1744
|
}, De = (e, a, n = "player") => {
|
|
1745
|
-
var i,
|
|
1745
|
+
var i, s;
|
|
1746
1746
|
if (e === void 0)
|
|
1747
1747
|
return null;
|
|
1748
1748
|
if (e === null)
|
|
1749
1749
|
return a === "home" ? it : lt;
|
|
1750
|
-
const o = (
|
|
1750
|
+
const o = (s = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : s[n];
|
|
1751
1751
|
return o || (a === "home" ? it : lt);
|
|
1752
1752
|
}, On = {
|
|
1753
1753
|
FIRST_HALF: "1er tiempo",
|
|
@@ -1761,13 +1761,13 @@ const vn = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", yn = "
|
|
|
1761
1761
|
return e ? (a = On[e]) != null ? a : e : "";
|
|
1762
1762
|
};
|
|
1763
1763
|
function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
1764
|
-
var
|
|
1765
|
-
const i = ((
|
|
1766
|
-
(
|
|
1767
|
-
var
|
|
1768
|
-
return ((
|
|
1764
|
+
var u, b, x, v, S, M, E, _, C, O, w, L, R, $, y, I, F, B, P, W, V, H, G, D, K, Y, r, p, T, A;
|
|
1765
|
+
const i = ((u = e == null ? void 0 : e.sport) == null ? void 0 : u.toUpperCase()) === "TENNIS", s = ((b = e == null ? void 0 : e.sport) == null ? void 0 : b.toUpperCase()) === "BASKETBALL", l = ((x = e == null ? void 0 : e.sport) == null ? void 0 : x.toUpperCase()) === "FOOTBALL", c = n == null ? void 0 : n.find(
|
|
1766
|
+
(k) => {
|
|
1767
|
+
var N;
|
|
1768
|
+
return ((N = k.betOfferType) == null ? void 0 : N.id) === 2;
|
|
1769
1769
|
}
|
|
1770
|
-
),
|
|
1770
|
+
), f = {
|
|
1771
1771
|
englishLabel: "",
|
|
1772
1772
|
type: "",
|
|
1773
1773
|
betOfferId: 0,
|
|
@@ -1776,24 +1776,24 @@ function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1776
1776
|
oddsAmerican: "",
|
|
1777
1777
|
status: "INACTIVE",
|
|
1778
1778
|
cashOutStatus: "SUSPENDED"
|
|
1779
|
-
},
|
|
1780
|
-
var
|
|
1781
|
-
return `${((ne = (J = (
|
|
1779
|
+
}, g = () => {
|
|
1780
|
+
var U, J, ne;
|
|
1781
|
+
return `${((ne = (J = (U = a == null ? void 0 : a.statistics) == null ? void 0 : U.sets) == null ? void 0 : J.home) != null ? ne : []).reduce((oe, j, ie) => j >= 0 ? ie : oe, 0) + 1}ºset`;
|
|
1782
1782
|
}, m = [
|
|
1783
|
-
{ ...
|
|
1784
|
-
{ ...
|
|
1785
|
-
{ ...
|
|
1786
|
-
],
|
|
1787
|
-
return /* @__PURE__ */ t("div", { className: `${Ie.cardWrapper} ${i ? Ie.cardWrapperTennis : ""}`, children: /* @__PURE__ */
|
|
1788
|
-
/* @__PURE__ */
|
|
1783
|
+
{ ...f, id: -1, label: "1", odds: void 0 },
|
|
1784
|
+
{ ...f, id: -2, label: "X", odds: void 0 },
|
|
1785
|
+
{ ...f, id: -3, label: "2", odds: void 0 }
|
|
1786
|
+
], d = (v = o == null ? void 0 : o.gender) != null ? v : "men";
|
|
1787
|
+
return /* @__PURE__ */ t("div", { className: `${Ie.cardWrapper} ${i ? Ie.cardWrapperTennis : ""}`, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1788
|
+
/* @__PURE__ */ h(Q, { direction: "column", spacing: i ? 1 : 1.5, useFlexGap: !0, children: [
|
|
1789
1789
|
/* @__PURE__ */ t(
|
|
1790
1790
|
oa,
|
|
1791
1791
|
{
|
|
1792
|
-
title: (
|
|
1792
|
+
title: (E = (M = (S = e == null ? void 0 : e.path) == null ? void 0 : S[0]) == null ? void 0 : M.name) != null ? E : "",
|
|
1793
1793
|
subtitle: (_ = e == null ? void 0 : e.group) != null ? _ : "",
|
|
1794
1794
|
live: !0,
|
|
1795
|
-
time: i ?
|
|
1796
|
-
extra:
|
|
1795
|
+
time: i ? g() : ((C = a == null ? void 0 : a.matchClock) == null ? void 0 : C.minute) != null ? `${a.matchClock.minute}'` : "",
|
|
1796
|
+
extra: s ? st((O = a == null ? void 0 : a.matchClock) == null ? void 0 : O.periodId) : ""
|
|
1797
1797
|
}
|
|
1798
1798
|
),
|
|
1799
1799
|
/* @__PURE__ */ t("div", { children: i ? /* @__PURE__ */ t(
|
|
@@ -1801,45 +1801,45 @@ function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1801
1801
|
{
|
|
1802
1802
|
homeName: e == null ? void 0 : e.homeName,
|
|
1803
1803
|
awayName: e == null ? void 0 : e.awayName,
|
|
1804
|
-
homeSets: (R = (L = (
|
|
1805
|
-
awaySets: (I = (y = (
|
|
1804
|
+
homeSets: (R = (L = (w = a == null ? void 0 : a.statistics) == null ? void 0 : w.sets) == null ? void 0 : L.home) != null ? R : [],
|
|
1805
|
+
awaySets: (I = (y = ($ = a == null ? void 0 : a.statistics) == null ? void 0 : $.sets) == null ? void 0 : y.away) != null ? I : [],
|
|
1806
1806
|
homePoints: (B = (F = a == null ? void 0 : a.score) == null ? void 0 : F.home) != null ? B : "0",
|
|
1807
1807
|
awayPoints: (W = (P = a == null ? void 0 : a.score) == null ? void 0 : P.away) != null ? W : "0",
|
|
1808
1808
|
homeServe: (G = (H = (V = a == null ? void 0 : a.statistics) == null ? void 0 : V.sets) == null ? void 0 : H.homeServe) != null ? G : !0
|
|
1809
1809
|
}
|
|
1810
|
-
) : /* @__PURE__ */
|
|
1811
|
-
/* @__PURE__ */ t(ze, { name: e == null ? void 0 : e.homeName, sport: e.sport, gender:
|
|
1812
|
-
/* @__PURE__ */ t(St, { size:
|
|
1813
|
-
/* @__PURE__ */ t(ze, { name: e == null ? void 0 : e.awayName, sport: e.sport, gender:
|
|
1810
|
+
) : /* @__PURE__ */ h(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1811
|
+
/* @__PURE__ */ t(ze, { name: e == null ? void 0 : e.homeName, sport: e.sport, gender: d, jersey: De(o, "home"), flag: (D = o == null ? void 0 : o.homeFlag) != null ? D : "" }),
|
|
1812
|
+
/* @__PURE__ */ t(St, { size: s ? "basketball" : "normal", text: ((Y = (K = a == null ? void 0 : a.score) == null ? void 0 : K.home) != null ? Y : 0) + ":" + ((p = (r = a == null ? void 0 : a.score) == null ? void 0 : r.away) != null ? p : 0), name: l ? st((T = a == null ? void 0 : a.matchClock) == null ? void 0 : T.periodId) : "" }),
|
|
1813
|
+
/* @__PURE__ */ t(ze, { name: e == null ? void 0 : e.awayName, sport: e.sport, gender: d, jersey: De(o, "away"), flag: (A = o == null ? void 0 : o.awayFlag) != null ? A : "" })
|
|
1814
1814
|
] }) })
|
|
1815
1815
|
] }),
|
|
1816
1816
|
/* @__PURE__ */ t(Q, { direction: "column", spacing: 0.5, useFlexGap: !0, children: (() => {
|
|
1817
1817
|
var oe;
|
|
1818
|
-
const
|
|
1818
|
+
const k = (oe = c == null ? void 0 : c.outcomes) != null ? oe : m, N = { OT_ONE: 1, OT_CROSS: 2, OT_TWO: 3 }, U = [...k].sort((j, ie) => {
|
|
1819
1819
|
var Oe, $e;
|
|
1820
1820
|
if (j.displayOrder !== void 0 && ie.displayOrder !== void 0)
|
|
1821
1821
|
return j.displayOrder - ie.displayOrder;
|
|
1822
|
-
const Se = j.type && (Oe =
|
|
1822
|
+
const Se = j.type && (Oe = N[j.type]) != null ? Oe : 99, we = ie.type && ($e = N[ie.type]) != null ? $e : 99;
|
|
1823
1823
|
return Se - we;
|
|
1824
1824
|
}), J = (j) => {
|
|
1825
1825
|
var ie, Se, we, Oe;
|
|
1826
|
-
return i ||
|
|
1826
|
+
return i || U.length === 2 ? j.type === "OT_ONE" ? "1" : j.type === "OT_TWO" ? "2" : (Se = (ie = j.label) == null ? void 0 : ie.toUpperCase()) != null ? Se : "" : (Oe = (we = j.label) == null ? void 0 : we.toUpperCase()) != null ? Oe : "";
|
|
1827
1827
|
};
|
|
1828
|
-
return /* @__PURE__ */ t(te, { children:
|
|
1828
|
+
return /* @__PURE__ */ t(te, { children: s || i ? /* @__PURE__ */ h(te, { children: [
|
|
1829
1829
|
/* @__PURE__ */ t(me, { spacing: 1, columns: "1fr", children: /* @__PURE__ */ t(Ke, { text: "Ganador del partido" }) }),
|
|
1830
|
-
/* @__PURE__ */ t(me, { spacing: 2, children:
|
|
1830
|
+
/* @__PURE__ */ t(me, { spacing: 2, children: U.slice(0, 2).map((j, ie) => /* @__PURE__ */ t(
|
|
1831
1831
|
rt,
|
|
1832
1832
|
{
|
|
1833
1833
|
variant: "primary",
|
|
1834
1834
|
disabled: j.odds === void 0 || (c == null ? void 0 : c.cashOutStatus) === "SUSPENDED",
|
|
1835
1835
|
onClick: () => {
|
|
1836
|
-
|
|
1836
|
+
qe(
|
|
1837
1837
|
"/deportes#event/live/" + e.id,
|
|
1838
1838
|
j.id
|
|
1839
1839
|
);
|
|
1840
1840
|
},
|
|
1841
1841
|
className: Ie.customButtonDisabled,
|
|
1842
|
-
children: /* @__PURE__ */
|
|
1842
|
+
children: /* @__PURE__ */ h(
|
|
1843
1843
|
"div",
|
|
1844
1844
|
{
|
|
1845
1845
|
style: {
|
|
@@ -1858,21 +1858,21 @@ function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1858
1858
|
},
|
|
1859
1859
|
j.id || ie
|
|
1860
1860
|
)) })
|
|
1861
|
-
] }) : /* @__PURE__ */
|
|
1862
|
-
/* @__PURE__ */ t(me, { spacing: 1, children:
|
|
1861
|
+
] }) : /* @__PURE__ */ h(te, { children: [
|
|
1862
|
+
/* @__PURE__ */ t(me, { spacing: 1, children: U.map((j, ie) => /* @__PURE__ */ t(
|
|
1863
1863
|
Ke,
|
|
1864
1864
|
{
|
|
1865
1865
|
text: J(j)
|
|
1866
1866
|
},
|
|
1867
1867
|
j.id || ie
|
|
1868
1868
|
)) }),
|
|
1869
|
-
/* @__PURE__ */ t(me, { spacing: 2, children:
|
|
1869
|
+
/* @__PURE__ */ t(me, { spacing: 2, children: U.map((j, ie) => /* @__PURE__ */ t(
|
|
1870
1870
|
rt,
|
|
1871
1871
|
{
|
|
1872
1872
|
variant: "primary",
|
|
1873
1873
|
disabled: j.odds === void 0 || (c == null ? void 0 : c.cashOutStatus) === "SUSPENDED",
|
|
1874
1874
|
onClick: () => {
|
|
1875
|
-
|
|
1875
|
+
qe(
|
|
1876
1876
|
"/deportes#event/live/" + e.id,
|
|
1877
1877
|
j.id
|
|
1878
1878
|
);
|
|
@@ -1899,67 +1899,89 @@ const kn = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Nn =
|
|
|
1899
1899
|
equipos: An
|
|
1900
1900
|
};
|
|
1901
1901
|
function Mn({ event: e, jersey: a }) {
|
|
1902
|
-
var c,
|
|
1902
|
+
var c, f, g, m;
|
|
1903
1903
|
const n = se(), o = ce();
|
|
1904
|
-
function i(
|
|
1905
|
-
const
|
|
1906
|
-
let
|
|
1907
|
-
return
|
|
1904
|
+
function i(d) {
|
|
1905
|
+
const u = new Date(d), b = u.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), x = u.getDate().toString().padStart(2, "0"), v = (u.getMonth() + 1).toString().padStart(2, "0");
|
|
1906
|
+
let S = u.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1907
|
+
return S = S.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${b} ${x}/${v} | ${S}`;
|
|
1908
1908
|
}
|
|
1909
|
-
const
|
|
1910
|
-
|
|
1911
|
-
|
|
1909
|
+
const s = (d) => {
|
|
1910
|
+
var E, _, C, O, w, L, R, $;
|
|
1911
|
+
const u = `/deportes#event/${e.id}`, b = `${e.homeName} vs ${e.awayName}`, x = d.odds ? (d.odds / 1e3).toFixed(2) : "", v = x ? `${b} - Cuota: ${x}` : b, S = (E = e == null ? void 0 : e.outcome) == null ? void 0 : E[0], M = new CustomEvent("ORACULO_WEEKLY_OUTCOME_SELECTED", {
|
|
1912
|
+
cancelable: !0,
|
|
1913
|
+
detail: {
|
|
1914
|
+
eventId: e.id,
|
|
1915
|
+
eventName: e.name,
|
|
1916
|
+
homeName: e.homeName,
|
|
1917
|
+
awayName: e.awayName,
|
|
1918
|
+
start: e.start,
|
|
1919
|
+
sport: e.sport,
|
|
1920
|
+
league: e.group,
|
|
1921
|
+
leagueId: e.groupId,
|
|
1922
|
+
country: (C = (_ = e.path) == null ? void 0 : _[1]) == null ? void 0 : C.name,
|
|
1923
|
+
outcomeId: d.id,
|
|
1924
|
+
outcomeLabel: d.label,
|
|
1925
|
+
outcomeType: d.type,
|
|
1926
|
+
odds: d.odds,
|
|
1927
|
+
betOfferId: (O = d.betOfferId) != null ? O : S == null ? void 0 : S.id,
|
|
1928
|
+
criterionId: (w = S == null ? void 0 : S.criterion) == null ? void 0 : w.id,
|
|
1929
|
+
market: ($ = (L = S == null ? void 0 : S.criterion) == null ? void 0 : L.label) != null ? $ : (R = S == null ? void 0 : S.betOfferType) == null ? void 0 : R.name,
|
|
1930
|
+
destination: u
|
|
1931
|
+
}
|
|
1932
|
+
});
|
|
1933
|
+
document.dispatchEvent(M) && (n({
|
|
1912
1934
|
element: "evento_semana_outcome",
|
|
1913
1935
|
label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${v}`,
|
|
1914
|
-
target:
|
|
1936
|
+
target: u,
|
|
1915
1937
|
event_type: "click",
|
|
1916
1938
|
module_id: 301,
|
|
1917
1939
|
metadata: {
|
|
1918
1940
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1919
1941
|
},
|
|
1920
1942
|
tags: { section: "OraculoEventSemanaCard", outcomes: v }
|
|
1921
|
-
}),
|
|
1922
|
-
},
|
|
1923
|
-
return /* @__PURE__ */
|
|
1924
|
-
/* @__PURE__ */ t(xt, { title: (
|
|
1925
|
-
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */
|
|
1926
|
-
/* @__PURE__ */
|
|
1927
|
-
/* @__PURE__ */
|
|
1928
|
-
/* @__PURE__ */ t(ze, { name: e.homeName, sport: e.sport, gender:
|
|
1943
|
+
}), qe(u, d.id));
|
|
1944
|
+
}, l = (c = a == null ? void 0 : a.gender) != null ? c : "men";
|
|
1945
|
+
return /* @__PURE__ */ h("div", { className: Te.cardContainer, children: [
|
|
1946
|
+
/* @__PURE__ */ t(xt, { title: (f = e == null ? void 0 : e.group) != null ? f : "" }),
|
|
1947
|
+
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1948
|
+
/* @__PURE__ */ h(Q, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1949
|
+
/* @__PURE__ */ h("div", { className: Te.equipos, children: [
|
|
1950
|
+
/* @__PURE__ */ t(ze, { name: e.homeName, sport: e.sport, gender: l, size: "compact", jersey: De(a, "home"), flag: (g = a == null ? void 0 : a.homeFlag) != null ? g : "" }),
|
|
1929
1951
|
/* @__PURE__ */ t(St, { text: "vs.", name: "", size: "small" }),
|
|
1930
|
-
/* @__PURE__ */ t(ze, { name: e.awayName, sport: e.sport, gender:
|
|
1952
|
+
/* @__PURE__ */ t(ze, { name: e.awayName, sport: e.sport, gender: l, size: "compact", jersey: De(a, "away"), flag: (m = a == null ? void 0 : a.awayFlag) != null ? m : "" })
|
|
1931
1953
|
] }),
|
|
1932
1954
|
/* @__PURE__ */ t(Cn, { text: i(e.start) })
|
|
1933
1955
|
] }),
|
|
1934
1956
|
/* @__PURE__ */ t(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: (() => {
|
|
1935
|
-
var
|
|
1936
|
-
const
|
|
1957
|
+
var S, M, E;
|
|
1958
|
+
const d = (E = (M = (S = e == null ? void 0 : e.outcome) == null ? void 0 : S[0]) == null ? void 0 : M.outcomes) != null ? E : [], u = (e == null ? void 0 : e.sport) === "TENNIS", b = { OT_ONE: 1, OT_CROSS: 2, OT_TWO: 3 }, x = [...d].sort((_, C) => {
|
|
1937
1959
|
var L, R;
|
|
1938
|
-
if (_.displayOrder !== void 0 &&
|
|
1939
|
-
return _.displayOrder -
|
|
1940
|
-
const
|
|
1941
|
-
return
|
|
1960
|
+
if (_.displayOrder !== void 0 && C.displayOrder !== void 0)
|
|
1961
|
+
return _.displayOrder - C.displayOrder;
|
|
1962
|
+
const O = _.type && (L = b[_.type]) != null ? L : 99, w = C.type && (R = b[C.type]) != null ? R : 99;
|
|
1963
|
+
return O - w;
|
|
1942
1964
|
}), v = (_) => {
|
|
1943
|
-
var
|
|
1944
|
-
return
|
|
1965
|
+
var C, O, w, L;
|
|
1966
|
+
return u || x.length === 2 ? _.type === "OT_ONE" ? "1" : _.type === "OT_TWO" ? "2" : (O = (C = _.label) == null ? void 0 : C.toUpperCase()) != null ? O : "" : (L = (w = _.label) == null ? void 0 : w.toUpperCase()) != null ? L : "";
|
|
1945
1967
|
};
|
|
1946
|
-
return /* @__PURE__ */
|
|
1947
|
-
/* @__PURE__ */ t(me, { spacing: 1, children: x.map((_,
|
|
1968
|
+
return /* @__PURE__ */ h(te, { children: [
|
|
1969
|
+
/* @__PURE__ */ t(me, { spacing: 1, children: x.map((_, C) => /* @__PURE__ */ t(
|
|
1948
1970
|
Ke,
|
|
1949
1971
|
{
|
|
1950
1972
|
text: v(_)
|
|
1951
1973
|
},
|
|
1952
|
-
_.id ||
|
|
1974
|
+
_.id || C
|
|
1953
1975
|
)) }),
|
|
1954
|
-
/* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: x.map((_,
|
|
1976
|
+
/* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: x.map((_, C) => /* @__PURE__ */ t(
|
|
1955
1977
|
ae,
|
|
1956
1978
|
{
|
|
1957
1979
|
variant: "primary",
|
|
1958
1980
|
fullHeight: !0,
|
|
1959
|
-
onClick: () =>
|
|
1981
|
+
onClick: () => s(_),
|
|
1960
1982
|
children: (_.odds / 1e3).toFixed(2)
|
|
1961
1983
|
},
|
|
1962
|
-
_.id ||
|
|
1984
|
+
_.id || C
|
|
1963
1985
|
)) }) })
|
|
1964
1986
|
] });
|
|
1965
1987
|
})() })
|
|
@@ -1984,64 +2006,64 @@ function Ln({
|
|
|
1984
2006
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
|
|
1985
2007
|
onViewMore: o,
|
|
1986
2008
|
onItemClick: i,
|
|
1987
|
-
className:
|
|
1988
|
-
paddingMobile:
|
|
2009
|
+
className: s = "",
|
|
2010
|
+
paddingMobile: l = "24px"
|
|
1989
2011
|
}) {
|
|
1990
|
-
var
|
|
1991
|
-
const c = Z(null), [
|
|
1992
|
-
var
|
|
2012
|
+
var O;
|
|
2013
|
+
const c = Z(null), [f, g] = ee({ isStart: !0, isEnd: !1 }), m = se(), d = ce(), u = pe(), b = !e || e.length === 0, x = () => {
|
|
2014
|
+
var w;
|
|
1993
2015
|
m({
|
|
1994
2016
|
element: "destacados_carousel_prev",
|
|
1995
|
-
label: `${
|
|
2017
|
+
label: `${d} - OraculoSeccionDestacados - Anterior`,
|
|
1996
2018
|
target: "carousel",
|
|
1997
2019
|
event_type: "click",
|
|
1998
|
-
module_id:
|
|
2020
|
+
module_id: u,
|
|
1999
2021
|
metadata: {
|
|
2000
2022
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2001
2023
|
},
|
|
2002
2024
|
tags: { section: "OraculoSeccionDestacados" }
|
|
2003
|
-
}), (
|
|
2025
|
+
}), (w = c.current) == null || w.prev();
|
|
2004
2026
|
}, v = () => {
|
|
2005
|
-
var
|
|
2027
|
+
var w;
|
|
2006
2028
|
m({
|
|
2007
2029
|
element: "destacados_carousel_next",
|
|
2008
|
-
label: `${
|
|
2030
|
+
label: `${d} - OraculoSeccionDestacados - Siguiente`,
|
|
2009
2031
|
target: "carousel",
|
|
2010
2032
|
event_type: "click",
|
|
2011
|
-
module_id:
|
|
2033
|
+
module_id: u,
|
|
2012
2034
|
metadata: {
|
|
2013
2035
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2014
2036
|
},
|
|
2015
2037
|
tags: { section: "OraculoSeccionDestacados" }
|
|
2016
|
-
}), (
|
|
2017
|
-
},
|
|
2038
|
+
}), (w = c.current) == null || w.next();
|
|
2039
|
+
}, S = () => {
|
|
2018
2040
|
m({
|
|
2019
2041
|
element: "destacados_view_more",
|
|
2020
|
-
label: `${
|
|
2042
|
+
label: `${d} - OraculoSeccionDestacados - Ver más`,
|
|
2021
2043
|
target: "https://www.olimpo.bet/promociones",
|
|
2022
2044
|
event_type: "click",
|
|
2023
|
-
module_id:
|
|
2045
|
+
module_id: u,
|
|
2024
2046
|
metadata: {
|
|
2025
2047
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2026
2048
|
},
|
|
2027
2049
|
tags: { section: "OraculoSeccionDestacados" }
|
|
2028
2050
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
|
|
2029
|
-
}, M =
|
|
2051
|
+
}, M = s || void 0, E = Ne("(max-width:950px)"), _ = (O = e == null ? void 0 : e.length) != null ? O : 0;
|
|
2030
2052
|
re(() => {
|
|
2031
2053
|
if (_ === 0) {
|
|
2032
|
-
|
|
2054
|
+
g({ isStart: !0, isEnd: !0 });
|
|
2033
2055
|
return;
|
|
2034
2056
|
}
|
|
2035
|
-
|
|
2036
|
-
}, [_,
|
|
2037
|
-
const
|
|
2038
|
-
const L =
|
|
2057
|
+
g({ isStart: !0, isEnd: !1 });
|
|
2058
|
+
}, [_, E, l]);
|
|
2059
|
+
const C = (w) => {
|
|
2060
|
+
const L = w.promotion, R = L ? `https://www.olimpo.bet/promociones/${encodeURIComponent(L)}` : "";
|
|
2039
2061
|
if (m({
|
|
2040
2062
|
element: "destacados_card",
|
|
2041
|
-
label: `${
|
|
2063
|
+
label: `${d} - OraculoSeccionDestacados - Click: ${L || w.title}`,
|
|
2042
2064
|
target: R || "custom_item_action",
|
|
2043
2065
|
event_type: "click",
|
|
2044
|
-
module_id:
|
|
2066
|
+
module_id: u,
|
|
2045
2067
|
metadata: {
|
|
2046
2068
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2047
2069
|
},
|
|
@@ -2050,13 +2072,13 @@ function Ln({
|
|
|
2050
2072
|
promotion: String(L || "")
|
|
2051
2073
|
}
|
|
2052
2074
|
}), i) {
|
|
2053
|
-
i(
|
|
2075
|
+
i(w);
|
|
2054
2076
|
return;
|
|
2055
2077
|
}
|
|
2056
2078
|
R && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(R);
|
|
2057
2079
|
};
|
|
2058
|
-
return /* @__PURE__ */
|
|
2059
|
-
/* @__PURE__ */
|
|
2080
|
+
return /* @__PURE__ */ h("section", { className: M, style: { width: "100%" }, children: [
|
|
2081
|
+
/* @__PURE__ */ h(
|
|
2060
2082
|
"header",
|
|
2061
2083
|
{
|
|
2062
2084
|
style: {
|
|
@@ -2066,12 +2088,12 @@ function Ln({
|
|
|
2066
2088
|
columnGap: 12,
|
|
2067
2089
|
rowGap: 8,
|
|
2068
2090
|
marginBottom: 16,
|
|
2069
|
-
paddingLeft:
|
|
2070
|
-
paddingRight:
|
|
2091
|
+
paddingLeft: E ? l : 0,
|
|
2092
|
+
paddingRight: E ? l : 0
|
|
2071
2093
|
},
|
|
2072
2094
|
children: [
|
|
2073
2095
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2074
|
-
/* @__PURE__ */
|
|
2096
|
+
/* @__PURE__ */ h("div", { style: { display: "flex", gap: 8 }, children: [
|
|
2075
2097
|
/* @__PURE__ */ t(
|
|
2076
2098
|
ae,
|
|
2077
2099
|
{
|
|
@@ -2080,7 +2102,7 @@ function Ln({
|
|
|
2080
2102
|
iconOnly: !0,
|
|
2081
2103
|
leftIcon: /* @__PURE__ */ t(Ve, {}),
|
|
2082
2104
|
onClick: x,
|
|
2083
|
-
disabled:
|
|
2105
|
+
disabled: f.isStart || b
|
|
2084
2106
|
}
|
|
2085
2107
|
),
|
|
2086
2108
|
/* @__PURE__ */ t(
|
|
@@ -2091,11 +2113,11 @@ function Ln({
|
|
|
2091
2113
|
iconOnly: !0,
|
|
2092
2114
|
rightIcon: /* @__PURE__ */ t(He, {}),
|
|
2093
2115
|
onClick: v,
|
|
2094
|
-
disabled:
|
|
2116
|
+
disabled: f.isEnd || b
|
|
2095
2117
|
}
|
|
2096
2118
|
)
|
|
2097
2119
|
] }),
|
|
2098
|
-
/* @__PURE__ */ t(ae, { variant: "secondary", onClick:
|
|
2120
|
+
/* @__PURE__ */ t(ae, { variant: "secondary", onClick: S, children: "Ver más" })
|
|
2099
2121
|
]
|
|
2100
2122
|
}
|
|
2101
2123
|
),
|
|
@@ -2103,19 +2125,19 @@ function Ln({
|
|
|
2103
2125
|
xe,
|
|
2104
2126
|
{
|
|
2105
2127
|
ref: c,
|
|
2106
|
-
items:
|
|
2128
|
+
items: b ? Bn() : e,
|
|
2107
2129
|
perPage: void 0,
|
|
2108
2130
|
gap: "16px",
|
|
2109
2131
|
enableHorizontalWheel: !0,
|
|
2110
|
-
showRightGradient: !
|
|
2132
|
+
showRightGradient: !E,
|
|
2111
2133
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2112
2134
|
breakpoints: {
|
|
2113
|
-
768: { perPage: 2, focus: "start", padding: { left:
|
|
2135
|
+
768: { perPage: 2, focus: "start", padding: { left: l, right: l } },
|
|
2114
2136
|
1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
|
|
2115
2137
|
},
|
|
2116
|
-
renderItem: (
|
|
2138
|
+
renderItem: (w) => {
|
|
2117
2139
|
const L = typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px";
|
|
2118
|
-
return
|
|
2140
|
+
return b ? /* @__PURE__ */ t("div", { style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
2119
2141
|
X,
|
|
2120
2142
|
{
|
|
2121
2143
|
variant: "rectangular",
|
|
@@ -2129,19 +2151,19 @@ function Ln({
|
|
|
2129
2151
|
}
|
|
2130
2152
|
}
|
|
2131
2153
|
}
|
|
2132
|
-
) },
|
|
2154
|
+
) }, w.title) : /* @__PURE__ */ t(
|
|
2133
2155
|
"div",
|
|
2134
2156
|
{
|
|
2135
2157
|
style: {
|
|
2136
2158
|
textAlign: "center",
|
|
2137
2159
|
cursor: "pointer"
|
|
2138
2160
|
},
|
|
2139
|
-
onClick: () =>
|
|
2161
|
+
onClick: () => C(w),
|
|
2140
2162
|
children: /* @__PURE__ */ t(
|
|
2141
2163
|
"img",
|
|
2142
2164
|
{
|
|
2143
|
-
src: `https://olimpo.bet${
|
|
2144
|
-
alt:
|
|
2165
|
+
src: `https://olimpo.bet${w.image !== "" ? w.image : w.summary_image}`,
|
|
2166
|
+
alt: w.title,
|
|
2145
2167
|
style: {
|
|
2146
2168
|
width: "100%",
|
|
2147
2169
|
height: L,
|
|
@@ -2152,19 +2174,19 @@ function Ln({
|
|
|
2152
2174
|
}
|
|
2153
2175
|
)
|
|
2154
2176
|
},
|
|
2155
|
-
`${
|
|
2177
|
+
`${w.title}-${w.image}`
|
|
2156
2178
|
);
|
|
2157
2179
|
},
|
|
2158
|
-
onMove: ({ isStart:
|
|
2159
|
-
|
|
2180
|
+
onMove: ({ isStart: w, isEnd: L, source: R }) => {
|
|
2181
|
+
g({ isStart: w, isEnd: L }), R === "user" && m({
|
|
2160
2182
|
element: "destacados_carousel_slide",
|
|
2161
|
-
label: `${
|
|
2183
|
+
label: `${d} - OraculoSeccionDestacados - Slide Carousel`,
|
|
2162
2184
|
target: "carousel",
|
|
2163
2185
|
event_type: "slide",
|
|
2164
|
-
module_id:
|
|
2186
|
+
module_id: u,
|
|
2165
2187
|
metadata: {
|
|
2166
2188
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2167
|
-
isStart:
|
|
2189
|
+
isStart: w,
|
|
2168
2190
|
isEnd: L
|
|
2169
2191
|
},
|
|
2170
2192
|
tags: { section: "OraculoSeccionDestacados" }
|
|
@@ -2174,10 +2196,10 @@ function Ln({
|
|
|
2174
2196
|
)
|
|
2175
2197
|
] });
|
|
2176
2198
|
}
|
|
2177
|
-
const
|
|
2199
|
+
const Ue = "__ORACULO_EXTRAS__";
|
|
2178
2200
|
function Ct() {
|
|
2179
2201
|
const e = globalThis;
|
|
2180
|
-
return e[
|
|
2202
|
+
return e[Ue] || (e[Ue] = {}), e[Ue];
|
|
2181
2203
|
}
|
|
2182
2204
|
function Rn(e) {
|
|
2183
2205
|
Ct().extras = e;
|
|
@@ -2187,7 +2209,7 @@ function ue(e) {
|
|
|
2187
2209
|
return (a = Ct().extras) == null ? void 0 : a[e];
|
|
2188
2210
|
}
|
|
2189
2211
|
function Pn() {
|
|
2190
|
-
delete globalThis[
|
|
2212
|
+
delete globalThis[Ue];
|
|
2191
2213
|
}
|
|
2192
2214
|
function Fn({
|
|
2193
2215
|
items: e,
|
|
@@ -2195,37 +2217,37 @@ function Fn({
|
|
|
2195
2217
|
iconUrl: n,
|
|
2196
2218
|
onCardClick: o
|
|
2197
2219
|
}) {
|
|
2198
|
-
const i = se(),
|
|
2199
|
-
() => (e != null ? e : []).map((
|
|
2200
|
-
var
|
|
2220
|
+
const i = se(), s = ce(), l = pe(), c = de(
|
|
2221
|
+
() => (e != null ? e : []).map((d, u) => {
|
|
2222
|
+
var b;
|
|
2201
2223
|
return {
|
|
2202
|
-
...
|
|
2203
|
-
orden: (
|
|
2204
|
-
_originalIndex:
|
|
2224
|
+
...d,
|
|
2225
|
+
orden: (b = d.orden) != null ? b : u + 1,
|
|
2226
|
+
_originalIndex: u
|
|
2205
2227
|
};
|
|
2206
|
-
}).sort((
|
|
2228
|
+
}).sort((d, u) => d.orden != null && u.orden != null ? d.orden - u.orden : d._originalIndex - u._originalIndex),
|
|
2207
2229
|
[e]
|
|
2208
|
-
),
|
|
2230
|
+
), f = !e || e.length === 0, g = f ? Array.from({ length: 6 }) : c.slice(0, 6), m = (d) => {
|
|
2209
2231
|
i({
|
|
2210
2232
|
element: "top_juegos_card",
|
|
2211
|
-
label: `${
|
|
2212
|
-
target: String(
|
|
2233
|
+
label: `${s} - OraculoSeccionTopJuegos - Open game: ${String(d.machine || "unknown")}`,
|
|
2234
|
+
target: String(d.machine || "unknown"),
|
|
2213
2235
|
event_type: "click",
|
|
2214
|
-
module_id:
|
|
2236
|
+
module_id: l,
|
|
2215
2237
|
metadata: {
|
|
2216
2238
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2217
2239
|
},
|
|
2218
2240
|
tags: {
|
|
2219
|
-
game_name: String(
|
|
2241
|
+
game_name: String(d.machine || "unknown"),
|
|
2220
2242
|
section: "OraculoSeccionTopJuegos"
|
|
2221
2243
|
}
|
|
2222
2244
|
});
|
|
2223
|
-
const
|
|
2224
|
-
|
|
2225
|
-
|
|
2245
|
+
const u = ue("showIframe"), b = ue("loadMachine");
|
|
2246
|
+
u == null || u(), requestAnimationFrame(() => {
|
|
2247
|
+
b == null || b(d, !1, "CASINO");
|
|
2226
2248
|
});
|
|
2227
2249
|
};
|
|
2228
|
-
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */
|
|
2250
|
+
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2229
2251
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2230
2252
|
/* @__PURE__ */ t(
|
|
2231
2253
|
z,
|
|
@@ -2240,27 +2262,27 @@ function Fn({
|
|
|
2240
2262
|
justifyItems: "center",
|
|
2241
2263
|
width: "100%"
|
|
2242
2264
|
},
|
|
2243
|
-
children:
|
|
2244
|
-
var
|
|
2265
|
+
children: g.map((d, u) => {
|
|
2266
|
+
var b, x;
|
|
2245
2267
|
return /* @__PURE__ */ t(
|
|
2246
2268
|
Ra,
|
|
2247
2269
|
{
|
|
2248
|
-
imageUrl:
|
|
2249
|
-
orden:
|
|
2250
|
-
loading:
|
|
2251
|
-
onClick:
|
|
2252
|
-
o == null || o(
|
|
2270
|
+
imageUrl: f ? "" : d.background ? `https://olimpo.bet${d.background}` : `https://olimpo.bet${(b = d.logo) != null ? b : ""}`,
|
|
2271
|
+
orden: f ? u + 1 : d.orden,
|
|
2272
|
+
loading: f,
|
|
2273
|
+
onClick: f ? void 0 : () => {
|
|
2274
|
+
o == null || o(d), m(d);
|
|
2253
2275
|
}
|
|
2254
2276
|
},
|
|
2255
|
-
|
|
2277
|
+
f ? `sk-${u}` : (x = d.machine) != null ? x : `${u}`
|
|
2256
2278
|
);
|
|
2257
2279
|
})
|
|
2258
2280
|
}
|
|
2259
2281
|
)
|
|
2260
2282
|
] }) });
|
|
2261
2283
|
}
|
|
2262
|
-
const
|
|
2263
|
-
var n, o, i,
|
|
2284
|
+
const Un = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", zn = 8, qn = 80, Dn = (e, a) => {
|
|
2285
|
+
var n, o, i, s, l, c, f, g, m, d, u, b, x, v;
|
|
2264
2286
|
return {
|
|
2265
2287
|
orden: Number(a),
|
|
2266
2288
|
machine: String(
|
|
@@ -2268,82 +2290,108 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2268
2290
|
),
|
|
2269
2291
|
logo: (o = e.logo) != null ? o : "",
|
|
2270
2292
|
name: (i = e.room_name) != null ? i : "",
|
|
2271
|
-
web_name: (
|
|
2272
|
-
provider: (
|
|
2293
|
+
web_name: (s = e.product) != null ? s : "",
|
|
2294
|
+
provider: (l = e.service) != null ? l : "",
|
|
2273
2295
|
sub_provider: (c = e.service) != null ? c : "",
|
|
2274
|
-
external_id: (
|
|
2275
|
-
type: (
|
|
2296
|
+
external_id: (f = e.external_id) != null ? f : "",
|
|
2297
|
+
type: (g = e.game_type) != null ? g : "",
|
|
2276
2298
|
tags: (m = e.tags) != null ? m : "",
|
|
2277
|
-
lobby_tag: (
|
|
2278
|
-
background: (
|
|
2279
|
-
rtp: (
|
|
2299
|
+
lobby_tag: (d = e.lobby_tag) != null ? d : null,
|
|
2300
|
+
background: (u = e.background) != null ? u : "",
|
|
2301
|
+
rtp: (b = e.rtp) != null ? b : null,
|
|
2280
2302
|
demo_allowed: (x = e.demo_allowed) != null ? x : !1,
|
|
2281
2303
|
gaming_session_required: (v = e.gaming_session_required) != null ? v : !1
|
|
2282
2304
|
};
|
|
2283
|
-
},
|
|
2305
|
+
}, Wn = (e) => {
|
|
2306
|
+
var n, o, i, s;
|
|
2307
|
+
if (!e) return [];
|
|
2308
|
+
const a = Array.isArray(e) ? e : (s = (i = (o = (n = e.recommendations) != null ? n : e.ranking) != null ? o : e.rankedItems) != null ? i : e.items) != null ? s : e.machines;
|
|
2309
|
+
return Array.isArray(a) ? a.filter(Boolean).map(
|
|
2310
|
+
(l) => {
|
|
2311
|
+
var c, f;
|
|
2312
|
+
return String(typeof l == "object" ? (f = (c = l.itemId) != null ? c : l.id) != null ? f : l.machine : l);
|
|
2313
|
+
}
|
|
2314
|
+
) : [];
|
|
2315
|
+
}, Vn = () => {
|
|
2284
2316
|
var a, n, o;
|
|
2285
2317
|
const e = ue("user");
|
|
2286
2318
|
return (o = (n = (a = e == null ? void 0 : e.userId) != null ? a : e == null ? void 0 : e.user) != null ? n : e == null ? void 0 : e.id) != null ? o : null;
|
|
2287
|
-
},
|
|
2288
|
-
const a =
|
|
2319
|
+
}, Hn = async (e) => {
|
|
2320
|
+
const a = Vn(), n = new URLSearchParams({
|
|
2289
2321
|
userId: String(a),
|
|
2290
2322
|
productType: e
|
|
2291
|
-
}), o = `${
|
|
2323
|
+
}), o = `${Un}?${n.toString()}`, i = await fetch(o);
|
|
2292
2324
|
if (!i.ok)
|
|
2293
2325
|
throw new Error(
|
|
2294
|
-
`No se pudo obtener
|
|
2326
|
+
`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`
|
|
2295
2327
|
);
|
|
2296
|
-
const
|
|
2297
|
-
return
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2328
|
+
const s = await i.json();
|
|
2329
|
+
return Wn(s).slice(0, 49);
|
|
2330
|
+
}, Gn = async (e, a, n) => {
|
|
2331
|
+
const o = [];
|
|
2332
|
+
let i = 0, s = null;
|
|
2333
|
+
const l = () => {
|
|
2334
|
+
s || n() || (s = setTimeout(() => {
|
|
2335
|
+
s = null, n() || a(o.filter(Boolean));
|
|
2336
|
+
}, qn));
|
|
2337
|
+
}, c = async () => {
|
|
2338
|
+
for (; i < e.length; ) {
|
|
2339
|
+
if (n()) return;
|
|
2340
|
+
const g = i++, m = e[g];
|
|
2341
|
+
try {
|
|
2342
|
+
const d = await fetch(`https://api.mktolimpo.com/api/machine/${m}`);
|
|
2343
|
+
if (!d.ok)
|
|
2344
|
+
throw new Error(`No se pudo obtener machine ${m}`);
|
|
2345
|
+
const u = await d.json();
|
|
2346
|
+
o[g] = Dn(u, g), l();
|
|
2347
|
+
} catch (d) {
|
|
2348
|
+
console.error(`[usePersonalizeGameItems] error al obtener machine ${m}:`, d);
|
|
2349
|
+
}
|
|
2350
|
+
}
|
|
2351
|
+
}, f = Array.from(
|
|
2352
|
+
{ length: Math.min(zn, e.length) },
|
|
2353
|
+
() => c()
|
|
2354
|
+
);
|
|
2355
|
+
await Promise.all(f), s && clearTimeout(s), n() || a(o.filter(Boolean));
|
|
2301
2356
|
}, Xe = (e, a = !1, n = "Casino") => {
|
|
2302
|
-
const [o, i] = ee([]), [
|
|
2357
|
+
const [o, i] = ee([]), [s, l] = ee(!1);
|
|
2303
2358
|
return re(() => {
|
|
2304
2359
|
let c = !1;
|
|
2305
2360
|
return (async () => {
|
|
2306
2361
|
if (!a) {
|
|
2307
|
-
i(Array.isArray(e) ? e : []),
|
|
2362
|
+
i(Array.isArray(e) ? e : []), l(!1);
|
|
2308
2363
|
return;
|
|
2309
2364
|
}
|
|
2310
|
-
|
|
2365
|
+
l(!0), i([]);
|
|
2311
2366
|
try {
|
|
2312
|
-
const
|
|
2313
|
-
if (!
|
|
2367
|
+
const g = await Hn(n);
|
|
2368
|
+
if (!g.length) {
|
|
2314
2369
|
c || i([]);
|
|
2315
2370
|
return;
|
|
2316
2371
|
}
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
return zn(O, x);
|
|
2324
|
-
})
|
|
2372
|
+
await Gn(
|
|
2373
|
+
g,
|
|
2374
|
+
(m) => {
|
|
2375
|
+
c || (i(m), l(!1));
|
|
2376
|
+
},
|
|
2377
|
+
() => c
|
|
2325
2378
|
);
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
(f) => f.status === "fulfilled"
|
|
2329
|
-
).map((f) => f.value);
|
|
2330
|
-
i(d);
|
|
2331
|
-
} catch (b) {
|
|
2332
|
-
console.error(`[usePersonalizeGameItems:${n}] error:`, b), c || i([]);
|
|
2379
|
+
} catch (g) {
|
|
2380
|
+
console.error(`[usePersonalizeGameItems:${n}] error:`, g), c || i([]);
|
|
2333
2381
|
} finally {
|
|
2334
|
-
c ||
|
|
2382
|
+
c || l(!1);
|
|
2335
2383
|
}
|
|
2336
2384
|
})(), () => {
|
|
2337
2385
|
c = !0;
|
|
2338
2386
|
};
|
|
2339
2387
|
}, [e, a, n]), {
|
|
2340
2388
|
resolvedItems: o,
|
|
2341
|
-
loading:
|
|
2389
|
+
loading: s
|
|
2342
2390
|
};
|
|
2343
|
-
},
|
|
2391
|
+
}, Zn = (e, a = !1) => Xe(e, a, "Casino"), jn = (e, a = !1) => Xe(e, a, "Deportes virtuales"), Kn = (e, a = !1) => Xe(e, a, "Casino en vivo"), Jn = (e, a) => {
|
|
2344
2392
|
var n, o;
|
|
2345
2393
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2346
|
-
},
|
|
2394
|
+
}, Xn = (e) => {
|
|
2347
2395
|
if (typeof e == "boolean") return e;
|
|
2348
2396
|
if (typeof e == "string")
|
|
2349
2397
|
return e.toLowerCase() === "true";
|
|
@@ -2353,27 +2401,27 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2353
2401
|
return e.value.toLowerCase() === "true";
|
|
2354
2402
|
}
|
|
2355
2403
|
return !1;
|
|
2356
|
-
},
|
|
2404
|
+
}, Qn = ({
|
|
2357
2405
|
items: e,
|
|
2358
2406
|
title: a = "Casino en vivo",
|
|
2359
2407
|
subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
2360
2408
|
backgroundMobileUrl: o = "",
|
|
2361
2409
|
onCardClick: i,
|
|
2362
|
-
backgroundDesktopUrl:
|
|
2363
|
-
onViewMore:
|
|
2410
|
+
backgroundDesktopUrl: s = "",
|
|
2411
|
+
onViewMore: l,
|
|
2364
2412
|
className: c,
|
|
2365
|
-
isPersonalize:
|
|
2413
|
+
isPersonalize: f = !1
|
|
2366
2414
|
}) => {
|
|
2367
|
-
const
|
|
2415
|
+
const g = se(), m = ce(), d = pe(), u = Xn(f), { resolvedItems: b, loading: x } = Kn(
|
|
2368
2416
|
e,
|
|
2369
|
-
|
|
2370
|
-
), v =
|
|
2371
|
-
|
|
2417
|
+
u
|
|
2418
|
+
), v = u ? b : Array.isArray(e) ? e : [], S = u ? x : !Array.isArray(e) || e.length === 0, M = (_) => {
|
|
2419
|
+
g({
|
|
2372
2420
|
element: "live_casino_card",
|
|
2373
|
-
label: `${m} - OraculoSeccionCasinoEnVivo${
|
|
2421
|
+
label: `${m} - OraculoSeccionCasinoEnVivo${u ? " - personalize" : ""} - Open game: ${String(_.machine || "unknown")}`,
|
|
2374
2422
|
target: String(_.machine || "unknown"),
|
|
2375
2423
|
event_type: "click",
|
|
2376
|
-
module_id:
|
|
2424
|
+
module_id: d,
|
|
2377
2425
|
metadata: {
|
|
2378
2426
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2379
2427
|
},
|
|
@@ -2383,8 +2431,8 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2383
2431
|
section: "OraculoSeccionCasinoEnVivo"
|
|
2384
2432
|
}
|
|
2385
2433
|
});
|
|
2386
|
-
const
|
|
2387
|
-
if (!
|
|
2434
|
+
const C = ue("showIframe"), O = ue("loadMachine");
|
|
2435
|
+
if (!O) {
|
|
2388
2436
|
if (i) {
|
|
2389
2437
|
i(_);
|
|
2390
2438
|
return;
|
|
@@ -2395,23 +2443,23 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2395
2443
|
);
|
|
2396
2444
|
return;
|
|
2397
2445
|
}
|
|
2398
|
-
|
|
2399
|
-
|
|
2446
|
+
C == null || C(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
|
|
2447
|
+
O == null || O(_, !1, "casino_en_vivo");
|
|
2400
2448
|
});
|
|
2401
|
-
},
|
|
2402
|
-
|
|
2449
|
+
}, E = () => {
|
|
2450
|
+
g({
|
|
2403
2451
|
element: "casino_en_vivo_view_more",
|
|
2404
|
-
label: `${m} - OraculoSeccionCasinoEnVivo${
|
|
2452
|
+
label: `${m} - OraculoSeccionCasinoEnVivo${u ? " - personalize" : ""} - Ver más`,
|
|
2405
2453
|
target: "https://www.olimpo.bet/casino-en-vivo",
|
|
2406
2454
|
event_type: "click",
|
|
2407
|
-
module_id:
|
|
2455
|
+
module_id: d,
|
|
2408
2456
|
metadata: {
|
|
2409
2457
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2410
2458
|
},
|
|
2411
2459
|
tags: { section: "OraculoSeccionCasinoEnVivo" }
|
|
2412
|
-
}), typeof globalThis != "undefined" && globalThis.location && (
|
|
2460
|
+
}), typeof globalThis != "undefined" && globalThis.location && (l ? l() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
|
|
2413
2461
|
};
|
|
2414
|
-
return /* @__PURE__ */
|
|
2462
|
+
return /* @__PURE__ */ h(
|
|
2415
2463
|
z,
|
|
2416
2464
|
{
|
|
2417
2465
|
className: c,
|
|
@@ -2436,7 +2484,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2436
2484
|
md: `
|
|
2437
2485
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2438
2486
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2439
|
-
url('${
|
|
2487
|
+
url('${s}')
|
|
2440
2488
|
`
|
|
2441
2489
|
},
|
|
2442
2490
|
backgroundSize: {
|
|
@@ -2449,7 +2497,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2449
2497
|
}
|
|
2450
2498
|
}
|
|
2451
2499
|
),
|
|
2452
|
-
/* @__PURE__ */
|
|
2500
|
+
/* @__PURE__ */ h(
|
|
2453
2501
|
z,
|
|
2454
2502
|
{
|
|
2455
2503
|
sx: {
|
|
@@ -2467,7 +2515,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2467
2515
|
textAlign: { xs: "center", md: "left" }
|
|
2468
2516
|
},
|
|
2469
2517
|
children: [
|
|
2470
|
-
/* @__PURE__ */
|
|
2518
|
+
/* @__PURE__ */ h(Q, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
2471
2519
|
/* @__PURE__ */ t(
|
|
2472
2520
|
he,
|
|
2473
2521
|
{
|
|
@@ -2498,7 +2546,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2498
2546
|
{
|
|
2499
2547
|
variant: "primary",
|
|
2500
2548
|
size: "md",
|
|
2501
|
-
onClick:
|
|
2549
|
+
onClick: E,
|
|
2502
2550
|
children: "Ver más"
|
|
2503
2551
|
}
|
|
2504
2552
|
) })
|
|
@@ -2514,18 +2562,18 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2514
2562
|
py: { xs: 3, md: 0 },
|
|
2515
2563
|
alignItems: "center"
|
|
2516
2564
|
},
|
|
2517
|
-
children:
|
|
2518
|
-
var
|
|
2565
|
+
children: S ? Array.from({ length: 3 }).map((_, C) => /* @__PURE__ */ t(nt, { loading: !0, logo: "" }, `sk-${C}`)) : (v != null ? v : []).slice(0, 3).map((_, C) => {
|
|
2566
|
+
var O;
|
|
2519
2567
|
return /* @__PURE__ */ t(
|
|
2520
2568
|
nt,
|
|
2521
2569
|
{
|
|
2522
|
-
logo: `https://olimpo.bet${_.background ? _.background : (
|
|
2570
|
+
logo: `https://olimpo.bet${_.background ? _.background : (O = _.logo) != null ? O : ""}`,
|
|
2523
2571
|
provider: _.provider,
|
|
2524
2572
|
providerName: _.web_name,
|
|
2525
2573
|
machine: _.machine,
|
|
2526
2574
|
onClick: () => M(_)
|
|
2527
2575
|
},
|
|
2528
|
-
|
|
2576
|
+
Jn(_, C)
|
|
2529
2577
|
);
|
|
2530
2578
|
})
|
|
2531
2579
|
}
|
|
@@ -2535,7 +2583,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2535
2583
|
{
|
|
2536
2584
|
variant: "primary",
|
|
2537
2585
|
size: "lg",
|
|
2538
|
-
onClick:
|
|
2586
|
+
onClick: E,
|
|
2539
2587
|
children: "Ver más"
|
|
2540
2588
|
}
|
|
2541
2589
|
) })
|
|
@@ -2545,7 +2593,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2545
2593
|
]
|
|
2546
2594
|
}
|
|
2547
2595
|
);
|
|
2548
|
-
},
|
|
2596
|
+
}, Yn = (e) => {
|
|
2549
2597
|
if (typeof e == "boolean") return e;
|
|
2550
2598
|
if (typeof e == "string")
|
|
2551
2599
|
return e.toLowerCase() === "true";
|
|
@@ -2558,53 +2606,53 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2558
2606
|
}, kt = (e, a) => {
|
|
2559
2607
|
var n, o;
|
|
2560
2608
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2561
|
-
},
|
|
2562
|
-
const o = e.map((
|
|
2563
|
-
var
|
|
2609
|
+
}, eo = (e, a = !0, n = 1) => {
|
|
2610
|
+
const o = e.map((l, c) => {
|
|
2611
|
+
var f;
|
|
2564
2612
|
return {
|
|
2565
|
-
id: kt(
|
|
2566
|
-
imageUrl: (
|
|
2567
|
-
...
|
|
2613
|
+
id: kt(l, c),
|
|
2614
|
+
imageUrl: (f = l.logo) != null ? f : "",
|
|
2615
|
+
...l.background ? { background: l.background } : {}
|
|
2568
2616
|
};
|
|
2569
2617
|
});
|
|
2570
2618
|
if (!o.length) return [];
|
|
2571
2619
|
const i = [];
|
|
2572
|
-
let
|
|
2620
|
+
let s = 0;
|
|
2573
2621
|
if (a) {
|
|
2574
|
-
const
|
|
2622
|
+
const l = Math.min(o.length, 1);
|
|
2575
2623
|
i.push({
|
|
2576
2624
|
id: "mosaic-0",
|
|
2577
2625
|
kind: "mosaic",
|
|
2578
|
-
items: o.slice(0,
|
|
2579
|
-
}),
|
|
2626
|
+
items: o.slice(0, l)
|
|
2627
|
+
}), s = l;
|
|
2580
2628
|
}
|
|
2581
|
-
for (;
|
|
2582
|
-
const
|
|
2629
|
+
for (; s < o.length; ) {
|
|
2630
|
+
const l = Math.min(s + n, o.length);
|
|
2583
2631
|
i.push({
|
|
2584
|
-
id: `grid-${
|
|
2632
|
+
id: `grid-${s}`,
|
|
2585
2633
|
kind: "grid",
|
|
2586
|
-
items: o.slice(
|
|
2587
|
-
}),
|
|
2634
|
+
items: o.slice(s, l)
|
|
2635
|
+
}), s = l;
|
|
2588
2636
|
}
|
|
2589
2637
|
return i;
|
|
2590
|
-
},
|
|
2638
|
+
}, to = ({
|
|
2591
2639
|
items: e,
|
|
2592
2640
|
title: a = "Casino",
|
|
2593
2641
|
iconUrl: n = "/assets/img/home/Casino/diamante.svg",
|
|
2594
2642
|
onItemClick: o,
|
|
2595
2643
|
onViewMore: i,
|
|
2596
|
-
mosaicFirst:
|
|
2597
|
-
gridSize:
|
|
2644
|
+
mosaicFirst: s = !0,
|
|
2645
|
+
gridSize: l = 1,
|
|
2598
2646
|
isPersonalize: c = !1
|
|
2599
2647
|
}) => {
|
|
2600
|
-
const
|
|
2648
|
+
const f = se(), g = ce(), m = pe(), d = Z(null), [u, b] = ee({ isStart: !0, isEnd: !1 }), x = Yn(c), { resolvedItems: v, loading: S } = Zn(
|
|
2601
2649
|
e,
|
|
2602
2650
|
x
|
|
2603
|
-
), M = x ? v : Array.isArray(e) ? e : [],
|
|
2604
|
-
var
|
|
2605
|
-
|
|
2651
|
+
), M = x ? v : Array.isArray(e) ? e : [], E = () => {
|
|
2652
|
+
var $;
|
|
2653
|
+
f({
|
|
2606
2654
|
element: "casino_prev",
|
|
2607
|
-
label: `${
|
|
2655
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
|
|
2608
2656
|
target: "prev",
|
|
2609
2657
|
event_type: "click",
|
|
2610
2658
|
module_id: m,
|
|
@@ -2612,12 +2660,12 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2612
2660
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2613
2661
|
},
|
|
2614
2662
|
tags: { section: "OraculoSeccionCasino" }
|
|
2615
|
-
}), (
|
|
2663
|
+
}), ($ = d.current) == null || $.prev();
|
|
2616
2664
|
}, _ = () => {
|
|
2617
|
-
var
|
|
2618
|
-
|
|
2665
|
+
var $;
|
|
2666
|
+
f({
|
|
2619
2667
|
element: "casino_next",
|
|
2620
|
-
label: `${
|
|
2668
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
|
|
2621
2669
|
target: "next",
|
|
2622
2670
|
event_type: "click",
|
|
2623
2671
|
module_id: m,
|
|
@@ -2625,11 +2673,11 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2625
2673
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2626
2674
|
},
|
|
2627
2675
|
tags: { section: "OraculoSeccionCasino" }
|
|
2628
|
-
}), (
|
|
2629
|
-
},
|
|
2630
|
-
if (
|
|
2676
|
+
}), ($ = d.current) == null || $.next();
|
|
2677
|
+
}, C = () => {
|
|
2678
|
+
if (f({
|
|
2631
2679
|
element: "casino_view_more",
|
|
2632
|
-
label: `${
|
|
2680
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
|
|
2633
2681
|
target: "https://www.olimpo.bet/casino",
|
|
2634
2682
|
event_type: "click",
|
|
2635
2683
|
module_id: m,
|
|
@@ -2642,15 +2690,15 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2642
2690
|
return;
|
|
2643
2691
|
}
|
|
2644
2692
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
|
|
2645
|
-
},
|
|
2693
|
+
}, O = ($ = !0, y = 4) => {
|
|
2646
2694
|
const I = (B) => Array.from({ length: B }, (P, W) => ({
|
|
2647
2695
|
id: `sk-${B}-${W}`,
|
|
2648
2696
|
imageUrl: ""
|
|
2649
2697
|
})), F = [];
|
|
2650
|
-
return
|
|
2651
|
-
},
|
|
2652
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2653
|
-
/* @__PURE__ */
|
|
2698
|
+
return $ && F.push({ id: "mosaic-loading", kind: "mosaic", items: I(5) }), F.push({ id: "grid-loading", kind: "grid", items: I(y) }), F;
|
|
2699
|
+
}, w = x ? S : !Array.isArray(e) || e.length === 0, L = Je("(max-width:950px)"), R = w ? O(s, l) : eo(M, s, l);
|
|
2700
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2701
|
+
/* @__PURE__ */ h(
|
|
2654
2702
|
z,
|
|
2655
2703
|
{
|
|
2656
2704
|
sx: {
|
|
@@ -2666,7 +2714,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2666
2714
|
},
|
|
2667
2715
|
children: [
|
|
2668
2716
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2669
|
-
/* @__PURE__ */
|
|
2717
|
+
/* @__PURE__ */ h(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2670
2718
|
/* @__PURE__ */ t(
|
|
2671
2719
|
ae,
|
|
2672
2720
|
{
|
|
@@ -2674,8 +2722,8 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2674
2722
|
variant: "secondary",
|
|
2675
2723
|
iconOnly: !0,
|
|
2676
2724
|
leftIcon: /* @__PURE__ */ t(_t, {}),
|
|
2677
|
-
onClick:
|
|
2678
|
-
disabled:
|
|
2725
|
+
onClick: E,
|
|
2726
|
+
disabled: u.isStart
|
|
2679
2727
|
}
|
|
2680
2728
|
),
|
|
2681
2729
|
/* @__PURE__ */ t(
|
|
@@ -2686,18 +2734,18 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2686
2734
|
iconOnly: !0,
|
|
2687
2735
|
rightIcon: /* @__PURE__ */ t(vt, {}),
|
|
2688
2736
|
onClick: _,
|
|
2689
|
-
disabled:
|
|
2737
|
+
disabled: u.isEnd
|
|
2690
2738
|
}
|
|
2691
2739
|
)
|
|
2692
2740
|
] }),
|
|
2693
|
-
/* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(ae, { variant: "secondary", onClick:
|
|
2741
|
+
/* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(ae, { variant: "secondary", onClick: C, children: "Ver más" }) })
|
|
2694
2742
|
]
|
|
2695
2743
|
}
|
|
2696
2744
|
),
|
|
2697
2745
|
/* @__PURE__ */ t(
|
|
2698
2746
|
xe,
|
|
2699
2747
|
{
|
|
2700
|
-
ref:
|
|
2748
|
+
ref: d,
|
|
2701
2749
|
items: R,
|
|
2702
2750
|
perPage: void 0,
|
|
2703
2751
|
gap: "16px",
|
|
@@ -2721,21 +2769,21 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2721
2769
|
padding: { left: "24px", right: "24px" }
|
|
2722
2770
|
}
|
|
2723
2771
|
},
|
|
2724
|
-
renderItem: (
|
|
2772
|
+
renderItem: ($) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
|
|
2725
2773
|
wt,
|
|
2726
2774
|
{
|
|
2727
|
-
items:
|
|
2728
|
-
layout:
|
|
2729
|
-
loading:
|
|
2775
|
+
items: $.items,
|
|
2776
|
+
layout: $.kind === "mosaic" ? "mosaic" : "grid",
|
|
2777
|
+
loading: w,
|
|
2730
2778
|
onClick: (y) => {
|
|
2731
|
-
if (
|
|
2779
|
+
if (w) return;
|
|
2732
2780
|
const I = M.find(
|
|
2733
2781
|
(P, W) => String(kt(P, W)) === String(y.id)
|
|
2734
2782
|
);
|
|
2735
2783
|
if (!I) return;
|
|
2736
|
-
o == null || o(I),
|
|
2784
|
+
o == null || o(I), f({
|
|
2737
2785
|
element: "casino_game_card",
|
|
2738
|
-
label: `${
|
|
2786
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(I.machine || "unknown")}`,
|
|
2739
2787
|
target: String(I.machine || "unknown"),
|
|
2740
2788
|
event_type: "click",
|
|
2741
2789
|
module_id: m,
|
|
@@ -2752,11 +2800,11 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2752
2800
|
}
|
|
2753
2801
|
}
|
|
2754
2802
|
) }),
|
|
2755
|
-
onMove: ({ isStart:
|
|
2803
|
+
onMove: ({ isStart: $, isEnd: y }) => b({ isStart: $, isEnd: y })
|
|
2756
2804
|
}
|
|
2757
2805
|
)
|
|
2758
2806
|
] }) });
|
|
2759
|
-
},
|
|
2807
|
+
}, ao = (e) => {
|
|
2760
2808
|
if (typeof e == "boolean") return e;
|
|
2761
2809
|
if (typeof e == "string")
|
|
2762
2810
|
return e.toLowerCase() === "true";
|
|
@@ -2769,38 +2817,38 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2769
2817
|
}, Nt = (e, a) => {
|
|
2770
2818
|
var n, o;
|
|
2771
2819
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2772
|
-
},
|
|
2773
|
-
const o = e.map((
|
|
2774
|
-
var
|
|
2820
|
+
}, no = (e, a = !0, n = 1) => {
|
|
2821
|
+
const o = e.map((l, c) => {
|
|
2822
|
+
var f;
|
|
2775
2823
|
return {
|
|
2776
|
-
id: Nt(
|
|
2777
|
-
imageUrl: (
|
|
2778
|
-
...
|
|
2824
|
+
id: Nt(l, c),
|
|
2825
|
+
imageUrl: (f = l.logo) != null ? f : "",
|
|
2826
|
+
...l.background ? { background: l.background } : {}
|
|
2779
2827
|
};
|
|
2780
2828
|
});
|
|
2781
2829
|
if (!o.length) return [];
|
|
2782
2830
|
const i = [];
|
|
2783
|
-
let
|
|
2831
|
+
let s = 0;
|
|
2784
2832
|
if (a) {
|
|
2785
|
-
const
|
|
2833
|
+
const l = Math.min(o.length, 1);
|
|
2786
2834
|
i.push({
|
|
2787
2835
|
id: "mosaic-0",
|
|
2788
2836
|
kind: "mosaic",
|
|
2789
|
-
items: o.slice(0,
|
|
2790
|
-
}),
|
|
2837
|
+
items: o.slice(0, l)
|
|
2838
|
+
}), s = l;
|
|
2791
2839
|
}
|
|
2792
|
-
for (;
|
|
2793
|
-
const
|
|
2840
|
+
for (; s < o.length; ) {
|
|
2841
|
+
const l = Math.min(s + n, o.length);
|
|
2794
2842
|
i.push({
|
|
2795
|
-
id: `grid-${
|
|
2843
|
+
id: `grid-${s}`,
|
|
2796
2844
|
kind: "grid",
|
|
2797
|
-
items: o.slice(
|
|
2798
|
-
}),
|
|
2845
|
+
items: o.slice(s, l)
|
|
2846
|
+
}), s = l;
|
|
2799
2847
|
}
|
|
2800
2848
|
return i;
|
|
2801
|
-
},
|
|
2802
|
-
const n = (i) => Array.from({ length: i }, (
|
|
2803
|
-
id: `sk-${i}-${
|
|
2849
|
+
}, oo = (e = !0, a = 4) => {
|
|
2850
|
+
const n = (i) => Array.from({ length: i }, (s, l) => ({
|
|
2851
|
+
id: `sk-${i}-${l}`,
|
|
2804
2852
|
imageUrl: ""
|
|
2805
2853
|
})), o = [];
|
|
2806
2854
|
return e && o.push({
|
|
@@ -2812,52 +2860,52 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2812
2860
|
kind: "grid",
|
|
2813
2861
|
items: n(a)
|
|
2814
2862
|
}), o;
|
|
2815
|
-
},
|
|
2863
|
+
}, ro = ({
|
|
2816
2864
|
items: e,
|
|
2817
2865
|
title: a = "Virtuales",
|
|
2818
2866
|
iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
|
|
2819
2867
|
onItemClick: o,
|
|
2820
2868
|
onViewMore: i,
|
|
2821
|
-
mosaicFirst:
|
|
2822
|
-
gridSize:
|
|
2869
|
+
mosaicFirst: s = !0,
|
|
2870
|
+
gridSize: l = 1,
|
|
2823
2871
|
isPersonalize: c = !1
|
|
2824
2872
|
}) => {
|
|
2825
|
-
const
|
|
2873
|
+
const f = Z(null), [g, m] = ee({ isStart: !0, isEnd: !1 }), d = se(), u = ce(), b = pe(), x = ao(c), { resolvedItems: v, loading: S } = jn(
|
|
2826
2874
|
e,
|
|
2827
2875
|
x
|
|
2828
|
-
), M = x ? v : Array.isArray(e) ? e : [],
|
|
2876
|
+
), M = x ? v : Array.isArray(e) ? e : [], E = () => {
|
|
2829
2877
|
var R;
|
|
2830
|
-
|
|
2878
|
+
d({
|
|
2831
2879
|
element: "virtuales_prev",
|
|
2832
|
-
label: `${
|
|
2880
|
+
label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Anterior`,
|
|
2833
2881
|
target: "prev",
|
|
2834
2882
|
event_type: "click",
|
|
2835
|
-
module_id:
|
|
2883
|
+
module_id: b,
|
|
2836
2884
|
metadata: {
|
|
2837
2885
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2838
2886
|
},
|
|
2839
2887
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2840
|
-
}), (R =
|
|
2888
|
+
}), (R = f.current) == null || R.prev();
|
|
2841
2889
|
}, _ = () => {
|
|
2842
2890
|
var R;
|
|
2843
|
-
|
|
2891
|
+
d({
|
|
2844
2892
|
element: "virtuales_next",
|
|
2845
|
-
label: `${
|
|
2893
|
+
label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Siguiente`,
|
|
2846
2894
|
target: "next",
|
|
2847
2895
|
event_type: "click",
|
|
2848
|
-
module_id:
|
|
2896
|
+
module_id: b,
|
|
2849
2897
|
metadata: {
|
|
2850
2898
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2851
2899
|
},
|
|
2852
2900
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2853
|
-
}), (R =
|
|
2854
|
-
},
|
|
2855
|
-
if (
|
|
2901
|
+
}), (R = f.current) == null || R.next();
|
|
2902
|
+
}, C = () => {
|
|
2903
|
+
if (d({
|
|
2856
2904
|
element: "virtuales_view_more",
|
|
2857
|
-
label: `${
|
|
2905
|
+
label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Ver más`,
|
|
2858
2906
|
target: "https://www.olimpo.bet/juegos-virtuales",
|
|
2859
2907
|
event_type: "click",
|
|
2860
|
-
module_id:
|
|
2908
|
+
module_id: b,
|
|
2861
2909
|
metadata: {
|
|
2862
2910
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2863
2911
|
},
|
|
@@ -2867,9 +2915,9 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2867
2915
|
return;
|
|
2868
2916
|
}
|
|
2869
2917
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2870
|
-
},
|
|
2871
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2872
|
-
/* @__PURE__ */
|
|
2918
|
+
}, O = x ? S : !Array.isArray(e) || e.length === 0, w = Ne("(max-width:950px)"), L = O ? oo(s, l) : no(M, s, l);
|
|
2919
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2920
|
+
/* @__PURE__ */ h(
|
|
2873
2921
|
z,
|
|
2874
2922
|
{
|
|
2875
2923
|
sx: {
|
|
@@ -2885,7 +2933,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2885
2933
|
},
|
|
2886
2934
|
children: [
|
|
2887
2935
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2888
|
-
/* @__PURE__ */
|
|
2936
|
+
/* @__PURE__ */ h(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2889
2937
|
/* @__PURE__ */ t(
|
|
2890
2938
|
ae,
|
|
2891
2939
|
{
|
|
@@ -2893,8 +2941,8 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2893
2941
|
variant: "secondary",
|
|
2894
2942
|
iconOnly: !0,
|
|
2895
2943
|
leftIcon: /* @__PURE__ */ t(_t, {}),
|
|
2896
|
-
onClick:
|
|
2897
|
-
disabled:
|
|
2944
|
+
onClick: E,
|
|
2945
|
+
disabled: g.isStart
|
|
2898
2946
|
}
|
|
2899
2947
|
),
|
|
2900
2948
|
/* @__PURE__ */ t(
|
|
@@ -2905,18 +2953,18 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2905
2953
|
iconOnly: !0,
|
|
2906
2954
|
rightIcon: /* @__PURE__ */ t(vt, {}),
|
|
2907
2955
|
onClick: _,
|
|
2908
|
-
disabled:
|
|
2956
|
+
disabled: g.isEnd
|
|
2909
2957
|
}
|
|
2910
2958
|
)
|
|
2911
2959
|
] }),
|
|
2912
|
-
/* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(ae, { variant: "secondary", onClick:
|
|
2960
|
+
/* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(ae, { variant: "secondary", onClick: C, children: "Ver más" }) })
|
|
2913
2961
|
]
|
|
2914
2962
|
}
|
|
2915
2963
|
),
|
|
2916
2964
|
/* @__PURE__ */ t(
|
|
2917
2965
|
xe,
|
|
2918
2966
|
{
|
|
2919
|
-
ref:
|
|
2967
|
+
ref: f,
|
|
2920
2968
|
items: L,
|
|
2921
2969
|
perPage: void 0,
|
|
2922
2970
|
gap: "16px",
|
|
@@ -2938,32 +2986,32 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2938
2986
|
}
|
|
2939
2987
|
},
|
|
2940
2988
|
enableHorizontalWheel: !0,
|
|
2941
|
-
showRightGradient: !
|
|
2989
|
+
showRightGradient: !w,
|
|
2942
2990
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2943
2991
|
renderItem: (R) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
|
|
2944
2992
|
wt,
|
|
2945
2993
|
{
|
|
2946
2994
|
items: R.items,
|
|
2947
2995
|
layout: R.kind === "mosaic" ? "mosaic" : "grid",
|
|
2948
|
-
loading:
|
|
2949
|
-
onClick: (
|
|
2950
|
-
if (
|
|
2996
|
+
loading: O,
|
|
2997
|
+
onClick: ($) => {
|
|
2998
|
+
if (O) return;
|
|
2951
2999
|
const y = M.find(
|
|
2952
|
-
(B, P) => String(Nt(B, P)) === String(
|
|
3000
|
+
(B, P) => String(Nt(B, P)) === String($.id)
|
|
2953
3001
|
);
|
|
2954
3002
|
if (!y) {
|
|
2955
3003
|
console.warn(
|
|
2956
3004
|
"[virtuales] no se encontró game para id:",
|
|
2957
|
-
|
|
3005
|
+
$.id
|
|
2958
3006
|
);
|
|
2959
3007
|
return;
|
|
2960
3008
|
}
|
|
2961
|
-
o == null || o(y),
|
|
3009
|
+
o == null || o(y), d({
|
|
2962
3010
|
element: "virtuales_game_card",
|
|
2963
|
-
label: `${
|
|
3011
|
+
label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Game: ${String(y.machine || "unknown")}`,
|
|
2964
3012
|
target: String(y.machine || "unknown"),
|
|
2965
3013
|
event_type: "click",
|
|
2966
|
-
module_id:
|
|
3014
|
+
module_id: b,
|
|
2967
3015
|
metadata: {
|
|
2968
3016
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2969
3017
|
},
|
|
@@ -2981,11 +3029,11 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2981
3029
|
}
|
|
2982
3030
|
}
|
|
2983
3031
|
) }),
|
|
2984
|
-
onMove: ({ isStart: R, isEnd:
|
|
3032
|
+
onMove: ({ isStart: R, isEnd: $ }) => m({ isStart: R, isEnd: $ })
|
|
2985
3033
|
}
|
|
2986
3034
|
)
|
|
2987
3035
|
] }) });
|
|
2988
|
-
},
|
|
3036
|
+
}, io = (e) => ({
|
|
2989
3037
|
position: "relative",
|
|
2990
3038
|
py: 8,
|
|
2991
3039
|
color: "#fff",
|
|
@@ -3017,30 +3065,30 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3017
3065
|
0 0 6px rgba(255, 255, 255, .6),
|
|
3018
3066
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
3019
3067
|
`
|
|
3020
|
-
},
|
|
3068
|
+
}, lo = ({
|
|
3021
3069
|
headline: e,
|
|
3022
3070
|
headline2: a,
|
|
3023
3071
|
items: n,
|
|
3024
3072
|
backgroundImageUrl: o
|
|
3025
3073
|
}) => {
|
|
3026
|
-
const i = se(),
|
|
3074
|
+
const i = se(), s = ce(), l = Ne("(max-width: 767px)"), c = n.length > 1, f = Z(null), g = Z(null), m = Z(!1), d = Z(!1), [u, b] = ee(0), [x, v] = ee({ isStart: !0, isEnd: !1 });
|
|
3027
3075
|
re(() => {
|
|
3028
3076
|
const y = setTimeout(() => {
|
|
3029
3077
|
m.current = !0;
|
|
3030
3078
|
}, 500);
|
|
3031
3079
|
return () => clearTimeout(y);
|
|
3032
3080
|
}, []);
|
|
3033
|
-
const
|
|
3081
|
+
const S = Z(x);
|
|
3034
3082
|
re(() => {
|
|
3035
|
-
|
|
3083
|
+
S.current = x;
|
|
3036
3084
|
}, [x]);
|
|
3037
|
-
const M = Z(!1),
|
|
3085
|
+
const M = Z(!1), E = Z(null), _ = n == null ? void 0 : n[u], C = de(
|
|
3038
3086
|
() => {
|
|
3039
3087
|
var y, I;
|
|
3040
3088
|
return (I = (y = _ == null ? void 0 : _.backgroundImageUrl) != null ? y : o) != null ? I : "";
|
|
3041
3089
|
},
|
|
3042
3090
|
[_, o]
|
|
3043
|
-
),
|
|
3091
|
+
), O = io(C), w = !n || n.length === 0, L = (y, I) => {
|
|
3044
3092
|
i({
|
|
3045
3093
|
element: "welcome_banner_button",
|
|
3046
3094
|
label: `OraculoSeccionBonoBienvenida - Banner button click: ${y.title || "OraculoSeccionBonoBienvenida - Banner " + (I + 1)}`,
|
|
@@ -3059,14 +3107,14 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3059
3107
|
}), y.onButtonClick && y.onButtonClick();
|
|
3060
3108
|
}, R = (y) => {
|
|
3061
3109
|
if (!m.current) return;
|
|
3062
|
-
if (
|
|
3063
|
-
|
|
3110
|
+
if (d.current) {
|
|
3111
|
+
d.current = !1;
|
|
3064
3112
|
return;
|
|
3065
3113
|
}
|
|
3066
3114
|
const I = n == null ? void 0 : n[y];
|
|
3067
3115
|
i({
|
|
3068
3116
|
element: "welcome_banner_carousel",
|
|
3069
|
-
label: `Landing: ${
|
|
3117
|
+
label: `Landing: ${s} - OraculoSeccionBonoBienvenida - Banner view: ${(I == null ? void 0 : I.title) || "OraculoSeccionBonoBienvenida - Banner " + (y + 1)}`,
|
|
3070
3118
|
target: "no_url",
|
|
3071
3119
|
event_type: "view",
|
|
3072
3120
|
module_id: 301,
|
|
@@ -3083,26 +3131,26 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3083
3131
|
});
|
|
3084
3132
|
};
|
|
3085
3133
|
re(() => {
|
|
3086
|
-
const y =
|
|
3134
|
+
const y = g.current;
|
|
3087
3135
|
if (!y) return;
|
|
3088
3136
|
const I = 6, F = 380, B = (P) => {
|
|
3089
3137
|
var G, D;
|
|
3090
|
-
if (
|
|
3138
|
+
if (w || P.ctrlKey || M.current) return;
|
|
3091
3139
|
const W = P.deltaX, V = P.deltaY;
|
|
3092
3140
|
if (Math.abs(W) <= Math.abs(V) || Math.abs(W) < I) return;
|
|
3093
3141
|
const H = W > 0;
|
|
3094
|
-
H &&
|
|
3142
|
+
H && S.current.isEnd || !H && S.current.isStart || (P.preventDefault(), M.current = !0, H ? (G = f.current) == null || G.next() : (D = f.current) == null || D.prev(), E.current && window.clearTimeout(E.current), E.current = window.setTimeout(() => {
|
|
3095
3143
|
M.current = !1;
|
|
3096
3144
|
}, F));
|
|
3097
3145
|
};
|
|
3098
3146
|
return y.addEventListener("wheel", B, { passive: !1 }), () => {
|
|
3099
|
-
y.removeEventListener("wheel", B),
|
|
3147
|
+
y.removeEventListener("wheel", B), E.current && window.clearTimeout(E.current);
|
|
3100
3148
|
};
|
|
3101
|
-
}, [
|
|
3102
|
-
const
|
|
3149
|
+
}, [w]);
|
|
3150
|
+
const $ = (y, I, F) => {
|
|
3103
3151
|
var W, V;
|
|
3104
3152
|
const B = (W = y.headline) != null ? W : e, P = (V = y.headline2) != null ? V : a;
|
|
3105
|
-
return I ? /* @__PURE__ */
|
|
3153
|
+
return I ? /* @__PURE__ */ h(
|
|
3106
3154
|
z,
|
|
3107
3155
|
{
|
|
3108
3156
|
sx: {
|
|
@@ -3124,9 +3172,9 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3124
3172
|
justifyContent: "flex-start",
|
|
3125
3173
|
minHeight: "100%"
|
|
3126
3174
|
},
|
|
3127
|
-
children: /* @__PURE__ */
|
|
3175
|
+
children: /* @__PURE__ */ h(z, { sx: { ...ct, textAlign: "left", mb: 0 }, children: [
|
|
3128
3176
|
B && /* @__PURE__ */ t(he, { component: "span", sx: dt, children: B }),
|
|
3129
|
-
P && /* @__PURE__ */
|
|
3177
|
+
P && /* @__PURE__ */ h(te, { children: [
|
|
3130
3178
|
/* @__PURE__ */ t("br", {}),
|
|
3131
3179
|
/* @__PURE__ */ t(he, { component: "span", sx: ut, children: P })
|
|
3132
3180
|
] })
|
|
@@ -3143,10 +3191,10 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3143
3191
|
) }) })
|
|
3144
3192
|
]
|
|
3145
3193
|
}
|
|
3146
|
-
) : /* @__PURE__ */
|
|
3147
|
-
(B || P) && /* @__PURE__ */
|
|
3194
|
+
) : /* @__PURE__ */ h(z, { sx: { textAlign: "center" }, children: [
|
|
3195
|
+
(B || P) && /* @__PURE__ */ h(z, { sx: ct, children: [
|
|
3148
3196
|
B && /* @__PURE__ */ t(he, { component: "span", sx: dt, children: B }),
|
|
3149
|
-
P && /* @__PURE__ */
|
|
3197
|
+
P && /* @__PURE__ */ h(te, { children: [
|
|
3150
3198
|
/* @__PURE__ */ t("br", {}),
|
|
3151
3199
|
/* @__PURE__ */ t(he, { component: "span", sx: ut, children: P })
|
|
3152
3200
|
] })
|
|
@@ -3161,11 +3209,11 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3161
3209
|
) })
|
|
3162
3210
|
] });
|
|
3163
3211
|
};
|
|
3164
|
-
return /* @__PURE__ */
|
|
3165
|
-
/* @__PURE__ */ t("div", { ref:
|
|
3212
|
+
return /* @__PURE__ */ h(z, { component: "section", sx: O, children: [
|
|
3213
|
+
/* @__PURE__ */ t("div", { ref: g, style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
3166
3214
|
xe,
|
|
3167
3215
|
{
|
|
3168
|
-
ref:
|
|
3216
|
+
ref: f,
|
|
3169
3217
|
items: n,
|
|
3170
3218
|
perPage: 1,
|
|
3171
3219
|
gap: "0px",
|
|
@@ -3179,9 +3227,9 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3179
3227
|
// arrows: false,
|
|
3180
3228
|
// drag: true,
|
|
3181
3229
|
},
|
|
3182
|
-
renderItem: (y, I) => /* @__PURE__ */ t(z, { sx: { width: "100%" }, children:
|
|
3230
|
+
renderItem: (y, I) => /* @__PURE__ */ t(z, { sx: { width: "100%" }, children: $(y, !l, I) }),
|
|
3183
3231
|
onMove: ({ index: y, isStart: I, isEnd: F, source: B }) => {
|
|
3184
|
-
|
|
3232
|
+
b(y), typeof I == "boolean" && typeof F == "boolean" && v({ isStart: I, isEnd: F }), B === "user" && R(y);
|
|
3185
3233
|
}
|
|
3186
3234
|
}
|
|
3187
3235
|
) }),
|
|
@@ -3189,12 +3237,12 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3189
3237
|
yt,
|
|
3190
3238
|
{
|
|
3191
3239
|
total: n.length,
|
|
3192
|
-
active:
|
|
3240
|
+
active: u,
|
|
3193
3241
|
onSelect: (y) => {
|
|
3194
3242
|
var I;
|
|
3195
3243
|
i({
|
|
3196
3244
|
element: "welcome_banner_dots",
|
|
3197
|
-
label: `Landing: ${
|
|
3245
|
+
label: `Landing: ${s} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${y + 1}`,
|
|
3198
3246
|
target: "no_url",
|
|
3199
3247
|
event_type: "click",
|
|
3200
3248
|
module_id: 301,
|
|
@@ -3206,35 +3254,35 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3206
3254
|
tags: {
|
|
3207
3255
|
navigation_type: "dot_click"
|
|
3208
3256
|
}
|
|
3209
|
-
}),
|
|
3257
|
+
}), b(y), (I = f.current) == null || I.go(y);
|
|
3210
3258
|
}
|
|
3211
3259
|
}
|
|
3212
3260
|
) })
|
|
3213
3261
|
] });
|
|
3214
|
-
},
|
|
3262
|
+
}, so = ({
|
|
3215
3263
|
className: e = "",
|
|
3216
3264
|
fullBleed: a = !0,
|
|
3217
3265
|
items: n,
|
|
3218
3266
|
selectedIndex: o = 0,
|
|
3219
3267
|
ariaLabel: i,
|
|
3220
|
-
user:
|
|
3268
|
+
user: s = null
|
|
3221
3269
|
}) => {
|
|
3222
|
-
const
|
|
3270
|
+
const l = Z(null), c = Z(null), f = se(), g = ce(), m = pe();
|
|
3223
3271
|
if (!n) return null;
|
|
3224
|
-
const
|
|
3225
|
-
let v =
|
|
3272
|
+
const d = async () => {
|
|
3273
|
+
let v = s;
|
|
3226
3274
|
if ((!(v != null && v.user) || !(v != null && v.session)) && typeof window != "undefined")
|
|
3227
3275
|
try {
|
|
3228
|
-
const
|
|
3229
|
-
|
|
3230
|
-
} catch (
|
|
3231
|
-
console.error("[getMarketPlaceUrl] Error parsing localStorage user",
|
|
3276
|
+
const S = localStorage.getItem("user");
|
|
3277
|
+
S && (v = JSON.parse(S));
|
|
3278
|
+
} catch (S) {
|
|
3279
|
+
console.error("[getMarketPlaceUrl] Error parsing localStorage user", S);
|
|
3232
3280
|
}
|
|
3233
3281
|
if (!(v != null && v.user) || !(v != null && v.session))
|
|
3234
3282
|
return console.warn("User data missing"), null;
|
|
3235
|
-
|
|
3283
|
+
f({
|
|
3236
3284
|
element: "club_olimpo_button",
|
|
3237
|
-
label: `${
|
|
3285
|
+
label: `${g} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
|
|
3238
3286
|
target: "https://www.clubolimpo.com/OlimpoBetWeb/",
|
|
3239
3287
|
event_type: "click",
|
|
3240
3288
|
module_id: m,
|
|
@@ -3244,38 +3292,38 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3244
3292
|
tags: { section: "OraculoSeccionClubOlimpo" }
|
|
3245
3293
|
});
|
|
3246
3294
|
try {
|
|
3247
|
-
const
|
|
3295
|
+
const S = {
|
|
3248
3296
|
idUsuario: "PE" + v.user,
|
|
3249
3297
|
session_id: v.session,
|
|
3250
3298
|
pagina: "home"
|
|
3251
|
-
},
|
|
3299
|
+
}, E = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
|
|
3252
3300
|
method: "POST",
|
|
3253
3301
|
headers: {
|
|
3254
3302
|
"Content-Type": "application/json"
|
|
3255
3303
|
},
|
|
3256
|
-
body: JSON.stringify(
|
|
3304
|
+
body: JSON.stringify(S)
|
|
3257
3305
|
});
|
|
3258
|
-
if (
|
|
3259
|
-
const _ = await
|
|
3306
|
+
if (E.ok) {
|
|
3307
|
+
const _ = await E.json();
|
|
3260
3308
|
return _ == null ? void 0 : _.url;
|
|
3261
3309
|
}
|
|
3262
3310
|
return null;
|
|
3263
|
-
} catch (
|
|
3264
|
-
return console.error("[getMarketPlaceUrl]",
|
|
3311
|
+
} catch (S) {
|
|
3312
|
+
return console.error("[getMarketPlaceUrl]", S), null;
|
|
3265
3313
|
}
|
|
3266
|
-
},
|
|
3267
|
-
const v = await
|
|
3314
|
+
}, u = async () => {
|
|
3315
|
+
const v = await d();
|
|
3268
3316
|
v ? window.location.href = v : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
3269
|
-
},
|
|
3270
|
-
|
|
3271
|
-
if (!
|
|
3272
|
-
const v =
|
|
3317
|
+
}, b = Array.isArray(n) ? n[o] : n;
|
|
3318
|
+
Ut(() => {
|
|
3319
|
+
if (!l.current || !c.current || typeof ResizeObserver == "undefined") return;
|
|
3320
|
+
const v = l.current, S = c.current, M = () => {
|
|
3273
3321
|
v.style.setProperty(
|
|
3274
3322
|
"--orc-co-bottomH",
|
|
3275
|
-
`${
|
|
3323
|
+
`${S.offsetHeight + 16}px`
|
|
3276
3324
|
);
|
|
3277
|
-
},
|
|
3278
|
-
return
|
|
3325
|
+
}, E = new ResizeObserver(M);
|
|
3326
|
+
return E.observe(S), M(), () => E.disconnect();
|
|
3279
3327
|
}, []);
|
|
3280
3328
|
const x = [
|
|
3281
3329
|
"orc-co-wrap",
|
|
@@ -3285,55 +3333,55 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3285
3333
|
return /* @__PURE__ */ t(
|
|
3286
3334
|
"section",
|
|
3287
3335
|
{
|
|
3288
|
-
ref:
|
|
3336
|
+
ref: l,
|
|
3289
3337
|
className: x,
|
|
3290
|
-
"aria-label": i ||
|
|
3338
|
+
"aria-label": i || b.imgAlt || "Club Olimpo",
|
|
3291
3339
|
children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
|
|
3292
3340
|
Pa,
|
|
3293
3341
|
{
|
|
3294
|
-
text:
|
|
3295
|
-
onClick:
|
|
3296
|
-
imgAlt:
|
|
3297
|
-
buttonLabel:
|
|
3298
|
-
imgSrcMobile:
|
|
3299
|
-
imgSrcDesktopBg:
|
|
3300
|
-
imgSrcDesktopLogo:
|
|
3342
|
+
text: b.text,
|
|
3343
|
+
onClick: u,
|
|
3344
|
+
imgAlt: b.imgAlt,
|
|
3345
|
+
buttonLabel: b.buttonLabel,
|
|
3346
|
+
imgSrcMobile: b.imgMobile,
|
|
3347
|
+
imgSrcDesktopBg: b.imgDesktopBg,
|
|
3348
|
+
imgSrcDesktopLogo: b.imgDesktopLogo
|
|
3301
3349
|
}
|
|
3302
3350
|
) })
|
|
3303
3351
|
}
|
|
3304
3352
|
);
|
|
3305
|
-
},
|
|
3306
|
-
controls:
|
|
3307
|
-
padding:
|
|
3308
|
-
},
|
|
3353
|
+
}, co = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", uo = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", mt = {
|
|
3354
|
+
controls: co,
|
|
3355
|
+
padding: uo
|
|
3356
|
+
}, mo = (e) => {
|
|
3309
3357
|
var a, n;
|
|
3310
3358
|
return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((o) => {
|
|
3311
|
-
var i,
|
|
3312
|
-
return (
|
|
3359
|
+
var i, s;
|
|
3360
|
+
return (s = (i = o.outcomes) == null ? void 0 : i.map((l) => l.id)) != null ? s : [];
|
|
3313
3361
|
}) : [];
|
|
3314
3362
|
};
|
|
3315
|
-
function
|
|
3363
|
+
function po(e, a, n) {
|
|
3316
3364
|
return n ? n.map((o) => {
|
|
3317
|
-
var m,
|
|
3318
|
-
const i = o.prePackCouponRows.flatMap((
|
|
3319
|
-
for (const
|
|
3320
|
-
if (!
|
|
3321
|
-
const
|
|
3322
|
-
|
|
3365
|
+
var m, d;
|
|
3366
|
+
const i = o.prePackCouponRows.flatMap((u) => mo(u).map((b) => ({ eventId: u.eventId, outcomeId: b }))), s = new Set(i.map((u) => u.eventId)), l = new Set(i.map((u) => u.outcomeId)), c = new Map(i.map((u, b) => [u.outcomeId, b])), f = {};
|
|
3367
|
+
for (const u of a) {
|
|
3368
|
+
if (!s.has(u.eventId)) continue;
|
|
3369
|
+
const b = u.outcomes.filter((x) => l.has(x.id)).map((x) => ({ ...x, position: c.get(x.id) }));
|
|
3370
|
+
b.length && ((d = f[m = u.eventId]) != null || (f[m] = []), f[u.eventId].push({ ...u, outcomes: b }));
|
|
3323
3371
|
}
|
|
3324
|
-
const
|
|
3325
|
-
var
|
|
3326
|
-
return { ...
|
|
3372
|
+
const g = e.filter((u) => s.has(u.id)).map((u) => {
|
|
3373
|
+
var b;
|
|
3374
|
+
return { ...u, betoffers: (b = f[u.id]) != null ? b : [] };
|
|
3327
3375
|
});
|
|
3328
3376
|
return {
|
|
3329
3377
|
couponId: o.id,
|
|
3330
3378
|
status: o.status,
|
|
3331
|
-
combinadoTotal:
|
|
3332
|
-
events:
|
|
3379
|
+
combinadoTotal: fo(o.prePackCouponRows),
|
|
3380
|
+
events: g
|
|
3333
3381
|
};
|
|
3334
3382
|
}) : [];
|
|
3335
3383
|
}
|
|
3336
|
-
function
|
|
3384
|
+
function fo(e) {
|
|
3337
3385
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
3338
3386
|
let a = 1;
|
|
3339
3387
|
for (const n of e) {
|
|
@@ -3342,42 +3390,42 @@ function uo(e) {
|
|
|
3342
3390
|
}
|
|
3343
3391
|
return Math.floor(a * 100) / 100;
|
|
3344
3392
|
}
|
|
3345
|
-
const
|
|
3346
|
-
function
|
|
3393
|
+
const go = ve.memo(Ja);
|
|
3394
|
+
function ho({
|
|
3347
3395
|
items: e,
|
|
3348
3396
|
title: a = "Combinadas del Olimpo",
|
|
3349
3397
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",
|
|
3350
3398
|
onViewMore: o,
|
|
3351
3399
|
className: i = ""
|
|
3352
3400
|
}) {
|
|
3353
|
-
const
|
|
3354
|
-
var
|
|
3355
|
-
|
|
3401
|
+
const s = se(), l = ce(), c = pe(), f = Z(null), [g, m] = ee({ isStart: !0, isEnd: !1 }), [d, u] = ee([]), b = "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", x = () => {
|
|
3402
|
+
var O;
|
|
3403
|
+
s({
|
|
3356
3404
|
element: "evento_combinadas_prev",
|
|
3357
|
-
label: `${
|
|
3405
|
+
label: `${l} - OraculoSeccionEventoCombinadas - Click: Anterior`,
|
|
3358
3406
|
event_type: "click",
|
|
3359
3407
|
module_id: c,
|
|
3360
3408
|
metadata: {
|
|
3361
3409
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3362
3410
|
},
|
|
3363
3411
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3364
|
-
}), (
|
|
3412
|
+
}), (O = f.current) == null || O.prev();
|
|
3365
3413
|
}, v = () => {
|
|
3366
|
-
var
|
|
3367
|
-
|
|
3414
|
+
var O;
|
|
3415
|
+
s({
|
|
3368
3416
|
element: "evento_combinadas_next",
|
|
3369
|
-
label: `${
|
|
3417
|
+
label: `${l} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
|
|
3370
3418
|
event_type: "click",
|
|
3371
3419
|
module_id: c,
|
|
3372
3420
|
metadata: {
|
|
3373
3421
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3374
3422
|
},
|
|
3375
3423
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3376
|
-
}), (
|
|
3377
|
-
},
|
|
3378
|
-
|
|
3424
|
+
}), (O = f.current) == null || O.next();
|
|
3425
|
+
}, S = () => {
|
|
3426
|
+
s({
|
|
3379
3427
|
element: "evento_combinadas_ver_mas",
|
|
3380
|
-
label: `${
|
|
3428
|
+
label: `${l} - OraculoSeccionEventoCombinadas - Click: Ver más`,
|
|
3381
3429
|
event_type: "click",
|
|
3382
3430
|
module_id: c,
|
|
3383
3431
|
metadata: {
|
|
@@ -3385,35 +3433,35 @@ function po({
|
|
|
3385
3433
|
},
|
|
3386
3434
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3387
3435
|
}), Ka();
|
|
3388
|
-
}, M = de(() =>
|
|
3389
|
-
async function
|
|
3390
|
-
var
|
|
3436
|
+
}, M = de(() => d.filter((O) => O.combinadoTotal !== null), [d]);
|
|
3437
|
+
async function E() {
|
|
3438
|
+
var O, w, L, R;
|
|
3391
3439
|
try {
|
|
3392
|
-
const y = await (await fetch(
|
|
3440
|
+
const y = await (await fetch(b)).json(), I = (R = (L = (w = (O = y == null ? void 0 : y.group) == null ? void 0 : O.groups) == null ? void 0 : w.map((W) => W.id)) == null ? void 0 : L.filter(Boolean)) == null ? void 0 : R.join(",");
|
|
3393
3441
|
if (!I) {
|
|
3394
3442
|
console.error("Could not extract group ID");
|
|
3395
3443
|
return;
|
|
3396
3444
|
}
|
|
3397
3445
|
const F = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${I}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, P = await (await fetch(F)).json();
|
|
3398
|
-
|
|
3399
|
-
} catch (
|
|
3400
|
-
console.error("loadDataEventSpecial error:",
|
|
3446
|
+
u(po(P.events, P.betOffers, P.prePackCoupons));
|
|
3447
|
+
} catch ($) {
|
|
3448
|
+
console.error("loadDataEventSpecial error:", $);
|
|
3401
3449
|
}
|
|
3402
3450
|
}
|
|
3403
3451
|
re(() => {
|
|
3404
|
-
|
|
3452
|
+
E();
|
|
3405
3453
|
}, []);
|
|
3406
|
-
const _ = i || void 0,
|
|
3454
|
+
const _ = i || void 0, C = Ne("(max-width:950px)");
|
|
3407
3455
|
return M.length === 0 ? null : /* @__PURE__ */ t("section", { className: _, style: {
|
|
3408
3456
|
// paddingLeft: 16,
|
|
3409
3457
|
// paddingRight: 16,
|
|
3410
3458
|
width: "100%",
|
|
3411
3459
|
boxSizing: "border-box"
|
|
3412
|
-
}, children: /* @__PURE__ */
|
|
3413
|
-
/* @__PURE__ */ t("div", { className: mt.padding, children: /* @__PURE__ */
|
|
3460
|
+
}, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3461
|
+
/* @__PURE__ */ t("div", { className: mt.padding, children: /* @__PURE__ */ h(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3414
3462
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
3415
|
-
/* @__PURE__ */
|
|
3416
|
-
/* @__PURE__ */
|
|
3463
|
+
/* @__PURE__ */ h("div", { className: mt.controls, children: [
|
|
3464
|
+
/* @__PURE__ */ h(me, { spacing: 1, columns: "auto auto", children: [
|
|
3417
3465
|
/* @__PURE__ */ t(
|
|
3418
3466
|
ae,
|
|
3419
3467
|
{
|
|
@@ -3422,7 +3470,7 @@ function po({
|
|
|
3422
3470
|
iconOnly: !0,
|
|
3423
3471
|
leftIcon: /* @__PURE__ */ t(Ve, {}),
|
|
3424
3472
|
onClick: x,
|
|
3425
|
-
disabled:
|
|
3473
|
+
disabled: g.isStart
|
|
3426
3474
|
}
|
|
3427
3475
|
),
|
|
3428
3476
|
/* @__PURE__ */ t(
|
|
@@ -3433,59 +3481,59 @@ function po({
|
|
|
3433
3481
|
iconOnly: !0,
|
|
3434
3482
|
rightIcon: /* @__PURE__ */ t(He, {}),
|
|
3435
3483
|
onClick: v,
|
|
3436
|
-
disabled:
|
|
3484
|
+
disabled: g.isEnd
|
|
3437
3485
|
}
|
|
3438
3486
|
)
|
|
3439
3487
|
] }),
|
|
3440
|
-
/* @__PURE__ */ t(ae, { variant: "secondary", onClick:
|
|
3488
|
+
/* @__PURE__ */ t(ae, { variant: "secondary", onClick: S, children: "Ver más" })
|
|
3441
3489
|
] })
|
|
3442
3490
|
] }) }),
|
|
3443
3491
|
/* @__PURE__ */ t(
|
|
3444
3492
|
xe,
|
|
3445
3493
|
{
|
|
3446
|
-
ref:
|
|
3494
|
+
ref: f,
|
|
3447
3495
|
items: M,
|
|
3448
3496
|
perPage: void 0,
|
|
3449
3497
|
gap: "16px",
|
|
3450
3498
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
3451
3499
|
useIndexAsKey: !0,
|
|
3452
3500
|
enableHorizontalWheel: !0,
|
|
3453
|
-
showRightGradient:
|
|
3501
|
+
showRightGradient: !C,
|
|
3454
3502
|
breakpoints: {
|
|
3455
3503
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3456
3504
|
},
|
|
3457
|
-
renderItem: (
|
|
3458
|
-
onMove: ({ isStart:
|
|
3505
|
+
renderItem: (O) => /* @__PURE__ */ t(go, { coupon: O }),
|
|
3506
|
+
onMove: ({ isStart: O, isEnd: w }) => m({ isStart: O, isEnd: w })
|
|
3459
3507
|
}
|
|
3460
3508
|
)
|
|
3461
3509
|
] }) });
|
|
3462
3510
|
}
|
|
3463
|
-
function
|
|
3511
|
+
function bo({}) {
|
|
3464
3512
|
return /* @__PURE__ */ t(
|
|
3465
3513
|
"div",
|
|
3466
3514
|
{
|
|
3467
3515
|
className: Ie.cardWrapper,
|
|
3468
|
-
children: /* @__PURE__ */
|
|
3469
|
-
/* @__PURE__ */
|
|
3516
|
+
children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 1, children: [
|
|
3517
|
+
/* @__PURE__ */ h(Q, { spacing: 1, direction: "row", children: [
|
|
3470
3518
|
/* @__PURE__ */ t(X, { variant: "text", width: "60%", height: 24 }),
|
|
3471
3519
|
/* @__PURE__ */ t(X, { variant: "text", width: "39%", height: 24 })
|
|
3472
3520
|
] }),
|
|
3473
|
-
/* @__PURE__ */
|
|
3521
|
+
/* @__PURE__ */ h(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3474
3522
|
/* @__PURE__ */ t(X, { variant: "circular", width: 32, height: 40 }),
|
|
3475
3523
|
/* @__PURE__ */ t(X, { variant: "text", width: 40, height: 40 }),
|
|
3476
3524
|
/* @__PURE__ */ t(X, { variant: "circular", width: 32, height: 40 })
|
|
3477
3525
|
] }),
|
|
3478
|
-
/* @__PURE__ */
|
|
3526
|
+
/* @__PURE__ */ h(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3479
3527
|
/* @__PURE__ */ t(X, { variant: "text", width: 32, height: 16 }),
|
|
3480
3528
|
/* @__PURE__ */ t(X, { variant: "text", width: 40, height: 16 }),
|
|
3481
3529
|
/* @__PURE__ */ t(X, { variant: "text", width: 32, height: 16 })
|
|
3482
3530
|
] }),
|
|
3483
|
-
/* @__PURE__ */
|
|
3531
|
+
/* @__PURE__ */ h(Q, { spacing: 2, direction: "row", children: [
|
|
3484
3532
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 16 }),
|
|
3485
3533
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 16 }),
|
|
3486
3534
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 16 })
|
|
3487
3535
|
] }),
|
|
3488
|
-
/* @__PURE__ */
|
|
3536
|
+
/* @__PURE__ */ h(Q, { spacing: 2, direction: "row", children: [
|
|
3489
3537
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 32 }),
|
|
3490
3538
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 32 }),
|
|
3491
3539
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 32 })
|
|
@@ -3494,14 +3542,14 @@ function fo({}) {
|
|
|
3494
3542
|
}
|
|
3495
3543
|
);
|
|
3496
3544
|
}
|
|
3497
|
-
const
|
|
3498
|
-
fadeWrapper:
|
|
3545
|
+
const _o = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", vo = {
|
|
3546
|
+
fadeWrapper: _o
|
|
3499
3547
|
};
|
|
3500
3548
|
function We({ children: e }) {
|
|
3501
|
-
return /* @__PURE__ */ t("div", { className:
|
|
3549
|
+
return /* @__PURE__ */ t("div", { className: vo.fadeWrapper, children: e });
|
|
3502
3550
|
}
|
|
3503
|
-
const
|
|
3504
|
-
padding:
|
|
3551
|
+
const yo = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", xo = {
|
|
3552
|
+
padding: yo
|
|
3505
3553
|
};
|
|
3506
3554
|
function $t({
|
|
3507
3555
|
events: e,
|
|
@@ -3510,113 +3558,113 @@ function $t({
|
|
|
3510
3558
|
buffer: o = 2,
|
|
3511
3559
|
debounceMs: i = 250
|
|
3512
3560
|
}) {
|
|
3513
|
-
const [
|
|
3561
|
+
const [s, l] = ee({}), c = Z(/* @__PURE__ */ new Set()), f = Z(0), g = Z(null), m = Z(null);
|
|
3514
3562
|
return re(() => {
|
|
3515
3563
|
if (!(!e || e.length === 0))
|
|
3516
|
-
return
|
|
3517
|
-
var
|
|
3518
|
-
const
|
|
3519
|
-
let v =
|
|
3564
|
+
return g.current && clearTimeout(g.current), g.current = setTimeout(() => {
|
|
3565
|
+
var C, O;
|
|
3566
|
+
const d = (C = a.start) != null ? C : 0, u = (O = a.end) != null ? O : 7, b = Math.max(0, d - o), x = Math.min(e.length - 1, u + o);
|
|
3567
|
+
let v = b, S = x;
|
|
3520
3568
|
const M = m.current;
|
|
3521
|
-
M && (
|
|
3522
|
-
const
|
|
3523
|
-
if (
|
|
3524
|
-
|
|
3525
|
-
const _ = ++
|
|
3569
|
+
M && (b > M.end && (v = M.end + 1), x < M.start && (S = M.start - 1)), m.current = { start: b, end: x };
|
|
3570
|
+
const E = e.slice(v, S + 1).map((w) => w == null ? void 0 : w.id).filter((w) => !!w).filter((w) => !c.current.has(w)).filter((w) => !(w in s));
|
|
3571
|
+
if (E.length === 0) return;
|
|
3572
|
+
E.forEach((w) => c.current.add(w));
|
|
3573
|
+
const _ = ++f.current;
|
|
3526
3574
|
(async () => {
|
|
3527
3575
|
try {
|
|
3528
|
-
const
|
|
3529
|
-
if (_ !==
|
|
3530
|
-
|
|
3576
|
+
const w = await n(E);
|
|
3577
|
+
if (_ !== f.current) {
|
|
3578
|
+
E.forEach((R) => c.current.delete(R));
|
|
3531
3579
|
return;
|
|
3532
3580
|
}
|
|
3533
|
-
if (!(
|
|
3534
|
-
|
|
3581
|
+
if (!(w != null && w.events)) {
|
|
3582
|
+
E.forEach(
|
|
3535
3583
|
(R) => c.current.delete(R)
|
|
3536
3584
|
);
|
|
3537
3585
|
return;
|
|
3538
3586
|
}
|
|
3539
|
-
|
|
3540
|
-
const
|
|
3541
|
-
for (const [y, I] of Object.entries(
|
|
3587
|
+
l((R) => {
|
|
3588
|
+
const $ = { ...R };
|
|
3589
|
+
for (const [y, I] of Object.entries(w.events)) {
|
|
3542
3590
|
const F = Number(y);
|
|
3543
|
-
|
|
3591
|
+
$[F] || ($[F] = I);
|
|
3544
3592
|
}
|
|
3545
|
-
return
|
|
3593
|
+
return $;
|
|
3546
3594
|
});
|
|
3547
3595
|
const L = new Set(
|
|
3548
|
-
Object.keys(
|
|
3596
|
+
Object.keys(w.events).map(Number)
|
|
3549
3597
|
);
|
|
3550
|
-
|
|
3598
|
+
E.forEach((R) => {
|
|
3551
3599
|
c.current.delete(R);
|
|
3552
3600
|
});
|
|
3553
|
-
} catch (
|
|
3554
|
-
|
|
3601
|
+
} catch (w) {
|
|
3602
|
+
E.forEach(
|
|
3555
3603
|
(L) => c.current.delete(L)
|
|
3556
|
-
), console.error("Jersey fetch error",
|
|
3604
|
+
), console.error("Jersey fetch error", w);
|
|
3557
3605
|
}
|
|
3558
3606
|
})();
|
|
3559
3607
|
}, i), () => {
|
|
3560
|
-
|
|
3608
|
+
g.current && clearTimeout(g.current);
|
|
3561
3609
|
};
|
|
3562
3610
|
}, [e, a, o, i, n]), {
|
|
3563
|
-
jerseys:
|
|
3611
|
+
jerseys: s,
|
|
3564
3612
|
isPending: c.current
|
|
3565
3613
|
};
|
|
3566
3614
|
}
|
|
3567
|
-
const
|
|
3615
|
+
const So = (e) => {
|
|
3568
3616
|
const a = ["esports", "cyber"];
|
|
3569
3617
|
return e.filter((n) => {
|
|
3570
|
-
var
|
|
3571
|
-
if (typeof ((
|
|
3572
|
-
const i = typeof ((
|
|
3618
|
+
var s, l;
|
|
3619
|
+
if (typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.sport) != "string") return !1;
|
|
3620
|
+
const i = typeof ((l = n == null ? void 0 : n.event) == null ? void 0 : l.group) == "string" ? n.event.group.toLowerCase() : "";
|
|
3573
3621
|
return !a.some((c) => i.includes(c));
|
|
3574
3622
|
});
|
|
3575
|
-
},
|
|
3576
|
-
function
|
|
3623
|
+
}, wo = ve.memo(In);
|
|
3624
|
+
function Oo({
|
|
3577
3625
|
items: e,
|
|
3578
3626
|
title: a = "En vivo",
|
|
3579
3627
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
|
|
3580
3628
|
onViewMore: o,
|
|
3581
3629
|
className: i = ""
|
|
3582
3630
|
}) {
|
|
3583
|
-
const
|
|
3631
|
+
const s = [
|
|
3584
3632
|
{ sport: "football", url: "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" },
|
|
3585
3633
|
{ sport: "basketball", url: "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/basketball/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" },
|
|
3586
3634
|
{ sport: "tennis", url: "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/tennis/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" }
|
|
3587
|
-
],
|
|
3635
|
+
], l = Z(null), [c, f] = ee({ isStart: !0, isEnd: !1 }), [g, m] = ee(null), [d, u] = ee({ start: null, end: null }), [b, x] = ee(null), v = Z(!1), S = se(), M = ce(), E = pe(), _ = Z(/* @__PURE__ */ new Map()), C = () => {
|
|
3588
3636
|
var B;
|
|
3589
|
-
|
|
3637
|
+
S({
|
|
3590
3638
|
element: "evento_en_vivo_prev",
|
|
3591
3639
|
label: `${M} - OraculoSeccionEventoEnVivo - Anterior`,
|
|
3592
3640
|
target: "prev",
|
|
3593
3641
|
event_type: "click",
|
|
3594
|
-
module_id:
|
|
3642
|
+
module_id: E,
|
|
3595
3643
|
metadata: {
|
|
3596
3644
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3597
3645
|
},
|
|
3598
3646
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3599
|
-
}), (B =
|
|
3600
|
-
},
|
|
3647
|
+
}), (B = l.current) == null || B.prev();
|
|
3648
|
+
}, O = () => {
|
|
3601
3649
|
var B;
|
|
3602
|
-
|
|
3650
|
+
S({
|
|
3603
3651
|
element: "evento_en_vivo_next",
|
|
3604
3652
|
label: `${M} - OraculoSeccionEventoEnVivo - Siguiente`,
|
|
3605
3653
|
target: "next",
|
|
3606
3654
|
event_type: "click",
|
|
3607
|
-
module_id:
|
|
3655
|
+
module_id: E,
|
|
3608
3656
|
metadata: {
|
|
3609
3657
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3610
3658
|
},
|
|
3611
3659
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3612
|
-
}), (B =
|
|
3613
|
-
},
|
|
3614
|
-
|
|
3660
|
+
}), (B = l.current) == null || B.next();
|
|
3661
|
+
}, w = () => {
|
|
3662
|
+
S({
|
|
3615
3663
|
element: "evento_en_vivo_view_more",
|
|
3616
3664
|
label: `${M} - OraculoSeccionEventoEnVivo - Ver más`,
|
|
3617
3665
|
target: "ver_mas",
|
|
3618
3666
|
event_type: "click",
|
|
3619
|
-
module_id:
|
|
3667
|
+
module_id: E,
|
|
3620
3668
|
metadata: {
|
|
3621
3669
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3622
3670
|
},
|
|
@@ -3635,7 +3683,7 @@ function xo({
|
|
|
3635
3683
|
}
|
|
3636
3684
|
}
|
|
3637
3685
|
const P = await Promise.all(
|
|
3638
|
-
|
|
3686
|
+
s.map(async (G) => {
|
|
3639
3687
|
try {
|
|
3640
3688
|
const D = await fetch(G.url);
|
|
3641
3689
|
if (!D.ok) throw new Error(`Failed to fetch ${G.sport}`);
|
|
@@ -3651,7 +3699,7 @@ function xo({
|
|
|
3651
3699
|
);
|
|
3652
3700
|
let W = [];
|
|
3653
3701
|
P.forEach(({ sport: G, events: D }) => {
|
|
3654
|
-
const Y =
|
|
3702
|
+
const Y = So(D).map((r) => ({ ...r, _sportGroup: G }));
|
|
3655
3703
|
W.push(...Y);
|
|
3656
3704
|
});
|
|
3657
3705
|
const V = {
|
|
@@ -3659,8 +3707,8 @@ function xo({
|
|
|
3659
3707
|
basketball: 1,
|
|
3660
3708
|
tennis: 0
|
|
3661
3709
|
}, H = W.sort((G, D) => {
|
|
3662
|
-
var
|
|
3663
|
-
const K = (
|
|
3710
|
+
var k, N;
|
|
3711
|
+
const K = (k = V[G._sportGroup]) != null ? k : 1 / 0, Y = (N = V[D._sportGroup]) != null ? N : 1 / 0;
|
|
3664
3712
|
if (K !== Y)
|
|
3665
3713
|
return K - Y;
|
|
3666
3714
|
const r = _.current.get(String(G.event.id)), p = _.current.get(String(D.event.id));
|
|
@@ -3677,25 +3725,25 @@ function xo({
|
|
|
3677
3725
|
return () => clearInterval(B);
|
|
3678
3726
|
}, [L]);
|
|
3679
3727
|
const { jerseys: R } = $t({
|
|
3680
|
-
events: (
|
|
3728
|
+
events: (g == null ? void 0 : g.map((B) => B.event)) || [],
|
|
3681
3729
|
// extract actual event objects
|
|
3682
|
-
visibleRange:
|
|
3730
|
+
visibleRange: d,
|
|
3683
3731
|
fetchJerseys: Ot,
|
|
3684
3732
|
buffer: 3,
|
|
3685
3733
|
// same as your previous BUFFER
|
|
3686
3734
|
debounceMs: 300
|
|
3687
3735
|
// same as your previous debouncedVisibleRange
|
|
3688
|
-
}),
|
|
3689
|
-
return !y &&
|
|
3736
|
+
}), $ = i || void 0, y = g === null, I = de(() => y ? Array(4).fill({}) : (g == null ? void 0 : g.slice(0, 50)) || [], [y, g]), F = Ne("(max-width:950px)");
|
|
3737
|
+
return !y && g.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
|
|
3690
3738
|
// paddingLeft: 16,
|
|
3691
3739
|
// paddingRight: 16,
|
|
3692
3740
|
width: "100%",
|
|
3693
3741
|
boxSizing: "border-box"
|
|
3694
|
-
}, children: /* @__PURE__ */
|
|
3695
|
-
/* @__PURE__ */ t("div", { className:
|
|
3742
|
+
}, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3743
|
+
/* @__PURE__ */ t("div", { className: xo.padding, children: /* @__PURE__ */ h(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3696
3744
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
3697
|
-
/* @__PURE__ */
|
|
3698
|
-
/* @__PURE__ */
|
|
3745
|
+
/* @__PURE__ */ h("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
3746
|
+
/* @__PURE__ */ h(me, { spacing: 1, columns: "auto auto", children: [
|
|
3699
3747
|
/* @__PURE__ */ t(
|
|
3700
3748
|
ae,
|
|
3701
3749
|
{
|
|
@@ -3703,7 +3751,7 @@ function xo({
|
|
|
3703
3751
|
variant: "secondary",
|
|
3704
3752
|
iconOnly: !0,
|
|
3705
3753
|
leftIcon: /* @__PURE__ */ t(Ve, {}),
|
|
3706
|
-
onClick:
|
|
3754
|
+
onClick: C,
|
|
3707
3755
|
disabled: c.isStart
|
|
3708
3756
|
}
|
|
3709
3757
|
),
|
|
@@ -3714,18 +3762,18 @@ function xo({
|
|
|
3714
3762
|
variant: "secondary",
|
|
3715
3763
|
iconOnly: !0,
|
|
3716
3764
|
rightIcon: /* @__PURE__ */ t(He, {}),
|
|
3717
|
-
onClick:
|
|
3765
|
+
onClick: O,
|
|
3718
3766
|
disabled: c.isEnd
|
|
3719
3767
|
}
|
|
3720
3768
|
)
|
|
3721
3769
|
] }),
|
|
3722
|
-
/* @__PURE__ */ t(ae, { variant: "secondary", onClick:
|
|
3770
|
+
/* @__PURE__ */ t(ae, { variant: "secondary", onClick: w, children: "Ver más" })
|
|
3723
3771
|
] })
|
|
3724
3772
|
] }) }),
|
|
3725
3773
|
/* @__PURE__ */ t(
|
|
3726
3774
|
xe,
|
|
3727
3775
|
{
|
|
3728
|
-
ref:
|
|
3776
|
+
ref: l,
|
|
3729
3777
|
items: I,
|
|
3730
3778
|
perPage: void 0,
|
|
3731
3779
|
showRightGradient: !F,
|
|
@@ -3740,8 +3788,8 @@ function xo({
|
|
|
3740
3788
|
renderItem: (B) => {
|
|
3741
3789
|
var V;
|
|
3742
3790
|
const P = ((V = B.event) == null ? void 0 : V.id) || B.eventId, W = P in R ? R[P] : void 0;
|
|
3743
|
-
return y ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(
|
|
3744
|
-
|
|
3791
|
+
return y ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(bo, {}) }) : /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(
|
|
3792
|
+
wo,
|
|
3745
3793
|
{
|
|
3746
3794
|
...B,
|
|
3747
3795
|
jersey: W
|
|
@@ -3749,34 +3797,34 @@ function xo({
|
|
|
3749
3797
|
) });
|
|
3750
3798
|
},
|
|
3751
3799
|
onMove: ({ isStart: B, isEnd: P, visibleStart: W, visibleEnd: V }) => {
|
|
3752
|
-
|
|
3800
|
+
f(
|
|
3753
3801
|
(H) => H.isStart === B && H.isEnd === P ? H : { isStart: B, isEnd: P }
|
|
3754
|
-
),
|
|
3802
|
+
), u({ start: W, end: V });
|
|
3755
3803
|
}
|
|
3756
3804
|
}
|
|
3757
3805
|
)
|
|
3758
3806
|
] }) });
|
|
3759
3807
|
}
|
|
3760
|
-
function
|
|
3761
|
-
return /* @__PURE__ */
|
|
3808
|
+
function Io() {
|
|
3809
|
+
return /* @__PURE__ */ h("div", { className: Te.cardContainer, children: [
|
|
3762
3810
|
/* @__PURE__ */ t(xt, { title: "" }),
|
|
3763
|
-
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */
|
|
3764
|
-
/* @__PURE__ */
|
|
3811
|
+
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3812
|
+
/* @__PURE__ */ h(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3765
3813
|
/* @__PURE__ */ t(X, { variant: "circular", width: 48, height: 48 }),
|
|
3766
3814
|
/* @__PURE__ */ t(X, { variant: "circular", width: 48, height: 48 })
|
|
3767
3815
|
] }),
|
|
3768
|
-
/* @__PURE__ */
|
|
3769
|
-
/* @__PURE__ */
|
|
3816
|
+
/* @__PURE__ */ h(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3817
|
+
/* @__PURE__ */ h(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3770
3818
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 12 }),
|
|
3771
3819
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 12 })
|
|
3772
3820
|
] }),
|
|
3773
3821
|
/* @__PURE__ */ t(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(X, { variant: "text", width: 160, height: 12 }) }),
|
|
3774
|
-
/* @__PURE__ */
|
|
3822
|
+
/* @__PURE__ */ h(Q, { direction: "row", spacing: 1, children: [
|
|
3775
3823
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 16 }),
|
|
3776
3824
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 16 }),
|
|
3777
3825
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 16 })
|
|
3778
3826
|
] }),
|
|
3779
|
-
/* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */
|
|
3827
|
+
/* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ h(Q, { direction: "row", spacing: 1, children: [
|
|
3780
3828
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 80, height: 32 }),
|
|
3781
3829
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 80, height: 32 }),
|
|
3782
3830
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 80, height: 32 })
|
|
@@ -3785,30 +3833,30 @@ function So() {
|
|
|
3785
3833
|
] }) })
|
|
3786
3834
|
] });
|
|
3787
3835
|
}
|
|
3788
|
-
const
|
|
3789
|
-
wrapper:
|
|
3790
|
-
container:
|
|
3791
|
-
buttonWrapper:
|
|
3792
|
-
padding:
|
|
3793
|
-
},
|
|
3794
|
-
async function
|
|
3836
|
+
const To = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Eo = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Co = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", ko = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Be = {
|
|
3837
|
+
wrapper: To,
|
|
3838
|
+
container: Eo,
|
|
3839
|
+
buttonWrapper: Co,
|
|
3840
|
+
padding: ko
|
|
3841
|
+
}, No = ve.memo(Mn);
|
|
3842
|
+
async function $o(e, a = 2, n) {
|
|
3795
3843
|
const o = [];
|
|
3796
3844
|
for (let i = 0; i < e.length; i += a) {
|
|
3797
3845
|
if (n.aborted)
|
|
3798
3846
|
throw new DOMException("Aborted", "AbortError");
|
|
3799
|
-
const
|
|
3800
|
-
|
|
3847
|
+
const s = e.slice(i, i + a), l = await Promise.all(
|
|
3848
|
+
s.map((c) => fetch(c, { signal: n }).then((f) => f.json()))
|
|
3801
3849
|
);
|
|
3802
|
-
o.push(...
|
|
3850
|
+
o.push(...l);
|
|
3803
3851
|
}
|
|
3804
3852
|
return o;
|
|
3805
3853
|
}
|
|
3806
|
-
function
|
|
3854
|
+
function Ao(e) {
|
|
3807
3855
|
return [...e].sort(
|
|
3808
3856
|
(a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
|
|
3809
3857
|
);
|
|
3810
3858
|
}
|
|
3811
|
-
function
|
|
3859
|
+
function Mo(e) {
|
|
3812
3860
|
const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
|
|
3813
3861
|
return e.filter((o) => {
|
|
3814
3862
|
if (!o.start) return !1;
|
|
@@ -3816,31 +3864,31 @@ function No(e) {
|
|
|
3816
3864
|
return i >= a && i <= n;
|
|
3817
3865
|
});
|
|
3818
3866
|
}
|
|
3819
|
-
function
|
|
3867
|
+
function Bo(e, a) {
|
|
3820
3868
|
const o = a.filter((i) => {
|
|
3821
|
-
var
|
|
3822
|
-
return ((
|
|
3823
|
-
}).reduce((i,
|
|
3869
|
+
var s;
|
|
3870
|
+
return ((s = i.betOfferType) == null ? void 0 : s.id) === 2;
|
|
3871
|
+
}).reduce((i, s) => (i[s.eventId] || (i[s.eventId] = []), i[s.eventId].push(s), i), {});
|
|
3824
3872
|
return e.filter((i) => o[i.id]).map((i) => ({
|
|
3825
3873
|
...i,
|
|
3826
3874
|
outcome: o[i.id]
|
|
3827
3875
|
}));
|
|
3828
3876
|
}
|
|
3829
|
-
function
|
|
3877
|
+
function Lo({
|
|
3830
3878
|
items: e,
|
|
3831
3879
|
title: a = "En vivo",
|
|
3832
3880
|
iconUrl: n,
|
|
3833
3881
|
onViewMore: o,
|
|
3834
3882
|
className: i = ""
|
|
3835
3883
|
}) {
|
|
3836
|
-
const
|
|
3884
|
+
const s = se(), l = ce(), c = pe(), f = [
|
|
3837
3885
|
{ englishName: "Football", termPath: "football", limit: 5 },
|
|
3838
3886
|
{ englishName: "Basketball", termPath: "basketball", limit: 2 },
|
|
3839
3887
|
{ englishName: "Tennis", termPath: "tennis", limit: 2 }
|
|
3840
|
-
],
|
|
3841
|
-
|
|
3888
|
+
], g = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", m = Z(null), [d, u] = ee({ isStart: !0, isEnd: !1 }), [b, x] = ee(null), [v, S] = ee({ start: null, end: null }), M = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", E = () => {
|
|
3889
|
+
s({
|
|
3842
3890
|
element: "evento_semana_view_more",
|
|
3843
|
-
label: `${
|
|
3891
|
+
label: `${l} - OraculoSeccionEventoSemana - Ver más`,
|
|
3844
3892
|
target: "ver_mas",
|
|
3845
3893
|
event_type: "click",
|
|
3846
3894
|
module_id: c,
|
|
@@ -3867,17 +3915,17 @@ function Ao({
|
|
|
3867
3915
|
return;
|
|
3868
3916
|
}
|
|
3869
3917
|
try {
|
|
3870
|
-
const H = await (await fetch(
|
|
3918
|
+
const H = await (await fetch(g, { signal: y })).json(), G = (W = H == null ? void 0 : H.group) == null ? void 0 : W.groups;
|
|
3871
3919
|
if (!Array.isArray(G)) {
|
|
3872
3920
|
console.error("Sport groups structure invalid");
|
|
3873
3921
|
return;
|
|
3874
3922
|
}
|
|
3875
3923
|
const D = I.length > 0 ? new Map(I.map((Y, r) => [String(Y), r])) : null, K = [];
|
|
3876
|
-
for (const Y of
|
|
3924
|
+
for (const Y of f) {
|
|
3877
3925
|
const r = G.find(
|
|
3878
|
-
(
|
|
3879
|
-
var
|
|
3880
|
-
return ((
|
|
3926
|
+
(N) => {
|
|
3927
|
+
var U;
|
|
3928
|
+
return ((U = N.englishName) == null ? void 0 : U.toLowerCase()) === Y.englishName.toLowerCase();
|
|
3881
3929
|
}
|
|
3882
3930
|
);
|
|
3883
3931
|
if (!r || !Array.isArray(r.groups)) {
|
|
@@ -3885,35 +3933,35 @@ function Ao({
|
|
|
3885
3933
|
continue;
|
|
3886
3934
|
}
|
|
3887
3935
|
let p = [...r.groups];
|
|
3888
|
-
D && p.sort((
|
|
3889
|
-
const J = D.get(String(
|
|
3936
|
+
D && p.sort((N, U) => {
|
|
3937
|
+
const J = D.get(String(N.id)), ne = D.get(String(U.id));
|
|
3890
3938
|
return (J !== void 0 ? J : 1 / 0) - (ne !== void 0 ? ne : 1 / 0);
|
|
3891
3939
|
});
|
|
3892
|
-
const T = p.slice(0, Y.limit),
|
|
3893
|
-
const
|
|
3894
|
-
if (
|
|
3895
|
-
const J =
|
|
3896
|
-
return `${
|
|
3940
|
+
const T = p.slice(0, Y.limit), A = (N) => {
|
|
3941
|
+
const U = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/${Y.termPath}`;
|
|
3942
|
+
if (N.groups && N.groups.length > 0) {
|
|
3943
|
+
const J = N.groups[0];
|
|
3944
|
+
return `${U}/${N.termKey}/${J.termKey}/all/matches.json?${M}`;
|
|
3897
3945
|
}
|
|
3898
|
-
return `${
|
|
3899
|
-
},
|
|
3900
|
-
K.push(...
|
|
3946
|
+
return `${U}/${N.termKey}/all/all/matches.json?${M}`;
|
|
3947
|
+
}, k = T.map(A);
|
|
3948
|
+
K.push(...k);
|
|
3901
3949
|
}
|
|
3902
|
-
|
|
3950
|
+
C(K, F, y);
|
|
3903
3951
|
} catch (V) {
|
|
3904
3952
|
console.error("Error in fetching week events:", V);
|
|
3905
3953
|
}
|
|
3906
3954
|
}
|
|
3907
|
-
async function
|
|
3955
|
+
async function C(y, I, F) {
|
|
3908
3956
|
try {
|
|
3909
|
-
const B = await
|
|
3957
|
+
const B = await $o(y, 2, F);
|
|
3910
3958
|
let P = [], W = [];
|
|
3911
3959
|
B.forEach((D) => {
|
|
3912
3960
|
D.events && (P.push(...D.events.map((K) => K.event)), W.push(
|
|
3913
3961
|
...D.events.flatMap((K) => K.betOffers || [])
|
|
3914
3962
|
));
|
|
3915
3963
|
});
|
|
3916
|
-
const V =
|
|
3964
|
+
const V = Bo(P, W), H = Ao(Mo(V));
|
|
3917
3965
|
let G = H;
|
|
3918
3966
|
if (I.length > 0) {
|
|
3919
3967
|
const D = new Map(
|
|
@@ -3940,19 +3988,19 @@ function Ao({
|
|
|
3940
3988
|
y.abort();
|
|
3941
3989
|
};
|
|
3942
3990
|
}, [e]);
|
|
3943
|
-
const
|
|
3991
|
+
const O = i || void 0, w = {
|
|
3944
3992
|
paddingLeft: 0,
|
|
3945
3993
|
width: "100%",
|
|
3946
3994
|
boxSizing: "border-box"
|
|
3947
3995
|
}, { jerseys: L } = $t({
|
|
3948
|
-
events:
|
|
3996
|
+
events: b,
|
|
3949
3997
|
visibleRange: v,
|
|
3950
3998
|
fetchJerseys: Ot,
|
|
3951
3999
|
buffer: 2,
|
|
3952
4000
|
debounceMs: 250
|
|
3953
|
-
}), R =
|
|
3954
|
-
return !R &&
|
|
3955
|
-
/* @__PURE__ */ t("div", { className: Be.container, children: /* @__PURE__ */
|
|
4001
|
+
}), R = b === null, $ = Ne("(max-width:950px)");
|
|
4002
|
+
return !R && b.length === 0 ? null : /* @__PURE__ */ t("section", { className: O, style: w, children: /* @__PURE__ */ h("div", { className: `${Be.wrapper} ${Be.padding}`, children: [
|
|
4003
|
+
/* @__PURE__ */ t("div", { className: Be.container, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3956
4004
|
/* @__PURE__ */ t(ye, { title: "Eventos de la semana" }),
|
|
3957
4005
|
/* @__PURE__ */ t("div", { className: Be.buttonWrapper, children: /* @__PURE__ */ t(
|
|
3958
4006
|
ae,
|
|
@@ -3961,7 +4009,7 @@ function Ao({
|
|
|
3961
4009
|
size: "lg",
|
|
3962
4010
|
fullWidth: !0,
|
|
3963
4011
|
onClick: () => {
|
|
3964
|
-
|
|
4012
|
+
E();
|
|
3965
4013
|
},
|
|
3966
4014
|
children: "Ver más"
|
|
3967
4015
|
}
|
|
@@ -3971,11 +4019,11 @@ function Ao({
|
|
|
3971
4019
|
xe,
|
|
3972
4020
|
{
|
|
3973
4021
|
ref: m,
|
|
3974
|
-
items: R ? Array(6).fill({}) :
|
|
4022
|
+
items: R ? Array(6).fill({}) : b.slice(0, 20),
|
|
3975
4023
|
perPage: 3.5,
|
|
3976
4024
|
gap: "16px",
|
|
3977
4025
|
enableHorizontalWheel: !0,
|
|
3978
|
-
showRightGradient:
|
|
4026
|
+
showRightGradient: !$,
|
|
3979
4027
|
options: { autoWidth: !0, trimSpace: !0 },
|
|
3980
4028
|
breakpoints: {
|
|
3981
4029
|
1024: {
|
|
@@ -3987,15 +4035,15 @@ function Ao({
|
|
|
3987
4035
|
},
|
|
3988
4036
|
renderItem: (y) => {
|
|
3989
4037
|
const I = y.id, F = I in L ? L[I] : void 0;
|
|
3990
|
-
return R ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(
|
|
4038
|
+
return R ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(Io, {}) }) : /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(No, { event: y, jersey: F }) });
|
|
3991
4039
|
},
|
|
3992
4040
|
onMove: ({ isStart: y, isEnd: I, visibleStart: F, visibleEnd: B, source: P }) => {
|
|
3993
|
-
|
|
4041
|
+
u({ isStart: y, isEnd: I }), S({
|
|
3994
4042
|
start: F,
|
|
3995
4043
|
end: B
|
|
3996
|
-
}), P === "user" &&
|
|
4044
|
+
}), P === "user" && s({
|
|
3997
4045
|
element: "evento_semana_carousel_slide",
|
|
3998
|
-
label: `${
|
|
4046
|
+
label: `${l} - OraculoSeccionEventoSemana - Slide Carousel`,
|
|
3999
4047
|
target: "carousel",
|
|
4000
4048
|
event_type: "slide",
|
|
4001
4049
|
module_id: c,
|
|
@@ -4013,56 +4061,56 @@ function Ao({
|
|
|
4013
4061
|
) })
|
|
4014
4062
|
] }) });
|
|
4015
4063
|
}
|
|
4016
|
-
const
|
|
4064
|
+
const Ro = -300, Po = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), pt = (e) => {
|
|
4017
4065
|
if (!e) return null;
|
|
4018
|
-
if (
|
|
4019
|
-
const
|
|
4020
|
-
return Number.isNaN(
|
|
4066
|
+
if (Po(e)) {
|
|
4067
|
+
const f = new Date(e).getTime();
|
|
4068
|
+
return Number.isNaN(f) ? null : f;
|
|
4021
4069
|
}
|
|
4022
4070
|
const a = e.match(
|
|
4023
4071
|
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
|
|
4024
4072
|
);
|
|
4025
4073
|
if (!a) return null;
|
|
4026
|
-
const [, n, o, i,
|
|
4074
|
+
const [, n, o, i, s, l, c = "00"] = a;
|
|
4027
4075
|
return Date.UTC(
|
|
4028
4076
|
Number(n),
|
|
4029
4077
|
Number(o) - 1,
|
|
4030
4078
|
Number(i),
|
|
4031
|
-
Number(
|
|
4032
|
-
Number(
|
|
4079
|
+
Number(s) - Ro / 60,
|
|
4080
|
+
Number(l),
|
|
4033
4081
|
Number(c)
|
|
4034
4082
|
);
|
|
4035
|
-
},
|
|
4036
|
-
var c,
|
|
4037
|
-
const n = (
|
|
4038
|
-
return !(
|
|
4083
|
+
}, Fo = (e, a) => {
|
|
4084
|
+
var c, f, g, m, d, u, b, x, v;
|
|
4085
|
+
const n = (g = (f = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? f : e == null ? void 0 : e.extraFields) != null ? g : [], o = (u = (d = e == null ? void 0 : e.startAt) != null ? d : (m = n.find((S) => (S == null ? void 0 : S.name) === "startAt")) == null ? void 0 : m.value) != null ? u : null, i = (v = (x = e == null ? void 0 : e.endAt) != null ? x : (b = n.find((S) => (S == null ? void 0 : S.name) === "endAt")) == null ? void 0 : b.value) != null ? v : null, s = pt(o), l = pt(i);
|
|
4086
|
+
return !(s != null && a < s || l != null && a >= l);
|
|
4039
4087
|
};
|
|
4040
|
-
function
|
|
4088
|
+
function Uo({
|
|
4041
4089
|
backgrounds: e,
|
|
4042
4090
|
items: a,
|
|
4043
4091
|
hideItems: n,
|
|
4044
4092
|
user: o = null
|
|
4045
4093
|
}) {
|
|
4046
4094
|
var Y;
|
|
4047
|
-
const [i,
|
|
4048
|
-
var
|
|
4049
|
-
const
|
|
4050
|
-
return
|
|
4051
|
-
}).map(({ item: p }) => p),
|
|
4095
|
+
const [i, s] = ee(0), l = se(), c = ce(), f = pe(), g = Z(null), m = Z(!1), d = Z(!1), [u, b] = ee(() => Date.now()), x = ue("setDepositActionGlobal"), v = ue("setAbrirLiveActionGlobal"), S = ue("openLoginWithRedirect"), M = (r) => [...r != null ? r : []].map((p, T) => ({ item: p, index: T })).sort((p, T) => {
|
|
4096
|
+
var N, U;
|
|
4097
|
+
const A = (N = p.item.order) != null ? N : Number.MAX_SAFE_INTEGER, k = (U = T.item.order) != null ? U : Number.MAX_SAFE_INTEGER;
|
|
4098
|
+
return A - k || p.index - T.index;
|
|
4099
|
+
}).map(({ item: p }) => p), E = de(() => M(a), [a]), _ = de(() => {
|
|
4052
4100
|
const r = (e != null ? e : []).filter(
|
|
4053
|
-
(p) =>
|
|
4101
|
+
(p) => Fo(p, u)
|
|
4054
4102
|
);
|
|
4055
4103
|
return M(r);
|
|
4056
|
-
}, [e,
|
|
4104
|
+
}, [e, u]), C = _.length || 1, O = !_ || _.length === 0, w = !O && _.length > 1, L = !n && E.length > 0;
|
|
4057
4105
|
Je("(max-width:950px)");
|
|
4058
4106
|
const R = "#B5B5B5";
|
|
4059
4107
|
re(() => {
|
|
4060
4108
|
const r = window.setInterval(() => {
|
|
4061
|
-
|
|
4109
|
+
b(Date.now());
|
|
4062
4110
|
}, 3e4);
|
|
4063
4111
|
return () => window.clearInterval(r);
|
|
4064
4112
|
}, []);
|
|
4065
|
-
const
|
|
4113
|
+
const $ = {
|
|
4066
4114
|
position: "absolute",
|
|
4067
4115
|
top: "50%",
|
|
4068
4116
|
transform: "translateY(-50%)",
|
|
@@ -4103,9 +4151,9 @@ function Ro({
|
|
|
4103
4151
|
return () => clearTimeout(r);
|
|
4104
4152
|
}, []);
|
|
4105
4153
|
const I = (r, p, T) => {
|
|
4106
|
-
var
|
|
4107
|
-
const
|
|
4108
|
-
if (
|
|
4154
|
+
var U, J;
|
|
4155
|
+
const A = !!p.idFunction, k = !!p.href;
|
|
4156
|
+
if (A)
|
|
4109
4157
|
switch (r.preventDefault(), r.stopPropagation(), p.idFunction) {
|
|
4110
4158
|
case "deposito":
|
|
4111
4159
|
x == null || x(!0);
|
|
@@ -4116,17 +4164,17 @@ function Ro({
|
|
|
4116
4164
|
default:
|
|
4117
4165
|
return;
|
|
4118
4166
|
}
|
|
4119
|
-
if (!
|
|
4167
|
+
if (!k) {
|
|
4120
4168
|
r.preventDefault(), r.stopPropagation();
|
|
4121
4169
|
return;
|
|
4122
4170
|
}
|
|
4123
|
-
const
|
|
4124
|
-
|
|
4171
|
+
const N = ((J = (U = p.href) == null ? void 0 : U.split("/").pop()) == null ? void 0 : J.split(".")[0]) || p.label || p.id || `banner_${T + 1}`;
|
|
4172
|
+
l({
|
|
4125
4173
|
element: "banner_carousel",
|
|
4126
|
-
label: `${c} - OraculoSeccionBanners - Banner click: ${
|
|
4174
|
+
label: `${c} - OraculoSeccionBanners - Banner click: ${N}`,
|
|
4127
4175
|
target: p.href || "no_url",
|
|
4128
4176
|
event_type: "click",
|
|
4129
|
-
module_id:
|
|
4177
|
+
module_id: f,
|
|
4130
4178
|
metadata: {
|
|
4131
4179
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
4132
4180
|
banner_position: T + 1,
|
|
@@ -4140,12 +4188,12 @@ function Ro({
|
|
|
4140
4188
|
});
|
|
4141
4189
|
}, F = (r) => {
|
|
4142
4190
|
var p;
|
|
4143
|
-
if (
|
|
4191
|
+
if (l({
|
|
4144
4192
|
element: "banner_menu_item",
|
|
4145
4193
|
label: `${c} - OraculoSeccionBanners - Menu item click: ${r.label || r.id}`,
|
|
4146
4194
|
target: r.href || "action",
|
|
4147
4195
|
event_type: "click",
|
|
4148
|
-
module_id:
|
|
4196
|
+
module_id: f,
|
|
4149
4197
|
metadata: {
|
|
4150
4198
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
4151
4199
|
item_id: r.id
|
|
@@ -4154,7 +4202,7 @@ function Ro({
|
|
|
4154
4202
|
item_label: r.label || "no_label"
|
|
4155
4203
|
}
|
|
4156
4204
|
}), !o && r.label == "MISIONES") {
|
|
4157
|
-
|
|
4205
|
+
S == null || S((p = r.href) != null ? p : "");
|
|
4158
4206
|
return;
|
|
4159
4207
|
}
|
|
4160
4208
|
if (r.onClick) {
|
|
@@ -4162,42 +4210,42 @@ function Ro({
|
|
|
4162
4210
|
return;
|
|
4163
4211
|
}
|
|
4164
4212
|
r.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(r.href);
|
|
4165
|
-
}, B = 5e3, P = Z(null), W = !
|
|
4213
|
+
}, B = 5e3, P = Z(null), W = !O && ((Y = _ == null ? void 0 : _.length) != null ? Y : 0) > 1, V = () => {
|
|
4166
4214
|
P.current != null && (window.clearTimeout(P.current), P.current = null);
|
|
4167
4215
|
}, H = () => {
|
|
4168
4216
|
V(), W && (P.current = window.setTimeout(() => {
|
|
4169
4217
|
var r;
|
|
4170
|
-
|
|
4218
|
+
d.current = !0, (r = g.current) == null || r.next();
|
|
4171
4219
|
}, B));
|
|
4172
4220
|
};
|
|
4173
4221
|
re(() => (H(), () => V()), [W, B]);
|
|
4174
4222
|
const G = (r) => {
|
|
4175
4223
|
var p;
|
|
4176
|
-
r.preventDefault(), r.stopPropagation(), V(), (p =
|
|
4224
|
+
r.preventDefault(), r.stopPropagation(), V(), (p = g.current) == null || p.prev();
|
|
4177
4225
|
}, D = (r) => {
|
|
4178
4226
|
var p;
|
|
4179
|
-
r.preventDefault(), r.stopPropagation(), V(), (p =
|
|
4227
|
+
r.preventDefault(), r.stopPropagation(), V(), (p = g.current) == null || p.next();
|
|
4180
4228
|
}, K = (r) => {
|
|
4181
|
-
var
|
|
4182
|
-
const p = (r %
|
|
4229
|
+
var A, k, N, U;
|
|
4230
|
+
const p = (r % C + C) % C;
|
|
4183
4231
|
if (!m.current) return;
|
|
4184
|
-
const T = (
|
|
4185
|
-
|
|
4232
|
+
const T = (A = _ == null ? void 0 : _[p]) != null && A.href ? ((N = (k = _[p].href) == null ? void 0 : k.split("/").pop()) == null ? void 0 : N.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
|
|
4233
|
+
l({
|
|
4186
4234
|
element: "banner_carousel",
|
|
4187
4235
|
label: `${c} - OraculoSeccionBanners - Banner view: Slide ${p + 1} - ${T}`,
|
|
4188
|
-
target: ((
|
|
4236
|
+
target: ((U = _ == null ? void 0 : _[p]) == null ? void 0 : U.href) || "no_url",
|
|
4189
4237
|
event_type: "view",
|
|
4190
|
-
module_id:
|
|
4238
|
+
module_id: f,
|
|
4191
4239
|
metadata: {
|
|
4192
4240
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
4193
4241
|
slide_index: p + 1,
|
|
4194
|
-
total_slides:
|
|
4242
|
+
total_slides: C,
|
|
4195
4243
|
interaction_type: "manual_slide"
|
|
4196
4244
|
},
|
|
4197
4245
|
tags: { banner_position: String(p + 1) }
|
|
4198
4246
|
});
|
|
4199
4247
|
};
|
|
4200
|
-
return /* @__PURE__ */
|
|
4248
|
+
return /* @__PURE__ */ h(
|
|
4201
4249
|
le,
|
|
4202
4250
|
{
|
|
4203
4251
|
component: "section",
|
|
@@ -4207,7 +4255,7 @@ function Ro({
|
|
|
4207
4255
|
pb: L ? { xs: "40px", sm: 0 } : 0
|
|
4208
4256
|
},
|
|
4209
4257
|
children: [
|
|
4210
|
-
/* @__PURE__ */
|
|
4258
|
+
/* @__PURE__ */ h(
|
|
4211
4259
|
le,
|
|
4212
4260
|
{
|
|
4213
4261
|
sx: {
|
|
@@ -4234,28 +4282,28 @@ function Ro({
|
|
|
4234
4282
|
children: /* @__PURE__ */ t(
|
|
4235
4283
|
xe,
|
|
4236
4284
|
{
|
|
4237
|
-
ref:
|
|
4285
|
+
ref: g,
|
|
4238
4286
|
items: _,
|
|
4239
4287
|
perPage: 1,
|
|
4240
4288
|
gap: "0px",
|
|
4241
4289
|
enableHorizontalWheel: !0,
|
|
4242
4290
|
options: y,
|
|
4243
4291
|
onMove: ({ index: r, source: p }) => {
|
|
4244
|
-
const T = (r %
|
|
4245
|
-
|
|
4246
|
-
const
|
|
4247
|
-
|
|
4292
|
+
const T = (r % C + C) % C;
|
|
4293
|
+
s(T);
|
|
4294
|
+
const A = d.current;
|
|
4295
|
+
d.current = !1, p === "user" && (H(), A || K(r));
|
|
4248
4296
|
},
|
|
4249
4297
|
renderItem: (r, p) => {
|
|
4250
|
-
var
|
|
4251
|
-
const T = !!r.idFunction,
|
|
4252
|
-
return /* @__PURE__ */
|
|
4298
|
+
var U, J, ne;
|
|
4299
|
+
const T = !!r.idFunction, A = !!r.href, k = A && !T, N = T || A;
|
|
4300
|
+
return /* @__PURE__ */ h(
|
|
4253
4301
|
le,
|
|
4254
4302
|
{
|
|
4255
|
-
component:
|
|
4256
|
-
href:
|
|
4257
|
-
target:
|
|
4258
|
-
rel:
|
|
4303
|
+
component: k ? "a" : "div",
|
|
4304
|
+
href: k ? r.href : void 0,
|
|
4305
|
+
target: k ? (U = r.target) != null ? U : "_self" : void 0,
|
|
4306
|
+
rel: k && r.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
4259
4307
|
onClick: (oe) => I(oe, r, p),
|
|
4260
4308
|
sx: {
|
|
4261
4309
|
position: "relative",
|
|
@@ -4263,10 +4311,10 @@ function Ro({
|
|
|
4263
4311
|
height: "100%",
|
|
4264
4312
|
display: "block",
|
|
4265
4313
|
textDecoration: "none",
|
|
4266
|
-
cursor:
|
|
4314
|
+
cursor: N ? "pointer" : "default"
|
|
4267
4315
|
},
|
|
4268
4316
|
children: [
|
|
4269
|
-
/* @__PURE__ */
|
|
4317
|
+
/* @__PURE__ */ h(le, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
|
|
4270
4318
|
/* @__PURE__ */ t("source", { srcSet: r.desktopSrc, media: "(min-width:950px)" }),
|
|
4271
4319
|
/* @__PURE__ */ t("source", { srcSet: r.mobileSrc, media: "(max-width:949px)" }),
|
|
4272
4320
|
/* @__PURE__ */ t(
|
|
@@ -4313,14 +4361,14 @@ function Ro({
|
|
|
4313
4361
|
)
|
|
4314
4362
|
}
|
|
4315
4363
|
),
|
|
4316
|
-
|
|
4364
|
+
w && /* @__PURE__ */ h(te, { children: [
|
|
4317
4365
|
/* @__PURE__ */ t(
|
|
4318
4366
|
Qe,
|
|
4319
4367
|
{
|
|
4320
4368
|
"aria-label": "Anterior",
|
|
4321
4369
|
onClick: G,
|
|
4322
4370
|
sx: {
|
|
4323
|
-
|
|
4371
|
+
...$,
|
|
4324
4372
|
left: "120px",
|
|
4325
4373
|
"@media (max-width:1024px)": { left: 24 },
|
|
4326
4374
|
"@media (max-width:786px)": { display: "none" }
|
|
@@ -4334,7 +4382,7 @@ function Ro({
|
|
|
4334
4382
|
"aria-label": "Siguiente",
|
|
4335
4383
|
onClick: D,
|
|
4336
4384
|
sx: {
|
|
4337
|
-
|
|
4385
|
+
...$,
|
|
4338
4386
|
right: "120px",
|
|
4339
4387
|
"@media (max-width:1024px)": { right: 24 },
|
|
4340
4388
|
"@media (max-width:786px)": { display: "none" }
|
|
@@ -4358,11 +4406,11 @@ function Ro({
|
|
|
4358
4406
|
children: /* @__PURE__ */ t(
|
|
4359
4407
|
yt,
|
|
4360
4408
|
{
|
|
4361
|
-
total:
|
|
4409
|
+
total: C,
|
|
4362
4410
|
active: i,
|
|
4363
4411
|
durationMs: B
|
|
4364
4412
|
},
|
|
4365
|
-
`${i}-${
|
|
4413
|
+
`${i}-${C}`
|
|
4366
4414
|
)
|
|
4367
4415
|
}
|
|
4368
4416
|
)
|
|
@@ -4387,7 +4435,7 @@ function Ro({
|
|
|
4387
4435
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
4388
4436
|
zIndex: 3
|
|
4389
4437
|
},
|
|
4390
|
-
children:
|
|
4438
|
+
children: E == null ? void 0 : E.map((r) => /* @__PURE__ */ h(
|
|
4391
4439
|
le,
|
|
4392
4440
|
{
|
|
4393
4441
|
sx: {
|
|
@@ -4434,7 +4482,7 @@ function Ro({
|
|
|
4434
4482
|
},
|
|
4435
4483
|
onClick: () => F(r),
|
|
4436
4484
|
children: [
|
|
4437
|
-
r.icon && /* @__PURE__ */
|
|
4485
|
+
r.icon && /* @__PURE__ */ h(
|
|
4438
4486
|
le,
|
|
4439
4487
|
{
|
|
4440
4488
|
sx: {
|
|
@@ -4504,7 +4552,7 @@ function Ro({
|
|
|
4504
4552
|
}
|
|
4505
4553
|
);
|
|
4506
4554
|
}
|
|
4507
|
-
const
|
|
4555
|
+
const zo = [
|
|
4508
4556
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg", alt: "Interbank" },
|
|
4509
4557
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg", alt: "Yape" },
|
|
4510
4558
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
|
|
@@ -4514,12 +4562,12 @@ const Po = [
|
|
|
4514
4562
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
|
|
4515
4563
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
|
|
4516
4564
|
];
|
|
4517
|
-
function
|
|
4565
|
+
function qo({
|
|
4518
4566
|
title: e = "Medios de pago",
|
|
4519
|
-
items: a =
|
|
4567
|
+
items: a = zo
|
|
4520
4568
|
}) {
|
|
4521
4569
|
const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
|
|
4522
|
-
return /* @__PURE__ */
|
|
4570
|
+
return /* @__PURE__ */ h(le, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
4523
4571
|
/* @__PURE__ */ t(
|
|
4524
4572
|
bt,
|
|
4525
4573
|
{
|
|
@@ -4548,7 +4596,7 @@ function Fo({
|
|
|
4548
4596
|
}
|
|
4549
4597
|
}
|
|
4550
4598
|
),
|
|
4551
|
-
/* @__PURE__ */
|
|
4599
|
+
/* @__PURE__ */ h(Re, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
|
|
4552
4600
|
/* @__PURE__ */ t(
|
|
4553
4601
|
Re,
|
|
4554
4602
|
{
|
|
@@ -4557,7 +4605,7 @@ function Fo({
|
|
|
4557
4605
|
alignItems: "center",
|
|
4558
4606
|
gap: { xs: 2, md: 3 },
|
|
4559
4607
|
flexWrap: "wrap",
|
|
4560
|
-
children: o.map((
|
|
4608
|
+
children: o.map((s, l) => /* @__PURE__ */ t(Ye, { ...s }, `${s.alt}-${s.src}-${l}`))
|
|
4561
4609
|
}
|
|
4562
4610
|
),
|
|
4563
4611
|
/* @__PURE__ */ t(
|
|
@@ -4568,7 +4616,7 @@ function Fo({
|
|
|
4568
4616
|
alignItems: "center",
|
|
4569
4617
|
gap: { xs: 2, md: 3 },
|
|
4570
4618
|
flexWrap: "wrap",
|
|
4571
|
-
children: i.map((
|
|
4619
|
+
children: i.map((s, l) => /* @__PURE__ */ t(Ye, { ...s }, `${s.alt}-${s.src}-${l}`))
|
|
4572
4620
|
}
|
|
4573
4621
|
)
|
|
4574
4622
|
] })
|
|
@@ -4590,31 +4638,31 @@ function At({
|
|
|
4590
4638
|
}),
|
|
4591
4639
|
[a]
|
|
4592
4640
|
);
|
|
4593
|
-
return /* @__PURE__ */
|
|
4641
|
+
return /* @__PURE__ */ h(Vt, { theme: n, children: [
|
|
4594
4642
|
/* @__PURE__ */ t(Ht, {}),
|
|
4595
4643
|
e
|
|
4596
4644
|
] });
|
|
4597
4645
|
}
|
|
4598
|
-
function
|
|
4646
|
+
function ur({
|
|
4599
4647
|
docId: e = "Landing: home",
|
|
4600
4648
|
moduleId: a = 301,
|
|
4601
4649
|
children: n
|
|
4602
4650
|
}) {
|
|
4603
4651
|
return /* @__PURE__ */ t(At, { children: /* @__PURE__ */ t(Tt, { docId: e, moduleId: a, children: n }) });
|
|
4604
4652
|
}
|
|
4605
|
-
const
|
|
4653
|
+
const Do = {
|
|
4606
4654
|
OraculoSeccionDestacados: Ln,
|
|
4607
4655
|
OraculoSeccionTopJuegos: Fn,
|
|
4608
|
-
OraculoSeccionCasinoEnVivo:
|
|
4609
|
-
OraculoSeccionCasino:
|
|
4610
|
-
OraculoSeccionVirtuales:
|
|
4611
|
-
OraculoSeccionClubOlimpo:
|
|
4612
|
-
OraculoSeccionBonoBienvenida:
|
|
4613
|
-
OraculoSeccionBanners:
|
|
4614
|
-
OraculoSeccionMediosPago:
|
|
4615
|
-
OraculoSeccionEventoEnVivo:
|
|
4616
|
-
OraculoSeccionEventoSemana:
|
|
4617
|
-
OraculoSeccionEventoCombinadas:
|
|
4656
|
+
OraculoSeccionCasinoEnVivo: Qn,
|
|
4657
|
+
OraculoSeccionCasino: to,
|
|
4658
|
+
OraculoSeccionVirtuales: ro,
|
|
4659
|
+
OraculoSeccionClubOlimpo: so,
|
|
4660
|
+
OraculoSeccionBonoBienvenida: lo,
|
|
4661
|
+
OraculoSeccionBanners: Uo,
|
|
4662
|
+
OraculoSeccionMediosPago: qo,
|
|
4663
|
+
OraculoSeccionEventoEnVivo: Oo,
|
|
4664
|
+
OraculoSeccionEventoSemana: Lo,
|
|
4665
|
+
OraculoSeccionEventoCombinadas: ho
|
|
4618
4666
|
}, Le = {
|
|
4619
4667
|
sections: [
|
|
4620
4668
|
{
|
|
@@ -5983,20 +6031,20 @@ const qo = {
|
|
|
5983
6031
|
componentKey: "OraculoSeccionMediosPago"
|
|
5984
6032
|
}
|
|
5985
6033
|
]
|
|
5986
|
-
},
|
|
6034
|
+
}, Wo = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, Vo = (e) => /^OraculoSeccion[A-Z]/.test(e);
|
|
5987
6035
|
function Ae(e) {
|
|
5988
6036
|
return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
|
|
5989
6037
|
var o, i;
|
|
5990
6038
|
return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
|
|
5991
6039
|
}).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
|
|
5992
|
-
var o, i,
|
|
6040
|
+
var o, i, s, l, c;
|
|
5993
6041
|
return {
|
|
5994
6042
|
id: (o = a.id) != null ? o : n + 1,
|
|
5995
6043
|
title: (i = a.title) != null ? i : "",
|
|
5996
6044
|
componentKey: a.componentKey,
|
|
5997
|
-
visible: (
|
|
6045
|
+
visible: (s = a.visible) != null ? s : !0,
|
|
5998
6046
|
order: n + 1,
|
|
5999
|
-
props: (
|
|
6047
|
+
props: (l = a.props) != null ? l : {},
|
|
6000
6048
|
apiUrl: (c = a.apiUrl) != null ? c : "",
|
|
6001
6049
|
dataMode: a.dataMode,
|
|
6002
6050
|
variableName: a.variableName,
|
|
@@ -6009,11 +6057,11 @@ function Ae(e) {
|
|
|
6009
6057
|
};
|
|
6010
6058
|
}) : [];
|
|
6011
6059
|
}
|
|
6012
|
-
const
|
|
6013
|
-
Object.entries(
|
|
6014
|
-
([e, a]) =>
|
|
6060
|
+
const Ho = Object.fromEntries(
|
|
6061
|
+
Object.entries(Do).filter(
|
|
6062
|
+
([e, a]) => Vo(e) && Wo(a)
|
|
6015
6063
|
)
|
|
6016
|
-
),
|
|
6064
|
+
), Go = (e) => {
|
|
6017
6065
|
try {
|
|
6018
6066
|
return Object.fromEntries(e != null ? e : []);
|
|
6019
6067
|
} catch {
|
|
@@ -6025,7 +6073,7 @@ class ft extends Error {
|
|
|
6025
6073
|
super(`HTTP ${a} ${o}`), this.status = a, this.url = n, this.statusText = o, this.name = "HttpError";
|
|
6026
6074
|
}
|
|
6027
6075
|
}
|
|
6028
|
-
class
|
|
6076
|
+
class Zo extends ve.Component {
|
|
6029
6077
|
constructor(a) {
|
|
6030
6078
|
super(a), this.state = { hasError: !1 };
|
|
6031
6079
|
}
|
|
@@ -6049,50 +6097,50 @@ const gt = [
|
|
|
6049
6097
|
"OraculoSeccionEventoEnVivo",
|
|
6050
6098
|
"OraculoSeccionEventoSemana",
|
|
6051
6099
|
"OraculoSeccionEventoCombinadas"
|
|
6052
|
-
],
|
|
6100
|
+
], jo = [
|
|
6053
6101
|
"OraculoSeccionCasino",
|
|
6054
6102
|
"OraculoSeccionVirtuales",
|
|
6055
6103
|
"OraculoSeccionCasinoEnVivo",
|
|
6056
6104
|
"OraculoSeccionTopJuegos",
|
|
6057
6105
|
"OraculoSeccionDestacados"
|
|
6058
|
-
],
|
|
6106
|
+
], mr = ({
|
|
6059
6107
|
sectionsOverride: e,
|
|
6060
6108
|
docId: a = "Landing: home",
|
|
6061
6109
|
moduleId: n = 301,
|
|
6062
6110
|
db: o,
|
|
6063
6111
|
extras: i,
|
|
6064
|
-
loader:
|
|
6065
|
-
disableWrapper:
|
|
6112
|
+
loader: s,
|
|
6113
|
+
disableWrapper: l = !1
|
|
6066
6114
|
}) => {
|
|
6067
|
-
const c = de(() =>
|
|
6115
|
+
const c = de(() => Go(i), [i]), f = s || c.loader, [g, m] = ee(
|
|
6068
6116
|
() => e ? [] : Ae(Le)
|
|
6069
|
-
), [
|
|
6117
|
+
), [d, u] = ee(!1), [b, x] = ee({}), [v, S] = ee({}), [M, E] = ee({}), _ = Je("(min-width:1024px)"), C = de(
|
|
6070
6118
|
() => Ae(Le),
|
|
6071
6119
|
[]
|
|
6072
|
-
),
|
|
6120
|
+
), O = (r) => C.find(
|
|
6073
6121
|
(p) => p.id === r.id || p.componentKey === r.componentKey
|
|
6074
|
-
),
|
|
6122
|
+
), w = (r) => Array.isArray(r) ? r.map((p) => Number(p)).filter((p) => !Number.isNaN(p)) : [], L = de(() => {
|
|
6075
6123
|
const r = c.user;
|
|
6076
|
-
return
|
|
6124
|
+
return w(r == null ? void 0 : r.groups);
|
|
6077
6125
|
}, [c]), R = (r) => {
|
|
6078
6126
|
const p = r.manualScalarFields;
|
|
6079
6127
|
if (!Array.isArray(p)) return [];
|
|
6080
6128
|
const T = p.find(
|
|
6081
|
-
(
|
|
6129
|
+
(N) => String((N == null ? void 0 : N.name) || "").trim().toLowerCase() === "groups"
|
|
6082
6130
|
);
|
|
6083
6131
|
if (!T) return [];
|
|
6084
|
-
const
|
|
6085
|
-
if (
|
|
6086
|
-
if (Array.isArray(
|
|
6087
|
-
return
|
|
6088
|
-
const
|
|
6089
|
-
return
|
|
6090
|
-
},
|
|
6132
|
+
const A = T.value;
|
|
6133
|
+
if (A == null) return [];
|
|
6134
|
+
if (Array.isArray(A))
|
|
6135
|
+
return A.map((N) => Number(String(N).trim())).filter((N) => !Number.isNaN(N));
|
|
6136
|
+
const k = String(A).trim();
|
|
6137
|
+
return k ? k.split(",").map((N) => Number(N.trim())).filter((N) => !Number.isNaN(N)) : [];
|
|
6138
|
+
}, $ = (r, p) => {
|
|
6091
6139
|
const T = R(r);
|
|
6092
6140
|
if (T.length === 0) return !0;
|
|
6093
6141
|
if (!Array.isArray(p) || p.length === 0) return !1;
|
|
6094
|
-
const
|
|
6095
|
-
return T.some((
|
|
6142
|
+
const A = new Set(p);
|
|
6143
|
+
return T.some((k) => A.has(k));
|
|
6096
6144
|
};
|
|
6097
6145
|
re(() => {
|
|
6098
6146
|
if (e) return;
|
|
@@ -6100,10 +6148,10 @@ const gt = [
|
|
|
6100
6148
|
console.warn("[landing] sin db -> fallback json"), m(Ae(Le));
|
|
6101
6149
|
return;
|
|
6102
6150
|
}
|
|
6103
|
-
const r = (T,
|
|
6104
|
-
console.warn("[landing] FALLBACK:", T,
|
|
6151
|
+
const r = (T, A) => {
|
|
6152
|
+
console.warn("[landing] FALLBACK:", T, A != null ? A : ""), m(Ae(Le)), u(!1);
|
|
6105
6153
|
};
|
|
6106
|
-
|
|
6154
|
+
u(!0);
|
|
6107
6155
|
const p = Gt(
|
|
6108
6156
|
Zt(o, "landings", a),
|
|
6109
6157
|
(T) => {
|
|
@@ -6112,16 +6160,16 @@ const gt = [
|
|
|
6112
6160
|
r(`doc landings/${a} no existe`);
|
|
6113
6161
|
return;
|
|
6114
6162
|
}
|
|
6115
|
-
const
|
|
6116
|
-
if (!
|
|
6117
|
-
r("JSON inválido o sin secciones normalizables",
|
|
6163
|
+
const A = T.data(), k = Ae(A);
|
|
6164
|
+
if (!k.length) {
|
|
6165
|
+
r("JSON inválido o sin secciones normalizables", A);
|
|
6118
6166
|
return;
|
|
6119
6167
|
}
|
|
6120
|
-
console.log("[landing] Firestore OK (json grande):",
|
|
6121
|
-
} catch (
|
|
6122
|
-
r("error procesando snapshot",
|
|
6168
|
+
console.log("[landing] Firestore OK (json grande):", A), m(k);
|
|
6169
|
+
} catch (A) {
|
|
6170
|
+
r("error procesando snapshot", A);
|
|
6123
6171
|
} finally {
|
|
6124
|
-
|
|
6172
|
+
u(!1);
|
|
6125
6173
|
}
|
|
6126
6174
|
},
|
|
6127
6175
|
(T) => {
|
|
@@ -6130,8 +6178,8 @@ const gt = [
|
|
|
6130
6178
|
);
|
|
6131
6179
|
return () => p();
|
|
6132
6180
|
}, [e, a, o]), re(() => (Rn(c), () => Pn()), [c]), re(() => {
|
|
6133
|
-
(e ? e.slice() :
|
|
6134
|
-
}, [e,
|
|
6181
|
+
(e ? e.slice() : g.slice()).map((T) => T.componentKey).filter((T) => !!T).length;
|
|
6182
|
+
}, [e, g]);
|
|
6135
6183
|
const y = async (r) => {
|
|
6136
6184
|
if (gt.includes(r.componentKey))
|
|
6137
6185
|
return {
|
|
@@ -6141,79 +6189,79 @@ const gt = [
|
|
|
6141
6189
|
};
|
|
6142
6190
|
const p = (r.apiUrl || "").trim();
|
|
6143
6191
|
if (!p) return;
|
|
6144
|
-
const T = r.apiMethod || "GET",
|
|
6145
|
-
let
|
|
6192
|
+
const T = r.apiMethod || "GET", A = r.apiParams || [];
|
|
6193
|
+
let k = p, N, U;
|
|
6146
6194
|
if (T === "GET") {
|
|
6147
6195
|
const ne = new URL(
|
|
6148
6196
|
p,
|
|
6149
6197
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
6150
6198
|
);
|
|
6151
|
-
for (const oe of
|
|
6199
|
+
for (const oe of A)
|
|
6152
6200
|
oe.key && ne.searchParams.append(oe.key, oe.value);
|
|
6153
|
-
|
|
6201
|
+
k = ne.toString();
|
|
6154
6202
|
} else {
|
|
6155
6203
|
const ne = new URLSearchParams();
|
|
6156
|
-
for (const oe of
|
|
6204
|
+
for (const oe of A)
|
|
6157
6205
|
oe.key && ne.append(oe.key, oe.value);
|
|
6158
|
-
|
|
6206
|
+
N = ne.toString(), U = {
|
|
6159
6207
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
6160
6208
|
};
|
|
6161
6209
|
}
|
|
6162
|
-
const J = await fetch(
|
|
6210
|
+
const J = await fetch(k, {
|
|
6163
6211
|
method: T,
|
|
6164
|
-
headers:
|
|
6165
|
-
body:
|
|
6212
|
+
headers: U,
|
|
6213
|
+
body: N
|
|
6166
6214
|
});
|
|
6167
|
-
if (!J.ok) throw new ft(J.status,
|
|
6215
|
+
if (!J.ok) throw new ft(J.status, k, J.statusText);
|
|
6168
6216
|
return J.json();
|
|
6169
6217
|
}, I = de(
|
|
6170
|
-
() => e ? e.slice() :
|
|
6171
|
-
[e,
|
|
6218
|
+
() => e ? e.slice() : g.slice(),
|
|
6219
|
+
[e, g]
|
|
6172
6220
|
), F = ve.useRef(/* @__PURE__ */ new Set());
|
|
6173
6221
|
re(() => {
|
|
6174
6222
|
const r = I.map((p) => ({ s: p, url: (p.apiUrl || "").trim() })).filter(({ url: p }) => !!p);
|
|
6175
6223
|
if (r.length)
|
|
6176
6224
|
for (const { s: p, url: T } of r) {
|
|
6177
|
-
const
|
|
6178
|
-
F.current.has(
|
|
6225
|
+
const A = `${p.id}|${T}`;
|
|
6226
|
+
F.current.has(A) || (F.current.add(A), S((k) => ({ ...k, [p.id]: !0 })), E((k) => ({ ...k, [p.id]: "" })), (async () => {
|
|
6179
6227
|
try {
|
|
6180
|
-
const
|
|
6181
|
-
x((
|
|
6182
|
-
} catch (
|
|
6183
|
-
let
|
|
6184
|
-
|
|
6228
|
+
const k = await y(p);
|
|
6229
|
+
x((N) => ({ ...N, [p.id]: k }));
|
|
6230
|
+
} catch (k) {
|
|
6231
|
+
let N = "Error desconocido";
|
|
6232
|
+
k instanceof ft ? N = `Error HTTP ${k.status} (${k.statusText}) en ${k.url}` : k instanceof SyntaxError ? N = "Respuesta no es JSON válido" : k instanceof TypeError ? N = "Fallo de red / CORS / conexión" : typeof k == "string" && (N = k.toString()), E((U) => ({ ...U, [p.id]: N }));
|
|
6185
6233
|
} finally {
|
|
6186
|
-
|
|
6234
|
+
S((k) => ({ ...k, [p.id]: !1 }));
|
|
6187
6235
|
}
|
|
6188
6236
|
})());
|
|
6189
6237
|
}
|
|
6190
6238
|
}, [I]);
|
|
6191
6239
|
const B = de(
|
|
6192
|
-
() => I.filter((r) => r.visible).filter((r) =>
|
|
6240
|
+
() => I.filter((r) => r.visible).filter((r) => $(r, L)).sort((r, p) => r.order - p.order),
|
|
6193
6241
|
[I, L]
|
|
6194
6242
|
), P = (r) => Array.isArray(r) ? r.map((p) => {
|
|
6195
6243
|
const T = {};
|
|
6196
|
-
for (const
|
|
6197
|
-
const
|
|
6198
|
-
if (
|
|
6199
|
-
const
|
|
6200
|
-
if (
|
|
6201
|
-
const
|
|
6202
|
-
Number.isNaN(
|
|
6244
|
+
for (const A of p.fields || []) {
|
|
6245
|
+
const k = (A.type || "string").toLowerCase();
|
|
6246
|
+
if (k === "number") {
|
|
6247
|
+
const N = String(A.value || "").trim();
|
|
6248
|
+
if (N !== "") {
|
|
6249
|
+
const U = Number(N);
|
|
6250
|
+
Number.isNaN(U) || (T[A.name] = U);
|
|
6203
6251
|
}
|
|
6204
|
-
} else if (
|
|
6205
|
-
T[
|
|
6206
|
-
else if (
|
|
6207
|
-
const
|
|
6208
|
-
if (
|
|
6252
|
+
} else if (k === "boolean")
|
|
6253
|
+
T[A.name] = String(A.value).toLowerCase() === "true";
|
|
6254
|
+
else if (k === "function") {
|
|
6255
|
+
const N = String(A.value || "").trim();
|
|
6256
|
+
if (N)
|
|
6209
6257
|
try {
|
|
6210
|
-
const
|
|
6211
|
-
T[
|
|
6212
|
-
} catch (
|
|
6213
|
-
console.error(`❌ Error creando función en item '${
|
|
6258
|
+
const U = new Function(N);
|
|
6259
|
+
T[A.name] = U;
|
|
6260
|
+
} catch (U) {
|
|
6261
|
+
console.error(`❌ Error creando función en item '${A.name}':`, U);
|
|
6214
6262
|
}
|
|
6215
6263
|
} else
|
|
6216
|
-
T[
|
|
6264
|
+
T[A.name] = A.value;
|
|
6217
6265
|
}
|
|
6218
6266
|
return T;
|
|
6219
6267
|
}) : [], W = (r) => {
|
|
@@ -6221,73 +6269,73 @@ const gt = [
|
|
|
6221
6269
|
if (!Array.isArray(r)) return p;
|
|
6222
6270
|
for (const T of r) {
|
|
6223
6271
|
if (!T.name) continue;
|
|
6224
|
-
const
|
|
6225
|
-
if (
|
|
6226
|
-
const
|
|
6227
|
-
if (
|
|
6228
|
-
const
|
|
6229
|
-
Number.isNaN(
|
|
6272
|
+
const A = (T.type || "string").toLowerCase();
|
|
6273
|
+
if (A === "number") {
|
|
6274
|
+
const k = String(T.value || "").trim();
|
|
6275
|
+
if (k !== "") {
|
|
6276
|
+
const N = Number(k);
|
|
6277
|
+
Number.isNaN(N) || (p[T.name] = N);
|
|
6230
6278
|
}
|
|
6231
|
-
} else if (
|
|
6279
|
+
} else if (A === "boolean")
|
|
6232
6280
|
p[T.name] = String(T.value).toLowerCase() === "true";
|
|
6233
|
-
else if (
|
|
6234
|
-
const
|
|
6235
|
-
if (
|
|
6281
|
+
else if (A === "function") {
|
|
6282
|
+
const k = String(T.value || "").trim();
|
|
6283
|
+
if (k)
|
|
6236
6284
|
try {
|
|
6237
|
-
const
|
|
6238
|
-
p[T.name] =
|
|
6239
|
-
} catch (
|
|
6240
|
-
console.error(`❌ Error creando función en item '${T.name}':`,
|
|
6285
|
+
const N = new Function(k);
|
|
6286
|
+
p[T.name] = N;
|
|
6287
|
+
} catch (N) {
|
|
6288
|
+
console.error(`❌ Error creando función en item '${T.name}':`, N);
|
|
6241
6289
|
}
|
|
6242
6290
|
} else
|
|
6243
6291
|
p[T.name] = T.value;
|
|
6244
6292
|
}
|
|
6245
6293
|
return p;
|
|
6246
|
-
}, V = (r, p, T,
|
|
6247
|
-
const
|
|
6294
|
+
}, V = (r, p, T, A) => {
|
|
6295
|
+
const k = T ? { ...T } : {}, N = (A || "items").trim() || "items";
|
|
6248
6296
|
if (p)
|
|
6249
|
-
return
|
|
6250
|
-
const
|
|
6251
|
-
if (Array.isArray(
|
|
6252
|
-
return
|
|
6253
|
-
if (
|
|
6254
|
-
const J =
|
|
6255
|
-
return Array.isArray(J.lobby) ? (
|
|
6297
|
+
return k[N] = p.arr || [], k;
|
|
6298
|
+
const U = r;
|
|
6299
|
+
if (Array.isArray(U))
|
|
6300
|
+
return k[N] = U, k;
|
|
6301
|
+
if (U && typeof U == "object") {
|
|
6302
|
+
const J = U;
|
|
6303
|
+
return Array.isArray(J.lobby) ? (k[N] = J.lobby, k) : Array.isArray(J.items) ? (k[N] = J.items, k) : (k[N] = U, k);
|
|
6256
6304
|
}
|
|
6257
|
-
return
|
|
6305
|
+
return k[N] = [], k;
|
|
6258
6306
|
}, H = (r) => {
|
|
6259
|
-
var
|
|
6260
|
-
const p = !!((
|
|
6261
|
-
let
|
|
6262
|
-
const
|
|
6307
|
+
var N;
|
|
6308
|
+
const p = !!((N = r.apiUrl) != null && N.trim()), T = p ? b[r.id] : void 0;
|
|
6309
|
+
let A = r.props ? { ...r.props } : {};
|
|
6310
|
+
const k = W(r.manualScalarFields);
|
|
6263
6311
|
if (gt.includes(r.componentKey))
|
|
6264
|
-
return { items: T, ...
|
|
6265
|
-
if (
|
|
6266
|
-
|
|
6312
|
+
return { items: T, ...A, ...k };
|
|
6313
|
+
if (A = { ...A, ...k }, p)
|
|
6314
|
+
A = V(T, null, A);
|
|
6267
6315
|
else if (r.dataMode === "manual") {
|
|
6268
|
-
const
|
|
6269
|
-
if (
|
|
6316
|
+
const U = P(r.manualItems);
|
|
6317
|
+
if (A = V(
|
|
6270
6318
|
null,
|
|
6271
|
-
{ arr:
|
|
6272
|
-
|
|
6319
|
+
{ arr: U, variableName: r.variableName },
|
|
6320
|
+
A,
|
|
6273
6321
|
r.variableName
|
|
6274
6322
|
), r.variableName2 && r.manualItems2) {
|
|
6275
6323
|
const J = P(r.manualItems2), ne = (r.variableName2 || "items2").trim() || "items2";
|
|
6276
|
-
|
|
6324
|
+
A[ne] = J;
|
|
6277
6325
|
}
|
|
6278
6326
|
}
|
|
6279
|
-
return
|
|
6327
|
+
return A;
|
|
6280
6328
|
}, G = (r) => {
|
|
6281
6329
|
const p = r.props ? { ...r.props } : {};
|
|
6282
6330
|
try {
|
|
6283
6331
|
Object.assign(p, W(r.manualScalarFields));
|
|
6284
|
-
} catch (
|
|
6285
|
-
console.error("❌ Error armando scalars vacíos:", r,
|
|
6332
|
+
} catch (A) {
|
|
6333
|
+
console.error("❌ Error armando scalars vacíos:", r, A);
|
|
6286
6334
|
}
|
|
6287
6335
|
const T = (r.variableName || "items").trim() || "items";
|
|
6288
6336
|
if (typeof p[T] == "undefined" && (p[T] = []), r.variableName2) {
|
|
6289
|
-
const
|
|
6290
|
-
typeof p[
|
|
6337
|
+
const A = (r.variableName2 || "items2").trim() || "items2";
|
|
6338
|
+
typeof p[A] == "undefined" && (p[A] = []);
|
|
6291
6339
|
}
|
|
6292
6340
|
return p;
|
|
6293
6341
|
}, D = (r) => {
|
|
@@ -6295,14 +6343,14 @@ const gt = [
|
|
|
6295
6343
|
return H(r);
|
|
6296
6344
|
} catch (p) {
|
|
6297
6345
|
console.error("🔥 ERROR EN buildCompProps:", r, p);
|
|
6298
|
-
const T =
|
|
6346
|
+
const T = O(r);
|
|
6299
6347
|
if (T && T !== r)
|
|
6300
6348
|
try {
|
|
6301
6349
|
return console.warn(
|
|
6302
6350
|
`[landing] usando fallback local para sección ${r.title} (${r.componentKey})`
|
|
6303
6351
|
), H(T);
|
|
6304
|
-
} catch (
|
|
6305
|
-
console.error("🔥 ERROR EN fallback buildCompProps:", T,
|
|
6352
|
+
} catch (A) {
|
|
6353
|
+
console.error("🔥 ERROR EN fallback buildCompProps:", T, A);
|
|
6306
6354
|
}
|
|
6307
6355
|
return G(r);
|
|
6308
6356
|
}
|
|
@@ -6312,7 +6360,7 @@ const gt = [
|
|
|
6312
6360
|
component: "bg-yellow-100 text-yellow-800"
|
|
6313
6361
|
}[p]}`, children: T }, r), Y = (r) => {
|
|
6314
6362
|
var $e;
|
|
6315
|
-
const p = r.componentKey, T =
|
|
6363
|
+
const p = r.componentKey, T = Ho[p], k = (/* @__PURE__ */ new Set([
|
|
6316
6364
|
"OraculoSeccionBanners",
|
|
6317
6365
|
"OraculoSeccionBonoBienvenida",
|
|
6318
6366
|
"OraculoSeccionCasinoEnVivo",
|
|
@@ -6325,13 +6373,13 @@ const gt = [
|
|
|
6325
6373
|
"OraculoSeccionDestacados",
|
|
6326
6374
|
"OraculoSeccionCasino"
|
|
6327
6375
|
]
|
|
6328
|
-
])).has(r.componentKey),
|
|
6376
|
+
])).has(r.componentKey), N = _ ? 120 : 24, U = (_ ? 8 : 5) * 8, J = r.componentKey === "OraculoSeccionCasinoEnVivo", ne = {
|
|
6329
6377
|
width: "100%",
|
|
6330
6378
|
boxSizing: "border-box",
|
|
6331
|
-
...
|
|
6379
|
+
...k ? {} : { paddingLeft: N, paddingRight: N },
|
|
6332
6380
|
...J ? {
|
|
6333
|
-
marginTop: -
|
|
6334
|
-
marginBottom: -
|
|
6381
|
+
marginTop: -U,
|
|
6382
|
+
marginBottom: -U
|
|
6335
6383
|
} : {}
|
|
6336
6384
|
};
|
|
6337
6385
|
if (!T)
|
|
@@ -6340,9 +6388,9 @@ const gt = [
|
|
|
6340
6388
|
"component",
|
|
6341
6389
|
`Componente "${p}" no encontrado`
|
|
6342
6390
|
);
|
|
6343
|
-
const oe = !!(($e = r.apiUrl) != null && $e.trim()), j = oe ?
|
|
6391
|
+
const oe = !!(($e = r.apiUrl) != null && $e.trim()), j = oe ? b[r.id] : void 0, ie = oe ? !!v[r.id] : !1, Se = oe ? M[r.id] : "";
|
|
6344
6392
|
if (oe) {
|
|
6345
|
-
const Mt =
|
|
6393
|
+
const Mt = jo.includes(r.componentKey);
|
|
6346
6394
|
if (ie && !j && !Mt)
|
|
6347
6395
|
return K(
|
|
6348
6396
|
r.id,
|
|
@@ -6350,7 +6398,7 @@ const gt = [
|
|
|
6350
6398
|
`Cargando datos desde ${r.apiUrl}...`
|
|
6351
6399
|
);
|
|
6352
6400
|
if (Se && !j) {
|
|
6353
|
-
const Me =
|
|
6401
|
+
const Me = O(r);
|
|
6354
6402
|
if (Me && Me.dataMode === "manual")
|
|
6355
6403
|
try {
|
|
6356
6404
|
const Ge = D(Me);
|
|
@@ -6373,7 +6421,7 @@ const gt = [
|
|
|
6373
6421
|
...we,
|
|
6374
6422
|
user: c.user
|
|
6375
6423
|
} : we;
|
|
6376
|
-
return /* @__PURE__ */ t(
|
|
6424
|
+
return /* @__PURE__ */ t(Zo, { section: r, children: /* @__PURE__ */ t(
|
|
6377
6425
|
"div",
|
|
6378
6426
|
{
|
|
6379
6427
|
style: ne,
|
|
@@ -6384,7 +6432,7 @@ const gt = [
|
|
|
6384
6432
|
r.id
|
|
6385
6433
|
) });
|
|
6386
6434
|
};
|
|
6387
|
-
return
|
|
6435
|
+
return d && !e && g.length === 0 ? f ? /* @__PURE__ */ t(f, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !d && !e && g.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(At, { children: /* @__PURE__ */ t(Tt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
|
|
6388
6436
|
Bt,
|
|
6389
6437
|
{
|
|
6390
6438
|
className: "oli-font",
|
|
@@ -6430,24 +6478,24 @@ export {
|
|
|
6430
6478
|
me as OraculoGridGroup,
|
|
6431
6479
|
nt as OraculoLiveCasinoCard,
|
|
6432
6480
|
Ye as OraculoLogoMediosPago,
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6481
|
+
mr as OraculoPageLandingPreview,
|
|
6482
|
+
Uo as OraculoSeccionBanners,
|
|
6483
|
+
lo as OraculoSeccionBonoBienvenida,
|
|
6484
|
+
to as OraculoSeccionCasino,
|
|
6485
|
+
Qn as OraculoSeccionCasinoEnVivo,
|
|
6486
|
+
so as OraculoSeccionClubOlimpo,
|
|
6439
6487
|
Ln as OraculoSeccionDestacados,
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6488
|
+
ho as OraculoSeccionEventoCombinadas,
|
|
6489
|
+
Oo as OraculoSeccionEventoEnVivo,
|
|
6490
|
+
Lo as OraculoSeccionEventoSemana,
|
|
6491
|
+
qo as OraculoSeccionMediosPago,
|
|
6444
6492
|
Fn as OraculoSeccionTopJuegos,
|
|
6445
|
-
|
|
6446
|
-
|
|
6493
|
+
ro as OraculoSeccionVirtuales,
|
|
6494
|
+
ur as OraculoSectionHost,
|
|
6447
6495
|
ye as OraculoSectionTitle,
|
|
6448
6496
|
At as OraculoThemeProvider,
|
|
6449
6497
|
Fn as OraculoTopJuegoItem,
|
|
6450
6498
|
ot as OraculoWelcomeBanner,
|
|
6451
|
-
|
|
6499
|
+
mr as default
|
|
6452
6500
|
};
|
|
6453
6501
|
//# sourceMappingURL=index.es.js.map
|