fansunited-widgets-cdn 0.0.86-RC4 → 0.0.86-RC5

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 (85) hide show
  1. package/chunks/{Alert-DuMXT9be.js → Alert-B6o66mYo.js} +39 -39
  2. package/chunks/{CardContent-COgjZl3_.js → CardContent-NCZhfGcZ.js} +16 -16
  3. package/chunks/{Snackbar-DJz-WddP.js → ChevronRight-1pLZ7T0v.js} +100 -94
  4. package/chunks/{ClassicQuizWrapper-C7svf4eh.js → ClassicQuizWrapper-n2epPO4k.js} +201 -205
  5. package/chunks/CollectLeadForm-C_3plJtn-Dr8J3eDw.js +3918 -0
  6. package/chunks/{CollectLeadWrapper-DACvBsa_.js → CollectLeadWrapper-CCtTZAxL.js} +55 -56
  7. package/chunks/EitherOrById-ClGwMK0b.js +6820 -0
  8. package/chunks/EitherOrPreviewWrapper-BYiKyYwi.js +46 -0
  9. package/chunks/Error-BurPfBJw-DWYn31sK.js +1119 -0
  10. package/chunks/{EventGameWrapper-DmjaKr3I.js → EventGameWrapper-BphusLTk.js} +208 -219
  11. package/chunks/{Grid-BbegUe2J.js → Grid-yjqNNhEx.js} +32 -32
  12. package/chunks/{IconButton-zh1RLwcE.js → IconButton-D7onwgY0.js} +22 -22
  13. package/chunks/{List-CA3L6bUS.js → List-8Vy9IZiv.js} +26 -29
  14. package/chunks/{MatchPredictionContainer-CmHKsJ_z.js → MatchPredictionContainer-BGytBwLo.js} +52 -54
  15. package/chunks/{MatchQuizWrapper-BxHHl4a5.js → MatchQuizWrapper-BGjldBpF.js} +73 -85
  16. package/chunks/{OverlayLeadAfterCollection-DnqztPJ5-CJnicIes.js → OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js} +104 -105
  17. package/chunks/{OverlayScoreStateSkeleton-C9FUhcnd-CZ7cct30.js → OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js} +18 -19
  18. package/chunks/{PersonalityQuizWrapper-B-Rkzvc0.js → PersonalityQuizWrapper-BgLFw5tM.js} +3 -3
  19. package/chunks/{PlayerOfTheMatch-CzGMT1jr.js → PlayerOfTheMatch-CImBLG3T.js} +1008 -609
  20. package/chunks/{PollWrapper-Cdl3AbXE.js → PollWrapper-QpIKCCVF.js} +30 -34
  21. package/chunks/Portal-DegkUXpU-ByGP9zS1.js +19236 -0
  22. package/chunks/{PreviewQuizById-CPiwewW_.js → PreviewQuizById-Ba6yhxKV.js} +11 -14
  23. package/chunks/Sheet-U5EnSrgg.js +282 -0
  24. package/chunks/{Stack-BBjT-MoB.js → Stack-DbDi7kPO.js} +30 -30
  25. package/chunks/Tabs-leN3Fb8D--YMyy3EM.js +783 -0
  26. package/chunks/{TeamNextMatchPrediction-BOOGeVEv.js → TeamNextMatchPrediction-9VSQOCcC.js} +2 -2
  27. package/chunks/Tutorial-CRJLOovs.js +1072 -0
  28. package/chunks/createLucideIcon-CMWOQsDL.js +381 -0
  29. package/chunks/{createSvgIcon-cOpRx8M1.js → createSvgIcon-D9D4a1R9.js} +412 -390
  30. package/chunks/default-quiz-bg-ADjjIfPj.js +126 -0
  31. package/chunks/{index-CNAE4RYY.js → index-0ADq_9jd.js} +1 -1
  32. package/chunks/{index-D9kNvflO.js → index-B74jHeYm.js} +2 -2
  33. package/chunks/{index-Dr-yGqo_.js → index-BfVvJg5R.js} +1 -1
  34. package/chunks/{index-D3wDyWq_.js → index-BycLbIYY.js} +1 -1
  35. package/chunks/{index-BKyd0MUt.js → index-C6KAc5B_.js} +1 -1
  36. package/chunks/{index-BkU2GDR4.js → index-CHV6tlpH.js} +5 -5
  37. package/chunks/{index-Uv42o9aR.js → index-CILd3yUc.js} +1 -1
  38. package/chunks/index-CJqcqbHq.js +5 -0
  39. package/chunks/{index-DrlzgjUf.js → index-CK2RXrJm.js} +1 -1
  40. package/chunks/{index-DFXrZaoM.js → index-CPTAlr_t.js} +1 -1
  41. package/chunks/{index-D1SEUyHT.js → index-CiB_Gqim.js} +1 -1
  42. package/chunks/{index-CNukXTLi.js → index-CvGJXa6l.js} +1 -1
  43. package/chunks/{index-CpFMxpj1.js → index-CviTG4Nv.js} +1 -1
  44. package/chunks/index-DUQ2LFod-Cw45tHim.js +4510 -0
  45. package/chunks/{index-DbZ10tsY.js → index-Da0AXb_O.js} +1 -1
  46. package/chunks/{index-CiI_vSMR.js → index-DwR4J2nN.js} +1 -1
  47. package/chunks/{index-CMhbRdLz.js → index-UwW9niUj.js} +1 -1
  48. package/chunks/index.es-wHqA4PHm.js +11480 -0
  49. package/chunks/{init-DYY4CJtu.js → init-C-gCorsh.js} +1 -1
  50. package/chunks/{main-NO9IQFuY.js → main-Bh6iw92_.js} +94 -110
  51. package/chunks/{Button-DJj0KOh3.js → resolveProps-Bgg0H6c2.js} +471 -313
  52. package/chunks/{users-C-6eqEb6.js → users-CXdzg3DM.js} +1 -1
  53. package/fu-widgets.es.js +2 -2
  54. package/fu-widgets.iife.js +310 -257
  55. package/manifest.json +56 -72
  56. package/package.json +1 -1
  57. package/chunks/AspectRatio-CKWgGwn-.js +0 -125
  58. package/chunks/Avatar-Cv70g9HX.js +0 -186
  59. package/chunks/Card-BDn3dk3E.js +0 -129
  60. package/chunks/ChevronRight-BwGivLSL.js +0 -11
  61. package/chunks/Chip-BkY7Uww3.js +0 -281
  62. package/chunks/CollectLeadForm-DtmR2Vuf-DvAoHDnn.js +0 -1560
  63. package/chunks/DialogActions-CuXgjeCi.js +0 -45
  64. package/chunks/DialogContent-CyQJ8yz-.js +0 -60
  65. package/chunks/EitherOrById-B8v0nJmv.js +0 -1496
  66. package/chunks/EitherOrPreviewWrapper-C9O6TEVe.js +0 -47
  67. package/chunks/Error-DhQL89pn-DD0O1kEt.js +0 -418
  68. package/chunks/Link-Cw8ci6QQ.js +0 -228
  69. package/chunks/ListItemDecorator-DwvO_ty1.js +0 -1882
  70. package/chunks/ModalDialog-DLPhSR9-.js +0 -619
  71. package/chunks/NotFoundSkeleton-BYJTzYJR-JURKfNZv.js +0 -2764
  72. package/chunks/Portal-BWqqFvVm-pvatNKfM.js +0 -12717
  73. package/chunks/Portal-BsATdUrC.js +0 -41
  74. package/chunks/Select-Cewujqtd.js +0 -3418
  75. package/chunks/Sheet-B8wNvQTa.js +0 -167
  76. package/chunks/Tabs-BP1RMTCA.js +0 -784
  77. package/chunks/Tutorial-B1LWDD9l.js +0 -427
  78. package/chunks/createLucideIcon-nPUeaUEe.js +0 -79
  79. package/chunks/createSvgIcon-DhITitgm.js +0 -119
  80. package/chunks/default-quiz-bg-CTzaADn7.js +0 -4
  81. package/chunks/getReactElementRef-66jU_By9.js +0 -25
  82. package/chunks/index-BPH9IX2Q.js +0 -5
  83. package/chunks/index.es-BZbN3xaq.js +0 -6162
  84. package/chunks/resolveProps-BfYZubfk.js +0 -37
  85. package/chunks/variantColorInheritance-DVZ9CGcB.js +0 -28
package/manifest.json CHANGED
@@ -1,84 +1,68 @@
1
1
  {
2
2
  "name": "fansunited-widgets-cdn",
3
- "version": "0.0.86-RC4",
4
- "buildDate": "2026-01-19T10:11:07.933Z",
3
+ "version": "0.0.86-RC5",
4
+ "buildDate": "2026-01-19T12:38:47.011Z",
5
5
  "files": {
6
6
  "iife": "fu-widgets.iife.js",
7
7
  "esm": "fu-widgets.es.js"
8
8
  },
9
9
  "chunks": {
10
- "Alert-DuMXT9be.js": "chunks/Alert-DuMXT9be.js",
11
- "AspectRatio-CKWgGwn-.js": "chunks/AspectRatio-CKWgGwn-.js",
12
- "Avatar-Cv70g9HX.js": "chunks/Avatar-Cv70g9HX.js",
13
- "Button-DJj0KOh3.js": "chunks/Button-DJj0KOh3.js",
14
- "Card-BDn3dk3E.js": "chunks/Card-BDn3dk3E.js",
15
- "CardContent-COgjZl3_.js": "chunks/CardContent-COgjZl3_.js",
16
- "ChevronRight-BwGivLSL.js": "chunks/ChevronRight-BwGivLSL.js",
17
- "Chip-BkY7Uww3.js": "chunks/Chip-BkY7Uww3.js",
18
- "ClassicQuizWrapper-C7svf4eh.js": "chunks/ClassicQuizWrapper-C7svf4eh.js",
19
- "CollectLeadForm-DtmR2Vuf-DvAoHDnn.js": "chunks/CollectLeadForm-DtmR2Vuf-DvAoHDnn.js",
20
- "CollectLeadWrapper-DACvBsa_.js": "chunks/CollectLeadWrapper-DACvBsa_.js",
21
- "DialogActions-CuXgjeCi.js": "chunks/DialogActions-CuXgjeCi.js",
22
- "DialogContent-CyQJ8yz-.js": "chunks/DialogContent-CyQJ8yz-.js",
23
- "EitherOrById-B8v0nJmv.js": "chunks/EitherOrById-B8v0nJmv.js",
24
- "EitherOrPreviewWrapper-C9O6TEVe.js": "chunks/EitherOrPreviewWrapper-C9O6TEVe.js",
25
- "Error-DhQL89pn-DD0O1kEt.js": "chunks/Error-DhQL89pn-DD0O1kEt.js",
26
- "EventGameWrapper-DmjaKr3I.js": "chunks/EventGameWrapper-DmjaKr3I.js",
27
- "Grid-BbegUe2J.js": "chunks/Grid-BbegUe2J.js",
28
- "IconButton-zh1RLwcE.js": "chunks/IconButton-zh1RLwcE.js",
29
- "Link-Cw8ci6QQ.js": "chunks/Link-Cw8ci6QQ.js",
30
- "List-CA3L6bUS.js": "chunks/List-CA3L6bUS.js",
31
- "ListItemDecorator-DwvO_ty1.js": "chunks/ListItemDecorator-DwvO_ty1.js",
32
- "MatchPredictionContainer-CmHKsJ_z.js": "chunks/MatchPredictionContainer-CmHKsJ_z.js",
33
- "MatchQuizWrapper-BxHHl4a5.js": "chunks/MatchQuizWrapper-BxHHl4a5.js",
34
- "ModalDialog-DLPhSR9-.js": "chunks/ModalDialog-DLPhSR9-.js",
35
- "NotFoundSkeleton-BYJTzYJR-JURKfNZv.js": "chunks/NotFoundSkeleton-BYJTzYJR-JURKfNZv.js",
36
- "OverlayLeadAfterCollection-DnqztPJ5-CJnicIes.js": "chunks/OverlayLeadAfterCollection-DnqztPJ5-CJnicIes.js",
37
- "OverlayScoreStateSkeleton-C9FUhcnd-CZ7cct30.js": "chunks/OverlayScoreStateSkeleton-C9FUhcnd-CZ7cct30.js",
38
- "PersonalityQuizWrapper-B-Rkzvc0.js": "chunks/PersonalityQuizWrapper-B-Rkzvc0.js",
39
- "PlayerOfTheMatch-CzGMT1jr.js": "chunks/PlayerOfTheMatch-CzGMT1jr.js",
40
- "PollWrapper-Cdl3AbXE.js": "chunks/PollWrapper-Cdl3AbXE.js",
41
- "Portal-BWqqFvVm-pvatNKfM.js": "chunks/Portal-BWqqFvVm-pvatNKfM.js",
42
- "Portal-BsATdUrC.js": "chunks/Portal-BsATdUrC.js",
43
- "PreviewQuizById-CPiwewW_.js": "chunks/PreviewQuizById-CPiwewW_.js",
44
- "Select-Cewujqtd.js": "chunks/Select-Cewujqtd.js",
45
- "Sheet-B8wNvQTa.js": "chunks/Sheet-B8wNvQTa.js",
46
- "Snackbar-DJz-WddP.js": "chunks/Snackbar-DJz-WddP.js",
47
- "Stack-BBjT-MoB.js": "chunks/Stack-BBjT-MoB.js",
48
- "Tabs-BP1RMTCA.js": "chunks/Tabs-BP1RMTCA.js",
49
- "TeamNextMatchPrediction-BOOGeVEv.js": "chunks/TeamNextMatchPrediction-BOOGeVEv.js",
50
- "Tutorial-B1LWDD9l.js": "chunks/Tutorial-B1LWDD9l.js",
51
- "createLucideIcon-nPUeaUEe.js": "chunks/createLucideIcon-nPUeaUEe.js",
52
- "createSvgIcon-DhITitgm.js": "chunks/createSvgIcon-DhITitgm.js",
53
- "createSvgIcon-cOpRx8M1.js": "chunks/createSvgIcon-cOpRx8M1.js",
10
+ "Alert-B6o66mYo.js": "chunks/Alert-B6o66mYo.js",
11
+ "CardContent-NCZhfGcZ.js": "chunks/CardContent-NCZhfGcZ.js",
12
+ "ChevronRight-1pLZ7T0v.js": "chunks/ChevronRight-1pLZ7T0v.js",
13
+ "ClassicQuizWrapper-n2epPO4k.js": "chunks/ClassicQuizWrapper-n2epPO4k.js",
14
+ "CollectLeadForm-C_3plJtn-Dr8J3eDw.js": "chunks/CollectLeadForm-C_3plJtn-Dr8J3eDw.js",
15
+ "CollectLeadWrapper-CCtTZAxL.js": "chunks/CollectLeadWrapper-CCtTZAxL.js",
16
+ "EitherOrById-ClGwMK0b.js": "chunks/EitherOrById-ClGwMK0b.js",
17
+ "EitherOrPreviewWrapper-BYiKyYwi.js": "chunks/EitherOrPreviewWrapper-BYiKyYwi.js",
18
+ "Error-BurPfBJw-DWYn31sK.js": "chunks/Error-BurPfBJw-DWYn31sK.js",
19
+ "EventGameWrapper-BphusLTk.js": "chunks/EventGameWrapper-BphusLTk.js",
20
+ "Grid-yjqNNhEx.js": "chunks/Grid-yjqNNhEx.js",
21
+ "IconButton-D7onwgY0.js": "chunks/IconButton-D7onwgY0.js",
22
+ "List-8Vy9IZiv.js": "chunks/List-8Vy9IZiv.js",
23
+ "MatchPredictionContainer-BGytBwLo.js": "chunks/MatchPredictionContainer-BGytBwLo.js",
24
+ "MatchQuizWrapper-BGjldBpF.js": "chunks/MatchQuizWrapper-BGjldBpF.js",
25
+ "OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js": "chunks/OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js",
26
+ "OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js": "chunks/OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js",
27
+ "PersonalityQuizWrapper-BgLFw5tM.js": "chunks/PersonalityQuizWrapper-BgLFw5tM.js",
28
+ "PlayerOfTheMatch-CImBLG3T.js": "chunks/PlayerOfTheMatch-CImBLG3T.js",
29
+ "PollWrapper-QpIKCCVF.js": "chunks/PollWrapper-QpIKCCVF.js",
30
+ "Portal-DegkUXpU-ByGP9zS1.js": "chunks/Portal-DegkUXpU-ByGP9zS1.js",
31
+ "PreviewQuizById-Ba6yhxKV.js": "chunks/PreviewQuizById-Ba6yhxKV.js",
32
+ "Sheet-U5EnSrgg.js": "chunks/Sheet-U5EnSrgg.js",
33
+ "Stack-DbDi7kPO.js": "chunks/Stack-DbDi7kPO.js",
34
+ "Tabs-leN3Fb8D--YMyy3EM.js": "chunks/Tabs-leN3Fb8D--YMyy3EM.js",
35
+ "TeamNextMatchPrediction-9VSQOCcC.js": "chunks/TeamNextMatchPrediction-9VSQOCcC.js",
36
+ "Tutorial-CRJLOovs.js": "chunks/Tutorial-CRJLOovs.js",
37
+ "createLucideIcon-CMWOQsDL.js": "chunks/createLucideIcon-CMWOQsDL.js",
38
+ "createSvgIcon-D9D4a1R9.js": "chunks/createSvgIcon-D9D4a1R9.js",
54
39
  "dataAttributeParser-CF9vxaVN.js": "chunks/dataAttributeParser-CF9vxaVN.js",
55
- "default-quiz-bg-CTzaADn7.js": "chunks/default-quiz-bg-CTzaADn7.js",
56
- "getReactElementRef-66jU_By9.js": "chunks/getReactElementRef-66jU_By9.js",
57
- "index-BKyd0MUt.js": "chunks/index-BKyd0MUt.js",
58
- "index-BPH9IX2Q.js": "chunks/index-BPH9IX2Q.js",
59
- "index-BkU2GDR4.js": "chunks/index-BkU2GDR4.js",
60
- "index-CMhbRdLz.js": "chunks/index-CMhbRdLz.js",
61
- "index-CNAE4RYY.js": "chunks/index-CNAE4RYY.js",
62
- "index-CNukXTLi.js": "chunks/index-CNukXTLi.js",
63
- "index-CiI_vSMR.js": "chunks/index-CiI_vSMR.js",
64
- "index-CpFMxpj1.js": "chunks/index-CpFMxpj1.js",
65
- "index-D1SEUyHT.js": "chunks/index-D1SEUyHT.js",
66
- "index-D3wDyWq_.js": "chunks/index-D3wDyWq_.js",
67
- "index-D9kNvflO.js": "chunks/index-D9kNvflO.js",
68
- "index-DFXrZaoM.js": "chunks/index-DFXrZaoM.js",
69
- "index-DbZ10tsY.js": "chunks/index-DbZ10tsY.js",
70
- "index-Dr-yGqo_.js": "chunks/index-Dr-yGqo_.js",
71
- "index-DrlzgjUf.js": "chunks/index-DrlzgjUf.js",
72
- "index-Uv42o9aR.js": "chunks/index-Uv42o9aR.js",
73
- "index.es-BZbN3xaq.js": "chunks/index.es-BZbN3xaq.js",
74
- "init-DYY4CJtu.js": "chunks/init-DYY4CJtu.js",
75
- "main-NO9IQFuY.js": "chunks/main-NO9IQFuY.js",
76
- "resolveProps-BfYZubfk.js": "chunks/resolveProps-BfYZubfk.js",
77
- "users-C-6eqEb6.js": "chunks/users-C-6eqEb6.js",
78
- "variantColorInheritance-DVZ9CGcB.js": "chunks/variantColorInheritance-DVZ9CGcB.js"
40
+ "default-quiz-bg-ADjjIfPj.js": "chunks/default-quiz-bg-ADjjIfPj.js",
41
+ "index-0ADq_9jd.js": "chunks/index-0ADq_9jd.js",
42
+ "index-B74jHeYm.js": "chunks/index-B74jHeYm.js",
43
+ "index-BfVvJg5R.js": "chunks/index-BfVvJg5R.js",
44
+ "index-BycLbIYY.js": "chunks/index-BycLbIYY.js",
45
+ "index-C6KAc5B_.js": "chunks/index-C6KAc5B_.js",
46
+ "index-CHV6tlpH.js": "chunks/index-CHV6tlpH.js",
47
+ "index-CILd3yUc.js": "chunks/index-CILd3yUc.js",
48
+ "index-CJqcqbHq.js": "chunks/index-CJqcqbHq.js",
49
+ "index-CK2RXrJm.js": "chunks/index-CK2RXrJm.js",
50
+ "index-CPTAlr_t.js": "chunks/index-CPTAlr_t.js",
51
+ "index-CiB_Gqim.js": "chunks/index-CiB_Gqim.js",
52
+ "index-CvGJXa6l.js": "chunks/index-CvGJXa6l.js",
53
+ "index-CviTG4Nv.js": "chunks/index-CviTG4Nv.js",
54
+ "index-DUQ2LFod-Cw45tHim.js": "chunks/index-DUQ2LFod-Cw45tHim.js",
55
+ "index-Da0AXb_O.js": "chunks/index-Da0AXb_O.js",
56
+ "index-DwR4J2nN.js": "chunks/index-DwR4J2nN.js",
57
+ "index-UwW9niUj.js": "chunks/index-UwW9niUj.js",
58
+ "index.es-wHqA4PHm.js": "chunks/index.es-wHqA4PHm.js",
59
+ "init-C-gCorsh.js": "chunks/init-C-gCorsh.js",
60
+ "main-Bh6iw92_.js": "chunks/main-Bh6iw92_.js",
61
+ "resolveProps-Bgg0H6c2.js": "chunks/resolveProps-Bgg0H6c2.js",
62
+ "users-CXdzg3DM.js": "chunks/users-CXdzg3DM.js"
79
63
  },
80
64
  "integrity": {
81
- "iife": "sha384-IMUxDyL158G/LDs/mPVySI0JBDJDebreywapHr2khlt8PMOyi4JknGajISnAiWms",
82
- "esm": "sha384-IekbdPzUfHIH2jj4W8aKNGBrGypfDPFDExqQqdgeS60LUeAHymPjLOl7TnKpUMr8"
65
+ "iife": "sha384-ogRPvH3AD0K6llhb0Zl1pTKxV+e3tREmhkWJ/BlJgZ2tMRBUvBKzjLFEQ941YUe4",
66
+ "esm": "sha384-COXlPo1YuIFpQxXe41WuuL3OPhun4WA7vM5aZB78/vd+tefz9uIBZNoOZSRFG28y"
83
67
  }
84
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fansunited-widgets-cdn",
3
- "version": "0.0.86-RC4",
3
+ "version": "0.0.86-RC5",
4
4
  "private": false,
5
5
  "main": "fu-widgets.iife.js",
6
6
  "module": "fu-widgets.es.js",
@@ -1,125 +0,0 @@
1
- import { F as U, G as z, r as a, v as B, _ as D, w as s, x as p, y as h, j as d, z as m, D as J } from "./main-NO9IQFuY.js";
2
- function N(t) {
3
- return U("MuiAspectRatio", t);
4
- }
5
- z("MuiAspectRatio", ["root", "content", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]);
6
- const T = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color", "variant", "component", "flex", "slots", "slotProps"], W = (t) => {
7
- const {
8
- variant: o,
9
- color: e
10
- } = t, i = {
11
- root: ["root"],
12
- content: ["content", o && `variant${m(o)}`, e && `color${m(e)}`]
13
- };
14
- return J(i, N, {});
15
- }, I = h("div", {
16
- name: "JoyAspectRatio",
17
- slot: "Root",
18
- overridesResolver: (t, o) => o.root
19
- })(({
20
- ownerState: t,
21
- theme: o
22
- }) => {
23
- const e = typeof t.minHeight == "number" ? `${t.minHeight}px` : t.minHeight, i = typeof t.maxHeight == "number" ? `${t.maxHeight}px` : t.maxHeight;
24
- return {
25
- // a context variable for any child component
26
- "--AspectRatio-paddingBottom": `clamp(var(--AspectRatio-minHeight), calc(100% / (${t.ratio})), var(--AspectRatio-maxHeight))`,
27
- "--AspectRatio-maxHeight": i || "9999px",
28
- "--AspectRatio-minHeight": e || "0px",
29
- "--Icon-color": t.color !== "neutral" || t.variant === "solid" ? "currentColor" : o.vars.palette.text.icon,
30
- borderRadius: "var(--AspectRatio-radius)",
31
- display: t.flex ? "flex" : "block",
32
- flex: t.flex ? 1 : "initial",
33
- flexDirection: "column",
34
- margin: "var(--AspectRatio-margin)"
35
- };
36
- }), M = h("div", {
37
- name: "JoyAspectRatio",
38
- slot: "Content",
39
- overridesResolver: (t, o) => o.content
40
- })(({
41
- theme: t,
42
- ownerState: o
43
- }) => {
44
- var e;
45
- return s({
46
- flex: 1,
47
- position: "relative",
48
- borderRadius: "inherit",
49
- height: 0,
50
- paddingBottom: "calc(var(--AspectRatio-paddingBottom) - 2 * var(--variant-borderWidth, 0px))",
51
- overflow: "hidden",
52
- transition: "inherit",
53
- // makes it easy to add transition to the content
54
- // use data-attribute instead of :first-child to support zero config SSR (emotion)
55
- // use nested selector for integrating with nextjs image `fill` layout (spans are inserted on top of the img)
56
- "& [data-first-child]": {
57
- display: "flex",
58
- justifyContent: "center",
59
- alignItems: "center",
60
- boxSizing: "border-box",
61
- position: "absolute",
62
- width: "100%",
63
- height: "100%",
64
- objectFit: o.objectFit,
65
- margin: 0,
66
- padding: 0,
67
- "& > img": {
68
- // support art-direction that uses <picture><img /></picture>
69
- width: "100%",
70
- height: "100%",
71
- objectFit: o.objectFit
72
- }
73
- }
74
- }, t.typography["body-md"], (e = t.variants[o.variant]) == null ? void 0 : e[o.color]);
75
- }), G = /* @__PURE__ */ a.forwardRef(function(o, e) {
76
- const i = B({
77
- props: o,
78
- name: "JoyAspectRatio"
79
- }), {
80
- children: x,
81
- ratio: g = "16 / 9",
82
- minHeight: v,
83
- maxHeight: u,
84
- objectFit: R = "cover",
85
- color: f = "neutral",
86
- variant: y = "soft",
87
- component: A,
88
- flex: b = !1,
89
- slots: H = {},
90
- slotProps: j = {}
91
- } = i, C = D(i, T), r = s({}, i, {
92
- flex: b,
93
- minHeight: v,
94
- maxHeight: u,
95
- objectFit: R,
96
- ratio: g,
97
- color: f,
98
- variant: y
99
- }), c = W(r), l = s({}, C, {
100
- component: A,
101
- slots: H,
102
- slotProps: j
103
- }), [P, F] = p("root", {
104
- ref: e,
105
- className: c.root,
106
- elementType: I,
107
- externalForwardedProps: l,
108
- ownerState: r
109
- }), [$, _] = p("content", {
110
- className: c.content,
111
- elementType: M,
112
- externalForwardedProps: l,
113
- ownerState: r
114
- });
115
- return /* @__PURE__ */ d.jsx(P, s({}, F, {
116
- children: /* @__PURE__ */ d.jsx($, s({}, _, {
117
- children: a.Children.map(x, (n, E) => E === 0 && /* @__PURE__ */ a.isValidElement(n) ? /* @__PURE__ */ a.cloneElement(n, {
118
- "data-first-child": ""
119
- }) : n)
120
- }))
121
- }));
122
- });
123
- export {
124
- G as A
125
- };
@@ -1,186 +0,0 @@
1
- import { j as d, F as L, G as M, r as v, y as p, w as l, v as T, _ as U, x as z, z as h, D as w } from "./main-NO9IQFuY.js";
2
- import { c as E } from "./createSvgIcon-DhITitgm.js";
3
- const D = E(/* @__PURE__ */ d.jsx("path", {
4
- 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"
5
- }), "Person");
6
- function W(r) {
7
- return L("MuiAvatar", r);
8
- }
9
- M("MuiAvatar", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "fallback", "sizeSm", "sizeMd", "sizeLg", "img", "variantOutlined", "variantSoft", "variantSolid"]);
10
- const H = /* @__PURE__ */ v.createContext(void 0);
11
- p("div", {
12
- name: "JoyAvatarGroup",
13
- slot: "Root",
14
- overridesResolver: (r, a) => a.root
15
- })(({
16
- ownerState: r,
17
- theme: a
18
- }) => l({}, r.size === "sm" && {
19
- "--AvatarGroup-gap": "-0.375rem",
20
- "--Avatar-ringSize": "2px"
21
- }, r.size === "md" && {
22
- "--AvatarGroup-gap": "-0.5rem",
23
- "--Avatar-ringSize": "2px"
24
- }, r.size === "lg" && {
25
- "--AvatarGroup-gap": "-0.625rem",
26
- "--Avatar-ringSize": "4px"
27
- }, {
28
- "--Avatar-ring": `0 0 0 var(--Avatar-ringSize) var(--Avatar-ringColor, ${a.vars.palette.background.surface})`,
29
- "--Avatar-marginInlineStart": "var(--AvatarGroup-gap)",
30
- display: "flex",
31
- marginInlineStart: "calc(-1 * var(--AvatarGroup-gap))"
32
- }));
33
- const O = ["alt", "color", "size", "variant", "src", "srcSet", "children", "component", "slots", "slotProps"], q = (r) => {
34
- const {
35
- size: a,
36
- variant: t,
37
- color: e,
38
- src: o,
39
- srcSet: s
40
- } = r, n = {
41
- root: ["root", t && `variant${h(t)}`, e && `color${h(e)}`, a && `size${h(a)}`],
42
- img: [(o || s) && "img"],
43
- fallback: ["fallback"]
44
- };
45
- return w(n, W, {});
46
- }, B = p("div", {
47
- name: "JoyAvatar",
48
- slot: "Root",
49
- overridesResolver: (r, a) => a.root
50
- })(({
51
- theme: r,
52
- ownerState: a
53
- }) => {
54
- var t;
55
- return l({
56
- "--Icon-color": a.color !== "neutral" || a.variant === "solid" ? "currentColor" : r.vars.palette.text.icon
57
- }, r.typography[`title-${a.size}`], a.size === "sm" && {
58
- width: "var(--Avatar-size, 2rem)",
59
- height: "var(--Avatar-size, 2rem)",
60
- fontSize: "calc(var(--Avatar-size, 2rem) * 0.4375)"
61
- // default as 14px
62
- }, a.size === "md" && {
63
- width: "var(--Avatar-size, 2.5rem)",
64
- height: "var(--Avatar-size, 2.5rem)",
65
- fontSize: "calc(var(--Avatar-size, 2.5rem) * 0.4)"
66
- // default as 16px
67
- }, a.size === "lg" && {
68
- width: "var(--Avatar-size, 3rem)",
69
- height: "var(--Avatar-size, 3rem)",
70
- fontSize: "calc(var(--Avatar-size, 3rem) * 0.375)"
71
- // default as 18px
72
- }, {
73
- marginInlineStart: "var(--Avatar-marginInlineStart)",
74
- boxShadow: "var(--Avatar-ring)",
75
- position: "relative",
76
- display: "flex",
77
- alignItems: "center",
78
- justifyContent: "center",
79
- flexShrink: 0,
80
- lineHeight: 1,
81
- overflow: "hidden",
82
- borderRadius: "var(--Avatar-radius, 50%)",
83
- userSelect: "none"
84
- }, (t = r.variants[a.variant]) == null ? void 0 : t[a.color]);
85
- }), K = p("img", {
86
- name: "JoyAvatar",
87
- slot: "Img",
88
- overridesResolver: (r, a) => a.img
89
- })({
90
- width: "100%",
91
- height: "100%",
92
- textAlign: "center",
93
- // Handle non-square image. The property isn't supported by IE11.
94
- objectFit: "cover",
95
- // Hide alt text.
96
- color: "transparent",
97
- // Hide the image broken icon, only works on Chrome.
98
- textIndent: 1e4
99
- }), Q = p(D, {
100
- name: "JoyAvatar",
101
- slot: "Fallback",
102
- overridesResolver: (r, a) => a.fallback
103
- })({
104
- width: "64%",
105
- height: "64%"
106
- });
107
- function V({
108
- crossOrigin: r,
109
- referrerPolicy: a,
110
- src: t,
111
- srcSet: e
112
- }) {
113
- const [o, s] = v.useState(!1);
114
- return v.useEffect(() => {
115
- if (!t && !e)
116
- return;
117
- s(!1);
118
- let n = !0;
119
- const i = new Image();
120
- return i.onload = () => {
121
- n && s("loaded");
122
- }, i.onerror = () => {
123
- n && s("error");
124
- }, i.crossOrigin = r, i.referrerPolicy = a, t && (i.src = t), e && (i.srcset = e), () => {
125
- n = !1;
126
- };
127
- }, [r, a, t, e]), o;
128
- }
129
- const ra = /* @__PURE__ */ v.forwardRef(function(a, t) {
130
- const e = T({
131
- props: a,
132
- name: "JoyAvatar"
133
- }), o = v.useContext(H), {
134
- alt: s,
135
- color: n = "neutral",
136
- size: i = "md",
137
- variant: I = "soft",
138
- src: g,
139
- srcSet: u,
140
- children: x,
141
- component: S,
142
- slots: b = {},
143
- slotProps: C = {}
144
- } = e, P = U(e, O), k = a.variant || (o == null ? void 0 : o.variant) || I, R = a.color || (o == null ? void 0 : o.color) || n, j = a.size || (o == null ? void 0 : o.size) || i;
145
- let c = null;
146
- const m = l({}, e, {
147
- color: R,
148
- size: j,
149
- variant: k,
150
- grouped: !!o
151
- }), A = q(m), f = l({}, P, {
152
- component: S,
153
- slots: b,
154
- slotProps: C
155
- }), [F, G] = z("root", {
156
- ref: t,
157
- className: A.root,
158
- elementType: B,
159
- externalForwardedProps: f,
160
- ownerState: m
161
- }), [N, y] = z("img", {
162
- additionalProps: {
163
- alt: s,
164
- src: g,
165
- srcSet: u
166
- },
167
- className: A.img,
168
- elementType: K,
169
- externalForwardedProps: f,
170
- ownerState: m
171
- }), [$, J] = z("fallback", {
172
- className: A.fallback,
173
- elementType: Q,
174
- externalForwardedProps: f,
175
- ownerState: m
176
- }), _ = V(l({}, y, {
177
- src: g,
178
- srcSet: u
179
- }));
180
- return (g || u) && _ !== "error" ? c = /* @__PURE__ */ d.jsx(N, l({}, y)) : x != null ? c = x : s ? c = s[0] : c = /* @__PURE__ */ d.jsx($, l({}, J)), /* @__PURE__ */ d.jsx(F, l({}, G, {
181
- children: c
182
- }));
183
- });
184
- export {
185
- ra as A
186
- };
@@ -1,129 +0,0 @@
1
- import { F as N, G as O, r as l, v as U, _ as I, w as c, x as $, y, E as k, j as F, z as v, D as J } from "./main-NO9IQFuY.js";
2
- import { i as L, r as T, g as V, h as A } from "./Button-DJj0KOh3.js";
3
- function G(a) {
4
- return N("MuiCard", a);
5
- }
6
- const Y = O("MuiCard", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid", "sizeSm", "sizeMd", "sizeLg", "horizontal", "vertical"]), q = ["className", "color", "component", "invertedColors", "size", "variant", "children", "orientation", "slots", "slotProps"], B = (a) => {
7
- const {
8
- size: r,
9
- variant: i,
10
- color: o,
11
- orientation: s
12
- } = a, d = {
13
- root: ["root", s, i && `variant${v(i)}`, o && `color${v(o)}`, r && `size${v(r)}`]
14
- };
15
- return J(d, G, {});
16
- }, H = y("div")(({
17
- theme: a,
18
- ownerState: r
19
- }) => {
20
- var i;
21
- const {
22
- p: o,
23
- padding: s,
24
- borderRadius: d
25
- } = T({
26
- theme: a,
27
- ownerState: r
28
- }, ["p", "padding", "borderRadius"]);
29
- return [c({
30
- "--Icon-color": r.color !== "neutral" || r.variant === "solid" ? "currentColor" : a.vars.palette.text.icon,
31
- // a context variable for any child component
32
- "--Card-childRadius": "max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))",
33
- // AspectRatio integration
34
- "--AspectRatio-radius": "var(--Card-childRadius)",
35
- // Link integration
36
- "--unstable_actionMargin": "calc(-1 * var(--variant-borderWidth, 0px))",
37
- // Link, Radio, Checkbox integration
38
- "--unstable_actionRadius": "var(--Card-radius)",
39
- // CardCover integration
40
- "--CardCover-radius": "calc(var(--Card-radius) - var(--variant-borderWidth, 0px))",
41
- // CardOverflow integration
42
- "--CardOverflow-offset": "calc(-1 * var(--Card-padding))",
43
- "--CardOverflow-radius": "calc(var(--Card-radius) - var(--variant-borderWidth, 0px))",
44
- // Divider integration
45
- "--Divider-inset": "calc(-1 * var(--Card-padding))"
46
- }, r.size === "sm" && {
47
- "--Card-radius": a.vars.radius.sm,
48
- "--Card-padding": "0.625rem",
49
- gap: "0.5rem"
50
- }, r.size === "md" && {
51
- "--Card-radius": a.vars.radius.md,
52
- "--Card-padding": "1rem",
53
- gap: "0.75rem 1rem"
54
- }, r.size === "lg" && {
55
- "--Card-radius": a.vars.radius.lg,
56
- "--Card-padding": "1.5rem",
57
- gap: "1rem 1.5rem"
58
- }, {
59
- padding: "var(--Card-padding)",
60
- borderRadius: "var(--Card-radius)",
61
- backgroundColor: a.vars.palette.background.surface,
62
- position: "relative",
63
- display: "flex",
64
- flexDirection: r.orientation === "horizontal" ? "row" : "column"
65
- }, a.typography[`body-${r.size}`], r.variant === "solid" && r.color && r.invertedColors && V(r.color)(a), r.variant === "soft" && r.color && r.invertedColors && A(r.color)(a), (i = a.variants[r.variant]) == null ? void 0 : i[r.color]), o !== void 0 && {
66
- "--Card-padding": o
67
- }, s !== void 0 && {
68
- "--Card-padding": s
69
- }, d !== void 0 && {
70
- "--Card-radius": d
71
- }];
72
- }), K = y(H, {
73
- name: "JoyCard",
74
- slot: "Root",
75
- overridesResolver: (a, r) => r.root
76
- })({}), Z = /* @__PURE__ */ l.forwardRef(function(r, i) {
77
- const o = U({
78
- props: r,
79
- name: "JoyCard"
80
- }), {
81
- className: s,
82
- color: d = "neutral",
83
- component: p = "div",
84
- invertedColors: z = !1,
85
- size: b = "md",
86
- variant: R = "outlined",
87
- children: u,
88
- orientation: C = "vertical",
89
- slots: h = {},
90
- slotProps: P = {}
91
- } = o, W = I(o, q), g = c({}, o, {
92
- color: d,
93
- component: p,
94
- orientation: C,
95
- size: b,
96
- variant: R,
97
- invertedColors: z
98
- }), E = B(g), D = c({}, W, {
99
- component: p,
100
- slots: h,
101
- slotProps: P
102
- }), [M, _] = $("root", {
103
- ref: i,
104
- className: k(E.root, s),
105
- elementType: K,
106
- externalForwardedProps: D,
107
- ownerState: g
108
- });
109
- return /* @__PURE__ */ F.jsx(M, c({}, _, {
110
- children: l.Children.map(u, (t, m) => {
111
- if (!/* @__PURE__ */ l.isValidElement(t))
112
- return t;
113
- const n = {};
114
- if (L(t, ["Divider"])) {
115
- var f, x;
116
- const e = t.props;
117
- n.inset = (f = e == null ? void 0 : e.inset) != null ? f : "context";
118
- const j = C === "vertical" ? "horizontal" : "vertical";
119
- n.orientation = (x = e == null ? void 0 : e.orientation) != null ? x : j;
120
- }
121
- return m === 0 && (n["data-first-child"] = ""), m === l.Children.count(u) - 1 && (n["data-last-child"] = ""), /* @__PURE__ */ l.cloneElement(t, n);
122
- })
123
- }));
124
- });
125
- export {
126
- Z as C,
127
- H as S,
128
- Y as c
129
- };
@@ -1,11 +0,0 @@
1
- import { j as o } from "./main-NO9IQFuY.js";
2
- import { c as t } from "./createSvgIcon-cOpRx8M1.js";
3
- const n = t(/* @__PURE__ */ o.jsx("path", {
4
- d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
5
- }), "ChevronLeft"), s = t(/* @__PURE__ */ o.jsx("path", {
6
- d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
7
- }), "ChevronRight");
8
- export {
9
- n as C,
10
- s as a
11
- };