@g4rcez/components 5.0.1 → 5.0.3

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 (514) hide show
  1. package/dist/AnimatePresence-j36AYeOQ.js +181 -0
  2. package/dist/AnimatePresence-j36AYeOQ.js.map +1 -0
  3. package/dist/Calendar.es-xICmgvjq.js +23 -0
  4. package/dist/Calendar.es-xICmgvjq.js.map +1 -0
  5. package/dist/Funnel.es-DjKVl8Nj.js +23 -0
  6. package/dist/Funnel.es-DjKVl8Nj.js.map +1 -0
  7. package/dist/{MotionConfig-DKKYqBH2.js → MotionConfig-CXHoPGbK.js} +2 -2
  8. package/dist/{MotionConfig-DKKYqBH2.js.map → MotionConfig-CXHoPGbK.js.map} +1 -1
  9. package/dist/Plus.es-DbyRkEE2.js +23 -0
  10. package/dist/Plus.es-DbyRkEE2.js.map +1 -0
  11. package/dist/Trash.es-BFAc8PMf.js +23 -0
  12. package/dist/Trash.es-BFAc8PMf.js.map +1 -0
  13. package/dist/{calendar-PCCZDUIL.js → calendar-DEPkz8sw.js} +364 -502
  14. package/dist/calendar-DEPkz8sw.js.map +1 -0
  15. package/dist/calendar-header-Dfr-CwkY.js +174 -0
  16. package/dist/calendar-header-Dfr-CwkY.js.map +1 -0
  17. package/dist/chunk-jwUa06l-.js +23 -0
  18. package/dist/components/core/button.d.ts +77 -0
  19. package/dist/components/core/button.d.ts.map +1 -0
  20. package/dist/components/core/button.js +1 -1
  21. package/dist/components/core/button.jsx +79 -0
  22. package/dist/components/core/heading.d.ts +3 -0
  23. package/dist/components/core/heading.d.ts.map +1 -0
  24. package/dist/components/core/heading.js +11 -0
  25. package/dist/components/core/heading.js.map +1 -0
  26. package/dist/components/core/heading.jsx +4 -0
  27. package/dist/components/core/polymorph.d.ts +10 -0
  28. package/dist/components/core/polymorph.d.ts.map +1 -0
  29. package/dist/{polymorph-BLXhrn9n.js → components/core/polymorph.js} +2 -2
  30. package/dist/components/core/polymorph.js.map +1 -0
  31. package/dist/components/core/polymorph.jsx +5 -0
  32. package/dist/components/core/render-on-view.d.ts +7 -0
  33. package/dist/components/core/render-on-view.d.ts.map +1 -0
  34. package/dist/components/core/render-on-view.js +29 -0
  35. package/dist/components/core/render-on-view.js.map +1 -0
  36. package/dist/components/core/render-on-view.jsx +31 -0
  37. package/dist/components/core/resizable.d.ts +9 -0
  38. package/dist/components/core/resizable.d.ts.map +1 -0
  39. package/dist/components/core/resizable.js +60 -0
  40. package/dist/components/core/resizable.js.map +1 -0
  41. package/dist/components/core/resizable.jsx +57 -0
  42. package/dist/components/core/slot.d.ts +16 -0
  43. package/dist/components/core/slot.d.ts.map +1 -0
  44. package/dist/{slot-pC8kH9De.js → components/core/slot.js} +2 -2
  45. package/dist/components/core/slot.js.map +1 -0
  46. package/dist/components/core/slot.jsx +156 -0
  47. package/dist/components/core/tag.d.ts +35 -0
  48. package/dist/components/core/tag.d.ts.map +1 -0
  49. package/dist/components/core/tag.js +1 -1
  50. package/dist/components/core/tag.jsx +53 -0
  51. package/dist/components/core/typography.d.ts +25 -0
  52. package/dist/components/core/typography.d.ts.map +1 -0
  53. package/dist/components/core/typography.js +40 -0
  54. package/dist/components/core/typography.js.map +1 -0
  55. package/dist/components/core/typography.jsx +20 -0
  56. package/dist/components/display/alert.d.ts +28 -0
  57. package/dist/components/display/alert.d.ts.map +1 -0
  58. package/dist/components/display/alert.js +83 -102
  59. package/dist/components/display/alert.js.map +1 -1
  60. package/dist/components/display/alert.jsx +58 -0
  61. package/dist/components/display/calendar.d.ts +42 -0
  62. package/dist/components/display/calendar.d.ts.map +1 -0
  63. package/dist/components/display/calendar.js +1 -1
  64. package/dist/components/display/calendar.jsx +323 -0
  65. package/dist/components/display/card.d.ts +29 -0
  66. package/dist/components/display/card.d.ts.map +1 -0
  67. package/dist/components/display/card.js +2 -2
  68. package/dist/components/display/card.jsx +43 -0
  69. package/dist/components/display/empty.d.ts +8 -0
  70. package/dist/components/display/empty.d.ts.map +1 -0
  71. package/dist/components/display/empty.js +25 -0
  72. package/dist/components/display/empty.js.map +1 -0
  73. package/dist/components/display/empty.jsx +13 -0
  74. package/dist/components/display/list.d.ts +16 -0
  75. package/dist/components/display/list.d.ts.map +1 -0
  76. package/dist/components/display/list.js +132 -122
  77. package/dist/components/display/list.js.map +1 -1
  78. package/dist/components/display/list.jsx +90 -0
  79. package/dist/components/display/notifications.d.ts +27 -0
  80. package/dist/components/display/notifications.d.ts.map +1 -0
  81. package/dist/components/display/notifications.js +1 -1
  82. package/dist/components/display/notifications.jsx +132 -0
  83. package/dist/components/display/progress.d.ts +16 -0
  84. package/dist/components/display/progress.d.ts.map +1 -0
  85. package/dist/components/display/progress.js +3 -0
  86. package/dist/components/display/progress.jsx +19 -0
  87. package/dist/components/display/shortcut.d.ts +4 -0
  88. package/dist/components/display/shortcut.d.ts.map +1 -0
  89. package/dist/components/display/shortcut.js +2 -0
  90. package/dist/components/display/shortcut.jsx +23 -0
  91. package/dist/components/display/skeleton.d.ts +12 -0
  92. package/dist/components/display/skeleton.d.ts.map +1 -0
  93. package/dist/components/display/skeleton.js +41 -0
  94. package/dist/components/display/skeleton.js.map +1 -0
  95. package/dist/components/display/skeleton.jsx +19 -0
  96. package/dist/components/display/spinner.d.ts +5 -0
  97. package/dist/components/display/spinner.d.ts.map +1 -0
  98. package/dist/components/display/spinner.js +17 -0
  99. package/dist/components/display/spinner.js.map +1 -0
  100. package/dist/components/display/spinner.jsx +11 -0
  101. package/dist/components/display/stats.d.ts +12 -0
  102. package/dist/components/display/stats.d.ts.map +1 -0
  103. package/dist/components/display/stats.jsx +16 -0
  104. package/dist/components/display/step.d.ts +24 -0
  105. package/dist/components/display/step.d.ts.map +1 -0
  106. package/dist/components/display/step.js +3 -0
  107. package/dist/components/display/step.jsx +145 -0
  108. package/dist/components/display/tabs.d.ts +24 -0
  109. package/dist/components/display/tabs.d.ts.map +1 -0
  110. package/dist/components/display/tabs.js +1 -1
  111. package/dist/components/display/tabs.jsx +125 -0
  112. package/dist/components/display/timeline.d.ts +10 -0
  113. package/dist/components/display/timeline.d.ts.map +1 -0
  114. package/dist/components/display/timeline.js +1 -1
  115. package/dist/components/display/timeline.jsx +25 -0
  116. package/dist/components/floating/command-palette.d.ts +49 -0
  117. package/dist/components/floating/command-palette.d.ts.map +1 -0
  118. package/dist/components/floating/command-palette.js +255 -0
  119. package/dist/components/floating/command-palette.js.map +1 -0
  120. package/dist/components/floating/command-palette.jsx +232 -0
  121. package/dist/components/floating/dropdown.d.ts +15 -0
  122. package/dist/components/floating/dropdown.d.ts.map +1 -0
  123. package/dist/components/floating/dropdown.js +1 -1
  124. package/dist/components/floating/dropdown.js.map +1 -1
  125. package/dist/components/floating/dropdown.jsx +56 -0
  126. package/dist/components/floating/expand.d.ts +11 -0
  127. package/dist/components/floating/expand.d.ts.map +1 -0
  128. package/dist/components/floating/expand.js +15 -14
  129. package/dist/components/floating/expand.js.map +1 -1
  130. package/dist/components/floating/expand.jsx +44 -0
  131. package/dist/components/floating/menu.d.ts +52 -0
  132. package/dist/components/floating/menu.d.ts.map +1 -0
  133. package/dist/components/floating/menu.js +1 -1
  134. package/dist/components/floating/menu.jsx +165 -0
  135. package/dist/components/floating/modal.d.ts +63 -0
  136. package/dist/components/floating/modal.d.ts.map +1 -0
  137. package/dist/components/floating/modal.js +1 -1
  138. package/dist/components/floating/modal.jsx +375 -0
  139. package/dist/components/floating/toolbar.d.ts +6 -0
  140. package/dist/components/floating/toolbar.d.ts.map +1 -0
  141. package/dist/components/floating/toolbar.js +20 -0
  142. package/dist/components/floating/toolbar.js.map +1 -0
  143. package/dist/components/floating/toolbar.jsx +9 -0
  144. package/dist/components/floating/tooltip.d.ts +17 -0
  145. package/dist/components/floating/tooltip.d.ts.map +1 -0
  146. package/dist/components/floating/tooltip.js +2 -2
  147. package/dist/components/floating/tooltip.js.map +1 -1
  148. package/dist/components/floating/tooltip.jsx +67 -0
  149. package/dist/components/floating/wizard.d.ts +26 -0
  150. package/dist/components/floating/wizard.d.ts.map +1 -0
  151. package/dist/components/floating/wizard.js +3 -0
  152. package/dist/components/floating/wizard.jsx +165 -0
  153. package/dist/components/form/autocomplete.d.ts +16 -0
  154. package/dist/components/form/autocomplete.d.ts.map +1 -0
  155. package/dist/components/form/autocomplete.js +344 -2
  156. package/dist/components/form/autocomplete.js.map +1 -0
  157. package/dist/components/form/autocomplete.jsx +299 -0
  158. package/dist/components/form/checkbox.d.ts +12 -0
  159. package/dist/components/form/checkbox.d.ts.map +1 -0
  160. package/dist/components/form/checkbox.js +29 -27
  161. package/dist/components/form/checkbox.js.map +1 -1
  162. package/dist/components/form/checkbox.jsx +27 -0
  163. package/dist/components/form/date-picker.d.ts +10 -0
  164. package/dist/components/form/date-picker.d.ts.map +1 -0
  165. package/dist/components/form/date-picker.js +1 -1
  166. package/dist/components/form/date-picker.jsx +115 -0
  167. package/dist/components/form/file-upload.d.ts +20 -0
  168. package/dist/components/form/file-upload.d.ts.map +1 -0
  169. package/dist/components/form/file-upload.js +1 -1
  170. package/dist/components/form/file-upload.jsx +160 -0
  171. package/dist/components/form/form.d.ts +3 -0
  172. package/dist/components/form/form.d.ts.map +1 -0
  173. package/dist/components/form/form.jsx +10 -0
  174. package/dist/components/form/formReset.d.ts +2 -0
  175. package/dist/components/form/formReset.d.ts.map +1 -0
  176. package/dist/components/form/formReset.js +10 -0
  177. package/dist/components/form/formReset.js.map +1 -0
  178. package/dist/components/form/formReset.jsx +17 -0
  179. package/dist/components/form/free-text.d.ts +11 -0
  180. package/dist/components/form/free-text.d.ts.map +1 -0
  181. package/dist/components/form/free-text.js +70 -0
  182. package/dist/components/form/free-text.js.map +1 -0
  183. package/dist/components/form/free-text.jsx +41 -0
  184. package/dist/components/form/input-field.d.ts +34 -0
  185. package/dist/components/form/input-field.d.ts.map +1 -0
  186. package/dist/components/form/input-field.js +3 -0
  187. package/dist/components/form/input-field.jsx +64 -0
  188. package/dist/components/form/input.d.ts +52 -0
  189. package/dist/components/form/input.d.ts.map +1 -0
  190. package/dist/components/form/input.js +1 -1
  191. package/dist/components/form/input.jsx +36 -0
  192. package/dist/components/form/multi-select.d.ts +19 -0
  193. package/dist/components/form/multi-select.d.ts.map +1 -0
  194. package/dist/components/form/multi-select.js +420 -0
  195. package/dist/components/form/multi-select.js.map +1 -0
  196. package/dist/components/form/multi-select.jsx +352 -0
  197. package/dist/components/form/radiobox.d.ts +7 -0
  198. package/dist/components/form/radiobox.d.ts.map +1 -0
  199. package/dist/components/form/radiobox.jsx +6 -0
  200. package/dist/components/form/select.d.ts +13 -0
  201. package/dist/components/form/select.d.ts.map +1 -0
  202. package/dist/components/form/select.js +55 -51
  203. package/dist/components/form/select.js.map +1 -1
  204. package/dist/components/form/select.jsx +47 -0
  205. package/dist/components/form/slider.d.ts +7 -0
  206. package/dist/components/form/slider.d.ts.map +1 -0
  207. package/dist/components/form/slider.js +3 -0
  208. package/dist/components/form/slider.jsx +45 -0
  209. package/dist/components/form/switch.d.ts +10 -0
  210. package/dist/components/form/switch.d.ts.map +1 -0
  211. package/dist/components/form/switch.js +32 -26
  212. package/dist/components/form/switch.js.map +1 -1
  213. package/dist/components/form/switch.jsx +59 -0
  214. package/dist/components/form/task-list.d.ts +3 -0
  215. package/dist/components/form/task-list.d.ts.map +1 -0
  216. package/dist/components/form/task-list.jsx +26 -0
  217. package/dist/components/form/textarea.d.ts +5 -0
  218. package/dist/components/form/textarea.d.ts.map +1 -0
  219. package/dist/components/form/textarea.js +19 -0
  220. package/dist/components/form/textarea.js.map +1 -0
  221. package/dist/components/form/textarea.jsx +26 -0
  222. package/dist/components/index.d.ts +45 -0
  223. package/dist/components/index.d.ts.map +1 -0
  224. package/dist/components/index.js +44 -0
  225. package/dist/components/page-calendar/calendar-header.d.ts +16 -0
  226. package/dist/components/page-calendar/calendar-header.d.ts.map +1 -0
  227. package/dist/components/page-calendar/calendar-header.js +2 -0
  228. package/dist/components/page-calendar/calendar-header.jsx +85 -0
  229. package/dist/components/page-calendar/day-view.d.ts +12 -0
  230. package/dist/components/page-calendar/day-view.d.ts.map +1 -0
  231. package/dist/components/page-calendar/day-view.js +124 -0
  232. package/dist/components/page-calendar/day-view.js.map +1 -0
  233. package/dist/components/page-calendar/day-view.jsx +89 -0
  234. package/dist/components/page-calendar/event-pill.d.ts +9 -0
  235. package/dist/components/page-calendar/event-pill.d.ts.map +1 -0
  236. package/dist/components/page-calendar/event-pill.js +44 -0
  237. package/dist/components/page-calendar/event-pill.js.map +1 -0
  238. package/dist/components/page-calendar/event-pill.jsx +25 -0
  239. package/dist/components/page-calendar/index.d.ts +4 -0
  240. package/dist/components/page-calendar/index.d.ts.map +1 -0
  241. package/dist/components/page-calendar/index.js +2 -0
  242. package/dist/components/page-calendar/month-view.d.ts +11 -0
  243. package/dist/components/page-calendar/month-view.d.ts.map +1 -0
  244. package/dist/components/page-calendar/month-view.js +109 -0
  245. package/dist/components/page-calendar/month-view.js.map +1 -0
  246. package/dist/components/page-calendar/month-view.jsx +93 -0
  247. package/dist/components/page-calendar/page-calendar.d.ts +18 -0
  248. package/dist/components/page-calendar/page-calendar.d.ts.map +1 -0
  249. package/dist/components/page-calendar/page-calendar.js +75 -0
  250. package/dist/components/page-calendar/page-calendar.js.map +1 -0
  251. package/dist/components/page-calendar/page-calendar.jsx +41 -0
  252. package/dist/components/page-calendar/page-calendar.types.d.ts +18 -0
  253. package/dist/components/page-calendar/page-calendar.types.d.ts.map +1 -0
  254. package/dist/components/page-calendar/page-calendar.types.js +1 -0
  255. package/dist/components/page-calendar/page-calendar.utils.d.ts +24 -0
  256. package/dist/components/page-calendar/page-calendar.utils.d.ts.map +1 -0
  257. package/dist/components/page-calendar/page-calendar.utils.js +93 -0
  258. package/dist/components/page-calendar/week-view.d.ts +11 -0
  259. package/dist/components/page-calendar/week-view.d.ts.map +1 -0
  260. package/dist/components/page-calendar/week-view.js +88 -0
  261. package/dist/components/page-calendar/week-view.js.map +1 -0
  262. package/dist/components/page-calendar/week-view.jsx +66 -0
  263. package/dist/components/table/filter.d.ts +42 -0
  264. package/dist/components/table/filter.d.ts.map +1 -0
  265. package/dist/components/table/filter.js +239 -0
  266. package/dist/components/table/filter.js.map +1 -0
  267. package/dist/components/table/filter.jsx +174 -0
  268. package/dist/components/table/group.d.ts +17 -0
  269. package/dist/components/table/group.d.ts.map +1 -0
  270. package/dist/components/table/group.js +3 -0
  271. package/dist/components/table/group.jsx +77 -0
  272. package/dist/components/table/index.d.ts +19 -0
  273. package/dist/components/table/index.d.ts.map +1 -0
  274. package/dist/components/table/index.js +102 -0
  275. package/dist/components/table/index.js.map +1 -0
  276. package/dist/components/table/index.jsx +63 -0
  277. package/dist/components/table/inner-table.d.ts +29 -0
  278. package/dist/components/table/inner-table.d.ts.map +1 -0
  279. package/dist/components/table/inner-table.js +2 -0
  280. package/dist/components/table/inner-table.jsx +102 -0
  281. package/dist/components/table/metadata.d.ts +4 -0
  282. package/dist/components/table/metadata.d.ts.map +1 -0
  283. package/dist/components/table/metadata.js +73 -0
  284. package/dist/components/table/metadata.js.map +1 -0
  285. package/dist/components/table/metadata.jsx +36 -0
  286. package/dist/components/table/pagination.d.ts +5 -0
  287. package/dist/components/table/pagination.d.ts.map +1 -0
  288. package/dist/components/table/pagination.js +70 -0
  289. package/dist/components/table/pagination.js.map +1 -0
  290. package/dist/components/table/pagination.jsx +74 -0
  291. package/dist/components/table/row.d.ts +11 -0
  292. package/dist/components/table/row.d.ts.map +1 -0
  293. package/dist/components/table/row.js +58 -0
  294. package/dist/components/table/row.js.map +1 -0
  295. package/dist/components/table/row.jsx +49 -0
  296. package/dist/components/table/sort.d.ts +28 -0
  297. package/dist/components/table/sort.d.ts.map +1 -0
  298. package/dist/components/table/sort.js +3 -0
  299. package/dist/components/table/sort.jsx +111 -0
  300. package/dist/components/table/table-lib.d.ts +135 -0
  301. package/dist/components/table/table-lib.d.ts.map +1 -0
  302. package/dist/components/table/table-lib.js +83 -0
  303. package/dist/components/table/table.context.d.ts +10 -0
  304. package/dist/components/table/table.context.d.ts.map +1 -0
  305. package/dist/components/table/table.context.jsx +5 -0
  306. package/dist/components/table/thead.d.ts +9 -0
  307. package/dist/components/table/thead.d.ts.map +1 -0
  308. package/dist/components/table/thead.js +3 -0
  309. package/dist/components/table/thead.jsx +103 -0
  310. package/dist/config/context.d.ts +21 -0
  311. package/dist/config/context.d.ts.map +1 -0
  312. package/dist/config/context.js +12 -0
  313. package/dist/config/default-translations.d.ts +112 -0
  314. package/dist/config/default-translations.d.ts.map +1 -0
  315. package/dist/config/default-translations.jsx +105 -0
  316. package/dist/config/default-tweaks.d.ts +13 -0
  317. package/dist/config/default-tweaks.d.ts.map +1 -0
  318. package/dist/config/default-tweaks.js +4 -0
  319. package/dist/constants.d.ts +3 -0
  320. package/dist/constants.d.ts.map +1 -0
  321. package/dist/constants.js +2 -0
  322. package/dist/{use-translations-DTLfPE3_.js → context-CsnUsfeP.js} +55 -40
  323. package/dist/context-CsnUsfeP.js.map +1 -0
  324. package/dist/{date-picker-BhKEFZew.js → date-picker-DNzupG8R.js} +301 -317
  325. package/dist/date-picker-DNzupG8R.js.map +1 -0
  326. package/dist/dict-CisoYSMO.js +28 -0
  327. package/dist/dict-CisoYSMO.js.map +1 -0
  328. package/dist/dist-ChfJ5LO9.js +498 -0
  329. package/dist/dist-ChfJ5LO9.js.map +1 -0
  330. package/dist/{dist-BrGpYRaj.js → dist-DIjUECx9.js} +56 -56
  331. package/dist/{dist-BrGpYRaj.js.map → dist-DIjUECx9.js.map} +1 -1
  332. package/dist/dom-Bn4wY_Zx.js.map +1 -1
  333. package/dist/{file-upload-DWbZfeG5.js → file-upload-C2zNnv9n.js} +501 -481
  334. package/dist/{file-upload-DWbZfeG5.js.map → file-upload-C2zNnv9n.js.map} +1 -1
  335. package/dist/fzf-CPGDDCoU.js +64 -0
  336. package/dist/fzf-CPGDDCoU.js.map +1 -0
  337. package/dist/getISOWeek-EcB4Ebqp.js +72 -0
  338. package/dist/getISOWeek-EcB4Ebqp.js.map +1 -0
  339. package/dist/group-Dl14TJXO.js +222 -0
  340. package/dist/group-Dl14TJXO.js.map +1 -0
  341. package/dist/hooks/use-click-outside.d.ts +3 -0
  342. package/dist/hooks/use-click-outside.d.ts.map +1 -0
  343. package/dist/hooks/use-click-outside.js +17 -0
  344. package/dist/hooks/use-color-parser.d.ts +2 -0
  345. package/dist/hooks/use-color-parser.d.ts.map +1 -0
  346. package/dist/hooks/use-color-parser.js +9 -0
  347. package/dist/hooks/use-components-provider.d.ts +15 -0
  348. package/dist/hooks/use-components-provider.d.ts.map +1 -0
  349. package/dist/hooks/use-components-provider.jsx +22 -0
  350. package/dist/hooks/use-debounce.d.ts +5 -0
  351. package/dist/hooks/use-debounce.d.ts.map +1 -0
  352. package/dist/hooks/use-debounce.js +12 -0
  353. package/dist/hooks/use-floating-ref.d.ts +2 -0
  354. package/dist/hooks/use-floating-ref.d.ts.map +1 -0
  355. package/dist/hooks/use-floating-ref.js +6 -0
  356. package/dist/hooks/use-form.d.ts +394 -0
  357. package/dist/hooks/use-form.d.ts.map +1 -0
  358. package/dist/hooks/use-form.js +563 -0
  359. package/dist/hooks/use-hover.d.ts +3 -0
  360. package/dist/hooks/use-hover.d.ts.map +1 -0
  361. package/dist/hooks/use-hover.js +18 -0
  362. package/dist/hooks/use-input-id.d.ts +4 -0
  363. package/dist/hooks/use-input-id.d.ts.map +1 -0
  364. package/dist/hooks/use-input-id.js +5 -0
  365. package/dist/hooks/use-is-coarse-device.d.ts +2 -0
  366. package/dist/hooks/use-is-coarse-device.d.ts.map +1 -0
  367. package/dist/hooks/use-is-coarse-device.js +12 -0
  368. package/dist/hooks/use-locale.d.ts +3 -0
  369. package/dist/hooks/use-locale.d.ts.map +1 -0
  370. package/dist/hooks/use-locale.js +10 -0
  371. package/dist/hooks/use-media-query.d.ts +2 -0
  372. package/dist/hooks/use-media-query.d.ts.map +1 -0
  373. package/dist/hooks/use-media-query.js +25 -0
  374. package/dist/hooks/use-on-event.d.ts +4 -0
  375. package/dist/hooks/use-on-event.d.ts.map +1 -0
  376. package/dist/hooks/use-on-event.js +10 -0
  377. package/dist/hooks/use-parent.d.ts +3 -0
  378. package/dist/hooks/use-parent.d.ts.map +1 -0
  379. package/dist/hooks/use-parent.js +21 -0
  380. package/dist/hooks/use-preferences.d.ts +2 -0
  381. package/dist/hooks/use-preferences.d.ts.map +1 -0
  382. package/dist/hooks/use-preferences.js +23 -0
  383. package/dist/hooks/use-previous.d.ts +2 -0
  384. package/dist/hooks/use-previous.d.ts.map +1 -0
  385. package/dist/hooks/use-previous.js +9 -0
  386. package/dist/hooks/use-reactive.d.ts +2 -0
  387. package/dist/hooks/use-reactive.d.ts.map +1 -0
  388. package/dist/hooks/use-reactive.js +9 -0
  389. package/dist/hooks/use-remove-scroll.d.ts +4 -0
  390. package/dist/hooks/use-remove-scroll.d.ts.map +1 -0
  391. package/dist/hooks/use-remove-scroll.js +48 -0
  392. package/dist/hooks/use-resize-observer.d.ts +2 -0
  393. package/dist/hooks/use-resize-observer.d.ts.map +1 -0
  394. package/dist/hooks/use-resize-observer.js +17 -0
  395. package/dist/hooks/use-stable-ref.d.ts +2 -0
  396. package/dist/hooks/use-stable-ref.d.ts.map +1 -0
  397. package/dist/hooks/use-stable-ref.js +9 -0
  398. package/dist/hooks/use-swipe.d.ts +8 -0
  399. package/dist/hooks/use-swipe.d.ts.map +1 -0
  400. package/dist/hooks/use-swipe.js +17 -0
  401. package/dist/hooks/use-translations.d.ts +110 -0
  402. package/dist/hooks/use-translations.d.ts.map +1 -0
  403. package/dist/hooks/use-translations.js +9 -0
  404. package/dist/hooks/use-tweaks.d.ts +3 -0
  405. package/dist/hooks/use-tweaks.d.ts.map +1 -0
  406. package/dist/hooks/use-tweaks.js +9 -0
  407. package/dist/hooks/use-window-size.d.ts +5 -0
  408. package/dist/hooks/use-window-size.d.ts.map +1 -0
  409. package/dist/hooks/use-window-size.js +14 -0
  410. package/dist/index.css +1 -1
  411. package/dist/index.d.ts +22 -0
  412. package/dist/index.d.ts.map +1 -0
  413. package/dist/index.js +20 -7932
  414. package/dist/index.js.map +1 -1
  415. package/dist/inner-table-CeDX60cL.js +151 -0
  416. package/dist/inner-table-CeDX60cL.js.map +1 -0
  417. package/dist/input-Cmyuea4Y.js +412 -0
  418. package/dist/input-Cmyuea4Y.js.map +1 -0
  419. package/dist/{input-field-B_whI66Q.js → input-field-ffx1MbHo.js} +29 -16
  420. package/dist/input-field-ffx1MbHo.js.map +1 -0
  421. package/dist/isSameMonth-C3lsSwcg.js +10 -0
  422. package/dist/isSameMonth-C3lsSwcg.js.map +1 -0
  423. package/dist/isToday-COXfxFui.js +32 -0
  424. package/dist/isToday-COXfxFui.js.map +1 -0
  425. package/dist/lib/combi-keys.d.ts +15 -0
  426. package/dist/lib/combi-keys.d.ts.map +1 -0
  427. package/dist/lib/combi-keys.js +60 -0
  428. package/dist/lib/dict.d.ts +9 -0
  429. package/dist/lib/dict.d.ts.map +1 -0
  430. package/dist/lib/dict.js +28 -0
  431. package/dist/lib/dom.d.ts +20 -0
  432. package/dist/lib/dom.d.ts.map +1 -0
  433. package/dist/lib/dom.js +185 -0
  434. package/dist/lib/fns.d.ts +11 -0
  435. package/dist/lib/fns.d.ts.map +1 -0
  436. package/dist/lib/fns.js +46 -0
  437. package/dist/lib/fzf.d.ts +16 -0
  438. package/dist/lib/fzf.d.ts.map +1 -0
  439. package/dist/lib/fzf.js +115 -0
  440. package/dist/lib/keyboard-area.d.ts +16 -0
  441. package/dist/lib/keyboard-area.d.ts.map +1 -0
  442. package/dist/lib/keyboard-area.js +14 -0
  443. package/dist/modal-Df8-6i-o.js +408 -0
  444. package/dist/modal-Df8-6i-o.js.map +1 -0
  445. package/dist/notifications-NhCESJUV.js +1697 -0
  446. package/dist/notifications-NhCESJUV.js.map +1 -0
  447. package/dist/page-calendar.utils-Bd0PHktL.js +102 -0
  448. package/dist/page-calendar.utils-Bd0PHktL.js.map +1 -0
  449. package/dist/preset/preset.tailwind.d.ts.map +1 -1
  450. package/dist/preset/preset.tailwind.js +6 -7
  451. package/dist/preset/src/styles/dark.js +1 -1
  452. package/dist/progress-8LO5gWLp.js +104 -0
  453. package/dist/progress-8LO5gWLp.js.map +1 -0
  454. package/dist/{proxy-BcJ_5Dwq.js → proxy-fP2NxmhM.js} +658 -844
  455. package/dist/proxy-fP2NxmhM.js.map +1 -0
  456. package/dist/shim-Czv-YhKR.js +93 -0
  457. package/dist/shim-Czv-YhKR.js.map +1 -0
  458. package/dist/shortcut-CQCmgmlU.js +100 -0
  459. package/dist/shortcut-CQCmgmlU.js.map +1 -0
  460. package/dist/slider-TX9hiHO-.js +1196 -0
  461. package/dist/slider-TX9hiHO-.js.map +1 -0
  462. package/dist/sort-DGmiselV.js +195 -0
  463. package/dist/sort-DGmiselV.js.map +1 -0
  464. package/dist/step-DFpJ7zCG.js +185 -0
  465. package/dist/step-DFpJ7zCG.js.map +1 -0
  466. package/dist/styles/dark.js +1 -1
  467. package/dist/subMonths-QcCnE3Yh.js +43 -0
  468. package/dist/subMonths-QcCnE3Yh.js.map +1 -0
  469. package/dist/table-lib-1bkYSklk.js +174 -0
  470. package/dist/table-lib-1bkYSklk.js.map +1 -0
  471. package/dist/{tabs-Ciy0l9OF.js → tabs-Brc963EW.js} +2 -2
  472. package/dist/{tabs-Ciy0l9OF.js.map → tabs-Brc963EW.js.map} +1 -1
  473. package/dist/thead-B6WELJZ-.js +211 -0
  474. package/dist/thead-B6WELJZ-.js.map +1 -0
  475. package/dist/types.d.ts +26 -0
  476. package/dist/types.d.ts.map +1 -0
  477. package/dist/types.js +1 -0
  478. package/dist/use-locale-DPM_sg4s.js +12 -0
  479. package/dist/use-locale-DPM_sg4s.js.map +1 -0
  480. package/dist/use-remove-scroll-pAgC09Sq.js +38 -0
  481. package/dist/use-remove-scroll-pAgC09Sq.js.map +1 -0
  482. package/dist/use-translations-BE4PuhLm.js +11 -0
  483. package/dist/use-translations-BE4PuhLm.js.map +1 -0
  484. package/dist/useAnimationFrame-DnKbaXfi.js +223 -0
  485. package/dist/useAnimationFrame-DnKbaXfi.js.map +1 -0
  486. package/dist/valueToPercent-DZc_m1tm.js +43 -0
  487. package/dist/valueToPercent-DZc_m1tm.js.map +1 -0
  488. package/dist/visuallyHidden-B7wI86yi.js +303 -0
  489. package/dist/visuallyHidden-B7wI86yi.js.map +1 -0
  490. package/dist/with-selector-BFW5n-pb.js +102 -0
  491. package/dist/with-selector-BFW5n-pb.js.map +1 -0
  492. package/dist/wizard-7u_qZ-78.js +218 -0
  493. package/dist/wizard-7u_qZ-78.js.map +1 -0
  494. package/package.json +19 -11
  495. package/dist/autocomplete-D3VOTihi.js +0 -415
  496. package/dist/autocomplete-D3VOTihi.js.map +0 -1
  497. package/dist/calendar-PCCZDUIL.js.map +0 -1
  498. package/dist/components/table/table.js +0 -3
  499. package/dist/date-picker-BhKEFZew.js.map +0 -1
  500. package/dist/input-B7jqwPG4.js +0 -473
  501. package/dist/input-B7jqwPG4.js.map +0 -1
  502. package/dist/input-field-B_whI66Q.js.map +0 -1
  503. package/dist/modal-Bz-61ays.js +0 -373
  504. package/dist/modal-Bz-61ays.js.map +0 -1
  505. package/dist/notifications-MT4XkLov.js +0 -2203
  506. package/dist/notifications-MT4XkLov.js.map +0 -1
  507. package/dist/polymorph-BLXhrn9n.js.map +0 -1
  508. package/dist/proxy-BcJ_5Dwq.js.map +0 -1
  509. package/dist/skeleton-CBYEq3lM.js +0 -26
  510. package/dist/skeleton-CBYEq3lM.js.map +0 -1
  511. package/dist/slot-pC8kH9De.js.map +0 -1
  512. package/dist/table-CUFbAI2k.js +0 -1914
  513. package/dist/table-CUFbAI2k.js.map +0 -1
  514. package/dist/use-translations-DTLfPE3_.js.map +0 -1
@@ -1,11 +1,11 @@
1
- import { o as e, s as t } from "./proxy-BcJ_5Dwq.js";
1
+ import { o as e, t } from "./chunk-jwUa06l-.js";
2
2
  import { t as n } from "./File.es-CjNVQ00B.js";
3
3
  import { t as r } from "./X.es-Cjq2a_OA.js";
4
4
  import { t as i } from "./IconBase.es-BlJQ9IXo.js";
5
- import { t as a } from "./use-translations-DTLfPE3_.js";
6
- import { t as o } from "./modal-Bz-61ays.js";
5
+ import { t as a } from "./use-translations-BE4PuhLm.js";
6
+ import { t as o } from "./modal-Df8-6i-o.js";
7
7
  import * as s from "react";
8
- import c, { Fragment as l, createContext as u, forwardRef as d, useCallback as f, useContext as p, useEffect as m, useImperativeHandle as h, useMemo as g, useReducer as _, useRef as v, useState as y } from "react";
8
+ import c, { Fragment as l, cloneElement as u, createContext as d, forwardRef as f, useCallback as p, useContext as m, useEffect as h, useImperativeHandle as g, useMemo as _, useReducer as ee, useRef as v, useState as y } from "react";
9
9
  import { jsx as b, jsxs as x } from "react/jsx-runtime";
10
10
  //#region ../../node_modules/.pnpm/@phosphor-icons+react@2.1.10_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@phosphor-icons/react/dist/defs/FileCode.es.js
11
11
  var S = /* @__PURE__ */ new Map([
@@ -18,7 +18,7 @@ var S = /* @__PURE__ */ new Map([
18
18
  ["light", /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("path", { d: "M180.24,147.76a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L167.51,152l-19.75-19.76a6,6,0,1,1,8.48-8.48Zm-72-24a6,6,0,0,0-8.48,0l-24,24a6,6,0,0,0,0,8.48l24,24a6,6,0,1,0,8.48-8.48L88.49,152l19.75-19.76A6,6,0,0,0,108.24,123.76ZM214,88V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.52L158,46.48Zm44,134V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200A2,2,0,0,0,202,216Z" }))],
19
19
  ["regular", /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("path", { d: "M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z" }))],
20
20
  ["thin", /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("path", { d: "M178.83,149.17a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L170.34,152l-21.17-21.17a4,4,0,1,1,5.66-5.66Zm-72-24a4,4,0,0,0-5.66,0l-24,24a4,4,0,0,0,0,5.66l24,24a4,4,0,1,0,5.66-5.66L85.66,152l21.17-21.17A4,4,0,0,0,106.83,125.17ZM212,88V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34L156,41.65Zm48,132V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200A4,4,0,0,0,204,216Z" }))]
21
- ]), ee = /* @__PURE__ */ new Map([
21
+ ]), C = /* @__PURE__ */ new Map([
22
22
  ["bold", /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("path", { d: "M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z" }))],
23
23
  ["duotone", /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("path", {
24
24
  d: "M208,88H152V32Z",
@@ -28,7 +28,7 @@ var S = /* @__PURE__ */ new Map([
28
28
  ["light", /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("path", { d: "M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z" }))],
29
29
  ["regular", /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z" }))],
30
30
  ["thin", /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("path", { d: "M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z" }))]
31
- ]), C = /* @__PURE__ */ new Map([
31
+ ]), te = /* @__PURE__ */ new Map([
32
32
  ["bold", /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("path", { d: "M216.49,79.51l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212a12,12,0,0,0,0,24h4a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.51ZM160,57l23,23H160Zm-1.91,84.69a12,12,0,0,0-11.92-.15L126.5,152.44A20,20,0,0,0,108,140H48a20,20,0,0,0-20,20v48a20,20,0,0,0,20,20h60a20,20,0,0,0,18.5-12.44l19.67,10.93A12,12,0,0,0,164,216V152A12,12,0,0,0,158.09,141.66ZM104,204H52V164h52Zm36-8.39-12-6.67v-9.88l12-6.67Z" }))],
33
33
  ["duotone", /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("path", {
34
34
  d: "M208,88H152V32Zm-88,72a8,8,0,0,0-8-8H48a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V196l32,20V152l-32,20Z",
@@ -89,7 +89,7 @@ O.displayName = "FileCodeIcon";
89
89
  var k = s.forwardRef((e, t) => /* @__PURE__ */ s.createElement(i, {
90
90
  ref: t,
91
91
  ...e,
92
- weights: ee
92
+ weights: C
93
93
  }));
94
94
  k.displayName = "FileTextIcon";
95
95
  //#endregion
@@ -97,7 +97,7 @@ k.displayName = "FileTextIcon";
97
97
  var A = s.forwardRef((e, t) => /* @__PURE__ */ s.createElement(i, {
98
98
  ref: t,
99
99
  ...e,
100
- weights: C
100
+ weights: te
101
101
  }));
102
102
  A.displayName = "FileVideoIcon";
103
103
  //#endregion
@@ -144,7 +144,7 @@ var F = [
144
144
  "EB",
145
145
  "ZB",
146
146
  "YB"
147
- ], te = [
147
+ ], I = [
148
148
  "B",
149
149
  "KiB",
150
150
  "MiB",
@@ -154,7 +154,7 @@ var F = [
154
154
  "EiB",
155
155
  "ZiB",
156
156
  "YiB"
157
- ], ne = [
157
+ ], L = [
158
158
  "b",
159
159
  "kbit",
160
160
  "Mbit",
@@ -164,7 +164,7 @@ var F = [
164
164
  "Ebit",
165
165
  "Zbit",
166
166
  "Ybit"
167
- ], I = [
167
+ ], ne = [
168
168
  "b",
169
169
  "kibit",
170
170
  "Mibit",
@@ -174,22 +174,22 @@ var F = [
174
174
  "Eibit",
175
175
  "Zibit",
176
176
  "Yibit"
177
- ], re = (e, t, n) => {
177
+ ], R = (e, t, n) => {
178
178
  let r = e;
179
179
  return typeof t == "string" || Array.isArray(t) ? r = e.toLocaleString(t, n) : (t === !0 || n !== void 0) && (r = e.toLocaleString(void 0, n)), r;
180
- }, L = (e) => {
180
+ }, z = (e) => {
181
181
  if (typeof e == "number") return Math.log10(e);
182
182
  let t = e.toString(10);
183
183
  return t.length + Math.log10(`0.${t.slice(0, 15)}`);
184
- }, R = (e) => typeof e == "number" ? Math.log(e) : L(e) * Math.log(10), ie = (e, t) => {
184
+ }, re = (e) => typeof e == "number" ? Math.log(e) : z(e) * Math.log(10), B = (e, t) => {
185
185
  if (typeof e == "number") return e / t;
186
186
  let n = e / BigInt(t), r = e % BigInt(t);
187
187
  return Number(n) + Number(r) / t;
188
- }, z = (e, t) => {
188
+ }, V = (e, t) => {
189
189
  if (t === void 0) return e;
190
190
  if (typeof t != "number" || !Number.isSafeInteger(t) || t < 0) throw TypeError(`Expected fixedWidth to be a non-negative integer, got ${typeof t}: ${t}`);
191
191
  return t === 0 ? e : e.length < t ? e.padStart(t, " ") : e;
192
- }, B = (e) => {
192
+ }, ie = (e) => {
193
193
  let { minimumFractionDigits: t, maximumFractionDigits: n } = e;
194
194
  if (!(t === void 0 && n === void 0)) return {
195
195
  ...t !== void 0 && { minimumFractionDigits: t },
@@ -197,7 +197,7 @@ var F = [
197
197
  roundingMode: "trunc"
198
198
  };
199
199
  };
200
- function ae(e, t) {
200
+ function H(e, t) {
201
201
  if (typeof e != "bigint" && !Number.isFinite(e)) throw TypeError(`Expected a finite number, got ${typeof e}: ${e}`);
202
202
  t = {
203
203
  bits: !1,
@@ -206,28 +206,28 @@ function ae(e, t) {
206
206
  nonBreakingSpace: !1,
207
207
  ...t
208
208
  };
209
- let n = t.bits ? t.binary ? I : ne : t.binary ? te : F, r = t.space ? t.nonBreakingSpace ? "\xA0" : " " : "", i = typeof e == "number" ? e === 0 : e === 0n;
210
- if (t.signed && i) return z(` 0${r}${n[0]}`, t.fixedWidth);
209
+ let n = t.bits ? t.binary ? ne : L : t.binary ? I : F, r = t.space ? t.nonBreakingSpace ? "\xA0" : " " : "", i = typeof e == "number" ? e === 0 : e === 0n;
210
+ if (t.signed && i) return V(` 0${r}${n[0]}`, t.fixedWidth);
211
211
  let a = e < 0, o = a ? "-" : t.signed ? "+" : "";
212
212
  a && (e = -e);
213
- let s = B(t), c;
214
- if (e < 1) c = o + re(e, t.locale, s) + r + n[0];
213
+ let s = ie(t), c;
214
+ if (e < 1) c = o + R(e, t.locale, s) + r + n[0];
215
215
  else {
216
- let i = Math.min(Math.floor(t.binary ? R(e) / Math.log(1024) : L(e) / 3), n.length - 1);
217
- if (e = ie(e, (t.binary ? 1024 : 1e3) ** i), !s) {
216
+ let i = Math.min(Math.floor(t.binary ? re(e) / Math.log(1024) : z(e) / 3), n.length - 1);
217
+ if (e = B(e, (t.binary ? 1024 : 1e3) ** i), !s) {
218
218
  let t = Math.max(3, Math.floor(e).toString().length);
219
219
  e = e.toPrecision(t);
220
220
  }
221
- let a = re(Number(e), t.locale, s), l = n[i];
221
+ let a = R(Number(e), t.locale, s), l = n[i];
222
222
  c = o + a + r + l;
223
223
  }
224
- return z(c, t.fixedWidth);
224
+ return V(c, t.fixedWidth);
225
225
  }
226
226
  //#endregion
227
227
  //#region ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
228
- var V = /* @__PURE__ */ e(((e) => {
229
- var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
230
- function b(e) {
228
+ var ae = /* @__PURE__ */ t(((e) => {
229
+ var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, ee = t ? Symbol.for("react.responder") : 60118, v = t ? Symbol.for("react.scope") : 60119;
230
+ function y(e) {
231
231
  if (typeof e == "object" && e) {
232
232
  var t = e.$$typeof;
233
233
  switch (t) {
@@ -251,43 +251,43 @@ var V = /* @__PURE__ */ e(((e) => {
251
251
  }
252
252
  }
253
253
  }
254
- function x(e) {
255
- return b(e) === u;
254
+ function b(e) {
255
+ return y(e) === u;
256
256
  }
257
257
  e.AsyncMode = l, e.ConcurrentMode = u, e.ContextConsumer = c, e.ContextProvider = s, e.Element = n, e.ForwardRef = d, e.Fragment = i, e.Lazy = h, e.Memo = m, e.Portal = r, e.Profiler = o, e.StrictMode = a, e.Suspense = f, e.isAsyncMode = function(e) {
258
- return x(e) || b(e) === l;
259
- }, e.isConcurrentMode = x, e.isContextConsumer = function(e) {
260
- return b(e) === c;
258
+ return b(e) || y(e) === l;
259
+ }, e.isConcurrentMode = b, e.isContextConsumer = function(e) {
260
+ return y(e) === c;
261
261
  }, e.isContextProvider = function(e) {
262
- return b(e) === s;
262
+ return y(e) === s;
263
263
  }, e.isElement = function(e) {
264
264
  return typeof e == "object" && !!e && e.$$typeof === n;
265
265
  }, e.isForwardRef = function(e) {
266
- return b(e) === d;
266
+ return y(e) === d;
267
267
  }, e.isFragment = function(e) {
268
- return b(e) === i;
268
+ return y(e) === i;
269
269
  }, e.isLazy = function(e) {
270
- return b(e) === h;
270
+ return y(e) === h;
271
271
  }, e.isMemo = function(e) {
272
- return b(e) === m;
272
+ return y(e) === m;
273
273
  }, e.isPortal = function(e) {
274
- return b(e) === r;
274
+ return y(e) === r;
275
275
  }, e.isProfiler = function(e) {
276
- return b(e) === o;
276
+ return y(e) === o;
277
277
  }, e.isStrictMode = function(e) {
278
- return b(e) === a;
278
+ return y(e) === a;
279
279
  }, e.isSuspense = function(e) {
280
- return b(e) === f;
280
+ return y(e) === f;
281
281
  }, e.isValidElementType = function(e) {
282
- return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
283
- }, e.typeOf = b;
284
- })), oe = /* @__PURE__ */ e(((e) => {
282
+ return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === ee || e.$$typeof === v || e.$$typeof === g);
283
+ }, e.typeOf = y;
284
+ })), oe = /* @__PURE__ */ t(((e) => {
285
285
  process.env.NODE_ENV !== "production" && (function() {
286
- var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
287
- function b(e) {
288
- return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
286
+ var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, ee = t ? Symbol.for("react.responder") : 60118, v = t ? Symbol.for("react.scope") : 60119;
287
+ function y(e) {
288
+ return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === ee || e.$$typeof === v || e.$$typeof === g);
289
289
  }
290
- function x(e) {
290
+ function b(e) {
291
291
  if (typeof e == "object" && e) {
292
292
  var t = e.$$typeof;
293
293
  switch (t) {
@@ -315,51 +315,51 @@ var V = /* @__PURE__ */ e(((e) => {
315
315
  }
316
316
  }
317
317
  }
318
- var S = l, ee = u, C = c, w = s, T = n, E = d, D = i, O = h, k = m, A = r, j = o, M = a, N = f, P = !1;
319
- function F(e) {
320
- return P || (P = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), te(e) || x(e) === l;
321
- }
322
- function te(e) {
323
- return x(e) === u;
318
+ var x = l, S = u, C = c, te = s, w = n, T = d, E = i, D = h, O = m, k = r, A = o, j = a, M = f, N = !1;
319
+ function P(e) {
320
+ return N || (N = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), F(e) || b(e) === l;
324
321
  }
325
- function ne(e) {
326
- return x(e) === c;
322
+ function F(e) {
323
+ return b(e) === u;
327
324
  }
328
325
  function I(e) {
329
- return x(e) === s;
330
- }
331
- function re(e) {
332
- return typeof e == "object" && !!e && e.$$typeof === n;
326
+ return b(e) === c;
333
327
  }
334
328
  function L(e) {
335
- return x(e) === d;
329
+ return b(e) === s;
336
330
  }
337
- function R(e) {
338
- return x(e) === i;
331
+ function ne(e) {
332
+ return typeof e == "object" && !!e && e.$$typeof === n;
339
333
  }
340
- function ie(e) {
341
- return x(e) === h;
334
+ function R(e) {
335
+ return b(e) === d;
342
336
  }
343
337
  function z(e) {
344
- return x(e) === m;
338
+ return b(e) === i;
345
339
  }
346
- function B(e) {
347
- return x(e) === r;
340
+ function re(e) {
341
+ return b(e) === h;
348
342
  }
349
- function ae(e) {
350
- return x(e) === o;
343
+ function B(e) {
344
+ return b(e) === m;
351
345
  }
352
346
  function V(e) {
353
- return x(e) === a;
347
+ return b(e) === r;
348
+ }
349
+ function ie(e) {
350
+ return b(e) === o;
351
+ }
352
+ function H(e) {
353
+ return b(e) === a;
354
354
  }
355
- function oe(e) {
356
- return x(e) === f;
355
+ function ae(e) {
356
+ return b(e) === f;
357
357
  }
358
- e.AsyncMode = S, e.ConcurrentMode = ee, e.ContextConsumer = C, e.ContextProvider = w, e.Element = T, e.ForwardRef = E, e.Fragment = D, e.Lazy = O, e.Memo = k, e.Portal = A, e.Profiler = j, e.StrictMode = M, e.Suspense = N, e.isAsyncMode = F, e.isConcurrentMode = te, e.isContextConsumer = ne, e.isContextProvider = I, e.isElement = re, e.isForwardRef = L, e.isFragment = R, e.isLazy = ie, e.isMemo = z, e.isPortal = B, e.isProfiler = ae, e.isStrictMode = V, e.isSuspense = oe, e.isValidElementType = b, e.typeOf = x;
358
+ e.AsyncMode = x, e.ConcurrentMode = S, e.ContextConsumer = C, e.ContextProvider = te, e.Element = w, e.ForwardRef = T, e.Fragment = E, e.Lazy = D, e.Memo = O, e.Portal = k, e.Profiler = A, e.StrictMode = j, e.Suspense = M, e.isAsyncMode = P, e.isConcurrentMode = F, e.isContextConsumer = I, e.isContextProvider = L, e.isElement = ne, e.isForwardRef = R, e.isFragment = z, e.isLazy = re, e.isMemo = B, e.isPortal = V, e.isProfiler = ie, e.isStrictMode = H, e.isSuspense = ae, e.isValidElementType = y, e.typeOf = b;
359
359
  })();
360
- })), se = /* @__PURE__ */ e(((e, t) => {
361
- process.env.NODE_ENV === "production" ? t.exports = V() : t.exports = oe();
362
- })), ce = /* @__PURE__ */ e(((e, t) => {
360
+ })), se = /* @__PURE__ */ t(((e, t) => {
361
+ process.env.NODE_ENV === "production" ? t.exports = ae() : t.exports = oe();
362
+ })), U = /* @__PURE__ */ t(((e, t) => {
363
363
  var n = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
364
364
  function a(e) {
365
365
  if (e == null) throw TypeError("Object.assign cannot be called with null or undefined");
@@ -392,14 +392,14 @@ var V = /* @__PURE__ */ e(((e) => {
392
392
  }
393
393
  return s;
394
394
  };
395
- })), H = /* @__PURE__ */ e(((e, t) => {
395
+ })), W = /* @__PURE__ */ t(((e, t) => {
396
396
  t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
397
- })), U = /* @__PURE__ */ e(((e, t) => {
397
+ })), G = /* @__PURE__ */ t(((e, t) => {
398
398
  t.exports = Function.call.bind(Object.prototype.hasOwnProperty);
399
- })), W = /* @__PURE__ */ e(((e, t) => {
399
+ })), ce = /* @__PURE__ */ t(((e, t) => {
400
400
  var n = function() {};
401
401
  if (process.env.NODE_ENV !== "production") {
402
- var r = H(), i = {}, a = U();
402
+ var r = W(), i = {}, a = G();
403
403
  n = function(e) {
404
404
  var t = "Warning: " + e;
405
405
  typeof console < "u" && console.error(t);
@@ -432,8 +432,8 @@ var V = /* @__PURE__ */ e(((e) => {
432
432
  o.resetWarningCache = function() {
433
433
  process.env.NODE_ENV !== "production" && (i = {});
434
434
  }, t.exports = o;
435
- })), le = /* @__PURE__ */ e(((e, t) => {
436
- var n = se(), r = ce(), i = H(), a = U(), o = W(), s = function() {};
435
+ })), le = /* @__PURE__ */ t(((e, t) => {
436
+ var n = se(), r = U(), i = W(), a = G(), o = ce(), s = function() {};
437
437
  process.env.NODE_ENV !== "production" && (s = function(e) {
438
438
  var t = "Warning: " + e;
439
439
  typeof console < "u" && console.error(t);
@@ -459,17 +459,17 @@ var V = /* @__PURE__ */ e(((e) => {
459
459
  object: _("object"),
460
460
  string: _("string"),
461
461
  symbol: _("symbol"),
462
- any: v(),
463
- arrayOf: y,
464
- element: b(),
465
- elementType: x(),
466
- instanceOf: S,
467
- node: T(),
462
+ any: ee(),
463
+ arrayOf: v,
464
+ element: y(),
465
+ elementType: b(),
466
+ instanceOf: x,
467
+ node: w(),
468
468
  objectOf: C,
469
- oneOf: ee,
470
- oneOfType: w,
471
- shape: D,
472
- exact: O
469
+ oneOf: S,
470
+ oneOfType: te,
471
+ shape: E,
472
+ exact: D
473
473
  };
474
474
  function m(e, t) {
475
475
  return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
@@ -498,23 +498,23 @@ var V = /* @__PURE__ */ e(((e) => {
498
498
  function _(e) {
499
499
  function t(t, n, r, i, a, o) {
500
500
  var s = t[n];
501
- if (j(s) !== e) {
502
- var c = M(s);
501
+ if (A(s) !== e) {
502
+ var c = j(s);
503
503
  return new h("Invalid " + i + " `" + a + "` of type " + ("`" + c + "` supplied to `" + r + "`, expected ") + ("`" + e + "`."), { expectedType: e });
504
504
  }
505
505
  return null;
506
506
  }
507
507
  return g(t);
508
508
  }
509
- function v() {
509
+ function ee() {
510
510
  return g(c);
511
511
  }
512
- function y(e) {
512
+ function v(e) {
513
513
  function t(t, n, r, a, o) {
514
514
  if (typeof e != "function") return new h("Property `" + o + "` of component `" + r + "` has invalid PropType notation inside arrayOf.");
515
515
  var s = t[n];
516
516
  if (!Array.isArray(s)) {
517
- var c = j(s);
517
+ var c = A(s);
518
518
  return new h("Invalid " + a + " `" + o + "` of type " + ("`" + c + "` supplied to `" + r + "`, expected an array."));
519
519
  }
520
520
  for (var l = 0; l < s.length; l++) {
@@ -525,44 +525,44 @@ var V = /* @__PURE__ */ e(((e) => {
525
525
  }
526
526
  return g(t);
527
527
  }
528
- function b() {
528
+ function y() {
529
529
  function t(t, n, r, i, a) {
530
530
  var o = t[n];
531
531
  if (!e(o)) {
532
- var s = j(o);
532
+ var s = A(o);
533
533
  return new h("Invalid " + i + " `" + a + "` of type " + ("`" + s + "` supplied to `" + r + "`, expected a single ReactElement."));
534
534
  }
535
535
  return null;
536
536
  }
537
537
  return g(t);
538
538
  }
539
- function x() {
539
+ function b() {
540
540
  function e(e, t, r, i, a) {
541
541
  var o = e[t];
542
542
  if (!n.isValidElementType(o)) {
543
- var s = j(o);
543
+ var s = A(o);
544
544
  return new h("Invalid " + i + " `" + a + "` of type " + ("`" + s + "` supplied to `" + r + "`, expected a single ReactElement type."));
545
545
  }
546
546
  return null;
547
547
  }
548
548
  return g(e);
549
549
  }
550
- function S(e) {
550
+ function x(e) {
551
551
  function t(t, n, r, i, a) {
552
552
  if (!(t[n] instanceof e)) {
553
- var o = e.name || f, s = P(t[n]);
553
+ var o = e.name || f, s = N(t[n]);
554
554
  return new h("Invalid " + i + " `" + a + "` of type " + ("`" + s + "` supplied to `" + r + "`, expected ") + ("instance of `" + o + "`."));
555
555
  }
556
556
  return null;
557
557
  }
558
558
  return g(t);
559
559
  }
560
- function ee(e) {
560
+ function S(e) {
561
561
  if (!Array.isArray(e)) return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s("Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).") : s("Invalid argument supplied to oneOf, expected an array.")), c;
562
562
  function t(t, n, r, i, a) {
563
563
  for (var o = t[n], s = 0; s < e.length; s++) if (m(o, e[s])) return null;
564
564
  var c = JSON.stringify(e, function(e, t) {
565
- return M(t) === "symbol" ? String(t) : t;
565
+ return j(t) === "symbol" ? String(t) : t;
566
566
  });
567
567
  return new h("Invalid " + i + " `" + a + "` of value `" + String(o) + "` " + ("supplied to `" + r + "`, expected one of " + c + "."));
568
568
  }
@@ -571,7 +571,7 @@ var V = /* @__PURE__ */ e(((e) => {
571
571
  function C(e) {
572
572
  function t(t, n, r, o, s) {
573
573
  if (typeof e != "function") return new h("Property `" + s + "` of component `" + r + "` has invalid PropType notation inside objectOf.");
574
- var c = t[n], l = j(c);
574
+ var c = t[n], l = A(c);
575
575
  if (l !== "object") return new h("Invalid " + o + " `" + s + "` of type " + ("`" + l + "` supplied to `" + r + "`, expected an object."));
576
576
  for (var u in c) if (a(c, u)) {
577
577
  var d = e(c, u, r, o, s + "." + u, i);
@@ -581,11 +581,11 @@ var V = /* @__PURE__ */ e(((e) => {
581
581
  }
582
582
  return g(t);
583
583
  }
584
- function w(e) {
584
+ function te(e) {
585
585
  if (!Array.isArray(e)) return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), c;
586
586
  for (var t = 0; t < e.length; t++) {
587
587
  var n = e[t];
588
- if (typeof n != "function") return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + N(n) + " at index " + t + "."), c;
588
+ if (typeof n != "function") return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + M(n) + " at index " + t + "."), c;
589
589
  }
590
590
  function r(t, n, r, o, s) {
591
591
  for (var c = [], l = 0; l < e.length; l++) {
@@ -598,22 +598,22 @@ var V = /* @__PURE__ */ e(((e) => {
598
598
  }
599
599
  return g(r);
600
600
  }
601
- function T() {
601
+ function w() {
602
602
  function e(e, t, n, r, i) {
603
- return k(e[t]) ? null : new h("Invalid " + r + " `" + i + "` supplied to " + ("`" + n + "`, expected a ReactNode."));
603
+ return O(e[t]) ? null : new h("Invalid " + r + " `" + i + "` supplied to " + ("`" + n + "`, expected a ReactNode."));
604
604
  }
605
605
  return g(e);
606
606
  }
607
- function E(e, t, n, r, i) {
607
+ function T(e, t, n, r, i) {
608
608
  return new h((e || "React class") + ": " + t + " type `" + n + "." + r + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + i + "`.");
609
609
  }
610
- function D(e) {
610
+ function E(e) {
611
611
  function t(t, n, r, a, o) {
612
- var s = t[n], c = j(s);
612
+ var s = t[n], c = A(s);
613
613
  if (c !== "object") return new h("Invalid " + a + " `" + o + "` of type `" + c + "` " + ("supplied to `" + r + "`, expected `object`."));
614
614
  for (var l in e) {
615
615
  var u = e[l];
616
- if (typeof u != "function") return E(r, a, o, l, M(u));
616
+ if (typeof u != "function") return T(r, a, o, l, j(u));
617
617
  var d = u(s, l, r, a, o + "." + l, i);
618
618
  if (d) return d;
619
619
  }
@@ -621,13 +621,13 @@ var V = /* @__PURE__ */ e(((e) => {
621
621
  }
622
622
  return g(t);
623
623
  }
624
- function O(e) {
624
+ function D(e) {
625
625
  function t(t, n, o, s, c) {
626
- var l = t[n], u = j(l);
626
+ var l = t[n], u = A(l);
627
627
  if (u !== "object") return new h("Invalid " + s + " `" + c + "` of type `" + u + "` " + ("supplied to `" + o + "`, expected `object`."));
628
628
  for (var d in r({}, t[n], e)) {
629
629
  var f = e[d];
630
- if (a(e, d) && typeof f != "function") return E(o, s, c, d, M(f));
630
+ if (a(e, d) && typeof f != "function") return T(o, s, c, d, j(f));
631
631
  if (!f) return new h("Invalid " + s + " `" + c + "` key `" + d + "` supplied to `" + o + "`.\nBad object: " + JSON.stringify(t[n], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(e), null, " "));
632
632
  var p = f(l, d, o, s, c + "." + d, i);
633
633
  if (p) return p;
@@ -636,47 +636,47 @@ var V = /* @__PURE__ */ e(((e) => {
636
636
  }
637
637
  return g(t);
638
638
  }
639
- function k(t) {
639
+ function O(t) {
640
640
  switch (typeof t) {
641
641
  case "number":
642
642
  case "string":
643
643
  case "undefined": return !0;
644
644
  case "boolean": return !t;
645
645
  case "object":
646
- if (Array.isArray(t)) return t.every(k);
646
+ if (Array.isArray(t)) return t.every(O);
647
647
  if (t === null || e(t)) return !0;
648
648
  var n = d(t);
649
649
  if (n) {
650
650
  var r = n.call(t), i;
651
651
  if (n !== t.entries) {
652
- for (; !(i = r.next()).done;) if (!k(i.value)) return !1;
652
+ for (; !(i = r.next()).done;) if (!O(i.value)) return !1;
653
653
  } else for (; !(i = r.next()).done;) {
654
654
  var a = i.value;
655
- if (a && !k(a[1])) return !1;
655
+ if (a && !O(a[1])) return !1;
656
656
  }
657
657
  } else return !1;
658
658
  return !0;
659
659
  default: return !1;
660
660
  }
661
661
  }
662
- function A(e, t) {
662
+ function k(e, t) {
663
663
  return e === "symbol" ? !0 : t ? t["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && t instanceof Symbol : !1;
664
664
  }
665
- function j(e) {
665
+ function A(e) {
666
666
  var t = typeof e;
667
- return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : A(t, e) ? "symbol" : t;
667
+ return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : k(t, e) ? "symbol" : t;
668
668
  }
669
- function M(e) {
669
+ function j(e) {
670
670
  if (e == null) return "" + e;
671
- var t = j(e);
671
+ var t = A(e);
672
672
  if (t === "object") {
673
673
  if (e instanceof Date) return "date";
674
674
  if (e instanceof RegExp) return "regexp";
675
675
  }
676
676
  return t;
677
677
  }
678
- function N(e) {
679
- var t = M(e);
678
+ function M(e) {
679
+ var t = j(e);
680
680
  switch (t) {
681
681
  case "array":
682
682
  case "object": return "an " + t;
@@ -686,13 +686,13 @@ var V = /* @__PURE__ */ e(((e) => {
686
686
  default: return t;
687
687
  }
688
688
  }
689
- function P(e) {
689
+ function N(e) {
690
690
  return !e.constructor || !e.constructor.name ? f : e.constructor.name;
691
691
  }
692
692
  return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
693
693
  };
694
- })), ue = /* @__PURE__ */ e(((e, t) => {
695
- var n = H();
694
+ })), ue = /* @__PURE__ */ t(((e, t) => {
695
+ var n = W();
696
696
  function r() {}
697
697
  function i() {}
698
698
  i.resetWarningCache = r, t.exports = function() {
@@ -731,7 +731,7 @@ var V = /* @__PURE__ */ e(((e) => {
731
731
  };
732
732
  return a.PropTypes = a, a;
733
733
  };
734
- })), de = /* @__PURE__ */ e(((e, t) => {
734
+ })), de = /* @__PURE__ */ t(((e, t) => {
735
735
  if (process.env.NODE_ENV !== "production") {
736
736
  var n = se();
737
737
  t.exports = le()(n.isElement, !0);
@@ -739,7 +739,7 @@ var V = /* @__PURE__ */ e(((e) => {
739
739
  }));
740
740
  //#endregion
741
741
  //#region ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
742
- function G(e, t, n, r) {
742
+ function K(e, t, n, r) {
743
743
  function i(e) {
744
744
  return e instanceof n ? e : new n(function(t) {
745
745
  t(e);
@@ -768,7 +768,7 @@ function G(e, t, n, r) {
768
768
  }
769
769
  //#endregion
770
770
  //#region ../../node_modules/.pnpm/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file.js
771
- var K = new Map([
771
+ var fe = new Map([
772
772
  ["1km", "application/vnd.1000minds.decision-model+xml"],
773
773
  ["3dml", "text/vnd.in3d.3dml"],
774
774
  ["3ds", "image/x-3ds"],
@@ -1971,17 +1971,17 @@ var K = new Map([
1971
1971
  ]);
1972
1972
  function q(e, t, n) {
1973
1973
  let r = J(e), { webkitRelativePath: i } = e, a = typeof t == "string" ? t : typeof i == "string" && i.length > 0 ? i : `./${e.name}`;
1974
- return typeof r.path != "string" && Y(r, "path", a), n !== void 0 && Object.defineProperty(r, "handle", {
1974
+ return typeof r.path != "string" && pe(r, "path", a), n !== void 0 && Object.defineProperty(r, "handle", {
1975
1975
  value: n,
1976
1976
  writable: !1,
1977
1977
  configurable: !1,
1978
1978
  enumerable: !0
1979
- }), Y(r, "relativePath", a), r;
1979
+ }), pe(r, "relativePath", a), r;
1980
1980
  }
1981
1981
  function J(e) {
1982
1982
  let { name: t } = e;
1983
1983
  if (t && t.lastIndexOf(".") !== -1 && !e.type) {
1984
- let n = t.split(".").pop().toLowerCase(), r = K.get(n);
1984
+ let n = t.split(".").pop().toLowerCase(), r = fe.get(n);
1985
1985
  r && Object.defineProperty(e, "type", {
1986
1986
  value: r,
1987
1987
  writable: !1,
@@ -1991,7 +1991,7 @@ function J(e) {
1991
1991
  }
1992
1992
  return e;
1993
1993
  }
1994
- function Y(e, t, n) {
1994
+ function pe(e, t, n) {
1995
1995
  Object.defineProperty(e, t, {
1996
1996
  value: n,
1997
1997
  writable: !1,
@@ -2001,42 +2001,42 @@ function Y(e, t, n) {
2001
2001
  }
2002
2002
  //#endregion
2003
2003
  //#region ../../node_modules/.pnpm/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file-selector.js
2004
- var fe = [".DS_Store", "Thumbs.db"];
2005
- function pe(e) {
2006
- return G(this, void 0, void 0, function* () {
2007
- return ge(e) && me(e.dataTransfer) ? ye(e.dataTransfer, e.type) : he(e) ? _e(e) : Array.isArray(e) && e.every((e) => "getFile" in e && typeof e.getFile == "function") ? ve(e) : [];
2008
- });
2009
- }
2010
- function me(e) {
2011
- return ge(e);
2012
- }
2004
+ var me = [".DS_Store", "Thumbs.db"];
2013
2005
  function he(e) {
2014
- return ge(e) && ge(e.target);
2006
+ return K(this, void 0, void 0, function* () {
2007
+ return ve(e) && ge(e.dataTransfer) ? xe(e.dataTransfer, e.type) : _e(e) ? ye(e) : Array.isArray(e) && e.every((e) => "getFile" in e && typeof e.getFile == "function") ? be(e) : [];
2008
+ });
2015
2009
  }
2016
2010
  function ge(e) {
2017
- return typeof e == "object" && !!e;
2011
+ return ve(e);
2018
2012
  }
2019
2013
  function _e(e) {
2020
- return xe(e.target.files).map((e) => q(e));
2014
+ return ve(e) && ve(e.target);
2021
2015
  }
2022
2016
  function ve(e) {
2023
- return G(this, void 0, void 0, function* () {
2017
+ return typeof e == "object" && !!e;
2018
+ }
2019
+ function ye(e) {
2020
+ return Ce(e.target.files).map((e) => q(e));
2021
+ }
2022
+ function be(e) {
2023
+ return K(this, void 0, void 0, function* () {
2024
2024
  return (yield Promise.all(e.map((e) => e.getFile()))).map((e) => q(e));
2025
2025
  });
2026
2026
  }
2027
- function ye(e, t) {
2028
- return G(this, void 0, void 0, function* () {
2027
+ function xe(e, t) {
2028
+ return K(this, void 0, void 0, function* () {
2029
2029
  if (e.items) {
2030
- let n = xe(e.items).filter((e) => e.kind === "file");
2031
- return t === "drop" ? be(Ce(yield Promise.all(n.map(Se)))) : n;
2030
+ let n = Ce(e.items).filter((e) => e.kind === "file");
2031
+ return t === "drop" ? Se(Te(yield Promise.all(n.map(we)))) : n;
2032
2032
  }
2033
- return be(xe(e.files).map((e) => q(e)));
2033
+ return Se(Ce(e.files).map((e) => q(e)));
2034
2034
  });
2035
2035
  }
2036
- function be(e) {
2037
- return e.filter((e) => fe.indexOf(e.name) === -1);
2036
+ function Se(e) {
2037
+ return e.filter((e) => me.indexOf(e.name) === -1);
2038
2038
  }
2039
- function xe(e) {
2039
+ function Ce(e) {
2040
2040
  if (e === null) return [];
2041
2041
  let t = [];
2042
2042
  for (let n = 0; n < e.length; n++) {
@@ -2045,16 +2045,16 @@ function xe(e) {
2045
2045
  }
2046
2046
  return t;
2047
2047
  }
2048
- function Se(e) {
2049
- if (typeof e.webkitGetAsEntry != "function") return we(e);
2048
+ function we(e) {
2049
+ if (typeof e.webkitGetAsEntry != "function") return Ee(e);
2050
2050
  let t = e.webkitGetAsEntry();
2051
- return t && t.isDirectory ? Ee(t) : we(e, t);
2051
+ return t && t.isDirectory ? Oe(t) : Ee(e, t);
2052
2052
  }
2053
- function Ce(e) {
2054
- return e.reduce((e, t) => [...e, ...Array.isArray(t) ? Ce(t) : [t]], []);
2053
+ function Te(e) {
2054
+ return e.reduce((e, t) => [...e, ...Array.isArray(t) ? Te(t) : [t]], []);
2055
2055
  }
2056
- function we(e, t) {
2057
- return G(this, void 0, void 0, function* () {
2056
+ function Ee(e, t) {
2057
+ return K(this, void 0, void 0, function* () {
2058
2058
  if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
2059
2059
  let t = yield e.getAsFileSystemHandle();
2060
2060
  if (t === null) throw Error(`${e} is not a File`);
@@ -2068,19 +2068,19 @@ function we(e, t) {
2068
2068
  return q(n, t?.fullPath ?? void 0);
2069
2069
  });
2070
2070
  }
2071
- function Te(e) {
2072
- return G(this, void 0, void 0, function* () {
2073
- return e.isDirectory ? Ee(e) : De(e);
2071
+ function De(e) {
2072
+ return K(this, void 0, void 0, function* () {
2073
+ return e.isDirectory ? Oe(e) : ke(e);
2074
2074
  });
2075
2075
  }
2076
- function Ee(e) {
2076
+ function Oe(e) {
2077
2077
  let t = e.createReader();
2078
2078
  return new Promise((e, n) => {
2079
2079
  let r = [];
2080
2080
  function i() {
2081
- t.readEntries((t) => G(this, void 0, void 0, function* () {
2081
+ t.readEntries((t) => K(this, void 0, void 0, function* () {
2082
2082
  if (t.length) {
2083
- let e = Promise.all(t.map(Te));
2083
+ let e = Promise.all(t.map(De));
2084
2084
  r.push(e), i();
2085
2085
  } else try {
2086
2086
  e(yield Promise.all(r));
@@ -2094,8 +2094,8 @@ function Ee(e) {
2094
2094
  i();
2095
2095
  });
2096
2096
  }
2097
- function De(e) {
2098
- return G(this, void 0, void 0, function* () {
2097
+ function ke(e) {
2098
+ return K(this, void 0, void 0, function* () {
2099
2099
  return new Promise((t, n) => {
2100
2100
  e.file((n) => {
2101
2101
  t(q(n, e.fullPath));
@@ -2107,7 +2107,7 @@ function De(e) {
2107
2107
  }
2108
2108
  //#endregion
2109
2109
  //#region ../../node_modules/.pnpm/attr-accept@2.2.5/node_modules/attr-accept/dist/es/index.js
2110
- var Oe = /* @__PURE__ */ e(((e) => {
2110
+ var Ae = /* @__PURE__ */ t(((e) => {
2111
2111
  e.__esModule = !0, e.default = function(e, t) {
2112
2112
  if (e && t) {
2113
2113
  var n = Array.isArray(t) ? t : t.split(",");
@@ -2120,20 +2120,20 @@ var Oe = /* @__PURE__ */ e(((e) => {
2120
2120
  }
2121
2121
  return !0;
2122
2122
  };
2123
- })), X = /* @__PURE__ */ t(de()), ke = /* @__PURE__ */ t(Oe());
2124
- function Ae(e) {
2125
- return Ne(e) || Me(e) || ze(e) || je();
2123
+ })), Y = /* @__PURE__ */ e(de()), je = /* @__PURE__ */ e(Ae());
2124
+ function Me(e) {
2125
+ return Fe(e) || Pe(e) || Be(e) || Ne();
2126
2126
  }
2127
- function je() {
2127
+ function Ne() {
2128
2128
  throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2129
2129
  }
2130
- function Me(e) {
2130
+ function Pe(e) {
2131
2131
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
2132
2132
  }
2133
- function Ne(e) {
2134
- if (Array.isArray(e)) return Be(e);
2133
+ function Fe(e) {
2134
+ if (Array.isArray(e)) return Ve(e);
2135
2135
  }
2136
- function Pe(e, t) {
2136
+ function Ie(e, t) {
2137
2137
  var n = Object.keys(e);
2138
2138
  if (Object.getOwnPropertySymbols) {
2139
2139
  var r = Object.getOwnPropertySymbols(e);
@@ -2143,18 +2143,18 @@ function Pe(e, t) {
2143
2143
  }
2144
2144
  return n;
2145
2145
  }
2146
- function Fe(e) {
2146
+ function Le(e) {
2147
2147
  for (var t = 1; t < arguments.length; t++) {
2148
2148
  var n = arguments[t] == null ? {} : arguments[t];
2149
- t % 2 ? Pe(Object(n), !0).forEach(function(t) {
2150
- Ie(e, t, n[t]);
2151
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Pe(Object(n)).forEach(function(t) {
2149
+ t % 2 ? Ie(Object(n), !0).forEach(function(t) {
2150
+ Re(e, t, n[t]);
2151
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ie(Object(n)).forEach(function(t) {
2152
2152
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
2153
2153
  });
2154
2154
  }
2155
2155
  return e;
2156
2156
  }
2157
- function Ie(e, t, n) {
2157
+ function Re(e, t, n) {
2158
2158
  return t in e ? Object.defineProperty(e, t, {
2159
2159
  value: n,
2160
2160
  enumerable: !0,
@@ -2162,26 +2162,26 @@ function Ie(e, t, n) {
2162
2162
  writable: !0
2163
2163
  }) : e[t] = n, e;
2164
2164
  }
2165
- function Le(e, t) {
2166
- return He(e) || Ve(e, t) || ze(e, t) || Re();
2165
+ function X(e, t) {
2166
+ return Ue(e) || He(e, t) || Be(e, t) || ze();
2167
2167
  }
2168
- function Re() {
2168
+ function ze() {
2169
2169
  throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2170
2170
  }
2171
- function ze(e, t) {
2171
+ function Be(e, t) {
2172
2172
  if (e) {
2173
- if (typeof e == "string") return Be(e, t);
2173
+ if (typeof e == "string") return Ve(e, t);
2174
2174
  var n = Object.prototype.toString.call(e).slice(8, -1);
2175
2175
  if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
2176
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Be(e, t);
2176
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Ve(e, t);
2177
2177
  }
2178
2178
  }
2179
- function Be(e, t) {
2179
+ function Ve(e, t) {
2180
2180
  (t == null || t > e.length) && (t = e.length);
2181
2181
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
2182
2182
  return r;
2183
2183
  }
2184
- function Ve(e, t) {
2184
+ function He(e, t) {
2185
2185
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2186
2186
  if (n != null) {
2187
2187
  var r = [], i = !0, a = !1, o, s;
@@ -2199,124 +2199,124 @@ function Ve(e, t) {
2199
2199
  return r;
2200
2200
  }
2201
2201
  }
2202
- function He(e) {
2202
+ function Ue(e) {
2203
2203
  if (Array.isArray(e)) return e;
2204
2204
  }
2205
- var Ue = typeof ke.default == "function" ? ke.default : ke.default.default, We = "file-invalid-type", Ge = "file-too-large", Ke = "file-too-small", qe = "too-many-files", Je = function() {
2205
+ var We = typeof je.default == "function" ? je.default : je.default.default, Ge = "file-invalid-type", Ke = "file-too-large", qe = "file-too-small", Je = "too-many-files", Ye = function() {
2206
2206
  var e = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "").split(",");
2207
2207
  return {
2208
- code: We,
2208
+ code: Ge,
2209
2209
  message: `File type must be ${e.length > 1 ? `one of ${e.join(", ")}` : e[0]}`
2210
2210
  };
2211
- }, Ye = function(e) {
2211
+ }, Xe = function(e) {
2212
2212
  return {
2213
- code: Ge,
2213
+ code: Ke,
2214
2214
  message: `File is larger than ${e} ${e === 1 ? "byte" : "bytes"}`
2215
2215
  };
2216
- }, Xe = function(e) {
2216
+ }, Ze = function(e) {
2217
2217
  return {
2218
- code: Ke,
2218
+ code: qe,
2219
2219
  message: `File is smaller than ${e} ${e === 1 ? "byte" : "bytes"}`
2220
2220
  };
2221
- }, Ze = {
2222
- code: qe,
2221
+ }, Qe = {
2222
+ code: Je,
2223
2223
  message: "Too many files"
2224
2224
  };
2225
- function Qe(e) {
2225
+ function $e(e) {
2226
2226
  return e.type === "" && typeof e.getAsFile == "function";
2227
2227
  }
2228
- function $e(e, t) {
2229
- var n = e.type === "application/x-moz-file" || Ue(e, t) || Qe(e);
2230
- return [n, n ? null : Je(t)];
2228
+ function et(e, t) {
2229
+ var n = e.type === "application/x-moz-file" || We(e, t) || $e(e);
2230
+ return [n, n ? null : Ye(t)];
2231
2231
  }
2232
- function et(e, t, n) {
2232
+ function tt(e, t, n) {
2233
2233
  if (Z(e.size)) {
2234
2234
  if (Z(t) && Z(n)) {
2235
- if (e.size > n) return [!1, Ye(n)];
2236
- if (e.size < t) return [!1, Xe(t)];
2237
- } else if (Z(t) && e.size < t) return [!1, Xe(t)];
2238
- else if (Z(n) && e.size > n) return [!1, Ye(n)];
2235
+ if (e.size > n) return [!1, Xe(n)];
2236
+ if (e.size < t) return [!1, Ze(t)];
2237
+ } else if (Z(t) && e.size < t) return [!1, Ze(t)];
2238
+ else if (Z(n) && e.size > n) return [!1, Xe(n)];
2239
2239
  }
2240
2240
  return [!0, null];
2241
2241
  }
2242
2242
  function Z(e) {
2243
2243
  return e != null;
2244
2244
  }
2245
- function tt(e) {
2245
+ function nt(e) {
2246
2246
  var t = e.files, n = e.accept, r = e.minSize, i = e.maxSize, a = e.multiple, o = e.maxFiles, s = e.validator;
2247
2247
  return !a && t.length > 1 || a && o >= 1 && t.length > o ? !1 : t.every(function(e) {
2248
- var t = Le($e(e, n), 1)[0], a = Le(et(e, r, i), 1)[0], o = s ? s(e) : null;
2248
+ var t = X(et(e, n), 1)[0], a = X(tt(e, r, i), 1)[0], o = s ? s(e) : null;
2249
2249
  return t && a && !o;
2250
2250
  });
2251
2251
  }
2252
- function nt(e) {
2252
+ function rt(e) {
2253
2253
  return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : e.cancelBubble === void 0 ? !1 : e.cancelBubble;
2254
2254
  }
2255
- function rt(e) {
2255
+ function it(e) {
2256
2256
  return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(e) {
2257
2257
  return e === "Files" || e === "application/x-moz-file";
2258
2258
  }) : !!e.target && !!e.target.files;
2259
2259
  }
2260
- function it(e) {
2260
+ function at(e) {
2261
2261
  e.preventDefault();
2262
2262
  }
2263
- function at(e) {
2263
+ function ot(e) {
2264
2264
  return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
2265
2265
  }
2266
- function ot(e) {
2266
+ function st(e) {
2267
2267
  return e.indexOf("Edge/") !== -1;
2268
2268
  }
2269
- function st() {
2269
+ function ct() {
2270
2270
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
2271
- return at(e) || ot(e);
2271
+ return ot(e) || st(e);
2272
2272
  }
2273
2273
  function Q() {
2274
2274
  var e = [...arguments];
2275
2275
  return function(t) {
2276
2276
  var n = [...arguments].slice(1);
2277
2277
  return e.some(function(e) {
2278
- return !nt(t) && e && e.apply(void 0, [t].concat(n)), nt(t);
2278
+ return !rt(t) && e && e.apply(void 0, [t].concat(n)), rt(t);
2279
2279
  });
2280
2280
  };
2281
2281
  }
2282
- function ct() {
2282
+ function lt() {
2283
2283
  return "showOpenFilePicker" in window;
2284
2284
  }
2285
- function lt(e) {
2285
+ function ut(e) {
2286
2286
  return Z(e) ? [{
2287
2287
  description: "Files",
2288
2288
  accept: Object.entries(e).filter(function(e) {
2289
- var t = Le(e, 2), n = t[0], r = t[1], i = !0;
2290
- return pt(n) || (console.warn(`Skipped "${n}" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.`), i = !1), (!Array.isArray(r) || !r.every(mt)) && (console.warn(`Skipped "${n}" because an invalid file extension was provided.`), i = !1), i;
2289
+ var t = X(e, 2), n = t[0], r = t[1], i = !0;
2290
+ return mt(n) || (console.warn(`Skipped "${n}" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.`), i = !1), (!Array.isArray(r) || !r.every(ht)) && (console.warn(`Skipped "${n}" because an invalid file extension was provided.`), i = !1), i;
2291
2291
  }).reduce(function(e, t) {
2292
- var n = Le(t, 2), r = n[0], i = n[1];
2293
- return Fe(Fe({}, e), {}, Ie({}, r, i));
2292
+ var n = X(t, 2), r = n[0], i = n[1];
2293
+ return Le(Le({}, e), {}, Re({}, r, i));
2294
2294
  }, {})
2295
2295
  }] : e;
2296
2296
  }
2297
- function ut(e) {
2297
+ function dt(e) {
2298
2298
  if (Z(e)) return Object.entries(e).reduce(function(e, t) {
2299
- var n = Le(t, 2), r = n[0], i = n[1];
2300
- return [].concat(Ae(e), [r], Ae(i));
2299
+ var n = X(t, 2), r = n[0], i = n[1];
2300
+ return [].concat(Me(e), [r], Me(i));
2301
2301
  }, []).filter(function(e) {
2302
- return pt(e) || mt(e);
2302
+ return mt(e) || ht(e);
2303
2303
  }).join(",");
2304
2304
  }
2305
- function dt(e) {
2305
+ function ft(e) {
2306
2306
  return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
2307
2307
  }
2308
- function ft(e) {
2308
+ function pt(e) {
2309
2309
  return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
2310
2310
  }
2311
- function pt(e) {
2311
+ function mt(e) {
2312
2312
  return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
2313
2313
  }
2314
- function mt(e) {
2314
+ function ht(e) {
2315
2315
  return /^.*\.[\w]+$/.test(e);
2316
2316
  }
2317
2317
  //#endregion
2318
2318
  //#region ../../node_modules/.pnpm/react-dropzone@15.0.0_react@19.2.3/node_modules/react-dropzone/dist/es/index.js
2319
- var ht = ["children"], gt = ["open"], _t = [
2319
+ var gt = ["children"], _t = ["open"], vt = [
2320
2320
  "refKey",
2321
2321
  "role",
2322
2322
  "onKeyDown",
@@ -2327,43 +2327,43 @@ var ht = ["children"], gt = ["open"], _t = [
2327
2327
  "onDragOver",
2328
2328
  "onDragLeave",
2329
2329
  "onDrop"
2330
- ], vt = [
2330
+ ], yt = [
2331
2331
  "refKey",
2332
2332
  "onChange",
2333
2333
  "onClick"
2334
2334
  ];
2335
- function yt(e) {
2336
- return St(e) || xt(e) || Tt(e) || bt();
2335
+ function bt(e) {
2336
+ return Ct(e) || St(e) || Et(e) || xt();
2337
2337
  }
2338
- function bt() {
2338
+ function xt() {
2339
2339
  throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2340
2340
  }
2341
- function xt(e) {
2341
+ function St(e) {
2342
2342
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
2343
2343
  }
2344
- function St(e) {
2345
- if (Array.isArray(e)) return Et(e);
2344
+ function Ct(e) {
2345
+ if (Array.isArray(e)) return Dt(e);
2346
2346
  }
2347
- function Ct(e, t) {
2348
- return Ot(e) || Dt(e, t) || Tt(e, t) || wt();
2347
+ function wt(e, t) {
2348
+ return kt(e) || Ot(e, t) || Et(e, t) || Tt();
2349
2349
  }
2350
- function wt() {
2350
+ function Tt() {
2351
2351
  throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2352
2352
  }
2353
- function Tt(e, t) {
2353
+ function Et(e, t) {
2354
2354
  if (e) {
2355
- if (typeof e == "string") return Et(e, t);
2355
+ if (typeof e == "string") return Dt(e, t);
2356
2356
  var n = Object.prototype.toString.call(e).slice(8, -1);
2357
2357
  if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
2358
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Et(e, t);
2358
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Dt(e, t);
2359
2359
  }
2360
2360
  }
2361
- function Et(e, t) {
2361
+ function Dt(e, t) {
2362
2362
  (t == null || t > e.length) && (t = e.length);
2363
2363
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
2364
2364
  return r;
2365
2365
  }
2366
- function Dt(e, t) {
2366
+ function Ot(e, t) {
2367
2367
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2368
2368
  if (n != null) {
2369
2369
  var r = [], i = !0, a = !1, o, s;
@@ -2381,10 +2381,10 @@ function Dt(e, t) {
2381
2381
  return r;
2382
2382
  }
2383
2383
  }
2384
- function Ot(e) {
2384
+ function kt(e) {
2385
2385
  if (Array.isArray(e)) return e;
2386
2386
  }
2387
- function kt(e, t) {
2387
+ function At(e, t) {
2388
2388
  var n = Object.keys(e);
2389
2389
  if (Object.getOwnPropertySymbols) {
2390
2390
  var r = Object.getOwnPropertySymbols(e);
@@ -2397,15 +2397,15 @@ function kt(e, t) {
2397
2397
  function $(e) {
2398
2398
  for (var t = 1; t < arguments.length; t++) {
2399
2399
  var n = arguments[t] == null ? {} : arguments[t];
2400
- t % 2 ? kt(Object(n), !0).forEach(function(t) {
2401
- At(e, t, n[t]);
2402
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kt(Object(n)).forEach(function(t) {
2400
+ t % 2 ? At(Object(n), !0).forEach(function(t) {
2401
+ jt(e, t, n[t]);
2402
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : At(Object(n)).forEach(function(t) {
2403
2403
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
2404
2404
  });
2405
2405
  }
2406
2406
  return e;
2407
2407
  }
2408
- function At(e, t, n) {
2408
+ function jt(e, t, n) {
2409
2409
  return t in e ? Object.defineProperty(e, t, {
2410
2410
  value: n,
2411
2411
  enumerable: !0,
@@ -2413,31 +2413,31 @@ function At(e, t, n) {
2413
2413
  writable: !0
2414
2414
  }) : e[t] = n, e;
2415
2415
  }
2416
- function jt(e, t) {
2416
+ function Mt(e, t) {
2417
2417
  if (e == null) return {};
2418
- var n = Mt(e, t), r, i;
2418
+ var n = Nt(e, t), r, i;
2419
2419
  if (Object.getOwnPropertySymbols) {
2420
2420
  var a = Object.getOwnPropertySymbols(e);
2421
2421
  for (i = 0; i < a.length; i++) r = a[i], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
2422
2422
  }
2423
2423
  return n;
2424
2424
  }
2425
- function Mt(e, t) {
2425
+ function Nt(e, t) {
2426
2426
  if (e == null) return {};
2427
2427
  var n = {}, r = Object.keys(e), i, a;
2428
2428
  for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
2429
2429
  return n;
2430
2430
  }
2431
- var Nt = /* @__PURE__ */ d(function(e, t) {
2432
- var n = e.children, r = It(jt(e, ht)), i = r.open, a = jt(r, gt);
2433
- return h(t, function() {
2431
+ var Pt = /* @__PURE__ */ f(function(e, t) {
2432
+ var n = e.children, r = Lt(Mt(e, gt)), i = r.open, a = Mt(r, _t);
2433
+ return g(t, function() {
2434
2434
  return { open: i };
2435
2435
  }, [i]), /* @__PURE__ */ c.createElement(l, null, n($($({}, a), {}, { open: i })));
2436
2436
  });
2437
- Nt.displayName = "Dropzone";
2438
- var Pt = {
2437
+ Pt.displayName = "Dropzone";
2438
+ var Ft = {
2439
2439
  disabled: !1,
2440
- getFilesFromEvent: pe,
2440
+ getFilesFromEvent: he,
2441
2441
  maxSize: Infinity,
2442
2442
  minSize: 0,
2443
2443
  multiple: !0,
@@ -2451,34 +2451,34 @@ var Pt = {
2451
2451
  useFsAccessApi: !1,
2452
2452
  autoFocus: !1
2453
2453
  };
2454
- Nt.defaultProps = Pt, Nt.propTypes = {
2455
- children: X.default.func,
2456
- accept: X.default.objectOf(X.default.arrayOf(X.default.string)),
2457
- multiple: X.default.bool,
2458
- preventDropOnDocument: X.default.bool,
2459
- noClick: X.default.bool,
2460
- noKeyboard: X.default.bool,
2461
- noDrag: X.default.bool,
2462
- noDragEventsBubbling: X.default.bool,
2463
- minSize: X.default.number,
2464
- maxSize: X.default.number,
2465
- maxFiles: X.default.number,
2466
- disabled: X.default.bool,
2467
- getFilesFromEvent: X.default.func,
2468
- onFileDialogCancel: X.default.func,
2469
- onFileDialogOpen: X.default.func,
2470
- useFsAccessApi: X.default.bool,
2471
- autoFocus: X.default.bool,
2472
- onDragEnter: X.default.func,
2473
- onDragLeave: X.default.func,
2474
- onDragOver: X.default.func,
2475
- onDrop: X.default.func,
2476
- onDropAccepted: X.default.func,
2477
- onDropRejected: X.default.func,
2478
- onError: X.default.func,
2479
- validator: X.default.func
2454
+ Pt.defaultProps = Ft, Pt.propTypes = {
2455
+ children: Y.default.func,
2456
+ accept: Y.default.objectOf(Y.default.arrayOf(Y.default.string)),
2457
+ multiple: Y.default.bool,
2458
+ preventDropOnDocument: Y.default.bool,
2459
+ noClick: Y.default.bool,
2460
+ noKeyboard: Y.default.bool,
2461
+ noDrag: Y.default.bool,
2462
+ noDragEventsBubbling: Y.default.bool,
2463
+ minSize: Y.default.number,
2464
+ maxSize: Y.default.number,
2465
+ maxFiles: Y.default.number,
2466
+ disabled: Y.default.bool,
2467
+ getFilesFromEvent: Y.default.func,
2468
+ onFileDialogCancel: Y.default.func,
2469
+ onFileDialogOpen: Y.default.func,
2470
+ useFsAccessApi: Y.default.bool,
2471
+ autoFocus: Y.default.bool,
2472
+ onDragEnter: Y.default.func,
2473
+ onDragLeave: Y.default.func,
2474
+ onDragOver: Y.default.func,
2475
+ onDrop: Y.default.func,
2476
+ onDropAccepted: Y.default.func,
2477
+ onDropRejected: Y.default.func,
2478
+ onError: Y.default.func,
2479
+ validator: Y.default.func
2480
2480
  };
2481
- var Ft = {
2481
+ var It = {
2482
2482
  isFocused: !1,
2483
2483
  isFileDialogActive: !1,
2484
2484
  isDragActive: !1,
@@ -2488,57 +2488,57 @@ var Ft = {
2488
2488
  acceptedFiles: [],
2489
2489
  fileRejections: []
2490
2490
  };
2491
- function It() {
2492
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = $($({}, Pt), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, l = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, p = t.onDrop, h = t.onDropAccepted, y = t.onDropRejected, b = t.onFileDialogCancel, x = t.onFileDialogOpen, S = t.useFsAccessApi, ee = t.autoFocus, C = t.preventDropOnDocument, w = t.noClick, T = t.noKeyboard, E = t.noDrag, D = t.noDragEventsBubbling, O = t.onError, k = t.validator, A = g(function() {
2491
+ function Lt() {
2492
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = $($({}, Ft), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, l = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, f = t.onDrop, m = t.onDropAccepted, g = t.onDropRejected, y = t.onFileDialogCancel, b = t.onFileDialogOpen, x = t.useFsAccessApi, S = t.autoFocus, C = t.preventDropOnDocument, te = t.noClick, w = t.noKeyboard, T = t.noDrag, E = t.noDragEventsBubbling, D = t.onError, O = t.validator, k = _(function() {
2493
+ return dt(n);
2494
+ }, [n]), A = _(function() {
2493
2495
  return ut(n);
2494
- }, [n]), j = g(function() {
2495
- return lt(n);
2496
- }, [n]), M = g(function() {
2497
- return typeof x == "function" ? x : Rt;
2498
- }, [x]), N = g(function() {
2499
- return typeof b == "function" ? b : Rt;
2500
- }, [b]), P = v(null), F = v(null), te = Ct(_(Lt, Ft), 2), ne = te[0], I = te[1], re = ne.isFocused, L = ne.isFileDialogActive, R = v(typeof window < "u" && window.isSecureContext && S && ct()), ie = function() {
2501
- !R.current && L && setTimeout(function() {
2502
- F.current && (F.current.files.length || (I({ type: "closeDialog" }), N()));
2496
+ }, [n]), j = _(function() {
2497
+ return typeof b == "function" ? b : zt;
2498
+ }, [b]), M = _(function() {
2499
+ return typeof y == "function" ? y : zt;
2500
+ }, [y]), N = v(null), P = v(null), F = wt(ee(Rt, It), 2), I = F[0], L = F[1], ne = I.isFocused, R = I.isFileDialogActive, z = v(typeof window < "u" && window.isSecureContext && x && lt()), re = function() {
2501
+ !z.current && R && setTimeout(function() {
2502
+ P.current && (P.current.files.length || (L({ type: "closeDialog" }), M()));
2503
2503
  }, 300);
2504
2504
  };
2505
- m(function() {
2506
- return window.addEventListener("focus", ie, !1), function() {
2507
- window.removeEventListener("focus", ie, !1);
2505
+ h(function() {
2506
+ return window.addEventListener("focus", re, !1), function() {
2507
+ window.removeEventListener("focus", re, !1);
2508
2508
  };
2509
2509
  }, [
2510
- F,
2511
- L,
2512
- N,
2513
- R
2510
+ P,
2511
+ R,
2512
+ M,
2513
+ z
2514
2514
  ]);
2515
- var z = v([]), B = v([]), ae = function(e) {
2516
- P.current && P.current.contains(e.target) || (e.preventDefault(), z.current = []);
2515
+ var B = v([]), V = v([]), ie = function(e) {
2516
+ N.current && N.current.contains(e.target) || (e.preventDefault(), B.current = []);
2517
2517
  };
2518
- m(function() {
2519
- return C && (document.addEventListener("dragover", it, !1), document.addEventListener("drop", ae, !1)), function() {
2520
- C && (document.removeEventListener("dragover", it), document.removeEventListener("drop", ae));
2518
+ h(function() {
2519
+ return C && (document.addEventListener("dragover", at, !1), document.addEventListener("drop", ie, !1)), function() {
2520
+ C && (document.removeEventListener("dragover", at), document.removeEventListener("drop", ie));
2521
2521
  };
2522
- }, [P, C]), m(function() {
2522
+ }, [N, C]), h(function() {
2523
2523
  var e = function(e) {
2524
- B.current = [].concat(yt(B.current), [e.target]), rt(e) && I({
2524
+ V.current = [].concat(bt(V.current), [e.target]), it(e) && L({
2525
2525
  isDragGlobal: !0,
2526
2526
  type: "setDragGlobal"
2527
2527
  });
2528
2528
  }, t = function(e) {
2529
- B.current = B.current.filter(function(t) {
2529
+ V.current = V.current.filter(function(t) {
2530
2530
  return t !== e.target && t !== null;
2531
- }), !(B.current.length > 0) && I({
2531
+ }), !(V.current.length > 0) && L({
2532
2532
  isDragGlobal: !1,
2533
2533
  type: "setDragGlobal"
2534
2534
  });
2535
2535
  }, n = function() {
2536
- B.current = [], I({
2536
+ V.current = [], L({
2537
2537
  isDragGlobal: !1,
2538
2538
  type: "setDragGlobal"
2539
2539
  });
2540
2540
  }, r = function() {
2541
- B.current = [], I({
2541
+ V.current = [], L({
2542
2542
  isDragGlobal: !1,
2543
2543
  type: "setDragGlobal"
2544
2544
  });
@@ -2546,28 +2546,28 @@ function It() {
2546
2546
  return document.addEventListener("dragenter", e, !1), document.addEventListener("dragleave", t, !1), document.addEventListener("dragend", n, !1), document.addEventListener("drop", r, !1), function() {
2547
2547
  document.removeEventListener("dragenter", e), document.removeEventListener("dragleave", t), document.removeEventListener("dragend", n), document.removeEventListener("drop", r);
2548
2548
  };
2549
- }, [P]), m(function() {
2550
- return !r && ee && P.current && P.current.focus(), function() {};
2549
+ }, [N]), h(function() {
2550
+ return !r && S && N.current && N.current.focus(), function() {};
2551
2551
  }, [
2552
- P,
2553
- ee,
2552
+ N,
2553
+ S,
2554
2554
  r
2555
2555
  ]);
2556
- var V = f(function(e) {
2557
- O ? O(e) : console.error(e);
2558
- }, [O]), oe = f(function(e) {
2559
- e.preventDefault(), e.persist(), Y(e), z.current = [].concat(yt(z.current), [e.target]), rt(e) && Promise.resolve(i(e)).then(function(t) {
2560
- if (!(nt(e) && !D)) {
2561
- var n = t.length, r = n > 0 && tt({
2556
+ var H = p(function(e) {
2557
+ D ? D(e) : console.error(e);
2558
+ }, [D]), ae = p(function(e) {
2559
+ e.preventDefault(), e.persist(), J(e), B.current = [].concat(bt(B.current), [e.target]), it(e) && Promise.resolve(i(e)).then(function(t) {
2560
+ if (!(rt(e) && !E)) {
2561
+ var n = t.length, r = n > 0 && nt({
2562
2562
  files: t,
2563
- accept: A,
2563
+ accept: k,
2564
2564
  minSize: o,
2565
2565
  maxSize: a,
2566
2566
  multiple: s,
2567
2567
  maxFiles: c,
2568
- validator: k
2568
+ validator: O
2569
2569
  });
2570
- I({
2570
+ L({
2571
2571
  isDragAccept: r,
2572
2572
  isDragReject: n > 0 && !r,
2573
2573
  isDragActive: !0,
@@ -2575,45 +2575,45 @@ function It() {
2575
2575
  }), l && l(e);
2576
2576
  }
2577
2577
  }).catch(function(e) {
2578
- return V(e);
2578
+ return H(e);
2579
2579
  });
2580
2580
  }, [
2581
2581
  i,
2582
2582
  l,
2583
- V,
2584
- D,
2585
- A,
2583
+ H,
2584
+ E,
2585
+ k,
2586
2586
  o,
2587
2587
  a,
2588
2588
  s,
2589
2589
  c,
2590
- k
2591
- ]), se = f(function(e) {
2592
- e.preventDefault(), e.persist(), Y(e);
2593
- var t = rt(e);
2590
+ O
2591
+ ]), oe = p(function(e) {
2592
+ e.preventDefault(), e.persist(), J(e);
2593
+ var t = it(e);
2594
2594
  if (t && e.dataTransfer) try {
2595
2595
  e.dataTransfer.dropEffect = "copy";
2596
2596
  } catch {}
2597
2597
  return t && d && d(e), !1;
2598
- }, [d, D]), ce = f(function(e) {
2599
- e.preventDefault(), e.persist(), Y(e);
2600
- var t = z.current.filter(function(e) {
2601
- return P.current && P.current.contains(e);
2598
+ }, [d, E]), se = p(function(e) {
2599
+ e.preventDefault(), e.persist(), J(e);
2600
+ var t = B.current.filter(function(e) {
2601
+ return N.current && N.current.contains(e);
2602
2602
  }), n = t.indexOf(e.target);
2603
- n !== -1 && t.splice(n, 1), z.current = t, !(t.length > 0) && (I({
2603
+ n !== -1 && t.splice(n, 1), B.current = t, !(t.length > 0) && (L({
2604
2604
  type: "setDraggedFiles",
2605
2605
  isDragActive: !1,
2606
2606
  isDragAccept: !1,
2607
2607
  isDragReject: !1
2608
- }), rt(e) && u && u(e));
2608
+ }), it(e) && u && u(e));
2609
2609
  }, [
2610
- P,
2610
+ N,
2611
2611
  u,
2612
- D
2613
- ]), H = f(function(e, t) {
2612
+ E
2613
+ ]), U = p(function(e, t) {
2614
2614
  var n = [], r = [];
2615
2615
  e.forEach(function(e) {
2616
- var t = Ct($e(e, A), 2), i = t[0], s = t[1], c = Ct(et(e, o, a), 2), l = c[0], u = c[1], d = k ? k(e) : null;
2616
+ var t = wt(et(e, k), 2), i = t[0], s = t[1], c = wt(tt(e, o, a), 2), l = c[0], u = c[1], d = O ? O(e) : null;
2617
2617
  if (i && l && !d) n.push(e);
2618
2618
  else {
2619
2619
  var f = [s, u];
@@ -2627,112 +2627,112 @@ function It() {
2627
2627
  }), (!s && n.length > 1 || s && c >= 1 && n.length > c) && (n.forEach(function(e) {
2628
2628
  r.push({
2629
2629
  file: e,
2630
- errors: [Ze]
2630
+ errors: [Qe]
2631
2631
  });
2632
- }), n.splice(0)), I({
2632
+ }), n.splice(0)), L({
2633
2633
  acceptedFiles: n,
2634
2634
  fileRejections: r,
2635
2635
  type: "setFiles"
2636
- }), p && p(n, r, t), r.length > 0 && y && y(r, t), n.length > 0 && h && h(n, t);
2636
+ }), f && f(n, r, t), r.length > 0 && g && g(r, t), n.length > 0 && m && m(n, t);
2637
2637
  }, [
2638
- I,
2638
+ L,
2639
2639
  s,
2640
- A,
2640
+ k,
2641
2641
  o,
2642
2642
  a,
2643
2643
  c,
2644
- p,
2645
- h,
2646
- y,
2647
- k
2648
- ]), U = f(function(e) {
2649
- e.preventDefault(), e.persist(), Y(e), z.current = [], rt(e) && Promise.resolve(i(e)).then(function(t) {
2650
- nt(e) && !D || H(t, e);
2644
+ f,
2645
+ m,
2646
+ g,
2647
+ O
2648
+ ]), W = p(function(e) {
2649
+ e.preventDefault(), e.persist(), J(e), B.current = [], it(e) && Promise.resolve(i(e)).then(function(t) {
2650
+ rt(e) && !E || U(t, e);
2651
2651
  }).catch(function(e) {
2652
- return V(e);
2653
- }), I({ type: "reset" });
2652
+ return H(e);
2653
+ }), L({ type: "reset" });
2654
2654
  }, [
2655
2655
  i,
2656
+ U,
2656
2657
  H,
2657
- V,
2658
- D
2659
- ]), W = f(function() {
2660
- if (R.current) {
2661
- I({ type: "openDialog" }), M();
2658
+ E
2659
+ ]), G = p(function() {
2660
+ if (z.current) {
2661
+ L({ type: "openDialog" }), j();
2662
2662
  var e = {
2663
2663
  multiple: s,
2664
- types: j
2664
+ types: A
2665
2665
  };
2666
2666
  window.showOpenFilePicker(e).then(function(e) {
2667
2667
  return i(e);
2668
2668
  }).then(function(e) {
2669
- H(e, null), I({ type: "closeDialog" });
2669
+ U(e, null), L({ type: "closeDialog" });
2670
2670
  }).catch(function(e) {
2671
- dt(e) ? (N(e), I({ type: "closeDialog" })) : ft(e) ? (R.current = !1, F.current ? (F.current.value = null, F.current.click()) : V(/* @__PURE__ */ Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : V(e);
2671
+ ft(e) ? (M(e), L({ type: "closeDialog" })) : pt(e) ? (z.current = !1, P.current ? (P.current.value = null, P.current.click()) : H(/* @__PURE__ */ Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : H(e);
2672
2672
  });
2673
2673
  return;
2674
2674
  }
2675
- F.current && (I({ type: "openDialog" }), M(), F.current.value = null, F.current.click());
2675
+ P.current && (L({ type: "openDialog" }), j(), P.current.value = null, P.current.click());
2676
2676
  }, [
2677
- I,
2677
+ L,
2678
+ j,
2678
2679
  M,
2679
- N,
2680
- S,
2680
+ x,
2681
+ U,
2681
2682
  H,
2682
- V,
2683
- j,
2683
+ A,
2684
2684
  s
2685
- ]), le = f(function(e) {
2686
- !P.current || !P.current.isEqualNode(e.target) || (e.key === " " || e.key === "Enter" || e.keyCode === 32 || e.keyCode === 13) && (e.preventDefault(), W());
2687
- }, [P, W]), ue = f(function() {
2688
- I({ type: "focus" });
2689
- }, []), de = f(function() {
2690
- I({ type: "blur" });
2691
- }, []), G = f(function() {
2692
- w || (st() ? setTimeout(W, 0) : W());
2693
- }, [w, W]), K = function(e) {
2685
+ ]), ce = p(function(e) {
2686
+ !N.current || !N.current.isEqualNode(e.target) || (e.key === " " || e.key === "Enter" || e.keyCode === 32 || e.keyCode === 13) && (e.preventDefault(), G());
2687
+ }, [N, G]), le = p(function() {
2688
+ L({ type: "focus" });
2689
+ }, []), ue = p(function() {
2690
+ L({ type: "blur" });
2691
+ }, []), de = p(function() {
2692
+ te || (ct() ? setTimeout(G, 0) : G());
2693
+ }, [te, G]), K = function(e) {
2694
2694
  return r ? null : e;
2695
+ }, fe = function(e) {
2696
+ return w ? null : K(e);
2695
2697
  }, q = function(e) {
2696
2698
  return T ? null : K(e);
2697
2699
  }, J = function(e) {
2698
- return E ? null : K(e);
2699
- }, Y = function(e) {
2700
- D && e.stopPropagation();
2701
- }, fe = g(function() {
2700
+ E && e.stopPropagation();
2701
+ }, pe = _(function() {
2702
2702
  return function() {
2703
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, n = t === void 0 ? "ref" : t, i = e.role, a = e.onKeyDown, o = e.onFocus, s = e.onBlur, c = e.onClick, l = e.onDragEnter, u = e.onDragOver, d = e.onDragLeave, f = e.onDrop, p = jt(e, _t);
2704
- return $($(At({
2705
- onKeyDown: q(Q(a, le)),
2706
- onFocus: q(Q(o, ue)),
2707
- onBlur: q(Q(s, de)),
2708
- onClick: K(Q(c, G)),
2709
- onDragEnter: J(Q(l, oe)),
2710
- onDragOver: J(Q(u, se)),
2711
- onDragLeave: J(Q(d, ce)),
2712
- onDrop: J(Q(f, U)),
2703
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, n = t === void 0 ? "ref" : t, i = e.role, a = e.onKeyDown, o = e.onFocus, s = e.onBlur, c = e.onClick, l = e.onDragEnter, u = e.onDragOver, d = e.onDragLeave, f = e.onDrop, p = Mt(e, vt);
2704
+ return $($(jt({
2705
+ onKeyDown: fe(Q(a, ce)),
2706
+ onFocus: fe(Q(o, le)),
2707
+ onBlur: fe(Q(s, ue)),
2708
+ onClick: K(Q(c, de)),
2709
+ onDragEnter: q(Q(l, ae)),
2710
+ onDragOver: q(Q(u, oe)),
2711
+ onDragLeave: q(Q(d, se)),
2712
+ onDrop: q(Q(f, W)),
2713
2713
  role: typeof i == "string" && i !== "" ? i : "presentation"
2714
- }, n, P), !r && !T ? { tabIndex: 0 } : {}), p);
2714
+ }, n, N), !r && !w ? { tabIndex: 0 } : {}), p);
2715
2715
  };
2716
2716
  }, [
2717
- P,
2717
+ N,
2718
+ ce,
2718
2719
  le,
2719
2720
  ue,
2720
2721
  de,
2721
- G,
2722
+ ae,
2722
2723
  oe,
2723
2724
  se,
2724
- ce,
2725
- U,
2725
+ W,
2726
+ w,
2726
2727
  T,
2727
- E,
2728
2728
  r
2729
- ]), pe = f(function(e) {
2729
+ ]), me = p(function(e) {
2730
2730
  e.stopPropagation();
2731
- }, []), me = g(function() {
2731
+ }, []), he = _(function() {
2732
2732
  return function() {
2733
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, n = t === void 0 ? "ref" : t, r = e.onChange, i = e.onClick, a = jt(e, vt);
2734
- return $($({}, At({
2735
- accept: A,
2733
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, n = t === void 0 ? "ref" : t, r = e.onChange, i = e.onClick, a = Mt(e, yt);
2734
+ return $($({}, jt({
2735
+ accept: k,
2736
2736
  multiple: s,
2737
2737
  type: "file",
2738
2738
  style: {
@@ -2747,33 +2747,33 @@ function It() {
2747
2747
  width: "1px",
2748
2748
  whiteSpace: "nowrap"
2749
2749
  },
2750
- onChange: K(Q(r, U)),
2751
- onClick: K(Q(i, pe)),
2750
+ onChange: K(Q(r, W)),
2751
+ onClick: K(Q(i, me)),
2752
2752
  tabIndex: -1
2753
- }, n, F)), a);
2753
+ }, n, P)), a);
2754
2754
  };
2755
2755
  }, [
2756
- F,
2756
+ P,
2757
2757
  n,
2758
2758
  s,
2759
- U,
2759
+ W,
2760
2760
  r
2761
2761
  ]);
2762
- return $($({}, ne), {}, {
2763
- isFocused: re && !r,
2764
- getRootProps: fe,
2765
- getInputProps: me,
2766
- rootRef: P,
2767
- inputRef: F,
2768
- open: K(W)
2762
+ return $($({}, I), {}, {
2763
+ isFocused: ne && !r,
2764
+ getRootProps: pe,
2765
+ getInputProps: he,
2766
+ rootRef: N,
2767
+ inputRef: P,
2768
+ open: K(G)
2769
2769
  });
2770
2770
  }
2771
- function Lt(e, t) {
2771
+ function Rt(e, t) {
2772
2772
  /* istanbul ignore next */
2773
2773
  switch (t.type) {
2774
2774
  case "focus": return $($({}, e), {}, { isFocused: !0 });
2775
2775
  case "blur": return $($({}, e), {}, { isFocused: !1 });
2776
- case "openDialog": return $($({}, Ft), {}, { isFileDialogActive: !0 });
2776
+ case "openDialog": return $($({}, It), {}, { isFileDialogActive: !0 });
2777
2777
  case "closeDialog": return $($({}, e), {}, { isFileDialogActive: !1 });
2778
2778
  case "setDraggedFiles": return $($({}, e), {}, {
2779
2779
  isDragActive: t.isDragActive,
@@ -2786,14 +2786,14 @@ function Lt(e, t) {
2786
2786
  isDragReject: !1
2787
2787
  });
2788
2788
  case "setDragGlobal": return $($({}, e), {}, { isDragGlobal: t.isDragGlobal });
2789
- case "reset": return $({}, Ft);
2789
+ case "reset": return $({}, It);
2790
2790
  default: return e;
2791
2791
  }
2792
2792
  }
2793
- function Rt() {}
2793
+ function zt() {}
2794
2794
  //#endregion
2795
2795
  //#region src/components/form/file-upload.tsx
2796
- var zt = u([null, () => {}]), Bt = () => p(zt), Vt = (e) => e.type.startsWith("image/") ? "img" : e.type.startsWith("audio/") ? "audio" : e.type.startsWith("video/") ? "video" : e.type, Ht = {
2796
+ var Bt = d([null, () => {}]), Vt = () => m(Bt), Ht = (e) => e.type.startsWith("image/") ? "img" : e.type.startsWith("audio/") ? "audio" : e.type.startsWith("video/") ? "video" : e.type, Ut = {
2797
2797
  csv: N,
2798
2798
  xls: N,
2799
2799
  mov: A,
@@ -2803,32 +2803,32 @@ var zt = u([null, () => {}]), Bt = () => p(zt), Vt = (e) => e.type.startsWith("i
2803
2803
  txt: k,
2804
2804
  json: O,
2805
2805
  mp3: P
2806
- }, Ut = (e) => {
2807
- let [, t] = Bt(), [i, a] = y({
2806
+ }, Wt = (e) => {
2807
+ let t = a(), [, i] = Vt(), [o, s] = y({
2808
2808
  url: "",
2809
2809
  type: "",
2810
2810
  size: ""
2811
2811
  });
2812
- m(() => {
2812
+ h(() => {
2813
2813
  let t = e.file, n = URL.createObjectURL(t);
2814
- return a({
2814
+ return s({
2815
2815
  url: n,
2816
- type: Vt(t),
2817
- size: ae(t.size)
2816
+ type: Ht(t),
2817
+ size: H(t.size)
2818
2818
  }), () => URL.revokeObjectURL(n);
2819
2819
  }, [e.file]);
2820
- let o = (n) => {
2821
- n.stopPropagation(), n.preventDefault(), t({
2822
- ...i,
2820
+ let c = (t) => {
2821
+ t.stopPropagation(), t.preventDefault(), i({
2822
+ ...o,
2823
2823
  file: e.file
2824
2824
  });
2825
- }, s = (t) => {
2825
+ }, l = (t) => {
2826
2826
  t.preventDefault(), t.stopPropagation(), e.onDeleteFile?.(e.file);
2827
- }, c = e.file.name, l = Ht[e.file.name.split(".").at(-1)] ?? n, u = i.type === "img" ? /* @__PURE__ */ b("img", {
2828
- src: i.url,
2827
+ }, u = e.file.name, d = Ut[e.file.name.split(".").at(-1)] ?? n, f = o.type === "img" ? /* @__PURE__ */ b("img", {
2828
+ src: o.url,
2829
2829
  className: "w-full object-contain",
2830
2830
  alt: e.file.name
2831
- }) : /* @__PURE__ */ b(l, { size: 48 });
2831
+ }) : /* @__PURE__ */ b(d, { size: 48 });
2832
2832
  return /* @__PURE__ */ x("li", {
2833
2833
  className: "flex w-full flex-row justify-between gap-file-upload-gap border-b border-card-border last:border-b-transparent",
2834
2834
  children: [/* @__PURE__ */ x("div", {
@@ -2837,15 +2837,15 @@ var zt = u([null, () => {}]), Bt = () => p(zt), Vt = (e) => e.type.startsWith("i
2837
2837
  className: "flex flex-row items-center gap-file-upload-gap",
2838
2838
  children: [/* @__PURE__ */ b("button", {
2839
2839
  type: "button",
2840
- onClick: o,
2841
- "aria-label": `View ${c}`,
2840
+ onClick: c,
2841
+ "aria-label": t.fileUploadViewFile(u),
2842
2842
  className: "m-2 flex size-file-upload-thumb-size items-center justify-center overflow-hidden",
2843
- children: u
2843
+ children: f
2844
2844
  }), /* @__PURE__ */ x("div", {
2845
2845
  className: "flex flex-col items-start justify-start text-left",
2846
2846
  children: [/* @__PURE__ */ b("span", { children: e.file.name }), /* @__PURE__ */ b("span", {
2847
2847
  className: "text-file-upload-text-size italic",
2848
- children: i.size
2848
+ children: o.size
2849
2849
  })]
2850
2850
  })]
2851
2851
  }), e.File ? /* @__PURE__ */ b("div", {
@@ -2855,9 +2855,9 @@ var zt = u([null, () => {}]), Bt = () => p(zt), Vt = (e) => e.type.startsWith("i
2855
2855
  }), /* @__PURE__ */ b("div", {
2856
2856
  className: "align-start flex justify-start py-file-upload-delete-py transition-colors duration-300 ease-linear hover:text-danger-hover",
2857
2857
  children: /* @__PURE__ */ b("button", {
2858
- onClick: s,
2858
+ onClick: l,
2859
2859
  type: "button",
2860
- "aria-label": `Remove ${c}`,
2860
+ "aria-label": t.fileUploadRemoveFile(u),
2861
2861
  className: "flex size-6 items-center justify-center",
2862
2862
  children: /* @__PURE__ */ b(r, {
2863
2863
  size: 16,
@@ -2866,40 +2866,51 @@ var zt = u([null, () => {}]), Bt = () => p(zt), Vt = (e) => e.type.startsWith("i
2866
2866
  })
2867
2867
  })]
2868
2868
  });
2869
- }, Wt = (e) => /* @__PURE__ */ b("ul", {
2869
+ }, Gt = (e) => /* @__PURE__ */ b("ul", {
2870
2870
  className: "w-full space-y-8",
2871
- children: e.files.map((t) => /* @__PURE__ */ b(Ut, {
2871
+ children: e.files.map((t) => /* @__PURE__ */ b(Wt, {
2872
2872
  File: e.File,
2873
2873
  onDeleteFile: e.onDeleteFile,
2874
2874
  file: t
2875
2875
  }, t.name))
2876
- }), Gt = (e) => {
2877
- let t = a();
2876
+ }), Kt = (e) => {
2877
+ let t = a(), n = e.dragging ? M : j, r = (t) => {
2878
+ t.preventDefault(), t.stopPropagation(), e.onUpload?.();
2879
+ };
2878
2880
  return /* @__PURE__ */ x("div", {
2879
2881
  className: "flex flex-col items-center justify-center",
2880
2882
  children: [/* @__PURE__ */ b("div", {
2881
2883
  className: "flex flex-col items-center justify-center gap-file-upload-inner-gap",
2882
- children: /* @__PURE__ */ b(e.dragging ? M : j, {
2884
+ children: /* @__PURE__ */ b("span", {
2883
2885
  className: "text-primary",
2884
- size: 80
2886
+ children: /* @__PURE__ */ b(n, {
2887
+ size: 80,
2888
+ "aria-hidden": "true"
2889
+ })
2885
2890
  })
2886
2891
  }), /* @__PURE__ */ x("div", {
2887
2892
  className: "my-file-upload-thumb-my flex flex-col items-center gap-file-upload-thumb-gap",
2888
2893
  children: [/* @__PURE__ */ b("p", { children: t.uploadIdle }), /* @__PURE__ */ b("button", {
2889
2894
  className: "text-primary underline",
2890
2895
  type: "button",
2896
+ "aria-label": t.fileUploadUploadButtonLabel(t.uploadIdleButton),
2897
+ onClick: r,
2898
+ onKeyDown: (e) => {
2899
+ e.key !== "Enter" && e.key !== " " || r(e);
2900
+ },
2891
2901
  children: t.uploadIdleButton
2892
2902
  })]
2893
2903
  })]
2894
2904
  });
2895
- }, Kt = (e) => e.isDragActive ? /* @__PURE__ */ b(Gt, {
2905
+ }, qt = (e) => e.isDragActive ? /* @__PURE__ */ b(Kt, {
2896
2906
  files: e.files,
2897
- dragging: !0
2898
- }) : e.files.length > 0 ? /* @__PURE__ */ b(Wt, {
2907
+ dragging: !0,
2908
+ onUpload: e.onUpload
2909
+ }) : e.files.length > 0 ? /* @__PURE__ */ b(Gt, {
2899
2910
  File: e.File,
2900
2911
  onDeleteFile: e.onDeleteFile,
2901
2912
  files: e.files
2902
- }) : /* @__PURE__ */ b(l, { children: e.idle }), qt = /* @__PURE__ */ b(Gt, { dragging: !1 }), Jt = (e) => {
2913
+ }) : /* @__PURE__ */ b(l, { children: u(e.idle, { onUpload: e.onUpload }) }), Jt = /* @__PURE__ */ b(Kt, { dragging: !1 }), Yt = (e) => {
2903
2914
  let t = e.item.file, n = e.item.type;
2904
2915
  return /* @__PURE__ */ x("div", {
2905
2916
  className: "flex flex-col gap-file-upload-gap",
@@ -2928,11 +2939,17 @@ var zt = u([null, () => {}]), Bt = () => p(zt), Vt = (e) => e.type.startsWith("i
2928
2939
  }) }) : null
2929
2940
  ]
2930
2941
  });
2931
- }, Yt = ({ idle: e = qt, onDeleteFile: t, File: n, onDrop: r, ...i }) => {
2932
- let s = a(), c = y(null), [l, u] = y([]), d = i.files ?? l, f = () => c[1](null), { getRootProps: p, getInputProps: m, isDragActive: h } = It({ onDrop: (e) => {
2933
- r?.(e), u((t) => t.concat(e));
2934
- } });
2935
- return /* @__PURE__ */ x(zt.Provider, {
2942
+ }, Xt = ({ idle: e = Jt, onDeleteFile: t, File: n, onDrop: r, ...i }) => {
2943
+ let s = a(), c = y(null), [l, u] = y([]), d = i.files ?? l, f = () => c[1](null), { getRootProps: p, getInputProps: m, isDragActive: h, open: g } = Lt({
2944
+ multiple: i.multiple,
2945
+ onDragEnter: i.onDragEnter,
2946
+ onDragOver: i.onDragOver,
2947
+ onDragLeave: i.onDragLeave,
2948
+ onDrop: (e) => {
2949
+ r?.(e), u((t) => t.concat(e));
2950
+ }
2951
+ });
2952
+ return /* @__PURE__ */ x(Bt.Provider, {
2936
2953
  value: c,
2937
2954
  children: [/* @__PURE__ */ b(o, {
2938
2955
  overlayClickClose: !0,
@@ -2940,27 +2957,30 @@ var zt = u([null, () => {}]), Bt = () => p(zt), Vt = (e) => e.type.startsWith("i
2940
2957
  ariaTitle: s.uploadDialogTitle,
2941
2958
  open: c[0] !== null,
2942
2959
  onChange: f,
2943
- children: c[0] ? /* @__PURE__ */ b(Jt, { item: c[0] }) : null
2960
+ children: c[0] ? /* @__PURE__ */ b(Yt, { item: c[0] }) : null
2944
2961
  }), /* @__PURE__ */ x("div", {
2945
- ...p(),
2946
- "aria-label": s.fileUploadZoneLabel,
2947
- "data-active": d ? d.length > 0 : !1,
2948
- className: "flex flex-col items-center justify-center rounded-file-upload-radius border border-card-border p-file-upload-p text-foreground data-[active=true]:border-solid data-[active=false]:border-dashed data-[active=true]:border-transparent data-[active=true]:bg-card-background",
2962
+ ...p({
2963
+ "aria-label": s.fileUploadZoneLabel,
2964
+ "data-active": d ? d.length > 0 : !1,
2965
+ className: "flex flex-col items-center justify-center rounded-file-upload-radius border border-card-border p-file-upload-p text-foreground data-[active=true]:border-solid data-[active=false]:border-dashed data-[active=true]:border-transparent data-[active=true]:bg-card-background"
2966
+ }),
2949
2967
  children: [/* @__PURE__ */ b("input", {
2950
- ...m(i),
2968
+ ...m(),
2969
+ "aria-label": s.fileUploadZoneLabel,
2951
2970
  name: i.name,
2952
2971
  id: i.name
2953
- }), /* @__PURE__ */ b(Kt, {
2972
+ }), /* @__PURE__ */ b(qt, {
2954
2973
  File: n,
2955
2974
  onDeleteFile: t,
2956
2975
  isDragActive: h,
2957
2976
  idle: e,
2958
- files: d
2977
+ files: d,
2978
+ onUpload: g
2959
2979
  })]
2960
2980
  })]
2961
2981
  });
2962
2982
  };
2963
2983
  //#endregion
2964
- export { Yt as t };
2984
+ export { Xt as t };
2965
2985
 
2966
- //# sourceMappingURL=file-upload-DWbZfeG5.js.map
2986
+ //# sourceMappingURL=file-upload-C2zNnv9n.js.map