oraculo-ui 0.1.135 → 0.1.136
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 +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +324 -328
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t, jsxs as b, Fragment as pe } from "react/jsx-runtime";
|
|
2
|
-
import { Link as rt, Box as Q, useMediaQuery as
|
|
2
|
+
import { Link as rt, Box as Q, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Oe, Container as Et } from "@mui/material";
|
|
3
3
|
import fe, { useState as Z, useEffect as ee, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ee, createContext as $t, useContext as Nt, useMemo as ie, useLayoutEffect as Mt } from "react";
|
|
4
4
|
import j from "@mui/material/Skeleton";
|
|
5
|
-
import { Splide as
|
|
5
|
+
import { Splide as At, SplideSlide as Bt } from "@splidejs/react-splide";
|
|
6
6
|
import F from "@mui/material/Box";
|
|
7
7
|
import ue from "@mui/material/Typography";
|
|
8
8
|
import H from "@mui/material/Stack";
|
|
9
9
|
import { useCaptureInteraction as ae } from "@olimpo/capture-client";
|
|
10
|
-
import { ChevronLeftRounded as
|
|
10
|
+
import { ChevronLeftRounded as Be, ChevronRightRounded as ze } from "@mui/icons-material";
|
|
11
11
|
import xe from "@mui/material/useMediaQuery";
|
|
12
12
|
import lt from "@mui/icons-material/ChevronLeftRounded";
|
|
13
13
|
import ct from "@mui/icons-material/ChevronRightRounded";
|
|
@@ -23,26 +23,26 @@ function X({
|
|
|
23
23
|
type: r = "button",
|
|
24
24
|
disabled: s = !1,
|
|
25
25
|
variant: c = "primary",
|
|
26
|
-
size:
|
|
26
|
+
size: f,
|
|
27
27
|
fullWidth: h = !1,
|
|
28
28
|
fullHeight: u = !1,
|
|
29
29
|
className: p = "",
|
|
30
30
|
ariaLabel: d,
|
|
31
|
-
leftIcon:
|
|
31
|
+
leftIcon: g,
|
|
32
32
|
rightIcon: m,
|
|
33
33
|
iconOnly: _
|
|
34
34
|
}) {
|
|
35
|
-
const S = !!e && e !== !0, I = (!!
|
|
35
|
+
const S = !!e && e !== !0, I = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : I && !S, T = [
|
|
36
36
|
"orc-btn",
|
|
37
37
|
c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
38
|
-
|
|
38
|
+
f ? `orc-btn--${f}` : "",
|
|
39
39
|
h ? "orc-btn--full" : "",
|
|
40
40
|
u ? "orc-btn--fullHeight" : "",
|
|
41
|
-
|
|
41
|
+
D ? "orc-btn--iconOnly" : "",
|
|
42
42
|
p
|
|
43
43
|
].filter(Boolean).join(" "), N = /* @__PURE__ */ b(pe, { children: [
|
|
44
|
-
|
|
45
|
-
!
|
|
44
|
+
g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
|
|
45
|
+
!D && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
|
|
46
46
|
m && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: m })
|
|
47
47
|
] }), E = s ? !0 : void 0;
|
|
48
48
|
return n ? /* @__PURE__ */ t(
|
|
@@ -103,8 +103,8 @@ const dt = ({
|
|
|
103
103
|
if (e <= 1) return null;
|
|
104
104
|
const r = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = Z(0);
|
|
105
105
|
return ee(() => {
|
|
106
|
-
c((
|
|
107
|
-
}, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((
|
|
106
|
+
c((f) => f + 1);
|
|
107
|
+
}, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((f, h) => {
|
|
108
108
|
const u = h === a;
|
|
109
109
|
return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
|
|
110
110
|
"button",
|
|
@@ -178,9 +178,9 @@ function Ze({ src: e, alt: a }) {
|
|
|
178
178
|
}
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const
|
|
182
|
-
contenedor:
|
|
183
|
-
flexGroup:
|
|
181
|
+
const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Le = {
|
|
182
|
+
contenedor: Dt,
|
|
183
|
+
flexGroup: Ut,
|
|
184
184
|
subtitle: Vt
|
|
185
185
|
};
|
|
186
186
|
function Wt({ title: e, subtitle: a }) {
|
|
@@ -388,19 +388,19 @@ function fa(e, a, {
|
|
|
388
388
|
if (!n) return;
|
|
389
389
|
const c = e.current;
|
|
390
390
|
if (!c) return;
|
|
391
|
-
const
|
|
391
|
+
const f = (h) => {
|
|
392
392
|
const u = a.current;
|
|
393
393
|
if (!u || !u.go) return;
|
|
394
394
|
const { deltaX: p, deltaY: d } = h;
|
|
395
395
|
if (Math.abs(p) <= Math.abs(d)) return;
|
|
396
396
|
h.preventDefault(), r.current += p;
|
|
397
|
-
const
|
|
398
|
-
if (
|
|
397
|
+
const g = Date.now();
|
|
398
|
+
if (g - s.current < i || Math.abs(r.current) < o) return;
|
|
399
399
|
const m = r.current > 0 ? ">" : "<";
|
|
400
|
-
r.current = 0, s.current =
|
|
400
|
+
r.current = 0, s.current = g, u.go(m);
|
|
401
401
|
};
|
|
402
|
-
return c.addEventListener("wheel",
|
|
403
|
-
c.removeEventListener("wheel",
|
|
402
|
+
return c.addEventListener("wheel", f, { passive: !1 }), () => {
|
|
403
|
+
c.removeEventListener("wheel", f), r.current = 0;
|
|
404
404
|
};
|
|
405
405
|
}, [n, o, i, e, a]);
|
|
406
406
|
}
|
|
@@ -409,7 +409,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
409
409
|
right: ha,
|
|
410
410
|
left: ba,
|
|
411
411
|
svg: va
|
|
412
|
-
}, _a =
|
|
412
|
+
}, _a = At, ya = Bt, he = Tt(
|
|
413
413
|
({
|
|
414
414
|
items: e = [],
|
|
415
415
|
renderItem: a,
|
|
@@ -419,12 +419,12 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
419
419
|
options: r = {},
|
|
420
420
|
className: s = "",
|
|
421
421
|
onMove: c,
|
|
422
|
-
useIndexAsKey:
|
|
422
|
+
useIndexAsKey: f = !1,
|
|
423
423
|
enableHorizontalWheel: h = !0,
|
|
424
424
|
showRightGradient: u = !1
|
|
425
425
|
}, p) => {
|
|
426
|
-
const d = V(null),
|
|
427
|
-
fa(
|
|
426
|
+
const d = V(null), g = V(null), m = V(e.length), _ = V(null), S = V(null);
|
|
427
|
+
fa(g, d, {
|
|
428
428
|
enabled: h
|
|
429
429
|
}), kt(p, () => ({
|
|
430
430
|
next: () => {
|
|
@@ -443,18 +443,18 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
443
443
|
const y = (E) => {
|
|
444
444
|
var W;
|
|
445
445
|
const M = E.Components.Slides, k = E.Components.Controller, x = E.root.querySelector(".splide__track"), O = (W = x == null ? void 0 : x.clientWidth) != null ? W : 0, L = k.getIndex(), z = M.getLength();
|
|
446
|
-
let R = 0,
|
|
446
|
+
let R = 0, U = L;
|
|
447
447
|
for (let G = L; G < z; G++) {
|
|
448
448
|
const C = M.getAt(G);
|
|
449
449
|
if (!C || (R += C.slide.offsetWidth, R > O)) break;
|
|
450
|
-
|
|
450
|
+
U = G;
|
|
451
451
|
}
|
|
452
|
-
return { visibleStart: L, visibleEnd:
|
|
452
|
+
return { visibleStart: L, visibleEnd: U };
|
|
453
453
|
}, v = (E) => {
|
|
454
454
|
const M = E.root.querySelector(".splide__track"), k = E.root.querySelector(".splide__list");
|
|
455
455
|
return !M || !k ? !1 : k.scrollWidth > M.clientWidth + 1;
|
|
456
456
|
}, I = Ee((E) => {
|
|
457
|
-
var
|
|
457
|
+
var U, W;
|
|
458
458
|
const k = E.Components.Slides.getLength();
|
|
459
459
|
if (!v(E)) {
|
|
460
460
|
c == null || c({
|
|
@@ -468,7 +468,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
468
468
|
return;
|
|
469
469
|
}
|
|
470
470
|
const { visibleStart: x, visibleEnd: O } = y(E), L = x === 0, z = O === k - 1;
|
|
471
|
-
u && ((
|
|
471
|
+
u && ((U = _.current) == null || U.style.setProperty("--gradient-opacity", L ? "0" : "1"), (W = S.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
|
|
472
472
|
const R = E.Components.Controller.getIndex();
|
|
473
473
|
c == null || c({
|
|
474
474
|
index: R,
|
|
@@ -488,7 +488,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
488
488
|
E.refresh(), I(E);
|
|
489
489
|
});
|
|
490
490
|
}, [e.length, I]);
|
|
491
|
-
const
|
|
491
|
+
const D = Ee(() => {
|
|
492
492
|
var M;
|
|
493
493
|
const E = (M = d.current) == null ? void 0 : M.splide;
|
|
494
494
|
E && (E.go(0, !1), I(E));
|
|
@@ -515,7 +515,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
515
515
|
return /* @__PURE__ */ b(
|
|
516
516
|
"div",
|
|
517
517
|
{
|
|
518
|
-
ref:
|
|
518
|
+
ref: g,
|
|
519
519
|
className: s,
|
|
520
520
|
style: { width: "100%", position: "relative", height: "100%" },
|
|
521
521
|
children: [
|
|
@@ -526,10 +526,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
526
526
|
options: N,
|
|
527
527
|
onMove: I,
|
|
528
528
|
onMounted: T,
|
|
529
|
-
onResize:
|
|
529
|
+
onResize: D,
|
|
530
530
|
children: e.map((E, M) => {
|
|
531
531
|
var k;
|
|
532
|
-
return /* @__PURE__ */ t(ya, { children: a(E, M) },
|
|
532
|
+
return /* @__PURE__ */ t(ya, { children: a(E, M) }, f ? M : (k = E.id) != null ? k : M);
|
|
533
533
|
})
|
|
534
534
|
}
|
|
535
535
|
),
|
|
@@ -686,16 +686,16 @@ function xa({
|
|
|
686
686
|
md: { w: 186, h: 264, r: 22.6, font: 64 }
|
|
687
687
|
}
|
|
688
688
|
}) {
|
|
689
|
-
var p, d,
|
|
689
|
+
var p, d, g, m;
|
|
690
690
|
const r = (_, S) => {
|
|
691
|
-
var y, v, I,
|
|
691
|
+
var y, v, I, D;
|
|
692
692
|
return {
|
|
693
693
|
xs: (v = (y = i.xs) == null ? void 0 : y[_]) != null ? v : S,
|
|
694
|
-
md: (
|
|
694
|
+
md: (D = (I = i.md) == null ? void 0 : I[_]) != null ? D : S
|
|
695
695
|
};
|
|
696
|
-
}, s = r("w", 186), c = r("h", 264),
|
|
696
|
+
}, s = r("w", 186), c = r("h", 264), f = r("r", 22.6), h = r("font", 64), u = {
|
|
697
697
|
xs: Math.round(((d = (p = i.xs) == null ? void 0 : p.font) != null ? d : 64) * 0.28),
|
|
698
|
-
md: Math.round(((m = (
|
|
698
|
+
md: Math.round(((m = (g = i.md) == null ? void 0 : g.font) != null ? m : 64) * 0.28)
|
|
699
699
|
};
|
|
700
700
|
return /* @__PURE__ */ b(
|
|
701
701
|
F,
|
|
@@ -708,7 +708,7 @@ function xa({
|
|
|
708
708
|
xs: `${s.xs}/${c.xs}`,
|
|
709
709
|
md: `${s.md}/${c.md}`
|
|
710
710
|
},
|
|
711
|
-
borderRadius: { xs: `${
|
|
711
|
+
borderRadius: { xs: `${f.xs}px`, md: `${f.md}px` },
|
|
712
712
|
boxSizing: "border-box",
|
|
713
713
|
overflow: "visible",
|
|
714
714
|
pb: { xs: `${u.xs}px`, md: `${u.md}px` },
|
|
@@ -890,7 +890,7 @@ const wa = ({
|
|
|
890
890
|
}) => {
|
|
891
891
|
var r, s;
|
|
892
892
|
if (a === "mosaic") {
|
|
893
|
-
const c = e[0],
|
|
893
|
+
const c = e[0], f = e.slice(1, 5);
|
|
894
894
|
return /* @__PURE__ */ b(
|
|
895
895
|
F,
|
|
896
896
|
{
|
|
@@ -936,7 +936,7 @@ const wa = ({
|
|
|
936
936
|
)
|
|
937
937
|
}
|
|
938
938
|
),
|
|
939
|
-
(o ? Array.from({ length: 4 }) :
|
|
939
|
+
(o ? Array.from({ length: 4 }) : f).map((h, u) => {
|
|
940
940
|
var p, d;
|
|
941
941
|
return /* @__PURE__ */ t(
|
|
942
942
|
F,
|
|
@@ -980,7 +980,7 @@ const wa = ({
|
|
|
980
980
|
gap: `${Pe}px`,
|
|
981
981
|
gridAutoFlow: "column"
|
|
982
982
|
},
|
|
983
|
-
children: (o ? Array.from({ length: i }) : e).map((c,
|
|
983
|
+
children: (o ? Array.from({ length: i }) : e).map((c, f) => {
|
|
984
984
|
var h, u, p;
|
|
985
985
|
return /* @__PURE__ */ t(
|
|
986
986
|
F,
|
|
@@ -992,11 +992,11 @@ const wa = ({
|
|
|
992
992
|
imageUrl: `https://olimpo.bet${(u = (h = c.background) != null ? h : c.imageUrl) != null ? u : ""}`,
|
|
993
993
|
size: "sm",
|
|
994
994
|
fillParent: !0,
|
|
995
|
-
onClick: () => n == null ? void 0 : n(c,
|
|
995
|
+
onClick: () => n == null ? void 0 : n(c, f)
|
|
996
996
|
}
|
|
997
997
|
)
|
|
998
998
|
},
|
|
999
|
-
o ? `sk-${
|
|
999
|
+
o ? `sk-${f}` : (p = c.id) != null ? p : f
|
|
1000
1000
|
);
|
|
1001
1001
|
})
|
|
1002
1002
|
}
|
|
@@ -1010,9 +1010,9 @@ const wa = ({
|
|
|
1010
1010
|
backgroundImage: r,
|
|
1011
1011
|
alt: s,
|
|
1012
1012
|
className: c = "",
|
|
1013
|
-
variant:
|
|
1013
|
+
variant: f = "small"
|
|
1014
1014
|
}) => {
|
|
1015
|
-
const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", p =
|
|
1015
|
+
const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", p = f === "large";
|
|
1016
1016
|
return /* @__PURE__ */ b(
|
|
1017
1017
|
F,
|
|
1018
1018
|
{
|
|
@@ -1207,14 +1207,14 @@ const wa = ({
|
|
|
1207
1207
|
apuestaText: Na,
|
|
1208
1208
|
cuotaTotal: Ma
|
|
1209
1209
|
};
|
|
1210
|
-
function
|
|
1210
|
+
function Ue(e, a) {
|
|
1211
1211
|
const n = Array.isArray(a) ? a : [a];
|
|
1212
1212
|
sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = e;
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1214
|
+
function Aa() {
|
|
1215
1215
|
window.location.href = "/deportes#in-play";
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function Ba() {
|
|
1218
1218
|
window.location.href = "/deportes#sports-hub/football";
|
|
1219
1219
|
}
|
|
1220
1220
|
function za() {
|
|
@@ -1244,26 +1244,26 @@ function Ra({ coupon: e }) {
|
|
|
1244
1244
|
var h;
|
|
1245
1245
|
const a = ae(), n = ne();
|
|
1246
1246
|
function o(u) {
|
|
1247
|
-
var
|
|
1247
|
+
var g, m;
|
|
1248
1248
|
const p = [], d = Array.from(
|
|
1249
1249
|
new Map(
|
|
1250
|
-
((
|
|
1250
|
+
((g = u == null ? void 0 : u.events) != null ? g : []).filter(Boolean).map((_) => [_.id, _])
|
|
1251
1251
|
).values()
|
|
1252
1252
|
);
|
|
1253
1253
|
return d.forEach((_) => {
|
|
1254
1254
|
var I;
|
|
1255
1255
|
const S = (I = _.betoffers) != null ? I : [], y = _.homeName, v = _.awayName;
|
|
1256
|
-
S.forEach((
|
|
1256
|
+
S.forEach((D) => {
|
|
1257
1257
|
var M, k, x, O, L, z, R;
|
|
1258
|
-
if (!((M =
|
|
1259
|
-
const T =
|
|
1258
|
+
if (!((M = D == null ? void 0 : D.outcomes) != null && M.length)) return;
|
|
1259
|
+
const T = D.outcomes[0];
|
|
1260
1260
|
if (!T) return;
|
|
1261
1261
|
let N = "";
|
|
1262
1262
|
const E = T != null && T.line ? T.line / 1e3 : "";
|
|
1263
1263
|
["Más de", "Mas de", "Over"].includes(T.label) ? (N = `Más de ${E}`, T.participant && (N = `${T.participant} - ${N}`)) : ["Menos de", "Menos", "Under"].includes(T.label) ? (N = `Menos de ${E}`, T.participant && (N = `${T.participant} - ${N}`)) : ["Sí", "No"].includes(T.label) ? (N = T.label, T.participant && (N = `${T.participant} - ${N}`)) : ["1X", "12", "X2"].includes(T.label) ? (T.label === "1X" && (N = `${y} o Empate`), T.label === "12" && (N = `${y} o ${v}`), T.label === "X2" && (N = `${v} o Empate`)) : (N = (x = (k = T.participant) != null ? k : T.label) != null ? x : "", E !== "" && N === T.label && (N = `${T.label} ${E}`)), p.push({
|
|
1264
1264
|
id: T.id,
|
|
1265
1265
|
value: N,
|
|
1266
|
-
label: (L = (O =
|
|
1266
|
+
label: (L = (O = D.criterion) == null ? void 0 : O.label) != null ? L : "",
|
|
1267
1267
|
odds: (z = T.odds) != null ? z : 0,
|
|
1268
1268
|
position: (R = T.position) != null ? R : 0,
|
|
1269
1269
|
eventId: _.id
|
|
@@ -1293,15 +1293,15 @@ function Ra({ coupon: e }) {
|
|
|
1293
1293
|
return "/deportes#home";
|
|
1294
1294
|
}
|
|
1295
1295
|
const r = (u, p) => {
|
|
1296
|
-
const d = Array.isArray(u) ? u : [u],
|
|
1296
|
+
const d = Array.isArray(u) ? u : [u], g = Array.from(
|
|
1297
1297
|
new Set(
|
|
1298
1298
|
s.outcomes.map((S) => {
|
|
1299
1299
|
var v;
|
|
1300
|
-
const y =
|
|
1300
|
+
const y = f.get(Number(S.eventId));
|
|
1301
1301
|
return (v = y == null ? void 0 : y.name) != null ? v : "";
|
|
1302
1302
|
})
|
|
1303
1303
|
)
|
|
1304
|
-
).filter(Boolean), m =
|
|
1304
|
+
).filter(Boolean), m = g.length > 0 ? g.join(" + ") : JSON.stringify(d), _ = p ? `${m} - Cuota: ${p}` : m;
|
|
1305
1305
|
a({
|
|
1306
1306
|
element: "evento_semana_outcome",
|
|
1307
1307
|
label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${_}`,
|
|
@@ -1312,15 +1312,15 @@ function Ra({ coupon: e }) {
|
|
|
1312
1312
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1313
1313
|
},
|
|
1314
1314
|
tags: { section: "OraculoEventCombinadasCard", outcomes: _ }
|
|
1315
|
-
}),
|
|
1315
|
+
}), Ue(i(e), u);
|
|
1316
1316
|
};
|
|
1317
1317
|
if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
|
|
1318
|
-
const s = o(e), c = s.outcomes.reduce((u, p) => (u[p.eventId] || (u[p.eventId] = []), u[p.eventId].push(p), u), {}),
|
|
1318
|
+
const s = o(e), c = s.outcomes.reduce((u, p) => (u[p.eventId] || (u[p.eventId] = []), u[p.eventId].push(p), u), {}), f = new Map(
|
|
1319
1319
|
s.events.map((u) => [u.id, u])
|
|
1320
1320
|
);
|
|
1321
1321
|
return /* @__PURE__ */ b("div", { className: ce.card, children: [
|
|
1322
1322
|
/* @__PURE__ */ t("div", { className: ce.combinadas, children: /* @__PURE__ */ t("div", { className: ce.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(c).reverse().map(([u, p]) => {
|
|
1323
|
-
const d =
|
|
1323
|
+
const d = f.get(Number(u));
|
|
1324
1324
|
return d ? /* @__PURE__ */ b(
|
|
1325
1325
|
H,
|
|
1326
1326
|
{
|
|
@@ -1343,15 +1343,15 @@ function Ra({ coupon: e }) {
|
|
|
1343
1343
|
src: "/assets/img/home/Combinadas/line.png"
|
|
1344
1344
|
}
|
|
1345
1345
|
),
|
|
1346
|
-
p.map((
|
|
1346
|
+
p.map((g, m) => /* @__PURE__ */ b("div", { className: ce.apuestaItem, children: [
|
|
1347
1347
|
/* @__PURE__ */ b("div", { className: ce.lineContainer, children: [
|
|
1348
1348
|
/* @__PURE__ */ t("div", { className: ce.circle }),
|
|
1349
1349
|
m < p.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
|
|
1350
1350
|
] }),
|
|
1351
1351
|
/* @__PURE__ */ b("div", { className: ce.apuestaText, children: [
|
|
1352
|
-
/* @__PURE__ */ t("strong", { children:
|
|
1352
|
+
/* @__PURE__ */ t("strong", { children: g.value }),
|
|
1353
1353
|
" | ",
|
|
1354
|
-
|
|
1354
|
+
g.label
|
|
1355
1355
|
] })
|
|
1356
1356
|
] }, `${u}-${m}`))
|
|
1357
1357
|
]
|
|
@@ -1408,29 +1408,29 @@ function La({
|
|
|
1408
1408
|
type: r = "button",
|
|
1409
1409
|
disabled: s = !1,
|
|
1410
1410
|
variant: c = "primary",
|
|
1411
|
-
size:
|
|
1411
|
+
size: f,
|
|
1412
1412
|
fullWidth: h = !1,
|
|
1413
1413
|
fullHeight: u = !1,
|
|
1414
1414
|
className: p = "",
|
|
1415
1415
|
ariaLabel: d,
|
|
1416
|
-
leftIcon:
|
|
1416
|
+
leftIcon: g,
|
|
1417
1417
|
rightIcon: m,
|
|
1418
1418
|
iconOnly: _
|
|
1419
1419
|
}) {
|
|
1420
|
-
const S = !!e && e !== !0, I = (!!
|
|
1420
|
+
const S = !!e && e !== !0, I = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : I && !S, T = [
|
|
1421
1421
|
de["orc-btn"],
|
|
1422
1422
|
// base
|
|
1423
1423
|
de[`orc-btn--${c}`],
|
|
1424
1424
|
// variant primary/secondary/tertiary
|
|
1425
|
-
|
|
1425
|
+
f ? de[`orc-btn--${f}`] : "",
|
|
1426
1426
|
// sm / md / lg
|
|
1427
1427
|
h ? de["orc-btn--full"] : "",
|
|
1428
1428
|
u ? de["orc-btn--fullHeight"] : "",
|
|
1429
|
-
|
|
1429
|
+
D ? de["orc-btn--iconOnly"] : "",
|
|
1430
1430
|
p
|
|
1431
1431
|
].filter(Boolean).join(" "), N = /* @__PURE__ */ b(pe, { children: [
|
|
1432
|
-
|
|
1433
|
-
!
|
|
1432
|
+
g && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: g }),
|
|
1433
|
+
!D && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
|
|
1434
1434
|
m && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: m })
|
|
1435
1435
|
] }), E = s ? !0 : void 0;
|
|
1436
1436
|
return n ? /* @__PURE__ */ t(
|
|
@@ -1483,8 +1483,8 @@ const Pa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "
|
|
|
1483
1483
|
const o = (r = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : r[n];
|
|
1484
1484
|
return o || (a === "home" ? Xe : Ye);
|
|
1485
1485
|
};
|
|
1486
|
-
function
|
|
1487
|
-
var c,
|
|
1486
|
+
function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
1487
|
+
var c, f, h, u, p, d, g, m, _, S, y;
|
|
1488
1488
|
const i = n == null ? void 0 : n.find(
|
|
1489
1489
|
(v) => {
|
|
1490
1490
|
var I;
|
|
@@ -1509,7 +1509,7 @@ function Ua({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1509
1509
|
/* @__PURE__ */ t(
|
|
1510
1510
|
Ht,
|
|
1511
1511
|
{
|
|
1512
|
-
title: (h = (
|
|
1512
|
+
title: (h = (f = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : f.name) != null ? h : "",
|
|
1513
1513
|
subtitle: (u = e == null ? void 0 : e.group) != null ? u : "",
|
|
1514
1514
|
live: !0,
|
|
1515
1515
|
time: ((p = a == null ? void 0 : a.matchClock) == null ? void 0 : p.minute) != null ? `${a.matchClock.minute}'` : ""
|
|
@@ -1517,20 +1517,20 @@ function Ua({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1517
1517
|
),
|
|
1518
1518
|
/* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1519
1519
|
/* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
|
|
1520
|
-
/* @__PURE__ */ t(pt, { text: ((
|
|
1520
|
+
/* @__PURE__ */ t(pt, { text: ((g = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? g : 0) + ":" + ((_ = (m = a == null ? void 0 : a.score) == null ? void 0 : m.away) != null ? _ : 0), name: "En vivo" }),
|
|
1521
1521
|
/* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
|
|
1522
1522
|
] }) })
|
|
1523
1523
|
] }),
|
|
1524
1524
|
/* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1525
1525
|
/* @__PURE__ */ t(me, { spacing: 1, children: ((S = i == null ? void 0 : i.outcomes) != null ? S : s).map((v, I) => /* @__PURE__ */ t(ut, { text: v.label.toUpperCase() }, I)) }),
|
|
1526
1526
|
/* @__PURE__ */ t(me, { spacing: 2, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : s).map((v, I) => /* @__PURE__ */ t(La, { variant: "primary", disabled: v.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1527
|
-
|
|
1527
|
+
Ue("/deportes#event/live/" + e.id, v.id);
|
|
1528
1528
|
}, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: v.odds === void 0 ? "" : (v.odds / 1e3).toFixed(2) }) }, I)) })
|
|
1529
1529
|
] })
|
|
1530
1530
|
] }) });
|
|
1531
1531
|
}
|
|
1532
|
-
const
|
|
1533
|
-
date:
|
|
1532
|
+
const Ua = "oraculo__OraculoEventDate-module__date___xhIlh", Va = {
|
|
1533
|
+
date: Ua
|
|
1534
1534
|
};
|
|
1535
1535
|
function Wa({ text: e }) {
|
|
1536
1536
|
return /* @__PURE__ */ t("div", { className: `oli-font ${Va.date}`, children: e });
|
|
@@ -1542,14 +1542,14 @@ const Ga = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ja =
|
|
|
1542
1542
|
equipos: Ka
|
|
1543
1543
|
};
|
|
1544
1544
|
function Za({ event: e, jersey: a }) {
|
|
1545
|
-
var s, c,
|
|
1545
|
+
var s, c, f, h, u, p, d;
|
|
1546
1546
|
const n = ae(), o = ne();
|
|
1547
|
-
function i(
|
|
1548
|
-
const m = new Date(
|
|
1547
|
+
function i(g) {
|
|
1548
|
+
const m = new Date(g), _ = m.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), S = m.getDate().toString().padStart(2, "0"), y = (m.getMonth() + 1).toString().padStart(2, "0");
|
|
1549
1549
|
let v = m.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1550
1550
|
return v = v.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${_} ${S}/${y} | ${v}`;
|
|
1551
1551
|
}
|
|
1552
|
-
const r = (
|
|
1552
|
+
const r = (g, m) => {
|
|
1553
1553
|
const _ = `${e.homeName} vs ${e.awayName}`, S = m ? (m / 1e3).toFixed(2) : "", y = S ? `${_} - Cuota: ${S}` : _;
|
|
1554
1554
|
n({
|
|
1555
1555
|
element: "evento_semana_outcome",
|
|
@@ -1561,7 +1561,7 @@ function Za({ event: e, jersey: a }) {
|
|
|
1561
1561
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1562
1562
|
},
|
|
1563
1563
|
tags: { section: "OraculoEventSemanaCard", outcomes: y }
|
|
1564
|
-
}),
|
|
1564
|
+
}), Ue("/deportes#event/" + e.id, g);
|
|
1565
1565
|
};
|
|
1566
1566
|
return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
|
|
1567
1567
|
/* @__PURE__ */ t(mt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
|
|
@@ -1575,10 +1575,10 @@ function Za({ event: e, jersey: a }) {
|
|
|
1575
1575
|
/* @__PURE__ */ t(Wa, { text: i(e.start) })
|
|
1576
1576
|
] }),
|
|
1577
1577
|
/* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1578
|
-
/* @__PURE__ */ t(me, { spacing: 1, children: ((h = (
|
|
1579
|
-
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (p = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : p.outcomes) != null ? d : []).map((
|
|
1580
|
-
r(
|
|
1581
|
-
}, children: (
|
|
1578
|
+
/* @__PURE__ */ t(me, { spacing: 1, children: ((h = (f = (c = e == null ? void 0 : e.outcome) == null ? void 0 : c[0]) == null ? void 0 : f.outcomes) != null ? h : []).map((g, m) => /* @__PURE__ */ t(ut, { text: g.label.toUpperCase() }, m)) }),
|
|
1579
|
+
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (p = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : p.outcomes) != null ? d : []).map((g, m) => /* @__PURE__ */ t(X, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1580
|
+
r(g.id, g.odds);
|
|
1581
|
+
}, children: (g.odds / 1e3).toFixed(2) }, m)) }) })
|
|
1582
1582
|
] })
|
|
1583
1583
|
] }) })
|
|
1584
1584
|
] });
|
|
@@ -1590,9 +1590,9 @@ function Ja({
|
|
|
1590
1590
|
onViewMore: o,
|
|
1591
1591
|
className: i = ""
|
|
1592
1592
|
}) {
|
|
1593
|
-
const r = V(null), [s, c] = Z({ isStart: !0, isEnd: !1 }),
|
|
1593
|
+
const r = V(null), [s, c] = Z({ isStart: !0, isEnd: !1 }), f = ae(), h = ne(), u = le(), p = !e || e.length === 0, d = () => {
|
|
1594
1594
|
var v;
|
|
1595
|
-
|
|
1595
|
+
f({
|
|
1596
1596
|
element: "destacados_carousel_prev",
|
|
1597
1597
|
label: `${h} - OraculoSeccionDestacados - Anterior`,
|
|
1598
1598
|
target: "carousel",
|
|
@@ -1603,9 +1603,9 @@ function Ja({
|
|
|
1603
1603
|
},
|
|
1604
1604
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1605
1605
|
}), (v = r.current) == null || v.prev();
|
|
1606
|
-
},
|
|
1606
|
+
}, g = () => {
|
|
1607
1607
|
var v;
|
|
1608
|
-
|
|
1608
|
+
f({
|
|
1609
1609
|
element: "destacados_carousel_next",
|
|
1610
1610
|
label: `${h} - OraculoSeccionDestacados - Siguiente`,
|
|
1611
1611
|
target: "carousel",
|
|
@@ -1617,7 +1617,7 @@ function Ja({
|
|
|
1617
1617
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1618
1618
|
}), (v = r.current) == null || v.next();
|
|
1619
1619
|
}, m = () => {
|
|
1620
|
-
|
|
1620
|
+
f({
|
|
1621
1621
|
element: "destacados_view_more",
|
|
1622
1622
|
label: `${h} - OraculoSeccionDestacados - Ver más`,
|
|
1623
1623
|
target: "https://www.olimpo.bet/promociones",
|
|
@@ -1630,11 +1630,11 @@ function Ja({
|
|
|
1630
1630
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
|
|
1631
1631
|
}, _ = (v) => {
|
|
1632
1632
|
if (!v) return;
|
|
1633
|
-
const
|
|
1634
|
-
|
|
1633
|
+
const D = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
|
|
1634
|
+
f({
|
|
1635
1635
|
element: "destacados_card",
|
|
1636
1636
|
label: `${h} - OraculoSeccionDestacados - Click: ${String(v)}`,
|
|
1637
|
-
target:
|
|
1637
|
+
target: D,
|
|
1638
1638
|
event_type: "click",
|
|
1639
1639
|
module_id: u,
|
|
1640
1640
|
metadata: {
|
|
@@ -1644,7 +1644,7 @@ function Ja({
|
|
|
1644
1644
|
section: "OraculoSeccionDestacados",
|
|
1645
1645
|
promotion: String(v)
|
|
1646
1646
|
}
|
|
1647
|
-
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(
|
|
1647
|
+
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(D);
|
|
1648
1648
|
}, S = i || void 0, y = xe("(max-width:950px)");
|
|
1649
1649
|
return /* @__PURE__ */ b("section", { className: S, style: { width: "100%" }, children: [
|
|
1650
1650
|
/* @__PURE__ */ b(
|
|
@@ -1669,7 +1669,7 @@ function Ja({
|
|
|
1669
1669
|
ariaLabel: "Anterior",
|
|
1670
1670
|
variant: "secondary",
|
|
1671
1671
|
iconOnly: !0,
|
|
1672
|
-
leftIcon: /* @__PURE__ */ t(
|
|
1672
|
+
leftIcon: /* @__PURE__ */ t(Be, {}),
|
|
1673
1673
|
onClick: d,
|
|
1674
1674
|
disabled: s.isStart || p
|
|
1675
1675
|
}
|
|
@@ -1681,7 +1681,7 @@ function Ja({
|
|
|
1681
1681
|
variant: "secondary",
|
|
1682
1682
|
iconOnly: !0,
|
|
1683
1683
|
rightIcon: /* @__PURE__ */ t(ze, {}),
|
|
1684
|
-
onClick:
|
|
1684
|
+
onClick: g,
|
|
1685
1685
|
disabled: s.isEnd || p
|
|
1686
1686
|
}
|
|
1687
1687
|
)
|
|
@@ -1731,7 +1731,7 @@ function Ja({
|
|
|
1731
1731
|
`${v.title}-${v.image}`
|
|
1732
1732
|
),
|
|
1733
1733
|
onMove: ({ isStart: v, isEnd: I }) => {
|
|
1734
|
-
c({ isStart: v, isEnd: I }),
|
|
1734
|
+
c({ isStart: v, isEnd: I }), f({
|
|
1735
1735
|
element: "destacados_carousel_slide",
|
|
1736
1736
|
label: `${h} - OraculoSeccionDestacados - Slide Carousel`,
|
|
1737
1737
|
target: "carousel",
|
|
@@ -1772,15 +1772,15 @@ function Qa({
|
|
|
1772
1772
|
}) {
|
|
1773
1773
|
const i = ae(), r = ne(), s = le(), c = ie(
|
|
1774
1774
|
() => (e != null ? e : []).map((p, d) => {
|
|
1775
|
-
var
|
|
1775
|
+
var g;
|
|
1776
1776
|
return {
|
|
1777
1777
|
...p,
|
|
1778
|
-
orden: (
|
|
1778
|
+
orden: (g = p.orden) != null ? g : d + 1,
|
|
1779
1779
|
_originalIndex: d
|
|
1780
1780
|
};
|
|
1781
1781
|
}).sort((p, d) => p.orden != null && d.orden != null ? p.orden - d.orden : p._originalIndex - d._originalIndex),
|
|
1782
1782
|
[e]
|
|
1783
|
-
),
|
|
1783
|
+
), f = !e || e.length === 0, h = f ? Array.from({ length: 6 }) : c.slice(0, 6), u = (p) => {
|
|
1784
1784
|
i({
|
|
1785
1785
|
element: "top_juegos_card",
|
|
1786
1786
|
label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(p.machine || "unknown")}`,
|
|
@@ -1795,9 +1795,9 @@ function Qa({
|
|
|
1795
1795
|
section: "OraculoSeccionTopJuegos"
|
|
1796
1796
|
}
|
|
1797
1797
|
});
|
|
1798
|
-
const d = se("showIframe"),
|
|
1798
|
+
const d = se("showIframe"), g = se("loadMachine");
|
|
1799
1799
|
d == null || d(), requestAnimationFrame(() => {
|
|
1800
|
-
|
|
1800
|
+
g == null || g(p, !1, "CASINO");
|
|
1801
1801
|
});
|
|
1802
1802
|
};
|
|
1803
1803
|
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
@@ -1816,18 +1816,18 @@ function Qa({
|
|
|
1816
1816
|
width: "100%"
|
|
1817
1817
|
},
|
|
1818
1818
|
children: h.map((p, d) => {
|
|
1819
|
-
var
|
|
1819
|
+
var g, m;
|
|
1820
1820
|
return /* @__PURE__ */ t(
|
|
1821
1821
|
xa,
|
|
1822
1822
|
{
|
|
1823
|
-
imageUrl:
|
|
1824
|
-
orden:
|
|
1825
|
-
loading:
|
|
1826
|
-
onClick:
|
|
1823
|
+
imageUrl: f ? "" : p.background ? `https://olimpo.bet${p.background}` : `https://olimpo.bet${(g = p.logo) != null ? g : ""}`,
|
|
1824
|
+
orden: f ? d + 1 : p.orden,
|
|
1825
|
+
loading: f,
|
|
1826
|
+
onClick: f ? void 0 : () => {
|
|
1827
1827
|
o == null || o(p), u(p);
|
|
1828
1828
|
}
|
|
1829
1829
|
},
|
|
1830
|
-
|
|
1830
|
+
f ? `sk-${d}` : (m = p.machine) != null ? m : `${d}`
|
|
1831
1831
|
);
|
|
1832
1832
|
})
|
|
1833
1833
|
}
|
|
@@ -1835,7 +1835,7 @@ function Qa({
|
|
|
1835
1835
|
] }) });
|
|
1836
1836
|
}
|
|
1837
1837
|
const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
|
|
1838
|
-
var n, o, i, r, s, c,
|
|
1838
|
+
var n, o, i, r, s, c, f, h, u, p, d, g, m, _;
|
|
1839
1839
|
return {
|
|
1840
1840
|
orden: Number(a),
|
|
1841
1841
|
machine: String(
|
|
@@ -1846,12 +1846,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1846
1846
|
web_name: (r = e.product) != null ? r : "",
|
|
1847
1847
|
provider: (s = e.service) != null ? s : "",
|
|
1848
1848
|
sub_provider: (c = e.service) != null ? c : "",
|
|
1849
|
-
external_id: (
|
|
1849
|
+
external_id: (f = e.external_id) != null ? f : "",
|
|
1850
1850
|
type: (h = e.game_type) != null ? h : "",
|
|
1851
1851
|
tags: (u = e.tags) != null ? u : "",
|
|
1852
1852
|
lobby_tag: (p = e.lobby_tag) != null ? p : null,
|
|
1853
1853
|
background: (d = e.background) != null ? d : "",
|
|
1854
|
-
rtp: (
|
|
1854
|
+
rtp: (g = e.rtp) != null ? g : null,
|
|
1855
1855
|
demo_allowed: (m = e.demo_allowed) != null ? m : !1,
|
|
1856
1856
|
gaming_session_required: (_ = e.gaming_session_required) != null ? _ : !1
|
|
1857
1857
|
};
|
|
@@ -1903,13 +1903,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1903
1903
|
c || i([]);
|
|
1904
1904
|
return;
|
|
1905
1905
|
}
|
|
1906
|
-
const p = yt(), d = await on(p, u),
|
|
1907
|
-
|
|
1906
|
+
const p = yt(), d = await on(p, u), g = d.map((y) => y.itemId), m = await Promise.allSettled(
|
|
1907
|
+
g.map(async (y, v) => {
|
|
1908
1908
|
const I = await fetch(`https://api.mktolimpo.com/api/machine/${y}`);
|
|
1909
1909
|
if (!I.ok)
|
|
1910
1910
|
throw new Error(`No se pudo obtener machine ${y}`);
|
|
1911
|
-
const
|
|
1912
|
-
return tn(
|
|
1911
|
+
const D = await I.json();
|
|
1912
|
+
return tn(D, v);
|
|
1913
1913
|
})
|
|
1914
1914
|
);
|
|
1915
1915
|
if (c) return;
|
|
@@ -1919,8 +1919,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1919
1919
|
const v = _.find((I) => I.machine === y.itemId);
|
|
1920
1920
|
return v ? { ...v, score: y.score } : null;
|
|
1921
1921
|
}).filter(Boolean).sort((y, v) => {
|
|
1922
|
-
var I,
|
|
1923
|
-
return ((I = v.score) != null ? I : 0) - ((
|
|
1922
|
+
var I, D;
|
|
1923
|
+
return ((I = v.score) != null ? I : 0) - ((D = y.score) != null ? D : 0);
|
|
1924
1924
|
});
|
|
1925
1925
|
i(S);
|
|
1926
1926
|
} catch (h) {
|
|
@@ -1957,12 +1957,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1957
1957
|
backgroundDesktopUrl: r = "",
|
|
1958
1958
|
onViewMore: s,
|
|
1959
1959
|
className: c,
|
|
1960
|
-
isPersonalize:
|
|
1960
|
+
isPersonalize: f = !1
|
|
1961
1961
|
}) => {
|
|
1962
|
-
const h = ae(), u = ne(), p = le(), d = dn(
|
|
1962
|
+
const h = ae(), u = ne(), p = le(), d = dn(f), { resolvedItems: g } = ln(
|
|
1963
1963
|
e,
|
|
1964
1964
|
d
|
|
1965
|
-
), m = d ?
|
|
1965
|
+
), m = d ? g : Array.isArray(e) ? e : [], _ = (y) => {
|
|
1966
1966
|
h({
|
|
1967
1967
|
element: "live_casino_card",
|
|
1968
1968
|
label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(y.machine || "unknown")}`,
|
|
@@ -2155,10 +2155,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2155
2155
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2156
2156
|
}, pn = (e, a = !0, n = 1) => {
|
|
2157
2157
|
const o = e.map((s, c) => {
|
|
2158
|
-
var
|
|
2158
|
+
var f;
|
|
2159
2159
|
return {
|
|
2160
2160
|
id: xt(s, c),
|
|
2161
|
-
imageUrl: (
|
|
2161
|
+
imageUrl: (f = s.logo) != null ? f : "",
|
|
2162
2162
|
...s.background ? { background: s.background } : {}
|
|
2163
2163
|
};
|
|
2164
2164
|
});
|
|
@@ -2192,12 +2192,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2192
2192
|
gridSize: s = 1,
|
|
2193
2193
|
isPersonalize: c = !1
|
|
2194
2194
|
}) => {
|
|
2195
|
-
const
|
|
2195
|
+
const f = ae(), h = ne(), u = le(), p = V(null), [d, g] = Z({ isStart: !0, isEnd: !1 }), m = mn(c), { resolvedItems: _, loading: S } = rn(
|
|
2196
2196
|
e,
|
|
2197
2197
|
m
|
|
2198
2198
|
), y = m ? _ : Array.isArray(e) ? e : [], v = () => {
|
|
2199
2199
|
var k;
|
|
2200
|
-
|
|
2200
|
+
f({
|
|
2201
2201
|
element: "casino_prev",
|
|
2202
2202
|
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
|
|
2203
2203
|
target: "prev",
|
|
@@ -2210,7 +2210,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2210
2210
|
}), (k = p.current) == null || k.prev();
|
|
2211
2211
|
}, I = () => {
|
|
2212
2212
|
var k;
|
|
2213
|
-
|
|
2213
|
+
f({
|
|
2214
2214
|
element: "casino_next",
|
|
2215
2215
|
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
|
|
2216
2216
|
target: "next",
|
|
@@ -2221,8 +2221,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2221
2221
|
},
|
|
2222
2222
|
tags: { section: "OraculoSeccionCasino" }
|
|
2223
2223
|
}), (k = p.current) == null || k.next();
|
|
2224
|
-
},
|
|
2225
|
-
if (
|
|
2224
|
+
}, D = () => {
|
|
2225
|
+
if (f({
|
|
2226
2226
|
element: "casino_view_more",
|
|
2227
2227
|
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
|
|
2228
2228
|
target: "https://www.olimpo.bet/casino",
|
|
@@ -2238,12 +2238,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2238
2238
|
}
|
|
2239
2239
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
|
|
2240
2240
|
}, T = (k = !0, x = 4) => {
|
|
2241
|
-
const O = (z) => Array.from({ length: z }, (R,
|
|
2242
|
-
id: `sk-${z}-${
|
|
2241
|
+
const O = (z) => Array.from({ length: z }, (R, U) => ({
|
|
2242
|
+
id: `sk-${z}-${U}`,
|
|
2243
2243
|
imageUrl: ""
|
|
2244
2244
|
})), L = [];
|
|
2245
2245
|
return k && L.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), L.push({ id: "grid-loading", kind: "grid", items: O(x) }), L;
|
|
2246
|
-
}, N = m ? S : !Array.isArray(e) || e.length === 0, E =
|
|
2246
|
+
}, N = m ? S : !Array.isArray(e) || e.length === 0, E = De("(max-width:950px)"), M = N ? T(r, s) : pn(y, r, s);
|
|
2247
2247
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2248
2248
|
/* @__PURE__ */ b(
|
|
2249
2249
|
F,
|
|
@@ -2285,7 +2285,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2285
2285
|
}
|
|
2286
2286
|
)
|
|
2287
2287
|
] }),
|
|
2288
|
-
/* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick:
|
|
2288
|
+
/* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
|
|
2289
2289
|
]
|
|
2290
2290
|
}
|
|
2291
2291
|
),
|
|
@@ -2325,10 +2325,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2325
2325
|
onClick: (x) => {
|
|
2326
2326
|
if (N) return;
|
|
2327
2327
|
const O = y.find(
|
|
2328
|
-
(R,
|
|
2328
|
+
(R, U) => String(xt(R, U)) === String(x.id)
|
|
2329
2329
|
);
|
|
2330
2330
|
if (!O) return;
|
|
2331
|
-
o == null || o(O),
|
|
2331
|
+
o == null || o(O), f({
|
|
2332
2332
|
element: "casino_game_card",
|
|
2333
2333
|
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(O.machine || "unknown")}`,
|
|
2334
2334
|
target: String(O.machine || "unknown"),
|
|
@@ -2347,7 +2347,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2347
2347
|
}
|
|
2348
2348
|
}
|
|
2349
2349
|
) }),
|
|
2350
|
-
onMove: ({ isStart: k, isEnd: x }) =>
|
|
2350
|
+
onMove: ({ isStart: k, isEnd: x }) => g({ isStart: k, isEnd: x })
|
|
2351
2351
|
}
|
|
2352
2352
|
)
|
|
2353
2353
|
] }) });
|
|
@@ -2366,10 +2366,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2366
2366
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2367
2367
|
}, hn = (e, a = !0, n = 1) => {
|
|
2368
2368
|
const o = e.map((s, c) => {
|
|
2369
|
-
var
|
|
2369
|
+
var f;
|
|
2370
2370
|
return {
|
|
2371
2371
|
id: wt(s, c),
|
|
2372
|
-
imageUrl: (
|
|
2372
|
+
imageUrl: (f = s.logo) != null ? f : "",
|
|
2373
2373
|
...s.background ? { background: s.background } : {}
|
|
2374
2374
|
};
|
|
2375
2375
|
});
|
|
@@ -2417,7 +2417,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2417
2417
|
gridSize: s = 1,
|
|
2418
2418
|
isPersonalize: c = !1
|
|
2419
2419
|
}) => {
|
|
2420
|
-
const
|
|
2420
|
+
const f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), p = ae(), d = ne(), g = le(), m = gn(c), { resolvedItems: _, loading: S } = sn(
|
|
2421
2421
|
e,
|
|
2422
2422
|
m
|
|
2423
2423
|
), y = m ? _ : Array.isArray(e) ? e : [], v = () => {
|
|
@@ -2427,12 +2427,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2427
2427
|
label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Anterior`,
|
|
2428
2428
|
target: "prev",
|
|
2429
2429
|
event_type: "click",
|
|
2430
|
-
module_id:
|
|
2430
|
+
module_id: g,
|
|
2431
2431
|
metadata: {
|
|
2432
2432
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2433
2433
|
},
|
|
2434
2434
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2435
|
-
}), (M =
|
|
2435
|
+
}), (M = f.current) == null || M.prev();
|
|
2436
2436
|
}, I = () => {
|
|
2437
2437
|
var M;
|
|
2438
2438
|
p({
|
|
@@ -2440,19 +2440,19 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2440
2440
|
label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Siguiente`,
|
|
2441
2441
|
target: "next",
|
|
2442
2442
|
event_type: "click",
|
|
2443
|
-
module_id:
|
|
2443
|
+
module_id: g,
|
|
2444
2444
|
metadata: {
|
|
2445
2445
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2446
2446
|
},
|
|
2447
2447
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2448
|
-
}), (M =
|
|
2449
|
-
},
|
|
2448
|
+
}), (M = f.current) == null || M.next();
|
|
2449
|
+
}, D = () => {
|
|
2450
2450
|
if (p({
|
|
2451
2451
|
element: "virtuales_view_more",
|
|
2452
2452
|
label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Ver más`,
|
|
2453
2453
|
target: "https://www.olimpo.bet/juegos-virtuales",
|
|
2454
2454
|
event_type: "click",
|
|
2455
|
-
module_id:
|
|
2455
|
+
module_id: g,
|
|
2456
2456
|
metadata: {
|
|
2457
2457
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2458
2458
|
},
|
|
@@ -2504,14 +2504,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2504
2504
|
}
|
|
2505
2505
|
)
|
|
2506
2506
|
] }),
|
|
2507
|
-
/* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick:
|
|
2507
|
+
/* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
|
|
2508
2508
|
]
|
|
2509
2509
|
}
|
|
2510
2510
|
),
|
|
2511
2511
|
/* @__PURE__ */ t(
|
|
2512
2512
|
he,
|
|
2513
2513
|
{
|
|
2514
|
-
ref:
|
|
2514
|
+
ref: f,
|
|
2515
2515
|
items: E,
|
|
2516
2516
|
perPage: void 0,
|
|
2517
2517
|
gap: "16px",
|
|
@@ -2558,7 +2558,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2558
2558
|
label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Game: ${String(x.machine || "unknown")}`,
|
|
2559
2559
|
target: String(x.machine || "unknown"),
|
|
2560
2560
|
event_type: "click",
|
|
2561
|
-
module_id:
|
|
2561
|
+
module_id: g,
|
|
2562
2562
|
metadata: {
|
|
2563
2563
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2564
2564
|
},
|
|
@@ -2618,7 +2618,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2618
2618
|
items: n,
|
|
2619
2619
|
backgroundImageUrl: o
|
|
2620
2620
|
}) => {
|
|
2621
|
-
const i = ae(), r = ne(), s = xe("(max-width: 767px)"), c = n.length > 1,
|
|
2621
|
+
const i = ae(), r = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, f = V(null), h = V(null), u = V(!1), p = V(!1), [d, g] = Z(0), [m, _] = Z({ isStart: !0, isEnd: !1 });
|
|
2622
2622
|
ee(() => {
|
|
2623
2623
|
const x = setTimeout(() => {
|
|
2624
2624
|
u.current = !0;
|
|
@@ -2629,13 +2629,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2629
2629
|
ee(() => {
|
|
2630
2630
|
S.current = m;
|
|
2631
2631
|
}, [m]);
|
|
2632
|
-
const y = V(!1), v = V(null), I = n == null ? void 0 : n[d],
|
|
2632
|
+
const y = V(!1), v = V(null), I = n == null ? void 0 : n[d], D = ie(
|
|
2633
2633
|
() => {
|
|
2634
2634
|
var x, O;
|
|
2635
2635
|
return (O = (x = I == null ? void 0 : I.backgroundImageUrl) != null ? x : o) != null ? O : "";
|
|
2636
2636
|
},
|
|
2637
2637
|
[I, o]
|
|
2638
|
-
), T = _n(
|
|
2638
|
+
), T = _n(D), N = !n || n.length === 0, E = (x, O) => {
|
|
2639
2639
|
i({
|
|
2640
2640
|
element: "welcome_banner_button",
|
|
2641
2641
|
label: `OraculoSeccionBonoBienvenida - Banner button click: ${x.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
|
|
@@ -2683,10 +2683,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2683
2683
|
const O = 6, L = 380, z = (R) => {
|
|
2684
2684
|
var C, q;
|
|
2685
2685
|
if (N || R.ctrlKey || y.current) return;
|
|
2686
|
-
const
|
|
2687
|
-
if (Math.abs(
|
|
2688
|
-
const G =
|
|
2689
|
-
G && S.current.isEnd || !G && S.current.isStart || (R.preventDefault(), y.current = !0, G ? (C =
|
|
2686
|
+
const U = R.deltaX, W = R.deltaY;
|
|
2687
|
+
if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < O) return;
|
|
2688
|
+
const G = U > 0;
|
|
2689
|
+
G && S.current.isEnd || !G && S.current.isStart || (R.preventDefault(), y.current = !0, G ? (C = f.current) == null || C.next() : (q = f.current) == null || q.prev(), v.current && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
|
|
2690
2690
|
y.current = !1;
|
|
2691
2691
|
}, L));
|
|
2692
2692
|
};
|
|
@@ -2695,8 +2695,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2695
2695
|
};
|
|
2696
2696
|
}, [N]);
|
|
2697
2697
|
const k = (x, O, L) => {
|
|
2698
|
-
var
|
|
2699
|
-
const z = (
|
|
2698
|
+
var U, W;
|
|
2699
|
+
const z = (U = x.headline) != null ? U : e, R = (W = x.headline2) != null ? W : a;
|
|
2700
2700
|
return O ? /* @__PURE__ */ b(
|
|
2701
2701
|
F,
|
|
2702
2702
|
{
|
|
@@ -2760,7 +2760,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2760
2760
|
/* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
2761
2761
|
he,
|
|
2762
2762
|
{
|
|
2763
|
-
ref:
|
|
2763
|
+
ref: f,
|
|
2764
2764
|
items: n,
|
|
2765
2765
|
perPage: 1,
|
|
2766
2766
|
gap: "0px",
|
|
@@ -2776,7 +2776,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2776
2776
|
},
|
|
2777
2777
|
renderItem: (x, O) => /* @__PURE__ */ t(F, { sx: { width: "100%" }, children: k(x, !s, O) }),
|
|
2778
2778
|
onMove: ({ index: x, isStart: O, isEnd: L }) => {
|
|
2779
|
-
|
|
2779
|
+
g(x), typeof O == "boolean" && typeof L == "boolean" && _({ isStart: O, isEnd: L }), M(x);
|
|
2780
2780
|
}
|
|
2781
2781
|
}
|
|
2782
2782
|
) }),
|
|
@@ -2801,7 +2801,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2801
2801
|
tags: {
|
|
2802
2802
|
navigation_type: "dot_click"
|
|
2803
2803
|
}
|
|
2804
|
-
}),
|
|
2804
|
+
}), g(x), (O = f.current) == null || O.go(x);
|
|
2805
2805
|
}
|
|
2806
2806
|
}
|
|
2807
2807
|
) })
|
|
@@ -2814,7 +2814,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2814
2814
|
ariaLabel: i,
|
|
2815
2815
|
user: r = null
|
|
2816
2816
|
}) => {
|
|
2817
|
-
const s = V(null), c = V(null),
|
|
2817
|
+
const s = V(null), c = V(null), f = ae(), h = ne(), u = le();
|
|
2818
2818
|
if (!n) return null;
|
|
2819
2819
|
const p = async () => {
|
|
2820
2820
|
let _ = r;
|
|
@@ -2827,7 +2827,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2827
2827
|
}
|
|
2828
2828
|
if (!(_ != null && _.user) || !(_ != null && _.session))
|
|
2829
2829
|
return console.warn("User data missing"), null;
|
|
2830
|
-
|
|
2830
|
+
f({
|
|
2831
2831
|
element: "club_olimpo_button",
|
|
2832
2832
|
label: `${h} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
|
|
2833
2833
|
target: "https://www.clubolimpo.com/OlimpoBetWeb/",
|
|
@@ -2861,7 +2861,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2861
2861
|
}, d = async () => {
|
|
2862
2862
|
const _ = await p();
|
|
2863
2863
|
_ ? window.location.href = _ : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
2864
|
-
},
|
|
2864
|
+
}, g = Array.isArray(n) ? n[o] : n;
|
|
2865
2865
|
Mt(() => {
|
|
2866
2866
|
if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
|
|
2867
2867
|
const _ = s.current, S = c.current, y = () => {
|
|
@@ -2882,17 +2882,17 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2882
2882
|
{
|
|
2883
2883
|
ref: s,
|
|
2884
2884
|
className: m,
|
|
2885
|
-
"aria-label": i ||
|
|
2885
|
+
"aria-label": i || g.imgAlt || "Club Olimpo",
|
|
2886
2886
|
children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
|
|
2887
2887
|
Sa,
|
|
2888
2888
|
{
|
|
2889
|
-
text:
|
|
2889
|
+
text: g.text,
|
|
2890
2890
|
onClick: d,
|
|
2891
|
-
imgAlt:
|
|
2892
|
-
buttonLabel:
|
|
2893
|
-
imgSrcMobile:
|
|
2894
|
-
imgSrcDesktopBg:
|
|
2895
|
-
imgSrcDesktopLogo:
|
|
2891
|
+
imgAlt: g.imgAlt,
|
|
2892
|
+
buttonLabel: g.buttonLabel,
|
|
2893
|
+
imgSrcMobile: g.imgMobile,
|
|
2894
|
+
imgSrcDesktopBg: g.imgDesktopBg,
|
|
2895
|
+
imgSrcDesktopLogo: g.imgDesktopLogo
|
|
2896
2896
|
}
|
|
2897
2897
|
) })
|
|
2898
2898
|
}
|
|
@@ -2910,15 +2910,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2910
2910
|
function Cn(e, a, n) {
|
|
2911
2911
|
return n ? n.map((o) => {
|
|
2912
2912
|
var u, p;
|
|
2913
|
-
const i = o.prePackCouponRows.flatMap((d) => In(d).map((
|
|
2913
|
+
const i = o.prePackCouponRows.flatMap((d) => In(d).map((g) => ({ eventId: d.eventId, outcomeId: g }))), r = new Set(i.map((d) => d.eventId)), s = new Set(i.map((d) => d.outcomeId)), c = new Map(i.map((d, g) => [d.outcomeId, g])), f = {};
|
|
2914
2914
|
for (const d of a) {
|
|
2915
2915
|
if (!r.has(d.eventId)) continue;
|
|
2916
|
-
const
|
|
2917
|
-
|
|
2916
|
+
const g = d.outcomes.filter((m) => s.has(m.id)).map((m) => ({ ...m, position: c.get(m.id) }));
|
|
2917
|
+
g.length && ((p = f[u = d.eventId]) != null || (f[u] = []), f[d.eventId].push({ ...d, outcomes: g }));
|
|
2918
2918
|
}
|
|
2919
2919
|
const h = e.filter((d) => r.has(d.id)).map((d) => {
|
|
2920
|
-
var
|
|
2921
|
-
return { ...d, betoffers: (
|
|
2920
|
+
var g;
|
|
2921
|
+
return { ...d, betoffers: (g = f[d.id]) != null ? g : [] };
|
|
2922
2922
|
});
|
|
2923
2923
|
return {
|
|
2924
2924
|
couponId: o.id,
|
|
@@ -2945,7 +2945,7 @@ function Tn({
|
|
|
2945
2945
|
onViewMore: o,
|
|
2946
2946
|
className: i = ""
|
|
2947
2947
|
}) {
|
|
2948
|
-
const r = ae(), s = ne(), c = le(),
|
|
2948
|
+
const r = ae(), s = ne(), c = le(), f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), [p, d] = Z([]), g = "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", m = () => {
|
|
2949
2949
|
var T;
|
|
2950
2950
|
r({
|
|
2951
2951
|
element: "evento_combinadas_prev",
|
|
@@ -2956,7 +2956,7 @@ function Tn({
|
|
|
2956
2956
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2957
2957
|
},
|
|
2958
2958
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2959
|
-
}), (T =
|
|
2959
|
+
}), (T = f.current) == null || T.prev();
|
|
2960
2960
|
}, _ = () => {
|
|
2961
2961
|
var T;
|
|
2962
2962
|
r({
|
|
@@ -2968,7 +2968,7 @@ function Tn({
|
|
|
2968
2968
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2969
2969
|
},
|
|
2970
2970
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2971
|
-
}), (T =
|
|
2971
|
+
}), (T = f.current) == null || T.next();
|
|
2972
2972
|
}, S = () => {
|
|
2973
2973
|
r({
|
|
2974
2974
|
element: "evento_combinadas_ver_mas",
|
|
@@ -2984,7 +2984,7 @@ function Tn({
|
|
|
2984
2984
|
async function v() {
|
|
2985
2985
|
var T, N, E, M;
|
|
2986
2986
|
try {
|
|
2987
|
-
const x = await (await fetch(
|
|
2987
|
+
const x = await (await fetch(g)).json(), O = (M = (E = (N = (T = x == null ? void 0 : x.group) == null ? void 0 : T.groups) == null ? void 0 : N.map((U) => U.id)) == null ? void 0 : E.filter(Boolean)) == null ? void 0 : M.join(",");
|
|
2988
2988
|
if (!O) {
|
|
2989
2989
|
console.error("Could not extract group ID");
|
|
2990
2990
|
return;
|
|
@@ -2998,7 +2998,7 @@ function Tn({
|
|
|
2998
2998
|
ee(() => {
|
|
2999
2999
|
v();
|
|
3000
3000
|
}, []);
|
|
3001
|
-
const I = i || void 0,
|
|
3001
|
+
const I = i || void 0, D = xe("(max-width:950px)");
|
|
3002
3002
|
return y.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
|
|
3003
3003
|
// paddingLeft: 16,
|
|
3004
3004
|
// paddingRight: 16,
|
|
@@ -3015,7 +3015,7 @@ function Tn({
|
|
|
3015
3015
|
ariaLabel: "Anterior",
|
|
3016
3016
|
variant: "secondary",
|
|
3017
3017
|
iconOnly: !0,
|
|
3018
|
-
leftIcon: /* @__PURE__ */ t(
|
|
3018
|
+
leftIcon: /* @__PURE__ */ t(Be, {}),
|
|
3019
3019
|
onClick: m,
|
|
3020
3020
|
disabled: h.isStart
|
|
3021
3021
|
}
|
|
@@ -3038,14 +3038,14 @@ function Tn({
|
|
|
3038
3038
|
/* @__PURE__ */ t(
|
|
3039
3039
|
he,
|
|
3040
3040
|
{
|
|
3041
|
-
ref:
|
|
3041
|
+
ref: f,
|
|
3042
3042
|
items: y,
|
|
3043
3043
|
perPage: void 0,
|
|
3044
3044
|
gap: "16px",
|
|
3045
3045
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
3046
3046
|
useIndexAsKey: !0,
|
|
3047
3047
|
enableHorizontalWheel: !0,
|
|
3048
|
-
showRightGradient: !
|
|
3048
|
+
showRightGradient: !D,
|
|
3049
3049
|
breakpoints: {
|
|
3050
3050
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3051
3051
|
},
|
|
@@ -3092,10 +3092,10 @@ function kn({}) {
|
|
|
3092
3092
|
const $n = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Nn = {
|
|
3093
3093
|
fadeWrapper: $n
|
|
3094
3094
|
};
|
|
3095
|
-
function
|
|
3095
|
+
function Ae({ children: e }) {
|
|
3096
3096
|
return /* @__PURE__ */ t("div", { className: Nn.fadeWrapper, children: e });
|
|
3097
3097
|
}
|
|
3098
|
-
const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD",
|
|
3098
|
+
const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", An = {
|
|
3099
3099
|
padding: Mn
|
|
3100
3100
|
};
|
|
3101
3101
|
function St({
|
|
@@ -3105,23 +3105,23 @@ function St({
|
|
|
3105
3105
|
buffer: o = 2,
|
|
3106
3106
|
debounceMs: i = 250
|
|
3107
3107
|
}) {
|
|
3108
|
-
const [r, s] = Z({}), c = V(/* @__PURE__ */ new Set()),
|
|
3108
|
+
const [r, s] = Z({}), c = V(/* @__PURE__ */ new Set()), f = V(0), h = V(null), u = V(null);
|
|
3109
3109
|
return ee(() => {
|
|
3110
3110
|
if (!(!e || e.length === 0))
|
|
3111
3111
|
return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
|
|
3112
|
-
var
|
|
3113
|
-
const p = (
|
|
3114
|
-
let _ =
|
|
3112
|
+
var D, T;
|
|
3113
|
+
const p = (D = a.start) != null ? D : 0, d = (T = a.end) != null ? T : 7, g = Math.max(0, p - o), m = Math.min(e.length - 1, d + o);
|
|
3114
|
+
let _ = g, S = m;
|
|
3115
3115
|
const y = u.current;
|
|
3116
|
-
y && (
|
|
3116
|
+
y && (g > y.end && (_ = y.end + 1), m < y.start && (S = y.start - 1)), u.current = { start: g, end: m };
|
|
3117
3117
|
const v = e.slice(_, S + 1).map((N) => N == null ? void 0 : N.id).filter((N) => !!N).filter((N) => !c.current.has(N)).filter((N) => !(N in r));
|
|
3118
3118
|
if (v.length === 0) return;
|
|
3119
3119
|
v.forEach((N) => c.current.add(N));
|
|
3120
|
-
const I = ++
|
|
3120
|
+
const I = ++f.current;
|
|
3121
3121
|
(async () => {
|
|
3122
3122
|
try {
|
|
3123
3123
|
const N = await n(v);
|
|
3124
|
-
if (I !==
|
|
3124
|
+
if (I !== f.current) {
|
|
3125
3125
|
v.forEach((M) => c.current.delete(M));
|
|
3126
3126
|
return;
|
|
3127
3127
|
}
|
|
@@ -3159,7 +3159,7 @@ function St({
|
|
|
3159
3159
|
isPending: c.current
|
|
3160
3160
|
};
|
|
3161
3161
|
}
|
|
3162
|
-
const
|
|
3162
|
+
const Bn = (e) => {
|
|
3163
3163
|
const a = ["esports", "cyber"];
|
|
3164
3164
|
return e.filter((n) => {
|
|
3165
3165
|
var r, s;
|
|
@@ -3168,7 +3168,7 @@ const An = (e) => {
|
|
|
3168
3168
|
const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
|
|
3169
3169
|
return !a.some((c) => i.includes(c));
|
|
3170
3170
|
});
|
|
3171
|
-
}, zn = fe.memo(
|
|
3171
|
+
}, zn = fe.memo(Da);
|
|
3172
3172
|
function Rn({
|
|
3173
3173
|
items: e,
|
|
3174
3174
|
title: a = "En vivo",
|
|
@@ -3176,7 +3176,7 @@ function Rn({
|
|
|
3176
3176
|
onViewMore: o,
|
|
3177
3177
|
className: i = ""
|
|
3178
3178
|
}) {
|
|
3179
|
-
const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c,
|
|
3179
|
+
const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), [h, u] = Z(null), [p, d] = Z({ start: null, end: null }), [g, m] = Z(null), _ = V(!1), S = ae(), y = ne(), v = le(), I = V(/* @__PURE__ */ new Map()), D = () => {
|
|
3180
3180
|
var z;
|
|
3181
3181
|
S({
|
|
3182
3182
|
element: "evento_en_vivo_prev",
|
|
@@ -3213,7 +3213,7 @@ function Rn({
|
|
|
3213
3213
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3214
3214
|
},
|
|
3215
3215
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3216
|
-
}),
|
|
3216
|
+
}), Aa();
|
|
3217
3217
|
}, E = Ee(async () => {
|
|
3218
3218
|
var z;
|
|
3219
3219
|
try {
|
|
@@ -3228,7 +3228,7 @@ function Rn({
|
|
|
3228
3228
|
}
|
|
3229
3229
|
const R = await fetch(r);
|
|
3230
3230
|
if (!R.ok) throw new Error("Failed to fetch live events");
|
|
3231
|
-
const
|
|
3231
|
+
const U = await R.json(), W = Bn(U.events);
|
|
3232
3232
|
if (I.current.size === 0)
|
|
3233
3233
|
u(W);
|
|
3234
3234
|
else {
|
|
@@ -3263,7 +3263,7 @@ function Rn({
|
|
|
3263
3263
|
width: "100%",
|
|
3264
3264
|
boxSizing: "border-box"
|
|
3265
3265
|
}, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3266
|
-
/* @__PURE__ */ t("div", { className:
|
|
3266
|
+
/* @__PURE__ */ t("div", { className: An.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3267
3267
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
3268
3268
|
/* @__PURE__ */ b("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
3269
3269
|
/* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
|
|
@@ -3273,8 +3273,8 @@ function Rn({
|
|
|
3273
3273
|
ariaLabel: "Anterior",
|
|
3274
3274
|
variant: "secondary",
|
|
3275
3275
|
iconOnly: !0,
|
|
3276
|
-
leftIcon: /* @__PURE__ */ t(
|
|
3277
|
-
onClick:
|
|
3276
|
+
leftIcon: /* @__PURE__ */ t(Be, {}),
|
|
3277
|
+
onClick: D,
|
|
3278
3278
|
disabled: c.isStart
|
|
3279
3279
|
}
|
|
3280
3280
|
),
|
|
@@ -3310,19 +3310,19 @@ function Rn({
|
|
|
3310
3310
|
},
|
|
3311
3311
|
renderItem: (z) => {
|
|
3312
3312
|
var W;
|
|
3313
|
-
const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId,
|
|
3314
|
-
return x ? /* @__PURE__ */ t(
|
|
3313
|
+
const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in M ? M[R] : void 0;
|
|
3314
|
+
return x ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(
|
|
3315
3315
|
zn,
|
|
3316
3316
|
{
|
|
3317
3317
|
...z,
|
|
3318
|
-
jersey:
|
|
3318
|
+
jersey: U
|
|
3319
3319
|
}
|
|
3320
3320
|
) });
|
|
3321
3321
|
},
|
|
3322
|
-
onMove: ({ isStart: z, isEnd: R, visibleStart:
|
|
3323
|
-
|
|
3322
|
+
onMove: ({ isStart: z, isEnd: R, visibleStart: U, visibleEnd: W }) => {
|
|
3323
|
+
f(
|
|
3324
3324
|
(G) => G.isStart === z && G.isEnd === R ? G : { isStart: z, isEnd: R }
|
|
3325
|
-
), d({ start:
|
|
3325
|
+
), d({ start: U, end: W });
|
|
3326
3326
|
}
|
|
3327
3327
|
}
|
|
3328
3328
|
)
|
|
@@ -3356,19 +3356,19 @@ function Ln() {
|
|
|
3356
3356
|
] }) })
|
|
3357
3357
|
] });
|
|
3358
3358
|
}
|
|
3359
|
-
const Pn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", qn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT",
|
|
3359
|
+
const Pn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", qn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
|
|
3360
3360
|
wrapper: Pn,
|
|
3361
3361
|
container: Fn,
|
|
3362
3362
|
buttonWrapper: qn,
|
|
3363
|
-
padding:
|
|
3364
|
-
},
|
|
3363
|
+
padding: Dn
|
|
3364
|
+
}, Un = fe.memo(Za);
|
|
3365
3365
|
async function Vn(e, a = 2, n) {
|
|
3366
3366
|
const o = [];
|
|
3367
3367
|
for (let i = 0; i < e.length; i += a) {
|
|
3368
3368
|
if (n.aborted)
|
|
3369
3369
|
throw new DOMException("Aborted", "AbortError");
|
|
3370
3370
|
const r = e.slice(i, i + a), s = await Promise.all(
|
|
3371
|
-
r.map((c) => fetch(c, { signal: n }).then((
|
|
3371
|
+
r.map((c) => fetch(c, { signal: n }).then((f) => f.json()))
|
|
3372
3372
|
);
|
|
3373
3373
|
o.push(...s);
|
|
3374
3374
|
}
|
|
@@ -3404,7 +3404,7 @@ function Hn({
|
|
|
3404
3404
|
onViewMore: o,
|
|
3405
3405
|
className: i = ""
|
|
3406
3406
|
}) {
|
|
3407
|
-
const r = ae(), s = ne(), c = le(),
|
|
3407
|
+
const r = ae(), s = ne(), c = le(), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, p] = Z({ isStart: !0, isEnd: !1 }), [d, g] = Z(null), [m, _] = Z({ start: null, end: null }), S = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", y = () => {
|
|
3408
3408
|
r({
|
|
3409
3409
|
element: "evento_semana_view_more",
|
|
3410
3410
|
label: `${s} - OraculoSeccionEventoSemana - Ver más`,
|
|
@@ -3415,7 +3415,7 @@ function Hn({
|
|
|
3415
3415
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3416
3416
|
},
|
|
3417
3417
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3418
|
-
}),
|
|
3418
|
+
}), Ba();
|
|
3419
3419
|
};
|
|
3420
3420
|
async function v(k) {
|
|
3421
3421
|
var L, z;
|
|
@@ -3426,15 +3426,15 @@ function Hn({
|
|
|
3426
3426
|
{ signal: k }
|
|
3427
3427
|
);
|
|
3428
3428
|
if (R.ok) {
|
|
3429
|
-
const
|
|
3430
|
-
x = ((L =
|
|
3429
|
+
const U = await R.json();
|
|
3430
|
+
x = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], O = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
|
|
3431
3431
|
}
|
|
3432
3432
|
} catch (R) {
|
|
3433
3433
|
R.name !== "AbortError" && console.warn("Order API not available, using default group order");
|
|
3434
3434
|
return;
|
|
3435
3435
|
}
|
|
3436
3436
|
try {
|
|
3437
|
-
const W = (await (await fetch(
|
|
3437
|
+
const W = (await (await fetch(f, { signal: k })).json()).group.groups.find(
|
|
3438
3438
|
(l) => l.englishName === "Football"
|
|
3439
3439
|
);
|
|
3440
3440
|
if (!W || !Array.isArray(W.groups)) {
|
|
@@ -3447,8 +3447,8 @@ function Hn({
|
|
|
3447
3447
|
x.map((w, $) => [w, $])
|
|
3448
3448
|
);
|
|
3449
3449
|
G.sort((w, $) => {
|
|
3450
|
-
const
|
|
3451
|
-
return
|
|
3450
|
+
const A = l.get(String(w.id)), B = l.get(String($.id));
|
|
3451
|
+
return A !== void 0 && B !== void 0 ? A - B : A !== void 0 ? -1 : B !== void 0 ? 1 : 0;
|
|
3452
3452
|
});
|
|
3453
3453
|
}
|
|
3454
3454
|
const q = G.slice(0, 5), K = (l) => {
|
|
@@ -3477,7 +3477,7 @@ function Hn({
|
|
|
3477
3477
|
...C.events.flatMap((q) => q.betOffers || [])
|
|
3478
3478
|
));
|
|
3479
3479
|
});
|
|
3480
|
-
const
|
|
3480
|
+
const U = jn(z, R), W = Wn(Gn(U));
|
|
3481
3481
|
let G = W;
|
|
3482
3482
|
if (x.length > 0) {
|
|
3483
3483
|
const C = new Map(
|
|
@@ -3492,7 +3492,7 @@ function Hn({
|
|
|
3492
3492
|
});
|
|
3493
3493
|
}
|
|
3494
3494
|
if (O.aborted) return;
|
|
3495
|
-
|
|
3495
|
+
g(G);
|
|
3496
3496
|
} catch (L) {
|
|
3497
3497
|
console.error("Error loading events:", L);
|
|
3498
3498
|
}
|
|
@@ -3504,7 +3504,7 @@ function Hn({
|
|
|
3504
3504
|
k.abort();
|
|
3505
3505
|
};
|
|
3506
3506
|
}, [e]);
|
|
3507
|
-
const
|
|
3507
|
+
const D = i || void 0, T = {
|
|
3508
3508
|
paddingLeft: 0,
|
|
3509
3509
|
width: "100%",
|
|
3510
3510
|
boxSizing: "border-box"
|
|
@@ -3515,7 +3515,7 @@ function Hn({
|
|
|
3515
3515
|
buffer: 2,
|
|
3516
3516
|
debounceMs: 250
|
|
3517
3517
|
}), E = d === null, M = xe("(max-width:950px)");
|
|
3518
|
-
return !E && d.length === 0 ? null : /* @__PURE__ */ t("section", { className:
|
|
3518
|
+
return !E && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: T, children: /* @__PURE__ */ b("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
|
|
3519
3519
|
/* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3520
3520
|
/* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
|
|
3521
3521
|
/* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
|
|
@@ -3551,7 +3551,7 @@ function Hn({
|
|
|
3551
3551
|
},
|
|
3552
3552
|
renderItem: (k) => {
|
|
3553
3553
|
const x = k.id, O = x in N ? N[x] : void 0;
|
|
3554
|
-
return E ? /* @__PURE__ */ t(
|
|
3554
|
+
return E ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Ln, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Un, { event: k, jersey: O }) });
|
|
3555
3555
|
},
|
|
3556
3556
|
onMove: ({ isStart: k, isEnd: x, visibleStart: O, visibleEnd: L }) => {
|
|
3557
3557
|
p({ isStart: k, isEnd: x }), _({
|
|
@@ -3580,8 +3580,8 @@ function Hn({
|
|
|
3580
3580
|
const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
|
|
3581
3581
|
if (!e) return null;
|
|
3582
3582
|
if (Zn(e)) {
|
|
3583
|
-
const
|
|
3584
|
-
return Number.isNaN(
|
|
3583
|
+
const f = new Date(e).getTime();
|
|
3584
|
+
return Number.isNaN(f) ? null : f;
|
|
3585
3585
|
}
|
|
3586
3586
|
const a = e.match(
|
|
3587
3587
|
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
|
|
@@ -3597,8 +3597,8 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
|
|
|
3597
3597
|
Number(c)
|
|
3598
3598
|
);
|
|
3599
3599
|
}, Jn = (e, a) => {
|
|
3600
|
-
var c,
|
|
3601
|
-
const n = (h = (
|
|
3600
|
+
var c, f, h, u, p, d, g, m, _;
|
|
3601
|
+
const n = (h = (f = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? f : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (p = e == null ? void 0 : e.startAt) != null ? p : (u = n.find((S) => (S == null ? void 0 : S.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (_ = (m = e == null ? void 0 : e.endAt) != null ? m : (g = n.find((S) => (S == null ? void 0 : S.name) === "endAt")) == null ? void 0 : g.value) != null ? _ : null, r = nt(o), s = nt(i);
|
|
3602
3602
|
return !(r != null && a < r || s != null && a >= s);
|
|
3603
3603
|
};
|
|
3604
3604
|
function Xn({
|
|
@@ -3607,8 +3607,8 @@ function Xn({
|
|
|
3607
3607
|
hideItems: n
|
|
3608
3608
|
}) {
|
|
3609
3609
|
var W, G;
|
|
3610
|
-
const [o, i] = Z(0), r = ae(), s = ne(), c = le(),
|
|
3611
|
-
|
|
3610
|
+
const [o, i] = Z(0), r = ae(), s = ne(), c = le(), f = V(null), h = V(!1), u = V(!1), [p, d] = Z(() => Date.now()), g = se("setDepositActionGlobal"), m = ie(() => (e != null ? e : []).filter((C) => Jn(C, p)), [e, p]), _ = m.length || 1, S = !m || m.length === 0, y = !S && m.length > 1, v = !n && ((W = a == null ? void 0 : a.length) != null ? W : 0) > 0;
|
|
3611
|
+
De("(max-width:950px)");
|
|
3612
3612
|
const I = "#B5B5B5";
|
|
3613
3613
|
ee(() => {
|
|
3614
3614
|
const C = window.setInterval(() => {
|
|
@@ -3616,7 +3616,7 @@ function Xn({
|
|
|
3616
3616
|
}, 3e4);
|
|
3617
3617
|
return () => window.clearInterval(C);
|
|
3618
3618
|
}, []);
|
|
3619
|
-
const
|
|
3619
|
+
const D = {
|
|
3620
3620
|
position: "absolute",
|
|
3621
3621
|
top: "50%",
|
|
3622
3622
|
transform: "translateY(-50%)",
|
|
@@ -3661,7 +3661,7 @@ function Xn({
|
|
|
3661
3661
|
if (q.idfunction)
|
|
3662
3662
|
switch (C.preventDefault(), q.idfunction) {
|
|
3663
3663
|
case "deposito":
|
|
3664
|
-
|
|
3664
|
+
g == null || g(!0);
|
|
3665
3665
|
return;
|
|
3666
3666
|
default:
|
|
3667
3667
|
return;
|
|
@@ -3702,27 +3702,23 @@ function Xn({
|
|
|
3702
3702
|
C.onClick();
|
|
3703
3703
|
return;
|
|
3704
3704
|
}
|
|
3705
|
-
if (C.href === "#deposito") {
|
|
3706
|
-
console.log("click deposito"), f == null || f(!0);
|
|
3707
|
-
return;
|
|
3708
|
-
}
|
|
3709
3705
|
C.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(C.href);
|
|
3710
3706
|
}, M = 5e3, k = V(null), x = !S && ((G = m == null ? void 0 : m.length) != null ? G : 0) > 1, O = () => {
|
|
3711
3707
|
k.current != null && (window.clearTimeout(k.current), k.current = null);
|
|
3712
3708
|
}, L = () => {
|
|
3713
3709
|
O(), x && (k.current = window.setTimeout(() => {
|
|
3714
3710
|
var C;
|
|
3715
|
-
u.current = !0, (C =
|
|
3711
|
+
u.current = !0, (C = f.current) == null || C.next();
|
|
3716
3712
|
}, M));
|
|
3717
3713
|
};
|
|
3718
3714
|
ee(() => (L(), () => O()), [x, M]);
|
|
3719
3715
|
const z = (C) => {
|
|
3720
3716
|
var q;
|
|
3721
|
-
C.preventDefault(), C.stopPropagation(), O(), (q =
|
|
3717
|
+
C.preventDefault(), C.stopPropagation(), O(), (q = f.current) == null || q.prev();
|
|
3722
3718
|
}, R = (C) => {
|
|
3723
3719
|
var q;
|
|
3724
|
-
C.preventDefault(), C.stopPropagation(), O(), (q =
|
|
3725
|
-
},
|
|
3720
|
+
C.preventDefault(), C.stopPropagation(), O(), (q = f.current) == null || q.next();
|
|
3721
|
+
}, U = (C) => {
|
|
3726
3722
|
var Y, l, w, $;
|
|
3727
3723
|
const q = (C % _ + _) % _;
|
|
3728
3724
|
if (!h.current) return;
|
|
@@ -3779,7 +3775,7 @@ function Xn({
|
|
|
3779
3775
|
children: /* @__PURE__ */ t(
|
|
3780
3776
|
he,
|
|
3781
3777
|
{
|
|
3782
|
-
ref:
|
|
3778
|
+
ref: f,
|
|
3783
3779
|
items: m,
|
|
3784
3780
|
perPage: 1,
|
|
3785
3781
|
gap: "0px",
|
|
@@ -3789,7 +3785,7 @@ function Xn({
|
|
|
3789
3785
|
const q = (C % _ + _) % _;
|
|
3790
3786
|
i(q);
|
|
3791
3787
|
const K = u.current;
|
|
3792
|
-
u.current = !1, L(), K ||
|
|
3788
|
+
u.current = !1, L(), K || U(C);
|
|
3793
3789
|
},
|
|
3794
3790
|
renderItem: (C, q) => {
|
|
3795
3791
|
var K, Y, l;
|
|
@@ -3797,7 +3793,7 @@ function Xn({
|
|
|
3797
3793
|
Q,
|
|
3798
3794
|
{
|
|
3799
3795
|
component: "a",
|
|
3800
|
-
href: C.href || "
|
|
3796
|
+
href: C.href || "",
|
|
3801
3797
|
target: (K = C.target) != null ? K : "_self",
|
|
3802
3798
|
rel: C.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
3803
3799
|
onClick: (w) => N(w, C, q),
|
|
@@ -3864,12 +3860,12 @@ function Xn({
|
|
|
3864
3860
|
"aria-label": "Anterior",
|
|
3865
3861
|
onClick: z,
|
|
3866
3862
|
sx: {
|
|
3867
|
-
...
|
|
3863
|
+
...D,
|
|
3868
3864
|
left: "120px",
|
|
3869
3865
|
"@media (max-width:1024px)": { left: 24 },
|
|
3870
3866
|
"@media (max-width:786px)": { display: "none" }
|
|
3871
3867
|
},
|
|
3872
|
-
children: /* @__PURE__ */ t(
|
|
3868
|
+
children: /* @__PURE__ */ t(Be, {})
|
|
3873
3869
|
}
|
|
3874
3870
|
),
|
|
3875
3871
|
/* @__PURE__ */ t(
|
|
@@ -3878,7 +3874,7 @@ function Xn({
|
|
|
3878
3874
|
"aria-label": "Siguiente",
|
|
3879
3875
|
onClick: R,
|
|
3880
3876
|
sx: {
|
|
3881
|
-
...
|
|
3877
|
+
...D,
|
|
3882
3878
|
right: "120px",
|
|
3883
3879
|
"@media (max-width:1024px)": { right: 24 },
|
|
3884
3880
|
"@media (max-width:786px)": { display: "none" }
|
|
@@ -5521,10 +5517,10 @@ const it = [
|
|
|
5521
5517
|
loader: r,
|
|
5522
5518
|
disableWrapper: s = !1
|
|
5523
5519
|
}) => {
|
|
5524
|
-
const c = ie(() => oo(i), [i]),
|
|
5520
|
+
const c = ie(() => oo(i), [i]), f = r || c.loader, [h, u] = Z([]), [p, d] = Z(!1), [g, m] = Z({}), [_, S] = Z({}), [y, v] = Z({}), I = De("(min-width:1024px)"), D = ie(
|
|
5525
5521
|
() => Ce(qe),
|
|
5526
5522
|
[]
|
|
5527
|
-
), T = (l) =>
|
|
5523
|
+
), T = (l) => D.find(
|
|
5528
5524
|
(w) => w.id === l.id || w.componentKey === l.componentKey
|
|
5529
5525
|
), N = (l) => Array.isArray(l) ? l.map((w) => Number(w)).filter((w) => !Number.isNaN(w)) : [], E = ie(() => {
|
|
5530
5526
|
const l = c.user;
|
|
@@ -5536,18 +5532,18 @@ const it = [
|
|
|
5536
5532
|
(P) => String((P == null ? void 0 : P.name) || "").trim().toLowerCase() === "groups"
|
|
5537
5533
|
);
|
|
5538
5534
|
if (!$) return [];
|
|
5539
|
-
const
|
|
5540
|
-
if (
|
|
5541
|
-
if (Array.isArray(
|
|
5542
|
-
return
|
|
5543
|
-
const
|
|
5544
|
-
return
|
|
5535
|
+
const A = $.value;
|
|
5536
|
+
if (A == null) return [];
|
|
5537
|
+
if (Array.isArray(A))
|
|
5538
|
+
return A.map((P) => Number(String(P).trim())).filter((P) => !Number.isNaN(P));
|
|
5539
|
+
const B = String(A).trim();
|
|
5540
|
+
return B ? B.split(",").map((P) => Number(P.trim())).filter((P) => !Number.isNaN(P)) : [];
|
|
5545
5541
|
}, k = (l, w) => {
|
|
5546
5542
|
const $ = M(l);
|
|
5547
5543
|
if ($.length === 0) return !0;
|
|
5548
5544
|
if (!Array.isArray(w) || w.length === 0) return !1;
|
|
5549
|
-
const
|
|
5550
|
-
return $.some((
|
|
5545
|
+
const A = new Set(w);
|
|
5546
|
+
return $.some((B) => A.has(B));
|
|
5551
5547
|
};
|
|
5552
5548
|
ee(() => {
|
|
5553
5549
|
if (e) return;
|
|
@@ -5555,8 +5551,8 @@ const it = [
|
|
|
5555
5551
|
console.warn("[landing] sin db -> fallback json"), u(Ce(qe));
|
|
5556
5552
|
return;
|
|
5557
5553
|
}
|
|
5558
|
-
const l = ($,
|
|
5559
|
-
console.warn("[landing] FALLBACK:", $,
|
|
5554
|
+
const l = ($, A) => {
|
|
5555
|
+
console.warn("[landing] FALLBACK:", $, A != null ? A : ""), u(Ce(qe)), d(!1);
|
|
5560
5556
|
};
|
|
5561
5557
|
if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
|
|
5562
5558
|
d(!0), l("forzado por env");
|
|
@@ -5571,14 +5567,14 @@ const it = [
|
|
|
5571
5567
|
l(`doc landings/${a} no existe`);
|
|
5572
5568
|
return;
|
|
5573
5569
|
}
|
|
5574
|
-
const
|
|
5575
|
-
if (!
|
|
5576
|
-
l("JSON inválido o sin secciones normalizables",
|
|
5570
|
+
const A = $.data(), B = Ce(A);
|
|
5571
|
+
if (!B.length) {
|
|
5572
|
+
l("JSON inválido o sin secciones normalizables", A);
|
|
5577
5573
|
return;
|
|
5578
5574
|
}
|
|
5579
|
-
console.log("[landing] Firestore OK (json grande):",
|
|
5580
|
-
} catch (
|
|
5581
|
-
l("error procesando snapshot",
|
|
5575
|
+
console.log("[landing] Firestore OK (json grande):", A), u(B);
|
|
5576
|
+
} catch (A) {
|
|
5577
|
+
l("error procesando snapshot", A);
|
|
5582
5578
|
} finally {
|
|
5583
5579
|
d(!1);
|
|
5584
5580
|
}
|
|
@@ -5600,30 +5596,30 @@ const it = [
|
|
|
5600
5596
|
};
|
|
5601
5597
|
const w = (l.apiUrl || "").trim();
|
|
5602
5598
|
if (!w) return;
|
|
5603
|
-
const $ = l.apiMethod || "GET",
|
|
5604
|
-
let
|
|
5599
|
+
const $ = l.apiMethod || "GET", A = l.apiParams || [];
|
|
5600
|
+
let B = w, P, J;
|
|
5605
5601
|
if ($ === "GET") {
|
|
5606
5602
|
const re = new URL(
|
|
5607
5603
|
w,
|
|
5608
5604
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
5609
5605
|
);
|
|
5610
|
-
for (const oe of
|
|
5606
|
+
for (const oe of A)
|
|
5611
5607
|
oe.key && re.searchParams.append(oe.key, oe.value);
|
|
5612
|
-
|
|
5608
|
+
B = re.toString();
|
|
5613
5609
|
} else {
|
|
5614
5610
|
const re = new URLSearchParams();
|
|
5615
|
-
for (const oe of
|
|
5611
|
+
for (const oe of A)
|
|
5616
5612
|
oe.key && re.append(oe.key, oe.value);
|
|
5617
5613
|
P = re.toString(), J = {
|
|
5618
5614
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
5619
5615
|
};
|
|
5620
5616
|
}
|
|
5621
|
-
const te = await fetch(
|
|
5617
|
+
const te = await fetch(B, {
|
|
5622
5618
|
method: $,
|
|
5623
5619
|
headers: J,
|
|
5624
5620
|
body: P
|
|
5625
5621
|
});
|
|
5626
|
-
if (!te.ok) throw new ot(te.status,
|
|
5622
|
+
if (!te.ok) throw new ot(te.status, B, te.statusText);
|
|
5627
5623
|
return te.json();
|
|
5628
5624
|
}, O = ie(
|
|
5629
5625
|
() => e ? e.slice() : h.slice(),
|
|
@@ -5633,16 +5629,16 @@ const it = [
|
|
|
5633
5629
|
const l = O.map((w) => ({ s: w, url: (w.apiUrl || "").trim() })).filter(({ url: w }) => !!w);
|
|
5634
5630
|
if (l.length)
|
|
5635
5631
|
for (const { s: w, url: $ } of l) {
|
|
5636
|
-
const
|
|
5637
|
-
L.current.has(
|
|
5632
|
+
const A = `${w.id}|${$}`;
|
|
5633
|
+
L.current.has(A) || (L.current.add(A), S((B) => ({ ...B, [w.id]: !0 })), v((B) => ({ ...B, [w.id]: "" })), (async () => {
|
|
5638
5634
|
try {
|
|
5639
|
-
const
|
|
5640
|
-
m((P) => ({ ...P, [w.id]:
|
|
5641
|
-
} catch (
|
|
5635
|
+
const B = await x(w);
|
|
5636
|
+
m((P) => ({ ...P, [w.id]: B }));
|
|
5637
|
+
} catch (B) {
|
|
5642
5638
|
let P = "Error desconocido";
|
|
5643
|
-
|
|
5639
|
+
B instanceof ot ? P = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? P = "Respuesta no es JSON válido" : B instanceof TypeError ? P = "Fallo de red / CORS / conexión" : typeof B == "string" && (P = B.toString()), v((J) => ({ ...J, [w.id]: P }));
|
|
5644
5640
|
} finally {
|
|
5645
|
-
S((
|
|
5641
|
+
S((B) => ({ ...B, [w.id]: !1 }));
|
|
5646
5642
|
}
|
|
5647
5643
|
})());
|
|
5648
5644
|
}
|
|
@@ -5652,48 +5648,48 @@ const it = [
|
|
|
5652
5648
|
[O, E]
|
|
5653
5649
|
), R = (l) => Array.isArray(l) ? l.map((w) => {
|
|
5654
5650
|
const $ = {};
|
|
5655
|
-
for (const
|
|
5656
|
-
const
|
|
5657
|
-
if (
|
|
5658
|
-
const P = String(
|
|
5651
|
+
for (const A of w.fields || []) {
|
|
5652
|
+
const B = (A.type || "string").toLowerCase();
|
|
5653
|
+
if (B === "number") {
|
|
5654
|
+
const P = String(A.value || "").trim();
|
|
5659
5655
|
if (P !== "") {
|
|
5660
5656
|
const J = Number(P);
|
|
5661
|
-
Number.isNaN(J) || ($[
|
|
5657
|
+
Number.isNaN(J) || ($[A.name] = J);
|
|
5662
5658
|
}
|
|
5663
|
-
} else if (
|
|
5664
|
-
$[
|
|
5665
|
-
else if (
|
|
5666
|
-
const P = String(
|
|
5659
|
+
} else if (B === "boolean")
|
|
5660
|
+
$[A.name] = String(A.value).toLowerCase() === "true";
|
|
5661
|
+
else if (B === "function") {
|
|
5662
|
+
const P = String(A.value || "").trim();
|
|
5667
5663
|
if (P)
|
|
5668
5664
|
try {
|
|
5669
5665
|
const J = new Function(P);
|
|
5670
|
-
$[
|
|
5666
|
+
$[A.name] = J;
|
|
5671
5667
|
} catch (J) {
|
|
5672
|
-
console.error(`❌ Error creando función en item '${
|
|
5668
|
+
console.error(`❌ Error creando función en item '${A.name}':`, J);
|
|
5673
5669
|
}
|
|
5674
5670
|
} else
|
|
5675
|
-
$[
|
|
5671
|
+
$[A.name] = A.value;
|
|
5676
5672
|
}
|
|
5677
5673
|
return $;
|
|
5678
|
-
}) : [],
|
|
5674
|
+
}) : [], U = (l) => {
|
|
5679
5675
|
const w = {};
|
|
5680
5676
|
if (!Array.isArray(l)) return w;
|
|
5681
5677
|
for (const $ of l) {
|
|
5682
5678
|
if (!$.name) continue;
|
|
5683
|
-
const
|
|
5684
|
-
if (
|
|
5685
|
-
const
|
|
5686
|
-
if (
|
|
5687
|
-
const P = Number(
|
|
5679
|
+
const A = ($.type || "string").toLowerCase();
|
|
5680
|
+
if (A === "number") {
|
|
5681
|
+
const B = String($.value || "").trim();
|
|
5682
|
+
if (B !== "") {
|
|
5683
|
+
const P = Number(B);
|
|
5688
5684
|
Number.isNaN(P) || (w[$.name] = P);
|
|
5689
5685
|
}
|
|
5690
|
-
} else if (
|
|
5686
|
+
} else if (A === "boolean")
|
|
5691
5687
|
w[$.name] = String($.value).toLowerCase() === "true";
|
|
5692
|
-
else if (
|
|
5693
|
-
const
|
|
5694
|
-
if (
|
|
5688
|
+
else if (A === "function") {
|
|
5689
|
+
const B = String($.value || "").trim();
|
|
5690
|
+
if (B)
|
|
5695
5691
|
try {
|
|
5696
|
-
const P = new Function(
|
|
5692
|
+
const P = new Function(B);
|
|
5697
5693
|
w[$.name] = P;
|
|
5698
5694
|
} catch (P) {
|
|
5699
5695
|
console.error(`❌ Error creando función en item '${$.name}':`, P);
|
|
@@ -5702,51 +5698,51 @@ const it = [
|
|
|
5702
5698
|
w[$.name] = $.value;
|
|
5703
5699
|
}
|
|
5704
5700
|
return w;
|
|
5705
|
-
}, W = (l, w, $,
|
|
5706
|
-
const
|
|
5701
|
+
}, W = (l, w, $, A) => {
|
|
5702
|
+
const B = $ ? { ...$ } : {}, P = (A || "items").trim() || "items";
|
|
5707
5703
|
if (w)
|
|
5708
|
-
return
|
|
5704
|
+
return B[P] = w.arr || [], B;
|
|
5709
5705
|
const J = l;
|
|
5710
5706
|
if (Array.isArray(J))
|
|
5711
|
-
return
|
|
5707
|
+
return B[P] = J, B;
|
|
5712
5708
|
if (J && typeof J == "object") {
|
|
5713
5709
|
const te = J;
|
|
5714
|
-
return Array.isArray(te.lobby) ? (
|
|
5710
|
+
return Array.isArray(te.lobby) ? (B[P] = te.lobby, B) : Array.isArray(te.items) ? (B[P] = te.items, B) : (B[P] = J, B);
|
|
5715
5711
|
}
|
|
5716
|
-
return
|
|
5712
|
+
return B[P] = [], B;
|
|
5717
5713
|
}, G = (l) => {
|
|
5718
5714
|
var P;
|
|
5719
|
-
const w = !!((P = l.apiUrl) != null && P.trim()), $ = w ?
|
|
5720
|
-
let
|
|
5721
|
-
const
|
|
5715
|
+
const w = !!((P = l.apiUrl) != null && P.trim()), $ = w ? g[l.id] : void 0;
|
|
5716
|
+
let A = l.props ? { ...l.props } : {};
|
|
5717
|
+
const B = U(l.manualScalarFields);
|
|
5722
5718
|
if (it.includes(l.componentKey))
|
|
5723
|
-
return { items: $, ...
|
|
5724
|
-
if (
|
|
5725
|
-
|
|
5719
|
+
return { items: $, ...A, ...B };
|
|
5720
|
+
if (A = { ...A, ...B }, w)
|
|
5721
|
+
A = W($, null, A);
|
|
5726
5722
|
else if (l.dataMode === "manual") {
|
|
5727
5723
|
const J = R(l.manualItems);
|
|
5728
|
-
if (
|
|
5724
|
+
if (A = W(
|
|
5729
5725
|
null,
|
|
5730
5726
|
{ arr: J, variableName: l.variableName },
|
|
5731
|
-
|
|
5727
|
+
A,
|
|
5732
5728
|
l.variableName
|
|
5733
5729
|
), l.variableName2 && l.manualItems2) {
|
|
5734
5730
|
const te = R(l.manualItems2), re = (l.variableName2 || "items2").trim() || "items2";
|
|
5735
|
-
|
|
5731
|
+
A[re] = te;
|
|
5736
5732
|
}
|
|
5737
5733
|
}
|
|
5738
|
-
return
|
|
5734
|
+
return A;
|
|
5739
5735
|
}, C = (l) => {
|
|
5740
5736
|
const w = l.props ? { ...l.props } : {};
|
|
5741
5737
|
try {
|
|
5742
|
-
Object.assign(w,
|
|
5743
|
-
} catch (
|
|
5744
|
-
console.error("❌ Error armando scalars vacíos:", l,
|
|
5738
|
+
Object.assign(w, U(l.manualScalarFields));
|
|
5739
|
+
} catch (A) {
|
|
5740
|
+
console.error("❌ Error armando scalars vacíos:", l, A);
|
|
5745
5741
|
}
|
|
5746
5742
|
const $ = (l.variableName || "items").trim() || "items";
|
|
5747
5743
|
if (typeof w[$] == "undefined" && (w[$] = []), l.variableName2) {
|
|
5748
|
-
const
|
|
5749
|
-
typeof w[
|
|
5744
|
+
const A = (l.variableName2 || "items2").trim() || "items2";
|
|
5745
|
+
typeof w[A] == "undefined" && (w[A] = []);
|
|
5750
5746
|
}
|
|
5751
5747
|
return w;
|
|
5752
5748
|
}, q = (l) => {
|
|
@@ -5760,8 +5756,8 @@ const it = [
|
|
|
5760
5756
|
return console.warn(
|
|
5761
5757
|
`[landing] usando fallback local para sección ${l.title} (${l.componentKey})`
|
|
5762
5758
|
), G($);
|
|
5763
|
-
} catch (
|
|
5764
|
-
console.error("🔥 ERROR EN fallback buildCompProps:", $,
|
|
5759
|
+
} catch (A) {
|
|
5760
|
+
console.error("🔥 ERROR EN fallback buildCompProps:", $, A);
|
|
5765
5761
|
}
|
|
5766
5762
|
return C(l);
|
|
5767
5763
|
}
|
|
@@ -5771,7 +5767,7 @@ const it = [
|
|
|
5771
5767
|
component: "bg-yellow-100 text-yellow-800"
|
|
5772
5768
|
}[w]}`, children: $ }, l), Y = (l) => {
|
|
5773
5769
|
var He;
|
|
5774
|
-
const w = l.componentKey, $ = no[w],
|
|
5770
|
+
const w = l.componentKey, $ = no[w], B = (/* @__PURE__ */ new Set([
|
|
5775
5771
|
"OraculoSeccionBanners",
|
|
5776
5772
|
"OraculoSeccionBonoBienvenida",
|
|
5777
5773
|
"OraculoSeccionCasinoEnVivo",
|
|
@@ -5787,7 +5783,7 @@ const it = [
|
|
|
5787
5783
|
])).has(l.componentKey), P = I ? 120 : 24, J = (I ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
|
|
5788
5784
|
width: "100%",
|
|
5789
5785
|
boxSizing: "border-box",
|
|
5790
|
-
...
|
|
5786
|
+
...B ? {} : { paddingLeft: P, paddingRight: P },
|
|
5791
5787
|
...te ? {
|
|
5792
5788
|
marginTop: -J,
|
|
5793
5789
|
marginBottom: -J
|
|
@@ -5799,7 +5795,7 @@ const it = [
|
|
|
5799
5795
|
"component",
|
|
5800
5796
|
`Componente "${w}" no encontrado`
|
|
5801
5797
|
);
|
|
5802
|
-
const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ?
|
|
5798
|
+
const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? g[l.id] : void 0, Ct = oe ? !!_[l.id] : !1, Ge = oe ? y[l.id] : "";
|
|
5803
5799
|
if (oe) {
|
|
5804
5800
|
if (Ct && !We)
|
|
5805
5801
|
return K(
|
|
@@ -5841,7 +5837,7 @@ const it = [
|
|
|
5841
5837
|
l.id
|
|
5842
5838
|
) });
|
|
5843
5839
|
};
|
|
5844
|
-
return p && !e ?
|
|
5840
|
+
return p && !e ? f ? /* @__PURE__ */ t(f, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !p && !e && h.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
|
|
5845
5841
|
Et,
|
|
5846
5842
|
{
|
|
5847
5843
|
className: "oli-font",
|
|
@@ -5872,7 +5868,7 @@ export {
|
|
|
5872
5868
|
dt as OraculoCarouselDots,
|
|
5873
5869
|
Sa as OraculoClubOlimpoVisual,
|
|
5874
5870
|
Ra as OraculoEventCombinadasCard,
|
|
5875
|
-
|
|
5871
|
+
Da as OraculoEventEnVivoCard,
|
|
5876
5872
|
Ht as OraculoEventHeader,
|
|
5877
5873
|
ut as OraculoEventLabel,
|
|
5878
5874
|
mt as OraculoEventLeague,
|