oraculo-ui 0.1.55 → 0.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1172 -1183
- package/dist/index.es.js.map +1 -1
- package/dist/interfaces/oraculo/InterfaceBanner.d.ts +2 -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 Fe, { forwardRef as Le, 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
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 F({
|
|
15
15
|
children: t,
|
|
16
|
-
onClick:
|
|
17
|
-
href:
|
|
18
|
-
target:
|
|
19
|
-
rel:
|
|
20
|
-
type:
|
|
21
|
-
disabled:
|
|
16
|
+
onClick: n,
|
|
17
|
+
href: a,
|
|
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
|
-
] }),
|
|
45
|
-
return
|
|
46
|
-
|
|
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
|
+
return a ? /* @__PURE__ */ e(
|
|
46
|
+
ye,
|
|
47
47
|
{
|
|
48
|
-
href:
|
|
49
|
-
target:
|
|
50
|
-
rel:
|
|
48
|
+
href: a,
|
|
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:
|
|
73
|
-
size:
|
|
74
|
-
className:
|
|
72
|
+
iconUrl: n,
|
|
73
|
+
size: a = "md",
|
|
74
|
+
className: i = ""
|
|
75
75
|
}) {
|
|
76
|
-
const
|
|
76
|
+
const o = [
|
|
77
77
|
"orc-section-title",
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
a ? `orc-section-title--${a}` : "",
|
|
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,51 +90,51 @@ 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:
|
|
96
|
-
onSelect:
|
|
97
|
-
className:
|
|
95
|
+
active: n,
|
|
96
|
+
onSelect: a,
|
|
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: () =>
|
|
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
113
|
function V({
|
|
114
114
|
children: t,
|
|
115
|
-
minWidth:
|
|
116
|
-
spacing:
|
|
117
|
-
justify:
|
|
118
|
-
columns:
|
|
115
|
+
minWidth: n = 32,
|
|
116
|
+
spacing: a = 2,
|
|
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
|
{
|
|
139
139
|
sx: {
|
|
140
140
|
position: "relative",
|
|
@@ -145,11 +145,11 @@ function he({ src: t, alt: o }) {
|
|
|
145
145
|
display: "inline-block"
|
|
146
146
|
},
|
|
147
147
|
children: /* @__PURE__ */ e(
|
|
148
|
-
|
|
148
|
+
j,
|
|
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: o }) {
|
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
165
|
}
|
|
166
|
-
const
|
|
167
|
-
contenedor:
|
|
168
|
-
flexGroup:
|
|
169
|
-
subtitle:
|
|
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
|
+
flexGroup: He,
|
|
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: o }) {
|
|
|
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,14 +204,14 @@ function Ke({ title: t, subtitle: o }) {
|
|
|
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:
|
|
214
|
-
color:
|
|
213
|
+
backgroundColor: n,
|
|
214
|
+
color: a,
|
|
215
215
|
borderRadius: "8px",
|
|
216
216
|
padding: "4px 8px",
|
|
217
217
|
fontSize: "12px",
|
|
@@ -225,14 +225,14 @@ function qe({ text: t, color: o = "#ff3b3b", textColor: r = "#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: o, live: r = !1, time: a = "" }) {
|
|
|
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
|
-
className: `${X.scoreWrapper} ${X[
|
|
274
|
+
className: `${X.scoreWrapper} ${X[a]}`,
|
|
275
275
|
children: [
|
|
276
|
-
/* @__PURE__ */ e("div", { className: `${X.score} ${X[
|
|
277
|
-
|
|
276
|
+
/* @__PURE__ */ e("div", { className: `${X.score} ${X[a]}`, children: t }),
|
|
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 = Le(
|
|
296
296
|
({
|
|
297
297
|
items: t = [],
|
|
298
|
-
renderItem:
|
|
299
|
-
perPage:
|
|
300
|
-
gap:
|
|
301
|
-
breakpoints:
|
|
302
|
-
options:
|
|
303
|
-
className:
|
|
298
|
+
renderItem: n,
|
|
299
|
+
perPage: a = 1,
|
|
300
|
+
gap: i = "0px",
|
|
301
|
+
breakpoints: l,
|
|
302
|
+
options: o = {},
|
|
303
|
+
className: r = "",
|
|
304
304
|
onMove: m,
|
|
305
|
-
useIndexAsKey:
|
|
306
|
-
},
|
|
307
|
-
const
|
|
308
|
-
|
|
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,
|
|
@@ -336,38 +336,38 @@ const ut = Ue, pt = ze, q = Fe(
|
|
|
336
336
|
rewind: !1,
|
|
337
337
|
focus: "start",
|
|
338
338
|
autoWidth: !1,
|
|
339
|
-
perPage:
|
|
340
|
-
gap:
|
|
341
|
-
breakpoints:
|
|
342
|
-
...
|
|
339
|
+
perPage: a,
|
|
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:
|
|
361
|
-
size:
|
|
362
|
-
fillParent:
|
|
360
|
+
onClick: n,
|
|
361
|
+
size: a = "sm",
|
|
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 = Ue, pt = ze, q = Fe(
|
|
|
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 = Ue, pt = ze, q = Fe(
|
|
|
435
435
|
transition: "opacity .15s ease, transform .15s ease",
|
|
436
436
|
pointerEvents: "none"
|
|
437
437
|
},
|
|
438
|
-
children: /* @__PURE__ */ e(F, { variant: "primary", size: "md", onClick:
|
|
438
|
+
children: /* @__PURE__ */ e(F, { 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:
|
|
448
|
-
onClick:
|
|
449
|
-
loading:
|
|
450
|
-
sizes:
|
|
447
|
+
orden: n = 1,
|
|
448
|
+
onClick: a,
|
|
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,7 +499,7 @@ function mt({
|
|
|
499
499
|
borderRadius: "inherit",
|
|
500
500
|
overflow: "hidden"
|
|
501
501
|
},
|
|
502
|
-
children:
|
|
502
|
+
children: i ? /* @__PURE__ */ e(
|
|
503
503
|
M,
|
|
504
504
|
{
|
|
505
505
|
variant: "rectangular",
|
|
@@ -517,7 +517,7 @@ function mt({
|
|
|
517
517
|
te,
|
|
518
518
|
{
|
|
519
519
|
imageUrl: t,
|
|
520
|
-
onClick:
|
|
520
|
+
onClick: a,
|
|
521
521
|
size: "lg",
|
|
522
522
|
fillParent: !0
|
|
523
523
|
}
|
|
@@ -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:
|
|
559
|
-
providerName:
|
|
560
|
-
machine:
|
|
561
|
-
onClick:
|
|
558
|
+
provider: n,
|
|
559
|
+
providerName: a,
|
|
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,7 +632,7 @@ const ht = ({
|
|
|
632
632
|
]
|
|
633
633
|
}
|
|
634
634
|
);
|
|
635
|
-
},
|
|
635
|
+
}, ie = 12, se = ({ r: t = 16 }) => /* @__PURE__ */ e(k, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
|
|
636
636
|
M,
|
|
637
637
|
{
|
|
638
638
|
variant: "rectangular",
|
|
@@ -647,17 +647,17 @@ const ht = ({
|
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
) }),
|
|
650
|
+
) }), Ie = ({
|
|
651
651
|
items: t,
|
|
652
|
-
layout:
|
|
653
|
-
onClick:
|
|
654
|
-
loading:
|
|
655
|
-
gridSkeletonCount:
|
|
652
|
+
layout: n = "grid",
|
|
653
|
+
onClick: a,
|
|
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: () =>
|
|
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: () =>
|
|
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: () =>
|
|
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:
|
|
773
|
-
subtitle:
|
|
774
|
-
buttonText:
|
|
775
|
-
onButtonClick:
|
|
776
|
-
backgroundImage:
|
|
777
|
-
alt:
|
|
772
|
+
amount: n,
|
|
773
|
+
subtitle: a,
|
|
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,13 +892,13 @@ 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
|
]
|
|
899
899
|
}
|
|
900
900
|
),
|
|
901
|
-
|
|
901
|
+
a && /* @__PURE__ */ e(
|
|
902
902
|
D,
|
|
903
903
|
{
|
|
904
904
|
sx: {
|
|
@@ -907,10 +907,10 @@ const ht = ({
|
|
|
907
907
|
fontWeight: 600,
|
|
908
908
|
color: "#e7f8ff"
|
|
909
909
|
},
|
|
910
|
-
children:
|
|
910
|
+
children: a
|
|
911
911
|
}
|
|
912
912
|
),
|
|
913
|
-
|
|
913
|
+
i && /* @__PURE__ */ e(F, { onClick: l, children: i })
|
|
914
914
|
]
|
|
915
915
|
}
|
|
916
916
|
)
|
|
@@ -919,96 +919,96 @@ const ht = ({
|
|
|
919
919
|
]
|
|
920
920
|
}
|
|
921
921
|
);
|
|
922
|
-
},
|
|
922
|
+
}, xt = ({
|
|
923
923
|
text: t,
|
|
924
|
-
buttonLabel:
|
|
925
|
-
onClick:
|
|
926
|
-
imgAlt:
|
|
927
|
-
imgSrcMobile:
|
|
928
|
-
imgSrcDesktopBg:
|
|
929
|
-
imgSrcDesktopLogo:
|
|
930
|
-
}) => /* @__PURE__ */
|
|
924
|
+
buttonLabel: n = "Conoce más",
|
|
925
|
+
onClick: a,
|
|
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(F, { onClick:
|
|
958
|
+
/* @__PURE__ */ e(F, { 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(F, { onClick:
|
|
963
|
+
/* @__PURE__ */ e(F, { 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
|
|
979
|
+
function kt() {
|
|
980
980
|
window.location.href = "/#in-play";
|
|
981
981
|
}
|
|
982
|
-
function
|
|
982
|
+
function $t() {
|
|
983
983
|
window.location.href = "/#sports-hub/football";
|
|
984
984
|
}
|
|
985
|
-
function
|
|
985
|
+
function Ot() {
|
|
986
986
|
window.location.href = "/#specials";
|
|
987
987
|
}
|
|
988
|
-
function
|
|
989
|
-
var
|
|
990
|
-
function
|
|
991
|
-
var
|
|
992
|
-
const
|
|
993
|
-
var
|
|
994
|
-
let s =
|
|
995
|
-
return ["Más de", "Mas de", "Over"].includes(s == null ? void 0 : s.label) ? (
|
|
996
|
-
id: (
|
|
997
|
-
value:
|
|
998
|
-
label:
|
|
999
|
-
odds: (
|
|
1000
|
-
bl: (
|
|
1001
|
-
position: (
|
|
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
|
|
1002
1002
|
};
|
|
1003
|
-
}),
|
|
1003
|
+
}), x = u.reduce((O, s) => O + s.odds, 0) / 1e3;
|
|
1004
1004
|
return {
|
|
1005
|
-
outcomes:
|
|
1006
|
-
total:
|
|
1005
|
+
outcomes: u,
|
|
1006
|
+
total: x.toFixed(2)
|
|
1007
1007
|
};
|
|
1008
1008
|
}
|
|
1009
|
-
const
|
|
1010
|
-
return /* @__PURE__ */
|
|
1011
|
-
/* @__PURE__ */ e("div", { className: H.combinadas, children: /* @__PURE__ */
|
|
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: [
|
|
1012
1012
|
/* @__PURE__ */ e(
|
|
1013
1013
|
K,
|
|
1014
1014
|
{
|
|
@@ -1018,32 +1018,32 @@ function kt({ event: t }) {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
),
|
|
1020
1020
|
/* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/line.png" }),
|
|
1021
|
-
/* @__PURE__ */ e(B, { direction: "column", spacing: 0.5, useFlexGap: !0, children:
|
|
1022
|
-
/* @__PURE__ */
|
|
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
1023
|
/* @__PURE__ */ e("div", { className: H.circle }),
|
|
1024
|
-
|
|
1024
|
+
o < a.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: H.line })
|
|
1025
1025
|
] }),
|
|
1026
|
-
/* @__PURE__ */
|
|
1027
|
-
/* @__PURE__ */ e("strong", { children:
|
|
1026
|
+
/* @__PURE__ */ c("div", { className: H.apuestaText, children: [
|
|
1027
|
+
/* @__PURE__ */ e("strong", { children: l.value }),
|
|
1028
1028
|
" ",
|
|
1029
1029
|
"| ",
|
|
1030
|
-
|
|
1030
|
+
l.label
|
|
1031
1031
|
] })
|
|
1032
|
-
] },
|
|
1032
|
+
] }, o)) })
|
|
1033
1033
|
] }) }),
|
|
1034
|
-
/* @__PURE__ */
|
|
1035
|
-
var
|
|
1036
|
-
return
|
|
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
1037
|
}, className: H.cuotaTotal, children: [
|
|
1038
|
-
/* @__PURE__ */
|
|
1038
|
+
/* @__PURE__ */ c("span", { children: [
|
|
1039
1039
|
"Cuota total: ",
|
|
1040
|
-
/* @__PURE__ */ e("strong", { children: (((
|
|
1040
|
+
/* @__PURE__ */ e("strong", { children: (((i = t.combinadoTotal) != null ? i : 0) / 1e3).toFixed(2) })
|
|
1041
1041
|
] }),
|
|
1042
1042
|
/* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/cuotaTotal.svg", alt: "cuota total" })
|
|
1043
1043
|
] })
|
|
1044
1044
|
] });
|
|
1045
1045
|
}
|
|
1046
|
-
const
|
|
1046
|
+
const U = {
|
|
1047
1047
|
"orc-btn": "oraculo__OraculoButtonBet-module__orc-btn___jakza",
|
|
1048
1048
|
"orc-btn__label": "oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH",
|
|
1049
1049
|
"orc-btn__icon": "oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd",
|
|
@@ -1057,174 +1057,174 @@ const G = {
|
|
|
1057
1057
|
"orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
|
|
1058
1058
|
"orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
|
|
1059
1059
|
};
|
|
1060
|
-
function
|
|
1060
|
+
function It({
|
|
1061
1061
|
children: t,
|
|
1062
|
-
onClick:
|
|
1063
|
-
href:
|
|
1064
|
-
target:
|
|
1065
|
-
rel:
|
|
1066
|
-
type:
|
|
1067
|
-
disabled:
|
|
1062
|
+
onClick: n,
|
|
1063
|
+
href: a,
|
|
1064
|
+
target: i,
|
|
1065
|
+
rel: l,
|
|
1066
|
+
type: o = "button",
|
|
1067
|
+
disabled: r = !1,
|
|
1068
1068
|
variant: m = "primary",
|
|
1069
|
-
size:
|
|
1070
|
-
fullWidth:
|
|
1071
|
-
fullHeight:
|
|
1072
|
-
className:
|
|
1069
|
+
size: u,
|
|
1070
|
+
fullWidth: x = !1,
|
|
1071
|
+
fullHeight: b = !1,
|
|
1072
|
+
className: O = "",
|
|
1073
1073
|
ariaLabel: s,
|
|
1074
|
-
leftIcon:
|
|
1075
|
-
rightIcon:
|
|
1076
|
-
iconOnly:
|
|
1074
|
+
leftIcon: p,
|
|
1075
|
+
rightIcon: _,
|
|
1076
|
+
iconOnly: $
|
|
1077
1077
|
}) {
|
|
1078
|
-
const
|
|
1079
|
-
|
|
1078
|
+
const v = !!t && t !== !0, f = (!!p ? 1 : 0) + (!!_ ? 1 : 0) == 1, C = $ != null ? $ : f && !v, T = [
|
|
1079
|
+
U["orc-btn"],
|
|
1080
1080
|
// base
|
|
1081
|
-
|
|
1081
|
+
U[`orc-btn--${m}`],
|
|
1082
1082
|
// variant primary/secondary/tertiary
|
|
1083
|
-
|
|
1083
|
+
u ? U[`orc-btn--${u}`] : "",
|
|
1084
1084
|
// sm / md / lg
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
].filter(Boolean).join(" "),
|
|
1090
|
-
|
|
1091
|
-
!
|
|
1092
|
-
|
|
1093
|
-
] }),
|
|
1094
|
-
return
|
|
1095
|
-
|
|
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;
|
|
1094
|
+
return a ? /* @__PURE__ */ e(
|
|
1095
|
+
ye,
|
|
1096
1096
|
{
|
|
1097
|
-
href:
|
|
1098
|
-
target:
|
|
1099
|
-
rel:
|
|
1097
|
+
href: a,
|
|
1098
|
+
target: i,
|
|
1099
|
+
rel: l,
|
|
1100
1100
|
"aria-label": s,
|
|
1101
|
-
"aria-disabled":
|
|
1102
|
-
tabIndex:
|
|
1101
|
+
"aria-disabled": E,
|
|
1102
|
+
tabIndex: E ? -1 : void 0,
|
|
1103
1103
|
className: T,
|
|
1104
|
-
onClick:
|
|
1105
|
-
children:
|
|
1104
|
+
onClick: E ? (d) => d.preventDefault() : n,
|
|
1105
|
+
children: P
|
|
1106
1106
|
}
|
|
1107
1107
|
) : /* @__PURE__ */ e(
|
|
1108
1108
|
"button",
|
|
1109
1109
|
{
|
|
1110
|
-
type:
|
|
1111
|
-
onClick:
|
|
1112
|
-
disabled:
|
|
1110
|
+
type: o,
|
|
1111
|
+
onClick: n,
|
|
1112
|
+
disabled: !!E,
|
|
1113
1113
|
"aria-label": s,
|
|
1114
1114
|
className: T,
|
|
1115
|
-
children:
|
|
1115
|
+
children: P
|
|
1116
1116
|
}
|
|
1117
1117
|
);
|
|
1118
1118
|
}
|
|
1119
|
-
const
|
|
1120
|
-
cardWrapper:
|
|
1119
|
+
const Pt = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Pe = {
|
|
1120
|
+
cardWrapper: Pt
|
|
1121
1121
|
};
|
|
1122
|
-
function
|
|
1123
|
-
var
|
|
1124
|
-
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(
|
|
1125
1125
|
(s) => {
|
|
1126
|
-
var
|
|
1127
|
-
return ((
|
|
1126
|
+
var p;
|
|
1127
|
+
return ((p = s.betOfferType) == null ? void 0 : p.id) === 2;
|
|
1128
1128
|
}
|
|
1129
1129
|
);
|
|
1130
|
-
return /* @__PURE__ */ e("div", { className:
|
|
1131
|
-
/* @__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: [
|
|
1132
1132
|
/* @__PURE__ */ e(
|
|
1133
|
-
|
|
1133
|
+
Qe,
|
|
1134
1134
|
{
|
|
1135
|
-
title: (
|
|
1135
|
+
title: (l = t.path[0].name) != null ? l : "",
|
|
1136
1136
|
subtitle: t.group,
|
|
1137
1137
|
live: !0,
|
|
1138
|
-
time: ((
|
|
1138
|
+
time: ((o = n == null ? void 0 : n.matchClock) == null ? void 0 : o.minute) != null ? `${n.matchClock.minute}'` : ""
|
|
1139
1139
|
}
|
|
1140
1140
|
),
|
|
1141
|
-
/* @__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: [
|
|
1142
1142
|
/* @__PURE__ */ e(
|
|
1143
|
-
|
|
1143
|
+
oe,
|
|
1144
1144
|
{
|
|
1145
1145
|
name: t.homeName,
|
|
1146
1146
|
logo: "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/Juventus.png"
|
|
1147
1147
|
}
|
|
1148
1148
|
),
|
|
1149
|
-
/* @__PURE__ */ e(
|
|
1150
|
-
/* @__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" })
|
|
1151
1151
|
] }) })
|
|
1152
1152
|
] }),
|
|
1153
|
-
/* @__PURE__ */
|
|
1154
|
-
/* @__PURE__ */ e(V, { spacing: 1, children: ((
|
|
1155
|
-
/* @__PURE__ */ e(V, { spacing: 2, children: ((
|
|
1156
|
-
|
|
1157
|
-
}, 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)) })
|
|
1158
1158
|
] })
|
|
1159
1159
|
] }) });
|
|
1160
1160
|
}
|
|
1161
|
-
const
|
|
1162
|
-
date:
|
|
1161
|
+
const Rt = "oraculo__OraculoEventDate-module__date___xhIlh", Bt = {
|
|
1162
|
+
date: Rt
|
|
1163
1163
|
};
|
|
1164
|
-
function
|
|
1165
|
-
return /* @__PURE__ */ e("div", { className: `oli-font ${
|
|
1164
|
+
function Mt({ text: t }) {
|
|
1165
|
+
return /* @__PURE__ */ e("div", { className: `oli-font ${Bt.date}`, children: t });
|
|
1166
1166
|
}
|
|
1167
|
-
const
|
|
1168
|
-
cardContainer:
|
|
1169
|
-
cardBackground:
|
|
1170
|
-
jugadas:
|
|
1171
|
-
equipos:
|
|
1167
|
+
const Ft = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Lt = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Wt = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", zt = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", J = {
|
|
1168
|
+
cardContainer: Ft,
|
|
1169
|
+
cardBackground: Lt,
|
|
1170
|
+
jugadas: Wt,
|
|
1171
|
+
equipos: zt
|
|
1172
1172
|
};
|
|
1173
|
-
function
|
|
1174
|
-
var
|
|
1175
|
-
function
|
|
1176
|
-
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", {
|
|
1177
1177
|
weekday: "short"
|
|
1178
|
-
}).toUpperCase(), s =
|
|
1179
|
-
let
|
|
1178
|
+
}).toUpperCase(), s = b.getDate().toString().padStart(2, "0"), p = (b.getMonth() + 1).toString().padStart(2, "0");
|
|
1179
|
+
let _ = b.toLocaleTimeString("es-PE", {
|
|
1180
1180
|
hour: "numeric",
|
|
1181
1181
|
minute: "2-digit",
|
|
1182
1182
|
hour12: !0
|
|
1183
1183
|
}).toUpperCase();
|
|
1184
|
-
return
|
|
1184
|
+
return _ = _.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${O} ${s}/${p} | ${_}`;
|
|
1185
1185
|
}
|
|
1186
|
-
return /* @__PURE__ */
|
|
1187
|
-
/* @__PURE__ */ e(
|
|
1188
|
-
/* @__PURE__ */ e("div", { className: J.cardBackground, children: /* @__PURE__ */
|
|
1189
|
-
/* @__PURE__ */
|
|
1190
|
-
/* @__PURE__ */
|
|
1191
|
-
/* @__PURE__ */ e(
|
|
1192
|
-
/* @__PURE__ */ e(
|
|
1193
|
-
/* @__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" })
|
|
1194
1194
|
] }),
|
|
1195
|
-
/* @__PURE__ */ e(
|
|
1195
|
+
/* @__PURE__ */ e(Mt, { text: n(t.start) })
|
|
1196
1196
|
] }),
|
|
1197
|
-
/* @__PURE__ */
|
|
1198
|
-
/* @__PURE__ */ e(V, { spacing: 1, children: ((
|
|
1199
|
-
/* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */ e(V, { spacing: 1, children: ((
|
|
1200
|
-
|
|
1201
|
-
}, 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(F, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1200
|
+
pe(x.id);
|
|
1201
|
+
}, children: (x.odds / 1e3).toFixed(2) }, b)) }) })
|
|
1202
1202
|
] })
|
|
1203
1203
|
] }) })
|
|
1204
1204
|
] });
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1206
|
+
function At({
|
|
1207
1207
|
items: t,
|
|
1208
|
-
title:
|
|
1209
|
-
iconUrl:
|
|
1210
|
-
onViewMore:
|
|
1211
|
-
className:
|
|
1208
|
+
title: n = "Destacados",
|
|
1209
|
+
iconUrl: a,
|
|
1210
|
+
onViewMore: i,
|
|
1211
|
+
className: l = ""
|
|
1212
1212
|
}) {
|
|
1213
|
-
const
|
|
1214
|
-
var
|
|
1215
|
-
(
|
|
1216
|
-
}, f = () => {
|
|
1217
|
-
var l;
|
|
1218
|
-
(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();
|
|
1219
1216
|
}, x = () => {
|
|
1217
|
+
var p;
|
|
1218
|
+
(p = o.current) == null || p.next(), console.log("items: ", t);
|
|
1219
|
+
}, b = () => {
|
|
1220
1220
|
window.location.href = "https://www.olimpo.bet/promociones";
|
|
1221
|
-
},
|
|
1222
|
-
if (!
|
|
1223
|
-
const
|
|
1224
|
-
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 = $;
|
|
1225
1225
|
};
|
|
1226
|
-
return /* @__PURE__ */
|
|
1227
|
-
/* @__PURE__ */
|
|
1226
|
+
return /* @__PURE__ */ c("section", { className: l || void 0, style: { width: "100%" }, children: [
|
|
1227
|
+
/* @__PURE__ */ c(
|
|
1228
1228
|
"header",
|
|
1229
1229
|
{
|
|
1230
1230
|
style: {
|
|
@@ -1236,17 +1236,17 @@ function zt({
|
|
|
1236
1236
|
marginBottom: 16
|
|
1237
1237
|
},
|
|
1238
1238
|
children: [
|
|
1239
|
-
/* @__PURE__ */ e(K, { title:
|
|
1240
|
-
/* @__PURE__ */
|
|
1239
|
+
/* @__PURE__ */ e(K, { title: n, iconUrl: a, size: "md" }),
|
|
1240
|
+
/* @__PURE__ */ c("div", { style: { display: "flex", gap: 8 }, children: [
|
|
1241
1241
|
/* @__PURE__ */ e(
|
|
1242
1242
|
F,
|
|
1243
1243
|
{
|
|
1244
1244
|
ariaLabel: "Anterior",
|
|
1245
1245
|
variant: "secondary",
|
|
1246
1246
|
iconOnly: !0,
|
|
1247
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1248
|
-
onClick:
|
|
1249
|
-
disabled:
|
|
1247
|
+
leftIcon: /* @__PURE__ */ e(de, {}),
|
|
1248
|
+
onClick: u,
|
|
1249
|
+
disabled: r.isStart
|
|
1250
1250
|
}
|
|
1251
1251
|
),
|
|
1252
1252
|
/* @__PURE__ */ e(
|
|
@@ -1255,20 +1255,20 @@ function zt({
|
|
|
1255
1255
|
ariaLabel: "Siguiente",
|
|
1256
1256
|
variant: "secondary",
|
|
1257
1257
|
iconOnly: !0,
|
|
1258
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1259
|
-
onClick:
|
|
1260
|
-
disabled:
|
|
1258
|
+
rightIcon: /* @__PURE__ */ e(ue, {}),
|
|
1259
|
+
onClick: x,
|
|
1260
|
+
disabled: r.isEnd
|
|
1261
1261
|
}
|
|
1262
1262
|
)
|
|
1263
1263
|
] }),
|
|
1264
|
-
/* @__PURE__ */ e(F, { variant: "secondary", onClick:
|
|
1264
|
+
/* @__PURE__ */ e(F, { variant: "secondary", onClick: b, children: "Ver más" })
|
|
1265
1265
|
]
|
|
1266
1266
|
}
|
|
1267
1267
|
),
|
|
1268
1268
|
/* @__PURE__ */ e(
|
|
1269
1269
|
q,
|
|
1270
1270
|
{
|
|
1271
|
-
ref:
|
|
1271
|
+
ref: o,
|
|
1272
1272
|
items: t,
|
|
1273
1273
|
perPage: 2,
|
|
1274
1274
|
gap: "16px",
|
|
@@ -1285,7 +1285,7 @@ function zt({
|
|
|
1285
1285
|
768: { perPage: 2, focus: "start" },
|
|
1286
1286
|
1024: { perPage: 2.5, focus: "start" }
|
|
1287
1287
|
},
|
|
1288
|
-
renderItem: (
|
|
1288
|
+
renderItem: (p) => /* @__PURE__ */ e(
|
|
1289
1289
|
"div",
|
|
1290
1290
|
{
|
|
1291
1291
|
style: {
|
|
@@ -1293,12 +1293,12 @@ function zt({
|
|
|
1293
1293
|
marginTop: 16,
|
|
1294
1294
|
cursor: "pointer"
|
|
1295
1295
|
},
|
|
1296
|
-
onClick: () =>
|
|
1296
|
+
onClick: () => O(p.promotion),
|
|
1297
1297
|
children: /* @__PURE__ */ e(
|
|
1298
1298
|
"img",
|
|
1299
1299
|
{
|
|
1300
|
-
src: `https://olimpo.bet${
|
|
1301
|
-
alt:
|
|
1300
|
+
src: `https://olimpo.bet${p.image !== "" ? p.image : p.summary_image}`,
|
|
1301
|
+
alt: p.title,
|
|
1302
1302
|
style: {
|
|
1303
1303
|
width: "100%",
|
|
1304
1304
|
height: window.innerWidth < 768 ? "80px" : "137px",
|
|
@@ -1309,39 +1309,45 @@ function zt({
|
|
|
1309
1309
|
}
|
|
1310
1310
|
)
|
|
1311
1311
|
},
|
|
1312
|
-
`${
|
|
1312
|
+
`${p.title}-${p.image}`
|
|
1313
1313
|
),
|
|
1314
|
-
onMove: ({ isStart:
|
|
1314
|
+
onMove: ({ isStart: p, isEnd: _ }) => m({ isStart: p, isEnd: _ })
|
|
1315
1315
|
}
|
|
1316
1316
|
)
|
|
1317
1317
|
] });
|
|
1318
1318
|
}
|
|
1319
|
-
|
|
1320
|
-
|
|
1319
|
+
function re(t, {
|
|
1320
|
+
basePath: n = "/casino",
|
|
1321
|
+
src: a,
|
|
1322
|
+
demo: i = !1,
|
|
1323
|
+
host: l = "https://www.olimpo.bet"
|
|
1324
|
+
} = {}) {
|
|
1321
1325
|
if (typeof window == "undefined") return;
|
|
1322
|
-
const o =
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
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({
|
|
1326
1332
|
items: t,
|
|
1327
|
-
title:
|
|
1328
|
-
iconUrl:
|
|
1329
|
-
onCardClick:
|
|
1333
|
+
title: n = "Top Juegos",
|
|
1334
|
+
iconUrl: a,
|
|
1335
|
+
onCardClick: i
|
|
1330
1336
|
}) {
|
|
1331
|
-
const
|
|
1332
|
-
() => (t != null ? t : []).map((m,
|
|
1333
|
-
var
|
|
1337
|
+
const l = le(
|
|
1338
|
+
() => (t != null ? t : []).map((m, u) => {
|
|
1339
|
+
var x;
|
|
1334
1340
|
return {
|
|
1335
1341
|
...m,
|
|
1336
1342
|
// si no viene orden, usamos el índice (1-based)
|
|
1337
|
-
orden: (
|
|
1338
|
-
_originalIndex:
|
|
1343
|
+
orden: (x = m.orden) != null ? x : u + 1,
|
|
1344
|
+
_originalIndex: u
|
|
1339
1345
|
};
|
|
1340
|
-
}).sort((m,
|
|
1346
|
+
}).sort((m, u) => m.orden != null && u.orden != null ? m.orden - u.orden : m._originalIndex - u._originalIndex),
|
|
1341
1347
|
[t]
|
|
1342
|
-
),
|
|
1343
|
-
return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */
|
|
1344
|
-
/* @__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" }),
|
|
1345
1351
|
/* @__PURE__ */ e(
|
|
1346
1352
|
k,
|
|
1347
1353
|
{
|
|
@@ -1355,43 +1361,38 @@ function At({
|
|
|
1355
1361
|
justifyItems: "center",
|
|
1356
1362
|
width: "100%"
|
|
1357
1363
|
},
|
|
1358
|
-
children:
|
|
1359
|
-
var
|
|
1364
|
+
children: r.map((m, u) => {
|
|
1365
|
+
var x, b;
|
|
1360
1366
|
return /* @__PURE__ */ e(
|
|
1361
|
-
|
|
1367
|
+
ht,
|
|
1362
1368
|
{
|
|
1363
|
-
imageUrl:
|
|
1364
|
-
orden:
|
|
1365
|
-
loading:
|
|
1366
|
-
onClick:
|
|
1367
|
-
|
|
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" });
|
|
1368
1374
|
}
|
|
1369
1375
|
},
|
|
1370
|
-
|
|
1376
|
+
o ? `sk-${u}` : (b = m.machine) != null ? b : `${u}`
|
|
1371
1377
|
);
|
|
1372
1378
|
})
|
|
1373
1379
|
}
|
|
1374
1380
|
)
|
|
1375
1381
|
] }) });
|
|
1376
1382
|
}
|
|
1377
|
-
const
|
|
1378
|
-
var
|
|
1379
|
-
return (
|
|
1380
|
-
}, Dt = (
|
|
1381
|
-
var s, l, h, S, g, y;
|
|
1382
|
-
if (typeof window == "undefined") return;
|
|
1383
|
-
const o = (l = (s = t.name) != null ? s : t.web_name) != null ? l : "", r = (h = t.provider) != null ? h : "", a = (S = t.machine) != null ? S : "", c = (g = t.external_id) != null ? g : "", n = (y = t.type) != null ? y : "Live", i = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), d = encodeURIComponent(String(o)), 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}`;
|
|
1384
|
-
window.location.href = I;
|
|
1385
|
-
}, Vt = ({
|
|
1383
|
+
const Ut = (t, n) => {
|
|
1384
|
+
var a, i;
|
|
1385
|
+
return (i = (a = t.orden) != null ? a : t.machine) != null ? i : n;
|
|
1386
|
+
}, Dt = ({
|
|
1386
1387
|
items: t,
|
|
1387
|
-
title:
|
|
1388
|
-
subtitle:
|
|
1389
|
-
backgroundMobileUrl:
|
|
1390
|
-
backgroundDesktopUrl:
|
|
1391
|
-
onCardClick:
|
|
1392
|
-
onViewMore:
|
|
1388
|
+
title: n = "Casino en vivo",
|
|
1389
|
+
subtitle: a = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
1390
|
+
backgroundMobileUrl: i = "",
|
|
1391
|
+
backgroundDesktopUrl: l = "",
|
|
1392
|
+
onCardClick: o,
|
|
1393
|
+
onViewMore: r,
|
|
1393
1394
|
className: m
|
|
1394
|
-
}) => (console.log("items: ", t), /* @__PURE__ */
|
|
1395
|
+
}) => (console.log("items: ", t), /* @__PURE__ */ c(
|
|
1395
1396
|
k,
|
|
1396
1397
|
{
|
|
1397
1398
|
className: m,
|
|
@@ -1415,12 +1416,12 @@ const Gt = (t, o) => {
|
|
|
1415
1416
|
xs: `
|
|
1416
1417
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1417
1418
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1418
|
-
url('${
|
|
1419
|
+
url('${i}')
|
|
1419
1420
|
`,
|
|
1420
1421
|
md: `
|
|
1421
1422
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1422
1423
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1423
|
-
url('${
|
|
1424
|
+
url('${l}')
|
|
1424
1425
|
`
|
|
1425
1426
|
},
|
|
1426
1427
|
backgroundSize: "cover",
|
|
@@ -1430,7 +1431,7 @@ const Gt = (t, o) => {
|
|
|
1430
1431
|
}
|
|
1431
1432
|
}
|
|
1432
1433
|
),
|
|
1433
|
-
/* @__PURE__ */
|
|
1434
|
+
/* @__PURE__ */ c(
|
|
1434
1435
|
k,
|
|
1435
1436
|
{
|
|
1436
1437
|
sx: {
|
|
@@ -1448,7 +1449,7 @@ const Gt = (t, o) => {
|
|
|
1448
1449
|
textAlign: { xs: "center", md: "left" }
|
|
1449
1450
|
},
|
|
1450
1451
|
children: [
|
|
1451
|
-
/* @__PURE__ */
|
|
1452
|
+
/* @__PURE__ */ c(B, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
1452
1453
|
/* @__PURE__ */ e(
|
|
1453
1454
|
D,
|
|
1454
1455
|
{
|
|
@@ -1459,7 +1460,7 @@ const Gt = (t, o) => {
|
|
|
1459
1460
|
WebkitTextStroke: "0.5px rgba(255, 255, 255, .5)",
|
|
1460
1461
|
textShadow: "0 0 2px rgba(255, 255, 255, .95),0 0 4px rgba(255, 255, 255, .6),0 1px 0 #898989"
|
|
1461
1462
|
},
|
|
1462
|
-
children:
|
|
1463
|
+
children: n
|
|
1463
1464
|
}
|
|
1464
1465
|
),
|
|
1465
1466
|
/* @__PURE__ */ e(
|
|
@@ -1471,7 +1472,7 @@ const Gt = (t, o) => {
|
|
|
1471
1472
|
marginX: { xs: 4, md: 0 },
|
|
1472
1473
|
lineHeight: 1.5
|
|
1473
1474
|
},
|
|
1474
|
-
children:
|
|
1475
|
+
children: a
|
|
1475
1476
|
}
|
|
1476
1477
|
),
|
|
1477
1478
|
/* @__PURE__ */ e(k, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
|
|
@@ -1479,7 +1480,7 @@ const Gt = (t, o) => {
|
|
|
1479
1480
|
{
|
|
1480
1481
|
variant: "primary",
|
|
1481
1482
|
size: "md",
|
|
1482
|
-
onClick: () =>
|
|
1483
|
+
onClick: () => (r == null ? void 0 : r()) || (window.location.href = "https://www.olimpo.bet/casino-en-vivo"),
|
|
1483
1484
|
children: "Ver más"
|
|
1484
1485
|
}
|
|
1485
1486
|
) })
|
|
@@ -1495,20 +1496,20 @@ const Gt = (t, o) => {
|
|
|
1495
1496
|
py: { xs: 3, md: 0 },
|
|
1496
1497
|
alignItems: "center"
|
|
1497
1498
|
},
|
|
1498
|
-
children: (t != null ? t : []).slice(0, 3).map((
|
|
1499
|
-
var
|
|
1499
|
+
children: (t != null ? t : []).slice(0, 3).map((u, x) => {
|
|
1500
|
+
var b;
|
|
1500
1501
|
return /* @__PURE__ */ e(
|
|
1501
|
-
|
|
1502
|
+
gt,
|
|
1502
1503
|
{
|
|
1503
|
-
logo: `https://olimpo.bet${(
|
|
1504
|
-
provider:
|
|
1505
|
-
providerName:
|
|
1506
|
-
machine:
|
|
1504
|
+
logo: `https://olimpo.bet${(b = u.logo) != null ? b : ""}`,
|
|
1505
|
+
provider: u.provider,
|
|
1506
|
+
providerName: u.web_name,
|
|
1507
|
+
machine: u.machine,
|
|
1507
1508
|
onClick: () => {
|
|
1508
|
-
|
|
1509
|
+
re(u, { basePath: "/casino-en-vivo" });
|
|
1509
1510
|
}
|
|
1510
1511
|
},
|
|
1511
|
-
|
|
1512
|
+
Ut(u, x)
|
|
1512
1513
|
);
|
|
1513
1514
|
})
|
|
1514
1515
|
}
|
|
@@ -1518,7 +1519,7 @@ const Gt = (t, o) => {
|
|
|
1518
1519
|
{
|
|
1519
1520
|
variant: "primary",
|
|
1520
1521
|
size: "lg",
|
|
1521
|
-
onClick: () =>
|
|
1522
|
+
onClick: () => (r == null ? void 0 : r()) || (window.location.href = "https://www.olimpo.bet/casino-en-vivo"),
|
|
1522
1523
|
children: "Ver más"
|
|
1523
1524
|
}
|
|
1524
1525
|
) })
|
|
@@ -1527,65 +1528,60 @@ const Gt = (t, o) => {
|
|
|
1527
1528
|
)
|
|
1528
1529
|
]
|
|
1529
1530
|
}
|
|
1530
|
-
)),
|
|
1531
|
-
var
|
|
1532
|
-
return (
|
|
1533
|
-
},
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
const o = (s = t.name) != null ? s : "", r = (l = t.provider) != null ? l : "", a = (h = t.machine) != null ? h : "", c = (S = t.external_id) != null ? S : "", n = (g = t.type) != null ? g : "Casino", i = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), d = encodeURIComponent(String(o)), f = encodeURIComponent(String(c)), x = encodeURIComponent(String(n)), I = `https://www.olimpo.bet/casino?${m}?provider=${i}&name=${d}&external_id=${f}&type=${x}`;
|
|
1537
|
-
window.location.href = I;
|
|
1538
|
-
}, Kt = (t, o = !0, r = 4) => {
|
|
1539
|
-
const a = t.map((i, m) => {
|
|
1540
|
-
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;
|
|
1541
1537
|
return {
|
|
1542
|
-
id:
|
|
1543
|
-
imageUrl: (
|
|
1538
|
+
id: Te(r, m),
|
|
1539
|
+
imageUrl: (u = r.logo) != null ? u : ""
|
|
1544
1540
|
};
|
|
1545
1541
|
});
|
|
1546
|
-
if (!
|
|
1547
|
-
const
|
|
1548
|
-
let
|
|
1549
|
-
if (
|
|
1550
|
-
const
|
|
1551
|
-
|
|
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({
|
|
1552
1548
|
id: "mosaic-0",
|
|
1553
1549
|
kind: "mosaic",
|
|
1554
|
-
items:
|
|
1555
|
-
}),
|
|
1550
|
+
items: i.slice(0, r)
|
|
1551
|
+
}), o = r;
|
|
1556
1552
|
}
|
|
1557
|
-
for (;
|
|
1558
|
-
const
|
|
1559
|
-
|
|
1560
|
-
id: `grid-${
|
|
1553
|
+
for (; o < i.length; ) {
|
|
1554
|
+
const r = Math.min(o + a, i.length);
|
|
1555
|
+
l.push({
|
|
1556
|
+
id: `grid-${o}`,
|
|
1561
1557
|
kind: "grid",
|
|
1562
|
-
items:
|
|
1563
|
-
}),
|
|
1558
|
+
items: i.slice(o, r)
|
|
1559
|
+
}), o = r;
|
|
1564
1560
|
}
|
|
1565
|
-
return
|
|
1566
|
-
},
|
|
1561
|
+
return l;
|
|
1562
|
+
}, Ht = ({
|
|
1567
1563
|
items: t,
|
|
1568
|
-
title:
|
|
1569
|
-
iconUrl:
|
|
1570
|
-
onItemClick:
|
|
1571
|
-
onViewMore:
|
|
1572
|
-
mosaicFirst:
|
|
1573
|
-
gridSize:
|
|
1564
|
+
title: n = "Casino",
|
|
1565
|
+
iconUrl: a = "/assets/img/home/Casino/diamante.svg",
|
|
1566
|
+
onItemClick: i,
|
|
1567
|
+
onViewMore: l,
|
|
1568
|
+
mosaicFirst: o = !0,
|
|
1569
|
+
gridSize: r = 4
|
|
1574
1570
|
}) => {
|
|
1575
|
-
const m =
|
|
1576
|
-
var
|
|
1577
|
-
(
|
|
1578
|
-
},
|
|
1579
|
-
var
|
|
1580
|
-
(
|
|
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();
|
|
1581
1577
|
}, s = () => {
|
|
1582
1578
|
window.location.href = "https://www.olimpo.bet/casino";
|
|
1583
|
-
},
|
|
1584
|
-
const
|
|
1585
|
-
return
|
|
1586
|
-
},
|
|
1587
|
-
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */
|
|
1588
|
-
/* @__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(
|
|
1589
1585
|
k,
|
|
1590
1586
|
{
|
|
1591
1587
|
sx: {
|
|
@@ -1599,12 +1595,12 @@ const Gt = (t, o) => {
|
|
|
1599
1595
|
/* @__PURE__ */ e(
|
|
1600
1596
|
K,
|
|
1601
1597
|
{
|
|
1602
|
-
title:
|
|
1603
|
-
iconUrl:
|
|
1598
|
+
title: n,
|
|
1599
|
+
iconUrl: a,
|
|
1604
1600
|
size: "md"
|
|
1605
1601
|
}
|
|
1606
1602
|
),
|
|
1607
|
-
/* @__PURE__ */
|
|
1603
|
+
/* @__PURE__ */ c(
|
|
1608
1604
|
k,
|
|
1609
1605
|
{
|
|
1610
1606
|
sx: {
|
|
@@ -1619,9 +1615,9 @@ const Gt = (t, o) => {
|
|
|
1619
1615
|
ariaLabel: "Anterior",
|
|
1620
1616
|
variant: "secondary",
|
|
1621
1617
|
iconOnly: !0,
|
|
1622
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1623
|
-
onClick:
|
|
1624
|
-
disabled:
|
|
1618
|
+
leftIcon: /* @__PURE__ */ e(Ce, {}),
|
|
1619
|
+
onClick: b,
|
|
1620
|
+
disabled: u.isStart
|
|
1625
1621
|
}
|
|
1626
1622
|
),
|
|
1627
1623
|
/* @__PURE__ */ e(
|
|
@@ -1630,9 +1626,9 @@ const Gt = (t, o) => {
|
|
|
1630
1626
|
ariaLabel: "Siguiente",
|
|
1631
1627
|
variant: "secondary",
|
|
1632
1628
|
iconOnly: !0,
|
|
1633
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1634
|
-
onClick:
|
|
1635
|
-
disabled:
|
|
1629
|
+
rightIcon: /* @__PURE__ */ e(Ee, {}),
|
|
1630
|
+
onClick: O,
|
|
1631
|
+
disabled: u.isEnd
|
|
1636
1632
|
}
|
|
1637
1633
|
)
|
|
1638
1634
|
]
|
|
@@ -1646,7 +1642,7 @@ const Gt = (t, o) => {
|
|
|
1646
1642
|
q,
|
|
1647
1643
|
{
|
|
1648
1644
|
ref: m,
|
|
1649
|
-
items:
|
|
1645
|
+
items: $,
|
|
1650
1646
|
perPage: 1,
|
|
1651
1647
|
gap: "0px",
|
|
1652
1648
|
options: {
|
|
@@ -1658,83 +1654,78 @@ const Gt = (t, o) => {
|
|
|
1658
1654
|
drag: !0,
|
|
1659
1655
|
focus: "start"
|
|
1660
1656
|
},
|
|
1661
|
-
renderItem: (
|
|
1662
|
-
|
|
1657
|
+
renderItem: (v) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
|
|
1658
|
+
Ie,
|
|
1663
1659
|
{
|
|
1664
|
-
items:
|
|
1665
|
-
layout:
|
|
1666
|
-
loading:
|
|
1667
|
-
onClick: (
|
|
1668
|
-
const
|
|
1669
|
-
(
|
|
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
|
|
1670
1666
|
);
|
|
1671
|
-
|
|
1667
|
+
_ || I && re(I, { basePath: "/casino" });
|
|
1672
1668
|
}
|
|
1673
1669
|
}
|
|
1674
1670
|
) }),
|
|
1675
|
-
onMove: ({ isStart:
|
|
1671
|
+
onMove: ({ isStart: v, isEnd: S }) => x({ isStart: v, isEnd: S })
|
|
1676
1672
|
}
|
|
1677
1673
|
)
|
|
1678
1674
|
] }) });
|
|
1679
|
-
},
|
|
1680
|
-
var
|
|
1681
|
-
return (
|
|
1682
|
-
},
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
const o = (s = t.name) != null ? s : "", r = (l = t.provider) != null ? l : "", a = (h = t.machine) != null ? h : "", c = (S = t.external_id) != null ? S : "", n = (g = t.type) != null ? g : "Virtuales", i = encodeURIComponent(String(r)), m = encodeURIComponent(String(a)), d = encodeURIComponent(String(o)), 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}`;
|
|
1686
|
-
window.location.href = I;
|
|
1687
|
-
}, Xt = (t, o = !0, r = 4) => {
|
|
1688
|
-
const a = t.map((i, m) => {
|
|
1689
|
-
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;
|
|
1690
1681
|
return {
|
|
1691
|
-
id:
|
|
1692
|
-
imageUrl: (
|
|
1682
|
+
id: Re(r, m),
|
|
1683
|
+
imageUrl: (u = r.logo) != null ? u : ""
|
|
1693
1684
|
};
|
|
1694
1685
|
});
|
|
1695
|
-
if (!
|
|
1696
|
-
const
|
|
1697
|
-
let
|
|
1698
|
-
if (
|
|
1699
|
-
const
|
|
1700
|
-
|
|
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({
|
|
1701
1692
|
id: "mosaic-0",
|
|
1702
1693
|
kind: "mosaic",
|
|
1703
|
-
items:
|
|
1704
|
-
}),
|
|
1694
|
+
items: i.slice(0, r)
|
|
1695
|
+
}), o = r;
|
|
1705
1696
|
}
|
|
1706
|
-
for (;
|
|
1707
|
-
const
|
|
1708
|
-
|
|
1709
|
-
id: `grid-${
|
|
1697
|
+
for (; o < i.length; ) {
|
|
1698
|
+
const r = Math.min(o + a, i.length);
|
|
1699
|
+
l.push({
|
|
1700
|
+
id: `grid-${o}`,
|
|
1710
1701
|
kind: "grid",
|
|
1711
|
-
items:
|
|
1712
|
-
}),
|
|
1702
|
+
items: i.slice(o, r)
|
|
1703
|
+
}), o = r;
|
|
1713
1704
|
}
|
|
1714
|
-
return
|
|
1715
|
-
},
|
|
1705
|
+
return l;
|
|
1706
|
+
}, qt = ({
|
|
1716
1707
|
items: t,
|
|
1717
|
-
title:
|
|
1718
|
-
iconUrl:
|
|
1719
|
-
onItemClick:
|
|
1720
|
-
onViewMore:
|
|
1721
|
-
mosaicFirst:
|
|
1722
|
-
gridSize:
|
|
1708
|
+
title: n = "Virtuales",
|
|
1709
|
+
iconUrl: a = "/assets/img/home/Virtuales/virtuales.svg",
|
|
1710
|
+
onItemClick: i,
|
|
1711
|
+
onViewMore: l,
|
|
1712
|
+
mosaicFirst: o = !0,
|
|
1713
|
+
gridSize: r = 4
|
|
1723
1714
|
}) => {
|
|
1724
|
-
const m =
|
|
1725
|
-
var
|
|
1726
|
-
(
|
|
1727
|
-
},
|
|
1728
|
-
var
|
|
1729
|
-
(
|
|
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();
|
|
1730
1721
|
}, s = () => {
|
|
1731
|
-
window.location.href = "https://www.olimpo.bet/virtuales";
|
|
1732
|
-
},
|
|
1733
|
-
const
|
|
1734
|
-
return
|
|
1735
|
-
},
|
|
1736
|
-
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */
|
|
1737
|
-
/* @__PURE__ */
|
|
1722
|
+
window.location.href = "https://www.olimpo.bet/juegos-virtuales";
|
|
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(
|
|
1738
1729
|
k,
|
|
1739
1730
|
{
|
|
1740
1731
|
sx: {
|
|
@@ -1748,12 +1739,12 @@ const Gt = (t, o) => {
|
|
|
1748
1739
|
/* @__PURE__ */ e(
|
|
1749
1740
|
K,
|
|
1750
1741
|
{
|
|
1751
|
-
title:
|
|
1752
|
-
iconUrl:
|
|
1742
|
+
title: n,
|
|
1743
|
+
iconUrl: a,
|
|
1753
1744
|
size: "md"
|
|
1754
1745
|
}
|
|
1755
1746
|
),
|
|
1756
|
-
/* @__PURE__ */
|
|
1747
|
+
/* @__PURE__ */ c(
|
|
1757
1748
|
k,
|
|
1758
1749
|
{
|
|
1759
1750
|
sx: {
|
|
@@ -1768,9 +1759,9 @@ const Gt = (t, o) => {
|
|
|
1768
1759
|
ariaLabel: "Anterior",
|
|
1769
1760
|
variant: "secondary",
|
|
1770
1761
|
iconOnly: !0,
|
|
1771
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1772
|
-
onClick:
|
|
1773
|
-
disabled:
|
|
1762
|
+
leftIcon: /* @__PURE__ */ e(Ce, {}),
|
|
1763
|
+
onClick: b,
|
|
1764
|
+
disabled: u.isStart
|
|
1774
1765
|
}
|
|
1775
1766
|
),
|
|
1776
1767
|
/* @__PURE__ */ e(
|
|
@@ -1779,9 +1770,9 @@ const Gt = (t, o) => {
|
|
|
1779
1770
|
ariaLabel: "Siguiente",
|
|
1780
1771
|
variant: "secondary",
|
|
1781
1772
|
iconOnly: !0,
|
|
1782
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1783
|
-
onClick:
|
|
1784
|
-
disabled:
|
|
1773
|
+
rightIcon: /* @__PURE__ */ e(Ee, {}),
|
|
1774
|
+
onClick: O,
|
|
1775
|
+
disabled: u.isEnd
|
|
1785
1776
|
}
|
|
1786
1777
|
)
|
|
1787
1778
|
]
|
|
@@ -1795,7 +1786,7 @@ const Gt = (t, o) => {
|
|
|
1795
1786
|
q,
|
|
1796
1787
|
{
|
|
1797
1788
|
ref: m,
|
|
1798
|
-
items:
|
|
1789
|
+
items: $,
|
|
1799
1790
|
perPage: 1,
|
|
1800
1791
|
gap: "0",
|
|
1801
1792
|
options: {
|
|
@@ -1808,25 +1799,25 @@ const Gt = (t, o) => {
|
|
|
1808
1799
|
focus: "start",
|
|
1809
1800
|
perMove: 1
|
|
1810
1801
|
},
|
|
1811
|
-
renderItem: (
|
|
1812
|
-
|
|
1802
|
+
renderItem: (v) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
|
|
1803
|
+
Ie,
|
|
1813
1804
|
{
|
|
1814
|
-
items:
|
|
1815
|
-
layout:
|
|
1816
|
-
loading:
|
|
1817
|
-
onClick: (
|
|
1818
|
-
const
|
|
1819
|
-
(
|
|
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
|
|
1820
1811
|
);
|
|
1821
|
-
|
|
1812
|
+
_ || I && re(I, { basePath: "/casino" });
|
|
1822
1813
|
}
|
|
1823
1814
|
}
|
|
1824
1815
|
) }),
|
|
1825
|
-
onMove: ({ isStart:
|
|
1816
|
+
onMove: ({ isStart: v, isEnd: S }) => x({ isStart: v, isEnd: S })
|
|
1826
1817
|
}
|
|
1827
1818
|
)
|
|
1828
1819
|
] }) });
|
|
1829
|
-
},
|
|
1820
|
+
}, Jt = (t) => ({
|
|
1830
1821
|
// width: "100vw",
|
|
1831
1822
|
position: "relative",
|
|
1832
1823
|
// left: "50%",
|
|
@@ -1845,15 +1836,15 @@ const Gt = (t, o) => {
|
|
|
1845
1836
|
backgroundRepeat: "no-repeat",
|
|
1846
1837
|
backgroundPosition: "center",
|
|
1847
1838
|
backgroundSize: "cover"
|
|
1848
|
-
}),
|
|
1839
|
+
}), fe = {
|
|
1849
1840
|
textAlign: "center",
|
|
1850
1841
|
lineHeight: 1.1,
|
|
1851
1842
|
mb: 1.5
|
|
1852
|
-
},
|
|
1843
|
+
}, xe = {
|
|
1853
1844
|
display: "inline-block",
|
|
1854
1845
|
fontWeight: 600,
|
|
1855
1846
|
fontSize: 24
|
|
1856
|
-
},
|
|
1847
|
+
}, be = {
|
|
1857
1848
|
display: "inline-block",
|
|
1858
1849
|
fontSize: 24,
|
|
1859
1850
|
lineHeight: 1.1,
|
|
@@ -1863,29 +1854,29 @@ const Gt = (t, o) => {
|
|
|
1863
1854
|
0 0 6px rgba(255, 255, 255, .6),
|
|
1864
1855
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
1865
1856
|
`
|
|
1866
|
-
},
|
|
1857
|
+
}, Xt = ({
|
|
1867
1858
|
headline: t,
|
|
1868
|
-
headline2:
|
|
1869
|
-
items:
|
|
1870
|
-
backgroundImageUrl:
|
|
1859
|
+
headline2: n,
|
|
1860
|
+
items: a,
|
|
1861
|
+
backgroundImageUrl: i
|
|
1871
1862
|
}) => {
|
|
1872
|
-
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(
|
|
1873
1864
|
k,
|
|
1874
1865
|
{
|
|
1875
1866
|
sx: {
|
|
1876
1867
|
width: "100%",
|
|
1877
|
-
maxWidth:
|
|
1878
|
-
mx:
|
|
1868
|
+
maxWidth: v ? 600 : "100%",
|
|
1869
|
+
mx: v ? "auto" : 0
|
|
1879
1870
|
},
|
|
1880
1871
|
children: [
|
|
1881
1872
|
/* @__PURE__ */ e(
|
|
1882
1873
|
q,
|
|
1883
1874
|
{
|
|
1884
|
-
ref:
|
|
1885
|
-
items:
|
|
1875
|
+
ref: b,
|
|
1876
|
+
items: a,
|
|
1886
1877
|
perPage: 1,
|
|
1887
|
-
gap:
|
|
1888
|
-
breakpoints:
|
|
1878
|
+
gap: v ? "24px" : "12px",
|
|
1879
|
+
breakpoints: v ? void 0 : {
|
|
1889
1880
|
480: {
|
|
1890
1881
|
perPage: 1,
|
|
1891
1882
|
gap: "8px",
|
|
@@ -1898,16 +1889,16 @@ const Gt = (t, o) => {
|
|
|
1898
1889
|
}
|
|
1899
1890
|
},
|
|
1900
1891
|
options: { autoWidth: !1 },
|
|
1901
|
-
renderItem: (
|
|
1902
|
-
|
|
1892
|
+
renderItem: (S) => /* @__PURE__ */ e(
|
|
1893
|
+
ft,
|
|
1903
1894
|
{
|
|
1904
|
-
...
|
|
1905
|
-
onButtonClick:
|
|
1906
|
-
isDesktop:
|
|
1895
|
+
...S,
|
|
1896
|
+
onButtonClick: S.onButtonClick,
|
|
1897
|
+
isDesktop: v
|
|
1907
1898
|
}
|
|
1908
1899
|
),
|
|
1909
|
-
onMove: ({ index:
|
|
1910
|
-
s({ isStart:
|
|
1900
|
+
onMove: ({ index: S, isStart: I, isEnd: f }) => {
|
|
1901
|
+
s({ isStart: I, isEnd: f }), _(S);
|
|
1911
1902
|
}
|
|
1912
1903
|
}
|
|
1913
1904
|
),
|
|
@@ -1920,13 +1911,13 @@ const Gt = (t, o) => {
|
|
|
1920
1911
|
justifyContent: "center"
|
|
1921
1912
|
},
|
|
1922
1913
|
children: /* @__PURE__ */ e(
|
|
1923
|
-
|
|
1914
|
+
ke,
|
|
1924
1915
|
{
|
|
1925
|
-
total:
|
|
1926
|
-
active:
|
|
1927
|
-
onSelect: (
|
|
1928
|
-
var
|
|
1929
|
-
|
|
1916
|
+
total: a.length,
|
|
1917
|
+
active: p,
|
|
1918
|
+
onSelect: (S) => {
|
|
1919
|
+
var I;
|
|
1920
|
+
_(S), (I = b.current) == null || I.go(S);
|
|
1930
1921
|
}
|
|
1931
1922
|
}
|
|
1932
1923
|
)
|
|
@@ -1935,26 +1926,26 @@ const Gt = (t, o) => {
|
|
|
1935
1926
|
]
|
|
1936
1927
|
}
|
|
1937
1928
|
);
|
|
1938
|
-
return
|
|
1929
|
+
return r ? /* @__PURE__ */ c(
|
|
1939
1930
|
k,
|
|
1940
1931
|
{
|
|
1941
1932
|
component: "section",
|
|
1942
1933
|
sx: {
|
|
1943
|
-
...
|
|
1934
|
+
...x,
|
|
1944
1935
|
textAlign: "center"
|
|
1945
1936
|
},
|
|
1946
1937
|
children: [
|
|
1947
|
-
(
|
|
1948
|
-
|
|
1949
|
-
|
|
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: [
|
|
1950
1941
|
/* @__PURE__ */ e("br", {}),
|
|
1951
|
-
/* @__PURE__ */ e(D, { component: "span", sx:
|
|
1942
|
+
/* @__PURE__ */ e(D, { component: "span", sx: be, children: o })
|
|
1952
1943
|
] })
|
|
1953
1944
|
] }),
|
|
1954
|
-
|
|
1945
|
+
$(!1)
|
|
1955
1946
|
]
|
|
1956
1947
|
}
|
|
1957
|
-
) : /* @__PURE__ */ e(k, { component: "section", sx:
|
|
1948
|
+
) : /* @__PURE__ */ e(k, { component: "section", sx: x, children: /* @__PURE__ */ c(
|
|
1958
1949
|
k,
|
|
1959
1950
|
{
|
|
1960
1951
|
sx: {
|
|
@@ -1967,7 +1958,7 @@ const Gt = (t, o) => {
|
|
|
1967
1958
|
columnGap: 6
|
|
1968
1959
|
},
|
|
1969
1960
|
children: [
|
|
1970
|
-
(
|
|
1961
|
+
(l || o) && /* @__PURE__ */ e(
|
|
1971
1962
|
k,
|
|
1972
1963
|
{
|
|
1973
1964
|
sx: {
|
|
@@ -1976,19 +1967,19 @@ const Gt = (t, o) => {
|
|
|
1976
1967
|
justifyContent: "flex-start",
|
|
1977
1968
|
minHeight: "100%"
|
|
1978
1969
|
},
|
|
1979
|
-
children: /* @__PURE__ */
|
|
1970
|
+
children: /* @__PURE__ */ c(
|
|
1980
1971
|
k,
|
|
1981
1972
|
{
|
|
1982
1973
|
sx: {
|
|
1983
|
-
...
|
|
1974
|
+
...fe,
|
|
1984
1975
|
textAlign: "left",
|
|
1985
1976
|
mb: 0
|
|
1986
1977
|
},
|
|
1987
1978
|
children: [
|
|
1988
|
-
|
|
1989
|
-
|
|
1979
|
+
l && /* @__PURE__ */ e(D, { component: "span", sx: xe, children: l }),
|
|
1980
|
+
o && /* @__PURE__ */ c(Z, { children: [
|
|
1990
1981
|
/* @__PURE__ */ e("br", {}),
|
|
1991
|
-
/* @__PURE__ */ e(D, { component: "span", sx:
|
|
1982
|
+
/* @__PURE__ */ e(D, { component: "span", sx: be, children: o })
|
|
1992
1983
|
] })
|
|
1993
1984
|
]
|
|
1994
1985
|
}
|
|
@@ -2003,186 +1994,186 @@ const Gt = (t, o) => {
|
|
|
2003
1994
|
justifyContent: "center",
|
|
2004
1995
|
alignItems: "center"
|
|
2005
1996
|
},
|
|
2006
|
-
children:
|
|
1997
|
+
children: $(!0)
|
|
2007
1998
|
}
|
|
2008
1999
|
)
|
|
2009
2000
|
]
|
|
2010
2001
|
}
|
|
2011
2002
|
) });
|
|
2012
|
-
},
|
|
2003
|
+
}, Qt = ({
|
|
2013
2004
|
className: t = "",
|
|
2014
|
-
fullBleed:
|
|
2015
|
-
items:
|
|
2016
|
-
selectedIndex:
|
|
2017
|
-
ariaLabel:
|
|
2005
|
+
fullBleed: n = !0,
|
|
2006
|
+
items: a,
|
|
2007
|
+
selectedIndex: i = 0,
|
|
2008
|
+
ariaLabel: l
|
|
2018
2009
|
}) => {
|
|
2019
|
-
const
|
|
2020
|
-
if (!
|
|
2010
|
+
const o = G(null), r = G(null);
|
|
2011
|
+
if (!a) return null;
|
|
2021
2012
|
const m = () => {
|
|
2022
2013
|
window.location.href = "https://www.olimpo.bet/conoce-club-olimpo";
|
|
2023
|
-
},
|
|
2024
|
-
|
|
2025
|
-
if (!
|
|
2026
|
-
const
|
|
2027
|
-
|
|
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(
|
|
2028
2019
|
"--orc-co-bottomH",
|
|
2029
|
-
`${
|
|
2020
|
+
`${O.offsetHeight + 16}px`
|
|
2030
2021
|
);
|
|
2031
|
-
},
|
|
2032
|
-
return
|
|
2022
|
+
}, p = new ResizeObserver(s);
|
|
2023
|
+
return p.observe(O), s(), () => p.disconnect();
|
|
2033
2024
|
}, []);
|
|
2034
|
-
const
|
|
2025
|
+
const x = [
|
|
2035
2026
|
"orc-co-wrap",
|
|
2036
|
-
|
|
2027
|
+
n ? "orc-co-fullBleed" : "",
|
|
2037
2028
|
t
|
|
2038
2029
|
].filter(Boolean).join(" ");
|
|
2039
2030
|
return /* @__PURE__ */ e(
|
|
2040
2031
|
"section",
|
|
2041
2032
|
{
|
|
2042
|
-
ref:
|
|
2043
|
-
className:
|
|
2044
|
-
"aria-label":
|
|
2045
|
-
children: /* @__PURE__ */ e("div", { ref:
|
|
2046
|
-
|
|
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,
|
|
2047
2038
|
{
|
|
2048
|
-
text:
|
|
2039
|
+
text: u.text,
|
|
2049
2040
|
onClick: m,
|
|
2050
|
-
imgAlt:
|
|
2051
|
-
imgSrcMobile:
|
|
2052
|
-
imgSrcDesktopBg:
|
|
2053
|
-
imgSrcDesktopLogo:
|
|
2041
|
+
imgAlt: u.imgAlt,
|
|
2042
|
+
imgSrcMobile: u.imgMobile,
|
|
2043
|
+
imgSrcDesktopBg: u.imgDesktopBg,
|
|
2044
|
+
imgSrcDesktopLogo: u.imgDesktopLogo
|
|
2054
2045
|
}
|
|
2055
2046
|
) })
|
|
2056
2047
|
}
|
|
2057
2048
|
);
|
|
2058
|
-
},
|
|
2059
|
-
controls:
|
|
2049
|
+
}, Yt = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Zt = {
|
|
2050
|
+
controls: Yt
|
|
2060
2051
|
};
|
|
2061
|
-
function
|
|
2052
|
+
function eo({
|
|
2062
2053
|
items: t,
|
|
2063
|
-
title:
|
|
2064
|
-
iconUrl:
|
|
2065
|
-
onViewMore:
|
|
2066
|
-
className:
|
|
2054
|
+
title: n = "Combinadas del Olimpo",
|
|
2055
|
+
iconUrl: a = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
|
|
2056
|
+
onViewMore: i,
|
|
2057
|
+
className: l = ""
|
|
2067
2058
|
}) {
|
|
2068
|
-
const
|
|
2069
|
-
var
|
|
2070
|
-
(
|
|
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();
|
|
2071
2062
|
}, s = () => {
|
|
2072
|
-
var
|
|
2073
|
-
(
|
|
2074
|
-
},
|
|
2075
|
-
|
|
2063
|
+
var f;
|
|
2064
|
+
(f = o.current) == null || f.next();
|
|
2065
|
+
}, p = () => {
|
|
2066
|
+
Ot();
|
|
2076
2067
|
};
|
|
2077
|
-
async function
|
|
2078
|
-
var
|
|
2068
|
+
async function _() {
|
|
2069
|
+
var f, C, T;
|
|
2079
2070
|
try {
|
|
2080
|
-
const
|
|
2081
|
-
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) {
|
|
2082
2073
|
console.error("Could not extract group ID");
|
|
2083
2074
|
return;
|
|
2084
2075
|
}
|
|
2085
|
-
const
|
|
2086
|
-
|
|
2087
|
-
|
|
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)
|
|
2088
2079
|
);
|
|
2089
|
-
} catch (
|
|
2090
|
-
console.error("loadDataEventSpecial error:",
|
|
2080
|
+
} catch (P) {
|
|
2081
|
+
console.error("loadDataEventSpecial error:", P);
|
|
2091
2082
|
}
|
|
2092
2083
|
}
|
|
2093
|
-
function
|
|
2094
|
-
const
|
|
2095
|
-
for (const
|
|
2096
|
-
const
|
|
2097
|
-
var
|
|
2098
|
-
|
|
2099
|
-
const N =
|
|
2100
|
-
(
|
|
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, L;
|
|
2089
|
+
g[y.eventId] || (g[y.eventId] = []);
|
|
2090
|
+
const N = y.outcomes.filter(
|
|
2091
|
+
(z) => d.has(z.id)
|
|
2101
2092
|
);
|
|
2102
2093
|
if (N.length > 0) {
|
|
2103
|
-
const
|
|
2104
|
-
(L = (
|
|
2105
|
-
),
|
|
2094
|
+
const z = Array.from(
|
|
2095
|
+
(L = (R = h == null ? void 0 : h[0]) == null ? void 0 : R.requiredOutcomeIds) != null ? L : []
|
|
2096
|
+
), A = N.map((Y) => ({
|
|
2106
2097
|
...Y,
|
|
2107
|
-
position:
|
|
2098
|
+
position: z.indexOf(Y.id)
|
|
2108
2099
|
}));
|
|
2109
|
-
|
|
2110
|
-
...
|
|
2111
|
-
outcomes:
|
|
2100
|
+
g[y.eventId].push({
|
|
2101
|
+
...y,
|
|
2102
|
+
outcomes: A
|
|
2112
2103
|
});
|
|
2113
2104
|
}
|
|
2114
|
-
return
|
|
2105
|
+
return g;
|
|
2115
2106
|
}, {});
|
|
2116
|
-
|
|
2117
|
-
if (
|
|
2118
|
-
const
|
|
2107
|
+
f.forEach((g) => {
|
|
2108
|
+
if (g.id !== E.prePackCouponRows[0].eventId) return;
|
|
2109
|
+
const y = d;
|
|
2119
2110
|
let N = null;
|
|
2120
|
-
for (const
|
|
2121
|
-
if ([...
|
|
2122
|
-
N =
|
|
2111
|
+
for (const R of h)
|
|
2112
|
+
if ([...R.requiredOutcomeIds].every((z) => y.has(z))) {
|
|
2113
|
+
N = R.decimal;
|
|
2123
2114
|
break;
|
|
2124
2115
|
}
|
|
2125
|
-
|
|
2126
|
-
...
|
|
2116
|
+
P.push({
|
|
2117
|
+
...g,
|
|
2127
2118
|
combinadoTotal: N,
|
|
2128
|
-
betoffers:
|
|
2129
|
-
couponId:
|
|
2119
|
+
betoffers: w[g.id] || [],
|
|
2120
|
+
couponId: E.id
|
|
2130
2121
|
// optional for tracking
|
|
2131
2122
|
});
|
|
2132
2123
|
});
|
|
2133
2124
|
}
|
|
2134
|
-
return
|
|
2125
|
+
return P;
|
|
2135
2126
|
}
|
|
2136
|
-
function
|
|
2127
|
+
function v(f) {
|
|
2137
2128
|
var T;
|
|
2138
|
-
const
|
|
2139
|
-
for (const
|
|
2140
|
-
if (
|
|
2141
|
-
const
|
|
2142
|
-
|
|
2143
|
-
var
|
|
2144
|
-
(
|
|
2145
|
-
}),
|
|
2146
|
-
requiredOutcomeIds:
|
|
2147
|
-
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
|
|
2148
2139
|
});
|
|
2149
2140
|
}
|
|
2150
|
-
return
|
|
2141
|
+
return C;
|
|
2151
2142
|
}
|
|
2152
|
-
function
|
|
2143
|
+
function S(f) {
|
|
2153
2144
|
var T;
|
|
2154
|
-
const
|
|
2155
|
-
for (const
|
|
2156
|
-
for (const
|
|
2157
|
-
|
|
2158
|
-
var
|
|
2159
|
-
(
|
|
2160
|
-
}),
|
|
2161
|
-
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;
|
|
2162
2153
|
}
|
|
2163
2154
|
Q(() => {
|
|
2164
|
-
|
|
2155
|
+
_();
|
|
2165
2156
|
}, []);
|
|
2166
|
-
const
|
|
2167
|
-
return !
|
|
2168
|
-
paddingLeft: 16,
|
|
2169
|
-
paddingRight: 16,
|
|
2157
|
+
const I = l || void 0;
|
|
2158
|
+
return !u || u.length === 0 ? null : /* @__PURE__ */ e("section", { className: I, style: {
|
|
2159
|
+
// paddingLeft: 16,
|
|
2160
|
+
// paddingRight: 16,
|
|
2170
2161
|
width: "100%",
|
|
2171
2162
|
boxSizing: "border-box"
|
|
2172
|
-
}, children: /* @__PURE__ */
|
|
2173
|
-
/* @__PURE__ */
|
|
2174
|
-
/* @__PURE__ */ e(K, { title:
|
|
2175
|
-
/* @__PURE__ */
|
|
2176
|
-
/* @__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: [
|
|
2177
2168
|
/* @__PURE__ */ e(
|
|
2178
2169
|
F,
|
|
2179
2170
|
{
|
|
2180
2171
|
ariaLabel: "Anterior",
|
|
2181
2172
|
variant: "secondary",
|
|
2182
2173
|
iconOnly: !0,
|
|
2183
|
-
leftIcon: /* @__PURE__ */ e(
|
|
2184
|
-
onClick:
|
|
2185
|
-
disabled:
|
|
2174
|
+
leftIcon: /* @__PURE__ */ e(de, {}),
|
|
2175
|
+
onClick: O,
|
|
2176
|
+
disabled: r.isStart
|
|
2186
2177
|
}
|
|
2187
2178
|
),
|
|
2188
2179
|
/* @__PURE__ */ e(
|
|
@@ -2191,20 +2182,20 @@ function on({
|
|
|
2191
2182
|
ariaLabel: "Siguiente",
|
|
2192
2183
|
variant: "secondary",
|
|
2193
2184
|
iconOnly: !0,
|
|
2194
|
-
rightIcon: /* @__PURE__ */ e(
|
|
2185
|
+
rightIcon: /* @__PURE__ */ e(ue, {}),
|
|
2195
2186
|
onClick: s,
|
|
2196
|
-
disabled:
|
|
2187
|
+
disabled: r.isEnd
|
|
2197
2188
|
}
|
|
2198
2189
|
)
|
|
2199
2190
|
] }),
|
|
2200
|
-
/* @__PURE__ */ e(F, { variant: "secondary", onClick:
|
|
2191
|
+
/* @__PURE__ */ e(F, { variant: "secondary", onClick: p, children: "Ver más" })
|
|
2201
2192
|
] })
|
|
2202
2193
|
] }),
|
|
2203
2194
|
/* @__PURE__ */ e(
|
|
2204
2195
|
q,
|
|
2205
2196
|
{
|
|
2206
|
-
ref:
|
|
2207
|
-
items:
|
|
2197
|
+
ref: o,
|
|
2198
|
+
items: u.filter((f) => f.combinadoTotal !== null),
|
|
2208
2199
|
perPage: void 0,
|
|
2209
2200
|
gap: "16px",
|
|
2210
2201
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
@@ -2212,38 +2203,38 @@ function on({
|
|
|
2212
2203
|
breakpoints: {
|
|
2213
2204
|
768: { perPage: 1.2, gap: "12px", padding: { left: "0px", right: "0px" } }
|
|
2214
2205
|
},
|
|
2215
|
-
renderItem: (
|
|
2216
|
-
onMove: ({ isStart:
|
|
2206
|
+
renderItem: (f) => /* @__PURE__ */ e(Nt, { event: f }),
|
|
2207
|
+
onMove: ({ isStart: f, isEnd: C }) => m({ isStart: f, isEnd: C })
|
|
2217
2208
|
}
|
|
2218
2209
|
)
|
|
2219
2210
|
] }) });
|
|
2220
2211
|
}
|
|
2221
|
-
function
|
|
2212
|
+
function to({}) {
|
|
2222
2213
|
return /* @__PURE__ */ e(
|
|
2223
2214
|
"div",
|
|
2224
2215
|
{
|
|
2225
|
-
className:
|
|
2226
|
-
children: /* @__PURE__ */
|
|
2227
|
-
/* @__PURE__ */
|
|
2216
|
+
className: Pe.cardWrapper,
|
|
2217
|
+
children: /* @__PURE__ */ c(B, { direction: "column", spacing: 1, children: [
|
|
2218
|
+
/* @__PURE__ */ c(B, { spacing: 1, direction: "row", children: [
|
|
2228
2219
|
/* @__PURE__ */ e(M, { variant: "text", width: "60%", height: 24 }),
|
|
2229
2220
|
/* @__PURE__ */ e(M, { variant: "text", width: "39%", height: 24 })
|
|
2230
2221
|
] }),
|
|
2231
|
-
/* @__PURE__ */
|
|
2222
|
+
/* @__PURE__ */ c(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2232
2223
|
/* @__PURE__ */ e(M, { variant: "circular", width: 32, height: 40 }),
|
|
2233
2224
|
/* @__PURE__ */ e(M, { variant: "text", width: 40, height: 40 }),
|
|
2234
2225
|
/* @__PURE__ */ e(M, { variant: "circular", width: 32, height: 40 })
|
|
2235
2226
|
] }),
|
|
2236
|
-
/* @__PURE__ */
|
|
2227
|
+
/* @__PURE__ */ c(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2237
2228
|
/* @__PURE__ */ e(M, { variant: "text", width: 32, height: 16 }),
|
|
2238
2229
|
/* @__PURE__ */ e(M, { variant: "text", width: 40, height: 16 }),
|
|
2239
2230
|
/* @__PURE__ */ e(M, { variant: "text", width: 32, height: 16 })
|
|
2240
2231
|
] }),
|
|
2241
|
-
/* @__PURE__ */
|
|
2232
|
+
/* @__PURE__ */ c(B, { spacing: 2, direction: "row", children: [
|
|
2242
2233
|
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 }),
|
|
2243
2234
|
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 }),
|
|
2244
2235
|
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 16 })
|
|
2245
2236
|
] }),
|
|
2246
|
-
/* @__PURE__ */
|
|
2237
|
+
/* @__PURE__ */ c(B, { spacing: 2, direction: "row", children: [
|
|
2247
2238
|
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 }),
|
|
2248
2239
|
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 }),
|
|
2249
2240
|
/* @__PURE__ */ e(M, { variant: "rounded", width: 88, height: 32 })
|
|
@@ -2252,62 +2243,62 @@ function rn({}) {
|
|
|
2252
2243
|
}
|
|
2253
2244
|
);
|
|
2254
2245
|
}
|
|
2255
|
-
const
|
|
2256
|
-
fadeWrapper:
|
|
2246
|
+
const oo = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", no = {
|
|
2247
|
+
fadeWrapper: oo
|
|
2257
2248
|
};
|
|
2258
|
-
function
|
|
2259
|
-
return /* @__PURE__ */ e("div", { className:
|
|
2249
|
+
function ne({ children: t }) {
|
|
2250
|
+
return /* @__PURE__ */ e("div", { className: no.fadeWrapper, children: t });
|
|
2260
2251
|
}
|
|
2261
|
-
function
|
|
2252
|
+
function ro({
|
|
2262
2253
|
items: t,
|
|
2263
|
-
title:
|
|
2264
|
-
iconUrl:
|
|
2265
|
-
onViewMore:
|
|
2266
|
-
className:
|
|
2254
|
+
title: n = "En vivo",
|
|
2255
|
+
iconUrl: a = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
|
|
2256
|
+
onViewMore: i,
|
|
2257
|
+
className: l = ""
|
|
2267
2258
|
}) {
|
|
2268
|
-
const
|
|
2269
|
-
var
|
|
2270
|
-
(
|
|
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();
|
|
2271
2262
|
}, s = () => {
|
|
2272
|
-
var
|
|
2273
|
-
(
|
|
2274
|
-
},
|
|
2275
|
-
|
|
2263
|
+
var S;
|
|
2264
|
+
(S = r.current) == null || S.next();
|
|
2265
|
+
}, p = () => {
|
|
2266
|
+
kt();
|
|
2276
2267
|
};
|
|
2277
|
-
async function
|
|
2268
|
+
async function _() {
|
|
2278
2269
|
try {
|
|
2279
|
-
const
|
|
2280
|
-
|
|
2281
|
-
} catch (
|
|
2282
|
-
console.error(
|
|
2270
|
+
const I = await (await fetch(o)).json();
|
|
2271
|
+
b(I.events);
|
|
2272
|
+
} catch (S) {
|
|
2273
|
+
console.error(S);
|
|
2283
2274
|
}
|
|
2284
2275
|
}
|
|
2285
2276
|
Q(() => {
|
|
2286
|
-
|
|
2287
|
-
const
|
|
2288
|
-
|
|
2277
|
+
_();
|
|
2278
|
+
const S = setInterval(() => {
|
|
2279
|
+
_();
|
|
2289
2280
|
}, 2e4);
|
|
2290
|
-
return () => clearInterval(
|
|
2281
|
+
return () => clearInterval(S);
|
|
2291
2282
|
}, []);
|
|
2292
|
-
const
|
|
2293
|
-
return /* @__PURE__ */ e("section", { className:
|
|
2283
|
+
const $ = l || void 0, v = !x || x.length === 0;
|
|
2284
|
+
return /* @__PURE__ */ e("section", { className: $, style: {
|
|
2294
2285
|
// paddingLeft: 16,
|
|
2295
2286
|
// paddingRight: 16,
|
|
2296
2287
|
width: "100%",
|
|
2297
2288
|
boxSizing: "border-box"
|
|
2298
|
-
}, children: /* @__PURE__ */
|
|
2299
|
-
/* @__PURE__ */
|
|
2300
|
-
/* @__PURE__ */ e(K, { title:
|
|
2301
|
-
/* @__PURE__ */
|
|
2302
|
-
/* @__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: [
|
|
2303
2294
|
/* @__PURE__ */ e(
|
|
2304
2295
|
F,
|
|
2305
2296
|
{
|
|
2306
2297
|
ariaLabel: "Anterior",
|
|
2307
2298
|
variant: "secondary",
|
|
2308
2299
|
iconOnly: !0,
|
|
2309
|
-
leftIcon: /* @__PURE__ */ e(
|
|
2310
|
-
onClick:
|
|
2300
|
+
leftIcon: /* @__PURE__ */ e(de, {}),
|
|
2301
|
+
onClick: O,
|
|
2311
2302
|
disabled: m.isStart
|
|
2312
2303
|
}
|
|
2313
2304
|
),
|
|
@@ -2317,21 +2308,21 @@ function cn({
|
|
|
2317
2308
|
ariaLabel: "Siguiente",
|
|
2318
2309
|
variant: "secondary",
|
|
2319
2310
|
iconOnly: !0,
|
|
2320
|
-
rightIcon: /* @__PURE__ */ e(
|
|
2311
|
+
rightIcon: /* @__PURE__ */ e(ue, {}),
|
|
2321
2312
|
onClick: s,
|
|
2322
2313
|
disabled: m.isEnd
|
|
2323
2314
|
}
|
|
2324
2315
|
)
|
|
2325
2316
|
] }),
|
|
2326
|
-
/* @__PURE__ */ e(F, { variant: "secondary", onClick:
|
|
2317
|
+
/* @__PURE__ */ e(F, { variant: "secondary", onClick: p, children: "Ver más" })
|
|
2327
2318
|
] })
|
|
2328
2319
|
] }),
|
|
2329
2320
|
/* @__PURE__ */ e(
|
|
2330
2321
|
q,
|
|
2331
2322
|
{
|
|
2332
|
-
ref:
|
|
2333
|
-
items:
|
|
2334
|
-
(
|
|
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()
|
|
2335
2326
|
),
|
|
2336
2327
|
perPage: void 0,
|
|
2337
2328
|
gap: "16px",
|
|
@@ -2341,32 +2332,32 @@ function cn({
|
|
|
2341
2332
|
768: { gap: "8px", focus: "center" },
|
|
2342
2333
|
1024: { gap: "10px", focus: "center" }
|
|
2343
2334
|
},
|
|
2344
|
-
renderItem: (
|
|
2345
|
-
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 })
|
|
2346
2337
|
}
|
|
2347
2338
|
)
|
|
2348
2339
|
] }) });
|
|
2349
2340
|
}
|
|
2350
|
-
function
|
|
2351
|
-
return /* @__PURE__ */
|
|
2352
|
-
/* @__PURE__ */ e(
|
|
2353
|
-
/* @__PURE__ */ e("div", { className: J.cardBackground, children: /* @__PURE__ */
|
|
2354
|
-
/* @__PURE__ */
|
|
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: [
|
|
2355
2346
|
/* @__PURE__ */ e(M, { variant: "circular", width: 48, height: 48 }),
|
|
2356
2347
|
/* @__PURE__ */ e(M, { variant: "circular", width: 48, height: 48 })
|
|
2357
2348
|
] }),
|
|
2358
|
-
/* @__PURE__ */
|
|
2359
|
-
/* @__PURE__ */
|
|
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: [
|
|
2360
2351
|
/* @__PURE__ */ e(M, { variant: "text", width: 80, height: 12 }),
|
|
2361
2352
|
/* @__PURE__ */ e(M, { variant: "text", width: 80, height: 12 })
|
|
2362
2353
|
] }),
|
|
2363
2354
|
/* @__PURE__ */ e(B, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(M, { variant: "text", width: 160, height: 12 }) }),
|
|
2364
|
-
/* @__PURE__ */
|
|
2355
|
+
/* @__PURE__ */ c(B, { direction: "row", spacing: 1, children: [
|
|
2365
2356
|
/* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 }),
|
|
2366
2357
|
/* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 }),
|
|
2367
2358
|
/* @__PURE__ */ e(M, { variant: "text", width: 80, height: 16 })
|
|
2368
2359
|
] }),
|
|
2369
|
-
/* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */
|
|
2360
|
+
/* @__PURE__ */ e("div", { className: J.jugadas, children: /* @__PURE__ */ c(B, { direction: "row", spacing: 1, children: [
|
|
2370
2361
|
/* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 }),
|
|
2371
2362
|
/* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 }),
|
|
2372
2363
|
/* @__PURE__ */ e(M, { variant: "rounded", width: 80, height: 32 })
|
|
@@ -2375,125 +2366,125 @@ function ln() {
|
|
|
2375
2366
|
] }) })
|
|
2376
2367
|
] });
|
|
2377
2368
|
}
|
|
2378
|
-
const
|
|
2379
|
-
wrapper:
|
|
2380
|
-
container:
|
|
2381
|
-
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
|
|
2382
2373
|
};
|
|
2383
|
-
function
|
|
2374
|
+
function lo({
|
|
2384
2375
|
items: t,
|
|
2385
|
-
title:
|
|
2386
|
-
iconUrl:
|
|
2387
|
-
onViewMore:
|
|
2388
|
-
className:
|
|
2376
|
+
title: n = "En vivo",
|
|
2377
|
+
iconUrl: a,
|
|
2378
|
+
onViewMore: i,
|
|
2379
|
+
className: l = ""
|
|
2389
2380
|
}) {
|
|
2390
|
-
const
|
|
2391
|
-
function
|
|
2392
|
-
return [...
|
|
2393
|
-
(
|
|
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()
|
|
2394
2385
|
);
|
|
2395
2386
|
}
|
|
2396
|
-
function s(
|
|
2397
|
-
const
|
|
2398
|
-
return
|
|
2399
|
-
if (!
|
|
2400
|
-
const
|
|
2401
|
-
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;
|
|
2402
2393
|
});
|
|
2403
2394
|
}
|
|
2404
|
-
const
|
|
2405
|
-
|
|
2395
|
+
const p = () => {
|
|
2396
|
+
$t();
|
|
2406
2397
|
};
|
|
2407
|
-
async function
|
|
2398
|
+
async function _() {
|
|
2408
2399
|
try {
|
|
2409
|
-
const T = (await (await fetch(
|
|
2410
|
-
(
|
|
2400
|
+
const T = (await (await fetch(o)).json()).group.groups.find(
|
|
2401
|
+
(w) => w.englishName === "Football"
|
|
2411
2402
|
);
|
|
2412
2403
|
if (!T || !Array.isArray(T.groups)) {
|
|
2413
2404
|
console.error("Football groups not found");
|
|
2414
2405
|
return;
|
|
2415
2406
|
}
|
|
2416
|
-
const
|
|
2417
|
-
const
|
|
2418
|
-
if (
|
|
2419
|
-
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];
|
|
2420
2411
|
return [
|
|
2421
|
-
`${
|
|
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`
|
|
2422
2413
|
];
|
|
2423
2414
|
}
|
|
2424
2415
|
return [
|
|
2425
|
-
`${
|
|
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`
|
|
2426
2417
|
];
|
|
2427
|
-
},
|
|
2428
|
-
|
|
2429
|
-
} catch (
|
|
2430
|
-
console.error(
|
|
2418
|
+
}, h = E.flatMap(d);
|
|
2419
|
+
$(h);
|
|
2420
|
+
} catch (f) {
|
|
2421
|
+
console.error(f);
|
|
2431
2422
|
}
|
|
2432
2423
|
}
|
|
2433
|
-
async function
|
|
2424
|
+
async function $(f) {
|
|
2434
2425
|
try {
|
|
2435
|
-
const
|
|
2436
|
-
|
|
2426
|
+
const C = await Promise.all(
|
|
2427
|
+
f.map((d) => fetch(d).then((h) => h.json()))
|
|
2437
2428
|
);
|
|
2438
|
-
let T = [],
|
|
2439
|
-
|
|
2440
|
-
|
|
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 || [])));
|
|
2441
2432
|
});
|
|
2442
|
-
const
|
|
2443
|
-
|
|
2444
|
-
} catch (
|
|
2445
|
-
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);
|
|
2446
2437
|
}
|
|
2447
2438
|
}
|
|
2448
|
-
function
|
|
2449
|
-
const
|
|
2450
|
-
var
|
|
2451
|
-
return ((
|
|
2452
|
-
}).reduce((
|
|
2453
|
-
return
|
|
2454
|
-
|
|
2455
|
-
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]
|
|
2456
2447
|
}));
|
|
2457
2448
|
}
|
|
2458
2449
|
Q(() => {
|
|
2459
|
-
t &&
|
|
2450
|
+
t && _();
|
|
2460
2451
|
}, [t]);
|
|
2461
|
-
const
|
|
2462
|
-
return /* @__PURE__ */ e("section", { className:
|
|
2463
|
-
paddingLeft: 16,
|
|
2452
|
+
const S = l || void 0, I = !x || x.length === 0;
|
|
2453
|
+
return /* @__PURE__ */ e("section", { className: S, style: {
|
|
2454
|
+
// paddingLeft: 16,
|
|
2464
2455
|
width: "100%",
|
|
2465
2456
|
boxSizing: "border-box"
|
|
2466
|
-
}, children: /* @__PURE__ */
|
|
2467
|
-
/* @__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: [
|
|
2468
2459
|
/* @__PURE__ */ e(K, { title: "Eventos de la semana" }),
|
|
2469
|
-
/* @__PURE__ */ e("div", { className:
|
|
2470
|
-
|
|
2460
|
+
/* @__PURE__ */ e("div", { className: ce.buttonWrapper, children: /* @__PURE__ */ e(F, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
|
|
2461
|
+
p();
|
|
2471
2462
|
}, children: "Ver más" }) })
|
|
2472
2463
|
] }) }),
|
|
2473
2464
|
/* @__PURE__ */ e("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ e(
|
|
2474
2465
|
q,
|
|
2475
2466
|
{
|
|
2476
|
-
ref:
|
|
2477
|
-
items:
|
|
2467
|
+
ref: r,
|
|
2468
|
+
items: I ? Array(6).fill({}) : x,
|
|
2478
2469
|
perPage: 3.5,
|
|
2479
2470
|
gap: "16px",
|
|
2480
2471
|
options: { autoWidth: !0, trimSpace: !0 },
|
|
2481
2472
|
breakpoints: {
|
|
2482
2473
|
1024: { perPage: 1.4, gap: "8px", focus: "center", padding: { left: "8px", right: "8px" } }
|
|
2483
2474
|
},
|
|
2484
|
-
renderItem: (
|
|
2485
|
-
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 })
|
|
2486
2477
|
}
|
|
2487
2478
|
) })
|
|
2488
2479
|
] }) });
|
|
2489
2480
|
}
|
|
2490
|
-
function
|
|
2481
|
+
function uo({
|
|
2491
2482
|
backgrounds: t,
|
|
2492
|
-
items:
|
|
2483
|
+
items: n
|
|
2493
2484
|
}) {
|
|
2494
|
-
const [
|
|
2495
|
-
return /* @__PURE__ */
|
|
2496
|
-
|
|
2485
|
+
const [a, i] = W(0), l = (t == null ? void 0 : t.length) || 1;
|
|
2486
|
+
return /* @__PURE__ */ c(
|
|
2487
|
+
j,
|
|
2497
2488
|
{
|
|
2498
2489
|
component: "section",
|
|
2499
2490
|
sx: {
|
|
@@ -2506,8 +2497,8 @@ function hn({
|
|
|
2506
2497
|
// pb: { xs: 7, sm: 8 },
|
|
2507
2498
|
},
|
|
2508
2499
|
children: [
|
|
2509
|
-
/* @__PURE__ */
|
|
2510
|
-
|
|
2500
|
+
/* @__PURE__ */ c(
|
|
2501
|
+
j,
|
|
2511
2502
|
{
|
|
2512
2503
|
sx: {
|
|
2513
2504
|
position: "relative",
|
|
@@ -2531,19 +2522,19 @@ function hn({
|
|
|
2531
2522
|
// left: 0,
|
|
2532
2523
|
// right: 0,
|
|
2533
2524
|
},
|
|
2534
|
-
onMove: ({ index:
|
|
2535
|
-
renderItem: (
|
|
2536
|
-
var
|
|
2537
|
-
return /* @__PURE__ */
|
|
2538
|
-
|
|
2525
|
+
onMove: ({ index: o }) => i(o),
|
|
2526
|
+
renderItem: (o) => {
|
|
2527
|
+
var r;
|
|
2528
|
+
return /* @__PURE__ */ c(
|
|
2529
|
+
j,
|
|
2539
2530
|
{
|
|
2540
2531
|
sx: {
|
|
2541
2532
|
position: "relative",
|
|
2542
2533
|
height: { xs: 300, sm: 360, md: 420 }
|
|
2543
2534
|
},
|
|
2544
2535
|
children: [
|
|
2545
|
-
/* @__PURE__ */
|
|
2546
|
-
|
|
2536
|
+
/* @__PURE__ */ c(
|
|
2537
|
+
j,
|
|
2547
2538
|
{
|
|
2548
2539
|
component: "picture",
|
|
2549
2540
|
sx: { position: "absolute", inset: 0, lineHeight: 0 },
|
|
@@ -2551,22 +2542,22 @@ function hn({
|
|
|
2551
2542
|
/* @__PURE__ */ e(
|
|
2552
2543
|
"source",
|
|
2553
2544
|
{
|
|
2554
|
-
srcSet:
|
|
2545
|
+
srcSet: o.desktopSrc,
|
|
2555
2546
|
media: "(min-width:800px)"
|
|
2556
2547
|
}
|
|
2557
2548
|
),
|
|
2558
2549
|
/* @__PURE__ */ e(
|
|
2559
2550
|
"source",
|
|
2560
2551
|
{
|
|
2561
|
-
srcSet:
|
|
2552
|
+
srcSet: o.mobileSrc,
|
|
2562
2553
|
media: "(max-width:799px)"
|
|
2563
2554
|
}
|
|
2564
2555
|
),
|
|
2565
2556
|
/* @__PURE__ */ e(
|
|
2566
|
-
|
|
2557
|
+
j,
|
|
2567
2558
|
{
|
|
2568
2559
|
component: "img",
|
|
2569
|
-
src: (
|
|
2560
|
+
src: (r = o.fallbackSrc) != null ? r : o.desktopSrc,
|
|
2570
2561
|
alt: "",
|
|
2571
2562
|
"aria-hidden": !0,
|
|
2572
2563
|
loading: "lazy",
|
|
@@ -2582,7 +2573,7 @@ function hn({
|
|
|
2582
2573
|
}
|
|
2583
2574
|
),
|
|
2584
2575
|
/* @__PURE__ */ e(
|
|
2585
|
-
|
|
2576
|
+
j,
|
|
2586
2577
|
{
|
|
2587
2578
|
sx: {
|
|
2588
2579
|
position: "absolute",
|
|
@@ -2607,7 +2598,7 @@ function hn({
|
|
|
2607
2598
|
}
|
|
2608
2599
|
),
|
|
2609
2600
|
/* @__PURE__ */ e(
|
|
2610
|
-
|
|
2601
|
+
j,
|
|
2611
2602
|
{
|
|
2612
2603
|
sx: {
|
|
2613
2604
|
position: "absolute",
|
|
@@ -2618,14 +2609,14 @@ function hn({
|
|
|
2618
2609
|
justifyContent: "center",
|
|
2619
2610
|
zIndex: 2
|
|
2620
2611
|
},
|
|
2621
|
-
children: /* @__PURE__ */ e(
|
|
2612
|
+
children: /* @__PURE__ */ e(ke, { total: l, active: a })
|
|
2622
2613
|
}
|
|
2623
2614
|
)
|
|
2624
2615
|
]
|
|
2625
2616
|
}
|
|
2626
2617
|
),
|
|
2627
2618
|
/* @__PURE__ */ e(
|
|
2628
|
-
|
|
2619
|
+
j,
|
|
2629
2620
|
{
|
|
2630
2621
|
sx: {
|
|
2631
2622
|
position: "absolute",
|
|
@@ -2646,33 +2637,32 @@ function hn({
|
|
|
2646
2637
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
2647
2638
|
zIndex: 3
|
|
2648
2639
|
},
|
|
2649
|
-
children:
|
|
2650
|
-
|
|
2640
|
+
children: n == null ? void 0 : n.map((o) => /* @__PURE__ */ c(
|
|
2641
|
+
j,
|
|
2651
2642
|
{
|
|
2652
2643
|
sx: {
|
|
2653
2644
|
display: "flex",
|
|
2654
2645
|
flexDirection: { xs: "column", md: "row" },
|
|
2655
|
-
// 👈 icono arriba en mobile, en fila en desktop
|
|
2656
2646
|
alignItems: "center",
|
|
2657
2647
|
justifyContent: "center",
|
|
2658
2648
|
gap: { xs: 0.5, md: 1 },
|
|
2659
|
-
// espacio icono-texto
|
|
2660
2649
|
color: "#FFFFFF",
|
|
2661
2650
|
minWidth: 0,
|
|
2662
|
-
cursor:
|
|
2651
|
+
cursor: o.onClick ? "pointer" : "default",
|
|
2663
2652
|
whiteSpace: "nowrap"
|
|
2664
2653
|
},
|
|
2665
2654
|
onClick: () => {
|
|
2666
|
-
var
|
|
2667
|
-
|
|
2655
|
+
var r;
|
|
2656
|
+
if (o.onClick) return o.onClick();
|
|
2657
|
+
if (o.href) return window.location.href = (r = o.href) != null ? r : "/#";
|
|
2668
2658
|
},
|
|
2669
2659
|
children: [
|
|
2670
|
-
|
|
2671
|
-
|
|
2660
|
+
o.icon && /* @__PURE__ */ e(
|
|
2661
|
+
j,
|
|
2672
2662
|
{
|
|
2673
2663
|
component: "img",
|
|
2674
|
-
src:
|
|
2675
|
-
alt:
|
|
2664
|
+
src: o.icon,
|
|
2665
|
+
alt: o.label || `icon-${o.id}`,
|
|
2676
2666
|
sx: {
|
|
2677
2667
|
width: { xs: 20, sm: 22, md: 24 },
|
|
2678
2668
|
height: { xs: 20, sm: 22, md: 24 },
|
|
@@ -2681,21 +2671,20 @@ function hn({
|
|
|
2681
2671
|
}
|
|
2682
2672
|
),
|
|
2683
2673
|
/* @__PURE__ */ e(
|
|
2684
|
-
|
|
2674
|
+
we,
|
|
2685
2675
|
{
|
|
2686
2676
|
sx: {
|
|
2687
2677
|
fontSize: { xs: 10, sm: 11, md: 12 },
|
|
2688
2678
|
fontWeight: 600,
|
|
2689
2679
|
color: "#E0E0E0",
|
|
2690
2680
|
textAlign: "center"
|
|
2691
|
-
// en mobile queda centrado bajo el icono
|
|
2692
2681
|
},
|
|
2693
|
-
children:
|
|
2682
|
+
children: o.label
|
|
2694
2683
|
}
|
|
2695
2684
|
)
|
|
2696
2685
|
]
|
|
2697
2686
|
},
|
|
2698
|
-
|
|
2687
|
+
o.id
|
|
2699
2688
|
))
|
|
2700
2689
|
}
|
|
2701
2690
|
)
|
|
@@ -2703,7 +2692,7 @@ function hn({
|
|
|
2703
2692
|
}
|
|
2704
2693
|
);
|
|
2705
2694
|
}
|
|
2706
|
-
const
|
|
2695
|
+
const po = [
|
|
2707
2696
|
[
|
|
2708
2697
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/IBK.svg", alt: "Interbank" },
|
|
2709
2698
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/Yape.svg", alt: "Yape" }
|
|
@@ -2714,14 +2703,14 @@ const gn = [
|
|
|
2714
2703
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
|
|
2715
2704
|
]
|
|
2716
2705
|
];
|
|
2717
|
-
function
|
|
2706
|
+
function mo({
|
|
2718
2707
|
title: t = "Medios de pago",
|
|
2719
|
-
rows:
|
|
2708
|
+
rows: n = po
|
|
2720
2709
|
}) {
|
|
2721
|
-
const
|
|
2722
|
-
return /* @__PURE__ */
|
|
2710
|
+
const a = n.flat();
|
|
2711
|
+
return /* @__PURE__ */ c(j, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
2723
2712
|
/* @__PURE__ */ e(
|
|
2724
|
-
|
|
2713
|
+
we,
|
|
2725
2714
|
{
|
|
2726
2715
|
id: "mp-title",
|
|
2727
2716
|
variant: "h6",
|
|
@@ -2735,7 +2724,7 @@ function fn({
|
|
|
2735
2724
|
}
|
|
2736
2725
|
),
|
|
2737
2726
|
/* @__PURE__ */ e(
|
|
2738
|
-
|
|
2727
|
+
j,
|
|
2739
2728
|
{
|
|
2740
2729
|
sx: {
|
|
2741
2730
|
width: "288px",
|
|
@@ -2748,20 +2737,20 @@ function fn({
|
|
|
2748
2737
|
}
|
|
2749
2738
|
}
|
|
2750
2739
|
),
|
|
2751
|
-
/* @__PURE__ */ e(
|
|
2752
|
-
|
|
2740
|
+
/* @__PURE__ */ e(j, { sx: { display: { xs: "block", md: "none" } }, children: n.map((i, l) => /* @__PURE__ */ e(
|
|
2741
|
+
Se,
|
|
2753
2742
|
{
|
|
2754
2743
|
direction: "row",
|
|
2755
2744
|
justifyContent: "center",
|
|
2756
2745
|
alignItems: "center",
|
|
2757
2746
|
gap: 2.5,
|
|
2758
2747
|
flexWrap: "wrap",
|
|
2759
|
-
children:
|
|
2748
|
+
children: i.map((o) => /* @__PURE__ */ e(ge, { ...o }, `${o.src}-${o.alt}`))
|
|
2760
2749
|
},
|
|
2761
|
-
|
|
2750
|
+
l
|
|
2762
2751
|
)) }),
|
|
2763
2752
|
/* @__PURE__ */ e(
|
|
2764
|
-
|
|
2753
|
+
j,
|
|
2765
2754
|
{
|
|
2766
2755
|
sx: {
|
|
2767
2756
|
mt: 3,
|
|
@@ -2772,246 +2761,246 @@ function fn({
|
|
|
2772
2761
|
gridTemplateColumns: { md: "repeat(auto-fit, 160px)" },
|
|
2773
2762
|
justifyContent: { md: "center" }
|
|
2774
2763
|
},
|
|
2775
|
-
children:
|
|
2764
|
+
children: a.map((i) => /* @__PURE__ */ e(ge, { ...i }, `${i.src}-${i.alt}`))
|
|
2776
2765
|
}
|
|
2777
2766
|
)
|
|
2778
2767
|
] });
|
|
2779
2768
|
}
|
|
2780
|
-
const
|
|
2781
|
-
OraculoSeccionDestacados:
|
|
2782
|
-
OraculoSeccionTopJuegos:
|
|
2783
|
-
OraculoSeccionCasinoEnVivo:
|
|
2784
|
-
OraculoSeccionCasino:
|
|
2785
|
-
OraculoSeccionVirtuales:
|
|
2786
|
-
OraculoSeccionClubOlimpo:
|
|
2787
|
-
OraculoSeccionBonoBienvenida:
|
|
2788
|
-
OraculoSeccionBanners:
|
|
2789
|
-
OraculoSeccionMediosPago:
|
|
2790
|
-
OraculoSeccionEventoEnVivo:
|
|
2791
|
-
OraculoSeccionEventoSemana:
|
|
2792
|
-
OraculoSeccionEventoCombinadas:
|
|
2793
|
-
},
|
|
2794
|
-
Object.entries(
|
|
2795
|
-
([t,
|
|
2769
|
+
const ho = {
|
|
2770
|
+
OraculoSeccionDestacados: At,
|
|
2771
|
+
OraculoSeccionTopJuegos: Gt,
|
|
2772
|
+
OraculoSeccionCasinoEnVivo: Dt,
|
|
2773
|
+
OraculoSeccionCasino: Ht,
|
|
2774
|
+
OraculoSeccionVirtuales: qt,
|
|
2775
|
+
OraculoSeccionClubOlimpo: Qt,
|
|
2776
|
+
OraculoSeccionBonoBienvenida: Xt,
|
|
2777
|
+
OraculoSeccionBanners: uo,
|
|
2778
|
+
OraculoSeccionMediosPago: mo,
|
|
2779
|
+
OraculoSeccionEventoEnVivo: ro,
|
|
2780
|
+
OraculoSeccionEventoSemana: lo,
|
|
2781
|
+
OraculoSeccionEventoCombinadas: eo
|
|
2782
|
+
}, go = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, fo = (t) => /^OraculoSeccion[A-Z]/.test(t), xo = Object.fromEntries(
|
|
2783
|
+
Object.entries(ho).filter(
|
|
2784
|
+
([t, n]) => fo(t) && go(n)
|
|
2796
2785
|
)
|
|
2797
2786
|
);
|
|
2798
2787
|
class _e extends Error {
|
|
2799
|
-
constructor(
|
|
2800
|
-
super(`HTTP ${
|
|
2788
|
+
constructor(n, a, i) {
|
|
2789
|
+
super(`HTTP ${n} ${i}`), this.status = n, this.url = a, this.statusText = i, this.name = "HttpError";
|
|
2801
2790
|
}
|
|
2802
2791
|
}
|
|
2803
|
-
const
|
|
2792
|
+
const ve = [
|
|
2804
2793
|
"OraculoSeccionEventoEnVivo",
|
|
2805
2794
|
"OraculoSeccionEventoSemana",
|
|
2806
2795
|
"OraculoSeccionEventoCombinadas"
|
|
2807
|
-
],
|
|
2796
|
+
], To = ({
|
|
2808
2797
|
sectionsOverride: t,
|
|
2809
|
-
docId:
|
|
2810
|
-
db:
|
|
2798
|
+
docId: n = "home",
|
|
2799
|
+
db: a
|
|
2811
2800
|
}) => {
|
|
2812
|
-
const [
|
|
2801
|
+
const [i, l] = W(
|
|
2813
2802
|
[]
|
|
2814
|
-
), [
|
|
2803
|
+
), [o, r] = W(!1), [m, u] = W({}), [x, b] = W({}), [O, s] = W({}), p = Be("(min-width:1024px)");
|
|
2815
2804
|
Q(() => {
|
|
2816
|
-
if (t || !
|
|
2817
|
-
|
|
2818
|
-
const
|
|
2819
|
-
|
|
2820
|
-
(
|
|
2821
|
-
var
|
|
2805
|
+
if (t || !a) return;
|
|
2806
|
+
r(!0);
|
|
2807
|
+
const d = Ue(
|
|
2808
|
+
De(a, "landings", n),
|
|
2809
|
+
(h) => {
|
|
2810
|
+
var w;
|
|
2822
2811
|
try {
|
|
2823
|
-
let
|
|
2824
|
-
|
|
2825
|
-
var
|
|
2826
|
-
return ((
|
|
2827
|
-
}).map((
|
|
2828
|
-
} catch (
|
|
2829
|
-
console.error("Error procesando landings/" +
|
|
2812
|
+
let g = h.exists() ? ((w = h.data()) == null ? void 0 : w.sections) || [] : [];
|
|
2813
|
+
g = g.slice().sort((y, N) => {
|
|
2814
|
+
var R, L;
|
|
2815
|
+
return ((R = y.order) != null ? R : 0) - ((L = N.order) != null ? L : 0);
|
|
2816
|
+
}).map((y, N) => ({ ...y, order: N + 1 })), l(g), console.log("fetched: ", g);
|
|
2817
|
+
} catch (g) {
|
|
2818
|
+
console.error("Error procesando landings/" + n, g);
|
|
2830
2819
|
} finally {
|
|
2831
|
-
|
|
2820
|
+
r(!1);
|
|
2832
2821
|
}
|
|
2833
2822
|
},
|
|
2834
|
-
(
|
|
2835
|
-
console.error("Error escuchando landings/" +
|
|
2823
|
+
(h) => {
|
|
2824
|
+
console.error("Error escuchando landings/" + n, h), r(!1);
|
|
2836
2825
|
}
|
|
2837
2826
|
);
|
|
2838
|
-
return () =>
|
|
2839
|
-
}, [t,
|
|
2840
|
-
(t ? t.slice() :
|
|
2841
|
-
}, [t,
|
|
2842
|
-
const
|
|
2843
|
-
if (
|
|
2827
|
+
return () => d();
|
|
2828
|
+
}, [t, n, a]), Q(() => {
|
|
2829
|
+
(t ? t.slice() : i.slice()).map((w) => w.componentKey).filter((w) => !!w).length;
|
|
2830
|
+
}, [t, i]);
|
|
2831
|
+
const _ = async (d) => {
|
|
2832
|
+
if (ve.includes(d.componentKey))
|
|
2844
2833
|
return {
|
|
2845
2834
|
// whatever empty structure your UI expects
|
|
2846
2835
|
items: [],
|
|
2847
2836
|
events: [],
|
|
2848
2837
|
data: {}
|
|
2849
2838
|
};
|
|
2850
|
-
const
|
|
2851
|
-
if (!
|
|
2852
|
-
const
|
|
2853
|
-
let
|
|
2854
|
-
if (
|
|
2855
|
-
const
|
|
2856
|
-
|
|
2839
|
+
const h = (d.apiUrl || "").trim();
|
|
2840
|
+
if (!h) return;
|
|
2841
|
+
const w = d.apiMethod || "GET", g = d.apiParams || [];
|
|
2842
|
+
let y = h, N, R;
|
|
2843
|
+
if (w === "GET") {
|
|
2844
|
+
const z = new URL(
|
|
2845
|
+
h,
|
|
2857
2846
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
2858
2847
|
);
|
|
2859
|
-
for (const
|
|
2860
|
-
|
|
2861
|
-
|
|
2848
|
+
for (const A of g)
|
|
2849
|
+
A.key && z.searchParams.append(A.key, A.value);
|
|
2850
|
+
y = z.toString();
|
|
2862
2851
|
} else {
|
|
2863
|
-
const
|
|
2864
|
-
for (const
|
|
2865
|
-
|
|
2866
|
-
N =
|
|
2852
|
+
const z = new URLSearchParams();
|
|
2853
|
+
for (const A of g)
|
|
2854
|
+
A.key && z.append(A.key, A.value);
|
|
2855
|
+
N = z.toString(), R = {
|
|
2867
2856
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
2868
2857
|
};
|
|
2869
2858
|
}
|
|
2870
|
-
const L = await fetch(
|
|
2871
|
-
method:
|
|
2872
|
-
headers:
|
|
2859
|
+
const L = await fetch(y, {
|
|
2860
|
+
method: w,
|
|
2861
|
+
headers: R,
|
|
2873
2862
|
body: N
|
|
2874
2863
|
});
|
|
2875
|
-
if (!L.ok) throw new _e(L.status,
|
|
2864
|
+
if (!L.ok) throw new _e(L.status, y, L.statusText);
|
|
2876
2865
|
return L.json();
|
|
2877
|
-
},
|
|
2878
|
-
() => t ? t.slice() :
|
|
2879
|
-
[t,
|
|
2880
|
-
),
|
|
2866
|
+
}, $ = le(
|
|
2867
|
+
() => t ? t.slice() : i.slice(),
|
|
2868
|
+
[t, i]
|
|
2869
|
+
), v = Fe.useRef(/* @__PURE__ */ new Set());
|
|
2881
2870
|
Q(() => {
|
|
2882
|
-
const
|
|
2883
|
-
if (
|
|
2884
|
-
for (const { s:
|
|
2885
|
-
const
|
|
2886
|
-
|
|
2871
|
+
const d = $.map((h) => ({ s: h, url: (h.apiUrl || "").trim() })).filter(({ url: h }) => !!h);
|
|
2872
|
+
if (d.length)
|
|
2873
|
+
for (const { s: h, url: w } of d) {
|
|
2874
|
+
const g = `${h.id}|${w}`;
|
|
2875
|
+
v.current.has(g) || (v.current.add(g), b((y) => ({ ...y, [h.id]: !0 })), s((y) => ({ ...y, [h.id]: "" })), (async () => {
|
|
2887
2876
|
try {
|
|
2888
|
-
const
|
|
2889
|
-
|
|
2890
|
-
} catch (
|
|
2877
|
+
const y = await _(h);
|
|
2878
|
+
u((N) => ({ ...N, [h.id]: y }));
|
|
2879
|
+
} catch (y) {
|
|
2891
2880
|
let N = "Error desconocido";
|
|
2892
|
-
|
|
2881
|
+
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 }));
|
|
2893
2882
|
} finally {
|
|
2894
|
-
|
|
2883
|
+
b((y) => ({ ...y, [h.id]: !1 }));
|
|
2895
2884
|
}
|
|
2896
2885
|
})());
|
|
2897
2886
|
}
|
|
2898
|
-
}, [
|
|
2899
|
-
const
|
|
2900
|
-
() =>
|
|
2901
|
-
[
|
|
2902
|
-
),
|
|
2903
|
-
const
|
|
2904
|
-
for (const
|
|
2905
|
-
const
|
|
2906
|
-
if (
|
|
2907
|
-
const N = String(
|
|
2887
|
+
}, [$]);
|
|
2888
|
+
const S = le(
|
|
2889
|
+
() => $.filter((d) => d.visible).sort((d, h) => d.order - h.order),
|
|
2890
|
+
[$]
|
|
2891
|
+
), I = (d) => Array.isArray(d) ? d.map((h) => {
|
|
2892
|
+
const w = {};
|
|
2893
|
+
for (const g of h.fields || []) {
|
|
2894
|
+
const y = (g.type || "string").toLowerCase();
|
|
2895
|
+
if (y === "number") {
|
|
2896
|
+
const N = String(g.value || "").trim();
|
|
2908
2897
|
if (N !== "") {
|
|
2909
|
-
const
|
|
2910
|
-
Number.isNaN(
|
|
2898
|
+
const R = Number(N);
|
|
2899
|
+
Number.isNaN(R) || (w[g.name] = R);
|
|
2911
2900
|
}
|
|
2912
|
-
} else if (
|
|
2913
|
-
|
|
2914
|
-
else if (
|
|
2915
|
-
const N = String(
|
|
2901
|
+
} else if (y === "boolean")
|
|
2902
|
+
w[g.name] = String(g.value).toLowerCase() === "true";
|
|
2903
|
+
else if (y === "function") {
|
|
2904
|
+
const N = String(g.value || "").trim();
|
|
2916
2905
|
if (N)
|
|
2917
2906
|
try {
|
|
2918
|
-
const
|
|
2919
|
-
|
|
2920
|
-
} catch (
|
|
2921
|
-
console.error(`❌ Error creando función en item '${
|
|
2907
|
+
const R = new Function(N);
|
|
2908
|
+
w[g.name] = R;
|
|
2909
|
+
} catch (R) {
|
|
2910
|
+
console.error(`❌ Error creando función en item '${g.name}':`, R);
|
|
2922
2911
|
}
|
|
2923
|
-
} else
|
|
2912
|
+
} else w[g.name] = g.value;
|
|
2924
2913
|
}
|
|
2925
|
-
return
|
|
2926
|
-
}) : [],
|
|
2927
|
-
const
|
|
2928
|
-
if (!Array.isArray(
|
|
2929
|
-
for (const
|
|
2930
|
-
if (!
|
|
2931
|
-
const
|
|
2932
|
-
if (
|
|
2933
|
-
const
|
|
2934
|
-
if (
|
|
2935
|
-
const N = Number(
|
|
2936
|
-
Number.isNaN(N) || (
|
|
2914
|
+
return w;
|
|
2915
|
+
}) : [], f = (d) => {
|
|
2916
|
+
const h = {};
|
|
2917
|
+
if (!Array.isArray(d)) return h;
|
|
2918
|
+
for (const w of d) {
|
|
2919
|
+
if (!w.name) continue;
|
|
2920
|
+
const g = (w.type || "string").toLowerCase();
|
|
2921
|
+
if (g === "number") {
|
|
2922
|
+
const y = String(w.value || "").trim();
|
|
2923
|
+
if (y !== "") {
|
|
2924
|
+
const N = Number(y);
|
|
2925
|
+
Number.isNaN(N) || (h[w.name] = N);
|
|
2937
2926
|
}
|
|
2938
|
-
} else if (
|
|
2939
|
-
|
|
2940
|
-
else if (
|
|
2941
|
-
const
|
|
2942
|
-
if (
|
|
2927
|
+
} else if (g === "boolean")
|
|
2928
|
+
h[w.name] = String(w.value).toLowerCase() === "true";
|
|
2929
|
+
else if (g === "function") {
|
|
2930
|
+
const y = String(w.value || "").trim();
|
|
2931
|
+
if (y)
|
|
2943
2932
|
try {
|
|
2944
|
-
const N = new Function(
|
|
2945
|
-
|
|
2933
|
+
const N = new Function(y);
|
|
2934
|
+
h[w.name] = N;
|
|
2946
2935
|
} catch (N) {
|
|
2947
|
-
console.error(`❌ Error creando función en item '${
|
|
2936
|
+
console.error(`❌ Error creando función en item '${w.name}':`, N);
|
|
2948
2937
|
}
|
|
2949
|
-
} else
|
|
2938
|
+
} else h[w.name] = w.value;
|
|
2950
2939
|
}
|
|
2951
|
-
return
|
|
2952
|
-
},
|
|
2953
|
-
const
|
|
2954
|
-
if (
|
|
2955
|
-
const
|
|
2956
|
-
return
|
|
2940
|
+
return h;
|
|
2941
|
+
}, C = (d, h, w) => {
|
|
2942
|
+
const g = w ? { ...w } : {};
|
|
2943
|
+
if (h) {
|
|
2944
|
+
const A = (h.variableName || "items").trim() || "items";
|
|
2945
|
+
return g[A] = h.arr || [], g;
|
|
2957
2946
|
}
|
|
2958
|
-
const
|
|
2959
|
-
return
|
|
2960
|
-
}, T = (
|
|
2947
|
+
const y = d, N = Array.isArray(y), R = !N && typeof y == "object" && y !== null ? y : void 0, L = R && Array.isArray(R.lobby || R.items) ? R.lobby || R.items : void 0, z = (A) => N ? y : L || A;
|
|
2948
|
+
return g.items = z(L || []), g;
|
|
2949
|
+
}, T = (d) => {
|
|
2961
2950
|
var N;
|
|
2962
|
-
const
|
|
2963
|
-
let
|
|
2964
|
-
const
|
|
2965
|
-
if (
|
|
2966
|
-
return { items:
|
|
2967
|
-
if (
|
|
2968
|
-
else if (
|
|
2969
|
-
const
|
|
2970
|
-
if (
|
|
2951
|
+
const h = !!((N = d.apiUrl) != null && N.trim()), w = h ? m[d.id] : void 0;
|
|
2952
|
+
let g = d.props ? { ...d.props } : {};
|
|
2953
|
+
const y = f(d.manualScalarFields);
|
|
2954
|
+
if (ve.includes(d.componentKey))
|
|
2955
|
+
return { items: w, ...g, ...y };
|
|
2956
|
+
if (g = { ...g, ...y }, h) g = C(w, null, g);
|
|
2957
|
+
else if (d.dataMode === "manual") {
|
|
2958
|
+
const R = I(d.manualItems);
|
|
2959
|
+
if (g = C(
|
|
2971
2960
|
null,
|
|
2972
|
-
{ arr:
|
|
2973
|
-
|
|
2974
|
-
),
|
|
2975
|
-
const L =
|
|
2976
|
-
|
|
2961
|
+
{ arr: R, variableName: d.variableName },
|
|
2962
|
+
g
|
|
2963
|
+
), d.variableName2 && d.manualItems2) {
|
|
2964
|
+
const L = I(d.manualItems2), z = (d.variableName2 || "items2").trim() || "items2";
|
|
2965
|
+
g[z] = L;
|
|
2977
2966
|
}
|
|
2978
2967
|
}
|
|
2979
|
-
return
|
|
2980
|
-
},
|
|
2968
|
+
return g;
|
|
2969
|
+
}, P = (d, h, w) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
|
|
2981
2970
|
loading: "bg-blue-100 text-blue-800",
|
|
2982
2971
|
error: "bg-red-100 text-red-800",
|
|
2983
2972
|
component: "bg-yellow-100 text-yellow-800"
|
|
2984
|
-
}[
|
|
2985
|
-
var
|
|
2986
|
-
const
|
|
2987
|
-
if (!
|
|
2988
|
-
return console.warn(`No hay componente registrado para "${
|
|
2989
|
-
|
|
2973
|
+
}[h]}`, children: w }, d), E = (d) => {
|
|
2974
|
+
var me;
|
|
2975
|
+
const h = d.componentKey, w = xo[h];
|
|
2976
|
+
if (!w)
|
|
2977
|
+
return console.warn(`No hay componente registrado para "${h}"`), P(
|
|
2978
|
+
d.id,
|
|
2990
2979
|
"component",
|
|
2991
|
-
`Componente "${
|
|
2980
|
+
`Componente "${h}" no encontrado`
|
|
2992
2981
|
);
|
|
2993
|
-
const
|
|
2994
|
-
if (
|
|
2995
|
-
if (N && !
|
|
2996
|
-
return
|
|
2997
|
-
|
|
2982
|
+
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] : "";
|
|
2983
|
+
if (g) {
|
|
2984
|
+
if (N && !y)
|
|
2985
|
+
return P(
|
|
2986
|
+
d.id,
|
|
2998
2987
|
"loading",
|
|
2999
|
-
`Cargando datos desde ${
|
|
2988
|
+
`Cargando datos desde ${d.apiUrl}...`
|
|
3000
2989
|
);
|
|
3001
|
-
if (
|
|
3002
|
-
return
|
|
3003
|
-
|
|
2990
|
+
if (R && !y)
|
|
2991
|
+
return P(
|
|
2992
|
+
d.id,
|
|
3004
2993
|
"error",
|
|
3005
|
-
`Error cargando ${
|
|
2994
|
+
`Error cargando ${d.apiUrl}: ${R}`
|
|
3006
2995
|
);
|
|
3007
2996
|
}
|
|
3008
|
-
const L = T(
|
|
2997
|
+
const L = T(d), A = (/* @__PURE__ */ new Set([
|
|
3009
2998
|
"OraculoSeccionBanners",
|
|
3010
2999
|
"OraculoSeccionBonoBienvenida",
|
|
3011
3000
|
"OraculoSeccionCasinoEnVivo",
|
|
3012
|
-
|
|
3013
|
-
])).has(
|
|
3014
|
-
return /* @__PURE__ */ e("div", { style:
|
|
3001
|
+
p ? "" : "OraculoSeccionClubOlimpo"
|
|
3002
|
+
])).has(d.componentKey), Y = p ? 120 : 24;
|
|
3003
|
+
return /* @__PURE__ */ e("div", { style: A ? {
|
|
3015
3004
|
width: "100%",
|
|
3016
3005
|
boxSizing: "border-box"
|
|
3017
3006
|
} : {
|
|
@@ -3019,10 +3008,10 @@ const be = [
|
|
|
3019
3008
|
paddingRight: Y,
|
|
3020
3009
|
width: "100%",
|
|
3021
3010
|
boxSizing: "border-box"
|
|
3022
|
-
}, children: /* @__PURE__ */ e(
|
|
3011
|
+
}, children: /* @__PURE__ */ e(w, { ...L }) }, d.id);
|
|
3023
3012
|
};
|
|
3024
|
-
return
|
|
3025
|
-
|
|
3013
|
+
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(
|
|
3014
|
+
Me,
|
|
3026
3015
|
{
|
|
3027
3016
|
className: "oli-font",
|
|
3028
3017
|
maxWidth: !1,
|
|
@@ -3036,47 +3025,47 @@ const be = [
|
|
|
3036
3025
|
maxWidth: "100%",
|
|
3037
3026
|
overflowX: "hidden"
|
|
3038
3027
|
},
|
|
3039
|
-
children: /* @__PURE__ */ e(
|
|
3028
|
+
children: /* @__PURE__ */ e(Se, { direction: "column", spacing: 8, useFlexGap: !0, children: S.map(E) })
|
|
3040
3029
|
}
|
|
3041
3030
|
);
|
|
3042
3031
|
};
|
|
3043
3032
|
export {
|
|
3044
3033
|
F as OraculoButton,
|
|
3045
3034
|
q as OraculoCarousel,
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3035
|
+
ke as OraculoCarouselDots,
|
|
3036
|
+
xt as OraculoClubOlimpoVisual,
|
|
3037
|
+
Nt as OraculoEventCombinadasCard,
|
|
3038
|
+
Tt as OraculoEventEnVivoCard,
|
|
3039
|
+
Qe as OraculoEventHeader,
|
|
3040
|
+
$e as OraculoEventLabel,
|
|
3041
|
+
Oe as OraculoEventLeague,
|
|
3042
|
+
Ne as OraculoEventScore,
|
|
3043
|
+
jt as OraculoEventSemanaCard,
|
|
3044
|
+
Xe as OraculoEventStatus,
|
|
3045
|
+
Je as OraculoEventStatusBadge,
|
|
3046
|
+
oe as OraculoEventTeamInfo,
|
|
3058
3047
|
te as OraculoGameCard,
|
|
3059
|
-
|
|
3060
|
-
|
|
3048
|
+
ht as OraculoGameRankCard,
|
|
3049
|
+
Ie as OraculoGameSlide,
|
|
3061
3050
|
V as OraculoGridGroup,
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3051
|
+
gt as OraculoLiveCasinoCard,
|
|
3052
|
+
ge as OraculoLogoMediosPago,
|
|
3053
|
+
To as OraculoPageLandingPreview,
|
|
3054
|
+
uo as OraculoSeccionBanners,
|
|
3055
|
+
Xt as OraculoSeccionBonoBienvenida,
|
|
3056
|
+
Ht as OraculoSeccionCasino,
|
|
3057
|
+
Dt as OraculoSeccionCasinoEnVivo,
|
|
3058
|
+
Qt as OraculoSeccionClubOlimpo,
|
|
3059
|
+
At as OraculoSeccionDestacados,
|
|
3060
|
+
eo as OraculoSeccionEventoCombinadas,
|
|
3061
|
+
ro as OraculoSeccionEventoEnVivo,
|
|
3062
|
+
lo as OraculoSeccionEventoSemana,
|
|
3063
|
+
mo as OraculoSeccionMediosPago,
|
|
3064
|
+
Gt as OraculoSeccionTopJuegos,
|
|
3065
|
+
qt as OraculoSeccionVirtuales,
|
|
3077
3066
|
K as OraculoSectionTitle,
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3067
|
+
Gt as OraculoTopJuegoItem,
|
|
3068
|
+
ft as OraculoWelcomeBanner,
|
|
3069
|
+
To as default
|
|
3081
3070
|
};
|
|
3082
3071
|
//# sourceMappingURL=index.es.js.map
|