oraculo-ui 0.2.50 → 0.2.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 +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +178 -177
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -192,7 +192,7 @@ function ta({
|
|
|
192
192
|
subtitle: a,
|
|
193
193
|
maxSubtitleChars: n = 25
|
|
194
194
|
}) {
|
|
195
|
-
const o = !!(a && a.length
|
|
195
|
+
const o = !!(a && a.length >= n);
|
|
196
196
|
return /* @__PURE__ */ g("div", { className: be.contenedor, children: [
|
|
197
197
|
/* @__PURE__ */ t("span", { className: be.title, children: e }),
|
|
198
198
|
a && /* @__PURE__ */ g("div", { className: be.flexGroup, children: [
|
|
@@ -227,7 +227,7 @@ function aa({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
|
|
|
227
227
|
fontSize: "12px",
|
|
228
228
|
lineHeight: "16px",
|
|
229
229
|
fontWeight: 700,
|
|
230
|
-
width: "
|
|
230
|
+
width: "42px",
|
|
231
231
|
height: "16px",
|
|
232
232
|
textAlign: "center"
|
|
233
233
|
},
|
|
@@ -256,10 +256,10 @@ function oa({ title: e, subtitle: a, live: n = !1, time: o = "", extra: i = "" }
|
|
|
256
256
|
alignItems: "center",
|
|
257
257
|
justifyContent: "space-between",
|
|
258
258
|
color: "#FFFFFF",
|
|
259
|
-
gap: "
|
|
259
|
+
gap: "5px"
|
|
260
260
|
},
|
|
261
261
|
children: [
|
|
262
|
-
/* @__PURE__ */ t(ta, { title: e, subtitle: a }),
|
|
262
|
+
/* @__PURE__ */ t(ta, { title: e, subtitle: a, maxSubtitleChars: i ? 17 : 24 }),
|
|
263
263
|
/* @__PURE__ */ t(na, { live: n, time: o, extra: i })
|
|
264
264
|
]
|
|
265
265
|
}
|
|
@@ -1650,28 +1650,29 @@ function rt({
|
|
|
1650
1650
|
}
|
|
1651
1651
|
);
|
|
1652
1652
|
}
|
|
1653
|
-
const Xa = "oraculo__OraculoTennisScoreboard-module__tennisContainer___I3KST", Qa = "oraculo__OraculoTennisScoreboard-module__tennisTable___haqoS", Ya = "oraculo__OraculoTennisScoreboard-
|
|
1653
|
+
const Xa = "oraculo__OraculoTennisScoreboard-module__tennisContainer___I3KST", Qa = "oraculo__OraculoTennisScoreboard-module__tennisTable___haqoS", Ya = "oraculo__OraculoTennisScoreboard-module__tennisTableRow___IbIkR", en = "oraculo__OraculoTennisScoreboard-module__colName___mNrno", tn = "oraculo__OraculoTennisScoreboard-module__colHeader___e3Eis", an = "oraculo__OraculoTennisScoreboard-module__serveDot___hn2Zf", nn = "oraculo__OraculoTennisScoreboard-module__activeServe___SMoyr", on = "oraculo__OraculoTennisScoreboard-module__cellPlayerNameHome___pUZjS", rn = "oraculo__OraculoTennisScoreboard-module__cellPlayerNameAway___jf9sp", ln = "oraculo__OraculoTennisScoreboard-module__playerName___OKXca", sn = "oraculo__OraculoTennisScoreboard-module__cellStat___QhEvN", cn = "oraculo__OraculoTennisScoreboard-module__active___5OX1k", dn = "oraculo__OraculoTennisScoreboard-module__border___Xzw2j", un = "oraculo__OraculoTennisScoreboard-module__hasDivider___Dv65A", mn = "oraculo__OraculoTennisScoreboard-module__colDot___euain", pn = "oraculo__OraculoTennisScoreboard-module__dotWrapper___k0gUr", fn = "oraculo__OraculoTennisScoreboard-module__cellDotHome___Y7hCS", gn = "oraculo__OraculoTennisScoreboard-module__cellDotAway___9Ugqr", hn = "oraculo__OraculoTennisScoreboard-module__cellHome___J2681", bn = "oraculo__OraculoTennisScoreboard-module__cellAway___yJ34F", U = {
|
|
1654
1654
|
tennisContainer: Xa,
|
|
1655
1655
|
tennisTable: Qa,
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1656
|
+
tennisTableRow: Ya,
|
|
1657
|
+
colName: en,
|
|
1658
|
+
colHeader: tn,
|
|
1659
|
+
serveDot: an,
|
|
1660
|
+
activeServe: nn,
|
|
1661
|
+
cellPlayerNameHome: on,
|
|
1662
|
+
cellPlayerNameAway: rn,
|
|
1663
|
+
playerName: ln,
|
|
1664
|
+
cellStat: sn,
|
|
1665
|
+
active: cn,
|
|
1666
|
+
border: dn,
|
|
1667
|
+
hasDivider: un,
|
|
1668
|
+
colDot: mn,
|
|
1669
|
+
dotWrapper: pn,
|
|
1670
|
+
cellDotHome: fn,
|
|
1671
|
+
cellDotAway: gn,
|
|
1672
|
+
cellHome: hn,
|
|
1673
|
+
cellAway: bn
|
|
1673
1674
|
};
|
|
1674
|
-
function
|
|
1675
|
+
function _n({
|
|
1675
1676
|
homeName: e = "",
|
|
1676
1677
|
awayName: a = "",
|
|
1677
1678
|
homeSets: n = [],
|
|
@@ -1705,14 +1706,14 @@ function bn({
|
|
|
1705
1706
|
/* @__PURE__ */ t("th", { className: U.colHeader, children: "PTS" })
|
|
1706
1707
|
] }) }),
|
|
1707
1708
|
/* @__PURE__ */ g("tbody", { children: [
|
|
1708
|
-
/* @__PURE__ */ g("tr", { children: [
|
|
1709
|
+
/* @__PURE__ */ g("tr", { className: U.tennisTableRow, children: [
|
|
1709
1710
|
/* @__PURE__ */ t("td", { className: U.cellDotHome, children: /* @__PURE__ */ t("div", { className: U.dotWrapper, children: /* @__PURE__ */ t("span", { className: `${U.serveDot} ${s ? U.activeServe : ""}` }) }) }),
|
|
1710
1711
|
/* @__PURE__ */ t("td", { className: `${U.cellPlayerNameHome} ${U.hasDivider}`, children: /* @__PURE__ */ t("span", { className: U.playerName, children: e }) }),
|
|
1711
1712
|
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellHome} ${U.hasDivider} ${v ? U.active : ""}`, children: h }),
|
|
1712
1713
|
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellHome} ${U.hasDivider} ${U.border} ${v ? U.active : ""}`, children: m }),
|
|
1713
1714
|
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellHome} ${U.hasDivider} ${v ? U.active : ""}`, children: i })
|
|
1714
1715
|
] }),
|
|
1715
|
-
/* @__PURE__ */ g("tr", { children: [
|
|
1716
|
+
/* @__PURE__ */ g("tr", { className: U.tennisTableRow, children: [
|
|
1716
1717
|
/* @__PURE__ */ t("td", { className: U.cellDotAway, children: /* @__PURE__ */ t("div", { className: U.dotWrapper, children: /* @__PURE__ */ t("span", { className: `${U.serveDot} ${s ? "" : U.activeServe}` }) }) }),
|
|
1717
1718
|
/* @__PURE__ */ t("td", { className: U.cellPlayerNameAway, children: /* @__PURE__ */ t("span", { className: U.playerName, children: a }) }),
|
|
1718
1719
|
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellAway} ${O ? U.active : ""}`, children: b }),
|
|
@@ -1722,12 +1723,12 @@ function bn({
|
|
|
1722
1723
|
] })
|
|
1723
1724
|
] }) });
|
|
1724
1725
|
}
|
|
1725
|
-
const
|
|
1726
|
-
cardWrapper:
|
|
1727
|
-
cardWrapperTennis:
|
|
1728
|
-
customButtonLabel:
|
|
1729
|
-
customButtonLabelBold:
|
|
1730
|
-
customButtonDisabled:
|
|
1726
|
+
const vn = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", yn = "oraculo__OraculoEventEnVivoCard-module__cardWrapperTennis___MI-jh", xn = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Sn = "oraculo__OraculoEventEnVivoCard-module__customButtonLabelBold___iI-oh", wn = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", Ie = {
|
|
1727
|
+
cardWrapper: vn,
|
|
1728
|
+
cardWrapperTennis: yn,
|
|
1729
|
+
customButtonLabel: xn,
|
|
1730
|
+
customButtonLabelBold: Sn,
|
|
1731
|
+
customButtonDisabled: wn
|
|
1731
1732
|
}, it = {
|
|
1732
1733
|
base: "FFFFFF",
|
|
1733
1734
|
sleeve: "FFFFFF",
|
|
@@ -1748,7 +1749,7 @@ const _n = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", vn = "
|
|
|
1748
1749
|
return a === "home" ? it : lt;
|
|
1749
1750
|
const o = (l = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : l[n];
|
|
1750
1751
|
return o || (a === "home" ? it : lt);
|
|
1751
|
-
},
|
|
1752
|
+
}, On = {
|
|
1752
1753
|
FIRST_HALF: "1er tiempo",
|
|
1753
1754
|
SECOND_HALF: "2do tiempo",
|
|
1754
1755
|
QUARTER1: "1Q",
|
|
@@ -1757,9 +1758,9 @@ const _n = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", vn = "
|
|
|
1757
1758
|
QUARTER4: "4Q"
|
|
1758
1759
|
}, st = (e) => {
|
|
1759
1760
|
var a;
|
|
1760
|
-
return e ? (a =
|
|
1761
|
+
return e ? (a = On[e]) != null ? a : e : "";
|
|
1761
1762
|
};
|
|
1762
|
-
function
|
|
1763
|
+
function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
1763
1764
|
var d, f, x, v, O, M, N, _, $, w, S, L, R, A, y, I, F, B, P, W, V, H, G, D, K, Y, r, p, T, k;
|
|
1764
1765
|
const i = ((d = e == null ? void 0 : e.sport) == null ? void 0 : d.toUpperCase()) === "TENNIS", l = ((f = e == null ? void 0 : e.sport) == null ? void 0 : f.toUpperCase()) === "BASKETBALL", s = ((x = e == null ? void 0 : e.sport) == null ? void 0 : x.toUpperCase()) === "FOOTBALL", c = n == null ? void 0 : n.find(
|
|
1765
1766
|
(E) => {
|
|
@@ -1796,7 +1797,7 @@ function On({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1796
1797
|
}
|
|
1797
1798
|
),
|
|
1798
1799
|
/* @__PURE__ */ t("div", { children: i ? /* @__PURE__ */ t(
|
|
1799
|
-
|
|
1800
|
+
_n,
|
|
1800
1801
|
{
|
|
1801
1802
|
homeName: e == null ? void 0 : e.homeName,
|
|
1802
1803
|
awayName: e == null ? void 0 : e.awayName,
|
|
@@ -1826,7 +1827,7 @@ function On({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1826
1827
|
};
|
|
1827
1828
|
return /* @__PURE__ */ t(te, { children: l || i ? /* @__PURE__ */ g(te, { children: [
|
|
1828
1829
|
/* @__PURE__ */ t(me, { spacing: 1, columns: "1fr", children: /* @__PURE__ */ t(Ke, { text: "Ganador del partido" }) }),
|
|
1829
|
-
/* @__PURE__ */ t(me, { spacing: 2, children: q.map((j, ie) => /* @__PURE__ */ t(
|
|
1830
|
+
/* @__PURE__ */ t(me, { spacing: 2, children: q.slice(0, 2).map((j, ie) => /* @__PURE__ */ t(
|
|
1830
1831
|
rt,
|
|
1831
1832
|
{
|
|
1832
1833
|
variant: "primary",
|
|
@@ -1885,19 +1886,19 @@ function On({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1885
1886
|
})() })
|
|
1886
1887
|
] }) });
|
|
1887
1888
|
}
|
|
1888
|
-
const
|
|
1889
|
-
date:
|
|
1889
|
+
const Tn = "oraculo__OraculoEventDate-module__date___xhIlh", En = {
|
|
1890
|
+
date: Tn
|
|
1890
1891
|
};
|
|
1891
|
-
function
|
|
1892
|
-
return /* @__PURE__ */ t("div", { className: `oli-font ${
|
|
1892
|
+
function Cn({ text: e }) {
|
|
1893
|
+
return /* @__PURE__ */ t("div", { className: `oli-font ${En.date}`, children: e });
|
|
1893
1894
|
}
|
|
1894
|
-
const
|
|
1895
|
-
cardContainer:
|
|
1896
|
-
cardBackground:
|
|
1897
|
-
jugadas:
|
|
1898
|
-
equipos:
|
|
1895
|
+
const kn = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Nn = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", $n = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", An = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", Te = {
|
|
1896
|
+
cardContainer: kn,
|
|
1897
|
+
cardBackground: Nn,
|
|
1898
|
+
jugadas: $n,
|
|
1899
|
+
equipos: An
|
|
1899
1900
|
};
|
|
1900
|
-
function
|
|
1901
|
+
function Mn({ event: e, jersey: a }) {
|
|
1901
1902
|
var c, h, b, m;
|
|
1902
1903
|
const n = se(), o = ce();
|
|
1903
1904
|
function i(u) {
|
|
@@ -1928,7 +1929,7 @@ function An({ event: e, jersey: a }) {
|
|
|
1928
1929
|
/* @__PURE__ */ t(St, { text: "vs.", name: "", size: "small" }),
|
|
1929
1930
|
/* @__PURE__ */ t(ze, { name: e.awayName, sport: e.sport, gender: s, size: "compact", jersey: De(a, "away"), flag: (m = a == null ? void 0 : a.awayFlag) != null ? m : "" })
|
|
1930
1931
|
] }),
|
|
1931
|
-
/* @__PURE__ */ t(
|
|
1932
|
+
/* @__PURE__ */ t(Cn, { text: i(e.start) })
|
|
1932
1933
|
] }),
|
|
1933
1934
|
/* @__PURE__ */ t(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: (() => {
|
|
1934
1935
|
var O, M, N;
|
|
@@ -1965,7 +1966,7 @@ function An({ event: e, jersey: a }) {
|
|
|
1965
1966
|
] }) })
|
|
1966
1967
|
] });
|
|
1967
1968
|
}
|
|
1968
|
-
const
|
|
1969
|
+
const Bn = (e = 3) => Array.from({ length: e }, (a, n) => ({
|
|
1969
1970
|
body: "",
|
|
1970
1971
|
image: "",
|
|
1971
1972
|
title: `sk-${n}`,
|
|
@@ -1977,7 +1978,7 @@ const Mn = (e = 3) => Array.from({ length: e }, (a, n) => ({
|
|
|
1977
1978
|
tags: "",
|
|
1978
1979
|
summary_image: ""
|
|
1979
1980
|
}));
|
|
1980
|
-
function
|
|
1981
|
+
function Ln({
|
|
1981
1982
|
items: e,
|
|
1982
1983
|
title: a = "Destacados",
|
|
1983
1984
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
|
|
@@ -2102,7 +2103,7 @@ function Bn({
|
|
|
2102
2103
|
xe,
|
|
2103
2104
|
{
|
|
2104
2105
|
ref: c,
|
|
2105
|
-
items: f ?
|
|
2106
|
+
items: f ? Bn() : e,
|
|
2106
2107
|
perPage: void 0,
|
|
2107
2108
|
gap: "16px",
|
|
2108
2109
|
enableHorizontalWheel: !0,
|
|
@@ -2178,17 +2179,17 @@ function Ct() {
|
|
|
2178
2179
|
const e = globalThis;
|
|
2179
2180
|
return e[qe] || (e[qe] = {}), e[qe];
|
|
2180
2181
|
}
|
|
2181
|
-
function
|
|
2182
|
+
function Rn(e) {
|
|
2182
2183
|
Ct().extras = e;
|
|
2183
2184
|
}
|
|
2184
2185
|
function ue(e) {
|
|
2185
2186
|
var a;
|
|
2186
2187
|
return (a = Ct().extras) == null ? void 0 : a[e];
|
|
2187
2188
|
}
|
|
2188
|
-
function
|
|
2189
|
+
function Pn() {
|
|
2189
2190
|
delete globalThis[qe];
|
|
2190
2191
|
}
|
|
2191
|
-
function
|
|
2192
|
+
function Fn({
|
|
2192
2193
|
items: e,
|
|
2193
2194
|
title: a = "Top Juegos",
|
|
2194
2195
|
iconUrl: n,
|
|
@@ -2258,7 +2259,7 @@ function Pn({
|
|
|
2258
2259
|
)
|
|
2259
2260
|
] }) });
|
|
2260
2261
|
}
|
|
2261
|
-
const
|
|
2262
|
+
const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", zn = (e, a) => {
|
|
2262
2263
|
var n, o, i, l, s, c, h, b, m, u, d, f, x, v;
|
|
2263
2264
|
return {
|
|
2264
2265
|
orden: Number(a),
|
|
@@ -2279,15 +2280,15 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2279
2280
|
demo_allowed: (x = e.demo_allowed) != null ? x : !1,
|
|
2280
2281
|
gaming_session_required: (v = e.gaming_session_required) != null ? v : !1
|
|
2281
2282
|
};
|
|
2282
|
-
},
|
|
2283
|
+
}, Un = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], Dn = () => {
|
|
2283
2284
|
var a, n, o;
|
|
2284
2285
|
const e = ue("user");
|
|
2285
2286
|
return (o = (n = (a = e == null ? void 0 : e.userId) != null ? a : e == null ? void 0 : e.user) != null ? n : e == null ? void 0 : e.id) != null ? o : null;
|
|
2286
|
-
},
|
|
2287
|
-
const a =
|
|
2287
|
+
}, Wn = async (e) => {
|
|
2288
|
+
const a = Dn(), n = new URLSearchParams({
|
|
2288
2289
|
userId: String(a),
|
|
2289
2290
|
productType: e
|
|
2290
|
-
}), o = `${
|
|
2291
|
+
}), o = `${qn}?${n.toString()}`, i = await fetch(o);
|
|
2291
2292
|
if (!i.ok)
|
|
2292
2293
|
throw new Error(
|
|
2293
2294
|
`No se pudo obtener recomendaciones. HTTP ${i.status} ${i.statusText}`
|
|
@@ -2308,7 +2309,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2308
2309
|
}
|
|
2309
2310
|
s(!0);
|
|
2310
2311
|
try {
|
|
2311
|
-
const b = await
|
|
2312
|
+
const b = await Wn(n), m = Un(b);
|
|
2312
2313
|
if (!m.length) {
|
|
2313
2314
|
c || i([]);
|
|
2314
2315
|
return;
|
|
@@ -2319,7 +2320,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2319
2320
|
if (!v.ok)
|
|
2320
2321
|
throw new Error(`No se pudo obtener machine ${f}`);
|
|
2321
2322
|
const O = await v.json();
|
|
2322
|
-
return
|
|
2323
|
+
return zn(O, x);
|
|
2323
2324
|
})
|
|
2324
2325
|
);
|
|
2325
2326
|
if (c) return;
|
|
@@ -2339,10 +2340,10 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2339
2340
|
resolvedItems: o,
|
|
2340
2341
|
loading: l
|
|
2341
2342
|
};
|
|
2342
|
-
},
|
|
2343
|
+
}, Vn = (e, a = !1) => Xe(e, a, "Casino"), Hn = (e, a = !1) => Xe(e, a, "Deportes virtuales"), Gn = (e, a = !1) => Xe(e, a, "Casino en vivo"), Zn = (e, a) => {
|
|
2343
2344
|
var n, o;
|
|
2344
2345
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2345
|
-
},
|
|
2346
|
+
}, jn = (e) => {
|
|
2346
2347
|
if (typeof e == "boolean") return e;
|
|
2347
2348
|
if (typeof e == "string")
|
|
2348
2349
|
return e.toLowerCase() === "true";
|
|
@@ -2352,7 +2353,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2352
2353
|
return e.value.toLowerCase() === "true";
|
|
2353
2354
|
}
|
|
2354
2355
|
return !1;
|
|
2355
|
-
},
|
|
2356
|
+
}, Kn = ({
|
|
2356
2357
|
items: e,
|
|
2357
2358
|
title: a = "Casino en vivo",
|
|
2358
2359
|
subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
@@ -2363,7 +2364,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2363
2364
|
className: c,
|
|
2364
2365
|
isPersonalize: h = !1
|
|
2365
2366
|
}) => {
|
|
2366
|
-
const b = se(), m = ce(), u = pe(), d =
|
|
2367
|
+
const b = se(), m = ce(), u = pe(), d = jn(h), { resolvedItems: f, loading: x } = Gn(
|
|
2367
2368
|
e,
|
|
2368
2369
|
d
|
|
2369
2370
|
), v = d ? f : Array.isArray(e) ? e : [], O = d ? x : !Array.isArray(e) || e.length === 0, M = (_) => {
|
|
@@ -2524,7 +2525,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2524
2525
|
machine: _.machine,
|
|
2525
2526
|
onClick: () => M(_)
|
|
2526
2527
|
},
|
|
2527
|
-
|
|
2528
|
+
Zn(_, $)
|
|
2528
2529
|
);
|
|
2529
2530
|
})
|
|
2530
2531
|
}
|
|
@@ -2544,7 +2545,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2544
2545
|
]
|
|
2545
2546
|
}
|
|
2546
2547
|
);
|
|
2547
|
-
},
|
|
2548
|
+
}, Jn = (e) => {
|
|
2548
2549
|
if (typeof e == "boolean") return e;
|
|
2549
2550
|
if (typeof e == "string")
|
|
2550
2551
|
return e.toLowerCase() === "true";
|
|
@@ -2557,7 +2558,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2557
2558
|
}, kt = (e, a) => {
|
|
2558
2559
|
var n, o;
|
|
2559
2560
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2560
|
-
},
|
|
2561
|
+
}, Xn = (e, a = !0, n = 1) => {
|
|
2561
2562
|
const o = e.map((s, c) => {
|
|
2562
2563
|
var h;
|
|
2563
2564
|
return {
|
|
@@ -2586,7 +2587,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2586
2587
|
}), l = s;
|
|
2587
2588
|
}
|
|
2588
2589
|
return i;
|
|
2589
|
-
},
|
|
2590
|
+
}, Qn = ({
|
|
2590
2591
|
items: e,
|
|
2591
2592
|
title: a = "Casino",
|
|
2592
2593
|
iconUrl: n = "/assets/img/home/Casino/diamante.svg",
|
|
@@ -2596,7 +2597,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2596
2597
|
gridSize: s = 1,
|
|
2597
2598
|
isPersonalize: c = !1
|
|
2598
2599
|
}) => {
|
|
2599
|
-
const h = se(), b = ce(), m = pe(), u = Z(null), [d, f] = ee({ isStart: !0, isEnd: !1 }), x =
|
|
2600
|
+
const h = se(), b = ce(), m = pe(), u = Z(null), [d, f] = ee({ isStart: !0, isEnd: !1 }), x = Jn(c), { resolvedItems: v, loading: O } = Vn(
|
|
2600
2601
|
e,
|
|
2601
2602
|
x
|
|
2602
2603
|
), M = x ? v : Array.isArray(e) ? e : [], N = () => {
|
|
@@ -2647,7 +2648,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2647
2648
|
imageUrl: ""
|
|
2648
2649
|
})), F = [];
|
|
2649
2650
|
return A && F.push({ id: "mosaic-loading", kind: "mosaic", items: I(5) }), F.push({ id: "grid-loading", kind: "grid", items: I(y) }), F;
|
|
2650
|
-
}, S = x ? O : !Array.isArray(e) || e.length === 0, L = Je("(max-width:950px)"), R = S ? w(l, s) :
|
|
2651
|
+
}, S = x ? O : !Array.isArray(e) || e.length === 0, L = Je("(max-width:950px)"), R = S ? w(l, s) : Xn(M, l, s);
|
|
2651
2652
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ g(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2652
2653
|
/* @__PURE__ */ g(
|
|
2653
2654
|
z,
|
|
@@ -2755,7 +2756,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2755
2756
|
}
|
|
2756
2757
|
)
|
|
2757
2758
|
] }) });
|
|
2758
|
-
},
|
|
2759
|
+
}, Yn = (e) => {
|
|
2759
2760
|
if (typeof e == "boolean") return e;
|
|
2760
2761
|
if (typeof e == "string")
|
|
2761
2762
|
return e.toLowerCase() === "true";
|
|
@@ -2768,7 +2769,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2768
2769
|
}, Nt = (e, a) => {
|
|
2769
2770
|
var n, o;
|
|
2770
2771
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2771
|
-
},
|
|
2772
|
+
}, eo = (e, a = !0, n = 1) => {
|
|
2772
2773
|
const o = e.map((s, c) => {
|
|
2773
2774
|
var h;
|
|
2774
2775
|
return {
|
|
@@ -2797,7 +2798,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2797
2798
|
}), l = s;
|
|
2798
2799
|
}
|
|
2799
2800
|
return i;
|
|
2800
|
-
},
|
|
2801
|
+
}, to = (e = !0, a = 4) => {
|
|
2801
2802
|
const n = (i) => Array.from({ length: i }, (l, s) => ({
|
|
2802
2803
|
id: `sk-${i}-${s}`,
|
|
2803
2804
|
imageUrl: ""
|
|
@@ -2811,7 +2812,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2811
2812
|
kind: "grid",
|
|
2812
2813
|
items: n(a)
|
|
2813
2814
|
}), o;
|
|
2814
|
-
},
|
|
2815
|
+
}, ao = ({
|
|
2815
2816
|
items: e,
|
|
2816
2817
|
title: a = "Virtuales",
|
|
2817
2818
|
iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
|
|
@@ -2821,7 +2822,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2821
2822
|
gridSize: s = 1,
|
|
2822
2823
|
isPersonalize: c = !1
|
|
2823
2824
|
}) => {
|
|
2824
|
-
const h = Z(null), [b, m] = ee({ isStart: !0, isEnd: !1 }), u = se(), d = ce(), f = pe(), x =
|
|
2825
|
+
const h = Z(null), [b, m] = ee({ isStart: !0, isEnd: !1 }), u = se(), d = ce(), f = pe(), x = Yn(c), { resolvedItems: v, loading: O } = Hn(
|
|
2825
2826
|
e,
|
|
2826
2827
|
x
|
|
2827
2828
|
), M = x ? v : Array.isArray(e) ? e : [], N = () => {
|
|
@@ -2866,7 +2867,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2866
2867
|
return;
|
|
2867
2868
|
}
|
|
2868
2869
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2869
|
-
}, w = x ? O : !Array.isArray(e) || e.length === 0, S = Ne("(max-width:950px)"), L = w ?
|
|
2870
|
+
}, w = x ? O : !Array.isArray(e) || e.length === 0, S = Ne("(max-width:950px)"), L = w ? to(l, s) : eo(M, l, s);
|
|
2870
2871
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ g(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2871
2872
|
/* @__PURE__ */ g(
|
|
2872
2873
|
z,
|
|
@@ -2984,7 +2985,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2984
2985
|
}
|
|
2985
2986
|
)
|
|
2986
2987
|
] }) });
|
|
2987
|
-
},
|
|
2988
|
+
}, no = (e) => ({
|
|
2988
2989
|
position: "relative",
|
|
2989
2990
|
py: 8,
|
|
2990
2991
|
color: "#fff",
|
|
@@ -3016,7 +3017,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3016
3017
|
0 0 6px rgba(255, 255, 255, .6),
|
|
3017
3018
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
3018
3019
|
`
|
|
3019
|
-
},
|
|
3020
|
+
}, oo = ({
|
|
3020
3021
|
headline: e,
|
|
3021
3022
|
headline2: a,
|
|
3022
3023
|
items: n,
|
|
@@ -3039,7 +3040,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3039
3040
|
return (I = (y = _ == null ? void 0 : _.backgroundImageUrl) != null ? y : o) != null ? I : "";
|
|
3040
3041
|
},
|
|
3041
3042
|
[_, o]
|
|
3042
|
-
), w =
|
|
3043
|
+
), w = no($), S = !n || n.length === 0, L = (y, I) => {
|
|
3043
3044
|
i({
|
|
3044
3045
|
element: "welcome_banner_button",
|
|
3045
3046
|
label: `OraculoSeccionBonoBienvenida - Banner button click: ${y.title || "OraculoSeccionBonoBienvenida - Banner " + (I + 1)}`,
|
|
@@ -3210,7 +3211,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3210
3211
|
}
|
|
3211
3212
|
) })
|
|
3212
3213
|
] });
|
|
3213
|
-
},
|
|
3214
|
+
}, ro = ({
|
|
3214
3215
|
className: e = "",
|
|
3215
3216
|
fullBleed: a = !0,
|
|
3216
3217
|
items: n,
|
|
@@ -3301,20 +3302,20 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3301
3302
|
) })
|
|
3302
3303
|
}
|
|
3303
3304
|
);
|
|
3304
|
-
},
|
|
3305
|
-
controls:
|
|
3306
|
-
padding:
|
|
3307
|
-
},
|
|
3305
|
+
}, io = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", lo = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", mt = {
|
|
3306
|
+
controls: io,
|
|
3307
|
+
padding: lo
|
|
3308
|
+
}, so = (e) => {
|
|
3308
3309
|
var a, n;
|
|
3309
3310
|
return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((o) => {
|
|
3310
3311
|
var i, l;
|
|
3311
3312
|
return (l = (i = o.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? l : [];
|
|
3312
3313
|
}) : [];
|
|
3313
3314
|
};
|
|
3314
|
-
function
|
|
3315
|
+
function co(e, a, n) {
|
|
3315
3316
|
return n ? n.map((o) => {
|
|
3316
3317
|
var m, u;
|
|
3317
|
-
const i = o.prePackCouponRows.flatMap((d) =>
|
|
3318
|
+
const i = o.prePackCouponRows.flatMap((d) => so(d).map((f) => ({ eventId: d.eventId, outcomeId: f }))), l = new Set(i.map((d) => d.eventId)), s = new Set(i.map((d) => d.outcomeId)), c = new Map(i.map((d, f) => [d.outcomeId, f])), h = {};
|
|
3318
3319
|
for (const d of a) {
|
|
3319
3320
|
if (!l.has(d.eventId)) continue;
|
|
3320
3321
|
const f = d.outcomes.filter((x) => s.has(x.id)).map((x) => ({ ...x, position: c.get(x.id) }));
|
|
@@ -3327,12 +3328,12 @@ function so(e, a, n) {
|
|
|
3327
3328
|
return {
|
|
3328
3329
|
couponId: o.id,
|
|
3329
3330
|
status: o.status,
|
|
3330
|
-
combinadoTotal:
|
|
3331
|
+
combinadoTotal: uo(o.prePackCouponRows),
|
|
3331
3332
|
events: b
|
|
3332
3333
|
};
|
|
3333
3334
|
}) : [];
|
|
3334
3335
|
}
|
|
3335
|
-
function
|
|
3336
|
+
function uo(e) {
|
|
3336
3337
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
3337
3338
|
let a = 1;
|
|
3338
3339
|
for (const n of e) {
|
|
@@ -3341,8 +3342,8 @@ function co(e) {
|
|
|
3341
3342
|
}
|
|
3342
3343
|
return Math.floor(a * 100) / 100;
|
|
3343
3344
|
}
|
|
3344
|
-
const
|
|
3345
|
-
function
|
|
3345
|
+
const mo = ve.memo(Ja);
|
|
3346
|
+
function po({
|
|
3346
3347
|
items: e,
|
|
3347
3348
|
title: a = "Combinadas del Olimpo",
|
|
3348
3349
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",
|
|
@@ -3394,7 +3395,7 @@ function mo({
|
|
|
3394
3395
|
return;
|
|
3395
3396
|
}
|
|
3396
3397
|
const F = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${I}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, P = await (await fetch(F)).json();
|
|
3397
|
-
d(
|
|
3398
|
+
d(co(P.events, P.betOffers, P.prePackCoupons));
|
|
3398
3399
|
} catch (A) {
|
|
3399
3400
|
console.error("loadDataEventSpecial error:", A);
|
|
3400
3401
|
}
|
|
@@ -3453,13 +3454,13 @@ function mo({
|
|
|
3453
3454
|
breakpoints: {
|
|
3454
3455
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3455
3456
|
},
|
|
3456
|
-
renderItem: (w) => /* @__PURE__ */ t(
|
|
3457
|
+
renderItem: (w) => /* @__PURE__ */ t(mo, { coupon: w }),
|
|
3457
3458
|
onMove: ({ isStart: w, isEnd: S }) => m({ isStart: w, isEnd: S })
|
|
3458
3459
|
}
|
|
3459
3460
|
)
|
|
3460
3461
|
] }) });
|
|
3461
3462
|
}
|
|
3462
|
-
function
|
|
3463
|
+
function fo({}) {
|
|
3463
3464
|
return /* @__PURE__ */ t(
|
|
3464
3465
|
"div",
|
|
3465
3466
|
{
|
|
@@ -3493,14 +3494,14 @@ function po({}) {
|
|
|
3493
3494
|
}
|
|
3494
3495
|
);
|
|
3495
3496
|
}
|
|
3496
|
-
const
|
|
3497
|
-
fadeWrapper:
|
|
3497
|
+
const go = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", ho = {
|
|
3498
|
+
fadeWrapper: go
|
|
3498
3499
|
};
|
|
3499
3500
|
function We({ children: e }) {
|
|
3500
|
-
return /* @__PURE__ */ t("div", { className:
|
|
3501
|
+
return /* @__PURE__ */ t("div", { className: ho.fadeWrapper, children: e });
|
|
3501
3502
|
}
|
|
3502
|
-
const
|
|
3503
|
-
padding:
|
|
3503
|
+
const bo = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", _o = {
|
|
3504
|
+
padding: bo
|
|
3504
3505
|
};
|
|
3505
3506
|
function $t({
|
|
3506
3507
|
events: e,
|
|
@@ -3563,7 +3564,7 @@ function $t({
|
|
|
3563
3564
|
isPending: c.current
|
|
3564
3565
|
};
|
|
3565
3566
|
}
|
|
3566
|
-
const
|
|
3567
|
+
const vo = (e) => {
|
|
3567
3568
|
const a = ["esports", "cyber"];
|
|
3568
3569
|
return e.filter((n) => {
|
|
3569
3570
|
var l, s;
|
|
@@ -3571,8 +3572,8 @@ const _o = (e) => {
|
|
|
3571
3572
|
const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
|
|
3572
3573
|
return !a.some((c) => i.includes(c));
|
|
3573
3574
|
});
|
|
3574
|
-
},
|
|
3575
|
-
function
|
|
3575
|
+
}, yo = ve.memo(In);
|
|
3576
|
+
function xo({
|
|
3576
3577
|
items: e,
|
|
3577
3578
|
title: a = "En vivo",
|
|
3578
3579
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
|
|
@@ -3650,12 +3651,12 @@ function yo({
|
|
|
3650
3651
|
);
|
|
3651
3652
|
let W = [];
|
|
3652
3653
|
P.forEach(({ sport: G, events: D }) => {
|
|
3653
|
-
const Y =
|
|
3654
|
+
const Y = vo(D).map((r) => ({ ...r, _sportGroup: G }));
|
|
3654
3655
|
W.push(...Y);
|
|
3655
3656
|
});
|
|
3656
3657
|
const V = {
|
|
3657
|
-
football:
|
|
3658
|
-
basketball:
|
|
3658
|
+
football: 2,
|
|
3659
|
+
basketball: 1,
|
|
3659
3660
|
tennis: 0
|
|
3660
3661
|
}, H = W.sort((G, D) => {
|
|
3661
3662
|
var E, C;
|
|
@@ -3684,14 +3685,14 @@ function yo({
|
|
|
3684
3685
|
// same as your previous BUFFER
|
|
3685
3686
|
debounceMs: 300
|
|
3686
3687
|
// same as your previous debouncedVisibleRange
|
|
3687
|
-
}), A = i || void 0, y = b === null, I = de(() => y ? Array(4).fill({}) : (b == null ? void 0 : b.slice(0,
|
|
3688
|
+
}), A = i || void 0, y = b === null, I = de(() => y ? Array(4).fill({}) : (b == null ? void 0 : b.slice(0, 50)) || [], [y, b]), F = Ne("(max-width:950px)");
|
|
3688
3689
|
return !y && b.length === 0 ? null : /* @__PURE__ */ t("section", { className: A, style: {
|
|
3689
3690
|
// paddingLeft: 16,
|
|
3690
3691
|
// paddingRight: 16,
|
|
3691
3692
|
width: "100%",
|
|
3692
3693
|
boxSizing: "border-box"
|
|
3693
3694
|
}, children: /* @__PURE__ */ g(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3694
|
-
/* @__PURE__ */ t("div", { className:
|
|
3695
|
+
/* @__PURE__ */ t("div", { className: _o.padding, children: /* @__PURE__ */ g(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3695
3696
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
3696
3697
|
/* @__PURE__ */ g("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
3697
3698
|
/* @__PURE__ */ g(me, { spacing: 1, columns: "auto auto", children: [
|
|
@@ -3739,8 +3740,8 @@ function yo({
|
|
|
3739
3740
|
renderItem: (B) => {
|
|
3740
3741
|
var V;
|
|
3741
3742
|
const P = ((V = B.event) == null ? void 0 : V.id) || B.eventId, W = P in R ? R[P] : void 0;
|
|
3742
|
-
return y ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(
|
|
3743
|
-
|
|
3743
|
+
return y ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(fo, {}) }) : /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(
|
|
3744
|
+
yo,
|
|
3744
3745
|
{
|
|
3745
3746
|
...B,
|
|
3746
3747
|
jersey: W
|
|
@@ -3756,7 +3757,7 @@ function yo({
|
|
|
3756
3757
|
)
|
|
3757
3758
|
] }) });
|
|
3758
3759
|
}
|
|
3759
|
-
function
|
|
3760
|
+
function So() {
|
|
3760
3761
|
return /* @__PURE__ */ g("div", { className: Te.cardContainer, children: [
|
|
3761
3762
|
/* @__PURE__ */ t(xt, { title: "" }),
|
|
3762
3763
|
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */ g(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
@@ -3784,13 +3785,13 @@ function xo() {
|
|
|
3784
3785
|
] }) })
|
|
3785
3786
|
] });
|
|
3786
3787
|
}
|
|
3787
|
-
const
|
|
3788
|
-
wrapper:
|
|
3789
|
-
container:
|
|
3790
|
-
buttonWrapper:
|
|
3791
|
-
padding:
|
|
3792
|
-
},
|
|
3793
|
-
async function
|
|
3788
|
+
const wo = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Oo = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Io = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", To = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Be = {
|
|
3789
|
+
wrapper: wo,
|
|
3790
|
+
container: Oo,
|
|
3791
|
+
buttonWrapper: Io,
|
|
3792
|
+
padding: To
|
|
3793
|
+
}, Eo = ve.memo(Mn);
|
|
3794
|
+
async function Co(e, a = 2, n) {
|
|
3794
3795
|
const o = [];
|
|
3795
3796
|
for (let i = 0; i < e.length; i += a) {
|
|
3796
3797
|
if (n.aborted)
|
|
@@ -3802,12 +3803,12 @@ async function Eo(e, a = 2, n) {
|
|
|
3802
3803
|
}
|
|
3803
3804
|
return o;
|
|
3804
3805
|
}
|
|
3805
|
-
function
|
|
3806
|
+
function ko(e) {
|
|
3806
3807
|
return [...e].sort(
|
|
3807
3808
|
(a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
|
|
3808
3809
|
);
|
|
3809
3810
|
}
|
|
3810
|
-
function
|
|
3811
|
+
function No(e) {
|
|
3811
3812
|
const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
|
|
3812
3813
|
return e.filter((o) => {
|
|
3813
3814
|
if (!o.start) return !1;
|
|
@@ -3815,7 +3816,7 @@ function ko(e) {
|
|
|
3815
3816
|
return i >= a && i <= n;
|
|
3816
3817
|
});
|
|
3817
3818
|
}
|
|
3818
|
-
function
|
|
3819
|
+
function $o(e, a) {
|
|
3819
3820
|
const o = a.filter((i) => {
|
|
3820
3821
|
var l;
|
|
3821
3822
|
return ((l = i.betOfferType) == null ? void 0 : l.id) === 2;
|
|
@@ -3825,7 +3826,7 @@ function No(e, a) {
|
|
|
3825
3826
|
outcome: o[i.id]
|
|
3826
3827
|
}));
|
|
3827
3828
|
}
|
|
3828
|
-
function
|
|
3829
|
+
function Ao({
|
|
3829
3830
|
items: e,
|
|
3830
3831
|
title: a = "En vivo",
|
|
3831
3832
|
iconUrl: n,
|
|
@@ -3905,14 +3906,14 @@ function $o({
|
|
|
3905
3906
|
}
|
|
3906
3907
|
async function $(y, I, F) {
|
|
3907
3908
|
try {
|
|
3908
|
-
const B = await
|
|
3909
|
+
const B = await Co(y, 2, F);
|
|
3909
3910
|
let P = [], W = [];
|
|
3910
3911
|
B.forEach((D) => {
|
|
3911
3912
|
D.events && (P.push(...D.events.map((K) => K.event)), W.push(
|
|
3912
3913
|
...D.events.flatMap((K) => K.betOffers || [])
|
|
3913
3914
|
));
|
|
3914
3915
|
});
|
|
3915
|
-
const V =
|
|
3916
|
+
const V = $o(P, W), H = ko(No(V));
|
|
3916
3917
|
let G = H;
|
|
3917
3918
|
if (I.length > 0) {
|
|
3918
3919
|
const D = new Map(
|
|
@@ -3986,7 +3987,7 @@ function $o({
|
|
|
3986
3987
|
},
|
|
3987
3988
|
renderItem: (y) => {
|
|
3988
3989
|
const I = y.id, F = I in L ? L[I] : void 0;
|
|
3989
|
-
return R ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(
|
|
3990
|
+
return R ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(So, {}) }) : /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(Eo, { event: y, jersey: F }) });
|
|
3990
3991
|
},
|
|
3991
3992
|
onMove: ({ isStart: y, isEnd: I, visibleStart: F, visibleEnd: B, source: P }) => {
|
|
3992
3993
|
d({ isStart: y, isEnd: I }), O({
|
|
@@ -4012,9 +4013,9 @@ function $o({
|
|
|
4012
4013
|
) })
|
|
4013
4014
|
] }) });
|
|
4014
4015
|
}
|
|
4015
|
-
const
|
|
4016
|
+
const Mo = -300, Bo = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), pt = (e) => {
|
|
4016
4017
|
if (!e) return null;
|
|
4017
|
-
if (
|
|
4018
|
+
if (Bo(e)) {
|
|
4018
4019
|
const h = new Date(e).getTime();
|
|
4019
4020
|
return Number.isNaN(h) ? null : h;
|
|
4020
4021
|
}
|
|
@@ -4027,16 +4028,16 @@ const Ao = -300, Mo = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), pt = (e) => {
|
|
|
4027
4028
|
Number(n),
|
|
4028
4029
|
Number(o) - 1,
|
|
4029
4030
|
Number(i),
|
|
4030
|
-
Number(l) -
|
|
4031
|
+
Number(l) - Mo / 60,
|
|
4031
4032
|
Number(s),
|
|
4032
4033
|
Number(c)
|
|
4033
4034
|
);
|
|
4034
|
-
},
|
|
4035
|
+
}, Lo = (e, a) => {
|
|
4035
4036
|
var c, h, b, m, u, d, f, x, v;
|
|
4036
4037
|
const n = (b = (h = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? h : e == null ? void 0 : e.extraFields) != null ? b : [], o = (d = (u = e == null ? void 0 : e.startAt) != null ? u : (m = n.find((O) => (O == null ? void 0 : O.name) === "startAt")) == null ? void 0 : m.value) != null ? d : null, i = (v = (x = e == null ? void 0 : e.endAt) != null ? x : (f = n.find((O) => (O == null ? void 0 : O.name) === "endAt")) == null ? void 0 : f.value) != null ? v : null, l = pt(o), s = pt(i);
|
|
4037
4038
|
return !(l != null && a < l || s != null && a >= s);
|
|
4038
4039
|
};
|
|
4039
|
-
function
|
|
4040
|
+
function Ro({
|
|
4040
4041
|
backgrounds: e,
|
|
4041
4042
|
items: a,
|
|
4042
4043
|
hideItems: n,
|
|
@@ -4049,7 +4050,7 @@ function Lo({
|
|
|
4049
4050
|
return k - E || p.index - T.index;
|
|
4050
4051
|
}).map(({ item: p }) => p), N = de(() => M(a), [a]), _ = de(() => {
|
|
4051
4052
|
const r = (e != null ? e : []).filter(
|
|
4052
|
-
(p) =>
|
|
4053
|
+
(p) => Lo(p, d)
|
|
4053
4054
|
);
|
|
4054
4055
|
return M(r);
|
|
4055
4056
|
}, [e, d]), $ = _.length || 1, w = !_ || _.length === 0, S = !w && _.length > 1, L = !n && N.length > 0;
|
|
@@ -4503,7 +4504,7 @@ function Lo({
|
|
|
4503
4504
|
}
|
|
4504
4505
|
);
|
|
4505
4506
|
}
|
|
4506
|
-
const
|
|
4507
|
+
const Po = [
|
|
4507
4508
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg", alt: "Interbank" },
|
|
4508
4509
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg", alt: "Yape" },
|
|
4509
4510
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
|
|
@@ -4513,9 +4514,9 @@ const Ro = [
|
|
|
4513
4514
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
|
|
4514
4515
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
|
|
4515
4516
|
];
|
|
4516
|
-
function
|
|
4517
|
+
function Fo({
|
|
4517
4518
|
title: e = "Medios de pago",
|
|
4518
|
-
items: a =
|
|
4519
|
+
items: a = Po
|
|
4519
4520
|
}) {
|
|
4520
4521
|
const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
|
|
4521
4522
|
return /* @__PURE__ */ g(le, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
@@ -4594,26 +4595,26 @@ function At({
|
|
|
4594
4595
|
e
|
|
4595
4596
|
] });
|
|
4596
4597
|
}
|
|
4597
|
-
function
|
|
4598
|
+
function sr({
|
|
4598
4599
|
docId: e = "Landing: home",
|
|
4599
4600
|
moduleId: a = 301,
|
|
4600
4601
|
children: n
|
|
4601
4602
|
}) {
|
|
4602
4603
|
return /* @__PURE__ */ t(At, { children: /* @__PURE__ */ t(Tt, { docId: e, moduleId: a, children: n }) });
|
|
4603
4604
|
}
|
|
4604
|
-
const
|
|
4605
|
-
OraculoSeccionDestacados:
|
|
4606
|
-
OraculoSeccionTopJuegos:
|
|
4607
|
-
OraculoSeccionCasinoEnVivo:
|
|
4608
|
-
OraculoSeccionCasino:
|
|
4609
|
-
OraculoSeccionVirtuales:
|
|
4610
|
-
OraculoSeccionClubOlimpo:
|
|
4611
|
-
OraculoSeccionBonoBienvenida:
|
|
4612
|
-
OraculoSeccionBanners:
|
|
4613
|
-
OraculoSeccionMediosPago:
|
|
4614
|
-
OraculoSeccionEventoEnVivo:
|
|
4615
|
-
OraculoSeccionEventoSemana:
|
|
4616
|
-
OraculoSeccionEventoCombinadas:
|
|
4605
|
+
const qo = {
|
|
4606
|
+
OraculoSeccionDestacados: Ln,
|
|
4607
|
+
OraculoSeccionTopJuegos: Fn,
|
|
4608
|
+
OraculoSeccionCasinoEnVivo: Kn,
|
|
4609
|
+
OraculoSeccionCasino: Qn,
|
|
4610
|
+
OraculoSeccionVirtuales: ao,
|
|
4611
|
+
OraculoSeccionClubOlimpo: ro,
|
|
4612
|
+
OraculoSeccionBonoBienvenida: oo,
|
|
4613
|
+
OraculoSeccionBanners: Ro,
|
|
4614
|
+
OraculoSeccionMediosPago: Fo,
|
|
4615
|
+
OraculoSeccionEventoEnVivo: xo,
|
|
4616
|
+
OraculoSeccionEventoSemana: Ao,
|
|
4617
|
+
OraculoSeccionEventoCombinadas: po
|
|
4617
4618
|
}, Le = {
|
|
4618
4619
|
sections: [
|
|
4619
4620
|
{
|
|
@@ -5982,7 +5983,7 @@ const Fo = {
|
|
|
5982
5983
|
componentKey: "OraculoSeccionMediosPago"
|
|
5983
5984
|
}
|
|
5984
5985
|
]
|
|
5985
|
-
},
|
|
5986
|
+
}, zo = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, Uo = (e) => /^OraculoSeccion[A-Z]/.test(e);
|
|
5986
5987
|
function Ae(e) {
|
|
5987
5988
|
return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
|
|
5988
5989
|
var o, i;
|
|
@@ -6008,11 +6009,11 @@ function Ae(e) {
|
|
|
6008
6009
|
};
|
|
6009
6010
|
}) : [];
|
|
6010
6011
|
}
|
|
6011
|
-
const
|
|
6012
|
-
Object.entries(
|
|
6013
|
-
([e, a]) =>
|
|
6012
|
+
const Do = Object.fromEntries(
|
|
6013
|
+
Object.entries(qo).filter(
|
|
6014
|
+
([e, a]) => Uo(e) && zo(a)
|
|
6014
6015
|
)
|
|
6015
|
-
),
|
|
6016
|
+
), Wo = (e) => {
|
|
6016
6017
|
try {
|
|
6017
6018
|
return Object.fromEntries(e != null ? e : []);
|
|
6018
6019
|
} catch {
|
|
@@ -6024,7 +6025,7 @@ class ft extends Error {
|
|
|
6024
6025
|
super(`HTTP ${a} ${o}`), this.status = a, this.url = n, this.statusText = o, this.name = "HttpError";
|
|
6025
6026
|
}
|
|
6026
6027
|
}
|
|
6027
|
-
class
|
|
6028
|
+
class Vo extends ve.Component {
|
|
6028
6029
|
constructor(a) {
|
|
6029
6030
|
super(a), this.state = { hasError: !1 };
|
|
6030
6031
|
}
|
|
@@ -6048,13 +6049,13 @@ const gt = [
|
|
|
6048
6049
|
"OraculoSeccionEventoEnVivo",
|
|
6049
6050
|
"OraculoSeccionEventoSemana",
|
|
6050
6051
|
"OraculoSeccionEventoCombinadas"
|
|
6051
|
-
],
|
|
6052
|
+
], Ho = [
|
|
6052
6053
|
"OraculoSeccionCasino",
|
|
6053
6054
|
"OraculoSeccionVirtuales",
|
|
6054
6055
|
"OraculoSeccionCasinoEnVivo",
|
|
6055
6056
|
"OraculoSeccionTopJuegos",
|
|
6056
6057
|
"OraculoSeccionDestacados"
|
|
6057
|
-
],
|
|
6058
|
+
], cr = ({
|
|
6058
6059
|
sectionsOverride: e,
|
|
6059
6060
|
docId: a = "Landing: home",
|
|
6060
6061
|
moduleId: n = 301,
|
|
@@ -6063,7 +6064,7 @@ const gt = [
|
|
|
6063
6064
|
loader: l,
|
|
6064
6065
|
disableWrapper: s = !1
|
|
6065
6066
|
}) => {
|
|
6066
|
-
const c = de(() =>
|
|
6067
|
+
const c = de(() => Wo(i), [i]), h = l || c.loader, [b, m] = ee(
|
|
6067
6068
|
() => e ? [] : Ae(Le)
|
|
6068
6069
|
), [u, d] = ee(!1), [f, x] = ee({}), [v, O] = ee({}), [M, N] = ee({}), _ = Je("(min-width:1024px)"), $ = de(
|
|
6069
6070
|
() => Ae(Le),
|
|
@@ -6128,7 +6129,7 @@ const gt = [
|
|
|
6128
6129
|
}
|
|
6129
6130
|
);
|
|
6130
6131
|
return () => p();
|
|
6131
|
-
}, [e, a, o]), re(() => (
|
|
6132
|
+
}, [e, a, o]), re(() => (Rn(c), () => Pn()), [c]), re(() => {
|
|
6132
6133
|
(e ? e.slice() : b.slice()).map((T) => T.componentKey).filter((T) => !!T).length;
|
|
6133
6134
|
}, [e, b]);
|
|
6134
6135
|
const y = async (r) => {
|
|
@@ -6311,7 +6312,7 @@ const gt = [
|
|
|
6311
6312
|
component: "bg-yellow-100 text-yellow-800"
|
|
6312
6313
|
}[p]}`, children: T }, r), Y = (r) => {
|
|
6313
6314
|
var $e;
|
|
6314
|
-
const p = r.componentKey, T =
|
|
6315
|
+
const p = r.componentKey, T = Do[p], E = (/* @__PURE__ */ new Set([
|
|
6315
6316
|
"OraculoSeccionBanners",
|
|
6316
6317
|
"OraculoSeccionBonoBienvenida",
|
|
6317
6318
|
"OraculoSeccionCasinoEnVivo",
|
|
@@ -6341,7 +6342,7 @@ const gt = [
|
|
|
6341
6342
|
);
|
|
6342
6343
|
const oe = !!(($e = r.apiUrl) != null && $e.trim()), j = oe ? f[r.id] : void 0, ie = oe ? !!v[r.id] : !1, Se = oe ? M[r.id] : "";
|
|
6343
6344
|
if (oe) {
|
|
6344
|
-
const Mt =
|
|
6345
|
+
const Mt = Ho.includes(r.componentKey);
|
|
6345
6346
|
if (ie && !j && !Mt)
|
|
6346
6347
|
return K(
|
|
6347
6348
|
r.id,
|
|
@@ -6372,7 +6373,7 @@ const gt = [
|
|
|
6372
6373
|
...we,
|
|
6373
6374
|
user: c.user
|
|
6374
6375
|
} : we;
|
|
6375
|
-
return /* @__PURE__ */ t(
|
|
6376
|
+
return /* @__PURE__ */ t(Vo, { section: r, children: /* @__PURE__ */ t(
|
|
6376
6377
|
"div",
|
|
6377
6378
|
{
|
|
6378
6379
|
style: ne,
|
|
@@ -6414,12 +6415,12 @@ export {
|
|
|
6414
6415
|
yt as OraculoCarouselDots,
|
|
6415
6416
|
Pa as OraculoClubOlimpoVisual,
|
|
6416
6417
|
Ja as OraculoEventCombinadasCard,
|
|
6417
|
-
|
|
6418
|
+
In as OraculoEventEnVivoCard,
|
|
6418
6419
|
oa as OraculoEventHeader,
|
|
6419
6420
|
Ke as OraculoEventLabel,
|
|
6420
6421
|
xt as OraculoEventLeague,
|
|
6421
6422
|
St as OraculoEventScore,
|
|
6422
|
-
|
|
6423
|
+
Mn as OraculoEventSemanaCard,
|
|
6423
6424
|
na as OraculoEventStatus,
|
|
6424
6425
|
aa as OraculoEventStatusBadge,
|
|
6425
6426
|
ze as OraculoEventTeamInfo,
|
|
@@ -6429,24 +6430,24 @@ export {
|
|
|
6429
6430
|
me as OraculoGridGroup,
|
|
6430
6431
|
nt as OraculoLiveCasinoCard,
|
|
6431
6432
|
Ye as OraculoLogoMediosPago,
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6433
|
+
cr as OraculoPageLandingPreview,
|
|
6434
|
+
Ro as OraculoSeccionBanners,
|
|
6435
|
+
oo as OraculoSeccionBonoBienvenida,
|
|
6436
|
+
Qn as OraculoSeccionCasino,
|
|
6437
|
+
Kn as OraculoSeccionCasinoEnVivo,
|
|
6438
|
+
ro as OraculoSeccionClubOlimpo,
|
|
6439
|
+
Ln as OraculoSeccionDestacados,
|
|
6440
|
+
po as OraculoSeccionEventoCombinadas,
|
|
6441
|
+
xo as OraculoSeccionEventoEnVivo,
|
|
6442
|
+
Ao as OraculoSeccionEventoSemana,
|
|
6443
|
+
Fo as OraculoSeccionMediosPago,
|
|
6444
|
+
Fn as OraculoSeccionTopJuegos,
|
|
6445
|
+
ao as OraculoSeccionVirtuales,
|
|
6446
|
+
sr as OraculoSectionHost,
|
|
6446
6447
|
ye as OraculoSectionTitle,
|
|
6447
6448
|
At as OraculoThemeProvider,
|
|
6448
|
-
|
|
6449
|
+
Fn as OraculoTopJuegoItem,
|
|
6449
6450
|
ot as OraculoWelcomeBanner,
|
|
6450
|
-
|
|
6451
|
+
cr as default
|
|
6451
6452
|
};
|
|
6452
6453
|
//# sourceMappingURL=index.es.js.map
|