fansunited-frontend-components 0.0.68 → 0.0.69

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 (91) hide show
  1. package/Betslip.js +1 -1
  2. package/ChanceGame.js +66 -66
  3. package/ClassicQuizPlay.js +20 -20
  4. package/CollectLead.js +6 -6
  5. package/Discussion.js +1 -1
  6. package/EitherOrPlay.js +77 -77
  7. package/EventCard.js +4439 -0
  8. package/EventGamePlay.js +29 -27
  9. package/Leaderboard.js +95 -95
  10. package/MatchQuizPlay.js +208 -207
  11. package/PersonalityQuizPlay.js +19 -19
  12. package/PickThePair.js +9 -9
  13. package/PlayerOfTheMatch.js +20 -20
  14. package/PollVote.js +17 -17
  15. package/Predictor.js +8192 -6359
  16. package/README.md +113 -1
  17. package/Standings.js +231 -251
  18. package/TopX.js +70 -68
  19. package/chunks/{AccessTime-D7JlgCS_.js → AccessTime-7cim24ED.js} +3 -3
  20. package/chunks/{AlertMessage-D-cFYJtj.js → AlertMessage-X4MQ4qsN.js} +14 -14
  21. package/chunks/{ArrowRightAlt-BWEyQ4rF.js → ArrowRightAlt-DrBMgptf.js} +10 -10
  22. package/chunks/{Avatar-BtqTJz-0.js → Avatar-RBMU1Gkk.js} +20 -20
  23. package/chunks/{Button-BPtVuOyn.js → Button-GawVOPKi.js} +59 -76
  24. package/chunks/Card--xcz3SKi.js +195 -0
  25. package/chunks/{CardActions-jWCcpjQr.js → CardActions-CPwvcLGp.js} +19 -19
  26. package/chunks/{CardContent-D776lu64.js → CardContent-Ew6fr-KR.js} +7 -7
  27. package/chunks/{ChanceGameEmbedVariant-CJJnKkOG.js → ChanceGameEmbedVariant-Dio4ihOd.js} +9 -9
  28. package/chunks/CheckCircle-DgKcR_no.js +8 -0
  29. package/chunks/{Chip-isuqGl2h.js → Chip-CYpaygnD.js} +65 -64
  30. package/chunks/{Close-BDwyGxjj.js → Close-CdJNGcLx.js} +1 -1
  31. package/chunks/{Close-DGsfMhw8.js → Close-D2mtuGDo.js} +1 -1
  32. package/chunks/{CollectLeadForm-B1FGVWj4.js → CollectLeadForm-D0P_JHmT.js} +46 -44
  33. package/chunks/{Divider-RJTJH6No.js → Divider-DcW0V71y.js} +7 -7
  34. package/chunks/{Edit-CqpNynUG.js → Edit-Bcj6J4rt.js} +38 -44
  35. package/chunks/EditOutlined-PCc4gafz.js +11 -0
  36. package/chunks/{EmojiEvents-CxftZVbi.js → EmojiEvents-g001ss_z.js} +1 -1
  37. package/chunks/{FavoriteBorder-_0szWv8_.js → FavoriteBorder-Lr6swB6-.js} +1 -1
  38. package/chunks/{FormControl-CvjmoRuK.js → FormControl-BKlK7WPd.js} +24 -24
  39. package/chunks/{CheckCircle-DKzwnhnr.js → FormControlContext-B2HqeXgq.js} +44 -48
  40. package/chunks/{FormLabel-B6QTd99o.js → FormLabel-C47pX5hN.js} +8 -8
  41. package/chunks/InlineSpinner-Imz27zb2.js +28 -0
  42. package/chunks/{Input-BD1363mh.js → Input-nS_KO1Bu.js} +7 -7
  43. package/chunks/{KeyboardArrowDown-Bip53hQC.js → KeyboardArrowDown-CyZAOE-W.js} +3 -3
  44. package/chunks/KeyboardArrowRight-FI0kqwO1.js +11 -0
  45. package/chunks/{Link-B5vthpLg.js → Link-DKU7kDL8.js} +24 -24
  46. package/chunks/{ListItemButton-Dosv66vv.js → ListItemButton-CPVIEVpf.js} +33 -32
  47. package/chunks/{ModalDialog-Dn3_dWTo.js → ModalDialog-DDx8wQa3.js} +57 -56
  48. package/chunks/NotFoundSkeleton-CJZIRj5-.js +1244 -0
  49. package/chunks/{Notification-D20IfSF7.js → Notification-BvVfrrB3.js} +55 -61
  50. package/chunks/{OverlayApiErrorSkeleton-BdzLPy8g.js → OverlayApiErrorSkeleton-JMWA0FV8.js} +16 -16
  51. package/chunks/{OverlayLeadAfterCollection-C-rM0D5V.js → OverlayLeadAfterCollection-BwF9MvIB.js} +10 -10
  52. package/chunks/{OverlayScoreStateSkeleton-ChdCokGv.js → OverlayScoreStateSkeleton-CAhCAjkS.js} +10 -10
  53. package/chunks/{Person-OeVVOCoA.js → Person-DB_bEPcg.js} +1 -1
  54. package/chunks/PersonOutline-BAOtfb1t.js +8 -0
  55. package/chunks/{PickOneOfX-wiZPfKD5.js → PickOneOfX-Dp6fzXJn.js} +3 -3
  56. package/chunks/{Popper-DST5zEgT.js → Popper-Bpy7eYt-.js} +20 -20
  57. package/chunks/{Portal-DJylIbob.js → Portal-Dvh4m8kk.js} +4 -4
  58. package/chunks/{Portal-CVkKDGuY.js → Portal-bNE7Trh9.js} +8 -8
  59. package/chunks/{PrizeCard-DlK8irk1.js → PrizeCard-CXjFADAN.js} +279 -41
  60. package/chunks/{Search-B4FMXDHP.js → Search-uVJw-NhK.js} +1 -1
  61. package/chunks/{Select-DOCvesLO.js → Select-BeixD4Vw.js} +100 -99
  62. package/chunks/{Sheet-Co4lPFez.js → Sheet-vOgATocO.js} +15 -15
  63. package/chunks/{Spinner-00hTC1QH.js → Spinner-C219bcnm.js} +2 -2
  64. package/chunks/{SplitLeadAfterCollection-BUX0MjWC.js → SplitLeadAfterCollection-BijLacCk.js} +6 -6
  65. package/chunks/{Stack-CB_N08X-.js → Stack-JIDLCVx0.js} +18 -18
  66. package/chunks/{StandardContentSkeleton-0vB361fl.js → StandardContentSkeleton-DsGBNMHN.js} +1 -1
  67. package/chunks/{Table-Damdp0vr.js → Table-Cx7htUDp.js} +5 -5
  68. package/chunks/{Tabs-CiKqMnto.js → Tabs-CIJK8YZY.js} +23 -22
  69. package/chunks/{Textarea-BuSqmmKr.js → Textarea-KSwIUuq8.js} +37 -37
  70. package/chunks/{TimerOutlined-DC5foG2M.js → TimerOutlined-BUL4BZFp.js} +3 -3
  71. package/chunks/Tooltip-DrP2vx9i.js +534 -0
  72. package/chunks/Typography-DFdgIDQS.js +1429 -0
  73. package/chunks/dividerClasses-BtSFa36Z.js +9 -0
  74. package/chunks/elementAcceptingRef-CZFKGdxR.js +25 -0
  75. package/chunks/getReactElementRef-B3MFPBbS.js +21 -0
  76. package/chunks/{helpers-DQsdRliV.js → helpers-D8cWUfGf.js} +1 -1
  77. package/chunks/{index-B2VYQmtm.js → index-DZqXLvFO.js} +198 -204
  78. package/chunks/index-JDeYpSi1.js +4 -0
  79. package/chunks/{main-DSGHgdtY.js → main-C05CZWMa.js} +142 -141
  80. package/chunks/{main-D7MsMIjF.js → main-CHr45Z4W.js} +34 -34
  81. package/chunks/{ownerWindow-DbqHERs5.js → ownerWindow-PI509BpA.js} +1 -1
  82. package/chunks/useButton-tjUHKc-B.js +105 -0
  83. package/chunks/{useEventCallback-BDs4A_JZ.js → useEventCallback-BFPi8YtI.js} +1 -1
  84. package/chunks/{useForwardedInput-WirbkSwI.js → useForwardedInput-VvmRv9KU.js} +3 -3
  85. package/chunks/{useImageVariant-DMs19-UC.js → useImageVariant-Cs6lWUs2.js} +1 -1
  86. package/index.js +43 -1858
  87. package/package.json +2 -2
  88. package/chunks/Card-24cIw_HU.js +0 -217
  89. package/chunks/NotFoundSkeleton-T4NKrhfx.js +0 -1770
  90. package/chunks/Typography-BFCXsYfo.js +0 -1529
  91. package/chunks/index-CFw8sMh-.js +0 -4
package/Betslip.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M as o } from "./chunks/main-D7MsMIjF.js";
1
+ import { M as o } from "./chunks/main-CHr45Z4W.js";
2
2
  const i = o;
3
3
  export {
4
4
  i as Betslip
package/ChanceGame.js CHANGED
@@ -1,15 +1,15 @@
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-DQsdRliV.js";
2
+ import { h as Ce, g as Je, l as Ke } from "./chunks/helpers-D8cWUfGf.js";
3
3
  import Z, { useState as qe, useEffect as Qe } from "react";
4
- import { l as K, o as Ze, c as ve, a as ie, k as Se, B as m, u as se, H as ue, b as we, e as xe, F as Te, W as fe, j as $e, t as et, i as tt, A as ne, f as ot, C as nt, g as rt, E as lt, h as it } from "./chunks/PrizeCard-DlK8irk1.js";
5
- import { S as at } from "./chunks/Spinner-00hTC1QH.js";
4
+ import { i as K, h as Ze, c as ve, b as ie, e as Se, B as m, u as se, F as ue, d as we, f as xe, x as Te, W as fe, a as $e, o as et, n as tt, v as ne, y as ot, z as nt, A as rt, E as lt, D as it } from "./chunks/PrizeCard-CXjFADAN.js";
5
+ import { S as at } from "./chunks/Spinner-C219bcnm.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-T4NKrhfx.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-wiZPfKD5.js";
10
- import { b as pe, d as He, a as Ne } from "./chunks/useImageVariant-DMs19-UC.js";
11
- import { T as D } from "./chunks/Typography-BFCXsYfo.js";
12
- import { B as he } from "./chunks/Button-BPtVuOyn.js";
8
+ import { N as dt, S as Ae, O as Ie } from "./chunks/NotFoundSkeleton-CJZIRj5-.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-Dp6fzXJn.js";
10
+ import { b as pe, d as He, a as Ne } from "./chunks/useImageVariant-Cs6lWUs2.js";
11
+ import { T as D } from "./chunks/Typography-DFdgIDQS.js";
12
+ import { B as he } from "./chunks/Button-GawVOPKi.js";
13
13
  const ke = ({
14
14
  children: e,
15
15
  brandingBorderColor: s,
@@ -55,7 +55,7 @@ const ke = ({
55
55
  dangerColor: d,
56
56
  brandingLogo: n,
57
57
  isDark: l = !1,
58
- showTitleBlock: z = !1,
58
+ showTitleBlock: F = !1,
59
59
  variant: O
60
60
  }) => {
61
61
  var G, q, V;
@@ -67,10 +67,10 @@ const ke = ({
67
67
  showResultScreen: R,
68
68
  showInlineResult: k,
69
69
  hasEntered: $,
70
- confettiActive: F,
71
- spinDuration: j,
72
- shakeAnimationDuration: P,
73
- confettiVelocityMultiplier: U,
70
+ confettiActive: z,
71
+ spinDuration: P,
72
+ shakeAnimationDuration: U,
73
+ confettiVelocityMultiplier: j,
74
74
  confettiGravity: A,
75
75
  handleSpin: I,
76
76
  handleReset: v,
@@ -87,9 +87,9 @@ const ke = ({
87
87
  /* @__PURE__ */ t(
88
88
  ut,
89
89
  {
90
- active: F,
90
+ active: z,
91
91
  primaryColor: r,
92
- velocityMultiplier: U,
92
+ velocityMultiplier: j,
93
93
  gravity: A,
94
94
  onComplete: ee
95
95
  }
@@ -109,7 +109,7 @@ const ke = ({
109
109
  }
110
110
  ),
111
111
  !R && /* @__PURE__ */ w(re, { children: [
112
- z && (e.title || e.subtitle) && /* @__PURE__ */ w(
112
+ F && (e.title || e.subtitle) && /* @__PURE__ */ w(
113
113
  m,
114
114
  {
115
115
  sx: {
@@ -250,7 +250,7 @@ const ke = ({
250
250
  display: "flex",
251
251
  alignItems: "center",
252
252
  justifyContent: "center",
253
- cursor: T || F || k || !R && !k && b !== null ? "default" : "pointer",
253
+ cursor: T || z || k || !R && !k && b !== null ? "default" : "pointer",
254
254
  userSelect: "none",
255
255
  zIndex: 1,
256
256
  // Entrance animation
@@ -258,7 +258,7 @@ const ke = ({
258
258
  transform: $ ? "scale(1)" : "scale(0.85)",
259
259
  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)",
260
260
  // Shake animation
261
- animation: X ? `wheelShake ${P / 2}ms ease-in-out 2` : "none",
261
+ animation: X ? `wheelShake ${U / 2}ms ease-in-out 2` : "none",
262
262
  "@keyframes wheelShake": {
263
263
  "0%, 100%": { transform: "translateX(0)" },
264
264
  "10%, 30%, 50%, 70%, 90%": { transform: "translateX(-8px)" },
@@ -289,7 +289,7 @@ const ke = ({
289
289
  isStandard: y,
290
290
  rotation: N,
291
291
  isSpinning: T,
292
- spinDuration: j
292
+ spinDuration: P
293
293
  }
294
294
  ),
295
295
  !y && !h && n && /* @__PURE__ */ t(
@@ -360,7 +360,7 @@ const ke = ({
360
360
  he,
361
361
  {
362
362
  variant: "soft",
363
- disabled: T || F || !R && !k && b !== null,
363
+ disabled: T || z || !R && !k && b !== null,
364
364
  onClick: I,
365
365
  sx: {
366
366
  borderRadius: g.xl,
@@ -650,7 +650,7 @@ const ke = ({
650
650
  imagePlaceholder: r || ""
651
651
  },
652
652
  fe.STANDARD
653
- ), l = (u = e.branding) == null ? void 0 : u.colors, z = (l == null ? void 0 : l.primary_color) || c.palette.primary.plainColor, O = (l == null ? void 0 : l.secondary_color) || c.palette.danger.plainColor, p = (l == null ? void 0 : l.border_color) || null, S = (l == null ? void 0 : l.background_color) || c.surfaceVariant || "", g = (_ = e.branding) == null ? void 0 : _.images, i = o ? (g == null ? void 0 : g.mobile_logo) || (g == null ? void 0 : g.main_logo) || "" : (g == null ? void 0 : g.main_logo) || "";
653
+ ), l = (u = e.branding) == null ? void 0 : u.colors, F = (l == null ? void 0 : l.primary_color) || c.palette.primary.plainColor, O = (l == null ? void 0 : l.secondary_color) || c.palette.danger.plainColor, p = (l == null ? void 0 : l.border_color) || null, S = (l == null ? void 0 : l.background_color) || c.surfaceVariant || "", g = (_ = e.branding) == null ? void 0 : _.images, i = o ? (g == null ? void 0 : g.mobile_logo) || (g == null ? void 0 : g.main_logo) || "" : (g == null ? void 0 : g.main_logo) || "";
654
654
  return /* @__PURE__ */ t(ke, { brandingBorderColor: p, children: /* @__PURE__ */ t(
655
655
  Ae,
656
656
  {
@@ -669,13 +669,13 @@ const ke = ({
669
669
  infoPage: e,
670
670
  enableReset: s,
671
671
  contentColor: (l == null ? void 0 : l.content_color) || c.textColor,
672
- primaryColor: z,
672
+ primaryColor: F,
673
673
  secondaryColor: O,
674
674
  onPrimaryColor: c.palette.primary.onPrimary,
675
675
  borderColor: p || void 0,
676
676
  backgroundColor: S,
677
677
  dangerColor: c.palette.danger.plainColor,
678
- shimmerColor: z,
678
+ shimmerColor: F,
679
679
  brandingLogo: i,
680
680
  isDark: d,
681
681
  showTitleBlock: !1,
@@ -695,14 +695,14 @@ const ke = ({
695
695
  dangerColor: d,
696
696
  cardBaseColor: n,
697
697
  shimmerColor: l,
698
- brandingLogo: z = "",
698
+ brandingLogo: F = "",
699
699
  isDark: O = !1,
700
700
  showTitleBlock: p = !1,
701
701
  variant: S,
702
702
  compactCards: g = !1
703
703
  }) => {
704
- var ze, We, _e, Oe;
705
- 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 || [], F = e.labels || {}, j = k.mode || ((ze = k.config) == null ? void 0 : ze.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
+ var Fe, We, _e, Oe;
705
+ 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 || {}, 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) => {
706
706
  var J;
707
707
  return (J = ae.images) == null ? void 0 : J.idle;
708
708
  }), {
@@ -717,11 +717,11 @@ const ke = ({
717
717
  crossfadedCards: oe,
718
718
  revealedOtherCards: ce,
719
719
  flipDuration: Xe,
720
- crossfadeDuration: je,
721
- loseAnimationDuration: Pe,
720
+ crossfadeDuration: Pe,
721
+ loseAnimationDuration: Ue,
722
722
  handlePick: Re,
723
723
  handleReset: ge
724
- } = pt({ segments: $, mode: j, pace: P, revealAll: U }), Fe = () => /* @__PURE__ */ w(re, { children: [
724
+ } = pt({ segments: $, mode: P, pace: U, revealAll: j }), ze = () => /* @__PURE__ */ w(re, { children: [
725
725
  A && /* @__PURE__ */ t(
726
726
  Ge,
727
727
  {
@@ -740,7 +740,7 @@ const ke = ({
740
740
  primaryColor: r,
741
741
  onPrimaryColor: x,
742
742
  borderColor: o,
743
- disclaimer: f ? void 0 : F.disclaimer,
743
+ disclaimer: f ? void 0 : z.disclaimer,
744
744
  enableReset: s,
745
745
  onReset: ge
746
746
  }
@@ -837,7 +837,7 @@ const ke = ({
837
837
  }
838
838
  ),
839
839
  /* @__PURE__ */ w(m, { children: [
840
- !f && F.welcome && /* @__PURE__ */ t(
840
+ !f && z.welcome && /* @__PURE__ */ t(
841
841
  D,
842
842
  {
843
843
  level: "body-md",
@@ -849,10 +849,10 @@ const ke = ({
849
849
  textAlign: "center",
850
850
  mb: L ? 0 : h.md
851
851
  },
852
- children: F.welcome
852
+ children: z.welcome
853
853
  }
854
854
  ),
855
- F.instructions && !G && /* @__PURE__ */ t(
855
+ z.instructions && !G && /* @__PURE__ */ t(
856
856
  D,
857
857
  {
858
858
  level: f ? "body-sm" : "body-md",
@@ -865,7 +865,7 @@ const ke = ({
865
865
  opacity: 0.7,
866
866
  maxWidth: f ? "400px" : "600px"
867
867
  },
868
- children: F.instructions
868
+ children: z.instructions
869
869
  }
870
870
  )
871
871
  ] }),
@@ -930,7 +930,7 @@ const ke = ({
930
930
  perspective: "1200px"
931
931
  },
932
932
  children: (ee ?? $).map((ae, J) => {
933
- const be = `card-${J}`, de = v !== null, Be = Q.has(be), me = ce.has(be), Ue = de && !Be && !me, De = oe.has(be), Ye = de && !De && !me;
933
+ 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;
934
934
  return /* @__PURE__ */ t(
935
935
  m,
936
936
  {
@@ -956,7 +956,7 @@ const ke = ({
956
956
  isRevealed: de,
957
957
  hasEntered: V,
958
958
  objectSize: N,
959
- crossfadeDuration: je,
959
+ crossfadeDuration: Pe,
960
960
  isStandard: f,
961
961
  primaryColor: r,
962
962
  dangerColor: d,
@@ -970,21 +970,21 @@ const ke = ({
970
970
  selectedSegment: v,
971
971
  isFlipped: Be,
972
972
  isOtherRevealed: me,
973
- shouldDim: Ue,
973
+ shouldDim: je,
974
974
  isRevealed: de,
975
975
  showLoseAnimation: q,
976
976
  hasEntered: V,
977
977
  cardWidth: B,
978
978
  cardHeight: T,
979
979
  flipDuration: Xe,
980
- loseAnimationDuration: Pe,
980
+ loseAnimationDuration: Ue,
981
981
  cardBaseColor: E,
982
982
  shimmerColor: M,
983
983
  primaryColor: r,
984
984
  contentColor: a,
985
985
  dangerColor: d,
986
986
  borderColor: o,
987
- brandingLogo: z,
987
+ brandingLogo: F,
988
988
  compactCards: g,
989
989
  onPick: () => Re(J, !1)
990
990
  }
@@ -1075,7 +1075,7 @@ const ke = ({
1075
1075
  boxSizing: "border-box"
1076
1076
  },
1077
1077
  children: [
1078
- !Y && F.welcome && /* @__PURE__ */ t(
1078
+ !Y && z.welcome && /* @__PURE__ */ t(
1079
1079
  D,
1080
1080
  {
1081
1081
  level: "body-md",
@@ -1087,7 +1087,7 @@ const ke = ({
1087
1087
  textAlign: "center",
1088
1088
  px: h.md
1089
1089
  },
1090
- children: F.welcome
1090
+ children: z.welcome
1091
1091
  }
1092
1092
  ),
1093
1093
  /* @__PURE__ */ t(
@@ -1126,7 +1126,7 @@ const ke = ({
1126
1126
  position: "relative",
1127
1127
  overflow: "hidden"
1128
1128
  },
1129
- children: Fe()
1129
+ children: ze()
1130
1130
  }
1131
1131
  ),
1132
1132
  G && (v == null ? void 0 : v.results) && /* @__PURE__ */ t(
@@ -1142,7 +1142,7 @@ const ke = ({
1142
1142
  sx: { mb: h.md }
1143
1143
  }
1144
1144
  ),
1145
- (z || F.disclaimer) && /* @__PURE__ */ w(
1145
+ (F || z.disclaimer) && /* @__PURE__ */ w(
1146
1146
  m,
1147
1147
  {
1148
1148
  sx: {
@@ -1152,7 +1152,7 @@ const ke = ({
1152
1152
  gap: h.md
1153
1153
  },
1154
1154
  children: [
1155
- F.disclaimer && /* @__PURE__ */ t(
1155
+ z.disclaimer && /* @__PURE__ */ t(
1156
1156
  D,
1157
1157
  {
1158
1158
  level: "body-sm",
@@ -1166,13 +1166,13 @@ const ke = ({
1166
1166
  maxWidth: "900px",
1167
1167
  lineHeight: 1.4
1168
1168
  },
1169
- children: F.disclaimer
1169
+ children: z.disclaimer
1170
1170
  }
1171
1171
  ),
1172
- z && I && /* @__PURE__ */ t(
1172
+ F && I && /* @__PURE__ */ t(
1173
1173
  "img",
1174
1174
  {
1175
- src: z,
1175
+ src: F,
1176
1176
  alt: "Brand Logo",
1177
1177
  style: {
1178
1178
  height: "auto",
@@ -1206,7 +1206,7 @@ const ke = ({
1206
1206
  overflow: "auto",
1207
1207
  boxSizing: "border-box"
1208
1208
  },
1209
- children: Fe()
1209
+ children: ze()
1210
1210
  }
1211
1211
  );
1212
1212
  }, kt = ({
@@ -1222,7 +1222,7 @@ const ke = ({
1222
1222
  imagePlaceholder: r || ""
1223
1223
  },
1224
1224
  fe.STANDARD
1225
- ), l = (i = e.branding) == null ? void 0 : i.colors, z = (l == null ? void 0 : l.primary_color) || c.palette.primary.plainColor, O = (l == null ? void 0 : l.border_color) || null, p = (l == null ? void 0 : l.background_color) || c.surfaceVariant || "", S = (u = e.branding) == null ? void 0 : u.images, g = o ? (S == null ? void 0 : S.mobile_logo) || (S == null ? void 0 : S.main_logo) || "" : (S == null ? void 0 : S.main_logo) || "";
1225
+ ), l = (i = e.branding) == null ? void 0 : i.colors, F = (l == null ? void 0 : l.primary_color) || c.palette.primary.plainColor, O = (l == null ? void 0 : l.border_color) || null, p = (l == null ? void 0 : l.background_color) || c.surfaceVariant || "", S = (u = e.branding) == null ? void 0 : u.images, g = o ? (S == null ? void 0 : S.mobile_logo) || (S == null ? void 0 : S.main_logo) || "" : (S == null ? void 0 : S.main_logo) || "";
1226
1226
  return /* @__PURE__ */ t(ke, { brandingBorderColor: O, children: /* @__PURE__ */ t(
1227
1227
  Ae,
1228
1228
  {
@@ -1243,13 +1243,13 @@ const ke = ({
1243
1243
  infoPage: e,
1244
1244
  enableReset: s,
1245
1245
  contentColor: (l == null ? void 0 : l.content_color) || c.textPrimary,
1246
- primaryColor: z,
1246
+ primaryColor: F,
1247
1247
  onPrimaryColor: (l == null ? void 0 : l.content_color) || c.palette.primary.onPrimary || c.surface,
1248
1248
  borderColor: O || void 0,
1249
1249
  backgroundColor: p,
1250
1250
  dangerColor: c.palette.danger.plainColor,
1251
1251
  cardBaseColor: p,
1252
- shimmerColor: z,
1252
+ shimmerColor: F,
1253
1253
  brandingLogo: g,
1254
1254
  isDark: d,
1255
1255
  showTitleBlock: !1,
@@ -1307,14 +1307,14 @@ const ke = ({
1307
1307
  enableReset: s = !1,
1308
1308
  defaultImagePlaceholderUrl: a
1309
1309
  }) => {
1310
- var f, L, H, W, B, T, N, b, X, R, k, $, F, j, P, U, A, I, v;
1311
- 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) || "", z = 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
+ var f, L, H, W, B, T, N, b, X, R, k, $, z, P, U, j, A, I, v;
1311
+ 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(
1312
1312
  {
1313
1313
  images: e.images,
1314
1314
  imagePlaceholder: O
1315
1315
  },
1316
1316
  fe.OVERLAY
1317
- ), 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 = (F = o.colorSchemes) == null ? void 0 : F.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({
1317
+ ), 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 = (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({
1318
1318
  spacingScale: c,
1319
1319
  mdBorderRadius: C,
1320
1320
  contentBgColor: _,
@@ -1351,7 +1351,7 @@ const ke = ({
1351
1351
  dangerColor: y,
1352
1352
  cardBaseColor: _,
1353
1353
  shimmerColor: i,
1354
- brandingLogo: z,
1354
+ brandingLogo: F,
1355
1355
  isDark: !0,
1356
1356
  showTitleBlock: !1,
1357
1357
  variant: "overlay",
@@ -1360,7 +1360,7 @@ const ke = ({
1360
1360
  ) })
1361
1361
  }
1362
1362
  );
1363
- }, Ft = (e) => {
1363
+ }, zt = (e) => {
1364
1364
  const s = we().secondary, a = et(), r = e.isSplitVariant && a, x = K(), o = Je(e.primaryUrl, e.secondaryUrl, "logo");
1365
1365
  if (!e.brandingLogo)
1366
1366
  return null;
@@ -1465,19 +1465,19 @@ const ke = ({
1465
1465
  ]
1466
1466
  }
1467
1467
  );
1468
- }, zt = ({
1468
+ }, Ft = ({
1469
1469
  infoPage: e,
1470
1470
  enableReset: s = !1,
1471
1471
  defaultImagePlaceholderUrl: a
1472
1472
  }) => {
1473
- var L, H, W, B, T, N, b, X, R, k, $, F, j, P, U, A, I, v, ee, te, Y, G, q, V, Q, oe, ce;
1474
- 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) || "", z = 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
+ var L, H, W, B, T, N, b, X, R, k, $, z, P, U, j, A, I, v, ee, te, Y, G, q, V, Q, oe, ce;
1474
+ 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(
1475
1475
  {
1476
1476
  images: e.images,
1477
1477
  imagePlaceholder: O
1478
1478
  },
1479
1479
  fe.OVERLAY
1480
- ), 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 = (F = ($ = o.colorSchemes) == null ? void 0 : $.light) == null ? void 0 : F.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({
1480
+ ), 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), _ = (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({
1481
1481
  spacingScale: c,
1482
1482
  mdBorderRadius: E,
1483
1483
  contentBgColor: y,
@@ -1513,16 +1513,16 @@ const ke = ({
1513
1513
  backgroundColor: y,
1514
1514
  dangerColor: h,
1515
1515
  shimmerColor: i,
1516
- brandingLogo: z,
1516
+ brandingLogo: F,
1517
1517
  isDark: !0,
1518
1518
  showTitleBlock: !1,
1519
1519
  variant: "overlay"
1520
1520
  }
1521
1521
  ) }),
1522
1522
  /* @__PURE__ */ t(
1523
- Ft,
1523
+ zt,
1524
1524
  {
1525
- brandingLogo: z,
1525
+ brandingLogo: F,
1526
1526
  textColor: S,
1527
1527
  label: ((q = e.labels) == null ? void 0 : q.sponsor) || null,
1528
1528
  primaryUrl: (Q = (V = e.branding) == null ? void 0 : V.urls) == null ? void 0 : Q.primary_url,
@@ -1577,7 +1577,7 @@ const ke = ({
1577
1577
  defaultImagePlaceholderUrl: o
1578
1578
  }
1579
1579
  ) : /* @__PURE__ */ t(
1580
- zt,
1580
+ Ft,
1581
1581
  {
1582
1582
  infoPage: s,
1583
1583
  defaultImagePlaceholderUrl: o
@@ -1604,7 +1604,7 @@ const ke = ({
1604
1604
  const n = e.themeOptions, l = {
1605
1605
  ...n,
1606
1606
  mode: e.template === ue.OVERLAY ? "dark" : n == null ? void 0 : n.mode
1607
- }, z = /* @__PURE__ */ t(m, { ref: x }), O = s && x.current && c.current && d.current ? st(
1607
+ }, F = /* @__PURE__ */ t(m, { ref: x }), O = s && x.current && c.current && d.current ? st(
1608
1608
  /* @__PURE__ */ t(nt, { value: d.current, children: /* @__PURE__ */ t(rt, { containerRef: x, children: /* @__PURE__ */ t(
1609
1609
  lt,
1610
1610
  {
@@ -1626,7 +1626,7 @@ const ke = ({
1626
1626
  c.current
1627
1627
  ) : null;
1628
1628
  return /* @__PURE__ */ w(re, { children: [
1629
- z,
1629
+ F,
1630
1630
  O
1631
1631
  ] });
1632
1632
  }, Ot = (e) => /* @__PURE__ */ t(_t, { ...e, children: /* @__PURE__ */ t(Wt, { ...e }) }), Mt = Ot;
@@ -1,28 +1,28 @@
1
1
  import { jsx as t, jsxs as g, Fragment as r2 } from "react/jsx-runtime";
2
2
  import k2, { useState as $, useEffect as I2, useCallback as u0, useMemo as H2 } from "react";
3
- import { u as O, B as l, j as m2, a as z, c as X, b as c2, k as p2, e as S2, l as K, m as _2, n as q2, o as E2, W as U, p as m0, q as C0, r as g0, s as l0, i as f0 } from "./chunks/PrizeCard-DlK8irk1.js";
4
- import { P as h0 } from "./chunks/Portal-CVkKDGuY.js";
3
+ import { u as O, B as l, a as m2, b as z, c as X, d as c2, e as p2, f as S2, i as K, g as _2, C as q2, h as E2, W as U, j as m0, k as C0, l as g0, m as l0, n as f0 } from "./chunks/PrizeCard-CXjFADAN.js";
4
+ import { P as h0 } from "./chunks/Portal-bNE7Trh9.js";
5
5
  import "react-dom";
6
- import { g as x0, e as Q2, h as T2, s as y0, i as S0, a as o0, b as b0 } from "./chunks/helpers-DQsdRliV.js";
7
- import { S as L0 } from "./chunks/Spinner-00hTC1QH.js";
8
- import { S as I0, a as w0, b as r0, C as X2, c as e0 } from "./chunks/ChanceGameEmbedVariant-CJJnKkOG.js";
6
+ import { g as x0, e as Q2, h as T2, s as y0, i as S0, a as o0, b as b0 } from "./chunks/helpers-D8cWUfGf.js";
7
+ import { S as L0 } from "./chunks/Spinner-C219bcnm.js";
8
+ import { S as I0, a as w0, b as r0, C as X2, c as e0 } from "./chunks/ChanceGameEmbedVariant-Dio4ihOd.js";
9
9
  import { H as z0, A as Z2 } from "./chunks/index-BBrO1Htm.js";
10
- import { A as A2, O as A0 } from "./chunks/ArrowRightAlt-BWEyQ4rF.js";
11
- import { A as w2, O as F0, S as B0, N as P0 } from "./chunks/NotFoundSkeleton-T4NKrhfx.js";
12
- import { u as M2, d as b2, a as L2, b as f2 } from "./chunks/useImageVariant-DMs19-UC.js";
10
+ import { A as A2, O as A0 } from "./chunks/ArrowRightAlt-DrBMgptf.js";
11
+ import { A as w2, O as F0, S as B0, N as P0 } from "./chunks/NotFoundSkeleton-CJZIRj5-.js";
12
+ import { u as M2, d as b2, a as L2, b as f2 } from "./chunks/useImageVariant-Cs6lWUs2.js";
13
13
  import { u as W2 } from "./chunks/useEmbedCode-DCWnWGak.js";
14
- import { T as x } from "./chunks/Typography-BFCXsYfo.js";
15
- import { T as T0 } from "./chunks/TimerOutlined-DC5foG2M.js";
16
- import { C as Q0 } from "./chunks/CollectLeadForm-B1FGVWj4.js";
17
- import { B as E } from "./chunks/Button-BPtVuOyn.js";
18
- import { R as U2, A as V2, O as c0, S as s0 } from "./chunks/OverlayApiErrorSkeleton-BdzLPy8g.js";
19
- import { S as t0 } from "./chunks/StandardContentSkeleton-0vB361fl.js";
20
- import { T as k0, a as M0, b as n0, t as i0, c as a0 } from "./chunks/Tabs-CiKqMnto.js";
21
- import { C as v0 } from "./chunks/CheckCircle-DKzwnhnr.js";
22
- import { A as D0, I as R0, W as H0 } from "./chunks/AlertMessage-D-cFYJtj.js";
23
- import { S as Z0 } from "./chunks/Stack-CB_N08X-.js";
24
- import { S as p0, O as _0, a as q0, b as E0 } from "./chunks/OverlayLeadAfterCollection-C-rM0D5V.js";
25
- import { S as W0, a as U0 } from "./chunks/SplitLeadAfterCollection-BUX0MjWC.js";
14
+ import { T as x } from "./chunks/Typography-DFdgIDQS.js";
15
+ import { T as T0 } from "./chunks/TimerOutlined-BUL4BZFp.js";
16
+ import { C as Q0 } from "./chunks/CollectLeadForm-D0P_JHmT.js";
17
+ import { B as E } from "./chunks/Button-GawVOPKi.js";
18
+ import { R as U2, A as V2, O as c0, S as s0 } from "./chunks/OverlayApiErrorSkeleton-JMWA0FV8.js";
19
+ import { S as t0 } from "./chunks/StandardContentSkeleton-DsGBNMHN.js";
20
+ import { T as k0, a as M0, b as n0, t as i0, c as a0 } from "./chunks/Tabs-CIJK8YZY.js";
21
+ import { C as v0 } from "./chunks/CheckCircle-DgKcR_no.js";
22
+ import { A as D0, I as R0, W as H0 } from "./chunks/AlertMessage-X4MQ4qsN.js";
23
+ import { S as Z0 } from "./chunks/Stack-JIDLCVx0.js";
24
+ import { S as p0, O as _0, a as q0, b as E0 } from "./chunks/OverlayLeadAfterCollection-BwF9MvIB.js";
25
+ import { S as W0, a as U0 } from "./chunks/SplitLeadAfterCollection-BijLacCk.js";
26
26
  const j2 = ({
27
27
  shareCTA: e,
28
28
  defaultShare: i,
package/CollectLead.js CHANGED
@@ -1,12 +1,12 @@
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 { b as Y, l as Q, B as o, u as de, m as J, j as K, e as X, s as Z, W as w, c as U, a as h, k as me } from "./chunks/PrizeCard-DlK8irk1.js";
4
- import { P as se } from "./chunks/Portal-CVkKDGuY.js";
3
+ import { d as Y, i as Q, B as o, u as de, g as J, a as K, f as X, m as Z, W as w, c as U, b as h, e as me } from "./chunks/PrizeCard-CXjFADAN.js";
4
+ import { P as se } from "./chunks/Portal-bNE7Trh9.js";
5
5
  import "react-dom";
6
- import { g as ge, a as xe, h as oe } from "./chunks/helpers-DQsdRliV.js";
7
- import { d as le, a as ae, b as ee } from "./chunks/useImageVariant-DMs19-UC.js";
8
- import { T as u } from "./chunks/Typography-BFCXsYfo.js";
9
- import { C as fe } from "./chunks/CollectLeadForm-B1FGVWj4.js";
6
+ import { g as ge, a as xe, h as oe } from "./chunks/helpers-D8cWUfGf.js";
7
+ import { d as le, a as ae, b as ee } from "./chunks/useImageVariant-Cs6lWUs2.js";
8
+ import { T as u } from "./chunks/Typography-DFdgIDQS.js";
9
+ import { C as fe } from "./chunks/CollectLeadForm-D0P_JHmT.js";
10
10
  const te = (e) => {
11
11
  const i = Y().secondary, m = Q(), a = ge(e.primaryUrl, e.secondaryUrl, "logo");
12
12
  if (!e.brandingLogo)
package/Discussion.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M as o } from "./chunks/main-DSGHgdtY.js";
1
+ import { M as o } from "./chunks/main-C05CZWMa.js";
2
2
  const i = o;
3
3
  export {
4
4
  i as Discussion