fansunited-widgets-cdn 0.0.96 → 0.0.97

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 (97) hide show
  1. package/chunks/{AlertMessage-Ds45MBHB-BfoiZMI1.js → AlertMessage-CQ9WJHSb-DfqQgRzR.js} +39 -39
  2. package/chunks/{ArrowRightAlt-DKADQN2o-CQglMfLw.js → ArrowRightAlt-C1U8SNu--CUj4_wr7.js} +20 -21
  3. package/chunks/{Avatar-K1EWhhkA-BVJFGbUO.js → Avatar-COVJnfGS-Ckkr6BD1.js} +66 -66
  4. package/chunks/BetslipWrapper-BCiOkICi.js +29 -0
  5. package/chunks/Button-COvmPv4P-Co5wAKzV.js +1727 -0
  6. package/chunks/{ChanceGameEmbedVariant-DqFg4YKU-DM1dRxhB.js → ChanceGameEmbedVariant-lfZlSATv-D3WErUkd.js} +48 -48
  7. package/chunks/{ChanceGameWrapper-CC0Jtbe5.js → ChanceGameWrapper-zYsCa4TM.js} +156 -156
  8. package/chunks/{CheckCircle-CV9iMpkZ-D4EPnl4h.js → CheckCircle-h7-xLUq--BgX-30lI.js} +30 -30
  9. package/chunks/{ChevronRight-DShdRTZ-.js → ChevronRight-BGY_piF7.js} +101 -101
  10. package/chunks/{ClassicQuizWrapper-tLgebFZn.js → ClassicQuizWrapper-BjiPwevs.js} +65 -67
  11. package/chunks/{Close-C6Cw96SJ-B-ay92gF.js → Close-BTC6xyyj-Cd-x1TKK.js} +2 -2
  12. package/chunks/Close-DBaorsP1-Dl4zNUey.js +7 -0
  13. package/chunks/{CollectLeadForm-DnLKA8qz-CUxcH5ck.js → CollectLeadForm-O7Cpe0ix-aEsJaPfR.js} +268 -268
  14. package/chunks/{CollectLeadWrapper-B5R9KEgw.js → CollectLeadWrapper-BNNyqHEu.js} +73 -74
  15. package/chunks/DiscussionWrapper-BZkHpq2x.js +16 -0
  16. package/chunks/{Divider-BvUimRFw-BIn_TBVF.js → Divider-DBCeQt9x-u7egDCKU.js} +11 -11
  17. package/chunks/{Edit-CZ3ni-Ur-CuNgbASd.js → Edit-BwwxJdNv-DTu2HFrE.js} +28 -28
  18. package/chunks/{EitherOrWrapper-3htMsofO.js → EitherOrWrapper-BLx9o2-2.js} +137 -139
  19. package/chunks/{EmojiEvents-DpmLq98V-BrNuJ7IH.js → EmojiEvents-DVPGlTU_-DOYIhVtu.js} +3 -4
  20. package/chunks/{EventGameWrapper-mDQG6dId.js → EventGameWrapper-CE9N-ZIs.js} +75 -77
  21. package/chunks/{FavoriteBorder-DUK_DrY4-ZtwO_U2h.js → FavoriteBorder-BnhfbKy1-CzS0GyXC.js} +5 -6
  22. package/chunks/{FormControl-BUItlVIg-C1y5eK2-.js → FormControl-COjw1gQd-BtaNVzJm.js} +75 -75
  23. package/chunks/FormLabel-e5_v5cjP-Brd1g607.js +84 -0
  24. package/chunks/{Grid-D4NEco0Y.js → Grid-BydPNItl.js} +17 -17
  25. package/chunks/{Input-MJCQcYzo-DZWbESZ4.js → Input-er-Yyqtt-D_dBhjsQ.js} +38 -38
  26. package/chunks/{LeaderboardWrapper-osGQs_Qg.js → LeaderboardWrapper-CcMMR7fg.js} +143 -143
  27. package/chunks/{List-DfDwq3sQ.js → List-B1hJc7-_.js} +35 -35
  28. package/chunks/{MatchPredictionContainer-yAYRdwGD.js → MatchPredictionContainer-yxwDAVch.js} +60 -60
  29. package/chunks/{MatchQuizWrapper-2MP5H_55.js → MatchQuizWrapper-DQcNnLii.js} +981 -984
  30. package/chunks/{ModalDialog-Cfgv9UAA-CKkZi8Ku.js → ModalDialog-XkhZtgYm-Sm2Gh6Ij.js} +149 -149
  31. package/chunks/{NotFoundSkeleton-Cs6DtD9u-oHEtg4kj.js → NotFoundSkeleton-C71TRYl5-DThL7LqE.js} +129 -129
  32. package/chunks/{Notification-pcKtlRms-Daonoejr.js → Notification-CkPupg9q-CfcyRdjX.js} +118 -118
  33. package/chunks/{OverlayApiErrorSkeleton-Dl3s5Oaf-Cfyf_vDG.js → OverlayApiErrorSkeleton-CkuDu9uV-BtLyFpaW.js} +40 -40
  34. package/chunks/{OverlayLeadAfterCollection-F2TAV9wK-BaxAYV8r.js → OverlayLeadAfterCollection-Dkxl4cKn-CC7AmBdD.js} +45 -45
  35. package/chunks/{OverlayScoreStateSkeleton-LQ0svzeX-CrX8dN60.js → OverlayScoreStateSkeleton-RauDjIg5-CPv20BwB.js} +12 -12
  36. package/chunks/{Person-BGdniS_p-C_0L922f.js → Person-WCt2MN5j-DfKRffS9.js} +33 -33
  37. package/chunks/{PersonalityQuizWrapper-C3bNziSu.js → PersonalityQuizWrapper-CroEiDbK.js} +261 -263
  38. package/chunks/{PickOneOfX-Ci4ZJf7G-DJTorsgv.js → PickOneOfX-DabfTR2W-wmGRhlcb.js} +90 -90
  39. package/chunks/{PickThePairWrapper-C3k2DGKs.js → PickThePairWrapper-Cu_ASUqP.js} +84 -84
  40. package/chunks/{PlayerOfTheMatch-BkcPqEje.js → PlayerOfTheMatch-U380SYce.js} +4 -4
  41. package/chunks/{PollWrapper-SyNpvReh.js → PollWrapper-Ct8vA7kA.js} +132 -134
  42. package/chunks/{Popper-DOVSI4rJ-D1vtf5dy.js → Popper-OPgbZzY7-m-9EiZsL.js} +153 -153
  43. package/chunks/{PredictorWrapper-C49r2RaO.js → PredictorWrapper-DGV8xSd5.js} +3973 -3914
  44. package/chunks/{Select-BHeTdOYr-Ciaic8Do.js → Select-9gmhEo71-Cu9qyVhU.js} +471 -471
  45. package/chunks/{Spinner-DbUB64Gj-DH94KPkh.js → Spinner-BoysVPn7-1VWZpvzm.js} +5 -5
  46. package/chunks/{SplitLeadAfterCollection-DSw6X5fx-DMs_--sS.js → SplitLeadAfterCollection-C5oCDYT1-Bfqf3Yup.js} +55 -55
  47. package/chunks/Stack-INH9bhkC-C3q5vZWT.js +117 -0
  48. package/chunks/{StandardContentSkeleton-Bae1LLQ_-DBlRNmSp.js → StandardContentSkeleton-DsAhzMfU-DpPs-tHc.js} +5 -6
  49. package/chunks/{Tabs-hwJ7jsUl-DpnrwXcN.js → Tabs-DaVatjCJ-HaKUSsbJ.js} +149 -149
  50. package/chunks/{TeamNextMatchPrediction-CpzQOhwC.js → TeamNextMatchPrediction-Du5RMCAr.js} +2 -2
  51. package/chunks/{Textarea-zOtMdgc5-Bgj3dYkt.js → Textarea-DeMxp3Zn-BNOroFa7.js} +69 -69
  52. package/chunks/{TimerOutlined-DWE7f0YX-D16NKJTN.js → TimerOutlined-DJh2vL3s-CzEKlEMb.js} +3 -4
  53. package/chunks/{chevron-right-B3IZtaMT-DE-lqcnM.js → chevron-right-B3IZtaMT-sQj8Uor-.js} +1 -1
  54. package/chunks/{chevrons-right-CRIN5sOe-R8D8znTD.js → chevrons-right-CRIN5sOe-8XgZ4HqK.js} +1 -1
  55. package/chunks/{createLucideIcon-Do__TMqG.js → createLucideIcon-CjLnvYn5.js} +47 -47
  56. package/chunks/{helpers-NuC1SzL3-DALyWjqP.js → helpers-Bd9FT9hj-BXJCYdSM.js} +1 -1
  57. package/chunks/{identifier-BJxGMICw.js → identifier-CVN_3LtI.js} +1 -1
  58. package/chunks/{index-bThVqOiN.js → index-6csqDwS_.js} +1 -1
  59. package/chunks/{index-CGDIH6Vg.js → index-B5YV_D60.js} +1 -1
  60. package/chunks/{index-CIlaw0fz.js → index-BD0qopKY.js} +1 -1
  61. package/chunks/{index-BaypiKlO-BvRofFVP.js → index-BjfKDjAM-jZxa8Iql.js} +230 -230
  62. package/chunks/{index-OOpGGEij.js → index-BmtpTG2n.js} +2 -2
  63. package/chunks/{index-Deh1XsYM.js → index-BqPENCo1.js} +1 -1
  64. package/chunks/{index-BPUvfZLc.js → index-C0DqEpS9.js} +1 -1
  65. package/chunks/{index-eeCd7b2W.js → index-C6lrtxQN.js} +1 -1
  66. package/chunks/index-CT2XjfoK.js +51 -0
  67. package/chunks/{index-9ktlePby.js → index-CYZm6Sk0.js} +1 -1
  68. package/chunks/{index-jmqmIBda.js → index-CfIJynFx.js} +1 -1
  69. package/chunks/{index-D0MjAGDo.js → index-DCM-mX0S.js} +1 -1
  70. package/chunks/{index-0aw8oPFK.js → index-DGyykMAL.js} +1 -1
  71. package/chunks/{index-CpLeI5jh.js → index-DTBlSorm.js} +1 -1
  72. package/chunks/{index-B4DB7LUn.js → index-Dcm-rP8O.js} +1 -1
  73. package/chunks/index-DxTzdrRU.js +36 -0
  74. package/chunks/{index-BxhwmKsh.js → index-QKuqL9l4.js} +7 -7
  75. package/chunks/{index-DAe4CcnA.js → index-YZ3D9neU.js} +1 -1
  76. package/chunks/{init-CRQJEL-k.js → init-CFPf5Yf5.js} +1 -1
  77. package/chunks/main-QKDDWegU.js +71287 -0
  78. package/chunks/{useEmbedCode-DCWnWGak-DVOJ9E3a.js → useEmbedCode-DCWnWGak-CX22PpbY.js} +1 -1
  79. package/chunks/useEventCallback-vbTEFVPa-D6-gUtc9.js +32 -0
  80. package/chunks/{useForwardedInput-RWDntqBU-CTtRPlj4.js → useForwardedInput-DumYVfgj-DEPE9__3.js} +56 -56
  81. package/chunks/{useImageVariant-Cex1eIqq-D2nndTap.js → useImageVariant-B1ObJh_B-mFmRrBe0.js} +1 -1
  82. package/chunks/{useInfoPage-BHdgKdme-CJTtx__q.js → useInfoPage-BHdgKdme-CTIXehhw.js} +1 -1
  83. package/fu-widgets.es.js +2 -2
  84. package/fu-widgets.iife.js +364 -277
  85. package/manifest.json +84 -85
  86. package/package.json +1 -1
  87. package/chunks/Close-BHp4N1-6-BZiMg5cN.js +0 -8
  88. package/chunks/DiscussionWrapper-C_ly7t4N.js +0 -17
  89. package/chunks/FormLabel-CeTNPUn7-Gxq-qgkt.js +0 -84
  90. package/chunks/KeyboardArrowDown-SZpn2GhJ-D_aKcamL.js +0 -11
  91. package/chunks/Portal-Cs0dgwmH-BZCCf_LJ.js +0 -53
  92. package/chunks/Stack-BpHk5eb0-BaF9s0GZ.js +0 -117
  93. package/chunks/index-4TFKXe7h.js +0 -42
  94. package/chunks/index-BOU5zYmx.js +0 -20829
  95. package/chunks/index-D1K1OB4p-D5HdqbMY.js +0 -690
  96. package/chunks/main-D6EFZVcO.js +0 -48726
  97. package/chunks/useEventCallback-CizlfWBo-DJRAHdvL.js +0 -32
@@ -1,23 +1,23 @@
1
- import { j as o, r as $ } from "./main-D6EFZVcO.js";
2
- import { H } from "./CheckCircle-CV9iMpkZ-D4EPnl4h.js";
3
- import { a as F, Q as N, W as M, z as p, r as B, v as E, w as i, $ as u, n as J, i as z, e as h, t as T, A as f, g as L, S as Q, V as k, c as O, b as V } from "./index-BOU5zYmx.js";
4
- import { X } from "./Stack-BpHk5eb0-BaF9s0GZ.js";
5
- function Z(e) {
6
- return V("MuiAlert", e);
1
+ import { Q as W, Y as H, q as F, j as o, r as B, B as M, G as i, h as $, i as z, b as p, _ as q, D as J } from "./main-QKDDWegU.js";
2
+ import { K as L } from "./CheckCircle-h7-xLUq--BgX-30lI.js";
3
+ import { q as u, u as T, W as h, c as E, L as f, N as Q, z as Y, A as k } from "./Button-COvmPv4P-Co5wAKzV.js";
4
+ import { H as O } from "./Stack-INH9bhkC-C3q5vZWT.js";
5
+ function _(e) {
6
+ return J("MuiAlert", e);
7
7
  }
8
- O("MuiAlert", ["root", "startDecorator", "endDecorator", "colorPrimary", "colorDanger", "colorNeutral", "colorSuccess", "colorWarning", "colorContext", "sizeSm", "sizeMd", "sizeLg", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]);
9
- const q = ["children", "className", "color", "invertedColors", "role", "variant", "size", "startDecorator", "endDecorator", "component", "slots", "slotProps"], G = (e) => {
8
+ q("MuiAlert", ["root", "startDecorator", "endDecorator", "colorPrimary", "colorDanger", "colorNeutral", "colorSuccess", "colorWarning", "colorContext", "sizeSm", "sizeMd", "sizeLg", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]);
9
+ const G = ["children", "className", "color", "invertedColors", "role", "variant", "size", "startDecorator", "endDecorator", "component", "slots", "slotProps"], K = (e) => {
10
10
  const {
11
11
  variant: r,
12
12
  color: t,
13
13
  size: a
14
14
  } = e, s = {
15
- root: ["root", a && `size${h(a)}`, t && `color${h(t)}`, r && `variant${h(r)}`],
15
+ root: ["root", a && `size${p(a)}`, t && `color${p(t)}`, r && `variant${p(r)}`],
16
16
  startDecorator: ["startDecorator"],
17
17
  endDecorator: ["endDecorator"]
18
18
  };
19
- return T(s, Z, {});
20
- }, K = f("div", {
19
+ return E(s, _, {});
20
+ }, V = f("div", {
21
21
  name: "JoyAlert",
22
22
  slot: "Root",
23
23
  overridesResolver: (e, r) => r.root
@@ -30,7 +30,7 @@ const q = ["children", "className", "color", "invertedColors", "role", "variant"
30
30
  p: a,
31
31
  padding: s,
32
32
  borderRadius: n
33
- } = L({
33
+ } = Q({
34
34
  theme: e,
35
35
  ownerState: r
36
36
  }, ["p", "padding", "borderRadius"]);
@@ -70,21 +70,21 @@ const q = ["children", "className", "color", "invertedColors", "role", "variant"
70
70
  lg: "md"
71
71
  }[r.size]}`], {
72
72
  fontWeight: e.vars.fontWeight.md
73
- }, r.variant === "solid" && r.color && r.invertedColors && Q(r.color)(e), r.variant === "soft" && r.color && r.invertedColors && k(r.color)(e), (t = e.variants[r.variant]) == null ? void 0 : t[r.color]), a !== void 0 && {
73
+ }, r.variant === "solid" && r.color && r.invertedColors && Y(r.color)(e), r.variant === "soft" && r.color && r.invertedColors && k(r.color)(e), (t = e.variants[r.variant]) == null ? void 0 : t[r.color]), a !== void 0 && {
74
74
  "--Alert-padding": a
75
75
  }, s !== void 0 && {
76
76
  "--Alert-padding": s
77
77
  }, n !== void 0 && {
78
78
  "--Alert-radius": n
79
79
  }];
80
- }), U = f("span", {
80
+ }), Z = f("span", {
81
81
  name: "JoyAlert",
82
82
  slot: "StartDecorator",
83
83
  overridesResolver: (e, r) => r.startDecorator
84
84
  })({
85
85
  display: "inherit",
86
86
  flex: "none"
87
- }), Y = f("span", {
87
+ }), U = f("span", {
88
88
  name: "JoyAlert",
89
89
  slot: "EndDecorator",
90
90
  overridesResolver: (e, r) => r.endDecorator
@@ -92,8 +92,8 @@ const q = ["children", "className", "color", "invertedColors", "role", "variant"
92
92
  display: "inherit",
93
93
  flex: "none",
94
94
  marginLeft: "auto"
95
- }), _ = /* @__PURE__ */ $.forwardRef(function(e, r) {
96
- const t = B({
95
+ }), X = /* @__PURE__ */ B.forwardRef(function(e, r) {
96
+ const t = T({
97
97
  props: e,
98
98
  name: "JoyAlert"
99
99
  }), {
@@ -109,39 +109,39 @@ const q = ["children", "className", "color", "invertedColors", "role", "variant"
109
109
  component: y,
110
110
  slots: D = {},
111
111
  slotProps: C = {}
112
- } = t, b = E(t, q), c = i({}, t, {
112
+ } = t, j = M(t, G), c = i({}, t, {
113
113
  color: n,
114
114
  invertedColors: l,
115
115
  variant: A,
116
116
  size: S
117
- }), m = G(c), v = i({}, b, {
117
+ }), m = K(c), v = i({}, j, {
118
118
  component: y,
119
119
  slots: D,
120
120
  slotProps: C
121
- }), [j, w] = u("root", {
121
+ }), [b, R] = h("root", {
122
122
  ref: r,
123
- className: J(m.root, s),
124
- elementType: K,
123
+ className: $(m.root, s),
124
+ elementType: V,
125
125
  externalForwardedProps: v,
126
126
  ownerState: c,
127
127
  additionalProps: {
128
128
  role: d
129
129
  }
130
- }), [R, W] = u("startDecorator", {
130
+ }), [w, I] = h("startDecorator", {
131
131
  className: m.startDecorator,
132
- elementType: U,
132
+ elementType: Z,
133
133
  externalForwardedProps: v,
134
134
  ownerState: c
135
- }), [I, P] = u("endDecorator", {
135
+ }), [P, N] = h("endDecorator", {
136
136
  className: m.endDecorator,
137
- elementType: Y,
137
+ elementType: U,
138
138
  externalForwardedProps: v,
139
139
  ownerState: c
140
140
  });
141
- return /* @__PURE__ */ o.jsxs(j, i({}, w, {
142
- children: [g && /* @__PURE__ */ o.jsx(R, i({}, W, {
141
+ return /* @__PURE__ */ o.jsxs(b, i({}, R, {
142
+ children: [g && /* @__PURE__ */ o.jsx(w, i({}, I, {
143
143
  children: g
144
- })), a, x && /* @__PURE__ */ o.jsx(I, i({}, P, {
144
+ })), a, x && /* @__PURE__ */ o.jsx(P, i({}, N, {
145
145
  children: x
146
146
  }))]
147
147
  }));
@@ -152,7 +152,7 @@ const q = ["children", "className", "color", "invertedColors", "role", "variant"
152
152
  }), "Warning"), or = (e, r) => {
153
153
  switch (e) {
154
154
  case "success":
155
- return /* @__PURE__ */ o.jsx(H, {});
155
+ return /* @__PURE__ */ o.jsx(L, {});
156
156
  case "error":
157
157
  return /* @__PURE__ */ o.jsx(er, { sx: { color: r } });
158
158
  case "info":
@@ -176,9 +176,9 @@ const q = ["children", "className", "color", "invertedColors", "role", "variant"
176
176
  message: t,
177
177
  description: a
178
178
  }) => {
179
- const s = F(), n = N(), l = M().secondary, d = tr(e);
179
+ const s = W(), n = H(), l = F().secondary, d = tr(e);
180
180
  return /* @__PURE__ */ o.jsx(
181
- _,
181
+ X,
182
182
  {
183
183
  variant: "soft",
184
184
  color: d,
@@ -193,14 +193,14 @@ const q = ["children", "className", "color", "invertedColors", "role", "variant"
193
193
  "--Icon-fontSize": "1.25em"
194
194
  },
195
195
  children: /* @__PURE__ */ o.jsxs(
196
- X,
196
+ O,
197
197
  {
198
198
  sx: {
199
199
  fontSize: "1.5em"
200
200
  },
201
201
  children: [
202
202
  r && /* @__PURE__ */ o.jsx(
203
- p,
203
+ u,
204
204
  {
205
205
  level: "title-md",
206
206
  color: d,
@@ -210,7 +210,7 @@ const q = ["children", "className", "color", "invertedColors", "role", "variant"
210
210
  }
211
211
  ),
212
212
  t && /* @__PURE__ */ o.jsx(
213
- p,
213
+ u,
214
214
  {
215
215
  level: "body-sm",
216
216
  sx: { fontFamily: l, fontSize: "0.675em" },
@@ -218,7 +218,7 @@ const q = ["children", "className", "color", "invertedColors", "role", "variant"
218
218
  }
219
219
  ),
220
220
  a && /* @__PURE__ */ o.jsx(
221
- p,
221
+ u,
222
222
  {
223
223
  level: "body-xs",
224
224
  sx: { fontFamily: l, fontSize: "0.6em" },
@@ -232,8 +232,8 @@ const q = ["children", "className", "color", "invertedColors", "role", "variant"
232
232
  );
233
233
  };
234
234
  export {
235
- _ as C,
236
- lr as p,
235
+ X as C,
237
236
  er as s,
238
- rr as t
237
+ rr as t,
238
+ lr as u
239
239
  };
@@ -1,16 +1,15 @@
1
- import { j as d } from "./main-D6EFZVcO.js";
2
- import { a as u, E as p, H as h, i as k } from "./index-BOU5zYmx.js";
3
- const x = (r) => ({
1
+ import { Q as m, o as p, j as d, l as h, i as k } from "./main-QKDDWegU.js";
2
+ const x = (o) => ({
4
3
  // Main container with background overlay (with ScoreStateWrapper)
5
4
  mainContainerWithWrapper: {
6
5
  boxShadow: "md",
7
- border: `${r.borderSize} solid ${r.borderColor}`,
6
+ border: `${o.borderSize} solid ${o.borderColor}`,
8
7
  overflow: "hidden",
9
- backgroundImage: r.backgroundImage,
8
+ backgroundImage: o.backgroundImage,
10
9
  backgroundSize: "cover",
11
10
  backgroundPosition: "center",
12
11
  position: "relative",
13
- borderRadius: r.mdBorderRadius,
12
+ borderRadius: o.mdBorderRadius,
14
13
  minHeight: "250px",
15
14
  "&::before": {
16
15
  content: '""',
@@ -21,7 +20,7 @@ const x = (r) => ({
21
20
  bottom: 0,
22
21
  borderRadius: "inherit",
23
22
  zIndex: 0,
24
- background: r.imageBackgroundGradient
23
+ background: o.imageBackgroundGradient
25
24
  }
26
25
  },
27
26
  // Main container with background overlay (without ScoreStateWrapper)
@@ -29,15 +28,15 @@ const x = (r) => ({
29
28
  display: "flex",
30
29
  flexDirection: "column",
31
30
  gap: "40px",
32
- p: r.spacingScale.xl,
31
+ p: o.spacingScale.xl,
33
32
  boxShadow: "md",
34
- border: `${r.borderSize} solid ${r.borderColor}`,
33
+ border: `${o.borderSize} solid ${o.borderColor}`,
35
34
  overflow: "hidden",
36
- backgroundImage: r.backgroundImage,
35
+ backgroundImage: o.backgroundImage,
37
36
  backgroundPosition: "center",
38
37
  backgroundSize: "cover",
39
38
  position: "relative",
40
- borderRadius: r.mdBorderRadius,
39
+ borderRadius: o.mdBorderRadius,
41
40
  minHeight: "250px",
42
41
  "&::before": {
43
42
  content: '""',
@@ -48,22 +47,22 @@ const x = (r) => ({
48
47
  bottom: 0,
49
48
  borderRadius: "inherit",
50
49
  zIndex: 0,
51
- background: r.imageBackgroundGradient
50
+ background: o.imageBackgroundGradient
52
51
  }
53
52
  }
54
- }), f = ({
55
- entity: r,
53
+ }), S = ({
54
+ entity: o,
56
55
  backgroundImage: n,
57
56
  imageBackgroundGradient: t,
58
57
  children: s,
59
58
  isWrappedWithScoreStateWrapper: c = !1
60
59
  }) => {
61
60
  var e;
62
- const o = u(), g = p(), i = ((e = r.branding) == null ? void 0 : e.colors) || null, b = o.customRadius.light.md, l = o.border.light.size, m = (i == null ? void 0 : i.borderColor) || o.colorSchemes.dark.secondaryContainer, a = x({
61
+ const r = m(), g = p(), i = ((e = o.branding) == null ? void 0 : e.colors) || null, l = r.customRadius.light.md, b = r.border.light.size, u = (i == null ? void 0 : i.borderColor) || r.colorSchemes.dark.secondaryContainer, a = x({
63
62
  spacingScale: g,
64
- mdBorderRadius: b,
65
- borderSize: l,
66
- borderColor: m,
63
+ mdBorderRadius: l,
64
+ borderSize: b,
65
+ borderColor: u,
67
66
  backgroundImage: n,
68
67
  imageBackgroundGradient: t
69
68
  });
@@ -74,10 +73,10 @@ const x = (r) => ({
74
73
  children: s
75
74
  }
76
75
  );
77
- }, R = k(/* @__PURE__ */ d.jsx("path", {
76
+ }, f = k(/* @__PURE__ */ d.jsx("path", {
78
77
  d: "M16.01 11H4v2h12.01v3L20 12l-3.99-4z"
79
78
  }), "ArrowRightAlt");
80
79
  export {
81
- f as R,
82
- R as z
80
+ S as R,
81
+ f as z
83
82
  };
@@ -1,29 +1,29 @@
1
- import { r as E, v as N, w as i, $ as z, e as S, t as O, A as p, b as T, c as w } from "./index-BOU5zYmx.js";
2
- import { r as v, j as d } from "./main-D6EFZVcO.js";
3
- import { G as D } from "./CheckCircle-CV9iMpkZ-D4EPnl4h.js";
4
- const H = D(/* @__PURE__ */ d.jsx("path", {
1
+ import { r as v, B as D, G as s, j as d, b as A, D as E, _ as w } from "./main-QKDDWegU.js";
2
+ import { u as H, W as S, c as N, L as u } from "./Button-COvmPv4P-Co5wAKzV.js";
3
+ import { H as O } from "./CheckCircle-h7-xLUq--BgX-30lI.js";
4
+ const T = O(/* @__PURE__ */ d.jsx("path", {
5
5
  d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
6
6
  }), "Person");
7
- function W(e) {
8
- return T("MuiAvatar", e);
7
+ function W(a) {
8
+ return E("MuiAvatar", a);
9
9
  }
10
10
  w("MuiAvatar", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "fallback", "sizeSm", "sizeMd", "sizeLg", "img", "variantOutlined", "variantSoft", "variantSolid"]);
11
11
  w("MuiAvatarGroup", ["root"]);
12
- const L = /* @__PURE__ */ v.createContext(void 0);
13
- p("div", {
12
+ const B = /* @__PURE__ */ v.createContext(void 0);
13
+ u("div", {
14
14
  name: "JoyAvatarGroup",
15
15
  slot: "Root",
16
- overridesResolver: (e, r) => r.root
16
+ overridesResolver: (a, r) => r.root
17
17
  })(({
18
- ownerState: e,
18
+ ownerState: a,
19
19
  theme: r
20
- }) => i({}, e.size === "sm" && {
20
+ }) => s({}, a.size === "sm" && {
21
21
  "--AvatarGroup-gap": "-0.375rem",
22
22
  "--Avatar-ringSize": "2px"
23
- }, e.size === "md" && {
23
+ }, a.size === "md" && {
24
24
  "--AvatarGroup-gap": "-0.5rem",
25
25
  "--Avatar-ringSize": "2px"
26
- }, e.size === "lg" && {
26
+ }, a.size === "lg" && {
27
27
  "--AvatarGroup-gap": "-0.625rem",
28
28
  "--Avatar-ringSize": "4px"
29
29
  }, {
@@ -32,31 +32,31 @@ p("div", {
32
32
  display: "flex",
33
33
  marginInlineStart: "calc(-1 * var(--AvatarGroup-gap))"
34
34
  }));
35
- const U = ["alt", "color", "size", "variant", "src", "srcSet", "children", "component", "slots", "slotProps"], Y = (e) => {
35
+ const L = ["alt", "color", "size", "variant", "src", "srcSet", "children", "component", "slots", "slotProps"], _ = (a) => {
36
36
  const {
37
37
  size: r,
38
38
  variant: t,
39
- color: a,
40
- src: s,
39
+ color: e,
40
+ src: i,
41
41
  srcSet: n
42
- } = e, l = {
43
- root: ["root", t && `variant${S(t)}`, a && `color${S(a)}`, r && `size${S(r)}`],
44
- img: [(s || n) && "img"],
42
+ } = a, l = {
43
+ root: ["root", t && `variant${A(t)}`, e && `color${A(e)}`, r && `size${A(r)}`],
44
+ img: [(i || n) && "img"],
45
45
  fallback: ["fallback"]
46
46
  };
47
- return O(l, W, {});
48
- }, Z = p("div", {
47
+ return N(l, W, {});
48
+ }, Q = u("div", {
49
49
  name: "JoyAvatar",
50
50
  slot: "Root",
51
- overridesResolver: (e, r) => r.root
51
+ overridesResolver: (a, r) => r.root
52
52
  })(({
53
- theme: e,
53
+ theme: a,
54
54
  ownerState: r
55
55
  }) => {
56
56
  var t;
57
- return i({
58
- "--Icon-color": r.color !== "neutral" || r.variant === "solid" ? "currentColor" : e.vars.palette.text.icon
59
- }, e.typography[`title-${r.size}`], r.size === "sm" && {
57
+ return s({
58
+ "--Icon-color": r.color !== "neutral" || r.variant === "solid" ? "currentColor" : a.vars.palette.text.icon
59
+ }, a.typography[`title-${r.size}`], r.size === "sm" && {
60
60
  width: "var(--Avatar-size, 2rem)",
61
61
  height: "var(--Avatar-size, 2rem)",
62
62
  fontSize: "calc(var(--Avatar-size, 2rem) * 0.4375)"
@@ -83,11 +83,11 @@ const U = ["alt", "color", "size", "variant", "src", "srcSet", "children", "comp
83
83
  overflow: "hidden",
84
84
  borderRadius: "var(--Avatar-radius, 50%)",
85
85
  userSelect: "none"
86
- }, (t = e.variants[r.variant]) == null ? void 0 : t[r.color]);
87
- }), q = p("img", {
86
+ }, (t = a.variants[r.variant]) == null ? void 0 : t[r.color]);
87
+ }), U = u("img", {
88
88
  name: "JoyAvatar",
89
89
  slot: "Img",
90
- overridesResolver: (e, r) => r.img
90
+ overridesResolver: (a, r) => r.img
91
91
  })({
92
92
  width: "100%",
93
93
  height: "100%",
@@ -98,23 +98,23 @@ const U = ["alt", "color", "size", "variant", "src", "srcSet", "children", "comp
98
98
  color: "transparent",
99
99
  // Hide the image broken icon, only works on Chrome.
100
100
  textIndent: 1e4
101
- }), B = p(H, {
101
+ }), Y = u(T, {
102
102
  name: "JoyAvatar",
103
103
  slot: "Fallback",
104
- overridesResolver: (e, r) => r.fallback
104
+ overridesResolver: (a, r) => r.fallback
105
105
  })({
106
106
  width: "64%",
107
107
  height: "64%"
108
108
  });
109
- function K({
110
- crossOrigin: e,
109
+ function Z({
110
+ crossOrigin: a,
111
111
  referrerPolicy: r,
112
112
  src: t,
113
- srcSet: a
113
+ srcSet: e
114
114
  }) {
115
- const [s, n] = v.useState(!1);
115
+ const [i, n] = v.useState(!1);
116
116
  return v.useEffect(() => {
117
- if (!t && !a)
117
+ if (!t && !e)
118
118
  return;
119
119
  n(!1);
120
120
  let l = !0;
@@ -123,66 +123,66 @@ function K({
123
123
  l && n("loaded");
124
124
  }, o.onerror = () => {
125
125
  l && n("error");
126
- }, o.crossOrigin = e, o.referrerPolicy = r, t && (o.src = t), a && (o.srcset = a), () => {
126
+ }, o.crossOrigin = a, o.referrerPolicy = r, t && (o.src = t), e && (o.srcset = e), () => {
127
127
  l = !1;
128
128
  };
129
- }, [e, r, t, a]), s;
129
+ }, [a, r, t, e]), i;
130
130
  }
131
- const _ = /* @__PURE__ */ v.forwardRef(function(e, r) {
132
- const t = E({
133
- props: e,
131
+ const X = /* @__PURE__ */ v.forwardRef(function(a, r) {
132
+ const t = H({
133
+ props: a,
134
134
  name: "JoyAvatar"
135
- }), a = v.useContext(L), {
136
- alt: s,
135
+ }), e = v.useContext(B), {
136
+ alt: i,
137
137
  color: n = "neutral",
138
138
  size: l = "md",
139
139
  variant: o = "soft",
140
- src: u,
140
+ src: p,
141
141
  srcSet: g,
142
142
  children: h,
143
143
  component: y,
144
144
  slots: b = {},
145
145
  slotProps: P = {}
146
- } = t, k = N(t, U), G = e.variant || (a == null ? void 0 : a.variant) || o, I = e.color || (a == null ? void 0 : a.color) || n, R = e.size || (a == null ? void 0 : a.size) || l;
146
+ } = t, k = D(t, L), G = a.variant || (e == null ? void 0 : e.variant) || o, I = a.color || (e == null ? void 0 : e.color) || n, R = a.size || (e == null ? void 0 : e.size) || l;
147
147
  let c = null;
148
- const m = i({}, t, {
148
+ const m = s({}, t, {
149
149
  color: I,
150
150
  size: R,
151
151
  variant: G,
152
- grouped: !!a
153
- }), A = Y(m), f = i({}, k, {
152
+ grouped: !!e
153
+ }), f = _(m), z = s({}, k, {
154
154
  component: y,
155
155
  slots: b,
156
156
  slotProps: P
157
- }), [$, j] = z("root", {
157
+ }), [$, j] = S("root", {
158
158
  ref: r,
159
- className: A.root,
160
- elementType: Z,
161
- externalForwardedProps: f,
159
+ className: f.root,
160
+ elementType: Q,
161
+ externalForwardedProps: z,
162
162
  ownerState: m
163
- }), [C, x] = z("img", {
163
+ }), [C, x] = S("img", {
164
164
  additionalProps: {
165
- alt: s,
166
- src: u,
165
+ alt: i,
166
+ src: p,
167
167
  srcSet: g
168
168
  },
169
- className: A.img,
170
- elementType: q,
171
- externalForwardedProps: f,
169
+ className: f.img,
170
+ elementType: U,
171
+ externalForwardedProps: z,
172
172
  ownerState: m
173
- }), [F, J] = z("fallback", {
174
- className: A.fallback,
175
- elementType: B,
176
- externalForwardedProps: f,
173
+ }), [F, J] = S("fallback", {
174
+ className: f.fallback,
175
+ elementType: Y,
176
+ externalForwardedProps: z,
177
177
  ownerState: m
178
- }), M = K(i({}, x, {
179
- src: u,
178
+ }), M = Z(s({}, x, {
179
+ src: p,
180
180
  srcSet: g
181
181
  }));
182
- return (u || g) && M !== "error" ? c = /* @__PURE__ */ d.jsx(C, i({}, x)) : h != null ? c = h : s ? c = s[0] : c = /* @__PURE__ */ d.jsx(F, i({}, J)), /* @__PURE__ */ d.jsx($, i({}, j, {
182
+ return (p || g) && M !== "error" ? c = /* @__PURE__ */ d.jsx(C, s({}, x)) : h != null ? c = h : i ? c = i[0] : c = /* @__PURE__ */ d.jsx(F, s({}, J)), /* @__PURE__ */ d.jsx($, s({}, j, {
183
183
  children: c
184
184
  }));
185
185
  });
186
186
  export {
187
- _ as a
187
+ X as a
188
188
  };
@@ -0,0 +1,29 @@
1
+ import { aL as g, a6 as l, a7 as x, a9 as d, j } from "./main-QKDDWegU.js";
2
+ const f = g, L = ({
3
+ position: s,
4
+ maxSelections: e,
5
+ stakePresets: t,
6
+ oddsPollingInterval: a,
7
+ currency: n,
8
+ ctaUrlTemplate: o,
9
+ brandingLogoUrl: p,
10
+ labels: r
11
+ }) => {
12
+ const i = l(), { language: u } = x(), c = d(), m = {
13
+ sdk: i,
14
+ language: u,
15
+ themeOptions: c,
16
+ position: s,
17
+ maxSelections: e,
18
+ stakePresets: t,
19
+ oddsPollingInterval: a,
20
+ currency: n,
21
+ ctaUrlTemplate: o,
22
+ brandingLogoUrl: p,
23
+ labels: r
24
+ };
25
+ return /* @__PURE__ */ j.jsx(f, { ...m });
26
+ };
27
+ export {
28
+ L as default
29
+ };