@solostylist/ui-kit 1.0.203 → 1.0.205

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 (365) hide show
  1. package/dist/ArrowUpward-CDLbIMHR.js +6 -0
  2. package/dist/Box-CCxGQYgC.js +46 -0
  3. package/dist/ButtonBase-BpUvp8ep.js +801 -0
  4. package/dist/ChevronLeft-C7DUyLoc.js +6 -0
  5. package/dist/ChevronRight-VFk57Tte.js +6 -0
  6. package/dist/Close-OtVsJy75.js +6 -0
  7. package/dist/ContentCopy-DHDP4d6g.js +6 -0
  8. package/dist/DefaultPropsProvider-DpRXvTbj.js +157 -0
  9. package/dist/Download-Bbx6BZUJ.js +6 -0
  10. package/dist/ExpandMore-BTC1yHzp.js +6 -0
  11. package/dist/Favorite-mcH9KX-m.js +6 -0
  12. package/dist/Menu-Dhh4e9H1.js +1662 -0
  13. package/dist/MenuItem-aaIy8lan.js +213 -0
  14. package/dist/Paper--8Q3qCqb.js +329 -0
  15. package/dist/Select-B5RvkbDO.js +2545 -0
  16. package/dist/Stack-D-aoKnaS.js +158 -0
  17. package/dist/Typography-CswuXQLF.js +187 -0
  18. package/dist/assets/s-carousel.css +1 -1
  19. package/dist/assets/s-overlay-scrollbar.css +10 -1
  20. package/dist/assets/stripe-input.css +1 -1
  21. package/dist/avatar-BVV8tT0K.js +10 -0
  22. package/dist/buttonBaseClasses-CzfJbQi5.js +13 -0
  23. package/dist/checkbox-Dd2nIREk.js +57 -0
  24. package/dist/chunk-efA98nb6.js +13 -0
  25. package/dist/createSimplePaletteValueFilter-dAWZ3p3z.js +14 -0
  26. package/dist/createSvgIcon-KjKEsKNV.js +153 -0
  27. package/dist/createTheme-DuS5_nJb.js +2430 -0
  28. package/dist/defaultTheme-DBynruYK.js +5 -0
  29. package/dist/entries/carousel.js +3 -4
  30. package/dist/entries/chat.js +3 -4
  31. package/dist/entries/code.js +3 -4
  32. package/dist/entries/core.js +56 -122
  33. package/dist/entries/dates.js +7 -12
  34. package/dist/entries/dropzone.js +3 -4
  35. package/dist/entries/editor.js +2 -4
  36. package/dist/entries/gallery.js +7 -13
  37. package/dist/entries/i18n.js +3 -7
  38. package/dist/entries/motion.js +14 -27
  39. package/dist/entries/scrollbar.js +2 -4
  40. package/dist/entries/stripe.js +6 -10
  41. package/dist/extendSxProp-YPyfzlEb.js +29 -0
  42. package/dist/generateUtilityClass-DdqZpZoW.js +34 -0
  43. package/dist/generateUtilityClasses-BMwEKe3O.js +10 -0
  44. package/dist/hooks/index.js +5 -11
  45. package/dist/hooks/use-count-down.js +85 -76
  46. package/dist/hooks/use-dialog.js +21 -18
  47. package/dist/hooks/use-is-passed-position.js +20 -20
  48. package/dist/hooks/use-popover.js +18 -18
  49. package/dist/hooks/use-scroll-animation.js +74 -56
  50. package/dist/iconButtonClasses-ApDUTw5e.js +27 -0
  51. package/dist/identifier-_S1f0Pg2.js +190 -0
  52. package/dist/main.js +103 -196
  53. package/dist/mergeSlotProps-BG-pTgpj.js +48 -0
  54. package/dist/objectWithoutPropertiesLoose-BdL2_POW.js +23 -0
  55. package/dist/outlinedInputClasses-bgmdcolQ.js +43 -0
  56. package/dist/resolveProps-CcZ6Bxlf.js +30 -0
  57. package/dist/s-accordion/index.js +3 -4
  58. package/dist/s-accordion/s-accordion.js +3 -949
  59. package/dist/s-accordion-Da1IZflX.js +712 -0
  60. package/dist/s-action-overlay/index.js +2 -4
  61. package/dist/s-action-overlay/s-action-overlay.js +108 -109
  62. package/dist/s-autocomplete/index.js +2 -4
  63. package/dist/s-autocomplete/s-autocomplete.js +25 -31
  64. package/dist/s-avatar/index.js +2 -4
  65. package/dist/s-avatar/s-avatar.js +32 -22
  66. package/dist/s-blur-text/index.js +2 -4
  67. package/dist/s-blur-text/s-blur-text.js +67 -81
  68. package/dist/s-breadcrumbs/index.js +2 -3
  69. package/dist/s-breadcrumbs/s-breadcrumbs.js +49 -44
  70. package/dist/s-button/index.js +2 -4
  71. package/dist/s-button/s-button.js +11 -9
  72. package/dist/s-carousel/index.js +3 -4
  73. package/dist/s-carousel/s-carousel.js +3 -2480
  74. package/dist/s-carousel-BoDg9pKU.js +125 -0
  75. package/dist/s-category-card/index.js +1 -3
  76. package/dist/s-category-card/s-category-card.js +70 -105
  77. package/dist/s-chat-input/index.js +3 -4
  78. package/dist/s-chat-input/s-chat-input.js +3 -319
  79. package/dist/s-chat-input-v_XIZVGk.js +283 -0
  80. package/dist/s-chat-message/index.js +3 -4
  81. package/dist/s-chat-message/s-chat-message.js +3 -283
  82. package/dist/s-chat-message-CWtxsicj.js +281 -0
  83. package/dist/s-checkbox/index.js +2 -4
  84. package/dist/s-checkbox/s-checkbox.js +27 -17
  85. package/dist/s-chip/index.js +2 -4
  86. package/dist/s-chip/s-chip.js +11 -9
  87. package/dist/s-chips/index.js +2 -4
  88. package/dist/s-chips/s-chips.js +91 -86
  89. package/dist/s-code-block/index.js +3 -4
  90. package/dist/s-code-block/s-code-block.js +3 -1052
  91. package/dist/s-code-block-BqYdR0Em.js +608 -0
  92. package/dist/s-comment-message/index.js +3 -4
  93. package/dist/s-comment-message/s-comment-message.js +3 -123
  94. package/dist/s-comment-message-DDAHdQqY.js +195 -0
  95. package/dist/s-copyable-text/index.js +3 -4
  96. package/dist/s-copyable-text/s-copyable-text.js +50 -54
  97. package/dist/s-countdown/index.js +3 -5
  98. package/dist/s-countdown/s-count-box.js +102 -106
  99. package/dist/s-countdown/s-count-down.js +101 -109
  100. package/dist/s-data-table/index.js +3 -4
  101. package/dist/s-data-table/s-data-table.js +3 -1291
  102. package/dist/s-data-table-BjqqIsFX.js +893 -0
  103. package/dist/s-date-picker/index.js +3 -4
  104. package/dist/s-date-picker/s-date-picker.js +3 -1521
  105. package/dist/s-date-picker-BYqxsjPU.js +581 -0
  106. package/dist/s-datetime-picker/index.js +3 -4
  107. package/dist/s-datetime-picker/s-datetime-picker.js +3 -5180
  108. package/dist/s-datetime-picker-BtwGoxL3.js +3808 -0
  109. package/dist/s-dialog/index.js +2 -3
  110. package/dist/s-dialog/s-dialog.js +44 -36
  111. package/dist/s-dialog-confirm/index.js +3 -6
  112. package/dist/s-dialog-confirm/s-dialog-confirm.js +85 -74
  113. package/dist/s-dialog-message/index.js +3 -6
  114. package/dist/s-dialog-message/s-dialog-message.js +75 -66
  115. package/dist/s-empty/index.js +1 -3
  116. package/dist/s-empty/s-empty.js +13 -8
  117. package/dist/s-error/index.js +2 -4
  118. package/dist/s-error/s-error.js +31 -20
  119. package/dist/s-error-layout/index.js +2 -4
  120. package/dist/s-error-layout/s-error-layout.js +78 -56
  121. package/dist/s-file-dropzone/index.js +3 -4
  122. package/dist/s-file-dropzone/s-file-dropzone.js +3 -124
  123. package/dist/s-file-dropzone-BJBNFC_b.js +134 -0
  124. package/dist/s-file-icon/index.js +3 -4
  125. package/dist/s-file-icon/s-file-icon.js +327 -272
  126. package/dist/s-flex-box/index.js +3 -4
  127. package/dist/s-flex-box/s-flex-box.js +12 -8
  128. package/dist/s-form/index.js +2 -4
  129. package/dist/s-form/s-form.js +23 -15
  130. package/dist/s-gallery/index.js +3 -5
  131. package/dist/s-gallery/s-gallery.js +310 -346
  132. package/dist/s-glow-button/index.js +3 -4
  133. package/dist/s-glow-button/s-glow-button.js +29 -42
  134. package/dist/s-gradient-icon/index.js +2 -4
  135. package/dist/s-gradient-icon/s-gradient-icon.js +124 -79
  136. package/dist/s-i18n-provider/index.js +2 -4
  137. package/dist/s-i18n-provider/s-i18n-provider.js +23 -27
  138. package/dist/s-icon-button/index.js +2 -4
  139. package/dist/s-icon-button/s-icon-button.js +11 -8
  140. package/dist/s-image-comparison/index.js +3 -4
  141. package/dist/s-image-comparison/s-image-comparison.js +169 -207
  142. package/dist/s-image-modal/index.js +3 -5
  143. package/dist/s-image-modal/s-image-modal.js +396 -387
  144. package/dist/s-item-not-found/index.js +1 -3
  145. package/dist/s-item-not-found/s-item-not-found.js +240 -262
  146. package/dist/s-label/index.js +3 -4
  147. package/dist/s-label/s-label.js +3 -17
  148. package/dist/s-label-Bt4vQGGN.js +30 -0
  149. package/dist/s-language-switcher/index.js +3 -6
  150. package/dist/s-language-switcher/s-language-switcher.js +3 -252
  151. package/dist/s-language-switcher-BJP1r1la.js +198 -0
  152. package/dist/s-lazy-image/index.js +2 -4
  153. package/dist/s-lazy-image/s-lazy-image.js +41 -56
  154. package/dist/s-link/index.js +2 -4
  155. package/dist/s-link/s-link.js +30 -37
  156. package/dist/s-localization-provider/index.js +3 -4
  157. package/dist/s-localization-provider/s-localization-provider.js +3 -562
  158. package/dist/s-localization-provider-CeOR72Ti.js +537 -0
  159. package/dist/s-moving-border/index.js +1 -3
  160. package/dist/s-moving-border/s-moving-border.js +117 -131
  161. package/dist/s-multi-select/index.js +3 -4
  162. package/dist/s-multi-select/s-multi-select.js +3 -82
  163. package/dist/s-multi-select-xKP4heeG.js +64 -0
  164. package/dist/s-no-ssr/index.js +2 -4
  165. package/dist/s-no-ssr/s-no-ssr.js +13 -14
  166. package/dist/s-overlay-scrollbar/index.js +2 -4
  167. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +34 -37
  168. package/dist/s-pagination/index.js +2 -4
  169. package/dist/s-pagination/s-pagination.js +32 -15
  170. package/dist/s-pixel-reveal/index.js +3 -4
  171. package/dist/s-pixel-reveal/s-pixel-reveal.js +138 -156
  172. package/dist/s-radial-pulse-animate/index.js +3 -4
  173. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +80 -122
  174. package/dist/s-rating/index.js +1 -3
  175. package/dist/s-rating/s-rating.js +11 -9
  176. package/dist/s-review/index.js +3 -4
  177. package/dist/s-review/s-review.js +3 -160
  178. package/dist/s-review-DOBlCEU2.js +241 -0
  179. package/dist/s-scroll-reveal/index.js +2 -4
  180. package/dist/s-scroll-reveal/s-scroll-reveal.js +68 -64
  181. package/dist/s-scroll-to-top/index.js +3 -4
  182. package/dist/s-scroll-to-top/s-scroll-to-top.js +45 -44
  183. package/dist/s-scroll-velocity/index.js +4 -8
  184. package/dist/s-scroll-velocity/s-scroll-velocity.js +14 -8
  185. package/dist/s-scroll-velocity/scroll-velocity-container.js +25 -30
  186. package/dist/s-scroll-velocity/scroll-velocity-row.js +97 -118
  187. package/dist/s-select/index.js +3 -4
  188. package/dist/s-select/s-select.js +3 -112
  189. package/dist/s-select-DXbeZ0CG.js +110 -0
  190. package/dist/s-select-list/index.js +2 -4
  191. package/dist/s-select-list/s-select-list.js +44 -49
  192. package/dist/s-skeleton/index.js +2 -4
  193. package/dist/s-skeleton/s-skeleton.js +69 -35
  194. package/dist/s-snackbar-message/index.js +2 -6
  195. package/dist/s-snackbar-message/s-snackbar-message.js +48 -61
  196. package/dist/s-spotlight-cursor/index.js +2 -4
  197. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +58 -61
  198. package/dist/s-stripe/index.js +6 -10
  199. package/dist/s-stripe/s-stripe-cvc.js +14 -10
  200. package/dist/s-stripe/s-stripe-expiry.js +14 -10
  201. package/dist/s-stripe/s-stripe-number.js +14 -10
  202. package/dist/s-stripe/s-stripe.js +31 -37
  203. package/dist/s-stripe/stripe-input.js +57 -81
  204. package/dist/s-switch/index.js +1 -3
  205. package/dist/s-switch/s-switch.js +27 -17
  206. package/dist/s-tabs/index.js +4 -8
  207. package/dist/s-tabs/s-tab-panel.js +23 -29
  208. package/dist/s-tabs/s-tab.js +11 -8
  209. package/dist/s-tabs/s-tabs.js +39 -35
  210. package/dist/s-text-editor/index.js +3 -5
  211. package/dist/s-text-editor/s-text-editor-toolbar.js +3 -207
  212. package/dist/s-text-editor/s-text-editor.js +75 -81
  213. package/dist/s-text-editor-toolbar-BDDttdIt.js +177 -0
  214. package/dist/s-text-field/index.js +3 -4
  215. package/dist/s-text-field/s-text-field.js +3 -49
  216. package/dist/s-text-field-ni42E-1x.js +41 -0
  217. package/dist/s-text-shimmer/index.js +3 -4
  218. package/dist/s-text-shimmer/s-text-shimmer.js +31 -32
  219. package/dist/s-text-truncation/index.js +1 -3
  220. package/dist/s-text-truncation/s-text-truncation.js +79 -81
  221. package/dist/s-theme-demo/index.js +3 -4
  222. package/dist/s-theme-demo/s-theme-demo.js +3 -380
  223. package/dist/s-theme-demo-B4pz6fse.js +828 -0
  224. package/dist/s-theme-provider/index.js +3 -4
  225. package/dist/s-theme-provider/s-theme-provider.js +35 -50
  226. package/dist/s-theme-switch/index.js +3 -4
  227. package/dist/s-theme-switch/s-theme-switch.js +3 -41
  228. package/dist/s-theme-switch-CCEdponC.js +37 -0
  229. package/dist/s-tip/index.js +3 -4
  230. package/dist/s-tip/s-tip.js +3 -34
  231. package/dist/s-tip-CG51Q6oR.js +34 -0
  232. package/dist/s-tool-bar/index.js +3 -4
  233. package/dist/s-tool-bar/s-tool-bar.js +3 -478
  234. package/dist/s-tool-bar-C2lZhhJm.js +404 -0
  235. package/dist/s-two-pane-layout/index.js +2 -3
  236. package/dist/s-two-pane-layout/s-two-pane-layout.js +102 -101
  237. package/dist/s-typewriter-text/index.js +2 -4
  238. package/dist/s-typewriter-text/s-typewriter-text.js +39 -45
  239. package/dist/s-zoom-image/index.js +1 -3
  240. package/dist/s-zoom-image/s-zoom-image.js +62 -88
  241. package/dist/select-D9KH9LAz.js +11 -0
  242. package/dist/styled-Dz7rwAje.js +168 -0
  243. package/dist/svgIconClasses-CygVMw0E.js +20 -0
  244. package/dist/tabClasses-CIRFQ-PB.js +21 -0
  245. package/dist/theme/components/accordion-details.js +7 -8
  246. package/dist/theme/components/accordion-summary.js +12 -17
  247. package/dist/theme/components/accordion.js +24 -32
  248. package/dist/theme/components/alert.js +45 -72
  249. package/dist/theme/components/app-bar.js +12 -18
  250. package/dist/theme/components/autocomplete.js +19 -30
  251. package/dist/theme/components/avatar.js +3 -13
  252. package/dist/theme/components/backdrop.js +13 -12
  253. package/dist/theme/components/button-base.js +12 -14
  254. package/dist/theme/components/button.js +92 -138
  255. package/dist/theme/components/card-actions.js +4 -10
  256. package/dist/theme/components/card-content.js +4 -11
  257. package/dist/theme/components/card-header.js +4 -10
  258. package/dist/theme/components/card.js +23 -35
  259. package/dist/theme/components/checkbox.js +3 -65
  260. package/dist/theme/components/chip.js +67 -106
  261. package/dist/theme/components/components.js +112 -111
  262. package/dist/theme/components/container.js +4 -6
  263. package/dist/theme/components/dialog-actions.js +4 -10
  264. package/dist/theme/components/dialog.js +11 -17
  265. package/dist/theme/components/drawer.js +4 -10
  266. package/dist/theme/components/form-control.js +4 -10
  267. package/dist/theme/components/form-label.js +7 -11
  268. package/dist/theme/components/icon-button.js +82 -132
  269. package/dist/theme/components/icon.js +9 -21
  270. package/dist/theme/components/input-adornment.js +7 -13
  271. package/dist/theme/components/input-base.js +10 -16
  272. package/dist/theme/components/linear-progress.js +11 -16
  273. package/dist/theme/components/link.js +31 -37
  274. package/dist/theme/components/list-item-button.js +27 -44
  275. package/dist/theme/components/list-item-icon.js +4 -10
  276. package/dist/theme/components/list-item-text.js +14 -16
  277. package/dist/theme/components/list-item.js +12 -20
  278. package/dist/theme/components/list-subheader.js +10 -14
  279. package/dist/theme/components/list.js +9 -13
  280. package/dist/theme/components/menu-item.js +7 -8
  281. package/dist/theme/components/menu.js +20 -22
  282. package/dist/theme/components/outlined-input.js +41 -64
  283. package/dist/theme/components/pagination-item.js +8 -18
  284. package/dist/theme/components/paper.js +4 -8
  285. package/dist/theme/components/popover.js +11 -13
  286. package/dist/theme/components/rating.js +4 -8
  287. package/dist/theme/components/select.js +3 -13
  288. package/dist/theme/components/skeleton.js +4 -10
  289. package/dist/theme/components/slider.js +4 -8
  290. package/dist/theme/components/step-connector.js +9 -13
  291. package/dist/theme/components/step-icon.js +39 -46
  292. package/dist/theme/components/step-label.js +7 -13
  293. package/dist/theme/components/svg-icon.js +20 -37
  294. package/dist/theme/components/tab.js +20 -34
  295. package/dist/theme/components/table-cell.js +4 -10
  296. package/dist/theme/components/table-pagination.js +14 -18
  297. package/dist/theme/components/tabs.js +20 -24
  298. package/dist/theme/components/toggle-button-group.js +3 -23
  299. package/dist/theme/components/toggle-button.js +3 -21
  300. package/dist/theme/components/tooltip.js +23 -23
  301. package/dist/theme/theme-primitives.js +3 -410
  302. package/dist/theme-primitives-BG66N-x4.js +398 -0
  303. package/dist/toggle-button-BI6z89CX.js +26 -0
  304. package/dist/toggle-button-group-Dzzh9mXv.js +28 -0
  305. package/dist/typographyClasses-C0nDz5e6.js +32 -0
  306. package/dist/useControlled-CvWtMQJF.js +32 -0
  307. package/dist/useEnhancedEffect-NLLl34XR.js +5 -0
  308. package/dist/useFormControl-ngLNi8dL.js +11 -0
  309. package/dist/useMobilePicker-DdH0AzNe.js +10635 -0
  310. package/dist/useTheme-BES_k_99.js +34 -0
  311. package/dist/useThemeProps-CJRFdjVv.js +19 -0
  312. package/dist/utils/dayjs.js +161 -113
  313. package/dist/utils/index.js +3 -11
  314. package/dist/utils/logger.js +45 -46
  315. package/dist/utils-Cu16ybRR.js +72 -0
  316. package/dist/warning-D7iWhOZI.js +110 -0
  317. package/package.json +29 -29
  318. package/dist/ArrowUpward-D8eqD-si.js +0 -8
  319. package/dist/Box-BkXoTbe8.js +0 -62
  320. package/dist/ButtonBase-D73M0QY5.js +0 -1099
  321. package/dist/ChevronLeft-BmgmPHp9.js +0 -8
  322. package/dist/ChevronRight-DbWSr8yz.js +0 -8
  323. package/dist/Close-lHCUMitI.js +0 -8
  324. package/dist/ContentCopy-D4SuJd86.js +0 -11
  325. package/dist/DefaultPropsProvider-DPuuPIbS.js +0 -64
  326. package/dist/Download-BoRQUwCf.js +0 -8
  327. package/dist/ExpandMore-C7yRQv1-.js +0 -8
  328. package/dist/Favorite-Bz_HcMgN.js +0 -8
  329. package/dist/Menu-GVFDMHCN.js +0 -2441
  330. package/dist/MenuItem-2wG8I2HO.js +0 -269
  331. package/dist/Paper-CR019bki.js +0 -553
  332. package/dist/Select-D2l9rDWL.js +0 -3966
  333. package/dist/Stack-Dfjnuorw.js +0 -174
  334. package/dist/Typography-PcmlIqm1.js +0 -253
  335. package/dist/_commonjsHelpers-ByX85dGu.js +0 -33
  336. package/dist/buttonBaseClasses-jtnoTmPn.js +0 -10
  337. package/dist/clsx-OuTLNxxd.js +0 -16
  338. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  339. package/dist/createSvgIcon-BkbeLOhM.js +0 -242
  340. package/dist/createTheme-DgoJyWM-.js +0 -2929
  341. package/dist/defaultTheme-CulFxfLR.js +0 -5
  342. package/dist/extendSxProp-BJEIxcAx.js +0 -36
  343. package/dist/generateUtilityClass-BhfUaMgk.js +0 -35
  344. package/dist/generateUtilityClasses-E9gROIFd.js +0 -10
  345. package/dist/iconButtonClasses-BMfIhNTh.js +0 -10
  346. package/dist/identifier-BKLqN993.js +0 -4
  347. package/dist/index-D3G5Rwl-.js +0 -211
  348. package/dist/index-DtGYsHSv.js +0 -94
  349. package/dist/jsx-runtime-tc70JA_2.js +0 -264
  350. package/dist/mergeSlotProps-CuzBQdlp.js +0 -62
  351. package/dist/objectWithoutPropertiesLoose-DiWPeE4c.js +0 -22
  352. package/dist/outlinedInputClasses-DnwW3ujt.js +0 -19
  353. package/dist/resolveProps-BDH0VJjn.js +0 -39
  354. package/dist/styled-8Y5KoVix.js +0 -203
  355. package/dist/svgIconClasses-C6auqaBA.js +0 -10
  356. package/dist/tabClasses-DFvXsFrN.js +0 -10
  357. package/dist/typographyClasses-jmoWZuXc.js +0 -10
  358. package/dist/useControlled-D1L5tREc.js +0 -31
  359. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  360. package/dist/useFormControl-CatNKXAi.js +0 -10
  361. package/dist/useMobilePicker-B-bNHHXB.js +0 -13498
  362. package/dist/useTheme-CWPkv7g3.js +0 -18
  363. package/dist/useThemeProps-XYgXGzjS.js +0 -27
  364. package/dist/utils-D1UMIV0b.js +0 -40
  365. package/dist/warning-Ba-7BBAN.js +0 -135
@@ -0,0 +1,801 @@
1
+ import { n as e } from "./chunk-efA98nb6.js";
2
+ import { g as t } from "./createTheme-DuS5_nJb.js";
3
+ import { o as n, t as r } from "./DefaultPropsProvider-DpRXvTbj.js";
4
+ import { r as i } from "./useTheme-BES_k_99.js";
5
+ import { o as a } from "./identifier-_S1f0Pg2.js";
6
+ import { t as o } from "./generateUtilityClasses-BMwEKe3O.js";
7
+ import { t as s } from "./styled-Dz7rwAje.js";
8
+ import { t as c } from "./useEnhancedEffect-NLLl34XR.js";
9
+ import { n as l, t as u } from "./objectWithoutPropertiesLoose-BdL2_POW.js";
10
+ import { n as d, t as f } from "./buttonBaseClasses-CzfJbQi5.js";
11
+ import * as p from "react";
12
+ import m, { Children as h, cloneElement as g, isValidElement as _ } from "react";
13
+ import { jsx as v, jsxs as y } from "react/jsx-runtime";
14
+ //#region ../../node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js
15
+ function b(e) {
16
+ let t = p.useRef(e);
17
+ return c(() => {
18
+ t.current = e;
19
+ }), p.useRef((...e) => (0, t.current)(...e)).current;
20
+ }
21
+ //#endregion
22
+ //#region ../../node_modules/@mui/material/esm/utils/useEventCallback.js
23
+ var x = b;
24
+ //#endregion
25
+ //#region ../../node_modules/@mui/utils/esm/useForkRef/useForkRef.js
26
+ function S(...e) {
27
+ let t = p.useRef(void 0), n = p.useCallback((t) => {
28
+ let n = e.map((e) => {
29
+ if (e == null) return null;
30
+ if (typeof e == "function") {
31
+ let n = e, r = n(t);
32
+ return typeof r == "function" ? r : () => {
33
+ n(null);
34
+ };
35
+ }
36
+ return e.current = t, () => {
37
+ e.current = null;
38
+ };
39
+ });
40
+ return () => {
41
+ n.forEach((e) => e?.());
42
+ };
43
+ }, e);
44
+ return p.useMemo(() => e.every((e) => e == null) ? null : (e) => {
45
+ t.current &&= (t.current(), void 0), e != null && (t.current = n(e));
46
+ }, e);
47
+ }
48
+ //#endregion
49
+ //#region ../../node_modules/@mui/material/esm/utils/useForkRef.js
50
+ var C = S;
51
+ //#endregion
52
+ //#region ../../node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js
53
+ function w(e, t) {
54
+ return process.env.NODE_ENV === "production" ? () => null : function(...n) {
55
+ return e(...n) || t(...n);
56
+ };
57
+ }
58
+ //#endregion
59
+ //#region ../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
60
+ function T(e, t) {
61
+ return T = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
62
+ return e.__proto__ = t, e;
63
+ }, T(e, t);
64
+ }
65
+ //#endregion
66
+ //#region ../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
67
+ function E(e, t) {
68
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, T(e, t);
69
+ }
70
+ //#endregion
71
+ //#region ../../node_modules/react-transition-group/esm/TransitionGroupContext.js
72
+ var D = m.createContext(null);
73
+ //#endregion
74
+ //#region ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
75
+ function O(e) {
76
+ if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
77
+ return e;
78
+ }
79
+ //#endregion
80
+ //#region ../../node_modules/react-transition-group/esm/utils/ChildMapping.js
81
+ function k(e, t) {
82
+ var n = function(e) {
83
+ return t && _(e) ? t(e) : e;
84
+ }, r = Object.create(null);
85
+ return e && h.map(e, function(e) {
86
+ return e;
87
+ }).forEach(function(e) {
88
+ r[e.key] = n(e);
89
+ }), r;
90
+ }
91
+ function ee(e, t) {
92
+ e ||= {}, t ||= {};
93
+ function n(n) {
94
+ return n in t ? t[n] : e[n];
95
+ }
96
+ var r = Object.create(null), i = [];
97
+ for (var a in e) a in t ? i.length && (r[a] = i, i = []) : i.push(a);
98
+ var o, s = {};
99
+ for (var c in t) {
100
+ if (r[c]) for (o = 0; o < r[c].length; o++) {
101
+ var l = r[c][o];
102
+ s[r[c][o]] = n(l);
103
+ }
104
+ s[c] = n(c);
105
+ }
106
+ for (o = 0; o < i.length; o++) s[i[o]] = n(i[o]);
107
+ return s;
108
+ }
109
+ function A(e, t, n) {
110
+ return n[t] == null ? e.props[t] : n[t];
111
+ }
112
+ function te(e, t) {
113
+ return k(e.children, function(n) {
114
+ return g(n, {
115
+ onExited: t.bind(null, n),
116
+ in: !0,
117
+ appear: A(n, "appear", e),
118
+ enter: A(n, "enter", e),
119
+ exit: A(n, "exit", e)
120
+ });
121
+ });
122
+ }
123
+ function ne(e, t, n) {
124
+ var r = k(e.children), i = ee(t, r);
125
+ return Object.keys(i).forEach(function(a) {
126
+ var o = i[a];
127
+ if (_(o)) {
128
+ var s = a in t, c = a in r, l = t[a], u = _(l) && !l.props.in;
129
+ c && (!s || u) ? i[a] = g(o, {
130
+ onExited: n.bind(null, o),
131
+ in: !0,
132
+ exit: A(o, "exit", e),
133
+ enter: A(o, "enter", e)
134
+ }) : !c && s && !u ? i[a] = g(o, { in: !1 }) : c && s && _(l) && (i[a] = g(o, {
135
+ onExited: n.bind(null, o),
136
+ in: l.props.in,
137
+ exit: A(o, "exit", e),
138
+ enter: A(o, "enter", e)
139
+ }));
140
+ }
141
+ }), i;
142
+ }
143
+ //#endregion
144
+ //#region ../../node_modules/react-transition-group/esm/TransitionGroup.js
145
+ var j = /* @__PURE__ */ e(t()), M = Object.values || function(e) {
146
+ return Object.keys(e).map(function(t) {
147
+ return e[t];
148
+ });
149
+ }, re = {
150
+ component: "div",
151
+ childFactory: function(e) {
152
+ return e;
153
+ }
154
+ }, N = /* @__PURE__ */ function(e) {
155
+ E(t, e);
156
+ function t(t, n) {
157
+ var r = e.call(this, t, n) || this;
158
+ return r.state = {
159
+ contextValue: { isMounting: !0 },
160
+ handleExited: r.handleExited.bind(O(r)),
161
+ firstRender: !0
162
+ }, r;
163
+ }
164
+ var n = t.prototype;
165
+ return n.componentDidMount = function() {
166
+ this.mounted = !0, this.setState({ contextValue: { isMounting: !1 } });
167
+ }, n.componentWillUnmount = function() {
168
+ this.mounted = !1;
169
+ }, t.getDerivedStateFromProps = function(e, t) {
170
+ var n = t.children, r = t.handleExited;
171
+ return {
172
+ children: t.firstRender ? te(e, r) : ne(e, n, r),
173
+ firstRender: !1
174
+ };
175
+ }, n.handleExited = function(e, t) {
176
+ var n = k(this.props.children);
177
+ e.key in n || (e.props.onExited && e.props.onExited(t), this.mounted && this.setState(function(t) {
178
+ var n = l({}, t.children);
179
+ return delete n[e.key], { children: n };
180
+ }));
181
+ }, n.render = function() {
182
+ var e = this.props, t = e.component, n = e.childFactory, r = u(e, ["component", "childFactory"]), i = this.state.contextValue, a = M(this.state.children).map(n);
183
+ return delete r.appear, delete r.enter, delete r.exit, t === null ? /* @__PURE__ */ m.createElement(D.Provider, { value: i }, a) : /* @__PURE__ */ m.createElement(D.Provider, { value: i }, /* @__PURE__ */ m.createElement(t, r, a));
184
+ }, t;
185
+ }(m.Component);
186
+ N.propTypes = process.env.NODE_ENV === "production" ? {} : {
187
+ component: j.default.any,
188
+ children: j.default.node,
189
+ appear: j.default.bool,
190
+ enter: j.default.bool,
191
+ exit: j.default.bool,
192
+ childFactory: j.default.func
193
+ }, N.defaultProps = re;
194
+ //#endregion
195
+ //#region ../../node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js
196
+ var P = {};
197
+ function F(e, t) {
198
+ let n = p.useRef(P);
199
+ return n.current === P && (n.current = e(t)), n;
200
+ }
201
+ //#endregion
202
+ //#region ../../node_modules/@mui/utils/esm/useOnMount/useOnMount.js
203
+ var I = [];
204
+ function L(e) {
205
+ p.useEffect(e, I);
206
+ }
207
+ //#endregion
208
+ //#region ../../node_modules/@mui/utils/esm/useTimeout/useTimeout.js
209
+ var ie = class e {
210
+ static create() {
211
+ return new e();
212
+ }
213
+ currentId = null;
214
+ start(e, t) {
215
+ this.clear(), this.currentId = setTimeout(() => {
216
+ this.currentId = null, t();
217
+ }, e);
218
+ }
219
+ clear = () => {
220
+ this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
221
+ };
222
+ disposeEffect = () => this.clear;
223
+ };
224
+ function R() {
225
+ let e = F(ie.create).current;
226
+ return L(e.disposeEffect), e;
227
+ }
228
+ //#endregion
229
+ //#region ../../node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js
230
+ function z(e) {
231
+ let { prototype: t = {} } = e;
232
+ return !!t.isReactComponent;
233
+ }
234
+ function ae(e, t, n, r, i) {
235
+ let a = e[t], o = i || t;
236
+ if (a == null || typeof window > "u") return null;
237
+ let s;
238
+ return typeof a == "function" && !z(a) && (s = "Did you accidentally provide a plain function component instead?"), a === p.Fragment && (s = "Did you accidentally provide a React.Fragment instead?"), s === void 0 ? null : /* @__PURE__ */ Error(`Invalid ${r} \`${o}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`);
239
+ }
240
+ var B = w(j.default.elementType, ae);
241
+ //#endregion
242
+ //#region ../../node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js
243
+ function V(e) {
244
+ return typeof e == "string";
245
+ }
246
+ //#endregion
247
+ //#region ../../node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js
248
+ function H(e, t, n) {
249
+ return e === void 0 || V(e) ? t : {
250
+ ...t,
251
+ ownerState: {
252
+ ...t.ownerState,
253
+ ...n
254
+ }
255
+ };
256
+ }
257
+ //#endregion
258
+ //#region ../../node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js
259
+ function U(e, t, n) {
260
+ return typeof e == "function" ? e(t, n) : e;
261
+ }
262
+ //#endregion
263
+ //#region ../../node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js
264
+ function W(e, t = []) {
265
+ if (e === void 0) return {};
266
+ let n = {};
267
+ return Object.keys(e).filter((n) => n.match(/^on[A-Z]/) && typeof e[n] == "function" && !t.includes(n)).forEach((t) => {
268
+ n[t] = e[t];
269
+ }), n;
270
+ }
271
+ //#endregion
272
+ //#region ../../node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js
273
+ function G(e) {
274
+ if (e === void 0) return {};
275
+ let t = {};
276
+ return Object.keys(e).filter((t) => !(t.match(/^on[A-Z]/) && typeof e[t] == "function")).forEach((n) => {
277
+ t[n] = e[n];
278
+ }), t;
279
+ }
280
+ //#endregion
281
+ //#region ../../node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js
282
+ function K(e) {
283
+ let { getSlotProps: t, additionalProps: n, externalSlotProps: r, externalForwardedProps: a, className: o } = e;
284
+ if (!t) {
285
+ let e = i(n?.className, o, a?.className, r?.className), t = {
286
+ ...n?.style,
287
+ ...a?.style,
288
+ ...r?.style
289
+ }, s = {
290
+ ...n,
291
+ ...a,
292
+ ...r
293
+ };
294
+ return e.length > 0 && (s.className = e), Object.keys(t).length > 0 && (s.style = t), {
295
+ props: s,
296
+ internalRef: void 0
297
+ };
298
+ }
299
+ let s = W({
300
+ ...a,
301
+ ...r
302
+ }), c = G(r), l = G(a), u = t(s), d = i(u?.className, n?.className, o, a?.className, r?.className), f = {
303
+ ...u?.style,
304
+ ...n?.style,
305
+ ...a?.style,
306
+ ...r?.style
307
+ }, p = {
308
+ ...u,
309
+ ...n,
310
+ ...l,
311
+ ...c
312
+ };
313
+ return d.length > 0 && (p.className = d), Object.keys(f).length > 0 && (p.style = f), {
314
+ props: p,
315
+ internalRef: u.ref
316
+ };
317
+ }
318
+ //#endregion
319
+ //#region ../../node_modules/@mui/material/esm/utils/useSlot.js
320
+ function oe(e, t) {
321
+ let { className: n, elementType: r, ownerState: i, externalForwardedProps: a, internalForwardedProps: o, shouldForwardComponentProp: s = !1, ...c } = t, { component: l, slots: u = { [e]: void 0 }, slotProps: d = { [e]: void 0 }, ...f } = a, p = u[e] || r, m = U(d[e], i), { props: { component: h, ...g }, internalRef: _ } = K({
322
+ className: n,
323
+ ...c,
324
+ externalForwardedProps: e === "root" ? f : void 0,
325
+ externalSlotProps: m
326
+ }), v = S(_, m?.ref, t.ref), y = e === "root" ? h || l : h;
327
+ return [p, H(p, {
328
+ ...e === "root" && !l && !u[e] && o,
329
+ ...e !== "root" && !u[e] && o,
330
+ ...g,
331
+ ...y && !s && { as: y },
332
+ ...y && s && { component: y },
333
+ ref: v
334
+ }, i)];
335
+ }
336
+ //#endregion
337
+ //#region ../../node_modules/@mui/utils/esm/refType/refType.js
338
+ var q = j.default.oneOfType([j.default.func, j.default.object]);
339
+ //#endregion
340
+ //#region ../../node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js
341
+ function se(e) {
342
+ try {
343
+ return e.matches(":focus-visible");
344
+ } catch {
345
+ process.env.NODE_ENV !== "production" && !window.navigator.userAgent.includes("jsdom") && console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.", "Some components rely on this feature to work properly."].join("\n"));
346
+ }
347
+ return !1;
348
+ }
349
+ //#endregion
350
+ //#region ../../node_modules/@mui/material/esm/useLazyRipple/useLazyRipple.js
351
+ var ce = class e {
352
+ static create() {
353
+ return new e();
354
+ }
355
+ static use() {
356
+ let t = F(e.create).current, [n, r] = p.useState(!1);
357
+ return t.shouldMount = n, t.setShouldMount = r, p.useEffect(t.mountEffect, [n]), t;
358
+ }
359
+ constructor() {
360
+ this.ref = { current: null }, this.mounted = null, this.didMount = !1, this.shouldMount = !1, this.setShouldMount = null;
361
+ }
362
+ mount() {
363
+ return this.mounted || (this.mounted = J(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
364
+ }
365
+ mountEffect = () => {
366
+ this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
367
+ };
368
+ start(...e) {
369
+ this.mount().then(() => this.ref.current?.start(...e));
370
+ }
371
+ stop(...e) {
372
+ this.mount().then(() => this.ref.current?.stop(...e));
373
+ }
374
+ pulsate(...e) {
375
+ this.mount().then(() => this.ref.current?.pulsate(...e));
376
+ }
377
+ };
378
+ function le() {
379
+ return ce.use();
380
+ }
381
+ function J() {
382
+ let e, t, n = new Promise((n, r) => {
383
+ e = n, t = r;
384
+ });
385
+ return n.resolve = e, n.reject = t, n;
386
+ }
387
+ //#endregion
388
+ //#region ../../node_modules/@mui/material/esm/ButtonBase/Ripple.js
389
+ function Y(e) {
390
+ let { className: t, classes: n, pulsate: r = !1, rippleX: a, rippleY: o, rippleSize: s, in: c, onExited: l, timeout: u } = e, [d, f] = p.useState(!1), m = i(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), h = {
391
+ width: s,
392
+ height: s,
393
+ top: -(s / 2) + o,
394
+ left: -(s / 2) + a
395
+ }, g = i(n.child, d && n.childLeaving, r && n.childPulsate);
396
+ return !c && !d && f(!0), p.useEffect(() => {
397
+ if (!c && l != null) {
398
+ let e = setTimeout(l, u);
399
+ return () => {
400
+ clearTimeout(e);
401
+ };
402
+ }
403
+ }, [
404
+ l,
405
+ c,
406
+ u
407
+ ]), /* @__PURE__ */ v("span", {
408
+ className: m,
409
+ style: h,
410
+ children: /* @__PURE__ */ v("span", { className: g })
411
+ });
412
+ }
413
+ process.env.NODE_ENV !== "production" && (Y.propTypes = {
414
+ classes: j.default.object.isRequired,
415
+ className: j.default.string,
416
+ in: j.default.bool,
417
+ onExited: j.default.func,
418
+ pulsate: j.default.bool,
419
+ rippleSize: j.default.number,
420
+ rippleX: j.default.number,
421
+ rippleY: j.default.number,
422
+ timeout: j.default.number.isRequired
423
+ });
424
+ //#endregion
425
+ //#region ../../node_modules/@mui/material/esm/ButtonBase/touchRippleClasses.js
426
+ var X = o("MuiTouchRipple", [
427
+ "root",
428
+ "ripple",
429
+ "rippleVisible",
430
+ "ripplePulsate",
431
+ "child",
432
+ "childLeaving",
433
+ "childPulsate"
434
+ ]), Z = 550, Q = a`
435
+ 0% {
436
+ transform: scale(0);
437
+ opacity: 0.1;
438
+ }
439
+
440
+ 100% {
441
+ transform: scale(1);
442
+ opacity: 0.3;
443
+ }
444
+ `, ue = a`
445
+ 0% {
446
+ opacity: 1;
447
+ }
448
+
449
+ 100% {
450
+ opacity: 0;
451
+ }
452
+ `, de = a`
453
+ 0% {
454
+ transform: scale(1);
455
+ }
456
+
457
+ 50% {
458
+ transform: scale(0.92);
459
+ }
460
+
461
+ 100% {
462
+ transform: scale(1);
463
+ }
464
+ `, fe = s("span", {
465
+ name: "MuiTouchRipple",
466
+ slot: "Root"
467
+ })({
468
+ overflow: "hidden",
469
+ pointerEvents: "none",
470
+ position: "absolute",
471
+ zIndex: 0,
472
+ top: 0,
473
+ right: 0,
474
+ bottom: 0,
475
+ left: 0,
476
+ borderRadius: "inherit"
477
+ }), pe = s(Y, {
478
+ name: "MuiTouchRipple",
479
+ slot: "Ripple"
480
+ })`
481
+ opacity: 0;
482
+ position: absolute;
483
+
484
+ &.${X.rippleVisible} {
485
+ opacity: 0.3;
486
+ transform: scale(1);
487
+ animation-name: ${Q};
488
+ animation-duration: ${Z}ms;
489
+ animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut};
490
+ }
491
+
492
+ &.${X.ripplePulsate} {
493
+ animation-duration: ${({ theme: e }) => e.transitions.duration.shorter}ms;
494
+ }
495
+
496
+ & .${X.child} {
497
+ opacity: 1;
498
+ display: block;
499
+ width: 100%;
500
+ height: 100%;
501
+ border-radius: 50%;
502
+ background-color: currentColor;
503
+ }
504
+
505
+ & .${X.childLeaving} {
506
+ opacity: 0;
507
+ animation-name: ${ue};
508
+ animation-duration: ${Z}ms;
509
+ animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut};
510
+ }
511
+
512
+ & .${X.childPulsate} {
513
+ position: absolute;
514
+ /* @noflip */
515
+ left: 0px;
516
+ top: 0;
517
+ animation-name: ${de};
518
+ animation-duration: 2500ms;
519
+ animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut};
520
+ animation-iteration-count: infinite;
521
+ animation-delay: 200ms;
522
+ }
523
+ `, me = /* @__PURE__ */ p.forwardRef(function(e, t) {
524
+ let { center: n = !1, classes: a = {}, className: o, ...s } = r({
525
+ props: e,
526
+ name: "MuiTouchRipple"
527
+ }), [c, l] = p.useState([]), u = p.useRef(0), d = p.useRef(null);
528
+ p.useEffect(() => {
529
+ d.current &&= (d.current(), null);
530
+ }, [c]);
531
+ let f = p.useRef(!1), m = R(), h = p.useRef(null), g = p.useRef(null), _ = p.useCallback((e) => {
532
+ let { pulsate: t, rippleX: n, rippleY: r, rippleSize: o, cb: s } = e;
533
+ l((e) => [...e, /* @__PURE__ */ v(pe, {
534
+ classes: {
535
+ ripple: i(a.ripple, X.ripple),
536
+ rippleVisible: i(a.rippleVisible, X.rippleVisible),
537
+ ripplePulsate: i(a.ripplePulsate, X.ripplePulsate),
538
+ child: i(a.child, X.child),
539
+ childLeaving: i(a.childLeaving, X.childLeaving),
540
+ childPulsate: i(a.childPulsate, X.childPulsate)
541
+ },
542
+ timeout: Z,
543
+ pulsate: t,
544
+ rippleX: n,
545
+ rippleY: r,
546
+ rippleSize: o
547
+ }, u.current)]), u.current += 1, d.current = s;
548
+ }, [a]), y = p.useCallback((e = {}, t = {}, r = () => {}) => {
549
+ let { pulsate: i = !1, center: a = n || t.pulsate, fakeElement: o = !1 } = t;
550
+ if (e?.type === "mousedown" && f.current) {
551
+ f.current = !1;
552
+ return;
553
+ }
554
+ e?.type === "touchstart" && (f.current = !0);
555
+ let s = o ? null : g.current, c = s ? s.getBoundingClientRect() : {
556
+ width: 0,
557
+ height: 0,
558
+ left: 0,
559
+ top: 0
560
+ }, l, u, d;
561
+ if (a || e === void 0 || e.clientX === 0 && e.clientY === 0 || !e.clientX && !e.touches) l = Math.round(c.width / 2), u = Math.round(c.height / 2);
562
+ else {
563
+ let { clientX: t, clientY: n } = e.touches && e.touches.length > 0 ? e.touches[0] : e;
564
+ l = Math.round(t - c.left), u = Math.round(n - c.top);
565
+ }
566
+ if (a) d = Math.sqrt((2 * c.width ** 2 + c.height ** 2) / 3), d % 2 == 0 && (d += 1);
567
+ else {
568
+ let e = Math.max(Math.abs((s ? s.clientWidth : 0) - l), l) * 2 + 2, t = Math.max(Math.abs((s ? s.clientHeight : 0) - u), u) * 2 + 2;
569
+ d = Math.sqrt(e ** 2 + t ** 2);
570
+ }
571
+ e?.touches ? h.current === null && (h.current = () => {
572
+ _({
573
+ pulsate: i,
574
+ rippleX: l,
575
+ rippleY: u,
576
+ rippleSize: d,
577
+ cb: r
578
+ });
579
+ }, m.start(80, () => {
580
+ h.current &&= (h.current(), null);
581
+ })) : _({
582
+ pulsate: i,
583
+ rippleX: l,
584
+ rippleY: u,
585
+ rippleSize: d,
586
+ cb: r
587
+ });
588
+ }, [
589
+ n,
590
+ _,
591
+ m
592
+ ]), b = p.useCallback(() => {
593
+ y({}, { pulsate: !0 });
594
+ }, [y]), x = p.useCallback((e, t) => {
595
+ if (m.clear(), e?.type === "touchend" && h.current) {
596
+ h.current(), h.current = null, m.start(0, () => {
597
+ x(e, t);
598
+ });
599
+ return;
600
+ }
601
+ h.current = null, l((e) => e.length > 0 ? e.slice(1) : e), d.current = t;
602
+ }, [m]);
603
+ return p.useImperativeHandle(t, () => ({
604
+ pulsate: b,
605
+ start: y,
606
+ stop: x
607
+ }), [
608
+ b,
609
+ y,
610
+ x
611
+ ]), /* @__PURE__ */ v(fe, {
612
+ className: i(X.root, a.root, o),
613
+ ref: g,
614
+ ...s,
615
+ children: /* @__PURE__ */ v(N, {
616
+ component: null,
617
+ exit: !0,
618
+ children: c
619
+ })
620
+ });
621
+ });
622
+ process.env.NODE_ENV !== "production" && (me.propTypes = {
623
+ center: j.default.bool,
624
+ classes: j.default.object,
625
+ className: j.default.string
626
+ });
627
+ //#endregion
628
+ //#region ../../node_modules/@mui/material/esm/ButtonBase/ButtonBase.js
629
+ var he = (e) => {
630
+ let { disabled: t, focusVisible: r, focusVisibleClassName: i, classes: a } = e, o = n({ root: [
631
+ "root",
632
+ t && "disabled",
633
+ r && "focusVisible"
634
+ ] }, d, a);
635
+ return r && i && (o.root += ` ${i}`), o;
636
+ }, ge = s("button", {
637
+ name: "MuiButtonBase",
638
+ slot: "Root"
639
+ })({
640
+ display: "inline-flex",
641
+ alignItems: "center",
642
+ justifyContent: "center",
643
+ position: "relative",
644
+ boxSizing: "border-box",
645
+ WebkitTapHighlightColor: "transparent",
646
+ backgroundColor: "transparent",
647
+ outline: 0,
648
+ border: 0,
649
+ margin: 0,
650
+ borderRadius: 0,
651
+ padding: 0,
652
+ cursor: "pointer",
653
+ userSelect: "none",
654
+ verticalAlign: "middle",
655
+ MozAppearance: "none",
656
+ WebkitAppearance: "none",
657
+ textDecoration: "none",
658
+ color: "inherit",
659
+ "&::-moz-focus-inner": { borderStyle: "none" },
660
+ [`&.${f.disabled}`]: {
661
+ pointerEvents: "none",
662
+ cursor: "default"
663
+ },
664
+ "@media print": { colorAdjust: "exact" }
665
+ }), _e = /* @__PURE__ */ p.forwardRef(function(e, t) {
666
+ let n = r({
667
+ props: e,
668
+ name: "MuiButtonBase"
669
+ }), { action: a, centerRipple: o = !1, children: s, className: c, component: l = "button", disabled: u = !1, disableRipple: d = !1, disableTouchRipple: f = !1, focusRipple: m = !1, focusVisibleClassName: h, LinkComponent: g = "a", onBlur: _, onClick: b, onContextMenu: S, onDragLeave: w, onFocus: T, onFocusVisible: E, onKeyDown: D, onKeyUp: O, onMouseDown: k, onMouseLeave: ee, onMouseUp: A, onTouchEnd: te, onTouchMove: ne, onTouchStart: j, tabIndex: M = 0, TouchRippleProps: re, touchRippleRef: N, type: P, ...F } = n, I = p.useRef(null), L = le(), ie = C(L.ref, N), [R, z] = p.useState(!1);
670
+ u && R && z(!1), p.useImperativeHandle(a, () => ({ focusVisible: () => {
671
+ z(!0), I.current.focus();
672
+ } }), []);
673
+ let ae = L.shouldMount && !d && !u;
674
+ p.useEffect(() => {
675
+ R && m && !d && L.pulsate();
676
+ }, [
677
+ d,
678
+ m,
679
+ R,
680
+ L
681
+ ]);
682
+ let B = $(L, "start", k, f), V = $(L, "stop", S, f), H = $(L, "stop", w, f), U = $(L, "stop", A, f), W = $(L, "stop", (e) => {
683
+ R && e.preventDefault(), ee && ee(e);
684
+ }, f), G = $(L, "start", j, f), K = $(L, "stop", te, f), oe = $(L, "stop", ne, f), q = $(L, "stop", (e) => {
685
+ se(e.target) || z(!1), _ && _(e);
686
+ }, !1), ce = x((e) => {
687
+ I.current ||= e.currentTarget, se(e.target) && (z(!0), E && E(e)), T && T(e);
688
+ }), J = () => {
689
+ let e = I.current;
690
+ return l && l !== "button" && !(e.tagName === "A" && e.href);
691
+ }, Y = x((e) => {
692
+ m && !e.repeat && R && e.key === " " && L.stop(e, () => {
693
+ L.start(e);
694
+ }), e.target === e.currentTarget && J() && e.key === " " && e.preventDefault(), D && D(e), e.target === e.currentTarget && J() && e.key === "Enter" && !u && (e.preventDefault(), b && b(e));
695
+ }), X = x((e) => {
696
+ m && e.key === " " && R && !e.defaultPrevented && L.stop(e, () => {
697
+ L.pulsate(e);
698
+ }), O && O(e), b && e.target === e.currentTarget && J() && e.key === " " && !e.defaultPrevented && b(e);
699
+ }), Z = l;
700
+ Z === "button" && (F.href || F.to) && (Z = g);
701
+ let Q = {};
702
+ if (Z === "button") {
703
+ let e = !!F.formAction;
704
+ Q.type = P === void 0 && !e ? "button" : P, Q.disabled = u;
705
+ } else !F.href && !F.to && (Q.role = "button"), u && (Q["aria-disabled"] = u);
706
+ let ue = C(t, I), de = {
707
+ ...n,
708
+ centerRipple: o,
709
+ component: l,
710
+ disabled: u,
711
+ disableRipple: d,
712
+ disableTouchRipple: f,
713
+ focusRipple: m,
714
+ tabIndex: M,
715
+ focusVisible: R
716
+ }, fe = he(de);
717
+ return /* @__PURE__ */ y(ge, {
718
+ as: Z,
719
+ className: i(fe.root, c),
720
+ ownerState: de,
721
+ onBlur: q,
722
+ onClick: b,
723
+ onContextMenu: V,
724
+ onFocus: ce,
725
+ onKeyDown: Y,
726
+ onKeyUp: X,
727
+ onMouseDown: B,
728
+ onMouseLeave: W,
729
+ onMouseUp: U,
730
+ onDragLeave: H,
731
+ onTouchEnd: K,
732
+ onTouchMove: oe,
733
+ onTouchStart: G,
734
+ ref: ue,
735
+ tabIndex: u ? -1 : M,
736
+ type: P,
737
+ ...Q,
738
+ ...F,
739
+ children: [s, ae ? /* @__PURE__ */ v(me, {
740
+ ref: ie,
741
+ center: o,
742
+ ...re
743
+ }) : null]
744
+ });
745
+ });
746
+ function $(e, t, n, r = !1) {
747
+ return x((i) => (n && n(i), r || e[t](i), !0));
748
+ }
749
+ process.env.NODE_ENV !== "production" && (_e.propTypes = {
750
+ action: q,
751
+ centerRipple: j.default.bool,
752
+ children: j.default.node,
753
+ classes: j.default.object,
754
+ className: j.default.string,
755
+ component: B,
756
+ disabled: j.default.bool,
757
+ disableRipple: j.default.bool,
758
+ disableTouchRipple: j.default.bool,
759
+ focusRipple: j.default.bool,
760
+ focusVisibleClassName: j.default.string,
761
+ formAction: j.default.oneOfType([j.default.func, j.default.string]),
762
+ href: j.default.any,
763
+ LinkComponent: j.default.elementType,
764
+ onBlur: j.default.func,
765
+ onClick: j.default.func,
766
+ onContextMenu: j.default.func,
767
+ onDragLeave: j.default.func,
768
+ onFocus: j.default.func,
769
+ onFocusVisible: j.default.func,
770
+ onKeyDown: j.default.func,
771
+ onKeyUp: j.default.func,
772
+ onMouseDown: j.default.func,
773
+ onMouseLeave: j.default.func,
774
+ onMouseUp: j.default.func,
775
+ onTouchEnd: j.default.func,
776
+ onTouchMove: j.default.func,
777
+ onTouchStart: j.default.func,
778
+ sx: j.default.oneOfType([
779
+ j.default.arrayOf(j.default.oneOfType([
780
+ j.default.func,
781
+ j.default.object,
782
+ j.default.bool
783
+ ])),
784
+ j.default.func,
785
+ j.default.object
786
+ ]),
787
+ tabIndex: j.default.number,
788
+ TouchRippleProps: j.default.object,
789
+ touchRippleRef: j.default.oneOfType([j.default.func, j.default.shape({ current: j.default.shape({
790
+ pulsate: j.default.func.isRequired,
791
+ start: j.default.func.isRequired,
792
+ stop: j.default.func.isRequired
793
+ }) })]),
794
+ type: j.default.oneOfType([j.default.oneOf([
795
+ "button",
796
+ "reset",
797
+ "submit"
798
+ ]), j.default.string])
799
+ });
800
+ //#endregion
801
+ export { x as _, W as a, V as c, N as d, D as f, S as g, C as h, K as i, B as l, w as m, q as n, U as o, E as p, oe as r, H as s, _e as t, R as u, b as v };