oraculo-ui 0.1.51 → 0.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +265 -265
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as e, jsxs as p, Fragment as q } from "react/jsx-runtime";
|
|
2
|
-
import { Link as
|
|
3
|
-
import
|
|
4
|
-
import { Splide as
|
|
2
|
+
import { Link as xe, Box as L, Typography as _e, Stack as be, Container as Ne } from "@mui/material";
|
|
3
|
+
import Oe, { forwardRef as ke, useRef as W, useImperativeHandle as Re, useCallback as ue, useState as U, useMemo as ae, useLayoutEffect as Te, useEffect as X } from "react";
|
|
4
|
+
import { Splide as Pe, SplideSlide as Be } from "@splidejs/react-splide";
|
|
5
5
|
import $ from "@mui/material/Box";
|
|
6
6
|
import j from "@mui/material/Typography";
|
|
7
7
|
import M from "@mui/material/Stack";
|
|
8
|
-
import { ChevronLeftRounded as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { onSnapshot as
|
|
8
|
+
import { ChevronLeftRounded as ie, ChevronRightRounded as se } from "@mui/icons-material";
|
|
9
|
+
import ve from "@mui/icons-material/ChevronLeftRounded";
|
|
10
|
+
import ye from "@mui/icons-material/ChevronRightRounded";
|
|
11
|
+
import Fe from "@mui/material/useMediaQuery";
|
|
12
|
+
import { onSnapshot as Ue, doc as Le } from "firebase/firestore";
|
|
13
13
|
function P({
|
|
14
14
|
children: t,
|
|
15
15
|
onClick: n,
|
|
@@ -42,7 +42,7 @@ function P({
|
|
|
42
42
|
d && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: d })
|
|
43
43
|
] }), l = a ? !0 : void 0;
|
|
44
44
|
return i ? /* @__PURE__ */ e(
|
|
45
|
-
|
|
45
|
+
xe,
|
|
46
46
|
{
|
|
47
47
|
href: i,
|
|
48
48
|
target: r,
|
|
@@ -89,7 +89,7 @@ function H({
|
|
|
89
89
|
/* @__PURE__ */ e("h2", { className: "orc-section-title__title", children: t })
|
|
90
90
|
] });
|
|
91
91
|
}
|
|
92
|
-
const
|
|
92
|
+
const we = ({
|
|
93
93
|
total: t,
|
|
94
94
|
active: n,
|
|
95
95
|
onSelect: i,
|
|
@@ -131,7 +131,7 @@ function G({
|
|
|
131
131
|
}
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function me({ src: t, alt: n }) {
|
|
135
135
|
return /* @__PURE__ */ e(
|
|
136
136
|
L,
|
|
137
137
|
{
|
|
@@ -162,16 +162,16 @@ function ue({ src: t, alt: n }) {
|
|
|
162
162
|
}
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
|
-
const
|
|
166
|
-
contenedor:
|
|
167
|
-
flexGroup:
|
|
168
|
-
subtitle:
|
|
165
|
+
const Me = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", ze = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", We = "oraculo__OraculoEventTitle-module__subtitle___TmHna", te = {
|
|
166
|
+
contenedor: Me,
|
|
167
|
+
flexGroup: ze,
|
|
168
|
+
subtitle: We
|
|
169
169
|
};
|
|
170
|
-
function
|
|
170
|
+
function Ae({ title: t, subtitle: n }) {
|
|
171
171
|
return /* @__PURE__ */ p(
|
|
172
172
|
"div",
|
|
173
173
|
{
|
|
174
|
-
className:
|
|
174
|
+
className: te.contenedor,
|
|
175
175
|
children: [
|
|
176
176
|
/* @__PURE__ */ e(
|
|
177
177
|
"span",
|
|
@@ -187,14 +187,14 @@ function We({ title: t, subtitle: n }) {
|
|
|
187
187
|
n && /* @__PURE__ */ p(
|
|
188
188
|
"div",
|
|
189
189
|
{
|
|
190
|
-
className:
|
|
190
|
+
className: te.flexGroup,
|
|
191
191
|
children: [
|
|
192
192
|
/* @__PURE__ */ p("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
|
|
193
193
|
" ",
|
|
194
194
|
/* @__PURE__ */ e("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
|
|
195
195
|
" "
|
|
196
196
|
] }),
|
|
197
|
-
/* @__PURE__ */ e("span", { className:
|
|
197
|
+
/* @__PURE__ */ e("span", { className: te.subtitle, children: n }),
|
|
198
198
|
/* @__PURE__ */ e("div", {})
|
|
199
199
|
]
|
|
200
200
|
}
|
|
@@ -203,7 +203,7 @@ function We({ title: t, subtitle: n }) {
|
|
|
203
203
|
}
|
|
204
204
|
);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function je({ text: t, color: n = "#ff3b3b", textColor: i = "#fff" }) {
|
|
207
207
|
return /* @__PURE__ */ e(
|
|
208
208
|
"span",
|
|
209
209
|
{
|
|
@@ -224,13 +224,13 @@ function Ae({ text: t, color: n = "#ff3b3b", textColor: i = "#fff" }) {
|
|
|
224
224
|
}
|
|
225
225
|
);
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Ge({ live: t, time: n }) {
|
|
228
228
|
return /* @__PURE__ */ p("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
229
|
-
t && /* @__PURE__ */ e(
|
|
229
|
+
t && /* @__PURE__ */ e(je, { text: "En vivo" }),
|
|
230
230
|
n && /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: n })
|
|
231
231
|
] });
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function De({ title: t, subtitle: n, live: i = !1, time: r = "" }) {
|
|
234
234
|
return /* @__PURE__ */ p(
|
|
235
235
|
"div",
|
|
236
236
|
{
|
|
@@ -241,32 +241,32 @@ function Ge({ title: t, subtitle: n, live: i = !1, time: r = "" }) {
|
|
|
241
241
|
color: "#FFFFFF"
|
|
242
242
|
},
|
|
243
243
|
children: [
|
|
244
|
-
/* @__PURE__ */ e(
|
|
245
|
-
/* @__PURE__ */ e(
|
|
244
|
+
/* @__PURE__ */ e(Ae, { title: t, subtitle: n }),
|
|
245
|
+
/* @__PURE__ */ e(Ge, { live: i, time: r })
|
|
246
246
|
]
|
|
247
247
|
}
|
|
248
248
|
);
|
|
249
249
|
}
|
|
250
|
-
const
|
|
251
|
-
label:
|
|
250
|
+
const He = "oraculo__OraculoEventLabel-module__label___c64Xw", Ve = {
|
|
251
|
+
label: He
|
|
252
252
|
};
|
|
253
|
-
function
|
|
254
|
-
return /* @__PURE__ */ e("span", { className:
|
|
253
|
+
function Se({ text: t }) {
|
|
254
|
+
return /* @__PURE__ */ e("span", { className: Ve.label, children: t });
|
|
255
255
|
}
|
|
256
|
-
const
|
|
257
|
-
container:
|
|
256
|
+
const Ke = "oraculo__OraculoEventLeague-module__container___rdk4F", Xe = {
|
|
257
|
+
container: Ke
|
|
258
258
|
};
|
|
259
259
|
function Je({ title: t }) {
|
|
260
|
-
return /* @__PURE__ */ e("div", { className:
|
|
260
|
+
return /* @__PURE__ */ e("div", { className: Xe.container, children: t.toUpperCase() });
|
|
261
261
|
}
|
|
262
|
-
const
|
|
263
|
-
scoreWrapper:
|
|
264
|
-
name:
|
|
265
|
-
score:
|
|
266
|
-
normal:
|
|
267
|
-
small:
|
|
262
|
+
const qe = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Ye = "oraculo__OraculoEventScore-module__name___r4uL6", Qe = "oraculo__OraculoEventScore-module__score___Xl03M", Ze = "oraculo__OraculoEventScore-module__normal___cCNFz", et = "oraculo__OraculoEventScore-module__small___fVt8E", K = {
|
|
263
|
+
scoreWrapper: qe,
|
|
264
|
+
name: Ye,
|
|
265
|
+
score: Qe,
|
|
266
|
+
normal: Ze,
|
|
267
|
+
small: et
|
|
268
268
|
};
|
|
269
|
-
function
|
|
269
|
+
function Ce({ text: t, name: n, size: i = "normal" }) {
|
|
270
270
|
return /* @__PURE__ */ p(
|
|
271
271
|
"div",
|
|
272
272
|
{
|
|
@@ -278,12 +278,12 @@ function Se({ text: t, name: n, size: i = "normal" }) {
|
|
|
278
278
|
}
|
|
279
279
|
);
|
|
280
280
|
}
|
|
281
|
-
const
|
|
282
|
-
team:
|
|
283
|
-
regular:
|
|
284
|
-
compact:
|
|
285
|
-
logo:
|
|
286
|
-
name:
|
|
281
|
+
const tt = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ot = "oraculo__OraculoEventTeamInfo-module__regular___ag826", nt = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", rt = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", at = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", Y = {
|
|
282
|
+
team: tt,
|
|
283
|
+
regular: ot,
|
|
284
|
+
compact: nt,
|
|
285
|
+
logo: rt,
|
|
286
|
+
name: at
|
|
287
287
|
};
|
|
288
288
|
function ee({ name: t, logo: n, size: i = "regular" }) {
|
|
289
289
|
return /* @__PURE__ */ p("div", { className: `oli-font ${Y.team} ${Y[i]}`, children: [
|
|
@@ -291,7 +291,7 @@ function ee({ name: t, logo: n, size: i = "regular" }) {
|
|
|
291
291
|
/* @__PURE__ */ e("span", { className: Y.name, children: t })
|
|
292
292
|
] });
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const it = Pe, st = Be, V = ke(
|
|
295
295
|
({
|
|
296
296
|
items: t = [],
|
|
297
297
|
renderItem: n,
|
|
@@ -304,7 +304,7 @@ const at = Te, it = Pe, V = Oe(
|
|
|
304
304
|
useIndexAsKey: m = !1
|
|
305
305
|
}, v) => {
|
|
306
306
|
const _ = W(null);
|
|
307
|
-
|
|
307
|
+
Re(v, () => ({
|
|
308
308
|
next: () => {
|
|
309
309
|
var d;
|
|
310
310
|
return (d = _.current) == null ? void 0 : d.go(">");
|
|
@@ -318,10 +318,10 @@ const at = Te, it = Pe, V = Oe(
|
|
|
318
318
|
return (y = _.current) == null ? void 0 : y.go(d);
|
|
319
319
|
}
|
|
320
320
|
}));
|
|
321
|
-
const E =
|
|
321
|
+
const E = ue((d) => {
|
|
322
322
|
const y = d.Components.Controller, S = y.getIndex(), w = y.getEnd(), I = S === 0, C = S >= w, k = d.Components.Slides.getLength();
|
|
323
323
|
h == null || h({ index: S, isStart: I, isEnd: C, total: k });
|
|
324
|
-
}, [h]), s =
|
|
324
|
+
}, [h]), s = ue(
|
|
325
325
|
(d) => {
|
|
326
326
|
E(d);
|
|
327
327
|
},
|
|
@@ -341,7 +341,7 @@ const at = Te, it = Pe, V = Oe(
|
|
|
341
341
|
...o
|
|
342
342
|
};
|
|
343
343
|
return /* @__PURE__ */ e("div", { className: a, style: { width: "100%" }, children: /* @__PURE__ */ e(
|
|
344
|
-
|
|
344
|
+
it,
|
|
345
345
|
{
|
|
346
346
|
ref: _,
|
|
347
347
|
options: u,
|
|
@@ -349,7 +349,7 @@ const at = Te, it = Pe, V = Oe(
|
|
|
349
349
|
onMounted: s,
|
|
350
350
|
children: t.map((d, y) => {
|
|
351
351
|
var S;
|
|
352
|
-
return /* @__PURE__ */ e(
|
|
352
|
+
return /* @__PURE__ */ e(st, { children: n(d, y) }, m ? y : (S = d.id) != null ? S : y);
|
|
353
353
|
})
|
|
354
354
|
}
|
|
355
355
|
) });
|
|
@@ -441,7 +441,7 @@ const at = Te, it = Pe, V = Oe(
|
|
|
441
441
|
}
|
|
442
442
|
);
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function ct({
|
|
445
445
|
imageUrl: t,
|
|
446
446
|
orden: n = 1,
|
|
447
447
|
onClick: i,
|
|
@@ -527,7 +527,7 @@ function st({
|
|
|
527
527
|
}
|
|
528
528
|
);
|
|
529
529
|
}
|
|
530
|
-
const
|
|
530
|
+
const lt = ({
|
|
531
531
|
logo: t,
|
|
532
532
|
provider: n,
|
|
533
533
|
providerName: i,
|
|
@@ -606,7 +606,7 @@ const ct = ({
|
|
|
606
606
|
]
|
|
607
607
|
}
|
|
608
608
|
);
|
|
609
|
-
},
|
|
609
|
+
}, oe = 12, Ee = ({
|
|
610
610
|
items: t,
|
|
611
611
|
layout: n = "grid",
|
|
612
612
|
onClick: i
|
|
@@ -632,8 +632,8 @@ const ct = ({
|
|
|
632
632
|
xs: "104px",
|
|
633
633
|
md: "152px"
|
|
634
634
|
},
|
|
635
|
-
columnGap: `${
|
|
636
|
-
rowGap: `${
|
|
635
|
+
columnGap: `${oe}px`,
|
|
636
|
+
rowGap: `${oe}px`,
|
|
637
637
|
alignItems: "stretch",
|
|
638
638
|
justifyItems: "stretch"
|
|
639
639
|
},
|
|
@@ -700,7 +700,7 @@ const ct = ({
|
|
|
700
700
|
xs: "repeat(2, 112px)",
|
|
701
701
|
md: "repeat(2, 168px)"
|
|
702
702
|
},
|
|
703
|
-
gap: `${
|
|
703
|
+
gap: `${oe}px`,
|
|
704
704
|
gridAutoFlow: "column"
|
|
705
705
|
},
|
|
706
706
|
children: t.map((c, o) => {
|
|
@@ -727,7 +727,7 @@ const ct = ({
|
|
|
727
727
|
})
|
|
728
728
|
}
|
|
729
729
|
);
|
|
730
|
-
},
|
|
730
|
+
}, dt = ({
|
|
731
731
|
title: t,
|
|
732
732
|
amount: n,
|
|
733
733
|
subtitle: i,
|
|
@@ -879,7 +879,7 @@ const ct = ({
|
|
|
879
879
|
]
|
|
880
880
|
}
|
|
881
881
|
);
|
|
882
|
-
},
|
|
882
|
+
}, ut = ({
|
|
883
883
|
text: t,
|
|
884
884
|
buttonLabel: n = "Conoce más",
|
|
885
885
|
onClick: i,
|
|
@@ -905,15 +905,15 @@ const ct = ({
|
|
|
905
905
|
className: "orc-co-bgDesktopImg"
|
|
906
906
|
}
|
|
907
907
|
) }),
|
|
908
|
-
a && /* @__PURE__ */ e("div", { className: "orc-co-logo", children: /* @__PURE__ */ e(
|
|
909
|
-
"img",
|
|
910
|
-
{
|
|
911
|
-
src: a,
|
|
912
|
-
alt: `${r} logo`,
|
|
913
|
-
className: "orc-co-logoImg"
|
|
914
|
-
}
|
|
915
|
-
) }),
|
|
916
908
|
/* @__PURE__ */ p("div", { className: "orc-co-desktopContent", children: [
|
|
909
|
+
a && /* @__PURE__ */ e(
|
|
910
|
+
"img",
|
|
911
|
+
{
|
|
912
|
+
src: a,
|
|
913
|
+
alt: `${r} logo`,
|
|
914
|
+
className: "orc-co-logoImg"
|
|
915
|
+
}
|
|
916
|
+
),
|
|
917
917
|
/* @__PURE__ */ e("p", { className: "orc-co-captionDesktop", children: t }),
|
|
918
918
|
/* @__PURE__ */ e(P, { onClick: i, variant: "primary", size: "md", children: n })
|
|
919
919
|
] })
|
|
@@ -922,21 +922,21 @@ const ct = ({
|
|
|
922
922
|
/* @__PURE__ */ e("p", { className: "orc-co-caption", children: t }),
|
|
923
923
|
/* @__PURE__ */ e(P, { onClick: i, variant: "primary", size: "md", children: n })
|
|
924
924
|
] })
|
|
925
|
-
] }),
|
|
926
|
-
card:
|
|
927
|
-
combinadas:
|
|
928
|
-
apuestaItem:
|
|
929
|
-
lineContainer:
|
|
930
|
-
circle:
|
|
931
|
-
line:
|
|
932
|
-
apuestaText:
|
|
933
|
-
cuotaTotal:
|
|
925
|
+
] }), mt = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", pt = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", ht = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", gt = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ft = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", xt = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", _t = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", bt = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", D = {
|
|
926
|
+
card: mt,
|
|
927
|
+
combinadas: pt,
|
|
928
|
+
apuestaItem: ht,
|
|
929
|
+
lineContainer: gt,
|
|
930
|
+
circle: ft,
|
|
931
|
+
line: xt,
|
|
932
|
+
apuestaText: _t,
|
|
933
|
+
cuotaTotal: bt
|
|
934
934
|
};
|
|
935
|
-
function
|
|
935
|
+
function ce(t) {
|
|
936
936
|
const n = Array.isArray(t) ? t : [t];
|
|
937
937
|
sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = "/#home";
|
|
938
938
|
}
|
|
939
|
-
function
|
|
939
|
+
function vt({ event: t }) {
|
|
940
940
|
var r;
|
|
941
941
|
function n(c) {
|
|
942
942
|
var _;
|
|
@@ -984,7 +984,7 @@ function bt({ event: t }) {
|
|
|
984
984
|
] }) }),
|
|
985
985
|
/* @__PURE__ */ p("button", { onClick: () => {
|
|
986
986
|
var c, o;
|
|
987
|
-
return
|
|
987
|
+
return ce((o = (c = i == null ? void 0 : i.outcomes) == null ? void 0 : c.map((a) => a == null ? void 0 : a.id)) != null ? o : []);
|
|
988
988
|
}, className: D.cuotaTotal, children: [
|
|
989
989
|
/* @__PURE__ */ p("span", { children: [
|
|
990
990
|
"Cuota total: ",
|
|
@@ -1008,7 +1008,7 @@ const A = {
|
|
|
1008
1008
|
"orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
|
|
1009
1009
|
"orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
|
|
1010
1010
|
};
|
|
1011
|
-
function
|
|
1011
|
+
function yt({
|
|
1012
1012
|
children: t,
|
|
1013
1013
|
onClick: n,
|
|
1014
1014
|
href: i,
|
|
@@ -1043,7 +1043,7 @@ function vt({
|
|
|
1043
1043
|
d && /* @__PURE__ */ e("span", { className: A["orc-btn__icon"], children: d })
|
|
1044
1044
|
] }), l = a ? !0 : void 0;
|
|
1045
1045
|
return i ? /* @__PURE__ */ e(
|
|
1046
|
-
|
|
1046
|
+
xe,
|
|
1047
1047
|
{
|
|
1048
1048
|
href: i,
|
|
1049
1049
|
target: r,
|
|
@@ -1067,7 +1067,7 @@ function vt({
|
|
|
1067
1067
|
}
|
|
1068
1068
|
);
|
|
1069
1069
|
}
|
|
1070
|
-
function
|
|
1070
|
+
function wt({ event: t, liveData: n, betOffers: i, fondo: r = "/assets/img/home/EnVivo/fondo.png" }) {
|
|
1071
1071
|
var o, a, h, m, v, _, E, s;
|
|
1072
1072
|
const c = i == null ? void 0 : i.find(
|
|
1073
1073
|
(u) => {
|
|
@@ -1085,7 +1085,7 @@ function yt({ event: t, liveData: n, betOffers: i, fondo: r = "/assets/img/home/
|
|
|
1085
1085
|
}, children: /* @__PURE__ */ p(M, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1086
1086
|
/* @__PURE__ */ p(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
1087
1087
|
/* @__PURE__ */ e(
|
|
1088
|
-
|
|
1088
|
+
De,
|
|
1089
1089
|
{
|
|
1090
1090
|
title: (o = t.path[0].name) != null ? o : "",
|
|
1091
1091
|
subtitle: t.group,
|
|
@@ -1101,31 +1101,31 @@ function yt({ event: t, liveData: n, betOffers: i, fondo: r = "/assets/img/home/
|
|
|
1101
1101
|
logo: "/assets/img/home/EnVivo/Juventus.png"
|
|
1102
1102
|
}
|
|
1103
1103
|
),
|
|
1104
|
-
/* @__PURE__ */ e(
|
|
1104
|
+
/* @__PURE__ */ e(Ce, { text: ((m = (h = n == null ? void 0 : n.score) == null ? void 0 : h.home) != null ? m : 0) + ":" + ((_ = (v = n == null ? void 0 : n.score) == null ? void 0 : v.away) != null ? _ : 0), name: "En vivo" }),
|
|
1105
1105
|
/* @__PURE__ */ e(ee, { name: t.awayName, logo: "/assets/img/home/EnVivo/Racing.png" })
|
|
1106
1106
|
] }) })
|
|
1107
1107
|
] }),
|
|
1108
1108
|
/* @__PURE__ */ p(M, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1109
|
-
/* @__PURE__ */ e(G, { spacing: 1, children: ((E = c == null ? void 0 : c.outcomes) != null ? E : []).map((u, d) => /* @__PURE__ */ e(
|
|
1110
|
-
/* @__PURE__ */ e(G, { spacing: 2, children: ((s = c == null ? void 0 : c.outcomes) != null ? s : []).map((u, d) => /* @__PURE__ */ e(
|
|
1111
|
-
|
|
1109
|
+
/* @__PURE__ */ e(G, { spacing: 1, children: ((E = c == null ? void 0 : c.outcomes) != null ? E : []).map((u, d) => /* @__PURE__ */ e(Se, { text: u.label.toUpperCase() }, d)) }),
|
|
1110
|
+
/* @__PURE__ */ e(G, { spacing: 2, children: ((s = c == null ? void 0 : c.outcomes) != null ? s : []).map((u, d) => /* @__PURE__ */ e(yt, { variant: "primary", disabled: u.odds == null || (c == null ? void 0 : c.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1111
|
+
ce(u.id);
|
|
1112
1112
|
}, children: u.odds === void 0 ? "" : (u.odds / 1e3).toFixed(2) }, d)) })
|
|
1113
1113
|
] })
|
|
1114
1114
|
] }) });
|
|
1115
1115
|
}
|
|
1116
|
-
const
|
|
1117
|
-
date:
|
|
1116
|
+
const St = "oraculo__OraculoEventDate-module__date___xhIlh", Ct = {
|
|
1117
|
+
date: St
|
|
1118
1118
|
};
|
|
1119
|
-
function
|
|
1120
|
-
return /* @__PURE__ */ e("div", { className: `oli-font ${
|
|
1119
|
+
function Et({ text: t }) {
|
|
1120
|
+
return /* @__PURE__ */ e("div", { className: `oli-font ${Ct.date}`, children: t });
|
|
1121
1121
|
}
|
|
1122
|
-
const
|
|
1123
|
-
cardContainer:
|
|
1124
|
-
cardBackground:
|
|
1125
|
-
jugadas:
|
|
1126
|
-
equipos:
|
|
1122
|
+
const $t = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", It = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Nt = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Ot = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", Q = {
|
|
1123
|
+
cardContainer: $t,
|
|
1124
|
+
cardBackground: It,
|
|
1125
|
+
jugadas: Nt,
|
|
1126
|
+
equipos: Ot
|
|
1127
1127
|
};
|
|
1128
|
-
function
|
|
1128
|
+
function kt({ event: t }) {
|
|
1129
1129
|
var i, r, c, o, a, h, m;
|
|
1130
1130
|
function n(v) {
|
|
1131
1131
|
const _ = new Date(v), E = _.toLocaleDateString("es-ES", {
|
|
@@ -1151,21 +1151,21 @@ function Ot({ event: t }) {
|
|
|
1151
1151
|
size: "compact"
|
|
1152
1152
|
}
|
|
1153
1153
|
),
|
|
1154
|
-
/* @__PURE__ */ e(
|
|
1154
|
+
/* @__PURE__ */ e(Ce, { text: "vs.", name: "", size: "small" }),
|
|
1155
1155
|
/* @__PURE__ */ e(ee, { name: t.homeName, logo: "/assets/img/home/EventoSemana/RealMadrid.png", size: "compact" })
|
|
1156
1156
|
] }),
|
|
1157
|
-
/* @__PURE__ */ e(
|
|
1157
|
+
/* @__PURE__ */ e(Et, { text: n(t.start) })
|
|
1158
1158
|
] }),
|
|
1159
1159
|
/* @__PURE__ */ p(M, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1160
|
-
/* @__PURE__ */ e(G, { spacing: 1, children: ((o = (c = (r = t == null ? void 0 : t.outcome) == null ? void 0 : r[0]) == null ? void 0 : c.outcomes) != null ? o : []).map((v, _) => /* @__PURE__ */ e(
|
|
1160
|
+
/* @__PURE__ */ e(G, { spacing: 1, children: ((o = (c = (r = t == null ? void 0 : t.outcome) == null ? void 0 : r[0]) == null ? void 0 : c.outcomes) != null ? o : []).map((v, _) => /* @__PURE__ */ e(Se, { text: v.label.toUpperCase() }, _)) }),
|
|
1161
1161
|
/* @__PURE__ */ e("div", { className: Q.jugadas, children: /* @__PURE__ */ e(G, { spacing: 1, children: ((m = (h = (a = t == null ? void 0 : t.outcome) == null ? void 0 : a[0]) == null ? void 0 : h.outcomes) != null ? m : []).map((v, _) => /* @__PURE__ */ e(P, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1162
|
-
|
|
1162
|
+
ce(v.id);
|
|
1163
1163
|
}, children: (v.odds / 1e3).toFixed(2) }, _)) }) })
|
|
1164
1164
|
] })
|
|
1165
1165
|
] }) })
|
|
1166
1166
|
] });
|
|
1167
1167
|
}
|
|
1168
|
-
function
|
|
1168
|
+
function Rt({
|
|
1169
1169
|
items: t,
|
|
1170
1170
|
title: n = "Destacados",
|
|
1171
1171
|
iconUrl: i,
|
|
@@ -1206,7 +1206,7 @@ function kt({
|
|
|
1206
1206
|
ariaLabel: "Anterior",
|
|
1207
1207
|
variant: "secondary",
|
|
1208
1208
|
iconOnly: !0,
|
|
1209
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1209
|
+
leftIcon: /* @__PURE__ */ e(ie, {}),
|
|
1210
1210
|
onClick: m,
|
|
1211
1211
|
disabled: a.isStart
|
|
1212
1212
|
}
|
|
@@ -1217,7 +1217,7 @@ function kt({
|
|
|
1217
1217
|
ariaLabel: "Siguiente",
|
|
1218
1218
|
variant: "secondary",
|
|
1219
1219
|
iconOnly: !0,
|
|
1220
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1220
|
+
rightIcon: /* @__PURE__ */ e(se, {}),
|
|
1221
1221
|
onClick: v,
|
|
1222
1222
|
disabled: a.isEnd
|
|
1223
1223
|
}
|
|
@@ -1271,19 +1271,19 @@ function kt({
|
|
|
1271
1271
|
)
|
|
1272
1272
|
] });
|
|
1273
1273
|
}
|
|
1274
|
-
const
|
|
1274
|
+
const Tt = (t) => {
|
|
1275
1275
|
var s, u, d, y, S, w;
|
|
1276
1276
|
if (typeof window == "undefined") return;
|
|
1277
1277
|
const n = (u = (s = t.name) != null ? s : t.web_name) != null ? u : "", i = (d = t.provider) != null ? d : "", r = (y = t.machine) != null ? y : "", c = (S = t.external_id) != null ? S : "", o = (w = t.type) != null ? w : "", a = encodeURIComponent(String(i)), h = encodeURIComponent(String(r)), m = encodeURIComponent(String(n)), v = encodeURIComponent(String(c)), _ = encodeURIComponent(String(o)), E = `https://www.olimpo.bet/casino?${h}?provider=${a}&name=${m}&external_id=${v}&type=${_}`;
|
|
1278
1278
|
window.location.href = E;
|
|
1279
1279
|
};
|
|
1280
|
-
function
|
|
1280
|
+
function Pt({
|
|
1281
1281
|
items: t,
|
|
1282
1282
|
title: n = "Top Juegos",
|
|
1283
1283
|
iconUrl: i,
|
|
1284
1284
|
onCardClick: r
|
|
1285
1285
|
}) {
|
|
1286
|
-
const c =
|
|
1286
|
+
const c = ae(
|
|
1287
1287
|
() => t.map((o, a) => {
|
|
1288
1288
|
var h;
|
|
1289
1289
|
return {
|
|
@@ -1313,12 +1313,12 @@ function Tt({
|
|
|
1313
1313
|
children: c.slice(0, 6).map((o) => {
|
|
1314
1314
|
var a;
|
|
1315
1315
|
return /* @__PURE__ */ e(
|
|
1316
|
-
|
|
1316
|
+
ct,
|
|
1317
1317
|
{
|
|
1318
1318
|
imageUrl: `https://olimpo.bet${(a = o.logo) != null ? a : ""}`,
|
|
1319
1319
|
orden: o.orden,
|
|
1320
1320
|
onClick: () => {
|
|
1321
|
-
r ? r(o) :
|
|
1321
|
+
r ? r(o) : Tt(o);
|
|
1322
1322
|
}
|
|
1323
1323
|
},
|
|
1324
1324
|
o.machine
|
|
@@ -1328,15 +1328,15 @@ function Tt({
|
|
|
1328
1328
|
)
|
|
1329
1329
|
] }) });
|
|
1330
1330
|
}
|
|
1331
|
-
const
|
|
1331
|
+
const Bt = (t, n) => {
|
|
1332
1332
|
var i, r;
|
|
1333
1333
|
return (r = (i = t.orden) != null ? i : t.machine) != null ? r : n;
|
|
1334
|
-
},
|
|
1334
|
+
}, Ft = (t) => {
|
|
1335
1335
|
var s, u, d, y, S, w;
|
|
1336
1336
|
if (typeof window == "undefined") return;
|
|
1337
1337
|
const n = (u = (s = t.name) != null ? s : t.web_name) != null ? u : "", i = (d = t.provider) != null ? d : "", r = (y = t.machine) != null ? y : "", c = (S = t.external_id) != null ? S : "", o = (w = t.type) != null ? w : "Live", a = encodeURIComponent(String(i)), h = encodeURIComponent(String(r)), m = encodeURIComponent(String(n)), v = encodeURIComponent(String(c)), _ = encodeURIComponent(String(o)), E = `https://www.olimpo.bet/casino-en-vivo?${h}?provider=${a}&name=${m}&external_id=${v}&type=${_}`;
|
|
1338
1338
|
window.location.href = E;
|
|
1339
|
-
},
|
|
1339
|
+
}, Ut = ({
|
|
1340
1340
|
items: t,
|
|
1341
1341
|
title: n = "Casino en vivo",
|
|
1342
1342
|
subtitle: i = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
@@ -1452,17 +1452,17 @@ const Pt = (t, n) => {
|
|
|
1452
1452
|
children: (t != null ? t : []).slice(0, 3).map((m, v) => {
|
|
1453
1453
|
var _;
|
|
1454
1454
|
return /* @__PURE__ */ e(
|
|
1455
|
-
|
|
1455
|
+
lt,
|
|
1456
1456
|
{
|
|
1457
1457
|
logo: `https://olimpo.bet${(_ = m.logo) != null ? _ : ""}`,
|
|
1458
1458
|
provider: m.provider,
|
|
1459
1459
|
providerName: m.web_name,
|
|
1460
1460
|
machine: m.machine,
|
|
1461
1461
|
onClick: () => {
|
|
1462
|
-
o ? o(m, v) :
|
|
1462
|
+
o ? o(m, v) : Ft(m);
|
|
1463
1463
|
}
|
|
1464
1464
|
},
|
|
1465
|
-
|
|
1465
|
+
Bt(m, v)
|
|
1466
1466
|
);
|
|
1467
1467
|
})
|
|
1468
1468
|
}
|
|
@@ -1481,19 +1481,19 @@ const Pt = (t, n) => {
|
|
|
1481
1481
|
)
|
|
1482
1482
|
]
|
|
1483
1483
|
}
|
|
1484
|
-
),
|
|
1484
|
+
), $e = (t, n) => {
|
|
1485
1485
|
var i, r;
|
|
1486
1486
|
return (r = (i = t.orden) != null ? i : t.machine) != null ? r : n;
|
|
1487
|
-
},
|
|
1487
|
+
}, Lt = (t) => {
|
|
1488
1488
|
var s, u, d, y, S;
|
|
1489
1489
|
if (typeof window == "undefined") return;
|
|
1490
1490
|
const n = (s = t.name) != null ? s : "", i = (u = t.provider) != null ? u : "", r = (d = t.machine) != null ? d : "", c = (y = t.external_id) != null ? y : "", o = (S = t.type) != null ? S : "Casino", a = encodeURIComponent(String(i)), h = encodeURIComponent(String(r)), m = encodeURIComponent(String(n)), v = encodeURIComponent(String(c)), _ = encodeURIComponent(String(o)), E = `https://www.olimpo.bet/casino?${h}?provider=${a}&name=${m}&external_id=${v}&type=${_}`;
|
|
1491
1491
|
window.location.href = E;
|
|
1492
|
-
},
|
|
1492
|
+
}, Mt = (t, n = !0, i = 4) => {
|
|
1493
1493
|
const r = t.map((a, h) => {
|
|
1494
1494
|
var m;
|
|
1495
1495
|
return {
|
|
1496
|
-
id:
|
|
1496
|
+
id: $e(a, h),
|
|
1497
1497
|
imageUrl: (m = a.logo) != null ? m : ""
|
|
1498
1498
|
};
|
|
1499
1499
|
});
|
|
@@ -1517,7 +1517,7 @@ const Pt = (t, n) => {
|
|
|
1517
1517
|
}), o = a;
|
|
1518
1518
|
}
|
|
1519
1519
|
return c;
|
|
1520
|
-
},
|
|
1520
|
+
}, zt = ({
|
|
1521
1521
|
items: t,
|
|
1522
1522
|
title: n = "Casino",
|
|
1523
1523
|
iconUrl: i = "/assets/img/home/Casino/diamante.svg",
|
|
@@ -1526,7 +1526,7 @@ const Pt = (t, n) => {
|
|
|
1526
1526
|
mosaicFirst: o = !0,
|
|
1527
1527
|
gridSize: a = 4
|
|
1528
1528
|
}) => {
|
|
1529
|
-
const h = W(null), [m, v] = U({ isStart: !0, isEnd: !1 }), _ =
|
|
1529
|
+
const h = W(null), [m, v] = U({ isStart: !0, isEnd: !1 }), _ = Mt(t, o, a), E = () => {
|
|
1530
1530
|
var d;
|
|
1531
1531
|
(d = h.current) == null || d.prev();
|
|
1532
1532
|
}, s = () => {
|
|
@@ -1570,7 +1570,7 @@ const Pt = (t, n) => {
|
|
|
1570
1570
|
ariaLabel: "Anterior",
|
|
1571
1571
|
variant: "secondary",
|
|
1572
1572
|
iconOnly: !0,
|
|
1573
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1573
|
+
leftIcon: /* @__PURE__ */ e(ve, {}),
|
|
1574
1574
|
onClick: E,
|
|
1575
1575
|
disabled: m.isStart
|
|
1576
1576
|
}
|
|
@@ -1581,7 +1581,7 @@ const Pt = (t, n) => {
|
|
|
1581
1581
|
ariaLabel: "Siguiente",
|
|
1582
1582
|
variant: "secondary",
|
|
1583
1583
|
iconOnly: !0,
|
|
1584
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1584
|
+
rightIcon: /* @__PURE__ */ e(ye, {}),
|
|
1585
1585
|
onClick: s,
|
|
1586
1586
|
disabled: m.isEnd
|
|
1587
1587
|
}
|
|
@@ -1610,15 +1610,15 @@ const Pt = (t, n) => {
|
|
|
1610
1610
|
focus: "start"
|
|
1611
1611
|
},
|
|
1612
1612
|
renderItem: (d) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
|
|
1613
|
-
|
|
1613
|
+
Ee,
|
|
1614
1614
|
{
|
|
1615
1615
|
items: d.items,
|
|
1616
1616
|
layout: d.kind === "mosaic" ? "mosaic" : "grid",
|
|
1617
1617
|
onClick: (y) => {
|
|
1618
1618
|
const S = t.find(
|
|
1619
|
-
(w, I) =>
|
|
1619
|
+
(w, I) => $e(w, I) === y.id
|
|
1620
1620
|
);
|
|
1621
|
-
S && (r ? r(S) :
|
|
1621
|
+
S && (r ? r(S) : Lt(S));
|
|
1622
1622
|
}
|
|
1623
1623
|
}
|
|
1624
1624
|
) }),
|
|
@@ -1626,19 +1626,19 @@ const Pt = (t, n) => {
|
|
|
1626
1626
|
}
|
|
1627
1627
|
)
|
|
1628
1628
|
] }) });
|
|
1629
|
-
},
|
|
1629
|
+
}, Ie = (t, n) => {
|
|
1630
1630
|
var i, r;
|
|
1631
1631
|
return (r = (i = t.orden) != null ? i : t.machine) != null ? r : n;
|
|
1632
|
-
},
|
|
1632
|
+
}, Wt = (t) => {
|
|
1633
1633
|
var s, u, d, y, S;
|
|
1634
1634
|
if (typeof window == "undefined") return;
|
|
1635
1635
|
const n = (s = t.name) != null ? s : "", i = (u = t.provider) != null ? u : "", r = (d = t.machine) != null ? d : "", c = (y = t.external_id) != null ? y : "", o = (S = t.type) != null ? S : "Virtuales", a = encodeURIComponent(String(i)), h = encodeURIComponent(String(r)), m = encodeURIComponent(String(n)), v = encodeURIComponent(String(c)), _ = encodeURIComponent(String(o)), E = `https://www.olimpo.bet/juegos-virtuales?${h}?provider=${a}&name=${m}&external_id=${v}&type=${_}`;
|
|
1636
1636
|
window.location.href = E;
|
|
1637
|
-
},
|
|
1637
|
+
}, At = (t, n = !0, i = 4) => {
|
|
1638
1638
|
const r = t.map((a, h) => {
|
|
1639
1639
|
var m;
|
|
1640
1640
|
return {
|
|
1641
|
-
id:
|
|
1641
|
+
id: Ie(a, h),
|
|
1642
1642
|
imageUrl: (m = a.logo) != null ? m : ""
|
|
1643
1643
|
};
|
|
1644
1644
|
});
|
|
@@ -1662,7 +1662,7 @@ const Pt = (t, n) => {
|
|
|
1662
1662
|
}), o = a;
|
|
1663
1663
|
}
|
|
1664
1664
|
return c;
|
|
1665
|
-
},
|
|
1665
|
+
}, jt = ({
|
|
1666
1666
|
items: t,
|
|
1667
1667
|
title: n = "Virtuales",
|
|
1668
1668
|
iconUrl: i = "/assets/img/home/Virtuales/virtuales.svg",
|
|
@@ -1671,7 +1671,7 @@ const Pt = (t, n) => {
|
|
|
1671
1671
|
mosaicFirst: o = !0,
|
|
1672
1672
|
gridSize: a = 4
|
|
1673
1673
|
}) => {
|
|
1674
|
-
const h = W(null), [m, v] = U({ isStart: !0, isEnd: !1 }), _ =
|
|
1674
|
+
const h = W(null), [m, v] = U({ isStart: !0, isEnd: !1 }), _ = At(t, o, a), E = () => {
|
|
1675
1675
|
var d;
|
|
1676
1676
|
(d = h.current) == null || d.prev();
|
|
1677
1677
|
}, s = () => {
|
|
@@ -1715,7 +1715,7 @@ const Pt = (t, n) => {
|
|
|
1715
1715
|
ariaLabel: "Anterior",
|
|
1716
1716
|
variant: "secondary",
|
|
1717
1717
|
iconOnly: !0,
|
|
1718
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1718
|
+
leftIcon: /* @__PURE__ */ e(ve, {}),
|
|
1719
1719
|
onClick: E,
|
|
1720
1720
|
disabled: m.isStart
|
|
1721
1721
|
}
|
|
@@ -1726,7 +1726,7 @@ const Pt = (t, n) => {
|
|
|
1726
1726
|
ariaLabel: "Siguiente",
|
|
1727
1727
|
variant: "secondary",
|
|
1728
1728
|
iconOnly: !0,
|
|
1729
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1729
|
+
rightIcon: /* @__PURE__ */ e(ye, {}),
|
|
1730
1730
|
onClick: s,
|
|
1731
1731
|
disabled: m.isEnd
|
|
1732
1732
|
}
|
|
@@ -1756,15 +1756,15 @@ const Pt = (t, n) => {
|
|
|
1756
1756
|
perMove: 1
|
|
1757
1757
|
},
|
|
1758
1758
|
renderItem: (d) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
|
|
1759
|
-
|
|
1759
|
+
Ee,
|
|
1760
1760
|
{
|
|
1761
1761
|
items: d.items,
|
|
1762
1762
|
layout: d.kind === "mosaic" ? "mosaic" : "grid",
|
|
1763
1763
|
onClick: (y) => {
|
|
1764
1764
|
const S = t.find(
|
|
1765
|
-
(w, I) =>
|
|
1765
|
+
(w, I) => Ie(w, I) === y.id
|
|
1766
1766
|
);
|
|
1767
|
-
S && (r ? r(S) :
|
|
1767
|
+
S && (r ? r(S) : Wt(S));
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
1770
|
) }),
|
|
@@ -1772,7 +1772,7 @@ const Pt = (t, n) => {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
)
|
|
1774
1774
|
] }) });
|
|
1775
|
-
},
|
|
1775
|
+
}, Gt = (t) => ({
|
|
1776
1776
|
// width: "100vw",
|
|
1777
1777
|
position: "relative",
|
|
1778
1778
|
// left: "50%",
|
|
@@ -1791,15 +1791,15 @@ const Pt = (t, n) => {
|
|
|
1791
1791
|
backgroundRepeat: "no-repeat",
|
|
1792
1792
|
backgroundPosition: "center",
|
|
1793
1793
|
backgroundSize: "cover"
|
|
1794
|
-
}),
|
|
1794
|
+
}), pe = {
|
|
1795
1795
|
textAlign: "center",
|
|
1796
1796
|
lineHeight: 1.1,
|
|
1797
1797
|
mb: 1.5
|
|
1798
|
-
},
|
|
1798
|
+
}, he = {
|
|
1799
1799
|
display: "inline-block",
|
|
1800
1800
|
fontWeight: 600,
|
|
1801
1801
|
fontSize: 24
|
|
1802
|
-
},
|
|
1802
|
+
}, ge = {
|
|
1803
1803
|
display: "inline-block",
|
|
1804
1804
|
fontSize: 24,
|
|
1805
1805
|
lineHeight: 1.1,
|
|
@@ -1809,13 +1809,13 @@ const Pt = (t, n) => {
|
|
|
1809
1809
|
0 0 6px rgba(255, 255, 255, .6),
|
|
1810
1810
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
1811
1811
|
`
|
|
1812
|
-
},
|
|
1812
|
+
}, Dt = ({
|
|
1813
1813
|
headline: t,
|
|
1814
1814
|
headline2: n,
|
|
1815
1815
|
items: i,
|
|
1816
1816
|
backgroundImageUrl: r
|
|
1817
1817
|
}) => {
|
|
1818
|
-
const c = t, o = n, a =
|
|
1818
|
+
const c = t, o = n, a = Fe("(max-width: 767px)"), h = i.length > 1, m = r != null ? r : "", v = Gt(m), _ = W(null), [E, s] = U({ isStart: !0, isEnd: !1 }), [u, d] = U(0), y = (S) => /* @__PURE__ */ p(
|
|
1819
1819
|
$,
|
|
1820
1820
|
{
|
|
1821
1821
|
sx: {
|
|
@@ -1845,7 +1845,7 @@ const Pt = (t, n) => {
|
|
|
1845
1845
|
},
|
|
1846
1846
|
options: { autoWidth: !1 },
|
|
1847
1847
|
renderItem: (w) => /* @__PURE__ */ e(
|
|
1848
|
-
|
|
1848
|
+
dt,
|
|
1849
1849
|
{
|
|
1850
1850
|
...w,
|
|
1851
1851
|
onButtonClick: w.onButtonClick,
|
|
@@ -1866,7 +1866,7 @@ const Pt = (t, n) => {
|
|
|
1866
1866
|
justifyContent: "center"
|
|
1867
1867
|
},
|
|
1868
1868
|
children: /* @__PURE__ */ e(
|
|
1869
|
-
|
|
1869
|
+
we,
|
|
1870
1870
|
{
|
|
1871
1871
|
total: i.length,
|
|
1872
1872
|
active: u,
|
|
@@ -1890,11 +1890,11 @@ const Pt = (t, n) => {
|
|
|
1890
1890
|
textAlign: "center"
|
|
1891
1891
|
},
|
|
1892
1892
|
children: [
|
|
1893
|
-
(c || o) && /* @__PURE__ */ p($, { sx:
|
|
1894
|
-
c && /* @__PURE__ */ e(j, { component: "span", sx:
|
|
1893
|
+
(c || o) && /* @__PURE__ */ p($, { sx: pe, children: [
|
|
1894
|
+
c && /* @__PURE__ */ e(j, { component: "span", sx: he, children: c }),
|
|
1895
1895
|
o && /* @__PURE__ */ p(q, { children: [
|
|
1896
1896
|
/* @__PURE__ */ e("br", {}),
|
|
1897
|
-
/* @__PURE__ */ e(j, { component: "span", sx:
|
|
1897
|
+
/* @__PURE__ */ e(j, { component: "span", sx: ge, children: o })
|
|
1898
1898
|
] })
|
|
1899
1899
|
] }),
|
|
1900
1900
|
y(!1)
|
|
@@ -1906,7 +1906,7 @@ const Pt = (t, n) => {
|
|
|
1906
1906
|
sx: {
|
|
1907
1907
|
maxWidth: 1200,
|
|
1908
1908
|
mx: "auto",
|
|
1909
|
-
px:
|
|
1909
|
+
px: 15,
|
|
1910
1910
|
display: "grid",
|
|
1911
1911
|
gridTemplateColumns: "260px minmax(0, 1fr)",
|
|
1912
1912
|
alignItems: "center",
|
|
@@ -1926,15 +1926,15 @@ const Pt = (t, n) => {
|
|
|
1926
1926
|
$,
|
|
1927
1927
|
{
|
|
1928
1928
|
sx: {
|
|
1929
|
-
...
|
|
1929
|
+
...pe,
|
|
1930
1930
|
textAlign: "left",
|
|
1931
1931
|
mb: 0
|
|
1932
1932
|
},
|
|
1933
1933
|
children: [
|
|
1934
|
-
c && /* @__PURE__ */ e(j, { component: "span", sx:
|
|
1934
|
+
c && /* @__PURE__ */ e(j, { component: "span", sx: he, children: c }),
|
|
1935
1935
|
o && /* @__PURE__ */ p(q, { children: [
|
|
1936
1936
|
/* @__PURE__ */ e("br", {}),
|
|
1937
|
-
/* @__PURE__ */ e(j, { component: "span", sx:
|
|
1937
|
+
/* @__PURE__ */ e(j, { component: "span", sx: ge, children: o })
|
|
1938
1938
|
] })
|
|
1939
1939
|
]
|
|
1940
1940
|
}
|
|
@@ -1955,7 +1955,7 @@ const Pt = (t, n) => {
|
|
|
1955
1955
|
]
|
|
1956
1956
|
}
|
|
1957
1957
|
) });
|
|
1958
|
-
},
|
|
1958
|
+
}, Ht = ({
|
|
1959
1959
|
className: t = "",
|
|
1960
1960
|
fullBleed: n = !0,
|
|
1961
1961
|
items: i,
|
|
@@ -1967,7 +1967,7 @@ const Pt = (t, n) => {
|
|
|
1967
1967
|
const h = () => {
|
|
1968
1968
|
window.location.href = "https://www.olimpo.bet/conoce-club-olimpo";
|
|
1969
1969
|
}, m = Array.isArray(i) ? i[r] : i;
|
|
1970
|
-
|
|
1970
|
+
Te(() => {
|
|
1971
1971
|
if (!o.current || !a.current || typeof ResizeObserver == "undefined") return;
|
|
1972
1972
|
const _ = o.current, E = a.current, s = () => {
|
|
1973
1973
|
_.style.setProperty(
|
|
@@ -1989,7 +1989,7 @@ const Pt = (t, n) => {
|
|
|
1989
1989
|
className: v,
|
|
1990
1990
|
"aria-label": c || m.imgAlt || "Club Olimpo",
|
|
1991
1991
|
children: /* @__PURE__ */ e("div", { ref: a, children: /* @__PURE__ */ e(
|
|
1992
|
-
|
|
1992
|
+
ut,
|
|
1993
1993
|
{
|
|
1994
1994
|
text: m.text,
|
|
1995
1995
|
onClick: h,
|
|
@@ -2001,10 +2001,10 @@ const Pt = (t, n) => {
|
|
|
2001
2001
|
) })
|
|
2002
2002
|
}
|
|
2003
2003
|
);
|
|
2004
|
-
},
|
|
2005
|
-
controls:
|
|
2004
|
+
}, Vt = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Kt = {
|
|
2005
|
+
controls: Vt
|
|
2006
2006
|
};
|
|
2007
|
-
function
|
|
2007
|
+
function Xt({
|
|
2008
2008
|
items: t,
|
|
2009
2009
|
title: n = "Combinadas del Olimpo",
|
|
2010
2010
|
iconUrl: i = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
|
|
@@ -2048,13 +2048,13 @@ function Kt({
|
|
|
2048
2048
|
if (R.length > 0) {
|
|
2049
2049
|
const F = Array.from(
|
|
2050
2050
|
(z = (B = f == null ? void 0 : f[0]) == null ? void 0 : B.requiredOutcomeIds) != null ? z : []
|
|
2051
|
-
),
|
|
2052
|
-
...
|
|
2053
|
-
position: F.indexOf(
|
|
2051
|
+
), le = R.map((J) => ({
|
|
2052
|
+
...J,
|
|
2053
|
+
position: F.indexOf(J.id)
|
|
2054
2054
|
}));
|
|
2055
2055
|
x[N.eventId].push({
|
|
2056
2056
|
...N,
|
|
2057
|
-
outcomes:
|
|
2057
|
+
outcomes: le
|
|
2058
2058
|
});
|
|
2059
2059
|
}
|
|
2060
2060
|
return x;
|
|
@@ -2106,14 +2106,14 @@ function Kt({
|
|
|
2106
2106
|
}), l.type === "SIMPLE" && l.outcome && k.add(l.outcome.id);
|
|
2107
2107
|
return k;
|
|
2108
2108
|
}
|
|
2109
|
-
|
|
2109
|
+
X(() => {
|
|
2110
2110
|
d();
|
|
2111
2111
|
}, []);
|
|
2112
2112
|
const I = c || void 0;
|
|
2113
2113
|
return !m || m.length === 0 ? null : /* @__PURE__ */ e("section", { className: I, style: { width: "100%" }, children: /* @__PURE__ */ p(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2114
2114
|
/* @__PURE__ */ p(G, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
2115
2115
|
/* @__PURE__ */ e(H, { title: n, iconUrl: i, size: "md" }),
|
|
2116
|
-
/* @__PURE__ */ p("div", { className:
|
|
2116
|
+
/* @__PURE__ */ p("div", { className: Kt.controls, children: [
|
|
2117
2117
|
/* @__PURE__ */ p(G, { spacing: 1, columns: "auto auto", children: [
|
|
2118
2118
|
/* @__PURE__ */ e(
|
|
2119
2119
|
P,
|
|
@@ -2121,7 +2121,7 @@ function Kt({
|
|
|
2121
2121
|
ariaLabel: "Anterior",
|
|
2122
2122
|
variant: "secondary",
|
|
2123
2123
|
iconOnly: !0,
|
|
2124
|
-
leftIcon: /* @__PURE__ */ e(
|
|
2124
|
+
leftIcon: /* @__PURE__ */ e(ie, {}),
|
|
2125
2125
|
onClick: E,
|
|
2126
2126
|
disabled: a.isStart
|
|
2127
2127
|
}
|
|
@@ -2132,7 +2132,7 @@ function Kt({
|
|
|
2132
2132
|
ariaLabel: "Siguiente",
|
|
2133
2133
|
variant: "secondary",
|
|
2134
2134
|
iconOnly: !0,
|
|
2135
|
-
rightIcon: /* @__PURE__ */ e(
|
|
2135
|
+
rightIcon: /* @__PURE__ */ e(se, {}),
|
|
2136
2136
|
onClick: s,
|
|
2137
2137
|
disabled: a.isEnd
|
|
2138
2138
|
}
|
|
@@ -2153,7 +2153,7 @@ function Kt({
|
|
|
2153
2153
|
breakpoints: {
|
|
2154
2154
|
768: { perPage: 1.2, gap: "12px", padding: { left: "0px", right: "0px" } }
|
|
2155
2155
|
},
|
|
2156
|
-
renderItem: (C) => /* @__PURE__ */ e(
|
|
2156
|
+
renderItem: (C) => /* @__PURE__ */ e(vt, { event: C }),
|
|
2157
2157
|
onMove: ({ isStart: C, isEnd: k }) => h({ isStart: C, isEnd: k })
|
|
2158
2158
|
}
|
|
2159
2159
|
)
|
|
@@ -2184,7 +2184,7 @@ function Jt({
|
|
|
2184
2184
|
console.error(w);
|
|
2185
2185
|
}
|
|
2186
2186
|
}
|
|
2187
|
-
return
|
|
2187
|
+
return X(() => {
|
|
2188
2188
|
d();
|
|
2189
2189
|
const w = setInterval(() => {
|
|
2190
2190
|
d();
|
|
@@ -2201,7 +2201,7 @@ function Jt({
|
|
|
2201
2201
|
ariaLabel: "Anterior",
|
|
2202
2202
|
variant: "secondary",
|
|
2203
2203
|
iconOnly: !0,
|
|
2204
|
-
leftIcon: /* @__PURE__ */ e(
|
|
2204
|
+
leftIcon: /* @__PURE__ */ e(ie, {}),
|
|
2205
2205
|
onClick: E,
|
|
2206
2206
|
disabled: h.isStart
|
|
2207
2207
|
}
|
|
@@ -2212,7 +2212,7 @@ function Jt({
|
|
|
2212
2212
|
ariaLabel: "Siguiente",
|
|
2213
2213
|
variant: "secondary",
|
|
2214
2214
|
iconOnly: !0,
|
|
2215
|
-
rightIcon: /* @__PURE__ */ e(
|
|
2215
|
+
rightIcon: /* @__PURE__ */ e(se, {}),
|
|
2216
2216
|
onClick: s,
|
|
2217
2217
|
disabled: h.isEnd
|
|
2218
2218
|
}
|
|
@@ -2233,18 +2233,18 @@ function Jt({
|
|
|
2233
2233
|
768: { gap: "8px", focus: "center" },
|
|
2234
2234
|
1024: { gap: "10px", focus: "center" }
|
|
2235
2235
|
},
|
|
2236
|
-
renderItem: (w) => /* @__PURE__ */ e(
|
|
2236
|
+
renderItem: (w) => /* @__PURE__ */ e(wt, { ...w }),
|
|
2237
2237
|
onMove: ({ isStart: w, isEnd: I }) => m({ isStart: w, isEnd: I })
|
|
2238
2238
|
}
|
|
2239
2239
|
)
|
|
2240
2240
|
] }) });
|
|
2241
2241
|
}
|
|
2242
|
-
const
|
|
2243
|
-
wrapper:
|
|
2244
|
-
container:
|
|
2245
|
-
buttonWrapper:
|
|
2242
|
+
const qt = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Yt = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Qt = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", ne = {
|
|
2243
|
+
wrapper: qt,
|
|
2244
|
+
container: Yt,
|
|
2245
|
+
buttonWrapper: Qt
|
|
2246
2246
|
};
|
|
2247
|
-
function
|
|
2247
|
+
function Zt({
|
|
2248
2248
|
items: t,
|
|
2249
2249
|
title: n = "En vivo",
|
|
2250
2250
|
iconUrl: i,
|
|
@@ -2319,12 +2319,12 @@ function Qt({
|
|
|
2319
2319
|
outcome: T[O.id]
|
|
2320
2320
|
}));
|
|
2321
2321
|
}
|
|
2322
|
-
return
|
|
2322
|
+
return X(() => {
|
|
2323
2323
|
t && t.events.length > 0 && d();
|
|
2324
|
-
}, [t]), /* @__PURE__ */ e("section", { className: c || void 0, style: { width: "100%" }, children: /* @__PURE__ */ p("div", { className:
|
|
2325
|
-
/* @__PURE__ */ e("div", { className:
|
|
2324
|
+
}, [t]), /* @__PURE__ */ e("section", { className: c || void 0, style: { width: "100%" }, children: /* @__PURE__ */ p("div", { className: ne.wrapper, children: [
|
|
2325
|
+
/* @__PURE__ */ e("div", { className: ne.container, children: /* @__PURE__ */ p(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2326
2326
|
/* @__PURE__ */ e(H, { title: "Eventos de la semana" }),
|
|
2327
|
-
/* @__PURE__ */ e("div", { className:
|
|
2327
|
+
/* @__PURE__ */ e("div", { className: ne.buttonWrapper, children: /* @__PURE__ */ e(P, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
|
|
2328
2328
|
u();
|
|
2329
2329
|
}, children: "Ver más" }) })
|
|
2330
2330
|
] }) }),
|
|
@@ -2339,13 +2339,13 @@ function Qt({
|
|
|
2339
2339
|
breakpoints: {
|
|
2340
2340
|
1024: { perPage: 1.4, gap: "8px", focus: "center", padding: { left: "8px", right: "8px" } }
|
|
2341
2341
|
},
|
|
2342
|
-
renderItem: (I) => /* @__PURE__ */ e(
|
|
2342
|
+
renderItem: (I) => /* @__PURE__ */ e(kt, { event: I }),
|
|
2343
2343
|
onMove: ({ isStart: I, isEnd: C }) => m({ isStart: I, isEnd: C })
|
|
2344
2344
|
}
|
|
2345
2345
|
) })
|
|
2346
2346
|
] }) });
|
|
2347
2347
|
}
|
|
2348
|
-
const
|
|
2348
|
+
const eo = [
|
|
2349
2349
|
{
|
|
2350
2350
|
desktopSrc: "https://stg-www.contodobet.com/static/img/landing/Banner/FondoDesktop.png",
|
|
2351
2351
|
mobileSrc: "https://stg-www.contodobet.com/static/img/landing/Banner/FondoMisiones.png",
|
|
@@ -2356,12 +2356,12 @@ const Zt = [
|
|
|
2356
2356
|
mobileSrc: "https://stg-www.contodobet.com/static/img/landing/Banner/FondoMisiones.png",
|
|
2357
2357
|
fallbackSrc: "https://stg-www.contodobet.com/static/img/landing/Banner/FondoMisiones.jpg"
|
|
2358
2358
|
}
|
|
2359
|
-
],
|
|
2359
|
+
], re = (t) => `${window.location.origin}${t}`, to = [
|
|
2360
2360
|
{
|
|
2361
2361
|
id: 1,
|
|
2362
2362
|
label: "APUESTAS",
|
|
2363
2363
|
icon: "https://stg-www.contodobet.com/static/img/landing/Banner/icon1.svg",
|
|
2364
|
-
onclick: () =>
|
|
2364
|
+
onclick: () => re("https://www.olimpo.bet/#home")
|
|
2365
2365
|
},
|
|
2366
2366
|
{
|
|
2367
2367
|
id: 2,
|
|
@@ -2373,18 +2373,18 @@ const Zt = [
|
|
|
2373
2373
|
id: 3,
|
|
2374
2374
|
label: "TOP JUEGOS",
|
|
2375
2375
|
icon: "https://stg-www.contodobet.com/static/img/landing/Banner/icon3.svg",
|
|
2376
|
-
onclick: () =>
|
|
2376
|
+
onclick: () => re("https://www.olimpo.bet/casino")
|
|
2377
2377
|
},
|
|
2378
2378
|
{
|
|
2379
2379
|
id: 4,
|
|
2380
2380
|
label: "MISIONES",
|
|
2381
2381
|
icon: "https://stg-www.contodobet.com/static/img/landing/Banner/icon4.svg",
|
|
2382
|
-
onclick: () =>
|
|
2382
|
+
onclick: () => re("https://www.olimpo.bet/misiones")
|
|
2383
2383
|
}
|
|
2384
2384
|
];
|
|
2385
|
-
function
|
|
2386
|
-
backgrounds: t =
|
|
2387
|
-
items: n =
|
|
2385
|
+
function oo({
|
|
2386
|
+
backgrounds: t = eo,
|
|
2387
|
+
items: n = to
|
|
2388
2388
|
}) {
|
|
2389
2389
|
const [i, r] = U(0), c = (t == null ? void 0 : t.length) || 1;
|
|
2390
2390
|
return /* @__PURE__ */ p(
|
|
@@ -2513,7 +2513,7 @@ function to({
|
|
|
2513
2513
|
justifyContent: "center",
|
|
2514
2514
|
zIndex: 2
|
|
2515
2515
|
},
|
|
2516
|
-
children: /* @__PURE__ */ e(
|
|
2516
|
+
children: /* @__PURE__ */ e(we, { total: c, active: i })
|
|
2517
2517
|
}
|
|
2518
2518
|
)
|
|
2519
2519
|
]
|
|
@@ -2574,7 +2574,7 @@ function to({
|
|
|
2574
2574
|
}
|
|
2575
2575
|
),
|
|
2576
2576
|
/* @__PURE__ */ e(
|
|
2577
|
-
|
|
2577
|
+
_e,
|
|
2578
2578
|
{
|
|
2579
2579
|
sx: {
|
|
2580
2580
|
fontSize: { xs: 10, sm: 11, md: 12 },
|
|
@@ -2596,7 +2596,7 @@ function to({
|
|
|
2596
2596
|
}
|
|
2597
2597
|
);
|
|
2598
2598
|
}
|
|
2599
|
-
const
|
|
2599
|
+
const no = [
|
|
2600
2600
|
[
|
|
2601
2601
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/IBK.svg", alt: "Interbank" },
|
|
2602
2602
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/Yape.svg", alt: "Yape" }
|
|
@@ -2607,14 +2607,14 @@ const oo = [
|
|
|
2607
2607
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
|
|
2608
2608
|
]
|
|
2609
2609
|
];
|
|
2610
|
-
function
|
|
2610
|
+
function ro({
|
|
2611
2611
|
title: t = "Medios de pago",
|
|
2612
|
-
rows: n =
|
|
2612
|
+
rows: n = no
|
|
2613
2613
|
}) {
|
|
2614
2614
|
const i = n.flat();
|
|
2615
2615
|
return /* @__PURE__ */ p(L, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
2616
2616
|
/* @__PURE__ */ e(
|
|
2617
|
-
|
|
2617
|
+
_e,
|
|
2618
2618
|
{
|
|
2619
2619
|
id: "mp-title",
|
|
2620
2620
|
variant: "h6",
|
|
@@ -2642,14 +2642,14 @@ function no({
|
|
|
2642
2642
|
}
|
|
2643
2643
|
),
|
|
2644
2644
|
/* @__PURE__ */ e(L, { sx: { display: { xs: "block", md: "none" } }, children: n.map((r, c) => /* @__PURE__ */ e(
|
|
2645
|
-
|
|
2645
|
+
be,
|
|
2646
2646
|
{
|
|
2647
2647
|
direction: "row",
|
|
2648
2648
|
justifyContent: "center",
|
|
2649
2649
|
alignItems: "center",
|
|
2650
2650
|
gap: 2.5,
|
|
2651
2651
|
flexWrap: "wrap",
|
|
2652
|
-
children: r.map((o) => /* @__PURE__ */ e(
|
|
2652
|
+
children: r.map((o) => /* @__PURE__ */ e(me, { ...o }, `${o.src}-${o.alt}`))
|
|
2653
2653
|
},
|
|
2654
2654
|
c
|
|
2655
2655
|
)) }),
|
|
@@ -2665,35 +2665,35 @@ function no({
|
|
|
2665
2665
|
gridTemplateColumns: { md: "repeat(auto-fit, 160px)" },
|
|
2666
2666
|
justifyContent: { md: "center" }
|
|
2667
2667
|
},
|
|
2668
|
-
children: i.map((r) => /* @__PURE__ */ e(
|
|
2668
|
+
children: i.map((r) => /* @__PURE__ */ e(me, { ...r }, `${r.src}-${r.alt}`))
|
|
2669
2669
|
}
|
|
2670
2670
|
)
|
|
2671
2671
|
] });
|
|
2672
2672
|
}
|
|
2673
|
-
const
|
|
2674
|
-
OraculoSeccionDestacados:
|
|
2675
|
-
OraculoSeccionTopJuegos:
|
|
2676
|
-
OraculoSeccionCasinoEnVivo:
|
|
2677
|
-
OraculoSeccionCasino:
|
|
2678
|
-
OraculoSeccionVirtuales:
|
|
2679
|
-
OraculoSeccionClubOlimpo:
|
|
2680
|
-
OraculoSeccionBonoBienvenida:
|
|
2681
|
-
OraculoSeccionBanners:
|
|
2682
|
-
OraculoSeccionMediosPago:
|
|
2673
|
+
const ao = {
|
|
2674
|
+
OraculoSeccionDestacados: Rt,
|
|
2675
|
+
OraculoSeccionTopJuegos: Pt,
|
|
2676
|
+
OraculoSeccionCasinoEnVivo: Ut,
|
|
2677
|
+
OraculoSeccionCasino: zt,
|
|
2678
|
+
OraculoSeccionVirtuales: jt,
|
|
2679
|
+
OraculoSeccionClubOlimpo: Ht,
|
|
2680
|
+
OraculoSeccionBonoBienvenida: Dt,
|
|
2681
|
+
OraculoSeccionBanners: oo,
|
|
2682
|
+
OraculoSeccionMediosPago: ro,
|
|
2683
2683
|
OraculoSeccionEventoEnVivo: Jt,
|
|
2684
|
-
OraculoSeccionEventoSemana:
|
|
2685
|
-
OraculoSeccionEventoCombinadas:
|
|
2686
|
-
},
|
|
2687
|
-
Object.entries(
|
|
2688
|
-
([t, n]) =>
|
|
2684
|
+
OraculoSeccionEventoSemana: Zt,
|
|
2685
|
+
OraculoSeccionEventoCombinadas: Xt
|
|
2686
|
+
}, io = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, so = (t) => /^OraculoSeccion[A-Z]/.test(t), co = Object.fromEntries(
|
|
2687
|
+
Object.entries(ao).filter(
|
|
2688
|
+
([t, n]) => so(t) && io(n)
|
|
2689
2689
|
)
|
|
2690
2690
|
);
|
|
2691
|
-
class
|
|
2691
|
+
class fe extends Error {
|
|
2692
2692
|
constructor(n, i, r) {
|
|
2693
2693
|
super(`HTTP ${n} ${r}`), this.status = n, this.url = i, this.statusText = r, this.name = "HttpError";
|
|
2694
2694
|
}
|
|
2695
2695
|
}
|
|
2696
|
-
const
|
|
2696
|
+
const So = ({
|
|
2697
2697
|
sectionsOverride: t,
|
|
2698
2698
|
docId: n = "home",
|
|
2699
2699
|
db: i
|
|
@@ -2701,11 +2701,11 @@ const yo = ({
|
|
|
2701
2701
|
const [r, c] = U(
|
|
2702
2702
|
[]
|
|
2703
2703
|
), [o, a] = U(!1), [h, m] = U({}), [v, _] = U({}), [E, s] = U({});
|
|
2704
|
-
|
|
2704
|
+
X(() => {
|
|
2705
2705
|
if (t || !i) return;
|
|
2706
2706
|
a(!0);
|
|
2707
|
-
const l =
|
|
2708
|
-
|
|
2707
|
+
const l = Ue(
|
|
2708
|
+
Le(i, "landings", n),
|
|
2709
2709
|
(g) => {
|
|
2710
2710
|
var f;
|
|
2711
2711
|
try {
|
|
@@ -2725,7 +2725,7 @@ const yo = ({
|
|
|
2725
2725
|
}
|
|
2726
2726
|
);
|
|
2727
2727
|
return () => l();
|
|
2728
|
-
}, [t, n, i]),
|
|
2728
|
+
}, [t, n, i]), X(() => {
|
|
2729
2729
|
(t ? t.slice() : r.slice()).map((f) => f.componentKey).filter((f) => !!f).length;
|
|
2730
2730
|
}, [t, r]);
|
|
2731
2731
|
const u = async (l) => {
|
|
@@ -2754,13 +2754,13 @@ const yo = ({
|
|
|
2754
2754
|
headers: R,
|
|
2755
2755
|
body: N
|
|
2756
2756
|
});
|
|
2757
|
-
if (!B.ok) throw new
|
|
2757
|
+
if (!B.ok) throw new fe(B.status, x, B.statusText);
|
|
2758
2758
|
return B.json();
|
|
2759
|
-
}, d =
|
|
2759
|
+
}, d = ae(
|
|
2760
2760
|
() => t ? t.slice() : r.slice(),
|
|
2761
2761
|
[t, r]
|
|
2762
|
-
), y =
|
|
2763
|
-
|
|
2762
|
+
), y = Oe.useRef(/* @__PURE__ */ new Set());
|
|
2763
|
+
X(() => {
|
|
2764
2764
|
const l = d.map((g) => ({ s: g, url: (g.apiUrl || "").trim() })).filter(({ url: g }) => !!g);
|
|
2765
2765
|
if (l.length)
|
|
2766
2766
|
for (const { s: g, url: f } of l) {
|
|
@@ -2771,14 +2771,14 @@ const yo = ({
|
|
|
2771
2771
|
m((N) => ({ ...N, [g.id]: x }));
|
|
2772
2772
|
} catch (x) {
|
|
2773
2773
|
let N = "Error desconocido";
|
|
2774
|
-
x instanceof
|
|
2774
|
+
x instanceof fe ? N = `Error HTTP ${x.status} (${x.statusText}) en ${x.url}` : x instanceof SyntaxError ? N = "Respuesta no es JSON válido" : x instanceof TypeError ? N = "Fallo de red / CORS / conexión" : typeof x == "string" && (N = x.toString()), s((R) => ({ ...R, [g.id]: N }));
|
|
2775
2775
|
} finally {
|
|
2776
2776
|
_((x) => ({ ...x, [g.id]: !1 }));
|
|
2777
2777
|
}
|
|
2778
2778
|
})());
|
|
2779
2779
|
}
|
|
2780
2780
|
}, [d]);
|
|
2781
|
-
const S =
|
|
2781
|
+
const S = ae(
|
|
2782
2782
|
() => d.filter((l) => l.visible).sort((l, g) => l.order - g.order),
|
|
2783
2783
|
[d]
|
|
2784
2784
|
), w = (l) => Array.isArray(l) ? l.map((g) => {
|
|
@@ -2868,15 +2868,15 @@ const yo = ({
|
|
|
2868
2868
|
error: "bg-red-100 text-red-800",
|
|
2869
2869
|
component: "bg-yellow-100 text-yellow-800"
|
|
2870
2870
|
}[g]}`, children: f }, l), O = (l) => {
|
|
2871
|
-
var
|
|
2872
|
-
const g = l.componentKey, f =
|
|
2871
|
+
var de;
|
|
2872
|
+
const g = l.componentKey, f = co[g];
|
|
2873
2873
|
if (!f)
|
|
2874
2874
|
return console.warn(`No hay componente registrado para "${g}"`), T(
|
|
2875
2875
|
l.id,
|
|
2876
2876
|
"component",
|
|
2877
2877
|
`Componente "${g}" no encontrado`
|
|
2878
2878
|
);
|
|
2879
|
-
const b = !!((
|
|
2879
|
+
const b = !!((de = l.apiUrl) != null && de.trim()), x = b ? h[l.id] : void 0, N = b ? !!v[l.id] : !1, R = b ? E[l.id] : "";
|
|
2880
2880
|
if (b) {
|
|
2881
2881
|
if (N && !x)
|
|
2882
2882
|
return T(
|
|
@@ -2891,22 +2891,22 @@ const yo = ({
|
|
|
2891
2891
|
`Error cargando ${l.apiUrl}: ${R}`
|
|
2892
2892
|
);
|
|
2893
2893
|
}
|
|
2894
|
-
const B = k(l),
|
|
2894
|
+
const B = k(l), F = (/* @__PURE__ */ new Set([
|
|
2895
2895
|
"OraculoSeccionBanners",
|
|
2896
2896
|
"OraculoSeccionBonoBienvenida"
|
|
2897
|
-
])).has(l.componentKey) ?
|
|
2897
|
+
])).has(l.componentKey), J = typeof window == "undefined" ? 24 : window.innerWidth >= 1024 ? 120 : 24;
|
|
2898
|
+
return /* @__PURE__ */ e("div", { style: F ? {
|
|
2898
2899
|
width: "100%",
|
|
2899
2900
|
boxSizing: "border-box"
|
|
2900
2901
|
} : {
|
|
2901
|
-
paddingLeft:
|
|
2902
|
-
paddingRight:
|
|
2902
|
+
paddingLeft: J,
|
|
2903
|
+
paddingRight: J,
|
|
2903
2904
|
width: "100%",
|
|
2904
2905
|
boxSizing: "border-box"
|
|
2905
|
-
};
|
|
2906
|
-
return /* @__PURE__ */ e("div", { style: te, children: /* @__PURE__ */ e(f, { ...B }) }, l.id);
|
|
2906
|
+
}, children: /* @__PURE__ */ e(f, { ...B }) }, l.id);
|
|
2907
2907
|
};
|
|
2908
2908
|
return o && !t ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-400", children: "Cargando preview..." }) : !o && !t && r.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
|
|
2909
|
-
|
|
2909
|
+
Ne,
|
|
2910
2910
|
{
|
|
2911
2911
|
className: "oli-font",
|
|
2912
2912
|
maxWidth: !1,
|
|
@@ -2920,47 +2920,47 @@ const yo = ({
|
|
|
2920
2920
|
maxWidth: "100%",
|
|
2921
2921
|
overflowX: "hidden"
|
|
2922
2922
|
},
|
|
2923
|
-
children: /* @__PURE__ */ e(
|
|
2923
|
+
children: /* @__PURE__ */ e(be, { direction: "column", spacing: 8, useFlexGap: !0, children: S.map(O) })
|
|
2924
2924
|
}
|
|
2925
2925
|
);
|
|
2926
2926
|
};
|
|
2927
2927
|
export {
|
|
2928
2928
|
P as OraculoButton,
|
|
2929
2929
|
V as OraculoCarousel,
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2930
|
+
we as OraculoCarouselDots,
|
|
2931
|
+
ut as OraculoClubOlimpoVisual,
|
|
2932
|
+
vt as OraculoEventCombinadasCard,
|
|
2933
|
+
wt as OraculoEventEnVivoCard,
|
|
2934
|
+
De as OraculoEventHeader,
|
|
2935
|
+
Se as OraculoEventLabel,
|
|
2936
2936
|
Je as OraculoEventLeague,
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2937
|
+
Ce as OraculoEventScore,
|
|
2938
|
+
kt as OraculoEventSemanaCard,
|
|
2939
|
+
Ge as OraculoEventStatus,
|
|
2940
|
+
je as OraculoEventStatusBadge,
|
|
2941
2941
|
ee as OraculoEventTeamInfo,
|
|
2942
2942
|
Z as OraculoGameCard,
|
|
2943
|
-
|
|
2944
|
-
|
|
2943
|
+
ct as OraculoGameRankCard,
|
|
2944
|
+
Ee as OraculoGameSlide,
|
|
2945
2945
|
G as OraculoGridGroup,
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2946
|
+
lt as OraculoLiveCasinoCard,
|
|
2947
|
+
me as OraculoLogoMediosPago,
|
|
2948
|
+
So as OraculoPageLandingPreview,
|
|
2949
|
+
oo as OraculoSeccionBanners,
|
|
2950
|
+
Dt as OraculoSeccionBonoBienvenida,
|
|
2951
|
+
zt as OraculoSeccionCasino,
|
|
2952
|
+
Ut as OraculoSeccionCasinoEnVivo,
|
|
2953
|
+
Ht as OraculoSeccionClubOlimpo,
|
|
2954
|
+
Rt as OraculoSeccionDestacados,
|
|
2955
|
+
Xt as OraculoSeccionEventoCombinadas,
|
|
2956
2956
|
Jt as OraculoSeccionEventoEnVivo,
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2957
|
+
Zt as OraculoSeccionEventoSemana,
|
|
2958
|
+
ro as OraculoSeccionMediosPago,
|
|
2959
|
+
Pt as OraculoSeccionTopJuegos,
|
|
2960
|
+
jt as OraculoSeccionVirtuales,
|
|
2961
2961
|
H as OraculoSectionTitle,
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2962
|
+
Pt as OraculoTopJuegoItem,
|
|
2963
|
+
dt as OraculoWelcomeBanner,
|
|
2964
|
+
So as default
|
|
2965
2965
|
};
|
|
2966
2966
|
//# sourceMappingURL=index.es.js.map
|