oraculo-ui 0.1.54 → 0.1.56
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/KambiOpenBet.d.ts +3 -0
- package/dist/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1129 -1130
- package/dist/index.es.js.map +1 -1
- package/dist/utils/redirectToGame.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { Link as
|
|
3
|
-
import
|
|
4
|
-
import { Splide as
|
|
1
|
+
import { jsx as e, jsxs as c, Fragment as Z } from "react/jsx-runtime";
|
|
2
|
+
import { Link as ye, Box as j, Typography as we, Stack as Se, useMediaQuery as Be, Container as Me } from "@mui/material";
|
|
3
|
+
import Le, { forwardRef as Fe, useRef as G, useImperativeHandle as We, useCallback as he, useState as W, useMemo as le, useLayoutEffect as ze, useEffect as Q } from "react";
|
|
4
|
+
import { Splide as je, SplideSlide as Ae } from "@splidejs/react-splide";
|
|
5
5
|
import k from "@mui/material/Box";
|
|
6
|
-
import
|
|
6
|
+
import M from "@mui/material/Skeleton";
|
|
7
7
|
import D from "@mui/material/Typography";
|
|
8
8
|
import B from "@mui/material/Stack";
|
|
9
|
-
import { ChevronLeftRounded as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { onSnapshot as
|
|
9
|
+
import { ChevronLeftRounded as de, ChevronRightRounded as ue } from "@mui/icons-material";
|
|
10
|
+
import Ce from "@mui/icons-material/ChevronLeftRounded";
|
|
11
|
+
import Ee from "@mui/icons-material/ChevronRightRounded";
|
|
12
|
+
import Ge from "@mui/material/useMediaQuery";
|
|
13
|
+
import { onSnapshot as Ue, doc as De } from "firebase/firestore";
|
|
14
14
|
function L({
|
|
15
15
|
children: t,
|
|
16
|
-
onClick:
|
|
16
|
+
onClick: n,
|
|
17
17
|
href: a,
|
|
18
|
-
target:
|
|
19
|
-
rel:
|
|
20
|
-
type:
|
|
21
|
-
disabled:
|
|
18
|
+
target: i,
|
|
19
|
+
rel: l,
|
|
20
|
+
type: o = "button",
|
|
21
|
+
disabled: r = !1,
|
|
22
22
|
variant: m = "primary",
|
|
23
|
-
size:
|
|
24
|
-
fullWidth:
|
|
25
|
-
fullHeight:
|
|
26
|
-
className:
|
|
23
|
+
size: u,
|
|
24
|
+
fullWidth: x = !1,
|
|
25
|
+
fullHeight: b = !1,
|
|
26
|
+
className: O = "",
|
|
27
27
|
ariaLabel: s,
|
|
28
|
-
leftIcon:
|
|
29
|
-
rightIcon:
|
|
30
|
-
iconOnly:
|
|
28
|
+
leftIcon: p,
|
|
29
|
+
rightIcon: _,
|
|
30
|
+
iconOnly: $
|
|
31
31
|
}) {
|
|
32
|
-
const
|
|
32
|
+
const v = !!t && t !== !0, f = (!!p ? 1 : 0) + (!!_ ? 1 : 0) == 1, C = $ != null ? $ : f && !v, T = [
|
|
33
33
|
"orc-btn",
|
|
34
34
|
m === "secondary" ? "orc-btn--secondary" : m === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
].filter(Boolean).join(" "),
|
|
41
|
-
|
|
42
|
-
!
|
|
43
|
-
|
|
44
|
-
] }),
|
|
35
|
+
u ? `orc-btn--${u}` : "",
|
|
36
|
+
x ? "orc-btn--full" : "",
|
|
37
|
+
b ? "orc-btn--fullHeight" : "",
|
|
38
|
+
C ? "orc-btn--iconOnly" : "",
|
|
39
|
+
O
|
|
40
|
+
].filter(Boolean).join(" "), P = /* @__PURE__ */ c(Z, { children: [
|
|
41
|
+
p && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: p }),
|
|
42
|
+
!C && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
|
|
43
|
+
_ && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: _ })
|
|
44
|
+
] }), E = r ? !0 : void 0;
|
|
45
45
|
return a ? /* @__PURE__ */ e(
|
|
46
|
-
|
|
46
|
+
ye,
|
|
47
47
|
{
|
|
48
48
|
href: a,
|
|
49
|
-
target:
|
|
50
|
-
rel:
|
|
49
|
+
target: i,
|
|
50
|
+
rel: l,
|
|
51
51
|
"aria-label": s,
|
|
52
|
-
"aria-disabled":
|
|
53
|
-
tabIndex:
|
|
52
|
+
"aria-disabled": E,
|
|
53
|
+
tabIndex: E ? -1 : void 0,
|
|
54
54
|
className: T,
|
|
55
|
-
onClick:
|
|
56
|
-
children:
|
|
55
|
+
onClick: E ? (d) => d.preventDefault() : n,
|
|
56
|
+
children: P
|
|
57
57
|
}
|
|
58
58
|
) : /* @__PURE__ */ e(
|
|
59
59
|
"button",
|
|
60
60
|
{
|
|
61
|
-
type:
|
|
62
|
-
onClick:
|
|
63
|
-
disabled:
|
|
61
|
+
type: o,
|
|
62
|
+
onClick: n,
|
|
63
|
+
disabled: !!E,
|
|
64
64
|
"aria-label": s,
|
|
65
65
|
className: T,
|
|
66
|
-
children:
|
|
66
|
+
children: P
|
|
67
67
|
}
|
|
68
68
|
);
|
|
69
69
|
}
|
|
70
70
|
function K({
|
|
71
71
|
title: t,
|
|
72
|
-
iconUrl:
|
|
72
|
+
iconUrl: n,
|
|
73
73
|
size: a = "md",
|
|
74
|
-
className:
|
|
74
|
+
className: i = ""
|
|
75
75
|
}) {
|
|
76
|
-
const
|
|
76
|
+
const o = [
|
|
77
77
|
"orc-section-title",
|
|
78
78
|
a ? `orc-section-title--${a}` : "",
|
|
79
|
-
|
|
79
|
+
i
|
|
80
80
|
].filter(Boolean).join(" ");
|
|
81
|
-
return /* @__PURE__ */
|
|
82
|
-
|
|
81
|
+
return /* @__PURE__ */ c("div", { className: o, children: [
|
|
82
|
+
n && /* @__PURE__ */ e(
|
|
83
83
|
"img",
|
|
84
84
|
{
|
|
85
|
-
src:
|
|
85
|
+
src: n,
|
|
86
86
|
alt: "",
|
|
87
87
|
className: "orc-section-title__icon"
|
|
88
88
|
}
|
|
@@ -90,49 +90,49 @@ function K({
|
|
|
90
90
|
/* @__PURE__ */ e("h2", { className: "orc-section-title__title", children: t })
|
|
91
91
|
] });
|
|
92
92
|
}
|
|
93
|
-
const
|
|
93
|
+
const ke = ({
|
|
94
94
|
total: t,
|
|
95
|
-
active:
|
|
95
|
+
active: n,
|
|
96
96
|
onSelect: a,
|
|
97
|
-
className:
|
|
97
|
+
className: i = ""
|
|
98
98
|
}) => {
|
|
99
99
|
if (t <= 1) return null;
|
|
100
|
-
const
|
|
101
|
-
return /* @__PURE__ */ e("div", { className:
|
|
100
|
+
const l = ["orc-dots", i].filter(Boolean).join(" ");
|
|
101
|
+
return /* @__PURE__ */ e("div", { className: l, role: "tablist", children: Array.from({ length: t }).map((o, r) => /* @__PURE__ */ e("span", { className: "orc-dots__cell", children: /* @__PURE__ */ e(
|
|
102
102
|
"button",
|
|
103
103
|
{
|
|
104
104
|
type: "button",
|
|
105
105
|
role: "tab",
|
|
106
|
-
"aria-selected":
|
|
107
|
-
"aria-label": `Ir al slide ${
|
|
108
|
-
className: "orc-dots__dot" + (
|
|
109
|
-
onClick: () => a == null ? void 0 : a(
|
|
106
|
+
"aria-selected": r === n,
|
|
107
|
+
"aria-label": `Ir al slide ${r + 1}`,
|
|
108
|
+
className: "orc-dots__dot" + (r === n ? " orc-dots__dot--active" : ""),
|
|
109
|
+
onClick: () => a == null ? void 0 : a(r)
|
|
110
110
|
}
|
|
111
|
-
) },
|
|
111
|
+
) }, r)) });
|
|
112
112
|
};
|
|
113
|
-
function
|
|
113
|
+
function V({
|
|
114
114
|
children: t,
|
|
115
|
-
minWidth:
|
|
115
|
+
minWidth: n = 32,
|
|
116
116
|
spacing: a = 2,
|
|
117
|
-
justify:
|
|
118
|
-
columns:
|
|
117
|
+
justify: i = "stretch",
|
|
118
|
+
columns: l = null
|
|
119
119
|
}) {
|
|
120
|
-
const
|
|
120
|
+
const o = l || `repeat(auto-fit, minmax(${n}px, 1fr))`, r = typeof a == "number" ? `${a * 8}px` : a;
|
|
121
121
|
return /* @__PURE__ */ e(
|
|
122
122
|
"div",
|
|
123
123
|
{
|
|
124
124
|
style: {
|
|
125
125
|
display: "grid",
|
|
126
|
-
gridTemplateColumns:
|
|
127
|
-
justifyItems:
|
|
128
|
-
gap:
|
|
126
|
+
gridTemplateColumns: o,
|
|
127
|
+
justifyItems: i,
|
|
128
|
+
gap: r,
|
|
129
129
|
height: "inherit"
|
|
130
130
|
},
|
|
131
131
|
children: t
|
|
132
132
|
}
|
|
133
133
|
);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function ge({ src: t, alt: n }) {
|
|
136
136
|
return /* @__PURE__ */ e(
|
|
137
137
|
j,
|
|
138
138
|
{
|
|
@@ -149,7 +149,7 @@ function he({ src: t, alt: r }) {
|
|
|
149
149
|
{
|
|
150
150
|
component: "img",
|
|
151
151
|
src: t,
|
|
152
|
-
alt:
|
|
152
|
+
alt: n,
|
|
153
153
|
sx: {
|
|
154
154
|
position: "absolute",
|
|
155
155
|
top: 0,
|
|
@@ -163,16 +163,16 @@ function he({ src: t, alt: r }) {
|
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
165
|
}
|
|
166
|
-
const
|
|
167
|
-
contenedor:
|
|
166
|
+
const Ve = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", He = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Ke = "oraculo__OraculoEventTitle-module__subtitle___TmHna", ae = {
|
|
167
|
+
contenedor: Ve,
|
|
168
168
|
flexGroup: He,
|
|
169
|
-
subtitle:
|
|
169
|
+
subtitle: Ke
|
|
170
170
|
};
|
|
171
|
-
function
|
|
172
|
-
return /* @__PURE__ */
|
|
171
|
+
function qe({ title: t, subtitle: n }) {
|
|
172
|
+
return /* @__PURE__ */ c(
|
|
173
173
|
"div",
|
|
174
174
|
{
|
|
175
|
-
className:
|
|
175
|
+
className: ae.contenedor,
|
|
176
176
|
children: [
|
|
177
177
|
/* @__PURE__ */ e(
|
|
178
178
|
"span",
|
|
@@ -185,17 +185,17 @@ function Ke({ title: t, subtitle: r }) {
|
|
|
185
185
|
children: t
|
|
186
186
|
}
|
|
187
187
|
),
|
|
188
|
-
|
|
188
|
+
n && /* @__PURE__ */ c(
|
|
189
189
|
"div",
|
|
190
190
|
{
|
|
191
|
-
className:
|
|
191
|
+
className: ae.flexGroup,
|
|
192
192
|
children: [
|
|
193
|
-
/* @__PURE__ */
|
|
193
|
+
/* @__PURE__ */ c("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: ae.subtitle, children: n }),
|
|
199
199
|
/* @__PURE__ */ e("div", {})
|
|
200
200
|
]
|
|
201
201
|
}
|
|
@@ -204,13 +204,13 @@ function Ke({ title: t, subtitle: r }) {
|
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Je({ text: t, color: n = "#ff3b3b", textColor: a = "#fff" }) {
|
|
208
208
|
return /* @__PURE__ */ e(
|
|
209
209
|
"span",
|
|
210
210
|
{
|
|
211
211
|
className: "oli-font",
|
|
212
212
|
style: {
|
|
213
|
-
backgroundColor:
|
|
213
|
+
backgroundColor: n,
|
|
214
214
|
color: a,
|
|
215
215
|
borderRadius: "8px",
|
|
216
216
|
padding: "4px 8px",
|
|
@@ -225,14 +225,14 @@ function qe({ text: t, color: r = "#ff3b3b", textColor: a = "#fff" }) {
|
|
|
225
225
|
}
|
|
226
226
|
);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
return /* @__PURE__ */
|
|
230
|
-
t && /* @__PURE__ */ e(
|
|
231
|
-
|
|
228
|
+
function Xe({ live: t, time: n }) {
|
|
229
|
+
return /* @__PURE__ */ c("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
230
|
+
t && /* @__PURE__ */ e(Je, { text: "En vivo" }),
|
|
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 Qe({ title: t, subtitle: n, live: a = !1, time: i = "" }) {
|
|
235
|
+
return /* @__PURE__ */ c(
|
|
236
236
|
"div",
|
|
237
237
|
{
|
|
238
238
|
style: {
|
|
@@ -242,92 +242,92 @@ function Xe({ title: t, subtitle: r, live: a = !1, time: o = "" }) {
|
|
|
242
242
|
color: "#FFFFFF"
|
|
243
243
|
},
|
|
244
244
|
children: [
|
|
245
|
-
/* @__PURE__ */ e(
|
|
246
|
-
/* @__PURE__ */ e(
|
|
245
|
+
/* @__PURE__ */ e(qe, { title: t, subtitle: n }),
|
|
246
|
+
/* @__PURE__ */ e(Xe, { live: a, time: i })
|
|
247
247
|
]
|
|
248
248
|
}
|
|
249
249
|
);
|
|
250
250
|
}
|
|
251
|
-
const
|
|
252
|
-
label:
|
|
251
|
+
const Ye = "oraculo__OraculoEventLabel-module__label___c64Xw", Ze = {
|
|
252
|
+
label: Ye
|
|
253
253
|
};
|
|
254
|
-
function
|
|
255
|
-
return /* @__PURE__ */ e("span", { className:
|
|
254
|
+
function $e({ text: t }) {
|
|
255
|
+
return /* @__PURE__ */ e("span", { className: Ze.label, children: t });
|
|
256
256
|
}
|
|
257
|
-
const
|
|
258
|
-
container:
|
|
257
|
+
const et = "oraculo__OraculoEventLeague-module__container___rdk4F", tt = {
|
|
258
|
+
container: et
|
|
259
259
|
};
|
|
260
|
-
function
|
|
261
|
-
return /* @__PURE__ */ e("div", { className:
|
|
260
|
+
function Oe({ title: t }) {
|
|
261
|
+
return /* @__PURE__ */ e("div", { className: tt.container, children: t.toUpperCase() });
|
|
262
262
|
}
|
|
263
|
-
const
|
|
264
|
-
scoreWrapper:
|
|
263
|
+
const ot = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", nt = "oraculo__OraculoEventScore-module__name___r4uL6", rt = "oraculo__OraculoEventScore-module__score___Xl03M", at = "oraculo__OraculoEventScore-module__normal___cCNFz", it = "oraculo__OraculoEventScore-module__small___fVt8E", X = {
|
|
264
|
+
scoreWrapper: ot,
|
|
265
265
|
name: nt,
|
|
266
|
-
score:
|
|
267
|
-
normal:
|
|
268
|
-
small:
|
|
266
|
+
score: rt,
|
|
267
|
+
normal: at,
|
|
268
|
+
small: it
|
|
269
269
|
};
|
|
270
|
-
function
|
|
271
|
-
return /* @__PURE__ */
|
|
270
|
+
function Ne({ text: t, name: n, size: a = "normal" }) {
|
|
271
|
+
return /* @__PURE__ */ c(
|
|
272
272
|
"div",
|
|
273
273
|
{
|
|
274
274
|
className: `${X.scoreWrapper} ${X[a]}`,
|
|
275
275
|
children: [
|
|
276
276
|
/* @__PURE__ */ e("div", { className: `${X.score} ${X[a]}`, children: t }),
|
|
277
|
-
|
|
277
|
+
n && /* @__PURE__ */ e("span", { className: `${X.name} ${X[a]}`, children: n })
|
|
278
278
|
]
|
|
279
279
|
}
|
|
280
280
|
);
|
|
281
281
|
}
|
|
282
|
-
const
|
|
283
|
-
team:
|
|
284
|
-
regular:
|
|
285
|
-
compact:
|
|
286
|
-
logo:
|
|
287
|
-
name:
|
|
282
|
+
const st = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ct = "oraculo__OraculoEventTeamInfo-module__regular___ag826", lt = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", dt = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", ut = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", ee = {
|
|
283
|
+
team: st,
|
|
284
|
+
regular: ct,
|
|
285
|
+
compact: lt,
|
|
286
|
+
logo: dt,
|
|
287
|
+
name: ut
|
|
288
288
|
};
|
|
289
|
-
function
|
|
290
|
-
return /* @__PURE__ */
|
|
291
|
-
/* @__PURE__ */ e("img", { loading: "lazy", src:
|
|
289
|
+
function oe({ name: t, logo: n, size: a = "regular" }) {
|
|
290
|
+
return /* @__PURE__ */ c("div", { className: `oli-font ${ee.team} ${ee[a]}`, children: [
|
|
291
|
+
/* @__PURE__ */ e("img", { loading: "lazy", src: n, alt: t, className: ee.logo }),
|
|
292
292
|
/* @__PURE__ */ e("span", { className: ee.name, children: t })
|
|
293
293
|
] });
|
|
294
294
|
}
|
|
295
|
-
const
|
|
295
|
+
const pt = je, mt = Ae, q = Fe(
|
|
296
296
|
({
|
|
297
297
|
items: t = [],
|
|
298
|
-
renderItem:
|
|
298
|
+
renderItem: n,
|
|
299
299
|
perPage: a = 1,
|
|
300
|
-
gap:
|
|
301
|
-
breakpoints:
|
|
302
|
-
options:
|
|
303
|
-
className:
|
|
300
|
+
gap: i = "0px",
|
|
301
|
+
breakpoints: l,
|
|
302
|
+
options: o = {},
|
|
303
|
+
className: r = "",
|
|
304
304
|
onMove: m,
|
|
305
|
-
useIndexAsKey:
|
|
306
|
-
},
|
|
307
|
-
const
|
|
308
|
-
We(
|
|
305
|
+
useIndexAsKey: u = !1
|
|
306
|
+
}, x) => {
|
|
307
|
+
const b = G(null);
|
|
308
|
+
We(x, () => ({
|
|
309
309
|
next: () => {
|
|
310
|
-
var
|
|
311
|
-
return (
|
|
310
|
+
var _;
|
|
311
|
+
return (_ = b.current) == null ? void 0 : _.go(">");
|
|
312
312
|
},
|
|
313
313
|
prev: () => {
|
|
314
|
-
var
|
|
315
|
-
return (
|
|
314
|
+
var _;
|
|
315
|
+
return (_ = b.current) == null ? void 0 : _.go("<");
|
|
316
316
|
},
|
|
317
|
-
go: (
|
|
318
|
-
var
|
|
319
|
-
return (
|
|
317
|
+
go: (_) => {
|
|
318
|
+
var $;
|
|
319
|
+
return ($ = b.current) == null ? void 0 : $.go(_);
|
|
320
320
|
}
|
|
321
321
|
}));
|
|
322
|
-
const
|
|
323
|
-
const
|
|
324
|
-
m == null || m({ index:
|
|
325
|
-
}, [m]), s =
|
|
326
|
-
(
|
|
327
|
-
|
|
322
|
+
const O = he((_) => {
|
|
323
|
+
const $ = _.Components.Controller, v = $.getIndex(), S = $.getEnd(), I = v === 0, f = v >= S, C = _.Components.Slides.getLength();
|
|
324
|
+
m == null || m({ index: v, isStart: I, isEnd: f, total: C });
|
|
325
|
+
}, [m]), s = he(
|
|
326
|
+
(_) => {
|
|
327
|
+
O(_);
|
|
328
328
|
},
|
|
329
|
-
[
|
|
330
|
-
),
|
|
329
|
+
[O]
|
|
330
|
+
), p = {
|
|
331
331
|
type: "slide",
|
|
332
332
|
trimSpace: !1,
|
|
333
333
|
drag: !0,
|
|
@@ -337,37 +337,37 @@ const ut = ze, pt = je, q = Le(
|
|
|
337
337
|
focus: "start",
|
|
338
338
|
autoWidth: !1,
|
|
339
339
|
perPage: a,
|
|
340
|
-
gap:
|
|
341
|
-
breakpoints:
|
|
342
|
-
...
|
|
340
|
+
gap: i,
|
|
341
|
+
breakpoints: l,
|
|
342
|
+
...o
|
|
343
343
|
};
|
|
344
|
-
return /* @__PURE__ */ e("div", { className:
|
|
345
|
-
|
|
344
|
+
return /* @__PURE__ */ e("div", { className: r, style: { width: "100%" }, children: /* @__PURE__ */ e(
|
|
345
|
+
pt,
|
|
346
346
|
{
|
|
347
|
-
ref:
|
|
348
|
-
options:
|
|
349
|
-
onMove:
|
|
347
|
+
ref: b,
|
|
348
|
+
options: p,
|
|
349
|
+
onMove: O,
|
|
350
350
|
onMounted: s,
|
|
351
|
-
children: t.map((
|
|
352
|
-
var
|
|
353
|
-
return /* @__PURE__ */ e(
|
|
351
|
+
children: t.map((_, $) => {
|
|
352
|
+
var v;
|
|
353
|
+
return /* @__PURE__ */ e(mt, { children: n(_, $) }, u ? $ : (v = _.id) != null ? v : $);
|
|
354
354
|
})
|
|
355
355
|
}
|
|
356
356
|
) });
|
|
357
357
|
}
|
|
358
358
|
), te = ({
|
|
359
359
|
imageUrl: t,
|
|
360
|
-
onClick:
|
|
360
|
+
onClick: n,
|
|
361
361
|
size: a = "sm",
|
|
362
|
-
fillParent:
|
|
362
|
+
fillParent: i = !1
|
|
363
363
|
}) => {
|
|
364
|
-
const
|
|
365
|
-
m.stopPropagation(),
|
|
366
|
-
},
|
|
367
|
-
return /* @__PURE__ */
|
|
364
|
+
const l = a === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, o = (m) => {
|
|
365
|
+
m.stopPropagation(), n == null || n();
|
|
366
|
+
}, r = i ? { width: "100%", height: "100%" } : { width: `${l.w}px`, height: `${l.h}px` };
|
|
367
|
+
return /* @__PURE__ */ c(
|
|
368
368
|
k,
|
|
369
369
|
{
|
|
370
|
-
onClick:
|
|
370
|
+
onClick: n,
|
|
371
371
|
role: "button",
|
|
372
372
|
sx: {
|
|
373
373
|
position: "relative",
|
|
@@ -375,7 +375,7 @@ const ut = ze, pt = je, q = Le(
|
|
|
375
375
|
overflow: "hidden",
|
|
376
376
|
boxSizing: "border-box",
|
|
377
377
|
transition: "transform .15s ease, box-shadow .15s ease",
|
|
378
|
-
...
|
|
378
|
+
...r,
|
|
379
379
|
"&:hover": {
|
|
380
380
|
transform: "translateY(-2px)",
|
|
381
381
|
boxShadow: 8,
|
|
@@ -435,49 +435,49 @@ const ut = ze, pt = je, q = Le(
|
|
|
435
435
|
transition: "opacity .15s ease, transform .15s ease",
|
|
436
436
|
pointerEvents: "none"
|
|
437
437
|
},
|
|
438
|
-
children: /* @__PURE__ */ e(L, { variant: "primary", size: "md", onClick:
|
|
438
|
+
children: /* @__PURE__ */ e(L, { variant: "primary", size: "md", onClick: o, children: "JUGAR" })
|
|
439
439
|
}
|
|
440
440
|
)
|
|
441
441
|
]
|
|
442
442
|
}
|
|
443
443
|
);
|
|
444
444
|
};
|
|
445
|
-
function
|
|
445
|
+
function ht({
|
|
446
446
|
imageUrl: t,
|
|
447
|
-
orden:
|
|
447
|
+
orden: n = 1,
|
|
448
448
|
onClick: a,
|
|
449
|
-
loading:
|
|
450
|
-
sizes:
|
|
449
|
+
loading: i = !1,
|
|
450
|
+
sizes: l = {
|
|
451
451
|
xs: { w: 104, h: 112, r: 18, font: 48 },
|
|
452
452
|
md: { w: 186, h: 264, r: 22.6, font: 64 }
|
|
453
453
|
}
|
|
454
454
|
}) {
|
|
455
|
-
var
|
|
456
|
-
const
|
|
457
|
-
var
|
|
455
|
+
var O, s, p, _;
|
|
456
|
+
const o = ($, v) => {
|
|
457
|
+
var S, I, f, C;
|
|
458
458
|
return {
|
|
459
|
-
xs: (
|
|
460
|
-
md: (
|
|
459
|
+
xs: (I = (S = l.xs) == null ? void 0 : S[$]) != null ? I : v,
|
|
460
|
+
md: (C = (f = l.md) == null ? void 0 : f[$]) != null ? C : v
|
|
461
461
|
};
|
|
462
|
-
},
|
|
463
|
-
xs: Math.round(((s = (
|
|
464
|
-
md: Math.round(((
|
|
462
|
+
}, r = o("w", 186), m = o("h", 264), u = o("r", 22.6), x = o("font", 64), b = {
|
|
463
|
+
xs: Math.round(((s = (O = l.xs) == null ? void 0 : O.font) != null ? s : 64) * 0.28),
|
|
464
|
+
md: Math.round(((_ = (p = l.md) == null ? void 0 : p.font) != null ? _ : 64) * 0.28)
|
|
465
465
|
};
|
|
466
|
-
return /* @__PURE__ */
|
|
466
|
+
return /* @__PURE__ */ c(
|
|
467
467
|
k,
|
|
468
468
|
{
|
|
469
469
|
sx: {
|
|
470
470
|
position: "relative",
|
|
471
471
|
width: "100%",
|
|
472
|
-
maxWidth: { xs: `${
|
|
472
|
+
maxWidth: { xs: `${r.xs}px`, md: `${r.md}px` },
|
|
473
473
|
aspectRatio: {
|
|
474
|
-
xs: `${
|
|
475
|
-
md: `${
|
|
474
|
+
xs: `${r.xs}/${m.xs}`,
|
|
475
|
+
md: `${r.md}/${m.md}`
|
|
476
476
|
},
|
|
477
|
-
borderRadius: { xs: `${
|
|
477
|
+
borderRadius: { xs: `${u.xs}px`, md: `${u.md}px` },
|
|
478
478
|
boxSizing: "border-box",
|
|
479
479
|
overflow: "visible",
|
|
480
|
-
pb: { xs: `${
|
|
480
|
+
pb: { xs: `${b.xs}px`, md: `${b.md}px` },
|
|
481
481
|
"&::before": {
|
|
482
482
|
content: '""',
|
|
483
483
|
position: "absolute",
|
|
@@ -499,8 +499,8 @@ function mt({
|
|
|
499
499
|
borderRadius: "inherit",
|
|
500
500
|
overflow: "hidden"
|
|
501
501
|
},
|
|
502
|
-
children:
|
|
503
|
-
|
|
502
|
+
children: i ? /* @__PURE__ */ e(
|
|
503
|
+
M,
|
|
504
504
|
{
|
|
505
505
|
variant: "rectangular",
|
|
506
506
|
width: "100%",
|
|
@@ -532,13 +532,13 @@ function mt({
|
|
|
532
532
|
position: "absolute",
|
|
533
533
|
left: 8,
|
|
534
534
|
bottom: {
|
|
535
|
-
xs: `-${
|
|
536
|
-
md: `-${
|
|
535
|
+
xs: `-${b.xs}px`,
|
|
536
|
+
md: `-${b.md}px`
|
|
537
537
|
},
|
|
538
538
|
fontFamily: "secondary",
|
|
539
539
|
fontSize: {
|
|
540
|
-
xs: `${
|
|
541
|
-
md: `${
|
|
540
|
+
xs: `${x.xs}px`,
|
|
541
|
+
md: `${x.md}px`
|
|
542
542
|
},
|
|
543
543
|
lineHeight: 1,
|
|
544
544
|
color: "#3CC666",
|
|
@@ -546,25 +546,25 @@ function mt({
|
|
|
546
546
|
zIndex: 3,
|
|
547
547
|
userSelect: "none"
|
|
548
548
|
},
|
|
549
|
-
children:
|
|
549
|
+
children: n
|
|
550
550
|
}
|
|
551
551
|
)
|
|
552
552
|
]
|
|
553
553
|
}
|
|
554
554
|
);
|
|
555
555
|
}
|
|
556
|
-
const
|
|
556
|
+
const gt = ({
|
|
557
557
|
logo: t,
|
|
558
|
-
provider:
|
|
558
|
+
provider: n,
|
|
559
559
|
providerName: a,
|
|
560
|
-
machine:
|
|
561
|
-
onClick:
|
|
560
|
+
machine: i,
|
|
561
|
+
onClick: l
|
|
562
562
|
}) => {
|
|
563
|
-
var
|
|
564
|
-
return /* @__PURE__ */
|
|
563
|
+
var o;
|
|
564
|
+
return /* @__PURE__ */ c(
|
|
565
565
|
k,
|
|
566
566
|
{
|
|
567
|
-
onClick:
|
|
567
|
+
onClick: l,
|
|
568
568
|
sx: {
|
|
569
569
|
flex: "0 0 auto",
|
|
570
570
|
position: "relative",
|
|
@@ -590,7 +590,7 @@ const ht = ({
|
|
|
590
590
|
{
|
|
591
591
|
component: "img",
|
|
592
592
|
src: t,
|
|
593
|
-
alt: `Juego ${
|
|
593
|
+
alt: `Juego ${i != null ? i : ""}`,
|
|
594
594
|
sx: {
|
|
595
595
|
position: "absolute",
|
|
596
596
|
inset: 0,
|
|
@@ -624,7 +624,7 @@ const ht = ({
|
|
|
624
624
|
fontSize: { xs: 11, md: 14 },
|
|
625
625
|
textTransform: "capitalize"
|
|
626
626
|
},
|
|
627
|
-
children: (
|
|
627
|
+
children: (o = n != null ? n : a) != null ? o : ""
|
|
628
628
|
}
|
|
629
629
|
)
|
|
630
630
|
}
|
|
@@ -632,8 +632,8 @@ const ht = ({
|
|
|
632
632
|
]
|
|
633
633
|
}
|
|
634
634
|
);
|
|
635
|
-
},
|
|
636
|
-
|
|
635
|
+
}, ie = 12, se = ({ r: t = 16 }) => /* @__PURE__ */ e(k, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
|
|
636
|
+
M,
|
|
637
637
|
{
|
|
638
638
|
variant: "rectangular",
|
|
639
639
|
width: "100%",
|
|
@@ -647,17 +647,17 @@ const ht = ({
|
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
) }),
|
|
650
|
+
) }), Ie = ({
|
|
651
651
|
items: t,
|
|
652
|
-
layout:
|
|
652
|
+
layout: n = "grid",
|
|
653
653
|
onClick: a,
|
|
654
|
-
loading:
|
|
655
|
-
gridSkeletonCount:
|
|
654
|
+
loading: i = !1,
|
|
655
|
+
gridSkeletonCount: l = 4
|
|
656
656
|
}) => {
|
|
657
|
-
var
|
|
658
|
-
if (
|
|
659
|
-
const
|
|
660
|
-
return /* @__PURE__ */
|
|
657
|
+
var o;
|
|
658
|
+
if (n === "mosaic") {
|
|
659
|
+
const r = t[0], m = t.slice(1, 5);
|
|
660
|
+
return /* @__PURE__ */ c(
|
|
661
661
|
k,
|
|
662
662
|
{
|
|
663
663
|
sx: {
|
|
@@ -675,8 +675,8 @@ const ht = ({
|
|
|
675
675
|
xs: "104px",
|
|
676
676
|
md: "152px"
|
|
677
677
|
},
|
|
678
|
-
columnGap: `${
|
|
679
|
-
rowGap: `${
|
|
678
|
+
columnGap: `${ie}px`,
|
|
679
|
+
rowGap: `${ie}px`,
|
|
680
680
|
alignItems: "stretch",
|
|
681
681
|
justifyItems: "stretch"
|
|
682
682
|
},
|
|
@@ -691,19 +691,19 @@ const ht = ({
|
|
|
691
691
|
overflow: "hidden",
|
|
692
692
|
borderRadius: 2
|
|
693
693
|
},
|
|
694
|
-
children:
|
|
694
|
+
children: i ? /* @__PURE__ */ e(se, {}) : r && /* @__PURE__ */ e(
|
|
695
695
|
te,
|
|
696
696
|
{
|
|
697
|
-
imageUrl: `https://olimpo.bet${(
|
|
697
|
+
imageUrl: `https://olimpo.bet${(o = r.imageUrl) != null ? o : ""}`,
|
|
698
698
|
size: "lg",
|
|
699
699
|
fillParent: !0,
|
|
700
|
-
onClick: () => a == null ? void 0 : a(
|
|
700
|
+
onClick: () => a == null ? void 0 : a(r, 0)
|
|
701
701
|
}
|
|
702
702
|
)
|
|
703
703
|
}
|
|
704
704
|
),
|
|
705
|
-
(
|
|
706
|
-
var
|
|
705
|
+
(i ? Array.from({ length: 4 }) : m).map((u, x) => {
|
|
706
|
+
var b;
|
|
707
707
|
return /* @__PURE__ */ e(
|
|
708
708
|
k,
|
|
709
709
|
{
|
|
@@ -713,17 +713,17 @@ const ht = ({
|
|
|
713
713
|
overflow: "hidden",
|
|
714
714
|
borderRadius: 2
|
|
715
715
|
},
|
|
716
|
-
children:
|
|
716
|
+
children: i ? /* @__PURE__ */ e(se, {}) : /* @__PURE__ */ e(
|
|
717
717
|
te,
|
|
718
718
|
{
|
|
719
|
-
imageUrl: `https://olimpo.bet${(
|
|
719
|
+
imageUrl: `https://olimpo.bet${(b = u.imageUrl) != null ? b : ""}`,
|
|
720
720
|
size: "sm",
|
|
721
721
|
fillParent: !0,
|
|
722
|
-
onClick: () => a == null ? void 0 : a(
|
|
722
|
+
onClick: () => a == null ? void 0 : a(u, x + 1)
|
|
723
723
|
}
|
|
724
724
|
)
|
|
725
725
|
},
|
|
726
|
-
|
|
726
|
+
i ? `sk-${x}` : u.id
|
|
727
727
|
);
|
|
728
728
|
})
|
|
729
729
|
]
|
|
@@ -743,43 +743,43 @@ const ht = ({
|
|
|
743
743
|
xs: "repeat(2, 112px)",
|
|
744
744
|
md: "repeat(2, 168px)"
|
|
745
745
|
},
|
|
746
|
-
gap: `${
|
|
746
|
+
gap: `${ie}px`,
|
|
747
747
|
gridAutoFlow: "column"
|
|
748
748
|
},
|
|
749
|
-
children: (
|
|
750
|
-
var
|
|
749
|
+
children: (i ? Array.from({ length: l }) : t).map((r, m) => {
|
|
750
|
+
var u, x;
|
|
751
751
|
return /* @__PURE__ */ e(
|
|
752
752
|
k,
|
|
753
753
|
{
|
|
754
754
|
sx: { overflow: "hidden", borderRadius: 2 },
|
|
755
|
-
children:
|
|
755
|
+
children: i ? /* @__PURE__ */ e(se, {}) : /* @__PURE__ */ e(
|
|
756
756
|
te,
|
|
757
757
|
{
|
|
758
|
-
imageUrl: `https://olimpo.bet${(
|
|
758
|
+
imageUrl: `https://olimpo.bet${(u = r.imageUrl) != null ? u : ""}`,
|
|
759
759
|
size: "sm",
|
|
760
760
|
fillParent: !0,
|
|
761
|
-
onClick: () => a == null ? void 0 : a(
|
|
761
|
+
onClick: () => a == null ? void 0 : a(r, m)
|
|
762
762
|
}
|
|
763
763
|
)
|
|
764
764
|
},
|
|
765
|
-
|
|
765
|
+
i ? `sk-${m}` : (x = r.id) != null ? x : m
|
|
766
766
|
);
|
|
767
767
|
})
|
|
768
768
|
}
|
|
769
769
|
);
|
|
770
|
-
},
|
|
770
|
+
}, ft = ({
|
|
771
771
|
title: t,
|
|
772
|
-
amount:
|
|
772
|
+
amount: n,
|
|
773
773
|
subtitle: a,
|
|
774
|
-
buttonText:
|
|
775
|
-
onButtonClick:
|
|
776
|
-
backgroundImage:
|
|
777
|
-
alt:
|
|
774
|
+
buttonText: i,
|
|
775
|
+
onButtonClick: l,
|
|
776
|
+
backgroundImage: o,
|
|
777
|
+
alt: r,
|
|
778
778
|
className: m = "",
|
|
779
|
-
variant:
|
|
779
|
+
variant: u = "small"
|
|
780
780
|
}) => {
|
|
781
|
-
const
|
|
782
|
-
return /* @__PURE__ */
|
|
781
|
+
const x = n ? n.slice(0, 2) : "", b = n ? n.slice(2) : "", O = u === "large";
|
|
782
|
+
return /* @__PURE__ */ c(
|
|
783
783
|
k,
|
|
784
784
|
{
|
|
785
785
|
className: m,
|
|
@@ -788,12 +788,12 @@ const ht = ({
|
|
|
788
788
|
width: "100%",
|
|
789
789
|
maxWidth: {
|
|
790
790
|
xs: 328,
|
|
791
|
-
md:
|
|
791
|
+
md: O ? 618 : 456
|
|
792
792
|
},
|
|
793
793
|
mx: "auto"
|
|
794
794
|
},
|
|
795
795
|
children: [
|
|
796
|
-
|
|
796
|
+
o && /* @__PURE__ */ e(
|
|
797
797
|
k,
|
|
798
798
|
{
|
|
799
799
|
sx: {
|
|
@@ -801,7 +801,7 @@ const ht = ({
|
|
|
801
801
|
width: "100%",
|
|
802
802
|
aspectRatio: {
|
|
803
803
|
xs: "328 / 188",
|
|
804
|
-
md:
|
|
804
|
+
md: O ? "618 / 346" : "456 / 272"
|
|
805
805
|
},
|
|
806
806
|
borderRadius: "14px",
|
|
807
807
|
overflow: "hidden"
|
|
@@ -810,8 +810,8 @@ const ht = ({
|
|
|
810
810
|
k,
|
|
811
811
|
{
|
|
812
812
|
component: "img",
|
|
813
|
-
src:
|
|
814
|
-
alt:
|
|
813
|
+
src: o,
|
|
814
|
+
alt: r != null ? r : "Fondo promocional",
|
|
815
815
|
sx: {
|
|
816
816
|
width: "100%",
|
|
817
817
|
height: "100%",
|
|
@@ -840,7 +840,7 @@ const ht = ({
|
|
|
840
840
|
pl: "14%",
|
|
841
841
|
pr: { xs: "14%", lg: "15%" }
|
|
842
842
|
},
|
|
843
|
-
children: /* @__PURE__ */
|
|
843
|
+
children: /* @__PURE__ */ c(
|
|
844
844
|
k,
|
|
845
845
|
{
|
|
846
846
|
sx: {
|
|
@@ -861,7 +861,7 @@ const ht = ({
|
|
|
861
861
|
children: t
|
|
862
862
|
}
|
|
863
863
|
),
|
|
864
|
-
|
|
864
|
+
n && /* @__PURE__ */ c(
|
|
865
865
|
k,
|
|
866
866
|
{
|
|
867
867
|
component: "p",
|
|
@@ -884,7 +884,7 @@ const ht = ({
|
|
|
884
884
|
{
|
|
885
885
|
component: "span",
|
|
886
886
|
sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
|
|
887
|
-
children:
|
|
887
|
+
children: x
|
|
888
888
|
}
|
|
889
889
|
),
|
|
890
890
|
/* @__PURE__ */ e(
|
|
@@ -892,7 +892,7 @@ const ht = ({
|
|
|
892
892
|
{
|
|
893
893
|
component: "span",
|
|
894
894
|
sx: { fontSize: { xs: 52, md: 77 } },
|
|
895
|
-
children:
|
|
895
|
+
children: b
|
|
896
896
|
}
|
|
897
897
|
)
|
|
898
898
|
]
|
|
@@ -910,7 +910,7 @@ const ht = ({
|
|
|
910
910
|
children: a
|
|
911
911
|
}
|
|
912
912
|
),
|
|
913
|
-
|
|
913
|
+
i && /* @__PURE__ */ e(L, { onClick: l, children: i })
|
|
914
914
|
]
|
|
915
915
|
}
|
|
916
916
|
)
|
|
@@ -919,87 +919,96 @@ const ht = ({
|
|
|
919
919
|
]
|
|
920
920
|
}
|
|
921
921
|
);
|
|
922
|
-
},
|
|
922
|
+
}, xt = ({
|
|
923
923
|
text: t,
|
|
924
|
-
buttonLabel:
|
|
924
|
+
buttonLabel: n = "Conoce más",
|
|
925
925
|
onClick: a,
|
|
926
|
-
imgAlt:
|
|
927
|
-
imgSrcMobile:
|
|
928
|
-
imgSrcDesktopBg:
|
|
929
|
-
imgSrcDesktopLogo:
|
|
930
|
-
}) => /* @__PURE__ */
|
|
926
|
+
imgAlt: i = "Club Olimpo",
|
|
927
|
+
imgSrcMobile: l,
|
|
928
|
+
imgSrcDesktopBg: o,
|
|
929
|
+
imgSrcDesktopLogo: r
|
|
930
|
+
}) => /* @__PURE__ */ c(Z, { children: [
|
|
931
931
|
/* @__PURE__ */ e("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ e(
|
|
932
932
|
"img",
|
|
933
933
|
{
|
|
934
|
-
src:
|
|
935
|
-
alt:
|
|
934
|
+
src: l,
|
|
935
|
+
alt: i,
|
|
936
936
|
className: "orc-co-bgMobileImg"
|
|
937
937
|
}
|
|
938
938
|
) }),
|
|
939
|
-
/* @__PURE__ */
|
|
940
|
-
|
|
939
|
+
/* @__PURE__ */ c("div", { className: "orc-co-bgDesktop", children: [
|
|
940
|
+
o && /* @__PURE__ */ e("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ e(
|
|
941
941
|
"img",
|
|
942
942
|
{
|
|
943
|
-
src:
|
|
944
|
-
alt: `${
|
|
943
|
+
src: o,
|
|
944
|
+
alt: `${i} fondo`,
|
|
945
945
|
className: "orc-co-bgDesktopImg"
|
|
946
946
|
}
|
|
947
947
|
) }),
|
|
948
|
-
/* @__PURE__ */
|
|
949
|
-
|
|
948
|
+
/* @__PURE__ */ c("div", { className: "orc-co-desktopContent", children: [
|
|
949
|
+
r && /* @__PURE__ */ e(
|
|
950
950
|
"img",
|
|
951
951
|
{
|
|
952
|
-
src:
|
|
953
|
-
alt: `${
|
|
952
|
+
src: r,
|
|
953
|
+
alt: `${i} logo`,
|
|
954
954
|
className: "orc-co-logoImg"
|
|
955
955
|
}
|
|
956
956
|
),
|
|
957
957
|
/* @__PURE__ */ e("p", { className: "orc-co-captionDesktop", children: t }),
|
|
958
|
-
/* @__PURE__ */ e(L, { onClick: a, variant: "primary", size: "md", children:
|
|
958
|
+
/* @__PURE__ */ e(L, { onClick: a, variant: "primary", size: "md", children: n })
|
|
959
959
|
] })
|
|
960
960
|
] }),
|
|
961
|
-
/* @__PURE__ */
|
|
961
|
+
/* @__PURE__ */ c("div", { className: "orc-co-bottom", children: [
|
|
962
962
|
/* @__PURE__ */ e("p", { className: "orc-co-caption", children: t }),
|
|
963
|
-
/* @__PURE__ */ e(L, { onClick: a, variant: "primary", size: "md", children:
|
|
963
|
+
/* @__PURE__ */ e(L, { onClick: a, variant: "primary", size: "md", children: n })
|
|
964
964
|
] })
|
|
965
|
-
] }),
|
|
966
|
-
card:
|
|
965
|
+
] }), bt = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", _t = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", vt = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", yt = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", wt = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", St = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Ct = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Et = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", H = {
|
|
966
|
+
card: bt,
|
|
967
967
|
combinadas: _t,
|
|
968
|
-
apuestaItem:
|
|
969
|
-
lineContainer:
|
|
970
|
-
circle:
|
|
971
|
-
line:
|
|
972
|
-
apuestaText:
|
|
973
|
-
cuotaTotal:
|
|
968
|
+
apuestaItem: vt,
|
|
969
|
+
lineContainer: yt,
|
|
970
|
+
circle: wt,
|
|
971
|
+
line: St,
|
|
972
|
+
apuestaText: Ct,
|
|
973
|
+
cuotaTotal: Et
|
|
974
974
|
};
|
|
975
|
-
function
|
|
976
|
-
const
|
|
977
|
-
sessionStorage.setItem("landingOutcomes", JSON.stringify(
|
|
975
|
+
function pe(t) {
|
|
976
|
+
const n = Array.isArray(t) ? t : [t];
|
|
977
|
+
sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = "/deportes";
|
|
978
978
|
}
|
|
979
|
-
function
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
979
|
+
function kt() {
|
|
980
|
+
window.location.href = "/#in-play";
|
|
981
|
+
}
|
|
982
|
+
function $t() {
|
|
983
|
+
window.location.href = "/#sports-hub/football";
|
|
984
|
+
}
|
|
985
|
+
function Ot() {
|
|
986
|
+
window.location.href = "/#specials";
|
|
987
|
+
}
|
|
988
|
+
function Nt({ event: t }) {
|
|
989
|
+
var i;
|
|
990
|
+
function n(l) {
|
|
991
|
+
var b;
|
|
992
|
+
const o = (b = l.betoffers) != null ? b : [], r = l.homeName, m = l.awayName, u = o.map((O) => {
|
|
993
|
+
var $, v, S, I, f;
|
|
994
|
+
let s = O.outcomes[0], p = "", _ = s != null && s.line ? s.line / 1e3 : "";
|
|
995
|
+
return ["Más de", "Mas de", "Over"].includes(s == null ? void 0 : s.label) ? (p = `Más de ${_}`, s != null && s.participant && (p = `${s.participant} - ${p}`)) : ["Menos de", "Menos"].includes(s == null ? void 0 : s.label) ? (p = `Menos de ${_}`, s != null && s.participant && (p = `${s.participant} - ${p}`)) : ["Sí", "No"].includes(s == null ? void 0 : s.label) ? (p = s == null ? void 0 : s.label, s != null && s.participant && (p = `${s.participant} - ${p}`)) : ["1X", "12", "X2"].includes(s == null ? void 0 : s.label) ? s.label === "1X" ? p = `${r} o Empate` : s.label === "12" ? p = `${r} o ${m}` : s.label === "X2" && (p = `${m} o Empate`) : (s != null && s.participant ? p = s.participant : p = ($ = s == null ? void 0 : s.label) != null ? $ : "", _ !== "" && p === s.label && (p = `${s.label} ${_}`)), {
|
|
996
|
+
id: (v = s == null ? void 0 : s.id) != null ? v : 0,
|
|
997
|
+
value: p,
|
|
998
|
+
label: O.criterion.label,
|
|
999
|
+
odds: (S = s == null ? void 0 : s.odds) != null ? S : 0,
|
|
1000
|
+
bl: (I = s == null ? void 0 : s.label) != null ? I : 0,
|
|
1001
|
+
position: (f = s == null ? void 0 : s.position) != null ? f : 0
|
|
993
1002
|
};
|
|
994
|
-
}),
|
|
1003
|
+
}), x = u.reduce((O, s) => O + s.odds, 0) / 1e3;
|
|
995
1004
|
return {
|
|
996
|
-
outcomes:
|
|
997
|
-
total:
|
|
1005
|
+
outcomes: u,
|
|
1006
|
+
total: x.toFixed(2)
|
|
998
1007
|
};
|
|
999
1008
|
}
|
|
1000
|
-
const a =
|
|
1001
|
-
return /* @__PURE__ */
|
|
1002
|
-
/* @__PURE__ */ e("div", { className:
|
|
1009
|
+
const a = n(t);
|
|
1010
|
+
return /* @__PURE__ */ c("div", { className: H.card, children: [
|
|
1011
|
+
/* @__PURE__ */ e("div", { className: H.combinadas, children: /* @__PURE__ */ c(B, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
|
|
1003
1012
|
/* @__PURE__ */ e(
|
|
1004
1013
|
K,
|
|
1005
1014
|
{
|
|
@@ -1009,32 +1018,32 @@ function Et({ event: t }) {
|
|
|
1009
1018
|
}
|
|
1010
1019
|
),
|
|
1011
1020
|
/* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/line.png" }),
|
|
1012
|
-
/* @__PURE__ */ e(B, { direction: "column", spacing: 0.5, useFlexGap: !0, children: a.outcomes.sort((
|
|
1013
|
-
/* @__PURE__ */
|
|
1014
|
-
/* @__PURE__ */ e("div", { className:
|
|
1015
|
-
|
|
1021
|
+
/* @__PURE__ */ e(B, { direction: "column", spacing: 0.5, useFlexGap: !0, children: a.outcomes.sort((l, o) => l.position - o.position).map((l, o) => /* @__PURE__ */ c("div", { className: H.apuestaItem, children: [
|
|
1022
|
+
/* @__PURE__ */ c("div", { className: H.lineContainer, children: [
|
|
1023
|
+
/* @__PURE__ */ e("div", { className: H.circle }),
|
|
1024
|
+
o < a.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: H.line })
|
|
1016
1025
|
] }),
|
|
1017
|
-
/* @__PURE__ */
|
|
1018
|
-
/* @__PURE__ */ e("strong", { children:
|
|
1026
|
+
/* @__PURE__ */ c("div", { className: H.apuestaText, children: [
|
|
1027
|
+
/* @__PURE__ */ e("strong", { children: l.value }),
|
|
1019
1028
|
" ",
|
|
1020
1029
|
"| ",
|
|
1021
|
-
|
|
1030
|
+
l.label
|
|
1022
1031
|
] })
|
|
1023
|
-
] },
|
|
1032
|
+
] }, o)) })
|
|
1024
1033
|
] }) }),
|
|
1025
|
-
/* @__PURE__ */
|
|
1026
|
-
var
|
|
1027
|
-
return
|
|
1028
|
-
}, className:
|
|
1029
|
-
/* @__PURE__ */
|
|
1034
|
+
/* @__PURE__ */ c("button", { onClick: () => {
|
|
1035
|
+
var l, o;
|
|
1036
|
+
return pe((o = (l = a == null ? void 0 : a.outcomes) == null ? void 0 : l.map((r) => r == null ? void 0 : r.id)) != null ? o : []);
|
|
1037
|
+
}, className: H.cuotaTotal, children: [
|
|
1038
|
+
/* @__PURE__ */ c("span", { children: [
|
|
1030
1039
|
"Cuota total: ",
|
|
1031
|
-
/* @__PURE__ */ e("strong", { children: (((
|
|
1040
|
+
/* @__PURE__ */ e("strong", { children: (((i = t.combinadoTotal) != null ? i : 0) / 1e3).toFixed(2) })
|
|
1032
1041
|
] }),
|
|
1033
1042
|
/* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/cuotaTotal.svg", alt: "cuota total" })
|
|
1034
1043
|
] })
|
|
1035
1044
|
] });
|
|
1036
1045
|
}
|
|
1037
|
-
const
|
|
1046
|
+
const U = {
|
|
1038
1047
|
"orc-btn": "oraculo__OraculoButtonBet-module__orc-btn___jakza",
|
|
1039
1048
|
"orc-btn__label": "oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH",
|
|
1040
1049
|
"orc-btn__icon": "oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd",
|
|
@@ -1050,172 +1059,172 @@ const G = {
|
|
|
1050
1059
|
};
|
|
1051
1060
|
function It({
|
|
1052
1061
|
children: t,
|
|
1053
|
-
onClick:
|
|
1062
|
+
onClick: n,
|
|
1054
1063
|
href: a,
|
|
1055
|
-
target:
|
|
1056
|
-
rel:
|
|
1057
|
-
type:
|
|
1058
|
-
disabled:
|
|
1064
|
+
target: i,
|
|
1065
|
+
rel: l,
|
|
1066
|
+
type: o = "button",
|
|
1067
|
+
disabled: r = !1,
|
|
1059
1068
|
variant: m = "primary",
|
|
1060
|
-
size:
|
|
1061
|
-
fullWidth:
|
|
1062
|
-
fullHeight:
|
|
1063
|
-
className:
|
|
1069
|
+
size: u,
|
|
1070
|
+
fullWidth: x = !1,
|
|
1071
|
+
fullHeight: b = !1,
|
|
1072
|
+
className: O = "",
|
|
1064
1073
|
ariaLabel: s,
|
|
1065
|
-
leftIcon:
|
|
1066
|
-
rightIcon:
|
|
1067
|
-
iconOnly:
|
|
1074
|
+
leftIcon: p,
|
|
1075
|
+
rightIcon: _,
|
|
1076
|
+
iconOnly: $
|
|
1068
1077
|
}) {
|
|
1069
|
-
const
|
|
1070
|
-
|
|
1078
|
+
const v = !!t && t !== !0, f = (!!p ? 1 : 0) + (!!_ ? 1 : 0) == 1, C = $ != null ? $ : f && !v, T = [
|
|
1079
|
+
U["orc-btn"],
|
|
1071
1080
|
// base
|
|
1072
|
-
|
|
1081
|
+
U[`orc-btn--${m}`],
|
|
1073
1082
|
// variant primary/secondary/tertiary
|
|
1074
|
-
|
|
1083
|
+
u ? U[`orc-btn--${u}`] : "",
|
|
1075
1084
|
// sm / md / lg
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
].filter(Boolean).join(" "),
|
|
1081
|
-
|
|
1082
|
-
!
|
|
1083
|
-
|
|
1084
|
-
] }),
|
|
1085
|
+
x ? U["orc-btn--full"] : "",
|
|
1086
|
+
b ? U["orc-btn--fullHeight"] : "",
|
|
1087
|
+
C ? U["orc-btn--iconOnly"] : "",
|
|
1088
|
+
O
|
|
1089
|
+
].filter(Boolean).join(" "), P = /* @__PURE__ */ c(Z, { children: [
|
|
1090
|
+
p && /* @__PURE__ */ e("span", { className: U["orc-btn__icon"], children: p }),
|
|
1091
|
+
!C && /* @__PURE__ */ e("span", { className: U["orc-btn__label"], children: t }),
|
|
1092
|
+
_ && /* @__PURE__ */ e("span", { className: U["orc-btn__icon"], children: _ })
|
|
1093
|
+
] }), E = r ? !0 : void 0;
|
|
1085
1094
|
return a ? /* @__PURE__ */ e(
|
|
1086
|
-
|
|
1095
|
+
ye,
|
|
1087
1096
|
{
|
|
1088
1097
|
href: a,
|
|
1089
|
-
target:
|
|
1090
|
-
rel:
|
|
1098
|
+
target: i,
|
|
1099
|
+
rel: l,
|
|
1091
1100
|
"aria-label": s,
|
|
1092
|
-
"aria-disabled":
|
|
1093
|
-
tabIndex:
|
|
1101
|
+
"aria-disabled": E,
|
|
1102
|
+
tabIndex: E ? -1 : void 0,
|
|
1094
1103
|
className: T,
|
|
1095
|
-
onClick:
|
|
1096
|
-
children:
|
|
1104
|
+
onClick: E ? (d) => d.preventDefault() : n,
|
|
1105
|
+
children: P
|
|
1097
1106
|
}
|
|
1098
1107
|
) : /* @__PURE__ */ e(
|
|
1099
1108
|
"button",
|
|
1100
1109
|
{
|
|
1101
|
-
type:
|
|
1102
|
-
onClick:
|
|
1103
|
-
disabled:
|
|
1110
|
+
type: o,
|
|
1111
|
+
onClick: n,
|
|
1112
|
+
disabled: !!E,
|
|
1104
1113
|
"aria-label": s,
|
|
1105
1114
|
className: T,
|
|
1106
|
-
children:
|
|
1115
|
+
children: P
|
|
1107
1116
|
}
|
|
1108
1117
|
);
|
|
1109
1118
|
}
|
|
1110
|
-
const
|
|
1111
|
-
cardWrapper:
|
|
1119
|
+
const Pt = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Pe = {
|
|
1120
|
+
cardWrapper: Pt
|
|
1112
1121
|
};
|
|
1113
|
-
function
|
|
1114
|
-
var
|
|
1115
|
-
const
|
|
1122
|
+
function Tt({ event: t, liveData: n, betOffers: a }) {
|
|
1123
|
+
var l, o, r, m, u, x, b, O;
|
|
1124
|
+
const i = a == null ? void 0 : a.find(
|
|
1116
1125
|
(s) => {
|
|
1117
|
-
var
|
|
1118
|
-
return ((
|
|
1126
|
+
var p;
|
|
1127
|
+
return ((p = s.betOfferType) == null ? void 0 : p.id) === 2;
|
|
1119
1128
|
}
|
|
1120
1129
|
);
|
|
1121
|
-
return /* @__PURE__ */ e("div", { className:
|
|
1122
|
-
/* @__PURE__ */
|
|
1130
|
+
return /* @__PURE__ */ e("div", { className: Pe.cardWrapper, children: /* @__PURE__ */ c(B, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1131
|
+
/* @__PURE__ */ c(B, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
1123
1132
|
/* @__PURE__ */ e(
|
|
1124
|
-
|
|
1133
|
+
Qe,
|
|
1125
1134
|
{
|
|
1126
|
-
title: (
|
|
1135
|
+
title: (l = t.path[0].name) != null ? l : "",
|
|
1127
1136
|
subtitle: t.group,
|
|
1128
1137
|
live: !0,
|
|
1129
|
-
time: ((
|
|
1138
|
+
time: ((o = n == null ? void 0 : n.matchClock) == null ? void 0 : o.minute) != null ? `${n.matchClock.minute}'` : ""
|
|
1130
1139
|
}
|
|
1131
1140
|
),
|
|
1132
|
-
/* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */
|
|
1141
|
+
/* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ c(V, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1133
1142
|
/* @__PURE__ */ e(
|
|
1134
|
-
|
|
1143
|
+
oe,
|
|
1135
1144
|
{
|
|
1136
1145
|
name: t.homeName,
|
|
1137
1146
|
logo: "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/Juventus.png"
|
|
1138
1147
|
}
|
|
1139
1148
|
),
|
|
1140
|
-
/* @__PURE__ */ e(
|
|
1141
|
-
/* @__PURE__ */ e(
|
|
1149
|
+
/* @__PURE__ */ e(Ne, { text: ((m = (r = n == null ? void 0 : n.score) == null ? void 0 : r.home) != null ? m : 0) + ":" + ((x = (u = n == null ? void 0 : n.score) == null ? void 0 : u.away) != null ? x : 0), name: "En vivo" }),
|
|
1150
|
+
/* @__PURE__ */ e(oe, { name: t.awayName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/Racing.png" })
|
|
1142
1151
|
] }) })
|
|
1143
1152
|
] }),
|
|
1144
|
-
/* @__PURE__ */
|
|
1145
|
-
/* @__PURE__ */ e(
|
|
1146
|
-
/* @__PURE__ */ e(
|
|
1147
|
-
|
|
1148
|
-
}, children: s.odds === void 0 ? "" : (s.odds / 1e3).toFixed(2) },
|
|
1153
|
+
/* @__PURE__ */ c(B, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1154
|
+
/* @__PURE__ */ e(V, { spacing: 1, children: ((b = i == null ? void 0 : i.outcomes) != null ? b : []).map((s, p) => /* @__PURE__ */ e($e, { text: s.label.toUpperCase() }, p)) }),
|
|
1155
|
+
/* @__PURE__ */ e(V, { spacing: 2, children: ((O = i == null ? void 0 : i.outcomes) != null ? O : []).map((s, p) => /* @__PURE__ */ e(It, { variant: "primary", disabled: s.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1156
|
+
pe(s.id);
|
|
1157
|
+
}, children: s.odds === void 0 ? "" : (s.odds / 1e3).toFixed(2) }, p)) })
|
|
1149
1158
|
] })
|
|
1150
1159
|
] }) });
|
|
1151
1160
|
}
|
|
1152
|
-
const
|
|
1153
|
-
date:
|
|
1161
|
+
const Rt = "oraculo__OraculoEventDate-module__date___xhIlh", Bt = {
|
|
1162
|
+
date: Rt
|
|
1154
1163
|
};
|
|
1155
|
-
function
|
|
1156
|
-
return /* @__PURE__ */ e("div", { className: `oli-font ${
|
|
1164
|
+
function Mt({ text: t }) {
|
|
1165
|
+
return /* @__PURE__ */ e("div", { className: `oli-font ${Bt.date}`, children: t });
|
|
1157
1166
|
}
|
|
1158
|
-
const
|
|
1159
|
-
cardContainer:
|
|
1160
|
-
cardBackground:
|
|
1161
|
-
jugadas:
|
|
1162
|
-
equipos:
|
|
1167
|
+
const Lt = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Ft = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Wt = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", zt = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", J = {
|
|
1168
|
+
cardContainer: Lt,
|
|
1169
|
+
cardBackground: Ft,
|
|
1170
|
+
jugadas: Wt,
|
|
1171
|
+
equipos: zt
|
|
1163
1172
|
};
|
|
1164
|
-
function
|
|
1165
|
-
var a,
|
|
1166
|
-
function
|
|
1167
|
-
const
|
|
1173
|
+
function jt({ event: t }) {
|
|
1174
|
+
var a, i, l, o, r, m, u;
|
|
1175
|
+
function n(x) {
|
|
1176
|
+
const b = new Date(x), O = b.toLocaleDateString("es-ES", {
|
|
1168
1177
|
weekday: "short"
|
|
1169
|
-
}).toUpperCase(), s =
|
|
1170
|
-
let
|
|
1178
|
+
}).toUpperCase(), s = b.getDate().toString().padStart(2, "0"), p = (b.getMonth() + 1).toString().padStart(2, "0");
|
|
1179
|
+
let _ = b.toLocaleTimeString("es-PE", {
|
|
1171
1180
|
hour: "numeric",
|
|
1172
1181
|
minute: "2-digit",
|
|
1173
1182
|
hour12: !0
|
|
1174
1183
|
}).toUpperCase();
|
|
1175
|
-
return
|
|
1184
|
+
return _ = _.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${O} ${s}/${p} | ${_}`;
|
|
1176
1185
|
}
|
|
1177
|
-
return /* @__PURE__ */
|
|
1178
|
-
/* @__PURE__ */ e(
|
|
1179
|
-
/* @__PURE__ */ e("div", { className: J.cardBackground, children: /* @__PURE__ */
|
|
1180
|
-
/* @__PURE__ */
|
|
1181
|
-
/* @__PURE__ */
|
|
1182
|
-
/* @__PURE__ */ e(
|
|
1183
|
-
/* @__PURE__ */ e(
|
|
1184
|
-
/* @__PURE__ */ e(
|
|
1186
|
+
return /* @__PURE__ */ c("div", { className: J.cardContainer, children: [
|
|
1187
|
+
/* @__PURE__ */ e(Oe, { title: (a = t == null ? void 0 : t.group) != null ? a : "" }),
|
|
1188
|
+
/* @__PURE__ */ e("div", { className: J.cardBackground, children: /* @__PURE__ */ c(B, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1189
|
+
/* @__PURE__ */ c(B, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1190
|
+
/* @__PURE__ */ c("div", { className: J.equipos, children: [
|
|
1191
|
+
/* @__PURE__ */ e(oe, { name: t.awayName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoSemana/Flamengo.png", size: "compact" }),
|
|
1192
|
+
/* @__PURE__ */ e(Ne, { text: "vs.", name: "", size: "small" }),
|
|
1193
|
+
/* @__PURE__ */ e(oe, { name: t.homeName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoSemana/RealMadrid.png", size: "compact" })
|
|
1185
1194
|
] }),
|
|
1186
|
-
/* @__PURE__ */ e(
|
|
1195
|
+
/* @__PURE__ */ e(Mt, { text: n(t.start) })
|
|
1187
1196
|
] }),
|
|
1188
|
-
/* @__PURE__ */
|
|
1189
|
-
/* @__PURE__ */ e(
|
|
1190
|
-
/* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */ e(
|
|
1191
|
-
|
|
1192
|
-
}, children: (
|
|
1197
|
+
/* @__PURE__ */ c(B, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1198
|
+
/* @__PURE__ */ e(V, { spacing: 1, children: ((o = (l = (i = t == null ? void 0 : t.outcome) == null ? void 0 : i[0]) == null ? void 0 : l.outcomes) != null ? o : []).map((x, b) => /* @__PURE__ */ e($e, { text: x.label.toUpperCase() }, b)) }),
|
|
1199
|
+
/* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */ e(V, { spacing: 1, children: ((u = (m = (r = t == null ? void 0 : t.outcome) == null ? void 0 : r[0]) == null ? void 0 : m.outcomes) != null ? u : []).map((x, b) => /* @__PURE__ */ e(L, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1200
|
+
pe(x.id);
|
|
1201
|
+
}, children: (x.odds / 1e3).toFixed(2) }, b)) }) })
|
|
1193
1202
|
] })
|
|
1194
1203
|
] }) })
|
|
1195
1204
|
] });
|
|
1196
1205
|
}
|
|
1197
|
-
function
|
|
1206
|
+
function At({
|
|
1198
1207
|
items: t,
|
|
1199
|
-
title:
|
|
1208
|
+
title: n = "Destacados",
|
|
1200
1209
|
iconUrl: a,
|
|
1201
|
-
onViewMore:
|
|
1202
|
-
className:
|
|
1210
|
+
onViewMore: i,
|
|
1211
|
+
className: l = ""
|
|
1203
1212
|
}) {
|
|
1204
|
-
const
|
|
1205
|
-
var
|
|
1206
|
-
(
|
|
1207
|
-
}, f = () => {
|
|
1208
|
-
var l;
|
|
1209
|
-
(l = n.current) == null || l.next(), console.log("items: ", t);
|
|
1213
|
+
const o = G(null), [r, m] = W({ isStart: !0, isEnd: !1 }), u = () => {
|
|
1214
|
+
var p;
|
|
1215
|
+
(p = o.current) == null || p.prev();
|
|
1210
1216
|
}, x = () => {
|
|
1217
|
+
var p;
|
|
1218
|
+
(p = o.current) == null || p.next(), console.log("items: ", t);
|
|
1219
|
+
}, b = () => {
|
|
1211
1220
|
window.location.href = "https://www.olimpo.bet/promociones";
|
|
1212
|
-
},
|
|
1213
|
-
if (!
|
|
1214
|
-
const
|
|
1215
|
-
window.location.href =
|
|
1221
|
+
}, O = (p) => {
|
|
1222
|
+
if (!p || typeof window == "undefined") return;
|
|
1223
|
+
const $ = `https://www.olimpo.bet/promociones/${encodeURIComponent(p)}`;
|
|
1224
|
+
window.location.href = $;
|
|
1216
1225
|
};
|
|
1217
|
-
return /* @__PURE__ */
|
|
1218
|
-
/* @__PURE__ */
|
|
1226
|
+
return /* @__PURE__ */ c("section", { className: l || void 0, style: { width: "100%" }, children: [
|
|
1227
|
+
/* @__PURE__ */ c(
|
|
1219
1228
|
"header",
|
|
1220
1229
|
{
|
|
1221
1230
|
style: {
|
|
@@ -1227,17 +1236,17 @@ function Wt({
|
|
|
1227
1236
|
marginBottom: 16
|
|
1228
1237
|
},
|
|
1229
1238
|
children: [
|
|
1230
|
-
/* @__PURE__ */ e(K, { title:
|
|
1231
|
-
/* @__PURE__ */
|
|
1239
|
+
/* @__PURE__ */ e(K, { title: n, iconUrl: a, size: "md" }),
|
|
1240
|
+
/* @__PURE__ */ c("div", { style: { display: "flex", gap: 8 }, children: [
|
|
1232
1241
|
/* @__PURE__ */ e(
|
|
1233
1242
|
L,
|
|
1234
1243
|
{
|
|
1235
1244
|
ariaLabel: "Anterior",
|
|
1236
1245
|
variant: "secondary",
|
|
1237
1246
|
iconOnly: !0,
|
|
1238
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1239
|
-
onClick:
|
|
1240
|
-
disabled:
|
|
1247
|
+
leftIcon: /* @__PURE__ */ e(de, {}),
|
|
1248
|
+
onClick: u,
|
|
1249
|
+
disabled: r.isStart
|
|
1241
1250
|
}
|
|
1242
1251
|
),
|
|
1243
1252
|
/* @__PURE__ */ e(
|
|
@@ -1246,20 +1255,20 @@ function Wt({
|
|
|
1246
1255
|
ariaLabel: "Siguiente",
|
|
1247
1256
|
variant: "secondary",
|
|
1248
1257
|
iconOnly: !0,
|
|
1249
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1250
|
-
onClick:
|
|
1251
|
-
disabled:
|
|
1258
|
+
rightIcon: /* @__PURE__ */ e(ue, {}),
|
|
1259
|
+
onClick: x,
|
|
1260
|
+
disabled: r.isEnd
|
|
1252
1261
|
}
|
|
1253
1262
|
)
|
|
1254
1263
|
] }),
|
|
1255
|
-
/* @__PURE__ */ e(L, { variant: "secondary", onClick:
|
|
1264
|
+
/* @__PURE__ */ e(L, { variant: "secondary", onClick: b, children: "Ver más" })
|
|
1256
1265
|
]
|
|
1257
1266
|
}
|
|
1258
1267
|
),
|
|
1259
1268
|
/* @__PURE__ */ e(
|
|
1260
1269
|
q,
|
|
1261
1270
|
{
|
|
1262
|
-
ref:
|
|
1271
|
+
ref: o,
|
|
1263
1272
|
items: t,
|
|
1264
1273
|
perPage: 2,
|
|
1265
1274
|
gap: "16px",
|
|
@@ -1276,7 +1285,7 @@ function Wt({
|
|
|
1276
1285
|
768: { perPage: 2, focus: "start" },
|
|
1277
1286
|
1024: { perPage: 2.5, focus: "start" }
|
|
1278
1287
|
},
|
|
1279
|
-
renderItem: (
|
|
1288
|
+
renderItem: (p) => /* @__PURE__ */ e(
|
|
1280
1289
|
"div",
|
|
1281
1290
|
{
|
|
1282
1291
|
style: {
|
|
@@ -1284,12 +1293,12 @@ function Wt({
|
|
|
1284
1293
|
marginTop: 16,
|
|
1285
1294
|
cursor: "pointer"
|
|
1286
1295
|
},
|
|
1287
|
-
onClick: () =>
|
|
1296
|
+
onClick: () => O(p.promotion),
|
|
1288
1297
|
children: /* @__PURE__ */ e(
|
|
1289
1298
|
"img",
|
|
1290
1299
|
{
|
|
1291
|
-
src: `https://olimpo.bet${
|
|
1292
|
-
alt:
|
|
1300
|
+
src: `https://olimpo.bet${p.image !== "" ? p.image : p.summary_image}`,
|
|
1301
|
+
alt: p.title,
|
|
1293
1302
|
style: {
|
|
1294
1303
|
width: "100%",
|
|
1295
1304
|
height: window.innerWidth < 768 ? "80px" : "137px",
|
|
@@ -1300,39 +1309,45 @@ function Wt({
|
|
|
1300
1309
|
}
|
|
1301
1310
|
)
|
|
1302
1311
|
},
|
|
1303
|
-
`${
|
|
1312
|
+
`${p.title}-${p.image}`
|
|
1304
1313
|
),
|
|
1305
|
-
onMove: ({ isStart:
|
|
1314
|
+
onMove: ({ isStart: p, isEnd: _ }) => m({ isStart: p, isEnd: _ })
|
|
1306
1315
|
}
|
|
1307
1316
|
)
|
|
1308
1317
|
] });
|
|
1309
1318
|
}
|
|
1310
|
-
|
|
1311
|
-
|
|
1319
|
+
function re(t, {
|
|
1320
|
+
basePath: n = "/casino",
|
|
1321
|
+
src: a,
|
|
1322
|
+
demo: i = !1,
|
|
1323
|
+
host: l = "https://www.olimpo.bet"
|
|
1324
|
+
} = {}) {
|
|
1312
1325
|
if (typeof window == "undefined") return;
|
|
1313
|
-
const
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1326
|
+
const o = t == null ? void 0 : t.machine;
|
|
1327
|
+
if (!o) return;
|
|
1328
|
+
const r = new URLSearchParams();
|
|
1329
|
+
r.set("machine", String(o)), i && r.set("demo", "1"), window.location.href = `${l}${n}?${r.toString()}`;
|
|
1330
|
+
}
|
|
1331
|
+
function Gt({
|
|
1317
1332
|
items: t,
|
|
1318
|
-
title:
|
|
1333
|
+
title: n = "Top Juegos",
|
|
1319
1334
|
iconUrl: a,
|
|
1320
|
-
onCardClick:
|
|
1335
|
+
onCardClick: i
|
|
1321
1336
|
}) {
|
|
1322
|
-
const
|
|
1323
|
-
() => (t != null ? t : []).map((m,
|
|
1324
|
-
var
|
|
1337
|
+
const l = le(
|
|
1338
|
+
() => (t != null ? t : []).map((m, u) => {
|
|
1339
|
+
var x;
|
|
1325
1340
|
return {
|
|
1326
1341
|
...m,
|
|
1327
1342
|
// si no viene orden, usamos el índice (1-based)
|
|
1328
|
-
orden: (
|
|
1329
|
-
_originalIndex:
|
|
1343
|
+
orden: (x = m.orden) != null ? x : u + 1,
|
|
1344
|
+
_originalIndex: u
|
|
1330
1345
|
};
|
|
1331
|
-
}).sort((m,
|
|
1346
|
+
}).sort((m, u) => m.orden != null && u.orden != null ? m.orden - u.orden : m._originalIndex - u._originalIndex),
|
|
1332
1347
|
[t]
|
|
1333
|
-
),
|
|
1334
|
-
return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */
|
|
1335
|
-
/* @__PURE__ */ e(K, { title:
|
|
1348
|
+
), o = !t || t.length === 0, r = o ? Array.from({ length: 6 }) : l.slice(0, 6);
|
|
1349
|
+
return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ c(B, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1350
|
+
/* @__PURE__ */ e(K, { title: n, iconUrl: a, size: "md" }),
|
|
1336
1351
|
/* @__PURE__ */ e(
|
|
1337
1352
|
k,
|
|
1338
1353
|
{
|
|
@@ -1346,43 +1361,38 @@ function zt({
|
|
|
1346
1361
|
justifyItems: "center",
|
|
1347
1362
|
width: "100%"
|
|
1348
1363
|
},
|
|
1349
|
-
children:
|
|
1350
|
-
var
|
|
1364
|
+
children: r.map((m, u) => {
|
|
1365
|
+
var x, b;
|
|
1351
1366
|
return /* @__PURE__ */ e(
|
|
1352
|
-
|
|
1367
|
+
ht,
|
|
1353
1368
|
{
|
|
1354
|
-
imageUrl:
|
|
1355
|
-
orden:
|
|
1356
|
-
loading:
|
|
1357
|
-
onClick:
|
|
1358
|
-
|
|
1369
|
+
imageUrl: o ? "" : `https://olimpo.bet${(x = m.logo) != null ? x : ""}`,
|
|
1370
|
+
orden: o ? u + 1 : m.orden,
|
|
1371
|
+
loading: o,
|
|
1372
|
+
onClick: o ? void 0 : () => {
|
|
1373
|
+
i ? i(m) : re(m, { basePath: "/casino" });
|
|
1359
1374
|
}
|
|
1360
1375
|
},
|
|
1361
|
-
|
|
1376
|
+
o ? `sk-${u}` : (b = m.machine) != null ? b : `${u}`
|
|
1362
1377
|
);
|
|
1363
1378
|
})
|
|
1364
1379
|
}
|
|
1365
1380
|
)
|
|
1366
1381
|
] }) });
|
|
1367
1382
|
}
|
|
1368
|
-
const
|
|
1369
|
-
var a,
|
|
1370
|
-
return (
|
|
1371
|
-
},
|
|
1372
|
-
var s, l, h, S, g, y;
|
|
1373
|
-
if (typeof window == "undefined") return;
|
|
1374
|
-
const r = (l = (s = t.name) != null ? s : t.web_name) != null ? l : "", a = (h = t.provider) != null ? h : "", o = (S = t.machine) != null ? S : "", c = (g = t.external_id) != null ? g : "", n = (y = t.type) != null ? y : "Live", i = encodeURIComponent(String(a)), m = encodeURIComponent(String(o)), d = encodeURIComponent(String(r)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/casino-en-vivo?${m}?provider=${i}&name=${d}&external_id=${f}&type=${x}`;
|
|
1375
|
-
window.location.href = I;
|
|
1376
|
-
}, At = ({
|
|
1383
|
+
const Ut = (t, n) => {
|
|
1384
|
+
var a, i;
|
|
1385
|
+
return (i = (a = t.orden) != null ? a : t.machine) != null ? i : n;
|
|
1386
|
+
}, Dt = ({
|
|
1377
1387
|
items: t,
|
|
1378
|
-
title:
|
|
1388
|
+
title: n = "Casino en vivo",
|
|
1379
1389
|
subtitle: a = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
1380
|
-
backgroundMobileUrl:
|
|
1381
|
-
backgroundDesktopUrl:
|
|
1382
|
-
onCardClick:
|
|
1383
|
-
onViewMore:
|
|
1390
|
+
backgroundMobileUrl: i = "",
|
|
1391
|
+
backgroundDesktopUrl: l = "",
|
|
1392
|
+
onCardClick: o,
|
|
1393
|
+
onViewMore: r,
|
|
1384
1394
|
className: m
|
|
1385
|
-
}) => (console.log("items: ", t), /* @__PURE__ */
|
|
1395
|
+
}) => (console.log("items: ", t), /* @__PURE__ */ c(
|
|
1386
1396
|
k,
|
|
1387
1397
|
{
|
|
1388
1398
|
className: m,
|
|
@@ -1406,12 +1416,12 @@ const jt = (t, r) => {
|
|
|
1406
1416
|
xs: `
|
|
1407
1417
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1408
1418
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1409
|
-
url('${
|
|
1419
|
+
url('${i}')
|
|
1410
1420
|
`,
|
|
1411
1421
|
md: `
|
|
1412
1422
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1413
1423
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1414
|
-
url('${
|
|
1424
|
+
url('${l}')
|
|
1415
1425
|
`
|
|
1416
1426
|
},
|
|
1417
1427
|
backgroundSize: "cover",
|
|
@@ -1421,7 +1431,7 @@ const jt = (t, r) => {
|
|
|
1421
1431
|
}
|
|
1422
1432
|
}
|
|
1423
1433
|
),
|
|
1424
|
-
/* @__PURE__ */
|
|
1434
|
+
/* @__PURE__ */ c(
|
|
1425
1435
|
k,
|
|
1426
1436
|
{
|
|
1427
1437
|
sx: {
|
|
@@ -1439,7 +1449,7 @@ const jt = (t, r) => {
|
|
|
1439
1449
|
textAlign: { xs: "center", md: "left" }
|
|
1440
1450
|
},
|
|
1441
1451
|
children: [
|
|
1442
|
-
/* @__PURE__ */
|
|
1452
|
+
/* @__PURE__ */ c(B, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
1443
1453
|
/* @__PURE__ */ e(
|
|
1444
1454
|
D,
|
|
1445
1455
|
{
|
|
@@ -1450,7 +1460,7 @@ const jt = (t, r) => {
|
|
|
1450
1460
|
WebkitTextStroke: "0.5px rgba(255, 255, 255, .5)",
|
|
1451
1461
|
textShadow: "0 0 2px rgba(255, 255, 255, .95),0 0 4px rgba(255, 255, 255, .6),0 1px 0 #898989"
|
|
1452
1462
|
},
|
|
1453
|
-
children:
|
|
1463
|
+
children: n
|
|
1454
1464
|
}
|
|
1455
1465
|
),
|
|
1456
1466
|
/* @__PURE__ */ e(
|
|
@@ -1470,7 +1480,7 @@ const jt = (t, r) => {
|
|
|
1470
1480
|
{
|
|
1471
1481
|
variant: "primary",
|
|
1472
1482
|
size: "md",
|
|
1473
|
-
onClick: () =>
|
|
1483
|
+
onClick: () => r == null ? void 0 : r(),
|
|
1474
1484
|
children: "Ver más"
|
|
1475
1485
|
}
|
|
1476
1486
|
) })
|
|
@@ -1486,20 +1496,20 @@ const jt = (t, r) => {
|
|
|
1486
1496
|
py: { xs: 3, md: 0 },
|
|
1487
1497
|
alignItems: "center"
|
|
1488
1498
|
},
|
|
1489
|
-
children: (t != null ? t : []).slice(0, 3).map((
|
|
1490
|
-
var
|
|
1499
|
+
children: (t != null ? t : []).slice(0, 3).map((u, x) => {
|
|
1500
|
+
var b;
|
|
1491
1501
|
return /* @__PURE__ */ e(
|
|
1492
|
-
|
|
1502
|
+
gt,
|
|
1493
1503
|
{
|
|
1494
|
-
logo: `https://olimpo.bet${(
|
|
1495
|
-
provider:
|
|
1496
|
-
providerName:
|
|
1497
|
-
machine:
|
|
1504
|
+
logo: `https://olimpo.bet${(b = u.logo) != null ? b : ""}`,
|
|
1505
|
+
provider: u.provider,
|
|
1506
|
+
providerName: u.web_name,
|
|
1507
|
+
machine: u.machine,
|
|
1498
1508
|
onClick: () => {
|
|
1499
|
-
|
|
1509
|
+
re(u, { basePath: "/casino-en-vivo" });
|
|
1500
1510
|
}
|
|
1501
1511
|
},
|
|
1502
|
-
|
|
1512
|
+
Ut(u, x)
|
|
1503
1513
|
);
|
|
1504
1514
|
})
|
|
1505
1515
|
}
|
|
@@ -1509,7 +1519,7 @@ const jt = (t, r) => {
|
|
|
1509
1519
|
{
|
|
1510
1520
|
variant: "primary",
|
|
1511
1521
|
size: "lg",
|
|
1512
|
-
onClick: () =>
|
|
1522
|
+
onClick: () => r == null ? void 0 : r(),
|
|
1513
1523
|
children: "Ver más"
|
|
1514
1524
|
}
|
|
1515
1525
|
) })
|
|
@@ -1518,65 +1528,60 @@ const jt = (t, r) => {
|
|
|
1518
1528
|
)
|
|
1519
1529
|
]
|
|
1520
1530
|
}
|
|
1521
|
-
)),
|
|
1522
|
-
var a,
|
|
1523
|
-
return (
|
|
1524
|
-
},
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
const r = (s = t.name) != null ? s : "", a = (l = t.provider) != null ? l : "", o = (h = t.machine) != null ? h : "", c = (S = t.external_id) != null ? S : "", n = (g = t.type) != null ? g : "Casino", i = encodeURIComponent(String(a)), m = encodeURIComponent(String(o)), d = encodeURIComponent(String(r)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/casino?${m}?provider=${i}&name=${d}&external_id=${f}&type=${x}`;
|
|
1528
|
-
window.location.href = I;
|
|
1529
|
-
}, Dt = (t, r = !0, a = 4) => {
|
|
1530
|
-
const o = t.map((i, m) => {
|
|
1531
|
-
var d;
|
|
1531
|
+
)), Te = (t, n) => {
|
|
1532
|
+
var a, i;
|
|
1533
|
+
return (i = (a = t.orden) != null ? a : t.machine) != null ? i : n;
|
|
1534
|
+
}, Vt = (t, n = !0, a = 4) => {
|
|
1535
|
+
const i = t.map((r, m) => {
|
|
1536
|
+
var u;
|
|
1532
1537
|
return {
|
|
1533
|
-
id:
|
|
1534
|
-
imageUrl: (
|
|
1538
|
+
id: Te(r, m),
|
|
1539
|
+
imageUrl: (u = r.logo) != null ? u : ""
|
|
1535
1540
|
};
|
|
1536
1541
|
});
|
|
1537
|
-
if (!
|
|
1538
|
-
const
|
|
1539
|
-
let
|
|
1540
|
-
if (
|
|
1541
|
-
const
|
|
1542
|
-
|
|
1542
|
+
if (!i.length) return [];
|
|
1543
|
+
const l = [];
|
|
1544
|
+
let o = 0;
|
|
1545
|
+
if (n) {
|
|
1546
|
+
const r = Math.min(i.length, 5);
|
|
1547
|
+
l.push({
|
|
1543
1548
|
id: "mosaic-0",
|
|
1544
1549
|
kind: "mosaic",
|
|
1545
|
-
items:
|
|
1546
|
-
}),
|
|
1550
|
+
items: i.slice(0, r)
|
|
1551
|
+
}), o = r;
|
|
1547
1552
|
}
|
|
1548
|
-
for (;
|
|
1549
|
-
const
|
|
1550
|
-
|
|
1551
|
-
id: `grid-${
|
|
1553
|
+
for (; o < i.length; ) {
|
|
1554
|
+
const r = Math.min(o + a, i.length);
|
|
1555
|
+
l.push({
|
|
1556
|
+
id: `grid-${o}`,
|
|
1552
1557
|
kind: "grid",
|
|
1553
|
-
items:
|
|
1554
|
-
}),
|
|
1558
|
+
items: i.slice(o, r)
|
|
1559
|
+
}), o = r;
|
|
1555
1560
|
}
|
|
1556
|
-
return
|
|
1561
|
+
return l;
|
|
1557
1562
|
}, Ht = ({
|
|
1558
1563
|
items: t,
|
|
1559
|
-
title:
|
|
1564
|
+
title: n = "Casino",
|
|
1560
1565
|
iconUrl: a = "/assets/img/home/Casino/diamante.svg",
|
|
1561
|
-
onItemClick:
|
|
1562
|
-
onViewMore:
|
|
1563
|
-
mosaicFirst:
|
|
1564
|
-
gridSize:
|
|
1566
|
+
onItemClick: i,
|
|
1567
|
+
onViewMore: l,
|
|
1568
|
+
mosaicFirst: o = !0,
|
|
1569
|
+
gridSize: r = 4
|
|
1565
1570
|
}) => {
|
|
1566
|
-
const m =
|
|
1567
|
-
var
|
|
1568
|
-
(
|
|
1569
|
-
},
|
|
1570
|
-
var
|
|
1571
|
-
(
|
|
1571
|
+
const m = G(null), [u, x] = W({ isStart: !0, isEnd: !1 }), b = () => {
|
|
1572
|
+
var v;
|
|
1573
|
+
(v = m.current) == null || v.prev();
|
|
1574
|
+
}, O = () => {
|
|
1575
|
+
var v;
|
|
1576
|
+
(v = m.current) == null || v.next();
|
|
1572
1577
|
}, s = () => {
|
|
1573
1578
|
window.location.href = "https://www.olimpo.bet/casino";
|
|
1574
|
-
},
|
|
1575
|
-
const
|
|
1576
|
-
return
|
|
1577
|
-
},
|
|
1578
|
-
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */
|
|
1579
|
-
/* @__PURE__ */
|
|
1579
|
+
}, p = (v = !0, S = 4) => {
|
|
1580
|
+
const I = (C) => Array.from({ length: C }, (T, P) => ({ id: `sk-${C}-${P}`, imageUrl: "" })), f = [];
|
|
1581
|
+
return v && f.push({ id: "mosaic-loading", kind: "mosaic", items: I(5) }), f.push({ id: "grid-loading", kind: "grid", items: I(S) }), f;
|
|
1582
|
+
}, _ = !t || t.length === 0, $ = _ ? p(o, r) : Vt(t, o, r);
|
|
1583
|
+
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ c(B, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1584
|
+
/* @__PURE__ */ c(
|
|
1580
1585
|
k,
|
|
1581
1586
|
{
|
|
1582
1587
|
sx: {
|
|
@@ -1590,12 +1595,12 @@ const jt = (t, r) => {
|
|
|
1590
1595
|
/* @__PURE__ */ e(
|
|
1591
1596
|
K,
|
|
1592
1597
|
{
|
|
1593
|
-
title:
|
|
1598
|
+
title: n,
|
|
1594
1599
|
iconUrl: a,
|
|
1595
1600
|
size: "md"
|
|
1596
1601
|
}
|
|
1597
1602
|
),
|
|
1598
|
-
/* @__PURE__ */
|
|
1603
|
+
/* @__PURE__ */ c(
|
|
1599
1604
|
k,
|
|
1600
1605
|
{
|
|
1601
1606
|
sx: {
|
|
@@ -1610,9 +1615,9 @@ const jt = (t, r) => {
|
|
|
1610
1615
|
ariaLabel: "Anterior",
|
|
1611
1616
|
variant: "secondary",
|
|
1612
1617
|
iconOnly: !0,
|
|
1613
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1614
|
-
onClick:
|
|
1615
|
-
disabled:
|
|
1618
|
+
leftIcon: /* @__PURE__ */ e(Ce, {}),
|
|
1619
|
+
onClick: b,
|
|
1620
|
+
disabled: u.isStart
|
|
1616
1621
|
}
|
|
1617
1622
|
),
|
|
1618
1623
|
/* @__PURE__ */ e(
|
|
@@ -1621,9 +1626,9 @@ const jt = (t, r) => {
|
|
|
1621
1626
|
ariaLabel: "Siguiente",
|
|
1622
1627
|
variant: "secondary",
|
|
1623
1628
|
iconOnly: !0,
|
|
1624
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1625
|
-
onClick:
|
|
1626
|
-
disabled:
|
|
1629
|
+
rightIcon: /* @__PURE__ */ e(Ee, {}),
|
|
1630
|
+
onClick: O,
|
|
1631
|
+
disabled: u.isEnd
|
|
1627
1632
|
}
|
|
1628
1633
|
)
|
|
1629
1634
|
]
|
|
@@ -1637,7 +1642,7 @@ const jt = (t, r) => {
|
|
|
1637
1642
|
q,
|
|
1638
1643
|
{
|
|
1639
1644
|
ref: m,
|
|
1640
|
-
items:
|
|
1645
|
+
items: $,
|
|
1641
1646
|
perPage: 1,
|
|
1642
1647
|
gap: "0px",
|
|
1643
1648
|
options: {
|
|
@@ -1649,83 +1654,78 @@ const jt = (t, r) => {
|
|
|
1649
1654
|
drag: !0,
|
|
1650
1655
|
focus: "start"
|
|
1651
1656
|
},
|
|
1652
|
-
renderItem: (
|
|
1653
|
-
|
|
1657
|
+
renderItem: (v) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
|
|
1658
|
+
Ie,
|
|
1654
1659
|
{
|
|
1655
|
-
items:
|
|
1656
|
-
layout:
|
|
1657
|
-
loading:
|
|
1658
|
-
onClick: (
|
|
1659
|
-
const
|
|
1660
|
-
(
|
|
1660
|
+
items: v.items,
|
|
1661
|
+
layout: v.kind === "mosaic" ? "mosaic" : "grid",
|
|
1662
|
+
loading: _,
|
|
1663
|
+
onClick: (S) => {
|
|
1664
|
+
const I = t.find(
|
|
1665
|
+
(f, C) => Te(f, C) === S.id
|
|
1661
1666
|
);
|
|
1662
|
-
|
|
1667
|
+
_ || I && re(I, { basePath: "/casino" });
|
|
1663
1668
|
}
|
|
1664
1669
|
}
|
|
1665
1670
|
) }),
|
|
1666
|
-
onMove: ({ isStart:
|
|
1671
|
+
onMove: ({ isStart: v, isEnd: S }) => x({ isStart: v, isEnd: S })
|
|
1667
1672
|
}
|
|
1668
1673
|
)
|
|
1669
1674
|
] }) });
|
|
1670
|
-
},
|
|
1671
|
-
var a,
|
|
1672
|
-
return (
|
|
1673
|
-
},
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
const r = (s = t.name) != null ? s : "", a = (l = t.provider) != null ? l : "", o = (h = t.machine) != null ? h : "", c = (S = t.external_id) != null ? S : "", n = (g = t.type) != null ? g : "Virtuales", i = encodeURIComponent(String(a)), m = encodeURIComponent(String(o)), d = encodeURIComponent(String(r)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/juegos-virtuales?${m}?provider=${i}&name=${d}&external_id=${f}&type=${x}`;
|
|
1677
|
-
window.location.href = I;
|
|
1678
|
-
}, Kt = (t, r = !0, a = 4) => {
|
|
1679
|
-
const o = t.map((i, m) => {
|
|
1680
|
-
var d;
|
|
1675
|
+
}, Re = (t, n) => {
|
|
1676
|
+
var a, i;
|
|
1677
|
+
return (i = (a = t.orden) != null ? a : t.machine) != null ? i : n;
|
|
1678
|
+
}, Kt = (t, n = !0, a = 4) => {
|
|
1679
|
+
const i = t.map((r, m) => {
|
|
1680
|
+
var u;
|
|
1681
1681
|
return {
|
|
1682
|
-
id:
|
|
1683
|
-
imageUrl: (
|
|
1682
|
+
id: Re(r, m),
|
|
1683
|
+
imageUrl: (u = r.logo) != null ? u : ""
|
|
1684
1684
|
};
|
|
1685
1685
|
});
|
|
1686
|
-
if (!
|
|
1687
|
-
const
|
|
1688
|
-
let
|
|
1689
|
-
if (
|
|
1690
|
-
const
|
|
1691
|
-
|
|
1686
|
+
if (!i.length) return [];
|
|
1687
|
+
const l = [];
|
|
1688
|
+
let o = 0;
|
|
1689
|
+
if (n) {
|
|
1690
|
+
const r = Math.min(i.length, 5);
|
|
1691
|
+
l.push({
|
|
1692
1692
|
id: "mosaic-0",
|
|
1693
1693
|
kind: "mosaic",
|
|
1694
|
-
items:
|
|
1695
|
-
}),
|
|
1694
|
+
items: i.slice(0, r)
|
|
1695
|
+
}), o = r;
|
|
1696
1696
|
}
|
|
1697
|
-
for (;
|
|
1698
|
-
const
|
|
1699
|
-
|
|
1700
|
-
id: `grid-${
|
|
1697
|
+
for (; o < i.length; ) {
|
|
1698
|
+
const r = Math.min(o + a, i.length);
|
|
1699
|
+
l.push({
|
|
1700
|
+
id: `grid-${o}`,
|
|
1701
1701
|
kind: "grid",
|
|
1702
|
-
items:
|
|
1703
|
-
}),
|
|
1702
|
+
items: i.slice(o, r)
|
|
1703
|
+
}), o = r;
|
|
1704
1704
|
}
|
|
1705
|
-
return
|
|
1705
|
+
return l;
|
|
1706
1706
|
}, qt = ({
|
|
1707
1707
|
items: t,
|
|
1708
|
-
title:
|
|
1708
|
+
title: n = "Virtuales",
|
|
1709
1709
|
iconUrl: a = "/assets/img/home/Virtuales/virtuales.svg",
|
|
1710
|
-
onItemClick:
|
|
1711
|
-
onViewMore:
|
|
1712
|
-
mosaicFirst:
|
|
1713
|
-
gridSize:
|
|
1710
|
+
onItemClick: i,
|
|
1711
|
+
onViewMore: l,
|
|
1712
|
+
mosaicFirst: o = !0,
|
|
1713
|
+
gridSize: r = 4
|
|
1714
1714
|
}) => {
|
|
1715
|
-
const m =
|
|
1716
|
-
var
|
|
1717
|
-
(
|
|
1718
|
-
},
|
|
1719
|
-
var
|
|
1720
|
-
(
|
|
1715
|
+
const m = G(null), [u, x] = W({ isStart: !0, isEnd: !1 }), b = () => {
|
|
1716
|
+
var v;
|
|
1717
|
+
(v = m.current) == null || v.prev();
|
|
1718
|
+
}, O = () => {
|
|
1719
|
+
var v;
|
|
1720
|
+
(v = m.current) == null || v.next();
|
|
1721
1721
|
}, s = () => {
|
|
1722
1722
|
window.location.href = "https://www.olimpo.bet/virtuales";
|
|
1723
|
-
},
|
|
1724
|
-
const
|
|
1725
|
-
return
|
|
1726
|
-
},
|
|
1727
|
-
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */
|
|
1728
|
-
/* @__PURE__ */
|
|
1723
|
+
}, p = (v = !0, S = 4) => {
|
|
1724
|
+
const I = (C) => Array.from({ length: C }, (T, P) => ({ id: `sk-${C}-${P}`, imageUrl: "" })), f = [];
|
|
1725
|
+
return v && f.push({ id: "mosaic-loading", kind: "mosaic", items: I(5) }), f.push({ id: "grid-loading", kind: "grid", items: I(S) }), f;
|
|
1726
|
+
}, _ = !t || t.length === 0, $ = _ ? p(o, r) : Kt(t, o, r);
|
|
1727
|
+
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ c(B, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1728
|
+
/* @__PURE__ */ c(
|
|
1729
1729
|
k,
|
|
1730
1730
|
{
|
|
1731
1731
|
sx: {
|
|
@@ -1739,12 +1739,12 @@ const jt = (t, r) => {
|
|
|
1739
1739
|
/* @__PURE__ */ e(
|
|
1740
1740
|
K,
|
|
1741
1741
|
{
|
|
1742
|
-
title:
|
|
1742
|
+
title: n,
|
|
1743
1743
|
iconUrl: a,
|
|
1744
1744
|
size: "md"
|
|
1745
1745
|
}
|
|
1746
1746
|
),
|
|
1747
|
-
/* @__PURE__ */
|
|
1747
|
+
/* @__PURE__ */ c(
|
|
1748
1748
|
k,
|
|
1749
1749
|
{
|
|
1750
1750
|
sx: {
|
|
@@ -1759,9 +1759,9 @@ const jt = (t, r) => {
|
|
|
1759
1759
|
ariaLabel: "Anterior",
|
|
1760
1760
|
variant: "secondary",
|
|
1761
1761
|
iconOnly: !0,
|
|
1762
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1763
|
-
onClick:
|
|
1764
|
-
disabled:
|
|
1762
|
+
leftIcon: /* @__PURE__ */ e(Ce, {}),
|
|
1763
|
+
onClick: b,
|
|
1764
|
+
disabled: u.isStart
|
|
1765
1765
|
}
|
|
1766
1766
|
),
|
|
1767
1767
|
/* @__PURE__ */ e(
|
|
@@ -1770,9 +1770,9 @@ const jt = (t, r) => {
|
|
|
1770
1770
|
ariaLabel: "Siguiente",
|
|
1771
1771
|
variant: "secondary",
|
|
1772
1772
|
iconOnly: !0,
|
|
1773
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1774
|
-
onClick:
|
|
1775
|
-
disabled:
|
|
1773
|
+
rightIcon: /* @__PURE__ */ e(Ee, {}),
|
|
1774
|
+
onClick: O,
|
|
1775
|
+
disabled: u.isEnd
|
|
1776
1776
|
}
|
|
1777
1777
|
)
|
|
1778
1778
|
]
|
|
@@ -1786,7 +1786,7 @@ const jt = (t, r) => {
|
|
|
1786
1786
|
q,
|
|
1787
1787
|
{
|
|
1788
1788
|
ref: m,
|
|
1789
|
-
items:
|
|
1789
|
+
items: $,
|
|
1790
1790
|
perPage: 1,
|
|
1791
1791
|
gap: "0",
|
|
1792
1792
|
options: {
|
|
@@ -1799,21 +1799,21 @@ const jt = (t, r) => {
|
|
|
1799
1799
|
focus: "start",
|
|
1800
1800
|
perMove: 1
|
|
1801
1801
|
},
|
|
1802
|
-
renderItem: (
|
|
1803
|
-
|
|
1802
|
+
renderItem: (v) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
|
|
1803
|
+
Ie,
|
|
1804
1804
|
{
|
|
1805
|
-
items:
|
|
1806
|
-
layout:
|
|
1807
|
-
loading:
|
|
1808
|
-
onClick: (
|
|
1809
|
-
const
|
|
1810
|
-
(
|
|
1805
|
+
items: v.items,
|
|
1806
|
+
layout: v.kind === "mosaic" ? "mosaic" : "grid",
|
|
1807
|
+
loading: _,
|
|
1808
|
+
onClick: (S) => {
|
|
1809
|
+
const I = t.find(
|
|
1810
|
+
(f, C) => Re(f, C) === S.id
|
|
1811
1811
|
);
|
|
1812
|
-
|
|
1812
|
+
_ || I && re(I, { basePath: "/casino" });
|
|
1813
1813
|
}
|
|
1814
1814
|
}
|
|
1815
1815
|
) }),
|
|
1816
|
-
onMove: ({ isStart:
|
|
1816
|
+
onMove: ({ isStart: v, isEnd: S }) => x({ isStart: v, isEnd: S })
|
|
1817
1817
|
}
|
|
1818
1818
|
)
|
|
1819
1819
|
] }) });
|
|
@@ -1836,15 +1836,15 @@ const jt = (t, r) => {
|
|
|
1836
1836
|
backgroundRepeat: "no-repeat",
|
|
1837
1837
|
backgroundPosition: "center",
|
|
1838
1838
|
backgroundSize: "cover"
|
|
1839
|
-
}),
|
|
1839
|
+
}), fe = {
|
|
1840
1840
|
textAlign: "center",
|
|
1841
1841
|
lineHeight: 1.1,
|
|
1842
1842
|
mb: 1.5
|
|
1843
|
-
},
|
|
1843
|
+
}, xe = {
|
|
1844
1844
|
display: "inline-block",
|
|
1845
1845
|
fontWeight: 600,
|
|
1846
1846
|
fontSize: 24
|
|
1847
|
-
},
|
|
1847
|
+
}, be = {
|
|
1848
1848
|
display: "inline-block",
|
|
1849
1849
|
fontSize: 24,
|
|
1850
1850
|
lineHeight: 1.1,
|
|
@@ -1856,27 +1856,27 @@ const jt = (t, r) => {
|
|
|
1856
1856
|
`
|
|
1857
1857
|
}, Xt = ({
|
|
1858
1858
|
headline: t,
|
|
1859
|
-
headline2:
|
|
1859
|
+
headline2: n,
|
|
1860
1860
|
items: a,
|
|
1861
|
-
backgroundImageUrl:
|
|
1861
|
+
backgroundImageUrl: i
|
|
1862
1862
|
}) => {
|
|
1863
|
-
const
|
|
1863
|
+
const l = t, o = n, r = Ge("(max-width: 767px)"), m = a.length > 1, u = i != null ? i : "", x = Jt(u), b = G(null), [O, s] = W({ isStart: !0, isEnd: !1 }), [p, _] = W(0), $ = (v) => /* @__PURE__ */ c(
|
|
1864
1864
|
k,
|
|
1865
1865
|
{
|
|
1866
1866
|
sx: {
|
|
1867
1867
|
width: "100%",
|
|
1868
|
-
maxWidth:
|
|
1869
|
-
mx:
|
|
1868
|
+
maxWidth: v ? 600 : "100%",
|
|
1869
|
+
mx: v ? "auto" : 0
|
|
1870
1870
|
},
|
|
1871
1871
|
children: [
|
|
1872
1872
|
/* @__PURE__ */ e(
|
|
1873
1873
|
q,
|
|
1874
1874
|
{
|
|
1875
|
-
ref:
|
|
1875
|
+
ref: b,
|
|
1876
1876
|
items: a,
|
|
1877
1877
|
perPage: 1,
|
|
1878
|
-
gap:
|
|
1879
|
-
breakpoints:
|
|
1878
|
+
gap: v ? "24px" : "12px",
|
|
1879
|
+
breakpoints: v ? void 0 : {
|
|
1880
1880
|
480: {
|
|
1881
1881
|
perPage: 1,
|
|
1882
1882
|
gap: "8px",
|
|
@@ -1889,16 +1889,16 @@ const jt = (t, r) => {
|
|
|
1889
1889
|
}
|
|
1890
1890
|
},
|
|
1891
1891
|
options: { autoWidth: !1 },
|
|
1892
|
-
renderItem: (
|
|
1893
|
-
|
|
1892
|
+
renderItem: (S) => /* @__PURE__ */ e(
|
|
1893
|
+
ft,
|
|
1894
1894
|
{
|
|
1895
|
-
...
|
|
1896
|
-
onButtonClick:
|
|
1897
|
-
isDesktop:
|
|
1895
|
+
...S,
|
|
1896
|
+
onButtonClick: S.onButtonClick,
|
|
1897
|
+
isDesktop: v
|
|
1898
1898
|
}
|
|
1899
1899
|
),
|
|
1900
|
-
onMove: ({ index:
|
|
1901
|
-
s({ isStart:
|
|
1900
|
+
onMove: ({ index: S, isStart: I, isEnd: f }) => {
|
|
1901
|
+
s({ isStart: I, isEnd: f }), _(S);
|
|
1902
1902
|
}
|
|
1903
1903
|
}
|
|
1904
1904
|
),
|
|
@@ -1911,13 +1911,13 @@ const jt = (t, r) => {
|
|
|
1911
1911
|
justifyContent: "center"
|
|
1912
1912
|
},
|
|
1913
1913
|
children: /* @__PURE__ */ e(
|
|
1914
|
-
|
|
1914
|
+
ke,
|
|
1915
1915
|
{
|
|
1916
1916
|
total: a.length,
|
|
1917
|
-
active:
|
|
1918
|
-
onSelect: (
|
|
1919
|
-
var
|
|
1920
|
-
|
|
1917
|
+
active: p,
|
|
1918
|
+
onSelect: (S) => {
|
|
1919
|
+
var I;
|
|
1920
|
+
_(S), (I = b.current) == null || I.go(S);
|
|
1921
1921
|
}
|
|
1922
1922
|
}
|
|
1923
1923
|
)
|
|
@@ -1926,26 +1926,26 @@ const jt = (t, r) => {
|
|
|
1926
1926
|
]
|
|
1927
1927
|
}
|
|
1928
1928
|
);
|
|
1929
|
-
return
|
|
1929
|
+
return r ? /* @__PURE__ */ c(
|
|
1930
1930
|
k,
|
|
1931
1931
|
{
|
|
1932
1932
|
component: "section",
|
|
1933
1933
|
sx: {
|
|
1934
|
-
...
|
|
1934
|
+
...x,
|
|
1935
1935
|
textAlign: "center"
|
|
1936
1936
|
},
|
|
1937
1937
|
children: [
|
|
1938
|
-
(
|
|
1939
|
-
|
|
1940
|
-
|
|
1938
|
+
(l || o) && /* @__PURE__ */ c(k, { sx: fe, children: [
|
|
1939
|
+
l && /* @__PURE__ */ e(D, { component: "span", sx: xe, children: l }),
|
|
1940
|
+
o && /* @__PURE__ */ c(Z, { children: [
|
|
1941
1941
|
/* @__PURE__ */ e("br", {}),
|
|
1942
|
-
/* @__PURE__ */ e(D, { component: "span", sx:
|
|
1942
|
+
/* @__PURE__ */ e(D, { component: "span", sx: be, children: o })
|
|
1943
1943
|
] })
|
|
1944
1944
|
] }),
|
|
1945
|
-
|
|
1945
|
+
$(!1)
|
|
1946
1946
|
]
|
|
1947
1947
|
}
|
|
1948
|
-
) : /* @__PURE__ */ e(k, { component: "section", sx:
|
|
1948
|
+
) : /* @__PURE__ */ e(k, { component: "section", sx: x, children: /* @__PURE__ */ c(
|
|
1949
1949
|
k,
|
|
1950
1950
|
{
|
|
1951
1951
|
sx: {
|
|
@@ -1958,7 +1958,7 @@ const jt = (t, r) => {
|
|
|
1958
1958
|
columnGap: 6
|
|
1959
1959
|
},
|
|
1960
1960
|
children: [
|
|
1961
|
-
(
|
|
1961
|
+
(l || o) && /* @__PURE__ */ e(
|
|
1962
1962
|
k,
|
|
1963
1963
|
{
|
|
1964
1964
|
sx: {
|
|
@@ -1967,19 +1967,19 @@ const jt = (t, r) => {
|
|
|
1967
1967
|
justifyContent: "flex-start",
|
|
1968
1968
|
minHeight: "100%"
|
|
1969
1969
|
},
|
|
1970
|
-
children: /* @__PURE__ */
|
|
1970
|
+
children: /* @__PURE__ */ c(
|
|
1971
1971
|
k,
|
|
1972
1972
|
{
|
|
1973
1973
|
sx: {
|
|
1974
|
-
...
|
|
1974
|
+
...fe,
|
|
1975
1975
|
textAlign: "left",
|
|
1976
1976
|
mb: 0
|
|
1977
1977
|
},
|
|
1978
1978
|
children: [
|
|
1979
|
-
|
|
1980
|
-
|
|
1979
|
+
l && /* @__PURE__ */ e(D, { component: "span", sx: xe, children: l }),
|
|
1980
|
+
o && /* @__PURE__ */ c(Z, { children: [
|
|
1981
1981
|
/* @__PURE__ */ e("br", {}),
|
|
1982
|
-
/* @__PURE__ */ e(D, { component: "span", sx:
|
|
1982
|
+
/* @__PURE__ */ e(D, { component: "span", sx: be, children: o })
|
|
1983
1983
|
] })
|
|
1984
1984
|
]
|
|
1985
1985
|
}
|
|
@@ -1994,7 +1994,7 @@ const jt = (t, r) => {
|
|
|
1994
1994
|
justifyContent: "center",
|
|
1995
1995
|
alignItems: "center"
|
|
1996
1996
|
},
|
|
1997
|
-
children:
|
|
1997
|
+
children: $(!0)
|
|
1998
1998
|
}
|
|
1999
1999
|
)
|
|
2000
2000
|
]
|
|
@@ -2002,46 +2002,46 @@ const jt = (t, r) => {
|
|
|
2002
2002
|
) });
|
|
2003
2003
|
}, Qt = ({
|
|
2004
2004
|
className: t = "",
|
|
2005
|
-
fullBleed:
|
|
2005
|
+
fullBleed: n = !0,
|
|
2006
2006
|
items: a,
|
|
2007
|
-
selectedIndex:
|
|
2008
|
-
ariaLabel:
|
|
2007
|
+
selectedIndex: i = 0,
|
|
2008
|
+
ariaLabel: l
|
|
2009
2009
|
}) => {
|
|
2010
|
-
const
|
|
2010
|
+
const o = G(null), r = G(null);
|
|
2011
2011
|
if (!a) return null;
|
|
2012
2012
|
const m = () => {
|
|
2013
2013
|
window.location.href = "https://www.olimpo.bet/conoce-club-olimpo";
|
|
2014
|
-
},
|
|
2015
|
-
|
|
2016
|
-
if (!
|
|
2017
|
-
const
|
|
2018
|
-
|
|
2014
|
+
}, u = Array.isArray(a) ? a[i] : a;
|
|
2015
|
+
ze(() => {
|
|
2016
|
+
if (!o.current || !r.current || typeof ResizeObserver == "undefined") return;
|
|
2017
|
+
const b = o.current, O = r.current, s = () => {
|
|
2018
|
+
b.style.setProperty(
|
|
2019
2019
|
"--orc-co-bottomH",
|
|
2020
|
-
`${
|
|
2020
|
+
`${O.offsetHeight + 16}px`
|
|
2021
2021
|
);
|
|
2022
|
-
},
|
|
2023
|
-
return
|
|
2022
|
+
}, p = new ResizeObserver(s);
|
|
2023
|
+
return p.observe(O), s(), () => p.disconnect();
|
|
2024
2024
|
}, []);
|
|
2025
|
-
const
|
|
2025
|
+
const x = [
|
|
2026
2026
|
"orc-co-wrap",
|
|
2027
|
-
|
|
2027
|
+
n ? "orc-co-fullBleed" : "",
|
|
2028
2028
|
t
|
|
2029
2029
|
].filter(Boolean).join(" ");
|
|
2030
2030
|
return /* @__PURE__ */ e(
|
|
2031
2031
|
"section",
|
|
2032
2032
|
{
|
|
2033
|
-
ref:
|
|
2034
|
-
className:
|
|
2035
|
-
"aria-label":
|
|
2036
|
-
children: /* @__PURE__ */ e("div", { ref:
|
|
2037
|
-
|
|
2033
|
+
ref: o,
|
|
2034
|
+
className: x,
|
|
2035
|
+
"aria-label": l || u.imgAlt || "Club Olimpo",
|
|
2036
|
+
children: /* @__PURE__ */ e("div", { ref: r, children: /* @__PURE__ */ e(
|
|
2037
|
+
xt,
|
|
2038
2038
|
{
|
|
2039
|
-
text:
|
|
2039
|
+
text: u.text,
|
|
2040
2040
|
onClick: m,
|
|
2041
|
-
imgAlt:
|
|
2042
|
-
imgSrcMobile:
|
|
2043
|
-
imgSrcDesktopBg:
|
|
2044
|
-
imgSrcDesktopLogo:
|
|
2041
|
+
imgAlt: u.imgAlt,
|
|
2042
|
+
imgSrcMobile: u.imgMobile,
|
|
2043
|
+
imgSrcDesktopBg: u.imgDesktopBg,
|
|
2044
|
+
imgSrcDesktopLogo: u.imgDesktopLogo
|
|
2045
2045
|
}
|
|
2046
2046
|
) })
|
|
2047
2047
|
}
|
|
@@ -2049,131 +2049,131 @@ const jt = (t, r) => {
|
|
|
2049
2049
|
}, Yt = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Zt = {
|
|
2050
2050
|
controls: Yt
|
|
2051
2051
|
};
|
|
2052
|
-
function
|
|
2052
|
+
function eo({
|
|
2053
2053
|
items: t,
|
|
2054
|
-
title:
|
|
2054
|
+
title: n = "Combinadas del Olimpo",
|
|
2055
2055
|
iconUrl: a = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
|
|
2056
|
-
onViewMore:
|
|
2057
|
-
className:
|
|
2056
|
+
onViewMore: i,
|
|
2057
|
+
className: l = ""
|
|
2058
2058
|
}) {
|
|
2059
|
-
const
|
|
2060
|
-
var
|
|
2061
|
-
(
|
|
2059
|
+
const o = G(null), [r, m] = W({ isStart: !0, isEnd: !1 }), [u, x] = W([]), b = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", O = () => {
|
|
2060
|
+
var f;
|
|
2061
|
+
(f = o.current) == null || f.prev();
|
|
2062
2062
|
}, s = () => {
|
|
2063
|
-
var
|
|
2064
|
-
(
|
|
2065
|
-
},
|
|
2066
|
-
|
|
2063
|
+
var f;
|
|
2064
|
+
(f = o.current) == null || f.next();
|
|
2065
|
+
}, p = () => {
|
|
2066
|
+
Ot();
|
|
2067
2067
|
};
|
|
2068
|
-
async function
|
|
2069
|
-
var
|
|
2068
|
+
async function _() {
|
|
2069
|
+
var f, C, T;
|
|
2070
2070
|
try {
|
|
2071
|
-
const
|
|
2072
|
-
if (!
|
|
2071
|
+
const E = await (await fetch(b)).json(), d = (T = (C = (f = E == null ? void 0 : E.group) == null ? void 0 : f.groups) == null ? void 0 : C[0]) == null ? void 0 : T.id;
|
|
2072
|
+
if (!d) {
|
|
2073
2073
|
console.error("Could not extract group ID");
|
|
2074
2074
|
return;
|
|
2075
2075
|
}
|
|
2076
|
-
const
|
|
2077
|
-
|
|
2078
|
-
|
|
2076
|
+
const h = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${d}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, g = await (await fetch(h)).json();
|
|
2077
|
+
x(
|
|
2078
|
+
$(g.events, g.betOffers, g.prePackCoupons)
|
|
2079
2079
|
);
|
|
2080
|
-
} catch (
|
|
2081
|
-
console.error("loadDataEventSpecial error:",
|
|
2080
|
+
} catch (P) {
|
|
2081
|
+
console.error("loadDataEventSpecial error:", P);
|
|
2082
2082
|
}
|
|
2083
2083
|
}
|
|
2084
|
-
function
|
|
2085
|
-
const
|
|
2086
|
-
for (const
|
|
2087
|
-
const
|
|
2088
|
-
var
|
|
2089
|
-
|
|
2090
|
-
const N =
|
|
2091
|
-
(z) =>
|
|
2084
|
+
function $(f, C, T) {
|
|
2085
|
+
const P = [];
|
|
2086
|
+
for (const E of T) {
|
|
2087
|
+
const d = S([E]), h = v(E), w = C.reduce((g, y) => {
|
|
2088
|
+
var R, F;
|
|
2089
|
+
g[y.eventId] || (g[y.eventId] = []);
|
|
2090
|
+
const N = y.outcomes.filter(
|
|
2091
|
+
(z) => d.has(z.id)
|
|
2092
2092
|
);
|
|
2093
2093
|
if (N.length > 0) {
|
|
2094
2094
|
const z = Array.from(
|
|
2095
|
-
(
|
|
2096
|
-
),
|
|
2095
|
+
(F = (R = h == null ? void 0 : h[0]) == null ? void 0 : R.requiredOutcomeIds) != null ? F : []
|
|
2096
|
+
), A = N.map((Y) => ({
|
|
2097
2097
|
...Y,
|
|
2098
2098
|
position: z.indexOf(Y.id)
|
|
2099
2099
|
}));
|
|
2100
|
-
|
|
2101
|
-
...
|
|
2102
|
-
outcomes:
|
|
2100
|
+
g[y.eventId].push({
|
|
2101
|
+
...y,
|
|
2102
|
+
outcomes: A
|
|
2103
2103
|
});
|
|
2104
2104
|
}
|
|
2105
|
-
return
|
|
2105
|
+
return g;
|
|
2106
2106
|
}, {});
|
|
2107
|
-
|
|
2108
|
-
if (
|
|
2109
|
-
const
|
|
2107
|
+
f.forEach((g) => {
|
|
2108
|
+
if (g.id !== E.prePackCouponRows[0].eventId) return;
|
|
2109
|
+
const y = d;
|
|
2110
2110
|
let N = null;
|
|
2111
|
-
for (const
|
|
2112
|
-
if ([...
|
|
2113
|
-
N =
|
|
2111
|
+
for (const R of h)
|
|
2112
|
+
if ([...R.requiredOutcomeIds].every((z) => y.has(z))) {
|
|
2113
|
+
N = R.decimal;
|
|
2114
2114
|
break;
|
|
2115
2115
|
}
|
|
2116
|
-
|
|
2117
|
-
...
|
|
2116
|
+
P.push({
|
|
2117
|
+
...g,
|
|
2118
2118
|
combinadoTotal: N,
|
|
2119
|
-
betoffers:
|
|
2120
|
-
couponId:
|
|
2119
|
+
betoffers: w[g.id] || [],
|
|
2120
|
+
couponId: E.id
|
|
2121
2121
|
// optional for tracking
|
|
2122
2122
|
});
|
|
2123
2123
|
});
|
|
2124
2124
|
}
|
|
2125
|
-
return
|
|
2125
|
+
return P;
|
|
2126
2126
|
}
|
|
2127
|
-
function
|
|
2127
|
+
function v(f) {
|
|
2128
2128
|
var T;
|
|
2129
|
-
const
|
|
2130
|
-
for (const
|
|
2131
|
-
if (
|
|
2132
|
-
const
|
|
2133
|
-
|
|
2134
|
-
var
|
|
2135
|
-
(
|
|
2136
|
-
}),
|
|
2137
|
-
requiredOutcomeIds:
|
|
2138
|
-
decimal:
|
|
2129
|
+
const C = [];
|
|
2130
|
+
for (const P of f.prePackCouponRows)
|
|
2131
|
+
if (P.type === "BET_BUILDER" && ((T = P.group) != null && T.groups)) {
|
|
2132
|
+
const E = /* @__PURE__ */ new Set();
|
|
2133
|
+
P.group.groups.forEach((d) => {
|
|
2134
|
+
var h;
|
|
2135
|
+
(h = d.outcomes) == null || h.forEach((w) => E.add(w.id));
|
|
2136
|
+
}), C.push({
|
|
2137
|
+
requiredOutcomeIds: E,
|
|
2138
|
+
decimal: P.odds.decimal
|
|
2139
2139
|
});
|
|
2140
2140
|
}
|
|
2141
|
-
return
|
|
2141
|
+
return C;
|
|
2142
2142
|
}
|
|
2143
|
-
function
|
|
2143
|
+
function S(f) {
|
|
2144
2144
|
var T;
|
|
2145
|
-
const
|
|
2146
|
-
for (const
|
|
2147
|
-
for (const
|
|
2148
|
-
|
|
2149
|
-
var
|
|
2150
|
-
(
|
|
2151
|
-
}),
|
|
2152
|
-
return
|
|
2145
|
+
const C = /* @__PURE__ */ new Set();
|
|
2146
|
+
for (const P of f)
|
|
2147
|
+
for (const E of P.prePackCouponRows)
|
|
2148
|
+
E.type === "BET_BUILDER" && ((T = E.group) != null && T.groups) && E.group.groups.forEach((d) => {
|
|
2149
|
+
var h;
|
|
2150
|
+
(h = d.outcomes) == null || h.forEach((w) => C.add(w.id));
|
|
2151
|
+
}), E.type === "SIMPLE" && E.outcome && C.add(E.outcome.id);
|
|
2152
|
+
return C;
|
|
2153
2153
|
}
|
|
2154
2154
|
Q(() => {
|
|
2155
|
-
|
|
2155
|
+
_();
|
|
2156
2156
|
}, []);
|
|
2157
|
-
const
|
|
2158
|
-
return !
|
|
2157
|
+
const I = l || void 0;
|
|
2158
|
+
return !u || u.length === 0 ? null : /* @__PURE__ */ e("section", { className: I, style: {
|
|
2159
2159
|
paddingLeft: 16,
|
|
2160
2160
|
paddingRight: 16,
|
|
2161
2161
|
width: "100%",
|
|
2162
2162
|
boxSizing: "border-box"
|
|
2163
|
-
}, children: /* @__PURE__ */
|
|
2164
|
-
/* @__PURE__ */
|
|
2165
|
-
/* @__PURE__ */ e(K, { title:
|
|
2166
|
-
/* @__PURE__ */
|
|
2167
|
-
/* @__PURE__ */
|
|
2163
|
+
}, children: /* @__PURE__ */ c(B, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2164
|
+
/* @__PURE__ */ c(V, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
2165
|
+
/* @__PURE__ */ e(K, { title: n, iconUrl: a, size: "md" }),
|
|
2166
|
+
/* @__PURE__ */ c("div", { className: Zt.controls, children: [
|
|
2167
|
+
/* @__PURE__ */ c(V, { spacing: 1, columns: "auto auto", children: [
|
|
2168
2168
|
/* @__PURE__ */ e(
|
|
2169
2169
|
L,
|
|
2170
2170
|
{
|
|
2171
2171
|
ariaLabel: "Anterior",
|
|
2172
2172
|
variant: "secondary",
|
|
2173
2173
|
iconOnly: !0,
|
|
2174
|
-
leftIcon: /* @__PURE__ */ e(
|
|
2175
|
-
onClick:
|
|
2176
|
-
disabled:
|
|
2174
|
+
leftIcon: /* @__PURE__ */ e(de, {}),
|
|
2175
|
+
onClick: O,
|
|
2176
|
+
disabled: r.isStart
|
|
2177
2177
|
}
|
|
2178
2178
|
),
|
|
2179
2179
|
/* @__PURE__ */ e(
|
|
@@ -2182,20 +2182,20 @@ function en({
|
|
|
2182
2182
|
ariaLabel: "Siguiente",
|
|
2183
2183
|
variant: "secondary",
|
|
2184
2184
|
iconOnly: !0,
|
|
2185
|
-
rightIcon: /* @__PURE__ */ e(
|
|
2185
|
+
rightIcon: /* @__PURE__ */ e(ue, {}),
|
|
2186
2186
|
onClick: s,
|
|
2187
|
-
disabled:
|
|
2187
|
+
disabled: r.isEnd
|
|
2188
2188
|
}
|
|
2189
2189
|
)
|
|
2190
2190
|
] }),
|
|
2191
|
-
/* @__PURE__ */ e(L, { variant: "secondary", onClick:
|
|
2191
|
+
/* @__PURE__ */ e(L, { variant: "secondary", onClick: p, children: "Ver más" })
|
|
2192
2192
|
] })
|
|
2193
2193
|
] }),
|
|
2194
2194
|
/* @__PURE__ */ e(
|
|
2195
2195
|
q,
|
|
2196
2196
|
{
|
|
2197
|
-
ref:
|
|
2198
|
-
items:
|
|
2197
|
+
ref: o,
|
|
2198
|
+
items: u.filter((f) => f.combinadoTotal !== null),
|
|
2199
2199
|
perPage: void 0,
|
|
2200
2200
|
gap: "16px",
|
|
2201
2201
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
@@ -2203,102 +2203,102 @@ function en({
|
|
|
2203
2203
|
breakpoints: {
|
|
2204
2204
|
768: { perPage: 1.2, gap: "12px", padding: { left: "0px", right: "0px" } }
|
|
2205
2205
|
},
|
|
2206
|
-
renderItem: (
|
|
2207
|
-
onMove: ({ isStart:
|
|
2206
|
+
renderItem: (f) => /* @__PURE__ */ e(Nt, { event: f }),
|
|
2207
|
+
onMove: ({ isStart: f, isEnd: C }) => m({ isStart: f, isEnd: C })
|
|
2208
2208
|
}
|
|
2209
2209
|
)
|
|
2210
2210
|
] }) });
|
|
2211
2211
|
}
|
|
2212
|
-
function
|
|
2212
|
+
function to({}) {
|
|
2213
2213
|
return /* @__PURE__ */ e(
|
|
2214
2214
|
"div",
|
|
2215
2215
|
{
|
|
2216
|
-
className:
|
|
2217
|
-
children: /* @__PURE__ */
|
|
2218
|
-
/* @__PURE__ */
|
|
2219
|
-
/* @__PURE__ */ e(
|
|
2220
|
-
/* @__PURE__ */ e(
|
|
2216
|
+
className: Pe.cardWrapper,
|
|
2217
|
+
children: /* @__PURE__ */ c(B, { direction: "column", spacing: 1, children: [
|
|
2218
|
+
/* @__PURE__ */ c(B, { spacing: 1, direction: "row", children: [
|
|
2219
|
+
/* @__PURE__ */ e(M, { variant: "text", width: "60%", height: 24 }),
|
|
2220
|
+
/* @__PURE__ */ e(M, { variant: "text", width: "39%", height: 24 })
|
|
2221
2221
|
] }),
|
|
2222
|
-
/* @__PURE__ */
|
|
2223
|
-
/* @__PURE__ */ e(
|
|
2224
|
-
/* @__PURE__ */ e(
|
|
2225
|
-
/* @__PURE__ */ e(
|
|
2222
|
+
/* @__PURE__ */ c(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2223
|
+
/* @__PURE__ */ e(M, { variant: "circular", width: 32, height: 40 }),
|
|
2224
|
+
/* @__PURE__ */ e(M, { variant: "text", width: 40, height: 40 }),
|
|
2225
|
+
/* @__PURE__ */ e(M, { variant: "circular", width: 32, height: 40 })
|
|
2226
2226
|
] }),
|
|
2227
|
-
/* @__PURE__ */
|
|
2228
|
-
/* @__PURE__ */ e(
|
|
2229
|
-
/* @__PURE__ */ e(
|
|
2230
|
-
/* @__PURE__ */ e(
|
|
2227
|
+
/* @__PURE__ */ c(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2228
|
+
/* @__PURE__ */ e(M, { variant: "text", width: 32, height: 16 }),
|
|
2229
|
+
/* @__PURE__ */ e(M, { variant: "text", width: 40, height: 16 }),
|
|
2230
|
+
/* @__PURE__ */ e(M, { variant: "text", width: 32, height: 16 })
|
|
2231
2231
|
] }),
|
|
2232
|
-
/* @__PURE__ */
|
|
2233
|
-
/* @__PURE__ */ e(
|
|
2234
|
-
/* @__PURE__ */ e(
|
|
2235
|
-
/* @__PURE__ */ e(
|
|
2232
|
+
/* @__PURE__ */ c(B, { spacing: 2, direction: "row", children: [
|
|
2233
|
+
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 }),
|
|
2234
|
+
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 }),
|
|
2235
|
+
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 })
|
|
2236
2236
|
] }),
|
|
2237
|
-
/* @__PURE__ */
|
|
2238
|
-
/* @__PURE__ */ e(
|
|
2239
|
-
/* @__PURE__ */ e(
|
|
2240
|
-
/* @__PURE__ */ e(
|
|
2237
|
+
/* @__PURE__ */ c(B, { spacing: 2, direction: "row", children: [
|
|
2238
|
+
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 }),
|
|
2239
|
+
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 }),
|
|
2240
|
+
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 })
|
|
2241
2241
|
] })
|
|
2242
2242
|
] })
|
|
2243
2243
|
}
|
|
2244
2244
|
);
|
|
2245
2245
|
}
|
|
2246
|
-
const
|
|
2247
|
-
fadeWrapper:
|
|
2246
|
+
const oo = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", no = {
|
|
2247
|
+
fadeWrapper: oo
|
|
2248
2248
|
};
|
|
2249
|
-
function
|
|
2250
|
-
return /* @__PURE__ */ e("div", { className:
|
|
2249
|
+
function ne({ children: t }) {
|
|
2250
|
+
return /* @__PURE__ */ e("div", { className: no.fadeWrapper, children: t });
|
|
2251
2251
|
}
|
|
2252
|
-
function
|
|
2252
|
+
function ro({
|
|
2253
2253
|
items: t,
|
|
2254
|
-
title:
|
|
2254
|
+
title: n = "En vivo",
|
|
2255
2255
|
iconUrl: a = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
|
|
2256
|
-
onViewMore:
|
|
2257
|
-
className:
|
|
2256
|
+
onViewMore: i,
|
|
2257
|
+
className: l = ""
|
|
2258
2258
|
}) {
|
|
2259
|
-
const
|
|
2260
|
-
var
|
|
2261
|
-
(
|
|
2259
|
+
const o = "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", r = G(null), [m, u] = W({ isStart: !0, isEnd: !1 }), [x, b] = W([]), O = () => {
|
|
2260
|
+
var S;
|
|
2261
|
+
(S = r.current) == null || S.prev();
|
|
2262
2262
|
}, s = () => {
|
|
2263
|
-
var
|
|
2264
|
-
(
|
|
2265
|
-
},
|
|
2266
|
-
|
|
2263
|
+
var S;
|
|
2264
|
+
(S = r.current) == null || S.next();
|
|
2265
|
+
}, p = () => {
|
|
2266
|
+
kt();
|
|
2267
2267
|
};
|
|
2268
|
-
async function
|
|
2268
|
+
async function _() {
|
|
2269
2269
|
try {
|
|
2270
|
-
const
|
|
2271
|
-
|
|
2272
|
-
} catch (
|
|
2273
|
-
console.error(
|
|
2270
|
+
const I = await (await fetch(o)).json();
|
|
2271
|
+
b(I.events);
|
|
2272
|
+
} catch (S) {
|
|
2273
|
+
console.error(S);
|
|
2274
2274
|
}
|
|
2275
2275
|
}
|
|
2276
2276
|
Q(() => {
|
|
2277
|
-
|
|
2278
|
-
const
|
|
2279
|
-
|
|
2277
|
+
_();
|
|
2278
|
+
const S = setInterval(() => {
|
|
2279
|
+
_();
|
|
2280
2280
|
}, 2e4);
|
|
2281
|
-
return () => clearInterval(
|
|
2281
|
+
return () => clearInterval(S);
|
|
2282
2282
|
}, []);
|
|
2283
|
-
const
|
|
2284
|
-
return /* @__PURE__ */ e("section", { className:
|
|
2283
|
+
const $ = l || void 0, v = !x || x.length === 0;
|
|
2284
|
+
return /* @__PURE__ */ e("section", { className: $, style: {
|
|
2285
2285
|
// paddingLeft: 16,
|
|
2286
2286
|
// paddingRight: 16,
|
|
2287
2287
|
width: "100%",
|
|
2288
2288
|
boxSizing: "border-box"
|
|
2289
|
-
}, children: /* @__PURE__ */
|
|
2290
|
-
/* @__PURE__ */
|
|
2291
|
-
/* @__PURE__ */ e(K, { title:
|
|
2292
|
-
/* @__PURE__ */
|
|
2293
|
-
/* @__PURE__ */
|
|
2289
|
+
}, children: /* @__PURE__ */ c(B, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2290
|
+
/* @__PURE__ */ c(V, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
2291
|
+
/* @__PURE__ */ e(K, { title: n, iconUrl: a, size: "md" }),
|
|
2292
|
+
/* @__PURE__ */ c("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
2293
|
+
/* @__PURE__ */ c(V, { spacing: 1, columns: "auto auto", children: [
|
|
2294
2294
|
/* @__PURE__ */ e(
|
|
2295
2295
|
L,
|
|
2296
2296
|
{
|
|
2297
2297
|
ariaLabel: "Anterior",
|
|
2298
2298
|
variant: "secondary",
|
|
2299
2299
|
iconOnly: !0,
|
|
2300
|
-
leftIcon: /* @__PURE__ */ e(
|
|
2301
|
-
onClick:
|
|
2300
|
+
leftIcon: /* @__PURE__ */ e(de, {}),
|
|
2301
|
+
onClick: O,
|
|
2302
2302
|
disabled: m.isStart
|
|
2303
2303
|
}
|
|
2304
2304
|
),
|
|
@@ -2308,21 +2308,21 @@ function rn({
|
|
|
2308
2308
|
ariaLabel: "Siguiente",
|
|
2309
2309
|
variant: "secondary",
|
|
2310
2310
|
iconOnly: !0,
|
|
2311
|
-
rightIcon: /* @__PURE__ */ e(
|
|
2311
|
+
rightIcon: /* @__PURE__ */ e(ue, {}),
|
|
2312
2312
|
onClick: s,
|
|
2313
2313
|
disabled: m.isEnd
|
|
2314
2314
|
}
|
|
2315
2315
|
)
|
|
2316
2316
|
] }),
|
|
2317
|
-
/* @__PURE__ */ e(L, { variant: "secondary", onClick:
|
|
2317
|
+
/* @__PURE__ */ e(L, { variant: "secondary", onClick: p, children: "Ver más" })
|
|
2318
2318
|
] })
|
|
2319
2319
|
] }),
|
|
2320
2320
|
/* @__PURE__ */ e(
|
|
2321
2321
|
q,
|
|
2322
2322
|
{
|
|
2323
|
-
ref:
|
|
2324
|
-
items:
|
|
2325
|
-
(
|
|
2323
|
+
ref: r,
|
|
2324
|
+
items: v ? Array(4).fill({}) : x == null ? void 0 : x.filter((S) => S.event.sport === "FOOTBALL").sort(
|
|
2325
|
+
(S, I) => new Date(I.event.start).getTime() - new Date(S.event.start).getTime()
|
|
2326
2326
|
),
|
|
2327
2327
|
perPage: void 0,
|
|
2328
2328
|
gap: "16px",
|
|
@@ -2332,159 +2332,158 @@ function rn({
|
|
|
2332
2332
|
768: { gap: "8px", focus: "center" },
|
|
2333
2333
|
1024: { gap: "10px", focus: "center" }
|
|
2334
2334
|
},
|
|
2335
|
-
renderItem: (
|
|
2336
|
-
onMove: ({ isStart:
|
|
2335
|
+
renderItem: (S) => v ? /* @__PURE__ */ e(ne, { children: /* @__PURE__ */ e(to, {}) }) : /* @__PURE__ */ e(ne, { children: /* @__PURE__ */ e(Tt, { ...S }) }),
|
|
2336
|
+
onMove: ({ isStart: S, isEnd: I }) => u({ isStart: S, isEnd: I })
|
|
2337
2337
|
}
|
|
2338
2338
|
)
|
|
2339
2339
|
] }) });
|
|
2340
2340
|
}
|
|
2341
|
-
function
|
|
2342
|
-
return /* @__PURE__ */
|
|
2343
|
-
/* @__PURE__ */ e(
|
|
2344
|
-
/* @__PURE__ */ e("div", { className: J.cardBackground, children: /* @__PURE__ */
|
|
2345
|
-
/* @__PURE__ */
|
|
2346
|
-
/* @__PURE__ */ e(
|
|
2347
|
-
/* @__PURE__ */ e(
|
|
2341
|
+
function ao() {
|
|
2342
|
+
return /* @__PURE__ */ c("div", { className: J.cardContainer, children: [
|
|
2343
|
+
/* @__PURE__ */ e(Oe, { title: "" }),
|
|
2344
|
+
/* @__PURE__ */ e("div", { className: J.cardBackground, children: /* @__PURE__ */ c(B, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
2345
|
+
/* @__PURE__ */ c(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2346
|
+
/* @__PURE__ */ e(M, { variant: "circular", width: 48, height: 48 }),
|
|
2347
|
+
/* @__PURE__ */ e(M, { variant: "circular", width: 48, height: 48 })
|
|
2348
2348
|
] }),
|
|
2349
|
-
/* @__PURE__ */
|
|
2350
|
-
/* @__PURE__ */
|
|
2351
|
-
/* @__PURE__ */ e(
|
|
2352
|
-
/* @__PURE__ */ e(
|
|
2349
|
+
/* @__PURE__ */ c(B, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
2350
|
+
/* @__PURE__ */ c(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2351
|
+
/* @__PURE__ */ e(M, { variant: "text", width: 80, height: 12 }),
|
|
2352
|
+
/* @__PURE__ */ e(M, { variant: "text", width: 80, height: 12 })
|
|
2353
2353
|
] }),
|
|
2354
|
-
/* @__PURE__ */ e(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(
|
|
2355
|
-
/* @__PURE__ */
|
|
2356
|
-
/* @__PURE__ */ e(
|
|
2357
|
-
/* @__PURE__ */ e(
|
|
2358
|
-
/* @__PURE__ */ e(
|
|
2354
|
+
/* @__PURE__ */ e(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(M, { variant: "text", width: 160, height: 12 }) }),
|
|
2355
|
+
/* @__PURE__ */ c(B, { direction: "row", spacing: 1, children: [
|
|
2356
|
+
/* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 }),
|
|
2357
|
+
/* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 }),
|
|
2358
|
+
/* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 })
|
|
2359
2359
|
] }),
|
|
2360
|
-
/* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */
|
|
2361
|
-
/* @__PURE__ */ e(
|
|
2362
|
-
/* @__PURE__ */ e(
|
|
2363
|
-
/* @__PURE__ */ e(
|
|
2360
|
+
/* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */ c(B, { direction: "row", spacing: 1, children: [
|
|
2361
|
+
/* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 }),
|
|
2362
|
+
/* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 }),
|
|
2363
|
+
/* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 })
|
|
2364
2364
|
] }) })
|
|
2365
2365
|
] })
|
|
2366
2366
|
] }) })
|
|
2367
2367
|
] });
|
|
2368
2368
|
}
|
|
2369
|
-
const
|
|
2370
|
-
wrapper:
|
|
2371
|
-
container:
|
|
2372
|
-
buttonWrapper:
|
|
2369
|
+
const io = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", so = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", co = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", ce = {
|
|
2370
|
+
wrapper: io,
|
|
2371
|
+
container: so,
|
|
2372
|
+
buttonWrapper: co
|
|
2373
2373
|
};
|
|
2374
|
-
function
|
|
2374
|
+
function lo({
|
|
2375
2375
|
items: t,
|
|
2376
|
-
title:
|
|
2376
|
+
title: n = "En vivo",
|
|
2377
2377
|
iconUrl: a,
|
|
2378
|
-
onViewMore:
|
|
2379
|
-
className:
|
|
2378
|
+
onViewMore: i,
|
|
2379
|
+
className: l = ""
|
|
2380
2380
|
}) {
|
|
2381
|
-
const
|
|
2382
|
-
function
|
|
2383
|
-
return [...
|
|
2384
|
-
(
|
|
2381
|
+
const o = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", r = G(null), [m, u] = W({ isStart: !0, isEnd: !1 }), [x, b] = W([]);
|
|
2382
|
+
function O(f) {
|
|
2383
|
+
return [...f].sort(
|
|
2384
|
+
(C, T) => new Date(C.start).getTime() - new Date(T.start).getTime()
|
|
2385
2385
|
);
|
|
2386
2386
|
}
|
|
2387
|
-
function s(
|
|
2388
|
-
const
|
|
2389
|
-
return
|
|
2390
|
-
if (!
|
|
2391
|
-
const
|
|
2392
|
-
return
|
|
2387
|
+
function s(f) {
|
|
2388
|
+
const C = /* @__PURE__ */ new Date(), T = new Date(C.getTime() + 10080 * 60 * 1e3);
|
|
2389
|
+
return f.filter((P) => {
|
|
2390
|
+
if (!P.start) return !1;
|
|
2391
|
+
const E = new Date(P.start);
|
|
2392
|
+
return E >= C && E <= T;
|
|
2393
2393
|
});
|
|
2394
2394
|
}
|
|
2395
|
-
const
|
|
2396
|
-
|
|
2395
|
+
const p = () => {
|
|
2396
|
+
$t();
|
|
2397
2397
|
};
|
|
2398
|
-
async function
|
|
2398
|
+
async function _() {
|
|
2399
2399
|
try {
|
|
2400
|
-
const T = (await (await fetch(
|
|
2401
|
-
(
|
|
2400
|
+
const T = (await (await fetch(o)).json()).group.groups.find(
|
|
2401
|
+
(w) => w.englishName === "Football"
|
|
2402
2402
|
);
|
|
2403
2403
|
if (!T || !Array.isArray(T.groups)) {
|
|
2404
2404
|
console.error("Football groups not found");
|
|
2405
2405
|
return;
|
|
2406
2406
|
}
|
|
2407
|
-
const
|
|
2408
|
-
const
|
|
2409
|
-
if (
|
|
2410
|
-
const
|
|
2407
|
+
const E = T.groups.slice(0, 5), d = (w) => {
|
|
2408
|
+
const g = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
|
|
2409
|
+
if (w.groups && w.groups.length > 0) {
|
|
2410
|
+
const y = w.groups[0];
|
|
2411
2411
|
return [
|
|
2412
|
-
`${
|
|
2412
|
+
`${g}/${w.termKey}/${y.termKey}/all/matches.json?channel_id=1&channel_id=1&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true`
|
|
2413
2413
|
];
|
|
2414
2414
|
}
|
|
2415
2415
|
return [
|
|
2416
|
-
`${
|
|
2416
|
+
`${g}/${w.termKey}/all/all/matches.json?channel_id=1&channel_id=1&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true`
|
|
2417
2417
|
];
|
|
2418
|
-
},
|
|
2419
|
-
|
|
2420
|
-
} catch (
|
|
2421
|
-
console.error(
|
|
2418
|
+
}, h = E.flatMap(d);
|
|
2419
|
+
$(h);
|
|
2420
|
+
} catch (f) {
|
|
2421
|
+
console.error(f);
|
|
2422
2422
|
}
|
|
2423
2423
|
}
|
|
2424
|
-
async function
|
|
2424
|
+
async function $(f) {
|
|
2425
2425
|
try {
|
|
2426
|
-
const
|
|
2427
|
-
|
|
2426
|
+
const C = await Promise.all(
|
|
2427
|
+
f.map((d) => fetch(d).then((h) => h.json()))
|
|
2428
2428
|
);
|
|
2429
|
-
let T = [],
|
|
2430
|
-
|
|
2431
|
-
|
|
2429
|
+
let T = [], P = [];
|
|
2430
|
+
C.forEach((d) => {
|
|
2431
|
+
d.events && (T.push(...d.events.map((h) => h.event)), P.push(...d.events.flatMap((h) => h.betOffers || [])));
|
|
2432
2432
|
});
|
|
2433
|
-
const
|
|
2434
|
-
|
|
2435
|
-
} catch (
|
|
2436
|
-
console.error("Error loading events:",
|
|
2433
|
+
const E = v(T, P);
|
|
2434
|
+
b(O(s(E)));
|
|
2435
|
+
} catch (C) {
|
|
2436
|
+
console.error("Error loading events:", C);
|
|
2437
2437
|
}
|
|
2438
2438
|
}
|
|
2439
|
-
function
|
|
2440
|
-
const
|
|
2441
|
-
var
|
|
2442
|
-
return ((
|
|
2443
|
-
}).reduce((
|
|
2444
|
-
return
|
|
2445
|
-
|
|
2446
|
-
outcome:
|
|
2439
|
+
function v(f, C) {
|
|
2440
|
+
const P = C.filter((E) => {
|
|
2441
|
+
var d;
|
|
2442
|
+
return ((d = E.betOfferType) == null ? void 0 : d.id) === 2;
|
|
2443
|
+
}).reduce((E, d) => (E[d.eventId] || (E[d.eventId] = []), E[d.eventId].push(d), E), {});
|
|
2444
|
+
return f.filter((E) => P[E.id]).map((E) => ({
|
|
2445
|
+
...E,
|
|
2446
|
+
outcome: P[E.id]
|
|
2447
2447
|
}));
|
|
2448
2448
|
}
|
|
2449
2449
|
Q(() => {
|
|
2450
|
-
t &&
|
|
2450
|
+
t && _();
|
|
2451
2451
|
}, [t]);
|
|
2452
|
-
const
|
|
2453
|
-
return /* @__PURE__ */ e("section", { className:
|
|
2452
|
+
const S = l || void 0, I = !x || x.length === 0;
|
|
2453
|
+
return /* @__PURE__ */ e("section", { className: S, style: {
|
|
2454
2454
|
paddingLeft: 16,
|
|
2455
|
-
paddingRight: 16,
|
|
2456
2455
|
width: "100%",
|
|
2457
2456
|
boxSizing: "border-box"
|
|
2458
|
-
}, children: /* @__PURE__ */
|
|
2459
|
-
/* @__PURE__ */ e("div", { className:
|
|
2457
|
+
}, children: /* @__PURE__ */ c("div", { className: ce.wrapper, children: [
|
|
2458
|
+
/* @__PURE__ */ e("div", { className: ce.container, children: /* @__PURE__ */ c(B, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2460
2459
|
/* @__PURE__ */ e(K, { title: "Eventos de la semana" }),
|
|
2461
|
-
/* @__PURE__ */ e("div", { className:
|
|
2462
|
-
|
|
2460
|
+
/* @__PURE__ */ e("div", { className: ce.buttonWrapper, children: /* @__PURE__ */ e(L, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
|
|
2461
|
+
p();
|
|
2463
2462
|
}, children: "Ver más" }) })
|
|
2464
2463
|
] }) }),
|
|
2465
2464
|
/* @__PURE__ */ e("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ e(
|
|
2466
2465
|
q,
|
|
2467
2466
|
{
|
|
2468
|
-
ref:
|
|
2469
|
-
items:
|
|
2467
|
+
ref: r,
|
|
2468
|
+
items: I ? Array(6).fill({}) : x,
|
|
2470
2469
|
perPage: 3.5,
|
|
2471
2470
|
gap: "16px",
|
|
2472
2471
|
options: { autoWidth: !0, trimSpace: !0 },
|
|
2473
2472
|
breakpoints: {
|
|
2474
2473
|
1024: { perPage: 1.4, gap: "8px", focus: "center", padding: { left: "8px", right: "8px" } }
|
|
2475
2474
|
},
|
|
2476
|
-
renderItem: (
|
|
2477
|
-
onMove: ({ isStart:
|
|
2475
|
+
renderItem: (f) => I ? /* @__PURE__ */ e(ne, { children: /* @__PURE__ */ e(ao, {}) }) : /* @__PURE__ */ e(ne, { children: /* @__PURE__ */ e(jt, { event: f }) }),
|
|
2476
|
+
onMove: ({ isStart: f, isEnd: C }) => u({ isStart: f, isEnd: C })
|
|
2478
2477
|
}
|
|
2479
2478
|
) })
|
|
2480
2479
|
] }) });
|
|
2481
2480
|
}
|
|
2482
|
-
function
|
|
2481
|
+
function uo({
|
|
2483
2482
|
backgrounds: t,
|
|
2484
|
-
items:
|
|
2483
|
+
items: n
|
|
2485
2484
|
}) {
|
|
2486
|
-
const [a,
|
|
2487
|
-
return /* @__PURE__ */
|
|
2485
|
+
const [a, i] = W(0), l = (t == null ? void 0 : t.length) || 1;
|
|
2486
|
+
return /* @__PURE__ */ c(
|
|
2488
2487
|
j,
|
|
2489
2488
|
{
|
|
2490
2489
|
component: "section",
|
|
@@ -2498,7 +2497,7 @@ function un({
|
|
|
2498
2497
|
// pb: { xs: 7, sm: 8 },
|
|
2499
2498
|
},
|
|
2500
2499
|
children: [
|
|
2501
|
-
/* @__PURE__ */
|
|
2500
|
+
/* @__PURE__ */ c(
|
|
2502
2501
|
j,
|
|
2503
2502
|
{
|
|
2504
2503
|
sx: {
|
|
@@ -2523,10 +2522,10 @@ function un({
|
|
|
2523
2522
|
// left: 0,
|
|
2524
2523
|
// right: 0,
|
|
2525
2524
|
},
|
|
2526
|
-
onMove: ({ index:
|
|
2527
|
-
renderItem: (
|
|
2528
|
-
var
|
|
2529
|
-
return /* @__PURE__ */
|
|
2525
|
+
onMove: ({ index: o }) => i(o),
|
|
2526
|
+
renderItem: (o) => {
|
|
2527
|
+
var r;
|
|
2528
|
+
return /* @__PURE__ */ c(
|
|
2530
2529
|
j,
|
|
2531
2530
|
{
|
|
2532
2531
|
sx: {
|
|
@@ -2534,7 +2533,7 @@ function un({
|
|
|
2534
2533
|
height: { xs: 300, sm: 360, md: 420 }
|
|
2535
2534
|
},
|
|
2536
2535
|
children: [
|
|
2537
|
-
/* @__PURE__ */
|
|
2536
|
+
/* @__PURE__ */ c(
|
|
2538
2537
|
j,
|
|
2539
2538
|
{
|
|
2540
2539
|
component: "picture",
|
|
@@ -2543,14 +2542,14 @@ function un({
|
|
|
2543
2542
|
/* @__PURE__ */ e(
|
|
2544
2543
|
"source",
|
|
2545
2544
|
{
|
|
2546
|
-
srcSet:
|
|
2545
|
+
srcSet: o.desktopSrc,
|
|
2547
2546
|
media: "(min-width:800px)"
|
|
2548
2547
|
}
|
|
2549
2548
|
),
|
|
2550
2549
|
/* @__PURE__ */ e(
|
|
2551
2550
|
"source",
|
|
2552
2551
|
{
|
|
2553
|
-
srcSet:
|
|
2552
|
+
srcSet: o.mobileSrc,
|
|
2554
2553
|
media: "(max-width:799px)"
|
|
2555
2554
|
}
|
|
2556
2555
|
),
|
|
@@ -2558,7 +2557,7 @@ function un({
|
|
|
2558
2557
|
j,
|
|
2559
2558
|
{
|
|
2560
2559
|
component: "img",
|
|
2561
|
-
src: (
|
|
2560
|
+
src: (r = o.fallbackSrc) != null ? r : o.desktopSrc,
|
|
2562
2561
|
alt: "",
|
|
2563
2562
|
"aria-hidden": !0,
|
|
2564
2563
|
loading: "lazy",
|
|
@@ -2610,7 +2609,7 @@ function un({
|
|
|
2610
2609
|
justifyContent: "center",
|
|
2611
2610
|
zIndex: 2
|
|
2612
2611
|
},
|
|
2613
|
-
children: /* @__PURE__ */ e(
|
|
2612
|
+
children: /* @__PURE__ */ e(ke, { total: l, active: a })
|
|
2614
2613
|
}
|
|
2615
2614
|
)
|
|
2616
2615
|
]
|
|
@@ -2638,7 +2637,7 @@ function un({
|
|
|
2638
2637
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
2639
2638
|
zIndex: 3
|
|
2640
2639
|
},
|
|
2641
|
-
children:
|
|
2640
|
+
children: n == null ? void 0 : n.map((o) => /* @__PURE__ */ c(
|
|
2642
2641
|
j,
|
|
2643
2642
|
{
|
|
2644
2643
|
sx: {
|
|
@@ -2651,20 +2650,20 @@ function un({
|
|
|
2651
2650
|
// espacio icono-texto
|
|
2652
2651
|
color: "#FFFFFF",
|
|
2653
2652
|
minWidth: 0,
|
|
2654
|
-
cursor:
|
|
2653
|
+
cursor: o.onclick ? "pointer" : "default",
|
|
2655
2654
|
whiteSpace: "nowrap"
|
|
2656
2655
|
},
|
|
2657
2656
|
onClick: () => {
|
|
2658
|
-
var
|
|
2659
|
-
return (
|
|
2657
|
+
var r;
|
|
2658
|
+
return (r = o.onclick) == null ? void 0 : r.call(o);
|
|
2660
2659
|
},
|
|
2661
2660
|
children: [
|
|
2662
|
-
|
|
2661
|
+
o.icon && /* @__PURE__ */ e(
|
|
2663
2662
|
j,
|
|
2664
2663
|
{
|
|
2665
2664
|
component: "img",
|
|
2666
|
-
src:
|
|
2667
|
-
alt:
|
|
2665
|
+
src: o.icon,
|
|
2666
|
+
alt: o.label || `icon-${o.id}`,
|
|
2668
2667
|
sx: {
|
|
2669
2668
|
width: { xs: 20, sm: 22, md: 24 },
|
|
2670
2669
|
height: { xs: 20, sm: 22, md: 24 },
|
|
@@ -2673,7 +2672,7 @@ function un({
|
|
|
2673
2672
|
}
|
|
2674
2673
|
),
|
|
2675
2674
|
/* @__PURE__ */ e(
|
|
2676
|
-
|
|
2675
|
+
we,
|
|
2677
2676
|
{
|
|
2678
2677
|
sx: {
|
|
2679
2678
|
fontSize: { xs: 10, sm: 11, md: 12 },
|
|
@@ -2682,12 +2681,12 @@ function un({
|
|
|
2682
2681
|
textAlign: "center"
|
|
2683
2682
|
// en mobile queda centrado bajo el icono
|
|
2684
2683
|
},
|
|
2685
|
-
children:
|
|
2684
|
+
children: o.label
|
|
2686
2685
|
}
|
|
2687
2686
|
)
|
|
2688
2687
|
]
|
|
2689
2688
|
},
|
|
2690
|
-
|
|
2689
|
+
o.id
|
|
2691
2690
|
))
|
|
2692
2691
|
}
|
|
2693
2692
|
)
|
|
@@ -2695,7 +2694,7 @@ function un({
|
|
|
2695
2694
|
}
|
|
2696
2695
|
);
|
|
2697
2696
|
}
|
|
2698
|
-
const
|
|
2697
|
+
const po = [
|
|
2699
2698
|
[
|
|
2700
2699
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/IBK.svg", alt: "Interbank" },
|
|
2701
2700
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/Yape.svg", alt: "Yape" }
|
|
@@ -2706,14 +2705,14 @@ const pn = [
|
|
|
2706
2705
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
|
|
2707
2706
|
]
|
|
2708
2707
|
];
|
|
2709
|
-
function
|
|
2708
|
+
function mo({
|
|
2710
2709
|
title: t = "Medios de pago",
|
|
2711
|
-
rows:
|
|
2710
|
+
rows: n = po
|
|
2712
2711
|
}) {
|
|
2713
|
-
const a =
|
|
2714
|
-
return /* @__PURE__ */
|
|
2712
|
+
const a = n.flat();
|
|
2713
|
+
return /* @__PURE__ */ c(j, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
2715
2714
|
/* @__PURE__ */ e(
|
|
2716
|
-
|
|
2715
|
+
we,
|
|
2717
2716
|
{
|
|
2718
2717
|
id: "mp-title",
|
|
2719
2718
|
variant: "h6",
|
|
@@ -2740,17 +2739,17 @@ function mn({
|
|
|
2740
2739
|
}
|
|
2741
2740
|
}
|
|
2742
2741
|
),
|
|
2743
|
-
/* @__PURE__ */ e(j, { sx: { display: { xs: "block", md: "none" } }, children:
|
|
2744
|
-
|
|
2742
|
+
/* @__PURE__ */ e(j, { sx: { display: { xs: "block", md: "none" } }, children: n.map((i, l) => /* @__PURE__ */ e(
|
|
2743
|
+
Se,
|
|
2745
2744
|
{
|
|
2746
2745
|
direction: "row",
|
|
2747
2746
|
justifyContent: "center",
|
|
2748
2747
|
alignItems: "center",
|
|
2749
2748
|
gap: 2.5,
|
|
2750
2749
|
flexWrap: "wrap",
|
|
2751
|
-
children:
|
|
2750
|
+
children: i.map((o) => /* @__PURE__ */ e(ge, { ...o }, `${o.src}-${o.alt}`))
|
|
2752
2751
|
},
|
|
2753
|
-
|
|
2752
|
+
l
|
|
2754
2753
|
)) }),
|
|
2755
2754
|
/* @__PURE__ */ e(
|
|
2756
2755
|
j,
|
|
@@ -2764,246 +2763,246 @@ function mn({
|
|
|
2764
2763
|
gridTemplateColumns: { md: "repeat(auto-fit, 160px)" },
|
|
2765
2764
|
justifyContent: { md: "center" }
|
|
2766
2765
|
},
|
|
2767
|
-
children: a.map((
|
|
2766
|
+
children: a.map((i) => /* @__PURE__ */ e(ge, { ...i }, `${i.src}-${i.alt}`))
|
|
2768
2767
|
}
|
|
2769
2768
|
)
|
|
2770
2769
|
] });
|
|
2771
2770
|
}
|
|
2772
|
-
const
|
|
2773
|
-
OraculoSeccionDestacados:
|
|
2774
|
-
OraculoSeccionTopJuegos:
|
|
2775
|
-
OraculoSeccionCasinoEnVivo:
|
|
2771
|
+
const ho = {
|
|
2772
|
+
OraculoSeccionDestacados: At,
|
|
2773
|
+
OraculoSeccionTopJuegos: Gt,
|
|
2774
|
+
OraculoSeccionCasinoEnVivo: Dt,
|
|
2776
2775
|
OraculoSeccionCasino: Ht,
|
|
2777
2776
|
OraculoSeccionVirtuales: qt,
|
|
2778
2777
|
OraculoSeccionClubOlimpo: Qt,
|
|
2779
2778
|
OraculoSeccionBonoBienvenida: Xt,
|
|
2780
|
-
OraculoSeccionBanners:
|
|
2781
|
-
OraculoSeccionMediosPago:
|
|
2782
|
-
OraculoSeccionEventoEnVivo:
|
|
2783
|
-
OraculoSeccionEventoSemana:
|
|
2784
|
-
OraculoSeccionEventoCombinadas:
|
|
2785
|
-
},
|
|
2786
|
-
Object.entries(
|
|
2787
|
-
([t,
|
|
2779
|
+
OraculoSeccionBanners: uo,
|
|
2780
|
+
OraculoSeccionMediosPago: mo,
|
|
2781
|
+
OraculoSeccionEventoEnVivo: ro,
|
|
2782
|
+
OraculoSeccionEventoSemana: lo,
|
|
2783
|
+
OraculoSeccionEventoCombinadas: eo
|
|
2784
|
+
}, go = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, fo = (t) => /^OraculoSeccion[A-Z]/.test(t), xo = Object.fromEntries(
|
|
2785
|
+
Object.entries(ho).filter(
|
|
2786
|
+
([t, n]) => fo(t) && go(n)
|
|
2788
2787
|
)
|
|
2789
2788
|
);
|
|
2790
2789
|
class _e extends Error {
|
|
2791
|
-
constructor(
|
|
2792
|
-
super(`HTTP ${
|
|
2790
|
+
constructor(n, a, i) {
|
|
2791
|
+
super(`HTTP ${n} ${i}`), this.status = n, this.url = a, this.statusText = i, this.name = "HttpError";
|
|
2793
2792
|
}
|
|
2794
2793
|
}
|
|
2795
|
-
const
|
|
2794
|
+
const ve = [
|
|
2796
2795
|
"OraculoSeccionEventoEnVivo",
|
|
2797
2796
|
"OraculoSeccionEventoSemana",
|
|
2798
2797
|
"OraculoSeccionEventoCombinadas"
|
|
2799
|
-
],
|
|
2798
|
+
], To = ({
|
|
2800
2799
|
sectionsOverride: t,
|
|
2801
|
-
docId:
|
|
2800
|
+
docId: n = "home",
|
|
2802
2801
|
db: a
|
|
2803
2802
|
}) => {
|
|
2804
|
-
const [
|
|
2803
|
+
const [i, l] = W(
|
|
2805
2804
|
[]
|
|
2806
|
-
), [
|
|
2805
|
+
), [o, r] = W(!1), [m, u] = W({}), [x, b] = W({}), [O, s] = W({}), p = Be("(min-width:1024px)");
|
|
2807
2806
|
Q(() => {
|
|
2808
2807
|
if (t || !a) return;
|
|
2809
|
-
|
|
2810
|
-
const
|
|
2811
|
-
|
|
2812
|
-
(
|
|
2813
|
-
var
|
|
2808
|
+
r(!0);
|
|
2809
|
+
const d = Ue(
|
|
2810
|
+
De(a, "landings", n),
|
|
2811
|
+
(h) => {
|
|
2812
|
+
var w;
|
|
2814
2813
|
try {
|
|
2815
|
-
let
|
|
2816
|
-
|
|
2817
|
-
var
|
|
2818
|
-
return ((
|
|
2819
|
-
}).map((
|
|
2820
|
-
} catch (
|
|
2821
|
-
console.error("Error procesando landings/" +
|
|
2814
|
+
let g = h.exists() ? ((w = h.data()) == null ? void 0 : w.sections) || [] : [];
|
|
2815
|
+
g = g.slice().sort((y, N) => {
|
|
2816
|
+
var R, F;
|
|
2817
|
+
return ((R = y.order) != null ? R : 0) - ((F = N.order) != null ? F : 0);
|
|
2818
|
+
}).map((y, N) => ({ ...y, order: N + 1 })), l(g), console.log("fetched: ", g);
|
|
2819
|
+
} catch (g) {
|
|
2820
|
+
console.error("Error procesando landings/" + n, g);
|
|
2822
2821
|
} finally {
|
|
2823
|
-
|
|
2822
|
+
r(!1);
|
|
2824
2823
|
}
|
|
2825
2824
|
},
|
|
2826
|
-
(
|
|
2827
|
-
console.error("Error escuchando landings/" +
|
|
2825
|
+
(h) => {
|
|
2826
|
+
console.error("Error escuchando landings/" + n, h), r(!1);
|
|
2828
2827
|
}
|
|
2829
2828
|
);
|
|
2830
|
-
return () =>
|
|
2831
|
-
}, [t,
|
|
2832
|
-
(t ? t.slice() :
|
|
2833
|
-
}, [t,
|
|
2834
|
-
const
|
|
2835
|
-
if (
|
|
2829
|
+
return () => d();
|
|
2830
|
+
}, [t, n, a]), Q(() => {
|
|
2831
|
+
(t ? t.slice() : i.slice()).map((w) => w.componentKey).filter((w) => !!w).length;
|
|
2832
|
+
}, [t, i]);
|
|
2833
|
+
const _ = async (d) => {
|
|
2834
|
+
if (ve.includes(d.componentKey))
|
|
2836
2835
|
return {
|
|
2837
2836
|
// whatever empty structure your UI expects
|
|
2838
2837
|
items: [],
|
|
2839
2838
|
events: [],
|
|
2840
2839
|
data: {}
|
|
2841
2840
|
};
|
|
2842
|
-
const
|
|
2843
|
-
if (!
|
|
2844
|
-
const
|
|
2845
|
-
let
|
|
2846
|
-
if (
|
|
2841
|
+
const h = (d.apiUrl || "").trim();
|
|
2842
|
+
if (!h) return;
|
|
2843
|
+
const w = d.apiMethod || "GET", g = d.apiParams || [];
|
|
2844
|
+
let y = h, N, R;
|
|
2845
|
+
if (w === "GET") {
|
|
2847
2846
|
const z = new URL(
|
|
2848
|
-
|
|
2847
|
+
h,
|
|
2849
2848
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
2850
2849
|
);
|
|
2851
|
-
for (const
|
|
2852
|
-
|
|
2853
|
-
|
|
2850
|
+
for (const A of g)
|
|
2851
|
+
A.key && z.searchParams.append(A.key, A.value);
|
|
2852
|
+
y = z.toString();
|
|
2854
2853
|
} else {
|
|
2855
2854
|
const z = new URLSearchParams();
|
|
2856
|
-
for (const
|
|
2857
|
-
|
|
2858
|
-
N = z.toString(),
|
|
2855
|
+
for (const A of g)
|
|
2856
|
+
A.key && z.append(A.key, A.value);
|
|
2857
|
+
N = z.toString(), R = {
|
|
2859
2858
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
2860
2859
|
};
|
|
2861
2860
|
}
|
|
2862
|
-
const
|
|
2863
|
-
method:
|
|
2864
|
-
headers:
|
|
2861
|
+
const F = await fetch(y, {
|
|
2862
|
+
method: w,
|
|
2863
|
+
headers: R,
|
|
2865
2864
|
body: N
|
|
2866
2865
|
});
|
|
2867
|
-
if (!
|
|
2868
|
-
return
|
|
2869
|
-
},
|
|
2870
|
-
() => t ? t.slice() :
|
|
2871
|
-
[t,
|
|
2872
|
-
),
|
|
2866
|
+
if (!F.ok) throw new _e(F.status, y, F.statusText);
|
|
2867
|
+
return F.json();
|
|
2868
|
+
}, $ = le(
|
|
2869
|
+
() => t ? t.slice() : i.slice(),
|
|
2870
|
+
[t, i]
|
|
2871
|
+
), v = Le.useRef(/* @__PURE__ */ new Set());
|
|
2873
2872
|
Q(() => {
|
|
2874
|
-
const
|
|
2875
|
-
if (
|
|
2876
|
-
for (const { s:
|
|
2877
|
-
const
|
|
2878
|
-
|
|
2873
|
+
const d = $.map((h) => ({ s: h, url: (h.apiUrl || "").trim() })).filter(({ url: h }) => !!h);
|
|
2874
|
+
if (d.length)
|
|
2875
|
+
for (const { s: h, url: w } of d) {
|
|
2876
|
+
const g = `${h.id}|${w}`;
|
|
2877
|
+
v.current.has(g) || (v.current.add(g), b((y) => ({ ...y, [h.id]: !0 })), s((y) => ({ ...y, [h.id]: "" })), (async () => {
|
|
2879
2878
|
try {
|
|
2880
|
-
const
|
|
2881
|
-
|
|
2882
|
-
} catch (
|
|
2879
|
+
const y = await _(h);
|
|
2880
|
+
u((N) => ({ ...N, [h.id]: y }));
|
|
2881
|
+
} catch (y) {
|
|
2883
2882
|
let N = "Error desconocido";
|
|
2884
|
-
|
|
2883
|
+
y instanceof _e ? N = `Error HTTP ${y.status} (${y.statusText}) en ${y.url}` : y instanceof SyntaxError ? N = "Respuesta no es JSON válido" : y instanceof TypeError ? N = "Fallo de red / CORS / conexión" : typeof y == "string" && (N = y.toString()), s((R) => ({ ...R, [h.id]: N }));
|
|
2885
2884
|
} finally {
|
|
2886
|
-
|
|
2885
|
+
b((y) => ({ ...y, [h.id]: !1 }));
|
|
2887
2886
|
}
|
|
2888
2887
|
})());
|
|
2889
2888
|
}
|
|
2890
|
-
}, [
|
|
2891
|
-
const
|
|
2892
|
-
() =>
|
|
2893
|
-
[
|
|
2894
|
-
),
|
|
2895
|
-
const
|
|
2896
|
-
for (const
|
|
2897
|
-
const
|
|
2898
|
-
if (
|
|
2899
|
-
const N = String(
|
|
2889
|
+
}, [$]);
|
|
2890
|
+
const S = le(
|
|
2891
|
+
() => $.filter((d) => d.visible).sort((d, h) => d.order - h.order),
|
|
2892
|
+
[$]
|
|
2893
|
+
), I = (d) => Array.isArray(d) ? d.map((h) => {
|
|
2894
|
+
const w = {};
|
|
2895
|
+
for (const g of h.fields || []) {
|
|
2896
|
+
const y = (g.type || "string").toLowerCase();
|
|
2897
|
+
if (y === "number") {
|
|
2898
|
+
const N = String(g.value || "").trim();
|
|
2900
2899
|
if (N !== "") {
|
|
2901
|
-
const
|
|
2902
|
-
Number.isNaN(
|
|
2900
|
+
const R = Number(N);
|
|
2901
|
+
Number.isNaN(R) || (w[g.name] = R);
|
|
2903
2902
|
}
|
|
2904
|
-
} else if (
|
|
2905
|
-
|
|
2906
|
-
else if (
|
|
2907
|
-
const N = String(
|
|
2903
|
+
} else if (y === "boolean")
|
|
2904
|
+
w[g.name] = String(g.value).toLowerCase() === "true";
|
|
2905
|
+
else if (y === "function") {
|
|
2906
|
+
const N = String(g.value || "").trim();
|
|
2908
2907
|
if (N)
|
|
2909
2908
|
try {
|
|
2910
|
-
const
|
|
2911
|
-
|
|
2912
|
-
} catch (
|
|
2913
|
-
console.error(`❌ Error creando función en item '${
|
|
2909
|
+
const R = new Function(N);
|
|
2910
|
+
w[g.name] = R;
|
|
2911
|
+
} catch (R) {
|
|
2912
|
+
console.error(`❌ Error creando función en item '${g.name}':`, R);
|
|
2914
2913
|
}
|
|
2915
|
-
} else
|
|
2914
|
+
} else w[g.name] = g.value;
|
|
2916
2915
|
}
|
|
2917
|
-
return
|
|
2918
|
-
}) : [],
|
|
2919
|
-
const
|
|
2920
|
-
if (!Array.isArray(
|
|
2921
|
-
for (const
|
|
2922
|
-
if (!
|
|
2923
|
-
const
|
|
2924
|
-
if (
|
|
2925
|
-
const
|
|
2926
|
-
if (
|
|
2927
|
-
const N = Number(
|
|
2928
|
-
Number.isNaN(N) || (
|
|
2916
|
+
return w;
|
|
2917
|
+
}) : [], f = (d) => {
|
|
2918
|
+
const h = {};
|
|
2919
|
+
if (!Array.isArray(d)) return h;
|
|
2920
|
+
for (const w of d) {
|
|
2921
|
+
if (!w.name) continue;
|
|
2922
|
+
const g = (w.type || "string").toLowerCase();
|
|
2923
|
+
if (g === "number") {
|
|
2924
|
+
const y = String(w.value || "").trim();
|
|
2925
|
+
if (y !== "") {
|
|
2926
|
+
const N = Number(y);
|
|
2927
|
+
Number.isNaN(N) || (h[w.name] = N);
|
|
2929
2928
|
}
|
|
2930
|
-
} else if (
|
|
2931
|
-
|
|
2932
|
-
else if (
|
|
2933
|
-
const
|
|
2934
|
-
if (
|
|
2929
|
+
} else if (g === "boolean")
|
|
2930
|
+
h[w.name] = String(w.value).toLowerCase() === "true";
|
|
2931
|
+
else if (g === "function") {
|
|
2932
|
+
const y = String(w.value || "").trim();
|
|
2933
|
+
if (y)
|
|
2935
2934
|
try {
|
|
2936
|
-
const N = new Function(
|
|
2937
|
-
|
|
2935
|
+
const N = new Function(y);
|
|
2936
|
+
h[w.name] = N;
|
|
2938
2937
|
} catch (N) {
|
|
2939
|
-
console.error(`❌ Error creando función en item '${
|
|
2938
|
+
console.error(`❌ Error creando función en item '${w.name}':`, N);
|
|
2940
2939
|
}
|
|
2941
|
-
} else
|
|
2940
|
+
} else h[w.name] = w.value;
|
|
2942
2941
|
}
|
|
2943
|
-
return
|
|
2944
|
-
},
|
|
2945
|
-
const
|
|
2946
|
-
if (
|
|
2947
|
-
const
|
|
2948
|
-
return
|
|
2942
|
+
return h;
|
|
2943
|
+
}, C = (d, h, w) => {
|
|
2944
|
+
const g = w ? { ...w } : {};
|
|
2945
|
+
if (h) {
|
|
2946
|
+
const A = (h.variableName || "items").trim() || "items";
|
|
2947
|
+
return g[A] = h.arr || [], g;
|
|
2949
2948
|
}
|
|
2950
|
-
const
|
|
2951
|
-
return
|
|
2952
|
-
}, T = (
|
|
2949
|
+
const y = d, N = Array.isArray(y), R = !N && typeof y == "object" && y !== null ? y : void 0, F = R && Array.isArray(R.lobby || R.items) ? R.lobby || R.items : void 0, z = (A) => N ? y : F || A;
|
|
2950
|
+
return g.items = z(F || []), g;
|
|
2951
|
+
}, T = (d) => {
|
|
2953
2952
|
var N;
|
|
2954
|
-
const
|
|
2955
|
-
let
|
|
2956
|
-
const
|
|
2957
|
-
if (
|
|
2958
|
-
return { items:
|
|
2959
|
-
if (
|
|
2960
|
-
else if (
|
|
2961
|
-
const
|
|
2962
|
-
if (
|
|
2953
|
+
const h = !!((N = d.apiUrl) != null && N.trim()), w = h ? m[d.id] : void 0;
|
|
2954
|
+
let g = d.props ? { ...d.props } : {};
|
|
2955
|
+
const y = f(d.manualScalarFields);
|
|
2956
|
+
if (ve.includes(d.componentKey))
|
|
2957
|
+
return { items: w, ...g, ...y };
|
|
2958
|
+
if (g = { ...g, ...y }, h) g = C(w, null, g);
|
|
2959
|
+
else if (d.dataMode === "manual") {
|
|
2960
|
+
const R = I(d.manualItems);
|
|
2961
|
+
if (g = C(
|
|
2963
2962
|
null,
|
|
2964
|
-
{ arr:
|
|
2965
|
-
|
|
2966
|
-
),
|
|
2967
|
-
const
|
|
2968
|
-
|
|
2963
|
+
{ arr: R, variableName: d.variableName },
|
|
2964
|
+
g
|
|
2965
|
+
), d.variableName2 && d.manualItems2) {
|
|
2966
|
+
const F = I(d.manualItems2), z = (d.variableName2 || "items2").trim() || "items2";
|
|
2967
|
+
g[z] = F;
|
|
2969
2968
|
}
|
|
2970
2969
|
}
|
|
2971
|
-
return
|
|
2972
|
-
},
|
|
2970
|
+
return g;
|
|
2971
|
+
}, P = (d, h, w) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
|
|
2973
2972
|
loading: "bg-blue-100 text-blue-800",
|
|
2974
2973
|
error: "bg-red-100 text-red-800",
|
|
2975
2974
|
component: "bg-yellow-100 text-yellow-800"
|
|
2976
|
-
}[
|
|
2977
|
-
var
|
|
2978
|
-
const
|
|
2979
|
-
if (!
|
|
2980
|
-
return console.warn(`No hay componente registrado para "${
|
|
2981
|
-
|
|
2975
|
+
}[h]}`, children: w }, d), E = (d) => {
|
|
2976
|
+
var me;
|
|
2977
|
+
const h = d.componentKey, w = xo[h];
|
|
2978
|
+
if (!w)
|
|
2979
|
+
return console.warn(`No hay componente registrado para "${h}"`), P(
|
|
2980
|
+
d.id,
|
|
2982
2981
|
"component",
|
|
2983
|
-
`Componente "${
|
|
2982
|
+
`Componente "${h}" no encontrado`
|
|
2984
2983
|
);
|
|
2985
|
-
const
|
|
2986
|
-
if (
|
|
2987
|
-
if (N && !
|
|
2988
|
-
return
|
|
2989
|
-
|
|
2984
|
+
const g = !!((me = d.apiUrl) != null && me.trim()), y = g ? m[d.id] : void 0, N = g ? !!x[d.id] : !1, R = g ? O[d.id] : "";
|
|
2985
|
+
if (g) {
|
|
2986
|
+
if (N && !y)
|
|
2987
|
+
return P(
|
|
2988
|
+
d.id,
|
|
2990
2989
|
"loading",
|
|
2991
|
-
`Cargando datos desde ${
|
|
2990
|
+
`Cargando datos desde ${d.apiUrl}...`
|
|
2992
2991
|
);
|
|
2993
|
-
if (
|
|
2994
|
-
return
|
|
2995
|
-
|
|
2992
|
+
if (R && !y)
|
|
2993
|
+
return P(
|
|
2994
|
+
d.id,
|
|
2996
2995
|
"error",
|
|
2997
|
-
`Error cargando ${
|
|
2996
|
+
`Error cargando ${d.apiUrl}: ${R}`
|
|
2998
2997
|
);
|
|
2999
2998
|
}
|
|
3000
|
-
const
|
|
2999
|
+
const F = T(d), A = (/* @__PURE__ */ new Set([
|
|
3001
3000
|
"OraculoSeccionBanners",
|
|
3002
3001
|
"OraculoSeccionBonoBienvenida",
|
|
3003
3002
|
"OraculoSeccionCasinoEnVivo",
|
|
3004
|
-
|
|
3005
|
-
])).has(
|
|
3006
|
-
return /* @__PURE__ */ e("div", { style:
|
|
3003
|
+
p ? "" : "OraculoSeccionClubOlimpo"
|
|
3004
|
+
])).has(d.componentKey), Y = p ? 120 : 24;
|
|
3005
|
+
return /* @__PURE__ */ e("div", { style: A ? {
|
|
3007
3006
|
width: "100%",
|
|
3008
3007
|
boxSizing: "border-box"
|
|
3009
3008
|
} : {
|
|
@@ -3011,10 +3010,10 @@ const be = [
|
|
|
3011
3010
|
paddingRight: Y,
|
|
3012
3011
|
width: "100%",
|
|
3013
3012
|
boxSizing: "border-box"
|
|
3014
|
-
}, children: /* @__PURE__ */ e(
|
|
3013
|
+
}, children: /* @__PURE__ */ e(w, { ...F }) }, d.id);
|
|
3015
3014
|
};
|
|
3016
|
-
return
|
|
3017
|
-
|
|
3015
|
+
return o && !t ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-400", children: "Cargando preview..." }) : !o && !t && i.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
|
|
3016
|
+
Me,
|
|
3018
3017
|
{
|
|
3019
3018
|
className: "oli-font",
|
|
3020
3019
|
maxWidth: !1,
|
|
@@ -3028,47 +3027,47 @@ const be = [
|
|
|
3028
3027
|
maxWidth: "100%",
|
|
3029
3028
|
overflowX: "hidden"
|
|
3030
3029
|
},
|
|
3031
|
-
children: /* @__PURE__ */ e(
|
|
3030
|
+
children: /* @__PURE__ */ e(Se, { direction: "column", spacing: 8, useFlexGap: !0, children: S.map(E) })
|
|
3032
3031
|
}
|
|
3033
3032
|
);
|
|
3034
3033
|
};
|
|
3035
3034
|
export {
|
|
3036
3035
|
L as OraculoButton,
|
|
3037
3036
|
q as OraculoCarousel,
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3037
|
+
ke as OraculoCarouselDots,
|
|
3038
|
+
xt as OraculoClubOlimpoVisual,
|
|
3039
|
+
Nt as OraculoEventCombinadasCard,
|
|
3040
|
+
Tt as OraculoEventEnVivoCard,
|
|
3041
|
+
Qe as OraculoEventHeader,
|
|
3042
|
+
$e as OraculoEventLabel,
|
|
3043
|
+
Oe as OraculoEventLeague,
|
|
3044
|
+
Ne as OraculoEventScore,
|
|
3045
|
+
jt as OraculoEventSemanaCard,
|
|
3046
|
+
Xe as OraculoEventStatus,
|
|
3047
|
+
Je as OraculoEventStatusBadge,
|
|
3048
|
+
oe as OraculoEventTeamInfo,
|
|
3050
3049
|
te as OraculoGameCard,
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3050
|
+
ht as OraculoGameRankCard,
|
|
3051
|
+
Ie as OraculoGameSlide,
|
|
3052
|
+
V as OraculoGridGroup,
|
|
3053
|
+
gt as OraculoLiveCasinoCard,
|
|
3054
|
+
ge as OraculoLogoMediosPago,
|
|
3055
|
+
To as OraculoPageLandingPreview,
|
|
3056
|
+
uo as OraculoSeccionBanners,
|
|
3058
3057
|
Xt as OraculoSeccionBonoBienvenida,
|
|
3059
3058
|
Ht as OraculoSeccionCasino,
|
|
3060
|
-
|
|
3059
|
+
Dt as OraculoSeccionCasinoEnVivo,
|
|
3061
3060
|
Qt as OraculoSeccionClubOlimpo,
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3061
|
+
At as OraculoSeccionDestacados,
|
|
3062
|
+
eo as OraculoSeccionEventoCombinadas,
|
|
3063
|
+
ro as OraculoSeccionEventoEnVivo,
|
|
3064
|
+
lo as OraculoSeccionEventoSemana,
|
|
3065
|
+
mo as OraculoSeccionMediosPago,
|
|
3066
|
+
Gt as OraculoSeccionTopJuegos,
|
|
3068
3067
|
qt as OraculoSeccionVirtuales,
|
|
3069
3068
|
K as OraculoSectionTitle,
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3069
|
+
Gt as OraculoTopJuegoItem,
|
|
3070
|
+
ft as OraculoWelcomeBanner,
|
|
3071
|
+
To as default
|
|
3073
3072
|
};
|
|
3074
3073
|
//# sourceMappingURL=index.es.js.map
|