fansunited-widgets-cdn 0.0.85 → 0.0.86-RC2

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 (75) hide show
  1. package/chunks/Alert-CuOsmojH.js +149 -0
  2. package/chunks/AspectRatio-D3Sgxj7p.js +125 -0
  3. package/chunks/Avatar-BTsEKfhc.js +186 -0
  4. package/chunks/Button-BV7YIFkS.js +858 -0
  5. package/chunks/Card-DRIT0wtY.js +129 -0
  6. package/chunks/CardContent-CD-WZh1l.js +60 -0
  7. package/chunks/ChevronRight-BrCKlr3T.js +11 -0
  8. package/chunks/Chip-6HLNTHMI.js +281 -0
  9. package/chunks/ClassicQuizWrapper-t04e9_6c.js +4883 -0
  10. package/chunks/CollectLeadForm-DtmR2Vuf-B_3JkHJC.js +1560 -0
  11. package/chunks/CollectLeadWrapper-CVAVswua.js +1294 -0
  12. package/chunks/DialogActions-C5kAgHal.js +45 -0
  13. package/chunks/DialogContent-MIXff4nd.js +60 -0
  14. package/chunks/EitherOrById-CAo8gPjm.js +1496 -0
  15. package/chunks/EitherOrPreviewWrapper-DFi2bviS.js +47 -0
  16. package/chunks/Error-DhQL89pn-BwTV1meb.js +418 -0
  17. package/chunks/EventGameWrapper-BxyLL3eA.js +7633 -0
  18. package/chunks/Grid-Dpv_ZL23.js +279 -0
  19. package/chunks/IconButton-Lt9Xks7c.js +207 -0
  20. package/chunks/Link-DLuj1USf.js +228 -0
  21. package/chunks/List-DLPlZGTP.js +397 -0
  22. package/chunks/ListItemDecorator-CE2eQLip.js +1882 -0
  23. package/chunks/MatchPredictionContainer-Ct6gXvLw.js +751 -0
  24. package/chunks/MatchQuizWrapper-Fu6RfWVn.js +11046 -0
  25. package/chunks/ModalDialog-Ci3hulZA.js +619 -0
  26. package/chunks/NotFoundSkeleton-BYJTzYJR-Be3R34nS.js +2764 -0
  27. package/chunks/OverlayLeadAfterCollection-DnqztPJ5-CpELr0AC.js +896 -0
  28. package/chunks/OverlayScoreStateSkeleton-C9FUhcnd-DMFELrvA.js +146 -0
  29. package/chunks/PersonalityQuizWrapper-MpUK4n3Y.js +34374 -0
  30. package/chunks/PlayerOfTheMatch-D4vuR7pz.js +1406 -0
  31. package/chunks/PollWrapper-CzKj8xxE.js +4198 -0
  32. package/chunks/Portal-BWqqFvVm-TuHZWjxn.js +12717 -0
  33. package/chunks/Portal-DA1mxzSo.js +41 -0
  34. package/chunks/PreviewQuizById-WWS_LyJR.js +4864 -0
  35. package/chunks/Select-p_cHpLhi.js +3418 -0
  36. package/chunks/Sheet-BaCzogZK.js +167 -0
  37. package/chunks/Snackbar-DHxnbCA3.js +358 -0
  38. package/chunks/Stack-Dgf2LXN0.js +117 -0
  39. package/chunks/Tabs-CSu_cWNi.js +784 -0
  40. package/chunks/TeamNextMatchPrediction-C7HilNqW.js +6 -0
  41. package/chunks/Tutorial-DFNZxmAx.js +427 -0
  42. package/chunks/createLucideIcon-B6NxpYkb.js +79 -0
  43. package/chunks/createSvgIcon-7h7XC877.js +119 -0
  44. package/chunks/createSvgIcon-DVA0KIUd.js +2490 -0
  45. package/chunks/dataAttributeParser-CF9vxaVN.js +28 -0
  46. package/chunks/default-quiz-bg-CTzaADn7.js +4 -0
  47. package/chunks/getReactElementRef-BD-S8A24.js +25 -0
  48. package/chunks/index-24AwmTVJ.js +85 -0
  49. package/chunks/index-3vJS8JzK.js +63 -0
  50. package/chunks/index-BSD7mvEU.js +57 -0
  51. package/chunks/index-BU6iona7.js +57 -0
  52. package/chunks/index-BqCHiyI6.js +59 -0
  53. package/chunks/index-C5qRf4TV.js +20 -0
  54. package/chunks/index-C9MpfjqV.js +35 -0
  55. package/chunks/index-CMmQs5A5.js +56 -0
  56. package/chunks/index-CicEY2Jv.js +5 -0
  57. package/chunks/index-DNeawo0R.js +17 -0
  58. package/chunks/index-DePIySlY.js +29 -0
  59. package/chunks/index-DoRYU_1L.js +41 -0
  60. package/chunks/index-DvgG9XJj.js +20 -0
  61. package/chunks/index-QpZE-92Y.js +33 -0
  62. package/chunks/index-rgFj976B.js +17 -0
  63. package/chunks/index-tzsdMoo-.js +16 -0
  64. package/chunks/index.es-CHqz6mjo.js +6162 -0
  65. package/chunks/init-BEkECL0v.js +32 -0
  66. package/chunks/main-XP7dqk6g.js +39843 -0
  67. package/chunks/resolveProps-BfYZubfk.js +37 -0
  68. package/chunks/users-D_xgC4iQ.js +16 -0
  69. package/chunks/variantColorInheritance-DI3wUohX.js +28 -0
  70. package/fu-widgets-loader.es.js +73 -0
  71. package/fu-widgets-loader.js +1 -0
  72. package/fu-widgets.es.js +4 -0
  73. package/fu-widgets.iife.js +621 -682
  74. package/manifest.json +84 -0
  75. package/package.json +9 -2
@@ -0,0 +1,6 @@
1
+ import { j as o } from "./main-XP7dqk6g.js";
2
+ import r from "./MatchPredictionContainer-Ct6gXvLw.js";
3
+ const i = ({ contentId: t, market: e }) => /* @__PURE__ */ o.jsx(r, { contentId: t, market: e, contentType: "team" });
4
+ export {
5
+ i as default
6
+ };
@@ -0,0 +1,427 @@
1
+ import { F as O, G as B, r as c, v as E, _ as M, w as g, x as P, y as A, E as $, j as t, D as U, I as C, u as V, B as D } from "./main-XP7dqk6g.js";
2
+ import { d as F } from "./default-quiz-bg-CTzaADn7.js";
3
+ import { c as x } from "./createSvgIcon-DVA0KIUd.js";
4
+ import { S as j } from "./Stack-Dgf2LXN0.js";
5
+ import { A as G } from "./AspectRatio-D3Sgxj7p.js";
6
+ import { C as w } from "./Card-DRIT0wtY.js";
7
+ import { C as L } from "./CardContent-CD-WZh1l.js";
8
+ import { B as m, T as v } from "./Button-BV7YIFkS.js";
9
+ import { M as N, a as Y } from "./ModalDialog-Ci3hulZA.js";
10
+ import { G as S } from "./Grid-Dpv_ZL23.js";
11
+ function H(e) {
12
+ return O("MuiCardCover", e);
13
+ }
14
+ B("MuiCardCover", ["root"]);
15
+ const _ = ["className", "component", "children", "slots", "slotProps"], J = () => U({
16
+ root: ["root"]
17
+ }, H, {}), Q = A("div", {
18
+ name: "JoyCardCover",
19
+ slot: "Root",
20
+ overridesResolver: (e, r) => r.root
21
+ })({
22
+ position: "absolute",
23
+ zIndex: 0,
24
+ top: 0,
25
+ left: 0,
26
+ right: 0,
27
+ bottom: 0,
28
+ borderRadius: "var(--CardCover-radius)",
29
+ // use data-attribute instead of :first-child to support zero config SSR (emotion)
30
+ // use nested selector for integrating with nextjs image `fill` layout (spans are inserted on top of the img)
31
+ "& [data-first-child]": {
32
+ display: "flex",
33
+ justifyContent: "center",
34
+ alignItems: "center",
35
+ width: "100%",
36
+ height: "100%",
37
+ objectFit: "cover",
38
+ boxSizing: "border-box",
39
+ borderRadius: "var(--CardCover-radius)",
40
+ margin: 0,
41
+ padding: 0,
42
+ "& > img": {
43
+ // support art-direction that uses <picture><img /></picture>
44
+ width: "100%",
45
+ height: "100%",
46
+ objectFit: "cover"
47
+ }
48
+ }
49
+ }), k = /* @__PURE__ */ c.forwardRef(function(r, a) {
50
+ const i = E({
51
+ props: r,
52
+ name: "JoyCardCover"
53
+ }), {
54
+ className: h,
55
+ component: s = "div",
56
+ children: o,
57
+ slots: u = {},
58
+ slotProps: n = {}
59
+ } = i, p = M(i, _), l = g({}, i, {
60
+ component: s
61
+ }), f = J(), R = g({}, p, {
62
+ component: s,
63
+ slots: u,
64
+ slotProps: n
65
+ }), [z, T] = P("root", {
66
+ ref: a,
67
+ className: $(f.root, h),
68
+ elementType: Q,
69
+ externalForwardedProps: R,
70
+ ownerState: l
71
+ });
72
+ return /* @__PURE__ */ t.jsx(z, g({}, T, {
73
+ children: c.Children.map(o, (b, W) => W === 0 && /* @__PURE__ */ c.isValidElement(b) ? /* @__PURE__ */ c.cloneElement(b, {
74
+ "data-first-child": ""
75
+ }) : b)
76
+ }));
77
+ }), Z = x(/* @__PURE__ */ t.jsx("path", {
78
+ d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"
79
+ }), "Info"), pt = {
80
+ LOADING: "loading",
81
+ TUTORIAL: "tutorial",
82
+ PLAYING: "playing",
83
+ RESULTS: "results"
84
+ }, q = x(/* @__PURE__ */ t.jsx("path", {
85
+ d: "m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z"
86
+ }), "Favorite"), K = C`
87
+ 0% {
88
+ opacity: 1;
89
+ transform: translateY(0);
90
+ }
91
+ 100% {
92
+ opacity: 0;
93
+ transform: translateY(-20px);
94
+ }
95
+ `, mt = {
96
+ pointsAdded: {
97
+ position: "absolute",
98
+ top: -20,
99
+ right: 0,
100
+ color: "primary.500",
101
+ animation: `${K} 1s ease-out forwards`
102
+ },
103
+ optionWrapper: {
104
+ position: "relative",
105
+ flex: 1,
106
+ transition: "transform 0.2s"
107
+ },
108
+ dividerWrapper: {
109
+ width: { xs: "100%", sm: "40px" },
110
+ my: { xs: 2, sm: 0 }
111
+ },
112
+ dividerButton: {
113
+ borderRadius: "50%",
114
+ bgcolor: "background.surface",
115
+ boxShadow: "sm",
116
+ width: "30px",
117
+ height: "30px",
118
+ "&:hover": { bgcolor: "background.level1" }
119
+ },
120
+ dividerText: {
121
+ fontWeight: "lg",
122
+ color: "text.secondary",
123
+ display: { xs: "none", sm: "block" },
124
+ textTransform: "uppercase",
125
+ fontSize: "0.675em !important"
126
+ },
127
+ timerProgressWrapper: {
128
+ position: "relative",
129
+ width: "100%",
130
+ height: 8,
131
+ bgcolor: "neutral.200",
132
+ borderRadius: "4px",
133
+ overflow: "hidden"
134
+ },
135
+ timerProgress: {
136
+ position: "absolute",
137
+ left: 0,
138
+ top: 0,
139
+ height: "100%",
140
+ transition: "width 1s linear, background-color 0.3s ease",
141
+ borderRadius: "inherit",
142
+ transform: "translateZ(0)"
143
+ }
144
+ }, xt = (e, r) => ({
145
+ flex: 1,
146
+ mx: 0.5,
147
+ height: 4,
148
+ bgcolor: r < e ? "primary.500" : "primary.softBg",
149
+ borderRadius: "2px",
150
+ transition: "background-color 0.3s ease"
151
+ }), y = {
152
+ fadeInUp: C`
153
+ from {
154
+ opacity: 0;
155
+ transform: translateY(20px);
156
+ }
157
+ to {
158
+ opacity: 1;
159
+ transform: translateY(0);
160
+ }
161
+ `,
162
+ pulse: C`
163
+ 0% {
164
+ transform: scale(1);
165
+ }
166
+ 50% {
167
+ transform: scale(1.02);
168
+ }
169
+ 100% {
170
+ transform: scale(1);
171
+ }
172
+ `
173
+ }, ht = {
174
+ wrapper: {
175
+ animation: `${y.fadeInUp} 0.6s ease-out`
176
+ },
177
+ mainCard: {
178
+ mb: 3,
179
+ minHeight: "300px",
180
+ position: "relative",
181
+ overflow: "hidden",
182
+ background: (e) => `linear-gradient(135deg, ${e.vars.palette.background.level2} 0%, ${e.vars.palette.background.surface} 100%)`
183
+ },
184
+ fieldPattern: {
185
+ position: "absolute",
186
+ top: 0,
187
+ left: 0,
188
+ right: 0,
189
+ bottom: 0,
190
+ opacity: 0.1,
191
+ pointerEvents: "none",
192
+ background: (e) => `
193
+ linear-gradient(to right, ${e.vars.palette.neutral[400]} 1px, transparent 1px) 0 0 / 50px 100%,
194
+ linear-gradient(${e.vars.palette.neutral[400]} 1px, transparent 1px) 0 0 / 100% 50px
195
+ `
196
+ },
197
+ mainContent: {
198
+ height: "100%",
199
+ position: "relative",
200
+ zIndex: 1,
201
+ p: 2
202
+ },
203
+ scoreSection: {
204
+ color: "primary.500"
205
+ },
206
+ scoreValue: {
207
+ fontSize: "4.5em",
208
+ fontWeight: "bold",
209
+ color: "primary.500",
210
+ animation: `${y.pulse} 2s infinite`,
211
+ textShadow: "0 2px 4px rgba(0,0,0,0.1)"
212
+ },
213
+ statsSection: {
214
+ width: "100%",
215
+ direction: { xs: "column", sm: "row" }
216
+ },
217
+ statsCard: {
218
+ p: 2,
219
+ borderRadius: "lg",
220
+ minWidth: "200px",
221
+ display: "flex",
222
+ flexDirection: "column",
223
+ alignItems: "center",
224
+ gap: 1
225
+ },
226
+ leaderboardCard: {
227
+ mb: 3,
228
+ background: "background.surface",
229
+ borderColor: "divider",
230
+ "&:hover": { borderColor: "divider" }
231
+ },
232
+ rankNumber: {
233
+ width: 20,
234
+ textAlign: "center"
235
+ },
236
+ actionButton: {
237
+ transition: "all 0.2s",
238
+ "&:hover": {
239
+ transform: "translateY(-2px)"
240
+ },
241
+ animation: `${y.fadeInUp} 0.6s ease-out 0.3s backwards`
242
+ },
243
+ getLeaderboardItemStyles: {
244
+ bgcolor: "transparent",
245
+ borderRadius: "sm",
246
+ transition: "all 0.2s",
247
+ "&:hover": {
248
+ bgcolor: (e) => `${e.vars.palette.primary[500]}10`
249
+ }
250
+ }
251
+ }, ut = (e) => ({
252
+ fontWeight: "bold",
253
+ color: (r) => e ? r.vars.palette.primary[500] : "inherit"
254
+ }), ft = (e) => (r) => e === 0 ? r.vars.palette.warning[400] : e === 1 ? r.vars.palette.neutral[400] : r.vars.palette.warning[700], I = {
255
+ shadow: {
256
+ background: {
257
+ xs: "linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0) 120px), linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0) 180px)",
258
+ md: "linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0) 200px), linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0) 300px)"
259
+ }
260
+ },
261
+ contentWrapper: {
262
+ justifyContent: "flex-end",
263
+ pb: { xs: 3, sm: 4, md: 5 },
264
+ px: { xs: 2, md: 5 },
265
+ width: "100%"
266
+ }
267
+ }, d = {
268
+ iconWrapper: {
269
+ mb: 2,
270
+ display: "flex",
271
+ alignItems: "center",
272
+ justifyContent: "center",
273
+ width: 48,
274
+ height: 48,
275
+ borderRadius: "50%",
276
+ bgcolor: "primary.100",
277
+ color: "primary.500"
278
+ },
279
+ ruleCard: {
280
+ display: "flex",
281
+ flexDirection: "column",
282
+ alignItems: "center",
283
+ p: 3,
284
+ mb: 2,
285
+ textAlign: "center",
286
+ backgroundColor: "background.level1"
287
+ },
288
+ mainButton: {
289
+ px: 10,
290
+ position: "relative",
291
+ transition: "transform 0.2s ease",
292
+ animation: "pulse 2s infinite",
293
+ "@keyframes pulse": {
294
+ "0%": {
295
+ boxShadow: "0 0 0 0 rgba(var(--joy-palette-primary-500), 0.4)",
296
+ transform: "scale(1)"
297
+ },
298
+ "70%": {
299
+ boxShadow: "0 0 0 10px rgba(var(--joy-palette-primary-500), 0)",
300
+ transform: "scale(1.02)"
301
+ },
302
+ "100%": {
303
+ boxShadow: "0 0 0 0 rgba(var(--joy-palette-primary-500), 0)",
304
+ transform: "scale(1)"
305
+ }
306
+ },
307
+ "&:hover": {
308
+ animation: "none",
309
+ transform: "scale(1.05)",
310
+ transition: "transform 0.2s ease"
311
+ }
312
+ },
313
+ infoButton: {
314
+ position: "absolute",
315
+ top: 8,
316
+ right: 8,
317
+ minWidth: 40,
318
+ p: 1
319
+ }
320
+ }, bt = {
321
+ wrapper: {
322
+ cursor: "pointer",
323
+ border: "none",
324
+ "&:hover": { border: "none" },
325
+ "&:focus": { border: "none" },
326
+ "&:active": { border: "none" }
327
+ },
328
+ card: {
329
+ position: "absolute",
330
+ width: "100%",
331
+ height: "100%",
332
+ borderRadius: "sm",
333
+ border: "none",
334
+ "--Card-padding": "0px"
335
+ },
336
+ image: {
337
+ width: "100%",
338
+ height: "100%",
339
+ objectFit: "cover"
340
+ },
341
+ overlay: {
342
+ transition: "background 0.3s ease"
343
+ },
344
+ iconWrapper: {
345
+ position: "absolute",
346
+ top: "50%",
347
+ left: "50%",
348
+ transform: "translate(-50%, -50%)",
349
+ display: "flex",
350
+ alignItems: "center",
351
+ justifyContent: "center",
352
+ zIndex: 2
353
+ },
354
+ icon: {
355
+ fontSize: 64,
356
+ width: 64,
357
+ height: 64,
358
+ filter: "drop-shadow(0 2px 4px rgba(0,0,0,0.4))"
359
+ },
360
+ content: {
361
+ justifyContent: "flex-end",
362
+ p: 2
363
+ },
364
+ label: {
365
+ color: "#fff",
366
+ textAlign: "center",
367
+ fontWeight: 700,
368
+ textShadow: "0 1px 2px rgba(0,0,0,0.4)"
369
+ }
370
+ }, X = x(/* @__PURE__ */ t.jsx("path", {
371
+ d: "M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2M5 8V7h2v3.82C5.84 10.4 5 9.3 5 8m14 0c0 1.3-.84 2.4-2 2.82V7h2z"
372
+ }), "EmojiEvents"), tt = x(/* @__PURE__ */ t.jsx("path", {
373
+ d: "M9 1h6v2H9zm10.03 6.39 1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61M13 14h-2V8h2z"
374
+ }), "Timer"), gt = ({ onStart: e, game: r, signInCTA: a, showSignInCTA: i }) => {
375
+ var p;
376
+ const [h, s] = c.useState(!1), { t: o } = V(), u = [
377
+ {
378
+ icon: /* @__PURE__ */ t.jsx(tt, {}),
379
+ title: o("eitherOr.tutorial.step1Title"),
380
+ description: o("eitherOr.tutorial.step1Description", { seconds: (r == null ? void 0 : r.time) ?? 10 })
381
+ },
382
+ {
383
+ icon: /* @__PURE__ */ t.jsx(q, {}),
384
+ title: o("eitherOr.tutorial.step2Title", { lives: (r == null ? void 0 : r.lives) ?? 3 }),
385
+ description: o("eitherOr.tutorial.step2Description", { lives: (r == null ? void 0 : r.lives) ?? 3 })
386
+ },
387
+ {
388
+ icon: /* @__PURE__ */ t.jsx(X, {}),
389
+ title: o("eitherOr.tutorial.step3Title"),
390
+ description: o("eitherOr.tutorial.step3Description")
391
+ }
392
+ ];
393
+ if (!r) return null;
394
+ const n = ((p = r == null ? void 0 : r.images) == null ? void 0 : p.main) || F;
395
+ return /* @__PURE__ */ t.jsxs(j, { spacing: 3, children: [
396
+ /* @__PURE__ */ t.jsx(G, { ratio: 16 / 9, children: /* @__PURE__ */ t.jsxs(w, { sx: { borderColor: "divider", "&:hover": { borderColor: "divider" } }, children: [
397
+ /* @__PURE__ */ t.jsx(k, { children: /* @__PURE__ */ t.jsx("img", { src: n, srcSet: `${n} 1x, ${n} 2x`, loading: "lazy", alt: r.title }) }),
398
+ /* @__PURE__ */ t.jsx(k, { sx: I.shadow }),
399
+ /* @__PURE__ */ t.jsxs(L, { sx: I.contentWrapper, children: [
400
+ /* @__PURE__ */ t.jsx(m, { size: "sm", variant: "soft", color: "primary", onClick: () => s(!0), sx: d.infoButton, children: /* @__PURE__ */ t.jsx(Z, {}) }),
401
+ /* @__PURE__ */ t.jsx(j, { justifyContent: "center", alignItems: "center", spacing: 2, children: i && a ? /* @__PURE__ */ t.jsx(m, { size: "md", variant: "solid", color: "primary", onClick: a.onClick, sx: d.mainButton, children: a.defaultLabel }) : /* @__PURE__ */ t.jsx(m, { size: "md", variant: "solid", color: "primary", onClick: e, sx: d.mainButton, children: o("eitherOr.buttons.start") }) })
402
+ ] })
403
+ ] }) }),
404
+ /* @__PURE__ */ t.jsx(N, { open: h, onClose: () => s(!1), children: /* @__PURE__ */ t.jsxs(Y, { children: [
405
+ /* @__PURE__ */ t.jsx(v, { level: "h4", sx: { mb: 3, textAlign: "center" }, children: o("eitherOr.tutorial.howToPlay") }),
406
+ /* @__PURE__ */ t.jsx(S, { container: !0, spacing: 2, sx: { overflow: "auto" }, children: u.map((l, f) => /* @__PURE__ */ t.jsx(S, { xs: 12, md: 4, children: /* @__PURE__ */ t.jsxs(w, { sx: d.ruleCard, variant: "outlined", children: [
407
+ /* @__PURE__ */ t.jsx(D, { sx: d.iconWrapper, children: l.icon }),
408
+ /* @__PURE__ */ t.jsx(v, { level: "h4", sx: { mb: 1 }, children: l.title }),
409
+ /* @__PURE__ */ t.jsx(v, { level: "body-sm", children: l.description })
410
+ ] }) }, f)) }),
411
+ /* @__PURE__ */ t.jsx(m, { size: "lg", variant: "solid", color: "primary", onClick: () => s(!1), sx: { mt: 3, alignSelf: "center" }, children: o("common.close") })
412
+ ] }) })
413
+ ] });
414
+ };
415
+ export {
416
+ k as C,
417
+ q as F,
418
+ pt as G,
419
+ Z as I,
420
+ gt as T,
421
+ mt as a,
422
+ ht as b,
423
+ ft as c,
424
+ ut as d,
425
+ bt as e,
426
+ xt as g
427
+ };
@@ -0,0 +1,79 @@
1
+ import { r as a } from "./main-XP7dqk6g.js";
2
+ /**
3
+ * @license lucide-react v0.474.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const w = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), c = (...r) => r.filter((e, t, o) => !!e && e.trim() !== "" && o.indexOf(e) === t).join(" ").trim();
9
+ /**
10
+ * @license lucide-react v0.474.0 - ISC
11
+ *
12
+ * This source code is licensed under the ISC license.
13
+ * See the LICENSE file in the root directory of this source tree.
14
+ */
15
+ var f = {
16
+ xmlns: "http://www.w3.org/2000/svg",
17
+ width: 24,
18
+ height: 24,
19
+ viewBox: "0 0 24 24",
20
+ fill: "none",
21
+ stroke: "currentColor",
22
+ strokeWidth: 2,
23
+ strokeLinecap: "round",
24
+ strokeLinejoin: "round"
25
+ };
26
+ /**
27
+ * @license lucide-react v0.474.0 - ISC
28
+ *
29
+ * This source code is licensed under the ISC license.
30
+ * See the LICENSE file in the root directory of this source tree.
31
+ */
32
+ const p = a.forwardRef(
33
+ ({
34
+ color: r = "currentColor",
35
+ size: e = 24,
36
+ strokeWidth: t = 2,
37
+ absoluteStrokeWidth: o,
38
+ className: s = "",
39
+ children: n,
40
+ iconNode: i,
41
+ ...l
42
+ }, u) => a.createElement(
43
+ "svg",
44
+ {
45
+ ref: u,
46
+ ...f,
47
+ width: e,
48
+ height: e,
49
+ stroke: r,
50
+ strokeWidth: o ? Number(t) * 24 / Number(e) : t,
51
+ className: c("lucide", s),
52
+ ...l
53
+ },
54
+ [
55
+ ...i.map(([m, d]) => a.createElement(m, d)),
56
+ ...Array.isArray(n) ? n : [n]
57
+ ]
58
+ )
59
+ );
60
+ /**
61
+ * @license lucide-react v0.474.0 - ISC
62
+ *
63
+ * This source code is licensed under the ISC license.
64
+ * See the LICENSE file in the root directory of this source tree.
65
+ */
66
+ const h = (r, e) => {
67
+ const t = a.forwardRef(
68
+ ({ className: o, ...s }, n) => a.createElement(p, {
69
+ ref: n,
70
+ iconNode: e,
71
+ className: c(`lucide-${w(r)}`, o),
72
+ ...s
73
+ })
74
+ );
75
+ return t.displayName = `${r}`, t;
76
+ };
77
+ export {
78
+ h as c
79
+ };
@@ -0,0 +1,119 @@
1
+ import { F as P, G as M, r as l, v as X, _, w as t, x as b, y as A, E as B, j as z, z as a, D as E } from "./main-XP7dqk6g.js";
2
+ function U(e) {
3
+ return P("MuiSvgIcon", e);
4
+ }
5
+ M("MuiSvgIcon", ["root", "colorInherit", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "fontSizeInherit", "fontSizeXs", "fontSizeSm", "fontSizeMd", "fontSizeLg", "fontSizeXl", "fontSizeXl2", "fontSizeXl3", "fontSizeXl4", "sizeSm", "sizeMd", "sizeLg"]);
6
+ const L = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox", "size", "slots", "slotProps"], V = (e) => {
7
+ const {
8
+ color: o,
9
+ size: s,
10
+ fontSize: n
11
+ } = e, i = {
12
+ root: ["root", o && o !== "inherit" && `color${a(o)}`, s && `size${a(s)}`, n && `fontSize${a(n)}`]
13
+ };
14
+ return E(i, U, {});
15
+ }, p = {
16
+ sm: "xl",
17
+ md: "xl2",
18
+ lg: "xl3"
19
+ }, k = A("svg", {
20
+ name: "JoySvgIcon",
21
+ slot: "Root",
22
+ overridesResolver: (e, o) => o.root
23
+ })(({
24
+ theme: e,
25
+ ownerState: o
26
+ }) => {
27
+ var s;
28
+ return t({}, o.instanceSize && {
29
+ "--Icon-fontSize": e.vars.fontSize[p[o.instanceSize]]
30
+ }, o.instanceFontSize && o.instanceFontSize !== "inherit" && {
31
+ "--Icon-fontSize": e.vars.fontSize[o.instanceFontSize]
32
+ }, {
33
+ userSelect: "none",
34
+ margin: "var(--Icon-margin)",
35
+ width: "1em",
36
+ height: "1em",
37
+ display: "inline-block",
38
+ // the <svg> will define the property that has `currentColor`
39
+ // for example heroicons uses fill="none" and stroke="currentColor"
40
+ fill: o.hasSvgAsChild ? void 0 : "currentColor",
41
+ flexShrink: 0,
42
+ fontSize: `var(--Icon-fontSize, ${e.vars.fontSize[p[o.size]] || "unset"})`
43
+ }, o.fontSize && o.fontSize !== "inherit" && {
44
+ fontSize: `var(--Icon-fontSize, ${e.fontSize[o.fontSize]})`
45
+ }, !o.htmlColor && t({
46
+ color: `var(--Icon-color, ${e.vars.palette.text.icon})`
47
+ }, o.color === "inherit" && {
48
+ color: "inherit"
49
+ }, o.color !== "inherit" && e.vars.palette[o.color] && {
50
+ color: `rgba(${(s = e.vars.palette[o.color]) == null ? void 0 : s.mainChannel} / 1)`
51
+ }));
52
+ }), m = /* @__PURE__ */ l.forwardRef(function(o, s) {
53
+ const n = X({
54
+ props: o,
55
+ name: "JoySvgIcon"
56
+ }), {
57
+ children: i,
58
+ className: u,
59
+ color: g,
60
+ component: f = "svg",
61
+ fontSize: h,
62
+ htmlColor: x,
63
+ inheritViewBox: S = !1,
64
+ titleAccess: r,
65
+ viewBox: v = "0 0 24 24",
66
+ size: I = "md",
67
+ slots: C = {},
68
+ slotProps: y = {}
69
+ } = n, $ = _(n, L), c = /* @__PURE__ */ l.isValidElement(i) && i.type === "svg", d = t({}, n, {
70
+ color: g,
71
+ component: f,
72
+ size: I,
73
+ instanceSize: o.size,
74
+ fontSize: h,
75
+ instanceFontSize: o.fontSize,
76
+ inheritViewBox: S,
77
+ viewBox: v,
78
+ hasSvgAsChild: c
79
+ }), R = V(d), j = t({}, $, {
80
+ component: f,
81
+ slots: C,
82
+ slotProps: y
83
+ }), [F, N] = b("root", {
84
+ ref: s,
85
+ className: B(R.root, u),
86
+ elementType: k,
87
+ externalForwardedProps: j,
88
+ ownerState: d,
89
+ additionalProps: t({
90
+ color: x,
91
+ focusable: !1
92
+ }, r && {
93
+ role: "img"
94
+ }, !r && {
95
+ "aria-hidden": !0
96
+ }, !S && {
97
+ viewBox: v
98
+ }, c && i.props)
99
+ });
100
+ return /* @__PURE__ */ z.jsxs(F, t({}, N, {
101
+ children: [c ? i.props.children : i, r ? /* @__PURE__ */ z.jsx("title", {
102
+ children: r
103
+ }) : null]
104
+ }));
105
+ });
106
+ function J(e, o) {
107
+ function s(n, i) {
108
+ return /* @__PURE__ */ z.jsx(m, t({
109
+ "data-testid": `${o}Icon`,
110
+ ref: i
111
+ }, n, {
112
+ children: e
113
+ }));
114
+ }
115
+ return s.muiName = m.muiName, /* @__PURE__ */ l.memo(/* @__PURE__ */ l.forwardRef(s));
116
+ }
117
+ export {
118
+ J as c
119
+ };