oraculo-ui 0.1.12 → 0.1.14
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/{OraculoSeccionBonoBienvenida-2APXZQQA.mjs → OraculoSeccionBonoBienvenida-EG5U752J.mjs} +2 -2
- package/dist/{OraculoSeccionCasino-ORWFZCMV.mjs → OraculoSeccionCasino-NSM2LPDZ.mjs} +5 -5
- package/dist/OraculoSeccionCasino-TFMAW7DD.mjs +12 -0
- package/dist/{OraculoSeccionCasinoEnVivo-ISYMJSUN.mjs → OraculoSeccionCasinoEnVivo-DSHBIQFL.mjs} +2 -2
- package/dist/{OraculoSeccionClubOlimpo-TV3LABJ5.mjs → OraculoSeccionClubOlimpo-2EZ3LMIL.mjs} +2 -2
- package/dist/OraculoSeccionDestacados-JNMBNCDQ.mjs +12 -0
- package/dist/OraculoSeccionDestacados-TFPJSEHF.mjs +12 -0
- package/dist/OraculoSeccionTopJuegos-55R5XMSK.mjs +12 -0
- package/dist/OraculoSeccionTopJuegos-R2K6COO2.mjs +12 -0
- package/dist/{OraculoSeccionVirtuales-FKHGLEVT.mjs → OraculoSeccionVirtuales-HZ4BACB3.mjs} +5 -5
- package/dist/OraculoSeccionVirtuales-Y7YXRA6S.mjs +12 -0
- package/dist/chunk-3MSTKPDC.mjs +38928 -0
- package/dist/{chunk-IJQLK4NO.mjs → chunk-DHENVY2Z.mjs} +10 -14
- package/dist/chunk-JSQWAWJ2.mjs +103 -0
- package/dist/chunk-NPAHCXJM.mjs +239 -0
- package/dist/{chunk-FROEVP3X.mjs → chunk-WKDAILVP.mjs} +472 -640
- package/dist/chunk-YWS57247.mjs +449 -0
- package/dist/index.d.mts +6 -20
- package/dist/index.d.ts +6 -20
- package/dist/index.js +937 -1165
- package/dist/index.mjs +9 -9
- package/package.json +1 -1
- package/dist/OraculoSeccionBonoBienvenida-4ZHLRFV2.css +0 -221
- package/dist/OraculoSeccionBonoBienvenida-4ZHLRFV2.css.map +0 -1
- package/dist/OraculoSeccionBonoBienvenida-6L54EBL3.mjs +0 -9
- package/dist/OraculoSeccionBonoBienvenida-6L54EBL3.mjs.map +0 -1
- package/dist/OraculoSeccionCasino-CPSKAAFH.css +0 -398
- package/dist/OraculoSeccionCasino-CPSKAAFH.css.map +0 -1
- package/dist/OraculoSeccionCasino-FHD2WBDU.mjs +0 -13
- package/dist/OraculoSeccionCasino-FHD2WBDU.mjs.map +0 -1
- package/dist/OraculoSeccionCasinoEnVivo-7W64K4YQ.css +0 -157
- package/dist/OraculoSeccionCasinoEnVivo-7W64K4YQ.css.map +0 -1
- package/dist/OraculoSeccionCasinoEnVivo-EPVIACRV.mjs +0 -9
- package/dist/OraculoSeccionCasinoEnVivo-EPVIACRV.mjs.map +0 -1
- package/dist/OraculoSeccionClubOlimpo-63QCT4A2.mjs +0 -10
- package/dist/OraculoSeccionClubOlimpo-63QCT4A2.mjs.map +0 -1
- package/dist/OraculoSeccionClubOlimpo-BLUJXLUC.mjs +0 -8
- package/dist/OraculoSeccionClubOlimpo-BLUJXLUC.mjs.map +0 -1
- package/dist/OraculoSeccionClubOlimpo-F2AFK4G3.css +0 -274
- package/dist/OraculoSeccionClubOlimpo-F2AFK4G3.css.map +0 -1
- package/dist/OraculoSeccionClubOlimpo-ZCBMTUL3.css +0 -117
- package/dist/OraculoSeccionClubOlimpo-ZCBMTUL3.css.map +0 -1
- package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs +0 -13
- package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs.map +0 -1
- package/dist/OraculoSeccionDestacados-6D4LKX4H.mjs +0 -12
- package/dist/OraculoSeccionDestacados-AMMYUK67.css +0 -398
- package/dist/OraculoSeccionDestacados-AMMYUK67.css.map +0 -1
- package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs +0 -13
- package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs.map +0 -1
- package/dist/OraculoSeccionTopJuegos-LEFQWP7T.mjs +0 -12
- package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css +0 -398
- package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css.map +0 -1
- package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs +0 -13
- package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs.map +0 -1
- package/dist/OraculoSeccionVirtuales-SSM6EDST.css +0 -398
- package/dist/OraculoSeccionVirtuales-SSM6EDST.css.map +0 -1
- package/dist/chunk-2D7ZJMJV.mjs +0 -118
- package/dist/chunk-4LBAYKDQ.mjs +0 -475
- package/dist/chunk-FIOWVLJP.mjs +0 -7
- package/dist/chunk-FIOWVLJP.mjs.map +0 -1
- package/dist/chunk-IGAIIVJZ.mjs +0 -74
- package/dist/chunk-IGAIIVJZ.mjs.map +0 -1
- package/dist/chunk-MC4XEBI3.mjs +0 -1277
- package/dist/chunk-MC4XEBI3.mjs.map +0 -1
- package/dist/chunk-PVY5Z3JS.mjs +0 -249
- package/dist/chunk-PYHDJZX3.mjs +0 -476
- package/dist/chunk-PYHDJZX3.mjs.map +0 -1
- package/dist/chunk-THUJNRMX.mjs +0 -119
- package/dist/chunk-THUJNRMX.mjs.map +0 -1
- package/dist/chunk-WTK2IT5O.mjs +0 -250
- package/dist/chunk-WTK2IT5O.mjs.map +0 -1
- package/dist/chunk-XNMUIY72.mjs +0 -10
- package/dist/chunk-XNMUIY72.mjs.map +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
OraculoSeccionCasinoEnVivo_default
|
|
6
|
-
} from "./chunk-PVY5Z3JS.mjs";
|
|
7
|
-
import {
|
|
8
|
-
OraculoCarousel_default,
|
|
9
|
-
OraculoSeccionBonoBienvenida_default
|
|
10
|
-
} from "./chunk-4LBAYKDQ.mjs";
|
|
2
|
+
OraculoCarousel_default
|
|
3
|
+
} from "./chunk-YWS57247.mjs";
|
|
11
4
|
import {
|
|
12
5
|
OraculoButton
|
|
13
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DHENVY2Z.mjs";
|
|
14
7
|
import {
|
|
15
8
|
__commonJS,
|
|
16
9
|
__glob,
|
|
@@ -19748,7 +19741,7 @@ var ChevronRightRounded_default = createSvgIcon(/* @__PURE__ */ _jsx2("path", {
|
|
|
19748
19741
|
}), "ChevronRightRounded");
|
|
19749
19742
|
|
|
19750
19743
|
// src/atoms/OraculoSectionTitle/OraculoSectionTitle.tsx
|
|
19751
|
-
import
|
|
19744
|
+
import React from "react";
|
|
19752
19745
|
function OraculoSectionTitle({
|
|
19753
19746
|
title,
|
|
19754
19747
|
iconUrl,
|
|
@@ -19761,25 +19754,23 @@ function OraculoSectionTitle({
|
|
|
19761
19754
|
sizeClass,
|
|
19762
19755
|
className
|
|
19763
19756
|
].filter(Boolean).join(" ");
|
|
19764
|
-
return /* @__PURE__ */
|
|
19765
|
-
|
|
19766
|
-
|
|
19767
|
-
|
|
19768
|
-
|
|
19769
|
-
|
|
19770
|
-
|
|
19771
|
-
|
|
19772
|
-
),
|
|
19773
|
-
/* @__PURE__ */ jsx("h2", { className: "orc-section-title__title", children: title })
|
|
19774
|
-
] });
|
|
19757
|
+
return /* @__PURE__ */ React.createElement("div", { className: wrapperClass }, iconUrl && /* @__PURE__ */ React.createElement(
|
|
19758
|
+
"img",
|
|
19759
|
+
{
|
|
19760
|
+
src: iconUrl,
|
|
19761
|
+
alt: "",
|
|
19762
|
+
className: "orc-section-title__icon"
|
|
19763
|
+
}
|
|
19764
|
+
), /* @__PURE__ */ React.createElement("h2", { className: "orc-section-title__title" }, title));
|
|
19775
19765
|
}
|
|
19776
19766
|
|
|
19777
19767
|
// src/molecules/OraculoGameRankCard/OraculoGameRankCard.tsx
|
|
19768
|
+
import React3 from "react";
|
|
19778
19769
|
import Box2 from "@mui/material/Box";
|
|
19779
19770
|
|
|
19780
19771
|
// src/molecules/OraculoGameCard/OraculoGameCard.tsx
|
|
19772
|
+
import React2 from "react";
|
|
19781
19773
|
import Box from "@mui/material/Box";
|
|
19782
|
-
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
19783
19774
|
var OraculoGameCard = ({
|
|
19784
19775
|
imageUrl,
|
|
19785
19776
|
onClick,
|
|
@@ -19792,7 +19783,7 @@ var OraculoGameCard = ({
|
|
|
19792
19783
|
onClick == null ? void 0 : onClick();
|
|
19793
19784
|
};
|
|
19794
19785
|
const sizeStyles = fillParent ? { width: "100%", height: "100%" } : { width: `${dim.w}px`, height: `${dim.h}px` };
|
|
19795
|
-
return /* @__PURE__ */
|
|
19786
|
+
return /* @__PURE__ */ React2.createElement(
|
|
19796
19787
|
Box,
|
|
19797
19788
|
{
|
|
19798
19789
|
onClick,
|
|
@@ -19817,63 +19808,60 @@ var OraculoGameCard = ({
|
|
|
19817
19808
|
transform: "translate(-50%, -50%) scale(1)",
|
|
19818
19809
|
pointerEvents: "auto"
|
|
19819
19810
|
}
|
|
19811
|
+
}
|
|
19812
|
+
},
|
|
19813
|
+
/* @__PURE__ */ React2.createElement(
|
|
19814
|
+
"img",
|
|
19815
|
+
{
|
|
19816
|
+
src: imageUrl,
|
|
19817
|
+
alt: "Juego de casino",
|
|
19818
|
+
loading: "lazy",
|
|
19819
|
+
style: {
|
|
19820
|
+
width: "100%",
|
|
19821
|
+
height: "100%",
|
|
19822
|
+
objectFit: "cover",
|
|
19823
|
+
display: "block",
|
|
19824
|
+
borderRadius: "inherit"
|
|
19825
|
+
}
|
|
19826
|
+
}
|
|
19827
|
+
),
|
|
19828
|
+
/* @__PURE__ */ React2.createElement(
|
|
19829
|
+
Box,
|
|
19830
|
+
{
|
|
19831
|
+
className: "oraculo-game-card-overlay",
|
|
19832
|
+
sx: {
|
|
19833
|
+
position: "absolute",
|
|
19834
|
+
inset: 0,
|
|
19835
|
+
backgroundColor: "rgba(0, 0, 0, 0.45)",
|
|
19836
|
+
opacity: 0,
|
|
19837
|
+
transition: "opacity .15s ease",
|
|
19838
|
+
pointerEvents: "none",
|
|
19839
|
+
zIndex: 1
|
|
19840
|
+
}
|
|
19841
|
+
}
|
|
19842
|
+
),
|
|
19843
|
+
/* @__PURE__ */ React2.createElement(
|
|
19844
|
+
Box,
|
|
19845
|
+
{
|
|
19846
|
+
className: "oraculo-game-card-btn",
|
|
19847
|
+
sx: {
|
|
19848
|
+
position: "absolute",
|
|
19849
|
+
top: "50%",
|
|
19850
|
+
left: "50%",
|
|
19851
|
+
zIndex: 2,
|
|
19852
|
+
transform: "translate(-50%, -50%) scale(0.95)",
|
|
19853
|
+
opacity: 0,
|
|
19854
|
+
transition: "opacity .15s ease, transform .15s ease",
|
|
19855
|
+
pointerEvents: "none"
|
|
19856
|
+
}
|
|
19820
19857
|
},
|
|
19821
|
-
|
|
19822
|
-
|
|
19823
|
-
"img",
|
|
19824
|
-
{
|
|
19825
|
-
src: imageUrl,
|
|
19826
|
-
alt: "Juego de casino",
|
|
19827
|
-
loading: "lazy",
|
|
19828
|
-
style: {
|
|
19829
|
-
width: "100%",
|
|
19830
|
-
height: "100%",
|
|
19831
|
-
objectFit: "cover",
|
|
19832
|
-
display: "block",
|
|
19833
|
-
borderRadius: "inherit"
|
|
19834
|
-
}
|
|
19835
|
-
}
|
|
19836
|
-
),
|
|
19837
|
-
/* @__PURE__ */ jsx2(
|
|
19838
|
-
Box,
|
|
19839
|
-
{
|
|
19840
|
-
className: "oraculo-game-card-overlay",
|
|
19841
|
-
sx: {
|
|
19842
|
-
position: "absolute",
|
|
19843
|
-
inset: 0,
|
|
19844
|
-
backgroundColor: "rgba(0, 0, 0, 0.45)",
|
|
19845
|
-
opacity: 0,
|
|
19846
|
-
transition: "opacity .15s ease",
|
|
19847
|
-
pointerEvents: "none",
|
|
19848
|
-
zIndex: 1
|
|
19849
|
-
}
|
|
19850
|
-
}
|
|
19851
|
-
),
|
|
19852
|
-
/* @__PURE__ */ jsx2(
|
|
19853
|
-
Box,
|
|
19854
|
-
{
|
|
19855
|
-
className: "oraculo-game-card-btn",
|
|
19856
|
-
sx: {
|
|
19857
|
-
position: "absolute",
|
|
19858
|
-
top: "50%",
|
|
19859
|
-
left: "50%",
|
|
19860
|
-
zIndex: 2,
|
|
19861
|
-
transform: "translate(-50%, -50%) scale(0.95)",
|
|
19862
|
-
opacity: 0,
|
|
19863
|
-
transition: "opacity .15s ease, transform .15s ease",
|
|
19864
|
-
pointerEvents: "none"
|
|
19865
|
-
},
|
|
19866
|
-
children: /* @__PURE__ */ jsx2(OraculoButton, { variant: "primary", onClick: handleButtonClick, children: "JUGAR" })
|
|
19867
|
-
}
|
|
19868
|
-
)
|
|
19869
|
-
]
|
|
19870
|
-
}
|
|
19858
|
+
/* @__PURE__ */ React2.createElement(OraculoButton, { variant: "primary", size: "md", onClick: handleButtonClick }, "JUGAR")
|
|
19859
|
+
)
|
|
19871
19860
|
);
|
|
19872
19861
|
};
|
|
19873
19862
|
var OraculoGameCard_default = OraculoGameCard;
|
|
19874
19863
|
|
|
19875
19864
|
// src/molecules/OraculoGameRankCard/OraculoGameRankCard.tsx
|
|
19876
|
-
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
19877
19865
|
function OraculoGameRankCard({
|
|
19878
19866
|
imageUrl,
|
|
19879
19867
|
orden = 1,
|
|
@@ -19899,7 +19887,7 @@ function OraculoGameRankCard({
|
|
|
19899
19887
|
xs: Math.round(((_b = (_a = sizes.xs) == null ? void 0 : _a.font) != null ? _b : 64) * 0.28),
|
|
19900
19888
|
md: Math.round(((_d = (_c = sizes.md) == null ? void 0 : _c.font) != null ? _d : 64) * 0.28)
|
|
19901
19889
|
};
|
|
19902
|
-
return /* @__PURE__ */
|
|
19890
|
+
return /* @__PURE__ */ React3.createElement(
|
|
19903
19891
|
Box2,
|
|
19904
19892
|
{
|
|
19905
19893
|
sx: {
|
|
@@ -19914,61 +19902,59 @@ function OraculoGameRankCard({
|
|
|
19914
19902
|
boxSizing: "border-box",
|
|
19915
19903
|
overflow: "visible",
|
|
19916
19904
|
pb: { xs: `${hang.xs}px`, md: `${hang.md}px` }
|
|
19905
|
+
}
|
|
19906
|
+
},
|
|
19907
|
+
/* @__PURE__ */ React3.createElement(
|
|
19908
|
+
Box2,
|
|
19909
|
+
{
|
|
19910
|
+
sx: {
|
|
19911
|
+
position: "absolute",
|
|
19912
|
+
inset: 0,
|
|
19913
|
+
borderRadius: "inherit",
|
|
19914
|
+
overflow: "hidden"
|
|
19915
|
+
}
|
|
19917
19916
|
},
|
|
19918
|
-
|
|
19919
|
-
|
|
19920
|
-
|
|
19921
|
-
|
|
19922
|
-
|
|
19923
|
-
|
|
19924
|
-
|
|
19925
|
-
|
|
19926
|
-
|
|
19927
|
-
|
|
19928
|
-
|
|
19929
|
-
|
|
19930
|
-
|
|
19931
|
-
|
|
19932
|
-
|
|
19933
|
-
|
|
19934
|
-
|
|
19935
|
-
|
|
19936
|
-
|
|
19937
|
-
|
|
19938
|
-
|
|
19939
|
-
|
|
19940
|
-
|
|
19941
|
-
|
|
19942
|
-
|
|
19943
|
-
|
|
19944
|
-
|
|
19945
|
-
|
|
19946
|
-
|
|
19947
|
-
|
|
19948
|
-
|
|
19949
|
-
|
|
19950
|
-
|
|
19951
|
-
|
|
19952
|
-
|
|
19953
|
-
md: `${F.md}px`
|
|
19954
|
-
},
|
|
19955
|
-
lineHeight: 1,
|
|
19956
|
-
color: "#3CC666",
|
|
19957
|
-
WebkitTextStroke: "1px #9ee86e",
|
|
19958
|
-
zIndex: 3,
|
|
19959
|
-
userSelect: "none"
|
|
19960
|
-
},
|
|
19961
|
-
children: orden
|
|
19962
|
-
}
|
|
19963
|
-
)
|
|
19964
|
-
]
|
|
19965
|
-
}
|
|
19917
|
+
/* @__PURE__ */ React3.createElement(
|
|
19918
|
+
OraculoGameCard_default,
|
|
19919
|
+
{
|
|
19920
|
+
imageUrl,
|
|
19921
|
+
onClick,
|
|
19922
|
+
size: "lg",
|
|
19923
|
+
fillParent: true
|
|
19924
|
+
}
|
|
19925
|
+
)
|
|
19926
|
+
),
|
|
19927
|
+
/* @__PURE__ */ React3.createElement(
|
|
19928
|
+
Box2,
|
|
19929
|
+
{
|
|
19930
|
+
component: "span",
|
|
19931
|
+
sx: {
|
|
19932
|
+
position: "absolute",
|
|
19933
|
+
left: 8,
|
|
19934
|
+
bottom: {
|
|
19935
|
+
xs: `-${hang.xs}px`,
|
|
19936
|
+
md: `-${hang.md}px`
|
|
19937
|
+
},
|
|
19938
|
+
fontFamily: "secondary",
|
|
19939
|
+
fontSize: {
|
|
19940
|
+
xs: `${F.xs}px`,
|
|
19941
|
+
md: `${F.md}px`
|
|
19942
|
+
},
|
|
19943
|
+
lineHeight: 1,
|
|
19944
|
+
color: "#3CC666",
|
|
19945
|
+
WebkitTextStroke: "1px #9ee86e",
|
|
19946
|
+
zIndex: 3,
|
|
19947
|
+
userSelect: "none"
|
|
19948
|
+
}
|
|
19949
|
+
},
|
|
19950
|
+
orden
|
|
19951
|
+
)
|
|
19966
19952
|
);
|
|
19967
19953
|
}
|
|
19968
19954
|
|
|
19969
19955
|
// src/molecules/OraculoGameSlide/OraculoGameSlide.tsx
|
|
19956
|
+
import React4 from "react";
|
|
19970
19957
|
import Box3 from "@mui/material/Box";
|
|
19971
|
-
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
19972
19958
|
var GAP = 12;
|
|
19973
19959
|
var OraculoGameSlide = ({
|
|
19974
19960
|
items,
|
|
@@ -19979,7 +19965,7 @@ var OraculoGameSlide = ({
|
|
|
19979
19965
|
if (layout === "mosaic") {
|
|
19980
19966
|
const big = items[0];
|
|
19981
19967
|
const smalls = items.slice(1, 5);
|
|
19982
|
-
return /* @__PURE__ */
|
|
19968
|
+
return /* @__PURE__ */ React4.createElement(
|
|
19983
19969
|
Box3,
|
|
19984
19970
|
{
|
|
19985
19971
|
sx: {
|
|
@@ -20001,58 +19987,56 @@ var OraculoGameSlide = ({
|
|
|
20001
19987
|
rowGap: `${GAP}px`,
|
|
20002
19988
|
alignItems: "stretch",
|
|
20003
19989
|
justifyItems: "stretch"
|
|
19990
|
+
}
|
|
19991
|
+
},
|
|
19992
|
+
big && /* @__PURE__ */ React4.createElement(
|
|
19993
|
+
Box3,
|
|
19994
|
+
{
|
|
19995
|
+
sx: {
|
|
19996
|
+
width: { xs: 184, md: 280 },
|
|
19997
|
+
height: { xs: 234, md: 352 },
|
|
19998
|
+
gridRow: "1 / span 2",
|
|
19999
|
+
overflow: "hidden",
|
|
20000
|
+
borderRadius: 2
|
|
20001
|
+
}
|
|
20004
20002
|
},
|
|
20005
|
-
|
|
20006
|
-
|
|
20007
|
-
|
|
20003
|
+
/* @__PURE__ */ React4.createElement(
|
|
20004
|
+
OraculoGameCard_default,
|
|
20005
|
+
{
|
|
20006
|
+
imageUrl: `https://olimpo.bet${(_a = big.imageUrl) != null ? _a : ""}`,
|
|
20007
|
+
size: "lg",
|
|
20008
|
+
fillParent: true,
|
|
20009
|
+
onClick: () => onClick == null ? void 0 : onClick(big, 0)
|
|
20010
|
+
}
|
|
20011
|
+
)
|
|
20012
|
+
),
|
|
20013
|
+
smalls.map((it, index) => {
|
|
20014
|
+
var _a2;
|
|
20015
|
+
return /* @__PURE__ */ React4.createElement(
|
|
20016
|
+
Box3,
|
|
20017
|
+
{
|
|
20018
|
+
key: it.id,
|
|
20019
|
+
sx: {
|
|
20020
|
+
width: { xs: 104, md: 152 },
|
|
20021
|
+
height: { xs: 112, md: 168 },
|
|
20022
|
+
overflow: "hidden",
|
|
20023
|
+
borderRadius: 2
|
|
20024
|
+
}
|
|
20025
|
+
},
|
|
20026
|
+
/* @__PURE__ */ React4.createElement(
|
|
20027
|
+
OraculoGameCard_default,
|
|
20008
20028
|
{
|
|
20009
|
-
|
|
20010
|
-
|
|
20011
|
-
|
|
20012
|
-
|
|
20013
|
-
overflow: "hidden",
|
|
20014
|
-
borderRadius: 2
|
|
20015
|
-
},
|
|
20016
|
-
children: /* @__PURE__ */ jsx4(
|
|
20017
|
-
OraculoGameCard_default,
|
|
20018
|
-
{
|
|
20019
|
-
imageUrl: `https://olimpo.bet${(_a = big.imageUrl) != null ? _a : ""}`,
|
|
20020
|
-
size: "lg",
|
|
20021
|
-
fillParent: true,
|
|
20022
|
-
onClick: () => onClick == null ? void 0 : onClick(big, 0)
|
|
20023
|
-
}
|
|
20024
|
-
)
|
|
20029
|
+
imageUrl: `https://olimpo.bet${(_a2 = it.imageUrl) != null ? _a2 : ""}`,
|
|
20030
|
+
size: "sm",
|
|
20031
|
+
fillParent: true,
|
|
20032
|
+
onClick: () => onClick == null ? void 0 : onClick(it, index + 1)
|
|
20025
20033
|
}
|
|
20026
|
-
)
|
|
20027
|
-
|
|
20028
|
-
|
|
20029
|
-
return /* @__PURE__ */ jsx4(
|
|
20030
|
-
Box3,
|
|
20031
|
-
{
|
|
20032
|
-
sx: {
|
|
20033
|
-
width: { xs: 104, md: 152 },
|
|
20034
|
-
height: { xs: 112, md: 168 },
|
|
20035
|
-
overflow: "hidden",
|
|
20036
|
-
borderRadius: 2
|
|
20037
|
-
},
|
|
20038
|
-
children: /* @__PURE__ */ jsx4(
|
|
20039
|
-
OraculoGameCard_default,
|
|
20040
|
-
{
|
|
20041
|
-
imageUrl: `https://olimpo.bet${(_a2 = it.imageUrl) != null ? _a2 : ""}`,
|
|
20042
|
-
size: "sm",
|
|
20043
|
-
fillParent: true,
|
|
20044
|
-
onClick: () => onClick == null ? void 0 : onClick(it, index + 1)
|
|
20045
|
-
}
|
|
20046
|
-
)
|
|
20047
|
-
},
|
|
20048
|
-
it.id
|
|
20049
|
-
);
|
|
20050
|
-
})
|
|
20051
|
-
]
|
|
20052
|
-
}
|
|
20034
|
+
)
|
|
20035
|
+
);
|
|
20036
|
+
})
|
|
20053
20037
|
);
|
|
20054
20038
|
}
|
|
20055
|
-
return /* @__PURE__ */
|
|
20039
|
+
return /* @__PURE__ */ React4.createElement(
|
|
20056
20040
|
Box3,
|
|
20057
20041
|
{
|
|
20058
20042
|
sx: {
|
|
@@ -20067,39 +20051,38 @@ var OraculoGameSlide = ({
|
|
|
20067
20051
|
},
|
|
20068
20052
|
gap: `${GAP}px`,
|
|
20069
20053
|
gridAutoFlow: "column"
|
|
20070
|
-
}
|
|
20071
|
-
|
|
20072
|
-
|
|
20073
|
-
|
|
20074
|
-
|
|
20054
|
+
}
|
|
20055
|
+
},
|
|
20056
|
+
items.map((it, index) => {
|
|
20057
|
+
var _a2, _b;
|
|
20058
|
+
return /* @__PURE__ */ React4.createElement(
|
|
20059
|
+
Box3,
|
|
20060
|
+
{
|
|
20061
|
+
key: (_a2 = it.id) != null ? _a2 : index,
|
|
20062
|
+
sx: {
|
|
20063
|
+
overflow: "hidden",
|
|
20064
|
+
borderRadius: 2
|
|
20065
|
+
}
|
|
20066
|
+
},
|
|
20067
|
+
/* @__PURE__ */ React4.createElement(
|
|
20068
|
+
OraculoGameCard_default,
|
|
20075
20069
|
{
|
|
20076
|
-
|
|
20077
|
-
|
|
20078
|
-
|
|
20079
|
-
|
|
20080
|
-
|
|
20081
|
-
|
|
20082
|
-
|
|
20083
|
-
|
|
20084
|
-
size: "sm",
|
|
20085
|
-
fillParent: true,
|
|
20086
|
-
onClick: () => onClick == null ? void 0 : onClick(it, index)
|
|
20087
|
-
}
|
|
20088
|
-
)
|
|
20089
|
-
},
|
|
20090
|
-
(_a2 = it.id) != null ? _a2 : index
|
|
20091
|
-
);
|
|
20092
|
-
})
|
|
20093
|
-
}
|
|
20070
|
+
imageUrl: `https://olimpo.bet${(_b = it.imageUrl) != null ? _b : ""}`,
|
|
20071
|
+
size: "sm",
|
|
20072
|
+
fillParent: true,
|
|
20073
|
+
onClick: () => onClick == null ? void 0 : onClick(it, index)
|
|
20074
|
+
}
|
|
20075
|
+
)
|
|
20076
|
+
);
|
|
20077
|
+
})
|
|
20094
20078
|
);
|
|
20095
20079
|
};
|
|
20096
20080
|
var OraculoGameSlide_default = OraculoGameSlide;
|
|
20097
20081
|
|
|
20098
20082
|
// src/organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx
|
|
20099
|
-
import { useMemo } from "react";
|
|
20083
|
+
import React5, { useMemo } from "react";
|
|
20100
20084
|
import Stack from "@mui/material/Stack";
|
|
20101
20085
|
import Box4 from "@mui/material/Box";
|
|
20102
|
-
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
20103
20086
|
function OraculoSeccionTopJuegos({
|
|
20104
20087
|
items,
|
|
20105
20088
|
title = "Top Juegos",
|
|
@@ -20121,43 +20104,39 @@ function OraculoSeccionTopJuegos({
|
|
|
20121
20104
|
}),
|
|
20122
20105
|
[items]
|
|
20123
20106
|
);
|
|
20124
|
-
return /* @__PURE__ */
|
|
20125
|
-
|
|
20126
|
-
|
|
20127
|
-
|
|
20128
|
-
|
|
20129
|
-
|
|
20130
|
-
|
|
20131
|
-
|
|
20132
|
-
xs: "repeat(3, minmax(0, 1fr))",
|
|
20133
|
-
md: "repeat(6, minmax(0, 1fr))"
|
|
20134
|
-
},
|
|
20135
|
-
gap: { xs: 1.5, md: 2 },
|
|
20136
|
-
justifyItems: "center",
|
|
20137
|
-
width: "100%"
|
|
20107
|
+
return /* @__PURE__ */ React5.createElement("section", { style: { width: "100%" } }, /* @__PURE__ */ React5.createElement(Stack, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ React5.createElement(OraculoSectionTitle, { title, iconUrl, size: "md" }), /* @__PURE__ */ React5.createElement(
|
|
20108
|
+
Box4,
|
|
20109
|
+
{
|
|
20110
|
+
sx: {
|
|
20111
|
+
display: "grid",
|
|
20112
|
+
gridTemplateColumns: {
|
|
20113
|
+
xs: "repeat(3, minmax(0, 1fr))",
|
|
20114
|
+
md: "repeat(6, minmax(0, 1fr))"
|
|
20138
20115
|
},
|
|
20139
|
-
|
|
20140
|
-
|
|
20141
|
-
|
|
20142
|
-
OraculoGameRankCard,
|
|
20143
|
-
{
|
|
20144
|
-
imageUrl: `https://olimpo.bet${(_a = juego.logo) != null ? _a : ""}`,
|
|
20145
|
-
orden: juego.orden,
|
|
20146
|
-
onClick: () => onCardClick == null ? void 0 : onCardClick(juego)
|
|
20147
|
-
},
|
|
20148
|
-
juego.machine
|
|
20149
|
-
);
|
|
20150
|
-
})
|
|
20116
|
+
gap: { xs: 1.5, md: 2 },
|
|
20117
|
+
justifyItems: "center",
|
|
20118
|
+
width: "100%"
|
|
20151
20119
|
}
|
|
20152
|
-
|
|
20153
|
-
|
|
20120
|
+
},
|
|
20121
|
+
normalizedItems.slice(0, 6).map((juego) => {
|
|
20122
|
+
var _a;
|
|
20123
|
+
return /* @__PURE__ */ React5.createElement(
|
|
20124
|
+
OraculoGameRankCard,
|
|
20125
|
+
{
|
|
20126
|
+
key: juego.machine,
|
|
20127
|
+
imageUrl: `https://olimpo.bet${(_a = juego.logo) != null ? _a : ""}`,
|
|
20128
|
+
orden: juego.orden,
|
|
20129
|
+
onClick: () => onCardClick == null ? void 0 : onCardClick(juego)
|
|
20130
|
+
}
|
|
20131
|
+
);
|
|
20132
|
+
})
|
|
20133
|
+
)));
|
|
20154
20134
|
}
|
|
20155
20135
|
|
|
20156
20136
|
// src/organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx
|
|
20157
|
-
import { useRef, useState } from "react";
|
|
20137
|
+
import React6, { useRef, useState } from "react";
|
|
20158
20138
|
import Stack2 from "@mui/material/Stack";
|
|
20159
20139
|
import Box5 from "@mui/material/Box";
|
|
20160
|
-
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
20161
20140
|
var buildCasinoSlides = (games, mosaicFirst = true, gridSize = 4) => {
|
|
20162
20141
|
const baseItems = games.map((g, idx) => {
|
|
20163
20142
|
var _a, _b, _c;
|
|
@@ -20212,108 +20191,100 @@ var OraculoSeccionCasino = ({
|
|
|
20212
20191
|
const handleViewMore = () => {
|
|
20213
20192
|
onViewMore == null ? void 0 : onViewMore();
|
|
20214
20193
|
};
|
|
20215
|
-
return /* @__PURE__ */
|
|
20216
|
-
|
|
20217
|
-
|
|
20194
|
+
return /* @__PURE__ */ React6.createElement("section", null, /* @__PURE__ */ React6.createElement(Stack2, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ React6.createElement(
|
|
20195
|
+
Box5,
|
|
20196
|
+
{
|
|
20197
|
+
sx: {
|
|
20198
|
+
display: "grid",
|
|
20199
|
+
gridTemplateColumns: "1fr auto auto",
|
|
20200
|
+
alignItems: "center",
|
|
20201
|
+
columnGap: 1.5,
|
|
20202
|
+
rowGap: 1
|
|
20203
|
+
}
|
|
20204
|
+
},
|
|
20205
|
+
/* @__PURE__ */ React6.createElement(
|
|
20206
|
+
OraculoSectionTitle,
|
|
20218
20207
|
{
|
|
20219
|
-
|
|
20220
|
-
|
|
20221
|
-
|
|
20222
|
-
alignItems: "center",
|
|
20223
|
-
columnGap: 1.5,
|
|
20224
|
-
rowGap: 1
|
|
20225
|
-
},
|
|
20226
|
-
children: [
|
|
20227
|
-
/* @__PURE__ */ jsx6(
|
|
20228
|
-
OraculoSectionTitle,
|
|
20229
|
-
{
|
|
20230
|
-
title,
|
|
20231
|
-
iconUrl,
|
|
20232
|
-
size: "md"
|
|
20233
|
-
}
|
|
20234
|
-
),
|
|
20235
|
-
/* @__PURE__ */ jsxs6(
|
|
20236
|
-
Box5,
|
|
20237
|
-
{
|
|
20238
|
-
sx: {
|
|
20239
|
-
display: "flex",
|
|
20240
|
-
gap: 1,
|
|
20241
|
-
justifyContent: "flex-end"
|
|
20242
|
-
},
|
|
20243
|
-
children: [
|
|
20244
|
-
/* @__PURE__ */ jsx6(
|
|
20245
|
-
OraculoButton,
|
|
20246
|
-
{
|
|
20247
|
-
ariaLabel: "Anterior",
|
|
20248
|
-
variant: "secondary",
|
|
20249
|
-
iconOnly: true,
|
|
20250
|
-
leftIcon: /* @__PURE__ */ jsx6(ChevronLeftRounded_default, {}),
|
|
20251
|
-
onClick: handlePrev,
|
|
20252
|
-
disabled: navState.isStart
|
|
20253
|
-
}
|
|
20254
|
-
),
|
|
20255
|
-
/* @__PURE__ */ jsx6(
|
|
20256
|
-
OraculoButton,
|
|
20257
|
-
{
|
|
20258
|
-
ariaLabel: "Siguiente",
|
|
20259
|
-
variant: "secondary",
|
|
20260
|
-
iconOnly: true,
|
|
20261
|
-
rightIcon: /* @__PURE__ */ jsx6(ChevronRightRounded_default, {}),
|
|
20262
|
-
onClick: handleNext,
|
|
20263
|
-
disabled: navState.isEnd
|
|
20264
|
-
}
|
|
20265
|
-
)
|
|
20266
|
-
]
|
|
20267
|
-
}
|
|
20268
|
-
),
|
|
20269
|
-
/* @__PURE__ */ jsx6(Box5, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ jsx6(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
|
|
20270
|
-
]
|
|
20208
|
+
title,
|
|
20209
|
+
iconUrl,
|
|
20210
|
+
size: "md"
|
|
20271
20211
|
}
|
|
20272
20212
|
),
|
|
20273
|
-
/* @__PURE__ */
|
|
20274
|
-
|
|
20213
|
+
/* @__PURE__ */ React6.createElement(
|
|
20214
|
+
Box5,
|
|
20275
20215
|
{
|
|
20276
|
-
|
|
20277
|
-
|
|
20278
|
-
|
|
20279
|
-
|
|
20280
|
-
|
|
20281
|
-
|
|
20282
|
-
|
|
20283
|
-
|
|
20284
|
-
|
|
20285
|
-
|
|
20286
|
-
|
|
20287
|
-
|
|
20288
|
-
|
|
20289
|
-
|
|
20290
|
-
|
|
20291
|
-
|
|
20292
|
-
|
|
20293
|
-
|
|
20294
|
-
|
|
20295
|
-
|
|
20296
|
-
|
|
20297
|
-
|
|
20298
|
-
|
|
20299
|
-
|
|
20300
|
-
|
|
20301
|
-
|
|
20302
|
-
|
|
20216
|
+
sx: {
|
|
20217
|
+
display: "flex",
|
|
20218
|
+
gap: 1,
|
|
20219
|
+
justifyContent: "flex-end"
|
|
20220
|
+
}
|
|
20221
|
+
},
|
|
20222
|
+
/* @__PURE__ */ React6.createElement(
|
|
20223
|
+
OraculoButton,
|
|
20224
|
+
{
|
|
20225
|
+
ariaLabel: "Anterior",
|
|
20226
|
+
variant: "secondary",
|
|
20227
|
+
iconOnly: true,
|
|
20228
|
+
leftIcon: /* @__PURE__ */ React6.createElement(ChevronLeftRounded_default, null),
|
|
20229
|
+
onClick: handlePrev,
|
|
20230
|
+
disabled: navState.isStart
|
|
20231
|
+
}
|
|
20232
|
+
),
|
|
20233
|
+
/* @__PURE__ */ React6.createElement(
|
|
20234
|
+
OraculoButton,
|
|
20235
|
+
{
|
|
20236
|
+
ariaLabel: "Siguiente",
|
|
20237
|
+
variant: "secondary",
|
|
20238
|
+
iconOnly: true,
|
|
20239
|
+
rightIcon: /* @__PURE__ */ React6.createElement(ChevronRightRounded_default, null),
|
|
20240
|
+
onClick: handleNext,
|
|
20241
|
+
disabled: navState.isEnd
|
|
20242
|
+
}
|
|
20243
|
+
)
|
|
20244
|
+
),
|
|
20245
|
+
/* @__PURE__ */ React6.createElement(Box5, { sx: { justifySelf: "end" } }, /* @__PURE__ */ React6.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s"))
|
|
20246
|
+
), /* @__PURE__ */ React6.createElement(
|
|
20247
|
+
OraculoCarousel_default,
|
|
20248
|
+
{
|
|
20249
|
+
ref: carouselRef,
|
|
20250
|
+
items: slides,
|
|
20251
|
+
perPage: 1,
|
|
20252
|
+
gap: "0px",
|
|
20253
|
+
options: {
|
|
20254
|
+
autoWidth: true,
|
|
20255
|
+
gap: "12px",
|
|
20256
|
+
trimSpace: false,
|
|
20257
|
+
pagination: false,
|
|
20258
|
+
arrows: false,
|
|
20259
|
+
drag: true,
|
|
20260
|
+
focus: "start"
|
|
20261
|
+
},
|
|
20262
|
+
renderItem: (slide) => /* @__PURE__ */ React6.createElement("div", { style: { alignSelf: "start" } }, /* @__PURE__ */ React6.createElement(
|
|
20263
|
+
OraculoGameSlide_default,
|
|
20264
|
+
{
|
|
20265
|
+
items: slide.items,
|
|
20266
|
+
layout: slide.kind === "mosaic" ? "mosaic" : "grid",
|
|
20267
|
+
onClick: (itm) => {
|
|
20268
|
+
const game = items.find(
|
|
20269
|
+
(g, idx) => {
|
|
20270
|
+
var _a;
|
|
20271
|
+
return ((_a = g.orden) != null ? _a : idx) === itm.id;
|
|
20272
|
+
}
|
|
20273
|
+
);
|
|
20274
|
+
if (game) onItemClick == null ? void 0 : onItemClick(game);
|
|
20303
20275
|
}
|
|
20304
|
-
|
|
20305
|
-
|
|
20306
|
-
}
|
|
20307
|
-
|
|
20308
|
-
|
|
20276
|
+
}
|
|
20277
|
+
)),
|
|
20278
|
+
onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
|
|
20279
|
+
}
|
|
20280
|
+
)));
|
|
20309
20281
|
};
|
|
20310
20282
|
var OraculoSeccionCasino_default = OraculoSeccionCasino;
|
|
20311
20283
|
|
|
20312
20284
|
// src/organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx
|
|
20313
|
-
import { useRef as useRef2, useState as useState2 } from "react";
|
|
20285
|
+
import React7, { useRef as useRef2, useState as useState2 } from "react";
|
|
20314
20286
|
import Stack3 from "@mui/material/Stack";
|
|
20315
20287
|
import Box6 from "@mui/material/Box";
|
|
20316
|
-
import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
20317
20288
|
var buildVirtualSlides = (games, mosaicFirst = true, gridSize = 4) => {
|
|
20318
20289
|
const baseItems = games.map((g, idx) => {
|
|
20319
20290
|
var _a, _b;
|
|
@@ -20368,229 +20339,100 @@ var OraculoSeccionVirtuales = ({
|
|
|
20368
20339
|
const handleViewMore = () => {
|
|
20369
20340
|
onViewMore == null ? void 0 : onViewMore();
|
|
20370
20341
|
};
|
|
20371
|
-
return /* @__PURE__ */
|
|
20372
|
-
|
|
20373
|
-
Box6,
|
|
20374
|
-
{
|
|
20375
|
-
sx: {
|
|
20376
|
-
display: "grid",
|
|
20377
|
-
gridTemplateColumns: "1fr auto auto",
|
|
20378
|
-
alignItems: "center",
|
|
20379
|
-
columnGap: 1.5,
|
|
20380
|
-
rowGap: 1
|
|
20381
|
-
},
|
|
20382
|
-
children: [
|
|
20383
|
-
/* @__PURE__ */ jsx7(
|
|
20384
|
-
OraculoSectionTitle,
|
|
20385
|
-
{
|
|
20386
|
-
title,
|
|
20387
|
-
iconUrl,
|
|
20388
|
-
size: "md"
|
|
20389
|
-
}
|
|
20390
|
-
),
|
|
20391
|
-
/* @__PURE__ */ jsxs7(
|
|
20392
|
-
Box6,
|
|
20393
|
-
{
|
|
20394
|
-
sx: {
|
|
20395
|
-
display: "flex",
|
|
20396
|
-
gap: 1,
|
|
20397
|
-
justifyContent: "flex-end"
|
|
20398
|
-
},
|
|
20399
|
-
children: [
|
|
20400
|
-
/* @__PURE__ */ jsx7(
|
|
20401
|
-
OraculoButton,
|
|
20402
|
-
{
|
|
20403
|
-
ariaLabel: "Anterior",
|
|
20404
|
-
variant: "secondary",
|
|
20405
|
-
iconOnly: true,
|
|
20406
|
-
leftIcon: /* @__PURE__ */ jsx7(ChevronLeftRounded_default, {}),
|
|
20407
|
-
onClick: handlePrev,
|
|
20408
|
-
disabled: navState.isStart
|
|
20409
|
-
}
|
|
20410
|
-
),
|
|
20411
|
-
/* @__PURE__ */ jsx7(
|
|
20412
|
-
OraculoButton,
|
|
20413
|
-
{
|
|
20414
|
-
ariaLabel: "Siguiente",
|
|
20415
|
-
variant: "secondary",
|
|
20416
|
-
iconOnly: true,
|
|
20417
|
-
rightIcon: /* @__PURE__ */ jsx7(ChevronRightRounded_default, {}),
|
|
20418
|
-
onClick: handleNext,
|
|
20419
|
-
disabled: navState.isEnd
|
|
20420
|
-
}
|
|
20421
|
-
)
|
|
20422
|
-
]
|
|
20423
|
-
}
|
|
20424
|
-
),
|
|
20425
|
-
/* @__PURE__ */ jsx7(Box6, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ jsx7(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
|
|
20426
|
-
]
|
|
20427
|
-
}
|
|
20428
|
-
),
|
|
20429
|
-
/* @__PURE__ */ jsx7(
|
|
20430
|
-
OraculoCarousel_default,
|
|
20431
|
-
{
|
|
20432
|
-
ref: carouselRef,
|
|
20433
|
-
items: slides,
|
|
20434
|
-
perPage: 1,
|
|
20435
|
-
gap: "0",
|
|
20436
|
-
options: {
|
|
20437
|
-
autoWidth: true,
|
|
20438
|
-
gap: "12px",
|
|
20439
|
-
trimSpace: false,
|
|
20440
|
-
pagination: false,
|
|
20441
|
-
arrows: false,
|
|
20442
|
-
drag: true,
|
|
20443
|
-
focus: "start",
|
|
20444
|
-
perMove: 1
|
|
20445
|
-
},
|
|
20446
|
-
renderItem: (slide) => /* @__PURE__ */ jsx7("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ jsx7(
|
|
20447
|
-
OraculoGameSlide_default,
|
|
20448
|
-
{
|
|
20449
|
-
items: slide.items,
|
|
20450
|
-
layout: slide.kind === "mosaic" ? "mosaic" : "grid",
|
|
20451
|
-
onClick: (itm) => {
|
|
20452
|
-
const game = items.find(
|
|
20453
|
-
(g, idx) => {
|
|
20454
|
-
var _a;
|
|
20455
|
-
return ((_a = g.orden) != null ? _a : idx) === itm.id;
|
|
20456
|
-
}
|
|
20457
|
-
);
|
|
20458
|
-
if (game) onItemClick == null ? void 0 : onItemClick(game);
|
|
20459
|
-
}
|
|
20460
|
-
}
|
|
20461
|
-
) }),
|
|
20462
|
-
onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
|
|
20463
|
-
}
|
|
20464
|
-
)
|
|
20465
|
-
] }) });
|
|
20466
|
-
};
|
|
20467
|
-
var OraculoSeccionVirtuales_default = OraculoSeccionVirtuales;
|
|
20468
|
-
|
|
20469
|
-
// src/templates/OraculoPageLanding.tsx
|
|
20470
|
-
import {
|
|
20471
|
-
Container,
|
|
20472
|
-
Stack as Stack4
|
|
20473
|
-
} from "@mui/material";
|
|
20474
|
-
import "@splidejs/react-splide/css";
|
|
20475
|
-
import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
20476
|
-
function OraculoPageLanding({ props }) {
|
|
20477
|
-
const listaDestacados = [
|
|
20478
|
-
{
|
|
20479
|
-
image: "/assets/img/home/Destacados/Banner01.png",
|
|
20480
|
-
title: "Gol Seguro",
|
|
20481
|
-
tags: "/destacados",
|
|
20482
|
-
// aquí puedes usar la ruta que antes estaba en href
|
|
20483
|
-
body: "",
|
|
20484
|
-
summary_body: "",
|
|
20485
|
-
summary_title: "",
|
|
20486
|
-
groups_forbidden: [],
|
|
20487
|
-
groups_allowed: [],
|
|
20488
|
-
promotion: ""
|
|
20489
|
-
// summary_image: "/lo-que-sea.png", // opcional
|
|
20490
|
-
},
|
|
20342
|
+
return /* @__PURE__ */ React7.createElement("section", null, /* @__PURE__ */ React7.createElement(Stack3, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ React7.createElement(
|
|
20343
|
+
Box6,
|
|
20491
20344
|
{
|
|
20492
|
-
|
|
20493
|
-
|
|
20494
|
-
|
|
20495
|
-
|
|
20496
|
-
|
|
20497
|
-
|
|
20498
|
-
|
|
20499
|
-
groups_allowed: [],
|
|
20500
|
-
promotion: ""
|
|
20501
|
-
},
|
|
20502
|
-
{
|
|
20503
|
-
image: "/assets/img/home/Destacados/Banner01.png",
|
|
20504
|
-
title: "Gol Seguro",
|
|
20505
|
-
tags: "/destacados",
|
|
20506
|
-
body: "",
|
|
20507
|
-
summary_body: "",
|
|
20508
|
-
summary_title: "",
|
|
20509
|
-
groups_forbidden: [],
|
|
20510
|
-
groups_allowed: [],
|
|
20511
|
-
promotion: ""
|
|
20345
|
+
sx: {
|
|
20346
|
+
display: "grid",
|
|
20347
|
+
gridTemplateColumns: "1fr auto auto",
|
|
20348
|
+
alignItems: "center",
|
|
20349
|
+
columnGap: 1.5,
|
|
20350
|
+
rowGap: 1
|
|
20351
|
+
}
|
|
20512
20352
|
},
|
|
20513
|
-
|
|
20514
|
-
|
|
20515
|
-
title: "Promo 2",
|
|
20516
|
-
tags: "/destacados",
|
|
20517
|
-
body: "",
|
|
20518
|
-
summary_body: "",
|
|
20519
|
-
summary_title: "",
|
|
20520
|
-
groups_forbidden: [],
|
|
20521
|
-
groups_allowed: [],
|
|
20522
|
-
promotion: ""
|
|
20523
|
-
}
|
|
20524
|
-
];
|
|
20525
|
-
return /* @__PURE__ */ jsxs8(Container, { className: "oli-font", sx: { backgroundColor: "#121212", position: "relative", pb: 5 }, maxWidth: false, children: [
|
|
20526
|
-
/* @__PURE__ */ jsx8(
|
|
20527
|
-
OraculoSeccionBonoBienvenida_default,
|
|
20353
|
+
/* @__PURE__ */ React7.createElement(
|
|
20354
|
+
OraculoSectionTitle,
|
|
20528
20355
|
{
|
|
20529
|
-
|
|
20530
|
-
|
|
20356
|
+
title,
|
|
20357
|
+
iconUrl,
|
|
20358
|
+
size: "md"
|
|
20531
20359
|
}
|
|
20532
20360
|
),
|
|
20533
|
-
/* @__PURE__ */
|
|
20534
|
-
|
|
20535
|
-
|
|
20361
|
+
/* @__PURE__ */ React7.createElement(
|
|
20362
|
+
Box6,
|
|
20363
|
+
{
|
|
20364
|
+
sx: {
|
|
20365
|
+
display: "flex",
|
|
20366
|
+
gap: 1,
|
|
20367
|
+
justifyContent: "flex-end"
|
|
20368
|
+
}
|
|
20369
|
+
},
|
|
20370
|
+
/* @__PURE__ */ React7.createElement(
|
|
20371
|
+
OraculoButton,
|
|
20536
20372
|
{
|
|
20537
|
-
|
|
20538
|
-
|
|
20539
|
-
|
|
20540
|
-
|
|
20373
|
+
ariaLabel: "Anterior",
|
|
20374
|
+
variant: "secondary",
|
|
20375
|
+
iconOnly: true,
|
|
20376
|
+
leftIcon: /* @__PURE__ */ React7.createElement(ChevronLeftRounded_default, null),
|
|
20377
|
+
onClick: handlePrev,
|
|
20378
|
+
disabled: navState.isStart
|
|
20541
20379
|
}
|
|
20542
20380
|
),
|
|
20543
|
-
/* @__PURE__ */
|
|
20544
|
-
|
|
20381
|
+
/* @__PURE__ */ React7.createElement(
|
|
20382
|
+
OraculoButton,
|
|
20545
20383
|
{
|
|
20546
|
-
|
|
20547
|
-
|
|
20548
|
-
|
|
20549
|
-
|
|
20550
|
-
|
|
20384
|
+
ariaLabel: "Siguiente",
|
|
20385
|
+
variant: "secondary",
|
|
20386
|
+
iconOnly: true,
|
|
20387
|
+
rightIcon: /* @__PURE__ */ React7.createElement(ChevronRightRounded_default, null),
|
|
20388
|
+
onClick: handleNext,
|
|
20389
|
+
disabled: navState.isEnd
|
|
20551
20390
|
}
|
|
20552
20391
|
)
|
|
20553
|
-
] }),
|
|
20554
|
-
/* @__PURE__ */ jsx8(
|
|
20555
|
-
OraculoSeccionCasinoEnVivo_default,
|
|
20556
|
-
{
|
|
20557
|
-
items: props.casinoEnVivo.items,
|
|
20558
|
-
title: props.casinoEnVivo.title,
|
|
20559
|
-
subtitle: props.casinoEnVivo.subtitle,
|
|
20560
|
-
backgroundMobileUrl: props.casinoEnVivo.backgroundMobileUrl,
|
|
20561
|
-
backgroundDesktopUrl: props.casinoEnVivo.backgroundDesktopUrl,
|
|
20562
|
-
onCardClick: props.casinoEnVivo.onCardClick,
|
|
20563
|
-
onViewMore: props.casinoEnVivo.onViewMore
|
|
20564
|
-
}
|
|
20565
20392
|
),
|
|
20566
|
-
/* @__PURE__ */
|
|
20567
|
-
|
|
20568
|
-
|
|
20569
|
-
|
|
20570
|
-
|
|
20571
|
-
|
|
20572
|
-
|
|
20573
|
-
|
|
20574
|
-
|
|
20575
|
-
|
|
20576
|
-
|
|
20577
|
-
|
|
20578
|
-
|
|
20393
|
+
/* @__PURE__ */ React7.createElement(Box6, { sx: { justifySelf: "end" } }, /* @__PURE__ */ React7.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s"))
|
|
20394
|
+
), /* @__PURE__ */ React7.createElement(
|
|
20395
|
+
OraculoCarousel_default,
|
|
20396
|
+
{
|
|
20397
|
+
ref: carouselRef,
|
|
20398
|
+
items: slides,
|
|
20399
|
+
perPage: 1,
|
|
20400
|
+
gap: "0",
|
|
20401
|
+
options: {
|
|
20402
|
+
autoWidth: true,
|
|
20403
|
+
gap: "12px",
|
|
20404
|
+
trimSpace: false,
|
|
20405
|
+
pagination: false,
|
|
20406
|
+
arrows: false,
|
|
20407
|
+
drag: true,
|
|
20408
|
+
focus: "start",
|
|
20409
|
+
perMove: 1
|
|
20410
|
+
},
|
|
20411
|
+
renderItem: (slide) => /* @__PURE__ */ React7.createElement("div", { style: { alignSelf: "start" } }, /* @__PURE__ */ React7.createElement(
|
|
20412
|
+
OraculoGameSlide_default,
|
|
20579
20413
|
{
|
|
20580
|
-
items:
|
|
20581
|
-
|
|
20582
|
-
|
|
20583
|
-
|
|
20414
|
+
items: slide.items,
|
|
20415
|
+
layout: slide.kind === "mosaic" ? "mosaic" : "grid",
|
|
20416
|
+
onClick: (itm) => {
|
|
20417
|
+
const game = items.find(
|
|
20418
|
+
(g, idx) => {
|
|
20419
|
+
var _a;
|
|
20420
|
+
return ((_a = g.orden) != null ? _a : idx) === itm.id;
|
|
20421
|
+
}
|
|
20422
|
+
);
|
|
20423
|
+
if (game) onItemClick == null ? void 0 : onItemClick(game);
|
|
20424
|
+
}
|
|
20584
20425
|
}
|
|
20585
|
-
),
|
|
20586
|
-
|
|
20587
|
-
|
|
20588
|
-
|
|
20589
|
-
}
|
|
20426
|
+
)),
|
|
20427
|
+
onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
|
|
20428
|
+
}
|
|
20429
|
+
)));
|
|
20430
|
+
};
|
|
20431
|
+
var OraculoSeccionVirtuales_default = OraculoSeccionVirtuales;
|
|
20590
20432
|
|
|
20591
20433
|
// src/templates/OraculoPageLandingPreview.tsx
|
|
20592
|
-
import
|
|
20593
|
-
import { Container
|
|
20434
|
+
import React8, { useEffect, useState as useState3, useMemo as useMemo2 } from "react";
|
|
20435
|
+
import { Container, Stack as Stack4 } from "@mui/material";
|
|
20594
20436
|
|
|
20595
20437
|
// ../node_modules/@firebase/util/dist/postinstall.mjs
|
|
20596
20438
|
var getDefaultsFromPostinstall = () => void 0;
|
|
@@ -37615,19 +37457,16 @@ function convertToDocSnapshot(firestore, ref, snapshot) {
|
|
|
37615
37457
|
}
|
|
37616
37458
|
registerFirestore("node");
|
|
37617
37459
|
|
|
37618
|
-
// src/templates/OraculoPageLandingPreview.tsx
|
|
37619
|
-
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
37620
|
-
|
|
37621
37460
|
// import("../organisms/**/*/**/*") in src/templates/OraculoPageLandingPreview.tsx
|
|
37622
37461
|
var globImport_organisms = __glob({
|
|
37623
|
-
"../organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx": () => import("./OraculoSeccionBonoBienvenida-
|
|
37624
|
-
"../organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx": () => import("./OraculoSeccionCasino-
|
|
37625
|
-
"../organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx": () => import("./OraculoSeccionCasinoEnVivo-
|
|
37462
|
+
"../organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx": () => import("./OraculoSeccionBonoBienvenida-EG5U752J.mjs"),
|
|
37463
|
+
"../organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx": () => import("./OraculoSeccionCasino-NSM2LPDZ.mjs"),
|
|
37464
|
+
"../organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx": () => import("./OraculoSeccionCasinoEnVivo-DSHBIQFL.mjs"),
|
|
37626
37465
|
"../organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.css": () => import("./OraculoSeccionClubOlimpo-XGB4KUKX.mjs"),
|
|
37627
|
-
"../organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.tsx": () => import("./OraculoSeccionClubOlimpo-
|
|
37628
|
-
"../organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx": () => import("./OraculoSeccionDestacados-
|
|
37629
|
-
"../organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx": () => import("./OraculoSeccionTopJuegos-
|
|
37630
|
-
"../organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx": () => import("./OraculoSeccionVirtuales-
|
|
37466
|
+
"../organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.tsx": () => import("./OraculoSeccionClubOlimpo-2EZ3LMIL.mjs"),
|
|
37467
|
+
"../organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx": () => import("./OraculoSeccionDestacados-TFPJSEHF.mjs"),
|
|
37468
|
+
"../organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx": () => import("./OraculoSeccionTopJuegos-R2K6COO2.mjs"),
|
|
37469
|
+
"../organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx": () => import("./OraculoSeccionVirtuales-HZ4BACB3.mjs")
|
|
37631
37470
|
});
|
|
37632
37471
|
|
|
37633
37472
|
// src/templates/OraculoPageLandingPreview.tsx
|
|
@@ -37691,19 +37530,19 @@ var OraculoPageLandingPreview = ({
|
|
|
37691
37530
|
if (method === "GET") {
|
|
37692
37531
|
const u = new URL(
|
|
37693
37532
|
rawUrl,
|
|
37694
|
-
typeof window
|
|
37533
|
+
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
37695
37534
|
);
|
|
37696
|
-
|
|
37697
|
-
if (!p.key)
|
|
37698
|
-
u.searchParams.
|
|
37699
|
-
}
|
|
37535
|
+
for (const p of params) {
|
|
37536
|
+
if (!p.key) continue;
|
|
37537
|
+
u.searchParams.append(p.key, p.value);
|
|
37538
|
+
}
|
|
37700
37539
|
url = u.toString();
|
|
37701
37540
|
} else {
|
|
37702
37541
|
const encoded = new URLSearchParams();
|
|
37703
|
-
|
|
37704
|
-
if (!p.key)
|
|
37542
|
+
for (const p of params) {
|
|
37543
|
+
if (!p.key) continue;
|
|
37705
37544
|
encoded.append(p.key, p.value);
|
|
37706
|
-
}
|
|
37545
|
+
}
|
|
37707
37546
|
body = encoded.toString();
|
|
37708
37547
|
headers = {
|
|
37709
37548
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
@@ -37721,7 +37560,7 @@ var OraculoPageLandingPreview = ({
|
|
|
37721
37560
|
() => sectionsOverride ? sectionsOverride.slice() : sections.slice(),
|
|
37722
37561
|
[sectionsOverride, sections]
|
|
37723
37562
|
);
|
|
37724
|
-
const fetchedKeysRef =
|
|
37563
|
+
const fetchedKeysRef = React8.useRef(/* @__PURE__ */ new Set());
|
|
37725
37564
|
useEffect(() => {
|
|
37726
37565
|
const fetchables = effectiveSections.map((s) => ({ s, url: (s.apiUrl || "").trim() })).filter(({ url }) => !!url);
|
|
37727
37566
|
if (!fetchables.length) return;
|
|
@@ -37816,9 +37655,7 @@ var OraculoPageLandingPreview = ({
|
|
|
37816
37655
|
const pl = payload;
|
|
37817
37656
|
const isArr = Array.isArray(pl);
|
|
37818
37657
|
const obj = !isArr && typeof pl === "object" && pl !== null ? pl : void 0;
|
|
37819
|
-
console.log("Derived obj for props mapping:", obj);
|
|
37820
37658
|
const arrData = obj && Array.isArray(obj.lobby || obj.items) ? obj.lobby || obj.items : void 0;
|
|
37821
|
-
console.log("Derived arrData for props mapping:", arrData);
|
|
37822
37659
|
const choose = (fallback) => isArr ? pl : arrData || fallback;
|
|
37823
37660
|
merged.items = choose(arrData || []);
|
|
37824
37661
|
return merged;
|
|
@@ -37857,7 +37694,7 @@ var OraculoPageLandingPreview = ({
|
|
|
37857
37694
|
error: "bg-red-100 text-red-800",
|
|
37858
37695
|
component: "bg-yellow-100 text-yellow-800"
|
|
37859
37696
|
};
|
|
37860
|
-
return /* @__PURE__ */
|
|
37697
|
+
return /* @__PURE__ */ React8.createElement("div", { key, className: `mx-4 p-4 rounded ${colorMap[type]}` }, message);
|
|
37861
37698
|
};
|
|
37862
37699
|
const renderSingleSection = (s) => {
|
|
37863
37700
|
var _a;
|
|
@@ -37890,26 +37727,26 @@ var OraculoPageLandingPreview = ({
|
|
|
37890
37727
|
);
|
|
37891
37728
|
}
|
|
37892
37729
|
const compProps = buildCompProps(s);
|
|
37893
|
-
return /* @__PURE__ */
|
|
37730
|
+
return /* @__PURE__ */ React8.createElement(
|
|
37894
37731
|
"div",
|
|
37895
37732
|
{
|
|
37733
|
+
key: s.id,
|
|
37896
37734
|
style: {
|
|
37897
37735
|
paddingLeft: 16,
|
|
37898
37736
|
paddingRight: 16,
|
|
37899
37737
|
width: "100%",
|
|
37900
37738
|
boxSizing: "border-box"
|
|
37901
|
-
}
|
|
37902
|
-
children: /* @__PURE__ */ jsx9(Comp, { ...compProps })
|
|
37739
|
+
}
|
|
37903
37740
|
},
|
|
37904
|
-
|
|
37741
|
+
/* @__PURE__ */ React8.createElement(Comp, { ...compProps })
|
|
37905
37742
|
);
|
|
37906
37743
|
};
|
|
37907
37744
|
if (loading && !sectionsOverride)
|
|
37908
|
-
return /* @__PURE__ */
|
|
37745
|
+
return /* @__PURE__ */ React8.createElement("div", { className: "text-xs text-gray-400" }, "Cargando preview...");
|
|
37909
37746
|
if (!loading && !sectionsOverride && sections.length === 0)
|
|
37910
|
-
return /* @__PURE__ */
|
|
37911
|
-
return /* @__PURE__ */
|
|
37912
|
-
|
|
37747
|
+
return /* @__PURE__ */ React8.createElement("div", { className: "text-xs text-gray-500" }, "Sin secciones (Firestore)");
|
|
37748
|
+
return /* @__PURE__ */ React8.createElement(
|
|
37749
|
+
Container,
|
|
37913
37750
|
{
|
|
37914
37751
|
className: "oli-font",
|
|
37915
37752
|
maxWidth: false,
|
|
@@ -37922,15 +37759,18 @@ var OraculoPageLandingPreview = ({
|
|
|
37922
37759
|
width: "100%",
|
|
37923
37760
|
maxWidth: "100%",
|
|
37924
37761
|
overflowX: "hidden"
|
|
37925
|
-
}
|
|
37926
|
-
|
|
37927
|
-
}
|
|
37762
|
+
}
|
|
37763
|
+
},
|
|
37764
|
+
/* @__PURE__ */ React8.createElement(Stack4, { direction: "column", spacing: 8, useFlexGap: true }, orderedVisible.map(renderSingleSection))
|
|
37928
37765
|
);
|
|
37929
37766
|
};
|
|
37930
37767
|
var OraculoPageLandingPreview_default = OraculoPageLandingPreview;
|
|
37931
37768
|
|
|
37769
|
+
// src/index.ts
|
|
37770
|
+
var index_default = OraculoPageLandingPreview_default;
|
|
37771
|
+
|
|
37932
37772
|
// src/organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx
|
|
37933
|
-
import
|
|
37773
|
+
import React9 from "react";
|
|
37934
37774
|
function OraculoSeccionDestacados({
|
|
37935
37775
|
items,
|
|
37936
37776
|
title = "Destacados",
|
|
@@ -37953,89 +37793,81 @@ function OraculoSeccionDestacados({
|
|
|
37953
37793
|
onViewMore == null ? void 0 : onViewMore();
|
|
37954
37794
|
};
|
|
37955
37795
|
const sectionClassName = className || void 0;
|
|
37956
|
-
return /* @__PURE__ */
|
|
37957
|
-
|
|
37958
|
-
|
|
37959
|
-
{
|
|
37960
|
-
|
|
37961
|
-
|
|
37962
|
-
|
|
37963
|
-
|
|
37964
|
-
|
|
37965
|
-
|
|
37966
|
-
marginBottom: 16
|
|
37967
|
-
},
|
|
37968
|
-
children: [
|
|
37969
|
-
/* @__PURE__ */ jsx10(OraculoSectionTitle, { title, iconUrl, size: "md" }),
|
|
37970
|
-
/* @__PURE__ */ jsxs9("div", { style: { display: "flex", gap: 8 }, children: [
|
|
37971
|
-
/* @__PURE__ */ jsx10(
|
|
37972
|
-
OraculoButton,
|
|
37973
|
-
{
|
|
37974
|
-
ariaLabel: "Anterior",
|
|
37975
|
-
variant: "secondary",
|
|
37976
|
-
iconOnly: true,
|
|
37977
|
-
leftIcon: /* @__PURE__ */ jsx10(ChevronLeftRounded_default, {}),
|
|
37978
|
-
onClick: handlePrev,
|
|
37979
|
-
disabled: navState.isStart
|
|
37980
|
-
}
|
|
37981
|
-
),
|
|
37982
|
-
/* @__PURE__ */ jsx10(
|
|
37983
|
-
OraculoButton,
|
|
37984
|
-
{
|
|
37985
|
-
ariaLabel: "Siguiente",
|
|
37986
|
-
variant: "secondary",
|
|
37987
|
-
iconOnly: true,
|
|
37988
|
-
rightIcon: /* @__PURE__ */ jsx10(ChevronRightRounded_default, {}),
|
|
37989
|
-
onClick: handleNext,
|
|
37990
|
-
disabled: navState.isEnd
|
|
37991
|
-
}
|
|
37992
|
-
)
|
|
37993
|
-
] }),
|
|
37994
|
-
/* @__PURE__ */ jsx10(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" })
|
|
37995
|
-
]
|
|
37796
|
+
return /* @__PURE__ */ React9.createElement("section", { className: sectionClassName, style: { width: "100%" } }, /* @__PURE__ */ React9.createElement(
|
|
37797
|
+
"header",
|
|
37798
|
+
{
|
|
37799
|
+
style: {
|
|
37800
|
+
display: "grid",
|
|
37801
|
+
gridTemplateColumns: "1fr auto auto",
|
|
37802
|
+
alignItems: "center",
|
|
37803
|
+
columnGap: 12,
|
|
37804
|
+
rowGap: 8,
|
|
37805
|
+
marginBottom: 16
|
|
37996
37806
|
}
|
|
37997
|
-
|
|
37998
|
-
/* @__PURE__ */
|
|
37999
|
-
|
|
37807
|
+
},
|
|
37808
|
+
/* @__PURE__ */ React9.createElement(OraculoSectionTitle, { title, iconUrl, size: "md" }),
|
|
37809
|
+
/* @__PURE__ */ React9.createElement("div", { style: { display: "flex", gap: 8 } }, /* @__PURE__ */ React9.createElement(
|
|
37810
|
+
OraculoButton,
|
|
38000
37811
|
{
|
|
38001
|
-
|
|
38002
|
-
|
|
38003
|
-
|
|
38004
|
-
|
|
38005
|
-
|
|
38006
|
-
|
|
38007
|
-
|
|
38008
|
-
|
|
37812
|
+
ariaLabel: "Anterior",
|
|
37813
|
+
variant: "secondary",
|
|
37814
|
+
iconOnly: true,
|
|
37815
|
+
leftIcon: /* @__PURE__ */ React9.createElement(ChevronLeftRounded_default, null),
|
|
37816
|
+
onClick: handlePrev,
|
|
37817
|
+
disabled: navState.isStart
|
|
37818
|
+
}
|
|
37819
|
+
), /* @__PURE__ */ React9.createElement(
|
|
37820
|
+
OraculoButton,
|
|
37821
|
+
{
|
|
37822
|
+
ariaLabel: "Siguiente",
|
|
37823
|
+
variant: "secondary",
|
|
37824
|
+
iconOnly: true,
|
|
37825
|
+
rightIcon: /* @__PURE__ */ React9.createElement(ChevronRightRounded_default, null),
|
|
37826
|
+
onClick: handleNext,
|
|
37827
|
+
disabled: navState.isEnd
|
|
37828
|
+
}
|
|
37829
|
+
)),
|
|
37830
|
+
/* @__PURE__ */ React9.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s")
|
|
37831
|
+
), /* @__PURE__ */ React9.createElement(
|
|
37832
|
+
OraculoCarousel_default,
|
|
37833
|
+
{
|
|
37834
|
+
ref: carouselRef,
|
|
37835
|
+
items,
|
|
37836
|
+
perPage: 3.395,
|
|
37837
|
+
gap: "16px",
|
|
37838
|
+
options: { autoWidth: false },
|
|
37839
|
+
breakpoints: {
|
|
37840
|
+
768: { perPage: 1.15, focus: "start" },
|
|
37841
|
+
1024: { perPage: 2.5, focus: "start" }
|
|
37842
|
+
},
|
|
37843
|
+
renderItem: (item) => /* @__PURE__ */ React9.createElement(
|
|
37844
|
+
"div",
|
|
37845
|
+
{
|
|
37846
|
+
key: `${item.title}-${item.image}`,
|
|
37847
|
+
style: {
|
|
37848
|
+
textAlign: "center",
|
|
37849
|
+
marginTop: 16
|
|
37850
|
+
}
|
|
38009
37851
|
},
|
|
38010
|
-
|
|
38011
|
-
"
|
|
37852
|
+
/* @__PURE__ */ React9.createElement(
|
|
37853
|
+
"img",
|
|
38012
37854
|
{
|
|
37855
|
+
src: `https://olimpo.bet${item.image !== "" ? item.image : item.summary_image}`,
|
|
37856
|
+
alt: item.title,
|
|
38013
37857
|
style: {
|
|
38014
|
-
|
|
38015
|
-
|
|
38016
|
-
|
|
38017
|
-
|
|
38018
|
-
|
|
38019
|
-
|
|
38020
|
-
|
|
38021
|
-
|
|
38022
|
-
|
|
38023
|
-
|
|
38024
|
-
|
|
38025
|
-
|
|
38026
|
-
|
|
38027
|
-
borderRadius: 8,
|
|
38028
|
-
display: "block"
|
|
38029
|
-
}
|
|
38030
|
-
}
|
|
38031
|
-
)
|
|
38032
|
-
},
|
|
38033
|
-
`${item.title}-${item.image}`
|
|
38034
|
-
),
|
|
38035
|
-
onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
|
|
38036
|
-
}
|
|
38037
|
-
)
|
|
38038
|
-
] });
|
|
37858
|
+
width: "100%",
|
|
37859
|
+
// minHeight: "150px",
|
|
37860
|
+
// maxHeight: "150px",
|
|
37861
|
+
height: "150px",
|
|
37862
|
+
borderRadius: 8,
|
|
37863
|
+
display: "block"
|
|
37864
|
+
}
|
|
37865
|
+
}
|
|
37866
|
+
)
|
|
37867
|
+
),
|
|
37868
|
+
onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
|
|
37869
|
+
}
|
|
37870
|
+
));
|
|
38039
37871
|
}
|
|
38040
37872
|
|
|
38041
37873
|
export {
|
|
@@ -38047,8 +37879,8 @@ export {
|
|
|
38047
37879
|
OraculoSeccionTopJuegos,
|
|
38048
37880
|
OraculoSeccionCasino_default,
|
|
38049
37881
|
OraculoSeccionVirtuales_default,
|
|
38050
|
-
|
|
38051
|
-
|
|
37882
|
+
OraculoPageLandingPreview_default,
|
|
37883
|
+
index_default
|
|
38052
37884
|
};
|
|
38053
37885
|
/*! Bundled license information:
|
|
38054
37886
|
|