@solostylist/ui-kit 1.0.230 → 2.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 (628) hide show
  1. package/dist/Add-COc9VdNg.js +6 -0
  2. package/dist/{ArrowUpward-CNiENJp2.js → ArrowUpward-D88i2k4q.js} +1 -1
  3. package/dist/Box-9oeZgA1U.js +46 -0
  4. package/dist/Button-DgIFcM44.js +534 -0
  5. package/dist/{ButtonBase-BDefit5I.js → ButtonBase-DxKtpFYs.js} +298 -271
  6. package/dist/Checkbox-BoZu9z2l.js +152 -0
  7. package/dist/{ChevronRight-gZJ3kc6N.js → ChevronRight-BxsM4W78.js} +1 -1
  8. package/dist/{Close-CJu3iF1p.js → Close-o4HFfK0I.js} +1 -1
  9. package/dist/Collapse-zgIFP5Sj.js +266 -0
  10. package/dist/{ContentCopy-BMQ2JTA0.js → ContentCopy-5unyTYXy.js} +1 -1
  11. package/dist/DefaultPropsProvider-ebWx4_5E.js +128 -0
  12. package/dist/DialogContent-CAry6lVf.js +450 -0
  13. package/dist/{Download-SNal6U7j.js → Download-DtvoRwpl.js} +1 -1
  14. package/dist/{ExpandMore-DIsT5FOp.js → ExpandMore-Ba5bg6s-.js} +1 -1
  15. package/dist/{Favorite-CbvuQfe4.js → Favorite-B_GsElm0.js} +1 -1
  16. package/dist/FormControl-BxmM9UP6.js +221 -0
  17. package/dist/FormControlLabel-DzgppcC_.js +173 -0
  18. package/dist/Grow-zRRuwUl-.js +121 -0
  19. package/dist/{InfoOutlined-BCzG-5py.js → InfoOutlined-VC7X46pc.js} +1 -1
  20. package/dist/List-CnGIAXAS.js +103 -0
  21. package/dist/ListContext-B1HQt3OD.js +6 -0
  22. package/dist/Menu-C4Zabc9U.js +504 -0
  23. package/dist/{MenuItem-IOMcBScJ.js → MenuItem-rXJfQzDC.js} +33 -30
  24. package/dist/{MenuList-vtqACjea.js → MenuList-DDV8J-yd.js} +105 -101
  25. package/dist/Modal-jAiibALV.js +707 -0
  26. package/dist/Paper-ixxCeml9.js +115 -0
  27. package/dist/Popper-CVYyMS3c.js +1350 -0
  28. package/dist/Portal-AnyvFRC4.js +53 -0
  29. package/dist/RtlProvider-B7uVJXUY.js +19 -0
  30. package/dist/Skeleton-iZFynl7z.js +220 -0
  31. package/dist/{Stack-BQkLmLFp.js → Stack-UMc4dV4G.js} +26 -25
  32. package/dist/SwitchBase-D7zqrstO.js +198 -0
  33. package/dist/Tooltip-DbCd6rgF.js +447 -0
  34. package/dist/{Typography-CZ_MYa-E.js → Typography-yXjc7kVP.js} +29 -27
  35. package/dist/{UnfoldMoreRounded-tvqQS6eb.js → UnfoldMoreRounded-DsN0HVDV.js} +1 -1
  36. package/dist/appendOwnerState-CELpvdMz.js +17 -0
  37. package/dist/{autocomplete-Dd4zjpaF.js → autocomplete-B_4y84Ba.js} +2 -2
  38. package/dist/{avatar-DFQ5F7pY.js → avatar-BHuZu3DN.js} +1 -1
  39. package/dist/{buttonBaseClasses-BVDyR-hz.js → buttonBaseClasses-BvBqFLb_.js} +2 -2
  40. package/dist/capitalize-CccCFNpQ.js +5 -0
  41. package/dist/checkbox-BKMZEVU5.js +88 -0
  42. package/dist/{checkboxClasses-DANc9lnq.js → checkboxClasses-CEsqS4sc.js} +2 -2
  43. package/dist/clsx-DGZSe4Nt.js +16 -0
  44. package/dist/colorManipulator-DmUjcif3.js +129 -0
  45. package/dist/colors-DKqWMRgW.js +180 -0
  46. package/dist/contains-WOhYaq1E.js +16 -0
  47. package/dist/{createSvgIcon-HW-tbFcL.js → createSvgIcon-B0SZlJF1.js} +22 -20
  48. package/dist/createTheme-xB2Em0Na.js +1869 -0
  49. package/dist/{styled-engine-DOxAQ3qw.js → defaultTheme-BaGcIzCh.js} +72 -52
  50. package/dist/elementAcceptingRef-DhkNAkFH.js +472 -0
  51. package/dist/exactProp-C_IsucXf.js +13 -0
  52. package/dist/field-label-styles-BOyhp6gw.js +50 -0
  53. package/dist/{formLabelClasses-LXZqWZfM.js → formLabelClasses-B0Fa-86T.js} +2 -2
  54. package/dist/{generateUtilityClasses-XrPHiTcM.js → generateUtilityClasses-DvX505Gy.js} +1 -1
  55. package/dist/gradients-90SYkAC0.js +199 -0
  56. package/dist/hooks/index.d.ts +0 -1
  57. package/dist/hooks/index.js +4 -5
  58. package/dist/hooks/use-countdown.js +69 -47
  59. package/dist/{iconButtonClasses-LyjwljJq.js → iconButtonClasses-CkciZuIe.js} +2 -2
  60. package/dist/{inputAdornmentClasses-ZoGTcUz5.js → inputAdornmentClasses-D5yYK5bM.js} +2 -2
  61. package/dist/inputBaseClasses-DuWQGq8Z.js +25 -0
  62. package/dist/integerPropType-Disnft4a.js +27 -0
  63. package/dist/isEventHandler-8dPdzK9U.js +7 -0
  64. package/dist/isFocusVisible-Y7157FQS.js +35 -0
  65. package/dist/isLayoutSupported-Ceir7nyK.js +21 -0
  66. package/dist/listItemButtonClasses-DbL-aTVf.js +18 -0
  67. package/dist/main.d.ts +7 -2
  68. package/dist/main.js +2 -0
  69. package/dist/memoTheme-qFyKAk7y.js +15 -0
  70. package/dist/{mergeSlotProps-slENzJO5.js → mergeSlotProps-xl1-PgWL.js} +2 -2
  71. package/dist/{monthCalendarClasses-BLfBep-t.js → monthCalendarClasses-BYVHyEfI.js} +2 -2
  72. package/dist/{extends-DM-C9PwL.js → objectWithoutPropertiesLoose-Cpds-4w8.js} +12 -1
  73. package/dist/outlinedInputClasses-DECY98u0.js +17 -0
  74. package/dist/palettes/index.d.ts +11 -0
  75. package/dist/palettes/index.js +2 -0
  76. package/dist/palettes-Dw3PEYF5.js +1765 -0
  77. package/dist/pickersCalendarHeaderClasses-CIj0gBye.js +12 -0
  78. package/dist/prop-types-BzYPyWN7.js +516 -0
  79. package/dist/{resolveProps-DrnBChYC.js → resolveProps-7jIA45vn.js} +1 -1
  80. package/dist/s-accordion/index.d.ts +2 -1
  81. package/dist/s-accordion/index.js +1 -1
  82. package/dist/s-accordion/s-accordion.d.ts +39 -19
  83. package/dist/s-accordion/s-accordion.js +1 -1
  84. package/dist/s-accordion-B8nlrdFc.js +487 -0
  85. package/dist/s-action-overlay/index.d.ts +2 -1
  86. package/dist/s-action-overlay/s-action-overlay.d.ts +52 -51
  87. package/dist/s-action-overlay/s-action-overlay.js +106 -107
  88. package/dist/s-autocomplete/index.d.ts +2 -1
  89. package/dist/s-autocomplete/s-autocomplete.d.ts +25 -8
  90. package/dist/s-autocomplete/s-autocomplete.js +33 -22
  91. package/dist/s-avatar/index.d.ts +2 -1
  92. package/dist/s-avatar/s-avatar.d.ts +36 -18
  93. package/dist/s-avatar/s-avatar.js +53 -27
  94. package/dist/s-blur-text/index.d.ts +1 -0
  95. package/dist/s-blur-text/s-blur-text.d.ts +3 -3
  96. package/dist/s-blur-text/s-blur-text.js +68 -40
  97. package/dist/s-brand-logo/index.d.ts +3 -0
  98. package/dist/s-brand-logo/index.js +2 -0
  99. package/dist/s-brand-logo/s-brand-logo.d.ts +15 -0
  100. package/dist/s-brand-logo/s-brand-logo.js +2 -0
  101. package/dist/s-brand-logo-jtAJZQIv.js +123 -0
  102. package/dist/s-breadcrumbs/index.d.ts +2 -1
  103. package/dist/s-breadcrumbs/s-breadcrumbs.d.ts +5 -1
  104. package/dist/s-breadcrumbs/s-breadcrumbs.js +72 -37
  105. package/dist/s-button/s-button.d.ts +3 -5
  106. package/dist/s-button/s-button.js +3 -9
  107. package/dist/s-carousel/index.d.ts +3 -1
  108. package/dist/s-carousel/index.js +1 -1
  109. package/dist/s-carousel/s-carousel.d.ts +18 -8
  110. package/dist/s-carousel/s-carousel.js +1 -1
  111. package/dist/{s-carousel-CvmWl6Sc.js → s-carousel-Dnjke4JQ.js} +322 -293
  112. package/dist/s-category-card/index.d.ts +2 -1
  113. package/dist/s-category-card/s-category-card.d.ts +38 -51
  114. package/dist/s-category-card/s-category-card.js +88 -56
  115. package/dist/s-chat-input/index.d.ts +2 -1
  116. package/dist/s-chat-input/index.js +1 -1
  117. package/dist/s-chat-input/s-chat-input.d.ts +41 -6
  118. package/dist/s-chat-input/s-chat-input.js +1 -1
  119. package/dist/{s-chat-input-BHMymKij.js → s-chat-input-DCS0mJE4.js} +224 -157
  120. package/dist/s-chat-message/index.d.ts +2 -1
  121. package/dist/s-chat-message/index.js +1 -1
  122. package/dist/s-chat-message/s-chat-message.d.ts +6 -3
  123. package/dist/s-chat-message/s-chat-message.js +1 -1
  124. package/dist/s-chat-message-9oollJJq.js +315 -0
  125. package/dist/s-checkbox/index.d.ts +2 -1
  126. package/dist/s-checkbox/s-checkbox.d.ts +33 -11
  127. package/dist/s-checkbox/s-checkbox.js +45 -34
  128. package/dist/s-chip/s-chip.d.ts +3 -5
  129. package/dist/s-chip/s-chip.js +3 -9
  130. package/dist/s-chips/index.d.ts +2 -1
  131. package/dist/s-chips/index.js +1 -1
  132. package/dist/s-chips/s-chips.d.ts +50 -28
  133. package/dist/s-chips/s-chips.js +1 -1
  134. package/dist/s-chips-WqGdqHW9.js +176 -0
  135. package/dist/s-code-block/index.d.ts +3 -1
  136. package/dist/s-code-block/index.js +1 -1
  137. package/dist/s-code-block/s-code-block.d.ts +30 -28
  138. package/dist/s-code-block/s-code-block.js +1 -1
  139. package/dist/{s-code-block-DEojINTt.js → s-code-block-DzGoGg5e.js} +66 -38
  140. package/dist/s-comment-message/index.d.ts +1 -0
  141. package/dist/s-comment-message/index.js +1 -1
  142. package/dist/s-comment-message/s-comment-message.d.ts +6 -8
  143. package/dist/s-comment-message/s-comment-message.js +1 -1
  144. package/dist/s-comment-message-C6kfgRjv.js +191 -0
  145. package/dist/s-copyable-text/index.d.ts +2 -1
  146. package/dist/s-copyable-text/s-copyable-text.d.ts +34 -17
  147. package/dist/s-copyable-text/s-copyable-text.js +55 -33
  148. package/dist/s-countdown/index.d.ts +4 -3
  149. package/dist/s-countdown/index.js +1 -1
  150. package/dist/s-countdown/s-count-box.d.ts +39 -32
  151. package/dist/s-countdown/s-count-box.js +104 -87
  152. package/dist/s-countdown/s-countdown.d.ts +3 -10
  153. package/dist/s-countdown/s-countdown.js +86 -70
  154. package/dist/s-data-table/index.d.ts +2 -1
  155. package/dist/s-data-table/index.js +1 -1
  156. package/dist/s-data-table/s-data-table.d.ts +15 -7
  157. package/dist/s-data-table/s-data-table.js +1 -1
  158. package/dist/s-data-table-B1TGVupB.js +805 -0
  159. package/dist/s-date-picker/index.d.ts +3 -1
  160. package/dist/s-date-picker/index.js +1 -1
  161. package/dist/s-date-picker/picker-action-bar.js +43 -42
  162. package/dist/s-date-picker/s-date-picker.d.ts +9 -5
  163. package/dist/s-date-picker/s-date-picker.js +1 -1
  164. package/dist/s-date-picker-BpX4HmBp.js +656 -0
  165. package/dist/s-datetime-picker/index.d.ts +3 -1
  166. package/dist/s-datetime-picker/index.js +1 -1
  167. package/dist/s-datetime-picker/s-datetime-picker.d.ts +9 -5
  168. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  169. package/dist/{s-datetime-picker-DnIK-QnQ.js → s-datetime-picker-ByzW44E0.js} +1327 -1286
  170. package/dist/s-dialog/index.d.ts +2 -1
  171. package/dist/s-dialog/index.js +1 -1
  172. package/dist/s-dialog/s-dialog.d.ts +44 -22
  173. package/dist/s-dialog/s-dialog.js +2 -43
  174. package/dist/s-dialog-BLiyjLkx.js +123 -0
  175. package/dist/s-dialog-confirm/index.d.ts +2 -1
  176. package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +46 -62
  177. package/dist/s-dialog-confirm/s-dialog-confirm.js +95 -76
  178. package/dist/s-dialog-message/index.d.ts +2 -1
  179. package/dist/s-dialog-message/s-dialog-message.d.ts +34 -51
  180. package/dist/s-dialog-message/s-dialog-message.js +76 -68
  181. package/dist/s-empty/index.d.ts +1 -0
  182. package/dist/s-empty/s-empty.d.ts +5 -10
  183. package/dist/s-empty/s-empty.js +28 -9
  184. package/dist/s-file-dropzone/index.d.ts +3 -1
  185. package/dist/s-file-dropzone/index.js +1 -1
  186. package/dist/s-file-dropzone/s-file-dropzone.d.ts +49 -26
  187. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  188. package/dist/s-file-dropzone-CVQpYRdY.js +422 -0
  189. package/dist/s-file-icon/index.d.ts +1 -0
  190. package/dist/s-file-icon/s-file-icon.d.ts +3 -5
  191. package/dist/s-file-icon/s-file-icon.js +119 -98
  192. package/dist/s-flex-box/index.d.ts +2 -1
  193. package/dist/s-flex-box/s-flex-box.d.ts +12 -14
  194. package/dist/s-flex-box/s-flex-box.js +20 -19
  195. package/dist/s-form/index.d.ts +2 -1
  196. package/dist/s-form/s-form.d.ts +33 -18
  197. package/dist/s-form/s-form.js +50 -21
  198. package/dist/s-gallery/gallery-grid-item.d.ts +3 -1
  199. package/dist/s-gallery/gallery-grid-item.js +128 -99
  200. package/dist/s-gallery/gallery-layout.d.ts +1 -1
  201. package/dist/s-gallery/gallery-media-item.d.ts +3 -3
  202. package/dist/s-gallery/gallery-media-item.js +45 -50
  203. package/dist/s-gallery/index.d.ts +2 -1
  204. package/dist/s-gallery/s-gallery.d.ts +14 -3
  205. package/dist/s-gallery/s-gallery.js +70 -51
  206. package/dist/s-glow-button/index.d.ts +2 -1
  207. package/dist/s-glow-button/index.js +1 -1
  208. package/dist/s-glow-button/s-glow-button.d.ts +14 -9
  209. package/dist/s-glow-button/s-glow-button.js +47 -25
  210. package/dist/s-gradient-icon/index.d.ts +2 -1
  211. package/dist/s-gradient-icon/s-gradient-icon.d.ts +17 -9
  212. package/dist/s-gradient-icon/s-gradient-icon.js +81 -69
  213. package/dist/s-icon-button/index.d.ts +2 -1
  214. package/dist/s-icon-button/s-icon-button.d.ts +31 -13
  215. package/dist/s-icon-button/s-icon-button.js +48 -9
  216. package/dist/s-image-comparison/index.d.ts +2 -1
  217. package/dist/s-image-comparison/index.js +1 -1
  218. package/dist/s-image-comparison/s-image-comparison.d.ts +13 -3
  219. package/dist/s-image-comparison/s-image-comparison.js +197 -98
  220. package/dist/{s-image-modal → s-image-viewer}/default-media-item.d.ts +0 -1
  221. package/dist/s-image-viewer/default-media-item.js +30 -0
  222. package/dist/s-image-viewer/image-viewer-thumbnail-dock.d.ts +12 -0
  223. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +102 -0
  224. package/dist/s-image-viewer/index.d.ts +4 -0
  225. package/dist/s-image-viewer/index.js +3 -0
  226. package/dist/s-image-viewer/s-image-viewer.d.ts +4 -0
  227. package/dist/s-image-viewer/s-image-viewer.js +2 -0
  228. package/dist/{s-image-modal → s-image-viewer}/types.d.ts +27 -10
  229. package/dist/s-image-viewer/use-image-viewer-navigation.d.ts +29 -0
  230. package/dist/s-image-viewer/use-image-viewer-navigation.js +75 -0
  231. package/dist/s-image-viewer-DNIEYdtL.js +269 -0
  232. package/dist/s-label/index.d.ts +2 -1
  233. package/dist/s-label/s-label.d.ts +35 -18
  234. package/dist/s-label/s-label.js +65 -23
  235. package/dist/s-language-switcher/index.d.ts +2 -1
  236. package/dist/s-language-switcher/index.js +1 -1
  237. package/dist/s-language-switcher/s-language-switcher.d.ts +25 -18
  238. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  239. package/dist/s-language-switcher-D-1nywT3.js +251 -0
  240. package/dist/s-lazy-image/index.d.ts +2 -1
  241. package/dist/s-lazy-image/index.js +1 -1
  242. package/dist/s-lazy-image/s-lazy-image.d.ts +45 -24
  243. package/dist/s-lazy-image/s-lazy-image.js +79 -41
  244. package/dist/s-link/index.js +1 -1
  245. package/dist/s-link/s-link.d.ts +4 -33
  246. package/dist/s-link/s-link.js +2 -37
  247. package/dist/s-link-CAMTGfd9.js +234 -0
  248. package/dist/s-localization-provider/index.js +1 -1
  249. package/dist/s-localization-provider/s-localization-provider.d.ts +3 -5
  250. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  251. package/dist/{s-localization-provider-l5J7myJJ.js → s-localization-provider-Xw3NO2uP.js} +22 -22
  252. package/dist/s-moving-border/index.d.ts +2 -1
  253. package/dist/s-moving-border/s-moving-border.d.ts +8 -2
  254. package/dist/s-moving-border/s-moving-border.js +100 -71
  255. package/dist/s-nav-item/index.d.ts +2 -1
  256. package/dist/s-nav-item/s-nav-item.d.ts +39 -31
  257. package/dist/s-nav-item/s-nav-item.js +66 -67
  258. package/dist/s-nav-items/index.d.ts +2 -1
  259. package/dist/s-nav-items/index.js +2 -2
  260. package/dist/s-nav-items/s-nav-items.d.ts +13 -10
  261. package/dist/s-nav-items/s-nav-items.js +2 -151
  262. package/dist/s-nav-items-BUp7DddG.js +327 -0
  263. package/dist/s-no-ssr/index.js +1 -1
  264. package/dist/s-no-ssr/s-no-ssr.d.ts +4 -16
  265. package/dist/s-no-ssr/s-no-ssr.js +2 -15
  266. package/dist/s-no-ssr-D8tPdDfh.js +25 -0
  267. package/dist/s-overlay-scrollbar/index.d.ts +3 -1
  268. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +10 -8
  269. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +28 -16
  270. package/dist/s-pagination/index.d.ts +2 -1
  271. package/dist/s-pagination/index.js +1 -1
  272. package/dist/s-pagination/s-pagination.d.ts +14 -49
  273. package/dist/s-pagination/s-pagination.js +2 -50
  274. package/dist/s-pagination/types.d.ts +23 -1
  275. package/dist/s-pagination/types.js +8 -4
  276. package/dist/s-pagination-Dt8Pk5Tp.js +606 -0
  277. package/dist/s-pixel-reveal/index.d.ts +2 -1
  278. package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +10 -2
  279. package/dist/s-pixel-reveal/s-pixel-reveal.js +124 -86
  280. package/dist/s-quantity-input/index.d.ts +3 -0
  281. package/dist/s-quantity-input/index.js +2 -0
  282. package/dist/s-quantity-input/s-quantity-input.d.ts +114 -0
  283. package/dist/s-quantity-input/s-quantity-input.js +2 -0
  284. package/dist/s-quantity-input-mYCixlJc.js +246 -0
  285. package/dist/s-radial-pulse-animate/index.d.ts +2 -1
  286. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +7 -7
  287. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +50 -52
  288. package/dist/s-rating/s-rating.d.ts +3 -5
  289. package/dist/s-rating/s-rating.js +3 -9
  290. package/dist/s-review/index.d.ts +2 -1
  291. package/dist/s-review/index.js +1 -1
  292. package/dist/s-review/s-review.d.ts +25 -10
  293. package/dist/s-review/s-review.js +1 -1
  294. package/dist/s-review-DSXXtWlL.js +272 -0
  295. package/dist/s-scroll-reveal/index.d.ts +3 -1
  296. package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +14 -6
  297. package/dist/s-scroll-reveal/s-scroll-reveal.js +80 -61
  298. package/dist/s-scroll-to-top/index.d.ts +2 -1
  299. package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +15 -16
  300. package/dist/s-scroll-to-top/s-scroll-to-top.js +57 -29
  301. package/dist/s-scroll-velocity/index.d.ts +2 -1
  302. package/dist/s-scroll-velocity/s-scroll-velocity.d.ts +11 -7
  303. package/dist/s-scroll-velocity/s-scroll-velocity.js +27 -10
  304. package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +2 -2
  305. package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -18
  306. package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +5 -3
  307. package/dist/s-scroll-velocity/scroll-velocity-row.js +82 -68
  308. package/dist/s-select/index.d.ts +2 -1
  309. package/dist/s-select/index.js +1 -1
  310. package/dist/s-select/s-select.d.ts +25 -11
  311. package/dist/s-select/s-select.js +1 -1
  312. package/dist/s-select-dwY2DYa9.js +204 -0
  313. package/dist/s-select-list/index.d.ts +2 -1
  314. package/dist/s-select-list/s-select-list.d.ts +57 -18
  315. package/dist/s-select-list/s-select-list.js +159 -32
  316. package/dist/s-skeleton/index.d.ts +2 -1
  317. package/dist/s-skeleton/s-skeleton.d.ts +21 -22
  318. package/dist/s-skeleton/s-skeleton.js +41 -39
  319. package/dist/s-snackbar-message/index.d.ts +2 -1
  320. package/dist/s-snackbar-message/index.js +2 -2
  321. package/dist/s-snackbar-message/s-snackbar-message.d.ts +40 -51
  322. package/dist/s-snackbar-message/s-snackbar-message.js +2 -52
  323. package/dist/s-snackbar-message-3Z6VySlB.js +808 -0
  324. package/dist/s-spotlight-cursor/index.d.ts +2 -1
  325. package/dist/s-spotlight-cursor/s-spotlight-cursor.d.ts +23 -20
  326. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +83 -58
  327. package/dist/s-status-illustration/index.d.ts +3 -0
  328. package/dist/s-status-illustration/index.js +2 -0
  329. package/dist/s-status-illustration/s-status-illustration.d.ts +57 -0
  330. package/dist/s-status-illustration/s-status-illustration.js +429 -0
  331. package/dist/s-stripe/index.d.ts +6 -1
  332. package/dist/s-stripe/s-stripe-cvc.d.ts +3 -1
  333. package/dist/s-stripe/s-stripe-expiry.d.ts +3 -1
  334. package/dist/s-stripe/s-stripe-number.d.ts +3 -1
  335. package/dist/s-stripe/s-stripe.d.ts +10 -3
  336. package/dist/s-stripe/s-stripe.js +55 -28
  337. package/dist/s-stripe/stripe-input.js +46 -19
  338. package/dist/s-switch/index.d.ts +2 -1
  339. package/dist/s-switch/index.js +1 -1
  340. package/dist/s-switch/s-switch.d.ts +33 -11
  341. package/dist/s-switch/s-switch.js +2 -38
  342. package/dist/s-switch-B8bZAzLh.js +307 -0
  343. package/dist/s-tabs/index.d.ts +5 -3
  344. package/dist/s-tabs/index.js +5 -4
  345. package/dist/s-tabs/s-tab-panel.d.ts +12 -10
  346. package/dist/s-tabs/s-tab-panel.js +26 -19
  347. package/dist/s-tabs/s-tab.d.ts +3 -2
  348. package/dist/s-tabs/s-tab.js +3 -9
  349. package/dist/s-tabs/s-tabs.d.ts +46 -32
  350. package/dist/s-tabs/s-tabs.js +78 -37
  351. package/dist/s-tabs/tab-ids.d.ts +3 -0
  352. package/dist/s-tabs/tab-ids.js +9 -0
  353. package/dist/s-text-editor/index.d.ts +4 -2
  354. package/dist/s-text-editor/index.js +1 -1
  355. package/dist/s-text-editor/s-text-editor-toolbar.d.ts +9 -2
  356. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  357. package/dist/s-text-editor/s-text-editor.d.ts +7 -2
  358. package/dist/s-text-editor/s-text-editor.js +63 -39
  359. package/dist/s-text-editor-toolbar-D-XgFQix.js +2121 -0
  360. package/dist/s-text-field/index.d.ts +2 -1
  361. package/dist/s-text-field/index.js +1 -1
  362. package/dist/s-text-field/s-text-field.d.ts +6 -11
  363. package/dist/s-text-field/s-text-field.js +1 -1
  364. package/dist/s-text-field-BM4qk0mf.js +51 -0
  365. package/dist/s-text-shimmer/index.d.ts +2 -1
  366. package/dist/s-text-shimmer/s-text-shimmer.d.ts +16 -2
  367. package/dist/s-text-shimmer/s-text-shimmer.js +50 -25
  368. package/dist/s-text-truncation/index.d.ts +2 -1
  369. package/dist/s-text-truncation/s-text-truncation.d.ts +38 -14
  370. package/dist/s-text-truncation/s-text-truncation.js +105 -58
  371. package/dist/s-theme-demo/index.d.ts +2 -1
  372. package/dist/s-theme-demo/index.js +1 -1
  373. package/dist/s-theme-demo/s-theme-demo.d.ts +2 -12
  374. package/dist/s-theme-demo/s-theme-demo.js +77 -2
  375. package/dist/s-theme-demo/theme-demo-color-palette-section.d.ts +5 -0
  376. package/dist/s-theme-demo/theme-demo-color-palette-section.js +185 -0
  377. package/dist/s-theme-demo/theme-demo-color-ramps-section.d.ts +5 -0
  378. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +125 -0
  379. package/dist/s-theme-demo/theme-demo-components-section.d.ts +2 -0
  380. package/dist/s-theme-demo/theme-demo-components-section.js +2 -0
  381. package/dist/s-theme-demo/theme-demo-data.d.ts +7 -0
  382. package/dist/s-theme-demo/theme-demo-data.js +45 -0
  383. package/dist/s-theme-demo/theme-demo-interactive-section.d.ts +2 -0
  384. package/dist/s-theme-demo/theme-demo-interactive-section.js +95 -0
  385. package/dist/s-theme-demo/theme-demo-shadow-section.d.ts +5 -0
  386. package/dist/s-theme-demo/theme-demo-shadow-section.js +52 -0
  387. package/dist/s-theme-demo/theme-demo-typography-section.d.ts +5 -0
  388. package/dist/s-theme-demo/theme-demo-typography-section.js +129 -0
  389. package/dist/s-theme-demo/types.d.ts +17 -0
  390. package/dist/s-theme-demo/types.js +0 -0
  391. package/dist/s-theme-demo/utils.d.ts +2 -0
  392. package/dist/s-theme-demo/utils.js +9 -0
  393. package/dist/s-theme-provider/index.d.ts +1 -0
  394. package/dist/s-theme-provider/s-theme-provider.js +30 -31
  395. package/dist/s-theme-switch/index.d.ts +2 -1
  396. package/dist/s-theme-switch/index.js +1 -1
  397. package/dist/s-theme-switch/s-theme-switch.d.ts +6 -4
  398. package/dist/s-theme-switch/s-theme-switch.js +2 -2
  399. package/dist/s-theme-switch-BLMz1_m2.js +60 -0
  400. package/dist/s-tip/index.d.ts +2 -1
  401. package/dist/s-tip/index.js +1 -1
  402. package/dist/s-tip/s-tip.d.ts +29 -11
  403. package/dist/s-tip/s-tip.js +1 -1
  404. package/dist/s-tip-ty41ePQm.js +62 -0
  405. package/dist/s-toggle-button/index.d.ts +2 -0
  406. package/dist/s-toggle-button/index.js +2 -0
  407. package/dist/s-toggle-button/s-toggle-button.d.ts +6 -0
  408. package/dist/s-toggle-button/s-toggle-button.js +5 -0
  409. package/dist/s-tool-bar/index.d.ts +2 -1
  410. package/dist/s-tool-bar/s-tool-bar.d.ts +2 -5
  411. package/dist/s-tool-bar/s-tool-bar.js +100 -71
  412. package/dist/s-tool-bar/tool-bar-action-buttons.d.ts +3 -3
  413. package/dist/s-tool-bar/tool-bar-action-buttons.js +1 -1
  414. package/dist/s-tool-bar/tool-bar-image-input.d.ts +2 -2
  415. package/dist/s-tool-bar/tool-bar-image-input.js +1 -1
  416. package/dist/s-tool-bar/tool-bar-inputs.js +140 -113
  417. package/dist/s-tool-bar/types.d.ts +45 -35
  418. package/dist/s-tool-bar/utils.d.ts +1 -0
  419. package/dist/s-tool-bar/utils.js +10 -7
  420. package/dist/s-tool-item/index.d.ts +2 -1
  421. package/dist/s-tool-item/s-tool-item.d.ts +35 -30
  422. package/dist/s-tool-item/s-tool-item.js +111 -56
  423. package/dist/s-two-pane-layout/index.d.ts +3 -1
  424. package/dist/s-two-pane-layout/s-two-pane-layout.d.ts +56 -50
  425. package/dist/s-two-pane-layout/s-two-pane-layout.js +157 -88
  426. package/dist/s-typewriter-text/index.d.ts +2 -1
  427. package/dist/s-typewriter-text/s-typewriter-text.d.ts +16 -5
  428. package/dist/s-typewriter-text/s-typewriter-text.js +50 -27
  429. package/dist/s-zoom-image/index.d.ts +2 -1
  430. package/dist/s-zoom-image/s-zoom-image.d.ts +14 -5
  431. package/dist/s-zoom-image/s-zoom-image.js +66 -44
  432. package/dist/{selectClasses-C-QpiLPi.js → selectClasses-DoUlWfzV.js} +2 -2
  433. package/dist/{styled-BTDmdi4c.js → styled-Bog8QCl3.js} +56 -57
  434. package/dist/{svgIconClasses-BtHvkhy5.js → svgIconClasses-C8D4AsMj.js} +2 -2
  435. package/dist/switchClasses-eiq1bkQN.js +23 -0
  436. package/dist/theme/component-augmentation.d.ts +265 -0
  437. package/dist/theme/component-augmentation.js +0 -0
  438. package/dist/theme/components/accordion-summary.d.ts +41 -38
  439. package/dist/theme/components/accordion-summary.js +7 -7
  440. package/dist/theme/components/accordion.d.ts +21 -13
  441. package/dist/theme/components/accordion.js +15 -12
  442. package/dist/theme/components/action-styles.d.ts +1075 -0
  443. package/dist/theme/components/action-styles.js +71 -0
  444. package/dist/theme/components/alert.d.ts +169 -140
  445. package/dist/theme/components/alert.js +15 -4
  446. package/dist/theme/components/app-bar.d.ts +2 -2
  447. package/dist/theme/components/autocomplete.js +1 -1
  448. package/dist/theme/components/avatar.js +1 -1
  449. package/dist/theme/components/backdrop.js +1 -1
  450. package/dist/theme/components/button-base.d.ts +0 -5
  451. package/dist/theme/components/button-base.js +1 -10
  452. package/dist/theme/components/button.d.ts +111 -5275
  453. package/dist/theme/components/button.js +58 -74
  454. package/dist/theme/components/card.d.ts +69 -69
  455. package/dist/theme/components/card.js +11 -10
  456. package/dist/theme/components/checkbox.d.ts +34 -34
  457. package/dist/theme/components/checkbox.js +1 -1
  458. package/dist/theme/components/chip.d.ts +1 -7
  459. package/dist/theme/components/chip.js +91 -67
  460. package/dist/theme/components/components.js +6 -6
  461. package/dist/theme/components/dialog-title.d.ts +2 -2
  462. package/dist/theme/components/field-label-styles.d.ts +9 -0
  463. package/dist/theme/components/field-label-styles.js +2 -0
  464. package/dist/theme/components/form-control.d.ts +1 -1
  465. package/dist/theme/components/form-control.js +1 -1
  466. package/dist/theme/components/form-label.d.ts +2 -2
  467. package/dist/theme/components/form-label.js +1 -1
  468. package/dist/theme/components/icon-button.d.ts +85 -5228
  469. package/dist/theme/components/icon-button.js +27 -47
  470. package/dist/theme/components/input-adornment.d.ts +2 -2
  471. package/dist/theme/components/linear-progress.d.ts +35 -35
  472. package/dist/theme/components/linear-progress.js +5 -6
  473. package/dist/theme/components/link.d.ts +2 -2
  474. package/dist/theme/components/link.js +7 -9
  475. package/dist/theme/components/list-item-button.d.ts +120 -46
  476. package/dist/theme/components/list-item-button.js +27 -20
  477. package/dist/theme/components/list-item.d.ts +61 -24
  478. package/dist/theme/components/list-item.js +3 -3
  479. package/dist/theme/components/list-subheader.d.ts +2 -2
  480. package/dist/theme/components/month-calendar.d.ts +1049 -6
  481. package/dist/theme/components/month-calendar.js +24 -15
  482. package/dist/theme/components/multi-section-digital-clock-section.d.ts +2 -0
  483. package/dist/theme/components/multi-section-digital-clock-section.js +15 -17
  484. package/dist/theme/components/outlined-input.d.ts +42 -8
  485. package/dist/theme/components/outlined-input.js +41 -30
  486. package/dist/theme/components/pagination-item.d.ts +1038 -1043
  487. package/dist/theme/components/pagination-item.js +21 -53
  488. package/dist/theme/components/pagination.js +2 -2
  489. package/dist/theme/components/picker-day.d.ts +1034 -5
  490. package/dist/theme/components/picker-day.js +11 -13
  491. package/dist/theme/components/pickers-calendar-header.d.ts +51 -19
  492. package/dist/theme/components/pickers-calendar-header.js +48 -25
  493. package/dist/theme/components/rating.d.ts +12 -0
  494. package/dist/theme/components/rating.js +4 -1
  495. package/dist/theme/components/select.js +2 -2
  496. package/dist/theme/components/slider.d.ts +4 -4
  497. package/dist/theme/components/step-icon.d.ts +34 -34
  498. package/dist/theme/components/step-icon.js +9 -10
  499. package/dist/theme/components/step-label.d.ts +36 -36
  500. package/dist/theme/components/switch.d.ts +36 -36
  501. package/dist/theme/components/switch.js +48 -2
  502. package/dist/theme/components/tab.d.ts +14 -1015
  503. package/dist/theme/components/tab.js +18 -17
  504. package/dist/theme/components/table-pagination.js +1 -1
  505. package/dist/theme/components/tabs.d.ts +20 -1030
  506. package/dist/theme/components/tabs.js +14 -14
  507. package/dist/theme/components/toggle-button-group.d.ts +1 -1013
  508. package/dist/theme/components/toggle-button-group.js +3 -1
  509. package/dist/theme/components/toggle-button.d.ts +1135 -1014
  510. package/dist/theme/components/toggle-button.js +1 -1
  511. package/dist/theme/components/year-calendar.d.ts +1051 -6
  512. package/dist/theme/components/year-calendar.js +37 -28
  513. package/dist/theme/optional-component-augmentations/s-carousel.d.ts +14 -0
  514. package/dist/theme/optional-component-augmentations/s-carousel.js +0 -0
  515. package/dist/theme/optional-component-augmentations/s-code-block.d.ts +14 -0
  516. package/dist/theme/optional-component-augmentations/s-code-block.js +0 -0
  517. package/dist/theme/optional-component-augmentations/s-date-picker.d.ts +14 -0
  518. package/dist/theme/optional-component-augmentations/s-date-picker.js +0 -0
  519. package/dist/theme/optional-component-augmentations/s-datetime-picker.d.ts +14 -0
  520. package/dist/theme/optional-component-augmentations/s-datetime-picker.js +0 -0
  521. package/dist/theme/optional-component-augmentations/s-file-dropzone.d.ts +14 -0
  522. package/dist/theme/optional-component-augmentations/s-file-dropzone.js +0 -0
  523. package/dist/theme/optional-component-augmentations/s-overlay-scrollbar.d.ts +14 -0
  524. package/dist/theme/optional-component-augmentations/s-overlay-scrollbar.js +0 -0
  525. package/dist/theme/optional-component-augmentations/s-scroll-reveal.d.ts +14 -0
  526. package/dist/theme/optional-component-augmentations/s-scroll-reveal.js +0 -0
  527. package/dist/theme/optional-component-augmentations/s-stripe.d.ts +14 -0
  528. package/dist/theme/optional-component-augmentations/s-stripe.js +0 -0
  529. package/dist/theme/optional-component-augmentations/s-text-editor.d.ts +18 -0
  530. package/dist/theme/optional-component-augmentations/s-text-editor.js +0 -0
  531. package/dist/theme/optional-component-augmentations/s-two-pane-layout.d.ts +14 -0
  532. package/dist/theme/optional-component-augmentations/s-two-pane-layout.js +0 -0
  533. package/dist/theme/theme-primitives.d.ts +51 -8
  534. package/dist/theme/theme-primitives.js +3 -2
  535. package/dist/theme-demo-components-section-gtIYRngY.js +267 -0
  536. package/dist/theme-primitives-Dt_DT9b5.js +255 -0
  537. package/dist/toggle-button-Cxi5CfXC.js +104 -0
  538. package/dist/{tool-bar-action-buttons-CSXNDen6.js → tool-bar-action-buttons-Dt-pV3GA.js} +7 -3
  539. package/dist/tool-bar-image-input-BXlll_hV.js +148 -0
  540. package/dist/{typographyClasses-CiDYRanL.js → typographyClasses-BLM3NmYd.js} +2 -2
  541. package/dist/{useControlled-BtZNCHV0.js → useControlled-BeB0W_Ui.js} +1 -1
  542. package/dist/useEnhancedEffect-Bc3gBClC.js +5 -0
  543. package/dist/useEventCallback-CVqMfiG_.js +14 -0
  544. package/dist/{useMobilePicker-CQA6fYLQ.js → useMobilePicker-C4UQFvkj.js} +3366 -5650
  545. package/dist/useSlot-iIu8ek6E.js +83 -0
  546. package/dist/useTheme-BIWMbX3i.js +9 -0
  547. package/dist/{useThemeProps-D4jtjo2I.js → useThemeProps-BI9yq95N.js} +2 -2
  548. package/dist/useThemeProps-Cr28OQu3.js +13 -0
  549. package/dist/utils/canvas-color.d.ts +7 -0
  550. package/dist/utils/canvas-color.js +62 -0
  551. package/dist/utils/index.d.ts +4 -0
  552. package/dist/utils/index.js +6 -3
  553. package/dist/utils/slots.d.ts +12 -0
  554. package/dist/utils/slots.js +6 -0
  555. package/dist/utils/sx.d.ts +11 -0
  556. package/dist/utils/sx.js +4 -0
  557. package/dist/{utils-CU6O7jrX.js → utils-oJyTAkZY.js} +6 -6
  558. package/dist/warning-CNkSZkq6.js +98 -0
  559. package/dist/{yearCalendarClasses-DypEe_Vn.js → yearCalendarClasses-CuAQumpz.js} +2 -2
  560. package/package.json +1 -1
  561. package/dist/Box-BlmynALm.js +0 -45
  562. package/dist/Collapse-JUd84Z9O.js +0 -261
  563. package/dist/FormControl-DsRIRfTs.js +0 -686
  564. package/dist/Modal-CLdC2-Th.js +0 -1027
  565. package/dist/Paper-CPC6sMxx.js +0 -133
  566. package/dist/Popover-ZneFWo2r.js +0 -333
  567. package/dist/checkbox-DC-OoGvh.js +0 -74
  568. package/dist/clsx-Bv8WXdlr.js +0 -34
  569. package/dist/createTheme-Bnw5w28O.js +0 -2506
  570. package/dist/defaultTheme-Bi3OTfLN.js +0 -5
  571. package/dist/hooks/use-is-passed-position.d.ts +0 -1
  572. package/dist/hooks/use-is-passed-position.js +0 -21
  573. package/dist/memoTheme-QMocAblm.js +0 -150
  574. package/dist/objectWithoutPropertiesLoose-kj3TmhoA.js +0 -12
  575. package/dist/outlinedInputClasses-DPwt_pSZ.js +0 -38
  576. package/dist/s-accordion-xPDelTvP.js +0 -453
  577. package/dist/s-chat-message-C-d9amiC.js +0 -270
  578. package/dist/s-chips-CAC_vVd0.js +0 -99
  579. package/dist/s-comment-message-Dum0P6de.js +0 -169
  580. package/dist/s-data-table-DfGYIIvn.js +0 -951
  581. package/dist/s-date-picker-C06rlE6_.js +0 -640
  582. package/dist/s-error/index.d.ts +0 -1
  583. package/dist/s-error/index.js +0 -2
  584. package/dist/s-error/s-error.d.ts +0 -6
  585. package/dist/s-error/s-error.js +0 -33
  586. package/dist/s-error-layout/index.d.ts +0 -2
  587. package/dist/s-error-layout/index.js +0 -2
  588. package/dist/s-error-layout/s-error-layout.d.ts +0 -58
  589. package/dist/s-error-layout/s-error-layout.js +0 -81
  590. package/dist/s-file-dropzone-C4_hCsN8.js +0 -139
  591. package/dist/s-image-modal/default-media-item.js +0 -34
  592. package/dist/s-image-modal/image-modal-thumbnail-dock.d.ts +0 -11
  593. package/dist/s-image-modal/image-modal-thumbnail-dock.js +0 -102
  594. package/dist/s-image-modal/index.d.ts +0 -3
  595. package/dist/s-image-modal/index.js +0 -3
  596. package/dist/s-image-modal/s-image-modal.d.ts +0 -4
  597. package/dist/s-image-modal/s-image-modal.js +0 -2
  598. package/dist/s-image-modal/use-image-modal-navigation.d.ts +0 -29
  599. package/dist/s-image-modal/use-image-modal-navigation.js +0 -57
  600. package/dist/s-image-modal-D-Jh-5b3.js +0 -243
  601. package/dist/s-item-not-found/index.d.ts +0 -2
  602. package/dist/s-item-not-found/index.js +0 -2
  603. package/dist/s-item-not-found/s-item-not-found.d.ts +0 -20
  604. package/dist/s-item-not-found/s-item-not-found.js +0 -243
  605. package/dist/s-language-switcher-B96dUknj.js +0 -192
  606. package/dist/s-review-CvTVBxTZ.js +0 -223
  607. package/dist/s-select-HMWY7frm.js +0 -149
  608. package/dist/s-text-editor-toolbar-ChtNCg2A.js +0 -2253
  609. package/dist/s-text-field-DD6nnwwU.js +0 -42
  610. package/dist/s-theme-demo-Bnv7lPIh.js +0 -867
  611. package/dist/s-theme-switch-DzXoVmQH.js +0 -37
  612. package/dist/s-tip-BOGEH1v8.js +0 -34
  613. package/dist/switch-BSg1TGWH.js +0 -62
  614. package/dist/tabClasses-CmFw6sbs.js +0 -20
  615. package/dist/theme-primitives-CiQYd9Cc.js +0 -431
  616. package/dist/toggle-button-TmtJ4nSp.js +0 -26
  617. package/dist/toggle-button-group-BCkdd3Jj.js +0 -26
  618. package/dist/tool-bar-image-input-IdA6l71Y.js +0 -138
  619. package/dist/useSlot-IwEDsR9t.js +0 -171
  620. package/dist/warning-CFMmJJnf.js +0 -111
  621. /package/dist/{createSimplePaletteValueFilter-5v48HHyU.js → createSimplePaletteValueFilter-C1gWywW_.js} +0 -0
  622. /package/dist/{generateUtilityClass-tRYNDrlH.js → generateUtilityClass-PAIOm1jC.js} +0 -0
  623. /package/dist/{s-image-modal → s-image-viewer}/types.js +0 -0
  624. /package/dist/{useControlled-DuSwFVhD.js → useControlled-C4QJnpiR.js} +0 -0
  625. /package/dist/{useEnhancedEffect-Dsu5K7-Z.js → useEnhancedEffect-DFq_FMGX.js} +0 -0
  626. /package/dist/{useForkRef-yOYCJHzF.js → useForkRef-CKneCEtr.js} +0 -0
  627. /package/dist/{useFormControl-CUs308br.js → useFormControl-iWLrn7Ek.js} +0 -0
  628. /package/dist/{utils-B5Rl6Zwv.js → utils-DaSrTYUS.js} +0 -0
@@ -0,0 +1,2121 @@
1
+ import { n as e } from "./chunk-C_CI6nMA.js";
2
+ import { f as t } from "./colorManipulator-DmUjcif3.js";
3
+ import { t as n } from "./prop-types-BzYPyWN7.js";
4
+ import { n as r, r as i, t as a } from "./DefaultPropsProvider-ebWx4_5E.js";
5
+ import { g as o, m as s } from "./createTheme-xB2Em0Na.js";
6
+ import { t as c } from "./generateUtilityClass-PAIOm1jC.js";
7
+ import { t as l } from "./clsx-DGZSe4Nt.js";
8
+ import { t as u } from "./generateUtilityClasses-DvX505Gy.js";
9
+ import { n as d, r as f, t as p } from "./styled-Bog8QCl3.js";
10
+ import { t as m } from "./Stack-UMc4dV4G.js";
11
+ import { t as h } from "./useEnhancedEffect-DFq_FMGX.js";
12
+ import { n as g, r as _, s as ee } from "./elementAcceptingRef-DhkNAkFH.js";
13
+ import { t as v } from "./memoTheme-qFyKAk7y.js";
14
+ import { n as te, t as y } from "./FormControl-BxmM9UP6.js";
15
+ import { toSxArray as b } from "./utils/sx.js";
16
+ import { r as ne, s as x } from "./ButtonBase-DxKtpFYs.js";
17
+ import { n as S } from "./isFocusVisible-Y7157FQS.js";
18
+ import { n as re, t as ie } from "./useForkRef-CKneCEtr.js";
19
+ import { n as ae, t as C } from "./useEventCallback-CVqMfiG_.js";
20
+ import { n as oe } from "./appendOwnerState-CELpvdMz.js";
21
+ import { t as se } from "./useSlot-iIu8ek6E.js";
22
+ import { t as w } from "./capitalize-CccCFNpQ.js";
23
+ import { t as T } from "./createSimplePaletteValueFilter-C1gWywW_.js";
24
+ import { c as E, l as ce } from "./Modal-jAiibALV.js";
25
+ import { t as D } from "./createSvgIcon-B0SZlJF1.js";
26
+ import { d as le, p as ue, r as de } from "./MenuList-DDV8J-yd.js";
27
+ import { t as fe } from "./useEnhancedEffect-Bc3gBClC.js";
28
+ import { t as pe } from "./useControlled-BeB0W_Ui.js";
29
+ import { n as me, r as he } from "./useFormControl-iWLrn7Ek.js";
30
+ import { n as ge, t as _e } from "./Menu-C4Zabc9U.js";
31
+ import { n as O, t as ve } from "./selectClasses-DoUlWfzV.js";
32
+ import { n as k, t as ye } from "./inputBaseClasses-DuWQGq8Z.js";
33
+ import { a as be, n as xe, r as A } from "./field-label-styles-BOyhp6gw.js";
34
+ import { n as j, t as M } from "./outlinedInputClasses-DECY98u0.js";
35
+ import { t as Se } from "./s-text-field-BM4qk0mf.js";
36
+ import * as N from "react";
37
+ import { jsx as P, jsxs as F } from "react/jsx-runtime";
38
+ import { MenuItem as Ce, styled as I, useThemeProps as L } from "@mui/material";
39
+ //#region ../../node_modules/@mui/material/Select/utils/getOpenInteractionType.mjs
40
+ function R(e) {
41
+ return e ? e.type === "mousedown" || e.type === "pointerdown" || e.type === "touchstart" ? "pointer" : e.type === "keydown" || e.type === "click" && e.detail === 0 ? "keyboard" : null : null;
42
+ }
43
+ //#endregion
44
+ //#region ../../node_modules/@mui/material/Select/utils/isEmpty.mjs
45
+ function z(e) {
46
+ return e == null || typeof e == "string" && !e.trim();
47
+ }
48
+ //#endregion
49
+ //#region ../../node_modules/@mui/material/Select/utils/areEqualValues.mjs
50
+ function we(e, t) {
51
+ return typeof t == "object" && t ? e === t : String(e) === String(t);
52
+ }
53
+ //#endregion
54
+ //#region ../../node_modules/@mui/material/NativeSelect/nativeSelectClasses.mjs
55
+ var B = /* @__PURE__ */ e(n(), 1), Te = o();
56
+ function Ee(e) {
57
+ return c("MuiNativeSelect", e);
58
+ }
59
+ var V = u("MuiNativeSelect", [
60
+ "root",
61
+ "select",
62
+ "multiple",
63
+ "filled",
64
+ "outlined",
65
+ "standard",
66
+ "disabled",
67
+ "icon",
68
+ "iconOpen",
69
+ "iconFilled",
70
+ "iconOutlined",
71
+ "iconStandard",
72
+ "nativeInput",
73
+ "error"
74
+ ]), H = (e) => {
75
+ let { classes: t, variant: n, disabled: r, multiple: a, open: o, error: s } = e;
76
+ return i({
77
+ select: [
78
+ "select",
79
+ n,
80
+ r && "disabled",
81
+ a && "multiple",
82
+ s && "error"
83
+ ],
84
+ icon: [
85
+ "icon",
86
+ `icon${w(n)}`,
87
+ o && "iconOpen",
88
+ r && "disabled"
89
+ ]
90
+ }, Ee, t);
91
+ }, De = p("select", { name: "MuiNativeSelect" })(({ theme: e }) => ({
92
+ MozAppearance: "none",
93
+ WebkitAppearance: "none",
94
+ userSelect: "none",
95
+ borderRadius: 0,
96
+ cursor: "pointer",
97
+ "&:focus": { borderRadius: 0 },
98
+ [`&.${V.disabled}`]: { cursor: "default" },
99
+ "&[multiple]": { height: "auto" },
100
+ "&:not([multiple]) option, &:not([multiple]) optgroup": { backgroundColor: (e.vars || e).palette.background.paper },
101
+ variants: [
102
+ {
103
+ props: ({ ownerState: e }) => e.variant !== "filled" && e.variant !== "outlined",
104
+ style: { "&&&": {
105
+ paddingRight: 24,
106
+ minWidth: 16
107
+ } }
108
+ },
109
+ {
110
+ props: { variant: "filled" },
111
+ style: { "&&&": { paddingRight: 32 } }
112
+ },
113
+ {
114
+ props: { variant: "outlined" },
115
+ style: {
116
+ borderRadius: (e.vars || e).shape.borderRadius,
117
+ "&:focus": { borderRadius: (e.vars || e).shape.borderRadius },
118
+ "&&&": { paddingRight: 32 }
119
+ }
120
+ }
121
+ ]
122
+ })), U = p(De, {
123
+ name: "MuiNativeSelect",
124
+ slot: "Select",
125
+ shouldForwardProp: d,
126
+ overridesResolver: (e, t) => {
127
+ let { ownerState: n } = e;
128
+ return [
129
+ t.select,
130
+ t[n.variant],
131
+ n.error && t.error,
132
+ { [`&.${V.multiple}`]: t.multiple }
133
+ ];
134
+ }
135
+ })({}), W = p("svg", { name: "MuiNativeSelect" })(({ theme: e }) => ({
136
+ position: "absolute",
137
+ right: 0,
138
+ top: "calc(50% - .5em)",
139
+ pointerEvents: "none",
140
+ color: (e.vars || e).palette.action.active,
141
+ [`&.${V.disabled}`]: { color: (e.vars || e).palette.action.disabled },
142
+ variants: [
143
+ {
144
+ props: ({ ownerState: e }) => e.open,
145
+ style: { transform: "rotate(180deg)" }
146
+ },
147
+ {
148
+ props: { variant: "filled" },
149
+ style: { right: 7 }
150
+ },
151
+ {
152
+ props: { variant: "outlined" },
153
+ style: { right: 7 }
154
+ }
155
+ ]
156
+ })), Oe = p(W, {
157
+ name: "MuiNativeSelect",
158
+ slot: "Icon",
159
+ overridesResolver: (e, t) => {
160
+ let { ownerState: n } = e;
161
+ return [
162
+ t.icon,
163
+ n.variant && t[`icon${w(n.variant)}`],
164
+ n.open && t.iconOpen
165
+ ];
166
+ }
167
+ })({}), ke = /* @__PURE__ */ N.forwardRef(function(e, t) {
168
+ let { className: n, disabled: r, error: i, IconComponent: a, inputRef: o, variant: s = "standard", ...c } = e, u = {
169
+ ...e,
170
+ disabled: r,
171
+ variant: s,
172
+ error: i
173
+ }, d = H(u);
174
+ return /* @__PURE__ */ F(N.Fragment, { children: [/* @__PURE__ */ P(U, {
175
+ ownerState: u,
176
+ className: l(d.select, n),
177
+ disabled: r,
178
+ ref: o || t,
179
+ ...c
180
+ }), e.multiple ? null : /* @__PURE__ */ P(Oe, {
181
+ as: a,
182
+ ownerState: u,
183
+ className: d.icon
184
+ })] });
185
+ });
186
+ process.env.NODE_ENV !== "production" && (ke.propTypes = {
187
+ children: B.default.node,
188
+ classes: B.default.object,
189
+ className: B.default.string,
190
+ disabled: B.default.bool,
191
+ error: B.default.bool,
192
+ IconComponent: B.default.elementType.isRequired,
193
+ inputRef: x,
194
+ multiple: B.default.bool,
195
+ name: B.default.string,
196
+ onChange: B.default.func,
197
+ value: B.default.any,
198
+ variant: B.default.oneOf([
199
+ "standard",
200
+ "outlined",
201
+ "filled"
202
+ ])
203
+ });
204
+ //#endregion
205
+ //#region ../../node_modules/@mui/material/Select/SelectInput.mjs
206
+ var Ae, G = 2, je = 400, Me = 200;
207
+ function Ne(e, t) {
208
+ if (!t) return !1;
209
+ if (e.composedPath().includes(t) || e.target?.nodeType && t.contains(e.target)) return !0;
210
+ let n = t.getBoundingClientRect();
211
+ return n.width === 0 && n.height === 0 ? !1 : e.clientX >= n.left - G && e.clientX <= n.right + G && e.clientY >= n.top - G && e.clientY <= n.bottom + G;
212
+ }
213
+ var Pe = p(De, {
214
+ name: "MuiSelect",
215
+ slot: "Select",
216
+ overridesResolver: (e, t) => {
217
+ let { ownerState: n } = e;
218
+ return [
219
+ { [`&.${O.select}`]: t.select },
220
+ { [`&.${O.select}`]: t[n.variant] },
221
+ { [`&.${O.error}`]: t.error },
222
+ { [`&.${O.multiple}`]: t.multiple }
223
+ ];
224
+ }
225
+ })({ [`&.${O.select}`]: {
226
+ height: "auto",
227
+ minHeight: "1.4375em",
228
+ textOverflow: "ellipsis",
229
+ whiteSpace: "nowrap",
230
+ overflow: "hidden"
231
+ } }), Fe = p(W, {
232
+ name: "MuiSelect",
233
+ slot: "Icon",
234
+ overridesResolver: (e, t) => {
235
+ let { ownerState: n } = e;
236
+ return [t.icon, n.open && t.iconOpen];
237
+ }
238
+ })({}), Ie = p("input", {
239
+ shouldForwardProp: (e) => f(e) && e !== "classes",
240
+ name: "MuiSelect",
241
+ slot: "NativeInput"
242
+ })({
243
+ bottom: 0,
244
+ left: 0,
245
+ position: "absolute",
246
+ opacity: 0,
247
+ pointerEvents: "none",
248
+ width: "100%",
249
+ boxSizing: "border-box"
250
+ }), Le = (e) => {
251
+ let { classes: t, variant: n, disabled: r, multiple: a, open: o, error: s } = e;
252
+ return i({
253
+ select: [
254
+ "select",
255
+ n,
256
+ r && "disabled",
257
+ a && "multiple",
258
+ s && "error"
259
+ ],
260
+ icon: [
261
+ "icon",
262
+ o && "iconOpen",
263
+ r && "disabled"
264
+ ],
265
+ nativeInput: ["nativeInput"]
266
+ }, ve, t);
267
+ }, Re = /* @__PURE__ */ N.forwardRef(function(e, n) {
268
+ let { "aria-describedby": r, "aria-label": i, autoFocus: a, autoWidth: o, children: s, className: c, defaultOpen: u, defaultValue: d, disabled: f, displayEmpty: p, error: m = !1, IconComponent: h, inputRef: g, labelId: _, MenuProps: v = {}, multiple: y, name: b, onBlur: x, onChange: S, onClose: re, onFocus: ae, onKeyDown: oe, onMouseDown: se, onOpen: w, open: T, readOnly: E, renderValue: ce, required: D, SelectDisplayProps: ue = {}, tabIndex: me, type: he, value: ge, variant: O = "standard", ...ve } = e, [k, ye] = pe({
269
+ controlled: ge,
270
+ default: d,
271
+ name: "Select"
272
+ }), [be, xe] = pe({
273
+ controlled: T,
274
+ default: u,
275
+ name: "Select"
276
+ }), A = N.useRef(null), j = N.useRef(null), M = N.useRef(null), Se = N.useRef(!1), Ce = N.useRef(!1), I = N.useRef(null), L = N.useRef(!1), B = N.useRef({
277
+ allowSelectedMouseUp: !1,
278
+ allowUnselectedMouseUp: !1
279
+ }), Ee = ne(), V = ne(), [H, De] = N.useState(null), { current: U } = N.useRef(T != null), [W, Oe] = N.useState(), [ke, G] = N.useState(null), Re = ie(n, g), ze = N.useCallback((e) => {
280
+ j.current = e, e && De(e);
281
+ }, []), K = H?.parentNode;
282
+ N.useImperativeHandle(Re, () => ({
283
+ focus: () => {
284
+ j.current.focus();
285
+ },
286
+ node: A.current,
287
+ value: k
288
+ }), [k]);
289
+ let q = H !== null && be;
290
+ fe(() => {
291
+ Se.current = q;
292
+ }, [q]);
293
+ let Be = N.useCallback(() => {
294
+ Ee.clear(), V.clear();
295
+ }, [Ee, V]), J = N.useCallback(() => {
296
+ Be(), L.current = !1, B.current = {
297
+ allowSelectedMouseUp: !1,
298
+ allowUnselectedMouseUp: !1
299
+ };
300
+ }, [Be]), Y = N.useCallback(() => {
301
+ I.current &&= (I.current(), null);
302
+ }, []);
303
+ N.useEffect(() => {
304
+ q || (J(), Y());
305
+ }, [
306
+ q,
307
+ J,
308
+ Y
309
+ ]), N.useEffect(() => () => {
310
+ J(), Y();
311
+ }, [J, Y]), N.useEffect(() => {
312
+ if (!q || !K || o || typeof ResizeObserver > "u") return;
313
+ let e = new ResizeObserver(() => {
314
+ Oe(K.clientWidth);
315
+ });
316
+ return e.observe(K), () => {
317
+ e.disconnect();
318
+ };
319
+ }, [
320
+ q,
321
+ K,
322
+ o
323
+ ]), N.useEffect(() => {
324
+ u && be && H && !U && (Oe(o ? null : K.clientWidth), j.current.focus());
325
+ }, [H, o]), N.useEffect(() => {
326
+ a && j.current.focus();
327
+ }, [a]), N.useEffect(() => {
328
+ if (!_) return;
329
+ let e = le(j.current).getElementById(_);
330
+ if (e) {
331
+ let t = () => {
332
+ getSelection().isCollapsed && j.current.focus();
333
+ };
334
+ return e.addEventListener("click", t), () => {
335
+ e.removeEventListener("click", t);
336
+ };
337
+ }
338
+ }, [_]);
339
+ let Ve = C((e, t) => {
340
+ e || (J(), Y()), e ? (G(R(t)), w && w(t)) : (G(null), re && re(t)), U || (Se.current = e, Oe(o ? null : K.clientWidth), xe(e));
341
+ }), He = () => {
342
+ J(), Ce.current ? V.start(Me, () => {
343
+ B.current.allowUnselectedMouseUp = !0, Ee.start(Me, () => {
344
+ B.current.allowSelectedMouseUp = !0;
345
+ });
346
+ }) : Ee.start(je, () => {
347
+ B.current.allowSelectedMouseUp = !0, B.current.allowUnselectedMouseUp = !0;
348
+ });
349
+ }, Ue = (e) => {
350
+ if (se?.(e), e.button !== 0) return;
351
+ e.preventDefault(), j.current.focus();
352
+ let t = le(e.currentTarget);
353
+ He(), Y();
354
+ let n = (e) => {
355
+ I.current = null, j.current && (Ne(e, j.current) || Ne(e, M.current) || !Se.current && U || Ve(!1, e));
356
+ };
357
+ t.addEventListener("mouseup", n, {
358
+ capture: !0,
359
+ once: !0
360
+ }), I.current = () => {
361
+ t.removeEventListener("mouseup", n, !0);
362
+ }, Ve(!0, e);
363
+ }, We = (e) => {
364
+ Ve(!1, e);
365
+ }, X = N.Children.toArray(s), Ge = (e) => {
366
+ let t = X.find((t) => t.props.value === e.target.value);
367
+ t !== void 0 && (ye(t.props.value), S && S(e, t));
368
+ }, Ke = (e) => (t) => {
369
+ L.current = !1;
370
+ let n;
371
+ if (t.currentTarget.hasAttribute("tabindex")) {
372
+ if (y) {
373
+ n = Array.isArray(k) ? k.slice() : [];
374
+ let t = k.indexOf(e.props.value);
375
+ t === -1 ? n.push(e.props.value) : n.splice(t, 1);
376
+ } else n = e.props.value;
377
+ if (e.props.onClick && e.props.onClick(t), k !== n && (ye(n), S)) {
378
+ let r = t.nativeEvent || t, i = new r.constructor(r.type, r);
379
+ Object.defineProperty(i, "target", {
380
+ writable: !0,
381
+ value: {
382
+ value: n,
383
+ name: b
384
+ }
385
+ }), S(i, e);
386
+ }
387
+ y || Ve(!1, t);
388
+ }
389
+ }, qe = (e, t) => (n) => {
390
+ if (e.props.onMouseUp?.(n), L.current) {
391
+ L.current = !1;
392
+ return;
393
+ }
394
+ let r = !B.current.allowSelectedMouseUp && t, i = !B.current.allowUnselectedMouseUp && !t;
395
+ r || i || n.currentTarget.click();
396
+ }, Je = (e) => {
397
+ E || ([
398
+ " ",
399
+ "ArrowUp",
400
+ "ArrowDown",
401
+ "Enter"
402
+ ].includes(e.key) && (e.preventDefault(), Ve(!0, e)), oe?.(e));
403
+ }, Ye = (e) => {
404
+ !q && x && (Object.defineProperty(e, "target", {
405
+ writable: !0,
406
+ value: {
407
+ value: k,
408
+ name: b
409
+ }
410
+ }), x(e));
411
+ };
412
+ delete ve["aria-invalid"];
413
+ let Xe, Ze, Qe = [], $e = !1, et = !1;
414
+ (te({ value: k }) || p) && (ce ? Xe = ce(k) : $e = !0);
415
+ let Z = X.map((e) => {
416
+ if (!/* @__PURE__ */ N.isValidElement(e)) return null;
417
+ process.env.NODE_ENV !== "production" && (0, Te.isFragment)(e) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join("\n"));
418
+ let n;
419
+ if (y) {
420
+ if (!Array.isArray(k)) throw Error(process.env.NODE_ENV === "production" ? t(2) : "MUI: The `value` prop must be an array when using the `Select` component with `multiple`.");
421
+ n = k.some((t) => we(t, e.props.value)), n && $e && Qe.push(e.props.children);
422
+ } else n = we(k, e.props.value), n && $e && (Ze = e.props.children);
423
+ return n && (et = !0), /* @__PURE__ */ N.cloneElement(e, {
424
+ "aria-selected": n ? "true" : "false",
425
+ onMouseDown: (t) => {
426
+ L.current = !0, e.props.onMouseDown?.(t);
427
+ },
428
+ onPointerDown: (t) => {
429
+ L.current = !0, e.props.onPointerDown?.(t);
430
+ },
431
+ onClick: Ke(e),
432
+ onMouseUp: qe(e, n),
433
+ onKeyUp: (t) => {
434
+ t.key === " " && t.preventDefault(), e.props.onKeyUp && e.props.onKeyUp(t);
435
+ },
436
+ role: "option",
437
+ selected: n,
438
+ value: void 0,
439
+ "data-value": e.props.value
440
+ });
441
+ });
442
+ fe(() => {
443
+ Ce.current = et;
444
+ }, [et]), process.env.NODE_ENV !== "production" && N.useEffect(() => {
445
+ if (!et && !y && k !== "") {
446
+ let e = X.map((e) => e.props.value);
447
+ console.warn([
448
+ `MUI: You have provided an out-of-range value \`${k}\` for the select ${b ? `(name="${b}") ` : ""}component.`,
449
+ "Consider providing a value that matches one of the available options or ''.",
450
+ `The available values are ${e.filter((e) => e != null).map((e) => `\`${e}\``).join(", ") || "\"\""}.`
451
+ ].join("\n"));
452
+ }
453
+ }, [
454
+ et,
455
+ X,
456
+ y,
457
+ b,
458
+ k
459
+ ]), $e && (Xe = y ? Qe.length === 0 ? null : Qe.reduce((e, t, n) => (e.push(t), n < Qe.length - 1 && e.push(", "), e), []) : Ze);
460
+ let tt = W;
461
+ !o && U && H && (tt = K.clientWidth);
462
+ let nt;
463
+ nt = me === void 0 ? f ? null : 0 : me;
464
+ let rt = ue.id || (b ? `mui-component-select-${b}` : void 0), Q = {
465
+ ...e,
466
+ variant: O,
467
+ value: k,
468
+ open: q,
469
+ error: m
470
+ }, it = Le(Q), at = typeof v.slotProps?.paper == "function" ? v.slotProps.paper(Q) : v.slotProps?.paper, ot = ie(at?.ref, M), st = typeof v.slotProps?.list == "function" ? v.slotProps.list(Q) : v.slotProps?.list, ct = ee(), lt = ee();
471
+ return /* @__PURE__ */ F(N.Fragment, { children: [
472
+ /* @__PURE__ */ P(Pe, {
473
+ as: "div",
474
+ ref: ze,
475
+ tabIndex: nt,
476
+ role: "combobox",
477
+ "aria-controls": q ? ct : void 0,
478
+ "aria-disabled": f ? "true" : void 0,
479
+ "aria-expanded": q ? "true" : "false",
480
+ "aria-haspopup": "listbox",
481
+ "aria-label": i,
482
+ "aria-labelledby": _,
483
+ "aria-describedby": r,
484
+ "aria-required": D ? "true" : void 0,
485
+ "aria-invalid": m ? "true" : void 0,
486
+ onKeyDown: Je,
487
+ onMouseDown: f || E ? null : Ue,
488
+ onBlur: Ye,
489
+ onFocus: ae,
490
+ ...ue,
491
+ ownerState: Q,
492
+ className: l(ue.className, it.select, c),
493
+ id: rt,
494
+ children: z(Xe) ? Ae ||= /* @__PURE__ */ P("span", {
495
+ className: "notranslate",
496
+ "aria-hidden": !0,
497
+ children: "​"
498
+ }) : Xe
499
+ }),
500
+ /* @__PURE__ */ P(Ie, {
501
+ "aria-invalid": m,
502
+ value: Array.isArray(k) ? k.join(",") : k,
503
+ name: b,
504
+ ref: A,
505
+ "aria-hidden": !0,
506
+ onChange: Ge,
507
+ tabIndex: -1,
508
+ disabled: f,
509
+ className: it.nativeInput,
510
+ autoFocus: a,
511
+ required: D,
512
+ ...ve,
513
+ id: ve.id ?? lt,
514
+ ownerState: Q
515
+ }),
516
+ /* @__PURE__ */ P(Fe, {
517
+ as: h,
518
+ className: it.icon,
519
+ ownerState: Q
520
+ }),
521
+ /* @__PURE__ */ P(de, {
522
+ value: ke,
523
+ children: /* @__PURE__ */ P(_e, {
524
+ id: `menu-${b || ""}`,
525
+ anchorEl: K,
526
+ open: q,
527
+ onClose: We,
528
+ anchorOrigin: {
529
+ vertical: "bottom",
530
+ horizontal: "center"
531
+ },
532
+ transformOrigin: {
533
+ vertical: "top",
534
+ horizontal: "center"
535
+ },
536
+ ...v,
537
+ slotProps: {
538
+ ...v.slotProps,
539
+ list: {
540
+ "aria-labelledby": _,
541
+ role: "listbox",
542
+ "aria-multiselectable": y ? "true" : void 0,
543
+ disableListWrap: !0,
544
+ id: ct,
545
+ ...st
546
+ },
547
+ paper: {
548
+ ...at,
549
+ ref: ot,
550
+ style: {
551
+ minWidth: tt,
552
+ ...at?.style
553
+ }
554
+ }
555
+ },
556
+ children: Z
557
+ })
558
+ })
559
+ ] });
560
+ });
561
+ process.env.NODE_ENV !== "production" && (Re.propTypes = {
562
+ "aria-describedby": B.default.string,
563
+ "aria-label": B.default.string,
564
+ autoFocus: B.default.bool,
565
+ autoWidth: B.default.bool,
566
+ children: B.default.node,
567
+ classes: B.default.object,
568
+ className: B.default.string,
569
+ defaultOpen: B.default.bool,
570
+ defaultValue: B.default.any,
571
+ disabled: B.default.bool,
572
+ displayEmpty: B.default.bool,
573
+ error: B.default.bool,
574
+ IconComponent: B.default.elementType.isRequired,
575
+ inputRef: x,
576
+ labelId: B.default.string,
577
+ MenuProps: B.default.object,
578
+ multiple: B.default.bool,
579
+ name: B.default.string,
580
+ onBlur: B.default.func,
581
+ onChange: B.default.func,
582
+ onClose: B.default.func,
583
+ onFocus: B.default.func,
584
+ onOpen: B.default.func,
585
+ open: B.default.bool,
586
+ readOnly: B.default.bool,
587
+ renderValue: B.default.func,
588
+ required: B.default.bool,
589
+ SelectDisplayProps: B.default.object,
590
+ tabIndex: B.default.oneOfType([B.default.number, B.default.string]),
591
+ type: B.default.any,
592
+ value: B.default.any,
593
+ variant: B.default.oneOf([
594
+ "standard",
595
+ "outlined",
596
+ "filled"
597
+ ])
598
+ });
599
+ //#endregion
600
+ //#region ../../node_modules/@mui/material/internal/svg-icons/ArrowDropDown.mjs
601
+ var ze = D(/* @__PURE__ */ P("path", { d: "M7 10l5 5 5-5z" }), "ArrowDropDown");
602
+ //#endregion
603
+ //#region ../../node_modules/@mui/material/TextareaAutosize/TextareaAutosize.mjs
604
+ function K(e) {
605
+ return parseInt(e, 10) || 0;
606
+ }
607
+ var q = { shadow: {
608
+ visibility: "hidden",
609
+ position: "absolute",
610
+ overflow: "hidden",
611
+ height: 0,
612
+ top: 0,
613
+ left: 0,
614
+ transform: "translateZ(0)"
615
+ } };
616
+ function Be(e) {
617
+ for (let t in e) return !1;
618
+ return !0;
619
+ }
620
+ function J(e) {
621
+ return Be(e) || e.outerHeightStyle === 0 && !e.overflowing;
622
+ }
623
+ var Y = /* @__PURE__ */ N.forwardRef(function(e, t) {
624
+ let { onChange: n, maxRows: r, minRows: i = 1, style: a, value: o, ...s } = e, { current: c } = N.useRef(o != null), l = N.useRef(null), u = re(t, l), d = N.useRef(null), f = N.useRef(null), p = N.useCallback(() => {
625
+ let t = l.current, n = f.current;
626
+ if (!t || !n) return;
627
+ let a = E(t).getComputedStyle(t);
628
+ if (a.width === "0px") return {
629
+ outerHeightStyle: 0,
630
+ overflowing: !1
631
+ };
632
+ n.style.width = a.width, n.value = t.value || e.placeholder || "x", n.value.slice(-1) === "\n" && (n.value += " ");
633
+ let o = a.boxSizing, s = K(a.paddingBottom) + K(a.paddingTop), c = K(a.borderBottomWidth) + K(a.borderTopWidth), u = n.scrollHeight;
634
+ n.value = "x";
635
+ let d = n.scrollHeight, p = u;
636
+ return i && (p = Math.max(Number(i) * d, p)), r && (p = Math.min(Number(r) * d, p)), p = Math.max(p, d), {
637
+ outerHeightStyle: p + (o === "border-box" ? s + c : 0),
638
+ overflowing: Math.abs(p - u) <= 1
639
+ };
640
+ }, [
641
+ r,
642
+ i,
643
+ e.placeholder
644
+ ]), m = ae(() => {
645
+ let e = l.current, t = p();
646
+ if (!e || !t || J(t)) return !1;
647
+ let n = t.outerHeightStyle;
648
+ return d.current != null && d.current !== n;
649
+ }), g = N.useCallback(() => {
650
+ let e = l.current, t = p();
651
+ if (!e || !t || J(t)) return;
652
+ let n = t.outerHeightStyle;
653
+ d.current !== n && (d.current = n, e.style.height = `${n}px`), e.style.overflow = t.overflowing ? "hidden" : "";
654
+ }, [p]), _ = N.useRef(-1);
655
+ return h(() => {
656
+ let e = ue(g), t = l?.current;
657
+ if (!t) return;
658
+ let n = E(t);
659
+ n.addEventListener("resize", e);
660
+ let r;
661
+ return typeof ResizeObserver < "u" && (r = new ResizeObserver(() => {
662
+ m() && (r.unobserve(t), cancelAnimationFrame(_.current), g(), _.current = requestAnimationFrame(() => {
663
+ r.observe(t);
664
+ }));
665
+ }), r.observe(t)), () => {
666
+ e.clear(), cancelAnimationFrame(_.current), n.removeEventListener("resize", e), r && r.disconnect();
667
+ };
668
+ }, [
669
+ p,
670
+ g,
671
+ m
672
+ ]), h(() => {
673
+ g();
674
+ }), /* @__PURE__ */ F(N.Fragment, { children: [/* @__PURE__ */ P("textarea", {
675
+ value: o,
676
+ onChange: (e) => {
677
+ c || g();
678
+ let t = e.target, r = t.value.length, i = t.value.endsWith("\n"), a = t.selectionStart === r;
679
+ i && a && t.setSelectionRange(r, r), n && n(e);
680
+ },
681
+ ref: u,
682
+ rows: i,
683
+ style: a,
684
+ ...s
685
+ }), /* @__PURE__ */ P("textarea", {
686
+ "aria-hidden": !0,
687
+ className: e.className,
688
+ readOnly: !0,
689
+ ref: f,
690
+ tabIndex: -1,
691
+ style: {
692
+ ...q.shadow,
693
+ ...a,
694
+ paddingTop: 0,
695
+ paddingBottom: 0
696
+ }
697
+ })] });
698
+ });
699
+ process.env.NODE_ENV !== "production" && (Y.propTypes = {
700
+ className: B.default.string,
701
+ maxRows: B.default.oneOfType([B.default.number, B.default.string]),
702
+ minRows: B.default.oneOfType([B.default.number, B.default.string]),
703
+ onChange: B.default.func,
704
+ placeholder: B.default.string,
705
+ style: B.default.object,
706
+ value: B.default.oneOfType([
707
+ B.default.arrayOf(B.default.string),
708
+ B.default.number,
709
+ B.default.string
710
+ ])
711
+ });
712
+ //#endregion
713
+ //#region ../../node_modules/@mui/material/InputBase/InputBase.mjs
714
+ var Ve, He = "mui-auto-fill", Ue = "mui-auto-fill-cancel", We = (e, t) => {
715
+ let { ownerState: n } = e;
716
+ return [
717
+ t.root,
718
+ n.formControl && t.formControl,
719
+ n.startAdornment && t.adornedStart,
720
+ n.endAdornment && t.adornedEnd,
721
+ n.error && t.error,
722
+ n.size === "small" && t.sizeSmall,
723
+ n.multiline && t.multiline,
724
+ n.color && t[`color${w(n.color)}`],
725
+ n.fullWidth && t.fullWidth,
726
+ n.hiddenLabel && t.hiddenLabel
727
+ ];
728
+ }, X = (e, t) => {
729
+ let { ownerState: n } = e;
730
+ return [t.input, n.type === "search" && t.inputTypeSearch];
731
+ }, Ge = (e) => {
732
+ let { classes: t, color: n, disabled: r, error: a, endAdornment: o, focused: s, formControl: c, fullWidth: l, hiddenLabel: u, multiline: d, readOnly: f, size: p, startAdornment: m, type: h } = e;
733
+ return i({
734
+ root: [
735
+ "root",
736
+ `color${w(n)}`,
737
+ r && "disabled",
738
+ a && "error",
739
+ l && "fullWidth",
740
+ s && "focused",
741
+ c && "formControl",
742
+ p && p !== "medium" && `size${w(p)}`,
743
+ d && "multiline",
744
+ m && "adornedStart",
745
+ o && "adornedEnd",
746
+ u && "hiddenLabel",
747
+ f && "readOnly"
748
+ ],
749
+ input: [
750
+ "input",
751
+ r && "disabled",
752
+ h === "search" && "inputTypeSearch",
753
+ f && "readOnly"
754
+ ]
755
+ }, ye, t);
756
+ }, Ke = p("div", {
757
+ name: "MuiInputBase",
758
+ slot: "Root",
759
+ overridesResolver: We
760
+ })(v(({ theme: e }) => ({
761
+ ...e.typography.body1,
762
+ color: (e.vars || e).palette.text.primary,
763
+ lineHeight: "1.4375em",
764
+ boxSizing: "border-box",
765
+ position: "relative",
766
+ cursor: "text",
767
+ display: "inline-flex",
768
+ alignItems: "center",
769
+ [`&.${k.disabled}`]: {
770
+ color: (e.vars || e).palette.text.disabled,
771
+ cursor: "default"
772
+ },
773
+ variants: [
774
+ {
775
+ props: ({ ownerState: e }) => e.multiline,
776
+ style: { padding: "4px 0 5px" }
777
+ },
778
+ {
779
+ props: ({ ownerState: e, size: t }) => e.multiline && t === "small",
780
+ style: { paddingTop: 1 }
781
+ },
782
+ {
783
+ props: ({ ownerState: e }) => e.fullWidth,
784
+ style: { width: "100%" }
785
+ }
786
+ ]
787
+ }))), qe = p("input", {
788
+ name: "MuiInputBase",
789
+ slot: "Input",
790
+ overridesResolver: X
791
+ })(v(({ theme: e }) => {
792
+ let t = e.palette.mode === "light", n = {
793
+ color: "currentColor",
794
+ ...e.vars ? { opacity: e.vars.opacity.inputPlaceholder } : { opacity: t ? .42 : .5 },
795
+ transition: e.transitions.create("opacity", { duration: e.transitions.duration.shorter })
796
+ }, r = { opacity: "0 !important" }, i = e.vars ? { opacity: e.vars.opacity.inputPlaceholder } : { opacity: t ? .42 : .5 };
797
+ return {
798
+ font: "inherit",
799
+ letterSpacing: "inherit",
800
+ color: "currentColor",
801
+ padding: "4px 0 5px",
802
+ border: 0,
803
+ boxSizing: "content-box",
804
+ background: "none",
805
+ height: "1.4375em",
806
+ margin: 0,
807
+ WebkitTapHighlightColor: "transparent",
808
+ display: "block",
809
+ minWidth: 0,
810
+ width: "100%",
811
+ "&::-webkit-input-placeholder": n,
812
+ "&::-moz-placeholder": n,
813
+ "&::-ms-input-placeholder": n,
814
+ "&:focus": { outline: 0 },
815
+ "&:invalid": { boxShadow: "none" },
816
+ "&::-webkit-search-decoration": { WebkitAppearance: "none" },
817
+ [`label[data-shrink=false] + .${k.formControl} &`]: {
818
+ "&::-webkit-input-placeholder": r,
819
+ "&::-moz-placeholder": r,
820
+ "&::-ms-input-placeholder": r,
821
+ "&:focus::-webkit-input-placeholder": i,
822
+ "&:focus::-moz-placeholder": i,
823
+ "&:focus::-ms-input-placeholder": i
824
+ },
825
+ [`&.${k.disabled}`]: {
826
+ opacity: 1,
827
+ WebkitTextFillColor: (e.vars || e).palette.text.disabled
828
+ },
829
+ variants: [
830
+ {
831
+ props: ({ ownerState: e }) => !e.disableInjectingGlobalStyles,
832
+ style: {
833
+ animationName: Ue,
834
+ animationDuration: "10ms",
835
+ "&:-webkit-autofill": {
836
+ animationDuration: "5000s",
837
+ animationName: He
838
+ }
839
+ }
840
+ },
841
+ {
842
+ props: { size: "small" },
843
+ style: { paddingTop: 1 }
844
+ },
845
+ {
846
+ props: ({ ownerState: e }) => e.multiline,
847
+ style: {
848
+ height: "auto",
849
+ resize: "none",
850
+ padding: 0,
851
+ paddingTop: 0
852
+ }
853
+ },
854
+ {
855
+ props: { type: "search" },
856
+ style: { MozAppearance: "textfield" }
857
+ }
858
+ ]
859
+ };
860
+ })), Je = r({
861
+ [`@keyframes ${He}`]: { from: { animationName: He } },
862
+ [`@keyframes ${Ue}`]: { from: { animationName: Ue } }
863
+ }), Ye = /* @__PURE__ */ N.forwardRef(function(e, n) {
864
+ let r = a({
865
+ props: e,
866
+ name: "MuiInputBase"
867
+ }), { "aria-describedby": i, "aria-label": o, autoComplete: s, autoFocus: c, className: u, color: d, defaultValue: f, disabled: p, disableInjectingGlobalStyles: m, endAdornment: h, error: g, fullWidth: _ = !1, id: ee, inputComponent: v = "input", inputProps: y = {}, inputRef: b, margin: ne, maxRows: x, minRows: S, multiline: re = !1, name: ae, onBlur: C, onChange: se, onClick: w, onFocus: T, onKeyDown: E, onKeyUp: D, placeholder: ue, readOnly: de, renderSuffix: pe, rows: ge, size: _e, slotProps: O = {}, slots: ve = {}, startAdornment: k, type: ye = "text", value: be, ...xe } = r, A = y.value == null ? be : y.value, { current: j } = N.useRef(A != null), M = N.useRef(), Se = N.useCallback((e) => {
868
+ process.env.NODE_ENV !== "production" && e && e.nodeName !== "INPUT" && !e.focus && console.error([
869
+ "MUI: You have provided a `inputComponent` to the input component",
870
+ "that does not correctly handle the `ref` prop.",
871
+ "Make sure the `ref` prop is called with a HTMLInputElement."
872
+ ].join("\n"));
873
+ }, []), Ce = ie(M, b, y.ref, Se), [I, L] = N.useState(!1), [R, z] = me({
874
+ props: r,
875
+ states: [
876
+ "color",
877
+ "disabled",
878
+ "error",
879
+ "hiddenLabel",
880
+ "size",
881
+ "required",
882
+ "filled"
883
+ ]
884
+ });
885
+ process.env.NODE_ENV !== "production" && N.useEffect(() => {
886
+ if (z) return z.registerEffect();
887
+ }, [z]), R.focused = z ? z.focused : I, N.useEffect(() => {
888
+ !z && p && I && (L(!1), C && C());
889
+ }, [
890
+ z,
891
+ p,
892
+ I,
893
+ C
894
+ ]);
895
+ let we = z && z.onFilled, B = z && z.onEmpty, Te = N.useCallback((e) => {
896
+ te(e) ? we && we() : B && B();
897
+ }, [we, B]);
898
+ fe(() => {
899
+ j && Te({ value: A });
900
+ }, [
901
+ A,
902
+ Te,
903
+ j
904
+ ]), fe(() => {
905
+ if (!c) return;
906
+ let e = M.current;
907
+ if (!e) return;
908
+ let t = le(e), n = ce(t), r = n == null || n === t.body || n === t.documentElement;
909
+ e === n ? z && z.onFocus ? z.onFocus() : L(!0) : r && e.focus();
910
+ }, [c]);
911
+ let Ee = (e) => {
912
+ T && T(e), y.onFocus && y.onFocus(e), z && z.onFocus ? z.onFocus(e) : L(!0);
913
+ }, V = (e) => {
914
+ C && C(e), y.onBlur && y.onBlur(e), z && z.onBlur ? z.onBlur(e) : L(!1);
915
+ }, H = (e, ...n) => {
916
+ if (!j) {
917
+ let n = e.target || M.current;
918
+ if (n == null) throw Error(process.env.NODE_ENV === "production" ? t(1) : "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.");
919
+ Te({ value: n.value });
920
+ }
921
+ y.onChange && y.onChange(e, ...n), se && se(e, ...n);
922
+ };
923
+ N.useEffect(() => {
924
+ Te(M.current);
925
+ }, []);
926
+ let De = (e) => {
927
+ M.current && e.currentTarget === e.target && M.current.focus(), w && w(e);
928
+ }, U = v, W = y;
929
+ re && U === "input" && (ge ? (process.env.NODE_ENV !== "production" && (S || x) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), W = {
930
+ type: void 0,
931
+ minRows: ge,
932
+ maxRows: ge,
933
+ ...W
934
+ }) : W = {
935
+ type: void 0,
936
+ maxRows: x,
937
+ minRows: S,
938
+ ...W
939
+ }, U = Y);
940
+ let Oe = (e) => {
941
+ Te(e.animationName === Ue ? M.current : { value: "x" });
942
+ };
943
+ N.useEffect(() => {
944
+ z && z.setAdornedStart(!!k);
945
+ }, [z, k]);
946
+ let ke = {
947
+ ...r,
948
+ color: R.color || "primary",
949
+ disabled: R.disabled,
950
+ endAdornment: h,
951
+ error: R.error,
952
+ focused: R.focused,
953
+ formControl: z,
954
+ fullWidth: _,
955
+ hiddenLabel: R.hiddenLabel,
956
+ multiline: re,
957
+ size: R.size,
958
+ startAdornment: k,
959
+ type: ye
960
+ }, Ae = Ge(ke), G = ve.root || Ke, je = O.root || {}, Me = ve.input || qe;
961
+ return W = {
962
+ ...W,
963
+ ...O.input
964
+ }, /* @__PURE__ */ F(N.Fragment, { children: [!m && typeof Je == "function" && (Ve ||= /* @__PURE__ */ P(Je, {})), /* @__PURE__ */ F(G, {
965
+ ...je,
966
+ ref: n,
967
+ onClick: De,
968
+ ...xe,
969
+ ...!oe(G) && { ownerState: {
970
+ ...ke,
971
+ ...je.ownerState
972
+ } },
973
+ className: l(Ae.root, je.className, u, de && "MuiInputBase-readOnly"),
974
+ children: [
975
+ k,
976
+ /* @__PURE__ */ P(he.Provider, {
977
+ value: null,
978
+ children: /* @__PURE__ */ P(Me, {
979
+ "aria-invalid": R.error,
980
+ "aria-describedby": i,
981
+ "aria-label": o,
982
+ autoComplete: s,
983
+ autoFocus: c,
984
+ defaultValue: f,
985
+ disabled: R.disabled,
986
+ id: ee,
987
+ onAnimationStart: Oe,
988
+ name: ae,
989
+ placeholder: ue,
990
+ readOnly: de,
991
+ required: R.required,
992
+ rows: ge,
993
+ value: A,
994
+ onKeyDown: E,
995
+ onKeyUp: D,
996
+ type: ye,
997
+ ...W,
998
+ ...!oe(Me) && {
999
+ as: U,
1000
+ ownerState: {
1001
+ ...ke,
1002
+ ...W.ownerState
1003
+ }
1004
+ },
1005
+ ref: Ce,
1006
+ className: l(Ae.input, W.className, de && "MuiInputBase-readOnly"),
1007
+ onBlur: V,
1008
+ onChange: H,
1009
+ onFocus: Ee
1010
+ })
1011
+ }),
1012
+ h,
1013
+ pe ? pe({
1014
+ ...R,
1015
+ startAdornment: k
1016
+ }) : null
1017
+ ]
1018
+ })] });
1019
+ });
1020
+ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
1021
+ "aria-describedby": B.default.string,
1022
+ "aria-label": B.default.string,
1023
+ autoComplete: B.default.string,
1024
+ autoFocus: B.default.bool,
1025
+ classes: B.default.object,
1026
+ className: B.default.string,
1027
+ color: B.default.oneOfType([B.default.oneOf([
1028
+ "primary",
1029
+ "secondary",
1030
+ "error",
1031
+ "info",
1032
+ "success",
1033
+ "warning"
1034
+ ]), B.default.string]),
1035
+ defaultValue: B.default.any,
1036
+ disabled: B.default.bool,
1037
+ disableInjectingGlobalStyles: B.default.bool,
1038
+ endAdornment: B.default.node,
1039
+ error: B.default.bool,
1040
+ fullWidth: B.default.bool,
1041
+ id: B.default.string,
1042
+ inputComponent: S,
1043
+ inputProps: B.default.object,
1044
+ inputRef: x,
1045
+ margin: B.default.oneOf(["dense", "none"]),
1046
+ maxRows: B.default.oneOfType([B.default.number, B.default.string]),
1047
+ minRows: B.default.oneOfType([B.default.number, B.default.string]),
1048
+ multiline: B.default.bool,
1049
+ name: B.default.string,
1050
+ onBlur: B.default.func,
1051
+ onChange: B.default.func,
1052
+ onClick: B.default.func,
1053
+ onFocus: B.default.func,
1054
+ onInvalid: B.default.func,
1055
+ onKeyDown: B.default.func,
1056
+ onKeyUp: B.default.func,
1057
+ placeholder: B.default.string,
1058
+ readOnly: B.default.bool,
1059
+ renderSuffix: B.default.func,
1060
+ required: B.default.bool,
1061
+ rows: B.default.oneOfType([B.default.number, B.default.string]),
1062
+ size: B.default.oneOfType([B.default.oneOf(["medium", "small"]), B.default.string]),
1063
+ slotProps: B.default.shape({
1064
+ input: B.default.object,
1065
+ root: B.default.object
1066
+ }),
1067
+ slots: B.default.shape({
1068
+ input: B.default.elementType,
1069
+ root: B.default.elementType
1070
+ }),
1071
+ startAdornment: B.default.node,
1072
+ sx: B.default.oneOfType([
1073
+ B.default.arrayOf(B.default.oneOfType([
1074
+ B.default.func,
1075
+ B.default.object,
1076
+ B.default.bool
1077
+ ])),
1078
+ B.default.func,
1079
+ B.default.object
1080
+ ]),
1081
+ type: B.default.string,
1082
+ value: B.default.any
1083
+ });
1084
+ //#endregion
1085
+ //#region ../../node_modules/@mui/material/Input/Input.mjs
1086
+ var Xe = (e) => {
1087
+ let { classes: t, disableUnderline: n } = e, r = i({
1088
+ root: ["root", !n && "underline"],
1089
+ input: ["input"]
1090
+ }, xe, t);
1091
+ return {
1092
+ ...t,
1093
+ ...r
1094
+ };
1095
+ }, Ze = p(Ke, {
1096
+ shouldForwardProp: (e) => d(e) || e === "classes",
1097
+ name: "MuiInput",
1098
+ slot: "Root",
1099
+ overridesResolver: (e, t) => {
1100
+ let { ownerState: n } = e;
1101
+ return [...We(e, t), !n.disableUnderline && t.underline];
1102
+ }
1103
+ })(v(({ theme: e }) => {
1104
+ let t = e.palette.mode === "light" ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
1105
+ return e.vars && (t = e.alpha(e.vars.palette.common.onBackground, e.vars.opacity.inputUnderline)), {
1106
+ position: "relative",
1107
+ variants: [
1108
+ {
1109
+ props: ({ ownerState: e }) => e.formControl,
1110
+ style: { [`label + &, .${be.root} + &`]: { marginTop: 16 } }
1111
+ },
1112
+ {
1113
+ props: ({ ownerState: e }) => !e.disableUnderline,
1114
+ style: {
1115
+ "&::after": {
1116
+ left: 0,
1117
+ bottom: 0,
1118
+ content: "\"\"",
1119
+ position: "absolute",
1120
+ right: 0,
1121
+ transform: "scaleX(0)",
1122
+ transition: e.transitions.create("transform", {
1123
+ duration: e.transitions.duration.shorter,
1124
+ easing: e.transitions.easing.easeOut
1125
+ }),
1126
+ pointerEvents: "none"
1127
+ },
1128
+ [`&.${A.focused}:after`]: { transform: "scaleX(1) translateX(0)" },
1129
+ [`&.${A.error}`]: { "&::before, &::after": { borderBottomColor: (e.vars || e).palette.error.main } },
1130
+ "&::before": {
1131
+ borderBottom: `1px solid ${t}`,
1132
+ left: 0,
1133
+ bottom: 0,
1134
+ content: "\"\"",
1135
+ position: "absolute",
1136
+ right: 0,
1137
+ transition: e.transitions.create("border-bottom-color", { duration: e.transitions.duration.shorter }),
1138
+ pointerEvents: "none"
1139
+ },
1140
+ [`&:hover:not(.${A.disabled}, .${A.error}):before`]: {
1141
+ borderBottom: `2px solid ${(e.vars || e).palette.text.primary}`,
1142
+ "@media (hover: none)": { borderBottom: `1px solid ${t}` }
1143
+ },
1144
+ [`&.${A.disabled}:before`]: { borderBottomStyle: "dotted" }
1145
+ }
1146
+ },
1147
+ ...Object.entries(e.palette).filter(T()).map(([t]) => ({
1148
+ props: {
1149
+ color: t,
1150
+ disableUnderline: !1
1151
+ },
1152
+ style: { "&::after": { borderBottom: `2px solid ${(e.vars || e).palette[t].main}` } }
1153
+ }))
1154
+ ]
1155
+ };
1156
+ })), Qe = p(qe, {
1157
+ name: "MuiInput",
1158
+ slot: "Input",
1159
+ overridesResolver: X
1160
+ })({}), $e = /* @__PURE__ */ N.forwardRef(function(e, t) {
1161
+ let n = a({
1162
+ props: e,
1163
+ name: "MuiInput"
1164
+ }), { disableUnderline: r = !1, fullWidth: i = !1, inputComponent: o = "input", multiline: c = !1, notched: l, slotProps: u, slots: d = {}, type: f = "text", ...p } = n, m = Xe(n), h = { root: { ownerState: { disableUnderline: r } } }, g = u ? s(u, h) : h;
1165
+ return /* @__PURE__ */ P(Ye, {
1166
+ slots: {
1167
+ root: d.root ?? Ze,
1168
+ input: d.input ?? Qe
1169
+ },
1170
+ slotProps: g,
1171
+ fullWidth: i,
1172
+ inputComponent: o,
1173
+ multiline: c,
1174
+ ref: t,
1175
+ type: f,
1176
+ ...p,
1177
+ classes: m
1178
+ });
1179
+ });
1180
+ process.env.NODE_ENV !== "production" && ($e.propTypes = {
1181
+ autoComplete: B.default.string,
1182
+ autoFocus: B.default.bool,
1183
+ classes: B.default.object,
1184
+ color: B.default.oneOfType([B.default.oneOf(["primary", "secondary"]), B.default.string]),
1185
+ defaultValue: B.default.any,
1186
+ disabled: B.default.bool,
1187
+ disableUnderline: B.default.bool,
1188
+ endAdornment: B.default.node,
1189
+ error: B.default.bool,
1190
+ fullWidth: B.default.bool,
1191
+ id: B.default.string,
1192
+ inputComponent: B.default.elementType,
1193
+ inputProps: B.default.object,
1194
+ inputRef: x,
1195
+ margin: B.default.oneOf(["dense", "none"]),
1196
+ maxRows: B.default.oneOfType([B.default.number, B.default.string]),
1197
+ minRows: B.default.oneOfType([B.default.number, B.default.string]),
1198
+ multiline: B.default.bool,
1199
+ name: B.default.string,
1200
+ notched: B.default.bool,
1201
+ onChange: B.default.func,
1202
+ placeholder: B.default.string,
1203
+ readOnly: B.default.bool,
1204
+ required: B.default.bool,
1205
+ rows: B.default.oneOfType([B.default.number, B.default.string]),
1206
+ slotProps: B.default.shape({
1207
+ input: B.default.object,
1208
+ root: B.default.object
1209
+ }),
1210
+ slots: B.default.shape({
1211
+ input: B.default.elementType,
1212
+ root: B.default.elementType
1213
+ }),
1214
+ startAdornment: B.default.node,
1215
+ sx: B.default.oneOfType([
1216
+ B.default.arrayOf(B.default.oneOfType([
1217
+ B.default.func,
1218
+ B.default.object,
1219
+ B.default.bool
1220
+ ])),
1221
+ B.default.func,
1222
+ B.default.object
1223
+ ]),
1224
+ type: B.default.string,
1225
+ value: B.default.any
1226
+ }), $e.muiName = "Input";
1227
+ //#endregion
1228
+ //#region ../../node_modules/@mui/material/FilledInput/filledInputClasses.mjs
1229
+ function et(e) {
1230
+ return c("MuiFilledInput", e);
1231
+ }
1232
+ var Z = {
1233
+ ...k,
1234
+ ...u("MuiFilledInput", [
1235
+ "root",
1236
+ "underline",
1237
+ "input",
1238
+ "adornedStart",
1239
+ "adornedEnd",
1240
+ "sizeSmall",
1241
+ "multiline",
1242
+ "hiddenLabel"
1243
+ ])
1244
+ }, tt = (e) => {
1245
+ let { classes: t, disableUnderline: n, startAdornment: r, endAdornment: a, size: o, hiddenLabel: s, multiline: c } = e, l = i({
1246
+ root: [
1247
+ "root",
1248
+ !n && "underline",
1249
+ r && "adornedStart",
1250
+ a && "adornedEnd",
1251
+ o === "small" && `size${w(o)}`,
1252
+ s && "hiddenLabel",
1253
+ c && "multiline"
1254
+ ],
1255
+ input: ["input"]
1256
+ }, et, t);
1257
+ return {
1258
+ ...t,
1259
+ ...l
1260
+ };
1261
+ }, nt = p(Ke, {
1262
+ shouldForwardProp: (e) => d(e) || e === "classes",
1263
+ name: "MuiFilledInput",
1264
+ slot: "Root",
1265
+ overridesResolver: (e, t) => {
1266
+ let { ownerState: n } = e;
1267
+ return [...We(e, t), !n.disableUnderline && t.underline];
1268
+ }
1269
+ })(v(({ theme: e }) => {
1270
+ let t = e.palette.mode === "light", n = t ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)", r = t ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)", i = t ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)", a = t ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
1271
+ return {
1272
+ position: "relative",
1273
+ backgroundColor: e.vars ? e.vars.palette.FilledInput.bg : r,
1274
+ borderTopLeftRadius: (e.vars || e).shape.borderRadius,
1275
+ borderTopRightRadius: (e.vars || e).shape.borderRadius,
1276
+ transition: e.transitions.create("background-color", {
1277
+ duration: e.transitions.duration.shorter,
1278
+ easing: e.transitions.easing.easeOut
1279
+ }),
1280
+ "&:hover": {
1281
+ backgroundColor: e.vars ? e.vars.palette.FilledInput.hoverBg : i,
1282
+ "@media (hover: none)": { backgroundColor: e.vars ? e.vars.palette.FilledInput.bg : r }
1283
+ },
1284
+ [`&.${Z.focused}`]: { backgroundColor: e.vars ? e.vars.palette.FilledInput.bg : r },
1285
+ [`&.${Z.disabled}`]: { backgroundColor: e.vars ? e.vars.palette.FilledInput.disabledBg : a },
1286
+ variants: [
1287
+ {
1288
+ props: ({ ownerState: e }) => !e.disableUnderline,
1289
+ style: {
1290
+ "&::after": {
1291
+ left: 0,
1292
+ bottom: 0,
1293
+ content: "\"\"",
1294
+ position: "absolute",
1295
+ right: 0,
1296
+ transform: "scaleX(0)",
1297
+ transition: e.transitions.create("transform", {
1298
+ duration: e.transitions.duration.shorter,
1299
+ easing: e.transitions.easing.easeOut
1300
+ }),
1301
+ pointerEvents: "none"
1302
+ },
1303
+ [`&.${Z.focused}:after`]: { transform: "scaleX(1) translateX(0)" },
1304
+ [`&.${Z.error}`]: { "&::before, &::after": { borderBottomColor: (e.vars || e).palette.error.main } },
1305
+ "&::before": {
1306
+ borderBottom: `1px solid ${e.vars ? e.alpha(e.vars.palette.common.onBackground, e.vars.opacity.inputUnderline) : n}`,
1307
+ left: 0,
1308
+ bottom: 0,
1309
+ content: "\"\"",
1310
+ position: "absolute",
1311
+ right: 0,
1312
+ transition: e.transitions.create("border-bottom-color", { duration: e.transitions.duration.shorter }),
1313
+ pointerEvents: "none"
1314
+ },
1315
+ [`&:hover:not(.${Z.disabled}, .${Z.error}):before`]: { borderBottom: `1px solid ${(e.vars || e).palette.text.primary}` },
1316
+ [`&.${Z.disabled}:before`]: { borderBottomStyle: "dotted" }
1317
+ }
1318
+ },
1319
+ ...Object.entries(e.palette).filter(T()).map(([t]) => ({
1320
+ props: {
1321
+ disableUnderline: !1,
1322
+ color: t
1323
+ },
1324
+ style: { "&::after": { borderBottom: `2px solid ${(e.vars || e).palette[t]?.main}` } }
1325
+ })),
1326
+ {
1327
+ props: ({ ownerState: e }) => e.startAdornment,
1328
+ style: { paddingLeft: 12 }
1329
+ },
1330
+ {
1331
+ props: ({ ownerState: e }) => e.endAdornment,
1332
+ style: { paddingRight: 12 }
1333
+ },
1334
+ {
1335
+ props: ({ ownerState: e }) => e.multiline,
1336
+ style: { padding: "25px 12px 8px" }
1337
+ },
1338
+ {
1339
+ props: ({ ownerState: e, size: t }) => e.multiline && t === "small",
1340
+ style: {
1341
+ paddingTop: 21,
1342
+ paddingBottom: 4
1343
+ }
1344
+ },
1345
+ {
1346
+ props: ({ ownerState: e }) => e.multiline && e.hiddenLabel,
1347
+ style: {
1348
+ paddingTop: 16,
1349
+ paddingBottom: 17
1350
+ }
1351
+ },
1352
+ {
1353
+ props: ({ ownerState: e }) => e.multiline && e.hiddenLabel && e.size === "small",
1354
+ style: {
1355
+ paddingTop: 8,
1356
+ paddingBottom: 9
1357
+ }
1358
+ }
1359
+ ]
1360
+ };
1361
+ })), rt = p(qe, {
1362
+ name: "MuiFilledInput",
1363
+ slot: "Input",
1364
+ overridesResolver: X
1365
+ })(v(({ theme: e }) => ({
1366
+ paddingTop: 25,
1367
+ paddingRight: 12,
1368
+ paddingBottom: 8,
1369
+ paddingLeft: 12,
1370
+ "&:-webkit-autofill": {
1371
+ ...!e.vars && {
1372
+ WebkitBoxShadow: e.palette.mode === "light" ? null : "0 0 0 100px #266798 inset",
1373
+ WebkitTextFillColor: e.palette.mode === "light" ? null : "#fff",
1374
+ caretColor: e.palette.mode === "light" ? null : "#fff"
1375
+ },
1376
+ borderTopLeftRadius: "inherit",
1377
+ borderTopRightRadius: "inherit",
1378
+ ...e.vars && e.applyStyles("dark", {
1379
+ WebkitBoxShadow: "0 0 0 100px #266798 inset",
1380
+ WebkitTextFillColor: "#fff",
1381
+ caretColor: "#fff"
1382
+ })
1383
+ },
1384
+ variants: [
1385
+ {
1386
+ props: { size: "small" },
1387
+ style: {
1388
+ paddingTop: 21,
1389
+ paddingBottom: 4
1390
+ }
1391
+ },
1392
+ {
1393
+ props: ({ ownerState: e }) => e.hiddenLabel,
1394
+ style: {
1395
+ paddingTop: 16,
1396
+ paddingBottom: 17
1397
+ }
1398
+ },
1399
+ {
1400
+ props: ({ ownerState: e }) => e.startAdornment,
1401
+ style: { paddingLeft: 0 }
1402
+ },
1403
+ {
1404
+ props: ({ ownerState: e }) => e.endAdornment,
1405
+ style: { paddingRight: 0 }
1406
+ },
1407
+ {
1408
+ props: ({ ownerState: e }) => e.hiddenLabel && e.size === "small",
1409
+ style: {
1410
+ paddingTop: 8,
1411
+ paddingBottom: 9
1412
+ }
1413
+ },
1414
+ {
1415
+ props: ({ ownerState: e }) => e.multiline,
1416
+ style: {
1417
+ paddingTop: 0,
1418
+ paddingBottom: 0,
1419
+ paddingLeft: 0,
1420
+ paddingRight: 0
1421
+ }
1422
+ }
1423
+ ]
1424
+ }))), Q = /* @__PURE__ */ N.forwardRef(function(e, t) {
1425
+ let n = a({
1426
+ props: e,
1427
+ name: "MuiFilledInput"
1428
+ }), { disableUnderline: r = !1, fullWidth: i = !1, hiddenLabel: o, inputComponent: c = "input", multiline: l = !1, notched: u, slotProps: d, slots: f = {}, type: p = "text", ...m } = n, h = {
1429
+ ...n,
1430
+ disableUnderline: r,
1431
+ fullWidth: i,
1432
+ inputComponent: c,
1433
+ multiline: l,
1434
+ type: p
1435
+ }, g = tt(n), _ = {
1436
+ root: { ownerState: h },
1437
+ input: { ownerState: h }
1438
+ }, ee = d ? s(_, d) : _;
1439
+ return /* @__PURE__ */ P(Ye, {
1440
+ slots: {
1441
+ root: f.root ?? nt,
1442
+ input: f.input ?? rt
1443
+ },
1444
+ slotProps: ee,
1445
+ fullWidth: i,
1446
+ inputComponent: c,
1447
+ multiline: l,
1448
+ ref: t,
1449
+ type: p,
1450
+ ...m,
1451
+ classes: g
1452
+ });
1453
+ });
1454
+ process.env.NODE_ENV !== "production" && (Q.propTypes = {
1455
+ autoComplete: B.default.string,
1456
+ autoFocus: B.default.bool,
1457
+ classes: B.default.object,
1458
+ color: B.default.oneOfType([B.default.oneOf(["primary", "secondary"]), B.default.string]),
1459
+ defaultValue: B.default.any,
1460
+ disabled: B.default.bool,
1461
+ disableUnderline: B.default.bool,
1462
+ endAdornment: B.default.node,
1463
+ error: B.default.bool,
1464
+ fullWidth: B.default.bool,
1465
+ hiddenLabel: B.default.bool,
1466
+ id: B.default.string,
1467
+ inputComponent: B.default.elementType,
1468
+ inputProps: B.default.object,
1469
+ inputRef: x,
1470
+ margin: B.default.oneOf(["dense", "none"]),
1471
+ maxRows: B.default.oneOfType([B.default.number, B.default.string]),
1472
+ minRows: B.default.oneOfType([B.default.number, B.default.string]),
1473
+ multiline: B.default.bool,
1474
+ name: B.default.string,
1475
+ notched: B.default.bool,
1476
+ onChange: B.default.func,
1477
+ placeholder: B.default.string,
1478
+ readOnly: B.default.bool,
1479
+ required: B.default.bool,
1480
+ rows: B.default.oneOfType([B.default.number, B.default.string]),
1481
+ slotProps: B.default.shape({
1482
+ input: B.default.object,
1483
+ root: B.default.object
1484
+ }),
1485
+ slots: B.default.shape({
1486
+ input: B.default.elementType,
1487
+ root: B.default.elementType
1488
+ }),
1489
+ startAdornment: B.default.node,
1490
+ sx: B.default.oneOfType([
1491
+ B.default.arrayOf(B.default.oneOfType([
1492
+ B.default.func,
1493
+ B.default.object,
1494
+ B.default.bool
1495
+ ])),
1496
+ B.default.func,
1497
+ B.default.object
1498
+ ]),
1499
+ type: B.default.string,
1500
+ value: B.default.any
1501
+ }), Q.muiName = "Input";
1502
+ //#endregion
1503
+ //#region ../../node_modules/@mui/material/OutlinedInput/NotchedOutline.mjs
1504
+ var it, at = p("fieldset", {
1505
+ name: "MuiNotchedOutlined",
1506
+ shouldForwardProp: d
1507
+ })({
1508
+ textAlign: "left",
1509
+ position: "absolute",
1510
+ bottom: 0,
1511
+ right: 0,
1512
+ top: -5,
1513
+ left: 0,
1514
+ margin: 0,
1515
+ padding: "0 8px",
1516
+ pointerEvents: "none",
1517
+ borderRadius: "inherit",
1518
+ borderStyle: "solid",
1519
+ borderWidth: 1,
1520
+ overflow: "hidden",
1521
+ minWidth: "0%"
1522
+ }), ot = p("legend", {
1523
+ name: "MuiNotchedOutlined",
1524
+ shouldForwardProp: d
1525
+ })(v(({ theme: e }) => ({
1526
+ float: "unset",
1527
+ width: "auto",
1528
+ overflow: "hidden",
1529
+ variants: [
1530
+ {
1531
+ props: ({ ownerState: e }) => !e.withLabel,
1532
+ style: {
1533
+ padding: 0,
1534
+ lineHeight: "11px",
1535
+ transition: e.transitions.create("width", {
1536
+ duration: 150,
1537
+ easing: e.transitions.easing.easeOut
1538
+ })
1539
+ }
1540
+ },
1541
+ {
1542
+ props: ({ ownerState: e }) => e.withLabel,
1543
+ style: {
1544
+ display: "block",
1545
+ padding: 0,
1546
+ height: 11,
1547
+ fontSize: "0.75em",
1548
+ visibility: "hidden",
1549
+ maxWidth: .01,
1550
+ transition: e.transitions.create("max-width", {
1551
+ duration: 50,
1552
+ easing: e.transitions.easing.easeOut
1553
+ }),
1554
+ whiteSpace: "nowrap",
1555
+ "& > span": {
1556
+ paddingLeft: 5,
1557
+ paddingRight: 5,
1558
+ display: "inline-block",
1559
+ opacity: 0,
1560
+ visibility: "visible"
1561
+ }
1562
+ }
1563
+ },
1564
+ {
1565
+ props: ({ ownerState: e }) => e.withLabel && e.notched,
1566
+ style: {
1567
+ maxWidth: "100%",
1568
+ transition: e.transitions.create("max-width", {
1569
+ duration: 100,
1570
+ easing: e.transitions.easing.easeOut,
1571
+ delay: 50
1572
+ })
1573
+ }
1574
+ }
1575
+ ]
1576
+ })));
1577
+ function st(e) {
1578
+ let { children: t, classes: n, className: r, label: i, notched: a, ...o } = e, s = i != null && i !== "", c = {
1579
+ ...e,
1580
+ notched: a,
1581
+ withLabel: s
1582
+ };
1583
+ return /* @__PURE__ */ P(at, {
1584
+ "aria-hidden": !0,
1585
+ className: r,
1586
+ ownerState: c,
1587
+ ...o,
1588
+ children: /* @__PURE__ */ P(ot, {
1589
+ ownerState: c,
1590
+ children: s ? /* @__PURE__ */ P("span", { children: i }) : it ||= /* @__PURE__ */ P("span", {
1591
+ className: "notranslate",
1592
+ "aria-hidden": !0,
1593
+ children: "​"
1594
+ })
1595
+ })
1596
+ });
1597
+ }
1598
+ process.env.NODE_ENV !== "production" && (st.propTypes = {
1599
+ children: B.default.node,
1600
+ classes: B.default.object,
1601
+ className: B.default.string,
1602
+ label: B.default.node,
1603
+ notched: B.default.bool.isRequired,
1604
+ style: B.default.object
1605
+ });
1606
+ //#endregion
1607
+ //#region ../../node_modules/@mui/material/OutlinedInput/OutlinedInput.mjs
1608
+ var ct = (e) => {
1609
+ let { classes: t } = e, n = i({
1610
+ root: ["root"],
1611
+ notchedOutline: ["notchedOutline"],
1612
+ input: ["input"]
1613
+ }, M, t);
1614
+ return {
1615
+ ...t,
1616
+ ...n
1617
+ };
1618
+ }, lt = p(Ke, {
1619
+ shouldForwardProp: (e) => d(e) || e === "classes",
1620
+ name: "MuiOutlinedInput",
1621
+ slot: "Root",
1622
+ overridesResolver: We
1623
+ })(v(({ theme: e }) => {
1624
+ let t = e.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
1625
+ return {
1626
+ position: "relative",
1627
+ borderRadius: (e.vars || e).shape.borderRadius,
1628
+ [`&:hover .${j.notchedOutline}`]: { borderColor: (e.vars || e).palette.text.primary },
1629
+ "@media (hover: none)": { [`&:hover .${j.notchedOutline}`]: { borderColor: e.vars ? e.alpha(e.vars.palette.common.onBackground, .23) : t } },
1630
+ [`&.${j.focused} .${j.notchedOutline}`]: { borderWidth: 2 },
1631
+ variants: [
1632
+ ...Object.entries(e.palette).filter(T()).map(([t]) => ({
1633
+ props: { color: t },
1634
+ style: { [`&.${j.focused} .${j.notchedOutline}`]: { borderColor: (e.vars || e).palette[t].main } }
1635
+ })),
1636
+ {
1637
+ props: {},
1638
+ style: {
1639
+ [`&.${j.error} .${j.notchedOutline}`]: { borderColor: (e.vars || e).palette.error.main },
1640
+ [`&.${j.disabled} .${j.notchedOutline}`]: { borderColor: (e.vars || e).palette.action.disabled }
1641
+ }
1642
+ },
1643
+ {
1644
+ props: ({ ownerState: e }) => e.startAdornment,
1645
+ style: { paddingLeft: 14 }
1646
+ },
1647
+ {
1648
+ props: ({ ownerState: e }) => e.endAdornment,
1649
+ style: { paddingRight: 14 }
1650
+ },
1651
+ {
1652
+ props: ({ ownerState: e }) => e.multiline,
1653
+ style: { padding: "16.5px 14px" }
1654
+ },
1655
+ {
1656
+ props: ({ ownerState: e, size: t }) => e.multiline && t === "small",
1657
+ style: { padding: "8.5px 14px" }
1658
+ }
1659
+ ]
1660
+ };
1661
+ })), ut = p(st, {
1662
+ name: "MuiOutlinedInput",
1663
+ slot: "NotchedOutline"
1664
+ })(v(({ theme: e }) => {
1665
+ let t = e.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
1666
+ return { borderColor: e.vars ? e.alpha(e.vars.palette.common.onBackground, .23) : t };
1667
+ })), dt = p(qe, {
1668
+ name: "MuiOutlinedInput",
1669
+ slot: "Input",
1670
+ overridesResolver: X
1671
+ })(v(({ theme: e }) => ({
1672
+ padding: "16.5px 14px",
1673
+ "&:-webkit-autofill": {
1674
+ ...!e.vars && {
1675
+ WebkitBoxShadow: e.palette.mode === "light" ? null : "0 0 0 100px #266798 inset",
1676
+ WebkitTextFillColor: e.palette.mode === "light" ? null : "#fff",
1677
+ caretColor: e.palette.mode === "light" ? null : "#fff"
1678
+ },
1679
+ borderRadius: "inherit",
1680
+ ...e.vars && e.applyStyles("dark", {
1681
+ WebkitBoxShadow: "0 0 0 100px #266798 inset",
1682
+ WebkitTextFillColor: "#fff",
1683
+ caretColor: "#fff"
1684
+ })
1685
+ },
1686
+ variants: [
1687
+ {
1688
+ props: { size: "small" },
1689
+ style: { padding: "8.5px 14px" }
1690
+ },
1691
+ {
1692
+ props: ({ ownerState: e }) => e.multiline,
1693
+ style: { padding: 0 }
1694
+ },
1695
+ {
1696
+ props: ({ ownerState: e }) => e.startAdornment,
1697
+ style: { paddingLeft: 0 }
1698
+ },
1699
+ {
1700
+ props: ({ ownerState: e }) => e.endAdornment,
1701
+ style: { paddingRight: 0 }
1702
+ }
1703
+ ]
1704
+ }))), ft = /* @__PURE__ */ N.forwardRef(function(e, t) {
1705
+ let n = a({
1706
+ props: e,
1707
+ name: "MuiOutlinedInput"
1708
+ }), { fullWidth: r = !1, inputComponent: i = "input", label: o, multiline: s = !1, notched: c, slots: l = {}, slotProps: u = {}, type: d = "text", ...f } = n, p = ct(n), [m, h] = me({
1709
+ props: n,
1710
+ states: [
1711
+ "color",
1712
+ "disabled",
1713
+ "error",
1714
+ "focused",
1715
+ "hiddenLabel",
1716
+ "size",
1717
+ "required"
1718
+ ]
1719
+ }), g = {
1720
+ ...n,
1721
+ color: m.color || "primary",
1722
+ disabled: m.disabled,
1723
+ error: m.error,
1724
+ focused: m.focused,
1725
+ formControl: h,
1726
+ fullWidth: r,
1727
+ hiddenLabel: m.hiddenLabel,
1728
+ multiline: s,
1729
+ size: m.size,
1730
+ type: d
1731
+ }, _ = l.root ?? lt, ee = l.input ?? dt, [v, te] = se("notchedOutline", {
1732
+ elementType: ut,
1733
+ className: p.notchedOutline,
1734
+ shouldForwardComponentProp: !0,
1735
+ ownerState: g,
1736
+ externalForwardedProps: {
1737
+ slots: l,
1738
+ slotProps: u
1739
+ },
1740
+ additionalProps: { label: o != null && o !== "" && m.required ? /* @__PURE__ */ F(N.Fragment, { children: [
1741
+ o,
1742
+ " ",
1743
+ "*"
1744
+ ] }) : o }
1745
+ });
1746
+ return /* @__PURE__ */ P(Ye, {
1747
+ slots: {
1748
+ root: _,
1749
+ input: ee
1750
+ },
1751
+ slotProps: u,
1752
+ renderSuffix: (e) => /* @__PURE__ */ P(v, {
1753
+ ...te,
1754
+ notched: c === void 0 ? !!(e.startAdornment || e.filled || e.focused) : c
1755
+ }),
1756
+ fullWidth: r,
1757
+ inputComponent: i,
1758
+ multiline: s,
1759
+ ref: t,
1760
+ type: d,
1761
+ ...f,
1762
+ classes: {
1763
+ ...p,
1764
+ notchedOutline: null
1765
+ }
1766
+ });
1767
+ });
1768
+ process.env.NODE_ENV !== "production" && (ft.propTypes = {
1769
+ autoComplete: B.default.string,
1770
+ autoFocus: B.default.bool,
1771
+ classes: B.default.object,
1772
+ color: B.default.oneOfType([B.default.oneOf(["primary", "secondary"]), B.default.string]),
1773
+ defaultValue: B.default.any,
1774
+ disabled: B.default.bool,
1775
+ endAdornment: B.default.node,
1776
+ error: B.default.bool,
1777
+ fullWidth: B.default.bool,
1778
+ id: B.default.string,
1779
+ inputComponent: B.default.elementType,
1780
+ inputProps: B.default.object,
1781
+ inputRef: x,
1782
+ label: B.default.node,
1783
+ margin: B.default.oneOf(["dense", "none"]),
1784
+ maxRows: B.default.oneOfType([B.default.number, B.default.string]),
1785
+ minRows: B.default.oneOfType([B.default.number, B.default.string]),
1786
+ multiline: B.default.bool,
1787
+ name: B.default.string,
1788
+ notched: B.default.bool,
1789
+ onChange: B.default.func,
1790
+ placeholder: B.default.string,
1791
+ readOnly: B.default.bool,
1792
+ required: B.default.bool,
1793
+ rows: B.default.oneOfType([B.default.number, B.default.string]),
1794
+ slotProps: B.default.shape({
1795
+ input: B.default.object,
1796
+ notchedOutline: B.default.oneOfType([B.default.func, B.default.object]),
1797
+ root: B.default.object
1798
+ }),
1799
+ slots: B.default.shape({
1800
+ input: B.default.elementType,
1801
+ notchedOutline: B.default.elementType,
1802
+ root: B.default.elementType
1803
+ }),
1804
+ startAdornment: B.default.node,
1805
+ sx: B.default.oneOfType([
1806
+ B.default.arrayOf(B.default.oneOfType([
1807
+ B.default.func,
1808
+ B.default.object,
1809
+ B.default.bool
1810
+ ])),
1811
+ B.default.func,
1812
+ B.default.object
1813
+ ]),
1814
+ type: B.default.string,
1815
+ value: B.default.any
1816
+ }), ft.muiName = "Input";
1817
+ //#endregion
1818
+ //#region ../../node_modules/@mui/material/Select/Select.mjs
1819
+ var pt = (e) => {
1820
+ let { classes: t } = e, n = i({ root: ["root"] }, ve, t);
1821
+ return {
1822
+ ...t,
1823
+ ...n
1824
+ };
1825
+ }, mt = {
1826
+ name: "MuiSelect",
1827
+ slot: "Root",
1828
+ shouldForwardProp: (e) => d(e) && e !== "variant"
1829
+ }, ht = p($e, mt)(""), gt = p(ft, mt)(""), _t = p(Q, mt)(""), vt = /* @__PURE__ */ N.forwardRef(function(e, t) {
1830
+ let n = a({
1831
+ name: "MuiSelect",
1832
+ props: e
1833
+ }), { autoWidth: r = !1, children: i, classes: o = {}, className: c, defaultOpen: u = !1, displayEmpty: d = !1, IconComponent: f = ze, id: p, input: m, inputProps: h, label: _, labelId: ee, MenuProps: v, multiple: te = !1, native: y = !1, onClose: b, onOpen: ne, open: x, renderValue: S, SelectDisplayProps: re, variant: ae = "outlined", ...C } = n, oe = y ? ke : Re, [se] = me({
1834
+ props: n,
1835
+ states: ["variant", "error"]
1836
+ }), w = se.variant || ae, T = {
1837
+ ...n,
1838
+ variant: w,
1839
+ classes: o
1840
+ }, E = pt(T), { root: ce, ...D } = E, le = m || {
1841
+ standard: /* @__PURE__ */ P(ht, { ownerState: T }),
1842
+ outlined: /* @__PURE__ */ P(gt, {
1843
+ label: _,
1844
+ ownerState: T
1845
+ }),
1846
+ filled: /* @__PURE__ */ P(_t, { ownerState: T })
1847
+ }[w], ue = ie(t, g(le));
1848
+ return /* @__PURE__ */ P(N.Fragment, { children: /* @__PURE__ */ N.cloneElement(le, {
1849
+ inputComponent: oe,
1850
+ inputProps: {
1851
+ children: i,
1852
+ error: se.error,
1853
+ IconComponent: f,
1854
+ variant: w,
1855
+ type: void 0,
1856
+ multiple: te,
1857
+ ...y ? { id: p } : {
1858
+ autoWidth: r,
1859
+ defaultOpen: u,
1860
+ displayEmpty: d,
1861
+ labelId: ee,
1862
+ MenuProps: v,
1863
+ onClose: b,
1864
+ onOpen: ne,
1865
+ open: x,
1866
+ renderValue: S,
1867
+ SelectDisplayProps: {
1868
+ id: p,
1869
+ ...re
1870
+ }
1871
+ },
1872
+ ...h,
1873
+ classes: h ? s(D, h.classes) : D,
1874
+ ...m ? m.props.inputProps : {}
1875
+ },
1876
+ ...(te && y || d) && w === "outlined" ? { notched: !0 } : {},
1877
+ ref: ue,
1878
+ className: l(le.props.className, c, E.root),
1879
+ ...!m && { variant: w },
1880
+ ...C
1881
+ }) });
1882
+ });
1883
+ process.env.NODE_ENV !== "production" && (vt.propTypes = {
1884
+ autoWidth: B.default.bool,
1885
+ children: B.default.node,
1886
+ classes: B.default.object,
1887
+ className: B.default.string,
1888
+ defaultOpen: B.default.bool,
1889
+ defaultValue: B.default.any,
1890
+ displayEmpty: B.default.bool,
1891
+ IconComponent: B.default.elementType,
1892
+ id: B.default.string,
1893
+ input: B.default.element,
1894
+ inputProps: B.default.object,
1895
+ label: B.default.node,
1896
+ labelId: B.default.string,
1897
+ MenuProps: B.default.object,
1898
+ multiple: B.default.bool,
1899
+ native: B.default.bool,
1900
+ onChange: B.default.func,
1901
+ onClose: B.default.func,
1902
+ onOpen: B.default.func,
1903
+ open: B.default.bool,
1904
+ renderValue: B.default.func,
1905
+ SelectDisplayProps: B.default.object,
1906
+ sx: B.default.oneOfType([
1907
+ B.default.arrayOf(B.default.oneOfType([
1908
+ B.default.func,
1909
+ B.default.object,
1910
+ B.default.bool
1911
+ ])),
1912
+ B.default.func,
1913
+ B.default.object
1914
+ ]),
1915
+ value: B.default.oneOfType([B.default.oneOf([""]), B.default.any]),
1916
+ variant: B.default.oneOf([
1917
+ "filled",
1918
+ "outlined",
1919
+ "standard"
1920
+ ])
1921
+ }), vt.muiName = "Select";
1922
+ //#endregion
1923
+ //#region ../../node_modules/@mui/icons-material/Code.mjs
1924
+ var yt = D(/* @__PURE__ */ P("path", { d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z" }), "Code"), bt = D(/* @__PURE__ */ P("path", { d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42M10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5" }), "FormatBold"), xt = D(/* @__PURE__ */ P("path", { d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z" }), "FormatItalic"), St = D(/* @__PURE__ */ P("path", { d: "M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5m0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5m0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5M7 19h14v-2H7zm0-6h14v-2H7zm0-8v2h14V5z" }), "FormatListBulleted"), Ct = D(/* @__PURE__ */ P("path", { d: "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z" }), "FormatListNumbered"), wt = D(/* @__PURE__ */ P("path", { d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5" }), "Link"), Tt = D(/* @__PURE__ */ P("path", { d: "M6.85 7.08C6.85 4.37 9.45 3 12.24 3c1.64 0 3 .49 3.9 1.28.77.65 1.46 1.73 1.46 3.24h-3.01c0-.31-.05-.59-.15-.85-.29-.86-1.2-1.28-2.25-1.28-1.86 0-2.34 1.02-2.34 1.7 0 .48.25.88.74 1.21.38.25.77.48 1.41.7H7.39c-.21-.34-.54-.89-.54-1.92M21 12v-2H3v2h9.62c1.15.45 1.96.75 1.96 1.97 0 1-.81 1.67-2.28 1.67-1.54 0-2.93-.54-2.93-2.51H6.4c0 .55.08 1.13.24 1.58.81 2.29 3.29 3.3 5.67 3.3 2.27 0 5.3-.89 5.3-4.05 0-.3-.01-1.16-.48-1.94H21z" }), "StrikethroughS"), Et = I(m, {
1925
+ name: "STextEditorToolbar",
1926
+ slot: "Root"
1927
+ })({}), Dt = N.forwardRef(function(e, t) {
1928
+ let n = L({
1929
+ props: e,
1930
+ name: "STextEditorToolbar"
1931
+ }), { className: r, disabled: i = !1, editor: a, spacing: o = 1, sx: s, ...c } = n, l = {
1932
+ ...n,
1933
+ disabled: i,
1934
+ editorReady: a != null
1935
+ }, [u, d] = N.useState(!1), [f, p] = N.useState(null), [h, g] = N.useState("");
1936
+ return N.useEffect(() => {
1937
+ i && (d(!1), p(null), g(""));
1938
+ }, [i]), /* @__PURE__ */ F(N.Fragment, { children: [/* @__PURE__ */ P(Et, {
1939
+ ...c,
1940
+ className: ["tiptap-toolbar", r].filter(Boolean).join(" "),
1941
+ ownerState: l,
1942
+ ref: t,
1943
+ spacing: o,
1944
+ "aria-disabled": i || void 0,
1945
+ sx: [{
1946
+ borderBottom: "1px solid",
1947
+ borderColor: "divider",
1948
+ p: "8px",
1949
+ minHeight: "57px"
1950
+ }, ...b(s)],
1951
+ children: a ? /* @__PURE__ */ F(m, {
1952
+ direction: "row",
1953
+ spacing: .5,
1954
+ sx: {
1955
+ alignItems: "center",
1956
+ flexWrap: "wrap"
1957
+ },
1958
+ children: [
1959
+ /* @__PURE__ */ F(vt, {
1960
+ disabled: i,
1961
+ inputProps: { "aria-label": "Text format" },
1962
+ onChange: (e) => {
1963
+ let t = e.target.value;
1964
+ if (t) {
1965
+ if (t === "p") {
1966
+ a.chain().focus().setParagraph().run();
1967
+ return;
1968
+ }
1969
+ if (t.startsWith("h")) {
1970
+ let e = parseInt(t.replace("h", ""));
1971
+ !isNaN(e) && e >= 1 && e <= 6 && a.chain().focus().setHeading({ level: e }).run();
1972
+ }
1973
+ }
1974
+ },
1975
+ value: Ot(a),
1976
+ children: [/* @__PURE__ */ P(Ce, {
1977
+ disabled: i || !a.can().chain().focus().setParagraph().run(),
1978
+ value: "p",
1979
+ children: "Paragraph"
1980
+ }), [
1981
+ 1,
1982
+ 2,
1983
+ 3,
1984
+ 4,
1985
+ 5,
1986
+ 6
1987
+ ].map((e) => /* @__PURE__ */ F(Ce, {
1988
+ disabled: i || !a.can().chain().focus().setHeading({ level: e }).run(),
1989
+ value: `h${e}`,
1990
+ children: ["Heading ", e]
1991
+ }, e))]
1992
+ }),
1993
+ /* @__PURE__ */ P($, {
1994
+ active: a.isActive("bold"),
1995
+ disabled: i || !a.can().chain().focus().toggleBold().run(),
1996
+ label: "Bold",
1997
+ onClick: () => {
1998
+ a.chain().focus().toggleBold().run();
1999
+ },
2000
+ children: /* @__PURE__ */ P(bt, {})
2001
+ }),
2002
+ /* @__PURE__ */ P($, {
2003
+ active: a.isActive("italic"),
2004
+ disabled: i || !a.can().chain().focus().toggleItalic().run(),
2005
+ label: "Italic",
2006
+ onClick: () => {
2007
+ a.chain().focus().toggleItalic().run();
2008
+ },
2009
+ children: /* @__PURE__ */ P(xt, {})
2010
+ }),
2011
+ /* @__PURE__ */ P($, {
2012
+ active: a.isActive("strike"),
2013
+ disabled: i || !a.can().chain().focus().toggleStrike().run(),
2014
+ label: "Strikethrough",
2015
+ onClick: () => {
2016
+ a.chain().focus().toggleStrike().run();
2017
+ },
2018
+ children: /* @__PURE__ */ P(Tt, {})
2019
+ }),
2020
+ /* @__PURE__ */ P($, {
2021
+ active: a.isActive("codeBlock"),
2022
+ disabled: i || !a.can().chain().focus().toggleCodeBlock().run(),
2023
+ label: "Code block",
2024
+ onClick: () => {
2025
+ a.chain().focus().toggleCodeBlock().run();
2026
+ },
2027
+ children: /* @__PURE__ */ P(yt, {})
2028
+ }),
2029
+ /* @__PURE__ */ P($, {
2030
+ active: a.isActive("bulletList"),
2031
+ disabled: i || !a.can().chain().focus().toggleBulletList().run(),
2032
+ label: "Bulleted list",
2033
+ onClick: () => {
2034
+ a.chain().focus().toggleBulletList().run();
2035
+ },
2036
+ children: /* @__PURE__ */ P(St, {})
2037
+ }),
2038
+ /* @__PURE__ */ P($, {
2039
+ active: a.isActive("orderedList"),
2040
+ disabled: i || !a.can().chain().focus().toggleOrderedList().run(),
2041
+ label: "Numbered list",
2042
+ onClick: () => {
2043
+ a.chain().focus().toggleOrderedList().run();
2044
+ },
2045
+ children: /* @__PURE__ */ P(Ct, {})
2046
+ }),
2047
+ /* @__PURE__ */ P($, {
2048
+ disabled: i,
2049
+ label: "Set link",
2050
+ onClick: (e) => {
2051
+ g(a.getAttributes("link").href ?? ""), p(e.currentTarget), d(!0);
2052
+ },
2053
+ children: /* @__PURE__ */ P(wt, {})
2054
+ }),
2055
+ /* @__PURE__ */ P($, {
2056
+ active: a.isActive("link"),
2057
+ disabled: i || !a.can().chain().focus().unsetLink().run(),
2058
+ label: "Remove link",
2059
+ onClick: () => {
2060
+ a.chain().focus().unsetLink().run();
2061
+ },
2062
+ children: /* @__PURE__ */ P(wt, {})
2063
+ })
2064
+ ]
2065
+ }) : null
2066
+ }), /* @__PURE__ */ P(ge, {
2067
+ anchorEl: f,
2068
+ anchorOrigin: {
2069
+ horizontal: "left",
2070
+ vertical: "bottom"
2071
+ },
2072
+ onClose: () => {
2073
+ d(!1), p(null), g("");
2074
+ },
2075
+ open: !i && u,
2076
+ slotProps: { paper: { sx: { p: 2 } } },
2077
+ children: /* @__PURE__ */ P(y, { children: /* @__PURE__ */ P(Se, {
2078
+ name: "url",
2079
+ label: "URL",
2080
+ onChange: (e) => {
2081
+ g(e.target.value);
2082
+ },
2083
+ onKeyUp: (e) => {
2084
+ if (e.key === "Enter") {
2085
+ if (h === "") {
2086
+ a?.chain().focus().extendMarkRange("link").unsetLink().run();
2087
+ return;
2088
+ }
2089
+ a?.chain().focus().setLink({ href: h }).run(), d(!1), p(null), g("");
2090
+ }
2091
+ },
2092
+ value: h
2093
+ }) })
2094
+ })] });
2095
+ });
2096
+ Dt.displayName = "STextEditorToolbar";
2097
+ function Ot(e) {
2098
+ if (e.isActive("paragraph")) return "p";
2099
+ for (let t of [
2100
+ 1,
2101
+ 2,
2102
+ 3,
2103
+ 4,
2104
+ 5,
2105
+ 6
2106
+ ]) if (e.isActive("heading", { level: t })) return `h${t}`;
2107
+ return "p";
2108
+ }
2109
+ var $ = N.forwardRef(function({ active: e, children: t, disabled: n, label: r, onClick: i }, a) {
2110
+ return /* @__PURE__ */ P(_, {
2111
+ "aria-label": r,
2112
+ "aria-pressed": e,
2113
+ color: e ? "primary" : "inherit",
2114
+ disabled: n,
2115
+ onClick: i,
2116
+ ref: a,
2117
+ children: t
2118
+ });
2119
+ });
2120
+ //#endregion
2121
+ export { Dt as t };