@adyen/bento-vue2 1.60.0 → 1.60.1

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 (579) hide show
  1. package/dist/@types/components.d.ts +201 -0
  2. package/dist/@types/index.d.ts +17710 -0
  3. package/dist/@types/use-form-v4.d.ts +86 -0
  4. package/dist/accordion.js +6 -0
  5. package/dist/accordion.js.map +1 -0
  6. package/dist/action-bar.js +5 -0
  7. package/dist/action-bar.js.map +1 -0
  8. package/dist/alert.js +8 -0
  9. package/dist/alert.js.map +1 -0
  10. package/dist/assets/accordion-item.css +1 -0
  11. package/dist/assets/action-bar.css +1 -0
  12. package/dist/assets/alert.css +1 -0
  13. package/dist/assets/avatar.css +1 -0
  14. package/dist/assets/base-button.css +1 -0
  15. package/dist/assets/base-modal.css +1 -0
  16. package/dist/assets/button-actions-with-menu.css +1 -0
  17. package/dist/assets/button-actions.css +1 -0
  18. package/dist/assets/button.css +1 -0
  19. package/dist/assets/calendar.css +1 -0
  20. package/dist/assets/card.css +1 -0
  21. package/dist/assets/checkbox-group.css +1 -0
  22. package/dist/assets/checkbox-input.css +1 -0
  23. package/dist/assets/checkbox.css +1 -0
  24. package/dist/assets/chip.css +1 -0
  25. package/dist/assets/code-snippet.css +1 -0
  26. package/dist/assets/controls-group.css +1 -0
  27. package/dist/assets/copy.css +1 -0
  28. package/dist/assets/country.css +1 -0
  29. package/dist/assets/currency.css +1 -0
  30. package/dist/assets/dashboard-section.css +1 -0
  31. package/dist/assets/dashed-underline.css +1 -0
  32. package/dist/assets/data-grid-template.css +1 -0
  33. package/dist/assets/data-grid.css +1 -0
  34. package/dist/assets/date-picker.css +1 -0
  35. package/dist/assets/date-range-picker.css +1 -0
  36. package/dist/assets/date.css +1 -0
  37. package/dist/assets/dialog-page.css +1 -0
  38. package/dist/assets/divider.css +1 -0
  39. package/dist/assets/dropdown-default-textbox.css +1 -0
  40. package/dist/assets/dropdown-tag.css +1 -0
  41. package/dist/assets/dropdown.css +1 -0
  42. package/dist/assets/empty-state.css +1 -0
  43. package/dist/assets/error-message.css +1 -0
  44. package/dist/assets/file-uploader.css +1 -0
  45. package/dist/assets/filter-bar.css +1 -0
  46. package/dist/assets/fixed-scroller.css +1 -0
  47. package/dist/assets/focus-trap.css +1 -0
  48. package/dist/assets/footer-actions.css +1 -0
  49. package/dist/assets/form-layout-title.css +1 -0
  50. package/dist/assets/grid-layout.css +1 -0
  51. package/dist/assets/header-with-views.css +1 -0
  52. package/dist/assets/header.css +1 -0
  53. package/dist/assets/info-icon-with-popover.css +1 -0
  54. package/dist/assets/info-icon.css +1 -0
  55. package/dist/assets/input-field-password.css +1 -0
  56. package/dist/assets/input-field-phone-number.css +1 -0
  57. package/dist/assets/input-field.css +1 -0
  58. package/dist/assets/inspector.css +1 -0
  59. package/dist/assets/layout-row.css +1 -0
  60. package/dist/assets/link.css +1 -0
  61. package/dist/assets/listbox-option-tag.css +1 -0
  62. package/dist/assets/loading-indicator.css +1 -0
  63. package/dist/assets/main.css +1 -0
  64. package/dist/assets/menu.css +1 -0
  65. package/dist/assets/modal-fullscreen.css +1 -0
  66. package/dist/assets/pagination.css +1 -0
  67. package/dist/assets/payment-method.css +1 -0
  68. package/dist/assets/popover.css +1 -0
  69. package/dist/assets/popper-container.css +1 -0
  70. package/dist/assets/promo-banner.css +1 -0
  71. package/dist/assets/radio-group.css +1 -0
  72. package/dist/assets/radio-input.css +1 -0
  73. package/dist/assets/rich-text-editor.css +1 -0
  74. package/dist/assets/search-bar.css +1 -0
  75. package/dist/assets/secondary-nav.css +1 -0
  76. package/dist/assets/segmented-control.css +1 -0
  77. package/dist/assets/selection-card-group.css +1 -0
  78. package/dist/assets/sidepanel.css +1 -0
  79. package/dist/assets/status.css +1 -0
  80. package/dist/assets/step.css +1 -0
  81. package/dist/assets/structured-list-item.css +1 -0
  82. package/dist/assets/summary-grid.css +1 -0
  83. package/dist/assets/tabs.css +1 -0
  84. package/dist/assets/tag.css +1 -0
  85. package/dist/assets/teleport.css +1 -0
  86. package/dist/assets/textarea.css +1 -0
  87. package/dist/assets/timeline-item.css +1 -0
  88. package/dist/assets/toast.css +1 -0
  89. package/dist/assets/toggle-button.css +1 -0
  90. package/dist/assets/toggle.css +1 -0
  91. package/dist/assets/tooltip.css +1 -0
  92. package/dist/assets/tutorial.css +1 -0
  93. package/dist/assets/typography.css +1 -0
  94. package/dist/assets/use-cached-selected-values.css +1 -0
  95. package/dist/avatar.js +5 -0
  96. package/dist/avatar.js.map +1 -0
  97. package/dist/button.js +16 -0
  98. package/dist/button.js.map +1 -0
  99. package/dist/card.js +7 -0
  100. package/dist/card.js.map +1 -0
  101. package/dist/checkbox.js +11 -0
  102. package/dist/checkbox.js.map +1 -0
  103. package/dist/chip.js +5 -0
  104. package/dist/chip.js.map +1 -0
  105. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  106. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  107. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  108. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  109. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  110. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  111. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  112. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  113. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  114. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  115. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  116. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  117. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  118. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  119. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  120. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  121. package/dist/chunks/_commonjsHelpers.C6fGbg64.js +7 -0
  122. package/dist/chunks/_commonjsHelpers.C6fGbg64.js.map +1 -0
  123. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +11 -0
  124. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +1 -0
  125. package/dist/chunks/accordion-item.C4tyRMCt.js +116 -0
  126. package/dist/chunks/accordion-item.C4tyRMCt.js.map +1 -0
  127. package/dist/chunks/action-bar.CMqiD6vc.js +161 -0
  128. package/dist/chunks/action-bar.CMqiD6vc.js.map +1 -0
  129. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  130. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  131. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  132. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  133. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  134. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  135. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  136. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  137. package/dist/chunks/alert.Du9NfW-V.js +103 -0
  138. package/dist/chunks/alert.Du9NfW-V.js.map +1 -0
  139. package/dist/chunks/aria-label.CaUURpnB.js +13 -0
  140. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -0
  141. package/dist/chunks/avatar.BgwjpLQO.js +71 -0
  142. package/dist/chunks/avatar.BgwjpLQO.js.map +1 -0
  143. package/dist/chunks/base-button.-gx_u8Bd.js +86 -0
  144. package/dist/chunks/base-button.-gx_u8Bd.js.map +1 -0
  145. package/dist/chunks/base-modal.keys.C2PQXcE2.js +5 -0
  146. package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +1 -0
  147. package/dist/chunks/base-modal.xA_DhHx9.js +373 -0
  148. package/dist/chunks/base-modal.xA_DhHx9.js.map +1 -0
  149. package/dist/chunks/bin.DuebwJYu.js +24 -0
  150. package/dist/chunks/bin.DuebwJYu.js.map +1 -0
  151. package/dist/chunks/button-actions-with-menu.S7i4V-8E.js +166 -0
  152. package/dist/chunks/button-actions-with-menu.S7i4V-8E.js.map +1 -0
  153. package/dist/chunks/button-actions.BFtzsfNe.js +194 -0
  154. package/dist/chunks/button-actions.BFtzsfNe.js.map +1 -0
  155. package/dist/chunks/button.BuD-IsW5.js +99 -0
  156. package/dist/chunks/button.BuD-IsW5.js.map +1 -0
  157. package/dist/chunks/calendar.DQiq_EoU.js +1167 -0
  158. package/dist/chunks/calendar.DQiq_EoU.js.map +1 -0
  159. package/dist/chunks/card.Bk7Lz1GS.js +123 -0
  160. package/dist/chunks/card.Bk7Lz1GS.js.map +1 -0
  161. package/dist/chunks/checkbox-group.CossCRls.js +152 -0
  162. package/dist/chunks/checkbox-group.CossCRls.js.map +1 -0
  163. package/dist/chunks/checkbox-input.Dr1GS2BZ.js +137 -0
  164. package/dist/chunks/checkbox-input.Dr1GS2BZ.js.map +1 -0
  165. package/dist/chunks/checkbox.DkDqMVeb.js +176 -0
  166. package/dist/chunks/checkbox.DkDqMVeb.js.map +1 -0
  167. package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js +24 -0
  168. package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js.map +1 -0
  169. package/dist/chunks/checkmark-small.C8T8ISN6.js +24 -0
  170. package/dist/chunks/checkmark-small.C8T8ISN6.js.map +1 -0
  171. package/dist/chunks/chevron-left.DOMTgGel.js +43 -0
  172. package/dist/chunks/chevron-left.DOMTgGel.js.map +1 -0
  173. package/dist/chunks/chevron-up.CSVyoaTy.js +43 -0
  174. package/dist/chunks/chevron-up.CSVyoaTy.js.map +1 -0
  175. package/dist/chunks/chip.bZEhHfIk.js +63 -0
  176. package/dist/chunks/chip.bZEhHfIk.js.map +1 -0
  177. package/dist/chunks/click-outside.C1Ud8AA2.js +23 -0
  178. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -0
  179. package/dist/chunks/code-snippet.BlYhf-Dt.js +259 -0
  180. package/dist/chunks/code-snippet.BlYhf-Dt.js.map +1 -0
  181. package/dist/chunks/codemirror.Zv80n3Z2.js +14628 -0
  182. package/dist/chunks/codemirror.Zv80n3Z2.js.map +1 -0
  183. package/dist/chunks/controls-group.C4CHrb6Y.js +81 -0
  184. package/dist/chunks/controls-group.C4CHrb6Y.js.map +1 -0
  185. package/dist/chunks/copy.Bod4H2Dk.js +129 -0
  186. package/dist/chunks/copy.Bod4H2Dk.js.map +1 -0
  187. package/dist/chunks/country.Df7erZov.js +94 -0
  188. package/dist/chunks/country.Df7erZov.js.map +1 -0
  189. package/dist/chunks/country.types.C0Q_hhgJ.js +269 -0
  190. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -0
  191. package/dist/chunks/cross-circle-fill-small.YhLgeipP.js +24 -0
  192. package/dist/chunks/cross-circle-fill-small.YhLgeipP.js.map +1 -0
  193. package/dist/chunks/cross-circle-fill.Ra0-PIUo.js +24 -0
  194. package/dist/chunks/cross-circle-fill.Ra0-PIUo.js.map +1 -0
  195. package/dist/chunks/cross-small.CZqsjZDz.js +24 -0
  196. package/dist/chunks/cross-small.CZqsjZDz.js.map +1 -0
  197. package/dist/chunks/cross.CJ5EEL2c.js +24 -0
  198. package/dist/chunks/cross.CJ5EEL2c.js.map +1 -0
  199. package/dist/chunks/currency.B1F9YOIx.js +106 -0
  200. package/dist/chunks/currency.B1F9YOIx.js.map +1 -0
  201. package/dist/chunks/dashboard-section.Dx6eYon4.js +102 -0
  202. package/dist/chunks/dashboard-section.Dx6eYon4.js.map +1 -0
  203. package/dist/chunks/dashed-underline.CY5J4pZp.js +65 -0
  204. package/dist/chunks/dashed-underline.CY5J4pZp.js.map +1 -0
  205. package/dist/chunks/data-grid-template.CVl3PU0v.js +109 -0
  206. package/dist/chunks/data-grid-template.CVl3PU0v.js.map +1 -0
  207. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +5 -0
  208. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js.map +1 -0
  209. package/dist/chunks/data-grid.BZaXKTLk.js +2782 -0
  210. package/dist/chunks/data-grid.BZaXKTLk.js.map +1 -0
  211. package/dist/chunks/date-input.BqBdAO1E.js +17 -0
  212. package/dist/chunks/date-input.BqBdAO1E.js.map +1 -0
  213. package/dist/chunks/date-picker.lrT6LXe-.js +235 -0
  214. package/dist/chunks/date-picker.lrT6LXe-.js.map +1 -0
  215. package/dist/chunks/date-range-picker.Djt5mYvh.js +977 -0
  216. package/dist/chunks/date-range-picker.Djt5mYvh.js.map +1 -0
  217. package/dist/chunks/date.dYFFEunA.js +987 -0
  218. package/dist/chunks/date.dYFFEunA.js.map +1 -0
  219. package/dist/chunks/debounce.DUTu11PS.js +10 -0
  220. package/dist/chunks/debounce.DUTu11PS.js.map +1 -0
  221. package/dist/chunks/dialog-page.C5r6tM57.js +131 -0
  222. package/dist/chunks/dialog-page.C5r6tM57.js.map +1 -0
  223. package/dist/chunks/directive.Cbdox5VL.js +23 -0
  224. package/dist/chunks/directive.Cbdox5VL.js.map +1 -0
  225. package/dist/chunks/divider.Cc4JFWG_.js +35 -0
  226. package/dist/chunks/divider.Cc4JFWG_.js.map +1 -0
  227. package/dist/chunks/dot.CnkXzRn3.js +24 -0
  228. package/dist/chunks/dot.CnkXzRn3.js.map +1 -0
  229. package/dist/chunks/dropdown-default-textbox.AUsF-RIc.js +348 -0
  230. package/dist/chunks/dropdown-default-textbox.AUsF-RIc.js.map +1 -0
  231. package/dist/chunks/dropdown-tag.CY3nZ50z.js +215 -0
  232. package/dist/chunks/dropdown-tag.CY3nZ50z.js.map +1 -0
  233. package/dist/chunks/dropdown.Cx-3TGBk.js +818 -0
  234. package/dist/chunks/dropdown.Cx-3TGBk.js.map +1 -0
  235. package/dist/chunks/empty-state.IvvHHQ35.js +151 -0
  236. package/dist/chunks/empty-state.IvvHHQ35.js.map +1 -0
  237. package/dist/chunks/error-message.BAE9B9-N.js +121 -0
  238. package/dist/chunks/error-message.BAE9B9-N.js.map +1 -0
  239. package/dist/chunks/es6.n1ewaW31.js +11 -0
  240. package/dist/chunks/es6.n1ewaW31.js.map +1 -0
  241. package/dist/chunks/events.CMzGybJJ.js +47 -0
  242. package/dist/chunks/events.CMzGybJJ.js.map +1 -0
  243. package/dist/chunks/expand.C263WARj.js +24 -0
  244. package/dist/chunks/expand.C263WARj.js.map +1 -0
  245. package/dist/chunks/file-uploader.E18P6eyS.js +1913 -0
  246. package/dist/chunks/file-uploader.E18P6eyS.js.map +1 -0
  247. package/dist/chunks/filter-bar.D6IL1UDu.js +2288 -0
  248. package/dist/chunks/filter-bar.D6IL1UDu.js.map +1 -0
  249. package/dist/chunks/fixed-scroller.D0a6q8_i.js +106 -0
  250. package/dist/chunks/fixed-scroller.D0a6q8_i.js.map +1 -0
  251. package/dist/chunks/focus-trap.C-wIQqpO.js +499 -0
  252. package/dist/chunks/focus-trap.C-wIQqpO.js.map +1 -0
  253. package/dist/chunks/footer-actions.BgpSnSSn.js +96 -0
  254. package/dist/chunks/footer-actions.BgpSnSSn.js.map +1 -0
  255. package/dist/chunks/form-layout-title.DBCY18f8.js +190 -0
  256. package/dist/chunks/form-layout-title.DBCY18f8.js.map +1 -0
  257. package/dist/chunks/form-layout.types.D3EKzbE7.js +5 -0
  258. package/dist/chunks/form-layout.types.D3EKzbE7.js.map +1 -0
  259. package/dist/chunks/generate-uid.NJ8tVoha.js +32 -0
  260. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -0
  261. package/dist/chunks/get-date-locale.BN8xEjY0.js +1735 -0
  262. package/dist/chunks/get-date-locale.BN8xEjY0.js.map +1 -0
  263. package/dist/chunks/get-slot-text.BQS5Olxm.js +12 -0
  264. package/dist/chunks/get-slot-text.BQS5Olxm.js.map +1 -0
  265. package/dist/chunks/grid-layout.HvTAa4to.js +76 -0
  266. package/dist/chunks/grid-layout.HvTAa4to.js.map +1 -0
  267. package/dist/chunks/header-with-views.DAdbhhG9.js +1549 -0
  268. package/dist/chunks/header-with-views.DAdbhhG9.js.map +1 -0
  269. package/dist/chunks/header.8SId1U5r.js +187 -0
  270. package/dist/chunks/header.8SId1U5r.js.map +1 -0
  271. package/dist/chunks/i18n.BQkEbtPM.js +31 -0
  272. package/dist/chunks/i18n.BQkEbtPM.js.map +1 -0
  273. package/dist/chunks/image.C2D2hKat.js +56 -0
  274. package/dist/chunks/image.C2D2hKat.js.map +1 -0
  275. package/dist/chunks/index.BDuTpjD8.js +40 -0
  276. package/dist/chunks/index.BDuTpjD8.js.map +1 -0
  277. package/dist/chunks/index.BdrLbvtJ.js +529 -0
  278. package/dist/chunks/index.BdrLbvtJ.js.map +1 -0
  279. package/dist/chunks/index.BxBB1rsx.js +15 -0
  280. package/dist/chunks/index.BxBB1rsx.js.map +1 -0
  281. package/dist/chunks/index.Cl4_42j5.js +8 -0
  282. package/dist/chunks/index.Cl4_42j5.js.map +1 -0
  283. package/dist/chunks/index.DD7TppDb.js +10 -0
  284. package/dist/chunks/index.DD7TppDb.js.map +1 -0
  285. package/dist/chunks/info-icon-with-popover.XZqkxPsB.js +71 -0
  286. package/dist/chunks/info-icon-with-popover.XZqkxPsB.js.map +1 -0
  287. package/dist/chunks/info-icon.C1xOlhYj.js +41 -0
  288. package/dist/chunks/info-icon.C1xOlhYj.js.map +1 -0
  289. package/dist/chunks/info.4d_mJHvT.js +24 -0
  290. package/dist/chunks/info.4d_mJHvT.js.map +1 -0
  291. package/dist/chunks/input-field-password.lK0Im1eg.js +251 -0
  292. package/dist/chunks/input-field-password.lK0Im1eg.js.map +1 -0
  293. package/dist/chunks/input-field-phone-number.BnjBqUKg.js +3097 -0
  294. package/dist/chunks/input-field-phone-number.BnjBqUKg.js.map +1 -0
  295. package/dist/chunks/input-field.B8HxtNIv.js +152 -0
  296. package/dist/chunks/input-field.B8HxtNIv.js.map +1 -0
  297. package/dist/chunks/inspector.CegHqvEW.js +117 -0
  298. package/dist/chunks/inspector.CegHqvEW.js.map +1 -0
  299. package/dist/chunks/inspector.types.DyHwE18g.js +5 -0
  300. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -0
  301. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  302. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  303. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  304. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  305. package/dist/chunks/keyboard-navigation.pB8weElW.js +66 -0
  306. package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -0
  307. package/dist/chunks/layout-row.C_F2wX6d.js +87 -0
  308. package/dist/chunks/layout-row.C_F2wX6d.js.map +1 -0
  309. package/dist/chunks/link.D0P79Toh.js +95 -0
  310. package/dist/chunks/link.D0P79Toh.js.map +1 -0
  311. package/dist/chunks/listbox-option-tag.CczGPhWH.js +44 -0
  312. package/dist/chunks/listbox-option-tag.CczGPhWH.js.map +1 -0
  313. package/dist/chunks/loading-indicator.z8COalOc.js +48 -0
  314. package/dist/chunks/loading-indicator.z8COalOc.js.map +1 -0
  315. package/dist/chunks/menu.CT0SIn4v.js +601 -0
  316. package/dist/chunks/menu.CT0SIn4v.js.map +1 -0
  317. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +5 -0
  318. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +1 -0
  319. package/dist/chunks/modal-fullscreen.tofT1h0P.js +202 -0
  320. package/dist/chunks/modal-fullscreen.tofT1h0P.js.map +1 -0
  321. package/dist/chunks/modal.CiYtGu6u.js +445 -0
  322. package/dist/chunks/modal.CiYtGu6u.js.map +1 -0
  323. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  324. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  325. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  326. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  327. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  328. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  329. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  330. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  331. package/dist/chunks/on-click-outside.D9aY9g8G.js +101 -0
  332. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -0
  333. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  334. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  335. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  336. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  337. package/dist/chunks/pagination.B-EP9Lkq.js +338 -0
  338. package/dist/chunks/pagination.B-EP9Lkq.js.map +1 -0
  339. package/dist/chunks/payment-method.Cx4nPDtE.js +76 -0
  340. package/dist/chunks/payment-method.Cx4nPDtE.js.map +1 -0
  341. package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
  342. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
  343. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  344. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  345. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  346. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  347. package/dist/chunks/popover.COaHa4ES.js +295 -0
  348. package/dist/chunks/popover.COaHa4ES.js.map +1 -0
  349. package/dist/chunks/popper-container.DIFqmRsp.js +1393 -0
  350. package/dist/chunks/popper-container.DIFqmRsp.js.map +1 -0
  351. package/dist/chunks/promo-banner.DJpA7Whg.js +70 -0
  352. package/dist/chunks/promo-banner.DJpA7Whg.js.map +1 -0
  353. package/dist/chunks/radio-group.CzsbH4_F.js +229 -0
  354. package/dist/chunks/radio-group.CzsbH4_F.js.map +1 -0
  355. package/dist/chunks/radio-input.uJAhxKRs.js +90 -0
  356. package/dist/chunks/radio-input.uJAhxKRs.js.map +1 -0
  357. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  358. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  359. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  360. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  361. package/dist/chunks/refresh.Bc9FzGjJ.js +24 -0
  362. package/dist/chunks/refresh.Bc9FzGjJ.js.map +1 -0
  363. package/dist/chunks/resize.Bqks3WUm.js +15 -0
  364. package/dist/chunks/resize.Bqks3WUm.js.map +1 -0
  365. package/dist/chunks/rich-text-editor.C4NdjtLA.js +6203 -0
  366. package/dist/chunks/rich-text-editor.C4NdjtLA.js.map +1 -0
  367. package/dist/chunks/search-bar.B4u_IgiI.js +97 -0
  368. package/dist/chunks/search-bar.B4u_IgiI.js.map +1 -0
  369. package/dist/chunks/search.DLtglc02.js +24 -0
  370. package/dist/chunks/search.DLtglc02.js.map +1 -0
  371. package/dist/chunks/secondary-nav.EROJ_sJQ.js +112 -0
  372. package/dist/chunks/secondary-nav.EROJ_sJQ.js.map +1 -0
  373. package/dist/chunks/segmented-control.B-uxKqMN.js +112 -0
  374. package/dist/chunks/segmented-control.B-uxKqMN.js.map +1 -0
  375. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  376. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  377. package/dist/chunks/selection-card-group.CnvREAh5.js +299 -0
  378. package/dist/chunks/selection-card-group.CnvREAh5.js.map +1 -0
  379. package/dist/chunks/show.e4LEpZKG.js +43 -0
  380. package/dist/chunks/show.e4LEpZKG.js.map +1 -0
  381. package/dist/chunks/sidepanel.3EBWM8JV.js +210 -0
  382. package/dist/chunks/sidepanel.3EBWM8JV.js.map +1 -0
  383. package/dist/chunks/sidepanel.keys.R0DKQuYx.js +5 -0
  384. package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +1 -0
  385. package/dist/chunks/status.types.p_TCvoo0.js +36 -0
  386. package/dist/chunks/status.types.p_TCvoo0.js.map +1 -0
  387. package/dist/chunks/step.CuOpi-Ye.js +217 -0
  388. package/dist/chunks/step.CuOpi-Ye.js.map +1 -0
  389. package/dist/chunks/structured-list-item.rOTJM0uc.js +87 -0
  390. package/dist/chunks/structured-list-item.rOTJM0uc.js.map +1 -0
  391. package/dist/chunks/success.DhioLvPD.js +5 -0
  392. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  393. package/dist/chunks/success.nNwxJRBS.js +5 -0
  394. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  395. package/dist/chunks/summary-grid.keys.CxTf_FOc.js +6 -0
  396. package/dist/chunks/summary-grid.keys.CxTf_FOc.js.map +1 -0
  397. package/dist/chunks/summary-grid.types.Bg1Y7i-F.js +301 -0
  398. package/dist/chunks/summary-grid.types.Bg1Y7i-F.js.map +1 -0
  399. package/dist/chunks/tabs.DX_Gq12z.js +205 -0
  400. package/dist/chunks/tabs.DX_Gq12z.js.map +1 -0
  401. package/dist/chunks/tabs.keys.Bc2pSKRw.js +7 -0
  402. package/dist/chunks/tabs.keys.Bc2pSKRw.js.map +1 -0
  403. package/dist/chunks/tag.DDjyf2hd.js +44 -0
  404. package/dist/chunks/tag.DDjyf2hd.js.map +1 -0
  405. package/dist/chunks/teleport.BV6zrDjA.js +128 -0
  406. package/dist/chunks/teleport.BV6zrDjA.js.map +1 -0
  407. package/dist/chunks/textarea.0PapD8Nl.js +200 -0
  408. package/dist/chunks/textarea.0PapD8Nl.js.map +1 -0
  409. package/dist/chunks/timeline-item.IFw76Qeh.js +386 -0
  410. package/dist/chunks/timeline-item.IFw76Qeh.js.map +1 -0
  411. package/dist/chunks/toast.B2u2W_TQ.js +171 -0
  412. package/dist/chunks/toast.B2u2W_TQ.js.map +1 -0
  413. package/dist/chunks/toggle-button.ChDbeBZ8.js +83 -0
  414. package/dist/chunks/toggle-button.ChDbeBZ8.js.map +1 -0
  415. package/dist/chunks/toggle.Q52IIKfi.js +121 -0
  416. package/dist/chunks/toggle.Q52IIKfi.js.map +1 -0
  417. package/dist/chunks/tooltip.DyZIyMZN.js +189 -0
  418. package/dist/chunks/tooltip.DyZIyMZN.js.map +1 -0
  419. package/dist/chunks/truncate.BfIl_-71.js +8 -0
  420. package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
  421. package/dist/chunks/tutorial.suIRmXta.js +348 -0
  422. package/dist/chunks/tutorial.suIRmXta.js.map +1 -0
  423. package/dist/chunks/typography.J1v_SPG3.js +87 -0
  424. package/dist/chunks/typography.J1v_SPG3.js.map +1 -0
  425. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  426. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  427. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  428. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  429. package/dist/chunks/use-bento-toast-controller.Cn_2Eogn.js +52 -0
  430. package/dist/chunks/use-bento-toast-controller.Cn_2Eogn.js.map +1 -0
  431. package/dist/chunks/use-cached-selected-values.9OnD_j5F.js +1177 -0
  432. package/dist/chunks/use-cached-selected-values.9OnD_j5F.js.map +1 -0
  433. package/dist/chunks/use-click-outside.BnhTgpSt.js +14 -0
  434. package/dist/chunks/use-click-outside.BnhTgpSt.js.map +1 -0
  435. package/dist/chunks/use-country-items.HFnjuDsG.js +30 -0
  436. package/dist/chunks/use-country-items.HFnjuDsG.js.map +1 -0
  437. package/dist/chunks/use-country-phon-code.DVgE19zT.js +5610 -0
  438. package/dist/chunks/use-country-phon-code.DVgE19zT.js.map +1 -0
  439. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js +13 -0
  440. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -0
  441. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +17 -0
  442. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -0
  443. package/dist/chunks/use-form-layout-loading.D3lALhtC.js +12 -0
  444. package/dist/chunks/use-form-layout-loading.D3lALhtC.js.map +1 -0
  445. package/dist/chunks/use-has-slot.C9lQZ6nz.js +6 -0
  446. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +1 -0
  447. package/dist/chunks/warning-filled.Cd0kVWwa.js +24 -0
  448. package/dist/chunks/warning-filled.Cd0kVWwa.js.map +1 -0
  449. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  450. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  451. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  452. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  453. package/dist/click-outside.js +5 -0
  454. package/dist/click-outside.js.map +1 -0
  455. package/dist/code-snippet.js +8 -0
  456. package/dist/code-snippet.js.map +1 -0
  457. package/dist/country.js +12 -0
  458. package/dist/country.js.map +1 -0
  459. package/dist/currency.js +6 -0
  460. package/dist/currency.js.map +1 -0
  461. package/dist/dashboard-template.js +6 -0
  462. package/dist/dashboard-template.js.map +1 -0
  463. package/dist/dashed-underline.js +5 -0
  464. package/dist/dashed-underline.js.map +1 -0
  465. package/dist/data-grid-template.js +5 -0
  466. package/dist/data-grid-template.js.map +1 -0
  467. package/dist/data-grid.js +11 -0
  468. package/dist/data-grid.js.map +1 -0
  469. package/dist/date-picker.js +8 -0
  470. package/dist/date-picker.js.map +1 -0
  471. package/dist/date-range-picker.js +8 -0
  472. package/dist/date-range-picker.js.map +1 -0
  473. package/dist/date.js +6 -0
  474. package/dist/date.js.map +1 -0
  475. package/dist/divider.js +5 -0
  476. package/dist/divider.js.map +1 -0
  477. package/dist/dropdown.js +16 -0
  478. package/dist/dropdown.js.map +1 -0
  479. package/dist/empty-state.js +8 -0
  480. package/dist/empty-state.js.map +1 -0
  481. package/dist/file-uploader.js +5 -0
  482. package/dist/file-uploader.js.map +1 -0
  483. package/dist/filter-bar.js +8 -0
  484. package/dist/filter-bar.js.map +1 -0
  485. package/dist/focus-trap.js +5 -0
  486. package/dist/focus-trap.js.map +1 -0
  487. package/dist/fonts/fonts.css +2 -0
  488. package/dist/form-layout.js +8 -0
  489. package/dist/form-layout.js.map +1 -0
  490. package/dist/header-with-views.js +5 -0
  491. package/dist/header-with-views.js.map +1 -0
  492. package/dist/header.js +5 -0
  493. package/dist/header.js.map +1 -0
  494. package/dist/image.js +7 -0
  495. package/dist/image.js.map +1 -0
  496. package/dist/index.js +372 -0
  497. package/dist/index.js.map +1 -0
  498. package/dist/info-icon.js +5 -0
  499. package/dist/info-icon.js.map +1 -0
  500. package/dist/input-field-password.js +10 -0
  501. package/dist/input-field-password.js.map +1 -0
  502. package/dist/input-field-phone-number.js +5 -0
  503. package/dist/input-field-phone-number.js.map +1 -0
  504. package/dist/input-field.js +10 -0
  505. package/dist/input-field.js.map +1 -0
  506. package/dist/inspector.js +7 -0
  507. package/dist/inspector.js.map +1 -0
  508. package/dist/internal.js +43 -0
  509. package/dist/internal.js.map +1 -0
  510. package/dist/layout.js +6 -0
  511. package/dist/layout.js.map +1 -0
  512. package/dist/link.js +6 -0
  513. package/dist/link.js.map +1 -0
  514. package/dist/loading-indicator.js +6 -0
  515. package/dist/loading-indicator.js.map +1 -0
  516. package/dist/menu.js +6 -0
  517. package/dist/menu.js.map +1 -0
  518. package/dist/modal-fullscreen.js +6 -0
  519. package/dist/modal-fullscreen.js.map +1 -0
  520. package/dist/modal.js +14 -0
  521. package/dist/modal.js.map +1 -0
  522. package/dist/pagination.js +5 -0
  523. package/dist/pagination.js.map +1 -0
  524. package/dist/payment-method.js +7 -0
  525. package/dist/payment-method.js.map +1 -0
  526. package/dist/popover.js +6 -0
  527. package/dist/popover.js.map +1 -0
  528. package/dist/popper-container.js +9 -0
  529. package/dist/popper-container.js.map +1 -0
  530. package/dist/promo-banner.js +7 -0
  531. package/dist/promo-banner.js.map +1 -0
  532. package/dist/radio-group.js +9 -0
  533. package/dist/radio-group.js.map +1 -0
  534. package/dist/rich-text-editor.js +5 -0
  535. package/dist/rich-text-editor.js.map +1 -0
  536. package/dist/search-bar.js +9 -0
  537. package/dist/search-bar.js.map +1 -0
  538. package/dist/secondary-nav.js +5 -0
  539. package/dist/secondary-nav.js.map +1 -0
  540. package/dist/segmented-control.js +7 -0
  541. package/dist/segmented-control.js.map +1 -0
  542. package/dist/selection-card.js +7 -0
  543. package/dist/selection-card.js.map +1 -0
  544. package/dist/sidepanel.js +7 -0
  545. package/dist/sidepanel.js.map +1 -0
  546. package/dist/status.js +6 -0
  547. package/dist/status.js.map +1 -0
  548. package/dist/stepper.js +8 -0
  549. package/dist/stepper.js.map +1 -0
  550. package/dist/structured-list.js +6 -0
  551. package/dist/structured-list.js.map +1 -0
  552. package/dist/styles/bento-dark.css +2055 -0
  553. package/dist/styles/bento-light.css +2054 -0
  554. package/dist/styles/bento.css +2054 -0
  555. package/dist/styles/legacy.css +2209 -0
  556. package/dist/styles/styleguide.css +2109 -0
  557. package/dist/styles/utility.css +987 -0
  558. package/dist/summary-grid.js +12 -0
  559. package/dist/summary-grid.js.map +1 -0
  560. package/dist/tabs.js +6 -0
  561. package/dist/tabs.js.map +1 -0
  562. package/dist/tag.js +6 -0
  563. package/dist/tag.js.map +1 -0
  564. package/dist/textarea.js +5 -0
  565. package/dist/textarea.js.map +1 -0
  566. package/dist/timeline.js +10 -0
  567. package/dist/timeline.js.map +1 -0
  568. package/dist/toast.js +5 -0
  569. package/dist/toast.js.map +1 -0
  570. package/dist/toggle.js +7 -0
  571. package/dist/toggle.js.map +1 -0
  572. package/dist/tutorial.js +5 -0
  573. package/dist/tutorial.js.map +1 -0
  574. package/dist/typography.js +8 -0
  575. package/dist/typography.js.map +1 -0
  576. package/dist/use-form-v4.js +8300 -0
  577. package/dist/use-form-v4.js.map +1 -0
  578. package/dist/web-types.json +15200 -0
  579. package/package.json +6 -6
@@ -0,0 +1,1913 @@
1
+ import { defineComponent as W, ref as h, onUnmounted as Ma, onMounted as wa, computed as r, watch as ta, reactive as ea, toRef as ia, nextTick as Da } from "vue";
2
+ /* empty css */
3
+ import { n as g } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
+ import { W as ya } from "./warning-filled.Cd0kVWwa.js";
5
+ import { B as Va } from "./alert.Du9NfW-V.js";
6
+ import { B as na, d as Ba } from "./typography.J1v_SPG3.js";
7
+ import { u as G } from "./i18n.BQkEbtPM.js";
8
+ import { g as w } from "./generate-uid.NJ8tVoha.js";
9
+ import { i as Ca } from "./index.Cl4_42j5.js";
10
+ import { B as Oa } from "./bin.DuebwJYu.js";
11
+ import { C as Ha } from "./checkmark-circle-fill.DZBl7CeY.js";
12
+ import { C as qa } from "./cross.CJ5EEL2c.js";
13
+ import { R as Ua } from "./refresh.Bc9FzGjJ.js";
14
+ import { B as Aa } from "./button.BuD-IsW5.js";
15
+ import { B as Za } from "./link.D0P79Toh.js";
16
+ import { B as Pa } from "./loading-indicator.z8COalOc.js";
17
+ import { B as Na } from "./tooltip.DyZIyMZN.js";
18
+ import { F as Wa, E as Ga } from "./error-message.BAE9B9-N.js";
19
+ import "../assets/file-uploader.css";
20
+ let ra = 0;
21
+ const Ya = {
22
+ beforeCreate() {
23
+ this.uuid = ra.toString(), ra += 1;
24
+ }
25
+ };
26
+ var Xa = function() {
27
+ var a = this, t = a._self._c;
28
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M8.00011 0.939453L12.0608 5.00011L11.0001 6.06077L8.75 3.81066V11.75H7.25V3.81089L5.00011 6.06077L3.93945 5.00011L8.00011 0.939453Z" } }), t("path", { attrs: { fill: "#00112C", d: "M2.75 12.5V10.25H1.25V12.5C1.25 13.0967 1.48705 13.669 1.90901 14.091C2.33097 14.5129 2.90326 14.75 3.5 14.75H12.5C13.0967 14.75 13.669 14.5129 14.091 14.091C14.5129 13.669 14.75 13.0967 14.75 12.5V10.25H13.25V12.5C13.25 12.6989 13.171 12.8897 13.0303 13.0303C12.8897 13.171 12.6989 13.25 12.5 13.25H3.5C3.30109 13.25 3.11032 13.171 2.96967 13.0303C2.82902 12.8897 2.75 12.6989 2.75 12.5Z" } })]);
29
+ }, Ja = [], Ka = /* @__PURE__ */ g(
30
+ Ya,
31
+ Xa,
32
+ Ja,
33
+ !1,
34
+ null,
35
+ null
36
+ );
37
+ const Qa = Ka.exports, ai = /* @__PURE__ */ W({
38
+ __name: "file-uploader-file-card-animation",
39
+ props: {
40
+ name: null,
41
+ showFileIcon: { type: Boolean }
42
+ },
43
+ setup(e) {
44
+ return { __sfc: !0, isVue2: Ca };
45
+ }
46
+ });
47
+ var ii = function() {
48
+ var a = this, t = a._self._c, i = a._self._setupProxy;
49
+ return i.isVue2 ? t("Transition", { attrs: { name: a.name, mode: "out-in", css: a.showFileIcon } }, [a._t("default")], 2) : t("TransitionGroup", { attrs: { name: a.name, css: a.showFileIcon } }, [a._t("default")], 2);
50
+ }, ti = [], ei = /* @__PURE__ */ g(
51
+ ai,
52
+ ii,
53
+ ti,
54
+ !1,
55
+ null,
56
+ null
57
+ );
58
+ const ni = ei.exports;
59
+ function oi(e, a) {
60
+ const t = h(!1);
61
+ let i;
62
+ function p() {
63
+ i && i.disconnect();
64
+ }
65
+ return Ma(() => {
66
+ p();
67
+ }), wa(() => {
68
+ p(), i = new IntersectionObserver(
69
+ (o) => {
70
+ t.value = !o[0].isIntersecting;
71
+ },
72
+ {
73
+ root: a.value,
74
+ threshold: 1
75
+ }
76
+ ), i.observe(e.value.$el);
77
+ }), t;
78
+ }
79
+ const da = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
80
+ function ka(e, a) {
81
+ const t = Math.max(0, Math.min(Math.floor(Math.log(a) / Math.log(1024)), da.length - 1));
82
+ return Intl.NumberFormat(e, {
83
+ style: "unit",
84
+ unit: da[t]
85
+ }).format(a / 1024 ** t);
86
+ }
87
+ var y = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.SUCCESS = "success", e.ERROR = "error", e))(y || {}), x = /* @__PURE__ */ ((e) => (e.ERROR_SIZE = "error-size", e.ERROR_LOAD = "error-load", e.ERROR_DIMENSIONS = "error-dimensions", e.ERROR_TYPE = "error-type", e))(x || {}), N = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.DRAG_OVER = "drag-over", e.ERROR = "error", e.READONLY = "readonly", e))(N || {}), d = /* @__PURE__ */ ((e) => (e.TABLE = "table", e.IMAGE = "image", e.VIDEO = "video", e.AUDIO = "audio", e.TEXT = "text", e.PDF = "pdf", e.SLIDES = "slides", e.COMPRESSED = "compressed", e.GENERIC = "generic", e))(d || {});
88
+ const pi = [
89
+ "application/msword",
90
+ // .doc
91
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
92
+ // .docx
93
+ "application/rtf"
94
+ // .rtf
95
+ ], li = [
96
+ "application/vnd.ms-excel",
97
+ // .xls
98
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
99
+ // .xlsx
100
+ "application/vnd.oasis.opendocument.spreadsheet",
101
+ //.ods
102
+ "application/vnd.apple.numbers",
103
+ // .numbers
104
+ "application/x-iwork-numbers-sffnumbers",
105
+ // .numbers
106
+ "text/csv"
107
+ // .csv
108
+ ], si = [
109
+ "application/vnd.ms-powerpoint",
110
+ // .ppt
111
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation",
112
+ // .pptx
113
+ "application/vnd.oasis.opendocument.presentation"
114
+ // .odp
115
+ ], ci = [
116
+ "application/zip",
117
+ // .zip
118
+ "application/vnd.rar",
119
+ // .rar
120
+ "application/x-7z-compressed",
121
+ // .7z
122
+ "application/gzip",
123
+ // .gz, .tar.gz, .tgz
124
+ "application/x-tar",
125
+ // .tar
126
+ "application/x-bzip2",
127
+ // .bz2
128
+ "application/x-xz",
129
+ // .xz
130
+ "application/x-lzma",
131
+ // .lzma
132
+ "application/x-compress",
133
+ // .Z
134
+ "application/vnd.ms-cab-compressed"
135
+ // .cab
136
+ ];
137
+ function ri(e) {
138
+ return li.includes(e.type) ? d.TABLE : e.type.startsWith("text/") || pi.includes(e.type) ? d.TEXT : e.type.startsWith("image/") ? d.IMAGE : e.type.startsWith("video/") ? d.VIDEO : e.type.startsWith("audio/") ? d.AUDIO : e.type === "application/pdf" ? d.PDF : si.includes(e.type) ? d.SLIDES : ci.includes(e.type) ? d.COMPRESSED : d.GENERIC;
139
+ }
140
+ function di(e, a) {
141
+ if (!a)
142
+ return !0;
143
+ const t = a.split(",").map((i) => i.trim());
144
+ for (const i of t)
145
+ if (i.startsWith(".")) {
146
+ if (e.name.endsWith(i))
147
+ return !0;
148
+ } else if (i.endsWith("/*")) {
149
+ const p = i.split("/")[0];
150
+ if (e.type.startsWith(p))
151
+ return !0;
152
+ } else if (e.type === i)
153
+ return !0;
154
+ return !1;
155
+ }
156
+ function mi(e, a, t) {
157
+ const i = new FileReader(), p = e;
158
+ if (!di(p.data, a)) {
159
+ p.state = y.ERROR, p.errors.push(x.ERROR_TYPE);
160
+ return;
161
+ }
162
+ i.onload = (o) => {
163
+ if (t && p.type === d.IMAGE) {
164
+ const f = new Blob([o.target.result], { type: p.data.type }), s = URL.createObjectURL(f), c = new Image();
165
+ c.onload = function() {
166
+ (c.width > t.width || c.height > t.height) && (p.state = y.ERROR, p.errors.push(x.ERROR_DIMENSIONS)), URL.revokeObjectURL(s);
167
+ }, c.onerror = function() {
168
+ URL.revokeObjectURL(s);
169
+ }, c.src = s;
170
+ }
171
+ }, i.onprogress = (o) => {
172
+ o.lengthComputable && (p.progress = o.loaded / o.total * 100);
173
+ }, i.onloadend = () => {
174
+ p.state !== y.ERROR && (p.state = y.SUCCESS), p.progress = null;
175
+ }, i.onerror = () => {
176
+ p.state = y.ERROR, p.errors.push(x.ERROR_LOAD), p.progress = null;
177
+ }, i.readAsArrayBuffer(p.data);
178
+ }
179
+ let ma = 0;
180
+ const ui = {
181
+ beforeCreate() {
182
+ this.uuid = ma.toString(), ma += 1;
183
+ }
184
+ };
185
+ var vi = function() {
186
+ var a = this, t = a._self._c;
187
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + a.uuid + ")" } }, [t("path", { attrs: { fill: "#00112C", d: "M12.866 4.09026C11.5689 2.79315 9.4638 2.79315 8.1667 4.09026L2.7267 9.53026C1.95959 10.2974 1.95959 11.5425 2.7267 12.3096C3.49381 13.0767 4.73893 13.0767 5.50604 12.3096L10.946 6.8696C11.1831 6.63249 11.1831 6.24737 10.946 6.01026C10.7089 5.77316 10.3238 5.77316 10.0867 6.01026L4.75637 11.3406L3.69571 10.2799L9.02604 4.9496C9.84893 4.12671 11.1838 4.12671 12.0067 4.9496C12.8296 5.7725 12.8296 7.10737 12.0067 7.93026L6.5667 13.3703C5.2138 14.7232 3.01893 14.7232 1.66604 13.3703C0.313144 12.0174 0.313144 9.82249 1.66604 8.4696L7.10604 3.0296C8.98893 1.14671 12.0438 1.14671 13.9267 3.0296C15.8096 4.91249 15.8096 7.96737 13.9267 9.85026L11.1564 12.6206L10.0957 11.5599L12.866 8.7896C14.1631 7.49249 14.1631 5.38737 12.866 4.09026Z" } })]), t("defs", [t("clipPath", { attrs: { id: "uia-ui-assets/icons-16-attachment__a" + a.uuid } }, [t("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
188
+ }, fi = [], xi = /* @__PURE__ */ g(
189
+ ui,
190
+ vi,
191
+ fi,
192
+ !1,
193
+ null,
194
+ null
195
+ );
196
+ const gi = xi.exports;
197
+ let ua = 0;
198
+ const hi = {
199
+ beforeCreate() {
200
+ this.uuid = ua.toString(), ua += 1;
201
+ }
202
+ };
203
+ var bi = function() {
204
+ var a = this, t = a._self._c;
205
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M13.75 9.58159C14.3412 9.30073 14.75 8.6981 14.75 8V2C14.75 1.0335 13.9665 0.25 13 0.25H3C2.0335 0.25 1.25 1.0335 1.25 2V8C1.25 8.6981 1.65876 9.30073 2.25 9.58159V11C2.25 11.4641 2.43438 11.9092 2.76256 12.2374C2.90555 12.3804 3.07072 12.4961 3.25 12.5811V14C3.25 14.4641 3.43438 14.9092 3.76256 15.2374C4.09075 15.5656 4.53587 15.75 5 15.75H11C11.4641 15.75 11.9092 15.5656 12.2374 15.2374C12.5656 14.9092 12.75 14.4641 12.75 14V12.5811C12.9293 12.4961 13.0945 12.3804 13.2374 12.2374C13.5656 11.9092 13.75 11.4641 13.75 11V9.58159ZM3 1.75H13C13.1381 1.75 13.25 1.86193 13.25 2V8C13.25 8.13807 13.1381 8.25 13 8.25H3C2.86193 8.25 2.75 8.13807 2.75 8V2C2.75 1.86193 2.86193 1.75 3 1.75ZM12.25 9.75V11C12.25 11.0663 12.2237 11.1299 12.1768 11.1768C12.1299 11.2237 12.0663 11.25 12 11.25H4C3.9337 11.25 3.87011 11.2237 3.82322 11.1768C3.77634 11.1299 3.75 11.0663 3.75 11V9.75H12.25ZM11.25 12.75V14C11.25 14.0663 11.2237 14.1299 11.1768 14.1768C11.1299 14.2237 11.0663 14.25 11 14.25H5C4.9337 14.25 4.87011 14.2237 4.82322 14.1768C4.77634 14.1299 4.75 14.0663 4.75 14V12.75H11.25Z" } })]);
206
+ }, _i = [], wi = /* @__PURE__ */ g(
207
+ hi,
208
+ bi,
209
+ _i,
210
+ !1,
211
+ null,
212
+ null
213
+ );
214
+ const yi = wi.exports;
215
+ let va = 0;
216
+ const Ci = {
217
+ beforeCreate() {
218
+ this.uuid = va.toString(), va += 1;
219
+ }
220
+ };
221
+ var ki = function() {
222
+ var a = this, t = a._self._c;
223
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M2.25 0.25V15.75H13.75V4.68934L9.31066 0.25H2.25ZM7.25 1.75V6.75H12.25V14.25H3.75V1.75H7.25ZM12.1893 5.25H8.75V1.81066L12.1893 5.25Z" } })]);
224
+ }, Ri = [], Ei = /* @__PURE__ */ g(
225
+ Ci,
226
+ ki,
227
+ Ri,
228
+ !1,
229
+ null,
230
+ null
231
+ );
232
+ const ji = Ei.exports;
233
+ let fa = 0;
234
+ const zi = {
235
+ beforeCreate() {
236
+ this.uuid = fa.toString(), fa += 1;
237
+ }
238
+ };
239
+ var Ii = function() {
240
+ var a = this, t = a._self._c;
241
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z" } }), t("path", { attrs: { fill: "#00112C", d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z" } }), t("path", { attrs: { fill: "#00112C", d: "M2.24609 0.25V15.75H13.7461V4.68934L9.30675 0.25H2.24609ZM7.24609 1.75V6.75H12.2461V14.25H3.74609V1.75H7.24609ZM12.1854 5.25H8.74609V1.81066L12.1854 5.25Z" } })]);
242
+ }, $i = [], Fi = /* @__PURE__ */ g(
243
+ zi,
244
+ Ii,
245
+ $i,
246
+ !1,
247
+ null,
248
+ null
249
+ );
250
+ const Ti = Fi.exports;
251
+ let xa = 0;
252
+ const Li = {
253
+ beforeCreate() {
254
+ this.uuid = xa.toString(), xa += 1;
255
+ }
256
+ };
257
+ var Si = function() {
258
+ var a = this, t = a._self._c;
259
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M1.24609 4.5C1.24609 3.25579 2.25188 2.25 3.49609 2.25H6.37609C6.97727 2.25 7.54738 2.49062 7.96642 2.90967L10.0864 5.02967C10.2274 5.17062 10.4173 5.25 10.6161 5.25H12.4961C13.7403 5.25 14.7461 6.25579 14.7461 7.5V12.5C14.7461 13.7442 13.7403 14.75 12.4961 14.75H3.49609C2.25188 14.75 1.24609 13.7442 1.24609 12.5V4.5ZM3.49609 3.75C3.08031 3.75 2.74609 4.08421 2.74609 4.5V12.5C2.74609 12.9158 3.08031 13.25 3.49609 13.25H12.4961C12.9119 13.25 13.2461 12.9158 13.2461 12.5V7.5C13.2461 7.08421 12.9119 6.75 12.4961 6.75H10.6161C10.0149 6.75 9.44481 6.50938 9.02576 6.09033L6.90576 3.97033C6.76481 3.82938 6.57492 3.75 6.37609 3.75H3.49609Z" } })]);
260
+ }, Mi = [], Di = /* @__PURE__ */ g(
261
+ Li,
262
+ Si,
263
+ Mi,
264
+ !1,
265
+ null,
266
+ null
267
+ );
268
+ const Vi = Di.exports;
269
+ let ga = 0;
270
+ const Bi = {
271
+ beforeCreate() {
272
+ this.uuid = ga.toString(), ga += 1;
273
+ }
274
+ };
275
+ var Oi = function() {
276
+ var a = this, t = a._self._c;
277
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M9.99609 3.24805C8.47731 3.24805 7.24609 4.47926 7.24609 5.99805C7.24609 7.51683 8.47731 8.74805 9.99609 8.74805C11.5149 8.74805 12.7461 7.51683 12.7461 5.99805C12.7461 4.47926 11.5149 3.24805 9.99609 3.24805ZM8.74609 5.99805C8.74609 5.30769 9.30574 4.74805 9.99609 4.74805C10.6865 4.74805 11.2461 5.30769 11.2461 5.99805C11.2461 6.6884 10.6865 7.24805 9.99609 7.24805C9.30574 7.24805 8.74609 6.6884 8.74609 5.99805Z" } }), t("path", { attrs: { fill: "#00112C", d: "M1.24609 3.49805C1.24609 2.25541 2.25345 1.24805 3.49609 1.24805H12.4961C13.7387 1.24805 14.7461 2.25541 14.7461 3.49805V12.498C14.7461 13.7407 13.7387 14.748 12.4961 14.748H3.49609C2.25345 14.748 1.24609 13.7407 1.24609 12.498V3.49805ZM3.49609 2.74805C3.08188 2.74805 2.74609 3.08383 2.74609 3.49805V6.68756L3.99615 5.4375L11.8067 13.248H12.4961C12.9103 13.248 13.2461 12.9123 13.2461 12.498V3.49805C13.2461 3.08383 12.9103 2.74805 12.4961 2.74805H3.49609ZM2.74609 12.498C2.74609 12.9123 3.08188 13.248 3.49609 13.248H9.68538L3.99615 7.55882L2.74609 8.80888V12.498Z" } })]);
278
+ }, Hi = [], qi = /* @__PURE__ */ g(
279
+ Bi,
280
+ Oi,
281
+ Hi,
282
+ !1,
283
+ null,
284
+ null
285
+ );
286
+ const Ui = qi.exports;
287
+ let ha = 0;
288
+ const Ai = {
289
+ beforeCreate() {
290
+ this.uuid = ha.toString(), ha += 1;
291
+ }
292
+ };
293
+ var Zi = function() {
294
+ var a = this, t = a._self._c;
295
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + a.uuid + ")" } }, [t("path", { attrs: { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" } }), t("path", { attrs: { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" } })]), t("defs", [t("clipPath", { attrs: { id: "uia-ui-assets/icons-16-play_circle__a" + a.uuid } }, [t("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
296
+ }, Pi = [], Ni = /* @__PURE__ */ g(
297
+ Ai,
298
+ Zi,
299
+ Pi,
300
+ !1,
301
+ null,
302
+ null
303
+ );
304
+ const Wi = Ni.exports;
305
+ let ba = 0;
306
+ const Gi = {
307
+ beforeCreate() {
308
+ this.uuid = ba.toString(), ba += 1;
309
+ }
310
+ };
311
+ var Yi = function() {
312
+ var a = this, t = a._self._c;
313
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M5.68934 2.25H8.75V13.75H5.68934L2.68934 10.75H0.25V5.25H2.68934L5.68934 2.25ZM6.31066 3.75L3.31066 6.75H1.75V9.25H3.31066L6.31066 12.25H7.25V3.75H6.31066Z" } }), t("path", { attrs: { fill: "#00112C", d: "M13.0111 4.99174C12.2099 4.19982 11.1294 3.75 10 3.75V2.25C11.53 2.25 12.9888 2.85964 14.0675 3.92684L14.0703 3.92966C15.1527 5.01199 15.75 6.47347 15.75 8C15.75 9.52995 15.1404 10.9888 14.0732 12.0675L14.0703 12.0703C12.988 13.1527 11.5265 13.75 10 13.75V12.25C11.1328 12.25 12.2107 11.8079 13.0082 11.0111C13.8002 10.21 14.25 9.1294 14.25 8C14.25 6.8672 13.8079 5.78927 13.0111 4.99174Z" } }), t("path", { attrs: { fill: "#00112C", d: "M10 6.75V5.25C10.7257 5.25 11.4295 5.53694 11.9438 6.06319C12.4593 6.58041 12.75 7.26849 12.75 8C12.75 8.72573 12.4631 9.42951 11.9368 9.94383C11.4196 10.4593 10.7315 10.75 10 10.75V9.25C10.3268 9.25 10.6373 9.12206 10.8797 8.87967L10.8868 8.87265C11.1182 8.64727 11.25 8.33261 11.25 8C11.25 7.67317 11.1221 7.36272 10.8797 7.12033L10.8726 7.11321C10.6473 6.88175 10.3326 6.75 10 6.75Z" } })]);
314
+ }, Xi = [], Ji = /* @__PURE__ */ g(
315
+ Gi,
316
+ Yi,
317
+ Xi,
318
+ !1,
319
+ null,
320
+ null
321
+ );
322
+ const Ki = Ji.exports;
323
+ let _a = 0;
324
+ const Qi = {
325
+ beforeCreate() {
326
+ this.uuid = _a.toString(), _a += 1;
327
+ }
328
+ };
329
+ var at = function() {
330
+ var a = this, t = a._self._c;
331
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M3.5 1.25L3.49505 1.25002C2.90084 1.25394 2.33208 1.49173 1.91191 1.91191C1.49173 2.33208 1.25392 2.90084 1.25 3.49505V12.5C1.25 13.0967 1.48705 13.669 1.90901 14.091C2.33097 14.5129 2.90326 14.75 3.5 14.75H12.5C13.0967 14.75 13.669 14.5129 14.091 14.091C14.5129 13.669 14.75 13.0967 14.75 12.5V3.5C14.75 2.90326 14.5129 2.33097 14.091 1.90901C13.669 1.48705 13.0967 1.25 12.5 1.25H3.5ZM5.25 2.75V5.25H2.75V3.5029C2.75185 3.30382 2.83175 3.11338 2.97257 2.97257C3.11338 2.83175 3.30382 2.75185 3.5029 2.75H5.25ZM5.25 6.75V9.25H2.75V6.75H5.25ZM6.75 9.25V6.75H13.25V9.25H6.75ZM5.25 10.75V13.25H3.5C3.30109 13.25 3.11032 13.171 2.96967 13.0303C2.82902 12.8897 2.75 12.6989 2.75 12.5V10.75H5.25ZM6.75 13.25V10.75H13.25V12.5C13.25 12.6989 13.171 12.8897 13.0303 13.0303C12.8897 13.171 12.6989 13.25 12.5 13.25H6.75ZM6.75 5.25V2.75H12.5C12.6989 2.75 12.8897 2.82902 13.0303 2.96967C13.171 3.11032 13.25 3.30109 13.25 3.5V5.25H6.75Z" } })]);
332
+ }, it = [], tt = /* @__PURE__ */ g(
333
+ Qi,
334
+ at,
335
+ it,
336
+ !1,
337
+ null,
338
+ null
339
+ );
340
+ const et = tt.exports, nt = {
341
+ [d.AUDIO]: Ki,
342
+ [d.COMPRESSED]: Vi,
343
+ [d.GENERIC]: gi,
344
+ [d.IMAGE]: Ui,
345
+ [d.PDF]: ji,
346
+ [d.SLIDES]: yi,
347
+ [d.TABLE]: et,
348
+ [d.TEXT]: Ti,
349
+ [d.VIDEO]: Wi
350
+ };
351
+ function ot(e) {
352
+ return nt[e.type];
353
+ }
354
+ function pt(e) {
355
+ switch (e.type) {
356
+ case d.COMPRESSED:
357
+ case d.GENERIC:
358
+ return "grey";
359
+ case d.PDF:
360
+ case d.SLIDES:
361
+ return "orange";
362
+ case d.TEXT:
363
+ return "blue";
364
+ default:
365
+ return "green";
366
+ }
367
+ }
368
+ const lt = {
369
+ "en-US": {
370
+ cancel: "Cancel",
371
+ fileExceedsSizeLimit: "File exceeds size limit",
372
+ fileTypeMustBe: "File type must be {list}",
373
+ imageDimensionsExceedLimits: "Image dimensions exceed limits",
374
+ remove: "Remove",
375
+ retry: "Retry"
376
+ },
377
+ "ja-JP": {
378
+ cancel: "キャンセル",
379
+ remove: "削除",
380
+ retry: "再試行"
381
+ },
382
+ "pt-BR": {
383
+ cancel: "Cancelar",
384
+ remove: "Remover",
385
+ retry: "Tentar novamente"
386
+ }
387
+ }, st = {
388
+ name: "file-uploader-file-card",
389
+ i18n: { messages: lt }
390
+ }, ct = /* @__PURE__ */ W({
391
+ ...st,
392
+ props: {
393
+ file: null,
394
+ supportedFileTypes: { default: null }
395
+ },
396
+ emits: ["cancel", "remove", "retry"],
397
+ setup(e, { expose: a, emit: t }) {
398
+ const i = e, p = 1200, { t: o, locale: f } = G(), s = h(null), c = h(null), u = h(null), k = w("file-errors-section"), D = w("cancel-file-button"), m = w("remove-file-button"), T = w("retry-file-button"), C = h(i.file.state === y.SUCCESS), V = r(() => URL.createObjectURL(i.file.data)), I = r(() => i.file.state === y.ERROR), Y = r(() => i.file.errors.includes(x.ERROR_LOAD)), X = r(() => i.file.errors.includes(x.ERROR_SIZE)), L = r(() => i.file.errors.includes(x.ERROR_DIMENSIONS)), R = r(() => i.file.errors.includes(x.ERROR_TYPE)), E = r(() => i.file.state === y.LOADING), B = r(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), J = r(() => ka(f.value, i.file.data.size)), j = h(), O = h(), S = oi(j, O), K = r(() => ({
399
+ "b-file-uploader-file-card--error": I.value
400
+ })), H = r(() => ({
401
+ [`b-file-uploader-file-card__icon--${pt(i.file)}`]: C.value,
402
+ "b-file-uploader-file-card__icon--error": I.value
403
+ })), Q = r(() => E.value ? Pa : I.value ? ya : C.value ? ot(i.file) : Ha);
404
+ ta(
405
+ () => i.file.state,
406
+ (q) => {
407
+ if (q === y.SUCCESS && !C.value) {
408
+ const U = setTimeout(() => {
409
+ C.value = !0, clearTimeout(U);
410
+ }, p);
411
+ }
412
+ }
413
+ );
414
+ function $() {
415
+ if (u.value) {
416
+ u.value.$el.focus();
417
+ return;
418
+ }
419
+ if (s.value) {
420
+ s.value.$el.focus();
421
+ return;
422
+ }
423
+ if (c.value) {
424
+ c.value.$el.focus();
425
+ return;
426
+ }
427
+ }
428
+ return a({
429
+ focus: $
430
+ }), { __sfc: !0, ICON_TIMER: p, props: i, emit: t, t: o, locale: f, removeFileButtonRef: s, cancelFileButtonRef: c, retryFileButtonRef: u, fileErrorsSectionId: k, cancelFileButtonId: D, removeFileButtonId: m, retryFileButtonId: T, showFileIcon: C, downloadUrl: V, hasError: I, hasLoadError: Y, hasSizeError: X, hasDimensionsError: L, hasTypeError: R, isLoading: E, progressLabel: B, sizeLabel: J, fileNameRef: j, fileNameContainerRef: O, isFileNameTruncated: S, conditionalClasses: K, conditionalIconClasses: H, fileUploaderIcon: Q, focus: $, isVue2: Ca, FileUploaderFileCardAnimation: ni, BinIcon: Oa, CrossIcon: qa, RefreshIcon: Ua, vBentoTooltipDirective: Na, BentoButton: Aa, BentoLink: Za, BentoTypography: na };
431
+ }
432
+ });
433
+ var rt = function() {
434
+ var a = this, t = a._self._c, i = a._self._setupProxy;
435
+ return t("div", { staticClass: "b-file-uploader-file-card", class: i.conditionalClasses }, [t("div", { staticClass: "b-file-uploader-file-card__details" }, [t("div", { staticClass: "b-file-uploader-file-card__info" }, [t(i.FileUploaderFileCardAnimation, { attrs: { name: i.isVue2 ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3", "show-file-icon": i.showFileIcon } }, [t(i.fileUploaderIcon, { key: JSON.stringify(i.fileUploaderIcon), tag: "component", staticClass: "b-file-uploader-file-card__icon", class: i.conditionalIconClasses, attrs: { small: "", "aria-hidden": "true", "data-testid": "file-uploader-item-icon" } })], 1), t("div", { ref: "fileNameContainerRef", staticClass: "b-file-uploader-file-card__file-name" }, [t(i.BentoLink, { attrs: { "aria-hidden": "true", tabindex: "-1", download: a.file.data.name, to: i.downloadUrl, "disable-typography": "", "is-not-routing": "", variant: "quiet" } }, [t(i.BentoTypography, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: i.isFileNameTruncated ? a.file.data.name : null, expression: "isFileNameTruncated ? file.data.name : null" }], ref: "fileNameRef", attrs: { stronger: "", el: "span" } }, [a._v(" " + a._s(a.file.data.name) + " ")])], 1)], 1), a.file.progress ? t(i.BentoTypography, { attrs: { el: "span" } }, [a._v(a._s(i.progressLabel))]) : a.file.data.size ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__file-size", attrs: { "aria-hidden": "true", el: "span" } }, [a._v(" " + a._s(i.sizeLabel) + " ")]) : a._e()], 1), i.hasSizeError || i.hasDimensionsError || i.hasTypeError && a.supportedFileTypes ? t("div", { attrs: { id: i.fileErrorsSectionId, role: "alert" } }, [i.hasSizeError ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("fileExceedsSizeLimit")) + " ")]) : a._e(), i.hasDimensionsError ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("imageDimensionsExceedLimits")) + " ")]) : a._e(), i.hasTypeError && a.supportedFileTypes ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("fileTypeMustBe", { list: a.supportedFileTypes })) + " ")]) : a._e()], 1) : a._e()]), t("div", { staticClass: "b-file-uploader-file-card__actions" }, [i.hasLoadError ? t(i.BentoButton, { ref: "retryFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.retryFileButtonId}`, variant: "tertiary" }, on: { click: function(p) {
436
+ return i.emit("retry");
437
+ } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
438
+ return [t(i.RefreshIcon, { attrs: { id: i.retryFileButtonId, "svg-title": `${i.t("retry")} - ${a.file.data.name} ` } })];
439
+ }, proxy: !0 }], null, !1, 4044719554) }, [a._v(" " + a._s(i.t("retry")) + " ")]) : a._e(), i.isLoading || i.hasError ? t(i.BentoButton, { ref: "cancelFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.cancelFileButtonId}`, variant: "tertiary" }, on: { click: function(p) {
440
+ return i.emit("cancel");
441
+ } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
442
+ return [t(i.CrossIcon, { attrs: { id: i.cancelFileButtonId, "svg-title": `${i.t("cancel")} - ${a.file.data.name}` } })];
443
+ }, proxy: !0 }], null, !1, 1610167681) }) : t(i.BentoButton, { ref: "removeFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.removeFileButtonId}`, variant: "tertiary" }, on: { click: function(p) {
444
+ return i.emit("remove");
445
+ } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
446
+ return [t(i.BinIcon, { attrs: { id: i.removeFileButtonId, "svg-title": `${i.t("remove")} - ${a.file.data.name}` } })];
447
+ }, proxy: !0 }]) })], 1)]);
448
+ }, dt = [], mt = /* @__PURE__ */ g(
449
+ ct,
450
+ rt,
451
+ dt,
452
+ !1,
453
+ null,
454
+ "f3f8a80e"
455
+ );
456
+ const ut = mt.exports, vt = {
457
+ "en-US": {
458
+ maxFileSize: "Max file size: {size}",
459
+ maxImageDimensions: "Max image dimensions: {width} × {height}px",
460
+ maxImageHeight: "Max image height: {height}px",
461
+ maxImageWidth: "Max image width: {width}px",
462
+ maxUpload: "Max upload: {count} file | Max upload: {count} files",
463
+ supportedFileTypes: "Supported file types: {list}"
464
+ }
465
+ }, ft = {
466
+ i18n: { messages: vt }
467
+ }, xt = /* @__PURE__ */ W({
468
+ ...ft,
469
+ __name: "file-uploader-restrictions",
470
+ props: {
471
+ condensed: { default: null },
472
+ disabled: { default: null },
473
+ maxCount: { default: null },
474
+ maxDimensions: { default: null },
475
+ maxSize: { default: null },
476
+ supportedFileTypes: { default: null }
477
+ },
478
+ setup(e) {
479
+ const a = e, { t, tc: i, locale: p } = G(), o = r(() => ({
480
+ "b-file-uploader-restrictions--condensed": a.condensed,
481
+ "b-file-uploader-restrictions--disabled": a.disabled
482
+ }));
483
+ function f(c) {
484
+ return {
485
+ "b-file-uploader-restrictions--error": c
486
+ };
487
+ }
488
+ const s = r(() => {
489
+ if (!a.maxDimensions)
490
+ return null;
491
+ const {
492
+ value: { width: c, height: u }
493
+ } = a.maxDimensions;
494
+ return c && u ? t("maxImageDimensions", { width: c, height: u }) : c ? t("maxImageWidth", { width: c }) : u ? t("maxImageHeight", { height: u }) : null;
495
+ });
496
+ return { __sfc: !0, props: a, t, tc: i, locale: p, conditionalClasses: o, setRestrictionErrorClass: f, maxDimensionsLabel: s, BentoTypography: na, formatFileSize: ka };
497
+ }
498
+ });
499
+ var gt = function() {
500
+ var a = this, t = a._self._c, i = a._self._setupProxy;
501
+ return t("div", { staticClass: "b-file-uploader-restrictions", class: i.conditionalClasses }, [a.supportedFileTypes ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.supportedFileTypes.error) }, [a._v(" " + a._s(i.t("supportedFileTypes", { list: a.supportedFileTypes.value })) + " ")]) : a._e(), a.maxSize ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxSize.error) }, [a._v(" " + a._s(i.t("maxFileSize", { size: i.formatFileSize(i.locale, a.maxSize.value) })) + " ")]) : a._e(), a.maxDimensions ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxDimensions.error) }, [a._v(" " + a._s(i.maxDimensionsLabel) + " ")]) : a._e(), a.maxCount ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxCount.error) }, [a._v(" " + a._s(i.tc("maxUpload", a.maxCount.value)) + " ")]) : a._e()], 1);
502
+ }, ht = [], bt = /* @__PURE__ */ g(
503
+ xt,
504
+ gt,
505
+ ht,
506
+ !1,
507
+ null,
508
+ "3c1d05d1"
509
+ );
510
+ const _t = bt.exports, Ra = {
511
+ "application/prs.cww": ["cww"],
512
+ "application/prs.xsf+xml": ["xsf"],
513
+ "application/vnd.1000minds.decision-model+xml": ["1km"],
514
+ "application/vnd.3gpp.pic-bw-large": ["plb"],
515
+ "application/vnd.3gpp.pic-bw-small": ["psb"],
516
+ "application/vnd.3gpp.pic-bw-var": ["pvb"],
517
+ "application/vnd.3gpp2.tcap": ["tcap"],
518
+ "application/vnd.3m.post-it-notes": ["pwn"],
519
+ "application/vnd.accpac.simply.aso": ["aso"],
520
+ "application/vnd.accpac.simply.imp": ["imp"],
521
+ "application/vnd.acucobol": ["acu"],
522
+ "application/vnd.acucorp": ["atc", "acutc"],
523
+ "application/vnd.adobe.air-application-installer-package+zip": ["air"],
524
+ "application/vnd.adobe.formscentral.fcdt": ["fcdt"],
525
+ "application/vnd.adobe.fxp": ["fxp", "fxpl"],
526
+ "application/vnd.adobe.xdp+xml": ["xdp"],
527
+ "application/vnd.adobe.xfdf": ["*xfdf"],
528
+ "application/vnd.age": ["age"],
529
+ "application/vnd.ahead.space": ["ahead"],
530
+ "application/vnd.airzip.filesecure.azf": ["azf"],
531
+ "application/vnd.airzip.filesecure.azs": ["azs"],
532
+ "application/vnd.amazon.ebook": ["azw"],
533
+ "application/vnd.americandynamics.acc": ["acc"],
534
+ "application/vnd.amiga.ami": ["ami"],
535
+ "application/vnd.android.package-archive": ["apk"],
536
+ "application/vnd.anser-web-certificate-issue-initiation": ["cii"],
537
+ "application/vnd.anser-web-funds-transfer-initiation": ["fti"],
538
+ "application/vnd.antix.game-component": ["atx"],
539
+ "application/vnd.apple.installer+xml": ["mpkg"],
540
+ "application/vnd.apple.keynote": ["key"],
541
+ "application/vnd.apple.mpegurl": ["m3u8"],
542
+ "application/vnd.apple.numbers": ["numbers"],
543
+ "application/vnd.apple.pages": ["pages"],
544
+ "application/vnd.apple.pkpass": ["pkpass"],
545
+ "application/vnd.aristanetworks.swi": ["swi"],
546
+ "application/vnd.astraea-software.iota": ["iota"],
547
+ "application/vnd.audiograph": ["aep"],
548
+ "application/vnd.balsamiq.bmml+xml": ["bmml"],
549
+ "application/vnd.blueice.multipass": ["mpm"],
550
+ "application/vnd.bmi": ["bmi"],
551
+ "application/vnd.businessobjects": ["rep"],
552
+ "application/vnd.chemdraw+xml": ["cdxml"],
553
+ "application/vnd.chipnuts.karaoke-mmd": ["mmd"],
554
+ "application/vnd.cinderella": ["cdy"],
555
+ "application/vnd.citationstyles.style+xml": ["csl"],
556
+ "application/vnd.claymore": ["cla"],
557
+ "application/vnd.cloanto.rp9": ["rp9"],
558
+ "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"],
559
+ "application/vnd.cluetrust.cartomobile-config": ["c11amc"],
560
+ "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"],
561
+ "application/vnd.commonspace": ["csp"],
562
+ "application/vnd.contact.cmsg": ["cdbcmsg"],
563
+ "application/vnd.cosmocaller": ["cmc"],
564
+ "application/vnd.crick.clicker": ["clkx"],
565
+ "application/vnd.crick.clicker.keyboard": ["clkk"],
566
+ "application/vnd.crick.clicker.palette": ["clkp"],
567
+ "application/vnd.crick.clicker.template": ["clkt"],
568
+ "application/vnd.crick.clicker.wordbank": ["clkw"],
569
+ "application/vnd.criticaltools.wbs+xml": ["wbs"],
570
+ "application/vnd.ctc-posml": ["pml"],
571
+ "application/vnd.cups-ppd": ["ppd"],
572
+ "application/vnd.curl.car": ["car"],
573
+ "application/vnd.curl.pcurl": ["pcurl"],
574
+ "application/vnd.dart": ["dart"],
575
+ "application/vnd.data-vision.rdz": ["rdz"],
576
+ "application/vnd.dbf": ["dbf"],
577
+ "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"],
578
+ "application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
579
+ "application/vnd.dece.unspecified": ["uvx", "uvvx"],
580
+ "application/vnd.dece.zip": ["uvz", "uvvz"],
581
+ "application/vnd.denovo.fcselayout-link": ["fe_launch"],
582
+ "application/vnd.dna": ["dna"],
583
+ "application/vnd.dolby.mlp": ["mlp"],
584
+ "application/vnd.dpgraph": ["dpg"],
585
+ "application/vnd.dreamfactory": ["dfac"],
586
+ "application/vnd.ds-keypoint": ["kpxx"],
587
+ "application/vnd.dvb.ait": ["ait"],
588
+ "application/vnd.dvb.service": ["svc"],
589
+ "application/vnd.dynageo": ["geo"],
590
+ "application/vnd.ecowin.chart": ["mag"],
591
+ "application/vnd.enliven": ["nml"],
592
+ "application/vnd.epson.esf": ["esf"],
593
+ "application/vnd.epson.msf": ["msf"],
594
+ "application/vnd.epson.quickanime": ["qam"],
595
+ "application/vnd.epson.salt": ["slt"],
596
+ "application/vnd.epson.ssf": ["ssf"],
597
+ "application/vnd.eszigno3+xml": ["es3", "et3"],
598
+ "application/vnd.ezpix-album": ["ez2"],
599
+ "application/vnd.ezpix-package": ["ez3"],
600
+ "application/vnd.fdf": ["*fdf"],
601
+ "application/vnd.fdsn.mseed": ["mseed"],
602
+ "application/vnd.fdsn.seed": ["seed", "dataless"],
603
+ "application/vnd.flographit": ["gph"],
604
+ "application/vnd.fluxtime.clip": ["ftc"],
605
+ "application/vnd.framemaker": ["fm", "frame", "maker", "book"],
606
+ "application/vnd.frogans.fnc": ["fnc"],
607
+ "application/vnd.frogans.ltf": ["ltf"],
608
+ "application/vnd.fsc.weblaunch": ["fsc"],
609
+ "application/vnd.fujitsu.oasys": ["oas"],
610
+ "application/vnd.fujitsu.oasys2": ["oa2"],
611
+ "application/vnd.fujitsu.oasys3": ["oa3"],
612
+ "application/vnd.fujitsu.oasysgp": ["fg5"],
613
+ "application/vnd.fujitsu.oasysprs": ["bh2"],
614
+ "application/vnd.fujixerox.ddd": ["ddd"],
615
+ "application/vnd.fujixerox.docuworks": ["xdw"],
616
+ "application/vnd.fujixerox.docuworks.binder": ["xbd"],
617
+ "application/vnd.fuzzysheet": ["fzs"],
618
+ "application/vnd.genomatix.tuxedo": ["txd"],
619
+ "application/vnd.geogebra.file": ["ggb"],
620
+ "application/vnd.geogebra.slides": ["ggs"],
621
+ "application/vnd.geogebra.tool": ["ggt"],
622
+ "application/vnd.geometry-explorer": ["gex", "gre"],
623
+ "application/vnd.geonext": ["gxt"],
624
+ "application/vnd.geoplan": ["g2w"],
625
+ "application/vnd.geospace": ["g3w"],
626
+ "application/vnd.gmx": ["gmx"],
627
+ "application/vnd.google-apps.document": ["gdoc"],
628
+ "application/vnd.google-apps.presentation": ["gslides"],
629
+ "application/vnd.google-apps.spreadsheet": ["gsheet"],
630
+ "application/vnd.google-earth.kml+xml": ["kml"],
631
+ "application/vnd.google-earth.kmz": ["kmz"],
632
+ "application/vnd.gov.sk.xmldatacontainer+xml": ["xdcf"],
633
+ "application/vnd.grafeq": ["gqf", "gqs"],
634
+ "application/vnd.groove-account": ["gac"],
635
+ "application/vnd.groove-help": ["ghf"],
636
+ "application/vnd.groove-identity-message": ["gim"],
637
+ "application/vnd.groove-injector": ["grv"],
638
+ "application/vnd.groove-tool-message": ["gtm"],
639
+ "application/vnd.groove-tool-template": ["tpl"],
640
+ "application/vnd.groove-vcard": ["vcg"],
641
+ "application/vnd.hal+xml": ["hal"],
642
+ "application/vnd.handheld-entertainment+xml": ["zmm"],
643
+ "application/vnd.hbci": ["hbci"],
644
+ "application/vnd.hhe.lesson-player": ["les"],
645
+ "application/vnd.hp-hpgl": ["hpgl"],
646
+ "application/vnd.hp-hpid": ["hpid"],
647
+ "application/vnd.hp-hps": ["hps"],
648
+ "application/vnd.hp-jlyt": ["jlt"],
649
+ "application/vnd.hp-pcl": ["pcl"],
650
+ "application/vnd.hp-pclxl": ["pclxl"],
651
+ "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"],
652
+ "application/vnd.ibm.minipay": ["mpy"],
653
+ "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"],
654
+ "application/vnd.ibm.rights-management": ["irm"],
655
+ "application/vnd.ibm.secure-container": ["sc"],
656
+ "application/vnd.iccprofile": ["icc", "icm"],
657
+ "application/vnd.igloader": ["igl"],
658
+ "application/vnd.immervision-ivp": ["ivp"],
659
+ "application/vnd.immervision-ivu": ["ivu"],
660
+ "application/vnd.insors.igm": ["igm"],
661
+ "application/vnd.intercon.formnet": ["xpw", "xpx"],
662
+ "application/vnd.intergeo": ["i2g"],
663
+ "application/vnd.intu.qbo": ["qbo"],
664
+ "application/vnd.intu.qfx": ["qfx"],
665
+ "application/vnd.ipunplugged.rcprofile": ["rcprofile"],
666
+ "application/vnd.irepository.package+xml": ["irp"],
667
+ "application/vnd.is-xpr": ["xpr"],
668
+ "application/vnd.isac.fcs": ["fcs"],
669
+ "application/vnd.jam": ["jam"],
670
+ "application/vnd.jcp.javame.midlet-rms": ["rms"],
671
+ "application/vnd.jisp": ["jisp"],
672
+ "application/vnd.joost.joda-archive": ["joda"],
673
+ "application/vnd.kahootz": ["ktz", "ktr"],
674
+ "application/vnd.kde.karbon": ["karbon"],
675
+ "application/vnd.kde.kchart": ["chrt"],
676
+ "application/vnd.kde.kformula": ["kfo"],
677
+ "application/vnd.kde.kivio": ["flw"],
678
+ "application/vnd.kde.kontour": ["kon"],
679
+ "application/vnd.kde.kpresenter": ["kpr", "kpt"],
680
+ "application/vnd.kde.kspread": ["ksp"],
681
+ "application/vnd.kde.kword": ["kwd", "kwt"],
682
+ "application/vnd.kenameaapp": ["htke"],
683
+ "application/vnd.kidspiration": ["kia"],
684
+ "application/vnd.kinar": ["kne", "knp"],
685
+ "application/vnd.koan": ["skp", "skd", "skt", "skm"],
686
+ "application/vnd.kodak-descriptor": ["sse"],
687
+ "application/vnd.las.las+xml": ["lasxml"],
688
+ "application/vnd.llamagraphics.life-balance.desktop": ["lbd"],
689
+ "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"],
690
+ "application/vnd.lotus-1-2-3": ["123"],
691
+ "application/vnd.lotus-approach": ["apr"],
692
+ "application/vnd.lotus-freelance": ["pre"],
693
+ "application/vnd.lotus-notes": ["nsf"],
694
+ "application/vnd.lotus-organizer": ["org"],
695
+ "application/vnd.lotus-screencam": ["scm"],
696
+ "application/vnd.lotus-wordpro": ["lwp"],
697
+ "application/vnd.macports.portpkg": ["portpkg"],
698
+ "application/vnd.mapbox-vector-tile": ["mvt"],
699
+ "application/vnd.mcd": ["mcd"],
700
+ "application/vnd.medcalcdata": ["mc1"],
701
+ "application/vnd.mediastation.cdkey": ["cdkey"],
702
+ "application/vnd.mfer": ["mwf"],
703
+ "application/vnd.mfmp": ["mfm"],
704
+ "application/vnd.micrografx.flo": ["flo"],
705
+ "application/vnd.micrografx.igx": ["igx"],
706
+ "application/vnd.mif": ["mif"],
707
+ "application/vnd.mobius.daf": ["daf"],
708
+ "application/vnd.mobius.dis": ["dis"],
709
+ "application/vnd.mobius.mbk": ["mbk"],
710
+ "application/vnd.mobius.mqy": ["mqy"],
711
+ "application/vnd.mobius.msl": ["msl"],
712
+ "application/vnd.mobius.plc": ["plc"],
713
+ "application/vnd.mobius.txf": ["txf"],
714
+ "application/vnd.mophun.application": ["mpn"],
715
+ "application/vnd.mophun.certificate": ["mpc"],
716
+ "application/vnd.mozilla.xul+xml": ["xul"],
717
+ "application/vnd.ms-artgalry": ["cil"],
718
+ "application/vnd.ms-cab-compressed": ["cab"],
719
+ "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"],
720
+ "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"],
721
+ "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"],
722
+ "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"],
723
+ "application/vnd.ms-excel.template.macroenabled.12": ["xltm"],
724
+ "application/vnd.ms-fontobject": ["eot"],
725
+ "application/vnd.ms-htmlhelp": ["chm"],
726
+ "application/vnd.ms-ims": ["ims"],
727
+ "application/vnd.ms-lrm": ["lrm"],
728
+ "application/vnd.ms-officetheme": ["thmx"],
729
+ "application/vnd.ms-outlook": ["msg"],
730
+ "application/vnd.ms-pki.seccat": ["cat"],
731
+ "application/vnd.ms-pki.stl": ["*stl"],
732
+ "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"],
733
+ "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"],
734
+ "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"],
735
+ "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"],
736
+ "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
737
+ "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
738
+ "application/vnd.ms-project": ["*mpp", "mpt"],
739
+ "application/vnd.ms-word.document.macroenabled.12": ["docm"],
740
+ "application/vnd.ms-word.template.macroenabled.12": ["dotm"],
741
+ "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"],
742
+ "application/vnd.ms-wpl": ["wpl"],
743
+ "application/vnd.ms-xpsdocument": ["xps"],
744
+ "application/vnd.mseq": ["mseq"],
745
+ "application/vnd.musician": ["mus"],
746
+ "application/vnd.muvee.style": ["msty"],
747
+ "application/vnd.mynfc": ["taglet"],
748
+ "application/vnd.nato.bindingdataobject+xml": ["bdo"],
749
+ "application/vnd.neurolanguage.nlu": ["nlu"],
750
+ "application/vnd.nitf": ["ntf", "nitf"],
751
+ "application/vnd.noblenet-directory": ["nnd"],
752
+ "application/vnd.noblenet-sealer": ["nns"],
753
+ "application/vnd.noblenet-web": ["nnw"],
754
+ "application/vnd.nokia.n-gage.ac+xml": ["*ac"],
755
+ "application/vnd.nokia.n-gage.data": ["ngdat"],
756
+ "application/vnd.nokia.n-gage.symbian.install": ["n-gage"],
757
+ "application/vnd.nokia.radio-preset": ["rpst"],
758
+ "application/vnd.nokia.radio-presets": ["rpss"],
759
+ "application/vnd.novadigm.edm": ["edm"],
760
+ "application/vnd.novadigm.edx": ["edx"],
761
+ "application/vnd.novadigm.ext": ["ext"],
762
+ "application/vnd.oasis.opendocument.chart": ["odc"],
763
+ "application/vnd.oasis.opendocument.chart-template": ["otc"],
764
+ "application/vnd.oasis.opendocument.database": ["odb"],
765
+ "application/vnd.oasis.opendocument.formula": ["odf"],
766
+ "application/vnd.oasis.opendocument.formula-template": ["odft"],
767
+ "application/vnd.oasis.opendocument.graphics": ["odg"],
768
+ "application/vnd.oasis.opendocument.graphics-template": ["otg"],
769
+ "application/vnd.oasis.opendocument.image": ["odi"],
770
+ "application/vnd.oasis.opendocument.image-template": ["oti"],
771
+ "application/vnd.oasis.opendocument.presentation": ["odp"],
772
+ "application/vnd.oasis.opendocument.presentation-template": ["otp"],
773
+ "application/vnd.oasis.opendocument.spreadsheet": ["ods"],
774
+ "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"],
775
+ "application/vnd.oasis.opendocument.text": ["odt"],
776
+ "application/vnd.oasis.opendocument.text-master": ["odm"],
777
+ "application/vnd.oasis.opendocument.text-template": ["ott"],
778
+ "application/vnd.oasis.opendocument.text-web": ["oth"],
779
+ "application/vnd.olpc-sugar": ["xo"],
780
+ "application/vnd.oma.dd2+xml": ["dd2"],
781
+ "application/vnd.openblox.game+xml": ["obgx"],
782
+ "application/vnd.openofficeorg.extension": ["oxt"],
783
+ "application/vnd.openstreetmap.data+xml": ["osm"],
784
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": [
785
+ "pptx"
786
+ ],
787
+ "application/vnd.openxmlformats-officedocument.presentationml.slide": [
788
+ "sldx"
789
+ ],
790
+ "application/vnd.openxmlformats-officedocument.presentationml.slideshow": [
791
+ "ppsx"
792
+ ],
793
+ "application/vnd.openxmlformats-officedocument.presentationml.template": [
794
+ "potx"
795
+ ],
796
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
797
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.template": [
798
+ "xltx"
799
+ ],
800
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [
801
+ "docx"
802
+ ],
803
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.template": [
804
+ "dotx"
805
+ ],
806
+ "application/vnd.osgeo.mapguide.package": ["mgp"],
807
+ "application/vnd.osgi.dp": ["dp"],
808
+ "application/vnd.osgi.subsystem": ["esa"],
809
+ "application/vnd.palm": ["pdb", "pqa", "oprc"],
810
+ "application/vnd.pawaafile": ["paw"],
811
+ "application/vnd.pg.format": ["str"],
812
+ "application/vnd.pg.osasli": ["ei6"],
813
+ "application/vnd.picsel": ["efif"],
814
+ "application/vnd.pmi.widget": ["wg"],
815
+ "application/vnd.pocketlearn": ["plf"],
816
+ "application/vnd.powerbuilder6": ["pbd"],
817
+ "application/vnd.previewsystems.box": ["box"],
818
+ "application/vnd.proteus.magazine": ["mgz"],
819
+ "application/vnd.publishare-delta-tree": ["qps"],
820
+ "application/vnd.pvi.ptid1": ["ptid"],
821
+ "application/vnd.pwg-xhtml-print+xml": ["xhtm"],
822
+ "application/vnd.quark.quarkxpress": [
823
+ "qxd",
824
+ "qxt",
825
+ "qwd",
826
+ "qwt",
827
+ "qxl",
828
+ "qxb"
829
+ ],
830
+ "application/vnd.rar": ["rar"],
831
+ "application/vnd.realvnc.bed": ["bed"],
832
+ "application/vnd.recordare.musicxml": ["mxl"],
833
+ "application/vnd.recordare.musicxml+xml": ["musicxml"],
834
+ "application/vnd.rig.cryptonote": ["cryptonote"],
835
+ "application/vnd.rim.cod": ["cod"],
836
+ "application/vnd.rn-realmedia": ["rm"],
837
+ "application/vnd.rn-realmedia-vbr": ["rmvb"],
838
+ "application/vnd.route66.link66+xml": ["link66"],
839
+ "application/vnd.sailingtracker.track": ["st"],
840
+ "application/vnd.seemail": ["see"],
841
+ "application/vnd.sema": ["sema"],
842
+ "application/vnd.semd": ["semd"],
843
+ "application/vnd.semf": ["semf"],
844
+ "application/vnd.shana.informed.formdata": ["ifm"],
845
+ "application/vnd.shana.informed.formtemplate": ["itp"],
846
+ "application/vnd.shana.informed.interchange": ["iif"],
847
+ "application/vnd.shana.informed.package": ["ipk"],
848
+ "application/vnd.simtech-mindmapper": ["twd", "twds"],
849
+ "application/vnd.smaf": ["mmf"],
850
+ "application/vnd.smart.teacher": ["teacher"],
851
+ "application/vnd.software602.filler.form+xml": ["fo"],
852
+ "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"],
853
+ "application/vnd.spotfire.dxp": ["dxp"],
854
+ "application/vnd.spotfire.sfs": ["sfs"],
855
+ "application/vnd.stardivision.calc": ["sdc"],
856
+ "application/vnd.stardivision.draw": ["sda"],
857
+ "application/vnd.stardivision.impress": ["sdd"],
858
+ "application/vnd.stardivision.math": ["smf"],
859
+ "application/vnd.stardivision.writer": ["sdw", "vor"],
860
+ "application/vnd.stardivision.writer-global": ["sgl"],
861
+ "application/vnd.stepmania.package": ["smzip"],
862
+ "application/vnd.stepmania.stepchart": ["sm"],
863
+ "application/vnd.sun.wadl+xml": ["wadl"],
864
+ "application/vnd.sun.xml.calc": ["sxc"],
865
+ "application/vnd.sun.xml.calc.template": ["stc"],
866
+ "application/vnd.sun.xml.draw": ["sxd"],
867
+ "application/vnd.sun.xml.draw.template": ["std"],
868
+ "application/vnd.sun.xml.impress": ["sxi"],
869
+ "application/vnd.sun.xml.impress.template": ["sti"],
870
+ "application/vnd.sun.xml.math": ["sxm"],
871
+ "application/vnd.sun.xml.writer": ["sxw"],
872
+ "application/vnd.sun.xml.writer.global": ["sxg"],
873
+ "application/vnd.sun.xml.writer.template": ["stw"],
874
+ "application/vnd.sus-calendar": ["sus", "susp"],
875
+ "application/vnd.svd": ["svd"],
876
+ "application/vnd.symbian.install": ["sis", "sisx"],
877
+ "application/vnd.syncml+xml": ["xsm"],
878
+ "application/vnd.syncml.dm+wbxml": ["bdm"],
879
+ "application/vnd.syncml.dm+xml": ["xdm"],
880
+ "application/vnd.syncml.dmddf+xml": ["ddf"],
881
+ "application/vnd.tao.intent-module-archive": ["tao"],
882
+ "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"],
883
+ "application/vnd.tmobile-livetv": ["tmo"],
884
+ "application/vnd.trid.tpt": ["tpt"],
885
+ "application/vnd.triscape.mxs": ["mxs"],
886
+ "application/vnd.trueapp": ["tra"],
887
+ "application/vnd.ufdl": ["ufd", "ufdl"],
888
+ "application/vnd.uiq.theme": ["utz"],
889
+ "application/vnd.umajin": ["umj"],
890
+ "application/vnd.unity": ["unityweb"],
891
+ "application/vnd.uoml+xml": ["uoml", "uo"],
892
+ "application/vnd.vcx": ["vcx"],
893
+ "application/vnd.visio": ["vsd", "vst", "vss", "vsw"],
894
+ "application/vnd.visionary": ["vis"],
895
+ "application/vnd.vsf": ["vsf"],
896
+ "application/vnd.wap.wbxml": ["wbxml"],
897
+ "application/vnd.wap.wmlc": ["wmlc"],
898
+ "application/vnd.wap.wmlscriptc": ["wmlsc"],
899
+ "application/vnd.webturbo": ["wtb"],
900
+ "application/vnd.wolfram.player": ["nbp"],
901
+ "application/vnd.wordperfect": ["wpd"],
902
+ "application/vnd.wqd": ["wqd"],
903
+ "application/vnd.wt.stf": ["stf"],
904
+ "application/vnd.xara": ["xar"],
905
+ "application/vnd.xfdl": ["xfdl"],
906
+ "application/vnd.yamaha.hv-dic": ["hvd"],
907
+ "application/vnd.yamaha.hv-script": ["hvs"],
908
+ "application/vnd.yamaha.hv-voice": ["hvp"],
909
+ "application/vnd.yamaha.openscoreformat": ["osf"],
910
+ "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"],
911
+ "application/vnd.yamaha.smaf-audio": ["saf"],
912
+ "application/vnd.yamaha.smaf-phrase": ["spf"],
913
+ "application/vnd.yellowriver-custom-menu": ["cmp"],
914
+ "application/vnd.zul": ["zir", "zirz"],
915
+ "application/vnd.zzazz.deck+xml": ["zaz"],
916
+ "application/x-7z-compressed": ["7z"],
917
+ "application/x-abiword": ["abw"],
918
+ "application/x-ace-compressed": ["ace"],
919
+ "application/x-apple-diskimage": ["*dmg"],
920
+ "application/x-arj": ["arj"],
921
+ "application/x-authorware-bin": ["aab", "x32", "u32", "vox"],
922
+ "application/x-authorware-map": ["aam"],
923
+ "application/x-authorware-seg": ["aas"],
924
+ "application/x-bcpio": ["bcpio"],
925
+ "application/x-bdoc": ["*bdoc"],
926
+ "application/x-bittorrent": ["torrent"],
927
+ "application/x-blorb": ["blb", "blorb"],
928
+ "application/x-bzip": ["bz"],
929
+ "application/x-bzip2": ["bz2", "boz"],
930
+ "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"],
931
+ "application/x-cdlink": ["vcd"],
932
+ "application/x-cfs-compressed": ["cfs"],
933
+ "application/x-chat": ["chat"],
934
+ "application/x-chess-pgn": ["pgn"],
935
+ "application/x-chrome-extension": ["crx"],
936
+ "application/x-cocoa": ["cco"],
937
+ "application/x-conference": ["nsc"],
938
+ "application/x-cpio": ["cpio"],
939
+ "application/x-csh": ["csh"],
940
+ "application/x-debian-package": ["*deb", "udeb"],
941
+ "application/x-dgc-compressed": ["dgc"],
942
+ "application/x-director": [
943
+ "dir",
944
+ "dcr",
945
+ "dxr",
946
+ "cst",
947
+ "cct",
948
+ "cxt",
949
+ "w3d",
950
+ "fgd",
951
+ "swa"
952
+ ],
953
+ "application/x-doom": ["wad"],
954
+ "application/x-dtbncx+xml": ["ncx"],
955
+ "application/x-dtbook+xml": ["dtb"],
956
+ "application/x-dtbresource+xml": ["res"],
957
+ "application/x-dvi": ["dvi"],
958
+ "application/x-envoy": ["evy"],
959
+ "application/x-eva": ["eva"],
960
+ "application/x-font-bdf": ["bdf"],
961
+ "application/x-font-ghostscript": ["gsf"],
962
+ "application/x-font-linux-psf": ["psf"],
963
+ "application/x-font-pcf": ["pcf"],
964
+ "application/x-font-snf": ["snf"],
965
+ "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"],
966
+ "application/x-freearc": ["arc"],
967
+ "application/x-futuresplash": ["spl"],
968
+ "application/x-gca-compressed": ["gca"],
969
+ "application/x-glulx": ["ulx"],
970
+ "application/x-gnumeric": ["gnumeric"],
971
+ "application/x-gramps-xml": ["gramps"],
972
+ "application/x-gtar": ["gtar"],
973
+ "application/x-hdf": ["hdf"],
974
+ "application/x-httpd-php": ["php"],
975
+ "application/x-install-instructions": ["install"],
976
+ "application/x-iso9660-image": ["*iso"],
977
+ "application/x-iwork-keynote-sffkey": ["*key"],
978
+ "application/x-iwork-numbers-sffnumbers": ["*numbers"],
979
+ "application/x-iwork-pages-sffpages": ["*pages"],
980
+ "application/x-java-archive-diff": ["jardiff"],
981
+ "application/x-java-jnlp-file": ["jnlp"],
982
+ "application/x-keepass2": ["kdbx"],
983
+ "application/x-latex": ["latex"],
984
+ "application/x-lua-bytecode": ["luac"],
985
+ "application/x-lzh-compressed": ["lzh", "lha"],
986
+ "application/x-makeself": ["run"],
987
+ "application/x-mie": ["mie"],
988
+ "application/x-mobipocket-ebook": ["*prc", "mobi"],
989
+ "application/x-ms-application": ["application"],
990
+ "application/x-ms-shortcut": ["lnk"],
991
+ "application/x-ms-wmd": ["wmd"],
992
+ "application/x-ms-wmz": ["wmz"],
993
+ "application/x-ms-xbap": ["xbap"],
994
+ "application/x-msaccess": ["mdb"],
995
+ "application/x-msbinder": ["obd"],
996
+ "application/x-mscardfile": ["crd"],
997
+ "application/x-msclip": ["clp"],
998
+ "application/x-msdos-program": ["*exe"],
999
+ "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"],
1000
+ "application/x-msmediaview": ["mvb", "m13", "m14"],
1001
+ "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"],
1002
+ "application/x-msmoney": ["mny"],
1003
+ "application/x-mspublisher": ["pub"],
1004
+ "application/x-msschedule": ["scd"],
1005
+ "application/x-msterminal": ["trm"],
1006
+ "application/x-mswrite": ["wri"],
1007
+ "application/x-netcdf": ["nc", "cdf"],
1008
+ "application/x-ns-proxy-autoconfig": ["pac"],
1009
+ "application/x-nzb": ["nzb"],
1010
+ "application/x-perl": ["pl", "pm"],
1011
+ "application/x-pilot": ["*prc", "*pdb"],
1012
+ "application/x-pkcs12": ["p12", "pfx"],
1013
+ "application/x-pkcs7-certificates": ["p7b", "spc"],
1014
+ "application/x-pkcs7-certreqresp": ["p7r"],
1015
+ "application/x-rar-compressed": ["*rar"],
1016
+ "application/x-redhat-package-manager": ["rpm"],
1017
+ "application/x-research-info-systems": ["ris"],
1018
+ "application/x-sea": ["sea"],
1019
+ "application/x-sh": ["sh"],
1020
+ "application/x-shar": ["shar"],
1021
+ "application/x-shockwave-flash": ["swf"],
1022
+ "application/x-silverlight-app": ["xap"],
1023
+ "application/x-sql": ["*sql"],
1024
+ "application/x-stuffit": ["sit"],
1025
+ "application/x-stuffitx": ["sitx"],
1026
+ "application/x-subrip": ["srt"],
1027
+ "application/x-sv4cpio": ["sv4cpio"],
1028
+ "application/x-sv4crc": ["sv4crc"],
1029
+ "application/x-t3vm-image": ["t3"],
1030
+ "application/x-tads": ["gam"],
1031
+ "application/x-tar": ["tar"],
1032
+ "application/x-tcl": ["tcl", "tk"],
1033
+ "application/x-tex": ["tex"],
1034
+ "application/x-tex-tfm": ["tfm"],
1035
+ "application/x-texinfo": ["texinfo", "texi"],
1036
+ "application/x-tgif": ["*obj"],
1037
+ "application/x-ustar": ["ustar"],
1038
+ "application/x-virtualbox-hdd": ["hdd"],
1039
+ "application/x-virtualbox-ova": ["ova"],
1040
+ "application/x-virtualbox-ovf": ["ovf"],
1041
+ "application/x-virtualbox-vbox": ["vbox"],
1042
+ "application/x-virtualbox-vbox-extpack": ["vbox-extpack"],
1043
+ "application/x-virtualbox-vdi": ["vdi"],
1044
+ "application/x-virtualbox-vhd": ["vhd"],
1045
+ "application/x-virtualbox-vmdk": ["vmdk"],
1046
+ "application/x-wais-source": ["src"],
1047
+ "application/x-web-app-manifest+json": ["webapp"],
1048
+ "application/x-x509-ca-cert": ["der", "crt", "pem"],
1049
+ "application/x-xfig": ["fig"],
1050
+ "application/x-xliff+xml": ["*xlf"],
1051
+ "application/x-xpinstall": ["xpi"],
1052
+ "application/x-xz": ["xz"],
1053
+ "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"],
1054
+ "audio/vnd.dece.audio": ["uva", "uvva"],
1055
+ "audio/vnd.digital-winds": ["eol"],
1056
+ "audio/vnd.dra": ["dra"],
1057
+ "audio/vnd.dts": ["dts"],
1058
+ "audio/vnd.dts.hd": ["dtshd"],
1059
+ "audio/vnd.lucent.voice": ["lvp"],
1060
+ "audio/vnd.ms-playready.media.pya": ["pya"],
1061
+ "audio/vnd.nuera.ecelp4800": ["ecelp4800"],
1062
+ "audio/vnd.nuera.ecelp7470": ["ecelp7470"],
1063
+ "audio/vnd.nuera.ecelp9600": ["ecelp9600"],
1064
+ "audio/vnd.rip": ["rip"],
1065
+ "audio/x-aac": ["*aac"],
1066
+ "audio/x-aiff": ["aif", "aiff", "aifc"],
1067
+ "audio/x-caf": ["caf"],
1068
+ "audio/x-flac": ["flac"],
1069
+ "audio/x-m4a": ["*m4a"],
1070
+ "audio/x-matroska": ["mka"],
1071
+ "audio/x-mpegurl": ["m3u"],
1072
+ "audio/x-ms-wax": ["wax"],
1073
+ "audio/x-ms-wma": ["wma"],
1074
+ "audio/x-pn-realaudio": ["ram", "ra"],
1075
+ "audio/x-pn-realaudio-plugin": ["rmp"],
1076
+ "audio/x-realaudio": ["*ra"],
1077
+ "audio/x-wav": ["*wav"],
1078
+ "chemical/x-cdx": ["cdx"],
1079
+ "chemical/x-cif": ["cif"],
1080
+ "chemical/x-cmdf": ["cmdf"],
1081
+ "chemical/x-cml": ["cml"],
1082
+ "chemical/x-csml": ["csml"],
1083
+ "chemical/x-xyz": ["xyz"],
1084
+ "image/prs.btif": ["btif", "btf"],
1085
+ "image/prs.pti": ["pti"],
1086
+ "image/vnd.adobe.photoshop": ["psd"],
1087
+ "image/vnd.airzip.accelerator.azv": ["azv"],
1088
+ "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"],
1089
+ "image/vnd.djvu": ["djvu", "djv"],
1090
+ "image/vnd.dvb.subtitle": ["*sub"],
1091
+ "image/vnd.dwg": ["dwg"],
1092
+ "image/vnd.dxf": ["dxf"],
1093
+ "image/vnd.fastbidsheet": ["fbs"],
1094
+ "image/vnd.fpx": ["fpx"],
1095
+ "image/vnd.fst": ["fst"],
1096
+ "image/vnd.fujixerox.edmics-mmr": ["mmr"],
1097
+ "image/vnd.fujixerox.edmics-rlc": ["rlc"],
1098
+ "image/vnd.microsoft.icon": ["ico"],
1099
+ "image/vnd.ms-dds": ["dds"],
1100
+ "image/vnd.ms-modi": ["mdi"],
1101
+ "image/vnd.ms-photo": ["wdp"],
1102
+ "image/vnd.net-fpx": ["npx"],
1103
+ "image/vnd.pco.b16": ["b16"],
1104
+ "image/vnd.tencent.tap": ["tap"],
1105
+ "image/vnd.valve.source.texture": ["vtf"],
1106
+ "image/vnd.wap.wbmp": ["wbmp"],
1107
+ "image/vnd.xiff": ["xif"],
1108
+ "image/vnd.zbrush.pcx": ["pcx"],
1109
+ "image/x-3ds": ["3ds"],
1110
+ "image/x-cmu-raster": ["ras"],
1111
+ "image/x-cmx": ["cmx"],
1112
+ "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"],
1113
+ "image/x-icon": ["*ico"],
1114
+ "image/x-jng": ["jng"],
1115
+ "image/x-mrsid-image": ["sid"],
1116
+ "image/x-ms-bmp": ["*bmp"],
1117
+ "image/x-pcx": ["*pcx"],
1118
+ "image/x-pict": ["pic", "pct"],
1119
+ "image/x-portable-anymap": ["pnm"],
1120
+ "image/x-portable-bitmap": ["pbm"],
1121
+ "image/x-portable-graymap": ["pgm"],
1122
+ "image/x-portable-pixmap": ["ppm"],
1123
+ "image/x-rgb": ["rgb"],
1124
+ "image/x-tga": ["tga"],
1125
+ "image/x-xbitmap": ["xbm"],
1126
+ "image/x-xpixmap": ["xpm"],
1127
+ "image/x-xwindowdump": ["xwd"],
1128
+ "message/vnd.wfa.wsc": ["wsc"],
1129
+ "model/vnd.bary": ["bary"],
1130
+ "model/vnd.cld": ["cld"],
1131
+ "model/vnd.collada+xml": ["dae"],
1132
+ "model/vnd.dwf": ["dwf"],
1133
+ "model/vnd.gdl": ["gdl"],
1134
+ "model/vnd.gtw": ["gtw"],
1135
+ "model/vnd.mts": ["*mts"],
1136
+ "model/vnd.opengex": ["ogex"],
1137
+ "model/vnd.parasolid.transmit.binary": ["x_b"],
1138
+ "model/vnd.parasolid.transmit.text": ["x_t"],
1139
+ "model/vnd.pytha.pyox": ["pyo", "pyox"],
1140
+ "model/vnd.sap.vds": ["vds"],
1141
+ "model/vnd.usda": ["usda"],
1142
+ "model/vnd.usdz+zip": ["usdz"],
1143
+ "model/vnd.valve.source.compiled-map": ["bsp"],
1144
+ "model/vnd.vtu": ["vtu"],
1145
+ "text/prs.lines.tag": ["dsc"],
1146
+ "text/vnd.curl": ["curl"],
1147
+ "text/vnd.curl.dcurl": ["dcurl"],
1148
+ "text/vnd.curl.mcurl": ["mcurl"],
1149
+ "text/vnd.curl.scurl": ["scurl"],
1150
+ "text/vnd.dvb.subtitle": ["sub"],
1151
+ "text/vnd.familysearch.gedcom": ["ged"],
1152
+ "text/vnd.fly": ["fly"],
1153
+ "text/vnd.fmi.flexstor": ["flx"],
1154
+ "text/vnd.graphviz": ["gv"],
1155
+ "text/vnd.in3d.3dml": ["3dml"],
1156
+ "text/vnd.in3d.spot": ["spot"],
1157
+ "text/vnd.sun.j2me.app-descriptor": ["jad"],
1158
+ "text/vnd.wap.wml": ["wml"],
1159
+ "text/vnd.wap.wmlscript": ["wmls"],
1160
+ "text/x-asm": ["s", "asm"],
1161
+ "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"],
1162
+ "text/x-component": ["htc"],
1163
+ "text/x-fortran": ["f", "for", "f77", "f90"],
1164
+ "text/x-handlebars-template": ["hbs"],
1165
+ "text/x-java-source": ["java"],
1166
+ "text/x-lua": ["lua"],
1167
+ "text/x-markdown": ["mkd"],
1168
+ "text/x-nfo": ["nfo"],
1169
+ "text/x-opml": ["opml"],
1170
+ "text/x-org": ["*org"],
1171
+ "text/x-pascal": ["p", "pas"],
1172
+ "text/x-processing": ["pde"],
1173
+ "text/x-sass": ["sass"],
1174
+ "text/x-scss": ["scss"],
1175
+ "text/x-setext": ["etx"],
1176
+ "text/x-sfv": ["sfv"],
1177
+ "text/x-suse-ymp": ["ymp"],
1178
+ "text/x-uuencode": ["uu"],
1179
+ "text/x-vcalendar": ["vcs"],
1180
+ "text/x-vcard": ["vcf"],
1181
+ "video/vnd.dece.hd": ["uvh", "uvvh"],
1182
+ "video/vnd.dece.mobile": ["uvm", "uvvm"],
1183
+ "video/vnd.dece.pd": ["uvp", "uvvp"],
1184
+ "video/vnd.dece.sd": ["uvs", "uvvs"],
1185
+ "video/vnd.dece.video": ["uvv", "uvvv"],
1186
+ "video/vnd.dvb.file": ["dvb"],
1187
+ "video/vnd.fvt": ["fvt"],
1188
+ "video/vnd.mpegurl": ["mxu", "m4u"],
1189
+ "video/vnd.ms-playready.media.pyv": ["pyv"],
1190
+ "video/vnd.uvvu.mp4": ["uvu", "uvvu"],
1191
+ "video/vnd.vivo": ["viv"],
1192
+ "video/x-f4v": ["f4v"],
1193
+ "video/x-fli": ["fli"],
1194
+ "video/x-flv": ["flv"],
1195
+ "video/x-m4v": ["m4v"],
1196
+ "video/x-matroska": ["mkv", "mk3d", "mks"],
1197
+ "video/x-mng": ["mng"],
1198
+ "video/x-ms-asf": ["asf", "asx"],
1199
+ "video/x-ms-vob": ["vob"],
1200
+ "video/x-ms-wm": ["wm"],
1201
+ "video/x-ms-wmv": ["wmv"],
1202
+ "video/x-ms-wmx": ["wmx"],
1203
+ "video/x-ms-wvx": ["wvx"],
1204
+ "video/x-msvideo": ["avi"],
1205
+ "video/x-sgi-movie": ["movie"],
1206
+ "video/x-smv": ["smv"],
1207
+ "x-conference/x-cooltalk": ["ice"]
1208
+ };
1209
+ Object.freeze(Ra);
1210
+ const Ea = {
1211
+ "application/andrew-inset": ["ez"],
1212
+ "application/appinstaller": ["appinstaller"],
1213
+ "application/applixware": ["aw"],
1214
+ "application/appx": ["appx"],
1215
+ "application/appxbundle": ["appxbundle"],
1216
+ "application/atom+xml": ["atom"],
1217
+ "application/atomcat+xml": ["atomcat"],
1218
+ "application/atomdeleted+xml": ["atomdeleted"],
1219
+ "application/atomsvc+xml": ["atomsvc"],
1220
+ "application/atsc-dwd+xml": ["dwd"],
1221
+ "application/atsc-held+xml": ["held"],
1222
+ "application/atsc-rsat+xml": ["rsat"],
1223
+ "application/automationml-aml+xml": ["aml"],
1224
+ "application/automationml-amlx+zip": ["amlx"],
1225
+ "application/bdoc": ["bdoc"],
1226
+ "application/calendar+xml": ["xcs"],
1227
+ "application/ccxml+xml": ["ccxml"],
1228
+ "application/cdfx+xml": ["cdfx"],
1229
+ "application/cdmi-capability": ["cdmia"],
1230
+ "application/cdmi-container": ["cdmic"],
1231
+ "application/cdmi-domain": ["cdmid"],
1232
+ "application/cdmi-object": ["cdmio"],
1233
+ "application/cdmi-queue": ["cdmiq"],
1234
+ "application/cpl+xml": ["cpl"],
1235
+ "application/cu-seeme": ["cu"],
1236
+ "application/cwl": ["cwl"],
1237
+ "application/dash+xml": ["mpd"],
1238
+ "application/dash-patch+xml": ["mpp"],
1239
+ "application/davmount+xml": ["davmount"],
1240
+ "application/docbook+xml": ["dbk"],
1241
+ "application/dssc+der": ["dssc"],
1242
+ "application/dssc+xml": ["xdssc"],
1243
+ "application/ecmascript": ["ecma"],
1244
+ "application/emma+xml": ["emma"],
1245
+ "application/emotionml+xml": ["emotionml"],
1246
+ "application/epub+zip": ["epub"],
1247
+ "application/exi": ["exi"],
1248
+ "application/express": ["exp"],
1249
+ "application/fdf": ["fdf"],
1250
+ "application/fdt+xml": ["fdt"],
1251
+ "application/font-tdpfr": ["pfr"],
1252
+ "application/geo+json": ["geojson"],
1253
+ "application/gml+xml": ["gml"],
1254
+ "application/gpx+xml": ["gpx"],
1255
+ "application/gxf": ["gxf"],
1256
+ "application/gzip": ["gz"],
1257
+ "application/hjson": ["hjson"],
1258
+ "application/hyperstudio": ["stk"],
1259
+ "application/inkml+xml": ["ink", "inkml"],
1260
+ "application/ipfix": ["ipfix"],
1261
+ "application/its+xml": ["its"],
1262
+ "application/java-archive": ["jar", "war", "ear"],
1263
+ "application/java-serialized-object": ["ser"],
1264
+ "application/java-vm": ["class"],
1265
+ "application/javascript": ["*js"],
1266
+ "application/json": ["json", "map"],
1267
+ "application/json5": ["json5"],
1268
+ "application/jsonml+json": ["jsonml"],
1269
+ "application/ld+json": ["jsonld"],
1270
+ "application/lgr+xml": ["lgr"],
1271
+ "application/lost+xml": ["lostxml"],
1272
+ "application/mac-binhex40": ["hqx"],
1273
+ "application/mac-compactpro": ["cpt"],
1274
+ "application/mads+xml": ["mads"],
1275
+ "application/manifest+json": ["webmanifest"],
1276
+ "application/marc": ["mrc"],
1277
+ "application/marcxml+xml": ["mrcx"],
1278
+ "application/mathematica": ["ma", "nb", "mb"],
1279
+ "application/mathml+xml": ["mathml"],
1280
+ "application/mbox": ["mbox"],
1281
+ "application/media-policy-dataset+xml": ["mpf"],
1282
+ "application/mediaservercontrol+xml": ["mscml"],
1283
+ "application/metalink+xml": ["metalink"],
1284
+ "application/metalink4+xml": ["meta4"],
1285
+ "application/mets+xml": ["mets"],
1286
+ "application/mmt-aei+xml": ["maei"],
1287
+ "application/mmt-usd+xml": ["musd"],
1288
+ "application/mods+xml": ["mods"],
1289
+ "application/mp21": ["m21", "mp21"],
1290
+ "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"],
1291
+ "application/msix": ["msix"],
1292
+ "application/msixbundle": ["msixbundle"],
1293
+ "application/msword": ["doc", "dot"],
1294
+ "application/mxf": ["mxf"],
1295
+ "application/n-quads": ["nq"],
1296
+ "application/n-triples": ["nt"],
1297
+ "application/node": ["cjs"],
1298
+ "application/octet-stream": [
1299
+ "bin",
1300
+ "dms",
1301
+ "lrf",
1302
+ "mar",
1303
+ "so",
1304
+ "dist",
1305
+ "distz",
1306
+ "pkg",
1307
+ "bpk",
1308
+ "dump",
1309
+ "elc",
1310
+ "deploy",
1311
+ "exe",
1312
+ "dll",
1313
+ "deb",
1314
+ "dmg",
1315
+ "iso",
1316
+ "img",
1317
+ "msi",
1318
+ "msp",
1319
+ "msm",
1320
+ "buffer"
1321
+ ],
1322
+ "application/oda": ["oda"],
1323
+ "application/oebps-package+xml": ["opf"],
1324
+ "application/ogg": ["ogx"],
1325
+ "application/omdoc+xml": ["omdoc"],
1326
+ "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"],
1327
+ "application/oxps": ["oxps"],
1328
+ "application/p2p-overlay+xml": ["relo"],
1329
+ "application/patch-ops-error+xml": ["xer"],
1330
+ "application/pdf": ["pdf"],
1331
+ "application/pgp-encrypted": ["pgp"],
1332
+ "application/pgp-keys": ["asc"],
1333
+ "application/pgp-signature": ["sig", "*asc"],
1334
+ "application/pics-rules": ["prf"],
1335
+ "application/pkcs10": ["p10"],
1336
+ "application/pkcs7-mime": ["p7m", "p7c"],
1337
+ "application/pkcs7-signature": ["p7s"],
1338
+ "application/pkcs8": ["p8"],
1339
+ "application/pkix-attr-cert": ["ac"],
1340
+ "application/pkix-cert": ["cer"],
1341
+ "application/pkix-crl": ["crl"],
1342
+ "application/pkix-pkipath": ["pkipath"],
1343
+ "application/pkixcmp": ["pki"],
1344
+ "application/pls+xml": ["pls"],
1345
+ "application/postscript": ["ai", "eps", "ps"],
1346
+ "application/provenance+xml": ["provx"],
1347
+ "application/pskc+xml": ["pskcxml"],
1348
+ "application/raml+yaml": ["raml"],
1349
+ "application/rdf+xml": ["rdf", "owl"],
1350
+ "application/reginfo+xml": ["rif"],
1351
+ "application/relax-ng-compact-syntax": ["rnc"],
1352
+ "application/resource-lists+xml": ["rl"],
1353
+ "application/resource-lists-diff+xml": ["rld"],
1354
+ "application/rls-services+xml": ["rs"],
1355
+ "application/route-apd+xml": ["rapd"],
1356
+ "application/route-s-tsid+xml": ["sls"],
1357
+ "application/route-usd+xml": ["rusd"],
1358
+ "application/rpki-ghostbusters": ["gbr"],
1359
+ "application/rpki-manifest": ["mft"],
1360
+ "application/rpki-roa": ["roa"],
1361
+ "application/rsd+xml": ["rsd"],
1362
+ "application/rss+xml": ["rss"],
1363
+ "application/rtf": ["rtf"],
1364
+ "application/sbml+xml": ["sbml"],
1365
+ "application/scvp-cv-request": ["scq"],
1366
+ "application/scvp-cv-response": ["scs"],
1367
+ "application/scvp-vp-request": ["spq"],
1368
+ "application/scvp-vp-response": ["spp"],
1369
+ "application/sdp": ["sdp"],
1370
+ "application/senml+xml": ["senmlx"],
1371
+ "application/sensml+xml": ["sensmlx"],
1372
+ "application/set-payment-initiation": ["setpay"],
1373
+ "application/set-registration-initiation": ["setreg"],
1374
+ "application/shf+xml": ["shf"],
1375
+ "application/sieve": ["siv", "sieve"],
1376
+ "application/smil+xml": ["smi", "smil"],
1377
+ "application/sparql-query": ["rq"],
1378
+ "application/sparql-results+xml": ["srx"],
1379
+ "application/sql": ["sql"],
1380
+ "application/srgs": ["gram"],
1381
+ "application/srgs+xml": ["grxml"],
1382
+ "application/sru+xml": ["sru"],
1383
+ "application/ssdl+xml": ["ssdl"],
1384
+ "application/ssml+xml": ["ssml"],
1385
+ "application/swid+xml": ["swidtag"],
1386
+ "application/tei+xml": ["tei", "teicorpus"],
1387
+ "application/thraud+xml": ["tfi"],
1388
+ "application/timestamped-data": ["tsd"],
1389
+ "application/toml": ["toml"],
1390
+ "application/trig": ["trig"],
1391
+ "application/ttml+xml": ["ttml"],
1392
+ "application/ubjson": ["ubj"],
1393
+ "application/urc-ressheet+xml": ["rsheet"],
1394
+ "application/urc-targetdesc+xml": ["td"],
1395
+ "application/voicexml+xml": ["vxml"],
1396
+ "application/wasm": ["wasm"],
1397
+ "application/watcherinfo+xml": ["wif"],
1398
+ "application/widget": ["wgt"],
1399
+ "application/winhlp": ["hlp"],
1400
+ "application/wsdl+xml": ["wsdl"],
1401
+ "application/wspolicy+xml": ["wspolicy"],
1402
+ "application/xaml+xml": ["xaml"],
1403
+ "application/xcap-att+xml": ["xav"],
1404
+ "application/xcap-caps+xml": ["xca"],
1405
+ "application/xcap-diff+xml": ["xdf"],
1406
+ "application/xcap-el+xml": ["xel"],
1407
+ "application/xcap-ns+xml": ["xns"],
1408
+ "application/xenc+xml": ["xenc"],
1409
+ "application/xfdf": ["xfdf"],
1410
+ "application/xhtml+xml": ["xhtml", "xht"],
1411
+ "application/xliff+xml": ["xlf"],
1412
+ "application/xml": ["xml", "xsl", "xsd", "rng"],
1413
+ "application/xml-dtd": ["dtd"],
1414
+ "application/xop+xml": ["xop"],
1415
+ "application/xproc+xml": ["xpl"],
1416
+ "application/xslt+xml": ["*xsl", "xslt"],
1417
+ "application/xspf+xml": ["xspf"],
1418
+ "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"],
1419
+ "application/yang": ["yang"],
1420
+ "application/yin+xml": ["yin"],
1421
+ "application/zip": ["zip"],
1422
+ "audio/3gpp": ["*3gpp"],
1423
+ "audio/aac": ["adts", "aac"],
1424
+ "audio/adpcm": ["adp"],
1425
+ "audio/amr": ["amr"],
1426
+ "audio/basic": ["au", "snd"],
1427
+ "audio/midi": ["mid", "midi", "kar", "rmi"],
1428
+ "audio/mobile-xmf": ["mxmf"],
1429
+ "audio/mp3": ["*mp3"],
1430
+ "audio/mp4": ["m4a", "mp4a"],
1431
+ "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
1432
+ "audio/ogg": ["oga", "ogg", "spx", "opus"],
1433
+ "audio/s3m": ["s3m"],
1434
+ "audio/silk": ["sil"],
1435
+ "audio/wav": ["wav"],
1436
+ "audio/wave": ["*wav"],
1437
+ "audio/webm": ["weba"],
1438
+ "audio/xm": ["xm"],
1439
+ "font/collection": ["ttc"],
1440
+ "font/otf": ["otf"],
1441
+ "font/ttf": ["ttf"],
1442
+ "font/woff": ["woff"],
1443
+ "font/woff2": ["woff2"],
1444
+ "image/aces": ["exr"],
1445
+ "image/apng": ["apng"],
1446
+ "image/avci": ["avci"],
1447
+ "image/avcs": ["avcs"],
1448
+ "image/avif": ["avif"],
1449
+ "image/bmp": ["bmp", "dib"],
1450
+ "image/cgm": ["cgm"],
1451
+ "image/dicom-rle": ["drle"],
1452
+ "image/dpx": ["dpx"],
1453
+ "image/emf": ["emf"],
1454
+ "image/fits": ["fits"],
1455
+ "image/g3fax": ["g3"],
1456
+ "image/gif": ["gif"],
1457
+ "image/heic": ["heic"],
1458
+ "image/heic-sequence": ["heics"],
1459
+ "image/heif": ["heif"],
1460
+ "image/heif-sequence": ["heifs"],
1461
+ "image/hej2k": ["hej2"],
1462
+ "image/hsj2": ["hsj2"],
1463
+ "image/ief": ["ief"],
1464
+ "image/jls": ["jls"],
1465
+ "image/jp2": ["jp2", "jpg2"],
1466
+ "image/jpeg": ["jpeg", "jpg", "jpe"],
1467
+ "image/jph": ["jph"],
1468
+ "image/jphc": ["jhc"],
1469
+ "image/jpm": ["jpm", "jpgm"],
1470
+ "image/jpx": ["jpx", "jpf"],
1471
+ "image/jxl": ["jxl"],
1472
+ "image/jxr": ["jxr"],
1473
+ "image/jxra": ["jxra"],
1474
+ "image/jxrs": ["jxrs"],
1475
+ "image/jxs": ["jxs"],
1476
+ "image/jxsc": ["jxsc"],
1477
+ "image/jxsi": ["jxsi"],
1478
+ "image/jxss": ["jxss"],
1479
+ "image/ktx": ["ktx"],
1480
+ "image/ktx2": ["ktx2"],
1481
+ "image/png": ["png"],
1482
+ "image/sgi": ["sgi"],
1483
+ "image/svg+xml": ["svg", "svgz"],
1484
+ "image/t38": ["t38"],
1485
+ "image/tiff": ["tif", "tiff"],
1486
+ "image/tiff-fx": ["tfx"],
1487
+ "image/webp": ["webp"],
1488
+ "image/wmf": ["wmf"],
1489
+ "message/disposition-notification": ["disposition-notification"],
1490
+ "message/global": ["u8msg"],
1491
+ "message/global-delivery-status": ["u8dsn"],
1492
+ "message/global-disposition-notification": ["u8mdn"],
1493
+ "message/global-headers": ["u8hdr"],
1494
+ "message/rfc822": ["eml", "mime"],
1495
+ "model/3mf": ["3mf"],
1496
+ "model/gltf+json": ["gltf"],
1497
+ "model/gltf-binary": ["glb"],
1498
+ "model/iges": ["igs", "iges"],
1499
+ "model/jt": ["jt"],
1500
+ "model/mesh": ["msh", "mesh", "silo"],
1501
+ "model/mtl": ["mtl"],
1502
+ "model/obj": ["obj"],
1503
+ "model/prc": ["prc"],
1504
+ "model/step+xml": ["stpx"],
1505
+ "model/step+zip": ["stpz"],
1506
+ "model/step-xml+zip": ["stpxz"],
1507
+ "model/stl": ["stl"],
1508
+ "model/u3d": ["u3d"],
1509
+ "model/vrml": ["wrl", "vrml"],
1510
+ "model/x3d+binary": ["*x3db", "x3dbz"],
1511
+ "model/x3d+fastinfoset": ["x3db"],
1512
+ "model/x3d+vrml": ["*x3dv", "x3dvz"],
1513
+ "model/x3d+xml": ["x3d", "x3dz"],
1514
+ "model/x3d-vrml": ["x3dv"],
1515
+ "text/cache-manifest": ["appcache", "manifest"],
1516
+ "text/calendar": ["ics", "ifb"],
1517
+ "text/coffeescript": ["coffee", "litcoffee"],
1518
+ "text/css": ["css"],
1519
+ "text/csv": ["csv"],
1520
+ "text/html": ["html", "htm", "shtml"],
1521
+ "text/jade": ["jade"],
1522
+ "text/javascript": ["js", "mjs"],
1523
+ "text/jsx": ["jsx"],
1524
+ "text/less": ["less"],
1525
+ "text/markdown": ["md", "markdown"],
1526
+ "text/mathml": ["mml"],
1527
+ "text/mdx": ["mdx"],
1528
+ "text/n3": ["n3"],
1529
+ "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"],
1530
+ "text/richtext": ["rtx"],
1531
+ "text/rtf": ["*rtf"],
1532
+ "text/sgml": ["sgml", "sgm"],
1533
+ "text/shex": ["shex"],
1534
+ "text/slim": ["slim", "slm"],
1535
+ "text/spdx": ["spdx"],
1536
+ "text/stylus": ["stylus", "styl"],
1537
+ "text/tab-separated-values": ["tsv"],
1538
+ "text/troff": ["t", "tr", "roff", "man", "me", "ms"],
1539
+ "text/turtle": ["ttl"],
1540
+ "text/uri-list": ["uri", "uris", "urls"],
1541
+ "text/vcard": ["vcard"],
1542
+ "text/vtt": ["vtt"],
1543
+ "text/wgsl": ["wgsl"],
1544
+ "text/xml": ["*xml"],
1545
+ "text/yaml": ["yaml", "yml"],
1546
+ "video/3gpp": ["3gp", "3gpp"],
1547
+ "video/3gpp2": ["3g2"],
1548
+ "video/h261": ["h261"],
1549
+ "video/h263": ["h263"],
1550
+ "video/h264": ["h264"],
1551
+ "video/iso.segment": ["m4s"],
1552
+ "video/jpeg": ["jpgv"],
1553
+ "video/jpm": ["*jpm", "*jpgm"],
1554
+ "video/mj2": ["mj2", "mjp2"],
1555
+ "video/mp2t": ["ts", "m2t", "m2ts", "mts"],
1556
+ "video/mp4": ["mp4", "mp4v", "mpg4"],
1557
+ "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"],
1558
+ "video/ogg": ["ogv"],
1559
+ "video/quicktime": ["qt", "mov"],
1560
+ "video/webm": ["webm"]
1561
+ };
1562
+ Object.freeze(Ea);
1563
+ var _ = function(e, a, t, i) {
1564
+ if (t === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
1565
+ if (typeof a == "function" ? e !== a || !i : !a.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1566
+ return t === "m" ? i : t === "a" ? i.call(e) : i ? i.value : a.get(e);
1567
+ }, F, M, z;
1568
+ class wt {
1569
+ constructor(...a) {
1570
+ F.set(this, /* @__PURE__ */ new Map()), M.set(this, /* @__PURE__ */ new Map()), z.set(this, /* @__PURE__ */ new Map());
1571
+ for (const t of a)
1572
+ this.define(t);
1573
+ }
1574
+ define(a, t = !1) {
1575
+ for (let [i, p] of Object.entries(a)) {
1576
+ i = i.toLowerCase(), p = p.map((s) => s.toLowerCase()), _(this, z, "f").has(i) || _(this, z, "f").set(i, /* @__PURE__ */ new Set());
1577
+ const o = _(this, z, "f").get(i);
1578
+ let f = !0;
1579
+ for (let s of p) {
1580
+ const c = s.startsWith("*");
1581
+ if (s = c ? s.slice(1) : s, o == null || o.add(s), f && _(this, M, "f").set(i, s), f = !1, c)
1582
+ continue;
1583
+ const u = _(this, F, "f").get(s);
1584
+ if (u && u != i && !t)
1585
+ throw new Error(`"${i} -> ${s}" conflicts with "${u} -> ${s}". Pass \`force=true\` to override this definition.`);
1586
+ _(this, F, "f").set(s, i);
1587
+ }
1588
+ }
1589
+ return this;
1590
+ }
1591
+ getType(a) {
1592
+ if (typeof a != "string")
1593
+ return null;
1594
+ const t = a.replace(/^.*[/\\]/, "").toLowerCase(), i = t.replace(/^.*\./, "").toLowerCase(), p = t.length < a.length;
1595
+ return !(i.length < t.length - 1) && p ? null : _(this, F, "f").get(i) ?? null;
1596
+ }
1597
+ getExtension(a) {
1598
+ var t;
1599
+ return typeof a != "string" ? null : (a = (t = a == null ? void 0 : a.split) == null ? void 0 : t.call(a, ";")[0], (a && _(this, M, "f").get(a.trim().toLowerCase())) ?? null);
1600
+ }
1601
+ getAllExtensions(a) {
1602
+ return typeof a != "string" ? null : _(this, z, "f").get(a.toLowerCase()) ?? null;
1603
+ }
1604
+ _freeze() {
1605
+ this.define = () => {
1606
+ throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1607
+ }, Object.freeze(this);
1608
+ for (const a of _(this, z, "f").values())
1609
+ Object.freeze(a);
1610
+ return this;
1611
+ }
1612
+ _getTestState() {
1613
+ return {
1614
+ types: _(this, F, "f"),
1615
+ extensions: _(this, M, "f")
1616
+ };
1617
+ }
1618
+ }
1619
+ F = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap();
1620
+ const ja = new wt(Ea, Ra)._freeze();
1621
+ function yt(e) {
1622
+ return e.includes("/") ? `.${ja.getExtension(e).toUpperCase()}` : e.toUpperCase();
1623
+ }
1624
+ function Ct(e) {
1625
+ const { locale: a, t } = G();
1626
+ return { supportedFileTypeList: r(() => {
1627
+ const p = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
1628
+ return e != null && e.value ? p.format(
1629
+ e.value.split(",").map((o) => {
1630
+ switch (o.trim()) {
1631
+ case "audio/*":
1632
+ return t("audioFiles");
1633
+ case "image/*":
1634
+ return t("imageFiles");
1635
+ case "video/*":
1636
+ return t("videoFiles");
1637
+ default:
1638
+ return yt(o);
1639
+ }
1640
+ })
1641
+ ) : null;
1642
+ }) };
1643
+ }
1644
+ const kt = {
1645
+ "en-US": {
1646
+ audioFiles: "audio files",
1647
+ browseFiles: "Browse files",
1648
+ dropArea: "Drop area",
1649
+ dropFiles: "Drop file to upload | Drop files to upload",
1650
+ fileExceedsSizeLimit: "File exceeds size limit",
1651
+ imageFiles: "image files",
1652
+ tooManyFiles: "Too many files",
1653
+ videoFiles: "video files",
1654
+ youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1655
+ }
1656
+ };
1657
+ function Rt(e) {
1658
+ return ja.getType(e) ?? e;
1659
+ }
1660
+ function Et({ maxCount: e, accept: a }) {
1661
+ const t = ea({
1662
+ invalidTypes: !1,
1663
+ partiallyInvalidTypes: !1,
1664
+ maxCountOverflow: !1
1665
+ }), i = ea({
1666
+ dragging: !1,
1667
+ error: !1
1668
+ }), p = r(() => a.value ? a.value.split(",").map((c) => Rt(c.trim().toLocaleLowerCase())) : void 0);
1669
+ function o() {
1670
+ i.dragging = !1, i.error = !1, t.invalidTypes = !1, t.partiallyInvalidTypes = !1, t.maxCountOverflow = !1;
1671
+ }
1672
+ function f(s, c) {
1673
+ if (i.dragging = !0, (!c.dataTransfer.types.includes("Files") || s > e.value) && (t.maxCountOverflow = !0, i.error = !0), !p.value)
1674
+ return;
1675
+ let u = 0;
1676
+ for (const k of c.dataTransfer.items)
1677
+ p.value.includes(k.type) && u++;
1678
+ if (u === 0) {
1679
+ i.error = !0, t.invalidTypes = !0;
1680
+ return;
1681
+ }
1682
+ !t.invalidTypes && u !== c.dataTransfer.items.length && (i.error = !0, t.partiallyInvalidTypes = !0);
1683
+ }
1684
+ return {
1685
+ dragState: i,
1686
+ dragErrors: t,
1687
+ resetDragState: o,
1688
+ onDragEnterValidations: f
1689
+ };
1690
+ }
1691
+ const jt = {
1692
+ model: { prop: "modelValue" },
1693
+ i18n: { messages: kt }
1694
+ }, zt = /* @__PURE__ */ W({
1695
+ ...jt,
1696
+ __name: "file-uploader",
1697
+ props: {
1698
+ accept: { default: null },
1699
+ condensed: { type: Boolean },
1700
+ description: { default: null },
1701
+ disabled: { type: Boolean },
1702
+ errorMessage: { default: null },
1703
+ label: null,
1704
+ maxCount: { default: 1 },
1705
+ maxDimensions: { default: null },
1706
+ maxSize: { default: null },
1707
+ modelValue: { default: null },
1708
+ optional: { type: Boolean },
1709
+ required: { type: Boolean },
1710
+ tooltipText: { default: null }
1711
+ },
1712
+ emits: ["change", "input", "update:modelValue", "error:upload"],
1713
+ setup(e, { emit: a }) {
1714
+ const t = e, { t: i, tc: p } = G();
1715
+ function o(n) {
1716
+ return !!n && typeof n.length == "number" && typeof n.item == "function";
1717
+ }
1718
+ wa(() => {
1719
+ o(t.modelValue) || Ba(
1720
+ "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
1721
+ "Use FileList instead.",
1722
+ "2.0.0"
1723
+ );
1724
+ });
1725
+ const { supportedFileTypeList: f } = Ct(ia(t, "accept")), s = w("browse-button"), c = w("custom-text"), u = w("drop-files-text"), k = w("comma-text"), D = w("file-uploader-restrictions"), m = h(null), T = h([]), C = h(null), V = h(null), I = w("input"), Y = w("input-error"), X = r(() => {
1726
+ const n = t.condensed ? "" : `${u} ${k}`, l = t.description ? `${c} ${k}` : "", v = `${D} ${k}`;
1727
+ return `${n} ${l} ${v} ${s}`;
1728
+ }), { dragState: L, dragErrors: R, resetDragState: E, onDragEnterValidations: B } = Et({
1729
+ accept: ia(t, "accept"),
1730
+ maxCount: ia(t, "maxCount")
1731
+ }), J = r(() => {
1732
+ var n, l, v;
1733
+ return {
1734
+ condensed: t.condensed,
1735
+ disabled: t.disabled,
1736
+ maxCount: S.value ? {
1737
+ value: t.maxCount,
1738
+ error: R.maxCountOverflow || U.value
1739
+ } : null,
1740
+ maxDimensions: t.maxDimensions ? {
1741
+ value: t.maxDimensions,
1742
+ error: (n = m.value) == null ? void 0 : n.some((b) => b.errors.includes(x.ERROR_DIMENSIONS))
1743
+ } : null,
1744
+ maxSize: t.maxSize ? {
1745
+ value: t.maxSize,
1746
+ error: (l = m.value) == null ? void 0 : l.some((b) => b.errors.includes(x.ERROR_SIZE))
1747
+ } : null,
1748
+ supportedFileTypes: f.value ? {
1749
+ value: f.value,
1750
+ error: R.invalidTypes || R.partiallyInvalidTypes || ((v = m.value) == null ? void 0 : v.some((b) => b.errors.includes(x.ERROR_TYPE)))
1751
+ } : null
1752
+ };
1753
+ }), j = h(), O = r(() => ({
1754
+ [`b-file-uploader--${N.DISABLED}`]: t.disabled,
1755
+ [`b-file-uploader--${N.DRAG_OVER}`]: L.dragging,
1756
+ [`b-file-uploader--${N.ERROR}`]: q.value,
1757
+ "b-file-uploader--condensed": t.condensed
1758
+ })), S = r(() => t.maxCount > 1), K = r(() => {
1759
+ var n;
1760
+ return t.maxCount && ((n = m.value) == null ? void 0 : n.length) >= t.maxCount;
1761
+ }), H = r(() => {
1762
+ var n;
1763
+ return (n = m.value) == null ? void 0 : n.some((l) => l.state === "loading");
1764
+ }), Q = (n) => (l) => {
1765
+ T.value[n] = l;
1766
+ };
1767
+ function $(n) {
1768
+ if (n) {
1769
+ la(n), sa(n);
1770
+ const l = ca(n);
1771
+ a("change", l), a("update:modelValue", l), a("input", l);
1772
+ } else
1773
+ a("change"), a("update:modelValue"), a("input");
1774
+ }
1775
+ const q = r(() => !!t.errorMessage || L.error), U = r(() => {
1776
+ var n;
1777
+ return ((n = m.value) == null ? void 0 : n.length) > t.maxCount;
1778
+ }), oa = h(!1), pa = r(() => {
1779
+ var n;
1780
+ return (n = m.value) == null ? void 0 : n.some((l) => l.state === "error");
1781
+ });
1782
+ ta(pa, (n) => {
1783
+ H.value || a("error:upload", n);
1784
+ });
1785
+ async function A() {
1786
+ var n;
1787
+ if (await Da(), m.value.length === t.maxCount) {
1788
+ (n = T.value[0]) == null || n.focus();
1789
+ return;
1790
+ }
1791
+ V.value.focus();
1792
+ }
1793
+ async function za(n) {
1794
+ m.value = m.value.filter(({ id: l }) => l !== n.id), await A(), $(m.value);
1795
+ }
1796
+ function Z(n) {
1797
+ const l = ea({
1798
+ id: w("file"),
1799
+ data: n,
1800
+ errors: [],
1801
+ progress: null,
1802
+ state: y.LOADING,
1803
+ type: ri(n)
1804
+ });
1805
+ return mi(l, t.accept, t.maxDimensions), l;
1806
+ }
1807
+ function Ia(n) {
1808
+ var l;
1809
+ ((l = m.value) == null ? void 0 : l.length) === t.maxCount && n.preventDefault();
1810
+ }
1811
+ async function aa(n) {
1812
+ if (t.maxCount === 1 && n.length > t.maxCount) {
1813
+ P(), E();
1814
+ return;
1815
+ }
1816
+ S.value ? m.value = [...m.value || [], ...Array.from(n).map((l) => Z(l))] : (m.value = [Z(n[0])], await A()), $(m.value);
1817
+ }
1818
+ function $a(n) {
1819
+ var v, b;
1820
+ if (t.disabled)
1821
+ return;
1822
+ j.value = n.target;
1823
+ const l = (((v = n.dataTransfer.items) == null ? void 0 : v.length) ?? 0) + (((b = m.value) == null ? void 0 : b.length) ?? 0);
1824
+ B(l, n);
1825
+ }
1826
+ function P() {
1827
+ j.value = null;
1828
+ }
1829
+ function Fa(n) {
1830
+ j.value === n.target && (P(), E());
1831
+ }
1832
+ function Ta(n) {
1833
+ n.preventDefault(), t.disabled && (n.dataTransfer.dropEffect = "none");
1834
+ }
1835
+ async function La(n) {
1836
+ var l;
1837
+ t.disabled || (!R.invalidTypes && ((l = n.dataTransfer.files) != null && l.length) && aa(n.dataTransfer.files), P(), E());
1838
+ }
1839
+ async function Sa() {
1840
+ var n;
1841
+ (n = C.value.files) != null && n.length && aa(C.value.files), C.value.value = "", await A();
1842
+ }
1843
+ ta(
1844
+ () => t.modelValue,
1845
+ (n) => {
1846
+ if (n && o(n)) {
1847
+ const l = n, v = Array.from(l);
1848
+ m.value = v.map((b) => Z(b));
1849
+ }
1850
+ },
1851
+ { immediate: !0 }
1852
+ );
1853
+ function la(n) {
1854
+ const l = t.maxCount && n.length <= t.maxCount;
1855
+ oa.value = !l;
1856
+ }
1857
+ function sa(n) {
1858
+ t.maxSize && n.forEach((l) => {
1859
+ const v = l;
1860
+ v.data.size > t.maxSize && (v.state = y.ERROR, v.errors.push(x.ERROR_SIZE));
1861
+ });
1862
+ }
1863
+ function ca(n) {
1864
+ const l = n.filter(
1865
+ ({ errors: v }) => !v.includes(x.ERROR_LOAD) && !v.includes(x.ERROR_SIZE)
1866
+ );
1867
+ if (l.length) {
1868
+ const v = new DataTransfer();
1869
+ return l.forEach(({ data: b, id: Tt }) => {
1870
+ v.items.add(b);
1871
+ }), v.files;
1872
+ }
1873
+ }
1874
+ return { __sfc: !0, t: i, tc: p, emit: a, props: t, isFileList: o, supportedFileTypeList: f, browseFilesButtonId: s, customTextId: c, dropFilesTextId: u, commaTextId: k, fileUploaderRestrictionsId: D, files: m, fileCardRefs: T, inputRef: C, dropAreaRef: V, inputFieldId: I, errorId: Y, fileUploadAriaLabelledBy: X, dragState: L, dragErrors: R, resetDragState: E, onDragEnterValidations: B, fileUploadRestrictionsProps: J, enterTarget: j, conditionalClasses: O, isMultiple: S, hideArea: K, loadingStateExists: H, registerFileCardRef: Q, emitUpdate: $, hasError: q, maxFileCountError: U, maxFileError: oa, hasRestrictionError: pa, resetFocus: A, removeFile: za, processFile: Z, onInputClick: Ia, onFileInput: aa, onDragEnter: $a, resetEnterTarget: P, onDragLeave: Fa, onDragOver: Ta, onDrop: La, onInputChange: Sa, verifyFileCount: la, verifyFileSize: sa, convertToFileList: ca, UploadIcon: Qa, WarningFilledIcon: ya, BentoAlert: Va, BentoTypography: na, ErrorMessage: Ga, FieldLabel: Wa, FileUploaderFileCard: ut, FileUploaderRestrictions: _t };
1875
+ }
1876
+ });
1877
+ var It = function() {
1878
+ var p;
1879
+ var a = this, t = a._self._c, i = a._self._setupProxy;
1880
+ return t("div", { staticClass: "b-file-uploader", class: i.conditionalClasses }, [t(i.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { for: i.inputFieldId, label: a.label, optional: a.optional, required: a.required, "tooltip-text": a.tooltipText } }), t("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: i.inputFieldId, "aria-hidden": "true", type: "file", tabindex: "-1", "data-testid": "input", accept: a.accept, disabled: a.disabled, multiple: i.isMultiple }, on: { change: i.onInputChange, click: i.onInputClick } }), t("span", { staticClass: "b-file-uploader__invisible-comma", attrs: { id: i.commaTextId, "aria-hidden": "true" } }, [a._v(" , ")]), i.hideArea ? a._e() : t("div", { ref: "dropAreaRef", staticClass: "b-file-uploader__area", attrs: { "aria-labelledby": i.fileUploadAriaLabelledBy, role: "button", tabindex: a.disabled ? -1 : 0 }, on: { click: function(o) {
1881
+ return i.inputRef.click();
1882
+ }, dragenter: function(o) {
1883
+ return o.stopPropagation(), o.preventDefault(), i.onDragEnter.apply(null, arguments);
1884
+ }, dragleave: function(o) {
1885
+ return o.stopPropagation(), o.preventDefault(), i.onDragLeave.apply(null, arguments);
1886
+ }, drop: function(o) {
1887
+ return o.stopPropagation(), o.preventDefault(), i.onDrop.apply(null, arguments);
1888
+ }, dragover: i.onDragOver, "!keydown": [function(o) {
1889
+ return !o.type.indexOf("key") && a._k(o.keyCode, "enter", 13, o.key, "Enter") ? null : (o.preventDefault(), i.inputRef.click());
1890
+ }, function(o) {
1891
+ return !o.type.indexOf("key") && a._k(o.keyCode, "space", 32, o.key, [" ", "Spacebar"]) ? null : (o.preventDefault(), i.inputRef.click());
1892
+ }] } }, [t("div", { staticClass: "b-file-uploader__icon", attrs: { "aria-hidden": "true" } }, [i.hasError ? t(i.WarningFilledIcon) : t(i.UploadIcon)], 1), a.condensed ? a._e() : [t(i.BentoTypography, { staticClass: "b-file-uploader__title", attrs: { id: i.dropFilesTextId, el: "span", strongest: "" } }, [a._v(" " + a._s(i.tc("dropFiles", a.maxCount)) + " ")]), a.description ? t(i.BentoTypography, { staticClass: "b-file-uploader__description", attrs: { id: i.customTextId, el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), t(i.FileUploaderRestrictions, a._b({ attrs: { id: i.fileUploaderRestrictionsId } }, "file-uploader-restrictions", i.fileUploadRestrictionsProps, !1))], t(i.BentoTypography, { staticClass: "b-file-uploader__button", attrs: { id: i.browseFilesButtonId, stronger: "" } }, [a._v(" " + a._s(i.t("browseFiles")) + " ")])], 2), i.hasError && a.errorMessage ? t(i.ErrorMessage, { staticClass: "b-file-uploader__error-message", attrs: { id: i.errorId, "error-message": a.errorMessage } }) : a._e(), a.condensed && a.description ? t(i.BentoTypography, { staticClass: "b-file-uploader__description b-file-uploader__description--condensed", attrs: { id: i.customTextId, "aria-hidden": "true", el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), a.condensed ? t(i.FileUploaderRestrictions, a._b({ attrs: { id: i.fileUploaderRestrictionsId } }, "file-uploader-restrictions", i.fileUploadRestrictionsProps, !1)) : a._e(), i.maxFileCountError ? t(i.BentoAlert, { attrs: { type: "critical" }, scopedSlots: a._u([{ key: "description", fn: function() {
1893
+ return [a._v(" " + a._s(i.t("youHaveExceededTheMaximum", { count: i.props.maxCount })) + " ")];
1894
+ }, proxy: !0 }], null, !1, 239749076) }, [a._v(" " + a._s(i.t("tooManyFiles")) + " ")]) : a._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: (p = i.files) == null ? void 0 : p.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, a._l(i.files, function(o, f) {
1895
+ return t(i.FileUploaderFileCard, { key: o.id, ref: i.registerFileCardRef(f), refInFor: !0, attrs: { file: o, "supported-file-types": i.supportedFileTypeList }, on: { cancel: function(s) {
1896
+ return i.removeFile(o);
1897
+ }, remove: function(s) {
1898
+ return i.removeFile(o);
1899
+ } } });
1900
+ }), 1)], 1);
1901
+ }, $t = [], Ft = /* @__PURE__ */ g(
1902
+ zt,
1903
+ It,
1904
+ $t,
1905
+ !1,
1906
+ null,
1907
+ "84ad7516"
1908
+ );
1909
+ const Jt = Ft.exports;
1910
+ export {
1911
+ Jt as f
1912
+ };
1913
+ //# sourceMappingURL=file-uploader.E18P6eyS.js.map