oraculo-ui 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -32,16 +32,21 @@ var index_exports = {};
32
32
  __export(index_exports, {
33
33
  OraculoButton: () => OraculoButton,
34
34
  OraculoCarousel: () => OraculoCarousel_default,
35
+ OraculoCarouselDots: () => OraculoCarouselDots_default,
36
+ OraculoClubOlimpoVisual: () => OraculoClubOlimpoVisual_default,
35
37
  OraculoGameCard: () => OraculoGameCard_default,
36
38
  OraculoGameRankCard: () => OraculoGameRankCard,
37
39
  OraculoGameSlide: () => OraculoGameSlide_default,
38
40
  OraculoLiveCasinoCard: () => OraculoLiveCasinoCard_default,
41
+ OraculoSeccionBonoBienvenida: () => OraculoSeccionBonoBienvenida_default,
39
42
  OraculoSeccionCasino: () => OraculoSeccionCasino_default,
40
43
  OraculoSeccionCasinoEnVivo: () => OraculoSeccionCasinoEnVivo_default,
44
+ OraculoSeccionClubOlimpo: () => OraculoSeccionClubOlimpo_default,
41
45
  OraculoSeccionDestacados: () => OraculoSeccionDestacados,
42
46
  OraculoSeccionTopJuegos: () => OraculoSeccionTopJuegos,
43
47
  OraculoSeccionVirtuales: () => OraculoSeccionVirtuales_default,
44
- OraculoSectionTitle: () => OraculoSectionTitle
48
+ OraculoSectionTitle: () => OraculoSectionTitle,
49
+ OraculoWelcomeBanner: () => OraculoWelcomeBanner_default
45
50
  });
46
51
  module.exports = __toCommonJS(index_exports);
47
52
 
@@ -142,10 +147,34 @@ function OraculoSectionTitle({
142
147
  ] });
143
148
  }
144
149
 
150
+ // src/atoms/OraculoCarouselDots/OraculoCarouselDots.tsx
151
+ var import_jsx_runtime3 = require("react/jsx-runtime");
152
+ var OraculoCarouselDots = ({
153
+ total,
154
+ active,
155
+ onSelect,
156
+ className = ""
157
+ }) => {
158
+ if (total <= 1) return null;
159
+ const rootClass = ["orc-dots", className].filter(Boolean).join(" ");
160
+ 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)(
161
+ "button",
162
+ {
163
+ type: "button",
164
+ role: "tab",
165
+ "aria-selected": i === active,
166
+ "aria-label": `Ir al slide ${i + 1}`,
167
+ className: "orc-dots__dot" + (i === active ? " orc-dots__dot--active" : ""),
168
+ onClick: () => onSelect == null ? void 0 : onSelect(i)
169
+ }
170
+ ) }, i)) });
171
+ };
172
+ var OraculoCarouselDots_default = OraculoCarouselDots;
173
+
145
174
  // src/molecules/OraculoCarousel/OraculoCarousel.tsx
146
175
  var import_react = require("react");
147
176
  var import_react_splide = require("@splidejs/react-splide");
148
- var import_jsx_runtime3 = require("react/jsx-runtime");
177
+ var import_jsx_runtime4 = require("react/jsx-runtime");
149
178
  var Splide = import_react_splide.Splide;
150
179
  var SplideSlide = import_react_splide.SplideSlide;
151
180
  var OraculoCarousel = (0, import_react.forwardRef)(
@@ -194,7 +223,7 @@ var OraculoCarousel = (0, import_react.forwardRef)(
194
223
  },
195
224
  [handleMove]
196
225
  );
197
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className, style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
226
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className, style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
198
227
  Splide,
199
228
  {
200
229
  ref: splideRef,
@@ -216,7 +245,7 @@ var OraculoCarousel = (0, import_react.forwardRef)(
216
245
  onMounted: handleMounted,
217
246
  children: items.map((item, index) => {
218
247
  var _a;
219
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SplideSlide, { children: renderItem(item, index) }, (_a = item.id) != null ? _a : index);
248
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SplideSlide, { children: renderItem(item, index) }, (_a = item.id) != null ? _a : index);
220
249
  })
221
250
  }
222
251
  ) });
@@ -226,7 +255,7 @@ var OraculoCarousel_default = OraculoCarousel;
226
255
 
227
256
  // src/molecules/OraculoGameRankCard/OraculoGameRankCard.tsx
228
257
  var import_Box = __toESM(require("@mui/material/Box"));
229
- var import_jsx_runtime4 = require("react/jsx-runtime");
258
+ var import_jsx_runtime5 = require("react/jsx-runtime");
230
259
  function OraculoGameRankCard({
231
260
  imageUrl,
232
261
  orden = 1,
@@ -252,7 +281,7 @@ function OraculoGameRankCard({
252
281
  xs: Math.round(((_b = (_a = sizes.xs) == null ? void 0 : _a.font) != null ? _b : 64) * 0.28),
253
282
  md: Math.round(((_d = (_c = sizes.md) == null ? void 0 : _c.font) != null ? _d : 64) * 0.28)
254
283
  };
255
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
284
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
256
285
  import_Box.default,
257
286
  {
258
287
  onClick,
@@ -274,7 +303,7 @@ function OraculoGameRankCard({
274
303
  "&:hover": { transform: "translateY(-2px)", boxShadow: 8 }
275
304
  },
276
305
  children: [
277
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
306
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
278
307
  import_Box.default,
279
308
  {
280
309
  sx: {
@@ -284,7 +313,7 @@ function OraculoGameRankCard({
284
313
  overflow: "hidden"
285
314
  },
286
315
  children: [
287
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
316
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
288
317
  "img",
289
318
  {
290
319
  src: imageUrl,
@@ -298,7 +327,7 @@ function OraculoGameRankCard({
298
327
  }
299
328
  }
300
329
  ),
301
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
330
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
302
331
  import_Box.default,
303
332
  {
304
333
  sx: {
@@ -312,7 +341,7 @@ function OraculoGameRankCard({
312
341
  ]
313
342
  }
314
343
  ),
315
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
344
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
316
345
  import_Box.default,
317
346
  {
318
347
  component: "span",
@@ -345,7 +374,7 @@ function OraculoGameRankCard({
345
374
  // src/molecules/OraculoLiveCasinoCard/OraculoLiveCasinoCard.tsx
346
375
  var import_Box2 = __toESM(require("@mui/material/Box"));
347
376
  var import_Typography = __toESM(require("@mui/material/Typography"));
348
- var import_jsx_runtime5 = require("react/jsx-runtime");
377
+ var import_jsx_runtime6 = require("react/jsx-runtime");
349
378
  var OraculoLiveCasinoCard = ({
350
379
  logo,
351
380
  provider,
@@ -354,7 +383,7 @@ var OraculoLiveCasinoCard = ({
354
383
  onClick
355
384
  }) => {
356
385
  var _a;
357
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
386
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
358
387
  import_Box2.default,
359
388
  {
360
389
  onClick,
@@ -378,7 +407,7 @@ var OraculoLiveCasinoCard = ({
378
407
  }
379
408
  },
380
409
  children: [
381
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
410
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
382
411
  import_Box2.default,
383
412
  {
384
413
  component: "img",
@@ -394,7 +423,7 @@ var OraculoLiveCasinoCard = ({
394
423
  }
395
424
  }
396
425
  ),
397
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
426
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
398
427
  import_Box2.default,
399
428
  {
400
429
  className: "orc-live-provider-label",
@@ -408,7 +437,7 @@ var OraculoLiveCasinoCard = ({
408
437
  transition: "opacity .25s ease",
409
438
  pointerEvents: "none"
410
439
  },
411
- children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
440
+ children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
412
441
  import_Typography.default,
413
442
  {
414
443
  sx: {
@@ -430,14 +459,14 @@ var OraculoLiveCasinoCard_default = OraculoLiveCasinoCard;
430
459
 
431
460
  // src/molecules/OraculoGameCard/OraculoGameCard.tsx
432
461
  var import_Box3 = __toESM(require("@mui/material/Box"));
433
- var import_jsx_runtime6 = require("react/jsx-runtime");
462
+ var import_jsx_runtime7 = require("react/jsx-runtime");
434
463
  var OraculoGameCard = ({
435
464
  imageUrl,
436
465
  onClick,
437
466
  size = "sm"
438
467
  }) => {
439
468
  const dim = size === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 };
440
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
469
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
441
470
  import_Box3.default,
442
471
  {
443
472
  onClick,
@@ -457,7 +486,7 @@ var OraculoGameCard = ({
457
486
  },
458
487
  opacity: 1
459
488
  },
460
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
489
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
461
490
  "img",
462
491
  {
463
492
  src: imageUrl,
@@ -479,7 +508,7 @@ var OraculoGameCard_default = OraculoGameCard;
479
508
 
480
509
  // src/molecules/OraculoGameSlide/OraculoGameSlide.tsx
481
510
  var import_Box4 = __toESM(require("@mui/material/Box"));
482
- var import_jsx_runtime7 = require("react/jsx-runtime");
511
+ var import_jsx_runtime8 = require("react/jsx-runtime");
483
512
  var GAP = 12;
484
513
  var OraculoGameSlide = ({
485
514
  items,
@@ -489,7 +518,7 @@ var OraculoGameSlide = ({
489
518
  if (layout === "mosaic") {
490
519
  const big = items[0];
491
520
  const smalls = items.slice(1, 5);
492
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
521
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
493
522
  import_Box4.default,
494
523
  {
495
524
  sx: {
@@ -513,7 +542,7 @@ var OraculoGameSlide = ({
513
542
  justifyItems: "stretch"
514
543
  },
515
544
  children: [
516
- big && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
545
+ big && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
517
546
  import_Box4.default,
518
547
  {
519
548
  sx: {
@@ -524,17 +553,17 @@ var OraculoGameSlide = ({
524
553
  borderRadius: 2,
525
554
  "& > *": { width: "100%", height: "100%" }
526
555
  },
527
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
556
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
528
557
  OraculoGameCard_default,
529
558
  {
530
559
  imageUrl: big.imageUrl,
531
560
  size: "lg",
532
- onClick: () => onClick == null ? void 0 : onClick(big)
561
+ onClick: () => onClick == null ? void 0 : onClick(big, 0)
533
562
  }
534
563
  )
535
564
  }
536
565
  ),
537
- smalls.map((it) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
566
+ smalls.map((it, index) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
538
567
  import_Box4.default,
539
568
  {
540
569
  sx: {
@@ -544,12 +573,12 @@ var OraculoGameSlide = ({
544
573
  borderRadius: 2,
545
574
  "& > *": { width: "100%", height: "100%" }
546
575
  },
547
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
576
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
548
577
  OraculoGameCard_default,
549
578
  {
550
579
  imageUrl: it.imageUrl,
551
580
  size: "sm",
552
- onClick: () => onClick == null ? void 0 : onClick(it)
581
+ onClick: () => onClick == null ? void 0 : onClick(it, index)
553
582
  }
554
583
  )
555
584
  },
@@ -559,7 +588,7 @@ var OraculoGameSlide = ({
559
588
  }
560
589
  );
561
590
  }
562
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
591
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
563
592
  import_Box4.default,
564
593
  {
565
594
  sx: {
@@ -579,12 +608,12 @@ var OraculoGameSlide = ({
579
608
  "& > *": { width: "100%", height: "100%" }
580
609
  }
581
610
  },
582
- children: items.map((it) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_Box4.default, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
611
+ children: items.map((it, index) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_Box4.default, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
583
612
  OraculoGameCard_default,
584
613
  {
585
614
  imageUrl: it.imageUrl,
586
615
  size: "sm",
587
- onClick: () => onClick == null ? void 0 : onClick(it)
616
+ onClick: () => onClick == null ? void 0 : onClick(it, index)
588
617
  }
589
618
  ) }, it.id))
590
619
  }
@@ -592,6 +621,217 @@ var OraculoGameSlide = ({
592
621
  };
593
622
  var OraculoGameSlide_default = OraculoGameSlide;
594
623
 
624
+ // src/molecules/OraculoWelcomeBanner/OraculoWelcomeBanner.tsx
625
+ var import_Box5 = __toESM(require("@mui/material/Box"));
626
+ var import_Typography2 = __toESM(require("@mui/material/Typography"));
627
+ var import_jsx_runtime9 = require("react/jsx-runtime");
628
+ var OraculoWelcomeBanner = ({
629
+ title,
630
+ amount,
631
+ subtitle,
632
+ buttonText,
633
+ onButtonClick,
634
+ backgroundImage,
635
+ alt,
636
+ className = "",
637
+ variant = "small"
638
+ }) => {
639
+ const symbol = amount ? amount.slice(0, 2) : "";
640
+ const value = amount ? amount.slice(2) : "";
641
+ const isLarge = variant === "large";
642
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
643
+ import_Box5.default,
644
+ {
645
+ className,
646
+ sx: {
647
+ position: "relative",
648
+ width: "100%",
649
+ maxWidth: {
650
+ xs: 328,
651
+ lg: isLarge ? 618 : 456
652
+ },
653
+ mx: "auto"
654
+ },
655
+ children: [
656
+ backgroundImage && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
657
+ import_Box5.default,
658
+ {
659
+ sx: {
660
+ position: "relative",
661
+ width: "100%",
662
+ aspectRatio: {
663
+ xs: "328 / 188",
664
+ lg: isLarge ? "618 / 346" : "456 / 272"
665
+ },
666
+ borderRadius: "14px",
667
+ overflow: "hidden"
668
+ },
669
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
670
+ import_Box5.default,
671
+ {
672
+ component: "img",
673
+ src: backgroundImage,
674
+ alt: alt != null ? alt : "Fondo promocional",
675
+ sx: {
676
+ width: "100%",
677
+ height: "100%",
678
+ objectFit: "cover",
679
+ objectPosition: {
680
+ xs: "50% 0%",
681
+ lg: "45% 0%"
682
+ },
683
+ display: "block"
684
+ }
685
+ }
686
+ )
687
+ }
688
+ ),
689
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
690
+ import_Box5.default,
691
+ {
692
+ sx: {
693
+ position: "absolute",
694
+ inset: 0,
695
+ display: "flex",
696
+ alignItems: "center",
697
+ justifyContent: "flex-end",
698
+ color: "#e7f8ff",
699
+ textAlign: "center",
700
+ pl: "14%",
701
+ pr: { xs: "14%", lg: "15%" }
702
+ },
703
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
704
+ import_Box5.default,
705
+ {
706
+ sx: {
707
+ maxWidth: "60%",
708
+ display: "flex",
709
+ flexDirection: "column",
710
+ alignItems: "center"
711
+ },
712
+ children: [
713
+ title && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
714
+ import_Typography2.default,
715
+ {
716
+ sx: {
717
+ fontSize: { xs: 12, lg: 20 },
718
+ fontWeight: 400,
719
+ color: "#e7f8ff"
720
+ },
721
+ children: title
722
+ }
723
+ ),
724
+ amount && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
725
+ import_Box5.default,
726
+ {
727
+ component: "p",
728
+ sx: {
729
+ fontFamily: '"secondary", sans-serif',
730
+ lineHeight: { xs: 0.9, lg: 0.87 },
731
+ m: "4px 0",
732
+ background: "linear-gradient(175deg, #EDC421 -12.56%, #FFFABF 17.99%, #EDC421 49.74%)",
733
+ WebkitBackgroundClip: "text",
734
+ WebkitTextFillColor: "transparent",
735
+ WebkitTextStroke: "0.5px #fff8c1",
736
+ filter: "drop-shadow(0px 4px 0px #8D4406) drop-shadow(0px 4px 4px rgba(28, 28, 28, 0.4))",
737
+ display: "flex",
738
+ alignItems: "baseline",
739
+ justifyContent: "center"
740
+ },
741
+ children: [
742
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
743
+ import_Box5.default,
744
+ {
745
+ component: "span",
746
+ sx: { fontSize: { xs: 35, lg: 48 }, mr: 0.5 },
747
+ children: symbol
748
+ }
749
+ ),
750
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
751
+ import_Box5.default,
752
+ {
753
+ component: "span",
754
+ sx: { fontSize: { xs: 52, lg: 77 } },
755
+ children: value
756
+ }
757
+ )
758
+ ]
759
+ }
760
+ ),
761
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
762
+ import_Typography2.default,
763
+ {
764
+ sx: {
765
+ pb: "20px",
766
+ fontSize: 14,
767
+ fontWeight: 600,
768
+ color: "#e7f8ff"
769
+ },
770
+ children: subtitle
771
+ }
772
+ ),
773
+ buttonText && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(OraculoButton, { onClick: onButtonClick, children: buttonText })
774
+ ]
775
+ }
776
+ )
777
+ }
778
+ )
779
+ ]
780
+ }
781
+ );
782
+ };
783
+ var OraculoWelcomeBanner_default = OraculoWelcomeBanner;
784
+
785
+ // src/molecules/OraculoClubOlimpoVisual/OraculoClubOlimpoVisual.tsx
786
+ var import_jsx_runtime10 = require("react/jsx-runtime");
787
+ var OraculoClubOlimpoVisual = ({
788
+ text,
789
+ buttonLabel = "Conoce m\xE1s",
790
+ onClick,
791
+ imgAlt = "Club Olimpo",
792
+ imgSrcMobile,
793
+ imgSrcDesktopBg,
794
+ imgSrcDesktopLogo
795
+ }) => {
796
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
797
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
798
+ "img",
799
+ {
800
+ src: imgSrcMobile,
801
+ alt: imgAlt,
802
+ className: "orc-co-bgMobileImg"
803
+ }
804
+ ) }),
805
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "orc-co-bgDesktop", children: [
806
+ imgSrcDesktopBg && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
807
+ "img",
808
+ {
809
+ src: imgSrcDesktopBg,
810
+ alt: `${imgAlt} fondo`,
811
+ className: "orc-co-bgDesktopImg"
812
+ }
813
+ ) }),
814
+ imgSrcDesktopLogo && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "orc-co-logo", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
815
+ "img",
816
+ {
817
+ src: imgSrcDesktopLogo,
818
+ alt: `${imgAlt} logo`,
819
+ className: "orc-co-logoImg"
820
+ }
821
+ ) }),
822
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "orc-co-desktopContent", children: [
823
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "orc-co-captionDesktop", children: text }),
824
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OraculoButton, { onClick, variant: "primary", size: "md", children: buttonLabel })
825
+ ] })
826
+ ] }),
827
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "orc-co-bottom", children: [
828
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "orc-co-caption", children: text }),
829
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OraculoButton, { onClick, variant: "primary", size: "md", children: buttonLabel })
830
+ ] })
831
+ ] });
832
+ };
833
+ var OraculoClubOlimpoVisual_default = OraculoClubOlimpoVisual;
834
+
595
835
  // src/organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx
596
836
  var import_react2 = require("react");
597
837
 
@@ -599,19 +839,19 @@ var import_react2 = require("react");
599
839
  var import_utils = require("@mui/material/utils");
600
840
 
601
841
  // ../node_modules/@mui/icons-material/esm/ChevronLeftRounded.js
602
- var import_jsx_runtime8 = require("react/jsx-runtime");
603
- var ChevronLeftRounded_default = (0, import_utils.createSvgIcon)(/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("path", {
842
+ var import_jsx_runtime11 = require("react/jsx-runtime");
843
+ var ChevronLeftRounded_default = (0, import_utils.createSvgIcon)(/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", {
604
844
  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"
605
845
  }), "ChevronLeftRounded");
606
846
 
607
847
  // ../node_modules/@mui/icons-material/esm/ChevronRightRounded.js
608
- var import_jsx_runtime9 = require("react/jsx-runtime");
609
- var ChevronRightRounded_default = (0, import_utils.createSvgIcon)(/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", {
848
+ var import_jsx_runtime12 = require("react/jsx-runtime");
849
+ var ChevronRightRounded_default = (0, import_utils.createSvgIcon)(/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", {
610
850
  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"
611
851
  }), "ChevronRightRounded");
612
852
 
613
853
  // src/organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx
614
- var import_jsx_runtime10 = require("react/jsx-runtime");
854
+ var import_jsx_runtime13 = require("react/jsx-runtime");
615
855
  function OraculoSeccionDestacados({
616
856
  items,
617
857
  title = "Destacados",
@@ -633,8 +873,8 @@ function OraculoSeccionDestacados({
633
873
  onViewMore == null ? void 0 : onViewMore();
634
874
  };
635
875
  const sectionClassName = className || void 0;
636
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("section", { className: sectionClassName, style: { width: "100%" }, children: [
637
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
876
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { className: sectionClassName, style: { width: "100%" }, children: [
877
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
638
878
  "header",
639
879
  {
640
880
  style: {
@@ -646,7 +886,7 @@ function OraculoSeccionDestacados({
646
886
  marginBottom: 16
647
887
  },
648
888
  children: [
649
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
889
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
650
890
  OraculoSectionTitle,
651
891
  {
652
892
  title,
@@ -654,7 +894,7 @@ function OraculoSeccionDestacados({
654
894
  size: "md"
655
895
  }
656
896
  ),
657
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
897
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
658
898
  "div",
659
899
  {
660
900
  style: {
@@ -662,24 +902,24 @@ function OraculoSeccionDestacados({
662
902
  gap: 8
663
903
  },
664
904
  children: [
665
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
905
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
666
906
  OraculoButton,
667
907
  {
668
908
  ariaLabel: "Anterior",
669
909
  variant: "secondary",
670
910
  iconOnly: true,
671
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ChevronLeftRounded_default, {}),
911
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ChevronLeftRounded_default, {}),
672
912
  onClick: handlePrev,
673
913
  disabled: navState.isStart
674
914
  }
675
915
  ),
676
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
916
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
677
917
  OraculoButton,
678
918
  {
679
919
  ariaLabel: "Siguiente",
680
920
  variant: "secondary",
681
921
  iconOnly: true,
682
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ChevronRightRounded_default, {}),
922
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ChevronRightRounded_default, {}),
683
923
  onClick: handleNext,
684
924
  disabled: navState.isEnd
685
925
  }
@@ -687,11 +927,11 @@ function OraculoSeccionDestacados({
687
927
  ]
688
928
  }
689
929
  ),
690
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" })
930
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" })
691
931
  ]
692
932
  }
693
933
  ),
694
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
934
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
695
935
  OraculoCarousel_default,
696
936
  {
697
937
  ref: carouselRef,
@@ -705,14 +945,14 @@ function OraculoSeccionDestacados({
705
945
  },
706
946
  renderItem: (item) => {
707
947
  var _a;
708
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
948
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
709
949
  "div",
710
950
  {
711
951
  style: {
712
952
  textAlign: "center",
713
953
  marginTop: 16
714
954
  },
715
- children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
955
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
716
956
  "img",
717
957
  {
718
958
  src: item.src,
@@ -737,8 +977,8 @@ function OraculoSeccionDestacados({
737
977
 
738
978
  // src/organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx
739
979
  var import_Stack = __toESM(require("@mui/material/Stack"));
740
- var import_Box5 = __toESM(require("@mui/material/Box"));
741
- var import_jsx_runtime11 = require("react/jsx-runtime");
980
+ var import_Box6 = __toESM(require("@mui/material/Box"));
981
+ var import_jsx_runtime14 = require("react/jsx-runtime");
742
982
  function OraculoSeccionTopJuegos({
743
983
  items,
744
984
  title = "Top Juegos",
@@ -746,10 +986,10 @@ function OraculoSeccionTopJuegos({
746
986
  onCardClick,
747
987
  className
748
988
  }) {
749
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { className, style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_Stack.default, { direction: "column", spacing: 2, useFlexGap: true, children: [
750
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(OraculoSectionTitle, { title, iconUrl, size: "md" }),
751
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
752
- import_Box5.default,
989
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("section", { className, style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_Stack.default, { direction: "column", spacing: 2, useFlexGap: true, children: [
990
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(OraculoSectionTitle, { title, iconUrl, size: "md" }),
991
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
992
+ import_Box6.default,
753
993
  {
754
994
  sx: {
755
995
  display: "grid",
@@ -761,11 +1001,11 @@ function OraculoSeccionTopJuegos({
761
1001
  justifyItems: "center",
762
1002
  width: "100%"
763
1003
  },
764
- children: items.slice(0, 6).map((juego, idx) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1004
+ children: items.slice(0, 6).map((juego, idx) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
765
1005
  OraculoGameRankCard,
766
1006
  {
767
1007
  imageUrl: juego.logo || "",
768
- orden: juego.orden,
1008
+ orden: juego.orden || idx + 1,
769
1009
  onClick: () => console.log(juego.machine)
770
1010
  },
771
1011
  juego.machine
@@ -776,10 +1016,10 @@ function OraculoSeccionTopJuegos({
776
1016
  }
777
1017
 
778
1018
  // src/organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx
779
- var import_Box6 = __toESM(require("@mui/material/Box"));
1019
+ var import_Box7 = __toESM(require("@mui/material/Box"));
780
1020
  var import_Stack2 = __toESM(require("@mui/material/Stack"));
781
- var import_Typography2 = __toESM(require("@mui/material/Typography"));
782
- var import_jsx_runtime12 = require("react/jsx-runtime");
1021
+ var import_Typography3 = __toESM(require("@mui/material/Typography"));
1022
+ var import_jsx_runtime15 = require("react/jsx-runtime");
783
1023
  var OraculoSeccionCasinoEnVivo = ({
784
1024
  items,
785
1025
  title = "Casino en vivo",
@@ -790,8 +1030,8 @@ var OraculoSeccionCasinoEnVivo = ({
790
1030
  onViewMore,
791
1031
  className
792
1032
  }) => {
793
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
794
- import_Box6.default,
1033
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1034
+ import_Box7.default,
795
1035
  {
796
1036
  className,
797
1037
  sx: {
@@ -804,8 +1044,8 @@ var OraculoSeccionCasinoEnVivo = ({
804
1044
  overflow: "hidden"
805
1045
  },
806
1046
  children: [
807
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
808
- import_Box6.default,
1047
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1048
+ import_Box7.default,
809
1049
  {
810
1050
  sx: {
811
1051
  position: "absolute",
@@ -829,8 +1069,8 @@ var OraculoSeccionCasinoEnVivo = ({
829
1069
  }
830
1070
  }
831
1071
  ),
832
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
833
- import_Box6.default,
1072
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1073
+ import_Box7.default,
834
1074
  {
835
1075
  sx: {
836
1076
  position: "relative",
@@ -847,9 +1087,9 @@ var OraculoSeccionCasinoEnVivo = ({
847
1087
  textAlign: { xs: "center", md: "left" }
848
1088
  },
849
1089
  children: [
850
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_Stack2.default, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
851
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
852
- import_Typography2.default,
1090
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_Stack2.default, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1091
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1092
+ import_Typography3.default,
853
1093
  {
854
1094
  variant: "h4",
855
1095
  sx: {
@@ -861,8 +1101,8 @@ var OraculoSeccionCasinoEnVivo = ({
861
1101
  children: title
862
1102
  }
863
1103
  ),
864
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
865
- import_Typography2.default,
1104
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1105
+ import_Typography3.default,
866
1106
  {
867
1107
  sx: {
868
1108
  fontSize: { xs: 14, md: 18 },
@@ -873,7 +1113,7 @@ var OraculoSeccionCasinoEnVivo = ({
873
1113
  children: subtitle
874
1114
  }
875
1115
  ),
876
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_Box6.default, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1116
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Box7.default, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
877
1117
  OraculoButton,
878
1118
  {
879
1119
  variant: "primary",
@@ -883,8 +1123,8 @@ var OraculoSeccionCasinoEnVivo = ({
883
1123
  }
884
1124
  ) })
885
1125
  ] }),
886
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
887
- import_Box6.default,
1126
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1127
+ import_Box7.default,
888
1128
  {
889
1129
  sx: {
890
1130
  display: "flex",
@@ -896,7 +1136,7 @@ var OraculoSeccionCasinoEnVivo = ({
896
1136
  },
897
1137
  children: items.map((juego, idx) => {
898
1138
  var _a, _b;
899
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1139
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
900
1140
  OraculoLiveCasinoCard_default,
901
1141
  {
902
1142
  logo: (_b = juego.logo) != null ? _b : "",
@@ -905,12 +1145,12 @@ var OraculoSeccionCasinoEnVivo = ({
905
1145
  machine: juego.machine,
906
1146
  onClick: () => onCardClick == null ? void 0 : onCardClick(juego, idx)
907
1147
  },
908
- (_a = juego.machine) != null ? _a : idx
1148
+ (_a = juego.orden) != null ? _a : idx
909
1149
  );
910
1150
  })
911
1151
  }
912
1152
  ),
913
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_Box6.default, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1153
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Box7.default, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
914
1154
  OraculoButton,
915
1155
  {
916
1156
  variant: "primary",
@@ -931,14 +1171,14 @@ var OraculoSeccionCasinoEnVivo_default = OraculoSeccionCasinoEnVivo;
931
1171
  // src/organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx
932
1172
  var import_react3 = require("react");
933
1173
  var import_Stack3 = __toESM(require("@mui/material/Stack"));
934
- var import_Box7 = __toESM(require("@mui/material/Box"));
935
- var import_jsx_runtime13 = require("react/jsx-runtime");
1174
+ var import_Box8 = __toESM(require("@mui/material/Box"));
1175
+ var import_jsx_runtime16 = require("react/jsx-runtime");
936
1176
  var buildCasinoSlides = (games, mosaicFirst = true, gridSize = 4) => {
937
1177
  const baseItems = games.map((g, idx) => {
938
- var _a, _b, _c, _d;
1178
+ var _a, _b, _c;
939
1179
  return {
940
- id: (_b = (_a = g.id) != null ? _a : g.machine) != null ? _b : idx,
941
- imageUrl: (_d = (_c = g.imageUrl) != null ? _c : g.logo) != null ? _d : ""
1180
+ id: (_b = (_a = g.orden) != null ? _a : g.machine) != null ? _b : idx,
1181
+ imageUrl: (_c = g.logo) != null ? _c : ""
942
1182
  };
943
1183
  });
944
1184
  if (!baseItems.length) return [];
@@ -988,9 +1228,9 @@ var OraculoSeccionCasino = ({
988
1228
  const handleViewMore = () => {
989
1229
  onViewMore == null ? void 0 : onViewMore();
990
1230
  };
991
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("section", { className, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_Stack3.default, { direction: "column", spacing: 2, useFlexGap: true, children: [
992
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
993
- import_Box7.default,
1231
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("section", { className, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_Stack3.default, { direction: "column", spacing: 2, useFlexGap: true, children: [
1232
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1233
+ import_Box8.default,
994
1234
  {
995
1235
  sx: {
996
1236
  display: "grid",
@@ -1000,7 +1240,7 @@ var OraculoSeccionCasino = ({
1000
1240
  rowGap: 1
1001
1241
  },
1002
1242
  children: [
1003
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1243
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1004
1244
  OraculoSectionTitle,
1005
1245
  {
1006
1246
  title,
@@ -1008,8 +1248,8 @@ var OraculoSeccionCasino = ({
1008
1248
  size: "md"
1009
1249
  }
1010
1250
  ),
1011
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1012
- import_Box7.default,
1251
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1252
+ import_Box8.default,
1013
1253
  {
1014
1254
  sx: {
1015
1255
  display: "flex",
@@ -1017,24 +1257,24 @@ var OraculoSeccionCasino = ({
1017
1257
  justifyContent: "flex-end"
1018
1258
  },
1019
1259
  children: [
1020
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1260
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1021
1261
  OraculoButton,
1022
1262
  {
1023
1263
  ariaLabel: "Anterior",
1024
1264
  variant: "secondary",
1025
1265
  iconOnly: true,
1026
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ChevronLeftRounded_default, {}),
1266
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ChevronLeftRounded_default, {}),
1027
1267
  onClick: handlePrev,
1028
1268
  disabled: navState.isStart
1029
1269
  }
1030
1270
  ),
1031
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1271
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1032
1272
  OraculoButton,
1033
1273
  {
1034
1274
  ariaLabel: "Siguiente",
1035
1275
  variant: "secondary",
1036
1276
  iconOnly: true,
1037
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ChevronRightRounded_default, {}),
1277
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ChevronRightRounded_default, {}),
1038
1278
  onClick: handleNext,
1039
1279
  disabled: navState.isEnd
1040
1280
  }
@@ -1042,11 +1282,11 @@ var OraculoSeccionCasino = ({
1042
1282
  ]
1043
1283
  }
1044
1284
  ),
1045
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_Box7.default, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
1285
+ /* @__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" }) })
1046
1286
  ]
1047
1287
  }
1048
1288
  ),
1049
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1289
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1050
1290
  OraculoCarousel_default,
1051
1291
  {
1052
1292
  ref: carouselRef,
@@ -1062,7 +1302,7 @@ var OraculoSeccionCasino = ({
1062
1302
  drag: true,
1063
1303
  focus: "start"
1064
1304
  },
1065
- renderItem: (slide) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1305
+ renderItem: (slide) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1066
1306
  OraculoGameSlide_default,
1067
1307
  {
1068
1308
  items: slide.items,
@@ -1070,8 +1310,8 @@ var OraculoSeccionCasino = ({
1070
1310
  onClick: (itm) => {
1071
1311
  const game = items.find(
1072
1312
  (g, idx) => {
1073
- var _a, _b;
1074
- return ((_b = (_a = g.id) != null ? _a : g.machine) != null ? _b : idx) === itm.id;
1313
+ var _a;
1314
+ return ((_a = g.orden) != null ? _a : idx) === itm.id;
1075
1315
  }
1076
1316
  );
1077
1317
  if (game) onItemClick == null ? void 0 : onItemClick(game);
@@ -1088,14 +1328,14 @@ var OraculoSeccionCasino_default = OraculoSeccionCasino;
1088
1328
  // src/organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx
1089
1329
  var import_react4 = require("react");
1090
1330
  var import_Stack4 = __toESM(require("@mui/material/Stack"));
1091
- var import_Box8 = __toESM(require("@mui/material/Box"));
1092
- var import_jsx_runtime14 = require("react/jsx-runtime");
1331
+ var import_Box9 = __toESM(require("@mui/material/Box"));
1332
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1093
1333
  var buildVirtualSlides = (games, mosaicFirst = true, gridSize = 4) => {
1094
1334
  const baseItems = games.map((g, idx) => {
1095
- var _a, _b, _c, _d;
1335
+ var _a, _b;
1096
1336
  return {
1097
- id: (_b = (_a = g.id) != null ? _a : g.machine) != null ? _b : idx,
1098
- imageUrl: (_d = (_c = g.imageUrl) != null ? _c : g.logo) != null ? _d : ""
1337
+ id: (_a = g.orden) != null ? _a : idx,
1338
+ imageUrl: (_b = g.logo) != null ? _b : ""
1099
1339
  };
1100
1340
  });
1101
1341
  if (!baseItems.length) return [];
@@ -1145,9 +1385,9 @@ var OraculoSeccionVirtuales = ({
1145
1385
  const handleViewMore = () => {
1146
1386
  onViewMore == null ? void 0 : onViewMore();
1147
1387
  };
1148
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("section", { className, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_Stack4.default, { direction: "column", spacing: 2, useFlexGap: true, children: [
1149
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1150
- import_Box8.default,
1388
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("section", { className, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Stack4.default, { direction: "column", spacing: 2, useFlexGap: true, children: [
1389
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1390
+ import_Box9.default,
1151
1391
  {
1152
1392
  sx: {
1153
1393
  display: "grid",
@@ -1157,7 +1397,7 @@ var OraculoSeccionVirtuales = ({
1157
1397
  rowGap: 1
1158
1398
  },
1159
1399
  children: [
1160
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1400
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1161
1401
  OraculoSectionTitle,
1162
1402
  {
1163
1403
  title,
@@ -1165,8 +1405,8 @@ var OraculoSeccionVirtuales = ({
1165
1405
  size: "md"
1166
1406
  }
1167
1407
  ),
1168
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1169
- import_Box8.default,
1408
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1409
+ import_Box9.default,
1170
1410
  {
1171
1411
  sx: {
1172
1412
  display: "flex",
@@ -1174,24 +1414,24 @@ var OraculoSeccionVirtuales = ({
1174
1414
  justifyContent: "flex-end"
1175
1415
  },
1176
1416
  children: [
1177
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1417
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1178
1418
  OraculoButton,
1179
1419
  {
1180
1420
  ariaLabel: "Anterior",
1181
1421
  variant: "secondary",
1182
1422
  iconOnly: true,
1183
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ChevronLeftRounded_default, {}),
1423
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ChevronLeftRounded_default, {}),
1184
1424
  onClick: handlePrev,
1185
1425
  disabled: navState.isStart
1186
1426
  }
1187
1427
  ),
1188
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1428
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1189
1429
  OraculoButton,
1190
1430
  {
1191
1431
  ariaLabel: "Siguiente",
1192
1432
  variant: "secondary",
1193
1433
  iconOnly: true,
1194
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ChevronRightRounded_default, {}),
1434
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ChevronRightRounded_default, {}),
1195
1435
  onClick: handleNext,
1196
1436
  disabled: navState.isEnd
1197
1437
  }
@@ -1199,11 +1439,11 @@ var OraculoSeccionVirtuales = ({
1199
1439
  ]
1200
1440
  }
1201
1441
  ),
1202
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_Box8.default, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
1442
+ /* @__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" }) })
1203
1443
  ]
1204
1444
  }
1205
1445
  ),
1206
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1446
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1207
1447
  OraculoCarousel_default,
1208
1448
  {
1209
1449
  ref: carouselRef,
@@ -1220,7 +1460,7 @@ var OraculoSeccionVirtuales = ({
1220
1460
  focus: "start",
1221
1461
  perMove: 1
1222
1462
  },
1223
- renderItem: (slide) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1463
+ renderItem: (slide) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1224
1464
  OraculoGameSlide_default,
1225
1465
  {
1226
1466
  items: slide.items,
@@ -1228,8 +1468,8 @@ var OraculoSeccionVirtuales = ({
1228
1468
  onClick: (itm) => {
1229
1469
  const game = items.find(
1230
1470
  (g, idx) => {
1231
- var _a, _b;
1232
- return ((_b = (_a = g.id) != null ? _a : g.machine) != null ? _b : idx) === itm.id;
1471
+ var _a;
1472
+ return ((_a = g.orden) != null ? _a : idx) === itm.id;
1233
1473
  }
1234
1474
  );
1235
1475
  if (game) onItemClick == null ? void 0 : onItemClick(game);
@@ -1242,18 +1482,272 @@ var OraculoSeccionVirtuales = ({
1242
1482
  ] }) });
1243
1483
  };
1244
1484
  var OraculoSeccionVirtuales_default = OraculoSeccionVirtuales;
1485
+
1486
+ // src/organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx
1487
+ var import_react5 = require("react");
1488
+ var import_Box10 = __toESM(require("@mui/material/Box"));
1489
+ var import_Typography4 = __toESM(require("@mui/material/Typography"));
1490
+ var import_useMediaQuery = __toESM(require("@mui/material/useMediaQuery"));
1491
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1492
+ var buildSectionSx = (bgUrl) => ({
1493
+ width: "100vw",
1494
+ position: "relative",
1495
+ left: "50%",
1496
+ right: "50%",
1497
+ marginLeft: "-50vw",
1498
+ marginRight: "-50vw",
1499
+ py: 8,
1500
+ color: "#fff",
1501
+ backgroundImage: `
1502
+ linear-gradient(to bottom,#121212 0%, rgba(18,18,18,0) 10%),
1503
+ linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
1504
+ linear-gradient(to left, #121212 0%, rgba(18,18,18,0) 10%),
1505
+ linear-gradient(to right, #121212 0%, rgba(18,18,18,0) 10%),
1506
+ url("${bgUrl}")
1507
+ `,
1508
+ backgroundRepeat: "no-repeat",
1509
+ backgroundPosition: "center",
1510
+ backgroundSize: "cover"
1511
+ });
1512
+ var headlineBaseSx = {
1513
+ textAlign: "center",
1514
+ lineHeight: 1.1,
1515
+ mb: 1.5
1516
+ };
1517
+ var hlTopSx = {
1518
+ display: "inline-block",
1519
+ fontWeight: 600,
1520
+ fontSize: 24
1521
+ };
1522
+ var hlBottomSx = {
1523
+ display: "inline-block",
1524
+ fontSize: 24,
1525
+ lineHeight: 1.1,
1526
+ WebkitTextStroke: "0.3px rgba(255, 255, 255, .5)",
1527
+ textShadow: `
1528
+ 0 0 2px rgba(255, 255, 255, .95),
1529
+ 0 0 6px rgba(255, 255, 255, .6),
1530
+ 0 1px 0 rgba(137, 137, 137, .85)
1531
+ `
1532
+ };
1533
+ var OraculoSeccionBonoBienvenida = ({
1534
+ headline,
1535
+ items,
1536
+ backgroundImageUrl
1537
+ }) => {
1538
+ const [hl1 = "", hl2 = ""] = (headline || "").split("\n");
1539
+ const isMobile = (0, import_useMediaQuery.default)("(max-width: 767px)");
1540
+ const showDots = items.length > 1;
1541
+ const bgUrl = backgroundImageUrl != null ? backgroundImageUrl : "/assets/img/home/BonoBienvenida/Fondobg.png";
1542
+ const sectionSx = buildSectionSx(bgUrl);
1543
+ const carouselRef = (0, import_react5.useRef)(null);
1544
+ const [navState, setNavState] = (0, import_react5.useState)({ isStart: true, isEnd: false });
1545
+ const [activeIndex, setActiveIndex] = (0, import_react5.useState)(0);
1546
+ if (isMobile) {
1547
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1548
+ import_Box10.default,
1549
+ {
1550
+ component: "section",
1551
+ sx: {
1552
+ ...sectionSx,
1553
+ textAlign: "center"
1554
+ },
1555
+ children: [
1556
+ (hl1 || hl2) && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_Box10.default, { sx: headlineBaseSx, children: [
1557
+ hl1 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Typography4.default, { component: "span", sx: hlTopSx, children: hl1 }),
1558
+ hl2 && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
1559
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("br", {}),
1560
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Typography4.default, { component: "span", sx: hlBottomSx, children: hl2 })
1561
+ ] })
1562
+ ] }),
1563
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_Box10.default, { children: [
1564
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1565
+ OraculoCarousel_default,
1566
+ {
1567
+ ref: carouselRef,
1568
+ items,
1569
+ perPage: 1,
1570
+ gap: "12px",
1571
+ breakpoints: {
1572
+ 480: {
1573
+ perPage: 1,
1574
+ gap: "8px",
1575
+ padding: { left: "8px", right: "8px" }
1576
+ },
1577
+ 768: {
1578
+ perPage: 1,
1579
+ gap: "12px",
1580
+ padding: { left: "8px", right: "8px" }
1581
+ }
1582
+ },
1583
+ options: {
1584
+ autoWidth: false
1585
+ },
1586
+ renderItem: (it) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(OraculoWelcomeBanner_default, { ...it, onButtonClick: items[0].onButtonClick }),
1587
+ onMove: ({ index, isStart, isEnd }) => {
1588
+ setNavState({ isStart, isEnd });
1589
+ setActiveIndex(index);
1590
+ }
1591
+ }
1592
+ ),
1593
+ showDots && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1594
+ OraculoCarouselDots_default,
1595
+ {
1596
+ total: items.length,
1597
+ active: activeIndex,
1598
+ onSelect: (i) => {
1599
+ var _a;
1600
+ setActiveIndex(i);
1601
+ (_a = carouselRef.current) == null ? void 0 : _a.go(i);
1602
+ }
1603
+ }
1604
+ )
1605
+ ] })
1606
+ ]
1607
+ }
1608
+ );
1609
+ }
1610
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Box10.default, { component: "section", sx: sectionSx, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1611
+ import_Box10.default,
1612
+ {
1613
+ sx: {
1614
+ maxWidth: 1200,
1615
+ mx: 5,
1616
+ px: 2,
1617
+ display: "grid",
1618
+ gridTemplateColumns: "200px auto",
1619
+ alignItems: "center"
1620
+ },
1621
+ children: [
1622
+ (hl1 || hl2) && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1623
+ import_Box10.default,
1624
+ {
1625
+ sx: {
1626
+ display: "flex",
1627
+ alignItems: "center",
1628
+ justifyContent: "flex-start",
1629
+ minHeight: "100%"
1630
+ },
1631
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1632
+ import_Box10.default,
1633
+ {
1634
+ sx: {
1635
+ ...headlineBaseSx,
1636
+ textAlign: "left",
1637
+ mb: 0
1638
+ },
1639
+ children: [
1640
+ hl1 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Typography4.default, { component: "span", sx: hlTopSx, children: hl1 }),
1641
+ hl2 && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
1642
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("br", {}),
1643
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Typography4.default, { component: "span", sx: hlBottomSx, children: hl2 })
1644
+ ] })
1645
+ ]
1646
+ }
1647
+ )
1648
+ }
1649
+ ),
1650
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1651
+ import_Box10.default,
1652
+ {
1653
+ sx: {
1654
+ display: "flex",
1655
+ justifyContent: "center",
1656
+ alignItems: "center",
1657
+ flexWrap: "nowrap",
1658
+ gap: 4
1659
+ },
1660
+ children: items.map((it, idx) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1661
+ OraculoWelcomeBanner_default,
1662
+ {
1663
+ onButtonClick: it.onButtonClick,
1664
+ ...it
1665
+ },
1666
+ idx
1667
+ ))
1668
+ }
1669
+ )
1670
+ ]
1671
+ }
1672
+ ) });
1673
+ };
1674
+ var OraculoSeccionBonoBienvenida_default = OraculoSeccionBonoBienvenida;
1675
+
1676
+ // src/organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.tsx
1677
+ var import_react6 = require("react");
1678
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1679
+ var OraculoSeccionClubOlimpo = ({
1680
+ className = "",
1681
+ fullBleed = true,
1682
+ items,
1683
+ selectedIndex = 0,
1684
+ ariaLabel
1685
+ }) => {
1686
+ const rootRef = (0, import_react6.useRef)(null);
1687
+ const bottomRef = (0, import_react6.useRef)(null);
1688
+ if (!items || items.length === 0) return null;
1689
+ const safeIndex = Math.min(Math.max(selectedIndex, 0), items.length - 1);
1690
+ const item = items[safeIndex];
1691
+ (0, import_react6.useLayoutEffect)(() => {
1692
+ if (!rootRef.current || !bottomRef.current) return;
1693
+ if (typeof ResizeObserver === "undefined") return;
1694
+ const root = rootRef.current;
1695
+ const bottom = bottomRef.current;
1696
+ const update = () => {
1697
+ root.style.setProperty(
1698
+ "--orc-co-bottomH",
1699
+ `${bottom.offsetHeight + 16}px`
1700
+ );
1701
+ };
1702
+ const ro = new ResizeObserver(update);
1703
+ ro.observe(bottom);
1704
+ update();
1705
+ return () => ro.disconnect();
1706
+ }, []);
1707
+ const rootClass = [
1708
+ "orc-co-wrap",
1709
+ fullBleed ? "orc-co-fullBleed" : "",
1710
+ className
1711
+ ].filter(Boolean).join(" ");
1712
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1713
+ "section",
1714
+ {
1715
+ ref: rootRef,
1716
+ className: rootClass,
1717
+ "aria-label": ariaLabel || item.imgAlt || "Club Olimpo",
1718
+ children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { ref: bottomRef, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1719
+ OraculoClubOlimpoVisual_default,
1720
+ {
1721
+ text: item.text,
1722
+ onClick: item.onClick,
1723
+ imgAlt: item.imgAlt,
1724
+ imgSrcMobile: item.images.mobile,
1725
+ imgSrcDesktopBg: item.images.desktopBg,
1726
+ imgSrcDesktopLogo: item.images.desktopLogo,
1727
+ priority: item.priority
1728
+ }
1729
+ ) })
1730
+ }
1731
+ );
1732
+ };
1733
+ var OraculoSeccionClubOlimpo_default = OraculoSeccionClubOlimpo;
1245
1734
  // Annotate the CommonJS export names for ESM import in node:
1246
1735
  0 && (module.exports = {
1247
1736
  OraculoButton,
1248
1737
  OraculoCarousel,
1738
+ OraculoCarouselDots,
1739
+ OraculoClubOlimpoVisual,
1249
1740
  OraculoGameCard,
1250
1741
  OraculoGameRankCard,
1251
1742
  OraculoGameSlide,
1252
1743
  OraculoLiveCasinoCard,
1744
+ OraculoSeccionBonoBienvenida,
1253
1745
  OraculoSeccionCasino,
1254
1746
  OraculoSeccionCasinoEnVivo,
1747
+ OraculoSeccionClubOlimpo,
1255
1748
  OraculoSeccionDestacados,
1256
1749
  OraculoSeccionTopJuegos,
1257
1750
  OraculoSeccionVirtuales,
1258
- OraculoSectionTitle
1751
+ OraculoSectionTitle,
1752
+ OraculoWelcomeBanner
1259
1753
  });