oraculo-ui 0.2.44 → 0.2.46
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 +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +230 -230
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as y, Fragment as pe } from "react/jsx-runtime";
|
|
2
|
-
import { Link as
|
|
2
|
+
import { Link as lt, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ce, Container as Tt } from "@mui/material";
|
|
3
3
|
import fe, { useState as Z, useEffect as Q, useRef as U, forwardRef as $t, useImperativeHandle as Nt, useCallback as ke, createContext as Mt, useContext as At, useMemo as ie, useLayoutEffect as Bt } from "react";
|
|
4
4
|
import W from "@mui/material/Skeleton";
|
|
5
5
|
import { Splide as Rt, SplideSlide as Lt } from "@splidejs/react-splide";
|
|
@@ -20,8 +20,8 @@ function J({
|
|
|
20
20
|
href: n,
|
|
21
21
|
target: r,
|
|
22
22
|
rel: i,
|
|
23
|
-
type:
|
|
24
|
-
disabled:
|
|
23
|
+
type: l = "button",
|
|
24
|
+
disabled: s = !1,
|
|
25
25
|
variant: d = "primary",
|
|
26
26
|
size: h,
|
|
27
27
|
fullWidth: g = !1,
|
|
@@ -44,9 +44,9 @@ function J({
|
|
|
44
44
|
f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
|
|
45
45
|
!A && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
|
|
46
46
|
v && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: v })
|
|
47
|
-
] }), L =
|
|
47
|
+
] }), L = s ? !0 : void 0;
|
|
48
48
|
return n ? /* @__PURE__ */ t(
|
|
49
|
-
|
|
49
|
+
lt,
|
|
50
50
|
{
|
|
51
51
|
href: n,
|
|
52
52
|
target: r,
|
|
@@ -61,7 +61,7 @@ function J({
|
|
|
61
61
|
) : /* @__PURE__ */ t(
|
|
62
62
|
"button",
|
|
63
63
|
{
|
|
64
|
-
type:
|
|
64
|
+
type: l,
|
|
65
65
|
onClick: a,
|
|
66
66
|
disabled: !!L,
|
|
67
67
|
"aria-label": c,
|
|
@@ -76,12 +76,12 @@ function ge({
|
|
|
76
76
|
size: n = "md",
|
|
77
77
|
className: r = ""
|
|
78
78
|
}) {
|
|
79
|
-
const
|
|
79
|
+
const l = [
|
|
80
80
|
"orc-section-title",
|
|
81
81
|
n ? `orc-section-title--${n}` : "",
|
|
82
82
|
r
|
|
83
83
|
].filter(Boolean).join(" ");
|
|
84
|
-
return /* @__PURE__ */ y("div", { className:
|
|
84
|
+
return /* @__PURE__ */ y("div", { className: l, children: [
|
|
85
85
|
a && /* @__PURE__ */ t(
|
|
86
86
|
"img",
|
|
87
87
|
{
|
|
@@ -101,10 +101,10 @@ const ut = ({
|
|
|
101
101
|
durationMs: i = 5e3
|
|
102
102
|
}) => {
|
|
103
103
|
if (e <= 1) return null;
|
|
104
|
-
const
|
|
104
|
+
const l = ["orc-dots", r].filter(Boolean).join(" "), [s, d] = Z(0);
|
|
105
105
|
return Q(() => {
|
|
106
106
|
d((h) => h + 1);
|
|
107
|
-
}, [a, i]), /* @__PURE__ */ t("div", { className:
|
|
107
|
+
}, [a, i]), /* @__PURE__ */ t("div", { className: l, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((h, g) => {
|
|
108
108
|
const m = g === a;
|
|
109
109
|
return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
|
|
110
110
|
"button",
|
|
@@ -121,7 +121,7 @@ const ut = ({
|
|
|
121
121
|
m && d((u) => u + 1), n == null || n(g);
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
-
m ? `a-${g}-${
|
|
124
|
+
m ? `a-${g}-${s}` : `i-${g}`
|
|
125
125
|
) }, g);
|
|
126
126
|
}) });
|
|
127
127
|
};
|
|
@@ -132,15 +132,15 @@ function me({
|
|
|
132
132
|
justify: r = "stretch",
|
|
133
133
|
columns: i = null
|
|
134
134
|
}) {
|
|
135
|
-
const
|
|
135
|
+
const l = i || `repeat(auto-fit, minmax(${a}px, 1fr))`, s = typeof n == "number" ? `${n * 8}px` : n;
|
|
136
136
|
return /* @__PURE__ */ t(
|
|
137
137
|
"div",
|
|
138
138
|
{
|
|
139
139
|
style: {
|
|
140
140
|
display: "grid",
|
|
141
|
-
gridTemplateColumns:
|
|
141
|
+
gridTemplateColumns: l,
|
|
142
142
|
justifyItems: r,
|
|
143
|
-
gap:
|
|
143
|
+
gap: s,
|
|
144
144
|
height: "inherit"
|
|
145
145
|
},
|
|
146
146
|
children: e
|
|
@@ -294,11 +294,11 @@ function ft({ text: e, name: a, size: n = "normal" }) {
|
|
|
294
294
|
}
|
|
295
295
|
);
|
|
296
296
|
}
|
|
297
|
-
const ra = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ia = "oraculo__OraculoEventTeamInfo-module__regular___ag826",
|
|
297
|
+
const ra = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ia = "oraculo__OraculoEventTeamInfo-module__regular___ag826", la = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", sa = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", ca = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", da = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
|
|
298
298
|
team: ra,
|
|
299
299
|
regular: ia,
|
|
300
|
-
compact:
|
|
301
|
-
logo:
|
|
300
|
+
compact: la,
|
|
301
|
+
logo: sa,
|
|
302
302
|
name: ca,
|
|
303
303
|
skeleton: da
|
|
304
304
|
}, ua = "oraculo__OraculoTeamPolo-module__polo___BisRg", ma = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", pa = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", fa = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Ie = {
|
|
@@ -308,7 +308,7 @@ const ra = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ia = "oraculo__
|
|
|
308
308
|
highlight: fa
|
|
309
309
|
};
|
|
310
310
|
function ga({ jersey: e, className: a }) {
|
|
311
|
-
const n = `#${e.base}`, r = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null,
|
|
311
|
+
const n = `#${e.base}`, r = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null, l = e.sleevelong ? `#${e.sleevelong}` : null;
|
|
312
312
|
return /* @__PURE__ */ y("div", { className: `${Ie.polo} ${a != null ? a : ""}`, children: [
|
|
313
313
|
/* @__PURE__ */ t("div", { className: Ie.svgWrapper, children: /* @__PURE__ */ y("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
|
|
314
314
|
/* @__PURE__ */ t(
|
|
@@ -322,7 +322,7 @@ function ga({ jersey: e, className: a }) {
|
|
|
322
322
|
/* @__PURE__ */ t("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
323
323
|
/* @__PURE__ */ t("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
|
|
324
324
|
] }),
|
|
325
|
-
|
|
325
|
+
l && /* @__PURE__ */ t(pe, { children: /* @__PURE__ */ t("path", { fill: l, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }) }),
|
|
326
326
|
/* @__PURE__ */ t(
|
|
327
327
|
"path",
|
|
328
328
|
{
|
|
@@ -383,7 +383,7 @@ function ha(e, a, {
|
|
|
383
383
|
threshold: r = 60,
|
|
384
384
|
cooldownMs: i = 500
|
|
385
385
|
} = {}) {
|
|
386
|
-
const
|
|
386
|
+
const l = U(0), s = U(0);
|
|
387
387
|
Q(() => {
|
|
388
388
|
if (!n) return;
|
|
389
389
|
const d = e.current;
|
|
@@ -393,14 +393,14 @@ function ha(e, a, {
|
|
|
393
393
|
if (!m || !m.go) return;
|
|
394
394
|
const { deltaX: u, deltaY: c } = g;
|
|
395
395
|
if (Math.abs(u) <= Math.abs(c)) return;
|
|
396
|
-
g.preventDefault(),
|
|
396
|
+
g.preventDefault(), l.current += u;
|
|
397
397
|
const f = Date.now();
|
|
398
|
-
if (f -
|
|
399
|
-
const v =
|
|
400
|
-
|
|
398
|
+
if (f - s.current < i || Math.abs(l.current) < r) return;
|
|
399
|
+
const v = l.current > 0 ? ">" : "<";
|
|
400
|
+
l.current = 0, s.current = f, m.go(v);
|
|
401
401
|
};
|
|
402
402
|
return d.addEventListener("wheel", h, { passive: !1 }), () => {
|
|
403
|
-
d.removeEventListener("wheel", h),
|
|
403
|
+
d.removeEventListener("wheel", h), l.current = 0;
|
|
404
404
|
};
|
|
405
405
|
}, [n, r, i, e, a]);
|
|
406
406
|
}
|
|
@@ -416,8 +416,8 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
416
416
|
perPage: n = 1,
|
|
417
417
|
gap: r = "0px",
|
|
418
418
|
breakpoints: i,
|
|
419
|
-
options:
|
|
420
|
-
className:
|
|
419
|
+
options: l = {},
|
|
420
|
+
className: s = "",
|
|
421
421
|
onMove: d,
|
|
422
422
|
useIndexAsKey: h = !1,
|
|
423
423
|
enableHorizontalWheel: g = !0,
|
|
@@ -526,14 +526,14 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
526
526
|
perPage: n,
|
|
527
527
|
gap: r,
|
|
528
528
|
breakpoints: i,
|
|
529
|
-
...
|
|
529
|
+
...l,
|
|
530
530
|
...g ? { wheel: !1 } : {}
|
|
531
531
|
};
|
|
532
532
|
return /* @__PURE__ */ y(
|
|
533
533
|
"div",
|
|
534
534
|
{
|
|
535
535
|
ref: f,
|
|
536
|
-
className:
|
|
536
|
+
className: s,
|
|
537
537
|
style: { width: "100%", position: "relative", height: "100%" },
|
|
538
538
|
children: [
|
|
539
539
|
/* @__PURE__ */ t(
|
|
@@ -612,9 +612,9 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
612
612
|
size: n = "sm",
|
|
613
613
|
fillParent: r = !1
|
|
614
614
|
}) => {
|
|
615
|
-
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 },
|
|
615
|
+
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, l = (d) => {
|
|
616
616
|
d.stopPropagation(), a == null || a();
|
|
617
|
-
},
|
|
617
|
+
}, s = r ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
|
|
618
618
|
return /* @__PURE__ */ y(
|
|
619
619
|
z,
|
|
620
620
|
{
|
|
@@ -626,7 +626,7 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
626
626
|
overflow: "hidden",
|
|
627
627
|
boxSizing: "border-box",
|
|
628
628
|
transition: "transform .15s ease, box-shadow .15s ease",
|
|
629
|
-
...
|
|
629
|
+
...s,
|
|
630
630
|
"&:hover": {
|
|
631
631
|
transform: "translateY(-2px)",
|
|
632
632
|
boxShadow: 8,
|
|
@@ -686,7 +686,7 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
686
686
|
transition: "opacity .15s ease, transform .15s ease",
|
|
687
687
|
pointerEvents: "none"
|
|
688
688
|
},
|
|
689
|
-
children: /* @__PURE__ */ t(J, { variant: "primary", size: "md", onClick:
|
|
689
|
+
children: /* @__PURE__ */ t(J, { variant: "primary", size: "md", onClick: l, children: "Jugar" })
|
|
690
690
|
}
|
|
691
691
|
)
|
|
692
692
|
]
|
|
@@ -704,13 +704,13 @@ function wa({
|
|
|
704
704
|
}
|
|
705
705
|
}) {
|
|
706
706
|
var u, c, f, v;
|
|
707
|
-
const
|
|
707
|
+
const l = (x, k) => {
|
|
708
708
|
var T, E, b, A;
|
|
709
709
|
return {
|
|
710
710
|
xs: (E = (T = i.xs) == null ? void 0 : T[x]) != null ? E : k,
|
|
711
711
|
md: (A = (b = i.md) == null ? void 0 : b[x]) != null ? A : k
|
|
712
712
|
};
|
|
713
|
-
},
|
|
713
|
+
}, s = l("w", 186), d = l("h", 264), h = l("r", 22.6), g = l("font", 64), m = {
|
|
714
714
|
xs: Math.round(((c = (u = i.xs) == null ? void 0 : u.font) != null ? c : 64) * 0.28),
|
|
715
715
|
md: Math.round(((v = (f = i.md) == null ? void 0 : f.font) != null ? v : 64) * 0.28)
|
|
716
716
|
};
|
|
@@ -720,10 +720,10 @@ function wa({
|
|
|
720
720
|
sx: {
|
|
721
721
|
position: "relative",
|
|
722
722
|
width: "100%",
|
|
723
|
-
maxWidth: { xs: `${
|
|
723
|
+
maxWidth: { xs: `${s.xs}px`, md: `${s.md}px` },
|
|
724
724
|
aspectRatio: {
|
|
725
|
-
xs: `${
|
|
726
|
-
md: `${
|
|
725
|
+
xs: `${s.xs}/${d.xs}`,
|
|
726
|
+
md: `${s.md}/${d.md}`
|
|
727
727
|
},
|
|
728
728
|
borderRadius: { xs: `${h.xs}px`, md: `${h.md}px` },
|
|
729
729
|
boxSizing: "border-box",
|
|
@@ -810,10 +810,10 @@ const Je = ({
|
|
|
810
810
|
providerName: n,
|
|
811
811
|
machine: r,
|
|
812
812
|
onClick: i,
|
|
813
|
-
loading:
|
|
813
|
+
loading: l = !1
|
|
814
814
|
}) => {
|
|
815
|
-
var
|
|
816
|
-
return
|
|
815
|
+
var s;
|
|
816
|
+
return l ? /* @__PURE__ */ t(
|
|
817
817
|
z,
|
|
818
818
|
{
|
|
819
819
|
sx: {
|
|
@@ -902,7 +902,7 @@ const Je = ({
|
|
|
902
902
|
fontSize: { xs: 11, md: 14 },
|
|
903
903
|
textTransform: "capitalize"
|
|
904
904
|
},
|
|
905
|
-
children: (
|
|
905
|
+
children: (s = a != null ? a : n) != null ? s : ""
|
|
906
906
|
}
|
|
907
907
|
)
|
|
908
908
|
}
|
|
@@ -932,7 +932,7 @@ const Je = ({
|
|
|
932
932
|
loading: r = !1,
|
|
933
933
|
gridSkeletonCount: i = 4
|
|
934
934
|
}) => {
|
|
935
|
-
var
|
|
935
|
+
var l, s;
|
|
936
936
|
if (a === "mosaic") {
|
|
937
937
|
const d = e[0], h = e.slice(1, 5);
|
|
938
938
|
return /* @__PURE__ */ y(
|
|
@@ -972,7 +972,7 @@ const Je = ({
|
|
|
972
972
|
children: r ? /* @__PURE__ */ t(Pe, {}) : d && /* @__PURE__ */ t(
|
|
973
973
|
Te,
|
|
974
974
|
{
|
|
975
|
-
imageUrl: `https://olimpo.bet${(
|
|
975
|
+
imageUrl: `https://olimpo.bet${(s = (l = d.background) != null ? l : d.imageUrl) != null ? s : ""}`,
|
|
976
976
|
size: "lg",
|
|
977
977
|
fillParent: !0,
|
|
978
978
|
onClick: () => n == null ? void 0 : n(d, 0)
|
|
@@ -1051,8 +1051,8 @@ const Je = ({
|
|
|
1051
1051
|
subtitle: n,
|
|
1052
1052
|
buttonText: r,
|
|
1053
1053
|
onButtonClick: i,
|
|
1054
|
-
backgroundImage:
|
|
1055
|
-
alt:
|
|
1054
|
+
backgroundImage: l,
|
|
1055
|
+
alt: s,
|
|
1056
1056
|
className: d = "",
|
|
1057
1057
|
variant: h = "small"
|
|
1058
1058
|
}) => {
|
|
@@ -1071,7 +1071,7 @@ const Je = ({
|
|
|
1071
1071
|
mx: "auto"
|
|
1072
1072
|
},
|
|
1073
1073
|
children: [
|
|
1074
|
-
|
|
1074
|
+
l && /* @__PURE__ */ t(
|
|
1075
1075
|
z,
|
|
1076
1076
|
{
|
|
1077
1077
|
sx: {
|
|
@@ -1088,8 +1088,8 @@ const Je = ({
|
|
|
1088
1088
|
z,
|
|
1089
1089
|
{
|
|
1090
1090
|
component: "img",
|
|
1091
|
-
src:
|
|
1092
|
-
alt:
|
|
1091
|
+
src: l,
|
|
1092
|
+
alt: s != null ? s : "Fondo promocional",
|
|
1093
1093
|
sx: {
|
|
1094
1094
|
width: "100%",
|
|
1095
1095
|
height: "100%",
|
|
@@ -1203,8 +1203,8 @@ const Je = ({
|
|
|
1203
1203
|
onClick: n,
|
|
1204
1204
|
imgAlt: r = "Club Olimpo",
|
|
1205
1205
|
imgSrcMobile: i,
|
|
1206
|
-
imgSrcDesktopBg:
|
|
1207
|
-
imgSrcDesktopLogo:
|
|
1206
|
+
imgSrcDesktopBg: l,
|
|
1207
|
+
imgSrcDesktopLogo: s
|
|
1208
1208
|
}) => /* @__PURE__ */ y(pe, { children: [
|
|
1209
1209
|
/* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
|
|
1210
1210
|
"img",
|
|
@@ -1215,19 +1215,19 @@ const Je = ({
|
|
|
1215
1215
|
}
|
|
1216
1216
|
) }),
|
|
1217
1217
|
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ y("div", { className: "orc-co-desktopInner", children: [
|
|
1218
|
-
|
|
1218
|
+
l && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
|
|
1219
1219
|
"img",
|
|
1220
1220
|
{
|
|
1221
|
-
src:
|
|
1221
|
+
src: l,
|
|
1222
1222
|
alt: `${r} fondo`,
|
|
1223
1223
|
className: "orc-co-bgDesktopImg"
|
|
1224
1224
|
}
|
|
1225
1225
|
) }),
|
|
1226
1226
|
/* @__PURE__ */ y("div", { className: "orc-co-desktopContent", children: [
|
|
1227
|
-
|
|
1227
|
+
s && /* @__PURE__ */ t(
|
|
1228
1228
|
"img",
|
|
1229
1229
|
{
|
|
1230
|
-
src:
|
|
1230
|
+
src: s,
|
|
1231
1231
|
alt: `${r} logo`,
|
|
1232
1232
|
className: "orc-co-logoImg"
|
|
1233
1233
|
}
|
|
@@ -1283,7 +1283,7 @@ const bt = Mt(void 0), vt = ({ children: e, docId: a, moduleId: n }) => {
|
|
|
1283
1283
|
if (!e)
|
|
1284
1284
|
throw new Error("useDocContext debe usarse dentro de DocIdProvider");
|
|
1285
1285
|
return e;
|
|
1286
|
-
}, re = () => _t().docId,
|
|
1286
|
+
}, re = () => _t().docId, se = () => _t().moduleId;
|
|
1287
1287
|
function Fa({ coupon: e }) {
|
|
1288
1288
|
var g;
|
|
1289
1289
|
const a = oe(), n = re();
|
|
@@ -1336,10 +1336,10 @@ function Fa({ coupon: e }) {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
return "/deportes#home";
|
|
1338
1338
|
}
|
|
1339
|
-
const
|
|
1339
|
+
const l = (m, u) => {
|
|
1340
1340
|
const c = Array.isArray(m) ? m : [m], f = Array.from(
|
|
1341
1341
|
new Set(
|
|
1342
|
-
|
|
1342
|
+
s.outcomes.map((k) => {
|
|
1343
1343
|
var E;
|
|
1344
1344
|
const T = h.get(Number(k.eventId));
|
|
1345
1345
|
return (E = T == null ? void 0 : T.name) != null ? E : "";
|
|
@@ -1359,8 +1359,8 @@ function Fa({ coupon: e }) {
|
|
|
1359
1359
|
}), Ue(i(e), m);
|
|
1360
1360
|
};
|
|
1361
1361
|
if (!((g = e == null ? void 0 : e.events) != null && g.length)) return null;
|
|
1362
|
-
const
|
|
1363
|
-
|
|
1362
|
+
const s = r(e), d = s.outcomes.reduce((m, u) => (m[u.eventId] || (m[u.eventId] = []), m[u.eventId].push(u), m), {}), h = new Map(
|
|
1363
|
+
s.events.map((m) => [m.id, m])
|
|
1364
1364
|
);
|
|
1365
1365
|
return /* @__PURE__ */ y("div", { className: ce.card, children: [
|
|
1366
1366
|
/* @__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(d).reverse().map(([m, u]) => {
|
|
@@ -1406,15 +1406,15 @@ function Fa({ coupon: e }) {
|
|
|
1406
1406
|
/* @__PURE__ */ y(
|
|
1407
1407
|
"button",
|
|
1408
1408
|
{
|
|
1409
|
-
onClick: () =>
|
|
1410
|
-
|
|
1411
|
-
|
|
1409
|
+
onClick: () => l(
|
|
1410
|
+
s.outcomes.map((m) => m.id),
|
|
1411
|
+
s.total
|
|
1412
1412
|
),
|
|
1413
1413
|
className: ce.cuotaTotal,
|
|
1414
1414
|
children: [
|
|
1415
1415
|
/* @__PURE__ */ y("span", { children: [
|
|
1416
1416
|
"Cuota total: ",
|
|
1417
|
-
/* @__PURE__ */ t("strong", { children:
|
|
1417
|
+
/* @__PURE__ */ t("strong", { children: s.total })
|
|
1418
1418
|
] }),
|
|
1419
1419
|
/* @__PURE__ */ t(
|
|
1420
1420
|
"img",
|
|
@@ -1449,8 +1449,8 @@ function qa({
|
|
|
1449
1449
|
href: n,
|
|
1450
1450
|
target: r,
|
|
1451
1451
|
rel: i,
|
|
1452
|
-
type:
|
|
1453
|
-
disabled:
|
|
1452
|
+
type: l = "button",
|
|
1453
|
+
disabled: s = !1,
|
|
1454
1454
|
variant: d = "primary",
|
|
1455
1455
|
size: h,
|
|
1456
1456
|
fullWidth: g = !1,
|
|
@@ -1476,9 +1476,9 @@ function qa({
|
|
|
1476
1476
|
f && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: f }),
|
|
1477
1477
|
!A && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
|
|
1478
1478
|
v && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: v })
|
|
1479
|
-
] }), L =
|
|
1479
|
+
] }), L = s ? !0 : void 0;
|
|
1480
1480
|
return n ? /* @__PURE__ */ t(
|
|
1481
|
-
|
|
1481
|
+
lt,
|
|
1482
1482
|
{
|
|
1483
1483
|
href: n,
|
|
1484
1484
|
target: r,
|
|
@@ -1493,7 +1493,7 @@ function qa({
|
|
|
1493
1493
|
) : /* @__PURE__ */ t(
|
|
1494
1494
|
"button",
|
|
1495
1495
|
{
|
|
1496
|
-
type:
|
|
1496
|
+
type: l,
|
|
1497
1497
|
onClick: a,
|
|
1498
1498
|
disabled: !!L,
|
|
1499
1499
|
"aria-label": c,
|
|
@@ -1519,12 +1519,12 @@ const za = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Pa = "
|
|
|
1519
1519
|
real: !1,
|
|
1520
1520
|
type: "short_sleeves"
|
|
1521
1521
|
}, Ae = (e, a, n = "player") => {
|
|
1522
|
-
var i,
|
|
1522
|
+
var i, l;
|
|
1523
1523
|
if (e === void 0)
|
|
1524
1524
|
return null;
|
|
1525
1525
|
if (e === null)
|
|
1526
1526
|
return a === "home" ? Ye : Qe;
|
|
1527
|
-
const r = (
|
|
1527
|
+
const r = (l = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : l[n];
|
|
1528
1528
|
return r || (a === "home" ? Ye : Qe);
|
|
1529
1529
|
};
|
|
1530
1530
|
function Ua({ event: e, liveData: a, betOffers: n, jersey: r }) {
|
|
@@ -1534,7 +1534,7 @@ function Ua({ event: e, liveData: a, betOffers: n, jersey: r }) {
|
|
|
1534
1534
|
var b;
|
|
1535
1535
|
return ((b = E.betOfferType) == null ? void 0 : b.id) === 2;
|
|
1536
1536
|
}
|
|
1537
|
-
),
|
|
1537
|
+
), l = {
|
|
1538
1538
|
englishLabel: "",
|
|
1539
1539
|
type: "",
|
|
1540
1540
|
betOfferId: 0,
|
|
@@ -1543,10 +1543,10 @@ function Ua({ event: e, liveData: a, betOffers: n, jersey: r }) {
|
|
|
1543
1543
|
oddsAmerican: "",
|
|
1544
1544
|
status: "INACTIVE",
|
|
1545
1545
|
cashOutStatus: "SUSPENDED"
|
|
1546
|
-
},
|
|
1547
|
-
{ ...
|
|
1548
|
-
{ ...
|
|
1549
|
-
{ ...
|
|
1546
|
+
}, s = [
|
|
1547
|
+
{ ...l, id: -1, label: "1", odds: void 0 },
|
|
1548
|
+
{ ...l, id: -2, label: "X", odds: void 0 },
|
|
1549
|
+
{ ...l, id: -3, label: "2", odds: void 0 }
|
|
1550
1550
|
];
|
|
1551
1551
|
return /* @__PURE__ */ t("div", { className: $e.cardWrapper, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1552
1552
|
/* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
@@ -1566,8 +1566,8 @@ function Ua({ event: e, liveData: a, betOffers: n, jersey: r }) {
|
|
|
1566
1566
|
] }) })
|
|
1567
1567
|
] }),
|
|
1568
1568
|
/* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1569
|
-
/* @__PURE__ */ t(me, { spacing: 1, children: ((k = i == null ? void 0 : i.outcomes) != null ? k :
|
|
1570
|
-
/* @__PURE__ */ t(me, { spacing: 2, children: ((T = i == null ? void 0 : i.outcomes) != null ? T :
|
|
1569
|
+
/* @__PURE__ */ t(me, { spacing: 1, children: ((k = i == null ? void 0 : i.outcomes) != null ? k : s).map((E, b) => /* @__PURE__ */ t(mt, { text: E.label.toUpperCase() }, b)) }),
|
|
1570
|
+
/* @__PURE__ */ t(me, { spacing: 2, children: ((T = i == null ? void 0 : i.outcomes) != null ? T : s).map((E, b) => /* @__PURE__ */ t(qa, { variant: "primary", disabled: E.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1571
1571
|
Ue("/deportes#event/live/" + e.id, E.id);
|
|
1572
1572
|
}, className: $e.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: $e.customButtonLabel, children: E.odds === void 0 ? "" : (E.odds / 1e3).toFixed(2) }) }, b)) })
|
|
1573
1573
|
] })
|
|
@@ -1586,14 +1586,14 @@ const ja = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Ha =
|
|
|
1586
1586
|
equipos: Za
|
|
1587
1587
|
};
|
|
1588
1588
|
function Ja({ event: e, jersey: a }) {
|
|
1589
|
-
var
|
|
1589
|
+
var s, d, h, g, m, u, c;
|
|
1590
1590
|
const n = oe(), r = re();
|
|
1591
1591
|
function i(f) {
|
|
1592
1592
|
const v = new Date(f), x = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), k = v.getDate().toString().padStart(2, "0"), T = (v.getMonth() + 1).toString().padStart(2, "0");
|
|
1593
1593
|
let E = v.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1594
1594
|
return E = E.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${k}/${T} | ${E}`;
|
|
1595
1595
|
}
|
|
1596
|
-
const
|
|
1596
|
+
const l = (f, v) => {
|
|
1597
1597
|
const x = `${e.homeName} vs ${e.awayName}`, k = v ? (v / 1e3).toFixed(2) : "", T = k ? `${x} - Cuota: ${k}` : x;
|
|
1598
1598
|
n({
|
|
1599
1599
|
element: "evento_semana_outcome",
|
|
@@ -1608,7 +1608,7 @@ function Ja({ event: e, jersey: a }) {
|
|
|
1608
1608
|
}), Ue("/deportes#event/" + e.id, f);
|
|
1609
1609
|
};
|
|
1610
1610
|
return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
|
|
1611
|
-
/* @__PURE__ */ t(pt, { title: (
|
|
1611
|
+
/* @__PURE__ */ t(pt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
|
|
1612
1612
|
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1613
1613
|
/* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1614
1614
|
/* @__PURE__ */ y("div", { className: be.equipos, children: [
|
|
@@ -1621,7 +1621,7 @@ function Ja({ event: e, jersey: a }) {
|
|
|
1621
1621
|
/* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1622
1622
|
/* @__PURE__ */ t(me, { spacing: 1, children: ((g = (h = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : h.outcomes) != null ? g : []).map((f, v) => /* @__PURE__ */ t(mt, { text: f.label.toUpperCase() }, v)) }),
|
|
1623
1623
|
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((c = (u = (m = e == null ? void 0 : e.outcome) == null ? void 0 : m[0]) == null ? void 0 : u.outcomes) != null ? c : []).map((f, v) => /* @__PURE__ */ t(J, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1624
|
-
|
|
1624
|
+
l(f.id, f.odds);
|
|
1625
1625
|
}, children: (f.odds / 1e3).toFixed(2) }, v)) }) })
|
|
1626
1626
|
] })
|
|
1627
1627
|
] }) })
|
|
@@ -1645,11 +1645,11 @@ function Ya({
|
|
|
1645
1645
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
|
|
1646
1646
|
onViewMore: r,
|
|
1647
1647
|
onItemClick: i,
|
|
1648
|
-
className:
|
|
1649
|
-
paddingMobile:
|
|
1648
|
+
className: l = "",
|
|
1649
|
+
paddingMobile: s = "24px"
|
|
1650
1650
|
}) {
|
|
1651
1651
|
var w;
|
|
1652
|
-
const d = U(null), [h, g] = Z({ isStart: !0, isEnd: !1 }), m = oe(), u = re(), c =
|
|
1652
|
+
const d = U(null), [h, g] = Z({ isStart: !0, isEnd: !1 }), m = oe(), u = re(), c = se(), f = !e || e.length === 0, v = () => {
|
|
1653
1653
|
var S;
|
|
1654
1654
|
m({
|
|
1655
1655
|
element: "destacados_carousel_prev",
|
|
@@ -1687,14 +1687,14 @@ function Ya({
|
|
|
1687
1687
|
},
|
|
1688
1688
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1689
1689
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
|
|
1690
|
-
}, T =
|
|
1690
|
+
}, T = l || void 0, E = xe("(max-width:950px)"), b = (w = e == null ? void 0 : e.length) != null ? w : 0;
|
|
1691
1691
|
Q(() => {
|
|
1692
1692
|
if (b === 0) {
|
|
1693
1693
|
g({ isStart: !0, isEnd: !0 });
|
|
1694
1694
|
return;
|
|
1695
1695
|
}
|
|
1696
1696
|
g({ isStart: !0, isEnd: !1 });
|
|
1697
|
-
}, [b, E,
|
|
1697
|
+
}, [b, E, s]);
|
|
1698
1698
|
const A = (S) => {
|
|
1699
1699
|
const L = S.promotion, F = L ? `https://www.olimpo.bet/promociones/${encodeURIComponent(L)}` : "";
|
|
1700
1700
|
if (m({
|
|
@@ -1727,8 +1727,8 @@ function Ya({
|
|
|
1727
1727
|
columnGap: 12,
|
|
1728
1728
|
rowGap: 8,
|
|
1729
1729
|
marginBottom: 16,
|
|
1730
|
-
paddingLeft: E ?
|
|
1731
|
-
paddingRight: E ?
|
|
1730
|
+
paddingLeft: E ? s : 0,
|
|
1731
|
+
paddingRight: E ? s : 0
|
|
1732
1732
|
},
|
|
1733
1733
|
children: [
|
|
1734
1734
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
@@ -1771,7 +1771,7 @@ function Ya({
|
|
|
1771
1771
|
showRightGradient: !E,
|
|
1772
1772
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
1773
1773
|
breakpoints: {
|
|
1774
|
-
768: { perPage: 2, focus: "start", padding: { left:
|
|
1774
|
+
768: { perPage: 2, focus: "start", padding: { left: s, right: s } },
|
|
1775
1775
|
1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
|
|
1776
1776
|
},
|
|
1777
1777
|
renderItem: (S) => {
|
|
@@ -1843,7 +1843,7 @@ function yt() {
|
|
|
1843
1843
|
function Qa(e) {
|
|
1844
1844
|
yt().extras = e;
|
|
1845
1845
|
}
|
|
1846
|
-
function
|
|
1846
|
+
function le(e) {
|
|
1847
1847
|
var a;
|
|
1848
1848
|
return (a = yt().extras) == null ? void 0 : a[e];
|
|
1849
1849
|
}
|
|
@@ -1856,7 +1856,7 @@ function tn({
|
|
|
1856
1856
|
iconUrl: n,
|
|
1857
1857
|
onCardClick: r
|
|
1858
1858
|
}) {
|
|
1859
|
-
const i = oe(),
|
|
1859
|
+
const i = oe(), l = re(), s = se(), d = ie(
|
|
1860
1860
|
() => (e != null ? e : []).map((u, c) => {
|
|
1861
1861
|
var f;
|
|
1862
1862
|
return {
|
|
@@ -1869,10 +1869,10 @@ function tn({
|
|
|
1869
1869
|
), h = !e || e.length === 0, g = h ? Array.from({ length: 6 }) : d.slice(0, 6), m = (u) => {
|
|
1870
1870
|
i({
|
|
1871
1871
|
element: "top_juegos_card",
|
|
1872
|
-
label: `${
|
|
1872
|
+
label: `${l} - OraculoSeccionTopJuegos - Open game: ${String(u.machine || "unknown")}`,
|
|
1873
1873
|
target: String(u.machine || "unknown"),
|
|
1874
1874
|
event_type: "click",
|
|
1875
|
-
module_id:
|
|
1875
|
+
module_id: s,
|
|
1876
1876
|
metadata: {
|
|
1877
1877
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1878
1878
|
},
|
|
@@ -1881,7 +1881,7 @@ function tn({
|
|
|
1881
1881
|
section: "OraculoSeccionTopJuegos"
|
|
1882
1882
|
}
|
|
1883
1883
|
});
|
|
1884
|
-
const c =
|
|
1884
|
+
const c = le("showIframe"), f = le("loadMachine");
|
|
1885
1885
|
c == null || c(), requestAnimationFrame(() => {
|
|
1886
1886
|
f == null || f(u, !1, "CASINO");
|
|
1887
1887
|
});
|
|
@@ -1921,7 +1921,7 @@ function tn({
|
|
|
1921
1921
|
] }) });
|
|
1922
1922
|
}
|
|
1923
1923
|
const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", nn = (e, a) => {
|
|
1924
|
-
var n, r, i,
|
|
1924
|
+
var n, r, i, l, s, d, h, g, m, u, c, f, v, x;
|
|
1925
1925
|
return {
|
|
1926
1926
|
orden: Number(a),
|
|
1927
1927
|
machine: String(
|
|
@@ -1929,8 +1929,8 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1929
1929
|
),
|
|
1930
1930
|
logo: (r = e.logo) != null ? r : "",
|
|
1931
1931
|
name: (i = e.room_name) != null ? i : "",
|
|
1932
|
-
web_name: (
|
|
1933
|
-
provider: (
|
|
1932
|
+
web_name: (l = e.product) != null ? l : "",
|
|
1933
|
+
provider: (s = e.service) != null ? s : "",
|
|
1934
1934
|
sub_provider: (d = e.service) != null ? d : "",
|
|
1935
1935
|
external_id: (h = e.external_id) != null ? h : "",
|
|
1936
1936
|
type: (g = e.game_type) != null ? g : "",
|
|
@@ -1943,7 +1943,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1943
1943
|
};
|
|
1944
1944
|
}, on = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], xt = () => {
|
|
1945
1945
|
var a, n, r;
|
|
1946
|
-
const e =
|
|
1946
|
+
const e = le("user");
|
|
1947
1947
|
return (r = (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 ? r : null;
|
|
1948
1948
|
}, rn = async (e) => {
|
|
1949
1949
|
const a = xt(), n = new URLSearchParams({
|
|
@@ -1954,12 +1954,12 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1954
1954
|
throw new Error(
|
|
1955
1955
|
`No se pudo obtener recomendaciones. HTTP ${i.status} ${i.statusText}`
|
|
1956
1956
|
);
|
|
1957
|
-
const
|
|
1957
|
+
const l = await i.json();
|
|
1958
1958
|
return {
|
|
1959
|
-
...
|
|
1960
|
-
recommendations: Array.isArray(
|
|
1959
|
+
...l,
|
|
1960
|
+
recommendations: Array.isArray(l == null ? void 0 : l.recommendations) ? l.recommendations.slice(0, 49) : []
|
|
1961
1961
|
};
|
|
1962
|
-
},
|
|
1962
|
+
}, ln = async (e, a) => {
|
|
1963
1963
|
const n = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", r = JSON.stringify({
|
|
1964
1964
|
userId: String(e),
|
|
1965
1965
|
items: a
|
|
@@ -1974,22 +1974,22 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1974
1974
|
throw new Error(`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`);
|
|
1975
1975
|
return (await i.json()).rankedItems;
|
|
1976
1976
|
}, Ve = (e, a = !1, n = "Casino") => {
|
|
1977
|
-
const [r, i] = Z([]), [
|
|
1977
|
+
const [r, i] = Z([]), [l, s] = Z(!1);
|
|
1978
1978
|
return Q(() => {
|
|
1979
1979
|
let d = !1;
|
|
1980
1980
|
return (async () => {
|
|
1981
1981
|
if (!a) {
|
|
1982
|
-
i(Array.isArray(e) ? e : []),
|
|
1982
|
+
i(Array.isArray(e) ? e : []), s(!1);
|
|
1983
1983
|
return;
|
|
1984
1984
|
}
|
|
1985
|
-
|
|
1985
|
+
s(!0);
|
|
1986
1986
|
try {
|
|
1987
1987
|
const g = await rn(n), m = on(g);
|
|
1988
1988
|
if (!m.length) {
|
|
1989
1989
|
d || i([]);
|
|
1990
1990
|
return;
|
|
1991
1991
|
}
|
|
1992
|
-
const u = xt(), c = await
|
|
1992
|
+
const u = xt(), c = await ln(u, m), f = c.map((T) => T.itemId), v = await Promise.allSettled(
|
|
1993
1993
|
f.map(async (T, E) => {
|
|
1994
1994
|
const b = await fetch(`https://api.mktolimpo.com/api/machine/${T}`);
|
|
1995
1995
|
if (!b.ok)
|
|
@@ -2012,16 +2012,16 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2012
2012
|
} catch (g) {
|
|
2013
2013
|
console.error(`[usePersonalizeGameItems:${n}] error:`, g), d || i([]);
|
|
2014
2014
|
} finally {
|
|
2015
|
-
d ||
|
|
2015
|
+
d || s(!1);
|
|
2016
2016
|
}
|
|
2017
2017
|
})(), () => {
|
|
2018
2018
|
d = !0;
|
|
2019
2019
|
};
|
|
2020
2020
|
}, [e, a, n]), {
|
|
2021
2021
|
resolvedItems: r,
|
|
2022
|
-
loading:
|
|
2022
|
+
loading: l
|
|
2023
2023
|
};
|
|
2024
|
-
},
|
|
2024
|
+
}, sn = (e, a = !1) => Ve(e, a, "Casino"), cn = (e, a = !1) => Ve(e, a, "Deportes virtuales"), dn = (e, a = !1) => Ve(e, a, "Casino en vivo"), un = (e, a) => {
|
|
2025
2025
|
var n, r;
|
|
2026
2026
|
return (r = (n = e.orden) != null ? n : e.machine) != null ? r : a;
|
|
2027
2027
|
}, mn = (e) => {
|
|
@@ -2040,12 +2040,12 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2040
2040
|
subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
2041
2041
|
backgroundMobileUrl: r = "",
|
|
2042
2042
|
onCardClick: i,
|
|
2043
|
-
backgroundDesktopUrl:
|
|
2044
|
-
onViewMore:
|
|
2043
|
+
backgroundDesktopUrl: l = "",
|
|
2044
|
+
onViewMore: s,
|
|
2045
2045
|
className: d,
|
|
2046
2046
|
isPersonalize: h = !1
|
|
2047
2047
|
}) => {
|
|
2048
|
-
const g = oe(), m = re(), u =
|
|
2048
|
+
const g = oe(), m = re(), u = se(), c = mn(h), { resolvedItems: f, loading: v } = dn(
|
|
2049
2049
|
e,
|
|
2050
2050
|
c
|
|
2051
2051
|
), x = c ? f : Array.isArray(e) ? e : [], k = c ? v : !Array.isArray(e) || e.length === 0, T = (b) => {
|
|
@@ -2064,7 +2064,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2064
2064
|
section: "OraculoSeccionCasinoEnVivo"
|
|
2065
2065
|
}
|
|
2066
2066
|
});
|
|
2067
|
-
const A =
|
|
2067
|
+
const A = le("showIframe"), w = le("loadMachine");
|
|
2068
2068
|
if (!w) {
|
|
2069
2069
|
if (i) {
|
|
2070
2070
|
i(b);
|
|
@@ -2090,7 +2090,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2090
2090
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2091
2091
|
},
|
|
2092
2092
|
tags: { section: "OraculoSeccionCasinoEnVivo" }
|
|
2093
|
-
}), typeof globalThis != "undefined" && globalThis.location && (
|
|
2093
|
+
}), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
|
|
2094
2094
|
};
|
|
2095
2095
|
return /* @__PURE__ */ y(
|
|
2096
2096
|
z,
|
|
@@ -2117,7 +2117,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2117
2117
|
md: `
|
|
2118
2118
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2119
2119
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2120
|
-
url('${
|
|
2120
|
+
url('${l}')
|
|
2121
2121
|
`
|
|
2122
2122
|
},
|
|
2123
2123
|
backgroundSize: {
|
|
@@ -2240,32 +2240,32 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2240
2240
|
var n, r;
|
|
2241
2241
|
return (r = (n = e.orden) != null ? n : e.machine) != null ? r : a;
|
|
2242
2242
|
}, gn = (e, a = !0, n = 1) => {
|
|
2243
|
-
const r = e.map((
|
|
2243
|
+
const r = e.map((s, d) => {
|
|
2244
2244
|
var h;
|
|
2245
2245
|
return {
|
|
2246
|
-
id: St(
|
|
2247
|
-
imageUrl: (h =
|
|
2248
|
-
...
|
|
2246
|
+
id: St(s, d),
|
|
2247
|
+
imageUrl: (h = s.logo) != null ? h : "",
|
|
2248
|
+
...s.background ? { background: s.background } : {}
|
|
2249
2249
|
};
|
|
2250
2250
|
});
|
|
2251
2251
|
if (!r.length) return [];
|
|
2252
2252
|
const i = [];
|
|
2253
|
-
let
|
|
2253
|
+
let l = 0;
|
|
2254
2254
|
if (a) {
|
|
2255
|
-
const
|
|
2255
|
+
const s = Math.min(r.length, 1);
|
|
2256
2256
|
i.push({
|
|
2257
2257
|
id: "mosaic-0",
|
|
2258
2258
|
kind: "mosaic",
|
|
2259
|
-
items: r.slice(0,
|
|
2260
|
-
}),
|
|
2259
|
+
items: r.slice(0, s)
|
|
2260
|
+
}), l = s;
|
|
2261
2261
|
}
|
|
2262
|
-
for (;
|
|
2263
|
-
const
|
|
2262
|
+
for (; l < r.length; ) {
|
|
2263
|
+
const s = Math.min(l + n, r.length);
|
|
2264
2264
|
i.push({
|
|
2265
|
-
id: `grid-${
|
|
2265
|
+
id: `grid-${l}`,
|
|
2266
2266
|
kind: "grid",
|
|
2267
|
-
items: r.slice(
|
|
2268
|
-
}),
|
|
2267
|
+
items: r.slice(l, s)
|
|
2268
|
+
}), l = s;
|
|
2269
2269
|
}
|
|
2270
2270
|
return i;
|
|
2271
2271
|
}, hn = ({
|
|
@@ -2274,11 +2274,11 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2274
2274
|
iconUrl: n = "/assets/img/home/Casino/diamante.svg",
|
|
2275
2275
|
onItemClick: r,
|
|
2276
2276
|
onViewMore: i,
|
|
2277
|
-
mosaicFirst:
|
|
2278
|
-
gridSize:
|
|
2277
|
+
mosaicFirst: l = !0,
|
|
2278
|
+
gridSize: s = 1,
|
|
2279
2279
|
isPersonalize: d = !1
|
|
2280
2280
|
}) => {
|
|
2281
|
-
const h = oe(), g = re(), m =
|
|
2281
|
+
const h = oe(), g = re(), m = se(), u = U(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), v = fn(d), { resolvedItems: x, loading: k } = sn(
|
|
2282
2282
|
e,
|
|
2283
2283
|
v
|
|
2284
2284
|
), T = v ? x : Array.isArray(e) ? e : [], E = () => {
|
|
@@ -2329,7 +2329,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2329
2329
|
imageUrl: ""
|
|
2330
2330
|
})), q = [];
|
|
2331
2331
|
return I && q.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), q.push({ id: "grid-loading", kind: "grid", items: O(_) }), q;
|
|
2332
|
-
}, S = v ? k : !Array.isArray(e) || e.length === 0, L = De("(max-width:950px)"), F = S ? w(
|
|
2332
|
+
}, S = v ? k : !Array.isArray(e) || e.length === 0, L = De("(max-width:950px)"), F = S ? w(l, s) : gn(T, l, s);
|
|
2333
2333
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2334
2334
|
/* @__PURE__ */ y(
|
|
2335
2335
|
z,
|
|
@@ -2428,7 +2428,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2428
2428
|
section: a || "Casino"
|
|
2429
2429
|
}
|
|
2430
2430
|
});
|
|
2431
|
-
const q =
|
|
2431
|
+
const q = le("showIframe"), M = le("loadMachine");
|
|
2432
2432
|
q == null || q(), M == null || M(O, !1, "CASINO");
|
|
2433
2433
|
}
|
|
2434
2434
|
}
|
|
@@ -2451,37 +2451,37 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2451
2451
|
var n, r;
|
|
2452
2452
|
return (r = (n = e.orden) != null ? n : e.machine) != null ? r : a;
|
|
2453
2453
|
}, vn = (e, a = !0, n = 1) => {
|
|
2454
|
-
const r = e.map((
|
|
2454
|
+
const r = e.map((s, d) => {
|
|
2455
2455
|
var h;
|
|
2456
2456
|
return {
|
|
2457
|
-
id: wt(
|
|
2458
|
-
imageUrl: (h =
|
|
2459
|
-
...
|
|
2457
|
+
id: wt(s, d),
|
|
2458
|
+
imageUrl: (h = s.logo) != null ? h : "",
|
|
2459
|
+
...s.background ? { background: s.background } : {}
|
|
2460
2460
|
};
|
|
2461
2461
|
});
|
|
2462
2462
|
if (!r.length) return [];
|
|
2463
2463
|
const i = [];
|
|
2464
|
-
let
|
|
2464
|
+
let l = 0;
|
|
2465
2465
|
if (a) {
|
|
2466
|
-
const
|
|
2466
|
+
const s = Math.min(r.length, 1);
|
|
2467
2467
|
i.push({
|
|
2468
2468
|
id: "mosaic-0",
|
|
2469
2469
|
kind: "mosaic",
|
|
2470
|
-
items: r.slice(0,
|
|
2471
|
-
}),
|
|
2470
|
+
items: r.slice(0, s)
|
|
2471
|
+
}), l = s;
|
|
2472
2472
|
}
|
|
2473
|
-
for (;
|
|
2474
|
-
const
|
|
2473
|
+
for (; l < r.length; ) {
|
|
2474
|
+
const s = Math.min(l + n, r.length);
|
|
2475
2475
|
i.push({
|
|
2476
|
-
id: `grid-${
|
|
2476
|
+
id: `grid-${l}`,
|
|
2477
2477
|
kind: "grid",
|
|
2478
|
-
items: r.slice(
|
|
2479
|
-
}),
|
|
2478
|
+
items: r.slice(l, s)
|
|
2479
|
+
}), l = s;
|
|
2480
2480
|
}
|
|
2481
2481
|
return i;
|
|
2482
2482
|
}, _n = (e = !0, a = 4) => {
|
|
2483
|
-
const n = (i) => Array.from({ length: i }, (
|
|
2484
|
-
id: `sk-${i}-${
|
|
2483
|
+
const n = (i) => Array.from({ length: i }, (l, s) => ({
|
|
2484
|
+
id: `sk-${i}-${s}`,
|
|
2485
2485
|
imageUrl: ""
|
|
2486
2486
|
})), r = [];
|
|
2487
2487
|
return e && r.push({
|
|
@@ -2499,11 +2499,11 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2499
2499
|
iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
|
|
2500
2500
|
onItemClick: r,
|
|
2501
2501
|
onViewMore: i,
|
|
2502
|
-
mosaicFirst:
|
|
2503
|
-
gridSize:
|
|
2502
|
+
mosaicFirst: l = !0,
|
|
2503
|
+
gridSize: s = 1,
|
|
2504
2504
|
isPersonalize: d = !1
|
|
2505
2505
|
}) => {
|
|
2506
|
-
const h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), u = oe(), c = re(), f =
|
|
2506
|
+
const h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), u = oe(), c = re(), f = se(), v = bn(d), { resolvedItems: x, loading: k } = cn(
|
|
2507
2507
|
e,
|
|
2508
2508
|
v
|
|
2509
2509
|
), T = v ? x : Array.isArray(e) ? e : [], E = () => {
|
|
@@ -2548,7 +2548,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2548
2548
|
return;
|
|
2549
2549
|
}
|
|
2550
2550
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2551
|
-
}, w = v ? k : !Array.isArray(e) || e.length === 0, S = xe("(max-width:950px)"), L = w ? _n(
|
|
2551
|
+
}, w = v ? k : !Array.isArray(e) || e.length === 0, S = xe("(max-width:950px)"), L = w ? _n(l, s) : vn(T, l, s);
|
|
2552
2552
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2553
2553
|
/* @__PURE__ */ y(
|
|
2554
2554
|
z,
|
|
@@ -2653,7 +2653,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2653
2653
|
section: a || "Virtuales"
|
|
2654
2654
|
}
|
|
2655
2655
|
});
|
|
2656
|
-
const O =
|
|
2656
|
+
const O = le("showIframe"), q = le("loadMachine");
|
|
2657
2657
|
O == null || O(), q == null || q(
|
|
2658
2658
|
_,
|
|
2659
2659
|
!1,
|
|
@@ -2704,7 +2704,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2704
2704
|
items: n,
|
|
2705
2705
|
backgroundImageUrl: r
|
|
2706
2706
|
}) => {
|
|
2707
|
-
const i = oe(),
|
|
2707
|
+
const i = oe(), l = re(), s = xe("(max-width: 767px)"), d = n.length > 1, h = U(null), g = U(null), m = U(!1), u = U(!1), [c, f] = Z(0), [v, x] = Z({ isStart: !0, isEnd: !1 });
|
|
2708
2708
|
Q(() => {
|
|
2709
2709
|
const _ = setTimeout(() => {
|
|
2710
2710
|
m.current = !0;
|
|
@@ -2747,7 +2747,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2747
2747
|
const O = n == null ? void 0 : n[_];
|
|
2748
2748
|
i({
|
|
2749
2749
|
element: "welcome_banner_carousel",
|
|
2750
|
-
label: `Landing: ${
|
|
2750
|
+
label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (_ + 1)}`,
|
|
2751
2751
|
target: "no_url",
|
|
2752
2752
|
event_type: "view",
|
|
2753
2753
|
module_id: 301,
|
|
@@ -2860,7 +2860,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2860
2860
|
// arrows: false,
|
|
2861
2861
|
// drag: true,
|
|
2862
2862
|
},
|
|
2863
|
-
renderItem: (_, O) => /* @__PURE__ */ t(z, { sx: { width: "100%" }, children: I(_, !
|
|
2863
|
+
renderItem: (_, O) => /* @__PURE__ */ t(z, { sx: { width: "100%" }, children: I(_, !s, O) }),
|
|
2864
2864
|
onMove: ({ index: _, isStart: O, isEnd: q, source: M }) => {
|
|
2865
2865
|
f(_), typeof O == "boolean" && typeof q == "boolean" && x({ isStart: O, isEnd: q }), M === "user" && F(_);
|
|
2866
2866
|
}
|
|
@@ -2875,7 +2875,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2875
2875
|
var O;
|
|
2876
2876
|
i({
|
|
2877
2877
|
element: "welcome_banner_dots",
|
|
2878
|
-
label: `Landing: ${
|
|
2878
|
+
label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${_ + 1}`,
|
|
2879
2879
|
target: "no_url",
|
|
2880
2880
|
event_type: "click",
|
|
2881
2881
|
module_id: 301,
|
|
@@ -2898,12 +2898,12 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2898
2898
|
items: n,
|
|
2899
2899
|
selectedIndex: r = 0,
|
|
2900
2900
|
ariaLabel: i,
|
|
2901
|
-
user:
|
|
2901
|
+
user: l = null
|
|
2902
2902
|
}) => {
|
|
2903
|
-
const
|
|
2903
|
+
const s = U(null), d = U(null), h = oe(), g = re(), m = se();
|
|
2904
2904
|
if (!n) return null;
|
|
2905
2905
|
const u = async () => {
|
|
2906
|
-
let x =
|
|
2906
|
+
let x = l;
|
|
2907
2907
|
if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
|
|
2908
2908
|
try {
|
|
2909
2909
|
const k = localStorage.getItem("user");
|
|
@@ -2949,8 +2949,8 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2949
2949
|
x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
2950
2950
|
}, f = Array.isArray(n) ? n[r] : n;
|
|
2951
2951
|
Bt(() => {
|
|
2952
|
-
if (!
|
|
2953
|
-
const x =
|
|
2952
|
+
if (!s.current || !d.current || typeof ResizeObserver == "undefined") return;
|
|
2953
|
+
const x = s.current, k = d.current, T = () => {
|
|
2954
2954
|
x.style.setProperty(
|
|
2955
2955
|
"--orc-co-bottomH",
|
|
2956
2956
|
`${k.offsetHeight + 16}px`
|
|
@@ -2966,7 +2966,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2966
2966
|
return /* @__PURE__ */ t(
|
|
2967
2967
|
"section",
|
|
2968
2968
|
{
|
|
2969
|
-
ref:
|
|
2969
|
+
ref: s,
|
|
2970
2970
|
className: v,
|
|
2971
2971
|
"aria-label": i || f.imgAlt || "Club Olimpo",
|
|
2972
2972
|
children: /* @__PURE__ */ t("div", { ref: d, children: /* @__PURE__ */ t(
|
|
@@ -2989,20 +2989,20 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2989
2989
|
}, En = (e) => {
|
|
2990
2990
|
var a, n;
|
|
2991
2991
|
return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((r) => {
|
|
2992
|
-
var i,
|
|
2993
|
-
return (
|
|
2992
|
+
var i, l;
|
|
2993
|
+
return (l = (i = r.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? l : [];
|
|
2994
2994
|
}) : [];
|
|
2995
2995
|
};
|
|
2996
2996
|
function Cn(e, a, n) {
|
|
2997
2997
|
return n ? n.map((r) => {
|
|
2998
2998
|
var m, u;
|
|
2999
|
-
const i = r.prePackCouponRows.flatMap((c) => En(c).map((f) => ({ eventId: c.eventId, outcomeId: f }))),
|
|
2999
|
+
const i = r.prePackCouponRows.flatMap((c) => En(c).map((f) => ({ eventId: c.eventId, outcomeId: f }))), l = new Set(i.map((c) => c.eventId)), s = new Set(i.map((c) => c.outcomeId)), d = new Map(i.map((c, f) => [c.outcomeId, f])), h = {};
|
|
3000
3000
|
for (const c of a) {
|
|
3001
|
-
if (!
|
|
3002
|
-
const f = c.outcomes.filter((v) =>
|
|
3001
|
+
if (!l.has(c.eventId)) continue;
|
|
3002
|
+
const f = c.outcomes.filter((v) => s.has(v.id)).map((v) => ({ ...v, position: d.get(v.id) }));
|
|
3003
3003
|
f.length && ((u = h[m = c.eventId]) != null || (h[m] = []), h[c.eventId].push({ ...c, outcomes: f }));
|
|
3004
3004
|
}
|
|
3005
|
-
const g = e.filter((c) =>
|
|
3005
|
+
const g = e.filter((c) => l.has(c.id)).map((c) => {
|
|
3006
3006
|
var f;
|
|
3007
3007
|
return { ...c, betoffers: (f = h[c.id]) != null ? f : [] };
|
|
3008
3008
|
});
|
|
@@ -3031,11 +3031,11 @@ function $n({
|
|
|
3031
3031
|
onViewMore: r,
|
|
3032
3032
|
className: i = ""
|
|
3033
3033
|
}) {
|
|
3034
|
-
const
|
|
3034
|
+
const l = oe(), s = re(), d = se(), h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), [u, c] = Z([]), f = "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", v = () => {
|
|
3035
3035
|
var w;
|
|
3036
|
-
|
|
3036
|
+
l({
|
|
3037
3037
|
element: "evento_combinadas_prev",
|
|
3038
|
-
label: `${
|
|
3038
|
+
label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
|
|
3039
3039
|
event_type: "click",
|
|
3040
3040
|
module_id: d,
|
|
3041
3041
|
metadata: {
|
|
@@ -3045,9 +3045,9 @@ function $n({
|
|
|
3045
3045
|
}), (w = h.current) == null || w.prev();
|
|
3046
3046
|
}, x = () => {
|
|
3047
3047
|
var w;
|
|
3048
|
-
|
|
3048
|
+
l({
|
|
3049
3049
|
element: "evento_combinadas_next",
|
|
3050
|
-
label: `${
|
|
3050
|
+
label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
|
|
3051
3051
|
event_type: "click",
|
|
3052
3052
|
module_id: d,
|
|
3053
3053
|
metadata: {
|
|
@@ -3056,9 +3056,9 @@ function $n({
|
|
|
3056
3056
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3057
3057
|
}), (w = h.current) == null || w.next();
|
|
3058
3058
|
}, k = () => {
|
|
3059
|
-
|
|
3059
|
+
l({
|
|
3060
3060
|
element: "evento_combinadas_ver_mas",
|
|
3061
|
-
label: `${
|
|
3061
|
+
label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
|
|
3062
3062
|
event_type: "click",
|
|
3063
3063
|
module_id: d,
|
|
3064
3064
|
metadata: {
|
|
@@ -3191,7 +3191,7 @@ function It({
|
|
|
3191
3191
|
buffer: r = 2,
|
|
3192
3192
|
debounceMs: i = 250
|
|
3193
3193
|
}) {
|
|
3194
|
-
const [
|
|
3194
|
+
const [l, s] = Z({}), d = U(/* @__PURE__ */ new Set()), h = U(0), g = U(null), m = U(null);
|
|
3195
3195
|
return Q(() => {
|
|
3196
3196
|
if (!(!e || e.length === 0))
|
|
3197
3197
|
return g.current && clearTimeout(g.current), g.current = setTimeout(() => {
|
|
@@ -3200,7 +3200,7 @@ function It({
|
|
|
3200
3200
|
let x = f, k = v;
|
|
3201
3201
|
const T = m.current;
|
|
3202
3202
|
T && (f > T.end && (x = T.end + 1), v < T.start && (k = T.start - 1)), m.current = { start: f, end: v };
|
|
3203
|
-
const E = e.slice(x, k + 1).map((S) => S == null ? void 0 : S.id).filter((S) => !!S).filter((S) => !d.current.has(S)).filter((S) => !(S in
|
|
3203
|
+
const E = e.slice(x, k + 1).map((S) => S == null ? void 0 : S.id).filter((S) => !!S).filter((S) => !d.current.has(S)).filter((S) => !(S in l));
|
|
3204
3204
|
if (E.length === 0) return;
|
|
3205
3205
|
E.forEach((S) => d.current.add(S));
|
|
3206
3206
|
const b = ++h.current;
|
|
@@ -3217,7 +3217,7 @@ function It({
|
|
|
3217
3217
|
);
|
|
3218
3218
|
return;
|
|
3219
3219
|
}
|
|
3220
|
-
|
|
3220
|
+
s((F) => {
|
|
3221
3221
|
const I = { ...F };
|
|
3222
3222
|
for (const [_, O] of Object.entries(S.events)) {
|
|
3223
3223
|
const q = Number(_);
|
|
@@ -3241,17 +3241,17 @@ function It({
|
|
|
3241
3241
|
g.current && clearTimeout(g.current);
|
|
3242
3242
|
};
|
|
3243
3243
|
}, [e, a, r, i, n]), {
|
|
3244
|
-
jerseys:
|
|
3244
|
+
jerseys: l,
|
|
3245
3245
|
isPending: d.current
|
|
3246
3246
|
};
|
|
3247
3247
|
}
|
|
3248
3248
|
const Ln = (e) => {
|
|
3249
3249
|
const a = ["esports", "cyber"];
|
|
3250
3250
|
return e.filter((n) => {
|
|
3251
|
-
var
|
|
3252
|
-
const r = (
|
|
3251
|
+
var l, s;
|
|
3252
|
+
const r = (l = n == null ? void 0 : n.event) == null ? void 0 : l.sport;
|
|
3253
3253
|
if (typeof r != "string" || r !== "FOOTBALL") return !1;
|
|
3254
|
-
const i = typeof ((
|
|
3254
|
+
const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
|
|
3255
3255
|
return !a.some((d) => i.includes(d));
|
|
3256
3256
|
});
|
|
3257
3257
|
}, Fn = fe.memo(Ua);
|
|
@@ -3262,7 +3262,7 @@ function qn({
|
|
|
3262
3262
|
onViewMore: r,
|
|
3263
3263
|
className: i = ""
|
|
3264
3264
|
}) {
|
|
3265
|
-
const
|
|
3265
|
+
const l = "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 = U(null), [d, h] = Z({ isStart: !0, isEnd: !1 }), [g, m] = Z(null), [u, c] = Z({ start: null, end: null }), [f, v] = Z(null), x = U(!1), k = oe(), T = re(), E = se(), b = U(/* @__PURE__ */ new Map()), A = () => {
|
|
3266
3266
|
var M;
|
|
3267
3267
|
k({
|
|
3268
3268
|
element: "evento_en_vivo_prev",
|
|
@@ -3274,7 +3274,7 @@ function qn({
|
|
|
3274
3274
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3275
3275
|
},
|
|
3276
3276
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3277
|
-
}), (M =
|
|
3277
|
+
}), (M = s.current) == null || M.prev();
|
|
3278
3278
|
}, w = () => {
|
|
3279
3279
|
var M;
|
|
3280
3280
|
k({
|
|
@@ -3287,7 +3287,7 @@ function qn({
|
|
|
3287
3287
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3288
3288
|
},
|
|
3289
3289
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3290
|
-
}), (M =
|
|
3290
|
+
}), (M = s.current) == null || M.next();
|
|
3291
3291
|
}, S = () => {
|
|
3292
3292
|
k({
|
|
3293
3293
|
element: "evento_en_vivo_view_more",
|
|
@@ -3312,7 +3312,7 @@ function qn({
|
|
|
3312
3312
|
console.error("Order fetch failed, using default sorting", G);
|
|
3313
3313
|
}
|
|
3314
3314
|
}
|
|
3315
|
-
const B = await fetch(
|
|
3315
|
+
const B = await fetch(l);
|
|
3316
3316
|
if (!B.ok) throw new Error("Failed to fetch live events");
|
|
3317
3317
|
const P = await B.json(), V = Ln(P.events);
|
|
3318
3318
|
if (b.current.size === 0)
|
|
@@ -3382,7 +3382,7 @@ function qn({
|
|
|
3382
3382
|
/* @__PURE__ */ t(
|
|
3383
3383
|
he,
|
|
3384
3384
|
{
|
|
3385
|
-
ref:
|
|
3385
|
+
ref: s,
|
|
3386
3386
|
items: O,
|
|
3387
3387
|
perPage: void 0,
|
|
3388
3388
|
showRightGradient: !q,
|
|
@@ -3453,10 +3453,10 @@ async function Gn(e, a = 2, n) {
|
|
|
3453
3453
|
for (let i = 0; i < e.length; i += a) {
|
|
3454
3454
|
if (n.aborted)
|
|
3455
3455
|
throw new DOMException("Aborted", "AbortError");
|
|
3456
|
-
const
|
|
3457
|
-
|
|
3456
|
+
const l = e.slice(i, i + a), s = await Promise.all(
|
|
3457
|
+
l.map((d) => fetch(d, { signal: n }).then((h) => h.json()))
|
|
3458
3458
|
);
|
|
3459
|
-
r.push(...
|
|
3459
|
+
r.push(...s);
|
|
3460
3460
|
}
|
|
3461
3461
|
return r;
|
|
3462
3462
|
}
|
|
@@ -3475,9 +3475,9 @@ function Hn(e) {
|
|
|
3475
3475
|
}
|
|
3476
3476
|
function Kn(e, a) {
|
|
3477
3477
|
const r = a.filter((i) => {
|
|
3478
|
-
var
|
|
3479
|
-
return ((
|
|
3480
|
-
}).reduce((i,
|
|
3478
|
+
var l;
|
|
3479
|
+
return ((l = i.betOfferType) == null ? void 0 : l.id) === 2;
|
|
3480
|
+
}).reduce((i, l) => (i[l.eventId] || (i[l.eventId] = []), i[l.eventId].push(l), i), {});
|
|
3481
3481
|
return e.filter((i) => r[i.id]).map((i) => ({
|
|
3482
3482
|
...i,
|
|
3483
3483
|
outcome: r[i.id]
|
|
@@ -3490,10 +3490,10 @@ function Zn({
|
|
|
3490
3490
|
onViewMore: r,
|
|
3491
3491
|
className: i = ""
|
|
3492
3492
|
}) {
|
|
3493
|
-
const
|
|
3494
|
-
|
|
3493
|
+
const l = oe(), s = re(), d = se(), h = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", g = U(null), [m, u] = Z({ isStart: !0, isEnd: !1 }), [c, f] = Z(null), [v, x] = Z({ start: null, end: null }), k = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", T = () => {
|
|
3494
|
+
l({
|
|
3495
3495
|
element: "evento_semana_view_more",
|
|
3496
|
-
label: `${
|
|
3496
|
+
label: `${s} - OraculoSeccionEventoSemana - Ver más`,
|
|
3497
3497
|
target: "ver_mas",
|
|
3498
3498
|
event_type: "click",
|
|
3499
3499
|
module_id: d,
|
|
@@ -3643,9 +3643,9 @@ function Zn({
|
|
|
3643
3643
|
u({ isStart: I, isEnd: _ }), x({
|
|
3644
3644
|
start: O,
|
|
3645
3645
|
end: q
|
|
3646
|
-
}), M === "user" &&
|
|
3646
|
+
}), M === "user" && l({
|
|
3647
3647
|
element: "evento_semana_carousel_slide",
|
|
3648
|
-
label: `${
|
|
3648
|
+
label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
|
|
3649
3649
|
target: "carousel",
|
|
3650
3650
|
event_type: "slide",
|
|
3651
3651
|
module_id: d,
|
|
@@ -3673,19 +3673,19 @@ const Jn = -300, Xn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ot = (e) => {
|
|
|
3673
3673
|
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
|
|
3674
3674
|
);
|
|
3675
3675
|
if (!a) return null;
|
|
3676
|
-
const [, n, r, i,
|
|
3676
|
+
const [, n, r, i, l, s, d = "00"] = a;
|
|
3677
3677
|
return Date.UTC(
|
|
3678
3678
|
Number(n),
|
|
3679
3679
|
Number(r) - 1,
|
|
3680
3680
|
Number(i),
|
|
3681
|
-
Number(
|
|
3682
|
-
Number(
|
|
3681
|
+
Number(l) - Jn / 60,
|
|
3682
|
+
Number(s),
|
|
3683
3683
|
Number(d)
|
|
3684
3684
|
);
|
|
3685
3685
|
}, Yn = (e, a) => {
|
|
3686
3686
|
var d, h, g, m, u, c, f, v, x;
|
|
3687
|
-
const n = (g = (h = (d = e == null ? void 0 : e.fields) != null ? d : e == null ? void 0 : e.parameters) != null ? h : e == null ? void 0 : e.extraFields) != null ? g : [], r = (c = (u = e == null ? void 0 : e.startAt) != null ? u : (m = n.find((k) => (k == null ? void 0 : k.name) === "startAt")) == null ? void 0 : m.value) != null ? c : null, i = (x = (v = e == null ? void 0 : e.endAt) != null ? v : (f = n.find((k) => (k == null ? void 0 : k.name) === "endAt")) == null ? void 0 : f.value) != null ? x : null,
|
|
3688
|
-
return !(
|
|
3687
|
+
const n = (g = (h = (d = e == null ? void 0 : e.fields) != null ? d : e == null ? void 0 : e.parameters) != null ? h : e == null ? void 0 : e.extraFields) != null ? g : [], r = (c = (u = e == null ? void 0 : e.startAt) != null ? u : (m = n.find((k) => (k == null ? void 0 : k.name) === "startAt")) == null ? void 0 : m.value) != null ? c : null, i = (x = (v = e == null ? void 0 : e.endAt) != null ? v : (f = n.find((k) => (k == null ? void 0 : k.name) === "endAt")) == null ? void 0 : f.value) != null ? x : null, l = ot(r), s = ot(i);
|
|
3688
|
+
return !(l != null && a < l || s != null && a >= s);
|
|
3689
3689
|
};
|
|
3690
3690
|
function Qn({
|
|
3691
3691
|
backgrounds: e,
|
|
@@ -3694,7 +3694,7 @@ function Qn({
|
|
|
3694
3694
|
user: r = null
|
|
3695
3695
|
}) {
|
|
3696
3696
|
var te;
|
|
3697
|
-
const [i,
|
|
3697
|
+
const [i, l] = Z(0), s = oe(), d = re(), h = se(), g = U(null), m = U(!1), u = U(!1), [c, f] = Z(() => Date.now()), v = le("setDepositActionGlobal"), x = le("setAbrirLiveActionGlobal"), k = le("openLoginWithRedirect"), T = (o) => [...o != null ? o : []].map((p, C) => ({ item: p, index: C })).sort((p, C) => {
|
|
3698
3698
|
var R, D;
|
|
3699
3699
|
const $ = (R = p.item.order) != null ? R : Number.MAX_SAFE_INTEGER, N = (D = C.item.order) != null ? D : Number.MAX_SAFE_INTEGER;
|
|
3700
3700
|
return $ - N || p.index - C.index;
|
|
@@ -3771,7 +3771,7 @@ function Qn({
|
|
|
3771
3771
|
return;
|
|
3772
3772
|
}
|
|
3773
3773
|
const R = ((Y = (D = p.href) == null ? void 0 : D.split("/").pop()) == null ? void 0 : Y.split(".")[0]) || p.label || p.id || `banner_${C + 1}`;
|
|
3774
|
-
|
|
3774
|
+
s({
|
|
3775
3775
|
element: "banner_carousel",
|
|
3776
3776
|
label: `${d} - OraculoSeccionBanners - Banner click: ${R}`,
|
|
3777
3777
|
target: p.href || "no_url",
|
|
@@ -3790,7 +3790,7 @@ function Qn({
|
|
|
3790
3790
|
});
|
|
3791
3791
|
}, q = (o) => {
|
|
3792
3792
|
var p;
|
|
3793
|
-
if (
|
|
3793
|
+
if (s({
|
|
3794
3794
|
element: "banner_menu_item",
|
|
3795
3795
|
label: `${d} - OraculoSeccionBanners - Menu item click: ${o.label || o.id}`,
|
|
3796
3796
|
target: o.href || "action",
|
|
@@ -3832,7 +3832,7 @@ function Qn({
|
|
|
3832
3832
|
const p = (o % A + A) % A;
|
|
3833
3833
|
if (!m.current) return;
|
|
3834
3834
|
const C = ($ = b == null ? void 0 : b[p]) != null && $.href ? ((R = (N = b[p].href) == null ? void 0 : N.split("/").pop()) == null ? void 0 : R.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
|
|
3835
|
-
|
|
3835
|
+
s({
|
|
3836
3836
|
element: "banner_carousel",
|
|
3837
3837
|
label: `${d} - OraculoSeccionBanners - Banner view: Slide ${p + 1} - ${C}`,
|
|
3838
3838
|
target: ((D = b == null ? void 0 : b[p]) == null ? void 0 : D.href) || "no_url",
|
|
@@ -3892,7 +3892,7 @@ function Qn({
|
|
|
3892
3892
|
options: _,
|
|
3893
3893
|
onMove: ({ index: o, source: p }) => {
|
|
3894
3894
|
const C = (o % A + A) % A;
|
|
3895
|
-
|
|
3895
|
+
l(C);
|
|
3896
3896
|
const $ = u.current;
|
|
3897
3897
|
u.current = !1, p === "user" && (G(), $ || X(o));
|
|
3898
3898
|
},
|
|
@@ -4132,7 +4132,7 @@ function Qn({
|
|
|
4132
4132
|
}
|
|
4133
4133
|
),
|
|
4134
4134
|
/* @__PURE__ */ t(
|
|
4135
|
-
|
|
4135
|
+
st,
|
|
4136
4136
|
{
|
|
4137
4137
|
className: "menu-text",
|
|
4138
4138
|
sx: {
|
|
@@ -4171,7 +4171,7 @@ function to({
|
|
|
4171
4171
|
const n = Math.ceil(a.length / 2), r = a.slice(0, n), i = a.slice(n);
|
|
4172
4172
|
return /* @__PURE__ */ y(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
4173
4173
|
/* @__PURE__ */ t(
|
|
4174
|
-
|
|
4174
|
+
st,
|
|
4175
4175
|
{
|
|
4176
4176
|
id: "mp-title",
|
|
4177
4177
|
variant: "h6",
|
|
@@ -4207,7 +4207,7 @@ function to({
|
|
|
4207
4207
|
alignItems: "center",
|
|
4208
4208
|
gap: { xs: 2, md: 3 },
|
|
4209
4209
|
flexWrap: "wrap",
|
|
4210
|
-
children: r.map((
|
|
4210
|
+
children: r.map((l, s) => /* @__PURE__ */ t(Ze, { ...l }, `${l.alt}-${l.src}-${s}`))
|
|
4211
4211
|
}
|
|
4212
4212
|
),
|
|
4213
4213
|
/* @__PURE__ */ t(
|
|
@@ -4218,7 +4218,7 @@ function to({
|
|
|
4218
4218
|
alignItems: "center",
|
|
4219
4219
|
gap: { xs: 2, md: 3 },
|
|
4220
4220
|
flexWrap: "wrap",
|
|
4221
|
-
children: i.map((
|
|
4221
|
+
children: i.map((l, s) => /* @__PURE__ */ t(Ze, { ...l }, `${l.alt}-${l.src}-${s}`))
|
|
4222
4222
|
}
|
|
4223
4223
|
)
|
|
4224
4224
|
] })
|
|
@@ -4297,7 +4297,7 @@ const ao = {
|
|
|
4297
4297
|
type: "string",
|
|
4298
4298
|
id: "c6538242-1974-4bed-aed3-703a111987b5",
|
|
4299
4299
|
maxSizeMB: 0.2,
|
|
4300
|
-
value: "https://
|
|
4300
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/clock.svg"
|
|
4301
4301
|
},
|
|
4302
4302
|
{
|
|
4303
4303
|
name: "iconHover",
|
|
@@ -4349,7 +4349,7 @@ const ao = {
|
|
|
4349
4349
|
name: "icon",
|
|
4350
4350
|
isImage: !0,
|
|
4351
4351
|
required: !0,
|
|
4352
|
-
value: "https://
|
|
4352
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/icon2.svg",
|
|
4353
4353
|
maxSizeMB: 0.2,
|
|
4354
4354
|
id: "5530e6bd-d2b2-4045-9371-722e23d96e14",
|
|
4355
4355
|
type: "string"
|
|
@@ -4456,7 +4456,7 @@ const ao = {
|
|
|
4456
4456
|
name: "label"
|
|
4457
4457
|
},
|
|
4458
4458
|
{
|
|
4459
|
-
value: "https://
|
|
4459
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/icon3.svg",
|
|
4460
4460
|
type: "string",
|
|
4461
4461
|
id: "686c62bd-ea86-4aeb-97b7-6f1488912066",
|
|
4462
4462
|
maxSizeMB: 0.2,
|
|
@@ -5027,7 +5027,7 @@ const ao = {
|
|
|
5027
5027
|
maxSizeMB: 0.2,
|
|
5028
5028
|
id: "9c5964ca-ce84-4c47-86ec-b34d7f3a5793",
|
|
5029
5029
|
type: "string",
|
|
5030
|
-
value: "https://
|
|
5030
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/diamante.svg",
|
|
5031
5031
|
isImage: !0,
|
|
5032
5032
|
required: !0,
|
|
5033
5033
|
name: "iconUrl"
|
|
@@ -5389,7 +5389,7 @@ const ao = {
|
|
|
5389
5389
|
type: "string",
|
|
5390
5390
|
maxSizeMB: 0.2,
|
|
5391
5391
|
id: "f9686ddc-f673-4784-8025-df26f48cc04f",
|
|
5392
|
-
value: "https://
|
|
5392
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/virtuales.svg",
|
|
5393
5393
|
isImage: !0,
|
|
5394
5394
|
required: !0,
|
|
5395
5395
|
name: "iconUrl"
|
|
@@ -5595,7 +5595,7 @@ const ao = {
|
|
|
5595
5595
|
name: "imgDesktopBg"
|
|
5596
5596
|
},
|
|
5597
5597
|
{
|
|
5598
|
-
value: "https://
|
|
5598
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/Logo.png",
|
|
5599
5599
|
type: "string",
|
|
5600
5600
|
maxSizeMB: 0.2,
|
|
5601
5601
|
id: "622d860b-9f9f-462a-a675-3768d6daf3c3",
|
|
@@ -5639,14 +5639,14 @@ function Se(e) {
|
|
|
5639
5639
|
var r, i;
|
|
5640
5640
|
return ((r = a.order) != null ? r : 0) - ((i = n.order) != null ? i : 0);
|
|
5641
5641
|
}).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
|
|
5642
|
-
var r, i,
|
|
5642
|
+
var r, i, l, s, d;
|
|
5643
5643
|
return {
|
|
5644
5644
|
id: (r = a.id) != null ? r : n + 1,
|
|
5645
5645
|
title: (i = a.title) != null ? i : "",
|
|
5646
5646
|
componentKey: a.componentKey,
|
|
5647
|
-
visible: (
|
|
5647
|
+
visible: (l = a.visible) != null ? l : !0,
|
|
5648
5648
|
order: n + 1,
|
|
5649
|
-
props: (
|
|
5649
|
+
props: (s = a.props) != null ? s : {},
|
|
5650
5650
|
apiUrl: (d = a.apiUrl) != null ? d : "",
|
|
5651
5651
|
dataMode: a.dataMode,
|
|
5652
5652
|
variableName: a.variableName,
|
|
@@ -5675,7 +5675,7 @@ class rt extends Error {
|
|
|
5675
5675
|
super(`HTTP ${a} ${r}`), this.status = a, this.url = n, this.statusText = r, this.name = "HttpError";
|
|
5676
5676
|
}
|
|
5677
5677
|
}
|
|
5678
|
-
class
|
|
5678
|
+
class lo extends fe.Component {
|
|
5679
5679
|
constructor(a) {
|
|
5680
5680
|
super(a), this.state = { hasError: !1 };
|
|
5681
5681
|
}
|
|
@@ -5699,7 +5699,7 @@ const it = [
|
|
|
5699
5699
|
"OraculoSeccionEventoEnVivo",
|
|
5700
5700
|
"OraculoSeccionEventoSemana",
|
|
5701
5701
|
"OraculoSeccionEventoCombinadas"
|
|
5702
|
-
],
|
|
5702
|
+
], so = [
|
|
5703
5703
|
"OraculoSeccionCasino",
|
|
5704
5704
|
"OraculoSeccionVirtuales",
|
|
5705
5705
|
"OraculoSeccionCasinoEnVivo",
|
|
@@ -5711,10 +5711,10 @@ const it = [
|
|
|
5711
5711
|
moduleId: n = 301,
|
|
5712
5712
|
db: r,
|
|
5713
5713
|
extras: i,
|
|
5714
|
-
loader:
|
|
5715
|
-
disableWrapper:
|
|
5714
|
+
loader: l,
|
|
5715
|
+
disableWrapper: s = !1
|
|
5716
5716
|
}) => {
|
|
5717
|
-
const d = ie(() => io(i), [i]), h =
|
|
5717
|
+
const d = ie(() => io(i), [i]), h = l || d.loader, [g, m] = Z(
|
|
5718
5718
|
() => e ? [] : Se(Ee)
|
|
5719
5719
|
), [u, c] = Z(!1), [f, v] = Z({}), [x, k] = Z({}), [T, E] = Z({}), b = De("(min-width:1024px)"), A = ie(
|
|
5720
5720
|
() => Se(Ee),
|
|
@@ -5992,7 +5992,7 @@ const it = [
|
|
|
5992
5992
|
);
|
|
5993
5993
|
const ae = !!((He = o.apiUrl) != null && He.trim()), We = ae ? f[o.id] : void 0, Et = ae ? !!x[o.id] : !1, Ge = ae ? T[o.id] : "";
|
|
5994
5994
|
if (ae) {
|
|
5995
|
-
const kt =
|
|
5995
|
+
const kt = so.includes(o.componentKey);
|
|
5996
5996
|
if (Et && !We && !kt)
|
|
5997
5997
|
return X(
|
|
5998
5998
|
o.id,
|
|
@@ -6023,7 +6023,7 @@ const it = [
|
|
|
6023
6023
|
...je,
|
|
6024
6024
|
user: d.user
|
|
6025
6025
|
} : je;
|
|
6026
|
-
return /* @__PURE__ */ t(
|
|
6026
|
+
return /* @__PURE__ */ t(lo, { section: o, children: /* @__PURE__ */ t(
|
|
6027
6027
|
"div",
|
|
6028
6028
|
{
|
|
6029
6029
|
style: ne,
|