brd-ui-kit 0.1.55 → 0.1.58

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 (621) hide show
  1. package/dist/_commonjsHelpers-DKOUU3wS.cjs +2 -0
  2. package/dist/_commonjsHelpers-DKOUU3wS.cjs.map +1 -0
  3. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  4. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  5. package/dist/chart-CgVfpT_X.cjs +63 -0
  6. package/dist/chart-CgVfpT_X.cjs.map +1 -0
  7. package/dist/chart-D15EtNmb.js +13139 -0
  8. package/dist/chart-D15EtNmb.js.map +1 -0
  9. package/dist/components/app-pagination.d.ts +2 -0
  10. package/dist/components/app-sidebar.d.ts +2 -0
  11. package/dist/components/avatar-uploader.d.ts +2 -0
  12. package/dist/components/basic-avatar.d.ts +2 -0
  13. package/dist/components/basic-chart.d.ts +2 -0
  14. package/dist/components/basic-checkbox.d.ts +2 -0
  15. package/dist/components/basic-drawer.d.ts +2 -0
  16. package/dist/components/basic-modal.d.ts +2 -0
  17. package/dist/components/basic-select.d.ts +2 -0
  18. package/dist/components/basic-table.d.ts +2 -0
  19. package/dist/components/basic-tooltip.d.ts +2 -0
  20. package/dist/components/files-uploader.d.ts +2 -0
  21. package/dist/components/input-field.d.ts +2 -0
  22. package/dist/components/input-password.d.ts +2 -0
  23. package/dist/components/popover-modal.d.ts +2 -0
  24. package/dist/components/radio-button.d.ts +2 -0
  25. package/dist/components/select-field.d.ts +2 -0
  26. package/dist/components/select-groups.d.ts +2 -0
  27. package/dist/components/textarea-field.d.ts +2 -0
  28. package/dist/components/ui/avatar.d.ts +2 -0
  29. package/dist/components/ui/badge.d.ts +2 -0
  30. package/dist/components/ui/button.d.ts +2 -0
  31. package/dist/components/ui/card.d.ts +2 -0
  32. package/dist/components/ui/chart.d.ts +2 -0
  33. package/dist/components/ui/checkbox.d.ts +2 -0
  34. package/dist/components/ui/combobox.d.ts +2 -0
  35. package/dist/components/ui/dialog.d.ts +2 -0
  36. package/dist/components/ui/drawer.d.ts +2 -0
  37. package/dist/components/ui/field.d.ts +2 -0
  38. package/dist/components/ui/icon.d.ts +2 -0
  39. package/dist/components/ui/input-group.d.ts +2 -0
  40. package/dist/components/ui/input.d.ts +2 -0
  41. package/dist/components/ui/label.d.ts +2 -0
  42. package/dist/components/ui/navigation-item.d.ts +2 -0
  43. package/dist/components/ui/navigation-menu.d.ts +2 -0
  44. package/dist/components/ui/pagination.d.ts +2 -0
  45. package/dist/components/ui/popover.d.ts +2 -0
  46. package/dist/components/ui/progress.d.ts +2 -0
  47. package/dist/components/ui/radio-group.d.ts +2 -0
  48. package/dist/components/ui/select.d.ts +2 -0
  49. package/dist/components/ui/separator.d.ts +2 -0
  50. package/dist/components/ui/sonner.d.ts +2 -0
  51. package/dist/components/ui/switch.d.ts +2 -0
  52. package/dist/components/ui/table.d.ts +2 -0
  53. package/dist/components/ui/tabs.d.ts +2 -0
  54. package/dist/components/ui/textarea.d.ts +2 -0
  55. package/dist/components/ui/tooltip.d.ts +2 -0
  56. package/dist/components/ui/typography.d.ts +2 -0
  57. package/dist/components-app-pagination-app-pagination.cjs +2 -0
  58. package/dist/components-app-pagination-app-pagination.cjs.map +1 -0
  59. package/dist/components-app-pagination-app-pagination.js +97 -0
  60. package/dist/components-app-pagination-app-pagination.js.map +1 -0
  61. package/dist/components-app-pagination-app-pagination.styles.cjs +3 -0
  62. package/dist/components-app-pagination-app-pagination.styles.cjs.map +1 -0
  63. package/dist/components-app-pagination-app-pagination.styles.js +85 -0
  64. package/dist/components-app-pagination-app-pagination.styles.js.map +1 -0
  65. package/dist/components-app-pagination.cjs +2 -0
  66. package/dist/components-app-pagination.cjs.map +1 -0
  67. package/dist/components-app-pagination.js +5 -0
  68. package/dist/components-app-pagination.js.map +1 -0
  69. package/dist/components-app-sidebar-app-sidebar.cjs +2 -0
  70. package/dist/components-app-sidebar-app-sidebar.cjs.map +1 -0
  71. package/dist/components-app-sidebar-app-sidebar.js +97 -0
  72. package/dist/components-app-sidebar-app-sidebar.js.map +1 -0
  73. package/dist/components-app-sidebar-app-sidebar.styles.cjs +2 -0
  74. package/dist/components-app-sidebar-app-sidebar.styles.cjs.map +1 -0
  75. package/dist/components-app-sidebar-app-sidebar.styles.js +59 -0
  76. package/dist/components-app-sidebar-app-sidebar.styles.js.map +1 -0
  77. package/dist/components-app-sidebar.cjs +2 -0
  78. package/dist/components-app-sidebar.cjs.map +1 -0
  79. package/dist/components-app-sidebar.js +5 -0
  80. package/dist/components-app-sidebar.js.map +1 -0
  81. package/dist/components-avatar-uploader-avatar-uploader.cjs +3 -0
  82. package/dist/components-avatar-uploader-avatar-uploader.cjs.map +1 -0
  83. package/dist/components-avatar-uploader-avatar-uploader.js +103 -0
  84. package/dist/components-avatar-uploader-avatar-uploader.js.map +1 -0
  85. package/dist/components-avatar-uploader.cjs +2 -0
  86. package/dist/components-avatar-uploader.cjs.map +1 -0
  87. package/dist/components-avatar-uploader.js +5 -0
  88. package/dist/components-avatar-uploader.js.map +1 -0
  89. package/dist/components-basic-avatar-basic-avatar.cjs +4 -0
  90. package/dist/components-basic-avatar-basic-avatar.cjs.map +1 -0
  91. package/dist/components-basic-avatar-basic-avatar.js +99 -0
  92. package/dist/components-basic-avatar-basic-avatar.js.map +1 -0
  93. package/dist/components-basic-avatar.cjs +2 -0
  94. package/dist/components-basic-avatar.cjs.map +1 -0
  95. package/dist/components-basic-avatar.js +5 -0
  96. package/dist/components-basic-avatar.js.map +1 -0
  97. package/dist/components-basic-chart-basic-chart.cjs +4 -0
  98. package/dist/components-basic-chart-basic-chart.cjs.map +1 -0
  99. package/dist/components-basic-chart-basic-chart.js +5546 -0
  100. package/dist/components-basic-chart-basic-chart.js.map +1 -0
  101. package/dist/components-basic-chart.cjs +2 -0
  102. package/dist/components-basic-chart.cjs.map +1 -0
  103. package/dist/components-basic-chart.js +5 -0
  104. package/dist/components-basic-chart.js.map +1 -0
  105. package/dist/components-basic-checkbox-basic-checkbox.cjs +2 -0
  106. package/dist/components-basic-checkbox-basic-checkbox.cjs.map +1 -0
  107. package/dist/components-basic-checkbox-basic-checkbox.js +54 -0
  108. package/dist/components-basic-checkbox-basic-checkbox.js.map +1 -0
  109. package/dist/components-basic-checkbox.cjs +2 -0
  110. package/dist/components-basic-checkbox.cjs.map +1 -0
  111. package/dist/components-basic-checkbox.js +5 -0
  112. package/dist/components-basic-checkbox.js.map +1 -0
  113. package/dist/components-basic-drawer-basic-drawer.cjs +2 -0
  114. package/dist/components-basic-drawer-basic-drawer.cjs.map +1 -0
  115. package/dist/components-basic-drawer-basic-drawer.js +74 -0
  116. package/dist/components-basic-drawer-basic-drawer.js.map +1 -0
  117. package/dist/components-basic-drawer.cjs +2 -0
  118. package/dist/components-basic-drawer.cjs.map +1 -0
  119. package/dist/components-basic-drawer.js +5 -0
  120. package/dist/components-basic-drawer.js.map +1 -0
  121. package/dist/components-basic-modal-basic-modal.cjs +2 -0
  122. package/dist/components-basic-modal-basic-modal.cjs.map +1 -0
  123. package/dist/components-basic-modal-basic-modal.js +56 -0
  124. package/dist/components-basic-modal-basic-modal.js.map +1 -0
  125. package/dist/components-basic-modal.cjs +2 -0
  126. package/dist/components-basic-modal.cjs.map +1 -0
  127. package/dist/components-basic-modal.js +5 -0
  128. package/dist/components-basic-modal.js.map +1 -0
  129. package/dist/components-basic-select-basic-select.cjs +2 -0
  130. package/dist/components-basic-select-basic-select.cjs.map +1 -0
  131. package/dist/components-basic-select-basic-select.js +53 -0
  132. package/dist/components-basic-select-basic-select.js.map +1 -0
  133. package/dist/components-basic-select.cjs +2 -0
  134. package/dist/components-basic-select.cjs.map +1 -0
  135. package/dist/components-basic-select.js +5 -0
  136. package/dist/components-basic-select.js.map +1 -0
  137. package/dist/components-basic-table-basic-table.cjs +5 -0
  138. package/dist/components-basic-table-basic-table.cjs.map +1 -0
  139. package/dist/components-basic-table-basic-table.js +1961 -0
  140. package/dist/components-basic-table-basic-table.js.map +1 -0
  141. package/dist/components-basic-table.cjs +2 -0
  142. package/dist/components-basic-table.cjs.map +1 -0
  143. package/dist/components-basic-table.js +5 -0
  144. package/dist/components-basic-table.js.map +1 -0
  145. package/dist/components-basic-tooltip-basic-tooltip.cjs +2 -0
  146. package/dist/components-basic-tooltip-basic-tooltip.cjs.map +1 -0
  147. package/dist/components-basic-tooltip-basic-tooltip.js +61 -0
  148. package/dist/components-basic-tooltip-basic-tooltip.js.map +1 -0
  149. package/dist/components-basic-tooltip.cjs +2 -0
  150. package/dist/components-basic-tooltip.cjs.map +1 -0
  151. package/dist/components-basic-tooltip.js +5 -0
  152. package/dist/components-basic-tooltip.js.map +1 -0
  153. package/dist/components-files-uploader-files-uploader.cjs +8 -0
  154. package/dist/components-files-uploader-files-uploader.cjs.map +1 -0
  155. package/dist/components-files-uploader-files-uploader.js +185 -0
  156. package/dist/components-files-uploader-files-uploader.js.map +1 -0
  157. package/dist/components-files-uploader.cjs +2 -0
  158. package/dist/components-files-uploader.cjs.map +1 -0
  159. package/dist/components-files-uploader.js +5 -0
  160. package/dist/components-files-uploader.js.map +1 -0
  161. package/dist/components-input-field-input-field.cjs +2 -0
  162. package/dist/components-input-field-input-field.cjs.map +1 -0
  163. package/dist/components-input-field-input-field.js +56 -0
  164. package/dist/components-input-field-input-field.js.map +1 -0
  165. package/dist/components-input-field.cjs +2 -0
  166. package/dist/components-input-field.cjs.map +1 -0
  167. package/dist/components-input-field.js +5 -0
  168. package/dist/components-input-field.js.map +1 -0
  169. package/dist/components-input-password-input-password.cjs +2 -0
  170. package/dist/components-input-password-input-password.cjs.map +1 -0
  171. package/dist/components-input-password-input-password.js +67 -0
  172. package/dist/components-input-password-input-password.js.map +1 -0
  173. package/dist/components-input-password.cjs +2 -0
  174. package/dist/components-input-password.cjs.map +1 -0
  175. package/dist/components-input-password.js +5 -0
  176. package/dist/components-input-password.js.map +1 -0
  177. package/dist/components-popover-modal-popover-modal.cjs +2 -0
  178. package/dist/components-popover-modal-popover-modal.cjs.map +1 -0
  179. package/dist/components-popover-modal-popover-modal.js +40 -0
  180. package/dist/components-popover-modal-popover-modal.js.map +1 -0
  181. package/dist/components-popover-modal.cjs +2 -0
  182. package/dist/components-popover-modal.cjs.map +1 -0
  183. package/dist/components-popover-modal.js +5 -0
  184. package/dist/components-popover-modal.js.map +1 -0
  185. package/dist/components-radio-button-radio-button.cjs +2 -0
  186. package/dist/components-radio-button-radio-button.cjs.map +1 -0
  187. package/dist/components-radio-button-radio-button.js +74 -0
  188. package/dist/components-radio-button-radio-button.js.map +1 -0
  189. package/dist/components-radio-button.cjs +2 -0
  190. package/dist/components-radio-button.cjs.map +1 -0
  191. package/dist/components-radio-button.js +5 -0
  192. package/dist/components-radio-button.js.map +1 -0
  193. package/dist/components-select-field-select-field.cjs +3 -0
  194. package/dist/components-select-field-select-field.cjs.map +1 -0
  195. package/dist/components-select-field-select-field.js +179 -0
  196. package/dist/components-select-field-select-field.js.map +1 -0
  197. package/dist/components-select-field.cjs +2 -0
  198. package/dist/components-select-field.cjs.map +1 -0
  199. package/dist/components-select-field.js +5 -0
  200. package/dist/components-select-field.js.map +1 -0
  201. package/dist/components-select-groups-select-groups.cjs +2 -0
  202. package/dist/components-select-groups-select-groups.cjs.map +1 -0
  203. package/dist/components-select-groups-select-groups.js +91 -0
  204. package/dist/components-select-groups-select-groups.js.map +1 -0
  205. package/dist/components-select-groups.cjs +2 -0
  206. package/dist/components-select-groups.cjs.map +1 -0
  207. package/dist/components-select-groups.js +5 -0
  208. package/dist/components-select-groups.js.map +1 -0
  209. package/dist/components-textarea-field-textarea-field.cjs +2 -0
  210. package/dist/components-textarea-field-textarea-field.cjs.map +1 -0
  211. package/dist/components-textarea-field-textarea-field.js +30 -0
  212. package/dist/components-textarea-field-textarea-field.js.map +1 -0
  213. package/dist/components-textarea-field.cjs +2 -0
  214. package/dist/components-textarea-field.cjs.map +1 -0
  215. package/dist/components-textarea-field.js +5 -0
  216. package/dist/components-textarea-field.js.map +1 -0
  217. package/dist/components-ui-avatar-avatar.cjs +15 -0
  218. package/dist/components-ui-avatar-avatar.cjs.map +1 -0
  219. package/dist/components-ui-avatar-avatar.js +149 -0
  220. package/dist/components-ui-avatar-avatar.js.map +1 -0
  221. package/dist/components-ui-avatar.cjs +2 -0
  222. package/dist/components-ui-avatar.cjs.map +1 -0
  223. package/dist/components-ui-avatar.js +10 -0
  224. package/dist/components-ui-avatar.js.map +1 -0
  225. package/dist/components-ui-badge-badge.cjs +2 -0
  226. package/dist/components-ui-badge-badge.cjs.map +1 -0
  227. package/dist/components-ui-badge-badge.js +47 -0
  228. package/dist/components-ui-badge-badge.js.map +1 -0
  229. package/dist/components-ui-badge-badge.styles.cjs +3 -0
  230. package/dist/components-ui-badge-badge.styles.cjs.map +1 -0
  231. package/dist/components-ui-badge-badge.styles.js +53 -0
  232. package/dist/components-ui-badge-badge.styles.js.map +1 -0
  233. package/dist/components-ui-badge.cjs +2 -0
  234. package/dist/components-ui-badge.cjs.map +1 -0
  235. package/dist/components-ui-badge.js +7 -0
  236. package/dist/components-ui-badge.js.map +1 -0
  237. package/dist/components-ui-button-button.cjs +2 -0
  238. package/dist/components-ui-button-button.cjs.map +1 -0
  239. package/dist/components-ui-button-button.js +26 -0
  240. package/dist/components-ui-button-button.js.map +1 -0
  241. package/dist/components-ui-button-button.styles.cjs +9 -0
  242. package/dist/components-ui-button-button.styles.cjs.map +1 -0
  243. package/dist/components-ui-button-button.styles.js +58 -0
  244. package/dist/components-ui-button-button.styles.js.map +1 -0
  245. package/dist/components-ui-button.cjs +2 -0
  246. package/dist/components-ui-button.cjs.map +1 -0
  247. package/dist/components-ui-button.js +7 -0
  248. package/dist/components-ui-button.js.map +1 -0
  249. package/dist/components-ui-card-card.cjs +2 -0
  250. package/dist/components-ui-card-card.cjs.map +1 -0
  251. package/dist/components-ui-card-card.js +95 -0
  252. package/dist/components-ui-card-card.js.map +1 -0
  253. package/dist/components-ui-card-card.styles.cjs +8 -0
  254. package/dist/components-ui-card-card.styles.cjs.map +1 -0
  255. package/dist/components-ui-card-card.styles.js +55 -0
  256. package/dist/components-ui-card-card.styles.js.map +1 -0
  257. package/dist/components-ui-card.cjs +2 -0
  258. package/dist/components-ui-card.cjs.map +1 -0
  259. package/dist/components-ui-card.js +10 -0
  260. package/dist/components-ui-card.js.map +1 -0
  261. package/dist/components-ui-chart-chart.cjs +2 -0
  262. package/dist/components-ui-chart-chart.cjs.map +1 -0
  263. package/dist/components-ui-chart-chart.js +13 -0
  264. package/dist/components-ui-chart-chart.js.map +1 -0
  265. package/dist/components-ui-chart.cjs +2 -0
  266. package/dist/components-ui-chart.cjs.map +1 -0
  267. package/dist/components-ui-chart.js +10 -0
  268. package/dist/components-ui-chart.js.map +1 -0
  269. package/dist/components-ui-checkbox-checkbox.cjs +2 -0
  270. package/dist/components-ui-checkbox-checkbox.cjs.map +1 -0
  271. package/dist/components-ui-checkbox-checkbox.js +26 -0
  272. package/dist/components-ui-checkbox-checkbox.js.map +1 -0
  273. package/dist/components-ui-checkbox-checkbox.styles.cjs +2 -0
  274. package/dist/components-ui-checkbox-checkbox.styles.cjs.map +1 -0
  275. package/dist/components-ui-checkbox-checkbox.styles.js +20 -0
  276. package/dist/components-ui-checkbox-checkbox.styles.js.map +1 -0
  277. package/dist/components-ui-checkbox.cjs +2 -0
  278. package/dist/components-ui-checkbox.cjs.map +1 -0
  279. package/dist/components-ui-checkbox.js +5 -0
  280. package/dist/components-ui-checkbox.js.map +1 -0
  281. package/dist/components-ui-combobox-combobox.cjs +16 -0
  282. package/dist/components-ui-combobox-combobox.cjs.map +1 -0
  283. package/dist/components-ui-combobox-combobox.js +7155 -0
  284. package/dist/components-ui-combobox-combobox.js.map +1 -0
  285. package/dist/components-ui-combobox-combobox.styles.cjs +36 -0
  286. package/dist/components-ui-combobox-combobox.styles.cjs.map +1 -0
  287. package/dist/components-ui-combobox-combobox.styles.js +93 -0
  288. package/dist/components-ui-combobox-combobox.styles.js.map +1 -0
  289. package/dist/components-ui-combobox.cjs +2 -0
  290. package/dist/components-ui-combobox.cjs.map +1 -0
  291. package/dist/components-ui-combobox.js +20 -0
  292. package/dist/components-ui-combobox.js.map +1 -0
  293. package/dist/components-ui-dialog-dialog.cjs +2 -0
  294. package/dist/components-ui-dialog-dialog.cjs.map +1 -0
  295. package/dist/components-ui-dialog-dialog.js +88 -0
  296. package/dist/components-ui-dialog-dialog.js.map +1 -0
  297. package/dist/components-ui-dialog-dialog.styles.cjs +2 -0
  298. package/dist/components-ui-dialog-dialog.styles.cjs.map +1 -0
  299. package/dist/components-ui-dialog-dialog.styles.js +34 -0
  300. package/dist/components-ui-dialog-dialog.styles.js.map +1 -0
  301. package/dist/components-ui-dialog.cjs +2 -0
  302. package/dist/components-ui-dialog.cjs.map +1 -0
  303. package/dist/components-ui-dialog.js +14 -0
  304. package/dist/components-ui-dialog.js.map +1 -0
  305. package/dist/components-ui-drawer-drawer.cjs +30 -0
  306. package/dist/components-ui-drawer-drawer.cjs.map +1 -0
  307. package/dist/components-ui-drawer-drawer.js +177 -0
  308. package/dist/components-ui-drawer-drawer.js.map +1 -0
  309. package/dist/components-ui-drawer.cjs +2 -0
  310. package/dist/components-ui-drawer.cjs.map +1 -0
  311. package/dist/components-ui-drawer.js +14 -0
  312. package/dist/components-ui-drawer.js.map +1 -0
  313. package/dist/components-ui-field-field.cjs +2 -0
  314. package/dist/components-ui-field-field.cjs.map +1 -0
  315. package/dist/components-ui-field-field.js +155 -0
  316. package/dist/components-ui-field-field.js.map +1 -0
  317. package/dist/components-ui-field-field.styles.cjs +9 -0
  318. package/dist/components-ui-field-field.styles.cjs.map +1 -0
  319. package/dist/components-ui-field-field.styles.js +59 -0
  320. package/dist/components-ui-field-field.styles.js.map +1 -0
  321. package/dist/components-ui-field.cjs +2 -0
  322. package/dist/components-ui-field.cjs.map +1 -0
  323. package/dist/components-ui-field.js +14 -0
  324. package/dist/components-ui-field.js.map +1 -0
  325. package/dist/components-ui-icon-icon-dictionary.cjs +2 -0
  326. package/dist/components-ui-icon-icon-dictionary.cjs.map +1 -0
  327. package/dist/components-ui-icon-icon-dictionary.js +60 -0
  328. package/dist/components-ui-icon-icon-dictionary.js.map +1 -0
  329. package/dist/components-ui-icon-icon.cjs +2 -0
  330. package/dist/components-ui-icon-icon.cjs.map +1 -0
  331. package/dist/components-ui-icon-icon.js +40 -0
  332. package/dist/components-ui-icon-icon.js.map +1 -0
  333. package/dist/components-ui-icon-overrides.cjs +2 -0
  334. package/dist/components-ui-icon-overrides.cjs.map +1 -0
  335. package/dist/components-ui-icon-overrides.js +65 -0
  336. package/dist/components-ui-icon-overrides.js.map +1 -0
  337. package/dist/components-ui-icon.cjs +2 -0
  338. package/dist/components-ui-icon.cjs.map +1 -0
  339. package/dist/components-ui-icon.js +5 -0
  340. package/dist/components-ui-icon.js.map +1 -0
  341. package/dist/components-ui-input-group-input-group.cjs +14 -0
  342. package/dist/components-ui-input-group-input-group.cjs.map +1 -0
  343. package/dist/components-ui-input-group-input-group.js +129 -0
  344. package/dist/components-ui-input-group-input-group.js.map +1 -0
  345. package/dist/components-ui-input-group-input-group.styles.cjs +8 -0
  346. package/dist/components-ui-input-group-input-group.styles.cjs.map +1 -0
  347. package/dist/components-ui-input-group-input-group.styles.js +43 -0
  348. package/dist/components-ui-input-group-input-group.styles.js.map +1 -0
  349. package/dist/components-ui-input-group.cjs +2 -0
  350. package/dist/components-ui-input-group.cjs.map +1 -0
  351. package/dist/components-ui-input-group.js +10 -0
  352. package/dist/components-ui-input-group.js.map +1 -0
  353. package/dist/components-ui-input-input.cjs +2 -0
  354. package/dist/components-ui-input-input.cjs.map +1 -0
  355. package/dist/components-ui-input-input.js +18 -0
  356. package/dist/components-ui-input-input.js.map +1 -0
  357. package/dist/components-ui-input-input.styles.cjs +8 -0
  358. package/dist/components-ui-input-input.styles.cjs.map +1 -0
  359. package/dist/components-ui-input-input.styles.js +31 -0
  360. package/dist/components-ui-input-input.styles.js.map +1 -0
  361. package/dist/components-ui-input.cjs +2 -0
  362. package/dist/components-ui-input.cjs.map +1 -0
  363. package/dist/components-ui-input.js +5 -0
  364. package/dist/components-ui-input.js.map +1 -0
  365. package/dist/components-ui-label-label.cjs +2 -0
  366. package/dist/components-ui-label-label.cjs.map +1 -0
  367. package/dist/components-ui-label-label.js +19 -0
  368. package/dist/components-ui-label-label.js.map +1 -0
  369. package/dist/components-ui-label.cjs +2 -0
  370. package/dist/components-ui-label.cjs.map +1 -0
  371. package/dist/components-ui-label.js +5 -0
  372. package/dist/components-ui-label.js.map +1 -0
  373. package/dist/components-ui-navigation-item-navigation-item.cjs +2 -0
  374. package/dist/components-ui-navigation-item-navigation-item.cjs.map +1 -0
  375. package/dist/components-ui-navigation-item-navigation-item.js +66 -0
  376. package/dist/components-ui-navigation-item-navigation-item.js.map +1 -0
  377. package/dist/components-ui-navigation-item-navigation-item.styles.cjs +3 -0
  378. package/dist/components-ui-navigation-item-navigation-item.styles.cjs.map +1 -0
  379. package/dist/components-ui-navigation-item-navigation-item.styles.js +32 -0
  380. package/dist/components-ui-navigation-item-navigation-item.styles.js.map +1 -0
  381. package/dist/components-ui-navigation-item.cjs +2 -0
  382. package/dist/components-ui-navigation-item.cjs.map +1 -0
  383. package/dist/components-ui-navigation-item.js +5 -0
  384. package/dist/components-ui-navigation-item.js.map +1 -0
  385. package/dist/components-ui-navigation-menu-navigation-menu.cjs +2 -0
  386. package/dist/components-ui-navigation-menu-navigation-menu.cjs.map +1 -0
  387. package/dist/components-ui-navigation-menu-navigation-menu.js +25 -0
  388. package/dist/components-ui-navigation-menu-navigation-menu.js.map +1 -0
  389. package/dist/components-ui-navigation-menu-navigation-menu.styles.cjs +2 -0
  390. package/dist/components-ui-navigation-menu-navigation-menu.styles.cjs.map +1 -0
  391. package/dist/components-ui-navigation-menu-navigation-menu.styles.js +23 -0
  392. package/dist/components-ui-navigation-menu-navigation-menu.styles.js.map +1 -0
  393. package/dist/components-ui-navigation-menu.cjs +2 -0
  394. package/dist/components-ui-navigation-menu.cjs.map +1 -0
  395. package/dist/components-ui-navigation-menu.js +5 -0
  396. package/dist/components-ui-navigation-menu.js.map +1 -0
  397. package/dist/components-ui-pagination-pagination.cjs +2 -0
  398. package/dist/components-ui-pagination-pagination.cjs.map +1 -0
  399. package/dist/components-ui-pagination-pagination.js +110 -0
  400. package/dist/components-ui-pagination-pagination.js.map +1 -0
  401. package/dist/components-ui-pagination.cjs +2 -0
  402. package/dist/components-ui-pagination.cjs.map +1 -0
  403. package/dist/components-ui-pagination.js +11 -0
  404. package/dist/components-ui-pagination.js.map +1 -0
  405. package/dist/components-ui-popover-popover.cjs +2 -0
  406. package/dist/components-ui-popover-popover.cjs.map +1 -0
  407. package/dist/components-ui-popover-popover.js +117 -0
  408. package/dist/components-ui-popover-popover.js.map +1 -0
  409. package/dist/components-ui-popover-popover.styles.cjs +7 -0
  410. package/dist/components-ui-popover-popover.styles.cjs.map +1 -0
  411. package/dist/components-ui-popover-popover.styles.js +13 -0
  412. package/dist/components-ui-popover-popover.styles.js.map +1 -0
  413. package/dist/components-ui-popover.cjs +2 -0
  414. package/dist/components-ui-popover.cjs.map +1 -0
  415. package/dist/components-ui-popover.js +11 -0
  416. package/dist/components-ui-popover.js.map +1 -0
  417. package/dist/components-ui-progress-progress.cjs +2 -0
  418. package/dist/components-ui-progress-progress.cjs.map +1 -0
  419. package/dist/components-ui-progress-progress.js +49 -0
  420. package/dist/components-ui-progress-progress.js.map +1 -0
  421. package/dist/components-ui-progress.cjs +2 -0
  422. package/dist/components-ui-progress.cjs.map +1 -0
  423. package/dist/components-ui-progress.js +5 -0
  424. package/dist/components-ui-progress.js.map +1 -0
  425. package/dist/components-ui-radio-group-radio-group.cjs +2 -0
  426. package/dist/components-ui-radio-group-radio-group.cjs.map +1 -0
  427. package/dist/components-ui-radio-group-radio-group.js +29 -0
  428. package/dist/components-ui-radio-group-radio-group.js.map +1 -0
  429. package/dist/components-ui-radio-group-radio-group.styles.cjs +2 -0
  430. package/dist/components-ui-radio-group-radio-group.styles.cjs.map +1 -0
  431. package/dist/components-ui-radio-group-radio-group.styles.js +23 -0
  432. package/dist/components-ui-radio-group-radio-group.styles.js.map +1 -0
  433. package/dist/components-ui-radio-group.cjs +2 -0
  434. package/dist/components-ui-radio-group.cjs.map +1 -0
  435. package/dist/components-ui-radio-group.js +6 -0
  436. package/dist/components-ui-radio-group.js.map +1 -0
  437. package/dist/components-ui-select-select.cjs +2 -0
  438. package/dist/components-ui-select-select.cjs.map +1 -0
  439. package/dist/components-ui-select-select.js +194 -0
  440. package/dist/components-ui-select-select.js.map +1 -0
  441. package/dist/components-ui-select-select.styles.cjs +31 -0
  442. package/dist/components-ui-select-select.styles.cjs.map +1 -0
  443. package/dist/components-ui-select-select.styles.js +43 -0
  444. package/dist/components-ui-select-select.styles.js.map +1 -0
  445. package/dist/components-ui-select.cjs +2 -0
  446. package/dist/components-ui-select.cjs.map +1 -0
  447. package/dist/components-ui-select.js +14 -0
  448. package/dist/components-ui-select.js.map +1 -0
  449. package/dist/components-ui-separator-separator.cjs +2 -0
  450. package/dist/components-ui-separator-separator.cjs.map +1 -0
  451. package/dist/components-ui-separator-separator.js +29 -0
  452. package/dist/components-ui-separator-separator.js.map +1 -0
  453. package/dist/components-ui-separator.cjs +2 -0
  454. package/dist/components-ui-separator.cjs.map +1 -0
  455. package/dist/components-ui-separator.js +5 -0
  456. package/dist/components-ui-separator.js.map +1 -0
  457. package/dist/components-ui-sonner-sonner.cjs +2 -0
  458. package/dist/components-ui-sonner-sonner.cjs.map +1 -0
  459. package/dist/components-ui-sonner-sonner.js +72 -0
  460. package/dist/components-ui-sonner-sonner.js.map +1 -0
  461. package/dist/components-ui-sonner-sonner.styles.cjs +36 -0
  462. package/dist/components-ui-sonner-sonner.styles.cjs.map +1 -0
  463. package/dist/components-ui-sonner-sonner.styles.js +42 -0
  464. package/dist/components-ui-sonner-sonner.styles.js.map +1 -0
  465. package/dist/components-ui-sonner.cjs +2 -0
  466. package/dist/components-ui-sonner.cjs.map +1 -0
  467. package/dist/components-ui-sonner.js +7 -0
  468. package/dist/components-ui-sonner.js.map +1 -0
  469. package/dist/components-ui-switch-switch.cjs +2 -0
  470. package/dist/components-ui-switch-switch.cjs.map +1 -0
  471. package/dist/components-ui-switch-switch.js +19 -0
  472. package/dist/components-ui-switch-switch.js.map +1 -0
  473. package/dist/components-ui-switch-switch.styles.cjs +2 -0
  474. package/dist/components-ui-switch-switch.styles.cjs.map +1 -0
  475. package/dist/components-ui-switch-switch.styles.js +22 -0
  476. package/dist/components-ui-switch-switch.styles.js.map +1 -0
  477. package/dist/components-ui-switch.cjs +2 -0
  478. package/dist/components-ui-switch.cjs.map +1 -0
  479. package/dist/components-ui-switch.js +5 -0
  480. package/dist/components-ui-switch.js.map +1 -0
  481. package/dist/components-ui-table-table.cjs +5 -0
  482. package/dist/components-ui-table-table.cjs.map +1 -0
  483. package/dist/components-ui-table-table.js +130 -0
  484. package/dist/components-ui-table-table.js.map +1 -0
  485. package/dist/components-ui-table.cjs +2 -0
  486. package/dist/components-ui-table.cjs.map +1 -0
  487. package/dist/components-ui-table.js +12 -0
  488. package/dist/components-ui-table.js.map +1 -0
  489. package/dist/components-ui-tabs-tabs.cjs +3 -0
  490. package/dist/components-ui-tabs-tabs.cjs.map +1 -0
  491. package/dist/components-ui-tabs-tabs.js +62 -0
  492. package/dist/components-ui-tabs-tabs.js.map +1 -0
  493. package/dist/components-ui-tabs-tabs.styles.cjs +2 -0
  494. package/dist/components-ui-tabs-tabs.styles.cjs.map +1 -0
  495. package/dist/components-ui-tabs-tabs.styles.js +64 -0
  496. package/dist/components-ui-tabs-tabs.styles.js.map +1 -0
  497. package/dist/components-ui-tabs.cjs +2 -0
  498. package/dist/components-ui-tabs.cjs.map +1 -0
  499. package/dist/components-ui-tabs.js +8 -0
  500. package/dist/components-ui-tabs.js.map +1 -0
  501. package/dist/components-ui-textarea-textarea.cjs +2 -0
  502. package/dist/components-ui-textarea-textarea.cjs.map +1 -0
  503. package/dist/components-ui-textarea-textarea.js +16 -0
  504. package/dist/components-ui-textarea-textarea.js.map +1 -0
  505. package/dist/components-ui-textarea-textarea.styles.cjs +5 -0
  506. package/dist/components-ui-textarea-textarea.styles.cjs.map +1 -0
  507. package/dist/components-ui-textarea-textarea.styles.js +13 -0
  508. package/dist/components-ui-textarea-textarea.styles.js.map +1 -0
  509. package/dist/components-ui-textarea.cjs +2 -0
  510. package/dist/components-ui-textarea.cjs.map +1 -0
  511. package/dist/components-ui-textarea.js +5 -0
  512. package/dist/components-ui-textarea.js.map +1 -0
  513. package/dist/components-ui-tooltip-tooltip.cjs +2 -0
  514. package/dist/components-ui-tooltip-tooltip.cjs.map +1 -0
  515. package/dist/components-ui-tooltip-tooltip.js +28 -0
  516. package/dist/components-ui-tooltip-tooltip.js.map +1 -0
  517. package/dist/components-ui-tooltip-tooltip.styles.cjs +8 -0
  518. package/dist/components-ui-tooltip-tooltip.styles.cjs.map +1 -0
  519. package/dist/components-ui-tooltip-tooltip.styles.js +11 -0
  520. package/dist/components-ui-tooltip-tooltip.styles.js.map +1 -0
  521. package/dist/components-ui-tooltip.cjs +2 -0
  522. package/dist/components-ui-tooltip.cjs.map +1 -0
  523. package/dist/components-ui-tooltip.js +9 -0
  524. package/dist/components-ui-tooltip.js.map +1 -0
  525. package/dist/components-ui-typography-typography.cjs +2 -0
  526. package/dist/components-ui-typography-typography.cjs.map +1 -0
  527. package/dist/components-ui-typography-typography.js +19 -0
  528. package/dist/components-ui-typography-typography.js.map +1 -0
  529. package/dist/components-ui-typography-typography.styles.cjs +2 -0
  530. package/dist/components-ui-typography-typography.styles.cjs.map +1 -0
  531. package/dist/components-ui-typography-typography.styles.js +85 -0
  532. package/dist/components-ui-typography-typography.styles.js.map +1 -0
  533. package/dist/components-ui-typography.cjs +2 -0
  534. package/dist/components-ui-typography.cjs.map +1 -0
  535. package/dist/components-ui-typography.js +9 -0
  536. package/dist/components-ui-typography.js.map +1 -0
  537. package/dist/hooks-usePopupControls.cjs +2 -0
  538. package/dist/hooks-usePopupControls.cjs.map +1 -0
  539. package/dist/hooks-usePopupControls.js +14 -0
  540. package/dist/hooks-usePopupControls.js.map +1 -0
  541. package/dist/index-B5Id-jNC.js +2830 -0
  542. package/dist/index-B5Id-jNC.js.map +1 -0
  543. package/dist/index-C4iHL8Gs.js +776 -0
  544. package/dist/index-C4iHL8Gs.js.map +1 -0
  545. package/dist/index-C6N9aMq_.js +1038 -0
  546. package/dist/index-C6N9aMq_.js.map +1 -0
  547. package/dist/index-D8y9Cogu.cjs +7 -0
  548. package/dist/index-D8y9Cogu.cjs.map +1 -0
  549. package/dist/index-DGxwh2Ms.cjs +2 -0
  550. package/dist/index-DGxwh2Ms.cjs.map +1 -0
  551. package/dist/index-fTTv8YY8.cjs +4 -0
  552. package/dist/index-fTTv8YY8.cjs.map +1 -0
  553. package/dist/index.cjs +1 -371
  554. package/dist/index.cjs.map +1 -1
  555. package/dist/index.js +191 -47268
  556. package/dist/index.js.map +1 -1
  557. package/dist/lib-utils.cjs +2 -0
  558. package/dist/lib-utils.cjs.map +1 -0
  559. package/dist/lib-utils.js +16 -0
  560. package/dist/lib-utils.js.map +1 -0
  561. package/dist/lodash-FemA_LCk.js +3688 -0
  562. package/dist/lodash-FemA_LCk.js.map +1 -0
  563. package/dist/lodash-kqhtUJfz.cjs +21 -0
  564. package/dist/lodash-kqhtUJfz.cjs.map +1 -0
  565. package/dist/types-types.cjs +2 -0
  566. package/dist/types-types.cjs.map +1 -0
  567. package/dist/types-types.js +2 -0
  568. package/dist/types-types.js.map +1 -0
  569. package/dist/utils-helpers.cjs +2 -0
  570. package/dist/utils-helpers.cjs.map +1 -0
  571. package/dist/utils-helpers.js +17 -0
  572. package/dist/utils-helpers.js.map +1 -0
  573. package/dist/with-selector-CNcGWQ-h.js +534 -0
  574. package/dist/with-selector-CNcGWQ-h.js.map +1 -0
  575. package/dist/with-selector-DSbfqgSY.cjs +8 -0
  576. package/dist/with-selector-DSbfqgSY.cjs.map +1 -0
  577. package/package.json +409 -12
  578. package/dist/components/app-pagination/app-pagination.stories.d.ts +0 -52
  579. package/dist/components/app-sidebar/app-sidebar.stories.d.ts +0 -52
  580. package/dist/components/avatar-uploader/avatar-uploader.stories.d.ts +0 -7
  581. package/dist/components/basic-avatar/basic-avatar.stories.d.ts +0 -15
  582. package/dist/components/basic-chart/basic-chart.stories.d.ts +0 -23
  583. package/dist/components/basic-checkbox/basic-checkbox.stories.d.ts +0 -37
  584. package/dist/components/basic-drawer/basic-drawer.stories.d.ts +0 -7
  585. package/dist/components/basic-modal/basic-modal.stories.d.ts +0 -57
  586. package/dist/components/basic-select/basic-select.stories.d.ts +0 -10
  587. package/dist/components/basic-table/basic-table.stories.d.ts +0 -9
  588. package/dist/components/files-uploader/files-uploader.stories.d.ts +0 -70
  589. package/dist/components/input-field/input-field.stories.d.ts +0 -48
  590. package/dist/components/input-password/input-password.stories.d.ts +0 -57
  591. package/dist/components/popover-modal/popover-modal.stories.d.ts +0 -32
  592. package/dist/components/radio-button/radio-button.stories.d.ts +0 -28
  593. package/dist/components/select-field/select-field.stories.d.ts +0 -39
  594. package/dist/components/select-groups/select-groups.stories.d.ts +0 -50
  595. package/dist/components/textarea-field/textarea-field.stories.d.ts +0 -43
  596. package/dist/components/ui/badge/badge.stories.d.ts +0 -29
  597. package/dist/components/ui/button/button.stories.d.ts +0 -30
  598. package/dist/components/ui/card/card.stories.d.ts +0 -38
  599. package/dist/components/ui/checkbox/checkbox.stories.d.ts +0 -29
  600. package/dist/components/ui/combobox/combobox.stories.d.ts +0 -10
  601. package/dist/components/ui/dialog/dialog.stories.d.ts +0 -46
  602. package/dist/components/ui/field/field.stories.d.ts +0 -45
  603. package/dist/components/ui/icon/icon.stories.d.ts +0 -28
  604. package/dist/components/ui/input/input.stories.d.ts +0 -40
  605. package/dist/components/ui/input-group/input-group.stories.d.ts +0 -46
  606. package/dist/components/ui/label/label.stories.d.ts +0 -26
  607. package/dist/components/ui/navigation-item/navigation-item.stories.d.ts +0 -57
  608. package/dist/components/ui/navigation-menu/navigation-menu.stories.d.ts +0 -34
  609. package/dist/components/ui/pagination/pagination.stories.d.ts +0 -37
  610. package/dist/components/ui/popover/popover.stories.d.ts +0 -9
  611. package/dist/components/ui/progress/progress.stories.d.ts +0 -34
  612. package/dist/components/ui/radio-group/radio-group.stories.d.ts +0 -27
  613. package/dist/components/ui/select/select.stories.d.ts +0 -38
  614. package/dist/components/ui/separator/separator.stories.d.ts +0 -27
  615. package/dist/components/ui/sonner/sonner.stories.d.ts +0 -9
  616. package/dist/components/ui/switch/switch.stories.d.ts +0 -23
  617. package/dist/components/ui/table/table.stories.d.ts +0 -68
  618. package/dist/components/ui/tabs/tabs.stories.d.ts +0 -32
  619. package/dist/components/ui/textarea/textarea.stories.d.ts +0 -30
  620. package/dist/components/ui/tooltip/tooltip.stories.d.ts +0 -42
  621. package/dist/components/ui/typography/typography.stories.d.ts +0 -304
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-C6N9aMq_.js","sources":["../node_modules/.pnpm/vaul@1.1.2_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@19.2.14_react-dom_724ef6c3f0fbc86fbf11d8898c60a0ec/node_modules/vaul/dist/index.mjs"],"sourcesContent":["'use client';\nfunction __insertCSS(code) {\n if (!code || typeof document == 'undefined') return\n let head = document.head || document.getElementsByTagName('head')[0]\n let style = document.createElement('style')\n style.type = 'text/css'\n head.appendChild(style)\n ;style.styleSheet ? (style.styleSheet.cssText = code) : style.appendChild(document.createTextNode(code))\n}\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog';\nimport * as React from 'react';\nimport React__default, { useLayoutEffect, useEffect, useMemo } from 'react';\n\nconst DrawerContext = React__default.createContext({\n drawerRef: {\n current: null\n },\n overlayRef: {\n current: null\n },\n onPress: ()=>{},\n onRelease: ()=>{},\n onDrag: ()=>{},\n onNestedDrag: ()=>{},\n onNestedOpenChange: ()=>{},\n onNestedRelease: ()=>{},\n openProp: undefined,\n dismissible: false,\n isOpen: false,\n isDragging: false,\n keyboardIsOpen: {\n current: false\n },\n snapPointsOffset: null,\n snapPoints: null,\n handleOnly: false,\n modal: false,\n shouldFade: false,\n activeSnapPoint: null,\n onOpenChange: ()=>{},\n setActiveSnapPoint: ()=>{},\n closeDrawer: ()=>{},\n direction: 'bottom',\n shouldAnimate: {\n current: true\n },\n shouldScaleBackground: false,\n setBackgroundColorOnScale: true,\n noBodyStyles: false,\n container: null,\n autoFocus: false\n});\nconst useDrawerContext = ()=>{\n const context = React__default.useContext(DrawerContext);\n if (!context) {\n throw new Error('useDrawerContext must be used within a Drawer.Root');\n }\n return context;\n};\n\n__insertCSS(\"[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(\\n[data-state=closed]\\n){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}\");\n\nfunction isMobileFirefox() {\n const userAgent = navigator.userAgent;\n return typeof window !== 'undefined' && (/Firefox/.test(userAgent) && /Mobile/.test(userAgent) || // Android Firefox\n /FxiOS/.test(userAgent) // iOS Firefox\n );\n}\nfunction isMac() {\n return testPlatform(/^Mac/);\n}\nfunction isIPhone() {\n return testPlatform(/^iPhone/);\n}\nfunction isSafari() {\n return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n}\nfunction isIPad() {\n return testPlatform(/^iPad/) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n isMac() && navigator.maxTouchPoints > 1;\n}\nfunction isIOS() {\n return isIPhone() || isIPad();\n}\nfunction testPlatform(re) {\n return typeof window !== 'undefined' && window.navigator != null ? re.test(window.navigator.platform) : undefined;\n}\n\n// This code comes from https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/overlays/src/usePreventScroll.ts\nconst KEYBOARD_BUFFER = 24;\nconst useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\nfunction chain$1(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks){\n if (typeof callback === 'function') {\n callback(...args);\n }\n }\n };\n}\n// @ts-ignore\nconst visualViewport = typeof document !== 'undefined' && window.visualViewport;\nfunction isScrollable(node) {\n let style = window.getComputedStyle(node);\n return /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n}\nfunction getScrollParent(node) {\n if (isScrollable(node)) {\n node = node.parentElement;\n }\n while(node && !isScrollable(node)){\n node = node.parentElement;\n }\n return node || document.scrollingElement || document.documentElement;\n}\n// HTML input types that do not cause the software keyboard to appear.\nconst nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\n// The number of active usePreventScroll calls. Used to determine whether to revert back to the original page style/scroll position\nlet preventScrollCount = 0;\nlet restore;\n/**\n * Prevents scrolling on the document body on mount, and\n * restores it on unmount. Also ensures that content does not\n * shift due to the scrollbars disappearing.\n */ function usePreventScroll(options = {}) {\n let { isDisabled } = options;\n useIsomorphicLayoutEffect(()=>{\n if (isDisabled) {\n return;\n }\n preventScrollCount++;\n if (preventScrollCount === 1) {\n if (isIOS()) {\n restore = preventScrollMobileSafari();\n }\n }\n return ()=>{\n preventScrollCount--;\n if (preventScrollCount === 0) {\n restore == null ? void 0 : restore();\n }\n };\n }, [\n isDisabled\n ]);\n}\n// Mobile Safari is a whole different beast. Even with overflow: hidden,\n// it still scrolls the page in many situations:\n//\n// 1. When the bottom toolbar and address bar are collapsed, page scrolling is always allowed.\n// 2. When the keyboard is visible, the viewport does not resize. Instead, the keyboard covers part of\n// it, so it becomes scrollable.\n// 3. When tapping on an input, the page always scrolls so that the input is centered in the visual viewport.\n// This may cause even fixed position elements to scroll off the screen.\n// 4. When using the next/previous buttons in the keyboard to navigate between inputs, the whole page always\n// scrolls, even if the input is inside a nested scrollable element that could be scrolled instead.\n//\n// In order to work around these cases, and prevent scrolling without jankiness, we do a few things:\n//\n// 1. Prevent default on `touchmove` events that are not in a scrollable element. This prevents touch scrolling\n// on the window.\n// 2. Prevent default on `touchmove` events inside a scrollable element when the scroll position is at the\n// top or bottom. This avoids the whole page scrolling instead, but does prevent overscrolling.\n// 3. Prevent default on `touchend` events on input elements and handle focusing the element ourselves.\n// 4. When focusing an input, apply a transform to trick Safari into thinking the input is at the top\n// of the page, which prevents it from scrolling the page. After the input is focused, scroll the element\n// into view ourselves, without scrolling the whole page.\n// 5. Offset the body by the scroll position using a negative margin and scroll to the top. This should appear the\n// same visually, but makes the actual scroll position always zero. This is required to make all of the\n// above work or Safari will still try to scroll the page when focusing an input.\n// 6. As a last resort, handle window scroll events, and scroll back to the top. This can happen when attempting\n// to navigate to an input with the next/previous buttons that's outside a modal.\nfunction preventScrollMobileSafari() {\n let scrollable;\n let lastY = 0;\n let onTouchStart = (e)=>{\n // Store the nearest scrollable parent element from the element that the user touched.\n scrollable = getScrollParent(e.target);\n if (scrollable === document.documentElement && scrollable === document.body) {\n return;\n }\n lastY = e.changedTouches[0].pageY;\n };\n let onTouchMove = (e)=>{\n // Prevent scrolling the window.\n if (!scrollable || scrollable === document.documentElement || scrollable === document.body) {\n e.preventDefault();\n return;\n }\n // Prevent scrolling up when at the top and scrolling down when at the bottom\n // of a nested scrollable area, otherwise mobile Safari will start scrolling\n // the window instead. Unfortunately, this disables bounce scrolling when at\n // the top but it's the best we can do.\n let y = e.changedTouches[0].pageY;\n let scrollTop = scrollable.scrollTop;\n let bottom = scrollable.scrollHeight - scrollable.clientHeight;\n if (bottom === 0) {\n return;\n }\n if (scrollTop <= 0 && y > lastY || scrollTop >= bottom && y < lastY) {\n e.preventDefault();\n }\n lastY = y;\n };\n let onTouchEnd = (e)=>{\n let target = e.target;\n // Apply this change if we're not already focused on the target element\n if (isInput(target) && target !== document.activeElement) {\n e.preventDefault();\n // Apply a transform to trick Safari into thinking the input is at the top of the page\n // so it doesn't try to scroll it into view. When tapping on an input, this needs to\n // be done before the \"focus\" event, so we have to focus the element ourselves.\n target.style.transform = 'translateY(-2000px)';\n target.focus();\n requestAnimationFrame(()=>{\n target.style.transform = '';\n });\n }\n };\n let onFocus = (e)=>{\n let target = e.target;\n if (isInput(target)) {\n // Transform also needs to be applied in the focus event in cases where focus moves\n // other than tapping on an input directly, e.g. the next/previous buttons in the\n // software keyboard. In these cases, it seems applying the transform in the focus event\n // is good enough, whereas when tapping an input, it must be done before the focus event. 🤷‍♂️\n target.style.transform = 'translateY(-2000px)';\n requestAnimationFrame(()=>{\n target.style.transform = '';\n // This will have prevented the browser from scrolling the focused element into view,\n // so we need to do this ourselves in a way that doesn't cause the whole page to scroll.\n if (visualViewport) {\n if (visualViewport.height < window.innerHeight) {\n // If the keyboard is already visible, do this after one additional frame\n // to wait for the transform to be removed.\n requestAnimationFrame(()=>{\n scrollIntoView(target);\n });\n } else {\n // Otherwise, wait for the visual viewport to resize before scrolling so we can\n // measure the correct position to scroll to.\n visualViewport.addEventListener('resize', ()=>scrollIntoView(target), {\n once: true\n });\n }\n }\n });\n }\n };\n let onWindowScroll = ()=>{\n // Last resort. If the window scrolled, scroll it back to the top.\n // It should always be at the top because the body will have a negative margin (see below).\n window.scrollTo(0, 0);\n };\n // Record the original scroll position so we can restore it.\n // Then apply a negative margin to the body to offset it by the scroll position. This will\n // enable us to scroll the window to the top, which is required for the rest of this to work.\n let scrollX = window.pageXOffset;\n let scrollY = window.pageYOffset;\n let restoreStyles = chain$1(setStyle(document.documentElement, 'paddingRight', `${window.innerWidth - document.documentElement.clientWidth}px`));\n // Scroll to the top. The negative margin on the body will make this appear the same.\n window.scrollTo(0, 0);\n let removeEvents = chain$1(addEvent(document, 'touchstart', onTouchStart, {\n passive: false,\n capture: true\n }), addEvent(document, 'touchmove', onTouchMove, {\n passive: false,\n capture: true\n }), addEvent(document, 'touchend', onTouchEnd, {\n passive: false,\n capture: true\n }), addEvent(document, 'focus', onFocus, true), addEvent(window, 'scroll', onWindowScroll));\n return ()=>{\n // Restore styles and scroll the page back to where it was.\n restoreStyles();\n removeEvents();\n window.scrollTo(scrollX, scrollY);\n };\n}\n// Sets a CSS property on an element, and returns a function to revert it to the previous value.\nfunction setStyle(element, style, value) {\n // https://github.com/microsoft/TypeScript/issues/17827#issuecomment-391663310\n // @ts-ignore\n let cur = element.style[style];\n // @ts-ignore\n element.style[style] = value;\n return ()=>{\n // @ts-ignore\n element.style[style] = cur;\n };\n}\n// Adds an event listener to an element, and returns a function to remove it.\nfunction addEvent(target, event, handler, options) {\n // @ts-ignore\n target.addEventListener(event, handler, options);\n return ()=>{\n // @ts-ignore\n target.removeEventListener(event, handler, options);\n };\n}\nfunction scrollIntoView(target) {\n let root = document.scrollingElement || document.documentElement;\n while(target && target !== root){\n // Find the parent scrollable element and adjust the scroll position if the target is not already in view.\n let scrollable = getScrollParent(target);\n if (scrollable !== document.documentElement && scrollable !== document.body && scrollable !== target) {\n let scrollableTop = scrollable.getBoundingClientRect().top;\n let targetTop = target.getBoundingClientRect().top;\n let targetBottom = target.getBoundingClientRect().bottom;\n // Buffer is needed for some edge cases\n const keyboardHeight = scrollable.getBoundingClientRect().bottom + KEYBOARD_BUFFER;\n if (targetBottom > keyboardHeight) {\n scrollable.scrollTop += targetTop - scrollableTop;\n }\n }\n // @ts-ignore\n target = scrollable.parentElement;\n }\n}\nfunction isInput(target) {\n return target instanceof HTMLInputElement && !nonTextInputTypes.has(target.type) || target instanceof HTMLTextAreaElement || target instanceof HTMLElement && target.isContentEditable;\n}\n\n// This code comes from https://github.com/radix-ui/primitives/tree/main/packages/react/compose-refs\n/**\n * Set a given ref to a given value\n * This utility takes care of different types of refs: callback refs and RefObject(s)\n */ function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref !== null && ref !== undefined) {\n ref.current = value;\n }\n}\n/**\n * A utility to compose multiple refs together\n * Accepts callback refs and RefObject(s)\n */ function composeRefs(...refs) {\n return (node)=>refs.forEach((ref)=>setRef(ref, node));\n}\n/**\n * A custom hook that composes multiple refs\n * Accepts callback refs and RefObject(s)\n */ function useComposedRefs(...refs) {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useCallback(composeRefs(...refs), refs);\n}\n\nconst cache = new WeakMap();\nfunction set(el, styles, ignoreCache = false) {\n if (!el || !(el instanceof HTMLElement)) return;\n let originalStyles = {};\n Object.entries(styles).forEach(([key, value])=>{\n if (key.startsWith('--')) {\n el.style.setProperty(key, value);\n return;\n }\n originalStyles[key] = el.style[key];\n el.style[key] = value;\n });\n if (ignoreCache) return;\n cache.set(el, originalStyles);\n}\nfunction reset(el, prop) {\n if (!el || !(el instanceof HTMLElement)) return;\n let originalStyles = cache.get(el);\n if (!originalStyles) {\n return;\n }\n {\n el.style[prop] = originalStyles[prop];\n }\n}\nconst isVertical = (direction)=>{\n switch(direction){\n case 'top':\n case 'bottom':\n return true;\n case 'left':\n case 'right':\n return false;\n default:\n return direction;\n }\n};\nfunction getTranslate(element, direction) {\n if (!element) {\n return null;\n }\n const style = window.getComputedStyle(element);\n const transform = // @ts-ignore\n style.transform || style.webkitTransform || style.mozTransform;\n let mat = transform.match(/^matrix3d\\((.+)\\)$/);\n if (mat) {\n // https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/matrix3d\n return parseFloat(mat[1].split(', ')[isVertical(direction) ? 13 : 12]);\n }\n // https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/matrix\n mat = transform.match(/^matrix\\((.+)\\)$/);\n return mat ? parseFloat(mat[1].split(', ')[isVertical(direction) ? 5 : 4]) : null;\n}\nfunction dampenValue(v) {\n return 8 * (Math.log(v + 1) - 2);\n}\nfunction assignStyle(element, style) {\n if (!element) return ()=>{};\n const prevStyle = element.style.cssText;\n Object.assign(element.style, style);\n return ()=>{\n element.style.cssText = prevStyle;\n };\n}\n/**\n * Receives functions as arguments and returns a new function that calls all.\n */ function chain(...fns) {\n return (...args)=>{\n for (const fn of fns){\n if (typeof fn === 'function') {\n // @ts-ignore\n fn(...args);\n }\n }\n };\n}\n\nconst TRANSITIONS = {\n DURATION: 0.5,\n EASE: [\n 0.32,\n 0.72,\n 0,\n 1\n ]\n};\nconst VELOCITY_THRESHOLD = 0.4;\nconst CLOSE_THRESHOLD = 0.25;\nconst SCROLL_LOCK_TIMEOUT = 100;\nconst BORDER_RADIUS = 8;\nconst NESTED_DISPLACEMENT = 16;\nconst WINDOW_TOP_OFFSET = 26;\nconst DRAG_CLASS = 'vaul-dragging';\n\n// This code comes from https://github.com/radix-ui/primitives/blob/main/packages/react/use-controllable-state/src/useControllableState.tsx\nfunction useCallbackRef(callback) {\n const callbackRef = React__default.useRef(callback);\n React__default.useEffect(()=>{\n callbackRef.current = callback;\n });\n // https://github.com/facebook/react/issues/19240\n return React__default.useMemo(()=>(...args)=>callbackRef.current == null ? void 0 : callbackRef.current.call(callbackRef, ...args), []);\n}\nfunction useUncontrolledState({ defaultProp, onChange }) {\n const uncontrolledState = React__default.useState(defaultProp);\n const [value] = uncontrolledState;\n const prevValueRef = React__default.useRef(value);\n const handleChange = useCallbackRef(onChange);\n React__default.useEffect(()=>{\n if (prevValueRef.current !== value) {\n handleChange(value);\n prevValueRef.current = value;\n }\n }, [\n value,\n prevValueRef,\n handleChange\n ]);\n return uncontrolledState;\n}\nfunction useControllableState({ prop, defaultProp, onChange = ()=>{} }) {\n const [uncontrolledProp, setUncontrolledProp] = useUncontrolledState({\n defaultProp,\n onChange\n });\n const isControlled = prop !== undefined;\n const value = isControlled ? prop : uncontrolledProp;\n const handleChange = useCallbackRef(onChange);\n const setValue = React__default.useCallback((nextValue)=>{\n if (isControlled) {\n const setter = nextValue;\n const value = typeof nextValue === 'function' ? setter(prop) : nextValue;\n if (value !== prop) handleChange(value);\n } else {\n setUncontrolledProp(nextValue);\n }\n }, [\n isControlled,\n prop,\n setUncontrolledProp,\n handleChange\n ]);\n return [\n value,\n setValue\n ];\n}\n\nfunction useSnapPoints({ activeSnapPointProp, setActiveSnapPointProp, snapPoints, drawerRef, overlayRef, fadeFromIndex, onSnapPointChange, direction = 'bottom', container, snapToSequentialPoint }) {\n const [activeSnapPoint, setActiveSnapPoint] = useControllableState({\n prop: activeSnapPointProp,\n defaultProp: snapPoints == null ? void 0 : snapPoints[0],\n onChange: setActiveSnapPointProp\n });\n const [windowDimensions, setWindowDimensions] = React__default.useState(typeof window !== 'undefined' ? {\n innerWidth: window.innerWidth,\n innerHeight: window.innerHeight\n } : undefined);\n React__default.useEffect(()=>{\n function onResize() {\n setWindowDimensions({\n innerWidth: window.innerWidth,\n innerHeight: window.innerHeight\n });\n }\n window.addEventListener('resize', onResize);\n return ()=>window.removeEventListener('resize', onResize);\n }, []);\n const isLastSnapPoint = React__default.useMemo(()=>activeSnapPoint === (snapPoints == null ? void 0 : snapPoints[snapPoints.length - 1]) || null, [\n snapPoints,\n activeSnapPoint\n ]);\n const activeSnapPointIndex = React__default.useMemo(()=>{\n var _snapPoints_findIndex;\n return (_snapPoints_findIndex = snapPoints == null ? void 0 : snapPoints.findIndex((snapPoint)=>snapPoint === activeSnapPoint)) != null ? _snapPoints_findIndex : null;\n }, [\n snapPoints,\n activeSnapPoint\n ]);\n const shouldFade = snapPoints && snapPoints.length > 0 && (fadeFromIndex || fadeFromIndex === 0) && !Number.isNaN(fadeFromIndex) && snapPoints[fadeFromIndex] === activeSnapPoint || !snapPoints;\n const snapPointsOffset = React__default.useMemo(()=>{\n const containerSize = container ? {\n width: container.getBoundingClientRect().width,\n height: container.getBoundingClientRect().height\n } : typeof window !== 'undefined' ? {\n width: window.innerWidth,\n height: window.innerHeight\n } : {\n width: 0,\n height: 0\n };\n var _snapPoints_map;\n return (_snapPoints_map = snapPoints == null ? void 0 : snapPoints.map((snapPoint)=>{\n const isPx = typeof snapPoint === 'string';\n let snapPointAsNumber = 0;\n if (isPx) {\n snapPointAsNumber = parseInt(snapPoint, 10);\n }\n if (isVertical(direction)) {\n const height = isPx ? snapPointAsNumber : windowDimensions ? snapPoint * containerSize.height : 0;\n if (windowDimensions) {\n return direction === 'bottom' ? containerSize.height - height : -containerSize.height + height;\n }\n return height;\n }\n const width = isPx ? snapPointAsNumber : windowDimensions ? snapPoint * containerSize.width : 0;\n if (windowDimensions) {\n return direction === 'right' ? containerSize.width - width : -containerSize.width + width;\n }\n return width;\n })) != null ? _snapPoints_map : [];\n }, [\n snapPoints,\n windowDimensions,\n container\n ]);\n const activeSnapPointOffset = React__default.useMemo(()=>activeSnapPointIndex !== null ? snapPointsOffset == null ? void 0 : snapPointsOffset[activeSnapPointIndex] : null, [\n snapPointsOffset,\n activeSnapPointIndex\n ]);\n const snapToPoint = React__default.useCallback((dimension)=>{\n var _snapPointsOffset_findIndex;\n const newSnapPointIndex = (_snapPointsOffset_findIndex = snapPointsOffset == null ? void 0 : snapPointsOffset.findIndex((snapPointDim)=>snapPointDim === dimension)) != null ? _snapPointsOffset_findIndex : null;\n onSnapPointChange(newSnapPointIndex);\n set(drawerRef.current, {\n transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,\n transform: isVertical(direction) ? `translate3d(0, ${dimension}px, 0)` : `translate3d(${dimension}px, 0, 0)`\n });\n if (snapPointsOffset && newSnapPointIndex !== snapPointsOffset.length - 1 && fadeFromIndex !== undefined && newSnapPointIndex !== fadeFromIndex && newSnapPointIndex < fadeFromIndex) {\n set(overlayRef.current, {\n transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,\n opacity: '0'\n });\n } else {\n set(overlayRef.current, {\n transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,\n opacity: '1'\n });\n }\n setActiveSnapPoint(snapPoints == null ? void 0 : snapPoints[Math.max(newSnapPointIndex, 0)]);\n }, [\n drawerRef.current,\n snapPoints,\n snapPointsOffset,\n fadeFromIndex,\n overlayRef,\n setActiveSnapPoint\n ]);\n React__default.useEffect(()=>{\n if (activeSnapPoint || activeSnapPointProp) {\n var _snapPoints_findIndex;\n const newIndex = (_snapPoints_findIndex = snapPoints == null ? void 0 : snapPoints.findIndex((snapPoint)=>snapPoint === activeSnapPointProp || snapPoint === activeSnapPoint)) != null ? _snapPoints_findIndex : -1;\n if (snapPointsOffset && newIndex !== -1 && typeof snapPointsOffset[newIndex] === 'number') {\n snapToPoint(snapPointsOffset[newIndex]);\n }\n }\n }, [\n activeSnapPoint,\n activeSnapPointProp,\n snapPoints,\n snapPointsOffset,\n snapToPoint\n ]);\n function onRelease({ draggedDistance, closeDrawer, velocity, dismissible }) {\n if (fadeFromIndex === undefined) return;\n const currentPosition = direction === 'bottom' || direction === 'right' ? (activeSnapPointOffset != null ? activeSnapPointOffset : 0) - draggedDistance : (activeSnapPointOffset != null ? activeSnapPointOffset : 0) + draggedDistance;\n const isOverlaySnapPoint = activeSnapPointIndex === fadeFromIndex - 1;\n const isFirst = activeSnapPointIndex === 0;\n const hasDraggedUp = draggedDistance > 0;\n if (isOverlaySnapPoint) {\n set(overlayRef.current, {\n transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`\n });\n }\n if (!snapToSequentialPoint && velocity > 2 && !hasDraggedUp) {\n if (dismissible) closeDrawer();\n else snapToPoint(snapPointsOffset[0]); // snap to initial point\n return;\n }\n if (!snapToSequentialPoint && velocity > 2 && hasDraggedUp && snapPointsOffset && snapPoints) {\n snapToPoint(snapPointsOffset[snapPoints.length - 1]);\n return;\n }\n // Find the closest snap point to the current position\n const closestSnapPoint = snapPointsOffset == null ? void 0 : snapPointsOffset.reduce((prev, curr)=>{\n if (typeof prev !== 'number' || typeof curr !== 'number') return prev;\n return Math.abs(curr - currentPosition) < Math.abs(prev - currentPosition) ? curr : prev;\n });\n const dim = isVertical(direction) ? window.innerHeight : window.innerWidth;\n if (velocity > VELOCITY_THRESHOLD && Math.abs(draggedDistance) < dim * 0.4) {\n const dragDirection = hasDraggedUp ? 1 : -1; // 1 = up, -1 = down\n // Don't do anything if we swipe upwards while being on the last snap point\n if (dragDirection > 0 && isLastSnapPoint && snapPoints) {\n snapToPoint(snapPointsOffset[snapPoints.length - 1]);\n return;\n }\n if (isFirst && dragDirection < 0 && dismissible) {\n closeDrawer();\n }\n if (activeSnapPointIndex === null) return;\n snapToPoint(snapPointsOffset[activeSnapPointIndex + dragDirection]);\n return;\n }\n snapToPoint(closestSnapPoint);\n }\n function onDrag({ draggedDistance }) {\n if (activeSnapPointOffset === null) return;\n const newValue = direction === 'bottom' || direction === 'right' ? activeSnapPointOffset - draggedDistance : activeSnapPointOffset + draggedDistance;\n // Don't do anything if we exceed the last(biggest) snap point\n if ((direction === 'bottom' || direction === 'right') && newValue < snapPointsOffset[snapPointsOffset.length - 1]) {\n return;\n }\n if ((direction === 'top' || direction === 'left') && newValue > snapPointsOffset[snapPointsOffset.length - 1]) {\n return;\n }\n set(drawerRef.current, {\n transform: isVertical(direction) ? `translate3d(0, ${newValue}px, 0)` : `translate3d(${newValue}px, 0, 0)`\n });\n }\n function getPercentageDragged(absDraggedDistance, isDraggingDown) {\n if (!snapPoints || typeof activeSnapPointIndex !== 'number' || !snapPointsOffset || fadeFromIndex === undefined) return null;\n // If this is true we are dragging to a snap point that is supposed to have an overlay\n const isOverlaySnapPoint = activeSnapPointIndex === fadeFromIndex - 1;\n const isOverlaySnapPointOrHigher = activeSnapPointIndex >= fadeFromIndex;\n if (isOverlaySnapPointOrHigher && isDraggingDown) {\n return 0;\n }\n // Don't animate, but still use this one if we are dragging away from the overlaySnapPoint\n if (isOverlaySnapPoint && !isDraggingDown) return 1;\n if (!shouldFade && !isOverlaySnapPoint) return null;\n // Either fadeFrom index or the one before\n const targetSnapPointIndex = isOverlaySnapPoint ? activeSnapPointIndex + 1 : activeSnapPointIndex - 1;\n // Get the distance from overlaySnapPoint to the one before or vice-versa to calculate the opacity percentage accordingly\n const snapPointDistance = isOverlaySnapPoint ? snapPointsOffset[targetSnapPointIndex] - snapPointsOffset[targetSnapPointIndex - 1] : snapPointsOffset[targetSnapPointIndex + 1] - snapPointsOffset[targetSnapPointIndex];\n const percentageDragged = absDraggedDistance / Math.abs(snapPointDistance);\n if (isOverlaySnapPoint) {\n return 1 - percentageDragged;\n } else {\n return percentageDragged;\n }\n }\n return {\n isLastSnapPoint,\n activeSnapPoint,\n shouldFade,\n getPercentageDragged,\n setActiveSnapPoint,\n activeSnapPointIndex,\n onRelease,\n onDrag,\n snapPointsOffset\n };\n}\n\nconst noop = ()=>()=>{};\nfunction useScaleBackground() {\n const { direction, isOpen, shouldScaleBackground, setBackgroundColorOnScale, noBodyStyles } = useDrawerContext();\n const timeoutIdRef = React__default.useRef(null);\n const initialBackgroundColor = useMemo(()=>document.body.style.backgroundColor, []);\n function getScale() {\n return (window.innerWidth - WINDOW_TOP_OFFSET) / window.innerWidth;\n }\n React__default.useEffect(()=>{\n if (isOpen && shouldScaleBackground) {\n if (timeoutIdRef.current) clearTimeout(timeoutIdRef.current);\n const wrapper = document.querySelector('[data-vaul-drawer-wrapper]') || document.querySelector('[vaul-drawer-wrapper]');\n if (!wrapper) return;\n chain(setBackgroundColorOnScale && !noBodyStyles ? assignStyle(document.body, {\n background: 'black'\n }) : noop, assignStyle(wrapper, {\n transformOrigin: isVertical(direction) ? 'top' : 'left',\n transitionProperty: 'transform, border-radius',\n transitionDuration: `${TRANSITIONS.DURATION}s`,\n transitionTimingFunction: `cubic-bezier(${TRANSITIONS.EASE.join(',')})`\n }));\n const wrapperStylesCleanup = assignStyle(wrapper, {\n borderRadius: `${BORDER_RADIUS}px`,\n overflow: 'hidden',\n ...isVertical(direction) ? {\n transform: `scale(${getScale()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`\n } : {\n transform: `scale(${getScale()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`\n }\n });\n return ()=>{\n wrapperStylesCleanup();\n timeoutIdRef.current = window.setTimeout(()=>{\n if (initialBackgroundColor) {\n document.body.style.background = initialBackgroundColor;\n } else {\n document.body.style.removeProperty('background');\n }\n }, TRANSITIONS.DURATION * 1000);\n };\n }\n }, [\n isOpen,\n shouldScaleBackground,\n initialBackgroundColor\n ]);\n}\n\nlet previousBodyPosition = null;\n/**\n * This hook is necessary to prevent buggy behavior on iOS devices (need to test on Android).\n * I won't get into too much detail about what bugs it solves, but so far I've found that setting the body to `position: fixed` is the most reliable way to prevent those bugs.\n * Issues that this hook solves:\n * https://github.com/emilkowalski/vaul/issues/435\n * https://github.com/emilkowalski/vaul/issues/433\n * And more that I discovered, but were just not reported.\n */ function usePositionFixed({ isOpen, modal, nested, hasBeenOpened, preventScrollRestoration, noBodyStyles }) {\n const [activeUrl, setActiveUrl] = React__default.useState(()=>typeof window !== 'undefined' ? window.location.href : '');\n const scrollPos = React__default.useRef(0);\n const setPositionFixed = React__default.useCallback(()=>{\n // All browsers on iOS will return true here.\n if (!isSafari()) return;\n // If previousBodyPosition is already set, don't set it again.\n if (previousBodyPosition === null && isOpen && !noBodyStyles) {\n previousBodyPosition = {\n position: document.body.style.position,\n top: document.body.style.top,\n left: document.body.style.left,\n height: document.body.style.height,\n right: 'unset'\n };\n // Update the dom inside an animation frame\n const { scrollX, innerHeight } = window;\n document.body.style.setProperty('position', 'fixed', 'important');\n Object.assign(document.body.style, {\n top: `${-scrollPos.current}px`,\n left: `${-scrollX}px`,\n right: '0px',\n height: 'auto'\n });\n window.setTimeout(()=>window.requestAnimationFrame(()=>{\n // Attempt to check if the bottom bar appeared due to the position change\n const bottomBarHeight = innerHeight - window.innerHeight;\n if (bottomBarHeight && scrollPos.current >= innerHeight) {\n // Move the content further up so that the bottom bar doesn't hide it\n document.body.style.top = `${-(scrollPos.current + bottomBarHeight)}px`;\n }\n }), 300);\n }\n }, [\n isOpen\n ]);\n const restorePositionSetting = React__default.useCallback(()=>{\n // All browsers on iOS will return true here.\n if (!isSafari()) return;\n if (previousBodyPosition !== null && !noBodyStyles) {\n // Convert the position from \"px\" to Int\n const y = -parseInt(document.body.style.top, 10);\n const x = -parseInt(document.body.style.left, 10);\n // Restore styles\n Object.assign(document.body.style, previousBodyPosition);\n window.requestAnimationFrame(()=>{\n if (preventScrollRestoration && activeUrl !== window.location.href) {\n setActiveUrl(window.location.href);\n return;\n }\n window.scrollTo(x, y);\n });\n previousBodyPosition = null;\n }\n }, [\n activeUrl\n ]);\n React__default.useEffect(()=>{\n function onScroll() {\n scrollPos.current = window.scrollY;\n }\n onScroll();\n window.addEventListener('scroll', onScroll);\n return ()=>{\n window.removeEventListener('scroll', onScroll);\n };\n }, []);\n React__default.useEffect(()=>{\n if (!modal) return;\n return ()=>{\n if (typeof document === 'undefined') return;\n // Another drawer is opened, safe to ignore the execution\n const hasDrawerOpened = !!document.querySelector('[data-vaul-drawer]');\n if (hasDrawerOpened) return;\n restorePositionSetting();\n };\n }, [\n modal,\n restorePositionSetting\n ]);\n React__default.useEffect(()=>{\n if (nested || !hasBeenOpened) return;\n // This is needed to force Safari toolbar to show **before** the drawer starts animating to prevent a gnarly shift from happening\n if (isOpen) {\n // avoid for standalone mode (PWA)\n const isStandalone = window.matchMedia('(display-mode: standalone)').matches;\n !isStandalone && setPositionFixed();\n if (!modal) {\n window.setTimeout(()=>{\n restorePositionSetting();\n }, 500);\n }\n } else {\n restorePositionSetting();\n }\n }, [\n isOpen,\n hasBeenOpened,\n activeUrl,\n modal,\n nested,\n setPositionFixed,\n restorePositionSetting\n ]);\n return {\n restorePositionSetting\n };\n}\n\nfunction Root({ open: openProp, onOpenChange, children, onDrag: onDragProp, onRelease: onReleaseProp, snapPoints, shouldScaleBackground = false, setBackgroundColorOnScale = true, closeThreshold = CLOSE_THRESHOLD, scrollLockTimeout = SCROLL_LOCK_TIMEOUT, dismissible = true, handleOnly = false, fadeFromIndex = snapPoints && snapPoints.length - 1, activeSnapPoint: activeSnapPointProp, setActiveSnapPoint: setActiveSnapPointProp, fixed, modal = true, onClose, nested, noBodyStyles = false, direction = 'bottom', defaultOpen = false, disablePreventScroll = true, snapToSequentialPoint = false, preventScrollRestoration = false, repositionInputs = true, onAnimationEnd, container, autoFocus = false }) {\n var _drawerRef_current, _drawerRef_current1;\n const [isOpen = false, setIsOpen] = useControllableState({\n defaultProp: defaultOpen,\n prop: openProp,\n onChange: (o)=>{\n onOpenChange == null ? void 0 : onOpenChange(o);\n if (!o && !nested) {\n restorePositionSetting();\n }\n setTimeout(()=>{\n onAnimationEnd == null ? void 0 : onAnimationEnd(o);\n }, TRANSITIONS.DURATION * 1000);\n if (o && !modal) {\n if (typeof window !== 'undefined') {\n window.requestAnimationFrame(()=>{\n document.body.style.pointerEvents = 'auto';\n });\n }\n }\n if (!o) {\n // This will be removed when the exit animation ends (`500ms`)\n document.body.style.pointerEvents = 'auto';\n }\n }\n });\n const [hasBeenOpened, setHasBeenOpened] = React__default.useState(false);\n const [isDragging, setIsDragging] = React__default.useState(false);\n const [justReleased, setJustReleased] = React__default.useState(false);\n const overlayRef = React__default.useRef(null);\n const openTime = React__default.useRef(null);\n const dragStartTime = React__default.useRef(null);\n const dragEndTime = React__default.useRef(null);\n const lastTimeDragPrevented = React__default.useRef(null);\n const isAllowedToDrag = React__default.useRef(false);\n const nestedOpenChangeTimer = React__default.useRef(null);\n const pointerStart = React__default.useRef(0);\n const keyboardIsOpen = React__default.useRef(false);\n const shouldAnimate = React__default.useRef(!defaultOpen);\n const previousDiffFromInitial = React__default.useRef(0);\n const drawerRef = React__default.useRef(null);\n const drawerHeightRef = React__default.useRef(((_drawerRef_current = drawerRef.current) == null ? void 0 : _drawerRef_current.getBoundingClientRect().height) || 0);\n const drawerWidthRef = React__default.useRef(((_drawerRef_current1 = drawerRef.current) == null ? void 0 : _drawerRef_current1.getBoundingClientRect().width) || 0);\n const initialDrawerHeight = React__default.useRef(0);\n const onSnapPointChange = React__default.useCallback((activeSnapPointIndex)=>{\n // Change openTime ref when we reach the last snap point to prevent dragging for 500ms incase it's scrollable.\n if (snapPoints && activeSnapPointIndex === snapPointsOffset.length - 1) openTime.current = new Date();\n }, []);\n const { activeSnapPoint, activeSnapPointIndex, setActiveSnapPoint, onRelease: onReleaseSnapPoints, snapPointsOffset, onDrag: onDragSnapPoints, shouldFade, getPercentageDragged: getSnapPointsPercentageDragged } = useSnapPoints({\n snapPoints,\n activeSnapPointProp,\n setActiveSnapPointProp,\n drawerRef,\n fadeFromIndex,\n overlayRef,\n onSnapPointChange,\n direction,\n container,\n snapToSequentialPoint\n });\n usePreventScroll({\n isDisabled: !isOpen || isDragging || !modal || justReleased || !hasBeenOpened || !repositionInputs || !disablePreventScroll\n });\n const { restorePositionSetting } = usePositionFixed({\n isOpen,\n modal,\n nested: nested != null ? nested : false,\n hasBeenOpened,\n preventScrollRestoration,\n noBodyStyles\n });\n function getScale() {\n return (window.innerWidth - WINDOW_TOP_OFFSET) / window.innerWidth;\n }\n function onPress(event) {\n var _drawerRef_current, _drawerRef_current1;\n if (!dismissible && !snapPoints) return;\n if (drawerRef.current && !drawerRef.current.contains(event.target)) return;\n drawerHeightRef.current = ((_drawerRef_current = drawerRef.current) == null ? void 0 : _drawerRef_current.getBoundingClientRect().height) || 0;\n drawerWidthRef.current = ((_drawerRef_current1 = drawerRef.current) == null ? void 0 : _drawerRef_current1.getBoundingClientRect().width) || 0;\n setIsDragging(true);\n dragStartTime.current = new Date();\n // iOS doesn't trigger mouseUp after scrolling so we need to listen to touched in order to disallow dragging\n if (isIOS()) {\n window.addEventListener('touchend', ()=>isAllowedToDrag.current = false, {\n once: true\n });\n }\n // Ensure we maintain correct pointer capture even when going outside of the drawer\n event.target.setPointerCapture(event.pointerId);\n pointerStart.current = isVertical(direction) ? event.pageY : event.pageX;\n }\n function shouldDrag(el, isDraggingInDirection) {\n var _window_getSelection;\n let element = el;\n const highlightedText = (_window_getSelection = window.getSelection()) == null ? void 0 : _window_getSelection.toString();\n const swipeAmount = drawerRef.current ? getTranslate(drawerRef.current, direction) : null;\n const date = new Date();\n // Fixes https://github.com/emilkowalski/vaul/issues/483\n if (element.tagName === 'SELECT') {\n return false;\n }\n if (element.hasAttribute('data-vaul-no-drag') || element.closest('[data-vaul-no-drag]')) {\n return false;\n }\n if (direction === 'right' || direction === 'left') {\n return true;\n }\n // Allow scrolling when animating\n if (openTime.current && date.getTime() - openTime.current.getTime() < 500) {\n return false;\n }\n if (swipeAmount !== null) {\n if (direction === 'bottom' ? swipeAmount > 0 : swipeAmount < 0) {\n return true;\n }\n }\n // Don't drag if there's highlighted text\n if (highlightedText && highlightedText.length > 0) {\n return false;\n }\n // Disallow dragging if drawer was scrolled within `scrollLockTimeout`\n if (lastTimeDragPrevented.current && date.getTime() - lastTimeDragPrevented.current.getTime() < scrollLockTimeout && swipeAmount === 0) {\n lastTimeDragPrevented.current = date;\n return false;\n }\n if (isDraggingInDirection) {\n lastTimeDragPrevented.current = date;\n // We are dragging down so we should allow scrolling\n return false;\n }\n // Keep climbing up the DOM tree as long as there's a parent\n while(element){\n // Check if the element is scrollable\n if (element.scrollHeight > element.clientHeight) {\n if (element.scrollTop !== 0) {\n lastTimeDragPrevented.current = new Date();\n // The element is scrollable and not scrolled to the top, so don't drag\n return false;\n }\n if (element.getAttribute('role') === 'dialog') {\n return true;\n }\n }\n // Move up to the parent element\n element = element.parentNode;\n }\n // No scrollable parents not scrolled to the top found, so drag\n return true;\n }\n function onDrag(event) {\n if (!drawerRef.current) {\n return;\n }\n // We need to know how much of the drawer has been dragged in percentages so that we can transform background accordingly\n if (isDragging) {\n const directionMultiplier = direction === 'bottom' || direction === 'right' ? 1 : -1;\n const draggedDistance = (pointerStart.current - (isVertical(direction) ? event.pageY : event.pageX)) * directionMultiplier;\n const isDraggingInDirection = draggedDistance > 0;\n // Pre condition for disallowing dragging in the close direction.\n const noCloseSnapPointsPreCondition = snapPoints && !dismissible && !isDraggingInDirection;\n // Disallow dragging down to close when first snap point is the active one and dismissible prop is set to false.\n if (noCloseSnapPointsPreCondition && activeSnapPointIndex === 0) return;\n // We need to capture last time when drag with scroll was triggered and have a timeout between\n const absDraggedDistance = Math.abs(draggedDistance);\n const wrapper = document.querySelector('[data-vaul-drawer-wrapper]');\n const drawerDimension = direction === 'bottom' || direction === 'top' ? drawerHeightRef.current : drawerWidthRef.current;\n // Calculate the percentage dragged, where 1 is the closed position\n let percentageDragged = absDraggedDistance / drawerDimension;\n const snapPointPercentageDragged = getSnapPointsPercentageDragged(absDraggedDistance, isDraggingInDirection);\n if (snapPointPercentageDragged !== null) {\n percentageDragged = snapPointPercentageDragged;\n }\n // Disallow close dragging beyond the smallest snap point.\n if (noCloseSnapPointsPreCondition && percentageDragged >= 1) {\n return;\n }\n if (!isAllowedToDrag.current && !shouldDrag(event.target, isDraggingInDirection)) return;\n drawerRef.current.classList.add(DRAG_CLASS);\n // If shouldDrag gave true once after pressing down on the drawer, we set isAllowedToDrag to true and it will remain true until we let go, there's no reason to disable dragging mid way, ever, and that's the solution to it\n isAllowedToDrag.current = true;\n set(drawerRef.current, {\n transition: 'none'\n });\n set(overlayRef.current, {\n transition: 'none'\n });\n if (snapPoints) {\n onDragSnapPoints({\n draggedDistance\n });\n }\n // Run this only if snapPoints are not defined or if we are at the last snap point (highest one)\n if (isDraggingInDirection && !snapPoints) {\n const dampenedDraggedDistance = dampenValue(draggedDistance);\n const translateValue = Math.min(dampenedDraggedDistance * -1, 0) * directionMultiplier;\n set(drawerRef.current, {\n transform: isVertical(direction) ? `translate3d(0, ${translateValue}px, 0)` : `translate3d(${translateValue}px, 0, 0)`\n });\n return;\n }\n const opacityValue = 1 - percentageDragged;\n if (shouldFade || fadeFromIndex && activeSnapPointIndex === fadeFromIndex - 1) {\n onDragProp == null ? void 0 : onDragProp(event, percentageDragged);\n set(overlayRef.current, {\n opacity: `${opacityValue}`,\n transition: 'none'\n }, true);\n }\n if (wrapper && overlayRef.current && shouldScaleBackground) {\n // Calculate percentageDragged as a fraction (0 to 1)\n const scaleValue = Math.min(getScale() + percentageDragged * (1 - getScale()), 1);\n const borderRadiusValue = 8 - percentageDragged * 8;\n const translateValue = Math.max(0, 14 - percentageDragged * 14);\n set(wrapper, {\n borderRadius: `${borderRadiusValue}px`,\n transform: isVertical(direction) ? `scale(${scaleValue}) translate3d(0, ${translateValue}px, 0)` : `scale(${scaleValue}) translate3d(${translateValue}px, 0, 0)`,\n transition: 'none'\n }, true);\n }\n if (!snapPoints) {\n const translateValue = absDraggedDistance * directionMultiplier;\n set(drawerRef.current, {\n transform: isVertical(direction) ? `translate3d(0, ${translateValue}px, 0)` : `translate3d(${translateValue}px, 0, 0)`\n });\n }\n }\n }\n React__default.useEffect(()=>{\n window.requestAnimationFrame(()=>{\n shouldAnimate.current = true;\n });\n }, []);\n React__default.useEffect(()=>{\n var _window_visualViewport;\n function onVisualViewportChange() {\n if (!drawerRef.current || !repositionInputs) return;\n const focusedElement = document.activeElement;\n if (isInput(focusedElement) || keyboardIsOpen.current) {\n var _window_visualViewport;\n const visualViewportHeight = ((_window_visualViewport = window.visualViewport) == null ? void 0 : _window_visualViewport.height) || 0;\n const totalHeight = window.innerHeight;\n // This is the height of the keyboard\n let diffFromInitial = totalHeight - visualViewportHeight;\n const drawerHeight = drawerRef.current.getBoundingClientRect().height || 0;\n // Adjust drawer height only if it's tall enough\n const isTallEnough = drawerHeight > totalHeight * 0.8;\n if (!initialDrawerHeight.current) {\n initialDrawerHeight.current = drawerHeight;\n }\n const offsetFromTop = drawerRef.current.getBoundingClientRect().top;\n // visualViewport height may change due to somq e subtle changes to the keyboard. Checking if the height changed by 60 or more will make sure that they keyboard really changed its open state.\n if (Math.abs(previousDiffFromInitial.current - diffFromInitial) > 60) {\n keyboardIsOpen.current = !keyboardIsOpen.current;\n }\n if (snapPoints && snapPoints.length > 0 && snapPointsOffset && activeSnapPointIndex) {\n const activeSnapPointHeight = snapPointsOffset[activeSnapPointIndex] || 0;\n diffFromInitial += activeSnapPointHeight;\n }\n previousDiffFromInitial.current = diffFromInitial;\n // We don't have to change the height if the input is in view, when we are here we are in the opened keyboard state so we can correctly check if the input is in view\n if (drawerHeight > visualViewportHeight || keyboardIsOpen.current) {\n const height = drawerRef.current.getBoundingClientRect().height;\n let newDrawerHeight = height;\n if (height > visualViewportHeight) {\n newDrawerHeight = visualViewportHeight - (isTallEnough ? offsetFromTop : WINDOW_TOP_OFFSET);\n }\n // When fixed, don't move the drawer upwards if there's space, but rather only change it's height so it's fully scrollable when the keyboard is open\n if (fixed) {\n drawerRef.current.style.height = `${height - Math.max(diffFromInitial, 0)}px`;\n } else {\n drawerRef.current.style.height = `${Math.max(newDrawerHeight, visualViewportHeight - offsetFromTop)}px`;\n }\n } else if (!isMobileFirefox()) {\n drawerRef.current.style.height = `${initialDrawerHeight.current}px`;\n }\n if (snapPoints && snapPoints.length > 0 && !keyboardIsOpen.current) {\n drawerRef.current.style.bottom = `0px`;\n } else {\n // Negative bottom value would never make sense\n drawerRef.current.style.bottom = `${Math.max(diffFromInitial, 0)}px`;\n }\n }\n }\n (_window_visualViewport = window.visualViewport) == null ? void 0 : _window_visualViewport.addEventListener('resize', onVisualViewportChange);\n return ()=>{\n var _window_visualViewport;\n return (_window_visualViewport = window.visualViewport) == null ? void 0 : _window_visualViewport.removeEventListener('resize', onVisualViewportChange);\n };\n }, [\n activeSnapPointIndex,\n snapPoints,\n snapPointsOffset\n ]);\n function closeDrawer(fromWithin) {\n cancelDrag();\n onClose == null ? void 0 : onClose();\n if (!fromWithin) {\n setIsOpen(false);\n }\n setTimeout(()=>{\n if (snapPoints) {\n setActiveSnapPoint(snapPoints[0]);\n }\n }, TRANSITIONS.DURATION * 1000); // seconds to ms\n }\n function resetDrawer() {\n if (!drawerRef.current) return;\n const wrapper = document.querySelector('[data-vaul-drawer-wrapper]');\n const currentSwipeAmount = getTranslate(drawerRef.current, direction);\n set(drawerRef.current, {\n transform: 'translate3d(0, 0, 0)',\n transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`\n });\n set(overlayRef.current, {\n transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,\n opacity: '1'\n });\n // Don't reset background if swiped upwards\n if (shouldScaleBackground && currentSwipeAmount && currentSwipeAmount > 0 && isOpen) {\n set(wrapper, {\n borderRadius: `${BORDER_RADIUS}px`,\n overflow: 'hidden',\n ...isVertical(direction) ? {\n transform: `scale(${getScale()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,\n transformOrigin: 'top'\n } : {\n transform: `scale(${getScale()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,\n transformOrigin: 'left'\n },\n transitionProperty: 'transform, border-radius',\n transitionDuration: `${TRANSITIONS.DURATION}s`,\n transitionTimingFunction: `cubic-bezier(${TRANSITIONS.EASE.join(',')})`\n }, true);\n }\n }\n function cancelDrag() {\n if (!isDragging || !drawerRef.current) return;\n drawerRef.current.classList.remove(DRAG_CLASS);\n isAllowedToDrag.current = false;\n setIsDragging(false);\n dragEndTime.current = new Date();\n }\n function onRelease(event) {\n if (!isDragging || !drawerRef.current) return;\n drawerRef.current.classList.remove(DRAG_CLASS);\n isAllowedToDrag.current = false;\n setIsDragging(false);\n dragEndTime.current = new Date();\n const swipeAmount = getTranslate(drawerRef.current, direction);\n if (!event || !shouldDrag(event.target, false) || !swipeAmount || Number.isNaN(swipeAmount)) return;\n if (dragStartTime.current === null) return;\n const timeTaken = dragEndTime.current.getTime() - dragStartTime.current.getTime();\n const distMoved = pointerStart.current - (isVertical(direction) ? event.pageY : event.pageX);\n const velocity = Math.abs(distMoved) / timeTaken;\n if (velocity > 0.05) {\n // `justReleased` is needed to prevent the drawer from focusing on an input when the drag ends, as it's not the intent most of the time.\n setJustReleased(true);\n setTimeout(()=>{\n setJustReleased(false);\n }, 200);\n }\n if (snapPoints) {\n const directionMultiplier = direction === 'bottom' || direction === 'right' ? 1 : -1;\n onReleaseSnapPoints({\n draggedDistance: distMoved * directionMultiplier,\n closeDrawer,\n velocity,\n dismissible\n });\n onReleaseProp == null ? void 0 : onReleaseProp(event, true);\n return;\n }\n // Moved upwards, don't do anything\n if (direction === 'bottom' || direction === 'right' ? distMoved > 0 : distMoved < 0) {\n resetDrawer();\n onReleaseProp == null ? void 0 : onReleaseProp(event, true);\n return;\n }\n if (velocity > VELOCITY_THRESHOLD) {\n closeDrawer();\n onReleaseProp == null ? void 0 : onReleaseProp(event, false);\n return;\n }\n var _drawerRef_current_getBoundingClientRect_height;\n const visibleDrawerHeight = Math.min((_drawerRef_current_getBoundingClientRect_height = drawerRef.current.getBoundingClientRect().height) != null ? _drawerRef_current_getBoundingClientRect_height : 0, window.innerHeight);\n var _drawerRef_current_getBoundingClientRect_width;\n const visibleDrawerWidth = Math.min((_drawerRef_current_getBoundingClientRect_width = drawerRef.current.getBoundingClientRect().width) != null ? _drawerRef_current_getBoundingClientRect_width : 0, window.innerWidth);\n const isHorizontalSwipe = direction === 'left' || direction === 'right';\n if (Math.abs(swipeAmount) >= (isHorizontalSwipe ? visibleDrawerWidth : visibleDrawerHeight) * closeThreshold) {\n closeDrawer();\n onReleaseProp == null ? void 0 : onReleaseProp(event, false);\n return;\n }\n onReleaseProp == null ? void 0 : onReleaseProp(event, true);\n resetDrawer();\n }\n React__default.useEffect(()=>{\n // Trigger enter animation without using CSS animation\n if (isOpen) {\n set(document.documentElement, {\n scrollBehavior: 'auto'\n });\n openTime.current = new Date();\n }\n return ()=>{\n reset(document.documentElement, 'scrollBehavior');\n };\n }, [\n isOpen\n ]);\n function onNestedOpenChange(o) {\n const scale = o ? (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth : 1;\n const initialTranslate = o ? -NESTED_DISPLACEMENT : 0;\n if (nestedOpenChangeTimer.current) {\n window.clearTimeout(nestedOpenChangeTimer.current);\n }\n set(drawerRef.current, {\n transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,\n transform: isVertical(direction) ? `scale(${scale}) translate3d(0, ${initialTranslate}px, 0)` : `scale(${scale}) translate3d(${initialTranslate}px, 0, 0)`\n });\n if (!o && drawerRef.current) {\n nestedOpenChangeTimer.current = setTimeout(()=>{\n const translateValue = getTranslate(drawerRef.current, direction);\n set(drawerRef.current, {\n transition: 'none',\n transform: isVertical(direction) ? `translate3d(0, ${translateValue}px, 0)` : `translate3d(${translateValue}px, 0, 0)`\n });\n }, 500);\n }\n }\n function onNestedDrag(_event, percentageDragged) {\n if (percentageDragged < 0) return;\n const initialScale = (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth;\n const newScale = initialScale + percentageDragged * (1 - initialScale);\n const newTranslate = -NESTED_DISPLACEMENT + percentageDragged * NESTED_DISPLACEMENT;\n set(drawerRef.current, {\n transform: isVertical(direction) ? `scale(${newScale}) translate3d(0, ${newTranslate}px, 0)` : `scale(${newScale}) translate3d(${newTranslate}px, 0, 0)`,\n transition: 'none'\n });\n }\n function onNestedRelease(_event, o) {\n const dim = isVertical(direction) ? window.innerHeight : window.innerWidth;\n const scale = o ? (dim - NESTED_DISPLACEMENT) / dim : 1;\n const translate = o ? -NESTED_DISPLACEMENT : 0;\n if (o) {\n set(drawerRef.current, {\n transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,\n transform: isVertical(direction) ? `scale(${scale}) translate3d(0, ${translate}px, 0)` : `scale(${scale}) translate3d(${translate}px, 0, 0)`\n });\n }\n }\n React__default.useEffect(()=>{\n if (!modal) {\n // Need to do this manually unfortunately\n window.requestAnimationFrame(()=>{\n document.body.style.pointerEvents = 'auto';\n });\n }\n }, [\n modal\n ]);\n return /*#__PURE__*/ React__default.createElement(DialogPrimitive.Root, {\n defaultOpen: defaultOpen,\n onOpenChange: (open)=>{\n if (!dismissible && !open) return;\n if (open) {\n setHasBeenOpened(true);\n } else {\n closeDrawer(true);\n }\n setIsOpen(open);\n },\n open: isOpen\n }, /*#__PURE__*/ React__default.createElement(DrawerContext.Provider, {\n value: {\n activeSnapPoint,\n snapPoints,\n setActiveSnapPoint,\n drawerRef,\n overlayRef,\n onOpenChange,\n onPress,\n onRelease,\n onDrag,\n dismissible,\n shouldAnimate,\n handleOnly,\n isOpen,\n isDragging,\n shouldFade,\n closeDrawer,\n onNestedDrag,\n onNestedOpenChange,\n onNestedRelease,\n keyboardIsOpen,\n modal,\n snapPointsOffset,\n activeSnapPointIndex,\n direction,\n shouldScaleBackground,\n setBackgroundColorOnScale,\n noBodyStyles,\n container,\n autoFocus\n }\n }, children));\n}\nconst Overlay = /*#__PURE__*/ React__default.forwardRef(function({ ...rest }, ref) {\n const { overlayRef, snapPoints, onRelease, shouldFade, isOpen, modal, shouldAnimate } = useDrawerContext();\n const composedRef = useComposedRefs(ref, overlayRef);\n const hasSnapPoints = snapPoints && snapPoints.length > 0;\n // Overlay is the component that is locking scroll, removing it will unlock the scroll without having to dig into Radix's Dialog library\n if (!modal) {\n return null;\n }\n const onMouseUp = React__default.useCallback((event)=>onRelease(event), [\n onRelease\n ]);\n return /*#__PURE__*/ React__default.createElement(DialogPrimitive.Overlay, {\n onMouseUp: onMouseUp,\n ref: composedRef,\n \"data-vaul-overlay\": \"\",\n \"data-vaul-snap-points\": isOpen && hasSnapPoints ? 'true' : 'false',\n \"data-vaul-snap-points-overlay\": isOpen && shouldFade ? 'true' : 'false',\n \"data-vaul-animate\": (shouldAnimate == null ? void 0 : shouldAnimate.current) ? 'true' : 'false',\n ...rest\n });\n});\nOverlay.displayName = 'Drawer.Overlay';\nconst Content = /*#__PURE__*/ React__default.forwardRef(function({ onPointerDownOutside, style, onOpenAutoFocus, ...rest }, ref) {\n const { drawerRef, onPress, onRelease, onDrag, keyboardIsOpen, snapPointsOffset, activeSnapPointIndex, modal, isOpen, direction, snapPoints, container, handleOnly, shouldAnimate, autoFocus } = useDrawerContext();\n // Needed to use transition instead of animations\n const [delayedSnapPoints, setDelayedSnapPoints] = React__default.useState(false);\n const composedRef = useComposedRefs(ref, drawerRef);\n const pointerStartRef = React__default.useRef(null);\n const lastKnownPointerEventRef = React__default.useRef(null);\n const wasBeyondThePointRef = React__default.useRef(false);\n const hasSnapPoints = snapPoints && snapPoints.length > 0;\n useScaleBackground();\n const isDeltaInDirection = (delta, direction, threshold = 0)=>{\n if (wasBeyondThePointRef.current) return true;\n const deltaY = Math.abs(delta.y);\n const deltaX = Math.abs(delta.x);\n const isDeltaX = deltaX > deltaY;\n const dFactor = [\n 'bottom',\n 'right'\n ].includes(direction) ? 1 : -1;\n if (direction === 'left' || direction === 'right') {\n const isReverseDirection = delta.x * dFactor < 0;\n if (!isReverseDirection && deltaX >= 0 && deltaX <= threshold) {\n return isDeltaX;\n }\n } else {\n const isReverseDirection = delta.y * dFactor < 0;\n if (!isReverseDirection && deltaY >= 0 && deltaY <= threshold) {\n return !isDeltaX;\n }\n }\n wasBeyondThePointRef.current = true;\n return true;\n };\n React__default.useEffect(()=>{\n if (hasSnapPoints) {\n window.requestAnimationFrame(()=>{\n setDelayedSnapPoints(true);\n });\n }\n }, []);\n function handleOnPointerUp(event) {\n pointerStartRef.current = null;\n wasBeyondThePointRef.current = false;\n onRelease(event);\n }\n return /*#__PURE__*/ React__default.createElement(DialogPrimitive.Content, {\n \"data-vaul-drawer-direction\": direction,\n \"data-vaul-drawer\": \"\",\n \"data-vaul-delayed-snap-points\": delayedSnapPoints ? 'true' : 'false',\n \"data-vaul-snap-points\": isOpen && hasSnapPoints ? 'true' : 'false',\n \"data-vaul-custom-container\": container ? 'true' : 'false',\n \"data-vaul-animate\": (shouldAnimate == null ? void 0 : shouldAnimate.current) ? 'true' : 'false',\n ...rest,\n ref: composedRef,\n style: snapPointsOffset && snapPointsOffset.length > 0 ? {\n '--snap-point-height': `${snapPointsOffset[activeSnapPointIndex != null ? activeSnapPointIndex : 0]}px`,\n ...style\n } : style,\n onPointerDown: (event)=>{\n if (handleOnly) return;\n rest.onPointerDown == null ? void 0 : rest.onPointerDown.call(rest, event);\n pointerStartRef.current = {\n x: event.pageX,\n y: event.pageY\n };\n onPress(event);\n },\n onOpenAutoFocus: (e)=>{\n onOpenAutoFocus == null ? void 0 : onOpenAutoFocus(e);\n if (!autoFocus) {\n e.preventDefault();\n }\n },\n onPointerDownOutside: (e)=>{\n onPointerDownOutside == null ? void 0 : onPointerDownOutside(e);\n if (!modal || e.defaultPrevented) {\n e.preventDefault();\n return;\n }\n if (keyboardIsOpen.current) {\n keyboardIsOpen.current = false;\n }\n },\n onFocusOutside: (e)=>{\n if (!modal) {\n e.preventDefault();\n return;\n }\n },\n onPointerMove: (event)=>{\n lastKnownPointerEventRef.current = event;\n if (handleOnly) return;\n rest.onPointerMove == null ? void 0 : rest.onPointerMove.call(rest, event);\n if (!pointerStartRef.current) return;\n const yPosition = event.pageY - pointerStartRef.current.y;\n const xPosition = event.pageX - pointerStartRef.current.x;\n const swipeStartThreshold = event.pointerType === 'touch' ? 10 : 2;\n const delta = {\n x: xPosition,\n y: yPosition\n };\n const isAllowedToSwipe = isDeltaInDirection(delta, direction, swipeStartThreshold);\n if (isAllowedToSwipe) onDrag(event);\n else if (Math.abs(xPosition) > swipeStartThreshold || Math.abs(yPosition) > swipeStartThreshold) {\n pointerStartRef.current = null;\n }\n },\n onPointerUp: (event)=>{\n rest.onPointerUp == null ? void 0 : rest.onPointerUp.call(rest, event);\n pointerStartRef.current = null;\n wasBeyondThePointRef.current = false;\n onRelease(event);\n },\n onPointerOut: (event)=>{\n rest.onPointerOut == null ? void 0 : rest.onPointerOut.call(rest, event);\n handleOnPointerUp(lastKnownPointerEventRef.current);\n },\n onContextMenu: (event)=>{\n rest.onContextMenu == null ? void 0 : rest.onContextMenu.call(rest, event);\n if (lastKnownPointerEventRef.current) {\n handleOnPointerUp(lastKnownPointerEventRef.current);\n }\n }\n });\n});\nContent.displayName = 'Drawer.Content';\nconst LONG_HANDLE_PRESS_TIMEOUT = 250;\nconst DOUBLE_TAP_TIMEOUT = 120;\nconst Handle = /*#__PURE__*/ React__default.forwardRef(function({ preventCycle = false, children, ...rest }, ref) {\n const { closeDrawer, isDragging, snapPoints, activeSnapPoint, setActiveSnapPoint, dismissible, handleOnly, isOpen, onPress, onDrag } = useDrawerContext();\n const closeTimeoutIdRef = React__default.useRef(null);\n const shouldCancelInteractionRef = React__default.useRef(false);\n function handleStartCycle() {\n // Stop if this is the second click of a double click\n if (shouldCancelInteractionRef.current) {\n handleCancelInteraction();\n return;\n }\n window.setTimeout(()=>{\n handleCycleSnapPoints();\n }, DOUBLE_TAP_TIMEOUT);\n }\n function handleCycleSnapPoints() {\n // Prevent accidental taps while resizing drawer\n if (isDragging || preventCycle || shouldCancelInteractionRef.current) {\n handleCancelInteraction();\n return;\n }\n // Make sure to clear the timeout id if the user releases the handle before the cancel timeout\n handleCancelInteraction();\n if (!snapPoints || snapPoints.length === 0) {\n if (!dismissible) {\n closeDrawer();\n }\n return;\n }\n const isLastSnapPoint = activeSnapPoint === snapPoints[snapPoints.length - 1];\n if (isLastSnapPoint && dismissible) {\n closeDrawer();\n return;\n }\n const currentSnapIndex = snapPoints.findIndex((point)=>point === activeSnapPoint);\n if (currentSnapIndex === -1) return; // activeSnapPoint not found in snapPoints\n const nextSnapPoint = snapPoints[currentSnapIndex + 1];\n setActiveSnapPoint(nextSnapPoint);\n }\n function handleStartInteraction() {\n closeTimeoutIdRef.current = window.setTimeout(()=>{\n // Cancel click interaction on a long press\n shouldCancelInteractionRef.current = true;\n }, LONG_HANDLE_PRESS_TIMEOUT);\n }\n function handleCancelInteraction() {\n if (closeTimeoutIdRef.current) {\n window.clearTimeout(closeTimeoutIdRef.current);\n }\n shouldCancelInteractionRef.current = false;\n }\n return /*#__PURE__*/ React__default.createElement(\"div\", {\n onClick: handleStartCycle,\n onPointerCancel: handleCancelInteraction,\n onPointerDown: (e)=>{\n if (handleOnly) onPress(e);\n handleStartInteraction();\n },\n onPointerMove: (e)=>{\n if (handleOnly) onDrag(e);\n },\n // onPointerUp is already handled by the content component\n ref: ref,\n \"data-vaul-drawer-visible\": isOpen ? 'true' : 'false',\n \"data-vaul-handle\": \"\",\n \"aria-hidden\": \"true\",\n ...rest\n }, /*#__PURE__*/ React__default.createElement(\"span\", {\n \"data-vaul-handle-hitarea\": \"\",\n \"aria-hidden\": \"true\"\n }, children));\n});\nHandle.displayName = 'Drawer.Handle';\nfunction NestedRoot({ onDrag, onOpenChange, open: nestedIsOpen, ...rest }) {\n const { onNestedDrag, onNestedOpenChange, onNestedRelease } = useDrawerContext();\n if (!onNestedDrag) {\n throw new Error('Drawer.NestedRoot must be placed in another drawer');\n }\n return /*#__PURE__*/ React__default.createElement(Root, {\n nested: true,\n open: nestedIsOpen,\n onClose: ()=>{\n onNestedOpenChange(false);\n },\n onDrag: (e, p)=>{\n onNestedDrag(e, p);\n onDrag == null ? void 0 : onDrag(e, p);\n },\n onOpenChange: (o)=>{\n if (o) {\n onNestedOpenChange(o);\n }\n onOpenChange == null ? void 0 : onOpenChange(o);\n },\n onRelease: onNestedRelease,\n ...rest\n });\n}\nfunction Portal(props) {\n const context = useDrawerContext();\n const { container = context.container, ...portalProps } = props;\n return /*#__PURE__*/ React__default.createElement(DialogPrimitive.Portal, {\n container: container,\n ...portalProps\n });\n}\nconst Drawer = {\n Root,\n NestedRoot,\n Content,\n Overlay,\n Trigger: DialogPrimitive.Trigger,\n Portal,\n Handle,\n Close: DialogPrimitive.Close,\n Title: DialogPrimitive.Title,\n Description: DialogPrimitive.Description\n};\n\nexport { Content, Drawer, Handle, NestedRoot, Overlay, Portal, Root };\n"],"names":["__insertCSS","code","head","style","DrawerContext","React__default","useDrawerContext","context","isMobileFirefox","userAgent","isMac","testPlatform","isIPhone","isSafari","isIPad","isIOS","re","KEYBOARD_BUFFER","useIsomorphicLayoutEffect","useLayoutEffect","useEffect","chain$1","callbacks","args","callback","visualViewport","isScrollable","node","getScrollParent","nonTextInputTypes","preventScrollCount","restore","usePreventScroll","options","isDisabled","preventScrollMobileSafari","scrollable","lastY","onTouchStart","e","onTouchMove","y","scrollTop","bottom","onTouchEnd","target","isInput","onFocus","scrollIntoView","onWindowScroll","scrollX","scrollY","restoreStyles","setStyle","removeEvents","addEvent","element","value","cur","event","handler","root","scrollableTop","targetTop","targetBottom","keyboardHeight","setRef","ref","composeRefs","refs","useComposedRefs","React","cache","set","el","styles","ignoreCache","originalStyles","key","reset","prop","isVertical","direction","getTranslate","transform","mat","dampenValue","v","assignStyle","prevStyle","chain","fns","fn","TRANSITIONS","VELOCITY_THRESHOLD","CLOSE_THRESHOLD","SCROLL_LOCK_TIMEOUT","BORDER_RADIUS","NESTED_DISPLACEMENT","WINDOW_TOP_OFFSET","DRAG_CLASS","useCallbackRef","callbackRef","useUncontrolledState","defaultProp","onChange","uncontrolledState","prevValueRef","handleChange","useControllableState","uncontrolledProp","setUncontrolledProp","isControlled","setValue","nextValue","useSnapPoints","activeSnapPointProp","setActiveSnapPointProp","snapPoints","drawerRef","overlayRef","fadeFromIndex","onSnapPointChange","container","snapToSequentialPoint","activeSnapPoint","setActiveSnapPoint","windowDimensions","setWindowDimensions","onResize","isLastSnapPoint","activeSnapPointIndex","_snapPoints_findIndex","snapPoint","shouldFade","snapPointsOffset","containerSize","_snapPoints_map","isPx","snapPointAsNumber","height","width","activeSnapPointOffset","snapToPoint","dimension","_snapPointsOffset_findIndex","newSnapPointIndex","snapPointDim","newIndex","onRelease","draggedDistance","closeDrawer","velocity","dismissible","currentPosition","isOverlaySnapPoint","isFirst","hasDraggedUp","closestSnapPoint","prev","curr","dim","dragDirection","onDrag","newValue","getPercentageDragged","absDraggedDistance","isDraggingDown","targetSnapPointIndex","snapPointDistance","percentageDragged","noop","useScaleBackground","isOpen","shouldScaleBackground","setBackgroundColorOnScale","noBodyStyles","timeoutIdRef","initialBackgroundColor","useMemo","getScale","wrapper","wrapperStylesCleanup","previousBodyPosition","usePositionFixed","modal","nested","hasBeenOpened","preventScrollRestoration","activeUrl","setActiveUrl","scrollPos","setPositionFixed","innerHeight","bottomBarHeight","restorePositionSetting","x","onScroll","Root","openProp","onOpenChange","children","onDragProp","onReleaseProp","closeThreshold","scrollLockTimeout","handleOnly","fixed","onClose","defaultOpen","disablePreventScroll","repositionInputs","onAnimationEnd","autoFocus","_drawerRef_current","_drawerRef_current1","setIsOpen","o","setHasBeenOpened","isDragging","setIsDragging","justReleased","setJustReleased","openTime","dragStartTime","dragEndTime","lastTimeDragPrevented","isAllowedToDrag","nestedOpenChangeTimer","pointerStart","keyboardIsOpen","shouldAnimate","previousDiffFromInitial","drawerHeightRef","drawerWidthRef","initialDrawerHeight","onReleaseSnapPoints","onDragSnapPoints","getSnapPointsPercentageDragged","onPress","shouldDrag","isDraggingInDirection","_window_getSelection","highlightedText","swipeAmount","date","directionMultiplier","noCloseSnapPointsPreCondition","drawerDimension","snapPointPercentageDragged","dampenedDraggedDistance","translateValue","opacityValue","scaleValue","borderRadiusValue","_window_visualViewport","onVisualViewportChange","focusedElement","visualViewportHeight","totalHeight","diffFromInitial","drawerHeight","isTallEnough","offsetFromTop","activeSnapPointHeight","newDrawerHeight","fromWithin","cancelDrag","resetDrawer","currentSwipeAmount","timeTaken","distMoved","_drawerRef_current_getBoundingClientRect_height","visibleDrawerHeight","_drawerRef_current_getBoundingClientRect_width","visibleDrawerWidth","isHorizontalSwipe","onNestedOpenChange","scale","initialTranslate","onNestedDrag","_event","initialScale","newScale","newTranslate","onNestedRelease","translate","DialogPrimitive","open","Overlay","rest","composedRef","hasSnapPoints","onMouseUp","Content","onPointerDownOutside","onOpenAutoFocus","delayedSnapPoints","setDelayedSnapPoints","pointerStartRef","lastKnownPointerEventRef","wasBeyondThePointRef","isDeltaInDirection","delta","threshold","deltaY","deltaX","isDeltaX","dFactor","handleOnPointerUp","yPosition","xPosition","swipeStartThreshold","LONG_HANDLE_PRESS_TIMEOUT","DOUBLE_TAP_TIMEOUT","Handle","preventCycle","closeTimeoutIdRef","shouldCancelInteractionRef","handleStartCycle","handleCancelInteraction","handleCycleSnapPoints","currentSnapIndex","point","nextSnapPoint","handleStartInteraction","Portal","props","portalProps","Drawer"],"mappings":";;;AACA,SAASA,GAAYC,GAAM;AACzB,MAAa,OAAO,WAAY,IAAa;AAC7C,MAAIC,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC,GAC/DC,IAAQ,SAAS,cAAc,OAAO;AAC1C,EAAAA,EAAM,OAAO,YACbD,EAAK,YAAYC,CAAK,GACrBA,EAAM,aAAcA,EAAM,WAAW,UAAUF,IAAQE,EAAM,YAAY,SAAS,eAAeF,CAAI,CAAC;AACzG;AAMA,MAAMG,KAAgBC,EAAe,cAAc;AAAA,EAC/C,WAAW;AAAA,IACP,SAAS;AAAA,EACjB;AAAA,EACI,YAAY;AAAA,IACR,SAAS;AAAA,EACjB;AAAA,EACI,SAAS,MAAI;AAAA,EAAC;AAAA,EACd,WAAW,MAAI;AAAA,EAAC;AAAA,EAChB,QAAQ,MAAI;AAAA,EAAC;AAAA,EACb,cAAc,MAAI;AAAA,EAAC;AAAA,EACnB,oBAAoB,MAAI;AAAA,EAAC;AAAA,EACzB,iBAAiB,MAAI;AAAA,EAAC;AAAA,EACtB,UAAU;AAAA,EACV,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,gBAAgB;AAAA,IACZ,SAAS;AAAA,EACjB;AAAA,EACI,kBAAkB;AAAA,EAClB,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,cAAc,MAAI;AAAA,EAAC;AAAA,EACnB,oBAAoB,MAAI;AAAA,EAAC;AAAA,EACzB,aAAa,MAAI;AAAA,EAAC;AAAA,EAClB,WAAW;AAAA,EACX,eAAe;AAAA,IACX,SAAS;AAAA,EACjB;AAAA,EACI,uBAAuB;AAAA,EACvB,2BAA2B;A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AA,EACX,GAAqB,gBAAA7R,EAAe,cAAc,QAAQ;AAAA,IAClD,4BAA4B;AAAA,IAC5B,eAAe;AAAA,EACvB,GAAOoM,CAAQ,CAAC;AAChB,CAAC;AACDkH,GAAO,cAAc;AA0BrB,SAASW,GAAOC,GAAO;AACnB,QAAMhU,IAAUD,GAAgB,GAC1B,EAAE,WAAAqH,IAAYpH,EAAQ,WAAW,GAAGiU,EAAW,IAAKD;AAC1D,SAAqB,gBAAAlU,EAAe,cAAc0R,EAAgB,QAAQ;AAAA,IACtE,WAAWpK;AAAA,IACX,GAAG6M;AAAA,EACX,CAAK;AACL;AACK,MAACC,KAAS;AAAA,EACX,MAAAnI;AAAA,EAEA,SAAAgG;AAAA,EACA,SAAAL;AAAA,EACA,SAASF,EAAgB;AAAA,EACzB,QAAAuC;AAAA,EAEA,OAAOvC,EAAgB;AAAA,EACvB,OAAOA,EAAgB;AAAA,EACvB,aAAaA,EAAgB;AACjC;","x_google_ignoreList":[0]}
@@ -0,0 +1,7 @@
1
+ "use strict";const O=require("react"),he=require("./_commonjsHelpers-DKOUU3wS.cjs");var ha={exports:{}},wa={exports:{}},_={};var Xa;function Me(){if(Xa)return _;Xa=1;var a=typeof Symbol=="function"&&Symbol.for,e=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,t=a?Symbol.for("react.fragment"):60107,o=a?Symbol.for("react.strict_mode"):60108,n=a?Symbol.for("react.profiler"):60114,d=a?Symbol.for("react.provider"):60109,l=a?Symbol.for("react.context"):60110,h=a?Symbol.for("react.async_mode"):60111,E=a?Symbol.for("react.concurrent_mode"):60111,v=a?Symbol.for("react.forward_ref"):60112,k=a?Symbol.for("react.suspense"):60113,z=a?Symbol.for("react.suspense_list"):60120,C=a?Symbol.for("react.memo"):60115,Y=a?Symbol.for("react.lazy"):60116,P=a?Symbol.for("react.block"):60121,L=a?Symbol.for("react.fundamental"):60117,U=a?Symbol.for("react.responder"):60118,ta=a?Symbol.for("react.scope"):60119;function q(s){if(typeof s=="object"&&s!==null){var J=s.$$typeof;switch(J){case e:switch(s=s.type,s){case h:case E:case t:case n:case o:case k:return s;default:switch(s=s&&s.$$typeof,s){case l:case v:case Y:case C:case d:return s;default:return J}}case i:return J}}}function M(s){return q(s)===E}return _.AsyncMode=h,_.ConcurrentMode=E,_.ContextConsumer=l,_.ContextProvider=d,_.Element=e,_.ForwardRef=v,_.Fragment=t,_.Lazy=Y,_.Memo=C,_.Portal=i,_.Profiler=n,_.StrictMode=o,_.Suspense=k,_.isAsyncMode=function(s){return M(s)||q(s)===h},_.isConcurrentMode=M,_.isContextConsumer=function(s){return q(s)===l},_.isContextProvider=function(s){return q(s)===d},_.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===e},_.isForwardRef=function(s){return q(s)===v},_.isFragment=function(s){return q(s)===t},_.isLazy=function(s){return q(s)===Y},_.isMemo=function(s){return q(s)===C},_.isPortal=function(s){return q(s)===i},_.isProfiler=function(s){return q(s)===n},_.isStrictMode=function(s){return q(s)===o},_.isSuspense=function(s){return q(s)===k},_.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===t||s===E||s===n||s===o||s===k||s===z||typeof s=="object"&&s!==null&&(s.$$typeof===Y||s.$$typeof===C||s.$$typeof===d||s.$$typeof===l||s.$$typeof===v||s.$$typeof===L||s.$$typeof===U||s.$$typeof===ta||s.$$typeof===P)},_.typeOf=q,_}var A={};var Za;function $e(){return Za||(Za=1,process.env.NODE_ENV!=="production"&&(function(){var a=typeof Symbol=="function"&&Symbol.for,e=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,t=a?Symbol.for("react.fragment"):60107,o=a?Symbol.for("react.strict_mode"):60108,n=a?Symbol.for("react.profiler"):60114,d=a?Symbol.for("react.provider"):60109,l=a?Symbol.for("react.context"):60110,h=a?Symbol.for("react.async_mode"):60111,E=a?Symbol.for("react.concurrent_mode"):60111,v=a?Symbol.for("react.forward_ref"):60112,k=a?Symbol.for("react.suspense"):60113,z=a?Symbol.for("react.suspense_list"):60120,C=a?Symbol.for("react.memo"):60115,Y=a?Symbol.for("react.lazy"):60116,P=a?Symbol.for("react.block"):60121,L=a?Symbol.for("react.fundamental"):60117,U=a?Symbol.for("react.responder"):60118,ta=a?Symbol.for("react.scope"):60119;function q(r){return typeof r=="string"||typeof r=="function"||r===t||r===E||r===n||r===o||r===k||r===z||typeof r=="object"&&r!==null&&(r.$$typeof===Y||r.$$typeof===C||r.$$typeof===d||r.$$typeof===l||r.$$typeof===v||r.$$typeof===L||r.$$typeof===U||r.$$typeof===ta||r.$$typeof===P)}function M(r){if(typeof r=="object"&&r!==null){var H=r.$$typeof;switch(H){case e:var la=r.type;switch(la){case h:case E:case t:case n:case o:case k:return la;default:var fa=la&&la.$$typeof;switch(fa){case l:case v:case Y:case C:case d:return fa;default:return H}}case i:return H}}}var s=h,J=E,V=l,pa=d,aa=e,ea=v,ra=t,ca=Y,na=C,F=i,B=n,N=o,X=k,oa=!1;function $(r){return oa||(oa=!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.")),p(r)||M(r)===h}function p(r){return M(r)===E}function m(r){return M(r)===l}function g(r){return M(r)===d}function w(r){return typeof r=="object"&&r!==null&&r.$$typeof===e}function f(r){return M(r)===v}function b(r){return M(r)===t}function y(r){return M(r)===Y}function x(r){return M(r)===C}function j(r){return M(r)===i}function T(r){return M(r)===n}function D(r){return M(r)===o}function K(r){return M(r)===k}A.AsyncMode=s,A.ConcurrentMode=J,A.ContextConsumer=V,A.ContextProvider=pa,A.Element=aa,A.ForwardRef=ea,A.Fragment=ra,A.Lazy=ca,A.Memo=na,A.Portal=F,A.Profiler=B,A.StrictMode=N,A.Suspense=X,A.isAsyncMode=$,A.isConcurrentMode=p,A.isContextConsumer=m,A.isContextProvider=g,A.isElement=w,A.isForwardRef=f,A.isFragment=b,A.isLazy=y,A.isMemo=x,A.isPortal=j,A.isProfiler=T,A.isStrictMode=D,A.isSuspense=K,A.isValidElementType=q,A.typeOf=M})()),A}var Qa;function we(){return Qa||(Qa=1,process.env.NODE_ENV==="production"?wa.exports=Me():wa.exports=$e()),wa.exports}var Ca,ae;function Le(){if(ae)return Ca;ae=1;var a=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function t(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function o(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var d={},l=0;l<10;l++)d["_"+String.fromCharCode(l)]=l;var h=Object.getOwnPropertyNames(d).map(function(v){return d[v]});if(h.join("")!=="0123456789")return!1;var E={};return"abcdefghijklmnopqrst".split("").forEach(function(v){E[v]=v}),Object.keys(Object.assign({},E)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ca=o()?Object.assign:function(n,d){for(var l,h=t(n),E,v=1;v<arguments.length;v++){l=Object(arguments[v]);for(var k in l)e.call(l,k)&&(h[k]=l[k]);if(a){E=a(l);for(var z=0;z<E.length;z++)i.call(l,E[z])&&(h[E[z]]=l[E[z]])}}return h},Ca}var Fa,ee;function Ua(){if(ee)return Fa;ee=1;var a="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Fa=a,Fa}var Ia,ie;function ke(){return ie||(ie=1,Ia=Function.call.bind(Object.prototype.hasOwnProperty)),Ia}var qa,te;function We(){if(te)return qa;te=1;var a=function(){};if(process.env.NODE_ENV!=="production"){var e=Ua(),i={},t=ke();a=function(n){var d="Warning: "+n;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}}}function o(n,d,l,h,E){if(process.env.NODE_ENV!=="production"){for(var v in n)if(t(n,v)){var k;try{if(typeof n[v]!="function"){var z=Error((h||"React class")+": "+l+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}k=n[v](d,v,h,l,null,e)}catch(Y){k=Y}if(k&&!(k instanceof Error)&&a((h||"React class")+": type specification of "+l+" `"+v+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),k instanceof Error&&!(k.message in i)){i[k.message]=!0;var C=E?E():"";a("Failed "+l+" type: "+k.message+(C??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},qa=o,qa}var Ma,ne;function Ye(){if(ne)return Ma;ne=1;var a=we(),e=Le(),i=Ua(),t=ke(),o=We(),n=function(){};process.env.NODE_ENV!=="production"&&(n=function(l){var h="Warning: "+l;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}});function d(){return null}return Ma=function(l,h){var E=typeof Symbol=="function"&&Symbol.iterator,v="@@iterator";function k(p){var m=p&&(E&&p[E]||p[v]);if(typeof m=="function")return m}var z="<<anonymous>>",C={array:U("array"),bigint:U("bigint"),bool:U("boolean"),func:U("function"),number:U("number"),object:U("object"),string:U("string"),symbol:U("symbol"),any:ta(),arrayOf:q,element:M(),elementType:s(),instanceOf:J,node:ea(),objectOf:pa,oneOf:V,oneOfType:aa,shape:ca,exact:na};function Y(p,m){return p===m?p!==0||1/p===1/m:p!==p&&m!==m}function P(p,m){this.message=p,this.data=m&&typeof m=="object"?m:{},this.stack=""}P.prototype=Error.prototype;function L(p){if(process.env.NODE_ENV!=="production")var m={},g=0;function w(b,y,x,j,T,D,K){if(j=j||z,D=D||x,K!==i){if(h){var r=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var H=j+":"+x;!m[H]&&g<3&&(n("You are manually calling a React.PropTypes validation function for the `"+D+"` prop on `"+j+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),m[H]=!0,g++)}}return y[x]==null?b?y[x]===null?new P("The "+T+" `"+D+"` is marked as required "+("in `"+j+"`, but its value is `null`.")):new P("The "+T+" `"+D+"` is marked as required in "+("`"+j+"`, but its value is `undefined`.")):null:p(y,x,j,T,D)}var f=w.bind(null,!1);return f.isRequired=w.bind(null,!0),f}function U(p){function m(g,w,f,b,y,x){var j=g[w],T=N(j);if(T!==p){var D=X(j);return new P("Invalid "+b+" `"+y+"` of type "+("`"+D+"` supplied to `"+f+"`, expected ")+("`"+p+"`."),{expectedType:p})}return null}return L(m)}function ta(){return L(d)}function q(p){function m(g,w,f,b,y){if(typeof p!="function")return new P("Property `"+y+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");var x=g[w];if(!Array.isArray(x)){var j=N(x);return new P("Invalid "+b+" `"+y+"` of type "+("`"+j+"` supplied to `"+f+"`, expected an array."))}for(var T=0;T<x.length;T++){var D=p(x,T,f,b,y+"["+T+"]",i);if(D instanceof Error)return D}return null}return L(m)}function M(){function p(m,g,w,f,b){var y=m[g];if(!l(y)){var x=N(y);return new P("Invalid "+f+" `"+b+"` of type "+("`"+x+"` supplied to `"+w+"`, expected a single ReactElement."))}return null}return L(p)}function s(){function p(m,g,w,f,b){var y=m[g];if(!a.isValidElementType(y)){var x=N(y);return new P("Invalid "+f+" `"+b+"` of type "+("`"+x+"` supplied to `"+w+"`, expected a single ReactElement type."))}return null}return L(p)}function J(p){function m(g,w,f,b,y){if(!(g[w]instanceof p)){var x=p.name||z,j=$(g[w]);return new P("Invalid "+b+" `"+y+"` of type "+("`"+j+"` supplied to `"+f+"`, expected ")+("instance of `"+x+"`."))}return null}return L(m)}function V(p){if(!Array.isArray(p))return process.env.NODE_ENV!=="production"&&(arguments.length>1?n("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])."):n("Invalid argument supplied to oneOf, expected an array.")),d;function m(g,w,f,b,y){for(var x=g[w],j=0;j<p.length;j++)if(Y(x,p[j]))return null;var T=JSON.stringify(p,function(K,r){var H=X(r);return H==="symbol"?String(r):r});return new P("Invalid "+b+" `"+y+"` of value `"+String(x)+"` "+("supplied to `"+f+"`, expected one of "+T+"."))}return L(m)}function pa(p){function m(g,w,f,b,y){if(typeof p!="function")return new P("Property `"+y+"` of component `"+f+"` has invalid PropType notation inside objectOf.");var x=g[w],j=N(x);if(j!=="object")return new P("Invalid "+b+" `"+y+"` of type "+("`"+j+"` supplied to `"+f+"`, expected an object."));for(var T in x)if(t(x,T)){var D=p(x,T,f,b,y+"."+T,i);if(D instanceof Error)return D}return null}return L(m)}function aa(p){if(!Array.isArray(p))return process.env.NODE_ENV!=="production"&&n("Invalid argument supplied to oneOfType, expected an instance of array."),d;for(var m=0;m<p.length;m++){var g=p[m];if(typeof g!="function")return n("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+oa(g)+" at index "+m+"."),d}function w(f,b,y,x,j){for(var T=[],D=0;D<p.length;D++){var K=p[D],r=K(f,b,y,x,j,i);if(r==null)return null;r.data&&t(r.data,"expectedType")&&T.push(r.data.expectedType)}var H=T.length>0?", expected one of type ["+T.join(", ")+"]":"";return new P("Invalid "+x+" `"+j+"` supplied to "+("`"+y+"`"+H+"."))}return L(w)}function ea(){function p(m,g,w,f,b){return F(m[g])?null:new P("Invalid "+f+" `"+b+"` supplied to "+("`"+w+"`, expected a ReactNode."))}return L(p)}function ra(p,m,g,w,f){return new P((p||"React class")+": "+m+" type `"+g+"."+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+f+"`.")}function ca(p){function m(g,w,f,b,y){var x=g[w],j=N(x);if(j!=="object")return new P("Invalid "+b+" `"+y+"` of type `"+j+"` "+("supplied to `"+f+"`, expected `object`."));for(var T in p){var D=p[T];if(typeof D!="function")return ra(f,b,y,T,X(D));var K=D(x,T,f,b,y+"."+T,i);if(K)return K}return null}return L(m)}function na(p){function m(g,w,f,b,y){var x=g[w],j=N(x);if(j!=="object")return new P("Invalid "+b+" `"+y+"` of type `"+j+"` "+("supplied to `"+f+"`, expected `object`."));var T=e({},g[w],p);for(var D in T){var K=p[D];if(t(p,D)&&typeof K!="function")return ra(f,b,y,D,X(K));if(!K)return new P("Invalid "+b+" `"+y+"` key `"+D+"` supplied to `"+f+"`.\nBad object: "+JSON.stringify(g[w],null," ")+`
2
+ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var r=K(x,D,f,b,y+"."+D,i);if(r)return r}return null}return L(m)}function F(p){switch(typeof p){case"number":case"string":case"undefined":return!0;case"boolean":return!p;case"object":if(Array.isArray(p))return p.every(F);if(p===null||l(p))return!0;var m=k(p);if(m){var g=m.call(p),w;if(m!==p.entries){for(;!(w=g.next()).done;)if(!F(w.value))return!1}else for(;!(w=g.next()).done;){var f=w.value;if(f&&!F(f[1]))return!1}}else return!1;return!0;default:return!1}}function B(p,m){return p==="symbol"?!0:m?m["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&m instanceof Symbol:!1}function N(p){var m=typeof p;return Array.isArray(p)?"array":p instanceof RegExp?"object":B(m,p)?"symbol":m}function X(p){if(typeof p>"u"||p===null)return""+p;var m=N(p);if(m==="object"){if(p instanceof Date)return"date";if(p instanceof RegExp)return"regexp"}return m}function oa(p){var m=X(p);switch(m){case"array":case"object":return"an "+m;case"boolean":case"date":case"regexp":return"a "+m;default:return m}}function $(p){return!p.constructor||!p.constructor.name?z:p.constructor.name}return C.checkPropTypes=o,C.resetWarningCache=o.resetWarningCache,C.PropTypes=C,C},Ma}var $a,oe;function Ke(){if(oe)return $a;oe=1;var a=Ua();function e(){}function i(){}return i.resetWarningCache=e,$a=function(){function t(d,l,h,E,v,k){if(k!==a){var z=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw z.name="Invariant Violation",z}}t.isRequired=t;function o(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:o,element:t,elementType:t,instanceOf:o,node:t,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:i,resetWarningCache:e};return n.PropTypes=n,n},$a}var pe;function He(){if(pe)return ha.exports;if(pe=1,process.env.NODE_ENV!=="production"){var a=we(),e=!0;ha.exports=Ye()(a.isElement,e)}else ha.exports=Ke()();return ha.exports}var Ge=He();const S=he.getDefaultExportFromCjs(Ge);function da(a,e,i,t){function o(n){return n instanceof i?n:new i(function(d){d(n)})}return new(i||(i=Promise))(function(n,d){function l(v){try{E(t.next(v))}catch(k){d(k)}}function h(v){try{E(t.throw(v))}catch(k){d(k)}}function E(v){v.done?n(v.value):o(v.value).then(l,h)}E((t=t.apply(a,e||[])).next())})}const Be=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function ua(a,e,i){const t=Ue(a),{webkitRelativePath:o}=a,n=typeof e=="string"?e:typeof o=="string"&&o.length>0?o:`./${a.name}`;return typeof t.path!="string"&&re(t,"path",n),re(t,"relativePath",n),t}function Ue(a){const{name:e}=a;if(e&&e.lastIndexOf(".")!==-1&&!a.type){const t=e.split(".").pop().toLowerCase(),o=Be.get(t);o&&Object.defineProperty(a,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return a}function re(a,e,i){Object.defineProperty(a,e,{value:i,writable:!1,configurable:!1,enumerable:!0})}const Ne=[".DS_Store","Thumbs.db"];function Ve(a){return da(this,void 0,void 0,function*(){return Ea(a)&&Je(a.dataTransfer)?ai(a.dataTransfer,a.type):Xe(a)?Ze(a):Array.isArray(a)&&a.every(e=>"getFile"in e&&typeof e.getFile=="function")?Qe(a):[]})}function Je(a){return Ea(a)}function Xe(a){return Ea(a)&&Ea(a.target)}function Ea(a){return typeof a=="object"&&a!==null}function Ze(a){return Ya(a.target.files).map(e=>ua(e))}function Qe(a){return da(this,void 0,void 0,function*(){return(yield Promise.all(a.map(i=>i.getFile()))).map(i=>ua(i))})}function ai(a,e){return da(this,void 0,void 0,function*(){if(a.items){const i=Ya(a.items).filter(o=>o.kind==="file");if(e!=="drop")return i;const t=yield Promise.all(i.map(ei));return ce(Ee(t))}return ce(Ya(a.files).map(i=>ua(i)))})}function ce(a){return a.filter(e=>Ne.indexOf(e.name)===-1)}function Ya(a){if(a===null)return[];const e=[];for(let i=0;i<a.length;i++){const t=a[i];e.push(t)}return e}function ei(a){if(typeof a.webkitGetAsEntry!="function")return le(a);const e=a.webkitGetAsEntry();return e&&e.isDirectory?je(e):le(a,e)}function Ee(a){return a.reduce((e,i)=>[...e,...Array.isArray(i)?Ee(i):[i]],[])}function le(a,e){return da(this,void 0,void 0,function*(){var i;if(globalThis.isSecureContext&&typeof a.getAsFileSystemHandle=="function"){const n=yield a.getAsFileSystemHandle();if(n===null)throw new Error(`${a} is not a File`);if(n!==void 0){const d=yield n.getFile();return d.handle=n,ua(d)}}const t=a.getAsFile();if(!t)throw new Error(`${a} is not a File`);return ua(t,(i=e?.fullPath)!==null&&i!==void 0?i:void 0)})}function ii(a){return da(this,void 0,void 0,function*(){return a.isDirectory?je(a):ti(a)})}function je(a){const e=a.createReader();return new Promise((i,t)=>{const o=[];function n(){e.readEntries(d=>da(this,void 0,void 0,function*(){if(d.length){const l=Promise.all(d.map(ii));o.push(l),n()}else try{const l=yield Promise.all(o);i(l)}catch(l){t(l)}}),d=>{t(d)})}n()})}function ti(a){return da(this,void 0,void 0,function*(){return new Promise((e,i)=>{a.file(t=>{const o=ua(t,a.fullPath);e(o)},t=>{i(t)})})})}var ka={},se;function ni(){return se||(se=1,ka.__esModule=!0,ka.default=function(a,e){if(a&&e){var i=Array.isArray(e)?e:e.split(",");if(i.length===0)return!0;var t=a.name||"",o=(a.type||"").toLowerCase(),n=o.replace(/\/.*$/,"");return i.some(function(d){var l=d.trim().toLowerCase();return l.charAt(0)==="."?t.toLowerCase().endsWith(l):l.endsWith("/*")?n===l.replace(/\/.*$/,""):o===l})}return!0}),ka}var oi=ni();const La=he.getDefaultExportFromCjs(oi);function de(a){return ci(a)||ri(a)||Te(a)||pi()}function pi(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ri(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function ci(a){if(Array.isArray(a))return Ka(a)}function me(a,e){var i=Object.keys(a);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(a);e&&(t=t.filter(function(o){return Object.getOwnPropertyDescriptor(a,o).enumerable})),i.push.apply(i,t)}return i}function ue(a){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?me(Object(i),!0).forEach(function(t){De(a,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(i)):me(Object(i)).forEach(function(t){Object.defineProperty(a,t,Object.getOwnPropertyDescriptor(i,t))})}return a}function De(a,e,i){return e in a?Object.defineProperty(a,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[e]=i,a}function xa(a,e){return di(a)||si(a,e)||Te(a,e)||li()}function li(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Te(a,e){if(a){if(typeof a=="string")return Ka(a,e);var i=Object.prototype.toString.call(a).slice(8,-1);if(i==="Object"&&a.constructor&&(i=a.constructor.name),i==="Map"||i==="Set")return Array.from(a);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ka(a,e)}}function Ka(a,e){(e==null||e>a.length)&&(e=a.length);for(var i=0,t=new Array(e);i<e;i++)t[i]=a[i];return t}function si(a,e){var i=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(i!=null){var t=[],o=!0,n=!1,d,l;try{for(i=i.call(a);!(o=(d=i.next()).done)&&(t.push(d.value),!(e&&t.length===e));o=!0);}catch(h){n=!0,l=h}finally{try{!o&&i.return!=null&&i.return()}finally{if(n)throw l}}return t}}function di(a){if(Array.isArray(a))return a}var mi=typeof La=="function"?La:La.default,ui="file-invalid-type",fi="file-too-large",vi="file-too-small",xi="too-many-files",gi=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=e.split(","),t=i.length>1?"one of ".concat(i.join(", ")):i[0];return{code:ui,message:"File type must be ".concat(t)}},fe=function(e){return{code:fi,message:"File is larger than ".concat(e," ").concat(e===1?"byte":"bytes")}},ve=function(e){return{code:vi,message:"File is smaller than ".concat(e," ").concat(e===1?"byte":"bytes")}},bi={code:xi,message:"Too many files"};function yi(a){return a.type===""&&typeof a.getAsFile=="function"}function Oe(a,e){var i=a.type==="application/x-moz-file"||mi(a,e)||yi(a);return[i,i?null:gi(e)]}function _e(a,e,i){if(sa(a.size))if(sa(e)&&sa(i)){if(a.size>i)return[!1,fe(i)];if(a.size<e)return[!1,ve(e)]}else{if(sa(e)&&a.size<e)return[!1,ve(e)];if(sa(i)&&a.size>i)return[!1,fe(i)]}return[!0,null]}function sa(a){return a!=null}function hi(a){var e=a.files,i=a.accept,t=a.minSize,o=a.maxSize,n=a.multiple,d=a.maxFiles,l=a.validator;return!n&&e.length>1||n&&d>=1&&e.length>d?!1:e.every(function(h){var E=Oe(h,i),v=xa(E,1),k=v[0],z=_e(h,t,o),C=xa(z,1),Y=C[0],P=l?l(h):null;return k&&Y&&!P})}function ja(a){return typeof a.isPropagationStopped=="function"?a.isPropagationStopped():typeof a.cancelBubble<"u"?a.cancelBubble:!1}function va(a){return a.dataTransfer?Array.prototype.some.call(a.dataTransfer.types,function(e){return e==="Files"||e==="application/x-moz-file"}):!!a.target&&!!a.target.files}function xe(a){a.preventDefault()}function wi(a){return a.indexOf("MSIE")!==-1||a.indexOf("Trident/")!==-1}function ki(a){return a.indexOf("Edge/")!==-1}function Ei(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return wi(a)||ki(a)}function Q(){for(var a=arguments.length,e=new Array(a),i=0;i<a;i++)e[i]=arguments[i];return function(t){for(var o=arguments.length,n=new Array(o>1?o-1:0),d=1;d<o;d++)n[d-1]=arguments[d];return e.some(function(l){return!ja(t)&&l&&l.apply(void 0,[t].concat(n)),ja(t)})}}function ji(){return"showOpenFilePicker"in window}function Di(a){if(sa(a)){var e=Object.entries(a).filter(function(i){var t=xa(i,2),o=t[0],n=t[1],d=!0;return Ae(o)||(console.warn('Skipped "'.concat(o,'" 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.')),d=!1),(!Array.isArray(n)||!n.every(Pe))&&(console.warn('Skipped "'.concat(o,'" because an invalid file extension was provided.')),d=!1),d}).reduce(function(i,t){var o=xa(t,2),n=o[0],d=o[1];return ue(ue({},i),{},De({},n,d))},{});return[{description:"Files",accept:e}]}return a}function Ti(a){if(sa(a))return Object.entries(a).reduce(function(e,i){var t=xa(i,2),o=t[0],n=t[1];return[].concat(de(e),[o],de(n))},[]).filter(function(e){return Ae(e)||Pe(e)}).join(",")}function Oi(a){return a instanceof DOMException&&(a.name==="AbortError"||a.code===a.ABORT_ERR)}function _i(a){return a instanceof DOMException&&(a.name==="SecurityError"||a.code===a.SECURITY_ERR)}function Ae(a){return a==="audio/*"||a==="video/*"||a==="image/*"||a==="text/*"||a==="application/*"||/\w+\/[-+.\w]+/g.test(a)}function Pe(a){return/^.*\.[\w]+$/.test(a)}var Ai=["children"],Pi=["open"],Si=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],zi=["refKey","onChange","onClick"];function ge(a){return Fi(a)||Ci(a)||Se(a)||Ri()}function Ri(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ci(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Fi(a){if(Array.isArray(a))return Ha(a)}function Wa(a,e){return Mi(a)||qi(a,e)||Se(a,e)||Ii()}function Ii(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Se(a,e){if(a){if(typeof a=="string")return Ha(a,e);var i=Object.prototype.toString.call(a).slice(8,-1);if(i==="Object"&&a.constructor&&(i=a.constructor.name),i==="Map"||i==="Set")return Array.from(a);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ha(a,e)}}function Ha(a,e){(e==null||e>a.length)&&(e=a.length);for(var i=0,t=new Array(e);i<e;i++)t[i]=a[i];return t}function qi(a,e){var i=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(i!=null){var t=[],o=!0,n=!1,d,l;try{for(i=i.call(a);!(o=(d=i.next()).done)&&(t.push(d.value),!(e&&t.length===e));o=!0);}catch(h){n=!0,l=h}finally{try{!o&&i.return!=null&&i.return()}finally{if(n)throw l}}return t}}function Mi(a){if(Array.isArray(a))return a}function be(a,e){var i=Object.keys(a);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(a);e&&(t=t.filter(function(o){return Object.getOwnPropertyDescriptor(a,o).enumerable})),i.push.apply(i,t)}return i}function R(a){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?be(Object(i),!0).forEach(function(t){Ga(a,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(i)):be(Object(i)).forEach(function(t){Object.defineProperty(a,t,Object.getOwnPropertyDescriptor(i,t))})}return a}function Ga(a,e,i){return e in a?Object.defineProperty(a,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[e]=i,a}function Da(a,e){if(a==null)return{};var i=$i(a,e),t,o;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);for(o=0;o<n.length;o++)t=n[o],!(e.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(a,t)&&(i[t]=a[t])}return i}function $i(a,e){if(a==null)return{};var i={},t=Object.keys(a),o,n;for(n=0;n<t.length;n++)o=t[n],!(e.indexOf(o)>=0)&&(i[o]=a[o]);return i}var Na=O.forwardRef(function(a,e){var i=a.children,t=Da(a,Ai),o=Re(t),n=o.open,d=Da(o,Pi);return O.useImperativeHandle(e,function(){return{open:n}},[n]),O.createElement(O.Fragment,null,i(R(R({},d),{},{open:n})))});Na.displayName="Dropzone";var ze={disabled:!1,getFilesFromEvent:Ve,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};Na.defaultProps=ze;Na.propTypes={children:S.func,accept:S.objectOf(S.arrayOf(S.string)),multiple:S.bool,preventDropOnDocument:S.bool,noClick:S.bool,noKeyboard:S.bool,noDrag:S.bool,noDragEventsBubbling:S.bool,minSize:S.number,maxSize:S.number,maxFiles:S.number,disabled:S.bool,getFilesFromEvent:S.func,onFileDialogCancel:S.func,onFileDialogOpen:S.func,useFsAccessApi:S.bool,autoFocus:S.bool,onDragEnter:S.func,onDragLeave:S.func,onDragOver:S.func,onDrop:S.func,onDropAccepted:S.func,onDropRejected:S.func,onError:S.func,validator:S.func};var Ba={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragGlobal:!1,acceptedFiles:[],fileRejections:[]};function Re(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=R(R({},ze),a),i=e.accept,t=e.disabled,o=e.getFilesFromEvent,n=e.maxSize,d=e.minSize,l=e.multiple,h=e.maxFiles,E=e.onDragEnter,v=e.onDragLeave,k=e.onDragOver,z=e.onDrop,C=e.onDropAccepted,Y=e.onDropRejected,P=e.onFileDialogCancel,L=e.onFileDialogOpen,U=e.useFsAccessApi,ta=e.autoFocus,q=e.preventDropOnDocument,M=e.noClick,s=e.noKeyboard,J=e.noDrag,V=e.noDragEventsBubbling,pa=e.onError,aa=e.validator,ea=O.useMemo(function(){return Ti(i)},[i]),ra=O.useMemo(function(){return Di(i)},[i]),ca=O.useMemo(function(){return typeof L=="function"?L:ye},[L]),na=O.useMemo(function(){return typeof P=="function"?P:ye},[P]),F=O.useRef(null),B=O.useRef(null),N=O.useReducer(Li,Ba),X=Wa(N,2),oa=X[0],$=X[1],p=oa.isFocused,m=oa.isFileDialogActive,g=O.useRef(typeof window<"u"&&window.isSecureContext&&U&&ji()),w=function(){!g.current&&m&&setTimeout(function(){if(B.current){var u=B.current.files;u.length||($({type:"closeDialog"}),na())}},300)};O.useEffect(function(){return window.addEventListener("focus",w,!1),function(){window.removeEventListener("focus",w,!1)}},[B,m,na,g]);var f=O.useRef([]),b=O.useRef([]),y=function(u){F.current&&F.current.contains(u.target)||(u.preventDefault(),f.current=[])};O.useEffect(function(){return q&&(document.addEventListener("dragover",xe,!1),document.addEventListener("drop",y,!1)),function(){q&&(document.removeEventListener("dragover",xe),document.removeEventListener("drop",y))}},[F,q]),O.useEffect(function(){var c=function(Z){b.current=[].concat(ge(b.current),[Z.target]),va(Z)&&$({isDragGlobal:!0,type:"setDragGlobal"})},u=function(Z){b.current=b.current.filter(function(ia){return ia!==Z.target&&ia!==null}),!(b.current.length>0)&&$({isDragGlobal:!1,type:"setDragGlobal"})},I=function(){b.current=[],$({isDragGlobal:!1,type:"setDragGlobal"})},W=function(){b.current=[],$({isDragGlobal:!1,type:"setDragGlobal"})};return document.addEventListener("dragenter",c,!1),document.addEventListener("dragleave",u,!1),document.addEventListener("dragend",I,!1),document.addEventListener("drop",W,!1),function(){document.removeEventListener("dragenter",c),document.removeEventListener("dragleave",u),document.removeEventListener("dragend",I),document.removeEventListener("drop",W)}},[F]),O.useEffect(function(){return!t&&ta&&F.current&&F.current.focus(),function(){}},[F,ta,t]);var x=O.useCallback(function(c){pa?pa(c):console.error(c)},[pa]),j=O.useCallback(function(c){c.preventDefault(),c.persist(),ba(c),f.current=[].concat(ge(f.current),[c.target]),va(c)&&Promise.resolve(o(c)).then(function(u){if(!(ja(c)&&!V)){var I=u.length,W=I>0&&hi({files:u,accept:ea,minSize:d,maxSize:n,multiple:l,maxFiles:h,validator:aa}),G=I>0&&!W;$({isDragAccept:W,isDragReject:G,isDragActive:!0,type:"setDraggedFiles"}),E&&E(c)}}).catch(function(u){return x(u)})},[o,E,x,V,ea,d,n,l,h,aa]),T=O.useCallback(function(c){c.preventDefault(),c.persist(),ba(c);var u=va(c);if(u&&c.dataTransfer)try{c.dataTransfer.dropEffect="copy"}catch{}return u&&k&&k(c),!1},[k,V]),D=O.useCallback(function(c){c.preventDefault(),c.persist(),ba(c);var u=f.current.filter(function(W){return F.current&&F.current.contains(W)}),I=u.indexOf(c.target);I!==-1&&u.splice(I,1),f.current=u,!(u.length>0)&&($({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),va(c)&&v&&v(c))},[F,v,V]),K=O.useCallback(function(c,u){var I=[],W=[];c.forEach(function(G){var Z=Oe(G,ea),ia=Wa(Z,2),Oa=ia[0],_a=ia[1],Aa=_e(G,d,n),ya=Wa(Aa,2),Pa=ya[0],Sa=ya[1],za=aa?aa(G):null;if(Oa&&Pa&&!za)I.push(G);else{var Ra=[_a,Sa];za&&(Ra=Ra.concat(za)),W.push({file:G,errors:Ra.filter(function(qe){return qe})})}}),(!l&&I.length>1||l&&h>=1&&I.length>h)&&(I.forEach(function(G){W.push({file:G,errors:[bi]})}),I.splice(0)),$({acceptedFiles:I,fileRejections:W,type:"setFiles"}),z&&z(I,W,u),W.length>0&&Y&&Y(W,u),I.length>0&&C&&C(I,u)},[$,l,ea,d,n,h,z,C,Y,aa]),r=O.useCallback(function(c){c.preventDefault(),c.persist(),ba(c),f.current=[],va(c)&&Promise.resolve(o(c)).then(function(u){ja(c)&&!V||K(u,c)}).catch(function(u){return x(u)}),$({type:"reset"})},[o,K,x,V]),H=O.useCallback(function(){if(g.current){$({type:"openDialog"}),ca();var c={multiple:l,types:ra};window.showOpenFilePicker(c).then(function(u){return o(u)}).then(function(u){K(u,null),$({type:"closeDialog"})}).catch(function(u){Oi(u)?(na(u),$({type:"closeDialog"})):_i(u)?(g.current=!1,B.current?(B.current.value=null,B.current.click()):x(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."))):x(u)});return}B.current&&($({type:"openDialog"}),ca(),B.current.value=null,B.current.click())},[$,ca,na,U,K,x,ra,l]),la=O.useCallback(function(c){!F.current||!F.current.isEqualNode(c.target)||(c.key===" "||c.key==="Enter"||c.keyCode===32||c.keyCode===13)&&(c.preventDefault(),H())},[F,H]),fa=O.useCallback(function(){$({type:"focus"})},[]),Va=O.useCallback(function(){$({type:"blur"})},[]),Ja=O.useCallback(function(){M||(Ei()?setTimeout(H,0):H())},[M,H]),ma=function(u){return t?null:u},Ta=function(u){return s?null:ma(u)},ga=function(u){return J?null:ma(u)},ba=function(u){V&&u.stopPropagation()},Ce=O.useMemo(function(){return function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=c.refKey,I=u===void 0?"ref":u,W=c.role,G=c.onKeyDown,Z=c.onFocus,ia=c.onBlur,Oa=c.onClick,_a=c.onDragEnter,Aa=c.onDragOver,ya=c.onDragLeave,Pa=c.onDrop,Sa=Da(c,Si);return R(R(Ga({onKeyDown:Ta(Q(G,la)),onFocus:Ta(Q(Z,fa)),onBlur:Ta(Q(ia,Va)),onClick:ma(Q(Oa,Ja)),onDragEnter:ga(Q(_a,j)),onDragOver:ga(Q(Aa,T)),onDragLeave:ga(Q(ya,D)),onDrop:ga(Q(Pa,r)),role:typeof W=="string"&&W!==""?W:"presentation"},I,F),!t&&!s?{tabIndex:0}:{}),Sa)}},[F,la,fa,Va,Ja,j,T,D,r,s,J,t]),Fe=O.useCallback(function(c){c.stopPropagation()},[]),Ie=O.useMemo(function(){return function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=c.refKey,I=u===void 0?"ref":u,W=c.onChange,G=c.onClick,Z=Da(c,zi),ia=Ga({accept:ea,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:ma(Q(W,r)),onClick:ma(Q(G,Fe)),tabIndex:-1},I,B);return R(R({},ia),Z)}},[B,i,l,r,t]);return R(R({},oa),{},{isFocused:p&&!t,getRootProps:Ce,getInputProps:Ie,rootRef:F,inputRef:B,open:ma(H)})}function Li(a,e){switch(e.type){case"focus":return R(R({},a),{},{isFocused:!0});case"blur":return R(R({},a),{},{isFocused:!1});case"openDialog":return R(R({},Ba),{},{isFileDialogActive:!0});case"closeDialog":return R(R({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return R(R({},a),{},{isDragActive:e.isDragActive,isDragAccept:e.isDragAccept,isDragReject:e.isDragReject});case"setFiles":return R(R({},a),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections,isDragReject:!1});case"setDragGlobal":return R(R({},a),{},{isDragGlobal:e.isDragGlobal});case"reset":return R({},Ba);default:return a}}function ye(){}exports.useDropzone=Re;
7
+ //# sourceMappingURL=index-D8y9Cogu.cjs.map