oraculo-ui 0.2.30 → 0.2.31

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.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as y, Fragment as pe } from "react/jsx-runtime";
2
- import { Link as it, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Oe, Container as Ct } from "@mui/material";
2
+ import { Link as it, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ee, Container as Ct } from "@mui/material";
3
3
  import fe, { useState as X, useEffect as Q, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ce, createContext as Nt, useContext as $t, useMemo as re, useLayoutEffect as Mt } from "react";
4
4
  import j from "@mui/material/Skeleton";
5
5
  import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
@@ -30,9 +30,9 @@ function Y({
30
30
  ariaLabel: d,
31
31
  leftIcon: f,
32
32
  rightIcon: v,
33
- iconOnly: S
33
+ iconOnly: w
34
34
  }) {
35
- const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, q = S != null ? S : $ && !x, _ = [
35
+ const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, q = w != null ? w : $ && !x, _ = [
36
36
  "orc-btn",
37
37
  c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
38
  p ? `orc-btn--${p}` : "",
@@ -301,7 +301,7 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
301
301
  logo: ia,
302
302
  name: sa,
303
303
  skeleton: la
304
- }, ca = "oraculo__OraculoTeamPolo-module__polo___BisRg", da = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ua = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ma = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Se = {
304
+ }, ca = "oraculo__OraculoTeamPolo-module__polo___BisRg", da = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ua = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ma = "oraculo__OraculoTeamPolo-module__highlight___1etm7", we = {
305
305
  polo: ca,
306
306
  svgWrapper: da,
307
307
  shadow: ua,
@@ -309,8 +309,8 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
309
309
  };
310
310
  function pa({ jersey: e, className: a }) {
311
311
  const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, r = e.stripes ? `#${e.stripes}` : null, i = e.sleevelong ? `#${e.sleevelong}` : null;
312
- return /* @__PURE__ */ y("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ y("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
312
+ return /* @__PURE__ */ y("div", { className: `${we.polo} ${a != null ? a : ""}`, children: [
313
+ /* @__PURE__ */ t("div", { className: we.svgWrapper, children: /* @__PURE__ */ y("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
314
314
  /* @__PURE__ */ t(
315
315
  "path",
316
316
  {
@@ -350,7 +350,7 @@ function pa({ jersey: e, className: a }) {
350
350
  "img",
351
351
  {
352
352
  src: "https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",
353
- className: Se.shadow,
353
+ className: we.shadow,
354
354
  alt: "",
355
355
  "aria-hidden": !0
356
356
  }
@@ -359,7 +359,7 @@ function pa({ jersey: e, className: a }) {
359
359
  "img",
360
360
  {
361
361
  src: "https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png",
362
- className: Se.highlight,
362
+ className: we.highlight,
363
363
  alt: "",
364
364
  "aria-hidden": !0
365
365
  }
@@ -423,95 +423,95 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
423
423
  enableHorizontalWheel: h = !0,
424
424
  showRightGradient: u = !1
425
425
  }, m) => {
426
- const d = V(null), f = V(null), v = V(e.length), S = V(null), x = V(null), g = V("user");
426
+ const d = V(null), f = V(null), v = V(e.length), w = V(null), x = V(null), g = V("user");
427
427
  fa(f, d, {
428
428
  enabled: h
429
429
  }), kt(m, () => ({
430
430
  next: () => {
431
- var O;
432
- return (O = d.current) == null ? void 0 : O.go(">");
431
+ var E;
432
+ return (E = d.current) == null ? void 0 : E.go(">");
433
433
  },
434
434
  prev: () => {
435
- var O;
436
- return (O = d.current) == null ? void 0 : O.go("<");
435
+ var E;
436
+ return (E = d.current) == null ? void 0 : E.go("<");
437
437
  },
438
- go: (O) => {
438
+ go: (E) => {
439
439
  var b;
440
- return (b = d.current) == null ? void 0 : b.go(O);
440
+ return (b = d.current) == null ? void 0 : b.go(E);
441
441
  }
442
442
  }));
443
- const C = (O) => {
443
+ const C = (E) => {
444
444
  var K;
445
- const b = O.Components.Slides, E = O.Components.Controller, L = O.root.querySelector(".splide__track"), B = (K = L == null ? void 0 : L.clientWidth) != null ? K : 0, A = E.getIndex(), U = b.getLength();
445
+ const b = E.Components.Slides, O = E.Components.Controller, L = E.root.querySelector(".splide__track"), B = (K = L == null ? void 0 : L.clientWidth) != null ? K : 0, A = O.getIndex(), U = b.getLength();
446
446
  let W = 0, G = A;
447
- for (let w = A; w < U; w++) {
448
- const R = b.getAt(w);
447
+ for (let S = A; S < U; S++) {
448
+ const R = b.getAt(S);
449
449
  if (!R || (W += R.slide.offsetWidth, W > B)) break;
450
- G = w;
450
+ G = S;
451
451
  }
452
452
  return { visibleStart: A, visibleEnd: G };
453
- }, $ = (O) => {
454
- const b = O.root.querySelector(".splide__track"), E = O.root.querySelector(".splide__list");
455
- return !b || !E ? !1 : E.scrollWidth > b.clientWidth + 1;
456
- }, q = V(!1), _ = Ce((O) => {
457
- var K, w;
453
+ }, $ = (E) => {
454
+ const b = E.root.querySelector(".splide__track"), O = E.root.querySelector(".splide__list");
455
+ return !b || !O ? !1 : O.scrollWidth > b.clientWidth + 1;
456
+ }, q = V(!1), _ = Ce((E) => {
457
+ var K, S;
458
458
  if (q.current) return;
459
- const E = O.Components.Slides.getLength(), L = g.current;
460
- if (g.current = "user", !$(O)) {
459
+ const O = E.Components.Slides.getLength(), L = g.current;
460
+ if (g.current = "user", !$(E)) {
461
461
  c == null || c({
462
462
  index: 0,
463
463
  isStart: !0,
464
464
  isEnd: !0,
465
- total: E,
465
+ total: O,
466
466
  visibleStart: 0,
467
- visibleEnd: E - 1,
467
+ visibleEnd: O - 1,
468
468
  source: L
469
469
  });
470
470
  return;
471
471
  }
472
- const { visibleStart: B, visibleEnd: A } = C(O), U = B === 0, W = A === E - 1;
473
- u && ((K = S.current) == null || K.style.setProperty("--gradient-opacity", U ? "0" : "1"), (w = x.current) == null || w.style.setProperty("--gradient-opacity", W ? "0" : "1"));
474
- const G = O.Components.Controller.getIndex();
472
+ const { visibleStart: B, visibleEnd: A } = C(E), U = B === 0, W = A === O - 1;
473
+ u && ((K = w.current) == null || K.style.setProperty("--gradient-opacity", U ? "0" : "1"), (S = x.current) == null || S.style.setProperty("--gradient-opacity", W ? "0" : "1"));
474
+ const G = E.Components.Controller.getIndex();
475
475
  c == null || c({
476
476
  index: G,
477
477
  isStart: U,
478
478
  isEnd: W,
479
- total: E,
479
+ total: O,
480
480
  visibleStart: B,
481
481
  visibleEnd: A,
482
482
  source: L
483
483
  });
484
484
  }, [c]);
485
485
  fe.useEffect(() => {
486
- var E;
487
- const O = (E = d.current) == null ? void 0 : E.splide;
488
- if (!O) return;
486
+ var O;
487
+ const E = (O = d.current) == null ? void 0 : O.splide;
488
+ if (!E) return;
489
489
  const b = v.current !== e.length;
490
490
  v.current = e.length, b && requestAnimationFrame(() => {
491
491
  q.current = !0;
492
492
  try {
493
- O.refresh();
493
+ E.refresh();
494
494
  } finally {
495
495
  q.current = !1;
496
496
  }
497
- g.current = "resize", _(O);
497
+ g.current = "resize", _(E);
498
498
  });
499
499
  }, [e.length, _]);
500
500
  const N = Ce(() => {
501
501
  var b;
502
- const O = (b = d.current) == null ? void 0 : b.splide;
503
- if (O) {
502
+ const E = (b = d.current) == null ? void 0 : b.splide;
503
+ if (E) {
504
504
  q.current = !0;
505
505
  try {
506
- O.go(0, !1);
506
+ E.go(0, !1);
507
507
  } finally {
508
508
  q.current = !1;
509
509
  }
510
- g.current = "resize", _(O);
510
+ g.current = "resize", _(E);
511
511
  }
512
512
  }, [_]), z = Ce(
513
- (O) => {
514
- g.current = "mounted", _(O);
513
+ (E) => {
514
+ g.current = "mounted", _(E);
515
515
  },
516
516
  [_]
517
517
  ), D = {
@@ -544,9 +544,9 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
544
544
  onMove: _,
545
545
  onMounted: z,
546
546
  onResize: N,
547
- children: e.map((O, b) => {
548
- var E;
549
- return /* @__PURE__ */ t(ya, { children: a(O, b) }, p ? b : (E = O.id) != null ? E : b);
547
+ children: e.map((E, b) => {
548
+ var O;
549
+ return /* @__PURE__ */ t(ya, { children: a(E, b) }, p ? b : (O = E.id) != null ? O : b);
550
550
  })
551
551
  }
552
552
  ),
@@ -554,7 +554,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
554
554
  /* @__PURE__ */ t(
555
555
  "div",
556
556
  {
557
- ref: S,
557
+ ref: w,
558
558
  className: `${ye.gradientOverlay} ${ye.left}`,
559
559
  style: { "--gradient-opacity": "0" },
560
560
  children: /* @__PURE__ */ y(
@@ -704,11 +704,11 @@ function xa({
704
704
  }
705
705
  }) {
706
706
  var m, d, f, v;
707
- const i = (S, x) => {
707
+ const i = (w, x) => {
708
708
  var g, C, $, q;
709
709
  return {
710
- xs: (C = (g = r.xs) == null ? void 0 : g[S]) != null ? C : x,
711
- md: (q = ($ = r.md) == null ? void 0 : $[S]) != null ? q : x
710
+ xs: (C = (g = r.xs) == null ? void 0 : g[w]) != null ? C : x,
711
+ md: (q = ($ = r.md) == null ? void 0 : $[w]) != null ? q : x
712
712
  };
713
713
  }, s = i("w", 186), c = i("h", 264), p = i("r", 22.6), h = i("font", 64), u = {
714
714
  xs: Math.round(((d = (m = r.xs) == null ? void 0 : m.font) != null ? d : 64) * 0.28),
@@ -804,7 +804,7 @@ function xa({
804
804
  }
805
805
  );
806
806
  }
807
- const wa = ({
807
+ const Sa = ({
808
808
  logo: e,
809
809
  provider: a,
810
810
  providerName: n,
@@ -1170,7 +1170,7 @@ const wa = ({
1170
1170
  ]
1171
1171
  }
1172
1172
  );
1173
- }, Sa = ({
1173
+ }, wa = ({
1174
1174
  text: e,
1175
1175
  buttonLabel: a = "Conoce más",
1176
1176
  onClick: n,
@@ -1213,10 +1213,10 @@ const wa = ({
1213
1213
  /* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
1214
1214
  /* @__PURE__ */ t(Y, { onClick: n, variant: "primary", size: "md", children: a })
1215
1215
  ] })
1216
- ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ca = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Na = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1216
+ ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ca = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Na = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1217
1217
  card: Ia,
1218
- combinadas: Ea,
1219
- combinadasScroll: Oa,
1218
+ combinadas: Oa,
1219
+ combinadasScroll: Ea,
1220
1220
  apuestaItem: Ca,
1221
1221
  lineContainer: Ta,
1222
1222
  circle: ka,
@@ -1264,30 +1264,30 @@ function La({ coupon: e }) {
1264
1264
  var f, v;
1265
1265
  const m = [], d = Array.from(
1266
1266
  new Map(
1267
- ((f = u == null ? void 0 : u.events) != null ? f : []).filter(Boolean).map((S) => [S.id, S])
1267
+ ((f = u == null ? void 0 : u.events) != null ? f : []).filter(Boolean).map((w) => [w.id, w])
1268
1268
  ).values()
1269
1269
  );
1270
- return d.forEach((S) => {
1270
+ return d.forEach((w) => {
1271
1271
  var $;
1272
- const x = ($ = S.betoffers) != null ? $ : [], g = S.homeName, C = S.awayName;
1272
+ const x = ($ = w.betoffers) != null ? $ : [], g = w.homeName, C = w.awayName;
1273
1273
  x.forEach((q) => {
1274
- var D, O, b, E, L, B, A;
1274
+ var D, E, b, O, L, B, A;
1275
1275
  if (!((D = q == null ? void 0 : q.outcomes) != null && D.length)) return;
1276
1276
  const _ = q.outcomes[0];
1277
1277
  if (!_) return;
1278
1278
  let N = "";
1279
1279
  const z = _ != null && _.line ? _.line / 1e3 : "";
1280
- ["Más de", "Mas de", "Over"].includes(_.label) ? (N = `Más de ${z}`, _.participant && (N = `${_.participant} - ${N}`)) : ["Menos de", "Menos", "Under"].includes(_.label) ? (N = `Menos de ${z}`, _.participant && (N = `${_.participant} - ${N}`)) : ["Sí", "No"].includes(_.label) ? (N = _.label, _.participant && (N = `${_.participant} - ${N}`)) : ["1X", "12", "X2"].includes(_.label) ? (_.label === "1X" && (N = `${g} o Empate`), _.label === "12" && (N = `${g} o ${C}`), _.label === "X2" && (N = `${C} o Empate`)) : (N = (b = (O = _.participant) != null ? O : _.label) != null ? b : "", z !== "" && N === _.label && (N = `${_.label} ${z}`)), m.push({
1280
+ ["Más de", "Mas de", "Over"].includes(_.label) ? (N = `Más de ${z}`, _.participant && (N = `${_.participant} - ${N}`)) : ["Menos de", "Menos", "Under"].includes(_.label) ? (N = `Menos de ${z}`, _.participant && (N = `${_.participant} - ${N}`)) : ["Sí", "No"].includes(_.label) ? (N = _.label, _.participant && (N = `${_.participant} - ${N}`)) : ["1X", "12", "X2"].includes(_.label) ? (_.label === "1X" && (N = `${g} o Empate`), _.label === "12" && (N = `${g} o ${C}`), _.label === "X2" && (N = `${C} o Empate`)) : (N = (b = (E = _.participant) != null ? E : _.label) != null ? b : "", z !== "" && N === _.label && (N = `${_.label} ${z}`)), m.push({
1281
1281
  id: _.id,
1282
1282
  value: N,
1283
- label: (L = (E = q.criterion) == null ? void 0 : E.label) != null ? L : "",
1283
+ label: (L = (O = q.criterion) == null ? void 0 : O.label) != null ? L : "",
1284
1284
  odds: (B = _.odds) != null ? B : 0,
1285
1285
  position: (A = _.position) != null ? A : 0,
1286
- eventId: S.id
1286
+ eventId: w.id
1287
1287
  });
1288
1288
  });
1289
1289
  }), {
1290
- outcomes: m.sort((S, x) => S.position - x.position),
1290
+ outcomes: m.sort((w, x) => w.position - x.position),
1291
1291
  total: Number((v = u == null ? void 0 : u.combinadoTotal) != null ? v : 0).toLocaleString("en-US", {
1292
1292
  minimumFractionDigits: 2,
1293
1293
  maximumFractionDigits: 2
@@ -1318,17 +1318,17 @@ function La({ coupon: e }) {
1318
1318
  return (C = g == null ? void 0 : g.name) != null ? C : "";
1319
1319
  })
1320
1320
  )
1321
- ).filter(Boolean), v = f.length > 0 ? f.join(" + ") : JSON.stringify(d), S = m ? `${v} - Cuota: ${m}` : v;
1321
+ ).filter(Boolean), v = f.length > 0 ? f.join(" + ") : JSON.stringify(d), w = m ? `${v} - Cuota: ${m}` : v;
1322
1322
  a({
1323
1323
  element: "evento_semana_outcome",
1324
- label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${S}`,
1324
+ label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${w}`,
1325
1325
  target: "/deportes#in-play",
1326
1326
  event_type: "click",
1327
1327
  module_id: 301,
1328
1328
  metadata: {
1329
1329
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1330
1330
  },
1331
- tags: { section: "OraculoEventCombinadasCard", outcomes: S }
1331
+ tags: { section: "OraculoEventCombinadasCard", outcomes: w }
1332
1332
  }), Ue(r(e), u);
1333
1333
  };
1334
1334
  if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
@@ -1432,9 +1432,9 @@ function Fa({
1432
1432
  ariaLabel: d,
1433
1433
  leftIcon: f,
1434
1434
  rightIcon: v,
1435
- iconOnly: S
1435
+ iconOnly: w
1436
1436
  }) {
1437
- const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, q = S != null ? S : $ && !x, _ = [
1437
+ const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, q = w != null ? w : $ && !x, _ = [
1438
1438
  de["orc-btn"],
1439
1439
  // base
1440
1440
  de[`orc-btn--${c}`],
@@ -1501,7 +1501,7 @@ const qa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", za = "
1501
1501
  return o || (a === "home" ? Xe : Ye);
1502
1502
  };
1503
1503
  function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1504
- var c, p, h, u, m, d, f, v, S, x, g;
1504
+ var c, p, h, u, m, d, f, v, w, x, g;
1505
1505
  const r = n == null ? void 0 : n.find(
1506
1506
  (C) => {
1507
1507
  var $;
@@ -1534,7 +1534,7 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1534
1534
  ),
1535
1535
  /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1536
1536
  /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
1537
- /* @__PURE__ */ t(pt, { text: ((f = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? f : 0) + ":" + ((S = (v = a == null ? void 0 : a.score) == null ? void 0 : v.away) != null ? S : 0), name: "En vivo" }),
1537
+ /* @__PURE__ */ t(pt, { text: ((f = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? f : 0) + ":" + ((w = (v = a == null ? void 0 : a.score) == null ? void 0 : v.away) != null ? w : 0), name: "En vivo" }),
1538
1538
  /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
1539
1539
  ] }) })
1540
1540
  ] }),
@@ -1562,12 +1562,12 @@ function Za({ event: e, jersey: a }) {
1562
1562
  var s, c, p, h, u, m, d;
1563
1563
  const n = ae(), o = ne();
1564
1564
  function r(f) {
1565
- const v = new Date(f), S = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), x = v.getDate().toString().padStart(2, "0"), g = (v.getMonth() + 1).toString().padStart(2, "0");
1565
+ const v = new Date(f), w = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), x = v.getDate().toString().padStart(2, "0"), g = (v.getMonth() + 1).toString().padStart(2, "0");
1566
1566
  let C = v.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1567
- return C = C.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${S} ${x}/${g} | ${C}`;
1567
+ return C = C.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${w} ${x}/${g} | ${C}`;
1568
1568
  }
1569
1569
  const i = (f, v) => {
1570
- const S = `${e.homeName} vs ${e.awayName}`, x = v ? (v / 1e3).toFixed(2) : "", g = x ? `${S} - Cuota: ${x}` : S;
1570
+ const w = `${e.homeName} vs ${e.awayName}`, x = v ? (v / 1e3).toFixed(2) : "", g = x ? `${w} - Cuota: ${x}` : w;
1571
1571
  n({
1572
1572
  element: "evento_semana_outcome",
1573
1573
  label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${g}`,
@@ -1635,7 +1635,7 @@ function Ja({
1635
1635
  },
1636
1636
  tags: { section: "OraculoSeccionDestacados" }
1637
1637
  }), (_ = s.current) == null || _.next();
1638
- }, S = () => {
1638
+ }, w = () => {
1639
1639
  h({
1640
1640
  element: "destacados_view_more",
1641
1641
  label: `${u} - OraculoSeccionDestacados - Ver más`,
@@ -1711,7 +1711,7 @@ function Ja({
1711
1711
  }
1712
1712
  )
1713
1713
  ] }),
1714
- /* @__PURE__ */ t(Y, { variant: "secondary", onClick: S, children: "Ver más" })
1714
+ /* @__PURE__ */ t(Y, { variant: "secondary", onClick: w, children: "Ver más" })
1715
1715
  ]
1716
1716
  }
1717
1717
  ),
@@ -1859,7 +1859,7 @@ function Qa({
1859
1859
  ] }) });
1860
1860
  }
1861
1861
  const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
1862
- var n, o, r, i, s, c, p, h, u, m, d, f, v, S;
1862
+ var n, o, r, i, s, c, p, h, u, m, d, f, v, w;
1863
1863
  return {
1864
1864
  orden: Number(a),
1865
1865
  machine: String(
@@ -1877,7 +1877,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1877
1877
  background: (d = e.background) != null ? d : "",
1878
1878
  rtp: (f = e.rtp) != null ? f : null,
1879
1879
  demo_allowed: (v = e.demo_allowed) != null ? v : !1,
1880
- gaming_session_required: (S = e.gaming_session_required) != null ? S : !1
1880
+ gaming_session_required: (w = e.gaming_session_required) != null ? w : !1
1881
1881
  };
1882
1882
  }, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
1883
1883
  var a, n, o;
@@ -1937,10 +1937,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1937
1937
  })
1938
1938
  );
1939
1939
  if (c) return;
1940
- const S = v.filter(
1940
+ const w = v.filter(
1941
1941
  (g) => g.status === "fulfilled"
1942
1942
  ).map((g) => g.value), x = d.map((g) => {
1943
- const C = S.find(($) => $.machine === g.itemId);
1943
+ const C = w.find(($) => $.machine === g.itemId);
1944
1944
  return C ? { ...C, score: g.score } : null;
1945
1945
  }).filter(Boolean).sort((g, C) => {
1946
1946
  var $, q;
@@ -1986,7 +1986,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1986
1986
  const h = ae(), u = ne(), m = le(), d = dn(p), { resolvedItems: f } = ln(
1987
1987
  e,
1988
1988
  d
1989
- ), v = d ? f : Array.isArray(e) ? e : [], S = (g) => {
1989
+ ), v = d ? f : Array.isArray(e) ? e : [], w = (g) => {
1990
1990
  h({
1991
1991
  element: "live_casino_card",
1992
1992
  label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(g.machine || "unknown")}`,
@@ -2136,13 +2136,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2136
2136
  children: (v != null ? v : []).slice(0, 3).map((g, C) => {
2137
2137
  var $;
2138
2138
  return /* @__PURE__ */ t(
2139
- wa,
2139
+ Sa,
2140
2140
  {
2141
2141
  logo: `https://olimpo.bet${g.background ? g.background : ($ = g.logo) != null ? $ : ""}`,
2142
2142
  provider: g.provider,
2143
2143
  providerName: g.web_name,
2144
2144
  machine: g.machine,
2145
- onClick: () => S(g)
2145
+ onClick: () => w(g)
2146
2146
  },
2147
2147
  cn(g, C)
2148
2148
  );
@@ -2216,11 +2216,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2216
2216
  gridSize: s = 1,
2217
2217
  isPersonalize: c = !1
2218
2218
  }) => {
2219
- const p = ae(), h = ne(), u = le(), m = V(null), [d, f] = X({ isStart: !0, isEnd: !1 }), v = mn(c), { resolvedItems: S, loading: x } = rn(
2219
+ const p = ae(), h = ne(), u = le(), m = V(null), [d, f] = X({ isStart: !0, isEnd: !1 }), v = mn(c), { resolvedItems: w, loading: x } = rn(
2220
2220
  e,
2221
2221
  v
2222
- ), g = v ? S : Array.isArray(e) ? e : [], C = () => {
2223
- var O;
2222
+ ), g = v ? w : Array.isArray(e) ? e : [], C = () => {
2223
+ var E;
2224
2224
  p({
2225
2225
  element: "casino_prev",
2226
2226
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
@@ -2231,9 +2231,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2231
2231
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2232
2232
  },
2233
2233
  tags: { section: "OraculoSeccionCasino" }
2234
- }), (O = m.current) == null || O.prev();
2234
+ }), (E = m.current) == null || E.prev();
2235
2235
  }, $ = () => {
2236
- var O;
2236
+ var E;
2237
2237
  p({
2238
2238
  element: "casino_next",
2239
2239
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
@@ -2244,7 +2244,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2244
2244
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2245
2245
  },
2246
2246
  tags: { section: "OraculoSeccionCasino" }
2247
- }), (O = m.current) == null || O.next();
2247
+ }), (E = m.current) == null || E.next();
2248
2248
  }, q = () => {
2249
2249
  if (p({
2250
2250
  element: "casino_view_more",
@@ -2261,12 +2261,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2261
2261
  return;
2262
2262
  }
2263
2263
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2264
- }, _ = (O = !0, b = 4) => {
2265
- const E = (B) => Array.from({ length: B }, (A, U) => ({
2264
+ }, _ = (E = !0, b = 4) => {
2265
+ const O = (B) => Array.from({ length: B }, (A, U) => ({
2266
2266
  id: `sk-${B}-${U}`,
2267
2267
  imageUrl: ""
2268
2268
  })), L = [];
2269
- return O && L.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), L.push({ id: "grid-loading", kind: "grid", items: E(b) }), L;
2269
+ return E && L.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), L.push({ id: "grid-loading", kind: "grid", items: O(b) }), L;
2270
2270
  }, N = v ? x : !Array.isArray(e) || e.length === 0, z = De("(max-width:950px)"), D = N ? _(i, s) : pn(g, i, s);
2271
2271
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2272
2272
  /* @__PURE__ */ y(
@@ -2340,38 +2340,38 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2340
2340
  padding: { left: "24px", right: "24px" }
2341
2341
  }
2342
2342
  },
2343
- renderItem: (O) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2343
+ renderItem: (E) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2344
2344
  ft,
2345
2345
  {
2346
- items: O.items,
2347
- layout: O.kind === "mosaic" ? "mosaic" : "grid",
2346
+ items: E.items,
2347
+ layout: E.kind === "mosaic" ? "mosaic" : "grid",
2348
2348
  loading: N,
2349
2349
  onClick: (b) => {
2350
2350
  if (N) return;
2351
- const E = g.find(
2351
+ const O = g.find(
2352
2352
  (A, U) => String(xt(A, U)) === String(b.id)
2353
2353
  );
2354
- if (!E) return;
2355
- o == null || o(E), p({
2354
+ if (!O) return;
2355
+ o == null || o(O), p({
2356
2356
  element: "casino_game_card",
2357
- label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
2358
- target: String(E.machine || "unknown"),
2357
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(O.machine || "unknown")}`,
2358
+ target: String(O.machine || "unknown"),
2359
2359
  event_type: "click",
2360
2360
  module_id: u,
2361
2361
  metadata: {
2362
2362
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2363
2363
  },
2364
2364
  tags: {
2365
- game_name: String(E.machine || "unknown"),
2365
+ game_name: String(O.machine || "unknown"),
2366
2366
  section: a || "Casino"
2367
2367
  }
2368
2368
  });
2369
2369
  const L = se("showIframe"), B = se("loadMachine");
2370
- L == null || L(), B == null || B(E, !1, "CASINO");
2370
+ L == null || L(), B == null || B(O, !1, "CASINO");
2371
2371
  }
2372
2372
  }
2373
2373
  ) }),
2374
- onMove: ({ isStart: O, isEnd: b }) => f({ isStart: O, isEnd: b })
2374
+ onMove: ({ isStart: E, isEnd: b }) => f({ isStart: E, isEnd: b })
2375
2375
  }
2376
2376
  )
2377
2377
  ] }) });
@@ -2385,14 +2385,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2385
2385
  return e.value.toLowerCase() === "true";
2386
2386
  }
2387
2387
  return !1;
2388
- }, wt = (e, a) => {
2388
+ }, St = (e, a) => {
2389
2389
  var n, o;
2390
2390
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2391
2391
  }, hn = (e, a = !0, n = 1) => {
2392
2392
  const o = e.map((s, c) => {
2393
2393
  var p;
2394
2394
  return {
2395
- id: wt(s, c),
2395
+ id: St(s, c),
2396
2396
  imageUrl: (p = s.logo) != null ? p : "",
2397
2397
  ...s.background ? { background: s.background } : {}
2398
2398
  };
@@ -2441,10 +2441,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2441
2441
  gridSize: s = 1,
2442
2442
  isPersonalize: c = !1
2443
2443
  }) => {
2444
- const p = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), f = le(), v = gn(c), { resolvedItems: S, loading: x } = sn(
2444
+ const p = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), f = le(), v = gn(c), { resolvedItems: w, loading: x } = sn(
2445
2445
  e,
2446
2446
  v
2447
- ), g = v ? S : Array.isArray(e) ? e : [], C = () => {
2447
+ ), g = v ? w : Array.isArray(e) ? e : [], C = () => {
2448
2448
  var D;
2449
2449
  m({
2450
2450
  element: "virtuales_prev",
@@ -2565,15 +2565,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2565
2565
  items: D.items,
2566
2566
  layout: D.kind === "mosaic" ? "mosaic" : "grid",
2567
2567
  loading: _,
2568
- onClick: (O) => {
2568
+ onClick: (E) => {
2569
2569
  if (_) return;
2570
2570
  const b = g.find(
2571
- (B, A) => String(wt(B, A)) === String(O.id)
2571
+ (B, A) => String(St(B, A)) === String(E.id)
2572
2572
  );
2573
2573
  if (!b) {
2574
2574
  console.warn(
2575
2575
  "[virtuales] no se encontró game para id:",
2576
- O.id
2576
+ E.id
2577
2577
  );
2578
2578
  return;
2579
2579
  }
@@ -2591,8 +2591,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2591
2591
  section: a || "Virtuales"
2592
2592
  }
2593
2593
  });
2594
- const E = se("showIframe"), L = se("loadMachine");
2595
- E == null || E(), L == null || L(
2594
+ const O = se("showIframe"), L = se("loadMachine");
2595
+ O == null || O(), L == null || L(
2596
2596
  b,
2597
2597
  !1,
2598
2598
  v ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
@@ -2600,7 +2600,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2600
2600
  }
2601
2601
  }
2602
2602
  ) }),
2603
- onMove: ({ isStart: D, isEnd: O }) => u({ isStart: D, isEnd: O })
2603
+ onMove: ({ isStart: D, isEnd: E }) => u({ isStart: D, isEnd: E })
2604
2604
  }
2605
2605
  )
2606
2606
  ] }) });
@@ -2642,7 +2642,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2642
2642
  items: n,
2643
2643
  backgroundImageUrl: o
2644
2644
  }) => {
2645
- const r = ae(), i = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, p = V(null), h = V(null), u = V(!1), m = V(!1), [d, f] = X(0), [v, S] = X({ isStart: !0, isEnd: !1 });
2645
+ const r = ae(), i = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, p = V(null), h = V(null), u = V(!1), m = V(!1), [d, f] = X(0), [v, w] = X({ isStart: !0, isEnd: !1 });
2646
2646
  Q(() => {
2647
2647
  const b = setTimeout(() => {
2648
2648
  u.current = !0;
@@ -2655,20 +2655,20 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2655
2655
  }, [v]);
2656
2656
  const g = V(!1), C = V(null), $ = n == null ? void 0 : n[d], q = re(
2657
2657
  () => {
2658
- var b, E;
2659
- return (E = (b = $ == null ? void 0 : $.backgroundImageUrl) != null ? b : o) != null ? E : "";
2658
+ var b, O;
2659
+ return (O = (b = $ == null ? void 0 : $.backgroundImageUrl) != null ? b : o) != null ? O : "";
2660
2660
  },
2661
2661
  [$, o]
2662
- ), _ = _n(q), N = !n || n.length === 0, z = (b, E) => {
2662
+ ), _ = _n(q), N = !n || n.length === 0, z = (b, O) => {
2663
2663
  r({
2664
2664
  element: "welcome_banner_button",
2665
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${b.title || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
2665
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${b.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
2666
2666
  target: "action",
2667
2667
  event_type: "click",
2668
2668
  module_id: 301,
2669
2669
  metadata: {
2670
2670
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2671
- banner_position: E + 1,
2671
+ banner_position: O + 1,
2672
2672
  banner_total: (n == null ? void 0 : n.length) || 0
2673
2673
  },
2674
2674
  tags: {
@@ -2682,10 +2682,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2682
2682
  m.current = !1;
2683
2683
  return;
2684
2684
  }
2685
- const E = n == null ? void 0 : n[b];
2685
+ const O = n == null ? void 0 : n[b];
2686
2686
  r({
2687
2687
  element: "welcome_banner_carousel",
2688
- label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Banner view: ${(E == null ? void 0 : E.title) || "OraculoSeccionBonoBienvenida - Banner " + (b + 1)}`,
2688
+ label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (b + 1)}`,
2689
2689
  target: "no_url",
2690
2690
  event_type: "view",
2691
2691
  module_id: 301,
@@ -2697,20 +2697,20 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2697
2697
  },
2698
2698
  tags: {
2699
2699
  banner_position: String(b + 1),
2700
- banner_title: (E == null ? void 0 : E.title) || "no_title"
2700
+ banner_title: (O == null ? void 0 : O.title) || "no_title"
2701
2701
  }
2702
2702
  });
2703
2703
  };
2704
2704
  Q(() => {
2705
2705
  const b = h.current;
2706
2706
  if (!b) return;
2707
- const E = 6, L = 380, B = (A) => {
2708
- var K, w;
2707
+ const O = 6, L = 380, B = (A) => {
2708
+ var K, S;
2709
2709
  if (N || A.ctrlKey || g.current) return;
2710
2710
  const U = A.deltaX, W = A.deltaY;
2711
- if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < E) return;
2711
+ if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < O) return;
2712
2712
  const G = U > 0;
2713
- G && x.current.isEnd || !G && x.current.isStart || (A.preventDefault(), g.current = !0, G ? (K = p.current) == null || K.next() : (w = p.current) == null || w.prev(), C.current && window.clearTimeout(C.current), C.current = window.setTimeout(() => {
2713
+ G && x.current.isEnd || !G && x.current.isStart || (A.preventDefault(), g.current = !0, G ? (K = p.current) == null || K.next() : (S = p.current) == null || S.prev(), C.current && window.clearTimeout(C.current), C.current = window.setTimeout(() => {
2714
2714
  g.current = !1;
2715
2715
  }, L));
2716
2716
  };
@@ -2718,10 +2718,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2718
2718
  b.removeEventListener("wheel", B), C.current && window.clearTimeout(C.current);
2719
2719
  };
2720
2720
  }, [N]);
2721
- const O = (b, E, L) => {
2721
+ const E = (b, O, L) => {
2722
2722
  var U, W;
2723
2723
  const B = (U = b.headline) != null ? U : e, A = (W = b.headline2) != null ? W : a;
2724
- return E ? /* @__PURE__ */ y(
2724
+ return O ? /* @__PURE__ */ y(
2725
2725
  P,
2726
2726
  {
2727
2727
  sx: {
@@ -2798,9 +2798,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2798
2798
  // arrows: false,
2799
2799
  // drag: true,
2800
2800
  },
2801
- renderItem: (b, E) => /* @__PURE__ */ t(P, { sx: { width: "100%" }, children: O(b, !s, E) }),
2802
- onMove: ({ index: b, isStart: E, isEnd: L, source: B }) => {
2803
- f(b), typeof E == "boolean" && typeof L == "boolean" && S({ isStart: E, isEnd: L }), B === "user" && D(b);
2801
+ renderItem: (b, O) => /* @__PURE__ */ t(P, { sx: { width: "100%" }, children: E(b, !s, O) }),
2802
+ onMove: ({ index: b, isStart: O, isEnd: L, source: B }) => {
2803
+ f(b), typeof O == "boolean" && typeof L == "boolean" && w({ isStart: O, isEnd: L }), B === "user" && D(b);
2804
2804
  }
2805
2805
  }
2806
2806
  ) }),
@@ -2810,7 +2810,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2810
2810
  total: n.length,
2811
2811
  active: d,
2812
2812
  onSelect: (b) => {
2813
- var E;
2813
+ var O;
2814
2814
  r({
2815
2815
  element: "welcome_banner_dots",
2816
2816
  label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${b + 1}`,
@@ -2825,7 +2825,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2825
2825
  tags: {
2826
2826
  navigation_type: "dot_click"
2827
2827
  }
2828
- }), f(b), (E = p.current) == null || E.go(b);
2828
+ }), f(b), (O = p.current) == null || O.go(b);
2829
2829
  }
2830
2830
  }
2831
2831
  ) })
@@ -2841,15 +2841,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2841
2841
  const s = V(null), c = V(null), p = ae(), h = ne(), u = le();
2842
2842
  if (!n) return null;
2843
2843
  const m = async () => {
2844
- let S = i;
2845
- if ((!(S != null && S.user) || !(S != null && S.session)) && typeof window != "undefined")
2844
+ let w = i;
2845
+ if ((!(w != null && w.user) || !(w != null && w.session)) && typeof window != "undefined")
2846
2846
  try {
2847
2847
  const x = localStorage.getItem("user");
2848
- x && (S = JSON.parse(x));
2848
+ x && (w = JSON.parse(x));
2849
2849
  } catch (x) {
2850
2850
  console.error("[getMarketPlaceUrl] Error parsing localStorage user", x);
2851
2851
  }
2852
- if (!(S != null && S.user) || !(S != null && S.session))
2852
+ if (!(w != null && w.user) || !(w != null && w.session))
2853
2853
  return console.warn("User data missing"), null;
2854
2854
  p({
2855
2855
  element: "club_olimpo_button",
@@ -2864,8 +2864,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2864
2864
  });
2865
2865
  try {
2866
2866
  const x = {
2867
- idUsuario: "PE" + S.user,
2868
- session_id: S.session,
2867
+ idUsuario: "PE" + w.user,
2868
+ session_id: w.session,
2869
2869
  pagina: "home"
2870
2870
  }, C = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2871
2871
  method: "POST",
@@ -2883,13 +2883,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2883
2883
  return console.error("[getMarketPlaceUrl]", x), null;
2884
2884
  }
2885
2885
  }, d = async () => {
2886
- const S = await m();
2887
- S ? window.location.href = S : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2886
+ const w = await m();
2887
+ w ? window.location.href = w : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2888
2888
  }, f = Array.isArray(n) ? n[o] : n;
2889
2889
  Mt(() => {
2890
2890
  if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
2891
- const S = s.current, x = c.current, g = () => {
2892
- S.style.setProperty(
2891
+ const w = s.current, x = c.current, g = () => {
2892
+ w.style.setProperty(
2893
2893
  "--orc-co-bottomH",
2894
2894
  `${x.offsetHeight + 16}px`
2895
2895
  );
@@ -2908,7 +2908,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2908
2908
  className: v,
2909
2909
  "aria-label": r || f.imgAlt || "Club Olimpo",
2910
2910
  children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
2911
- Sa,
2911
+ wa,
2912
2912
  {
2913
2913
  text: f.text,
2914
2914
  onClick: d,
@@ -2921,9 +2921,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2921
2921
  ) })
2922
2922
  }
2923
2923
  );
2924
- }, wn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Sn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
2925
- controls: wn,
2926
- padding: Sn
2924
+ }, Sn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", wn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
2925
+ controls: Sn,
2926
+ padding: wn
2927
2927
  }, In = (e) => {
2928
2928
  var a, n;
2929
2929
  return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((o) => {
@@ -2931,7 +2931,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2931
2931
  return (i = (r = o.outcomes) == null ? void 0 : r.map((s) => s.id)) != null ? i : [];
2932
2932
  }) : [];
2933
2933
  };
2934
- function En(e, a, n) {
2934
+ function On(e, a, n) {
2935
2935
  return n ? n.map((o) => {
2936
2936
  var u, m;
2937
2937
  const r = o.prePackCouponRows.flatMap((d) => In(d).map((f) => ({ eventId: d.eventId, outcomeId: f }))), i = new Set(r.map((d) => d.eventId)), s = new Set(r.map((d) => d.outcomeId)), c = new Map(r.map((d, f) => [d.outcomeId, f])), p = {};
@@ -2947,12 +2947,12 @@ function En(e, a, n) {
2947
2947
  return {
2948
2948
  couponId: o.id,
2949
2949
  status: o.status,
2950
- combinadoTotal: On(o.prePackCouponRows),
2950
+ combinadoTotal: En(o.prePackCouponRows),
2951
2951
  events: h
2952
2952
  };
2953
2953
  }) : [];
2954
2954
  }
2955
- function On(e) {
2955
+ function En(e) {
2956
2956
  if (!Array.isArray(e) || e.length === 0) return 0;
2957
2957
  let a = 1;
2958
2958
  for (const n of e) {
@@ -2981,7 +2981,7 @@ function Tn({
2981
2981
  },
2982
2982
  tags: { section: "OraculoSeccionEventoCombinadas" }
2983
2983
  }), (_ = p.current) == null || _.prev();
2984
- }, S = () => {
2984
+ }, w = () => {
2985
2985
  var _;
2986
2986
  i({
2987
2987
  element: "evento_combinadas_next",
@@ -3008,15 +3008,15 @@ function Tn({
3008
3008
  async function C() {
3009
3009
  var _, N, z, D;
3010
3010
  try {
3011
- const b = await (await fetch(f)).json(), E = (D = (z = (N = (_ = b == null ? void 0 : b.group) == null ? void 0 : _.groups) == null ? void 0 : N.map((U) => U.id)) == null ? void 0 : z.filter(Boolean)) == null ? void 0 : D.join(",");
3012
- if (!E) {
3011
+ const b = await (await fetch(f)).json(), O = (D = (z = (N = (_ = b == null ? void 0 : b.group) == null ? void 0 : _.groups) == null ? void 0 : N.map((U) => U.id)) == null ? void 0 : z.filter(Boolean)) == null ? void 0 : D.join(",");
3012
+ if (!O) {
3013
3013
  console.error("Could not extract group ID");
3014
3014
  return;
3015
3015
  }
3016
- const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${E}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, A = await (await fetch(L)).json();
3017
- d(En(A.events, A.betOffers, A.prePackCoupons));
3018
- } catch (O) {
3019
- console.error("loadDataEventSpecial error:", O);
3016
+ const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, A = await (await fetch(L)).json();
3017
+ d(On(A.events, A.betOffers, A.prePackCoupons));
3018
+ } catch (E) {
3019
+ console.error("loadDataEventSpecial error:", E);
3020
3020
  }
3021
3021
  }
3022
3022
  Q(() => {
@@ -3051,7 +3051,7 @@ function Tn({
3051
3051
  variant: "secondary",
3052
3052
  iconOnly: !0,
3053
3053
  rightIcon: /* @__PURE__ */ t(Re, {}),
3054
- onClick: S,
3054
+ onClick: w,
3055
3055
  disabled: h.isEnd
3056
3056
  }
3057
3057
  )
@@ -3122,7 +3122,7 @@ function Be({ children: e }) {
3122
3122
  const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3123
3123
  padding: Mn
3124
3124
  };
3125
- function St({
3125
+ function wt({
3126
3126
  events: e,
3127
3127
  visibleRange: a,
3128
3128
  fetchJerseys: n,
@@ -3135,10 +3135,10 @@ function St({
3135
3135
  return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
3136
3136
  var q, _;
3137
3137
  const m = (q = a.start) != null ? q : 0, d = (_ = a.end) != null ? _ : 7, f = Math.max(0, m - o), v = Math.min(e.length - 1, d + o);
3138
- let S = f, x = v;
3138
+ let w = f, x = v;
3139
3139
  const g = u.current;
3140
- g && (f > g.end && (S = g.end + 1), v < g.start && (x = g.start - 1)), u.current = { start: f, end: v };
3141
- const C = e.slice(S, x + 1).map((N) => N == null ? void 0 : N.id).filter((N) => !!N).filter((N) => !c.current.has(N)).filter((N) => !(N in i));
3140
+ g && (f > g.end && (w = g.end + 1), v < g.start && (x = g.start - 1)), u.current = { start: f, end: v };
3141
+ const C = e.slice(w, x + 1).map((N) => N == null ? void 0 : N.id).filter((N) => !!N).filter((N) => !c.current.has(N)).filter((N) => !(N in i));
3142
3142
  if (C.length === 0) return;
3143
3143
  C.forEach((N) => c.current.add(N));
3144
3144
  const $ = ++p.current;
@@ -3156,12 +3156,12 @@ function St({
3156
3156
  return;
3157
3157
  }
3158
3158
  s((D) => {
3159
- const O = { ...D };
3160
- for (const [b, E] of Object.entries(N.events)) {
3159
+ const E = { ...D };
3160
+ for (const [b, O] of Object.entries(N.events)) {
3161
3161
  const L = Number(b);
3162
- O[L] || (O[L] = E);
3162
+ E[L] || (E[L] = O);
3163
3163
  }
3164
- return O;
3164
+ return E;
3165
3165
  });
3166
3166
  const z = new Set(
3167
3167
  Object.keys(N.events).map(Number)
@@ -3196,11 +3196,11 @@ const An = (e) => {
3196
3196
  function Ln({
3197
3197
  items: e,
3198
3198
  title: a = "En vivo",
3199
- iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
3199
+ iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
3200
3200
  onViewMore: o,
3201
3201
  className: r = ""
3202
3202
  }) {
3203
- const i = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), [h, u] = X(null), [m, d] = X({ start: null, end: null }), [f, v] = X(null), S = V(!1), x = ae(), g = ne(), C = le(), $ = V(/* @__PURE__ */ new Map()), q = () => {
3203
+ const i = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), [h, u] = X(null), [m, d] = X({ start: null, end: null }), [f, v] = X(null), w = V(!1), x = ae(), g = ne(), C = le(), $ = V(/* @__PURE__ */ new Map()), q = () => {
3204
3204
  var B;
3205
3205
  x({
3206
3206
  element: "evento_en_vivo_prev",
@@ -3241,11 +3241,11 @@ function Ln({
3241
3241
  }, z = Ce(async () => {
3242
3242
  var B;
3243
3243
  try {
3244
- if (!S.current) {
3245
- S.current = !0;
3244
+ if (!w.current) {
3245
+ w.current = !0;
3246
3246
  try {
3247
- const K = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), w = ((B = K == null ? void 0 : K.data) == null ? void 0 : B.event_ids) || [], R = /* @__PURE__ */ new Map();
3248
- w.forEach((Z, l) => R.set(String(Z), l)), $.current = R;
3247
+ const K = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), S = ((B = K == null ? void 0 : K.data) == null ? void 0 : B.event_ids) || [], R = /* @__PURE__ */ new Map();
3248
+ S.forEach((Z, l) => R.set(String(Z), l)), $.current = R;
3249
3249
  } catch (G) {
3250
3250
  console.error("Order fetch failed, using default sorting", G);
3251
3251
  }
@@ -3256,8 +3256,8 @@ function Ln({
3256
3256
  if ($.current.size === 0)
3257
3257
  u(W);
3258
3258
  else {
3259
- const G = [...W].sort((K, w) => {
3260
- const R = $.current.get(String(K.event.id)), Z = $.current.get(String(w.event.id));
3259
+ const G = [...W].sort((K, S) => {
3260
+ const R = $.current.get(String(K.event.id)), Z = $.current.get(String(S.event.id));
3261
3261
  return (R !== void 0 ? R : 1 / 0) - (Z !== void 0 ? Z : 1 / 0);
3262
3262
  });
3263
3263
  u(G);
@@ -3271,7 +3271,7 @@ function Ln({
3271
3271
  const B = setInterval(z, 2e4);
3272
3272
  return () => clearInterval(B);
3273
3273
  }, [z]);
3274
- const { jerseys: D } = St({
3274
+ const { jerseys: D } = wt({
3275
3275
  events: (h == null ? void 0 : h.map((B) => B.event)) || [],
3276
3276
  // extract actual event objects
3277
3277
  visibleRange: m,
@@ -3280,8 +3280,8 @@ function Ln({
3280
3280
  // same as your previous BUFFER
3281
3281
  debounceMs: 300
3282
3282
  // same as your previous debouncedVisibleRange
3283
- }), O = r || void 0, b = h === null, E = re(() => b ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [b, h]), L = xe("(max-width:950px)");
3284
- return !b && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: O, style: {
3283
+ }), E = r || void 0, b = h === null, O = re(() => b ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [b, h]), L = xe("(max-width:950px)");
3284
+ return !b && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: E, style: {
3285
3285
  // paddingLeft: 16,
3286
3286
  // paddingRight: 16,
3287
3287
  width: "100%",
@@ -3321,7 +3321,7 @@ function Ln({
3321
3321
  he,
3322
3322
  {
3323
3323
  ref: s,
3324
- items: E,
3324
+ items: O,
3325
3325
  perPage: void 0,
3326
3326
  showRightGradient: !L,
3327
3327
  enableHorizontalWheel: !0,
@@ -3428,7 +3428,7 @@ function Hn({
3428
3428
  onViewMore: o,
3429
3429
  className: r = ""
3430
3430
  }) {
3431
- const i = ae(), s = ne(), c = le(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, m] = X({ isStart: !0, isEnd: !1 }), [d, f] = X(null), [v, S] = X({ start: null, end: null }), x = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", g = () => {
3431
+ const i = ae(), s = ne(), c = le(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, m] = X({ isStart: !0, isEnd: !1 }), [d, f] = X(null), [v, w] = X({ start: null, end: null }), x = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", g = () => {
3432
3432
  i({
3433
3433
  element: "evento_semana_view_more",
3434
3434
  label: `${s} - OraculoSeccionEventoSemana - Ver más`,
@@ -3441,24 +3441,24 @@ function Hn({
3441
3441
  tags: { section: "OraculoSeccionEventoSemana" }
3442
3442
  }), Aa();
3443
3443
  };
3444
- async function C(O) {
3444
+ async function C(E) {
3445
3445
  var L, B;
3446
- let b = [], E = [];
3446
+ let b = [], O = [];
3447
3447
  try {
3448
3448
  const A = await fetch(
3449
3449
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
3450
- { signal: O }
3450
+ { signal: E }
3451
3451
  );
3452
3452
  if (A.ok) {
3453
3453
  const U = await A.json();
3454
- b = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], E = ((B = U == null ? void 0 : U.data) == null ? void 0 : B.event_ids) || [];
3454
+ b = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], O = ((B = U == null ? void 0 : U.data) == null ? void 0 : B.event_ids) || [];
3455
3455
  }
3456
3456
  } catch (A) {
3457
3457
  A.name !== "AbortError" && console.warn("Order API not available, using default group order");
3458
3458
  return;
3459
3459
  }
3460
3460
  try {
3461
- const W = (await (await fetch(p, { signal: O })).json()).group.groups.find(
3461
+ const W = (await (await fetch(p, { signal: E })).json()).group.groups.find(
3462
3462
  (l) => l.englishName === "Football"
3463
3463
  );
3464
3464
  if (!W || !Array.isArray(W.groups)) {
@@ -3475,7 +3475,7 @@ function Hn({
3475
3475
  return k !== void 0 && M !== void 0 ? k - M : k !== void 0 ? -1 : M !== void 0 ? 1 : 0;
3476
3476
  });
3477
3477
  }
3478
- const w = G.slice(0, 5), R = (l) => {
3478
+ const S = G.slice(0, 5), R = (l) => {
3479
3479
  const I = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3480
3480
  if (l.groups && l.groups.length > 0) {
3481
3481
  const T = l.groups[0];
@@ -3486,36 +3486,36 @@ function Hn({
3486
3486
  return [
3487
3487
  `${I}/${l.termKey}/all/all/matches.json?${x}`
3488
3488
  ];
3489
- }, Z = w.flatMap(R);
3490
- $(Z, E, O);
3489
+ }, Z = S.flatMap(R);
3490
+ $(Z, O, E);
3491
3491
  } catch (A) {
3492
3492
  console.error(A);
3493
3493
  }
3494
3494
  }
3495
- async function $(O, b, E) {
3495
+ async function $(E, b, O) {
3496
3496
  try {
3497
- const L = await Vn(O, 2, E);
3497
+ const L = await Vn(E, 2, O);
3498
3498
  let B = [], A = [];
3499
3499
  L.forEach((K) => {
3500
- K.events && (B.push(...K.events.map((w) => w.event)), A.push(
3501
- ...K.events.flatMap((w) => w.betOffers || [])
3500
+ K.events && (B.push(...K.events.map((S) => S.event)), A.push(
3501
+ ...K.events.flatMap((S) => S.betOffers || [])
3502
3502
  ));
3503
3503
  });
3504
3504
  const U = jn(B, A), W = Wn(Gn(U));
3505
3505
  let G = W;
3506
3506
  if (b.length > 0) {
3507
3507
  const K = new Map(
3508
- b.map((w, R) => [
3509
- String(w),
3508
+ b.map((S, R) => [
3509
+ String(S),
3510
3510
  R
3511
3511
  ])
3512
3512
  );
3513
- G = [...W].sort((w, R) => {
3514
- const Z = K.get(String(w.id)), l = K.get(String(R.id));
3513
+ G = [...W].sort((S, R) => {
3514
+ const Z = K.get(String(S.id)), l = K.get(String(R.id));
3515
3515
  return Z !== void 0 && l !== void 0 ? Z - l : Z !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3516
3516
  });
3517
3517
  }
3518
- if (E.aborted) return;
3518
+ if (O.aborted) return;
3519
3519
  f(G);
3520
3520
  } catch (L) {
3521
3521
  console.error("Error loading events:", L);
@@ -3523,16 +3523,16 @@ function Hn({
3523
3523
  }
3524
3524
  Q(() => {
3525
3525
  if (!e) return;
3526
- const O = new AbortController();
3527
- return C(O.signal), () => {
3528
- O.abort();
3526
+ const E = new AbortController();
3527
+ return C(E.signal), () => {
3528
+ E.abort();
3529
3529
  };
3530
3530
  }, [e]);
3531
3531
  const q = r || void 0, _ = {
3532
3532
  paddingLeft: 0,
3533
3533
  width: "100%",
3534
3534
  boxSizing: "border-box"
3535
- }, { jerseys: N } = St({
3535
+ }, { jerseys: N } = wt({
3536
3536
  events: d,
3537
3537
  visibleRange: v,
3538
3538
  fetchJerseys: gt,
@@ -3573,13 +3573,13 @@ function Hn({
3573
3573
  padding: { left: "8px", right: "8px" }
3574
3574
  }
3575
3575
  },
3576
- renderItem: (O) => {
3577
- const b = O.id, E = b in N ? N[b] : void 0;
3578
- return z ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Fn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: O, jersey: E }) });
3576
+ renderItem: (E) => {
3577
+ const b = E.id, O = b in N ? N[b] : void 0;
3578
+ return z ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Fn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: E, jersey: O }) });
3579
3579
  },
3580
- onMove: ({ isStart: O, isEnd: b, visibleStart: E, visibleEnd: L, source: B }) => {
3581
- m({ isStart: O, isEnd: b }), S({
3582
- start: E,
3580
+ onMove: ({ isStart: E, isEnd: b, visibleStart: O, visibleEnd: L, source: B }) => {
3581
+ m({ isStart: E, isEnd: b }), w({
3582
+ start: O,
3583
3583
  end: L
3584
3584
  }), B === "user" && i({
3585
3585
  element: "evento_semana_carousel_slide",
@@ -3589,9 +3589,9 @@ function Hn({
3589
3589
  module_id: c,
3590
3590
  metadata: {
3591
3591
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3592
- visibleStart: E,
3592
+ visibleStart: O,
3593
3593
  visibleEnd: L,
3594
- isStart: O,
3594
+ isStart: E,
3595
3595
  isEnd: b
3596
3596
  },
3597
3597
  tags: { section: "OraculoSeccionEventoSemana" }
@@ -3621,8 +3621,8 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3621
3621
  Number(c)
3622
3622
  );
3623
3623
  }, Jn = (e, a) => {
3624
- var c, p, h, u, m, d, f, v, S;
3625
- const n = (h = (p = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? p : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (m = e == null ? void 0 : e.startAt) != null ? m : (u = n.find((x) => (x == null ? void 0 : x.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, r = (S = (v = e == null ? void 0 : e.endAt) != null ? v : (f = n.find((x) => (x == null ? void 0 : x.name) === "endAt")) == null ? void 0 : f.value) != null ? S : null, i = nt(o), s = nt(r);
3624
+ var c, p, h, u, m, d, f, v, w;
3625
+ const n = (h = (p = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? p : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (m = e == null ? void 0 : e.startAt) != null ? m : (u = n.find((x) => (x == null ? void 0 : x.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, r = (w = (v = e == null ? void 0 : e.endAt) != null ? v : (f = n.find((x) => (x == null ? void 0 : x.name) === "endAt")) == null ? void 0 : f.value) != null ? w : null, i = nt(o), s = nt(r);
3626
3626
  return !(i != null && a < i || s != null && a >= s);
3627
3627
  };
3628
3628
  function Xn({
@@ -3631,23 +3631,23 @@ function Xn({
3631
3631
  hideItems: n
3632
3632
  }) {
3633
3633
  var K;
3634
- const [o, r] = X(0), i = ae(), s = ne(), c = le(), p = V(null), h = V(!1), u = V(!1), [m, d] = X(() => Date.now()), f = se("setDepositActionGlobal"), v = (w) => [...w != null ? w : []].map((R, Z) => ({ item: R, index: Z })).sort((R, Z) => {
3634
+ const [o, r] = X(0), i = ae(), s = ne(), c = le(), p = V(null), h = V(!1), u = V(!1), [m, d] = X(() => Date.now()), f = se("setDepositActionGlobal"), v = (S) => [...S != null ? S : []].map((R, Z) => ({ item: R, index: Z })).sort((R, Z) => {
3635
3635
  var T, k;
3636
3636
  const l = (T = R.item.order) != null ? T : Number.MAX_SAFE_INTEGER, I = (k = Z.item.order) != null ? k : Number.MAX_SAFE_INTEGER;
3637
3637
  return l - I || R.index - Z.index;
3638
- }).map(({ item: R }) => R), S = re(() => v(a), [a]), x = re(() => {
3639
- const w = (e != null ? e : []).filter(
3638
+ }).map(({ item: R }) => R), w = re(() => v(a), [a]), x = re(() => {
3639
+ const S = (e != null ? e : []).filter(
3640
3640
  (R) => Jn(R, m)
3641
3641
  );
3642
- return v(w);
3643
- }, [e, m]), g = x.length || 1, C = !x || x.length === 0, $ = !C && x.length > 1, q = !n && S.length > 0;
3642
+ return v(S);
3643
+ }, [e, m]), g = x.length || 1, C = !x || x.length === 0, $ = !C && x.length > 1, q = !n && w.length > 0;
3644
3644
  De("(max-width:950px)");
3645
3645
  const _ = "#B5B5B5";
3646
3646
  Q(() => {
3647
- const w = window.setInterval(() => {
3647
+ const S = window.setInterval(() => {
3648
3648
  d(Date.now());
3649
3649
  }, 3e4);
3650
- return () => window.clearInterval(w);
3650
+ return () => window.clearInterval(S);
3651
3651
  }, []);
3652
3652
  const N = {
3653
3653
  position: "absolute",
@@ -3684,16 +3684,16 @@ function Xn({
3684
3684
  []
3685
3685
  );
3686
3686
  Q(() => {
3687
- const w = setTimeout(() => {
3687
+ const S = setTimeout(() => {
3688
3688
  h.current = !0;
3689
3689
  }, 500);
3690
- return () => clearTimeout(w);
3690
+ return () => clearTimeout(S);
3691
3691
  }, []);
3692
- const D = (w, R, Z) => {
3692
+ const D = (S, R, Z) => {
3693
3693
  var k, M;
3694
3694
  const l = !!R.idFunction, I = !!R.href;
3695
3695
  if (l)
3696
- switch (w.preventDefault(), w.stopPropagation(), R.idFunction) {
3696
+ switch (S.preventDefault(), S.stopPropagation(), R.idFunction) {
3697
3697
  case "deposito":
3698
3698
  f == null || f(!0);
3699
3699
  return;
@@ -3701,7 +3701,7 @@ function Xn({
3701
3701
  return;
3702
3702
  }
3703
3703
  if (!I) {
3704
- w.preventDefault(), w.stopPropagation();
3704
+ S.preventDefault(), S.stopPropagation();
3705
3705
  return;
3706
3706
  }
3707
3707
  const T = ((M = (k = R.href) == null ? void 0 : k.split("/").pop()) == null ? void 0 : M.split(".")[0]) || R.label || R.id || `banner_${Z + 1}`;
@@ -3722,43 +3722,43 @@ function Xn({
3722
3722
  banner_url: R.href || "no_url"
3723
3723
  }
3724
3724
  });
3725
- }, O = (w) => {
3725
+ }, E = (S) => {
3726
3726
  if (i({
3727
3727
  element: "banner_menu_item",
3728
- label: `${s} - OraculoSeccionBanners - Menu item click: ${w.label || w.id}`,
3729
- target: w.href || "action",
3728
+ label: `${s} - OraculoSeccionBanners - Menu item click: ${S.label || S.id}`,
3729
+ target: S.href || "action",
3730
3730
  event_type: "click",
3731
3731
  module_id: c,
3732
3732
  metadata: {
3733
3733
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3734
- item_id: w.id
3734
+ item_id: S.id
3735
3735
  },
3736
3736
  tags: {
3737
- item_label: w.label || "no_label"
3737
+ item_label: S.label || "no_label"
3738
3738
  }
3739
- }), w.onClick) {
3740
- w.onClick();
3739
+ }), S.onClick) {
3740
+ S.onClick();
3741
3741
  return;
3742
3742
  }
3743
- w.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(w.href);
3744
- }, b = 5e3, E = V(null), L = !C && ((K = x == null ? void 0 : x.length) != null ? K : 0) > 1, B = () => {
3745
- E.current != null && (window.clearTimeout(E.current), E.current = null);
3743
+ S.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(S.href);
3744
+ }, b = 5e3, O = V(null), L = !C && ((K = x == null ? void 0 : x.length) != null ? K : 0) > 1, B = () => {
3745
+ O.current != null && (window.clearTimeout(O.current), O.current = null);
3746
3746
  }, A = () => {
3747
- B(), L && (E.current = window.setTimeout(() => {
3748
- var w;
3749
- u.current = !0, (w = p.current) == null || w.next();
3747
+ B(), L && (O.current = window.setTimeout(() => {
3748
+ var S;
3749
+ u.current = !0, (S = p.current) == null || S.next();
3750
3750
  }, b));
3751
3751
  };
3752
3752
  Q(() => (A(), () => B()), [L, b]);
3753
- const U = (w) => {
3753
+ const U = (S) => {
3754
3754
  var R;
3755
- w.preventDefault(), w.stopPropagation(), B(), (R = p.current) == null || R.prev();
3756
- }, W = (w) => {
3755
+ S.preventDefault(), S.stopPropagation(), B(), (R = p.current) == null || R.prev();
3756
+ }, W = (S) => {
3757
3757
  var R;
3758
- w.preventDefault(), w.stopPropagation(), B(), (R = p.current) == null || R.next();
3759
- }, G = (w) => {
3758
+ S.preventDefault(), S.stopPropagation(), B(), (R = p.current) == null || R.next();
3759
+ }, G = (S) => {
3760
3760
  var l, I, T, k;
3761
- const R = (w % g + g) % g;
3761
+ const R = (S % g + g) % g;
3762
3762
  if (!h.current) return;
3763
3763
  const Z = (l = x == null ? void 0 : x[R]) != null && l.href ? ((T = (I = x[R].href) == null ? void 0 : I.split("/").pop()) == null ? void 0 : T.split(".")[0]) || `banner_${R + 1}` : `banner_${R + 1}`;
3764
3764
  i({
@@ -3819,23 +3819,23 @@ function Xn({
3819
3819
  gap: "0px",
3820
3820
  enableHorizontalWheel: !0,
3821
3821
  options: z,
3822
- onMove: ({ index: w, source: R }) => {
3823
- const Z = (w % g + g) % g;
3822
+ onMove: ({ index: S, source: R }) => {
3823
+ const Z = (S % g + g) % g;
3824
3824
  r(Z);
3825
3825
  const l = u.current;
3826
- u.current = !1, R === "user" && (A(), l || G(w));
3826
+ u.current = !1, R === "user" && (A(), l || G(S));
3827
3827
  },
3828
- renderItem: (w, R) => {
3828
+ renderItem: (S, R) => {
3829
3829
  var k, M, F;
3830
- const Z = !!w.idFunction, l = !!w.href, I = l && !Z, T = Z || l;
3830
+ const Z = !!S.idFunction, l = !!S.href, I = l && !Z, T = Z || l;
3831
3831
  return /* @__PURE__ */ y(
3832
3832
  ee,
3833
3833
  {
3834
3834
  component: I ? "a" : "div",
3835
- href: I ? w.href : void 0,
3836
- target: I ? (k = w.target) != null ? k : "_self" : void 0,
3837
- rel: I && w.target === "_blank" ? "noopener noreferrer" : void 0,
3838
- onClick: (J) => D(J, w, R),
3835
+ href: I ? S.href : void 0,
3836
+ target: I ? (k = S.target) != null ? k : "_self" : void 0,
3837
+ rel: I && S.target === "_blank" ? "noopener noreferrer" : void 0,
3838
+ onClick: (J) => D(J, S, R),
3839
3839
  sx: {
3840
3840
  position: "relative",
3841
3841
  width: "100%",
@@ -3846,13 +3846,13 @@ function Xn({
3846
3846
  },
3847
3847
  children: [
3848
3848
  /* @__PURE__ */ y(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3849
- /* @__PURE__ */ t("source", { srcSet: w.desktopSrc, media: "(min-width:950px)" }),
3850
- /* @__PURE__ */ t("source", { srcSet: w.mobileSrc, media: "(max-width:949px)" }),
3849
+ /* @__PURE__ */ t("source", { srcSet: S.desktopSrc, media: "(min-width:950px)" }),
3850
+ /* @__PURE__ */ t("source", { srcSet: S.mobileSrc, media: "(max-width:949px)" }),
3851
3851
  /* @__PURE__ */ t(
3852
3852
  ee,
3853
3853
  {
3854
3854
  component: "img",
3855
- src: (F = (M = w.fallbackSrc) != null ? M : w.desktopSrc) != null ? F : "",
3855
+ src: (F = (M = S.fallbackSrc) != null ? M : S.desktopSrc) != null ? F : "",
3856
3856
  alt: "",
3857
3857
  "aria-hidden": !0,
3858
3858
  loading: "lazy",
@@ -3966,7 +3966,7 @@ function Xn({
3966
3966
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3967
3967
  zIndex: 3
3968
3968
  },
3969
- children: S == null ? void 0 : S.map((w) => /* @__PURE__ */ y(
3969
+ children: w == null ? void 0 : w.map((S) => /* @__PURE__ */ y(
3970
3970
  ee,
3971
3971
  {
3972
3972
  sx: {
@@ -3978,7 +3978,7 @@ function Xn({
3978
3978
  gap: { xs: 0.5, md: 1 },
3979
3979
  color: "#FFFFFF",
3980
3980
  minWidth: 0,
3981
- cursor: w.onClick || w.href ? "pointer" : "default",
3981
+ cursor: S.onClick || S.href ? "pointer" : "default",
3982
3982
  whiteSpace: "nowrap",
3983
3983
  "&::after": {
3984
3984
  content: '""',
@@ -4002,7 +4002,7 @@ function Xn({
4002
4002
  opacity: 1,
4003
4003
  transform: "scaleX(1)"
4004
4004
  },
4005
- ...w.iconHover && {
4005
+ ...S.iconHover && {
4006
4006
  "&:hover .menu-icon-default": {
4007
4007
  display: "none"
4008
4008
  },
@@ -4011,9 +4011,9 @@ function Xn({
4011
4011
  }
4012
4012
  }
4013
4013
  },
4014
- onClick: () => O(w),
4014
+ onClick: () => E(S),
4015
4015
  children: [
4016
- w.icon && /* @__PURE__ */ y(
4016
+ S.icon && /* @__PURE__ */ y(
4017
4017
  ee,
4018
4018
  {
4019
4019
  sx: {
@@ -4027,8 +4027,8 @@ function Xn({
4027
4027
  ee,
4028
4028
  {
4029
4029
  component: "img",
4030
- src: w.icon,
4031
- alt: w.label || `icon-${w.id}`,
4030
+ src: S.icon,
4031
+ alt: S.label || `icon-${S.id}`,
4032
4032
  className: "menu-icon-default",
4033
4033
  sx: {
4034
4034
  display: "block",
@@ -4040,12 +4040,12 @@ function Xn({
4040
4040
  }
4041
4041
  }
4042
4042
  ),
4043
- w.iconHover && /* @__PURE__ */ t(
4043
+ S.iconHover && /* @__PURE__ */ t(
4044
4044
  ee,
4045
4045
  {
4046
4046
  component: "img",
4047
- src: w.iconHover,
4048
- alt: w.label || `icon-hover-${w.id}`,
4047
+ src: S.iconHover,
4048
+ alt: S.label || `icon-hover-${S.id}`,
4049
4049
  className: "menu-icon-hover",
4050
4050
  sx: {
4051
4051
  display: "none",
@@ -4070,12 +4070,12 @@ function Xn({
4070
4070
  color: "#E0E0E0",
4071
4071
  textAlign: "center"
4072
4072
  },
4073
- children: w.label
4073
+ children: S.label
4074
4074
  }
4075
4075
  )
4076
4076
  ]
4077
4077
  },
4078
- w.id
4078
+ S.id
4079
4079
  ))
4080
4080
  }
4081
4081
  )
@@ -4089,7 +4089,7 @@ const Yn = [
4089
4089
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
4090
4090
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/pagoEfectivo.png", alt: "PagoEfectivo" },
4091
4091
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/tupay.svg", alt: "Tupay" },
4092
- { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/monnet.svg", alt: "Monnet" },
4092
+ // { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/monnet.svg", alt: "Monnet" },
4093
4093
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
4094
4094
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
4095
4095
  ];
@@ -4127,9 +4127,9 @@ function Qn({
4127
4127
  }
4128
4128
  }
4129
4129
  ),
4130
- /* @__PURE__ */ y(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4130
+ /* @__PURE__ */ y(Ee, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4131
4131
  /* @__PURE__ */ t(
4132
- Oe,
4132
+ Ee,
4133
4133
  {
4134
4134
  direction: "row",
4135
4135
  justifyContent: "center",
@@ -4140,7 +4140,7 @@ function Qn({
4140
4140
  }
4141
4141
  ),
4142
4142
  /* @__PURE__ */ t(
4143
- Oe,
4143
+ Ee,
4144
4144
  {
4145
4145
  direction: "row",
4146
4146
  justifyContent: "center",
@@ -4174,7 +4174,7 @@ function It({
4174
4174
  e
4175
4175
  ] });
4176
4176
  }
4177
- function So({
4177
+ function wo({
4178
4178
  docId: e = "Landing: home",
4179
4179
  moduleId: a = 301,
4180
4180
  children: n
@@ -5563,7 +5563,7 @@ const eo = {
5563
5563
  }
5564
5564
  ]
5565
5565
  }, to = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, ao = (e) => /^OraculoSeccion[A-Z]/.test(e);
5566
- function Ee(e) {
5566
+ function Oe(e) {
5567
5567
  return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
5568
5568
  var o, r;
5569
5569
  return ((o = a.order) != null ? o : 0) - ((r = n.order) != null ? r : 0);
@@ -5637,8 +5637,8 @@ const rt = [
5637
5637
  loader: i,
5638
5638
  disableWrapper: s = !1
5639
5639
  }) => {
5640
- const c = re(() => oo(r), [r]), p = i || c.loader, [h, u] = X([]), [m, d] = X(!1), [f, v] = X({}), [S, x] = X({}), [g, C] = X({}), $ = De("(min-width:1024px)"), q = re(
5641
- () => Ee(Pe),
5640
+ const c = re(() => oo(r), [r]), p = i || c.loader, [h, u] = X([]), [m, d] = X(!1), [f, v] = X({}), [w, x] = X({}), [g, C] = X({}), $ = De("(min-width:1024px)"), q = re(
5641
+ () => Oe(Pe),
5642
5642
  []
5643
5643
  ), _ = (l) => q.find(
5644
5644
  (I) => I.id === l.id || I.componentKey === l.componentKey
@@ -5658,7 +5658,7 @@ const rt = [
5658
5658
  return k.map((F) => Number(String(F).trim())).filter((F) => !Number.isNaN(F));
5659
5659
  const M = String(k).trim();
5660
5660
  return M ? M.split(",").map((F) => Number(F.trim())).filter((F) => !Number.isNaN(F)) : [];
5661
- }, O = (l, I) => {
5661
+ }, E = (l, I) => {
5662
5662
  const T = D(l);
5663
5663
  if (T.length === 0) return !0;
5664
5664
  if (!Array.isArray(I) || I.length === 0) return !1;
@@ -5668,11 +5668,11 @@ const rt = [
5668
5668
  Q(() => {
5669
5669
  if (e) return;
5670
5670
  if (!o) {
5671
- console.warn("[landing] sin db -> fallback json"), u(Ee(Pe));
5671
+ console.warn("[landing] sin db -> fallback json"), u(Oe(Pe));
5672
5672
  return;
5673
5673
  }
5674
5674
  const l = (T, k) => {
5675
- console.warn("[landing] FALLBACK:", T, k != null ? k : ""), u(Ee(Pe)), d(!1);
5675
+ console.warn("[landing] FALLBACK:", T, k != null ? k : ""), u(Oe(Pe)), d(!1);
5676
5676
  };
5677
5677
  d(!0);
5678
5678
  const I = zt(
@@ -5683,7 +5683,7 @@ const rt = [
5683
5683
  l(`doc landings/${a} no existe`);
5684
5684
  return;
5685
5685
  }
5686
- const k = T.data(), M = Ee(k);
5686
+ const k = T.data(), M = Oe(k);
5687
5687
  if (!M.length) {
5688
5688
  l("JSON inválido o sin secciones normalizables", k);
5689
5689
  return;
@@ -5737,12 +5737,12 @@ const rt = [
5737
5737
  });
5738
5738
  if (!te.ok) throw new ot(te.status, M, te.statusText);
5739
5739
  return te.json();
5740
- }, E = re(
5740
+ }, O = re(
5741
5741
  () => e ? e.slice() : h.slice(),
5742
5742
  [e, h]
5743
5743
  ), L = fe.useRef(/* @__PURE__ */ new Set());
5744
5744
  Q(() => {
5745
- const l = E.map((I) => ({ s: I, url: (I.apiUrl || "").trim() })).filter(({ url: I }) => !!I);
5745
+ const l = O.map((I) => ({ s: I, url: (I.apiUrl || "").trim() })).filter(({ url: I }) => !!I);
5746
5746
  if (l.length)
5747
5747
  for (const { s: I, url: T } of l) {
5748
5748
  const k = `${I.id}|${T}`;
@@ -5758,10 +5758,10 @@ const rt = [
5758
5758
  }
5759
5759
  })());
5760
5760
  }
5761
- }, [E]);
5761
+ }, [O]);
5762
5762
  const B = re(
5763
- () => E.filter((l) => l.visible).filter((l) => O(l, z)).sort((l, I) => l.order - I.order),
5764
- [E, z]
5763
+ () => O.filter((l) => l.visible).filter((l) => E(l, z)).sort((l, I) => l.order - I.order),
5764
+ [O, z]
5765
5765
  ), A = (l) => Array.isArray(l) ? l.map((I) => {
5766
5766
  const T = {};
5767
5767
  for (const k of I.fields || []) {
@@ -5861,7 +5861,7 @@ const rt = [
5861
5861
  typeof I[k] == "undefined" && (I[k] = []);
5862
5862
  }
5863
5863
  return I;
5864
- }, w = (l) => {
5864
+ }, S = (l) => {
5865
5865
  try {
5866
5866
  return G(l);
5867
5867
  } catch (I) {
@@ -5911,24 +5911,24 @@ const rt = [
5911
5911
  "component",
5912
5912
  `Componente "${I}" no encontrado`
5913
5913
  );
5914
- const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? f[l.id] : void 0, Et = oe ? !!S[l.id] : !1, Ge = oe ? g[l.id] : "";
5914
+ const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? f[l.id] : void 0, Ot = oe ? !!w[l.id] : !1, Ge = oe ? g[l.id] : "";
5915
5915
  if (oe) {
5916
- if (Et && !We)
5916
+ if (Ot && !We)
5917
5917
  return R(
5918
5918
  l.id,
5919
5919
  "loading",
5920
5920
  `Cargando datos desde ${l.apiUrl}...`
5921
5921
  );
5922
5922
  if (Ge && !We) {
5923
- const we = _(l);
5924
- if (we && we.dataMode === "manual")
5923
+ const Se = _(l);
5924
+ if (Se && Se.dataMode === "manual")
5925
5925
  try {
5926
- const Le = w(we);
5926
+ const Le = S(Se);
5927
5927
  return /* @__PURE__ */ t("div", { style: ie, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(T, { ...Le }) }, l.id);
5928
5928
  } catch (Le) {
5929
5929
  console.error(
5930
5930
  "🔥 ERROR renderizando fallback manual de sección:",
5931
- we,
5931
+ Se,
5932
5932
  Le
5933
5933
  );
5934
5934
  }
@@ -5939,7 +5939,7 @@ const rt = [
5939
5939
  );
5940
5940
  }
5941
5941
  }
5942
- const je = w(l), Ot = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5942
+ const je = S(l), Et = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5943
5943
  ...je,
5944
5944
  user: c.user
5945
5945
  } : je;
@@ -5948,7 +5948,7 @@ const rt = [
5948
5948
  {
5949
5949
  style: ie,
5950
5950
  className: "oraculo-section-wrapper",
5951
- children: /* @__PURE__ */ t(T, { ...Ot })
5951
+ children: /* @__PURE__ */ t(T, { ...Et })
5952
5952
  },
5953
5953
  l.id
5954
5954
  ) });
@@ -5967,7 +5967,7 @@ const rt = [
5967
5967
  maxWidth: "100%",
5968
5968
  overflowX: "hidden"
5969
5969
  },
5970
- children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: $ ? 8 : 5, useFlexGap: !0, children: B.map((l) => {
5970
+ children: /* @__PURE__ */ t(Ee, { direction: "column", spacing: $ ? 8 : 5, useFlexGap: !0, children: B.map((l) => {
5971
5971
  try {
5972
5972
  return Z(l);
5973
5973
  } catch (I) {
@@ -5982,7 +5982,7 @@ export {
5982
5982
  Y as OraculoButton,
5983
5983
  he as OraculoCarousel,
5984
5984
  dt as OraculoCarouselDots,
5985
- Sa as OraculoClubOlimpoVisual,
5985
+ wa as OraculoClubOlimpoVisual,
5986
5986
  La as OraculoEventCombinadasCard,
5987
5987
  Da as OraculoEventEnVivoCard,
5988
5988
  Ht as OraculoEventHeader,
@@ -5997,7 +5997,7 @@ export {
5997
5997
  xa as OraculoGameRankCard,
5998
5998
  ft as OraculoGameSlide,
5999
5999
  me as OraculoGridGroup,
6000
- wa as OraculoLiveCasinoCard,
6000
+ Sa as OraculoLiveCasinoCard,
6001
6001
  Ze as OraculoLogoMediosPago,
6002
6002
  Io as OraculoPageLandingPreview,
6003
6003
  Xn as OraculoSeccionBanners,
@@ -6012,7 +6012,7 @@ export {
6012
6012
  Qn as OraculoSeccionMediosPago,
6013
6013
  Qa as OraculoSeccionTopJuegos,
6014
6014
  vn as OraculoSeccionVirtuales,
6015
- So as OraculoSectionHost,
6015
+ wo as OraculoSectionHost,
6016
6016
  ge as OraculoSectionTitle,
6017
6017
  It as OraculoThemeProvider,
6018
6018
  Qa as OraculoTopJuegoItem,