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.mjs CHANGED
@@ -95,6 +95,30 @@ function OraculoSectionTitle({
95
95
  ] });
96
96
  }
97
97
 
98
+ // src/atoms/OraculoCarouselDots/OraculoCarouselDots.tsx
99
+ import { jsx as jsx3 } from "react/jsx-runtime";
100
+ var OraculoCarouselDots = ({
101
+ total,
102
+ active,
103
+ onSelect,
104
+ className = ""
105
+ }) => {
106
+ if (total <= 1) return null;
107
+ const rootClass = ["orc-dots", className].filter(Boolean).join(" ");
108
+ return /* @__PURE__ */ jsx3("div", { className: rootClass, role: "tablist", children: Array.from({ length: total }).map((_, i) => /* @__PURE__ */ jsx3("span", { className: "orc-dots__cell", children: /* @__PURE__ */ jsx3(
109
+ "button",
110
+ {
111
+ type: "button",
112
+ role: "tab",
113
+ "aria-selected": i === active,
114
+ "aria-label": `Ir al slide ${i + 1}`,
115
+ className: "orc-dots__dot" + (i === active ? " orc-dots__dot--active" : ""),
116
+ onClick: () => onSelect == null ? void 0 : onSelect(i)
117
+ }
118
+ ) }, i)) });
119
+ };
120
+ var OraculoCarouselDots_default = OraculoCarouselDots;
121
+
98
122
  // src/molecules/OraculoCarousel/OraculoCarousel.tsx
99
123
  import {
100
124
  useRef,
@@ -106,7 +130,7 @@ import {
106
130
  Splide as SplideRaw,
107
131
  SplideSlide as SplideSlideRaw
108
132
  } from "@splidejs/react-splide";
109
- import { jsx as jsx3 } from "react/jsx-runtime";
133
+ import { jsx as jsx4 } from "react/jsx-runtime";
110
134
  var Splide = SplideRaw;
111
135
  var SplideSlide = SplideSlideRaw;
112
136
  var OraculoCarousel = forwardRef(
@@ -155,7 +179,7 @@ var OraculoCarousel = forwardRef(
155
179
  },
156
180
  [handleMove]
157
181
  );
158
- return /* @__PURE__ */ jsx3("div", { className, style: { width: "100%" }, children: /* @__PURE__ */ jsx3(
182
+ return /* @__PURE__ */ jsx4("div", { className, style: { width: "100%" }, children: /* @__PURE__ */ jsx4(
159
183
  Splide,
160
184
  {
161
185
  ref: splideRef,
@@ -177,7 +201,7 @@ var OraculoCarousel = forwardRef(
177
201
  onMounted: handleMounted,
178
202
  children: items.map((item, index) => {
179
203
  var _a;
180
- return /* @__PURE__ */ jsx3(SplideSlide, { children: renderItem(item, index) }, (_a = item.id) != null ? _a : index);
204
+ return /* @__PURE__ */ jsx4(SplideSlide, { children: renderItem(item, index) }, (_a = item.id) != null ? _a : index);
181
205
  })
182
206
  }
183
207
  ) });
@@ -187,7 +211,7 @@ var OraculoCarousel_default = OraculoCarousel;
187
211
 
188
212
  // src/molecules/OraculoGameRankCard/OraculoGameRankCard.tsx
189
213
  import Box from "@mui/material/Box";
190
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
214
+ import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
191
215
  function OraculoGameRankCard({
192
216
  imageUrl,
193
217
  orden = 1,
@@ -245,7 +269,7 @@ function OraculoGameRankCard({
245
269
  overflow: "hidden"
246
270
  },
247
271
  children: [
248
- /* @__PURE__ */ jsx4(
272
+ /* @__PURE__ */ jsx5(
249
273
  "img",
250
274
  {
251
275
  src: imageUrl,
@@ -259,7 +283,7 @@ function OraculoGameRankCard({
259
283
  }
260
284
  }
261
285
  ),
262
- /* @__PURE__ */ jsx4(
286
+ /* @__PURE__ */ jsx5(
263
287
  Box,
264
288
  {
265
289
  sx: {
@@ -273,7 +297,7 @@ function OraculoGameRankCard({
273
297
  ]
274
298
  }
275
299
  ),
276
- /* @__PURE__ */ jsx4(
300
+ /* @__PURE__ */ jsx5(
277
301
  Box,
278
302
  {
279
303
  component: "span",
@@ -306,7 +330,7 @@ function OraculoGameRankCard({
306
330
  // src/molecules/OraculoLiveCasinoCard/OraculoLiveCasinoCard.tsx
307
331
  import Box2 from "@mui/material/Box";
308
332
  import Typography from "@mui/material/Typography";
309
- import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
333
+ import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
310
334
  var OraculoLiveCasinoCard = ({
311
335
  logo,
312
336
  provider,
@@ -339,7 +363,7 @@ var OraculoLiveCasinoCard = ({
339
363
  }
340
364
  },
341
365
  children: [
342
- /* @__PURE__ */ jsx5(
366
+ /* @__PURE__ */ jsx6(
343
367
  Box2,
344
368
  {
345
369
  component: "img",
@@ -355,7 +379,7 @@ var OraculoLiveCasinoCard = ({
355
379
  }
356
380
  }
357
381
  ),
358
- /* @__PURE__ */ jsx5(
382
+ /* @__PURE__ */ jsx6(
359
383
  Box2,
360
384
  {
361
385
  className: "orc-live-provider-label",
@@ -369,7 +393,7 @@ var OraculoLiveCasinoCard = ({
369
393
  transition: "opacity .25s ease",
370
394
  pointerEvents: "none"
371
395
  },
372
- children: /* @__PURE__ */ jsx5(
396
+ children: /* @__PURE__ */ jsx6(
373
397
  Typography,
374
398
  {
375
399
  sx: {
@@ -391,14 +415,14 @@ var OraculoLiveCasinoCard_default = OraculoLiveCasinoCard;
391
415
 
392
416
  // src/molecules/OraculoGameCard/OraculoGameCard.tsx
393
417
  import Box3 from "@mui/material/Box";
394
- import { jsx as jsx6 } from "react/jsx-runtime";
418
+ import { jsx as jsx7 } from "react/jsx-runtime";
395
419
  var OraculoGameCard = ({
396
420
  imageUrl,
397
421
  onClick,
398
422
  size = "sm"
399
423
  }) => {
400
424
  const dim = size === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 };
401
- return /* @__PURE__ */ jsx6(
425
+ return /* @__PURE__ */ jsx7(
402
426
  Box3,
403
427
  {
404
428
  onClick,
@@ -418,7 +442,7 @@ var OraculoGameCard = ({
418
442
  },
419
443
  opacity: 1
420
444
  },
421
- children: /* @__PURE__ */ jsx6(
445
+ children: /* @__PURE__ */ jsx7(
422
446
  "img",
423
447
  {
424
448
  src: imageUrl,
@@ -440,7 +464,7 @@ var OraculoGameCard_default = OraculoGameCard;
440
464
 
441
465
  // src/molecules/OraculoGameSlide/OraculoGameSlide.tsx
442
466
  import Box4 from "@mui/material/Box";
443
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
467
+ import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
444
468
  var GAP = 12;
445
469
  var OraculoGameSlide = ({
446
470
  items,
@@ -474,7 +498,7 @@ var OraculoGameSlide = ({
474
498
  justifyItems: "stretch"
475
499
  },
476
500
  children: [
477
- big && /* @__PURE__ */ jsx7(
501
+ big && /* @__PURE__ */ jsx8(
478
502
  Box4,
479
503
  {
480
504
  sx: {
@@ -485,17 +509,17 @@ var OraculoGameSlide = ({
485
509
  borderRadius: 2,
486
510
  "& > *": { width: "100%", height: "100%" }
487
511
  },
488
- children: /* @__PURE__ */ jsx7(
512
+ children: /* @__PURE__ */ jsx8(
489
513
  OraculoGameCard_default,
490
514
  {
491
515
  imageUrl: big.imageUrl,
492
516
  size: "lg",
493
- onClick: () => onClick == null ? void 0 : onClick(big)
517
+ onClick: () => onClick == null ? void 0 : onClick(big, 0)
494
518
  }
495
519
  )
496
520
  }
497
521
  ),
498
- smalls.map((it) => /* @__PURE__ */ jsx7(
522
+ smalls.map((it, index) => /* @__PURE__ */ jsx8(
499
523
  Box4,
500
524
  {
501
525
  sx: {
@@ -505,12 +529,12 @@ var OraculoGameSlide = ({
505
529
  borderRadius: 2,
506
530
  "& > *": { width: "100%", height: "100%" }
507
531
  },
508
- children: /* @__PURE__ */ jsx7(
532
+ children: /* @__PURE__ */ jsx8(
509
533
  OraculoGameCard_default,
510
534
  {
511
535
  imageUrl: it.imageUrl,
512
536
  size: "sm",
513
- onClick: () => onClick == null ? void 0 : onClick(it)
537
+ onClick: () => onClick == null ? void 0 : onClick(it, index)
514
538
  }
515
539
  )
516
540
  },
@@ -520,7 +544,7 @@ var OraculoGameSlide = ({
520
544
  }
521
545
  );
522
546
  }
523
- return /* @__PURE__ */ jsx7(
547
+ return /* @__PURE__ */ jsx8(
524
548
  Box4,
525
549
  {
526
550
  sx: {
@@ -540,12 +564,12 @@ var OraculoGameSlide = ({
540
564
  "& > *": { width: "100%", height: "100%" }
541
565
  }
542
566
  },
543
- children: items.map((it) => /* @__PURE__ */ jsx7(Box4, { children: /* @__PURE__ */ jsx7(
567
+ children: items.map((it, index) => /* @__PURE__ */ jsx8(Box4, { children: /* @__PURE__ */ jsx8(
544
568
  OraculoGameCard_default,
545
569
  {
546
570
  imageUrl: it.imageUrl,
547
571
  size: "sm",
548
- onClick: () => onClick == null ? void 0 : onClick(it)
572
+ onClick: () => onClick == null ? void 0 : onClick(it, index)
549
573
  }
550
574
  ) }, it.id))
551
575
  }
@@ -553,6 +577,217 @@ var OraculoGameSlide = ({
553
577
  };
554
578
  var OraculoGameSlide_default = OraculoGameSlide;
555
579
 
580
+ // src/molecules/OraculoWelcomeBanner/OraculoWelcomeBanner.tsx
581
+ import Box5 from "@mui/material/Box";
582
+ import Typography2 from "@mui/material/Typography";
583
+ import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
584
+ var OraculoWelcomeBanner = ({
585
+ title,
586
+ amount,
587
+ subtitle,
588
+ buttonText,
589
+ onButtonClick,
590
+ backgroundImage,
591
+ alt,
592
+ className = "",
593
+ variant = "small"
594
+ }) => {
595
+ const symbol = amount ? amount.slice(0, 2) : "";
596
+ const value = amount ? amount.slice(2) : "";
597
+ const isLarge = variant === "large";
598
+ return /* @__PURE__ */ jsxs6(
599
+ Box5,
600
+ {
601
+ className,
602
+ sx: {
603
+ position: "relative",
604
+ width: "100%",
605
+ maxWidth: {
606
+ xs: 328,
607
+ lg: isLarge ? 618 : 456
608
+ },
609
+ mx: "auto"
610
+ },
611
+ children: [
612
+ backgroundImage && /* @__PURE__ */ jsx9(
613
+ Box5,
614
+ {
615
+ sx: {
616
+ position: "relative",
617
+ width: "100%",
618
+ aspectRatio: {
619
+ xs: "328 / 188",
620
+ lg: isLarge ? "618 / 346" : "456 / 272"
621
+ },
622
+ borderRadius: "14px",
623
+ overflow: "hidden"
624
+ },
625
+ children: /* @__PURE__ */ jsx9(
626
+ Box5,
627
+ {
628
+ component: "img",
629
+ src: backgroundImage,
630
+ alt: alt != null ? alt : "Fondo promocional",
631
+ sx: {
632
+ width: "100%",
633
+ height: "100%",
634
+ objectFit: "cover",
635
+ objectPosition: {
636
+ xs: "50% 0%",
637
+ lg: "45% 0%"
638
+ },
639
+ display: "block"
640
+ }
641
+ }
642
+ )
643
+ }
644
+ ),
645
+ /* @__PURE__ */ jsx9(
646
+ Box5,
647
+ {
648
+ sx: {
649
+ position: "absolute",
650
+ inset: 0,
651
+ display: "flex",
652
+ alignItems: "center",
653
+ justifyContent: "flex-end",
654
+ color: "#e7f8ff",
655
+ textAlign: "center",
656
+ pl: "14%",
657
+ pr: { xs: "14%", lg: "15%" }
658
+ },
659
+ children: /* @__PURE__ */ jsxs6(
660
+ Box5,
661
+ {
662
+ sx: {
663
+ maxWidth: "60%",
664
+ display: "flex",
665
+ flexDirection: "column",
666
+ alignItems: "center"
667
+ },
668
+ children: [
669
+ title && /* @__PURE__ */ jsx9(
670
+ Typography2,
671
+ {
672
+ sx: {
673
+ fontSize: { xs: 12, lg: 20 },
674
+ fontWeight: 400,
675
+ color: "#e7f8ff"
676
+ },
677
+ children: title
678
+ }
679
+ ),
680
+ amount && /* @__PURE__ */ jsxs6(
681
+ Box5,
682
+ {
683
+ component: "p",
684
+ sx: {
685
+ fontFamily: '"secondary", sans-serif',
686
+ lineHeight: { xs: 0.9, lg: 0.87 },
687
+ m: "4px 0",
688
+ background: "linear-gradient(175deg, #EDC421 -12.56%, #FFFABF 17.99%, #EDC421 49.74%)",
689
+ WebkitBackgroundClip: "text",
690
+ WebkitTextFillColor: "transparent",
691
+ WebkitTextStroke: "0.5px #fff8c1",
692
+ filter: "drop-shadow(0px 4px 0px #8D4406) drop-shadow(0px 4px 4px rgba(28, 28, 28, 0.4))",
693
+ display: "flex",
694
+ alignItems: "baseline",
695
+ justifyContent: "center"
696
+ },
697
+ children: [
698
+ /* @__PURE__ */ jsx9(
699
+ Box5,
700
+ {
701
+ component: "span",
702
+ sx: { fontSize: { xs: 35, lg: 48 }, mr: 0.5 },
703
+ children: symbol
704
+ }
705
+ ),
706
+ /* @__PURE__ */ jsx9(
707
+ Box5,
708
+ {
709
+ component: "span",
710
+ sx: { fontSize: { xs: 52, lg: 77 } },
711
+ children: value
712
+ }
713
+ )
714
+ ]
715
+ }
716
+ ),
717
+ subtitle && /* @__PURE__ */ jsx9(
718
+ Typography2,
719
+ {
720
+ sx: {
721
+ pb: "20px",
722
+ fontSize: 14,
723
+ fontWeight: 600,
724
+ color: "#e7f8ff"
725
+ },
726
+ children: subtitle
727
+ }
728
+ ),
729
+ buttonText && /* @__PURE__ */ jsx9(OraculoButton, { onClick: onButtonClick, children: buttonText })
730
+ ]
731
+ }
732
+ )
733
+ }
734
+ )
735
+ ]
736
+ }
737
+ );
738
+ };
739
+ var OraculoWelcomeBanner_default = OraculoWelcomeBanner;
740
+
741
+ // src/molecules/OraculoClubOlimpoVisual/OraculoClubOlimpoVisual.tsx
742
+ import { Fragment as Fragment2, jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
743
+ var OraculoClubOlimpoVisual = ({
744
+ text,
745
+ buttonLabel = "Conoce m\xE1s",
746
+ onClick,
747
+ imgAlt = "Club Olimpo",
748
+ imgSrcMobile,
749
+ imgSrcDesktopBg,
750
+ imgSrcDesktopLogo
751
+ }) => {
752
+ return /* @__PURE__ */ jsxs7(Fragment2, { children: [
753
+ /* @__PURE__ */ jsx10("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ jsx10(
754
+ "img",
755
+ {
756
+ src: imgSrcMobile,
757
+ alt: imgAlt,
758
+ className: "orc-co-bgMobileImg"
759
+ }
760
+ ) }),
761
+ /* @__PURE__ */ jsxs7("div", { className: "orc-co-bgDesktop", children: [
762
+ imgSrcDesktopBg && /* @__PURE__ */ jsx10("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ jsx10(
763
+ "img",
764
+ {
765
+ src: imgSrcDesktopBg,
766
+ alt: `${imgAlt} fondo`,
767
+ className: "orc-co-bgDesktopImg"
768
+ }
769
+ ) }),
770
+ imgSrcDesktopLogo && /* @__PURE__ */ jsx10("div", { className: "orc-co-logo", children: /* @__PURE__ */ jsx10(
771
+ "img",
772
+ {
773
+ src: imgSrcDesktopLogo,
774
+ alt: `${imgAlt} logo`,
775
+ className: "orc-co-logoImg"
776
+ }
777
+ ) }),
778
+ /* @__PURE__ */ jsxs7("div", { className: "orc-co-desktopContent", children: [
779
+ /* @__PURE__ */ jsx10("p", { className: "orc-co-captionDesktop", children: text }),
780
+ /* @__PURE__ */ jsx10(OraculoButton, { onClick, variant: "primary", size: "md", children: buttonLabel })
781
+ ] })
782
+ ] }),
783
+ /* @__PURE__ */ jsxs7("div", { className: "orc-co-bottom", children: [
784
+ /* @__PURE__ */ jsx10("p", { className: "orc-co-caption", children: text }),
785
+ /* @__PURE__ */ jsx10(OraculoButton, { onClick, variant: "primary", size: "md", children: buttonLabel })
786
+ ] })
787
+ ] });
788
+ };
789
+ var OraculoClubOlimpoVisual_default = OraculoClubOlimpoVisual;
790
+
556
791
  // src/organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx
557
792
  import { useRef as useRef2, useState } from "react";
558
793
 
@@ -572,7 +807,7 @@ var ChevronRightRounded_default = createSvgIcon(/* @__PURE__ */ _jsx2("path", {
572
807
  }), "ChevronRightRounded");
573
808
 
574
809
  // src/organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx
575
- import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
810
+ import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
576
811
  function OraculoSeccionDestacados({
577
812
  items,
578
813
  title = "Destacados",
@@ -594,8 +829,8 @@ function OraculoSeccionDestacados({
594
829
  onViewMore == null ? void 0 : onViewMore();
595
830
  };
596
831
  const sectionClassName = className || void 0;
597
- return /* @__PURE__ */ jsxs6("section", { className: sectionClassName, style: { width: "100%" }, children: [
598
- /* @__PURE__ */ jsxs6(
832
+ return /* @__PURE__ */ jsxs8("section", { className: sectionClassName, style: { width: "100%" }, children: [
833
+ /* @__PURE__ */ jsxs8(
599
834
  "header",
600
835
  {
601
836
  style: {
@@ -607,7 +842,7 @@ function OraculoSeccionDestacados({
607
842
  marginBottom: 16
608
843
  },
609
844
  children: [
610
- /* @__PURE__ */ jsx8(
845
+ /* @__PURE__ */ jsx11(
611
846
  OraculoSectionTitle,
612
847
  {
613
848
  title,
@@ -615,7 +850,7 @@ function OraculoSeccionDestacados({
615
850
  size: "md"
616
851
  }
617
852
  ),
618
- /* @__PURE__ */ jsxs6(
853
+ /* @__PURE__ */ jsxs8(
619
854
  "div",
620
855
  {
621
856
  style: {
@@ -623,24 +858,24 @@ function OraculoSeccionDestacados({
623
858
  gap: 8
624
859
  },
625
860
  children: [
626
- /* @__PURE__ */ jsx8(
861
+ /* @__PURE__ */ jsx11(
627
862
  OraculoButton,
628
863
  {
629
864
  ariaLabel: "Anterior",
630
865
  variant: "secondary",
631
866
  iconOnly: true,
632
- leftIcon: /* @__PURE__ */ jsx8(ChevronLeftRounded_default, {}),
867
+ leftIcon: /* @__PURE__ */ jsx11(ChevronLeftRounded_default, {}),
633
868
  onClick: handlePrev,
634
869
  disabled: navState.isStart
635
870
  }
636
871
  ),
637
- /* @__PURE__ */ jsx8(
872
+ /* @__PURE__ */ jsx11(
638
873
  OraculoButton,
639
874
  {
640
875
  ariaLabel: "Siguiente",
641
876
  variant: "secondary",
642
877
  iconOnly: true,
643
- rightIcon: /* @__PURE__ */ jsx8(ChevronRightRounded_default, {}),
878
+ rightIcon: /* @__PURE__ */ jsx11(ChevronRightRounded_default, {}),
644
879
  onClick: handleNext,
645
880
  disabled: navState.isEnd
646
881
  }
@@ -648,11 +883,11 @@ function OraculoSeccionDestacados({
648
883
  ]
649
884
  }
650
885
  ),
651
- /* @__PURE__ */ jsx8(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" })
886
+ /* @__PURE__ */ jsx11(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" })
652
887
  ]
653
888
  }
654
889
  ),
655
- /* @__PURE__ */ jsx8(
890
+ /* @__PURE__ */ jsx11(
656
891
  OraculoCarousel_default,
657
892
  {
658
893
  ref: carouselRef,
@@ -666,14 +901,14 @@ function OraculoSeccionDestacados({
666
901
  },
667
902
  renderItem: (item) => {
668
903
  var _a;
669
- return /* @__PURE__ */ jsx8(
904
+ return /* @__PURE__ */ jsx11(
670
905
  "div",
671
906
  {
672
907
  style: {
673
908
  textAlign: "center",
674
909
  marginTop: 16
675
910
  },
676
- children: /* @__PURE__ */ jsx8(
911
+ children: /* @__PURE__ */ jsx11(
677
912
  "img",
678
913
  {
679
914
  src: item.src,
@@ -698,8 +933,8 @@ function OraculoSeccionDestacados({
698
933
 
699
934
  // src/organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx
700
935
  import Stack from "@mui/material/Stack";
701
- import Box5 from "@mui/material/Box";
702
- import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
936
+ import Box6 from "@mui/material/Box";
937
+ import { jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
703
938
  function OraculoSeccionTopJuegos({
704
939
  items,
705
940
  title = "Top Juegos",
@@ -707,10 +942,10 @@ function OraculoSeccionTopJuegos({
707
942
  onCardClick,
708
943
  className
709
944
  }) {
710
- return /* @__PURE__ */ jsx9("section", { className, style: { width: "100%" }, children: /* @__PURE__ */ jsxs7(Stack, { direction: "column", spacing: 2, useFlexGap: true, children: [
711
- /* @__PURE__ */ jsx9(OraculoSectionTitle, { title, iconUrl, size: "md" }),
712
- /* @__PURE__ */ jsx9(
713
- Box5,
945
+ return /* @__PURE__ */ jsx12("section", { className, style: { width: "100%" }, children: /* @__PURE__ */ jsxs9(Stack, { direction: "column", spacing: 2, useFlexGap: true, children: [
946
+ /* @__PURE__ */ jsx12(OraculoSectionTitle, { title, iconUrl, size: "md" }),
947
+ /* @__PURE__ */ jsx12(
948
+ Box6,
714
949
  {
715
950
  sx: {
716
951
  display: "grid",
@@ -722,11 +957,11 @@ function OraculoSeccionTopJuegos({
722
957
  justifyItems: "center",
723
958
  width: "100%"
724
959
  },
725
- children: items.slice(0, 6).map((juego, idx) => /* @__PURE__ */ jsx9(
960
+ children: items.slice(0, 6).map((juego, idx) => /* @__PURE__ */ jsx12(
726
961
  OraculoGameRankCard,
727
962
  {
728
963
  imageUrl: juego.logo || "",
729
- orden: juego.orden,
964
+ orden: juego.orden || idx + 1,
730
965
  onClick: () => console.log(juego.machine)
731
966
  },
732
967
  juego.machine
@@ -737,10 +972,10 @@ function OraculoSeccionTopJuegos({
737
972
  }
738
973
 
739
974
  // src/organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx
740
- import Box6 from "@mui/material/Box";
975
+ import Box7 from "@mui/material/Box";
741
976
  import Stack2 from "@mui/material/Stack";
742
- import Typography2 from "@mui/material/Typography";
743
- import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
977
+ import Typography3 from "@mui/material/Typography";
978
+ import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
744
979
  var OraculoSeccionCasinoEnVivo = ({
745
980
  items,
746
981
  title = "Casino en vivo",
@@ -751,8 +986,8 @@ var OraculoSeccionCasinoEnVivo = ({
751
986
  onViewMore,
752
987
  className
753
988
  }) => {
754
- return /* @__PURE__ */ jsxs8(
755
- Box6,
989
+ return /* @__PURE__ */ jsxs10(
990
+ Box7,
756
991
  {
757
992
  className,
758
993
  sx: {
@@ -765,8 +1000,8 @@ var OraculoSeccionCasinoEnVivo = ({
765
1000
  overflow: "hidden"
766
1001
  },
767
1002
  children: [
768
- /* @__PURE__ */ jsx10(
769
- Box6,
1003
+ /* @__PURE__ */ jsx13(
1004
+ Box7,
770
1005
  {
771
1006
  sx: {
772
1007
  position: "absolute",
@@ -790,8 +1025,8 @@ var OraculoSeccionCasinoEnVivo = ({
790
1025
  }
791
1026
  }
792
1027
  ),
793
- /* @__PURE__ */ jsxs8(
794
- Box6,
1028
+ /* @__PURE__ */ jsxs10(
1029
+ Box7,
795
1030
  {
796
1031
  sx: {
797
1032
  position: "relative",
@@ -808,9 +1043,9 @@ var OraculoSeccionCasinoEnVivo = ({
808
1043
  textAlign: { xs: "center", md: "left" }
809
1044
  },
810
1045
  children: [
811
- /* @__PURE__ */ jsxs8(Stack2, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
812
- /* @__PURE__ */ jsx10(
813
- Typography2,
1046
+ /* @__PURE__ */ jsxs10(Stack2, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1047
+ /* @__PURE__ */ jsx13(
1048
+ Typography3,
814
1049
  {
815
1050
  variant: "h4",
816
1051
  sx: {
@@ -822,8 +1057,8 @@ var OraculoSeccionCasinoEnVivo = ({
822
1057
  children: title
823
1058
  }
824
1059
  ),
825
- /* @__PURE__ */ jsx10(
826
- Typography2,
1060
+ /* @__PURE__ */ jsx13(
1061
+ Typography3,
827
1062
  {
828
1063
  sx: {
829
1064
  fontSize: { xs: 14, md: 18 },
@@ -834,7 +1069,7 @@ var OraculoSeccionCasinoEnVivo = ({
834
1069
  children: subtitle
835
1070
  }
836
1071
  ),
837
- /* @__PURE__ */ jsx10(Box6, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ jsx10(
1072
+ /* @__PURE__ */ jsx13(Box7, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ jsx13(
838
1073
  OraculoButton,
839
1074
  {
840
1075
  variant: "primary",
@@ -844,8 +1079,8 @@ var OraculoSeccionCasinoEnVivo = ({
844
1079
  }
845
1080
  ) })
846
1081
  ] }),
847
- /* @__PURE__ */ jsx10(
848
- Box6,
1082
+ /* @__PURE__ */ jsx13(
1083
+ Box7,
849
1084
  {
850
1085
  sx: {
851
1086
  display: "flex",
@@ -857,7 +1092,7 @@ var OraculoSeccionCasinoEnVivo = ({
857
1092
  },
858
1093
  children: items.map((juego, idx) => {
859
1094
  var _a, _b;
860
- return /* @__PURE__ */ jsx10(
1095
+ return /* @__PURE__ */ jsx13(
861
1096
  OraculoLiveCasinoCard_default,
862
1097
  {
863
1098
  logo: (_b = juego.logo) != null ? _b : "",
@@ -866,12 +1101,12 @@ var OraculoSeccionCasinoEnVivo = ({
866
1101
  machine: juego.machine,
867
1102
  onClick: () => onCardClick == null ? void 0 : onCardClick(juego, idx)
868
1103
  },
869
- (_a = juego.machine) != null ? _a : idx
1104
+ (_a = juego.orden) != null ? _a : idx
870
1105
  );
871
1106
  })
872
1107
  }
873
1108
  ),
874
- /* @__PURE__ */ jsx10(Box6, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ jsx10(
1109
+ /* @__PURE__ */ jsx13(Box7, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ jsx13(
875
1110
  OraculoButton,
876
1111
  {
877
1112
  variant: "primary",
@@ -892,14 +1127,14 @@ var OraculoSeccionCasinoEnVivo_default = OraculoSeccionCasinoEnVivo;
892
1127
  // src/organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx
893
1128
  import { useRef as useRef3, useState as useState2 } from "react";
894
1129
  import Stack3 from "@mui/material/Stack";
895
- import Box7 from "@mui/material/Box";
896
- import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
1130
+ import Box8 from "@mui/material/Box";
1131
+ import { jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
897
1132
  var buildCasinoSlides = (games, mosaicFirst = true, gridSize = 4) => {
898
1133
  const baseItems = games.map((g, idx) => {
899
- var _a, _b, _c, _d;
1134
+ var _a, _b, _c;
900
1135
  return {
901
- id: (_b = (_a = g.id) != null ? _a : g.machine) != null ? _b : idx,
902
- imageUrl: (_d = (_c = g.imageUrl) != null ? _c : g.logo) != null ? _d : ""
1136
+ id: (_b = (_a = g.orden) != null ? _a : g.machine) != null ? _b : idx,
1137
+ imageUrl: (_c = g.logo) != null ? _c : ""
903
1138
  };
904
1139
  });
905
1140
  if (!baseItems.length) return [];
@@ -949,9 +1184,9 @@ var OraculoSeccionCasino = ({
949
1184
  const handleViewMore = () => {
950
1185
  onViewMore == null ? void 0 : onViewMore();
951
1186
  };
952
- return /* @__PURE__ */ jsx11("section", { className, children: /* @__PURE__ */ jsxs9(Stack3, { direction: "column", spacing: 2, useFlexGap: true, children: [
953
- /* @__PURE__ */ jsxs9(
954
- Box7,
1187
+ return /* @__PURE__ */ jsx14("section", { className, children: /* @__PURE__ */ jsxs11(Stack3, { direction: "column", spacing: 2, useFlexGap: true, children: [
1188
+ /* @__PURE__ */ jsxs11(
1189
+ Box8,
955
1190
  {
956
1191
  sx: {
957
1192
  display: "grid",
@@ -961,7 +1196,7 @@ var OraculoSeccionCasino = ({
961
1196
  rowGap: 1
962
1197
  },
963
1198
  children: [
964
- /* @__PURE__ */ jsx11(
1199
+ /* @__PURE__ */ jsx14(
965
1200
  OraculoSectionTitle,
966
1201
  {
967
1202
  title,
@@ -969,8 +1204,8 @@ var OraculoSeccionCasino = ({
969
1204
  size: "md"
970
1205
  }
971
1206
  ),
972
- /* @__PURE__ */ jsxs9(
973
- Box7,
1207
+ /* @__PURE__ */ jsxs11(
1208
+ Box8,
974
1209
  {
975
1210
  sx: {
976
1211
  display: "flex",
@@ -978,24 +1213,24 @@ var OraculoSeccionCasino = ({
978
1213
  justifyContent: "flex-end"
979
1214
  },
980
1215
  children: [
981
- /* @__PURE__ */ jsx11(
1216
+ /* @__PURE__ */ jsx14(
982
1217
  OraculoButton,
983
1218
  {
984
1219
  ariaLabel: "Anterior",
985
1220
  variant: "secondary",
986
1221
  iconOnly: true,
987
- leftIcon: /* @__PURE__ */ jsx11(ChevronLeftRounded_default, {}),
1222
+ leftIcon: /* @__PURE__ */ jsx14(ChevronLeftRounded_default, {}),
988
1223
  onClick: handlePrev,
989
1224
  disabled: navState.isStart
990
1225
  }
991
1226
  ),
992
- /* @__PURE__ */ jsx11(
1227
+ /* @__PURE__ */ jsx14(
993
1228
  OraculoButton,
994
1229
  {
995
1230
  ariaLabel: "Siguiente",
996
1231
  variant: "secondary",
997
1232
  iconOnly: true,
998
- rightIcon: /* @__PURE__ */ jsx11(ChevronRightRounded_default, {}),
1233
+ rightIcon: /* @__PURE__ */ jsx14(ChevronRightRounded_default, {}),
999
1234
  onClick: handleNext,
1000
1235
  disabled: navState.isEnd
1001
1236
  }
@@ -1003,11 +1238,11 @@ var OraculoSeccionCasino = ({
1003
1238
  ]
1004
1239
  }
1005
1240
  ),
1006
- /* @__PURE__ */ jsx11(Box7, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ jsx11(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
1241
+ /* @__PURE__ */ jsx14(Box8, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ jsx14(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
1007
1242
  ]
1008
1243
  }
1009
1244
  ),
1010
- /* @__PURE__ */ jsx11(
1245
+ /* @__PURE__ */ jsx14(
1011
1246
  OraculoCarousel_default,
1012
1247
  {
1013
1248
  ref: carouselRef,
@@ -1023,7 +1258,7 @@ var OraculoSeccionCasino = ({
1023
1258
  drag: true,
1024
1259
  focus: "start"
1025
1260
  },
1026
- renderItem: (slide) => /* @__PURE__ */ jsx11("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ jsx11(
1261
+ renderItem: (slide) => /* @__PURE__ */ jsx14("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ jsx14(
1027
1262
  OraculoGameSlide_default,
1028
1263
  {
1029
1264
  items: slide.items,
@@ -1031,8 +1266,8 @@ var OraculoSeccionCasino = ({
1031
1266
  onClick: (itm) => {
1032
1267
  const game = items.find(
1033
1268
  (g, idx) => {
1034
- var _a, _b;
1035
- return ((_b = (_a = g.id) != null ? _a : g.machine) != null ? _b : idx) === itm.id;
1269
+ var _a;
1270
+ return ((_a = g.orden) != null ? _a : idx) === itm.id;
1036
1271
  }
1037
1272
  );
1038
1273
  if (game) onItemClick == null ? void 0 : onItemClick(game);
@@ -1049,14 +1284,14 @@ var OraculoSeccionCasino_default = OraculoSeccionCasino;
1049
1284
  // src/organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx
1050
1285
  import { useRef as useRef4, useState as useState3 } from "react";
1051
1286
  import Stack4 from "@mui/material/Stack";
1052
- import Box8 from "@mui/material/Box";
1053
- import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
1287
+ import Box9 from "@mui/material/Box";
1288
+ import { jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
1054
1289
  var buildVirtualSlides = (games, mosaicFirst = true, gridSize = 4) => {
1055
1290
  const baseItems = games.map((g, idx) => {
1056
- var _a, _b, _c, _d;
1291
+ var _a, _b;
1057
1292
  return {
1058
- id: (_b = (_a = g.id) != null ? _a : g.machine) != null ? _b : idx,
1059
- imageUrl: (_d = (_c = g.imageUrl) != null ? _c : g.logo) != null ? _d : ""
1293
+ id: (_a = g.orden) != null ? _a : idx,
1294
+ imageUrl: (_b = g.logo) != null ? _b : ""
1060
1295
  };
1061
1296
  });
1062
1297
  if (!baseItems.length) return [];
@@ -1106,9 +1341,9 @@ var OraculoSeccionVirtuales = ({
1106
1341
  const handleViewMore = () => {
1107
1342
  onViewMore == null ? void 0 : onViewMore();
1108
1343
  };
1109
- return /* @__PURE__ */ jsx12("section", { className, children: /* @__PURE__ */ jsxs10(Stack4, { direction: "column", spacing: 2, useFlexGap: true, children: [
1110
- /* @__PURE__ */ jsxs10(
1111
- Box8,
1344
+ return /* @__PURE__ */ jsx15("section", { className, children: /* @__PURE__ */ jsxs12(Stack4, { direction: "column", spacing: 2, useFlexGap: true, children: [
1345
+ /* @__PURE__ */ jsxs12(
1346
+ Box9,
1112
1347
  {
1113
1348
  sx: {
1114
1349
  display: "grid",
@@ -1118,7 +1353,7 @@ var OraculoSeccionVirtuales = ({
1118
1353
  rowGap: 1
1119
1354
  },
1120
1355
  children: [
1121
- /* @__PURE__ */ jsx12(
1356
+ /* @__PURE__ */ jsx15(
1122
1357
  OraculoSectionTitle,
1123
1358
  {
1124
1359
  title,
@@ -1126,8 +1361,8 @@ var OraculoSeccionVirtuales = ({
1126
1361
  size: "md"
1127
1362
  }
1128
1363
  ),
1129
- /* @__PURE__ */ jsxs10(
1130
- Box8,
1364
+ /* @__PURE__ */ jsxs12(
1365
+ Box9,
1131
1366
  {
1132
1367
  sx: {
1133
1368
  display: "flex",
@@ -1135,24 +1370,24 @@ var OraculoSeccionVirtuales = ({
1135
1370
  justifyContent: "flex-end"
1136
1371
  },
1137
1372
  children: [
1138
- /* @__PURE__ */ jsx12(
1373
+ /* @__PURE__ */ jsx15(
1139
1374
  OraculoButton,
1140
1375
  {
1141
1376
  ariaLabel: "Anterior",
1142
1377
  variant: "secondary",
1143
1378
  iconOnly: true,
1144
- leftIcon: /* @__PURE__ */ jsx12(ChevronLeftRounded_default, {}),
1379
+ leftIcon: /* @__PURE__ */ jsx15(ChevronLeftRounded_default, {}),
1145
1380
  onClick: handlePrev,
1146
1381
  disabled: navState.isStart
1147
1382
  }
1148
1383
  ),
1149
- /* @__PURE__ */ jsx12(
1384
+ /* @__PURE__ */ jsx15(
1150
1385
  OraculoButton,
1151
1386
  {
1152
1387
  ariaLabel: "Siguiente",
1153
1388
  variant: "secondary",
1154
1389
  iconOnly: true,
1155
- rightIcon: /* @__PURE__ */ jsx12(ChevronRightRounded_default, {}),
1390
+ rightIcon: /* @__PURE__ */ jsx15(ChevronRightRounded_default, {}),
1156
1391
  onClick: handleNext,
1157
1392
  disabled: navState.isEnd
1158
1393
  }
@@ -1160,11 +1395,11 @@ var OraculoSeccionVirtuales = ({
1160
1395
  ]
1161
1396
  }
1162
1397
  ),
1163
- /* @__PURE__ */ jsx12(Box8, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ jsx12(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
1398
+ /* @__PURE__ */ jsx15(Box9, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ jsx15(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
1164
1399
  ]
1165
1400
  }
1166
1401
  ),
1167
- /* @__PURE__ */ jsx12(
1402
+ /* @__PURE__ */ jsx15(
1168
1403
  OraculoCarousel_default,
1169
1404
  {
1170
1405
  ref: carouselRef,
@@ -1181,7 +1416,7 @@ var OraculoSeccionVirtuales = ({
1181
1416
  focus: "start",
1182
1417
  perMove: 1
1183
1418
  },
1184
- renderItem: (slide) => /* @__PURE__ */ jsx12("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ jsx12(
1419
+ renderItem: (slide) => /* @__PURE__ */ jsx15("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ jsx15(
1185
1420
  OraculoGameSlide_default,
1186
1421
  {
1187
1422
  items: slide.items,
@@ -1189,8 +1424,8 @@ var OraculoSeccionVirtuales = ({
1189
1424
  onClick: (itm) => {
1190
1425
  const game = items.find(
1191
1426
  (g, idx) => {
1192
- var _a, _b;
1193
- return ((_b = (_a = g.id) != null ? _a : g.machine) != null ? _b : idx) === itm.id;
1427
+ var _a;
1428
+ return ((_a = g.orden) != null ? _a : idx) === itm.id;
1194
1429
  }
1195
1430
  );
1196
1431
  if (game) onItemClick == null ? void 0 : onItemClick(game);
@@ -1203,17 +1438,271 @@ var OraculoSeccionVirtuales = ({
1203
1438
  ] }) });
1204
1439
  };
1205
1440
  var OraculoSeccionVirtuales_default = OraculoSeccionVirtuales;
1441
+
1442
+ // src/organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx
1443
+ import { useRef as useRef5, useState as useState4 } from "react";
1444
+ import Box10 from "@mui/material/Box";
1445
+ import Typography4 from "@mui/material/Typography";
1446
+ import useMediaQuery from "@mui/material/useMediaQuery";
1447
+ import { Fragment as Fragment3, jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
1448
+ var buildSectionSx = (bgUrl) => ({
1449
+ width: "100vw",
1450
+ position: "relative",
1451
+ left: "50%",
1452
+ right: "50%",
1453
+ marginLeft: "-50vw",
1454
+ marginRight: "-50vw",
1455
+ py: 8,
1456
+ color: "#fff",
1457
+ backgroundImage: `
1458
+ linear-gradient(to bottom,#121212 0%, rgba(18,18,18,0) 10%),
1459
+ linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
1460
+ linear-gradient(to left, #121212 0%, rgba(18,18,18,0) 10%),
1461
+ linear-gradient(to right, #121212 0%, rgba(18,18,18,0) 10%),
1462
+ url("${bgUrl}")
1463
+ `,
1464
+ backgroundRepeat: "no-repeat",
1465
+ backgroundPosition: "center",
1466
+ backgroundSize: "cover"
1467
+ });
1468
+ var headlineBaseSx = {
1469
+ textAlign: "center",
1470
+ lineHeight: 1.1,
1471
+ mb: 1.5
1472
+ };
1473
+ var hlTopSx = {
1474
+ display: "inline-block",
1475
+ fontWeight: 600,
1476
+ fontSize: 24
1477
+ };
1478
+ var hlBottomSx = {
1479
+ display: "inline-block",
1480
+ fontSize: 24,
1481
+ lineHeight: 1.1,
1482
+ WebkitTextStroke: "0.3px rgba(255, 255, 255, .5)",
1483
+ textShadow: `
1484
+ 0 0 2px rgba(255, 255, 255, .95),
1485
+ 0 0 6px rgba(255, 255, 255, .6),
1486
+ 0 1px 0 rgba(137, 137, 137, .85)
1487
+ `
1488
+ };
1489
+ var OraculoSeccionBonoBienvenida = ({
1490
+ headline,
1491
+ items,
1492
+ backgroundImageUrl
1493
+ }) => {
1494
+ const [hl1 = "", hl2 = ""] = (headline || "").split("\n");
1495
+ const isMobile = useMediaQuery("(max-width: 767px)");
1496
+ const showDots = items.length > 1;
1497
+ const bgUrl = backgroundImageUrl != null ? backgroundImageUrl : "/assets/img/home/BonoBienvenida/Fondobg.png";
1498
+ const sectionSx = buildSectionSx(bgUrl);
1499
+ const carouselRef = useRef5(null);
1500
+ const [navState, setNavState] = useState4({ isStart: true, isEnd: false });
1501
+ const [activeIndex, setActiveIndex] = useState4(0);
1502
+ if (isMobile) {
1503
+ return /* @__PURE__ */ jsxs13(
1504
+ Box10,
1505
+ {
1506
+ component: "section",
1507
+ sx: {
1508
+ ...sectionSx,
1509
+ textAlign: "center"
1510
+ },
1511
+ children: [
1512
+ (hl1 || hl2) && /* @__PURE__ */ jsxs13(Box10, { sx: headlineBaseSx, children: [
1513
+ hl1 && /* @__PURE__ */ jsx16(Typography4, { component: "span", sx: hlTopSx, children: hl1 }),
1514
+ hl2 && /* @__PURE__ */ jsxs13(Fragment3, { children: [
1515
+ /* @__PURE__ */ jsx16("br", {}),
1516
+ /* @__PURE__ */ jsx16(Typography4, { component: "span", sx: hlBottomSx, children: hl2 })
1517
+ ] })
1518
+ ] }),
1519
+ /* @__PURE__ */ jsxs13(Box10, { children: [
1520
+ /* @__PURE__ */ jsx16(
1521
+ OraculoCarousel_default,
1522
+ {
1523
+ ref: carouselRef,
1524
+ items,
1525
+ perPage: 1,
1526
+ gap: "12px",
1527
+ breakpoints: {
1528
+ 480: {
1529
+ perPage: 1,
1530
+ gap: "8px",
1531
+ padding: { left: "8px", right: "8px" }
1532
+ },
1533
+ 768: {
1534
+ perPage: 1,
1535
+ gap: "12px",
1536
+ padding: { left: "8px", right: "8px" }
1537
+ }
1538
+ },
1539
+ options: {
1540
+ autoWidth: false
1541
+ },
1542
+ renderItem: (it) => /* @__PURE__ */ jsx16(OraculoWelcomeBanner_default, { ...it, onButtonClick: items[0].onButtonClick }),
1543
+ onMove: ({ index, isStart, isEnd }) => {
1544
+ setNavState({ isStart, isEnd });
1545
+ setActiveIndex(index);
1546
+ }
1547
+ }
1548
+ ),
1549
+ showDots && /* @__PURE__ */ jsx16(
1550
+ OraculoCarouselDots_default,
1551
+ {
1552
+ total: items.length,
1553
+ active: activeIndex,
1554
+ onSelect: (i) => {
1555
+ var _a;
1556
+ setActiveIndex(i);
1557
+ (_a = carouselRef.current) == null ? void 0 : _a.go(i);
1558
+ }
1559
+ }
1560
+ )
1561
+ ] })
1562
+ ]
1563
+ }
1564
+ );
1565
+ }
1566
+ return /* @__PURE__ */ jsx16(Box10, { component: "section", sx: sectionSx, children: /* @__PURE__ */ jsxs13(
1567
+ Box10,
1568
+ {
1569
+ sx: {
1570
+ maxWidth: 1200,
1571
+ mx: 5,
1572
+ px: 2,
1573
+ display: "grid",
1574
+ gridTemplateColumns: "200px auto",
1575
+ alignItems: "center"
1576
+ },
1577
+ children: [
1578
+ (hl1 || hl2) && /* @__PURE__ */ jsx16(
1579
+ Box10,
1580
+ {
1581
+ sx: {
1582
+ display: "flex",
1583
+ alignItems: "center",
1584
+ justifyContent: "flex-start",
1585
+ minHeight: "100%"
1586
+ },
1587
+ children: /* @__PURE__ */ jsxs13(
1588
+ Box10,
1589
+ {
1590
+ sx: {
1591
+ ...headlineBaseSx,
1592
+ textAlign: "left",
1593
+ mb: 0
1594
+ },
1595
+ children: [
1596
+ hl1 && /* @__PURE__ */ jsx16(Typography4, { component: "span", sx: hlTopSx, children: hl1 }),
1597
+ hl2 && /* @__PURE__ */ jsxs13(Fragment3, { children: [
1598
+ /* @__PURE__ */ jsx16("br", {}),
1599
+ /* @__PURE__ */ jsx16(Typography4, { component: "span", sx: hlBottomSx, children: hl2 })
1600
+ ] })
1601
+ ]
1602
+ }
1603
+ )
1604
+ }
1605
+ ),
1606
+ /* @__PURE__ */ jsx16(
1607
+ Box10,
1608
+ {
1609
+ sx: {
1610
+ display: "flex",
1611
+ justifyContent: "center",
1612
+ alignItems: "center",
1613
+ flexWrap: "nowrap",
1614
+ gap: 4
1615
+ },
1616
+ children: items.map((it, idx) => /* @__PURE__ */ jsx16(
1617
+ OraculoWelcomeBanner_default,
1618
+ {
1619
+ onButtonClick: it.onButtonClick,
1620
+ ...it
1621
+ },
1622
+ idx
1623
+ ))
1624
+ }
1625
+ )
1626
+ ]
1627
+ }
1628
+ ) });
1629
+ };
1630
+ var OraculoSeccionBonoBienvenida_default = OraculoSeccionBonoBienvenida;
1631
+
1632
+ // src/organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.tsx
1633
+ import { useLayoutEffect, useRef as useRef6 } from "react";
1634
+ import { jsx as jsx17 } from "react/jsx-runtime";
1635
+ var OraculoSeccionClubOlimpo = ({
1636
+ className = "",
1637
+ fullBleed = true,
1638
+ items,
1639
+ selectedIndex = 0,
1640
+ ariaLabel
1641
+ }) => {
1642
+ const rootRef = useRef6(null);
1643
+ const bottomRef = useRef6(null);
1644
+ if (!items || items.length === 0) return null;
1645
+ const safeIndex = Math.min(Math.max(selectedIndex, 0), items.length - 1);
1646
+ const item = items[safeIndex];
1647
+ useLayoutEffect(() => {
1648
+ if (!rootRef.current || !bottomRef.current) return;
1649
+ if (typeof ResizeObserver === "undefined") return;
1650
+ const root = rootRef.current;
1651
+ const bottom = bottomRef.current;
1652
+ const update = () => {
1653
+ root.style.setProperty(
1654
+ "--orc-co-bottomH",
1655
+ `${bottom.offsetHeight + 16}px`
1656
+ );
1657
+ };
1658
+ const ro = new ResizeObserver(update);
1659
+ ro.observe(bottom);
1660
+ update();
1661
+ return () => ro.disconnect();
1662
+ }, []);
1663
+ const rootClass = [
1664
+ "orc-co-wrap",
1665
+ fullBleed ? "orc-co-fullBleed" : "",
1666
+ className
1667
+ ].filter(Boolean).join(" ");
1668
+ return /* @__PURE__ */ jsx17(
1669
+ "section",
1670
+ {
1671
+ ref: rootRef,
1672
+ className: rootClass,
1673
+ "aria-label": ariaLabel || item.imgAlt || "Club Olimpo",
1674
+ children: /* @__PURE__ */ jsx17("div", { ref: bottomRef, children: /* @__PURE__ */ jsx17(
1675
+ OraculoClubOlimpoVisual_default,
1676
+ {
1677
+ text: item.text,
1678
+ onClick: item.onClick,
1679
+ imgAlt: item.imgAlt,
1680
+ imgSrcMobile: item.images.mobile,
1681
+ imgSrcDesktopBg: item.images.desktopBg,
1682
+ imgSrcDesktopLogo: item.images.desktopLogo,
1683
+ priority: item.priority
1684
+ }
1685
+ ) })
1686
+ }
1687
+ );
1688
+ };
1689
+ var OraculoSeccionClubOlimpo_default = OraculoSeccionClubOlimpo;
1206
1690
  export {
1207
1691
  OraculoButton,
1208
1692
  OraculoCarousel_default as OraculoCarousel,
1693
+ OraculoCarouselDots_default as OraculoCarouselDots,
1694
+ OraculoClubOlimpoVisual_default as OraculoClubOlimpoVisual,
1209
1695
  OraculoGameCard_default as OraculoGameCard,
1210
1696
  OraculoGameRankCard,
1211
1697
  OraculoGameSlide_default as OraculoGameSlide,
1212
1698
  OraculoLiveCasinoCard_default as OraculoLiveCasinoCard,
1699
+ OraculoSeccionBonoBienvenida_default as OraculoSeccionBonoBienvenida,
1213
1700
  OraculoSeccionCasino_default as OraculoSeccionCasino,
1214
1701
  OraculoSeccionCasinoEnVivo_default as OraculoSeccionCasinoEnVivo,
1702
+ OraculoSeccionClubOlimpo_default as OraculoSeccionClubOlimpo,
1215
1703
  OraculoSeccionDestacados,
1216
1704
  OraculoSeccionTopJuegos,
1217
1705
  OraculoSeccionVirtuales_default as OraculoSeccionVirtuales,
1218
- OraculoSectionTitle
1706
+ OraculoSectionTitle,
1707
+ OraculoWelcomeBanner_default as OraculoWelcomeBanner
1219
1708
  };