@adyen/bento-vue3 1.45.0 → 1.46.0

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 (300) hide show
  1. package/dist/@types/index.d.ts +4 -2
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/card.css +1 -1
  9. package/dist/assets/data-grid.css +1 -1
  10. package/dist/assets/dialog-page.css +1 -1
  11. package/dist/assets/dropdown.css +1 -1
  12. package/dist/assets/file-uploader.css +1 -1
  13. package/dist/assets/input-field.css +1 -1
  14. package/dist/assets/inspector.css +1 -1
  15. package/dist/assets/menu.css +1 -1
  16. package/dist/assets/modal-fullscreen.css +1 -1
  17. package/dist/assets/popover.css +1 -1
  18. package/dist/assets/sidepanel.css +1 -1
  19. package/dist/assets/step.css +1 -1
  20. package/dist/avatar.js +1 -1
  21. package/dist/button.js +3 -3
  22. package/dist/card.js +1 -1
  23. package/dist/checkbox.js +3 -3
  24. package/dist/chunks/{accordion-item.DfOb4Pyx.js → accordion-item.BOftQTUm.js} +8 -8
  25. package/dist/chunks/{accordion-item.DfOb4Pyx.js.map → accordion-item.BOftQTUm.js.map} +1 -1
  26. package/dist/chunks/{action-bar.CmDQZkM2.js → action-bar.DHa6nS5J.js} +10 -10
  27. package/dist/chunks/{action-bar.CmDQZkM2.js.map → action-bar.DHa6nS5J.js.map} +1 -1
  28. package/dist/chunks/{alert.D1Ax6AnI.js → alert.BffQNg4e.js} +9 -9
  29. package/dist/chunks/{alert.D1Ax6AnI.js.map → alert.BffQNg4e.js.map} +1 -1
  30. package/dist/chunks/{avatar.B0-9jC6H.js → avatar.DqdDHXay.js} +3 -3
  31. package/dist/chunks/{avatar.B0-9jC6H.js.map → avatar.DqdDHXay.js.map} +1 -1
  32. package/dist/chunks/{base-button.DdNFlbgH.js → base-button.DgHMejMF.js} +9 -9
  33. package/dist/chunks/{base-button.DdNFlbgH.js.map → base-button.DgHMejMF.js.map} +1 -1
  34. package/dist/chunks/{base-modal.DbJYaHyG.js → base-modal.BP7bUB84.js} +13 -13
  35. package/dist/chunks/{base-modal.DbJYaHyG.js.map → base-modal.BP7bUB84.js.map} +1 -1
  36. package/dist/chunks/{button-actions-with-menu.BUyecZNi.js → button-actions-with-menu.DzQQlXXK.js} +8 -8
  37. package/dist/chunks/{button-actions-with-menu.BUyecZNi.js.map → button-actions-with-menu.DzQQlXXK.js.map} +1 -1
  38. package/dist/chunks/{button-actions.CShVMUOC.js → button-actions.C8CJcXxS.js} +8 -8
  39. package/dist/chunks/{button-actions.CShVMUOC.js.map → button-actions.C8CJcXxS.js.map} +1 -1
  40. package/dist/chunks/{button.Cneb6rPP.js → button.DSnv5X7y.js} +10 -10
  41. package/dist/chunks/{button.Cneb6rPP.js.map → button.DSnv5X7y.js.map} +1 -1
  42. package/dist/chunks/{calendar.1qqtC8ba.js → calendar.DlvMzTO4.js} +10 -10
  43. package/dist/chunks/{calendar.1qqtC8ba.js.map → calendar.DlvMzTO4.js.map} +1 -1
  44. package/dist/chunks/{card.rkMUtirc.js → card.9fQrkeSH.js} +11 -11
  45. package/dist/chunks/{card.rkMUtirc.js.map → card.9fQrkeSH.js.map} +1 -1
  46. package/dist/chunks/{checkbox-group.PTNxE0kL.js → checkbox-group.Dq57AigF.js} +13 -13
  47. package/dist/chunks/{checkbox-group.PTNxE0kL.js.map → checkbox-group.Dq57AigF.js.map} +1 -1
  48. package/dist/chunks/{checkbox-input.CAYgiRHG.js → checkbox-input.D8ZUqd4m.js} +3 -3
  49. package/dist/chunks/{checkbox-input.CAYgiRHG.js.map → checkbox-input.D8ZUqd4m.js.map} +1 -1
  50. package/dist/chunks/{checkbox.D9FJcICR.js → checkbox.BphbrpUx.js} +32 -32
  51. package/dist/chunks/{checkbox.D9FJcICR.js.map → checkbox.BphbrpUx.js.map} +1 -1
  52. package/dist/chunks/{checkmark-circle-fill.g_tcBhFJ.js → checkmark-circle-fill.ClIf1E3H.js} +4 -4
  53. package/dist/chunks/{checkmark-circle-fill.g_tcBhFJ.js.map → checkmark-circle-fill.ClIf1E3H.js.map} +1 -1
  54. package/dist/chunks/{checkmark-small.BDqUF-Ni.js → checkmark-small.DEc2T64_.js} +5 -5
  55. package/dist/chunks/{checkmark-small.BDqUF-Ni.js.map → checkmark-small.DEc2T64_.js.map} +1 -1
  56. package/dist/chunks/{chevron-left.CYEK2UTr.js → chevron-left.NvV5m76j.js} +8 -8
  57. package/dist/chunks/{chevron-left.CYEK2UTr.js.map → chevron-left.NvV5m76j.js.map} +1 -1
  58. package/dist/chunks/{chevron-up.Cu9qXgBY.js → chevron-up.DQZG_BP3.js} +8 -8
  59. package/dist/chunks/{chevron-up.Cu9qXgBY.js.map → chevron-up.DQZG_BP3.js.map} +1 -1
  60. package/dist/chunks/code-snippet.BXMQTve4.js +422 -0
  61. package/dist/chunks/code-snippet.BXMQTve4.js.map +1 -0
  62. package/dist/chunks/{codemirror.CXFEqvAi.js → codemirror.OjJ-3ixa.js} +5180 -4862
  63. package/dist/chunks/codemirror.OjJ-3ixa.js.map +1 -0
  64. package/dist/chunks/{controls-group.BHxcGQ2A.js → controls-group.J99mAGhx.js} +11 -11
  65. package/dist/chunks/{controls-group.BHxcGQ2A.js.map → controls-group.J99mAGhx.js.map} +1 -1
  66. package/dist/chunks/{copy.DAMq-zRP.js → copy.CT8wuwho.js} +5 -5
  67. package/dist/chunks/{copy.DAMq-zRP.js.map → copy.CT8wuwho.js.map} +1 -1
  68. package/dist/chunks/{country.Cv_8NTmw.js → country.CcTaTBE0.js} +5 -5
  69. package/dist/chunks/{country.Cv_8NTmw.js.map → country.CcTaTBE0.js.map} +1 -1
  70. package/dist/chunks/{cross-circle-fill-small.CJyARMSZ.js → cross-circle-fill-small.BXO78Wde.js} +5 -5
  71. package/dist/chunks/{cross-circle-fill-small.CJyARMSZ.js.map → cross-circle-fill-small.BXO78Wde.js.map} +1 -1
  72. package/dist/chunks/{cross-circle-fill.BzSjakuO.js → cross-circle-fill.DN5b3_eL.js} +4 -4
  73. package/dist/chunks/{cross-circle-fill.BzSjakuO.js.map → cross-circle-fill.DN5b3_eL.js.map} +1 -1
  74. package/dist/chunks/{cross-small.Z5EKYRm0.js → cross-small.CXWTuKA_.js} +5 -5
  75. package/dist/chunks/{cross-small.Z5EKYRm0.js.map → cross-small.CXWTuKA_.js.map} +1 -1
  76. package/dist/chunks/{cross.BZYw4R3N.js → cross.OvPfvoqX.js} +5 -5
  77. package/dist/chunks/{cross.BZYw4R3N.js.map → cross.OvPfvoqX.js.map} +1 -1
  78. package/dist/chunks/{currency.DGX-aejv.js → currency.Dz2x17_Q.js} +3 -3
  79. package/dist/chunks/{currency.DGX-aejv.js.map → currency.Dz2x17_Q.js.map} +1 -1
  80. package/dist/chunks/{dashboard-section.Buh9mb22.js → dashboard-section.C90L1bhS.js} +6 -6
  81. package/dist/chunks/{dashboard-section.Buh9mb22.js.map → dashboard-section.C90L1bhS.js.map} +1 -1
  82. package/dist/chunks/{dashed-underline.DYVSwQtH.js → dashed-underline.BewlZNvL.js} +8 -8
  83. package/dist/chunks/{dashed-underline.DYVSwQtH.js.map → dashed-underline.BewlZNvL.js.map} +1 -1
  84. package/dist/chunks/{data-grid-template.B6xmEgaM.js → data-grid-template.DeAeq2Ij.js} +7 -7
  85. package/dist/chunks/{data-grid-template.B6xmEgaM.js.map → data-grid-template.DeAeq2Ij.js.map} +1 -1
  86. package/dist/chunks/{data-grid.DVc9qzLU.js → data-grid.DSPcFy6O.js} +31 -31
  87. package/dist/chunks/{data-grid.DVc9qzLU.js.map → data-grid.DSPcFy6O.js.map} +1 -1
  88. package/dist/chunks/{date-picker.Bt4fyPQ4.js → date-picker.wNOf4DoV.js} +24 -24
  89. package/dist/chunks/{date-picker.Bt4fyPQ4.js.map → date-picker.wNOf4DoV.js.map} +1 -1
  90. package/dist/chunks/{date-range-picker.Bna_2pBL.js → date-range-picker.C4l0Xe9R.js} +275 -275
  91. package/dist/chunks/{date-range-picker.Bna_2pBL.js.map → date-range-picker.C4l0Xe9R.js.map} +1 -1
  92. package/dist/chunks/{date.DeaBl297.js → date.DVGj7WKQ.js} +16 -14
  93. package/dist/chunks/{date.DeaBl297.js.map → date.DVGj7WKQ.js.map} +1 -1
  94. package/dist/chunks/{dialog-page.CJBSluwk.js → dialog-page.DNwtSB1o.js} +28 -29
  95. package/dist/chunks/{dialog-page.CJBSluwk.js.map → dialog-page.DNwtSB1o.js.map} +1 -1
  96. package/dist/chunks/{divider.DwBC4bpr.js → divider.ugNXYI-T.js} +3 -3
  97. package/dist/chunks/{divider.DwBC4bpr.js.map → divider.ugNXYI-T.js.map} +1 -1
  98. package/dist/chunks/{dot.cpdFEk6G.js → dot.pQfhaKda.js} +5 -5
  99. package/dist/chunks/{dot.cpdFEk6G.js.map → dot.pQfhaKda.js.map} +1 -1
  100. package/dist/chunks/{dropdown-default-textbox.ipIFhyWZ.js → dropdown-default-textbox.3HzBUxC3.js} +14 -14
  101. package/dist/chunks/{dropdown-default-textbox.ipIFhyWZ.js.map → dropdown-default-textbox.3HzBUxC3.js.map} +1 -1
  102. package/dist/chunks/{dropdown-tag.DLyxItIS.js → dropdown-tag.BRNZ7KIi.js} +8 -8
  103. package/dist/chunks/{dropdown-tag.DLyxItIS.js.map → dropdown-tag.BRNZ7KIi.js.map} +1 -1
  104. package/dist/chunks/{dropdown.CZDXXpKe.js → dropdown.DhvCTlVl.js} +270 -263
  105. package/dist/chunks/dropdown.DhvCTlVl.js.map +1 -0
  106. package/dist/chunks/{empty-state.C2ancCe6.js → empty-state.DYfl7gnt.js} +12 -12
  107. package/dist/chunks/{empty-state.C2ancCe6.js.map → empty-state.DYfl7gnt.js.map} +1 -1
  108. package/dist/chunks/{error-message.BVE3JdTq.js → error-message.C6QpZ9ux.js} +16 -16
  109. package/dist/chunks/{error-message.BVE3JdTq.js.map → error-message.C6QpZ9ux.js.map} +1 -1
  110. package/dist/chunks/{es6.jIyAPBgt.js → es6.D11bE5vq.js} +6 -6
  111. package/dist/chunks/{es6.jIyAPBgt.js.map → es6.D11bE5vq.js.map} +1 -1
  112. package/dist/chunks/{expand.CJ162RaJ.js → expand.CgwNEbbz.js} +4 -4
  113. package/dist/chunks/{expand.CJ162RaJ.js.map → expand.CgwNEbbz.js.map} +1 -1
  114. package/dist/chunks/file-uploader.DiqPKVVt.js +2226 -0
  115. package/dist/chunks/file-uploader.DiqPKVVt.js.map +1 -0
  116. package/dist/chunks/{filter-bar.oihCCt5N.js → filter-bar.ChU2rr8r.js} +52 -52
  117. package/dist/chunks/{filter-bar.oihCCt5N.js.map → filter-bar.ChU2rr8r.js.map} +1 -1
  118. package/dist/chunks/{fixed-scroller.XaGPUsUO.js → fixed-scroller.C4zzWgje.js} +12 -12
  119. package/dist/chunks/{fixed-scroller.XaGPUsUO.js.map → fixed-scroller.C4zzWgje.js.map} +1 -1
  120. package/dist/chunks/{focus-trap.CnKbO3b1.js → focus-trap.DOiVbmpZ.js} +8 -8
  121. package/dist/chunks/{focus-trap.CnKbO3b1.js.map → focus-trap.DOiVbmpZ.js.map} +1 -1
  122. package/dist/chunks/{footer-actions.n0JIXO4Q.js → footer-actions.Cl2aupkj.js} +8 -8
  123. package/dist/chunks/{footer-actions.n0JIXO4Q.js.map → footer-actions.Cl2aupkj.js.map} +1 -1
  124. package/dist/chunks/{form-layout-title.srkVLEUW.js → form-layout-title.Du4aY15F.js} +4 -4
  125. package/dist/chunks/{form-layout-title.srkVLEUW.js.map → form-layout-title.Du4aY15F.js.map} +1 -1
  126. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.D-HFI38h.js} +2 -2
  127. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.D-HFI38h.js.map} +1 -1
  128. package/dist/chunks/{grid-layout.BTLE3rac.js → grid-layout.CqLbbEzI.js} +21 -21
  129. package/dist/chunks/{grid-layout.BTLE3rac.js.map → grid-layout.CqLbbEzI.js.map} +1 -1
  130. package/dist/chunks/{header.CAHXObTT.js → header.CUyEq2ER.js} +65 -65
  131. package/dist/chunks/{header.CAHXObTT.js.map → header.CUyEq2ER.js.map} +1 -1
  132. package/dist/chunks/{i18n.WMYWtwxB.js → i18n.CPGoe9tN.js} +540 -540
  133. package/dist/chunks/{i18n.WMYWtwxB.js.map → i18n.CPGoe9tN.js.map} +1 -1
  134. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js} +3 -3
  135. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map} +1 -1
  136. package/dist/chunks/{index.BMkVmbZj.js → index.BHiMheJx.js} +5 -5
  137. package/dist/chunks/{index.BMkVmbZj.js.map → index.BHiMheJx.js.map} +1 -1
  138. package/dist/chunks/{info-icon-with-popover.DFv8U4sh.js → info-icon-with-popover._ZiXaIcp.js} +11 -11
  139. package/dist/chunks/{info-icon-with-popover.DFv8U4sh.js.map → info-icon-with-popover._ZiXaIcp.js.map} +1 -1
  140. package/dist/chunks/{info-icon.BCSBCH-5.js → info-icon.B6QPdxPi.js} +5 -5
  141. package/dist/chunks/{info-icon.BCSBCH-5.js.map → info-icon.B6QPdxPi.js.map} +1 -1
  142. package/dist/chunks/{info.DYNe2WnZ.js → info.CIFBUqf-.js} +4 -4
  143. package/dist/chunks/{info.DYNe2WnZ.js.map → info.CIFBUqf-.js.map} +1 -1
  144. package/dist/chunks/{input-field-password.DedPkZxg.js → input-field-password.LVaJy8_K.js} +30 -30
  145. package/dist/chunks/{input-field-password.DedPkZxg.js.map → input-field-password.LVaJy8_K.js.map} +1 -1
  146. package/dist/chunks/{input-field.3PUv6XC3.js → input-field.BVewQng_.js} +124 -115
  147. package/dist/chunks/input-field.BVewQng_.js.map +1 -0
  148. package/dist/chunks/{inspector.types.Dr0D250X.js → inspector.types.DKL2_Mku.js} +14 -14
  149. package/dist/chunks/{inspector.types.Dr0D250X.js.map → inspector.types.DKL2_Mku.js.map} +1 -1
  150. package/dist/chunks/{layout-row.9G7yVMVt.js → layout-row.CwYDJeG_.js} +4 -4
  151. package/dist/chunks/{layout-row.9G7yVMVt.js.map → layout-row.CwYDJeG_.js.map} +1 -1
  152. package/dist/chunks/{link.ClFi8uSm.js → link.DHXLGTkn.js} +11 -11
  153. package/dist/chunks/{link.ClFi8uSm.js.map → link.DHXLGTkn.js.map} +1 -1
  154. package/dist/chunks/{listbox-option-tag.zYn_kSFz.js → listbox-option-tag.DsI3DdjJ.js} +9 -9
  155. package/dist/chunks/{listbox-option-tag.zYn_kSFz.js.map → listbox-option-tag.DsI3DdjJ.js.map} +1 -1
  156. package/dist/chunks/{loading-indicator.DEepb9Wl.js → loading-indicator.N_WV9Gwz.js} +3 -3
  157. package/dist/chunks/{loading-indicator.DEepb9Wl.js.map → loading-indicator.N_WV9Gwz.js.map} +1 -1
  158. package/dist/chunks/{menu.Dmzh3Uat.js → menu.C5Y5nSvX.js} +13 -13
  159. package/dist/chunks/{menu.Dmzh3Uat.js.map → menu.C5Y5nSvX.js.map} +1 -1
  160. package/dist/chunks/{modal-fullscreen.BazQAAU1.js → modal-fullscreen.Bw0CzdjS.js} +12 -12
  161. package/dist/chunks/{modal-fullscreen.BazQAAU1.js.map → modal-fullscreen.Bw0CzdjS.js.map} +1 -1
  162. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js → modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js} +13 -13
  163. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js.map → modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js.map} +1 -1
  164. package/dist/chunks/{pagination.BCC3GZV5.js → pagination.OzqU46-J.js} +11 -11
  165. package/dist/chunks/{pagination.BCC3GZV5.js.map → pagination.OzqU46-J.js.map} +1 -1
  166. package/dist/chunks/{payment-method.2IeC7f4x.js → payment-method.Lwl-3chY.js} +3 -3
  167. package/dist/chunks/{payment-method.2IeC7f4x.js.map → payment-method.Lwl-3chY.js.map} +1 -1
  168. package/dist/chunks/{popover.3KG1IoYE.js → popover.BFZU1OKv.js} +7 -7
  169. package/dist/chunks/{popover.3KG1IoYE.js.map → popover.BFZU1OKv.js.map} +1 -1
  170. package/dist/chunks/{popper-container.DKDjRvdv.js → popper-container.CQblHdJf.js} +4 -4
  171. package/dist/chunks/{popper-container.DKDjRvdv.js.map → popper-container.CQblHdJf.js.map} +1 -1
  172. package/dist/chunks/{promo-banner.BjLfDhBq.js → promo-banner.DB6C9Tgr.js} +12 -12
  173. package/dist/chunks/{promo-banner.BjLfDhBq.js.map → promo-banner.DB6C9Tgr.js.map} +1 -1
  174. package/dist/chunks/{radio-group.CeiSaH6M.js → radio-group.DVPnBI92.js} +8 -8
  175. package/dist/chunks/{radio-group.CeiSaH6M.js.map → radio-group.DVPnBI92.js.map} +1 -1
  176. package/dist/chunks/{radio-input.0TPahhZT.js → radio-input.ButaAWTD.js} +5 -5
  177. package/dist/chunks/{radio-input.0TPahhZT.js.map → radio-input.ButaAWTD.js.map} +1 -1
  178. package/dist/chunks/{refresh.SzRxQ44W.js → refresh.DvQeGwUF.js} +5 -5
  179. package/dist/chunks/{refresh.SzRxQ44W.js.map → refresh.DvQeGwUF.js.map} +1 -1
  180. package/dist/chunks/{search-bar.BZDJJtWB.js → search-bar.CPOGuVqp.js} +8 -8
  181. package/dist/chunks/{search-bar.BZDJJtWB.js.map → search-bar.CPOGuVqp.js.map} +1 -1
  182. package/dist/chunks/{search.KgjmJMHa.js → search.EnLryD8V.js} +4 -4
  183. package/dist/chunks/{search.KgjmJMHa.js.map → search.EnLryD8V.js.map} +1 -1
  184. package/dist/chunks/{secondary-nav.qm-rh-r6.js → secondary-nav.B1zTf8Ls.js} +11 -11
  185. package/dist/chunks/{secondary-nav.qm-rh-r6.js.map → secondary-nav.B1zTf8Ls.js.map} +1 -1
  186. package/dist/chunks/{segmented-control.BIwBQ8i3.js → segmented-control.DV9mJM7g.js} +9 -9
  187. package/dist/chunks/{segmented-control.BIwBQ8i3.js.map → segmented-control.DV9mJM7g.js.map} +1 -1
  188. package/dist/chunks/{selection-card-group.DPGh4nwl.js → selection-card-group.z0SNFpjN.js} +17 -17
  189. package/dist/chunks/{selection-card-group.DPGh4nwl.js.map → selection-card-group.z0SNFpjN.js.map} +1 -1
  190. package/dist/chunks/{show.J9zXGWlK.js → show.ChPQTrAT.js} +6 -6
  191. package/dist/chunks/{show.J9zXGWlK.js.map → show.ChPQTrAT.js.map} +1 -1
  192. package/dist/chunks/{sidepanel.DxSdFwm1.js → sidepanel.B-YKxXQA.js} +12 -12
  193. package/dist/chunks/{sidepanel.DxSdFwm1.js.map → sidepanel.B-YKxXQA.js.map} +1 -1
  194. package/dist/chunks/{status.types.Dil95sGx.js → status.types.Bh_mGknA.js} +6 -6
  195. package/dist/chunks/{status.types.Dil95sGx.js.map → status.types.Bh_mGknA.js.map} +1 -1
  196. package/dist/chunks/{step.DAB8h_4u.js → step.CGHc2hFZ.js} +7 -7
  197. package/dist/chunks/{step.DAB8h_4u.js.map → step.CGHc2hFZ.js.map} +1 -1
  198. package/dist/chunks/{structured-list-item.DpI6jzfM.js → structured-list-item.DNP6fkCb.js} +9 -9
  199. package/dist/chunks/{structured-list-item.DpI6jzfM.js.map → structured-list-item.DNP6fkCb.js.map} +1 -1
  200. package/dist/chunks/{summary-grid-item-custom.DCNWMasy.js → summary-grid-item-custom.Dm2rULoZ.js} +7 -7
  201. package/dist/chunks/{summary-grid-item-custom.DCNWMasy.js.map → summary-grid-item-custom.Dm2rULoZ.js.map} +1 -1
  202. package/dist/chunks/{tabs.B5-PZCxc.js → tabs.BXuDJsCU.js} +5 -5
  203. package/dist/chunks/{tabs.B5-PZCxc.js.map → tabs.BXuDJsCU.js.map} +1 -1
  204. package/dist/chunks/{tag.BuUbvgok.js → tag.bo9YuJ9f.js} +5 -5
  205. package/dist/chunks/{tag.BuUbvgok.js.map → tag.bo9YuJ9f.js.map} +1 -1
  206. package/dist/chunks/{teleport.B1NhF5-O.js → teleport.B255JhsV.js} +4 -4
  207. package/dist/chunks/{teleport.B1NhF5-O.js.map → teleport.B255JhsV.js.map} +1 -1
  208. package/dist/chunks/{textarea.CCr8inwI.js → textarea.FlyFaC5n.js} +8 -8
  209. package/dist/chunks/{textarea.CCr8inwI.js.map → textarea.FlyFaC5n.js.map} +1 -1
  210. package/dist/chunks/{timeline-item.DG9YaOiC.js → timeline-item.DYgnYAx0.js} +38 -38
  211. package/dist/chunks/{timeline-item.DG9YaOiC.js.map → timeline-item.DYgnYAx0.js.map} +1 -1
  212. package/dist/chunks/{toast.CVy2sf_5.js → toast.Cp-osZLV.js} +22 -22
  213. package/dist/chunks/{toast.CVy2sf_5.js.map → toast.Cp-osZLV.js.map} +1 -1
  214. package/dist/chunks/{toggle-button.CCgvi7TQ.js → toggle-button.BABftVnA.js} +4 -4
  215. package/dist/chunks/{toggle-button.CCgvi7TQ.js.map → toggle-button.BABftVnA.js.map} +1 -1
  216. package/dist/chunks/{toggle.Dl82VpiQ.js → toggle.Bme9eaeR.js} +5 -5
  217. package/dist/chunks/{toggle.Dl82VpiQ.js.map → toggle.Bme9eaeR.js.map} +1 -1
  218. package/dist/chunks/{tooltip.2MOlGHD9.js → tooltip.Ch4_ew27.js} +9 -9
  219. package/dist/chunks/{tooltip.2MOlGHD9.js.map → tooltip.Ch4_ew27.js.map} +1 -1
  220. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js → tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js} +33 -33
  221. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js.map → tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js.map} +1 -1
  222. package/dist/chunks/{typography.DN5eC5ch.js → typography.DNzU41ah.js} +3 -4
  223. package/dist/chunks/{typography.DN5eC5ch.js.map → typography.DNzU41ah.js.map} +1 -1
  224. package/dist/chunks/{use-bento-toast-controller.D3LA1FCd.js → use-bento-toast-controller.C2wUDcoc.js} +3 -3
  225. package/dist/chunks/{use-bento-toast-controller.D3LA1FCd.js.map → use-bento-toast-controller.C2wUDcoc.js.map} +1 -1
  226. package/dist/chunks/{use-cached-selected-values.BBD_AA1m.js → use-cached-selected-values.CvdhdRHz.js} +15 -15
  227. package/dist/chunks/{use-cached-selected-values.BBD_AA1m.js.map → use-cached-selected-values.CvdhdRHz.js.map} +1 -1
  228. package/dist/chunks/{use-country-items.DnPo3yxj.js → use-country-items.D4T1eUtC.js} +2 -2
  229. package/dist/chunks/{use-country-items.DnPo3yxj.js.map → use-country-items.D4T1eUtC.js.map} +1 -1
  230. package/dist/chunks/{warning-filled.tTkVob0l.js → warning-filled.OUOUbA6k.js} +5 -5
  231. package/dist/chunks/{warning-filled.tTkVob0l.js.map → warning-filled.OUOUbA6k.js.map} +1 -1
  232. package/dist/code-snippet.js +1 -1
  233. package/dist/country.js +1 -1
  234. package/dist/currency.js +1 -1
  235. package/dist/dashboard-template.js +1 -1
  236. package/dist/dashed-underline.js +1 -1
  237. package/dist/data-grid-template.js +1 -1
  238. package/dist/data-grid.js +1 -1
  239. package/dist/date-picker.js +2 -2
  240. package/dist/date-range-picker.js +2 -2
  241. package/dist/date.js +1 -1
  242. package/dist/divider.js +1 -1
  243. package/dist/dropdown.js +4 -4
  244. package/dist/empty-state.js +1 -1
  245. package/dist/file-uploader.js +1 -1
  246. package/dist/filter-bar.js +1 -1
  247. package/dist/focus-trap.js +1 -1
  248. package/dist/form-layout.js +1 -1
  249. package/dist/header.js +1 -1
  250. package/dist/image.js +1 -1
  251. package/dist/index.js +170 -170
  252. package/dist/index.js.map +1 -1
  253. package/dist/info-icon.js +1 -1
  254. package/dist/input-field-password.js +1 -1
  255. package/dist/input-field.js +1 -1
  256. package/dist/inspector.js +1 -1
  257. package/dist/internal.js +14 -14
  258. package/dist/layout.js +1 -1
  259. package/dist/link.js +1 -1
  260. package/dist/loading-indicator.js +1 -1
  261. package/dist/menu.js +1 -1
  262. package/dist/modal-fullscreen.js +1 -1
  263. package/dist/modal.js +2 -2
  264. package/dist/pagination.js +1 -1
  265. package/dist/payment-method.js +1 -1
  266. package/dist/popover.js +1 -1
  267. package/dist/popper-container.js +1 -1
  268. package/dist/promo-banner.js +1 -1
  269. package/dist/radio-group.js +2 -2
  270. package/dist/search-bar.js +2 -2
  271. package/dist/secondary-nav.js +1 -1
  272. package/dist/segmented-control.js +1 -1
  273. package/dist/selection-card.js +1 -1
  274. package/dist/sidepanel.js +1 -1
  275. package/dist/status.js +1 -1
  276. package/dist/stepper.js +1 -1
  277. package/dist/structured-list.js +1 -1
  278. package/dist/styles/bento-dark.css +1 -0
  279. package/dist/styles/bento-light.css +1 -0
  280. package/dist/styles/bento.css +1 -0
  281. package/dist/styles/legacy.css +6 -5
  282. package/dist/styles/styleguide.css +1 -0
  283. package/dist/summary-grid.js +1 -1
  284. package/dist/tabs.js +1 -1
  285. package/dist/tag.js +1 -1
  286. package/dist/textarea.js +1 -1
  287. package/dist/timeline.js +1 -1
  288. package/dist/toast.js +1 -1
  289. package/dist/toggle.js +1 -1
  290. package/dist/tutorial.js +1 -1
  291. package/dist/typography.js +1 -1
  292. package/dist/web-types.json +1 -1
  293. package/package.json +7 -4
  294. package/dist/chunks/code-snippet.volJxGqR.js +0 -392
  295. package/dist/chunks/code-snippet.volJxGqR.js.map +0 -1
  296. package/dist/chunks/codemirror.CXFEqvAi.js.map +0 -1
  297. package/dist/chunks/dropdown.CZDXXpKe.js.map +0 -1
  298. package/dist/chunks/file-uploader.BXHt0PWz.js +0 -1077
  299. package/dist/chunks/file-uploader.BXHt0PWz.js.map +0 -1
  300. package/dist/chunks/input-field.3PUv6XC3.js.map +0 -1
@@ -0,0 +1,2226 @@
1
+ import { openBlock as s, createElementBlock as v, mergeProps as I, toDisplayString as u, createCommentVNode as f, createElementVNode as r, defineComponent as ia, unref as o, createBlock as h, Transition as Pa, withCtx as g, renderSlot as ca, TransitionGroup as Ua, ref as T, onUnmounted as Wa, onMounted as Ga, computed as b, watch as _a, normalizeClass as S, createVNode as M, resolveDynamicComponent as Ya, withDirectives as za, createTextVNode as $, reactive as la, toRef as pa, withModifiers as N, withKeys as da, Fragment as ra, normalizeProps as ma, guardReactiveProps as Xa, renderList as Ja, vShow as Ka } from "vue";
2
+ import { _ } from "./_plugin-vue_export-helper.CHgC5LLL.js";
3
+ import { W as Ea } from "./warning-filled.OUOUbA6k.js";
4
+ import { B as Qa } from "./alert.BffQNg4e.js";
5
+ import { B as Q } from "./button.DSnv5X7y.js";
6
+ import { B as z } from "./typography.DNzU41ah.js";
7
+ import { u as ea } from "./i18n.CPGoe9tN.js";
8
+ import { g as oa } from "./generate-uid.D-HFI38h.js";
9
+ import { i as Ra } from "./index.CWuzEfiV.js";
10
+ import { C as ai } from "./checkmark-circle-fill.ClIf1E3H.js";
11
+ import { C as ii } from "./cross.OvPfvoqX.js";
12
+ import { R as ei } from "./refresh.DvQeGwUF.js";
13
+ import "./events.FNmSWp_P.js";
14
+ import { B as ti } from "./tooltip.Ch4_ew27.js";
15
+ import { B as ni } from "./link.DHXLGTkn.js";
16
+ import { B as pi } from "./loading-indicator.N_WV9Gwz.js";
17
+ import { F as oi, E as li } from "./error-message.C6QpZ9ux.js";
18
+ import "../assets/file-uploader.css";
19
+ let ua = 0;
20
+ const si = {
21
+ beforeCreate() {
22
+ this.uuid = ua.toString(), ua += 1;
23
+ }
24
+ }, ci = { key: 0 };
25
+ function di(a, i, n, e, l, t) {
26
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
27
+ class: "ui-assets-icons-16",
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ width: "16",
30
+ height: "16",
31
+ fill: "none"
32
+ }), [
33
+ a.$attrs["svg-title"] ? (s(), v("title", ci, u(a.$attrs["svg-title"]), 1)) : f("", !0),
34
+ i[0] || (i[0] = r("path", {
35
+ fill: "#00112C",
36
+ 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"
37
+ }, null, -1)),
38
+ i[1] || (i[1] = r("path", {
39
+ fill: "#00112C",
40
+ 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"
41
+ }, null, -1))
42
+ ], 16);
43
+ }
44
+ const ri = /* @__PURE__ */ _(si, [["render", di]]), mi = /* @__PURE__ */ ia({
45
+ __name: "file-uploader-file-card-animation",
46
+ props: {
47
+ name: {},
48
+ showFileIcon: { type: Boolean }
49
+ },
50
+ setup(a) {
51
+ return (i, n) => o(Ra) ? (s(), h(Pa, {
52
+ key: 0,
53
+ name: i.name,
54
+ mode: "out-in",
55
+ css: i.showFileIcon
56
+ }, {
57
+ default: g(() => [
58
+ ca(i.$slots, "default")
59
+ ]),
60
+ _: 3
61
+ }, 8, ["name", "css"])) : (s(), h(Ua, {
62
+ key: 1,
63
+ name: i.name,
64
+ css: i.showFileIcon
65
+ }, {
66
+ default: g(() => [
67
+ ca(i.$slots, "default")
68
+ ]),
69
+ _: 3
70
+ }, 8, ["name", "css"]));
71
+ }
72
+ });
73
+ let va = 0;
74
+ const ui = {
75
+ beforeCreate() {
76
+ this.uuid = va.toString(), va += 1;
77
+ }
78
+ }, vi = { key: 0 };
79
+ function fi(a, i, n, e, l, t) {
80
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
81
+ class: "ui-assets-icons-16",
82
+ xmlns: "http://www.w3.org/2000/svg",
83
+ width: "16",
84
+ height: "16",
85
+ fill: "none"
86
+ }), [
87
+ a.$attrs["svg-title"] ? (s(), v("title", vi, u(a.$attrs["svg-title"]), 1)) : f("", !0),
88
+ i[0] || (i[0] = r("path", {
89
+ fill: "#00112C",
90
+ d: "M7.25 6.25H5.75V12.75H7.25V6.25Z"
91
+ }, null, -1)),
92
+ i[1] || (i[1] = r("path", {
93
+ fill: "#00112C",
94
+ d: "M8.75 6.25H10.25V12.75H8.75V6.25Z"
95
+ }, null, -1)),
96
+ i[2] || (i[2] = r("path", {
97
+ fill: "#00112C",
98
+ d: "M14.75 3.24999H12.54L12.05 1.74999C11.9 1.29999 11.61 0.92999 11.22 0.64999C10.83 0.37999 10.34 0.24999 9.92 0.23999H6.09C5.64 0.23999 5.17 0.37999 4.78 0.64999C4.39 0.91999 4.11 1.29999 3.95 1.75999L3.46 3.23999H1.25V4.73999H2.32L3.14 13.7C3.19 14.26 3.45 14.78 3.86 15.16C4.27 15.54 4.81 15.75 5.37 15.75H10.64C11.2 15.75 11.74 15.54 12.15 15.16C12.57 14.78 12.82 14.26 12.87 13.7L13.69 4.73999H14.76V3.23999L14.75 3.24999ZM5.37 2.24999C5.42 2.09999 5.52 1.97999 5.64 1.88999C5.77 1.79999 5.92 1.74999 6.08 1.75999H9.93C10.08 1.75999 10.23 1.80999 10.35 1.88999C10.48 1.97999 10.57 2.09999 10.62 2.23999L10.95 3.25999H5.02L5.35 2.25999L5.37 2.24999ZM11.37 13.58C11.35 13.77 11.27 13.94 11.13 14.06C10.99 14.19 10.81 14.25 10.63 14.25H5.36C5.17 14.25 5 14.18 4.86 14.06C4.72 13.93 4.64 13.76 4.62 13.57L3.81 4.74999H12.17L11.36 13.57L11.37 13.58Z"
99
+ }, null, -1))
100
+ ], 16);
101
+ }
102
+ const xi = /* @__PURE__ */ _(ui, [["render", fi]]);
103
+ function gi(a, i) {
104
+ const n = T(!1);
105
+ let e;
106
+ function l() {
107
+ e && e.disconnect();
108
+ }
109
+ return Wa(() => {
110
+ l();
111
+ }), Ga(() => {
112
+ l(), e = new IntersectionObserver(
113
+ (t) => {
114
+ n.value = !t[0].isIntersecting;
115
+ },
116
+ {
117
+ root: i.value,
118
+ threshold: 1
119
+ }
120
+ ), e.observe(a.value.$el);
121
+ }), n;
122
+ }
123
+ const fa = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
124
+ function La(a, i) {
125
+ let n = 0, e = i;
126
+ for (; e >= 1e3 && n < fa.length - 1; )
127
+ e /= 1e3, n++;
128
+ return new Intl.NumberFormat(a, {
129
+ style: "unit",
130
+ unit: fa[n],
131
+ unitDisplay: "short",
132
+ // Displays as "kB" instead of "kilobytes"
133
+ maximumFractionDigits: 2
134
+ // Limits to 2 decimal places
135
+ }).format(e);
136
+ }
137
+ var L = /* @__PURE__ */ ((a) => (a.LOADING = "loading", a.SUCCESS = "success", a.ERROR = "error", a))(L || {}), j = /* @__PURE__ */ ((a) => (a.ERROR_SIZE = "error-size", a.ERROR_LOAD = "error-load", a.ERROR_DIMENSIONS = "error-dimensions", a.ERROR_TYPE = "error-type", a))(j || {}), aa = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.DRAG_OVER = "drag-over", a.ERROR = "error", a.READONLY = "readonly", a))(aa || {}), x = /* @__PURE__ */ ((a) => (a.TABLE = "table", a.IMAGE = "image", a.VIDEO = "video", a.AUDIO = "audio", a.TEXT = "text", a.PDF = "pdf", a.SLIDES = "slides", a.COMPRESSED = "compressed", a.GENERIC = "generic", a))(x || {});
138
+ const hi = [
139
+ "application/msword",
140
+ // .doc
141
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
142
+ // .docx
143
+ "application/rtf"
144
+ // .rtf
145
+ ], bi = [
146
+ "application/vnd.ms-excel",
147
+ // .xls
148
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
149
+ // .xlsx
150
+ "application/vnd.oasis.opendocument.spreadsheet",
151
+ //.ods
152
+ "application/vnd.apple.numbers",
153
+ // .numbers
154
+ "application/x-iwork-numbers-sffnumbers",
155
+ // .numbers
156
+ "text/csv"
157
+ // .csv
158
+ ], wi = [
159
+ "application/vnd.ms-powerpoint",
160
+ // .ppt
161
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation",
162
+ // .pptx
163
+ "application/vnd.oasis.opendocument.presentation"
164
+ // .odp
165
+ ], Ci = [
166
+ "application/zip",
167
+ // .zip
168
+ "application/vnd.rar",
169
+ // .rar
170
+ "application/x-7z-compressed",
171
+ // .7z
172
+ "application/gzip",
173
+ // .gz, .tar.gz, .tgz
174
+ "application/x-tar",
175
+ // .tar
176
+ "application/x-bzip2",
177
+ // .bz2
178
+ "application/x-xz",
179
+ // .xz
180
+ "application/x-lzma",
181
+ // .lzma
182
+ "application/x-compress",
183
+ // .Z
184
+ "application/vnd.ms-cab-compressed"
185
+ // .cab
186
+ ];
187
+ function yi(a) {
188
+ return bi.includes(a.type) ? x.TABLE : a.type.startsWith("text/") || hi.includes(a.type) ? x.TEXT : a.type.startsWith("image/") ? x.IMAGE : a.type.startsWith("video/") ? x.VIDEO : a.type.startsWith("audio/") ? x.AUDIO : a.type === "application/pdf" ? x.PDF : wi.includes(a.type) ? x.SLIDES : Ci.includes(a.type) ? x.COMPRESSED : x.GENERIC;
189
+ }
190
+ function ki(a, i) {
191
+ if (!i)
192
+ return !0;
193
+ const n = i.split(",").map((e) => e.trim());
194
+ for (const e of n)
195
+ if (e.startsWith(".")) {
196
+ if (a.name.endsWith(e))
197
+ return !0;
198
+ } else if (e.endsWith("/*")) {
199
+ const l = e.split("/")[0];
200
+ if (a.type.startsWith(l))
201
+ return !0;
202
+ } else if (a.type === e)
203
+ return !0;
204
+ return !1;
205
+ }
206
+ function $i(a, i, n) {
207
+ const e = new FileReader(), l = a;
208
+ if (!ki(l.data, i)) {
209
+ l.state = L.ERROR, l.errors.push(j.ERROR_TYPE);
210
+ return;
211
+ }
212
+ e.onload = (t) => {
213
+ if (n && l.type === x.IMAGE) {
214
+ const C = new Blob([t.target.result], { type: l.data.type }), c = URL.createObjectURL(C), d = new Image();
215
+ d.onload = function() {
216
+ (d.width > n.width || d.height > n.height) && (l.state = L.ERROR, l.errors.push(j.ERROR_DIMENSIONS)), URL.revokeObjectURL(c);
217
+ }, d.onerror = function() {
218
+ URL.revokeObjectURL(c);
219
+ }, d.src = c;
220
+ }
221
+ }, e.onprogress = (t) => {
222
+ t.lengthComputable && (l.progress = t.loaded / t.total * 100);
223
+ }, e.onloadend = () => {
224
+ l.state !== L.ERROR && (l.state = L.SUCCESS), l.progress = null;
225
+ }, e.onerror = () => {
226
+ l.state = L.ERROR, l.errors.push(j.ERROR_LOAD), l.progress = null;
227
+ }, e.readAsArrayBuffer(l.data);
228
+ }
229
+ let xa = 0;
230
+ const ji = {
231
+ beforeCreate() {
232
+ this.uuid = xa.toString(), xa += 1;
233
+ }
234
+ }, _i = { key: 0 }, zi = ["clip-path"], Ei = ["id"];
235
+ function Ri(a, i, n, e, l, t) {
236
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
237
+ class: "ui-assets-icons-16",
238
+ xmlns: "http://www.w3.org/2000/svg",
239
+ width: "16",
240
+ height: "16",
241
+ fill: "none"
242
+ }), [
243
+ a.$attrs["svg-title"] ? (s(), v("title", _i, u(a.$attrs["svg-title"]), 1)) : f("", !0),
244
+ r("g", {
245
+ "clip-path": "url(#uia-icons-16-attachment__a" + a.uuid + ")"
246
+ }, i[0] || (i[0] = [
247
+ r("path", {
248
+ fill: "#00112C",
249
+ 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"
250
+ }, null, -1)
251
+ ]), 8, zi),
252
+ r("defs", null, [
253
+ r("clipPath", {
254
+ id: "uia-icons-16-attachment__a" + a.uuid
255
+ }, i[1] || (i[1] = [
256
+ r("rect", {
257
+ width: "16",
258
+ height: "16",
259
+ fill: "#fff"
260
+ }, null, -1)
261
+ ]), 8, Ei)
262
+ ])
263
+ ], 16);
264
+ }
265
+ const Li = /* @__PURE__ */ _(ji, [["render", Ri]]);
266
+ let ga = 0;
267
+ const Ii = {
268
+ beforeCreate() {
269
+ this.uuid = ga.toString(), ga += 1;
270
+ }
271
+ }, Vi = { key: 0 };
272
+ function Mi(a, i, n, e, l, t) {
273
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
274
+ class: "ui-assets-icons-16",
275
+ xmlns: "http://www.w3.org/2000/svg",
276
+ width: "16",
277
+ height: "16",
278
+ fill: "none"
279
+ }), [
280
+ a.$attrs["svg-title"] ? (s(), v("title", Vi, u(a.$attrs["svg-title"]), 1)) : f("", !0),
281
+ i[0] || (i[0] = r("path", {
282
+ fill: "#00112C",
283
+ 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"
284
+ }, null, -1))
285
+ ], 16);
286
+ }
287
+ const Si = /* @__PURE__ */ _(Ii, [["render", Mi]]);
288
+ let ha = 0;
289
+ const Ti = {
290
+ beforeCreate() {
291
+ this.uuid = ha.toString(), ha += 1;
292
+ }
293
+ }, Di = { key: 0 };
294
+ function Hi(a, i, n, e, l, t) {
295
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
296
+ class: "ui-assets-icons-16",
297
+ xmlns: "http://www.w3.org/2000/svg",
298
+ width: "16",
299
+ height: "16",
300
+ fill: "none"
301
+ }), [
302
+ a.$attrs["svg-title"] ? (s(), v("title", Di, u(a.$attrs["svg-title"]), 1)) : f("", !0),
303
+ i[0] || (i[0] = r("path", {
304
+ fill: "#00112C",
305
+ d: "M13.75 13.5C13.75 14.7442 12.7442 15.75 11.5 15.75H4.5C3.25579 15.75 2.25 14.7442 2.25 13.5V2.5C2.25 1.25579 3.25579 0.25 4.5 0.25H9.31055L13.75 4.68728V13.5ZM3.75 2.5V13.5C3.75 13.9158 4.08421 14.25 4.5 14.25H11.5C11.9158 14.25 12.25 13.9158 12.25 13.5V6.75H9.5C8.25736 6.75 7.25 5.74264 7.25 4.5V1.75H4.5C4.08421 1.75 3.75 2.08421 3.75 2.5ZM8.75 1.81052V4.5C8.75 4.91421 9.08579 5.25 9.5 5.25H12.1912L8.75 1.81052Z"
306
+ }, null, -1))
307
+ ], 16);
308
+ }
309
+ const Oi = /* @__PURE__ */ _(Ti, [["render", Hi]]);
310
+ let ba = 0;
311
+ const Fi = {
312
+ beforeCreate() {
313
+ this.uuid = ba.toString(), ba += 1;
314
+ }
315
+ }, qi = { key: 0 };
316
+ function Zi(a, i, n, e, l, t) {
317
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
318
+ class: "ui-assets-icons-16",
319
+ xmlns: "http://www.w3.org/2000/svg",
320
+ width: "16",
321
+ height: "16",
322
+ fill: "none"
323
+ }), [
324
+ a.$attrs["svg-title"] ? (s(), v("title", qi, u(a.$attrs["svg-title"]), 1)) : f("", !0),
325
+ i[0] || (i[0] = r("path", {
326
+ fill: "#00112C",
327
+ d: "M10.7461 8.25V9.75H5.24609V8.25H10.7461Z"
328
+ }, null, -1)),
329
+ i[1] || (i[1] = r("path", {
330
+ fill: "#00112C",
331
+ d: "M5.24609 11.25H10.7461V12.75H5.24609V11.25Z"
332
+ }, null, -1)),
333
+ i[2] || (i[2] = r("path", {
334
+ fill: "#00112C",
335
+ d: "M13.7461 13.5C13.7461 14.7442 12.7403 15.75 11.4961 15.75H4.49609C3.25188 15.75 2.24609 14.7442 2.24609 13.5V2.5C2.24609 1.25579 3.25188 0.25 4.49609 0.25H9.30665L13.7461 4.68728V13.5ZM3.74609 2.5V13.5C3.74609 13.9158 4.08031 14.25 4.49609 14.25H11.4961C11.9119 14.25 12.2461 13.9158 12.2461 13.5V6.75H9.49609C8.25345 6.75 7.24609 5.74264 7.24609 4.5V1.75H4.49609C4.08031 1.75 3.74609 2.08421 3.74609 2.5ZM8.74609 1.81052V4.5C8.74609 4.91421 9.08188 5.25 9.49609 5.25H12.1873L8.74609 1.81052Z"
336
+ }, null, -1))
337
+ ], 16);
338
+ }
339
+ const Bi = /* @__PURE__ */ _(Fi, [["render", Zi]]);
340
+ let wa = 0;
341
+ const Ai = {
342
+ beforeCreate() {
343
+ this.uuid = wa.toString(), wa += 1;
344
+ }
345
+ }, Ni = { key: 0 };
346
+ function Pi(a, i, n, e, l, t) {
347
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
348
+ class: "ui-assets-icons-16",
349
+ xmlns: "http://www.w3.org/2000/svg",
350
+ width: "16",
351
+ height: "16",
352
+ fill: "none"
353
+ }), [
354
+ a.$attrs["svg-title"] ? (s(), v("title", Ni, u(a.$attrs["svg-title"]), 1)) : f("", !0),
355
+ i[0] || (i[0] = r("path", {
356
+ fill: "#00112C",
357
+ 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"
358
+ }, null, -1))
359
+ ], 16);
360
+ }
361
+ const Ui = /* @__PURE__ */ _(Ai, [["render", Pi]]);
362
+ let Ca = 0;
363
+ const Wi = {
364
+ beforeCreate() {
365
+ this.uuid = Ca.toString(), Ca += 1;
366
+ }
367
+ }, Gi = { key: 0 };
368
+ function Yi(a, i, n, e, l, t) {
369
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
370
+ class: "ui-assets-icons-16",
371
+ xmlns: "http://www.w3.org/2000/svg",
372
+ width: "16",
373
+ height: "16",
374
+ fill: "none"
375
+ }), [
376
+ a.$attrs["svg-title"] ? (s(), v("title", Gi, u(a.$attrs["svg-title"]), 1)) : f("", !0),
377
+ i[0] || (i[0] = r("path", {
378
+ fill: "#00112C",
379
+ 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"
380
+ }, null, -1)),
381
+ i[1] || (i[1] = r("path", {
382
+ fill: "#00112C",
383
+ 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"
384
+ }, null, -1))
385
+ ], 16);
386
+ }
387
+ const Xi = /* @__PURE__ */ _(Wi, [["render", Yi]]);
388
+ let ya = 0;
389
+ const Ji = {
390
+ beforeCreate() {
391
+ this.uuid = ya.toString(), ya += 1;
392
+ }
393
+ }, Ki = { key: 0 }, Qi = ["clip-path"], ae = ["id"];
394
+ function ie(a, i, n, e, l, t) {
395
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
396
+ class: "ui-assets-icons-16",
397
+ xmlns: "http://www.w3.org/2000/svg",
398
+ width: "16",
399
+ height: "16",
400
+ fill: "none"
401
+ }), [
402
+ a.$attrs["svg-title"] ? (s(), v("title", Ki, u(a.$attrs["svg-title"]), 1)) : f("", !0),
403
+ r("g", {
404
+ fill: "#00112C",
405
+ "clip-path": "url(#uia-icons-16-play_circle__a" + a.uuid + ")"
406
+ }, i[0] || (i[0] = [
407
+ r("path", { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" }, null, -1),
408
+ r("path", { 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" }, null, -1)
409
+ ]), 8, Qi),
410
+ r("defs", null, [
411
+ r("clipPath", {
412
+ id: "uia-icons-16-play_circle__a" + a.uuid
413
+ }, i[1] || (i[1] = [
414
+ r("rect", {
415
+ width: "16",
416
+ height: "16",
417
+ fill: "#fff"
418
+ }, null, -1)
419
+ ]), 8, ae)
420
+ ])
421
+ ], 16);
422
+ }
423
+ const ee = /* @__PURE__ */ _(Ji, [["render", ie]]);
424
+ let ka = 0;
425
+ const te = {
426
+ beforeCreate() {
427
+ this.uuid = ka.toString(), ka += 1;
428
+ }
429
+ }, ne = { key: 0 };
430
+ function pe(a, i, n, e, l, t) {
431
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
432
+ class: "ui-assets-icons-16",
433
+ xmlns: "http://www.w3.org/2000/svg",
434
+ width: "16",
435
+ height: "16",
436
+ fill: "none"
437
+ }), [
438
+ a.$attrs["svg-title"] ? (s(), v("title", ne, u(a.$attrs["svg-title"]), 1)) : f("", !0),
439
+ i[0] || (i[0] = r("path", {
440
+ fill: "#00112C",
441
+ 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"
442
+ }, null, -1)),
443
+ i[1] || (i[1] = r("path", {
444
+ fill: "#00112C",
445
+ 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"
446
+ }, null, -1)),
447
+ i[2] || (i[2] = r("path", {
448
+ fill: "#00112C",
449
+ 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"
450
+ }, null, -1))
451
+ ], 16);
452
+ }
453
+ const oe = /* @__PURE__ */ _(te, [["render", pe]]);
454
+ let $a = 0;
455
+ const le = {
456
+ beforeCreate() {
457
+ this.uuid = $a.toString(), $a += 1;
458
+ }
459
+ }, se = { key: 0 };
460
+ function ce(a, i, n, e, l, t) {
461
+ return s(), v("svg", I({ role: "img" }, a.$attrs, {
462
+ class: "ui-assets-icons-16",
463
+ xmlns: "http://www.w3.org/2000/svg",
464
+ width: "16",
465
+ height: "16",
466
+ fill: "none"
467
+ }), [
468
+ a.$attrs["svg-title"] ? (s(), v("title", se, u(a.$attrs["svg-title"]), 1)) : f("", !0),
469
+ i[0] || (i[0] = r("path", {
470
+ fill: "#00112C",
471
+ 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"
472
+ }, null, -1))
473
+ ], 16);
474
+ }
475
+ const de = /* @__PURE__ */ _(le, [["render", ce]]), re = {
476
+ [x.AUDIO]: oe,
477
+ [x.COMPRESSED]: Ui,
478
+ [x.GENERIC]: Li,
479
+ [x.IMAGE]: Xi,
480
+ [x.PDF]: Oi,
481
+ [x.SLIDES]: Si,
482
+ [x.TABLE]: de,
483
+ [x.TEXT]: Bi,
484
+ [x.VIDEO]: ee
485
+ };
486
+ function me(a) {
487
+ return re[a.type];
488
+ }
489
+ function ue(a) {
490
+ switch (a.type) {
491
+ case x.COMPRESSED:
492
+ case x.GENERIC:
493
+ return "grey";
494
+ case x.PDF:
495
+ case x.SLIDES:
496
+ return "orange";
497
+ case x.TEXT:
498
+ return "blue";
499
+ default:
500
+ return "green";
501
+ }
502
+ }
503
+ const Ia = {
504
+ "en-US": {
505
+ cancel: "Cancel",
506
+ fileExceedsSizeLimit: "File exceeds size limit",
507
+ fileTypeMustBe: "File type must be {list}",
508
+ imageDimensionsExceedLimits: "Image dimensions exceed limits",
509
+ remove: "Remove",
510
+ retry: "Retry"
511
+ },
512
+ "pt-BR": {
513
+ cancel: "Cancelar",
514
+ remove: "Remover",
515
+ retry: "Tentar novamente"
516
+ },
517
+ "ja-JP": {
518
+ cancel: "キャンセル",
519
+ remove: "削除",
520
+ retry: "再試行"
521
+ }
522
+ }, ve = { class: "b-file-uploader-file-card__details" }, fe = { class: "b-file-uploader-file-card__info" }, xe = { class: "b-file-uploader-file-card__actions" }, ge = {
523
+ name: "file-uploader-file-card",
524
+ i18n: { messages: Ia }
525
+ }, he = /* @__PURE__ */ ia({
526
+ ...ge,
527
+ props: {
528
+ file: {},
529
+ supportedFileTypes: { default: null }
530
+ },
531
+ emits: ["cancel", "remove", "retry"],
532
+ setup(a, { emit: i }) {
533
+ const e = a, l = i, { t, locale: C } = ea({ messages: Ia }), c = T(e.file.state === L.SUCCESS), d = b(() => URL.createObjectURL(e.file.data)), w = b(() => e.file.state === L.ERROR), q = b(() => e.file.errors.includes(j.ERROR_LOAD)), U = b(() => e.file.errors.includes(j.ERROR_SIZE)), H = b(() => e.file.errors.includes(j.ERROR_DIMENSIONS)), Z = b(() => e.file.errors.includes(j.ERROR_TYPE)), W = b(() => e.file.state === L.LOADING), G = b(() => e.file.progress && `(${e.file.progress.toFixed(0)}%)`), B = b(() => La(C.value, e.file.data.size)), Y = T(), O = T(), ta = gi(Y, O), A = b(() => ({
534
+ "b-file-uploader-file-card--error": w.value
535
+ })), X = b(() => ({
536
+ [`b-file-uploader-file-card__icon--${ue(e.file)}`]: c.value,
537
+ "b-file-uploader-file-card__icon--error": w.value
538
+ })), J = b(() => W.value ? pi : w.value ? Ea : c.value ? me(e.file) : ai);
539
+ return _a(
540
+ () => e.file.state,
541
+ (E) => {
542
+ if (E === L.SUCCESS && !c.value) {
543
+ const V = setTimeout(() => {
544
+ c.value = !0, clearTimeout(V);
545
+ }, 1200);
546
+ }
547
+ }
548
+ ), (E, V) => (s(), v("div", {
549
+ class: S(["b-file-uploader-file-card", A.value])
550
+ }, [
551
+ r("div", ve, [
552
+ r("div", fe, [
553
+ M(o(mi), {
554
+ name: o(Ra) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
555
+ "show-file-icon": c.value
556
+ }, {
557
+ default: g(() => [
558
+ (s(), h(Ya(J.value), {
559
+ key: JSON.stringify(J.value),
560
+ small: "",
561
+ class: S(["b-file-uploader-file-card__icon", X.value]),
562
+ "data-testid": "file-uploader-item-icon"
563
+ }, null, 8, ["class"]))
564
+ ]),
565
+ _: 1
566
+ }, 8, ["name", "show-file-icon"]),
567
+ r("div", {
568
+ ref_key: "fileNameContainerRef",
569
+ ref: O,
570
+ class: "b-file-uploader-file-card__file-name"
571
+ }, [
572
+ M(o(ni), {
573
+ download: E.file.data.name,
574
+ to: d.value,
575
+ "disable-typography": "",
576
+ "is-not-routing": "",
577
+ variant: "quiet"
578
+ }, {
579
+ default: g(() => [
580
+ za((s(), h(o(z), {
581
+ ref_key: "fileNameRef",
582
+ ref: Y,
583
+ stronger: "",
584
+ el: "span"
585
+ }, {
586
+ default: g(() => [
587
+ $(u(E.file.data.name), 1)
588
+ ]),
589
+ _: 1
590
+ })), [
591
+ [o(ti), o(ta) ? E.file.data.name : null]
592
+ ])
593
+ ]),
594
+ _: 1
595
+ }, 8, ["download", "to"])
596
+ ], 512),
597
+ E.file.progress ? (s(), h(o(z), {
598
+ key: 0,
599
+ el: "span"
600
+ }, {
601
+ default: g(() => [
602
+ $(u(G.value), 1)
603
+ ]),
604
+ _: 1
605
+ })) : E.file.data.size ? (s(), h(o(z), {
606
+ key: 1,
607
+ class: "b-file-uploader-file-card__file-size",
608
+ el: "span"
609
+ }, {
610
+ default: g(() => [
611
+ $(u(B.value), 1)
612
+ ]),
613
+ _: 1
614
+ })) : f("", !0)
615
+ ]),
616
+ U.value ? (s(), h(o(z), {
617
+ key: 0,
618
+ class: "b-file-uploader-file-card__error-message"
619
+ }, {
620
+ default: g(() => [
621
+ $(u(o(t)("fileExceedsSizeLimit")), 1)
622
+ ]),
623
+ _: 1
624
+ })) : f("", !0),
625
+ H.value ? (s(), h(o(z), {
626
+ key: 1,
627
+ class: "b-file-uploader-file-card__error-message"
628
+ }, {
629
+ default: g(() => [
630
+ $(u(o(t)("imageDimensionsExceedLimits")), 1)
631
+ ]),
632
+ _: 1
633
+ })) : f("", !0),
634
+ Z.value && E.supportedFileTypes ? (s(), h(o(z), {
635
+ key: 2,
636
+ class: "b-file-uploader-file-card__error-message"
637
+ }, {
638
+ default: g(() => [
639
+ $(u(o(t)("fileTypeMustBe", { list: E.supportedFileTypes })), 1)
640
+ ]),
641
+ _: 1
642
+ })) : f("", !0)
643
+ ]),
644
+ r("div", xe, [
645
+ q.value ? (s(), h(o(Q), {
646
+ key: 0,
647
+ variant: "tertiary",
648
+ onClick: V[0] || (V[0] = (K) => l("retry"))
649
+ }, {
650
+ iconLeft: g(() => [
651
+ M(o(ei), {
652
+ "svg-title": o(t)("retry")
653
+ }, null, 8, ["svg-title"])
654
+ ]),
655
+ default: g(() => [
656
+ $(" " + u(o(t)("retry")), 1)
657
+ ]),
658
+ _: 1
659
+ })) : f("", !0),
660
+ W.value || w.value ? (s(), h(o(Q), {
661
+ key: 1,
662
+ variant: "tertiary",
663
+ onClick: V[1] || (V[1] = (K) => l("cancel"))
664
+ }, {
665
+ iconLeft: g(() => [
666
+ M(o(ii), {
667
+ "svg-title": o(t)("cancel")
668
+ }, null, 8, ["svg-title"])
669
+ ]),
670
+ _: 1
671
+ })) : (s(), h(o(Q), {
672
+ key: 2,
673
+ variant: "tertiary",
674
+ onClick: V[2] || (V[2] = (K) => l("remove"))
675
+ }, {
676
+ iconLeft: g(() => [
677
+ M(o(xi), {
678
+ "svg-title": o(t)("remove")
679
+ }, null, 8, ["svg-title"])
680
+ ]),
681
+ _: 1
682
+ }))
683
+ ])
684
+ ], 2));
685
+ }
686
+ }), be = /* @__PURE__ */ _(he, [["__scopeId", "data-v-13fa0d5e"]]), Va = {
687
+ "en-US": {
688
+ maxFileSize: "Max file size: {size}",
689
+ maxImageDimensions: "Max image dimensions: {width} × {height}px",
690
+ maxImageHeight: "Max image height: {height}px",
691
+ maxImageWidth: "Max image width: {width}px",
692
+ maxUpload: "Max upload: {count} file | Max upload: {count} files",
693
+ supportedFileTypes: "Supported file types: {list}"
694
+ }
695
+ }, we = {
696
+ i18n: { messages: Va }
697
+ }, Ce = /* @__PURE__ */ ia({
698
+ ...we,
699
+ __name: "file-uploader-restrictions",
700
+ props: {
701
+ condensed: { type: Boolean, default: null },
702
+ disabled: { type: Boolean, default: null },
703
+ maxCount: { default: null },
704
+ maxDimensions: { default: null },
705
+ maxSize: { default: null },
706
+ supportedFileTypes: { default: null }
707
+ },
708
+ setup(a) {
709
+ const i = a, { t: n, tc: e, locale: l } = ea({ messages: Va }), t = b(() => ({
710
+ "b-file-uploader-restrictions--condensed": i.condensed,
711
+ "b-file-uploader-restrictions--disabled": i.disabled
712
+ }));
713
+ function C(d) {
714
+ return {
715
+ "b-file-uploader-restrictions--error": d
716
+ };
717
+ }
718
+ const c = b(() => {
719
+ if (!i.maxDimensions)
720
+ return null;
721
+ const {
722
+ value: { width: d, height: w }
723
+ } = i.maxDimensions;
724
+ return d && w ? n("maxImageDimensions", { width: d, height: w }) : d ? n("maxImageWidth", { width: d }) : w ? n("maxImageHeight", { height: w }) : null;
725
+ });
726
+ return (d, w) => (s(), v("div", {
727
+ class: S(["b-file-uploader-restrictions", t.value])
728
+ }, [
729
+ d.supportedFileTypes ? (s(), h(o(z), {
730
+ key: 0,
731
+ class: S(C(d.supportedFileTypes.error))
732
+ }, {
733
+ default: g(() => [
734
+ $(u(o(n)("supportedFileTypes", { list: d.supportedFileTypes.value })), 1)
735
+ ]),
736
+ _: 1
737
+ }, 8, ["class"])) : f("", !0),
738
+ d.maxSize ? (s(), h(o(z), {
739
+ key: 1,
740
+ class: S(C(d.maxSize.error))
741
+ }, {
742
+ default: g(() => [
743
+ $(u(o(n)("maxFileSize", { size: o(La)(o(l), d.maxSize.value) })), 1)
744
+ ]),
745
+ _: 1
746
+ }, 8, ["class"])) : f("", !0),
747
+ d.maxDimensions ? (s(), h(o(z), {
748
+ key: 2,
749
+ class: S(C(d.maxDimensions.error))
750
+ }, {
751
+ default: g(() => [
752
+ $(u(c.value), 1)
753
+ ]),
754
+ _: 1
755
+ }, 8, ["class"])) : f("", !0),
756
+ d.maxCount ? (s(), h(o(z), {
757
+ key: 3,
758
+ class: S(C(d.maxCount.error))
759
+ }, {
760
+ default: g(() => [
761
+ $(u(o(e)("maxUpload", d.maxCount.value)), 1)
762
+ ]),
763
+ _: 1
764
+ }, 8, ["class"])) : f("", !0)
765
+ ], 2));
766
+ }
767
+ }), ja = /* @__PURE__ */ _(Ce, [["__scopeId", "data-v-d7c2e9cd"]]);
768
+ function ye(a) {
769
+ const { locale: i, t: n } = ea();
770
+ return { supportedFileTypeList: b(() => {
771
+ const l = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
772
+ return a != null && a.value ? l.format(
773
+ a.value.split(",").map((t) => {
774
+ const C = t.trim();
775
+ switch (C) {
776
+ case "audio/*":
777
+ return n("audioFiles");
778
+ case "image/*":
779
+ return n("imageFiles");
780
+ case "video/*":
781
+ return n("videoFiles");
782
+ default:
783
+ return C.toUpperCase();
784
+ }
785
+ })
786
+ ) : null;
787
+ }) };
788
+ }
789
+ const Ma = {
790
+ "en-US": {
791
+ audioFiles: "audio files",
792
+ browseFiles: "Browse files",
793
+ dropArea: "Drop area",
794
+ dropFiles: "Drop file to upload | Drop files to upload",
795
+ fileExceedsSizeLimit: "File exceeds size limit",
796
+ imageFiles: "image files",
797
+ tooManyFiles: "Too many files",
798
+ upload: "Upload",
799
+ videoFiles: "video files",
800
+ warning: "Warning",
801
+ youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
802
+ },
803
+ "pt-BR": {
804
+ upload: "Carregar",
805
+ warning: "Aviso"
806
+ },
807
+ "ja-JP": {
808
+ upload: "アップロード",
809
+ warning: "警告"
810
+ }
811
+ }, Sa = {
812
+ "application/prs.cww": ["cww"],
813
+ "application/prs.xsf+xml": ["xsf"],
814
+ "application/vnd.1000minds.decision-model+xml": ["1km"],
815
+ "application/vnd.3gpp.pic-bw-large": ["plb"],
816
+ "application/vnd.3gpp.pic-bw-small": ["psb"],
817
+ "application/vnd.3gpp.pic-bw-var": ["pvb"],
818
+ "application/vnd.3gpp2.tcap": ["tcap"],
819
+ "application/vnd.3m.post-it-notes": ["pwn"],
820
+ "application/vnd.accpac.simply.aso": ["aso"],
821
+ "application/vnd.accpac.simply.imp": ["imp"],
822
+ "application/vnd.acucobol": ["acu"],
823
+ "application/vnd.acucorp": ["atc", "acutc"],
824
+ "application/vnd.adobe.air-application-installer-package+zip": ["air"],
825
+ "application/vnd.adobe.formscentral.fcdt": ["fcdt"],
826
+ "application/vnd.adobe.fxp": ["fxp", "fxpl"],
827
+ "application/vnd.adobe.xdp+xml": ["xdp"],
828
+ "application/vnd.adobe.xfdf": ["*xfdf"],
829
+ "application/vnd.age": ["age"],
830
+ "application/vnd.ahead.space": ["ahead"],
831
+ "application/vnd.airzip.filesecure.azf": ["azf"],
832
+ "application/vnd.airzip.filesecure.azs": ["azs"],
833
+ "application/vnd.amazon.ebook": ["azw"],
834
+ "application/vnd.americandynamics.acc": ["acc"],
835
+ "application/vnd.amiga.ami": ["ami"],
836
+ "application/vnd.android.package-archive": ["apk"],
837
+ "application/vnd.anser-web-certificate-issue-initiation": ["cii"],
838
+ "application/vnd.anser-web-funds-transfer-initiation": ["fti"],
839
+ "application/vnd.antix.game-component": ["atx"],
840
+ "application/vnd.apple.installer+xml": ["mpkg"],
841
+ "application/vnd.apple.keynote": ["key"],
842
+ "application/vnd.apple.mpegurl": ["m3u8"],
843
+ "application/vnd.apple.numbers": ["numbers"],
844
+ "application/vnd.apple.pages": ["pages"],
845
+ "application/vnd.apple.pkpass": ["pkpass"],
846
+ "application/vnd.aristanetworks.swi": ["swi"],
847
+ "application/vnd.astraea-software.iota": ["iota"],
848
+ "application/vnd.audiograph": ["aep"],
849
+ "application/vnd.balsamiq.bmml+xml": ["bmml"],
850
+ "application/vnd.blueice.multipass": ["mpm"],
851
+ "application/vnd.bmi": ["bmi"],
852
+ "application/vnd.businessobjects": ["rep"],
853
+ "application/vnd.chemdraw+xml": ["cdxml"],
854
+ "application/vnd.chipnuts.karaoke-mmd": ["mmd"],
855
+ "application/vnd.cinderella": ["cdy"],
856
+ "application/vnd.citationstyles.style+xml": ["csl"],
857
+ "application/vnd.claymore": ["cla"],
858
+ "application/vnd.cloanto.rp9": ["rp9"],
859
+ "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"],
860
+ "application/vnd.cluetrust.cartomobile-config": ["c11amc"],
861
+ "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"],
862
+ "application/vnd.commonspace": ["csp"],
863
+ "application/vnd.contact.cmsg": ["cdbcmsg"],
864
+ "application/vnd.cosmocaller": ["cmc"],
865
+ "application/vnd.crick.clicker": ["clkx"],
866
+ "application/vnd.crick.clicker.keyboard": ["clkk"],
867
+ "application/vnd.crick.clicker.palette": ["clkp"],
868
+ "application/vnd.crick.clicker.template": ["clkt"],
869
+ "application/vnd.crick.clicker.wordbank": ["clkw"],
870
+ "application/vnd.criticaltools.wbs+xml": ["wbs"],
871
+ "application/vnd.ctc-posml": ["pml"],
872
+ "application/vnd.cups-ppd": ["ppd"],
873
+ "application/vnd.curl.car": ["car"],
874
+ "application/vnd.curl.pcurl": ["pcurl"],
875
+ "application/vnd.dart": ["dart"],
876
+ "application/vnd.data-vision.rdz": ["rdz"],
877
+ "application/vnd.dbf": ["dbf"],
878
+ "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"],
879
+ "application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
880
+ "application/vnd.dece.unspecified": ["uvx", "uvvx"],
881
+ "application/vnd.dece.zip": ["uvz", "uvvz"],
882
+ "application/vnd.denovo.fcselayout-link": ["fe_launch"],
883
+ "application/vnd.dna": ["dna"],
884
+ "application/vnd.dolby.mlp": ["mlp"],
885
+ "application/vnd.dpgraph": ["dpg"],
886
+ "application/vnd.dreamfactory": ["dfac"],
887
+ "application/vnd.ds-keypoint": ["kpxx"],
888
+ "application/vnd.dvb.ait": ["ait"],
889
+ "application/vnd.dvb.service": ["svc"],
890
+ "application/vnd.dynageo": ["geo"],
891
+ "application/vnd.ecowin.chart": ["mag"],
892
+ "application/vnd.enliven": ["nml"],
893
+ "application/vnd.epson.esf": ["esf"],
894
+ "application/vnd.epson.msf": ["msf"],
895
+ "application/vnd.epson.quickanime": ["qam"],
896
+ "application/vnd.epson.salt": ["slt"],
897
+ "application/vnd.epson.ssf": ["ssf"],
898
+ "application/vnd.eszigno3+xml": ["es3", "et3"],
899
+ "application/vnd.ezpix-album": ["ez2"],
900
+ "application/vnd.ezpix-package": ["ez3"],
901
+ "application/vnd.fdf": ["*fdf"],
902
+ "application/vnd.fdsn.mseed": ["mseed"],
903
+ "application/vnd.fdsn.seed": ["seed", "dataless"],
904
+ "application/vnd.flographit": ["gph"],
905
+ "application/vnd.fluxtime.clip": ["ftc"],
906
+ "application/vnd.framemaker": ["fm", "frame", "maker", "book"],
907
+ "application/vnd.frogans.fnc": ["fnc"],
908
+ "application/vnd.frogans.ltf": ["ltf"],
909
+ "application/vnd.fsc.weblaunch": ["fsc"],
910
+ "application/vnd.fujitsu.oasys": ["oas"],
911
+ "application/vnd.fujitsu.oasys2": ["oa2"],
912
+ "application/vnd.fujitsu.oasys3": ["oa3"],
913
+ "application/vnd.fujitsu.oasysgp": ["fg5"],
914
+ "application/vnd.fujitsu.oasysprs": ["bh2"],
915
+ "application/vnd.fujixerox.ddd": ["ddd"],
916
+ "application/vnd.fujixerox.docuworks": ["xdw"],
917
+ "application/vnd.fujixerox.docuworks.binder": ["xbd"],
918
+ "application/vnd.fuzzysheet": ["fzs"],
919
+ "application/vnd.genomatix.tuxedo": ["txd"],
920
+ "application/vnd.geogebra.file": ["ggb"],
921
+ "application/vnd.geogebra.slides": ["ggs"],
922
+ "application/vnd.geogebra.tool": ["ggt"],
923
+ "application/vnd.geometry-explorer": ["gex", "gre"],
924
+ "application/vnd.geonext": ["gxt"],
925
+ "application/vnd.geoplan": ["g2w"],
926
+ "application/vnd.geospace": ["g3w"],
927
+ "application/vnd.gmx": ["gmx"],
928
+ "application/vnd.google-apps.document": ["gdoc"],
929
+ "application/vnd.google-apps.presentation": ["gslides"],
930
+ "application/vnd.google-apps.spreadsheet": ["gsheet"],
931
+ "application/vnd.google-earth.kml+xml": ["kml"],
932
+ "application/vnd.google-earth.kmz": ["kmz"],
933
+ "application/vnd.gov.sk.xmldatacontainer+xml": ["xdcf"],
934
+ "application/vnd.grafeq": ["gqf", "gqs"],
935
+ "application/vnd.groove-account": ["gac"],
936
+ "application/vnd.groove-help": ["ghf"],
937
+ "application/vnd.groove-identity-message": ["gim"],
938
+ "application/vnd.groove-injector": ["grv"],
939
+ "application/vnd.groove-tool-message": ["gtm"],
940
+ "application/vnd.groove-tool-template": ["tpl"],
941
+ "application/vnd.groove-vcard": ["vcg"],
942
+ "application/vnd.hal+xml": ["hal"],
943
+ "application/vnd.handheld-entertainment+xml": ["zmm"],
944
+ "application/vnd.hbci": ["hbci"],
945
+ "application/vnd.hhe.lesson-player": ["les"],
946
+ "application/vnd.hp-hpgl": ["hpgl"],
947
+ "application/vnd.hp-hpid": ["hpid"],
948
+ "application/vnd.hp-hps": ["hps"],
949
+ "application/vnd.hp-jlyt": ["jlt"],
950
+ "application/vnd.hp-pcl": ["pcl"],
951
+ "application/vnd.hp-pclxl": ["pclxl"],
952
+ "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"],
953
+ "application/vnd.ibm.minipay": ["mpy"],
954
+ "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"],
955
+ "application/vnd.ibm.rights-management": ["irm"],
956
+ "application/vnd.ibm.secure-container": ["sc"],
957
+ "application/vnd.iccprofile": ["icc", "icm"],
958
+ "application/vnd.igloader": ["igl"],
959
+ "application/vnd.immervision-ivp": ["ivp"],
960
+ "application/vnd.immervision-ivu": ["ivu"],
961
+ "application/vnd.insors.igm": ["igm"],
962
+ "application/vnd.intercon.formnet": ["xpw", "xpx"],
963
+ "application/vnd.intergeo": ["i2g"],
964
+ "application/vnd.intu.qbo": ["qbo"],
965
+ "application/vnd.intu.qfx": ["qfx"],
966
+ "application/vnd.ipunplugged.rcprofile": ["rcprofile"],
967
+ "application/vnd.irepository.package+xml": ["irp"],
968
+ "application/vnd.is-xpr": ["xpr"],
969
+ "application/vnd.isac.fcs": ["fcs"],
970
+ "application/vnd.jam": ["jam"],
971
+ "application/vnd.jcp.javame.midlet-rms": ["rms"],
972
+ "application/vnd.jisp": ["jisp"],
973
+ "application/vnd.joost.joda-archive": ["joda"],
974
+ "application/vnd.kahootz": ["ktz", "ktr"],
975
+ "application/vnd.kde.karbon": ["karbon"],
976
+ "application/vnd.kde.kchart": ["chrt"],
977
+ "application/vnd.kde.kformula": ["kfo"],
978
+ "application/vnd.kde.kivio": ["flw"],
979
+ "application/vnd.kde.kontour": ["kon"],
980
+ "application/vnd.kde.kpresenter": ["kpr", "kpt"],
981
+ "application/vnd.kde.kspread": ["ksp"],
982
+ "application/vnd.kde.kword": ["kwd", "kwt"],
983
+ "application/vnd.kenameaapp": ["htke"],
984
+ "application/vnd.kidspiration": ["kia"],
985
+ "application/vnd.kinar": ["kne", "knp"],
986
+ "application/vnd.koan": ["skp", "skd", "skt", "skm"],
987
+ "application/vnd.kodak-descriptor": ["sse"],
988
+ "application/vnd.las.las+xml": ["lasxml"],
989
+ "application/vnd.llamagraphics.life-balance.desktop": ["lbd"],
990
+ "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"],
991
+ "application/vnd.lotus-1-2-3": ["123"],
992
+ "application/vnd.lotus-approach": ["apr"],
993
+ "application/vnd.lotus-freelance": ["pre"],
994
+ "application/vnd.lotus-notes": ["nsf"],
995
+ "application/vnd.lotus-organizer": ["org"],
996
+ "application/vnd.lotus-screencam": ["scm"],
997
+ "application/vnd.lotus-wordpro": ["lwp"],
998
+ "application/vnd.macports.portpkg": ["portpkg"],
999
+ "application/vnd.mapbox-vector-tile": ["mvt"],
1000
+ "application/vnd.mcd": ["mcd"],
1001
+ "application/vnd.medcalcdata": ["mc1"],
1002
+ "application/vnd.mediastation.cdkey": ["cdkey"],
1003
+ "application/vnd.mfer": ["mwf"],
1004
+ "application/vnd.mfmp": ["mfm"],
1005
+ "application/vnd.micrografx.flo": ["flo"],
1006
+ "application/vnd.micrografx.igx": ["igx"],
1007
+ "application/vnd.mif": ["mif"],
1008
+ "application/vnd.mobius.daf": ["daf"],
1009
+ "application/vnd.mobius.dis": ["dis"],
1010
+ "application/vnd.mobius.mbk": ["mbk"],
1011
+ "application/vnd.mobius.mqy": ["mqy"],
1012
+ "application/vnd.mobius.msl": ["msl"],
1013
+ "application/vnd.mobius.plc": ["plc"],
1014
+ "application/vnd.mobius.txf": ["txf"],
1015
+ "application/vnd.mophun.application": ["mpn"],
1016
+ "application/vnd.mophun.certificate": ["mpc"],
1017
+ "application/vnd.mozilla.xul+xml": ["xul"],
1018
+ "application/vnd.ms-artgalry": ["cil"],
1019
+ "application/vnd.ms-cab-compressed": ["cab"],
1020
+ "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"],
1021
+ "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"],
1022
+ "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"],
1023
+ "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"],
1024
+ "application/vnd.ms-excel.template.macroenabled.12": ["xltm"],
1025
+ "application/vnd.ms-fontobject": ["eot"],
1026
+ "application/vnd.ms-htmlhelp": ["chm"],
1027
+ "application/vnd.ms-ims": ["ims"],
1028
+ "application/vnd.ms-lrm": ["lrm"],
1029
+ "application/vnd.ms-officetheme": ["thmx"],
1030
+ "application/vnd.ms-outlook": ["msg"],
1031
+ "application/vnd.ms-pki.seccat": ["cat"],
1032
+ "application/vnd.ms-pki.stl": ["*stl"],
1033
+ "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"],
1034
+ "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"],
1035
+ "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"],
1036
+ "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"],
1037
+ "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
1038
+ "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
1039
+ "application/vnd.ms-project": ["*mpp", "mpt"],
1040
+ "application/vnd.ms-word.document.macroenabled.12": ["docm"],
1041
+ "application/vnd.ms-word.template.macroenabled.12": ["dotm"],
1042
+ "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"],
1043
+ "application/vnd.ms-wpl": ["wpl"],
1044
+ "application/vnd.ms-xpsdocument": ["xps"],
1045
+ "application/vnd.mseq": ["mseq"],
1046
+ "application/vnd.musician": ["mus"],
1047
+ "application/vnd.muvee.style": ["msty"],
1048
+ "application/vnd.mynfc": ["taglet"],
1049
+ "application/vnd.nato.bindingdataobject+xml": ["bdo"],
1050
+ "application/vnd.neurolanguage.nlu": ["nlu"],
1051
+ "application/vnd.nitf": ["ntf", "nitf"],
1052
+ "application/vnd.noblenet-directory": ["nnd"],
1053
+ "application/vnd.noblenet-sealer": ["nns"],
1054
+ "application/vnd.noblenet-web": ["nnw"],
1055
+ "application/vnd.nokia.n-gage.ac+xml": ["*ac"],
1056
+ "application/vnd.nokia.n-gage.data": ["ngdat"],
1057
+ "application/vnd.nokia.n-gage.symbian.install": ["n-gage"],
1058
+ "application/vnd.nokia.radio-preset": ["rpst"],
1059
+ "application/vnd.nokia.radio-presets": ["rpss"],
1060
+ "application/vnd.novadigm.edm": ["edm"],
1061
+ "application/vnd.novadigm.edx": ["edx"],
1062
+ "application/vnd.novadigm.ext": ["ext"],
1063
+ "application/vnd.oasis.opendocument.chart": ["odc"],
1064
+ "application/vnd.oasis.opendocument.chart-template": ["otc"],
1065
+ "application/vnd.oasis.opendocument.database": ["odb"],
1066
+ "application/vnd.oasis.opendocument.formula": ["odf"],
1067
+ "application/vnd.oasis.opendocument.formula-template": ["odft"],
1068
+ "application/vnd.oasis.opendocument.graphics": ["odg"],
1069
+ "application/vnd.oasis.opendocument.graphics-template": ["otg"],
1070
+ "application/vnd.oasis.opendocument.image": ["odi"],
1071
+ "application/vnd.oasis.opendocument.image-template": ["oti"],
1072
+ "application/vnd.oasis.opendocument.presentation": ["odp"],
1073
+ "application/vnd.oasis.opendocument.presentation-template": ["otp"],
1074
+ "application/vnd.oasis.opendocument.spreadsheet": ["ods"],
1075
+ "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"],
1076
+ "application/vnd.oasis.opendocument.text": ["odt"],
1077
+ "application/vnd.oasis.opendocument.text-master": ["odm"],
1078
+ "application/vnd.oasis.opendocument.text-template": ["ott"],
1079
+ "application/vnd.oasis.opendocument.text-web": ["oth"],
1080
+ "application/vnd.olpc-sugar": ["xo"],
1081
+ "application/vnd.oma.dd2+xml": ["dd2"],
1082
+ "application/vnd.openblox.game+xml": ["obgx"],
1083
+ "application/vnd.openofficeorg.extension": ["oxt"],
1084
+ "application/vnd.openstreetmap.data+xml": ["osm"],
1085
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": [
1086
+ "pptx"
1087
+ ],
1088
+ "application/vnd.openxmlformats-officedocument.presentationml.slide": [
1089
+ "sldx"
1090
+ ],
1091
+ "application/vnd.openxmlformats-officedocument.presentationml.slideshow": [
1092
+ "ppsx"
1093
+ ],
1094
+ "application/vnd.openxmlformats-officedocument.presentationml.template": [
1095
+ "potx"
1096
+ ],
1097
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
1098
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.template": [
1099
+ "xltx"
1100
+ ],
1101
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [
1102
+ "docx"
1103
+ ],
1104
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.template": [
1105
+ "dotx"
1106
+ ],
1107
+ "application/vnd.osgeo.mapguide.package": ["mgp"],
1108
+ "application/vnd.osgi.dp": ["dp"],
1109
+ "application/vnd.osgi.subsystem": ["esa"],
1110
+ "application/vnd.palm": ["pdb", "pqa", "oprc"],
1111
+ "application/vnd.pawaafile": ["paw"],
1112
+ "application/vnd.pg.format": ["str"],
1113
+ "application/vnd.pg.osasli": ["ei6"],
1114
+ "application/vnd.picsel": ["efif"],
1115
+ "application/vnd.pmi.widget": ["wg"],
1116
+ "application/vnd.pocketlearn": ["plf"],
1117
+ "application/vnd.powerbuilder6": ["pbd"],
1118
+ "application/vnd.previewsystems.box": ["box"],
1119
+ "application/vnd.proteus.magazine": ["mgz"],
1120
+ "application/vnd.publishare-delta-tree": ["qps"],
1121
+ "application/vnd.pvi.ptid1": ["ptid"],
1122
+ "application/vnd.pwg-xhtml-print+xml": ["xhtm"],
1123
+ "application/vnd.quark.quarkxpress": [
1124
+ "qxd",
1125
+ "qxt",
1126
+ "qwd",
1127
+ "qwt",
1128
+ "qxl",
1129
+ "qxb"
1130
+ ],
1131
+ "application/vnd.rar": ["rar"],
1132
+ "application/vnd.realvnc.bed": ["bed"],
1133
+ "application/vnd.recordare.musicxml": ["mxl"],
1134
+ "application/vnd.recordare.musicxml+xml": ["musicxml"],
1135
+ "application/vnd.rig.cryptonote": ["cryptonote"],
1136
+ "application/vnd.rim.cod": ["cod"],
1137
+ "application/vnd.rn-realmedia": ["rm"],
1138
+ "application/vnd.rn-realmedia-vbr": ["rmvb"],
1139
+ "application/vnd.route66.link66+xml": ["link66"],
1140
+ "application/vnd.sailingtracker.track": ["st"],
1141
+ "application/vnd.seemail": ["see"],
1142
+ "application/vnd.sema": ["sema"],
1143
+ "application/vnd.semd": ["semd"],
1144
+ "application/vnd.semf": ["semf"],
1145
+ "application/vnd.shana.informed.formdata": ["ifm"],
1146
+ "application/vnd.shana.informed.formtemplate": ["itp"],
1147
+ "application/vnd.shana.informed.interchange": ["iif"],
1148
+ "application/vnd.shana.informed.package": ["ipk"],
1149
+ "application/vnd.simtech-mindmapper": ["twd", "twds"],
1150
+ "application/vnd.smaf": ["mmf"],
1151
+ "application/vnd.smart.teacher": ["teacher"],
1152
+ "application/vnd.software602.filler.form+xml": ["fo"],
1153
+ "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"],
1154
+ "application/vnd.spotfire.dxp": ["dxp"],
1155
+ "application/vnd.spotfire.sfs": ["sfs"],
1156
+ "application/vnd.stardivision.calc": ["sdc"],
1157
+ "application/vnd.stardivision.draw": ["sda"],
1158
+ "application/vnd.stardivision.impress": ["sdd"],
1159
+ "application/vnd.stardivision.math": ["smf"],
1160
+ "application/vnd.stardivision.writer": ["sdw", "vor"],
1161
+ "application/vnd.stardivision.writer-global": ["sgl"],
1162
+ "application/vnd.stepmania.package": ["smzip"],
1163
+ "application/vnd.stepmania.stepchart": ["sm"],
1164
+ "application/vnd.sun.wadl+xml": ["wadl"],
1165
+ "application/vnd.sun.xml.calc": ["sxc"],
1166
+ "application/vnd.sun.xml.calc.template": ["stc"],
1167
+ "application/vnd.sun.xml.draw": ["sxd"],
1168
+ "application/vnd.sun.xml.draw.template": ["std"],
1169
+ "application/vnd.sun.xml.impress": ["sxi"],
1170
+ "application/vnd.sun.xml.impress.template": ["sti"],
1171
+ "application/vnd.sun.xml.math": ["sxm"],
1172
+ "application/vnd.sun.xml.writer": ["sxw"],
1173
+ "application/vnd.sun.xml.writer.global": ["sxg"],
1174
+ "application/vnd.sun.xml.writer.template": ["stw"],
1175
+ "application/vnd.sus-calendar": ["sus", "susp"],
1176
+ "application/vnd.svd": ["svd"],
1177
+ "application/vnd.symbian.install": ["sis", "sisx"],
1178
+ "application/vnd.syncml+xml": ["xsm"],
1179
+ "application/vnd.syncml.dm+wbxml": ["bdm"],
1180
+ "application/vnd.syncml.dm+xml": ["xdm"],
1181
+ "application/vnd.syncml.dmddf+xml": ["ddf"],
1182
+ "application/vnd.tao.intent-module-archive": ["tao"],
1183
+ "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"],
1184
+ "application/vnd.tmobile-livetv": ["tmo"],
1185
+ "application/vnd.trid.tpt": ["tpt"],
1186
+ "application/vnd.triscape.mxs": ["mxs"],
1187
+ "application/vnd.trueapp": ["tra"],
1188
+ "application/vnd.ufdl": ["ufd", "ufdl"],
1189
+ "application/vnd.uiq.theme": ["utz"],
1190
+ "application/vnd.umajin": ["umj"],
1191
+ "application/vnd.unity": ["unityweb"],
1192
+ "application/vnd.uoml+xml": ["uoml", "uo"],
1193
+ "application/vnd.vcx": ["vcx"],
1194
+ "application/vnd.visio": ["vsd", "vst", "vss", "vsw"],
1195
+ "application/vnd.visionary": ["vis"],
1196
+ "application/vnd.vsf": ["vsf"],
1197
+ "application/vnd.wap.wbxml": ["wbxml"],
1198
+ "application/vnd.wap.wmlc": ["wmlc"],
1199
+ "application/vnd.wap.wmlscriptc": ["wmlsc"],
1200
+ "application/vnd.webturbo": ["wtb"],
1201
+ "application/vnd.wolfram.player": ["nbp"],
1202
+ "application/vnd.wordperfect": ["wpd"],
1203
+ "application/vnd.wqd": ["wqd"],
1204
+ "application/vnd.wt.stf": ["stf"],
1205
+ "application/vnd.xara": ["xar"],
1206
+ "application/vnd.xfdl": ["xfdl"],
1207
+ "application/vnd.yamaha.hv-dic": ["hvd"],
1208
+ "application/vnd.yamaha.hv-script": ["hvs"],
1209
+ "application/vnd.yamaha.hv-voice": ["hvp"],
1210
+ "application/vnd.yamaha.openscoreformat": ["osf"],
1211
+ "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"],
1212
+ "application/vnd.yamaha.smaf-audio": ["saf"],
1213
+ "application/vnd.yamaha.smaf-phrase": ["spf"],
1214
+ "application/vnd.yellowriver-custom-menu": ["cmp"],
1215
+ "application/vnd.zul": ["zir", "zirz"],
1216
+ "application/vnd.zzazz.deck+xml": ["zaz"],
1217
+ "application/x-7z-compressed": ["7z"],
1218
+ "application/x-abiword": ["abw"],
1219
+ "application/x-ace-compressed": ["ace"],
1220
+ "application/x-apple-diskimage": ["*dmg"],
1221
+ "application/x-arj": ["arj"],
1222
+ "application/x-authorware-bin": ["aab", "x32", "u32", "vox"],
1223
+ "application/x-authorware-map": ["aam"],
1224
+ "application/x-authorware-seg": ["aas"],
1225
+ "application/x-bcpio": ["bcpio"],
1226
+ "application/x-bdoc": ["*bdoc"],
1227
+ "application/x-bittorrent": ["torrent"],
1228
+ "application/x-blorb": ["blb", "blorb"],
1229
+ "application/x-bzip": ["bz"],
1230
+ "application/x-bzip2": ["bz2", "boz"],
1231
+ "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"],
1232
+ "application/x-cdlink": ["vcd"],
1233
+ "application/x-cfs-compressed": ["cfs"],
1234
+ "application/x-chat": ["chat"],
1235
+ "application/x-chess-pgn": ["pgn"],
1236
+ "application/x-chrome-extension": ["crx"],
1237
+ "application/x-cocoa": ["cco"],
1238
+ "application/x-conference": ["nsc"],
1239
+ "application/x-cpio": ["cpio"],
1240
+ "application/x-csh": ["csh"],
1241
+ "application/x-debian-package": ["*deb", "udeb"],
1242
+ "application/x-dgc-compressed": ["dgc"],
1243
+ "application/x-director": [
1244
+ "dir",
1245
+ "dcr",
1246
+ "dxr",
1247
+ "cst",
1248
+ "cct",
1249
+ "cxt",
1250
+ "w3d",
1251
+ "fgd",
1252
+ "swa"
1253
+ ],
1254
+ "application/x-doom": ["wad"],
1255
+ "application/x-dtbncx+xml": ["ncx"],
1256
+ "application/x-dtbook+xml": ["dtb"],
1257
+ "application/x-dtbresource+xml": ["res"],
1258
+ "application/x-dvi": ["dvi"],
1259
+ "application/x-envoy": ["evy"],
1260
+ "application/x-eva": ["eva"],
1261
+ "application/x-font-bdf": ["bdf"],
1262
+ "application/x-font-ghostscript": ["gsf"],
1263
+ "application/x-font-linux-psf": ["psf"],
1264
+ "application/x-font-pcf": ["pcf"],
1265
+ "application/x-font-snf": ["snf"],
1266
+ "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"],
1267
+ "application/x-freearc": ["arc"],
1268
+ "application/x-futuresplash": ["spl"],
1269
+ "application/x-gca-compressed": ["gca"],
1270
+ "application/x-glulx": ["ulx"],
1271
+ "application/x-gnumeric": ["gnumeric"],
1272
+ "application/x-gramps-xml": ["gramps"],
1273
+ "application/x-gtar": ["gtar"],
1274
+ "application/x-hdf": ["hdf"],
1275
+ "application/x-httpd-php": ["php"],
1276
+ "application/x-install-instructions": ["install"],
1277
+ "application/x-iso9660-image": ["*iso"],
1278
+ "application/x-iwork-keynote-sffkey": ["*key"],
1279
+ "application/x-iwork-numbers-sffnumbers": ["*numbers"],
1280
+ "application/x-iwork-pages-sffpages": ["*pages"],
1281
+ "application/x-java-archive-diff": ["jardiff"],
1282
+ "application/x-java-jnlp-file": ["jnlp"],
1283
+ "application/x-keepass2": ["kdbx"],
1284
+ "application/x-latex": ["latex"],
1285
+ "application/x-lua-bytecode": ["luac"],
1286
+ "application/x-lzh-compressed": ["lzh", "lha"],
1287
+ "application/x-makeself": ["run"],
1288
+ "application/x-mie": ["mie"],
1289
+ "application/x-mobipocket-ebook": ["*prc", "mobi"],
1290
+ "application/x-ms-application": ["application"],
1291
+ "application/x-ms-shortcut": ["lnk"],
1292
+ "application/x-ms-wmd": ["wmd"],
1293
+ "application/x-ms-wmz": ["wmz"],
1294
+ "application/x-ms-xbap": ["xbap"],
1295
+ "application/x-msaccess": ["mdb"],
1296
+ "application/x-msbinder": ["obd"],
1297
+ "application/x-mscardfile": ["crd"],
1298
+ "application/x-msclip": ["clp"],
1299
+ "application/x-msdos-program": ["*exe"],
1300
+ "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"],
1301
+ "application/x-msmediaview": ["mvb", "m13", "m14"],
1302
+ "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"],
1303
+ "application/x-msmoney": ["mny"],
1304
+ "application/x-mspublisher": ["pub"],
1305
+ "application/x-msschedule": ["scd"],
1306
+ "application/x-msterminal": ["trm"],
1307
+ "application/x-mswrite": ["wri"],
1308
+ "application/x-netcdf": ["nc", "cdf"],
1309
+ "application/x-ns-proxy-autoconfig": ["pac"],
1310
+ "application/x-nzb": ["nzb"],
1311
+ "application/x-perl": ["pl", "pm"],
1312
+ "application/x-pilot": ["*prc", "*pdb"],
1313
+ "application/x-pkcs12": ["p12", "pfx"],
1314
+ "application/x-pkcs7-certificates": ["p7b", "spc"],
1315
+ "application/x-pkcs7-certreqresp": ["p7r"],
1316
+ "application/x-rar-compressed": ["*rar"],
1317
+ "application/x-redhat-package-manager": ["rpm"],
1318
+ "application/x-research-info-systems": ["ris"],
1319
+ "application/x-sea": ["sea"],
1320
+ "application/x-sh": ["sh"],
1321
+ "application/x-shar": ["shar"],
1322
+ "application/x-shockwave-flash": ["swf"],
1323
+ "application/x-silverlight-app": ["xap"],
1324
+ "application/x-sql": ["*sql"],
1325
+ "application/x-stuffit": ["sit"],
1326
+ "application/x-stuffitx": ["sitx"],
1327
+ "application/x-subrip": ["srt"],
1328
+ "application/x-sv4cpio": ["sv4cpio"],
1329
+ "application/x-sv4crc": ["sv4crc"],
1330
+ "application/x-t3vm-image": ["t3"],
1331
+ "application/x-tads": ["gam"],
1332
+ "application/x-tar": ["tar"],
1333
+ "application/x-tcl": ["tcl", "tk"],
1334
+ "application/x-tex": ["tex"],
1335
+ "application/x-tex-tfm": ["tfm"],
1336
+ "application/x-texinfo": ["texinfo", "texi"],
1337
+ "application/x-tgif": ["*obj"],
1338
+ "application/x-ustar": ["ustar"],
1339
+ "application/x-virtualbox-hdd": ["hdd"],
1340
+ "application/x-virtualbox-ova": ["ova"],
1341
+ "application/x-virtualbox-ovf": ["ovf"],
1342
+ "application/x-virtualbox-vbox": ["vbox"],
1343
+ "application/x-virtualbox-vbox-extpack": ["vbox-extpack"],
1344
+ "application/x-virtualbox-vdi": ["vdi"],
1345
+ "application/x-virtualbox-vhd": ["vhd"],
1346
+ "application/x-virtualbox-vmdk": ["vmdk"],
1347
+ "application/x-wais-source": ["src"],
1348
+ "application/x-web-app-manifest+json": ["webapp"],
1349
+ "application/x-x509-ca-cert": ["der", "crt", "pem"],
1350
+ "application/x-xfig": ["fig"],
1351
+ "application/x-xliff+xml": ["*xlf"],
1352
+ "application/x-xpinstall": ["xpi"],
1353
+ "application/x-xz": ["xz"],
1354
+ "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"],
1355
+ "audio/vnd.dece.audio": ["uva", "uvva"],
1356
+ "audio/vnd.digital-winds": ["eol"],
1357
+ "audio/vnd.dra": ["dra"],
1358
+ "audio/vnd.dts": ["dts"],
1359
+ "audio/vnd.dts.hd": ["dtshd"],
1360
+ "audio/vnd.lucent.voice": ["lvp"],
1361
+ "audio/vnd.ms-playready.media.pya": ["pya"],
1362
+ "audio/vnd.nuera.ecelp4800": ["ecelp4800"],
1363
+ "audio/vnd.nuera.ecelp7470": ["ecelp7470"],
1364
+ "audio/vnd.nuera.ecelp9600": ["ecelp9600"],
1365
+ "audio/vnd.rip": ["rip"],
1366
+ "audio/x-aac": ["*aac"],
1367
+ "audio/x-aiff": ["aif", "aiff", "aifc"],
1368
+ "audio/x-caf": ["caf"],
1369
+ "audio/x-flac": ["flac"],
1370
+ "audio/x-m4a": ["*m4a"],
1371
+ "audio/x-matroska": ["mka"],
1372
+ "audio/x-mpegurl": ["m3u"],
1373
+ "audio/x-ms-wax": ["wax"],
1374
+ "audio/x-ms-wma": ["wma"],
1375
+ "audio/x-pn-realaudio": ["ram", "ra"],
1376
+ "audio/x-pn-realaudio-plugin": ["rmp"],
1377
+ "audio/x-realaudio": ["*ra"],
1378
+ "audio/x-wav": ["*wav"],
1379
+ "chemical/x-cdx": ["cdx"],
1380
+ "chemical/x-cif": ["cif"],
1381
+ "chemical/x-cmdf": ["cmdf"],
1382
+ "chemical/x-cml": ["cml"],
1383
+ "chemical/x-csml": ["csml"],
1384
+ "chemical/x-xyz": ["xyz"],
1385
+ "image/prs.btif": ["btif", "btf"],
1386
+ "image/prs.pti": ["pti"],
1387
+ "image/vnd.adobe.photoshop": ["psd"],
1388
+ "image/vnd.airzip.accelerator.azv": ["azv"],
1389
+ "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"],
1390
+ "image/vnd.djvu": ["djvu", "djv"],
1391
+ "image/vnd.dvb.subtitle": ["*sub"],
1392
+ "image/vnd.dwg": ["dwg"],
1393
+ "image/vnd.dxf": ["dxf"],
1394
+ "image/vnd.fastbidsheet": ["fbs"],
1395
+ "image/vnd.fpx": ["fpx"],
1396
+ "image/vnd.fst": ["fst"],
1397
+ "image/vnd.fujixerox.edmics-mmr": ["mmr"],
1398
+ "image/vnd.fujixerox.edmics-rlc": ["rlc"],
1399
+ "image/vnd.microsoft.icon": ["ico"],
1400
+ "image/vnd.ms-dds": ["dds"],
1401
+ "image/vnd.ms-modi": ["mdi"],
1402
+ "image/vnd.ms-photo": ["wdp"],
1403
+ "image/vnd.net-fpx": ["npx"],
1404
+ "image/vnd.pco.b16": ["b16"],
1405
+ "image/vnd.tencent.tap": ["tap"],
1406
+ "image/vnd.valve.source.texture": ["vtf"],
1407
+ "image/vnd.wap.wbmp": ["wbmp"],
1408
+ "image/vnd.xiff": ["xif"],
1409
+ "image/vnd.zbrush.pcx": ["pcx"],
1410
+ "image/x-3ds": ["3ds"],
1411
+ "image/x-cmu-raster": ["ras"],
1412
+ "image/x-cmx": ["cmx"],
1413
+ "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"],
1414
+ "image/x-icon": ["*ico"],
1415
+ "image/x-jng": ["jng"],
1416
+ "image/x-mrsid-image": ["sid"],
1417
+ "image/x-ms-bmp": ["*bmp"],
1418
+ "image/x-pcx": ["*pcx"],
1419
+ "image/x-pict": ["pic", "pct"],
1420
+ "image/x-portable-anymap": ["pnm"],
1421
+ "image/x-portable-bitmap": ["pbm"],
1422
+ "image/x-portable-graymap": ["pgm"],
1423
+ "image/x-portable-pixmap": ["ppm"],
1424
+ "image/x-rgb": ["rgb"],
1425
+ "image/x-tga": ["tga"],
1426
+ "image/x-xbitmap": ["xbm"],
1427
+ "image/x-xpixmap": ["xpm"],
1428
+ "image/x-xwindowdump": ["xwd"],
1429
+ "message/vnd.wfa.wsc": ["wsc"],
1430
+ "model/vnd.bary": ["bary"],
1431
+ "model/vnd.cld": ["cld"],
1432
+ "model/vnd.collada+xml": ["dae"],
1433
+ "model/vnd.dwf": ["dwf"],
1434
+ "model/vnd.gdl": ["gdl"],
1435
+ "model/vnd.gtw": ["gtw"],
1436
+ "model/vnd.mts": ["*mts"],
1437
+ "model/vnd.opengex": ["ogex"],
1438
+ "model/vnd.parasolid.transmit.binary": ["x_b"],
1439
+ "model/vnd.parasolid.transmit.text": ["x_t"],
1440
+ "model/vnd.pytha.pyox": ["pyo", "pyox"],
1441
+ "model/vnd.sap.vds": ["vds"],
1442
+ "model/vnd.usda": ["usda"],
1443
+ "model/vnd.usdz+zip": ["usdz"],
1444
+ "model/vnd.valve.source.compiled-map": ["bsp"],
1445
+ "model/vnd.vtu": ["vtu"],
1446
+ "text/prs.lines.tag": ["dsc"],
1447
+ "text/vnd.curl": ["curl"],
1448
+ "text/vnd.curl.dcurl": ["dcurl"],
1449
+ "text/vnd.curl.mcurl": ["mcurl"],
1450
+ "text/vnd.curl.scurl": ["scurl"],
1451
+ "text/vnd.dvb.subtitle": ["sub"],
1452
+ "text/vnd.familysearch.gedcom": ["ged"],
1453
+ "text/vnd.fly": ["fly"],
1454
+ "text/vnd.fmi.flexstor": ["flx"],
1455
+ "text/vnd.graphviz": ["gv"],
1456
+ "text/vnd.in3d.3dml": ["3dml"],
1457
+ "text/vnd.in3d.spot": ["spot"],
1458
+ "text/vnd.sun.j2me.app-descriptor": ["jad"],
1459
+ "text/vnd.wap.wml": ["wml"],
1460
+ "text/vnd.wap.wmlscript": ["wmls"],
1461
+ "text/x-asm": ["s", "asm"],
1462
+ "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"],
1463
+ "text/x-component": ["htc"],
1464
+ "text/x-fortran": ["f", "for", "f77", "f90"],
1465
+ "text/x-handlebars-template": ["hbs"],
1466
+ "text/x-java-source": ["java"],
1467
+ "text/x-lua": ["lua"],
1468
+ "text/x-markdown": ["mkd"],
1469
+ "text/x-nfo": ["nfo"],
1470
+ "text/x-opml": ["opml"],
1471
+ "text/x-org": ["*org"],
1472
+ "text/x-pascal": ["p", "pas"],
1473
+ "text/x-processing": ["pde"],
1474
+ "text/x-sass": ["sass"],
1475
+ "text/x-scss": ["scss"],
1476
+ "text/x-setext": ["etx"],
1477
+ "text/x-sfv": ["sfv"],
1478
+ "text/x-suse-ymp": ["ymp"],
1479
+ "text/x-uuencode": ["uu"],
1480
+ "text/x-vcalendar": ["vcs"],
1481
+ "text/x-vcard": ["vcf"],
1482
+ "video/vnd.dece.hd": ["uvh", "uvvh"],
1483
+ "video/vnd.dece.mobile": ["uvm", "uvvm"],
1484
+ "video/vnd.dece.pd": ["uvp", "uvvp"],
1485
+ "video/vnd.dece.sd": ["uvs", "uvvs"],
1486
+ "video/vnd.dece.video": ["uvv", "uvvv"],
1487
+ "video/vnd.dvb.file": ["dvb"],
1488
+ "video/vnd.fvt": ["fvt"],
1489
+ "video/vnd.mpegurl": ["mxu", "m4u"],
1490
+ "video/vnd.ms-playready.media.pyv": ["pyv"],
1491
+ "video/vnd.uvvu.mp4": ["uvu", "uvvu"],
1492
+ "video/vnd.vivo": ["viv"],
1493
+ "video/x-f4v": ["f4v"],
1494
+ "video/x-fli": ["fli"],
1495
+ "video/x-flv": ["flv"],
1496
+ "video/x-m4v": ["m4v"],
1497
+ "video/x-matroska": ["mkv", "mk3d", "mks"],
1498
+ "video/x-mng": ["mng"],
1499
+ "video/x-ms-asf": ["asf", "asx"],
1500
+ "video/x-ms-vob": ["vob"],
1501
+ "video/x-ms-wm": ["wm"],
1502
+ "video/x-ms-wmv": ["wmv"],
1503
+ "video/x-ms-wmx": ["wmx"],
1504
+ "video/x-ms-wvx": ["wvx"],
1505
+ "video/x-msvideo": ["avi"],
1506
+ "video/x-sgi-movie": ["movie"],
1507
+ "video/x-smv": ["smv"],
1508
+ "x-conference/x-cooltalk": ["ice"]
1509
+ };
1510
+ Object.freeze(Sa);
1511
+ const Ta = {
1512
+ "application/andrew-inset": ["ez"],
1513
+ "application/appinstaller": ["appinstaller"],
1514
+ "application/applixware": ["aw"],
1515
+ "application/appx": ["appx"],
1516
+ "application/appxbundle": ["appxbundle"],
1517
+ "application/atom+xml": ["atom"],
1518
+ "application/atomcat+xml": ["atomcat"],
1519
+ "application/atomdeleted+xml": ["atomdeleted"],
1520
+ "application/atomsvc+xml": ["atomsvc"],
1521
+ "application/atsc-dwd+xml": ["dwd"],
1522
+ "application/atsc-held+xml": ["held"],
1523
+ "application/atsc-rsat+xml": ["rsat"],
1524
+ "application/automationml-aml+xml": ["aml"],
1525
+ "application/automationml-amlx+zip": ["amlx"],
1526
+ "application/bdoc": ["bdoc"],
1527
+ "application/calendar+xml": ["xcs"],
1528
+ "application/ccxml+xml": ["ccxml"],
1529
+ "application/cdfx+xml": ["cdfx"],
1530
+ "application/cdmi-capability": ["cdmia"],
1531
+ "application/cdmi-container": ["cdmic"],
1532
+ "application/cdmi-domain": ["cdmid"],
1533
+ "application/cdmi-object": ["cdmio"],
1534
+ "application/cdmi-queue": ["cdmiq"],
1535
+ "application/cpl+xml": ["cpl"],
1536
+ "application/cu-seeme": ["cu"],
1537
+ "application/cwl": ["cwl"],
1538
+ "application/dash+xml": ["mpd"],
1539
+ "application/dash-patch+xml": ["mpp"],
1540
+ "application/davmount+xml": ["davmount"],
1541
+ "application/docbook+xml": ["dbk"],
1542
+ "application/dssc+der": ["dssc"],
1543
+ "application/dssc+xml": ["xdssc"],
1544
+ "application/ecmascript": ["ecma"],
1545
+ "application/emma+xml": ["emma"],
1546
+ "application/emotionml+xml": ["emotionml"],
1547
+ "application/epub+zip": ["epub"],
1548
+ "application/exi": ["exi"],
1549
+ "application/express": ["exp"],
1550
+ "application/fdf": ["fdf"],
1551
+ "application/fdt+xml": ["fdt"],
1552
+ "application/font-tdpfr": ["pfr"],
1553
+ "application/geo+json": ["geojson"],
1554
+ "application/gml+xml": ["gml"],
1555
+ "application/gpx+xml": ["gpx"],
1556
+ "application/gxf": ["gxf"],
1557
+ "application/gzip": ["gz"],
1558
+ "application/hjson": ["hjson"],
1559
+ "application/hyperstudio": ["stk"],
1560
+ "application/inkml+xml": ["ink", "inkml"],
1561
+ "application/ipfix": ["ipfix"],
1562
+ "application/its+xml": ["its"],
1563
+ "application/java-archive": ["jar", "war", "ear"],
1564
+ "application/java-serialized-object": ["ser"],
1565
+ "application/java-vm": ["class"],
1566
+ "application/javascript": ["*js"],
1567
+ "application/json": ["json", "map"],
1568
+ "application/json5": ["json5"],
1569
+ "application/jsonml+json": ["jsonml"],
1570
+ "application/ld+json": ["jsonld"],
1571
+ "application/lgr+xml": ["lgr"],
1572
+ "application/lost+xml": ["lostxml"],
1573
+ "application/mac-binhex40": ["hqx"],
1574
+ "application/mac-compactpro": ["cpt"],
1575
+ "application/mads+xml": ["mads"],
1576
+ "application/manifest+json": ["webmanifest"],
1577
+ "application/marc": ["mrc"],
1578
+ "application/marcxml+xml": ["mrcx"],
1579
+ "application/mathematica": ["ma", "nb", "mb"],
1580
+ "application/mathml+xml": ["mathml"],
1581
+ "application/mbox": ["mbox"],
1582
+ "application/media-policy-dataset+xml": ["mpf"],
1583
+ "application/mediaservercontrol+xml": ["mscml"],
1584
+ "application/metalink+xml": ["metalink"],
1585
+ "application/metalink4+xml": ["meta4"],
1586
+ "application/mets+xml": ["mets"],
1587
+ "application/mmt-aei+xml": ["maei"],
1588
+ "application/mmt-usd+xml": ["musd"],
1589
+ "application/mods+xml": ["mods"],
1590
+ "application/mp21": ["m21", "mp21"],
1591
+ "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"],
1592
+ "application/msix": ["msix"],
1593
+ "application/msixbundle": ["msixbundle"],
1594
+ "application/msword": ["doc", "dot"],
1595
+ "application/mxf": ["mxf"],
1596
+ "application/n-quads": ["nq"],
1597
+ "application/n-triples": ["nt"],
1598
+ "application/node": ["cjs"],
1599
+ "application/octet-stream": [
1600
+ "bin",
1601
+ "dms",
1602
+ "lrf",
1603
+ "mar",
1604
+ "so",
1605
+ "dist",
1606
+ "distz",
1607
+ "pkg",
1608
+ "bpk",
1609
+ "dump",
1610
+ "elc",
1611
+ "deploy",
1612
+ "exe",
1613
+ "dll",
1614
+ "deb",
1615
+ "dmg",
1616
+ "iso",
1617
+ "img",
1618
+ "msi",
1619
+ "msp",
1620
+ "msm",
1621
+ "buffer"
1622
+ ],
1623
+ "application/oda": ["oda"],
1624
+ "application/oebps-package+xml": ["opf"],
1625
+ "application/ogg": ["ogx"],
1626
+ "application/omdoc+xml": ["omdoc"],
1627
+ "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"],
1628
+ "application/oxps": ["oxps"],
1629
+ "application/p2p-overlay+xml": ["relo"],
1630
+ "application/patch-ops-error+xml": ["xer"],
1631
+ "application/pdf": ["pdf"],
1632
+ "application/pgp-encrypted": ["pgp"],
1633
+ "application/pgp-keys": ["asc"],
1634
+ "application/pgp-signature": ["sig", "*asc"],
1635
+ "application/pics-rules": ["prf"],
1636
+ "application/pkcs10": ["p10"],
1637
+ "application/pkcs7-mime": ["p7m", "p7c"],
1638
+ "application/pkcs7-signature": ["p7s"],
1639
+ "application/pkcs8": ["p8"],
1640
+ "application/pkix-attr-cert": ["ac"],
1641
+ "application/pkix-cert": ["cer"],
1642
+ "application/pkix-crl": ["crl"],
1643
+ "application/pkix-pkipath": ["pkipath"],
1644
+ "application/pkixcmp": ["pki"],
1645
+ "application/pls+xml": ["pls"],
1646
+ "application/postscript": ["ai", "eps", "ps"],
1647
+ "application/provenance+xml": ["provx"],
1648
+ "application/pskc+xml": ["pskcxml"],
1649
+ "application/raml+yaml": ["raml"],
1650
+ "application/rdf+xml": ["rdf", "owl"],
1651
+ "application/reginfo+xml": ["rif"],
1652
+ "application/relax-ng-compact-syntax": ["rnc"],
1653
+ "application/resource-lists+xml": ["rl"],
1654
+ "application/resource-lists-diff+xml": ["rld"],
1655
+ "application/rls-services+xml": ["rs"],
1656
+ "application/route-apd+xml": ["rapd"],
1657
+ "application/route-s-tsid+xml": ["sls"],
1658
+ "application/route-usd+xml": ["rusd"],
1659
+ "application/rpki-ghostbusters": ["gbr"],
1660
+ "application/rpki-manifest": ["mft"],
1661
+ "application/rpki-roa": ["roa"],
1662
+ "application/rsd+xml": ["rsd"],
1663
+ "application/rss+xml": ["rss"],
1664
+ "application/rtf": ["rtf"],
1665
+ "application/sbml+xml": ["sbml"],
1666
+ "application/scvp-cv-request": ["scq"],
1667
+ "application/scvp-cv-response": ["scs"],
1668
+ "application/scvp-vp-request": ["spq"],
1669
+ "application/scvp-vp-response": ["spp"],
1670
+ "application/sdp": ["sdp"],
1671
+ "application/senml+xml": ["senmlx"],
1672
+ "application/sensml+xml": ["sensmlx"],
1673
+ "application/set-payment-initiation": ["setpay"],
1674
+ "application/set-registration-initiation": ["setreg"],
1675
+ "application/shf+xml": ["shf"],
1676
+ "application/sieve": ["siv", "sieve"],
1677
+ "application/smil+xml": ["smi", "smil"],
1678
+ "application/sparql-query": ["rq"],
1679
+ "application/sparql-results+xml": ["srx"],
1680
+ "application/sql": ["sql"],
1681
+ "application/srgs": ["gram"],
1682
+ "application/srgs+xml": ["grxml"],
1683
+ "application/sru+xml": ["sru"],
1684
+ "application/ssdl+xml": ["ssdl"],
1685
+ "application/ssml+xml": ["ssml"],
1686
+ "application/swid+xml": ["swidtag"],
1687
+ "application/tei+xml": ["tei", "teicorpus"],
1688
+ "application/thraud+xml": ["tfi"],
1689
+ "application/timestamped-data": ["tsd"],
1690
+ "application/toml": ["toml"],
1691
+ "application/trig": ["trig"],
1692
+ "application/ttml+xml": ["ttml"],
1693
+ "application/ubjson": ["ubj"],
1694
+ "application/urc-ressheet+xml": ["rsheet"],
1695
+ "application/urc-targetdesc+xml": ["td"],
1696
+ "application/voicexml+xml": ["vxml"],
1697
+ "application/wasm": ["wasm"],
1698
+ "application/watcherinfo+xml": ["wif"],
1699
+ "application/widget": ["wgt"],
1700
+ "application/winhlp": ["hlp"],
1701
+ "application/wsdl+xml": ["wsdl"],
1702
+ "application/wspolicy+xml": ["wspolicy"],
1703
+ "application/xaml+xml": ["xaml"],
1704
+ "application/xcap-att+xml": ["xav"],
1705
+ "application/xcap-caps+xml": ["xca"],
1706
+ "application/xcap-diff+xml": ["xdf"],
1707
+ "application/xcap-el+xml": ["xel"],
1708
+ "application/xcap-ns+xml": ["xns"],
1709
+ "application/xenc+xml": ["xenc"],
1710
+ "application/xfdf": ["xfdf"],
1711
+ "application/xhtml+xml": ["xhtml", "xht"],
1712
+ "application/xliff+xml": ["xlf"],
1713
+ "application/xml": ["xml", "xsl", "xsd", "rng"],
1714
+ "application/xml-dtd": ["dtd"],
1715
+ "application/xop+xml": ["xop"],
1716
+ "application/xproc+xml": ["xpl"],
1717
+ "application/xslt+xml": ["*xsl", "xslt"],
1718
+ "application/xspf+xml": ["xspf"],
1719
+ "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"],
1720
+ "application/yang": ["yang"],
1721
+ "application/yin+xml": ["yin"],
1722
+ "application/zip": ["zip"],
1723
+ "audio/3gpp": ["*3gpp"],
1724
+ "audio/aac": ["adts", "aac"],
1725
+ "audio/adpcm": ["adp"],
1726
+ "audio/amr": ["amr"],
1727
+ "audio/basic": ["au", "snd"],
1728
+ "audio/midi": ["mid", "midi", "kar", "rmi"],
1729
+ "audio/mobile-xmf": ["mxmf"],
1730
+ "audio/mp3": ["*mp3"],
1731
+ "audio/mp4": ["m4a", "mp4a"],
1732
+ "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
1733
+ "audio/ogg": ["oga", "ogg", "spx", "opus"],
1734
+ "audio/s3m": ["s3m"],
1735
+ "audio/silk": ["sil"],
1736
+ "audio/wav": ["wav"],
1737
+ "audio/wave": ["*wav"],
1738
+ "audio/webm": ["weba"],
1739
+ "audio/xm": ["xm"],
1740
+ "font/collection": ["ttc"],
1741
+ "font/otf": ["otf"],
1742
+ "font/ttf": ["ttf"],
1743
+ "font/woff": ["woff"],
1744
+ "font/woff2": ["woff2"],
1745
+ "image/aces": ["exr"],
1746
+ "image/apng": ["apng"],
1747
+ "image/avci": ["avci"],
1748
+ "image/avcs": ["avcs"],
1749
+ "image/avif": ["avif"],
1750
+ "image/bmp": ["bmp", "dib"],
1751
+ "image/cgm": ["cgm"],
1752
+ "image/dicom-rle": ["drle"],
1753
+ "image/dpx": ["dpx"],
1754
+ "image/emf": ["emf"],
1755
+ "image/fits": ["fits"],
1756
+ "image/g3fax": ["g3"],
1757
+ "image/gif": ["gif"],
1758
+ "image/heic": ["heic"],
1759
+ "image/heic-sequence": ["heics"],
1760
+ "image/heif": ["heif"],
1761
+ "image/heif-sequence": ["heifs"],
1762
+ "image/hej2k": ["hej2"],
1763
+ "image/hsj2": ["hsj2"],
1764
+ "image/ief": ["ief"],
1765
+ "image/jls": ["jls"],
1766
+ "image/jp2": ["jp2", "jpg2"],
1767
+ "image/jpeg": ["jpeg", "jpg", "jpe"],
1768
+ "image/jph": ["jph"],
1769
+ "image/jphc": ["jhc"],
1770
+ "image/jpm": ["jpm", "jpgm"],
1771
+ "image/jpx": ["jpx", "jpf"],
1772
+ "image/jxl": ["jxl"],
1773
+ "image/jxr": ["jxr"],
1774
+ "image/jxra": ["jxra"],
1775
+ "image/jxrs": ["jxrs"],
1776
+ "image/jxs": ["jxs"],
1777
+ "image/jxsc": ["jxsc"],
1778
+ "image/jxsi": ["jxsi"],
1779
+ "image/jxss": ["jxss"],
1780
+ "image/ktx": ["ktx"],
1781
+ "image/ktx2": ["ktx2"],
1782
+ "image/png": ["png"],
1783
+ "image/sgi": ["sgi"],
1784
+ "image/svg+xml": ["svg", "svgz"],
1785
+ "image/t38": ["t38"],
1786
+ "image/tiff": ["tif", "tiff"],
1787
+ "image/tiff-fx": ["tfx"],
1788
+ "image/webp": ["webp"],
1789
+ "image/wmf": ["wmf"],
1790
+ "message/disposition-notification": ["disposition-notification"],
1791
+ "message/global": ["u8msg"],
1792
+ "message/global-delivery-status": ["u8dsn"],
1793
+ "message/global-disposition-notification": ["u8mdn"],
1794
+ "message/global-headers": ["u8hdr"],
1795
+ "message/rfc822": ["eml", "mime"],
1796
+ "model/3mf": ["3mf"],
1797
+ "model/gltf+json": ["gltf"],
1798
+ "model/gltf-binary": ["glb"],
1799
+ "model/iges": ["igs", "iges"],
1800
+ "model/jt": ["jt"],
1801
+ "model/mesh": ["msh", "mesh", "silo"],
1802
+ "model/mtl": ["mtl"],
1803
+ "model/obj": ["obj"],
1804
+ "model/prc": ["prc"],
1805
+ "model/step+xml": ["stpx"],
1806
+ "model/step+zip": ["stpz"],
1807
+ "model/step-xml+zip": ["stpxz"],
1808
+ "model/stl": ["stl"],
1809
+ "model/u3d": ["u3d"],
1810
+ "model/vrml": ["wrl", "vrml"],
1811
+ "model/x3d+binary": ["*x3db", "x3dbz"],
1812
+ "model/x3d+fastinfoset": ["x3db"],
1813
+ "model/x3d+vrml": ["*x3dv", "x3dvz"],
1814
+ "model/x3d+xml": ["x3d", "x3dz"],
1815
+ "model/x3d-vrml": ["x3dv"],
1816
+ "text/cache-manifest": ["appcache", "manifest"],
1817
+ "text/calendar": ["ics", "ifb"],
1818
+ "text/coffeescript": ["coffee", "litcoffee"],
1819
+ "text/css": ["css"],
1820
+ "text/csv": ["csv"],
1821
+ "text/html": ["html", "htm", "shtml"],
1822
+ "text/jade": ["jade"],
1823
+ "text/javascript": ["js", "mjs"],
1824
+ "text/jsx": ["jsx"],
1825
+ "text/less": ["less"],
1826
+ "text/markdown": ["md", "markdown"],
1827
+ "text/mathml": ["mml"],
1828
+ "text/mdx": ["mdx"],
1829
+ "text/n3": ["n3"],
1830
+ "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"],
1831
+ "text/richtext": ["rtx"],
1832
+ "text/rtf": ["*rtf"],
1833
+ "text/sgml": ["sgml", "sgm"],
1834
+ "text/shex": ["shex"],
1835
+ "text/slim": ["slim", "slm"],
1836
+ "text/spdx": ["spdx"],
1837
+ "text/stylus": ["stylus", "styl"],
1838
+ "text/tab-separated-values": ["tsv"],
1839
+ "text/troff": ["t", "tr", "roff", "man", "me", "ms"],
1840
+ "text/turtle": ["ttl"],
1841
+ "text/uri-list": ["uri", "uris", "urls"],
1842
+ "text/vcard": ["vcard"],
1843
+ "text/vtt": ["vtt"],
1844
+ "text/wgsl": ["wgsl"],
1845
+ "text/xml": ["*xml"],
1846
+ "text/yaml": ["yaml", "yml"],
1847
+ "video/3gpp": ["3gp", "3gpp"],
1848
+ "video/3gpp2": ["3g2"],
1849
+ "video/h261": ["h261"],
1850
+ "video/h263": ["h263"],
1851
+ "video/h264": ["h264"],
1852
+ "video/iso.segment": ["m4s"],
1853
+ "video/jpeg": ["jpgv"],
1854
+ "video/jpm": ["*jpm", "*jpgm"],
1855
+ "video/mj2": ["mj2", "mjp2"],
1856
+ "video/mp2t": ["ts", "m2t", "m2ts", "mts"],
1857
+ "video/mp4": ["mp4", "mp4v", "mpg4"],
1858
+ "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"],
1859
+ "video/ogg": ["ogv"],
1860
+ "video/quicktime": ["qt", "mov"],
1861
+ "video/webm": ["webm"]
1862
+ };
1863
+ Object.freeze(Ta);
1864
+ var R = function(a, i, n, e) {
1865
+ if (n === "a" && !e) throw new TypeError("Private accessor was defined without a getter");
1866
+ if (typeof i == "function" ? a !== i || !e : !i.has(a)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1867
+ return n === "m" ? e : n === "a" ? e.call(a) : e ? e.value : i.get(a);
1868
+ }, F, P, D;
1869
+ class ke {
1870
+ constructor(...i) {
1871
+ F.set(this, /* @__PURE__ */ new Map()), P.set(this, /* @__PURE__ */ new Map()), D.set(this, /* @__PURE__ */ new Map());
1872
+ for (const n of i)
1873
+ this.define(n);
1874
+ }
1875
+ define(i, n = !1) {
1876
+ for (let [e, l] of Object.entries(i)) {
1877
+ e = e.toLowerCase(), l = l.map((c) => c.toLowerCase()), R(this, D, "f").has(e) || R(this, D, "f").set(e, /* @__PURE__ */ new Set());
1878
+ const t = R(this, D, "f").get(e);
1879
+ let C = !0;
1880
+ for (let c of l) {
1881
+ const d = c.startsWith("*");
1882
+ if (c = d ? c.slice(1) : c, t == null || t.add(c), C && R(this, P, "f").set(e, c), C = !1, d)
1883
+ continue;
1884
+ const w = R(this, F, "f").get(c);
1885
+ if (w && w != e && !n)
1886
+ throw new Error(`"${e} -> ${c}" conflicts with "${w} -> ${c}". Pass \`force=true\` to override this definition.`);
1887
+ R(this, F, "f").set(c, e);
1888
+ }
1889
+ }
1890
+ return this;
1891
+ }
1892
+ getType(i) {
1893
+ if (typeof i != "string")
1894
+ return null;
1895
+ const n = i.replace(/^.*[/\\]/, "").toLowerCase(), e = n.replace(/^.*\./, "").toLowerCase(), l = n.length < i.length;
1896
+ return !(e.length < n.length - 1) && l ? null : R(this, F, "f").get(e) ?? null;
1897
+ }
1898
+ getExtension(i) {
1899
+ var n;
1900
+ return typeof i != "string" ? null : (i = (n = i == null ? void 0 : i.split) == null ? void 0 : n.call(i, ";")[0], (i && R(this, P, "f").get(i.trim().toLowerCase())) ?? null);
1901
+ }
1902
+ getAllExtensions(i) {
1903
+ return typeof i != "string" ? null : R(this, D, "f").get(i.toLowerCase()) ?? null;
1904
+ }
1905
+ _freeze() {
1906
+ this.define = () => {
1907
+ throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1908
+ }, Object.freeze(this);
1909
+ for (const i of R(this, D, "f").values())
1910
+ Object.freeze(i);
1911
+ return this;
1912
+ }
1913
+ _getTestState() {
1914
+ return {
1915
+ types: R(this, F, "f"),
1916
+ extensions: R(this, P, "f")
1917
+ };
1918
+ }
1919
+ }
1920
+ F = /* @__PURE__ */ new WeakMap(), P = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakMap();
1921
+ const $e = new ke(Ta, Sa)._freeze();
1922
+ function je(a) {
1923
+ return $e.getType(a) ?? a;
1924
+ }
1925
+ function _e({ maxCount: a, accept: i }) {
1926
+ const n = la({
1927
+ invalidTypes: !1,
1928
+ partiallyInvalidTypes: !1,
1929
+ maxCountOverflow: !1
1930
+ }), e = la({
1931
+ dragging: !1,
1932
+ error: !1
1933
+ }), l = b(() => i.value ? i.value.split(",").map((d) => je(d.trim().toLocaleLowerCase())) : void 0);
1934
+ function t() {
1935
+ e.dragging = !1, e.error = !1, n.invalidTypes = !1, n.partiallyInvalidTypes = !1, n.maxCountOverflow = !1;
1936
+ }
1937
+ function C(c, d) {
1938
+ if (e.dragging = !0, (!d.dataTransfer.types.includes("Files") || c > a.value) && (n.maxCountOverflow = !0, e.error = !0), !l.value)
1939
+ return;
1940
+ let w = 0;
1941
+ for (const q of d.dataTransfer.items)
1942
+ l.value.includes(q.type) && w++;
1943
+ if (w === 0) {
1944
+ e.error = !0, n.invalidTypes = !0;
1945
+ return;
1946
+ }
1947
+ !n.invalidTypes && w !== d.dataTransfer.items.length && (e.error = !0, n.partiallyInvalidTypes = !0);
1948
+ }
1949
+ return {
1950
+ dragState: e,
1951
+ dragErrors: n,
1952
+ resetDragState: t,
1953
+ onDragEnterValidations: C
1954
+ };
1955
+ }
1956
+ const ze = ["id", "accept", "disabled", "multiple"], Ee = ["aria-label", "tabindex"], Re = { class: "b-file-uploader__icon" }, Le = { class: "b-file-uploader__files" }, Ie = {
1957
+ model: { prop: "modelValue" },
1958
+ i18n: { messages: Ma }
1959
+ }, Ve = /* @__PURE__ */ ia({
1960
+ ...Ie,
1961
+ __name: "file-uploader",
1962
+ props: {
1963
+ accept: { default: null },
1964
+ condensed: { type: Boolean },
1965
+ description: { default: null },
1966
+ disabled: { type: Boolean },
1967
+ errorMessage: { default: null },
1968
+ label: {},
1969
+ maxCount: { default: 1 },
1970
+ maxDimensions: { default: null },
1971
+ maxSize: { default: null },
1972
+ modelValue: { default: null },
1973
+ optional: { type: Boolean },
1974
+ required: { type: Boolean },
1975
+ tooltipText: { default: null }
1976
+ },
1977
+ emits: ["change", "update:modelValue"],
1978
+ setup(a, { emit: i }) {
1979
+ const { t: n, tc: e } = ea({ messages: Ma }), l = i, t = a, { supportedFileTypeList: C } = ye(pa(t, "accept")), c = T(null), d = T(null), w = oa("input"), q = oa("input-error"), { dragState: U, dragErrors: H, resetDragState: Z, onDragEnterValidations: W } = _e({
1980
+ accept: pa(t, "accept"),
1981
+ maxCount: pa(t, "maxCount")
1982
+ }), G = b(() => {
1983
+ var p, m, y;
1984
+ return {
1985
+ condensed: t.condensed,
1986
+ disabled: t.disabled,
1987
+ maxCount: O.value ? {
1988
+ value: t.maxCount,
1989
+ error: H.maxCountOverflow || X.value
1990
+ } : null,
1991
+ maxDimensions: t.maxDimensions ? {
1992
+ value: t.maxDimensions,
1993
+ error: (p = c.value) == null ? void 0 : p.some((k) => k.errors.includes(j.ERROR_DIMENSIONS))
1994
+ } : null,
1995
+ maxSize: t.maxSize ? {
1996
+ value: t.maxSize,
1997
+ error: (m = c.value) == null ? void 0 : m.some((k) => k.errors.includes(j.ERROR_SIZE))
1998
+ } : null,
1999
+ supportedFileTypes: C.value ? {
2000
+ value: C.value,
2001
+ error: H.invalidTypes || H.partiallyInvalidTypes || ((y = c.value) == null ? void 0 : y.some((k) => k.errors.includes(j.ERROR_TYPE)))
2002
+ } : null
2003
+ };
2004
+ }), B = T(), Y = b(() => ({
2005
+ [`b-file-uploader--${aa.DISABLED}`]: t.disabled,
2006
+ [`b-file-uploader--${aa.DRAG_OVER}`]: U.dragging,
2007
+ [`b-file-uploader--${aa.ERROR}`]: A.value,
2008
+ "b-file-uploader--condensed": t.condensed
2009
+ })), O = b(() => t.maxCount > 1), ta = b(() => {
2010
+ var p;
2011
+ return t.maxCount && ((p = c.value) == null ? void 0 : p.length) >= t.maxCount;
2012
+ }), A = b(() => !!t.errorMessage || U.error), X = b(() => {
2013
+ var p;
2014
+ return ((p = c.value) == null ? void 0 : p.length) > t.maxCount;
2015
+ }), J = T(!1);
2016
+ function E(p) {
2017
+ c.value = c.value.filter(({ id: m }) => m !== p.id);
2018
+ }
2019
+ function V(p) {
2020
+ const m = la({
2021
+ id: oa("file"),
2022
+ data: p,
2023
+ errors: [],
2024
+ progress: null,
2025
+ state: L.LOADING,
2026
+ type: yi(p)
2027
+ });
2028
+ return $i(m, t.accept, t.maxDimensions), m;
2029
+ }
2030
+ function K(p) {
2031
+ var m;
2032
+ ((m = c.value) == null ? void 0 : m.length) === t.maxCount && p.preventDefault();
2033
+ }
2034
+ function sa(p) {
2035
+ if (t.maxCount === 1 && p.length > t.maxCount) {
2036
+ na(), Z();
2037
+ return;
2038
+ }
2039
+ O.value ? c.value = [...c.value || [], ...Array.from(p).map((m) => V(m))] : c.value = [V(p[0])];
2040
+ }
2041
+ function Da(p) {
2042
+ var y, k;
2043
+ if (t.disabled)
2044
+ return;
2045
+ B.value = p.target;
2046
+ const m = (((y = p.dataTransfer.items) == null ? void 0 : y.length) ?? 0) + (((k = c.value) == null ? void 0 : k.length) ?? 0);
2047
+ W(m, p);
2048
+ }
2049
+ function na() {
2050
+ B.value = null;
2051
+ }
2052
+ function Ha(p) {
2053
+ B.value === p.target && (na(), Z());
2054
+ }
2055
+ function Oa(p) {
2056
+ p.preventDefault(), t.disabled && (p.dataTransfer.dropEffect = "none");
2057
+ }
2058
+ function Fa(p) {
2059
+ var m;
2060
+ t.disabled || (!H.invalidTypes && ((m = p.dataTransfer.files) != null && m.length) && sa(p.dataTransfer.files), na(), Z());
2061
+ }
2062
+ function qa() {
2063
+ var p;
2064
+ (p = d.value.files) != null && p.length && sa(d.value.files), d.value.value = "";
2065
+ }
2066
+ function Za(p) {
2067
+ const m = t.maxCount && p.length <= t.maxCount;
2068
+ J.value = !m;
2069
+ }
2070
+ function Ba(p) {
2071
+ t.maxSize && p.forEach((m) => {
2072
+ const y = m;
2073
+ y.data.size > t.maxSize && (y.state = L.ERROR, y.errors.push(j.ERROR_SIZE));
2074
+ });
2075
+ }
2076
+ function Aa(p) {
2077
+ const m = p.filter(
2078
+ ({ errors: y }) => !y.includes(j.ERROR_LOAD) && !y.includes(j.ERROR_SIZE)
2079
+ );
2080
+ if (m.length) {
2081
+ const y = new DataTransfer();
2082
+ return m.forEach(({ data: k }) => y.items.add(k)), y.files;
2083
+ }
2084
+ }
2085
+ return _a(c, (p) => {
2086
+ if (p) {
2087
+ Za(p), Ba(p);
2088
+ const m = Aa(p);
2089
+ l("change", m), l("update:modelValue", m);
2090
+ } else
2091
+ l("change"), l("update:modelValue");
2092
+ }), (p, m) => {
2093
+ var y;
2094
+ return s(), v("div", {
2095
+ class: S(["b-file-uploader", Y.value])
2096
+ }, [
2097
+ M(o(oi), {
2098
+ class: "b-file-uploader__label",
2099
+ for: o(w),
2100
+ label: p.label,
2101
+ optional: p.optional,
2102
+ required: p.required,
2103
+ "tooltip-text": p.tooltipText
2104
+ }, null, 8, ["for", "label", "optional", "required", "tooltip-text"]),
2105
+ r("input", {
2106
+ id: o(w),
2107
+ ref_key: "inputRef",
2108
+ ref: d,
2109
+ type: "file",
2110
+ tabindex: "-1",
2111
+ "data-testid": "input",
2112
+ class: "b-file-uploader__input",
2113
+ accept: p.accept,
2114
+ disabled: p.disabled,
2115
+ multiple: O.value,
2116
+ onChange: qa,
2117
+ onClick: K
2118
+ }, null, 40, ze),
2119
+ ta.value ? f("", !0) : (s(), v("div", {
2120
+ key: 0,
2121
+ class: "b-file-uploader__area",
2122
+ "aria-label": o(n)("dropArea"),
2123
+ tabindex: p.disabled ? -1 : 0,
2124
+ onClick: m[0] || (m[0] = (k) => d.value.click()),
2125
+ onDragenter: N(Da, ["stop", "prevent"]),
2126
+ onDragleave: N(Ha, ["stop", "prevent"]),
2127
+ onDrop: N(Fa, ["stop", "prevent"]),
2128
+ onDragover: Oa,
2129
+ onKeydownCapture: [
2130
+ m[1] || (m[1] = da(N((k) => d.value.click(), ["prevent"]), ["enter"])),
2131
+ m[2] || (m[2] = da(N((k) => d.value.click(), ["prevent"]), ["space"]))
2132
+ ]
2133
+ }, [
2134
+ r("div", Re, [
2135
+ A.value ? (s(), h(o(Ea), {
2136
+ key: 0,
2137
+ "svg-title": o(n)("warning")
2138
+ }, null, 8, ["svg-title"])) : (s(), h(o(ri), {
2139
+ key: 1,
2140
+ "svg-title": o(n)("upload")
2141
+ }, null, 8, ["svg-title"]))
2142
+ ]),
2143
+ p.condensed ? f("", !0) : (s(), v(ra, { key: 0 }, [
2144
+ M(o(z), {
2145
+ el: "span",
2146
+ strongest: "",
2147
+ class: "b-file-uploader__title"
2148
+ }, {
2149
+ default: g(() => [
2150
+ $(u(o(e)("dropFiles", p.maxCount)), 1)
2151
+ ]),
2152
+ _: 1
2153
+ }),
2154
+ p.description ? (s(), h(o(z), {
2155
+ key: 0,
2156
+ el: "span",
2157
+ class: "b-file-uploader__description"
2158
+ }, {
2159
+ default: g(() => [
2160
+ $(u(p.description), 1)
2161
+ ]),
2162
+ _: 1
2163
+ })) : f("", !0),
2164
+ M(o(ja), ma(Xa(G.value)), null, 16)
2165
+ ], 64)),
2166
+ M(o(Q), {
2167
+ disabled: p.disabled,
2168
+ variant: p.condensed ? "tertiary" : "secondary",
2169
+ condensed: "",
2170
+ tabindex: "-1",
2171
+ class: "b-file-uploader__button"
2172
+ }, {
2173
+ default: g(() => [
2174
+ $(u(o(n)("browseFiles")), 1)
2175
+ ]),
2176
+ _: 1
2177
+ }, 8, ["disabled", "variant"])
2178
+ ], 40, Ee)),
2179
+ A.value && p.errorMessage ? (s(), h(o(li), {
2180
+ key: 1,
2181
+ id: o(q),
2182
+ "error-message": p.errorMessage,
2183
+ class: "b-file-uploader__error-message"
2184
+ }, null, 8, ["id", "error-message"])) : f("", !0),
2185
+ p.condensed && p.description ? (s(), h(o(z), {
2186
+ key: 2,
2187
+ el: "span",
2188
+ class: "b-file-uploader__description b-file-uploader__description--condensed"
2189
+ }, {
2190
+ default: g(() => [
2191
+ $(u(p.description), 1)
2192
+ ]),
2193
+ _: 1
2194
+ })) : f("", !0),
2195
+ p.condensed ? (s(), h(o(ja), ma(I({ key: 3 }, G.value)), null, 16)) : f("", !0),
2196
+ X.value ? (s(), h(o(Qa), {
2197
+ key: 4,
2198
+ type: "critical"
2199
+ }, {
2200
+ description: g(() => [
2201
+ $(u(o(n)("youHaveExceededTheMaximum", { count: t.maxCount })), 1)
2202
+ ]),
2203
+ default: g(() => [
2204
+ $(u(o(n)("tooManyFiles")) + " ", 1)
2205
+ ]),
2206
+ _: 1
2207
+ })) : f("", !0),
2208
+ za(r("div", Le, [
2209
+ (s(!0), v(ra, null, Ja(c.value, (k) => (s(), h(o(be), {
2210
+ key: k.id,
2211
+ file: k,
2212
+ "supported-file-types": o(C),
2213
+ onCancel: (Na) => E(k),
2214
+ onRemove: (Na) => E(k)
2215
+ }, null, 8, ["file", "supported-file-types", "onCancel", "onRemove"]))), 128))
2216
+ ], 512), [
2217
+ [Ka, (y = c.value) == null ? void 0 : y.length]
2218
+ ])
2219
+ ], 2);
2220
+ };
2221
+ }
2222
+ }), Xe = /* @__PURE__ */ _(Ve, [["__scopeId", "data-v-07ee096a"]]);
2223
+ export {
2224
+ Xe as f
2225
+ };
2226
+ //# sourceMappingURL=file-uploader.DiqPKVVt.js.map