oraculo-ui 0.1.76 → 0.1.78
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/atoms/OraculoEvent/KambiJersey.d.ts +23 -0
- package/dist/atoms/OraculoEvent/OraculoEventTeamInfo.d.ts +2 -7
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1161 -1109
- package/dist/index.es.js.map +1 -1
- package/dist/organisms/OraculoSeccionEventoEnVivo/OraculoSeccionEventoEnVivo.d.ts +1 -1
- package/dist/organisms/OraculoSeccionEventoSemana/OraculoSeccionEventoSemana.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { Link as
|
|
1
|
+
import { jsx as e, jsxs as h, Fragment as oe } from "react/jsx-runtime";
|
|
2
|
+
import { Link as Me, Box as V, Typography as Le, Stack as de, useMediaQuery as Xe, Container as Ye } from "@mui/material";
|
|
3
3
|
import A from "@mui/material/Skeleton";
|
|
4
|
-
import
|
|
5
|
-
import { Splide as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
4
|
+
import We, { useRef as H, useEffect as q, forwardRef as Ze, useImperativeHandle as Qe, useCallback as ue, useState as D, useMemo as ce, useLayoutEffect as et } from "react";
|
|
5
|
+
import { Splide as tt, SplideSlide as nt } from "@splidejs/react-splide";
|
|
6
|
+
import T from "@mui/material/Box";
|
|
7
|
+
import X from "@mui/material/Typography";
|
|
8
8
|
import z from "@mui/material/Stack";
|
|
9
|
-
import { ChevronLeftRounded as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { onSnapshot as
|
|
14
|
-
function
|
|
9
|
+
import { ChevronLeftRounded as ye, ChevronRightRounded as Se } from "@mui/icons-material";
|
|
10
|
+
import Be from "@mui/icons-material/ChevronLeftRounded";
|
|
11
|
+
import Pe from "@mui/icons-material/ChevronRightRounded";
|
|
12
|
+
import ot from "@mui/material/useMediaQuery";
|
|
13
|
+
import { onSnapshot as rt, doc as at } from "firebase/firestore";
|
|
14
|
+
function G({
|
|
15
15
|
children: t,
|
|
16
16
|
onClick: n,
|
|
17
17
|
href: o,
|
|
@@ -19,51 +19,51 @@ function j({
|
|
|
19
19
|
rel: i,
|
|
20
20
|
type: r = "button",
|
|
21
21
|
disabled: s = !1,
|
|
22
|
-
variant:
|
|
22
|
+
variant: l = "primary",
|
|
23
23
|
size: c,
|
|
24
|
-
fullWidth:
|
|
25
|
-
fullHeight:
|
|
26
|
-
className:
|
|
27
|
-
ariaLabel:
|
|
28
|
-
leftIcon:
|
|
24
|
+
fullWidth: f = !1,
|
|
25
|
+
fullHeight: x = !1,
|
|
26
|
+
className: v = "",
|
|
27
|
+
ariaLabel: d,
|
|
28
|
+
leftIcon: C,
|
|
29
29
|
rightIcon: y,
|
|
30
|
-
iconOnly:
|
|
30
|
+
iconOnly: O
|
|
31
31
|
}) {
|
|
32
|
-
const
|
|
32
|
+
const w = !!t && t !== !0, S = (!!C ? 1 : 0) + (!!y ? 1 : 0) == 1, m = O != null ? O : S && !w, E = [
|
|
33
33
|
"orc-btn",
|
|
34
|
-
|
|
34
|
+
l === "secondary" ? "orc-btn--secondary" : l === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
35
35
|
c ? `orc-btn--${c}` : "",
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
].filter(Boolean).join(" "),
|
|
41
|
-
|
|
42
|
-
!
|
|
36
|
+
f ? "orc-btn--full" : "",
|
|
37
|
+
x ? "orc-btn--fullHeight" : "",
|
|
38
|
+
m ? "orc-btn--iconOnly" : "",
|
|
39
|
+
v
|
|
40
|
+
].filter(Boolean).join(" "), k = /* @__PURE__ */ h(oe, { children: [
|
|
41
|
+
C && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: C }),
|
|
42
|
+
!m && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
|
|
43
43
|
y && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: y })
|
|
44
|
-
] }),
|
|
44
|
+
] }), I = s ? !0 : void 0;
|
|
45
45
|
return o ? /* @__PURE__ */ e(
|
|
46
|
-
|
|
46
|
+
Me,
|
|
47
47
|
{
|
|
48
48
|
href: o,
|
|
49
49
|
target: a,
|
|
50
50
|
rel: i,
|
|
51
|
-
"aria-label":
|
|
52
|
-
"aria-disabled":
|
|
53
|
-
tabIndex:
|
|
54
|
-
className:
|
|
55
|
-
onClick:
|
|
56
|
-
children:
|
|
51
|
+
"aria-label": d,
|
|
52
|
+
"aria-disabled": I,
|
|
53
|
+
tabIndex: I ? -1 : void 0,
|
|
54
|
+
className: E,
|
|
55
|
+
onClick: I ? (N) => N.preventDefault() : n,
|
|
56
|
+
children: k
|
|
57
57
|
}
|
|
58
58
|
) : /* @__PURE__ */ e(
|
|
59
59
|
"button",
|
|
60
60
|
{
|
|
61
61
|
type: r,
|
|
62
62
|
onClick: n,
|
|
63
|
-
disabled: !!
|
|
64
|
-
"aria-label":
|
|
65
|
-
className:
|
|
66
|
-
children:
|
|
63
|
+
disabled: !!I,
|
|
64
|
+
"aria-label": d,
|
|
65
|
+
className: E,
|
|
66
|
+
children: k
|
|
67
67
|
}
|
|
68
68
|
);
|
|
69
69
|
}
|
|
@@ -78,7 +78,7 @@ function ee({
|
|
|
78
78
|
o ? `orc-section-title--${o}` : "",
|
|
79
79
|
a
|
|
80
80
|
].filter(Boolean).join(" ");
|
|
81
|
-
return /* @__PURE__ */
|
|
81
|
+
return /* @__PURE__ */ h("div", { className: r, children: [
|
|
82
82
|
n && /* @__PURE__ */ e(
|
|
83
83
|
"img",
|
|
84
84
|
{
|
|
@@ -90,7 +90,7 @@ function ee({
|
|
|
90
90
|
/* @__PURE__ */ e("h2", { className: "orc-section-title__title", children: t })
|
|
91
91
|
] });
|
|
92
92
|
}
|
|
93
|
-
const
|
|
93
|
+
const Ae = ({
|
|
94
94
|
total: t,
|
|
95
95
|
active: n,
|
|
96
96
|
onSelect: o,
|
|
@@ -110,7 +110,7 @@ const Be = ({
|
|
|
110
110
|
}
|
|
111
111
|
) }, s)) });
|
|
112
112
|
};
|
|
113
|
-
function
|
|
113
|
+
function Y({
|
|
114
114
|
children: t,
|
|
115
115
|
minWidth: n = 32,
|
|
116
116
|
spacing: o = 2,
|
|
@@ -132,7 +132,7 @@ function Z({
|
|
|
132
132
|
}
|
|
133
133
|
);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Ce({ src: t, alt: n }) {
|
|
136
136
|
return /* @__PURE__ */ e(
|
|
137
137
|
V,
|
|
138
138
|
{
|
|
@@ -163,16 +163,16 @@ function Ee({ src: t, alt: n }) {
|
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
165
|
}
|
|
166
|
-
const
|
|
167
|
-
contenedor:
|
|
168
|
-
flexGroup:
|
|
169
|
-
subtitle:
|
|
166
|
+
const it = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", st = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", ct = "oraculo__OraculoEventTitle-module__subtitle___TmHna", be = {
|
|
167
|
+
contenedor: it,
|
|
168
|
+
flexGroup: st,
|
|
169
|
+
subtitle: ct
|
|
170
170
|
};
|
|
171
|
-
function
|
|
172
|
-
return /* @__PURE__ */
|
|
171
|
+
function lt({ title: t, subtitle: n }) {
|
|
172
|
+
return /* @__PURE__ */ h(
|
|
173
173
|
"div",
|
|
174
174
|
{
|
|
175
|
-
className:
|
|
175
|
+
className: be.contenedor,
|
|
176
176
|
children: [
|
|
177
177
|
/* @__PURE__ */ e(
|
|
178
178
|
"span",
|
|
@@ -185,17 +185,17 @@ function it({ title: t, subtitle: n }) {
|
|
|
185
185
|
children: t
|
|
186
186
|
}
|
|
187
187
|
),
|
|
188
|
-
n && /* @__PURE__ */
|
|
188
|
+
n && /* @__PURE__ */ h(
|
|
189
189
|
"div",
|
|
190
190
|
{
|
|
191
|
-
className:
|
|
191
|
+
className: be.flexGroup,
|
|
192
192
|
children: [
|
|
193
|
-
/* @__PURE__ */
|
|
193
|
+
/* @__PURE__ */ h("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
|
|
194
194
|
" ",
|
|
195
195
|
/* @__PURE__ */ e("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
|
|
196
196
|
" "
|
|
197
197
|
] }),
|
|
198
|
-
/* @__PURE__ */ e("span", { className:
|
|
198
|
+
/* @__PURE__ */ e("span", { className: be.subtitle, children: n }),
|
|
199
199
|
/* @__PURE__ */ e("div", {})
|
|
200
200
|
]
|
|
201
201
|
}
|
|
@@ -204,7 +204,7 @@ function it({ title: t, subtitle: n }) {
|
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function dt({ text: t, color: n = "#ff3b3b", textColor: o = "#fff" }) {
|
|
208
208
|
return /* @__PURE__ */ e(
|
|
209
209
|
"span",
|
|
210
210
|
{
|
|
@@ -225,14 +225,14 @@ function st({ text: t, color: n = "#ff3b3b", textColor: o = "#fff" }) {
|
|
|
225
225
|
}
|
|
226
226
|
);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
return /* @__PURE__ */
|
|
230
|
-
t && /* @__PURE__ */ e(
|
|
228
|
+
function ut({ live: t, time: n }) {
|
|
229
|
+
return /* @__PURE__ */ h("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
230
|
+
t && /* @__PURE__ */ e(dt, { text: "En vivo" }),
|
|
231
231
|
n && /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: n })
|
|
232
232
|
] });
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
return /* @__PURE__ */
|
|
234
|
+
function pt({ title: t, subtitle: n, live: o = !1, time: a = "" }) {
|
|
235
|
+
return /* @__PURE__ */ h(
|
|
236
236
|
"div",
|
|
237
237
|
{
|
|
238
238
|
style: {
|
|
@@ -242,33 +242,33 @@ function lt({ title: t, subtitle: n, live: o = !1, time: a = "" }) {
|
|
|
242
242
|
color: "#FFFFFF"
|
|
243
243
|
},
|
|
244
244
|
children: [
|
|
245
|
-
/* @__PURE__ */ e(
|
|
246
|
-
/* @__PURE__ */ e(
|
|
245
|
+
/* @__PURE__ */ e(lt, { title: t, subtitle: n }),
|
|
246
|
+
/* @__PURE__ */ e(ut, { live: o, time: a })
|
|
247
247
|
]
|
|
248
248
|
}
|
|
249
249
|
);
|
|
250
250
|
}
|
|
251
|
-
const
|
|
252
|
-
label:
|
|
251
|
+
const mt = "oraculo__OraculoEventLabel-module__label___c64Xw", ht = {
|
|
252
|
+
label: mt
|
|
253
253
|
};
|
|
254
|
-
function
|
|
255
|
-
return /* @__PURE__ */ e("span", { className:
|
|
254
|
+
function ze({ text: t }) {
|
|
255
|
+
return /* @__PURE__ */ e("span", { className: ht.label, children: t });
|
|
256
256
|
}
|
|
257
|
-
const
|
|
258
|
-
container:
|
|
257
|
+
const ft = "oraculo__OraculoEventLeague-module__container___rdk4F", gt = {
|
|
258
|
+
container: ft
|
|
259
259
|
};
|
|
260
|
-
function
|
|
261
|
-
return /* @__PURE__ */ e("div", { className:
|
|
260
|
+
function je({ title: t }) {
|
|
261
|
+
return /* @__PURE__ */ e("div", { className: gt.container, children: t.toUpperCase() });
|
|
262
262
|
}
|
|
263
|
-
const
|
|
264
|
-
scoreWrapper:
|
|
265
|
-
name:
|
|
266
|
-
score:
|
|
267
|
-
normal:
|
|
268
|
-
small:
|
|
263
|
+
const xt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", bt = "oraculo__OraculoEventScore-module__name___r4uL6", _t = "oraculo__OraculoEventScore-module__score___Xl03M", vt = "oraculo__OraculoEventScore-module__normal___cCNFz", wt = "oraculo__OraculoEventScore-module__small___fVt8E", ie = {
|
|
264
|
+
scoreWrapper: xt,
|
|
265
|
+
name: bt,
|
|
266
|
+
score: _t,
|
|
267
|
+
normal: vt,
|
|
268
|
+
small: wt
|
|
269
269
|
};
|
|
270
|
-
function
|
|
271
|
-
return /* @__PURE__ */
|
|
270
|
+
function Ue({ text: t, name: n, size: o = "normal" }) {
|
|
271
|
+
return /* @__PURE__ */ h(
|
|
272
272
|
"div",
|
|
273
273
|
{
|
|
274
274
|
className: `${ie.scoreWrapper} ${ie[o]}`,
|
|
@@ -279,23 +279,23 @@ function Fe({ text: t, name: n, size: o = "normal" }) {
|
|
|
279
279
|
}
|
|
280
280
|
);
|
|
281
281
|
}
|
|
282
|
-
const
|
|
283
|
-
team:
|
|
284
|
-
regular:
|
|
285
|
-
compact:
|
|
286
|
-
logo:
|
|
287
|
-
name:
|
|
288
|
-
skeleton:
|
|
289
|
-
},
|
|
290
|
-
polo:
|
|
291
|
-
svgWrapper:
|
|
292
|
-
shadow:
|
|
293
|
-
highlight:
|
|
282
|
+
const yt = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", St = "oraculo__OraculoEventTeamInfo-module__regular___ag826", Et = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", Ct = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", kt = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", Ot = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", se = {
|
|
283
|
+
team: yt,
|
|
284
|
+
regular: St,
|
|
285
|
+
compact: Et,
|
|
286
|
+
logo: Ct,
|
|
287
|
+
name: kt,
|
|
288
|
+
skeleton: Ot
|
|
289
|
+
}, It = "oraculo__OraculoTeamPolo-module__polo___BisRg", $t = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", Nt = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", Tt = "oraculo__OraculoTeamPolo-module__highlight___1etm7", le = {
|
|
290
|
+
polo: It,
|
|
291
|
+
svgWrapper: $t,
|
|
292
|
+
shadow: Nt,
|
|
293
|
+
highlight: Tt
|
|
294
294
|
};
|
|
295
|
-
function
|
|
295
|
+
function Ft({ jersey: t, className: n }) {
|
|
296
296
|
const o = `#${t.base}`, a = t.sleeve ? `#${t.sleeve}` : o, i = t.stripes ? `#${t.stripes}` : null, r = t.sleevelong ? `#${t.sleevelong}` : null;
|
|
297
|
-
return /* @__PURE__ */
|
|
298
|
-
/* @__PURE__ */ e("div", { className: le.svgWrapper, children: /* @__PURE__ */
|
|
297
|
+
return /* @__PURE__ */ h("div", { className: `${le.polo} ${n != null ? n : ""}`, children: [
|
|
298
|
+
/* @__PURE__ */ e("div", { className: le.svgWrapper, children: /* @__PURE__ */ h("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
|
|
299
299
|
/* @__PURE__ */ e(
|
|
300
300
|
"path",
|
|
301
301
|
{
|
|
@@ -303,7 +303,7 @@ function $t({ jersey: t, className: n }) {
|
|
|
303
303
|
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"
|
|
304
304
|
}
|
|
305
305
|
),
|
|
306
|
-
i && /* @__PURE__ */
|
|
306
|
+
i && /* @__PURE__ */ h(oe, { children: [
|
|
307
307
|
/* @__PURE__ */ e("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
308
308
|
/* @__PURE__ */ e("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
|
|
309
309
|
] }),
|
|
@@ -351,10 +351,10 @@ function $t({ jersey: t, className: n }) {
|
|
|
351
351
|
)
|
|
352
352
|
] });
|
|
353
353
|
}
|
|
354
|
-
function
|
|
355
|
-
return /* @__PURE__ */
|
|
354
|
+
function he({ name: t, jersey: n, size: o = "regular" }) {
|
|
355
|
+
return /* @__PURE__ */ h("div", { className: `oli-font ${se.team} ${se[o]}`, children: [
|
|
356
356
|
n != null && n.base ? /* @__PURE__ */ e(
|
|
357
|
-
|
|
357
|
+
Ft,
|
|
358
358
|
{
|
|
359
359
|
jersey: n,
|
|
360
360
|
className: `${se.logo}`
|
|
@@ -363,21 +363,21 @@ function me({ name: t, jersey: n, size: o = "regular" }) {
|
|
|
363
363
|
/* @__PURE__ */ e("span", { className: se.name, children: t })
|
|
364
364
|
] });
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function Rt(t, n, { enabled: o = !0 } = {}) {
|
|
367
367
|
const a = H(null);
|
|
368
|
-
|
|
368
|
+
q(() => {
|
|
369
369
|
if (!o) return;
|
|
370
370
|
const i = t.current;
|
|
371
371
|
if (!i) return;
|
|
372
372
|
const r = (s) => {
|
|
373
|
-
const
|
|
374
|
-
if (!
|
|
375
|
-
const { deltaX: c, deltaY:
|
|
376
|
-
if (Math.abs(c) <= Math.abs(
|
|
373
|
+
const l = n.current;
|
|
374
|
+
if (!l || !l.go) return;
|
|
375
|
+
const { deltaX: c, deltaY: f } = s;
|
|
376
|
+
if (Math.abs(c) <= Math.abs(f) || Math.abs(c) < 2) return;
|
|
377
377
|
s.preventDefault();
|
|
378
|
-
const
|
|
378
|
+
const x = c > 0 ? ">" : "<";
|
|
379
379
|
a.current === null && (a.current = requestAnimationFrame(() => {
|
|
380
|
-
a.current = null,
|
|
380
|
+
a.current = null, l.go(x);
|
|
381
381
|
}));
|
|
382
382
|
};
|
|
383
383
|
return i.addEventListener("wheel", r, { passive: !1 }), () => {
|
|
@@ -385,7 +385,7 @@ function Nt(t, n, { enabled: o = !0 } = {}) {
|
|
|
385
385
|
};
|
|
386
386
|
}, [o, t, n]);
|
|
387
387
|
}
|
|
388
|
-
const
|
|
388
|
+
const Mt = tt, Lt = nt, te = Ze(
|
|
389
389
|
({
|
|
390
390
|
items: t = [],
|
|
391
391
|
renderItem: n,
|
|
@@ -394,47 +394,82 @@ const Tt = Ye, Mt = Qe, te = Xe(
|
|
|
394
394
|
breakpoints: i,
|
|
395
395
|
options: r = {},
|
|
396
396
|
className: s = "",
|
|
397
|
-
onMove:
|
|
397
|
+
onMove: l,
|
|
398
398
|
useIndexAsKey: c = !1,
|
|
399
|
-
enableHorizontalWheel:
|
|
400
|
-
},
|
|
401
|
-
const
|
|
402
|
-
|
|
403
|
-
enabled:
|
|
404
|
-
}),
|
|
399
|
+
enableHorizontalWheel: f = !0
|
|
400
|
+
}, x) => {
|
|
401
|
+
const v = H(null), d = H(null), C = H(t.length);
|
|
402
|
+
Rt(d, v, {
|
|
403
|
+
enabled: f
|
|
404
|
+
}), Qe(x, () => ({
|
|
405
405
|
next: () => {
|
|
406
|
-
var
|
|
407
|
-
return (
|
|
406
|
+
var m;
|
|
407
|
+
return (m = v.current) == null ? void 0 : m.go(">");
|
|
408
408
|
},
|
|
409
409
|
prev: () => {
|
|
410
|
-
var
|
|
411
|
-
return (
|
|
410
|
+
var m;
|
|
411
|
+
return (m = v.current) == null ? void 0 : m.go("<");
|
|
412
412
|
},
|
|
413
|
-
go: (
|
|
414
|
-
var
|
|
415
|
-
return (
|
|
413
|
+
go: (m) => {
|
|
414
|
+
var E;
|
|
415
|
+
return (E = v.current) == null ? void 0 : E.go(m);
|
|
416
416
|
}
|
|
417
417
|
}));
|
|
418
|
-
const
|
|
419
|
-
var
|
|
420
|
-
const
|
|
421
|
-
let
|
|
422
|
-
for (let
|
|
423
|
-
const
|
|
424
|
-
if (!
|
|
425
|
-
|
|
426
|
-
|
|
418
|
+
const y = (m) => {
|
|
419
|
+
var u;
|
|
420
|
+
const E = m.Components.Slides, k = m.Components.Controller, I = m.root.querySelector(".splide__track"), N = (u = I == null ? void 0 : I.clientWidth) != null ? u : 0, F = k.getIndex(), P = E.getLength();
|
|
421
|
+
let L = 0, p = F;
|
|
422
|
+
for (let _ = F; _ < P; _++) {
|
|
423
|
+
const g = E.getAt(_);
|
|
424
|
+
if (!g || (L += g.slide.offsetWidth, L > N)) break;
|
|
425
|
+
p = _;
|
|
426
|
+
}
|
|
427
|
+
return { visibleStart: F, visibleEnd: p };
|
|
428
|
+
}, O = (m) => {
|
|
429
|
+
const E = m.root.querySelector(".splide__track"), k = m.root.querySelector(".splide__list");
|
|
430
|
+
return !E || !k ? !1 : k.scrollWidth > E.clientWidth + 1;
|
|
431
|
+
}, w = ue((m) => {
|
|
432
|
+
const k = m.Components.Slides.getLength();
|
|
433
|
+
if (!O(m)) {
|
|
434
|
+
l == null || l({
|
|
435
|
+
index: 0,
|
|
436
|
+
isStart: !0,
|
|
437
|
+
isEnd: !0,
|
|
438
|
+
total: k,
|
|
439
|
+
visibleStart: 0,
|
|
440
|
+
visibleEnd: k - 1
|
|
441
|
+
});
|
|
442
|
+
return;
|
|
427
443
|
}
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
444
|
+
const { visibleStart: I, visibleEnd: N } = y(m), F = I === 0, P = N === k - 1, L = m.Components.Controller.getIndex();
|
|
445
|
+
l == null || l({
|
|
446
|
+
index: L,
|
|
447
|
+
isStart: F,
|
|
448
|
+
isEnd: P,
|
|
449
|
+
total: k,
|
|
450
|
+
visibleStart: I,
|
|
451
|
+
visibleEnd: N
|
|
452
|
+
});
|
|
453
|
+
}, [l]);
|
|
454
|
+
We.useEffect(() => {
|
|
455
|
+
var k;
|
|
456
|
+
const m = (k = v.current) == null ? void 0 : k.splide;
|
|
457
|
+
if (!m) return;
|
|
458
|
+
const E = C.current !== t.length;
|
|
459
|
+
C.current = t.length, E && requestAnimationFrame(() => {
|
|
460
|
+
m.refresh(), w(m);
|
|
461
|
+
});
|
|
462
|
+
}, [t.length, w]);
|
|
463
|
+
const M = ue(() => {
|
|
464
|
+
var E;
|
|
465
|
+
const m = (E = v.current) == null ? void 0 : E.splide;
|
|
466
|
+
m && (m.go(0, !1), w(m));
|
|
467
|
+
}, [w]), B = ue(
|
|
468
|
+
(m) => {
|
|
469
|
+
w(m);
|
|
435
470
|
},
|
|
436
|
-
[
|
|
437
|
-
),
|
|
471
|
+
[w]
|
|
472
|
+
), S = {
|
|
438
473
|
type: "slide",
|
|
439
474
|
trimSpace: !1,
|
|
440
475
|
drag: !0,
|
|
@@ -447,33 +482,34 @@ const Tt = Ye, Mt = Qe, te = Xe(
|
|
|
447
482
|
gap: a,
|
|
448
483
|
breakpoints: i,
|
|
449
484
|
...r,
|
|
450
|
-
...
|
|
485
|
+
...f ? { wheel: !1 } : {}
|
|
451
486
|
};
|
|
452
|
-
return /* @__PURE__ */ e("div", { ref:
|
|
453
|
-
|
|
487
|
+
return /* @__PURE__ */ e("div", { ref: d, className: s, style: { width: "100%" }, children: /* @__PURE__ */ e(
|
|
488
|
+
Mt,
|
|
454
489
|
{
|
|
455
|
-
ref:
|
|
456
|
-
options:
|
|
457
|
-
onMove:
|
|
458
|
-
onMounted:
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
490
|
+
ref: v,
|
|
491
|
+
options: S,
|
|
492
|
+
onMove: w,
|
|
493
|
+
onMounted: B,
|
|
494
|
+
onResize: M,
|
|
495
|
+
children: t.map((m, E) => {
|
|
496
|
+
var k;
|
|
497
|
+
return /* @__PURE__ */ e(Lt, { children: n(m, E) }, c ? E : (k = m.id) != null ? k : E);
|
|
462
498
|
})
|
|
463
499
|
}
|
|
464
500
|
) });
|
|
465
501
|
}
|
|
466
|
-
),
|
|
502
|
+
), pe = ({
|
|
467
503
|
imageUrl: t,
|
|
468
504
|
onClick: n,
|
|
469
505
|
size: o = "sm",
|
|
470
506
|
fillParent: a = !1
|
|
471
507
|
}) => {
|
|
472
|
-
const i = o === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (
|
|
473
|
-
|
|
508
|
+
const i = o === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (l) => {
|
|
509
|
+
l.stopPropagation(), n == null || n();
|
|
474
510
|
}, s = a ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
|
|
475
|
-
return /* @__PURE__ */
|
|
476
|
-
|
|
511
|
+
return /* @__PURE__ */ h(
|
|
512
|
+
T,
|
|
477
513
|
{
|
|
478
514
|
onClick: n,
|
|
479
515
|
role: "button",
|
|
@@ -515,7 +551,7 @@ const Tt = Ye, Mt = Qe, te = Xe(
|
|
|
515
551
|
}
|
|
516
552
|
),
|
|
517
553
|
/* @__PURE__ */ e(
|
|
518
|
-
|
|
554
|
+
T,
|
|
519
555
|
{
|
|
520
556
|
className: "oraculo-game-card-overlay",
|
|
521
557
|
sx: {
|
|
@@ -530,7 +566,7 @@ const Tt = Ye, Mt = Qe, te = Xe(
|
|
|
530
566
|
}
|
|
531
567
|
),
|
|
532
568
|
/* @__PURE__ */ e(
|
|
533
|
-
|
|
569
|
+
T,
|
|
534
570
|
{
|
|
535
571
|
className: "oraculo-game-card-btn",
|
|
536
572
|
sx: {
|
|
@@ -543,14 +579,14 @@ const Tt = Ye, Mt = Qe, te = Xe(
|
|
|
543
579
|
transition: "opacity .15s ease, transform .15s ease",
|
|
544
580
|
pointerEvents: "none"
|
|
545
581
|
},
|
|
546
|
-
children: /* @__PURE__ */ e(
|
|
582
|
+
children: /* @__PURE__ */ e(G, { variant: "primary", size: "md", onClick: r, children: "Jugar" })
|
|
547
583
|
}
|
|
548
584
|
)
|
|
549
585
|
]
|
|
550
586
|
}
|
|
551
587
|
);
|
|
552
588
|
};
|
|
553
|
-
function
|
|
589
|
+
function Wt({
|
|
554
590
|
imageUrl: t,
|
|
555
591
|
orden: n = 1,
|
|
556
592
|
onClick: o,
|
|
@@ -560,32 +596,32 @@ function Rt({
|
|
|
560
596
|
md: { w: 186, h: 264, r: 22.6, font: 64 }
|
|
561
597
|
}
|
|
562
598
|
}) {
|
|
563
|
-
var
|
|
564
|
-
const r = (
|
|
565
|
-
var
|
|
599
|
+
var v, d, C, y;
|
|
600
|
+
const r = (O, w) => {
|
|
601
|
+
var M, B, S, m;
|
|
566
602
|
return {
|
|
567
|
-
xs: (
|
|
568
|
-
md: (
|
|
603
|
+
xs: (B = (M = i.xs) == null ? void 0 : M[O]) != null ? B : w,
|
|
604
|
+
md: (m = (S = i.md) == null ? void 0 : S[O]) != null ? m : w
|
|
569
605
|
};
|
|
570
|
-
}, s = r("w", 186),
|
|
571
|
-
xs: Math.round(((
|
|
572
|
-
md: Math.round(((y = (
|
|
606
|
+
}, s = r("w", 186), l = r("h", 264), c = r("r", 22.6), f = r("font", 64), x = {
|
|
607
|
+
xs: Math.round(((d = (v = i.xs) == null ? void 0 : v.font) != null ? d : 64) * 0.28),
|
|
608
|
+
md: Math.round(((y = (C = i.md) == null ? void 0 : C.font) != null ? y : 64) * 0.28)
|
|
573
609
|
};
|
|
574
|
-
return /* @__PURE__ */
|
|
575
|
-
|
|
610
|
+
return /* @__PURE__ */ h(
|
|
611
|
+
T,
|
|
576
612
|
{
|
|
577
613
|
sx: {
|
|
578
614
|
position: "relative",
|
|
579
615
|
width: "100%",
|
|
580
616
|
maxWidth: { xs: `${s.xs}px`, md: `${s.md}px` },
|
|
581
617
|
aspectRatio: {
|
|
582
|
-
xs: `${s.xs}/${
|
|
583
|
-
md: `${s.md}/${
|
|
618
|
+
xs: `${s.xs}/${l.xs}`,
|
|
619
|
+
md: `${s.md}/${l.md}`
|
|
584
620
|
},
|
|
585
621
|
borderRadius: { xs: `${c.xs}px`, md: `${c.md}px` },
|
|
586
622
|
boxSizing: "border-box",
|
|
587
623
|
overflow: "visible",
|
|
588
|
-
pb: { xs: `${
|
|
624
|
+
pb: { xs: `${x.xs}px`, md: `${x.md}px` },
|
|
589
625
|
"&::before": {
|
|
590
626
|
content: '""',
|
|
591
627
|
position: "absolute",
|
|
@@ -599,7 +635,7 @@ function Rt({
|
|
|
599
635
|
},
|
|
600
636
|
children: [
|
|
601
637
|
/* @__PURE__ */ e(
|
|
602
|
-
|
|
638
|
+
T,
|
|
603
639
|
{
|
|
604
640
|
sx: {
|
|
605
641
|
position: "absolute",
|
|
@@ -622,7 +658,7 @@ function Rt({
|
|
|
622
658
|
}
|
|
623
659
|
}
|
|
624
660
|
) : /* @__PURE__ */ e(
|
|
625
|
-
|
|
661
|
+
pe,
|
|
626
662
|
{
|
|
627
663
|
imageUrl: t,
|
|
628
664
|
onClick: o,
|
|
@@ -633,20 +669,20 @@ function Rt({
|
|
|
633
669
|
}
|
|
634
670
|
),
|
|
635
671
|
/* @__PURE__ */ e(
|
|
636
|
-
|
|
672
|
+
T,
|
|
637
673
|
{
|
|
638
674
|
component: "span",
|
|
639
675
|
sx: {
|
|
640
676
|
position: "absolute",
|
|
641
677
|
left: 8,
|
|
642
678
|
bottom: {
|
|
643
|
-
xs: `-${
|
|
644
|
-
md: `-${
|
|
679
|
+
xs: `-${x.xs}px`,
|
|
680
|
+
md: `-${x.md}px`
|
|
645
681
|
},
|
|
646
682
|
fontFamily: "secondary",
|
|
647
683
|
fontSize: {
|
|
648
|
-
xs: `${
|
|
649
|
-
md: `${
|
|
684
|
+
xs: `${f.xs}px`,
|
|
685
|
+
md: `${f.md}px`
|
|
650
686
|
},
|
|
651
687
|
lineHeight: 1,
|
|
652
688
|
color: "#3CC666",
|
|
@@ -661,7 +697,7 @@ function Rt({
|
|
|
661
697
|
}
|
|
662
698
|
);
|
|
663
699
|
}
|
|
664
|
-
const
|
|
700
|
+
const Bt = ({
|
|
665
701
|
logo: t,
|
|
666
702
|
provider: n,
|
|
667
703
|
providerName: o,
|
|
@@ -669,8 +705,8 @@ const Lt = ({
|
|
|
669
705
|
onClick: i
|
|
670
706
|
}) => {
|
|
671
707
|
var r;
|
|
672
|
-
return /* @__PURE__ */
|
|
673
|
-
|
|
708
|
+
return /* @__PURE__ */ h(
|
|
709
|
+
T,
|
|
674
710
|
{
|
|
675
711
|
onClick: i,
|
|
676
712
|
sx: {
|
|
@@ -694,7 +730,7 @@ const Lt = ({
|
|
|
694
730
|
},
|
|
695
731
|
children: [
|
|
696
732
|
/* @__PURE__ */ e(
|
|
697
|
-
|
|
733
|
+
T,
|
|
698
734
|
{
|
|
699
735
|
component: "img",
|
|
700
736
|
src: t,
|
|
@@ -710,7 +746,7 @@ const Lt = ({
|
|
|
710
746
|
}
|
|
711
747
|
),
|
|
712
748
|
/* @__PURE__ */ e(
|
|
713
|
-
|
|
749
|
+
T,
|
|
714
750
|
{
|
|
715
751
|
className: "orc-live-provider-label",
|
|
716
752
|
sx: {
|
|
@@ -724,7 +760,7 @@ const Lt = ({
|
|
|
724
760
|
pointerEvents: "none"
|
|
725
761
|
},
|
|
726
762
|
children: /* @__PURE__ */ e(
|
|
727
|
-
|
|
763
|
+
X,
|
|
728
764
|
{
|
|
729
765
|
sx: {
|
|
730
766
|
color: "#fff",
|
|
@@ -740,7 +776,7 @@ const Lt = ({
|
|
|
740
776
|
]
|
|
741
777
|
}
|
|
742
778
|
);
|
|
743
|
-
},
|
|
779
|
+
}, _e = 12, ve = ({ r: t = 16 }) => /* @__PURE__ */ e(T, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
|
|
744
780
|
A,
|
|
745
781
|
{
|
|
746
782
|
variant: "rectangular",
|
|
@@ -755,7 +791,7 @@ const Lt = ({
|
|
|
755
791
|
}
|
|
756
792
|
}
|
|
757
793
|
}
|
|
758
|
-
) }),
|
|
794
|
+
) }), De = ({
|
|
759
795
|
items: t,
|
|
760
796
|
layout: n = "grid",
|
|
761
797
|
onClick: o,
|
|
@@ -764,11 +800,9 @@ const Lt = ({
|
|
|
764
800
|
}) => {
|
|
765
801
|
var r, s;
|
|
766
802
|
if (n === "mosaic") {
|
|
767
|
-
const
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
return /* @__PURE__ */ m(
|
|
771
|
-
M,
|
|
803
|
+
const l = t[0], c = t.slice(1, 5);
|
|
804
|
+
return /* @__PURE__ */ h(
|
|
805
|
+
T,
|
|
772
806
|
{
|
|
773
807
|
sx: {
|
|
774
808
|
display: "grid",
|
|
@@ -785,14 +819,14 @@ const Lt = ({
|
|
|
785
819
|
xs: "104px",
|
|
786
820
|
md: "152px"
|
|
787
821
|
},
|
|
788
|
-
columnGap: `${
|
|
789
|
-
rowGap: `${
|
|
822
|
+
columnGap: `${_e}px`,
|
|
823
|
+
rowGap: `${_e}px`,
|
|
790
824
|
alignItems: "stretch",
|
|
791
825
|
justifyItems: "stretch"
|
|
792
826
|
},
|
|
793
827
|
children: [
|
|
794
828
|
/* @__PURE__ */ e(
|
|
795
|
-
|
|
829
|
+
T,
|
|
796
830
|
{
|
|
797
831
|
sx: {
|
|
798
832
|
width: { xs: 184, md: 280 },
|
|
@@ -801,21 +835,21 @@ const Lt = ({
|
|
|
801
835
|
overflow: "hidden",
|
|
802
836
|
borderRadius: 2
|
|
803
837
|
},
|
|
804
|
-
children: a ? /* @__PURE__ */ e(
|
|
805
|
-
|
|
838
|
+
children: a ? /* @__PURE__ */ e(ve, {}) : l && /* @__PURE__ */ e(
|
|
839
|
+
pe,
|
|
806
840
|
{
|
|
807
|
-
imageUrl: `https://olimpo.bet${(s = (r =
|
|
841
|
+
imageUrl: `https://olimpo.bet${(s = (r = l.background) != null ? r : l.imageUrl) != null ? s : ""}`,
|
|
808
842
|
size: "lg",
|
|
809
843
|
fillParent: !0,
|
|
810
|
-
onClick: () => o == null ? void 0 : o(
|
|
844
|
+
onClick: () => o == null ? void 0 : o(l, 0)
|
|
811
845
|
}
|
|
812
846
|
)
|
|
813
847
|
}
|
|
814
848
|
),
|
|
815
|
-
(a ? Array.from({ length: 4 }) : c).map((
|
|
816
|
-
var
|
|
849
|
+
(a ? Array.from({ length: 4 }) : c).map((f, x) => {
|
|
850
|
+
var v, d;
|
|
817
851
|
return /* @__PURE__ */ e(
|
|
818
|
-
|
|
852
|
+
T,
|
|
819
853
|
{
|
|
820
854
|
sx: {
|
|
821
855
|
width: { xs: 104, md: 152 },
|
|
@@ -823,17 +857,17 @@ const Lt = ({
|
|
|
823
857
|
overflow: "hidden",
|
|
824
858
|
borderRadius: 2
|
|
825
859
|
},
|
|
826
|
-
children: a ? /* @__PURE__ */ e(
|
|
827
|
-
|
|
860
|
+
children: a ? /* @__PURE__ */ e(ve, {}) : /* @__PURE__ */ e(
|
|
861
|
+
pe,
|
|
828
862
|
{
|
|
829
|
-
imageUrl: `https://olimpo.bet${(
|
|
863
|
+
imageUrl: `https://olimpo.bet${(d = (v = f.background) != null ? v : f.imageUrl) != null ? d : ""}`,
|
|
830
864
|
size: "sm",
|
|
831
865
|
fillParent: !0,
|
|
832
|
-
onClick: () => o == null ? void 0 : o(
|
|
866
|
+
onClick: () => o == null ? void 0 : o(f, x + 1)
|
|
833
867
|
}
|
|
834
868
|
)
|
|
835
869
|
},
|
|
836
|
-
a ? `sk-${
|
|
870
|
+
a ? `sk-${x}` : f.id
|
|
837
871
|
);
|
|
838
872
|
})
|
|
839
873
|
]
|
|
@@ -841,7 +875,7 @@ const Lt = ({
|
|
|
841
875
|
);
|
|
842
876
|
}
|
|
843
877
|
return /* @__PURE__ */ e(
|
|
844
|
-
|
|
878
|
+
T,
|
|
845
879
|
{
|
|
846
880
|
sx: {
|
|
847
881
|
display: "grid",
|
|
@@ -853,31 +887,31 @@ const Lt = ({
|
|
|
853
887
|
xs: "repeat(2, 112px)",
|
|
854
888
|
md: "repeat(2, 168px)"
|
|
855
889
|
},
|
|
856
|
-
gap: `${
|
|
890
|
+
gap: `${_e}px`,
|
|
857
891
|
gridAutoFlow: "column"
|
|
858
892
|
},
|
|
859
|
-
children: (a ? Array.from({ length: i }) : t).map((
|
|
860
|
-
var
|
|
893
|
+
children: (a ? Array.from({ length: i }) : t).map((l, c) => {
|
|
894
|
+
var f, x, v;
|
|
861
895
|
return /* @__PURE__ */ e(
|
|
862
|
-
|
|
896
|
+
T,
|
|
863
897
|
{
|
|
864
898
|
sx: { overflow: "hidden", borderRadius: 2 },
|
|
865
|
-
children: a ? /* @__PURE__ */ e(
|
|
866
|
-
|
|
899
|
+
children: a ? /* @__PURE__ */ e(ve, {}) : /* @__PURE__ */ e(
|
|
900
|
+
pe,
|
|
867
901
|
{
|
|
868
|
-
imageUrl: `https://olimpo.bet${(
|
|
902
|
+
imageUrl: `https://olimpo.bet${(x = (f = l.background) != null ? f : l.imageUrl) != null ? x : ""}`,
|
|
869
903
|
size: "sm",
|
|
870
904
|
fillParent: !0,
|
|
871
|
-
onClick: () => o == null ? void 0 : o(
|
|
905
|
+
onClick: () => o == null ? void 0 : o(l, c)
|
|
872
906
|
}
|
|
873
907
|
)
|
|
874
908
|
},
|
|
875
|
-
a ? `sk-${c}` : (
|
|
909
|
+
a ? `sk-${c}` : (v = l.id) != null ? v : c
|
|
876
910
|
);
|
|
877
911
|
})
|
|
878
912
|
}
|
|
879
913
|
);
|
|
880
|
-
},
|
|
914
|
+
}, ke = ({
|
|
881
915
|
title: t,
|
|
882
916
|
amount: n,
|
|
883
917
|
subtitle: o,
|
|
@@ -885,39 +919,39 @@ const Lt = ({
|
|
|
885
919
|
onButtonClick: i,
|
|
886
920
|
backgroundImage: r,
|
|
887
921
|
alt: s,
|
|
888
|
-
className:
|
|
922
|
+
className: l = "",
|
|
889
923
|
variant: c = "small"
|
|
890
924
|
}) => {
|
|
891
|
-
const
|
|
892
|
-
return /* @__PURE__ */
|
|
893
|
-
|
|
925
|
+
const f = n ? n.slice(0, 2) : "", x = n ? n.slice(2) : "", v = c === "large";
|
|
926
|
+
return /* @__PURE__ */ h(
|
|
927
|
+
T,
|
|
894
928
|
{
|
|
895
|
-
className:
|
|
929
|
+
className: l,
|
|
896
930
|
sx: {
|
|
897
931
|
position: "relative",
|
|
898
932
|
width: "100%",
|
|
899
933
|
maxWidth: {
|
|
900
934
|
xs: 328,
|
|
901
|
-
md:
|
|
935
|
+
md: v ? 618 : 456
|
|
902
936
|
},
|
|
903
937
|
mx: "auto"
|
|
904
938
|
},
|
|
905
939
|
children: [
|
|
906
940
|
r && /* @__PURE__ */ e(
|
|
907
|
-
|
|
941
|
+
T,
|
|
908
942
|
{
|
|
909
943
|
sx: {
|
|
910
944
|
position: "relative",
|
|
911
945
|
width: "100%",
|
|
912
946
|
aspectRatio: {
|
|
913
947
|
xs: "328 / 188",
|
|
914
|
-
md:
|
|
948
|
+
md: v ? "618 / 346" : "456 / 272"
|
|
915
949
|
},
|
|
916
950
|
borderRadius: "14px",
|
|
917
951
|
overflow: "hidden"
|
|
918
952
|
},
|
|
919
953
|
children: /* @__PURE__ */ e(
|
|
920
|
-
|
|
954
|
+
T,
|
|
921
955
|
{
|
|
922
956
|
component: "img",
|
|
923
957
|
src: r,
|
|
@@ -937,7 +971,7 @@ const Lt = ({
|
|
|
937
971
|
}
|
|
938
972
|
),
|
|
939
973
|
/* @__PURE__ */ e(
|
|
940
|
-
|
|
974
|
+
T,
|
|
941
975
|
{
|
|
942
976
|
sx: {
|
|
943
977
|
position: "absolute",
|
|
@@ -950,8 +984,8 @@ const Lt = ({
|
|
|
950
984
|
pl: "14%",
|
|
951
985
|
pr: { xs: "14%", lg: "15%" }
|
|
952
986
|
},
|
|
953
|
-
children: /* @__PURE__ */
|
|
954
|
-
|
|
987
|
+
children: /* @__PURE__ */ h(
|
|
988
|
+
T,
|
|
955
989
|
{
|
|
956
990
|
sx: {
|
|
957
991
|
maxWidth: "60%",
|
|
@@ -961,7 +995,7 @@ const Lt = ({
|
|
|
961
995
|
},
|
|
962
996
|
children: [
|
|
963
997
|
t && /* @__PURE__ */ e(
|
|
964
|
-
|
|
998
|
+
X,
|
|
965
999
|
{
|
|
966
1000
|
sx: {
|
|
967
1001
|
fontSize: { xs: 12, md: 20 },
|
|
@@ -971,8 +1005,8 @@ const Lt = ({
|
|
|
971
1005
|
children: t
|
|
972
1006
|
}
|
|
973
1007
|
),
|
|
974
|
-
n && /* @__PURE__ */
|
|
975
|
-
|
|
1008
|
+
n && /* @__PURE__ */ h(
|
|
1009
|
+
T,
|
|
976
1010
|
{
|
|
977
1011
|
component: "p",
|
|
978
1012
|
sx: {
|
|
@@ -990,26 +1024,26 @@ const Lt = ({
|
|
|
990
1024
|
},
|
|
991
1025
|
children: [
|
|
992
1026
|
/* @__PURE__ */ e(
|
|
993
|
-
|
|
1027
|
+
T,
|
|
994
1028
|
{
|
|
995
1029
|
component: "span",
|
|
996
1030
|
sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
|
|
997
|
-
children:
|
|
1031
|
+
children: f
|
|
998
1032
|
}
|
|
999
1033
|
),
|
|
1000
1034
|
/* @__PURE__ */ e(
|
|
1001
|
-
|
|
1035
|
+
T,
|
|
1002
1036
|
{
|
|
1003
1037
|
component: "span",
|
|
1004
1038
|
sx: { fontSize: { xs: 52, md: 77 } },
|
|
1005
|
-
children:
|
|
1039
|
+
children: x
|
|
1006
1040
|
}
|
|
1007
1041
|
)
|
|
1008
1042
|
]
|
|
1009
1043
|
}
|
|
1010
1044
|
),
|
|
1011
1045
|
o && /* @__PURE__ */ e(
|
|
1012
|
-
|
|
1046
|
+
X,
|
|
1013
1047
|
{
|
|
1014
1048
|
sx: {
|
|
1015
1049
|
pb: "20px",
|
|
@@ -1020,7 +1054,7 @@ const Lt = ({
|
|
|
1020
1054
|
children: o
|
|
1021
1055
|
}
|
|
1022
1056
|
),
|
|
1023
|
-
a && /* @__PURE__ */ e(
|
|
1057
|
+
a && /* @__PURE__ */ e(G, { onClick: i, children: a })
|
|
1024
1058
|
]
|
|
1025
1059
|
}
|
|
1026
1060
|
)
|
|
@@ -1029,7 +1063,7 @@ const Lt = ({
|
|
|
1029
1063
|
]
|
|
1030
1064
|
}
|
|
1031
1065
|
);
|
|
1032
|
-
},
|
|
1066
|
+
}, Pt = ({
|
|
1033
1067
|
text: t,
|
|
1034
1068
|
buttonLabel: n = "Conoce más",
|
|
1035
1069
|
onClick: o,
|
|
@@ -1037,7 +1071,7 @@ const Lt = ({
|
|
|
1037
1071
|
imgSrcMobile: i,
|
|
1038
1072
|
imgSrcDesktopBg: r,
|
|
1039
1073
|
imgSrcDesktopLogo: s
|
|
1040
|
-
}) => /* @__PURE__ */
|
|
1074
|
+
}) => /* @__PURE__ */ h(oe, { children: [
|
|
1041
1075
|
/* @__PURE__ */ e("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ e(
|
|
1042
1076
|
"img",
|
|
1043
1077
|
{
|
|
@@ -1046,7 +1080,7 @@ const Lt = ({
|
|
|
1046
1080
|
className: "orc-co-bgMobileImg"
|
|
1047
1081
|
}
|
|
1048
1082
|
) }),
|
|
1049
|
-
/* @__PURE__ */
|
|
1083
|
+
/* @__PURE__ */ h("div", { className: "orc-co-bgDesktop", children: [
|
|
1050
1084
|
r && /* @__PURE__ */ e("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ e(
|
|
1051
1085
|
"img",
|
|
1052
1086
|
{
|
|
@@ -1055,7 +1089,7 @@ const Lt = ({
|
|
|
1055
1089
|
className: "orc-co-bgDesktopImg"
|
|
1056
1090
|
}
|
|
1057
1091
|
) }),
|
|
1058
|
-
/* @__PURE__ */
|
|
1092
|
+
/* @__PURE__ */ h("div", { className: "orc-co-desktopContent", children: [
|
|
1059
1093
|
s && /* @__PURE__ */ e(
|
|
1060
1094
|
"img",
|
|
1061
1095
|
{
|
|
@@ -1065,37 +1099,37 @@ const Lt = ({
|
|
|
1065
1099
|
}
|
|
1066
1100
|
),
|
|
1067
1101
|
/* @__PURE__ */ e("p", { className: "orc-co-captionDesktop", children: t }),
|
|
1068
|
-
/* @__PURE__ */ e(
|
|
1102
|
+
/* @__PURE__ */ e(G, { onClick: o, variant: "primary", size: "md", children: n })
|
|
1069
1103
|
] })
|
|
1070
1104
|
] }),
|
|
1071
|
-
/* @__PURE__ */
|
|
1105
|
+
/* @__PURE__ */ h("div", { className: "orc-co-bottom", children: [
|
|
1072
1106
|
/* @__PURE__ */ e("p", { className: "orc-co-caption", children: t }),
|
|
1073
|
-
/* @__PURE__ */ e(
|
|
1107
|
+
/* @__PURE__ */ e(G, { onClick: o, variant: "primary", size: "md", children: n })
|
|
1074
1108
|
] })
|
|
1075
|
-
] }),
|
|
1076
|
-
card:
|
|
1077
|
-
combinadas:
|
|
1078
|
-
apuestaItem:
|
|
1079
|
-
lineContainer:
|
|
1080
|
-
circle:
|
|
1081
|
-
line:
|
|
1082
|
-
apuestaText:
|
|
1083
|
-
cuotaTotal:
|
|
1109
|
+
] }), At = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", zt = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", jt = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ut = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", Dt = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Gt = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Ht = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Vt = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", Z = {
|
|
1110
|
+
card: At,
|
|
1111
|
+
combinadas: zt,
|
|
1112
|
+
apuestaItem: jt,
|
|
1113
|
+
lineContainer: Ut,
|
|
1114
|
+
circle: Dt,
|
|
1115
|
+
line: Gt,
|
|
1116
|
+
apuestaText: Ht,
|
|
1117
|
+
cuotaTotal: Vt
|
|
1084
1118
|
};
|
|
1085
|
-
function
|
|
1119
|
+
function Ee(t) {
|
|
1086
1120
|
const n = Array.isArray(t) ? t : [t];
|
|
1087
1121
|
sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = "/deportes#in-play";
|
|
1088
1122
|
}
|
|
1089
|
-
function
|
|
1123
|
+
function qt() {
|
|
1090
1124
|
window.location.href = "/deportes#in-play";
|
|
1091
1125
|
}
|
|
1092
|
-
function
|
|
1126
|
+
function Kt() {
|
|
1093
1127
|
window.location.href = "/deportes#sports-hub/football";
|
|
1094
1128
|
}
|
|
1095
|
-
function
|
|
1129
|
+
function Jt() {
|
|
1096
1130
|
window.location.href = "/deportes#specials";
|
|
1097
1131
|
}
|
|
1098
|
-
async function
|
|
1132
|
+
async function Ge(t) {
|
|
1099
1133
|
return await (await fetch("https://api.mktolimpo.com/api/jerseys/search", {
|
|
1100
1134
|
method: "POST",
|
|
1101
1135
|
headers: {
|
|
@@ -1106,37 +1140,37 @@ async function ze(t) {
|
|
|
1106
1140
|
})
|
|
1107
1141
|
})).json();
|
|
1108
1142
|
}
|
|
1109
|
-
function
|
|
1143
|
+
function He(t, n = 250) {
|
|
1110
1144
|
const [o, a] = D(t);
|
|
1111
|
-
return
|
|
1145
|
+
return q(() => {
|
|
1112
1146
|
const i = setTimeout(() => a(t), n);
|
|
1113
1147
|
return () => clearTimeout(i);
|
|
1114
1148
|
}, [t, n]), o;
|
|
1115
1149
|
}
|
|
1116
|
-
function
|
|
1150
|
+
function Xt({ event: t }) {
|
|
1117
1151
|
var a;
|
|
1118
1152
|
function n(i) {
|
|
1119
|
-
var
|
|
1120
|
-
const r = (
|
|
1121
|
-
var
|
|
1122
|
-
let
|
|
1123
|
-
return ["Más de", "Mas de", "Over"].includes(
|
|
1124
|
-
id: (
|
|
1125
|
-
value:
|
|
1126
|
-
label:
|
|
1127
|
-
odds: (
|
|
1128
|
-
bl: (
|
|
1129
|
-
position: (
|
|
1153
|
+
var x;
|
|
1154
|
+
const r = (x = i.betoffers) != null ? x : [], s = i.homeName, l = i.awayName, c = r.map((v) => {
|
|
1155
|
+
var O, w, M, B, S;
|
|
1156
|
+
let d = v.outcomes[0], C = "", y = d != null && d.line ? d.line / 1e3 : "";
|
|
1157
|
+
return ["Más de", "Mas de", "Over"].includes(d == null ? void 0 : d.label) ? (C = `Más de ${y}`, d != null && d.participant && (C = `${d.participant} - ${C}`)) : ["Menos de", "Menos"].includes(d == null ? void 0 : d.label) ? (C = `Menos de ${y}`, d != null && d.participant && (C = `${d.participant} - ${C}`)) : ["Sí", "No"].includes(d == null ? void 0 : d.label) ? (C = d == null ? void 0 : d.label, d != null && d.participant && (C = `${d.participant} - ${C}`)) : ["1X", "12", "X2"].includes(d == null ? void 0 : d.label) ? d.label === "1X" ? C = `${s} o Empate` : d.label === "12" ? C = `${s} o ${l}` : d.label === "X2" && (C = `${l} o Empate`) : (d != null && d.participant ? C = d.participant : C = (O = d == null ? void 0 : d.label) != null ? O : "", y !== "" && C === d.label && (C = `${d.label} ${y}`)), {
|
|
1158
|
+
id: (w = d == null ? void 0 : d.id) != null ? w : 0,
|
|
1159
|
+
value: C,
|
|
1160
|
+
label: v.criterion.label,
|
|
1161
|
+
odds: (M = d == null ? void 0 : d.odds) != null ? M : 0,
|
|
1162
|
+
bl: (B = d == null ? void 0 : d.label) != null ? B : 0,
|
|
1163
|
+
position: (S = d == null ? void 0 : d.position) != null ? S : 0
|
|
1130
1164
|
};
|
|
1131
|
-
}),
|
|
1165
|
+
}), f = c.reduce((v, d) => v + d.odds, 0) / 1e3;
|
|
1132
1166
|
return {
|
|
1133
1167
|
outcomes: c,
|
|
1134
|
-
total:
|
|
1168
|
+
total: f.toFixed(2)
|
|
1135
1169
|
};
|
|
1136
1170
|
}
|
|
1137
1171
|
const o = n(t);
|
|
1138
|
-
return /* @__PURE__ */
|
|
1139
|
-
/* @__PURE__ */ e("div", { className:
|
|
1172
|
+
return /* @__PURE__ */ h("div", { className: Z.card, children: [
|
|
1173
|
+
/* @__PURE__ */ e("div", { className: Z.combinadas, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
|
|
1140
1174
|
/* @__PURE__ */ e(
|
|
1141
1175
|
ee,
|
|
1142
1176
|
{
|
|
@@ -1146,12 +1180,12 @@ function Kt({ event: t }) {
|
|
|
1146
1180
|
}
|
|
1147
1181
|
),
|
|
1148
1182
|
/* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/line.png" }),
|
|
1149
|
-
/* @__PURE__ */ e(z, { direction: "column", spacing: 0.5, useFlexGap: !0, children: o.outcomes.sort((i, r) => i.position - r.position).map((i, r) => /* @__PURE__ */
|
|
1150
|
-
/* @__PURE__ */
|
|
1151
|
-
/* @__PURE__ */ e("div", { className:
|
|
1152
|
-
r < o.outcomes.length - 1 && /* @__PURE__ */ e("div", { className:
|
|
1183
|
+
/* @__PURE__ */ e(z, { direction: "column", spacing: 0.5, useFlexGap: !0, children: o.outcomes.sort((i, r) => i.position - r.position).map((i, r) => /* @__PURE__ */ h("div", { className: Z.apuestaItem, children: [
|
|
1184
|
+
/* @__PURE__ */ h("div", { className: Z.lineContainer, children: [
|
|
1185
|
+
/* @__PURE__ */ e("div", { className: Z.circle }),
|
|
1186
|
+
r < o.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: Z.line })
|
|
1153
1187
|
] }),
|
|
1154
|
-
/* @__PURE__ */
|
|
1188
|
+
/* @__PURE__ */ h("div", { className: Z.apuestaText, children: [
|
|
1155
1189
|
/* @__PURE__ */ e("strong", { children: i.value }),
|
|
1156
1190
|
" ",
|
|
1157
1191
|
"| ",
|
|
@@ -1159,11 +1193,11 @@ function Kt({ event: t }) {
|
|
|
1159
1193
|
] })
|
|
1160
1194
|
] }, r)) })
|
|
1161
1195
|
] }) }),
|
|
1162
|
-
/* @__PURE__ */
|
|
1196
|
+
/* @__PURE__ */ h("button", { onClick: () => {
|
|
1163
1197
|
var i, r;
|
|
1164
|
-
return
|
|
1165
|
-
}, className:
|
|
1166
|
-
/* @__PURE__ */
|
|
1198
|
+
return Ee((r = (i = o == null ? void 0 : o.outcomes) == null ? void 0 : i.map((s) => s == null ? void 0 : s.id)) != null ? r : []);
|
|
1199
|
+
}, className: Z.cuotaTotal, children: [
|
|
1200
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1167
1201
|
"Cuota total: ",
|
|
1168
1202
|
/* @__PURE__ */ e("strong", { children: (((a = t.combinadoTotal) != null ? a : 0) / 1e3).toFixed(2) })
|
|
1169
1203
|
] }),
|
|
@@ -1171,7 +1205,7 @@ function Kt({ event: t }) {
|
|
|
1171
1205
|
] })
|
|
1172
1206
|
] });
|
|
1173
1207
|
}
|
|
1174
|
-
const
|
|
1208
|
+
const J = {
|
|
1175
1209
|
"orc-btn": "oraculo__OraculoButtonBet-module__orc-btn___jakza",
|
|
1176
1210
|
"orc-btn__label": "oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH",
|
|
1177
1211
|
"orc-btn__icon": "oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd",
|
|
@@ -1185,7 +1219,7 @@ const X = {
|
|
|
1185
1219
|
"orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
|
|
1186
1220
|
"orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
|
|
1187
1221
|
};
|
|
1188
|
-
function
|
|
1222
|
+
function Yt({
|
|
1189
1223
|
children: t,
|
|
1190
1224
|
onClick: n,
|
|
1191
1225
|
href: o,
|
|
@@ -1193,154 +1227,174 @@ function qt({
|
|
|
1193
1227
|
rel: i,
|
|
1194
1228
|
type: r = "button",
|
|
1195
1229
|
disabled: s = !1,
|
|
1196
|
-
variant:
|
|
1230
|
+
variant: l = "primary",
|
|
1197
1231
|
size: c,
|
|
1198
|
-
fullWidth:
|
|
1199
|
-
fullHeight:
|
|
1200
|
-
className:
|
|
1201
|
-
ariaLabel:
|
|
1202
|
-
leftIcon:
|
|
1232
|
+
fullWidth: f = !1,
|
|
1233
|
+
fullHeight: x = !1,
|
|
1234
|
+
className: v = "",
|
|
1235
|
+
ariaLabel: d,
|
|
1236
|
+
leftIcon: C,
|
|
1203
1237
|
rightIcon: y,
|
|
1204
|
-
iconOnly:
|
|
1238
|
+
iconOnly: O
|
|
1205
1239
|
}) {
|
|
1206
|
-
const
|
|
1207
|
-
|
|
1240
|
+
const w = !!t && t !== !0, S = (!!C ? 1 : 0) + (!!y ? 1 : 0) == 1, m = O != null ? O : S && !w, E = [
|
|
1241
|
+
J["orc-btn"],
|
|
1208
1242
|
// base
|
|
1209
|
-
|
|
1243
|
+
J[`orc-btn--${l}`],
|
|
1210
1244
|
// variant primary/secondary/tertiary
|
|
1211
|
-
c ?
|
|
1245
|
+
c ? J[`orc-btn--${c}`] : "",
|
|
1212
1246
|
// sm / md / lg
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
].filter(Boolean).join(" "),
|
|
1218
|
-
|
|
1219
|
-
!
|
|
1220
|
-
y && /* @__PURE__ */ e("span", { className:
|
|
1221
|
-
] }),
|
|
1247
|
+
f ? J["orc-btn--full"] : "",
|
|
1248
|
+
x ? J["orc-btn--fullHeight"] : "",
|
|
1249
|
+
m ? J["orc-btn--iconOnly"] : "",
|
|
1250
|
+
v
|
|
1251
|
+
].filter(Boolean).join(" "), k = /* @__PURE__ */ h(oe, { children: [
|
|
1252
|
+
C && /* @__PURE__ */ e("span", { className: J["orc-btn__icon"], children: C }),
|
|
1253
|
+
!m && /* @__PURE__ */ e("span", { className: J["orc-btn__label"], children: t }),
|
|
1254
|
+
y && /* @__PURE__ */ e("span", { className: J["orc-btn__icon"], children: y })
|
|
1255
|
+
] }), I = s ? !0 : void 0;
|
|
1222
1256
|
return o ? /* @__PURE__ */ e(
|
|
1223
|
-
|
|
1257
|
+
Me,
|
|
1224
1258
|
{
|
|
1225
1259
|
href: o,
|
|
1226
1260
|
target: a,
|
|
1227
1261
|
rel: i,
|
|
1228
|
-
"aria-label":
|
|
1229
|
-
"aria-disabled":
|
|
1230
|
-
tabIndex:
|
|
1231
|
-
className:
|
|
1232
|
-
onClick:
|
|
1233
|
-
children:
|
|
1262
|
+
"aria-label": d,
|
|
1263
|
+
"aria-disabled": I,
|
|
1264
|
+
tabIndex: I ? -1 : void 0,
|
|
1265
|
+
className: E,
|
|
1266
|
+
onClick: I ? (N) => N.preventDefault() : n,
|
|
1267
|
+
children: k
|
|
1234
1268
|
}
|
|
1235
1269
|
) : /* @__PURE__ */ e(
|
|
1236
1270
|
"button",
|
|
1237
1271
|
{
|
|
1238
1272
|
type: r,
|
|
1239
1273
|
onClick: n,
|
|
1240
|
-
disabled: !!
|
|
1241
|
-
"aria-label":
|
|
1242
|
-
className:
|
|
1243
|
-
children:
|
|
1274
|
+
disabled: !!I,
|
|
1275
|
+
"aria-label": d,
|
|
1276
|
+
className: E,
|
|
1277
|
+
children: k
|
|
1244
1278
|
}
|
|
1245
1279
|
);
|
|
1246
1280
|
}
|
|
1247
|
-
const
|
|
1248
|
-
cardWrapper:
|
|
1281
|
+
const Zt = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Ve = {
|
|
1282
|
+
cardWrapper: Zt
|
|
1283
|
+
}, Oe = {
|
|
1284
|
+
base: "FFFFFF",
|
|
1285
|
+
sleeve: "FFFFFF",
|
|
1286
|
+
number: "000000",
|
|
1287
|
+
real: !1,
|
|
1288
|
+
type: "short_sleeves"
|
|
1289
|
+
}, Ie = {
|
|
1290
|
+
base: "000000",
|
|
1291
|
+
sleeve: "000000",
|
|
1292
|
+
number: "FFFFFF",
|
|
1293
|
+
real: !1,
|
|
1294
|
+
type: "short_sleeves"
|
|
1295
|
+
}, fe = (t, n, o = "player") => {
|
|
1296
|
+
var i, r;
|
|
1297
|
+
if (t === void 0)
|
|
1298
|
+
return null;
|
|
1299
|
+
if (t === null)
|
|
1300
|
+
return n === "home" ? Oe : Ie;
|
|
1301
|
+
const a = (r = (i = t == null ? void 0 : t.jerseys) == null ? void 0 : i[n]) == null ? void 0 : r[o];
|
|
1302
|
+
return a || (n === "home" ? Oe : Ie);
|
|
1249
1303
|
};
|
|
1250
|
-
function
|
|
1251
|
-
var r, s,
|
|
1304
|
+
function Qt({ event: t, liveData: n, betOffers: o, jersey: a }) {
|
|
1305
|
+
var r, s, l, c, f, x, v, d, C, y, O;
|
|
1252
1306
|
const i = o == null ? void 0 : o.find(
|
|
1253
|
-
(
|
|
1254
|
-
var
|
|
1255
|
-
return ((
|
|
1307
|
+
(w) => {
|
|
1308
|
+
var M;
|
|
1309
|
+
return ((M = w.betOfferType) == null ? void 0 : M.id) === 2;
|
|
1256
1310
|
}
|
|
1257
1311
|
);
|
|
1258
|
-
return /* @__PURE__ */ e("div", { className:
|
|
1259
|
-
/* @__PURE__ */
|
|
1312
|
+
return /* @__PURE__ */ e("div", { className: Ve.cardWrapper, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1313
|
+
/* @__PURE__ */ h(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
1260
1314
|
/* @__PURE__ */ e(
|
|
1261
|
-
|
|
1315
|
+
pt,
|
|
1262
1316
|
{
|
|
1263
|
-
title: (
|
|
1317
|
+
title: (l = (s = (r = t == null ? void 0 : t.path) == null ? void 0 : r[0]) == null ? void 0 : s.name) != null ? l : "",
|
|
1264
1318
|
subtitle: (c = t == null ? void 0 : t.group) != null ? c : "",
|
|
1265
1319
|
live: !0,
|
|
1266
|
-
time: ((
|
|
1320
|
+
time: ((f = n == null ? void 0 : n.matchClock) == null ? void 0 : f.minute) != null ? `${n.matchClock.minute}'` : ""
|
|
1267
1321
|
}
|
|
1268
1322
|
),
|
|
1269
|
-
/* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */
|
|
1270
|
-
/* @__PURE__ */ e(
|
|
1271
|
-
/* @__PURE__ */ e(
|
|
1272
|
-
/* @__PURE__ */ e(
|
|
1323
|
+
/* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ h(Y, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1324
|
+
/* @__PURE__ */ e(he, { name: t == null ? void 0 : t.homeName, jersey: fe(a, "home") }),
|
|
1325
|
+
/* @__PURE__ */ e(Ue, { text: ((v = (x = n == null ? void 0 : n.score) == null ? void 0 : x.home) != null ? v : 0) + ":" + ((C = (d = n == null ? void 0 : n.score) == null ? void 0 : d.away) != null ? C : 0), name: "En vivo" }),
|
|
1326
|
+
/* @__PURE__ */ e(he, { name: t == null ? void 0 : t.awayName, jersey: fe(a, "away") })
|
|
1273
1327
|
] }) })
|
|
1274
1328
|
] }),
|
|
1275
|
-
/* @__PURE__ */
|
|
1276
|
-
/* @__PURE__ */ e(
|
|
1277
|
-
/* @__PURE__ */ e(
|
|
1278
|
-
|
|
1279
|
-
}, children:
|
|
1329
|
+
/* @__PURE__ */ h(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1330
|
+
/* @__PURE__ */ e(Y, { spacing: 1, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : []).map((w, M) => /* @__PURE__ */ e(ze, { text: w.label.toUpperCase() }, M)) }),
|
|
1331
|
+
/* @__PURE__ */ e(Y, { spacing: 2, children: ((O = i == null ? void 0 : i.outcomes) != null ? O : []).map((w, M) => /* @__PURE__ */ e(Yt, { variant: "primary", disabled: w.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1332
|
+
Ee(w.id);
|
|
1333
|
+
}, children: w.odds === void 0 ? "" : (w.odds / 1e3).toFixed(2) }, M)) })
|
|
1280
1334
|
] })
|
|
1281
1335
|
] }) });
|
|
1282
1336
|
}
|
|
1283
|
-
const
|
|
1284
|
-
date:
|
|
1337
|
+
const en = "oraculo__OraculoEventDate-module__date___xhIlh", tn = {
|
|
1338
|
+
date: en
|
|
1285
1339
|
};
|
|
1286
|
-
function
|
|
1287
|
-
return /* @__PURE__ */ e("div", { className: `oli-font ${
|
|
1340
|
+
function nn({ text: t }) {
|
|
1341
|
+
return /* @__PURE__ */ e("div", { className: `oli-font ${tn.date}`, children: t });
|
|
1288
1342
|
}
|
|
1289
|
-
const
|
|
1290
|
-
cardContainer:
|
|
1291
|
-
cardBackground:
|
|
1292
|
-
jugadas:
|
|
1293
|
-
equipos:
|
|
1343
|
+
const on = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", rn = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", an = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", sn = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", ne = {
|
|
1344
|
+
cardContainer: on,
|
|
1345
|
+
cardBackground: rn,
|
|
1346
|
+
jugadas: an,
|
|
1347
|
+
equipos: sn
|
|
1294
1348
|
};
|
|
1295
|
-
function
|
|
1296
|
-
var a, i, r, s,
|
|
1297
|
-
function o(
|
|
1298
|
-
const
|
|
1299
|
-
let
|
|
1300
|
-
return
|
|
1349
|
+
function cn({ event: t, jersey: n }) {
|
|
1350
|
+
var a, i, r, s, l, c, f;
|
|
1351
|
+
function o(x) {
|
|
1352
|
+
const v = new Date(x), d = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), C = v.getDate().toString().padStart(2, "0"), y = (v.getMonth() + 1).toString().padStart(2, "0");
|
|
1353
|
+
let O = v.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1354
|
+
return O = O.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${d} ${C}/${y} | ${O}`;
|
|
1301
1355
|
}
|
|
1302
|
-
return /* @__PURE__ */
|
|
1303
|
-
/* @__PURE__ */ e(
|
|
1304
|
-
/* @__PURE__ */ e("div", { className: ne.cardBackground, children: /* @__PURE__ */
|
|
1305
|
-
/* @__PURE__ */
|
|
1306
|
-
/* @__PURE__ */
|
|
1307
|
-
/* @__PURE__ */ e(
|
|
1308
|
-
/* @__PURE__ */ e(
|
|
1309
|
-
/* @__PURE__ */ e(
|
|
1356
|
+
return /* @__PURE__ */ h("div", { className: ne.cardContainer, children: [
|
|
1357
|
+
/* @__PURE__ */ e(je, { title: (a = t == null ? void 0 : t.group) != null ? a : "" }),
|
|
1358
|
+
/* @__PURE__ */ e("div", { className: ne.cardBackground, children: /* @__PURE__ */ h(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1359
|
+
/* @__PURE__ */ h(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1360
|
+
/* @__PURE__ */ h("div", { className: ne.equipos, children: [
|
|
1361
|
+
/* @__PURE__ */ e(he, { name: t.homeName, size: "compact", jersey: fe(n, "home") }),
|
|
1362
|
+
/* @__PURE__ */ e(Ue, { text: "vs.", name: "", size: "small" }),
|
|
1363
|
+
/* @__PURE__ */ e(he, { name: t.awayName, size: "compact", jersey: fe(n, "away") })
|
|
1310
1364
|
] }),
|
|
1311
|
-
/* @__PURE__ */ e(
|
|
1365
|
+
/* @__PURE__ */ e(nn, { text: o(t.start) })
|
|
1312
1366
|
] }),
|
|
1313
|
-
/* @__PURE__ */
|
|
1314
|
-
/* @__PURE__ */ e(
|
|
1315
|
-
/* @__PURE__ */ e("div", { className: ne.jugadas, children: /* @__PURE__ */ e(
|
|
1316
|
-
|
|
1317
|
-
}, children: (
|
|
1367
|
+
/* @__PURE__ */ h(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1368
|
+
/* @__PURE__ */ e(Y, { spacing: 1, children: ((s = (r = (i = t == null ? void 0 : t.outcome) == null ? void 0 : i[0]) == null ? void 0 : r.outcomes) != null ? s : []).map((x, v) => /* @__PURE__ */ e(ze, { text: x.label.toUpperCase() }, v)) }),
|
|
1369
|
+
/* @__PURE__ */ e("div", { className: ne.jugadas, children: /* @__PURE__ */ e(Y, { spacing: 1, children: ((f = (c = (l = t == null ? void 0 : t.outcome) == null ? void 0 : l[0]) == null ? void 0 : c.outcomes) != null ? f : []).map((x, v) => /* @__PURE__ */ e(G, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1370
|
+
Ee(x.id);
|
|
1371
|
+
}, children: (x.odds / 1e3).toFixed(2) }, v)) }) })
|
|
1318
1372
|
] })
|
|
1319
1373
|
] }) })
|
|
1320
1374
|
] });
|
|
1321
1375
|
}
|
|
1322
|
-
function
|
|
1376
|
+
function ln({
|
|
1323
1377
|
items: t,
|
|
1324
1378
|
title: n = "Destacados",
|
|
1325
1379
|
iconUrl: o,
|
|
1326
1380
|
onViewMore: a,
|
|
1327
1381
|
className: i = ""
|
|
1328
1382
|
}) {
|
|
1329
|
-
const r = H(null), [s,
|
|
1383
|
+
const r = H(null), [s, l] = D({ isStart: !0, isEnd: !1 }), c = !t || t.length === 0, f = () => {
|
|
1330
1384
|
var y;
|
|
1331
1385
|
return (y = r.current) == null ? void 0 : y.prev();
|
|
1332
|
-
},
|
|
1386
|
+
}, x = () => {
|
|
1333
1387
|
var y;
|
|
1334
1388
|
return (y = r.current) == null ? void 0 : y.next();
|
|
1335
|
-
},
|
|
1389
|
+
}, v = () => {
|
|
1336
1390
|
window.location.href = "https://www.olimpo.bet/promociones";
|
|
1337
|
-
},
|
|
1391
|
+
}, d = (y) => {
|
|
1338
1392
|
if (!y || typeof window == "undefined") return;
|
|
1339
|
-
const
|
|
1340
|
-
window.location.href =
|
|
1393
|
+
const w = `https://www.olimpo.bet/promociones/${encodeURIComponent(y)}`;
|
|
1394
|
+
window.location.href = w;
|
|
1341
1395
|
};
|
|
1342
|
-
return /* @__PURE__ */
|
|
1343
|
-
/* @__PURE__ */
|
|
1396
|
+
return /* @__PURE__ */ h("section", { className: i || void 0, style: { width: "100%" }, children: [
|
|
1397
|
+
/* @__PURE__ */ h(
|
|
1344
1398
|
"header",
|
|
1345
1399
|
{
|
|
1346
1400
|
style: {
|
|
@@ -1353,31 +1407,31 @@ function an({
|
|
|
1353
1407
|
},
|
|
1354
1408
|
children: [
|
|
1355
1409
|
/* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
|
|
1356
|
-
/* @__PURE__ */
|
|
1410
|
+
/* @__PURE__ */ h("div", { style: { display: "flex", gap: 8 }, children: [
|
|
1357
1411
|
/* @__PURE__ */ e(
|
|
1358
|
-
|
|
1412
|
+
G,
|
|
1359
1413
|
{
|
|
1360
1414
|
ariaLabel: "Anterior",
|
|
1361
1415
|
variant: "secondary",
|
|
1362
1416
|
iconOnly: !0,
|
|
1363
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1364
|
-
onClick:
|
|
1417
|
+
leftIcon: /* @__PURE__ */ e(ye, {}),
|
|
1418
|
+
onClick: f,
|
|
1365
1419
|
disabled: s.isStart || c
|
|
1366
1420
|
}
|
|
1367
1421
|
),
|
|
1368
1422
|
/* @__PURE__ */ e(
|
|
1369
|
-
|
|
1423
|
+
G,
|
|
1370
1424
|
{
|
|
1371
1425
|
ariaLabel: "Siguiente",
|
|
1372
1426
|
variant: "secondary",
|
|
1373
1427
|
iconOnly: !0,
|
|
1374
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1375
|
-
onClick:
|
|
1428
|
+
rightIcon: /* @__PURE__ */ e(Se, {}),
|
|
1429
|
+
onClick: x,
|
|
1376
1430
|
disabled: s.isEnd || c
|
|
1377
1431
|
}
|
|
1378
1432
|
)
|
|
1379
1433
|
] }),
|
|
1380
|
-
/* @__PURE__ */ e(
|
|
1434
|
+
/* @__PURE__ */ e(G, { variant: "secondary", onClick: v, children: "Ver más" })
|
|
1381
1435
|
]
|
|
1382
1436
|
}
|
|
1383
1437
|
),
|
|
@@ -1410,7 +1464,7 @@ function an({
|
|
|
1410
1464
|
marginTop: 16,
|
|
1411
1465
|
cursor: "pointer"
|
|
1412
1466
|
},
|
|
1413
|
-
onClick: () =>
|
|
1467
|
+
onClick: () => d(y.promotion),
|
|
1414
1468
|
children: /* @__PURE__ */ e(
|
|
1415
1469
|
"img",
|
|
1416
1470
|
{
|
|
@@ -1428,52 +1482,52 @@ function an({
|
|
|
1428
1482
|
},
|
|
1429
1483
|
`${y.title}-${y.image}`
|
|
1430
1484
|
),
|
|
1431
|
-
onMove: ({ isStart: y, isEnd:
|
|
1485
|
+
onMove: ({ isStart: y, isEnd: O }) => l({ isStart: y, isEnd: O })
|
|
1432
1486
|
}
|
|
1433
1487
|
)
|
|
1434
1488
|
] });
|
|
1435
1489
|
}
|
|
1436
|
-
const
|
|
1437
|
-
function
|
|
1490
|
+
const me = "__ORACULO_EXTRAS__";
|
|
1491
|
+
function qe() {
|
|
1438
1492
|
const t = globalThis;
|
|
1439
|
-
return t[
|
|
1493
|
+
return t[me] || (t[me] = {}), t[me];
|
|
1440
1494
|
}
|
|
1441
|
-
function
|
|
1442
|
-
|
|
1495
|
+
function dn(t) {
|
|
1496
|
+
qe().extras = t;
|
|
1443
1497
|
}
|
|
1444
1498
|
function Q(t) {
|
|
1445
1499
|
var n;
|
|
1446
|
-
return (n =
|
|
1500
|
+
return (n = qe().extras) == null ? void 0 : n[t];
|
|
1447
1501
|
}
|
|
1448
|
-
function
|
|
1449
|
-
delete globalThis[
|
|
1502
|
+
function un() {
|
|
1503
|
+
delete globalThis[me];
|
|
1450
1504
|
}
|
|
1451
|
-
function
|
|
1505
|
+
function pn({
|
|
1452
1506
|
items: t,
|
|
1453
1507
|
title: n = "Top Juegos",
|
|
1454
1508
|
iconUrl: o,
|
|
1455
1509
|
onCardClick: a
|
|
1456
1510
|
}) {
|
|
1457
1511
|
const i = ce(
|
|
1458
|
-
() => (t != null ? t : []).map((c,
|
|
1459
|
-
var
|
|
1512
|
+
() => (t != null ? t : []).map((c, f) => {
|
|
1513
|
+
var x;
|
|
1460
1514
|
return {
|
|
1461
1515
|
...c,
|
|
1462
|
-
orden: (
|
|
1463
|
-
_originalIndex:
|
|
1516
|
+
orden: (x = c.orden) != null ? x : f + 1,
|
|
1517
|
+
_originalIndex: f
|
|
1464
1518
|
};
|
|
1465
|
-
}).sort((c,
|
|
1519
|
+
}).sort((c, f) => c.orden != null && f.orden != null ? c.orden - f.orden : c._originalIndex - f._originalIndex),
|
|
1466
1520
|
[t]
|
|
1467
|
-
), r = !t || t.length === 0, s = r ? Array.from({ length: 6 }) : i.slice(0, 6),
|
|
1468
|
-
const
|
|
1469
|
-
|
|
1470
|
-
|
|
1521
|
+
), r = !t || t.length === 0, s = r ? Array.from({ length: 6 }) : i.slice(0, 6), l = (c) => {
|
|
1522
|
+
const f = Q("showIframe"), x = Q("loadMachine");
|
|
1523
|
+
f == null || f(), requestAnimationFrame(() => {
|
|
1524
|
+
x == null || x(c, !1, "CASINO");
|
|
1471
1525
|
});
|
|
1472
1526
|
};
|
|
1473
|
-
return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */
|
|
1527
|
+
return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1474
1528
|
/* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
|
|
1475
1529
|
/* @__PURE__ */ e(
|
|
1476
|
-
|
|
1530
|
+
T,
|
|
1477
1531
|
{
|
|
1478
1532
|
sx: {
|
|
1479
1533
|
display: "grid",
|
|
@@ -1485,29 +1539,29 @@ function ln({
|
|
|
1485
1539
|
justifyItems: "center",
|
|
1486
1540
|
width: "100%"
|
|
1487
1541
|
},
|
|
1488
|
-
children: s.map((c,
|
|
1489
|
-
var
|
|
1542
|
+
children: s.map((c, f) => {
|
|
1543
|
+
var x, v;
|
|
1490
1544
|
return /* @__PURE__ */ e(
|
|
1491
|
-
|
|
1545
|
+
Wt,
|
|
1492
1546
|
{
|
|
1493
|
-
imageUrl: r ? "" : c.background ? `https://olimpo.bet${c.background}` : `https://olimpo.bet${(
|
|
1494
|
-
orden: r ?
|
|
1547
|
+
imageUrl: r ? "" : c.background ? `https://olimpo.bet${c.background}` : `https://olimpo.bet${(x = c.logo) != null ? x : ""}`,
|
|
1548
|
+
orden: r ? f + 1 : c.orden,
|
|
1495
1549
|
loading: r,
|
|
1496
1550
|
onClick: r ? void 0 : () => {
|
|
1497
|
-
a == null || a(c),
|
|
1551
|
+
a == null || a(c), l(c);
|
|
1498
1552
|
}
|
|
1499
1553
|
},
|
|
1500
|
-
r ? `sk-${
|
|
1554
|
+
r ? `sk-${f}` : (v = c.machine) != null ? v : `${f}`
|
|
1501
1555
|
);
|
|
1502
1556
|
})
|
|
1503
1557
|
}
|
|
1504
1558
|
)
|
|
1505
1559
|
] }) });
|
|
1506
1560
|
}
|
|
1507
|
-
const
|
|
1561
|
+
const mn = (t, n) => {
|
|
1508
1562
|
var o, a;
|
|
1509
1563
|
return (a = (o = t.orden) != null ? o : t.machine) != null ? a : n;
|
|
1510
|
-
},
|
|
1564
|
+
}, hn = ({
|
|
1511
1565
|
items: t,
|
|
1512
1566
|
title: n = "Casino en vivo",
|
|
1513
1567
|
subtitle: o = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
@@ -1516,14 +1570,14 @@ const dn = (t, n) => {
|
|
|
1516
1570
|
onViewMore: r,
|
|
1517
1571
|
className: s
|
|
1518
1572
|
}) => {
|
|
1519
|
-
const
|
|
1520
|
-
const
|
|
1521
|
-
|
|
1522
|
-
|
|
1573
|
+
const l = (c) => {
|
|
1574
|
+
const f = Q("showIframe"), x = Q("loadMachine");
|
|
1575
|
+
f == null || f(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
|
|
1576
|
+
x == null || x(c, !1, "casino_en_vivo");
|
|
1523
1577
|
});
|
|
1524
1578
|
};
|
|
1525
|
-
return /* @__PURE__ */
|
|
1526
|
-
|
|
1579
|
+
return /* @__PURE__ */ h(
|
|
1580
|
+
T,
|
|
1527
1581
|
{
|
|
1528
1582
|
className: s,
|
|
1529
1583
|
sx: {
|
|
@@ -1533,7 +1587,7 @@ const dn = (t, n) => {
|
|
|
1533
1587
|
},
|
|
1534
1588
|
children: [
|
|
1535
1589
|
/* @__PURE__ */ e(
|
|
1536
|
-
|
|
1590
|
+
T,
|
|
1537
1591
|
{
|
|
1538
1592
|
sx: {
|
|
1539
1593
|
position: "absolute",
|
|
@@ -1557,8 +1611,8 @@ const dn = (t, n) => {
|
|
|
1557
1611
|
}
|
|
1558
1612
|
}
|
|
1559
1613
|
),
|
|
1560
|
-
/* @__PURE__ */
|
|
1561
|
-
|
|
1614
|
+
/* @__PURE__ */ h(
|
|
1615
|
+
T,
|
|
1562
1616
|
{
|
|
1563
1617
|
sx: {
|
|
1564
1618
|
position: "relative",
|
|
@@ -1575,9 +1629,9 @@ const dn = (t, n) => {
|
|
|
1575
1629
|
textAlign: { xs: "center", md: "left" }
|
|
1576
1630
|
},
|
|
1577
1631
|
children: [
|
|
1578
|
-
/* @__PURE__ */
|
|
1632
|
+
/* @__PURE__ */ h(z, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
1579
1633
|
/* @__PURE__ */ e(
|
|
1580
|
-
|
|
1634
|
+
X,
|
|
1581
1635
|
{
|
|
1582
1636
|
variant: "h4",
|
|
1583
1637
|
sx: {
|
|
@@ -1590,7 +1644,7 @@ const dn = (t, n) => {
|
|
|
1590
1644
|
}
|
|
1591
1645
|
),
|
|
1592
1646
|
/* @__PURE__ */ e(
|
|
1593
|
-
|
|
1647
|
+
X,
|
|
1594
1648
|
{
|
|
1595
1649
|
sx: {
|
|
1596
1650
|
fontSize: { xs: 14, md: 18 },
|
|
@@ -1601,8 +1655,8 @@ const dn = (t, n) => {
|
|
|
1601
1655
|
children: o
|
|
1602
1656
|
}
|
|
1603
1657
|
),
|
|
1604
|
-
/* @__PURE__ */ e(
|
|
1605
|
-
|
|
1658
|
+
/* @__PURE__ */ e(T, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
|
|
1659
|
+
G,
|
|
1606
1660
|
{
|
|
1607
1661
|
variant: "primary",
|
|
1608
1662
|
size: "md",
|
|
@@ -1612,7 +1666,7 @@ const dn = (t, n) => {
|
|
|
1612
1666
|
) })
|
|
1613
1667
|
] }),
|
|
1614
1668
|
/* @__PURE__ */ e(
|
|
1615
|
-
|
|
1669
|
+
T,
|
|
1616
1670
|
{
|
|
1617
1671
|
sx: {
|
|
1618
1672
|
display: "flex",
|
|
@@ -1622,24 +1676,24 @@ const dn = (t, n) => {
|
|
|
1622
1676
|
py: { xs: 3, md: 0 },
|
|
1623
1677
|
alignItems: "center"
|
|
1624
1678
|
},
|
|
1625
|
-
children: (t != null ? t : []).slice(0, 3).map((c,
|
|
1626
|
-
var
|
|
1679
|
+
children: (t != null ? t : []).slice(0, 3).map((c, f) => {
|
|
1680
|
+
var x;
|
|
1627
1681
|
return /* @__PURE__ */ e(
|
|
1628
|
-
|
|
1682
|
+
Bt,
|
|
1629
1683
|
{
|
|
1630
|
-
logo: `https://olimpo.bet${c.background ? c.background : (
|
|
1684
|
+
logo: `https://olimpo.bet${c.background ? c.background : (x = c.logo) != null ? x : ""}`,
|
|
1631
1685
|
provider: c.provider,
|
|
1632
1686
|
providerName: c.web_name,
|
|
1633
1687
|
machine: c.machine,
|
|
1634
|
-
onClick: () =>
|
|
1688
|
+
onClick: () => l(c)
|
|
1635
1689
|
},
|
|
1636
|
-
|
|
1690
|
+
mn(c, f)
|
|
1637
1691
|
);
|
|
1638
1692
|
})
|
|
1639
1693
|
}
|
|
1640
1694
|
),
|
|
1641
|
-
/* @__PURE__ */ e(
|
|
1642
|
-
|
|
1695
|
+
/* @__PURE__ */ e(T, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ e(
|
|
1696
|
+
G,
|
|
1643
1697
|
{
|
|
1644
1698
|
variant: "primary",
|
|
1645
1699
|
size: "lg",
|
|
@@ -1653,14 +1707,14 @@ const dn = (t, n) => {
|
|
|
1653
1707
|
]
|
|
1654
1708
|
}
|
|
1655
1709
|
);
|
|
1656
|
-
},
|
|
1710
|
+
}, Ke = (t, n) => {
|
|
1657
1711
|
var o, a;
|
|
1658
1712
|
return (a = (o = t.orden) != null ? o : t.machine) != null ? a : n;
|
|
1659
|
-
},
|
|
1660
|
-
const a = t.map((s,
|
|
1713
|
+
}, fn = (t, n = !0, o = 1) => {
|
|
1714
|
+
const a = t.map((s, l) => {
|
|
1661
1715
|
var c;
|
|
1662
1716
|
return {
|
|
1663
|
-
id:
|
|
1717
|
+
id: Ke(s, l),
|
|
1664
1718
|
imageUrl: (c = s.logo) != null ? c : "",
|
|
1665
1719
|
...s.background ? { background: s.background } : {}
|
|
1666
1720
|
};
|
|
@@ -1669,7 +1723,7 @@ const dn = (t, n) => {
|
|
|
1669
1723
|
const i = [];
|
|
1670
1724
|
let r = 0;
|
|
1671
1725
|
if (n) {
|
|
1672
|
-
const s = Math.min(a.length,
|
|
1726
|
+
const s = Math.min(a.length, 1);
|
|
1673
1727
|
i.push({ id: "mosaic-0", kind: "mosaic", items: a.slice(0, s) }), r = s;
|
|
1674
1728
|
}
|
|
1675
1729
|
for (; r < a.length; ) {
|
|
@@ -1677,30 +1731,30 @@ const dn = (t, n) => {
|
|
|
1677
1731
|
i.push({ id: `grid-${r}`, kind: "grid", items: a.slice(r, s) }), r = s;
|
|
1678
1732
|
}
|
|
1679
1733
|
return i;
|
|
1680
|
-
},
|
|
1734
|
+
}, gn = ({
|
|
1681
1735
|
items: t,
|
|
1682
1736
|
title: n = "Casino",
|
|
1683
1737
|
iconUrl: o = "/assets/img/home/Casino/diamante.svg",
|
|
1684
1738
|
onItemClick: a,
|
|
1685
1739
|
onViewMore: i,
|
|
1686
1740
|
mosaicFirst: r = !0,
|
|
1687
|
-
gridSize: s =
|
|
1741
|
+
gridSize: s = 1
|
|
1688
1742
|
}) => {
|
|
1689
|
-
const
|
|
1690
|
-
var
|
|
1691
|
-
return (
|
|
1692
|
-
},
|
|
1693
|
-
var
|
|
1694
|
-
return (
|
|
1695
|
-
},
|
|
1743
|
+
const l = H(null), [c, f] = D({ isStart: !0, isEnd: !1 }), x = () => {
|
|
1744
|
+
var w;
|
|
1745
|
+
return (w = l.current) == null ? void 0 : w.prev();
|
|
1746
|
+
}, v = () => {
|
|
1747
|
+
var w;
|
|
1748
|
+
return (w = l.current) == null ? void 0 : w.next();
|
|
1749
|
+
}, d = () => {
|
|
1696
1750
|
window.location.href = "https://www.olimpo.bet/casino";
|
|
1697
|
-
},
|
|
1698
|
-
const
|
|
1699
|
-
return
|
|
1700
|
-
}, y = !t || t.length === 0,
|
|
1701
|
-
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */
|
|
1702
|
-
/* @__PURE__ */
|
|
1703
|
-
|
|
1751
|
+
}, C = (w = !0, M = 4) => {
|
|
1752
|
+
const B = (m) => Array.from({ length: m }, (E, k) => ({ id: `sk-${m}-${k}`, imageUrl: "" })), S = [];
|
|
1753
|
+
return w && S.push({ id: "mosaic-loading", kind: "mosaic", items: B(5) }), S.push({ id: "grid-loading", kind: "grid", items: B(M) }), S;
|
|
1754
|
+
}, y = !t || t.length === 0, O = y ? C(r, s) : fn(t, r, s);
|
|
1755
|
+
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ h(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1756
|
+
/* @__PURE__ */ h(
|
|
1757
|
+
T,
|
|
1704
1758
|
{
|
|
1705
1759
|
sx: {
|
|
1706
1760
|
display: "grid",
|
|
@@ -1711,39 +1765,39 @@ const dn = (t, n) => {
|
|
|
1711
1765
|
},
|
|
1712
1766
|
children: [
|
|
1713
1767
|
/* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
|
|
1714
|
-
/* @__PURE__ */
|
|
1768
|
+
/* @__PURE__ */ h(T, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
1715
1769
|
/* @__PURE__ */ e(
|
|
1716
|
-
|
|
1770
|
+
G,
|
|
1717
1771
|
{
|
|
1718
1772
|
ariaLabel: "Anterior",
|
|
1719
1773
|
variant: "secondary",
|
|
1720
1774
|
iconOnly: !0,
|
|
1721
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1722
|
-
onClick:
|
|
1775
|
+
leftIcon: /* @__PURE__ */ e(Be, {}),
|
|
1776
|
+
onClick: x,
|
|
1723
1777
|
disabled: c.isStart
|
|
1724
1778
|
}
|
|
1725
1779
|
),
|
|
1726
1780
|
/* @__PURE__ */ e(
|
|
1727
|
-
|
|
1781
|
+
G,
|
|
1728
1782
|
{
|
|
1729
1783
|
ariaLabel: "Siguiente",
|
|
1730
1784
|
variant: "secondary",
|
|
1731
1785
|
iconOnly: !0,
|
|
1732
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1733
|
-
onClick:
|
|
1786
|
+
rightIcon: /* @__PURE__ */ e(Pe, {}),
|
|
1787
|
+
onClick: v,
|
|
1734
1788
|
disabled: c.isEnd
|
|
1735
1789
|
}
|
|
1736
1790
|
)
|
|
1737
1791
|
] }),
|
|
1738
|
-
/* @__PURE__ */ e(
|
|
1792
|
+
/* @__PURE__ */ e(T, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(G, { variant: "secondary", onClick: d, children: "Ver más" }) })
|
|
1739
1793
|
]
|
|
1740
1794
|
}
|
|
1741
1795
|
),
|
|
1742
1796
|
/* @__PURE__ */ e(
|
|
1743
1797
|
te,
|
|
1744
1798
|
{
|
|
1745
|
-
ref:
|
|
1746
|
-
items:
|
|
1799
|
+
ref: l,
|
|
1800
|
+
items: O,
|
|
1747
1801
|
perPage: 1,
|
|
1748
1802
|
gap: "0px",
|
|
1749
1803
|
enableHorizontalWheel: !0,
|
|
@@ -1756,33 +1810,33 @@ const dn = (t, n) => {
|
|
|
1756
1810
|
drag: !0,
|
|
1757
1811
|
focus: "start"
|
|
1758
1812
|
},
|
|
1759
|
-
renderItem: (
|
|
1760
|
-
|
|
1813
|
+
renderItem: (w) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
|
|
1814
|
+
De,
|
|
1761
1815
|
{
|
|
1762
|
-
items:
|
|
1763
|
-
layout:
|
|
1816
|
+
items: w.items,
|
|
1817
|
+
layout: w.kind === "mosaic" ? "mosaic" : "grid",
|
|
1764
1818
|
loading: y,
|
|
1765
|
-
onClick: (
|
|
1819
|
+
onClick: (M) => {
|
|
1766
1820
|
if (y) return;
|
|
1767
|
-
const
|
|
1768
|
-
if (!
|
|
1769
|
-
const
|
|
1770
|
-
|
|
1821
|
+
const B = t.find((E, k) => String(Ke(E, k)) === String(M.id));
|
|
1822
|
+
if (!B) return;
|
|
1823
|
+
const S = Q("showIframe"), m = Q("loadMachine");
|
|
1824
|
+
S == null || S(), m == null || m(B, !1, "CASINO");
|
|
1771
1825
|
}
|
|
1772
1826
|
}
|
|
1773
1827
|
) }),
|
|
1774
|
-
onMove: ({ isStart:
|
|
1828
|
+
onMove: ({ isStart: w, isEnd: M }) => f({ isStart: w, isEnd: M })
|
|
1775
1829
|
}
|
|
1776
1830
|
)
|
|
1777
1831
|
] }) });
|
|
1778
|
-
},
|
|
1832
|
+
}, Je = (t, n) => {
|
|
1779
1833
|
var o, a;
|
|
1780
1834
|
return (a = (o = t.orden) != null ? o : t.machine) != null ? a : n;
|
|
1781
|
-
},
|
|
1782
|
-
const a = t.map((s,
|
|
1835
|
+
}, xn = (t, n = !0, o = 1) => {
|
|
1836
|
+
const a = t.map((s, l) => {
|
|
1783
1837
|
var c;
|
|
1784
1838
|
return {
|
|
1785
|
-
id:
|
|
1839
|
+
id: Je(s, l),
|
|
1786
1840
|
imageUrl: (c = s.logo) != null ? c : "",
|
|
1787
1841
|
...s.background ? { background: s.background } : {}
|
|
1788
1842
|
};
|
|
@@ -1791,7 +1845,7 @@ const dn = (t, n) => {
|
|
|
1791
1845
|
const i = [];
|
|
1792
1846
|
let r = 0;
|
|
1793
1847
|
if (n) {
|
|
1794
|
-
const s = Math.min(a.length,
|
|
1848
|
+
const s = Math.min(a.length, 1);
|
|
1795
1849
|
i.push({ id: "mosaic-0", kind: "mosaic", items: a.slice(0, s) }), r = s;
|
|
1796
1850
|
}
|
|
1797
1851
|
for (; r < a.length; ) {
|
|
@@ -1799,30 +1853,30 @@ const dn = (t, n) => {
|
|
|
1799
1853
|
i.push({ id: `grid-${r}`, kind: "grid", items: a.slice(r, s) }), r = s;
|
|
1800
1854
|
}
|
|
1801
1855
|
return i;
|
|
1802
|
-
},
|
|
1856
|
+
}, bn = (t = !0, n = 4) => {
|
|
1803
1857
|
const o = (i) => Array.from({ length: i }, (r, s) => ({ id: `sk-${i}-${s}`, imageUrl: "" })), a = [];
|
|
1804
1858
|
return t && a.push({ id: "mosaic-loading", kind: "mosaic", items: o(5) }), a.push({ id: "grid-loading", kind: "grid", items: o(n) }), a;
|
|
1805
|
-
},
|
|
1859
|
+
}, _n = ({
|
|
1806
1860
|
items: t,
|
|
1807
1861
|
title: n = "Virtuales",
|
|
1808
1862
|
iconUrl: o = "/assets/img/home/Virtuales/virtuales.svg",
|
|
1809
1863
|
onItemClick: a,
|
|
1810
1864
|
onViewMore: i,
|
|
1811
1865
|
mosaicFirst: r = !0,
|
|
1812
|
-
gridSize: s =
|
|
1866
|
+
gridSize: s = 1
|
|
1813
1867
|
}) => {
|
|
1814
|
-
const
|
|
1815
|
-
var
|
|
1816
|
-
return (
|
|
1817
|
-
},
|
|
1818
|
-
var
|
|
1819
|
-
return (
|
|
1820
|
-
},
|
|
1868
|
+
const l = H(null), [c, f] = D({ isStart: !0, isEnd: !1 }), x = () => {
|
|
1869
|
+
var O;
|
|
1870
|
+
return (O = l.current) == null ? void 0 : O.prev();
|
|
1871
|
+
}, v = () => {
|
|
1872
|
+
var O;
|
|
1873
|
+
return (O = l.current) == null ? void 0 : O.next();
|
|
1874
|
+
}, d = () => {
|
|
1821
1875
|
window.location.href = "https://www.olimpo.bet/juegos-virtuales";
|
|
1822
|
-
},
|
|
1823
|
-
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */
|
|
1824
|
-
/* @__PURE__ */
|
|
1825
|
-
|
|
1876
|
+
}, C = !t || t.length === 0, y = C ? bn(r, s) : xn(t, r, s);
|
|
1877
|
+
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ h(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1878
|
+
/* @__PURE__ */ h(
|
|
1879
|
+
T,
|
|
1826
1880
|
{
|
|
1827
1881
|
sx: {
|
|
1828
1882
|
display: "grid",
|
|
@@ -1833,38 +1887,38 @@ const dn = (t, n) => {
|
|
|
1833
1887
|
},
|
|
1834
1888
|
children: [
|
|
1835
1889
|
/* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
|
|
1836
|
-
/* @__PURE__ */
|
|
1890
|
+
/* @__PURE__ */ h(T, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
1837
1891
|
/* @__PURE__ */ e(
|
|
1838
|
-
|
|
1892
|
+
G,
|
|
1839
1893
|
{
|
|
1840
1894
|
ariaLabel: "Anterior",
|
|
1841
1895
|
variant: "secondary",
|
|
1842
1896
|
iconOnly: !0,
|
|
1843
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1844
|
-
onClick:
|
|
1897
|
+
leftIcon: /* @__PURE__ */ e(Be, {}),
|
|
1898
|
+
onClick: x,
|
|
1845
1899
|
disabled: c.isStart
|
|
1846
1900
|
}
|
|
1847
1901
|
),
|
|
1848
1902
|
/* @__PURE__ */ e(
|
|
1849
|
-
|
|
1903
|
+
G,
|
|
1850
1904
|
{
|
|
1851
1905
|
ariaLabel: "Siguiente",
|
|
1852
1906
|
variant: "secondary",
|
|
1853
1907
|
iconOnly: !0,
|
|
1854
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1855
|
-
onClick:
|
|
1908
|
+
rightIcon: /* @__PURE__ */ e(Pe, {}),
|
|
1909
|
+
onClick: v,
|
|
1856
1910
|
disabled: c.isEnd
|
|
1857
1911
|
}
|
|
1858
1912
|
)
|
|
1859
1913
|
] }),
|
|
1860
|
-
/* @__PURE__ */ e(
|
|
1914
|
+
/* @__PURE__ */ e(T, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(G, { variant: "secondary", onClick: d, children: "Ver más" }) })
|
|
1861
1915
|
]
|
|
1862
1916
|
}
|
|
1863
1917
|
),
|
|
1864
1918
|
/* @__PURE__ */ e(
|
|
1865
1919
|
te,
|
|
1866
1920
|
{
|
|
1867
|
-
ref:
|
|
1921
|
+
ref: l,
|
|
1868
1922
|
items: y,
|
|
1869
1923
|
perPage: 1,
|
|
1870
1924
|
gap: "0",
|
|
@@ -1879,29 +1933,29 @@ const dn = (t, n) => {
|
|
|
1879
1933
|
focus: "start",
|
|
1880
1934
|
perMove: 1
|
|
1881
1935
|
},
|
|
1882
|
-
renderItem: (
|
|
1883
|
-
|
|
1936
|
+
renderItem: (O) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
|
|
1937
|
+
De,
|
|
1884
1938
|
{
|
|
1885
|
-
items:
|
|
1886
|
-
layout:
|
|
1887
|
-
loading:
|
|
1888
|
-
onClick: (
|
|
1889
|
-
if (
|
|
1890
|
-
const
|
|
1891
|
-
if (!
|
|
1892
|
-
console.warn("[virtuales] no se encontró game para id:",
|
|
1939
|
+
items: O.items,
|
|
1940
|
+
layout: O.kind === "mosaic" ? "mosaic" : "grid",
|
|
1941
|
+
loading: C,
|
|
1942
|
+
onClick: (w) => {
|
|
1943
|
+
if (C) return;
|
|
1944
|
+
const M = t.find((m, E) => String(Je(m, E)) === String(w.id));
|
|
1945
|
+
if (!M) {
|
|
1946
|
+
console.warn("[virtuales] no se encontró game para id:", w.id);
|
|
1893
1947
|
return;
|
|
1894
1948
|
}
|
|
1895
|
-
const
|
|
1896
|
-
|
|
1949
|
+
const B = Q("showIframe"), S = Q("loadMachine");
|
|
1950
|
+
B == null || B(), S == null || S(M, !1, "VIRTUALES");
|
|
1897
1951
|
}
|
|
1898
1952
|
}
|
|
1899
1953
|
) }),
|
|
1900
|
-
onMove: ({ isStart:
|
|
1954
|
+
onMove: ({ isStart: O, isEnd: w }) => f({ isStart: O, isEnd: w })
|
|
1901
1955
|
}
|
|
1902
1956
|
)
|
|
1903
1957
|
] }) });
|
|
1904
|
-
},
|
|
1958
|
+
}, vn = (t) => ({
|
|
1905
1959
|
position: "relative",
|
|
1906
1960
|
py: 8,
|
|
1907
1961
|
color: "#fff",
|
|
@@ -1915,15 +1969,15 @@ const dn = (t, n) => {
|
|
|
1915
1969
|
backgroundRepeat: "no-repeat",
|
|
1916
1970
|
backgroundPosition: "center",
|
|
1917
1971
|
backgroundSize: "cover"
|
|
1918
|
-
}),
|
|
1972
|
+
}), $e = {
|
|
1919
1973
|
textAlign: "center",
|
|
1920
1974
|
lineHeight: 1.1,
|
|
1921
1975
|
mb: 1.5
|
|
1922
|
-
},
|
|
1976
|
+
}, Ne = {
|
|
1923
1977
|
display: "inline-block",
|
|
1924
1978
|
fontWeight: 600,
|
|
1925
1979
|
fontSize: 24
|
|
1926
|
-
},
|
|
1980
|
+
}, Te = {
|
|
1927
1981
|
display: "inline-block",
|
|
1928
1982
|
fontSize: 24,
|
|
1929
1983
|
lineHeight: 1.1,
|
|
@@ -1933,45 +1987,45 @@ const dn = (t, n) => {
|
|
|
1933
1987
|
0 0 6px rgba(255, 255, 255, .6),
|
|
1934
1988
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
1935
1989
|
`
|
|
1936
|
-
},
|
|
1990
|
+
}, wn = ({
|
|
1937
1991
|
headline: t,
|
|
1938
1992
|
headline2: n,
|
|
1939
1993
|
items: o,
|
|
1940
1994
|
backgroundImageUrl: a
|
|
1941
1995
|
}) => {
|
|
1942
|
-
const i =
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
}, [
|
|
1946
|
-
const
|
|
1996
|
+
const i = ot("(max-width: 767px)"), r = o.length > 1, s = H(null), l = H(null), [c, f] = D(0), [x, v] = D({ isStart: !0, isEnd: !1 }), d = H(x);
|
|
1997
|
+
q(() => {
|
|
1998
|
+
d.current = x;
|
|
1999
|
+
}, [x]);
|
|
2000
|
+
const C = H(!1), y = H(null), O = o == null ? void 0 : o[c], w = ce(
|
|
1947
2001
|
() => {
|
|
1948
|
-
var
|
|
1949
|
-
return (
|
|
2002
|
+
var m, E;
|
|
2003
|
+
return (E = (m = O == null ? void 0 : O.backgroundImageUrl) != null ? m : a) != null ? E : "";
|
|
1950
2004
|
},
|
|
1951
|
-
[
|
|
1952
|
-
),
|
|
1953
|
-
|
|
1954
|
-
const
|
|
1955
|
-
if (!
|
|
1956
|
-
const
|
|
1957
|
-
var
|
|
1958
|
-
if (
|
|
1959
|
-
const
|
|
1960
|
-
if (Math.abs(
|
|
1961
|
-
const
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
},
|
|
2005
|
+
[O, a]
|
|
2006
|
+
), M = vn(w), B = !o || o.length === 0;
|
|
2007
|
+
q(() => {
|
|
2008
|
+
const m = l.current;
|
|
2009
|
+
if (!m) return;
|
|
2010
|
+
const E = 6, k = 380, I = (N) => {
|
|
2011
|
+
var p, u;
|
|
2012
|
+
if (B || N.ctrlKey || C.current) return;
|
|
2013
|
+
const F = N.deltaX, P = N.deltaY;
|
|
2014
|
+
if (Math.abs(F) <= Math.abs(P) || Math.abs(F) < E) return;
|
|
2015
|
+
const L = F > 0;
|
|
2016
|
+
L && d.current.isEnd || !L && d.current.isStart || (N.preventDefault(), C.current = !0, L ? (p = s.current) == null || p.next() : (u = s.current) == null || u.prev(), y.current && window.clearTimeout(y.current), y.current = window.setTimeout(() => {
|
|
2017
|
+
C.current = !1;
|
|
2018
|
+
}, k));
|
|
1965
2019
|
};
|
|
1966
|
-
return
|
|
1967
|
-
|
|
2020
|
+
return m.addEventListener("wheel", I, { passive: !1 }), () => {
|
|
2021
|
+
m.removeEventListener("wheel", I), y.current && window.clearTimeout(y.current);
|
|
1968
2022
|
};
|
|
1969
|
-
}, [
|
|
1970
|
-
const
|
|
1971
|
-
var N,
|
|
1972
|
-
const
|
|
1973
|
-
return
|
|
1974
|
-
|
|
2023
|
+
}, [B]);
|
|
2024
|
+
const S = (m, E) => {
|
|
2025
|
+
var N, F;
|
|
2026
|
+
const k = (N = m.headline) != null ? N : t, I = (F = m.headline2) != null ? F : n;
|
|
2027
|
+
return E ? /* @__PURE__ */ h(
|
|
2028
|
+
T,
|
|
1975
2029
|
{
|
|
1976
2030
|
sx: {
|
|
1977
2031
|
maxWidth: 1200,
|
|
@@ -1983,8 +2037,8 @@ const dn = (t, n) => {
|
|
|
1983
2037
|
columnGap: 6
|
|
1984
2038
|
},
|
|
1985
2039
|
children: [
|
|
1986
|
-
(
|
|
1987
|
-
|
|
2040
|
+
(k || I) && /* @__PURE__ */ e(
|
|
2041
|
+
T,
|
|
1988
2042
|
{
|
|
1989
2043
|
sx: {
|
|
1990
2044
|
display: "flex",
|
|
@@ -1992,31 +2046,31 @@ const dn = (t, n) => {
|
|
|
1992
2046
|
justifyContent: "flex-start",
|
|
1993
2047
|
minHeight: "100%"
|
|
1994
2048
|
},
|
|
1995
|
-
children: /* @__PURE__ */
|
|
1996
|
-
|
|
1997
|
-
|
|
2049
|
+
children: /* @__PURE__ */ h(T, { sx: { ...$e, textAlign: "left", mb: 0 }, children: [
|
|
2050
|
+
k && /* @__PURE__ */ e(X, { component: "span", sx: Ne, children: k }),
|
|
2051
|
+
I && /* @__PURE__ */ h(oe, { children: [
|
|
1998
2052
|
/* @__PURE__ */ e("br", {}),
|
|
1999
|
-
/* @__PURE__ */ e(
|
|
2053
|
+
/* @__PURE__ */ e(X, { component: "span", sx: Te, children: I })
|
|
2000
2054
|
] })
|
|
2001
2055
|
] })
|
|
2002
2056
|
}
|
|
2003
2057
|
),
|
|
2004
|
-
/* @__PURE__ */ e(
|
|
2058
|
+
/* @__PURE__ */ e(T, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ e(T, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ e(ke, { ...m, onButtonClick: m.onButtonClick, variant: "large" }) }) })
|
|
2005
2059
|
]
|
|
2006
2060
|
}
|
|
2007
|
-
) : /* @__PURE__ */
|
|
2008
|
-
(
|
|
2009
|
-
|
|
2010
|
-
|
|
2061
|
+
) : /* @__PURE__ */ h(T, { sx: { textAlign: "center" }, children: [
|
|
2062
|
+
(k || I) && /* @__PURE__ */ h(T, { sx: $e, children: [
|
|
2063
|
+
k && /* @__PURE__ */ e(X, { component: "span", sx: Ne, children: k }),
|
|
2064
|
+
I && /* @__PURE__ */ h(oe, { children: [
|
|
2011
2065
|
/* @__PURE__ */ e("br", {}),
|
|
2012
|
-
/* @__PURE__ */ e(
|
|
2066
|
+
/* @__PURE__ */ e(X, { component: "span", sx: Te, children: I })
|
|
2013
2067
|
] })
|
|
2014
2068
|
] }),
|
|
2015
|
-
/* @__PURE__ */ e(
|
|
2069
|
+
/* @__PURE__ */ e(T, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(ke, { ...m, onButtonClick: m.onButtonClick, variant: "small" }) })
|
|
2016
2070
|
] });
|
|
2017
2071
|
};
|
|
2018
|
-
return /* @__PURE__ */
|
|
2019
|
-
/* @__PURE__ */ e("div", { ref:
|
|
2072
|
+
return /* @__PURE__ */ h(T, { component: "section", sx: M, children: [
|
|
2073
|
+
/* @__PURE__ */ e("div", { ref: l, style: { width: "100%" }, children: /* @__PURE__ */ e(
|
|
2020
2074
|
te,
|
|
2021
2075
|
{
|
|
2022
2076
|
ref: s,
|
|
@@ -2033,25 +2087,25 @@ const dn = (t, n) => {
|
|
|
2033
2087
|
// arrows: false,
|
|
2034
2088
|
// drag: true,
|
|
2035
2089
|
},
|
|
2036
|
-
renderItem: (
|
|
2037
|
-
onMove: ({ index:
|
|
2038
|
-
|
|
2090
|
+
renderItem: (m) => /* @__PURE__ */ e(T, { sx: { width: "100%" }, children: S(m, !i) }),
|
|
2091
|
+
onMove: ({ index: m, isStart: E, isEnd: k }) => {
|
|
2092
|
+
f(m), typeof E == "boolean" && typeof k == "boolean" && v({ isStart: E, isEnd: k });
|
|
2039
2093
|
}
|
|
2040
2094
|
}
|
|
2041
2095
|
) }),
|
|
2042
|
-
r && /* @__PURE__ */ e(
|
|
2043
|
-
|
|
2096
|
+
r && /* @__PURE__ */ e(T, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
|
|
2097
|
+
Ae,
|
|
2044
2098
|
{
|
|
2045
2099
|
total: o.length,
|
|
2046
2100
|
active: c,
|
|
2047
|
-
onSelect: (
|
|
2048
|
-
var
|
|
2049
|
-
|
|
2101
|
+
onSelect: (m) => {
|
|
2102
|
+
var E;
|
|
2103
|
+
f(m), (E = s.current) == null || E.go(m);
|
|
2050
2104
|
}
|
|
2051
2105
|
}
|
|
2052
2106
|
) })
|
|
2053
2107
|
] });
|
|
2054
|
-
},
|
|
2108
|
+
}, yn = ({
|
|
2055
2109
|
className: t = "",
|
|
2056
2110
|
fullBleed: n = !0,
|
|
2057
2111
|
items: o,
|
|
@@ -2060,20 +2114,20 @@ const dn = (t, n) => {
|
|
|
2060
2114
|
}) => {
|
|
2061
2115
|
const r = H(null), s = H(null);
|
|
2062
2116
|
if (!o) return null;
|
|
2063
|
-
const
|
|
2117
|
+
const l = () => {
|
|
2064
2118
|
window.location.href = "https://www.olimpo.bet/conoce-club-olimpo";
|
|
2065
2119
|
}, c = Array.isArray(o) ? o[a] : o;
|
|
2066
|
-
|
|
2120
|
+
et(() => {
|
|
2067
2121
|
if (!r.current || !s.current || typeof ResizeObserver == "undefined") return;
|
|
2068
|
-
const
|
|
2069
|
-
|
|
2122
|
+
const x = r.current, v = s.current, d = () => {
|
|
2123
|
+
x.style.setProperty(
|
|
2070
2124
|
"--orc-co-bottomH",
|
|
2071
|
-
`${
|
|
2125
|
+
`${v.offsetHeight + 16}px`
|
|
2072
2126
|
);
|
|
2073
|
-
},
|
|
2074
|
-
return
|
|
2127
|
+
}, C = new ResizeObserver(d);
|
|
2128
|
+
return C.observe(v), d(), () => C.disconnect();
|
|
2075
2129
|
}, []);
|
|
2076
|
-
const
|
|
2130
|
+
const f = [
|
|
2077
2131
|
"orc-co-wrap",
|
|
2078
2132
|
n ? "orc-co-fullBleed" : "",
|
|
2079
2133
|
t
|
|
@@ -2082,13 +2136,13 @@ const dn = (t, n) => {
|
|
|
2082
2136
|
"section",
|
|
2083
2137
|
{
|
|
2084
2138
|
ref: r,
|
|
2085
|
-
className:
|
|
2139
|
+
className: f,
|
|
2086
2140
|
"aria-label": i || c.imgAlt || "Club Olimpo",
|
|
2087
2141
|
children: /* @__PURE__ */ e("div", { ref: s, children: /* @__PURE__ */ e(
|
|
2088
|
-
|
|
2142
|
+
Pt,
|
|
2089
2143
|
{
|
|
2090
2144
|
text: c.text,
|
|
2091
|
-
onClick:
|
|
2145
|
+
onClick: l,
|
|
2092
2146
|
imgAlt: c.imgAlt,
|
|
2093
2147
|
imgSrcMobile: c.imgMobile,
|
|
2094
2148
|
imgSrcDesktopBg: c.imgDesktopBg,
|
|
@@ -2097,156 +2151,156 @@ const dn = (t, n) => {
|
|
|
2097
2151
|
) })
|
|
2098
2152
|
}
|
|
2099
2153
|
);
|
|
2100
|
-
},
|
|
2101
|
-
controls:
|
|
2154
|
+
}, Sn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", En = {
|
|
2155
|
+
controls: Sn
|
|
2102
2156
|
};
|
|
2103
|
-
function
|
|
2157
|
+
function Cn({
|
|
2104
2158
|
items: t,
|
|
2105
2159
|
title: n = "Combinadas del Olimpo",
|
|
2106
2160
|
iconUrl: o = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
|
|
2107
2161
|
onViewMore: a,
|
|
2108
2162
|
className: i = ""
|
|
2109
2163
|
}) {
|
|
2110
|
-
const r = H(null), [s,
|
|
2111
|
-
var
|
|
2112
|
-
(
|
|
2113
|
-
},
|
|
2114
|
-
var
|
|
2115
|
-
(
|
|
2116
|
-
},
|
|
2117
|
-
|
|
2164
|
+
const r = H(null), [s, l] = D({ isStart: !0, isEnd: !1 }), [c, f] = D([]), x = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", v = () => {
|
|
2165
|
+
var S;
|
|
2166
|
+
(S = r.current) == null || S.prev();
|
|
2167
|
+
}, d = () => {
|
|
2168
|
+
var S;
|
|
2169
|
+
(S = r.current) == null || S.next();
|
|
2170
|
+
}, C = () => {
|
|
2171
|
+
Jt();
|
|
2118
2172
|
};
|
|
2119
2173
|
async function y() {
|
|
2120
|
-
var
|
|
2174
|
+
var S, m, E;
|
|
2121
2175
|
try {
|
|
2122
|
-
const
|
|
2176
|
+
const I = await (await fetch(x)).json(), N = (E = (m = (S = I == null ? void 0 : I.group) == null ? void 0 : S.groups) == null ? void 0 : m[0]) == null ? void 0 : E.id;
|
|
2123
2177
|
if (!N) {
|
|
2124
2178
|
console.error("Could not extract group ID");
|
|
2125
2179
|
return;
|
|
2126
2180
|
}
|
|
2127
|
-
const
|
|
2128
|
-
|
|
2129
|
-
|
|
2181
|
+
const F = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${N}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, L = await (await fetch(F)).json();
|
|
2182
|
+
f(
|
|
2183
|
+
O(L.events, L.betOffers, L.prePackCoupons)
|
|
2130
2184
|
);
|
|
2131
|
-
} catch (
|
|
2132
|
-
console.error("loadDataEventSpecial error:",
|
|
2185
|
+
} catch (k) {
|
|
2186
|
+
console.error("loadDataEventSpecial error:", k);
|
|
2133
2187
|
}
|
|
2134
2188
|
}
|
|
2135
|
-
function
|
|
2136
|
-
const
|
|
2137
|
-
for (const
|
|
2138
|
-
const N =
|
|
2139
|
-
var _,
|
|
2140
|
-
|
|
2141
|
-
const
|
|
2142
|
-
(
|
|
2189
|
+
function O(S, m, E) {
|
|
2190
|
+
const k = [];
|
|
2191
|
+
for (const I of E) {
|
|
2192
|
+
const N = M([I]), F = w(I), P = m.reduce((L, p) => {
|
|
2193
|
+
var _, g;
|
|
2194
|
+
L[p.eventId] || (L[p.eventId] = []);
|
|
2195
|
+
const u = p.outcomes.filter(
|
|
2196
|
+
(b) => N.has(b.id)
|
|
2143
2197
|
);
|
|
2144
|
-
if (
|
|
2145
|
-
const
|
|
2146
|
-
(
|
|
2147
|
-
),
|
|
2148
|
-
...
|
|
2149
|
-
position:
|
|
2198
|
+
if (u.length > 0) {
|
|
2199
|
+
const b = Array.from(
|
|
2200
|
+
(g = (_ = F == null ? void 0 : F[0]) == null ? void 0 : _.requiredOutcomeIds) != null ? g : []
|
|
2201
|
+
), $ = u.map((R) => ({
|
|
2202
|
+
...R,
|
|
2203
|
+
position: b.indexOf(R.id)
|
|
2150
2204
|
}));
|
|
2151
|
-
|
|
2152
|
-
...
|
|
2153
|
-
outcomes:
|
|
2205
|
+
L[p.eventId].push({
|
|
2206
|
+
...p,
|
|
2207
|
+
outcomes: $
|
|
2154
2208
|
});
|
|
2155
2209
|
}
|
|
2156
|
-
return
|
|
2210
|
+
return L;
|
|
2157
2211
|
}, {});
|
|
2158
|
-
|
|
2159
|
-
if (
|
|
2160
|
-
const
|
|
2161
|
-
let
|
|
2162
|
-
for (const _ of
|
|
2163
|
-
if ([..._.requiredOutcomeIds].every((
|
|
2164
|
-
|
|
2212
|
+
S.forEach((L) => {
|
|
2213
|
+
if (L.id !== I.prePackCouponRows[0].eventId) return;
|
|
2214
|
+
const p = N;
|
|
2215
|
+
let u = null;
|
|
2216
|
+
for (const _ of F)
|
|
2217
|
+
if ([..._.requiredOutcomeIds].every((b) => p.has(b))) {
|
|
2218
|
+
u = _.decimal;
|
|
2165
2219
|
break;
|
|
2166
2220
|
}
|
|
2167
|
-
|
|
2168
|
-
...
|
|
2169
|
-
combinadoTotal:
|
|
2170
|
-
betoffers:
|
|
2171
|
-
couponId:
|
|
2221
|
+
k.push({
|
|
2222
|
+
...L,
|
|
2223
|
+
combinadoTotal: u,
|
|
2224
|
+
betoffers: P[L.id] || [],
|
|
2225
|
+
couponId: I.id
|
|
2172
2226
|
// optional for tracking
|
|
2173
2227
|
});
|
|
2174
2228
|
});
|
|
2175
2229
|
}
|
|
2176
|
-
return
|
|
2230
|
+
return k;
|
|
2177
2231
|
}
|
|
2178
|
-
function
|
|
2179
|
-
var
|
|
2180
|
-
const
|
|
2181
|
-
for (const
|
|
2182
|
-
if (
|
|
2183
|
-
const
|
|
2184
|
-
|
|
2185
|
-
var
|
|
2186
|
-
(
|
|
2187
|
-
}),
|
|
2188
|
-
requiredOutcomeIds:
|
|
2189
|
-
decimal:
|
|
2232
|
+
function w(S) {
|
|
2233
|
+
var E;
|
|
2234
|
+
const m = [];
|
|
2235
|
+
for (const k of S.prePackCouponRows)
|
|
2236
|
+
if (k.type === "BET_BUILDER" && ((E = k.group) != null && E.groups)) {
|
|
2237
|
+
const I = /* @__PURE__ */ new Set();
|
|
2238
|
+
k.group.groups.forEach((N) => {
|
|
2239
|
+
var F;
|
|
2240
|
+
(F = N.outcomes) == null || F.forEach((P) => I.add(P.id));
|
|
2241
|
+
}), m.push({
|
|
2242
|
+
requiredOutcomeIds: I,
|
|
2243
|
+
decimal: k.odds.decimal
|
|
2190
2244
|
});
|
|
2191
2245
|
}
|
|
2192
|
-
return
|
|
2246
|
+
return m;
|
|
2193
2247
|
}
|
|
2194
|
-
function
|
|
2195
|
-
var
|
|
2196
|
-
const
|
|
2197
|
-
for (const
|
|
2198
|
-
for (const
|
|
2199
|
-
|
|
2200
|
-
var
|
|
2201
|
-
(
|
|
2202
|
-
}),
|
|
2203
|
-
return
|
|
2248
|
+
function M(S) {
|
|
2249
|
+
var E;
|
|
2250
|
+
const m = /* @__PURE__ */ new Set();
|
|
2251
|
+
for (const k of S)
|
|
2252
|
+
for (const I of k.prePackCouponRows)
|
|
2253
|
+
I.type === "BET_BUILDER" && ((E = I.group) != null && E.groups) && I.group.groups.forEach((N) => {
|
|
2254
|
+
var F;
|
|
2255
|
+
(F = N.outcomes) == null || F.forEach((P) => m.add(P.id));
|
|
2256
|
+
}), I.type === "SIMPLE" && I.outcome && m.add(I.outcome.id);
|
|
2257
|
+
return m;
|
|
2204
2258
|
}
|
|
2205
|
-
|
|
2259
|
+
q(() => {
|
|
2206
2260
|
y();
|
|
2207
2261
|
}, []);
|
|
2208
|
-
const
|
|
2209
|
-
return !c || c.length === 0 ? null : /* @__PURE__ */ e("section", { className:
|
|
2262
|
+
const B = i || void 0;
|
|
2263
|
+
return !c || c.length === 0 ? null : /* @__PURE__ */ e("section", { className: B, style: {
|
|
2210
2264
|
// paddingLeft: 16,
|
|
2211
2265
|
// paddingRight: 16,
|
|
2212
2266
|
width: "100%",
|
|
2213
2267
|
boxSizing: "border-box"
|
|
2214
|
-
}, children: /* @__PURE__ */
|
|
2215
|
-
/* @__PURE__ */
|
|
2268
|
+
}, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2269
|
+
/* @__PURE__ */ h(Y, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
2216
2270
|
/* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
|
|
2217
|
-
/* @__PURE__ */
|
|
2218
|
-
/* @__PURE__ */
|
|
2271
|
+
/* @__PURE__ */ h("div", { className: En.controls, children: [
|
|
2272
|
+
/* @__PURE__ */ h(Y, { spacing: 1, columns: "auto auto", children: [
|
|
2219
2273
|
/* @__PURE__ */ e(
|
|
2220
|
-
|
|
2274
|
+
G,
|
|
2221
2275
|
{
|
|
2222
2276
|
ariaLabel: "Anterior",
|
|
2223
2277
|
variant: "secondary",
|
|
2224
2278
|
iconOnly: !0,
|
|
2225
|
-
leftIcon: /* @__PURE__ */ e(
|
|
2226
|
-
onClick:
|
|
2279
|
+
leftIcon: /* @__PURE__ */ e(ye, {}),
|
|
2280
|
+
onClick: v,
|
|
2227
2281
|
disabled: s.isStart
|
|
2228
2282
|
}
|
|
2229
2283
|
),
|
|
2230
2284
|
/* @__PURE__ */ e(
|
|
2231
|
-
|
|
2285
|
+
G,
|
|
2232
2286
|
{
|
|
2233
2287
|
ariaLabel: "Siguiente",
|
|
2234
2288
|
variant: "secondary",
|
|
2235
2289
|
iconOnly: !0,
|
|
2236
|
-
rightIcon: /* @__PURE__ */ e(
|
|
2237
|
-
onClick:
|
|
2290
|
+
rightIcon: /* @__PURE__ */ e(Se, {}),
|
|
2291
|
+
onClick: d,
|
|
2238
2292
|
disabled: s.isEnd
|
|
2239
2293
|
}
|
|
2240
2294
|
)
|
|
2241
2295
|
] }),
|
|
2242
|
-
/* @__PURE__ */ e(
|
|
2296
|
+
/* @__PURE__ */ e(G, { variant: "secondary", onClick: C, children: "Ver más" })
|
|
2243
2297
|
] })
|
|
2244
2298
|
] }),
|
|
2245
2299
|
/* @__PURE__ */ e(
|
|
2246
2300
|
te,
|
|
2247
2301
|
{
|
|
2248
2302
|
ref: r,
|
|
2249
|
-
items: c.filter((
|
|
2303
|
+
items: c.filter((S) => S.combinadoTotal !== null),
|
|
2250
2304
|
perPage: void 0,
|
|
2251
2305
|
gap: "16px",
|
|
2252
2306
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
@@ -2255,38 +2309,38 @@ function yn({
|
|
|
2255
2309
|
breakpoints: {
|
|
2256
2310
|
768: { perPage: 1.2, gap: "12px", padding: { left: "0px", right: "0px" } }
|
|
2257
2311
|
},
|
|
2258
|
-
renderItem: (
|
|
2259
|
-
onMove: ({ isStart:
|
|
2312
|
+
renderItem: (S) => /* @__PURE__ */ e(Xt, { event: S }),
|
|
2313
|
+
onMove: ({ isStart: S, isEnd: m }) => l({ isStart: S, isEnd: m })
|
|
2260
2314
|
}
|
|
2261
2315
|
)
|
|
2262
2316
|
] }) });
|
|
2263
2317
|
}
|
|
2264
|
-
function
|
|
2318
|
+
function kn({}) {
|
|
2265
2319
|
return /* @__PURE__ */ e(
|
|
2266
2320
|
"div",
|
|
2267
2321
|
{
|
|
2268
|
-
className:
|
|
2269
|
-
children: /* @__PURE__ */
|
|
2270
|
-
/* @__PURE__ */
|
|
2322
|
+
className: Ve.cardWrapper,
|
|
2323
|
+
children: /* @__PURE__ */ h(z, { direction: "column", spacing: 1, children: [
|
|
2324
|
+
/* @__PURE__ */ h(z, { spacing: 1, direction: "row", children: [
|
|
2271
2325
|
/* @__PURE__ */ e(A, { variant: "text", width: "60%", height: 24 }),
|
|
2272
2326
|
/* @__PURE__ */ e(A, { variant: "text", width: "39%", height: 24 })
|
|
2273
2327
|
] }),
|
|
2274
|
-
/* @__PURE__ */
|
|
2328
|
+
/* @__PURE__ */ h(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2275
2329
|
/* @__PURE__ */ e(A, { variant: "circular", width: 32, height: 40 }),
|
|
2276
2330
|
/* @__PURE__ */ e(A, { variant: "text", width: 40, height: 40 }),
|
|
2277
2331
|
/* @__PURE__ */ e(A, { variant: "circular", width: 32, height: 40 })
|
|
2278
2332
|
] }),
|
|
2279
|
-
/* @__PURE__ */
|
|
2333
|
+
/* @__PURE__ */ h(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2280
2334
|
/* @__PURE__ */ e(A, { variant: "text", width: 32, height: 16 }),
|
|
2281
2335
|
/* @__PURE__ */ e(A, { variant: "text", width: 40, height: 16 }),
|
|
2282
2336
|
/* @__PURE__ */ e(A, { variant: "text", width: 32, height: 16 })
|
|
2283
2337
|
] }),
|
|
2284
|
-
/* @__PURE__ */
|
|
2338
|
+
/* @__PURE__ */ h(z, { spacing: 2, direction: "row", children: [
|
|
2285
2339
|
/* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 16 }),
|
|
2286
2340
|
/* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 16 }),
|
|
2287
2341
|
/* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 16 })
|
|
2288
2342
|
] }),
|
|
2289
|
-
/* @__PURE__ */
|
|
2343
|
+
/* @__PURE__ */ h(z, { spacing: 2, direction: "row", children: [
|
|
2290
2344
|
/* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 32 }),
|
|
2291
2345
|
/* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 32 }),
|
|
2292
2346
|
/* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 32 })
|
|
@@ -2295,127 +2349,125 @@ function Sn({}) {
|
|
|
2295
2349
|
}
|
|
2296
2350
|
);
|
|
2297
2351
|
}
|
|
2298
|
-
const
|
|
2299
|
-
fadeWrapper:
|
|
2352
|
+
const On = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", In = {
|
|
2353
|
+
fadeWrapper: On
|
|
2300
2354
|
};
|
|
2301
|
-
function
|
|
2302
|
-
return /* @__PURE__ */ e("div", { className:
|
|
2355
|
+
function ge({ children: t }) {
|
|
2356
|
+
return /* @__PURE__ */ e("div", { className: In.fadeWrapper, children: t });
|
|
2303
2357
|
}
|
|
2304
|
-
function
|
|
2358
|
+
function $n({
|
|
2305
2359
|
items: t,
|
|
2306
2360
|
title: n = "En vivo",
|
|
2307
2361
|
iconUrl: o = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
|
|
2308
2362
|
onViewMore: a,
|
|
2309
2363
|
className: i = ""
|
|
2310
2364
|
}) {
|
|
2311
|
-
const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = H(null), [
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
(
|
|
2319
|
-
},
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
}), L = ve(async () => {
|
|
2327
|
-
var u;
|
|
2365
|
+
const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = H(null), [l, c] = D({ isStart: !0, isEnd: !1 }), [f, x] = D(null), [v, d] = D({}), [C, y] = D({ start: null, end: null }), O = H(!1), [w, M] = D(null), B = H(!1), S = He(C, 300), m = () => {
|
|
2366
|
+
var p;
|
|
2367
|
+
(p = s.current) == null || p.prev();
|
|
2368
|
+
}, E = () => {
|
|
2369
|
+
var p;
|
|
2370
|
+
(p = s.current) == null || p.next();
|
|
2371
|
+
}, k = () => {
|
|
2372
|
+
qt();
|
|
2373
|
+
}, I = ["esports", "cyber"], N = (p) => p.filter((u) => {
|
|
2374
|
+
var g;
|
|
2375
|
+
if (u.event.sport !== "FOOTBALL") return !1;
|
|
2376
|
+
const _ = ((g = u.event.group) == null ? void 0 : g.toLowerCase()) || "";
|
|
2377
|
+
return !I.some((b) => _.includes(b));
|
|
2378
|
+
}), F = ue(async () => {
|
|
2379
|
+
var p;
|
|
2328
2380
|
try {
|
|
2329
|
-
let
|
|
2330
|
-
if (!
|
|
2331
|
-
|
|
2381
|
+
let u = w;
|
|
2382
|
+
if (!B.current && w === null) {
|
|
2383
|
+
B.current = !0;
|
|
2332
2384
|
try {
|
|
2333
|
-
const
|
|
2385
|
+
const j = await fetch(
|
|
2334
2386
|
"https://api.mktolimpo.com/api/kambi/eventos/orden"
|
|
2335
|
-
),
|
|
2336
|
-
|
|
2387
|
+
), U = j.ok ? await j.json() : null;
|
|
2388
|
+
u = ((p = U == null ? void 0 : U.data) == null ? void 0 : p.event_ids) || [];
|
|
2337
2389
|
} catch {
|
|
2338
|
-
|
|
2390
|
+
u = [];
|
|
2339
2391
|
}
|
|
2340
|
-
|
|
2392
|
+
M(u);
|
|
2341
2393
|
}
|
|
2342
|
-
const
|
|
2343
|
-
if (!
|
|
2344
|
-
b
|
|
2394
|
+
const g = await (await fetch(r)).json(), b = N(g.events);
|
|
2395
|
+
if (!u || u.length === 0) {
|
|
2396
|
+
x(b);
|
|
2345
2397
|
return;
|
|
2346
2398
|
}
|
|
2347
|
-
const
|
|
2348
|
-
|
|
2349
|
-
),
|
|
2350
|
-
const W =
|
|
2351
|
-
return W !== void 0 &&
|
|
2399
|
+
const $ = new Map(
|
|
2400
|
+
u.map((j, U) => [String(j), U])
|
|
2401
|
+
), R = [...b].sort((j, U) => {
|
|
2402
|
+
const W = $.get(String(j.event.id)), K = $.get(String(U.event.id));
|
|
2403
|
+
return W !== void 0 && K !== void 0 ? W - K : W !== void 0 ? -1 : K !== void 0 ? 1 : 0;
|
|
2352
2404
|
});
|
|
2353
|
-
|
|
2354
|
-
} catch (
|
|
2355
|
-
console.error(
|
|
2405
|
+
x(R);
|
|
2406
|
+
} catch (u) {
|
|
2407
|
+
console.error(u);
|
|
2356
2408
|
}
|
|
2357
|
-
}, [
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
const
|
|
2361
|
-
return () => clearInterval(
|
|
2362
|
-
}, [
|
|
2363
|
-
if (
|
|
2409
|
+
}, [w]);
|
|
2410
|
+
q(() => {
|
|
2411
|
+
F();
|
|
2412
|
+
const p = setInterval(F, 2e4);
|
|
2413
|
+
return () => clearInterval(p);
|
|
2414
|
+
}, [F]), q(() => {
|
|
2415
|
+
if (S.start === null || S.end === null || !(f != null && f.length) || O.current)
|
|
2364
2416
|
return;
|
|
2365
|
-
const
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
...
|
|
2417
|
+
const p = 3, u = Math.max(0, S.start - p), _ = Math.min(f.length - 1, S.end + p), g = f.slice(u, _ + 1).map((b) => b == null ? void 0 : b.event.id).filter(Boolean).filter((b) => v[b] === void 0);
|
|
2418
|
+
g.length && (O.current = !0, Ge(g).then((b) => {
|
|
2419
|
+
d(($) => ({
|
|
2420
|
+
...$,
|
|
2421
|
+
...b.events
|
|
2370
2422
|
}));
|
|
2371
|
-
}).catch((
|
|
2372
|
-
console.error("Jersey fetch error",
|
|
2423
|
+
}).catch((b) => {
|
|
2424
|
+
console.error("Jersey fetch error", b);
|
|
2373
2425
|
}).finally(() => {
|
|
2374
|
-
|
|
2426
|
+
O.current = !1;
|
|
2375
2427
|
}));
|
|
2376
|
-
}, [
|
|
2377
|
-
const
|
|
2378
|
-
return /* @__PURE__ */ e("section", { className:
|
|
2428
|
+
}, [S, f, v]);
|
|
2429
|
+
const P = i || void 0, L = f === null;
|
|
2430
|
+
return !L && f.length === 0 ? null : /* @__PURE__ */ e("section", { className: P, style: {
|
|
2379
2431
|
// paddingLeft: 16,
|
|
2380
2432
|
// paddingRight: 16,
|
|
2381
2433
|
width: "100%",
|
|
2382
2434
|
boxSizing: "border-box"
|
|
2383
|
-
}, children: /* @__PURE__ */
|
|
2384
|
-
/* @__PURE__ */
|
|
2435
|
+
}, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2436
|
+
/* @__PURE__ */ h(Y, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
2385
2437
|
/* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
|
|
2386
|
-
/* @__PURE__ */
|
|
2387
|
-
/* @__PURE__ */
|
|
2438
|
+
/* @__PURE__ */ h("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
2439
|
+
/* @__PURE__ */ h(Y, { spacing: 1, columns: "auto auto", children: [
|
|
2388
2440
|
/* @__PURE__ */ e(
|
|
2389
|
-
|
|
2441
|
+
G,
|
|
2390
2442
|
{
|
|
2391
2443
|
ariaLabel: "Anterior",
|
|
2392
2444
|
variant: "secondary",
|
|
2393
2445
|
iconOnly: !0,
|
|
2394
|
-
leftIcon: /* @__PURE__ */ e(
|
|
2395
|
-
onClick:
|
|
2396
|
-
disabled:
|
|
2446
|
+
leftIcon: /* @__PURE__ */ e(ye, {}),
|
|
2447
|
+
onClick: m,
|
|
2448
|
+
disabled: l.isStart
|
|
2397
2449
|
}
|
|
2398
2450
|
),
|
|
2399
2451
|
/* @__PURE__ */ e(
|
|
2400
|
-
|
|
2452
|
+
G,
|
|
2401
2453
|
{
|
|
2402
2454
|
ariaLabel: "Siguiente",
|
|
2403
2455
|
variant: "secondary",
|
|
2404
2456
|
iconOnly: !0,
|
|
2405
|
-
rightIcon: /* @__PURE__ */ e(
|
|
2406
|
-
onClick:
|
|
2407
|
-
disabled:
|
|
2457
|
+
rightIcon: /* @__PURE__ */ e(Se, {}),
|
|
2458
|
+
onClick: E,
|
|
2459
|
+
disabled: l.isEnd
|
|
2408
2460
|
}
|
|
2409
2461
|
)
|
|
2410
2462
|
] }),
|
|
2411
|
-
/* @__PURE__ */ e(
|
|
2463
|
+
/* @__PURE__ */ e(G, { variant: "secondary", onClick: k, children: "Ver más" })
|
|
2412
2464
|
] })
|
|
2413
2465
|
] }),
|
|
2414
2466
|
/* @__PURE__ */ e(
|
|
2415
2467
|
te,
|
|
2416
2468
|
{
|
|
2417
2469
|
ref: s,
|
|
2418
|
-
items:
|
|
2470
|
+
items: L ? Array(4).fill({}) : f.slice(0, 20),
|
|
2419
2471
|
perPage: void 0,
|
|
2420
2472
|
enableHorizontalWheel: !0,
|
|
2421
2473
|
gap: "16px",
|
|
@@ -2425,47 +2477,47 @@ function kn({
|
|
|
2425
2477
|
768: { gap: "8px", focus: "center" },
|
|
2426
2478
|
1024: { gap: "10px", focus: "center" }
|
|
2427
2479
|
},
|
|
2428
|
-
renderItem: (
|
|
2429
|
-
var
|
|
2430
|
-
const
|
|
2431
|
-
return
|
|
2432
|
-
|
|
2480
|
+
renderItem: (p) => {
|
|
2481
|
+
var g;
|
|
2482
|
+
const u = ((g = p.event) == null ? void 0 : g.id) || p.eventId, _ = u in v ? v[u] : void 0;
|
|
2483
|
+
return L ? /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(kn, {}) }) : /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
|
|
2484
|
+
Qt,
|
|
2433
2485
|
{
|
|
2434
|
-
...
|
|
2435
|
-
jersey: _
|
|
2486
|
+
...p,
|
|
2487
|
+
jersey: _
|
|
2436
2488
|
}
|
|
2437
2489
|
) });
|
|
2438
2490
|
},
|
|
2439
|
-
onMove: ({ isStart:
|
|
2440
|
-
c({ isStart:
|
|
2491
|
+
onMove: ({ isStart: p, isEnd: u, visibleStart: _, visibleEnd: g }) => {
|
|
2492
|
+
c({ isStart: p, isEnd: u }), y({
|
|
2441
2493
|
start: _,
|
|
2442
|
-
end:
|
|
2494
|
+
end: g
|
|
2443
2495
|
});
|
|
2444
2496
|
}
|
|
2445
2497
|
}
|
|
2446
2498
|
)
|
|
2447
2499
|
] }) });
|
|
2448
2500
|
}
|
|
2449
|
-
function
|
|
2450
|
-
return /* @__PURE__ */
|
|
2451
|
-
/* @__PURE__ */ e(
|
|
2452
|
-
/* @__PURE__ */ e("div", { className: ne.cardBackground, children: /* @__PURE__ */
|
|
2453
|
-
/* @__PURE__ */
|
|
2501
|
+
function Nn() {
|
|
2502
|
+
return /* @__PURE__ */ h("div", { className: ne.cardContainer, children: [
|
|
2503
|
+
/* @__PURE__ */ e(je, { title: "" }),
|
|
2504
|
+
/* @__PURE__ */ e("div", { className: ne.cardBackground, children: /* @__PURE__ */ h(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
2505
|
+
/* @__PURE__ */ h(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2454
2506
|
/* @__PURE__ */ e(A, { variant: "circular", width: 48, height: 48 }),
|
|
2455
2507
|
/* @__PURE__ */ e(A, { variant: "circular", width: 48, height: 48 })
|
|
2456
2508
|
] }),
|
|
2457
|
-
/* @__PURE__ */
|
|
2458
|
-
/* @__PURE__ */
|
|
2509
|
+
/* @__PURE__ */ h(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
2510
|
+
/* @__PURE__ */ h(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2459
2511
|
/* @__PURE__ */ e(A, { variant: "text", width: 80, height: 12 }),
|
|
2460
2512
|
/* @__PURE__ */ e(A, { variant: "text", width: 80, height: 12 })
|
|
2461
2513
|
] }),
|
|
2462
2514
|
/* @__PURE__ */ e(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(A, { variant: "text", width: 160, height: 12 }) }),
|
|
2463
|
-
/* @__PURE__ */
|
|
2515
|
+
/* @__PURE__ */ h(z, { direction: "row", spacing: 1, children: [
|
|
2464
2516
|
/* @__PURE__ */ e(A, { variant: "text", width: 80, height: 16 }),
|
|
2465
2517
|
/* @__PURE__ */ e(A, { variant: "text", width: 80, height: 16 }),
|
|
2466
2518
|
/* @__PURE__ */ e(A, { variant: "text", width: 80, height: 16 })
|
|
2467
2519
|
] }),
|
|
2468
|
-
/* @__PURE__ */ e("div", { className: ne.jugadas, children: /* @__PURE__ */
|
|
2520
|
+
/* @__PURE__ */ e("div", { className: ne.jugadas, children: /* @__PURE__ */ h(z, { direction: "row", spacing: 1, children: [
|
|
2469
2521
|
/* @__PURE__ */ e(A, { variant: "rounded", width: 80, height: 32 }),
|
|
2470
2522
|
/* @__PURE__ */ e(A, { variant: "rounded", width: 80, height: 32 }),
|
|
2471
2523
|
/* @__PURE__ */ e(A, { variant: "rounded", width: 80, height: 32 })
|
|
@@ -2474,29 +2526,29 @@ function On() {
|
|
|
2474
2526
|
] }) })
|
|
2475
2527
|
] });
|
|
2476
2528
|
}
|
|
2477
|
-
const
|
|
2478
|
-
wrapper:
|
|
2479
|
-
container:
|
|
2480
|
-
buttonWrapper:
|
|
2529
|
+
const Tn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Rn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", we = {
|
|
2530
|
+
wrapper: Tn,
|
|
2531
|
+
container: Fn,
|
|
2532
|
+
buttonWrapper: Rn
|
|
2481
2533
|
};
|
|
2482
|
-
async function
|
|
2534
|
+
async function Mn(t, n = 2, o) {
|
|
2483
2535
|
const a = [];
|
|
2484
2536
|
for (let i = 0; i < t.length; i += n) {
|
|
2485
2537
|
if (o.aborted)
|
|
2486
2538
|
throw new DOMException("Aborted", "AbortError");
|
|
2487
2539
|
const r = t.slice(i, i + n), s = await Promise.all(
|
|
2488
|
-
r.map((
|
|
2540
|
+
r.map((l) => fetch(l, { signal: o }).then((c) => c.json()))
|
|
2489
2541
|
);
|
|
2490
2542
|
a.push(...s);
|
|
2491
2543
|
}
|
|
2492
2544
|
return a;
|
|
2493
2545
|
}
|
|
2494
|
-
function
|
|
2546
|
+
function Ln(t) {
|
|
2495
2547
|
return [...t].sort(
|
|
2496
2548
|
(n, o) => new Date(n.start).getTime() - new Date(o.start).getTime()
|
|
2497
2549
|
);
|
|
2498
2550
|
}
|
|
2499
|
-
function
|
|
2551
|
+
function Wn(t) {
|
|
2500
2552
|
const n = /* @__PURE__ */ new Date(), o = new Date(n.getTime() + 480 * 60 * 60 * 1e3);
|
|
2501
2553
|
return t.filter((a) => {
|
|
2502
2554
|
if (!a.start) return !1;
|
|
@@ -2504,7 +2556,7 @@ function Rn(t) {
|
|
|
2504
2556
|
return i >= n && i <= o;
|
|
2505
2557
|
});
|
|
2506
2558
|
}
|
|
2507
|
-
function
|
|
2559
|
+
function Bn(t, n) {
|
|
2508
2560
|
const a = n.filter((i) => {
|
|
2509
2561
|
var r;
|
|
2510
2562
|
return ((r = i.betOfferType) == null ? void 0 : r.id) === 2;
|
|
@@ -2514,141 +2566,141 @@ function Ln(t, n) {
|
|
|
2514
2566
|
outcome: a[i.id]
|
|
2515
2567
|
}));
|
|
2516
2568
|
}
|
|
2517
|
-
function
|
|
2569
|
+
function Pn({
|
|
2518
2570
|
items: t,
|
|
2519
2571
|
title: n = "En vivo",
|
|
2520
2572
|
iconUrl: o,
|
|
2521
2573
|
onViewMore: a,
|
|
2522
2574
|
className: i = ""
|
|
2523
2575
|
}) {
|
|
2524
|
-
const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", s = H(null), [
|
|
2576
|
+
const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", s = H(null), [l, c] = D({ isStart: !0, isEnd: !1 }), [f, x] = D(null);
|
|
2525
2577
|
H(/* @__PURE__ */ new Set());
|
|
2526
|
-
const [
|
|
2527
|
-
|
|
2578
|
+
const [v, d] = D({}), [C, y] = D({ start: null, end: null }), O = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", w = He(C, 250), M = H(!1), B = () => {
|
|
2579
|
+
Kt();
|
|
2528
2580
|
};
|
|
2529
|
-
async function
|
|
2530
|
-
var
|
|
2531
|
-
let
|
|
2581
|
+
async function S(N) {
|
|
2582
|
+
var L, p;
|
|
2583
|
+
let F = [], P = [];
|
|
2532
2584
|
try {
|
|
2533
|
-
const
|
|
2585
|
+
const u = await fetch(
|
|
2534
2586
|
"https://api.mktolimpo.com/api/kambi/eventos/orden",
|
|
2535
2587
|
{ signal: N }
|
|
2536
2588
|
);
|
|
2537
|
-
if (
|
|
2538
|
-
const _ = await
|
|
2539
|
-
|
|
2589
|
+
if (u.ok) {
|
|
2590
|
+
const _ = await u.json();
|
|
2591
|
+
F = ((L = _ == null ? void 0 : _.data) == null ? void 0 : L.group_ids) || [], P = ((p = _ == null ? void 0 : _.data) == null ? void 0 : p.event_ids) || [];
|
|
2540
2592
|
}
|
|
2541
|
-
} catch (
|
|
2542
|
-
|
|
2593
|
+
} catch (u) {
|
|
2594
|
+
u.name !== "AbortError" && console.warn("Order API not available, using default group order");
|
|
2543
2595
|
return;
|
|
2544
2596
|
}
|
|
2545
2597
|
try {
|
|
2546
|
-
const
|
|
2598
|
+
const g = (await (await fetch(r, { signal: N })).json()).group.groups.find(
|
|
2547
2599
|
(W) => W.englishName === "Football"
|
|
2548
2600
|
);
|
|
2549
|
-
if (!
|
|
2601
|
+
if (!g || !Array.isArray(g.groups)) {
|
|
2550
2602
|
console.error("Football groups not found");
|
|
2551
2603
|
return;
|
|
2552
2604
|
}
|
|
2553
|
-
let
|
|
2554
|
-
if (
|
|
2605
|
+
let b = [...g.groups];
|
|
2606
|
+
if (F.length > 0) {
|
|
2555
2607
|
const W = new Map(
|
|
2556
|
-
|
|
2608
|
+
F.map((K, re) => [K, re])
|
|
2557
2609
|
);
|
|
2558
|
-
|
|
2559
|
-
const ae = W.get(String(
|
|
2560
|
-
return ae !== void 0 &&
|
|
2610
|
+
b.sort((K, re) => {
|
|
2611
|
+
const ae = W.get(String(K.id)), xe = W.get(String(re.id));
|
|
2612
|
+
return ae !== void 0 && xe !== void 0 ? ae - xe : ae !== void 0 ? -1 : xe !== void 0 ? 1 : 0;
|
|
2561
2613
|
});
|
|
2562
2614
|
}
|
|
2563
|
-
const
|
|
2564
|
-
const
|
|
2615
|
+
const R = b.slice(0, 5), j = (W) => {
|
|
2616
|
+
const K = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
|
|
2565
2617
|
if (W.groups && W.groups.length > 0) {
|
|
2566
2618
|
const re = W.groups[0];
|
|
2567
2619
|
return [
|
|
2568
|
-
`${
|
|
2620
|
+
`${K}/${W.termKey}/${re.termKey}/all/matches.json?${O}`
|
|
2569
2621
|
];
|
|
2570
2622
|
}
|
|
2571
2623
|
return [
|
|
2572
|
-
`${
|
|
2624
|
+
`${K}/${W.termKey}/all/all/matches.json?${O}`
|
|
2573
2625
|
];
|
|
2574
|
-
},
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2626
|
+
}, U = R.flatMap(j);
|
|
2627
|
+
m(
|
|
2628
|
+
U,
|
|
2629
|
+
P,
|
|
2578
2630
|
N
|
|
2579
2631
|
);
|
|
2580
|
-
} catch (
|
|
2581
|
-
console.error(
|
|
2632
|
+
} catch (u) {
|
|
2633
|
+
console.error(u);
|
|
2582
2634
|
}
|
|
2583
2635
|
}
|
|
2584
|
-
async function
|
|
2636
|
+
async function m(N, F, P) {
|
|
2585
2637
|
try {
|
|
2586
|
-
const
|
|
2587
|
-
let
|
|
2588
|
-
|
|
2589
|
-
|
|
2638
|
+
const L = await Mn(N, 2, P);
|
|
2639
|
+
let p = [], u = [];
|
|
2640
|
+
L.forEach(($) => {
|
|
2641
|
+
$.events && (p.push(...$.events.map((R) => R.event)), u.push(...$.events.flatMap((R) => R.betOffers || [])));
|
|
2590
2642
|
});
|
|
2591
|
-
const _ =
|
|
2592
|
-
let
|
|
2593
|
-
if (
|
|
2594
|
-
const
|
|
2595
|
-
|
|
2596
|
-
String(
|
|
2597
|
-
|
|
2643
|
+
const _ = Bn(p, u), g = Ln(Wn(_));
|
|
2644
|
+
let b = g;
|
|
2645
|
+
if (F.length > 0) {
|
|
2646
|
+
const $ = new Map(
|
|
2647
|
+
F.map((R, j) => [
|
|
2648
|
+
String(R),
|
|
2649
|
+
j
|
|
2598
2650
|
])
|
|
2599
2651
|
);
|
|
2600
|
-
|
|
2601
|
-
const
|
|
2602
|
-
return
|
|
2652
|
+
b = [...g].sort((R, j) => {
|
|
2653
|
+
const U = $.get(String(R.id)), W = $.get(String(j.id));
|
|
2654
|
+
return U !== void 0 && W !== void 0 ? U - W : U !== void 0 ? -1 : W !== void 0 ? 1 : 0;
|
|
2603
2655
|
});
|
|
2604
2656
|
}
|
|
2605
|
-
if (
|
|
2606
|
-
b
|
|
2607
|
-
} catch (
|
|
2608
|
-
console.error("Error loading events:",
|
|
2657
|
+
if (P.aborted) return;
|
|
2658
|
+
x(b);
|
|
2659
|
+
} catch (L) {
|
|
2660
|
+
console.error("Error loading events:", L);
|
|
2609
2661
|
}
|
|
2610
2662
|
}
|
|
2611
|
-
|
|
2663
|
+
q(() => {
|
|
2612
2664
|
if (!t) return;
|
|
2613
2665
|
const N = new AbortController();
|
|
2614
|
-
return
|
|
2666
|
+
return S(N.signal), () => {
|
|
2615
2667
|
N.abort();
|
|
2616
2668
|
};
|
|
2617
|
-
}, [t]),
|
|
2618
|
-
if (
|
|
2669
|
+
}, [t]), q(() => {
|
|
2670
|
+
if (w.start === null || w.end === null || !(f != null && f.length) || M.current)
|
|
2619
2671
|
return;
|
|
2620
|
-
const N =
|
|
2621
|
-
if (!
|
|
2622
|
-
let
|
|
2623
|
-
return
|
|
2672
|
+
const N = 2, F = Math.max(0, w.start - N), P = Math.min(f.length - 1, w.end + N), L = f.slice(F, P + 1).map((u) => u == null ? void 0 : u.id).filter(Boolean).filter((u) => v[u] === void 0);
|
|
2673
|
+
if (!L.length) return;
|
|
2674
|
+
let p = !1;
|
|
2675
|
+
return M.current = !0, (async () => {
|
|
2624
2676
|
try {
|
|
2625
|
-
const
|
|
2626
|
-
|
|
2677
|
+
const u = await Ge(L);
|
|
2678
|
+
p || d((_) => ({
|
|
2627
2679
|
..._,
|
|
2628
|
-
...
|
|
2680
|
+
...u.events
|
|
2629
2681
|
}));
|
|
2630
|
-
} catch (
|
|
2631
|
-
console.error("Jersey fetch error",
|
|
2682
|
+
} catch (u) {
|
|
2683
|
+
console.error("Jersey fetch error", u);
|
|
2632
2684
|
} finally {
|
|
2633
|
-
|
|
2685
|
+
M.current = !1;
|
|
2634
2686
|
}
|
|
2635
2687
|
})(), () => {
|
|
2636
|
-
|
|
2688
|
+
p = !0;
|
|
2637
2689
|
};
|
|
2638
|
-
}, [
|
|
2639
|
-
const
|
|
2640
|
-
return /* @__PURE__ */ e("section", { className:
|
|
2641
|
-
/* @__PURE__ */ e("div", { className:
|
|
2690
|
+
}, [w, f]);
|
|
2691
|
+
const E = i || void 0, k = { paddingLeft: 0, width: "100%", boxSizing: "border-box" }, I = f === null;
|
|
2692
|
+
return !I && f.length === 0 ? null : /* @__PURE__ */ e("section", { className: E, style: k, children: /* @__PURE__ */ h("div", { className: we.wrapper, children: [
|
|
2693
|
+
/* @__PURE__ */ e("div", { className: we.container, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2642
2694
|
/* @__PURE__ */ e(ee, { title: "Eventos de la semana" }),
|
|
2643
|
-
/* @__PURE__ */ e("div", { className:
|
|
2644
|
-
|
|
2695
|
+
/* @__PURE__ */ e("div", { className: we.buttonWrapper, children: /* @__PURE__ */ e(G, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
|
|
2696
|
+
B();
|
|
2645
2697
|
}, children: "Ver más" }) })
|
|
2646
2698
|
] }) }),
|
|
2647
2699
|
/* @__PURE__ */ e("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ e(
|
|
2648
2700
|
te,
|
|
2649
2701
|
{
|
|
2650
2702
|
ref: s,
|
|
2651
|
-
items:
|
|
2703
|
+
items: I ? Array(6).fill({}) : f.slice(0, 20),
|
|
2652
2704
|
perPage: 3.5,
|
|
2653
2705
|
gap: "16px",
|
|
2654
2706
|
enableHorizontalWheel: !0,
|
|
@@ -2657,32 +2709,32 @@ function Bn({
|
|
|
2657
2709
|
1024: { perPage: 1.4, gap: "8px", focus: "center", padding: { left: "8px", right: "8px" } }
|
|
2658
2710
|
},
|
|
2659
2711
|
renderItem: (N) => {
|
|
2660
|
-
const
|
|
2661
|
-
return
|
|
2712
|
+
const F = N.id, P = F in v ? v[F] : void 0;
|
|
2713
|
+
return I ? /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(Nn, {}) }) : /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(cn, { event: N, jersey: P }) });
|
|
2662
2714
|
},
|
|
2663
|
-
onMove: ({ isStart: N, isEnd:
|
|
2664
|
-
c({ isStart: N, isEnd:
|
|
2665
|
-
start:
|
|
2666
|
-
end:
|
|
2715
|
+
onMove: ({ isStart: N, isEnd: F, visibleStart: P, visibleEnd: L }) => {
|
|
2716
|
+
c({ isStart: N, isEnd: F }), y({
|
|
2717
|
+
start: P,
|
|
2718
|
+
end: L
|
|
2667
2719
|
});
|
|
2668
2720
|
}
|
|
2669
2721
|
}
|
|
2670
2722
|
) })
|
|
2671
2723
|
] }) });
|
|
2672
2724
|
}
|
|
2673
|
-
function
|
|
2725
|
+
function An({
|
|
2674
2726
|
backgrounds: t,
|
|
2675
2727
|
items: n
|
|
2676
2728
|
}) {
|
|
2677
2729
|
const [o, a] = D(0), i = H(null), r = (t == null ? void 0 : t.length) || 1, s = !t || t.length === 0;
|
|
2678
|
-
return
|
|
2730
|
+
return q(() => {
|
|
2679
2731
|
if (s || !t || t.length <= 1) return;
|
|
2680
|
-
const
|
|
2732
|
+
const l = window.setInterval(() => {
|
|
2681
2733
|
var c;
|
|
2682
2734
|
(c = i.current) == null || c.next();
|
|
2683
|
-
},
|
|
2684
|
-
return () => window.clearInterval(
|
|
2685
|
-
}, [s, t == null ? void 0 : t.length]), /* @__PURE__ */
|
|
2735
|
+
}, 5e3);
|
|
2736
|
+
return () => window.clearInterval(l);
|
|
2737
|
+
}, [s, t == null ? void 0 : t.length]), /* @__PURE__ */ h(
|
|
2686
2738
|
V,
|
|
2687
2739
|
{
|
|
2688
2740
|
component: "section",
|
|
@@ -2691,7 +2743,7 @@ function Pn({
|
|
|
2691
2743
|
overflow: "visible"
|
|
2692
2744
|
},
|
|
2693
2745
|
children: [
|
|
2694
|
-
/* @__PURE__ */
|
|
2746
|
+
/* @__PURE__ */ h(
|
|
2695
2747
|
V,
|
|
2696
2748
|
{
|
|
2697
2749
|
sx: {
|
|
@@ -2717,19 +2769,19 @@ function Pn({
|
|
|
2717
2769
|
drag: !0,
|
|
2718
2770
|
focus: "center"
|
|
2719
2771
|
},
|
|
2720
|
-
onMove: ({ index:
|
|
2721
|
-
const c = (
|
|
2772
|
+
onMove: ({ index: l }) => {
|
|
2773
|
+
const c = (l % r + r) % r;
|
|
2722
2774
|
a(c);
|
|
2723
2775
|
},
|
|
2724
|
-
renderItem: (
|
|
2725
|
-
var c,
|
|
2726
|
-
return /* @__PURE__ */
|
|
2776
|
+
renderItem: (l) => {
|
|
2777
|
+
var c, f;
|
|
2778
|
+
return /* @__PURE__ */ h(
|
|
2727
2779
|
V,
|
|
2728
2780
|
{
|
|
2729
2781
|
component: "a",
|
|
2730
|
-
href:
|
|
2731
|
-
target: (c =
|
|
2732
|
-
rel:
|
|
2782
|
+
href: l.href,
|
|
2783
|
+
target: (c = l.target) != null ? c : "_self",
|
|
2784
|
+
rel: l.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
2733
2785
|
sx: {
|
|
2734
2786
|
position: "relative",
|
|
2735
2787
|
height: { xs: 300, sm: 360, md: 420 },
|
|
@@ -2738,19 +2790,19 @@ function Pn({
|
|
|
2738
2790
|
cursor: "pointer"
|
|
2739
2791
|
},
|
|
2740
2792
|
children: [
|
|
2741
|
-
/* @__PURE__ */
|
|
2793
|
+
/* @__PURE__ */ h(
|
|
2742
2794
|
V,
|
|
2743
2795
|
{
|
|
2744
2796
|
component: "picture",
|
|
2745
2797
|
sx: { position: "absolute", inset: 0, lineHeight: 0 },
|
|
2746
2798
|
children: [
|
|
2747
|
-
/* @__PURE__ */ e("source", { srcSet:
|
|
2748
|
-
/* @__PURE__ */ e("source", { srcSet:
|
|
2799
|
+
/* @__PURE__ */ e("source", { srcSet: l.desktopSrc, media: "(min-width:800px)" }),
|
|
2800
|
+
/* @__PURE__ */ e("source", { srcSet: l.mobileSrc, media: "(max-width:799px)" }),
|
|
2749
2801
|
/* @__PURE__ */ e(
|
|
2750
2802
|
V,
|
|
2751
2803
|
{
|
|
2752
2804
|
component: "img",
|
|
2753
|
-
src: (
|
|
2805
|
+
src: (f = l.fallbackSrc) != null ? f : l.desktopSrc,
|
|
2754
2806
|
alt: "",
|
|
2755
2807
|
"aria-hidden": !0,
|
|
2756
2808
|
loading: "lazy",
|
|
@@ -2802,7 +2854,7 @@ function Pn({
|
|
|
2802
2854
|
justifyContent: "center",
|
|
2803
2855
|
zIndex: 2
|
|
2804
2856
|
},
|
|
2805
|
-
children: /* @__PURE__ */ e(
|
|
2857
|
+
children: /* @__PURE__ */ e(Ae, { total: r, active: o })
|
|
2806
2858
|
}
|
|
2807
2859
|
)
|
|
2808
2860
|
]
|
|
@@ -2829,7 +2881,7 @@ function Pn({
|
|
|
2829
2881
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
2830
2882
|
zIndex: 3
|
|
2831
2883
|
},
|
|
2832
|
-
children: n == null ? void 0 : n.map((
|
|
2884
|
+
children: n == null ? void 0 : n.map((l) => /* @__PURE__ */ h(
|
|
2833
2885
|
V,
|
|
2834
2886
|
{
|
|
2835
2887
|
sx: {
|
|
@@ -2840,21 +2892,21 @@ function Pn({
|
|
|
2840
2892
|
gap: { xs: 0.5, md: 1 },
|
|
2841
2893
|
color: "#FFFFFF",
|
|
2842
2894
|
minWidth: 0,
|
|
2843
|
-
cursor:
|
|
2895
|
+
cursor: l.onClick || l.href ? "pointer" : "default",
|
|
2844
2896
|
whiteSpace: "nowrap"
|
|
2845
2897
|
},
|
|
2846
2898
|
onClick: () => {
|
|
2847
2899
|
var c;
|
|
2848
|
-
if (
|
|
2849
|
-
if (
|
|
2900
|
+
if (l.onClick) return l.onClick();
|
|
2901
|
+
if (l.href) return window.location.href = (c = l.href) != null ? c : "/#";
|
|
2850
2902
|
},
|
|
2851
2903
|
children: [
|
|
2852
|
-
|
|
2904
|
+
l.icon && /* @__PURE__ */ e(
|
|
2853
2905
|
V,
|
|
2854
2906
|
{
|
|
2855
2907
|
component: "img",
|
|
2856
|
-
src:
|
|
2857
|
-
alt:
|
|
2908
|
+
src: l.icon,
|
|
2909
|
+
alt: l.label || `icon-${l.id}`,
|
|
2858
2910
|
sx: {
|
|
2859
2911
|
width: { xs: 20, sm: 22, md: 24 },
|
|
2860
2912
|
height: { xs: 20, sm: 22, md: 24 },
|
|
@@ -2863,7 +2915,7 @@ function Pn({
|
|
|
2863
2915
|
}
|
|
2864
2916
|
),
|
|
2865
2917
|
/* @__PURE__ */ e(
|
|
2866
|
-
|
|
2918
|
+
Le,
|
|
2867
2919
|
{
|
|
2868
2920
|
sx: {
|
|
2869
2921
|
fontSize: { xs: 10, sm: 11, md: 12 },
|
|
@@ -2871,12 +2923,12 @@ function Pn({
|
|
|
2871
2923
|
color: "#E0E0E0",
|
|
2872
2924
|
textAlign: "center"
|
|
2873
2925
|
},
|
|
2874
|
-
children:
|
|
2926
|
+
children: l.label
|
|
2875
2927
|
}
|
|
2876
2928
|
)
|
|
2877
2929
|
]
|
|
2878
2930
|
},
|
|
2879
|
-
|
|
2931
|
+
l.id
|
|
2880
2932
|
))
|
|
2881
2933
|
}
|
|
2882
2934
|
)
|
|
@@ -2884,7 +2936,7 @@ function Pn({
|
|
|
2884
2936
|
}
|
|
2885
2937
|
);
|
|
2886
2938
|
}
|
|
2887
|
-
const
|
|
2939
|
+
const zn = [
|
|
2888
2940
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/IBK.svg", alt: "Interbank" },
|
|
2889
2941
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/Yape.svg", alt: "Yape" },
|
|
2890
2942
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/BCP.png", alt: "BCP" },
|
|
@@ -2893,14 +2945,14 @@ const Wn = [
|
|
|
2893
2945
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/monnet.svg", alt: "Monnet" },
|
|
2894
2946
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
|
|
2895
2947
|
];
|
|
2896
|
-
function
|
|
2948
|
+
function jn({
|
|
2897
2949
|
title: t = "Medios de pago",
|
|
2898
|
-
items: n =
|
|
2950
|
+
items: n = zn
|
|
2899
2951
|
}) {
|
|
2900
2952
|
const o = Math.ceil(n.length / 2), a = n.slice(0, o), i = n.slice(o);
|
|
2901
|
-
return /* @__PURE__ */
|
|
2953
|
+
return /* @__PURE__ */ h(V, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
2902
2954
|
/* @__PURE__ */ e(
|
|
2903
|
-
|
|
2955
|
+
Le,
|
|
2904
2956
|
{
|
|
2905
2957
|
id: "mp-title",
|
|
2906
2958
|
variant: "h6",
|
|
@@ -2927,7 +2979,7 @@ function Fn({
|
|
|
2927
2979
|
}
|
|
2928
2980
|
}
|
|
2929
2981
|
),
|
|
2930
|
-
/* @__PURE__ */
|
|
2982
|
+
/* @__PURE__ */ h(de, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
|
|
2931
2983
|
/* @__PURE__ */ e(
|
|
2932
2984
|
de,
|
|
2933
2985
|
{
|
|
@@ -2936,7 +2988,7 @@ function Fn({
|
|
|
2936
2988
|
alignItems: "center",
|
|
2937
2989
|
gap: { xs: 2, md: 3 },
|
|
2938
2990
|
flexWrap: "wrap",
|
|
2939
|
-
children: a.map((r, s) => /* @__PURE__ */ e(
|
|
2991
|
+
children: a.map((r, s) => /* @__PURE__ */ e(Ce, { ...r }, `${r.alt}-${r.src}-${s}`))
|
|
2940
2992
|
}
|
|
2941
2993
|
),
|
|
2942
2994
|
/* @__PURE__ */ e(
|
|
@@ -2947,264 +2999,264 @@ function Fn({
|
|
|
2947
2999
|
alignItems: "center",
|
|
2948
3000
|
gap: { xs: 2, md: 3 },
|
|
2949
3001
|
flexWrap: "wrap",
|
|
2950
|
-
children: i.map((r, s) => /* @__PURE__ */ e(
|
|
3002
|
+
children: i.map((r, s) => /* @__PURE__ */ e(Ce, { ...r }, `${r.alt}-${r.src}-${s}`))
|
|
2951
3003
|
}
|
|
2952
3004
|
)
|
|
2953
3005
|
] })
|
|
2954
3006
|
] });
|
|
2955
3007
|
}
|
|
2956
|
-
const
|
|
2957
|
-
OraculoSeccionDestacados:
|
|
2958
|
-
OraculoSeccionTopJuegos:
|
|
2959
|
-
OraculoSeccionCasinoEnVivo:
|
|
2960
|
-
OraculoSeccionCasino:
|
|
2961
|
-
OraculoSeccionVirtuales:
|
|
2962
|
-
OraculoSeccionClubOlimpo:
|
|
2963
|
-
OraculoSeccionBonoBienvenida:
|
|
2964
|
-
OraculoSeccionBanners:
|
|
2965
|
-
OraculoSeccionMediosPago:
|
|
2966
|
-
OraculoSeccionEventoEnVivo:
|
|
2967
|
-
OraculoSeccionEventoSemana:
|
|
2968
|
-
OraculoSeccionEventoCombinadas:
|
|
2969
|
-
},
|
|
2970
|
-
Object.entries(
|
|
2971
|
-
([t, n]) =>
|
|
3008
|
+
const Un = {
|
|
3009
|
+
OraculoSeccionDestacados: ln,
|
|
3010
|
+
OraculoSeccionTopJuegos: pn,
|
|
3011
|
+
OraculoSeccionCasinoEnVivo: hn,
|
|
3012
|
+
OraculoSeccionCasino: gn,
|
|
3013
|
+
OraculoSeccionVirtuales: _n,
|
|
3014
|
+
OraculoSeccionClubOlimpo: yn,
|
|
3015
|
+
OraculoSeccionBonoBienvenida: wn,
|
|
3016
|
+
OraculoSeccionBanners: An,
|
|
3017
|
+
OraculoSeccionMediosPago: jn,
|
|
3018
|
+
OraculoSeccionEventoEnVivo: $n,
|
|
3019
|
+
OraculoSeccionEventoSemana: Pn,
|
|
3020
|
+
OraculoSeccionEventoCombinadas: Cn
|
|
3021
|
+
}, Dn = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, Gn = (t) => /^OraculoSeccion[A-Z]/.test(t), Hn = Object.fromEntries(
|
|
3022
|
+
Object.entries(Un).filter(
|
|
3023
|
+
([t, n]) => Gn(t) && Dn(n)
|
|
2972
3024
|
)
|
|
2973
|
-
),
|
|
3025
|
+
), Vn = (t) => {
|
|
2974
3026
|
try {
|
|
2975
3027
|
return Object.fromEntries(t != null ? t : []);
|
|
2976
3028
|
} catch {
|
|
2977
3029
|
return console.warn("[oraculo] extras inválidos. Debe ser Array<[string, unknown]>", t), {};
|
|
2978
3030
|
}
|
|
2979
3031
|
};
|
|
2980
|
-
class
|
|
3032
|
+
class Fe extends Error {
|
|
2981
3033
|
constructor(n, o, a) {
|
|
2982
3034
|
super(`HTTP ${n} ${a}`), this.status = n, this.url = o, this.statusText = a, this.name = "HttpError";
|
|
2983
3035
|
}
|
|
2984
3036
|
}
|
|
2985
|
-
const
|
|
3037
|
+
const Re = [
|
|
2986
3038
|
"OraculoSeccionEventoEnVivo",
|
|
2987
3039
|
"OraculoSeccionEventoSemana",
|
|
2988
3040
|
"OraculoSeccionEventoCombinadas"
|
|
2989
|
-
],
|
|
3041
|
+
], io = ({
|
|
2990
3042
|
sectionsOverride: t,
|
|
2991
3043
|
docId: n = "home",
|
|
2992
3044
|
db: o,
|
|
2993
3045
|
extras: a,
|
|
2994
3046
|
loader: i
|
|
2995
3047
|
}) => {
|
|
2996
|
-
const r = ce(() =>
|
|
2997
|
-
|
|
3048
|
+
const r = ce(() => Vn(a), [a]), s = i || r.loader, [l, c] = D([]), [f, x] = D(!1), [v, d] = D({}), [C, y] = D({}), [O, w] = D({}), M = Xe("(min-width:1024px)");
|
|
3049
|
+
q(() => {
|
|
2998
3050
|
if (t || !o) return;
|
|
2999
|
-
|
|
3000
|
-
const
|
|
3001
|
-
|
|
3002
|
-
(
|
|
3051
|
+
x(!0);
|
|
3052
|
+
const p = rt(
|
|
3053
|
+
at(o, "landings", n),
|
|
3054
|
+
(u) => {
|
|
3003
3055
|
var _;
|
|
3004
3056
|
try {
|
|
3005
|
-
let
|
|
3006
|
-
|
|
3007
|
-
var
|
|
3008
|
-
return ((
|
|
3009
|
-
}).map((
|
|
3010
|
-
} catch (
|
|
3011
|
-
console.error("Error procesando landings/" + n,
|
|
3057
|
+
let g = u.exists() ? ((_ = u.data()) == null ? void 0 : _.sections) || [] : [];
|
|
3058
|
+
g = g.slice().sort((b, $) => {
|
|
3059
|
+
var R, j;
|
|
3060
|
+
return ((R = b.order) != null ? R : 0) - ((j = $.order) != null ? j : 0);
|
|
3061
|
+
}).map((b, $) => ({ ...b, order: $ + 1 })), c(g), console.log("fetched: ", g);
|
|
3062
|
+
} catch (g) {
|
|
3063
|
+
console.error("Error procesando landings/" + n, g);
|
|
3012
3064
|
} finally {
|
|
3013
|
-
|
|
3065
|
+
x(!1);
|
|
3014
3066
|
}
|
|
3015
3067
|
},
|
|
3016
|
-
(
|
|
3017
|
-
console.error("Error escuchando landings/" + n,
|
|
3068
|
+
(u) => {
|
|
3069
|
+
console.error("Error escuchando landings/" + n, u), x(!1);
|
|
3018
3070
|
}
|
|
3019
3071
|
);
|
|
3020
|
-
return () =>
|
|
3021
|
-
}, [t, n, o]),
|
|
3022
|
-
(t ? t.slice() :
|
|
3023
|
-
}, [t,
|
|
3024
|
-
const
|
|
3025
|
-
if (
|
|
3072
|
+
return () => p();
|
|
3073
|
+
}, [t, n, o]), q(() => (dn(r), () => un()), [r]), q(() => {
|
|
3074
|
+
(t ? t.slice() : l.slice()).map((_) => _.componentKey).filter((_) => !!_).length;
|
|
3075
|
+
}, [t, l]);
|
|
3076
|
+
const B = async (p) => {
|
|
3077
|
+
if (Re.includes(p.componentKey))
|
|
3026
3078
|
return {
|
|
3027
3079
|
// whatever empty structure your UI expects
|
|
3028
3080
|
items: [],
|
|
3029
3081
|
events: [],
|
|
3030
3082
|
data: {}
|
|
3031
3083
|
};
|
|
3032
|
-
const
|
|
3033
|
-
if (!
|
|
3034
|
-
const _ =
|
|
3035
|
-
let
|
|
3084
|
+
const u = (p.apiUrl || "").trim();
|
|
3085
|
+
if (!u) return;
|
|
3086
|
+
const _ = p.apiMethod || "GET", g = p.apiParams || [];
|
|
3087
|
+
let b = u, $, R;
|
|
3036
3088
|
if (_ === "GET") {
|
|
3037
|
-
const
|
|
3038
|
-
|
|
3089
|
+
const U = new URL(
|
|
3090
|
+
u,
|
|
3039
3091
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
3040
3092
|
);
|
|
3041
|
-
for (const W of
|
|
3042
|
-
W.key &&
|
|
3043
|
-
|
|
3093
|
+
for (const W of g)
|
|
3094
|
+
W.key && U.searchParams.append(W.key, W.value);
|
|
3095
|
+
b = U.toString();
|
|
3044
3096
|
} else {
|
|
3045
|
-
const
|
|
3046
|
-
for (const W of
|
|
3047
|
-
W.key &&
|
|
3048
|
-
|
|
3097
|
+
const U = new URLSearchParams();
|
|
3098
|
+
for (const W of g)
|
|
3099
|
+
W.key && U.append(W.key, W.value);
|
|
3100
|
+
$ = U.toString(), R = {
|
|
3049
3101
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
3050
3102
|
};
|
|
3051
3103
|
}
|
|
3052
|
-
const
|
|
3104
|
+
const j = await fetch(b, {
|
|
3053
3105
|
method: _,
|
|
3054
|
-
headers:
|
|
3055
|
-
body:
|
|
3106
|
+
headers: R,
|
|
3107
|
+
body: $
|
|
3056
3108
|
});
|
|
3057
|
-
if (!
|
|
3058
|
-
return
|
|
3059
|
-
},
|
|
3060
|
-
() => t ? t.slice() :
|
|
3061
|
-
[t,
|
|
3062
|
-
),
|
|
3063
|
-
|
|
3064
|
-
const
|
|
3065
|
-
if (
|
|
3066
|
-
for (const { s:
|
|
3067
|
-
const
|
|
3068
|
-
|
|
3109
|
+
if (!j.ok) throw new Fe(j.status, b, j.statusText);
|
|
3110
|
+
return j.json();
|
|
3111
|
+
}, S = ce(
|
|
3112
|
+
() => t ? t.slice() : l.slice(),
|
|
3113
|
+
[t, l]
|
|
3114
|
+
), m = We.useRef(/* @__PURE__ */ new Set());
|
|
3115
|
+
q(() => {
|
|
3116
|
+
const p = S.map((u) => ({ s: u, url: (u.apiUrl || "").trim() })).filter(({ url: u }) => !!u);
|
|
3117
|
+
if (p.length)
|
|
3118
|
+
for (const { s: u, url: _ } of p) {
|
|
3119
|
+
const g = `${u.id}|${_}`;
|
|
3120
|
+
m.current.has(g) || (m.current.add(g), y((b) => ({ ...b, [u.id]: !0 })), w((b) => ({ ...b, [u.id]: "" })), (async () => {
|
|
3069
3121
|
try {
|
|
3070
|
-
const
|
|
3071
|
-
|
|
3072
|
-
} catch (
|
|
3073
|
-
let
|
|
3074
|
-
|
|
3122
|
+
const b = await B(u);
|
|
3123
|
+
d(($) => ({ ...$, [u.id]: b }));
|
|
3124
|
+
} catch (b) {
|
|
3125
|
+
let $ = "Error desconocido";
|
|
3126
|
+
b instanceof Fe ? $ = `Error HTTP ${b.status} (${b.statusText}) en ${b.url}` : b instanceof SyntaxError ? $ = "Respuesta no es JSON válido" : b instanceof TypeError ? $ = "Fallo de red / CORS / conexión" : typeof b == "string" && ($ = b.toString()), w((R) => ({ ...R, [u.id]: $ }));
|
|
3075
3127
|
} finally {
|
|
3076
|
-
y((
|
|
3128
|
+
y((b) => ({ ...b, [u.id]: !1 }));
|
|
3077
3129
|
}
|
|
3078
3130
|
})());
|
|
3079
3131
|
}
|
|
3080
|
-
}, [
|
|
3081
|
-
const
|
|
3082
|
-
() =>
|
|
3083
|
-
[
|
|
3084
|
-
),
|
|
3132
|
+
}, [S]);
|
|
3133
|
+
const E = ce(
|
|
3134
|
+
() => S.filter((p) => p.visible).sort((p, u) => p.order - u.order),
|
|
3135
|
+
[S]
|
|
3136
|
+
), k = (p) => Array.isArray(p) ? p.map((u) => {
|
|
3085
3137
|
const _ = {};
|
|
3086
|
-
for (const
|
|
3087
|
-
const
|
|
3088
|
-
if (
|
|
3089
|
-
const
|
|
3090
|
-
if (
|
|
3091
|
-
const
|
|
3092
|
-
Number.isNaN(
|
|
3138
|
+
for (const g of u.fields || []) {
|
|
3139
|
+
const b = (g.type || "string").toLowerCase();
|
|
3140
|
+
if (b === "number") {
|
|
3141
|
+
const $ = String(g.value || "").trim();
|
|
3142
|
+
if ($ !== "") {
|
|
3143
|
+
const R = Number($);
|
|
3144
|
+
Number.isNaN(R) || (_[g.name] = R);
|
|
3093
3145
|
}
|
|
3094
|
-
} else if (
|
|
3095
|
-
_[
|
|
3096
|
-
else if (
|
|
3097
|
-
const
|
|
3098
|
-
if (
|
|
3146
|
+
} else if (b === "boolean")
|
|
3147
|
+
_[g.name] = String(g.value).toLowerCase() === "true";
|
|
3148
|
+
else if (b === "function") {
|
|
3149
|
+
const $ = String(g.value || "").trim();
|
|
3150
|
+
if ($)
|
|
3099
3151
|
try {
|
|
3100
|
-
const
|
|
3101
|
-
_[
|
|
3102
|
-
} catch (
|
|
3103
|
-
console.error(`❌ Error creando función en item '${
|
|
3152
|
+
const R = new Function($);
|
|
3153
|
+
_[g.name] = R;
|
|
3154
|
+
} catch (R) {
|
|
3155
|
+
console.error(`❌ Error creando función en item '${g.name}':`, R);
|
|
3104
3156
|
}
|
|
3105
|
-
} else _[
|
|
3157
|
+
} else _[g.name] = g.value;
|
|
3106
3158
|
}
|
|
3107
3159
|
return _;
|
|
3108
|
-
}) : [],
|
|
3109
|
-
const
|
|
3110
|
-
if (!Array.isArray(
|
|
3111
|
-
for (const _ of
|
|
3160
|
+
}) : [], I = (p) => {
|
|
3161
|
+
const u = {};
|
|
3162
|
+
if (!Array.isArray(p)) return u;
|
|
3163
|
+
for (const _ of p) {
|
|
3112
3164
|
if (!_.name) continue;
|
|
3113
|
-
const
|
|
3114
|
-
if (
|
|
3115
|
-
const
|
|
3116
|
-
if (
|
|
3117
|
-
const
|
|
3118
|
-
Number.isNaN(
|
|
3165
|
+
const g = (_.type || "string").toLowerCase();
|
|
3166
|
+
if (g === "number") {
|
|
3167
|
+
const b = String(_.value || "").trim();
|
|
3168
|
+
if (b !== "") {
|
|
3169
|
+
const $ = Number(b);
|
|
3170
|
+
Number.isNaN($) || (u[_.name] = $);
|
|
3119
3171
|
}
|
|
3120
|
-
} else if (
|
|
3121
|
-
|
|
3122
|
-
else if (
|
|
3123
|
-
const
|
|
3124
|
-
if (
|
|
3172
|
+
} else if (g === "boolean")
|
|
3173
|
+
u[_.name] = String(_.value).toLowerCase() === "true";
|
|
3174
|
+
else if (g === "function") {
|
|
3175
|
+
const b = String(_.value || "").trim();
|
|
3176
|
+
if (b)
|
|
3125
3177
|
try {
|
|
3126
|
-
const
|
|
3127
|
-
|
|
3128
|
-
} catch (
|
|
3129
|
-
console.error(`❌ Error creando función en item '${_.name}':`,
|
|
3178
|
+
const $ = new Function(b);
|
|
3179
|
+
u[_.name] = $;
|
|
3180
|
+
} catch ($) {
|
|
3181
|
+
console.error(`❌ Error creando función en item '${_.name}':`, $);
|
|
3130
3182
|
}
|
|
3131
|
-
} else
|
|
3183
|
+
} else u[_.name] = _.value;
|
|
3132
3184
|
}
|
|
3133
|
-
return
|
|
3134
|
-
}, N = (
|
|
3135
|
-
const
|
|
3136
|
-
if (
|
|
3137
|
-
const W = (
|
|
3138
|
-
return
|
|
3185
|
+
return u;
|
|
3186
|
+
}, N = (p, u, _) => {
|
|
3187
|
+
const g = _ ? { ..._ } : {};
|
|
3188
|
+
if (u) {
|
|
3189
|
+
const W = (u.variableName || "items").trim() || "items";
|
|
3190
|
+
return g[W] = u.arr || [], g;
|
|
3139
3191
|
}
|
|
3140
|
-
const
|
|
3141
|
-
return
|
|
3142
|
-
},
|
|
3143
|
-
var
|
|
3144
|
-
const
|
|
3145
|
-
let
|
|
3146
|
-
const
|
|
3147
|
-
if (
|
|
3148
|
-
return { items: _, ...
|
|
3149
|
-
if (
|
|
3150
|
-
else if (
|
|
3151
|
-
const
|
|
3152
|
-
if (
|
|
3192
|
+
const b = p, $ = Array.isArray(b), R = !$ && typeof b == "object" && b !== null ? b : void 0, j = R && Array.isArray(R.lobby || R.items) ? R.lobby || R.items : void 0, U = (W) => $ ? b : j || W;
|
|
3193
|
+
return g.items = U(j || []), g;
|
|
3194
|
+
}, F = (p) => {
|
|
3195
|
+
var $;
|
|
3196
|
+
const u = !!(($ = p.apiUrl) != null && $.trim()), _ = u ? v[p.id] : void 0;
|
|
3197
|
+
let g = p.props ? { ...p.props } : {};
|
|
3198
|
+
const b = I(p.manualScalarFields);
|
|
3199
|
+
if (Re.includes(p.componentKey))
|
|
3200
|
+
return { items: _, ...g, ...b };
|
|
3201
|
+
if (g = { ...g, ...b }, u) g = N(_, null, g);
|
|
3202
|
+
else if (p.dataMode === "manual") {
|
|
3203
|
+
const R = k(p.manualItems);
|
|
3204
|
+
if (g = N(
|
|
3153
3205
|
null,
|
|
3154
|
-
{ arr:
|
|
3155
|
-
|
|
3156
|
-
),
|
|
3157
|
-
const
|
|
3158
|
-
|
|
3206
|
+
{ arr: R, variableName: p.variableName },
|
|
3207
|
+
g
|
|
3208
|
+
), p.variableName2 && p.manualItems2) {
|
|
3209
|
+
const j = k(p.manualItems2), U = (p.variableName2 || "items2").trim() || "items2";
|
|
3210
|
+
g[U] = j;
|
|
3159
3211
|
}
|
|
3160
3212
|
}
|
|
3161
|
-
return
|
|
3162
|
-
},
|
|
3213
|
+
return g;
|
|
3214
|
+
}, P = (p, u, _) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
|
|
3163
3215
|
loading: "bg-blue-100 text-blue-800",
|
|
3164
3216
|
error: "bg-red-100 text-red-800",
|
|
3165
3217
|
component: "bg-yellow-100 text-yellow-800"
|
|
3166
|
-
}[
|
|
3218
|
+
}[u]}`, children: _ }, p), L = (p) => {
|
|
3167
3219
|
var ae;
|
|
3168
|
-
const
|
|
3220
|
+
const u = p.componentKey, _ = Hn[u];
|
|
3169
3221
|
if (!_)
|
|
3170
|
-
return console.warn(`No hay componente registrado para "${
|
|
3171
|
-
|
|
3222
|
+
return console.warn(`No hay componente registrado para "${u}"`), P(
|
|
3223
|
+
p.id,
|
|
3172
3224
|
"component",
|
|
3173
|
-
`Componente "${
|
|
3225
|
+
`Componente "${u}" no encontrado`
|
|
3174
3226
|
);
|
|
3175
|
-
const
|
|
3176
|
-
if (
|
|
3177
|
-
if (
|
|
3178
|
-
return
|
|
3179
|
-
|
|
3227
|
+
const g = !!((ae = p.apiUrl) != null && ae.trim()), b = g ? v[p.id] : void 0, $ = g ? !!C[p.id] : !1, R = g ? O[p.id] : "";
|
|
3228
|
+
if (g) {
|
|
3229
|
+
if ($ && !b)
|
|
3230
|
+
return P(
|
|
3231
|
+
p.id,
|
|
3180
3232
|
"loading",
|
|
3181
|
-
`Cargando datos desde ${
|
|
3233
|
+
`Cargando datos desde ${p.apiUrl}...`
|
|
3182
3234
|
);
|
|
3183
|
-
if (
|
|
3184
|
-
return
|
|
3185
|
-
|
|
3235
|
+
if (R && !b)
|
|
3236
|
+
return P(
|
|
3237
|
+
p.id,
|
|
3186
3238
|
"error",
|
|
3187
|
-
`Error cargando ${
|
|
3239
|
+
`Error cargando ${p.apiUrl}: ${R}`
|
|
3188
3240
|
);
|
|
3189
3241
|
}
|
|
3190
|
-
const
|
|
3242
|
+
const j = F(p), W = (/* @__PURE__ */ new Set([
|
|
3191
3243
|
"OraculoSeccionBanners",
|
|
3192
3244
|
"OraculoSeccionBonoBienvenida",
|
|
3193
3245
|
"OraculoSeccionCasinoEnVivo",
|
|
3194
|
-
|
|
3195
|
-
])).has(
|
|
3246
|
+
M ? "" : "OraculoSeccionClubOlimpo"
|
|
3247
|
+
])).has(p.componentKey), K = M ? 120 : 24;
|
|
3196
3248
|
return /* @__PURE__ */ e("div", { style: W ? {
|
|
3197
3249
|
width: "100%",
|
|
3198
3250
|
boxSizing: "border-box"
|
|
3199
3251
|
} : {
|
|
3200
|
-
paddingLeft:
|
|
3201
|
-
paddingRight:
|
|
3252
|
+
paddingLeft: K,
|
|
3253
|
+
paddingRight: K,
|
|
3202
3254
|
width: "100%",
|
|
3203
3255
|
boxSizing: "border-box"
|
|
3204
|
-
}, className: "oraculo-section-wrapper", children: /* @__PURE__ */ e(_, { ...
|
|
3256
|
+
}, className: "oraculo-section-wrapper", children: /* @__PURE__ */ e(_, { ...j }) }, p.id);
|
|
3205
3257
|
};
|
|
3206
|
-
return
|
|
3207
|
-
|
|
3258
|
+
return f && !t ? s ? /* @__PURE__ */ e(s, {}) : /* @__PURE__ */ e("div", { children: "Cargando..." }) : !f && !t && l.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
|
|
3259
|
+
Ye,
|
|
3208
3260
|
{
|
|
3209
3261
|
className: "oli-font",
|
|
3210
3262
|
maxWidth: !1,
|
|
@@ -3222,51 +3274,51 @@ const Ne = [
|
|
|
3222
3274
|
de,
|
|
3223
3275
|
{
|
|
3224
3276
|
direction: "column",
|
|
3225
|
-
spacing:
|
|
3277
|
+
spacing: M ? 8 : 5,
|
|
3226
3278
|
useFlexGap: !0,
|
|
3227
|
-
children:
|
|
3279
|
+
children: E.map(L)
|
|
3228
3280
|
}
|
|
3229
3281
|
)
|
|
3230
3282
|
}
|
|
3231
3283
|
);
|
|
3232
3284
|
};
|
|
3233
3285
|
export {
|
|
3234
|
-
|
|
3286
|
+
G as OraculoButton,
|
|
3235
3287
|
te as OraculoCarousel,
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3288
|
+
Ae as OraculoCarouselDots,
|
|
3289
|
+
Pt as OraculoClubOlimpoVisual,
|
|
3290
|
+
Xt as OraculoEventCombinadasCard,
|
|
3291
|
+
Qt as OraculoEventEnVivoCard,
|
|
3292
|
+
pt as OraculoEventHeader,
|
|
3293
|
+
ze as OraculoEventLabel,
|
|
3294
|
+
je as OraculoEventLeague,
|
|
3295
|
+
Ue as OraculoEventScore,
|
|
3296
|
+
cn as OraculoEventSemanaCard,
|
|
3297
|
+
ut as OraculoEventStatus,
|
|
3298
|
+
dt as OraculoEventStatusBadge,
|
|
3299
|
+
he as OraculoEventTeamInfo,
|
|
3300
|
+
pe as OraculoGameCard,
|
|
3301
|
+
Wt as OraculoGameRankCard,
|
|
3302
|
+
De as OraculoGameSlide,
|
|
3303
|
+
Y as OraculoGridGroup,
|
|
3304
|
+
Bt as OraculoLiveCasinoCard,
|
|
3305
|
+
Ce as OraculoLogoMediosPago,
|
|
3306
|
+
io as OraculoPageLandingPreview,
|
|
3307
|
+
An as OraculoSeccionBanners,
|
|
3308
|
+
wn as OraculoSeccionBonoBienvenida,
|
|
3309
|
+
gn as OraculoSeccionCasino,
|
|
3310
|
+
hn as OraculoSeccionCasinoEnVivo,
|
|
3311
|
+
yn as OraculoSeccionClubOlimpo,
|
|
3312
|
+
ln as OraculoSeccionDestacados,
|
|
3313
|
+
Cn as OraculoSeccionEventoCombinadas,
|
|
3314
|
+
$n as OraculoSeccionEventoEnVivo,
|
|
3315
|
+
Pn as OraculoSeccionEventoSemana,
|
|
3316
|
+
jn as OraculoSeccionMediosPago,
|
|
3317
|
+
pn as OraculoSeccionTopJuegos,
|
|
3318
|
+
_n as OraculoSeccionVirtuales,
|
|
3267
3319
|
ee as OraculoSectionTitle,
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3320
|
+
pn as OraculoTopJuegoItem,
|
|
3321
|
+
ke as OraculoWelcomeBanner,
|
|
3322
|
+
io as default
|
|
3271
3323
|
};
|
|
3272
3324
|
//# sourceMappingURL=index.es.js.map
|