fansunited-frontend-components 0.0.48 → 0.0.49

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 (57) hide show
  1. package/ChanceGame.js +45 -45
  2. package/ClassicQuizPlay.js +184 -183
  3. package/CollectLead.js +16 -15
  4. package/Discussion.js +1 -1
  5. package/EitherOrPlay.js +66 -65
  6. package/EventGamePlay.js +68 -67
  7. package/Leaderboard.js +22 -22
  8. package/MatchQuizPlay.js +82 -81
  9. package/PersonalityQuizPlay.js +77 -76
  10. package/PickThePair.js +42 -42
  11. package/PollVote.js +53 -52
  12. package/Predictor.js +75 -75
  13. package/README.md +272 -0
  14. package/chunks/{AlertMessage-D4Uc6n5U.js → AlertMessage-Ds45MBHB.js} +3 -3
  15. package/chunks/{ArrowRightAlt-wEs8SY1V.js → ArrowRightAlt-DKADQN2o.js} +1 -1
  16. package/chunks/{Avatar-BXHdXHLA.js → Avatar-K1EWhhkA.js} +2 -2
  17. package/chunks/{ChanceGameEmbedVariant-DfS5LPpp.js → ChanceGameEmbedVariant-DqFg4YKU.js} +31 -29
  18. package/chunks/{CheckCircle-CU2itira.js → CheckCircle-CV9iMpkZ.js} +1 -1
  19. package/chunks/{Close-DBt1nfGo.js → Close-BHp4N1-6.js} +1 -1
  20. package/chunks/{Close-C5SGTkPr.js → Close-C6Cw96SJ.js} +1 -1
  21. package/chunks/{CollectLeadForm-BqjgPYKX.js → CollectLeadForm-DnLKA8qz.js} +13 -13
  22. package/chunks/{Divider-Cbns9B3Y.js → Divider-BvUimRFw.js} +2 -2
  23. package/chunks/{Edit-BVP8fCB4.js → Edit-CZ3ni-Ur.js} +4 -4
  24. package/chunks/{EmojiEvents-D_ObJxNy.js → EmojiEvents-DpmLq98V.js} +1 -1
  25. package/chunks/{FavoriteBorder-_mUf1vas.js → FavoriteBorder-DUK_DrY4.js} +1 -1
  26. package/chunks/{FormControl-DLBvX-Sn.js → FormControl-BUItlVIg.js} +3 -3
  27. package/chunks/{FormLabel-jXtScWTI.js → FormLabel-CeTNPUn7.js} +2 -2
  28. package/chunks/{Input-Cha_dm3J.js → Input-MJCQcYzo.js} +2 -2
  29. package/chunks/{KeyboardArrowDown-C_8g8wLS.js → KeyboardArrowDown-SZpn2GhJ.js} +1 -1
  30. package/chunks/{ModalDialog-Co3jck0z.js → ModalDialog-Cfgv9UAA.js} +2 -2
  31. package/chunks/{NotFoundSkeleton-D5Jh3lnu.js → NotFoundSkeleton-Cs6DtD9u.js} +13 -12
  32. package/chunks/{Notification-r1Fm0If2.js → Notification-pcKtlRms.js} +4 -4
  33. package/chunks/{OverlayApiErrorSkeleton-BUuD0zL8.js → OverlayApiErrorSkeleton-Dl3s5Oaf.js} +20 -19
  34. package/chunks/{OverlayLeadAfterCollection-B-N1OjPu.js → OverlayLeadAfterCollection-F2TAV9wK.js} +14 -12
  35. package/chunks/{OverlayScoreStateSkeleton-Bd3-ZNlU.js → OverlayScoreStateSkeleton-LQ0svzeX.js} +3 -3
  36. package/chunks/{Person-K8GGMiAW.js → Person-BGdniS_p.js} +1 -1
  37. package/chunks/{PickOneOfX-CvIn7QOd.js → PickOneOfX-Ci4ZJf7G.js} +8 -7
  38. package/chunks/{Popper-Bti_HOMS.js → Popper-DOVSI4rJ.js} +1 -1
  39. package/chunks/{Portal-B-nN3a_R.js → Portal-Cs0dgwmH.js} +1 -1
  40. package/chunks/{index-Btf_jw7-.js → PrizeCard-DF3QxwQJ.js} +0 -1
  41. package/chunks/{Select-C2QtqgA7.js → Select-BHeTdOYr.js} +3 -3
  42. package/chunks/{Spinner-D7-MZe2m.js → Spinner-DbUB64Gj.js} +1 -1
  43. package/chunks/{SplitLeadAfterCollection-CyXBWAIK.js → SplitLeadAfterCollection-DSw6X5fx.js} +36 -34
  44. package/chunks/{Stack-CU36SsgA.js → Stack-BpHk5eb0.js} +1 -1
  45. package/chunks/{StandardContentSkeleton-CYduGHsc.js → StandardContentSkeleton-Bae1LLQ_.js} +1 -1
  46. package/chunks/{Tabs-CA-FqQfT.js → Tabs-hwJ7jsUl.js} +3 -3
  47. package/chunks/{Textarea-Cn4VvCBl.js → Textarea-zOtMdgc5.js} +3 -3
  48. package/chunks/{TimerOutlined-DOpryr42.js → TimerOutlined-DWE7f0YX.js} +1 -1
  49. package/chunks/{helpers-1jFObSvc.js → helpers-NuC1SzL3.js} +1 -1
  50. package/chunks/index-BaypiKlO.js +4 -0
  51. package/chunks/{main-Chqd9Wwn.js → main-hB01WcoP.js} +88 -88
  52. package/chunks/{useEventCallback-CkO2rd5W.js → useEventCallback-CizlfWBo.js} +1 -1
  53. package/chunks/{useForwardedInput-C3SP2QmS.js → useForwardedInput-RWDntqBU.js} +2 -2
  54. package/chunks/{useImageVariant-BJ722AFw.js → useImageVariant-Cex1eIqq.js} +1 -1
  55. package/index.js +1 -1
  56. package/package.json +1 -1
  57. package/chunks/index-CyODGG_P.js +0 -4
package/MatchQuizPlay.js CHANGED
@@ -1,32 +1,33 @@
1
1
  import { jsx as t, jsxs as d, Fragment as p } from "react/jsx-runtime";
2
- import { c as ee, i as ce, B as i, T as y, f as ne, a as L, b as re, e as Se, l as Ne, g as _e, I as De, m as bn, r as Rn, k as Tn, C as Pn, j as Pe, u as Ee, W as Ce, d as bt, n as rt, h as mn } from "./chunks/index-Btf_jw7-.js";
3
- import et, { useState as te, useEffect as gt, createContext as zn, memo as Rt, useCallback as Ye, useMemo as tt } from "react";
4
- import { S as kn, a as In, b as wn, C as nn, c as an } from "./chunks/ChanceGameEmbedVariant-DfS5LPpp.js";
5
- import { p as An, o as c, r as un } from "./chunks/index-D1K1OB4p.js";
6
- import { S as Ht } from "./chunks/Spinner-D7-MZe2m.js";
7
- import { g as Fn, e as Tt, a as Nt, h as ye, s as St, b as vn } from "./chunks/helpers-1jFObSvc.js";
8
- import { C as En } from "./chunks/CollectLeadForm-BqjgPYKX.js";
9
- import { K as Dn, a as _n } from "./chunks/KeyboardArrowDown-C_8g8wLS.js";
10
- import { K as Ut, a as Gt, H as Ln, D as Mn, E as Qn } from "./chunks/Edit-BVP8fCB4.js";
11
- import { T as on, D as On, O as Hn, S as gn, R as Ct, N as Bn } from "./chunks/NotFoundSkeleton-D5Jh3lnu.js";
12
- import { T as hn, a as fn, b as Bt, c as Wt, t as ln } from "./chunks/Tabs-CA-FqQfT.js";
13
- import { F as rn, C as cn } from "./chunks/FormControl-DLBvX-Sn.js";
14
- import { C as Wn } from "./chunks/Close-DBt1nfGo.js";
15
- import { M as Vn, a as jn } from "./chunks/ModalDialog-Co3jck0z.js";
16
- import { S as xn, T as yn, P as sn } from "./chunks/Person-K8GGMiAW.js";
17
- import { d as it, a as at, b as Je } from "./chunks/useImageVariant-BJ722AFw.js";
18
- import { C as $n } from "./chunks/CheckCircle-CU2itira.js";
19
- import { A as Nn, I as Un, W as Gn } from "./chunks/AlertMessage-D4Uc6n5U.js";
20
- import { S as Yn } from "./chunks/Stack-CU36SsgA.js";
21
- import { A as It, S as qn, O as Xn } from "./chunks/OverlayApiErrorSkeleton-BUuD0zL8.js";
22
- import { A as dn } from "./chunks/Avatar-BXHdXHLA.js";
23
- import { C as Kn, a as Zn } from "./chunks/chevrons-right-CRIN5sOe.js";
24
- import { C as Jn, a as pn } from "./chunks/chevron-right-B3IZtaMT.js";
25
- import { O as ei } from "./chunks/OverlayScoreStateSkeleton-Bd3-ZNlU.js";
26
- import { S as ti, O as ni, a as ii, b as ai } from "./chunks/OverlayLeadAfterCollection-B-N1OjPu.js";
27
- import { S as oi, a as li } from "./chunks/SplitLeadAfterCollection-CyXBWAIK.js";
28
- import { N as kt } from "./chunks/Notification-r1Fm0If2.js";
29
- import { P as ri } from "./chunks/Portal-B-nN3a_R.js";
2
+ import et, { useState as te, useEffect as gt, createContext as bn, memo as bt, useCallback as Ye, useMemo as tt } from "react";
3
+ import { c as ee, i as ce, B as i, T as y, f as ne, a as L, b as re, e as Se, l as Ne, g as _e, I as De, m as Rn, r as Tn, k as Pn, C as zn, j as Pe, u as Ee, W as Ce, d as Rt, n as rt, h as mn } from "./chunks/PrizeCard-DF3QxwQJ.js";
4
+ import { P as kn } from "./chunks/Portal-Cs0dgwmH.js";
5
+ import "react-dom";
6
+ import { g as In, e as Tt, a as Nt, h as ye, s as St, b as wn } from "./chunks/helpers-NuC1SzL3.js";
7
+ import { S as Ht } from "./chunks/Spinner-DbUB64Gj.js";
8
+ import { S as An, a as Fn, b as vn, C as nn, c as an } from "./chunks/ChanceGameEmbedVariant-DqFg4YKU.js";
9
+ import { N as kt } from "./chunks/Notification-pcKtlRms.js";
10
+ import { p as En, o as c, r as un } from "./chunks/index-D1K1OB4p.js";
11
+ import { T as on, D as Dn, O as _n, S as gn, R as Ct, N as Ln } from "./chunks/NotFoundSkeleton-Cs6DtD9u.js";
12
+ import { d as it, a as at, b as Je } from "./chunks/useImageVariant-Cex1eIqq.js";
13
+ import { C as Mn } from "./chunks/CollectLeadForm-DnLKA8qz.js";
14
+ import { K as Qn, a as On } from "./chunks/KeyboardArrowDown-SZpn2GhJ.js";
15
+ import { K as Ut, a as Gt, H as Hn, D as Bn, E as Wn } from "./chunks/Edit-CZ3ni-Ur.js";
16
+ import { T as hn, a as fn, b as Bt, c as Wt, t as ln } from "./chunks/Tabs-hwJ7jsUl.js";
17
+ import { F as rn, C as cn } from "./chunks/FormControl-BUItlVIg.js";
18
+ import { C as Vn } from "./chunks/Close-BHp4N1-6.js";
19
+ import { M as jn, a as $n } from "./chunks/ModalDialog-Cfgv9UAA.js";
20
+ import { S as xn, T as yn, P as sn } from "./chunks/Person-BGdniS_p.js";
21
+ import { A as It, S as Nn, O as Un } from "./chunks/OverlayApiErrorSkeleton-Dl3s5Oaf.js";
22
+ import { C as Gn } from "./chunks/CheckCircle-CV9iMpkZ.js";
23
+ import { A as Yn, I as qn, W as Xn } from "./chunks/AlertMessage-Ds45MBHB.js";
24
+ import { S as Kn } from "./chunks/Stack-BpHk5eb0.js";
25
+ import { A as dn } from "./chunks/Avatar-K1EWhhkA.js";
26
+ import { C as Zn, a as Jn } from "./chunks/chevrons-right-CRIN5sOe.js";
27
+ import { C as pn, a as ei } from "./chunks/chevron-right-B3IZtaMT.js";
28
+ import { O as ti } from "./chunks/OverlayScoreStateSkeleton-LQ0svzeX.js";
29
+ import { S as ni, O as ii, a as ai, b as oi } from "./chunks/OverlayLeadAfterCollection-F2TAV9wK.js";
30
+ import { S as li, a as ri } from "./chunks/SplitLeadAfterCollection-DSw6X5fx.js";
30
31
  const ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CORRECT_SCORE_ADVANCED", ut = (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", Yt = (e) => {
31
32
  const n = (/* @__PURE__ */ new Date()).getTime(), o = new Date(e).getTime();
32
33
  return n > o;
@@ -52,7 +53,7 @@ const ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
52
53
  }
53
54
  m(C);
54
55
  } catch (s) {
55
- console.warn(s), l(new An()), m(/* @__PURE__ */ new Map());
56
+ console.warn(s), l(new En()), m(/* @__PURE__ */ new Map());
56
57
  }
57
58
  }, S = async () => {
58
59
  try {
@@ -101,7 +102,7 @@ const ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
101
102
  setApiErrorMessage: a
102
103
  };
103
104
  }, ke = (e) => {
104
- const n = ee().secondary, o = ce(), r = e.flexDirection || "column", l = Fn(e.primaryUrl, e.secondaryUrl, "logo");
105
+ const n = ee().secondary, o = ce(), r = e.flexDirection || "column", l = In(e.primaryUrl, e.secondaryUrl, "logo");
105
106
  if (!e.brandingLogo)
106
107
  return null;
107
108
  const h = () => {
@@ -229,7 +230,7 @@ const ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
229
230
  onClick: u
230
231
  };
231
232
  return /* @__PURE__ */ t(
232
- En,
233
+ Mn,
233
234
  {
234
235
  sdk: e,
235
236
  content: {
@@ -683,7 +684,7 @@ const ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
683
684
  mx: e.isMobile ? e.spacingScale.md : e.spacingScale.lg
684
685
  }
685
686
  };
686
- }, Le = zn({
687
+ }, Le = bn({
687
688
  showTeamLabels: !1,
688
689
  points: [],
689
690
  squads: /* @__PURE__ */ new Map()
@@ -702,7 +703,7 @@ const ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
702
703
  },
703
704
  children: r
704
705
  }
705
- ), Vt = Rt(({ team: e, isHome: n, styles: o, showTeamLabels: r }) => {
706
+ ), Vt = bt(({ team: e, isHome: n, styles: o, showTeamLabels: r }) => {
706
707
  var l;
707
708
  return /* @__PURE__ */ d(i, { sx: n ? o.homeTeamColumn : o.awayTeamColumn, children: [
708
709
  /* @__PURE__ */ t(i, { sx: o.teamLogo, children: (l = e.assets) != null && l.logo ? /* @__PURE__ */ t(
@@ -749,7 +750,7 @@ const hi = (e) => {
749
750
  variant: "plain",
750
751
  onClick: E,
751
752
  sx: b.scoreButton,
752
- children: /* @__PURE__ */ t(Dn, { fontSize: "small" })
753
+ children: /* @__PURE__ */ t(Qn, { fontSize: "small" })
753
754
  }
754
755
  ),
755
756
  /* @__PURE__ */ t(y, { level: "h2", sx: b.scoreDisplay, children: T }),
@@ -761,7 +762,7 @@ const hi = (e) => {
761
762
  onClick: g,
762
763
  sx: b.scoreButton,
763
764
  disabled: T === 0,
764
- children: /* @__PURE__ */ t(_n, { fontSize: "small" })
765
+ children: /* @__PURE__ */ t(On, { fontSize: "small" })
765
766
  }
766
767
  )
767
768
  ] }), I = ({ team: T, score: E, onIncrement: g, onDecrement: F }) => {
@@ -944,7 +945,7 @@ const hi = (e) => {
944
945
  bgcolor: e.neutralSoftBg,
945
946
  borderRadius: e.borderRadius.sm
946
947
  }
947
- }), jt = Rt(({ team: e, score: n, onIncrement: o, onDecrement: r, styles: l, showTeamLabels: h }) => {
948
+ }), jt = bt(({ team: e, score: n, onIncrement: o, onDecrement: r, styles: l, showTeamLabels: h }) => {
948
949
  var m;
949
950
  return /* @__PURE__ */ d(i, { sx: l.row, children: [
950
951
  /* @__PURE__ */ d(i, { sx: l.teamInfo, children: [
@@ -1223,7 +1224,7 @@ const xi = (e) => {
1223
1224
  {
1224
1225
  onClick: () => f(!u),
1225
1226
  sx: S.mobileIconButton,
1226
- children: /* @__PURE__ */ t(Ln, { sx: S.mobileIcon })
1227
+ children: /* @__PURE__ */ t(Hn, { sx: S.mobileIcon })
1227
1228
  }
1228
1229
  )
1229
1230
  }
@@ -1544,7 +1545,7 @@ const xi = (e) => {
1544
1545
  }
1545
1546
  )
1546
1547
  ] });
1547
- }, $t = Rt(({ team: e, option: n, isSelected: o, styles: r, handleSelection: l }) => {
1548
+ }, $t = bt(({ team: e, option: n, isSelected: o, styles: r, handleSelection: l }) => {
1548
1549
  var h;
1549
1550
  return /* @__PURE__ */ t(i, { sx: r.iconContainer, children: /* @__PURE__ */ t(
1550
1551
  i,
@@ -1581,7 +1582,7 @@ const xi = (e) => {
1581
1582
  ) });
1582
1583
  });
1583
1584
  $t.displayName = "TeamIcon";
1584
- const Sn = Rt(({ isSelected: e, styles: n, handleSelection: o }) => /* @__PURE__ */ t(i, { sx: n.iconContainer, children: /* @__PURE__ */ t(
1585
+ const Sn = bt(({ isSelected: e, styles: n, handleSelection: o }) => /* @__PURE__ */ t(i, { sx: n.iconContainer, children: /* @__PURE__ */ t(
1585
1586
  i,
1586
1587
  {
1587
1588
  sx: {
@@ -2081,7 +2082,7 @@ const Ti = (e) => {
2081
2082
  }
2082
2083
  )
2083
2084
  ] });
2084
- }, wt = bn(/* @__PURE__ */ t("path", {
2085
+ }, wt = Rn(/* @__PURE__ */ t("path", {
2085
2086
  d: "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4"
2086
2087
  }), "PersonOutline"), vi = (e) => {
2087
2088
  const n = At({
@@ -2371,7 +2372,7 @@ const Ti = (e) => {
2371
2372
  fontWeight: 500
2372
2373
  }
2373
2374
  };
2374
- }, Cn = Rt(({ player: e, isSelected: n, styles: o, handlePlayerSelection: r }) => {
2375
+ }, Cn = bt(({ player: e, isSelected: n, styles: o, handlePlayerSelection: r }) => {
2375
2376
  var l;
2376
2377
  return /* @__PURE__ */ t(
2377
2378
  i,
@@ -2407,7 +2408,7 @@ const Ti = (e) => {
2407
2408
  });
2408
2409
  Cn.displayName = "PlayerAvatar";
2409
2410
  const Ei = (e) => {
2410
- const n = L(), o = re(), r = ee(), l = Se(), h = ce(), m = Ne(), u = Rn(), { t: f } = ne(), { squads: a } = _e(Le), S = e.useExtraSmallLayout !== void 0 ? e.useExtraSmallLayout : m, [s, x] = te(e.prediction), [b, z] = te(e.prediction === "OWN_GOAL"), [C, I] = te(e.prediction === null), [T, E] = te("home"), [g, F] = te(0), P = vi({
2411
+ const n = L(), o = re(), r = ee(), l = Se(), h = ce(), m = Ne(), u = Tn(), { t: f } = ne(), { squads: a } = _e(Le), S = e.useExtraSmallLayout !== void 0 ? e.useExtraSmallLayout : m, [s, x] = te(e.prediction), [b, z] = te(e.prediction === "OWN_GOAL"), [C, I] = te(e.prediction === null), [T, E] = te("home"), [g, F] = te(0), P = vi({
2411
2412
  spacingScale: l,
2412
2413
  borderRadius: o,
2413
2414
  fontFamilyPrimary: r.primary,
@@ -2777,7 +2778,7 @@ const Ei = (e) => {
2777
2778
  display: "flex",
2778
2779
  alignItems: "center",
2779
2780
  justifyContent: "center",
2780
- py: Tn("xs"),
2781
+ py: Pn("xs"),
2781
2782
  width: "100%",
2782
2783
  zIndex: 1
2783
2784
  },
@@ -3209,7 +3210,7 @@ const Ei = (e) => {
3209
3210
  }
3210
3211
  };
3211
3212
  }, Mi = (e) => {
3212
- const { t: n } = ne(), { shadowRootElement: o } = _e(Pn), r = L(), l = re(), h = ee(), m = Se(), [u, f] = te(!1), a = e.brandingPrimaryColor || r.palette.primary.plainColor, S = Li({
3213
+ const { t: n } = ne(), { shadowRootElement: o } = _e(zn), r = L(), l = re(), h = ee(), m = Se(), [u, f] = te(!1), a = e.brandingPrimaryColor || r.palette.primary.plainColor, S = Li({
3213
3214
  spacingScale: m,
3214
3215
  borderRadius: l,
3215
3216
  fontFamilyPrimary: h.primary,
@@ -3305,15 +3306,15 @@ const Ei = (e) => {
3305
3306
  ) : null;
3306
3307
  };
3307
3308
  return /* @__PURE__ */ t(
3308
- Vn,
3309
+ jn,
3309
3310
  {
3310
3311
  open: e.isOpen,
3311
3312
  onClose: e.onClose,
3312
3313
  container: o,
3313
- children: /* @__PURE__ */ d(jn, { sx: S.modalDialog, children: [
3314
- /* @__PURE__ */ t(De, { onClick: e.onClose, sx: S.closeButton, children: /* @__PURE__ */ t(Wn, {}) }),
3315
- /* @__PURE__ */ t(On, { children: z() }),
3316
- e.view === "score" && /* @__PURE__ */ d(Mn, { children: [
3314
+ children: /* @__PURE__ */ d($n, { sx: S.modalDialog, children: [
3315
+ /* @__PURE__ */ t(De, { onClick: e.onClose, sx: S.closeButton, children: /* @__PURE__ */ t(Vn, {}) }),
3316
+ /* @__PURE__ */ t(Dn, { children: z() }),
3317
+ e.view === "score" && /* @__PURE__ */ d(Bn, { children: [
3317
3318
  /* @__PURE__ */ t(
3318
3319
  Pe,
3319
3320
  {
@@ -3550,7 +3551,7 @@ const Ei = (e) => {
3550
3551
  size: "sm",
3551
3552
  sx: x.editIconButton,
3552
3553
  onClick: () => b(F),
3553
- children: /* @__PURE__ */ t(Qn, {})
3554
+ children: /* @__PURE__ */ t(Wn, {})
3554
3555
  }
3555
3556
  ) })
3556
3557
  ] }, `${g.market}-${F}`)) })
@@ -4030,7 +4031,7 @@ const Ei = (e) => {
4030
4031
  ] }) });
4031
4032
  };
4032
4033
  return /* @__PURE__ */ t(
4033
- Hn,
4034
+ _n,
4034
4035
  {
4035
4036
  entity: e.matchQuiz,
4036
4037
  headline: u("matchQuiz.headline"),
@@ -4043,7 +4044,7 @@ const Ei = (e) => {
4043
4044
  children: e,
4044
4045
  brandingBorderColor: n
4045
4046
  }) => {
4046
- const o = ce(), r = re().md, l = n || L().secondaryContainer, m = bt().size + " solid " + l;
4047
+ const o = ce(), r = re().md, l = n || L().secondaryContainer, m = Rt().size + " solid " + l;
4047
4048
  return /* @__PURE__ */ t(
4048
4049
  i,
4049
4050
  {
@@ -5523,7 +5524,7 @@ const Ei = (e) => {
5523
5524
  };
5524
5525
  return /* @__PURE__ */ d(qe, { brandingBorderColor: (a == null ? void 0 : a.borderColor) || null, children: [
5525
5526
  /* @__PURE__ */ t(
5526
- kn,
5527
+ An,
5527
5528
  {
5528
5529
  entity: e.matchQuiz,
5529
5530
  headline: m("matchQuiz.headline"),
@@ -5795,11 +5796,11 @@ const Ei = (e) => {
5795
5796
  }, ji = (e, n) => {
5796
5797
  switch (e) {
5797
5798
  case "success":
5798
- return /* @__PURE__ */ t($n, {});
5799
+ return /* @__PURE__ */ t(Gn, {});
5799
5800
  case "error":
5800
- return /* @__PURE__ */ t(Gn, { sx: { color: n } });
5801
+ return /* @__PURE__ */ t(Xn, { sx: { color: n } });
5801
5802
  case "info":
5802
- return /* @__PURE__ */ t(Un, {});
5803
+ return /* @__PURE__ */ t(qn, {});
5803
5804
  }
5804
5805
  }, $i = (e) => {
5805
5806
  switch (e) {
@@ -5818,7 +5819,7 @@ const Ei = (e) => {
5818
5819
  }) => {
5819
5820
  const l = Ee(), h = re(), m = ee().secondary, u = ce(), f = $i(e);
5820
5821
  return /* @__PURE__ */ t(
5821
- Nn,
5822
+ Yn,
5822
5823
  {
5823
5824
  variant: "soft",
5824
5825
  color: f,
@@ -5833,7 +5834,7 @@ const Ei = (e) => {
5833
5834
  "--Icon-fontSize": u ? "1em" : "1.25em"
5834
5835
  },
5835
5836
  children: /* @__PURE__ */ d(
5836
- Yn,
5837
+ Kn,
5837
5838
  {
5838
5839
  sx: {
5839
5840
  fontSize: "1.5em"
@@ -5884,7 +5885,7 @@ const Ei = (e) => {
5884
5885
  L().surfaceVariant || ""
5885
5886
  )}, 0.5)`, I = rt(
5886
5887
  Ce.STANDARD
5887
- ), T = "60%", E = (l == null ? void 0 : l.secondaryColor) || L().textSecondary, g = L().secondaryContainer, F = bt().size, P = Vi({
5888
+ ), T = "60%", E = (l == null ? void 0 : l.secondaryColor) || L().textSecondary, g = L().secondaryContainer, F = Rt().size, P = Vi({
5888
5889
  finalImage: o,
5889
5890
  spacingScale: z,
5890
5891
  borderRadius: b,
@@ -6023,7 +6024,7 @@ const Ei = (e) => {
6023
6024
  imagePlaceholder: h
6024
6025
  },
6025
6026
  Ce.SPLIT
6026
- ), u = ((v = e.matchQuiz.branding) == null ? void 0 : v.colors) || null, f = (u == null ? void 0 : u.secondaryColor) || L().textSecondary, a = L().secondaryContainer, S = ee().primary, s = (u == null ? void 0 : u.backgroundColor) || L().surfaceVariant, x = re(), b = L().textColor, z = Se(), C = bt().size, I = r ? ((V = e.matchQuiz.branding) == null ? void 0 : V.images.mobileLogo) || ((R = e.matchQuiz.branding) == null ? void 0 : R.images.mainLogo) || "" : ((W = e.matchQuiz.branding) == null ? void 0 : W.images.mainLogo) || "", T = e.matchQuiz.status === "OPEN" && e.prediction && e.squads && e.onPredictionUpdate, E = (U) => {
6027
+ ), u = ((v = e.matchQuiz.branding) == null ? void 0 : v.colors) || null, f = (u == null ? void 0 : u.secondaryColor) || L().textSecondary, a = L().secondaryContainer, S = ee().primary, s = (u == null ? void 0 : u.backgroundColor) || L().surfaceVariant, x = re(), b = L().textColor, z = Se(), C = Rt().size, I = r ? ((V = e.matchQuiz.branding) == null ? void 0 : V.images.mobileLogo) || ((R = e.matchQuiz.branding) == null ? void 0 : R.images.mainLogo) || "" : ((W = e.matchQuiz.branding) == null ? void 0 : W.images.mainLogo) || "", T = e.matchQuiz.status === "OPEN" && e.prediction && e.squads && e.onPredictionUpdate, E = (U) => {
6027
6028
  console.log(`Edit prediction for fixture at index: ${U}`);
6028
6029
  }, g = !l && I ? /* @__PURE__ */ t(
6029
6030
  ke,
@@ -6072,7 +6073,7 @@ const Ei = (e) => {
6072
6073
  }, H = () => {
6073
6074
  var U, $, xe, ge, ze;
6074
6075
  return /* @__PURE__ */ t(
6075
- In,
6076
+ Fn,
6076
6077
  {
6077
6078
  entity: e.matchQuiz,
6078
6079
  headline: o("matchQuiz.headline"),
@@ -7636,7 +7637,7 @@ const Ei = (e) => {
7636
7637
  onClick: () => s(1),
7637
7638
  disabled: f || n === 1,
7638
7639
  sx: E(),
7639
- children: /* @__PURE__ */ t(Kn, { size: I })
7640
+ children: /* @__PURE__ */ t(Zn, { size: I })
7640
7641
  }
7641
7642
  ),
7642
7643
  /* @__PURE__ */ t(
@@ -7648,7 +7649,7 @@ const Ei = (e) => {
7648
7649
  onClick: () => s(n - 1),
7649
7650
  disabled: f || n === 1,
7650
7651
  sx: E(),
7651
- children: /* @__PURE__ */ t(Jn, { size: I })
7652
+ children: /* @__PURE__ */ t(pn, { size: I })
7652
7653
  }
7653
7654
  ),
7654
7655
  z.map((g, F) => {
@@ -7700,7 +7701,7 @@ const Ei = (e) => {
7700
7701
  onClick: () => s(n + 1),
7701
7702
  disabled: f || n === e,
7702
7703
  sx: E(),
7703
- children: /* @__PURE__ */ t(pn, { size: I })
7704
+ children: /* @__PURE__ */ t(ei, { size: I })
7704
7705
  }
7705
7706
  ),
7706
7707
  m && /* @__PURE__ */ t(
@@ -7712,7 +7713,7 @@ const Ei = (e) => {
7712
7713
  onClick: () => s(e),
7713
7714
  disabled: f || n === e,
7714
7715
  sx: E(),
7715
- children: /* @__PURE__ */ t(Zn, { size: I })
7716
+ children: /* @__PURE__ */ t(Jn, { size: I })
7716
7717
  }
7717
7718
  )
7718
7719
  ]
@@ -8586,7 +8587,7 @@ const Ei = (e) => {
8586
8587
  Ce.OVERLAY
8587
8588
  ), x = L().textPrimary, b = (f == null ? void 0 : f.primaryColor) || L().palette.primary.plainColor, z = (f == null ? void 0 : f.contentColor) || L().textColor, C = ee().secondary, I = ee().primary, T = L().surface, E = `rgba(${ye(
8588
8589
  (f == null ? void 0 : f.backgroundColor) || L().surfaceVariant
8589
- )}, 0.5)`, g = L().onSurface, F = re(), P = bt().size, M = `rgba(${ye(
8590
+ )}, 0.5)`, g = L().onSurface, F = re(), P = Rt().size, M = `rgba(${ye(
8590
8591
  L().surfaceVariant || ""
8591
8592
  )}, 0.5)`, D = (f == null ? void 0 : f.secondaryColor) || L().textColor, v = Ji({
8592
8593
  finalImage: s,
@@ -8974,7 +8975,7 @@ const Ei = (e) => {
8974
8975
  ] });
8975
8976
  };
8976
8977
  return /* @__PURE__ */ t(
8977
- ei,
8978
+ ti,
8978
8979
  {
8979
8980
  entity: e.matchQuiz,
8980
8981
  headline: r("matchQuiz.headline"),
@@ -8987,7 +8988,7 @@ const Ei = (e) => {
8987
8988
  }, na = () => {
8988
8989
  const { t: e } = ne();
8989
8990
  return /* @__PURE__ */ t(qe, { brandingBorderColor: null, children: /* @__PURE__ */ t(
8990
- Bn,
8991
+ Ln,
8991
8992
  {
8992
8993
  notFoundTitle: e("matchQuiz.matchQuizNotFound"),
8993
8994
  notFoundMessage: e("matchQuiz.matchQuizNotFoundDescription")
@@ -8997,7 +8998,7 @@ const Ei = (e) => {
8997
8998
  var l, h, m, u;
8998
8999
  const n = ((l = e.matchQuiz.branding) == null ? void 0 : l.colors) || null, o = ce() ? ((h = e.matchQuiz.branding) == null ? void 0 : h.images.mobileLogo) || ((m = e.matchQuiz.branding) == null ? void 0 : m.images.mainLogo) || "" : ((u = e.matchQuiz.branding) == null ? void 0 : u.images.mainLogo) || "", { t: r } = ne();
8999
9000
  return /* @__PURE__ */ t(qe, { brandingBorderColor: (n == null ? void 0 : n.borderColor) || null, children: /* @__PURE__ */ t(
9000
- qn,
9001
+ Nn,
9001
9002
  {
9002
9003
  entity: e.matchQuiz,
9003
9004
  headline: r("matchQuiz.headline"),
@@ -9025,7 +9026,7 @@ const Ei = (e) => {
9025
9026
  var h, m, u, f;
9026
9027
  const n = ce(), { t: o } = ne(), r = ((h = e.matchQuiz.branding) == null ? void 0 : h.colors) || null, l = n ? ((m = e.matchQuiz.branding) == null ? void 0 : m.images.mobileLogo) || ((u = e.matchQuiz.branding) == null ? void 0 : u.images.mainLogo) || "" : ((f = e.matchQuiz.branding) == null ? void 0 : f.images.mainLogo) || "";
9027
9028
  return /* @__PURE__ */ t(qe, { brandingBorderColor: (r == null ? void 0 : r.borderColor) || null, children: /* @__PURE__ */ t(
9028
- wn,
9029
+ vn,
9029
9030
  {
9030
9031
  entity: e.matchQuiz,
9031
9032
  headline: o("matchQuiz.headline"),
@@ -9053,7 +9054,7 @@ const Ei = (e) => {
9053
9054
  e.matchQuiz.branding || null
9054
9055
  );
9055
9056
  return /* @__PURE__ */ t(
9056
- Xn,
9057
+ Un,
9057
9058
  {
9058
9059
  entity: e.matchQuiz,
9059
9060
  headline: n("matchQuiz.headline"),
@@ -9403,7 +9404,7 @@ const Ei = (e) => {
9403
9404
  );
9404
9405
  };
9405
9406
  return /* @__PURE__ */ t(qe, { brandingBorderColor: (n == null ? void 0 : n.borderColor) || null, children: /* @__PURE__ */ t(
9406
- ti,
9407
+ ni,
9407
9408
  {
9408
9409
  entity: e.matchQuiz,
9409
9410
  headline: I("matchQuiz.headline"),
@@ -9548,7 +9549,7 @@ const Ei = (e) => {
9548
9549
  );
9549
9550
  };
9550
9551
  return /* @__PURE__ */ t(qe, { brandingBorderColor: (m == null ? void 0 : m.borderColor) || null, children: /* @__PURE__ */ t(
9551
- oi,
9552
+ li,
9552
9553
  {
9553
9554
  entity: e.matchQuiz,
9554
9555
  headline: h("matchQuiz.headline"),
@@ -9685,7 +9686,7 @@ const Ei = (e) => {
9685
9686
  );
9686
9687
  };
9687
9688
  return /* @__PURE__ */ t(
9688
- ni,
9689
+ ii,
9689
9690
  {
9690
9691
  entity: e.matchQuiz,
9691
9692
  headline: o("matchQuiz.headline"),
@@ -9706,7 +9707,7 @@ const Ei = (e) => {
9706
9707
  }, ua = (e) => {
9707
9708
  const { t: n } = ne();
9708
9709
  return /* @__PURE__ */ t(
9709
- ii,
9710
+ ai,
9710
9711
  {
9711
9712
  entity: e.matchQuiz,
9712
9713
  headline: n("matchQuiz.headline"),
@@ -9725,7 +9726,7 @@ const Ei = (e) => {
9725
9726
  }, ga = (e) => {
9726
9727
  const { t: n } = ne();
9727
9728
  return /* @__PURE__ */ t(
9728
- li,
9729
+ ri,
9729
9730
  {
9730
9731
  entity: e.matchQuiz,
9731
9732
  headline: n("matchQuiz.headline"),
@@ -9743,7 +9744,7 @@ const Ei = (e) => {
9743
9744
  }, ha = (e) => {
9744
9745
  const { t: n } = ne();
9745
9746
  return /* @__PURE__ */ t(
9746
- ai,
9747
+ oi,
9747
9748
  {
9748
9749
  entity: e.matchQuiz,
9749
9750
  headline: n("matchQuiz.headline"),
@@ -10303,7 +10304,7 @@ const Ei = (e) => {
10303
10304
  Ce.STANDARD
10304
10305
  ), { t: r } = ne(), l = ((N = e.matchQuiz.branding) == null ? void 0 : N.colors) || null, h = ce(), m = Ne(), u = h ? ((U = e.matchQuiz.branding) == null ? void 0 : U.images.mobileLogo) || (($ = e.matchQuiz.branding) == null ? void 0 : $.images.mainLogo) || "" : ((xe = e.matchQuiz.branding) == null ? void 0 : xe.images.mainLogo) || "", f = e.imagePosition || "left", a = L().textPrimary, S = (l == null ? void 0 : l.primaryColor) || L().palette.primary.plainColor, s = (l == null ? void 0 : l.contentColor) || L().textColor, x = ee().secondary, b = ee().primary, z = L().surface, C = `rgba(${ye(
10305
10306
  (l == null ? void 0 : l.backgroundColor) || L().surfaceVariant
10306
- )}, 0.5)`, I = L().onSurface, T = re(), E = bt().size, g = Se(), F = `rgba(${ye(
10307
+ )}, 0.5)`, I = L().onSurface, T = re(), E = Rt().size, g = Se(), F = `rgba(${ye(
10307
10308
  L().surfaceVariant || ""
10308
10309
  )}, 0.5)`, P = rt(
10309
10310
  Ce.STANDARD
@@ -10561,7 +10562,7 @@ const ya = (e, n) => {
10561
10562
  n("matchQuiz.alerts.play.error.title"),
10562
10563
  ((xe = ($ = (U = N.error) == null ? void 0 : U.data) == null ? void 0 : $.error) == null ? void 0 : xe.message) || ((ze = (ge = N.error) == null ? void 0 : ge.error) == null ? void 0 : ze.message) || n("matchQuiz.alerts.play.error.message")
10563
10564
  );
10564
- }, W = tt(() => o ? vn(o.related) : null, [o]);
10565
+ }, W = tt(() => o ? wn(o.related) : null, [o]);
10565
10566
  if (gt(() => {
10566
10567
  o && o.status === "OPEN" && I(
10567
10568
  ya(e.entityId, o.fixtures)
@@ -10971,7 +10972,7 @@ const ya = (e, n) => {
10971
10972
  ),
10972
10973
  /* @__PURE__ */ t(kt, { notification: D, onClose: V })
10973
10974
  ] });
10974
- }, Ca = (e) => /* @__PURE__ */ t(ri, { packageName: "match-quiz-play", ...e, children: /* @__PURE__ */ t(Sa, { ...e }) }), Xa = Ca;
10975
+ }, Ca = (e) => /* @__PURE__ */ t(kn, { packageName: "match-quiz-play", ...e, children: /* @__PURE__ */ t(Sa, { ...e }) }), Ka = Ca;
10975
10976
  export {
10976
- Xa as MatchQuizPlay
10977
+ Ka as MatchQuizPlay
10977
10978
  };