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,30 +1,31 @@
1
1
  import { jsx as t, jsxs as A, Fragment as Z } from "react/jsx-runtime";
2
2
  import Be, { useState as p, useEffect as ye, useRef as Ve, useMemo as Xe } from "react";
3
- import { c as X, g as w, f as oe, u as K, h as tt, d as fe, B as r, i as _, a as q, b as nt, y as it, k as at, W as V, a7 as Wt, m as Ht, e as Tt, o as qt } from "./PrizeCard-DG54vy2l.js";
4
- import { P as Mt } from "./Portal-B5LOp_VA.js";
3
+ import { c as X, g as w, f as le, u as K, h as tt, d as fe, B as r, i as _, a as q, b as nt, v as it, k as at, a3 as Wt, m as Ht, e as Tt, o as qt } from "./PrizeCard-YH9jftwY.js";
4
+ import { P as Mt } from "./Portal-0HYQP6vC.js";
5
5
  import "react-dom";
6
- import { g as Ut, d as We, h as Te, a as jt, s as kt, f as pt, c as Vt } from "./helpers-DK7NIWA3.js";
7
- import { S as St } from "./Spinner-CfnxZwI6.js";
8
- import { S as Et, a as $t, b as Ft, c as lt, C as It, d as Pt } from "./ChanceGameEmbedVariant-DMI7i2Me.js";
9
- import { C as we, d as Ee, A as ot, a as rt, R as st, O as Rt, S as wt, b as ct, c as dt, u as Ot } from "./useConsents-CTrXjPMT.js";
10
- import { S as _t, a as mt, u as Nt, b as Gt } from "./useParticipationDraft-C39xos8n.js";
6
+ import { g as Ut, d as We, h as Te, a as jt, s as kt, f as pt, c as Vt } from "./helpers-B4K14VMy.js";
7
+ import { W as V } from "./enums-B1lTCQvC.js";
8
+ import { S as St } from "./Spinner-CP7juuny.js";
9
+ import { S as Et, a as $t, b as Ft, c as ot, C as It, d as Pt } from "./ChanceGameEmbedVariant-D8b8PZnU.js";
10
+ import { C as we, d as Ee, A as lt, a as rt, R as st, O as Rt, S as wt, b as ct, c as dt, u as Ot } from "./useConsents-G3YImrA0.js";
11
+ import { S as _t, a as mt, u as Nt, b as Gt } from "./useParticipationDraft-CLycICaf.js";
11
12
  import { g as Zt, y as Qt } from "./index-YA7wEdrb.js";
12
- import { d as Ie, a as Pe } from "./index-D5NQUqT3.js";
13
- import { a as ke, u as Ce } from "./useImageVariant-BpkocGDo.js";
14
- import { A as $e, O as Yt, S as Kt, N as Jt } from "./NotFoundSkeleton-CPrI2SnC.js";
15
- import { T as Q } from "./Typography-ECqxGAdq.js";
16
- import { C as Xt } from "./CollectLeadForm-DZe1Ymdq.js";
17
- import { B as Y } from "./Button-CsvEgUxT.js";
18
- import { D as ut } from "./DirectionScope-oLk_U3C_.js";
19
- import { S as zt } from "./StandardContentSkeleton-Bx2HVrwG.js";
20
- import { T as Oe, a as _e, b as Le, t as At, c as ve } from "./Tabs-Dx0bzmUT.js";
21
- import { C as en } from "./CheckCircle-BXhOrVkK.js";
22
- import { a as tn, I as nn, W as an } from "./AlertMessage-DioJxnEH.js";
23
- import { S as ln } from "./Stack-Ck9Xjygq.js";
24
- import { O as on } from "./OverlayScoreStateWrapperSkeleton-BDDNd4hM.js";
25
- import { S as rn, O as sn } from "./OverlaySignInSkeleton-BUiNvDRX.js";
13
+ import { d as Ie, a as Pe } from "./index-D6_vWz9t.js";
14
+ import { a as ke, u as Ce } from "./useImageVariant-CHZmm8-4.js";
15
+ import { A as $e, O as Yt, S as Kt, N as Jt } from "./NotFoundSkeleton-BV0mXA7z.js";
16
+ import { T as Q } from "./Typography-Ce4eGDV-.js";
17
+ import { C as Xt } from "./CollectLeadForm-CwcEETPM.js";
18
+ import { B as Y } from "./Button-By0gW9vl.js";
19
+ import { D as ut } from "./DirectionScope-BYGJWPAq.js";
20
+ import { S as zt } from "./StandardContentSkeleton-CsYymZyn.js";
21
+ import { T as Oe, a as _e, b as Le, t as At, c as ve } from "./Tabs-D44eIyd1.js";
22
+ import { C as en } from "./CheckCircle-BVTGl0Ft.js";
23
+ import { a as tn, I as nn, W as an } from "./AlertMessage-DBbObbCr.js";
24
+ import { S as on } from "./Stack-DuL71jRI.js";
25
+ import { O as ln } from "./OverlayScoreStateWrapperSkeleton-BwDWj5VX.js";
26
+ import { S as rn, O as sn } from "./OverlaySignInSkeleton-C0gpFLV4.js";
26
27
  const cn = (e, n) => {
27
- const [l, a] = p(null), o = async () => {
28
+ const [o, a] = p(null), l = async () => {
28
29
  try {
29
30
  const i = await n.miniGames.getPersonalityQuizById(e, !0);
30
31
  a(i);
@@ -32,8 +33,8 @@ const cn = (e, n) => {
32
33
  console.error(i), a(new Zt());
33
34
  }
34
35
  };
35
- return ye(() => (o(), () => a(null)), [e, n]), l;
36
- }, dn = (e, n, l, a = !1, o = !1) => {
36
+ return ye(() => (l(), () => a(null)), [e, n]), o;
37
+ }, dn = (e, n, o, a = !1, l = !1) => {
37
38
  const [i, s] = p(null), [c, y] = p(!1), [S, R] = p(!1), [u, D] = p(""), g = async () => {
38
39
  try {
39
40
  const F = await n.miniGames.getMyPersonalityQuizParticipations({
@@ -58,7 +59,7 @@ const cn = (e, n) => {
58
59
  R(!0), D(P.data.error.message || "");
59
60
  }
60
61
  };
61
- return ye(() => (g(), () => s([])), [e, n, l, a, o]), {
62
+ return ye(() => (g(), () => s([])), [e, n, o, a, l]), {
62
63
  myParticipation: i,
63
64
  isUnauthorized: c,
64
65
  isApiError: S,
@@ -69,7 +70,7 @@ const cn = (e, n) => {
69
70
  };
70
71
  }, et = (e) => {
71
72
  var d;
72
- const n = X(), l = w(), a = oe().sm, o = K().primary, i = oe().xs, s = tt().size, c = fe(), y = ke(e.option.images), S = e.questionImage ? null : y, R = ((d = e.brandingColors) == null ? void 0 : d.primaryColor) || l.palette.primary.plainColor, u = l.palette.primary.onPrimary, D = n.colorSchemes.light.textColor, g = (T) => e.selectedOption === T.optionId ? {
73
+ const n = X(), o = w(), a = le().sm, l = K().primary, i = le().xs, s = tt().size, c = fe(), y = ke(e.option.images), S = e.questionImage ? null : y, R = ((d = e.brandingColors) == null ? void 0 : d.primaryColor) || o.palette.primary.plainColor, u = o.palette.primary.onPrimary, D = n.colorSchemes.light.textColor, g = (T) => e.selectedOption === T.optionId ? {
73
74
  bgcolor: R,
74
75
  boxShadow: `inset 0 0 0 ${s} ${R}`,
75
76
  color: u
@@ -133,7 +134,7 @@ const cn = (e, n) => {
133
134
  {
134
135
  level: "body-md",
135
136
  sx: {
136
- fontFamily: o,
137
+ fontFamily: l,
137
138
  fontWeight: 500,
138
139
  fontSize: "0.935em",
139
140
  lineHeight: "24px",
@@ -150,7 +151,7 @@ const cn = (e, n) => {
150
151
  {
151
152
  level: "body-md",
152
153
  sx: {
153
- fontFamily: o,
154
+ fontFamily: l,
154
155
  fontWeight: 500,
155
156
  fontSize: "0.935em",
156
157
  lineHeight: "16px",
@@ -169,11 +170,11 @@ const cn = (e, n) => {
169
170
  }, gt = (e) => {
170
171
  if (e.optionsLayout === "twoByTwo") {
171
172
  const n = [];
172
- for (let l = 0; l < e.options.length; l += 2) {
173
- const a = e.options.slice(l, l + 2);
173
+ for (let o = 0; o < e.options.length; o += 2) {
174
+ const a = e.options.slice(o, o + 2);
174
175
  n.push(a);
175
176
  }
176
- return /* @__PURE__ */ t(r, { sx: { py: 2, display: "flex", flexDirection: "column", gap: 2 }, children: n.map((l, a) => /* @__PURE__ */ t(
177
+ return /* @__PURE__ */ t(r, { sx: { py: 2, display: "flex", flexDirection: "column", gap: 2 }, children: n.map((o, a) => /* @__PURE__ */ t(
177
178
  r,
178
179
  {
179
180
  sx: {
@@ -184,16 +185,16 @@ const cn = (e, n) => {
184
185
  },
185
186
  gap: 2
186
187
  },
187
- children: l.map((o) => /* @__PURE__ */ t(
188
+ children: o.map((l) => /* @__PURE__ */ t(
188
189
  et,
189
190
  {
190
- option: o,
191
+ option: l,
191
192
  questionImage: e.questionImage,
192
193
  selectedOption: e.selectedOption,
193
194
  answerQuestion: e.answerQuestion,
194
195
  brandingColors: e.brandingColors
195
196
  },
196
- o.optionId
197
+ l.optionId
197
198
  ))
198
199
  },
199
200
  `row-${a}`
@@ -233,10 +234,10 @@ const cn = (e, n) => {
233
234
  }
234
235
  );
235
236
  }, U = (e) => {
236
- const n = K().secondary, l = _(), a = Ut(e.primaryUrl, e.secondaryUrl, "logo");
237
+ const n = K().secondary, o = _(), a = Ut(e.primaryUrl, e.secondaryUrl, "logo");
237
238
  if (!e.brandingLogo)
238
239
  return null;
239
- const o = () => {
240
+ const l = () => {
240
241
  a && window.open(a, "_blank", "noopener,noreferrer");
241
242
  }, i = /* @__PURE__ */ t(
242
243
  "img",
@@ -265,7 +266,7 @@ const cn = (e, n) => {
265
266
  ) : /* @__PURE__ */ t(
266
267
  r,
267
268
  {
268
- onClick: o,
269
+ onClick: l,
269
270
  sx: {
270
271
  cursor: "pointer",
271
272
  display: "inline-flex"
@@ -273,7 +274,7 @@ const cn = (e, n) => {
273
274
  children: i
274
275
  }
275
276
  ) : i;
276
- return l ? /* @__PURE__ */ A(
277
+ return o ? /* @__PURE__ */ A(
277
278
  r,
278
279
  {
279
280
  sx: {
@@ -340,9 +341,9 @@ const cn = (e, n) => {
340
341
  }, Qe = ({
341
342
  sdk: e,
342
343
  contentId: n,
343
- contentName: l,
344
+ contentName: o,
344
345
  brandingColors: a,
345
- brandingUrls: o,
346
+ brandingUrls: l,
346
347
  campaignId: i,
347
348
  campaignName: s,
348
349
  startGame: c,
@@ -368,12 +369,12 @@ const cn = (e, n) => {
368
369
  content: {
369
370
  id: n,
370
371
  type: "personality-quiz",
371
- name: l
372
+ name: o
372
373
  },
373
374
  onSuccessCta: I,
374
375
  branding: {
375
376
  colors: a,
376
- urls: o
377
+ urls: l
377
378
  },
378
379
  campaign: {
379
380
  id: i,
@@ -521,17 +522,17 @@ const cn = (e, n) => {
521
522
  alignItems: "center"
522
523
  }
523
524
  }), un = (e) => {
524
- var B, j, H, E, m, W, $, M, ee, te, ie, re, se, me, ne, O, N, ce, de, ae, xe, le, ue, ge, ze, De, He;
525
- const [n, l] = Be.useState(
525
+ var B, j, H, E, m, W, $, M, ee, te, ie, re, se, me, ne, O, N, ce, de, ae, xe, oe, ue, ge, ze, De, He;
526
+ const [n, o] = Be.useState(
526
527
  ((B = e.leads) == null ? void 0 : B.position) === "before" && e.personalityQuiz.authRequirement === "LEAD"
527
- ), { optionsLayout: a } = nt(it), o = fe(), i = X(), s = ke(e.question.images), { t: c } = q(), y = _(), S = at(), { brandingImage: R, brandingColors: u, brandingLogo: D } = We(e.personalityQuiz.branding || null), g = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : _() ? Ie : Pe, F = R || Ce(
528
+ ), { optionsLayout: a } = nt(it), l = fe(), i = X(), s = ke(e.question.images), { t: c } = q(), y = _(), S = at(), { brandingImage: R, brandingColors: u, brandingLogo: D } = We(e.personalityQuiz.branding || null), g = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : _() ? Ie : Pe, F = R || Ce(
528
529
  {
529
530
  images: e.personalityQuiz.images,
530
531
  imagePlaceholder: g
531
532
  },
532
533
  V.OVERLAY
533
534
  ), k = e.currentQuestion === e.personalityQuiz.questions.length && (((j = e.leads) == null ? void 0 : j.position) === "after" || e.hasAfterConsents) ? c("personalityQuiz.buttons.continue") : e.currentQuestion === e.personalityQuiz.questions.length ? c("personalityQuiz.buttons.finish") : c("personalityQuiz.buttons.next"), P = i.customRadius.dark.sm, C = (u == null ? void 0 : u.backgroundColor) || ((E = (H = i.colorSchemes) == null ? void 0 : H.dark) == null ? void 0 : E.surfaceVariant), d = (W = (m = i.customRadius) == null ? void 0 : m.light) == null ? void 0 : W.xl, T = (u == null ? void 0 : u.primaryColor) || ((te = (ee = (M = ($ = i.colorSchemes) == null ? void 0 : $.light) == null ? void 0 : M.palette) == null ? void 0 : ee.primary) == null ? void 0 : te.plainColor), h = (me = (se = (re = (ie = i.colorSchemes) == null ? void 0 : ie.light) == null ? void 0 : re.palette) == null ? void 0 : se.primary) == null ? void 0 : me.onPrimary, f = i.customFontFamily.dark.primary, x = i.colorSchemes.dark.textColor, b = mn({
534
- spacingScale: o,
535
+ spacingScale: l,
535
536
  smBorderRadius: P,
536
537
  contentBgColor: C,
537
538
  buttonRadius: d,
@@ -542,7 +543,7 @@ const cn = (e, n) => {
542
543
  isMobile: y,
543
544
  isLarge: S
544
545
  }), I = () => {
545
- l(!1);
546
+ o(!1);
546
547
  }, L = () => {
547
548
  var qe, Me, Fe, he, Re;
548
549
  return /* @__PURE__ */ t(
@@ -585,7 +586,7 @@ const cn = (e, n) => {
585
586
  campaignName: (de = e.leads) == null ? void 0 : de.campaignName,
586
587
  fields: (ae = e.leads) == null ? void 0 : ae.fields,
587
588
  leadTitle: (xe = e.personalityQuiz.labels) == null ? void 0 : xe.leadTitle,
588
- leadDescription: (le = e.personalityQuiz.labels) == null ? void 0 : le.leadDescription,
589
+ leadDescription: (oe = e.personalityQuiz.labels) == null ? void 0 : oe.leadDescription,
589
590
  leadCta: (ue = e.personalityQuiz.labels) == null ? void 0 : ue.leadCta,
590
591
  leadSuccessTitle: (ge = e.personalityQuiz.labels) == null ? void 0 : ge.leadSuccessTitle,
591
592
  leadSuccessDescription: (ze = e.personalityQuiz.labels) == null ? void 0 : ze.leadSuccessDescription,
@@ -636,7 +637,7 @@ const cn = (e, n) => {
636
637
  variant: "soft",
637
638
  disabled: e.selectedOption === null,
638
639
  sx: b.nextButton,
639
- endDecorator: /* @__PURE__ */ t(ut, { children: /* @__PURE__ */ t(ot, {}) }),
640
+ endDecorator: /* @__PURE__ */ t(ut, { children: /* @__PURE__ */ t(lt, {}) }),
640
641
  onClick: e.handleNext,
641
642
  loading: e.isLoading,
642
643
  children: /* @__PURE__ */ t(Q, { sx: b.nextButtonText, children: k })
@@ -647,7 +648,7 @@ const cn = (e, n) => {
647
648
  }
648
649
  );
649
650
  }, Dt = (e) => {
650
- const n = K().primary, l = oe().xl, a = w().palette.primary.onPrimary;
651
+ const n = K().primary, o = le().xl, a = w().palette.primary.onPrimary;
651
652
  return /* @__PURE__ */ t(
652
653
  Y,
653
654
  {
@@ -655,7 +656,7 @@ const cn = (e, n) => {
655
656
  disabled: e.selectedOption === null,
656
657
  loading: e.isLoading,
657
658
  sx: {
658
- borderRadius: l,
659
+ borderRadius: o,
659
660
  py: "10px",
660
661
  pr: "12px",
661
662
  pl: "16px",
@@ -704,11 +705,11 @@ const cn = (e, n) => {
704
705
  );
705
706
  }, gn = (e) => {
706
707
  const n = () => {
707
- const l = X(), a = l.customRadius.light.full, o = e.personalityQuiz.questions.length;
708
- return Array.from({ length: o }, (i, s) => {
708
+ const o = X(), a = o.customRadius.light.full, l = e.personalityQuiz.questions.length;
709
+ return Array.from({ length: l }, (i, s) => {
709
710
  const c = s + 1;
710
711
  let y, S;
711
- return c < e.currentQuestion ? (y = l.colorSchemes.light.palette.success.plainColor, S = l.colorSchemes.light.palette.success.outlinedBorder) : c === e.currentQuestion ? (y = e.brandingPrimaryColor || l.colorSchemes.light.palette.primary.plainColor, S = e.brandingPrimaryColor || l.colorSchemes.light.palette.primary.outlinedBorder) : (y = l.colorSchemes.light.secondaryContainer, S = l.colorSchemes.light.outlineEnabledBorder), /* @__PURE__ */ t(
712
+ return c < e.currentQuestion ? (y = o.colorSchemes.light.palette.success.plainColor, S = o.colorSchemes.light.palette.success.outlinedBorder) : c === e.currentQuestion ? (y = e.brandingPrimaryColor || o.colorSchemes.light.palette.primary.plainColor, S = e.brandingPrimaryColor || o.colorSchemes.light.palette.primary.outlinedBorder) : (y = o.colorSchemes.light.secondaryContainer, S = o.colorSchemes.light.outlineEnabledBorder), /* @__PURE__ */ t(
712
713
  r,
713
714
  {
714
715
  sx: {
@@ -741,7 +742,7 @@ const cn = (e, n) => {
741
742
  children: e,
742
743
  brandingBorderColor: n
743
744
  }) => {
744
- const l = oe().md, a = n || w().secondaryContainer, o = tt().size, i = _(), s = o + " solid " + a;
745
+ const o = le().md, a = n || w().secondaryContainer, l = tt().size, i = _(), s = l + " solid " + a;
745
746
  return /* @__PURE__ */ t(
746
747
  r,
747
748
  {
@@ -749,7 +750,7 @@ const cn = (e, n) => {
749
750
  display: "flex",
750
751
  flexDirection: i ? "column" : "row",
751
752
  width: "100%",
752
- borderRadius: l,
753
+ borderRadius: o,
753
754
  boxShadow: "md",
754
755
  border: s,
755
756
  overflow: "hidden",
@@ -887,15 +888,15 @@ const cn = (e, n) => {
887
888
  }
888
889
  }), fn = (e) => {
889
890
  var L, B, j, H, E, m, W, $, M, ee, te, ie, re, se, me, ne, O;
890
- const [n, l] = Be.useState(
891
+ const [n, o] = Be.useState(
891
892
  ((L = e.leads) == null ? void 0 : L.position) === "before" && e.personalityQuiz.authRequirement === "LEAD"
892
- ), { optionsLayout: a } = nt(it), o = ke(e.question.images), { t: i } = q(), s = _(), c = Ht(), y = ((B = e.personalityQuiz.branding) == null ? void 0 : B.colors) || null, S = s ? ((j = e.personalityQuiz.branding) == null ? void 0 : j.images.mobileLogo) || ((H = e.personalityQuiz.branding) == null ? void 0 : H.images.mainLogo) || "" : ((E = e.personalityQuiz.branding) == null ? void 0 : E.images.mainLogo) || "", R = e.imagePosition || "left", u = Ce(
893
+ ), { optionsLayout: a } = nt(it), l = ke(e.question.images), { t: i } = q(), s = _(), c = Ht(), y = ((B = e.personalityQuiz.branding) == null ? void 0 : B.colors) || null, S = s ? ((j = e.personalityQuiz.branding) == null ? void 0 : j.images.mobileLogo) || ((H = e.personalityQuiz.branding) == null ? void 0 : H.images.mainLogo) || "" : ((E = e.personalityQuiz.branding) == null ? void 0 : E.images.mainLogo) || "", R = e.imagePosition || "left", u = Ce(
893
894
  {
894
895
  images: e.personalityQuiz.images,
895
896
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
896
897
  },
897
898
  V.STANDARD
898
- ), D = e.currentQuestion === e.personalityQuiz.questions.length && (((m = e.leads) == null ? void 0 : m.position) === "after" || e.hasAfterConsents) ? i("personalityQuiz.buttons.continue") : e.currentQuestion === e.personalityQuiz.questions.length ? i("personalityQuiz.buttons.finish") : i("personalityQuiz.buttons.next"), g = c || s && !!u, F = (y == null ? void 0 : y.contentColor) || w().textColor, k = K().primary, P = (y == null ? void 0 : y.backgroundColor) || w().surfaceVariant, C = oe().md, d = oe().sm, T = (y == null ? void 0 : y.primaryColor) || w().palette.primary.plainColor, h = fe(), f = yn({
899
+ ), D = e.currentQuestion === e.personalityQuiz.questions.length && (((m = e.leads) == null ? void 0 : m.position) === "after" || e.hasAfterConsents) ? i("personalityQuiz.buttons.continue") : e.currentQuestion === e.personalityQuiz.questions.length ? i("personalityQuiz.buttons.finish") : i("personalityQuiz.buttons.next"), g = c || s && !!u, F = (y == null ? void 0 : y.contentColor) || w().textColor, k = K().primary, P = (y == null ? void 0 : y.backgroundColor) || w().surfaceVariant, C = le().md, d = le().sm, T = (y == null ? void 0 : y.primaryColor) || w().palette.primary.plainColor, h = fe(), f = yn({
899
900
  spacingScale: h,
900
901
  fontFamilyPrimary: k,
901
902
  textColor: F,
@@ -904,9 +905,9 @@ const cn = (e, n) => {
904
905
  smBorderRadius: d,
905
906
  isExtraSmall: g
906
907
  }), x = () => {
907
- l(!1);
908
+ o(!1);
908
909
  }, b = (N) => {
909
- var ce, de, ae, xe, le;
910
+ var ce, de, ae, xe, oe;
910
911
  return /* @__PURE__ */ t(
911
912
  U,
912
913
  {
@@ -914,7 +915,7 @@ const cn = (e, n) => {
914
915
  textColor: N,
915
916
  label: ((ce = e.personalityQuiz.labels) == null ? void 0 : ce.sponsor) || null,
916
917
  primaryUrl: (ae = (de = e.personalityQuiz.branding) == null ? void 0 : de.urls) == null ? void 0 : ae.primaryUrl,
917
- secondaryUrl: (le = (xe = e.personalityQuiz.branding) == null ? void 0 : xe.urls) == null ? void 0 : le.secondaryUrl
918
+ secondaryUrl: (oe = (xe = e.personalityQuiz.branding) == null ? void 0 : xe.urls) == null ? void 0 : oe.secondaryUrl
918
919
  }
919
920
  );
920
921
  }, I = () => {
@@ -994,7 +995,7 @@ const cn = (e, n) => {
994
995
  ) }),
995
996
  /* @__PURE__ */ t(r, { sx: f.questionArea, children: /* @__PURE__ */ A(r, { sx: f.questionContainer, children: [
996
997
  /* @__PURE__ */ A(r, { sx: f.questionContentContainer, children: [
997
- o && /* @__PURE__ */ t(
998
+ l && /* @__PURE__ */ t(
998
999
  $e,
999
1000
  {
1000
1001
  ratio: "16/9",
@@ -1002,7 +1003,7 @@ const cn = (e, n) => {
1002
1003
  children: /* @__PURE__ */ t(r, { sx: f.questionImageBox, children: /* @__PURE__ */ t(
1003
1004
  "img",
1004
1005
  {
1005
- src: o,
1006
+ src: l,
1006
1007
  alt: "Question illustration",
1007
1008
  style: f.questionImage
1008
1009
  }
@@ -1017,7 +1018,7 @@ const cn = (e, n) => {
1017
1018
  answerQuestion: e.answerQuestion,
1018
1019
  selectedOption: e.selectedOption,
1019
1020
  optionsLayout: a ?? "twoByTwo",
1020
- questionImage: o,
1021
+ questionImage: l,
1021
1022
  brandingColors: y
1022
1023
  }
1023
1024
  )
@@ -1032,7 +1033,7 @@ const cn = (e, n) => {
1032
1033
  Dt,
1033
1034
  {
1034
1035
  selectedOption: e.selectedOption,
1035
- endDecorator: /* @__PURE__ */ t(ut, { children: /* @__PURE__ */ t(ot, {}) }),
1036
+ endDecorator: /* @__PURE__ */ t(ut, { children: /* @__PURE__ */ t(lt, {}) }),
1036
1037
  label: D,
1037
1038
  buttonColor: T,
1038
1039
  onClick: e.handleNext,
@@ -1144,15 +1145,15 @@ const cn = (e, n) => {
1144
1145
  }
1145
1146
  }), hn = (e) => {
1146
1147
  var B, j, H, E, m, W, $, M, ee, te, ie, re, se, me, ne, O, N, ce, de;
1147
- const [n, l] = Be.useState(
1148
+ const [n, o] = Be.useState(
1148
1149
  ((B = e.leads) == null ? void 0 : B.position) === "before" && e.personalityQuiz.authRequirement === "LEAD"
1149
- ), { optionsLayout: a } = nt(it), o = X(), i = _(), s = at(), c = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : i ? Ie : Pe, y = Ce(
1150
+ ), { optionsLayout: a } = nt(it), l = X(), i = _(), s = at(), c = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : i ? Ie : Pe, y = Ce(
1150
1151
  {
1151
1152
  images: e.personalityQuiz.images,
1152
1153
  imagePlaceholder: c
1153
1154
  },
1154
1155
  V.SPLIT
1155
- ), S = ke(e.question.images), { t: R } = q(), u = ((j = e.personalityQuiz.branding) == null ? void 0 : j.colors) || null, D = i ? ((H = e.personalityQuiz.branding) == null ? void 0 : H.images.mobileLogo) || ((E = e.personalityQuiz.branding) == null ? void 0 : E.images.mainLogo) || "" : ((m = e.personalityQuiz.branding) == null ? void 0 : m.images.mainLogo) || "", g = e.currentQuestion === e.personalityQuiz.questions.length && (((W = e.leads) == null ? void 0 : W.position) === "after" || e.hasAfterConsents) ? R("personalityQuiz.buttons.continue") : e.currentQuestion === e.personalityQuiz.questions.length ? R("personalityQuiz.buttons.finish") : R("personalityQuiz.buttons.next"), F = (u == null ? void 0 : u.contentColor) || w().textColor, k = K().primary, P = (u == null ? void 0 : u.backgroundColor) || w().surfaceVariant, C = (u == null ? void 0 : u.primaryColor) || ((M = ($ = w().palette) == null ? void 0 : $.primary) == null ? void 0 : M.plainColor), d = w().textColor, T = fe(), h = oe(), f = Te(P || ""), x = xn({
1156
+ ), S = ke(e.question.images), { t: R } = q(), u = ((j = e.personalityQuiz.branding) == null ? void 0 : j.colors) || null, D = i ? ((H = e.personalityQuiz.branding) == null ? void 0 : H.images.mobileLogo) || ((E = e.personalityQuiz.branding) == null ? void 0 : E.images.mainLogo) || "" : ((m = e.personalityQuiz.branding) == null ? void 0 : m.images.mainLogo) || "", g = e.currentQuestion === e.personalityQuiz.questions.length && (((W = e.leads) == null ? void 0 : W.position) === "after" || e.hasAfterConsents) ? R("personalityQuiz.buttons.continue") : e.currentQuestion === e.personalityQuiz.questions.length ? R("personalityQuiz.buttons.finish") : R("personalityQuiz.buttons.next"), F = (u == null ? void 0 : u.contentColor) || w().textColor, k = K().primary, P = (u == null ? void 0 : u.backgroundColor) || w().surfaceVariant, C = (u == null ? void 0 : u.primaryColor) || ((M = ($ = w().palette) == null ? void 0 : $.primary) == null ? void 0 : M.plainColor), d = w().textColor, T = fe(), h = le(), f = Te(P || ""), x = xn({
1156
1157
  spacingScale: T,
1157
1158
  borderRadius: h,
1158
1159
  fontFamilyPrimary: k,
@@ -1161,16 +1162,16 @@ const cn = (e, n) => {
1161
1162
  bgcolor: f,
1162
1163
  textColor: d
1163
1164
  }), b = () => {
1164
- l(!1);
1165
+ o(!1);
1165
1166
  }, I = (ae) => {
1166
- var xe, le, ue, ge, ze;
1167
+ var xe, oe, ue, ge, ze;
1167
1168
  return /* @__PURE__ */ t(
1168
1169
  U,
1169
1170
  {
1170
1171
  brandingLogo: D,
1171
1172
  textColor: ae,
1172
1173
  label: ((xe = e.personalityQuiz.labels) == null ? void 0 : xe.sponsor) || null,
1173
- primaryUrl: (ue = (le = e.personalityQuiz.branding) == null ? void 0 : le.urls) == null ? void 0 : ue.primaryUrl,
1174
+ primaryUrl: (ue = (oe = e.personalityQuiz.branding) == null ? void 0 : oe.urls) == null ? void 0 : ue.primaryUrl,
1174
1175
  secondaryUrl: (ze = (ge = e.personalityQuiz.branding) == null ? void 0 : ge.urls) == null ? void 0 : ze.secondaryUrl
1175
1176
  }
1176
1177
  );
@@ -1261,7 +1262,7 @@ const cn = (e, n) => {
1261
1262
  Dt,
1262
1263
  {
1263
1264
  selectedOption: e.selectedOption,
1264
- endDecorator: /* @__PURE__ */ t(ut, { children: /* @__PURE__ */ t(ot, {}) }),
1265
+ endDecorator: /* @__PURE__ */ t(ut, { children: /* @__PURE__ */ t(lt, {}) }),
1265
1266
  label: g,
1266
1267
  buttonColor: C,
1267
1268
  onClick: e.handleNext,
@@ -1274,24 +1275,24 @@ const cn = (e, n) => {
1274
1275
  ] })
1275
1276
  ] }) }),
1276
1277
  n && D && i ? I(
1277
- (u == null ? void 0 : u.contentColor) || o.colorSchemes.dark.textColor
1278
+ (u == null ? void 0 : u.contentColor) || l.colorSchemes.dark.textColor
1278
1279
  ) : /* @__PURE__ */ t(Z, {})
1279
1280
  ] }) })
1280
1281
  }
1281
1282
  ),
1282
1283
  D && s && /* @__PURE__ */ t(r, { sx: { mb: T.lg, px: T.lg }, children: I(
1283
- (u == null ? void 0 : u.contentColor) || o.colorSchemes.dark.textColor
1284
+ (u == null ? void 0 : u.contentColor) || l.colorSchemes.dark.textColor
1284
1285
  ) })
1285
1286
  ] });
1286
1287
  }, bn = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_929_1048'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_929_1048)'%3e%3cpath%20d='M12%2020.6254L5.20005%2016.9254V11.1254L1.36255%209.01289L12%203.21289L22.65%209.01464V16.7504H20.775V10.0504L18.8%2011.1254V16.9254L12%2020.6254ZM12%2012.6754L18.75%209.01289L12%205.36289L5.26255%209.01289L12%2012.6754ZM12%2018.4879L16.925%2015.8296V12.1129L12%2014.8254L7.07505%2012.1129V15.8296L12%2018.4879Z'%20fill='%23212121'/%3e%3c/g%3e%3c/svg%3e", Cn = "data:image/svg+xml,%3csvg%20width='25'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_929_504'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='25'%20height='24'%3e%3crect%20x='0.5'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_929_504)'%3e%3cpath%20d='M9.6875%206H11.5625V4.125H9.6875V6ZM13.4375%206V4.125H15.3125V6H13.4375ZM9.6875%2013.5V11.625H11.5625V13.5H9.6875ZM17.1875%209.75V7.875H19.0625V9.75H17.1875ZM17.1875%2013.5V11.625H19.0625V13.5H17.1875ZM13.4375%2013.5V11.625H15.3125V13.5H13.4375ZM17.1875%206V4.125H19.0625V6H17.1875ZM11.5625%207.875V6H13.4375V7.875H11.5625ZM5.9375%2019.825V4.125H7.8125V6H9.6875V7.875H7.8125V9.75H9.6875V11.625H7.8125V19.825H5.9375ZM15.3125%2011.625V9.75H17.1875V11.625H15.3125ZM11.5625%2011.625V9.75H13.4375V11.625H11.5625ZM9.6875%209.75V7.875H11.5625V9.75H9.6875ZM13.4375%209.75V7.875H15.3125V9.75H13.4375ZM15.3125%207.875V6H17.1875V7.875H15.3125Z'%20fill='%23212121'/%3e%3c/g%3e%3c/svg%3e", Sn = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_929_360'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3crect%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_929_360)'%3e%3cpath%20d='M9.22917%2014.0625H10.7917V9.1875H9.22917V14.0625ZM9.99771%207.58333C10.2215%207.58333%2010.4097%207.50771%2010.5625%207.35646C10.7153%207.20507%2010.7917%207.01757%2010.7917%206.79396C10.7917%206.57021%2010.716%206.38194%2010.5648%206.22917C10.4134%206.07639%2010.2259%206%2010.0023%206C9.77854%206%209.59028%206.07563%209.4375%206.22688C9.28472%206.37826%209.20833%206.56576%209.20833%206.78938C9.20833%207.01313%209.28396%207.20139%209.43521%207.35417C9.5866%207.50694%209.7741%207.58333%209.99771%207.58333ZM10%2018.125C8.87625%2018.125%207.82021%2017.9114%206.83187%2017.4842C5.84368%2017.0568%204.98403%2016.4769%204.25292%2015.7446C3.52181%2015.0121%202.94271%2014.1522%202.51562%2013.1648C2.08854%2012.1776%201.875%2011.1226%201.875%2010C1.875%208.87625%202.08861%207.82021%202.51583%206.83187C2.94319%205.84368%203.52306%204.98403%204.25542%204.25292C4.98792%203.52181%205.84785%202.94271%206.83521%202.51562C7.82243%202.08854%208.87736%201.875%2010%201.875C11.1237%201.875%2012.1798%202.08861%2013.1681%202.51583C14.1563%202.94319%2015.016%203.52306%2015.7471%204.25542C16.4782%204.98792%2017.0573%205.84785%2017.4844%206.83521C17.9115%207.82243%2018.125%208.87736%2018.125%2010C18.125%2011.1237%2017.9114%2012.1798%2017.4842%2013.1681C17.0568%2014.1563%2016.4769%2015.016%2015.7446%2015.7471C15.0121%2016.4782%2014.1522%2017.0573%2013.1648%2017.4844C12.1776%2017.9115%2011.1226%2018.125%2010%2018.125ZM10%2016.5625C11.8264%2016.5625%2013.3767%2015.9253%2014.651%2014.651C15.9253%2013.3767%2016.5625%2011.8264%2016.5625%2010C16.5625%208.17361%2015.9253%206.62326%2014.651%205.34896C13.3767%204.07465%2011.8264%203.4375%2010%203.4375C8.17361%203.4375%206.62326%204.07465%205.34896%205.34896C4.07465%206.62326%203.4375%208.17361%203.4375%2010C3.4375%2011.8264%204.07465%2013.3767%205.34896%2014.651C6.62326%2015.9253%208.17361%2016.5625%2010%2016.5625Z'%20fill='%23212121'%20fill-opacity='0.6'/%3e%3c/g%3e%3c/svg%3e", yt = ({
1287
1288
  questions: e,
1288
1289
  userParticipation: n,
1289
- resultsTabPanelSxProps: l,
1290
+ resultsTabPanelSxProps: o,
1290
1291
  isOverlayVariant: a,
1291
- children: o,
1292
+ children: l,
1292
1293
  brandingColors: i
1293
1294
  }) => {
1294
- const [s, c] = Be.useState(0), y = X(), { t: S } = q(), R = _(), u = oe().md, D = a ? y.colorSchemes.dark.textPrimary : w().textPrimary, g = a ? y.colorSchemes.dark.textSecondary : w().textSecondary, F = K().primary, k = K().secondary, P = a ? y.colorSchemes.dark.secondaryContainer : w().secondaryContainer, C = i != null && i.backgroundColor || a ? y.colorSchemes.dark.surfaceVariant : w().surfaceVariant, d = fe();
1295
+ const [s, c] = Be.useState(0), y = X(), { t: S } = q(), R = _(), u = le().md, D = a ? y.colorSchemes.dark.textPrimary : w().textPrimary, g = a ? y.colorSchemes.dark.textSecondary : w().textSecondary, F = K().primary, k = K().secondary, P = a ? y.colorSchemes.dark.secondaryContainer : w().secondaryContainer, C = i != null && i.backgroundColor || a ? y.colorSchemes.dark.surfaceVariant : w().surfaceVariant, d = fe();
1295
1296
  let T = a ? y.colorSchemes.dark.textPrimary : w().textPrimary;
1296
1297
  i != null && i.primaryColor && (T = i.primaryColor);
1297
1298
  const h = (f, x) => {
@@ -1642,7 +1643,7 @@ const cn = (e, n) => {
1642
1643
  ]
1643
1644
  }
1644
1645
  ),
1645
- s === 0 && /* @__PURE__ */ t(ve, { value: 0, sx: { ...l, fontSize: "1em" }, children: o }),
1646
+ s === 0 && /* @__PURE__ */ t(ve, { value: 0, sx: { ...o, fontSize: "1em" }, children: l }),
1646
1647
  s === 1 && /* @__PURE__ */ t(
1647
1648
  ve,
1648
1649
  {
@@ -2250,10 +2251,10 @@ const cn = (e, n) => {
2250
2251
  }, ft = ({
2251
2252
  variant: e,
2252
2253
  title: n,
2253
- message: l,
2254
+ message: o,
2254
2255
  description: a
2255
2256
  }) => {
2256
- const o = X(), i = oe(), s = K().secondary, c = zn(e);
2257
+ const l = X(), i = le(), s = K().secondary, c = zn(e);
2257
2258
  return /* @__PURE__ */ t(
2258
2259
  tn,
2259
2260
  {
@@ -2261,7 +2262,7 @@ const cn = (e, n) => {
2261
2262
  color: c,
2262
2263
  startDecorator: Pn(
2263
2264
  e,
2264
- o.colorSchemes.light.palette.danger.plainColor
2265
+ l.colorSchemes.light.palette.danger.plainColor
2265
2266
  ),
2266
2267
  sx: {
2267
2268
  gap: 1,
@@ -2270,7 +2271,7 @@ const cn = (e, n) => {
2270
2271
  "--Icon-fontSize": "1.25em"
2271
2272
  },
2272
2273
  children: /* @__PURE__ */ A(
2273
- ln,
2274
+ on,
2274
2275
  {
2275
2276
  sx: {
2276
2277
  fontSize: "1.5em"
@@ -2291,7 +2292,7 @@ const cn = (e, n) => {
2291
2292
  {
2292
2293
  level: "body-sm",
2293
2294
  sx: { fontFamily: s, fontSize: "0.675em" },
2294
- children: l
2295
+ children: o
2295
2296
  }
2296
2297
  ),
2297
2298
  a && /* @__PURE__ */ t(
@@ -2308,16 +2309,16 @@ const cn = (e, n) => {
2308
2309
  }
2309
2310
  );
2310
2311
  }, xt = (e, n) => !n.personas || !e.personaResults ? [] : n.personas.map((a) => {
2311
- const o = e.personaResults.find(
2312
+ const l = e.personaResults.find(
2312
2313
  (i) => i.personaId === a.personaId
2313
2314
  );
2314
- return o ? {
2315
- ...o,
2315
+ return l ? {
2316
+ ...l,
2316
2317
  percent: a.percent
2317
2318
  } : null;
2318
2319
  }).filter(
2319
2320
  (a) => a !== null && a.percent > 0
2320
- ).sort((a, o) => o.percent - a.percent), An = (e) => ({
2321
+ ).sort((a, l) => l.percent - a.percent), An = (e) => ({
2321
2322
  // Content wrapper
2322
2323
  contentWrapper: {
2323
2324
  display: "flex",
@@ -2541,7 +2542,7 @@ const cn = (e, n) => {
2541
2542
  }), Tn = ({
2542
2543
  personas: e
2543
2544
  }) => {
2544
- const [n, l] = p(0), a = X(), o = w(), i = oe(), s = K(), c = fe(), y = _(), S = o.textPrimary, R = o.palette.primary.plainColor, u = o.textColor, D = `rgba(${Te(o.surfaceVariant || "")}, 0.5)`, g = o.surfaceVariant, F = a.colorSchemes.light.palette.success.plainColor, k = a.colorSchemes.light.palette.primary.onPrimary, P = An({
2545
+ const [n, o] = p(0), a = X(), l = w(), i = le(), s = K(), c = fe(), y = _(), S = l.textPrimary, R = l.palette.primary.plainColor, u = l.textColor, D = `rgba(${Te(l.surfaceVariant || "")}, 0.5)`, g = l.surfaceVariant, F = a.colorSchemes.light.palette.success.plainColor, k = a.colorSchemes.light.palette.primary.onPrimary, P = An({
2545
2546
  spacingScale: c,
2546
2547
  borderRadius: i,
2547
2548
  fontFamilyPrimary: s.primary,
@@ -2559,7 +2560,7 @@ const cn = (e, n) => {
2559
2560
  Oe,
2560
2561
  {
2561
2562
  value: n,
2562
- onChange: (C, d) => l(d),
2563
+ onChange: (C, d) => o(d),
2563
2564
  sx: P.tabsContainer,
2564
2565
  children: [
2565
2566
  /* @__PURE__ */ t(_e, { sx: P.tabList, children: e.map((C, d) => {
@@ -2648,13 +2649,13 @@ const cn = (e, n) => {
2648
2649
  ) }) });
2649
2650
  }, kn = (e) => {
2650
2651
  var I, L, B, j, H;
2651
- const n = X(), l = Ce(
2652
+ const n = X(), o = Ce(
2652
2653
  {
2653
2654
  images: e.personalityQuiz.images,
2654
2655
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
2655
2656
  },
2656
2657
  V.STANDARD
2657
- ), { t: a } = q(), o = ((I = e.personalityQuiz.branding) == null ? void 0 : I.colors) || null, i = _() ? ((L = e.personalityQuiz.branding) == null ? void 0 : L.images.mobileLogo) || ((B = e.personalityQuiz.branding) == null ? void 0 : B.images.mainLogo) || "" : ((j = e.personalityQuiz.branding) == null ? void 0 : j.images.mainLogo) || "", s = e.imagePosition || "left", c = w().textPrimary, y = (o == null ? void 0 : o.primaryColor) || w().palette.primary.plainColor, S = (o == null ? void 0 : o.secondaryColor) || w().textSecondary, R = w().secondaryContainer, u = (o == null ? void 0 : o.contentColor) || w().textColor, D = K().secondary, g = K().primary, F = (o == null ? void 0 : o.backgroundColor) || w().surface, k = w().onSurface, P = oe(), C = tt().size, d = fe(), T = `rgba(${Te(
2658
+ ), { t: a } = q(), l = ((I = e.personalityQuiz.branding) == null ? void 0 : I.colors) || null, i = _() ? ((L = e.personalityQuiz.branding) == null ? void 0 : L.images.mobileLogo) || ((B = e.personalityQuiz.branding) == null ? void 0 : B.images.mainLogo) || "" : ((j = e.personalityQuiz.branding) == null ? void 0 : j.images.mainLogo) || "", s = e.imagePosition || "left", c = w().textPrimary, y = (l == null ? void 0 : l.primaryColor) || w().palette.primary.plainColor, S = (l == null ? void 0 : l.secondaryColor) || w().textSecondary, R = w().secondaryContainer, u = (l == null ? void 0 : l.contentColor) || w().textColor, D = K().secondary, g = K().primary, F = (l == null ? void 0 : l.backgroundColor) || w().surface, k = w().onSurface, P = le(), C = tt().size, d = fe(), T = `rgba(${Te(
2658
2659
  w().surfaceVariant || ""
2659
2660
  )}, 0.5)`, h = In({
2660
2661
  spacingScale: d,
@@ -2736,7 +2737,7 @@ const cn = (e, n) => {
2736
2737
  ) : /* @__PURE__ */ t(Z, {})
2737
2738
  ] }) });
2738
2739
  };
2739
- return /* @__PURE__ */ t(J, { brandingBorderColor: (o == null ? void 0 : o.borderColor) || null, children: e.showAnswerExplanations ? /* @__PURE__ */ t(
2740
+ return /* @__PURE__ */ t(J, { brandingBorderColor: (l == null ? void 0 : l.borderColor) || null, children: e.showAnswerExplanations ? /* @__PURE__ */ t(
2740
2741
  yt,
2741
2742
  {
2742
2743
  questions: e.personalityQuiz.questions,
@@ -2752,7 +2753,7 @@ const cn = (e, n) => {
2752
2753
  children: /* @__PURE__ */ t(r, { sx: h.scoreStateWrapperContainer, children: /* @__PURE__ */ t(
2753
2754
  zt,
2754
2755
  {
2755
- finalImage: l,
2756
+ finalImage: o,
2756
2757
  imagePosition: s,
2757
2758
  children: b()
2758
2759
  }
@@ -2761,7 +2762,7 @@ const cn = (e, n) => {
2761
2762
  ) : /* @__PURE__ */ t(
2762
2763
  zt,
2763
2764
  {
2764
- finalImage: l,
2765
+ finalImage: o,
2765
2766
  imagePosition: s,
2766
2767
  children: b()
2767
2768
  }
@@ -3310,7 +3311,7 @@ const cn = (e, n) => {
3310
3311
  fontStyle: "italic"
3311
3312
  }
3312
3313
  }), wn = ({ personas: e, brandingColors: n }) => {
3313
- const [l, a] = p(0), o = X(), i = w(), s = oe(), c = K(), y = fe(), S = _(), R = i.textPrimary, u = (n == null ? void 0 : n.primaryColor) || i.palette.primary.plainColor, D = i.textColor, g = `rgba(${Te(i.surfaceVariant || "")}, 0.5)`, F = i.surfaceVariant, k = o.colorSchemes.light.palette.success.plainColor, P = o.colorSchemes.light.palette.primary.onPrimary, C = Rn({
3314
+ const [o, a] = p(0), l = X(), i = w(), s = le(), c = K(), y = fe(), S = _(), R = i.textPrimary, u = (n == null ? void 0 : n.primaryColor) || i.palette.primary.plainColor, D = i.textColor, g = `rgba(${Te(i.surfaceVariant || "")}, 0.5)`, F = i.surfaceVariant, k = l.colorSchemes.light.palette.success.plainColor, P = l.colorSchemes.light.palette.primary.onPrimary, C = Rn({
3314
3315
  spacingScale: y,
3315
3316
  borderRadius: s,
3316
3317
  fontFamilyPrimary: c.primary,
@@ -3327,7 +3328,7 @@ const cn = (e, n) => {
3327
3328
  return !e || e.length === 0 ? null : /* @__PURE__ */ t(r, { sx: C.contentWrapper, children: /* @__PURE__ */ A(
3328
3329
  Oe,
3329
3330
  {
3330
- value: l,
3331
+ value: o,
3331
3332
  onChange: (d, T) => a(T),
3332
3333
  sx: C.tabsContainer,
3333
3334
  children: [
@@ -3390,16 +3391,16 @@ const cn = (e, n) => {
3390
3391
  ) });
3391
3392
  }, Qn = (e) => {
3392
3393
  var j, H, E, m, W, $, M, ee, te, ie, re, se, me, ne;
3393
- const n = X(), { t: l } = q(), a = _(), o = at(), i = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : a ? Ie : Pe, s = Ce(
3394
+ const n = X(), { t: o } = q(), a = _(), l = at(), i = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : a ? Ie : Pe, s = Ce(
3394
3395
  {
3395
3396
  images: e.personalityQuiz.images,
3396
3397
  imagePlaceholder: i
3397
3398
  },
3398
3399
  V.SPLIT
3399
- ), c = ((j = e.personalityQuiz.branding) == null ? void 0 : j.colors) || null, y = w().textPrimary, S = (c == null ? void 0 : c.primaryColor) || ((E = (H = w().palette) == null ? void 0 : H.primary) == null ? void 0 : E.plainColor), R = (c == null ? void 0 : c.secondaryColor) || w().textSecondary, u = w().secondaryContainer, D = (W = (m = w().palette) == null ? void 0 : m.primary) == null ? void 0 : W.onPrimary, g = K().secondary, F = K().primary, k = (c == null ? void 0 : c.backgroundColor) || w().surfaceVariant, P = w().surface, C = w().onSurface, d = oe(), T = w().textColor, h = fe(), f = a ? (($ = e.personalityQuiz.branding) == null ? void 0 : $.images.mobileLogo) || ((M = e.personalityQuiz.branding) == null ? void 0 : M.images.mainLogo) || "" : ((ee = e.personalityQuiz.branding) == null ? void 0 : ee.images.mainLogo) || "", x = xt(
3400
+ ), c = ((j = e.personalityQuiz.branding) == null ? void 0 : j.colors) || null, y = w().textPrimary, S = (c == null ? void 0 : c.primaryColor) || ((E = (H = w().palette) == null ? void 0 : H.primary) == null ? void 0 : E.plainColor), R = (c == null ? void 0 : c.secondaryColor) || w().textSecondary, u = w().secondaryContainer, D = (W = (m = w().palette) == null ? void 0 : m.primary) == null ? void 0 : W.onPrimary, g = K().secondary, F = K().primary, k = (c == null ? void 0 : c.backgroundColor) || w().surfaceVariant, P = w().surface, C = w().onSurface, d = le(), T = w().textColor, h = fe(), f = a ? (($ = e.personalityQuiz.branding) == null ? void 0 : $.images.mobileLogo) || ((M = e.personalityQuiz.branding) == null ? void 0 : M.images.mainLogo) || "" : ((ee = e.personalityQuiz.branding) == null ? void 0 : ee.images.mainLogo) || "", x = xt(
3400
3401
  e.personalityQuiz,
3401
3402
  e.summary
3402
- ), b = !o && f ? /* @__PURE__ */ t(
3403
+ ), b = !l && f ? /* @__PURE__ */ t(
3403
3404
  U,
3404
3405
  {
3405
3406
  brandingLogo: f,
@@ -3433,7 +3434,7 @@ const cn = (e, n) => {
3433
3434
  $t,
3434
3435
  {
3435
3436
  entity: e.personalityQuiz,
3436
- headline: l("personalityQuiz.headline"),
3437
+ headline: o("personalityQuiz.headline"),
3437
3438
  finalImage: s,
3438
3439
  brandingContent: b,
3439
3440
  isTabulated: O,
@@ -3460,7 +3461,7 @@ const cn = (e, n) => {
3460
3461
  gap: e.maxAttemptsReached ? 0 : h.lg
3461
3462
  },
3462
3463
  children: [
3463
- /* @__PURE__ */ t(Q, { level: "body-lg", sx: I.thanksText, children: l("classicQuiz.thanksForPlaying") }),
3464
+ /* @__PURE__ */ t(Q, { level: "body-lg", sx: I.thanksText, children: o("classicQuiz.thanksForPlaying") }),
3464
3465
  (!e.maxAttemptsReached || e.additionalCTA !== void 0) && /* @__PURE__ */ A(r, { sx: I.buttonsContainer, children: [
3465
3466
  !e.maxAttemptsReached && /* @__PURE__ */ t(
3466
3467
  Y,
@@ -3469,7 +3470,7 @@ const cn = (e, n) => {
3469
3470
  onClick: e.playAgain,
3470
3471
  children: /* @__PURE__ */ A(r, { sx: I.playAgainButtonContent, children: [
3471
3472
  /* @__PURE__ */ t(st, { sx: I.playAgainIcon }),
3472
- /* @__PURE__ */ t(Q, { sx: I.playAgainText, children: l("classicQuiz.buttons.playAgain") })
3473
+ /* @__PURE__ */ t(Q, { sx: I.playAgainText, children: o("classicQuiz.buttons.playAgain") })
3473
3474
  ] })
3474
3475
  }
3475
3476
  ),
@@ -3489,7 +3490,7 @@ const cn = (e, n) => {
3489
3490
  }
3490
3491
  ),
3491
3492
  e.chanceGameContent,
3492
- o && f && /* @__PURE__ */ t(
3493
+ l && f && /* @__PURE__ */ t(
3493
3494
  U,
3494
3495
  {
3495
3496
  brandingLogo: f,
@@ -3501,8 +3502,8 @@ const cn = (e, n) => {
3501
3502
  ft,
3502
3503
  {
3503
3504
  variant: "error",
3504
- title: l("common.authentication.accessRequired"),
3505
- message: l("common.authentication.invalidOrMissingAuth")
3505
+ title: o("common.authentication.accessRequired"),
3506
+ message: o("common.authentication.invalidOrMissingAuth")
3506
3507
  }
3507
3508
  ) }) })
3508
3509
  }
@@ -4124,8 +4125,8 @@ const cn = (e, n) => {
4124
4125
  textAlign: "center",
4125
4126
  my: "auto"
4126
4127
  }
4127
- }), vn = ({ personas: e, brandingColors: n, contentBgColor: l }) => {
4128
- const [a, o] = p(0), i = X(), s = _(), c = i.colorSchemes.dark.textPrimary, y = (n == null ? void 0 : n.primaryColor) || i.colorSchemes.dark.palette.primary.plainColor, S = i.colorSchemes.dark.textColor, R = i.colorSchemes.dark.surface, u = i.colorSchemes.dark.palette.success.plainColor, D = i.colorSchemes.dark.palette.primary.onPrimary, g = i.customFontFamily.dark.primary, F = i.customFontFamily.dark.secondary, k = i.spacingScale, P = i.customRadius.dark, C = i.border.dark.size, d = Ln({
4128
+ }), vn = ({ personas: e, brandingColors: n, contentBgColor: o }) => {
4129
+ const [a, l] = p(0), i = X(), s = _(), c = i.colorSchemes.dark.textPrimary, y = (n == null ? void 0 : n.primaryColor) || i.colorSchemes.dark.palette.primary.plainColor, S = i.colorSchemes.dark.textColor, R = i.colorSchemes.dark.surface, u = i.colorSchemes.dark.palette.success.plainColor, D = i.colorSchemes.dark.palette.primary.onPrimary, g = i.customFontFamily.dark.primary, F = i.customFontFamily.dark.secondary, k = i.spacingScale, P = i.customRadius.dark, C = i.border.dark.size, d = Ln({
4129
4130
  spacingScale: k,
4130
4131
  borderRadius: P,
4131
4132
  borderSize: C,
@@ -4138,7 +4139,7 @@ const cn = (e, n) => {
4138
4139
  successColor: u,
4139
4140
  onPrimaryColor: D,
4140
4141
  isMobile: s,
4141
- contentBgColor: l
4142
+ contentBgColor: o
4142
4143
  }), T = Be.useMemo(() => e.map((h) => {
4143
4144
  var f, x, b;
4144
4145
  return {
@@ -4151,7 +4152,7 @@ const cn = (e, n) => {
4151
4152
  Oe,
4152
4153
  {
4153
4154
  value: a,
4154
- onChange: (h, f) => o(f),
4155
+ onChange: (h, f) => l(f),
4155
4156
  sx: d.tabsContainer,
4156
4157
  children: [
4157
4158
  /* @__PURE__ */ t(_e, { sx: d.tabList, children: e.map((h, f) => {
@@ -4239,7 +4240,7 @@ const cn = (e, n) => {
4239
4240
  ) }) });
4240
4241
  }, Bn = (e) => {
4241
4242
  var L;
4242
- const n = X(), l = fe(), { t: a } = q(), o = Tt(
4243
+ const n = X(), o = fe(), { t: a } = q(), l = Tt(
4243
4244
  V.OVERLAY
4244
4245
  ), i = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : _() ? Ie : Pe, { brandingImage: s, brandingColors: c, brandingLogo: y } = We(e.personalityQuiz.branding || null), S = s || Ce(
4245
4246
  {
@@ -4251,7 +4252,7 @@ const cn = (e, n) => {
4251
4252
  e.personalityQuiz,
4252
4253
  e.summary
4253
4254
  ), x = Dn({
4254
- spacingScale: l,
4255
+ spacingScale: o,
4255
4256
  primaryColor: R,
4256
4257
  secondaryColor: u,
4257
4258
  secondaryContainer: D,
@@ -4321,11 +4322,11 @@ const cn = (e, n) => {
4321
4322
  ] });
4322
4323
  };
4323
4324
  return /* @__PURE__ */ t(
4324
- on,
4325
+ ln,
4325
4326
  {
4326
4327
  entity: e.personalityQuiz,
4327
4328
  backgroundImage: h,
4328
- imageBackgroundGradient: o,
4329
+ imageBackgroundGradient: l,
4329
4330
  isWrappedWithScoreStateWrapper: e.showAnswerExplanations,
4330
4331
  children: e.showAnswerExplanations ? /* @__PURE__ */ t(
4331
4332
  yt,
@@ -4352,9 +4353,9 @@ const cn = (e, n) => {
4352
4353
  }, Hn = ({
4353
4354
  personalityQuiz: e,
4354
4355
  template: n,
4355
- imagePosition: l,
4356
+ imagePosition: o,
4356
4357
  defaultImagePlaceholderUrl: a,
4357
- rulesDisplay: o
4358
+ rulesDisplay: l
4358
4359
  }) => {
4359
4360
  var u;
4360
4361
  const { t: i } = q(), s = _(), c = ((u = e.branding) == null ? void 0 : u.colors) || null, { brandingLogo: y } = We(
@@ -4378,7 +4379,7 @@ const cn = (e, n) => {
4378
4379
  customAlertTitle: i("personalityQuiz.gameNotAvailable"),
4379
4380
  customAlertMessage: i("personalityQuiz.gameNotAvailableDescription"),
4380
4381
  renderPresentedBy: S,
4381
- rulesDisplay: o
4382
+ rulesDisplay: l
4382
4383
  };
4383
4384
  return n === V.OVERLAY ? /* @__PURE__ */ t(
4384
4385
  Rt,
@@ -4396,13 +4397,13 @@ const cn = (e, n) => {
4396
4397
  wt,
4397
4398
  {
4398
4399
  ...R,
4399
- imagePosition: l || "left",
4400
+ imagePosition: o || "left",
4400
4401
  defaultImagePlaceholderUrl: a
4401
4402
  }
4402
4403
  ) });
4403
4404
  }, qn = (e) => {
4404
- var o, i, s, c;
4405
- const n = ((o = e.personalityQuiz.branding) == null ? void 0 : o.colors) || null, l = _() ? ((i = e.personalityQuiz.branding) == null ? void 0 : i.images.mobileLogo) || ((s = e.personalityQuiz.branding) == null ? void 0 : s.images.mainLogo) || "" : ((c = e.personalityQuiz.branding) == null ? void 0 : c.images.mainLogo) || "", { t: a } = q();
4405
+ var l, i, s, c;
4406
+ const n = ((l = e.personalityQuiz.branding) == null ? void 0 : l.colors) || null, o = _() ? ((i = e.personalityQuiz.branding) == null ? void 0 : i.images.mobileLogo) || ((s = e.personalityQuiz.branding) == null ? void 0 : s.images.mainLogo) || "" : ((c = e.personalityQuiz.branding) == null ? void 0 : c.images.mainLogo) || "", { t: a } = q();
4406
4407
  return /* @__PURE__ */ t(J, { brandingBorderColor: (n == null ? void 0 : n.borderColor) || null, children: /* @__PURE__ */ t(
4407
4408
  wt,
4408
4409
  {
@@ -4420,7 +4421,7 @@ const cn = (e, n) => {
4420
4421
  return /* @__PURE__ */ t(
4421
4422
  U,
4422
4423
  {
4423
- brandingLogo: l,
4424
+ brandingLogo: o,
4424
4425
  textColor: y,
4425
4426
  label: ((S = e.personalityQuiz.labels) == null ? void 0 : S.sponsor) || null
4426
4427
  }
@@ -4430,13 +4431,13 @@ const cn = (e, n) => {
4430
4431
  ) });
4431
4432
  }, Mn = (e) => {
4432
4433
  var i, s, c, y;
4433
- const n = _(), { t: l } = q(), a = ((i = e.personalityQuiz.branding) == null ? void 0 : i.colors) || null, o = n ? ((s = e.personalityQuiz.branding) == null ? void 0 : s.images.mobileLogo) || ((c = e.personalityQuiz.branding) == null ? void 0 : c.images.mainLogo) || "" : ((y = e.personalityQuiz.branding) == null ? void 0 : y.images.mainLogo) || "";
4434
+ const n = _(), { t: o } = q(), a = ((i = e.personalityQuiz.branding) == null ? void 0 : i.colors) || null, l = n ? ((s = e.personalityQuiz.branding) == null ? void 0 : s.images.mobileLogo) || ((c = e.personalityQuiz.branding) == null ? void 0 : c.images.mainLogo) || "" : ((y = e.personalityQuiz.branding) == null ? void 0 : y.images.mainLogo) || "";
4434
4435
  return /* @__PURE__ */ t(J, { brandingBorderColor: (a == null ? void 0 : a.borderColor) || null, children: /* @__PURE__ */ t(
4435
4436
  Ft,
4436
4437
  {
4437
4438
  entity: e.personalityQuiz,
4438
- headline: l("personalityQuiz.headline"),
4439
- tryAgainButtonText: l("personalityQuiz.buttons.tryAgain"),
4439
+ headline: o("personalityQuiz.headline"),
4440
+ tryAgainButtonText: o("personalityQuiz.buttons.tryAgain"),
4440
4441
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
4441
4442
  isApiError: e.isApiError,
4442
4443
  toggleTryAgain: e.toggleTryAgain,
@@ -4447,7 +4448,7 @@ const cn = (e, n) => {
4447
4448
  return /* @__PURE__ */ t(
4448
4449
  U,
4449
4450
  {
4450
- brandingLogo: o,
4451
+ brandingLogo: l,
4451
4452
  textColor: S,
4452
4453
  label: ((R = e.personalityQuiz.labels) == null ? void 0 : R.sponsor) || null
4453
4454
  }
@@ -4456,7 +4457,7 @@ const cn = (e, n) => {
4456
4457
  }
4457
4458
  ) });
4458
4459
  }, Un = (e) => {
4459
- const { t: n } = q(), l = _(), a = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? Ie : Pe, { brandingLogo: o } = We(
4460
+ const { t: n } = q(), o = _(), a = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : o ? Ie : Pe, { brandingLogo: l } = We(
4460
4461
  e.personalityQuiz.branding || null
4461
4462
  );
4462
4463
  return /* @__PURE__ */ t(
@@ -4475,7 +4476,7 @@ const cn = (e, n) => {
4475
4476
  return /* @__PURE__ */ t(
4476
4477
  U,
4477
4478
  {
4478
- brandingLogo: o,
4479
+ brandingLogo: l,
4479
4480
  textColor: i,
4480
4481
  label: ((s = e.personalityQuiz.labels) == null ? void 0 : s.sponsor) || null
4481
4482
  }
@@ -4533,13 +4534,13 @@ const cn = (e, n) => {
4533
4534
  }
4534
4535
  }), pn = (e) => {
4535
4536
  var k, P, C, d, T;
4536
- const n = ((k = e.personalityQuiz.branding) == null ? void 0 : k.colors) || null, l = _(), a = X(), o = Ce(
4537
+ const n = ((k = e.personalityQuiz.branding) == null ? void 0 : k.colors) || null, o = _(), a = X(), l = Ce(
4537
4538
  {
4538
4539
  images: e.personalityQuiz.images,
4539
4540
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
4540
4541
  },
4541
4542
  V.STANDARD
4542
- ), i = K().primary, s = oe().xl, c = (n == null ? void 0 : n.primaryColor) || w().palette.primary.plainColor, y = w().palette.primary.onPrimary, S = (n == null ? void 0 : n.contentColor) || w().textColor, R = l ? ((P = e.personalityQuiz.branding) == null ? void 0 : P.images.mobileLogo) || ((C = e.personalityQuiz.branding) == null ? void 0 : C.images.mainLogo) || "" : ((d = e.personalityQuiz.branding) == null ? void 0 : d.images.mainLogo) || "", { t: u } = q(), D = e.imagePosition || "left", g = jn({
4543
+ ), i = K().primary, s = le().xl, c = (n == null ? void 0 : n.primaryColor) || w().palette.primary.plainColor, y = w().palette.primary.onPrimary, S = (n == null ? void 0 : n.contentColor) || w().textColor, R = o ? ((P = e.personalityQuiz.branding) == null ? void 0 : P.images.mobileLogo) || ((C = e.personalityQuiz.branding) == null ? void 0 : C.images.mainLogo) || "" : ((d = e.personalityQuiz.branding) == null ? void 0 : d.images.mainLogo) || "", { t: u } = q(), D = e.imagePosition || "left", g = jn({
4543
4544
  fontFamilyPrimary: i,
4544
4545
  buttonRadius: s,
4545
4546
  primaryColor: c,
@@ -4614,14 +4615,14 @@ const cn = (e, n) => {
4614
4615
  {
4615
4616
  entity: e.personalityQuiz,
4616
4617
  headline: u("personalityQuiz.headline"),
4617
- finalImage: o,
4618
+ finalImage: l,
4618
4619
  imagePosition: D,
4619
4620
  signInContent: F(),
4620
4621
  brandingContent: /* @__PURE__ */ t(
4621
4622
  U,
4622
4623
  {
4623
4624
  brandingLogo: R,
4624
- textColor: l && o ? (n == null ? void 0 : n.contentColor) || a.colorSchemes.dark.textColor : S,
4625
+ textColor: o && l ? (n == null ? void 0 : n.contentColor) || a.colorSchemes.dark.textColor : S,
4625
4626
  label: ((T = e.personalityQuiz.labels) == null ? void 0 : T.sponsor) || null
4626
4627
  }
4627
4628
  ),
@@ -4678,13 +4679,13 @@ const cn = (e, n) => {
4678
4679
  }
4679
4680
  }), En = (e) => {
4680
4681
  var k, P, C, d, T;
4681
- const n = X(), l = _(), a = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? Ie : Pe, o = Ce(
4682
+ const n = X(), o = _(), a = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : o ? Ie : Pe, l = Ce(
4682
4683
  {
4683
4684
  images: e.personalityQuiz.images,
4684
4685
  imagePlaceholder: a
4685
4686
  },
4686
4687
  V.SPLIT
4687
- ), { t: i } = q(), s = ((k = e.personalityQuiz.branding) == null ? void 0 : k.colors) || null, c = l ? ((P = e.personalityQuiz.branding) == null ? void 0 : P.images.mobileLogo) || ((C = e.personalityQuiz.branding) == null ? void 0 : C.images.mainLogo) || "" : ((d = e.personalityQuiz.branding) == null ? void 0 : d.images.mainLogo) || "", y = K().secondary, S = K().primary, R = oe().xl, u = (s == null ? void 0 : s.primaryColor) || w().palette.primary.plainColor, D = w().palette.primary.onPrimary, g = Vn({
4688
+ ), { t: i } = q(), s = ((k = e.personalityQuiz.branding) == null ? void 0 : k.colors) || null, c = o ? ((P = e.personalityQuiz.branding) == null ? void 0 : P.images.mobileLogo) || ((C = e.personalityQuiz.branding) == null ? void 0 : C.images.mainLogo) || "" : ((d = e.personalityQuiz.branding) == null ? void 0 : d.images.mainLogo) || "", y = K().secondary, S = K().primary, R = le().xl, u = (s == null ? void 0 : s.primaryColor) || w().palette.primary.plainColor, D = w().palette.primary.onPrimary, g = Vn({
4688
4689
  fontFamilyPrimary: S,
4689
4690
  fontFamilySecondary: y,
4690
4691
  buttonRadius: R,
@@ -4760,7 +4761,7 @@ const cn = (e, n) => {
4760
4761
  {
4761
4762
  entity: e.personalityQuiz,
4762
4763
  headline: i("personalityQuiz.headline"),
4763
- finalImage: o,
4764
+ finalImage: l,
4764
4765
  signInContent: F(),
4765
4766
  brandingContent: /* @__PURE__ */ t(
4766
4767
  U,
@@ -4813,7 +4814,7 @@ const cn = (e, n) => {
4813
4814
  }
4814
4815
  }), On = (e) => {
4815
4816
  var C, d, T, h, f, x, b, I, L, B, j;
4816
- const n = X(), { t: l } = q(), a = _(), o = Tt(
4817
+ const n = X(), { t: o } = q(), a = _(), l = Tt(
4817
4818
  V.OVERLAY
4818
4819
  ), { brandingImage: i, brandingColors: s, brandingLogo: c } = We(e.personalityQuiz.branding || null), y = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : a ? Ie : Pe, S = i || Ce(
4819
4820
  {
@@ -4837,7 +4838,7 @@ const cn = (e, n) => {
4837
4838
  ...k.pulseAnimation
4838
4839
  },
4839
4840
  onClick: e.signInCTA.onClick,
4840
- children: /* @__PURE__ */ t(Q, { sx: k.signInButtonText, children: e.signInCTA.defaultLabel || l("common.signIn") })
4841
+ children: /* @__PURE__ */ t(Q, { sx: k.signInButtonText, children: e.signInCTA.defaultLabel || o("common.signIn") })
4841
4842
  }
4842
4843
  ) : (m = e.signInCTA) != null && m.url ? typeof window > "u" ? /* @__PURE__ */ t(
4843
4844
  r,
@@ -4853,7 +4854,7 @@ const cn = (e, n) => {
4853
4854
  alignItems: "center",
4854
4855
  justifyContent: "center"
4855
4856
  },
4856
- children: /* @__PURE__ */ t(Q, { sx: k.signInButtonText, children: e.signInCTA.defaultLabel || l("common.signIn") })
4857
+ children: /* @__PURE__ */ t(Q, { sx: k.signInButtonText, children: e.signInCTA.defaultLabel || o("common.signIn") })
4857
4858
  }
4858
4859
  ) : /* @__PURE__ */ t(
4859
4860
  Y,
@@ -4867,7 +4868,7 @@ const cn = (e, n) => {
4867
4868
  var $, M, ee;
4868
4869
  (($ = e.signInCTA) == null ? void 0 : $.target) === "_blank" ? window.open((M = e.signInCTA) == null ? void 0 : M.url, "_blank") : window.location.href = (ee = e.signInCTA) == null ? void 0 : ee.url;
4869
4870
  },
4870
- children: /* @__PURE__ */ t(Q, { sx: k.signInButtonText, children: e.signInCTA.defaultLabel || l("common.signIn") })
4871
+ children: /* @__PURE__ */ t(Q, { sx: k.signInButtonText, children: e.signInCTA.defaultLabel || o("common.signIn") })
4871
4872
  }
4872
4873
  ) : /* @__PURE__ */ t(
4873
4874
  Y,
@@ -4877,7 +4878,7 @@ const cn = (e, n) => {
4877
4878
  ...k.signInButton
4878
4879
  },
4879
4880
  disabled: !0,
4880
- children: /* @__PURE__ */ t(Q, { sx: k.signInButtonText, children: e.signInCTA.defaultLabel || l("common.signIn") })
4881
+ children: /* @__PURE__ */ t(Q, { sx: k.signInButtonText, children: e.signInCTA.defaultLabel || o("common.signIn") })
4881
4882
  }
4882
4883
  ) : /* @__PURE__ */ t(
4883
4884
  Y,
@@ -4887,7 +4888,7 @@ const cn = (e, n) => {
4887
4888
  ...k.signInButton
4888
4889
  },
4889
4890
  disabled: !0,
4890
- children: /* @__PURE__ */ t(Q, { sx: k.signInButtonText, children: l("common.signIn") })
4891
+ children: /* @__PURE__ */ t(Q, { sx: k.signInButtonText, children: o("common.signIn") })
4891
4892
  }
4892
4893
  );
4893
4894
  };
@@ -4895,9 +4896,9 @@ const cn = (e, n) => {
4895
4896
  sn,
4896
4897
  {
4897
4898
  entity: e.personalityQuiz,
4898
- headline: l("personalityQuiz.headline"),
4899
+ headline: o("personalityQuiz.headline"),
4899
4900
  backgroundImage: R,
4900
- imageBackgroundGradient: o,
4901
+ imageBackgroundGradient: l,
4901
4902
  signInContent: P(),
4902
4903
  brandingContent: /* @__PURE__ */ t(
4903
4904
  U,
@@ -4911,8 +4912,8 @@ const cn = (e, n) => {
4911
4912
  }
4912
4913
  );
4913
4914
  }, _n = (e) => {
4914
- var o, i, s;
4915
- const { t: n } = q(), l = ((o = e.personalityQuiz.branding) == null ? void 0 : o.colors) || null, a = (l == null ? void 0 : l.primaryColor) || w().palette.primary.plainColor;
4915
+ var l, i, s;
4916
+ const { t: n } = q(), o = ((l = e.personalityQuiz.branding) == null ? void 0 : l.colors) || null, a = (o == null ? void 0 : o.primaryColor) || w().palette.primary.plainColor;
4916
4917
  return /* @__PURE__ */ t(
4917
4918
  ct,
4918
4919
  {
@@ -4932,17 +4933,17 @@ const cn = (e, n) => {
4932
4933
  signInCTA: e.signInCTA,
4933
4934
  labels: (s = (i = e.signInCTA) == null ? void 0 : i.gate) == null ? void 0 : s.labels,
4934
4935
  primaryColor: a,
4935
- textColor: (l == null ? void 0 : l.contentColor) || void 0,
4936
+ textColor: (o == null ? void 0 : o.contentColor) || void 0,
4936
4937
  align: "center"
4937
4938
  }
4938
4939
  )
4939
4940
  }
4940
4941
  );
4941
4942
  }, Nn = (e) => {
4942
- var o, i, s;
4943
- const { t: n } = q(), l = ((o = e.personalityQuiz.branding) == null ? void 0 : o.colors) || null, a = (l == null ? void 0 : l.primaryColor) || w().palette.primary.plainColor;
4943
+ var l, i, s;
4944
+ const { t: n } = q(), o = ((l = e.personalityQuiz.branding) == null ? void 0 : l.colors) || null, a = (o == null ? void 0 : o.primaryColor) || w().palette.primary.plainColor;
4944
4945
  return /* @__PURE__ */ t(
4945
- lt,
4946
+ ot,
4946
4947
  {
4947
4948
  entity: e.personalityQuiz,
4948
4949
  headline: n("personalityQuiz.headline"),
@@ -4959,7 +4960,7 @@ const cn = (e, n) => {
4959
4960
  signInCTA: e.signInCTA,
4960
4961
  labels: (s = (i = e.signInCTA) == null ? void 0 : i.gate) == null ? void 0 : s.labels,
4961
4962
  primaryColor: a,
4962
- textColor: (l == null ? void 0 : l.contentColor) || void 0,
4963
+ textColor: (o == null ? void 0 : o.contentColor) || void 0,
4963
4964
  align: "center"
4964
4965
  }
4965
4966
  )
@@ -4967,7 +4968,7 @@ const cn = (e, n) => {
4967
4968
  );
4968
4969
  }, Gn = (e) => {
4969
4970
  var i, s, c;
4970
- const { t: n } = q(), l = X(), a = ((i = e.personalityQuiz.branding) == null ? void 0 : i.colors) || null, o = (a == null ? void 0 : a.primaryColor) || l.colorSchemes.dark.palette.primary.plainColor;
4971
+ const { t: n } = q(), o = X(), a = ((i = e.personalityQuiz.branding) == null ? void 0 : i.colors) || null, l = (a == null ? void 0 : a.primaryColor) || o.colorSchemes.dark.palette.primary.plainColor;
4971
4972
  return /* @__PURE__ */ t(
4972
4973
  dt,
4973
4974
  {
@@ -4984,8 +4985,8 @@ const cn = (e, n) => {
4984
4985
  {
4985
4986
  signInCTA: e.signInCTA,
4986
4987
  labels: (c = (s = e.signInCTA) == null ? void 0 : s.gate) == null ? void 0 : c.labels,
4987
- primaryColor: o,
4988
- textColor: (a == null ? void 0 : a.contentColor) || l.colorSchemes.dark.textColor,
4988
+ primaryColor: l,
4989
+ textColor: (a == null ? void 0 : a.contentColor) || o.colorSchemes.dark.textColor,
4989
4990
  align: "center"
4990
4991
  }
4991
4992
  )
@@ -5011,8 +5012,8 @@ const cn = (e, n) => {
5011
5012
  }
5012
5013
  );
5013
5014
  }, Yn = (e) => {
5014
- var o, i, s;
5015
- const { t: n } = q(), l = ((o = e.personalityQuiz.branding) == null ? void 0 : o.colors) || null, a = (l == null ? void 0 : l.primaryColor) || w().palette.primary.plainColor;
5015
+ var l, i, s;
5016
+ const { t: n } = q(), o = ((l = e.personalityQuiz.branding) == null ? void 0 : l.colors) || null, a = (o == null ? void 0 : o.primaryColor) || w().palette.primary.plainColor;
5016
5017
  return /* @__PURE__ */ t(
5017
5018
  ct,
5018
5019
  {
@@ -5047,10 +5048,10 @@ const cn = (e, n) => {
5047
5048
  }
5048
5049
  );
5049
5050
  }, Kn = (e) => {
5050
- var o, i;
5051
- const { t: n } = q(), l = ((o = e.personalityQuiz.branding) == null ? void 0 : o.colors) || null, a = (l == null ? void 0 : l.primaryColor) || w().palette.primary.plainColor;
5051
+ var l, i;
5052
+ const { t: n } = q(), o = ((l = e.personalityQuiz.branding) == null ? void 0 : l.colors) || null, a = (o == null ? void 0 : o.primaryColor) || w().palette.primary.plainColor;
5052
5053
  return /* @__PURE__ */ t(
5053
- lt,
5054
+ ot,
5054
5055
  {
5055
5056
  entity: e.personalityQuiz,
5056
5057
  headline: n("personalityQuiz.headline"),
@@ -5080,7 +5081,7 @@ const cn = (e, n) => {
5080
5081
  );
5081
5082
  }, Jn = (e) => {
5082
5083
  var i, s, c;
5083
- const { t: n } = q(), l = X(), a = ((i = e.personalityQuiz.branding) == null ? void 0 : i.colors) || null, o = (a == null ? void 0 : a.primaryColor) || l.colorSchemes.dark.palette.primary.plainColor;
5084
+ const { t: n } = q(), o = X(), a = ((i = e.personalityQuiz.branding) == null ? void 0 : i.colors) || null, l = (a == null ? void 0 : a.primaryColor) || o.colorSchemes.dark.palette.primary.plainColor;
5084
5085
  return /* @__PURE__ */ t(
5085
5086
  dt,
5086
5087
  {
@@ -5096,8 +5097,8 @@ const cn = (e, n) => {
5096
5097
  we,
5097
5098
  {
5098
5099
  consents: e.consents,
5099
- primaryColor: o,
5100
- textColor: (a == null ? void 0 : a.contentColor) || l.colorSchemes.dark.textColor,
5100
+ primaryColor: l,
5101
+ textColor: (a == null ? void 0 : a.contentColor) || o.colorSchemes.dark.textColor,
5101
5102
  brandingUrls: (s = e.personalityQuiz.branding) == null ? void 0 : s.urls
5102
5103
  }
5103
5104
  ),
@@ -5107,7 +5108,7 @@ const cn = (e, n) => {
5107
5108
  onClick: e.onSubmit,
5108
5109
  label: ((c = e.consents.labels) == null ? void 0 : c.ctaLabel) || n("personalityQuiz.buttons.finish"),
5109
5110
  isSubmitting: e.isSubmitting,
5110
- primaryColor: o
5111
+ primaryColor: l
5111
5112
  }
5112
5113
  )
5113
5114
  }
@@ -5115,7 +5116,7 @@ const cn = (e, n) => {
5115
5116
  }, Xn = (e) => {
5116
5117
  const { t: n } = q();
5117
5118
  return /* @__PURE__ */ t(
5118
- lt,
5119
+ ot,
5119
5120
  {
5120
5121
  entity: e.personalityQuiz,
5121
5122
  headline: n("personalityQuiz.headline"),
@@ -5153,7 +5154,7 @@ function Se(e) {
5153
5154
  }
5154
5155
  const ti = (e) => {
5155
5156
  var ht, bt, Ct;
5156
- const [n, l] = p(1), [a, o] = p(null), [i, s] = p([]), [c, y] = p([]), [S, R] = p(!1), [u, D] = p(!1), [g, F] = p(!1), [k, P] = p(!1), [C, d] = p(!1), [T, h] = p(!1), [f, x] = p(!1), [b, I] = p(!1), [L, B] = p(!1), [j, H] = p(!1), E = Ve(!1), m = cn(e.entityId, e.sdk), W = Nt({
5157
+ const [n, o] = p(1), [a, l] = p(null), [i, s] = p([]), [c, y] = p([]), [S, R] = p(!1), [u, D] = p(!1), [g, F] = p(!1), [k, P] = p(!1), [C, d] = p(!1), [T, h] = p(!1), [f, x] = p(!1), [b, I] = p(!1), [L, B] = p(!1), [j, H] = p(!1), E = Ve(!1), m = cn(e.entityId, e.sdk), W = Nt({
5157
5158
  signInCTA: e.signInCTA,
5158
5159
  authRequired: (m == null ? void 0 : m.authRequirement) === "REGISTERED",
5159
5160
  userIsLoggedIn: e.userIsLoggedIn,
@@ -5184,7 +5185,7 @@ const ti = (e) => {
5184
5185
  consents: (bt = e.consents) == null ? void 0 : bt.items,
5185
5186
  entityId: e.entityId,
5186
5187
  entityType: "personality_quiz"
5187
- }), le = !!((m == null ? void 0 : m.authRequirement) === "LEAD" ? (Ct = e.leads) == null ? void 0 : Ct.position : void 0) && O.length > 0, ue = le ? [] : O.filter((z) => z.position !== "after"), ge = le ? [] : O.filter((z) => z.position === "after"), ze = (z) => {
5188
+ }), oe = !!((m == null ? void 0 : m.authRequirement) === "LEAD" ? (Ct = e.leads) == null ? void 0 : Ct.position : void 0) && O.length > 0, ue = oe ? [] : O.filter((z) => z.position !== "after"), ge = oe ? [] : O.filter((z) => z.position === "after"), ze = (z) => {
5188
5189
  ce(z), H(!1);
5189
5190
  }, De = (z) => {
5190
5191
  var v;
@@ -5244,7 +5245,7 @@ const ti = (e) => {
5244
5245
  return;
5245
5246
  }
5246
5247
  const v = z.answers || [];
5247
- s(v), l(
5248
+ s(v), o(
5248
5249
  Math.min(v.length + 1, m.questions.length)
5249
5250
  ), z.checkedConsents && ce(z.checkedConsents), he.current = z.heldConsentIds || [], E.current = !0, x(!1);
5250
5251
  }, [
@@ -5314,7 +5315,7 @@ const ti = (e) => {
5314
5315
  }
5315
5316
  );
5316
5317
  const Ne = () => {
5317
- se(!1), re(!1), y([]), l(1), o(null), s([]), R(!1), F(!1), P(!1), d(!1), D(!u);
5318
+ se(!1), re(!1), y([]), o(1), l(null), s([]), R(!1), F(!1), P(!1), d(!1), D(!u);
5318
5319
  };
5319
5320
  if (ee || te)
5320
5321
  return Se(e) ? /* @__PURE__ */ t(
@@ -5359,7 +5360,7 @@ const ti = (e) => {
5359
5360
  }
5360
5361
  ];
5361
5362
  if (s(v), n < m.questions.length) {
5362
- l((Ae) => Ae + 1), o(null);
5363
+ o((Ae) => Ae + 1), l(null);
5363
5364
  return;
5364
5365
  }
5365
5366
  if (n === m.questions.length) {
@@ -5384,7 +5385,7 @@ const ti = (e) => {
5384
5385
  e.entityId,
5385
5386
  z
5386
5387
  );
5387
- R(!1), y([v]), o(null), Fe();
5388
+ R(!1), y([v]), l(null), Fe();
5388
5389
  } catch (v) {
5389
5390
  R(!1), y([new Qt()]), console.error("[personality-quiz-play] participation failed", v);
5390
5391
  const { code: G, message: Ae } = Vt(v, e.sdk);
@@ -5424,11 +5425,11 @@ const ti = (e) => {
5424
5425
  }, Ye = async () => {
5425
5426
  F(!0), await pe(i), F(!1), P(!0);
5426
5427
  }, Ke = (z) => {
5427
- o(z);
5428
+ l(z);
5428
5429
  }, Je = () => {
5429
- l(1), o(null), s([]), y([]), F(!1), P(!1), d(!1), I(!1), H(!1);
5430
+ o(1), l(null), s([]), y([]), F(!1), P(!1), d(!1), I(!1), H(!1);
5430
5431
  }, Bt = () => {
5431
- const z = De(ue), v = le ? O : void 0, G = ge.length > 0 && !L;
5432
+ const z = De(ue), v = oe ? O : void 0, G = ge.length > 0 && !L;
5432
5433
  return e.template === V.OVERLAY ? /* @__PURE__ */ t(
5433
5434
  un,
5434
5435
  {
@@ -5541,7 +5542,7 @@ const ti = (e) => {
5541
5542
  imagePosition: e.imagePosition,
5542
5543
  onLeadSubmitted: Ye,
5543
5544
  isSubmitting: g,
5544
- consents: le ? O : void 0
5545
+ consents: oe ? O : void 0
5545
5546
  }
5546
5547
  ) : e.template === V.SPLIT ? /* @__PURE__ */ t(
5547
5548
  Xn,
@@ -5552,7 +5553,7 @@ const ti = (e) => {
5552
5553
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
5553
5554
  onLeadSubmitted: Ye,
5554
5555
  isSubmitting: g,
5555
- consents: le ? O : void 0
5556
+ consents: oe ? O : void 0
5556
5557
  }
5557
5558
  ) : e.template === V.OVERLAY ? /* @__PURE__ */ t(
5558
5559
  ei,
@@ -5563,7 +5564,7 @@ const ti = (e) => {
5563
5564
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
5564
5565
  onLeadSubmitted: Ye,
5565
5566
  isSubmitting: g,
5566
- consents: le ? O : void 0
5567
+ consents: oe ? O : void 0
5567
5568
  }
5568
5569
  ) : /* @__PURE__ */ t(St, { my: 20 });
5569
5570
  if (c.length || be) {
@@ -5617,7 +5618,7 @@ const ti = (e) => {
5617
5618
  );
5618
5619
  }
5619
5620
  return Bt();
5620
- }, Ri = (e) => /* @__PURE__ */ t(Mt, { packageName: "personality-quiz-play", ...e, children: /* @__PURE__ */ t(ti, { ...e }) });
5621
+ }, wi = (e) => /* @__PURE__ */ t(Mt, { packageName: "personality-quiz-play", ...e, children: /* @__PURE__ */ t(ti, { ...e }) });
5621
5622
  export {
5622
- Ri as M
5623
+ wi as M
5623
5624
  };