fansunited-frontend-components 0.0.70 → 0.0.71

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 (92) hide show
  1. package/Betslip.js +1 -1
  2. package/ChanceGame.js +529 -520
  3. package/ClassicQuizPlay.js +500 -491
  4. package/CollectLead.js +141 -141
  5. package/Discussion.js +1 -1
  6. package/EitherOrPlay.js +876 -879
  7. package/EventCard.js +1692 -1683
  8. package/EventGamePlay.js +843 -840
  9. package/Leaderboard.js +367 -357
  10. package/MatchQuizPlay.js +1295 -1296
  11. package/PersonalityQuizPlay.js +430 -433
  12. package/PickThePair.js +481 -472
  13. package/PlayerOfTheMatch.js +235 -234
  14. package/PollVote.js +1053 -1039
  15. package/Predictor.js +4382 -4389
  16. package/README.md +1 -1
  17. package/Standings.js +652 -643
  18. package/TopX.js +2645 -2644
  19. package/chunks/{AccessTime-D9xoYL-P.js → AccessTime-BkHriW4j.js} +1 -1
  20. package/chunks/{AlertMessage-Cozhlf-H.js → AlertMessage-DwSmhmHt.js} +11 -11
  21. package/chunks/{Avatar-4MNT3BUa.js → Avatar-CEbT4X-o.js} +22 -22
  22. package/chunks/{Button-BR5lrG3T.js → Button-CO-k2gLb.js} +3 -3
  23. package/chunks/{Card-B9LbqmTy.js → Card-DZdPl8-h.js} +7 -7
  24. package/chunks/{CardActions-Bd7cvuaU.js → CardActions-DTThyeLX.js} +20 -20
  25. package/chunks/{CardContent-tsJbu6U_.js → CardContent-CzC1EwoD.js} +14 -14
  26. package/chunks/{ChanceGameEmbedVariant-ClF7ZROz.js → ChanceGameEmbedVariant-CteJ4tix.js} +64 -40
  27. package/chunks/{CheckCircle-DKTmOx_8.js → CheckCircle-BzM-2e1z.js} +1 -1
  28. package/chunks/{Chip-CQTEXT4E.js → Chip-BF1FXK0I.js} +15 -15
  29. package/chunks/{Close-Sf17sJo7.js → Close-BiMLcNyG.js} +1 -1
  30. package/chunks/{Close-EdfoUQng.js → Close-CggU6Ga3.js} +1 -1
  31. package/chunks/{CollectLeadForm-CfJIi5ym.js → CollectLeadForm-BZj-9IDt.js} +20 -20
  32. package/chunks/{ConsentsList-CRzVgBrT.js → ConsentsList-CtKgLYa8.js} +17 -17
  33. package/chunks/DirectionScope-BGDPaR6B.js +24 -0
  34. package/chunks/{Divider-CqwtjZ1e.js → Divider-Dueyhj7K.js} +8 -8
  35. package/chunks/{Edit-73e36eUG.js → Edit-Dqa7th_A.js} +3 -3
  36. package/chunks/{EditOutlined-B1yLoIzq.js → EditOutlined-B__rjTwX.js} +1 -1
  37. package/chunks/{EmojiEvents-B2iKaiur.js → EmojiEvents-CpsA2Qo0.js} +1 -1
  38. package/chunks/{FavoriteBorder-DPEq7teA.js → FavoriteBorder-DrC_eOCd.js} +1 -1
  39. package/chunks/{FormControl-Dnkb7OwF.js → FormControl-fKyT2Mql.js} +32 -32
  40. package/chunks/{FormControlContext-D73rmx-I.js → FormControlContext-CSrMcHcv.js} +11 -11
  41. package/chunks/{FormLabel-C42GjkHs.js → FormLabel-DlXT5RZd.js} +9 -9
  42. package/chunks/{InlineSpinner-BccBWdjH.js → InlineSpinner-CuisRY-E.js} +2 -2
  43. package/chunks/{Input-D5FpQqOG.js → Input-CkSIGH-d.js} +15 -15
  44. package/chunks/{KeyboardArrowDown-B6gYNeY1.js → KeyboardArrowDown-DL8VjkJT.js} +1 -1
  45. package/chunks/{KeyboardArrowRight-cZrifTDy.js → KeyboardArrowRight-Cm50UqHb.js} +1 -1
  46. package/chunks/{Link-BEkWj05u.js → Link-BljMbRuR.js} +13 -13
  47. package/chunks/{ListItemButton-BCWrYSO3.js → ListItemButton-BqEcbBU0.js} +50 -50
  48. package/chunks/{ModalDialog-Ca0fO5k9.js → ModalDialog-B0DLv5vW.js} +59 -59
  49. package/chunks/{NotFoundSkeleton-CU9abuei.js → NotFoundSkeleton-DKxLhOwI.js} +149 -125
  50. package/chunks/{Notification-F6dbxtr1.js → Notification-CEdU0opQ.js} +18 -18
  51. package/chunks/{OverlayScoreStateSkeleton-C_ZCv9J4.js → OverlayScoreStateSkeleton-BtCy650g.js} +18 -12
  52. package/chunks/{OverlayScoreStateWrapperSkeleton-Dd9vXOLR.js → OverlayScoreStateWrapperSkeleton-Ch_E6KQ6.js} +1 -1
  53. package/chunks/{OverlaySignInSkeleton-B6cvxVaO.js → OverlaySignInSkeleton-DEiH7fmp.js} +97 -73
  54. package/chunks/{Person-CsUll9Ap.js → Person-CLQl7Sxs.js} +1 -1
  55. package/chunks/{PersonOutline-DkSg2ggu.js → PersonOutline-D8yrpbw7.js} +1 -1
  56. package/chunks/{PickOneOfX-DW0xvqB_.js → PickOneOfX-CG0B5u7Y.js} +3 -3
  57. package/chunks/{Popper-BIgVYC9_.js → Popper-BSnc2Lit.js} +58 -58
  58. package/chunks/Portal-D8t1Jd5e.js +65 -0
  59. package/chunks/{Portal-YpgOsTt5.js → Portal-cK515D9M.js} +4 -4
  60. package/chunks/{PrizeCard-C1DbXnUz.js → PrizeCard-CyVJJLo1.js} +5831 -4172
  61. package/chunks/{Search-4IyZ7X3H.js → Search-BXhhax8M.js} +1 -1
  62. package/chunks/{Select-C-ZBGclx.js → Select-DyRdhrMr.js} +61 -61
  63. package/chunks/{Sheet-xAhd34Jw.js → Sheet-sYNAL7gX.js} +14 -14
  64. package/chunks/{Spinner-BL8WSLzS.js → Spinner-Bb4eb64F.js} +2 -2
  65. package/chunks/{SplitSignInSkeleton-DrOQZhEv.js → SplitSignInSkeleton-BZT0ngoW.js} +12 -6
  66. package/chunks/{Stack-BpYjl-G4.js → Stack-DX41loGb.js} +21 -21
  67. package/chunks/{StandardContentSkeleton-Dy2qCFCR.js → StandardContentSkeleton-DAh7l7cd.js} +12 -12
  68. package/chunks/{Table-BPxaqsgp.js → Table-C09wF6nK.js} +8 -8
  69. package/chunks/{Tabs-Cf6gFJmP.js → Tabs-Dhih1Lqb.js} +46 -46
  70. package/chunks/{Textarea-Bb8UgeBs.js → Textarea-DWyUKbVv.js} +24 -24
  71. package/chunks/{TimerOutlined-DHBV8b2I.js → TimerOutlined-DeWQFv5g.js} +1 -1
  72. package/chunks/{Tooltip-ziAUY7gh.js → Tooltip-Dnj_oxHb.js} +55 -55
  73. package/chunks/{Typography-3zKBmCod.js → Typography-B8CtvKkm.js} +1 -1
  74. package/chunks/{dividerClasses-wdRUDS30.js → dividerClasses-BoOrlu7X.js} +1 -1
  75. package/chunks/{elementAcceptingRef-DCjxSgGH.js → elementAcceptingRef-DROQPsxj.js} +1 -1
  76. package/chunks/formLabelClasses-Bh4Fh0fk.js +9 -0
  77. package/chunks/{helpers-DM31-5Cj.js → helpers-DgUDSfd1.js} +14 -12
  78. package/chunks/{index-B1d7nVt2.js → index-C_R74meU.js} +1 -1
  79. package/chunks/index-PC-q6Shn.js +4 -0
  80. package/chunks/{main-U_h0_Bx2.js → main-5c5yYsj9.js} +973 -964
  81. package/chunks/{main-B_5xPpMJ.js → main-BXu1mzLz.js} +157 -157
  82. package/chunks/{useButton-kmQoVw9C.js → useButton-CQ2o2nXk.js} +2 -2
  83. package/chunks/{useConsents-hUMCZ2dS.js → useConsents-CIhPZNel.js} +326 -301
  84. package/chunks/{useEventCallback-eHGKTxMe.js → useEventCallback-B1ahtq-a.js} +1 -1
  85. package/chunks/{useForwardedInput-Bv2oMJpl.js → useForwardedInput-DRXHXEOw.js} +22 -22
  86. package/chunks/{useImageVariant-mC1wwdcP.js → useImageVariant-D6aho5sy.js} +1 -1
  87. package/chunks/{useSwitch-RU2h0FPQ.js → useSwitch-CYz8kkTr.js} +12 -12
  88. package/index.js +3 -3
  89. package/package.json +2 -2
  90. package/chunks/Portal-hIkg6Jk0.js +0 -55
  91. package/chunks/formLabelClasses-DnveRdCj.js +0 -9
  92. package/chunks/index-BWMalJJe.js +0 -4
package/ChanceGame.js CHANGED
@@ -1,121 +1,121 @@
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-DM31-5Cj.js";
2
+ import { h as Ce, g as Ke, l as Je } from "./chunks/helpers-DgUDSfd1.js";
3
3
  import Z, { useState as qe, useEffect as Qe } from "react";
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-C1DbXnUz.js";
5
- import { S as at } from "./chunks/Spinner-BL8WSLzS.js";
6
- import { createPortal as st } from "react-dom";
7
- import { u as ct } from "./chunks/useInfoPage-BHdgKdme.js";
8
- import { N as dt, S as Ae, O as Ie } from "./chunks/NotFoundSkeleton-CU9abuei.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-DW0xvqB_.js";
10
- import { b as pe, d as He, a as Ne } from "./chunks/useImageVariant-mC1wwdcP.js";
11
- import { T as D } from "./chunks/Typography-3zKBmCod.js";
12
- import { B as he } from "./chunks/Button-BR5lrG3T.js";
4
+ import { i as J, h as Ze, c as ve, b as le, e as Se, B as d, u as se, K as ue, d as we, f as xe, z as Te, W as fe, a as $e, p as et, n as tt, x as ne, A as ot, D as nt, E as rt, F as it, G as lt, H as at, I as st, J as ct } from "./chunks/PrizeCard-CyVJJLo1.js";
5
+ import { S as dt } from "./chunks/Spinner-Bb4eb64F.js";
6
+ import { createPortal as mt } from "react-dom";
7
+ import { u as ut } from "./chunks/useInfoPage-BHdgKdme.js";
8
+ import { N as ht, S as Ae, O as Ie } from "./chunks/NotFoundSkeleton-DKxLhOwI.js";
9
+ import { u as xt, S as ie, c as Ee, D as Ge, C as ft, W as pt, d as gt, e as yt, f as bt, O as vt, F as St, b as be, a as wt, P as kt } from "./chunks/PickOneOfX-CG0B5u7Y.js";
10
+ import { b as pe, d as He, a as Me } from "./chunks/useImageVariant-D6aho5sy.js";
11
+ import { T as B } from "./chunks/Typography-B8CtvKkm.js";
12
+ import { B as he } from "./chunks/Button-CO-k2gLb.js";
13
13
  const ke = ({
14
14
  children: e,
15
- brandingBorderColor: s,
15
+ brandingBorderColor: c,
16
16
  state: a
17
17
  }) => {
18
- const r = K(), x = Ze(), o = a === "play" ? x : r, c = ve().md, d = s || ie().secondaryContainer, l = Se().size + " solid " + d;
18
+ const n = J(), g = Ze(), o = a === "play" ? g : n, u = ve().md, i = c || le().secondaryContainer, s = Se().size + " solid " + i;
19
19
  return /* @__PURE__ */ t(
20
- m,
20
+ d,
21
21
  {
22
22
  sx: {
23
23
  display: "flex",
24
24
  flexDirection: o ? "column" : "row",
25
25
  width: "100%",
26
- borderRadius: c,
26
+ borderRadius: u,
27
27
  boxShadow: "md",
28
- border: l,
28
+ border: s,
29
29
  overflow: "hidden",
30
- background: ie().surface,
30
+ background: le().surface,
31
31
  minHeight: "250px"
32
32
  },
33
33
  children: e
34
34
  }
35
35
  );
36
- }, St = ({
36
+ }, Rt = ({
37
37
  template: e
38
38
  }) => {
39
- const { t: s } = se(), a = /* @__PURE__ */ t(
40
- dt,
39
+ const { t: c } = se(), a = /* @__PURE__ */ t(
40
+ ht,
41
41
  {
42
- notFoundTitle: s("chanceGame.chanceGameNotFound"),
43
- notFoundMessage: s("chanceGame.chanceGameNotFoundDescription")
42
+ notFoundTitle: c("chanceGame.chanceGameNotFound"),
43
+ notFoundMessage: c("chanceGame.chanceGameNotFoundDescription")
44
44
  }
45
45
  );
46
46
  return e === ue.EMBED ? a : /* @__PURE__ */ t(ke, { brandingBorderColor: null, children: a });
47
- }, Ve = ({
47
+ }, Ne = ({
48
48
  infoPage: e,
49
- enableReset: s = !1,
49
+ enableReset: c = !1,
50
50
  contentColor: a,
51
- primaryColor: r,
52
- secondaryColor: x,
51
+ primaryColor: n,
52
+ secondaryColor: g,
53
53
  onPrimaryColor: o,
54
- backgroundColor: c,
55
- dangerColor: d,
56
- brandingLogo: n,
57
- isDark: l = !1,
58
- showTitleBlock: F = !1,
59
- variant: O
54
+ backgroundColor: u,
55
+ dangerColor: i,
56
+ brandingLogo: r,
57
+ isDark: s = !1,
58
+ showTitleBlock: k = !1,
59
+ variant: z
60
60
  }) => {
61
- var G, q, V;
62
- 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
+ var G, q, N;
62
+ const x = J(), b = le(), p = ve(), l = we(), m = xe(), O = Se(), v = z === "standard", h = z === "overlay", C = v || h, E = JSON.parse(e.body), V = 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", _ = ((N = E.config) == null ? void 0 : N.decorations) ?? !1, D = Ee(n, s), {
63
63
  isSpinning: T,
64
- finalRotation: N,
65
- selectedSegment: b,
64
+ finalRotation: M,
65
+ selectedSegment: y,
66
66
  showShakeAnimation: X,
67
- showResultScreen: R,
68
- showInlineResult: k,
67
+ showResultScreen: F,
68
+ showInlineResult: R,
69
69
  hasEntered: $,
70
- confettiActive: z,
70
+ confettiActive: W,
71
71
  spinDuration: P,
72
72
  shakeAnimationDuration: U,
73
73
  confettiVelocityMultiplier: j,
74
74
  confettiGravity: A,
75
75
  handleSpin: I,
76
- handleReset: v,
76
+ handleReset: S,
77
77
  onConfettiComplete: ee
78
- } = mt({ segments: M, mode: L, pace: H }), te = C ? p ? "260px" : "340px" : p ? "320px" : "450px", Y = () => /* @__PURE__ */ w(re, { children: [
79
- W && /* @__PURE__ */ t(
78
+ } = xt({ segments: V, mode: L, pace: H }), te = C ? x ? "260px" : "340px" : x ? "320px" : "450px", Y = () => /* @__PURE__ */ w(re, { children: [
79
+ _ && /* @__PURE__ */ t(
80
80
  Ge,
81
81
  {
82
- primaryColor: r,
83
- isDark: l,
82
+ primaryColor: n,
83
+ isDark: s,
84
84
  animationPrefix: "wheel"
85
85
  }
86
86
  ),
87
87
  /* @__PURE__ */ t(
88
- ut,
88
+ ft,
89
89
  {
90
- active: z,
91
- primaryColor: r,
90
+ active: W,
91
+ primaryColor: n,
92
92
  velocityMultiplier: j,
93
93
  gravity: A,
94
94
  onComplete: ee
95
95
  }
96
96
  ),
97
- R && (b == null ? void 0 : b.results) && /* @__PURE__ */ t(
98
- le,
97
+ F && (y == null ? void 0 : y.results) && /* @__PURE__ */ t(
98
+ ie,
99
99
  {
100
- result: b.results,
101
- variant: O || "embed",
100
+ result: y.results,
101
+ variant: z || "embed",
102
102
  mode: "screen",
103
103
  contentColor: a,
104
- primaryColor: r,
104
+ primaryColor: n,
105
105
  onPrimaryColor: o,
106
- disclaimer: y ? void 0 : f.disclaimer,
107
- enableReset: s,
108
- onReset: v
106
+ disclaimer: v ? void 0 : f.disclaimer,
107
+ enableReset: c,
108
+ onReset: S
109
109
  }
110
110
  ),
111
- !R && /* @__PURE__ */ w(re, { children: [
112
- F && (e.title || e.subtitle) && /* @__PURE__ */ w(
113
- m,
111
+ !F && /* @__PURE__ */ w(re, { children: [
112
+ k && (e.title || e.subtitle) && /* @__PURE__ */ w(
113
+ d,
114
114
  {
115
115
  sx: {
116
116
  display: "flex",
117
117
  flexDirection: "column",
118
- gap: u.xs,
118
+ gap: m.xs,
119
119
  alignItems: "center",
120
120
  textAlign: "center",
121
121
  width: "100%",
@@ -124,60 +124,60 @@ const ke = ({
124
124
  children: [
125
125
  e.title && /* @__PURE__ */ w(re, { children: [
126
126
  /* @__PURE__ */ t(
127
- D,
127
+ B,
128
128
  {
129
129
  level: "h2",
130
130
  sx: {
131
- fontFamily: i.primary,
131
+ fontFamily: l.primary,
132
132
  fontWeight: 700,
133
- fontSize: p ? "1.5rem" : "2rem",
133
+ fontSize: x ? "1.5rem" : "2rem",
134
134
  color: a,
135
135
  lineHeight: 1.2,
136
- ...W && {
137
- textShadow: `0 0 20px ${B("20")}, 0 0 40px ${B("10")}`
136
+ ..._ && {
137
+ textShadow: `0 0 20px ${D("20")}, 0 0 40px ${D("10")}`
138
138
  }
139
139
  },
140
140
  children: e.title
141
141
  }
142
142
  ),
143
- W && /* @__PURE__ */ w(
144
- m,
143
+ _ && /* @__PURE__ */ w(
144
+ d,
145
145
  {
146
146
  sx: {
147
147
  display: "flex",
148
148
  alignItems: "center",
149
- gap: u.xs,
150
- mt: u["2xs"]
149
+ gap: m.xs,
150
+ mt: m["2xs"]
151
151
  },
152
152
  children: [
153
153
  /* @__PURE__ */ t(
154
- m,
154
+ d,
155
155
  {
156
156
  sx: {
157
- width: p ? "40px" : "60px",
157
+ width: x ? "40px" : "60px",
158
158
  height: "1px",
159
- background: `linear-gradient(90deg, transparent, ${B("40")})`
159
+ background: `linear-gradient(90deg, transparent, ${D("40")})`
160
160
  }
161
161
  }
162
162
  ),
163
163
  /* @__PURE__ */ t(
164
- m,
164
+ d,
165
165
  {
166
166
  sx: {
167
167
  width: "6px",
168
168
  height: "6px",
169
169
  transform: "rotate(45deg)",
170
- background: B("50")
170
+ background: D("50")
171
171
  }
172
172
  }
173
173
  ),
174
174
  /* @__PURE__ */ t(
175
- m,
175
+ d,
176
176
  {
177
177
  sx: {
178
- width: p ? "40px" : "60px",
178
+ width: x ? "40px" : "60px",
179
179
  height: "1px",
180
- background: `linear-gradient(90deg, ${B("40")}, transparent)`
180
+ background: `linear-gradient(90deg, ${D("40")}, transparent)`
181
181
  }
182
182
  }
183
183
  )
@@ -186,13 +186,13 @@ const ke = ({
186
186
  )
187
187
  ] }),
188
188
  e.subtitle && /* @__PURE__ */ t(
189
- D,
189
+ B,
190
190
  {
191
191
  level: "body-md",
192
192
  sx: {
193
- fontFamily: i.secondary,
193
+ fontFamily: l.secondary,
194
194
  fontWeight: 400,
195
- fontSize: p ? "0.875rem" : "1rem",
195
+ fontSize: x ? "0.875rem" : "1rem",
196
196
  color: a,
197
197
  opacity: 0.8
198
198
  },
@@ -202,35 +202,35 @@ const ke = ({
202
202
  ]
203
203
  }
204
204
  ),
205
- /* @__PURE__ */ w(m, { children: [
206
- !y && f.welcome && /* @__PURE__ */ t(
207
- D,
205
+ /* @__PURE__ */ w(d, { children: [
206
+ !v && f.welcome && /* @__PURE__ */ t(
207
+ B,
208
208
  {
209
209
  level: "body-md",
210
210
  sx: {
211
- fontFamily: i.primary,
211
+ fontFamily: l.primary,
212
212
  fontWeight: 400,
213
- fontSize: p ? "0.875rem" : "1rem",
213
+ fontSize: x ? "0.875rem" : "1rem",
214
214
  color: a,
215
215
  textAlign: "center",
216
- mb: h ? 0 : u.md,
216
+ mb: h ? 0 : m.md,
217
217
  zIndex: 1
218
218
  },
219
219
  children: f.welcome
220
220
  }
221
221
  ),
222
- (y || h) && !k && f.instructions && /* @__PURE__ */ t(
223
- D,
222
+ (v || h) && !R && f.instructions && /* @__PURE__ */ t(
223
+ B,
224
224
  {
225
- level: y ? "body-sm" : "body-md",
225
+ level: v ? "body-sm" : "body-md",
226
226
  sx: {
227
- fontFamily: i.secondary,
227
+ fontFamily: l.secondary,
228
228
  fontWeight: 400,
229
- fontSize: p ? "0.875rem" : "1rem",
229
+ fontSize: x ? "0.875rem" : "1rem",
230
230
  color: a,
231
231
  opacity: 0.7,
232
232
  textAlign: "center",
233
- maxWidth: y ? "400px" : "600px",
233
+ maxWidth: v ? "400px" : "600px",
234
234
  zIndex: 1
235
235
  },
236
236
  children: f.instructions
@@ -238,7 +238,7 @@ const ke = ({
238
238
  )
239
239
  ] }),
240
240
  /* @__PURE__ */ w(
241
- m,
241
+ d,
242
242
  {
243
243
  onClick: I,
244
244
  sx: {
@@ -246,11 +246,11 @@ const ke = ({
246
246
  width: "100%",
247
247
  maxWidth: te,
248
248
  aspectRatio: "1",
249
- mt: C ? u.md : 0,
249
+ mt: C ? m.md : 0,
250
250
  display: "flex",
251
251
  alignItems: "center",
252
252
  justifyContent: "center",
253
- cursor: T || z || k || !R && !k && b !== null ? "default" : "pointer",
253
+ cursor: T || W || R || !F && !R && y !== null ? "default" : "pointer",
254
254
  userSelect: "none",
255
255
  zIndex: 1,
256
256
  // Entrance animation
@@ -265,38 +265,38 @@ const ke = ({
265
265
  "20%, 40%, 60%, 80%": { transform: "translateX(8px)" }
266
266
  },
267
267
  // Wheel glow effect (decorations only)
268
- ...W && {
269
- filter: `drop-shadow(0 0 ${p ? "15px" : "25px"} ${B("20")}) drop-shadow(0 0 ${p ? "40px" : "60px"} ${B("10")})`
268
+ ..._ && {
269
+ filter: `drop-shadow(0 0 ${x ? "15px" : "25px"} ${D("20")}) drop-shadow(0 0 ${x ? "40px" : "60px"} ${D("10")})`
270
270
  }
271
271
  },
272
272
  children: [
273
273
  /* @__PURE__ */ t(
274
- ht,
274
+ pt,
275
275
  {
276
- segmentCount: M.length,
277
- decorations: W,
278
- primaryColor: r
276
+ segmentCount: V.length,
277
+ decorations: _,
278
+ primaryColor: n
279
279
  }
280
280
  ),
281
281
  /* @__PURE__ */ t(
282
- xt,
282
+ gt,
283
283
  {
284
- segments: M,
285
- secondaryColor: x,
286
- primaryColor: r,
284
+ segments: V,
285
+ secondaryColor: g,
286
+ primaryColor: n,
287
287
  onPrimaryColor: o,
288
- decorations: W,
289
- isStandard: y,
290
- rotation: N,
288
+ decorations: _,
289
+ isStandard: v,
290
+ rotation: M,
291
291
  isSpinning: T,
292
292
  spinDuration: P
293
293
  }
294
294
  ),
295
- !y && !h && n && /* @__PURE__ */ t(
296
- m,
295
+ !v && !h && r && /* @__PURE__ */ t(
296
+ d,
297
297
  {
298
298
  component: "img",
299
- src: n,
299
+ src: r,
300
300
  alt: "Logo",
301
301
  sx: {
302
302
  position: "absolute",
@@ -314,24 +314,24 @@ const ke = ({
314
314
  }
315
315
  ),
316
316
  /* @__PURE__ */ t(
317
- ft,
317
+ yt,
318
318
  {
319
- primaryColor: r,
320
- dangerColor: d,
321
- decorations: W
319
+ primaryColor: n,
320
+ dangerColor: i,
321
+ decorations: _
322
322
  }
323
323
  )
324
324
  ]
325
325
  }
326
326
  ),
327
- !y && !h && !k && f.instructions && /* @__PURE__ */ t(
328
- D,
327
+ !v && !h && !R && f.instructions && /* @__PURE__ */ t(
328
+ B,
329
329
  {
330
330
  level: "body-sm",
331
331
  sx: {
332
- fontFamily: i.secondary,
332
+ fontFamily: l.secondary,
333
333
  fontWeight: 400,
334
- fontSize: p ? "0.875rem" : "1rem",
334
+ fontSize: x ? "0.875rem" : "1rem",
335
335
  color: a,
336
336
  opacity: 0.7,
337
337
  textAlign: "center",
@@ -341,73 +341,73 @@ const ke = ({
341
341
  children: f.instructions
342
342
  }
343
343
  ),
344
- !y && k && (b == null ? void 0 : b.results) && /* @__PURE__ */ t(
345
- le,
344
+ !v && R && (y == null ? void 0 : y.results) && /* @__PURE__ */ t(
345
+ ie,
346
346
  {
347
- result: b.results,
347
+ result: y.results,
348
348
  variant: "embed",
349
349
  mode: "inline",
350
350
  contentColor: a,
351
- primaryColor: r,
351
+ primaryColor: n,
352
352
  onPrimaryColor: o,
353
- enableReset: s,
354
- onReset: v,
353
+ enableReset: c,
354
+ onReset: S,
355
355
  showResetButton: !0,
356
356
  sx: { zIndex: 1 }
357
357
  }
358
358
  ),
359
- f.buttonLabel && !(k && b && !b.isWinning) && /* @__PURE__ */ t(
359
+ f.buttonLabel && !(R && y && !y.isWinning) && /* @__PURE__ */ t(
360
360
  he,
361
361
  {
362
362
  variant: "soft",
363
- disabled: T || z || !R && !k && b !== null,
363
+ disabled: T || W || !F && !R && y !== null,
364
364
  onClick: I,
365
365
  sx: {
366
- borderRadius: g.xl,
367
- py: C ? u.sm : u.md,
368
- px: C ? u.lg : u.xl,
369
- "--variant-softBg": r,
366
+ borderRadius: p.xl,
367
+ py: C ? m.sm : m.md,
368
+ px: C ? m.lg : m.xl,
369
+ "--variant-softBg": n,
370
370
  "--variant-softColor": o,
371
- "--variant-softHoverBg": r,
372
- bgcolor: r,
371
+ "--variant-softHoverBg": n,
372
+ bgcolor: n,
373
373
  color: o,
374
- fontSize: C ? p ? "0.75rem" : "0.875rem" : p ? "1rem" : "1.125rem",
374
+ fontSize: C ? x ? "0.75rem" : "0.875rem" : x ? "1rem" : "1.125rem",
375
375
  fontWeight: 700,
376
- fontFamily: i.primary,
376
+ fontFamily: l.primary,
377
377
  textTransform: "uppercase",
378
378
  letterSpacing: "0.5px",
379
- minWidth: C ? void 0 : p ? "200px" : "250px",
379
+ minWidth: C ? void 0 : x ? "200px" : "250px",
380
380
  zIndex: 1,
381
381
  transition: "all 300ms cubic-bezier(0.2, 0, 0, 1)",
382
382
  transform: "scale(1)",
383
- ...W && {
384
- boxShadow: `0 4px 14px 0 ${r}40, 0 0 20px ${r}15`,
385
- animation: !T && !b ? "wheelBtnPulse 2.5s ease-in-out infinite" : "none",
383
+ ..._ && {
384
+ boxShadow: `0 4px 14px 0 ${n}40, 0 0 20px ${n}15`,
385
+ animation: !T && !y ? "wheelBtnPulse 2.5s ease-in-out infinite" : "none",
386
386
  "@keyframes wheelBtnPulse": {
387
387
  "0%, 100%": {
388
- boxShadow: `0 4px 14px 0 ${r}40, 0 0 20px ${r}15`
388
+ boxShadow: `0 4px 14px 0 ${n}40, 0 0 20px ${n}15`
389
389
  },
390
390
  "50%": {
391
- boxShadow: `0 6px 24px 0 ${r}60, 0 0 35px ${r}25`
391
+ boxShadow: `0 6px 24px 0 ${n}60, 0 0 35px ${n}25`
392
392
  }
393
393
  }
394
394
  },
395
- ...!W && {
395
+ ...!_ && {
396
396
  boxShadow: "0 4px 14px 0 rgba(0,0,0,0.15)"
397
397
  },
398
398
  "&:hover": {
399
- bgcolor: r,
399
+ bgcolor: n,
400
400
  transform: "scale(1.05)",
401
- boxShadow: W ? `0 6px 20px 0 ${r}50, 0 0 30px ${r}20` : "0 6px 20px 0 rgba(0,0,0,0.2)"
401
+ boxShadow: _ ? `0 6px 20px 0 ${n}50, 0 0 30px ${n}20` : "0 6px 20px 0 rgba(0,0,0,0.2)"
402
402
  },
403
403
  "&:active": {
404
404
  transform: "scale(0.95)",
405
405
  color: o
406
406
  },
407
407
  "&:disabled": {
408
- "--variant-softDisabledBg": r,
408
+ "--variant-softDisabledBg": n,
409
409
  "--variant-softDisabledColor": o,
410
- bgcolor: r,
410
+ bgcolor: n,
411
411
  color: o,
412
412
  opacity: 0.5,
413
413
  animation: "none"
@@ -425,26 +425,26 @@ const ke = ({
425
425
  children: f.buttonLabel
426
426
  }
427
427
  ),
428
- y && k && b && !b.isWinning && /* @__PURE__ */ t(
428
+ v && R && y && !y.isWinning && /* @__PURE__ */ t(
429
429
  he,
430
430
  {
431
431
  variant: "outlined",
432
- onClick: v,
432
+ onClick: S,
433
433
  sx: {
434
- borderRadius: g.xl,
435
- py: u.sm,
436
- px: u.lg,
437
- borderColor: S.outlineEnabledBorder,
434
+ borderRadius: p.xl,
435
+ py: m.sm,
436
+ px: m.lg,
437
+ borderColor: b.outlineEnabledBorder,
438
438
  color: a,
439
- fontSize: p ? "0.75rem" : "0.875rem",
439
+ fontSize: x ? "0.75rem" : "0.875rem",
440
440
  fontWeight: 700,
441
- fontFamily: i.primary,
441
+ fontFamily: l.primary,
442
442
  textTransform: "uppercase",
443
443
  zIndex: 1,
444
444
  "&:hover": {
445
- borderColor: r,
445
+ borderColor: n,
446
446
  bgcolor: "transparent",
447
- color: r
447
+ color: n
448
448
  }
449
449
  },
450
450
  children: "Reset Game"
@@ -452,66 +452,66 @@ const ke = ({
452
452
  )
453
453
  ] })
454
454
  ] });
455
- if (y) {
456
- const Q = Ce(c), oe = Q ? Q.replace(/[^\d,]/g, "") : "";
455
+ if (v) {
456
+ const Q = Ce(u), oe = Q ? Q.replace(/[^\d,]/g, "") : "";
457
457
  return /* @__PURE__ */ w(
458
- m,
458
+ d,
459
459
  {
460
460
  sx: {
461
461
  display: "flex",
462
462
  flexDirection: "column",
463
463
  width: "100%",
464
464
  height: "100%",
465
- gap: u.lg,
465
+ gap: m.lg,
466
466
  alignItems: "center",
467
467
  position: "relative",
468
468
  overflow: "auto",
469
469
  boxSizing: "border-box"
470
470
  },
471
471
  children: [
472
- !R && f.welcome && /* @__PURE__ */ t(
473
- D,
472
+ !F && f.welcome && /* @__PURE__ */ t(
473
+ B,
474
474
  {
475
475
  level: "body-md",
476
476
  sx: {
477
- fontFamily: i.primary,
477
+ fontFamily: l.primary,
478
478
  fontWeight: 400,
479
- fontSize: p ? "0.875rem" : "1rem",
479
+ fontSize: x ? "0.875rem" : "1rem",
480
480
  color: a,
481
481
  textAlign: "center",
482
- px: u.md
482
+ px: m.md
483
483
  },
484
484
  children: f.welcome
485
485
  }
486
486
  ),
487
487
  /* @__PURE__ */ t(
488
- m,
488
+ d,
489
489
  {
490
490
  sx: {
491
491
  display: "flex",
492
492
  flexDirection: "column",
493
- px: u.md,
493
+ px: m.md,
494
494
  width: "100%",
495
495
  boxSizing: "border-box"
496
496
  },
497
497
  children: /* @__PURE__ */ w(
498
- m,
498
+ d,
499
499
  {
500
500
  sx: {
501
501
  display: "flex",
502
502
  flexDirection: "column",
503
- gap: p ? u.lg : u.md
503
+ gap: x ? m.lg : m.md
504
504
  },
505
505
  children: [
506
506
  /* @__PURE__ */ t(
507
- m,
507
+ d,
508
508
  {
509
509
  sx: {
510
- borderRadius: g.md,
511
- px: u.sm,
512
- pt: u.sm,
513
- pb: u.md,
514
- gap: u.md,
510
+ borderRadius: p.md,
511
+ px: m.sm,
512
+ pt: m.sm,
513
+ pb: m.md,
514
+ gap: m.md,
515
515
  bgcolor: `rgba(${oe}, 0.5)`,
516
516
  display: "flex",
517
517
  flexDirection: "column",
@@ -519,44 +519,44 @@ const ke = ({
519
519
  backdropFilter: "blur(4px)",
520
520
  position: "relative",
521
521
  overflow: "hidden",
522
- ...W && {
523
- border: `${_.size} solid ${B("15")}`
522
+ ..._ && {
523
+ border: `${O.size} solid ${D("15")}`
524
524
  }
525
525
  },
526
526
  children: Y()
527
527
  }
528
528
  ),
529
- k && (b == null ? void 0 : b.results) && /* @__PURE__ */ t(
530
- le,
529
+ R && (y == null ? void 0 : y.results) && /* @__PURE__ */ t(
530
+ ie,
531
531
  {
532
- result: b.results,
532
+ result: y.results,
533
533
  variant: "standard",
534
534
  mode: "inline",
535
535
  contentColor: a,
536
- primaryColor: r,
536
+ primaryColor: n,
537
537
  onPrimaryColor: o,
538
538
  showResetButton: !1,
539
- sx: { mb: u.md }
539
+ sx: { mb: m.md }
540
540
  }
541
541
  ),
542
- (n || f.disclaimer) && /* @__PURE__ */ w(
543
- m,
542
+ (r || f.disclaimer) && /* @__PURE__ */ w(
543
+ d,
544
544
  {
545
545
  sx: {
546
546
  display: "flex",
547
547
  flexDirection: "column",
548
548
  alignItems: "center",
549
- gap: u.md
549
+ gap: m.md
550
550
  },
551
551
  children: [
552
552
  f.disclaimer && /* @__PURE__ */ t(
553
- D,
553
+ B,
554
554
  {
555
555
  level: "body-sm",
556
556
  sx: {
557
- fontFamily: i.secondary,
557
+ fontFamily: l.secondary,
558
558
  fontWeight: 400,
559
- fontSize: p ? "0.625rem" : "0.75rem",
559
+ fontSize: x ? "0.625rem" : "0.75rem",
560
560
  color: a,
561
561
  opacity: 0.7,
562
562
  textAlign: "center",
@@ -566,10 +566,10 @@ const ke = ({
566
566
  children: f.disclaimer
567
567
  }
568
568
  ),
569
- n && /* @__PURE__ */ t(
569
+ r && /* @__PURE__ */ t(
570
570
  "img",
571
571
  {
572
- src: n,
572
+ src: r,
573
573
  alt: "Brand Logo",
574
574
  style: {
575
575
  height: "auto",
@@ -591,14 +591,14 @@ const ke = ({
591
591
  );
592
592
  }
593
593
  return /* @__PURE__ */ w(
594
- m,
594
+ d,
595
595
  {
596
596
  sx: {
597
597
  display: "flex",
598
598
  flexDirection: "column",
599
599
  width: "100%",
600
- p: p ? u.lg : u.xl,
601
- gap: u.lg,
600
+ p: x ? m.lg : m.xl,
601
+ gap: m.lg,
602
602
  alignItems: "center",
603
603
  position: "relative",
604
604
  overflow: "hidden",
@@ -606,23 +606,23 @@ const ke = ({
606
606
  },
607
607
  children: [
608
608
  Y(),
609
- !R && f.disclaimer && /* @__PURE__ */ t(
610
- m,
609
+ !F && f.disclaimer && /* @__PURE__ */ t(
610
+ d,
611
611
  {
612
612
  sx: {
613
613
  display: "flex",
614
614
  flexDirection: "column",
615
615
  alignItems: "center",
616
- gap: u.md
616
+ gap: m.md
617
617
  },
618
618
  children: /* @__PURE__ */ t(
619
- D,
619
+ B,
620
620
  {
621
621
  level: "body-sm",
622
622
  sx: {
623
- fontFamily: i.secondary,
623
+ fontFamily: l.secondary,
624
624
  fontWeight: 400,
625
- fontSize: p ? "0.625rem" : "0.75rem",
625
+ fontSize: x ? "0.625rem" : "0.75rem",
626
626
  color: a,
627
627
  opacity: 0.7,
628
628
  textAlign: "center",
@@ -637,21 +637,21 @@ const ke = ({
637
637
  ]
638
638
  }
639
639
  );
640
- }, wt = ({
640
+ }, zt = ({
641
641
  infoPage: e,
642
- enableReset: s = !1,
642
+ enableReset: c = !1,
643
643
  imagePosition: a = "left",
644
- defaultImagePlaceholderUrl: r
644
+ defaultImagePlaceholderUrl: n
645
645
  }) => {
646
- var u, _;
647
- const { t: x } = se(), o = K(), c = ie(), d = Te() === "dark", n = pe(
646
+ var m, O;
647
+ const { t: g } = se(), o = J(), u = le(), i = Te() === "dark", r = pe(
648
648
  {
649
649
  images: e.images,
650
- imagePlaceholder: r || ""
650
+ imagePlaceholder: n || ""
651
651
  },
652
652
  fe.STANDARD
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
- return /* @__PURE__ */ t(ke, { brandingBorderColor: p, children: /* @__PURE__ */ t(
653
+ ), s = (m = e.branding) == null ? void 0 : m.colors, k = (s == null ? void 0 : s.primary_color) || u.palette.primary.plainColor, z = (s == null ? void 0 : s.secondary_color) || u.palette.danger.plainColor, x = (s == null ? void 0 : s.border_color) || null, b = (s == null ? void 0 : s.background_color) || u.surfaceVariant || "", p = (O = e.branding) == null ? void 0 : O.images, l = o ? (p == null ? void 0 : p.mobile_logo) || (p == null ? void 0 : p.main_logo) || "" : (p == null ? void 0 : p.main_logo) || "";
654
+ return /* @__PURE__ */ t(ke, { brandingBorderColor: x, children: /* @__PURE__ */ t(
655
655
  Ae,
656
656
  {
657
657
  entity: {
@@ -660,59 +660,59 @@ const ke = ({
660
660
  description: e.subtitle || "",
661
661
  rules: null
662
662
  },
663
- headline: x("chanceGame.headlinePrizeWheel"),
664
- finalImage: n,
663
+ headline: g("chanceGame.headlinePrizeWheel"),
664
+ finalImage: r,
665
665
  imagePosition: a,
666
666
  children: /* @__PURE__ */ t(
667
- Ve,
667
+ Ne,
668
668
  {
669
669
  infoPage: e,
670
- enableReset: s,
671
- contentColor: (l == null ? void 0 : l.content_color) || c.textColor,
672
- primaryColor: F,
673
- secondaryColor: O,
674
- onPrimaryColor: c.palette.primary.onPrimary,
675
- borderColor: p || void 0,
676
- backgroundColor: S,
677
- dangerColor: c.palette.danger.plainColor,
678
- shimmerColor: F,
679
- brandingLogo: i,
680
- isDark: d,
670
+ enableReset: c,
671
+ contentColor: (s == null ? void 0 : s.content_color) || u.textColor,
672
+ primaryColor: k,
673
+ secondaryColor: z,
674
+ onPrimaryColor: u.palette.primary.onPrimary,
675
+ borderColor: x || void 0,
676
+ backgroundColor: b,
677
+ dangerColor: u.palette.danger.plainColor,
678
+ shimmerColor: k,
679
+ brandingLogo: l,
680
+ isDark: i,
681
681
  showTitleBlock: !1,
682
682
  variant: "standard"
683
683
  }
684
684
  )
685
685
  }
686
686
  ) });
687
- }, Me = ({
687
+ }, Ve = ({
688
688
  infoPage: e,
689
- enableReset: s = !1,
689
+ enableReset: c = !1,
690
690
  contentColor: a,
691
- primaryColor: r,
692
- onPrimaryColor: x,
691
+ primaryColor: n,
692
+ onPrimaryColor: g,
693
693
  borderColor: o,
694
- backgroundColor: c,
695
- dangerColor: d,
696
- cardBaseColor: n,
697
- shimmerColor: l,
698
- brandingLogo: F = "",
699
- isDark: O = !1,
700
- showTitleBlock: p = !1,
701
- variant: S,
702
- compactCards: g = !1
694
+ backgroundColor: u,
695
+ dangerColor: i,
696
+ cardBaseColor: r,
697
+ shimmerColor: s,
698
+ brandingLogo: k = "",
699
+ isDark: z = !1,
700
+ showTitleBlock: x = !1,
701
+ variant: b,
702
+ compactCards: p = !1
703
703
  }) => {
704
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
- var J;
707
- return (J = ae.images) == null ? void 0 : J.idle;
705
+ const l = J(), m = le(), O = ve(), v = we(), h = xe(), C = Se(), E = r || u, V = s || n, f = b === "standard", L = b === "overlay", H = f ? Ce(u) : "", _ = H ? H.replace(/[^\d,]/g, "") : "", D = p ? l ? 80 : 110 : l ? 100 : 140, T = p ? l ? 104 : 143 : l ? 130 : 180, M = p ? l ? 90 : 130 : l ? 120 : 180, y = p ? l ? "16px" : "32px" : l ? "24px" : "48px", X = p ? l ? "12px" : "32px" : l ? "16px" : "48px", F = Ee(n, z), R = JSON.parse(e.body), $ = R.segments || [], W = e.labels || {}, P = R.mode || ((Fe = R.config) == null ? void 0 : Fe.mode) || "fair", U = ((We = R.config) == null ? void 0 : We.pace) || "normal", j = ((_e = R.config) == null ? void 0 : _e.revealAll) ?? !1, A = ((Oe = R.config) == null ? void 0 : Oe.decorations) ?? !1, I = $.some((ae) => {
706
+ var K;
707
+ return (K = ae.images) == null ? void 0 : K.idle;
708
708
  }), {
709
- selectedSegment: v,
709
+ selectedSegment: S,
710
710
  displaySegments: ee,
711
711
  revealResult: te,
712
712
  showResultScreen: Y,
713
713
  showInlineResult: G,
714
714
  showLoseAnimation: q,
715
- hasEntered: V,
715
+ hasEntered: N,
716
716
  flippedCards: Q,
717
717
  crossfadedCards: oe,
718
718
  revealedOtherCards: ce,
@@ -721,33 +721,33 @@ const ke = ({
721
721
  loseAnimationDuration: Ue,
722
722
  handlePick: Re,
723
723
  handleReset: ge
724
- } = pt({ segments: $, mode: P, pace: U, revealAll: j }), ze = () => /* @__PURE__ */ w(re, { children: [
724
+ } = bt({ segments: $, mode: P, pace: U, revealAll: j }), ze = () => /* @__PURE__ */ w(re, { children: [
725
725
  A && /* @__PURE__ */ t(
726
726
  Ge,
727
727
  {
728
- primaryColor: r,
729
- isDark: O,
728
+ primaryColor: n,
729
+ isDark: z,
730
730
  animationPrefix: "casino"
731
731
  }
732
732
  ),
733
- Y && (v == null ? void 0 : v.results) && /* @__PURE__ */ t(
734
- le,
733
+ Y && (S == null ? void 0 : S.results) && /* @__PURE__ */ t(
734
+ ie,
735
735
  {
736
- result: v.results,
737
- variant: S || "embed",
736
+ result: S.results,
737
+ variant: b || "embed",
738
738
  mode: "screen",
739
739
  contentColor: a,
740
- primaryColor: r,
741
- onPrimaryColor: x,
740
+ primaryColor: n,
741
+ onPrimaryColor: g,
742
742
  borderColor: o,
743
- disclaimer: f ? void 0 : z.disclaimer,
744
- enableReset: s,
743
+ disclaimer: f ? void 0 : W.disclaimer,
744
+ enableReset: c,
745
745
  onReset: ge
746
746
  }
747
747
  ),
748
748
  !Y && /* @__PURE__ */ w(re, { children: [
749
- !f && p && (e.title || e.subtitle) && /* @__PURE__ */ w(
750
- m,
749
+ !f && x && (e.title || e.subtitle) && /* @__PURE__ */ w(
750
+ d,
751
751
  {
752
752
  sx: {
753
753
  display: "flex",
@@ -759,60 +759,60 @@ const ke = ({
759
759
  },
760
760
  children: [
761
761
  e.title && /* @__PURE__ */ t(
762
- D,
762
+ B,
763
763
  {
764
764
  level: "h2",
765
765
  sx: {
766
- fontFamily: y.primary,
766
+ fontFamily: v.primary,
767
767
  fontWeight: 700,
768
- fontSize: i ? "1.5rem" : "2rem",
768
+ fontSize: l ? "1.5rem" : "2rem",
769
769
  color: a,
770
770
  lineHeight: 1.2,
771
- textShadow: A ? `0 0 20px ${r}20` : "none"
771
+ textShadow: A ? `0 0 20px ${n}20` : "none"
772
772
  },
773
773
  children: e.title
774
774
  }
775
775
  ),
776
776
  A && e.title && /* @__PURE__ */ w(
777
- m,
777
+ d,
778
778
  {
779
779
  sx: {
780
780
  display: "flex",
781
781
  alignItems: "center",
782
782
  gap: h.sm,
783
783
  mt: h.xs,
784
- width: i ? "60%" : "40%"
784
+ width: l ? "60%" : "40%"
785
785
  },
786
786
  children: [
787
787
  /* @__PURE__ */ t(
788
- m,
788
+ d,
789
789
  {
790
790
  sx: {
791
791
  flex: 1,
792
792
  height: "1px",
793
- background: `linear-gradient(to right, transparent, ${R("40")})`
793
+ background: `linear-gradient(to right, transparent, ${F("40")})`
794
794
  }
795
795
  }
796
796
  ),
797
797
  /* @__PURE__ */ t(
798
- m,
798
+ d,
799
799
  {
800
800
  sx: {
801
801
  width: "8px",
802
802
  height: "8px",
803
803
  transform: "rotate(45deg)",
804
- border: `${C.size} solid ${R("50")}`,
805
- background: `${R("15")}`
804
+ border: `${C.size} solid ${F("50")}`,
805
+ background: `${F("15")}`
806
806
  }
807
807
  }
808
808
  ),
809
809
  /* @__PURE__ */ t(
810
- m,
810
+ d,
811
811
  {
812
812
  sx: {
813
813
  flex: 1,
814
814
  height: "1px",
815
- background: `linear-gradient(to left, transparent, ${R("40")})`
815
+ background: `linear-gradient(to left, transparent, ${F("40")})`
816
816
  }
817
817
  }
818
818
  )
@@ -820,13 +820,13 @@ const ke = ({
820
820
  }
821
821
  ),
822
822
  e.subtitle && /* @__PURE__ */ t(
823
- D,
823
+ B,
824
824
  {
825
825
  level: "body-md",
826
826
  sx: {
827
- fontFamily: y.secondary,
827
+ fontFamily: v.secondary,
828
828
  fontWeight: 400,
829
- fontSize: i ? "0.875rem" : "1rem",
829
+ fontSize: l ? "0.875rem" : "1rem",
830
830
  color: a,
831
831
  opacity: 0.8
832
832
  },
@@ -836,78 +836,78 @@ const ke = ({
836
836
  ]
837
837
  }
838
838
  ),
839
- /* @__PURE__ */ w(m, { children: [
840
- !f && z.welcome && /* @__PURE__ */ t(
841
- D,
839
+ /* @__PURE__ */ w(d, { children: [
840
+ !f && W.welcome && /* @__PURE__ */ t(
841
+ B,
842
842
  {
843
843
  level: "body-md",
844
844
  sx: {
845
- fontFamily: y.primary,
845
+ fontFamily: v.primary,
846
846
  fontWeight: 400,
847
- fontSize: i ? "0.875rem" : "1rem",
847
+ fontSize: l ? "0.875rem" : "1rem",
848
848
  color: a,
849
849
  textAlign: "center",
850
850
  mb: L ? 0 : h.md
851
851
  },
852
- children: z.welcome
852
+ children: W.welcome
853
853
  }
854
854
  ),
855
- z.instructions && !G && /* @__PURE__ */ t(
856
- D,
855
+ W.instructions && !G && /* @__PURE__ */ t(
856
+ B,
857
857
  {
858
858
  level: f ? "body-sm" : "body-md",
859
859
  sx: {
860
- fontFamily: y.secondary,
860
+ fontFamily: v.secondary,
861
861
  fontWeight: 400,
862
- fontSize: i ? "0.875rem" : "1rem",
862
+ fontSize: l ? "0.875rem" : "1rem",
863
863
  color: a,
864
864
  textAlign: "center",
865
865
  opacity: 0.7,
866
866
  maxWidth: f ? "400px" : "600px"
867
867
  },
868
- children: z.instructions
868
+ children: W.instructions
869
869
  }
870
870
  )
871
871
  ] }),
872
872
  A && /* @__PURE__ */ w(
873
- m,
873
+ d,
874
874
  {
875
875
  sx: {
876
876
  display: "flex",
877
877
  alignItems: "center",
878
878
  gap: h.sm,
879
- width: i ? "40%" : "25%",
879
+ width: l ? "40%" : "25%",
880
880
  my: h.xs
881
881
  },
882
882
  children: [
883
883
  /* @__PURE__ */ t(
884
- m,
884
+ d,
885
885
  {
886
886
  sx: {
887
887
  flex: 1,
888
888
  height: "1px",
889
- background: `linear-gradient(to right, transparent, ${R("25")})`
889
+ background: `linear-gradient(to right, transparent, ${F("25")})`
890
890
  }
891
891
  }
892
892
  ),
893
893
  /* @__PURE__ */ t(
894
- m,
894
+ d,
895
895
  {
896
896
  sx: {
897
897
  width: "4px",
898
898
  height: "4px",
899
899
  borderRadius: "50%",
900
- background: `${R("35")}`
900
+ background: `${F("35")}`
901
901
  }
902
902
  }
903
903
  ),
904
904
  /* @__PURE__ */ t(
905
- m,
905
+ d,
906
906
  {
907
907
  sx: {
908
908
  flex: 1,
909
909
  height: "1px",
910
- background: `linear-gradient(to left, transparent, ${R("25")})`
910
+ background: `linear-gradient(to left, transparent, ${F("25")})`
911
911
  }
912
912
  }
913
913
  )
@@ -915,78 +915,78 @@ const ke = ({
915
915
  }
916
916
  ),
917
917
  /* @__PURE__ */ t(
918
- m,
918
+ d,
919
919
  {
920
920
  sx: {
921
921
  mt: h.lg,
922
922
  mx: "auto",
923
923
  display: "grid",
924
- gridTemplateColumns: I ? `repeat(3, ${N}px)` : `repeat(3, ${B}px)`,
925
- rowGap: b,
924
+ gridTemplateColumns: I ? `repeat(3, ${M}px)` : `repeat(3, ${D}px)`,
925
+ rowGap: y,
926
926
  columnGap: X,
927
927
  justifyContent: "center",
928
928
  mb: h.lg,
929
929
  position: "relative",
930
930
  perspective: "1200px"
931
931
  },
932
- children: (ee ?? $).map((ae, J) => {
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;
932
+ children: (ee ?? $).map((ae, K) => {
933
+ const ye = `card-${K}`, de = S !== null, De = Q.has(ye), me = ce.has(ye), je = de && !De && !me, Be = oe.has(ye), Ye = de && !Be && !me;
934
934
  return /* @__PURE__ */ t(
935
- m,
935
+ d,
936
936
  {
937
937
  sx: {
938
938
  display: "flex",
939
939
  justifyContent: "center",
940
940
  alignItems: "center",
941
941
  // Staggered deal-in entrance
942
- opacity: V ? 1 : 0,
943
- transform: V ? "translateY(0) scale(1) rotateX(0deg)" : "translateY(30px) scale(0.9) rotateX(10deg)",
944
- transition: `all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) ${J * 100}ms`
942
+ opacity: N ? 1 : 0,
943
+ transform: N ? "translateY(0) scale(1) rotateX(0deg)" : "translateY(30px) scale(0.9) rotateX(10deg)",
944
+ transition: `all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) ${K * 100}ms`
945
945
  },
946
946
  children: I ? /* @__PURE__ */ t(
947
- gt,
947
+ vt,
948
948
  {
949
949
  segment: ae,
950
- index: J,
951
- selectedSegment: v,
950
+ index: K,
951
+ selectedSegment: S,
952
952
  revealResult: te,
953
- isCrossfaded: De,
953
+ isCrossfaded: Be,
954
954
  isOtherRevealed: me,
955
955
  shouldDim: Ye,
956
956
  isRevealed: de,
957
- hasEntered: V,
958
- objectSize: N,
957
+ hasEntered: N,
958
+ objectSize: M,
959
959
  crossfadeDuration: Pe,
960
960
  isStandard: f,
961
- primaryColor: r,
962
- dangerColor: d,
963
- onPick: () => Re(J, !0)
961
+ primaryColor: n,
962
+ dangerColor: i,
963
+ onPick: () => Re(K, !0)
964
964
  }
965
965
  ) : /* @__PURE__ */ t(
966
- bt,
966
+ St,
967
967
  {
968
968
  segment: ae,
969
- index: J,
970
- selectedSegment: v,
971
- isFlipped: Be,
969
+ index: K,
970
+ selectedSegment: S,
971
+ isFlipped: De,
972
972
  isOtherRevealed: me,
973
973
  shouldDim: je,
974
974
  isRevealed: de,
975
975
  showLoseAnimation: q,
976
- hasEntered: V,
977
- cardWidth: B,
976
+ hasEntered: N,
977
+ cardWidth: D,
978
978
  cardHeight: T,
979
979
  flipDuration: Xe,
980
980
  loseAnimationDuration: Ue,
981
981
  cardBaseColor: E,
982
- shimmerColor: M,
983
- primaryColor: r,
982
+ shimmerColor: V,
983
+ primaryColor: n,
984
984
  contentColor: a,
985
- dangerColor: d,
985
+ dangerColor: i,
986
986
  borderColor: o,
987
- brandingLogo: F,
988
- compactCards: g,
989
- onPick: () => Re(J, !1)
987
+ brandingLogo: k,
988
+ compactCards: p,
989
+ onPick: () => Re(K, !1)
990
990
  }
991
991
  )
992
992
  },
@@ -995,20 +995,20 @@ const ke = ({
995
995
  })
996
996
  }
997
997
  ),
998
- !f && G && (v == null ? void 0 : v.results) && /* @__PURE__ */ t(
999
- le,
998
+ !f && G && (S == null ? void 0 : S.results) && /* @__PURE__ */ t(
999
+ ie,
1000
1000
  {
1001
- result: v.results,
1001
+ result: S.results,
1002
1002
  variant: "embed",
1003
1003
  mode: "inline",
1004
1004
  contentColor: a,
1005
- primaryColor: r,
1006
- onPrimaryColor: x,
1005
+ primaryColor: n,
1006
+ onPrimaryColor: g,
1007
1007
  borderColor: o,
1008
1008
  showResetButton: !1
1009
1009
  }
1010
1010
  ),
1011
- !f && s && G && /* @__PURE__ */ t(
1011
+ !f && c && G && /* @__PURE__ */ t(
1012
1012
  he,
1013
1013
  {
1014
1014
  onClick: ge,
@@ -1017,42 +1017,42 @@ const ke = ({
1017
1017
  mt: h.md,
1018
1018
  px: h.lg,
1019
1019
  py: h.sm,
1020
- fontFamily: y.secondary,
1020
+ fontFamily: v.secondary,
1021
1021
  fontWeight: 600,
1022
- fontSize: i ? "0.875rem" : "1rem",
1022
+ fontSize: l ? "0.875rem" : "1rem",
1023
1023
  textTransform: "uppercase",
1024
- borderRadius: _.md,
1025
- borderColor: o || u.outlineEnabledBorder,
1024
+ borderRadius: O.md,
1025
+ borderColor: o || m.outlineEnabledBorder,
1026
1026
  color: a,
1027
- minWidth: i ? "150px" : "180px",
1027
+ minWidth: l ? "150px" : "180px",
1028
1028
  "&:hover": {
1029
- borderColor: r,
1029
+ borderColor: n,
1030
1030
  bgcolor: "transparent",
1031
- color: r
1031
+ color: n
1032
1032
  }
1033
1033
  },
1034
1034
  children: "Reset Game"
1035
1035
  }
1036
1036
  ),
1037
- f && s && G && /* @__PURE__ */ t(
1037
+ f && c && G && /* @__PURE__ */ t(
1038
1038
  he,
1039
1039
  {
1040
1040
  onClick: ge,
1041
1041
  variant: "outlined",
1042
1042
  sx: {
1043
- borderRadius: _.xl,
1043
+ borderRadius: O.xl,
1044
1044
  py: h.sm,
1045
1045
  px: h.lg,
1046
- borderColor: u.outlineEnabledBorder,
1046
+ borderColor: m.outlineEnabledBorder,
1047
1047
  color: a,
1048
- fontSize: i ? "0.75rem" : "0.875rem",
1048
+ fontSize: l ? "0.75rem" : "0.875rem",
1049
1049
  fontWeight: 700,
1050
- fontFamily: y.primary,
1050
+ fontFamily: v.primary,
1051
1051
  textTransform: "uppercase",
1052
1052
  "&:hover": {
1053
- borderColor: r,
1053
+ borderColor: n,
1054
1054
  bgcolor: "transparent",
1055
- color: r
1055
+ color: n
1056
1056
  }
1057
1057
  },
1058
1058
  children: "Reset Game"
@@ -1061,7 +1061,7 @@ const ke = ({
1061
1061
  ] })
1062
1062
  ] });
1063
1063
  return f ? /* @__PURE__ */ w(
1064
- m,
1064
+ d,
1065
1065
  {
1066
1066
  sx: {
1067
1067
  display: "flex",
@@ -1075,23 +1075,23 @@ const ke = ({
1075
1075
  boxSizing: "border-box"
1076
1076
  },
1077
1077
  children: [
1078
- !Y && z.welcome && /* @__PURE__ */ t(
1079
- D,
1078
+ !Y && W.welcome && /* @__PURE__ */ t(
1079
+ B,
1080
1080
  {
1081
1081
  level: "body-md",
1082
1082
  sx: {
1083
- fontFamily: y.primary,
1083
+ fontFamily: v.primary,
1084
1084
  fontWeight: 400,
1085
- fontSize: i ? "0.875rem" : "1rem",
1085
+ fontSize: l ? "0.875rem" : "1rem",
1086
1086
  color: a,
1087
1087
  textAlign: "center",
1088
1088
  px: h.md
1089
1089
  },
1090
- children: z.welcome
1090
+ children: W.welcome
1091
1091
  }
1092
1092
  ),
1093
1093
  /* @__PURE__ */ t(
1094
- m,
1094
+ d,
1095
1095
  {
1096
1096
  sx: {
1097
1097
  display: "flex",
@@ -1101,24 +1101,24 @@ const ke = ({
1101
1101
  boxSizing: "border-box"
1102
1102
  },
1103
1103
  children: /* @__PURE__ */ w(
1104
- m,
1104
+ d,
1105
1105
  {
1106
1106
  sx: {
1107
1107
  display: "flex",
1108
1108
  flexDirection: "column",
1109
- gap: i ? h.lg : h.md
1109
+ gap: l ? h.lg : h.md
1110
1110
  },
1111
1111
  children: [
1112
1112
  /* @__PURE__ */ t(
1113
- m,
1113
+ d,
1114
1114
  {
1115
1115
  sx: {
1116
- borderRadius: _.md,
1116
+ borderRadius: O.md,
1117
1117
  px: h.sm,
1118
1118
  pt: h.sm,
1119
1119
  pb: h.md,
1120
1120
  gap: h.md,
1121
- bgcolor: `rgba(${W}, 0.5)`,
1121
+ bgcolor: `rgba(${_}, 0.5)`,
1122
1122
  display: "flex",
1123
1123
  flexDirection: "column",
1124
1124
  alignItems: "center",
@@ -1129,21 +1129,21 @@ const ke = ({
1129
1129
  children: ze()
1130
1130
  }
1131
1131
  ),
1132
- G && (v == null ? void 0 : v.results) && /* @__PURE__ */ t(
1133
- le,
1132
+ G && (S == null ? void 0 : S.results) && /* @__PURE__ */ t(
1133
+ ie,
1134
1134
  {
1135
- result: v.results,
1135
+ result: S.results,
1136
1136
  variant: "standard",
1137
1137
  mode: "inline",
1138
1138
  contentColor: a,
1139
- primaryColor: r,
1140
- onPrimaryColor: x,
1139
+ primaryColor: n,
1140
+ onPrimaryColor: g,
1141
1141
  showResetButton: !1,
1142
1142
  sx: { mb: h.md }
1143
1143
  }
1144
1144
  ),
1145
- (F || z.disclaimer) && /* @__PURE__ */ w(
1146
- m,
1145
+ (k || W.disclaimer) && /* @__PURE__ */ w(
1146
+ d,
1147
1147
  {
1148
1148
  sx: {
1149
1149
  display: "flex",
@@ -1152,27 +1152,27 @@ const ke = ({
1152
1152
  gap: h.md
1153
1153
  },
1154
1154
  children: [
1155
- z.disclaimer && /* @__PURE__ */ t(
1156
- D,
1155
+ W.disclaimer && /* @__PURE__ */ t(
1156
+ B,
1157
1157
  {
1158
1158
  level: "body-sm",
1159
1159
  sx: {
1160
- fontFamily: y.secondary,
1160
+ fontFamily: v.secondary,
1161
1161
  fontWeight: 400,
1162
- fontSize: i ? "0.625rem" : "0.75rem",
1162
+ fontSize: l ? "0.625rem" : "0.75rem",
1163
1163
  color: a,
1164
1164
  opacity: 0.7,
1165
1165
  textAlign: "center",
1166
1166
  maxWidth: "900px",
1167
1167
  lineHeight: 1.4
1168
1168
  },
1169
- children: z.disclaimer
1169
+ children: W.disclaimer
1170
1170
  }
1171
1171
  ),
1172
- F && I && /* @__PURE__ */ t(
1172
+ k && I && /* @__PURE__ */ t(
1173
1173
  "img",
1174
1174
  {
1175
- src: F,
1175
+ src: k,
1176
1176
  alt: "Brand Logo",
1177
1177
  style: {
1178
1178
  height: "auto",
@@ -1192,7 +1192,7 @@ const ke = ({
1192
1192
  ]
1193
1193
  }
1194
1194
  ) : /* @__PURE__ */ t(
1195
- m,
1195
+ d,
1196
1196
  {
1197
1197
  sx: {
1198
1198
  display: "flex",
@@ -1209,21 +1209,21 @@ const ke = ({
1209
1209
  children: ze()
1210
1210
  }
1211
1211
  );
1212
- }, kt = ({
1212
+ }, Ft = ({
1213
1213
  infoPage: e,
1214
- enableReset: s = !1,
1214
+ enableReset: c = !1,
1215
1215
  imagePosition: a = "left",
1216
- defaultImagePlaceholderUrl: r
1216
+ defaultImagePlaceholderUrl: n
1217
1217
  }) => {
1218
- var i, u, _;
1219
- const { t: x } = se(), o = K(), c = ie(), d = Te() === "dark", n = pe(
1218
+ var l, m, O;
1219
+ const { t: g } = se(), o = J(), u = le(), i = Te() === "dark", r = pe(
1220
1220
  {
1221
1221
  images: e.images,
1222
- imagePlaceholder: r || ""
1222
+ imagePlaceholder: n || ""
1223
1223
  },
1224
1224
  fe.STANDARD
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
- return /* @__PURE__ */ t(ke, { brandingBorderColor: O, children: /* @__PURE__ */ t(
1225
+ ), s = (l = e.branding) == null ? void 0 : l.colors, k = (s == null ? void 0 : s.primary_color) || u.palette.primary.plainColor, z = (s == null ? void 0 : s.border_color) || null, x = (s == null ? void 0 : s.background_color) || u.surfaceVariant || "", b = (m = e.branding) == null ? void 0 : m.images, p = o ? (b == null ? void 0 : b.mobile_logo) || (b == null ? void 0 : b.main_logo) || "" : (b == null ? void 0 : b.main_logo) || "";
1226
+ return /* @__PURE__ */ t(ke, { brandingBorderColor: z, children: /* @__PURE__ */ t(
1227
1227
  Ae,
1228
1228
  {
1229
1229
  entity: {
@@ -1232,26 +1232,26 @@ const ke = ({
1232
1232
  description: e.subtitle || "",
1233
1233
  rules: null
1234
1234
  },
1235
- headline: x("chanceGame.headlinePickOneOfX", {
1236
- count: ((_ = JSON.parse(e.body).segments) == null ? void 0 : _.length) || 0
1235
+ headline: g("chanceGame.headlinePickOneOfX", {
1236
+ count: ((O = JSON.parse(e.body).segments) == null ? void 0 : O.length) || 0
1237
1237
  }),
1238
- finalImage: n,
1238
+ finalImage: r,
1239
1239
  imagePosition: a,
1240
1240
  children: /* @__PURE__ */ t(
1241
- Me,
1241
+ Ve,
1242
1242
  {
1243
1243
  infoPage: e,
1244
- enableReset: s,
1245
- contentColor: (l == null ? void 0 : l.content_color) || c.textPrimary,
1246
- primaryColor: F,
1247
- onPrimaryColor: (l == null ? void 0 : l.content_color) || c.palette.primary.onPrimary || c.surface,
1248
- borderColor: O || void 0,
1249
- backgroundColor: p,
1250
- dangerColor: c.palette.danger.plainColor,
1251
- cardBaseColor: p,
1252
- shimmerColor: F,
1253
- brandingLogo: g,
1254
- isDark: d,
1244
+ enableReset: c,
1245
+ contentColor: (s == null ? void 0 : s.content_color) || u.textPrimary,
1246
+ primaryColor: k,
1247
+ onPrimaryColor: (s == null ? void 0 : s.content_color) || u.palette.primary.onPrimary || u.surface,
1248
+ borderColor: z || void 0,
1249
+ backgroundColor: x,
1250
+ dangerColor: u.palette.danger.plainColor,
1251
+ cardBaseColor: x,
1252
+ shimmerColor: k,
1253
+ brandingLogo: p,
1254
+ isDark: i,
1255
1255
  showTitleBlock: !1,
1256
1256
  variant: "standard",
1257
1257
  compactCards: !0
@@ -1302,29 +1302,29 @@ const ke = ({
1302
1302
  margin: "0 auto",
1303
1303
  opacity: 0.9
1304
1304
  }
1305
- }), Rt = ({
1305
+ }), Wt = ({
1306
1306
  infoPage: e,
1307
- enableReset: s = !1,
1307
+ enableReset: c = !1,
1308
1308
  defaultImagePlaceholderUrl: a
1309
1309
  }) => {
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(
1310
+ var f, L, H, _, D, T, M, y, X, F, R, $, W, P, U, j, A, I, S;
1311
+ const { t: n } = se(), g = J(), o = $e(), u = xe(), i = ((f = e.branding) == null ? void 0 : f.colors) || null, r = (L = e.branding) == null ? void 0 : L.images, s = g ? (r == null ? void 0 : r.mobile_background_image) || (r == null ? void 0 : r.background_image) || "" : (r == null ? void 0 : r.background_image) || "", k = g ? (r == null ? void 0 : r.mobile_logo) || (r == null ? void 0 : r.main_logo) || "" : (r == null ? void 0 : r.main_logo) || "", z = a || (g ? He : Me), x = s || pe(
1312
1312
  {
1313
1313
  images: e.images,
1314
- imagePlaceholder: O
1314
+ imagePlaceholder: z
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 = (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
- spacingScale: c,
1317
+ ), b = o.colorSchemes.dark.textColor, p = (i == null ? void 0 : i.content_color) || b, l = (i == null ? void 0 : i.primary_color) || ((T = (D = (_ = (H = o.colorSchemes) == null ? void 0 : H.light) == null ? void 0 : _.palette) == null ? void 0 : D.primary) == null ? void 0 : T.plainColor), m = (F = (X = (y = (M = o.colorSchemes) == null ? void 0 : M.light) == null ? void 0 : y.palette) == null ? void 0 : X.primary) == null ? void 0 : F.onPrimary, O = (i == null ? void 0 : i.background_color) || (($ = (R = o.colorSchemes) == null ? void 0 : R.dark) == null ? void 0 : $.surfaceVariant), v = (j = (U = (P = (W = o.colorSchemes) == null ? void 0 : W.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, V = Le({
1318
+ spacingScale: u,
1319
1319
  mdBorderRadius: C,
1320
- contentBgColor: _,
1320
+ contentBgColor: O,
1321
1321
  buttonRadius: E,
1322
- primaryColor: i,
1323
- onPrimaryColor: u,
1322
+ primaryColor: l,
1323
+ onPrimaryColor: m,
1324
1324
  fontFamilyPrimary: h,
1325
- darkTextColor: S,
1326
- isMobile: x,
1327
- textColor: g
1325
+ darkTextColor: b,
1326
+ isMobile: g,
1327
+ textColor: p
1328
1328
  });
1329
1329
  return /* @__PURE__ */ t(
1330
1330
  Ie,
@@ -1335,23 +1335,23 @@ const ke = ({
1335
1335
  description: e.subtitle || "",
1336
1336
  rules: null
1337
1337
  },
1338
- headline: r("chanceGame.headlinePickOneOfX", {
1339
- count: ((v = JSON.parse(e.body).segments) == null ? void 0 : v.length) || 0
1338
+ headline: n("chanceGame.headlinePickOneOfX", {
1339
+ count: ((S = JSON.parse(e.body).segments) == null ? void 0 : S.length) || 0
1340
1340
  }),
1341
- finalImage: p,
1342
- children: /* @__PURE__ */ t(m, { sx: M.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
1343
- Me,
1341
+ finalImage: x,
1342
+ children: /* @__PURE__ */ t(d, { sx: V.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
1343
+ Ve,
1344
1344
  {
1345
1345
  infoPage: e,
1346
- enableReset: s,
1347
- contentColor: g,
1348
- primaryColor: i,
1349
- onPrimaryColor: u || "#FFFFFF",
1350
- backgroundColor: _,
1351
- dangerColor: y,
1352
- cardBaseColor: _,
1353
- shimmerColor: i,
1354
- brandingLogo: F,
1346
+ enableReset: c,
1347
+ contentColor: p,
1348
+ primaryColor: l,
1349
+ onPrimaryColor: m || "#FFFFFF",
1350
+ backgroundColor: O,
1351
+ dangerColor: v,
1352
+ cardBaseColor: O,
1353
+ shimmerColor: l,
1354
+ brandingLogo: k,
1355
1355
  isDark: !0,
1356
1356
  showTitleBlock: !1,
1357
1357
  variant: "overlay",
@@ -1360,13 +1360,13 @@ const ke = ({
1360
1360
  ) })
1361
1361
  }
1362
1362
  );
1363
- }, zt = (e) => {
1364
- const s = we().secondary, a = et(), r = e.isSplitVariant && a, x = K(), o = Je(e.primaryUrl, e.secondaryUrl, "logo");
1363
+ }, _t = (e) => {
1364
+ const c = we().secondary, a = et(), n = e.isSplitVariant && a, g = J(), o = Ke(e.primaryUrl, e.secondaryUrl, "logo");
1365
1365
  if (!e.brandingLogo)
1366
1366
  return null;
1367
- const c = () => {
1367
+ const u = () => {
1368
1368
  o && window.open(o, "_blank", "noopener,noreferrer");
1369
- }, d = /* @__PURE__ */ t(
1369
+ }, i = /* @__PURE__ */ t(
1370
1370
  "img",
1371
1371
  {
1372
1372
  src: e.brandingLogo,
@@ -1376,8 +1376,8 @@ const ke = ({
1376
1376
  maxWidth: "100px"
1377
1377
  }
1378
1378
  }
1379
- ), n = o ? typeof window > "u" ? /* @__PURE__ */ t(
1380
- m,
1379
+ ), r = o ? typeof window > "u" ? /* @__PURE__ */ t(
1380
+ d,
1381
1381
  {
1382
1382
  component: "a",
1383
1383
  href: o,
@@ -1388,21 +1388,21 @@ const ke = ({
1388
1388
  textDecoration: "none",
1389
1389
  display: "inline-flex"
1390
1390
  },
1391
- children: d
1391
+ children: i
1392
1392
  }
1393
1393
  ) : /* @__PURE__ */ t(
1394
- m,
1394
+ d,
1395
1395
  {
1396
- onClick: c,
1396
+ onClick: u,
1397
1397
  sx: {
1398
1398
  cursor: "pointer",
1399
1399
  display: "inline-flex"
1400
1400
  },
1401
- children: d
1401
+ children: i
1402
1402
  }
1403
- ) : d;
1404
- return e.isCentered || r || x ? /* @__PURE__ */ w(
1405
- m,
1403
+ ) : i;
1404
+ return e.isCentered || n || g ? /* @__PURE__ */ w(
1405
+ d,
1406
1406
  {
1407
1407
  sx: {
1408
1408
  display: "flex",
@@ -1415,7 +1415,7 @@ const ke = ({
1415
1415
  },
1416
1416
  children: [
1417
1417
  e.label && /* @__PURE__ */ t(
1418
- D,
1418
+ B,
1419
1419
  {
1420
1420
  level: "body-sm",
1421
1421
  sx: {
@@ -1425,16 +1425,16 @@ const ke = ({
1425
1425
  fontSize: "1em",
1426
1426
  color: e.textColor,
1427
1427
  textAlign: "right",
1428
- fontFamily: s
1428
+ fontFamily: c
1429
1429
  },
1430
1430
  children: e.label
1431
1431
  }
1432
1432
  ),
1433
- n
1433
+ r
1434
1434
  ]
1435
1435
  }
1436
1436
  ) : /* @__PURE__ */ w(
1437
- m,
1437
+ d,
1438
1438
  {
1439
1439
  sx: {
1440
1440
  minWidth: "180px",
@@ -1446,7 +1446,7 @@ const ke = ({
1446
1446
  },
1447
1447
  children: [
1448
1448
  e.label && /* @__PURE__ */ t(
1449
- D,
1449
+ B,
1450
1450
  {
1451
1451
  level: "body-sm",
1452
1452
  sx: {
@@ -1456,38 +1456,38 @@ const ke = ({
1456
1456
  textAlign: "right",
1457
1457
  fontSize: "1em",
1458
1458
  color: e.textColor,
1459
- fontFamily: s
1459
+ fontFamily: c
1460
1460
  },
1461
1461
  children: e.label
1462
1462
  }
1463
1463
  ),
1464
- n
1464
+ r
1465
1465
  ]
1466
1466
  }
1467
1467
  );
1468
- }, Ft = ({
1468
+ }, Ot = ({
1469
1469
  infoPage: e,
1470
- enableReset: s = !1,
1470
+ enableReset: c = !1,
1471
1471
  defaultImagePlaceholderUrl: a
1472
1472
  }) => {
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(
1473
+ var L, H, _, D, T, M, y, X, F, R, $, W, P, U, j, A, I, S, ee, te, Y, G, q, N, Q, oe, ce;
1474
+ const { t: n } = se(), g = J(), o = $e(), u = xe(), i = ((L = e.branding) == null ? void 0 : L.colors) || null, r = (H = e.branding) == null ? void 0 : H.images, s = g ? (r == null ? void 0 : r.mobile_background_image) || (r == null ? void 0 : r.background_image) || "" : (r == null ? void 0 : r.background_image) || "", k = g ? (r == null ? void 0 : r.mobile_logo) || (r == null ? void 0 : r.main_logo) || "" : (r == null ? void 0 : r.main_logo) || "", z = a || (g ? He : Me), x = s || pe(
1475
1475
  {
1476
1476
  images: e.images,
1477
- imagePlaceholder: O
1477
+ imagePlaceholder: z
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), _ = (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
- spacingScale: c,
1480
+ ), b = o.colorSchemes.dark.textColor, p = (i == null ? void 0 : i.content_color) || b, l = (i == null ? void 0 : i.primary_color) || ((M = (T = (D = (_ = o.colorSchemes) == null ? void 0 : _.light) == null ? void 0 : D.palette) == null ? void 0 : T.primary) == null ? void 0 : M.plainColor), m = (i == null ? void 0 : i.secondary_color) || ((R = (F = (X = (y = o.colorSchemes) == null ? void 0 : y.light) == null ? void 0 : X.palette) == null ? void 0 : F.danger) == null ? void 0 : R.plainColor), O = (U = (P = (W = ($ = o.colorSchemes) == null ? void 0 : $.light) == null ? void 0 : W.palette) == null ? void 0 : P.primary) == null ? void 0 : U.onPrimary, v = (i == null ? void 0 : i.background_color) || ((A = (j = o.colorSchemes) == null ? void 0 : j.dark) == null ? void 0 : A.surfaceVariant), h = (te = (ee = (S = (I = o.colorSchemes) == null ? void 0 : I.light) == null ? void 0 : S.palette) == null ? void 0 : ee.danger) == null ? void 0 : te.plainColor, C = o.customFontFamily.dark.primary, E = o.customRadius.dark.md, V = (G = (Y = o.customRadius) == null ? void 0 : Y.light) == null ? void 0 : G.xl, f = Le({
1481
+ spacingScale: u,
1482
1482
  mdBorderRadius: E,
1483
- contentBgColor: y,
1484
- buttonRadius: M,
1485
- primaryColor: i,
1486
- onPrimaryColor: _,
1483
+ contentBgColor: v,
1484
+ buttonRadius: V,
1485
+ primaryColor: l,
1486
+ onPrimaryColor: O,
1487
1487
  fontFamilyPrimary: C,
1488
- darkTextColor: S,
1489
- isMobile: x,
1490
- textColor: g
1488
+ darkTextColor: b,
1489
+ isMobile: g,
1490
+ textColor: p
1491
1491
  });
1492
1492
  return /* @__PURE__ */ w(
1493
1493
  Ie,
@@ -1498,138 +1498,147 @@ const ke = ({
1498
1498
  description: e.subtitle || "",
1499
1499
  rules: null
1500
1500
  },
1501
- headline: r("chanceGame.headlinePrizeWheel"),
1502
- finalImage: p,
1501
+ headline: n("chanceGame.headlinePrizeWheel"),
1502
+ finalImage: x,
1503
1503
  children: [
1504
- /* @__PURE__ */ t(m, { sx: f.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
1505
- Ve,
1504
+ /* @__PURE__ */ t(d, { sx: f.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
1505
+ Ne,
1506
1506
  {
1507
1507
  infoPage: e,
1508
- enableReset: s,
1509
- contentColor: g,
1510
- primaryColor: i,
1511
- secondaryColor: u,
1512
- onPrimaryColor: _ || "#FFFFFF",
1513
- backgroundColor: y,
1508
+ enableReset: c,
1509
+ contentColor: p,
1510
+ primaryColor: l,
1511
+ secondaryColor: m,
1512
+ onPrimaryColor: O || "#FFFFFF",
1513
+ backgroundColor: v,
1514
1514
  dangerColor: h,
1515
- shimmerColor: i,
1516
- brandingLogo: F,
1515
+ shimmerColor: l,
1516
+ brandingLogo: k,
1517
1517
  isDark: !0,
1518
1518
  showTitleBlock: !1,
1519
1519
  variant: "overlay"
1520
1520
  }
1521
1521
  ) }),
1522
1522
  /* @__PURE__ */ t(
1523
- zt,
1523
+ _t,
1524
1524
  {
1525
- brandingLogo: F,
1526
- textColor: S,
1525
+ brandingLogo: k,
1526
+ textColor: b,
1527
1527
  label: ((q = e.labels) == null ? void 0 : q.sponsor) || null,
1528
- primaryUrl: (Q = (V = e.branding) == null ? void 0 : V.urls) == null ? void 0 : Q.primary_url,
1528
+ primaryUrl: (Q = (N = e.branding) == null ? void 0 : N.urls) == null ? void 0 : Q.primary_url,
1529
1529
  secondaryUrl: (ce = (oe = e.branding) == null ? void 0 : oe.urls) == null ? void 0 : ce.secondary_url
1530
1530
  }
1531
1531
  )
1532
1532
  ]
1533
1533
  }
1534
1534
  );
1535
- }, Wt = (e) => {
1536
- const { infoPage: s } = ct(e.entityId, "chance-game", e.sdk), a = () => {
1537
- if (s && s.id !== "not-found") {
1538
- const o = Object.keys(Ke);
1539
- if (s.language && o.includes(s.language))
1540
- return s.language;
1541
- if (s.language)
1535
+ }, Dt = (e) => {
1536
+ const { infoPage: c } = ut(e.entityId, "chance-game", e.sdk), a = () => {
1537
+ if (c && c.id !== "not-found") {
1538
+ const o = Object.keys(Je);
1539
+ if (c.language && o.includes(c.language))
1540
+ return c.language;
1541
+ if (c.language)
1542
1542
  return "en";
1543
1543
  }
1544
1544
  return e.language || "en";
1545
- }, [r, x] = qe(!1);
1545
+ }, [n, g] = qe(!1);
1546
1546
  if (Qe(() => {
1547
1547
  const o = a();
1548
- tt(o).then(() => x(!0));
1549
- }, [e.language, s]), !s || !r)
1550
- return /* @__PURE__ */ t(at, { my: 20 });
1551
- if (s.id === "not-found")
1552
- return /* @__PURE__ */ t(St, { template: e.template });
1548
+ tt(o).then(() => g(!0));
1549
+ }, [e.language, c]), !c || !n)
1550
+ return /* @__PURE__ */ t(dt, { my: 20 });
1551
+ if (c.id === "not-found")
1552
+ return /* @__PURE__ */ t(Rt, { template: e.template });
1553
1553
  if (e.template === ue.STANDARD) {
1554
- const o = e.imagePosition, c = e.defaultImagePlaceholderUrl;
1555
- return e.variant === ne.PENALTY_SHOOTOUT ? /* @__PURE__ */ t(ye, { infoPage: s }) : e.variant === ne.PICK_ONE_OF_X ? /* @__PURE__ */ t(
1556
- kt,
1554
+ const o = e.imagePosition, u = e.defaultImagePlaceholderUrl;
1555
+ return e.variant === ne.PENALTY_SHOOTOUT ? /* @__PURE__ */ t(be, { infoPage: c }) : e.variant === ne.PICK_ONE_OF_X ? /* @__PURE__ */ t(
1556
+ Ft,
1557
1557
  {
1558
- infoPage: s,
1558
+ infoPage: c,
1559
1559
  imagePosition: o,
1560
- defaultImagePlaceholderUrl: c
1560
+ defaultImagePlaceholderUrl: u
1561
1561
  }
1562
1562
  ) : /* @__PURE__ */ t(
1563
- wt,
1563
+ zt,
1564
1564
  {
1565
- infoPage: s,
1565
+ infoPage: c,
1566
1566
  imagePosition: o,
1567
- defaultImagePlaceholderUrl: c
1567
+ defaultImagePlaceholderUrl: u
1568
1568
  }
1569
1569
  );
1570
1570
  }
1571
1571
  if (e.template === ue.OVERLAY) {
1572
1572
  const o = e.defaultImagePlaceholderUrl;
1573
- return e.variant === ne.PENALTY_SHOOTOUT ? /* @__PURE__ */ t(ye, { infoPage: s }) : e.variant === ne.PICK_ONE_OF_X ? /* @__PURE__ */ t(
1574
- Rt,
1573
+ return e.variant === ne.PENALTY_SHOOTOUT ? /* @__PURE__ */ t(be, { infoPage: c }) : e.variant === ne.PICK_ONE_OF_X ? /* @__PURE__ */ t(
1574
+ Wt,
1575
1575
  {
1576
- infoPage: s,
1576
+ infoPage: c,
1577
1577
  defaultImagePlaceholderUrl: o
1578
1578
  }
1579
1579
  ) : /* @__PURE__ */ t(
1580
- Ft,
1580
+ Ot,
1581
1581
  {
1582
- infoPage: s,
1582
+ infoPage: c,
1583
1583
  defaultImagePlaceholderUrl: o
1584
1584
  }
1585
1585
  );
1586
1586
  }
1587
- 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 });
1588
- }, _t = (e) => {
1589
- const [s, a] = Z.useState(!1), r = Z.useRef(
1587
+ return e.variant === ne.PENALTY_SHOOTOUT ? /* @__PURE__ */ t(be, { infoPage: c }) : e.variant === ne.PICK_ONE_OF_X ? /* @__PURE__ */ t(wt, { infoPage: c }) : /* @__PURE__ */ t(kt, { infoPage: c });
1588
+ }, Bt = (e) => {
1589
+ const [c, a] = Z.useState(!1), n = ot(e.language), g = Z.useRef(
1590
1590
  `chance-game-shadow-root-${Math.random().toString(36).substring(2, 11)}`
1591
- ), x = Z.useRef(null), o = Z.useRef(null), c = Z.useRef(null), d = Z.useRef(null);
1591
+ ), o = Z.useRef(null), u = Z.useRef(null), i = Z.useRef(null), [r, s] = Z.useState(null);
1592
1592
  Z.useEffect(() => {
1593
- if (x.current)
1594
- return x.current.shadowRoot ? (o.current = x.current.shadowRoot, c.current = o.current.getElementById(
1595
- r.current
1596
- ), c.current || (c.current = document.createElement("div"), c.current.id = r.current, o.current.appendChild(c.current))) : (o.current = x.current.attachShadow({ mode: "open" }), c.current = document.createElement("div"), c.current.id = r.current, o.current.appendChild(c.current)), d.current || (d.current = ot({
1597
- key: "chance-game-css",
1598
- prepend: !0,
1599
- container: o.current
1600
- })), a(!0), () => {
1601
- a(!1);
1602
- };
1603
- }, []);
1604
- const n = e.themeOptions, l = {
1605
- ...n,
1606
- mode: e.template === ue.OVERLAY ? "dark" : n == null ? void 0 : n.mode
1607
- }, F = /* @__PURE__ */ t(m, { ref: x }), O = s && x.current && c.current && d.current ? st(
1608
- /* @__PURE__ */ t(nt, { value: d.current, children: /* @__PURE__ */ t(rt, { containerRef: x, children: /* @__PURE__ */ t(
1609
- lt,
1593
+ if (!o.current) return;
1594
+ o.current.shadowRoot ? (u.current = o.current.shadowRoot, i.current = u.current.getElementById(
1595
+ g.current
1596
+ ), i.current || (i.current = document.createElement("div"), i.current.id = g.current, u.current.appendChild(i.current))) : (u.current = o.current.attachShadow({ mode: "open" }), i.current = document.createElement("div"), i.current.id = g.current, u.current.appendChild(i.current)), nt(i.current, n);
1597
+ const p = ct("chance-game", n);
1598
+ return s(
1599
+ (l) => (l == null ? void 0 : l.key) === p ? l : rt(
1600
+ "chance-game",
1601
+ u.current,
1602
+ n
1603
+ )
1604
+ ), a(!0), () => {
1605
+ a(!1);
1606
+ };
1607
+ }, [n]);
1608
+ const k = e.themeOptions, z = {
1609
+ ...k,
1610
+ mode: e.template === ue.OVERLAY ? "dark" : k == null ? void 0 : k.mode
1611
+ }, x = /* @__PURE__ */ t(d, { ref: o }), b = c && o.current && i.current && r ? mt(
1612
+ // Keyed on the cache, not on `direction`: it must change in the same
1613
+ // render that adopts the new cache, or CssVarsProvider writes its CSS
1614
+ // variables into the outgoing cache and never repeats.
1615
+ /* @__PURE__ */ t(it, { value: r, children: /* @__PURE__ */ t(lt, { containerRef: o, children: /* @__PURE__ */ t(
1616
+ at,
1610
1617
  {
1611
- customTheme: l,
1612
- mode: l == null ? void 0 : l.mode,
1613
- shadowRootElement: c.current,
1618
+ customTheme: z,
1619
+ mode: z == null ? void 0 : z.mode,
1620
+ shadowRootElement: i.current,
1621
+ direction: n,
1614
1622
  children: /* @__PURE__ */ t(
1615
- it,
1623
+ st,
1616
1624
  {
1617
- shadowRootElement: c.current,
1625
+ shadowRootElement: i.current,
1618
1626
  leadPhoneCountryCode: null,
1619
1627
  language: null,
1620
1628
  optionsLayout: null,
1629
+ direction: n,
1621
1630
  children: e.children
1622
1631
  }
1623
1632
  )
1624
1633
  }
1625
- ) }) }),
1626
- c.current
1634
+ ) }) }, r.key),
1635
+ i.current
1627
1636
  ) : null;
1628
1637
  return /* @__PURE__ */ w(re, { children: [
1629
- F,
1630
- O
1638
+ x,
1639
+ b
1631
1640
  ] });
1632
- }, Ot = (e) => /* @__PURE__ */ t(_t, { ...e, children: /* @__PURE__ */ t(Wt, { ...e }) }), Mt = Ot;
1641
+ }, Ct = (e) => /* @__PURE__ */ t(Bt, { ...e, children: /* @__PURE__ */ t(Dt, { ...e }) }), Pt = Ct;
1633
1642
  export {
1634
- Mt as ChanceGame
1643
+ Pt as ChanceGame
1635
1644
  };