@getmicdrop/venue-calendar 4.3.136 → 4.3.139

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 (314) hide show
  1. package/README.md +895 -840
  2. package/dist/AddOnCard-Dlt_4lut.js +475 -0
  3. package/dist/AppError-t1LnBwj_.js +30 -0
  4. package/dist/{ArrowLeftIcon-OhmQKtD4.js → ArrowLeftIcon-P8BRVhVl.js} +2 -3
  5. package/dist/Badge-CmYqIClC.js +51 -0
  6. package/dist/BottomSheet-D27k0B05.js +154 -0
  7. package/dist/Button-Ch5dRGa2.js +149 -0
  8. package/dist/Button-DpeQSoQ7.js +247 -0
  9. package/dist/Calendar-CNWS2xiR.js +396 -0
  10. package/dist/CalendarFoundryView-B5puOxH5.js +16431 -0
  11. package/dist/{CalendarIcon-DCLzgpBo.js → CalendarIcon-MAVEqtql.js} +2 -3
  12. package/dist/{ChevronDownOutline-D7YDiKBF.js → CalendarOutline-CApIWx8i.js} +2 -3
  13. package/dist/{ChartBlock-SYOAO1s_.js → ChartBlock-vihMKVdW.js} +85 -112
  14. package/dist/{CheckIcon-BjPbytbt.js → CheckIcon-BH9EAoee.js} +2 -3
  15. package/dist/{Checkout-JdT81S88.js → Checkout-B2FvX6Af.js} +356 -368
  16. package/dist/Checkout-y0x-v-XH.js +1995 -0
  17. package/dist/{ChevronDownIcon-O-Q8C_Qg.js → ChevronDownIcon-Bkts84qA.js} +2 -3
  18. package/dist/{ChevronRightOutline-CiG8UHni.js → ChevronRightOutline-D-5Qw6-Y.js} +2 -4
  19. package/dist/CloseIcon-DRlYvIPc.js +24 -0
  20. package/dist/{CloseOutline-qpVa62mu.js → CloseOutline-Bh9UO94v.js} +1 -2
  21. package/dist/CollectionView-CcLlV-1f.js +129 -0
  22. package/dist/CropImage-DqLAGy5s.js +547 -0
  23. package/dist/DatePicker-D20Te0JY.js +657 -0
  24. package/dist/{EmptyState-CMFePII9.js → EmptyState-BhK78ogy.js} +10 -12
  25. package/dist/{Event-BHnHfeO-.js → Event-DoIU0o6C.js} +1199 -1202
  26. package/dist/{EventCard-DIFJADV7.js → EventCard-B8MYLyIW.js} +15 -15
  27. package/dist/EventPage-DM4tjCcL.js +1298 -0
  28. package/dist/{ExclamationCircleOutline-D3XbhOwM.js → ExclamationCircleOutline-CPelT1Bu.js} +1 -2
  29. package/dist/FilterChipGroup-BCjc7-pE.js +103 -0
  30. package/dist/Grid-DRRXcWRE.js +41 -0
  31. package/dist/{Heading-vOVPxhJF.js → Heading-WcF3Rh3o.js} +4 -6
  32. package/dist/Image-dhbgrhG-.js +89 -0
  33. package/dist/ImageUploader-BzxKIyLN.js +999 -0
  34. package/dist/{Input-BG9DbwUe.js → Input-Bp5EgI1F.js} +47 -45
  35. package/dist/LiveRegion-Ds0mjIVj.js +17 -0
  36. package/dist/{LocationIcon-BEx96ng8.js → LocationIcon-BNPEzWv2.js} +3 -5
  37. package/dist/Modal-C6EXgkuF.js +159 -0
  38. package/dist/ModalFooter-C4TD3-zP.js +299 -0
  39. package/dist/ModalTitle-BP4Bm3sA.js +26 -0
  40. package/dist/{PasswordInput-BQdpZ9HL.js → PasswordInput-BlzSrkPs.js} +11 -13
  41. package/dist/{PhoneInput-5l-M5ykF.js → PhoneInput-_ByjRGQ0.js} +80 -89
  42. package/dist/{RecommendationsRail-BRthm1Iu.js → RecommendationsRail-BDNnbL-p.js} +161 -172
  43. package/dist/RequiredIndicator-CRZ_coyR.js +16 -0
  44. package/dist/Search-vhGEpog6.js +82 -0
  45. package/dist/SearchIcon-BzOhoKm8.js +24 -0
  46. package/dist/SeriesPage-YE8czX1M.js +32 -0
  47. package/dist/SheetHandle-CCfYCPbY.js +66 -0
  48. package/dist/SkeletonLoader-Beh2izdy.js +121 -0
  49. package/dist/Spinner-DgubkWKo.js +88 -0
  50. package/dist/Stack-Ck1wrJ0l.js +34 -0
  51. package/dist/{Success-DWdMk7gp.js → Success-CN5HB8gN.js} +271 -305
  52. package/dist/{TagIcon-BIJYPXYq.js → TagIcon-Dp7n6eKU.js} +2 -3
  53. package/dist/TimePicker-BDuy9Ap8.js +215 -0
  54. package/dist/ValidationError-BxKB_SVA.js +48 -0
  55. package/dist/{ViewTicketsEmbed-CjH3N_VJ.js → ViewTicketsEmbed-DvoMIiKJ.js} +226 -244
  56. package/dist/{WarningCircleIcon-Uuc8KHJN.js → WarningCircleIcon-jC3nXehu.js} +4 -7
  57. package/dist/{WarningTriIcon-SX24XObM.js → WarningTriIcon-BMa-jcUr.js} +2 -3
  58. package/dist/address-field-DOalICpt.js +295 -0
  59. package/dist/{href-ZuPjzr6t.js → allowlist-DinkGF2L.js} +254 -316
  60. package/dist/api/api.cjs +1 -1
  61. package/dist/api/api.mjs +331 -322
  62. package/dist/api/client.d.ts +14 -53
  63. package/dist/api/cta.d.ts +4 -0
  64. package/dist/api/events.d.ts +28 -1
  65. package/dist/api/result.d.ts +9 -0
  66. package/dist/api-CsAx0rmV.js +507 -0
  67. package/dist/avatar-picker-field-CV4vRxTB.js +115 -0
  68. package/dist/{browser-BzcyBbWS.js → browser-DEUBVMmV.js} +8 -9
  69. package/dist/bundle-mjs-COnlheJX.js +1776 -0
  70. package/dist/{buyerEmail-BfCq-gDt.js → buyerEmail-CvPpEiON.js} +2 -3
  71. package/dist/checkout-libs/4.3.139/phone.js +6 -0
  72. package/dist/checkout-libs/{4.3.136 → 4.3.139}/qrcode.js +3 -3
  73. package/dist/{checkoutState-wrwq9TD7.js → checkoutState-DSx7g3Vy.js} +18 -30
  74. package/dist/classNames-CPSQ9uy4.js +25 -0
  75. package/dist/clickOutside-D448uRpo.js +22 -0
  76. package/dist/{client-SmFkruvn.js → client-SaDt6559.js} +22 -19
  77. package/dist/colors-CdP193E5.js +106 -0
  78. package/dist/colors-D67OMr_8.js +22 -0
  79. package/dist/{constants-D_7LswXe.js → constants-sRRJh0u-.js} +3 -5
  80. package/dist/controlAria-Do9QK0WI.js +13 -0
  81. package/dist/{copyToClipboard-BzoArVPb.js → copyToClipboard-CjNjDZeW.js} +3 -5
  82. package/dist/createErrorGate.svelte-DUXI6Yor.js +82 -0
  83. package/dist/date-field-DylJx0y7.js +88 -0
  84. package/dist/date-range-field-BOV1V2ab.js +163 -0
  85. package/dist/{de-DC0pKC1H.js → de-CzkX3H3B.js} +2 -2
  86. package/dist/{de-BbjhLBzm.js → de-vKpbo9Zl.js} +1 -2
  87. package/dist/defaultLabels-DLK6rq4q.js +564 -0
  88. package/dist/defaults-Cbuin1WS.js +147 -0
  89. package/dist/deprecation-BCjqE5lW.js +4 -0
  90. package/dist/{dist-bwbfGPKR.js → dist-Dptst9ym.js} +2 -4
  91. package/dist/{es-38yS4d3G.js → es-8qe0Mo-8.js} +1 -2
  92. package/dist/{es-DxoJfXOC.js → es-BOLzv8eD.js} +2 -2
  93. package/dist/{event-DXsgCbu0.js → event-ClsLWtR0.js} +3 -4
  94. package/dist/event-transform-Cs63X0hI.js +250 -0
  95. package/dist/{eventStatusStream-JWP2AXnQ.js → eventStatusStream-BAh5nJP2.js} +4 -7
  96. package/dist/field-rules-Yb2JY1qT.js +416 -0
  97. package/dist/file-field-Dwo80kDg.js +210 -0
  98. package/dist/{filepond-plugin-file-validate-size-DNnItZ84.js → filepond-plugin-file-validate-size-CuNOjGbP.js} +20 -27
  99. package/dist/{filepond-plugin-file-validate-type-CUMTkI8X.js → filepond-plugin-file-validate-type-CVtQwdIK.js} +25 -27
  100. package/dist/{filepond-plugin-image-exif-orientation-GEwHZTBU.js → filepond-plugin-image-exif-orientation-CMPs7yGQ.js} +21 -23
  101. package/dist/{filepond-plugin-image-preview-DKfgAnVa.js → filepond-plugin-image-preview-DKsOZAGe.js} +12 -27
  102. package/dist/{floatingPosition-XIv5DYuP.js → floatingPosition-BCUPmGCN.js} +8 -13
  103. package/dist/format-CehusdDg.js +1718 -0
  104. package/dist/formatters-DUWbI_Eg.js +103 -0
  105. package/dist/foundryRuntime-DKyfdkUY.js +13 -0
  106. package/dist/{fr-LivMhlfx.js → fr-BmpShjUG.js} +1 -2
  107. package/dist/{fr-DCdoZpLm.js → fr-DYTIBBXo.js} +2 -2
  108. package/dist/{gate-password-cache-oOcDm9Ki.js → gate-password-cache-zIbewXQ2.js} +1 -2
  109. package/dist/hexToHsl-D-BPy03y.js +24 -0
  110. package/dist/href-BXhNawil.js +18 -0
  111. package/dist/i18n-BNF6a-QA.js +720 -0
  112. package/dist/i18n-F_QOaHVh.js +26 -0
  113. package/dist/iconWeight-BRXEDAh2.js +12 -0
  114. package/dist/{id-XuEVsPu6.js → id-CIyIkGhH.js} +2 -2
  115. package/dist/{id-BvOr8-aw.js → id-_6GFAYBn.js} +1 -2
  116. package/dist/image-field-DeLzsJlz.js +139 -0
  117. package/dist/{imageUrl-xyMedKrE.js → imageUrl-iAS2Xo17.js} +1 -2
  118. package/dist/{it-RdUTxnO5.js → it-CF4Db_nK.js} +2 -2
  119. package/dist/{it-mzikQJIm.js → it-Dc-H_PdY.js} +1 -2
  120. package/dist/{ja-DgVJimHs.js → ja-5-7WNHD1.js} +2 -2
  121. package/dist/{ja-D9PSUNMd.js → ja-Cobhk-xH.js} +1 -2
  122. package/dist/keyboard-Dk2PfrEz.js +28 -0
  123. package/dist/{ko-DEgW43V6.js → ko-CyTlg6vA.js} +1 -2
  124. package/dist/{ko-CcPM8_aU.js → ko-huIzHR3W.js} +2 -2
  125. package/dist/labels-CjSrA6gx.js +9 -0
  126. package/dist/{lazyOnce-CCfEO1xG.js → lazyOnce-jG8k1apa.js} +1 -2
  127. package/dist/loaders.static-Bw9asjrm.js +3 -0
  128. package/dist/locales/4.3.139/main/de.js +1 -0
  129. package/dist/locales/4.3.139/main/es.js +1 -0
  130. package/dist/locales/4.3.139/main/fr.js +1 -0
  131. package/dist/locales/4.3.139/main/id.js +1 -0
  132. package/dist/locales/4.3.139/main/it.js +1 -0
  133. package/dist/locales/4.3.139/main/ja.js +1 -0
  134. package/dist/locales/4.3.139/main/ko.js +1 -0
  135. package/dist/locales/4.3.139/main/nl.js +1 -0
  136. package/dist/locales/4.3.139/main/pl.js +1 -0
  137. package/dist/locales/4.3.139/main/pt-br.js +1 -0
  138. package/dist/locales/4.3.139/main/tr.js +1 -0
  139. package/dist/locales/4.3.139/main/zh.js +1 -0
  140. package/dist/logger-DM8WW61-.js +89 -0
  141. package/dist/look-island.svelte-D87MvHNy.js +1296 -0
  142. package/dist/look-names-B9MywEzX.js +185 -0
  143. package/dist/looks/4.3.139/AddOnCard-CKdkGcHH.js +1 -0
  144. package/dist/looks/4.3.139/Checkout-D7CaFYTE.js +1 -0
  145. package/dist/looks/4.3.139/Checkout-DuP46PMi.js +3 -0
  146. package/dist/looks/4.3.139/CollectionView-CWm57JCx.js +1 -0
  147. package/dist/looks/4.3.139/Event-ePupb4qY.js +8 -0
  148. package/dist/looks/4.3.139/EventPage-CgexXhEU.js +1 -0
  149. package/dist/looks/4.3.139/RecommendationsRail-Bz-Mj_r4.js +2 -0
  150. package/dist/looks/4.3.139/SeriesPage-DI2uFF0Y.js +1 -0
  151. package/dist/looks/4.3.139/Success-BkMzmgmc.js +3 -0
  152. package/dist/looks/4.3.139/ViewTicketsEmbed-CbEJwRry.js +1 -0
  153. package/dist/looks/4.3.139/_vc-foundry-calendar-stub-BVbAFEK2.js +1 -0
  154. package/dist/looks/4.3.139/buyerEmail-CqCYa9UL.js +1 -0
  155. package/dist/looks/4.3.139/constants-CU_ZgyQu.js +3 -0
  156. package/dist/looks/4.3.139/defaults-B46SFFK4.js +2 -0
  157. package/dist/looks/4.3.139/dist-BWGSqtWN.js +1 -0
  158. package/dist/looks/4.3.139/eventStatusStream-CW5lJwsa.js +10 -0
  159. package/dist/looks/4.3.139/first-core-DrYq9wBy.js +151 -0
  160. package/dist/looks/4.3.139/first-mount.svelte-DFSLaJWm.js +1 -0
  161. package/dist/looks/4.3.139/first-seo-DvHuCXT6.js +1 -0
  162. package/dist/looks/4.3.139/first.js +1 -0
  163. package/dist/looks/4.3.139/full-widget-DDBk3i4U.js +2 -0
  164. package/dist/looks/4.3.139/gate-password-cache-D4Zls6QM.js +1 -0
  165. package/dist/looks/4.3.139/i18n-DRaFNYsQ.js +1 -0
  166. package/dist/looks/4.3.139/listing-BSaRTkxW.js +1 -0
  167. package/dist/looks/4.3.139/loaders.runtime-BNG8O6-A.js +1 -0
  168. package/dist/looks/4.3.139/looks.js +1 -0
  169. package/dist/looks/4.3.139/modalManager.svelte-CqQWYz9Y.js +1 -0
  170. package/dist/looks/4.3.139/rolldown-runtime-4tVxZq34.js +1 -0
  171. package/dist/looks/4.3.139/serverTotals-Bu1fAPLB.js +1 -0
  172. package/dist/looks/4.3.139/showcase-state-options-CpCMAKVD.js +1 -0
  173. package/dist/looks/4.3.139/utils-pGRhH4A-.js +1 -0
  174. package/dist/media-field-PW8ye6EL.js +65 -0
  175. package/dist/modalManager.svelte-BHE0t9q3.js +79 -0
  176. package/dist/multiselect-field-CmocFs5f.js +61 -0
  177. package/dist/navigation-B8rkS2On.js +348 -0
  178. package/dist/{nl-DdxH5fLm.js → nl-B1dv1lqk.js} +2 -2
  179. package/dist/{nl-DjFukZvI.js → nl-BObQMscG.js} +1 -2
  180. package/dist/{normalizers-CqGXhPZo.js → normalizers-WYh8Nr3V.js} +3 -5
  181. package/dist/number-field-CUD936Ai.js +126 -0
  182. package/dist/numeric-filter-field-BmgSYhOt.js +131 -0
  183. package/dist/password-field-BfvcZUi_.js +157 -0
  184. package/dist/phone-CVYVhLn8.js +5 -0
  185. package/dist/phone-field-DO0U_YZ6.js +128 -0
  186. package/dist/{phoneShape-DlWC17He.js → phoneShape-VqbamHOn.js} +1 -2
  187. package/dist/{phoneUtils-CL8tIxoM.js → phoneUtils-BhOvrS4S.js} +133 -193
  188. package/dist/{pixels-DO7kbZa_.js → pixels-ipedGW6i.js} +18 -24
  189. package/dist/{pl-B99nQZCh.js → pl-DLlM_IPo.js} +2 -2
  190. package/dist/{pl-COAiNJDs.js → pl-_Sbz4Ou-.js} +1 -2
  191. package/dist/portal-BSuo4flQ.js +64 -0
  192. package/dist/portalContainment-DSZUw-No.js +78 -0
  193. package/dist/{pt-br-jT56QM8s.js → pt-br-8V3mf7pu.js} +2 -2
  194. package/dist/{pt-br-_KntrgGE.js → pt-br-CpmhafxS.js} +1 -2
  195. package/dist/qrcode-By7ce_6K.js +5 -0
  196. package/dist/repeating-field-BwtJ6VS1.js +488 -0
  197. package/dist/richtext-field-DvLCxPvq.js +212 -0
  198. package/dist/{rolldown-runtime-DtPi1Y-2.js → rolldown-runtime-CYdcPHCu.js} +2 -3
  199. package/dist/scarcity-DfQvyhJP.js +165 -0
  200. package/dist/searchable-select-field-zuIqfoQM.js +138 -0
  201. package/dist/select-field-DNNN-a9q.js +72 -0
  202. package/dist/seo/HostSeoController.d.ts +13 -0
  203. package/dist/seo/seo.cjs +1 -1
  204. package/dist/seo/seo.mjs +42 -53
  205. package/dist/seo/types.d.ts +4 -1
  206. package/dist/serverTotals-BprgDwOw.js +950 -0
  207. package/dist/{showcase-state-options-D5UTR7zF.js → showcase-state-options-bKRf48yz.js} +5 -5
  208. package/dist/sizing-Chy28j6-.js +61 -0
  209. package/dist/{sortable.esm--ZtTTTPp.js → sortable.esm-Wq6bSSEz.js} +29 -49
  210. package/dist/spacing-Y1dLegqt.js +48 -0
  211. package/dist/{src-DZgagYE3.js → src-BpVpi-n3.js} +256 -398
  212. package/dist/time-field-DmPCoppV.js +53 -0
  213. package/dist/to-event-card-props-KVcCJ2JF.js +245 -0
  214. package/dist/{tr-8IIuKwpQ.js → tr-CN8DGCc-.js} +1 -2
  215. package/dist/{tr-B5sI__p7.js → tr-DiUEV65j.js} +2 -2
  216. package/dist/transitions-DST-mWoo.js +201 -0
  217. package/dist/tree-picker-field-BJwSFAqm.js +344 -0
  218. package/dist/types/index.d.ts +5 -1
  219. package/dist/typography-CKwYSv07.js +57 -0
  220. package/dist/{utils-S6mZHEaC.js → utils-x8YXRKvr.js} +16 -19
  221. package/dist/variants-B46fK2iV.js +63 -0
  222. package/dist/venue-BjLCg-PW.js +38 -0
  223. package/dist/venue-calendar.css +1 -1
  224. package/dist/venue-calendar.es.js +1822 -1872
  225. package/dist/venue-calendar.iife.js +1 -69
  226. package/dist/venue-calendar.umd.js +77 -79
  227. package/dist/{widget-key-context-Xn6MT23x.js → widget-key-context-dHM9FiuJ.js} +34 -78
  228. package/dist/{zh-apNTBV5B.js → zh-BaZ_hYJV.js} +1 -2
  229. package/dist/{zh-DLwlt3JO.js → zh-Cej2EPQt.js} +2 -2
  230. package/package.json +14 -14
  231. package/src/lib/constants/scarcity.ts +1 -2
  232. package/src/lib/theme.js +222 -222
  233. package/dist/AddOnCard-Ck_b8lsf.js +0 -351
  234. package/dist/BlockPlaceholder-Cjbm5hoG.js +0 -52
  235. package/dist/Button-B58iYo_t.js +0 -1951
  236. package/dist/Button-VUB2WJ88.js +0 -178
  237. package/dist/Calendar-B6yNPdBl.js +0 -466
  238. package/dist/CalendarFoundryView-BfGZj-_Z.js +0 -21608
  239. package/dist/CartView-CA_wZlil.js +0 -2304
  240. package/dist/Checkbox-BtJwg_CF.js +0 -61
  241. package/dist/Checkout-C_Dn_RZI.js +0 -1878
  242. package/dist/CheckoutTimer-DzYupNUI.js +0 -44
  243. package/dist/CloseIcon-40klpaYz.js +0 -35
  244. package/dist/CollectionView-Dp529P99.js +0 -141
  245. package/dist/CropImage-D1M-bKxG.js +0 -548
  246. package/dist/EventPage-DGrkeBd_.js +0 -1356
  247. package/dist/Grid-kuP6V0GW.js +0 -89
  248. package/dist/Modal-rt9KVfYa.js +0 -103
  249. package/dist/ModalFooter-Cru7v0io.js +0 -394
  250. package/dist/ModalHeader-CpgkuttK.js +0 -18
  251. package/dist/ScarcityBadge-Dt0r5r2M.js +0 -145
  252. package/dist/SeriesPage-0sHD6hcq.js +0 -35
  253. package/dist/Spinner-e-Mg0Eyb.js +0 -19
  254. package/dist/Textarea-Cymhixzd.js +0 -72
  255. package/dist/__SKIP_NAVIGATION__-AOx8SI54.js +0 -6
  256. package/dist/__SKIP_PATHS__-C0ixDSSm.js +0 -6
  257. package/dist/action-test-id-7RXdHucW.js +0 -145
  258. package/dist/adapter-z116JHU0.js +0 -164
  259. package/dist/api-Dvn2tGdx.js +0 -489
  260. package/dist/checkout-libs/4.3.136/phone.js +0 -6
  261. package/dist/controlAria-CGb-KeRn.js +0 -30
  262. package/dist/createErrorGate.svelte-CZVc_TpX.js +0 -114
  263. package/dist/cta-CTb57V0F.js +0 -116
  264. package/dist/datetime-Co_z9IUQ.js +0 -410
  265. package/dist/defaultLabels-Q5_A1ZrR.js +0 -2558
  266. package/dist/defaults-BDbx3_c0.js +0 -96
  267. package/dist/event-transform-iOZIJrTf.js +0 -353
  268. package/dist/i18n-Xwod-PFp.js +0 -497
  269. package/dist/i18n-cI0EPfvw.js +0 -28
  270. package/dist/imageOptimizer-Gew5vPWh.js +0 -224
  271. package/dist/keyboard-DhCcdIyh.js +0 -55
  272. package/dist/labels-BGvfcm36.js +0 -228
  273. package/dist/loaders.static-xwcJwfk2.js +0 -4
  274. package/dist/locales/4.3.136/main/de.js +0 -1
  275. package/dist/locales/4.3.136/main/es.js +0 -1
  276. package/dist/locales/4.3.136/main/fr.js +0 -1
  277. package/dist/locales/4.3.136/main/id.js +0 -1
  278. package/dist/locales/4.3.136/main/it.js +0 -1
  279. package/dist/locales/4.3.136/main/ja.js +0 -1
  280. package/dist/locales/4.3.136/main/ko.js +0 -1
  281. package/dist/locales/4.3.136/main/nl.js +0 -1
  282. package/dist/locales/4.3.136/main/pl.js +0 -1
  283. package/dist/locales/4.3.136/main/pt-br.js +0 -1
  284. package/dist/locales/4.3.136/main/tr.js +0 -1
  285. package/dist/locales/4.3.136/main/zh.js +0 -1
  286. package/dist/look-island.svelte-BldqMkPS.js +0 -1305
  287. package/dist/looks/4.3.136/looks.js +0 -242
  288. package/dist/modalManager.svelte-Cz_6x1Qd.js +0 -37
  289. package/dist/navigation-D6W4anEV.js +0 -245
  290. package/dist/phone-D76_-CNi.js +0 -6
  291. package/dist/portal-D-oaEWsY.js +0 -43
  292. package/dist/portalContainment-CeAVqIb-.js +0 -281
  293. package/dist/qrcode-Cehaq1db.js +0 -6
  294. package/dist/serverTotals-C-S3hONA.js +0 -712
  295. package/dist/sizing-B7ixYndz.js +0 -216
  296. package/dist/to-event-card-props-CPYickue.js +0 -205
  297. package/dist/venue-BBoZBuhu.js +0 -13
  298. /package/dist/locales/{4.3.136 → 4.3.139}/flow/de.js +0 -0
  299. /package/dist/locales/{4.3.136 → 4.3.139}/flow/es.js +0 -0
  300. /package/dist/locales/{4.3.136 → 4.3.139}/flow/fr.js +0 -0
  301. /package/dist/locales/{4.3.136 → 4.3.139}/flow/id.js +0 -0
  302. /package/dist/locales/{4.3.136 → 4.3.139}/flow/it.js +0 -0
  303. /package/dist/locales/{4.3.136 → 4.3.139}/flow/ja.js +0 -0
  304. /package/dist/locales/{4.3.136 → 4.3.139}/flow/ko.js +0 -0
  305. /package/dist/locales/{4.3.136 → 4.3.139}/flow/nl.js +0 -0
  306. /package/dist/locales/{4.3.136 → 4.3.139}/flow/pl.js +0 -0
  307. /package/dist/locales/{4.3.136 → 4.3.139}/flow/pt-br.js +0 -0
  308. /package/dist/locales/{4.3.136 → 4.3.139}/flow/tr.js +0 -0
  309. /package/dist/locales/{4.3.136 → 4.3.139}/flow/zh.js +0 -0
  310. /package/dist/looks/{4.3.136 → 4.3.139}/micdrop-wordmark-BYMG6vLR.svg +0 -0
  311. /package/dist/looks/{4.3.136 → 4.3.139}/microphone-Ccv4r-kd.webp +0 -0
  312. /package/dist/looks/{4.3.136 → 4.3.139}/superuser-CZF6a5gO.webp +0 -0
  313. /package/dist/looks/{4.3.136 → 4.3.139}/treasury-DUE7lZzT.webp +0 -0
  314. /package/dist/looks/{4.3.136 → 4.3.139}/user-image-yuS4errP.svg +0 -0
@@ -1,14 +1,13 @@
1
- import { n as e, t } from "./rolldown-runtime-DtPi1Y-2.js";
1
+ import { n as e, t } from "./rolldown-runtime-CYdcPHCu.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as n from "svelte/internal/client";
4
4
  import { afterUpdate as r, onDestroy as i } from "svelte";
5
5
  import "svelte/internal/flags/legacy";
6
- //#endregion
7
- //#region node_modules/svelte-filepond/src/Component.svelte
8
- var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
6
+ // node_modules/svelte-filepond/src/Component.svelte
7
+ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t, n) => {
9
8
  (function(n, r) {
10
9
  typeof e == "object" && t !== void 0 ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (n ||= self, r(n.FilePond = {}));
11
- })(e, function(e) {
10
+ })(n, function(e) {
12
11
  var t = function(e) {
13
12
  return e instanceof HTMLElement;
14
13
  }, n = function(e) {
@@ -24,17 +23,13 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
24
23
  l(t, n);
25
24
  });
26
25
  }, l = function(e, t, n) {
27
- if (n && !document.hidden) {
28
- a.push({
29
- type: e,
30
- data: t
31
- });
32
- return;
33
- }
34
- p[e] && p[e](t), i.push({
26
+ n && !document.hidden ? a.push({
35
27
  type: e,
36
28
  data: t
37
- });
29
+ }) : (p[e] && p[e](t), i.push({
30
+ type: e,
31
+ data: t
32
+ }));
38
33
  }, u = function(e) {
39
34
  var t, n = [...arguments].slice(1);
40
35
  return f[e] ? (t = f)[e].apply(t, n) : null;
@@ -53,11 +48,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
53
48
  p = Object.assign({}, e(l, u, r), {}, p);
54
49
  }), d;
55
50
  }, r = function(e, t, n) {
56
- if (typeof n == "function") {
57
- e[t] = n;
58
- return;
59
- }
60
- Object.defineProperty(e, t, Object.assign({}, n));
51
+ typeof n == "function" ? e[t] = n : Object.defineProperty(e, t, Object.assign({}, n));
61
52
  }, i = function(e, t) {
62
53
  for (var n in e) e.hasOwnProperty(n) && t(n, e[n]);
63
54
  }, a = function(e) {
@@ -134,21 +125,16 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
134
125
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.stiffness, n = t === void 0 ? .5 : t, r = e.damping, i = r === void 0 ? .75 : r, o = e.mass, s = o === void 0 ? 10 : o, c = null, l = null, u = 0, d = !1, f = a({
135
126
  interpolate: function(e, t) {
136
127
  if (!d) {
137
- if (!(b(c) && b(l))) {
138
- d = !0, u = 0;
139
- return;
128
+ if (!(b(c) && b(l))) d = !0, u = 0;
129
+ else {
130
+ var r = -(l - c) * n;
131
+ u += r / s, l += u, u *= i, x(l, c, u) || t ? (l = c, u = 0, d = !0, f.onupdate(l), f.oncomplete(l)) : f.onupdate(l);
140
132
  }
141
- var r = -(l - c) * n;
142
- u += r / s, l += u, u *= i, x(l, c, u) || t ? (l = c, u = 0, d = !0, f.onupdate(l), f.oncomplete(l)) : f.onupdate(l);
143
133
  }
144
134
  },
145
135
  target: {
146
136
  set: function(e) {
147
- if (b(e) && !b(l) && (l = e), c === null && (c = e, l = e), c = e, l === c || c === void 0) {
148
- d = !0, u = 0, f.onupdate(l), f.oncomplete(l);
149
- return;
150
- }
151
- d = !1;
137
+ b(e) && !b(l) && (l = e), c === null && (c = e, l = e), c = e, l === c || c === void 0 ? (d = !0, u = 0, f.onupdate(l), f.oncomplete(l)) : d = !1;
152
138
  },
153
139
  get: function() {
154
140
  return c;
@@ -175,11 +161,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
175
161
  return f ? 0 : p;
176
162
  },
177
163
  set: function(e) {
178
- if (p === null) {
179
- p = e, m.onupdate(e), m.oncomplete(e);
180
- return;
181
- }
182
- e < p ? (p = 1, f = !0) : (f = !1, p = e), d = !1, c = null;
164
+ p === null ? (p = e, m.onupdate(e), m.oncomplete(e)) : (e < p ? (p = 1, f = !0) : (f = !1, p = e), d = !1, c = null);
183
165
  }
184
166
  },
185
167
  resting: { get: function() {
@@ -202,7 +184,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
202
184
  }, o = function(t) {
203
185
  return n[e] = t;
204
186
  };
205
- typeof e == "object" && (i = e.key, a = e.getter || a, o = e.setter || o), !(t[i] && !r) && (t[i] = {
187
+ typeof e == "object" && (i = e.key, a = e.getter || a, o = e.setter || o), (!t[i] || r) && (t[i] = {
206
188
  get: a,
207
189
  set: o
208
190
  });
@@ -456,42 +438,41 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
456
438
  };
457
439
  }, ae = function(e, t) {
458
440
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 60, r = "__framePainter";
459
- if (window[r]) {
460
- window[r].readers.push(e), window[r].writers.push(t);
461
- return;
462
- }
463
- window[r] = {
464
- readers: [e],
465
- writers: [t]
466
- };
467
- var i = window[r], a = 1e3 / n, o = null, s = null, c = null, l = null, u = function() {
468
- document.hidden ? (c = function() {
469
- return window.setTimeout(function() {
470
- return d(performance.now());
471
- }, a);
472
- }, l = function() {
473
- return window.clearTimeout(s);
474
- }) : (c = function() {
475
- return window.requestAnimationFrame(d);
476
- }, l = function() {
477
- return window.cancelAnimationFrame(s);
441
+ if (window[r]) window[r].readers.push(e), window[r].writers.push(t);
442
+ else {
443
+ window[r] = {
444
+ readers: [e],
445
+ writers: [t]
446
+ };
447
+ var i = window[r], a = 1e3 / n, o = null, s = null, c = null, l = null, u = function() {
448
+ document.hidden ? (c = function() {
449
+ return window.setTimeout(function() {
450
+ return d(performance.now());
451
+ }, a);
452
+ }, l = function() {
453
+ return window.clearTimeout(s);
454
+ }) : (c = function() {
455
+ return window.requestAnimationFrame(d);
456
+ }, l = function() {
457
+ return window.cancelAnimationFrame(s);
458
+ });
459
+ };
460
+ document.addEventListener("visibilitychange", function() {
461
+ l && l(), u(), d(performance.now());
478
462
  });
479
- };
480
- document.addEventListener("visibilitychange", function() {
481
- l && l(), u(), d(performance.now());
482
- });
483
- var d = function e(t) {
484
- s = c(e), o ||= t;
485
- var n = t - o;
486
- n <= a || (o = t - n % a, i.readers.forEach(function(e) {
487
- return e();
488
- }), i.writers.forEach(function(e) {
489
- return e(t);
490
- }));
491
- };
492
- return u(), d(performance.now()), { pause: function() {
493
- l(s);
494
- } };
463
+ var d = function e(t) {
464
+ s = c(e), o ||= t;
465
+ var n = t - o;
466
+ n <= a || (o = t - n % a, i.readers.forEach(function(e) {
467
+ return e();
468
+ }), i.writers.forEach(function(e) {
469
+ return e(t);
470
+ }));
471
+ };
472
+ return u(), d(performance.now()), { pause: function() {
473
+ l(s);
474
+ } };
475
+ }
495
476
  }, F = function(e, t) {
496
477
  return function(n) {
497
478
  var r = n.root, i = n.props, a = n.actions, o = a === void 0 ? [] : a, s = n.timestamp, c = n.shouldOptimize;
@@ -728,11 +709,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
728
709
  try {
729
710
  var r = e[t](n), o = r.value, s = o instanceof ze;
730
711
  Promise.resolve(s ? o.wrapped : o).then(function(e) {
731
- if (s) {
732
- i("next", e);
733
- return;
734
- }
735
- a(r.done ? "return" : "normal", e);
712
+ s ? i("next", e) : a(r.done ? "return" : "normal", e);
736
713
  }, function(e) {
737
714
  i("throw", e);
738
715
  });
@@ -771,8 +748,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
771
748
  };
772
749
  function Ve(e, t) {
773
750
  if (e == null) return {};
774
- var n = {}, r = Object.keys(e), i, a;
775
- for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
751
+ for (var n = {}, r = Object.keys(e), i, a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
776
752
  return n;
777
753
  }
778
754
  function He(e, t) {
@@ -910,20 +886,19 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
910
886
  }).map(function(e) {
911
887
  return e.cb;
912
888
  });
913
- if (a.length === 0) {
914
- r(t);
915
- return;
916
- }
917
- var o = a.shift();
918
- a.reduce(function(e, t) {
919
- return e.then(function(e) {
920
- return t(e, n);
889
+ if (a.length === 0) r(t);
890
+ else {
891
+ var o = a.shift();
892
+ a.reduce(function(e, t) {
893
+ return e.then(function(e) {
894
+ return t(e, n);
895
+ });
896
+ }, o(t, n)).then(function(e) {
897
+ return r(e);
898
+ }).catch(function(e) {
899
+ return i(e);
921
900
  });
922
- }, o(t, n)).then(function(e) {
923
- return r(e);
924
- }).catch(function(e) {
925
- return i(e);
926
- });
901
+ }
927
902
  });
928
903
  }, rt = function(e, t, n) {
929
904
  return nt.filter(function(t) {
@@ -1250,19 +1225,14 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1250
1225
  try {
1251
1226
  for (var o = n[Symbol.iterator](), s; !(r = (s = o.next()).done); r = !0) {
1252
1227
  var c = s.value, l = Vt(c);
1253
- if (l) {
1254
- t.name = l;
1255
- continue;
1256
- }
1257
- var u = Ht(c);
1258
- if (u) {
1259
- t.size = u;
1260
- continue;
1261
- }
1262
- var d = Ut(c);
1263
- if (d) {
1264
- t.source = d;
1265
- continue;
1228
+ if (l) t.name = l;
1229
+ else {
1230
+ var u = Ht(c);
1231
+ if (u) t.size = u;
1232
+ else {
1233
+ var d = Ut(c);
1234
+ d && (t.source = d);
1235
+ }
1266
1236
  }
1267
1237
  }
1268
1238
  } catch (e) {
@@ -1292,15 +1262,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1292
1262
  var e = t.source;
1293
1263
  o.fire("init", e), e instanceof File ? o.fire("load", e) : e instanceof Blob ? o.fire("load", Mt(e, e.name)) : Et(e) ? o.fire("load", Bt(e)) : a(e);
1294
1264
  }, a = function(n) {
1295
- if (!e) {
1296
- o.fire("error", {
1297
- type: "error",
1298
- body: "Can't load URL",
1299
- code: 400
1300
- });
1301
- return;
1302
- }
1303
- t.timestamp = Date.now(), t.request = e(n, function(e) {
1265
+ e ? (t.timestamp = Date.now(), t.request = e(n, function(e) {
1304
1266
  t.duration = Date.now() - t.timestamp, t.complete = !0, e instanceof Blob && (e = Mt(e, e.name || Dt(n))), o.fire("load", e instanceof Blob ? e : e ? e.body : null);
1305
1267
  }, function(e) {
1306
1268
  o.fire("error", typeof e == "string" ? {
@@ -1309,11 +1271,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1309
1271
  body: e
1310
1272
  } : e);
1311
1273
  }, function(e, n, r) {
1312
- if (r && (t.size = r), t.duration = Date.now() - t.timestamp, !e) {
1313
- t.progress = null;
1314
- return;
1315
- }
1316
- t.progress = n / r, o.fire("progress", t.progress);
1274
+ r && (t.size = r), t.duration = Date.now() - t.timestamp, e ? (t.progress = n / r, o.fire("progress", t.progress)) : t.progress = null;
1317
1275
  }, function() {
1318
1276
  o.fire("abort");
1319
1277
  }, function(e) {
@@ -1323,6 +1281,10 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1323
1281
  filename: n.name,
1324
1282
  source: n.source
1325
1283
  });
1284
+ })) : o.fire("error", {
1285
+ type: "error",
1286
+ body: "Can't load URL",
1287
+ code: 400
1326
1288
  });
1327
1289
  }, o = Object.assign({}, Ye(), {
1328
1290
  setSource: function(e) {
@@ -1356,7 +1318,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1356
1318
  return s.onprogress = function(e) {
1357
1319
  i || r.onprogress(e.lengthComputable, e.loaded, e.total);
1358
1320
  }, o.onreadystatechange = function() {
1359
- o.readyState < 2 || (o.readyState !== 4 || o.status !== 0) && (a || (a = !0, r.onheaders(o)));
1321
+ o.readyState < 2 || o.readyState === 4 && o.status === 0 || a || (a = !0, r.onheaders(o));
1360
1322
  }, o.onload = function() {
1361
1323
  o.status >= 200 && o.status < 300 ? r.onload(o) : r.onerror(o);
1362
1324
  }, o.onerror = function() {
@@ -1464,34 +1426,33 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1464
1426
  return e.status === J.QUEUED || e.status === J.ERROR;
1465
1427
  }, O = function(t) {
1466
1428
  if (!g.aborted) {
1467
- if (t ||= d.find(D), !t) {
1468
- d.every(function(e) {
1469
- return e.status === J.COMPLETE;
1470
- }) && E();
1471
- return;
1429
+ if (t ||= d.find(D), !t) d.every(function(e) {
1430
+ return e.status === J.COMPLETE;
1431
+ }) && E();
1432
+ else {
1433
+ t.status = J.PROCESSING, t.progress = null;
1434
+ var n = p.ondata || function(e) {
1435
+ return e;
1436
+ }, i = p.onerror || function(e) {
1437
+ return null;
1438
+ }, a = p.onload || function() {}, s = Xt(e, p.url, g.serverId), l = typeof p.headers == "function" ? p.headers(t) : Object.assign({}, p.headers, {
1439
+ "Content-Type": "application/offset+octet-stream",
1440
+ "Upload-Offset": t.offset,
1441
+ "Upload-Length": r.size,
1442
+ "Upload-Name": r.name
1443
+ }), u = t.request = qt(n(t.data), s, Object.assign({}, p, { headers: l }));
1444
+ u.onload = function(e) {
1445
+ a(e, t.index, d.length), t.status = J.COMPLETE, t.request = null, j();
1446
+ }, u.onprogress = function(e, n, r) {
1447
+ t.progress = e ? n : null, A();
1448
+ }, u.onerror = function(e) {
1449
+ t.status = J.ERROR, t.request = null, t.error = i(e.response) || e.statusText, k(t) || o(q("error", e.status, i(e.response) || e.statusText, e.getAllResponseHeaders()));
1450
+ }, u.ontimeout = function(e) {
1451
+ t.status = J.ERROR, t.request = null, k(t) || Jt(o)(e);
1452
+ }, u.onabort = function() {
1453
+ t.status = J.QUEUED, t.request = null, c();
1454
+ };
1472
1455
  }
1473
- t.status = J.PROCESSING, t.progress = null;
1474
- var n = p.ondata || function(e) {
1475
- return e;
1476
- }, i = p.onerror || function(e) {
1477
- return null;
1478
- }, a = p.onload || function() {}, s = Xt(e, p.url, g.serverId), l = typeof p.headers == "function" ? p.headers(t) : Object.assign({}, p.headers, {
1479
- "Content-Type": "application/offset+octet-stream",
1480
- "Upload-Offset": t.offset,
1481
- "Upload-Length": r.size,
1482
- "Upload-Name": r.name
1483
- }), u = t.request = qt(n(t.data), s, Object.assign({}, p, { headers: l }));
1484
- u.onload = function(e) {
1485
- a(e, t.index, d.length), t.status = J.COMPLETE, t.request = null, j();
1486
- }, u.onprogress = function(e, n, r) {
1487
- t.progress = e ? n : null, A();
1488
- }, u.onerror = function(e) {
1489
- t.status = J.ERROR, t.request = null, t.error = i(e.response) || e.statusText, k(t) || o(q("error", e.status, i(e.response) || e.statusText, e.getAllResponseHeaders()));
1490
- }, u.ontimeout = function(e) {
1491
- t.status = J.ERROR, t.request = null, k(t) || Jt(o)(e);
1492
- }, u.onabort = function() {
1493
- t.status = J.QUEUED, t.request = null, c();
1494
- };
1495
1456
  }
1496
1457
  }, k = function(e) {
1497
1458
  return e.retries.length !== 0 && (e.status = J.WAITING, clearTimeout(e.timeout), e.timeout = setTimeout(function() {
@@ -1587,11 +1548,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1587
1548
  var s = Date.now() - a, c = nn(n, r);
1588
1549
  s + c > t && (c = s + c - t);
1589
1550
  var l = s / t;
1590
- if (l >= 1 || document.hidden) {
1591
- e(1);
1592
- return;
1593
- }
1594
- e(l), i = setTimeout(o, c);
1551
+ l >= 1 || document.hidden ? e(1) : (e(l), i = setTimeout(o, c));
1595
1552
  }(), { clear: function() {
1596
1553
  clearTimeout(i);
1597
1554
  } };
@@ -1706,11 +1663,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1706
1663
  }, p = function() {
1707
1664
  return i.file;
1708
1665
  }, m = function(t, n, r) {
1709
- if (i.source = t, S.fireSync("init"), i.file) {
1710
- S.fireSync("load-skip");
1711
- return;
1712
- }
1713
- i.file = sn(t), n.on("init", function() {
1666
+ i.source = t, S.fireSync("init"), i.file ? S.fireSync("load-skip") : (i.file = sn(t), n.on("init", function() {
1714
1667
  l("load-init");
1715
1668
  }), n.on("meta", function(t) {
1716
1669
  i.file.size = t.size, i.file.filename = t.filename, t.source && (e = U.LIMBO, i.serverFileReference = t.source, i.status = H.PROCESSING_COMPLETE), l("load-meta");
@@ -1724,81 +1677,57 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1724
1677
  i.activeLoader = null;
1725
1678
  var n = function(t) {
1726
1679
  i.file = cn(t) ? t : i.file, e === U.LIMBO && i.serverFileReference ? c(H.PROCESSING_COMPLETE) : c(H.IDLE), l("load");
1727
- }, a = function(e) {
1728
- i.file = t, l("load-meta"), c(H.LOAD_ERROR), l("load-file-error", e);
1729
1680
  };
1730
- if (i.serverFileReference) {
1731
- n(t);
1732
- return;
1733
- }
1734
- r(t, n, a);
1735
- }), n.setSource(t), i.activeLoader = n, n.load();
1681
+ i.serverFileReference ? n(t) : r(t, n, function(e) {
1682
+ i.file = t, l("load-meta"), c(H.LOAD_ERROR), l("load-file-error", e);
1683
+ });
1684
+ }), n.setSource(t), i.activeLoader = n, n.load());
1736
1685
  }, h = function() {
1737
1686
  i.activeLoader && i.activeLoader.load();
1738
1687
  }, g = function() {
1739
- if (i.activeLoader) {
1740
- i.activeLoader.abort();
1741
- return;
1742
- }
1743
- c(H.INIT), l("load-abort");
1688
+ i.activeLoader ? i.activeLoader.abort() : (c(H.INIT), l("load-abort"));
1744
1689
  }, _ = function e(t, n) {
1745
- if (i.processingAborted) {
1746
- i.processingAborted = !1;
1747
- return;
1748
- }
1749
- if (c(H.PROCESSING), o = null, !(i.file instanceof Blob)) {
1750
- S.on("load", function() {
1751
- e(t, n);
1690
+ if (i.processingAborted) i.processingAborted = !1;
1691
+ else if (c(H.PROCESSING), o = null, !(i.file instanceof Blob)) S.on("load", function() {
1692
+ e(t, n);
1693
+ });
1694
+ else {
1695
+ t.on("load", function(e) {
1696
+ i.transferId = null, i.serverFileReference = e;
1697
+ }), t.on("transfer", function(e) {
1698
+ i.transferId = e;
1699
+ }), t.on("load-perceived", function(e) {
1700
+ i.activeProcessor = null, i.transferId = null, i.serverFileReference = e, c(H.PROCESSING_COMPLETE), l("process-complete", e);
1701
+ }), t.on("start", function() {
1702
+ l("process-start");
1703
+ }), t.on("error", function(e) {
1704
+ i.activeProcessor = null, c(H.PROCESSING_ERROR), l("process-error", e);
1705
+ }), t.on("abort", function(e) {
1706
+ i.activeProcessor = null, i.serverFileReference = e, c(H.IDLE), l("process-abort"), o && o();
1707
+ }), t.on("progress", function(e) {
1708
+ l("process-progress", e);
1752
1709
  });
1753
- return;
1710
+ var r = function(e) {
1711
+ i.archived || t.process(e, Object.assign({}, s));
1712
+ }, a = console.error;
1713
+ n(i.file, r, a), i.activeProcessor = t;
1754
1714
  }
1755
- t.on("load", function(e) {
1756
- i.transferId = null, i.serverFileReference = e;
1757
- }), t.on("transfer", function(e) {
1758
- i.transferId = e;
1759
- }), t.on("load-perceived", function(e) {
1760
- i.activeProcessor = null, i.transferId = null, i.serverFileReference = e, c(H.PROCESSING_COMPLETE), l("process-complete", e);
1761
- }), t.on("start", function() {
1762
- l("process-start");
1763
- }), t.on("error", function(e) {
1764
- i.activeProcessor = null, c(H.PROCESSING_ERROR), l("process-error", e);
1765
- }), t.on("abort", function(e) {
1766
- i.activeProcessor = null, i.serverFileReference = e, c(H.IDLE), l("process-abort"), o && o();
1767
- }), t.on("progress", function(e) {
1768
- l("process-progress", e);
1769
- });
1770
- var r = function(e) {
1771
- i.archived || t.process(e, Object.assign({}, s));
1772
- }, a = console.error;
1773
- n(i.file, r, a), i.activeProcessor = t;
1774
1715
  }, v = function() {
1775
1716
  i.processingAborted = !1, c(H.PROCESSING_QUEUED);
1776
1717
  }, y = function() {
1777
1718
  return new Promise(function(e) {
1778
- if (!i.activeProcessor) {
1779
- i.processingAborted = !0, c(H.IDLE), l("process-abort"), e();
1780
- return;
1781
- }
1782
- o = function() {
1719
+ i.activeProcessor ? (o = function() {
1783
1720
  e();
1784
- }, i.activeProcessor.abort();
1721
+ }, i.activeProcessor.abort()) : (i.processingAborted = !0, c(H.IDLE), l("process-abort"), e());
1785
1722
  });
1786
1723
  }, b = function(e, t) {
1787
1724
  return new Promise(function(n, r) {
1788
1725
  var a = i.serverFileReference === null ? i.transferId : i.serverFileReference;
1789
- if (a === null) {
1790
- n();
1791
- return;
1792
- }
1793
- e(a, function() {
1726
+ a === null ? n() : (e(a, function() {
1794
1727
  i.serverFileReference = null, i.transferId = null, n();
1795
1728
  }, function(e) {
1796
- if (!t) {
1797
- n();
1798
- return;
1799
- }
1800
- c(H.PROCESSING_REVERT_ERROR), l("process-revert-error"), r(e);
1801
- }), c(H.IDLE), l("process-revert");
1729
+ t ? (c(H.PROCESSING_REVERT_ERROR), l("process-revert-error"), r(e)) : n();
1730
+ }), c(H.IDLE), l("process-revert"));
1802
1731
  });
1803
1732
  }, x = function(e, t, n) {
1804
1733
  var r = e.split("."), i = r[0], a = r.pop(), o = s;
@@ -1943,14 +1872,10 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1943
1872
  "success",
1944
1873
  "failure"
1945
1874
  ]), l = lt(e.items, r);
1946
- if (!l) {
1947
- s({
1948
- error: q("error", 0, "Item not found"),
1949
- file: null
1950
- });
1951
- return;
1952
- }
1953
- t(l, a, s, c || {});
1875
+ l ? t(l, a, s, c || {}) : s({
1876
+ error: q("error", 0, "Item not found"),
1877
+ file: null
1878
+ });
1954
1879
  };
1955
1880
  }, xn = function(e, t, n) {
1956
1881
  return {
@@ -1986,44 +1911,43 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1986
1911
  var i = r.id, a = r.action, o = r.change;
1987
1912
  o.silent || (clearTimeout(n.itemUpdateTimeout), n.itemUpdateTimeout = setTimeout(function() {
1988
1913
  var r = fn(n.items, i);
1989
- if (!t("IS_ASYNC")) {
1990
- G("SHOULD_PREPARE_OUTPUT", !1, {
1914
+ if (!t("IS_ASYNC")) G("SHOULD_PREPARE_OUTPUT", !1, {
1915
+ item: r,
1916
+ query: t,
1917
+ action: a,
1918
+ change: o
1919
+ }).then(function(n) {
1920
+ var a = t("GET_BEFORE_PREPARE_FILE");
1921
+ a && (n = a(r, n)), n && e("REQUEST_PREPARE_OUTPUT", {
1922
+ query: i,
1991
1923
  item: r,
1992
- query: t,
1993
- action: a,
1994
- change: o
1995
- }).then(function(n) {
1996
- var a = t("GET_BEFORE_PREPARE_FILE");
1997
- a && (n = a(r, n)), n && e("REQUEST_PREPARE_OUTPUT", {
1998
- query: i,
1999
- item: r,
2000
- success: function(t) {
2001
- e("DID_PREPARE_OUTPUT", {
2002
- id: i,
2003
- file: t
2004
- });
2005
- }
2006
- }, !0);
1924
+ success: function(t) {
1925
+ e("DID_PREPARE_OUTPUT", {
1926
+ id: i,
1927
+ file: t
1928
+ });
1929
+ }
1930
+ }, !0);
1931
+ });
1932
+ else {
1933
+ r.origin === U.LOCAL && e("DID_LOAD_ITEM", {
1934
+ id: r.id,
1935
+ error: null,
1936
+ serverFileReference: r.source
2007
1937
  });
2008
- return;
1938
+ var s = function() {
1939
+ setTimeout(function() {
1940
+ e("REQUEST_ITEM_PROCESSING", { query: i });
1941
+ }, 32);
1942
+ }, c = function(e) {
1943
+ r.revert(tn(n.options.server.url, n.options.server.revert), t("GET_FORCE_REVERT")).then(e ? s : function() {}).catch(function() {});
1944
+ }, l = function(e) {
1945
+ r.abortProcessing().then(e ? s : function() {});
1946
+ };
1947
+ if (r.status === H.PROCESSING_COMPLETE) return c(n.options.instantUpload);
1948
+ if (r.status === H.PROCESSING) return l(n.options.instantUpload);
1949
+ n.options.instantUpload && s();
2009
1950
  }
2010
- r.origin === U.LOCAL && e("DID_LOAD_ITEM", {
2011
- id: r.id,
2012
- error: null,
2013
- serverFileReference: r.source
2014
- });
2015
- var s = function() {
2016
- setTimeout(function() {
2017
- e("REQUEST_ITEM_PROCESSING", { query: i });
2018
- }, 32);
2019
- }, c = function(e) {
2020
- r.revert(tn(n.options.server.url, n.options.server.revert), t("GET_FORCE_REVERT")).then(e ? s : function() {}).catch(function() {});
2021
- }, l = function(e) {
2022
- r.abortProcessing().then(e ? s : function() {});
2023
- };
2024
- if (r.status === H.PROCESSING_COMPLETE) return c(n.options.instantUpload);
2025
- if (r.status === H.PROCESSING) return l(n.options.instantUpload);
2026
- n.options.instantUpload && s();
2027
1951
  }, 0));
2028
1952
  },
2029
1953
  MOVE_ITEM: function(e) {
@@ -2061,14 +1985,11 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2061
1985
  },
2062
1986
  ADD_ITEM: function(r) {
2063
1987
  var i = r.source, a = r.index, o = a === void 0 ? -1 : a, s = r.interactionMethod, c = r.success, l = c === void 0 ? function() {} : c, u = r.failure, d = u === void 0 ? function() {} : u, f = r.options, p = f === void 0 ? {} : f;
2064
- if (I(i)) {
2065
- d({
2066
- error: q("error", 0, "No source"),
2067
- file: null
2068
- });
2069
- return;
2070
- }
2071
- if (!(cn(i) && n.options.ignoredFiles.includes(i.name.toLowerCase()))) {
1988
+ if (I(i)) d({
1989
+ error: q("error", 0, "No source"),
1990
+ file: null
1991
+ });
1992
+ else if (!(cn(i) && n.options.ignoredFiles.includes(i.name.toLowerCase()))) {
2072
1993
  if (!St(n)) {
2073
1994
  if (n.options.allowMultiple || !n.options.allowMultiple && !n.options.allowReplace) {
2074
1995
  var m = q("warning", 0, "Max files");
@@ -2120,21 +2041,17 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2120
2041
  });
2121
2042
  }), v.on("load-request-error", function(t) {
2122
2043
  var r = gn(n.options.labelFileLoadError)(t);
2123
- if (t.code >= 400 && t.code < 500) {
2124
- e("DID_THROW_ITEM_INVALID", {
2125
- id: b,
2126
- error: t,
2127
- status: {
2128
- main: r,
2129
- sub: t.code + " (" + t.body + ")"
2130
- }
2131
- }), d({
2132
- error: t,
2133
- file: V(v)
2134
- });
2135
- return;
2136
- }
2137
- e("DID_THROW_ITEM_LOAD_ERROR", {
2044
+ t.code >= 400 && t.code < 500 ? (e("DID_THROW_ITEM_INVALID", {
2045
+ id: b,
2046
+ error: t,
2047
+ status: {
2048
+ main: r,
2049
+ sub: t.code + " (" + t.body + ")"
2050
+ }
2051
+ }), d({
2052
+ error: t,
2053
+ file: V(v)
2054
+ })) : e("DID_THROW_ITEM_LOAD_ERROR", {
2138
2055
  id: b,
2139
2056
  error: t,
2140
2057
  status: {
@@ -2169,11 +2086,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2169
2086
  });
2170
2087
  }), v.on("load", function() {
2171
2088
  var r = function(r) {
2172
- if (!r) {
2173
- e("REMOVE_ITEM", { query: b });
2174
- return;
2175
- }
2176
- v.on("metadata-update", function(t) {
2089
+ r ? (v.on("metadata-update", function(t) {
2177
2090
  e("DID_UPDATE_ITEM_METADATA", {
2178
2091
  id: b,
2179
2092
  change: t
@@ -2194,21 +2107,17 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2194
2107
  }
2195
2108
  }), vn(e, n);
2196
2109
  };
2197
- if (r) {
2198
- e("REQUEST_PREPARE_OUTPUT", {
2199
- query: b,
2200
- item: v,
2201
- success: function(t) {
2202
- e("DID_PREPARE_OUTPUT", {
2203
- id: b,
2204
- file: t
2205
- }), o();
2206
- }
2207
- }, !0);
2208
- return;
2209
- }
2210
- o();
2211
- });
2110
+ r ? e("REQUEST_PREPARE_OUTPUT", {
2111
+ query: b,
2112
+ item: v,
2113
+ success: function(t) {
2114
+ e("DID_PREPARE_OUTPUT", {
2115
+ id: b,
2116
+ file: t
2117
+ }), o();
2118
+ }
2119
+ }, !0) : o();
2120
+ })) : e("REMOVE_ITEM", { query: b });
2212
2121
  };
2213
2122
  G("DID_LOAD_ITEM", v, {
2214
2123
  query: t,
@@ -2296,26 +2205,18 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2296
2205
  },
2297
2206
  COMPLETE_LOAD_ITEM: function(r) {
2298
2207
  var i = r.item, a = r.data, o = a.success, s = a.source, c = t("GET_ITEM_INSERT_LOCATION");
2299
- if (ve(c) && s && bn(n, c), e("DID_LOAD_ITEM", {
2208
+ ve(c) && s && bn(n, c), e("DID_LOAD_ITEM", {
2300
2209
  id: i.id,
2301
2210
  error: null,
2302
2211
  serverFileReference: i.origin === U.INPUT ? null : s
2303
- }), o(V(i)), i.origin === U.LOCAL) {
2304
- e("DID_LOAD_LOCAL_ITEM", { id: i.id });
2305
- return;
2306
- }
2307
- if (i.origin === U.LIMBO) {
2308
- e("DID_COMPLETE_ITEM_PROCESSING", {
2309
- id: i.id,
2310
- error: null,
2311
- serverFileReference: s
2312
- }), e("DID_DEFINE_VALUE", {
2313
- id: i.id,
2314
- value: i.serverId || s
2315
- });
2316
- return;
2317
- }
2318
- t("IS_ASYNC") && n.options.instantUpload && e("REQUEST_ITEM_PROCESSING", { query: i.id });
2212
+ }), o(V(i)), i.origin === U.LOCAL ? e("DID_LOAD_LOCAL_ITEM", { id: i.id }) : i.origin === U.LIMBO ? (e("DID_COMPLETE_ITEM_PROCESSING", {
2213
+ id: i.id,
2214
+ error: null,
2215
+ serverFileReference: s
2216
+ }), e("DID_DEFINE_VALUE", {
2217
+ id: i.id,
2218
+ value: i.serverId || s
2219
+ })) : t("IS_ASYNC") && n.options.instantUpload && e("REQUEST_ITEM_PROCESSING", { query: i.id });
2319
2220
  },
2320
2221
  RETRY_ITEM_LOAD: Y(n, function(e) {
2321
2222
  e.retryLoad();
@@ -2348,9 +2249,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2348
2249
  return document.hidden ? o() : setTimeout(o, 32);
2349
2250
  };
2350
2251
  r.status === H.PROCESSING_COMPLETE || r.status === H.PROCESSING_REVERT_ERROR ? r.revert(tn(n.options.server.url, n.options.server.revert), t("GET_FORCE_REVERT")).then(s).catch(function() {}) : r.status === H.PROCESSING && r.abortProcessing().then(s);
2351
- return;
2352
- }
2353
- r.status !== H.PROCESSING_QUEUED && (r.requestProcessing(), e("DID_REQUEST_ITEM_PROCESSING", { id: r.id }), e("PROCESS_ITEM", {
2252
+ } else r.status !== H.PROCESSING_QUEUED && (r.requestProcessing(), e("DID_REQUEST_ITEM_PROCESSING", { id: r.id }), e("PROCESS_ITEM", {
2354
2253
  query: r,
2355
2254
  success: i,
2356
2255
  failure: a
@@ -2358,24 +2257,17 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2358
2257
  }),
2359
2258
  PROCESS_ITEM: Y(n, function(r, i, a) {
2360
2259
  var o = t("GET_MAX_PARALLEL_UPLOADS");
2361
- if (t("GET_ITEMS_BY_STATUS", H.PROCESSING).length === o) {
2362
- n.processingQueue.push({
2363
- id: r.id,
2364
- success: i,
2365
- failure: a
2366
- });
2367
- return;
2368
- }
2369
- if (r.status !== H.PROCESSING) {
2260
+ if (t("GET_ITEMS_BY_STATUS", H.PROCESSING).length === o) n.processingQueue.push({
2261
+ id: r.id,
2262
+ success: i,
2263
+ failure: a
2264
+ });
2265
+ else if (r.status !== H.PROCESSING) {
2370
2266
  var s = function t() {
2371
2267
  var r = n.processingQueue.shift();
2372
2268
  if (r) {
2373
2269
  var i = r.id, a = r.success, o = r.failure, s = lt(n.items, i);
2374
- if (!s || s.archived) {
2375
- t();
2376
- return;
2377
- }
2378
- e("PROCESS_ITEM", {
2270
+ !s || s.archived ? t() : e("PROCESS_ITEM", {
2379
2271
  query: i,
2380
2272
  success: a,
2381
2273
  failure: o
@@ -2456,27 +2348,22 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2456
2348
  e.abortLoad();
2457
2349
  }),
2458
2350
  ABORT_ITEM_PROCESSING: Y(n, function(t) {
2459
- if (t.serverId) {
2460
- e("REVERT_ITEM_PROCESSING", { id: t.id });
2461
- return;
2462
- }
2463
- t.abortProcessing().then(function() {
2351
+ t.serverId ? e("REVERT_ITEM_PROCESSING", { id: t.id }) : t.abortProcessing().then(function() {
2464
2352
  n.options.instantUpload && e("REMOVE_ITEM", { query: t.id });
2465
2353
  });
2466
2354
  }),
2467
2355
  REQUEST_REVERT_ITEM_PROCESSING: Y(n, function(r) {
2468
- if (!n.options.instantUpload) {
2469
- e("REVERT_ITEM_PROCESSING", { query: r });
2470
- return;
2356
+ if (!n.options.instantUpload) e("REVERT_ITEM_PROCESSING", { query: r });
2357
+ else {
2358
+ var i = function(t) {
2359
+ t && e("REVERT_ITEM_PROCESSING", { query: r });
2360
+ }, a = t("GET_BEFORE_REMOVE_FILE");
2361
+ if (!a) return i(!0);
2362
+ var o = a(V(r));
2363
+ if (o == null) return i(!0);
2364
+ if (typeof o == "boolean") return i(o);
2365
+ typeof o.then == "function" && o.then(i);
2471
2366
  }
2472
- var i = function(t) {
2473
- t && e("REVERT_ITEM_PROCESSING", { query: r });
2474
- }, a = t("GET_BEFORE_REMOVE_FILE");
2475
- if (!a) return i(!0);
2476
- var o = a(V(r));
2477
- if (o == null) return i(!0);
2478
- if (typeof o == "boolean") return i(o);
2479
- typeof o.then == "function" && o.then(i);
2480
2367
  }),
2481
2368
  REVERT_ITEM_PROCESSING: Y(n, function(r) {
2482
2369
  r.revert(tn(n.options.server.url, n.options.server.revert), t("GET_FORCE_REVERT")).then(function() {
@@ -2623,14 +2510,10 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2623
2510
  Z(t.ref.fileSize, kn(t.query("GET_ITEM_SIZE", n.id), ".", t.query("GET_FILE_SIZE_BASE"), t.query("GET_FILE_SIZE_LABELS", t.query))), Z(t.ref.fileName, Cn(t.query("GET_ITEM_NAME", n.id)));
2624
2511
  }, Nn = function(e) {
2625
2512
  var t = e.root, n = e.props;
2626
- if (ge(t.query("GET_ITEM_SIZE", n.id))) {
2627
- Mn({
2628
- root: t,
2629
- props: n
2630
- });
2631
- return;
2632
- }
2633
- Z(t.ref.fileSize, t.query("GET_LABEL_FILE_SIZE_NOT_AVAILABLE"));
2513
+ ge(t.query("GET_ITEM_SIZE", n.id)) ? Mn({
2514
+ root: t,
2515
+ props: n
2516
+ }) : Z(t.ref.fileSize, t.query("GET_LABEL_FILE_SIZE_NOT_AVAILABLE"));
2634
2517
  }, Pn = P({
2635
2518
  name: "file-info",
2636
2519
  ignoreRect: !0,
@@ -3506,7 +3389,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
3506
3389
  var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "";
3507
3390
  n ? o(e, t, r) : e.removeAttribute(t);
3508
3391
  }, Fr = function(e) {
3509
- if (!(!e || e.value === "")) {
3392
+ if (e && e.value !== "") {
3510
3393
  try {
3511
3394
  e.value = "";
3512
3395
  } catch {}
@@ -3667,11 +3550,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
3667
3550
  }));
3668
3551
  }, Zr = function(e) {
3669
3552
  var t = e.root, n = e.action;
3670
- if (!t.ref.blob) {
3671
- Xr({ root: t });
3672
- return;
3673
- }
3674
- t.ref.blob.translateX = n.position.scopeLeft, t.ref.blob.translateY = n.position.scopeTop, t.ref.blob.scaleX = 1, t.ref.blob.scaleY = 1, t.ref.blob.opacity = 1;
3553
+ t.ref.blob ? (t.ref.blob.translateX = n.position.scopeLeft, t.ref.blob.translateY = n.position.scopeTop, t.ref.blob.scaleX = 1, t.ref.blob.scaleY = 1, t.ref.blob.opacity = 1) : Xr({ root: t });
3675
3554
  }, Qr = function(e) {
3676
3555
  var t = e.root;
3677
3556
  t.ref.blob && (t.ref.blob.opacity = 0);
@@ -3793,11 +3672,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
3793
3672
  }).map(function(e) {
3794
3673
  return vi(e);
3795
3674
  });
3796
- if (!r.length) {
3797
- t(e.files ? Array.from(e.files) : []);
3798
- return;
3799
- }
3800
- Promise.all(r).then(function(e) {
3675
+ r.length ? Promise.all(r).then(function(e) {
3801
3676
  var n = [];
3802
3677
  e.forEach(function(e) {
3803
3678
  n.push.apply(n, e);
@@ -3806,7 +3681,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
3806
3681
  }).map(function(e) {
3807
3682
  return e._relativePath ||= e.webkitRelativePath, e;
3808
3683
  }));
3809
- }).catch(console.error);
3684
+ }).catch(console.error) : t(e.files ? Array.from(e.files) : []);
3810
3685
  });
3811
3686
  }, _i = function(e) {
3812
3687
  if (Si(e)) {
@@ -3816,11 +3691,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
3816
3691
  return e.kind === "file";
3817
3692
  }, vi = function(e) {
3818
3693
  return new Promise(function(t, n) {
3819
- if (xi(e)) {
3820
- yi(Ci(e)).then(t).catch(n);
3821
- return;
3822
- }
3823
- t([e.getAsFile()]);
3694
+ xi(e) ? yi(Ci(e)).then(t).catch(n) : t([e.getAsFile()]);
3824
3695
  });
3825
3696
  }, yi = function(e) {
3826
3697
  return new Promise(function(t, n) {
@@ -3832,16 +3703,12 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
3832
3703
  var s = t.createReader();
3833
3704
  (function t() {
3834
3705
  s.readEntries(function(n) {
3835
- if (n.length === 0) {
3836
- i--, o();
3837
- return;
3838
- }
3839
- n.forEach(function(t) {
3706
+ n.length === 0 ? (i--, o()) : (n.forEach(function(t) {
3840
3707
  t.isDirectory ? e(t) : (a++, t.file(function(e) {
3841
3708
  var n = bi(e);
3842
3709
  t.fullPath && (n._relativePath = t.fullPath), r.push(n), a--, o();
3843
3710
  }));
3844
- }), t();
3711
+ }), t());
3845
3712
  }, n);
3846
3713
  })();
3847
3714
  })(e);
@@ -3849,7 +3716,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
3849
3716
  }, bi = function(e) {
3850
3717
  if (e.type.length) return e;
3851
3718
  var t = e.lastModifiedDate, n = e.name, r = pi(Ot(e.name));
3852
- return r.length ? (e = e.slice(0, e.size, r), e.name = n, e.lastModifiedDate = t, e) : e;
3719
+ return r.length && (e = e.slice(0, e.size, r), e.name = n, e.lastModifiedDate = t), e;
3853
3720
  }, xi = function(e) {
3854
3721
  return Si(e) && (Ci(e) || {}).isDirectory;
3855
3722
  }, Si = function(e) {
@@ -3950,11 +3817,8 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
3950
3817
  var a = t.filterElement, o = t.element, s = t.onenter, c = t.onexit, l = t.ondrag, u = t.allowdrop;
3951
3818
  Fi(n, "copy");
3952
3819
  var d = u(r);
3953
- if (!d) {
3954
- Fi(n, "none");
3955
- return;
3956
- }
3957
- if (Ni(e, o)) {
3820
+ if (!d) Fi(n, "none");
3821
+ else if (Ni(e, o)) {
3958
3822
  if (i = !0, t.state === null) {
3959
3823
  t.state = "enter", s(Oi(e));
3960
3824
  return;
@@ -3975,7 +3839,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
3975
3839
  mi(n).then(function(n) {
3976
3840
  t.forEach(function(t) {
3977
3841
  var r = t.filterElement, i = t.element, a = t.ondrop, o = t.onexit, s = t.allowdrop;
3978
- if (t.state = null, !(r && !Ni(e, i))) {
3842
+ if (t.state = null, !r || Ni(e, i)) {
3979
3843
  if (!s(n)) return o(Oi(e));
3980
3844
  a(Oi(e), n);
3981
3845
  }
@@ -3998,11 +3862,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
3998
3862
  return t(o(e));
3999
3863
  }, s.ondrop = function(e, n) {
4000
3864
  var r = o(n);
4001
- if (!t(r)) {
4002
- u.ondragend(e);
4003
- return;
4004
- }
4005
- l = "drag-drop", u.onload(r, e);
3865
+ t(r) ? (l = "drag-drop", u.onload(r, e)) : u.ondragend(e);
4006
3866
  }, s.ondrag = function(e) {
4007
3867
  u.ondrag(e);
4008
3868
  }, s.onenter = function(e) {
@@ -4383,7 +4243,7 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
4383
4243
  var t = i.processActionQueue().filter(function(e) {
4384
4244
  return !/^SET_/.test(e.type);
4385
4245
  });
4386
- m && !t.length || (x(t), m = p._write(e, t, l), Qe(i.query("GET_ITEMS")), m && i.processDispatchQueue());
4246
+ (!m || t.length) && (x(t), m = p._write(e, t, l), Qe(i.query("GET_ITEMS")), m && i.processDispatchQueue());
4387
4247
  }
4388
4248
  }, _ = function(e) {
4389
4249
  return function(t) {
@@ -4606,12 +4466,11 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
4606
4466
  i(t, function(e, i) {
4607
4467
  var a = new RegExp(n);
4608
4468
  if (a.test(e) && (delete t[e], r !== !1)) {
4609
- if (R(r)) {
4610
- t[r] = i;
4611
- return;
4469
+ if (R(r)) t[r] = i;
4470
+ else {
4471
+ var o = r.group;
4472
+ z(r) && !t[o] && (t[o] = {}), t[o][Ta(e.replace(a, ""))] = i;
4612
4473
  }
4613
- var o = r.group;
4614
- z(r) && !t[o] && (t[o] = {}), t[o][Ta(e.replace(a, ""))] = i;
4615
4474
  }
4616
4475
  }), r.mapping && e(t[r.group], r.mapping);
4617
4476
  });
@@ -4975,6 +4834,5 @@ function s(e, t) {
4975
4834
  n.set_attribute(N, "id", p()), n.set_attribute(N, "name", m()), n.set_class(N, 1, n.clsx(f())), n.set_attribute(N, "accept", v()), N.multiple = h(), N.required = g(), n.set_attribute(N, "capture", _());
4976
4835
  }), n.append(e, ne), n.bind_prop(t, "registerPlugin", c), n.bind_prop(t, "isSupported", l), n.pop(te);
4977
4836
  }
4978
- //#endregion
4979
4837
  var c = a.registerPlugin, l = a.supported;
4980
4838
  export { s as default, c as registerPlugin, l as supported };