fansunited-frontend-components 0.0.43 → 0.0.46

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 (64) hide show
  1. package/ChanceGame.js +52 -52
  2. package/ClassicQuizPlay.js +23 -21
  3. package/CollectLead.js +32 -32
  4. package/Discussion.js +3 -3021
  5. package/EitherOrPlay.js +163 -163
  6. package/EventGamePlay.js +44 -40
  7. package/Leaderboard.js +364 -357
  8. package/MatchQuizPlay.js +246 -245
  9. package/PersonalityQuizPlay.js +14318 -11062
  10. package/PickThePair.js +49 -49
  11. package/PollVote.js +116 -114
  12. package/Predictor.d.ts +5 -0
  13. package/Predictor.d.ts.map +1 -0
  14. package/Predictor.js +20002 -0
  15. package/chunks/AlertMessage-64RCwEsh.js +315 -0
  16. package/chunks/{ArrowRightAlt-DDfv44Cb.js → ArrowRightAlt-C0AXuIst.js} +1 -1
  17. package/chunks/{Avatar-CuK1TjE5.js → Avatar-B_Hp93C1.js} +80 -80
  18. package/chunks/{ChanceGameEmbedVariant-BqSL2q5j.js → ChanceGameEmbedVariant-BcDObsQE.js} +25 -25
  19. package/chunks/CheckCircle-Dy3mN2eT.js +212 -0
  20. package/chunks/Close-0GaMUCjQ.js +8 -0
  21. package/chunks/Close-DokV0muh.js +9 -0
  22. package/chunks/CollectLeadForm-2qL5vJFj.js +4148 -0
  23. package/chunks/Divider-DObChK-L.js +165 -0
  24. package/chunks/{Edit-BEJGDOE5.js → Edit-DBoD7rs4.js} +19 -19
  25. package/chunks/EmojiEvents-DGOHng0a.js +8 -0
  26. package/chunks/{FavoriteBorder-DCNN0JDS.js → FavoriteBorder-CeZONWoR.js} +1 -1
  27. package/chunks/FormControl-Dd0WfUfb.js +653 -0
  28. package/chunks/{FormLabel-DUTF4Ciu.js → FormLabel-nzyYgGrU.js} +7 -7
  29. package/chunks/{Input-DtSJQlp8.js → Input-Di53xx2V.js} +2 -2
  30. package/chunks/KeyboardArrowDown-Dhul7cxI.js +11 -0
  31. package/chunks/{ModalDialog-CT53XUPl.js → ModalDialog-7B9ik0vJ.js} +296 -292
  32. package/chunks/{NotFoundSkeleton-C2qREw63.js → NotFoundSkeleton-Coe8XWvc.js} +136 -137
  33. package/chunks/{Notification-CZUmuc3Z.js → Notification-DWwniUVj.js} +198 -198
  34. package/chunks/OverlayApiErrorSkeleton-HhJfCkat.js +729 -0
  35. package/chunks/{OverlayLeadAfterCollection-CZ9P-B_i.js → OverlayLeadAfterCollection-93JuvCCE.js} +9 -9
  36. package/chunks/{OverlayScoreStateSkeleton-0el-xj5s.js → OverlayScoreStateSkeleton-C8mUCo57.js} +3 -3
  37. package/chunks/{Person-iy8XQZuk.js → Person-CZvIpU6r.js} +25 -25
  38. package/chunks/{PickOneOfX-aTiQBLAI.js → PickOneOfX-CS_EiNNt.js} +469 -470
  39. package/chunks/Popper-1VAMXdsD.js +1260 -0
  40. package/chunks/{Portal-kFrc-yUh.js → Portal-4P2PknJu.js} +12 -12
  41. package/chunks/{PrizeCard-BA91wVwM.js → PrizeCard-9vHGuVOX.js} +9462 -7240
  42. package/chunks/{CheckCircle-DI3T1yc_.js → Select-CUBVzVwW.js} +956 -1161
  43. package/chunks/{Spinner-Cc2zWDFx.js → Spinner-Bx3PvLc8.js} +1 -1
  44. package/chunks/{SplitLeadAfterCollection-CkxYL7KZ.js → SplitLeadAfterCollection-CEaElvyX.js} +21 -21
  45. package/chunks/Stack-DoM9YeDC.js +168 -0
  46. package/chunks/{Tabs-CZ6IMQcC.js → Tabs-BA00KgP5.js} +47 -47
  47. package/chunks/{Textarea-CukgYb0k.js → Textarea-CNAi4g0q.js} +178 -183
  48. package/chunks/{TimerOutlined-1cB7d7fO.js → TimerOutlined-y83V0xbY.js} +1 -1
  49. package/chunks/{helpers-M2Nr9YsG.js → helpers-DyGJ163I.js} +54 -33
  50. package/chunks/index-B2OgR4TV.js +676 -0
  51. package/chunks/index-hNfWTkjq.js +4 -0
  52. package/chunks/main-B2HQvYmS.js +2867 -0
  53. package/chunks/{useEventCallback-DEgpWG-j.js → useEventCallback-C2Rha97T.js} +3 -3
  54. package/chunks/{useForwardedInput-d4wk9fFf.js → useForwardedInput-b4kij-du.js} +25 -25
  55. package/chunks/{useImageVariant-DS9F3PjS.js → useImageVariant-BnDg20-v.js} +1 -1
  56. package/components.d.ts +2 -1
  57. package/components.d.ts.map +1 -1
  58. package/index.d.ts +1 -0
  59. package/index.d.ts.map +1 -1
  60. package/index.js +11 -9
  61. package/package.json +1 -1
  62. package/chunks/AlertMessage-BwK1nhhq.js +0 -477
  63. package/chunks/CollectLeadForm-DWGJcFYk.js +0 -4786
  64. package/chunks/index-BuUWjKja.js +0 -1864
package/ChanceGame.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { jsx as t, jsxs as w, Fragment as re } from "react/jsx-runtime";
2
- import { h as Ce, g as Je, l as Ke } from "./chunks/helpers-M2Nr9YsG.js";
3
- import Z, { useState as qe, useEffect as Qe } from "react";
4
- import { f as K, V as Ze, r as ve, u as ie, R as Se, B as m, O as se, ad as ue, q as we, h as xe, T as D, Q as he, ae as Te, W as fe, g as $e, af as et, i as tt, X as ne, c as ot, C as nt, a as rt, E as lt, b as it } from "./chunks/PrizeCard-BA91wVwM.js";
5
- import { S as at } from "./chunks/Spinner-Cc2zWDFx.js";
2
+ import { h as Ce, g as Je, l as Ke } from "./chunks/helpers-DyGJ163I.js";
3
+ import Q, { useState as qe, useEffect as Ze } from "react";
4
+ import { m as K, ab as Qe, t as ve, k as ie, a0 as Se, B as m, Z as se, ag as ue, r as we, o as xe, T as D, $ as he, ah as Te, W as fe, n as $e, ai as et, i as tt, ac as ne, g as ot, C as nt, h as rt, E as lt, j as it } from "./chunks/PrizeCard-9vHGuVOX.js";
5
+ import { S as at } from "./chunks/Spinner-Bx3PvLc8.js";
6
6
  import { createPortal as st } from "react-dom";
7
7
  import { u as ct } from "./chunks/useInfoPage-BHdgKdme.js";
8
- import { N as dt, S as Ae, O as Ie } from "./chunks/NotFoundSkeleton-C2qREw63.js";
9
- import { u as mt, S as le, c as Ee, D as Ge, C as ut, W as ht, d as xt, e as ft, f as pt, O as gt, F as bt, b as ye, a as yt, P as vt } from "./chunks/PickOneOfX-aTiQBLAI.js";
10
- import { u as pe, d as Ve, a as He } from "./chunks/useImageVariant-DS9F3PjS.js";
8
+ import { N as dt, S as Ae, O as Ie } from "./chunks/NotFoundSkeleton-Coe8XWvc.js";
9
+ import { u as mt, S as le, c as Ee, D as Ge, C as ut, W as ht, d as xt, e as ft, f as pt, O as gt, F as bt, b as ye, a as yt, P as vt } from "./chunks/PickOneOfX-CS_EiNNt.js";
10
+ import { u as pe, d as He, a as Ne } from "./chunks/useImageVariant-BnDg20-v.js";
11
11
  const ke = ({
12
12
  children: e,
13
13
  brandingBorderColor: s,
14
14
  state: a
15
15
  }) => {
16
- const r = K(), x = Ze(), o = a === "play" ? x : r, c = ve().md, d = s || ie().secondaryContainer, l = Se().size + " solid " + d;
16
+ const r = K(), x = Qe(), o = a === "play" ? x : r, c = ve().md, d = s || ie().secondaryContainer, l = Se().size + " solid " + d;
17
17
  return /* @__PURE__ */ t(
18
18
  m,
19
19
  {
@@ -42,7 +42,7 @@ const ke = ({
42
42
  }
43
43
  );
44
44
  return e === ue.EMBED ? a : /* @__PURE__ */ t(ke, { brandingBorderColor: null, children: a });
45
- }, Ne = ({
45
+ }, Ve = ({
46
46
  infoPage: e,
47
47
  enableReset: s = !1,
48
48
  contentColor: a,
@@ -56,24 +56,24 @@ const ke = ({
56
56
  showTitleBlock: F = !1,
57
57
  variant: O
58
58
  }) => {
59
- var G, q, N;
60
- const p = K(), S = ie(), g = ve(), i = we(), u = xe(), _ = Se(), y = O === "standard", h = O === "overlay", C = y || h, E = JSON.parse(e.body), M = E.segments || [], f = e.labels || {}, L = E.mode || ((G = E.config) == null ? void 0 : G.mode) || "fair", V = ((q = E.config) == null ? void 0 : q.pace) || "normal", W = ((N = E.config) == null ? void 0 : N.decorations) ?? !1, B = Ee(r, l), {
59
+ var G, q, V;
60
+ const p = K(), S = ie(), g = ve(), i = we(), u = xe(), _ = Se(), y = O === "standard", h = O === "overlay", C = y || h, E = JSON.parse(e.body), M = E.segments || [], f = e.labels || {}, L = E.mode || ((G = E.config) == null ? void 0 : G.mode) || "fair", H = ((q = E.config) == null ? void 0 : q.pace) || "normal", W = ((V = E.config) == null ? void 0 : V.decorations) ?? !1, B = Ee(r, l), {
61
61
  isSpinning: T,
62
- finalRotation: H,
62
+ finalRotation: N,
63
63
  selectedSegment: b,
64
64
  showShakeAnimation: X,
65
65
  showResultScreen: R,
66
66
  showInlineResult: k,
67
67
  hasEntered: $,
68
68
  confettiActive: z,
69
- spinDuration: P,
70
- shakeAnimationDuration: U,
71
- confettiVelocityMultiplier: j,
69
+ spinDuration: j,
70
+ shakeAnimationDuration: P,
71
+ confettiVelocityMultiplier: U,
72
72
  confettiGravity: A,
73
73
  handleSpin: I,
74
74
  handleReset: v,
75
75
  onConfettiComplete: ee
76
- } = mt({ segments: M, mode: L, pace: V }), te = C ? p ? "260px" : "340px" : p ? "320px" : "450px", Y = () => /* @__PURE__ */ w(re, { children: [
76
+ } = mt({ segments: M, mode: L, pace: H }), te = C ? p ? "260px" : "340px" : p ? "320px" : "450px", Y = () => /* @__PURE__ */ w(re, { children: [
77
77
  W && /* @__PURE__ */ t(
78
78
  Ge,
79
79
  {
@@ -87,7 +87,7 @@ const ke = ({
87
87
  {
88
88
  active: z,
89
89
  primaryColor: r,
90
- velocityMultiplier: j,
90
+ velocityMultiplier: U,
91
91
  gravity: A,
92
92
  onComplete: ee
93
93
  }
@@ -256,7 +256,7 @@ const ke = ({
256
256
  transform: $ ? "scale(1)" : "scale(0.85)",
257
257
  transition: "opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
258
258
  // Shake animation
259
- animation: X ? `wheelShake ${U / 2}ms ease-in-out 2` : "none",
259
+ animation: X ? `wheelShake ${P / 2}ms ease-in-out 2` : "none",
260
260
  "@keyframes wheelShake": {
261
261
  "0%, 100%": { transform: "translateX(0)" },
262
262
  "10%, 30%, 50%, 70%, 90%": { transform: "translateX(-8px)" },
@@ -285,9 +285,9 @@ const ke = ({
285
285
  onPrimaryColor: o,
286
286
  decorations: W,
287
287
  isStandard: y,
288
- rotation: H,
288
+ rotation: N,
289
289
  isSpinning: T,
290
- spinDuration: P
290
+ spinDuration: j
291
291
  }
292
292
  ),
293
293
  !y && !h && n && /* @__PURE__ */ t(
@@ -451,7 +451,7 @@ const ke = ({
451
451
  ] })
452
452
  ] });
453
453
  if (y) {
454
- const Q = Ce(c), oe = Q ? Q.replace(/[^\d,]/g, "") : "";
454
+ const Z = Ce(c), oe = Z ? Z.replace(/[^\d,]/g, "") : "";
455
455
  return /* @__PURE__ */ w(
456
456
  m,
457
457
  {
@@ -662,7 +662,7 @@ const ke = ({
662
662
  finalImage: n,
663
663
  imagePosition: a,
664
664
  children: /* @__PURE__ */ t(
665
- Ne,
665
+ Ve,
666
666
  {
667
667
  infoPage: e,
668
668
  enableReset: s,
@@ -700,7 +700,7 @@ const ke = ({
700
700
  compactCards: g = !1
701
701
  }) => {
702
702
  var Fe, We, _e, Oe;
703
- const i = K(), u = ie(), _ = ve(), y = we(), h = xe(), C = Se(), E = n || c, M = l || r, f = S === "standard", L = S === "overlay", V = f ? Ce(c) : "", W = V ? V.replace(/[^\d,]/g, "") : "", B = g ? i ? 80 : 110 : i ? 100 : 140, T = g ? i ? 104 : 143 : i ? 130 : 180, H = g ? i ? 90 : 130 : i ? 120 : 180, b = g ? i ? "16px" : "32px" : i ? "24px" : "48px", X = g ? i ? "12px" : "32px" : i ? "16px" : "48px", R = Ee(r, O), k = JSON.parse(e.body), $ = k.segments || [], z = e.labels || {}, P = k.mode || ((Fe = k.config) == null ? void 0 : Fe.mode) || "fair", U = ((We = k.config) == null ? void 0 : We.pace) || "normal", j = ((_e = k.config) == null ? void 0 : _e.revealAll) ?? !1, A = ((Oe = k.config) == null ? void 0 : Oe.decorations) ?? !1, I = $.some((ae) => {
703
+ const i = K(), u = ie(), _ = ve(), y = we(), h = xe(), C = Se(), E = n || c, M = l || r, f = S === "standard", L = S === "overlay", H = f ? Ce(c) : "", W = H ? H.replace(/[^\d,]/g, "") : "", B = g ? i ? 80 : 110 : i ? 100 : 140, T = g ? i ? 104 : 143 : i ? 130 : 180, N = g ? i ? 90 : 130 : i ? 120 : 180, b = g ? i ? "16px" : "32px" : i ? "24px" : "48px", X = g ? i ? "12px" : "32px" : i ? "16px" : "48px", R = Ee(r, O), k = JSON.parse(e.body), $ = k.segments || [], z = e.labels || {}, j = k.mode || ((Fe = k.config) == null ? void 0 : Fe.mode) || "fair", P = ((We = k.config) == null ? void 0 : We.pace) || "normal", U = ((_e = k.config) == null ? void 0 : _e.revealAll) ?? !1, A = ((Oe = k.config) == null ? void 0 : Oe.decorations) ?? !1, I = $.some((ae) => {
704
704
  var J;
705
705
  return (J = ae.images) == null ? void 0 : J.idle;
706
706
  }), {
@@ -710,16 +710,16 @@ const ke = ({
710
710
  showResultScreen: Y,
711
711
  showInlineResult: G,
712
712
  showLoseAnimation: q,
713
- hasEntered: N,
714
- flippedCards: Q,
713
+ hasEntered: V,
714
+ flippedCards: Z,
715
715
  crossfadedCards: oe,
716
716
  revealedOtherCards: ce,
717
717
  flipDuration: Xe,
718
- crossfadeDuration: Pe,
719
- loseAnimationDuration: Ue,
718
+ crossfadeDuration: je,
719
+ loseAnimationDuration: Pe,
720
720
  handlePick: Re,
721
721
  handleReset: ge
722
- } = pt({ segments: $, mode: P, pace: U, revealAll: j }), ze = () => /* @__PURE__ */ w(re, { children: [
722
+ } = pt({ segments: $, mode: j, pace: P, revealAll: U }), ze = () => /* @__PURE__ */ w(re, { children: [
723
723
  A && /* @__PURE__ */ t(
724
724
  Ge,
725
725
  {
@@ -919,7 +919,7 @@ const ke = ({
919
919
  mt: h.lg,
920
920
  mx: "auto",
921
921
  display: "grid",
922
- gridTemplateColumns: I ? `repeat(3, ${H}px)` : `repeat(3, ${B}px)`,
922
+ gridTemplateColumns: I ? `repeat(3, ${N}px)` : `repeat(3, ${B}px)`,
923
923
  rowGap: b,
924
924
  columnGap: X,
925
925
  justifyContent: "center",
@@ -928,7 +928,7 @@ const ke = ({
928
928
  perspective: "1200px"
929
929
  },
930
930
  children: (ee ?? $).map((ae, J) => {
931
- const be = `card-${J}`, de = v !== null, Be = Q.has(be), me = ce.has(be), je = de && !Be && !me, De = oe.has(be), Ye = de && !De && !me;
931
+ const be = `card-${J}`, de = v !== null, Be = Z.has(be), me = ce.has(be), Ue = de && !Be && !me, De = oe.has(be), Ye = de && !De && !me;
932
932
  return /* @__PURE__ */ t(
933
933
  m,
934
934
  {
@@ -937,8 +937,8 @@ const ke = ({
937
937
  justifyContent: "center",
938
938
  alignItems: "center",
939
939
  // Staggered deal-in entrance
940
- opacity: N ? 1 : 0,
941
- transform: N ? "translateY(0) scale(1) rotateX(0deg)" : "translateY(30px) scale(0.9) rotateX(10deg)",
940
+ opacity: V ? 1 : 0,
941
+ transform: V ? "translateY(0) scale(1) rotateX(0deg)" : "translateY(30px) scale(0.9) rotateX(10deg)",
942
942
  transition: `all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) ${J * 100}ms`
943
943
  },
944
944
  children: I ? /* @__PURE__ */ t(
@@ -952,9 +952,9 @@ const ke = ({
952
952
  isOtherRevealed: me,
953
953
  shouldDim: Ye,
954
954
  isRevealed: de,
955
- hasEntered: N,
956
- objectSize: H,
957
- crossfadeDuration: Pe,
955
+ hasEntered: V,
956
+ objectSize: N,
957
+ crossfadeDuration: je,
958
958
  isStandard: f,
959
959
  primaryColor: r,
960
960
  dangerColor: d,
@@ -968,14 +968,14 @@ const ke = ({
968
968
  selectedSegment: v,
969
969
  isFlipped: Be,
970
970
  isOtherRevealed: me,
971
- shouldDim: je,
971
+ shouldDim: Ue,
972
972
  isRevealed: de,
973
973
  showLoseAnimation: q,
974
- hasEntered: N,
974
+ hasEntered: V,
975
975
  cardWidth: B,
976
976
  cardHeight: T,
977
977
  flipDuration: Xe,
978
- loseAnimationDuration: Ue,
978
+ loseAnimationDuration: Pe,
979
979
  cardBaseColor: E,
980
980
  shimmerColor: M,
981
981
  primaryColor: r,
@@ -1305,14 +1305,14 @@ const ke = ({
1305
1305
  enableReset: s = !1,
1306
1306
  defaultImagePlaceholderUrl: a
1307
1307
  }) => {
1308
- var f, L, V, W, B, T, H, b, X, R, k, $, z, P, U, j, A, I, v;
1309
- const { t: r } = se(), x = K(), o = $e(), c = xe(), d = ((f = e.branding) == null ? void 0 : f.colors) || null, n = (L = e.branding) == null ? void 0 : L.images, l = x ? (n == null ? void 0 : n.mobile_background_image) || (n == null ? void 0 : n.background_image) || "" : (n == null ? void 0 : n.background_image) || "", F = x ? (n == null ? void 0 : n.mobile_logo) || (n == null ? void 0 : n.main_logo) || "" : (n == null ? void 0 : n.main_logo) || "", O = a || (x ? Ve : He), p = l || pe(
1308
+ var f, L, H, W, B, T, N, b, X, R, k, $, z, j, P, U, A, I, v;
1309
+ const { t: r } = se(), x = K(), o = $e(), c = xe(), d = ((f = e.branding) == null ? void 0 : f.colors) || null, n = (L = e.branding) == null ? void 0 : L.images, l = x ? (n == null ? void 0 : n.mobile_background_image) || (n == null ? void 0 : n.background_image) || "" : (n == null ? void 0 : n.background_image) || "", F = x ? (n == null ? void 0 : n.mobile_logo) || (n == null ? void 0 : n.main_logo) || "" : (n == null ? void 0 : n.main_logo) || "", O = a || (x ? He : Ne), p = l || pe(
1310
1310
  {
1311
1311
  images: e.images,
1312
1312
  imagePlaceholder: O
1313
1313
  },
1314
1314
  fe.OVERLAY
1315
- ), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((T = (B = (W = (V = o.colorSchemes) == null ? void 0 : V.light) == null ? void 0 : W.palette) == null ? void 0 : B.primary) == null ? void 0 : T.plainColor), u = (R = (X = (b = (H = o.colorSchemes) == null ? void 0 : H.light) == null ? void 0 : b.palette) == null ? void 0 : X.primary) == null ? void 0 : R.onPrimary, _ = (d == null ? void 0 : d.background_color) || (($ = (k = o.colorSchemes) == null ? void 0 : k.dark) == null ? void 0 : $.surfaceVariant), y = (j = (U = (P = (z = o.colorSchemes) == null ? void 0 : z.light) == null ? void 0 : P.palette) == null ? void 0 : U.danger) == null ? void 0 : j.plainColor, h = o.customFontFamily.dark.primary, C = o.customRadius.dark.md, E = (I = (A = o.customRadius) == null ? void 0 : A.light) == null ? void 0 : I.xl, M = Le({
1315
+ ), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((T = (B = (W = (H = o.colorSchemes) == null ? void 0 : H.light) == null ? void 0 : W.palette) == null ? void 0 : B.primary) == null ? void 0 : T.plainColor), u = (R = (X = (b = (N = o.colorSchemes) == null ? void 0 : N.light) == null ? void 0 : b.palette) == null ? void 0 : X.primary) == null ? void 0 : R.onPrimary, _ = (d == null ? void 0 : d.background_color) || (($ = (k = o.colorSchemes) == null ? void 0 : k.dark) == null ? void 0 : $.surfaceVariant), y = (U = (P = (j = (z = o.colorSchemes) == null ? void 0 : z.light) == null ? void 0 : j.palette) == null ? void 0 : P.danger) == null ? void 0 : U.plainColor, h = o.customFontFamily.dark.primary, C = o.customRadius.dark.md, E = (I = (A = o.customRadius) == null ? void 0 : A.light) == null ? void 0 : I.xl, M = Le({
1316
1316
  spacingScale: c,
1317
1317
  mdBorderRadius: C,
1318
1318
  contentBgColor: _,
@@ -1468,14 +1468,14 @@ const ke = ({
1468
1468
  enableReset: s = !1,
1469
1469
  defaultImagePlaceholderUrl: a
1470
1470
  }) => {
1471
- var L, V, W, B, T, H, b, X, R, k, $, z, P, U, j, A, I, v, ee, te, Y, G, q, N, Q, oe, ce;
1472
- const { t: r } = se(), x = K(), o = $e(), c = xe(), d = ((L = e.branding) == null ? void 0 : L.colors) || null, n = (V = e.branding) == null ? void 0 : V.images, l = x ? (n == null ? void 0 : n.mobile_background_image) || (n == null ? void 0 : n.background_image) || "" : (n == null ? void 0 : n.background_image) || "", F = x ? (n == null ? void 0 : n.mobile_logo) || (n == null ? void 0 : n.main_logo) || "" : (n == null ? void 0 : n.main_logo) || "", O = a || (x ? Ve : He), p = l || pe(
1471
+ var L, H, W, B, T, N, b, X, R, k, $, z, j, P, U, A, I, v, ee, te, Y, G, q, V, Z, oe, ce;
1472
+ const { t: r } = se(), x = K(), o = $e(), c = xe(), d = ((L = e.branding) == null ? void 0 : L.colors) || null, n = (H = e.branding) == null ? void 0 : H.images, l = x ? (n == null ? void 0 : n.mobile_background_image) || (n == null ? void 0 : n.background_image) || "" : (n == null ? void 0 : n.background_image) || "", F = x ? (n == null ? void 0 : n.mobile_logo) || (n == null ? void 0 : n.main_logo) || "" : (n == null ? void 0 : n.main_logo) || "", O = a || (x ? He : Ne), p = l || pe(
1473
1473
  {
1474
1474
  images: e.images,
1475
1475
  imagePlaceholder: O
1476
1476
  },
1477
1477
  fe.OVERLAY
1478
- ), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((H = (T = (B = (W = o.colorSchemes) == null ? void 0 : W.light) == null ? void 0 : B.palette) == null ? void 0 : T.primary) == null ? void 0 : H.plainColor), u = (d == null ? void 0 : d.secondary_color) || ((k = (R = (X = (b = o.colorSchemes) == null ? void 0 : b.light) == null ? void 0 : X.palette) == null ? void 0 : R.danger) == null ? void 0 : k.plainColor), _ = (U = (P = (z = ($ = o.colorSchemes) == null ? void 0 : $.light) == null ? void 0 : z.palette) == null ? void 0 : P.primary) == null ? void 0 : U.onPrimary, y = (d == null ? void 0 : d.background_color) || ((A = (j = o.colorSchemes) == null ? void 0 : j.dark) == null ? void 0 : A.surfaceVariant), h = (te = (ee = (v = (I = o.colorSchemes) == null ? void 0 : I.light) == null ? void 0 : v.palette) == null ? void 0 : ee.danger) == null ? void 0 : te.plainColor, C = o.customFontFamily.dark.primary, E = o.customRadius.dark.md, M = (G = (Y = o.customRadius) == null ? void 0 : Y.light) == null ? void 0 : G.xl, f = Le({
1478
+ ), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((N = (T = (B = (W = o.colorSchemes) == null ? void 0 : W.light) == null ? void 0 : B.palette) == null ? void 0 : T.primary) == null ? void 0 : N.plainColor), u = (d == null ? void 0 : d.secondary_color) || ((k = (R = (X = (b = o.colorSchemes) == null ? void 0 : b.light) == null ? void 0 : X.palette) == null ? void 0 : R.danger) == null ? void 0 : k.plainColor), _ = (P = (j = (z = ($ = o.colorSchemes) == null ? void 0 : $.light) == null ? void 0 : z.palette) == null ? void 0 : j.primary) == null ? void 0 : P.onPrimary, y = (d == null ? void 0 : d.background_color) || ((A = (U = o.colorSchemes) == null ? void 0 : U.dark) == null ? void 0 : A.surfaceVariant), h = (te = (ee = (v = (I = o.colorSchemes) == null ? void 0 : I.light) == null ? void 0 : v.palette) == null ? void 0 : ee.danger) == null ? void 0 : te.plainColor, C = o.customFontFamily.dark.primary, E = o.customRadius.dark.md, M = (G = (Y = o.customRadius) == null ? void 0 : Y.light) == null ? void 0 : G.xl, f = Le({
1479
1479
  spacingScale: c,
1480
1480
  mdBorderRadius: E,
1481
1481
  contentBgColor: y,
@@ -1500,7 +1500,7 @@ const ke = ({
1500
1500
  finalImage: p,
1501
1501
  children: [
1502
1502
  /* @__PURE__ */ t(m, { sx: f.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
1503
- Ne,
1503
+ Ve,
1504
1504
  {
1505
1505
  infoPage: e,
1506
1506
  enableReset: s,
@@ -1523,7 +1523,7 @@ const ke = ({
1523
1523
  brandingLogo: F,
1524
1524
  textColor: S,
1525
1525
  label: ((q = e.labels) == null ? void 0 : q.sponsor) || null,
1526
- primaryUrl: (Q = (N = e.branding) == null ? void 0 : N.urls) == null ? void 0 : Q.primary_url,
1526
+ primaryUrl: (Z = (V = e.branding) == null ? void 0 : V.urls) == null ? void 0 : Z.primary_url,
1527
1527
  secondaryUrl: (ce = (oe = e.branding) == null ? void 0 : oe.urls) == null ? void 0 : ce.secondary_url
1528
1528
  }
1529
1529
  )
@@ -1541,7 +1541,7 @@ const ke = ({
1541
1541
  }
1542
1542
  return e.language || "en";
1543
1543
  }, [r, x] = qe(!1);
1544
- if (Qe(() => {
1544
+ if (Ze(() => {
1545
1545
  const o = a();
1546
1546
  tt(o).then(() => x(!0));
1547
1547
  }, [e.language, s]), !s || !r)
@@ -1584,10 +1584,10 @@ const ke = ({
1584
1584
  }
1585
1585
  return e.variant === ne.PENALTY_SHOOTOUT ? /* @__PURE__ */ t(ye, { infoPage: s }) : e.variant === ne.PICK_ONE_OF_X ? /* @__PURE__ */ t(yt, { infoPage: s }) : /* @__PURE__ */ t(vt, { infoPage: s });
1586
1586
  }, _t = (e) => {
1587
- const [s, a] = Z.useState(!1), r = Z.useRef(
1587
+ const [s, a] = Q.useState(!1), r = Q.useRef(
1588
1588
  `chance-game-shadow-root-${Math.random().toString(36).substring(2, 11)}`
1589
- ), x = Z.useRef(null), o = Z.useRef(null), c = Z.useRef(null), d = Z.useRef(null);
1590
- Z.useEffect(() => {
1589
+ ), x = Q.useRef(null), o = Q.useRef(null), c = Q.useRef(null), d = Q.useRef(null);
1590
+ Q.useEffect(() => {
1591
1591
  if (x.current)
1592
1592
  return x.current.shadowRoot ? (o.current = x.current.shadowRoot, c.current = o.current.getElementById(
1593
1593
  r.current
@@ -1627,7 +1627,7 @@ const ke = ({
1627
1627
  F,
1628
1628
  O
1629
1629
  ] });
1630
- }, Ot = (e) => /* @__PURE__ */ t(_t, { ...e, children: /* @__PURE__ */ t(Wt, { ...e }) }), Ht = Ot;
1630
+ }, Ot = (e) => /* @__PURE__ */ t(_t, { ...e, children: /* @__PURE__ */ t(Wt, { ...e }) }), Nt = Ot;
1631
1631
  export {
1632
- Ht as ChanceGame
1632
+ Nt as ChanceGame
1633
1633
  };
@@ -1,22 +1,24 @@
1
1
  import { jsxs as E, Fragment as T, jsx as i } from "react/jsx-runtime";
2
2
  import x2, { useState as b, useEffect as m2, useCallback as c0, useRef as r0, useMemo as M2 } from "react";
3
- import { f as X, B as l, g as r2, u as D, r as _, q as C2, R as G2, h as u2, T as B, O as p, Y as q2, Z as P2, V as Z2, W as Z, Q as q, av as I0, a0 as Q0, d as E0, J as l0, i as h0 } from "./chunks/PrizeCard-BA91wVwM.js";
4
- import { P as B0 } from "./chunks/Portal-kFrc-yUh.js";
5
- import { g as d0, e as V2, h as F2, s as u0, k as w0, a as n0, j as S0 } from "./chunks/helpers-M2Nr9YsG.js";
6
- import { S as y0 } from "./chunks/Spinner-Cc2zWDFx.js";
3
+ import { m as X, B as l, n as r2, k as D, t as _, r as C2, a0 as G2, o as u2, T as B, Z as p, a5 as q2, a6 as P2, ab as Z2, W as Z, $ as q, at as I0, ae as Q0, c as E0, Y as l0, i as h0 } from "./chunks/PrizeCard-9vHGuVOX.js";
4
+ import { P as B0 } from "./chunks/Portal-4P2PknJu.js";
7
5
  import "react-dom";
8
- import { S as D0, a as m0, b as g0, C as $2, c as e0 } from "./chunks/ChanceGameEmbedVariant-BqSL2q5j.js";
9
- import { H as k0, a as W2, R as O2, A as v2, O as C0, S as a0 } from "./chunks/index-BuUWjKja.js";
10
- import { A as k2, O as R0 } from "./chunks/ArrowRightAlt-DDfv44Cb.js";
11
- import { A as y2, O as f0, S as K0, N as F0 } from "./chunks/NotFoundSkeleton-C2qREw63.js";
12
- import { b as L2, d as w2, a as S2, u as E2 } from "./chunks/useImageVariant-DS9F3PjS.js";
13
- import { T as V0 } from "./chunks/TimerOutlined-1cB7d7fO.js";
14
- import { C as x0 } from "./chunks/CollectLeadForm-DWGJcFYk.js";
15
- import { T as L0, a as Y0, b as i0, t as A0, c as t0 } from "./chunks/Tabs-CZ6IMQcC.js";
16
- import { C as H0 } from "./chunks/CheckCircle-DI3T1yc_.js";
17
- import { a as U0, S as J0, I as M0, W as W0 } from "./chunks/AlertMessage-BwK1nhhq.js";
18
- import { S as G0, O as q0, a as P0, b as Z0 } from "./chunks/OverlayLeadAfterCollection-CZ9P-B_i.js";
19
- import { S as O0, a as v0 } from "./chunks/SplitLeadAfterCollection-CkxYL7KZ.js";
6
+ import { g as d0, e as V2, h as F2, s as u0, k as w0, a as n0, j as S0 } from "./chunks/helpers-DyGJ163I.js";
7
+ import { S as y0 } from "./chunks/Spinner-Bx3PvLc8.js";
8
+ import { S as D0, a as m0, b as g0, C as $2, c as e0 } from "./chunks/ChanceGameEmbedVariant-BcDObsQE.js";
9
+ import { x as k0, v as W2 } from "./chunks/index-B2OgR4TV.js";
10
+ import { A as k2, O as R0 } from "./chunks/ArrowRightAlt-C0AXuIst.js";
11
+ import { A as y2, O as f0, S as K0, N as F0 } from "./chunks/NotFoundSkeleton-Coe8XWvc.js";
12
+ import { b as L2, d as w2, a as S2, u as E2 } from "./chunks/useImageVariant-BnDg20-v.js";
13
+ import { T as V0 } from "./chunks/TimerOutlined-y83V0xbY.js";
14
+ import { C as x0 } from "./chunks/CollectLeadForm-2qL5vJFj.js";
15
+ import { R as O2, A as v2, O as C0, S as a0 } from "./chunks/OverlayApiErrorSkeleton-HhJfCkat.js";
16
+ import { T as L0, a as Y0, b as i0, t as A0, c as t0 } from "./chunks/Tabs-BA00KgP5.js";
17
+ import { C as H0 } from "./chunks/CheckCircle-Dy3mN2eT.js";
18
+ import { a as U0, I as J0, W as M0 } from "./chunks/AlertMessage-64RCwEsh.js";
19
+ import { S as W0 } from "./chunks/Stack-DoM9YeDC.js";
20
+ import { S as G0, O as q0, a as P0, b as Z0 } from "./chunks/OverlayLeadAfterCollection-93JuvCCE.js";
21
+ import { S as O0, a as v0 } from "./chunks/SplitLeadAfterCollection-CEaElvyX.js";
20
22
  const p0 = (e) => ({
21
23
  // Image container (left position)
22
24
  imageContainerLeft: {
@@ -2460,9 +2462,9 @@ const p0 = (e) => ({
2460
2462
  case "success":
2461
2463
  return /* @__PURE__ */ i(H0, {});
2462
2464
  case "error":
2463
- return /* @__PURE__ */ i(W0, { sx: { color: t } });
2465
+ return /* @__PURE__ */ i(M0, { sx: { color: t } });
2464
2466
  case "info":
2465
- return /* @__PURE__ */ i(M0, {});
2467
+ return /* @__PURE__ */ i(J0, {});
2466
2468
  }
2467
2469
  }, ne = (e) => {
2468
2470
  switch (e) {
@@ -2496,7 +2498,7 @@ const p0 = (e) => ({
2496
2498
  "--Icon-fontSize": "1.25em"
2497
2499
  },
2498
2500
  children: /* @__PURE__ */ E(
2499
- J0,
2501
+ W0,
2500
2502
  {
2501
2503
  sx: {
2502
2504
  fontSize: "1.5em"
@@ -4851,7 +4853,7 @@ const ze = (e) => {
4851
4853
  );
4852
4854
  }
4853
4855
  return c2();
4854
- }, Xe = (e) => /* @__PURE__ */ i(B0, { packageName: "classic-quiz-play", ...e, children: /* @__PURE__ */ i(ze, { ...e }) }), Ii = Xe;
4856
+ }, Xe = (e) => /* @__PURE__ */ i(B0, { packageName: "classic-quiz-play", ...e, children: /* @__PURE__ */ i(ze, { ...e }) }), Ei = Xe;
4855
4857
  export {
4856
- Ii as ClassicQuizPlay
4858
+ Ei as ClassicQuizPlay
4857
4859
  };
package/CollectLead.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { jsx as n, jsxs as g, Fragment as r } from "react/jsx-runtime";
2
2
  import { createContext as ce } from "react";
3
- import { q as Y, f as Q, B as o, T as u, O as de, Y as J, g as K, h as X, J as Z, W as w, r as U, u as h, R as se } from "./chunks/PrizeCard-BA91wVwM.js";
4
- import { P as me } from "./chunks/Portal-kFrc-yUh.js";
3
+ import { r as Y, m as Q, B as o, T as u, Z as de, a5 as Z, n as J, o as K, Y as X, W as w, t as U, k as h, a0 as me } from "./chunks/PrizeCard-9vHGuVOX.js";
4
+ import { P as se } from "./chunks/Portal-4P2PknJu.js";
5
5
  import "react-dom";
6
- import { g as ge, a as xe, h as oe } from "./chunks/helpers-M2Nr9YsG.js";
7
- import { d as le, a as ae, u as ee } from "./chunks/useImageVariant-DS9F3PjS.js";
8
- import { C as fe } from "./chunks/CollectLeadForm-DWGJcFYk.js";
6
+ import { g as ge, a as xe, h as oe } from "./chunks/helpers-DyGJ163I.js";
7
+ import { d as le, a as ae, u as ee } from "./chunks/useImageVariant-BnDg20-v.js";
8
+ import { C as fe } from "./chunks/CollectLeadForm-2qL5vJFj.js";
9
9
  const te = (e) => {
10
- const i = Y().secondary, s = Q(), a = ge(e.primaryUrl, e.secondaryUrl, "logo");
10
+ const i = Y().secondary, m = Q(), a = ge(e.primaryUrl, e.secondaryUrl, "logo");
11
11
  if (!e.brandingLogo)
12
12
  return null;
13
13
  const d = () => {
@@ -47,7 +47,7 @@ const te = (e) => {
47
47
  children: t
48
48
  }
49
49
  ) : t;
50
- return s ? /* @__PURE__ */ g(
50
+ return m ? /* @__PURE__ */ g(
51
51
  o,
52
52
  {
53
53
  sx: {
@@ -118,7 +118,7 @@ const te = (e) => {
118
118
  }), ye = ({
119
119
  shadowRootElement: e,
120
120
  phoneCountryCode: i,
121
- images: s,
121
+ images: m,
122
122
  content: a,
123
123
  campaign: d,
124
124
  branding: t,
@@ -138,7 +138,7 @@ const te = (e) => {
138
138
  value: {
139
139
  shadowRootElement: e,
140
140
  phoneCountryCode: i,
141
- images: s,
141
+ images: m,
142
142
  content: a,
143
143
  campaign: d,
144
144
  branding: t,
@@ -157,7 +157,7 @@ const te = (e) => {
157
157
  ), ne = () => {
158
158
  const { t: e } = de(), {
159
159
  sdk: i,
160
- content: s,
160
+ content: m,
161
161
  branding: a,
162
162
  campaign: d,
163
163
  labels: t,
@@ -166,7 +166,7 @@ const te = (e) => {
166
166
  consents: C,
167
167
  customFields: S,
168
168
  syncWithProfile: p = !1
169
- } = J(_), T = {
169
+ } = Z(_), T = {
170
170
  title: t == null ? void 0 : t.formTitle,
171
171
  description: t == null ? void 0 : t.formDescription,
172
172
  fullNameLabel: t == null ? void 0 : t.formFullNameLabel,
@@ -192,7 +192,7 @@ const te = (e) => {
192
192
  fe,
193
193
  {
194
194
  sdk: i,
195
- content: s,
195
+ content: m,
196
196
  onSuccessCta: f,
197
197
  branding: a,
198
198
  campaign: d,
@@ -390,8 +390,8 @@ const te = (e) => {
390
390
  let i = (e == null ? void 0 : e.mainLogo) || null;
391
391
  return Q() && (i = (e == null ? void 0 : e.mobileLogo) || (e == null ? void 0 : e.mainLogo) || null), i;
392
392
  }, be = () => {
393
- var l, $, q, P, R, I, L, D, z, H, v, B, y, m, W, A, G, E;
394
- const e = J(_), i = K(), s = X(), a = Z(
393
+ var l, $, q, P, R, I, L, D, z, H, v, B, y, s, W, A, G, E;
394
+ const e = Z(_), i = J(), m = K(), a = X(
395
395
  w.OVERLAY
396
396
  ), d = Q(), t = he(
397
397
  ((l = e.branding) == null ? void 0 : l.images) || null
@@ -401,8 +401,8 @@ const te = (e) => {
401
401
  imagePlaceholder: f
402
402
  },
403
403
  w.OVERLAY
404
- ), C = xe(b), S = i.colorSchemes.dark.textColor, p = i.customFontFamily.dark.primary, T = i.customFontFamily.dark.secondary, j = i.customRadius.dark.md, N = ($ = i.border) == null ? void 0 : $.dark.size, k = (P = (q = i.colorSchemes) == null ? void 0 : q.dark) == null ? void 0 : P.surfaceVariant, F = (I = (R = i.customRadius) == null ? void 0 : R.light) == null ? void 0 : I.xl, M = (H = (z = (D = (L = i.colorSchemes) == null ? void 0 : L.light) == null ? void 0 : D.palette) == null ? void 0 : z.primary) == null ? void 0 : H.plainColor, V = (m = (y = (B = (v = i.colorSchemes) == null ? void 0 : v.light) == null ? void 0 : B.palette) == null ? void 0 : y.primary) == null ? void 0 : m.onPrimary, c = ue({
405
- spacingScale: s,
404
+ ), C = xe(b), S = i.colorSchemes.dark.textColor, p = i.customFontFamily.dark.primary, T = i.customFontFamily.dark.secondary, j = i.customRadius.dark.md, N = ($ = i.border) == null ? void 0 : $.dark.size, k = (P = (q = i.colorSchemes) == null ? void 0 : q.dark) == null ? void 0 : P.surfaceVariant, F = (I = (R = i.customRadius) == null ? void 0 : R.light) == null ? void 0 : I.xl, M = (H = (z = (D = (L = i.colorSchemes) == null ? void 0 : L.light) == null ? void 0 : D.palette) == null ? void 0 : z.primary) == null ? void 0 : H.plainColor, V = (s = (y = (B = (v = i.colorSchemes) == null ? void 0 : v.light) == null ? void 0 : B.palette) == null ? void 0 : y.primary) == null ? void 0 : s.onPrimary, c = ue({
405
+ spacingScale: m,
406
406
  secondaryColor: S,
407
407
  fontFamilyPrimary: p,
408
408
  fontFamilySecondary: T,
@@ -437,7 +437,7 @@ const te = (e) => {
437
437
  ] })
438
438
  ] });
439
439
  }, re = ({ children: e }) => {
440
- const i = U().md, s = h().surface, a = h().secondaryContainer, t = se().size + " solid " + a;
440
+ const i = U().md, m = h().surface, a = h().secondaryContainer, t = me().size + " solid " + a;
441
441
  return /* @__PURE__ */ n(
442
442
  o,
443
443
  {
@@ -449,7 +449,7 @@ const te = (e) => {
449
449
  overflow: "hidden",
450
450
  minHeight: "250px",
451
451
  borderRadius: i,
452
- background: s,
452
+ background: m,
453
453
  border: t
454
454
  },
455
455
  children: e
@@ -766,13 +766,13 @@ const te = (e) => {
766
766
  }
767
767
  }), Se = (e) => {
768
768
  var P, R, I, L, D, z, H, v, B;
769
- const i = J(_), s = K(), a = e.imagePosition || "left", d = ee(
769
+ const i = Z(_), m = J(), a = e.imagePosition || "left", d = ee(
770
770
  {
771
771
  images: i.images || null,
772
772
  imagePlaceholder: i.defaultImagePlaceholderUrl ? i.defaultImagePlaceholderUrl : ""
773
773
  },
774
774
  w.STANDARD
775
- ), t = Q(), f = t ? ((R = (P = i.branding) == null ? void 0 : P.images) == null ? void 0 : R.mobileLogo) || ((L = (I = i.branding) == null ? void 0 : I.images) == null ? void 0 : L.mainLogo) || "" : ((z = (D = i.branding) == null ? void 0 : D.images) == null ? void 0 : z.mainLogo) || "", b = h().textColor, C = h().textSecondary, S = Y().secondary, p = "60%", T = Y().primary, j = h().surfaceVariant, N = U().md, k = U().sm, F = h().palette.primary.plainColor, M = h().palette.primary.onPrimary, V = U().xl, c = X(), x = Z(
775
+ ), t = Q(), f = t ? ((R = (P = i.branding) == null ? void 0 : P.images) == null ? void 0 : R.mobileLogo) || ((L = (I = i.branding) == null ? void 0 : I.images) == null ? void 0 : L.mainLogo) || "" : ((z = (D = i.branding) == null ? void 0 : D.images) == null ? void 0 : z.mainLogo) || "", b = h().textColor, C = h().textSecondary, S = Y().secondary, p = "60%", T = Y().primary, j = h().surfaceVariant, N = U().md, k = U().sm, F = h().palette.primary.plainColor, M = h().palette.primary.onPrimary, V = U().xl, c = K(), x = X(
776
776
  w.STANDARD
777
777
  ), l = Ce({
778
778
  finalImage: d,
@@ -790,23 +790,23 @@ const te = (e) => {
790
790
  buttonRadius: V,
791
791
  opacity: p,
792
792
  imagePosition: a,
793
- darkTextColor: s.colorSchemes.dark.textColor,
793
+ darkTextColor: m.colorSchemes.dark.textColor,
794
794
  imageBackgroundGradient: x
795
795
  }), $ = (y) => {
796
- var m;
796
+ var s;
797
797
  return /* @__PURE__ */ n(
798
798
  te,
799
799
  {
800
800
  brandingLogo: f,
801
801
  textColor: y,
802
- label: (m = i.labels) == null ? void 0 : m.presentedByLabel
802
+ label: (s = i.labels) == null ? void 0 : s.presentedByLabel
803
803
  }
804
804
  );
805
805
  };
806
806
  return /* @__PURE__ */ g(re, { children: [
807
807
  (() => {
808
- var y, m, W, A, G, E, O, ie;
809
- return t ? d ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithImage, children: (y = i.labels) != null && y.title || (m = i.labels) != null && m.description ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineContent, children: /* @__PURE__ */ g(o, { sx: l.contentContainer, children: [
808
+ var y, s, W, A, G, E, O, ie;
809
+ return t ? d ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithImage, children: (y = i.labels) != null && y.title || (s = i.labels) != null && s.description ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineContent, children: /* @__PURE__ */ g(o, { sx: l.contentContainer, children: [
810
810
  (W = i.labels) != null && W.title ? /* @__PURE__ */ n(u, { sx: l.titleTypographyMobileImage, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
811
811
  (A = i.labels) != null && A.description ? /* @__PURE__ */ n(u, { sx: l.descriptionTypographyMobileImage, children: i.labels.description }) : /* @__PURE__ */ n(r, {})
812
812
  ] }) }) : /* @__PURE__ */ n(r, {}) }) : (G = i.labels) != null && G.title || (E = i.labels) != null && E.description ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithoutImage, children: /* @__PURE__ */ g(o, { sx: l.contentContainer, children: [
@@ -1161,13 +1161,13 @@ const te = (e) => {
1161
1161
  }
1162
1162
  }), Te = () => {
1163
1163
  var q, P, R, I, L, D, z, H, v, B;
1164
- const e = J(_), i = K(), s = Q(), a = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : s ? le : ae, d = ee(
1164
+ const e = Z(_), i = J(), m = Q(), a = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : m ? le : ae, d = ee(
1165
1165
  {
1166
1166
  images: e.images || null,
1167
1167
  imagePlaceholder: a
1168
1168
  },
1169
1169
  w.SPLIT
1170
- ), t = s ? ((P = (q = e.branding) == null ? void 0 : q.images) == null ? void 0 : P.mobileLogo) || ((I = (R = e.branding) == null ? void 0 : R.images) == null ? void 0 : I.mainLogo) || "" : ((D = (L = e.branding) == null ? void 0 : L.images) == null ? void 0 : D.mainLogo) || "", f = h().textColor, b = Y().secondary, C = "60%", S = Y().primary, p = U().xl, T = h().surfaceVariant, j = (H = (z = h().palette) == null ? void 0 : z.primary) == null ? void 0 : H.plainColor, N = (B = (v = h().palette) == null ? void 0 : v.primary) == null ? void 0 : B.onPrimary, k = h().textColor, F = X(), M = U(), V = Z(
1170
+ ), t = m ? ((P = (q = e.branding) == null ? void 0 : q.images) == null ? void 0 : P.mobileLogo) || ((I = (R = e.branding) == null ? void 0 : R.images) == null ? void 0 : I.mainLogo) || "" : ((D = (L = e.branding) == null ? void 0 : L.images) == null ? void 0 : D.mainLogo) || "", f = h().textColor, b = Y().secondary, C = "60%", S = Y().primary, p = U().xl, T = h().surfaceVariant, j = (H = (z = h().palette) == null ? void 0 : z.primary) == null ? void 0 : H.plainColor, N = (B = (v = h().palette) == null ? void 0 : v.primary) == null ? void 0 : B.onPrimary, k = h().textColor, F = K(), M = U(), V = X(
1171
1171
  w.SPLIT
1172
1172
  ), c = oe(T || ""), x = pe({
1173
1173
  finalImage: d,
@@ -1185,21 +1185,21 @@ const te = (e) => {
1185
1185
  darkTextColor: i.colorSchemes.dark.textColor,
1186
1186
  imageBackgroundGradient: V
1187
1187
  }), l = (y) => {
1188
- var m;
1188
+ var s;
1189
1189
  return /* @__PURE__ */ n(
1190
1190
  te,
1191
1191
  {
1192
1192
  brandingLogo: t,
1193
1193
  textColor: y,
1194
- label: (m = e.labels) == null ? void 0 : m.presentedByLabel
1194
+ label: (s = e.labels) == null ? void 0 : s.presentedByLabel
1195
1195
  }
1196
1196
  );
1197
1197
  };
1198
1198
  return /* @__PURE__ */ g(re, { children: [
1199
1199
  (() => {
1200
- var y, m, W, A;
1200
+ var y, s, W, A;
1201
1201
  return /* @__PURE__ */ n(o, { sx: x.headlineSection, children: /* @__PURE__ */ g(o, { sx: x.headlineContent, children: [
1202
- (y = e.labels) != null && y.title || (m = e.labels) != null && m.description ? /* @__PURE__ */ n(o, { children: /* @__PURE__ */ g(o, { sx: x.contentContainer, children: [
1202
+ (y = e.labels) != null && y.title || (s = e.labels) != null && s.description ? /* @__PURE__ */ n(o, { children: /* @__PURE__ */ g(o, { sx: x.contentContainer, children: [
1203
1203
  (W = e.labels) != null && W.title ? /* @__PURE__ */ n(u, { sx: x.pollTitleText, children: e.labels.title }) : /* @__PURE__ */ n(r, {}),
1204
1204
  (A = e.labels) != null && A.description ? /* @__PURE__ */ n(u, { sx: x.pollDescriptionText, children: e.labels.description }) : /* @__PURE__ */ n(r, {})
1205
1205
  ] }) }) : /* @__PURE__ */ n(r, {}),
@@ -1224,7 +1224,7 @@ function ke(e) {
1224
1224
  const Fe = (e) => e.template === w.OVERLAY ? /* @__PURE__ */ n(be, {}) : ke(e) ? /* @__PURE__ */ n(Se, { imagePosition: e.imagePosition || "left" }) : /* @__PURE__ */ n(Te, {}), Pe = (e) => {
1225
1225
  var i;
1226
1226
  return /* @__PURE__ */ n(
1227
- me,
1227
+ se,
1228
1228
  {
1229
1229
  packageName: "collect-lead",
1230
1230
  entityId: ((i = e.content) == null ? void 0 : i.id) || "",