fansunited-frontend-components 0.0.78 → 0.0.80

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 (115) hide show
  1. package/Betslip.js +1 -1
  2. package/ChanceGame.js +12 -11
  3. package/ClassicQuizPlay.js +1 -1
  4. package/CollectLead.js +39 -38
  5. package/Discussion.js +1 -1
  6. package/EitherOrPlay.js +1 -1
  7. package/EventCard.js +61 -61
  8. package/EventGamePlay.js +1 -1
  9. package/Leaderboard.js +13 -13
  10. package/List.js +93 -82
  11. package/MatchQuizPlay.js +1 -1
  12. package/PersonalityQuizPlay.js +1 -1
  13. package/PickThePair.js +13 -12
  14. package/PlayerOfTheMatch.js +22 -22
  15. package/PollVote.js +1 -1
  16. package/Predictor.js +1 -1
  17. package/README.md +131 -16
  18. package/Standings.js +26 -26
  19. package/TopX.js +27 -27
  20. package/chunks/{AccessTime-B30dztb0.js → AccessTime-BoYoyig3.js} +1 -1
  21. package/chunks/{AlertMessage-DioJxnEH.js → AlertMessage-DBbObbCr.js} +13 -13
  22. package/chunks/{Avatar-BDK_vO0c.js → Avatar-Bs2ODH24.js} +25 -25
  23. package/chunks/{Button-CsvEgUxT.js → Button-By0gW9vl.js} +17 -17
  24. package/chunks/{Card-Bp7sboHu.js → Card-Bbq-568c.js} +17 -17
  25. package/chunks/{CardActions-ehD6I2GZ.js → CardActions-DntJimyi.js} +14 -14
  26. package/chunks/{CardContent-BZDBKTQD.js → CardContent-JrB_z1Or.js} +5 -5
  27. package/chunks/{ChanceGameEmbedVariant-DMI7i2Me.js → ChanceGameEmbedVariant-D8b8PZnU.js} +21 -20
  28. package/chunks/{CheckCircle-BXhOrVkK.js → CheckCircle-BVTGl0Ft.js} +1 -1
  29. package/chunks/{Chip-Bm-Ccjvy.js → Chip-WC9No4h9.js} +10 -10
  30. package/chunks/{Close-CG_aSJDO.js → Close-CKW5gQRw.js} +1 -1
  31. package/chunks/{Close-AaOgLIme.js → Close-tWsMMKfA.js} +1 -1
  32. package/chunks/{CollectLeadForm-DZe1Ymdq.js → CollectLeadForm-CwcEETPM.js} +90 -90
  33. package/chunks/{ConsentsList-DooBFFmw.js → ConsentsList-D1KKdfOJ.js} +39 -39
  34. package/chunks/{DirectionScope-oLk_U3C_.js → DirectionScope-BYGJWPAq.js} +1 -1
  35. package/chunks/{Divider-CAgadBhD.js → Divider-4Rcw4h05.js} +5 -5
  36. package/chunks/{Edit-kXDl-pRS.js → Edit-D7yPt8sV.js} +13 -13
  37. package/chunks/{EditOutlined-BX5qBF8L.js → EditOutlined-DvZLGuHA.js} +1 -1
  38. package/chunks/{EmojiEvents-xseHOk4b.js → EmojiEvents-YHRdPnXx.js} +1 -1
  39. package/chunks/{FavoriteBorder-BMOLtK7X.js → FavoriteBorder-BXLiJyTv.js} +1 -1
  40. package/chunks/{FormControl-BTDS6ct5.js → FormControl-yhrIQ7ci.js} +17 -17
  41. package/chunks/{FormLabel-Ddvg7Uaw.js → FormLabel-COGIjfEx.js} +10 -10
  42. package/chunks/{InlineSpinner-CvwR2FB_.js → InlineSpinner-CyqM_yQn.js} +2 -2
  43. package/chunks/{Input-aCtmZdRk.js → Input-Dm3GnI0X.js} +10 -10
  44. package/chunks/{KeyboardArrowDown-BFuNjWbC.js → KeyboardArrowDown-CCFl-_Cw.js} +1 -1
  45. package/chunks/{KeyboardArrowRight-DaukpNJR.js → KeyboardArrowRight-387qOqAR.js} +1 -1
  46. package/chunks/{Link-lifAyVr-.js → Link-ByX_uwKs.js} +16 -16
  47. package/chunks/{ListItemButton-BSg2RH3G.js → ListItemButton-CxWpt9SR.js} +52 -52
  48. package/chunks/{ModalClose-C-dgGCpP.js → ModalClose-Cm8vOuk-.js} +17 -17
  49. package/chunks/{ModalDialog-DyJQmPgR.js → ModalDialog-CXSBeWlQ.js} +42 -42
  50. package/chunks/{NotFoundSkeleton-CPrI2SnC.js → NotFoundSkeleton-BV0mXA7z.js} +40 -39
  51. package/chunks/{Notification-1ogsNUiX.js → Notification-preGSwrO.js} +12 -12
  52. package/chunks/{OverlayScoreStateSkeleton-DALoMahw.js → OverlayScoreStateSkeleton-CA4yxhzc.js} +4 -4
  53. package/chunks/{OverlayScoreStateWrapperSkeleton-BDDNd4hM.js → OverlayScoreStateWrapperSkeleton-BwDWj5VX.js} +1 -1
  54. package/chunks/{OverlaySignInSkeleton-BUiNvDRX.js → OverlaySignInSkeleton-C0gpFLV4.js} +11 -10
  55. package/chunks/{Person-CtBkSz4s.js → Person-DFs8t3vY.js} +1 -1
  56. package/chunks/{PersonOutline-ftsY5SqE.js → PersonOutline-BHHHU-iP.js} +1 -1
  57. package/chunks/{PickOneOfX-ASPYutVw.js → PickOneOfX-eEOpXC-f.js} +3 -3
  58. package/chunks/{Popper-Bj1kl7y_.js → Popper-BJbMQoEj.js} +19 -19
  59. package/chunks/{Portal-B5LOp_VA.js → Portal-0HYQP6vC.js} +9 -8
  60. package/chunks/{Portal-DxNZWqOV.js → Portal-Cd3abSBt.js} +2 -2
  61. package/chunks/{Predictor-o1ZtxfmB.js → Predictor-Db1YZFlF.js} +27 -27
  62. package/chunks/{PrizeCard-DG54vy2l.js → PrizeCard-YH9jftwY.js} +1773 -1611
  63. package/chunks/{Search-Jq0gJI9j.js → Search-CWYaTHth.js} +1 -1
  64. package/chunks/{Select-Dvq1fOJv.js → Select-osvV4zXY.js} +82 -82
  65. package/chunks/{Sheet-emOLchyd.js → Sheet-Bj4wdH5F.js} +14 -14
  66. package/chunks/{SignInCta-DUarOlDT.js → SignInCta-3q_FTCgs.js} +3 -3
  67. package/chunks/{Spinner-CfnxZwI6.js → Spinner-CP7juuny.js} +2 -2
  68. package/chunks/{Stack-Ck9Xjygq.js → Stack-DuL71jRI.js} +27 -27
  69. package/chunks/{StandardContentSkeleton-Bx2HVrwG.js → StandardContentSkeleton-CsYymZyn.js} +1 -1
  70. package/chunks/{Table-DU0BCrKV.js → Table-DvjSYLKy.js} +5 -5
  71. package/chunks/{Tabs-Dx0bzmUT.js → Tabs-D44eIyd1.js} +19 -19
  72. package/chunks/{Textarea-CrulPENr.js → Textarea-Cjks7P0A.js} +27 -27
  73. package/chunks/{TimerOutlined-C3LRF5_A.js → TimerOutlined-D-ySNoFF.js} +1 -1
  74. package/chunks/{Tooltip-C8hJsZr9.js → Tooltip-C9OhGeHY.js} +52 -52
  75. package/chunks/{Typography-ECqxGAdq.js → Typography-Ce4eGDV-.js} +29 -29
  76. package/chunks/{WorkspacePremiumOutlined-DZe6H7gK.js → WorkspacePremiumOutlined-mcdyqu4a.js} +1 -1
  77. package/chunks/{createSvgIcon-SFvnySaS.js → createSvgIcon-D2EzyIzB.js} +12 -12
  78. package/chunks/{createSvgIcon-ZK1E4tSQ.js → createSvgIcon-D9F_KILu.js} +40 -40
  79. package/chunks/{dividerClasses-vQL1-lZZ.js → dividerClasses-D7_NXMv_.js} +1 -1
  80. package/chunks/{elementAcceptingRef-BQjX8_HI.js → elementAcceptingRef-z3i9EgXj.js} +1 -1
  81. package/chunks/enums-B1lTCQvC.js +15 -0
  82. package/chunks/{formLabelClasses-C6bWt8jt.js → formLabelClasses-DWH0zNVd.js} +1 -1
  83. package/chunks/{helpers-DK7NIWA3.js → helpers-B4K14VMy.js} +1 -1
  84. package/chunks/index-7P5xWKpe.js +4 -0
  85. package/chunks/index-BU6n6VAs.js +4 -0
  86. package/chunks/index-BeAwxbb7.js +4 -0
  87. package/chunks/index-CYbzrOCD.js +4 -0
  88. package/chunks/{index-D5NQUqT3.js → index-D6_vWz9t.js} +1 -1
  89. package/chunks/index-DfmHCVlq.js +4 -0
  90. package/chunks/index-Do8G2ehs.js +4 -0
  91. package/chunks/index-bI2wtknX.js +4 -0
  92. package/chunks/{main-CsgyDzQn.js → main-3TaPwm3t.js} +21 -20
  93. package/chunks/{main-BFR2-Jev.js → main-ChI4MrZS.js} +3788 -1553
  94. package/chunks/{main-t-kBnJfd.js → main-Cn8QJIGS.js} +190 -189
  95. package/chunks/{main-CMaUkaQg.js → main-D1KgLv-3.js} +36 -35
  96. package/chunks/{main-BpEXHrXG.js → main-D3vY3EZB.js} +177 -176
  97. package/chunks/{main-DXZDk8yw.js → main-eplFgf8K.js} +3 -3
  98. package/chunks/{main-XzVztuyY.js → main-la4AkVWG.js} +32 -31
  99. package/chunks/{main-BqzP5wNI.js → main-ndsgeKK2.js} +43 -43
  100. package/chunks/{useButton-BuGBhKba.js → useButton-BkNIp1Dt.js} +2 -2
  101. package/chunks/{useConsents-CTrXjPMT.js → useConsents-G3YImrA0.js} +27 -26
  102. package/chunks/{useEventCallback-BL4OQp0i.js → useEventCallback-Bpmr_fht.js} +1 -1
  103. package/chunks/{useForwardedInput-87iBLSE1.js → useForwardedInput-BnX6YP2x.js} +27 -27
  104. package/chunks/{useImageVariant-BpkocGDo.js → useImageVariant-CHZmm8-4.js} +6 -5
  105. package/chunks/{useParticipationDraft-C39xos8n.js → useParticipationDraft-CLycICaf.js} +6 -6
  106. package/chunks/{useSwitch-wS7XLrgV.js → useSwitch-C5TzU7zu.js} +2 -2
  107. package/index.js +4 -4
  108. package/package.json +2 -2
  109. package/chunks/index--sCTbryp.js +0 -4
  110. package/chunks/index-629uVyFa.js +0 -4
  111. package/chunks/index-BJfy__18.js +0 -4
  112. package/chunks/index-DD09ekhb.js +0 -4
  113. package/chunks/index-Dbxw2Q2L.js +0 -4
  114. package/chunks/index-GkKP5Yym.js +0 -4
  115. package/chunks/index-Ke1RX9Pb.js +0 -4
@@ -1,34 +1,35 @@
1
- import { jsx as t, jsxs as h, Fragment as et } from "react/jsx-runtime";
2
- import { useState as B, useEffect as fe, useRef as mt, useCallback as Ge } from "react";
3
- import { u as Te, m as Ve, B as r, a as Q, i as Se, g as q, f as pe, d as ve, O as Xt, V as Zt, c as Ne, h as Jt, W as Pe, e as Lt, o as Qt } from "./PrizeCard-DG54vy2l.js";
4
- import { P as en } from "./Portal-B5LOp_VA.js";
1
+ import { jsx as t, jsxs as f, Fragment as et } from "react/jsx-runtime";
2
+ import { useState as B, useEffect as he, useRef as mt, useCallback as Ge } from "react";
3
+ import { u as Te, m as Ve, B as r, a as Q, i as Se, g as q, f as pe, d as ve, L as Xt, R as Zt, c as Ne, h as Jt, e as Lt, o as Qt } from "./PrizeCard-YH9jftwY.js";
4
+ import { P as en } from "./Portal-0HYQP6vC.js";
5
5
  import "react-dom";
6
- import { g as tn, h as oe, d as it, s as Ot, c as nn } from "./helpers-DK7NIWA3.js";
7
- import { S as lt } from "./Spinner-CfnxZwI6.js";
8
- import { C as at, A as gt, a as rn, S as Bt, b as Dt, O as on, c as $t, d as Ft, u as ln } from "./useConsents-CTrXjPMT.js";
6
+ import { g as tn, h as oe, d as it, s as Ot, c as nn } from "./helpers-B4K14VMy.js";
7
+ import { W as Pe } from "./enums-B1lTCQvC.js";
8
+ import { S as lt } from "./Spinner-CP7juuny.js";
9
+ import { C as at, A as gt, a as rn, S as Bt, b as Dt, O as on, c as $t, d as Ft, u as ln } from "./useConsents-G3YImrA0.js";
9
10
  import { Z as an } from "./index-YA7wEdrb.js";
10
- import { S as sn, N as cn, O as dn } from "./NotFoundSkeleton-CPrI2SnC.js";
11
- import { a as un, u as st } from "./useImageVariant-BpkocGDo.js";
12
- import { b as Et } from "./ConsentsList-DooBFFmw.js";
13
- import { D as ht } from "./DirectionScope-oLk_U3C_.js";
14
- import { T as C } from "./Typography-ECqxGAdq.js";
15
- import { c as $e } from "./createSvgIcon-ZK1E4tSQ.js";
16
- import { F as tt, a as Ut } from "./FavoriteBorder-BMOLtK7X.js";
17
- import { E as De } from "./EmojiEvents-xseHOk4b.js";
18
- import { B as ye } from "./Button-CsvEgUxT.js";
19
- import { C as ct } from "./CheckCircle-BXhOrVkK.js";
20
- import { T as mn } from "./TimerOutlined-C3LRF5_A.js";
21
- import { S as je } from "./Stack-Ck9Xjygq.js";
22
- import { A as gn } from "./AccessTime-B30dztb0.js";
23
- import { P as hn } from "./Person-CtBkSz4s.js";
24
- import { S as fn } from "./Sheet-emOLchyd.js";
25
- import { T as xn } from "./Table-DU0BCrKV.js";
26
- import { A as bn } from "./Avatar-BDK_vO0c.js";
27
- import { t as Wt, T as Mt, a as Ht, b as nt, c as rt } from "./Tabs-Dx0bzmUT.js";
28
- import { S as yn, O as pn } from "./OverlaySignInSkeleton-BUiNvDRX.js";
29
- import { C as Sn } from "./CollectLeadForm-DZe1Ymdq.js";
30
- import { d as ft, a as xt } from "./index-D5NQUqT3.js";
31
- import { O as Cn } from "./OverlayScoreStateWrapperSkeleton-BDDNd4hM.js";
11
+ import { S as sn, N as cn, O as dn } from "./NotFoundSkeleton-BV0mXA7z.js";
12
+ import { a as un, u as st } from "./useImageVariant-CHZmm8-4.js";
13
+ import { b as Et } from "./ConsentsList-D1KKdfOJ.js";
14
+ import { D as ft } from "./DirectionScope-BYGJWPAq.js";
15
+ import { T as C } from "./Typography-Ce4eGDV-.js";
16
+ import { c as $e } from "./createSvgIcon-D9F_KILu.js";
17
+ import { F as tt, a as Ut } from "./FavoriteBorder-BXLiJyTv.js";
18
+ import { E as De } from "./EmojiEvents-YHRdPnXx.js";
19
+ import { B as ye } from "./Button-By0gW9vl.js";
20
+ import { C as ct } from "./CheckCircle-BVTGl0Ft.js";
21
+ import { T as mn } from "./TimerOutlined-D-ySNoFF.js";
22
+ import { S as je } from "./Stack-DuL71jRI.js";
23
+ import { A as gn } from "./AccessTime-BoYoyig3.js";
24
+ import { P as fn } from "./Person-DFs8t3vY.js";
25
+ import { S as hn } from "./Sheet-Bj4wdH5F.js";
26
+ import { T as xn } from "./Table-DvjSYLKy.js";
27
+ import { A as bn } from "./Avatar-Bs2ODH24.js";
28
+ import { t as Wt, T as Mt, a as Ht, b as nt, c as rt } from "./Tabs-D44eIyd1.js";
29
+ import { S as yn, O as pn } from "./OverlaySignInSkeleton-C0gpFLV4.js";
30
+ import { C as Sn } from "./CollectLeadForm-CwcEETPM.js";
31
+ import { d as ht, a as xt } from "./index-D6_vWz9t.js";
32
+ import { O as Cn } from "./OverlayScoreStateWrapperSkeleton-BwDWj5VX.js";
32
33
  const dt = $e(/* @__PURE__ */ t("path", {
33
34
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
34
35
  }), "Cancel"), Gt = $e(/* @__PURE__ */ t("path", {
@@ -50,15 +51,15 @@ const dt = $e(/* @__PURE__ */ t("path", {
50
51
  console.error(g), i(new an());
51
52
  }
52
53
  };
53
- return fe(() => (s(), () => i(null)), [e, n]), l;
54
+ return he(() => (s(), () => i(null)), [e, n]), l;
54
55
  }, vn = (e, n, l = !1) => {
55
56
  const [i, s] = B(null), [g, o] = B(!1), [m, c] = B(!1), u = async () => {
56
57
  try {
57
- const f = await n.miniGames.getMyEitherOrStats(e);
58
- s(f);
59
- } catch (f) {
58
+ const h = await n.miniGames.getMyEitherOrStats(e);
59
+ s(h);
60
+ } catch (h) {
60
61
  if (s(null), n.helpers.getSDKConfiguration().errorHandlingMode === "standard") {
61
- const x = f;
62
+ const x = h;
62
63
  if (x.error.code === 404)
63
64
  return;
64
65
  if (x.error.code === 401 || x.error.code === 403) {
@@ -68,7 +69,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
68
69
  c(!0);
69
70
  return;
70
71
  }
71
- const p = f;
72
+ const p = h;
72
73
  if (p.data.error.code === 404)
73
74
  return;
74
75
  if (p.data.error.code === 401 || p.data.error.code === 403) {
@@ -78,7 +79,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
78
79
  c(!0);
79
80
  }
80
81
  };
81
- return fe(() => (u(), () => {
82
+ return he(() => (u(), () => {
82
83
  s(null), o(!1), c(!1);
83
84
  }), [e, n, l]), {
84
85
  myStats: i,
@@ -132,7 +133,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
132
133
  children: g
133
134
  }
134
135
  ) : g;
135
- return e.isCentered || l ? /* @__PURE__ */ h(
136
+ return e.isCentered || l ? /* @__PURE__ */ f(
136
137
  r,
137
138
  {
138
139
  sx: {
@@ -164,7 +165,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
164
165
  o
165
166
  ]
166
167
  }
167
- ) : /* @__PURE__ */ h(
168
+ ) : /* @__PURE__ */ f(
168
169
  r,
169
170
  {
170
171
  sx: {
@@ -205,7 +206,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
205
206
  isSubmitting: g
206
207
  }) => {
207
208
  var D, P, $, L, N, R, k, O, H, j, V;
208
- const { t: o } = Q(), m = Se(), c = Ve(), u = ((D = n == null ? void 0 : n.branding) == null ? void 0 : D.colors) || null, f = (u == null ? void 0 : u.primaryColor) || q().palette.primary.plainColor, b = q().palette.primary.onPrimary, p = (u == null ? void 0 : u.contentColor) || q().textColor, x = q().surfaceVariant, A = Te().primary, E = pe().xl, w = pe().md, I = ve(), y = oe(f || ""), d = oe(x || ""), z = y ? `rgba(${y.replace(/[^\d,]/g, "")}, 0.12)` : `${f}20`, S = m ? (($ = (P = n == null ? void 0 : n.branding) == null ? void 0 : P.images) == null ? void 0 : $.mobileLogo) || ((N = (L = n == null ? void 0 : n.branding) == null ? void 0 : L.images) == null ? void 0 : N.mainLogo) || "" : ((k = (R = n == null ? void 0 : n.branding) == null ? void 0 : R.images) == null ? void 0 : k.mainLogo) || "", v = [
209
+ const { t: o } = Q(), m = Se(), c = Ve(), u = ((D = n == null ? void 0 : n.branding) == null ? void 0 : D.colors) || null, h = (u == null ? void 0 : u.primaryColor) || q().palette.primary.plainColor, b = q().palette.primary.onPrimary, p = (u == null ? void 0 : u.contentColor) || q().textColor, x = q().surfaceVariant, A = Te().primary, E = pe().xl, w = pe().md, I = ve(), y = oe(h || ""), d = oe(x || ""), z = y ? `rgba(${y.replace(/[^\d,]/g, "")}, 0.12)` : `${h}20`, S = m ? (($ = (P = n == null ? void 0 : n.branding) == null ? void 0 : P.images) == null ? void 0 : $.mobileLogo) || ((N = (L = n == null ? void 0 : n.branding) == null ? void 0 : L.images) == null ? void 0 : N.mainLogo) || "" : ((k = (R = n == null ? void 0 : n.branding) == null ? void 0 : R.images) == null ? void 0 : k.mainLogo) || "", v = [
209
210
  {
210
211
  icon: /* @__PURE__ */ t(Vt, { sx: { fontSize: "1.1em" } }),
211
212
  title: o("eitherOr.tutorial.step1Title"),
@@ -230,7 +231,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
230
231
  description: o("eitherOr.tutorial.step3Description")
231
232
  }
232
233
  ];
233
- return n ? /* @__PURE__ */ t(r, { sx: { display: "flex", flexDirection: "column", p: I.md }, children: /* @__PURE__ */ h(
234
+ return n ? /* @__PURE__ */ t(r, { sx: { display: "flex", flexDirection: "column", p: I.md }, children: /* @__PURE__ */ f(
234
235
  r,
235
236
  {
236
237
  sx: {
@@ -252,8 +253,8 @@ const dt = $e(/* @__PURE__ */ t("path", {
252
253
  },
253
254
  children: v.map((a, W) => {
254
255
  const T = W === v.length - 1;
255
- return /* @__PURE__ */ h(r, { children: [
256
- /* @__PURE__ */ h(
256
+ return /* @__PURE__ */ f(r, { children: [
257
+ /* @__PURE__ */ f(
257
258
  r,
258
259
  {
259
260
  sx: {
@@ -272,7 +273,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
272
273
  height: 36,
273
274
  borderRadius: "50%",
274
275
  bgcolor: z,
275
- color: f,
276
+ color: h,
276
277
  display: "flex",
277
278
  alignItems: "center",
278
279
  justifyContent: "center",
@@ -281,7 +282,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
281
282
  children: a.icon
282
283
  }
283
284
  ),
284
- /* @__PURE__ */ h(r, { sx: { flex: 1, minWidth: 0, pt: "2px" }, children: [
285
+ /* @__PURE__ */ f(r, { sx: { flex: 1, minWidth: 0, pt: "2px" }, children: [
285
286
  /* @__PURE__ */ t(
286
287
  C,
287
288
  {
@@ -320,7 +321,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
320
321
  sx: {
321
322
  height: "1px",
322
323
  mx: I.md,
323
- bgcolor: y ? `rgba(${y.replace(/[^\d,]/g, "")}, 0.1)` : `${f}1A`
324
+ bgcolor: y ? `rgba(${y.replace(/[^\d,]/g, "")}, 0.1)` : `${h}1A`
324
325
  }
325
326
  }
326
327
  )
@@ -343,7 +344,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
343
344
  at,
344
345
  {
345
346
  consents: s,
346
- primaryColor: f,
347
+ primaryColor: h,
347
348
  textColor: p,
348
349
  brandingUrls: (O = n == null ? void 0 : n.branding) == null ? void 0 : O.urls,
349
350
  align: "center"
@@ -351,7 +352,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
351
352
  )
352
353
  }
353
354
  ) : null,
354
- /* @__PURE__ */ h(
355
+ /* @__PURE__ */ f(
355
356
  r,
356
357
  {
357
358
  sx: {
@@ -375,22 +376,22 @@ const dt = $e(/* @__PURE__ */ t("path", {
375
376
  {
376
377
  variant: "soft",
377
378
  loading: g,
378
- endDecorator: /* @__PURE__ */ t(ht, { children: /* @__PURE__ */ t(gt, {}) }),
379
+ endDecorator: /* @__PURE__ */ t(ft, { children: /* @__PURE__ */ t(gt, {}) }),
379
380
  onClick: i && l ? l.onClick : e,
380
381
  sx: {
381
382
  borderRadius: E,
382
383
  py: "10px",
383
384
  pr: "12px",
384
385
  pl: "16px",
385
- bgcolor: f,
386
+ bgcolor: h,
386
387
  color: b,
387
388
  transition: "all 300ms cubic-bezier(0.2, 0, 0, 1)",
388
389
  transform: "scale(1)",
389
390
  alignSelf: "center",
390
- "&:hover": { bgcolor: f, transform: "scale(1.02)" },
391
+ "&:hover": { bgcolor: h, transform: "scale(1.02)" },
391
392
  "&:active": { color: b, transform: "scale(0.98)" },
392
393
  "&:disabled": {
393
- bgcolor: f,
394
+ bgcolor: h,
394
395
  color: b,
395
396
  opacity: "12%"
396
397
  },
@@ -402,7 +403,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
402
403
  },
403
404
  animation: "pulse 1s infinite",
404
405
  fontSize: "0.9375em",
405
- ...g ? Et(f, b) : {}
406
+ ...g ? Et(h, b) : {}
406
407
  },
407
408
  children: /* @__PURE__ */ t(
408
409
  C,
@@ -505,10 +506,10 @@ const dt = $e(/* @__PURE__ */ t("path", {
505
506
  brandingPrimaryColor: g,
506
507
  optionIndex: o = 0
507
508
  }) => {
508
- const m = q(), c = ve(), u = g || m.palette.primary.plainColor, f = m.palette.primary.onPrimary, b = m.palette.success.plainColor, p = m.palette.danger.plainColor, x = oe(u || ""), A = x ? x.replace(/[^\d,]/g, "") : null, E = un(e.images ?? null), w = !!E, I = o === 0 ? "A" : "B", y = l.selectedOption === e.id, d = y && !!l.isCorrect || e.id === l.correctOptionId, z = y && !l.isCorrect || !!l.timedOut && e.id !== l.correctOptionId;
509
+ const m = q(), c = ve(), u = g || m.palette.primary.plainColor, h = m.palette.primary.onPrimary, b = m.palette.success.plainColor, p = m.palette.danger.plainColor, x = oe(u || ""), A = x ? x.replace(/[^\d,]/g, "") : null, E = un(e.images ?? null), w = !!E, I = o === 0 ? "A" : "B", y = l.selectedOption === e.id, d = y && !!l.isCorrect || e.id === l.correctOptionId, z = y && !l.isCorrect || !!l.timedOut && e.id !== l.correctOptionId;
509
510
  if (!w) {
510
511
  const S = o === 0 ? "135deg" : "225deg", v = d ? `linear-gradient(${S}, ${b}20 0%, ${b}0D 100%)` : z ? `linear-gradient(${S}, ${p}20 0%, ${p}0D 100%)` : A ? `linear-gradient(${S}, rgba(${A}, 0.22) 0%, rgba(${A}, 0.08) 60%, rgba(${A}, 0.14) 100%)` : `linear-gradient(${S}, ${u}38 0%, ${u}14 60%, ${u}24 100%)`, D = A ? `repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(${A}, 0.04) 10px, rgba(${A}, 0.04) 11px)` : "none", P = d ? b : z ? p : A ? `rgba(${A}, 0.3)` : `${u}4D`, $ = d ? b : z ? p : u;
511
- return /* @__PURE__ */ h(
512
+ return /* @__PURE__ */ f(
512
513
  r,
513
514
  {
514
515
  onClick: () => !n && i(s, e.id),
@@ -564,7 +565,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
564
565
  C,
565
566
  {
566
567
  sx: {
567
- color: f,
568
+ color: h,
568
569
  fontWeight: 800,
569
570
  fontSize: "1em",
570
571
  lineHeight: 1,
@@ -594,7 +595,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
594
595
  }
595
596
  );
596
597
  }
597
- return /* @__PURE__ */ h(
598
+ return /* @__PURE__ */ f(
598
599
  r,
599
600
  {
600
601
  onClick: () => !n && i(s, e.id),
@@ -703,7 +704,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
703
704
  maxTime: n,
704
705
  brandingPrimaryColor: l
705
706
  }) => {
706
- const i = q().palette.danger.softBg, s = q().palette.danger.plainColor, g = q().palette.warning.softBg, o = q().palette.warning.plainColor, m = l || q().palette.primary.plainColor, c = q().palette.primary.onPrimary, u = pe().xl, f = Te().secondary, b = ve(), p = {
707
+ const i = q().palette.danger.softBg, s = q().palette.danger.plainColor, g = q().palette.warning.softBg, o = q().palette.warning.plainColor, m = l || q().palette.primary.plainColor, c = q().palette.primary.onPrimary, u = pe().xl, h = Te().secondary, b = ve(), p = {
707
708
  "@keyframes pulse": {
708
709
  "0%": { transform: "scale(1)" },
709
710
  "50%": { transform: "scale(1.05)" },
@@ -725,7 +726,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
725
726
  const y = Math.floor(I / 60), d = I % 60;
726
727
  return `${y < 10 ? "0" : ""}${y}:${d < 10 ? "0" : ""}${d}${y > 0 ? "m" : "s"}`;
727
728
  };
728
- return /* @__PURE__ */ h(
729
+ return /* @__PURE__ */ f(
729
730
  r,
730
731
  {
731
732
  sx: {
@@ -760,7 +761,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
760
761
  C,
761
762
  {
762
763
  sx: {
763
- fontFamily: f,
764
+ fontFamily: h,
764
765
  fontWeight: 400,
765
766
  fontSize: "1em",
766
767
  lineHeight: "150%",
@@ -785,17 +786,17 @@ const dt = $e(/* @__PURE__ */ t("path", {
785
786
  brandingPrimaryColor: m,
786
787
  game: c
787
788
  }) => {
788
- var X, Z, ee, J, me, ae, se, ce, Y, he;
789
- const [u, f] = B(0), [b, p] = B(!1), [x, A] = B(0), [E, w] = B(0), [I, y] = B(!1), d = mt(0), { t: z } = Q(), S = Se(), v = Ve(), D = q(), P = D.surfaceVariant, $ = m || D.palette.primary.plainColor, L = ((Z = (X = c == null ? void 0 : c.branding) == null ? void 0 : X.colors) == null ? void 0 : Z.contentColor) || D.textColor, N = pe().md, R = ve(), k = oe(P || ""), O = oe($ || ""), H = S ? ((J = (ee = c == null ? void 0 : c.branding) == null ? void 0 : ee.images) == null ? void 0 : J.mobileLogo) || ((ae = (me = c == null ? void 0 : c.branding) == null ? void 0 : me.images) == null ? void 0 : ae.mainLogo) || "" : ((ce = (se = c == null ? void 0 : c.branding) == null ? void 0 : se.images) == null ? void 0 : ce.mainLogo) || "", j = z("common.labels.point", { count: u });
790
- fe(() => {
789
+ var X, Z, ee, J, me, ae, se, ce, Y, fe;
790
+ const [u, h] = B(0), [b, p] = B(!1), [x, A] = B(0), [E, w] = B(0), [I, y] = B(!1), d = mt(0), { t: z } = Q(), S = Se(), v = Ve(), D = q(), P = D.surfaceVariant, $ = m || D.palette.primary.plainColor, L = ((Z = (X = c == null ? void 0 : c.branding) == null ? void 0 : X.colors) == null ? void 0 : Z.contentColor) || D.textColor, N = pe().md, R = ve(), k = oe(P || ""), O = oe($ || ""), H = S ? ((J = (ee = c == null ? void 0 : c.branding) == null ? void 0 : ee.images) == null ? void 0 : J.mobileLogo) || ((ae = (me = c == null ? void 0 : c.branding) == null ? void 0 : me.images) == null ? void 0 : ae.mainLogo) || "" : ((ce = (se = c == null ? void 0 : c.branding) == null ? void 0 : se.images) == null ? void 0 : ce.mainLogo) || "", j = z("common.labels.point", { count: u });
791
+ he(() => {
791
792
  if (o != null && o.currentPoints && o.currentPoints > u) {
792
793
  A(o.currentPoints - u), p(!0), w((G) => G + 1);
793
794
  const U = setTimeout(() => p(!1), 1e3);
794
- return f(o.currentPoints), () => clearTimeout(U);
795
+ return h(o.currentPoints), () => clearTimeout(U);
795
796
  }
796
797
  }, [o == null ? void 0 : o.currentPoints, u]);
797
798
  const V = (c == null ? void 0 : c.points) ?? [], a = V.length >= 2 ? V[1].correctSteps - V[0].correctSteps : ((Y = V[0]) == null ? void 0 : Y.correctSteps) || 5;
798
- fe(() => {
799
+ he(() => {
799
800
  const U = d.current, G = (o == null ? void 0 : o.currentStreak) ?? 0;
800
801
  if (d.current = G, G > U && G > 0 && G % a === 0) {
801
802
  y(!0);
@@ -831,7 +832,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
831
832
  return U;
832
833
  }, T = () => {
833
834
  const U = (o == null ? void 0 : o.currentStreak) ?? 0, G = I ? a : U % a, Ae = Math.floor(U / a) + 1;
834
- return /* @__PURE__ */ h(r, { sx: { display: "flex", alignItems: "center", gap: "4px" }, children: [
835
+ return /* @__PURE__ */ f(r, { sx: { display: "flex", alignItems: "center", gap: "4px" }, children: [
835
836
  Array.from({ length: a }, (we, Ce) => /* @__PURE__ */ t(
836
837
  r,
837
838
  {
@@ -845,7 +846,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
845
846
  },
846
847
  `streak-${Ce}`
847
848
  )),
848
- Ae > 1 && /* @__PURE__ */ h(
849
+ Ae > 1 && /* @__PURE__ */ f(
849
850
  C,
850
851
  {
851
852
  sx: {
@@ -895,7 +896,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
895
896
  );
896
897
  return e ? (
897
898
  // questionArea
898
- /* @__PURE__ */ t(r, { sx: { display: "flex", flexDirection: "column", p: R.md }, children: /* @__PURE__ */ h(
899
+ /* @__PURE__ */ t(r, { sx: { display: "flex", flexDirection: "column", p: R.md }, children: /* @__PURE__ */ f(
899
900
  r,
900
901
  {
901
902
  sx: {
@@ -928,7 +929,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
928
929
  pb: R.lg,
929
930
  gap: R.md
930
931
  },
931
- children: /* @__PURE__ */ h(
932
+ children: /* @__PURE__ */ f(
932
933
  r,
933
934
  {
934
935
  sx: {
@@ -968,9 +969,9 @@ const dt = $e(/* @__PURE__ */ t("path", {
968
969
  )
969
970
  }
970
971
  ),
971
- /* @__PURE__ */ h(r, { children: [
972
+ /* @__PURE__ */ f(r, { children: [
972
973
  /* @__PURE__ */ t(r, { sx: { mb: R.xs }, children: T() }),
973
- /* @__PURE__ */ h(
974
+ /* @__PURE__ */ f(
974
975
  je,
975
976
  {
976
977
  direction: "row",
@@ -978,19 +979,19 @@ const dt = $e(/* @__PURE__ */ t("path", {
978
979
  alignItems: "center",
979
980
  children: [
980
981
  /* @__PURE__ */ t(r, { children: W() }),
981
- /* @__PURE__ */ h(je, { direction: "row", spacing: 1, alignItems: "center", children: [
982
- /* @__PURE__ */ h(C, { sx: { color: L }, children: [
982
+ /* @__PURE__ */ f(je, { direction: "row", spacing: 1, alignItems: "center", children: [
983
+ /* @__PURE__ */ f(C, { sx: { color: L }, children: [
983
984
  j,
984
985
  ":"
985
986
  ] }),
986
- /* @__PURE__ */ h(
987
+ /* @__PURE__ */ f(
987
988
  C,
988
989
  {
989
990
  level: "h4",
990
991
  sx: { position: "relative", color: L },
991
992
  children: [
992
993
  u,
993
- b && /* @__PURE__ */ h(
994
+ b && /* @__PURE__ */ f(
994
995
  C,
995
996
  {
996
997
  sx: Nt.pointsAdded,
@@ -1021,7 +1022,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1021
1022
  {
1022
1023
  brandingLogo: H,
1023
1024
  textColor: L,
1024
- label: ((he = c == null ? void 0 : c.labels) == null ? void 0 : he.sponsor) || null
1025
+ label: ((fe = c == null ? void 0 : c.labels) == null ? void 0 : fe.sponsor) || null
1025
1026
  }
1026
1027
  )
1027
1028
  }
@@ -1061,9 +1062,9 @@ const dt = $e(/* @__PURE__ */ t("path", {
1061
1062
  brandingPrimaryColor: s,
1062
1063
  additionalCTA: g
1063
1064
  }) => {
1064
- var Z, ee, J, me, ae, se, ce, Y, he;
1065
- const { t: o } = Q(), m = q(), c = s || m.palette.primary.plainColor, u = m.palette.primary.onPrimary, f = ((ee = (Z = n == null ? void 0 : n.branding) == null ? void 0 : Z.colors) == null ? void 0 : ee.contentColor) || m.textColor, b = m.palette.success.plainColor, p = m.palette.danger.plainColor, x = m.palette.success.softBg, A = m.palette.danger.softBg, E = pe().md, w = pe().xl, I = ve(), y = Te().primary, d = Se(), z = Ve(), S = oe(c || ""), v = S ? S.replace(/[^\d,]/g, "") : null, D = d ? ((me = (J = n == null ? void 0 : n.branding) == null ? void 0 : J.images) == null ? void 0 : me.mobileLogo) || ((se = (ae = n == null ? void 0 : n.branding) == null ? void 0 : ae.images) == null ? void 0 : se.mainLogo) || "" : ((Y = (ce = n == null ? void 0 : n.branding) == null ? void 0 : ce.images) == null ? void 0 : Y.mainLogo) || "", [P, $] = B(0), [L, N] = B(null), R = (e == null ? void 0 : e.currentPoints) ?? 0, k = P > 0 && R >= P;
1066
- if (fe(() => {
1065
+ var Z, ee, J, me, ae, se, ce, Y, fe;
1066
+ const { t: o } = Q(), m = q(), c = s || m.palette.primary.plainColor, u = m.palette.primary.onPrimary, h = ((ee = (Z = n == null ? void 0 : n.branding) == null ? void 0 : Z.colors) == null ? void 0 : ee.contentColor) || m.textColor, b = m.palette.success.plainColor, p = m.palette.danger.plainColor, x = m.palette.success.softBg, A = m.palette.danger.softBg, E = pe().md, w = pe().xl, I = ve(), y = Te().primary, d = Se(), z = Ve(), S = oe(c || ""), v = S ? S.replace(/[^\d,]/g, "") : null, D = d ? ((me = (J = n == null ? void 0 : n.branding) == null ? void 0 : J.images) == null ? void 0 : me.mobileLogo) || ((se = (ae = n == null ? void 0 : n.branding) == null ? void 0 : ae.images) == null ? void 0 : se.mainLogo) || "" : ((Y = (ce = n == null ? void 0 : n.branding) == null ? void 0 : ce.images) == null ? void 0 : Y.mainLogo) || "", [P, $] = B(0), [L, N] = B(null), R = (e == null ? void 0 : e.currentPoints) ?? 0, k = P > 0 && R >= P;
1067
+ if (he(() => {
1067
1068
  n && (async () => {
1068
1069
  try {
1069
1070
  const G = await l.miniGames.getMyEitherOrStats(n.id);
@@ -1082,7 +1083,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1082
1083
  e.currentLives,
1083
1084
  o
1084
1085
  ), T = a > 0 ? H / a * 100 : 0, K = a > 0 ? j / a * 100 : 0, X = a > 0 ? V / a * 100 : 0;
1085
- return /* @__PURE__ */ h(
1086
+ return /* @__PURE__ */ f(
1086
1087
  r,
1087
1088
  {
1088
1089
  sx: {
@@ -1097,7 +1098,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1097
1098
  }
1098
1099
  },
1099
1100
  children: [
1100
- k && /* @__PURE__ */ h(
1101
+ k && /* @__PURE__ */ f(
1101
1102
  r,
1102
1103
  {
1103
1104
  sx: {
@@ -1128,7 +1129,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1128
1129
  }
1129
1130
  },
1130
1131
  children: [
1131
- /* @__PURE__ */ h(
1132
+ /* @__PURE__ */ f(
1132
1133
  r,
1133
1134
  {
1134
1135
  sx: {
@@ -1175,8 +1176,8 @@ const dt = $e(/* @__PURE__ */ t("path", {
1175
1176
  ]
1176
1177
  }
1177
1178
  ),
1178
- /* @__PURE__ */ h(r, { sx: { flex: 1, minWidth: 0 }, children: [
1179
- /* @__PURE__ */ h(
1179
+ /* @__PURE__ */ f(r, { sx: { flex: 1, minWidth: 0 }, children: [
1180
+ /* @__PURE__ */ f(
1180
1181
  r,
1181
1182
  {
1182
1183
  sx: {
@@ -1254,7 +1255,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1254
1255
  ]
1255
1256
  }
1256
1257
  ),
1257
- /* @__PURE__ */ h(
1258
+ /* @__PURE__ */ f(
1258
1259
  r,
1259
1260
  {
1260
1261
  sx: {
@@ -1327,7 +1328,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1327
1328
  children: e.currentPoints
1328
1329
  }
1329
1330
  ),
1330
- /* @__PURE__ */ h(
1331
+ /* @__PURE__ */ f(
1331
1332
  C,
1332
1333
  {
1333
1334
  sx: { fontSize: "1em", fontWeight: 600, color: m.textColor },
@@ -1341,7 +1342,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1341
1342
  ]
1342
1343
  }
1343
1344
  ),
1344
- /* @__PURE__ */ h(
1345
+ /* @__PURE__ */ f(
1345
1346
  r,
1346
1347
  {
1347
1348
  sx: {
@@ -1420,7 +1421,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1420
1421
  valueSx: { color: m.textColor },
1421
1422
  labelSx: { color: m.textColor }
1422
1423
  }
1423
- ].map((U) => /* @__PURE__ */ h(
1424
+ ].map((U) => /* @__PURE__ */ f(
1424
1425
  r,
1425
1426
  {
1426
1427
  sx: {
@@ -1458,7 +1459,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1458
1459
  },
1459
1460
  U.label
1460
1461
  )) }),
1461
- P > 0 && L !== null && L > 0 && /* @__PURE__ */ h(
1462
+ P > 0 && L !== null && L > 0 && /* @__PURE__ */ f(
1462
1463
  r,
1463
1464
  {
1464
1465
  sx: {
@@ -1507,7 +1508,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1507
1508
  ]
1508
1509
  }
1509
1510
  ),
1510
- /* @__PURE__ */ h(
1511
+ /* @__PURE__ */ f(
1511
1512
  r,
1512
1513
  {
1513
1514
  sx: {
@@ -1522,15 +1523,15 @@ const dt = $e(/* @__PURE__ */ t("path", {
1522
1523
  ue,
1523
1524
  {
1524
1525
  brandingLogo: D,
1525
- textColor: f,
1526
- label: ((he = n == null ? void 0 : n.labels) == null ? void 0 : he.sponsor) || null
1526
+ textColor: h,
1527
+ label: ((fe = n == null ? void 0 : n.labels) == null ? void 0 : fe.sponsor) || null
1527
1528
  }
1528
1529
  ),
1529
1530
  /* @__PURE__ */ t(
1530
1531
  ye,
1531
1532
  {
1532
1533
  variant: "soft",
1533
- endDecorator: /* @__PURE__ */ t(ht, { children: /* @__PURE__ */ t(gt, {}) }),
1534
+ endDecorator: /* @__PURE__ */ t(ft, { children: /* @__PURE__ */ t(gt, {}) }),
1534
1535
  onClick: i,
1535
1536
  sx: {
1536
1537
  borderRadius: w,
@@ -1594,8 +1595,8 @@ const dt = $e(/* @__PURE__ */ t("path", {
1594
1595
  primaryColor: l,
1595
1596
  textColor: i
1596
1597
  }) => {
1597
- const { t: s } = Q(), g = Zt(), o = (k) => k.toLocaleString(g), m = q(), c = pe(), u = ve(), f = Te().primary, b = m.outlineEnabledBorder, p = oe(l), [x, A] = B(null), [E, w] = B(!1);
1598
- if (fe(() => {
1598
+ const { t: s } = Q(), g = Zt(), o = (k) => k.toLocaleString(g), m = q(), c = pe(), u = ve(), h = Te().primary, b = m.outlineEnabledBorder, p = oe(l), [x, A] = B(null), [E, w] = B(!1);
1599
+ if (he(() => {
1599
1600
  const k = requestAnimationFrame(() => {
1600
1601
  setTimeout(() => w(!0), 80);
1601
1602
  });
@@ -1605,7 +1606,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1605
1606
  C,
1606
1607
  {
1607
1608
  sx: {
1608
- fontFamily: f,
1609
+ fontFamily: h,
1609
1610
  color: i,
1610
1611
  opacity: 0.4,
1611
1612
  fontSize: "0.875em"
@@ -1628,7 +1629,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1628
1629
  (k, O) => Math.min(O * N, I.length - 1)
1629
1630
  )
1630
1631
  );
1631
- return /* @__PURE__ */ h(
1632
+ return /* @__PURE__ */ f(
1632
1633
  r,
1633
1634
  {
1634
1635
  sx: {
@@ -1653,7 +1654,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1653
1654
  "& > *": { position: "relative", zIndex: 1 }
1654
1655
  },
1655
1656
  children: [
1656
- /* @__PURE__ */ h(
1657
+ /* @__PURE__ */ f(
1657
1658
  r,
1658
1659
  {
1659
1660
  sx: {
@@ -1669,7 +1670,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1669
1670
  C,
1670
1671
  {
1671
1672
  sx: {
1672
- fontFamily: f,
1673
+ fontFamily: h,
1673
1674
  fontSize: "0.7em",
1674
1675
  fontWeight: 700,
1675
1676
  color: i,
@@ -1683,7 +1684,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1683
1684
  C,
1684
1685
  {
1685
1686
  sx: {
1686
- fontFamily: f,
1687
+ fontFamily: h,
1687
1688
  fontSize: "0.7em",
1688
1689
  fontWeight: 500,
1689
1690
  color: i,
@@ -1712,12 +1713,12 @@ const dt = $e(/* @__PURE__ */ t("path", {
1712
1713
  backgroundColor: D ? `rgba(${oe(b)}, 0.6)` : `rgba(${oe(b)}, 0.35)`,
1713
1714
  transition: "background-color 200ms ease, border-left-color 200ms ease"
1714
1715
  },
1715
- children: P ? /* @__PURE__ */ h(et, { children: [
1716
+ children: P ? /* @__PURE__ */ f(et, { children: [
1716
1717
  /* @__PURE__ */ t(
1717
1718
  C,
1718
1719
  {
1719
1720
  sx: {
1720
- fontFamily: f,
1721
+ fontFamily: h,
1721
1722
  fontSize: "0.8em",
1722
1723
  color: l,
1723
1724
  fontWeight: 700,
@@ -1730,7 +1731,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1730
1731
  C,
1731
1732
  {
1732
1733
  sx: {
1733
- fontFamily: f,
1734
+ fontFamily: h,
1734
1735
  fontSize: "0.75em",
1735
1736
  color: i,
1736
1737
  fontWeight: 600
@@ -1744,7 +1745,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1744
1745
  C,
1745
1746
  {
1746
1747
  sx: {
1747
- fontFamily: f,
1748
+ fontFamily: h,
1748
1749
  fontSize: "0.75em",
1749
1750
  color: i,
1750
1751
  opacity: 0.4,
@@ -1829,7 +1830,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1829
1830
  left: `${H}%`,
1830
1831
  transform: j ? "none" : V ? "translateX(-100%)" : "translateX(-50%)",
1831
1832
  fontSize: "0.6em",
1832
- fontFamily: f,
1833
+ fontFamily: h,
1833
1834
  color: i,
1834
1835
  opacity: 0.4,
1835
1836
  lineHeight: 1,
@@ -1850,8 +1851,8 @@ const dt = $e(/* @__PURE__ */ t("path", {
1850
1851
  brandingPrimaryColor: i
1851
1852
  }) => {
1852
1853
  var a;
1853
- const { t: s } = Q(), g = Ne(), o = q(), m = ((a = e == null ? void 0 : e.branding) == null ? void 0 : a.colors) || null, c = i || (m == null ? void 0 : m.primaryColor) || o.palette.primary.plainColor, u = (m == null ? void 0 : m.contentColor) || o.textColor, f = Te().primary, b = Te().secondary, p = pe(), x = ve(), A = Ve(), E = o.surfaceVariant, w = g.colorSchemes.light.palette.primary.onPrimary, I = o.outlineEnabledBorder, [y, d] = B(null), [z, S] = B(!0), [v, D] = B(0), [P, $] = B(null), [L, N] = B("leaderboard"), R = (l == null ? void 0 : l.currentPoints) ?? 0;
1854
- fe(() => {
1854
+ const { t: s } = Q(), g = Ne(), o = q(), m = ((a = e == null ? void 0 : e.branding) == null ? void 0 : a.colors) || null, c = i || (m == null ? void 0 : m.primaryColor) || o.palette.primary.plainColor, u = (m == null ? void 0 : m.contentColor) || o.textColor, h = Te().primary, b = Te().secondary, p = pe(), x = ve(), A = Ve(), E = o.surfaceVariant, w = g.colorSchemes.light.palette.primary.onPrimary, I = o.outlineEnabledBorder, [y, d] = B(null), [z, S] = B(!0), [v, D] = B(0), [P, $] = B(null), [L, N] = B("leaderboard"), R = (l == null ? void 0 : l.currentPoints) ?? 0;
1855
+ he(() => {
1855
1856
  (async () => {
1856
1857
  try {
1857
1858
  if (!e) return;
@@ -1912,7 +1913,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1912
1913
  "& > thead > tr > th": {
1913
1914
  backgroundColor: `rgba(${oe(E)}, 0.8)`,
1914
1915
  color: u,
1915
- fontFamily: f,
1916
+ fontFamily: h,
1916
1917
  fontWeight: 600,
1917
1918
  fontSize: "0.875em",
1918
1919
  textAlign: "center",
@@ -1922,7 +1923,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1922
1923
  headerCellPosition: {
1923
1924
  backgroundColor: `rgba(${oe(E)}, 0.8)`,
1924
1925
  color: u,
1925
- fontFamily: f,
1926
+ fontFamily: h,
1926
1927
  fontWeight: 600,
1927
1928
  fontSize: "0.875em",
1928
1929
  textAlign: "center",
@@ -1932,7 +1933,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1932
1933
  headerCellName: {
1933
1934
  backgroundColor: `rgba(${oe(E)}, 0.8)`,
1934
1935
  color: u,
1935
- fontFamily: f,
1936
+ fontFamily: h,
1936
1937
  fontWeight: 600,
1937
1938
  fontSize: "0.875em",
1938
1939
  textAlign: "left",
@@ -1942,7 +1943,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1942
1943
  headerCellPoints: {
1943
1944
  backgroundColor: `rgba(${oe(E)}, 0.8)`,
1944
1945
  color: u,
1945
- fontFamily: f,
1946
+ fontFamily: h,
1946
1947
  fontWeight: 600,
1947
1948
  fontSize: "0.875em",
1948
1949
  textAlign: "center",
@@ -1977,7 +1978,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
1977
1978
  color: w
1978
1979
  },
1979
1980
  nameText: {
1980
- fontFamily: f,
1981
+ fontFamily: h,
1981
1982
  fontWeight: 500,
1982
1983
  fontSize: "0.875em",
1983
1984
  color: u,
@@ -1986,13 +1987,13 @@ const dt = $e(/* @__PURE__ */ t("path", {
1986
1987
  whiteSpace: "nowrap"
1987
1988
  },
1988
1989
  positionText: {
1989
- fontFamily: f,
1990
+ fontFamily: h,
1990
1991
  fontWeight: 600,
1991
1992
  fontSize: "0.875em",
1992
1993
  color: u
1993
1994
  },
1994
1995
  pointsText: {
1995
- fontFamily: f,
1996
+ fontFamily: h,
1996
1997
  fontWeight: 600,
1997
1998
  fontSize: "0.875em",
1998
1999
  color: u
@@ -2035,7 +2036,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2035
2036
  label: s("eitherOr.standings.distribution", "Distribution")
2036
2037
  }
2037
2038
  ];
2038
- return /* @__PURE__ */ h(
2039
+ return /* @__PURE__ */ f(
2039
2040
  r,
2040
2041
  {
2041
2042
  sx: {
@@ -2077,7 +2078,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2077
2078
  C,
2078
2079
  {
2079
2080
  sx: {
2080
- fontFamily: f,
2081
+ fontFamily: h,
2081
2082
  fontWeight: T ? 700 : 500,
2082
2083
  fontSize: "0.8em",
2083
2084
  color: T ? w : u,
@@ -2094,12 +2095,12 @@ const dt = $e(/* @__PURE__ */ t("path", {
2094
2095
  })
2095
2096
  }
2096
2097
  ),
2097
- L === "leaderboard" && /* @__PURE__ */ h(et, { children: [
2098
+ L === "leaderboard" && /* @__PURE__ */ f(et, { children: [
2098
2099
  /* @__PURE__ */ t(
2099
2100
  C,
2100
2101
  {
2101
2102
  sx: {
2102
- fontFamily: f,
2103
+ fontFamily: h,
2103
2104
  fontWeight: 700,
2104
2105
  fontSize: "1.5em",
2105
2106
  color: u,
@@ -2108,7 +2109,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2108
2109
  children: s("eitherOr.leaderboard.top50Note", "Top 50")
2109
2110
  }
2110
2111
  ),
2111
- /* @__PURE__ */ t(fn, { sx: k.tableContainer, children: /* @__PURE__ */ h(
2112
+ /* @__PURE__ */ t(hn, { sx: k.tableContainer, children: /* @__PURE__ */ f(
2112
2113
  xn,
2113
2114
  {
2114
2115
  variant: "outlined",
@@ -2117,7 +2118,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2117
2118
  size: "sm",
2118
2119
  sx: k.table,
2119
2120
  children: [
2120
- /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ h("tr", { children: [
2121
+ /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ f("tr", { children: [
2121
2122
  /* @__PURE__ */ t("th", { style: k.headerCellPosition, children: A ? "" : s("eitherOr.leaderboard.position", "#") }),
2122
2123
  /* @__PURE__ */ t("th", { style: k.headerCellName, children: s("eitherOr.leaderboard.name", "Name") }),
2123
2124
  /* @__PURE__ */ t("th", { style: k.headerCellPoints, children: A ? "🎯" : s("eitherOr.leaderboard.points", "Pts") })
@@ -2125,17 +2126,17 @@ const dt = $e(/* @__PURE__ */ t("path", {
2125
2126
  /* @__PURE__ */ t("tbody", { children: j.map((W, T) => {
2126
2127
  var J, me, ae;
2127
2128
  const K = v * Je + T, X = W.userId === "current" || P !== null && W.userId === P, Z = ((J = W.userModel) == null ? void 0 : J.avatar) || void 0, ee = ((me = W.userModel) == null ? void 0 : me.nickname) || ((ae = W.userModel) == null ? void 0 : ae.name) || s("common.labels.anonymous", "Anonymous");
2128
- return /* @__PURE__ */ h(
2129
+ return /* @__PURE__ */ f(
2129
2130
  "tr",
2130
2131
  {
2131
2132
  style: X ? k.userRow : void 0,
2132
2133
  children: [
2133
- /* @__PURE__ */ t("td", { style: k.tableCellPosition, children: /* @__PURE__ */ h(C, { sx: k.positionText, children: [
2134
+ /* @__PURE__ */ t("td", { style: k.tableCellPosition, children: /* @__PURE__ */ f(C, { sx: k.positionText, children: [
2134
2135
  "#",
2135
2136
  K + 1
2136
2137
  ] }) }),
2137
- /* @__PURE__ */ t("td", { style: k.tableCellName, children: /* @__PURE__ */ h(r, { sx: k.nameCell, children: [
2138
- /* @__PURE__ */ t(bn, { src: Z, sx: k.leaderboardAvatar, children: !Z && /* @__PURE__ */ t(hn, { sx: k.avatarIcon }) }),
2138
+ /* @__PURE__ */ t("td", { style: k.tableCellName, children: /* @__PURE__ */ f(r, { sx: k.nameCell, children: [
2139
+ /* @__PURE__ */ t(bn, { src: Z, sx: k.leaderboardAvatar, children: !Z && /* @__PURE__ */ t(fn, { sx: k.avatarIcon }) }),
2139
2140
  /* @__PURE__ */ t(
2140
2141
  C,
2141
2142
  {
@@ -2157,7 +2158,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2157
2158
  ]
2158
2159
  }
2159
2160
  ) }),
2160
- H > 1 && /* @__PURE__ */ h(
2161
+ H > 1 && /* @__PURE__ */ f(
2161
2162
  r,
2162
2163
  {
2163
2164
  sx: {
@@ -2174,7 +2175,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2174
2175
  sx: {
2175
2176
  cursor: v > 0 ? "pointer" : "default",
2176
2177
  opacity: v > 0 ? 1 : 0.3,
2177
- fontFamily: f,
2178
+ fontFamily: h,
2178
2179
  fontSize: "1.25em",
2179
2180
  fontWeight: 600,
2180
2181
  color: c,
@@ -2186,11 +2187,11 @@ const dt = $e(/* @__PURE__ */ t("path", {
2186
2187
  children: "‹"
2187
2188
  }
2188
2189
  ),
2189
- /* @__PURE__ */ h(
2190
+ /* @__PURE__ */ f(
2190
2191
  C,
2191
2192
  {
2192
2193
  sx: {
2193
- fontFamily: f,
2194
+ fontFamily: h,
2194
2195
  fontSize: "0.75em",
2195
2196
  color: u,
2196
2197
  opacity: 0.7
@@ -2209,7 +2210,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2209
2210
  sx: {
2210
2211
  cursor: v < H - 1 ? "pointer" : "default",
2211
2212
  opacity: v < H - 1 ? 1 : 0.3,
2212
- fontFamily: f,
2213
+ fontFamily: h,
2213
2214
  fontSize: "1.25em",
2214
2215
  fontWeight: 600,
2215
2216
  color: c,
@@ -2271,7 +2272,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2271
2272
  feedback: m,
2272
2273
  sdk: c,
2273
2274
  defaultImagePlaceholderUrl: u,
2274
- rulesDisplay: f,
2275
+ rulesDisplay: h,
2275
2276
  showStandings: b,
2276
2277
  additionalCTA: p,
2277
2278
  onGameStart: x,
@@ -2356,7 +2357,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2356
2357
  flexDirection: "column",
2357
2358
  overflow: "auto"
2358
2359
  };
2359
- return j && b ? /* @__PURE__ */ t(ke, { brandingBorderColor: (d == null ? void 0 : d.borderColor) || null, children: /* @__PURE__ */ h(
2360
+ return j && b ? /* @__PURE__ */ t(ke, { brandingBorderColor: (d == null ? void 0 : d.borderColor) || null, children: /* @__PURE__ */ f(
2360
2361
  Mt,
2361
2362
  {
2362
2363
  value: R,
@@ -2367,7 +2368,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2367
2368
  backgroundColor: "transparent"
2368
2369
  },
2369
2370
  children: [
2370
- /* @__PURE__ */ h(
2371
+ /* @__PURE__ */ f(
2371
2372
  Ht,
2372
2373
  {
2373
2374
  sx: {
@@ -2376,7 +2377,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2376
2377
  flexDirection: N ? "column" : "row"
2377
2378
  },
2378
2379
  children: [
2379
- /* @__PURE__ */ t(nt, { sx: V, disableIndicator: !0, children: /* @__PURE__ */ h(
2380
+ /* @__PURE__ */ t(nt, { sx: V, disableIndicator: !0, children: /* @__PURE__ */ f(
2380
2381
  r,
2381
2382
  {
2382
2383
  sx: {
@@ -2403,7 +2404,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2403
2404
  ]
2404
2405
  }
2405
2406
  ) }),
2406
- /* @__PURE__ */ t(nt, { sx: V, disableIndicator: !0, children: /* @__PURE__ */ h(
2407
+ /* @__PURE__ */ t(nt, { sx: V, disableIndicator: !0, children: /* @__PURE__ */ f(
2407
2408
  r,
2408
2409
  {
2409
2410
  sx: {
@@ -2452,7 +2453,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2452
2453
  headline: I("eitherOr.headline", "Either/Or"),
2453
2454
  finalImage: O,
2454
2455
  imagePosition: w,
2455
- rulesDisplay: f,
2456
+ rulesDisplay: h,
2456
2457
  children: H()
2457
2458
  }
2458
2459
  ) });
@@ -2521,7 +2522,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2521
2522
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
2522
2523
  },
2523
2524
  Pe.STANDARD
2524
- ), g = Te().primary, o = pe().xl, m = (n == null ? void 0 : n.primaryColor) || q().palette.primary.plainColor, c = q().palette.primary.onPrimary, u = (n == null ? void 0 : n.contentColor) || q().textColor, f = l ? ((w = e.eitherOr.branding) == null ? void 0 : w.images.mobileLogo) || ((I = e.eitherOr.branding) == null ? void 0 : I.images.mainLogo) || "" : ((y = e.eitherOr.branding) == null ? void 0 : y.images.mainLogo) || "", { t: b } = Q(), p = e.imagePosition || "left", x = Dn({
2525
+ ), g = Te().primary, o = pe().xl, m = (n == null ? void 0 : n.primaryColor) || q().palette.primary.plainColor, c = q().palette.primary.onPrimary, u = (n == null ? void 0 : n.contentColor) || q().textColor, h = l ? ((w = e.eitherOr.branding) == null ? void 0 : w.images.mobileLogo) || ((I = e.eitherOr.branding) == null ? void 0 : I.images.mainLogo) || "" : ((y = e.eitherOr.branding) == null ? void 0 : y.images.mainLogo) || "", { t: b } = Q(), p = e.imagePosition || "left", x = Dn({
2525
2526
  fontFamilyPrimary: g,
2526
2527
  buttonRadius: o,
2527
2528
  primaryColor: m,
@@ -2602,7 +2603,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2602
2603
  brandingContent: /* @__PURE__ */ t(
2603
2604
  ue,
2604
2605
  {
2605
- brandingLogo: f,
2606
+ brandingLogo: h,
2606
2607
  textColor: l && s ? (n == null ? void 0 : n.contentColor) || i.colorSchemes.dark.textColor : u,
2607
2608
  label: ((d = e.eitherOr.labels) == null ? void 0 : d.sponsor) || null
2608
2609
  }
@@ -2619,13 +2620,13 @@ const dt = $e(/* @__PURE__ */ t("path", {
2619
2620
  var u;
2620
2621
  const { t: s } = Q(), g = ((u = e.branding) == null ? void 0 : u.colors) || null, { brandingLogo: o } = it(
2621
2622
  e.branding || null
2622
- ), m = (f) => {
2623
+ ), m = (h) => {
2623
2624
  var b;
2624
2625
  return /* @__PURE__ */ t(
2625
2626
  ue,
2626
2627
  {
2627
2628
  brandingLogo: o,
2628
- textColor: f,
2629
+ textColor: h,
2629
2630
  label: ((b = e.labels) == null ? void 0 : b.sponsor) || null
2630
2631
  }
2631
2632
  );
@@ -2649,8 +2650,8 @@ const dt = $e(/* @__PURE__ */ t("path", {
2649
2650
  }
2650
2651
  ) });
2651
2652
  }, En = (e) => {
2652
- var g, o, m, c, u, f, b;
2653
- const { t: n } = Q(), l = ((g = e.eitherOr.branding) == null ? void 0 : g.colors) || null, i = Se() ? ((m = (o = e.eitherOr.branding) == null ? void 0 : o.images) == null ? void 0 : m.mobileLogo) || ((u = (c = e.eitherOr.branding) == null ? void 0 : c.images) == null ? void 0 : u.mainLogo) || "" : ((b = (f = e.eitherOr.branding) == null ? void 0 : f.images) == null ? void 0 : b.mainLogo) || "", s = {
2653
+ var g, o, m, c, u, h, b;
2654
+ const { t: n } = Q(), l = ((g = e.eitherOr.branding) == null ? void 0 : g.colors) || null, i = Se() ? ((m = (o = e.eitherOr.branding) == null ? void 0 : o.images) == null ? void 0 : m.mobileLogo) || ((u = (c = e.eitherOr.branding) == null ? void 0 : c.images) == null ? void 0 : u.mainLogo) || "" : ((b = (h = e.eitherOr.branding) == null ? void 0 : h.images) == null ? void 0 : b.mainLogo) || "", s = {
2654
2655
  ...e.eitherOr,
2655
2656
  branding: e.eitherOr.branding ? {
2656
2657
  ...e.eitherOr.branding,
@@ -2693,7 +2694,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2693
2694
  startGame: m,
2694
2695
  fields: c = ["fullName", "email"],
2695
2696
  leadTitle: u,
2696
- leadDescription: f,
2697
+ leadDescription: h,
2697
2698
  leadCta: b,
2698
2699
  leadSuccessTitle: p,
2699
2700
  leadSuccessDescription: x,
@@ -2702,7 +2703,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2702
2703
  isAfterPosition: w = !1,
2703
2704
  isSubmittingParticipation: I = !1
2704
2705
  }) => {
2705
- const { t: y } = Q(), d = u ?? y("leads.header.title"), z = f ?? y("leads.header.description"), S = b ?? y("leads.buttons.submit"), v = p ?? y("leads.success.title"), D = x ?? y("leads.success.description"), P = {
2706
+ const { t: y } = Q(), d = u ?? y("leads.header.title"), z = h ?? y("leads.header.description"), S = b ?? y("leads.buttons.submit"), v = p ?? y("leads.success.title"), D = x ?? y("leads.success.description"), P = {
2706
2707
  defaultLabel: y(w ? "eitherOr.buttons.finish" : "eitherOr.buttons.start"),
2707
2708
  onClick: m
2708
2709
  };
@@ -2881,7 +2882,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2881
2882
  feedback: m,
2882
2883
  sdk: c,
2883
2884
  defaultImagePlaceholderUrl: u,
2884
- rulesDisplay: f,
2885
+ rulesDisplay: h,
2885
2886
  showStandings: b,
2886
2887
  additionalCTA: p,
2887
2888
  consents: x,
@@ -2891,23 +2892,23 @@ const dt = $e(/* @__PURE__ */ t("path", {
2891
2892
  onPlayAgain: I
2892
2893
  } = e, y = Ne(), d = ve(), z = Se(), { t: S } = Q(), [v, D] = B(0), [P, $] = B(0), [L, N] = B(!1), [R, k] = B(0), [O, H] = B(0), [j, V] = B(!1), a = mt(0), { brandingImage: W, brandingColors: T } = it(
2893
2894
  n.branding || null
2894
- ), K = u || (z ? ft : xt), X = st(
2895
+ ), K = u || (z ? ht : xt), X = st(
2895
2896
  { images: n == null ? void 0 : n.images, imagePlaceholder: K },
2896
2897
  Pe.OVERLAY
2897
2898
  ), Z = W || X, ee = Ot(Z), J = Lt(
2898
2899
  Pe.OVERLAY
2899
- ), me = y.customRadius.dark.sm, ae = y.customRadius.dark.md, se = (T == null ? void 0 : T.backgroundColor) || ((xe = (ne = y.colorSchemes) == null ? void 0 : ne.dark) == null ? void 0 : xe.surfaceVariant), ce = (be = (Le = y.customRadius) == null ? void 0 : Le.light) == null ? void 0 : be.xl, Y = (T == null ? void 0 : T.primaryColor) || ((Ze = (Me = (We = (Ue = y.colorSchemes) == null ? void 0 : Ue.light) == null ? void 0 : We.palette) == null ? void 0 : Me.primary) == null ? void 0 : Ze.plainColor), he = (St = (pt = (yt = (bt = y.colorSchemes) == null ? void 0 : bt.light) == null ? void 0 : yt.palette) == null ? void 0 : pt.primary) == null ? void 0 : St.onPrimary, U = y.customFontFamily.dark.primary, G = y.colorSchemes.dark.textColor, de = y.colorSchemes.dark.surface, Ae = y.colorSchemes.dark.secondaryContainer, we = y.colorSchemes.dark.surfaceTintDim, Ce = ((Ct = oe(we || "")) == null ? void 0 : Ct.replace(/[^\d,]/g, "")) ?? null, Ie = oe(Y || ""), ie = Wn({
2900
+ ), me = y.customRadius.dark.sm, ae = y.customRadius.dark.md, se = (T == null ? void 0 : T.backgroundColor) || ((xe = (ne = y.colorSchemes) == null ? void 0 : ne.dark) == null ? void 0 : xe.surfaceVariant), ce = (be = (Le = y.customRadius) == null ? void 0 : Le.light) == null ? void 0 : be.xl, Y = (T == null ? void 0 : T.primaryColor) || ((Ze = (Me = (We = (Ue = y.colorSchemes) == null ? void 0 : Ue.light) == null ? void 0 : We.palette) == null ? void 0 : Me.primary) == null ? void 0 : Ze.plainColor), fe = (St = (pt = (yt = (bt = y.colorSchemes) == null ? void 0 : bt.light) == null ? void 0 : yt.palette) == null ? void 0 : pt.primary) == null ? void 0 : St.onPrimary, U = y.customFontFamily.dark.primary, G = y.colorSchemes.dark.textColor, de = y.colorSchemes.dark.surface, Ae = y.colorSchemes.dark.secondaryContainer, we = y.colorSchemes.dark.surfaceTintDim, Ce = ((Ct = oe(we || "")) == null ? void 0 : Ct.replace(/[^\d,]/g, "")) ?? null, Ie = oe(Y || ""), ie = Wn({
2900
2901
  spacingScale: d,
2901
2902
  smBorderRadius: me,
2902
2903
  contentBgColor: se,
2903
2904
  buttonRadius: ce,
2904
2905
  primaryColor: Y,
2905
- onPrimaryColor: he,
2906
+ onPrimaryColor: fe,
2906
2907
  fontFamilyPrimary: U,
2907
2908
  darkTextColor: G,
2908
2909
  isMobile: z
2909
2910
  });
2910
- fe(() => {
2911
+ he(() => {
2911
2912
  if (i != null && i.currentPoints && i.currentPoints > P) {
2912
2913
  k(i.currentPoints - P), N(!0), H((le) => le + 1);
2913
2914
  const re = setTimeout(() => N(!1), 1e3);
@@ -2915,7 +2916,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2915
2916
  }
2916
2917
  }, [i == null ? void 0 : i.currentPoints, P]);
2917
2918
  const Fe = (n == null ? void 0 : n.points) ?? [], Re = Fe.length >= 2 ? Fe[1].correctSteps - Fe[0].correctSteps : ((It = Fe[0]) == null ? void 0 : It.correctSteps) || 5;
2918
- fe(() => {
2919
+ he(() => {
2919
2920
  const re = a.current, le = (i == null ? void 0 : i.currentStreak) ?? 0;
2920
2921
  if (a.current = le, le > re && le > 0 && le % Re === 0) {
2921
2922
  V(!0);
@@ -2951,7 +2952,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2951
2952
  return re;
2952
2953
  }, qe = () => {
2953
2954
  const re = (i == null ? void 0 : i.currentStreak) ?? 0, le = j ? Re : re % Re, He = Math.floor(re / Re) + 1;
2954
- return /* @__PURE__ */ h(r, { sx: { display: "flex", alignItems: "center", gap: "4px" }, children: [
2955
+ return /* @__PURE__ */ f(r, { sx: { display: "flex", alignItems: "center", gap: "4px" }, children: [
2955
2956
  Array.from({ length: Re }, (Rt, Oe) => /* @__PURE__ */ t(
2956
2957
  r,
2957
2958
  {
@@ -2965,7 +2966,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
2965
2966
  },
2966
2967
  `streak-${Oe}`
2967
2968
  )),
2968
- He > 1 && /* @__PURE__ */ h(
2969
+ He > 1 && /* @__PURE__ */ f(
2969
2970
  C,
2970
2971
  {
2971
2972
  sx: {
@@ -3003,7 +3004,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3003
3004
  }
3004
3005
  ) }), Xe = () => {
3005
3006
  var re;
3006
- return l ? /* @__PURE__ */ h(r, { sx: ie.mainContentSection, children: [
3007
+ return l ? /* @__PURE__ */ f(r, { sx: ie.mainContentSection, children: [
3007
3008
  /* @__PURE__ */ t(r, { sx: ie.timerContainer, children: /* @__PURE__ */ t(
3008
3009
  Yt,
3009
3010
  {
@@ -3013,8 +3014,8 @@ const dt = $e(/* @__PURE__ */ t("path", {
3013
3014
  },
3014
3015
  `timer-${l.pairId}`
3015
3016
  ) }),
3016
- /* @__PURE__ */ h(r, { sx: ie.contentContainerWithBackdrop, children: [
3017
- /* @__PURE__ */ h(r, { sx: ie.optionsContainer, children: [
3017
+ /* @__PURE__ */ f(r, { sx: ie.contentContainerWithBackdrop, children: [
3018
+ /* @__PURE__ */ f(r, { sx: ie.optionsContainer, children: [
3018
3019
  /* @__PURE__ */ t(r, { sx: ie.optionWrapper, children: /* @__PURE__ */ t(
3019
3020
  ot,
3020
3021
  {
@@ -3041,9 +3042,9 @@ const dt = $e(/* @__PURE__ */ t("path", {
3041
3042
  }
3042
3043
  ) })
3043
3044
  ] }),
3044
- /* @__PURE__ */ h(r, { children: [
3045
+ /* @__PURE__ */ f(r, { children: [
3045
3046
  /* @__PURE__ */ t(r, { sx: { mb: d.xs }, children: qe() }),
3046
- /* @__PURE__ */ h(
3047
+ /* @__PURE__ */ f(
3047
3048
  je,
3048
3049
  {
3049
3050
  direction: "row",
@@ -3051,19 +3052,19 @@ const dt = $e(/* @__PURE__ */ t("path", {
3051
3052
  alignItems: "center",
3052
3053
  children: [
3053
3054
  /* @__PURE__ */ t(r, { children: _e() }),
3054
- /* @__PURE__ */ h(je, { direction: "row", spacing: 1, alignItems: "center", children: [
3055
- /* @__PURE__ */ h(C, { sx: { color: G }, children: [
3055
+ /* @__PURE__ */ f(je, { direction: "row", spacing: 1, alignItems: "center", children: [
3056
+ /* @__PURE__ */ f(C, { sx: { color: G }, children: [
3056
3057
  Ye,
3057
3058
  ":"
3058
3059
  ] }),
3059
- /* @__PURE__ */ h(
3060
+ /* @__PURE__ */ f(
3060
3061
  C,
3061
3062
  {
3062
3063
  level: "h4",
3063
3064
  sx: { position: "relative", color: G },
3064
3065
  children: [
3065
3066
  P,
3066
- L && /* @__PURE__ */ h(
3067
+ L && /* @__PURE__ */ f(
3067
3068
  C,
3068
3069
  {
3069
3070
  sx: Nt.pointsAdded,
@@ -3119,7 +3120,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3119
3120
  display: "flex",
3120
3121
  flexDirection: "column",
3121
3122
  overflow: "auto"
3122
- }, F = () => b ? /* @__PURE__ */ t(r, { sx: { width: "100%" }, children: /* @__PURE__ */ h(
3123
+ }, F = () => b ? /* @__PURE__ */ t(r, { sx: { width: "100%" }, children: /* @__PURE__ */ f(
3123
3124
  Mt,
3124
3125
  {
3125
3126
  value: v,
@@ -3130,7 +3131,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3130
3131
  backgroundColor: "transparent"
3131
3132
  },
3132
3133
  children: [
3133
- /* @__PURE__ */ h(
3134
+ /* @__PURE__ */ f(
3134
3135
  Ht,
3135
3136
  {
3136
3137
  sx: {
@@ -3139,7 +3140,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3139
3140
  flexDirection: z ? "column" : "row"
3140
3141
  },
3141
3142
  children: [
3142
- /* @__PURE__ */ t(nt, { sx: Ee, disableIndicator: !0, children: /* @__PURE__ */ h(
3143
+ /* @__PURE__ */ t(nt, { sx: Ee, disableIndicator: !0, children: /* @__PURE__ */ f(
3143
3144
  r,
3144
3145
  {
3145
3146
  sx: {
@@ -3167,7 +3168,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3167
3168
  ]
3168
3169
  }
3169
3170
  ) }),
3170
- /* @__PURE__ */ t(nt, { sx: Ee, disableIndicator: !0, children: /* @__PURE__ */ h(
3171
+ /* @__PURE__ */ t(nt, { sx: Ee, disableIndicator: !0, children: /* @__PURE__ */ f(
3171
3172
  r,
3172
3173
  {
3173
3174
  sx: {
@@ -3275,7 +3276,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3275
3276
  description: S("eitherOr.tutorial.step3Description")
3276
3277
  }
3277
3278
  ], Rt = Ie ? `rgba(${Ie.replace(/[^\d,]/g, "")}, 0.12)` : `${Y}20`;
3278
- return /* @__PURE__ */ h(
3279
+ return /* @__PURE__ */ f(
3279
3280
  r,
3280
3281
  {
3281
3282
  sx: {
@@ -3310,8 +3311,8 @@ const dt = $e(/* @__PURE__ */ t("path", {
3310
3311
  },
3311
3312
  children: He.map((Oe, zt) => {
3312
3313
  const Kt = zt === He.length - 1;
3313
- return /* @__PURE__ */ h(r, { children: [
3314
- /* @__PURE__ */ h(
3314
+ return /* @__PURE__ */ f(r, { children: [
3315
+ /* @__PURE__ */ f(
3315
3316
  r,
3316
3317
  {
3317
3318
  sx: {
@@ -3339,7 +3340,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3339
3340
  children: Oe.icon
3340
3341
  }
3341
3342
  ),
3342
- /* @__PURE__ */ h(r, { sx: { flex: 1, minWidth: 0, pt: "2px" }, children: [
3343
+ /* @__PURE__ */ f(r, { sx: { flex: 1, minWidth: 0, pt: "2px" }, children: [
3343
3344
  /* @__PURE__ */ t(
3344
3345
  C,
3345
3346
  {
@@ -3395,7 +3396,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3395
3396
  brandingUrls: (re = n == null ? void 0 : n.branding) == null ? void 0 : re.urls
3396
3397
  }
3397
3398
  ) }) : null,
3398
- /* @__PURE__ */ h(
3399
+ /* @__PURE__ */ f(
3399
3400
  r,
3400
3401
  {
3401
3402
  sx: {
@@ -3422,10 +3423,10 @@ const dt = $e(/* @__PURE__ */ t("path", {
3422
3423
  ...ie.pulseAnimation,
3423
3424
  ...A ? Et(
3424
3425
  Y,
3425
- he
3426
+ fe
3426
3427
  ) : {}
3427
3428
  },
3428
- endDecorator: /* @__PURE__ */ t(ht, { children: /* @__PURE__ */ t(gt, {}) }),
3429
+ endDecorator: /* @__PURE__ */ t(ft, { children: /* @__PURE__ */ t(gt, {}) }),
3429
3430
  onClick: E,
3430
3431
  children: /* @__PURE__ */ t(
3431
3432
  C,
@@ -3467,7 +3468,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3467
3468
  entity: n,
3468
3469
  headline: S("eitherOr.headline"),
3469
3470
  finalImage: Z,
3470
- rulesDisplay: f,
3471
+ rulesDisplay: h,
3471
3472
  children: te()
3472
3473
  }
3473
3474
  );
@@ -3513,7 +3514,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3513
3514
  var y, d, z, S, v, D, P, $, L, N, R;
3514
3515
  const n = Ne(), { t: l } = Q(), i = Se(), s = Lt(
3515
3516
  Pe.OVERLAY
3516
- ), g = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : i ? ft : xt, o = st(
3517
+ ), g = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : i ? ht : xt, o = st(
3517
3518
  { images: e.eitherOr.images, imagePlaceholder: g },
3518
3519
  Pe.OVERLAY
3519
3520
  ), { brandingImage: m, brandingColors: c, brandingLogo: u } = it(e.eitherOr.branding || null), b = Ot(m || o), p = (d = (y = n.customRadius) == null ? void 0 : y.light) == null ? void 0 : d.xl, x = (c == null ? void 0 : c.primaryColor) || ((D = (v = (S = (z = n.colorSchemes) == null ? void 0 : z.light) == null ? void 0 : S.palette) == null ? void 0 : v.primary) == null ? void 0 : D.plainColor), A = (N = (L = ($ = (P = n.colorSchemes) == null ? void 0 : P.light) == null ? void 0 : $.palette) == null ? void 0 : L.primary) == null ? void 0 : N.onPrimary, E = n.customFontFamily.dark.primary, w = Hn({
@@ -3580,7 +3581,7 @@ const dt = $e(/* @__PURE__ */ t("path", {
3580
3581
  }
3581
3582
  );
3582
3583
  }, jn = (e) => {
3583
- const { t: n } = Q(), l = Se(), i = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? ft : xt, { brandingLogo: s } = it(
3584
+ const { t: n } = Q(), l = Se(), i = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? ht : xt, { brandingLogo: s } = it(
3584
3585
  e.eitherOr.branding || null
3585
3586
  );
3586
3587
  return /* @__PURE__ */ t(
@@ -3707,7 +3708,7 @@ const _n = (e) => {
3707
3708
  var ze, Ye, _e, qe, Ke, Xe, Ee;
3708
3709
  const [n, l] = B(
3709
3710
  _.LOADING
3710
- ), [i, s] = B(null), [g, o] = B(null), [m, c] = B(10), [u, f] = B(null), [b, p] = B({
3711
+ ), [i, s] = B(null), [g, o] = B(null), [m, c] = B(10), [u, h] = B(null), [b, p] = B({
3711
3712
  isCorrect: null,
3712
3713
  selectedOption: null
3713
3714
  }), [x, A] = B(!1), [E, w] = B(!1), [I, y] = B(!1), [d, z] = B(""), [S, v] = B(!1), [D, P] = B(!1), [$, L] = B(!1), [N, R] = B(!1), [k, O] = B(!1), [H, j] = B(!1), V = mt(null), a = Tn(e.entityId, e.sdk), {
@@ -3726,7 +3727,7 @@ const _n = (e) => {
3726
3727
  entityType: "either_or"
3727
3728
  }), ae = !!((a == null ? void 0 : a.authRequirement) === "LEAD" ? (Ye = e.leads) == null ? void 0 : Ye.position : void 0) && K.length > 0, se = ae ? [] : K.filter((M) => M.position !== "after"), ce = ae ? [] : K.filter((M) => M.position === "after"), Y = (M) => {
3728
3729
  Z(M), j(!1);
3729
- }, he = (M) => {
3730
+ }, fe = (M) => {
3730
3731
  var F;
3731
3732
  return {
3732
3733
  items: M,
@@ -3736,12 +3737,12 @@ const _n = (e) => {
3736
3737
  showError: H
3737
3738
  };
3738
3739
  };
3739
- fe(() => {
3740
+ he(() => {
3740
3741
  var M, F;
3741
3742
  n !== _.RESULTS || !g || (F = (M = e.callbacks) == null ? void 0 : M.onFinish) == null || F.call(M, g);
3742
- }, [n]), fe(() => {
3743
+ }, [n]), he(() => {
3743
3744
  Qt(e.language || "en");
3744
- }, [e.language]), fe(() => {
3745
+ }, [e.language]), he(() => {
3745
3746
  a && a.id && l(_.TUTORIAL);
3746
3747
  }, [a]);
3747
3748
  const U = () => ({
@@ -3768,7 +3769,7 @@ const _n = (e) => {
3768
3769
  return;
3769
3770
  }
3770
3771
  const xe = M.steps.find((be) => !be.played);
3771
- xe ? (s(xe), f(null), p({ isCorrect: null, selectedOption: null })) : ne ? P(!0) : l(_.RESULTS);
3772
+ xe ? (s(xe), h(null), p({ isCorrect: null, selectedOption: null })) : ne ? P(!0) : l(_.RESULTS);
3772
3773
  }, 1e3);
3773
3774
  }
3774
3775
  }), G = (M) => {
@@ -3813,7 +3814,7 @@ const _n = (e) => {
3813
3814
  const Ae = Ge(
3814
3815
  async (M, F) => {
3815
3816
  if (!u) {
3816
- f(F);
3817
+ h(F);
3817
3818
  try {
3818
3819
  const te = await e.sdk.miniGames.participateInEitherOr(
3819
3820
  e.entityId,
@@ -3832,10 +3833,10 @@ const _n = (e) => {
3832
3833
  return;
3833
3834
  }
3834
3835
  const We = te.steps.find((Ze) => !Ze.played);
3835
- We ? (s(We), f(null), p({ isCorrect: null, selectedOption: null })) : Ue ? R(!0) : be ? P(!0) : l(_.RESULTS);
3836
+ We ? (s(We), h(null), p({ isCorrect: null, selectedOption: null })) : Ue ? R(!0) : be ? P(!0) : l(_.RESULTS);
3836
3837
  }, 1e3);
3837
3838
  } catch (te) {
3838
- console.error("Failed to submit answer:", te), f(null), G(te);
3839
+ console.error("Failed to submit answer:", te), h(null), G(te);
3839
3840
  }
3840
3841
  }
3841
3842
  },
@@ -3872,9 +3873,9 @@ const _n = (e) => {
3872
3873
  }
3873
3874
  L(!0), await J(ce), O(!0), L(!1), R(!1), l(_.RESULTS);
3874
3875
  }, [ce, ee, J]), Ie = Ge(() => {
3875
- l(_.TUTORIAL), s(null), o(null), c((a == null ? void 0 : a.time) ?? 10), f(null), p({ isCorrect: null, selectedOption: null }), v(!1), P(!1), R(!1), j(!1);
3876
+ l(_.TUTORIAL), s(null), o(null), c((a == null ? void 0 : a.time) ?? 10), h(null), p({ isCorrect: null, selectedOption: null }), v(!1), P(!1), R(!1), j(!1);
3876
3877
  }, [a == null ? void 0 : a.time]), ie = () => {
3877
- y(!1), w(!1), z(""), T(!1), W(!1), A(!x), l(_.TUTORIAL), s(null), o(null), f(null), p({ isCorrect: null, selectedOption: null }), v(!1), P(!1), R(!1), j(!1);
3878
+ y(!1), w(!1), z(""), T(!1), W(!1), A(!x), l(_.TUTORIAL), s(null), o(null), h(null), p({ isCorrect: null, selectedOption: null }), v(!1), P(!1), R(!1), j(!1);
3878
3879
  };
3879
3880
  if (!a)
3880
3881
  return /* @__PURE__ */ t(lt, { my: 20 });
@@ -3937,7 +3938,7 @@ const _n = (e) => {
3937
3938
  const M = {
3938
3939
  eitherOr: a,
3939
3940
  sdk: e.sdk,
3940
- consents: he(ce),
3941
+ consents: fe(ce),
3941
3942
  onSubmit: Ce,
3942
3943
  isSubmitting: $,
3943
3944
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
@@ -3999,7 +4000,7 @@ const _n = (e) => {
3999
4000
  showStandings: e.showStandings,
4000
4001
  additionalCTA: e.additionalCTA,
4001
4002
  imagePosition: e.imagePosition,
4002
- consents: he(se),
4003
+ consents: fe(se),
4003
4004
  isSubmitting: $,
4004
4005
  onGameStart: de,
4005
4006
  onSelection: Ae,
@@ -4021,14 +4022,14 @@ const _n = (e) => {
4021
4022
  rulesDisplay: e.rulesDisplay,
4022
4023
  showStandings: e.showStandings,
4023
4024
  additionalCTA: e.additionalCTA,
4024
- consents: he(se),
4025
+ consents: fe(se),
4025
4026
  isSubmitting: $,
4026
4027
  onGameStart: de,
4027
4028
  onSelection: Ae,
4028
4029
  onPlayAgain: Ie
4029
4030
  }
4030
4031
  ) : /* @__PURE__ */ t(et, {});
4031
- }, vr = (e) => /* @__PURE__ */ t(en, { packageName: "either-or-play", ...e, children: /* @__PURE__ */ t(_n, { ...e }) });
4032
+ }, Pr = (e) => /* @__PURE__ */ t(en, { packageName: "either-or-play", ...e, children: /* @__PURE__ */ t(_n, { ...e }) });
4032
4033
  export {
4033
- vr as M
4034
+ Pr as M
4034
4035
  };