fansunited-widgets-cdn 0.0.86-RC7 → 0.0.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/chunks/{Alert-B6o66mYo.js → Alert-DyM0oQgv.js} +32 -32
  2. package/chunks/{CardContent-NCZhfGcZ.js → CardContent-JGV7AYRJ.js} +19 -18
  3. package/chunks/{ChevronRight-1pLZ7T0v.js → ChevronRight-BjivYvSo.js} +11 -11
  4. package/chunks/{ClassicQuizWrapper-n2epPO4k.js → ClassicQuizWrapper-ChR6VdmQ.js} +8 -9
  5. package/chunks/{CollectLeadForm-C_3plJtn-Dr8J3eDw.js → CollectLeadForm-iZpBeMTk-Be-1nl3u.js} +2 -2
  6. package/chunks/{CollectLeadWrapper-CCtTZAxL.js → CollectLeadWrapper-DWGnbQNs.js} +22 -23
  7. package/chunks/{EitherOrById-ClGwMK0b.js → EitherOrById-HLRwnSut.js} +65 -65
  8. package/chunks/{EitherOrPreviewWrapper-BYiKyYwi.js → EitherOrPreviewWrapper-Bhb40ehK.js} +10 -10
  9. package/chunks/{Error-BurPfBJw-DWYn31sK.js → Error-D0HPar1M-CvBCxjku.js} +3 -3
  10. package/chunks/{EventGameWrapper-BphusLTk.js → EventGameWrapper-FLrbgLNx.js} +95 -96
  11. package/chunks/{Grid-yjqNNhEx.js → Grid-BgTvl7U0.js} +37 -37
  12. package/chunks/{IconButton-D7onwgY0.js → IconButton-UDap3hOW.js} +21 -21
  13. package/chunks/{List-8Vy9IZiv.js → List-CaGDrvb1.js} +23 -23
  14. package/chunks/{MatchPredictionContainer-BGytBwLo.js → MatchPredictionContainer-CCryS3WW.js} +7 -7
  15. package/chunks/{MatchQuizWrapper-BGjldBpF.js → MatchQuizWrapper-CNPkFMYb.js} +149 -150
  16. package/chunks/{OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js → OverlayLeadAfterCollection-CwqTKIoQ-B249CJNS.js} +3 -3
  17. package/chunks/{OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js → OverlayScoreStateSkeleton-CR-b8BTk-CcF6Sgb_.js} +8 -8
  18. package/chunks/{PersonalityQuizWrapper-BgLFw5tM.js → PersonalityQuizWrapper-D0_OHdgC.js} +315 -314
  19. package/chunks/{PlayerOfTheMatch-CImBLG3T.js → PlayerOfTheMatch-KHUAoy28.js} +96 -96
  20. package/chunks/{PollWrapper-QpIKCCVF.js → PollWrapper-Dsi16RT3.js} +8 -9
  21. package/chunks/{Portal-DegkUXpU-ByGP9zS1.js → Portal-Cvhw2F3y-CfNE9zHV.js} +313 -314
  22. package/chunks/{PreviewQuizById-Ba6yhxKV.js → PreviewQuizById-DdmuvcAL.js} +1019 -996
  23. package/chunks/{Sheet-U5EnSrgg.js → Sheet-x5Z9YdFs.js} +35 -35
  24. package/chunks/{Stack-DbDi7kPO.js → Stack-DZB2vzbp.js} +36 -36
  25. package/chunks/{Tabs-leN3Fb8D--YMyy3EM.js → Tabs-DmfafFAr-bCryBf-H.js} +2 -2
  26. package/chunks/{TeamNextMatchPrediction-9VSQOCcC.js → TeamNextMatchPrediction-C-fToJvQ.js} +2 -2
  27. package/chunks/{Tutorial-CRJLOovs.js → Tutorial-BI9zKJw5.js} +72 -73
  28. package/chunks/{createLucideIcon-CMWOQsDL.js → createLucideIcon-89uTOJaq.js} +8 -8
  29. package/chunks/{createSvgIcon-D9D4a1R9.js → createSvgIcon-DsrdSWLs.js} +167 -167
  30. package/chunks/{default-quiz-bg-ADjjIfPj.js → default-quiz-bg-CbX4gLOf.js} +15 -14
  31. package/chunks/{index-UwW9niUj.js → index-BJtPwLU2.js} +1 -1
  32. package/chunks/{index-CPTAlr_t.js → index-BXdeff8G.js} +1 -1
  33. package/chunks/{index-Da0AXb_O.js → index-BwmaB0Jc.js} +1 -1
  34. package/chunks/{index-CviTG4Nv.js → index-CSM_gD0c.js} +1 -1
  35. package/chunks/{index-BycLbIYY.js → index-CfNoJqrf.js} +1 -1
  36. package/chunks/{index-C6KAc5B_.js → index-CowyrOBF.js} +1 -1
  37. package/chunks/{index-DUQ2LFod-Cw45tHim.js → index-CsLtqiB_-DH3NMQxW.js} +32 -29
  38. package/chunks/{index-DwR4J2nN.js → index-CtAJur0I.js} +1 -1
  39. package/chunks/{index-CILd3yUc.js → index-DBucbNfJ.js} +1 -1
  40. package/chunks/{index-CHV6tlpH.js → index-DRDXyva1.js} +9 -9
  41. package/chunks/{index-CvGJXa6l.js → index-DRsTGSlf.js} +1 -1
  42. package/chunks/{index-CK2RXrJm.js → index-DXh1obfA.js} +1 -1
  43. package/chunks/{index-B74jHeYm.js → index-Dbuicm10.js} +2 -2
  44. package/chunks/{index-BfVvJg5R.js → index-DoDwv4Hi.js} +1 -1
  45. package/chunks/{index-CiB_Gqim.js → index-SdhwlCm-.js} +1 -1
  46. package/chunks/{index-0ADq_9jd.js → index-TCdxAH9x.js} +1 -1
  47. package/chunks/{init-C-gCorsh.js → init-CxQCMVyG.js} +1 -1
  48. package/chunks/main-Cx-uBTln.js +51049 -0
  49. package/chunks/resolveProps-DfBmYyXU.js +1632 -0
  50. package/chunks/{users-CXdzg3DM.js → users-Bltqtuv-.js} +1 -1
  51. package/fu-widgets-loader.es.js +15 -17
  52. package/fu-widgets-loader.js +1 -1
  53. package/fu-widgets.es.js +2 -2
  54. package/fu-widgets.iife.js +290 -290
  55. package/manifest.json +52 -58
  56. package/package.json +1 -1
  57. package/chunks/index-CJqcqbHq.js +0 -5
  58. package/chunks/index.es-wHqA4PHm.js +0 -11480
  59. package/chunks/main-Bh6iw92_.js +0 -39827
  60. package/chunks/resolveProps-Bgg0H6c2.js +0 -1016
@@ -1,13 +1,12 @@
1
- import { j as i, r as B, R as ei, a as uo, y as fo, o as yo, F as ho, z as Co, D as So, p as Po, q as bo, H as Uo, I as Ko } from "./main-Bh6iw92_.js";
2
- import { X as Ro, Q as re, V as ge, R as Be, D as ce, J as Le, N as pe, F as oe, c as le, A as z, a as ti, M as xi, _ as to, $ as Ve, d as Ae, e as ui, C as t, b as d, u as no, E as ao, T as be, G as jo, z as Ie, i as mi, W as ai, S as He, g as Fo, w as To, f as Hi, m as zo, p as ko, l as vo, k as Bo, n as Qo } from "./Portal-DegkUXpU-ByGP9zS1.js";
3
- import { i as ro, j as zi, Z as wo, q as Ho, Q as Io, J as Mo, Y as lo, a as Do, d as r, b as gi, U as Pi, X as Oo, K as Vo, $ as qo, c as Eo, e as Wo, F as Jo, f as Go, H as Xi } from "./index-DUQ2LFod-Cw45tHim.js";
4
- import { w as Yo, H as _i, e as $i } from "./CollectLeadForm-C_3plJtn-Dr8J3eDw.js";
5
- import { T as Lo, H as Zo, u as so, A as co, V as eo, F as io, g as Ao, M as No, I as Xo, L as _o, s as $o, N as et, B as Ii, _ as Mi } from "./Error-BurPfBJw-DWYn31sK.js";
6
- import { H as po, M as mo, k as ki, L as oo, j as vi } from "./Tabs-leN3Fb8D--YMyy3EM.js";
7
- import { j as it } from "./OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js";
8
- import { x as ot, f as tt, y as nt, u as at, h as rt, b as lt } from "./OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js";
9
- import { P as pi } from "./index.es-wHqA4PHm.js";
10
- const st = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CORRECT_SCORE_ADVANCED", si = (e) => e === "PLAYER_SCORE" || e === "PLAYER_YELLOW_CARD" || e === "PLAYER_RED_CARD" || e === "PLAYER_SCORE_FIRST_GOAL" || e === "PLAYER_SCORE_HATTRICK" || e === "PLAYER_SCORE_TWICE", Di = (e) => {
1
+ import { j as i, r as B, R as ei, a as uo, m as fo, h as yo, q as ho, n as Co, o as So, i as Po, k as bo, v as Uo, w as Ko, P as pi } from "./main-Cx-uBTln.js";
2
+ import { X as Ro, Q as re, V as ge, R as Be, D as ce, J as Le, N as pe, F as oe, c as le, A as z, a as ti, M as xi, _ as to, $ as Ve, d as Ae, e as ui, C as t, b as d, n as no, E as ao, T as be, G as jo, z as Ie, h as mi, W as ai, S as He, g as Fo, w as To, f as Hi, m as zo, l as ko, i as vo, k as Bo, o as Qo } from "./Portal-Cvhw2F3y-CfNE9zHV.js";
3
+ import { i as ro, j as zi, Z as wo, q as Ho, Q as Io, J as Mo, Y as lo, a as Oo, d as r, b as gi, U as Pi, X as Do, K as Vo, $ as qo, c as Eo, e as Wo, F as Jo, f as Go, H as Xi } from "./index-CsLtqiB_-DH3NMQxW.js";
4
+ import { w as Yo, H as _i, e as $i } from "./CollectLeadForm-iZpBeMTk-Be-1nl3u.js";
5
+ import { T as Lo, H as Zo, u as so, A as co, V as eo, F as io, g as Ao, M as No, I as Xo, L as _o, s as $o, N as et, B as Ii, _ as Mi } from "./Error-D0HPar1M-CvBCxjku.js";
6
+ import { H as po, M as mo, k as ki, L as oo, j as vi } from "./Tabs-DmfafFAr-bCryBf-H.js";
7
+ import { j as it } from "./OverlayScoreStateSkeleton-CR-b8BTk-CcF6Sgb_.js";
8
+ import { x as ot, f as tt, y as nt, u as at, h as rt, b as lt } from "./OverlayLeadAfterCollection-CwqTKIoQ-B249CJNS.js";
9
+ const st = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CORRECT_SCORE_ADVANCED", si = (e) => e === "PLAYER_SCORE" || e === "PLAYER_YELLOW_CARD" || e === "PLAYER_RED_CARD" || e === "PLAYER_SCORE_FIRST_GOAL" || e === "PLAYER_SCORE_HATTRICK" || e === "PLAYER_SCORE_TWICE", Oi = (e) => {
11
10
  const o = (/* @__PURE__ */ new Date()).getTime(), n = new Date(e).getTime();
12
11
  return o > n;
13
12
  }, ct = (e, o, n) => {
@@ -32,7 +31,7 @@ const st = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
32
31
  }
33
32
  A(C);
34
33
  } catch (u) {
35
- console.warn(u), c(new Do()), A(/* @__PURE__ */ new Map());
34
+ console.warn(u), c(new Oo()), A(/* @__PURE__ */ new Map());
36
35
  }
37
36
  }, l = async () => {
38
37
  try {
@@ -2412,7 +2411,7 @@ const Bt = (e) => {
2412
2411
  j ? (m(null), U(!1), f(!0), e.onPlayerSelection("OWN_GOAL")) : (f(!1), e.onPlayerSelection(null));
2413
2412
  }, E = (j) => {
2414
2413
  j ? (m(null), f(!1), U(!0), e.onPlayerSelection(null)) : (U(!1), e.onPlayerSelection(null));
2415
- }, D = () => {
2414
+ }, O = () => {
2416
2415
  const j = S === "home" ? s.get(e.matchModel.homeTeam.id) : s.get(e.matchModel.awayTeam.id);
2417
2416
  switch (b) {
2418
2417
  case 0:
@@ -2426,7 +2425,7 @@ const Bt = (e) => {
2426
2425
  default:
2427
2426
  return [];
2428
2427
  }
2429
- }, O = ["attackers", "midfielders", "defenders", "goalkeepers"];
2428
+ }, D = ["attackers", "midfielders", "defenders", "goalkeepers"];
2430
2429
  return /* @__PURE__ */ i.jsxs(t, { sx: R.container, children: [
2431
2430
  /* @__PURE__ */ i.jsx(t, { sx: R.teamSelection, children: /* @__PURE__ */ i.jsxs(t, { sx: R.badgesRow, children: [
2432
2431
  /* @__PURE__ */ i.jsx(
@@ -2471,8 +2470,8 @@ const Bt = (e) => {
2471
2470
  onChange: (j, Q) => P(Q),
2472
2471
  sx: R.tabs,
2473
2472
  children: [
2474
- /* @__PURE__ */ i.jsx(mo, { sx: R.tabList, children: O.map((j, Q) => /* @__PURE__ */ i.jsx(ki, { value: Q, sx: R.tab, children: g(`matchQuiz.fixtures.${j}`) }, j)) }),
2475
- O.map((j, Q) => /* @__PURE__ */ i.jsx(vi, { value: Q, sx: R.tabPanel, children: /* @__PURE__ */ i.jsx(t, { sx: R.playersGrid, children: D().map((v) => /* @__PURE__ */ i.jsxs(t, { sx: R.playerContainer, children: [
2473
+ /* @__PURE__ */ i.jsx(mo, { sx: R.tabList, children: D.map((j, Q) => /* @__PURE__ */ i.jsx(ki, { value: Q, sx: R.tab, children: g(`matchQuiz.fixtures.${j}`) }, j)) }),
2474
+ D.map((j, Q) => /* @__PURE__ */ i.jsx(vi, { value: Q, sx: R.tabPanel, children: /* @__PURE__ */ i.jsx(t, { sx: R.playersGrid, children: O().map((v) => /* @__PURE__ */ i.jsxs(t, { sx: R.playerContainer, children: [
2476
2475
  /* @__PURE__ */ i.jsx(
2477
2476
  xo,
2478
2477
  {
@@ -2630,7 +2629,7 @@ const Bt = (e) => {
2630
2629
  }
2631
2630
  )
2632
2631
  ] });
2633
- }, Oi = (e) => {
2632
+ }, Di = (e) => {
2634
2633
  const o = z(), n = le(), a = ce(), c = () => {
2635
2634
  const A = n.full, x = e.brandingPrimaryColor || o.palette.primary.plainColor, g = e.brandingPrimaryColor || o.palette.primary.outlinedBorder, s = "#FFFFFF", l = o.outlineEnabledBorder;
2636
2635
  return /* @__PURE__ */ i.jsxs(
@@ -3412,14 +3411,14 @@ const Bt = (e) => {
3412
3411
  }
3413
3412
  return null;
3414
3413
  }, K = (b) => {
3415
- var P, R, F, h, E, D;
3416
- const O = (P = e.prediction.fixtures) == null ? void 0 : P.find(
3414
+ var P, R, F, h, E, O;
3415
+ const D = (P = e.prediction.fixtures) == null ? void 0 : P.find(
3417
3416
  (v) => v.market === b.market
3418
3417
  );
3419
- if (!O) return null;
3418
+ if (!D) return null;
3420
3419
  const j = b.market, Q = b.matchModel;
3421
3420
  if (j === r.CORRECT_SCORE || j === r.CORRECT_SCORE_HT || j === r.CORRECT_SCORE_ADVANCED) {
3422
- const v = O.prediction.value || "0:0", [T, q] = v.split(":");
3421
+ const v = D.prediction.value || "0:0", [T, q] = v.split(":");
3423
3422
  return /* @__PURE__ */ i.jsxs(t, { sx: m.predictionBox, children: [
3424
3423
  ((R = Q.homeTeam.assets) == null ? void 0 : R.logo) && /* @__PURE__ */ i.jsx(t, { sx: m.teamLogo, children: /* @__PURE__ */ i.jsx(
3425
3424
  "img",
@@ -3455,7 +3454,7 @@ const Bt = (e) => {
3455
3454
  ] });
3456
3455
  }
3457
3456
  if (j === r.FT_1X2 || j === r.HT_1X2) {
3458
- const v = O.prediction.value;
3457
+ const v = D.prediction.value;
3459
3458
  let T = "", q = null;
3460
3459
  return v === "1" ? (T = Q.homeTeam.name, q = (h = Q.homeTeam.assets) == null ? void 0 : h.logo) : v === "x" ? T = o("matchQuiz.fixtures.draw") : v === "2" && (T = Q.awayTeam.name, q = (E = Q.awayTeam.assets) == null ? void 0 : E.logo), /* @__PURE__ */ i.jsxs(t, { sx: m.predictionBox, children: [
3461
3460
  q && /* @__PURE__ */ i.jsx(t, { sx: m.teamLogo, children: /* @__PURE__ */ i.jsx(
@@ -3475,14 +3474,14 @@ const Bt = (e) => {
3475
3474
  ] });
3476
3475
  }
3477
3476
  if (j.includes("PLAYER_")) {
3478
- const v = O.prediction.playerId;
3477
+ const v = D.prediction.playerId;
3479
3478
  if (!v)
3480
3479
  return /* @__PURE__ */ i.jsx(t, { sx: m.predictionBox, children: /* @__PURE__ */ i.jsx(d, { sx: m.selectionText, children: o("matchQuiz.fixtures.noGoalWillBeScored") }) });
3481
3480
  if (v === "OWN_GOAL")
3482
3481
  return /* @__PURE__ */ i.jsx(t, { sx: m.predictionBox, children: /* @__PURE__ */ i.jsx(d, { sx: m.selectionText, children: o("matchQuiz.fixtures.ownGoal") }) });
3483
3482
  const T = S(v), q = (T == null ? void 0 : T.name) || "Unknown Player";
3484
3483
  return /* @__PURE__ */ i.jsxs(t, { sx: m.predictionBox, children: [
3485
- /* @__PURE__ */ i.jsx(t, { sx: m.playerAvatar, children: (D = T == null ? void 0 : T.assets) != null && D.headshot ? /* @__PURE__ */ i.jsx(
3484
+ /* @__PURE__ */ i.jsx(t, { sx: m.playerAvatar, children: (O = T == null ? void 0 : T.assets) != null && O.headshot ? /* @__PURE__ */ i.jsx(
3486
3485
  "img",
3487
3486
  {
3488
3487
  src: T.assets.headshot,
@@ -3499,11 +3498,11 @@ const Bt = (e) => {
3499
3498
  ] });
3500
3499
  }
3501
3500
  if (j === r.PENALTY_MATCH || j === r.RED_CARD_MATCH || j.includes("OVER_")) {
3502
- const v = O.prediction.value === !0;
3501
+ const v = D.prediction.value === !0;
3503
3502
  return /* @__PURE__ */ i.jsx(t, { sx: m.predictionBox, children: /* @__PURE__ */ i.jsx(d, { sx: m.selectionText, children: o(v ? "matchQuiz.fixtures.yes" : "matchQuiz.fixtures.no") }) });
3504
3503
  }
3505
3504
  if (j === r.CORNERS_MATCH) {
3506
- const v = O.prediction.value || 6;
3505
+ const v = D.prediction.value || 6;
3507
3506
  return /* @__PURE__ */ i.jsx(t, { sx: m.predictionBox, children: /* @__PURE__ */ i.jsx(d, { sx: m.selectionText, children: v }) });
3508
3507
  }
3509
3508
  return null;
@@ -3559,12 +3558,12 @@ const Bt = (e) => {
3559
3558
  ] }) });
3560
3559
  }, Mt = (e) => {
3561
3560
  var o, n, a, c, p, A, x, g, s, l, u, m, y, f, C, U, S, K, b, P, R, F;
3562
- const [h, E] = ei.useState(1), [D, O] = ei.useState(
3561
+ const [h, E] = ei.useState(1), [O, D] = ei.useState(
3563
3562
  ((o = e.leads) == null ? void 0 : o.position) === "before" && e.matchQuiz.authRequirement === "LEAD"
3564
3563
  );
3565
3564
  ei.useEffect(() => {
3566
3565
  var k;
3567
- O(
3566
+ D(
3568
3567
  ((k = e.leads) == null ? void 0 : k.position) === "before" && e.matchQuiz.authRequirement === "LEAD" || !1
3569
3568
  );
3570
3569
  }, [(n = e.leads) == null ? void 0 : n.position, e.matchQuiz.authRequirement]);
@@ -3589,7 +3588,7 @@ const Bt = (e) => {
3589
3588
  textColor: Pe,
3590
3589
  opacity: "60%"
3591
3590
  }), ke = () => {
3592
- O(!1);
3591
+ D(!1);
3593
3592
  }, Qe = B.useCallback(
3594
3593
  (k, _, N) => {
3595
3594
  const ne = `${_}:${N}`;
@@ -3627,7 +3626,7 @@ const Bt = (e) => {
3627
3626
  });
3628
3627
  },
3629
3628
  [e.setPrediction]
3630
- ), ve = e.matchQuiz.fixtures.length + 1, xe = e.matchQuiz.status === "OPEN" && Di(e.matchQuiz.predictionsCutoff), Se = () => {
3629
+ ), ve = e.matchQuiz.fixtures.length + 1, xe = e.matchQuiz.status === "OPEN" && Oi(e.matchQuiz.predictionsCutoff), Se = () => {
3631
3630
  h < ve ? E(h + 1) : e.play();
3632
3631
  }, de = () => {
3633
3632
  h > 1 && E(h - 1);
@@ -3654,7 +3653,7 @@ const Bt = (e) => {
3654
3653
  secondaryUrl: (W = (ne = e.matchQuiz.branding) == null ? void 0 : ne.urls) == null ? void 0 : W.secondaryUrl
3655
3654
  }
3656
3655
  );
3657
- }, De = () => {
3656
+ }, Oe = () => {
3658
3657
  var k, _, N, ne;
3659
3658
  const W = (k = e.matchQuiz.fixtures[0]) == null ? void 0 : k.matchModel;
3660
3659
  if (!W || !((_ = W.scores) != null && _.ftScore)) return null;
@@ -3696,14 +3695,14 @@ const Bt = (e) => {
3696
3695
  /* @__PURE__ */ i.jsx(d, { component: "h5", sx: te.stateTitle, children: v("matchQuiz.states.pending.title") }),
3697
3696
  /* @__PURE__ */ i.jsx(d, { sx: te.stateDescription, children: v("matchQuiz.states.pending.description") })
3698
3697
  ] }) }), L = () => /* @__PURE__ */ i.jsx(t, { sx: te.contentContainerWithBackdrop, children: /* @__PURE__ */ i.jsxs(t, { sx: te.gameStateContainer, children: [
3699
- De(),
3698
+ Oe(),
3700
3699
  /* @__PURE__ */ i.jsxs(t, { sx: te.liveIndicatorContainer, children: [
3701
3700
  /* @__PURE__ */ i.jsx(t, { sx: te.liveIndicator }),
3702
3701
  /* @__PURE__ */ i.jsx(d, { component: "h5", sx: te.liveText, children: v("matchQuiz.states.live.indicator") })
3703
3702
  ] }),
3704
3703
  /* @__PURE__ */ i.jsx(d, { sx: te.stateDescription, children: v("matchQuiz.states.live.description") })
3705
3704
  ] }) }), w = () => /* @__PURE__ */ i.jsx(t, { sx: te.contentContainerWithBackdrop, children: /* @__PURE__ */ i.jsxs(t, { sx: te.gameStateContainer, children: [
3706
- De(),
3705
+ Oe(),
3707
3706
  /* @__PURE__ */ i.jsx(t, { sx: te.closedStateHeader, children: /* @__PURE__ */ i.jsx(d, { component: "h5", sx: te.stateTitle, children: v("matchQuiz.states.closed.title") }) }),
3708
3707
  /* @__PURE__ */ i.jsx(d, { sx: te.stateDescription, children: v("matchQuiz.states.closed.description") })
3709
3708
  ] }) }), X = () => /* @__PURE__ */ i.jsxs(t, { sx: te.gameStateContainer, children: [
@@ -3724,7 +3723,7 @@ const Bt = (e) => {
3724
3723
  Je,
3725
3724
  We
3726
3725
  ]), $ = () => {
3727
- var k, _, N, ne, W, ye, Fe, Ge, $e, Ze, ue, oi, ni, Oe;
3726
+ var k, _, N, ne, W, ye, Fe, Ge, $e, Ze, ue, oi, ni, De;
3728
3727
  const je = H;
3729
3728
  if (xe)
3730
3729
  return X();
@@ -3825,7 +3824,7 @@ const Bt = (e) => {
3825
3824
  matchModel: ee,
3826
3825
  market: je.market,
3827
3826
  brandingPrimaryColor: G == null ? void 0 : G.primaryColor,
3828
- prediction: (Oe = Ni == null ? void 0 : Ni.prediction) == null ? void 0 : Oe.playerId,
3827
+ prediction: (De = Ni == null ? void 0 : Ni.prediction) == null ? void 0 : De.playerId,
3829
3828
  onPlayerSelection: I.onPlayerSelection
3830
3829
  },
3831
3830
  `${je.market}-${h}`
@@ -3846,7 +3845,7 @@ const Bt = (e) => {
3846
3845
  }
3847
3846
  }, se = () => {
3848
3847
  var k, _, N, ne, W, ye, Fe, Ge, $e, Ze, ue;
3849
- return /* @__PURE__ */ i.jsx(i.Fragment, { children: D ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
3848
+ return /* @__PURE__ */ i.jsx(i.Fragment, { children: O ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
3850
3849
  /* @__PURE__ */ i.jsx(t, { sx: te.contentContainerWithBackdrop, children: /* @__PURE__ */ i.jsx(
3851
3850
  ci,
3852
3851
  {
@@ -3877,7 +3876,7 @@ const Bt = (e) => {
3877
3876
  }
3878
3877
  ),
3879
3878
  !xe && /* @__PURE__ */ i.jsx(
3880
- Oi,
3879
+ Di,
3881
3880
  {
3882
3881
  matchQuiz: e.matchQuiz,
3883
3882
  currentStep: h,
@@ -4046,7 +4045,7 @@ const Bt = (e) => {
4046
4045
  children: e
4047
4046
  }
4048
4047
  );
4049
- }, Dt = (e) => {
4048
+ }, Ot = (e) => {
4050
4049
  var o, n, a;
4051
4050
  return {
4052
4051
  // Mobile headline with image background
@@ -4418,7 +4417,7 @@ const Bt = (e) => {
4418
4417
  lineHeight: 1
4419
4418
  }
4420
4419
  };
4421
- }, Ot = (e) => {
4420
+ }, Dt = (e) => {
4422
4421
  var o, n, a, c, p, A, x, g, s, l, u, m, y, f;
4423
4422
  const [C, U] = ei.useState(1), [S, K] = ei.useState(
4424
4423
  ((o = e.leads) == null ? void 0 : o.position) === "before" && e.matchQuiz.authRequirement === "LEAD"
@@ -4429,16 +4428,16 @@ const Bt = (e) => {
4429
4428
  ((I = e.leads) == null ? void 0 : I.position) === "before" && e.matchQuiz.authRequirement === "LEAD" || !1
4430
4429
  );
4431
4430
  }, [(n = e.leads) == null ? void 0 : n.position, e.matchQuiz.authRequirement]);
4432
- const R = ce(), F = Ve(), h = ((a = e.matchQuiz.branding) == null ? void 0 : a.colors) || null, E = R ? ((p = (c = e.matchQuiz.branding) == null ? void 0 : c.images) == null ? void 0 : p.mobileLogo) || ((x = (A = e.matchQuiz.branding) == null ? void 0 : A.images) == null ? void 0 : x.mainLogo) || "" : ((s = (g = e.matchQuiz.branding) == null ? void 0 : g.images) == null ? void 0 : s.mainLogo) || "", D = e.imagePosition || "left", O = Le(
4431
+ const R = ce(), F = Ve(), h = ((a = e.matchQuiz.branding) == null ? void 0 : a.colors) || null, E = R ? ((p = (c = e.matchQuiz.branding) == null ? void 0 : c.images) == null ? void 0 : p.mobileLogo) || ((x = (A = e.matchQuiz.branding) == null ? void 0 : A.images) == null ? void 0 : x.mainLogo) || "" : ((s = (g = e.matchQuiz.branding) == null ? void 0 : g.images) == null ? void 0 : s.mainLogo) || "", O = e.imagePosition || "left", D = Le(
4433
4432
  {
4434
4433
  images: e.matchQuiz.images,
4435
4434
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
4436
4435
  },
4437
4436
  ge.STANDARD
4438
- ), j = F || R && !!O, Q = z().palette.danger.plainColor, v = (h == null ? void 0 : h.contentColor) || z().textColor, T = (h == null ? void 0 : h.secondaryColor) || z().textColor, q = oe().secondary, J = "60%", G = oe().primary, V = (h == null ? void 0 : h.backgroundColor) || z().surfaceVariant, Ue = le(), M = (h == null ? void 0 : h.primaryColor) || z().palette.primary.plainColor, Ke = z().palette.primary.onPrimary, Te = le().xl, _e = pe(), ze = ti(
4437
+ ), j = F || R && !!D, Q = z().palette.danger.plainColor, v = (h == null ? void 0 : h.contentColor) || z().textColor, T = (h == null ? void 0 : h.secondaryColor) || z().textColor, q = oe().secondary, J = "60%", G = oe().primary, V = (h == null ? void 0 : h.backgroundColor) || z().surfaceVariant, Ue = le(), M = (h == null ? void 0 : h.primaryColor) || z().palette.primary.plainColor, Ke = z().palette.primary.onPrimary, Te = le().xl, _e = pe(), ze = ti(
4439
4438
  ge.STANDARD
4440
- ), Y = Dt({
4441
- finalImage: O,
4439
+ ), Y = Ot({
4440
+ finalImage: D,
4442
4441
  spacingScale: _e,
4443
4442
  borderRadius: Ue,
4444
4443
  fontFamilyPrimary: G,
@@ -4492,7 +4491,7 @@ const Bt = (e) => {
4492
4491
  });
4493
4492
  },
4494
4493
  [e.setPrediction]
4495
- ), ke = e.matchQuiz.fixtures.length + 1, Qe = e.matchQuiz.status === "OPEN" && Di(e.matchQuiz.predictionsCutoff), Ee = C === ke && ((l = e.leads) == null ? void 0 : l.position) !== "after" ? P("matchQuiz.buttons.play") : P("matchQuiz.buttons.next"), We = () => {
4494
+ ), ke = e.matchQuiz.fixtures.length + 1, Qe = e.matchQuiz.status === "OPEN" && Oi(e.matchQuiz.predictionsCutoff), Ee = C === ke && ((l = e.leads) == null ? void 0 : l.position) !== "after" ? P("matchQuiz.buttons.play") : P("matchQuiz.buttons.next"), We = () => {
4496
4495
  C < ke ? U(C + 1) : e.play();
4497
4496
  }, Je = (I) => {
4498
4497
  U(I + 1);
@@ -4571,7 +4570,7 @@ const Bt = (e) => {
4571
4570
  ] }) }), me = () => /* @__PURE__ */ i.jsxs(t, { sx: Y.gameStateContainer, children: [
4572
4571
  /* @__PURE__ */ i.jsx(d, { sx: Y.stateTitle, children: P("matchQuiz.states.open.title") }),
4573
4572
  /* @__PURE__ */ i.jsx(d, { sx: Y.stateDescription, children: P("matchQuiz.states.open.description") })
4574
- ] }), De = () => {
4573
+ ] }), Oe = () => {
4575
4574
  var I, $, ie, se, k, _, N, ne, W, ye, Fe;
4576
4575
  return /* @__PURE__ */ i.jsx(i.Fragment, { children: S ? /* @__PURE__ */ i.jsx(t, { sx: Y.leadCollectionContainer, children: /* @__PURE__ */ i.jsxs(t, { sx: Y.leadQuestionContainer, children: [
4577
4576
  /* @__PURE__ */ i.jsx(t, { sx: Y.leadContentContainer, children: /* @__PURE__ */ i.jsx(
@@ -4605,7 +4604,7 @@ const Bt = (e) => {
4605
4604
  ),
4606
4605
  /* @__PURE__ */ i.jsx(t, { sx: Y.questionArea, children: /* @__PURE__ */ i.jsxs(t, { sx: Y.questionContainer, children: [
4607
4606
  !Qe && /* @__PURE__ */ i.jsx(t, { sx: Y.paginationContainer, children: /* @__PURE__ */ i.jsx(
4608
- Oi,
4607
+ Di,
4609
4608
  {
4610
4609
  matchQuiz: e.matchQuiz,
4611
4610
  currentStep: C,
@@ -4744,7 +4743,7 @@ const Bt = (e) => {
4744
4743
  case "CLOSED":
4745
4744
  return Ce();
4746
4745
  default:
4747
- return De();
4746
+ return Oe();
4748
4747
  }
4749
4748
  }, L = (I, $) => {
4750
4749
  var ie, se, k, _, N;
@@ -4785,7 +4784,7 @@ const Bt = (e) => {
4785
4784
  case r.CORRECT_SCORE_ADVANCED:
4786
4785
  const oi = ($ = (I = e.prediction) == null ? void 0 : I.fixtures) == null ? void 0 : $.find(
4787
4786
  (Ye) => Ye.market === ue.market
4788
- ), ni = (oi == null ? void 0 : oi.prediction.value) || "0:0", [Oe, je] = ni.split(":").map(Number);
4787
+ ), ni = (oi == null ? void 0 : oi.prediction.value) || "0:0", [De, je] = ni.split(":").map(Number);
4789
4788
  return /* @__PURE__ */ i.jsx(
4790
4789
  Ki,
4791
4790
  {
@@ -4793,7 +4792,7 @@ const Bt = (e) => {
4793
4792
  market: ue.market,
4794
4793
  brandingPrimaryColor: h == null ? void 0 : h.primaryColor,
4795
4794
  onScoreChange: H.onScoreChange,
4796
- initialHomeScore: Oe,
4795
+ initialHomeScore: De,
4797
4796
  initialAwayScore: je,
4798
4797
  useExtraSmallLayout: j
4799
4798
  },
@@ -4894,8 +4893,8 @@ const Bt = (e) => {
4894
4893
  {
4895
4894
  entity: e.matchQuiz,
4896
4895
  headline: P("matchQuiz.headline"),
4897
- finalImage: O,
4898
- imagePosition: D,
4896
+ finalImage: D,
4897
+ imagePosition: O,
4899
4898
  rulesDisplay: e.rulesDisplay,
4900
4899
  children: Z()
4901
4900
  }
@@ -5056,13 +5055,13 @@ const Bt = (e) => {
5056
5055
  ((Z = e.leads) == null ? void 0 : Z.position) === "before" && e.matchQuiz.authRequirement === "LEAD" || !1
5057
5056
  );
5058
5057
  }, [(n = e.leads) == null ? void 0 : n.position, e.matchQuiz.authRequirement]);
5059
- const K = Be(), { t: b } = re(), P = ce(), R = ao(), F = ((a = e.matchQuiz.branding) == null ? void 0 : a.colors) || null, h = P ? ((p = (c = e.matchQuiz.branding) == null ? void 0 : c.images) == null ? void 0 : p.mobileLogo) || ((x = (A = e.matchQuiz.branding) == null ? void 0 : A.images) == null ? void 0 : x.mainLogo) || "" : ((s = (g = e.matchQuiz.branding) == null ? void 0 : g.images) == null ? void 0 : s.mainLogo) || "", E = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : P ? Xe : Ne, D = Le(
5058
+ const K = Be(), { t: b } = re(), P = ce(), R = ao(), F = ((a = e.matchQuiz.branding) == null ? void 0 : a.colors) || null, h = P ? ((p = (c = e.matchQuiz.branding) == null ? void 0 : c.images) == null ? void 0 : p.mobileLogo) || ((x = (A = e.matchQuiz.branding) == null ? void 0 : A.images) == null ? void 0 : x.mainLogo) || "" : ((s = (g = e.matchQuiz.branding) == null ? void 0 : g.images) == null ? void 0 : s.mainLogo) || "", E = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : P ? Xe : Ne, O = Le(
5060
5059
  {
5061
5060
  images: e.matchQuiz.images,
5062
5061
  imagePlaceholder: E
5063
5062
  },
5064
5063
  ge.SPLIT
5065
- ), O = z().palette.danger.plainColor, j = (F == null ? void 0 : F.contentColor) || z().textColor, Q = (F == null ? void 0 : F.secondaryColor) || z().textColor, v = oe().primary, T = (F == null ? void 0 : F.backgroundColor) || z().surfaceVariant, q = le(), J = (F == null ? void 0 : F.primaryColor) || z().palette.primary.plainColor, G = z().palette.primary.onPrimary, V = le().xl, Ue = pe(), M = Vt({
5064
+ ), D = z().palette.danger.plainColor, j = (F == null ? void 0 : F.contentColor) || z().textColor, Q = (F == null ? void 0 : F.secondaryColor) || z().textColor, v = oe().primary, T = (F == null ? void 0 : F.backgroundColor) || z().surfaceVariant, q = le(), J = (F == null ? void 0 : F.primaryColor) || z().palette.primary.plainColor, G = z().palette.primary.onPrimary, V = le().xl, Ue = pe(), M = Vt({
5066
5065
  spacingScale: Ue,
5067
5066
  borderRadius: q,
5068
5067
  fontFamilyPrimary: v,
@@ -5070,7 +5069,7 @@ const Bt = (e) => {
5070
5069
  textColor: j,
5071
5070
  secondaryColor: Q,
5072
5071
  isMobile: P,
5073
- dangerColor: O
5072
+ dangerColor: D
5074
5073
  }), Ke = () => {
5075
5074
  S(!1);
5076
5075
  }, Te = B.useCallback(
@@ -5110,7 +5109,7 @@ const Bt = (e) => {
5110
5109
  });
5111
5110
  },
5112
5111
  [e.setPrediction]
5113
- ), ae = e.matchQuiz.fixtures.length + 1, he = e.matchQuiz.status === "OPEN" && Di(e.matchQuiz.predictionsCutoff), fe = () => {
5112
+ ), ae = e.matchQuiz.fixtures.length + 1, he = e.matchQuiz.status === "OPEN" && Oi(e.matchQuiz.predictionsCutoff), fe = () => {
5114
5113
  f < ae ? C(f + 1) : e.play();
5115
5114
  }, Pe = (Z) => {
5116
5115
  C(Z + 1);
@@ -5205,7 +5204,7 @@ const Bt = (e) => {
5205
5204
  case r.CORRECT_SCORE_HT:
5206
5205
  case r.CORRECT_SCORE_ADVANCED:
5207
5206
  const ye = (L = (Z = e.prediction) == null ? void 0 : Z.fixtures) == null ? void 0 : L.find(
5208
- (Oe) => Oe.market === W.market
5207
+ (De) => De.market === W.market
5209
5208
  ), Fe = (ye == null ? void 0 : ye.prediction.value) || "0:0", [Ge, $e] = Fe.split(":").map(Number);
5210
5209
  return /* @__PURE__ */ i.jsx(
5211
5210
  Ki,
@@ -5223,7 +5222,7 @@ const Bt = (e) => {
5223
5222
  case r.FT_1X2:
5224
5223
  case r.HT_1X2:
5225
5224
  const Ze = (X = (w = e.prediction) == null ? void 0 : w.fixtures) == null ? void 0 : X.find(
5226
- (Oe) => Oe.market === W.market
5225
+ (De) => De.market === W.market
5227
5226
  );
5228
5227
  return /* @__PURE__ */ i.jsx(
5229
5228
  Ri,
@@ -5239,7 +5238,7 @@ const Bt = (e) => {
5239
5238
  );
5240
5239
  case r.CORNERS_MATCH:
5241
5240
  const ue = (I = (ee = e.prediction) == null ? void 0 : ee.fixtures) == null ? void 0 : I.find(
5242
- (Oe) => Oe.market === W.market
5241
+ (De) => De.market === W.market
5243
5242
  );
5244
5243
  return /* @__PURE__ */ i.jsx(
5245
5244
  ji,
@@ -5271,7 +5270,7 @@ const Bt = (e) => {
5271
5270
  case r.RED_CARD_MATCH:
5272
5271
  case r.PENALTY_MATCH:
5273
5272
  const oi = (se = (ie = e.prediction) == null ? void 0 : ie.fixtures) == null ? void 0 : se.find(
5274
- (Oe) => Oe.market === W.market
5273
+ (De) => De.market === W.market
5275
5274
  );
5276
5275
  return /* @__PURE__ */ i.jsx(
5277
5276
  Fi,
@@ -5292,7 +5291,7 @@ const Bt = (e) => {
5292
5291
  case r.PLAYER_SCORE_HATTRICK:
5293
5292
  case r.PLAYER_SCORE_TWICE:
5294
5293
  const ni = (N = (_ = e.prediction) == null ? void 0 : _.fixtures) == null ? void 0 : N.find(
5295
- (Oe) => Oe.market === W.market
5294
+ (De) => De.market === W.market
5296
5295
  );
5297
5296
  return /* @__PURE__ */ i.jsx(
5298
5297
  Ti,
@@ -5359,7 +5358,7 @@ const Bt = (e) => {
5359
5358
  }
5360
5359
  ),
5361
5360
  !he && /* @__PURE__ */ i.jsx(t, { sx: M.paginationContainer, children: /* @__PURE__ */ i.jsx(
5362
- Oi,
5361
+ Di,
5363
5362
  {
5364
5363
  matchQuiz: e.matchQuiz,
5365
5364
  currentStep: f,
@@ -5493,7 +5492,7 @@ const Bt = (e) => {
5493
5492
  default:
5494
5493
  return Ce();
5495
5494
  }
5496
- }, De = (Z) => {
5495
+ }, Oe = (Z) => {
5497
5496
  var L, w, X, H, ee;
5498
5497
  return /* @__PURE__ */ i.jsx(
5499
5498
  Re,
@@ -5512,14 +5511,14 @@ const Bt = (e) => {
5512
5511
  {
5513
5512
  entity: e.matchQuiz,
5514
5513
  headline: b("matchQuiz.headline"),
5515
- finalImage: D,
5514
+ finalImage: O,
5516
5515
  brandingLogo: h,
5517
- renderPresentedBy: De,
5516
+ renderPresentedBy: Oe,
5518
5517
  rulesDisplay: e.rulesDisplay,
5519
5518
  children: me()
5520
5519
  }
5521
5520
  ),
5522
- h && R && /* @__PURE__ */ i.jsx(t, { sx: { mb: Ue.lg, px: Ue.lg }, children: De(
5521
+ h && R && /* @__PURE__ */ i.jsx(t, { sx: { mb: Ue.lg, px: Ue.lg }, children: Oe(
5523
5522
  (F == null ? void 0 : F.contentColor) || K.colorSchemes.dark.textColor
5524
5523
  ) })
5525
5524
  ] });
@@ -5870,7 +5869,7 @@ const Bt = (e) => {
5870
5869
  z().surfaceVariant || ""
5871
5870
  )}, 0.5)`, P = ti(
5872
5871
  ge.STANDARD
5873
- ), R = "60%", F = (g == null ? void 0 : g.secondaryColor) || z().textSecondary, h = z().secondaryContainer, E = ui().size, D = Et({
5872
+ ), R = "60%", F = (g == null ? void 0 : g.secondaryColor) || z().textSecondary, h = z().secondaryContainer, E = ui().size, O = Et({
5874
5873
  finalImage: A,
5875
5874
  spacingScale: K,
5876
5875
  borderRadius: S,
@@ -5884,7 +5883,7 @@ const Bt = (e) => {
5884
5883
  darkTextColor: p.colorSchemes.dark.textColor,
5885
5884
  opacity: R,
5886
5885
  secondaryColor: F
5887
- }), O = {
5886
+ }), D = {
5888
5887
  display: "flex",
5889
5888
  py: s ? K.xs : K.sm,
5890
5889
  px: s ? K.sm : K.md,
@@ -5923,7 +5922,7 @@ const Bt = (e) => {
5923
5922
  title: x("common.authentication.accessRequired"),
5924
5923
  message: x("common.authentication.invalidOrMissingAuth")
5925
5924
  }
5926
- ) }) : /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(t, { sx: D.questionArea, children: /* @__PURE__ */ i.jsx(t, { sx: D.questionContainer, children: /* @__PURE__ */ i.jsx(t, { sx: D.questionContentContainer, children: m ? /* @__PURE__ */ i.jsx(
5925
+ ) }) : /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(t, { sx: O.questionArea, children: /* @__PURE__ */ i.jsx(t, { sx: O.questionContainer, children: /* @__PURE__ */ i.jsx(t, { sx: O.questionContentContainer, children: m ? /* @__PURE__ */ i.jsx(
5927
5926
  di,
5928
5927
  {
5929
5928
  fixtures: e.matchQuiz.fixtures,
@@ -5936,7 +5935,7 @@ const Bt = (e) => {
5936
5935
  onPlayResult: e.onPlayResult
5937
5936
  }
5938
5937
  ) : null }) }) }) }),
5939
- (l || e.additionalCTA) && /* @__PURE__ */ i.jsxs(t, { sx: D.footerContainer, children: [
5938
+ (l || e.additionalCTA) && /* @__PURE__ */ i.jsxs(t, { sx: O.footerContainer, children: [
5940
5939
  l && /* @__PURE__ */ i.jsx(
5941
5940
  Re,
5942
5941
  {
@@ -5949,7 +5948,7 @@ const Bt = (e) => {
5949
5948
  Pi,
5950
5949
  {
5951
5950
  additionalCTA: e.additionalCTA,
5952
- buttonStyle: O,
5951
+ buttonStyle: D,
5953
5952
  buttonContentStyle: j,
5954
5953
  textStyle: Q
5955
5954
  }
@@ -5999,12 +5998,12 @@ const Bt = (e) => {
5999
5998
  imagePlaceholder: f
6000
5999
  },
6001
6000
  ge.SPLIT
6002
- ), U = ((o = e.matchQuiz.branding) == null ? void 0 : o.colors) || null, S = (U == null ? void 0 : U.secondaryColor) || z().textSecondary, K = z().secondaryContainer, b = oe().primary, P = (U == null ? void 0 : U.backgroundColor) || z().surfaceVariant, R = le(), F = z().textColor, h = pe(), E = ui().size, D = m ? ((n = e.matchQuiz.branding) == null ? void 0 : n.images.mobileLogo) || ((a = e.matchQuiz.branding) == null ? void 0 : a.images.mainLogo) || "" : ((c = e.matchQuiz.branding) == null ? void 0 : c.images.mainLogo) || "", O = e.matchQuiz.status === "OPEN" && e.prediction && e.squads && e.onPredictionUpdate, j = (V) => {
6001
+ ), U = ((o = e.matchQuiz.branding) == null ? void 0 : o.colors) || null, S = (U == null ? void 0 : U.secondaryColor) || z().textSecondary, K = z().secondaryContainer, b = oe().primary, P = (U == null ? void 0 : U.backgroundColor) || z().surfaceVariant, R = le(), F = z().textColor, h = pe(), E = ui().size, O = m ? ((n = e.matchQuiz.branding) == null ? void 0 : n.images.mobileLogo) || ((a = e.matchQuiz.branding) == null ? void 0 : a.images.mainLogo) || "" : ((c = e.matchQuiz.branding) == null ? void 0 : c.images.mainLogo) || "", D = e.matchQuiz.status === "OPEN" && e.prediction && e.squads && e.onPredictionUpdate, j = (V) => {
6003
6002
  console.log(`Edit prediction for fixture at index: ${V}`);
6004
- }, Q = !y && D ? /* @__PURE__ */ i.jsx(
6003
+ }, Q = !y && O ? /* @__PURE__ */ i.jsx(
6005
6004
  Re,
6006
6005
  {
6007
- brandingLogo: D,
6006
+ brandingLogo: O,
6008
6007
  textColor: (U == null ? void 0 : U.contentColor) || l.colorSchemes.dark.textColor,
6009
6008
  label: ((p = e.matchQuiz.labels) == null ? void 0 : p.sponsor) || null,
6010
6009
  primaryUrl: (x = (A = e.matchQuiz.branding) == null ? void 0 : A.urls) == null ? void 0 : x.primaryUrl,
@@ -6047,7 +6046,7 @@ const Bt = (e) => {
6047
6046
  }, G = () => {
6048
6047
  var V, Ue, M, Ke, Te;
6049
6048
  return /* @__PURE__ */ i.jsx(
6050
- Oo,
6049
+ Do,
6051
6050
  {
6052
6051
  entity: e.matchQuiz,
6053
6052
  headline: u("matchQuiz.headline"),
@@ -6078,7 +6077,7 @@ const Bt = (e) => {
6078
6077
  position: "relative",
6079
6078
  overflow: "visible"
6080
6079
  },
6081
- children: O ? /* @__PURE__ */ i.jsx(
6080
+ children: D ? /* @__PURE__ */ i.jsx(
6082
6081
  di,
6083
6082
  {
6084
6083
  fixtures: e.matchQuiz.fixtures,
@@ -6114,10 +6113,10 @@ const Bt = (e) => {
6114
6113
  )
6115
6114
  }
6116
6115
  ),
6117
- y && D && /* @__PURE__ */ i.jsx(
6116
+ y && O && /* @__PURE__ */ i.jsx(
6118
6117
  Re,
6119
6118
  {
6120
- brandingLogo: D,
6119
+ brandingLogo: O,
6121
6120
  textColor: (U == null ? void 0 : U.contentColor) || F,
6122
6121
  label: ((V = e.matchQuiz.labels) == null ? void 0 : V.sponsor) || null,
6123
6122
  primaryUrl: (M = (Ue = e.matchQuiz.branding) == null ? void 0 : Ue.urls) == null ? void 0 : M.primaryUrl,
@@ -6416,7 +6415,7 @@ const Bt = (e) => {
6416
6415
  brandingColors: p
6417
6416
  }) => {
6418
6417
  var A;
6419
- const [x, g] = ei.useState(0), s = Be(), { t: l } = re(), { squads: u, points: m } = Ie(Me), y = ce(), f = Ve(), C = le().md, U = a ? s.colorSchemes.dark.textPrimary : z().textPrimary, S = a ? s.colorSchemes.dark.textSecondary : z().textSecondary, K = oe().primary, b = oe().secondary, P = a ? s.colorSchemes.dark.secondaryContainer : z().secondaryContainer, R = p != null && p.backgroundColor || a ? s.colorSchemes.dark.surfaceVariant : z().surfaceVariant, F = pe(), h = z().palette.success.plainColor, E = z().palette.danger.plainColor, D = a ? s.colorSchemes.dark.outlineEnabledBorder : z().outlineEnabledBorder, O = a ? s.colorSchemes.dark.palette.neutral.softBg : z().palette.neutral.softBg;
6418
+ const [x, g] = ei.useState(0), s = Be(), { t: l } = re(), { squads: u, points: m } = Ie(Me), y = ce(), f = Ve(), C = le().md, U = a ? s.colorSchemes.dark.textPrimary : z().textPrimary, S = a ? s.colorSchemes.dark.textSecondary : z().textSecondary, K = oe().primary, b = oe().secondary, P = a ? s.colorSchemes.dark.secondaryContainer : z().secondaryContainer, R = p != null && p.backgroundColor || a ? s.colorSchemes.dark.surfaceVariant : z().surfaceVariant, F = pe(), h = z().palette.success.plainColor, E = z().palette.danger.plainColor, O = a ? s.colorSchemes.dark.outlineEnabledBorder : z().outlineEnabledBorder, D = a ? s.colorSchemes.dark.palette.neutral.softBg : z().palette.neutral.softBg;
6420
6419
  let j = a ? s.colorSchemes.dark.textPrimary : z().textPrimary;
6421
6420
  p != null && p.primaryColor && (j = p.primaryColor);
6422
6421
  const Q = (A = m.find(
@@ -6504,7 +6503,7 @@ const Bt = (e) => {
6504
6503
  }, ze = (ae, he) => {
6505
6504
  var fe, Pe, te, ke, Qe, Ee, We, Je, ve, xe, Se, de, we;
6506
6505
  if (!ae) return null;
6507
- const Ce = he.market, me = he.matchModel, De = (fe = ae.prediction) == null ? void 0 : fe.value, Z = (Pe = ae.prediction) == null ? void 0 : Pe.playerId, L = {
6506
+ const Ce = he.market, me = he.matchModel, Oe = (fe = ae.prediction) == null ? void 0 : fe.value, Z = (Pe = ae.prediction) == null ? void 0 : Pe.playerId, L = {
6508
6507
  display: "flex",
6509
6508
  alignItems: "center",
6510
6509
  gap: F.xs,
@@ -6512,8 +6511,8 @@ const Bt = (e) => {
6512
6511
  padding: "2px 6px",
6513
6512
  minHeight: "20px",
6514
6513
  borderRadius: C,
6515
- border: `1px solid ${D}`,
6516
- backgroundColor: O,
6514
+ border: `1px solid ${O}`,
6515
+ backgroundColor: D,
6517
6516
  width: "fit-content"
6518
6517
  }, w = {
6519
6518
  width: f ? "16px" : "20px",
@@ -6525,7 +6524,7 @@ const Bt = (e) => {
6525
6524
  width: f ? "16px" : "20px",
6526
6525
  height: f ? "16px" : "20px",
6527
6526
  borderRadius: "50%",
6528
- backgroundColor: O,
6527
+ backgroundColor: D,
6529
6528
  color: "#FFFFFF",
6530
6529
  display: "flex",
6531
6530
  alignItems: "center",
@@ -6542,7 +6541,7 @@ const Bt = (e) => {
6542
6541
  color: U
6543
6542
  };
6544
6543
  if (Ce === r.CORRECT_SCORE || Ce === r.CORRECT_SCORE_HT || Ce === r.CORRECT_SCORE_ADVANCED) {
6545
- const ee = De || "0:0", [I, $] = ee.split(":");
6544
+ const ee = Oe || "0:0", [I, $] = ee.split(":");
6546
6545
  return /* @__PURE__ */ i.jsxs(t, { sx: L, children: [
6547
6546
  ((ke = (te = me == null ? void 0 : me.homeTeam) == null ? void 0 : te.assets) == null ? void 0 : ke.logo) && /* @__PURE__ */ i.jsx(t, { sx: w, children: /* @__PURE__ */ i.jsx(
6548
6547
  "img",
@@ -6578,7 +6577,7 @@ const Bt = (e) => {
6578
6577
  ] });
6579
6578
  }
6580
6579
  if (Ce === r.FT_1X2 || Ce === r.HT_1X2) {
6581
- const ee = De;
6580
+ const ee = Oe;
6582
6581
  let I = "", $ = null;
6583
6582
  return ee === "1" ? (I = ((We = me == null ? void 0 : me.homeTeam) == null ? void 0 : We.name) || "Home", $ = (ve = (Je = me == null ? void 0 : me.homeTeam) == null ? void 0 : Je.assets) == null ? void 0 : ve.logo) : ee === "x" || ee === "X" ? I = l("matchQuiz.fixtures.draw") : ee === "2" && (I = ((xe = me == null ? void 0 : me.awayTeam) == null ? void 0 : xe.name) || "Away", $ = (de = (Se = me == null ? void 0 : me.awayTeam) == null ? void 0 : Se.assets) == null ? void 0 : de.logo), /* @__PURE__ */ i.jsxs(t, { sx: L, children: [
6584
6583
  $ && /* @__PURE__ */ i.jsx(t, { sx: w, children: /* @__PURE__ */ i.jsx(
@@ -6625,7 +6624,7 @@ const Bt = (e) => {
6625
6624
  /* @__PURE__ */ i.jsx(d, { sx: H, children: I })
6626
6625
  ] });
6627
6626
  }
6628
- return Ce === r.PENALTY_MATCH || Ce === r.RED_CARD_MATCH || Ce.includes("OVER_") ? /* @__PURE__ */ i.jsx(t, { sx: L, children: /* @__PURE__ */ i.jsx(d, { sx: H, children: l(De === !0 ? "matchQuiz.fixtures.yes" : "matchQuiz.fixtures.no") }) }) : Ce === r.CORNERS_MATCH ? /* @__PURE__ */ i.jsx(t, { sx: L, children: /* @__PURE__ */ i.jsx(d, { sx: H, children: De || 6 }) }) : null;
6627
+ return Ce === r.PENALTY_MATCH || Ce === r.RED_CARD_MATCH || Ce.includes("OVER_") ? /* @__PURE__ */ i.jsx(t, { sx: L, children: /* @__PURE__ */ i.jsx(d, { sx: H, children: l(Oe === !0 ? "matchQuiz.fixtures.yes" : "matchQuiz.fixtures.no") }) }) : Ce === r.CORNERS_MATCH ? /* @__PURE__ */ i.jsx(t, { sx: L, children: /* @__PURE__ */ i.jsx(d, { sx: H, children: Oe || 6 }) }) : null;
6629
6628
  }, Y = (ae) => {
6630
6629
  var he, fe, Pe, te, ke, Qe, Ee, We, Je, ve, xe;
6631
6630
  const Se = ae.market, de = ae.matchModel, we = ae.result, Ce = {
@@ -6636,8 +6635,8 @@ const Bt = (e) => {
6636
6635
  padding: "2px 6px",
6637
6636
  minHeight: "20px",
6638
6637
  borderRadius: C,
6639
- border: `1px solid ${D}`,
6640
- backgroundColor: O,
6638
+ border: `1px solid ${O}`,
6639
+ backgroundColor: D,
6641
6640
  width: "fit-content"
6642
6641
  }, me = {
6643
6642
  width: f ? "16px" : "20px",
@@ -6645,11 +6644,11 @@ const Bt = (e) => {
6645
6644
  borderRadius: "50%",
6646
6645
  overflow: "hidden",
6647
6646
  flexShrink: 0
6648
- }, De = {
6647
+ }, Oe = {
6649
6648
  width: f ? "16px" : "20px",
6650
6649
  height: f ? "16px" : "20px",
6651
6650
  borderRadius: "50%",
6652
- backgroundColor: O,
6651
+ backgroundColor: D,
6653
6652
  color: "#FFFFFF",
6654
6653
  display: "flex",
6655
6654
  alignItems: "center",
@@ -6733,7 +6732,7 @@ const Bt = (e) => {
6733
6732
  return /* @__PURE__ */ i.jsx(t, { sx: Ce, children: /* @__PURE__ */ i.jsx(d, { sx: Z, children: l("matchQuiz.fixtures.noGoalWillBeScored") }) });
6734
6733
  const w = L[0];
6735
6734
  return /* @__PURE__ */ i.jsxs(t, { sx: Ce, children: [
6736
- /* @__PURE__ */ i.jsx(t, { sx: De, children: (xe = w == null ? void 0 : w.assets) != null && xe.headshot ? /* @__PURE__ */ i.jsx(
6735
+ /* @__PURE__ */ i.jsx(t, { sx: Oe, children: (xe = w == null ? void 0 : w.assets) != null && xe.headshot ? /* @__PURE__ */ i.jsx(
6737
6736
  "img",
6738
6737
  {
6739
6738
  src: w.assets.headshot,
@@ -6912,7 +6911,7 @@ const Bt = (e) => {
6912
6911
  sx: {
6913
6912
  width: "100%",
6914
6913
  height: "1px",
6915
- backgroundColor: D
6914
+ backgroundColor: O
6916
6915
  }
6917
6916
  }
6918
6917
  ),
@@ -7469,11 +7468,11 @@ const Bt = (e) => {
7469
7468
  /* @__PURE__ */ i.jsx("td", { style: P.tableCellPoints, children: /* @__PURE__ */ i.jsx(d, { sx: P.pointsText, children: R.points }) })
7470
7469
  ] }),
7471
7470
  e.map((E) => {
7472
- const D = F === E.position;
7471
+ const O = F === E.position;
7473
7472
  return /* @__PURE__ */ i.jsxs(
7474
7473
  "tr",
7475
7474
  {
7476
- style: D ? P.userRow : void 0,
7475
+ style: O ? P.userRow : void 0,
7477
7476
  children: [
7478
7477
  /* @__PURE__ */ i.jsx("td", { style: P.tableCellPosition, children: /* @__PURE__ */ i.jsxs(d, { sx: P.positionText, children: [
7479
7478
  "#",
@@ -7488,7 +7487,7 @@ const Bt = (e) => {
7488
7487
  children: E.profileModel.avatar ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsx(io, { sx: P.avatarIcon })
7489
7488
  }
7490
7489
  ),
7491
- /* @__PURE__ */ i.jsx(d, { sx: P.nameText, children: D ? A("matchQuiz.leaderboard.you") : E.profileModel.nickname || E.profileModel.name })
7490
+ /* @__PURE__ */ i.jsx(d, { sx: P.nameText, children: O ? A("matchQuiz.leaderboard.you") : E.profileModel.nickname || E.profileModel.name })
7492
7491
  ] }) }),
7493
7492
  /* @__PURE__ */ i.jsx("td", { style: P.tableCellPoints, children: /* @__PURE__ */ i.jsx(d, { sx: P.pointsText, children: E.points }) })
7494
7493
  ]
@@ -7720,11 +7719,11 @@ const en = Ao("ChevronsRight", [
7720
7719
  imagePlaceholder: C
7721
7720
  },
7722
7721
  ge.SPLIT
7723
- ), S = z().palette.danger.plainColor, K = (y == null ? void 0 : y.contentColor) || z().textColor, b = (y == null ? void 0 : y.secondaryColor) || z().textColor, P = oe().secondary, R = "60%", F = oe().primary, h = (y == null ? void 0 : y.backgroundColor) || z().surfaceVariant, E = le(), D = pe(), O = ti(
7722
+ ), S = z().palette.danger.plainColor, K = (y == null ? void 0 : y.contentColor) || z().textColor, b = (y == null ? void 0 : y.secondaryColor) || z().textColor, P = oe().secondary, R = "60%", F = oe().primary, h = (y == null ? void 0 : y.backgroundColor) || z().surfaceVariant, E = le(), O = pe(), D = ti(
7724
7723
  ge.SPLIT
7725
7724
  ), j = Zt({
7726
7725
  finalImage: U,
7727
- spacingScale: D,
7726
+ spacingScale: O,
7728
7727
  borderRadius: E,
7729
7728
  fontFamilyPrimary: F,
7730
7729
  fontFamilySecondary: P,
@@ -7734,7 +7733,7 @@ const en = Ao("ChevronsRight", [
7734
7733
  textColor: K,
7735
7734
  brandingColors: y,
7736
7735
  darkTextColor: l.colorSchemes.dark.textColor,
7737
- imageBackgroundGradient: O,
7736
+ imageBackgroundGradient: D,
7738
7737
  isMobile: m,
7739
7738
  dangerColor: S,
7740
7739
  isTabulated: e.showPredictionDetails || !1
@@ -7824,7 +7823,7 @@ const en = Ao("ChevronsRight", [
7824
7823
  display: "flex",
7825
7824
  alignItems: "center",
7826
7825
  justifyContent: m ? "center" : "flex-start",
7827
- gap: D["3xs"]
7826
+ gap: O["3xs"]
7828
7827
  },
7829
7828
  children: [
7830
7829
  /* @__PURE__ */ i.jsx(d, { sx: j.headlineText, children: u("matchQuiz.headline") }),
@@ -8582,7 +8581,7 @@ const en = Ao("ChevronsRight", [
8582
8581
  (s == null ? void 0 : s.backgroundColor) || z().surfaceVariant
8583
8582
  )}, 0.5)`, P = z().onSurface, R = le(), F = ui().size, h = `rgba(${Ae(
8584
8583
  z().surfaceVariant || ""
8585
- )}, 0.5)`, E = (s == null ? void 0 : s.secondaryColor) || z().textColor, D = tn({
8584
+ )}, 0.5)`, E = (s == null ? void 0 : s.secondaryColor) || z().textColor, O = tn({
8586
8585
  finalImage: m,
8587
8586
  spacingScale: n,
8588
8587
  borderRadius: R,
@@ -8606,7 +8605,7 @@ const en = Ao("ChevronsRight", [
8606
8605
  opacity: "60%",
8607
8606
  secondaryColor: E,
8608
8607
  isExtraSmall: A
8609
- }), { leaderboard: O, userRankings: j, pagination: Q, currentPage: v, goToPage: T } = Ji(e.matchQuiz.id, e.sdk), q = Wi(
8608
+ }), { leaderboard: D, userRankings: j, pagination: Q, currentPage: v, goToPage: T } = Ji(e.matchQuiz.id, e.sdk), q = Wi(
8610
8609
  e.matchQuiz.id,
8611
8610
  e.sdk,
8612
8611
  e.showPredictionDetails || !1
@@ -8625,7 +8624,7 @@ const en = Ao("ChevronsRight", [
8625
8624
  {
8626
8625
  sx: { display: "flex", flexDirection: "column", gap: n.md },
8627
8626
  children: [
8628
- /* @__PURE__ */ i.jsx(t, { children: /* @__PURE__ */ i.jsx(t, { sx: D.headlineSection, children: /* @__PURE__ */ i.jsx(t, { sx: D.headlineContent, children: /* @__PURE__ */ i.jsxs(t, { sx: D.headlineContentInner, children: [
8627
+ /* @__PURE__ */ i.jsx(t, { children: /* @__PURE__ */ i.jsx(t, { sx: O.headlineSection, children: /* @__PURE__ */ i.jsx(t, { sx: O.headlineContent, children: /* @__PURE__ */ i.jsxs(t, { sx: O.headlineContentInner, children: [
8629
8628
  /* @__PURE__ */ i.jsxs(
8630
8629
  t,
8631
8630
  {
@@ -8636,7 +8635,7 @@ const en = Ao("ChevronsRight", [
8636
8635
  gap: n["3xs"]
8637
8636
  },
8638
8637
  children: [
8639
- /* @__PURE__ */ i.jsx(d, { level: "body-sm", sx: D.headlineText, children: c("matchQuiz.headline") }),
8638
+ /* @__PURE__ */ i.jsx(d, { level: "body-sm", sx: O.headlineText, children: c("matchQuiz.headline") }),
8640
8639
  /* @__PURE__ */ i.jsx(
8641
8640
  gi,
8642
8641
  {
@@ -8648,24 +8647,24 @@ const en = Ao("ChevronsRight", [
8648
8647
  ]
8649
8648
  }
8650
8649
  ),
8651
- /* @__PURE__ */ i.jsxs(t, { sx: D.contentContainer, children: [
8652
- /* @__PURE__ */ i.jsx(d, { level: "h4", sx: D.titleText, children: e.matchQuiz.title }),
8653
- e.matchQuiz.description && /* @__PURE__ */ i.jsx(d, { level: "body-lg", sx: D.descriptionText, children: mi(e.matchQuiz.description) })
8650
+ /* @__PURE__ */ i.jsxs(t, { sx: O.contentContainer, children: [
8651
+ /* @__PURE__ */ i.jsx(d, { level: "h4", sx: O.titleText, children: e.matchQuiz.title }),
8652
+ e.matchQuiz.description && /* @__PURE__ */ i.jsx(d, { level: "body-lg", sx: O.descriptionText, children: mi(e.matchQuiz.description) })
8654
8653
  ] })
8655
8654
  ] }) }) }) }),
8656
- /* @__PURE__ */ i.jsxs(t, { sx: D.mainContentSection, children: [
8657
- /* @__PURE__ */ i.jsxs(t, { sx: D.contentContainerWithBackdrop, children: [
8655
+ /* @__PURE__ */ i.jsxs(t, { sx: O.mainContentSection, children: [
8656
+ /* @__PURE__ */ i.jsxs(t, { sx: O.contentContainerWithBackdrop, children: [
8658
8657
  /* @__PURE__ */ i.jsx(
8659
8658
  Gi,
8660
8659
  {
8661
- leaderboard: O,
8660
+ leaderboard: D,
8662
8661
  userRankings: j,
8663
8662
  matchQuiz: e.matchQuiz,
8664
8663
  showHeading: !e.showPredictionDetails,
8665
8664
  isSplitVariant: !1
8666
8665
  }
8667
8666
  ),
8668
- j && Q && Q.numberOfPages > 1 && /* @__PURE__ */ i.jsx(t, { sx: D.paginationContainer, children: /* @__PURE__ */ i.jsx(
8667
+ j && Q && Q.numberOfPages > 1 && /* @__PURE__ */ i.jsx(t, { sx: O.paginationContainer, children: /* @__PURE__ */ i.jsx(
8669
8668
  Yi,
8670
8669
  {
8671
8670
  count: Q.numberOfPages,
@@ -8684,7 +8683,7 @@ const en = Ao("ChevronsRight", [
8684
8683
  ]
8685
8684
  }
8686
8685
  );
8687
- return /* @__PURE__ */ i.jsx(i.Fragment, { children: e.showPredictionDetails ? /* @__PURE__ */ i.jsx(t, { sx: D.mainContainerWithPredictionDetails, children: /* @__PURE__ */ i.jsx(
8686
+ return /* @__PURE__ */ i.jsx(i.Fragment, { children: e.showPredictionDetails ? /* @__PURE__ */ i.jsx(t, { sx: O.mainContainerWithPredictionDetails, children: /* @__PURE__ */ i.jsx(
8688
8687
  Ei,
8689
8688
  {
8690
8689
  prediction: e.prediction,
@@ -8697,7 +8696,7 @@ const en = Ao("ChevronsRight", [
8697
8696
  },
8698
8697
  children: G()
8699
8698
  }
8700
- ) }) : /* @__PURE__ */ i.jsx(t, { sx: D.mainContainer, children: G() }) });
8699
+ ) }) : /* @__PURE__ */ i.jsx(t, { sx: O.mainContainer, children: G() }) });
8701
8700
  }, an = (e) => ({
8702
8701
  // Main content wrapper
8703
8702
  mainContentWrapper: {
@@ -8831,8 +8830,8 @@ const en = Ao("ChevronsRight", [
8831
8830
  imagePlaceholder: s
8832
8831
  },
8833
8832
  ge.OVERLAY
8834
- ), u = to(l), m = (x == null ? void 0 : x.secondaryColor) || o.colorSchemes.dark.textSecondary, y = o.colorSchemes.dark.secondaryContainer, f = o.colorSchemes.dark.textPrimary, C = o.customFontFamily.light.primary, U = o.customRadius.light.md, S = o.customRadius.light.xl, K = (x == null ? void 0 : x.backgroundColor) || o.colorSchemes.dark.surfaceVariant, b = e.matchQuiz.status === "OPEN" && e.prediction && e.squads && e.onPredictionUpdate, P = (O) => {
8835
- console.log(`Edit prediction for fixture at index: ${O}`);
8833
+ ), u = to(l), m = (x == null ? void 0 : x.secondaryColor) || o.colorSchemes.dark.textSecondary, y = o.colorSchemes.dark.secondaryContainer, f = o.colorSchemes.dark.textPrimary, C = o.customFontFamily.light.primary, U = o.customRadius.light.md, S = o.customRadius.light.xl, K = (x == null ? void 0 : x.backgroundColor) || o.colorSchemes.dark.surfaceVariant, b = e.matchQuiz.status === "OPEN" && e.prediction && e.squads && e.onPredictionUpdate, P = (D) => {
8834
+ console.log(`Edit prediction for fixture at index: ${D}`);
8836
8835
  }, R = an({
8837
8836
  spacingScale: n,
8838
8837
  textPrimary: f,
@@ -8871,8 +8870,8 @@ const en = Ao("ChevronsRight", [
8871
8870
  lineHeight: "24px",
8872
8871
  letterSpacing: "0.40px",
8873
8872
  textTransform: "uppercase"
8874
- }, D = () => {
8875
- var O, j;
8873
+ }, O = () => {
8874
+ var D, j;
8876
8875
  return /* @__PURE__ */ i.jsxs(t, { sx: R.mainContentWrapper, children: [
8877
8876
  e.isUnauthorized ? /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
8878
8877
  qi,
@@ -8927,7 +8926,7 @@ const en = Ao("ChevronsRight", [
8927
8926
  {
8928
8927
  brandingLogo: g,
8929
8928
  textColor: o.colorSchemes.dark.textColor,
8930
- label: ((O = e.matchQuiz.labels) == null ? void 0 : O.sponsor) || null
8929
+ label: ((D = e.matchQuiz.labels) == null ? void 0 : D.sponsor) || null
8931
8930
  }
8932
8931
  )
8933
8932
  }
@@ -8973,7 +8972,7 @@ const en = Ao("ChevronsRight", [
8973
8972
  backgroundImage: u,
8974
8973
  imageBackgroundGradient: p,
8975
8974
  rulesDisplay: e.rulesDisplay,
8976
- children: D()
8975
+ children: O()
8977
8976
  }
8978
8977
  );
8979
8978
  }, ln = () => {
@@ -9327,8 +9326,8 @@ const en = Ao("ChevronsRight", [
9327
9326
  onPrimaryColor: U,
9328
9327
  isMobile: g
9329
9328
  }), E = () => {
9330
- var D, O, j, Q;
9331
- return e.signInCTA ? (D = e.signInCTA) != null && D.component ? e.signInCTA.component : (O = e.signInCTA) != null && O.onClick ? /* @__PURE__ */ i.jsx(
9329
+ var O, D, j, Q;
9330
+ return e.signInCTA ? (O = e.signInCTA) != null && O.component ? e.signInCTA.component : (D = e.signInCTA) != null && D.onClick ? /* @__PURE__ */ i.jsx(
9332
9331
  be,
9333
9332
  {
9334
9333
  variant: "soft",
@@ -9509,8 +9508,8 @@ const en = Ao("ChevronsRight", [
9509
9508
  ...S.pulseAnimation
9510
9509
  },
9511
9510
  onClick: () => {
9512
- var h, E, D;
9513
- ((h = e.signInCTA) == null ? void 0 : h.target) === "_blank" ? window.open((E = e.signInCTA) == null ? void 0 : E.url, "_blank") : window.location.href = (D = e.signInCTA) == null ? void 0 : D.url;
9511
+ var h, E, O;
9512
+ ((h = e.signInCTA) == null ? void 0 : h.target) === "_blank" ? window.open((E = e.signInCTA) == null ? void 0 : E.url, "_blank") : window.location.href = (O = e.signInCTA) == null ? void 0 : O.url;
9514
9513
  },
9515
9514
  children: /* @__PURE__ */ i.jsx(d, { sx: S.signInButtonText, children: e.signInCTA.defaultLabel || l("common.signIn") })
9516
9515
  }
@@ -9603,11 +9602,11 @@ const en = Ao("ChevronsRight", [
9603
9602
  imagePlaceholder: b
9604
9603
  },
9605
9604
  ge.OVERLAY
9606
- ), R = to(P), F = (n = (o = m.customRadius) == null ? void 0 : o.light) == null ? void 0 : n.xl, h = (S == null ? void 0 : S.primaryColor) || ((A = (p = (c = (a = m.colorSchemes) == null ? void 0 : a.light) == null ? void 0 : c.palette) == null ? void 0 : p.primary) == null ? void 0 : A.plainColor), E = (l = (s = (g = (x = m.colorSchemes) == null ? void 0 : x.light) == null ? void 0 : g.palette) == null ? void 0 : s.primary) == null ? void 0 : l.onPrimary, D = m.customFontFamily.dark.primary, O = xn({
9605
+ ), R = to(P), F = (n = (o = m.customRadius) == null ? void 0 : o.light) == null ? void 0 : n.xl, h = (S == null ? void 0 : S.primaryColor) || ((A = (p = (c = (a = m.colorSchemes) == null ? void 0 : a.light) == null ? void 0 : c.palette) == null ? void 0 : p.primary) == null ? void 0 : A.plainColor), E = (l = (s = (g = (x = m.colorSchemes) == null ? void 0 : x.light) == null ? void 0 : g.palette) == null ? void 0 : s.primary) == null ? void 0 : l.onPrimary, O = m.customFontFamily.dark.primary, D = xn({
9607
9606
  buttonRadius: F,
9608
9607
  primaryColor: h,
9609
9608
  onPrimaryColor: E,
9610
- fontFamilyPrimary: D
9609
+ fontFamilyPrimary: O
9611
9610
  }), j = () => {
9612
9611
  var Q, v, T, q;
9613
9612
  return e.signInCTA ? (Q = e.signInCTA) != null && Q.component ? e.signInCTA.component : (v = e.signInCTA) != null && v.onClick ? /* @__PURE__ */ i.jsx(
@@ -9615,11 +9614,11 @@ const en = Ao("ChevronsRight", [
9615
9614
  {
9616
9615
  variant: "soft",
9617
9616
  sx: {
9618
- ...O.signInButton,
9619
- ...O.pulseAnimation
9617
+ ...D.signInButton,
9618
+ ...D.pulseAnimation
9620
9619
  },
9621
9620
  onClick: e.signInCTA.onClick,
9622
- children: /* @__PURE__ */ i.jsx(d, { sx: O.signInButtonText, children: e.signInCTA.defaultLabel || y("common.signIn") })
9621
+ children: /* @__PURE__ */ i.jsx(d, { sx: D.signInButtonText, children: e.signInCTA.defaultLabel || y("common.signIn") })
9623
9622
  }
9624
9623
  ) : (T = e.signInCTA) != null && T.url ? typeof window > "u" ? /* @__PURE__ */ i.jsx(
9625
9624
  t,
@@ -9628,48 +9627,48 @@ const en = Ao("ChevronsRight", [
9628
9627
  href: e.signInCTA.url,
9629
9628
  target: ((q = e.signInCTA) == null ? void 0 : q.target) || "_self",
9630
9629
  sx: {
9631
- ...O.signInButton,
9632
- ...O.pulseAnimation,
9630
+ ...D.signInButton,
9631
+ ...D.pulseAnimation,
9633
9632
  textDecoration: "none",
9634
9633
  display: "inline-flex",
9635
9634
  alignItems: "center",
9636
9635
  justifyContent: "center"
9637
9636
  },
9638
- children: /* @__PURE__ */ i.jsx(d, { sx: O.signInButtonText, children: e.signInCTA.defaultLabel || y("common.signIn") })
9637
+ children: /* @__PURE__ */ i.jsx(d, { sx: D.signInButtonText, children: e.signInCTA.defaultLabel || y("common.signIn") })
9639
9638
  }
9640
9639
  ) : /* @__PURE__ */ i.jsx(
9641
9640
  be,
9642
9641
  {
9643
9642
  variant: "soft",
9644
9643
  sx: {
9645
- ...O.signInButton,
9646
- ...O.pulseAnimation
9644
+ ...D.signInButton,
9645
+ ...D.pulseAnimation
9647
9646
  },
9648
9647
  onClick: () => {
9649
9648
  var J, G, V;
9650
9649
  ((J = e.signInCTA) == null ? void 0 : J.target) === "_blank" ? window.open((G = e.signInCTA) == null ? void 0 : G.url, "_blank") : window.location.href = (V = e.signInCTA) == null ? void 0 : V.url;
9651
9650
  },
9652
- children: /* @__PURE__ */ i.jsx(d, { sx: O.signInButtonText, children: e.signInCTA.defaultLabel || y("common.signIn") })
9651
+ children: /* @__PURE__ */ i.jsx(d, { sx: D.signInButtonText, children: e.signInCTA.defaultLabel || y("common.signIn") })
9653
9652
  }
9654
9653
  ) : /* @__PURE__ */ i.jsx(
9655
9654
  be,
9656
9655
  {
9657
9656
  variant: "soft",
9658
9657
  sx: {
9659
- ...O.signInButton
9658
+ ...D.signInButton
9660
9659
  },
9661
9660
  disabled: !0,
9662
- children: /* @__PURE__ */ i.jsx(d, { sx: O.signInButtonText, children: e.signInCTA.defaultLabel || y("common.signIn") })
9661
+ children: /* @__PURE__ */ i.jsx(d, { sx: D.signInButtonText, children: e.signInCTA.defaultLabel || y("common.signIn") })
9663
9662
  }
9664
9663
  ) : /* @__PURE__ */ i.jsx(
9665
9664
  be,
9666
9665
  {
9667
9666
  variant: "soft",
9668
9667
  sx: {
9669
- ...O.signInButton
9668
+ ...D.signInButton
9670
9669
  },
9671
9670
  disabled: !0,
9672
- children: /* @__PURE__ */ i.jsx(d, { sx: O.signInButtonText, children: y("common.signIn") })
9671
+ children: /* @__PURE__ */ i.jsx(d, { sx: D.signInButtonText, children: y("common.signIn") })
9673
9672
  }
9674
9673
  );
9675
9674
  };
@@ -10298,9 +10297,9 @@ const en = Ao("ChevronsRight", [
10298
10297
  )}`;
10299
10298
  const P = z().onSurface, R = le(), F = ui().size, h = pe(), E = `rgba(${Ae(
10300
10299
  z().surfaceVariant || ""
10301
- )}, 0.5)`, D = ti(
10300
+ )}, 0.5)`, O = ti(
10302
10301
  ge.STANDARD
10303
- ), O = "60%", j = (s == null ? void 0 : s.secondaryColor) || z().textColor, { leaderboard: Q, userRankings: v, pagination: T, currentPage: q, goToPage: J } = Ji(e.matchQuiz.id, e.sdk), G = Wi(
10302
+ ), D = "60%", j = (s == null ? void 0 : s.secondaryColor) || z().textColor, { leaderboard: Q, userRankings: v, pagination: T, currentPage: q, goToPage: J } = Ji(e.matchQuiz.id, e.sdk), G = Wi(
10304
10303
  e.matchQuiz.id,
10305
10304
  e.sdk,
10306
10305
  e.showPredictionDetails || !1
@@ -10322,9 +10321,9 @@ const en = Ao("ChevronsRight", [
10322
10321
  dangerColor: A.colorSchemes.light.palette.danger.plainColor,
10323
10322
  onPrimaryColor: A.colorSchemes.light.palette.primary.onPrimary,
10324
10323
  isMobile: l,
10325
- imageBackgroundGradient: D,
10324
+ imageBackgroundGradient: O,
10326
10325
  darkTextColor: A.colorSchemes.dark.textColor,
10327
- opacity: O,
10326
+ opacity: D,
10328
10327
  secondaryColor: j,
10329
10328
  isExtraSmall: u
10330
10329
  }), Ue = () => {
@@ -10592,7 +10591,7 @@ const Pn = (e, o) => {
10592
10591
  });
10593
10592
  }, E = () => {
10594
10593
  F((T) => ({ ...T, open: !1 }));
10595
- }, D = (T) => {
10594
+ }, O = (T) => {
10596
10595
  T.success ? h(
10597
10596
  "success",
10598
10597
  o("matchQuiz.alerts.play.success.title"),
@@ -10638,7 +10637,7 @@ const Pn = (e, o) => {
10638
10637
  rulesDisplay: e.rulesDisplay
10639
10638
  }
10640
10639
  );
10641
- const O = () => {
10640
+ const D = () => {
10642
10641
  s(!1), l(!1);
10643
10642
  };
10644
10643
  if (x || g)
@@ -10649,7 +10648,7 @@ const Pn = (e, o) => {
10649
10648
  imagePosition: e.imagePosition,
10650
10649
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
10651
10650
  isApiError: g,
10652
- toggleTryAgain: O,
10651
+ toggleTryAgain: D,
10653
10652
  rulesDisplay: e.rulesDisplay
10654
10653
  }
10655
10654
  ) : e.template === ge.OVERLAY ? /* @__PURE__ */ i.jsx(
@@ -10658,7 +10657,7 @@ const Pn = (e, o) => {
10658
10657
  matchQuiz: n,
10659
10658
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
10660
10659
  isApiError: g,
10661
- toggleTryAgain: O,
10660
+ toggleTryAgain: D,
10662
10661
  rulesDisplay: e.rulesDisplay
10663
10662
  }
10664
10663
  ) : /* @__PURE__ */ i.jsx(
@@ -10667,7 +10666,7 @@ const Pn = (e, o) => {
10667
10666
  matchQuiz: n,
10668
10667
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
10669
10668
  isApiError: g,
10670
- toggleTryAgain: O,
10669
+ toggleTryAgain: D,
10671
10670
  rulesDisplay: e.rulesDisplay
10672
10671
  }
10673
10672
  );
@@ -10771,7 +10770,7 @@ const Pn = (e, o) => {
10771
10770
  rulesDisplay: e.rulesDisplay
10772
10771
  }
10773
10772
  ) : li(e) ? /* @__PURE__ */ i.jsx(
10774
- Ot,
10773
+ Dt,
10775
10774
  {
10776
10775
  isPlaying: u,
10777
10776
  sdk: e.sdk,
@@ -10909,7 +10908,7 @@ const Pn = (e, o) => {
10909
10908
  showTeamLabels: e.showTeamLabels,
10910
10909
  onPredictionUpdate: f,
10911
10910
  play: j,
10912
- onPlayResult: D,
10911
+ onPlayResult: O,
10913
10912
  additionalCTA: e.additionalCTA,
10914
10913
  rulesDisplay: e.rulesDisplay
10915
10914
  }
@@ -10944,7 +10943,7 @@ const Pn = (e, o) => {
10944
10943
  showTeamLabels: e.showTeamLabels,
10945
10944
  onPredictionUpdate: f,
10946
10945
  play: j,
10947
- onPlayResult: D,
10946
+ onPlayResult: O,
10948
10947
  additionalCTA: e.additionalCTA,
10949
10948
  rulesDisplay: e.rulesDisplay
10950
10949
  }
@@ -10978,7 +10977,7 @@ const Pn = (e, o) => {
10978
10977
  showTeamLabels: e.showTeamLabels,
10979
10978
  onPredictionUpdate: f,
10980
10979
  play: j,
10981
- onPlayResult: D,
10980
+ onPlayResult: O,
10982
10981
  additionalCTA: e.additionalCTA,
10983
10982
  rulesDisplay: e.rulesDisplay
10984
10983
  }
@@ -10998,7 +10997,7 @@ const Pn = (e, o) => {
10998
10997
  ),
10999
10998
  /* @__PURE__ */ i.jsx(Si, { notification: R, onClose: E })
11000
10999
  ] });
11001
- }, Un = (e) => /* @__PURE__ */ i.jsx(Ro, { packageName: "match-quiz-play", ...e, children: /* @__PURE__ */ i.jsx(bn, { ...e }) }), Kn = Un, wn = ({ matchQuizId: e, layoutTemplate: o, matchQuizConfig: n }) => {
11000
+ }, Un = (e) => /* @__PURE__ */ i.jsx(Ro, { packageName: "match-quiz-play", ...e, children: /* @__PURE__ */ i.jsx(bn, { ...e }) }), Kn = Un, Qn = ({ matchQuizId: e, layoutTemplate: o, matchQuizConfig: n }) => {
11002
11001
  const a = uo(), { language: c } = fo(), { isAuthenticated: p } = yo(), { imagePosition: A } = ho(), x = Co(), g = So(), { defaultImagePlaceholderUrl: s } = Po(), l = bo(), u = Uo(), m = Ko(), y = n.showPredictionDetails || !1, f = n.showCountdown || !1, C = n.showTeamLabels || !1, U = n.showPoints || !1;
11003
11002
  let S = {
11004
11003
  entityId: e,
@@ -11030,5 +11029,5 @@ const Pn = (e, o) => {
11030
11029
  return /* @__PURE__ */ i.jsx(Kn, { ...S });
11031
11030
  };
11032
11031
  export {
11033
- wn as default
11032
+ Qn as default
11034
11033
  };