@solostylist/ui-kit 1.0.0

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 (391) hide show
  1. package/README.md +13 -0
  2. package/dist/AppAutocomplete/AppAutocomplete.d.ts +10 -0
  3. package/dist/AppAutocomplete/AppAutocomplete.js +19 -0
  4. package/dist/AppAutocomplete/index.d.ts +1 -0
  5. package/dist/AppAutocomplete/index.js +4 -0
  6. package/dist/AppAutocomplete/package.json +5 -0
  7. package/dist/AppAvatar/AppAvatar.d.ts +7 -0
  8. package/dist/AppAvatar/AppAvatar.js +13 -0
  9. package/dist/AppAvatar/index.d.ts +1 -0
  10. package/dist/AppAvatar/index.js +4 -0
  11. package/dist/AppAvatar/package.json +5 -0
  12. package/dist/AppBox/AppBox.d.ts +7 -0
  13. package/dist/AppBox/AppBox.js +7 -0
  14. package/dist/AppBox/index.d.ts +1 -0
  15. package/dist/AppBox/index.js +4 -0
  16. package/dist/AppBox/package.json +5 -0
  17. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.d.ts +3 -0
  18. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js +6 -0
  19. package/dist/AppBreadcrumbsSeparator/index.d.ts +1 -0
  20. package/dist/AppBreadcrumbsSeparator/index.js +4 -0
  21. package/dist/AppBreadcrumbsSeparator/package.json +5 -0
  22. package/dist/AppButton/AppButton.d.ts +9 -0
  23. package/dist/AppButton/AppButton.js +44 -0
  24. package/dist/AppButton/index.d.ts +1 -0
  25. package/dist/AppButton/index.js +4 -0
  26. package/dist/AppButton/package.json +5 -0
  27. package/dist/AppButtonLink/AppButtonLink.d.ts +16 -0
  28. package/dist/AppButtonLink/AppButtonLink.js +36 -0
  29. package/dist/AppButtonLink/index.d.ts +1 -0
  30. package/dist/AppButtonLink/index.js +4 -0
  31. package/dist/AppButtonLink/package.json +5 -0
  32. package/dist/AppCard/AppCard.d.ts +6 -0
  33. package/dist/AppCard/AppCard.js +6 -0
  34. package/dist/AppCard/index.d.ts +1 -0
  35. package/dist/AppCard/index.js +4 -0
  36. package/dist/AppCard/package.json +5 -0
  37. package/dist/AppCardActions/AppCardActions.d.ts +6 -0
  38. package/dist/AppCardActions/AppCardActions.js +6 -0
  39. package/dist/AppCardActions/index.d.ts +1 -0
  40. package/dist/AppCardActions/index.js +4 -0
  41. package/dist/AppCardActions/package.json +5 -0
  42. package/dist/AppCardContent/AppCardContent.d.ts +6 -0
  43. package/dist/AppCardContent/AppCardContent.js +6 -0
  44. package/dist/AppCardContent/index.d.ts +1 -0
  45. package/dist/AppCardContent/index.js +4 -0
  46. package/dist/AppCardContent/package.json +5 -0
  47. package/dist/AppCardHeader/AppCardHeader.d.ts +10 -0
  48. package/dist/AppCardHeader/AppCardHeader.js +13 -0
  49. package/dist/AppCardHeader/index.d.ts +1 -0
  50. package/dist/AppCardHeader/index.js +4 -0
  51. package/dist/AppCardHeader/package.json +5 -0
  52. package/dist/AppCheckbox/AppCheckbox.d.ts +7 -0
  53. package/dist/AppCheckbox/AppCheckbox.js +16 -0
  54. package/dist/AppCheckbox/index.d.ts +1 -0
  55. package/dist/AppCheckbox/index.js +4 -0
  56. package/dist/AppCheckbox/package.json +5 -0
  57. package/dist/AppChip/AppChip.d.ts +6 -0
  58. package/dist/AppChip/AppChip.js +6 -0
  59. package/dist/AppChip/index.d.ts +1 -0
  60. package/dist/AppChip/index.js +4 -0
  61. package/dist/AppChip/package.json +5 -0
  62. package/dist/AppChips/AppChips.d.ts +7 -0
  63. package/dist/AppChips/AppChips.js +72 -0
  64. package/dist/AppChips/index.d.ts +1 -0
  65. package/dist/AppChips/index.js +4 -0
  66. package/dist/AppChips/package.json +5 -0
  67. package/dist/AppDataTable/AppDataTable.d.ts +29 -0
  68. package/dist/AppDataTable/AppDataTable.js +1178 -0
  69. package/dist/AppDataTable/index.d.ts +2 -0
  70. package/dist/AppDataTable/index.js +4 -0
  71. package/dist/AppDataTable/package.json +5 -0
  72. package/dist/AppDialog/AppDialog.d.ts +15 -0
  73. package/dist/AppDialog/AppDialog.js +31 -0
  74. package/dist/AppDialog/index.d.ts +1 -0
  75. package/dist/AppDialog/index.js +4 -0
  76. package/dist/AppDialog/package.json +5 -0
  77. package/dist/AppDialogConfirm/AppDialogConfirm.d.ts +30 -0
  78. package/dist/AppDialogConfirm/AppDialogConfirm.js +74 -0
  79. package/dist/AppDialogConfirm/index.d.ts +2 -0
  80. package/dist/AppDialogConfirm/index.js +6 -0
  81. package/dist/AppDialogConfirm/package.json +5 -0
  82. package/dist/AppDialogMessage/AppDialogMessage.d.ts +27 -0
  83. package/dist/AppDialogMessage/AppDialogMessage.js +64 -0
  84. package/dist/AppDialogMessage/index.d.ts +2 -0
  85. package/dist/AppDialogMessage/index.js +6 -0
  86. package/dist/AppDialogMessage/package.json +5 -0
  87. package/dist/AppEmpty/AppEmpty.d.ts +5 -0
  88. package/dist/AppEmpty/AppEmpty.js +6 -0
  89. package/dist/AppEmpty/index.d.ts +1 -0
  90. package/dist/AppEmpty/index.js +4 -0
  91. package/dist/AppEmpty/package.json +5 -0
  92. package/dist/AppError/AppError.d.ts +3 -0
  93. package/dist/AppError/AppError.js +18 -0
  94. package/dist/AppError/index.d.ts +1 -0
  95. package/dist/AppError/index.js +4 -0
  96. package/dist/AppError/package.json +5 -0
  97. package/dist/AppFileDropzone/AppFileDropzone.d.ts +20 -0
  98. package/dist/AppFileDropzone/AppFileDropzone.js +166 -0
  99. package/dist/AppFileDropzone/index.d.ts +2 -0
  100. package/dist/AppFileDropzone/index.js +4 -0
  101. package/dist/AppFileDropzone/package.json +5 -0
  102. package/dist/AppFileIcon/AppFileIcon.d.ts +6 -0
  103. package/dist/AppFileIcon/AppFileIcon.js +29 -0
  104. package/dist/AppFileIcon/index.d.ts +1 -0
  105. package/dist/AppFileIcon/index.js +4 -0
  106. package/dist/AppFileIcon/package.json +5 -0
  107. package/dist/AppFormControl/AppFormControl.d.ts +8 -0
  108. package/dist/AppFormControl/AppFormControl.js +10 -0
  109. package/dist/AppFormControl/index.d.ts +1 -0
  110. package/dist/AppFormControl/index.js +4 -0
  111. package/dist/AppFormControl/package.json +5 -0
  112. package/dist/AppGallery/AppGallery.d.ts +6 -0
  113. package/dist/AppGallery/AppGallery.js +1089 -0
  114. package/dist/AppGallery/index.d.ts +1 -0
  115. package/dist/AppGallery/index.js +4 -0
  116. package/dist/AppGallery/package.json +5 -0
  117. package/dist/AppI18nProvider/AppI18nProvider.d.ts +7 -0
  118. package/dist/AppI18nProvider/AppI18nProvider.js +20 -0
  119. package/dist/AppI18nProvider/index.d.ts +1 -0
  120. package/dist/AppI18nProvider/index.js +4 -0
  121. package/dist/AppI18nProvider/package.json +5 -0
  122. package/dist/AppIconButton/AppIconButton.d.ts +8 -0
  123. package/dist/AppIconButton/AppIconButton.js +6 -0
  124. package/dist/AppIconButton/index.d.ts +1 -0
  125. package/dist/AppIconButton/index.js +4 -0
  126. package/dist/AppIconButton/package.json +5 -0
  127. package/dist/AppIcons/AppIcons.d.ts +3 -0
  128. package/dist/AppIcons/AppIcons.js +1081 -0
  129. package/dist/AppIcons/index.d.ts +1 -0
  130. package/dist/AppIcons/index.js +4 -0
  131. package/dist/AppIcons/package.json +5 -0
  132. package/dist/AppLabel/AppLabel.d.ts +11 -0
  133. package/dist/AppLabel/AppLabel.js +21 -0
  134. package/dist/AppLabel/index.d.ts +1 -0
  135. package/dist/AppLabel/index.js +4 -0
  136. package/dist/AppLabel/package.json +5 -0
  137. package/dist/AppLink/AppLink.d.ts +6 -0
  138. package/dist/AppLink/AppLink.js +6 -0
  139. package/dist/AppLink/index.d.ts +1 -0
  140. package/dist/AppLink/index.js +4 -0
  141. package/dist/AppLink/package.json +5 -0
  142. package/dist/AppMultiSelect/AppMultiSelect.d.ts +12 -0
  143. package/dist/AppMultiSelect/AppMultiSelect.js +61 -0
  144. package/dist/AppMultiSelect/index.d.ts +1 -0
  145. package/dist/AppMultiSelect/index.js +4 -0
  146. package/dist/AppMultiSelect/package.json +5 -0
  147. package/dist/AppNoData/AppNoData.d.ts +5 -0
  148. package/dist/AppNoData/AppNoData.js +6 -0
  149. package/dist/AppNoData/index.d.ts +1 -0
  150. package/dist/AppNoData/index.js +4 -0
  151. package/dist/AppNoData/package.json +5 -0
  152. package/dist/AppNoSsr/AppNoSsr.d.ts +8 -0
  153. package/dist/AppNoSsr/AppNoSsr.js +14 -0
  154. package/dist/AppNoSsr/index.d.ts +1 -0
  155. package/dist/AppNoSsr/index.js +4 -0
  156. package/dist/AppNoSsr/package.json +5 -0
  157. package/dist/AppOption/AppOption.d.ts +9 -0
  158. package/dist/AppOption/AppOption.js +6 -0
  159. package/dist/AppOption/index.d.ts +1 -0
  160. package/dist/AppOption/index.js +4 -0
  161. package/dist/AppOption/package.json +5 -0
  162. package/dist/AppOutlinedInput/AppOutlinedInput.d.ts +10 -0
  163. package/dist/AppOutlinedInput/AppOutlinedInput.js +40 -0
  164. package/dist/AppOutlinedInput/index.d.ts +1 -0
  165. package/dist/AppOutlinedInput/index.js +4 -0
  166. package/dist/AppOutlinedInput/package.json +5 -0
  167. package/dist/AppPagination/AppPagination.d.ts +7 -0
  168. package/dist/AppPagination/AppPagination.js +17 -0
  169. package/dist/AppPagination/index.d.ts +1 -0
  170. package/dist/AppPagination/index.js +4 -0
  171. package/dist/AppPagination/package.json +5 -0
  172. package/dist/AppRating/AppRating.d.ts +7 -0
  173. package/dist/AppRating/AppRating.js +7 -0
  174. package/dist/AppRating/index.d.ts +1 -0
  175. package/dist/AppRating/index.js +4 -0
  176. package/dist/AppRating/package.json +5 -0
  177. package/dist/AppSelect/AppSelect.d.ts +14 -0
  178. package/dist/AppSelect/AppSelect.js +82 -0
  179. package/dist/AppSelect/index.d.ts +1 -0
  180. package/dist/AppSelect/index.js +4 -0
  181. package/dist/AppSelect/package.json +5 -0
  182. package/dist/AppSkeleton/AppSkeleton.d.ts +11 -0
  183. package/dist/AppSkeleton/AppSkeleton.js +34 -0
  184. package/dist/AppSkeleton/index.d.ts +1 -0
  185. package/dist/AppSkeleton/index.js +4 -0
  186. package/dist/AppSkeleton/package.json +5 -0
  187. package/dist/AppSnackbarMessage/AppSnackbarMessage.d.ts +23 -0
  188. package/dist/AppSnackbarMessage/AppSnackbarMessage.js +50 -0
  189. package/dist/AppSnackbarMessage/index.d.ts +2 -0
  190. package/dist/AppSnackbarMessage/index.js +6 -0
  191. package/dist/AppSnackbarMessage/package.json +5 -0
  192. package/dist/AppStack/AppStack.d.ts +6 -0
  193. package/dist/AppStack/AppStack.js +6 -0
  194. package/dist/AppStack/index.d.ts +1 -0
  195. package/dist/AppStack/index.js +4 -0
  196. package/dist/AppStack/package.json +5 -0
  197. package/dist/AppTextEditor/AppTextEditor.d.ts +23 -0
  198. package/dist/AppTextEditor/AppTextEditor.js +80 -0
  199. package/dist/AppTextEditor/TextEditorToolbar.d.ts +6 -0
  200. package/dist/AppTextEditor/TextEditorToolbar.js +4479 -0
  201. package/dist/AppTextEditor/index.d.ts +1 -0
  202. package/dist/AppTextEditor/index.js +4 -0
  203. package/dist/AppTextEditor/package.json +5 -0
  204. package/dist/AppTextTruncation/AppTextTruncation.d.ts +6 -0
  205. package/dist/AppTextTruncation/AppTextTruncation.js +15 -0
  206. package/dist/AppTextTruncation/index.d.ts +1 -0
  207. package/dist/AppTextTruncation/index.js +4 -0
  208. package/dist/AppTextTruncation/package.json +5 -0
  209. package/dist/AppThemeProvider/AppThemeProvider.d.ts +9 -0
  210. package/dist/AppThemeProvider/AppThemeProvider.js +141 -0
  211. package/dist/AppThemeProvider/index.d.ts +1 -0
  212. package/dist/AppThemeProvider/index.js +4 -0
  213. package/dist/AppThemeProvider/package.json +5 -0
  214. package/dist/AppTip/AppTip.d.ts +6 -0
  215. package/dist/AppTip/AppTip.js +28 -0
  216. package/dist/AppTip/index.d.ts +1 -0
  217. package/dist/AppTip/index.js +4 -0
  218. package/dist/AppTip/package.json +5 -0
  219. package/dist/Box-yxuKPTCX.js +60 -0
  220. package/dist/ButtonBase-p_uz8ITC.js +989 -0
  221. package/dist/CaretDown-CgrRY9__.js +41 -0
  222. package/dist/DefaultPropsProvider-BV4t9fEW.js +71 -0
  223. package/dist/Lightbulb-1rDyOsPk.js +47 -0
  224. package/dist/Menu-B0R91i07.js +2994 -0
  225. package/dist/MenuItem-BjjYkRmW.js +262 -0
  226. package/dist/SSRBase-B9xq2wUG.js +56 -0
  227. package/dist/Stack-D9qNbbkC.js +198 -0
  228. package/dist/Typography-BYkXNa-U.js +260 -0
  229. package/dist/User-Bx-HYRxI.js +41 -0
  230. package/dist/X-DETrowOy.js +47 -0
  231. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  232. package/dist/assets/AppGallery.css +1 -0
  233. package/dist/assets/AppTextTruncation.css +1 -0
  234. package/dist/backdropClasses-DDhytLTQ.js +9 -0
  235. package/dist/clsx-C-FXfxyk.js +236 -0
  236. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  237. package/dist/createTheme-C97xvI-s.js +2789 -0
  238. package/dist/extendSxProp-CKQgGYDd.js +37 -0
  239. package/dist/generateUtilityClasses-CuEy5gtx.js +41 -0
  240. package/dist/hooks/index.d.ts +2 -0
  241. package/dist/hooks/index.js +6 -0
  242. package/dist/hooks/use-dialog.d.ts +7 -0
  243. package/dist/hooks/use-dialog.js +12 -0
  244. package/dist/hooks/use-popover.d.ts +10 -0
  245. package/dist/hooks/use-popover.js +14 -0
  246. package/dist/index-Btrukby7.js +88 -0
  247. package/dist/inputBaseClasses-s6dljKxi.js +9 -0
  248. package/dist/jsx-runtime-B6kdoens.js +634 -0
  249. package/dist/listItemIconClasses-CTdclC9V.js +5 -0
  250. package/dist/main.d.ts +51 -0
  251. package/dist/main.js +111 -0
  252. package/dist/memoTheme-B2qvAi64.js +404 -0
  253. package/dist/outlinedInputClasses-R7dmh7eW.js +13 -0
  254. package/dist/paperClasses-Bf2rrWVr.js +9 -0
  255. package/dist/styles/theme/color-schemes.d.ts +7 -0
  256. package/dist/styles/theme/color-schemes.js +195 -0
  257. package/dist/styles/theme/colors.d.ts +92 -0
  258. package/dist/styles/theme/colors.js +94 -0
  259. package/dist/styles/theme/components/accordion.d.ts +8 -0
  260. package/dist/styles/theme/components/accordion.js +11 -0
  261. package/dist/styles/theme/components/alert.d.ts +7 -0
  262. package/dist/styles/theme/components/alert.js +4 -0
  263. package/dist/styles/theme/components/autocomplete.d.ts +124 -0
  264. package/dist/styles/theme/components/autocomplete.js +51 -0
  265. package/dist/styles/theme/components/avatar.d.ts +18 -0
  266. package/dist/styles/theme/components/avatar.js +21 -0
  267. package/dist/styles/theme/components/backdrop.d.ts +9 -0
  268. package/dist/styles/theme/components/backdrop.js +9 -0
  269. package/dist/styles/theme/components/button-base.d.ts +5 -0
  270. package/dist/styles/theme/components/button-base.js +4 -0
  271. package/dist/styles/theme/components/button-group.d.ts +5 -0
  272. package/dist/styles/theme/components/button-group.js +4 -0
  273. package/dist/styles/theme/components/button.d.ts +180 -0
  274. package/dist/styles/theme/components/button.js +109 -0
  275. package/dist/styles/theme/components/card-actions.d.ts +7 -0
  276. package/dist/styles/theme/components/card-actions.js +6 -0
  277. package/dist/styles/theme/components/card-content.d.ts +10 -0
  278. package/dist/styles/theme/components/card-content.js +7 -0
  279. package/dist/styles/theme/components/card-header.d.ts +25 -0
  280. package/dist/styles/theme/components/card-header.js +20 -0
  281. package/dist/styles/theme/components/card.d.ts +979 -0
  282. package/dist/styles/theme/components/card.js +17 -0
  283. package/dist/styles/theme/components/checkbox.d.ts +18 -0
  284. package/dist/styles/theme/components/checkbox.js +60 -0
  285. package/dist/styles/theme/components/chip.d.ts +1092 -0
  286. package/dist/styles/theme/components/chip.js +106 -0
  287. package/dist/styles/theme/components/components.d.ts +3206 -0
  288. package/dist/styles/theme/components/components.js +115 -0
  289. package/dist/styles/theme/components/dialog-actions.d.ts +7 -0
  290. package/dist/styles/theme/components/dialog-actions.js +6 -0
  291. package/dist/styles/theme/components/dialog-content-text.d.ts +8 -0
  292. package/dist/styles/theme/components/dialog-content-text.js +6 -0
  293. package/dist/styles/theme/components/dialog-content.d.ts +8 -0
  294. package/dist/styles/theme/components/dialog-content.js +6 -0
  295. package/dist/styles/theme/components/dialog-title.d.ts +7 -0
  296. package/dist/styles/theme/components/dialog-title.js +6 -0
  297. package/dist/styles/theme/components/filled-input.d.ts +31 -0
  298. package/dist/styles/theme/components/filled-input.js +21 -0
  299. package/dist/styles/theme/components/form-control-label.d.ts +15 -0
  300. package/dist/styles/theme/components/form-control-label.js +7 -0
  301. package/dist/styles/theme/components/form-group.d.ts +7 -0
  302. package/dist/styles/theme/components/form-group.js +4 -0
  303. package/dist/styles/theme/components/form-helper-text.d.ts +8 -0
  304. package/dist/styles/theme/components/form-helper-text.js +8 -0
  305. package/dist/styles/theme/components/form-label.d.ts +12 -0
  306. package/dist/styles/theme/components/form-label.js +9 -0
  307. package/dist/styles/theme/components/icon-button.d.ts +83 -0
  308. package/dist/styles/theme/components/icon-button.js +49 -0
  309. package/dist/styles/theme/components/input-base.d.ts +39 -0
  310. package/dist/styles/theme/components/input-base.js +34 -0
  311. package/dist/styles/theme/components/input-label.d.ts +10 -0
  312. package/dist/styles/theme/components/input-label.js +6 -0
  313. package/dist/styles/theme/components/input.d.ts +32 -0
  314. package/dist/styles/theme/components/input.js +22 -0
  315. package/dist/styles/theme/components/linear-progress.d.ts +8 -0
  316. package/dist/styles/theme/components/linear-progress.js +6 -0
  317. package/dist/styles/theme/components/link.d.ts +10 -0
  318. package/dist/styles/theme/components/link.js +11 -0
  319. package/dist/styles/theme/components/list-item-avatar.d.ts +7 -0
  320. package/dist/styles/theme/components/list-item-avatar.js +6 -0
  321. package/dist/styles/theme/components/list-item-button.d.ts +10 -0
  322. package/dist/styles/theme/components/list-item-button.js +7 -0
  323. package/dist/styles/theme/components/list-item-icon.d.ts +9 -0
  324. package/dist/styles/theme/components/list-item-icon.js +6 -0
  325. package/dist/styles/theme/components/list-item-text.d.ts +7 -0
  326. package/dist/styles/theme/components/list-item-text.js +6 -0
  327. package/dist/styles/theme/components/list-item.d.ts +7 -0
  328. package/dist/styles/theme/components/list-item.js +6 -0
  329. package/dist/styles/theme/components/list.d.ts +7 -0
  330. package/dist/styles/theme/components/list.js +6 -0
  331. package/dist/styles/theme/components/menu-item.d.ts +17 -0
  332. package/dist/styles/theme/components/menu-item.js +17 -0
  333. package/dist/styles/theme/components/menu.d.ts +13 -0
  334. package/dist/styles/theme/components/menu.js +7 -0
  335. package/dist/styles/theme/components/outlined-input.d.ts +127 -0
  336. package/dist/styles/theme/components/outlined-input.js +47 -0
  337. package/dist/styles/theme/components/paper.d.ts +7 -0
  338. package/dist/styles/theme/components/paper.js +6 -0
  339. package/dist/styles/theme/components/popover.d.ts +11 -0
  340. package/dist/styles/theme/components/popover.js +7 -0
  341. package/dist/styles/theme/components/radio.d.ts +13 -0
  342. package/dist/styles/theme/components/radio.js +25 -0
  343. package/dist/styles/theme/components/select.d.ts +21 -0
  344. package/dist/styles/theme/components/select.js +18 -0
  345. package/dist/styles/theme/components/skeleton.d.ts +5 -0
  346. package/dist/styles/theme/components/skeleton.js +8 -0
  347. package/dist/styles/theme/components/stack.d.ts +5 -0
  348. package/dist/styles/theme/components/stack.js +4 -0
  349. package/dist/styles/theme/components/switch.d.ts +19 -0
  350. package/dist/styles/theme/components/switch.js +11 -0
  351. package/dist/styles/theme/components/tab.d.ts +18 -0
  352. package/dist/styles/theme/components/tab.js +15 -0
  353. package/dist/styles/theme/components/table-body.d.ts +5 -0
  354. package/dist/styles/theme/components/table-body.js +10 -0
  355. package/dist/styles/theme/components/table-cell.d.ts +10 -0
  356. package/dist/styles/theme/components/table-cell.js +11 -0
  357. package/dist/styles/theme/components/table-head.d.ts +11 -0
  358. package/dist/styles/theme/components/table-head.js +15 -0
  359. package/dist/styles/theme/components/table-pagination.d.ts +28 -0
  360. package/dist/styles/theme/components/table-pagination.js +93 -0
  361. package/dist/styles/theme/components/tabs.d.ts +33 -0
  362. package/dist/styles/theme/components/tabs.js +20 -0
  363. package/dist/styles/theme/components/timeline-connector.d.ts +7 -0
  364. package/dist/styles/theme/components/timeline-connector.js +6 -0
  365. package/dist/styles/theme/components/toggle-button-group.d.ts +23 -0
  366. package/dist/styles/theme/components/toggle-button-group.js +17 -0
  367. package/dist/styles/theme/components/toggle-button.d.ts +12 -0
  368. package/dist/styles/theme/components/toggle-button.js +9 -0
  369. package/dist/styles/theme/components/tooltip.d.ts +10 -0
  370. package/dist/styles/theme/components/tooltip.js +7 -0
  371. package/dist/styles/theme/create-theme.d.ts +8 -0
  372. package/dist/styles/theme/create-theme.js +22 -0
  373. package/dist/styles/theme/index.d.ts +1 -0
  374. package/dist/styles/theme/index.js +4 -0
  375. package/dist/styles/theme/shadows.d.ts +4 -0
  376. package/dist/styles/theme/shadows.js +59 -0
  377. package/dist/styles/theme/typography.d.ts +68 -0
  378. package/dist/styles/theme/typography.js +31 -0
  379. package/dist/tableCellClasses-BIg5orIQ.js +9 -0
  380. package/dist/useControlled-CYUofcJ9.js +287 -0
  381. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  382. package/dist/useTheme-DYc4rgBb.js +17 -0
  383. package/dist/utils/bytes-to-size.d.ts +1 -0
  384. package/dist/utils/bytes-to-size.js +9 -0
  385. package/dist/utils/dayjs.d.ts +3 -0
  386. package/dist/utils/dayjs.js +108 -0
  387. package/dist/utils/index.d.ts +3 -0
  388. package/dist/utils/index.js +13 -0
  389. package/dist/utils/logger.d.ts +26 -0
  390. package/dist/utils/logger.js +51 -0
  391. package/package.json +108 -0
@@ -0,0 +1,2994 @@
1
+ import * as p from "react";
2
+ import he from "react";
3
+ import { s as W, c as ie, m as at, b as ct, r as kt } from "./memoTheme-B2qvAi64.js";
4
+ import { P as e, T as Dt, j as ze, n as We } from "./createTheme-C97xvI-s.js";
5
+ import { c as z } from "./clsx-C-FXfxyk.js";
6
+ import { j } from "./jsx-runtime-B6kdoens.js";
7
+ import { g as Oe, a as we } from "./generateUtilityClasses-CuEy5gtx.js";
8
+ import { _ as It, a as jt, T as lt, c as Se, b as Lt, u as Q, r as Ft, e as At } from "./ButtonBase-p_uz8ITC.js";
9
+ import { unstable_getScrollbarSize as _t, unstable_ownerWindow as ye, unstable_ownerDocument as re, unstable_useForkRef as Ve, unstable_getReactElementRef as ut, elementAcceptingRef as $t, exactProp as pt, unstable_useEnhancedEffect as Ge, unstable_setRef as Xe, HTMLElementType as Vt, unstable_useEventCallback as Ye, unstable_createChainedFunction as Ze } from "@mui/utils";
10
+ import { g as Ut } from "./backdropClasses-DDhytLTQ.js";
11
+ import { d as Ht, u as ae } from "./DefaultPropsProvider-BV4t9fEW.js";
12
+ import { u as qt } from "./useTheme-DYc4rgBb.js";
13
+ import * as Kt from "react-dom";
14
+ import be from "react-dom";
15
+ import { g as Bt } from "./paperClasses-Bf2rrWVr.js";
16
+ import { u as zt } from "./useEnhancedEffect-CJGo-L3B.js";
17
+ import { L as Wt } from "./MenuItem-BjjYkRmW.js";
18
+ const Gt = /* @__PURE__ */ p.createContext();
19
+ process.env.NODE_ENV !== "production" && (e.node, e.bool);
20
+ const Xt = () => p.useContext(Gt) ?? !1;
21
+ function Ue() {
22
+ const t = qt(Ht);
23
+ return process.env.NODE_ENV !== "production" && p.useDebugValue(t), t[Dt] || t;
24
+ }
25
+ const Je = {
26
+ disabled: !1
27
+ };
28
+ var Yt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
29
+ enter: e.number,
30
+ exit: e.number,
31
+ appear: e.number
32
+ }).isRequired]) : null;
33
+ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
34
+ enter: e.string,
35
+ exit: e.string,
36
+ active: e.string
37
+ }), e.shape({
38
+ enter: e.string,
39
+ enterDone: e.string,
40
+ enterActive: e.string,
41
+ exit: e.string,
42
+ exitDone: e.string,
43
+ exitActive: e.string
44
+ })]);
45
+ var Zt = function(n) {
46
+ return n.scrollTop;
47
+ }, de = "unmounted", Z = "exited", J = "entering", oe = "entered", Fe = "exiting", G = /* @__PURE__ */ function(t) {
48
+ It(n, t);
49
+ function n(r, i) {
50
+ var s;
51
+ s = t.call(this, r, i) || this;
52
+ var a = i, c = a && !a.isMounting ? r.enter : r.appear, l;
53
+ return s.appearStatus = null, r.in ? c ? (l = Z, s.appearStatus = J) : l = oe : r.unmountOnExit || r.mountOnEnter ? l = de : l = Z, s.state = {
54
+ status: l
55
+ }, s.nextCallback = null, s;
56
+ }
57
+ n.getDerivedStateFromProps = function(i, s) {
58
+ var a = i.in;
59
+ return a && s.status === de ? {
60
+ status: Z
61
+ } : null;
62
+ };
63
+ var o = n.prototype;
64
+ return o.componentDidMount = function() {
65
+ this.updateStatus(!0, this.appearStatus);
66
+ }, o.componentDidUpdate = function(i) {
67
+ var s = null;
68
+ if (i !== this.props) {
69
+ var a = this.state.status;
70
+ this.props.in ? a !== J && a !== oe && (s = J) : (a === J || a === oe) && (s = Fe);
71
+ }
72
+ this.updateStatus(!1, s);
73
+ }, o.componentWillUnmount = function() {
74
+ this.cancelNextCallback();
75
+ }, o.getTimeouts = function() {
76
+ var i = this.props.timeout, s, a, c;
77
+ return s = a = c = i, i != null && typeof i != "number" && (s = i.exit, a = i.enter, c = i.appear !== void 0 ? i.appear : a), {
78
+ exit: s,
79
+ enter: a,
80
+ appear: c
81
+ };
82
+ }, o.updateStatus = function(i, s) {
83
+ if (i === void 0 && (i = !1), s !== null)
84
+ if (this.cancelNextCallback(), s === J) {
85
+ if (this.props.unmountOnExit || this.props.mountOnEnter) {
86
+ var a = this.props.nodeRef ? this.props.nodeRef.current : be.findDOMNode(this);
87
+ a && Zt(a);
88
+ }
89
+ this.performEnter(i);
90
+ } else
91
+ this.performExit();
92
+ else this.props.unmountOnExit && this.state.status === Z && this.setState({
93
+ status: de
94
+ });
95
+ }, o.performEnter = function(i) {
96
+ var s = this, a = this.props.enter, c = this.context ? this.context.isMounting : i, l = this.props.nodeRef ? [c] : [be.findDOMNode(this), c], d = l[0], g = l[1], y = this.getTimeouts(), x = c ? y.appear : y.enter;
97
+ if (!i && !a || Je.disabled) {
98
+ this.safeSetState({
99
+ status: oe
100
+ }, function() {
101
+ s.props.onEntered(d);
102
+ });
103
+ return;
104
+ }
105
+ this.props.onEnter(d, g), this.safeSetState({
106
+ status: J
107
+ }, function() {
108
+ s.props.onEntering(d, g), s.onTransitionEnd(x, function() {
109
+ s.safeSetState({
110
+ status: oe
111
+ }, function() {
112
+ s.props.onEntered(d, g);
113
+ });
114
+ });
115
+ });
116
+ }, o.performExit = function() {
117
+ var i = this, s = this.props.exit, a = this.getTimeouts(), c = this.props.nodeRef ? void 0 : be.findDOMNode(this);
118
+ if (!s || Je.disabled) {
119
+ this.safeSetState({
120
+ status: Z
121
+ }, function() {
122
+ i.props.onExited(c);
123
+ });
124
+ return;
125
+ }
126
+ this.props.onExit(c), this.safeSetState({
127
+ status: Fe
128
+ }, function() {
129
+ i.props.onExiting(c), i.onTransitionEnd(a.exit, function() {
130
+ i.safeSetState({
131
+ status: Z
132
+ }, function() {
133
+ i.props.onExited(c);
134
+ });
135
+ });
136
+ });
137
+ }, o.cancelNextCallback = function() {
138
+ this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
139
+ }, o.safeSetState = function(i, s) {
140
+ s = this.setNextCallback(s), this.setState(i, s);
141
+ }, o.setNextCallback = function(i) {
142
+ var s = this, a = !0;
143
+ return this.nextCallback = function(c) {
144
+ a && (a = !1, s.nextCallback = null, i(c));
145
+ }, this.nextCallback.cancel = function() {
146
+ a = !1;
147
+ }, this.nextCallback;
148
+ }, o.onTransitionEnd = function(i, s) {
149
+ this.setNextCallback(s);
150
+ var a = this.props.nodeRef ? this.props.nodeRef.current : be.findDOMNode(this), c = i == null && !this.props.addEndListener;
151
+ if (!a || c) {
152
+ setTimeout(this.nextCallback, 0);
153
+ return;
154
+ }
155
+ if (this.props.addEndListener) {
156
+ var l = this.props.nodeRef ? [this.nextCallback] : [a, this.nextCallback], d = l[0], g = l[1];
157
+ this.props.addEndListener(d, g);
158
+ }
159
+ i != null && setTimeout(this.nextCallback, i);
160
+ }, o.render = function() {
161
+ var i = this.state.status;
162
+ if (i === de)
163
+ return null;
164
+ var s = this.props, a = s.children;
165
+ s.in, s.mountOnEnter, s.unmountOnExit, s.appear, s.enter, s.exit, s.timeout, s.addEndListener, s.onEnter, s.onEntering, s.onEntered, s.onExit, s.onExiting, s.onExited, s.nodeRef;
166
+ var c = jt(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
167
+ return (
168
+ // allows for nested Transitions
169
+ /* @__PURE__ */ he.createElement(lt.Provider, {
170
+ value: null
171
+ }, typeof a == "function" ? a(i, c) : he.cloneElement(he.Children.only(a), c))
172
+ );
173
+ }, n;
174
+ }(he.Component);
175
+ G.contextType = lt;
176
+ G.propTypes = process.env.NODE_ENV !== "production" ? {
177
+ /**
178
+ * A React reference to DOM element that need to transition:
179
+ * https://stackoverflow.com/a/51127130/4671932
180
+ *
181
+ * - When `nodeRef` prop is used, `node` is not passed to callback functions
182
+ * (e.g. `onEnter`) because user already has direct access to the node.
183
+ * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
184
+ * `nodeRef` need to be provided to `Transition` with changed `key` prop
185
+ * (see
186
+ * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
187
+ */
188
+ nodeRef: e.shape({
189
+ current: typeof Element > "u" ? e.any : function(t, n, o, r, i, s) {
190
+ var a = t[n];
191
+ return e.instanceOf(a && "ownerDocument" in a ? a.ownerDocument.defaultView.Element : Element)(t, n, o, r, i, s);
192
+ }
193
+ }),
194
+ /**
195
+ * A `function` child can be used instead of a React element. This function is
196
+ * called with the current transition status (`'entering'`, `'entered'`,
197
+ * `'exiting'`, `'exited'`), which can be used to apply context
198
+ * specific props to a component.
199
+ *
200
+ * ```jsx
201
+ * <Transition in={this.state.in} timeout={150}>
202
+ * {state => (
203
+ * <MyComponent className={`fade fade-${state}`} />
204
+ * )}
205
+ * </Transition>
206
+ * ```
207
+ */
208
+ children: e.oneOfType([e.func.isRequired, e.element.isRequired]).isRequired,
209
+ /**
210
+ * Show the component; triggers the enter or exit states
211
+ */
212
+ in: e.bool,
213
+ /**
214
+ * By default the child component is mounted immediately along with
215
+ * the parent `Transition` component. If you want to "lazy mount" the component on the
216
+ * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
217
+ * mounted, even on "exited", unless you also specify `unmountOnExit`.
218
+ */
219
+ mountOnEnter: e.bool,
220
+ /**
221
+ * By default the child component stays mounted after it reaches the `'exited'` state.
222
+ * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
223
+ */
224
+ unmountOnExit: e.bool,
225
+ /**
226
+ * By default the child component does not perform the enter transition when
227
+ * it first mounts, regardless of the value of `in`. If you want this
228
+ * behavior, set both `appear` and `in` to `true`.
229
+ *
230
+ * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
231
+ * > only adds an additional enter transition. However, in the
232
+ * > `<CSSTransition>` component that first enter transition does result in
233
+ * > additional `.appear-*` classes, that way you can choose to style it
234
+ * > differently.
235
+ */
236
+ appear: e.bool,
237
+ /**
238
+ * Enable or disable enter transitions.
239
+ */
240
+ enter: e.bool,
241
+ /**
242
+ * Enable or disable exit transitions.
243
+ */
244
+ exit: e.bool,
245
+ /**
246
+ * The duration of the transition, in milliseconds.
247
+ * Required unless `addEndListener` is provided.
248
+ *
249
+ * You may specify a single timeout for all transitions:
250
+ *
251
+ * ```jsx
252
+ * timeout={500}
253
+ * ```
254
+ *
255
+ * or individually:
256
+ *
257
+ * ```jsx
258
+ * timeout={{
259
+ * appear: 500,
260
+ * enter: 300,
261
+ * exit: 500,
262
+ * }}
263
+ * ```
264
+ *
265
+ * - `appear` defaults to the value of `enter`
266
+ * - `enter` defaults to `0`
267
+ * - `exit` defaults to `0`
268
+ *
269
+ * @type {number | { enter?: number, exit?: number, appear?: number }}
270
+ */
271
+ timeout: function(n) {
272
+ var o = Yt;
273
+ n.addEndListener || (o = o.isRequired);
274
+ for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
275
+ i[s - 1] = arguments[s];
276
+ return o.apply(void 0, [n].concat(i));
277
+ },
278
+ /**
279
+ * Add a custom transition end trigger. Called with the transitioning
280
+ * DOM node and a `done` callback. Allows for more fine grained transition end
281
+ * logic. Timeouts are still used as a fallback if provided.
282
+ *
283
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
284
+ *
285
+ * ```jsx
286
+ * addEndListener={(node, done) => {
287
+ * // use the css transitionend event to mark the finish of a transition
288
+ * node.addEventListener('transitionend', done, false);
289
+ * }}
290
+ * ```
291
+ */
292
+ addEndListener: e.func,
293
+ /**
294
+ * Callback fired before the "entering" status is applied. An extra parameter
295
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
296
+ *
297
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
298
+ *
299
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
300
+ */
301
+ onEnter: e.func,
302
+ /**
303
+ * Callback fired after the "entering" status is applied. An extra parameter
304
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
305
+ *
306
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
307
+ *
308
+ * @type Function(node: HtmlElement, isAppearing: bool)
309
+ */
310
+ onEntering: e.func,
311
+ /**
312
+ * Callback fired after the "entered" status is applied. An extra parameter
313
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
314
+ *
315
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
316
+ *
317
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
318
+ */
319
+ onEntered: e.func,
320
+ /**
321
+ * Callback fired before the "exiting" status is applied.
322
+ *
323
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
324
+ *
325
+ * @type Function(node: HtmlElement) -> void
326
+ */
327
+ onExit: e.func,
328
+ /**
329
+ * Callback fired after the "exiting" status is applied.
330
+ *
331
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
332
+ *
333
+ * @type Function(node: HtmlElement) -> void
334
+ */
335
+ onExiting: e.func,
336
+ /**
337
+ * Callback fired after the "exited" status is applied.
338
+ *
339
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed
340
+ *
341
+ * @type Function(node: HtmlElement) -> void
342
+ */
343
+ onExited: e.func
344
+ } : {};
345
+ function ne() {
346
+ }
347
+ G.defaultProps = {
348
+ in: !1,
349
+ mountOnEnter: !1,
350
+ unmountOnExit: !1,
351
+ appear: !1,
352
+ enter: !0,
353
+ exit: !0,
354
+ onEnter: ne,
355
+ onEntering: ne,
356
+ onEntered: ne,
357
+ onExit: ne,
358
+ onExiting: ne,
359
+ onExited: ne
360
+ };
361
+ G.UNMOUNTED = de;
362
+ G.EXITED = Z;
363
+ G.ENTERING = J;
364
+ G.ENTERED = oe;
365
+ G.EXITING = Fe;
366
+ function Jt(t) {
367
+ return typeof t == "string";
368
+ }
369
+ function ve(t, n, o, r, i) {
370
+ if (process.env.NODE_ENV === "production")
371
+ return null;
372
+ const s = t[n], a = i || n;
373
+ return s == null ? null : s && s.nodeType !== 1 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an HTMLElement.`) : null;
374
+ }
375
+ function Qt(t) {
376
+ const n = typeof t;
377
+ switch (n) {
378
+ case "number":
379
+ return Number.isNaN(t) ? "NaN" : Number.isFinite(t) ? t !== Math.floor(t) ? "float" : "number" : "Infinity";
380
+ case "object":
381
+ return t === null ? "null" : t.constructor.name;
382
+ default:
383
+ return n;
384
+ }
385
+ }
386
+ function dt(t, n, o, r) {
387
+ const i = t[n];
388
+ if (i == null || !Number.isInteger(i)) {
389
+ const s = Qt(i);
390
+ return new RangeError(`Invalid ${r} \`${n}\` of type \`${s}\` supplied to \`${o}\`, expected \`integer\`.`);
391
+ }
392
+ return null;
393
+ }
394
+ function ft(t, n, ...o) {
395
+ return t[n] === void 0 ? null : dt(t, n, ...o);
396
+ }
397
+ function Ae() {
398
+ return null;
399
+ }
400
+ ft.isRequired = dt;
401
+ Ae.isRequired = Ae;
402
+ const mt = process.env.NODE_ENV === "production" ? Ae : ft;
403
+ function en(t, n = 166) {
404
+ let o;
405
+ function r(...i) {
406
+ const s = () => {
407
+ t.apply(this, i);
408
+ };
409
+ clearTimeout(o), o = setTimeout(s, n);
410
+ }
411
+ return r.clear = () => {
412
+ clearTimeout(o);
413
+ }, r;
414
+ }
415
+ function Te(t) {
416
+ return t && t.ownerDocument || document;
417
+ }
418
+ function _e(t) {
419
+ return Te(t).defaultView || window;
420
+ }
421
+ function tn(t) {
422
+ const {
423
+ prototype: n = {}
424
+ } = t;
425
+ return !!n.isReactComponent;
426
+ }
427
+ function ht(t, n, o, r, i) {
428
+ const s = t[n], a = i || n;
429
+ if (s == null || // When server-side rendering React doesn't warn either.
430
+ // This is not an accurate check for SSR.
431
+ // This is only in place for Emotion compat.
432
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
433
+ typeof window > "u")
434
+ return null;
435
+ let c;
436
+ const l = s.type;
437
+ return typeof l == "function" && !tn(l) && (c = "Did you accidentally use a plain function component for an element instead?"), c !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
438
+ }
439
+ const Ce = Se(e.element, ht);
440
+ Ce.isRequired = Se(e.element.isRequired, ht);
441
+ function bt(t) {
442
+ var n;
443
+ return parseInt(p.version, 10) >= 19 ? ((n = t == null ? void 0 : t.props) == null ? void 0 : n.ref) || null : (t == null ? void 0 : t.ref) || null;
444
+ }
445
+ const Et = (t) => t.scrollTop;
446
+ function xe(t, n) {
447
+ const {
448
+ timeout: o,
449
+ easing: r,
450
+ style: i = {}
451
+ } = t;
452
+ return {
453
+ duration: i.transitionDuration ?? (typeof o == "number" ? o : o[n.mode] || 0),
454
+ easing: i.transitionTimingFunction ?? (typeof r == "object" ? r[n.mode] : r),
455
+ delay: i.transitionDelay
456
+ };
457
+ }
458
+ function $e(t) {
459
+ return `scale(${t}, ${t ** 2})`;
460
+ }
461
+ const nn = {
462
+ entering: {
463
+ opacity: 1,
464
+ transform: $e(1)
465
+ },
466
+ entered: {
467
+ opacity: 1,
468
+ transform: "none"
469
+ }
470
+ }, Ie = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), Re = /* @__PURE__ */ p.forwardRef(function(n, o) {
471
+ const {
472
+ addEndListener: r,
473
+ appear: i = !0,
474
+ children: s,
475
+ easing: a,
476
+ in: c,
477
+ onEnter: l,
478
+ onEntered: d,
479
+ onEntering: g,
480
+ onExit: y,
481
+ onExited: x,
482
+ onExiting: f,
483
+ style: b,
484
+ timeout: N = "auto",
485
+ // eslint-disable-next-line react/prop-types
486
+ TransitionComponent: w = G,
487
+ ...T
488
+ } = n, S = Lt(), u = p.useRef(), h = Ue(), v = p.useRef(null), O = Q(v, bt(s), o), R = (m) => (E) => {
489
+ if (m) {
490
+ const k = v.current;
491
+ E === void 0 ? m(k) : m(k, E);
492
+ }
493
+ }, P = R(g), C = R((m, E) => {
494
+ Et(m);
495
+ const {
496
+ duration: k,
497
+ delay: _,
498
+ easing: U
499
+ } = xe({
500
+ style: b,
501
+ timeout: N,
502
+ easing: a
503
+ }, {
504
+ mode: "enter"
505
+ });
506
+ let B;
507
+ N === "auto" ? (B = h.transitions.getAutoHeightDuration(m.clientHeight), u.current = B) : B = k, m.style.transition = [h.transitions.create("opacity", {
508
+ duration: B,
509
+ delay: _
510
+ }), h.transitions.create("transform", {
511
+ duration: Ie ? B : B * 0.666,
512
+ delay: _,
513
+ easing: U
514
+ })].join(","), l && l(m, E);
515
+ }), F = R(d), A = R(f), $ = R((m) => {
516
+ const {
517
+ duration: E,
518
+ delay: k,
519
+ easing: _
520
+ } = xe({
521
+ style: b,
522
+ timeout: N,
523
+ easing: a
524
+ }, {
525
+ mode: "exit"
526
+ });
527
+ let U;
528
+ N === "auto" ? (U = h.transitions.getAutoHeightDuration(m.clientHeight), u.current = U) : U = E, m.style.transition = [h.transitions.create("opacity", {
529
+ duration: U,
530
+ delay: k
531
+ }), h.transitions.create("transform", {
532
+ duration: Ie ? U : U * 0.666,
533
+ delay: Ie ? k : k || U * 0.333,
534
+ easing: _
535
+ })].join(","), m.style.opacity = 0, m.style.transform = $e(0.75), y && y(m);
536
+ }), V = R(x), M = (m) => {
537
+ N === "auto" && S.start(u.current || 0, m), r && r(v.current, m);
538
+ };
539
+ return /* @__PURE__ */ j.jsx(w, {
540
+ appear: i,
541
+ in: c,
542
+ nodeRef: v,
543
+ onEnter: C,
544
+ onEntered: F,
545
+ onEntering: P,
546
+ onExit: $,
547
+ onExited: V,
548
+ onExiting: A,
549
+ addEndListener: M,
550
+ timeout: N === "auto" ? null : N,
551
+ ...T,
552
+ children: (m, E) => /* @__PURE__ */ p.cloneElement(s, {
553
+ style: {
554
+ opacity: 0,
555
+ transform: $e(0.75),
556
+ visibility: m === "exited" && !c ? "hidden" : void 0,
557
+ ...nn[m],
558
+ ...b,
559
+ ...s.props.style
560
+ },
561
+ ref: O,
562
+ ...E
563
+ })
564
+ });
565
+ });
566
+ process.env.NODE_ENV !== "production" && (Re.propTypes = {
567
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
568
+ // │ These PropTypes are generated from the TypeScript type definitions. │
569
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
570
+ // └─────────────────────────────────────────────────────────────────────┘
571
+ /**
572
+ * Add a custom transition end trigger. Called with the transitioning DOM
573
+ * node and a done callback. Allows for more fine grained transition end
574
+ * logic. Note: Timeouts are still used as a fallback if provided.
575
+ */
576
+ addEndListener: e.func,
577
+ /**
578
+ * Perform the enter transition when it first mounts if `in` is also `true`.
579
+ * Set this to `false` to disable this behavior.
580
+ * @default true
581
+ */
582
+ appear: e.bool,
583
+ /**
584
+ * A single child content element.
585
+ */
586
+ children: Ce.isRequired,
587
+ /**
588
+ * The transition timing function.
589
+ * You may specify a single easing or a object containing enter and exit values.
590
+ */
591
+ easing: e.oneOfType([e.shape({
592
+ enter: e.string,
593
+ exit: e.string
594
+ }), e.string]),
595
+ /**
596
+ * If `true`, the component will transition in.
597
+ */
598
+ in: e.bool,
599
+ /**
600
+ * @ignore
601
+ */
602
+ onEnter: e.func,
603
+ /**
604
+ * @ignore
605
+ */
606
+ onEntered: e.func,
607
+ /**
608
+ * @ignore
609
+ */
610
+ onEntering: e.func,
611
+ /**
612
+ * @ignore
613
+ */
614
+ onExit: e.func,
615
+ /**
616
+ * @ignore
617
+ */
618
+ onExited: e.func,
619
+ /**
620
+ * @ignore
621
+ */
622
+ onExiting: e.func,
623
+ /**
624
+ * @ignore
625
+ */
626
+ style: e.object,
627
+ /**
628
+ * The duration for the transition, in milliseconds.
629
+ * You may specify a single timeout for all transitions, or individually with an object.
630
+ *
631
+ * Set to 'auto' to automatically calculate transition time based on height.
632
+ * @default 'auto'
633
+ */
634
+ timeout: e.oneOfType([e.oneOf(["auto"]), e.number, e.shape({
635
+ appear: e.number,
636
+ enter: e.number,
637
+ exit: e.number
638
+ })])
639
+ });
640
+ Re && (Re.muiSupportAuto = !0);
641
+ function on(t) {
642
+ const n = re(t);
643
+ return n.body === t ? ye(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
644
+ }
645
+ function fe(t, n) {
646
+ n ? t.setAttribute("aria-hidden", "true") : t.removeAttribute("aria-hidden");
647
+ }
648
+ function Qe(t) {
649
+ return parseInt(ye(t).getComputedStyle(t).paddingRight, 10) || 0;
650
+ }
651
+ function rn(t) {
652
+ const o = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(t.tagName), r = t.tagName === "INPUT" && t.getAttribute("type") === "hidden";
653
+ return o || r;
654
+ }
655
+ function et(t, n, o, r, i) {
656
+ const s = [n, o, ...r];
657
+ [].forEach.call(t.children, (a) => {
658
+ const c = !s.includes(a), l = !rn(a);
659
+ c && l && fe(a, i);
660
+ });
661
+ }
662
+ function je(t, n) {
663
+ let o = -1;
664
+ return t.some((r, i) => n(r) ? (o = i, !0) : !1), o;
665
+ }
666
+ function sn(t, n) {
667
+ const o = [], r = t.container;
668
+ if (!n.disableScrollLock) {
669
+ if (on(r)) {
670
+ const a = _t(ye(r));
671
+ o.push({
672
+ value: r.style.paddingRight,
673
+ property: "padding-right",
674
+ el: r
675
+ }), r.style.paddingRight = `${Qe(r) + a}px`;
676
+ const c = re(r).querySelectorAll(".mui-fixed");
677
+ [].forEach.call(c, (l) => {
678
+ o.push({
679
+ value: l.style.paddingRight,
680
+ property: "padding-right",
681
+ el: l
682
+ }), l.style.paddingRight = `${Qe(l) + a}px`;
683
+ });
684
+ }
685
+ let s;
686
+ if (r.parentNode instanceof DocumentFragment)
687
+ s = re(r).body;
688
+ else {
689
+ const a = r.parentElement, c = ye(r);
690
+ s = (a == null ? void 0 : a.nodeName) === "HTML" && c.getComputedStyle(a).overflowY === "scroll" ? a : r;
691
+ }
692
+ o.push({
693
+ value: s.style.overflow,
694
+ property: "overflow",
695
+ el: s
696
+ }, {
697
+ value: s.style.overflowX,
698
+ property: "overflow-x",
699
+ el: s
700
+ }, {
701
+ value: s.style.overflowY,
702
+ property: "overflow-y",
703
+ el: s
704
+ }), s.style.overflow = "hidden";
705
+ }
706
+ return () => {
707
+ o.forEach(({
708
+ value: s,
709
+ el: a,
710
+ property: c
711
+ }) => {
712
+ s ? a.style.setProperty(c, s) : a.style.removeProperty(c);
713
+ });
714
+ };
715
+ }
716
+ function an(t) {
717
+ const n = [];
718
+ return [].forEach.call(t.children, (o) => {
719
+ o.getAttribute("aria-hidden") === "true" && n.push(o);
720
+ }), n;
721
+ }
722
+ class cn {
723
+ constructor() {
724
+ this.modals = [], this.containers = [];
725
+ }
726
+ add(n, o) {
727
+ let r = this.modals.indexOf(n);
728
+ if (r !== -1)
729
+ return r;
730
+ r = this.modals.length, this.modals.push(n), n.modalRef && fe(n.modalRef, !1);
731
+ const i = an(o);
732
+ et(o, n.mount, n.modalRef, i, !0);
733
+ const s = je(this.containers, (a) => a.container === o);
734
+ return s !== -1 ? (this.containers[s].modals.push(n), r) : (this.containers.push({
735
+ modals: [n],
736
+ container: o,
737
+ restore: null,
738
+ hiddenSiblings: i
739
+ }), r);
740
+ }
741
+ mount(n, o) {
742
+ const r = je(this.containers, (s) => s.modals.includes(n)), i = this.containers[r];
743
+ i.restore || (i.restore = sn(i, o));
744
+ }
745
+ remove(n, o = !0) {
746
+ const r = this.modals.indexOf(n);
747
+ if (r === -1)
748
+ return r;
749
+ const i = je(this.containers, (a) => a.modals.includes(n)), s = this.containers[i];
750
+ if (s.modals.splice(s.modals.indexOf(n), 1), this.modals.splice(r, 1), s.modals.length === 0)
751
+ s.restore && s.restore(), n.modalRef && fe(n.modalRef, o), et(s.container, n.mount, n.modalRef, s.hiddenSiblings, !1), this.containers.splice(i, 1);
752
+ else {
753
+ const a = s.modals[s.modals.length - 1];
754
+ a.modalRef && fe(a.modalRef, !1);
755
+ }
756
+ return r;
757
+ }
758
+ isTopModal(n) {
759
+ return this.modals.length > 0 && this.modals[this.modals.length - 1] === n;
760
+ }
761
+ }
762
+ const ln = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
763
+ function un(t) {
764
+ const n = parseInt(t.getAttribute("tabindex") || "", 10);
765
+ return Number.isNaN(n) ? t.contentEditable === "true" || (t.nodeName === "AUDIO" || t.nodeName === "VIDEO" || t.nodeName === "DETAILS") && t.getAttribute("tabindex") === null ? 0 : t.tabIndex : n;
766
+ }
767
+ function pn(t) {
768
+ if (t.tagName !== "INPUT" || t.type !== "radio" || !t.name)
769
+ return !1;
770
+ const n = (r) => t.ownerDocument.querySelector(`input[type="radio"]${r}`);
771
+ let o = n(`[name="${t.name}"]:checked`);
772
+ return o || (o = n(`[name="${t.name}"]`)), o !== t;
773
+ }
774
+ function dn(t) {
775
+ return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || pn(t));
776
+ }
777
+ function fn(t) {
778
+ const n = [], o = [];
779
+ return Array.from(t.querySelectorAll(ln)).forEach((r, i) => {
780
+ const s = un(r);
781
+ s === -1 || !dn(r) || (s === 0 ? n.push(r) : o.push({
782
+ documentOrder: i,
783
+ tabIndex: s,
784
+ node: r
785
+ }));
786
+ }), o.sort((r, i) => r.tabIndex === i.tabIndex ? r.documentOrder - i.documentOrder : r.tabIndex - i.tabIndex).map((r) => r.node).concat(n);
787
+ }
788
+ function mn() {
789
+ return !0;
790
+ }
791
+ function Pe(t) {
792
+ const {
793
+ children: n,
794
+ disableAutoFocus: o = !1,
795
+ disableEnforceFocus: r = !1,
796
+ disableRestoreFocus: i = !1,
797
+ getTabbable: s = fn,
798
+ isEnabled: a = mn,
799
+ open: c
800
+ } = t, l = p.useRef(!1), d = p.useRef(null), g = p.useRef(null), y = p.useRef(null), x = p.useRef(null), f = p.useRef(!1), b = p.useRef(null), N = Ve(ut(n), b), w = p.useRef(null);
801
+ p.useEffect(() => {
802
+ !c || !b.current || (f.current = !o);
803
+ }, [o, c]), p.useEffect(() => {
804
+ if (!c || !b.current)
805
+ return;
806
+ const u = re(b.current);
807
+ return b.current.contains(u.activeElement) || (b.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
808
+ `)), b.current.setAttribute("tabIndex", "-1")), f.current && b.current.focus()), () => {
809
+ i || (y.current && y.current.focus && (l.current = !0, y.current.focus()), y.current = null);
810
+ };
811
+ }, [c]), p.useEffect(() => {
812
+ if (!c || !b.current)
813
+ return;
814
+ const u = re(b.current), h = (R) => {
815
+ w.current = R, !(r || !a() || R.key !== "Tab") && u.activeElement === b.current && R.shiftKey && (l.current = !0, g.current && g.current.focus());
816
+ }, v = () => {
817
+ var C, F;
818
+ const R = b.current;
819
+ if (R === null)
820
+ return;
821
+ if (!u.hasFocus() || !a() || l.current) {
822
+ l.current = !1;
823
+ return;
824
+ }
825
+ if (R.contains(u.activeElement) || r && u.activeElement !== d.current && u.activeElement !== g.current)
826
+ return;
827
+ if (u.activeElement !== x.current)
828
+ x.current = null;
829
+ else if (x.current !== null)
830
+ return;
831
+ if (!f.current)
832
+ return;
833
+ let P = [];
834
+ if ((u.activeElement === d.current || u.activeElement === g.current) && (P = s(b.current)), P.length > 0) {
835
+ const A = !!((C = w.current) != null && C.shiftKey && ((F = w.current) == null ? void 0 : F.key) === "Tab"), $ = P[0], V = P[P.length - 1];
836
+ typeof $ != "string" && typeof V != "string" && (A ? V.focus() : $.focus());
837
+ } else
838
+ R.focus();
839
+ };
840
+ u.addEventListener("focusin", v), u.addEventListener("keydown", h, !0);
841
+ const O = setInterval(() => {
842
+ u.activeElement && u.activeElement.tagName === "BODY" && v();
843
+ }, 50);
844
+ return () => {
845
+ clearInterval(O), u.removeEventListener("focusin", v), u.removeEventListener("keydown", h, !0);
846
+ };
847
+ }, [o, r, i, a, c, s]);
848
+ const T = (u) => {
849
+ y.current === null && (y.current = u.relatedTarget), f.current = !0, x.current = u.target;
850
+ const h = n.props.onFocus;
851
+ h && h(u);
852
+ }, S = (u) => {
853
+ y.current === null && (y.current = u.relatedTarget), f.current = !0;
854
+ };
855
+ return /* @__PURE__ */ j.jsxs(p.Fragment, {
856
+ children: [/* @__PURE__ */ j.jsx("div", {
857
+ tabIndex: c ? 0 : -1,
858
+ onFocus: S,
859
+ ref: d,
860
+ "data-testid": "sentinelStart"
861
+ }), /* @__PURE__ */ p.cloneElement(n, {
862
+ ref: N,
863
+ onFocus: T
864
+ }), /* @__PURE__ */ j.jsx("div", {
865
+ tabIndex: c ? 0 : -1,
866
+ onFocus: S,
867
+ ref: g,
868
+ "data-testid": "sentinelEnd"
869
+ })]
870
+ });
871
+ }
872
+ process.env.NODE_ENV !== "production" && (Pe.propTypes = {
873
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
874
+ // │ These PropTypes are generated from the TypeScript type definitions. │
875
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
876
+ // └─────────────────────────────────────────────────────────────────────┘
877
+ /**
878
+ * A single child content element.
879
+ */
880
+ children: $t,
881
+ /**
882
+ * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
883
+ * replace it to the last focused element when it closes.
884
+ * This also works correctly with any focus trap children that have the `disableAutoFocus` prop.
885
+ *
886
+ * Generally this should never be set to `true` as it makes the focus trap less
887
+ * accessible to assistive technologies, like screen readers.
888
+ * @default false
889
+ */
890
+ disableAutoFocus: e.bool,
891
+ /**
892
+ * If `true`, the focus trap will not prevent focus from leaving the focus trap while open.
893
+ *
894
+ * Generally this should never be set to `true` as it makes the focus trap less
895
+ * accessible to assistive technologies, like screen readers.
896
+ * @default false
897
+ */
898
+ disableEnforceFocus: e.bool,
899
+ /**
900
+ * If `true`, the focus trap will not restore focus to previously focused element once
901
+ * focus trap is hidden or unmounted.
902
+ * @default false
903
+ */
904
+ disableRestoreFocus: e.bool,
905
+ /**
906
+ * Returns an array of ordered tabbable nodes (i.e. in tab order) within the root.
907
+ * For instance, you can provide the "tabbable" npm dependency.
908
+ * @param {HTMLElement} root
909
+ */
910
+ getTabbable: e.func,
911
+ /**
912
+ * This prop extends the `open` prop.
913
+ * It allows to toggle the open state without having to wait for a rerender when changing the `open` prop.
914
+ * This prop should be memoized.
915
+ * It can be used to support multiple focus trap mounted at the same time.
916
+ * @default function defaultIsEnabled(): boolean {
917
+ * return true;
918
+ * }
919
+ */
920
+ isEnabled: e.func,
921
+ /**
922
+ * If `true`, focus is locked.
923
+ */
924
+ open: e.bool.isRequired
925
+ });
926
+ process.env.NODE_ENV !== "production" && (Pe.propTypes = pt(Pe.propTypes));
927
+ function hn(t) {
928
+ return typeof t == "function" ? t() : t;
929
+ }
930
+ const Ne = /* @__PURE__ */ p.forwardRef(function(n, o) {
931
+ const {
932
+ children: r,
933
+ container: i,
934
+ disablePortal: s = !1
935
+ } = n, [a, c] = p.useState(null), l = Ve(/* @__PURE__ */ p.isValidElement(r) ? ut(r) : null, o);
936
+ if (Ge(() => {
937
+ s || c(hn(i) || document.body);
938
+ }, [i, s]), Ge(() => {
939
+ if (a && !s)
940
+ return Xe(o, a), () => {
941
+ Xe(o, null);
942
+ };
943
+ }, [o, a, s]), s) {
944
+ if (/* @__PURE__ */ p.isValidElement(r)) {
945
+ const d = {
946
+ ref: l
947
+ };
948
+ return /* @__PURE__ */ p.cloneElement(r, d);
949
+ }
950
+ return /* @__PURE__ */ j.jsx(p.Fragment, {
951
+ children: r
952
+ });
953
+ }
954
+ return /* @__PURE__ */ j.jsx(p.Fragment, {
955
+ children: a && /* @__PURE__ */ Kt.createPortal(r, a)
956
+ });
957
+ });
958
+ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
959
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
960
+ // │ These PropTypes are generated from the TypeScript type definitions. │
961
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
962
+ // └─────────────────────────────────────────────────────────────────────┘
963
+ /**
964
+ * The children to render into the `container`.
965
+ */
966
+ children: e.node,
967
+ /**
968
+ * An HTML element or function that returns one.
969
+ * The `container` will have the portal children appended to it.
970
+ *
971
+ * You can also provide a callback, which is called in a React layout effect.
972
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
973
+ *
974
+ * By default, it uses the body of the top-level document object,
975
+ * so it's simply `document.body` most of the time.
976
+ */
977
+ container: e.oneOfType([Vt, e.func]),
978
+ /**
979
+ * The `children` will be under the DOM hierarchy of the parent component.
980
+ * @default false
981
+ */
982
+ disablePortal: e.bool
983
+ });
984
+ process.env.NODE_ENV !== "production" && (Ne.propTypes = pt(Ne.propTypes));
985
+ function bn(t) {
986
+ return typeof t == "string";
987
+ }
988
+ function gt(t, n, o) {
989
+ return t === void 0 || bn(t) ? n : {
990
+ ...n,
991
+ ownerState: {
992
+ ...n.ownerState,
993
+ ...o
994
+ }
995
+ };
996
+ }
997
+ function yt(t, n, o) {
998
+ return typeof t == "function" ? t(n, o) : t;
999
+ }
1000
+ function vt(t, n = []) {
1001
+ if (t === void 0)
1002
+ return {};
1003
+ const o = {};
1004
+ return Object.keys(t).filter((r) => r.match(/^on[A-Z]/) && typeof t[r] == "function" && !n.includes(r)).forEach((r) => {
1005
+ o[r] = t[r];
1006
+ }), o;
1007
+ }
1008
+ function tt(t) {
1009
+ if (t === void 0)
1010
+ return {};
1011
+ const n = {};
1012
+ return Object.keys(t).filter((o) => !(o.match(/^on[A-Z]/) && typeof t[o] == "function")).forEach((o) => {
1013
+ n[o] = t[o];
1014
+ }), n;
1015
+ }
1016
+ function Tt(t) {
1017
+ const {
1018
+ getSlotProps: n,
1019
+ additionalProps: o,
1020
+ externalSlotProps: r,
1021
+ externalForwardedProps: i,
1022
+ className: s
1023
+ } = t;
1024
+ if (!n) {
1025
+ const f = z(o == null ? void 0 : o.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), b = {
1026
+ ...o == null ? void 0 : o.style,
1027
+ ...i == null ? void 0 : i.style,
1028
+ ...r == null ? void 0 : r.style
1029
+ }, N = {
1030
+ ...o,
1031
+ ...i,
1032
+ ...r
1033
+ };
1034
+ return f.length > 0 && (N.className = f), Object.keys(b).length > 0 && (N.style = b), {
1035
+ props: N,
1036
+ internalRef: void 0
1037
+ };
1038
+ }
1039
+ const a = vt({
1040
+ ...i,
1041
+ ...r
1042
+ }), c = tt(r), l = tt(i), d = n(a), g = z(d == null ? void 0 : d.className, o == null ? void 0 : o.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), y = {
1043
+ ...d == null ? void 0 : d.style,
1044
+ ...o == null ? void 0 : o.style,
1045
+ ...i == null ? void 0 : i.style,
1046
+ ...r == null ? void 0 : r.style
1047
+ }, x = {
1048
+ ...d,
1049
+ ...o,
1050
+ ...l,
1051
+ ...c
1052
+ };
1053
+ return g.length > 0 && (x.className = g), Object.keys(y).length > 0 && (x.style = y), {
1054
+ props: x,
1055
+ internalRef: d.ref
1056
+ };
1057
+ }
1058
+ function se(t, n) {
1059
+ const {
1060
+ className: o,
1061
+ elementType: r,
1062
+ ownerState: i,
1063
+ externalForwardedProps: s,
1064
+ getSlotOwnerState: a,
1065
+ internalForwardedProps: c,
1066
+ ...l
1067
+ } = n, {
1068
+ component: d,
1069
+ slots: g = {
1070
+ [t]: void 0
1071
+ },
1072
+ slotProps: y = {
1073
+ [t]: void 0
1074
+ },
1075
+ ...x
1076
+ } = s, f = g[t] || r, b = yt(y[t], i), {
1077
+ props: {
1078
+ component: N,
1079
+ ...w
1080
+ },
1081
+ internalRef: T
1082
+ } = Tt({
1083
+ className: o,
1084
+ ...l,
1085
+ externalForwardedProps: t === "root" ? x : void 0,
1086
+ externalSlotProps: b
1087
+ }), S = Q(T, b == null ? void 0 : b.ref, n.ref), u = a ? a(w) : {}, h = {
1088
+ ...i,
1089
+ ...u
1090
+ }, v = t === "root" ? N || d : N, O = gt(f, {
1091
+ ...t === "root" && !d && !g[t] && c,
1092
+ ...t !== "root" && !g[t] && c,
1093
+ ...w,
1094
+ ...v && {
1095
+ as: v
1096
+ },
1097
+ ref: S
1098
+ }, h);
1099
+ return Object.keys(u).forEach((R) => {
1100
+ delete O[R];
1101
+ }), [f, O];
1102
+ }
1103
+ const En = {
1104
+ entering: {
1105
+ opacity: 1
1106
+ },
1107
+ entered: {
1108
+ opacity: 1
1109
+ }
1110
+ }, xt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1111
+ const r = Ue(), i = {
1112
+ enter: r.transitions.duration.enteringScreen,
1113
+ exit: r.transitions.duration.leavingScreen
1114
+ }, {
1115
+ addEndListener: s,
1116
+ appear: a = !0,
1117
+ children: c,
1118
+ easing: l,
1119
+ in: d,
1120
+ onEnter: g,
1121
+ onEntered: y,
1122
+ onEntering: x,
1123
+ onExit: f,
1124
+ onExited: b,
1125
+ onExiting: N,
1126
+ style: w,
1127
+ timeout: T = i,
1128
+ // eslint-disable-next-line react/prop-types
1129
+ TransitionComponent: S = G,
1130
+ ...u
1131
+ } = n, h = p.useRef(null), v = Q(h, bt(c), o), O = (M) => (m) => {
1132
+ if (M) {
1133
+ const E = h.current;
1134
+ m === void 0 ? M(E) : M(E, m);
1135
+ }
1136
+ }, R = O(x), P = O((M, m) => {
1137
+ Et(M);
1138
+ const E = xe({
1139
+ style: w,
1140
+ timeout: T,
1141
+ easing: l
1142
+ }, {
1143
+ mode: "enter"
1144
+ });
1145
+ M.style.webkitTransition = r.transitions.create("opacity", E), M.style.transition = r.transitions.create("opacity", E), g && g(M, m);
1146
+ }), C = O(y), F = O(N), A = O((M) => {
1147
+ const m = xe({
1148
+ style: w,
1149
+ timeout: T,
1150
+ easing: l
1151
+ }, {
1152
+ mode: "exit"
1153
+ });
1154
+ M.style.webkitTransition = r.transitions.create("opacity", m), M.style.transition = r.transitions.create("opacity", m), f && f(M);
1155
+ }), $ = O(b), V = (M) => {
1156
+ s && s(h.current, M);
1157
+ };
1158
+ return /* @__PURE__ */ j.jsx(S, {
1159
+ appear: a,
1160
+ in: d,
1161
+ nodeRef: h,
1162
+ onEnter: P,
1163
+ onEntered: C,
1164
+ onEntering: R,
1165
+ onExit: A,
1166
+ onExited: $,
1167
+ onExiting: F,
1168
+ addEndListener: V,
1169
+ timeout: T,
1170
+ ...u,
1171
+ children: (M, m) => /* @__PURE__ */ p.cloneElement(c, {
1172
+ style: {
1173
+ opacity: 0,
1174
+ visibility: M === "exited" && !d ? "hidden" : void 0,
1175
+ ...En[M],
1176
+ ...w,
1177
+ ...c.props.style
1178
+ },
1179
+ ref: v,
1180
+ ...m
1181
+ })
1182
+ });
1183
+ });
1184
+ process.env.NODE_ENV !== "production" && (xt.propTypes = {
1185
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1186
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1187
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1188
+ // └─────────────────────────────────────────────────────────────────────┘
1189
+ /**
1190
+ * Add a custom transition end trigger. Called with the transitioning DOM
1191
+ * node and a done callback. Allows for more fine grained transition end
1192
+ * logic. Note: Timeouts are still used as a fallback if provided.
1193
+ */
1194
+ addEndListener: e.func,
1195
+ /**
1196
+ * Perform the enter transition when it first mounts if `in` is also `true`.
1197
+ * Set this to `false` to disable this behavior.
1198
+ * @default true
1199
+ */
1200
+ appear: e.bool,
1201
+ /**
1202
+ * A single child content element.
1203
+ */
1204
+ children: Ce.isRequired,
1205
+ /**
1206
+ * The transition timing function.
1207
+ * You may specify a single easing or a object containing enter and exit values.
1208
+ */
1209
+ easing: e.oneOfType([e.shape({
1210
+ enter: e.string,
1211
+ exit: e.string
1212
+ }), e.string]),
1213
+ /**
1214
+ * If `true`, the component will transition in.
1215
+ */
1216
+ in: e.bool,
1217
+ /**
1218
+ * @ignore
1219
+ */
1220
+ onEnter: e.func,
1221
+ /**
1222
+ * @ignore
1223
+ */
1224
+ onEntered: e.func,
1225
+ /**
1226
+ * @ignore
1227
+ */
1228
+ onEntering: e.func,
1229
+ /**
1230
+ * @ignore
1231
+ */
1232
+ onExit: e.func,
1233
+ /**
1234
+ * @ignore
1235
+ */
1236
+ onExited: e.func,
1237
+ /**
1238
+ * @ignore
1239
+ */
1240
+ onExiting: e.func,
1241
+ /**
1242
+ * @ignore
1243
+ */
1244
+ style: e.object,
1245
+ /**
1246
+ * The duration for the transition, in milliseconds.
1247
+ * You may specify a single timeout for all transitions, or individually with an object.
1248
+ * @default {
1249
+ * enter: theme.transitions.duration.enteringScreen,
1250
+ * exit: theme.transitions.duration.leavingScreen,
1251
+ * }
1252
+ */
1253
+ timeout: e.oneOfType([e.number, e.shape({
1254
+ appear: e.number,
1255
+ enter: e.number,
1256
+ exit: e.number
1257
+ })])
1258
+ });
1259
+ const gn = (t) => {
1260
+ const {
1261
+ ownerState: n,
1262
+ ...o
1263
+ } = t;
1264
+ return o;
1265
+ }, yn = (t) => {
1266
+ const {
1267
+ classes: n,
1268
+ invisible: o
1269
+ } = t;
1270
+ return ie({
1271
+ root: ["root", o && "invisible"]
1272
+ }, Ut, n);
1273
+ }, vn = W("div", {
1274
+ name: "MuiBackdrop",
1275
+ slot: "Root",
1276
+ overridesResolver: (t, n) => {
1277
+ const {
1278
+ ownerState: o
1279
+ } = t;
1280
+ return [n.root, o.invisible && n.invisible];
1281
+ }
1282
+ })({
1283
+ position: "fixed",
1284
+ display: "flex",
1285
+ alignItems: "center",
1286
+ justifyContent: "center",
1287
+ right: 0,
1288
+ bottom: 0,
1289
+ top: 0,
1290
+ left: 0,
1291
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
1292
+ WebkitTapHighlightColor: "transparent",
1293
+ variants: [{
1294
+ props: {
1295
+ invisible: !0
1296
+ },
1297
+ style: {
1298
+ backgroundColor: "transparent"
1299
+ }
1300
+ }]
1301
+ }), Rt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1302
+ const r = ae({
1303
+ props: n,
1304
+ name: "MuiBackdrop"
1305
+ }), {
1306
+ children: i,
1307
+ className: s,
1308
+ component: a = "div",
1309
+ invisible: c = !1,
1310
+ open: l,
1311
+ components: d = {},
1312
+ componentsProps: g = {},
1313
+ slotProps: y = {},
1314
+ slots: x = {},
1315
+ TransitionComponent: f,
1316
+ transitionDuration: b,
1317
+ ...N
1318
+ } = r, w = {
1319
+ ...r,
1320
+ component: a,
1321
+ invisible: c
1322
+ }, T = yn(w), S = {
1323
+ transition: f,
1324
+ root: d.Root,
1325
+ ...x
1326
+ }, u = {
1327
+ ...g,
1328
+ ...y
1329
+ }, h = {
1330
+ slots: S,
1331
+ slotProps: u
1332
+ }, [v, O] = se("root", {
1333
+ elementType: vn,
1334
+ externalForwardedProps: h,
1335
+ className: z(T.root, s),
1336
+ ownerState: w
1337
+ }), [R, P] = se("transition", {
1338
+ elementType: xt,
1339
+ externalForwardedProps: h,
1340
+ ownerState: w
1341
+ }), C = gn(P);
1342
+ return /* @__PURE__ */ j.jsx(R, {
1343
+ in: l,
1344
+ timeout: b,
1345
+ ...N,
1346
+ ...C,
1347
+ children: /* @__PURE__ */ j.jsx(v, {
1348
+ "aria-hidden": !0,
1349
+ ...O,
1350
+ classes: T,
1351
+ ref: o,
1352
+ children: i
1353
+ })
1354
+ });
1355
+ });
1356
+ process.env.NODE_ENV !== "production" && (Rt.propTypes = {
1357
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1358
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1359
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1360
+ // └─────────────────────────────────────────────────────────────────────┘
1361
+ /**
1362
+ * The content of the component.
1363
+ */
1364
+ children: e.node,
1365
+ /**
1366
+ * Override or extend the styles applied to the component.
1367
+ */
1368
+ classes: e.object,
1369
+ /**
1370
+ * @ignore
1371
+ */
1372
+ className: e.string,
1373
+ /**
1374
+ * The component used for the root node.
1375
+ * Either a string to use a HTML element or a component.
1376
+ */
1377
+ component: e.elementType,
1378
+ /**
1379
+ * The components used for each slot inside.
1380
+ *
1381
+ * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1382
+ *
1383
+ * @default {}
1384
+ */
1385
+ components: e.shape({
1386
+ Root: e.elementType
1387
+ }),
1388
+ /**
1389
+ * The extra props for the slot components.
1390
+ * You can override the existing props or add new ones.
1391
+ *
1392
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1393
+ *
1394
+ * @default {}
1395
+ */
1396
+ componentsProps: e.shape({
1397
+ root: e.object
1398
+ }),
1399
+ /**
1400
+ * If `true`, the backdrop is invisible.
1401
+ * It can be used when rendering a popover or a custom select component.
1402
+ * @default false
1403
+ */
1404
+ invisible: e.bool,
1405
+ /**
1406
+ * If `true`, the component is shown.
1407
+ */
1408
+ open: e.bool.isRequired,
1409
+ /**
1410
+ * The props used for each slot inside.
1411
+ * @default {}
1412
+ */
1413
+ slotProps: e.shape({
1414
+ root: e.oneOfType([e.func, e.object]),
1415
+ transition: e.oneOfType([e.func, e.object])
1416
+ }),
1417
+ /**
1418
+ * The components used for each slot inside.
1419
+ * @default {}
1420
+ */
1421
+ slots: e.shape({
1422
+ root: e.elementType,
1423
+ transition: e.elementType
1424
+ }),
1425
+ /**
1426
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1427
+ */
1428
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1429
+ /**
1430
+ * The component used for the transition.
1431
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
1432
+ * @default Fade
1433
+ */
1434
+ TransitionComponent: e.elementType,
1435
+ /**
1436
+ * The duration for the transition, in milliseconds.
1437
+ * You may specify a single timeout for all transitions, or individually with an object.
1438
+ */
1439
+ transitionDuration: e.oneOfType([e.number, e.shape({
1440
+ appear: e.number,
1441
+ enter: e.number,
1442
+ exit: e.number
1443
+ })])
1444
+ });
1445
+ function Tn(t) {
1446
+ return typeof t == "function" ? t() : t;
1447
+ }
1448
+ function xn(t) {
1449
+ return t ? t.props.hasOwnProperty("in") : !1;
1450
+ }
1451
+ const Ee = new cn();
1452
+ function Rn(t) {
1453
+ const {
1454
+ container: n,
1455
+ disableEscapeKeyDown: o = !1,
1456
+ disableScrollLock: r = !1,
1457
+ closeAfterTransition: i = !1,
1458
+ onTransitionEnter: s,
1459
+ onTransitionExited: a,
1460
+ children: c,
1461
+ onClose: l,
1462
+ open: d,
1463
+ rootRef: g
1464
+ } = t, y = p.useRef({}), x = p.useRef(null), f = p.useRef(null), b = Ve(f, g), [N, w] = p.useState(!d), T = xn(c);
1465
+ let S = !0;
1466
+ (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (S = !1);
1467
+ const u = () => re(x.current), h = () => (y.current.modalRef = f.current, y.current.mount = x.current, y.current), v = () => {
1468
+ Ee.mount(h(), {
1469
+ disableScrollLock: r
1470
+ }), f.current && (f.current.scrollTop = 0);
1471
+ }, O = Ye(() => {
1472
+ const m = Tn(n) || u().body;
1473
+ Ee.add(h(), m), f.current && v();
1474
+ }), R = () => Ee.isTopModal(h()), P = Ye((m) => {
1475
+ x.current = m, m && (d && R() ? v() : f.current && fe(f.current, S));
1476
+ }), C = p.useCallback(() => {
1477
+ Ee.remove(h(), S);
1478
+ }, [S]);
1479
+ p.useEffect(() => () => {
1480
+ C();
1481
+ }, [C]), p.useEffect(() => {
1482
+ d ? O() : (!T || !i) && C();
1483
+ }, [d, C, T, i, O]);
1484
+ const F = (m) => (E) => {
1485
+ var k;
1486
+ (k = m.onKeyDown) == null || k.call(m, E), !(E.key !== "Escape" || E.which === 229 || // Wait until IME is settled.
1487
+ !R()) && (o || (E.stopPropagation(), l && l(E, "escapeKeyDown")));
1488
+ }, A = (m) => (E) => {
1489
+ var k;
1490
+ (k = m.onClick) == null || k.call(m, E), E.target === E.currentTarget && l && l(E, "backdropClick");
1491
+ };
1492
+ return {
1493
+ getRootProps: (m = {}) => {
1494
+ const E = vt(t);
1495
+ delete E.onTransitionEnter, delete E.onTransitionExited;
1496
+ const k = {
1497
+ ...E,
1498
+ ...m
1499
+ };
1500
+ return {
1501
+ /*
1502
+ * Marking an element with the role presentation indicates to assistive technology
1503
+ * that this element should be ignored; it exists to support the web application and
1504
+ * is not meant for humans to interact with directly.
1505
+ * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
1506
+ */
1507
+ role: "presentation",
1508
+ ...k,
1509
+ onKeyDown: F(k),
1510
+ ref: b
1511
+ };
1512
+ },
1513
+ getBackdropProps: (m = {}) => {
1514
+ const E = m;
1515
+ return {
1516
+ "aria-hidden": !0,
1517
+ ...E,
1518
+ onClick: A(E),
1519
+ open: d
1520
+ };
1521
+ },
1522
+ getTransitionProps: () => {
1523
+ const m = () => {
1524
+ w(!1), s && s();
1525
+ }, E = () => {
1526
+ w(!0), a && a(), i && C();
1527
+ };
1528
+ return {
1529
+ onEnter: Ze(m, c == null ? void 0 : c.props.onEnter),
1530
+ onExited: Ze(E, c == null ? void 0 : c.props.onExited)
1531
+ };
1532
+ },
1533
+ rootRef: b,
1534
+ portalRef: P,
1535
+ isTopModal: R,
1536
+ exited: N,
1537
+ hasTransition: T
1538
+ };
1539
+ }
1540
+ function Pn(t) {
1541
+ return we("MuiModal", t);
1542
+ }
1543
+ Oe("MuiModal", ["root", "hidden", "backdrop"]);
1544
+ const Nn = (t) => {
1545
+ const {
1546
+ open: n,
1547
+ exited: o,
1548
+ classes: r
1549
+ } = t;
1550
+ return ie({
1551
+ root: ["root", !n && o && "hidden"],
1552
+ backdrop: ["backdrop"]
1553
+ }, Pn, r);
1554
+ }, On = W("div", {
1555
+ name: "MuiModal",
1556
+ slot: "Root",
1557
+ overridesResolver: (t, n) => {
1558
+ const {
1559
+ ownerState: o
1560
+ } = t;
1561
+ return [n.root, !o.open && o.exited && n.hidden];
1562
+ }
1563
+ })(at(({
1564
+ theme: t
1565
+ }) => ({
1566
+ position: "fixed",
1567
+ zIndex: (t.vars || t).zIndex.modal,
1568
+ right: 0,
1569
+ bottom: 0,
1570
+ top: 0,
1571
+ left: 0,
1572
+ variants: [{
1573
+ props: ({
1574
+ ownerState: n
1575
+ }) => !n.open && n.exited,
1576
+ style: {
1577
+ visibility: "hidden"
1578
+ }
1579
+ }]
1580
+ }))), wn = W(Rt, {
1581
+ name: "MuiModal",
1582
+ slot: "Backdrop",
1583
+ overridesResolver: (t, n) => n.backdrop
1584
+ })({
1585
+ zIndex: -1
1586
+ }), Pt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1587
+ const r = ae({
1588
+ name: "MuiModal",
1589
+ props: n
1590
+ }), {
1591
+ BackdropComponent: i = wn,
1592
+ BackdropProps: s,
1593
+ classes: a,
1594
+ className: c,
1595
+ closeAfterTransition: l = !1,
1596
+ children: d,
1597
+ container: g,
1598
+ component: y,
1599
+ components: x = {},
1600
+ componentsProps: f = {},
1601
+ disableAutoFocus: b = !1,
1602
+ disableEnforceFocus: N = !1,
1603
+ disableEscapeKeyDown: w = !1,
1604
+ disablePortal: T = !1,
1605
+ disableRestoreFocus: S = !1,
1606
+ disableScrollLock: u = !1,
1607
+ hideBackdrop: h = !1,
1608
+ keepMounted: v = !1,
1609
+ onBackdropClick: O,
1610
+ onClose: R,
1611
+ onTransitionEnter: P,
1612
+ onTransitionExited: C,
1613
+ open: F,
1614
+ slotProps: A = {},
1615
+ slots: $ = {},
1616
+ // eslint-disable-next-line react/prop-types
1617
+ theme: V,
1618
+ ...M
1619
+ } = r, m = {
1620
+ ...r,
1621
+ closeAfterTransition: l,
1622
+ disableAutoFocus: b,
1623
+ disableEnforceFocus: N,
1624
+ disableEscapeKeyDown: w,
1625
+ disablePortal: T,
1626
+ disableRestoreFocus: S,
1627
+ disableScrollLock: u,
1628
+ hideBackdrop: h,
1629
+ keepMounted: v
1630
+ }, {
1631
+ getRootProps: E,
1632
+ getBackdropProps: k,
1633
+ getTransitionProps: _,
1634
+ portalRef: U,
1635
+ isTopModal: B,
1636
+ exited: ce,
1637
+ hasTransition: me
1638
+ } = Rn({
1639
+ ...m,
1640
+ rootRef: o
1641
+ }), X = {
1642
+ ...m,
1643
+ exited: ce
1644
+ }, q = Nn(X), Y = {};
1645
+ if (d.props.tabIndex === void 0 && (Y.tabIndex = "-1"), me) {
1646
+ const {
1647
+ onEnter: L,
1648
+ onExited: H
1649
+ } = _();
1650
+ Y.onEnter = L, Y.onExited = H;
1651
+ }
1652
+ const le = {
1653
+ ...M,
1654
+ slots: {
1655
+ root: x.Root,
1656
+ backdrop: x.Backdrop,
1657
+ ...$
1658
+ },
1659
+ slotProps: {
1660
+ ...f,
1661
+ ...A
1662
+ }
1663
+ }, [Me, ke] = se("root", {
1664
+ elementType: On,
1665
+ externalForwardedProps: le,
1666
+ getSlotProps: E,
1667
+ additionalProps: {
1668
+ ref: o,
1669
+ as: y
1670
+ },
1671
+ ownerState: X,
1672
+ className: z(c, q == null ? void 0 : q.root, !X.open && X.exited && (q == null ? void 0 : q.hidden))
1673
+ }), [De, D] = se("backdrop", {
1674
+ elementType: i,
1675
+ externalForwardedProps: le,
1676
+ additionalProps: s,
1677
+ getSlotProps: (L) => k({
1678
+ ...L,
1679
+ onClick: (H) => {
1680
+ O && O(H), L != null && L.onClick && L.onClick(H);
1681
+ }
1682
+ }),
1683
+ className: z(s == null ? void 0 : s.className, q == null ? void 0 : q.backdrop),
1684
+ ownerState: X
1685
+ }), I = Q(s == null ? void 0 : s.ref, D.ref);
1686
+ return !v && !F && (!me || ce) ? null : /* @__PURE__ */ j.jsx(Ne, {
1687
+ ref: U,
1688
+ container: g,
1689
+ disablePortal: T,
1690
+ children: /* @__PURE__ */ j.jsxs(Me, {
1691
+ ...ke,
1692
+ children: [!h && i ? /* @__PURE__ */ j.jsx(De, {
1693
+ ...D,
1694
+ ref: I
1695
+ }) : null, /* @__PURE__ */ j.jsx(Pe, {
1696
+ disableEnforceFocus: N,
1697
+ disableAutoFocus: b,
1698
+ disableRestoreFocus: S,
1699
+ isEnabled: B,
1700
+ open: F,
1701
+ children: /* @__PURE__ */ p.cloneElement(d, Y)
1702
+ })]
1703
+ })
1704
+ });
1705
+ });
1706
+ process.env.NODE_ENV !== "production" && (Pt.propTypes = {
1707
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1708
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1709
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1710
+ // └─────────────────────────────────────────────────────────────────────┘
1711
+ /**
1712
+ * A backdrop component. This prop enables custom backdrop rendering.
1713
+ * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
1714
+ * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
1715
+ * @default styled(Backdrop, {
1716
+ * name: 'MuiModal',
1717
+ * slot: 'Backdrop',
1718
+ * overridesResolver: (props, styles) => {
1719
+ * return styles.backdrop;
1720
+ * },
1721
+ * })({
1722
+ * zIndex: -1,
1723
+ * })
1724
+ */
1725
+ BackdropComponent: e.elementType,
1726
+ /**
1727
+ * Props applied to the [`Backdrop`](https://mui.com/material-ui/api/backdrop/) element.
1728
+ * @deprecated Use `slotProps.backdrop` instead.
1729
+ */
1730
+ BackdropProps: e.object,
1731
+ /**
1732
+ * A single child content element.
1733
+ */
1734
+ children: Ce.isRequired,
1735
+ /**
1736
+ * Override or extend the styles applied to the component.
1737
+ */
1738
+ classes: e.object,
1739
+ /**
1740
+ * @ignore
1741
+ */
1742
+ className: e.string,
1743
+ /**
1744
+ * When set to true the Modal waits until a nested Transition is completed before closing.
1745
+ * @default false
1746
+ */
1747
+ closeAfterTransition: e.bool,
1748
+ /**
1749
+ * The component used for the root node.
1750
+ * Either a string to use a HTML element or a component.
1751
+ */
1752
+ component: e.elementType,
1753
+ /**
1754
+ * The components used for each slot inside.
1755
+ *
1756
+ * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1757
+ *
1758
+ * @default {}
1759
+ */
1760
+ components: e.shape({
1761
+ Backdrop: e.elementType,
1762
+ Root: e.elementType
1763
+ }),
1764
+ /**
1765
+ * The extra props for the slot components.
1766
+ * You can override the existing props or add new ones.
1767
+ *
1768
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1769
+ *
1770
+ * @default {}
1771
+ */
1772
+ componentsProps: e.shape({
1773
+ backdrop: e.oneOfType([e.func, e.object]),
1774
+ root: e.oneOfType([e.func, e.object])
1775
+ }),
1776
+ /**
1777
+ * An HTML element or function that returns one.
1778
+ * The `container` will have the portal children appended to it.
1779
+ *
1780
+ * You can also provide a callback, which is called in a React layout effect.
1781
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
1782
+ *
1783
+ * By default, it uses the body of the top-level document object,
1784
+ * so it's simply `document.body` most of the time.
1785
+ */
1786
+ container: e.oneOfType([ve, e.func]),
1787
+ /**
1788
+ * If `true`, the modal will not automatically shift focus to itself when it opens, and
1789
+ * replace it to the last focused element when it closes.
1790
+ * This also works correctly with any modal children that have the `disableAutoFocus` prop.
1791
+ *
1792
+ * Generally this should never be set to `true` as it makes the modal less
1793
+ * accessible to assistive technologies, like screen readers.
1794
+ * @default false
1795
+ */
1796
+ disableAutoFocus: e.bool,
1797
+ /**
1798
+ * If `true`, the modal will not prevent focus from leaving the modal while open.
1799
+ *
1800
+ * Generally this should never be set to `true` as it makes the modal less
1801
+ * accessible to assistive technologies, like screen readers.
1802
+ * @default false
1803
+ */
1804
+ disableEnforceFocus: e.bool,
1805
+ /**
1806
+ * If `true`, hitting escape will not fire the `onClose` callback.
1807
+ * @default false
1808
+ */
1809
+ disableEscapeKeyDown: e.bool,
1810
+ /**
1811
+ * The `children` will be under the DOM hierarchy of the parent component.
1812
+ * @default false
1813
+ */
1814
+ disablePortal: e.bool,
1815
+ /**
1816
+ * If `true`, the modal will not restore focus to previously focused element once
1817
+ * modal is hidden or unmounted.
1818
+ * @default false
1819
+ */
1820
+ disableRestoreFocus: e.bool,
1821
+ /**
1822
+ * Disable the scroll lock behavior.
1823
+ * @default false
1824
+ */
1825
+ disableScrollLock: e.bool,
1826
+ /**
1827
+ * If `true`, the backdrop is not rendered.
1828
+ * @default false
1829
+ */
1830
+ hideBackdrop: e.bool,
1831
+ /**
1832
+ * Always keep the children in the DOM.
1833
+ * This prop can be useful in SEO situation or
1834
+ * when you want to maximize the responsiveness of the Modal.
1835
+ * @default false
1836
+ */
1837
+ keepMounted: e.bool,
1838
+ /**
1839
+ * Callback fired when the backdrop is clicked.
1840
+ * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
1841
+ */
1842
+ onBackdropClick: e.func,
1843
+ /**
1844
+ * Callback fired when the component requests to be closed.
1845
+ * The `reason` parameter can optionally be used to control the response to `onClose`.
1846
+ *
1847
+ * @param {object} event The event source of the callback.
1848
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
1849
+ */
1850
+ onClose: e.func,
1851
+ /**
1852
+ * A function called when a transition enters.
1853
+ */
1854
+ onTransitionEnter: e.func,
1855
+ /**
1856
+ * A function called when a transition has exited.
1857
+ */
1858
+ onTransitionExited: e.func,
1859
+ /**
1860
+ * If `true`, the component is shown.
1861
+ */
1862
+ open: e.bool.isRequired,
1863
+ /**
1864
+ * The props used for each slot inside the Modal.
1865
+ * @default {}
1866
+ */
1867
+ slotProps: e.shape({
1868
+ backdrop: e.oneOfType([e.func, e.object]),
1869
+ root: e.oneOfType([e.func, e.object])
1870
+ }),
1871
+ /**
1872
+ * The components used for each slot inside the Modal.
1873
+ * Either a string to use a HTML element or a component.
1874
+ * @default {}
1875
+ */
1876
+ slots: e.shape({
1877
+ backdrop: e.elementType,
1878
+ root: e.elementType
1879
+ }),
1880
+ /**
1881
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1882
+ */
1883
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
1884
+ });
1885
+ const Sn = (t) => {
1886
+ const {
1887
+ square: n,
1888
+ elevation: o,
1889
+ variant: r,
1890
+ classes: i
1891
+ } = t, s = {
1892
+ root: ["root", r, !n && "rounded", r === "elevation" && `elevation${o}`]
1893
+ };
1894
+ return ie(s, Bt, i);
1895
+ }, Cn = W("div", {
1896
+ name: "MuiPaper",
1897
+ slot: "Root",
1898
+ overridesResolver: (t, n) => {
1899
+ const {
1900
+ ownerState: o
1901
+ } = t;
1902
+ return [n.root, n[o.variant], !o.square && n.rounded, o.variant === "elevation" && n[`elevation${o.elevation}`]];
1903
+ }
1904
+ })(at(({
1905
+ theme: t
1906
+ }) => ({
1907
+ backgroundColor: (t.vars || t).palette.background.paper,
1908
+ color: (t.vars || t).palette.text.primary,
1909
+ transition: t.transitions.create("box-shadow"),
1910
+ variants: [{
1911
+ props: ({
1912
+ ownerState: n
1913
+ }) => !n.square,
1914
+ style: {
1915
+ borderRadius: t.shape.borderRadius
1916
+ }
1917
+ }, {
1918
+ props: {
1919
+ variant: "outlined"
1920
+ },
1921
+ style: {
1922
+ border: `1px solid ${(t.vars || t).palette.divider}`
1923
+ }
1924
+ }, {
1925
+ props: {
1926
+ variant: "elevation"
1927
+ },
1928
+ style: {
1929
+ boxShadow: "var(--Paper-shadow)",
1930
+ backgroundImage: "var(--Paper-overlay)"
1931
+ }
1932
+ }]
1933
+ }))), Nt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1934
+ var f;
1935
+ const r = ae({
1936
+ props: n,
1937
+ name: "MuiPaper"
1938
+ }), i = Ue(), {
1939
+ className: s,
1940
+ component: a = "div",
1941
+ elevation: c = 1,
1942
+ square: l = !1,
1943
+ variant: d = "elevation",
1944
+ ...g
1945
+ } = r, y = {
1946
+ ...r,
1947
+ component: a,
1948
+ elevation: c,
1949
+ square: l,
1950
+ variant: d
1951
+ }, x = Sn(y);
1952
+ return process.env.NODE_ENV !== "production" && i.shadows[c] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${c}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${c}]\` is defined.`].join(`
1953
+ `)), /* @__PURE__ */ j.jsx(Cn, {
1954
+ as: a,
1955
+ ownerState: y,
1956
+ className: z(x.root, s),
1957
+ ref: o,
1958
+ ...g,
1959
+ style: {
1960
+ ...d === "elevation" && {
1961
+ "--Paper-shadow": (i.vars || i).shadows[c],
1962
+ ...i.vars && {
1963
+ "--Paper-overlay": (f = i.vars.overlays) == null ? void 0 : f[c]
1964
+ },
1965
+ ...!i.vars && i.palette.mode === "dark" && {
1966
+ "--Paper-overlay": `linear-gradient(${ze("#fff", We(c))}, ${ze("#fff", We(c))})`
1967
+ }
1968
+ },
1969
+ ...g.style
1970
+ }
1971
+ });
1972
+ });
1973
+ process.env.NODE_ENV !== "production" && (Nt.propTypes = {
1974
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1975
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1976
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1977
+ // └─────────────────────────────────────────────────────────────────────┘
1978
+ /**
1979
+ * The content of the component.
1980
+ */
1981
+ children: e.node,
1982
+ /**
1983
+ * Override or extend the styles applied to the component.
1984
+ */
1985
+ classes: e.object,
1986
+ /**
1987
+ * @ignore
1988
+ */
1989
+ className: e.string,
1990
+ /**
1991
+ * The component used for the root node.
1992
+ * Either a string to use a HTML element or a component.
1993
+ */
1994
+ component: e.elementType,
1995
+ /**
1996
+ * Shadow depth, corresponds to `dp` in the spec.
1997
+ * It accepts values between 0 and 24 inclusive.
1998
+ * @default 1
1999
+ */
2000
+ elevation: Se(mt, (t) => {
2001
+ const {
2002
+ elevation: n,
2003
+ variant: o
2004
+ } = t;
2005
+ return n > 0 && o === "outlined" ? new Error(`MUI: Combining \`elevation={${n}}\` with \`variant="${o}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
2006
+ }),
2007
+ /**
2008
+ * If `true`, rounded corners are disabled.
2009
+ * @default false
2010
+ */
2011
+ square: e.bool,
2012
+ /**
2013
+ * @ignore
2014
+ */
2015
+ style: e.object,
2016
+ /**
2017
+ * The system prop that allows defining system overrides as well as additional CSS styles.
2018
+ */
2019
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
2020
+ /**
2021
+ * The variant to use.
2022
+ * @default 'elevation'
2023
+ */
2024
+ variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
2025
+ });
2026
+ function Mn(t) {
2027
+ return we("MuiPopover", t);
2028
+ }
2029
+ Oe("MuiPopover", ["root", "paper"]);
2030
+ function nt(t, n) {
2031
+ let o = 0;
2032
+ return typeof n == "number" ? o = n : n === "center" ? o = t.height / 2 : n === "bottom" && (o = t.height), o;
2033
+ }
2034
+ function ot(t, n) {
2035
+ let o = 0;
2036
+ return typeof n == "number" ? o = n : n === "center" ? o = t.width / 2 : n === "right" && (o = t.width), o;
2037
+ }
2038
+ function rt(t) {
2039
+ return [t.horizontal, t.vertical].map((n) => typeof n == "number" ? `${n}px` : n).join(" ");
2040
+ }
2041
+ function ge(t) {
2042
+ return typeof t == "function" ? t() : t;
2043
+ }
2044
+ const kn = (t) => {
2045
+ const {
2046
+ classes: n
2047
+ } = t;
2048
+ return ie({
2049
+ root: ["root"],
2050
+ paper: ["paper"]
2051
+ }, Mn, n);
2052
+ }, Dn = W(Pt, {
2053
+ name: "MuiPopover",
2054
+ slot: "Root",
2055
+ overridesResolver: (t, n) => n.root
2056
+ })({}), Ot = W(Nt, {
2057
+ name: "MuiPopover",
2058
+ slot: "Paper",
2059
+ overridesResolver: (t, n) => n.paper
2060
+ })({
2061
+ position: "absolute",
2062
+ overflowY: "auto",
2063
+ overflowX: "hidden",
2064
+ // So we see the popover when it's empty.
2065
+ // It's most likely on issue on userland.
2066
+ minWidth: 16,
2067
+ minHeight: 16,
2068
+ maxWidth: "calc(100% - 32px)",
2069
+ maxHeight: "calc(100% - 32px)",
2070
+ // We disable the focus ring for mouse, touch and keyboard users.
2071
+ outline: 0
2072
+ }), wt = /* @__PURE__ */ p.forwardRef(function(n, o) {
2073
+ const r = ae({
2074
+ props: n,
2075
+ name: "MuiPopover"
2076
+ }), {
2077
+ action: i,
2078
+ anchorEl: s,
2079
+ anchorOrigin: a = {
2080
+ vertical: "top",
2081
+ horizontal: "left"
2082
+ },
2083
+ anchorPosition: c,
2084
+ anchorReference: l = "anchorEl",
2085
+ children: d,
2086
+ className: g,
2087
+ container: y,
2088
+ elevation: x = 8,
2089
+ marginThreshold: f = 16,
2090
+ open: b,
2091
+ PaperProps: N = {},
2092
+ slots: w = {},
2093
+ slotProps: T = {},
2094
+ transformOrigin: S = {
2095
+ vertical: "top",
2096
+ horizontal: "left"
2097
+ },
2098
+ TransitionComponent: u = Re,
2099
+ transitionDuration: h = "auto",
2100
+ TransitionProps: {
2101
+ onEntering: v,
2102
+ ...O
2103
+ } = {},
2104
+ disableScrollLock: R = !1,
2105
+ ...P
2106
+ } = r, C = (T == null ? void 0 : T.paper) ?? N, F = p.useRef(), A = {
2107
+ ...r,
2108
+ anchorOrigin: a,
2109
+ anchorReference: l,
2110
+ elevation: x,
2111
+ marginThreshold: f,
2112
+ externalPaperSlotProps: C,
2113
+ transformOrigin: S,
2114
+ TransitionComponent: u,
2115
+ transitionDuration: h,
2116
+ TransitionProps: O
2117
+ }, $ = kn(A), V = p.useCallback(() => {
2118
+ if (l === "anchorPosition")
2119
+ return process.env.NODE_ENV !== "production" && (c || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), c;
2120
+ const D = ge(s), I = D && D.nodeType === 1 ? D : Te(F.current).body, L = I.getBoundingClientRect();
2121
+ if (process.env.NODE_ENV !== "production") {
2122
+ const H = I.getBoundingClientRect();
2123
+ process.env.NODE_ENV !== "test" && H.top === 0 && H.left === 0 && H.right === 0 && H.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
2124
+ `));
2125
+ }
2126
+ return {
2127
+ top: L.top + nt(L, a.vertical),
2128
+ left: L.left + ot(L, a.horizontal)
2129
+ };
2130
+ }, [s, a.horizontal, a.vertical, c, l]), M = p.useCallback((D) => ({
2131
+ vertical: nt(D, S.vertical),
2132
+ horizontal: ot(D, S.horizontal)
2133
+ }), [S.horizontal, S.vertical]), m = p.useCallback((D) => {
2134
+ const I = {
2135
+ width: D.offsetWidth,
2136
+ height: D.offsetHeight
2137
+ }, L = M(I);
2138
+ if (l === "none")
2139
+ return {
2140
+ top: null,
2141
+ left: null,
2142
+ transformOrigin: rt(L)
2143
+ };
2144
+ const H = V();
2145
+ let ee = H.top - L.vertical, te = H.left - L.horizontal;
2146
+ const He = ee + I.height, qe = te + I.width, Ke = _e(ge(s)), ue = Ke.innerHeight - f, Be = Ke.innerWidth - f;
2147
+ if (f !== null && ee < f) {
2148
+ const K = ee - f;
2149
+ ee -= K, L.vertical += K;
2150
+ } else if (f !== null && He > ue) {
2151
+ const K = He - ue;
2152
+ ee -= K, L.vertical += K;
2153
+ }
2154
+ if (process.env.NODE_ENV !== "production" && I.height > ue && I.height && ue && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${I.height - ue}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
2155
+ `)), f !== null && te < f) {
2156
+ const K = te - f;
2157
+ te -= K, L.horizontal += K;
2158
+ } else if (qe > Be) {
2159
+ const K = qe - Be;
2160
+ te -= K, L.horizontal += K;
2161
+ }
2162
+ return {
2163
+ top: `${Math.round(ee)}px`,
2164
+ left: `${Math.round(te)}px`,
2165
+ transformOrigin: rt(L)
2166
+ };
2167
+ }, [s, l, V, M, f]), [E, k] = p.useState(b), _ = p.useCallback(() => {
2168
+ const D = F.current;
2169
+ if (!D)
2170
+ return;
2171
+ const I = m(D);
2172
+ I.top !== null && D.style.setProperty("top", I.top), I.left !== null && (D.style.left = I.left), D.style.transformOrigin = I.transformOrigin, k(!0);
2173
+ }, [m]);
2174
+ p.useEffect(() => (R && window.addEventListener("scroll", _), () => window.removeEventListener("scroll", _)), [s, R, _]);
2175
+ const U = (D, I) => {
2176
+ v && v(D, I), _();
2177
+ }, B = () => {
2178
+ k(!1);
2179
+ };
2180
+ p.useEffect(() => {
2181
+ b && _();
2182
+ }), p.useImperativeHandle(i, () => b ? {
2183
+ updatePosition: () => {
2184
+ _();
2185
+ }
2186
+ } : null, [b, _]), p.useEffect(() => {
2187
+ if (!b)
2188
+ return;
2189
+ const D = en(() => {
2190
+ _();
2191
+ }), I = _e(s);
2192
+ return I.addEventListener("resize", D), () => {
2193
+ D.clear(), I.removeEventListener("resize", D);
2194
+ };
2195
+ }, [s, b, _]);
2196
+ let ce = h;
2197
+ h === "auto" && !u.muiSupportAuto && (ce = void 0);
2198
+ const me = y || (s ? Te(ge(s)).body : void 0), X = {
2199
+ slots: w,
2200
+ slotProps: {
2201
+ ...T,
2202
+ paper: C
2203
+ }
2204
+ }, [q, Y] = se("paper", {
2205
+ elementType: Ot,
2206
+ externalForwardedProps: X,
2207
+ additionalProps: {
2208
+ elevation: x,
2209
+ className: z($.paper, C == null ? void 0 : C.className),
2210
+ style: E ? C.style : {
2211
+ ...C.style,
2212
+ opacity: 0
2213
+ }
2214
+ },
2215
+ ownerState: A
2216
+ }), [le, {
2217
+ slotProps: Me,
2218
+ ...ke
2219
+ }] = se("root", {
2220
+ elementType: Dn,
2221
+ externalForwardedProps: X,
2222
+ additionalProps: {
2223
+ slotProps: {
2224
+ backdrop: {
2225
+ invisible: !0
2226
+ }
2227
+ },
2228
+ container: me,
2229
+ open: b
2230
+ },
2231
+ ownerState: A,
2232
+ className: z($.root, g)
2233
+ }), De = Q(F, Y.ref);
2234
+ return /* @__PURE__ */ j.jsx(le, {
2235
+ ...ke,
2236
+ ...!Jt(le) && {
2237
+ slotProps: Me,
2238
+ disableScrollLock: R
2239
+ },
2240
+ ...P,
2241
+ ref: o,
2242
+ children: /* @__PURE__ */ j.jsx(u, {
2243
+ appear: !0,
2244
+ in: b,
2245
+ onEntering: U,
2246
+ onExited: B,
2247
+ timeout: ce,
2248
+ ...O,
2249
+ children: /* @__PURE__ */ j.jsx(q, {
2250
+ ...Y,
2251
+ ref: De,
2252
+ children: d
2253
+ })
2254
+ })
2255
+ });
2256
+ });
2257
+ process.env.NODE_ENV !== "production" && (wt.propTypes = {
2258
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
2259
+ // │ These PropTypes are generated from the TypeScript type definitions. │
2260
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2261
+ // └─────────────────────────────────────────────────────────────────────┘
2262
+ /**
2263
+ * A ref for imperative actions.
2264
+ * It currently only supports updatePosition() action.
2265
+ */
2266
+ action: Ft,
2267
+ /**
2268
+ * An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
2269
+ * or a function that returns either.
2270
+ * It's used to set the position of the popover.
2271
+ */
2272
+ anchorEl: Se(e.oneOfType([ve, e.func]), (t) => {
2273
+ if (t.open && (!t.anchorReference || t.anchorReference === "anchorEl")) {
2274
+ const n = ge(t.anchorEl);
2275
+ if (n && n.nodeType === 1) {
2276
+ const o = n.getBoundingClientRect();
2277
+ if (process.env.NODE_ENV !== "test" && o.top === 0 && o.left === 0 && o.right === 0 && o.bottom === 0)
2278
+ return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
2279
+ `));
2280
+ } else
2281
+ return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", `It should be an Element or PopoverVirtualElement instance but it's \`${n}\` instead.`].join(`
2282
+ `));
2283
+ }
2284
+ return null;
2285
+ }),
2286
+ /**
2287
+ * This is the point on the anchor where the popover's
2288
+ * `anchorEl` will attach to. This is not used when the
2289
+ * anchorReference is 'anchorPosition'.
2290
+ *
2291
+ * Options:
2292
+ * vertical: [top, center, bottom];
2293
+ * horizontal: [left, center, right].
2294
+ * @default {
2295
+ * vertical: 'top',
2296
+ * horizontal: 'left',
2297
+ * }
2298
+ */
2299
+ anchorOrigin: e.shape({
2300
+ horizontal: e.oneOfType([e.oneOf(["center", "left", "right"]), e.number]).isRequired,
2301
+ vertical: e.oneOfType([e.oneOf(["bottom", "center", "top"]), e.number]).isRequired
2302
+ }),
2303
+ /**
2304
+ * This is the position that may be used to set the position of the popover.
2305
+ * The coordinates are relative to the application's client area.
2306
+ */
2307
+ anchorPosition: e.shape({
2308
+ left: e.number.isRequired,
2309
+ top: e.number.isRequired
2310
+ }),
2311
+ /**
2312
+ * This determines which anchor prop to refer to when setting
2313
+ * the position of the popover.
2314
+ * @default 'anchorEl'
2315
+ */
2316
+ anchorReference: e.oneOf(["anchorEl", "anchorPosition", "none"]),
2317
+ /**
2318
+ * A backdrop component. This prop enables custom backdrop rendering.
2319
+ * @deprecated Use `slotProps.root.slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
2320
+ * Use the `slotProps.root.slots.backdrop` prop to make your application ready for the next version of Material UI.
2321
+ * @default styled(Backdrop, {
2322
+ * name: 'MuiModal',
2323
+ * slot: 'Backdrop',
2324
+ * overridesResolver: (props, styles) => {
2325
+ * return styles.backdrop;
2326
+ * },
2327
+ * })({
2328
+ * zIndex: -1,
2329
+ * })
2330
+ */
2331
+ BackdropComponent: e.elementType,
2332
+ /**
2333
+ * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
2334
+ * @deprecated Use `slotProps.root.slotProps.backdrop` instead.
2335
+ */
2336
+ BackdropProps: e.object,
2337
+ /**
2338
+ * The content of the component.
2339
+ */
2340
+ children: e.node,
2341
+ /**
2342
+ * Override or extend the styles applied to the component.
2343
+ */
2344
+ classes: e.object,
2345
+ /**
2346
+ * @ignore
2347
+ */
2348
+ className: e.string,
2349
+ /**
2350
+ * An HTML element, component instance, or function that returns either.
2351
+ * The `container` will passed to the Modal component.
2352
+ *
2353
+ * By default, it uses the body of the anchorEl's top-level document object,
2354
+ * so it's simply `document.body` most of the time.
2355
+ */
2356
+ container: e.oneOfType([ve, e.func]),
2357
+ /**
2358
+ * Disable the scroll lock behavior.
2359
+ * @default false
2360
+ */
2361
+ disableScrollLock: e.bool,
2362
+ /**
2363
+ * The elevation of the popover.
2364
+ * @default 8
2365
+ */
2366
+ elevation: mt,
2367
+ /**
2368
+ * Specifies how close to the edge of the window the popover can appear.
2369
+ * If null, the popover will not be constrained by the window.
2370
+ * @default 16
2371
+ */
2372
+ marginThreshold: e.number,
2373
+ /**
2374
+ * Callback fired when the component requests to be closed.
2375
+ * The `reason` parameter can optionally be used to control the response to `onClose`.
2376
+ */
2377
+ onClose: e.func,
2378
+ /**
2379
+ * If `true`, the component is shown.
2380
+ */
2381
+ open: e.bool.isRequired,
2382
+ /**
2383
+ * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
2384
+ *
2385
+ * This prop is an alias for `slotProps.paper` and will be overriden by it if both are used.
2386
+ * @deprecated Use `slotProps.paper` instead.
2387
+ *
2388
+ * @default {}
2389
+ */
2390
+ PaperProps: e.shape({
2391
+ component: At
2392
+ }),
2393
+ /**
2394
+ * The props used for each slot inside.
2395
+ * @default {}
2396
+ */
2397
+ slotProps: e.shape({
2398
+ paper: e.oneOfType([e.func, e.object]),
2399
+ root: e.oneOfType([e.func, e.object])
2400
+ }),
2401
+ /**
2402
+ * The components used for each slot inside.
2403
+ * @default {}
2404
+ */
2405
+ slots: e.shape({
2406
+ paper: e.elementType,
2407
+ root: e.elementType
2408
+ }),
2409
+ /**
2410
+ * The system prop that allows defining system overrides as well as additional CSS styles.
2411
+ */
2412
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
2413
+ /**
2414
+ * This is the point on the popover which
2415
+ * will attach to the anchor's origin.
2416
+ *
2417
+ * Options:
2418
+ * vertical: [top, center, bottom, x(px)];
2419
+ * horizontal: [left, center, right, x(px)].
2420
+ * @default {
2421
+ * vertical: 'top',
2422
+ * horizontal: 'left',
2423
+ * }
2424
+ */
2425
+ transformOrigin: e.shape({
2426
+ horizontal: e.oneOfType([e.oneOf(["center", "left", "right"]), e.number]).isRequired,
2427
+ vertical: e.oneOfType([e.oneOf(["bottom", "center", "top"]), e.number]).isRequired
2428
+ }),
2429
+ /**
2430
+ * The component used for the transition.
2431
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
2432
+ * @default Grow
2433
+ */
2434
+ TransitionComponent: e.elementType,
2435
+ /**
2436
+ * Set to 'auto' to automatically calculate transition time based on height.
2437
+ * @default 'auto'
2438
+ */
2439
+ transitionDuration: e.oneOfType([e.oneOf(["auto"]), e.number, e.shape({
2440
+ appear: e.number,
2441
+ enter: e.number,
2442
+ exit: e.number
2443
+ })]),
2444
+ /**
2445
+ * Props applied to the transition element.
2446
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
2447
+ * @default {}
2448
+ */
2449
+ TransitionProps: e.object
2450
+ });
2451
+ function st(t) {
2452
+ var y;
2453
+ const {
2454
+ elementType: n,
2455
+ externalSlotProps: o,
2456
+ ownerState: r,
2457
+ skipResolvingSlotProps: i = !1,
2458
+ ...s
2459
+ } = t, a = i ? {} : yt(o, r), {
2460
+ props: c,
2461
+ internalRef: l
2462
+ } = Tt({
2463
+ ...s,
2464
+ externalSlotProps: a
2465
+ }), d = Q(l, a == null ? void 0 : a.ref, (y = t.additionalProps) == null ? void 0 : y.ref);
2466
+ return gt(n, {
2467
+ ...c,
2468
+ ref: d
2469
+ }, r);
2470
+ }
2471
+ function In(t) {
2472
+ return we("MuiList", t);
2473
+ }
2474
+ Oe("MuiList", ["root", "padding", "dense", "subheader"]);
2475
+ const jn = (t) => {
2476
+ const {
2477
+ classes: n,
2478
+ disablePadding: o,
2479
+ dense: r,
2480
+ subheader: i
2481
+ } = t;
2482
+ return ie({
2483
+ root: ["root", !o && "padding", r && "dense", i && "subheader"]
2484
+ }, In, n);
2485
+ }, Ln = W("ul", {
2486
+ name: "MuiList",
2487
+ slot: "Root",
2488
+ overridesResolver: (t, n) => {
2489
+ const {
2490
+ ownerState: o
2491
+ } = t;
2492
+ return [n.root, !o.disablePadding && n.padding, o.dense && n.dense, o.subheader && n.subheader];
2493
+ }
2494
+ })({
2495
+ listStyle: "none",
2496
+ margin: 0,
2497
+ padding: 0,
2498
+ position: "relative",
2499
+ variants: [{
2500
+ props: ({
2501
+ ownerState: t
2502
+ }) => !t.disablePadding,
2503
+ style: {
2504
+ paddingTop: 8,
2505
+ paddingBottom: 8
2506
+ }
2507
+ }, {
2508
+ props: ({
2509
+ ownerState: t
2510
+ }) => t.subheader,
2511
+ style: {
2512
+ paddingTop: 0
2513
+ }
2514
+ }]
2515
+ }), St = /* @__PURE__ */ p.forwardRef(function(n, o) {
2516
+ const r = ae({
2517
+ props: n,
2518
+ name: "MuiList"
2519
+ }), {
2520
+ children: i,
2521
+ className: s,
2522
+ component: a = "ul",
2523
+ dense: c = !1,
2524
+ disablePadding: l = !1,
2525
+ subheader: d,
2526
+ ...g
2527
+ } = r, y = p.useMemo(() => ({
2528
+ dense: c
2529
+ }), [c]), x = {
2530
+ ...r,
2531
+ component: a,
2532
+ dense: c,
2533
+ disablePadding: l
2534
+ }, f = jn(x);
2535
+ return /* @__PURE__ */ j.jsx(Wt.Provider, {
2536
+ value: y,
2537
+ children: /* @__PURE__ */ j.jsxs(Ln, {
2538
+ as: a,
2539
+ className: z(f.root, s),
2540
+ ref: o,
2541
+ ownerState: x,
2542
+ ...g,
2543
+ children: [d, i]
2544
+ })
2545
+ });
2546
+ });
2547
+ process.env.NODE_ENV !== "production" && (St.propTypes = {
2548
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
2549
+ // │ These PropTypes are generated from the TypeScript type definitions. │
2550
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2551
+ // └─────────────────────────────────────────────────────────────────────┘
2552
+ /**
2553
+ * The content of the component.
2554
+ */
2555
+ children: e.node,
2556
+ /**
2557
+ * Override or extend the styles applied to the component.
2558
+ */
2559
+ classes: e.object,
2560
+ /**
2561
+ * @ignore
2562
+ */
2563
+ className: e.string,
2564
+ /**
2565
+ * The component used for the root node.
2566
+ * Either a string to use a HTML element or a component.
2567
+ */
2568
+ component: e.elementType,
2569
+ /**
2570
+ * If `true`, compact vertical padding designed for keyboard and mouse input is used for
2571
+ * the list and list items.
2572
+ * The prop is available to descendant components as the `dense` context.
2573
+ * @default false
2574
+ */
2575
+ dense: e.bool,
2576
+ /**
2577
+ * If `true`, vertical padding is removed from the list.
2578
+ * @default false
2579
+ */
2580
+ disablePadding: e.bool,
2581
+ /**
2582
+ * The content of the subheader, normally `ListSubheader`.
2583
+ */
2584
+ subheader: e.node,
2585
+ /**
2586
+ * The system prop that allows defining system overrides as well as additional CSS styles.
2587
+ */
2588
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2589
+ });
2590
+ function Fn(t = window) {
2591
+ const n = t.document.documentElement.clientWidth;
2592
+ return t.innerWidth - n;
2593
+ }
2594
+ function Le(t, n, o) {
2595
+ return t === n ? t.firstChild : n && n.nextElementSibling ? n.nextElementSibling : o ? null : t.firstChild;
2596
+ }
2597
+ function it(t, n, o) {
2598
+ return t === n ? o ? t.firstChild : t.lastChild : n && n.previousElementSibling ? n.previousElementSibling : o ? null : t.lastChild;
2599
+ }
2600
+ function Ct(t, n) {
2601
+ if (n === void 0)
2602
+ return !0;
2603
+ let o = t.innerText;
2604
+ return o === void 0 && (o = t.textContent), o = o.trim().toLowerCase(), o.length === 0 ? !1 : n.repeating ? o[0] === n.keys[0] : o.startsWith(n.keys.join(""));
2605
+ }
2606
+ function pe(t, n, o, r, i, s) {
2607
+ let a = !1, c = i(t, n, n ? o : !1);
2608
+ for (; c; ) {
2609
+ if (c === t.firstChild) {
2610
+ if (a)
2611
+ return !1;
2612
+ a = !0;
2613
+ }
2614
+ const l = r ? !1 : c.disabled || c.getAttribute("aria-disabled") === "true";
2615
+ if (!c.hasAttribute("tabindex") || !Ct(c, s) || l)
2616
+ c = i(t, c, o);
2617
+ else
2618
+ return c.focus(), !0;
2619
+ }
2620
+ return !1;
2621
+ }
2622
+ const Mt = /* @__PURE__ */ p.forwardRef(function(n, o) {
2623
+ const {
2624
+ // private
2625
+ // eslint-disable-next-line react/prop-types
2626
+ actions: r,
2627
+ autoFocus: i = !1,
2628
+ autoFocusItem: s = !1,
2629
+ children: a,
2630
+ className: c,
2631
+ disabledItemsFocusable: l = !1,
2632
+ disableListWrap: d = !1,
2633
+ onKeyDown: g,
2634
+ variant: y = "selectedMenu",
2635
+ ...x
2636
+ } = n, f = p.useRef(null), b = p.useRef({
2637
+ keys: [],
2638
+ repeating: !0,
2639
+ previousKeyMatched: !0,
2640
+ lastTime: null
2641
+ });
2642
+ zt(() => {
2643
+ i && f.current.focus();
2644
+ }, [i]), p.useImperativeHandle(r, () => ({
2645
+ adjustStyleForScrollbar: (u, {
2646
+ direction: h
2647
+ }) => {
2648
+ const v = !f.current.style.width;
2649
+ if (u.clientHeight < f.current.clientHeight && v) {
2650
+ const O = `${Fn(_e(u))}px`;
2651
+ f.current.style[h === "rtl" ? "paddingLeft" : "paddingRight"] = O, f.current.style.width = `calc(100% + ${O})`;
2652
+ }
2653
+ return f.current;
2654
+ }
2655
+ }), []);
2656
+ const N = (u) => {
2657
+ const h = f.current, v = u.key;
2658
+ if (u.ctrlKey || u.metaKey || u.altKey) {
2659
+ g && g(u);
2660
+ return;
2661
+ }
2662
+ const R = Te(h).activeElement;
2663
+ if (v === "ArrowDown")
2664
+ u.preventDefault(), pe(h, R, d, l, Le);
2665
+ else if (v === "ArrowUp")
2666
+ u.preventDefault(), pe(h, R, d, l, it);
2667
+ else if (v === "Home")
2668
+ u.preventDefault(), pe(h, null, d, l, Le);
2669
+ else if (v === "End")
2670
+ u.preventDefault(), pe(h, null, d, l, it);
2671
+ else if (v.length === 1) {
2672
+ const P = b.current, C = v.toLowerCase(), F = performance.now();
2673
+ P.keys.length > 0 && (F - P.lastTime > 500 ? (P.keys = [], P.repeating = !0, P.previousKeyMatched = !0) : P.repeating && C !== P.keys[0] && (P.repeating = !1)), P.lastTime = F, P.keys.push(C);
2674
+ const A = R && !P.repeating && Ct(R, P);
2675
+ P.previousKeyMatched && (A || pe(h, R, !1, l, Le, P)) ? u.preventDefault() : P.previousKeyMatched = !1;
2676
+ }
2677
+ g && g(u);
2678
+ }, w = Q(f, o);
2679
+ let T = -1;
2680
+ p.Children.forEach(a, (u, h) => {
2681
+ if (!/* @__PURE__ */ p.isValidElement(u)) {
2682
+ T === h && (T += 1, T >= a.length && (T = -1));
2683
+ return;
2684
+ }
2685
+ process.env.NODE_ENV !== "production" && ct.isFragment(u) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2686
+ `)), u.props.disabled || (y === "selectedMenu" && u.props.selected || T === -1) && (T = h), T === h && (u.props.disabled || u.props.muiSkipListHighlight || u.type.muiSkipListHighlight) && (T += 1, T >= a.length && (T = -1));
2687
+ });
2688
+ const S = p.Children.map(a, (u, h) => {
2689
+ if (h === T) {
2690
+ const v = {};
2691
+ return s && (v.autoFocus = !0), u.props.tabIndex === void 0 && y === "selectedMenu" && (v.tabIndex = 0), /* @__PURE__ */ p.cloneElement(u, v);
2692
+ }
2693
+ return u;
2694
+ });
2695
+ return /* @__PURE__ */ j.jsx(St, {
2696
+ role: "menu",
2697
+ ref: w,
2698
+ className: c,
2699
+ onKeyDown: N,
2700
+ tabIndex: i ? 0 : -1,
2701
+ ...x,
2702
+ children: S
2703
+ });
2704
+ });
2705
+ process.env.NODE_ENV !== "production" && (Mt.propTypes = {
2706
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
2707
+ // │ These PropTypes are generated from the TypeScript type definitions. │
2708
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2709
+ // └─────────────────────────────────────────────────────────────────────┘
2710
+ /**
2711
+ * If `true`, will focus the `[role="menu"]` container and move into tab order.
2712
+ * @default false
2713
+ */
2714
+ autoFocus: e.bool,
2715
+ /**
2716
+ * If `true`, will focus the first menuitem if `variant="menu"` or selected item
2717
+ * if `variant="selectedMenu"`.
2718
+ * @default false
2719
+ */
2720
+ autoFocusItem: e.bool,
2721
+ /**
2722
+ * MenuList contents, normally `MenuItem`s.
2723
+ */
2724
+ children: e.node,
2725
+ /**
2726
+ * @ignore
2727
+ */
2728
+ className: e.string,
2729
+ /**
2730
+ * If `true`, will allow focus on disabled items.
2731
+ * @default false
2732
+ */
2733
+ disabledItemsFocusable: e.bool,
2734
+ /**
2735
+ * If `true`, the menu items will not wrap focus.
2736
+ * @default false
2737
+ */
2738
+ disableListWrap: e.bool,
2739
+ /**
2740
+ * @ignore
2741
+ */
2742
+ onKeyDown: e.func,
2743
+ /**
2744
+ * The variant to use. Use `menu` to prevent selected items from impacting the initial focus
2745
+ * and the vertical alignment relative to the anchor element.
2746
+ * @default 'selectedMenu'
2747
+ */
2748
+ variant: e.oneOf(["menu", "selectedMenu"])
2749
+ });
2750
+ function An(t) {
2751
+ return we("MuiMenu", t);
2752
+ }
2753
+ Oe("MuiMenu", ["root", "paper", "list"]);
2754
+ const _n = {
2755
+ vertical: "top",
2756
+ horizontal: "right"
2757
+ }, $n = {
2758
+ vertical: "top",
2759
+ horizontal: "left"
2760
+ }, Vn = (t) => {
2761
+ const {
2762
+ classes: n
2763
+ } = t;
2764
+ return ie({
2765
+ root: ["root"],
2766
+ paper: ["paper"],
2767
+ list: ["list"]
2768
+ }, An, n);
2769
+ }, Un = W(wt, {
2770
+ shouldForwardProp: (t) => kt(t) || t === "classes",
2771
+ name: "MuiMenu",
2772
+ slot: "Root",
2773
+ overridesResolver: (t, n) => n.root
2774
+ })({}), Hn = W(Ot, {
2775
+ name: "MuiMenu",
2776
+ slot: "Paper",
2777
+ overridesResolver: (t, n) => n.paper
2778
+ })({
2779
+ // specZ: The maximum height of a simple menu should be one or more rows less than the view
2780
+ // height. This ensures a tappable area outside of the simple menu with which to dismiss
2781
+ // the menu.
2782
+ maxHeight: "calc(100% - 96px)",
2783
+ // Add iOS momentum scrolling for iOS < 13.0
2784
+ WebkitOverflowScrolling: "touch"
2785
+ }), qn = W(Mt, {
2786
+ name: "MuiMenu",
2787
+ slot: "List",
2788
+ overridesResolver: (t, n) => n.list
2789
+ })({
2790
+ // We disable the focus ring for mouse, touch and keyboard users.
2791
+ outline: 0
2792
+ }), Kn = /* @__PURE__ */ p.forwardRef(function(n, o) {
2793
+ const r = ae({
2794
+ props: n,
2795
+ name: "MuiMenu"
2796
+ }), {
2797
+ autoFocus: i = !0,
2798
+ children: s,
2799
+ className: a,
2800
+ disableAutoFocusItem: c = !1,
2801
+ MenuListProps: l = {},
2802
+ onClose: d,
2803
+ open: g,
2804
+ PaperProps: y = {},
2805
+ PopoverClasses: x,
2806
+ transitionDuration: f = "auto",
2807
+ TransitionProps: {
2808
+ onEntering: b,
2809
+ ...N
2810
+ } = {},
2811
+ variant: w = "selectedMenu",
2812
+ slots: T = {},
2813
+ slotProps: S = {},
2814
+ ...u
2815
+ } = r, h = Xt(), v = {
2816
+ ...r,
2817
+ autoFocus: i,
2818
+ disableAutoFocusItem: c,
2819
+ MenuListProps: l,
2820
+ onEntering: b,
2821
+ PaperProps: y,
2822
+ transitionDuration: f,
2823
+ TransitionProps: N,
2824
+ variant: w
2825
+ }, O = Vn(v), R = i && !c && g, P = p.useRef(null), C = (E, k) => {
2826
+ P.current && P.current.adjustStyleForScrollbar(E, {
2827
+ direction: h ? "rtl" : "ltr"
2828
+ }), b && b(E, k);
2829
+ }, F = (E) => {
2830
+ E.key === "Tab" && (E.preventDefault(), d && d(E, "tabKeyDown"));
2831
+ };
2832
+ let A = -1;
2833
+ p.Children.map(s, (E, k) => {
2834
+ /* @__PURE__ */ p.isValidElement(E) && (process.env.NODE_ENV !== "production" && ct.isFragment(E) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2835
+ `)), E.props.disabled || (w === "selectedMenu" && E.props.selected || A === -1) && (A = k));
2836
+ });
2837
+ const $ = T.paper ?? Hn, V = S.paper ?? y, M = st({
2838
+ elementType: T.root,
2839
+ externalSlotProps: S.root,
2840
+ ownerState: v,
2841
+ className: [O.root, a]
2842
+ }), m = st({
2843
+ elementType: $,
2844
+ externalSlotProps: V,
2845
+ ownerState: v,
2846
+ className: O.paper
2847
+ });
2848
+ return /* @__PURE__ */ j.jsx(Un, {
2849
+ onClose: d,
2850
+ anchorOrigin: {
2851
+ vertical: "bottom",
2852
+ horizontal: h ? "right" : "left"
2853
+ },
2854
+ transformOrigin: h ? _n : $n,
2855
+ slots: {
2856
+ paper: $,
2857
+ root: T.root
2858
+ },
2859
+ slotProps: {
2860
+ root: M,
2861
+ paper: m
2862
+ },
2863
+ open: g,
2864
+ ref: o,
2865
+ transitionDuration: f,
2866
+ TransitionProps: {
2867
+ onEntering: C,
2868
+ ...N
2869
+ },
2870
+ ownerState: v,
2871
+ ...u,
2872
+ classes: x,
2873
+ children: /* @__PURE__ */ j.jsx(qn, {
2874
+ onKeyDown: F,
2875
+ actions: P,
2876
+ autoFocus: i && (A === -1 || c),
2877
+ autoFocusItem: R,
2878
+ variant: w,
2879
+ ...l,
2880
+ className: z(O.list, l.className),
2881
+ children: s
2882
+ })
2883
+ });
2884
+ });
2885
+ process.env.NODE_ENV !== "production" && (Kn.propTypes = {
2886
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
2887
+ // │ These PropTypes are generated from the TypeScript type definitions. │
2888
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2889
+ // └─────────────────────────────────────────────────────────────────────┘
2890
+ /**
2891
+ * An HTML element, or a function that returns one.
2892
+ * It's used to set the position of the menu.
2893
+ */
2894
+ anchorEl: e.oneOfType([ve, e.func]),
2895
+ /**
2896
+ * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
2897
+ * children are not focusable. If you set this prop to `false` focus will be placed
2898
+ * on the parent modal container. This has severe accessibility implications
2899
+ * and should only be considered if you manage focus otherwise.
2900
+ * @default true
2901
+ */
2902
+ autoFocus: e.bool,
2903
+ /**
2904
+ * Menu contents, normally `MenuItem`s.
2905
+ */
2906
+ children: e.node,
2907
+ /**
2908
+ * Override or extend the styles applied to the component.
2909
+ */
2910
+ classes: e.object,
2911
+ /**
2912
+ * @ignore
2913
+ */
2914
+ className: e.string,
2915
+ /**
2916
+ * When opening the menu will not focus the active item but the `[role="menu"]`
2917
+ * unless `autoFocus` is also set to `false`. Not using the default means not
2918
+ * following WAI-ARIA authoring practices. Please be considerate about possible
2919
+ * accessibility implications.
2920
+ * @default false
2921
+ */
2922
+ disableAutoFocusItem: e.bool,
2923
+ /**
2924
+ * Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.
2925
+ * @default {}
2926
+ */
2927
+ MenuListProps: e.object,
2928
+ /**
2929
+ * Callback fired when the component requests to be closed.
2930
+ *
2931
+ * @param {object} event The event source of the callback.
2932
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`, `"tabKeyDown"`.
2933
+ */
2934
+ onClose: e.func,
2935
+ /**
2936
+ * If `true`, the component is shown.
2937
+ */
2938
+ open: e.bool.isRequired,
2939
+ /**
2940
+ * @ignore
2941
+ */
2942
+ PaperProps: e.object,
2943
+ /**
2944
+ * `classes` prop applied to the [`Popover`](https://mui.com/material-ui/api/popover/) element.
2945
+ */
2946
+ PopoverClasses: e.object,
2947
+ /**
2948
+ * The props used for each slot inside.
2949
+ * @default {}
2950
+ */
2951
+ slotProps: e.shape({
2952
+ paper: e.oneOfType([e.func, e.object]),
2953
+ root: e.oneOfType([e.func, e.object])
2954
+ }),
2955
+ /**
2956
+ * The components used for each slot inside.
2957
+ * @default {}
2958
+ */
2959
+ slots: e.shape({
2960
+ paper: e.elementType,
2961
+ root: e.elementType
2962
+ }),
2963
+ /**
2964
+ * The system prop that allows defining system overrides as well as additional CSS styles.
2965
+ */
2966
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
2967
+ /**
2968
+ * The length of the transition in `ms`, or 'auto'
2969
+ * @default 'auto'
2970
+ */
2971
+ transitionDuration: e.oneOfType([e.oneOf(["auto"]), e.number, e.shape({
2972
+ appear: e.number,
2973
+ enter: e.number,
2974
+ exit: e.number
2975
+ })]),
2976
+ /**
2977
+ * Props applied to the transition element.
2978
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
2979
+ * @default {}
2980
+ */
2981
+ TransitionProps: e.object,
2982
+ /**
2983
+ * The variant to use. Use `menu` to prevent selected items from impacting the initial focus.
2984
+ * @default 'selectedMenu'
2985
+ */
2986
+ variant: e.oneOf(["menu", "selectedMenu"])
2987
+ });
2988
+ export {
2989
+ Kn as M,
2990
+ wt as P,
2991
+ bt as g,
2992
+ Jt as i,
2993
+ Te as o
2994
+ };