oraculo-ui 0.1.13 → 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.
Files changed (78) hide show
  1. package/dist/{OraculoSeccionBonoBienvenida-2APXZQQA.mjs → OraculoSeccionBonoBienvenida-EG5U752J.mjs} +2 -2
  2. package/dist/{OraculoSeccionCasino-LRZCQVLY.mjs → OraculoSeccionCasino-NSM2LPDZ.mjs} +5 -5
  3. package/dist/{OraculoSeccionCasino-ORWFZCMV.mjs → OraculoSeccionCasino-TFMAW7DD.mjs} +5 -5
  4. package/dist/{OraculoSeccionCasinoEnVivo-ISYMJSUN.mjs → OraculoSeccionCasinoEnVivo-DSHBIQFL.mjs} +2 -2
  5. package/dist/{OraculoSeccionClubOlimpo-TV3LABJ5.mjs → OraculoSeccionClubOlimpo-2EZ3LMIL.mjs} +2 -2
  6. package/dist/OraculoSeccionDestacados-JNMBNCDQ.mjs +12 -0
  7. package/dist/OraculoSeccionDestacados-TFPJSEHF.mjs +12 -0
  8. package/dist/OraculoSeccionTopJuegos-55R5XMSK.mjs +12 -0
  9. package/dist/OraculoSeccionTopJuegos-R2K6COO2.mjs +12 -0
  10. package/dist/{OraculoSeccionVirtuales-FKHGLEVT.mjs → OraculoSeccionVirtuales-HZ4BACB3.mjs} +5 -5
  11. package/dist/{OraculoSeccionVirtuales-N6FY52CM.mjs → OraculoSeccionVirtuales-Y7YXRA6S.mjs} +5 -5
  12. package/dist/{chunk-FROEVP3X.mjs → chunk-3MSTKPDC.mjs} +471 -640
  13. package/dist/{chunk-IJQLK4NO.mjs → chunk-DHENVY2Z.mjs} +10 -14
  14. package/dist/chunk-JSQWAWJ2.mjs +103 -0
  15. package/dist/chunk-NPAHCXJM.mjs +239 -0
  16. package/dist/{chunk-7IWMEE6R.mjs → chunk-WKDAILVP.mjs} +467 -638
  17. package/dist/chunk-YWS57247.mjs +449 -0
  18. package/dist/index.d.mts +6 -20
  19. package/dist/index.d.ts +6 -20
  20. package/dist/index.js +933 -1163
  21. package/dist/index.mjs +5 -7
  22. package/package.json +1 -1
  23. package/dist/OraculoSeccionBonoBienvenida-4ZHLRFV2.css +0 -221
  24. package/dist/OraculoSeccionBonoBienvenida-4ZHLRFV2.css.map +0 -1
  25. package/dist/OraculoSeccionBonoBienvenida-6L54EBL3.mjs +0 -9
  26. package/dist/OraculoSeccionBonoBienvenida-6L54EBL3.mjs.map +0 -1
  27. package/dist/OraculoSeccionCasino-CPSKAAFH.css +0 -398
  28. package/dist/OraculoSeccionCasino-CPSKAAFH.css.map +0 -1
  29. package/dist/OraculoSeccionCasino-FHD2WBDU.mjs +0 -13
  30. package/dist/OraculoSeccionCasino-FHD2WBDU.mjs.map +0 -1
  31. package/dist/OraculoSeccionCasinoEnVivo-7W64K4YQ.css +0 -157
  32. package/dist/OraculoSeccionCasinoEnVivo-7W64K4YQ.css.map +0 -1
  33. package/dist/OraculoSeccionCasinoEnVivo-EPVIACRV.mjs +0 -9
  34. package/dist/OraculoSeccionCasinoEnVivo-EPVIACRV.mjs.map +0 -1
  35. package/dist/OraculoSeccionClubOlimpo-63QCT4A2.mjs +0 -10
  36. package/dist/OraculoSeccionClubOlimpo-63QCT4A2.mjs.map +0 -1
  37. package/dist/OraculoSeccionClubOlimpo-BLUJXLUC.mjs +0 -8
  38. package/dist/OraculoSeccionClubOlimpo-BLUJXLUC.mjs.map +0 -1
  39. package/dist/OraculoSeccionClubOlimpo-F2AFK4G3.css +0 -274
  40. package/dist/OraculoSeccionClubOlimpo-F2AFK4G3.css.map +0 -1
  41. package/dist/OraculoSeccionClubOlimpo-ZCBMTUL3.css +0 -117
  42. package/dist/OraculoSeccionClubOlimpo-ZCBMTUL3.css.map +0 -1
  43. package/dist/OraculoSeccionDestacados-2KCEN6PZ.mjs +0 -12
  44. package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs +0 -13
  45. package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs.map +0 -1
  46. package/dist/OraculoSeccionDestacados-6D4LKX4H.mjs +0 -12
  47. package/dist/OraculoSeccionDestacados-AMMYUK67.css +0 -398
  48. package/dist/OraculoSeccionDestacados-AMMYUK67.css.map +0 -1
  49. package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs +0 -13
  50. package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs.map +0 -1
  51. package/dist/OraculoSeccionTopJuegos-LEFQWP7T.mjs +0 -12
  52. package/dist/OraculoSeccionTopJuegos-RBVOHPDV.mjs +0 -12
  53. package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css +0 -398
  54. package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css.map +0 -1
  55. package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs +0 -13
  56. package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs.map +0 -1
  57. package/dist/OraculoSeccionVirtuales-SSM6EDST.css +0 -398
  58. package/dist/OraculoSeccionVirtuales-SSM6EDST.css.map +0 -1
  59. package/dist/chunk-2D7ZJMJV.mjs +0 -118
  60. package/dist/chunk-4LBAYKDQ.mjs +0 -475
  61. package/dist/chunk-FIOWVLJP.mjs +0 -7
  62. package/dist/chunk-FIOWVLJP.mjs.map +0 -1
  63. package/dist/chunk-IGAIIVJZ.mjs +0 -74
  64. package/dist/chunk-IGAIIVJZ.mjs.map +0 -1
  65. package/dist/chunk-MC4XEBI3.mjs +0 -1277
  66. package/dist/chunk-MC4XEBI3.mjs.map +0 -1
  67. package/dist/chunk-PVY5Z3JS.mjs +0 -249
  68. package/dist/chunk-PYHDJZX3.mjs +0 -476
  69. package/dist/chunk-PYHDJZX3.mjs.map +0 -1
  70. package/dist/chunk-THUJNRMX.mjs +0 -119
  71. package/dist/chunk-THUJNRMX.mjs.map +0 -1
  72. package/dist/chunk-WTK2IT5O.mjs +0 -250
  73. package/dist/chunk-WTK2IT5O.mjs.map +0 -1
  74. package/dist/chunk-XNMUIY72.mjs +0 -10
  75. package/dist/chunk-XNMUIY72.mjs.map +0 -1
  76. package/dist/index.css.map +0 -1
  77. package/dist/index.js.map +0 -1
  78. package/dist/index.mjs.map +0 -1
@@ -1,16 +1,9 @@
1
1
  import {
2
- OraculoSeccionClubOlimpo_default
3
- } from "./chunk-2D7ZJMJV.mjs";
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-IJQLK4NO.mjs";
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 { jsx, jsxs } from "react/jsx-runtime";
19744
+ import React2 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__ */ jsxs("div", { className: wrapperClass, children: [
19765
- iconUrl && /* @__PURE__ */ jsx(
19766
- "img",
19767
- {
19768
- src: iconUrl,
19769
- alt: "",
19770
- className: "orc-section-title__icon"
19771
- }
19772
- ),
19773
- /* @__PURE__ */ jsx("h2", { className: "orc-section-title__title", children: title })
19774
- ] });
19757
+ return /* @__PURE__ */ React2.createElement("div", { className: wrapperClass }, iconUrl && /* @__PURE__ */ React2.createElement(
19758
+ "img",
19759
+ {
19760
+ src: iconUrl,
19761
+ alt: "",
19762
+ className: "orc-section-title__icon"
19763
+ }
19764
+ ), /* @__PURE__ */ React2.createElement("h2", { className: "orc-section-title__title" }, title));
19775
19765
  }
19776
19766
 
19777
19767
  // src/molecules/OraculoGameRankCard/OraculoGameRankCard.tsx
19768
+ import React4 from "react";
19778
19769
  import Box2 from "@mui/material/Box";
19779
19770
 
19780
19771
  // src/molecules/OraculoGameCard/OraculoGameCard.tsx
19772
+ import React3 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__ */ jsxs2(
19786
+ return /* @__PURE__ */ React3.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__ */ React3.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__ */ React3.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__ */ React3.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
- children: [
19822
- /* @__PURE__ */ jsx2(
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__ */ React3.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__ */ jsxs3(
19890
+ return /* @__PURE__ */ React4.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__ */ React4.createElement(
19908
+ Box2,
19909
+ {
19910
+ sx: {
19911
+ position: "absolute",
19912
+ inset: 0,
19913
+ borderRadius: "inherit",
19914
+ overflow: "hidden"
19915
+ }
19917
19916
  },
19918
- children: [
19919
- /* @__PURE__ */ jsx3(
19920
- Box2,
19921
- {
19922
- sx: {
19923
- position: "absolute",
19924
- inset: 0,
19925
- borderRadius: "inherit",
19926
- overflow: "hidden"
19927
- },
19928
- children: /* @__PURE__ */ jsx3(
19929
- OraculoGameCard_default,
19930
- {
19931
- imageUrl,
19932
- onClick,
19933
- size: "lg",
19934
- fillParent: true
19935
- }
19936
- )
19937
- }
19938
- ),
19939
- /* @__PURE__ */ jsx3(
19940
- Box2,
19941
- {
19942
- component: "span",
19943
- sx: {
19944
- position: "absolute",
19945
- left: 8,
19946
- bottom: {
19947
- xs: `-${hang.xs}px`,
19948
- md: `-${hang.md}px`
19949
- },
19950
- fontFamily: "secondary",
19951
- fontSize: {
19952
- xs: `${F.xs}px`,
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__ */ React4.createElement(
19918
+ OraculoGameCard_default,
19919
+ {
19920
+ imageUrl,
19921
+ onClick,
19922
+ size: "lg",
19923
+ fillParent: true
19924
+ }
19925
+ )
19926
+ ),
19927
+ /* @__PURE__ */ React4.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 React5 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__ */ jsxs4(
19968
+ return /* @__PURE__ */ React5.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__ */ React5.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
- children: [
20006
- big && /* @__PURE__ */ jsx4(
20007
- Box3,
20003
+ /* @__PURE__ */ React5.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__ */ React5.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__ */ React5.createElement(
20027
+ OraculoGameCard_default,
20008
20028
  {
20009
- sx: {
20010
- width: { xs: 184, md: 280 },
20011
- height: { xs: 234, md: 352 },
20012
- gridRow: "1 / span 2",
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
- smalls.map((it, index) => {
20028
- var _a2;
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__ */ jsx4(
20039
+ return /* @__PURE__ */ React5.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
- children: items.map((it, index) => {
20072
- var _a2, _b;
20073
- return /* @__PURE__ */ jsx4(
20074
- Box3,
20054
+ }
20055
+ },
20056
+ items.map((it, index) => {
20057
+ var _a2, _b;
20058
+ return /* @__PURE__ */ React5.createElement(
20059
+ Box3,
20060
+ {
20061
+ key: (_a2 = it.id) != null ? _a2 : index,
20062
+ sx: {
20063
+ overflow: "hidden",
20064
+ borderRadius: 2
20065
+ }
20066
+ },
20067
+ /* @__PURE__ */ React5.createElement(
20068
+ OraculoGameCard_default,
20075
20069
  {
20076
- sx: {
20077
- overflow: "hidden",
20078
- borderRadius: 2
20079
- },
20080
- children: /* @__PURE__ */ jsx4(
20081
- OraculoGameCard_default,
20082
- {
20083
- imageUrl: `https://olimpo.bet${(_b = it.imageUrl) != null ? _b : ""}`,
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 React6, { 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__ */ jsx5("section", { style: { width: "100%" }, children: /* @__PURE__ */ jsxs5(Stack, { direction: "column", spacing: 2, useFlexGap: true, children: [
20125
- /* @__PURE__ */ jsx5(OraculoSectionTitle, { title, iconUrl, size: "md" }),
20126
- /* @__PURE__ */ jsx5(
20127
- Box4,
20128
- {
20129
- sx: {
20130
- display: "grid",
20131
- gridTemplateColumns: {
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__ */ React6.createElement("section", { style: { width: "100%" } }, /* @__PURE__ */ React6.createElement(Stack, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ React6.createElement(OraculoSectionTitle, { title, iconUrl, size: "md" }), /* @__PURE__ */ React6.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
- children: normalizedItems.slice(0, 6).map((juego) => {
20140
- var _a;
20141
- return /* @__PURE__ */ jsx5(
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__ */ React6.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 React7, { 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__ */ jsx6("section", { children: /* @__PURE__ */ jsxs6(Stack2, { direction: "column", spacing: 2, useFlexGap: true, children: [
20216
- /* @__PURE__ */ jsxs6(
20217
- Box5,
20194
+ return /* @__PURE__ */ React7.createElement("section", null, /* @__PURE__ */ React7.createElement(Stack2, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ React7.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__ */ React7.createElement(
20206
+ OraculoSectionTitle,
20218
20207
  {
20219
- sx: {
20220
- display: "grid",
20221
- gridTemplateColumns: "1fr auto auto",
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__ */ jsx6(
20274
- OraculoCarousel_default,
20213
+ /* @__PURE__ */ React7.createElement(
20214
+ Box5,
20275
20215
  {
20276
- ref: carouselRef,
20277
- items: slides,
20278
- perPage: 1,
20279
- gap: "0px",
20280
- options: {
20281
- autoWidth: true,
20282
- gap: "12px",
20283
- trimSpace: false,
20284
- pagination: false,
20285
- arrows: false,
20286
- drag: true,
20287
- focus: "start"
20288
- },
20289
- renderItem: (slide) => /* @__PURE__ */ jsx6("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ jsx6(
20290
- OraculoGameSlide_default,
20291
- {
20292
- items: slide.items,
20293
- layout: slide.kind === "mosaic" ? "mosaic" : "grid",
20294
- onClick: (itm) => {
20295
- const game = items.find(
20296
- (g, idx) => {
20297
- var _a;
20298
- return ((_a = g.orden) != null ? _a : idx) === itm.id;
20299
- }
20300
- );
20301
- if (game) onItemClick == null ? void 0 : onItemClick(game);
20302
- }
20216
+ sx: {
20217
+ display: "flex",
20218
+ gap: 1,
20219
+ justifyContent: "flex-end"
20220
+ }
20221
+ },
20222
+ /* @__PURE__ */ React7.createElement(
20223
+ OraculoButton,
20224
+ {
20225
+ ariaLabel: "Anterior",
20226
+ variant: "secondary",
20227
+ iconOnly: true,
20228
+ leftIcon: /* @__PURE__ */ React7.createElement(ChevronLeftRounded_default, null),
20229
+ onClick: handlePrev,
20230
+ disabled: navState.isStart
20231
+ }
20232
+ ),
20233
+ /* @__PURE__ */ React7.createElement(
20234
+ OraculoButton,
20235
+ {
20236
+ ariaLabel: "Siguiente",
20237
+ variant: "secondary",
20238
+ iconOnly: true,
20239
+ rightIcon: /* @__PURE__ */ React7.createElement(ChevronRightRounded_default, null),
20240
+ onClick: handleNext,
20241
+ disabled: navState.isEnd
20242
+ }
20243
+ )
20244
+ ),
20245
+ /* @__PURE__ */ React7.createElement(Box5, { sx: { justifySelf: "end" } }, /* @__PURE__ */ React7.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s"))
20246
+ ), /* @__PURE__ */ React7.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__ */ React7.createElement("div", { style: { alignSelf: "start" } }, /* @__PURE__ */ React7.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
- onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
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 React8, { 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__ */ jsx7("section", { children: /* @__PURE__ */ jsxs7(Stack3, { direction: "column", spacing: 2, useFlexGap: true, children: [
20372
- /* @__PURE__ */ jsxs7(
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__ */ React8.createElement("section", null, /* @__PURE__ */ React8.createElement(Stack3, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ React8.createElement(
20343
+ Box6,
20491
20344
  {
20492
- image: "/assets/img/home/Destacados/Banner02.png",
20493
- title: "Promo 2",
20494
- tags: "/destacados",
20495
- body: "",
20496
- summary_body: "",
20497
- summary_title: "",
20498
- groups_forbidden: [],
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
- image: "/assets/img/home/Destacados/Banner02.png",
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__ */ React8.createElement(
20354
+ OraculoSectionTitle,
20528
20355
  {
20529
- headline: props.bonos.headline,
20530
- items: props.bonos.items
20356
+ title,
20357
+ iconUrl,
20358
+ size: "md"
20531
20359
  }
20532
20360
  ),
20533
- /* @__PURE__ */ jsxs8(Stack4, { direction: "column", spacing: 12, useFlexGap: true, children: [
20534
- /* @__PURE__ */ jsx8(
20535
- OraculoSeccionTopJuegos,
20361
+ /* @__PURE__ */ React8.createElement(
20362
+ Box6,
20363
+ {
20364
+ sx: {
20365
+ display: "flex",
20366
+ gap: 1,
20367
+ justifyContent: "flex-end"
20368
+ }
20369
+ },
20370
+ /* @__PURE__ */ React8.createElement(
20371
+ OraculoButton,
20536
20372
  {
20537
- items: props.topJuegos.items,
20538
- title: props.topJuegos.title,
20539
- iconUrl: props.topJuegos.iconUrl,
20540
- onCardClick: props.topJuegos.onCardClick
20373
+ ariaLabel: "Anterior",
20374
+ variant: "secondary",
20375
+ iconOnly: true,
20376
+ leftIcon: /* @__PURE__ */ React8.createElement(ChevronLeftRounded_default, null),
20377
+ onClick: handlePrev,
20378
+ disabled: navState.isStart
20541
20379
  }
20542
20380
  ),
20543
- /* @__PURE__ */ jsx8(
20544
- OraculoSeccionCasino_default,
20381
+ /* @__PURE__ */ React8.createElement(
20382
+ OraculoButton,
20545
20383
  {
20546
- items: props.casino.items,
20547
- title: props.casino.title,
20548
- iconUrl: props.casino.iconUrl,
20549
- onItemClick: props.casino.onItemClick,
20550
- onViewMore: props.casino.onViewMore
20384
+ ariaLabel: "Siguiente",
20385
+ variant: "secondary",
20386
+ iconOnly: true,
20387
+ rightIcon: /* @__PURE__ */ React8.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__ */ jsxs8(Stack4, { direction: "column", spacing: 12, useFlexGap: true, children: [
20567
- /* @__PURE__ */ jsx8(
20568
- OraculoSeccionVirtuales_default,
20569
- {
20570
- items: props.virtuales.items,
20571
- title: props.virtuales.title,
20572
- iconUrl: props.virtuales.iconUrl,
20573
- onItemClick: props.virtuales.onItemClick,
20574
- onViewMore: props.virtuales.onViewMore
20575
- }
20576
- ),
20577
- /* @__PURE__ */ jsx8(
20578
- OraculoSeccionDestacados,
20393
+ /* @__PURE__ */ React8.createElement(Box6, { sx: { justifySelf: "end" } }, /* @__PURE__ */ React8.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s"))
20394
+ ), /* @__PURE__ */ React8.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__ */ React8.createElement("div", { style: { alignSelf: "start" } }, /* @__PURE__ */ React8.createElement(
20412
+ OraculoGameSlide_default,
20579
20413
  {
20580
- items: listaDestacados,
20581
- title: "Destacados",
20582
- iconUrl: "/assets/img/home/Destacados/starIcon.svg",
20583
- onViewMore: () => console.log("Ver m\xE1s clickeado")
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
- /* @__PURE__ */ jsx8(OraculoSeccionClubOlimpo_default, { items: props.clubOlimpo })
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 React4, { useEffect, useState as useState3, useMemo as useMemo2 } from "react";
20593
- import { Container as Container2, Stack as Stack5 } from "@mui/material";
20434
+ import React9, { 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-2APXZQQA.mjs"),
37624
- "../organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx": () => import("./OraculoSeccionCasino-ORWFZCMV.mjs"),
37625
- "../organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx": () => import("./OraculoSeccionCasinoEnVivo-ISYMJSUN.mjs"),
37462
+ "../organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx": () => import("./OraculoSeccionBonoBienvenida-EG5U752J.mjs"),
37463
+ "../organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx": () => import("./OraculoSeccionCasino-TFMAW7DD.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-TV3LABJ5.mjs"),
37628
- "../organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx": () => import("./OraculoSeccionDestacados-6D4LKX4H.mjs"),
37629
- "../organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx": () => import("./OraculoSeccionTopJuegos-LEFQWP7T.mjs"),
37630
- "../organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx": () => import("./OraculoSeccionVirtuales-FKHGLEVT.mjs")
37466
+ "../organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.tsx": () => import("./OraculoSeccionClubOlimpo-2EZ3LMIL.mjs"),
37467
+ "../organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx": () => import("./OraculoSeccionDestacados-JNMBNCDQ.mjs"),
37468
+ "../organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx": () => import("./OraculoSeccionTopJuegos-55R5XMSK.mjs"),
37469
+ "../organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx": () => import("./OraculoSeccionVirtuales-Y7YXRA6S.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 !== "undefined" ? window.location.origin : "http://localhost"
37533
+ typeof window == "undefined" ? "http://localhost" : window.location.origin
37695
37534
  );
37696
- params.forEach((p) => {
37697
- if (!p.key) return;
37698
- u.searchParams.set(p.key, p.value);
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
- params.forEach((p) => {
37704
- if (!p.key) return;
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 = React4.useRef(/* @__PURE__ */ new Set());
37563
+ const fetchedKeysRef = React9.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__ */ jsx9("div", { className: `mx-4 p-4 rounded ${colorMap[type]}`, children: message }, key);
37697
+ return /* @__PURE__ */ React9.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__ */ jsx9(
37730
+ return /* @__PURE__ */ React9.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
- s.id
37741
+ /* @__PURE__ */ React9.createElement(Comp, { ...compProps })
37905
37742
  );
37906
37743
  };
37907
37744
  if (loading && !sectionsOverride)
37908
- return /* @__PURE__ */ jsx9("div", { className: "text-xs text-gray-400", children: "Cargando preview..." });
37745
+ return /* @__PURE__ */ React9.createElement("div", { className: "text-xs text-gray-400" }, "Cargando preview...");
37909
37746
  if (!loading && !sectionsOverride && sections.length === 0)
37910
- return /* @__PURE__ */ jsx9("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" });
37911
- return /* @__PURE__ */ jsx9(
37912
- Container2,
37747
+ return /* @__PURE__ */ React9.createElement("div", { className: "text-xs text-gray-500" }, "Sin secciones (Firestore)");
37748
+ return /* @__PURE__ */ React9.createElement(
37749
+ Container,
37913
37750
  {
37914
37751
  className: "oli-font",
37915
37752
  maxWidth: false,
@@ -37922,15 +37759,17 @@ var OraculoPageLandingPreview = ({
37922
37759
  width: "100%",
37923
37760
  maxWidth: "100%",
37924
37761
  overflowX: "hidden"
37925
- },
37926
- children: /* @__PURE__ */ jsx9(Stack5, { direction: "column", spacing: 8, useFlexGap: true, children: orderedVisible.map(renderSingleSection) })
37927
- }
37762
+ }
37763
+ },
37764
+ /* @__PURE__ */ React9.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 { jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
37934
37773
  function OraculoSeccionDestacados({
37935
37774
  items,
37936
37775
  title = "Destacados",
@@ -37953,89 +37792,81 @@ function OraculoSeccionDestacados({
37953
37792
  onViewMore == null ? void 0 : onViewMore();
37954
37793
  };
37955
37794
  const sectionClassName = className || void 0;
37956
- return /* @__PURE__ */ jsxs9("section", { className: sectionClassName, style: { width: "100%" }, children: [
37957
- /* @__PURE__ */ jsxs9(
37958
- "header",
37959
- {
37960
- style: {
37961
- display: "grid",
37962
- gridTemplateColumns: "1fr auto auto",
37963
- alignItems: "center",
37964
- columnGap: 12,
37965
- rowGap: 8,
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
- ]
37795
+ return /* @__PURE__ */ React.createElement("section", { className: sectionClassName, style: { width: "100%" } }, /* @__PURE__ */ React.createElement(
37796
+ "header",
37797
+ {
37798
+ style: {
37799
+ display: "grid",
37800
+ gridTemplateColumns: "1fr auto auto",
37801
+ alignItems: "center",
37802
+ columnGap: 12,
37803
+ rowGap: 8,
37804
+ marginBottom: 16
37996
37805
  }
37997
- ),
37998
- /* @__PURE__ */ jsx10(
37999
- OraculoCarousel_default,
37806
+ },
37807
+ /* @__PURE__ */ React.createElement(OraculoSectionTitle, { title, iconUrl, size: "md" }),
37808
+ /* @__PURE__ */ React.createElement("div", { style: { display: "flex", gap: 8 } }, /* @__PURE__ */ React.createElement(
37809
+ OraculoButton,
38000
37810
  {
38001
- ref: carouselRef,
38002
- items,
38003
- perPage: 3.395,
38004
- gap: "16px",
38005
- options: { autoWidth: false },
38006
- breakpoints: {
38007
- 768: { perPage: 1.15, focus: "start" },
38008
- 1024: { perPage: 2.5, focus: "start" }
37811
+ ariaLabel: "Anterior",
37812
+ variant: "secondary",
37813
+ iconOnly: true,
37814
+ leftIcon: /* @__PURE__ */ React.createElement(ChevronLeftRounded_default, null),
37815
+ onClick: handlePrev,
37816
+ disabled: navState.isStart
37817
+ }
37818
+ ), /* @__PURE__ */ React.createElement(
37819
+ OraculoButton,
37820
+ {
37821
+ ariaLabel: "Siguiente",
37822
+ variant: "secondary",
37823
+ iconOnly: true,
37824
+ rightIcon: /* @__PURE__ */ React.createElement(ChevronRightRounded_default, null),
37825
+ onClick: handleNext,
37826
+ disabled: navState.isEnd
37827
+ }
37828
+ )),
37829
+ /* @__PURE__ */ React.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s")
37830
+ ), /* @__PURE__ */ React.createElement(
37831
+ OraculoCarousel_default,
37832
+ {
37833
+ ref: carouselRef,
37834
+ items,
37835
+ perPage: 3.395,
37836
+ gap: "16px",
37837
+ options: { autoWidth: false },
37838
+ breakpoints: {
37839
+ 768: { perPage: 1.15, focus: "start" },
37840
+ 1024: { perPage: 2.5, focus: "start" }
37841
+ },
37842
+ renderItem: (item) => /* @__PURE__ */ React.createElement(
37843
+ "div",
37844
+ {
37845
+ key: `${item.title}-${item.image}`,
37846
+ style: {
37847
+ textAlign: "center",
37848
+ marginTop: 16
37849
+ }
38009
37850
  },
38010
- renderItem: (item) => /* @__PURE__ */ jsx10(
38011
- "div",
37851
+ /* @__PURE__ */ React.createElement(
37852
+ "img",
38012
37853
  {
37854
+ src: `https://olimpo.bet${item.image !== "" ? item.image : item.summary_image}`,
37855
+ alt: item.title,
38013
37856
  style: {
38014
- textAlign: "center",
38015
- marginTop: 16
38016
- },
38017
- children: /* @__PURE__ */ jsx10(
38018
- "img",
38019
- {
38020
- src: `https://olimpo.bet${item.image !== "" ? item.image : item.summary_image}`,
38021
- alt: item.title,
38022
- style: {
38023
- width: "100%",
38024
- // minHeight: "150px",
38025
- // maxHeight: "150px",
38026
- height: "150px",
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
- ] });
37857
+ width: "100%",
37858
+ // minHeight: "150px",
37859
+ // maxHeight: "150px",
37860
+ height: "150px",
37861
+ borderRadius: 8,
37862
+ display: "block"
37863
+ }
37864
+ }
37865
+ )
37866
+ ),
37867
+ onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
37868
+ }
37869
+ ));
38039
37870
  }
38040
37871
 
38041
37872
  export {
@@ -38047,8 +37878,8 @@ export {
38047
37878
  OraculoSeccionTopJuegos,
38048
37879
  OraculoSeccionCasino_default,
38049
37880
  OraculoSeccionVirtuales_default,
38050
- OraculoPageLanding,
38051
- OraculoPageLandingPreview_default
37881
+ OraculoPageLandingPreview_default,
37882
+ index_default
38052
37883
  };
38053
37884
  /*! Bundled license information:
38054
37885