@lanaco/lnc-react-ui 4.0.225 → 4.0.226

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 (378) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +2 -2
  3. package/dist/AccordionDetails.cjs +1 -1
  4. package/dist/AccordionDetails.js +1 -1
  5. package/dist/AccordionSummary.cjs +1 -1
  6. package/dist/AccordionSummary.js +2 -2
  7. package/dist/ActionsToolbar.cjs +1 -1
  8. package/dist/ActionsToolbar.js +3 -3
  9. package/dist/AdBannerSection.cjs +1 -1
  10. package/dist/AdBannerSection.js +3 -3
  11. package/dist/Alert.cjs +1 -1
  12. package/dist/Alert.js +2 -2
  13. package/dist/Avatar.cjs +1 -1
  14. package/dist/Avatar.js +2 -2
  15. package/dist/Badge.cjs +1 -1
  16. package/dist/Badge.js +2 -2
  17. package/dist/BannerNextSection.cjs +1 -1
  18. package/dist/BannerNextSection.js +3 -3
  19. package/dist/BannerSectionBasic.cjs +1 -1
  20. package/dist/BannerSectionBasic.js +2 -2
  21. package/dist/BannerSectionCarousel.cjs +1 -1
  22. package/dist/BannerSectionCarousel.js +5 -5
  23. package/dist/BannerSectionGrid.cjs +2 -2
  24. package/dist/BannerSectionGrid.js +5 -5
  25. package/dist/BannerSectionSimple.cjs +1 -1
  26. package/dist/BannerSectionSimple.js +4 -4
  27. package/dist/BannerSectionWithList.cjs +1 -1
  28. package/dist/BannerSectionWithList.js +3 -3
  29. package/dist/BannerSectionWithListImage.cjs +1 -1
  30. package/dist/BannerSectionWithListImage.js +2 -2
  31. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  32. package/dist/BlogCardsSponsoredSection.js +6 -6
  33. package/dist/BlogCategoryCardsSection.cjs +1 -1
  34. package/dist/BlogCategoryCardsSection.js +2 -2
  35. package/dist/BlogExploreSection.cjs +1 -1
  36. package/dist/BlogExploreSection.js +6 -6
  37. package/dist/BlogImagePathSection.cjs +1 -1
  38. package/dist/BlogImagePathSection.js +2 -2
  39. package/dist/BlogListSection.cjs +1 -1
  40. package/dist/BlogListSection.js +6 -6
  41. package/dist/BlogProductCardsSection.cjs +1 -1
  42. package/dist/BlogProductCardsSection.js +3 -3
  43. package/dist/BlogShopCardsSection.cjs +1 -1
  44. package/dist/BlogShopCardsSection.js +3 -3
  45. package/dist/BlogSingleSection.cjs +1 -1
  46. package/dist/BlogSingleSection.js +4 -4
  47. package/dist/BlogsSectionDetailed.cjs +1 -1
  48. package/dist/BlogsSectionDetailed.js +9 -9
  49. package/dist/BlogsSectionLarge.cjs +1 -1
  50. package/dist/BlogsSectionLarge.js +5 -5
  51. package/dist/BlogsSectionSimple.cjs +1 -1
  52. package/dist/BlogsSectionSimple.js +7 -7
  53. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  54. package/dist/BlogsSectionSimpleCentered.js +6 -6
  55. package/dist/BlogsSectionWithFilters.cjs +1 -1
  56. package/dist/BlogsSectionWithFilters.js +8 -8
  57. package/dist/BrandHitsSection.cjs +1 -1
  58. package/dist/BrandHitsSection.js +4 -4
  59. package/dist/Breadcrumbs.cjs +1 -1
  60. package/dist/Breadcrumbs.js +2 -2
  61. package/dist/Button.cjs +1 -1
  62. package/dist/Button.js +3 -3
  63. package/dist/ButtonGroup.cjs +1 -1
  64. package/dist/ButtonGroup.js +2 -2
  65. package/dist/CalorieCalculatorSection.cjs +1 -1
  66. package/dist/CalorieCalculatorSection.js +3 -3
  67. package/dist/{CategorySimpleCard-CkSwvJRw.js → CategorySimpleCard-TJRJ_2Sb.js} +3 -3
  68. package/dist/{CategorySimpleCard-CIBvknos.cjs → CategorySimpleCard-lIdzBNDa.cjs} +1 -1
  69. package/dist/CheckBoxInput.cjs +1 -1
  70. package/dist/CheckBoxInput.js +2 -2
  71. package/dist/Chip.cjs +1 -1
  72. package/dist/Chip.js +2 -2
  73. package/dist/ColorInput.cjs +1 -1
  74. package/dist/ColorInput.js +2 -2
  75. package/dist/ConfirmationForm.cjs +1 -1
  76. package/dist/ConfirmationForm.js +2 -2
  77. package/dist/ContactSection.cjs +5 -5
  78. package/dist/ContactSection.js +1765 -1712
  79. package/dist/CustomLoanMapSection.cjs +1 -1
  80. package/dist/CustomLoanMapSection.js +3 -3
  81. package/dist/{CustomStyles-DR4WuDUN.js → CustomStyles-B6uutenq.js} +58 -55
  82. package/dist/{CustomStyles-2TQQSwtU.cjs → CustomStyles-dJQPJ4s4.cjs} +4 -4
  83. package/dist/{DailyMotion-BPdBW5Yv.cjs → DailyMotion-BLODEbGN.cjs} +1 -1
  84. package/dist/{DailyMotion-P9S-WhTX.js → DailyMotion-BcKTajo7.js} +1 -1
  85. package/dist/DataView.cjs +1 -1
  86. package/dist/DataView.js +1 -1
  87. package/dist/DateInput.cjs +1 -1
  88. package/dist/DateInput.js +4 -4
  89. package/dist/DecimalInput.cjs +1 -1
  90. package/dist/DecimalInput.js +2 -2
  91. package/dist/DecimalInputV2.cjs +1 -1
  92. package/dist/DecimalInputV2.js +2 -2
  93. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  94. package/dist/DetailedProductsInfinitiveSection.js +7 -7
  95. package/dist/DetailedProductsSection.cjs +1 -1
  96. package/dist/DetailedProductsSection.js +8 -8
  97. package/dist/DetailsView.cjs +1 -1
  98. package/dist/DetailsView.js +2 -2
  99. package/dist/DoubleRangeSlider.cjs +1 -1
  100. package/dist/DoubleRangeSlider.js +2 -2
  101. package/dist/DragAndDropFile.cjs +10 -10
  102. package/dist/DragAndDropFile.js +444 -408
  103. package/dist/DragDropFiles.cjs +1 -1
  104. package/dist/DragDropFiles.js +2 -2
  105. package/dist/Drawer.js +1 -1
  106. package/dist/Dropdown.cjs +1 -1
  107. package/dist/Dropdown.js +3 -3
  108. package/dist/DropdownItem.cjs +1 -1
  109. package/dist/DropdownItem.js +2 -2
  110. package/dist/DropdownLookup.cjs +1 -1
  111. package/dist/DropdownLookup.js +2 -2
  112. package/dist/DropdownMenu.cjs +1 -1
  113. package/dist/DropdownMenu.js +2 -2
  114. package/dist/EditableTable.cjs +1 -1
  115. package/dist/EditableTable.js +2 -2
  116. package/dist/{Facebook-C8L2KR4O.cjs → Facebook-Cxy7fSgc.cjs} +1 -1
  117. package/dist/{Facebook-vhbBr0rd.js → Facebook-o0wYiIu4.js} +25 -25
  118. package/dist/FaqSection.cjs +1 -1
  119. package/dist/FaqSection.js +4 -4
  120. package/dist/FeedbackSection.cjs +1 -1
  121. package/dist/FeedbackSection.js +3 -3
  122. package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
  123. package/dist/FieldOfInterestsMasonrySection.js +4 -4
  124. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  125. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +5 -5
  126. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
  127. package/dist/FieldOfInterestsWithTagsCardsSection.js +4 -4
  128. package/dist/FileInput.cjs +1 -1
  129. package/dist/FileInput.js +2 -2
  130. package/dist/{FilePlayer-BVFgHY_f.cjs → FilePlayer-DyIgZGf2.cjs} +1 -1
  131. package/dist/{FilePlayer-CXTLAokk.js → FilePlayer-Evom9jRl.js} +1 -1
  132. package/dist/FlexBox.cjs +1 -1
  133. package/dist/FlexBox.js +1 -1
  134. package/dist/FlexGridItem.cjs +1 -1
  135. package/dist/FlexGridItem.js +2 -2
  136. package/dist/FormField.cjs +1 -1
  137. package/dist/FormField.js +2 -2
  138. package/dist/FormView.cjs +1 -1
  139. package/dist/FormView.js +2 -2
  140. package/dist/GeneralWithTagsCardsSection.cjs +1 -1
  141. package/dist/GeneralWithTagsCardsSection.js +4 -4
  142. package/dist/GiftCardsSection.cjs +1 -1
  143. package/dist/GiftCardsSection.js +6 -6
  144. package/dist/Grid.cjs +1 -1
  145. package/dist/Grid.js +1 -1
  146. package/dist/GridItem.cjs +1 -1
  147. package/dist/GridItem.js +1 -1
  148. package/dist/HelpBannerSection.cjs +1 -1
  149. package/dist/HelpBannerSection.js +2 -2
  150. package/dist/Icon.cjs +1 -1
  151. package/dist/Icon.js +2 -2
  152. package/dist/IconButton.cjs +1 -1
  153. package/dist/IconButton.js +2 -2
  154. package/dist/{Kaltura-CRGK2EP7.js → Kaltura-CA_8jdJe.js} +1 -1
  155. package/dist/{Kaltura-C2fRoaEg.cjs → Kaltura-l-2u1Tm7.cjs} +1 -1
  156. package/dist/Kanban.cjs +5 -5
  157. package/dist/Kanban.js +5 -5
  158. package/dist/KanbanActionsToolbar.cjs +1 -1
  159. package/dist/KanbanActionsToolbar.js +2 -2
  160. package/dist/{KanbanCard-DihrKn-I.cjs → KanbanCard-9Pe_tjMt.cjs} +1 -1
  161. package/dist/{KanbanCard-B9V9EjVE.js → KanbanCard-ffmclwO4.js} +1 -1
  162. package/dist/KanbanCard.cjs +1 -1
  163. package/dist/KanbanCard.js +2 -2
  164. package/dist/KanbanFooter.cjs +1 -1
  165. package/dist/KanbanFooter.js +1 -1
  166. package/dist/KanbanHeader.cjs +1 -1
  167. package/dist/KanbanHeader.js +1 -1
  168. package/dist/KanbanView.cjs +1 -1
  169. package/dist/KanbanView.js +3 -3
  170. package/dist/Link.cjs +1 -1
  171. package/dist/Link.js +2 -2
  172. package/dist/LoanCalculatorSection.cjs +1 -1
  173. package/dist/LoanCalculatorSection.js +4 -4
  174. package/dist/LocationFinderSection.cjs +1 -1
  175. package/dist/LocationFinderSection.js +1 -1
  176. package/dist/LocationSearchSection.cjs +1 -1
  177. package/dist/LocationSearchSection.js +3 -3
  178. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  179. package/dist/MasonryGeneralCardsSection.js +4 -4
  180. package/dist/MenuItem.cjs +1 -1
  181. package/dist/MenuItem.js +2 -2
  182. package/dist/{Mixcloud-D09BQNOt.cjs → Mixcloud-BwTRg6SF.cjs} +1 -1
  183. package/dist/{Mixcloud-Cn5M-EIT.js → Mixcloud-D2JZtlPe.js} +10 -10
  184. package/dist/Modal.cjs +1 -1
  185. package/dist/Modal.js +3 -3
  186. package/dist/MultiSelectDropdown.cjs +1 -1
  187. package/dist/MultiSelectDropdown.js +1 -1
  188. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  189. package/dist/MultiSelectDropdownLookup.js +1 -1
  190. package/dist/{Mux-C6szci3w.js → Mux-CBMcNvuK.js} +1 -1
  191. package/dist/{Mux-C-xD7crc.cjs → Mux-tp04uiAm.cjs} +1 -1
  192. package/dist/NestedDropdownItem.cjs +1 -1
  193. package/dist/NestedDropdownItem.js +2 -2
  194. package/dist/NestedMenuItem.cjs +1 -1
  195. package/dist/NestedMenuItem.js +2 -2
  196. package/dist/Notification.cjs +1 -1
  197. package/dist/Notification.js +1 -1
  198. package/dist/NotificationContainer.cjs +1 -1
  199. package/dist/NotificationContainer.js +3 -3
  200. package/dist/NotificationMessage.cjs +1 -1
  201. package/dist/NotificationMessage.js +2 -2
  202. package/dist/NumberInput.cjs +1 -1
  203. package/dist/NumberInput.js +2 -2
  204. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  205. package/dist/OverlayGeneralCardsSection.js +3 -3
  206. package/dist/PageLayout.cjs +1 -1
  207. package/dist/PageLayout.js +1 -1
  208. package/dist/Pagination.cjs +1 -1
  209. package/dist/Pagination.js +1 -1
  210. package/dist/PartnerBannerSection.cjs +1 -1
  211. package/dist/PartnerBannerSection.js +2 -2
  212. package/dist/PartnerBrandsSection.cjs +1 -1
  213. package/dist/PartnerBrandsSection.js +4 -4
  214. package/dist/PartnerCardsSection.cjs +1 -1
  215. package/dist/PartnerCardsSection.js +4 -4
  216. package/dist/PartnerStatsSection.cjs +1 -1
  217. package/dist/PartnerStatsSection.js +3 -3
  218. package/dist/PasswordInput.cjs +1 -1
  219. package/dist/PasswordInput.js +2 -2
  220. package/dist/PopoverContent.cjs +1 -1
  221. package/dist/PopoverContent.js +3 -3
  222. package/dist/PopoverDescription.cjs +1 -1
  223. package/dist/PopoverDescription.js +1 -1
  224. package/dist/PopoverHeading.cjs +1 -1
  225. package/dist/PopoverHeading.js +1 -1
  226. package/dist/PopoverTrigger.cjs +1 -1
  227. package/dist/PopoverTrigger.js +1 -1
  228. package/dist/{Preview-B8HyPnfR.cjs → Preview-2LWO1jPt.cjs} +1 -1
  229. package/dist/{Preview-CO6WSP5f.js → Preview-CEZQvDLk.js} +6 -6
  230. package/dist/ProductsWithBannerSection.cjs +1 -1
  231. package/dist/ProductsWithBannerSection.js +7 -7
  232. package/dist/ProgressBar.cjs +1 -1
  233. package/dist/ProgressBar.js +2 -2
  234. package/dist/QuattroCardsSection.cjs +1 -1
  235. package/dist/QuattroCardsSection.js +5 -5
  236. package/dist/QuizSection.cjs +1 -1
  237. package/dist/QuizSection.js +3 -3
  238. package/dist/RadioGroup.cjs +1 -1
  239. package/dist/RadioGroup.js +1 -1
  240. package/dist/RadioInput.cjs +1 -1
  241. package/dist/RadioInput.js +2 -2
  242. package/dist/RangeSlider.cjs +1 -1
  243. package/dist/RangeSlider.js +2 -2
  244. package/dist/ReviewsSection.cjs +1 -1
  245. package/dist/ReviewsSection.js +6 -6
  246. package/dist/SalesCampaignsSection.cjs +1 -1
  247. package/dist/SalesCampaignsSection.js +6 -6
  248. package/dist/SearchBar.cjs +1 -1
  249. package/dist/SearchBar.js +2 -2
  250. package/dist/{SearchSection-BEYnWPSr.js → SearchSection-BQkugcbp.js} +17 -17
  251. package/dist/{SearchSection-DUY61r3k.cjs → SearchSection-CgbZsVg2.cjs} +2 -2
  252. package/dist/SearchSection.cjs +1 -1
  253. package/dist/SearchSection.js +1 -1
  254. package/dist/Separator.cjs +1 -1
  255. package/dist/Separator.js +2 -2
  256. package/dist/SeparatorSection.cjs +1 -1
  257. package/dist/SeparatorSection.js +2 -2
  258. package/dist/ShopCardsSection.cjs +1 -1
  259. package/dist/ShopCardsSection.js +5 -5
  260. package/dist/Sidebar.cjs +1 -1
  261. package/dist/Sidebar.js +2 -2
  262. package/dist/SimpleCategoriesSection.cjs +1 -1
  263. package/dist/SimpleCategoriesSection.js +7 -7
  264. package/dist/SimpleProductsSection.cjs +1 -1
  265. package/dist/SimpleProductsSection.js +6 -6
  266. package/dist/{SoundCloud-Cfaj1Ze1.js → SoundCloud-CK7NvImk.js} +13 -13
  267. package/dist/{SoundCloud-BsL6Onq6.cjs → SoundCloud-DVmlWv2g.cjs} +1 -1
  268. package/dist/Spinner.cjs +1 -1
  269. package/dist/Spinner.js +2 -2
  270. package/dist/StatsSection.cjs +1 -1
  271. package/dist/StatsSection.js +3 -3
  272. package/dist/{Streamable-DFtyk9Dt.cjs → Streamable-BBV7DQsj.cjs} +1 -1
  273. package/dist/{Streamable-CG8_-_w7.js → Streamable-D5oxy9aa.js} +1 -1
  274. package/dist/Surface.cjs +1 -1
  275. package/dist/Surface.js +2 -2
  276. package/dist/SwipeableDrawer.cjs +1 -1
  277. package/dist/SwipeableDrawer.js +2 -2
  278. package/dist/TabItem.cjs +1 -1
  279. package/dist/TabItem.js +2 -2
  280. package/dist/Table.cjs +1 -1
  281. package/dist/Table.js +5 -5
  282. package/dist/TableView.cjs +1 -1
  283. package/dist/TableView.js +3 -3
  284. package/dist/Tabs.cjs +1 -1
  285. package/dist/Tabs.js +1 -1
  286. package/dist/TextAreaInput.cjs +1 -1
  287. package/dist/TextAreaInput.js +2 -2
  288. package/dist/TextInput.cjs +1 -1
  289. package/dist/TextInput.js +2 -2
  290. package/dist/ThemeProvider.cjs +1 -1
  291. package/dist/ThemeProvider.js +3 -3
  292. package/dist/TimeInput.cjs +1 -1
  293. package/dist/TimeInput.js +2 -2
  294. package/dist/Toggle.cjs +1 -1
  295. package/dist/Toggle.js +2 -2
  296. package/dist/ToggleSection.cjs +1 -1
  297. package/dist/ToggleSection.js +3 -3
  298. package/dist/TreeMenu.cjs +1 -1
  299. package/dist/TreeMenu.js +1 -1
  300. package/dist/TreeMenuSeparator.cjs +1 -1
  301. package/dist/TreeMenuSeparator.js +2 -2
  302. package/dist/{Twitch-BIUEEDiE.cjs → Twitch-CH7rLHNj.cjs} +1 -1
  303. package/dist/{Twitch-CbU_0Tx9.js → Twitch-DtrfG3Wo.js} +5 -5
  304. package/dist/UploadedFile.cjs +1 -1
  305. package/dist/UploadedFile.js +2 -2
  306. package/dist/UrgentSaleProductsSection.cjs +1 -1
  307. package/dist/UrgentSaleProductsSection.js +4 -4
  308. package/dist/{Vidyard-S6Fl_F78.js → Vidyard-C66crgMN.js} +1 -1
  309. package/dist/{Vidyard-QkjVIros.cjs → Vidyard-DGbMnWlF.cjs} +1 -1
  310. package/dist/{Vimeo-5bkeYCV4.js → Vimeo-BjGe7JPl.js} +1 -1
  311. package/dist/{Vimeo-B5jsifNT.cjs → Vimeo-DdFP5z1P.cjs} +1 -1
  312. package/dist/{Wistia-dpbMmx23.cjs → Wistia-CTuM5tqn.cjs} +1 -1
  313. package/dist/{Wistia-gOZBV0XZ.js → Wistia-Cnd0mYar.js} +3 -3
  314. package/dist/{YouTube-BfZRCB6O.cjs → YouTube-Chpmigf-.cjs} +1 -1
  315. package/dist/{YouTube-XoIB4ATQ.js → YouTube-D2wx0EoX.js} +3 -3
  316. package/dist/{breakpoints-ff0SIcV3.js → breakpoints-BubDitvo.js} +3 -3
  317. package/dist/emotion-is-prop-valid.esm-DqkrfvDp.js +10 -0
  318. package/dist/emotion-is-prop-valid.esm-eyvxYx3u.cjs +1 -0
  319. package/dist/{emotion-styled.browser.esm-BNN1dTl3.js → emotion-styled.browser.esm-DfbrHHed.js} +4 -4
  320. package/dist/{emotion-styled.browser.esm-BtEseadx.cjs → emotion-styled.browser.esm-DwHBgTPn.cjs} +1 -1
  321. package/dist/floating-ui.dom-Bvf9G8UM.cjs +1 -0
  322. package/dist/floating-ui.dom-C16Oktn3.js +959 -0
  323. package/dist/{floating-ui.react.esm-CfpRzwmn.js → floating-ui.react.esm-B-RMCmpu.js} +477 -460
  324. package/dist/floating-ui.react.esm-CsrI9PVk.cjs +4 -0
  325. package/dist/{index-vQOR22Py.cjs → index-3GKF_7BJ.cjs} +1 -1
  326. package/dist/{index-41nUb2kP.cjs → index-7Jsjuf-Q.cjs} +29 -29
  327. package/dist/{index-B1vKwsDE.js → index-B2yaYXE2.js} +651 -651
  328. package/dist/{index-DZFKpq77.cjs → index-BGNavrtB.cjs} +1 -1
  329. package/dist/{index-hC-E71GE.js → index-BHcrzV2G.js} +3 -3
  330. package/dist/{index-CsTfXxpp.cjs → index-Bj1KWOV4.cjs} +1 -1
  331. package/dist/{index-Cav6G7wx.cjs → index-BkztbBWe.cjs} +1 -1
  332. package/dist/{index-oYE1Pl7q.cjs → index-BsAddfgC.cjs} +1 -1
  333. package/dist/{index-C4HycAPS.js → index-CM6vzQBx.js} +4 -4
  334. package/dist/{index-C-uOIDDa.js → index-Cn4bq6ZX.js} +3 -3
  335. package/dist/{index-BWeXujWl.js → index-CuRcxKQH.js} +3 -3
  336. package/dist/{index-DA7SIHV1.cjs → index-CxWXiOMf.cjs} +1 -1
  337. package/dist/{index-B1-PjbTA.cjs → index-D4-_TrSn.cjs} +1 -1
  338. package/dist/{index-CBZ-jNah.cjs → index-D4OKsSqi.cjs} +1 -1
  339. package/dist/{index-4wvppFLx.js → index-DB1J-G6Z.js} +2 -2
  340. package/dist/{index-BvMY2TbK.js → index-DEypPQRI.js} +1 -1
  341. package/dist/{index-CX2A-q39.cjs → index-DMbNpyIV.cjs} +1 -1
  342. package/dist/{index-BdKi2ogu.js → index-DMmw5Ad5.js} +1 -1
  343. package/dist/{index-CoQ9APCD.js → index-DdfMcHz0.js} +2 -2
  344. package/dist/{index-B9c6y2J5.cjs → index-DgUNsgfF.cjs} +1 -1
  345. package/dist/{index-BzSWu-7v.js → index-Djo0ZcRE.js} +5 -5
  346. package/dist/{index-uCWKRzoS.cjs → index-DkPva6Gr.cjs} +1 -1
  347. package/dist/{index-BEUk0FDk.js → index-Dx2hfxCG.js} +4 -4
  348. package/dist/{index-B_ilx3wM.cjs → index-fzBXDy05.cjs} +1 -1
  349. package/dist/{index-DDShXLaW.js → index-gFZSZLba.js} +6 -6
  350. package/dist/{index-D9fI5BvI.js → index-jGcy-5M_.js} +3 -3
  351. package/dist/{index-L_Va5-wK.js → index-rhYVjszT.js} +5 -5
  352. package/dist/{index-Dc0EEBRW.cjs → index-tdg_Vmed.cjs} +1 -1
  353. package/dist/{index-6RFrSPs_.js → index-vz5mtWGo.js} +5 -5
  354. package/dist/index.cjs +1 -1
  355. package/dist/index.js +6 -6
  356. package/dist/{react-toastify.esm-BoMuFZcq.cjs → react-toastify.esm-C6GBR4r3.cjs} +1 -1
  357. package/dist/{react-toastify.esm-BLQznunb.js → react-toastify.esm-CUXbGoqt.js} +1 -1
  358. package/dist/{style-DC05rdyx.cjs → style-Boz6dk5s.cjs} +1 -1
  359. package/dist/{style-Bq3rMbnN.js → style-BzaX45du.js} +2 -2
  360. package/dist/{style-BUyFad_y.js → style-D54KOzZj.js} +3 -3
  361. package/dist/{style-AYc9hnFj.cjs → style-DIWAdlai.cjs} +1 -1
  362. package/dist/{style-BwQ4djFC.js → style-DvkivBNg.js} +1 -1
  363. package/dist/{style-BAcV7F53.cjs → style-Ito6YFqi.cjs} +1 -1
  364. package/dist/{styled-components.browser.esm-CvykQBGY.cjs → styled-components.browser.esm-BaNxtZgB.cjs} +1 -1
  365. package/dist/{styled-components.browser.esm-D-n22PJk.js → styled-components.browser.esm-Cfeh8eHg.js} +1 -1
  366. package/dist/{tag-Bi8gg6hJ.js → tag-CHNc7DhI.js} +2 -2
  367. package/dist/{tag-DSnhWWHE.cjs → tag-CWcvCQcz.cjs} +1 -1
  368. package/dist/{theme-Befg4g_L.js → theme-mUflS4q4.js} +1 -1
  369. package/dist/{useDetectMobile-CcVo3PNi.js → useDetectMobile-B0Jog4jQ.js} +1 -1
  370. package/dist/usePopover.cjs +1 -1
  371. package/dist/usePopover.js +6 -6
  372. package/dist/{utils-B2fsQ6PS.js → utils-MoGhNMmj.js} +3 -3
  373. package/package.json +1 -1
  374. package/dist/emotion-is-prop-valid.esm-BNsx9k19.cjs +0 -1
  375. package/dist/emotion-is-prop-valid.esm-CbWxtx4i.js +0 -10
  376. package/dist/floating-ui.dom-B931An3C.js +0 -954
  377. package/dist/floating-ui.dom-CN4MB7mG.cjs +0 -1
  378. package/dist/floating-ui.react.esm-CiYofNnh.cjs +0 -4
@@ -1,13 +1,13 @@
1
- import { jsxs as Ha, jsx as pa, Fragment as yi } from "react/jsx-runtime";
2
- import wi, { useMemo as G, useRef as oa, useReducer as ki, useEffect as ga, useCallback as y, forwardRef as ei, useImperativeHandle as ji, Fragment as Di, useState as Wa, cloneElement as zi } from "react";
3
- import { s as Ra } from "./emotion-styled.browser.esm-BNN1dTl3.js";
1
+ import { jsxs as Ha, jsx as oa, Fragment as ki } from "react/jsx-runtime";
2
+ import ji, { useMemo as J, useRef as Q, useReducer as Di, useEffect as la, useCallback as w, forwardRef as oi, useImperativeHandle as zi, Fragment as Ei, useState as Wa, cloneElement as Ai } from "react";
3
+ import { s as Ra } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
4
  import Na from "./Icon.js";
5
- import { P as d } from "./index-CblbdqjE.js";
6
- import { b as M } from "./tslib.es6-DQ-SzcmG.js";
7
- import Ei from "./Button.js";
8
- import { c as Ua, m as Ai } from "./utils-B2fsQ6PS.js";
9
- import { u as Fi } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
10
- const Oi = /* @__PURE__ */ new Map([
5
+ import { P as s } from "./index-CblbdqjE.js";
6
+ import { b as B } from "./tslib.es6-DQ-SzcmG.js";
7
+ import Fi from "./Button.js";
8
+ import { c as Ua, m as Oi } from "./utils-MoGhNMmj.js";
9
+ import { u as _i } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
10
+ const Pi = /* @__PURE__ */ new Map([
11
11
  // https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
12
12
  ["1km", "application/vnd.1000minds.decision-model+xml"],
13
13
  ["3dml", "text/vnd.in3d.3dml"],
@@ -1210,14 +1210,14 @@ const Oi = /* @__PURE__ */ new Map([
1210
1210
  ["zmm", "application/vnd.handheld-entertainment+xml"],
1211
1211
  ["zsh", "text/x-scriptzsh"]
1212
1212
  ]);
1213
- function V(a, i, t) {
1214
- const n = _i(a), { webkitRelativePath: e } = a, o = typeof i == "string" ? i : typeof e == "string" && e.length > 0 ? e : `./${a.name}`;
1215
- return typeof n.path != "string" && Ya(n, "path", o), Ya(n, "relativePath", o), n;
1213
+ function X(a, i, t) {
1214
+ const n = Ci(a), { webkitRelativePath: e } = a, c = typeof i == "string" ? i : typeof e == "string" && e.length > 0 ? e : `./${a.name}`;
1215
+ return typeof n.path != "string" && Ya(n, "path", c), Ya(n, "relativePath", c), n;
1216
1216
  }
1217
- function _i(a) {
1217
+ function Ci(a) {
1218
1218
  const { name: i } = a;
1219
1219
  if (i && i.lastIndexOf(".") !== -1 && !a.type) {
1220
- const n = i.split(".").pop().toLowerCase(), e = Oi.get(n);
1220
+ const n = i.split(".").pop().toLowerCase(), e = Pi.get(n);
1221
1221
  e && Object.defineProperty(a, "type", {
1222
1222
  value: e,
1223
1223
  writable: !1,
@@ -1235,49 +1235,49 @@ function Ya(a, i, t) {
1235
1235
  enumerable: !0
1236
1236
  });
1237
1237
  }
1238
- const Pi = [
1238
+ const Si = [
1239
1239
  // Thumbnail cache files for macOS and Windows
1240
1240
  ".DS_Store",
1241
1241
  // macOs
1242
1242
  "Thumbs.db"
1243
1243
  // Windows
1244
1244
  ];
1245
- function Ci(a) {
1246
- return M(this, void 0, void 0, function* () {
1247
- return ba(a) && Si(a.dataTransfer) ? Ri(a.dataTransfer, a.type) : Ti(a) ? qi(a) : Array.isArray(a) && a.every((i) => "getFile" in i && typeof i.getFile == "function") ? Ii(a) : [];
1245
+ function Ti(a) {
1246
+ return B(this, void 0, void 0, function* () {
1247
+ return ba(a) && qi(a.dataTransfer) ? $i(a.dataTransfer, a.type) : Ii(a) ? Ri(a) : Array.isArray(a) && a.every((i) => "getFile" in i && typeof i.getFile == "function") ? Li(a) : [];
1248
1248
  });
1249
1249
  }
1250
- function Si(a) {
1250
+ function qi(a) {
1251
1251
  return ba(a);
1252
1252
  }
1253
- function Ti(a) {
1253
+ function Ii(a) {
1254
1254
  return ba(a) && ba(a.target);
1255
1255
  }
1256
1256
  function ba(a) {
1257
1257
  return typeof a == "object" && a !== null;
1258
1258
  }
1259
- function qi(a) {
1260
- return Ca(a.target.files).map((i) => V(i));
1259
+ function Ri(a) {
1260
+ return Ca(a.target.files).map((i) => X(i));
1261
1261
  }
1262
- function Ii(a) {
1263
- return M(this, void 0, void 0, function* () {
1264
- return (yield Promise.all(a.map((t) => t.getFile()))).map((t) => V(t));
1262
+ function Li(a) {
1263
+ return B(this, void 0, void 0, function* () {
1264
+ return (yield Promise.all(a.map((t) => t.getFile()))).map((t) => X(t));
1265
1265
  });
1266
1266
  }
1267
- function Ri(a, i) {
1268
- return M(this, void 0, void 0, function* () {
1267
+ function $i(a, i) {
1268
+ return B(this, void 0, void 0, function* () {
1269
1269
  if (a.items) {
1270
1270
  const t = Ca(a.items).filter((e) => e.kind === "file");
1271
1271
  if (i !== "drop")
1272
1272
  return t;
1273
- const n = yield Promise.all(t.map(Li));
1274
- return Ga(pi(n));
1273
+ const n = yield Promise.all(t.map(Mi));
1274
+ return Va(ci(n));
1275
1275
  }
1276
- return Ga(Ca(a.files).map((t) => V(t)));
1276
+ return Va(Ca(a.files).map((t) => X(t)));
1277
1277
  });
1278
1278
  }
1279
- function Ga(a) {
1280
- return a.filter((i) => Pi.indexOf(i.name) === -1);
1279
+ function Va(a) {
1280
+ return a.filter((i) => Si.indexOf(i.name) === -1);
1281
1281
  }
1282
1282
  function Ca(a) {
1283
1283
  if (a === null)
@@ -1289,50 +1289,50 @@ function Ca(a) {
1289
1289
  }
1290
1290
  return i;
1291
1291
  }
1292
- function Li(a) {
1292
+ function Mi(a) {
1293
1293
  if (typeof a.webkitGetAsEntry != "function")
1294
- return Va(a);
1294
+ return Ja(a);
1295
1295
  const i = a.webkitGetAsEntry();
1296
- return i && i.isDirectory ? oi(i) : Va(a, i);
1296
+ return i && i.isDirectory ? li(i) : Ja(a, i);
1297
1297
  }
1298
- function pi(a) {
1298
+ function ci(a) {
1299
1299
  return a.reduce((i, t) => [
1300
1300
  ...i,
1301
- ...Array.isArray(t) ? pi(t) : [t]
1301
+ ...Array.isArray(t) ? ci(t) : [t]
1302
1302
  ], []);
1303
1303
  }
1304
- function Va(a, i) {
1305
- return M(this, void 0, void 0, function* () {
1304
+ function Ja(a, i) {
1305
+ return B(this, void 0, void 0, function* () {
1306
1306
  var t;
1307
1307
  if (globalThis.isSecureContext && typeof a.getAsFileSystemHandle == "function") {
1308
- const o = yield a.getAsFileSystemHandle();
1309
- if (o === null)
1308
+ const c = yield a.getAsFileSystemHandle();
1309
+ if (c === null)
1310
1310
  throw new Error(`${a} is not a File`);
1311
- if (o !== void 0) {
1312
- const l = yield o.getFile();
1313
- return l.handle = o, V(l);
1311
+ if (c !== void 0) {
1312
+ const l = yield c.getFile();
1313
+ return l.handle = c, X(l);
1314
1314
  }
1315
1315
  }
1316
1316
  const n = a.getAsFile();
1317
1317
  if (!n)
1318
1318
  throw new Error(`${a} is not a File`);
1319
- return V(n, (t = i == null ? void 0 : i.fullPath) !== null && t !== void 0 ? t : void 0);
1319
+ return X(n, (t = i == null ? void 0 : i.fullPath) !== null && t !== void 0 ? t : void 0);
1320
1320
  });
1321
1321
  }
1322
- function $i(a) {
1323
- return M(this, void 0, void 0, function* () {
1324
- return a.isDirectory ? oi(a) : Mi(a);
1322
+ function Ki(a) {
1323
+ return B(this, void 0, void 0, function* () {
1324
+ return a.isDirectory ? li(a) : Gi(a);
1325
1325
  });
1326
1326
  }
1327
- function oi(a) {
1327
+ function li(a) {
1328
1328
  const i = a.createReader();
1329
1329
  return new Promise((t, n) => {
1330
1330
  const e = [];
1331
- function o() {
1332
- i.readEntries((l) => M(this, void 0, void 0, function* () {
1331
+ function c() {
1332
+ i.readEntries((l) => B(this, void 0, void 0, function* () {
1333
1333
  if (l.length) {
1334
- const r = Promise.all(l.map($i));
1335
- e.push(r), o();
1334
+ const r = Promise.all(l.map(Ki));
1335
+ e.push(r), c();
1336
1336
  } else
1337
1337
  try {
1338
1338
  const r = yield Promise.all(e);
@@ -1344,14 +1344,14 @@ function oi(a) {
1344
1344
  n(l);
1345
1345
  });
1346
1346
  }
1347
- o();
1347
+ c();
1348
1348
  });
1349
1349
  }
1350
- function Mi(a) {
1351
- return M(this, void 0, void 0, function* () {
1350
+ function Gi(a) {
1351
+ return B(this, void 0, void 0, function* () {
1352
1352
  return new Promise((i, t) => {
1353
1353
  a.file((n) => {
1354
- const e = V(n, a.fullPath);
1354
+ const e = X(n, a.fullPath);
1355
1355
  i(e);
1356
1356
  }, (n) => {
1357
1357
  t(n);
@@ -1364,28 +1364,28 @@ var _a = function(a, i) {
1364
1364
  var t = Array.isArray(i) ? i : i.split(",");
1365
1365
  if (t.length === 0)
1366
1366
  return !0;
1367
- var n = a.name || "", e = (a.type || "").toLowerCase(), o = e.replace(/\/.*$/, "");
1367
+ var n = a.name || "", e = (a.type || "").toLowerCase(), c = e.replace(/\/.*$/, "");
1368
1368
  return t.some(function(l) {
1369
1369
  var r = l.trim().toLowerCase();
1370
- return r.charAt(0) === "." ? n.toLowerCase().endsWith(r) : r.endsWith("/*") ? o === r.replace(/\/.*$/, "") : e === r;
1370
+ return r.charAt(0) === "." ? n.toLowerCase().endsWith(r) : r.endsWith("/*") ? c === r.replace(/\/.*$/, "") : e === r;
1371
1371
  });
1372
1372
  }
1373
1373
  return !0;
1374
1374
  };
1375
- function Ja(a) {
1376
- return Hi(a) || Bi(a) || li(a) || Ki();
1375
+ function Qa(a) {
1376
+ return Wi(a) || Hi(a) || si(a) || Bi();
1377
1377
  }
1378
- function Ki() {
1378
+ function Bi() {
1379
1379
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
1380
1380
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1381
1381
  }
1382
- function Bi(a) {
1382
+ function Hi(a) {
1383
1383
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
1384
1384
  }
1385
- function Hi(a) {
1385
+ function Wi(a) {
1386
1386
  if (Array.isArray(a)) return Sa(a);
1387
1387
  }
1388
- function Qa(a, i) {
1388
+ function Xa(a, i) {
1389
1389
  var t = Object.keys(a);
1390
1390
  if (Object.getOwnPropertySymbols) {
1391
1391
  var n = Object.getOwnPropertySymbols(a);
@@ -1395,28 +1395,28 @@ function Qa(a, i) {
1395
1395
  }
1396
1396
  return t;
1397
1397
  }
1398
- function Xa(a) {
1398
+ function Za(a) {
1399
1399
  for (var i = 1; i < arguments.length; i++) {
1400
1400
  var t = arguments[i] != null ? arguments[i] : {};
1401
- i % 2 ? Qa(Object(t), !0).forEach(function(n) {
1402
- ci(a, n, t[n]);
1403
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Qa(Object(t)).forEach(function(n) {
1401
+ i % 2 ? Xa(Object(t), !0).forEach(function(n) {
1402
+ ri(a, n, t[n]);
1403
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Xa(Object(t)).forEach(function(n) {
1404
1404
  Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(t, n));
1405
1405
  });
1406
1406
  }
1407
1407
  return a;
1408
1408
  }
1409
- function ci(a, i, t) {
1409
+ function ri(a, i, t) {
1410
1410
  return i in a ? Object.defineProperty(a, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[i] = t, a;
1411
1411
  }
1412
- function ca(a, i) {
1413
- return Ui(a) || Ni(a, i) || li(a, i) || Wi();
1412
+ function ra(a, i) {
1413
+ return Yi(a) || Ui(a, i) || si(a, i) || Ni();
1414
1414
  }
1415
- function Wi() {
1415
+ function Ni() {
1416
1416
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1417
1417
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1418
1418
  }
1419
- function li(a, i) {
1419
+ function si(a, i) {
1420
1420
  if (a) {
1421
1421
  if (typeof a == "string") return Sa(a, i);
1422
1422
  var t = Object.prototype.toString.call(a).slice(8, -1);
@@ -1430,116 +1430,119 @@ function Sa(a, i) {
1430
1430
  n[t] = a[t];
1431
1431
  return n;
1432
1432
  }
1433
- function Ni(a, i) {
1433
+ function Ui(a, i) {
1434
1434
  var t = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
1435
1435
  if (t != null) {
1436
- var n = [], e = !0, o = !1, l, r;
1436
+ var n = [], e = !0, c = !1, l, r;
1437
1437
  try {
1438
1438
  for (t = t.call(a); !(e = (l = t.next()).done) && (n.push(l.value), !(i && n.length === i)); e = !0)
1439
1439
  ;
1440
- } catch (b) {
1441
- o = !0, r = b;
1440
+ } catch (y) {
1441
+ c = !0, r = y;
1442
1442
  } finally {
1443
1443
  try {
1444
1444
  !e && t.return != null && t.return();
1445
1445
  } finally {
1446
- if (o) throw r;
1446
+ if (c) throw r;
1447
1447
  }
1448
1448
  }
1449
1449
  return n;
1450
1450
  }
1451
1451
  }
1452
- function Ui(a) {
1452
+ function Yi(a) {
1453
1453
  if (Array.isArray(a)) return a;
1454
1454
  }
1455
- var Yi = typeof _a == "function" ? _a : _a.default, Gi = "file-invalid-type", Vi = "file-too-large", Ji = "file-too-small", Qi = "too-many-files", Xi = function() {
1455
+ var Vi = typeof _a == "function" ? _a : _a.default, Ji = "file-invalid-type", Qi = "file-too-large", Xi = "file-too-small", Zi = "too-many-files", at = function() {
1456
1456
  var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = i.split(","), n = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
1457
1457
  return {
1458
- code: Gi,
1458
+ code: Ji,
1459
1459
  message: "File type must be ".concat(n)
1460
1460
  };
1461
- }, Za = function(i) {
1461
+ }, ai = function(i) {
1462
1462
  return {
1463
- code: Vi,
1463
+ code: Qi,
1464
1464
  message: "File is larger than ".concat(i, " ").concat(i === 1 ? "byte" : "bytes")
1465
1465
  };
1466
- }, ai = function(i) {
1466
+ }, ii = function(i) {
1467
1467
  return {
1468
- code: Ji,
1468
+ code: Xi,
1469
1469
  message: "File is smaller than ".concat(i, " ").concat(i === 1 ? "byte" : "bytes")
1470
1470
  };
1471
- }, Zi = {
1472
- code: Qi,
1471
+ }, it = {
1472
+ code: Zi,
1473
1473
  message: "Too many files"
1474
1474
  };
1475
- function ri(a, i) {
1476
- var t = a.type === "application/x-moz-file" || Yi(a, i);
1477
- return [t, t ? null : Xi(i)];
1478
- }
1479
- function si(a, i, t) {
1480
- if ($(a.size))
1481
- if ($(i) && $(t)) {
1482
- if (a.size > t) return [!1, Za(t)];
1483
- if (a.size < i) return [!1, ai(i)];
1475
+ function tt(a) {
1476
+ return a.type === "" && typeof a.getAsFile == "function";
1477
+ }
1478
+ function di(a, i) {
1479
+ var t = a.type === "application/x-moz-file" || Vi(a, i) || tt(a);
1480
+ return [t, t ? null : at(i)];
1481
+ }
1482
+ function mi(a, i, t) {
1483
+ if (G(a.size))
1484
+ if (G(i) && G(t)) {
1485
+ if (a.size > t) return [!1, ai(t)];
1486
+ if (a.size < i) return [!1, ii(i)];
1484
1487
  } else {
1485
- if ($(i) && a.size < i) return [!1, ai(i)];
1486
- if ($(t) && a.size > t) return [!1, Za(t)];
1488
+ if (G(i) && a.size < i) return [!1, ii(i)];
1489
+ if (G(t) && a.size > t) return [!1, ai(t)];
1487
1490
  }
1488
1491
  return [!0, null];
1489
1492
  }
1490
- function $(a) {
1493
+ function G(a) {
1491
1494
  return a != null;
1492
1495
  }
1493
- function at(a) {
1494
- var i = a.files, t = a.accept, n = a.minSize, e = a.maxSize, o = a.multiple, l = a.maxFiles, r = a.validator;
1495
- return !o && i.length > 1 || o && l >= 1 && i.length > l ? !1 : i.every(function(b) {
1496
- var D = ri(b, t), _ = ca(D, 1), A = _[0], P = si(b, n, e), C = ca(P, 1), z = C[0], F = r ? r(b) : null;
1497
- return A && z && !F;
1496
+ function nt(a) {
1497
+ var i = a.files, t = a.accept, n = a.minSize, e = a.maxSize, c = a.multiple, l = a.maxFiles, r = a.validator;
1498
+ return !c && i.length > 1 || c && l >= 1 && i.length > l ? !1 : i.every(function(y) {
1499
+ var D = di(y, t), S = ra(D, 1), O = S[0], T = mi(y, n, e), q = ra(T, 1), z = q[0], P = r ? r(y) : null;
1500
+ return O && z && !P;
1498
1501
  });
1499
1502
  }
1500
1503
  function ha(a) {
1501
1504
  return typeof a.isPropagationStopped == "function" ? a.isPropagationStopped() : typeof a.cancelBubble < "u" ? a.cancelBubble : !1;
1502
1505
  }
1503
- function xa(a) {
1506
+ function ca(a) {
1504
1507
  return a.dataTransfer ? Array.prototype.some.call(a.dataTransfer.types, function(i) {
1505
1508
  return i === "Files" || i === "application/x-moz-file";
1506
1509
  }) : !!a.target && !!a.target.files;
1507
1510
  }
1508
- function ii(a) {
1511
+ function ti(a) {
1509
1512
  a.preventDefault();
1510
1513
  }
1511
- function it(a) {
1514
+ function et(a) {
1512
1515
  return a.indexOf("MSIE") !== -1 || a.indexOf("Trident/") !== -1;
1513
1516
  }
1514
- function tt(a) {
1517
+ function pt(a) {
1515
1518
  return a.indexOf("Edge/") !== -1;
1516
1519
  }
1517
- function nt() {
1520
+ function ot() {
1518
1521
  var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
1519
- return it(a) || tt(a);
1522
+ return et(a) || pt(a);
1520
1523
  }
1521
- function E() {
1524
+ function F() {
1522
1525
  for (var a = arguments.length, i = new Array(a), t = 0; t < a; t++)
1523
1526
  i[t] = arguments[t];
1524
1527
  return function(n) {
1525
- for (var e = arguments.length, o = new Array(e > 1 ? e - 1 : 0), l = 1; l < e; l++)
1526
- o[l - 1] = arguments[l];
1528
+ for (var e = arguments.length, c = new Array(e > 1 ? e - 1 : 0), l = 1; l < e; l++)
1529
+ c[l - 1] = arguments[l];
1527
1530
  return i.some(function(r) {
1528
- return !ha(n) && r && r.apply(void 0, [n].concat(o)), ha(n);
1531
+ return !ha(n) && r && r.apply(void 0, [n].concat(c)), ha(n);
1529
1532
  });
1530
1533
  };
1531
1534
  }
1532
- function et() {
1535
+ function ct() {
1533
1536
  return "showOpenFilePicker" in window;
1534
1537
  }
1535
- function pt(a) {
1536
- if ($(a)) {
1538
+ function lt(a) {
1539
+ if (G(a)) {
1537
1540
  var i = Object.entries(a).filter(function(t) {
1538
- var n = ca(t, 2), e = n[0], o = n[1], l = !0;
1539
- return di(e) || (console.warn('Skipped "'.concat(e, '" 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.')), l = !1), (!Array.isArray(o) || !o.every(mi)) && (console.warn('Skipped "'.concat(e, '" because an invalid file extension was provided.')), l = !1), l;
1541
+ var n = ra(t, 2), e = n[0], c = n[1], l = !0;
1542
+ return ui(e) || (console.warn('Skipped "'.concat(e, '" 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.')), l = !1), (!Array.isArray(c) || !c.every(vi)) && (console.warn('Skipped "'.concat(e, '" because an invalid file extension was provided.')), l = !1), l;
1540
1543
  }).reduce(function(t, n) {
1541
- var e = ca(n, 2), o = e[0], l = e[1];
1542
- return Xa(Xa({}, t), {}, ci({}, o, l));
1544
+ var e = ra(n, 2), c = e[0], l = e[1];
1545
+ return Za(Za({}, t), {}, ri({}, c, l));
1543
1546
  }, {});
1544
1547
  return [{
1545
1548
  // description is required due to https://crbug.com/1264708
@@ -1549,49 +1552,49 @@ function pt(a) {
1549
1552
  }
1550
1553
  return a;
1551
1554
  }
1552
- function ot(a) {
1553
- if ($(a))
1555
+ function rt(a) {
1556
+ if (G(a))
1554
1557
  return Object.entries(a).reduce(function(i, t) {
1555
- var n = ca(t, 2), e = n[0], o = n[1];
1556
- return [].concat(Ja(i), [e], Ja(o));
1558
+ var n = ra(t, 2), e = n[0], c = n[1];
1559
+ return [].concat(Qa(i), [e], Qa(c));
1557
1560
  }, []).filter(function(i) {
1558
- return di(i) || mi(i);
1561
+ return ui(i) || vi(i);
1559
1562
  }).join(",");
1560
1563
  }
1561
- function ct(a) {
1564
+ function st(a) {
1562
1565
  return a instanceof DOMException && (a.name === "AbortError" || a.code === a.ABORT_ERR);
1563
1566
  }
1564
- function lt(a) {
1567
+ function dt(a) {
1565
1568
  return a instanceof DOMException && (a.name === "SecurityError" || a.code === a.SECURITY_ERR);
1566
1569
  }
1567
- function di(a) {
1570
+ function ui(a) {
1568
1571
  return a === "audio/*" || a === "video/*" || a === "image/*" || a === "text/*" || a === "application/*" || /\w+\/[-+.\w]+/g.test(a);
1569
1572
  }
1570
- function mi(a) {
1573
+ function vi(a) {
1571
1574
  return /^.*\.[\w]+$/.test(a);
1572
1575
  }
1573
- var rt = ["children"], st = ["open"], dt = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], mt = ["refKey", "onChange", "onClick"];
1574
- function ut(a) {
1575
- return xt(a) || ft(a) || ui(a) || vt();
1576
+ var mt = ["children"], ut = ["open"], vt = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ft = ["refKey", "onChange", "onClick"];
1577
+ function ni(a) {
1578
+ return bt(a) || gt(a) || fi(a) || xt();
1576
1579
  }
1577
- function vt() {
1580
+ function xt() {
1578
1581
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
1579
1582
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1580
1583
  }
1581
- function ft(a) {
1584
+ function gt(a) {
1582
1585
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
1583
1586
  }
1584
- function xt(a) {
1587
+ function bt(a) {
1585
1588
  if (Array.isArray(a)) return Ta(a);
1586
1589
  }
1587
1590
  function Pa(a, i) {
1588
- return ht(a) || bt(a, i) || ui(a, i) || gt();
1591
+ return wt(a) || yt(a, i) || fi(a, i) || ht();
1589
1592
  }
1590
- function gt() {
1593
+ function ht() {
1591
1594
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1592
1595
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1593
1596
  }
1594
- function ui(a, i) {
1597
+ function fi(a, i) {
1595
1598
  if (a) {
1596
1599
  if (typeof a == "string") return Ta(a, i);
1597
1600
  var t = Object.prototype.toString.call(a).slice(8, -1);
@@ -1605,29 +1608,29 @@ function Ta(a, i) {
1605
1608
  n[t] = a[t];
1606
1609
  return n;
1607
1610
  }
1608
- function bt(a, i) {
1611
+ function yt(a, i) {
1609
1612
  var t = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
1610
1613
  if (t != null) {
1611
- var n = [], e = !0, o = !1, l, r;
1614
+ var n = [], e = !0, c = !1, l, r;
1612
1615
  try {
1613
1616
  for (t = t.call(a); !(e = (l = t.next()).done) && (n.push(l.value), !(i && n.length === i)); e = !0)
1614
1617
  ;
1615
- } catch (b) {
1616
- o = !0, r = b;
1618
+ } catch (y) {
1619
+ c = !0, r = y;
1617
1620
  } finally {
1618
1621
  try {
1619
1622
  !e && t.return != null && t.return();
1620
1623
  } finally {
1621
- if (o) throw r;
1624
+ if (c) throw r;
1622
1625
  }
1623
1626
  }
1624
1627
  return n;
1625
1628
  }
1626
1629
  }
1627
- function ht(a) {
1630
+ function wt(a) {
1628
1631
  if (Array.isArray(a)) return a;
1629
1632
  }
1630
- function ti(a, i) {
1633
+ function ei(a, i) {
1631
1634
  var t = Object.keys(a);
1632
1635
  if (Object.getOwnPropertySymbols) {
1633
1636
  var n = Object.getOwnPropertySymbols(a);
@@ -1640,9 +1643,9 @@ function ti(a, i) {
1640
1643
  function m(a) {
1641
1644
  for (var i = 1; i < arguments.length; i++) {
1642
1645
  var t = arguments[i] != null ? arguments[i] : {};
1643
- i % 2 ? ti(Object(t), !0).forEach(function(n) {
1646
+ i % 2 ? ei(Object(t), !0).forEach(function(n) {
1644
1647
  qa(a, n, t[n]);
1645
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : ti(Object(t)).forEach(function(n) {
1648
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : ei(Object(t)).forEach(function(n) {
1646
1649
  Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(t, n));
1647
1650
  });
1648
1651
  }
@@ -1653,35 +1656,35 @@ function qa(a, i, t) {
1653
1656
  }
1654
1657
  function ya(a, i) {
1655
1658
  if (a == null) return {};
1656
- var t = yt(a, i), n, e;
1659
+ var t = kt(a, i), n, e;
1657
1660
  if (Object.getOwnPropertySymbols) {
1658
- var o = Object.getOwnPropertySymbols(a);
1659
- for (e = 0; e < o.length; e++)
1660
- n = o[e], !(i.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(a, n) && (t[n] = a[n]);
1661
+ var c = Object.getOwnPropertySymbols(a);
1662
+ for (e = 0; e < c.length; e++)
1663
+ n = c[e], !(i.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(a, n) && (t[n] = a[n]);
1661
1664
  }
1662
1665
  return t;
1663
1666
  }
1664
- function yt(a, i) {
1667
+ function kt(a, i) {
1665
1668
  if (a == null) return {};
1666
- var t = {}, n = Object.keys(a), e, o;
1667
- for (o = 0; o < n.length; o++)
1668
- e = n[o], !(i.indexOf(e) >= 0) && (t[e] = a[e]);
1669
+ var t = {}, n = Object.keys(a), e, c;
1670
+ for (c = 0; c < n.length; c++)
1671
+ e = n[c], !(i.indexOf(e) >= 0) && (t[e] = a[e]);
1669
1672
  return t;
1670
1673
  }
1671
- var La = /* @__PURE__ */ ei(function(a, i) {
1672
- var t = a.children, n = ya(a, rt), e = fi(n), o = e.open, l = ya(e, st);
1673
- return ji(i, function() {
1674
+ var La = /* @__PURE__ */ oi(function(a, i) {
1675
+ var t = a.children, n = ya(a, mt), e = gi(n), c = e.open, l = ya(e, ut);
1676
+ return zi(i, function() {
1674
1677
  return {
1675
- open: o
1678
+ open: c
1676
1679
  };
1677
- }, [o]), /* @__PURE__ */ wi.createElement(Di, null, t(m(m({}, l), {}, {
1678
- open: o
1680
+ }, [c]), /* @__PURE__ */ ji.createElement(Ei, null, t(m(m({}, l), {}, {
1681
+ open: c
1679
1682
  })));
1680
1683
  });
1681
1684
  La.displayName = "Dropzone";
1682
- var vi = {
1685
+ var xi = {
1683
1686
  disabled: !1,
1684
- getFilesFromEvent: Ci,
1687
+ getFilesFromEvent: Ti,
1685
1688
  maxSize: 1 / 0,
1686
1689
  minSize: 0,
1687
1690
  multiple: !0,
@@ -1695,7 +1698,7 @@ var vi = {
1695
1698
  useFsAccessApi: !1,
1696
1699
  autoFocus: !1
1697
1700
  };
1698
- La.defaultProps = vi;
1701
+ La.defaultProps = xi;
1699
1702
  La.propTypes = {
1700
1703
  /**
1701
1704
  * Render function that exposes the dropzone state and prop getter fns
@@ -1709,10 +1712,11 @@ La.propTypes = {
1709
1712
  * @param {boolean} params.isDragActive Active drag is in progress
1710
1713
  * @param {boolean} params.isDragAccept Dragged files are accepted
1711
1714
  * @param {boolean} params.isDragReject Some dragged files are rejected
1715
+ * @param {boolean} params.isDragGlobal Files are being dragged anywhere on the document
1712
1716
  * @param {File[]} params.acceptedFiles Accepted files
1713
1717
  * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
1714
1718
  */
1715
- children: d.func,
1719
+ children: s.func,
1716
1720
  /**
1717
1721
  * Set accepted file types.
1718
1722
  * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
@@ -1720,90 +1724,90 @@ La.propTypes = {
1720
1724
  * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
1721
1725
  * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
1722
1726
  */
1723
- accept: d.objectOf(d.arrayOf(d.string)),
1727
+ accept: s.objectOf(s.arrayOf(s.string)),
1724
1728
  /**
1725
1729
  * Allow drag 'n' drop (or selection from the file dialog) of multiple files
1726
1730
  */
1727
- multiple: d.bool,
1731
+ multiple: s.bool,
1728
1732
  /**
1729
1733
  * If false, allow dropped items to take over the current browser window
1730
1734
  */
1731
- preventDropOnDocument: d.bool,
1735
+ preventDropOnDocument: s.bool,
1732
1736
  /**
1733
1737
  * If true, disables click to open the native file selection dialog
1734
1738
  */
1735
- noClick: d.bool,
1739
+ noClick: s.bool,
1736
1740
  /**
1737
1741
  * If true, disables SPACE/ENTER to open the native file selection dialog.
1738
1742
  * Note that it also stops tracking the focus state.
1739
1743
  */
1740
- noKeyboard: d.bool,
1744
+ noKeyboard: s.bool,
1741
1745
  /**
1742
1746
  * If true, disables drag 'n' drop
1743
1747
  */
1744
- noDrag: d.bool,
1748
+ noDrag: s.bool,
1745
1749
  /**
1746
1750
  * If true, stops drag event propagation to parents
1747
1751
  */
1748
- noDragEventsBubbling: d.bool,
1752
+ noDragEventsBubbling: s.bool,
1749
1753
  /**
1750
1754
  * Minimum file size (in bytes)
1751
1755
  */
1752
- minSize: d.number,
1756
+ minSize: s.number,
1753
1757
  /**
1754
1758
  * Maximum file size (in bytes)
1755
1759
  */
1756
- maxSize: d.number,
1760
+ maxSize: s.number,
1757
1761
  /**
1758
1762
  * Maximum accepted number of files
1759
1763
  * The default value is 0 which means there is no limitation to how many files are accepted.
1760
1764
  */
1761
- maxFiles: d.number,
1765
+ maxFiles: s.number,
1762
1766
  /**
1763
1767
  * Enable/disable the dropzone
1764
1768
  */
1765
- disabled: d.bool,
1769
+ disabled: s.bool,
1766
1770
  /**
1767
1771
  * Use this to provide a custom file aggregator
1768
1772
  *
1769
1773
  * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
1770
1774
  */
1771
- getFilesFromEvent: d.func,
1775
+ getFilesFromEvent: s.func,
1772
1776
  /**
1773
1777
  * Cb for when closing the file dialog with no selection
1774
1778
  */
1775
- onFileDialogCancel: d.func,
1779
+ onFileDialogCancel: s.func,
1776
1780
  /**
1777
1781
  * Cb for when opening the file dialog
1778
1782
  */
1779
- onFileDialogOpen: d.func,
1783
+ onFileDialogOpen: s.func,
1780
1784
  /**
1781
1785
  * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
1782
1786
  * to open the file picker instead of using an `<input type="file">` click event.
1783
1787
  */
1784
- useFsAccessApi: d.bool,
1788
+ useFsAccessApi: s.bool,
1785
1789
  /**
1786
1790
  * Set to true to focus the root element on render
1787
1791
  */
1788
- autoFocus: d.bool,
1792
+ autoFocus: s.bool,
1789
1793
  /**
1790
1794
  * Cb for when the `dragenter` event occurs.
1791
1795
  *
1792
1796
  * @param {DragEvent} event
1793
1797
  */
1794
- onDragEnter: d.func,
1798
+ onDragEnter: s.func,
1795
1799
  /**
1796
1800
  * Cb for when the `dragleave` event occurs
1797
1801
  *
1798
1802
  * @param {DragEvent} event
1799
1803
  */
1800
- onDragLeave: d.func,
1804
+ onDragLeave: s.func,
1801
1805
  /**
1802
1806
  * Cb for when the `dragover` event occurs
1803
1807
  *
1804
1808
  * @param {DragEvent} event
1805
1809
  */
1806
- onDragOver: d.func,
1810
+ onDragOver: s.func,
1807
1811
  /**
1808
1812
  * Cb for when the `drop` event occurs.
1809
1813
  * Note that this callback is invoked after the `getFilesFromEvent` callback is done.
@@ -1834,7 +1838,7 @@ La.propTypes = {
1834
1838
  * @param {FileRejection[]} fileRejections
1835
1839
  * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
1836
1840
  */
1837
- onDrop: d.func,
1841
+ onDrop: s.func,
1838
1842
  /**
1839
1843
  * Cb for when the `drop` event occurs.
1840
1844
  * Note that if no files are accepted, this callback is not invoked.
@@ -1842,7 +1846,7 @@ La.propTypes = {
1842
1846
  * @param {File[]} files
1843
1847
  * @param {(DragEvent|Event)} event
1844
1848
  */
1845
- onDropAccepted: d.func,
1849
+ onDropAccepted: s.func,
1846
1850
  /**
1847
1851
  * Cb for when the `drop` event occurs.
1848
1852
  * Note that if no files are rejected, this callback is not invoked.
@@ -1850,19 +1854,19 @@ La.propTypes = {
1850
1854
  * @param {FileRejection[]} fileRejections
1851
1855
  * @param {(DragEvent|Event)} event
1852
1856
  */
1853
- onDropRejected: d.func,
1857
+ onDropRejected: s.func,
1854
1858
  /**
1855
1859
  * Cb for when there's some error from any of the promises.
1856
1860
  *
1857
1861
  * @param {Error} error
1858
1862
  */
1859
- onError: d.func,
1863
+ onError: s.func,
1860
1864
  /**
1861
1865
  * Custom validation function. It must return null if there's no errors.
1862
1866
  * @param {File} file
1863
1867
  * @returns {FileError|FileError[]|null}
1864
1868
  */
1865
- validator: d.func
1869
+ validator: s.func
1866
1870
  };
1867
1871
  var Ia = {
1868
1872
  isFocused: !1,
@@ -1870,190 +1874,218 @@ var Ia = {
1870
1874
  isDragActive: !1,
1871
1875
  isDragAccept: !1,
1872
1876
  isDragReject: !1,
1877
+ isDragGlobal: !1,
1873
1878
  acceptedFiles: [],
1874
1879
  fileRejections: []
1875
1880
  };
1876
- function fi() {
1877
- var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = m(m({}, vi), a), t = i.accept, n = i.disabled, e = i.getFilesFromEvent, o = i.maxSize, l = i.minSize, r = i.multiple, b = i.maxFiles, D = i.onDragEnter, _ = i.onDragLeave, A = i.onDragOver, P = i.onDrop, C = i.onDropAccepted, z = i.onDropRejected, F = i.onFileDialogCancel, K = i.onFileDialogOpen, J = i.useFsAccessApi, Q = i.autoFocus, B = i.preventDropOnDocument, S = i.noClick, X = i.noKeyboard, Z = i.noDrag, k = i.noDragEventsBubbling, T = i.onError, q = i.validator, I = G(function() {
1878
- return ot(t);
1879
- }, [t]), la = G(function() {
1880
- return pt(t);
1881
- }, [t]), H = G(function() {
1882
- return typeof K == "function" ? K : ni;
1883
- }, [K]), R = G(function() {
1884
- return typeof F == "function" ? F : ni;
1885
- }, [F]), u = oa(null), g = oa(null), ra = ki(wt, Ia), aa = Pa(ra, 2), ia = aa[0], h = aa[1], wa = ia.isFocused, ta = ia.isFileDialogActive, W = oa(typeof window < "u" && window.isSecureContext && J && et()), sa = function() {
1886
- !W.current && ta && setTimeout(function() {
1887
- if (g.current) {
1888
- var c = g.current.files;
1889
- c.length || (h({
1881
+ function gi() {
1882
+ var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = m(m({}, xi), a), t = i.accept, n = i.disabled, e = i.getFilesFromEvent, c = i.maxSize, l = i.minSize, r = i.multiple, y = i.maxFiles, D = i.onDragEnter, S = i.onDragLeave, O = i.onDragOver, T = i.onDrop, q = i.onDropAccepted, z = i.onDropRejected, P = i.onFileDialogCancel, H = i.onFileDialogOpen, Z = i.useFsAccessApi, aa = i.autoFocus, W = i.preventDropOnDocument, I = i.noClick, ia = i.noKeyboard, ta = i.noDrag, k = i.noDragEventsBubbling, R = i.onError, L = i.validator, $ = J(function() {
1883
+ return rt(t);
1884
+ }, [t]), sa = J(function() {
1885
+ return lt(t);
1886
+ }, [t]), N = J(function() {
1887
+ return typeof H == "function" ? H : pi;
1888
+ }, [H]), M = J(function() {
1889
+ return typeof P == "function" ? P : pi;
1890
+ }, [P]), f = Q(null), b = Q(null), da = Di(jt, Ia), na = Pa(da, 2), ea = na[0], g = na[1], wa = ea.isFocused, pa = ea.isFileDialogActive, U = Q(typeof window < "u" && window.isSecureContext && Z && ct()), ma = function() {
1891
+ !U.current && pa && setTimeout(function() {
1892
+ if (b.current) {
1893
+ var o = b.current.files;
1894
+ o.length || (g({
1890
1895
  type: "closeDialog"
1891
- }), R());
1896
+ }), M());
1892
1897
  }
1893
1898
  }, 300);
1894
1899
  };
1895
- ga(function() {
1896
- return window.addEventListener("focus", sa, !1), function() {
1897
- window.removeEventListener("focus", sa, !1);
1900
+ la(function() {
1901
+ return window.addEventListener("focus", ma, !1), function() {
1902
+ window.removeEventListener("focus", ma, !1);
1898
1903
  };
1899
- }, [g, ta, R, W]);
1900
- var O = oa([]), na = function(c) {
1901
- u.current && u.current.contains(c.target) || (c.preventDefault(), O.current = []);
1904
+ }, [b, pa, M, U]);
1905
+ var C = Q([]), E = Q([]), d = function(o) {
1906
+ f.current && f.current.contains(o.target) || (o.preventDefault(), C.current = []);
1902
1907
  };
1903
- ga(function() {
1904
- return B && (document.addEventListener("dragover", ii, !1), document.addEventListener("drop", na, !1)), function() {
1905
- B && (document.removeEventListener("dragover", ii), document.removeEventListener("drop", na));
1908
+ la(function() {
1909
+ return W && (document.addEventListener("dragover", ti, !1), document.addEventListener("drop", d, !1)), function() {
1910
+ W && (document.removeEventListener("dragover", ti), document.removeEventListener("drop", d));
1906
1911
  };
1907
- }, [u, B]), ga(function() {
1908
- return !n && Q && u.current && u.current.focus(), function() {
1912
+ }, [f, W]), la(function() {
1913
+ var p = function(A) {
1914
+ E.current = [].concat(ni(E.current), [A.target]), ca(A) && g({
1915
+ isDragGlobal: !0,
1916
+ type: "setDragGlobal"
1917
+ });
1918
+ }, o = function(A) {
1919
+ E.current = E.current.filter(function(_) {
1920
+ return _ !== A.target && _ !== null;
1921
+ }), !(E.current.length > 0) && g({
1922
+ isDragGlobal: !1,
1923
+ type: "setDragGlobal"
1924
+ });
1925
+ }, v = function() {
1926
+ E.current = [], g({
1927
+ isDragGlobal: !1,
1928
+ type: "setDragGlobal"
1929
+ });
1930
+ }, x = function() {
1931
+ E.current = [], g({
1932
+ isDragGlobal: !1,
1933
+ type: "setDragGlobal"
1934
+ });
1909
1935
  };
1910
- }, [u, Q, n]);
1911
- var s = y(function(p) {
1912
- T ? T(p) : console.error(p);
1913
- }, [T]), f = y(function(p) {
1914
- p.preventDefault(), p.persist(), va(p), O.current = [].concat(ut(O.current), [p.target]), xa(p) && Promise.resolve(e(p)).then(function(c) {
1936
+ return document.addEventListener("dragenter", p, !1), document.addEventListener("dragleave", o, !1), document.addEventListener("dragend", v, !1), document.addEventListener("drop", x, !1), function() {
1937
+ document.removeEventListener("dragenter", p), document.removeEventListener("dragleave", o), document.removeEventListener("dragend", v), document.removeEventListener("drop", x);
1938
+ };
1939
+ }, [f]), la(function() {
1940
+ return !n && aa && f.current && f.current.focus(), function() {
1941
+ };
1942
+ }, [f, aa, n]);
1943
+ var u = w(function(p) {
1944
+ R ? R(p) : console.error(p);
1945
+ }, [R]), j = w(function(p) {
1946
+ p.preventDefault(), p.persist(), xa(p), C.current = [].concat(ni(C.current), [p.target]), ca(p) && Promise.resolve(e(p)).then(function(o) {
1915
1947
  if (!(ha(p) && !k)) {
1916
- var v = c.length, x = v > 0 && at({
1917
- files: c,
1918
- accept: I,
1948
+ var v = o.length, x = v > 0 && nt({
1949
+ files: o,
1950
+ accept: $,
1919
1951
  minSize: l,
1920
- maxSize: o,
1952
+ maxSize: c,
1921
1953
  multiple: r,
1922
- maxFiles: b,
1923
- validator: q
1924
- }), w = v > 0 && !x;
1925
- h({
1954
+ maxFiles: y,
1955
+ validator: L
1956
+ }), h = v > 0 && !x;
1957
+ g({
1926
1958
  isDragAccept: x,
1927
- isDragReject: w,
1959
+ isDragReject: h,
1928
1960
  isDragActive: !0,
1929
1961
  type: "setDraggedFiles"
1930
1962
  }), D && D(p);
1931
1963
  }
1932
- }).catch(function(c) {
1933
- return s(c);
1964
+ }).catch(function(o) {
1965
+ return u(o);
1934
1966
  });
1935
- }, [e, D, s, k, I, l, o, r, b, q]), j = y(function(p) {
1936
- p.preventDefault(), p.persist(), va(p);
1937
- var c = xa(p);
1938
- if (c && p.dataTransfer)
1967
+ }, [e, D, u, k, $, l, c, r, y, L]), K = w(function(p) {
1968
+ p.preventDefault(), p.persist(), xa(p);
1969
+ var o = ca(p);
1970
+ if (o && p.dataTransfer)
1939
1971
  try {
1940
1972
  p.dataTransfer.dropEffect = "copy";
1941
1973
  } catch {
1942
1974
  }
1943
- return c && A && A(p), !1;
1944
- }, [A, k]), L = y(function(p) {
1945
- p.preventDefault(), p.persist(), va(p);
1946
- var c = O.current.filter(function(x) {
1947
- return u.current && u.current.contains(x);
1948
- }), v = c.indexOf(p.target);
1949
- v !== -1 && c.splice(v, 1), O.current = c, !(c.length > 0) && (h({
1975
+ return o && O && O(p), !1;
1976
+ }, [O, k]), $a = w(function(p) {
1977
+ p.preventDefault(), p.persist(), xa(p);
1978
+ var o = C.current.filter(function(x) {
1979
+ return f.current && f.current.contains(x);
1980
+ }), v = o.indexOf(p.target);
1981
+ v !== -1 && o.splice(v, 1), C.current = o, !(o.length > 0) && (g({
1950
1982
  type: "setDraggedFiles",
1951
1983
  isDragActive: !1,
1952
1984
  isDragAccept: !1,
1953
1985
  isDragReject: !1
1954
- }), xa(p) && _ && _(p));
1955
- }, [u, _, k]), da = y(function(p, c) {
1986
+ }), ca(p) && S && S(p));
1987
+ }, [f, S, k]), ua = w(function(p, o) {
1956
1988
  var v = [], x = [];
1957
- p.forEach(function(w) {
1958
- var ea = ri(w, I), Y = Pa(ea, 2), ja = Y[0], Da = Y[1], za = si(w, l, o), fa = Pa(za, 2), Ea = fa[0], Aa = fa[1], Fa = q ? q(w) : null;
1989
+ p.forEach(function(h) {
1990
+ var A = di(h, $), _ = Pa(A, 2), ja = _[0], Da = _[1], za = mi(h, l, c), ga = Pa(za, 2), Ea = ga[0], Aa = ga[1], Fa = L ? L(h) : null;
1959
1991
  if (ja && Ea && !Fa)
1960
- v.push(w);
1992
+ v.push(h);
1961
1993
  else {
1962
1994
  var Oa = [Da, Aa];
1963
1995
  Fa && (Oa = Oa.concat(Fa)), x.push({
1964
- file: w,
1965
- errors: Oa.filter(function(hi) {
1966
- return hi;
1996
+ file: h,
1997
+ errors: Oa.filter(function(wi) {
1998
+ return wi;
1967
1999
  })
1968
2000
  });
1969
2001
  }
1970
- }), (!r && v.length > 1 || r && b >= 1 && v.length > b) && (v.forEach(function(w) {
2002
+ }), (!r && v.length > 1 || r && y >= 1 && v.length > y) && (v.forEach(function(h) {
1971
2003
  x.push({
1972
- file: w,
1973
- errors: [Zi]
2004
+ file: h,
2005
+ errors: [it]
1974
2006
  });
1975
- }), v.splice(0)), h({
2007
+ }), v.splice(0)), g({
1976
2008
  acceptedFiles: v,
1977
2009
  fileRejections: x,
1978
2010
  isDragReject: x.length > 0,
1979
2011
  type: "setFiles"
1980
- }), P && P(v, x, c), x.length > 0 && z && z(x, c), v.length > 0 && C && C(v, c);
1981
- }, [h, r, I, l, o, b, P, C, z, q]), ma = y(function(p) {
1982
- p.preventDefault(), p.persist(), va(p), O.current = [], xa(p) && Promise.resolve(e(p)).then(function(c) {
1983
- ha(p) && !k || da(c, p);
1984
- }).catch(function(c) {
1985
- return s(c);
1986
- }), h({
2012
+ }), T && T(v, x, o), x.length > 0 && z && z(x, o), v.length > 0 && q && q(v, o);
2013
+ }, [g, r, $, l, c, y, T, q, z, L]), va = w(function(p) {
2014
+ p.preventDefault(), p.persist(), xa(p), C.current = [], ca(p) && Promise.resolve(e(p)).then(function(o) {
2015
+ ha(p) && !k || ua(o, p);
2016
+ }).catch(function(o) {
2017
+ return u(o);
2018
+ }), g({
1987
2019
  type: "reset"
1988
2020
  });
1989
- }, [e, da, s, k]), N = y(function() {
1990
- if (W.current) {
1991
- h({
2021
+ }, [e, ua, u, k]), Y = w(function() {
2022
+ if (U.current) {
2023
+ g({
1992
2024
  type: "openDialog"
1993
- }), H();
2025
+ }), N();
1994
2026
  var p = {
1995
2027
  multiple: r,
1996
- types: la
2028
+ types: sa
1997
2029
  };
1998
- window.showOpenFilePicker(p).then(function(c) {
1999
- return e(c);
2000
- }).then(function(c) {
2001
- da(c, null), h({
2030
+ window.showOpenFilePicker(p).then(function(o) {
2031
+ return e(o);
2032
+ }).then(function(o) {
2033
+ ua(o, null), g({
2002
2034
  type: "closeDialog"
2003
2035
  });
2004
- }).catch(function(c) {
2005
- ct(c) ? (R(c), h({
2036
+ }).catch(function(o) {
2037
+ st(o) ? (M(o), g({
2006
2038
  type: "closeDialog"
2007
- })) : lt(c) ? (W.current = !1, g.current ? (g.current.value = null, g.current.click()) : s(new 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."))) : s(c);
2039
+ })) : dt(o) ? (U.current = !1, b.current ? (b.current.value = null, b.current.click()) : u(new 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."))) : u(o);
2008
2040
  });
2009
2041
  return;
2010
2042
  }
2011
- g.current && (h({
2043
+ b.current && (g({
2012
2044
  type: "openDialog"
2013
- }), H(), g.current.value = null, g.current.click());
2014
- }, [h, H, R, J, da, s, la, r]), $a = y(function(p) {
2015
- !u.current || !u.current.isEqualNode(p.target) || (p.key === " " || p.key === "Enter" || p.keyCode === 32 || p.keyCode === 13) && (p.preventDefault(), N());
2016
- }, [u, N]), Ma = y(function() {
2017
- h({
2045
+ }), N(), b.current.value = null, b.current.click());
2046
+ }, [g, N, M, Z, ua, u, sa, r]), Ma = w(function(p) {
2047
+ !f.current || !f.current.isEqualNode(p.target) || (p.key === " " || p.key === "Enter" || p.keyCode === 32 || p.keyCode === 13) && (p.preventDefault(), Y());
2048
+ }, [f, Y]), Ka = w(function() {
2049
+ g({
2018
2050
  type: "focus"
2019
2051
  });
2020
- }, []), Ka = y(function() {
2021
- h({
2052
+ }, []), Ga = w(function() {
2053
+ g({
2022
2054
  type: "blur"
2023
2055
  });
2024
- }, []), Ba = y(function() {
2025
- S || (nt() ? setTimeout(N, 0) : N());
2026
- }, [S, N]), U = function(c) {
2027
- return n ? null : c;
2028
- }, ka = function(c) {
2029
- return X ? null : U(c);
2030
- }, ua = function(c) {
2031
- return Z ? null : U(c);
2032
- }, va = function(c) {
2033
- k && c.stopPropagation();
2034
- }, xi = G(function() {
2056
+ }, []), Ba = w(function() {
2057
+ I || (ot() ? setTimeout(Y, 0) : Y());
2058
+ }, [I, Y]), V = function(o) {
2059
+ return n ? null : o;
2060
+ }, ka = function(o) {
2061
+ return ia ? null : V(o);
2062
+ }, fa = function(o) {
2063
+ return ta ? null : V(o);
2064
+ }, xa = function(o) {
2065
+ k && o.stopPropagation();
2066
+ }, bi = J(function() {
2035
2067
  return function() {
2036
- var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = p.refKey, v = c === void 0 ? "ref" : c, x = p.role, w = p.onKeyDown, ea = p.onFocus, Y = p.onBlur, ja = p.onClick, Da = p.onDragEnter, za = p.onDragOver, fa = p.onDragLeave, Ea = p.onDrop, Aa = ya(p, dt);
2068
+ var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = p.refKey, v = o === void 0 ? "ref" : o, x = p.role, h = p.onKeyDown, A = p.onFocus, _ = p.onBlur, ja = p.onClick, Da = p.onDragEnter, za = p.onDragOver, ga = p.onDragLeave, Ea = p.onDrop, Aa = ya(p, vt);
2037
2069
  return m(m(qa({
2038
- onKeyDown: ka(E(w, $a)),
2039
- onFocus: ka(E(ea, Ma)),
2040
- onBlur: ka(E(Y, Ka)),
2041
- onClick: U(E(ja, Ba)),
2042
- onDragEnter: ua(E(Da, f)),
2043
- onDragOver: ua(E(za, j)),
2044
- onDragLeave: ua(E(fa, L)),
2045
- onDrop: ua(E(Ea, ma)),
2070
+ onKeyDown: ka(F(h, Ma)),
2071
+ onFocus: ka(F(A, Ka)),
2072
+ onBlur: ka(F(_, Ga)),
2073
+ onClick: V(F(ja, Ba)),
2074
+ onDragEnter: fa(F(Da, j)),
2075
+ onDragOver: fa(F(za, K)),
2076
+ onDragLeave: fa(F(ga, $a)),
2077
+ onDrop: fa(F(Ea, va)),
2046
2078
  role: typeof x == "string" && x !== "" ? x : "presentation"
2047
- }, v, u), !n && !X ? {
2079
+ }, v, f), !n && !ia ? {
2048
2080
  tabIndex: 0
2049
2081
  } : {}), Aa);
2050
2082
  };
2051
- }, [u, $a, Ma, Ka, Ba, f, j, L, ma, X, Z, n]), gi = y(function(p) {
2083
+ }, [f, Ma, Ka, Ga, Ba, j, K, $a, va, ia, ta, n]), hi = w(function(p) {
2052
2084
  p.stopPropagation();
2053
- }, []), bi = G(function() {
2085
+ }, []), yi = J(function() {
2054
2086
  return function() {
2055
- var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = p.refKey, v = c === void 0 ? "ref" : c, x = p.onChange, w = p.onClick, ea = ya(p, mt), Y = qa({
2056
- accept: I,
2087
+ var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = p.refKey, v = o === void 0 ? "ref" : o, x = p.onChange, h = p.onClick, A = ya(p, ft), _ = qa({
2088
+ accept: $,
2057
2089
  multiple: r,
2058
2090
  type: "file",
2059
2091
  style: {
@@ -2068,23 +2100,23 @@ function fi() {
2068
2100
  width: "1px",
2069
2101
  whiteSpace: "nowrap"
2070
2102
  },
2071
- onChange: U(E(x, ma)),
2072
- onClick: U(E(w, gi)),
2103
+ onChange: V(F(x, va)),
2104
+ onClick: V(F(h, hi)),
2073
2105
  tabIndex: -1
2074
- }, v, g);
2075
- return m(m({}, Y), ea);
2106
+ }, v, b);
2107
+ return m(m({}, _), A);
2076
2108
  };
2077
- }, [g, t, r, ma, n]);
2078
- return m(m({}, ia), {}, {
2109
+ }, [b, t, r, va, n]);
2110
+ return m(m({}, ea), {}, {
2079
2111
  isFocused: wa && !n,
2080
- getRootProps: xi,
2081
- getInputProps: bi,
2082
- rootRef: u,
2083
- inputRef: g,
2084
- open: U(N)
2112
+ getRootProps: bi,
2113
+ getInputProps: yi,
2114
+ rootRef: f,
2115
+ inputRef: b,
2116
+ open: V(Y)
2085
2117
  });
2086
2118
  }
2087
- function wt(a, i) {
2119
+ function jt(a, i) {
2088
2120
  switch (i.type) {
2089
2121
  case "focus":
2090
2122
  return m(m({}, a), {}, {
@@ -2114,23 +2146,27 @@ function wt(a, i) {
2114
2146
  fileRejections: i.fileRejections,
2115
2147
  isDragReject: i.isDragReject
2116
2148
  });
2149
+ case "setDragGlobal":
2150
+ return m(m({}, a), {}, {
2151
+ isDragGlobal: i.isDragGlobal
2152
+ });
2117
2153
  case "reset":
2118
2154
  return m({}, Ia);
2119
2155
  default:
2120
2156
  return a;
2121
2157
  }
2122
2158
  }
2123
- function ni() {
2159
+ function pi() {
2124
2160
  }
2125
- const kt = {
2161
+ const Dt = {
2126
2162
  small: "0.5rem 0.813rem",
2127
2163
  medium: "0.75rem 1.063rem",
2128
2164
  large: "1rem 1.313rem"
2129
- }, jt = {
2165
+ }, zt = {
2130
2166
  small: "1.25rem",
2131
2167
  medium: "1.5rem",
2132
2168
  large: "1.75rem"
2133
- }, Dt = Ra.label`
2169
+ }, Et = Ra.label`
2134
2170
  display: flex;
2135
2171
  flex-direction: column;
2136
2172
  justify-content: center;
@@ -2138,7 +2174,7 @@ const kt = {
2138
2174
  gap: 0.5rem;
2139
2175
  cursor: pointer;
2140
2176
  font-size: ${(a) => a.theme.typography.component[a.size].subTxtFontSize};
2141
- padding: ${(a) => kt[a.size]};
2177
+ padding: ${(a) => Dt[a.size]};
2142
2178
 
2143
2179
  color: ${(a) => Ua(
2144
2180
  a.theme,
@@ -2149,7 +2185,7 @@ const kt = {
2149
2185
  )};
2150
2186
 
2151
2187
  & .dnd-icon-lnc {
2152
- font-size: ${(a) => jt[a.size]};
2188
+ font-size: ${(a) => zt[a.size]};
2153
2189
  color: ${(a) => Ua(
2154
2190
  a.theme,
2155
2191
  "DragDropFiles",
@@ -2158,150 +2194,150 @@ const kt = {
2158
2194
  "text"
2159
2195
  )};
2160
2196
  }
2161
- `, zt = Ra.input`
2197
+ `, At = Ra.input`
2162
2198
  width: 0.1px;
2163
2199
  height: 0.1px;
2164
2200
  opacity: 0;
2165
2201
  overflow: hidden;
2166
2202
  position: absolute;
2167
2203
  z-index: -1;
2168
- `, Et = Ra.span`
2204
+ `, Ft = Ra.span`
2169
2205
  align-self: self-end;
2170
2206
  cursor: pointer;
2171
- `, At = (a) => new Promise((i) => {
2207
+ `, Ot = (a) => new Promise((i) => {
2172
2208
  const t = document.createElement("video");
2173
2209
  t.preload = "metadata", t.onloadedmetadata = () => {
2174
2210
  window.URL.revokeObjectURL(t == null ? void 0 : t.src), i(t == null ? void 0 : t.duration);
2175
2211
  }, t.src = URL.createObjectURL(a);
2176
- }), Rt = ei((a, i) => {
2212
+ }), $t = oi((a, i) => {
2177
2213
  const {
2178
2214
  inputRef: t,
2179
2215
  id: n = "",
2180
2216
  disabled: e = !1,
2181
- acceptDropzone: o = {},
2217
+ acceptDropzone: c = {},
2182
2218
  acceptInput: l,
2183
2219
  multiple: r = !1,
2184
- selectFileText: b = "Select file",
2220
+ selectFileText: y = "Select file",
2185
2221
  control: D,
2186
- dndFileText: _ = "Drag and drop file here or",
2187
- showDnD: A = !0,
2188
- className: P = "",
2189
- style: C = {},
2222
+ dndFileText: S = "Drag and drop file here or",
2223
+ showDnD: O = !0,
2224
+ className: T = "",
2225
+ style: q = {},
2190
2226
  onChange: z = () => {
2191
2227
  },
2192
- onFocus: F = () => {
2228
+ onFocus: P = () => {
2193
2229
  },
2194
- onBlur: K = () => {
2230
+ onBlur: H = () => {
2195
2231
  },
2196
- onDropAccepted: J = () => {
2232
+ onDropAccepted: Z = () => {
2197
2233
  },
2198
- onDrop: Q = () => {
2234
+ onDrop: aa = () => {
2199
2235
  },
2200
- color: B = "primary",
2201
- size: S = "small",
2202
- inputProps: X,
2203
- alwaysShowDropzone: Z = !1,
2236
+ color: W = "primary",
2237
+ size: I = "small",
2238
+ inputProps: ia,
2239
+ alwaysShowDropzone: ta = !1,
2204
2240
  maxVideoDuration: k = null,
2205
2241
  // in seconds
2206
- onMaxDurationExceed: T = () => {
2242
+ onMaxDurationExceed: R = () => {
2207
2243
  },
2208
- ...q
2209
- } = a, I = Fi(), [la, H] = Wa(!1), [R, u] = Wa(A), g = oa();
2210
- ga(() => {
2211
- u(A);
2212
- }, [A]);
2213
- var ra = { theme: I, size: S, color: B, disabled: e, focused: la };
2214
- const aa = async (s) => {
2215
- if (!Ai(k)) return s;
2216
- const f = [];
2217
- for (const j of s) {
2218
- const L = await At(j);
2219
- if (k && L > k) {
2244
+ ...L
2245
+ } = a, $ = _i(), [sa, N] = Wa(!1), [M, f] = Wa(O), b = Q();
2246
+ la(() => {
2247
+ f(O);
2248
+ }, [O]);
2249
+ var da = { theme: $, size: I, color: W, disabled: e, focused: sa };
2250
+ const na = async (d) => {
2251
+ if (!Oi(k)) return d;
2252
+ const u = [];
2253
+ for (const j of d) {
2254
+ const K = await Ot(j);
2255
+ if (k && K > k) {
2220
2256
  console.error(
2221
2257
  `${j.name} is too long. Max allowed: ${k}`
2222
- ), T == null || T();
2258
+ ), R == null || R();
2223
2259
  continue;
2224
2260
  } else
2225
- f.push(j);
2261
+ u.push(j);
2226
2262
  }
2227
- return f;
2228
- }, ia = y((s, f) => {
2229
- Q && Q(s, f), u(!1);
2230
- }, []), h = y(async (s) => {
2231
- const f = await aa(s);
2232
- (f == null ? void 0 : f.length) > 0 && (z && !e && z(f), J && J(f), u(!1));
2233
- }, []), wa = async (s) => {
2234
- var L;
2235
- const f = Array.from((L = s == null ? void 0 : s.target) == null ? void 0 : L.files), j = await aa(f);
2236
- (j == null ? void 0 : j.length) > 0 ? (z && !e && z(j), u(!1)) : s.target.value = "";
2237
- }, ta = () => {
2238
- var s, f;
2239
- i != null && i.current ? (s = i.current) == null || s.click() : (f = g == null ? void 0 : g.current) == null || f.click();
2240
- }, W = () => D ? zi(D, {
2241
- onClick: (s) => {
2242
- ta(), D.onClick && D.onClick(s);
2263
+ return u;
2264
+ }, ea = w((d, u) => {
2265
+ aa && aa(d, u), f(!1);
2266
+ }, []), g = w(async (d) => {
2267
+ const u = await na(d);
2268
+ (u == null ? void 0 : u.length) > 0 && (z && !e && z(u), Z && Z(u), f(!1));
2269
+ }, []), wa = async (d) => {
2270
+ var K;
2271
+ const u = Array.from((K = d == null ? void 0 : d.target) == null ? void 0 : K.files), j = await na(u);
2272
+ (j == null ? void 0 : j.length) > 0 ? (z && !e && z(j), f(!1)) : d.target.value = "";
2273
+ }, pa = () => {
2274
+ var d, u;
2275
+ i != null && i.current ? (d = i.current) == null || d.click() : (u = b == null ? void 0 : b.current) == null || u.click();
2276
+ }, U = () => D ? Ai(D, {
2277
+ onClick: (d) => {
2278
+ pa(), D.onClick && D.onClick(d);
2243
2279
  },
2244
2280
  disabled: e
2245
- }) : /* @__PURE__ */ pa(
2246
- Ei,
2281
+ }) : /* @__PURE__ */ oa(
2282
+ Fi,
2247
2283
  {
2248
- color: B,
2249
- size: S,
2250
- text: b,
2284
+ color: W,
2285
+ size: I,
2286
+ text: y,
2251
2287
  disabled: e,
2252
- onClick: (s) => {
2253
- s.preventDefault(), ta();
2288
+ onClick: (d) => {
2289
+ d.preventDefault(), pa();
2254
2290
  }
2255
2291
  }
2256
- ), { getRootProps: sa, getInputProps: O, isDragActive: na } = fi({
2257
- onDrop: ia,
2258
- accept: o,
2259
- onDropAccepted: h,
2292
+ ), { getRootProps: ma, getInputProps: C, isDragActive: E } = gi({
2293
+ onDrop: ea,
2294
+ accept: c,
2295
+ onDropAccepted: g,
2260
2296
  multiple: r,
2261
2297
  disabled: e,
2262
2298
  noClick: !0
2263
2299
  });
2264
2300
  return /* @__PURE__ */ Ha(
2265
- Dt,
2301
+ Et,
2266
2302
  {
2267
- ...ra,
2268
- className: P,
2269
- style: C,
2270
- ...sa(),
2271
- ...q,
2272
- ref: i || g,
2303
+ ...da,
2304
+ className: T,
2305
+ style: q,
2306
+ ...ma(),
2307
+ ...L,
2308
+ ref: i || b,
2273
2309
  children: [
2274
- /* @__PURE__ */ pa(
2275
- zt,
2310
+ /* @__PURE__ */ oa(
2311
+ At,
2276
2312
  {
2277
- ...O(),
2278
- ...ra,
2313
+ ...C(),
2314
+ ...da,
2279
2315
  multiple: r,
2280
2316
  ref: t,
2281
2317
  type: "file",
2282
2318
  action: "bla.html",
2283
2319
  accept: l,
2284
2320
  id: n,
2285
- onFocus: (s) => {
2286
- e || H(!0), F && !e && F(s);
2321
+ onFocus: (d) => {
2322
+ e || N(!0), P && !e && P(d);
2287
2323
  },
2288
- onBlur: (s) => {
2289
- e || H(!1), K && !e && K(s);
2324
+ onBlur: (d) => {
2325
+ e || N(!1), H && !e && H(d);
2290
2326
  },
2291
2327
  onChange: wa,
2292
- ...X
2328
+ ...ia
2293
2329
  }
2294
2330
  ),
2295
- !na && !R && !Z && /* @__PURE__ */ pa(Et, { children: /* @__PURE__ */ pa(Na, { icon: "plus", size: S }) }),
2296
- (na || R || Z) && /* @__PURE__ */ Ha(yi, { children: [
2297
- /* @__PURE__ */ pa(Na, { icon: "upload", size: S, className: "dnd-icon-lnc" }),
2298
- _,
2299
- W()
2331
+ !E && !M && !ta && /* @__PURE__ */ oa(Ft, { children: /* @__PURE__ */ oa(Na, { icon: "plus", size: I }) }),
2332
+ (E || M || ta) && /* @__PURE__ */ Ha(ki, { children: [
2333
+ /* @__PURE__ */ oa(Na, { icon: "upload", size: I, className: "dnd-icon-lnc" }),
2334
+ S,
2335
+ U()
2300
2336
  ] })
2301
2337
  ]
2302
2338
  }
2303
2339
  );
2304
2340
  });
2305
2341
  export {
2306
- Rt as default
2342
+ $t as default
2307
2343
  };