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.
Files changed (76) hide show
  1. package/dist/{OraculoSeccionBonoBienvenida-2APXZQQA.mjs → OraculoSeccionBonoBienvenida-EG5U752J.mjs} +2 -2
  2. package/dist/{OraculoSeccionCasino-ORWFZCMV.mjs → OraculoSeccionCasino-NSM2LPDZ.mjs} +5 -5
  3. package/dist/OraculoSeccionCasino-TFMAW7DD.mjs +12 -0
  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-Y7YXRA6S.mjs +12 -0
  12. package/dist/chunk-3MSTKPDC.mjs +38928 -0
  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-FROEVP3X.mjs → chunk-WKDAILVP.mjs} +472 -640
  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 +937 -1165
  21. package/dist/index.mjs +9 -9
  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-5RFVEBFL.mjs +0 -13
  44. package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs.map +0 -1
  45. package/dist/OraculoSeccionDestacados-6D4LKX4H.mjs +0 -12
  46. package/dist/OraculoSeccionDestacados-AMMYUK67.css +0 -398
  47. package/dist/OraculoSeccionDestacados-AMMYUK67.css.map +0 -1
  48. package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs +0 -13
  49. package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs.map +0 -1
  50. package/dist/OraculoSeccionTopJuegos-LEFQWP7T.mjs +0 -12
  51. package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css +0 -398
  52. package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css.map +0 -1
  53. package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs +0 -13
  54. package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs.map +0 -1
  55. package/dist/OraculoSeccionVirtuales-SSM6EDST.css +0 -398
  56. package/dist/OraculoSeccionVirtuales-SSM6EDST.css.map +0 -1
  57. package/dist/chunk-2D7ZJMJV.mjs +0 -118
  58. package/dist/chunk-4LBAYKDQ.mjs +0 -475
  59. package/dist/chunk-FIOWVLJP.mjs +0 -7
  60. package/dist/chunk-FIOWVLJP.mjs.map +0 -1
  61. package/dist/chunk-IGAIIVJZ.mjs +0 -74
  62. package/dist/chunk-IGAIIVJZ.mjs.map +0 -1
  63. package/dist/chunk-MC4XEBI3.mjs +0 -1277
  64. package/dist/chunk-MC4XEBI3.mjs.map +0 -1
  65. package/dist/chunk-PVY5Z3JS.mjs +0 -249
  66. package/dist/chunk-PYHDJZX3.mjs +0 -476
  67. package/dist/chunk-PYHDJZX3.mjs.map +0 -1
  68. package/dist/chunk-THUJNRMX.mjs +0 -119
  69. package/dist/chunk-THUJNRMX.mjs.map +0 -1
  70. package/dist/chunk-WTK2IT5O.mjs +0 -250
  71. package/dist/chunk-WTK2IT5O.mjs.map +0 -1
  72. package/dist/chunk-XNMUIY72.mjs +0 -10
  73. package/dist/chunk-XNMUIY72.mjs.map +0 -1
  74. package/dist/index.css.map +0 -1
  75. package/dist/index.js.map +0 -1
  76. package/dist/index.mjs.map +0 -1
package/dist/index.js CHANGED
@@ -77,14 +77,10 @@ function OraculoButton({
77
77
  isIconOnly ? "orc-btn--iconOnly" : "",
78
78
  className
79
79
  ].filter(Boolean).join(" ");
80
- const content = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
81
- leftIcon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "orc-btn__icon", children: leftIcon }),
82
- !isIconOnly && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "orc-btn__label", children }),
83
- rightIcon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "orc-btn__icon", children: rightIcon })
84
- ] });
80
+ const content = /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, leftIcon && /* @__PURE__ */ import_react.default.createElement("span", { className: "orc-btn__icon" }, leftIcon), !isIconOnly && /* @__PURE__ */ import_react.default.createElement("span", { className: "orc-btn__label" }, children), rightIcon && /* @__PURE__ */ import_react.default.createElement("span", { className: "orc-btn__icon" }, rightIcon));
85
81
  const ariaDisabled = disabled ? true : void 0;
86
82
  if (href) {
87
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
83
+ return /* @__PURE__ */ import_react.default.createElement(
88
84
  import_material.Link,
89
85
  {
90
86
  href,
@@ -94,30 +90,30 @@ function OraculoButton({
94
90
  "aria-disabled": ariaDisabled,
95
91
  tabIndex: ariaDisabled ? -1 : void 0,
96
92
  className: cls,
97
- onClick: ariaDisabled ? (e) => e.preventDefault() : onClick,
98
- children: content
99
- }
93
+ onClick: ariaDisabled ? (e) => e.preventDefault() : onClick
94
+ },
95
+ content
100
96
  );
101
97
  }
102
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
98
+ return /* @__PURE__ */ import_react.default.createElement(
103
99
  "button",
104
100
  {
105
101
  type,
106
102
  onClick,
107
103
  disabled: !!ariaDisabled,
108
104
  "aria-label": ariaLabel,
109
- className: cls,
110
- children: content
111
- }
105
+ className: cls
106
+ },
107
+ content
112
108
  );
113
109
  }
114
- var import_material, import_jsx_runtime;
110
+ var import_react, import_material;
115
111
  var init_OraculoButton2 = __esm({
116
112
  "src/atoms/OraculoButton/OraculoButton.tsx"() {
117
113
  "use strict";
114
+ import_react = __toESM(require("react"));
118
115
  init_OraculoButton();
119
116
  import_material = require("@mui/material");
120
- import_jsx_runtime = require("react/jsx-runtime");
121
117
  }
122
118
  });
123
119
 
@@ -140,24 +136,21 @@ function OraculoSectionTitle({
140
136
  sizeClass,
141
137
  className
142
138
  ].filter(Boolean).join(" ");
143
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: wrapperClass, children: [
144
- iconUrl && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
145
- "img",
146
- {
147
- src: iconUrl,
148
- alt: "",
149
- className: "orc-section-title__icon"
150
- }
151
- ),
152
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h2", { className: "orc-section-title__title", children: title })
153
- ] });
139
+ return /* @__PURE__ */ import_react2.default.createElement("div", { className: wrapperClass }, iconUrl && /* @__PURE__ */ import_react2.default.createElement(
140
+ "img",
141
+ {
142
+ src: iconUrl,
143
+ alt: "",
144
+ className: "orc-section-title__icon"
145
+ }
146
+ ), /* @__PURE__ */ import_react2.default.createElement("h2", { className: "orc-section-title__title" }, title));
154
147
  }
155
- var import_jsx_runtime2;
148
+ var import_react2;
156
149
  var init_OraculoSectionTitle2 = __esm({
157
150
  "src/atoms/OraculoSectionTitle/OraculoSectionTitle.tsx"() {
158
151
  "use strict";
152
+ import_react2 = __toESM(require("react"));
159
153
  init_OraculoSectionTitle();
160
- import_jsx_runtime2 = require("react/jsx-runtime");
161
154
  }
162
155
  });
163
156
 
@@ -168,12 +161,12 @@ var init_OraculoCarouselDots = __esm({
168
161
  });
169
162
 
170
163
  // src/atoms/OraculoCarouselDots/OraculoCarouselDots.tsx
171
- var import_jsx_runtime3, OraculoCarouselDots, OraculoCarouselDots_default;
164
+ var import_react3, OraculoCarouselDots, OraculoCarouselDots_default;
172
165
  var init_OraculoCarouselDots2 = __esm({
173
166
  "src/atoms/OraculoCarouselDots/OraculoCarouselDots.tsx"() {
174
167
  "use strict";
168
+ import_react3 = __toESM(require("react"));
175
169
  init_OraculoCarouselDots();
176
- import_jsx_runtime3 = require("react/jsx-runtime");
177
170
  OraculoCarouselDots = ({
178
171
  total,
179
172
  active,
@@ -182,7 +175,7 @@ var init_OraculoCarouselDots2 = __esm({
182
175
  }) => {
183
176
  if (total <= 1) return null;
184
177
  const rootClass = ["orc-dots", className].filter(Boolean).join(" ");
185
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: rootClass, role: "tablist", children: Array.from({ length: total }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "orc-dots__cell", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
178
+ return /* @__PURE__ */ import_react3.default.createElement("div", { className: rootClass, role: "tablist" }, Array.from({ length: total }).map((_, i) => /* @__PURE__ */ import_react3.default.createElement("span", { key: i, className: "orc-dots__cell" }, /* @__PURE__ */ import_react3.default.createElement(
186
179
  "button",
187
180
  {
188
181
  type: "button",
@@ -192,23 +185,22 @@ var init_OraculoCarouselDots2 = __esm({
192
185
  className: "orc-dots__dot" + (i === active ? " orc-dots__dot--active" : ""),
193
186
  onClick: () => onSelect == null ? void 0 : onSelect(i)
194
187
  }
195
- ) }, i)) });
188
+ ))));
196
189
  };
197
190
  OraculoCarouselDots_default = OraculoCarouselDots;
198
191
  }
199
192
  });
200
193
 
201
194
  // src/molecules/OraculoCarousel/OraculoCarousel.tsx
202
- var import_react, import_react_splide, import_jsx_runtime4, Splide, SplideSlide, OraculoCarousel, OraculoCarousel_default;
195
+ var import_react4, import_react_splide, Splide, SplideSlide, OraculoCarousel, OraculoCarousel_default;
203
196
  var init_OraculoCarousel = __esm({
204
197
  "src/molecules/OraculoCarousel/OraculoCarousel.tsx"() {
205
198
  "use strict";
206
- import_react = require("react");
199
+ import_react4 = __toESM(require("react"));
207
200
  import_react_splide = require("@splidejs/react-splide");
208
- import_jsx_runtime4 = require("react/jsx-runtime");
209
201
  Splide = import_react_splide.Splide;
210
202
  SplideSlide = import_react_splide.SplideSlide;
211
- OraculoCarousel = (0, import_react.forwardRef)(
203
+ OraculoCarousel = (0, import_react4.forwardRef)(
212
204
  ({
213
205
  items = [],
214
206
  renderItem,
@@ -219,8 +211,8 @@ var init_OraculoCarousel = __esm({
219
211
  className = "",
220
212
  onMove
221
213
  }, ref) => {
222
- const splideRef = (0, import_react.useRef)(null);
223
- (0, import_react.useImperativeHandle)(ref, () => ({
214
+ const splideRef = (0, import_react4.useRef)(null);
215
+ (0, import_react4.useImperativeHandle)(ref, () => ({
224
216
  next: () => {
225
217
  var _a;
226
218
  return (_a = splideRef.current) == null ? void 0 : _a.go(">");
@@ -234,7 +226,7 @@ var init_OraculoCarousel = __esm({
234
226
  return (_a = splideRef.current) == null ? void 0 : _a.go(index);
235
227
  }
236
228
  }));
237
- const handleMove = (0, import_react.useCallback)(
229
+ const handleMove = (0, import_react4.useCallback)(
238
230
  (splide) => {
239
231
  const index = splide.index;
240
232
  const total = splide.length;
@@ -245,7 +237,7 @@ var init_OraculoCarousel = __esm({
245
237
  },
246
238
  [onMove]
247
239
  );
248
- const handleMounted = (0, import_react.useCallback)(
240
+ const handleMounted = (0, import_react4.useCallback)(
249
241
  (splide) => {
250
242
  handleMove(splide);
251
243
  },
@@ -265,19 +257,19 @@ var init_OraculoCarousel = __esm({
265
257
  breakpoints,
266
258
  ...options
267
259
  };
268
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className, style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
260
+ return /* @__PURE__ */ import_react4.default.createElement("div", { className, style: { width: "100%" } }, /* @__PURE__ */ import_react4.default.createElement(
269
261
  Splide,
270
262
  {
271
263
  ref: splideRef,
272
264
  options: mergedOptions,
273
265
  onMove: handleMove,
274
- onMounted: handleMounted,
275
- children: items.map((item, index) => {
276
- var _a;
277
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SplideSlide, { children: renderItem(item, index) }, (_a = item.id) != null ? _a : index);
278
- })
279
- }
280
- ) });
266
+ onMounted: handleMounted
267
+ },
268
+ items.map((item, index) => {
269
+ var _a;
270
+ return /* @__PURE__ */ import_react4.default.createElement(SplideSlide, { key: (_a = item.id) != null ? _a : index }, renderItem(item, index));
271
+ })
272
+ ));
281
273
  }
282
274
  );
283
275
  OraculoCarousel_default = OraculoCarousel;
@@ -285,13 +277,13 @@ var init_OraculoCarousel = __esm({
285
277
  });
286
278
 
287
279
  // src/molecules/OraculoGameCard/OraculoGameCard.tsx
288
- var import_Box, import_jsx_runtime5, OraculoGameCard, OraculoGameCard_default;
280
+ var import_react5, import_Box, OraculoGameCard, OraculoGameCard_default;
289
281
  var init_OraculoGameCard = __esm({
290
282
  "src/molecules/OraculoGameCard/OraculoGameCard.tsx"() {
291
283
  "use strict";
284
+ import_react5 = __toESM(require("react"));
292
285
  import_Box = __toESM(require("@mui/material/Box"));
293
286
  init_index();
294
- import_jsx_runtime5 = require("react/jsx-runtime");
295
287
  OraculoGameCard = ({
296
288
  imageUrl,
297
289
  onClick,
@@ -304,7 +296,7 @@ var init_OraculoGameCard = __esm({
304
296
  onClick == null ? void 0 : onClick();
305
297
  };
306
298
  const sizeStyles = fillParent ? { width: "100%", height: "100%" } : { width: `${dim.w}px`, height: `${dim.h}px` };
307
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
299
+ return /* @__PURE__ */ import_react5.default.createElement(
308
300
  import_Box.default,
309
301
  {
310
302
  onClick,
@@ -329,57 +321,55 @@ var init_OraculoGameCard = __esm({
329
321
  transform: "translate(-50%, -50%) scale(1)",
330
322
  pointerEvents: "auto"
331
323
  }
324
+ }
325
+ },
326
+ /* @__PURE__ */ import_react5.default.createElement(
327
+ "img",
328
+ {
329
+ src: imageUrl,
330
+ alt: "Juego de casino",
331
+ loading: "lazy",
332
+ style: {
333
+ width: "100%",
334
+ height: "100%",
335
+ objectFit: "cover",
336
+ display: "block",
337
+ borderRadius: "inherit"
338
+ }
339
+ }
340
+ ),
341
+ /* @__PURE__ */ import_react5.default.createElement(
342
+ import_Box.default,
343
+ {
344
+ className: "oraculo-game-card-overlay",
345
+ sx: {
346
+ position: "absolute",
347
+ inset: 0,
348
+ backgroundColor: "rgba(0, 0, 0, 0.45)",
349
+ opacity: 0,
350
+ transition: "opacity .15s ease",
351
+ pointerEvents: "none",
352
+ zIndex: 1
353
+ }
354
+ }
355
+ ),
356
+ /* @__PURE__ */ import_react5.default.createElement(
357
+ import_Box.default,
358
+ {
359
+ className: "oraculo-game-card-btn",
360
+ sx: {
361
+ position: "absolute",
362
+ top: "50%",
363
+ left: "50%",
364
+ zIndex: 2,
365
+ transform: "translate(-50%, -50%) scale(0.95)",
366
+ opacity: 0,
367
+ transition: "opacity .15s ease, transform .15s ease",
368
+ pointerEvents: "none"
369
+ }
332
370
  },
333
- children: [
334
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
335
- "img",
336
- {
337
- src: imageUrl,
338
- alt: "Juego de casino",
339
- loading: "lazy",
340
- style: {
341
- width: "100%",
342
- height: "100%",
343
- objectFit: "cover",
344
- display: "block",
345
- borderRadius: "inherit"
346
- }
347
- }
348
- ),
349
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
350
- import_Box.default,
351
- {
352
- className: "oraculo-game-card-overlay",
353
- sx: {
354
- position: "absolute",
355
- inset: 0,
356
- backgroundColor: "rgba(0, 0, 0, 0.45)",
357
- opacity: 0,
358
- transition: "opacity .15s ease",
359
- pointerEvents: "none",
360
- zIndex: 1
361
- }
362
- }
363
- ),
364
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
365
- import_Box.default,
366
- {
367
- className: "oraculo-game-card-btn",
368
- sx: {
369
- position: "absolute",
370
- top: "50%",
371
- left: "50%",
372
- zIndex: 2,
373
- transform: "translate(-50%, -50%) scale(0.95)",
374
- opacity: 0,
375
- transition: "opacity .15s ease, transform .15s ease",
376
- pointerEvents: "none"
377
- },
378
- children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(OraculoButton, { variant: "primary", onClick: handleButtonClick, children: "JUGAR" })
379
- }
380
- )
381
- ]
382
- }
371
+ /* @__PURE__ */ import_react5.default.createElement(OraculoButton, { variant: "primary", size: "md", onClick: handleButtonClick }, "JUGAR")
372
+ )
383
373
  );
384
374
  };
385
375
  OraculoGameCard_default = OraculoGameCard;
@@ -412,7 +402,7 @@ function OraculoGameRankCard({
412
402
  xs: Math.round(((_b = (_a = sizes.xs) == null ? void 0 : _a.font) != null ? _b : 64) * 0.28),
413
403
  md: Math.round(((_d = (_c = sizes.md) == null ? void 0 : _c.font) != null ? _d : 64) * 0.28)
414
404
  };
415
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
405
+ return /* @__PURE__ */ import_react6.default.createElement(
416
406
  import_Box2.default,
417
407
  {
418
408
  sx: {
@@ -427,75 +417,73 @@ function OraculoGameRankCard({
427
417
  boxSizing: "border-box",
428
418
  overflow: "visible",
429
419
  pb: { xs: `${hang.xs}px`, md: `${hang.md}px` }
420
+ }
421
+ },
422
+ /* @__PURE__ */ import_react6.default.createElement(
423
+ import_Box2.default,
424
+ {
425
+ sx: {
426
+ position: "absolute",
427
+ inset: 0,
428
+ borderRadius: "inherit",
429
+ overflow: "hidden"
430
+ }
430
431
  },
431
- children: [
432
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
433
- import_Box2.default,
434
- {
435
- sx: {
436
- position: "absolute",
437
- inset: 0,
438
- borderRadius: "inherit",
439
- overflow: "hidden"
440
- },
441
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
442
- OraculoGameCard_default,
443
- {
444
- imageUrl,
445
- onClick,
446
- size: "lg",
447
- fillParent: true
448
- }
449
- )
450
- }
451
- ),
452
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
453
- import_Box2.default,
454
- {
455
- component: "span",
456
- sx: {
457
- position: "absolute",
458
- left: 8,
459
- bottom: {
460
- xs: `-${hang.xs}px`,
461
- md: `-${hang.md}px`
462
- },
463
- fontFamily: "secondary",
464
- fontSize: {
465
- xs: `${F.xs}px`,
466
- md: `${F.md}px`
467
- },
468
- lineHeight: 1,
469
- color: "#3CC666",
470
- WebkitTextStroke: "1px #9ee86e",
471
- zIndex: 3,
472
- userSelect: "none"
473
- },
474
- children: orden
475
- }
476
- )
477
- ]
478
- }
432
+ /* @__PURE__ */ import_react6.default.createElement(
433
+ OraculoGameCard_default,
434
+ {
435
+ imageUrl,
436
+ onClick,
437
+ size: "lg",
438
+ fillParent: true
439
+ }
440
+ )
441
+ ),
442
+ /* @__PURE__ */ import_react6.default.createElement(
443
+ import_Box2.default,
444
+ {
445
+ component: "span",
446
+ sx: {
447
+ position: "absolute",
448
+ left: 8,
449
+ bottom: {
450
+ xs: `-${hang.xs}px`,
451
+ md: `-${hang.md}px`
452
+ },
453
+ fontFamily: "secondary",
454
+ fontSize: {
455
+ xs: `${F.xs}px`,
456
+ md: `${F.md}px`
457
+ },
458
+ lineHeight: 1,
459
+ color: "#3CC666",
460
+ WebkitTextStroke: "1px #9ee86e",
461
+ zIndex: 3,
462
+ userSelect: "none"
463
+ }
464
+ },
465
+ orden
466
+ )
479
467
  );
480
468
  }
481
- var import_Box2, import_jsx_runtime6;
469
+ var import_react6, import_Box2;
482
470
  var init_OraculoGameRankCard = __esm({
483
471
  "src/molecules/OraculoGameRankCard/OraculoGameRankCard.tsx"() {
484
472
  "use strict";
473
+ import_react6 = __toESM(require("react"));
485
474
  import_Box2 = __toESM(require("@mui/material/Box"));
486
475
  init_OraculoGameCard();
487
- import_jsx_runtime6 = require("react/jsx-runtime");
488
476
  }
489
477
  });
490
478
 
491
479
  // src/molecules/OraculoLiveCasinoCard/OraculoLiveCasinoCard.tsx
492
- var import_Box3, import_Typography, import_jsx_runtime7, OraculoLiveCasinoCard, OraculoLiveCasinoCard_default;
480
+ var import_react7, import_Box3, import_Typography, OraculoLiveCasinoCard, OraculoLiveCasinoCard_default;
493
481
  var init_OraculoLiveCasinoCard = __esm({
494
482
  "src/molecules/OraculoLiveCasinoCard/OraculoLiveCasinoCard.tsx"() {
495
483
  "use strict";
484
+ import_react7 = __toESM(require("react"));
496
485
  import_Box3 = __toESM(require("@mui/material/Box"));
497
486
  import_Typography = __toESM(require("@mui/material/Typography"));
498
- import_jsx_runtime7 = require("react/jsx-runtime");
499
487
  OraculoLiveCasinoCard = ({
500
488
  logo,
501
489
  provider,
@@ -504,7 +492,7 @@ var init_OraculoLiveCasinoCard = __esm({
504
492
  onClick
505
493
  }) => {
506
494
  var _a;
507
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
495
+ return /* @__PURE__ */ import_react7.default.createElement(
508
496
  import_Box3.default,
509
497
  {
510
498
  onClick,
@@ -526,54 +514,52 @@ var init_OraculoLiveCasinoCard = __esm({
526
514
  "&:hover .orc-live-provider-label": {
527
515
  opacity: 1
528
516
  }
517
+ }
518
+ },
519
+ /* @__PURE__ */ import_react7.default.createElement(
520
+ import_Box3.default,
521
+ {
522
+ component: "img",
523
+ src: logo,
524
+ alt: `Juego ${machine != null ? machine : ""}`,
525
+ sx: {
526
+ position: "absolute",
527
+ inset: 0,
528
+ width: "100%",
529
+ height: "100%",
530
+ objectFit: "cover",
531
+ display: "block"
532
+ }
533
+ }
534
+ ),
535
+ /* @__PURE__ */ import_react7.default.createElement(
536
+ import_Box3.default,
537
+ {
538
+ className: "orc-live-provider-label",
539
+ sx: {
540
+ position: "absolute",
541
+ left: "50%",
542
+ top: { xs: "75%", md: "80%" },
543
+ transform: "translate(-50%, -50%)",
544
+ zIndex: 3,
545
+ opacity: 0,
546
+ transition: "opacity .25s ease",
547
+ pointerEvents: "none"
548
+ }
529
549
  },
530
- children: [
531
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
532
- import_Box3.default,
533
- {
534
- component: "img",
535
- src: logo,
536
- alt: `Juego ${machine != null ? machine : ""}`,
537
- sx: {
538
- position: "absolute",
539
- inset: 0,
540
- width: "100%",
541
- height: "100%",
542
- objectFit: "cover",
543
- display: "block"
544
- }
545
- }
546
- ),
547
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
548
- import_Box3.default,
549
- {
550
- className: "orc-live-provider-label",
551
- sx: {
552
- position: "absolute",
553
- left: "50%",
554
- top: { xs: "75%", md: "80%" },
555
- transform: "translate(-50%, -50%)",
556
- zIndex: 3,
557
- opacity: 0,
558
- transition: "opacity .25s ease",
559
- pointerEvents: "none"
560
- },
561
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
562
- import_Typography.default,
563
- {
564
- sx: {
565
- color: "#fff",
566
- fontWeight: 700,
567
- fontSize: { xs: 11, md: 14 },
568
- textTransform: "capitalize"
569
- },
570
- children: (_a = provider != null ? provider : providerName) != null ? _a : ""
571
- }
572
- )
550
+ /* @__PURE__ */ import_react7.default.createElement(
551
+ import_Typography.default,
552
+ {
553
+ sx: {
554
+ color: "#fff",
555
+ fontWeight: 700,
556
+ fontSize: { xs: 11, md: 14 },
557
+ textTransform: "capitalize"
573
558
  }
574
- )
575
- ]
576
- }
559
+ },
560
+ (_a = provider != null ? provider : providerName) != null ? _a : ""
561
+ )
562
+ )
577
563
  );
578
564
  };
579
565
  OraculoLiveCasinoCard_default = OraculoLiveCasinoCard;
@@ -581,13 +567,13 @@ var init_OraculoLiveCasinoCard = __esm({
581
567
  });
582
568
 
583
569
  // src/molecules/OraculoGameSlide/OraculoGameSlide.tsx
584
- var import_Box4, import_jsx_runtime8, GAP, OraculoGameSlide, OraculoGameSlide_default;
570
+ var import_react8, import_Box4, GAP, OraculoGameSlide, OraculoGameSlide_default;
585
571
  var init_OraculoGameSlide = __esm({
586
572
  "src/molecules/OraculoGameSlide/OraculoGameSlide.tsx"() {
587
573
  "use strict";
574
+ import_react8 = __toESM(require("react"));
588
575
  import_Box4 = __toESM(require("@mui/material/Box"));
589
576
  init_OraculoGameCard();
590
- import_jsx_runtime8 = require("react/jsx-runtime");
591
577
  GAP = 12;
592
578
  OraculoGameSlide = ({
593
579
  items,
@@ -598,7 +584,7 @@ var init_OraculoGameSlide = __esm({
598
584
  if (layout === "mosaic") {
599
585
  const big = items[0];
600
586
  const smalls = items.slice(1, 5);
601
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
587
+ return /* @__PURE__ */ import_react8.default.createElement(
602
588
  import_Box4.default,
603
589
  {
604
590
  sx: {
@@ -620,58 +606,56 @@ var init_OraculoGameSlide = __esm({
620
606
  rowGap: `${GAP}px`,
621
607
  alignItems: "stretch",
622
608
  justifyItems: "stretch"
609
+ }
610
+ },
611
+ big && /* @__PURE__ */ import_react8.default.createElement(
612
+ import_Box4.default,
613
+ {
614
+ sx: {
615
+ width: { xs: 184, md: 280 },
616
+ height: { xs: 234, md: 352 },
617
+ gridRow: "1 / span 2",
618
+ overflow: "hidden",
619
+ borderRadius: 2
620
+ }
623
621
  },
624
- children: [
625
- big && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
626
- import_Box4.default,
622
+ /* @__PURE__ */ import_react8.default.createElement(
623
+ OraculoGameCard_default,
624
+ {
625
+ imageUrl: `https://olimpo.bet${(_a = big.imageUrl) != null ? _a : ""}`,
626
+ size: "lg",
627
+ fillParent: true,
628
+ onClick: () => onClick == null ? void 0 : onClick(big, 0)
629
+ }
630
+ )
631
+ ),
632
+ smalls.map((it, index) => {
633
+ var _a2;
634
+ return /* @__PURE__ */ import_react8.default.createElement(
635
+ import_Box4.default,
636
+ {
637
+ key: it.id,
638
+ sx: {
639
+ width: { xs: 104, md: 152 },
640
+ height: { xs: 112, md: 168 },
641
+ overflow: "hidden",
642
+ borderRadius: 2
643
+ }
644
+ },
645
+ /* @__PURE__ */ import_react8.default.createElement(
646
+ OraculoGameCard_default,
627
647
  {
628
- sx: {
629
- width: { xs: 184, md: 280 },
630
- height: { xs: 234, md: 352 },
631
- gridRow: "1 / span 2",
632
- overflow: "hidden",
633
- borderRadius: 2
634
- },
635
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
636
- OraculoGameCard_default,
637
- {
638
- imageUrl: `https://olimpo.bet${(_a = big.imageUrl) != null ? _a : ""}`,
639
- size: "lg",
640
- fillParent: true,
641
- onClick: () => onClick == null ? void 0 : onClick(big, 0)
642
- }
643
- )
648
+ imageUrl: `https://olimpo.bet${(_a2 = it.imageUrl) != null ? _a2 : ""}`,
649
+ size: "sm",
650
+ fillParent: true,
651
+ onClick: () => onClick == null ? void 0 : onClick(it, index + 1)
644
652
  }
645
- ),
646
- smalls.map((it, index) => {
647
- var _a2;
648
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
649
- import_Box4.default,
650
- {
651
- sx: {
652
- width: { xs: 104, md: 152 },
653
- height: { xs: 112, md: 168 },
654
- overflow: "hidden",
655
- borderRadius: 2
656
- },
657
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
658
- OraculoGameCard_default,
659
- {
660
- imageUrl: `https://olimpo.bet${(_a2 = it.imageUrl) != null ? _a2 : ""}`,
661
- size: "sm",
662
- fillParent: true,
663
- onClick: () => onClick == null ? void 0 : onClick(it, index + 1)
664
- }
665
- )
666
- },
667
- it.id
668
- );
669
- })
670
- ]
671
- }
653
+ )
654
+ );
655
+ })
672
656
  );
673
657
  }
674
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
658
+ return /* @__PURE__ */ import_react8.default.createElement(
675
659
  import_Box4.default,
676
660
  {
677
661
  sx: {
@@ -686,30 +670,30 @@ var init_OraculoGameSlide = __esm({
686
670
  },
687
671
  gap: `${GAP}px`,
688
672
  gridAutoFlow: "column"
689
- },
690
- children: items.map((it, index) => {
691
- var _a2, _b;
692
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
693
- import_Box4.default,
673
+ }
674
+ },
675
+ items.map((it, index) => {
676
+ var _a2, _b;
677
+ return /* @__PURE__ */ import_react8.default.createElement(
678
+ import_Box4.default,
679
+ {
680
+ key: (_a2 = it.id) != null ? _a2 : index,
681
+ sx: {
682
+ overflow: "hidden",
683
+ borderRadius: 2
684
+ }
685
+ },
686
+ /* @__PURE__ */ import_react8.default.createElement(
687
+ OraculoGameCard_default,
694
688
  {
695
- sx: {
696
- overflow: "hidden",
697
- borderRadius: 2
698
- },
699
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
700
- OraculoGameCard_default,
701
- {
702
- imageUrl: `https://olimpo.bet${(_b = it.imageUrl) != null ? _b : ""}`,
703
- size: "sm",
704
- fillParent: true,
705
- onClick: () => onClick == null ? void 0 : onClick(it, index)
706
- }
707
- )
708
- },
709
- (_a2 = it.id) != null ? _a2 : index
710
- );
711
- })
712
- }
689
+ imageUrl: `https://olimpo.bet${(_b = it.imageUrl) != null ? _b : ""}`,
690
+ size: "sm",
691
+ fillParent: true,
692
+ onClick: () => onClick == null ? void 0 : onClick(it, index)
693
+ }
694
+ )
695
+ );
696
+ })
713
697
  );
714
698
  };
715
699
  OraculoGameSlide_default = OraculoGameSlide;
@@ -717,14 +701,14 @@ var init_OraculoGameSlide = __esm({
717
701
  });
718
702
 
719
703
  // src/molecules/OraculoWelcomeBanner/OraculoWelcomeBanner.tsx
720
- var import_Box5, import_Typography2, import_jsx_runtime9, OraculoWelcomeBanner, OraculoWelcomeBanner_default;
704
+ var import_react9, import_Box5, import_Typography2, OraculoWelcomeBanner, OraculoWelcomeBanner_default;
721
705
  var init_OraculoWelcomeBanner = __esm({
722
706
  "src/molecules/OraculoWelcomeBanner/OraculoWelcomeBanner.tsx"() {
723
707
  "use strict";
708
+ import_react9 = __toESM(require("react"));
724
709
  import_Box5 = __toESM(require("@mui/material/Box"));
725
710
  import_Typography2 = __toESM(require("@mui/material/Typography"));
726
711
  init_OraculoButton2();
727
- import_jsx_runtime9 = require("react/jsx-runtime");
728
712
  OraculoWelcomeBanner = ({
729
713
  title,
730
714
  amount,
@@ -739,7 +723,7 @@ var init_OraculoWelcomeBanner = __esm({
739
723
  const symbol = amount ? amount.slice(0, 2) : "";
740
724
  const value = amount ? amount.slice(2) : "";
741
725
  const isLarge = variant === "large";
742
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
726
+ return /* @__PURE__ */ import_react9.default.createElement(
743
727
  import_Box5.default,
744
728
  {
745
729
  className,
@@ -751,133 +735,127 @@ var init_OraculoWelcomeBanner = __esm({
751
735
  lg: isLarge ? 618 : 456
752
736
  },
753
737
  mx: "auto"
738
+ }
739
+ },
740
+ backgroundImage && /* @__PURE__ */ import_react9.default.createElement(
741
+ import_Box5.default,
742
+ {
743
+ sx: {
744
+ position: "relative",
745
+ width: "100%",
746
+ aspectRatio: {
747
+ xs: "328 / 188",
748
+ lg: isLarge ? "618 / 346" : "456 / 272"
749
+ },
750
+ borderRadius: "14px",
751
+ overflow: "hidden"
752
+ }
754
753
  },
755
- children: [
756
- backgroundImage && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
757
- import_Box5.default,
758
- {
759
- sx: {
760
- position: "relative",
761
- width: "100%",
762
- aspectRatio: {
763
- xs: "328 / 188",
764
- lg: isLarge ? "618 / 346" : "456 / 272"
765
- },
766
- borderRadius: "14px",
767
- overflow: "hidden"
754
+ /* @__PURE__ */ import_react9.default.createElement(
755
+ import_Box5.default,
756
+ {
757
+ component: "img",
758
+ src: backgroundImage,
759
+ alt: alt != null ? alt : "Fondo promocional",
760
+ sx: {
761
+ width: "100%",
762
+ height: "100%",
763
+ objectFit: "cover",
764
+ objectPosition: {
765
+ xs: "50% 0%",
766
+ lg: "45% 0%"
768
767
  },
769
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
770
- import_Box5.default,
771
- {
772
- component: "img",
773
- src: backgroundImage,
774
- alt: alt != null ? alt : "Fondo promocional",
775
- sx: {
776
- width: "100%",
777
- height: "100%",
778
- objectFit: "cover",
779
- objectPosition: {
780
- xs: "50% 0%",
781
- lg: "45% 0%"
782
- },
783
- display: "block"
784
- }
785
- }
786
- )
768
+ display: "block"
787
769
  }
770
+ }
771
+ )
772
+ ),
773
+ /* @__PURE__ */ import_react9.default.createElement(
774
+ import_Box5.default,
775
+ {
776
+ sx: {
777
+ position: "absolute",
778
+ inset: 0,
779
+ display: "flex",
780
+ alignItems: "center",
781
+ justifyContent: "flex-end",
782
+ color: "#e7f8ff",
783
+ textAlign: "center",
784
+ pl: "14%",
785
+ pr: { xs: "14%", lg: "15%" }
786
+ }
787
+ },
788
+ /* @__PURE__ */ import_react9.default.createElement(
789
+ import_Box5.default,
790
+ {
791
+ sx: {
792
+ maxWidth: "60%",
793
+ display: "flex",
794
+ flexDirection: "column",
795
+ alignItems: "center"
796
+ }
797
+ },
798
+ title && /* @__PURE__ */ import_react9.default.createElement(
799
+ import_Typography2.default,
800
+ {
801
+ sx: {
802
+ fontSize: { xs: 12, lg: 20 },
803
+ fontWeight: 400,
804
+ color: "#e7f8ff"
805
+ }
806
+ },
807
+ title
788
808
  ),
789
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
809
+ amount && /* @__PURE__ */ import_react9.default.createElement(
790
810
  import_Box5.default,
791
811
  {
812
+ component: "p",
792
813
  sx: {
793
- position: "absolute",
794
- inset: 0,
814
+ fontFamily: '"secondary", sans-serif',
815
+ lineHeight: { xs: 0.9, lg: 0.87 },
816
+ m: "4px 0",
817
+ background: "linear-gradient(175deg, #EDC421 -12.56%, #FFFABF 17.99%, #EDC421 49.74%)",
818
+ WebkitBackgroundClip: "text",
819
+ WebkitTextFillColor: "transparent",
820
+ WebkitTextStroke: "0.5px #fff8c1",
821
+ filter: "drop-shadow(0px 4px 0px #8D4406) drop-shadow(0px 4px 4px rgba(28, 28, 28, 0.4))",
795
822
  display: "flex",
796
- alignItems: "center",
797
- justifyContent: "flex-end",
798
- color: "#e7f8ff",
799
- textAlign: "center",
800
- pl: "14%",
801
- pr: { xs: "14%", lg: "15%" }
823
+ alignItems: "baseline",
824
+ justifyContent: "center"
825
+ }
826
+ },
827
+ /* @__PURE__ */ import_react9.default.createElement(
828
+ import_Box5.default,
829
+ {
830
+ component: "span",
831
+ sx: { fontSize: { xs: 35, lg: 48 }, mr: 0.5 }
802
832
  },
803
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
804
- import_Box5.default,
805
- {
806
- sx: {
807
- maxWidth: "60%",
808
- display: "flex",
809
- flexDirection: "column",
810
- alignItems: "center"
811
- },
812
- children: [
813
- title && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
814
- import_Typography2.default,
815
- {
816
- sx: {
817
- fontSize: { xs: 12, lg: 20 },
818
- fontWeight: 400,
819
- color: "#e7f8ff"
820
- },
821
- children: title
822
- }
823
- ),
824
- amount && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
825
- import_Box5.default,
826
- {
827
- component: "p",
828
- sx: {
829
- fontFamily: '"secondary", sans-serif',
830
- lineHeight: { xs: 0.9, lg: 0.87 },
831
- m: "4px 0",
832
- background: "linear-gradient(175deg, #EDC421 -12.56%, #FFFABF 17.99%, #EDC421 49.74%)",
833
- WebkitBackgroundClip: "text",
834
- WebkitTextFillColor: "transparent",
835
- WebkitTextStroke: "0.5px #fff8c1",
836
- filter: "drop-shadow(0px 4px 0px #8D4406) drop-shadow(0px 4px 4px rgba(28, 28, 28, 0.4))",
837
- display: "flex",
838
- alignItems: "baseline",
839
- justifyContent: "center"
840
- },
841
- children: [
842
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
843
- import_Box5.default,
844
- {
845
- component: "span",
846
- sx: { fontSize: { xs: 35, lg: 48 }, mr: 0.5 },
847
- children: symbol
848
- }
849
- ),
850
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
851
- import_Box5.default,
852
- {
853
- component: "span",
854
- sx: { fontSize: { xs: 52, lg: 77 } },
855
- children: value
856
- }
857
- )
858
- ]
859
- }
860
- ),
861
- subtitle && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
862
- import_Typography2.default,
863
- {
864
- sx: {
865
- pb: "20px",
866
- fontSize: 14,
867
- fontWeight: 600,
868
- color: "#e7f8ff"
869
- },
870
- children: subtitle
871
- }
872
- ),
873
- buttonText && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(OraculoButton, { onClick: onButtonClick, children: buttonText })
874
- ]
875
- }
876
- )
877
- }
878
- )
879
- ]
880
- }
833
+ symbol
834
+ ),
835
+ /* @__PURE__ */ import_react9.default.createElement(
836
+ import_Box5.default,
837
+ {
838
+ component: "span",
839
+ sx: { fontSize: { xs: 52, lg: 77 } }
840
+ },
841
+ value
842
+ )
843
+ ),
844
+ subtitle && /* @__PURE__ */ import_react9.default.createElement(
845
+ import_Typography2.default,
846
+ {
847
+ sx: {
848
+ pb: "20px",
849
+ fontSize: 14,
850
+ fontWeight: 600,
851
+ color: "#e7f8ff"
852
+ }
853
+ },
854
+ subtitle
855
+ ),
856
+ buttonText && /* @__PURE__ */ import_react9.default.createElement(OraculoButton, { onClick: onButtonClick }, buttonText)
857
+ )
858
+ )
881
859
  );
882
860
  };
883
861
  OraculoWelcomeBanner_default = OraculoWelcomeBanner;
@@ -892,13 +870,13 @@ var require_OraculoSeccionClubOlimpo = __commonJS({
892
870
  });
893
871
 
894
872
  // src/molecules/OraculoClubOlimpoVisual/OraculoClubOlimpoVisual.tsx
895
- var import_OraculoSeccionClubOlimpo, import_jsx_runtime10, OraculoClubOlimpoVisual, OraculoClubOlimpoVisual_default;
873
+ var import_react10, import_OraculoSeccionClubOlimpo, OraculoClubOlimpoVisual, OraculoClubOlimpoVisual_default;
896
874
  var init_OraculoClubOlimpoVisual = __esm({
897
875
  "src/molecules/OraculoClubOlimpoVisual/OraculoClubOlimpoVisual.tsx"() {
898
876
  "use strict";
877
+ import_react10 = __toESM(require("react"));
899
878
  import_OraculoSeccionClubOlimpo = __toESM(require_OraculoSeccionClubOlimpo());
900
879
  init_OraculoButton2();
901
- import_jsx_runtime10 = require("react/jsx-runtime");
902
880
  OraculoClubOlimpoVisual = ({
903
881
  text,
904
882
  buttonLabel = "Conoce m\xE1s",
@@ -908,42 +886,28 @@ var init_OraculoClubOlimpoVisual = __esm({
908
886
  imgSrcDesktopBg,
909
887
  imgSrcDesktopLogo
910
888
  }) => {
911
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
912
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
913
- "img",
914
- {
915
- src: imgSrcMobile,
916
- alt: imgAlt,
917
- className: "orc-co-bgMobileImg"
918
- }
919
- ) }),
920
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "orc-co-bgDesktop", children: [
921
- imgSrcDesktopBg && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
922
- "img",
923
- {
924
- src: imgSrcDesktopBg,
925
- alt: `${imgAlt} fondo`,
926
- className: "orc-co-bgDesktopImg"
927
- }
928
- ) }),
929
- imgSrcDesktopLogo && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "orc-co-logo", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
930
- "img",
931
- {
932
- src: imgSrcDesktopLogo,
933
- alt: `${imgAlt} logo`,
934
- className: "orc-co-logoImg"
935
- }
936
- ) }),
937
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "orc-co-desktopContent", children: [
938
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "orc-co-captionDesktop", children: text }),
939
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OraculoButton, { onClick, variant: "primary", size: "md", children: buttonLabel })
940
- ] })
941
- ] }),
942
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "orc-co-bottom", children: [
943
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "orc-co-caption", children: text }),
944
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OraculoButton, { onClick, variant: "primary", size: "md", children: buttonLabel })
945
- ] })
946
- ] });
889
+ return /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, /* @__PURE__ */ import_react10.default.createElement("div", { className: "orc-co-bgMobile" }, /* @__PURE__ */ import_react10.default.createElement(
890
+ "img",
891
+ {
892
+ src: imgSrcMobile,
893
+ alt: imgAlt,
894
+ className: "orc-co-bgMobileImg"
895
+ }
896
+ )), /* @__PURE__ */ import_react10.default.createElement("div", { className: "orc-co-bgDesktop" }, imgSrcDesktopBg && /* @__PURE__ */ import_react10.default.createElement("div", { className: "orc-co-fillHost" }, /* @__PURE__ */ import_react10.default.createElement(
897
+ "img",
898
+ {
899
+ src: imgSrcDesktopBg,
900
+ alt: `${imgAlt} fondo`,
901
+ className: "orc-co-bgDesktopImg"
902
+ }
903
+ )), imgSrcDesktopLogo && /* @__PURE__ */ import_react10.default.createElement("div", { className: "orc-co-logo" }, /* @__PURE__ */ import_react10.default.createElement(
904
+ "img",
905
+ {
906
+ src: imgSrcDesktopLogo,
907
+ alt: `${imgAlt} logo`,
908
+ className: "orc-co-logoImg"
909
+ }
910
+ )), /* @__PURE__ */ import_react10.default.createElement("div", { className: "orc-co-desktopContent" }, /* @__PURE__ */ import_react10.default.createElement("p", { className: "orc-co-captionDesktop" }, text), /* @__PURE__ */ import_react10.default.createElement(OraculoButton, { onClick, variant: "primary", size: "md" }, buttonLabel))), /* @__PURE__ */ import_react10.default.createElement("div", { className: "orc-co-bottom" }, /* @__PURE__ */ import_react10.default.createElement("p", { className: "orc-co-caption" }, text), /* @__PURE__ */ import_react10.default.createElement(OraculoButton, { onClick, variant: "primary", size: "md" }, buttonLabel)));
947
911
  };
948
912
  OraculoClubOlimpoVisual_default = OraculoClubOlimpoVisual;
949
913
  }
@@ -960,28 +924,28 @@ var init_createSvgIcon = __esm({
960
924
  });
961
925
 
962
926
  // ../node_modules/@mui/icons-material/esm/ChevronLeftRounded.js
963
- var import_jsx_runtime11, ChevronLeftRounded_default;
927
+ var import_jsx_runtime, ChevronLeftRounded_default;
964
928
  var init_ChevronLeftRounded = __esm({
965
929
  "../node_modules/@mui/icons-material/esm/ChevronLeftRounded.js"() {
966
930
  "use strict";
967
931
  "use client";
968
932
  init_createSvgIcon();
969
- import_jsx_runtime11 = require("react/jsx-runtime");
970
- ChevronLeftRounded_default = (0, import_utils.createSvgIcon)(/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", {
933
+ import_jsx_runtime = require("react/jsx-runtime");
934
+ ChevronLeftRounded_default = (0, import_utils.createSvgIcon)(/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
971
935
  d: "M14.71 6.71a.996.996 0 0 0-1.41 0L8.71 11.3c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L10.83 12l3.88-3.88c.39-.39.38-1.03 0-1.41"
972
936
  }), "ChevronLeftRounded");
973
937
  }
974
938
  });
975
939
 
976
940
  // ../node_modules/@mui/icons-material/esm/ChevronRightRounded.js
977
- var import_jsx_runtime12, ChevronRightRounded_default;
941
+ var import_jsx_runtime2, ChevronRightRounded_default;
978
942
  var init_ChevronRightRounded = __esm({
979
943
  "../node_modules/@mui/icons-material/esm/ChevronRightRounded.js"() {
980
944
  "use strict";
981
945
  "use client";
982
946
  init_createSvgIcon();
983
- import_jsx_runtime12 = require("react/jsx-runtime");
984
- ChevronRightRounded_default = (0, import_utils.createSvgIcon)(/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", {
947
+ import_jsx_runtime2 = require("react/jsx-runtime");
948
+ ChevronRightRounded_default = (0, import_utils.createSvgIcon)(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", {
985
949
  d: "M9.29 6.71c-.39.39-.39 1.02 0 1.41L13.17 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01"
986
950
  }), "ChevronRightRounded");
987
951
  }
@@ -1008,8 +972,8 @@ function OraculoSeccionDestacados({
1008
972
  onViewMore,
1009
973
  className = ""
1010
974
  }) {
1011
- const carouselRef = (0, import_react2.useRef)(null);
1012
- const [navState, setNavState] = (0, import_react2.useState)({ isStart: true, isEnd: false });
975
+ const carouselRef = (0, import_react11.useRef)(null);
976
+ const [navState, setNavState] = (0, import_react11.useState)({ isStart: true, isEnd: false });
1013
977
  const handlePrev = () => {
1014
978
  var _a;
1015
979
  (_a = carouselRef.current) == null ? void 0 : _a.prev();
@@ -1023,98 +987,90 @@ function OraculoSeccionDestacados({
1023
987
  onViewMore == null ? void 0 : onViewMore();
1024
988
  };
1025
989
  const sectionClassName = className || void 0;
1026
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { className: sectionClassName, style: { width: "100%" }, children: [
1027
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1028
- "header",
1029
- {
1030
- style: {
1031
- display: "grid",
1032
- gridTemplateColumns: "1fr auto auto",
1033
- alignItems: "center",
1034
- columnGap: 12,
1035
- rowGap: 8,
1036
- marginBottom: 16
1037
- },
1038
- children: [
1039
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(OraculoSectionTitle, { title, iconUrl, size: "md" }),
1040
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { style: { display: "flex", gap: 8 }, children: [
1041
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1042
- OraculoButton,
1043
- {
1044
- ariaLabel: "Anterior",
1045
- variant: "secondary",
1046
- iconOnly: true,
1047
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ChevronLeftRounded_default, {}),
1048
- onClick: handlePrev,
1049
- disabled: navState.isStart
1050
- }
1051
- ),
1052
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1053
- OraculoButton,
1054
- {
1055
- ariaLabel: "Siguiente",
1056
- variant: "secondary",
1057
- iconOnly: true,
1058
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ChevronRightRounded_default, {}),
1059
- onClick: handleNext,
1060
- disabled: navState.isEnd
1061
- }
1062
- )
1063
- ] }),
1064
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" })
1065
- ]
990
+ return /* @__PURE__ */ import_react12.default.createElement("section", { className: sectionClassName, style: { width: "100%" } }, /* @__PURE__ */ import_react12.default.createElement(
991
+ "header",
992
+ {
993
+ style: {
994
+ display: "grid",
995
+ gridTemplateColumns: "1fr auto auto",
996
+ alignItems: "center",
997
+ columnGap: 12,
998
+ rowGap: 8,
999
+ marginBottom: 16
1066
1000
  }
1067
- ),
1068
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1069
- OraculoCarousel_default,
1001
+ },
1002
+ /* @__PURE__ */ import_react12.default.createElement(OraculoSectionTitle, { title, iconUrl, size: "md" }),
1003
+ /* @__PURE__ */ import_react12.default.createElement("div", { style: { display: "flex", gap: 8 } }, /* @__PURE__ */ import_react12.default.createElement(
1004
+ OraculoButton,
1070
1005
  {
1071
- ref: carouselRef,
1072
- items,
1073
- perPage: 3.395,
1074
- gap: "16px",
1075
- options: { autoWidth: false },
1076
- breakpoints: {
1077
- 768: { perPage: 1.15, focus: "start" },
1078
- 1024: { perPage: 2.5, focus: "start" }
1006
+ ariaLabel: "Anterior",
1007
+ variant: "secondary",
1008
+ iconOnly: true,
1009
+ leftIcon: /* @__PURE__ */ import_react12.default.createElement(ChevronLeftRounded_default, null),
1010
+ onClick: handlePrev,
1011
+ disabled: navState.isStart
1012
+ }
1013
+ ), /* @__PURE__ */ import_react12.default.createElement(
1014
+ OraculoButton,
1015
+ {
1016
+ ariaLabel: "Siguiente",
1017
+ variant: "secondary",
1018
+ iconOnly: true,
1019
+ rightIcon: /* @__PURE__ */ import_react12.default.createElement(ChevronRightRounded_default, null),
1020
+ onClick: handleNext,
1021
+ disabled: navState.isEnd
1022
+ }
1023
+ )),
1024
+ /* @__PURE__ */ import_react12.default.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s")
1025
+ ), /* @__PURE__ */ import_react12.default.createElement(
1026
+ OraculoCarousel_default,
1027
+ {
1028
+ ref: carouselRef,
1029
+ items,
1030
+ perPage: 3.395,
1031
+ gap: "16px",
1032
+ options: { autoWidth: false },
1033
+ breakpoints: {
1034
+ 768: { perPage: 1.15, focus: "start" },
1035
+ 1024: { perPage: 2.5, focus: "start" }
1036
+ },
1037
+ renderItem: (item) => /* @__PURE__ */ import_react12.default.createElement(
1038
+ "div",
1039
+ {
1040
+ key: `${item.title}-${item.image}`,
1041
+ style: {
1042
+ textAlign: "center",
1043
+ marginTop: 16
1044
+ }
1079
1045
  },
1080
- renderItem: (item) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1081
- "div",
1046
+ /* @__PURE__ */ import_react12.default.createElement(
1047
+ "img",
1082
1048
  {
1049
+ src: `https://olimpo.bet${item.image !== "" ? item.image : item.summary_image}`,
1050
+ alt: item.title,
1083
1051
  style: {
1084
- textAlign: "center",
1085
- marginTop: 16
1086
- },
1087
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1088
- "img",
1089
- {
1090
- src: `https://olimpo.bet${item.image !== "" ? item.image : item.summary_image}`,
1091
- alt: item.title,
1092
- style: {
1093
- width: "100%",
1094
- // minHeight: "150px",
1095
- // maxHeight: "150px",
1096
- height: "150px",
1097
- borderRadius: 8,
1098
- display: "block"
1099
- }
1100
- }
1101
- )
1102
- },
1103
- `${item.title}-${item.image}`
1104
- ),
1105
- onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
1106
- }
1107
- )
1108
- ] });
1052
+ width: "100%",
1053
+ // minHeight: "150px",
1054
+ // maxHeight: "150px",
1055
+ height: "150px",
1056
+ borderRadius: 8,
1057
+ display: "block"
1058
+ }
1059
+ }
1060
+ )
1061
+ ),
1062
+ onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
1063
+ }
1064
+ ));
1109
1065
  }
1110
- var import_react2, import_jsx_runtime13;
1066
+ var import_react11, import_react12;
1111
1067
  var init_OraculoSeccionDestacados = __esm({
1112
1068
  "src/organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx"() {
1113
1069
  "use strict";
1114
- import_react2 = require("react");
1070
+ import_react11 = require("react");
1115
1071
  init_esm();
1116
1072
  init_index();
1117
- import_jsx_runtime13 = require("react/jsx-runtime");
1073
+ import_react12 = __toESM(require("react"));
1118
1074
  }
1119
1075
  });
1120
1076
 
@@ -1129,7 +1085,7 @@ function OraculoSeccionTopJuegos({
1129
1085
  iconUrl,
1130
1086
  onCardClick
1131
1087
  }) {
1132
- const normalizedItems = (0, import_react3.useMemo)(
1088
+ const normalizedItems = (0, import_react13.useMemo)(
1133
1089
  () => items.map((item, index) => {
1134
1090
  var _a;
1135
1091
  return {
@@ -1144,47 +1100,43 @@ function OraculoSeccionTopJuegos({
1144
1100
  }),
1145
1101
  [items]
1146
1102
  );
1147
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("section", { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_Stack.default, { direction: "column", spacing: 2, useFlexGap: true, children: [
1148
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(OraculoSectionTitle, { title, iconUrl, size: "md" }),
1149
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1150
- import_Box6.default,
1151
- {
1152
- sx: {
1153
- display: "grid",
1154
- gridTemplateColumns: {
1155
- xs: "repeat(3, minmax(0, 1fr))",
1156
- md: "repeat(6, minmax(0, 1fr))"
1157
- },
1158
- gap: { xs: 1.5, md: 2 },
1159
- justifyItems: "center",
1160
- width: "100%"
1103
+ return /* @__PURE__ */ import_react13.default.createElement("section", { style: { width: "100%" } }, /* @__PURE__ */ import_react13.default.createElement(import_Stack.default, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ import_react13.default.createElement(OraculoSectionTitle, { title, iconUrl, size: "md" }), /* @__PURE__ */ import_react13.default.createElement(
1104
+ import_Box6.default,
1105
+ {
1106
+ sx: {
1107
+ display: "grid",
1108
+ gridTemplateColumns: {
1109
+ xs: "repeat(3, minmax(0, 1fr))",
1110
+ md: "repeat(6, minmax(0, 1fr))"
1161
1111
  },
1162
- children: normalizedItems.slice(0, 6).map((juego) => {
1163
- var _a;
1164
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1165
- OraculoGameRankCard,
1166
- {
1167
- imageUrl: `https://olimpo.bet${(_a = juego.logo) != null ? _a : ""}`,
1168
- orden: juego.orden,
1169
- onClick: () => onCardClick == null ? void 0 : onCardClick(juego)
1170
- },
1171
- juego.machine
1172
- );
1173
- })
1112
+ gap: { xs: 1.5, md: 2 },
1113
+ justifyItems: "center",
1114
+ width: "100%"
1174
1115
  }
1175
- )
1176
- ] }) });
1116
+ },
1117
+ normalizedItems.slice(0, 6).map((juego) => {
1118
+ var _a;
1119
+ return /* @__PURE__ */ import_react13.default.createElement(
1120
+ OraculoGameRankCard,
1121
+ {
1122
+ key: juego.machine,
1123
+ imageUrl: `https://olimpo.bet${(_a = juego.logo) != null ? _a : ""}`,
1124
+ orden: juego.orden,
1125
+ onClick: () => onCardClick == null ? void 0 : onCardClick(juego)
1126
+ }
1127
+ );
1128
+ })
1129
+ )));
1177
1130
  }
1178
- var import_react3, import_Stack, import_Box6, import_jsx_runtime14;
1131
+ var import_react13, import_Stack, import_Box6;
1179
1132
  var init_OraculoSeccionTopJuegos = __esm({
1180
1133
  "src/organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx"() {
1181
1134
  "use strict";
1182
- import_react3 = require("react");
1135
+ import_react13 = __toESM(require("react"));
1183
1136
  import_Stack = __toESM(require("@mui/material/Stack"));
1184
1137
  import_Box6 = __toESM(require("@mui/material/Box"));
1185
1138
  init_OraculoSectionTitle2();
1186
1139
  init_OraculoGameRankCard();
1187
- import_jsx_runtime14 = require("react/jsx-runtime");
1188
1140
  }
1189
1141
  });
1190
1142
 
@@ -1193,16 +1145,16 @@ var OraculoSeccionCasinoEnVivo_exports = {};
1193
1145
  __export(OraculoSeccionCasinoEnVivo_exports, {
1194
1146
  default: () => OraculoSeccionCasinoEnVivo_default
1195
1147
  });
1196
- var import_Box7, import_Stack2, import_Typography3, import_jsx_runtime15, OraculoSeccionCasinoEnVivo, OraculoSeccionCasinoEnVivo_default;
1148
+ var import_react14, import_Box7, import_Stack2, import_Typography3, OraculoSeccionCasinoEnVivo, OraculoSeccionCasinoEnVivo_default;
1197
1149
  var init_OraculoSeccionCasinoEnVivo = __esm({
1198
1150
  "src/organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx"() {
1199
1151
  "use strict";
1152
+ import_react14 = __toESM(require("react"));
1200
1153
  import_Box7 = __toESM(require("@mui/material/Box"));
1201
1154
  import_Stack2 = __toESM(require("@mui/material/Stack"));
1202
1155
  import_Typography3 = __toESM(require("@mui/material/Typography"));
1203
1156
  init_OraculoButton2();
1204
1157
  init_OraculoLiveCasinoCard();
1205
- import_jsx_runtime15 = require("react/jsx-runtime");
1206
1158
  OraculoSeccionCasinoEnVivo = ({
1207
1159
  items,
1208
1160
  title = "Casino en vivo",
@@ -1213,7 +1165,7 @@ var init_OraculoSeccionCasinoEnVivo = __esm({
1213
1165
  onViewMore,
1214
1166
  className
1215
1167
  }) => {
1216
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1168
+ return /* @__PURE__ */ import_react14.default.createElement(
1217
1169
  import_Box7.default,
1218
1170
  {
1219
1171
  className,
@@ -1225,128 +1177,120 @@ var init_OraculoSeccionCasinoEnVivo = __esm({
1225
1177
  transform: "translateX(-50%)",
1226
1178
  color: "white",
1227
1179
  overflow: "hidden"
1228
- },
1229
- children: [
1230
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1231
- import_Box7.default,
1232
- {
1233
- sx: {
1234
- position: "absolute",
1235
- inset: 0,
1236
- backgroundImage: {
1237
- xs: `
1180
+ }
1181
+ },
1182
+ /* @__PURE__ */ import_react14.default.createElement(
1183
+ import_Box7.default,
1184
+ {
1185
+ sx: {
1186
+ position: "absolute",
1187
+ inset: 0,
1188
+ backgroundImage: {
1189
+ xs: `
1238
1190
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
1239
1191
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
1240
1192
  url('${backgroundMobileUrl}')
1241
1193
  `,
1242
- md: `
1194
+ md: `
1243
1195
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
1244
1196
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
1245
1197
  url('${backgroundDesktopUrl}')
1246
1198
  `
1247
- },
1248
- backgroundSize: "cover",
1249
- backgroundPosition: "center",
1250
- backgroundRepeat: "no-repeat",
1251
- zIndex: 0
1252
- }
1199
+ },
1200
+ backgroundSize: "cover",
1201
+ backgroundPosition: "center",
1202
+ backgroundRepeat: "no-repeat",
1203
+ zIndex: 0
1204
+ }
1205
+ }
1206
+ ),
1207
+ /* @__PURE__ */ import_react14.default.createElement(
1208
+ import_Box7.default,
1209
+ {
1210
+ sx: {
1211
+ position: "relative",
1212
+ zIndex: 1,
1213
+ maxWidth: 1200,
1214
+ height: { xs: "450px", md: "550px" },
1215
+ mx: "auto",
1216
+ px: { xs: 2.5, md: 6 },
1217
+ display: "flex",
1218
+ flexDirection: { xs: "column", md: "row" },
1219
+ alignItems: { xs: "center", md: "center" },
1220
+ justifyContent: "center",
1221
+ gap: { xs: 0, md: 15 },
1222
+ textAlign: { xs: "center", md: "left" }
1223
+ }
1224
+ },
1225
+ /* @__PURE__ */ import_react14.default.createElement(import_Stack2.default, { spacing: 3, sx: { maxWidth: { md: 280 } } }, /* @__PURE__ */ import_react14.default.createElement(
1226
+ import_Typography3.default,
1227
+ {
1228
+ variant: "h4",
1229
+ sx: {
1230
+ fontWeight: 800,
1231
+ fontSize: { xs: 24, md: 40 },
1232
+ WebkitTextStroke: "0.5px rgba(255, 255, 255, .5)",
1233
+ textShadow: "0 0 2px rgba(255, 255, 255, .95),0 0 4px rgba(255, 255, 255, .6),0 1px 0 #898989"
1253
1234
  }
1254
- ),
1255
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1256
- import_Box7.default,
1257
- {
1258
- sx: {
1259
- position: "relative",
1260
- zIndex: 1,
1261
- maxWidth: 1200,
1262
- height: { xs: "450px", md: "550px" },
1263
- mx: "auto",
1264
- px: { xs: 2.5, md: 6 },
1265
- display: "flex",
1266
- flexDirection: { xs: "column", md: "row" },
1267
- alignItems: { xs: "center", md: "center" },
1268
- justifyContent: "center",
1269
- gap: { xs: 0, md: 15 },
1270
- textAlign: { xs: "center", md: "left" }
1271
- },
1272
- children: [
1273
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_Stack2.default, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1274
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1275
- import_Typography3.default,
1276
- {
1277
- variant: "h4",
1278
- sx: {
1279
- fontWeight: 800,
1280
- fontSize: { xs: 24, md: 40 },
1281
- WebkitTextStroke: "0.5px rgba(255, 255, 255, .5)",
1282
- textShadow: "0 0 2px rgba(255, 255, 255, .95),0 0 4px rgba(255, 255, 255, .6),0 1px 0 #898989"
1283
- },
1284
- children: title
1285
- }
1286
- ),
1287
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1288
- import_Typography3.default,
1289
- {
1290
- sx: {
1291
- fontSize: { xs: 14, md: 18 },
1292
- color: "rgba(255,255,255,0.9)",
1293
- marginX: { xs: 4, md: 0 },
1294
- lineHeight: 1.5
1295
- },
1296
- children: subtitle
1297
- }
1298
- ),
1299
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Box7.default, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1300
- OraculoButton,
1301
- {
1302
- variant: "primary",
1303
- size: "md",
1304
- onClick: () => onViewMore == null ? void 0 : onViewMore(),
1305
- children: "Ver m\xE1s"
1306
- }
1307
- ) })
1308
- ] }),
1309
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1310
- import_Box7.default,
1311
- {
1312
- sx: {
1313
- display: "flex",
1314
- gap: { xs: 2, md: 3 },
1315
- justifyContent: "center",
1316
- overflowX: { xs: "auto", md: "visible" },
1317
- py: { xs: 3, md: 0 },
1318
- alignItems: "center"
1319
- },
1320
- children: (items != null ? items : []).slice(0, 3).map((juego, idx) => {
1321
- var _a, _b;
1322
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1323
- OraculoLiveCasinoCard_default,
1324
- {
1325
- logo: `https://olimpo.bet${(_b = juego.logo) != null ? _b : ""}`,
1326
- provider: juego.provider,
1327
- providerName: juego.web_name,
1328
- machine: juego.machine,
1329
- onClick: () => onCardClick == null ? void 0 : onCardClick(juego, idx)
1330
- },
1331
- (_a = juego.orden) != null ? _a : idx
1332
- );
1333
- })
1334
- }
1335
- ),
1336
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Box7.default, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1337
- OraculoButton,
1338
- {
1339
- variant: "primary",
1340
- size: "lg",
1341
- onClick: () => onViewMore == null ? void 0 : onViewMore(),
1342
- children: "Ver m\xE1s"
1343
- }
1344
- ) })
1345
- ]
1235
+ },
1236
+ title
1237
+ ), /* @__PURE__ */ import_react14.default.createElement(
1238
+ import_Typography3.default,
1239
+ {
1240
+ sx: {
1241
+ fontSize: { xs: 14, md: 18 },
1242
+ color: "rgba(255,255,255,0.9)",
1243
+ marginX: { xs: 4, md: 0 },
1244
+ lineHeight: 1.5
1346
1245
  }
1347
- )
1348
- ]
1349
- }
1246
+ },
1247
+ subtitle
1248
+ ), /* @__PURE__ */ import_react14.default.createElement(import_Box7.default, { sx: { display: { xs: "none", md: "block" } } }, /* @__PURE__ */ import_react14.default.createElement(
1249
+ OraculoButton,
1250
+ {
1251
+ variant: "primary",
1252
+ size: "md",
1253
+ onClick: () => onViewMore == null ? void 0 : onViewMore()
1254
+ },
1255
+ "Ver m\xE1s"
1256
+ ))),
1257
+ /* @__PURE__ */ import_react14.default.createElement(
1258
+ import_Box7.default,
1259
+ {
1260
+ sx: {
1261
+ display: "flex",
1262
+ gap: { xs: 2, md: 3 },
1263
+ justifyContent: "center",
1264
+ overflowX: { xs: "auto", md: "visible" },
1265
+ py: { xs: 3, md: 0 },
1266
+ alignItems: "center"
1267
+ }
1268
+ },
1269
+ (items != null ? items : []).slice(0, 3).map((juego, idx) => {
1270
+ var _a, _b;
1271
+ return /* @__PURE__ */ import_react14.default.createElement(
1272
+ OraculoLiveCasinoCard_default,
1273
+ {
1274
+ key: (_a = juego.orden) != null ? _a : idx,
1275
+ logo: `https://olimpo.bet${(_b = juego.logo) != null ? _b : ""}`,
1276
+ provider: juego.provider,
1277
+ providerName: juego.web_name,
1278
+ machine: juego.machine,
1279
+ onClick: () => onCardClick == null ? void 0 : onCardClick(juego, idx)
1280
+ }
1281
+ );
1282
+ })
1283
+ ),
1284
+ /* @__PURE__ */ import_react14.default.createElement(import_Box7.default, { sx: { display: { xs: "block", md: "none" } } }, /* @__PURE__ */ import_react14.default.createElement(
1285
+ OraculoButton,
1286
+ {
1287
+ variant: "primary",
1288
+ size: "lg",
1289
+ onClick: () => onViewMore == null ? void 0 : onViewMore()
1290
+ },
1291
+ "Ver m\xE1s"
1292
+ ))
1293
+ )
1350
1294
  );
1351
1295
  };
1352
1296
  OraculoSeccionCasinoEnVivo_default = OraculoSeccionCasinoEnVivo;
@@ -1358,11 +1302,11 @@ var OraculoSeccionCasino_exports = {};
1358
1302
  __export(OraculoSeccionCasino_exports, {
1359
1303
  default: () => OraculoSeccionCasino_default
1360
1304
  });
1361
- var import_react4, import_Stack3, import_Box8, import_jsx_runtime16, buildCasinoSlides, OraculoSeccionCasino, OraculoSeccionCasino_default;
1305
+ var import_react15, import_Stack3, import_Box8, buildCasinoSlides, OraculoSeccionCasino, OraculoSeccionCasino_default;
1362
1306
  var init_OraculoSeccionCasino = __esm({
1363
1307
  "src/organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx"() {
1364
1308
  "use strict";
1365
- import_react4 = require("react");
1309
+ import_react15 = __toESM(require("react"));
1366
1310
  import_Stack3 = __toESM(require("@mui/material/Stack"));
1367
1311
  import_Box8 = __toESM(require("@mui/material/Box"));
1368
1312
  init_ChevronLeftRounded();
@@ -1371,7 +1315,6 @@ var init_OraculoSeccionCasino = __esm({
1371
1315
  init_OraculoButton2();
1372
1316
  init_OraculoCarousel();
1373
1317
  init_OraculoGameSlide();
1374
- import_jsx_runtime16 = require("react/jsx-runtime");
1375
1318
  buildCasinoSlides = (games, mosaicFirst = true, gridSize = 4) => {
1376
1319
  const baseItems = games.map((g, idx) => {
1377
1320
  var _a, _b, _c;
@@ -1412,8 +1355,8 @@ var init_OraculoSeccionCasino = __esm({
1412
1355
  mosaicFirst = true,
1413
1356
  gridSize = 4
1414
1357
  }) => {
1415
- const carouselRef = (0, import_react4.useRef)(null);
1416
- const [navState, setNavState] = (0, import_react4.useState)({ isStart: true, isEnd: false });
1358
+ const carouselRef = (0, import_react15.useRef)(null);
1359
+ const [navState, setNavState] = (0, import_react15.useState)({ isStart: true, isEnd: false });
1417
1360
  const slides = buildCasinoSlides(items, mosaicFirst, gridSize);
1418
1361
  const handlePrev = () => {
1419
1362
  var _a;
@@ -1426,100 +1369,93 @@ var init_OraculoSeccionCasino = __esm({
1426
1369
  const handleViewMore = () => {
1427
1370
  onViewMore == null ? void 0 : onViewMore();
1428
1371
  };
1429
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_Stack3.default, { direction: "column", spacing: 2, useFlexGap: true, children: [
1430
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1431
- import_Box8.default,
1372
+ return /* @__PURE__ */ import_react15.default.createElement("section", null, /* @__PURE__ */ import_react15.default.createElement(import_Stack3.default, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ import_react15.default.createElement(
1373
+ import_Box8.default,
1374
+ {
1375
+ sx: {
1376
+ display: "grid",
1377
+ gridTemplateColumns: "1fr auto auto",
1378
+ alignItems: "center",
1379
+ columnGap: 1.5,
1380
+ rowGap: 1
1381
+ }
1382
+ },
1383
+ /* @__PURE__ */ import_react15.default.createElement(
1384
+ OraculoSectionTitle,
1432
1385
  {
1433
- sx: {
1434
- display: "grid",
1435
- gridTemplateColumns: "1fr auto auto",
1436
- alignItems: "center",
1437
- columnGap: 1.5,
1438
- rowGap: 1
1439
- },
1440
- children: [
1441
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1442
- OraculoSectionTitle,
1443
- {
1444
- title,
1445
- iconUrl,
1446
- size: "md"
1447
- }
1448
- ),
1449
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1450
- import_Box8.default,
1451
- {
1452
- sx: {
1453
- display: "flex",
1454
- gap: 1,
1455
- justifyContent: "flex-end"
1456
- },
1457
- children: [
1458
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1459
- OraculoButton,
1460
- {
1461
- ariaLabel: "Anterior",
1462
- variant: "secondary",
1463
- iconOnly: true,
1464
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ChevronLeftRounded_default, {}),
1465
- onClick: handlePrev,
1466
- disabled: navState.isStart
1467
- }
1468
- ),
1469
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1470
- OraculoButton,
1471
- {
1472
- ariaLabel: "Siguiente",
1473
- variant: "secondary",
1474
- iconOnly: true,
1475
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ChevronRightRounded_default, {}),
1476
- onClick: handleNext,
1477
- disabled: navState.isEnd
1478
- }
1479
- )
1480
- ]
1481
- }
1482
- ),
1483
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_Box8.default, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
1484
- ]
1386
+ title,
1387
+ iconUrl,
1388
+ size: "md"
1485
1389
  }
1486
1390
  ),
1487
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1488
- OraculoCarousel_default,
1391
+ /* @__PURE__ */ import_react15.default.createElement(
1392
+ import_Box8.default,
1489
1393
  {
1490
- ref: carouselRef,
1491
- items: slides,
1492
- perPage: 1,
1493
- gap: "0px",
1494
- options: {
1495
- autoWidth: true,
1496
- gap: "12px",
1497
- trimSpace: false,
1498
- pagination: false,
1499
- arrows: false,
1500
- drag: true,
1501
- focus: "start"
1502
- },
1503
- renderItem: (slide) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1504
- OraculoGameSlide_default,
1505
- {
1506
- items: slide.items,
1507
- layout: slide.kind === "mosaic" ? "mosaic" : "grid",
1508
- onClick: (itm) => {
1509
- const game = items.find(
1510
- (g, idx) => {
1511
- var _a;
1512
- return ((_a = g.orden) != null ? _a : idx) === itm.id;
1513
- }
1514
- );
1515
- if (game) onItemClick == null ? void 0 : onItemClick(game);
1516
- }
1394
+ sx: {
1395
+ display: "flex",
1396
+ gap: 1,
1397
+ justifyContent: "flex-end"
1398
+ }
1399
+ },
1400
+ /* @__PURE__ */ import_react15.default.createElement(
1401
+ OraculoButton,
1402
+ {
1403
+ ariaLabel: "Anterior",
1404
+ variant: "secondary",
1405
+ iconOnly: true,
1406
+ leftIcon: /* @__PURE__ */ import_react15.default.createElement(ChevronLeftRounded_default, null),
1407
+ onClick: handlePrev,
1408
+ disabled: navState.isStart
1409
+ }
1410
+ ),
1411
+ /* @__PURE__ */ import_react15.default.createElement(
1412
+ OraculoButton,
1413
+ {
1414
+ ariaLabel: "Siguiente",
1415
+ variant: "secondary",
1416
+ iconOnly: true,
1417
+ rightIcon: /* @__PURE__ */ import_react15.default.createElement(ChevronRightRounded_default, null),
1418
+ onClick: handleNext,
1419
+ disabled: navState.isEnd
1420
+ }
1421
+ )
1422
+ ),
1423
+ /* @__PURE__ */ import_react15.default.createElement(import_Box8.default, { sx: { justifySelf: "end" } }, /* @__PURE__ */ import_react15.default.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s"))
1424
+ ), /* @__PURE__ */ import_react15.default.createElement(
1425
+ OraculoCarousel_default,
1426
+ {
1427
+ ref: carouselRef,
1428
+ items: slides,
1429
+ perPage: 1,
1430
+ gap: "0px",
1431
+ options: {
1432
+ autoWidth: true,
1433
+ gap: "12px",
1434
+ trimSpace: false,
1435
+ pagination: false,
1436
+ arrows: false,
1437
+ drag: true,
1438
+ focus: "start"
1439
+ },
1440
+ renderItem: (slide) => /* @__PURE__ */ import_react15.default.createElement("div", { style: { alignSelf: "start" } }, /* @__PURE__ */ import_react15.default.createElement(
1441
+ OraculoGameSlide_default,
1442
+ {
1443
+ items: slide.items,
1444
+ layout: slide.kind === "mosaic" ? "mosaic" : "grid",
1445
+ onClick: (itm) => {
1446
+ const game = items.find(
1447
+ (g, idx) => {
1448
+ var _a;
1449
+ return ((_a = g.orden) != null ? _a : idx) === itm.id;
1450
+ }
1451
+ );
1452
+ if (game) onItemClick == null ? void 0 : onItemClick(game);
1517
1453
  }
1518
- ) }),
1519
- onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
1520
- }
1521
- )
1522
- ] }) });
1454
+ }
1455
+ )),
1456
+ onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
1457
+ }
1458
+ )));
1523
1459
  };
1524
1460
  OraculoSeccionCasino_default = OraculoSeccionCasino;
1525
1461
  }
@@ -1530,11 +1466,11 @@ var OraculoSeccionVirtuales_exports = {};
1530
1466
  __export(OraculoSeccionVirtuales_exports, {
1531
1467
  default: () => OraculoSeccionVirtuales_default
1532
1468
  });
1533
- var import_react5, import_Stack4, import_Box9, import_jsx_runtime17, buildVirtualSlides, OraculoSeccionVirtuales, OraculoSeccionVirtuales_default;
1469
+ var import_react16, import_Stack4, import_Box9, buildVirtualSlides, OraculoSeccionVirtuales, OraculoSeccionVirtuales_default;
1534
1470
  var init_OraculoSeccionVirtuales = __esm({
1535
1471
  "src/organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx"() {
1536
1472
  "use strict";
1537
- import_react5 = require("react");
1473
+ import_react16 = __toESM(require("react"));
1538
1474
  import_Stack4 = __toESM(require("@mui/material/Stack"));
1539
1475
  import_Box9 = __toESM(require("@mui/material/Box"));
1540
1476
  init_ChevronLeftRounded();
@@ -1543,7 +1479,6 @@ var init_OraculoSeccionVirtuales = __esm({
1543
1479
  init_OraculoButton2();
1544
1480
  init_OraculoCarousel();
1545
1481
  init_OraculoGameSlide();
1546
- import_jsx_runtime17 = require("react/jsx-runtime");
1547
1482
  buildVirtualSlides = (games, mosaicFirst = true, gridSize = 4) => {
1548
1483
  const baseItems = games.map((g, idx) => {
1549
1484
  var _a, _b;
@@ -1584,8 +1519,8 @@ var init_OraculoSeccionVirtuales = __esm({
1584
1519
  mosaicFirst = true,
1585
1520
  gridSize = 4
1586
1521
  }) => {
1587
- const carouselRef = (0, import_react5.useRef)(null);
1588
- const [navState, setNavState] = (0, import_react5.useState)({ isStart: true, isEnd: false });
1522
+ const carouselRef = (0, import_react16.useRef)(null);
1523
+ const [navState, setNavState] = (0, import_react16.useState)({ isStart: true, isEnd: false });
1589
1524
  const slides = buildVirtualSlides(items, mosaicFirst, gridSize);
1590
1525
  const handlePrev = () => {
1591
1526
  var _a;
@@ -1598,101 +1533,94 @@ var init_OraculoSeccionVirtuales = __esm({
1598
1533
  const handleViewMore = () => {
1599
1534
  onViewMore == null ? void 0 : onViewMore();
1600
1535
  };
1601
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Stack4.default, { direction: "column", spacing: 2, useFlexGap: true, children: [
1602
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1603
- import_Box9.default,
1536
+ return /* @__PURE__ */ import_react16.default.createElement("section", null, /* @__PURE__ */ import_react16.default.createElement(import_Stack4.default, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ import_react16.default.createElement(
1537
+ import_Box9.default,
1538
+ {
1539
+ sx: {
1540
+ display: "grid",
1541
+ gridTemplateColumns: "1fr auto auto",
1542
+ alignItems: "center",
1543
+ columnGap: 1.5,
1544
+ rowGap: 1
1545
+ }
1546
+ },
1547
+ /* @__PURE__ */ import_react16.default.createElement(
1548
+ OraculoSectionTitle,
1604
1549
  {
1605
- sx: {
1606
- display: "grid",
1607
- gridTemplateColumns: "1fr auto auto",
1608
- alignItems: "center",
1609
- columnGap: 1.5,
1610
- rowGap: 1
1611
- },
1612
- children: [
1613
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1614
- OraculoSectionTitle,
1615
- {
1616
- title,
1617
- iconUrl,
1618
- size: "md"
1619
- }
1620
- ),
1621
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1622
- import_Box9.default,
1623
- {
1624
- sx: {
1625
- display: "flex",
1626
- gap: 1,
1627
- justifyContent: "flex-end"
1628
- },
1629
- children: [
1630
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1631
- OraculoButton,
1632
- {
1633
- ariaLabel: "Anterior",
1634
- variant: "secondary",
1635
- iconOnly: true,
1636
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ChevronLeftRounded_default, {}),
1637
- onClick: handlePrev,
1638
- disabled: navState.isStart
1639
- }
1640
- ),
1641
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1642
- OraculoButton,
1643
- {
1644
- ariaLabel: "Siguiente",
1645
- variant: "secondary",
1646
- iconOnly: true,
1647
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ChevronRightRounded_default, {}),
1648
- onClick: handleNext,
1649
- disabled: navState.isEnd
1650
- }
1651
- )
1652
- ]
1653
- }
1654
- ),
1655
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Box9.default, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
1656
- ]
1550
+ title,
1551
+ iconUrl,
1552
+ size: "md"
1657
1553
  }
1658
1554
  ),
1659
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1660
- OraculoCarousel_default,
1555
+ /* @__PURE__ */ import_react16.default.createElement(
1556
+ import_Box9.default,
1661
1557
  {
1662
- ref: carouselRef,
1663
- items: slides,
1664
- perPage: 1,
1665
- gap: "0",
1666
- options: {
1667
- autoWidth: true,
1668
- gap: "12px",
1669
- trimSpace: false,
1670
- pagination: false,
1671
- arrows: false,
1672
- drag: true,
1673
- focus: "start",
1674
- perMove: 1
1675
- },
1676
- renderItem: (slide) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1677
- OraculoGameSlide_default,
1678
- {
1679
- items: slide.items,
1680
- layout: slide.kind === "mosaic" ? "mosaic" : "grid",
1681
- onClick: (itm) => {
1682
- const game = items.find(
1683
- (g, idx) => {
1684
- var _a;
1685
- return ((_a = g.orden) != null ? _a : idx) === itm.id;
1686
- }
1687
- );
1688
- if (game) onItemClick == null ? void 0 : onItemClick(game);
1689
- }
1558
+ sx: {
1559
+ display: "flex",
1560
+ gap: 1,
1561
+ justifyContent: "flex-end"
1562
+ }
1563
+ },
1564
+ /* @__PURE__ */ import_react16.default.createElement(
1565
+ OraculoButton,
1566
+ {
1567
+ ariaLabel: "Anterior",
1568
+ variant: "secondary",
1569
+ iconOnly: true,
1570
+ leftIcon: /* @__PURE__ */ import_react16.default.createElement(ChevronLeftRounded_default, null),
1571
+ onClick: handlePrev,
1572
+ disabled: navState.isStart
1573
+ }
1574
+ ),
1575
+ /* @__PURE__ */ import_react16.default.createElement(
1576
+ OraculoButton,
1577
+ {
1578
+ ariaLabel: "Siguiente",
1579
+ variant: "secondary",
1580
+ iconOnly: true,
1581
+ rightIcon: /* @__PURE__ */ import_react16.default.createElement(ChevronRightRounded_default, null),
1582
+ onClick: handleNext,
1583
+ disabled: navState.isEnd
1584
+ }
1585
+ )
1586
+ ),
1587
+ /* @__PURE__ */ import_react16.default.createElement(import_Box9.default, { sx: { justifySelf: "end" } }, /* @__PURE__ */ import_react16.default.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s"))
1588
+ ), /* @__PURE__ */ import_react16.default.createElement(
1589
+ OraculoCarousel_default,
1590
+ {
1591
+ ref: carouselRef,
1592
+ items: slides,
1593
+ perPage: 1,
1594
+ gap: "0",
1595
+ options: {
1596
+ autoWidth: true,
1597
+ gap: "12px",
1598
+ trimSpace: false,
1599
+ pagination: false,
1600
+ arrows: false,
1601
+ drag: true,
1602
+ focus: "start",
1603
+ perMove: 1
1604
+ },
1605
+ renderItem: (slide) => /* @__PURE__ */ import_react16.default.createElement("div", { style: { alignSelf: "start" } }, /* @__PURE__ */ import_react16.default.createElement(
1606
+ OraculoGameSlide_default,
1607
+ {
1608
+ items: slide.items,
1609
+ layout: slide.kind === "mosaic" ? "mosaic" : "grid",
1610
+ onClick: (itm) => {
1611
+ const game = items.find(
1612
+ (g, idx) => {
1613
+ var _a;
1614
+ return ((_a = g.orden) != null ? _a : idx) === itm.id;
1615
+ }
1616
+ );
1617
+ if (game) onItemClick == null ? void 0 : onItemClick(game);
1690
1618
  }
1691
- ) }),
1692
- onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
1693
- }
1694
- )
1695
- ] }) });
1619
+ }
1620
+ )),
1621
+ onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
1622
+ }
1623
+ )));
1696
1624
  };
1697
1625
  OraculoSeccionVirtuales_default = OraculoSeccionVirtuales;
1698
1626
  }
@@ -1703,18 +1631,17 @@ var OraculoSeccionBonoBienvenida_exports = {};
1703
1631
  __export(OraculoSeccionBonoBienvenida_exports, {
1704
1632
  default: () => OraculoSeccionBonoBienvenida_default
1705
1633
  });
1706
- var import_react6, import_Box10, import_Typography4, import_useMediaQuery, import_jsx_runtime18, buildSectionSx, headlineBaseSx, hlTopSx, hlBottomSx, OraculoSeccionBonoBienvenida, OraculoSeccionBonoBienvenida_default;
1634
+ var import_react17, import_Box10, import_Typography4, import_useMediaQuery, buildSectionSx, headlineBaseSx, hlTopSx, hlBottomSx, OraculoSeccionBonoBienvenida, OraculoSeccionBonoBienvenida_default;
1707
1635
  var init_OraculoSeccionBonoBienvenida = __esm({
1708
1636
  "src/organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx"() {
1709
1637
  "use strict";
1710
- import_react6 = require("react");
1638
+ import_react17 = __toESM(require("react"));
1711
1639
  import_Box10 = __toESM(require("@mui/material/Box"));
1712
1640
  import_Typography4 = __toESM(require("@mui/material/Typography"));
1713
1641
  import_useMediaQuery = __toESM(require("@mui/material/useMediaQuery"));
1714
1642
  init_OraculoCarousel();
1715
1643
  init_OraculoWelcomeBanner();
1716
1644
  init_OraculoCarouselDots2();
1717
- import_jsx_runtime18 = require("react/jsx-runtime");
1718
1645
  buildSectionSx = (bgUrl) => ({
1719
1646
  width: "100vw",
1720
1647
  position: "relative",
@@ -1766,74 +1693,63 @@ var init_OraculoSeccionBonoBienvenida = __esm({
1766
1693
  const showDots = items.length > 1;
1767
1694
  const bgUrl = backgroundImageUrl != null ? backgroundImageUrl : "/assets/img/home/BonoBienvenida/Fondobg.png";
1768
1695
  const sectionSx = buildSectionSx(bgUrl);
1769
- const carouselRef = (0, import_react6.useRef)(null);
1770
- const [navState, setNavState] = (0, import_react6.useState)({ isStart: true, isEnd: false });
1771
- const [activeIndex, setActiveIndex] = (0, import_react6.useState)(0);
1696
+ const carouselRef = (0, import_react17.useRef)(null);
1697
+ const [navState, setNavState] = (0, import_react17.useState)({ isStart: true, isEnd: false });
1698
+ const [activeIndex, setActiveIndex] = (0, import_react17.useState)(0);
1772
1699
  if (isMobile) {
1773
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1700
+ return /* @__PURE__ */ import_react17.default.createElement(
1774
1701
  import_Box10.default,
1775
1702
  {
1776
1703
  component: "section",
1777
1704
  sx: {
1778
1705
  ...sectionSx,
1779
1706
  textAlign: "center"
1780
- },
1781
- children: [
1782
- (hl1 || hl2) && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_Box10.default, { sx: headlineBaseSx, children: [
1783
- hl1 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Typography4.default, { component: "span", sx: hlTopSx, children: hl1 }),
1784
- hl2 && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
1785
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("br", {}),
1786
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Typography4.default, { component: "span", sx: hlBottomSx, children: hl2 })
1787
- ] })
1788
- ] }),
1789
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_Box10.default, { children: [
1790
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1791
- OraculoCarousel_default,
1792
- {
1793
- ref: carouselRef,
1794
- items,
1795
- perPage: 1,
1796
- gap: "12px",
1797
- breakpoints: {
1798
- 480: {
1799
- perPage: 1,
1800
- gap: "8px",
1801
- padding: { left: "8px", right: "8px" }
1802
- },
1803
- 768: {
1804
- perPage: 1,
1805
- gap: "12px",
1806
- padding: { left: "8px", right: "8px" }
1807
- }
1808
- },
1809
- options: {
1810
- autoWidth: false
1811
- },
1812
- renderItem: (it) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(OraculoWelcomeBanner_default, { ...it, onButtonClick: items[0].onButtonClick }),
1813
- onMove: ({ index, isStart, isEnd }) => {
1814
- setNavState({ isStart, isEnd });
1815
- setActiveIndex(index);
1816
- }
1817
- }
1818
- ),
1819
- showDots && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1820
- OraculoCarouselDots_default,
1821
- {
1822
- total: items.length,
1823
- active: activeIndex,
1824
- onSelect: (i) => {
1825
- var _a;
1826
- setActiveIndex(i);
1827
- (_a = carouselRef.current) == null ? void 0 : _a.go(i);
1828
- }
1829
- }
1830
- )
1831
- ] })
1832
- ]
1833
- }
1707
+ }
1708
+ },
1709
+ (hl1 || hl2) && /* @__PURE__ */ import_react17.default.createElement(import_Box10.default, { sx: headlineBaseSx }, hl1 && /* @__PURE__ */ import_react17.default.createElement(import_Typography4.default, { component: "span", sx: hlTopSx }, hl1), hl2 && /* @__PURE__ */ import_react17.default.createElement(import_react17.default.Fragment, null, /* @__PURE__ */ import_react17.default.createElement("br", null), /* @__PURE__ */ import_react17.default.createElement(import_Typography4.default, { component: "span", sx: hlBottomSx }, hl2))),
1710
+ /* @__PURE__ */ import_react17.default.createElement(import_Box10.default, null, /* @__PURE__ */ import_react17.default.createElement(
1711
+ OraculoCarousel_default,
1712
+ {
1713
+ ref: carouselRef,
1714
+ items,
1715
+ perPage: 1,
1716
+ gap: "12px",
1717
+ breakpoints: {
1718
+ 480: {
1719
+ perPage: 1,
1720
+ gap: "8px",
1721
+ padding: { left: "8px", right: "8px" }
1722
+ },
1723
+ 768: {
1724
+ perPage: 1,
1725
+ gap: "12px",
1726
+ padding: { left: "8px", right: "8px" }
1727
+ }
1728
+ },
1729
+ options: {
1730
+ autoWidth: false
1731
+ },
1732
+ renderItem: (it) => /* @__PURE__ */ import_react17.default.createElement(OraculoWelcomeBanner_default, { ...it, onButtonClick: items[0].onButtonClick }),
1733
+ onMove: ({ index, isStart, isEnd }) => {
1734
+ setNavState({ isStart, isEnd });
1735
+ setActiveIndex(index);
1736
+ }
1737
+ }
1738
+ ), showDots && /* @__PURE__ */ import_react17.default.createElement(
1739
+ OraculoCarouselDots_default,
1740
+ {
1741
+ total: items.length,
1742
+ active: activeIndex,
1743
+ onSelect: (i) => {
1744
+ var _a;
1745
+ setActiveIndex(i);
1746
+ (_a = carouselRef.current) == null ? void 0 : _a.go(i);
1747
+ }
1748
+ }
1749
+ ))
1834
1750
  );
1835
1751
  }
1836
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Box10.default, { component: "section", sx: sectionSx, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1752
+ return /* @__PURE__ */ import_react17.default.createElement(import_Box10.default, { component: "section", sx: sectionSx }, /* @__PURE__ */ import_react17.default.createElement(
1837
1753
  import_Box10.default,
1838
1754
  {
1839
1755
  sx: {
@@ -1843,59 +1759,52 @@ var init_OraculoSeccionBonoBienvenida = __esm({
1843
1759
  display: "grid",
1844
1760
  gridTemplateColumns: "200px auto",
1845
1761
  alignItems: "center"
1762
+ }
1763
+ },
1764
+ (hl1 || hl2) && /* @__PURE__ */ import_react17.default.createElement(
1765
+ import_Box10.default,
1766
+ {
1767
+ sx: {
1768
+ display: "flex",
1769
+ alignItems: "center",
1770
+ justifyContent: "flex-start",
1771
+ minHeight: "100%"
1772
+ }
1846
1773
  },
1847
- children: [
1848
- (hl1 || hl2) && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1849
- import_Box10.default,
1850
- {
1851
- sx: {
1852
- display: "flex",
1853
- alignItems: "center",
1854
- justifyContent: "flex-start",
1855
- minHeight: "100%"
1856
- },
1857
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1858
- import_Box10.default,
1859
- {
1860
- sx: {
1861
- ...headlineBaseSx,
1862
- textAlign: "left",
1863
- mb: 0
1864
- },
1865
- children: [
1866
- hl1 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Typography4.default, { component: "span", sx: hlTopSx, children: hl1 }),
1867
- hl2 && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
1868
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("br", {}),
1869
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Typography4.default, { component: "span", sx: hlBottomSx, children: hl2 })
1870
- ] })
1871
- ]
1872
- }
1873
- )
1874
- }
1875
- ),
1876
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1877
- import_Box10.default,
1878
- {
1879
- sx: {
1880
- display: "flex",
1881
- justifyContent: "center",
1882
- alignItems: "center",
1883
- flexWrap: "nowrap",
1884
- gap: 4
1885
- },
1886
- children: items.map((it, idx) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1887
- OraculoWelcomeBanner_default,
1888
- {
1889
- onButtonClick: it.onButtonClick,
1890
- ...it
1891
- },
1892
- idx
1893
- ))
1774
+ /* @__PURE__ */ import_react17.default.createElement(
1775
+ import_Box10.default,
1776
+ {
1777
+ sx: {
1778
+ ...headlineBaseSx,
1779
+ textAlign: "left",
1780
+ mb: 0
1894
1781
  }
1895
- )
1896
- ]
1897
- }
1898
- ) });
1782
+ },
1783
+ hl1 && /* @__PURE__ */ import_react17.default.createElement(import_Typography4.default, { component: "span", sx: hlTopSx }, hl1),
1784
+ hl2 && /* @__PURE__ */ import_react17.default.createElement(import_react17.default.Fragment, null, /* @__PURE__ */ import_react17.default.createElement("br", null), /* @__PURE__ */ import_react17.default.createElement(import_Typography4.default, { component: "span", sx: hlBottomSx }, hl2))
1785
+ )
1786
+ ),
1787
+ /* @__PURE__ */ import_react17.default.createElement(
1788
+ import_Box10.default,
1789
+ {
1790
+ sx: {
1791
+ display: "flex",
1792
+ justifyContent: "center",
1793
+ alignItems: "center",
1794
+ flexWrap: "nowrap",
1795
+ gap: 4
1796
+ }
1797
+ },
1798
+ items.map((it, idx) => /* @__PURE__ */ import_react17.default.createElement(
1799
+ OraculoWelcomeBanner_default,
1800
+ {
1801
+ key: idx,
1802
+ onButtonClick: it.onButtonClick,
1803
+ ...it
1804
+ }
1805
+ ))
1806
+ )
1807
+ ));
1899
1808
  };
1900
1809
  OraculoSeccionBonoBienvenida_default = OraculoSeccionBonoBienvenida;
1901
1810
  }
@@ -1906,14 +1815,13 @@ var OraculoSeccionClubOlimpo_exports = {};
1906
1815
  __export(OraculoSeccionClubOlimpo_exports, {
1907
1816
  default: () => OraculoSeccionClubOlimpo_default
1908
1817
  });
1909
- var import_react7, import_OraculoSeccionClubOlimpo2, import_jsx_runtime19, OraculoSeccionClubOlimpo, OraculoSeccionClubOlimpo_default;
1818
+ var import_react18, import_OraculoSeccionClubOlimpo2, OraculoSeccionClubOlimpo, OraculoSeccionClubOlimpo_default;
1910
1819
  var init_OraculoSeccionClubOlimpo = __esm({
1911
1820
  "src/organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.tsx"() {
1912
1821
  "use strict";
1913
- import_react7 = require("react");
1822
+ import_react18 = __toESM(require("react"));
1914
1823
  import_OraculoSeccionClubOlimpo2 = __toESM(require_OraculoSeccionClubOlimpo());
1915
1824
  init_OraculoClubOlimpoVisual();
1916
- import_jsx_runtime19 = require("react/jsx-runtime");
1917
1825
  OraculoSeccionClubOlimpo = ({
1918
1826
  className = "",
1919
1827
  fullBleed = true,
@@ -1921,12 +1829,12 @@ var init_OraculoSeccionClubOlimpo = __esm({
1921
1829
  selectedIndex = 0,
1922
1830
  ariaLabel
1923
1831
  }) => {
1924
- const rootRef = (0, import_react7.useRef)(null);
1925
- const bottomRef = (0, import_react7.useRef)(null);
1832
+ const rootRef = (0, import_react18.useRef)(null);
1833
+ const bottomRef = (0, import_react18.useRef)(null);
1926
1834
  if (!items) return null;
1927
1835
  const safeIndex = Math.min(Math.max(selectedIndex, 0), 1);
1928
1836
  const item = items;
1929
- (0, import_react7.useLayoutEffect)(() => {
1837
+ (0, import_react18.useLayoutEffect)(() => {
1930
1838
  if (!rootRef.current || !bottomRef.current) return;
1931
1839
  if (typeof ResizeObserver === "undefined") return;
1932
1840
  const root = rootRef.current;
@@ -1947,163 +1855,30 @@ var init_OraculoSeccionClubOlimpo = __esm({
1947
1855
  fullBleed ? "orc-co-fullBleed" : "",
1948
1856
  className
1949
1857
  ].filter(Boolean).join(" ");
1950
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1858
+ return /* @__PURE__ */ import_react18.default.createElement(
1951
1859
  "section",
1952
1860
  {
1953
1861
  ref: rootRef,
1954
1862
  className: rootClass,
1955
- "aria-label": ariaLabel || item.imgAlt || "Club Olimpo",
1956
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { ref: bottomRef, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1957
- OraculoClubOlimpoVisual_default,
1958
- {
1959
- text: item.text,
1960
- onClick: item.onClick,
1961
- imgAlt: item.imgAlt,
1962
- imgSrcMobile: item.images.mobile,
1963
- imgSrcDesktopBg: item.images.desktopBg,
1964
- imgSrcDesktopLogo: item.images.desktopLogo
1965
- }
1966
- ) })
1967
- }
1863
+ "aria-label": ariaLabel || item.imgAlt || "Club Olimpo"
1864
+ },
1865
+ /* @__PURE__ */ import_react18.default.createElement("div", { ref: bottomRef }, /* @__PURE__ */ import_react18.default.createElement(
1866
+ OraculoClubOlimpoVisual_default,
1867
+ {
1868
+ text: item.text,
1869
+ onClick: item.onClick,
1870
+ imgAlt: item.imgAlt,
1871
+ imgSrcMobile: item.images.mobile,
1872
+ imgSrcDesktopBg: item.images.desktopBg,
1873
+ imgSrcDesktopLogo: item.images.desktopLogo
1874
+ }
1875
+ ))
1968
1876
  );
1969
1877
  };
1970
1878
  OraculoSeccionClubOlimpo_default = OraculoSeccionClubOlimpo;
1971
1879
  }
1972
1880
  });
1973
1881
 
1974
- // src/templates/OraculoPageLanding.tsx
1975
- function OraculoPageLanding({ props }) {
1976
- const listaDestacados = [
1977
- {
1978
- image: "/assets/img/home/Destacados/Banner01.png",
1979
- title: "Gol Seguro",
1980
- tags: "/destacados",
1981
- // aquí puedes usar la ruta que antes estaba en href
1982
- body: "",
1983
- summary_body: "",
1984
- summary_title: "",
1985
- groups_forbidden: [],
1986
- groups_allowed: [],
1987
- promotion: ""
1988
- // summary_image: "/lo-que-sea.png", // opcional
1989
- },
1990
- {
1991
- image: "/assets/img/home/Destacados/Banner02.png",
1992
- title: "Promo 2",
1993
- tags: "/destacados",
1994
- body: "",
1995
- summary_body: "",
1996
- summary_title: "",
1997
- groups_forbidden: [],
1998
- groups_allowed: [],
1999
- promotion: ""
2000
- },
2001
- {
2002
- image: "/assets/img/home/Destacados/Banner01.png",
2003
- title: "Gol Seguro",
2004
- tags: "/destacados",
2005
- body: "",
2006
- summary_body: "",
2007
- summary_title: "",
2008
- groups_forbidden: [],
2009
- groups_allowed: [],
2010
- promotion: ""
2011
- },
2012
- {
2013
- image: "/assets/img/home/Destacados/Banner02.png",
2014
- title: "Promo 2",
2015
- tags: "/destacados",
2016
- body: "",
2017
- summary_body: "",
2018
- summary_title: "",
2019
- groups_forbidden: [],
2020
- groups_allowed: [],
2021
- promotion: ""
2022
- }
2023
- ];
2024
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_material2.Container, { className: "oli-font", sx: { backgroundColor: "#121212", position: "relative", pb: 5 }, maxWidth: false, children: [
2025
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2026
- OraculoSeccionBonoBienvenida_default,
2027
- {
2028
- headline: props.bonos.headline,
2029
- items: props.bonos.items
2030
- }
2031
- ),
2032
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_material2.Stack, { direction: "column", spacing: 12, useFlexGap: true, children: [
2033
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2034
- OraculoSeccionTopJuegos,
2035
- {
2036
- items: props.topJuegos.items,
2037
- title: props.topJuegos.title,
2038
- iconUrl: props.topJuegos.iconUrl,
2039
- onCardClick: props.topJuegos.onCardClick
2040
- }
2041
- ),
2042
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2043
- OraculoSeccionCasino_default,
2044
- {
2045
- items: props.casino.items,
2046
- title: props.casino.title,
2047
- iconUrl: props.casino.iconUrl,
2048
- onItemClick: props.casino.onItemClick,
2049
- onViewMore: props.casino.onViewMore
2050
- }
2051
- )
2052
- ] }),
2053
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2054
- OraculoSeccionCasinoEnVivo_default,
2055
- {
2056
- items: props.casinoEnVivo.items,
2057
- title: props.casinoEnVivo.title,
2058
- subtitle: props.casinoEnVivo.subtitle,
2059
- backgroundMobileUrl: props.casinoEnVivo.backgroundMobileUrl,
2060
- backgroundDesktopUrl: props.casinoEnVivo.backgroundDesktopUrl,
2061
- onCardClick: props.casinoEnVivo.onCardClick,
2062
- onViewMore: props.casinoEnVivo.onViewMore
2063
- }
2064
- ),
2065
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_material2.Stack, { direction: "column", spacing: 12, useFlexGap: true, children: [
2066
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2067
- OraculoSeccionVirtuales_default,
2068
- {
2069
- items: props.virtuales.items,
2070
- title: props.virtuales.title,
2071
- iconUrl: props.virtuales.iconUrl,
2072
- onItemClick: props.virtuales.onItemClick,
2073
- onViewMore: props.virtuales.onViewMore
2074
- }
2075
- ),
2076
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2077
- OraculoSeccionDestacados,
2078
- {
2079
- items: listaDestacados,
2080
- title: "Destacados",
2081
- iconUrl: "/assets/img/home/Destacados/starIcon.svg",
2082
- onViewMore: () => console.log("Ver m\xE1s clickeado")
2083
- }
2084
- ),
2085
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(OraculoSeccionClubOlimpo_default, { items: props.clubOlimpo })
2086
- ] })
2087
- ] });
2088
- }
2089
- var import_material2, import_css, import_jsx_runtime20;
2090
- var init_OraculoPageLanding = __esm({
2091
- "src/templates/OraculoPageLanding.tsx"() {
2092
- "use strict";
2093
- "use client";
2094
- import_material2 = require("@mui/material");
2095
- init_OraculoSeccionBonoBienvenida();
2096
- init_OraculoSeccionTopJuegos();
2097
- init_OraculoSeccionCasino();
2098
- init_OraculoSeccionCasinoEnVivo();
2099
- init_OraculoSeccionVirtuales();
2100
- init_OraculoSeccionDestacados();
2101
- init_OraculoSeccionClubOlimpo();
2102
- import_css = require("@splidejs/react-splide/css");
2103
- import_jsx_runtime20 = require("react/jsx-runtime");
2104
- }
2105
- });
2106
-
2107
1882
  // ../node_modules/@firebase/util/dist/postinstall.mjs
2108
1883
  var getDefaultsFromPostinstall;
2109
1884
  var init_postinstall = __esm({
@@ -38923,15 +38698,14 @@ var init_ = __esm({
38923
38698
  });
38924
38699
 
38925
38700
  // src/templates/OraculoPageLandingPreview.tsx
38926
- var import_react8, import_material3, import_jsx_runtime21, HttpError, OraculoPageLandingPreview, OraculoPageLandingPreview_default;
38701
+ var import_react19, import_material2, HttpError, OraculoPageLandingPreview, OraculoPageLandingPreview_default;
38927
38702
  var init_OraculoPageLandingPreview = __esm({
38928
38703
  "src/templates/OraculoPageLandingPreview.tsx"() {
38929
38704
  "use strict";
38930
38705
  "use client";
38931
- import_react8 = __toESM(require("react"));
38932
- import_material3 = require("@mui/material");
38706
+ import_react19 = __toESM(require("react"));
38707
+ import_material2 = require("@mui/material");
38933
38708
  init_dist();
38934
- import_jsx_runtime21 = require("react/jsx-runtime");
38935
38709
  init_();
38936
38710
  HttpError = class extends Error {
38937
38711
  constructor(status, url, statusText) {
@@ -38947,13 +38721,13 @@ var init_OraculoPageLandingPreview = __esm({
38947
38721
  docId = "home",
38948
38722
  db
38949
38723
  }) => {
38950
- const [sections, setSections] = (0, import_react8.useState)([]);
38951
- const [loading, setLoading] = (0, import_react8.useState)(false);
38952
- const [componentMap, setComponentMap] = (0, import_react8.useState)({});
38953
- const [sectionDataMap, setSectionDataMap] = (0, import_react8.useState)({});
38954
- const [sectionLoadingMap, setSectionLoadingMap] = (0, import_react8.useState)({});
38955
- const [sectionErrorMap, setSectionErrorMap] = (0, import_react8.useState)({});
38956
- (0, import_react8.useEffect)(() => {
38724
+ const [sections, setSections] = (0, import_react19.useState)([]);
38725
+ const [loading, setLoading] = (0, import_react19.useState)(false);
38726
+ const [componentMap, setComponentMap] = (0, import_react19.useState)({});
38727
+ const [sectionDataMap, setSectionDataMap] = (0, import_react19.useState)({});
38728
+ const [sectionLoadingMap, setSectionLoadingMap] = (0, import_react19.useState)({});
38729
+ const [sectionErrorMap, setSectionErrorMap] = (0, import_react19.useState)({});
38730
+ (0, import_react19.useEffect)(() => {
38957
38731
  if (sectionsOverride) return;
38958
38732
  if (!db) return;
38959
38733
  setLoading(true);
@@ -38993,19 +38767,19 @@ var init_OraculoPageLandingPreview = __esm({
38993
38767
  if (method === "GET") {
38994
38768
  const u = new URL(
38995
38769
  rawUrl,
38996
- typeof window !== "undefined" ? window.location.origin : "http://localhost"
38770
+ typeof window == "undefined" ? "http://localhost" : window.location.origin
38997
38771
  );
38998
- params.forEach((p) => {
38999
- if (!p.key) return;
39000
- u.searchParams.set(p.key, p.value);
39001
- });
38772
+ for (const p of params) {
38773
+ if (!p.key) continue;
38774
+ u.searchParams.append(p.key, p.value);
38775
+ }
39002
38776
  url = u.toString();
39003
38777
  } else {
39004
38778
  const encoded = new URLSearchParams();
39005
- params.forEach((p) => {
39006
- if (!p.key) return;
38779
+ for (const p of params) {
38780
+ if (!p.key) continue;
39007
38781
  encoded.append(p.key, p.value);
39008
- });
38782
+ }
39009
38783
  body = encoded.toString();
39010
38784
  headers = {
39011
38785
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
@@ -39019,12 +38793,12 @@ var init_OraculoPageLandingPreview = __esm({
39019
38793
  if (!res.ok) throw new HttpError(res.status, url, res.statusText);
39020
38794
  return res.json();
39021
38795
  };
39022
- const effectiveSections = (0, import_react8.useMemo)(
38796
+ const effectiveSections = (0, import_react19.useMemo)(
39023
38797
  () => sectionsOverride ? sectionsOverride.slice() : sections.slice(),
39024
38798
  [sectionsOverride, sections]
39025
38799
  );
39026
- const fetchedKeysRef = import_react8.default.useRef(/* @__PURE__ */ new Set());
39027
- (0, import_react8.useEffect)(() => {
38800
+ const fetchedKeysRef = import_react19.default.useRef(/* @__PURE__ */ new Set());
38801
+ (0, import_react19.useEffect)(() => {
39028
38802
  const fetchables = effectiveSections.map((s) => ({ s, url: (s.apiUrl || "").trim() })).filter(({ url }) => !!url);
39029
38803
  if (!fetchables.length) return;
39030
38804
  for (const { s, url } of fetchables) {
@@ -39055,7 +38829,7 @@ var init_OraculoPageLandingPreview = __esm({
39055
38829
  })();
39056
38830
  }
39057
38831
  }, [effectiveSections]);
39058
- const orderedVisible = (0, import_react8.useMemo)(
38832
+ const orderedVisible = (0, import_react19.useMemo)(
39059
38833
  () => effectiveSections.filter((s) => s.visible).sort((a, b) => a.order - b.order),
39060
38834
  [effectiveSections]
39061
38835
  );
@@ -39118,9 +38892,7 @@ var init_OraculoPageLandingPreview = __esm({
39118
38892
  const pl = payload;
39119
38893
  const isArr = Array.isArray(pl);
39120
38894
  const obj = !isArr && typeof pl === "object" && pl !== null ? pl : void 0;
39121
- console.log("Derived obj for props mapping:", obj);
39122
38895
  const arrData = obj && Array.isArray(obj.lobby || obj.items) ? obj.lobby || obj.items : void 0;
39123
- console.log("Derived arrData for props mapping:", arrData);
39124
38896
  const choose = (fallback) => isArr ? pl : arrData || fallback;
39125
38897
  merged.items = choose(arrData || []);
39126
38898
  return merged;
@@ -39159,7 +38931,7 @@ var init_OraculoPageLandingPreview = __esm({
39159
38931
  error: "bg-red-100 text-red-800",
39160
38932
  component: "bg-yellow-100 text-yellow-800"
39161
38933
  };
39162
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: `mx-4 p-4 rounded ${colorMap[type]}`, children: message }, key);
38934
+ return /* @__PURE__ */ import_react19.default.createElement("div", { key, className: `mx-4 p-4 rounded ${colorMap[type]}` }, message);
39163
38935
  };
39164
38936
  const renderSingleSection = (s) => {
39165
38937
  var _a;
@@ -39192,26 +38964,26 @@ var init_OraculoPageLandingPreview = __esm({
39192
38964
  );
39193
38965
  }
39194
38966
  const compProps = buildCompProps(s);
39195
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
38967
+ return /* @__PURE__ */ import_react19.default.createElement(
39196
38968
  "div",
39197
38969
  {
38970
+ key: s.id,
39198
38971
  style: {
39199
38972
  paddingLeft: 16,
39200
38973
  paddingRight: 16,
39201
38974
  width: "100%",
39202
38975
  boxSizing: "border-box"
39203
- },
39204
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Comp, { ...compProps })
38976
+ }
39205
38977
  },
39206
- s.id
38978
+ /* @__PURE__ */ import_react19.default.createElement(Comp, { ...compProps })
39207
38979
  );
39208
38980
  };
39209
38981
  if (loading && !sectionsOverride)
39210
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "text-xs text-gray-400", children: "Cargando preview..." });
38982
+ return /* @__PURE__ */ import_react19.default.createElement("div", { className: "text-xs text-gray-400" }, "Cargando preview...");
39211
38983
  if (!loading && !sectionsOverride && sections.length === 0)
39212
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" });
39213
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
39214
- import_material3.Container,
38984
+ return /* @__PURE__ */ import_react19.default.createElement("div", { className: "text-xs text-gray-500" }, "Sin secciones (Firestore)");
38985
+ return /* @__PURE__ */ import_react19.default.createElement(
38986
+ import_material2.Container,
39215
38987
  {
39216
38988
  className: "oli-font",
39217
38989
  maxWidth: false,
@@ -39224,9 +38996,9 @@ var init_OraculoPageLandingPreview = __esm({
39224
38996
  width: "100%",
39225
38997
  maxWidth: "100%",
39226
38998
  overflowX: "hidden"
39227
- },
39228
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_material3.Stack, { direction: "column", spacing: 8, useFlexGap: true, children: orderedVisible.map(renderSingleSection) })
39229
- }
38999
+ }
39000
+ },
39001
+ /* @__PURE__ */ import_react19.default.createElement(import_material2.Stack, { direction: "column", spacing: 8, useFlexGap: true }, orderedVisible.map(renderSingleSection))
39230
39002
  );
39231
39003
  };
39232
39004
  OraculoPageLandingPreview_default = OraculoPageLandingPreview;
@@ -39300,7 +39072,6 @@ __export(index_exports, {
39300
39072
  OraculoGameRankCard: () => OraculoGameRankCard,
39301
39073
  OraculoGameSlide: () => OraculoGameSlide_default,
39302
39074
  OraculoLiveCasinoCard: () => OraculoLiveCasinoCard_default,
39303
- OraculoPageLanding: () => OraculoPageLanding,
39304
39075
  OraculoPageLandingPreview: () => OraculoPageLandingPreview_default,
39305
39076
  OraculoSeccionBonoBienvenida: () => OraculoSeccionBonoBienvenida_default,
39306
39077
  OraculoSeccionCasino: () => OraculoSeccionCasino_default,
@@ -39311,9 +39082,11 @@ __export(index_exports, {
39311
39082
  OraculoSeccionVirtuales: () => OraculoSeccionVirtuales_default,
39312
39083
  OraculoSectionTitle: () => OraculoSectionTitle,
39313
39084
  OraculoTopJuegoItem: () => OraculoSeccionTopJuegos,
39314
- OraculoWelcomeBanner: () => OraculoWelcomeBanner_default
39085
+ OraculoWelcomeBanner: () => OraculoWelcomeBanner_default,
39086
+ default: () => index_default
39315
39087
  });
39316
39088
  module.exports = __toCommonJS(index_exports);
39089
+ var index_default;
39317
39090
  var init_index = __esm({
39318
39091
  "src/index.ts"() {
39319
39092
  init_OraculoButton2();
@@ -39334,7 +39107,6 @@ var init_index = __esm({
39334
39107
  init_OraculoSeccionVirtuales();
39335
39108
  init_OraculoSeccionBonoBienvenida();
39336
39109
  init_OraculoSeccionClubOlimpo();
39337
- init_OraculoPageLanding();
39338
39110
  init_OraculoPageLandingPreview();
39339
39111
  init_InterfaceBonos();
39340
39112
  init_InterfaceCasino();
@@ -39344,6 +39116,7 @@ var init_index = __esm({
39344
39116
  init_InterfaceTopJuegos();
39345
39117
  init_InterfaceVirtuales();
39346
39118
  init_InterfaceDestacados();
39119
+ index_default = OraculoPageLandingPreview_default;
39347
39120
  }
39348
39121
  });
39349
39122
  init_index();
@@ -39357,7 +39130,6 @@ init_index();
39357
39130
  OraculoGameRankCard,
39358
39131
  OraculoGameSlide,
39359
39132
  OraculoLiveCasinoCard,
39360
- OraculoPageLanding,
39361
39133
  OraculoPageLandingPreview,
39362
39134
  OraculoSeccionBonoBienvenida,
39363
39135
  OraculoSeccionCasino,