@oiz/stzh-components 4.14.0-beta1 → 4.14.0-beta2
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.
- package/dist/cjs/{index-BjyL8NcL.js → index-8pIS_zqo.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
- package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
- package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +1 -1
- package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
- package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
- package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-content.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
- package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
- package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
- package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
- package/dist/cjs/stzh-header_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
- package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
- package/dist/cjs/{stzh-input-description-CAYSgH8K.js → stzh-input-description-DWYIX4rj.js} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +2 -2
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-message.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
- package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-show.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-text.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +0 -4
- package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.css +1 -9
- package/dist/components/index.js +2 -2
- package/dist/components/{p-UOXX4td7.js → p-2IanoK6f.js} +10 -10
- package/dist/components/{p-i0cZMmrd.js → p-2eHByO1P.js} +2 -2
- package/dist/components/{p-D3sOQDxz.js → p-3Ua0UDJJ.js} +6 -6
- package/dist/components/{p-Bt9uiQ1v.js → p-4kJS088Z.js} +1 -1
- package/dist/components/{p-CBOJCWB7.js → p-5gaDXIxD.js} +5 -5
- package/dist/components/{p-wIymabO8.js → p-6yo1sg5m.js} +1 -1
- package/dist/components/{p-CHyYIJpm.js → p-8EMsIQw7.js} +5 -5
- package/dist/components/{p-DsgUX28Z.js → p-B6GMY7LV.js} +2 -2
- package/dist/components/{p-CvBWG31G.js → p-BH9Bs6qn.js} +2 -2
- package/dist/components/{p-BMv7sSvH.js → p-BHbEjc4x.js} +4 -4
- package/dist/components/{p-DnvMN_b9.js → p-BMqbzRUD.js} +2 -2
- package/dist/components/{p-BjqyYqFW.js → p-BOQpiUeo.js} +3 -3
- package/dist/components/{p-Cp02ugtk.js → p-BOr0_MQa.js} +4 -4
- package/dist/components/{p-Dfd_RRRl.js → p-BQHGXh_b.js} +1 -1
- package/dist/components/{p-HNkHGJ14.js → p-BQbRJRFi.js} +1 -1
- package/dist/components/{p-DjpPphjj.js → p-BRBZLS7B.js} +5 -5
- package/dist/components/{p-DnqIc6zY.js → p-BTjiX1Y0.js} +3 -3
- package/dist/components/{p-DKd1JxAL.js → p-BZ34QLgO.js} +1 -1
- package/dist/components/{p-8gU3RSt8.js → p-BbFfhoBL.js} +1 -1
- package/dist/components/{p-Dw4bMcwB.js → p-Behwp7NV.js} +1 -1
- package/dist/components/{p-DCT5VT3M.js → p-BloYT0LY.js} +7 -7
- package/dist/components/{p-Bj_U__pI.js → p-Bq5Q3kWn.js} +1 -1
- package/dist/components/{p-DIqSS9ry.js → p-BrZnz58u.js} +1 -1
- package/dist/components/{p-DHJ8KZwl.js → p-BrrVCt_R.js} +8 -8
- package/dist/components/{p-DKqV_9uA.js → p-BssCZb6Z.js} +4 -4
- package/dist/components/{p-B26HCQs-.js → p-BzQSGrtD.js} +1 -1
- package/dist/components/{p-DYEZYm_O.js → p-C8WzRCnK.js} +5 -5
- package/dist/components/{p-h9fKsq5B.js → p-CChlc2sd.js} +1 -1
- package/dist/components/{p-CeAUcqgd.js → p-CHgu01jm.js} +1 -1
- package/dist/components/{p-BkhRIMVJ.js → p-CJTxKmUX.js} +2 -2
- package/dist/components/{p-yN9c1DyI.js → p-CQnZmf9r.js} +1 -1
- package/dist/components/{p-Dor0XEly.js → p-CVGku1o-.js} +7 -7
- package/dist/components/{p-B7NezdKD.js → p-CVLlD_E2.js} +1 -1
- package/dist/components/{p-Do-CiF9w.js → p-CZplQgZu.js} +1 -1
- package/dist/components/{p--u95wToN.js → p-CbDFy9Fo.js} +3 -3
- package/dist/components/{p-D9eLTQd-.js → p-Cjs7Jcse.js} +1 -1
- package/dist/components/{p-RMGZWVav.js → p-ClfdOAMy.js} +1 -1
- package/dist/components/{p-Cid4uNNv.js → p-Cm1c1N2x.js} +1 -1
- package/dist/components/{p-DjCjEAVQ.js → p-CmFWMe-3.js} +5 -5
- package/dist/components/{p-DeBWkSxo.js → p-CpzHBI6X.js} +1 -1
- package/dist/components/{p-D6E6F4aF.js → p-CtBT-VCd.js} +5 -5
- package/dist/components/{p-8q4PHJXa.js → p-CtzFNHLa.js} +2 -2
- package/dist/components/{p-C_PfpEL0.js → p-Cx2JWcaO.js} +4 -4
- package/dist/components/{p-DkNgNpXb.js → p-D-4Jhh4z.js} +1 -1
- package/dist/components/{p-Br07rhm8.js → p-D-jcH-4I.js} +3 -3
- package/dist/components/{p-Bhtzoqfa.js → p-DMX6uiZb.js} +1 -1
- package/dist/components/{p-DCsBYLeO.js → p-DOqosYZr.js} +9 -9
- package/dist/components/{p-DwFJ-Wxd.js → p-DRrB9gB5.js} +2 -2
- package/dist/components/{p-m8afbhwM.js → p-DVO_TIwx.js} +1 -1
- package/dist/components/{p-r4YxGjy1.js → p-DVf2uZyT.js} +4 -4
- package/dist/components/{p-B1BwDtqN.js → p-Dc6uF5_x.js} +5 -5
- package/dist/components/{p-BCEgoUas.js → p-DeMs1oiH.js} +5 -5
- package/dist/components/{p-wxRxj6hm.js → p-Dfl1Nkmr.js} +6 -6
- package/dist/components/{p-Bf1Q575A.js → p-Dnc0DTZ5.js} +9 -9
- package/dist/components/{p-S7fOqfOp.js → p-DoUnSYSA.js} +5 -5
- package/dist/components/{p-ufvUzT-J.js → p-DtptXwIF.js} +9 -9
- package/dist/components/{p-Bg977459.js → p-Du-frgAm.js} +7 -7
- package/dist/components/{p-D585JdEP.js → p-DwcMcEkY.js} +1 -1
- package/dist/components/{p-DYUAT-g1.js → p-Dwn3qUNg.js} +1 -1
- package/dist/components/{p-DX5Q3fDQ.js → p-Dzj_-yk5.js} +1 -1
- package/dist/components/{p-DdmoIwC5.js → p-EAo1u3f4.js} +1 -1
- package/dist/components/{p-LfpauPL4.js → p-ED51q73M.js} +10 -10
- package/dist/components/{p-hpTi-ftL.js → p-PLkCSgMP.js} +7 -7
- package/dist/components/{p-BSHphqyH.js → p-UXlY8dSP.js} +1 -1
- package/dist/components/{p-CSrWsVkq.js → p-Z7XNPwIt.js} +4 -4
- package/dist/components/{p-DkHLvEs_.js → p-apzDzwmA.js} +1 -1
- package/dist/components/{p-ar7AR0d8.js → p-dLOXXDZv.js} +1 -1
- package/dist/components/{p-k67lKTGz.js → p-l2VklTZX.js} +1 -1
- package/dist/components/stzh-accordion-item.js +1 -1
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +1 -1
- package/dist/components/stzh-actionset.js +1 -1
- package/dist/components/stzh-amount.js +9 -9
- package/dist/components/stzh-anchornav.js +5 -5
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +13 -13
- package/dist/components/stzh-archivelist.js +7 -7
- package/dist/components/stzh-audio.js +5 -5
- package/dist/components/stzh-badge.js +1 -1
- package/dist/components/stzh-banner.js +4 -4
- package/dist/components/stzh-breadcrumb.js +1 -1
- package/dist/components/stzh-button.js +1 -1
- package/dist/components/stzh-buttongroup.js +1 -1
- package/dist/components/stzh-calendar.js +1 -1
- package/dist/components/stzh-card-navigation.js +2 -2
- package/dist/components/stzh-card-searchresult.js +14 -14
- package/dist/components/stzh-card-superteaser.js +14 -14
- package/dist/components/stzh-card.js +1 -1
- package/dist/components/stzh-cardlist.js +1 -1
- package/dist/components/stzh-carousel.js +1 -1
- package/dist/components/stzh-cell.js +1 -1
- package/dist/components/stzh-chart.js +1 -1
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +5 -5
- package/dist/components/stzh-chip.js +1 -1
- package/dist/components/stzh-chipgroup.js +1 -1
- package/dist/components/stzh-chipselect.js +1 -1
- package/dist/components/stzh-clamp.js +1 -1
- package/dist/components/stzh-company-logo.js +1 -1
- package/dist/components/stzh-contact-cv.js +4 -4
- package/dist/components/stzh-contact.js +10 -10
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-content.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cta.js +3 -3
- package/dist/components/stzh-datalist-item.js +1 -1
- package/dist/components/stzh-datalist.js +1 -1
- package/dist/components/stzh-datamessagelist-item.js +11 -11
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-datatable.js +16 -16
- package/dist/components/stzh-datepicker.js +1 -1
- package/dist/components/stzh-daterange.js +4 -4
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-disturber.js +4 -4
- package/dist/components/stzh-dropdown.js +1 -1
- package/dist/components/stzh-editor.js +4 -4
- package/dist/components/stzh-eventdata.js +1 -1
- package/dist/components/stzh-eventinfo.js +5 -5
- package/dist/components/stzh-feedreader-item.js +2 -2
- package/dist/components/stzh-feedreader.js +8 -8
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-flyingfocus.js +1 -1
- package/dist/components/stzh-footer.js +4 -4
- package/dist/components/stzh-gallery.js +8 -8
- package/dist/components/stzh-geo-ref-data.js +24 -24
- package/dist/components/stzh-ghettobox.js +4 -4
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading.js +1 -1
- package/dist/components/stzh-homepage-search.js +2 -2
- package/dist/components/stzh-homepage-service-highlights.js +6 -6
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-http-error.js +6 -6
- package/dist/components/stzh-icon.js +1 -1
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-imagecomparison.js +2 -2
- package/dist/components/stzh-input.js +1 -1
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-link.js +1 -1
- package/dist/components/stzh-linklist.js +10 -10
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +1 -1
- package/dist/components/stzh-loader.js +1 -1
- package/dist/components/stzh-loadingbar.js +1 -1
- package/dist/components/stzh-menu-item.js +1 -1
- package/dist/components/stzh-menu.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +20 -20
- package/dist/components/stzh-monthyearpicker.js +5 -5
- package/dist/components/stzh-offline-indicator.js +6 -6
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-overlay.js +1 -1
- package/dist/components/stzh-page-skiplinks.js +1 -1
- package/dist/components/stzh-pagebottom.js +8 -8
- package/dist/components/stzh-pagecontent.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +1 -1
- package/dist/components/stzh-pagetitle-home.js +2 -2
- package/dist/components/stzh-pagetitle.js +2 -2
- package/dist/components/stzh-pagination.js +1 -1
- package/dist/components/stzh-panorama.js +11 -11
- package/dist/components/stzh-pi-content-navigation.js +3 -3
- package/dist/components/stzh-pi-menu.js +3 -3
- package/dist/components/stzh-pi-pagetitle.js +2 -2
- package/dist/components/stzh-pi-quote.js +1 -1
- package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
- package/dist/components/stzh-pi-teaser-layout.js +2 -2
- package/dist/components/stzh-pi-teaser.js +2 -2
- package/dist/components/stzh-pkzh-qr.js +20 -20
- package/dist/components/stzh-popover.js +1 -1
- package/dist/components/stzh-print.js +1 -1
- package/dist/components/stzh-quote.js +1 -1
- package/dist/components/stzh-radio.js +1 -1
- package/dist/components/stzh-radiogroup.js +1 -1
- package/dist/components/stzh-rating.js +5 -5
- package/dist/components/stzh-ratio.js +1 -1
- package/dist/components/stzh-readspeaker.js +4 -4
- package/dist/components/stzh-richtext.js +2 -2
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +7 -7
- package/dist/components/stzh-scrollup.js +1 -1
- package/dist/components/stzh-search.js +16 -16
- package/dist/components/stzh-section.js +1 -1
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +9 -9
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-storybook-preview.js +1 -1
- package/dist/components/stzh-skiplink.js +1 -1
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +6 -6
- package/dist/components/stzh-sortable.js +1 -1
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-status.js +1 -1
- package/dist/components/stzh-stepper-item.js +1 -1
- package/dist/components/stzh-stepper.js +3 -3
- package/dist/components/stzh-sticky-actions.js +2 -2
- package/dist/components/stzh-sticky.js +1 -1
- package/dist/components/stzh-table.js +1 -1
- package/dist/components/stzh-tag.js +1 -1
- package/dist/components/stzh-text.js +1 -1
- package/dist/components/stzh-textandimage.js +1 -1
- package/dist/components/stzh-timeline-item.js +4 -4
- package/dist/components/stzh-timeline.js +1 -1
- package/dist/components/stzh-timepicker.js +5 -5
- package/dist/components/stzh-toast.js +1 -1
- package/dist/components/stzh-toastbar.js +1 -1
- package/dist/components/stzh-toggle.js +5 -5
- package/dist/components/stzh-tooltip.js +1 -1
- package/dist/components/stzh-twocolumns.js +1 -1
- package/dist/components/stzh-upload.js +13 -13
- package/dist/components/stzh-vbz-carousel.js +2 -2
- package/dist/components/stzh-vbz-connection-finder.js +1 -1
- package/dist/components/stzh-vbz-intro.js +5 -5
- package/dist/components/stzh-vbz-linechip.js +1 -1
- package/dist/components/stzh-vbz-majorticker.js +7 -7
- package/dist/components/stzh-vbz-ticker.js +7 -7
- package/dist/components/stzh-visuallyhidden.js +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/components/stzh-youtube.js +6 -6
- package/dist/esm/{index-vaw5DHDC.js → index-rujKGmCS.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion_3.entry.js +2 -2
- package/dist/esm/stzh-actions_6.entry.js +1 -1
- package/dist/esm/stzh-actionset.entry.js +1 -1
- package/dist/esm/stzh-amount.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +1 -1
- package/dist/esm/stzh-app-nav.entry.js +1 -1
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-archivelist.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +1 -1
- package/dist/esm/stzh-banner.entry.js +1 -1
- package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
- package/dist/esm/stzh-buttongroup.entry.js +1 -1
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +1 -1
- package/dist/esm/stzh-card-superteaser.entry.js +1 -1
- package/dist/esm/stzh-card_2.entry.js +1 -1
- package/dist/esm/stzh-carousel.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +2 -2
- package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
- package/dist/esm/stzh-chip_2.entry.js +2 -2
- package/dist/esm/stzh-chipgroup.entry.js +1 -1
- package/dist/esm/stzh-clamp.entry.js +1 -1
- package/dist/esm/stzh-company-logo.entry.js +1 -1
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact-cv.entry.js +1 -1
- package/dist/esm/stzh-contact.entry.js +1 -1
- package/dist/esm/stzh-container_2.entry.js +1 -1
- package/dist/esm/stzh-content.entry.js +1 -1
- package/dist/esm/stzh-cta.entry.js +1 -1
- package/dist/esm/stzh-datalist_3.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +2 -2
- package/dist/esm/stzh-daterange.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-dialog.entry.js +1 -1
- package/dist/esm/stzh-disturber.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +2 -2
- package/dist/esm/stzh-editor.entry.js +1 -1
- package/dist/esm/stzh-eventdata.entry.js +1 -1
- package/dist/esm/stzh-eventinfo.entry.js +1 -1
- package/dist/esm/stzh-feedreader-item.entry.js +1 -1
- package/dist/esm/stzh-feedreader.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +1 -1
- package/dist/esm/stzh-gallery.entry.js +1 -1
- package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
- package/dist/esm/stzh-ghettobox.entry.js +1 -1
- package/dist/esm/stzh-header_3.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-homepage-search.entry.js +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-http-error.entry.js +1 -1
- package/dist/esm/stzh-iframe.entry.js +1 -1
- package/dist/esm/stzh-imagecomparison.entry.js +1 -1
- package/dist/esm/{stzh-input-description-CxS5xIHN.js → stzh-input-description-Bsy8H9JX.js} +1 -1
- package/dist/esm/stzh-input.entry.js +2 -2
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-linklist.entry.js +1 -1
- package/dist/esm/stzh-list_2.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-message.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
- package/dist/esm/stzh-offline-indicator.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagecontent.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-panorama.entry.js +1 -1
- package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
- package/dist/esm/stzh-pi-menu.entry.js +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-quote.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-print_2.entry.js +1 -1
- package/dist/esm/stzh-quote.entry.js +1 -1
- package/dist/esm/stzh-rating.entry.js +2 -2
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-richtext.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-search.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-show.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream.entry.js +1 -1
- package/dist/esm/stzh-stepper-item.entry.js +1 -1
- package/dist/esm/stzh-stepper.entry.js +1 -1
- package/dist/esm/stzh-sticky-actions.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-timeline-item.entry.js +2 -2
- package/dist/esm/stzh-timeline.entry.js +1 -1
- package/dist/esm/stzh-timepicker.entry.js +1 -1
- package/dist/esm/stzh-toast_2.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +2 -2
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-twocolumns.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +2 -2
- package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
- package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
- package/dist/esm/stzh-vbz-intro.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/stzh-youtube.entry.js +1 -1
- package/dist/stzh-components/{p-ee85bbe5.entry.js → p-01e0939c.entry.js} +1 -1
- package/dist/stzh-components/{p-67695366.entry.js → p-047f1518.entry.js} +1 -1
- package/dist/stzh-components/{p-839bc37f.entry.js → p-059685c4.entry.js} +1 -1
- package/dist/stzh-components/{p-adc88b73.entry.js → p-0774cbf6.entry.js} +1 -1
- package/dist/stzh-components/{p-5b6fac92.entry.js → p-07a9613e.entry.js} +1 -1
- package/dist/stzh-components/{p-1c15b27c.entry.js → p-07be7dbd.entry.js} +1 -1
- package/dist/stzh-components/{p-b83652b4.entry.js → p-08537c2d.entry.js} +1 -1
- package/dist/stzh-components/{p-62666899.entry.js → p-0b98858f.entry.js} +1 -1
- package/dist/stzh-components/{p-37d89e58.entry.js → p-0bb65921.entry.js} +1 -1
- package/dist/stzh-components/{p-885a1508.entry.js → p-0c156e68.entry.js} +2 -2
- package/dist/stzh-components/{p-217b2534.entry.js → p-0e604008.entry.js} +1 -1
- package/dist/stzh-components/{p-3f0a62d5.entry.js → p-10f70012.entry.js} +1 -1
- package/dist/stzh-components/{p-a992f8d3.entry.js → p-11a7e43f.entry.js} +1 -1
- package/dist/stzh-components/{p-fe8b4c50.entry.js → p-124bb877.entry.js} +1 -1
- package/dist/stzh-components/{p-26855911.entry.js → p-1253a2cb.entry.js} +1 -1
- package/dist/stzh-components/{p-42bad0ae.entry.js → p-12597dcf.entry.js} +1 -1
- package/dist/stzh-components/{p-5b06fe27.entry.js → p-13cdfd2c.entry.js} +1 -1
- package/dist/stzh-components/{p-33250e04.entry.js → p-154da193.entry.js} +1 -1
- package/dist/stzh-components/{p-48fc7701.entry.js → p-1797c1fb.entry.js} +1 -1
- package/dist/stzh-components/{p-83068896.entry.js → p-18993354.entry.js} +2 -2
- package/dist/stzh-components/{p-6b864908.entry.js → p-1b1b45f3.entry.js} +1 -1
- package/dist/stzh-components/{p-4c851ccd.entry.js → p-1e0b66d9.entry.js} +1 -1
- package/dist/stzh-components/{p-26a0dba3.entry.js → p-23e6c077.entry.js} +1 -1
- package/dist/stzh-components/{p-626e8a09.entry.js → p-25d498e2.entry.js} +1 -1
- package/dist/stzh-components/{p-e8a7f73b.entry.js → p-25ed6414.entry.js} +3 -3
- package/dist/stzh-components/{p-031cce13.entry.js → p-2645c534.entry.js} +1 -1
- package/dist/stzh-components/{p-0b8c15fd.entry.js → p-28985f79.entry.js} +1 -1
- package/dist/stzh-components/{p-0c918333.entry.js → p-2c1f18da.entry.js} +1 -1
- package/dist/stzh-components/{p-ac731b57.entry.js → p-2cb9bf11.entry.js} +1 -1
- package/dist/stzh-components/{p-fe18f691.entry.js → p-2d25d6b5.entry.js} +1 -1
- package/dist/stzh-components/{p-2936725d.entry.js → p-2d6904f5.entry.js} +1 -1
- package/dist/stzh-components/{p-a428f563.entry.js → p-2e6e2139.entry.js} +1 -1
- package/dist/stzh-components/{p-a092e651.entry.js → p-314bc213.entry.js} +1 -1
- package/dist/stzh-components/{p-ad6ea33a.entry.js → p-34a83688.entry.js} +1 -1
- package/dist/stzh-components/{p-079b9c1b.entry.js → p-35521912.entry.js} +1 -1
- package/dist/stzh-components/{p-78953138.entry.js → p-362760a5.entry.js} +1 -1
- package/dist/stzh-components/{p-d591b8fb.entry.js → p-368a8190.entry.js} +1 -1
- package/dist/stzh-components/{p-7e492d4a.entry.js → p-372f2a83.entry.js} +1 -1
- package/dist/stzh-components/{p-e12cb068.entry.js → p-394b2965.entry.js} +1 -1
- package/dist/stzh-components/{p-7d329aa3.entry.js → p-398f4b13.entry.js} +1 -1
- package/dist/stzh-components/{p-471ea331.entry.js → p-3bd75f83.entry.js} +1 -1
- package/dist/stzh-components/{p-40436af3.entry.js → p-3bf1b2ea.entry.js} +1 -1
- package/dist/stzh-components/{p-b005769e.entry.js → p-3d3b5c7f.entry.js} +1 -1
- package/dist/stzh-components/{p-a9910a1d.entry.js → p-3e65aeea.entry.js} +1 -1
- package/dist/stzh-components/{p-729ff982.entry.js → p-3e8a5bfc.entry.js} +1 -1
- package/dist/stzh-components/{p-a29d99cd.entry.js → p-3ebad4a4.entry.js} +1 -1
- package/dist/stzh-components/{p-b9f7f0b4.entry.js → p-4186b088.entry.js} +1 -1
- package/dist/stzh-components/{p-8f5e2b97.entry.js → p-4c018ace.entry.js} +1 -1
- package/dist/stzh-components/{p-883d8884.entry.js → p-4cf82c8a.entry.js} +1 -1
- package/dist/stzh-components/{p-f8fdb699.entry.js → p-4d60e362.entry.js} +1 -1
- package/dist/stzh-components/{p-66a45b90.entry.js → p-4da549c3.entry.js} +1 -1
- package/dist/stzh-components/{p-5b250280.entry.js → p-4e15c0db.entry.js} +1 -1
- package/dist/stzh-components/{p-fb9db20a.entry.js → p-4fc34877.entry.js} +1 -1
- package/dist/stzh-components/{p-58bad9ed.entry.js → p-50397c15.entry.js} +1 -1
- package/dist/stzh-components/{p-7382f1c7.entry.js → p-54088bc2.entry.js} +1 -1
- package/dist/stzh-components/{p-5cd34d8c.entry.js → p-56b48a58.entry.js} +1 -1
- package/dist/stzh-components/{p-35dc89ce.entry.js → p-59e19f3c.entry.js} +1 -1
- package/dist/stzh-components/{p-2f153ff4.entry.js → p-5c3aa879.entry.js} +1 -1
- package/dist/stzh-components/{p-f8507949.entry.js → p-60ffcf44.entry.js} +1 -1
- package/dist/stzh-components/{p-40324acc.entry.js → p-64dba9aa.entry.js} +1 -1
- package/dist/stzh-components/{p-e2fca3d7.entry.js → p-67b0d92a.entry.js} +1 -1
- package/dist/stzh-components/{p-c53a51bc.entry.js → p-68411970.entry.js} +1 -1
- package/dist/stzh-components/{p-990c1275.entry.js → p-68d98588.entry.js} +1 -1
- package/dist/stzh-components/{p-cef1c8fb.entry.js → p-6bbb0faf.entry.js} +1 -1
- package/dist/stzh-components/{p-1948fc02.entry.js → p-6efe279c.entry.js} +1 -1
- package/dist/stzh-components/{p-dd22dd47.entry.js → p-7522786b.entry.js} +1 -1
- package/dist/stzh-components/{p-7e2ee96f.entry.js → p-793f2e6c.entry.js} +1 -1
- package/dist/stzh-components/{p-b281e83d.entry.js → p-796b2747.entry.js} +1 -1
- package/dist/stzh-components/{p-10a375fb.entry.js → p-7a3cd4d7.entry.js} +1 -1
- package/dist/stzh-components/{p-7c4f8d0c.entry.js → p-7b99a8d1.entry.js} +1 -1
- package/dist/stzh-components/{p-f4bc518e.entry.js → p-7d649a98.entry.js} +1 -1
- package/dist/stzh-components/{p-adcc3f8b.entry.js → p-80609cb6.entry.js} +2 -2
- package/dist/stzh-components/{p-2ae5255d.entry.js → p-80f76737.entry.js} +1 -1
- package/dist/stzh-components/{p-4e02b98d.entry.js → p-81aafe14.entry.js} +1 -1
- package/dist/stzh-components/{p-08a01416.entry.js → p-82ae6bd3.entry.js} +1 -1
- package/dist/stzh-components/{p-582bf2f8.entry.js → p-84935b91.entry.js} +1 -1
- package/dist/stzh-components/{p-8135cb30.entry.js → p-856d00c1.entry.js} +1 -1
- package/dist/stzh-components/{p-90ba18a3.entry.js → p-875ed12c.entry.js} +1 -1
- package/dist/stzh-components/{p-f8492b4a.entry.js → p-88657ea1.entry.js} +1 -1
- package/dist/stzh-components/{p-11a13fa2.entry.js → p-8b89f8ad.entry.js} +1 -1
- package/dist/stzh-components/{p-5afe7ac0.entry.js → p-8eda7909.entry.js} +1 -1
- package/dist/stzh-components/{p-e40b3463.entry.js → p-8f111abc.entry.js} +1 -1
- package/dist/stzh-components/{p-1f250fd2.entry.js → p-90109626.entry.js} +1 -1
- package/dist/stzh-components/{p-37e2fe17.entry.js → p-929cfd30.entry.js} +1 -1
- package/dist/stzh-components/{p-41494aab.entry.js → p-93d1fdd8.entry.js} +2 -2
- package/dist/stzh-components/{p-51b83f74.entry.js → p-95304149.entry.js} +1 -1
- package/dist/stzh-components/{p-8d22b955.entry.js → p-9a8dbc6b.entry.js} +1 -1
- package/dist/stzh-components/{p-0e4d10d3.entry.js → p-9b58ff08.entry.js} +1 -1
- package/dist/stzh-components/{p-d6cf94dd.entry.js → p-9b84bfb5.entry.js} +1 -1
- package/dist/stzh-components/{p-3791bf96.entry.js → p-9e1f7405.entry.js} +1 -1
- package/dist/stzh-components/{p-Y4KllhSj.js → p-DT3qkqDR.js} +1 -1
- package/dist/stzh-components/{p-f77cfa2a.entry.js → p-a3dcbe8b.entry.js} +1 -1
- package/dist/stzh-components/{p-f2c6cdde.entry.js → p-a44a094f.entry.js} +1 -1
- package/dist/stzh-components/{p-9edf375c.entry.js → p-a5b8489d.entry.js} +1 -1
- package/dist/stzh-components/{p-694a9726.entry.js → p-a74299ad.entry.js} +1 -1
- package/dist/stzh-components/{p-ae2f9084.entry.js → p-aaba1ec9.entry.js} +1 -1
- package/dist/stzh-components/{p-20545fdb.entry.js → p-ab3d16a0.entry.js} +1 -1
- package/dist/stzh-components/{p-79885f85.entry.js → p-abc50e36.entry.js} +1 -1
- package/dist/stzh-components/{p-a3f8128d.entry.js → p-ac8e22dd.entry.js} +1 -1
- package/dist/stzh-components/{p-12f1d9c4.entry.js → p-ad656e2b.entry.js} +1 -1
- package/dist/stzh-components/{p-950b3d22.entry.js → p-af0e4d4a.entry.js} +1 -1
- package/dist/stzh-components/{p-1fdc46c8.entry.js → p-b0851b31.entry.js} +1 -1
- package/dist/stzh-components/{p-1149308b.entry.js → p-b16d40e3.entry.js} +1 -1
- package/dist/stzh-components/p-b4b11070.entry.js +1 -0
- package/dist/stzh-components/{p-ed20c3ae.entry.js → p-b50ea8c5.entry.js} +1 -1
- package/dist/stzh-components/{p-9cb30e8e.entry.js → p-b543151f.entry.js} +1 -1
- package/dist/stzh-components/{p-7521adc5.entry.js → p-b5e9613e.entry.js} +1 -1
- package/dist/stzh-components/{p-bc3955eb.entry.js → p-b7094eb9.entry.js} +1 -1
- package/dist/stzh-components/{p-c0c243fb.entry.js → p-b7a81ffc.entry.js} +1 -1
- package/dist/stzh-components/{p-e83af57c.entry.js → p-bb36a7ef.entry.js} +1 -1
- package/dist/stzh-components/{p-ac273600.entry.js → p-be05d891.entry.js} +1 -1
- package/dist/stzh-components/{p-ec5ee193.entry.js → p-bf9261bf.entry.js} +1 -1
- package/dist/stzh-components/{p-e88593d4.entry.js → p-c2981027.entry.js} +1 -1
- package/dist/stzh-components/{p-c13d9d91.entry.js → p-c62e3c25.entry.js} +1 -1
- package/dist/stzh-components/{p-513f8a2c.entry.js → p-c6a1db6d.entry.js} +1 -1
- package/dist/stzh-components/{p-f7e95f22.entry.js → p-cd1a4971.entry.js} +1 -1
- package/dist/stzh-components/{p-ed6acd4c.entry.js → p-d1f7a4cc.entry.js} +1 -1
- package/dist/stzh-components/{p-fc9ab869.entry.js → p-d5044021.entry.js} +1 -1
- package/dist/stzh-components/{p-aae0d246.entry.js → p-d527095b.entry.js} +1 -1
- package/dist/stzh-components/{p-138acf47.entry.js → p-da15a687.entry.js} +1 -1
- package/dist/stzh-components/{p-ae6677bb.entry.js → p-dd09820e.entry.js} +1 -1
- package/dist/stzh-components/{p-e31e1d68.entry.js → p-deda4956.entry.js} +1 -1
- package/dist/stzh-components/{p-704f2459.entry.js → p-df80bda2.entry.js} +1 -1
- package/dist/stzh-components/{p-651445ea.entry.js → p-e03c85ef.entry.js} +1 -1
- package/dist/stzh-components/{p-9f7eabc0.entry.js → p-e3c944bc.entry.js} +1 -1
- package/dist/stzh-components/{p-1d96fb7d.entry.js → p-e48373cc.entry.js} +1 -1
- package/dist/stzh-components/{p-0e1e7514.entry.js → p-ec58716a.entry.js} +1 -1
- package/dist/stzh-components/{p-96ed46e7.entry.js → p-f1f35a30.entry.js} +1 -1
- package/dist/stzh-components/{p-393b570a.entry.js → p-f62e5e8d.entry.js} +1 -1
- package/dist/stzh-components/{p-018c5cc8.entry.js → p-fbfa5461.entry.js} +1 -1
- package/dist/stzh-components/{p-ae80343f.entry.js → p-fea993dc.entry.js} +1 -1
- package/dist/stzh-components/{p-vaw5DHDC.js → p-rujKGmCS.js} +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/stzh-components/p-2cae7201.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as n,F as r,a as i,d as o}from"./p-vaw5DHDC.js";import{a,h as s,c as u,i as l}from"./p-CBLSoWgI.js";import{S as c}from"./p-Y4KllhSj.js";import{g as f}from"./p-E-ZsRS8r.js";import"./p-BubviQku.js";!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(self,(function(){return function(){var t={3099:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:function(t,e,n){var r=n(5112),i=n(30),o=n(3070),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},1530:function(t,e,n){var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},5787:function(t){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},9670:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},4019:function(t){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},260:function(t,e,n){var r,i=n(4019),o=n(9781),a=n(7854),s=n(111),u=n(6656),l=n(648),c=n(8880),f=n(1320),h=n(3070).f,d=n(9518),p=n(7674),v=n(5112),g=n(9711),m=a.Int8Array,y=m&&m.prototype,z=a.Uint8ClampedArray,b=z&&z.prototype,w=m&&d(m),_=y&&d(y),x=Object.prototype,k=x.isPrototypeOf,A=v("toStringTag"),E=g("TYPED_ARRAY_TAG"),S=i&&!!p&&"Opera"!==l(a.opera),F=!1,T={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},C={BigInt64Array:8,BigUint64Array:8},R=function(t){if(!s(t))return!1;var e=l(t);return u(T,e)||u(C,e)};for(r in T)a[r]||(S=!1);if((!S||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},S))for(r in T)a[r]&&p(a[r],w);if((!S||!_||_===x)&&(_=w.prototype,S))for(r in T)a[r]&&p(a[r].prototype,_);if(S&&d(b)!==_&&p(b,_),o&&!u(_,A))for(r in F=!0,h(_,A,{get:function(){return s(this)?this[E]:void 0}}),T)a[r]&&c(a[r],E,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:S,TYPED_ARRAY_TAG:F&&E,aTypedArray:function(t){if(R(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(p){if(k.call(w,t))return t}else for(var e in T)if(u(T,r)){var n=a[e];if(n&&(t===n||k.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n){if(o){if(n)for(var r in T){var i=a[r];i&&u(i.prototype,t)&&delete i.prototype[t]}_[t]&&!n||f(_,t,n?e:S&&y[t]||e)}},exportTypedArrayStaticMethod:function(t,e,n){var r,i;if(o){if(p){if(n)for(r in T)(i=a[r])&&u(i,t)&&delete i[t];if(w[t]&&!n)return;try{return f(w,t,n?e:S&&m[t]||e)}catch(t){}}for(r in T)!(i=a[r])||i[t]&&!n||f(i,t,e)}},isView:function(t){if(!s(t))return!1;var e=l(t);return"DataView"===e||u(T,e)||u(C,e)},isTypedArray:R,TypedArray:w,TypedArrayPrototype:_}},3331:function(t,e,n){var r=n(7854),i=n(9781),o=n(4019),a=n(8880),s=n(2248),u=n(7293),l=n(5787),c=n(9958),f=n(7466),h=n(7067),d=n(1179),p=n(9518),v=n(7674),g=n(8006).f,m=n(3070).f,y=n(1285),z=n(8003),b=n(9909),w=b.get,_=b.set,x="ArrayBuffer",k="DataView",A="prototype",E="Wrong index",S=r[x],F=S,T=r[k],C=T&&T[A],R=Object.prototype,M=r.RangeError,U=d.pack,j=d.unpack,I=function(t){return[255&t]},$=function(t){return[255&t,t>>8&255]},O=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},L=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},P=function(t){return U(t,23,4)},B=function(t){return U(t,52,8)},N=function(t,e){m(t[A],e,{get:function(){return w(this)[e]}})},D=function(t,e,n,r){var i=h(n),o=w(t);if(i+e>o.byteLength)throw M(E);var a=w(o.buffer).bytes,s=i+o.byteOffset,u=a.slice(s,s+e);return r?u:u.reverse()},Q=function(t,e,n,r,i,o){var a=h(n),s=w(t);if(a+e>s.byteLength)throw M(E);for(var u=w(s.buffer).bytes,l=a+s.byteOffset,c=r(+i),f=0;f<e;f++)u[l+f]=c[o?f:e-f-1]};if(o){if(!u((function(){S(1)}))||!u((function(){new S(-1)}))||u((function(){return new S,new S(1.5),new S(NaN),S.name!=x}))){for(var W,q=(F=function(t){return l(this,F),new S(h(t))})[A]=S[A],H=g(S),X=0;H.length>X;)(W=H[X++])in F||a(F,W,S[W]);q.constructor=F}v&&p(C)!==R&&v(C,R);var Y=new T(new F(2)),V=C.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||s(C,{setInt8:function(t,e){V.call(this,t,e<<24>>24)},setUint8:function(t,e){V.call(this,t,e<<24>>24)}},{unsafe:!0})}else F=function(t){l(this,F,x);var e=h(t);_(this,{bytes:y.call(new Array(e),0),byteLength:e}),i||(this.byteLength=e)},T=function(t,e,n){l(this,T,k),l(t,F,k);var r=w(t).byteLength,o=c(e);if(o<0||o>r)throw M("Wrong offset");if(o+(n=void 0===n?r-o:f(n))>r)throw M("Wrong length");_(this,{buffer:t,byteLength:n,byteOffset:o}),i||(this.buffer=t,this.byteLength=n,this.byteOffset=o)},i&&(N(F,"byteLength"),N(T,"buffer"),N(T,"byteLength"),N(T,"byteOffset")),s(T[A],{getInt8:function(t){return D(this,1,t)[0]<<24>>24},getUint8:function(t){return D(this,1,t)[0]},getInt16:function(t){var e=D(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=D(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return L(D(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return L(D(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return j(D(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return j(D(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){Q(this,1,t,I,e)},setUint8:function(t,e){Q(this,1,t,I,e)},setInt16:function(t,e){Q(this,2,t,$,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){Q(this,2,t,$,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){Q(this,4,t,O,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){Q(this,4,t,O,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){Q(this,4,t,P,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){Q(this,8,t,B,e,arguments.length>2?arguments[2]:void 0)}});z(F,x),z(T,k),t.exports={ArrayBuffer:F,DataView:T}},1048:function(t,e,n){var r=n(7908),i=n(1400),o=n(7466),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),u=i(t,s),l=i(e,s),c=arguments.length>2?arguments[2]:void 0,f=a((void 0===c?s:i(c,s))-l,s-u),h=1;for(l<u&&u<l+f&&(h=-1,l+=f-1,u+=f-1);f-- >0;)l in n?n[u]=n[l]:delete n[u],u+=h,l+=h;return n}},1285:function(t,e,n){var r=n(7908),i=n(1400),o=n(7466);t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:i(u,n);l>s;)e[s++]=t;return e}},8533:function(t,e,n){var r=n(2092).forEach,i=n(9341)("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},8457:function(t,e,n){var r=n(9974),i=n(7908),o=n(3411),a=n(7659),s=n(7466),u=n(6135),l=n(1246);t.exports=function(t){var e,n,c,f,h,d,p=i(t),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,y=void 0!==m,z=l(p),b=0;if(y&&(m=r(m,g>2?arguments[2]:void 0,2)),null==z||v==Array&&a(z))for(n=new v(e=s(p.length));e>b;b++)d=y?m(p[b],b):p[b],u(n,b,d);else for(h=(f=z.call(p)).next,n=new v;!(c=h.call(f)).done;b++)d=y?o(f,m,[c.value,b],!0):c.value,u(n,b,d);return n.length=b,n}},1318:function(t,e,n){var r=n(5656),i=n(7466),o=n(1400),a=function(t){return function(e,n,a){var s,u=r(e),l=i(u.length),c=o(a,l);if(t&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:function(t,e,n){var r=n(9974),i=n(8361),o=n(7908),a=n(7466),s=n(5417),u=[].push,l=function(t){var e=1==t,n=2==t,l=3==t,c=4==t,f=6==t,h=7==t,d=5==t||f;return function(p,v,g,m){for(var y,z,b=o(p),w=i(b),_=r(v,g,3),x=a(w.length),k=0,A=m||s,E=e?A(p,x):n||h?A(p,0):void 0;x>k;k++)if((d||k in w)&&(z=_(y=w[k],k,b),t))if(e)E[k]=z;else if(z)switch(t){case 3:return!0;case 5:return y;case 6:return k;case 2:u.call(E,y)}else switch(t){case 4:return!1;case 7:u.call(E,y)}return f?-1:l||c?c:E}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterOut:l(7)}},6583:function(t,e,n){var r=n(5656),i=n(9958),o=n(7466),a=n(9341),s=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,c=a("lastIndexOf");t.exports=l||!c?function(t){if(l)return u.apply(this,arguments)||0;var e=r(this),n=o(e.length),a=n-1;for(arguments.length>1&&(a=s(a,i(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:u},1194:function(t,e,n){var r=n(7293),i=n(5112),o=n(7392),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:function(t,e,n){var r=n(7293);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},3671:function(t,e,n){var r=n(3099),i=n(7908),o=n(8361),a=n(7466),s=function(t){return function(e,n,s,u){r(n);var l=i(e),c=o(l),f=a(l.length),h=t?f-1:0,d=t?-1:1;if(s<2)for(;;){if(h in c){u=c[h],h+=d;break}if(h+=d,t?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:f>h;h+=d)h in c&&(u=n(u,c[h],h,l));return u}};t.exports={left:s(!1),right:s(!0)}},5417:function(t,e,n){var r=n(111),i=n(3157),o=n(5112)("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},3411:function(t,e,n){var r=n(9670),i=n(9212);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){throw i(t),e}}},7072:function(t,e,n){var r=n(5112)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},4326:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},648:function(t,e,n){var r=n(1694),i=n(4326),o=n(5112)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},9920:function(t,e,n){var r=n(6656),i=n(3887),o=n(1236),a=n(3070);t.exports=function(t,e){for(var n=i(e),s=a.f,u=o.f,l=0;l<n.length;l++){var c=n[l];r(t,c)||s(t,c,u(e,c))}}},8544:function(t,e,n){var r=n(7293);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4994:function(t,e,n){var r=n(3383).IteratorPrototype,i=n(30),o=n(9114),a=n(8003),s=n(7497),u=function(){return this};t.exports=function(t,e,n){var l=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),a(t,l,!1,!0),s[l]=u,t}},8880:function(t,e,n){var r=n(9781),i=n(3070),o=n(9114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:function(t,e,n){var r=n(7593),i=n(3070),o=n(9114);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},654:function(t,e,n){var r=n(2109),i=n(4994),o=n(9518),a=n(7674),s=n(8003),u=n(8880),l=n(1320),c=n(5112),f=n(1913),h=n(7497),d=n(3383),p=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=c("iterator"),m="keys",y="values",z="entries",b=function(){return this};t.exports=function(t,e,n,c,d,w,_){i(n,e,c);var x,k,A,E=function(t){if(t===d&&R)return R;if(!v&&t in T)return T[t];switch(t){case m:case y:case z:return function(){return new n(this,t)}}return function(){return new n(this)}},S=e+" Iterator",F=!1,T=t.prototype,C=T[g]||T["@@iterator"]||d&&T[d],R=!v&&C||E(d),M="Array"==e&&T.entries||C;if(M&&(x=o(M.call(new t)),p!==Object.prototype&&x.next&&(f||o(x)===p||(a?a(x,p):"function"!=typeof x[g]&&u(x,g,b)),s(x,S,!0,!0),f&&(h[S]=b))),d==y&&C&&C.name!==y&&(F=!0,R=function(){return C.call(this)}),f&&!_||T[g]===R||u(T,g,R),h[e]=R,d)if(k={values:E(y),keys:w?R:E(m),entries:E(z)},_)for(A in k)(v||F||!(A in T))&&l(T,A,k[A]);else r({target:e,proto:!0,forced:v||F},k);return k}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,e,n){var r=n(7854),i=n(111),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},8324:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:function(t,e,n){var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:function(t,e,n){var r,i,o=n(7854),a=n(8113),s=o.process,u=s&&s.versions,l=u&&u.v8;l?i=(r=l.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),i=n(1236).f,o=n(8880),a=n(1320),s=n(3505),u=n(9920),l=n(4705);t.exports=function(t,e){var n,c,f,h,d,p=t.target,v=t.global,g=t.stat;if(n=v?r:g?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in e){if(h=e[c],f=t.noTargetGet?(d=i(n,c))&&d.value:n[c],!l(v?c:p+(g?".":"#")+c,t.forced)&&void 0!==f){if(typeof h==typeof f)continue;u(h,f)}(t.sham||f&&f.sham)&&o(h,"sham",!0),a(n,c,h,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:function(t,e,n){n(4916);var r=n(1320),i=n(7293),o=n(5112),a=n(2261),s=n(8880),u=o("species"),l=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),c="$0"==="a".replace(/./,"$0"),f=o("replace"),h=!!/./[f]&&""===/./[f]("a","$0"),d=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,f){var p=o(t),v=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),g=v&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!v||!g||"replace"===t&&(!l||!c||h)||"split"===t&&!d){var m=/./[p],y=n(p,""[t],(function(t,e,n,r,i){return e.exec===a?v&&!i?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),z=y[1];r(String.prototype,t,y[0]),r(RegExp.prototype,p,2==e?function(t,e){return z.call(t,this,e)}:function(t){return z.call(t,this)})}f&&s(RegExp.prototype[p],"sham",!0)}},9974:function(t,e,n){var r=n(3099);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},5005:function(t,e,n){var r=n(857),i=n(7854),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},1246:function(t,e,n){var r=n(648),i=n(7497),o=n(5112)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},8554:function(t,e,n){var r=n(9670),i=n(1246);t.exports=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},647:function(t,e,n){var r=n(7908),i=Math.floor,o="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;t.exports=function(t,e,n,u,l,c){var f=n+t.length,h=u.length,d=s;return void 0!==l&&(l=r(l),d=a),o.call(c,d,(function(r,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(f);case"<":a=l[o.slice(1,-1)];break;default:var s=+o;if(0===s)return r;if(s>h){var c=i(s/10);return 0===c?r:c<=h?void 0===u[c-1]?o.charAt(1):u[c-1]+o.charAt(1):r}a=u[s-1]}return void 0===a?"":a}))}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1179:function(t){var e=Math.abs,n=Math.pow,r=Math.floor,i=Math.log,o=Math.LN2;t.exports={pack:function(t,a,s){var u,l,c,f=new Array(s),h=8*s-a-1,d=(1<<h)-1,p=d>>1,v=23===a?n(2,-24)-n(2,-77):0,g=t<0||0===t&&1/t<0?1:0,m=0;for((t=e(t))!=t||t===1/0?(l=t!=t?1:0,u=d):(u=r(i(t)/o),t*(c=n(2,-u))<1&&(u--,c*=2),(t+=u+p>=1?v/c:v*n(2,1-p))*c>=2&&(u++,c/=2),u+p>=d?(l=0,u=d):u+p>=1?(l=(t*c-1)*n(2,a),u+=p):(l=t*n(2,p-1)*n(2,a),u=0));a>=8;f[m++]=255&l,l/=256,a-=8);for(u=u<<a|l,h+=a;h>0;f[m++]=255&u,u/=256,h-=8);return f[--m]|=128*g,f},unpack:function(t,e){var r,i=t.length,o=8*i-e-1,a=(1<<o)-1,s=a>>1,u=o-7,l=i-1,c=t[l--],f=127&c;for(c>>=7;u>0;f=256*f+t[l],l--,u-=8);for(r=f&(1<<-u)-1,f>>=-u,u+=e;u>0;r=256*r+t[l],l--,u-=8);if(0===f)f=1-s;else{if(f===a)return r?NaN:c?-1/0:1/0;r+=n(2,e),f-=s}return(c?-1:1)*r*n(2,f-e)}}},8361:function(t,e,n){var r=n(7293),i=n(4326),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},9587:function(t,e,n){var r=n(111),i=n(7674);t.exports=function(t,e,n){var o,a;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(t,a),t}},2788:function(t,e,n){var r=n(5465),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},9909:function(t,e,n){var r,i,o,a=n(8536),s=n(7854),u=n(111),l=n(8880),c=n(6656),f=n(5465),h=n(6200),d=n(3501);if(a){var p=f.state||(f.state=new(0,s.WeakMap)),v=p.get,g=p.has,m=p.set;r=function(t,e){return e.facade=t,m.call(p,t,e),e},i=function(t){return v.call(p,t)||{}},o=function(t){return g.call(p,t)}}else{var y=h("state");d[y]=!0,r=function(t,e){return e.facade=t,l(t,y,e),e},i=function(t){return c(t,y)?t[y]:{}},o=function(t){return c(t,y)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},7659:function(t,e,n){var r=n(5112),i=n(7497),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},4705:function(t,e,n){var r=n(7293),i=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==l||n!=u&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},111:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:function(t){t.exports=!1},7850:function(t,e,n){var r=n(111),i=n(4326),o=n(5112)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},9212:function(t,e,n){var r=n(9670);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},3383:function(t,e,n){var r,i,o,a=n(7293),s=n(9518),u=n(8880),l=n(6656),c=n(5112),f=n(1913),h=c("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(r=i):d=!0);var p=null==r||a((function(){var t={};return r[h].call(t)!==t}));p&&(r={}),f&&!p||l(r,h)||u(r,h,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7497:function(t){t.exports={}},133:function(t,e,n){var r=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},590:function(t,e,n){var r=n(7293),i=n(5112),o=n(1913),a=i("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:function(t,e,n){var r=n(7854),i=n(2788),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},1574:function(t,e,n){var r=n(9781),i=n(7293),o=n(1956),a=n(5181),s=n(5296),u=n(7908),l=n(8361),c=Object.assign,f=Object.defineProperty;t.exports=!c||i((function(){if(r&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||o(c({},e)).join("")!=i}))?function(t,e){for(var n=u(t),i=arguments.length,c=1,f=a.f,h=s.f;i>c;)for(var d,p=l(arguments[c++]),v=f?o(p).concat(f(p)):o(p),g=v.length,m=0;g>m;)d=v[m++],r&&!h.call(p,d)||(n[d]=p[d]);return n}:c},30:function(t,e,n){var r,i=n(9670),o=n(6048),a=n(748),s=n(3501),u=n(490),l=n(317),c=n(6200),f="prototype",h="script",d=c("IE_PROTO"),p=function(){},v=function(t){return"<"+h+">"+t+"</"+h+">"},g=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e,n;g=r?function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):(e=l("iframe"),n="java"+h+":",e.style.display="none",u.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F);for(var i=a.length;i--;)delete g[f][a[i]];return g()};s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p[f]=i(t),n=new p,p[f]=null,n[d]=t):n=g(),void 0===e?n:o(n,e)}},6048:function(t,e,n){var r=n(9781),i=n(3070),o=n(9670),a=n(1956);t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),s=r.length,u=0;s>u;)i.f(t,n=r[u++],e[n]);return t}},3070:function(t,e,n){var r=n(9781),i=n(4664),o=n(9670),a=n(7593),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),i=n(5296),o=n(9114),a=n(5656),s=n(7593),u=n(6656),l=n(4664),c=Object.getOwnPropertyDescriptor;e.f=r?c:function(t,e){if(t=a(t),e=s(e,!0),l)try{return c(t,e)}catch(t){}if(u(t,e))return o(!i.f.call(t,e),t[e])}},8006:function(t,e,n){var r=n(6324),i=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},9518:function(t,e,n){var r=n(6656),i=n(7908),o=n(6200),a=n(8544),s=o("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},6324:function(t,e,n){var r=n(6656),i=n(5656),o=n(1318).indexOf,a=n(3501);t.exports=function(t,e){var n,s=i(t),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~o(l,n)||l.push(n));return l}},1956:function(t,e,n){var r=n(6324),i=n(748);t.exports=Object.keys||function(t){return r(t,i)}},5296:function(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},7674:function(t,e,n){var r=n(9670),i=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},288:function(t,e,n){var r=n(1694),i=n(648);t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},3887:function(t,e,n){var r=n(5005),i=n(8006),o=n(5181),a=n(9670);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},857:function(t,e,n){var r=n(7854);t.exports=r},2248:function(t,e,n){var r=n(1320);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},1320:function(t,e,n){var r=n(7854),i=n(8880),o=n(6656),a=n(3505),s=n(2788),u=n(9909),l=u.get,c=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,s){var u,l=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),(u=c(n)).source||(u.source=f.join("string"==typeof e?e:""))),t!==r?(l?!d&&t[e]&&(h=!0):delete t[e],h?t[e]=n:i(t,e,n)):h?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},7651:function(t,e,n){var r=n(4326),i=n(2261);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},2261:function(t,e,n){var r,i,o=n(7066),a=n(2999),s=RegExp.prototype.exec,u=String.prototype.replace,l=s,c=(i=/b*/g,s.call(r=/a/,"a"),s.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(c||h||f)&&(l=function(t){var e,n,r,i,a=this,l=f&&a.sticky,d=o.call(a),p=a.source,v=0,g=t;return l&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),g=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(p="(?: "+p+")",g=" "+g,v++),n=new RegExp("^(?:"+p+")",d)),h&&(n=new RegExp("^"+p+"$(?!\\s)",d)),c&&(e=a.lastIndex),r=s.call(l?n:a,g),l?r?(r.input=r.input.slice(v),r[0]=r[0].slice(v),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:c&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),h&&r&&r.length>1&&u.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=l},7066:function(t,e,n){var r=n(9670);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},2999:function(t,e,n){var r=n(7293);function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},4488:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:function(t,e,n){var r=n(7854),i=n(8880);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},6340:function(t,e,n){var r=n(5005),i=n(3070),o=n(5112),a=n(9781),s=o("species");t.exports=function(t){var e=r(t);a&&e&&!e[s]&&(0,i.f)(e,s,{configurable:!0,get:function(){return this}})}},8003:function(t,e,n){var r=n(3070).f,i=n(6656),o=n(5112)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},6200:function(t,e,n){var r=n(2309),i=n(9711),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:function(t,e,n){var r=n(7854),i=n(3505),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},2309:function(t,e,n){var r=n(1913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(t,e,n){var r=n(9670),i=n(3099),o=n(5112)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},8710:function(t,e,n){var r=n(9958),i=n(4488),o=function(t){return function(e,n){var o,a,s=String(i(e)),u=r(n),l=s.length;return u<0||u>=l?t?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},3197:function(t){var e=2147483647,n=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",o=Math.floor,a=String.fromCharCode,s=function(t){return t+22+75*(t<26)},u=function(t,e,n){var r=0;for(t=n?o(t/700):t>>1,t+=o(t/e);t>455;r+=36)t=o(t/35);return o(r+36*t/(t+38))},l=function(t){var n=[];t=function(t){for(var e=[],n=0,r=t.length;n<r;){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=t.charCodeAt(n++);56320==(64512&o)?e.push(((1023&i)<<10)+(1023&o)+65536):(e.push(i),n--)}else e.push(i)}return e}(t);var r,l,c=t.length,f=128,h=0,d=72;for(r=0;r<t.length;r++)(l=t[r])<128&&n.push(a(l));var p=n.length,v=p;for(p&&n.push("-");v<c;){var g=e;for(r=0;r<t.length;r++)(l=t[r])>=f&&l<g&&(g=l);var m=v+1;if(g-f>o((e-h)/m))throw RangeError(i);for(h+=(g-f)*m,f=g,r=0;r<t.length;r++){if((l=t[r])<f&&++h>e)throw RangeError(i);if(l==f){for(var y=h,z=36;;z+=36){var b=z<=d?1:z>=d+26?26:z-d;if(y<b)break;var w=y-b,_=36-b;n.push(a(s(b+w%_))),y=o(w/_)}n.push(a(s(y))),d=u(h,m,v==p),h=0,++v}}++h,++f}return n.join("")};t.exports=function(t){var e,i,o=[],a=t.toLowerCase().replace(r,".").split(".");for(e=0;e<a.length;e++)o.push(n.test(i=a[e])?"xn--"+l(i):i);return o.join(".")}},6091:function(t,e,n){var r=n(7293),i=n(1361);t.exports=function(t){return r((function(){return!!i[t]()||"
"!="
"[t]()||i[t].name!==t}))}},3111:function(t,e,n){var r=n(4488),i="["+n(1361)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},1400:function(t,e,n){var r=n(9958),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},7067:function(t,e,n){var r=n(9958),i=n(7466);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length or index");return n}},5656:function(t,e,n){var r=n(8361),i=n(4488);t.exports=function(t){return r(i(t))}},9958:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},7466:function(t,e,n){var r=n(9958),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488);t.exports=function(t){return Object(r(t))}},4590:function(t,e,n){var r=n(3002);t.exports=function(t,e){var n=r(t);if(n%e)throw RangeError("Wrong offset");return n}},3002:function(t,e,n){var r=n(9958);t.exports=function(t){var e=r(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},7593:function(t,e,n){var r=n(111);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},1694:function(t,e,n){var r={};r[n(5112)("toStringTag")]="z",t.exports="[object z]"===String(r)},9843:function(t,e,n){var r=n(2109),i=n(7854),o=n(9781),a=n(3832),s=n(260),u=n(3331),l=n(5787),c=n(9114),f=n(8880),h=n(7466),d=n(7067),p=n(4590),v=n(7593),g=n(6656),m=n(648),y=n(111),z=n(30),b=n(7674),w=n(8006).f,_=n(7321),x=n(2092).forEach,k=n(6340),A=n(3070),E=n(1236),S=n(9909),F=n(9587),T=S.get,C=S.set,R=A.f,M=E.f,U=Math.round,j=i.RangeError,I=u.ArrayBuffer,$=u.DataView,O=s.NATIVE_ARRAY_BUFFER_VIEWS,L=s.TYPED_ARRAY_TAG,P=s.TypedArray,B=s.TypedArrayPrototype,N=s.aTypedArrayConstructor,D=s.isTypedArray,Q="BYTES_PER_ELEMENT",W="Wrong length",q=function(t,e){for(var n=0,r=e.length,i=new(N(t))(r);r>n;)i[n]=e[n++];return i},H=function(t,e){R(t,e,{get:function(){return T(this)[e]}})},X=function(t){var e;return t instanceof I||"ArrayBuffer"==(e=m(t))||"SharedArrayBuffer"==e},Y=function(t,e){return D(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},V=function(t,e){return Y(t,e=v(e,!0))?c(2,t[e]):M(t,e)},G=function(t,e,n){return!(Y(t,e=v(e,!0))&&y(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?R(t,e,n):(t[e]=n.value,t)};o?(O||(E.f=V,A.f=G,H(B,"buffer"),H(B,"byteOffset"),H(B,"byteLength"),H(B,"length")),r({target:"Object",stat:!0,forced:!O},{getOwnPropertyDescriptor:V,defineProperty:G}),t.exports=function(t,e,n){var o=t.match(/\d+$/)[0]/8,s=t+(n?"Clamped":"")+"Array",u="get"+t,c="set"+t,v=i[s],g=v,m=g&&g.prototype,A={},E=function(t,e){R(t,e,{get:function(){return function(t,e){var n=T(t);return n.view[u](e*o+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var i=T(t);n&&(r=(r=U(r))<0?0:r>255?255:255&r),i.view[c](e*o+i.byteOffset,r,!0)}(this,e,t)},enumerable:!0})};O?a&&(g=e((function(t,e,n,r){return l(t,g,s),F(y(e)?X(e)?void 0!==r?new v(e,p(n,o),r):void 0!==n?new v(e,p(n,o)):new v(e):D(e)?q(g,e):_.call(g,e):new v(d(e)),t,g)})),b&&b(g,P),x(w(v),(function(t){t in g||f(g,t,v[t])})),g.prototype=m):(g=e((function(t,e,n,r){l(t,g,s);var i,a,u,c=0,f=0;if(y(e)){if(!X(e))return D(e)?q(g,e):_.call(g,e);i=e,f=p(n,o);var v=e.byteLength;if(void 0===r){if(v%o)throw j(W);if((a=v-f)<0)throw j(W)}else if((a=h(r)*o)+f>v)throw j(W);u=a/o}else u=d(e),i=new I(a=u*o);for(C(t,{buffer:i,byteOffset:f,byteLength:a,length:u,view:new $(i)});c<u;)E(t,c++)})),b&&b(g,P),m=g.prototype=z(B)),m.constructor!==g&&f(m,"constructor",g),L&&f(m,L,s),A[s]=g,r({global:!0,forced:g!=v,sham:!O},A),Q in g||f(g,Q,o),Q in m||f(m,Q,o),k(s)}):t.exports=function(){}},3832:function(t,e,n){var r=n(7854),i=n(7293),o=n(7072),a=n(260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;t.exports=!a||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!o((function(t){new u,new u(null),new u(1.5),new u(t)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},3074:function(t,e,n){var r=n(260).aTypedArrayConstructor,i=n(6707);t.exports=function(t,e){for(var n=i(t,t.constructor),o=0,a=e.length,s=new(r(n))(a);a>o;)s[o]=e[o++];return s}},7321:function(t,e,n){var r=n(7908),i=n(7466),o=n(1246),a=n(7659),s=n(9974),u=n(260).aTypedArrayConstructor;t.exports=function(t){var e,n,l,c,f,h,d=r(t),p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=o(d);if(null!=m&&!a(m))for(h=(f=m.call(d)).next,d=[];!(c=h.call(f)).done;)d.push(c.value);for(g&&p>2&&(v=s(v,arguments[2],2)),n=i(d.length),l=new(u(this))(n),e=0;n>e;e++)l[e]=g?v(d[e],e):d[e];return l}},9711:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},3307:function(t,e,n){var r=n(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,e,n){var r=n(7854),i=n(2309),o=n(6656),a=n(9711),s=n(133),u=n(3307),l=i("wks"),c=r.Symbol,f=u?c:c&&c.withoutSetter||a;t.exports=function(t){return o(l,t)||(l[t]=s&&o(c,t)?c[t]:f("Symbol."+t)),l[t]}},1361:function(t){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},8264:function(t,e,n){var r=n(2109),i=n(7854),o=n(3331),a=n(6340),s="ArrayBuffer",u=o[s];r({global:!0,forced:i[s]!==u},{ArrayBuffer:u}),a(s)},2222:function(t,e,n){var r=n(2109),i=n(7293),o=n(3157),a=n(111),s=n(7908),u=n(7466),l=n(6135),c=n(5417),f=n(1194),h=n(5112),d=n(7392),p=h("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=d>=51||!i((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),y=f("concat"),z=function(t){if(!a(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,forced:!m||!y},{concat:function(t){var e,n,r,i,o,a=s(this),f=c(a,0),h=0;for(e=-1,r=arguments.length;e<r;e++)if(z(o=-1===e?a:arguments[e])){if(h+(i=u(o.length))>v)throw TypeError(g);for(n=0;n<i;n++,h++)n in o&&l(f,h,o[n])}else{if(h>=v)throw TypeError(g);l(f,h++,o)}return f.length=h,f}})},7327:function(t,e,n){var r=n(2109),i=n(2092).filter;r({target:"Array",proto:!0,forced:!n(1194)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},2772:function(t,e,n){var r=n(2109),i=n(1318).indexOf,o=n(9341),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,u=o("indexOf");r({target:"Array",proto:!0,forced:s||!u},{indexOf:function(t){return s?a.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},6992:function(t,e,n){var r=n(5656),i=n(1223),o=n(7497),a=n(9909),s=n(654),u="Array Iterator",l=a.set,c=a.getterFor(u);t.exports=s(Array,"Array",(function(t,e){l(this,{type:u,target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},1249:function(t,e,n){var r=n(2109),i=n(2092).map;r({target:"Array",proto:!0,forced:!n(1194)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},7042:function(t,e,n){var r=n(2109),i=n(111),o=n(3157),a=n(1400),s=n(7466),u=n(5656),l=n(6135),c=n(5112),f=n(1194)("slice"),h=c("species"),d=[].slice,p=Math.max;r({target:"Array",proto:!0,forced:!f},{slice:function(t,e){var n,r,c,f=u(this),v=s(f.length),g=a(t,v),m=a(void 0===e?v:e,v);if(o(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[h])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(f,g,m);for(r=new(void 0===n?Array:n)(p(m-g,0)),c=0;g<m;g++,c++)g in f&&l(r,c,f[g]);return r.length=c,r}})},561:function(t,e,n){var r=n(2109),i=n(1400),o=n(9958),a=n(7466),s=n(7908),u=n(5417),l=n(6135),c=n(1194)("splice"),f=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!c},{splice:function(t,e){var n,r,c,d,p,v,g=s(this),m=a(g.length),y=i(t,m),z=arguments.length;if(0===z?n=r=0:1===z?(n=0,r=m-y):(n=z-2,r=h(f(o(e),0),m-y)),m+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=u(g,r),d=0;d<r;d++)(p=y+d)in g&&l(c,d,g[p]);if(c.length=r,n<r){for(d=y;d<m-r;d++)v=d+n,(p=d+r)in g?g[v]=g[p]:delete g[v];for(d=m;d>m-r+n;d--)delete g[d-1]}else if(n>r)for(d=m-r;d>y;d--)v=d+n-1,(p=d+r-1)in g?g[v]=g[p]:delete g[v];for(d=0;d<n;d++)g[d+y]=arguments[d+2];return g.length=m-r+n,c}})},8309:function(t,e,n){var r=n(9781),i=n(3070).f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,u="name";r&&!(u in o)&&i(o,u,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},489:function(t,e,n){var r=n(2109),i=n(7293),o=n(7908),a=n(9518),s=n(8544);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},1539:function(t,e,n){var r=n(1694),i=n(1320),o=n(288);r||i(Object.prototype,"toString",o,{unsafe:!0})},4916:function(t,e,n){var r=n(2109),i=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},9714:function(t,e,n){var r=n(1320),i=n(9670),o=n(7293),a=n(7066),s="toString",u=RegExp.prototype,l=u[s];(o((function(){return"/a/b"!=l.call({source:"a",flags:"b"})}))||l.name!=s)&&r(RegExp.prototype,s,(function(){var t=i(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in u)?a.call(t):n)}),{unsafe:!0})},8783:function(t,e,n){var r=n(8710).charAt,i=n(9909),o=n(654),a="String Iterator",s=i.set,u=i.getterFor(a);o(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=u(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},4723:function(t,e,n){var r=n(7007),i=n(9670),o=n(7466),a=n(4488),s=n(1530),u=n(7651);r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=i(t),l=String(this);if(!a.global)return u(a,l);var c=a.unicode;a.lastIndex=0;for(var f,h=[],d=0;null!==(f=u(a,l));){var p=String(f[0]);h[d]=p,""===p&&(a.lastIndex=s(l,o(a.lastIndex),c)),d++}return 0===d?null:h}]}))},5306:function(t,e,n){var r=n(7007),i=n(9670),o=n(7466),a=n(9958),s=n(4488),u=n(1530),l=n(647),c=n(7651),f=Math.max,h=Math.min;r("replace",2,(function(t,e,n,r){var d=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,p=r.REPLACE_KEEPS_$0,v=d?"$":"$0";return[function(n,r){var i=s(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!d&&p||"string"==typeof r&&-1===r.indexOf(v)){var s=n(e,t,this,r);if(s.done)return s.value}var g=i(t),m=String(this),y="function"==typeof r;y||(r=String(r));var z=g.global;if(z){var b=g.unicode;g.lastIndex=0}for(var w=[];;){var _=c(g,m);if(null===_)break;if(w.push(_),!z)break;""===String(_[0])&&(g.lastIndex=u(m,o(g.lastIndex),b))}for(var x,k="",A=0,E=0;E<w.length;E++){_=w[E];for(var S=String(_[0]),F=f(h(a(_.index),m.length),0),T=[],C=1;C<_.length;C++)T.push(void 0===(x=_[C])?x:String(x));var R=_.groups;if(y){var M=[S].concat(T,F,m);void 0!==R&&M.push(R);var U=String(r.apply(void 0,M))}else U=l(S,m,F,T,R,r);F>=A&&(k+=m.slice(A,F)+U,A=F+S.length)}return k+m.slice(A)}]}))},3123:function(t,e,n){var r=n(7007),i=n(7850),o=n(9670),a=n(4488),s=n(6707),u=n(1530),l=n(7466),c=n(7651),f=n(2261),h=n(7293),d=[].push,p=Math.min,v=4294967295,g=!h((function(){return!RegExp(v,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),o=void 0===n?v:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,o);for(var s,u,l,c=[],h=0,p=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(s=f.call(p,r))&&!((u=p.lastIndex)>h&&(c.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&d.apply(c,s.slice(1)),l=s[0].length,h=u,c.length>=o));)p.lastIndex===s.index&&p.lastIndex++;return h===r.length?!l&&p.test("")||c.push(""):c.push(r.slice(h)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=a(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var a=n(r,t,this,i,r!==e);if(a.done)return a.value;var f=o(t),h=String(this),d=s(f,RegExp),m=f.unicode,y=new d(g?f:"^(?:"+f.source+")",(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(g?"y":"g")),z=void 0===i?v:i>>>0;if(0===z)return[];if(0===h.length)return null===c(y,h)?[h]:[];for(var b=0,w=0,_=[];w<h.length;){y.lastIndex=g?w:0;var x,k=c(y,g?h:h.slice(w));if(null===k||(x=p(l(y.lastIndex+(g?0:w)),h.length))===b)w=u(h,w,m);else{if(_.push(h.slice(b,w)),_.length===z)return _;for(var A=1;A<=k.length-1;A++)if(_.push(k[A]),_.length===z)return _;w=b=x}}return _.push(h.slice(b)),_}]}),!g)},3210:function(t,e,n){var r=n(2109),i=n(3111).trim;r({target:"String",proto:!0,forced:n(6091)("trim")},{trim:function(){return i(this)}})},2990:function(t,e,n){var r=n(260),i=n(1048),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(t,e){return i.call(o(this),t,e,arguments.length>2?arguments[2]:void 0)}))},8927:function(t,e,n){var r=n(260),i=n(2092).every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},3105:function(t,e,n){var r=n(260),i=n(1285),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(t){return i.apply(o(this),arguments)}))},5035:function(t,e,n){var r=n(260),i=n(2092).filter,o=n(3074),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(t){var e=i(a(this),t,arguments.length>1?arguments[1]:void 0);return o(this,e)}))},7174:function(t,e,n){var r=n(260),i=n(2092).findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},4345:function(t,e,n){var r=n(260),i=n(2092).find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},2846:function(t,e,n){var r=n(260),i=n(2092).forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(t){i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},4731:function(t,e,n){var r=n(260),i=n(1318).includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},7209:function(t,e,n){var r=n(260),i=n(1318).indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},6319:function(t,e,n){var r=n(7854),i=n(260),o=n(6992),a=n(5112)("iterator"),s=r.Uint8Array,u=o.values,l=o.keys,c=o.entries,f=i.aTypedArray,h=i.exportTypedArrayMethod,d=s&&s.prototype[a],p=!!d&&("values"==d.name||null==d.name),v=function(){return u.call(f(this))};h("entries",(function(){return c.call(f(this))})),h("keys",(function(){return l.call(f(this))})),h("values",v,!p),h(a,v,!p)},8867:function(t,e,n){var r=n(260),i=r.aTypedArray,o=[].join;(0,r.exportTypedArrayMethod)("join",(function(t){return o.apply(i(this),arguments)}))},7789:function(t,e,n){var r=n(260),i=n(6583),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(t){return i.apply(o(this),arguments)}))},3739:function(t,e,n){var r=n(260),i=n(2092).map,o=n(6707),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(s(o(t,t.constructor)))(e)}))}))},4483:function(t,e,n){var r=n(260),i=n(3671).right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(t){return i(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},9368:function(t,e,n){var r=n(260),i=n(3671).left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(t){return i(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},2056:function(t,e,n){var r=n(260),i=r.aTypedArray,o=Math.floor;(0,r.exportTypedArrayMethod)("reverse",(function(){for(var t,e=this,n=i(e).length,r=o(n/2),a=0;a<r;)t=e[a],e[a++]=e[--n],e[n]=t;return e}))},3462:function(t,e,n){var r=n(260),i=n(7466),o=n(4590),a=n(7908),s=n(7293),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(t){u(this);var e=o(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(t),s=i(r.length),l=0;if(s+e>n)throw RangeError("Wrong length");for(;l<s;)this[e+l]=r[l++]}),s((function(){new Int8Array(1).set({})})))},678:function(t,e,n){var r=n(260),i=n(6707),o=n(7293),a=r.aTypedArray,s=r.aTypedArrayConstructor,u=[].slice;(0,r.exportTypedArrayMethod)("slice",(function(t,e){for(var n=u.call(a(this),t,e),r=i(this,this.constructor),o=0,l=n.length,c=new(s(r))(l);l>o;)c[o]=n[o++];return c}),o((function(){new Int8Array(1).slice()})))},7462:function(t,e,n){var r=n(260),i=n(2092).some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},3824:function(t,e,n){var r=n(260),i=r.aTypedArray,o=[].sort;(0,r.exportTypedArrayMethod)("sort",(function(t){return o.call(i(this),t)}))},5021:function(t,e,n){var r=n(260),i=n(7466),o=n(1400),a=n(6707),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(t,e){var n=s(this),r=n.length,u=o(t,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,i((void 0===e?r:o(e,r))-u))}))},2974:function(t,e,n){var r=n(7854),i=n(260),o=n(7293),a=r.Int8Array,s=i.aTypedArray,u=i.exportTypedArrayMethod,l=[].toLocaleString,c=[].slice,f=!!a&&o((function(){l.call(new a(1))}));u("toLocaleString",(function(){return l.apply(f?c.call(s(this)):s(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!o((function(){a.prototype.toLocaleString.call([1,2])})))},5016:function(t,e,n){var r=n(260).exportTypedArrayMethod,i=n(7293),o=n(7854).Uint8Array,a=o&&o.prototype||{},s=[].toString,u=[].join;i((function(){s.call({})}))&&(s=function(){return u.call(this)}),r("toString",s,a.toString!=s)},2472:function(t,e,n){n(9843)("Uint8",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},4747:function(t,e,n){var r=n(7854),i=n(8324),o=n(8533),a=n(8880);for(var s in i){var u=r[s],l=u&&u.prototype;if(l&&l.forEach!==o)try{a(l,"forEach",o)}catch(t){l.forEach=o}}},3948:function(t,e,n){var r=n(7854),i=n(8324),o=n(6992),a=n(8880),s=n(5112),u=s("iterator"),l=s("toStringTag"),c=o.values;for(var f in i){var h=r[f],d=h&&h.prototype;if(d){if(d[u]!==c)try{a(d,u,c)}catch(t){d[u]=c}if(d[l]||a(d,l,f),i[f])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(t){d[p]=o[p]}}}},1637:function(t,e,n){n(6992);var r=n(2109),i=n(5005),o=n(590),a=n(1320),s=n(2248),u=n(8003),l=n(4994),c=n(9909),f=n(5787),h=n(6656),d=n(9974),p=n(648),v=n(9670),g=n(111),m=n(30),y=n(9114),z=n(8554),b=n(1246),w=n(5112),_=i("fetch"),x=i("Headers"),k=w("iterator"),A="URLSearchParams",E=A+"Iterator",S=c.set,F=c.getterFor(A),T=c.getterFor(E),C=/\+/g,R=Array(4),M=function(t){return R[t-1]||(R[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},U=function(t){try{return decodeURIComponent(t)}catch(e){return t}},j=function(t){var e=t.replace(C," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(M(n--),U);return e}},I=/[!'()~]|%20/g,$={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},O=function(t){return $[t]},L=function(t){return encodeURIComponent(t).replace(I,O)},P=function(t,e){if(e)for(var n,r,i=e.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),t.push({key:j(r.shift()),value:j(r.join("="))}))},B=function(t){this.entries.length=0,P(this.entries,t)},N=function(t,e){if(t<e)throw TypeError("Not enough arguments")},D=l((function(t,e){S(this,{type:E,iterator:z(F(t).entries),kind:e})}),"Iterator",(function(){var t=T(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),Q=function(){f(this,Q,A);var t,e,n,r,i,o,a,s,u,l=arguments.length>0?arguments[0]:void 0,c=[];if(S(this,{type:A,entries:c,updateURL:function(){},updateSearchParams:B}),void 0!==l)if(g(l))if("function"==typeof(t=b(l)))for(n=(e=t.call(l)).next;!(r=n.call(e)).done;){if((a=(o=(i=z(v(r.value))).next).call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");c.push({key:a.value+"",value:s.value+""})}else for(u in l)h(l,u)&&c.push({key:u,value:l[u]+""});else P(c,"string"==typeof l?"?"===l.charAt(0)?l.slice(1):l:l+"")},W=Q.prototype;s(W,{append:function(t,e){N(arguments.length,2);var n=F(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){N(arguments.length,1);for(var e=F(this),n=e.entries,r=t+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;e.updateURL()},get:function(t){N(arguments.length,1);for(var e=F(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){N(arguments.length,1);for(var e=F(this).entries,n=t+"",r=[],i=0;i<e.length;i++)e[i].key===n&&r.push(e[i].value);return r},has:function(t){N(arguments.length,1);for(var e=F(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){N(arguments.length,1);for(var n,r=F(this),i=r.entries,o=!1,a=t+"",s=e+"",u=0;u<i.length;u++)(n=i[u]).key===a&&(o?i.splice(u--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL()},sort:function(){var t,e,n,r=F(this),i=r.entries,o=i.slice();for(i.length=0,n=0;n<o.length;n++){for(t=o[n],e=0;e<n;e++)if(i[e].key>t.key){i.splice(e,0,t);break}e===n&&i.push(t)}r.updateURL()},forEach:function(t){for(var e,n=F(this).entries,r=d(t,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((e=n[i++]).value,e.key,this)},keys:function(){return new D(this,"keys")},values:function(){return new D(this,"values")},entries:function(){return new D(this,"entries")}},{enumerable:!0}),a(W,k,W.entries),a(W,"toString",(function(){for(var t,e=F(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(L(t.key)+"="+L(t.value));return n.join("&")}),{enumerable:!0}),u(Q,A),r({global:!0,forced:!o},{URLSearchParams:Q}),o||"function"!=typeof _||"function"!=typeof x||r({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,r,i=[t];return arguments.length>1&&(g(e=arguments[1])&&p(n=e.body)===A&&((r=e.headers?new x(e.headers):new x).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=m(e,{body:y(0,String(n)),headers:y(0,r)})),i.push(e)),_.apply(this,i)}}),t.exports={URLSearchParams:Q,getState:F}},285:function(t,e,n){n(8783);var r,i=n(2109),o=n(9781),a=n(590),s=n(7854),u=n(6048),l=n(1320),c=n(5787),f=n(6656),h=n(1574),d=n(8457),p=n(8710).codeAt,v=n(3197),g=n(8003),m=n(1637),y=n(9909),z=s.URL,b=m.URLSearchParams,w=m.getState,_=y.set,x=y.getterFor("URL"),k=Math.floor,A=Math.pow,E="Invalid scheme",S="Invalid host",F="Invalid port",T=/[A-Za-z]/,C=/[\d+-.A-Za-z]/,R=/\d/,M=/^(0x|0X)/,U=/^[0-7]+$/,j=/^\d+$/,I=/^[\dA-Fa-f]+$/,$=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,O=/[\u0000\t\u000A\u000D #/:?@[\\]]/,L=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,P=/[\t\u000A\u000D]/g,B=function(t,e){var n,r,i;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return S;if(!(n=D(e.slice(1,-1))))return S;t.host=n}else if(G(t)){if(e=v(e),$.test(e))return S;if(null===(n=N(e)))return S;t.host=n}else{if(O.test(e))return S;for(n="",r=d(e),i=0;i<r.length;i++)n+=Y(r[i],W);t.host=n}},N=function(t){var e,n,r,i,o,a,s,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(e=u.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(i=u[r]))return t;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=M.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?j:8==o?U:I).test(i))return t;a=parseInt(i,o)}n.push(a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=A(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*A(256,3-r);return s},D=function(t){var e,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],l=0,c=null,f=0,h=function(){return t.charAt(f)};if(":"==h()){if(":"!=t.charAt(1))return;f+=2,c=++l}for(;h();){if(8==l)return;if(":"!=h()){for(e=n=0;n<4&&I.test(h());)e=16*e+parseInt(h(),16),f++,n++;if("."==h()){if(0==n)return;if(f-=n,l>6)return;for(r=0;h();){if(i=null,r>0){if(!("."==h()&&r<4))return;f++}if(!R.test(h()))return;for(;R.test(h());){if(o=parseInt(h(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}u[l]=256*u[l]+i,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;u[l++]=e}else{if(null!==c)return;f++,c=++l}}if(null!==c)for(a=l-c,l=7;0!=l&&a>0;)s=u[l],u[l--]=u[c+a-1],u[c+--a]=s;else if(8!=l)return;return u},Q=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=k(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,i=0,o=0;o<8;o++)0!==t[o]?(i>n&&(e=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(e=r,n=i),e}(t),n=0;n<8;n++)i&&0===t[n]||(i&&(i=!1),r===n?(e+=n?":":"::",i=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},W={},q=h({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),H=h({},q,{"#":1,"?":1,"{":1,"}":1}),X=h({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(t,e){var n=p(t,0);return n>32&&n<127&&!f(e,t)?t:encodeURIComponent(t)},V={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(t){return f(V,t.scheme)},J=function(t){return""!=t.username||""!=t.password},Z=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},K=function(t,e){var n;return 2==t.length&&T.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},tt=function(t){var e;return t.length>1&&K(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},et=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&K(e[0],!0)||e.pop()},nt=function(t){return"."===t||"%2e"===t.toLowerCase()},rt={},it={},ot={},at={},st={},ut={},lt={},ct={},ft={},ht={},dt={},pt={},vt={},gt={},mt={},yt={},zt={},bt={},wt={},_t={},xt={},kt=function(t,e,n,i){var o,a,s,u,l,c=n||rt,h=0,p="",v=!1,g=!1,m=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(L,"")),e=e.replace(P,""),o=d(e);h<=o.length;){switch(a=o[h],c){case rt:if(!a||!T.test(a)){if(n)return E;c=ot;continue}p+=a.toLowerCase(),c=it;break;case it:if(a&&(C.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return E;p="",c=ot,h=0;continue}if(n&&(G(t)!=f(V,p)||"file"==p&&(J(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=p,n)return void(G(t)&&V[t.scheme]==t.port&&(t.port=null));p="","file"==t.scheme?c=gt:G(t)&&i&&i.scheme==t.scheme?c=at:G(t)?c=ct:"/"==o[h+1]?(c=st,h++):(t.cannotBeABaseURL=!0,t.path.push(""),c=wt)}break;case ot:if(!i||i.cannotBeABaseURL&&"#"!=a)return E;if(i.cannotBeABaseURL&&"#"==a){t.scheme=i.scheme,t.path=i.path.slice(),t.query=i.query,t.fragment="",t.cannotBeABaseURL=!0,c=xt;break}c="file"==i.scheme?gt:ut;continue;case at:if("/"!=a||"/"!=o[h+1]){c=ut;continue}c=ft,h++;break;case st:if("/"==a){c=ht;break}c=bt;continue;case ut:if(t.scheme=i.scheme,a==r)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query;else if("/"==a||"\\"==a&&G(t))c=lt;else if("?"==a)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query="",c=_t;else{if("#"!=a){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.path.pop(),c=bt;continue}t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query,t.fragment="",c=xt}break;case lt:if(!G(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,c=bt;continue}c=ht}else c=ft;break;case ct:if(c=ft,"/"!=a||"/"!=p.charAt(h+1))continue;h++;break;case ft:if("/"!=a&&"\\"!=a){c=ht;continue}break;case ht:if("@"==a){v&&(p="%40"+p),v=!0,s=d(p);for(var y=0;y<s.length;y++){var z=s[y];if(":"!=z||m){var b=Y(z,X);m?t.password+=b:t.username+=b}else m=!0}p=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(t)){if(v&&""==p)return"Invalid authority";h-=d(p).length+1,p="",c=dt}else p+=a;break;case dt:case pt:if(n&&"file"==t.scheme){c=yt;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(t)){if(G(t)&&""==p)return S;if(n&&""==p&&(J(t)||null!==t.port))return;if(u=B(t,p))return u;if(p="",c=zt,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),p+=a}else{if(""==p)return S;if(u=B(t,p))return u;if(p="",c=vt,n==pt)return}break;case vt:if(!R.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(t)||n){if(""!=p){var w=parseInt(p,10);if(w>65535)return F;t.port=G(t)&&w===V[t.scheme]?null:w,p=""}if(n)return;c=zt;continue}return F}p+=a;break;case gt:if(t.scheme="file","/"==a||"\\"==a)c=mt;else{if(!i||"file"!=i.scheme){c=bt;continue}if(a==r)t.host=i.host,t.path=i.path.slice(),t.query=i.query;else if("?"==a)t.host=i.host,t.path=i.path.slice(),t.query="",c=_t;else{if("#"!=a){tt(o.slice(h).join(""))||(t.host=i.host,t.path=i.path.slice(),et(t)),c=bt;continue}t.host=i.host,t.path=i.path.slice(),t.query=i.query,t.fragment="",c=xt}}break;case mt:if("/"==a||"\\"==a){c=yt;break}i&&"file"==i.scheme&&!tt(o.slice(h).join(""))&&(K(i.path[0],!0)?t.path.push(i.path[0]):t.host=i.host),c=bt;continue;case yt:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(p))c=bt;else if(""==p){if(t.host="",n)return;c=zt}else{if(u=B(t,p))return u;if("localhost"==t.host&&(t.host=""),n)return;p="",c=zt}continue}p+=a;break;case zt:if(G(t)){if(c=bt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(c=bt,"/"!=a))continue}else t.fragment="",c=xt;else t.query="",c=_t;break;case bt:if(a==r||"/"==a||"\\"==a&&G(t)||!n&&("?"==a||"#"==a)){if(".."===(l=(l=p).toLowerCase())||"%2e."===l||".%2e"===l||"%2e%2e"===l?(et(t),"/"==a||"\\"==a&&G(t)||t.path.push("")):nt(p)?"/"==a||"\\"==a&&G(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&K(p)&&(t.host&&(t.host=""),p=p.charAt(0)+":"),t.path.push(p)),p="","file"==t.scheme&&(a==r||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",c=_t):"#"==a&&(t.fragment="",c=xt)}else p+=Y(a,H);break;case wt:"?"==a?(t.query="",c=_t):"#"==a?(t.fragment="",c=xt):a!=r&&(t.path[0]+=Y(a,W));break;case _t:n||"#"!=a?a!=r&&("'"==a&&G(t)?t.query+="%27":t.query+="#"==a?"%23":Y(a,W)):(t.fragment="",c=xt);break;case xt:a!=r&&(t.fragment+=Y(a,q))}h++}},At=function(t){var e,n,r=c(this,At,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(t),s=_(r,{type:"URL"});if(void 0!==i)if(i instanceof At)e=x(i);else if(n=kt(e={},String(i)))throw TypeError(n);if(n=kt(s,a,null,e))throw TypeError(n);var u=s.searchParams=new b,l=w(u);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(u)||null},o||(r.href=St.call(r),r.origin=Ft.call(r),r.protocol=Tt.call(r),r.username=Ct.call(r),r.password=Rt.call(r),r.host=Mt.call(r),r.hostname=Ut.call(r),r.port=jt.call(r),r.pathname=It.call(r),r.search=$t.call(r),r.searchParams=Ot.call(r),r.hash=Lt.call(r))},Et=At.prototype,St=function(){var t=x(this),e=t.scheme,n=t.username,r=t.password,i=t.host,o=t.port,a=t.path,s=t.query,u=t.fragment,l=e+":";return null!==i?(l+="//",J(t)&&(l+=n+(r?":"+r:"")+"@"),l+=Q(i),null!==o&&(l+=":"+o)):"file"==e&&(l+="//"),l+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(l+="?"+s),null!==u&&(l+="#"+u),l},Ft=function(){var t=x(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&G(t)?e+"://"+Q(t.host)+(null!==n?":"+n:""):"null"},Tt=function(){return x(this).scheme+":"},Ct=function(){return x(this).username},Rt=function(){return x(this).password},Mt=function(){var t=x(this),e=t.host,n=t.port;return null===e?"":null===n?Q(e):Q(e)+":"+n},Ut=function(){var t=x(this).host;return null===t?"":Q(t)},jt=function(){var t=x(this).port;return null===t?"":String(t)},It=function(){var t=x(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},$t=function(){var t=x(this).query;return t?"?"+t:""},Ot=function(){return x(this).searchParams},Lt=function(){var t=x(this).fragment;return t?"#"+t:""},Pt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(o&&u(Et,{href:Pt(St,(function(t){var e=x(this),n=String(t),r=kt(e,n);if(r)throw TypeError(r);w(e.searchParams).updateSearchParams(e.query)})),origin:Pt(Ft),protocol:Pt(Tt,(function(t){var e=x(this);kt(e,String(t)+":",rt)})),username:Pt(Ct,(function(t){var e=x(this),n=d(String(t));if(!Z(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=Y(n[r],X)}})),password:Pt(Rt,(function(t){var e=x(this),n=d(String(t));if(!Z(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=Y(n[r],X)}})),host:Pt(Mt,(function(t){var e=x(this);e.cannotBeABaseURL||kt(e,String(t),dt)})),hostname:Pt(Ut,(function(t){var e=x(this);e.cannotBeABaseURL||kt(e,String(t),pt)})),port:Pt(jt,(function(t){var e=x(this);Z(e)||(""==(t=String(t))?e.port=null:kt(e,t,vt))})),pathname:Pt(It,(function(t){var e=x(this);e.cannotBeABaseURL||(e.path=[],kt(e,t+"",zt))})),search:Pt($t,(function(t){var e=x(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",kt(e,t,_t)),w(e.searchParams).updateSearchParams(e.query)})),searchParams:Pt(Ot),hash:Pt(Lt,(function(t){var e=x(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",kt(e,t,xt)):e.fragment=null}))}),l(Et,"toJSON",(function(){return St.call(this)}),{enumerable:!0}),l(Et,"toString",(function(){return St.call(this)}),{enumerable:!0}),z){var Bt=z.createObjectURL,Nt=z.revokeObjectURL;Bt&&l(At,"createObjectURL",(function(t){return Bt.apply(z,arguments)})),Nt&&l(At,"revokeObjectURL",(function(t){return Nt.apply(z,arguments)}))}g(At,"URL"),i({global:!0,forced:!a,sham:!o},{URL:At})}},e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return function(){function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.r(r),n.d(r,{Dropzone:function(){return m},default:function(){return _}}),n(2222),n(7327),n(2772),n(6992),n(1249),n(7042),n(561),n(8264),n(8309),n(489),n(1539),n(4916),n(9714),n(8783),n(4723),n(5306),n(3123),n(3210),n(2472),n(2990),n(8927),n(3105),n(5035),n(4345),n(7174),n(2846),n(4731),n(7209),n(6319),n(8867),n(7789),n(3739),n(9368),n(4483),n(2056),n(3462),n(678),n(7462),n(3824),n(5021),n(2974),n(5016),n(4747),n(3948),n(285);var e=function(){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e)}return n=e,r=[{key:"on",value:function(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this}},{key:"emit",value:function(e){this._callbacks=this._callbacks||{};for(var n=this._callbacks[e],r=!0,i=!0,o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];if(n){var u,l=function(e){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e))||e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(n);try{for(l.s();!(u=l.n()).done;)!1===u.value.apply(this,a)&&(r=!1)}catch(t){l.e(t)}finally{l.f()}}return this.element&&(i=this.element.dispatchEvent(this.makeEvent("dropzone:"+e,{args:a}))),r&&i}},{key:"makeEvent",value:function(t,e){var n={bubbles:!0,cancelable:!0,detail:e};if("function"==typeof window.CustomEvent)return new CustomEvent(t,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),r}},{key:"off",value:function(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[t];if(!n)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(var r=0;r<n.length;r++)if(n[r]===e){n.splice(r,1);break}return this}}],r&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(n.prototype,r),e;var n,r}();function i(t){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t))||t&&"number"==typeof t.length){e&&(t=e);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==e.return||e.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var a={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",preventHiddenInputClear:!1,capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(t,e,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:function(t,e){return e()},chunksUploaded:function(t,e){e()},fallback:function(){var t;this.element.className="".concat(this.element.className," dz-browser-not-supported");var e,n=i(this.element.getElementsByTagName("div"));try{for(n.s();!(e=n.n()).done;){var r=e.value;if(/(^| )dz-message($| )/.test(r.className)){t=r,r.className="dz-message";break}}}catch(t){n.e(t)}finally{n.f()}t||(t=m.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(t));var o=t.getElementsByTagName("span")[0];return o&&(null!=o.textContent?o.textContent=this.options.dictFallbackMessage:null!=o.innerText&&(o.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t,e,n,r){var i={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},o=t.width/t.height;null==e&&null==n?(e=i.srcWidth,n=i.srcHeight):null==e?e=n*o:null==n&&(n=e/o);var a=(e=Math.min(e,i.srcWidth))/(n=Math.min(n,i.srcHeight));if(i.srcWidth>e||i.srcHeight>n)if("crop"===r)o>a?(i.srcHeight=t.height,i.srcWidth=i.srcHeight*a):(i.srcWidth=t.width,i.srcHeight=i.srcWidth/a);else{if("contain"!==r)throw new Error("Unknown resizeMethod '".concat(r,"'"));o>a?n=e/o:e=n*o}return i.srcX=(t.width-i.srcWidth)/2,i.srcY=(t.height-i.srcHeight)/2,i.trgWidth=e,i.trgHeight=n,i},transformFile:function(t,e){return(this.options.resizeWidth||this.options.resizeHeight)&&t.type.match(/image.*/)?this.resizeImage(t,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,e):e(t)},previewTemplate:'<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',drop:function(){return this.element.classList.remove("dz-drag-hover")},dragstart:function(){},dragend:function(){return this.element.classList.remove("dz-drag-hover")},dragenter:function(){return this.element.classList.add("dz-drag-hover")},dragover:function(){return this.element.classList.add("dz-drag-hover")},dragleave:function(){return this.element.classList.remove("dz-drag-hover")},paste:function(){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var e=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){t.previewElement=m.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);var n,r=i(t.previewElement.querySelectorAll("[data-dz-name]"));try{for(r.s();!(n=r.n()).done;){var o=n.value;o.textContent=t.name}}catch(t){r.e(t)}finally{r.f()}var a,s=i(t.previewElement.querySelectorAll("[data-dz-size]"));try{for(s.s();!(a=s.n()).done;)(o=a.value).innerHTML=this.filesize(t.size)}catch(t){s.e(t)}finally{s.f()}this.options.addRemoveLinks&&(t._removeLink=m.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),t.previewElement.appendChild(t._removeLink));var u,l=function(n){return n.preventDefault(),n.stopPropagation(),t.status===m.UPLOADING?m.confirm(e.options.dictCancelUploadConfirmation,(function(){return e.removeFile(t)})):e.options.dictRemoveFileConfirmation?m.confirm(e.options.dictRemoveFileConfirmation,(function(){return e.removeFile(t)})):e.removeFile(t)},c=i(t.previewElement.querySelectorAll("[data-dz-remove]"));try{for(c.s();!(u=c.n()).done;)u.value.addEventListener("click",l)}catch(t){c.e(t)}finally{c.f()}}},removefile:function(){},removedfile:function(t){return null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){if(t.previewElement){t.previewElement.classList.remove("dz-file-preview");var n,r=i(t.previewElement.querySelectorAll("[data-dz-thumbnail]"));try{for(r.s();!(n=r.n()).done;){var o=n.value;o.alt=t.name,o.src=e}}catch(t){r.e(t)}finally{r.f()}return setTimeout((function(){return t.previewElement.classList.add("dz-image-preview")}),1)}},error:function(t,e){if(t.previewElement){t.previewElement.classList.add("dz-error"),"string"!=typeof e&&e.error&&(e=e.error);var n,r=i(t.previewElement.querySelectorAll("[data-dz-errormessage]"));try{for(r.s();!(n=r.n()).done;)n.value.textContent=e}catch(t){r.e(t)}finally{r.f()}}},errormultiple:function(){},processing:function(t){if(t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink))return t._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(t,e){if(t.previewElement){var n,r=i(t.previewElement.querySelectorAll("[data-dz-uploadprogress]"));try{for(r.s();!(n=r.n()).done;){var o=n.value;"PROGRESS"===o.nodeName?o.value=e:o.style.width="".concat(e,"%")}}catch(t){r.e(t)}finally{r.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(t){if(t.previewElement)return t.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(t){return this.emit("error",t,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(t){if(t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}};function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function u(t){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(t))||t&&"number"==typeof t.length){e&&(t=e);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==e.return||e.return()}finally{if(a)throw i}}}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}function d(t,e){return d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},d(t,e)}function p(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?v(t):e}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(o,t);var n,r,i=(n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=g(n);if(r){var i=g(this).constructor;t=Reflect.construct(e,arguments,i)}else t=e.apply(this,arguments);return p(this,t)});function o(t,e){var n,r,s;if(c(this,o),(n=i.call(this)).element=t,n.version=o.version,n.clickableElements=[],n.listeners=[],n.files=[],"string"==typeof n.element&&(n.element=document.querySelector(n.element)),!n.element||null==n.element.nodeType)throw new Error("Invalid dropzone element.");if(n.element.dropzone)throw new Error("Dropzone already attached.");o.instances.push(v(n)),n.element.dropzone=v(n);var u=null!=(s=o.optionsForElement(n.element))?s:{};if(n.options=o.extend({},a,u,null!=e?e:{}),n.options.previewTemplate=n.options.previewTemplate.replace(/\n*/g,""),n.options.forceFallback||!o.isBrowserSupported())return p(n,n.options.fallback.call(v(n)));if(null==n.options.url&&(n.options.url=n.element.getAttribute("action")),!n.options.url)throw new Error("No URL provided.");if(n.options.acceptedFiles&&n.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(n.options.uploadMultiple&&n.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return n.options.acceptedMimeTypes&&(n.options.acceptedFiles=n.options.acceptedMimeTypes,delete n.options.acceptedMimeTypes),null!=n.options.renameFilename&&(n.options.renameFile=function(t){return n.options.renameFilename.call(v(n),t.name,t)}),"string"==typeof n.options.method&&(n.options.method=n.options.method.toUpperCase()),(r=n.getExistingFallback())&&r.parentNode&&r.parentNode.removeChild(r),!1!==n.options.previewsContainer&&(n.previewsContainer=n.options.previewsContainer?o.getElement(n.options.previewsContainer,"previewsContainer"):n.element),n.options.clickable&&(n.clickableElements=!0===n.options.clickable?[n.element]:o.getElements(n.options.clickable,"clickable")),n.init(),n}return h(o,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(t){return t.accepted})).map((function(t){return t}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(t){return!t.accepted})).map((function(t){return t}))}},{key:"getFilesWithStatus",value:function(t){return this.files.filter((function(e){return e.status===t})).map((function(t){return t}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(o.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(o.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(o.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(t){return t.status===o.UPLOADING||t.status===o.QUEUED})).map((function(t){return t}))}},{key:"init",value:function(){var t=this;"form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(o.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length&&function e(){t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null===t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!==t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!==t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.setAttribute("tabindex","-1"),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",o.getElement(t.options.hiddenInputContainer,"hiddenInputContainer").appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",(function(){var n=t.hiddenFileInput.files;if(n.length){var r,i=u(n);try{for(i.s();!(r=i.n()).done;)t.addFile(r.value)}catch(t){i.e(t)}finally{i.f()}}t.emit("addedfiles",n),t.options.preventHiddenInputClear||e()}))}(),this.URL=null!==window.URL?window.URL:window.webkitURL;var e,n=u(this.events);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.on(r,this.options[r])}}catch(t){n.e(t)}finally{n.f()}this.on("uploadprogress",(function(){return t.updateTotalUploadProgress()})),this.on("removedfile",(function(){return t.updateTotalUploadProgress()})),this.on("canceled",(function(e){return t.emit("complete",e)})),this.on("complete",(function(){if(0===t.getAddedFiles().length&&0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length)return setTimeout((function(){return t.emit("queuecomplete")}),0)}));var i=function(t){if(function(t){if(t.dataTransfer.types)for(var e=0;e<t.dataTransfer.types.length;e++)if("Files"===t.dataTransfer.types[e])return!0;return!1}(t))return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return t.emit("dragstart",e),t},dragenter:function(e){return i(e),t.emit("dragenter",e),t},dragover:function(e){var n;try{n=e.dataTransfer.effectAllowed}catch(t){}return e.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",i(e),t.emit("dragover",e),t},dragleave:function(e){return t.emit("dragleave",e),t},drop:function(e){return i(e),t.drop(e),t},dragend:function(e){return t.emit("dragend",e),t}}}],this.clickableElements.forEach((function(e){return t.listeners.push({element:e,events:{click:function(n){return(e!==t.element||n.target===t.element||o.elementInside(n.target,t.element.querySelector(".dz-message")))&&t.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,o.instances.splice(o.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var t,e=0,n=0;if(this.getActiveFiles().length){var r,i=u(this.getActiveFiles());try{for(i.s();!(r=i.n()).done;){var o=r.value;e+=o.upload.bytesSent,n+=o.upload.total}}catch(t){i.e(t)}finally{i.f()}t=100*e/n}else t=100;return this.emit("totaluploadprogress",t,n,e),this}},{key:"_getParamName",value:function(t){return"function"==typeof this.options.paramName?this.options.paramName(t):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(t,"]"):"")}},{key:"_renameFile",value:function(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}},{key:"getFallbackForm",value:function(){var t,e;if(t=this.getExistingFallback())return t;var n='<div class="dz-fallback">';this.options.dictFallbackText&&(n+="<p>".concat(this.options.dictFallbackText,"</p>")),n+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var r=o.createElement(n);return"FORM"!==this.element.tagName?(e=o.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'))).appendChild(r):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=e?e:r}},{key:"getExistingFallback",value:function(){for(var t=function(t){var e,n=u(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(/(^| )fallback($| )/.test(r.className))return r}}catch(t){n.e(t)}finally{n.f()}},e=0,n=["div","form"];e<n.length;e++){var r;if(r=t(this.element.getElementsByTagName(n[e])))return r}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events)e.push(t.element.addEventListener(n,t.events[n],!1));return e}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events)e.push(t.element.removeEventListener(n,t.events[n],!1));return e}()}))}},{key:"disable",value:function(){var t=this;return this.clickableElements.forEach((function(t){return t.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(e){return t.cancelUpload(e)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(t){return t.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(t){var e=0,n="b";if(t>0){for(var r=["tb","gb","mb","kb","b"],i=0;i<r.length;i++){var o=r[i];if(t>=Math.pow(this.options.filesizeBase,4-i)/10){e=t/Math.pow(this.options.filesizeBase,4-i),n=o;break}}e=Math.round(10*e)/10}return"<strong>".concat(e,"</strong> ").concat(this.options.dictFileSizeUnits[n])}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(t){if(t.dataTransfer){this.emit("drop",t);for(var e=[],n=0;n<t.dataTransfer.files.length;n++)e[n]=t.dataTransfer.files[n];if(e.length){var r=t.dataTransfer.items;r&&r.length&&null!=r[0].webkitGetAsEntry?this._addFilesFromItems(r):this.handleFiles(e)}this.emit("addedfiles",e)}}},{key:"paste",value:function(t){if(null!=(null!=(e=null!=t?t.clipboardData:void 0)?function(t){return t.items}(e):void 0)){var e;this.emit("paste",t);var n=t.clipboardData.items;return n.length?this._addFilesFromItems(n):void 0}}},{key:"handleFiles",value:function(t){var e,n=u(t);try{for(n.s();!(e=n.n()).done;)this.addFile(e.value)}catch(t){n.e(t)}finally{n.f()}}},{key:"_addFilesFromItems",value:function(t){var e=this;return function(){var n,r=[],i=u(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value;null!=a.webkitGetAsEntry&&(o=a.webkitGetAsEntry())?r.push(o.isFile?e.addFile(a.getAsFile()):o.isDirectory?e._addFilesFromDirectory(o,o.name):void 0):r.push(null==a.getAsFile||null!=a.kind&&"file"!==a.kind?void 0:e.addFile(a.getAsFile()))}}catch(t){i.e(t)}finally{i.f()}return r}()}},{key:"_addFilesFromDirectory",value:function(t,e){var n=this,r=t.createReader(),i=function(t){return null!=(e=console)&&"function"==typeof e.log?function(e){return e.log(t)}(e):void 0;var e};return function t(){return r.readEntries((function(r){if(r.length>0){var i,o=u(r);try{for(o.s();!(i=o.n()).done;){var a=i.value;a.isFile?a.file((function(t){if(!n.options.ignoreHiddenFiles||"."!==t.name.substring(0,1))return t.fullPath="".concat(e,"/").concat(t.name),n.addFile(t)})):a.isDirectory&&n._addFilesFromDirectory(a,"".concat(e,"/").concat(a.name))}}catch(t){o.e(t)}finally{o.f()}t()}return null}),i)}()}},{key:"accept",value:function(t,e){this.options.maxFilesize&&t.size>1024*this.options.maxFilesize*1024?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):o.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var e=this;t.upload={uuid:o.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t)},this.files.push(t),t.status=o.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,(function(n){n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(t){var e,n=u(t);try{for(n.s();!(e=n.n()).done;)this.enqueueFile(e.value)}catch(t){n.e(t)}finally{n.f()}return null}},{key:"enqueueFile",value:function(t){var e=this;if(t.status!==o.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=o.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return e.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(t){var e=this;if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(t),setTimeout((function(){return e._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return t.emit("thumbnail",e,n),t._processingThumbnail=!1,t._processThumbnailQueue()}))}}},{key:"removeFile",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!e&&!this.emit("removefile",t))&&(t.status===o.UPLOADING&&this.cancelUpload(t),this.files=y(this.files,t),this.emit("removedfile",t,e),0===this.files.length&&this.emit("reset"),!0)}},{key:"removeAllFiles",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];null==t&&(t=!1);var n,r=u(this.files.slice());try{for(r.s();!(n=r.n()).done;){var i=n.value;(i.status!==o.UPLOADING||t)&&this.removeFile(i,e)}}catch(t){r.e(t)}finally{r.f()}return null}},{key:"resizeImage",value:function(t,e,n,r,i){var a=this;return this.createThumbnail(t,e,n,r,!0,(function(e,n){if(null==n)return i(t);var r=a.options.resizeMimeType;null==r&&(r=t.type);var s=n.toDataURL(r,a.options.resizeQuality);return"image/jpeg"!==r&&"image/jpg"!==r||(s=w.restore(t.dataURL,s)),i(o.dataURItoBlob(s))}))}},{key:"createThumbnail",value:function(t,e,n,r,i,o){var a=this,s=new FileReader;s.onload=function(){t.dataURL=s.result,"image/svg+xml"!==t.type?a.createThumbnailFromUrl(t,e,n,r,i,o):null!=o&&o(s.result)},s.readAsDataURL(t)}},{key:"displayExistingFile",value:function(t,e,n,r){var i=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];this.emit("addedfile",t),this.emit("complete",t),o?(t.dataURL=e,this.createThumbnailFromUrl(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,(function(e){i.emit("thumbnail",t,e),n&&n()}),r)):(this.emit("thumbnail",t,e),n&&n())}},{key:"createThumbnailFromUrl",value:function(t,e,n,r,i,o,a){var s=this,u=document.createElement("img");return a&&(u.crossOrigin=a),i="from-image"!=getComputedStyle(document.body).imageOrientation&&i,u.onload=function(){var a=function(t){return t(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&i&&(a=function(t){return EXIF.getData(u,(function(){return t(EXIF.getTag(this,"Orientation"))}))}),a((function(i){t.width=u.width,t.height=u.height;var a=s.options.resize.call(s,t,e,n,r),l=document.createElement("canvas"),c=l.getContext("2d");switch(l.width=a.trgWidth,l.height=a.trgHeight,i>4&&(l.width=a.trgHeight,l.height=a.trgWidth),i){case 2:c.translate(l.width,0),c.scale(-1,1);break;case 3:c.translate(l.width,l.height),c.rotate(Math.PI);break;case 4:c.translate(0,l.height),c.scale(1,-1);break;case 5:c.rotate(.5*Math.PI),c.scale(1,-1);break;case 6:c.rotate(.5*Math.PI),c.translate(0,-l.width);break;case 7:c.rotate(.5*Math.PI),c.translate(l.height,-l.width),c.scale(-1,1);break;case 8:c.rotate(-.5*Math.PI),c.translate(-l.height,0)}b(c,u,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var f=l.toDataURL("image/png");if(null!=o)return o(f,l)}))},null!=o&&(u.onerror=o),u.src=t.dataURL}},{key:"processQueue",value:function(){var t=this.options.parallelUploads,e=this.getUploadingFiles().length,n=e;if(!(e>=t)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-e));for(;n<t;){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:"processFile",value:function(t){return this.processFiles([t])}},{key:"processFiles",value:function(t){var e,n=u(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.processing=!0,r.status=o.UPLOADING,this.emit("processing",r)}}catch(t){n.e(t)}finally{n.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter((function(e){return e.xhr===t})).map((function(t){return t}))}},{key:"cancelUpload",value:function(t){if(t.status===o.UPLOADING){var e,n=this._getFilesWithXhr(t.xhr),r=u(n);try{for(r.s();!(e=r.n()).done;)e.value.status=o.CANCELED}catch(t){r.e(t)}finally{r.f()}void 0!==t.xhr&&t.xhr.abort();var i,a=u(n);try{for(a.s();!(i=a.n()).done;)this.emit("canceled",i.value)}catch(t){a.e(t)}finally{a.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",n)}else t.status!==o.ADDED&&t.status!==o.QUEUED||(t.status=o.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(t){if("function"==typeof t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(this,n)}return t}},{key:"uploadFile",value:function(t){return this.uploadFiles([t])}},{key:"uploadFiles",value:function(t){var e=this;this._transformFiles(t,(function(n){if(e.options.chunking){var r=n[0];t[0].upload.chunked=e.options.chunking&&(e.options.forceChunking||r.size>e.options.chunkSize),t[0].upload.totalChunkCount=Math.ceil(r.size/e.options.chunkSize)}if(t[0].upload.chunked){var i=t[0],a=n[0];i.upload.chunks=[];var s=function(){for(var n=0;void 0!==i.upload.chunks[n];)n++;if(!(n>=i.upload.totalChunkCount)){var r=n*e.options.chunkSize,s=Math.min(r+e.options.chunkSize,a.size),u={name:e._getParamName(0),data:a.webkitSlice?a.webkitSlice(r,s):a.slice(r,s),filename:i.upload.filename,chunkIndex:n};i.upload.chunks[n]={file:i,index:n,dataBlock:u,status:o.UPLOADING,progress:0,retries:0},e._uploadData(t,[u])}};if(i.upload.finishedChunkUpload=function(n,r){var a=!0;n.status=o.SUCCESS,n.dataBlock=null,n.xhr=null;for(var u=0;u<i.upload.totalChunkCount;u++){if(void 0===i.upload.chunks[u])return s();i.upload.chunks[u].status!==o.SUCCESS&&(a=!1)}a&&e.options.chunksUploaded(i,(function(){e._finished(t,r,null)}))},e.options.parallelChunkUploads)for(var u=0;u<i.upload.totalChunkCount;u++)s();else s()}else{for(var l=[],c=0;c<t.length;c++)l[c]={name:e._getParamName(c),data:n[c],filename:t[c].upload.filename};e._uploadData(t,l)}}))}},{key:"_getChunk",value:function(t,e){for(var n=0;n<t.upload.totalChunkCount;n++)if(void 0!==t.upload.chunks[n]&&t.upload.chunks[n].xhr===e)return t.upload.chunks[n]}},{key:"_uploadData",value:function(t,e){var n,r=this,i=new XMLHttpRequest,a=u(t);try{for(a.s();!(n=a.n()).done;)n.value.xhr=i}catch(t){a.e(t)}finally{a.f()}t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=i);var s=this.resolveOption(this.options.method,t),l=this.resolveOption(this.options.url,t);i.open(s,l,!0),this.resolveOption(this.options.timeout,t)&&(i.timeout=this.resolveOption(this.options.timeout,t)),i.withCredentials=!!this.options.withCredentials,i.onload=function(e){r._finishedUploading(t,i,e)},i.ontimeout=function(){r._handleUploadError(t,i,"Request timedout after ".concat(r.options.timeout/1e3," seconds"))},i.onerror=function(){r._handleUploadError(t,i)},(null!=i.upload?i.upload:i).onprogress=function(e){return r._updateFilesUploadProgress(t,i,e)};var c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};if(this.options.headers){var f=this.options.headers;"function"==typeof this.options.headers&&(f=this.options.headers(this)),o.extend(c,f)}for(var h in c){var d=c[h];d&&i.setRequestHeader(h,d)}var p=new FormData;if(this.options.params){var v=this.options.params;for(var g in"function"==typeof v&&(v=v.call(this,t,i,t[0].upload.chunked?this._getChunk(t[0],i):null)),v){var m=v[g];if(Array.isArray(m))for(var y=0;y<m.length;y++)p.append(g,m[y]);else p.append(g,m)}}var z,b=u(t);try{for(b.s();!(z=b.n()).done;)this.emit("sending",z.value,i,p)}catch(t){b.e(t)}finally{b.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",t,i,p),this._addFormElementData(p);for(var w=0;w<e.length;w++){var _=e[w];p.append(_.name,_.data,_.filename)}this.submitRequest(i,p,t)}},{key:"_transformFiles",value:function(t,e){for(var n=this,r=[],i=0,o=function(o){n.options.transformFile.call(n,t[o],(function(n){r[o]=n,++i===t.length&&e(r)}))},a=0;a<t.length;a++)o(a)}},{key:"_addFormElementData",value:function(t){if("FORM"===this.element.tagName){var e,n=u(this.element.querySelectorAll("input, textarea, select, button"));try{for(n.s();!(e=n.n()).done;){var r=e.value,i=r.getAttribute("name"),o=r.getAttribute("type");if(o&&(o=o.toLowerCase()),null!=i)if("SELECT"===r.tagName&&r.hasAttribute("multiple")){var a,s=u(r.options);try{for(s.s();!(a=s.n()).done;){var l=a.value;l.selected&&t.append(i,l.value)}}catch(t){s.e(t)}finally{s.f()}}else(!o||"checkbox"!==o&&"radio"!==o||r.checked)&&t.append(i,r.value)}}catch(t){n.e(t)}finally{n.f()}}}},{key:"_updateFilesUploadProgress",value:function(t,e,n){if(t[0].upload.chunked){var r=t[0],i=this._getChunk(r,e);n?(i.progress=100*n.loaded/n.total,i.total=n.total,i.bytesSent=n.loaded):(i.progress=100,i.bytesSent=i.total),r.upload.progress=0,r.upload.total=0,r.upload.bytesSent=0;for(var o=0;o<r.upload.totalChunkCount;o++)r.upload.chunks[o]&&void 0!==r.upload.chunks[o].progress&&(r.upload.progress+=r.upload.chunks[o].progress,r.upload.total+=r.upload.chunks[o].total,r.upload.bytesSent+=r.upload.chunks[o].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount,this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent)}else{var a,s=u(t);try{for(s.s();!(a=s.n()).done;){var l=a.value;l.upload.total&&l.upload.bytesSent&&l.upload.bytesSent==l.upload.total||(n?(l.upload.progress=100*n.loaded/n.total,l.upload.total=n.total,l.upload.bytesSent=n.loaded):(l.upload.progress=100,l.upload.bytesSent=l.upload.total),this.emit("uploadprogress",l,l.upload.progress,l.upload.bytesSent))}}catch(t){s.e(t)}finally{s.f()}}}},{key:"_finishedUploading",value:function(t,e,n){var r;if(t[0].status!==o.CANCELED&&4===e.readyState){if("arraybuffer"!==e.responseType&&"blob"!==e.responseType&&(r=e.responseText,e.getResponseHeader("content-type")&&~e.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(t){n=t,r="Invalid JSON response from server."}this._updateFilesUploadProgress(t,e),200<=e.status&&e.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],e),r):this._finished(t,r,n):this._handleUploadError(t,e,r)}}},{key:"_handleUploadError",value:function(t,e,n){if(t[0].status!==o.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){var r=this._getChunk(t[0],e);if(r.retries++<this.options.retryChunksLimit)return void this._uploadData(t,[r.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(t,n||this.options.dictResponseError.replace("{{statusCode}}",e.status),e)}}},{key:"submitRequest",value:function(t,e){1==t.readyState?t.send(e):console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.")}},{key:"_finished",value:function(t,e,n){var r,i=u(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;a.status=o.SUCCESS,this.emit("success",a,e,n),this.emit("complete",a)}}catch(t){i.e(t)}finally{i.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(t,e,n){var r,i=u(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;a.status=o.ERROR,this.emit("error",a,e,n),this.emit("complete",a)}}catch(t){i.e(t)}finally{i.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=e,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removefile","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];for(var s in a)t[s]=a[s]}return t}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}}]),o}(e);m.initClass(),m.version="dev",m.options={},m.optionsForElement=function(t){return t.getAttribute("id")?m.options[z(t.getAttribute("id"))]:void 0},m.instances=[],m.forElement=function(t){if("string"==typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},m.autoDiscover=!0,m.discover=function(){var t;if(document.querySelectorAll)t=document.querySelectorAll(".dropzone");else{t=[];var e=function(e){return function(){var n,r=[],i=u(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;/(^| )dropzone($| )/.test(o.className)?r.push(t.push(o)):r.push(void 0)}}catch(t){i.e(t)}finally{i.f()}return r}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){var e,n=[],r=u(t);try{for(r.s();!(e=r.n()).done;){var i=e.value;!1!==m.optionsForElement(i)?n.push(new m(i)):n.push(void 0)}}catch(t){r.e(t)}finally{r.f()}return n}()},m.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],m.isBrowserSupported=function(){var t=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a")){void 0!==m.blacklistedBrowsers&&(m.blockedBrowsers=m.blacklistedBrowsers);var e,n=u(m.blockedBrowsers);try{for(n.s();!(e=n.n()).done;)e.value.test(navigator.userAgent)&&(t=!1)}catch(t){n.e(t)}finally{n.f()}}else t=!1;else t=!1;return t},m.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(e.length),i=new Uint8Array(r),o=0,a=e.length,s=0<=a;s?o<=a:o>=a;s?o++:o--)i[o]=e.charCodeAt(o);return new Blob([r],{type:n})};var y=function(t,e){return t.filter((function(t){return t!==e})).map((function(t){return t}))},z=function(t){return t.replace(/[\-_](\w)/g,(function(t){return t.charAt(1).toUpperCase()}))};m.createElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes[0]},m.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},m.getElement=function(t,e){var n;if("string"==typeof t?n=document.querySelector(t):null!=t.nodeType&&(n=t),null==n)throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector or a plain HTML element."));return n},m.getElements=function(t,e){var n;if(t instanceof Array){n=[];try{var r,i=u(t);try{for(i.s();!(r=i.n()).done;)n.push(this.getElement(r.value,e))}catch(t){i.e(t)}finally{i.f()}}catch(t){n=null}}else if("string"==typeof t){n=[];var o,a=u(document.querySelectorAll(t));try{for(a.s();!(o=a.n()).done;)n.push(o.value)}catch(t){a.e(t)}finally{a.f()}}else null!=t.nodeType&&(n=[t]);if(null==n||!n.length)throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return n},m.confirm=function(t,e,n){return window.confirm(t)?e():null!=n?n():void 0},m.isValidFile=function(t,e){if(!e)return!0;e=e.split(",");var n,r=t.type,i=r.replace(/\/.*$/,""),o=u(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if("."===(a=a.trim()).charAt(0)){if(-1!==t.name.toLowerCase().indexOf(a.toLowerCase(),t.name.length-a.length))return!0}else if(/\/\*$/.test(a)){if(i===a.replace(/\/.*$/,""))return!0}else if(r===a)return!0}}catch(t){o.e(t)}finally{o.f()}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each((function(){return new m(this,t)}))}),m.ADDED="added",m.QUEUED="queued",m.ACCEPTED=m.QUEUED,m.UPLOADING="uploading",m.PROCESSING=m.UPLOADING,m.CANCELED="canceled",m.ERROR="error",m.SUCCESS="success";var b=function(t,e,n,r,i,o,a,s,u,l){var c=function(t){var e=t.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=e;var r=n.getContext("2d");r.drawImage(t,0,0);for(var i=r.getImageData(1,0,1,e).data,o=0,a=e,s=e;s>o;)0===i[4*(s-1)+3]?a=s:o=s,s=a+o>>1;var u=s/e;return 0===u?1:u}(e);return t.drawImage(e,n,r,i,o,a,s,u,l/c)},w=function(){function t(){c(this,t)}return h(t,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(t){for(var e="",n=void 0,r=void 0,i="",o=void 0,a=void 0,s=void 0,u="",l=0;o=(n=t[l++])>>2,a=(3&n)<<4|(r=t[l++])>>4,s=(15&r)<<2|(i=t[l++])>>6,u=63&i,isNaN(r)?s=u=64:isNaN(i)&&(u=64),e=e+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(u),n=r=i="",o=a=s=u="",l<t.length;);return e}},{key:"restore",value:function(t,e){if(!t.match("data:image/jpeg;base64,"))return e;var n=this.decode64(t.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),i=this.exifManipulation(e,r);return"data:image/jpeg;base64,".concat(this.encode64(i))}},{key:"exifManipulation",value:function(t,e){var n=this.getExifArray(e),r=this.insertExif(t,n);return new Uint8Array(r)}},{key:"getExifArray",value:function(t){for(var e=void 0,n=0;n<t.length;){if(255===(e=t[n])[0]&225===e[1])return e;n++}return[]}},{key:"insertExif",value:function(t,e){var n=t.replace("data:image/jpeg;base64,",""),r=this.decode64(n),i=r.indexOf(255,3),o=r.slice(0,i),a=r.slice(i),s=o;return(s=s.concat(e)).concat(a)}},{key:"slice2Segments",value:function(t){for(var e=0,n=[];!(255===t[e]&218===t[e+1]);){if(255===t[e]&216===t[e+1])e+=2;else{var r=e+(256*t[e+2]+t[e+3])+2,i=t.slice(e,r);n.push(i),e=r}if(e>t.length)break}return n}},{key:"decode64",value:function(t){var e=void 0,n="",r=void 0,i=void 0,o=void 0,a="",s=0,u=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");r=this.KEY_STR.indexOf(t.charAt(s++)),e=(15&(i=this.KEY_STR.indexOf(t.charAt(s++))))<<4|(o=this.KEY_STR.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(a=this.KEY_STR.indexOf(t.charAt(s++))),u.push(r<<2|i>>4),64!==o&&u.push(e),64!==a&&u.push(n),e=n="",r=i=o=a="",s<t.length;);return u}}]),t}();w.initClass(),m._autoDiscoverFunction=function(){if(m.autoDiscover)return m.discover()},function(t,e){var n=!1,r=!0,i=t.document,o=i.documentElement,a=i.addEventListener?"addEventListener":"attachEvent",s=i.addEventListener?"removeEventListener":"detachEvent",u=i.addEventListener?"":"on",l=function r(o){if("readystatechange"!==o.type||"complete"===i.readyState)return("load"===o.type?t:i)[s](u+o.type,r,!1),!n&&(n=!0)?e.call(t,o.type||o):void 0};if("complete"!==i.readyState){if(i.createEventObject&&o.doScroll){try{r=!t.frameElement}catch(t){}r&&function t(){try{o.doScroll("left")}catch(e){return void setTimeout(t,50)}return l("poll")}()}i[a](u+"DOMContentLoaded",l,!1),i[a](u+"readystatechange",l,!1),t[a](u+"load",l,!1)}}(window,m._autoDiscoverFunction),window.Dropzone=m;var _=m}(),r}()}));var h,d,p={};function v(){return d?h:(d=1,h=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then})}var g,m={},y={};function z(){if(g)return y;let t;g=1;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return y.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},y.getSymbolTotalCodewords=function(t){return e[t]},y.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},y.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');t=e},y.isKanjiModeEnabled=function(){return void 0!==t},y.toSJIS=function(e){return t(e)},y}var b,w,_,x,k,A={};function E(){return b||(b=1,function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(t){return n}}}(A)),A}var S,F,T,C,R={},M={},U={},j={};function I(){if(C)return j;C=1;const t=E(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return j.getBlocksCount=function(n,r){switch(r){case t.L:return e[4*(n-1)+0];case t.M:return e[4*(n-1)+1];case t.Q:return e[4*(n-1)+2];case t.H:return e[4*(n-1)+3];default:return}},j.getTotalCodewordsCount=function(e,r){switch(r){case t.L:return n[4*(e-1)+0];case t.M:return n[4*(e-1)+1];case t.Q:return n[4*(e-1)+2];case t.H:return n[4*(e-1)+3];default:return}},j}var $,O,L,P,B={},N={};var D,Q={},W={},q={};function H(){return D||(D=1,q.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),q}var X,Y,V,G={};function J(){if(X)return G;X=1;const t="[0-9]+";let e="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";e=e.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+e+")(?:.|[\r\n]))+";G.KANJI=new RegExp(e,"g"),G.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),G.BYTE=new RegExp(n,"g"),G.NUMERIC=new RegExp(t,"g"),G.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const r=new RegExp("^"+e+"$"),i=new RegExp("^"+t+"$"),o=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return G.testKanji=function(t){return r.test(t)},G.testNumeric=function(t){return i.test(t)},G.testAlphanumeric=function(t){return o.test(t)},G}function Z(){return Y||(Y=1,function(t){const e=H(),n=J();t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(t,n){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!e.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?t.ccBits[0]:n<27?t.ccBits[1]:t.ccBits[2]},t.getBestModeForData=function(e){return n.testNumeric(e)?t.NUMERIC:n.testAlphanumeric(e)?t.ALPHANUMERIC:n.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},t.isValid=function(t){return t&&t.bit&&t.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(t){return n}}}(W)),W}var K,tt,et,nt,rt,it,ot,at,st,ut,lt,ct,ft={},ht={},dt={exports:{}};function pt(){return ut||(ut=1,function(t){var e={single_source_shortest_paths:function(t,n,r){var i={},o={};o[n]=0;var a,s,u,l,c,f,h=e.PriorityQueue.make();for(h.push(n,0);!h.empty();)for(u in l=(a=h.pop()).cost,c=t[s=a.value]||{})c.hasOwnProperty(u)&&(f=l+c[u],(void 0===o[u]||o[u]>f)&&(o[u]=f,h.push(u,f),i[u]=s));if(void 0!==r&&void 0===o[r]){var d=["Could not find a path from ",n," to ",r,"."].join("");throw new Error(d)}return i},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),r=t[r];return n.reverse(),n},find_path:function(t,n,r){var i=e.single_source_shortest_paths(t,n,r);return e.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(t){var n,r=e.PriorityQueue,i={};for(n in t=t||{},r)r.hasOwnProperty(n)&&(i[n]=r[n]);return i.queue=[],i.sorter=t.sorter||r.default_sorter,i},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){this.queue.push({value:t,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=e}(dt)),dt.exports}function vt(){if(ct)return m;ct=1;const t=z(),e=E(),n=function(){if(_)return w;function t(){this.buffer=[],this.length=0}return _=1,t.prototype={get:function(t){const e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(let n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},w=t}(),r=function(){if(k)return x;function t(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return k=1,t.prototype.set=function(t,e,n,r){const i=t*this.size+e;this.data[i]=n,r&&(this.reservedBit[i]=!0)},t.prototype.get=function(t,e){return this.data[t*this.size+e]},t.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},t.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},x=t}(),i=(S||(S=1,function(t){const e=z().getSymbolSize;t.getRowColCoords=function(t){if(1===t)return[];const n=Math.floor(t/7)+2,r=e(t),i=145===r?26:2*Math.ceil((r-13)/(2*n-2)),o=[r-7];for(let t=1;t<n-1;t++)o[t]=o[t-1]-i;return o.push(6),o.reverse()},t.getPositions=function(e){const n=[],r=t.getRowColCoords(e),i=r.length;for(let t=0;t<i;t++)for(let e=0;e<i;e++)0===t&&0===e||0===t&&e===i-1||t===i-1&&0===e||n.push([r[t],r[e]]);return n}}(R)),R),o=function(){if(F)return M;F=1;const t=z().getSymbolSize;return M.getPositions=function(e){const n=t(e);return[[0,0],[n-7,0],[0,n-7]]},M}(),a=(T||(T=1,function(t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function e(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}t.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(t){const e=t.size;let n=0,r=0,i=0,o=null,a=null;for(let s=0;s<e;s++){r=i=0,o=a=null;for(let u=0;u<e;u++){let e=t.get(s,u);e===o?r++:(r>=5&&(n+=r-5+3),o=e,r=1),e=t.get(u,s),e===a?i++:(i>=5&&(n+=i-5+3),a=e,i=1)}r>=5&&(n+=r-5+3),i>=5&&(n+=i-5+3)}return n},t.getPenaltyN2=function(t){const e=t.size;let n=0;for(let r=0;r<e-1;r++)for(let i=0;i<e-1;i++){const e=t.get(r,i)+t.get(r,i+1)+t.get(r+1,i)+t.get(r+1,i+1);4!==e&&0!==e||n++}return 3*n},t.getPenaltyN3=function(t){const e=t.size;let n=0,r=0,i=0;for(let o=0;o<e;o++){r=i=0;for(let a=0;a<e;a++)r=r<<1&2047|t.get(o,a),a>=10&&(1488===r||93===r)&&n++,i=i<<1&2047|t.get(a,o),a>=10&&(1488===i||93===i)&&n++}return 40*n},t.getPenaltyN4=function(t){let e=0;const n=t.data.length;for(let r=0;r<n;r++)e+=t.data[r];return 10*Math.abs(Math.ceil(100*e/n/5)-10)},t.applyMask=function(t,n){const r=n.size;for(let i=0;i<r;i++)for(let o=0;o<r;o++)n.isReserved(o,i)||n.xor(o,i,e(t,o,i))},t.getBestMask=function(e,n){const r=Object.keys(t.Patterns).length;let i=0,o=1/0;for(let a=0;a<r;a++){n(a),t.applyMask(a,e);const r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(a,e),r<o&&(o=r,i=a)}return i}}(U)),U),s=I(),u=function(){if(P)return L;P=1;const t=(O||(O=1,function(t){const e=function(){if($)return N;$=1;const t=new Uint8Array(512),e=new Uint8Array(256);return function(){let n=1;for(let r=0;r<255;r++)t[r]=n,e[n]=r,n<<=1,256&n&&(n^=285);for(let e=255;e<512;e++)t[e]=t[e-255]}(),N.log=function(t){if(t<1)throw new Error("log("+t+")");return e[t]},N.exp=function(e){return t[e]},N.mul=function(n,r){return 0===n||0===r?0:t[e[n]+e[r]]},N}();t.mul=function(t,n){const r=new Uint8Array(t.length+n.length-1);for(let i=0;i<t.length;i++)for(let o=0;o<n.length;o++)r[i+o]^=e.mul(t[i],n[o]);return r},t.mod=function(t,n){let r=new Uint8Array(t);for(;r.length-n.length>=0;){const t=r[0];for(let i=0;i<n.length;i++)r[i]^=e.mul(n[i],t);let i=0;for(;i<r.length&&0===r[i];)i++;r=r.slice(i)}return r},t.generateECPolynomial=function(n){let r=new Uint8Array([1]);for(let i=0;i<n;i++)r=t.mul(r,new Uint8Array([1,e.exp(i)]));return r}}(B)),B);function e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(e){this.degree=e,this.genPoly=t.generateECPolynomial(this.degree)},e.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(e.length+this.degree);n.set(e);const r=t.mod(n,this.genPoly),i=this.degree-r.length;if(i>0){const t=new Uint8Array(this.degree);return t.set(r,i),t}return r},L=e}(),l=(V||(V=1,function(t){const e=z(),n=I(),r=E(),i=Z(),o=H(),a=e.getBCHDigit(7973);function s(t,e){return i.getCharCountIndicator(t,e)+4}function u(t,e){let n=0;return t.forEach((function(t){const r=s(t.mode,e);n+=r+t.getBitsLength()})),n}t.from=function(t,e){return o.isValid(t)?parseInt(t,10):e},t.getCapacity=function(t,r,a){if(!o.isValid(t))throw new Error("Invalid QR Code version");void 0===a&&(a=i.BYTE);const u=8*(e.getSymbolTotalCodewords(t)-n.getTotalCodewordsCount(t,r));if(a===i.MIXED)return u;const l=u-s(a,t);switch(a){case i.NUMERIC:return Math.floor(l/10*3);case i.ALPHANUMERIC:return Math.floor(l/11*2);case i.KANJI:return Math.floor(l/13);default:return Math.floor(l/8)}},t.getBestVersionForData=function(e,n){let o;const a=r.from(n,r.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(u(e,r)<=t.getCapacity(r,n,i.MIXED))return r}(e,a);if(0===e.length)return 1;o=e[0]}else o=e;return function(e,n,r){for(let i=1;i<=40;i++)if(n<=t.getCapacity(i,r,e))return i}(o.mode,o.getLength(),a)},t.getEncodedBits=function(t){if(!o.isValid(t)||t<7)throw new Error("Invalid QR Code version");let n=t<<12;for(;e.getBCHDigit(n)-a>=0;)n^=7973<<e.getBCHDigit(n)-a;return t<<12|n}}(Q)),Q),c=function(){if(K)return ft;K=1;const t=z(),e=t.getBCHDigit(1335);return ft.getEncodedBits=function(n,r){const i=n.bit<<3|r;let o=i<<10;for(;t.getBCHDigit(o)-e>=0;)o^=1335<<t.getBCHDigit(o)-e;return 21522^(i<<10|o)},ft}(),f=Z(),h=(lt||(lt=1,function(t){const e=Z(),n=function(){if(et)return tt;et=1;const t=Z();function e(e){this.mode=t.NUMERIC,this.data=e.toString()}return e.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){let e,n,r;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),r=parseInt(n,10),t.put(r,10);const i=this.data.length-e;i>0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*i+1))},tt=e}(),r=function(){if(rt)return nt;rt=1;const t=Z(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(e){this.mode=t.ALPHANUMERIC,this.data=e}return n.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let r=45*e.indexOf(this.data[n]);r+=e.indexOf(this.data[n+1]),t.put(r,11)}this.data.length%2&&t.put(e.indexOf(this.data[n]),6)},nt=n}(),i=function(){if(ot)return it;ot=1;const t=Z();function e(e){this.mode=t.BYTE,this.data="string"==typeof e?(new TextEncoder).encode(e):new Uint8Array(e)}return e.getBitsLength=function(t){return 8*t},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){for(let e=0,n=this.data.length;e<n;e++)t.put(this.data[e],8)},it=e}(),o=function(){if(st)return at;st=1;const t=Z(),e=z();function n(e){this.mode=t.KANJI,this.data=e}return n.getBitsLength=function(t){return 13*t},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(t){let n;for(n=0;n<this.data.length;n++){let r=e.toSJIS(this.data[n]);if(r>=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[n]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13)}},at=n}(),a=J(),s=z(),u=pt();function l(t){return unescape(encodeURIComponent(t)).length}function c(t,e,n){const r=[];let i;for(;null!==(i=t.exec(n));)r.push({data:i[0],index:i.index,mode:e,length:i[0].length});return r}function f(t){const n=c(a.NUMERIC,e.NUMERIC,t),r=c(a.ALPHANUMERIC,e.ALPHANUMERIC,t);let i,o;return s.isKanjiModeEnabled()?(i=c(a.BYTE,e.BYTE,t),o=c(a.KANJI,e.KANJI,t)):(i=c(a.BYTE_KANJI,e.BYTE,t),o=[]),n.concat(r,i,o).sort((function(t,e){return t.index-e.index})).map((function(t){return{data:t.data,mode:t.mode,length:t.length}}))}function h(t,a){switch(a){case e.NUMERIC:return n.getBitsLength(t);case e.ALPHANUMERIC:return r.getBitsLength(t);case e.KANJI:return o.getBitsLength(t);case e.BYTE:return i.getBitsLength(t)}}function d(t,a){let u;const l=e.getBestModeForData(t);if(u=e.from(a,l),u!==e.BYTE&&u.bit<l.bit)throw new Error('"'+t+'" cannot be encoded with mode '+e.toString(u)+".\n Suggested mode is: "+e.toString(l));switch(u!==e.KANJI||s.isKanjiModeEnabled()||(u=e.BYTE),u){case e.NUMERIC:return new n(t);case e.ALPHANUMERIC:return new r(t);case e.KANJI:return new o(t);case e.BYTE:return new i(t)}}t.fromArray=function(t){return t.reduce((function(t,e){return"string"==typeof e?t.push(d(e,null)):e.data&&t.push(d(e.data,e.mode)),t}),[])},t.fromString=function(n,r){const i=function(t,n){const r={},i={start:{}};let o=["start"];for(let a=0;a<t.length;a++){const s=t[a],u=[];for(let t=0;t<s.length;t++){const l=s[t],c=""+a+t;u.push(c),r[c]={node:l,lastCount:0},i[c]={};for(let t=0;t<o.length;t++){const a=o[t];r[a]&&r[a].node.mode===l.mode?(i[a][c]=h(r[a].lastCount+l.length,l.mode)-h(r[a].lastCount,l.mode),r[a].lastCount+=l.length):(r[a]&&(r[a].lastCount=l.length),i[a][c]=h(l.length,l.mode)+4+e.getCharCountIndicator(l.mode,n))}}o=u}for(let t=0;t<o.length;t++)i[o[t]].end=0;return{map:i,table:r}}(function(t){const n=[];for(let r=0;r<t.length;r++){const i=t[r];switch(i.mode){case e.NUMERIC:n.push([i,{data:i.data,mode:e.ALPHANUMERIC,length:i.length},{data:i.data,mode:e.BYTE,length:i.length}]);break;case e.ALPHANUMERIC:n.push([i,{data:i.data,mode:e.BYTE,length:i.length}]);break;case e.KANJI:n.push([i,{data:i.data,mode:e.BYTE,length:l(i.data)}]);break;case e.BYTE:n.push([{data:i.data,mode:e.BYTE,length:l(i.data)}])}}return n}(f(n,s.isKanjiModeEnabled())),r),o=u.find_path(i.map,"start","end"),a=[];for(let t=1;t<o.length-1;t++)a.push(i.table[o[t]].node);return t.fromArray(a.reduce((function(t,e){const n=t.length-1>=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[]))},t.rawSplit=function(e){return t.fromArray(f(e,s.isKanjiModeEnabled()))}}(ht)),ht);function d(t,e,n){const r=t.size,i=c.getEncodedBits(e,n);let o,a;for(o=0;o<15;o++)a=1==(i>>o&1),t.set(o<6?o:o<8?o+1:r-15+o,8,a,!0),t.set(8,o<8?r-o-1:o<9?15-o-1+1:15-o-1,a,!0);t.set(r-8,8,1,!0)}function p(e,c,p,v){let g;if(Array.isArray(e))g=h.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");{let t=c;if(!t){const n=h.rawSplit(e);t=l.getBestVersionForData(n,p)}g=h.fromString(e,t||40)}}const m=l.getBestVersionForData(g,p);if(!m)throw new Error("The amount of data is too big to be stored in a QR Code");if(c){if(c<m)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+m+".\n")}else c=m;const y=function(e,r,i){const o=new n;i.forEach((function(t){o.put(t.mode.bit,4),o.put(t.getLength(),f.getCharCountIndicator(t.mode,e)),t.write(o)}));const a=8*(t.getSymbolTotalCodewords(e)-s.getTotalCodewordsCount(e,r));for(o.getLengthInBits()+4<=a&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);const l=(a-o.getLengthInBits())/8;for(let t=0;t<l;t++)o.put(t%2?17:236,8);return function(e,n,r){const i=t.getSymbolTotalCodewords(n),o=i-s.getTotalCodewordsCount(n,r),a=s.getBlocksCount(n,r),l=a-i%a,c=Math.floor(i/a),f=Math.floor(o/a),h=f+1,d=c-f,p=new u(d);let v=0;const g=new Array(a),m=new Array(a);let y=0;const z=new Uint8Array(e.buffer);for(let t=0;t<a;t++){const e=t<l?f:h;g[t]=z.slice(v,v+e),m[t]=p.encode(g[t]),v+=e,y=Math.max(y,e)}const b=new Uint8Array(i);let w,_,x=0;for(w=0;w<y;w++)for(_=0;_<a;_++)w<g[_].length&&(b[x++]=g[_][w]);for(w=0;w<d;w++)for(_=0;_<a;_++)b[x++]=m[_][w];return b}(o,e,r)}(c,p,g),z=t.getSymbolSize(c),b=new r(z);return function(t,e){const n=t.size,r=o.getPositions(e);for(let e=0;e<r.length;e++){const i=r[e][0],o=r[e][1];for(let e=-1;e<=7;e++)if(!(i+e<=-1||n<=i+e))for(let r=-1;r<=7;r++)o+r<=-1||n<=o+r||t.set(i+e,o+r,e>=0&&e<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===e||6===e)||e>=2&&e<=4&&r>=2&&r<=4,!0)}}(b,c),function(t){const e=t.size;for(let n=8;n<e-8;n++){const e=n%2==0;t.set(n,6,e,!0),t.set(6,n,e,!0)}}(b),function(t,e){const n=i.getPositions(e);for(let e=0;e<n.length;e++){const r=n[e][0],i=n[e][1];for(let e=-2;e<=2;e++)for(let n=-2;n<=2;n++)t.set(r+e,i+n,-2===e||2===e||-2===n||2===n||0===e&&0===n,!0)}}(b,c),d(b,p,0),c>=7&&function(t,e){const n=t.size,r=l.getEncodedBits(e);let i,o,a;for(let e=0;e<18;e++)i=Math.floor(e/3),o=e%3+n-8-3,a=1==(r>>e&1),t.set(i,o,a,!0),t.set(o,i,a,!0)}(b,c),function(t,e){const n=t.size;let r=-1,i=n-1,o=7,a=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!t.isReserved(i,s-n)){let r=!1;a<e.length&&(r=1==(e[a]>>>o&1)),t.set(i,s-n,r),o--,-1===o&&(a++,o=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}(b,y),isNaN(v)&&(v=a.getBestMask(b,d.bind(null,b,p))),a.applyMask(v,b),d(b,p,v),{modules:b,version:c,errorCorrectionLevel:p,maskPattern:v,segments:g}}return m.create=function(n,r){if(void 0===n||""===n)throw new Error("No input text");let i,o,s=e.M;return void 0!==r&&(s=e.from(r.errorCorrectionLevel,e.M),i=l.from(r.version),o=a.from(r.maskPattern),r.toSJISFunc&&t.setToSJISFunction(r.toSJISFunc)),p(n,i,s,o)},m}var gt,mt,yt={},zt={};function bt(){return gt||(gt=1,function(t){function e(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map((function(t){return[t,t]})))),6===e.length&&e.push("F","F");const n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}t.getOptions=function(t){t||(t={}),t.color||(t.color={});const n=t.width&&t.width>=21?t.width:void 0;return{width:n,scale:n?4:t.scale||4,margin:null==t.margin||t.margin<0?4:t.margin,color:{dark:e(t.color.dark||"#000000ff"),light:e(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},t.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},t.getImageWidth=function(e,n){const r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){const i=n.modules.size,o=n.modules.data,a=t.getScale(i,r),s=Math.floor((i+2*r.margin)*a),u=r.margin*a,l=[r.color.light,r.color.dark];for(let t=0;t<s;t++)for(let n=0;n<s;n++){let c=4*(t*s+n),f=r.color.light;t>=u&&n>=u&&t<s-u&&n<s-u&&(f=l[o[Math.floor((t-u)/a)*i+Math.floor((n-u)/a)]?1:0]),e[c++]=f.r,e[c++]=f.g,e[c++]=f.b,e[c]=f.a}}}(zt)),zt}var wt,_t,xt={};var kt=function(){if(_t)return p;_t=1;const t=v(),e=vt(),n=(mt||(mt=1,function(t){const e=bt();t.render=function(t,n,r){let i=r,o=n;void 0!==i||n&&n.getContext||(i=n,n=void 0),n||(o=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),i=e.getOptions(i);const a=e.getImageWidth(t.modules.size,i),s=o.getContext("2d"),u=s.createImageData(a,a);return e.qrToImageData(u.data,t,i),function(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}(s,o,a),s.putImageData(u,0,0),o},t.renderToDataURL=function(e,n,r){let i=r;return void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={}),t.render(e,n,i).toDataURL(i.type||"image/png",(i.rendererOpts||{}).quality)}}(yt)),yt),r=function(){if(wt)return xt;wt=1;const t=bt();function e(t,e){const n=t.a/255,r=e+'="'+t.hex+'"';return n<1?r+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function n(t,e,n){let r=t+e;return void 0!==n&&(r+=" "+n),r}return xt.render=function(r,i,o){const a=t.getOptions(i),s=r.modules.size,u=r.modules.data,l=s+2*a.margin,c=a.color.light.a?"<path "+e(a.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",f="<path "+e(a.color.dark,"stroke")+' d="'+function(t,e,r){let i="",o=0,a=!1,s=0;for(let u=0;u<t.length;u++){const l=Math.floor(u%e),c=Math.floor(u/e);l||a||(a=!0),t[u]?(s++,u>0&&l>0&&t[u-1]||(i+=a?n("M",l+r,.5+c+r):n("m",o,0),o=0,a=!1),l+1<e&&t[u+1]||(i+=n("h",s),s=0)):o++}return i}(u,s,a.margin)+'"/>',h='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+'viewBox="0 0 '+l+" "+l+'" shape-rendering="crispEdges">'+c+f+"</svg>\n";return"function"==typeof o&&o(null,h),h},xt}();function i(n,r,i,o,a){const s=[].slice.call(arguments,1),u=s.length,l="function"==typeof s[u-1];if(!l&&!t())throw new Error("Callback required as last argument");if(!l){if(u<1)throw new Error("Too few arguments provided");return 1===u?(i=r,r=o=void 0):2!==u||r.getContext||(o=i,i=r,r=void 0),new Promise((function(t,a){try{const a=e.create(i,o);t(n(a,r,o))}catch(t){a(t)}}))}if(u<2)throw new Error("Too few arguments provided");2===u?(a=i,i=r,r=o=void 0):3===u&&(r.getContext&&void 0===a?(a=o,o=void 0):(a=o,o=i,i=r,r=void 0));try{const t=e.create(i,o);a(null,n(t,r,o))}catch(t){a(t)}}return p.create=e.create,p.toCanvas=i.bind(null,n.render),p.toDataURL=i.bind(null,n.renderToDataURL),p.toString=i.bind(null,(function(t,e,n){return r.render(t,n)})),p}(),At=f(kt);window.Dropzone.autoDiscover=!1;const Et="data-dz-name",St="data-dz-size",Ft="data-dz-link",Tt="data-dz-extension",Ct="data-dz-meta-id",Rt="data-dz-error-message-id",Mt="data-dz-progress-text",Ut="data-dz-remove";let jt=0,It=0;const $t=class{constructor(n){t(this,n),this.stzhFileAdded=e(this,"stzhFileAdded"),this.stzhFilesAdded=e(this,"stzhFilesAdded"),this.stzhFileRemove=e(this,"stzhFileRemove"),this.stzhFileRemoved=e(this,"stzhFileRemoved"),this.stzhSending=e(this,"stzhSending"),this.stzhSendingMultiple=e(this,"stzhSendingMultiple"),this.stzhProcessing=e(this,"stzhProcessing"),this.stzhProcessingMultiple=e(this,"stzhProcessingMultiple"),this.stzhProgress=e(this,"stzhProgress"),this.stzhProgressTotal=e(this,"stzhProgressTotal"),this.stzhError=e(this,"stzhError"),this.stzhErrorMultiple=e(this,"stzhErrorMultiple"),this.stzhSuccess=e(this,"stzhSuccess"),this.stzhSuccessMultiple=e(this,"stzhSuccessMultiple"),this.stzhCanceled=e(this,"stzhCanceled"),this.stzhCanceledMultiple=e(this,"stzhCanceledMultiple"),this.stzhComplete=e(this,"stzhComplete"),this.stzhCompleteMultiple=e(this,"stzhCompleteMultiple"),this.existingFiles=[],this._existingFiles=[],this.name="",this.label="",this.noLabelTruncate=!1,this.labelHidden=!1,this.description="",this.button="",this.buttonScan="",this.photographingEnabled=!1,this.disableToasts=!1,this.method="post",this.withCredentials=!1,this.disabled=!1,this.invalid=!1,this.hideOptional=!1,this.required=!1,this.downloadDisabled=!1,this.downloadDisabledWhileProcessing=!1,this.acceptedFiles=".jpg,.jpeg,.png,.pdf",this.autoProcessQueue=!0,this.hideProgress=!1,this.hideProgressWhileIdle=!1,this.maxFiles=null,this.maxFilesize=25,this.maxFilesizeTotal=100,this.parallelUploads=2,this.uploadMultiple=!1,this.chunking=!1,this.forceChunking=!1,this.chunkSize=2097152,this.parallelChunkUploads=!1,this.retryChunks=!1,this.retryChunksLimit=3,this.filesizeBase=1024,this.headers=null,this.headersAsync=null,this.defaultHeaders=!0,this.preventDuplicateFileNames=!1,this.accept=function(t,e){return e()},this.chunksUploaded=function(t,e){e()},this.preventHiddenInputClear=!1,this.totalFileSize=0,this.duplicateDetected=!1,this.totalTooBig=!1,this.totalTooBigMessageHeading="",this.totalTooBigMessageBody="",this.totalTooBigMessageBody2="",this.totalFilesState=[],this.duplicateFileName="",this.duplicateFileSize="",this.hasDefaultSlot=!1,this.hasResolvedDefaultSlot=!1,this.PHOTOGRAPHING_BASE_URL="/appl/mobiscan/rs",this.PHOTOGRAPHING_ENDPOINTS={PING:"/ping",URL:"/url",IMAGE:"/image",CONFIG:"/config",AUTH:"/auth"},this.isPhotographingAvailable=!1,this.hiddenInputFiles=[],this.handleReset=()=>{this.removeAllFiles(!0)},this.closePhotographingWebsocketConnection=()=>{var t;null===(t=this.photographingWebsocket)||void 0===t||t.close()},this.onButtonScanClick=t=>{t.preventDefault(),t.stopPropagation(),this.photographingOverlayElement.show().then(),this.isPhotographingAvailable&&this.startPhotographingUserSession().then().catch((t=>{console.error("photographingUserSessionException",t)}))},this.closePhotographingOverlay=async()=>{this.photographingOverlayElement.hide().catch()},this.filesize=function(t){let e=0,n="b";if(t>0){let r=["tb","gb","mb","kb","b"];for(let i=0;i<r.length;i++){let o=r[i];if(t>=Math.pow(this.options.filesizeBase,4-i)/10){e=t/Math.pow(this.options.filesizeBase,4-i),n=o;break}}e=Math.round(100*e)/100}return`<strong>${e}</strong> ${this.options.dictFileSizeUnits[n]}`},this.filePreviewId=function(t){return`${this.uploadId}-${t._id}`},this.updateDefaultSlotState=()=>{const t=a(this.uploadEl,["stzh-upload"]);this.hasDefaultSlot!==t&&(this.hasDefaultSlot=t),this.hasResolvedDefaultSlot||(this.hasResolvedDefaultSlot=!0)}}resetListener(t){t.target.contains(this.uploadEl)&&requestAnimationFrame((()=>{this.handleReset()}))}nameWatcher(t){var e;const n=null===(e=this.hiddenInputContainerElement)||void 0===e?void 0:e.querySelector("input"),r="string"==typeof t?t.trim():"";n&&(r?n.setAttribute("name",r):n.removeAttribute("name")),this.dropzone&&(this.dropzone.options.paramName=r||"file")}maxFilesWatcher(t){this.dropzone.options.maxFiles=t}maxFilesizeWatcher(t){this.dropzone.options.maxFilesize=null!=t?t:void 0}acceptedFilesWatcher(t){this.dropzone.options.acceptedFiles=null==t||""===t?".jpg,.jpeg,.png,.pdf":t}existingFilesWatcher(t){this._existingFiles="string"==typeof t?JSON.parse(t):t}disabledWatcher(){this.dropzone&&(this.disabled?this.dropzone.disable():this.dropzone.enable())}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(e){this._error=t?[t]:[]}else this._error=t||[]}async setFocus(t){var e;null===(e=document.querySelector("stzh-flyingfocus"))||void 0===e||e.activate(),this.uploadEl.focus(t),this.chooseFileButtonEl&&!1!==(null==t?void 0:t.deep)&&this.chooseFileButtonEl.focus(t)}async processQueue(){return this.dropzone.processQueue()}async removeFile(t,e=!1){return this.dropzone.removeFile(t,e)}async removeAllFiles(t=!1,e=!1){return this.dropzone.removeAllFiles(t,e)}get a11yDescribedby(){var t,e;const n=s(this.uploadEl,"error")||(null!==(e=null===(t=this._error)||void 0===t?void 0:t.length)&&void 0!==e?e:0)>0;return[`${this.uploadId}-label`,this.description?`${this.uploadId}-upload-description`:null,`${this.uploadId}-instruction`,n?`${this.uploadId}-description`:null].filter(Boolean).join(" ")}getDropzoneUrl(t=[],e){return"function"==typeof this.url?this.url(t,e):"string"==typeof this.url&&this.url.trim().length>0?this.url:this.autoProcessQueue?(console.error('[stzh-upload] When autoProcessQueue is true, "url" must be provided (string or function). Either set url or set autoProcessQueue="false".'),"/"):"/"}cleanLabel(t){""!==t&&void 0!==t||(t=this.localization.photographingLabelDefault);let e=t.replaceAll("/","-");return encodeURIComponent(e.replaceAll("%",""))}async getToken(){return this.photographingToken&&this.photographingToken.access_token&&Date.now()<this.photographingToken.expires_in?this.photographingToken:await this.requestPhotographingToken()}async requestPhotographingToken(){try{const t=await fetch(`${this.photographingHost}${this.PHOTOGRAPHING_BASE_URL}${this.PHOTOGRAPHING_ENDPOINTS.AUTH}`);if(!t.ok)throw new Error("Token retrieval failed");const e=await t.json();return this.photographingToken={access_token:e.access_token,expires_in:Date.now()+1e3*e.expires_in},this.photographingToken}catch(t){throw console.error("Token retrieval failed",t),new Error("Token retrieval failed")}}async initializePhotographingWithEnvironment(t){this.photographingHost=this.getPhotographingHostForEnvironment(t),await this.setPhotographingConfig(),this.photographingConfig&&!0===this.photographingEnabled&&await this.checkPhotographingAvailability()}async startPhotographingUserSession(){try{const t=await fetch(`${this.photographingConfig.publicEndpoint}${this.PHOTOGRAPHING_ENDPOINTS.URL}`,await this.getPhotographingHttpOptionsWithToken());if(t.ok){const e=await t.json(),n=new URL(e.url),r=new URLSearchParams(n.search);this.photographingUrlDetails={url:e.url,userId:r.get("id"),label:this.cleanLabel(this.label)};try{await At.toCanvas(this.photographingQrcodeElement,e.url+"&label="+this.cleanLabel(this.label))}catch(t){console.error("Error generating QR code:",t)}await this.establishPhotographingWebsocketConnection()}}catch(t){console.error("StzhUpload.startPhotographingUserSession() - startPhotographingUserSessionException:",t)}}async retrievePhotographingPdf(){try{const t=await fetch(`${this.photographingConfig.publicEndpoint}${this.PHOTOGRAPHING_ENDPOINTS.IMAGE}/retrieve-pdf?id=${this.photographingUrlDetails.userId}&label=${this.cleanLabel(this.label)}`,await this.getPhotographingHttpOptionsWithToken());if(t.ok){const e=await t.json(),n=await this.fetchFile(e.downloadLink);this.dropzone.addFile(n),await this.closePhotographingOverlay()}else console.error(`StzhUpload.retrievePhotographingPdf() - HTTP error! status: ${t.status}`)}catch(t){console.error("StzhUpload.retrievePhotographingPdf() - retrievePhotographingPdfException:",t)}}async fetchFile(t){const e=await fetch(t),n=await e.blob(),r=t.split("/").pop(),i=decodeURIComponent(r.split("?")[0]);return"application/octet-stream"===n.type?new File([n],i,{type:"application/pdf"}):new File([n],i,{type:n.type})}async establishPhotographingWebsocketConnection(){this.photographingWebsocket=new WebSocket(`${this.photographingConfig.wsClientUrl}${this.photographingUrlDetails.userId}`,["chat",(await this.getToken()).access_token]),this.photographingWebsocket.onopen=()=>{setInterval((()=>{this.sendPhotographingWebsocketMessage("Ping")}),2e4)},this.photographingWebsocket.onmessage=async t=>{"retrievePdf"===t.data&&await this.retrievePhotographingPdf()},this.photographingWebsocket.onerror=t=>{console.error("WebSocket error: ",t)}}sendPhotographingWebsocketMessage(t){this.photographingWebsocket.send(t)}async getPhotographingHttpOptionsWithToken(){return{headers:{Authorization:`Bearer ${(await this.getToken()).access_token}`}}}async checkPhotographingAvailability(){try{const t=await fetch(`${this.photographingConfig.publicEndpoint}${this.PHOTOGRAPHING_ENDPOINTS.PING}`,await this.getPhotographingHttpOptionsWithToken());t.ok?this.isPhotographingAvailable=!0:(console.error(`StzhUpload.isAvailable() - HTTP error! status: ${t.status}`),this.isPhotographingAvailable=!1)}catch(t){console.error("StzhUpload.isAvailable() - isAvailableException:",t),this.isPhotographingAvailable=!1}}async setPhotographingConfig(){try{const t=await fetch(`${this.photographingHost}${this.PHOTOGRAPHING_BASE_URL}${this.PHOTOGRAPHING_ENDPOINTS.CONFIG}`);t.ok?this.photographingConfig=await t.json():console.error(`StzhUpload.setPhotographingConfig() - HTTP error! status: ${t.status}`)}catch(t){console.error("StzhUpload.setPhotographingConfig() - getConfigException:",t)}}getPhotographingHostForEnvironment(t){switch(t){case"DEV":return"https://www.test.stadt-zuerich.loc";case"UAT":return"https://www.integ.stadt-zuerich.ch";case"PROD":return"https://www.stadt-zuerich.ch";case"UNKNOWN":return this.PHOTOGRAPHING_BASE_URL=`/stzh-components/assets/mock${this.PHOTOGRAPHING_BASE_URL}`,`${window.location.origin}`}}removeFileFromState(t){var e;if(this.totalFilesState=this.totalFilesState.filter((e=>e._id!==t._id)),this.preventHiddenInputClear){this.hiddenInputFiles=this.hiddenInputFiles.filter((e=>e.name!==t.name));const n=null===(e=this.hiddenInputContainerElement)||void 0===e?void 0:e.querySelector("input");if(n){const t=new DataTransfer;this.hiddenInputFiles.forEach((e=>{t.items.add(e)})),n.files=t.files}}}async componentWillLoad(){this.uploadId="stzh-upload-"+jt++,this.existingFilesWatcher(this.existingFiles),this.errorWatcher(this.error),this.localization||(this.localization=await window.stzhComponents.utils.fetchTranslations(this.uploadEl,"upload")),this.environment=u(),this.photographingEnabled&&this.initializePhotographingWithEnvironment(this.environment).catch((t=>{console.error("initializePhotographingWithEnvironmentException",t)}))}toggleToast(t,e){this.disableToasts||document.querySelector("stzh-upload").querySelector("stzh-toastbar").toast(t,{type:e})}componentDidLoad(){this.updateDefaultSlotState()}componentDidRender(){var t;if(this.dropzone)return;const e=this;function n(t){var n;let r=t.url||"";if(t.upload&&(r=URL.createObjectURL(t)),r)for(var i of null===(n=t.previewElement)||void 0===n?void 0:n.querySelectorAll(`[${Ft}]`)){i.setAttribute("href",r),i.setAttribute("download",t.name);const n=l(i),o=e.filePreviewId(t);i.setAttribute(n?"analytics-id":"s-object-id",`${e.localization.downloadFile} ${t.name}`),i.setAttribute(n?"a11y-label":"aria-label",`${e.localization.downloadFile} ${t.name}`),i.setAttribute(n?"a11y-describedby":"aria-describedby",`${o}-error-message ${o}-meta`)}}async function r(t){const e=document.getElementById(t);e&&e.classList.add("stzh-upload__fade-out")}async function i(t){const e=document.getElementById(t);if(e){const t=e.querySelector(".stzh-button");t&&t.click()}}null!==this.headersAsync&&(this.autoProcessQueue=!1),this.dropzone=new window.Dropzone(this.dropzoneElement,{accept:this.accept,acceptedFiles:this.acceptedFiles,autoProcessQueue:this.autoProcessQueue,chunking:this.chunking,chunkSize:this.chunkSize,chunksUploaded:this.chunksUploaded,clickable:[this.clickareaElement],createImageThumbnails:!1,defaultHeaders:this.defaultHeaders,defaultLabel:this.localization.photographingLabelDefault,dictCancelUpload:this.localization.cancelUpload,dictCancelUploadConfirmation:this.localization.cancelUploadConfirmation,dictDeleteFile:this.localization.deleteFile,dictFileSizeUnits:{tb:"TiB",gb:"GiB",mb:"MiB",kb:"KiB",b:"b"},dictFileTooBig:this.localization.fileTooBig,dictInvalidFileType:this.localization.invalidFileType,dictMaxFilesExceeded:this.localization.maxFilesExceeded,dictRemoveFile:this.localization.removeFile,dictRemoveFileConfirmation:null,dictResponseError:this.localization.responseError,dictUploadCanceled:this.localization.uploadCanceled,duplicateFileName:this.duplicateFileName,duplicateFileSize:this.duplicateFileSize,duplicateFileUploadHeading:this.localization.duplicateFileUploadHeading,duplicateFileUploadParagraph:this.localization.duplicateFileUploadParagraph,filesize:this.filesize,filesizeBase:this.filesizeBase,forceChunking:this.forceChunking,headers:this.headers,hiddenInputContainer:this.hiddenInputContainer?this.hiddenInputContainer:this.hiddenInputContainerElement,maxFiles:this.maxFiles,maxFilesize:null!==(t=this.maxFilesize)&&void 0!==t?t:void 0,method:this.method,parallelChunkUploads:this.parallelChunkUploads,parallelUploads:this.parallelUploads,preventDuplicateFileNames:this.preventDuplicateFileNames,preventHiddenInputClear:this.preventHiddenInputClear,previewsContainer:this.previewsElement,retryChunks:this.retryChunks,retryChunksLimit:this.retryChunksLimit,totalFilesState:this.totalFilesState,uploadMultiple:this.uploadMultiple,url:t=>this.getDropzoneUrl([t]),withCredentials:this.withCredentials,drop:t=>{var e;if(this.preventHiddenInputClear){const n=null===(e=this.hiddenInputContainerElement)||void 0===e?void 0:e.querySelector("input"),r=new DataTransfer;for(let t=0;t<n.files.length;t++)r.items.add(n.files[t]);for(const e of t.dataTransfer.files)r.items.add(e);n.files=r.files}return this.uploadEl.classList.remove("dz-drag-hover")},async addedfile(t){var o,a,s,u,c,f;if(t._id=It++,e.totalFilesState.push(t),e.preventHiddenInputClear){const n=null===(o=e.hiddenInputContainerElement)||void 0===o?void 0:o.querySelector("input");if(n){let r=!1;if(t instanceof File&&(r=e.hiddenInputFiles.some((e=>e.name===t.name&&e.size===t.size)),r||e.hiddenInputFiles.push(t)),e.hiddenInputFiles.length>0){const t=new DataTransfer;e.hiddenInputFiles.forEach((e=>{t.items.add(e)})),n.files=t.files}}}e.preventDuplicateFileNames&&e.totalFilesState.length>0&&(e.duplicateDetected=!1,e.totalFilesState.forEach((n=>{t.name===n.name&&t._id!==n._id&&(e.duplicateDetected=!0,e.duplicateFileName=t.name,e.duplicateFileSize=(t.size/1048576).toFixed(2)+" MiB",setTimeout(r,10,"_"+t._id),setTimeout(i,2e3,"_"+t._id))}))),this.element===this.previewsContainer&&this.element.classList.add("dz-started");const h=t.size/1048576;if("number"==typeof e.maxFilesizeTotal&&e.maxFilesizeTotal>0&&e.totalFileSize+h>e.maxFilesizeTotal)return e.totalTooBig=!0,e.totalTooBigMessageHeading=e.localization.uploadFailed,e.totalTooBigMessageBody=e.localization.fileTooBigTotal.replace("{{totalFilesize}}",`${(e.totalFileSize+h).toFixed(1)}`),e.totalTooBigMessageBody2=e.localization.fileTooBigTotal2.replace("{{maxFilesizeTotal}}",`${e.maxFilesizeTotal}`),void(e.totalFilesState=e.totalFilesState.filter((e=>e.name!==t.name)));if(e.totalTooBig=!1,e.totalFileSize+=h,this.previewsContainer&&!this.options.disablePreviews){for(var d of(t.previewElement=window.Dropzone.createElement(this.options.previewTemplate.trim()),t.previewElement.setAttribute("id","_"+t._id),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement),t.size||t.previewElement.classList.add("dz-empty"),null===(a=t.previewElement)||void 0===a?void 0:a.querySelectorAll(`[${Et}]`)))d.textContent=t.name;for(d of null===(s=t.previewElement)||void 0===s?void 0:s.querySelectorAll(`[${St}]`))d.innerHTML=e.filesize.call(this,t.size);for(d of null===(u=t.previewElement)||void 0===u?void 0:u.querySelectorAll(`[${Ct}]`))d.setAttribute("id",`${e.filePreviewId(t)}-meta`);for(d of null===(c=t.previewElement)||void 0===c?void 0:c.querySelectorAll(`[${Rt}]`))d.setAttribute("id",`${e.filePreviewId(t)}-error-message`);this.options.addRemoveLinks&&(t._removeLink=window.Dropzone.createElement(`<a class="dz-remove" href="javascript:undefined;" ${Ut}>\n ${this.options.dictRemoveFile}\n </a>`),t.previewElement.appendChild(t._removeLink));let r=e=>(e.preventDefault(),e.stopPropagation(),t.status===window.Dropzone.UPLOADING?window.Dropzone.confirm(this.options.dictCancelUploadConfirmation,(()=>this.removeFile(t))):this.options.dictRemoveFileConfirmation?window.Dropzone.confirm(this.options.dictRemoveFileConfirmation,(()=>this.removeFile(t))):this.removeFile(t));for(let n of null===(f=t.previewElement)||void 0===f?void 0:f.querySelectorAll(`[${Ut}]`)){n.addEventListener("click",r);const i=l(n),o=e.filePreviewId(t);n.setAttribute(i?"analytics-id":"s-object-id",`${this.options.dictRemoveFile}`),n.setAttribute(i?"a11y-label":"aria-label",`${this.options.dictRemoveFile} ${t.name}`),n.setAttribute(i?"a11y-describedby":"aria-describedby",`${o}-error-message ${o}-meta`)}e.downloadDisabled||e.downloadDisabledWhileProcessing||n(t)}null!==e.headersAsync&&(e.dropzone.options.headers=await e.headersAsync(),e.dropzone.processQueue())},complete(t){const r=t.previewElement,i=r?Array.from(r.querySelectorAll(`[${Ut}]`)):[],o="error"===t.status,a=o?this.options.dictRemoveFile:this.options.dictDeleteFile,s=e.filePreviewId(t);if(i.forEach((e=>{const n=l(e);e.setAttribute(n?"a11y-label":"aria-label",`${a} ${t.name}`),e.setAttribute(n?"a11y-describedby":"aria-describedby",`${s}-error-message ${s}-meta`)})),o?e.errorsElement.appendChild(t.previewElement):!e.downloadDisabled&&e.downloadDisabledWhileProcessing&&n(t),t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},removedfile(t){null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),e.totalFileSize-=t.size/1048576,e.chooseFileButtonEl.focus();const n=this,r=n.options.maxFiles;if(null!=r&&n.getAcceptedFiles().length<r){const t=n.files.filter((t=>t._maxFilesExceeded&&t.status===window.Dropzone.ERROR));for(const i of t){if(n.getAcceptedFiles().length>=r)break;i._maxFilesExceeded=!1,i.accepted=!0,i.status=window.Dropzone.QUEUED,i.previewElement&&(i.previewElement.classList.remove("dz-error"),i.previewElement.querySelectorAll("[data-dz-errormessage]").forEach((t=>t.textContent="")),i.previewElement.parentNode===e.errorsElement&&e.previewsElement.appendChild(i.previewElement)),n.options.autoProcessQueue&&(n.enqueueFile(i),n.processQueue())}}return this._updateMaxFilesReachedClass()},error(t,n,r){if(t.previewElement){t.previewElement.classList.add("dz-error"),"string"!=typeof n&&n.error?n=n.error:r&&(n=401===r.status||403===r.status?e.localization.accessError:413===r.status?e.localization.fileTooBigServer:415===r.status?e.localization.invalidFileType:r.status>=500?e.localization.serverError:e.localization.responseError.replace("{{statusCode}}",r.status));for(let e of t.previewElement.querySelectorAll("[data-dz-errormessage]"))e.textContent=n}},maxfilesexceeded(t){t._maxFilesExceeded=!0,this.emit("error",t,e.localization.maxFilesExceeded),this.emit("complete",t)},previewTemplate:`\n <div class="stzh-upload__preview">\n <div class="stzh-upload__image">\n <img data-dz-thumbnail />\n </div>\n\n <div class="stzh-upload__details">\n <div class="stzh-upload__info-wrapper">\n\n <div class="stzh-upload__info-wrapper-processing">\n <div class="stzh-upload__title-meta-row">\n <div class="stzh-upload__icon">\n <span class="stzh-upload__leading-icon-slot" aria-hidden="true"></span>\n </div>\n <div class="stzh-upload__infos">\n <div class="stzh-upload__subtitle">\n <a class="stzh-upload__link" ${Et} ${Ft}></a>\n </div>\n <div class="stzh-upload__progress-text">\n <span ${Mt}></span>\n </div>\n </div>\n <div class="stzh-upload__meta">\n <span class="stzh-upload__extension" ${Tt}></span>\n <span class="stzh-upload__separator"></span>\n <span class="stzh-upload__size" ${St}></span>\n </div>\n <div class="stzh-upload__progress">\n <span class="stzh-upload__progress-bar" data-dz-uploadprogress></span>\n </div>\n </div>\n </div>\n\n <div class="stzh-upload__info-wrapper-complete">\n <div class="stzh-upload__title-meta-row">\n <div class="stzh-upload__icon">\n <span class="stzh-upload__leading-icon-slot" aria-hidden="true"></span>\n </div>\n <div class="stzh-upload__content">\n <div class="stzh-upload__title-meta-line">\n <div class="stzh-upload__title">\n <a class="stzh-upload__link" ${Et} ${Ft}></a>\n </div>\n <div class="stzh-upload__meta" ${Ct}>\n <span class="stzh-upload__extension" ${Tt}></span>\n <span class="stzh-upload__separator"></span>\n <span class="stzh-upload__size" ${St}></span>\n </div>\n </div>\n <div class="stzh-upload__error-message" ${Rt}>\n <span data-dz-errormessage></span>\n </div>\n </div>\n\n </div>\n </div>\n\n <div class="stzh-upload__actions">\n \x3c!-- <stzh-button variant="tertiary" size="tiny" icon-only icon="download" class="stzh-upload__download" ${Ft}></stzh-button> --\x3e\n <stzh-button variant="tertiary" size="tiny" icon-only class="stzh-upload__delete" ${Ut}>\n <stzh-icon slot="icon" class="stzh-upload__delete-icon" name="delete"></stzh-icon>\n <stzh-icon slot="icon" class="stzh-upload__delete-icon-error" name="close"></stzh-icon>\n </stzh-button>\n </div>\n </div>\n </div>\n </div>\n `}),this.nameWatcher(this.name),this.disabledWatcher(),this.dropzone.on("addedfile",(t=>this.stzhFileAdded.emit({component:"stzh-upload",file:t}))),this.dropzone.on("addedfiles",(t=>this.stzhFilesAdded.emit({component:"stzh-upload",files:t}))),this.dropzone.on("removefile",(t=>(this.removeFileFromState(t),!1===this.stzhFileRemove.emit({component:"stzh-upload",file:t}).defaultPrevented))),this.dropzone.on("removedfile",((t,e)=>this.stzhFileRemoved.emit({component:"stzh-upload",file:t,force:e}))),this.dropzone.on("sending",((t,e,n)=>this.stzhSending.emit({component:"stzh-upload",file:t,xhr:e,formData:n}))),this.dropzone.on("sendingmultiple",((t,e,n)=>this.stzhSendingMultiple.emit({component:"stzh-upload",files:t,xhr:e,formData:n}))),this.dropzone.on("processing",(t=>this.stzhProcessing.emit({component:"stzh-upload",file:t}))),this.dropzone.on("processingmultiple",(t=>this.stzhProcessingMultiple.emit({component:"stzh-upload",files:t}))),this.dropzone.on("uploadprogress",((t,e,n)=>this.stzhProgress.emit({component:"stzh-upload",file:t,progress:e,bytesSent:n}))),this.dropzone.on("totaluploadprogress",((t,e,n)=>this.stzhProgressTotal.emit({component:"stzh-upload",totalUploadProgress:t,totalBytes:e,totalBytesSent:n}))),this.dropzone.on("error",((t,e,n)=>{n&&n.status>=400&&this.toggleToast(this.localization.uploadErrorToast,"error"),this.stzhError.emit({component:"stzh-upload",file:t,message:e,xhr:n})})),this.dropzone.on("errormultiple",((t,e,n)=>{n&&n.status>=400&&this.toggleToast(this.localization.uploadErrorToast,"error"),this.stzhErrorMultiple.emit({component:"stzh-upload",files:t,message:e,xhr:n})})),this.dropzone.on("success",((t,e,n)=>{this.toggleToast(this.localization.uploadSuccessToast,"success"),this.stzhSuccess.emit({component:"stzh-upload",file:t,responseText:e,event:n})})),this.dropzone.on("successmultiple",((t,e,n)=>{this.toggleToast(this.localization.uploadSuccessToast,"success"),this.stzhSuccessMultiple.emit({component:"stzh-upload",files:t,responseText:e,event:n})})),this.dropzone.on("canceled",(t=>this.stzhCanceled.emit({component:"stzh-upload",file:t}))),this.dropzone.on("canceledmultiple",(t=>this.stzhCanceledMultiple.emit({component:"stzh-upload",files:t}))),this.dropzone.on("complete",(t=>this.stzhComplete.emit({component:"stzh-upload",file:t}))),this.dropzone.on("completemultiple",(t=>this.stzhCompleteMultiple.emit({component:"stzh-upload",files:t}))),this.dropzone.on("maxfilesexceeded",(t=>{t._maxFilesExceeded=!0,this.dropzone.emit("error",t,this.localization.maxFilesExceeded),this.dropzone.emit("complete",t)})),this.dropzone.on("addedfile",(t=>{var e,n,r,i;const o=t.previewElement;if(!o)return;const a=(null!==(e=this.leadingIcon)&&void 0!==e?e:"").trim(),s=o.querySelectorAll(".stzh-upload__icon");a?o.querySelectorAll(".stzh-upload__leading-icon-slot").forEach((t=>{t.innerHTML=`<stzh-icon class="stzh-upload__leading-icon" name="${a}"></stzh-icon>`})):s.forEach((t=>t.remove()));const u=null!==(n=t.name)&&void 0!==n?n:"",l=null!==(r=t.type)&&void 0!==r?r:"",c=u.includes(".")&&null!==(i=u.split(".").pop())&&void 0!==i?i:"",f=(t,e)=>{o.querySelectorAll(`[${t}]`).forEach(e)};f(Et,(t=>{t.title=u})),f("data-dz-type",(t=>{t.innerText=l})),f(Tt,(t=>{t.innerText=c}))})),this.dropzone.on("uploadprogress",((t,e)=>{var n;null===(n=t.previewElement)||void 0===n||n.querySelectorAll(`[${Mt}]`).forEach((t=>{t.innerText=`${Math.floor(e)}%`}))})),this._existingFiles.forEach((t=>{this.dropzone.displayExistingFile(t,null,null,null,null)}))}disconnectedCallback(){this.dropzone&&(this.dropzone.destroy(),this.dropzone=null)}render(){var t,e,o,a,u,l,f,h,d;const p=s(this.uploadEl,"error")||(null===(t=this._error)||void 0===t?void 0:t.length)>0,v=!!this.description,g=!!this.descriptionLong||s(this.uploadEl,"description-long"),m=!!this.label||this.hasDefaultSlot,y=!this.hasResolvedDefaultSlot||m||g,z={"stzh-upload":!0,"stzh-upload--is-invalid":this.invalid||p,"stzh-upload--is-disabled":this.disabled,"stzh-upload--is-required":this.required,"stzh-upload--has-label-hidden":this.labelHidden,"stzh-upload--has-hidden-progress":this.hideProgress,"stzh-upload--has-hidden-progress-while-idle":this.hideProgressWhileIdle,"stzh-upload--has-error":p,"stzh-upload--has-description":v,"stzh-upload--has-description-long":g,"stzh-upload--has-instructions":!!this.description||!!this.localization.description},b=null!==(o=null===(e=this.localization)||void 0===e?void 0:e.description)&&void 0!==o?o:"",w=null!==(u=null===(a=this.localization)||void 0===a?void 0:a.descriptionMaxFilesLimit)&&void 0!==u?u:"",_=null!==(f=null===(l=this.localization)||void 0===l?void 0:l.descriptionMaxFilesizeLimit)&&void 0!==f?f:"",x=null!==(d=null===(h=this.localization)||void 0===h?void 0:h.descriptionTotalFileSizeLimit)&&void 0!==d?d:"",k="number"==typeof this.maxFilesize&&this.maxFilesize>0,A="number"==typeof this.maxFilesizeTotal&&this.maxFilesizeTotal>0,E=[];"number"==typeof this.maxFiles&&this.maxFiles>0&&E.push(w.replace("{{maxFiles}}",`${this.maxFiles}`)),k&&E.push(_.replace("{{maxFilesize}}",`${this.maxFilesize}`)),A&&E.push(x.replace("{{maxFilesizeTotal}}",`${this.maxFilesizeTotal}`));const S=E.filter(Boolean).join(", ");let F=b.replace("{{fileformats}}",this.acceptedFiles).replace("{{filesize}}",S);return S||(F=F.replace(/\s*\(\s*\)\s*/,"")),n(i,{key:"4b4ce2488f798a7ffe9fa7eda458b3943240181b",tabindex:this.disabled?null:"-1","is-invalid":this.invalid||p,"aria-required":this.required?"true":"false","aria-invalid":this.invalid||p?"true":"false","aria-describedby":this.invalid||p?this.error:void 0,role:"group","aria-labelledby":y&&(this.label||s(this.uploadEl))?`${this.uploadId}-label`:void 0},n("stzh-toastbar",{key:"b9d27d57865fe17ce5e2e17f4bea5c762370d48a"}),n("div",{key:"d263bb0442116401576acca91c3dcc6374acf4fc",class:z,ref:t=>this.dropzoneElement=t},n("div",{key:"de5ee1659048d5b1612493a83273a69a3d1ea9fe",ref:t=>this.hiddenInputContainerElement=t}),y&&n("div",{key:"a0fc39daee71e2197c6ad193bc1ab7894fe7b66a",class:"stzh-upload__label-wrapper"},n("label",{key:"c45774ae92533958fdb9a07e7a290cfa6cb74e53",id:`${this.uploadId}-label`,class:{"stzh-upload__label":!0,"no-label-truncate":this.noLabelTruncate}},this.label?this.label:n("slot",{onSlotchange:this.updateDefaultSlotState}),m&&!this.hideOptional&&n("span",{key:"51c5aa91d2b2781f838ccc8493968454e6b85ce2",class:"stzh-upload__marker"},n("span",{key:"d0cebf7d48466afe776b38376e5630c1ac1397cc",class:"stzh-upload__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),n("span",{key:"3051dcc4600ee493811642a1c2fe7702d3f4c80c",class:"stzh-upload__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),(this.descriptionLong||s(this.uploadEl,"description-long"))&&n(c,{key:"763fb7d5359f4391114de562fa5cb441d833c9a9",classPrefix:"stzh-upload",id:`${this.uploadId}-description-long`,descriptionLong:this.descriptionLong,descriptionLongUsed:!0,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel,showError:!1,showDescriptionText:!1})),n("div",{key:"95294f2b91d6c787d2b36e2ced1c313ea85714d1",class:"stzh-upload__clickarea",ref:t=>this.clickareaElement=t},n("div",{key:"8a340a645c54080822824bfa82f95066905a9e48",class:"stzh-upload__heading-wrapper"},n("div",{key:"d194f3b76e1bc21b58d032e9eead5f6bec0ad5ae",class:"stzh-upload__heading-inner-wrapper"},n("div",{key:"4045620f6a42386dea79fc7c589fbb7662bf5f0b",class:"stzh-upload__buttons-wrapper"},n("stzh-button",{key:"478652098454c2dcceb77ee79ac137e6612b13a8",id:`${this.uploadId}-button`,class:"stzh-upload__button",variant:"secondary",size:"tiny",ref:t=>this.chooseFileButtonEl=t,label:this.button?this.button:this.localization.button,a11yDescribedby:this.a11yDescribedby,a11yControls:`${this.uploadId}-previews`,"aria-invalid":this.invalid||p?"true":"false",disabled:this.disabled},n("stzh-icon",{key:"8fd8dd2c26007dede87b77224d94dcfaa5ec37ba",slot:"icon",name:"upload"})),this.isPhotographingAvailable&&n("stzh-button",{key:"46ea16570e330f91938adc0cc4c69ee5e5da3660",onClick:this.onButtonScanClick,class:"stzh-upload__button-scan",variant:"secondary",size:"tiny",label:this.buttonScan?this.buttonScan:this.localization.buttonScan,a11yDescribedby:this.a11yDescribedby,"aria-invalid":this.invalid||p?"true":"false",disabled:this.disabled},n("stzh-icon",{key:"685dceaafd37d6e7af285a65856cbcc1da18b4ad",slot:"icon",name:"camera"}))))),n("div",{key:"3076ff10e7bb25fb4728f3c03610156f558cbab2",class:"stzh-upload__instructions",id:`${this.uploadId}-instruction`},n("p",{key:"aabeb4b9f84760017c79c639f415da1731aad5db"},F))),(this.description||p)&&n(c,{key:"d80b85dd95b95fc4bcfacedd283d8ce23a53014a",classPrefix:"stzh-upload",id:`${this.uploadId}-description`,error:this._error,description:this.description,descriptionLongUsed:!1}),n("div",{key:"8260e726a0735c19206bb02c661eabb9a7bbcd0b",id:`${this.uploadId}-previews`,class:"stzh-upload__previews-wrapper"},n("div",{key:"c0da9b4c4bfe74e61f618e3ae9f95bdb36d17648",class:"stzh-upload__previews-inner-wrapper"},n("div",{key:"aeeef42684cb0b6171401a9082e98726918cbfcb",class:"stzh-upload__errors",ref:t=>this.errorsElement=t}),n("div",{key:"50ff6fcd32ab770394811fa170f38aa7d7d46bc4",class:"stzh-upload__previews dropzone-previews",ref:t=>this.previewsElement=t})))),this.duplicateDetected&&n("div",{key:"3849a2500a69c8aff289b21bd150fe9fdbace245",class:"stzh-upload__previews-message-wrapper"},n("stzh-message",{key:"71e3d9cce8a620d2df0e021c7f3f23796c51ee50",type:"error",label:this.localization.duplicateFileUploadHeading,onStzhClose:()=>this.duplicateDetected=!1},n("stzh-text",{key:"bce4044f9841f00f62639e76d23b51529e8b8dcb"},n("p",{key:"c39f8a8ee13fdb4399ec9636c55ced12e21c17c0"},"«",this.duplicateFileName,"» (",this.duplicateFileSize,")"),n("p",{key:"c6115a492fafa95f2a95b953002c77207b80e896"},this.localization.duplicateFileUploadParagraph)))),this.totalTooBig&&n("div",{key:"3089c1b088337b955f795b4dd79295f521ac7b0f",class:"stzh-upload__previews-message-wrapper"},n("stzh-message",{key:"edde7460e5ec031cf54d9d51ef7e4b95a0e13922",type:"warning",label:this.totalTooBigMessageHeading,onStzhClose:()=>this.totalTooBig=!1},n("stzh-text",{key:"7ba132c881d57a567f9495c12e77977289349e11"},n("p",{key:"074a138b1c927ecf91c9916b38007734de6d3783"},this.totalTooBigMessageBody," ",this.totalTooBigMessageBody2)))),n("stzh-dialog",{key:"7ae92873f235db25a42f9f6b594a2c062bbe4760",ref:t=>this.photographingOverlayElement=t,onStzhClose:this.closePhotographingWebsocketConnection,class:this.isPhotographingAvailable&&"stzh-dialog--fit-content",heading:this.localization.photographingTitle1},n("stzh-button",{key:"68013b9d1c9f03b6261da41ee2808d0eb2198a56",class:"stzh-upload-photographing__back-button",icon:"arrow-left",size:"tiny",variant:"tertiary-plain","no-padding-left":"true","no-padding-right":"true",onClick:this.closePhotographingOverlay},this.localization.back),this.isPhotographingAvailable&&n(r,{key:"31934153c7e1b422fd8659abc102a19adad2e317"},n("div",{key:"18cd4c04d30a14952c63827a381eab47e9305baa",class:"stzh-upload-photographing__info"},n("div",{key:"66ad20ad24963e370c7ef2c71b69b07e2c4dde7c",class:"stzh-upload-photographing__text-qrcode"},n("div",{key:"a59fe213e4f7cbc233182d668634c1736b26890f",class:"stzh-upload-photographing-qrlink-container"},n("stzh-text",{key:"1171db191e5286b12a3950ae2790745e4fb6a2a0"},this.localization.photographingText1)),n("div",{key:"0f210b877914509cd9bdddd7671738a8fa3aba4c",class:"stzh-upload-photographing-qrcode-container"},n("canvas",{key:"48a7962efe3ac0aa1228358eb215a229532cfcf6",class:"stzh-upload-photographing-qrcode",ref:t=>this.photographingQrcodeElement=t})))),n("div",{key:"e02cbf10b820cf0d0682fb5155d4f636d43cddac",class:"stzh-upload-photographing__info"},n("stzh-heading",{key:"38fef933289f7a97866e8321fc187f79e4d5b2a8",level:"3"},this.localization.photographingTitle2),n("stzh-text",{key:"0127356264f3c7635ce55ae441eb3548ca245d84"},this.localization.photographingText2)),n("div",{key:"9b35ad4f3f38ae80a01a996478616fcf4597c828",class:"stzh-upload-photographing__continue"},!!this.photographingUrlDetails&&n("stzh-link",{key:"566fdd6a1e109c390e11545ee81d1b024faedf91",class:"stzh-upload-photographing-link",href:this.photographingUrlDetails.url+"&label="+this.cleanLabel(this.label),target:"_blank"},this.localization.photographingContinue)))))}get uploadEl(){return o(this)}static get watchers(){return{name:[{nameWatcher:0}],maxFiles:[{maxFilesWatcher:0}],maxFilesize:[{maxFilesizeWatcher:0}],acceptedFiles:[{acceptedFilesWatcher:0}],existingFiles:[{existingFilesWatcher:0}],disabled:[{disabledWatcher:0}],error:[{errorWatcher:0}]}}};$t.style=':host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-upload{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}stzh-upload[hidden],stzh-upload[stzh-hidden]{display:none}stzh-upload::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-upload *,stzh-upload *::before,stzh-upload *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}stzh-upload{}stzh-upload .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-upload .stzh-fylingfocus-focused{outline-style:none !important}stzh-upload .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-upload{--label-color:var(--stzh-upload-label-color, var(--stzh-color-primary));--list-grid-template-areas:var( --stzh-upload-list-grid-template-areas, "list list list list" );--list-grid-template-columns:var( --stzh-upload-list-grid-template-columns, repeat(4, minmax(0, 1fr)) )}@media screen and (min-width: 600px){stzh-upload{--list-grid-template-areas:var( --stzh-upload-list-grid-template-areas, "list list list ." )}}@media screen and (min-width: 900px){stzh-upload{--list-grid-template-areas:var( --stzh-upload-list-grid-template-areas, "list list list list list . . ." );--list-grid-template-columns:var( --stzh-upload-list-grid-template-columns, repeat(8, minmax(0, 1fr)) )}}stzh-upload[disabled]:not([disabled=false]){--description-color:var(--stzh-color-grey70);--label-color:var(--stzh-color-grey70)}.stzh-upload__marker-symbol{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-upload__marker-text{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-upload__description-wrapper{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-upload__error,.stzh-upload__description{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-upload__error{color:var(--stzh-color-error60)}.stzh-upload__error-list{list-style:none;margin:0;padding:0}.stzh-upload__description{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-upload__description-long{margin-right:var(--stzh-space-xxsmall, 4px);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-upload__description-long{margin-top:0}}.stzh-upload__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-upload__description-long-button{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-upload stzh-icon.stzh-upload__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-xxxsmall, 2px)}.stzh-upload{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);position:relative;color:var(--stzh-color-grey70);box-sizing:border-box;display:flex;flex-direction:column;}.stzh-upload__label-wrapper{display:flex;align-items:center;gap:var(--stzh-space-xsmall, 8px);width:100%;min-width:0;min-height:1.375rem;margin-bottom:var(--stzh-space-xxxsmall, 2px)}.stzh-upload__label{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;color:var(--label-color);min-width:0;flex:0 1 auto;max-width:100%;margin-bottom:0}.stzh-upload__label.no-label-truncate{text-overflow:clip;white-space:normal;overflow:visible}.stzh-upload__label:empty{display:none}.stzh-upload__label:not(.no-label-truncate){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stzh-upload__label-wrapper>.stzh-upload__description-wrapper{flex:0 0 auto;display:inline-flex;align-items:flex-start;margin:0;transform:translateY(0.0625rem)}.stzh-upload__label-wrapper .stzh-upload__error,.stzh-upload__label-wrapper .stzh-upload__description-text{display:none}.stzh-upload__label-wrapper .stzh-upload__description,.stzh-upload__label-wrapper .stzh-upload__description-long{display:inline-flex;align-items:flex-start;margin:0}.stzh-upload__label-wrapper .stzh-upload__description-long-button{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;line-height:1}.stzh-upload__label-wrapper stzh-popover .stzh-upload__description-long-icon{--size:var(--stzh-icon-size-small);display:block;line-height:0;color:var(--stzh-color-primary70)}.stzh-upload__marker{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall, 8px))}.stzh-upload__clickarea{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);padding-top:var(--stzh-space-medium, 16px);padding-left:var(--stzh-space-medium, 16px);padding-right:var(--stzh-space-medium, 16px);display:flex;flex-direction:column;align-items:center;text-align:center;border:0.0625rem solid var(--stzh-color-black);background-color:var(--stzh-color-grey10);border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABMSURBVHgB7dexCgAQEIDhO2X2ih7NK5oNTEo3kFI3+L+Z/BnkNMXSZVFbVtmw663b/UGc6Sw6lb82z3W/AQDgJSSAAAIAgP+Afj8dD2mcJJvEMWjkAAAAAElFTkSuQmCC\');border-image-slice:8;border-image-width:0.5rem;border-image-repeat:round;transition:background-color var(--stzh-base-transition-animation-speed)}@media (min-resolution: 192dpi){.stzh-upload__clickarea{border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB5SURBVHgB7dsxCoQwFEXRl4Gp3aJLc4vWFtpbaCGC8M5ZQEIu/CYkY/ovey6s2zzywN36d97e/5dyAqTcOM/I05n7uvN5jUDK1QcAAAAA+rgTTDkBUk6AlBMg5QRIOQFSToCUEyAAAAAAZbwPSDkBUm74O1xOgJQ7AMC9JLtRTkNkAAAAAElFTkSuQmCC\');border-image-slice:16}}@media (forced-colors: active){.stzh-upload__clickarea{border:0.125rem dashed ButtonBorder}}@media screen and (min-width: 600px){.stzh-upload__clickarea{padding-left:var(--stzh-space-large, 20px);padding-right:var(--stzh-space-large, 20px)}}.stzh-upload__heading-wrapper{width:100%;font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:flex;align-items:flex-start;gap:var(--stzh-space-medium, 16px);color:var(--stzh-color-grey90);transition:color var(--stzh-base-transition-animation-speed)}.stzh-upload__heading-inner-wrapper{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--stzh-space-xsmall, 8px)}.stzh-upload__buttons-wrapper{display:flex;flex-direction:column;gap:var(--stzh-space-medium);width:100%}@media screen and (min-width: 900px){.stzh-upload__buttons-wrapper{flex-direction:row;justify-content:center}}.stzh-upload__instructions{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-upload__instructions p{margin-top:var(--stzh-space-medium, 16px);margin-bottom:var(--stzh-space-medium, 16px)}.stzh-upload stzh-icon.stzh-upload__delete-icon{display:none}.stzh-upload__previews-wrapper{grid-template-areas:var(--list-grid-template-areas);grid-template-columns:var(--list-grid-template-columns)}.stzh-upload__previews-inner-wrapper{grid-area:list}.stzh-upload__previews-message-wrapper{display:block}.stzh-upload__preview{padding-top:var(--stzh-space-xxsmall, 4px)}@media screen and (min-width: 900px){.stzh-upload__preview{padding-top:var(--stzh-space-xsmall, 8px)}}@media screen and (min-width: 1260px){.stzh-upload__preview{padding-top:var(--stzh-space-small, 12px)}}.stzh-upload__preview{padding-bottom:var(--stzh-space-xxsmall, 4px)}@media screen and (min-width: 900px){.stzh-upload__preview{padding-bottom:var(--stzh-space-xsmall, 8px)}}@media screen and (min-width: 1260px){.stzh-upload__preview{padding-bottom:var(--stzh-space-small, 12px)}}.stzh-upload__preview{display:flex;align-items:center;opacity:1;transform-origin:center;background-color:var(--stzh-color-grey10);margin-bottom:var(--stzh-space-xxsmall, 4px);padding-left:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-upload__preview{padding-left:var(--stzh-space-large, 20px)}}.stzh-upload__preview.dz-error .stzh-upload__title,.stzh-upload__preview.dz-error .stzh-upload__link[href]:not([href=""]),.stzh-upload__preview.dz-error .stzh-upload__link[href]:not([href=""]):hover{color:var(--stzh-color-error60)}.stzh-upload__preview.dz-error .stzh-upload__error-message{display:block}.stzh-upload__preview.dz-error .stzh-upload__meta{display:none}.stzh-upload__preview.dz-complete:not(.dz-error) stzh-icon.stzh-upload__delete-icon-error{display:none}.stzh-upload__preview.dz-complete:not(.dz-error) stzh-icon.stzh-upload__delete-icon{display:inline-flex}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-processing{display:none}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete{display:flex}.stzh-upload__preview.dz-empty .stzh-upload__separator{display:none}.stzh-upload__preview.dz-empty .stzh-upload__size{display:none}.stzh-upload__icon{display:none;align-content:center}@media screen and (min-width: 900px){.stzh-upload__icon{color:var(--stzh-color-grey90);display:block;padding-right:var(--stzh-space-medium, 16px)}}.stzh-upload__details{flex-grow:1;display:flex;overflow:hidden}.stzh-upload__info-wrapper{flex-grow:1;display:flex;overflow:hidden}.stzh-upload{}.stzh-upload__title-meta-row{display:flex;flex-direction:row;align-items:flex-start;min-width:0}.stzh-upload__info-wrapper-processing .stzh-upload__progress-text{margin-top:var(--stzh-space-xsmall, 8px)}.stzh-upload__content{flex:1 1 auto;min-width:0}.stzh-upload{}.stzh-upload__title-meta-line{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.stzh-upload__title{flex:1 1 auto;min-width:0}.stzh-upload__meta{flex:0 0 auto;margin-left:0;text-align:left;white-space:normal}.stzh-upload{}@media screen and (min-width: 900px){.stzh-upload__title-meta-line{flex-direction:row;align-items:center}.stzh-upload__meta{margin-left:auto;text-align:right;white-space:nowrap}}.stzh-upload__title .stzh-upload__link{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stzh-upload__info-wrapper-processing,.stzh-upload__info-wrapper-complete{flex-grow:1;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.stzh-upload__info-wrapper-complete{display:none}.stzh-upload__actions{flex-shrink:0;display:flex;align-items:center}.stzh-upload__actions:not(:empty){margin-left:var(--stzh-space-xsmall, 8px)}.stzh-upload__infos{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:flex;justify-content:space-between;align-items:center}.stzh-upload__title,.stzh-upload__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-upload__title{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-upload__link[href]:not([href=""]){color:var(--stzh-link-color)}.stzh-upload__link[href]:not([href=""]):hover{color:var(--stzh-link-hover-color)}.stzh-upload__meta{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;display:flex;align-items:center;gap:var(--stzh-space-xsmall, 8px)}.stzh-upload__info-wrapper-processing .stzh-upload__meta{display:flex}.stzh-upload__size strong{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-upload__image{display:none}.stzh-upload__progress{display:block;height:0.375rem;background-color:var(--stzh-color-black20op);margin-top:var(--stzh-space-xsmall, 8px)}.stzh-upload__progress-bar{display:block;height:100%;width:0;background:var(--stzh-color-secondary40)}.stzh-upload__progress-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium, 16px);font-variant-numeric:tabular-nums}.stzh-upload__separator{width:0.0625rem;height:1rem;flex:0 0 0.0625rem;background-color:currentColor;display:block}.stzh-upload__extension{text-transform:uppercase}.stzh-upload__extension:empty+.stzh-upload__separator{display:none}.stzh-upload__error-message{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;color:var(--stzh-color-error60);transition:color var(--stzh-base-transition-animation-speed);display:none}.stzh-upload{}.stzh-upload.dz-started .stzh-upload__errors,.stzh-upload:has(.stzh-upload__preview) .stzh-upload__errors{margin-top:var(--stzh-space-xxsmall, 4px)}.stzh-upload{}.stzh-upload.dz-drag-hover .stzh-upload__clickarea{background-color:var(--stzh-color-secondary10);border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABMSURBVHgB7ddBCgAQEEDRGa7iRs7pRq4iVkqzIKVm4b81+VnIaMy1y6KVpLJh11u3+4M401l0Kn9tnut+AwDAS0gAAQQAAP8B/X46HlNzJxHDedWMAAAAAElFTkSuQmCC\')}@media (min-resolution: 192dpi){.stzh-upload.dz-drag-hover .stzh-upload__clickarea{border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB5SURBVHgB7dvBCYQwFEXRl5lW7Mg67chWRPcudCGC8M4pICEX/iYk4z+vey5syzTywN36d97e/5dyAqTcOM/I05n7uvN5jUDK1QcAAAAA+rgTTDkBUk6AlBMg5QRIOQFSToCUEyAAAAAAZbwPSDkBUm74O1xOgJQ7AO1EJzEUHPSNAAAAAElFTkSuQmCC\')}}@media (forced-colors: active){.stzh-upload.dz-drag-hover .stzh-upload__clickarea{border-color:Highlight}}.stzh-upload.dz-drag-hover .stzh-upload__heading-wrapper{color:var(--stzh-color-primary70)}.stzh-upload{}.stzh-upload{}.stzh-upload--has-hidden-progress .stzh-upload__progress,.stzh-upload--has-hidden-progress .stzh-upload__progress-text,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__progress,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__progress-text{display:none}.stzh-upload--has-hidden-progress .stzh-upload__info-wrapper-processing .stzh-upload__meta,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__info-wrapper-processing .stzh-upload__meta{display:flex}.stzh-upload{}.stzh-upload--is-invalid{--label-color:var(--stzh-color-error60)}.stzh-upload--has-description>.stzh-upload__description-wrapper{margin-top:var(--stzh-space-xxsmall, 4px)}.stzh-upload{}.stzh-upload--has-label-hidden .stzh-upload__label{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-upload{}.stzh-upload--is-disabled .stzh-upload__clickarea{cursor:not-allowed;background-color:var(--stzh-color-grey10)}@media (forced-colors: active){.stzh-upload--is-disabled .stzh-upload__clickarea{border-color:GrayText}}.stzh-upload{}.stzh-upload-photographing__info:not(:last-child){padding-bottom:var(--stzh-space-xxlarge, 32px)}@media screen and (min-width: 900px){.stzh-upload-photographing__info:not(:last-child){padding-bottom:var(--stzh-space-xxxlarge, 40px)}}@media screen and (min-width: 1260px){.stzh-upload-photographing__info:not(:last-child){padding-bottom:var(--stzh-space-xxxxlarge, 48px)}}.stzh-upload-photographing__text-qrcode{display:flex;gap:var(--stzh-space-large, 20px)}.stzh-upload-photographing-qrlink-container{width:50%;flex-grow:0;overflow-x:hidden}.stzh-upload-photographing-qrcode-container{width:50%;flex-grow:1}.stzh-upload-photographing-qrcode{width:7.5rem;height:7.5rem}@media screen and (min-width: 1260px){.stzh-upload-photographing-qrcode{width:8.75rem;height:8.75rem}}.stzh-upload-photographing-link{margin-top:var(--stzh-space-medium, 16px)}@media screen and (min-width: 900px){.stzh-upload-photographing-link{margin-top:var(--stzh-space-large, 20px)}}.stzh-upload-photographing-link{word-break:break-all !important;width:auto}.stzh-upload-photographing__continue{display:flex;justify-content:flex-end;gap:var(--stzh-space-large, 20px)}.stzh-upload-photographing__back-button{margin-bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-upload-photographing__back-button{margin-bottom:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-upload-photographing__back-button{margin-bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-upload-photographing__back-button{margin-bottom:var(--stzh-space-xxlarge, 32px)}}.stzh-upload__fade-out{opacity:0;transition-duration:1.8s;transition-delay:0s;transition-property:opacity;transition-timing-function:ease-out}.stzh-upload__info-wrapper-processing .stzh-upload__title-meta-row{display:flex;flex-wrap:wrap;align-items:flex-start;min-width:0}.stzh-upload__info-wrapper-processing .stzh-upload__icon{flex:0 0 auto}.stzh-upload__info-wrapper-processing{}.stzh-upload__info-wrapper-processing .stzh-upload__infos{flex:1 1 100%;min-width:0;order:1}.stzh-upload__info-wrapper-processing{}.stzh-upload__info-wrapper-processing .stzh-upload__meta{flex:0 0 100%;margin-left:0;order:2;justify-content:flex-start;text-align:left;white-space:normal}@media screen and (min-width: 900px){.stzh-upload__info-wrapper-processing .stzh-upload__title-meta-row{flex-wrap:nowrap;align-items:center}.stzh-upload__info-wrapper-processing .stzh-upload__infos{flex:1 1 auto;order:1}.stzh-upload__info-wrapper-processing .stzh-upload__meta{flex:0 0 auto;order:2;margin-left:auto;justify-content:flex-end;text-align:right;white-space:nowrap}}';export{$t as stzh_upload}
|
|
1
|
+
import{r as t,c as e,h as n,F as r,a as i,d as o}from"./p-rujKGmCS.js";import{a,h as s,c as u,i as c}from"./p-CBLSoWgI.js";import{S as l}from"./p-DT3qkqDR.js";import{g as f}from"./p-E-ZsRS8r.js";import"./p-BubviQku.js";!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(self,(function(){return function(){var t={3099:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:function(t,e,n){var r=n(5112),i=n(30),o=n(3070),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},1530:function(t,e,n){var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},5787:function(t){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},9670:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},4019:function(t){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},260:function(t,e,n){var r,i=n(4019),o=n(9781),a=n(7854),s=n(111),u=n(6656),c=n(648),l=n(8880),f=n(1320),h=n(3070).f,d=n(9518),p=n(7674),v=n(5112),g=n(9711),m=a.Int8Array,y=m&&m.prototype,z=a.Uint8ClampedArray,b=z&&z.prototype,w=m&&d(m),_=y&&d(y),x=Object.prototype,k=x.isPrototypeOf,A=v("toStringTag"),E=g("TYPED_ARRAY_TAG"),S=i&&!!p&&"Opera"!==c(a.opera),F=!1,T={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},C={BigInt64Array:8,BigUint64Array:8},R=function(t){if(!s(t))return!1;var e=c(t);return u(T,e)||u(C,e)};for(r in T)a[r]||(S=!1);if((!S||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},S))for(r in T)a[r]&&p(a[r],w);if((!S||!_||_===x)&&(_=w.prototype,S))for(r in T)a[r]&&p(a[r].prototype,_);if(S&&d(b)!==_&&p(b,_),o&&!u(_,A))for(r in F=!0,h(_,A,{get:function(){return s(this)?this[E]:void 0}}),T)a[r]&&l(a[r],E,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:S,TYPED_ARRAY_TAG:F&&E,aTypedArray:function(t){if(R(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(p){if(k.call(w,t))return t}else for(var e in T)if(u(T,r)){var n=a[e];if(n&&(t===n||k.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n){if(o){if(n)for(var r in T){var i=a[r];i&&u(i.prototype,t)&&delete i.prototype[t]}_[t]&&!n||f(_,t,n?e:S&&y[t]||e)}},exportTypedArrayStaticMethod:function(t,e,n){var r,i;if(o){if(p){if(n)for(r in T)(i=a[r])&&u(i,t)&&delete i[t];if(w[t]&&!n)return;try{return f(w,t,n?e:S&&m[t]||e)}catch(t){}}for(r in T)!(i=a[r])||i[t]&&!n||f(i,t,e)}},isView:function(t){if(!s(t))return!1;var e=c(t);return"DataView"===e||u(T,e)||u(C,e)},isTypedArray:R,TypedArray:w,TypedArrayPrototype:_}},3331:function(t,e,n){var r=n(7854),i=n(9781),o=n(4019),a=n(8880),s=n(2248),u=n(7293),c=n(5787),l=n(9958),f=n(7466),h=n(7067),d=n(1179),p=n(9518),v=n(7674),g=n(8006).f,m=n(3070).f,y=n(1285),z=n(8003),b=n(9909),w=b.get,_=b.set,x="ArrayBuffer",k="DataView",A="prototype",E="Wrong index",S=r[x],F=S,T=r[k],C=T&&T[A],R=Object.prototype,M=r.RangeError,U=d.pack,j=d.unpack,I=function(t){return[255&t]},$=function(t){return[255&t,t>>8&255]},O=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},L=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},P=function(t){return U(t,23,4)},B=function(t){return U(t,52,8)},N=function(t,e){m(t[A],e,{get:function(){return w(this)[e]}})},D=function(t,e,n,r){var i=h(n),o=w(t);if(i+e>o.byteLength)throw M(E);var a=w(o.buffer).bytes,s=i+o.byteOffset,u=a.slice(s,s+e);return r?u:u.reverse()},Q=function(t,e,n,r,i,o){var a=h(n),s=w(t);if(a+e>s.byteLength)throw M(E);for(var u=w(s.buffer).bytes,c=a+s.byteOffset,l=r(+i),f=0;f<e;f++)u[c+f]=l[o?f:e-f-1]};if(o){if(!u((function(){S(1)}))||!u((function(){new S(-1)}))||u((function(){return new S,new S(1.5),new S(NaN),S.name!=x}))){for(var W,q=(F=function(t){return c(this,F),new S(h(t))})[A]=S[A],H=g(S),X=0;H.length>X;)(W=H[X++])in F||a(F,W,S[W]);q.constructor=F}v&&p(C)!==R&&v(C,R);var Y=new T(new F(2)),V=C.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||s(C,{setInt8:function(t,e){V.call(this,t,e<<24>>24)},setUint8:function(t,e){V.call(this,t,e<<24>>24)}},{unsafe:!0})}else F=function(t){c(this,F,x);var e=h(t);_(this,{bytes:y.call(new Array(e),0),byteLength:e}),i||(this.byteLength=e)},T=function(t,e,n){c(this,T,k),c(t,F,k);var r=w(t).byteLength,o=l(e);if(o<0||o>r)throw M("Wrong offset");if(o+(n=void 0===n?r-o:f(n))>r)throw M("Wrong length");_(this,{buffer:t,byteLength:n,byteOffset:o}),i||(this.buffer=t,this.byteLength=n,this.byteOffset=o)},i&&(N(F,"byteLength"),N(T,"buffer"),N(T,"byteLength"),N(T,"byteOffset")),s(T[A],{getInt8:function(t){return D(this,1,t)[0]<<24>>24},getUint8:function(t){return D(this,1,t)[0]},getInt16:function(t){var e=D(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=D(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return L(D(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return L(D(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return j(D(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return j(D(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){Q(this,1,t,I,e)},setUint8:function(t,e){Q(this,1,t,I,e)},setInt16:function(t,e){Q(this,2,t,$,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){Q(this,2,t,$,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){Q(this,4,t,O,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){Q(this,4,t,O,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){Q(this,4,t,P,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){Q(this,8,t,B,e,arguments.length>2?arguments[2]:void 0)}});z(F,x),z(T,k),t.exports={ArrayBuffer:F,DataView:T}},1048:function(t,e,n){var r=n(7908),i=n(1400),o=n(7466),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),u=i(t,s),c=i(e,s),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?s:i(l,s))-c,s-u),h=1;for(c<u&&u<c+f&&(h=-1,c+=f-1,u+=f-1);f-- >0;)c in n?n[u]=n[c]:delete n[u],u+=h,c+=h;return n}},1285:function(t,e,n){var r=n(7908),i=n(1400),o=n(7466);t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)e[s++]=t;return e}},8533:function(t,e,n){var r=n(2092).forEach,i=n(9341)("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},8457:function(t,e,n){var r=n(9974),i=n(7908),o=n(3411),a=n(7659),s=n(7466),u=n(6135),c=n(1246);t.exports=function(t){var e,n,l,f,h,d,p=i(t),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,y=void 0!==m,z=c(p),b=0;if(y&&(m=r(m,g>2?arguments[2]:void 0,2)),null==z||v==Array&&a(z))for(n=new v(e=s(p.length));e>b;b++)d=y?m(p[b],b):p[b],u(n,b,d);else for(h=(f=z.call(p)).next,n=new v;!(l=h.call(f)).done;b++)d=y?o(f,m,[l.value,b],!0):l.value,u(n,b,d);return n.length=b,n}},1318:function(t,e,n){var r=n(5656),i=n(7466),o=n(1400),a=function(t){return function(e,n,a){var s,u=r(e),c=i(u.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:function(t,e,n){var r=n(9974),i=n(8361),o=n(7908),a=n(7466),s=n(5417),u=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,l=4==t,f=6==t,h=7==t,d=5==t||f;return function(p,v,g,m){for(var y,z,b=o(p),w=i(b),_=r(v,g,3),x=a(w.length),k=0,A=m||s,E=e?A(p,x):n||h?A(p,0):void 0;x>k;k++)if((d||k in w)&&(z=_(y=w[k],k,b),t))if(e)E[k]=z;else if(z)switch(t){case 3:return!0;case 5:return y;case 6:return k;case 2:u.call(E,y)}else switch(t){case 4:return!1;case 7:u.call(E,y)}return f?-1:c||l?l:E}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},6583:function(t,e,n){var r=n(5656),i=n(9958),o=n(7466),a=n(9341),s=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");t.exports=c||!l?function(t){if(c)return u.apply(this,arguments)||0;var e=r(this),n=o(e.length),a=n-1;for(arguments.length>1&&(a=s(a,i(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:u},1194:function(t,e,n){var r=n(7293),i=n(5112),o=n(7392),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:function(t,e,n){var r=n(7293);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},3671:function(t,e,n){var r=n(3099),i=n(7908),o=n(8361),a=n(7466),s=function(t){return function(e,n,s,u){r(n);var c=i(e),l=o(c),f=a(c.length),h=t?f-1:0,d=t?-1:1;if(s<2)for(;;){if(h in l){u=l[h],h+=d;break}if(h+=d,t?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:f>h;h+=d)h in l&&(u=n(u,l[h],h,c));return u}};t.exports={left:s(!1),right:s(!0)}},5417:function(t,e,n){var r=n(111),i=n(3157),o=n(5112)("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},3411:function(t,e,n){var r=n(9670),i=n(9212);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){throw i(t),e}}},7072:function(t,e,n){var r=n(5112)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},4326:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},648:function(t,e,n){var r=n(1694),i=n(4326),o=n(5112)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},9920:function(t,e,n){var r=n(6656),i=n(3887),o=n(1236),a=n(3070);t.exports=function(t,e){for(var n=i(e),s=a.f,u=o.f,c=0;c<n.length;c++){var l=n[c];r(t,l)||s(t,l,u(e,l))}}},8544:function(t,e,n){var r=n(7293);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4994:function(t,e,n){var r=n(3383).IteratorPrototype,i=n(30),o=n(9114),a=n(8003),s=n(7497),u=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),a(t,c,!1,!0),s[c]=u,t}},8880:function(t,e,n){var r=n(9781),i=n(3070),o=n(9114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:function(t,e,n){var r=n(7593),i=n(3070),o=n(9114);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},654:function(t,e,n){var r=n(2109),i=n(4994),o=n(9518),a=n(7674),s=n(8003),u=n(8880),c=n(1320),l=n(5112),f=n(1913),h=n(7497),d=n(3383),p=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=l("iterator"),m="keys",y="values",z="entries",b=function(){return this};t.exports=function(t,e,n,l,d,w,_){i(n,e,l);var x,k,A,E=function(t){if(t===d&&R)return R;if(!v&&t in T)return T[t];switch(t){case m:case y:case z:return function(){return new n(this,t)}}return function(){return new n(this)}},S=e+" Iterator",F=!1,T=t.prototype,C=T[g]||T["@@iterator"]||d&&T[d],R=!v&&C||E(d),M="Array"==e&&T.entries||C;if(M&&(x=o(M.call(new t)),p!==Object.prototype&&x.next&&(f||o(x)===p||(a?a(x,p):"function"!=typeof x[g]&&u(x,g,b)),s(x,S,!0,!0),f&&(h[S]=b))),d==y&&C&&C.name!==y&&(F=!0,R=function(){return C.call(this)}),f&&!_||T[g]===R||u(T,g,R),h[e]=R,d)if(k={values:E(y),keys:w?R:E(m),entries:E(z)},_)for(A in k)(v||F||!(A in T))&&c(T,A,k[A]);else r({target:e,proto:!0,forced:v||F},k);return k}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,e,n){var r=n(7854),i=n(111),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},8324:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:function(t,e,n){var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:function(t,e,n){var r,i,o=n(7854),a=n(8113),s=o.process,u=s&&s.versions,c=u&&u.v8;c?i=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),i=n(1236).f,o=n(8880),a=n(1320),s=n(3505),u=n(9920),c=n(4705);t.exports=function(t,e){var n,l,f,h,d,p=t.target,v=t.global,g=t.stat;if(n=v?r:g?r[p]||s(p,{}):(r[p]||{}).prototype)for(l in e){if(h=e[l],f=t.noTargetGet?(d=i(n,l))&&d.value:n[l],!c(v?l:p+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof h==typeof f)continue;u(h,f)}(t.sham||f&&f.sham)&&o(h,"sham",!0),a(n,l,h,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:function(t,e,n){n(4916);var r=n(1320),i=n(7293),o=n(5112),a=n(2261),s=n(8880),u=o("species"),c=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=o("replace"),h=!!/./[f]&&""===/./[f]("a","$0"),d=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,f){var p=o(t),v=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),g=v&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!v||!g||"replace"===t&&(!c||!l||h)||"split"===t&&!d){var m=/./[p],y=n(p,""[t],(function(t,e,n,r,i){return e.exec===a?v&&!i?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),z=y[1];r(String.prototype,t,y[0]),r(RegExp.prototype,p,2==e?function(t,e){return z.call(t,this,e)}:function(t){return z.call(t,this)})}f&&s(RegExp.prototype[p],"sham",!0)}},9974:function(t,e,n){var r=n(3099);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},5005:function(t,e,n){var r=n(857),i=n(7854),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},1246:function(t,e,n){var r=n(648),i=n(7497),o=n(5112)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},8554:function(t,e,n){var r=n(9670),i=n(1246);t.exports=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},647:function(t,e,n){var r=n(7908),i=Math.floor,o="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;t.exports=function(t,e,n,u,c,l){var f=n+t.length,h=u.length,d=s;return void 0!==c&&(c=r(c),d=a),o.call(l,d,(function(r,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(f);case"<":a=c[o.slice(1,-1)];break;default:var s=+o;if(0===s)return r;if(s>h){var l=i(s/10);return 0===l?r:l<=h?void 0===u[l-1]?o.charAt(1):u[l-1]+o.charAt(1):r}a=u[s-1]}return void 0===a?"":a}))}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1179:function(t){var e=Math.abs,n=Math.pow,r=Math.floor,i=Math.log,o=Math.LN2;t.exports={pack:function(t,a,s){var u,c,l,f=new Array(s),h=8*s-a-1,d=(1<<h)-1,p=d>>1,v=23===a?n(2,-24)-n(2,-77):0,g=t<0||0===t&&1/t<0?1:0,m=0;for((t=e(t))!=t||t===1/0?(c=t!=t?1:0,u=d):(u=r(i(t)/o),t*(l=n(2,-u))<1&&(u--,l*=2),(t+=u+p>=1?v/l:v*n(2,1-p))*l>=2&&(u++,l/=2),u+p>=d?(c=0,u=d):u+p>=1?(c=(t*l-1)*n(2,a),u+=p):(c=t*n(2,p-1)*n(2,a),u=0));a>=8;f[m++]=255&c,c/=256,a-=8);for(u=u<<a|c,h+=a;h>0;f[m++]=255&u,u/=256,h-=8);return f[--m]|=128*g,f},unpack:function(t,e){var r,i=t.length,o=8*i-e-1,a=(1<<o)-1,s=a>>1,u=o-7,c=i-1,l=t[c--],f=127&l;for(l>>=7;u>0;f=256*f+t[c],c--,u-=8);for(r=f&(1<<-u)-1,f>>=-u,u+=e;u>0;r=256*r+t[c],c--,u-=8);if(0===f)f=1-s;else{if(f===a)return r?NaN:l?-1/0:1/0;r+=n(2,e),f-=s}return(l?-1:1)*r*n(2,f-e)}}},8361:function(t,e,n){var r=n(7293),i=n(4326),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},9587:function(t,e,n){var r=n(111),i=n(7674);t.exports=function(t,e,n){var o,a;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(t,a),t}},2788:function(t,e,n){var r=n(5465),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},9909:function(t,e,n){var r,i,o,a=n(8536),s=n(7854),u=n(111),c=n(8880),l=n(6656),f=n(5465),h=n(6200),d=n(3501);if(a){var p=f.state||(f.state=new(0,s.WeakMap)),v=p.get,g=p.has,m=p.set;r=function(t,e){return e.facade=t,m.call(p,t,e),e},i=function(t){return v.call(p,t)||{}},o=function(t){return g.call(p,t)}}else{var y=h("state");d[y]=!0,r=function(t,e){return e.facade=t,c(t,y,e),e},i=function(t){return l(t,y)?t[y]:{}},o=function(t){return l(t,y)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},7659:function(t,e,n){var r=n(5112),i=n(7497),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},4705:function(t,e,n){var r=n(7293),i=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==c||n!=u&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},111:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:function(t){t.exports=!1},7850:function(t,e,n){var r=n(111),i=n(4326),o=n(5112)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},9212:function(t,e,n){var r=n(9670);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},3383:function(t,e,n){var r,i,o,a=n(7293),s=n(9518),u=n(8880),c=n(6656),l=n(5112),f=n(1913),h=l("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(r=i):d=!0);var p=null==r||a((function(){var t={};return r[h].call(t)!==t}));p&&(r={}),f&&!p||c(r,h)||u(r,h,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7497:function(t){t.exports={}},133:function(t,e,n){var r=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},590:function(t,e,n){var r=n(7293),i=n(5112),o=n(1913),a=i("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:function(t,e,n){var r=n(7854),i=n(2788),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},1574:function(t,e,n){var r=n(9781),i=n(7293),o=n(1956),a=n(5181),s=n(5296),u=n(7908),c=n(8361),l=Object.assign,f=Object.defineProperty;t.exports=!l||i((function(){if(r&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||o(l({},e)).join("")!=i}))?function(t,e){for(var n=u(t),i=arguments.length,l=1,f=a.f,h=s.f;i>l;)for(var d,p=c(arguments[l++]),v=f?o(p).concat(f(p)):o(p),g=v.length,m=0;g>m;)d=v[m++],r&&!h.call(p,d)||(n[d]=p[d]);return n}:l},30:function(t,e,n){var r,i=n(9670),o=n(6048),a=n(748),s=n(3501),u=n(490),c=n(317),l=n(6200),f="prototype",h="script",d=l("IE_PROTO"),p=function(){},v=function(t){return"<"+h+">"+t+"</"+h+">"},g=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e,n;g=r?function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):(e=c("iframe"),n="java"+h+":",e.style.display="none",u.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F);for(var i=a.length;i--;)delete g[f][a[i]];return g()};s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p[f]=i(t),n=new p,p[f]=null,n[d]=t):n=g(),void 0===e?n:o(n,e)}},6048:function(t,e,n){var r=n(9781),i=n(3070),o=n(9670),a=n(1956);t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),s=r.length,u=0;s>u;)i.f(t,n=r[u++],e[n]);return t}},3070:function(t,e,n){var r=n(9781),i=n(4664),o=n(9670),a=n(7593),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),i=n(5296),o=n(9114),a=n(5656),s=n(7593),u=n(6656),c=n(4664),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e,!0),c)try{return l(t,e)}catch(t){}if(u(t,e))return o(!i.f.call(t,e),t[e])}},8006:function(t,e,n){var r=n(6324),i=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},9518:function(t,e,n){var r=n(6656),i=n(7908),o=n(6200),a=n(8544),s=o("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},6324:function(t,e,n){var r=n(6656),i=n(5656),o=n(1318).indexOf,a=n(3501);t.exports=function(t,e){var n,s=i(t),u=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~o(c,n)||c.push(n));return c}},1956:function(t,e,n){var r=n(6324),i=n(748);t.exports=Object.keys||function(t){return r(t,i)}},5296:function(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},7674:function(t,e,n){var r=n(9670),i=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},288:function(t,e,n){var r=n(1694),i=n(648);t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},3887:function(t,e,n){var r=n(5005),i=n(8006),o=n(5181),a=n(9670);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},857:function(t,e,n){var r=n(7854);t.exports=r},2248:function(t,e,n){var r=n(1320);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},1320:function(t,e,n){var r=n(7854),i=n(8880),o=n(6656),a=n(3505),s=n(2788),u=n(9909),c=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,s){var u,c=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),(u=l(n)).source||(u.source=f.join("string"==typeof e?e:""))),t!==r?(c?!d&&t[e]&&(h=!0):delete t[e],h?t[e]=n:i(t,e,n)):h?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},7651:function(t,e,n){var r=n(4326),i=n(2261);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},2261:function(t,e,n){var r,i,o=n(7066),a=n(2999),s=RegExp.prototype.exec,u=String.prototype.replace,c=s,l=(i=/b*/g,s.call(r=/a/,"a"),s.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(l||h||f)&&(c=function(t){var e,n,r,i,a=this,c=f&&a.sticky,d=o.call(a),p=a.source,v=0,g=t;return c&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),g=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(p="(?: "+p+")",g=" "+g,v++),n=new RegExp("^(?:"+p+")",d)),h&&(n=new RegExp("^"+p+"$(?!\\s)",d)),l&&(e=a.lastIndex),r=s.call(c?n:a,g),c?r?(r.input=r.input.slice(v),r[0]=r[0].slice(v),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),h&&r&&r.length>1&&u.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=c},7066:function(t,e,n){var r=n(9670);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},2999:function(t,e,n){var r=n(7293);function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},4488:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:function(t,e,n){var r=n(7854),i=n(8880);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},6340:function(t,e,n){var r=n(5005),i=n(3070),o=n(5112),a=n(9781),s=o("species");t.exports=function(t){var e=r(t);a&&e&&!e[s]&&(0,i.f)(e,s,{configurable:!0,get:function(){return this}})}},8003:function(t,e,n){var r=n(3070).f,i=n(6656),o=n(5112)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},6200:function(t,e,n){var r=n(2309),i=n(9711),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:function(t,e,n){var r=n(7854),i=n(3505),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},2309:function(t,e,n){var r=n(1913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(t,e,n){var r=n(9670),i=n(3099),o=n(5112)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},8710:function(t,e,n){var r=n(9958),i=n(4488),o=function(t){return function(e,n){var o,a,s=String(i(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},3197:function(t){var e=2147483647,n=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",o=Math.floor,a=String.fromCharCode,s=function(t){return t+22+75*(t<26)},u=function(t,e,n){var r=0;for(t=n?o(t/700):t>>1,t+=o(t/e);t>455;r+=36)t=o(t/35);return o(r+36*t/(t+38))},c=function(t){var n=[];t=function(t){for(var e=[],n=0,r=t.length;n<r;){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=t.charCodeAt(n++);56320==(64512&o)?e.push(((1023&i)<<10)+(1023&o)+65536):(e.push(i),n--)}else e.push(i)}return e}(t);var r,c,l=t.length,f=128,h=0,d=72;for(r=0;r<t.length;r++)(c=t[r])<128&&n.push(a(c));var p=n.length,v=p;for(p&&n.push("-");v<l;){var g=e;for(r=0;r<t.length;r++)(c=t[r])>=f&&c<g&&(g=c);var m=v+1;if(g-f>o((e-h)/m))throw RangeError(i);for(h+=(g-f)*m,f=g,r=0;r<t.length;r++){if((c=t[r])<f&&++h>e)throw RangeError(i);if(c==f){for(var y=h,z=36;;z+=36){var b=z<=d?1:z>=d+26?26:z-d;if(y<b)break;var w=y-b,_=36-b;n.push(a(s(b+w%_))),y=o(w/_)}n.push(a(s(y))),d=u(h,m,v==p),h=0,++v}}++h,++f}return n.join("")};t.exports=function(t){var e,i,o=[],a=t.toLowerCase().replace(r,".").split(".");for(e=0;e<a.length;e++)o.push(n.test(i=a[e])?"xn--"+c(i):i);return o.join(".")}},6091:function(t,e,n){var r=n(7293),i=n(1361);t.exports=function(t){return r((function(){return!!i[t]()||"
"!="
"[t]()||i[t].name!==t}))}},3111:function(t,e,n){var r=n(4488),i="["+n(1361)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},1400:function(t,e,n){var r=n(9958),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},7067:function(t,e,n){var r=n(9958),i=n(7466);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length or index");return n}},5656:function(t,e,n){var r=n(8361),i=n(4488);t.exports=function(t){return r(i(t))}},9958:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},7466:function(t,e,n){var r=n(9958),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488);t.exports=function(t){return Object(r(t))}},4590:function(t,e,n){var r=n(3002);t.exports=function(t,e){var n=r(t);if(n%e)throw RangeError("Wrong offset");return n}},3002:function(t,e,n){var r=n(9958);t.exports=function(t){var e=r(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},7593:function(t,e,n){var r=n(111);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},1694:function(t,e,n){var r={};r[n(5112)("toStringTag")]="z",t.exports="[object z]"===String(r)},9843:function(t,e,n){var r=n(2109),i=n(7854),o=n(9781),a=n(3832),s=n(260),u=n(3331),c=n(5787),l=n(9114),f=n(8880),h=n(7466),d=n(7067),p=n(4590),v=n(7593),g=n(6656),m=n(648),y=n(111),z=n(30),b=n(7674),w=n(8006).f,_=n(7321),x=n(2092).forEach,k=n(6340),A=n(3070),E=n(1236),S=n(9909),F=n(9587),T=S.get,C=S.set,R=A.f,M=E.f,U=Math.round,j=i.RangeError,I=u.ArrayBuffer,$=u.DataView,O=s.NATIVE_ARRAY_BUFFER_VIEWS,L=s.TYPED_ARRAY_TAG,P=s.TypedArray,B=s.TypedArrayPrototype,N=s.aTypedArrayConstructor,D=s.isTypedArray,Q="BYTES_PER_ELEMENT",W="Wrong length",q=function(t,e){for(var n=0,r=e.length,i=new(N(t))(r);r>n;)i[n]=e[n++];return i},H=function(t,e){R(t,e,{get:function(){return T(this)[e]}})},X=function(t){var e;return t instanceof I||"ArrayBuffer"==(e=m(t))||"SharedArrayBuffer"==e},Y=function(t,e){return D(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},V=function(t,e){return Y(t,e=v(e,!0))?l(2,t[e]):M(t,e)},G=function(t,e,n){return!(Y(t,e=v(e,!0))&&y(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?R(t,e,n):(t[e]=n.value,t)};o?(O||(E.f=V,A.f=G,H(B,"buffer"),H(B,"byteOffset"),H(B,"byteLength"),H(B,"length")),r({target:"Object",stat:!0,forced:!O},{getOwnPropertyDescriptor:V,defineProperty:G}),t.exports=function(t,e,n){var o=t.match(/\d+$/)[0]/8,s=t+(n?"Clamped":"")+"Array",u="get"+t,l="set"+t,v=i[s],g=v,m=g&&g.prototype,A={},E=function(t,e){R(t,e,{get:function(){return function(t,e){var n=T(t);return n.view[u](e*o+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var i=T(t);n&&(r=(r=U(r))<0?0:r>255?255:255&r),i.view[l](e*o+i.byteOffset,r,!0)}(this,e,t)},enumerable:!0})};O?a&&(g=e((function(t,e,n,r){return c(t,g,s),F(y(e)?X(e)?void 0!==r?new v(e,p(n,o),r):void 0!==n?new v(e,p(n,o)):new v(e):D(e)?q(g,e):_.call(g,e):new v(d(e)),t,g)})),b&&b(g,P),x(w(v),(function(t){t in g||f(g,t,v[t])})),g.prototype=m):(g=e((function(t,e,n,r){c(t,g,s);var i,a,u,l=0,f=0;if(y(e)){if(!X(e))return D(e)?q(g,e):_.call(g,e);i=e,f=p(n,o);var v=e.byteLength;if(void 0===r){if(v%o)throw j(W);if((a=v-f)<0)throw j(W)}else if((a=h(r)*o)+f>v)throw j(W);u=a/o}else u=d(e),i=new I(a=u*o);for(C(t,{buffer:i,byteOffset:f,byteLength:a,length:u,view:new $(i)});l<u;)E(t,l++)})),b&&b(g,P),m=g.prototype=z(B)),m.constructor!==g&&f(m,"constructor",g),L&&f(m,L,s),A[s]=g,r({global:!0,forced:g!=v,sham:!O},A),Q in g||f(g,Q,o),Q in m||f(m,Q,o),k(s)}):t.exports=function(){}},3832:function(t,e,n){var r=n(7854),i=n(7293),o=n(7072),a=n(260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;t.exports=!a||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!o((function(t){new u,new u(null),new u(1.5),new u(t)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},3074:function(t,e,n){var r=n(260).aTypedArrayConstructor,i=n(6707);t.exports=function(t,e){for(var n=i(t,t.constructor),o=0,a=e.length,s=new(r(n))(a);a>o;)s[o]=e[o++];return s}},7321:function(t,e,n){var r=n(7908),i=n(7466),o=n(1246),a=n(7659),s=n(9974),u=n(260).aTypedArrayConstructor;t.exports=function(t){var e,n,c,l,f,h,d=r(t),p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=o(d);if(null!=m&&!a(m))for(h=(f=m.call(d)).next,d=[];!(l=h.call(f)).done;)d.push(l.value);for(g&&p>2&&(v=s(v,arguments[2],2)),n=i(d.length),c=new(u(this))(n),e=0;n>e;e++)c[e]=g?v(d[e],e):d[e];return c}},9711:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},3307:function(t,e,n){var r=n(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,e,n){var r=n(7854),i=n(2309),o=n(6656),a=n(9711),s=n(133),u=n(3307),c=i("wks"),l=r.Symbol,f=u?l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(l,t)?l[t]:f("Symbol."+t)),c[t]}},1361:function(t){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},8264:function(t,e,n){var r=n(2109),i=n(7854),o=n(3331),a=n(6340),s="ArrayBuffer",u=o[s];r({global:!0,forced:i[s]!==u},{ArrayBuffer:u}),a(s)},2222:function(t,e,n){var r=n(2109),i=n(7293),o=n(3157),a=n(111),s=n(7908),u=n(7466),c=n(6135),l=n(5417),f=n(1194),h=n(5112),d=n(7392),p=h("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=d>=51||!i((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),y=f("concat"),z=function(t){if(!a(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,forced:!m||!y},{concat:function(t){var e,n,r,i,o,a=s(this),f=l(a,0),h=0;for(e=-1,r=arguments.length;e<r;e++)if(z(o=-1===e?a:arguments[e])){if(h+(i=u(o.length))>v)throw TypeError(g);for(n=0;n<i;n++,h++)n in o&&c(f,h,o[n])}else{if(h>=v)throw TypeError(g);c(f,h++,o)}return f.length=h,f}})},7327:function(t,e,n){var r=n(2109),i=n(2092).filter;r({target:"Array",proto:!0,forced:!n(1194)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},2772:function(t,e,n){var r=n(2109),i=n(1318).indexOf,o=n(9341),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,u=o("indexOf");r({target:"Array",proto:!0,forced:s||!u},{indexOf:function(t){return s?a.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},6992:function(t,e,n){var r=n(5656),i=n(1223),o=n(7497),a=n(9909),s=n(654),u="Array Iterator",c=a.set,l=a.getterFor(u);t.exports=s(Array,"Array",(function(t,e){c(this,{type:u,target:r(t),index:0,kind:e})}),(function(){var t=l(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},1249:function(t,e,n){var r=n(2109),i=n(2092).map;r({target:"Array",proto:!0,forced:!n(1194)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},7042:function(t,e,n){var r=n(2109),i=n(111),o=n(3157),a=n(1400),s=n(7466),u=n(5656),c=n(6135),l=n(5112),f=n(1194)("slice"),h=l("species"),d=[].slice,p=Math.max;r({target:"Array",proto:!0,forced:!f},{slice:function(t,e){var n,r,l,f=u(this),v=s(f.length),g=a(t,v),m=a(void 0===e?v:e,v);if(o(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[h])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(f,g,m);for(r=new(void 0===n?Array:n)(p(m-g,0)),l=0;g<m;g++,l++)g in f&&c(r,l,f[g]);return r.length=l,r}})},561:function(t,e,n){var r=n(2109),i=n(1400),o=n(9958),a=n(7466),s=n(7908),u=n(5417),c=n(6135),l=n(1194)("splice"),f=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!l},{splice:function(t,e){var n,r,l,d,p,v,g=s(this),m=a(g.length),y=i(t,m),z=arguments.length;if(0===z?n=r=0:1===z?(n=0,r=m-y):(n=z-2,r=h(f(o(e),0),m-y)),m+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=u(g,r),d=0;d<r;d++)(p=y+d)in g&&c(l,d,g[p]);if(l.length=r,n<r){for(d=y;d<m-r;d++)v=d+n,(p=d+r)in g?g[v]=g[p]:delete g[v];for(d=m;d>m-r+n;d--)delete g[d-1]}else if(n>r)for(d=m-r;d>y;d--)v=d+n-1,(p=d+r-1)in g?g[v]=g[p]:delete g[v];for(d=0;d<n;d++)g[d+y]=arguments[d+2];return g.length=m-r+n,l}})},8309:function(t,e,n){var r=n(9781),i=n(3070).f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,u="name";r&&!(u in o)&&i(o,u,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},489:function(t,e,n){var r=n(2109),i=n(7293),o=n(7908),a=n(9518),s=n(8544);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},1539:function(t,e,n){var r=n(1694),i=n(1320),o=n(288);r||i(Object.prototype,"toString",o,{unsafe:!0})},4916:function(t,e,n){var r=n(2109),i=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},9714:function(t,e,n){var r=n(1320),i=n(9670),o=n(7293),a=n(7066),s="toString",u=RegExp.prototype,c=u[s];(o((function(){return"/a/b"!=c.call({source:"a",flags:"b"})}))||c.name!=s)&&r(RegExp.prototype,s,(function(){var t=i(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in u)?a.call(t):n)}),{unsafe:!0})},8783:function(t,e,n){var r=n(8710).charAt,i=n(9909),o=n(654),a="String Iterator",s=i.set,u=i.getterFor(a);o(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=u(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},4723:function(t,e,n){var r=n(7007),i=n(9670),o=n(7466),a=n(4488),s=n(1530),u=n(7651);r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=i(t),c=String(this);if(!a.global)return u(a,c);var l=a.unicode;a.lastIndex=0;for(var f,h=[],d=0;null!==(f=u(a,c));){var p=String(f[0]);h[d]=p,""===p&&(a.lastIndex=s(c,o(a.lastIndex),l)),d++}return 0===d?null:h}]}))},5306:function(t,e,n){var r=n(7007),i=n(9670),o=n(7466),a=n(9958),s=n(4488),u=n(1530),c=n(647),l=n(7651),f=Math.max,h=Math.min;r("replace",2,(function(t,e,n,r){var d=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,p=r.REPLACE_KEEPS_$0,v=d?"$":"$0";return[function(n,r){var i=s(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!d&&p||"string"==typeof r&&-1===r.indexOf(v)){var s=n(e,t,this,r);if(s.done)return s.value}var g=i(t),m=String(this),y="function"==typeof r;y||(r=String(r));var z=g.global;if(z){var b=g.unicode;g.lastIndex=0}for(var w=[];;){var _=l(g,m);if(null===_)break;if(w.push(_),!z)break;""===String(_[0])&&(g.lastIndex=u(m,o(g.lastIndex),b))}for(var x,k="",A=0,E=0;E<w.length;E++){_=w[E];for(var S=String(_[0]),F=f(h(a(_.index),m.length),0),T=[],C=1;C<_.length;C++)T.push(void 0===(x=_[C])?x:String(x));var R=_.groups;if(y){var M=[S].concat(T,F,m);void 0!==R&&M.push(R);var U=String(r.apply(void 0,M))}else U=c(S,m,F,T,R,r);F>=A&&(k+=m.slice(A,F)+U,A=F+S.length)}return k+m.slice(A)}]}))},3123:function(t,e,n){var r=n(7007),i=n(7850),o=n(9670),a=n(4488),s=n(6707),u=n(1530),c=n(7466),l=n(7651),f=n(2261),h=n(7293),d=[].push,p=Math.min,v=4294967295,g=!h((function(){return!RegExp(v,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),o=void 0===n?v:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,o);for(var s,u,c,l=[],h=0,p=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(s=f.call(p,r))&&!((u=p.lastIndex)>h&&(l.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&d.apply(l,s.slice(1)),c=s[0].length,h=u,l.length>=o));)p.lastIndex===s.index&&p.lastIndex++;return h===r.length?!c&&p.test("")||l.push(""):l.push(r.slice(h)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=a(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var a=n(r,t,this,i,r!==e);if(a.done)return a.value;var f=o(t),h=String(this),d=s(f,RegExp),m=f.unicode,y=new d(g?f:"^(?:"+f.source+")",(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(g?"y":"g")),z=void 0===i?v:i>>>0;if(0===z)return[];if(0===h.length)return null===l(y,h)?[h]:[];for(var b=0,w=0,_=[];w<h.length;){y.lastIndex=g?w:0;var x,k=l(y,g?h:h.slice(w));if(null===k||(x=p(c(y.lastIndex+(g?0:w)),h.length))===b)w=u(h,w,m);else{if(_.push(h.slice(b,w)),_.length===z)return _;for(var A=1;A<=k.length-1;A++)if(_.push(k[A]),_.length===z)return _;w=b=x}}return _.push(h.slice(b)),_}]}),!g)},3210:function(t,e,n){var r=n(2109),i=n(3111).trim;r({target:"String",proto:!0,forced:n(6091)("trim")},{trim:function(){return i(this)}})},2990:function(t,e,n){var r=n(260),i=n(1048),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(t,e){return i.call(o(this),t,e,arguments.length>2?arguments[2]:void 0)}))},8927:function(t,e,n){var r=n(260),i=n(2092).every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},3105:function(t,e,n){var r=n(260),i=n(1285),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(t){return i.apply(o(this),arguments)}))},5035:function(t,e,n){var r=n(260),i=n(2092).filter,o=n(3074),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(t){var e=i(a(this),t,arguments.length>1?arguments[1]:void 0);return o(this,e)}))},7174:function(t,e,n){var r=n(260),i=n(2092).findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},4345:function(t,e,n){var r=n(260),i=n(2092).find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},2846:function(t,e,n){var r=n(260),i=n(2092).forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(t){i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},4731:function(t,e,n){var r=n(260),i=n(1318).includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},7209:function(t,e,n){var r=n(260),i=n(1318).indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},6319:function(t,e,n){var r=n(7854),i=n(260),o=n(6992),a=n(5112)("iterator"),s=r.Uint8Array,u=o.values,c=o.keys,l=o.entries,f=i.aTypedArray,h=i.exportTypedArrayMethod,d=s&&s.prototype[a],p=!!d&&("values"==d.name||null==d.name),v=function(){return u.call(f(this))};h("entries",(function(){return l.call(f(this))})),h("keys",(function(){return c.call(f(this))})),h("values",v,!p),h(a,v,!p)},8867:function(t,e,n){var r=n(260),i=r.aTypedArray,o=[].join;(0,r.exportTypedArrayMethod)("join",(function(t){return o.apply(i(this),arguments)}))},7789:function(t,e,n){var r=n(260),i=n(6583),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(t){return i.apply(o(this),arguments)}))},3739:function(t,e,n){var r=n(260),i=n(2092).map,o=n(6707),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(s(o(t,t.constructor)))(e)}))}))},4483:function(t,e,n){var r=n(260),i=n(3671).right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(t){return i(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},9368:function(t,e,n){var r=n(260),i=n(3671).left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(t){return i(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},2056:function(t,e,n){var r=n(260),i=r.aTypedArray,o=Math.floor;(0,r.exportTypedArrayMethod)("reverse",(function(){for(var t,e=this,n=i(e).length,r=o(n/2),a=0;a<r;)t=e[a],e[a++]=e[--n],e[n]=t;return e}))},3462:function(t,e,n){var r=n(260),i=n(7466),o=n(4590),a=n(7908),s=n(7293),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(t){u(this);var e=o(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(t),s=i(r.length),c=0;if(s+e>n)throw RangeError("Wrong length");for(;c<s;)this[e+c]=r[c++]}),s((function(){new Int8Array(1).set({})})))},678:function(t,e,n){var r=n(260),i=n(6707),o=n(7293),a=r.aTypedArray,s=r.aTypedArrayConstructor,u=[].slice;(0,r.exportTypedArrayMethod)("slice",(function(t,e){for(var n=u.call(a(this),t,e),r=i(this,this.constructor),o=0,c=n.length,l=new(s(r))(c);c>o;)l[o]=n[o++];return l}),o((function(){new Int8Array(1).slice()})))},7462:function(t,e,n){var r=n(260),i=n(2092).some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},3824:function(t,e,n){var r=n(260),i=r.aTypedArray,o=[].sort;(0,r.exportTypedArrayMethod)("sort",(function(t){return o.call(i(this),t)}))},5021:function(t,e,n){var r=n(260),i=n(7466),o=n(1400),a=n(6707),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(t,e){var n=s(this),r=n.length,u=o(t,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,i((void 0===e?r:o(e,r))-u))}))},2974:function(t,e,n){var r=n(7854),i=n(260),o=n(7293),a=r.Int8Array,s=i.aTypedArray,u=i.exportTypedArrayMethod,c=[].toLocaleString,l=[].slice,f=!!a&&o((function(){c.call(new a(1))}));u("toLocaleString",(function(){return c.apply(f?l.call(s(this)):s(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!o((function(){a.prototype.toLocaleString.call([1,2])})))},5016:function(t,e,n){var r=n(260).exportTypedArrayMethod,i=n(7293),o=n(7854).Uint8Array,a=o&&o.prototype||{},s=[].toString,u=[].join;i((function(){s.call({})}))&&(s=function(){return u.call(this)}),r("toString",s,a.toString!=s)},2472:function(t,e,n){n(9843)("Uint8",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},4747:function(t,e,n){var r=n(7854),i=n(8324),o=n(8533),a=n(8880);for(var s in i){var u=r[s],c=u&&u.prototype;if(c&&c.forEach!==o)try{a(c,"forEach",o)}catch(t){c.forEach=o}}},3948:function(t,e,n){var r=n(7854),i=n(8324),o=n(6992),a=n(8880),s=n(5112),u=s("iterator"),c=s("toStringTag"),l=o.values;for(var f in i){var h=r[f],d=h&&h.prototype;if(d){if(d[u]!==l)try{a(d,u,l)}catch(t){d[u]=l}if(d[c]||a(d,c,f),i[f])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(t){d[p]=o[p]}}}},1637:function(t,e,n){n(6992);var r=n(2109),i=n(5005),o=n(590),a=n(1320),s=n(2248),u=n(8003),c=n(4994),l=n(9909),f=n(5787),h=n(6656),d=n(9974),p=n(648),v=n(9670),g=n(111),m=n(30),y=n(9114),z=n(8554),b=n(1246),w=n(5112),_=i("fetch"),x=i("Headers"),k=w("iterator"),A="URLSearchParams",E=A+"Iterator",S=l.set,F=l.getterFor(A),T=l.getterFor(E),C=/\+/g,R=Array(4),M=function(t){return R[t-1]||(R[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},U=function(t){try{return decodeURIComponent(t)}catch(e){return t}},j=function(t){var e=t.replace(C," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(M(n--),U);return e}},I=/[!'()~]|%20/g,$={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},O=function(t){return $[t]},L=function(t){return encodeURIComponent(t).replace(I,O)},P=function(t,e){if(e)for(var n,r,i=e.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),t.push({key:j(r.shift()),value:j(r.join("="))}))},B=function(t){this.entries.length=0,P(this.entries,t)},N=function(t,e){if(t<e)throw TypeError("Not enough arguments")},D=c((function(t,e){S(this,{type:E,iterator:z(F(t).entries),kind:e})}),"Iterator",(function(){var t=T(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),Q=function(){f(this,Q,A);var t,e,n,r,i,o,a,s,u,c=arguments.length>0?arguments[0]:void 0,l=[];if(S(this,{type:A,entries:l,updateURL:function(){},updateSearchParams:B}),void 0!==c)if(g(c))if("function"==typeof(t=b(c)))for(n=(e=t.call(c)).next;!(r=n.call(e)).done;){if((a=(o=(i=z(v(r.value))).next).call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");l.push({key:a.value+"",value:s.value+""})}else for(u in c)h(c,u)&&l.push({key:u,value:c[u]+""});else P(l,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},W=Q.prototype;s(W,{append:function(t,e){N(arguments.length,2);var n=F(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){N(arguments.length,1);for(var e=F(this),n=e.entries,r=t+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;e.updateURL()},get:function(t){N(arguments.length,1);for(var e=F(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){N(arguments.length,1);for(var e=F(this).entries,n=t+"",r=[],i=0;i<e.length;i++)e[i].key===n&&r.push(e[i].value);return r},has:function(t){N(arguments.length,1);for(var e=F(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){N(arguments.length,1);for(var n,r=F(this),i=r.entries,o=!1,a=t+"",s=e+"",u=0;u<i.length;u++)(n=i[u]).key===a&&(o?i.splice(u--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL()},sort:function(){var t,e,n,r=F(this),i=r.entries,o=i.slice();for(i.length=0,n=0;n<o.length;n++){for(t=o[n],e=0;e<n;e++)if(i[e].key>t.key){i.splice(e,0,t);break}e===n&&i.push(t)}r.updateURL()},forEach:function(t){for(var e,n=F(this).entries,r=d(t,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((e=n[i++]).value,e.key,this)},keys:function(){return new D(this,"keys")},values:function(){return new D(this,"values")},entries:function(){return new D(this,"entries")}},{enumerable:!0}),a(W,k,W.entries),a(W,"toString",(function(){for(var t,e=F(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(L(t.key)+"="+L(t.value));return n.join("&")}),{enumerable:!0}),u(Q,A),r({global:!0,forced:!o},{URLSearchParams:Q}),o||"function"!=typeof _||"function"!=typeof x||r({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,r,i=[t];return arguments.length>1&&(g(e=arguments[1])&&p(n=e.body)===A&&((r=e.headers?new x(e.headers):new x).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=m(e,{body:y(0,String(n)),headers:y(0,r)})),i.push(e)),_.apply(this,i)}}),t.exports={URLSearchParams:Q,getState:F}},285:function(t,e,n){n(8783);var r,i=n(2109),o=n(9781),a=n(590),s=n(7854),u=n(6048),c=n(1320),l=n(5787),f=n(6656),h=n(1574),d=n(8457),p=n(8710).codeAt,v=n(3197),g=n(8003),m=n(1637),y=n(9909),z=s.URL,b=m.URLSearchParams,w=m.getState,_=y.set,x=y.getterFor("URL"),k=Math.floor,A=Math.pow,E="Invalid scheme",S="Invalid host",F="Invalid port",T=/[A-Za-z]/,C=/[\d+-.A-Za-z]/,R=/\d/,M=/^(0x|0X)/,U=/^[0-7]+$/,j=/^\d+$/,I=/^[\dA-Fa-f]+$/,$=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,O=/[\u0000\t\u000A\u000D #/:?@[\\]]/,L=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,P=/[\t\u000A\u000D]/g,B=function(t,e){var n,r,i;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return S;if(!(n=D(e.slice(1,-1))))return S;t.host=n}else if(G(t)){if(e=v(e),$.test(e))return S;if(null===(n=N(e)))return S;t.host=n}else{if(O.test(e))return S;for(n="",r=d(e),i=0;i<r.length;i++)n+=Y(r[i],W);t.host=n}},N=function(t){var e,n,r,i,o,a,s,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(e=u.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(i=u[r]))return t;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=M.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?j:8==o?U:I).test(i))return t;a=parseInt(i,o)}n.push(a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=A(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*A(256,3-r);return s},D=function(t){var e,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,h=function(){return t.charAt(f)};if(":"==h()){if(":"!=t.charAt(1))return;f+=2,l=++c}for(;h();){if(8==c)return;if(":"!=h()){for(e=n=0;n<4&&I.test(h());)e=16*e+parseInt(h(),16),f++,n++;if("."==h()){if(0==n)return;if(f-=n,c>6)return;for(r=0;h();){if(i=null,r>0){if(!("."==h()&&r<4))return;f++}if(!R.test(h()))return;for(;R.test(h());){if(o=parseInt(h(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}u[c]=256*u[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;u[c++]=e}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u},Q=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=k(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,i=0,o=0;o<8;o++)0!==t[o]?(i>n&&(e=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(e=r,n=i),e}(t),n=0;n<8;n++)i&&0===t[n]||(i&&(i=!1),r===n?(e+=n?":":"::",i=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},W={},q=h({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),H=h({},q,{"#":1,"?":1,"{":1,"}":1}),X=h({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(t,e){var n=p(t,0);return n>32&&n<127&&!f(e,t)?t:encodeURIComponent(t)},V={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(t){return f(V,t.scheme)},J=function(t){return""!=t.username||""!=t.password},Z=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},K=function(t,e){var n;return 2==t.length&&T.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},tt=function(t){var e;return t.length>1&&K(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},et=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&K(e[0],!0)||e.pop()},nt=function(t){return"."===t||"%2e"===t.toLowerCase()},rt={},it={},ot={},at={},st={},ut={},ct={},lt={},ft={},ht={},dt={},pt={},vt={},gt={},mt={},yt={},zt={},bt={},wt={},_t={},xt={},kt=function(t,e,n,i){var o,a,s,u,c,l=n||rt,h=0,p="",v=!1,g=!1,m=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(L,"")),e=e.replace(P,""),o=d(e);h<=o.length;){switch(a=o[h],l){case rt:if(!a||!T.test(a)){if(n)return E;l=ot;continue}p+=a.toLowerCase(),l=it;break;case it:if(a&&(C.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return E;p="",l=ot,h=0;continue}if(n&&(G(t)!=f(V,p)||"file"==p&&(J(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=p,n)return void(G(t)&&V[t.scheme]==t.port&&(t.port=null));p="","file"==t.scheme?l=gt:G(t)&&i&&i.scheme==t.scheme?l=at:G(t)?l=lt:"/"==o[h+1]?(l=st,h++):(t.cannotBeABaseURL=!0,t.path.push(""),l=wt)}break;case ot:if(!i||i.cannotBeABaseURL&&"#"!=a)return E;if(i.cannotBeABaseURL&&"#"==a){t.scheme=i.scheme,t.path=i.path.slice(),t.query=i.query,t.fragment="",t.cannotBeABaseURL=!0,l=xt;break}l="file"==i.scheme?gt:ut;continue;case at:if("/"!=a||"/"!=o[h+1]){l=ut;continue}l=ft,h++;break;case st:if("/"==a){l=ht;break}l=bt;continue;case ut:if(t.scheme=i.scheme,a==r)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query;else if("/"==a||"\\"==a&&G(t))l=ct;else if("?"==a)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query="",l=_t;else{if("#"!=a){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.path.pop(),l=bt;continue}t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query,t.fragment="",l=xt}break;case ct:if(!G(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,l=bt;continue}l=ht}else l=ft;break;case lt:if(l=ft,"/"!=a||"/"!=p.charAt(h+1))continue;h++;break;case ft:if("/"!=a&&"\\"!=a){l=ht;continue}break;case ht:if("@"==a){v&&(p="%40"+p),v=!0,s=d(p);for(var y=0;y<s.length;y++){var z=s[y];if(":"!=z||m){var b=Y(z,X);m?t.password+=b:t.username+=b}else m=!0}p=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(t)){if(v&&""==p)return"Invalid authority";h-=d(p).length+1,p="",l=dt}else p+=a;break;case dt:case pt:if(n&&"file"==t.scheme){l=yt;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(t)){if(G(t)&&""==p)return S;if(n&&""==p&&(J(t)||null!==t.port))return;if(u=B(t,p))return u;if(p="",l=zt,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),p+=a}else{if(""==p)return S;if(u=B(t,p))return u;if(p="",l=vt,n==pt)return}break;case vt:if(!R.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(t)||n){if(""!=p){var w=parseInt(p,10);if(w>65535)return F;t.port=G(t)&&w===V[t.scheme]?null:w,p=""}if(n)return;l=zt;continue}return F}p+=a;break;case gt:if(t.scheme="file","/"==a||"\\"==a)l=mt;else{if(!i||"file"!=i.scheme){l=bt;continue}if(a==r)t.host=i.host,t.path=i.path.slice(),t.query=i.query;else if("?"==a)t.host=i.host,t.path=i.path.slice(),t.query="",l=_t;else{if("#"!=a){tt(o.slice(h).join(""))||(t.host=i.host,t.path=i.path.slice(),et(t)),l=bt;continue}t.host=i.host,t.path=i.path.slice(),t.query=i.query,t.fragment="",l=xt}}break;case mt:if("/"==a||"\\"==a){l=yt;break}i&&"file"==i.scheme&&!tt(o.slice(h).join(""))&&(K(i.path[0],!0)?t.path.push(i.path[0]):t.host=i.host),l=bt;continue;case yt:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(p))l=bt;else if(""==p){if(t.host="",n)return;l=zt}else{if(u=B(t,p))return u;if("localhost"==t.host&&(t.host=""),n)return;p="",l=zt}continue}p+=a;break;case zt:if(G(t)){if(l=bt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=bt,"/"!=a))continue}else t.fragment="",l=xt;else t.query="",l=_t;break;case bt:if(a==r||"/"==a||"\\"==a&&G(t)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=p).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(et(t),"/"==a||"\\"==a&&G(t)||t.path.push("")):nt(p)?"/"==a||"\\"==a&&G(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&K(p)&&(t.host&&(t.host=""),p=p.charAt(0)+":"),t.path.push(p)),p="","file"==t.scheme&&(a==r||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",l=_t):"#"==a&&(t.fragment="",l=xt)}else p+=Y(a,H);break;case wt:"?"==a?(t.query="",l=_t):"#"==a?(t.fragment="",l=xt):a!=r&&(t.path[0]+=Y(a,W));break;case _t:n||"#"!=a?a!=r&&("'"==a&&G(t)?t.query+="%27":t.query+="#"==a?"%23":Y(a,W)):(t.fragment="",l=xt);break;case xt:a!=r&&(t.fragment+=Y(a,q))}h++}},At=function(t){var e,n,r=l(this,At,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(t),s=_(r,{type:"URL"});if(void 0!==i)if(i instanceof At)e=x(i);else if(n=kt(e={},String(i)))throw TypeError(n);if(n=kt(s,a,null,e))throw TypeError(n);var u=s.searchParams=new b,c=w(u);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(u)||null},o||(r.href=St.call(r),r.origin=Ft.call(r),r.protocol=Tt.call(r),r.username=Ct.call(r),r.password=Rt.call(r),r.host=Mt.call(r),r.hostname=Ut.call(r),r.port=jt.call(r),r.pathname=It.call(r),r.search=$t.call(r),r.searchParams=Ot.call(r),r.hash=Lt.call(r))},Et=At.prototype,St=function(){var t=x(this),e=t.scheme,n=t.username,r=t.password,i=t.host,o=t.port,a=t.path,s=t.query,u=t.fragment,c=e+":";return null!==i?(c+="//",J(t)&&(c+=n+(r?":"+r:"")+"@"),c+=Q(i),null!==o&&(c+=":"+o)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},Ft=function(){var t=x(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&G(t)?e+"://"+Q(t.host)+(null!==n?":"+n:""):"null"},Tt=function(){return x(this).scheme+":"},Ct=function(){return x(this).username},Rt=function(){return x(this).password},Mt=function(){var t=x(this),e=t.host,n=t.port;return null===e?"":null===n?Q(e):Q(e)+":"+n},Ut=function(){var t=x(this).host;return null===t?"":Q(t)},jt=function(){var t=x(this).port;return null===t?"":String(t)},It=function(){var t=x(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},$t=function(){var t=x(this).query;return t?"?"+t:""},Ot=function(){return x(this).searchParams},Lt=function(){var t=x(this).fragment;return t?"#"+t:""},Pt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(o&&u(Et,{href:Pt(St,(function(t){var e=x(this),n=String(t),r=kt(e,n);if(r)throw TypeError(r);w(e.searchParams).updateSearchParams(e.query)})),origin:Pt(Ft),protocol:Pt(Tt,(function(t){var e=x(this);kt(e,String(t)+":",rt)})),username:Pt(Ct,(function(t){var e=x(this),n=d(String(t));if(!Z(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=Y(n[r],X)}})),password:Pt(Rt,(function(t){var e=x(this),n=d(String(t));if(!Z(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=Y(n[r],X)}})),host:Pt(Mt,(function(t){var e=x(this);e.cannotBeABaseURL||kt(e,String(t),dt)})),hostname:Pt(Ut,(function(t){var e=x(this);e.cannotBeABaseURL||kt(e,String(t),pt)})),port:Pt(jt,(function(t){var e=x(this);Z(e)||(""==(t=String(t))?e.port=null:kt(e,t,vt))})),pathname:Pt(It,(function(t){var e=x(this);e.cannotBeABaseURL||(e.path=[],kt(e,t+"",zt))})),search:Pt($t,(function(t){var e=x(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",kt(e,t,_t)),w(e.searchParams).updateSearchParams(e.query)})),searchParams:Pt(Ot),hash:Pt(Lt,(function(t){var e=x(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",kt(e,t,xt)):e.fragment=null}))}),c(Et,"toJSON",(function(){return St.call(this)}),{enumerable:!0}),c(Et,"toString",(function(){return St.call(this)}),{enumerable:!0}),z){var Bt=z.createObjectURL,Nt=z.revokeObjectURL;Bt&&c(At,"createObjectURL",(function(t){return Bt.apply(z,arguments)})),Nt&&c(At,"revokeObjectURL",(function(t){return Nt.apply(z,arguments)}))}g(At,"URL"),i({global:!0,forced:!a,sham:!o},{URL:At})}},e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return function(){function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.r(r),n.d(r,{Dropzone:function(){return m},default:function(){return _}}),n(2222),n(7327),n(2772),n(6992),n(1249),n(7042),n(561),n(8264),n(8309),n(489),n(1539),n(4916),n(9714),n(8783),n(4723),n(5306),n(3123),n(3210),n(2472),n(2990),n(8927),n(3105),n(5035),n(4345),n(7174),n(2846),n(4731),n(7209),n(6319),n(8867),n(7789),n(3739),n(9368),n(4483),n(2056),n(3462),n(678),n(7462),n(3824),n(5021),n(2974),n(5016),n(4747),n(3948),n(285);var e=function(){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e)}return n=e,r=[{key:"on",value:function(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this}},{key:"emit",value:function(e){this._callbacks=this._callbacks||{};for(var n=this._callbacks[e],r=!0,i=!0,o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];if(n){var u,c=function(e){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e))||e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(n);try{for(c.s();!(u=c.n()).done;)!1===u.value.apply(this,a)&&(r=!1)}catch(t){c.e(t)}finally{c.f()}}return this.element&&(i=this.element.dispatchEvent(this.makeEvent("dropzone:"+e,{args:a}))),r&&i}},{key:"makeEvent",value:function(t,e){var n={bubbles:!0,cancelable:!0,detail:e};if("function"==typeof window.CustomEvent)return new CustomEvent(t,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),r}},{key:"off",value:function(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[t];if(!n)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(var r=0;r<n.length;r++)if(n[r]===e){n.splice(r,1);break}return this}}],r&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(n.prototype,r),e;var n,r}();function i(t){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t))||t&&"number"==typeof t.length){e&&(t=e);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==e.return||e.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var a={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",preventHiddenInputClear:!1,capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(t,e,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:function(t,e){return e()},chunksUploaded:function(t,e){e()},fallback:function(){var t;this.element.className="".concat(this.element.className," dz-browser-not-supported");var e,n=i(this.element.getElementsByTagName("div"));try{for(n.s();!(e=n.n()).done;){var r=e.value;if(/(^| )dz-message($| )/.test(r.className)){t=r,r.className="dz-message";break}}}catch(t){n.e(t)}finally{n.f()}t||(t=m.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(t));var o=t.getElementsByTagName("span")[0];return o&&(null!=o.textContent?o.textContent=this.options.dictFallbackMessage:null!=o.innerText&&(o.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t,e,n,r){var i={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},o=t.width/t.height;null==e&&null==n?(e=i.srcWidth,n=i.srcHeight):null==e?e=n*o:null==n&&(n=e/o);var a=(e=Math.min(e,i.srcWidth))/(n=Math.min(n,i.srcHeight));if(i.srcWidth>e||i.srcHeight>n)if("crop"===r)o>a?(i.srcHeight=t.height,i.srcWidth=i.srcHeight*a):(i.srcWidth=t.width,i.srcHeight=i.srcWidth/a);else{if("contain"!==r)throw new Error("Unknown resizeMethod '".concat(r,"'"));o>a?n=e/o:e=n*o}return i.srcX=(t.width-i.srcWidth)/2,i.srcY=(t.height-i.srcHeight)/2,i.trgWidth=e,i.trgHeight=n,i},transformFile:function(t,e){return(this.options.resizeWidth||this.options.resizeHeight)&&t.type.match(/image.*/)?this.resizeImage(t,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,e):e(t)},previewTemplate:'<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',drop:function(){return this.element.classList.remove("dz-drag-hover")},dragstart:function(){},dragend:function(){return this.element.classList.remove("dz-drag-hover")},dragenter:function(){return this.element.classList.add("dz-drag-hover")},dragover:function(){return this.element.classList.add("dz-drag-hover")},dragleave:function(){return this.element.classList.remove("dz-drag-hover")},paste:function(){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var e=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){t.previewElement=m.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);var n,r=i(t.previewElement.querySelectorAll("[data-dz-name]"));try{for(r.s();!(n=r.n()).done;){var o=n.value;o.textContent=t.name}}catch(t){r.e(t)}finally{r.f()}var a,s=i(t.previewElement.querySelectorAll("[data-dz-size]"));try{for(s.s();!(a=s.n()).done;)(o=a.value).innerHTML=this.filesize(t.size)}catch(t){s.e(t)}finally{s.f()}this.options.addRemoveLinks&&(t._removeLink=m.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),t.previewElement.appendChild(t._removeLink));var u,c=function(n){return n.preventDefault(),n.stopPropagation(),t.status===m.UPLOADING?m.confirm(e.options.dictCancelUploadConfirmation,(function(){return e.removeFile(t)})):e.options.dictRemoveFileConfirmation?m.confirm(e.options.dictRemoveFileConfirmation,(function(){return e.removeFile(t)})):e.removeFile(t)},l=i(t.previewElement.querySelectorAll("[data-dz-remove]"));try{for(l.s();!(u=l.n()).done;)u.value.addEventListener("click",c)}catch(t){l.e(t)}finally{l.f()}}},removefile:function(){},removedfile:function(t){return null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){if(t.previewElement){t.previewElement.classList.remove("dz-file-preview");var n,r=i(t.previewElement.querySelectorAll("[data-dz-thumbnail]"));try{for(r.s();!(n=r.n()).done;){var o=n.value;o.alt=t.name,o.src=e}}catch(t){r.e(t)}finally{r.f()}return setTimeout((function(){return t.previewElement.classList.add("dz-image-preview")}),1)}},error:function(t,e){if(t.previewElement){t.previewElement.classList.add("dz-error"),"string"!=typeof e&&e.error&&(e=e.error);var n,r=i(t.previewElement.querySelectorAll("[data-dz-errormessage]"));try{for(r.s();!(n=r.n()).done;)n.value.textContent=e}catch(t){r.e(t)}finally{r.f()}}},errormultiple:function(){},processing:function(t){if(t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink))return t._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(t,e){if(t.previewElement){var n,r=i(t.previewElement.querySelectorAll("[data-dz-uploadprogress]"));try{for(r.s();!(n=r.n()).done;){var o=n.value;"PROGRESS"===o.nodeName?o.value=e:o.style.width="".concat(e,"%")}}catch(t){r.e(t)}finally{r.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(t){if(t.previewElement)return t.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(t){return this.emit("error",t,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(t){if(t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}};function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function u(t){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}(t))||t&&"number"==typeof t.length){e&&(t=e);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==e.return||e.return()}finally{if(a)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}function d(t,e){return d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},d(t,e)}function p(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?v(t):e}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(o,t);var n,r,i=(n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=g(n);if(r){var i=g(this).constructor;t=Reflect.construct(e,arguments,i)}else t=e.apply(this,arguments);return p(this,t)});function o(t,e){var n,r,s;if(l(this,o),(n=i.call(this)).element=t,n.version=o.version,n.clickableElements=[],n.listeners=[],n.files=[],"string"==typeof n.element&&(n.element=document.querySelector(n.element)),!n.element||null==n.element.nodeType)throw new Error("Invalid dropzone element.");if(n.element.dropzone)throw new Error("Dropzone already attached.");o.instances.push(v(n)),n.element.dropzone=v(n);var u=null!=(s=o.optionsForElement(n.element))?s:{};if(n.options=o.extend({},a,u,null!=e?e:{}),n.options.previewTemplate=n.options.previewTemplate.replace(/\n*/g,""),n.options.forceFallback||!o.isBrowserSupported())return p(n,n.options.fallback.call(v(n)));if(null==n.options.url&&(n.options.url=n.element.getAttribute("action")),!n.options.url)throw new Error("No URL provided.");if(n.options.acceptedFiles&&n.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(n.options.uploadMultiple&&n.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return n.options.acceptedMimeTypes&&(n.options.acceptedFiles=n.options.acceptedMimeTypes,delete n.options.acceptedMimeTypes),null!=n.options.renameFilename&&(n.options.renameFile=function(t){return n.options.renameFilename.call(v(n),t.name,t)}),"string"==typeof n.options.method&&(n.options.method=n.options.method.toUpperCase()),(r=n.getExistingFallback())&&r.parentNode&&r.parentNode.removeChild(r),!1!==n.options.previewsContainer&&(n.previewsContainer=n.options.previewsContainer?o.getElement(n.options.previewsContainer,"previewsContainer"):n.element),n.options.clickable&&(n.clickableElements=!0===n.options.clickable?[n.element]:o.getElements(n.options.clickable,"clickable")),n.init(),n}return h(o,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(t){return t.accepted})).map((function(t){return t}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(t){return!t.accepted})).map((function(t){return t}))}},{key:"getFilesWithStatus",value:function(t){return this.files.filter((function(e){return e.status===t})).map((function(t){return t}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(o.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(o.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(o.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(t){return t.status===o.UPLOADING||t.status===o.QUEUED})).map((function(t){return t}))}},{key:"init",value:function(){var t=this;"form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(o.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length&&function e(){t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null===t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!==t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!==t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.setAttribute("tabindex","-1"),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",o.getElement(t.options.hiddenInputContainer,"hiddenInputContainer").appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",(function(){var n=t.hiddenFileInput.files;if(n.length){var r,i=u(n);try{for(i.s();!(r=i.n()).done;)t.addFile(r.value)}catch(t){i.e(t)}finally{i.f()}}t.emit("addedfiles",n),t.options.preventHiddenInputClear||e()}))}(),this.URL=null!==window.URL?window.URL:window.webkitURL;var e,n=u(this.events);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.on(r,this.options[r])}}catch(t){n.e(t)}finally{n.f()}this.on("uploadprogress",(function(){return t.updateTotalUploadProgress()})),this.on("removedfile",(function(){return t.updateTotalUploadProgress()})),this.on("canceled",(function(e){return t.emit("complete",e)})),this.on("complete",(function(){if(0===t.getAddedFiles().length&&0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length)return setTimeout((function(){return t.emit("queuecomplete")}),0)}));var i=function(t){if(function(t){if(t.dataTransfer.types)for(var e=0;e<t.dataTransfer.types.length;e++)if("Files"===t.dataTransfer.types[e])return!0;return!1}(t))return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return t.emit("dragstart",e),t},dragenter:function(e){return i(e),t.emit("dragenter",e),t},dragover:function(e){var n;try{n=e.dataTransfer.effectAllowed}catch(t){}return e.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",i(e),t.emit("dragover",e),t},dragleave:function(e){return t.emit("dragleave",e),t},drop:function(e){return i(e),t.drop(e),t},dragend:function(e){return t.emit("dragend",e),t}}}],this.clickableElements.forEach((function(e){return t.listeners.push({element:e,events:{click:function(n){return(e!==t.element||n.target===t.element||o.elementInside(n.target,t.element.querySelector(".dz-message")))&&t.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,o.instances.splice(o.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var t,e=0,n=0;if(this.getActiveFiles().length){var r,i=u(this.getActiveFiles());try{for(i.s();!(r=i.n()).done;){var o=r.value;e+=o.upload.bytesSent,n+=o.upload.total}}catch(t){i.e(t)}finally{i.f()}t=100*e/n}else t=100;return this.emit("totaluploadprogress",t,n,e),this}},{key:"_getParamName",value:function(t){return"function"==typeof this.options.paramName?this.options.paramName(t):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(t,"]"):"")}},{key:"_renameFile",value:function(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}},{key:"getFallbackForm",value:function(){var t,e;if(t=this.getExistingFallback())return t;var n='<div class="dz-fallback">';this.options.dictFallbackText&&(n+="<p>".concat(this.options.dictFallbackText,"</p>")),n+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var r=o.createElement(n);return"FORM"!==this.element.tagName?(e=o.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'))).appendChild(r):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=e?e:r}},{key:"getExistingFallback",value:function(){for(var t=function(t){var e,n=u(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(/(^| )fallback($| )/.test(r.className))return r}}catch(t){n.e(t)}finally{n.f()}},e=0,n=["div","form"];e<n.length;e++){var r;if(r=t(this.element.getElementsByTagName(n[e])))return r}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events)e.push(t.element.addEventListener(n,t.events[n],!1));return e}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events)e.push(t.element.removeEventListener(n,t.events[n],!1));return e}()}))}},{key:"disable",value:function(){var t=this;return this.clickableElements.forEach((function(t){return t.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(e){return t.cancelUpload(e)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(t){return t.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(t){var e=0,n="b";if(t>0){for(var r=["tb","gb","mb","kb","b"],i=0;i<r.length;i++){var o=r[i];if(t>=Math.pow(this.options.filesizeBase,4-i)/10){e=t/Math.pow(this.options.filesizeBase,4-i),n=o;break}}e=Math.round(10*e)/10}return"<strong>".concat(e,"</strong> ").concat(this.options.dictFileSizeUnits[n])}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(t){if(t.dataTransfer){this.emit("drop",t);for(var e=[],n=0;n<t.dataTransfer.files.length;n++)e[n]=t.dataTransfer.files[n];if(e.length){var r=t.dataTransfer.items;r&&r.length&&null!=r[0].webkitGetAsEntry?this._addFilesFromItems(r):this.handleFiles(e)}this.emit("addedfiles",e)}}},{key:"paste",value:function(t){if(null!=(null!=(e=null!=t?t.clipboardData:void 0)?function(t){return t.items}(e):void 0)){var e;this.emit("paste",t);var n=t.clipboardData.items;return n.length?this._addFilesFromItems(n):void 0}}},{key:"handleFiles",value:function(t){var e,n=u(t);try{for(n.s();!(e=n.n()).done;)this.addFile(e.value)}catch(t){n.e(t)}finally{n.f()}}},{key:"_addFilesFromItems",value:function(t){var e=this;return function(){var n,r=[],i=u(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value;null!=a.webkitGetAsEntry&&(o=a.webkitGetAsEntry())?r.push(o.isFile?e.addFile(a.getAsFile()):o.isDirectory?e._addFilesFromDirectory(o,o.name):void 0):r.push(null==a.getAsFile||null!=a.kind&&"file"!==a.kind?void 0:e.addFile(a.getAsFile()))}}catch(t){i.e(t)}finally{i.f()}return r}()}},{key:"_addFilesFromDirectory",value:function(t,e){var n=this,r=t.createReader(),i=function(t){return null!=(e=console)&&"function"==typeof e.log?function(e){return e.log(t)}(e):void 0;var e};return function t(){return r.readEntries((function(r){if(r.length>0){var i,o=u(r);try{for(o.s();!(i=o.n()).done;){var a=i.value;a.isFile?a.file((function(t){if(!n.options.ignoreHiddenFiles||"."!==t.name.substring(0,1))return t.fullPath="".concat(e,"/").concat(t.name),n.addFile(t)})):a.isDirectory&&n._addFilesFromDirectory(a,"".concat(e,"/").concat(a.name))}}catch(t){o.e(t)}finally{o.f()}t()}return null}),i)}()}},{key:"accept",value:function(t,e){this.options.maxFilesize&&t.size>1024*this.options.maxFilesize*1024?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):o.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var e=this;t.upload={uuid:o.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t)},this.files.push(t),t.status=o.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,(function(n){n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(t){var e,n=u(t);try{for(n.s();!(e=n.n()).done;)this.enqueueFile(e.value)}catch(t){n.e(t)}finally{n.f()}return null}},{key:"enqueueFile",value:function(t){var e=this;if(t.status!==o.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=o.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return e.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(t){var e=this;if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(t),setTimeout((function(){return e._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return t.emit("thumbnail",e,n),t._processingThumbnail=!1,t._processThumbnailQueue()}))}}},{key:"removeFile",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!e&&!this.emit("removefile",t))&&(t.status===o.UPLOADING&&this.cancelUpload(t),this.files=y(this.files,t),this.emit("removedfile",t,e),0===this.files.length&&this.emit("reset"),!0)}},{key:"removeAllFiles",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];null==t&&(t=!1);var n,r=u(this.files.slice());try{for(r.s();!(n=r.n()).done;){var i=n.value;(i.status!==o.UPLOADING||t)&&this.removeFile(i,e)}}catch(t){r.e(t)}finally{r.f()}return null}},{key:"resizeImage",value:function(t,e,n,r,i){var a=this;return this.createThumbnail(t,e,n,r,!0,(function(e,n){if(null==n)return i(t);var r=a.options.resizeMimeType;null==r&&(r=t.type);var s=n.toDataURL(r,a.options.resizeQuality);return"image/jpeg"!==r&&"image/jpg"!==r||(s=w.restore(t.dataURL,s)),i(o.dataURItoBlob(s))}))}},{key:"createThumbnail",value:function(t,e,n,r,i,o){var a=this,s=new FileReader;s.onload=function(){t.dataURL=s.result,"image/svg+xml"!==t.type?a.createThumbnailFromUrl(t,e,n,r,i,o):null!=o&&o(s.result)},s.readAsDataURL(t)}},{key:"displayExistingFile",value:function(t,e,n,r){var i=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];this.emit("addedfile",t),this.emit("complete",t),o?(t.dataURL=e,this.createThumbnailFromUrl(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,(function(e){i.emit("thumbnail",t,e),n&&n()}),r)):(this.emit("thumbnail",t,e),n&&n())}},{key:"createThumbnailFromUrl",value:function(t,e,n,r,i,o,a){var s=this,u=document.createElement("img");return a&&(u.crossOrigin=a),i="from-image"!=getComputedStyle(document.body).imageOrientation&&i,u.onload=function(){var a=function(t){return t(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&i&&(a=function(t){return EXIF.getData(u,(function(){return t(EXIF.getTag(this,"Orientation"))}))}),a((function(i){t.width=u.width,t.height=u.height;var a=s.options.resize.call(s,t,e,n,r),c=document.createElement("canvas"),l=c.getContext("2d");switch(c.width=a.trgWidth,c.height=a.trgHeight,i>4&&(c.width=a.trgHeight,c.height=a.trgWidth),i){case 2:l.translate(c.width,0),l.scale(-1,1);break;case 3:l.translate(c.width,c.height),l.rotate(Math.PI);break;case 4:l.translate(0,c.height),l.scale(1,-1);break;case 5:l.rotate(.5*Math.PI),l.scale(1,-1);break;case 6:l.rotate(.5*Math.PI),l.translate(0,-c.width);break;case 7:l.rotate(.5*Math.PI),l.translate(c.height,-c.width),l.scale(-1,1);break;case 8:l.rotate(-.5*Math.PI),l.translate(-c.height,0)}b(l,u,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var f=c.toDataURL("image/png");if(null!=o)return o(f,c)}))},null!=o&&(u.onerror=o),u.src=t.dataURL}},{key:"processQueue",value:function(){var t=this.options.parallelUploads,e=this.getUploadingFiles().length,n=e;if(!(e>=t)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-e));for(;n<t;){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:"processFile",value:function(t){return this.processFiles([t])}},{key:"processFiles",value:function(t){var e,n=u(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.processing=!0,r.status=o.UPLOADING,this.emit("processing",r)}}catch(t){n.e(t)}finally{n.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter((function(e){return e.xhr===t})).map((function(t){return t}))}},{key:"cancelUpload",value:function(t){if(t.status===o.UPLOADING){var e,n=this._getFilesWithXhr(t.xhr),r=u(n);try{for(r.s();!(e=r.n()).done;)e.value.status=o.CANCELED}catch(t){r.e(t)}finally{r.f()}void 0!==t.xhr&&t.xhr.abort();var i,a=u(n);try{for(a.s();!(i=a.n()).done;)this.emit("canceled",i.value)}catch(t){a.e(t)}finally{a.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",n)}else t.status!==o.ADDED&&t.status!==o.QUEUED||(t.status=o.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(t){if("function"==typeof t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(this,n)}return t}},{key:"uploadFile",value:function(t){return this.uploadFiles([t])}},{key:"uploadFiles",value:function(t){var e=this;this._transformFiles(t,(function(n){if(e.options.chunking){var r=n[0];t[0].upload.chunked=e.options.chunking&&(e.options.forceChunking||r.size>e.options.chunkSize),t[0].upload.totalChunkCount=Math.ceil(r.size/e.options.chunkSize)}if(t[0].upload.chunked){var i=t[0],a=n[0];i.upload.chunks=[];var s=function(){for(var n=0;void 0!==i.upload.chunks[n];)n++;if(!(n>=i.upload.totalChunkCount)){var r=n*e.options.chunkSize,s=Math.min(r+e.options.chunkSize,a.size),u={name:e._getParamName(0),data:a.webkitSlice?a.webkitSlice(r,s):a.slice(r,s),filename:i.upload.filename,chunkIndex:n};i.upload.chunks[n]={file:i,index:n,dataBlock:u,status:o.UPLOADING,progress:0,retries:0},e._uploadData(t,[u])}};if(i.upload.finishedChunkUpload=function(n,r){var a=!0;n.status=o.SUCCESS,n.dataBlock=null,n.xhr=null;for(var u=0;u<i.upload.totalChunkCount;u++){if(void 0===i.upload.chunks[u])return s();i.upload.chunks[u].status!==o.SUCCESS&&(a=!1)}a&&e.options.chunksUploaded(i,(function(){e._finished(t,r,null)}))},e.options.parallelChunkUploads)for(var u=0;u<i.upload.totalChunkCount;u++)s();else s()}else{for(var c=[],l=0;l<t.length;l++)c[l]={name:e._getParamName(l),data:n[l],filename:t[l].upload.filename};e._uploadData(t,c)}}))}},{key:"_getChunk",value:function(t,e){for(var n=0;n<t.upload.totalChunkCount;n++)if(void 0!==t.upload.chunks[n]&&t.upload.chunks[n].xhr===e)return t.upload.chunks[n]}},{key:"_uploadData",value:function(t,e){var n,r=this,i=new XMLHttpRequest,a=u(t);try{for(a.s();!(n=a.n()).done;)n.value.xhr=i}catch(t){a.e(t)}finally{a.f()}t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=i);var s=this.resolveOption(this.options.method,t),c=this.resolveOption(this.options.url,t);i.open(s,c,!0),this.resolveOption(this.options.timeout,t)&&(i.timeout=this.resolveOption(this.options.timeout,t)),i.withCredentials=!!this.options.withCredentials,i.onload=function(e){r._finishedUploading(t,i,e)},i.ontimeout=function(){r._handleUploadError(t,i,"Request timedout after ".concat(r.options.timeout/1e3," seconds"))},i.onerror=function(){r._handleUploadError(t,i)},(null!=i.upload?i.upload:i).onprogress=function(e){return r._updateFilesUploadProgress(t,i,e)};var l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};if(this.options.headers){var f=this.options.headers;"function"==typeof this.options.headers&&(f=this.options.headers(this)),o.extend(l,f)}for(var h in l){var d=l[h];d&&i.setRequestHeader(h,d)}var p=new FormData;if(this.options.params){var v=this.options.params;for(var g in"function"==typeof v&&(v=v.call(this,t,i,t[0].upload.chunked?this._getChunk(t[0],i):null)),v){var m=v[g];if(Array.isArray(m))for(var y=0;y<m.length;y++)p.append(g,m[y]);else p.append(g,m)}}var z,b=u(t);try{for(b.s();!(z=b.n()).done;)this.emit("sending",z.value,i,p)}catch(t){b.e(t)}finally{b.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",t,i,p),this._addFormElementData(p);for(var w=0;w<e.length;w++){var _=e[w];p.append(_.name,_.data,_.filename)}this.submitRequest(i,p,t)}},{key:"_transformFiles",value:function(t,e){for(var n=this,r=[],i=0,o=function(o){n.options.transformFile.call(n,t[o],(function(n){r[o]=n,++i===t.length&&e(r)}))},a=0;a<t.length;a++)o(a)}},{key:"_addFormElementData",value:function(t){if("FORM"===this.element.tagName){var e,n=u(this.element.querySelectorAll("input, textarea, select, button"));try{for(n.s();!(e=n.n()).done;){var r=e.value,i=r.getAttribute("name"),o=r.getAttribute("type");if(o&&(o=o.toLowerCase()),null!=i)if("SELECT"===r.tagName&&r.hasAttribute("multiple")){var a,s=u(r.options);try{for(s.s();!(a=s.n()).done;){var c=a.value;c.selected&&t.append(i,c.value)}}catch(t){s.e(t)}finally{s.f()}}else(!o||"checkbox"!==o&&"radio"!==o||r.checked)&&t.append(i,r.value)}}catch(t){n.e(t)}finally{n.f()}}}},{key:"_updateFilesUploadProgress",value:function(t,e,n){if(t[0].upload.chunked){var r=t[0],i=this._getChunk(r,e);n?(i.progress=100*n.loaded/n.total,i.total=n.total,i.bytesSent=n.loaded):(i.progress=100,i.bytesSent=i.total),r.upload.progress=0,r.upload.total=0,r.upload.bytesSent=0;for(var o=0;o<r.upload.totalChunkCount;o++)r.upload.chunks[o]&&void 0!==r.upload.chunks[o].progress&&(r.upload.progress+=r.upload.chunks[o].progress,r.upload.total+=r.upload.chunks[o].total,r.upload.bytesSent+=r.upload.chunks[o].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount,this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent)}else{var a,s=u(t);try{for(s.s();!(a=s.n()).done;){var c=a.value;c.upload.total&&c.upload.bytesSent&&c.upload.bytesSent==c.upload.total||(n?(c.upload.progress=100*n.loaded/n.total,c.upload.total=n.total,c.upload.bytesSent=n.loaded):(c.upload.progress=100,c.upload.bytesSent=c.upload.total),this.emit("uploadprogress",c,c.upload.progress,c.upload.bytesSent))}}catch(t){s.e(t)}finally{s.f()}}}},{key:"_finishedUploading",value:function(t,e,n){var r;if(t[0].status!==o.CANCELED&&4===e.readyState){if("arraybuffer"!==e.responseType&&"blob"!==e.responseType&&(r=e.responseText,e.getResponseHeader("content-type")&&~e.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(t){n=t,r="Invalid JSON response from server."}this._updateFilesUploadProgress(t,e),200<=e.status&&e.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],e),r):this._finished(t,r,n):this._handleUploadError(t,e,r)}}},{key:"_handleUploadError",value:function(t,e,n){if(t[0].status!==o.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){var r=this._getChunk(t[0],e);if(r.retries++<this.options.retryChunksLimit)return void this._uploadData(t,[r.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(t,n||this.options.dictResponseError.replace("{{statusCode}}",e.status),e)}}},{key:"submitRequest",value:function(t,e){1==t.readyState?t.send(e):console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.")}},{key:"_finished",value:function(t,e,n){var r,i=u(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;a.status=o.SUCCESS,this.emit("success",a,e,n),this.emit("complete",a)}}catch(t){i.e(t)}finally{i.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(t,e,n){var r,i=u(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;a.status=o.ERROR,this.emit("error",a,e,n),this.emit("complete",a)}}catch(t){i.e(t)}finally{i.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=e,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removefile","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];for(var s in a)t[s]=a[s]}return t}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}}]),o}(e);m.initClass(),m.version="dev",m.options={},m.optionsForElement=function(t){return t.getAttribute("id")?m.options[z(t.getAttribute("id"))]:void 0},m.instances=[],m.forElement=function(t){if("string"==typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},m.autoDiscover=!0,m.discover=function(){var t;if(document.querySelectorAll)t=document.querySelectorAll(".dropzone");else{t=[];var e=function(e){return function(){var n,r=[],i=u(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;/(^| )dropzone($| )/.test(o.className)?r.push(t.push(o)):r.push(void 0)}}catch(t){i.e(t)}finally{i.f()}return r}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){var e,n=[],r=u(t);try{for(r.s();!(e=r.n()).done;){var i=e.value;!1!==m.optionsForElement(i)?n.push(new m(i)):n.push(void 0)}}catch(t){r.e(t)}finally{r.f()}return n}()},m.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],m.isBrowserSupported=function(){var t=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a")){void 0!==m.blacklistedBrowsers&&(m.blockedBrowsers=m.blacklistedBrowsers);var e,n=u(m.blockedBrowsers);try{for(n.s();!(e=n.n()).done;)e.value.test(navigator.userAgent)&&(t=!1)}catch(t){n.e(t)}finally{n.f()}}else t=!1;else t=!1;return t},m.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(e.length),i=new Uint8Array(r),o=0,a=e.length,s=0<=a;s?o<=a:o>=a;s?o++:o--)i[o]=e.charCodeAt(o);return new Blob([r],{type:n})};var y=function(t,e){return t.filter((function(t){return t!==e})).map((function(t){return t}))},z=function(t){return t.replace(/[\-_](\w)/g,(function(t){return t.charAt(1).toUpperCase()}))};m.createElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes[0]},m.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},m.getElement=function(t,e){var n;if("string"==typeof t?n=document.querySelector(t):null!=t.nodeType&&(n=t),null==n)throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector or a plain HTML element."));return n},m.getElements=function(t,e){var n;if(t instanceof Array){n=[];try{var r,i=u(t);try{for(i.s();!(r=i.n()).done;)n.push(this.getElement(r.value,e))}catch(t){i.e(t)}finally{i.f()}}catch(t){n=null}}else if("string"==typeof t){n=[];var o,a=u(document.querySelectorAll(t));try{for(a.s();!(o=a.n()).done;)n.push(o.value)}catch(t){a.e(t)}finally{a.f()}}else null!=t.nodeType&&(n=[t]);if(null==n||!n.length)throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return n},m.confirm=function(t,e,n){return window.confirm(t)?e():null!=n?n():void 0},m.isValidFile=function(t,e){if(!e)return!0;e=e.split(",");var n,r=t.type,i=r.replace(/\/.*$/,""),o=u(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if("."===(a=a.trim()).charAt(0)){if(-1!==t.name.toLowerCase().indexOf(a.toLowerCase(),t.name.length-a.length))return!0}else if(/\/\*$/.test(a)){if(i===a.replace(/\/.*$/,""))return!0}else if(r===a)return!0}}catch(t){o.e(t)}finally{o.f()}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each((function(){return new m(this,t)}))}),m.ADDED="added",m.QUEUED="queued",m.ACCEPTED=m.QUEUED,m.UPLOADING="uploading",m.PROCESSING=m.UPLOADING,m.CANCELED="canceled",m.ERROR="error",m.SUCCESS="success";var b=function(t,e,n,r,i,o,a,s,u,c){var l=function(t){var e=t.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=e;var r=n.getContext("2d");r.drawImage(t,0,0);for(var i=r.getImageData(1,0,1,e).data,o=0,a=e,s=e;s>o;)0===i[4*(s-1)+3]?a=s:o=s,s=a+o>>1;var u=s/e;return 0===u?1:u}(e);return t.drawImage(e,n,r,i,o,a,s,u,c/l)},w=function(){function t(){l(this,t)}return h(t,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(t){for(var e="",n=void 0,r=void 0,i="",o=void 0,a=void 0,s=void 0,u="",c=0;o=(n=t[c++])>>2,a=(3&n)<<4|(r=t[c++])>>4,s=(15&r)<<2|(i=t[c++])>>6,u=63&i,isNaN(r)?s=u=64:isNaN(i)&&(u=64),e=e+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(u),n=r=i="",o=a=s=u="",c<t.length;);return e}},{key:"restore",value:function(t,e){if(!t.match("data:image/jpeg;base64,"))return e;var n=this.decode64(t.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),i=this.exifManipulation(e,r);return"data:image/jpeg;base64,".concat(this.encode64(i))}},{key:"exifManipulation",value:function(t,e){var n=this.getExifArray(e),r=this.insertExif(t,n);return new Uint8Array(r)}},{key:"getExifArray",value:function(t){for(var e=void 0,n=0;n<t.length;){if(255===(e=t[n])[0]&225===e[1])return e;n++}return[]}},{key:"insertExif",value:function(t,e){var n=t.replace("data:image/jpeg;base64,",""),r=this.decode64(n),i=r.indexOf(255,3),o=r.slice(0,i),a=r.slice(i),s=o;return(s=s.concat(e)).concat(a)}},{key:"slice2Segments",value:function(t){for(var e=0,n=[];!(255===t[e]&218===t[e+1]);){if(255===t[e]&216===t[e+1])e+=2;else{var r=e+(256*t[e+2]+t[e+3])+2,i=t.slice(e,r);n.push(i),e=r}if(e>t.length)break}return n}},{key:"decode64",value:function(t){var e=void 0,n="",r=void 0,i=void 0,o=void 0,a="",s=0,u=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");r=this.KEY_STR.indexOf(t.charAt(s++)),e=(15&(i=this.KEY_STR.indexOf(t.charAt(s++))))<<4|(o=this.KEY_STR.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(a=this.KEY_STR.indexOf(t.charAt(s++))),u.push(r<<2|i>>4),64!==o&&u.push(e),64!==a&&u.push(n),e=n="",r=i=o=a="",s<t.length;);return u}}]),t}();w.initClass(),m._autoDiscoverFunction=function(){if(m.autoDiscover)return m.discover()},function(t,e){var n=!1,r=!0,i=t.document,o=i.documentElement,a=i.addEventListener?"addEventListener":"attachEvent",s=i.addEventListener?"removeEventListener":"detachEvent",u=i.addEventListener?"":"on",c=function r(o){if("readystatechange"!==o.type||"complete"===i.readyState)return("load"===o.type?t:i)[s](u+o.type,r,!1),!n&&(n=!0)?e.call(t,o.type||o):void 0};if("complete"!==i.readyState){if(i.createEventObject&&o.doScroll){try{r=!t.frameElement}catch(t){}r&&function t(){try{o.doScroll("left")}catch(e){return void setTimeout(t,50)}return c("poll")}()}i[a](u+"DOMContentLoaded",c,!1),i[a](u+"readystatechange",c,!1),t[a](u+"load",c,!1)}}(window,m._autoDiscoverFunction),window.Dropzone=m;var _=m}(),r}()}));var h,d,p={};function v(){return d?h:(d=1,h=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then})}var g,m={},y={};function z(){if(g)return y;let t;g=1;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return y.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},y.getSymbolTotalCodewords=function(t){return e[t]},y.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},y.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');t=e},y.isKanjiModeEnabled=function(){return void 0!==t},y.toSJIS=function(e){return t(e)},y}var b,w,_,x,k,A={};function E(){return b||(b=1,function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(t){return n}}}(A)),A}var S,F,T,C,R={},M={},U={},j={};function I(){if(C)return j;C=1;const t=E(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return j.getBlocksCount=function(n,r){switch(r){case t.L:return e[4*(n-1)+0];case t.M:return e[4*(n-1)+1];case t.Q:return e[4*(n-1)+2];case t.H:return e[4*(n-1)+3];default:return}},j.getTotalCodewordsCount=function(e,r){switch(r){case t.L:return n[4*(e-1)+0];case t.M:return n[4*(e-1)+1];case t.Q:return n[4*(e-1)+2];case t.H:return n[4*(e-1)+3];default:return}},j}var $,O,L,P,B={},N={};var D,Q={},W={},q={};function H(){return D||(D=1,q.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),q}var X,Y,V,G={};function J(){if(X)return G;X=1;const t="[0-9]+";let e="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";e=e.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+e+")(?:.|[\r\n]))+";G.KANJI=new RegExp(e,"g"),G.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),G.BYTE=new RegExp(n,"g"),G.NUMERIC=new RegExp(t,"g"),G.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const r=new RegExp("^"+e+"$"),i=new RegExp("^"+t+"$"),o=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return G.testKanji=function(t){return r.test(t)},G.testNumeric=function(t){return i.test(t)},G.testAlphanumeric=function(t){return o.test(t)},G}function Z(){return Y||(Y=1,function(t){const e=H(),n=J();t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(t,n){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!e.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?t.ccBits[0]:n<27?t.ccBits[1]:t.ccBits[2]},t.getBestModeForData=function(e){return n.testNumeric(e)?t.NUMERIC:n.testAlphanumeric(e)?t.ALPHANUMERIC:n.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},t.isValid=function(t){return t&&t.bit&&t.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(t){return n}}}(W)),W}var K,tt,et,nt,rt,it,ot,at,st,ut,ct,lt,ft={},ht={},dt={exports:{}};function pt(){return ut||(ut=1,function(t){var e={single_source_shortest_paths:function(t,n,r){var i={},o={};o[n]=0;var a,s,u,c,l,f,h=e.PriorityQueue.make();for(h.push(n,0);!h.empty();)for(u in c=(a=h.pop()).cost,l=t[s=a.value]||{})l.hasOwnProperty(u)&&(f=c+l[u],(void 0===o[u]||o[u]>f)&&(o[u]=f,h.push(u,f),i[u]=s));if(void 0!==r&&void 0===o[r]){var d=["Could not find a path from ",n," to ",r,"."].join("");throw new Error(d)}return i},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),r=t[r];return n.reverse(),n},find_path:function(t,n,r){var i=e.single_source_shortest_paths(t,n,r);return e.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(t){var n,r=e.PriorityQueue,i={};for(n in t=t||{},r)r.hasOwnProperty(n)&&(i[n]=r[n]);return i.queue=[],i.sorter=t.sorter||r.default_sorter,i},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){this.queue.push({value:t,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=e}(dt)),dt.exports}function vt(){if(lt)return m;lt=1;const t=z(),e=E(),n=function(){if(_)return w;function t(){this.buffer=[],this.length=0}return _=1,t.prototype={get:function(t){const e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(let n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},w=t}(),r=function(){if(k)return x;function t(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return k=1,t.prototype.set=function(t,e,n,r){const i=t*this.size+e;this.data[i]=n,r&&(this.reservedBit[i]=!0)},t.prototype.get=function(t,e){return this.data[t*this.size+e]},t.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},t.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},x=t}(),i=(S||(S=1,function(t){const e=z().getSymbolSize;t.getRowColCoords=function(t){if(1===t)return[];const n=Math.floor(t/7)+2,r=e(t),i=145===r?26:2*Math.ceil((r-13)/(2*n-2)),o=[r-7];for(let t=1;t<n-1;t++)o[t]=o[t-1]-i;return o.push(6),o.reverse()},t.getPositions=function(e){const n=[],r=t.getRowColCoords(e),i=r.length;for(let t=0;t<i;t++)for(let e=0;e<i;e++)0===t&&0===e||0===t&&e===i-1||t===i-1&&0===e||n.push([r[t],r[e]]);return n}}(R)),R),o=function(){if(F)return M;F=1;const t=z().getSymbolSize;return M.getPositions=function(e){const n=t(e);return[[0,0],[n-7,0],[0,n-7]]},M}(),a=(T||(T=1,function(t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function e(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}t.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(t){const e=t.size;let n=0,r=0,i=0,o=null,a=null;for(let s=0;s<e;s++){r=i=0,o=a=null;for(let u=0;u<e;u++){let e=t.get(s,u);e===o?r++:(r>=5&&(n+=r-5+3),o=e,r=1),e=t.get(u,s),e===a?i++:(i>=5&&(n+=i-5+3),a=e,i=1)}r>=5&&(n+=r-5+3),i>=5&&(n+=i-5+3)}return n},t.getPenaltyN2=function(t){const e=t.size;let n=0;for(let r=0;r<e-1;r++)for(let i=0;i<e-1;i++){const e=t.get(r,i)+t.get(r,i+1)+t.get(r+1,i)+t.get(r+1,i+1);4!==e&&0!==e||n++}return 3*n},t.getPenaltyN3=function(t){const e=t.size;let n=0,r=0,i=0;for(let o=0;o<e;o++){r=i=0;for(let a=0;a<e;a++)r=r<<1&2047|t.get(o,a),a>=10&&(1488===r||93===r)&&n++,i=i<<1&2047|t.get(a,o),a>=10&&(1488===i||93===i)&&n++}return 40*n},t.getPenaltyN4=function(t){let e=0;const n=t.data.length;for(let r=0;r<n;r++)e+=t.data[r];return 10*Math.abs(Math.ceil(100*e/n/5)-10)},t.applyMask=function(t,n){const r=n.size;for(let i=0;i<r;i++)for(let o=0;o<r;o++)n.isReserved(o,i)||n.xor(o,i,e(t,o,i))},t.getBestMask=function(e,n){const r=Object.keys(t.Patterns).length;let i=0,o=1/0;for(let a=0;a<r;a++){n(a),t.applyMask(a,e);const r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(a,e),r<o&&(o=r,i=a)}return i}}(U)),U),s=I(),u=function(){if(P)return L;P=1;const t=(O||(O=1,function(t){const e=function(){if($)return N;$=1;const t=new Uint8Array(512),e=new Uint8Array(256);return function(){let n=1;for(let r=0;r<255;r++)t[r]=n,e[n]=r,n<<=1,256&n&&(n^=285);for(let e=255;e<512;e++)t[e]=t[e-255]}(),N.log=function(t){if(t<1)throw new Error("log("+t+")");return e[t]},N.exp=function(e){return t[e]},N.mul=function(n,r){return 0===n||0===r?0:t[e[n]+e[r]]},N}();t.mul=function(t,n){const r=new Uint8Array(t.length+n.length-1);for(let i=0;i<t.length;i++)for(let o=0;o<n.length;o++)r[i+o]^=e.mul(t[i],n[o]);return r},t.mod=function(t,n){let r=new Uint8Array(t);for(;r.length-n.length>=0;){const t=r[0];for(let i=0;i<n.length;i++)r[i]^=e.mul(n[i],t);let i=0;for(;i<r.length&&0===r[i];)i++;r=r.slice(i)}return r},t.generateECPolynomial=function(n){let r=new Uint8Array([1]);for(let i=0;i<n;i++)r=t.mul(r,new Uint8Array([1,e.exp(i)]));return r}}(B)),B);function e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(e){this.degree=e,this.genPoly=t.generateECPolynomial(this.degree)},e.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(e.length+this.degree);n.set(e);const r=t.mod(n,this.genPoly),i=this.degree-r.length;if(i>0){const t=new Uint8Array(this.degree);return t.set(r,i),t}return r},L=e}(),c=(V||(V=1,function(t){const e=z(),n=I(),r=E(),i=Z(),o=H(),a=e.getBCHDigit(7973);function s(t,e){return i.getCharCountIndicator(t,e)+4}function u(t,e){let n=0;return t.forEach((function(t){const r=s(t.mode,e);n+=r+t.getBitsLength()})),n}t.from=function(t,e){return o.isValid(t)?parseInt(t,10):e},t.getCapacity=function(t,r,a){if(!o.isValid(t))throw new Error("Invalid QR Code version");void 0===a&&(a=i.BYTE);const u=8*(e.getSymbolTotalCodewords(t)-n.getTotalCodewordsCount(t,r));if(a===i.MIXED)return u;const c=u-s(a,t);switch(a){case i.NUMERIC:return Math.floor(c/10*3);case i.ALPHANUMERIC:return Math.floor(c/11*2);case i.KANJI:return Math.floor(c/13);default:return Math.floor(c/8)}},t.getBestVersionForData=function(e,n){let o;const a=r.from(n,r.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(u(e,r)<=t.getCapacity(r,n,i.MIXED))return r}(e,a);if(0===e.length)return 1;o=e[0]}else o=e;return function(e,n,r){for(let i=1;i<=40;i++)if(n<=t.getCapacity(i,r,e))return i}(o.mode,o.getLength(),a)},t.getEncodedBits=function(t){if(!o.isValid(t)||t<7)throw new Error("Invalid QR Code version");let n=t<<12;for(;e.getBCHDigit(n)-a>=0;)n^=7973<<e.getBCHDigit(n)-a;return t<<12|n}}(Q)),Q),l=function(){if(K)return ft;K=1;const t=z(),e=t.getBCHDigit(1335);return ft.getEncodedBits=function(n,r){const i=n.bit<<3|r;let o=i<<10;for(;t.getBCHDigit(o)-e>=0;)o^=1335<<t.getBCHDigit(o)-e;return 21522^(i<<10|o)},ft}(),f=Z(),h=(ct||(ct=1,function(t){const e=Z(),n=function(){if(et)return tt;et=1;const t=Z();function e(e){this.mode=t.NUMERIC,this.data=e.toString()}return e.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){let e,n,r;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),r=parseInt(n,10),t.put(r,10);const i=this.data.length-e;i>0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*i+1))},tt=e}(),r=function(){if(rt)return nt;rt=1;const t=Z(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(e){this.mode=t.ALPHANUMERIC,this.data=e}return n.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let r=45*e.indexOf(this.data[n]);r+=e.indexOf(this.data[n+1]),t.put(r,11)}this.data.length%2&&t.put(e.indexOf(this.data[n]),6)},nt=n}(),i=function(){if(ot)return it;ot=1;const t=Z();function e(e){this.mode=t.BYTE,this.data="string"==typeof e?(new TextEncoder).encode(e):new Uint8Array(e)}return e.getBitsLength=function(t){return 8*t},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){for(let e=0,n=this.data.length;e<n;e++)t.put(this.data[e],8)},it=e}(),o=function(){if(st)return at;st=1;const t=Z(),e=z();function n(e){this.mode=t.KANJI,this.data=e}return n.getBitsLength=function(t){return 13*t},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(t){let n;for(n=0;n<this.data.length;n++){let r=e.toSJIS(this.data[n]);if(r>=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[n]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13)}},at=n}(),a=J(),s=z(),u=pt();function c(t){return unescape(encodeURIComponent(t)).length}function l(t,e,n){const r=[];let i;for(;null!==(i=t.exec(n));)r.push({data:i[0],index:i.index,mode:e,length:i[0].length});return r}function f(t){const n=l(a.NUMERIC,e.NUMERIC,t),r=l(a.ALPHANUMERIC,e.ALPHANUMERIC,t);let i,o;return s.isKanjiModeEnabled()?(i=l(a.BYTE,e.BYTE,t),o=l(a.KANJI,e.KANJI,t)):(i=l(a.BYTE_KANJI,e.BYTE,t),o=[]),n.concat(r,i,o).sort((function(t,e){return t.index-e.index})).map((function(t){return{data:t.data,mode:t.mode,length:t.length}}))}function h(t,a){switch(a){case e.NUMERIC:return n.getBitsLength(t);case e.ALPHANUMERIC:return r.getBitsLength(t);case e.KANJI:return o.getBitsLength(t);case e.BYTE:return i.getBitsLength(t)}}function d(t,a){let u;const c=e.getBestModeForData(t);if(u=e.from(a,c),u!==e.BYTE&&u.bit<c.bit)throw new Error('"'+t+'" cannot be encoded with mode '+e.toString(u)+".\n Suggested mode is: "+e.toString(c));switch(u!==e.KANJI||s.isKanjiModeEnabled()||(u=e.BYTE),u){case e.NUMERIC:return new n(t);case e.ALPHANUMERIC:return new r(t);case e.KANJI:return new o(t);case e.BYTE:return new i(t)}}t.fromArray=function(t){return t.reduce((function(t,e){return"string"==typeof e?t.push(d(e,null)):e.data&&t.push(d(e.data,e.mode)),t}),[])},t.fromString=function(n,r){const i=function(t,n){const r={},i={start:{}};let o=["start"];for(let a=0;a<t.length;a++){const s=t[a],u=[];for(let t=0;t<s.length;t++){const c=s[t],l=""+a+t;u.push(l),r[l]={node:c,lastCount:0},i[l]={};for(let t=0;t<o.length;t++){const a=o[t];r[a]&&r[a].node.mode===c.mode?(i[a][l]=h(r[a].lastCount+c.length,c.mode)-h(r[a].lastCount,c.mode),r[a].lastCount+=c.length):(r[a]&&(r[a].lastCount=c.length),i[a][l]=h(c.length,c.mode)+4+e.getCharCountIndicator(c.mode,n))}}o=u}for(let t=0;t<o.length;t++)i[o[t]].end=0;return{map:i,table:r}}(function(t){const n=[];for(let r=0;r<t.length;r++){const i=t[r];switch(i.mode){case e.NUMERIC:n.push([i,{data:i.data,mode:e.ALPHANUMERIC,length:i.length},{data:i.data,mode:e.BYTE,length:i.length}]);break;case e.ALPHANUMERIC:n.push([i,{data:i.data,mode:e.BYTE,length:i.length}]);break;case e.KANJI:n.push([i,{data:i.data,mode:e.BYTE,length:c(i.data)}]);break;case e.BYTE:n.push([{data:i.data,mode:e.BYTE,length:c(i.data)}])}}return n}(f(n,s.isKanjiModeEnabled())),r),o=u.find_path(i.map,"start","end"),a=[];for(let t=1;t<o.length-1;t++)a.push(i.table[o[t]].node);return t.fromArray(a.reduce((function(t,e){const n=t.length-1>=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[]))},t.rawSplit=function(e){return t.fromArray(f(e,s.isKanjiModeEnabled()))}}(ht)),ht);function d(t,e,n){const r=t.size,i=l.getEncodedBits(e,n);let o,a;for(o=0;o<15;o++)a=1==(i>>o&1),t.set(o<6?o:o<8?o+1:r-15+o,8,a,!0),t.set(8,o<8?r-o-1:o<9?15-o-1+1:15-o-1,a,!0);t.set(r-8,8,1,!0)}function p(e,l,p,v){let g;if(Array.isArray(e))g=h.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");{let t=l;if(!t){const n=h.rawSplit(e);t=c.getBestVersionForData(n,p)}g=h.fromString(e,t||40)}}const m=c.getBestVersionForData(g,p);if(!m)throw new Error("The amount of data is too big to be stored in a QR Code");if(l){if(l<m)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+m+".\n")}else l=m;const y=function(e,r,i){const o=new n;i.forEach((function(t){o.put(t.mode.bit,4),o.put(t.getLength(),f.getCharCountIndicator(t.mode,e)),t.write(o)}));const a=8*(t.getSymbolTotalCodewords(e)-s.getTotalCodewordsCount(e,r));for(o.getLengthInBits()+4<=a&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);const c=(a-o.getLengthInBits())/8;for(let t=0;t<c;t++)o.put(t%2?17:236,8);return function(e,n,r){const i=t.getSymbolTotalCodewords(n),o=i-s.getTotalCodewordsCount(n,r),a=s.getBlocksCount(n,r),c=a-i%a,l=Math.floor(i/a),f=Math.floor(o/a),h=f+1,d=l-f,p=new u(d);let v=0;const g=new Array(a),m=new Array(a);let y=0;const z=new Uint8Array(e.buffer);for(let t=0;t<a;t++){const e=t<c?f:h;g[t]=z.slice(v,v+e),m[t]=p.encode(g[t]),v+=e,y=Math.max(y,e)}const b=new Uint8Array(i);let w,_,x=0;for(w=0;w<y;w++)for(_=0;_<a;_++)w<g[_].length&&(b[x++]=g[_][w]);for(w=0;w<d;w++)for(_=0;_<a;_++)b[x++]=m[_][w];return b}(o,e,r)}(l,p,g),z=t.getSymbolSize(l),b=new r(z);return function(t,e){const n=t.size,r=o.getPositions(e);for(let e=0;e<r.length;e++){const i=r[e][0],o=r[e][1];for(let e=-1;e<=7;e++)if(!(i+e<=-1||n<=i+e))for(let r=-1;r<=7;r++)o+r<=-1||n<=o+r||t.set(i+e,o+r,e>=0&&e<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===e||6===e)||e>=2&&e<=4&&r>=2&&r<=4,!0)}}(b,l),function(t){const e=t.size;for(let n=8;n<e-8;n++){const e=n%2==0;t.set(n,6,e,!0),t.set(6,n,e,!0)}}(b),function(t,e){const n=i.getPositions(e);for(let e=0;e<n.length;e++){const r=n[e][0],i=n[e][1];for(let e=-2;e<=2;e++)for(let n=-2;n<=2;n++)t.set(r+e,i+n,-2===e||2===e||-2===n||2===n||0===e&&0===n,!0)}}(b,l),d(b,p,0),l>=7&&function(t,e){const n=t.size,r=c.getEncodedBits(e);let i,o,a;for(let e=0;e<18;e++)i=Math.floor(e/3),o=e%3+n-8-3,a=1==(r>>e&1),t.set(i,o,a,!0),t.set(o,i,a,!0)}(b,l),function(t,e){const n=t.size;let r=-1,i=n-1,o=7,a=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!t.isReserved(i,s-n)){let r=!1;a<e.length&&(r=1==(e[a]>>>o&1)),t.set(i,s-n,r),o--,-1===o&&(a++,o=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}(b,y),isNaN(v)&&(v=a.getBestMask(b,d.bind(null,b,p))),a.applyMask(v,b),d(b,p,v),{modules:b,version:l,errorCorrectionLevel:p,maskPattern:v,segments:g}}return m.create=function(n,r){if(void 0===n||""===n)throw new Error("No input text");let i,o,s=e.M;return void 0!==r&&(s=e.from(r.errorCorrectionLevel,e.M),i=c.from(r.version),o=a.from(r.maskPattern),r.toSJISFunc&&t.setToSJISFunction(r.toSJISFunc)),p(n,i,s,o)},m}var gt,mt,yt={},zt={};function bt(){return gt||(gt=1,function(t){function e(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map((function(t){return[t,t]})))),6===e.length&&e.push("F","F");const n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}t.getOptions=function(t){t||(t={}),t.color||(t.color={});const n=t.width&&t.width>=21?t.width:void 0;return{width:n,scale:n?4:t.scale||4,margin:null==t.margin||t.margin<0?4:t.margin,color:{dark:e(t.color.dark||"#000000ff"),light:e(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},t.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},t.getImageWidth=function(e,n){const r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){const i=n.modules.size,o=n.modules.data,a=t.getScale(i,r),s=Math.floor((i+2*r.margin)*a),u=r.margin*a,c=[r.color.light,r.color.dark];for(let t=0;t<s;t++)for(let n=0;n<s;n++){let l=4*(t*s+n),f=r.color.light;t>=u&&n>=u&&t<s-u&&n<s-u&&(f=c[o[Math.floor((t-u)/a)*i+Math.floor((n-u)/a)]?1:0]),e[l++]=f.r,e[l++]=f.g,e[l++]=f.b,e[l]=f.a}}}(zt)),zt}var wt,_t,xt={};var kt=function(){if(_t)return p;_t=1;const t=v(),e=vt(),n=(mt||(mt=1,function(t){const e=bt();t.render=function(t,n,r){let i=r,o=n;void 0!==i||n&&n.getContext||(i=n,n=void 0),n||(o=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),i=e.getOptions(i);const a=e.getImageWidth(t.modules.size,i),s=o.getContext("2d"),u=s.createImageData(a,a);return e.qrToImageData(u.data,t,i),function(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}(s,o,a),s.putImageData(u,0,0),o},t.renderToDataURL=function(e,n,r){let i=r;return void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={}),t.render(e,n,i).toDataURL(i.type||"image/png",(i.rendererOpts||{}).quality)}}(yt)),yt),r=function(){if(wt)return xt;wt=1;const t=bt();function e(t,e){const n=t.a/255,r=e+'="'+t.hex+'"';return n<1?r+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function n(t,e,n){let r=t+e;return void 0!==n&&(r+=" "+n),r}return xt.render=function(r,i,o){const a=t.getOptions(i),s=r.modules.size,u=r.modules.data,c=s+2*a.margin,l=a.color.light.a?"<path "+e(a.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",f="<path "+e(a.color.dark,"stroke")+' d="'+function(t,e,r){let i="",o=0,a=!1,s=0;for(let u=0;u<t.length;u++){const c=Math.floor(u%e),l=Math.floor(u/e);c||a||(a=!0),t[u]?(s++,u>0&&c>0&&t[u-1]||(i+=a?n("M",c+r,.5+l+r):n("m",o,0),o=0,a=!1),c+1<e&&t[u+1]||(i+=n("h",s),s=0)):o++}return i}(u,s,a.margin)+'"/>',h='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+'viewBox="0 0 '+c+" "+c+'" shape-rendering="crispEdges">'+l+f+"</svg>\n";return"function"==typeof o&&o(null,h),h},xt}();function i(n,r,i,o,a){const s=[].slice.call(arguments,1),u=s.length,c="function"==typeof s[u-1];if(!c&&!t())throw new Error("Callback required as last argument");if(!c){if(u<1)throw new Error("Too few arguments provided");return 1===u?(i=r,r=o=void 0):2!==u||r.getContext||(o=i,i=r,r=void 0),new Promise((function(t,a){try{const a=e.create(i,o);t(n(a,r,o))}catch(t){a(t)}}))}if(u<2)throw new Error("Too few arguments provided");2===u?(a=i,i=r,r=o=void 0):3===u&&(r.getContext&&void 0===a?(a=o,o=void 0):(a=o,o=i,i=r,r=void 0));try{const t=e.create(i,o);a(null,n(t,r,o))}catch(t){a(t)}}return p.create=e.create,p.toCanvas=i.bind(null,n.render),p.toDataURL=i.bind(null,n.renderToDataURL),p.toString=i.bind(null,(function(t,e,n){return r.render(t,n)})),p}(),At=f(kt);window.Dropzone.autoDiscover=!1;const Et="data-dz-name",St="data-dz-size",Ft="data-dz-link",Tt="data-dz-extension",Ct="data-dz-meta-id",Rt="data-dz-error-message-id",Mt="data-dz-progress-text",Ut="data-dz-remove";let jt=0,It=0;const $t=class{constructor(n){t(this,n),this.stzhFileAdded=e(this,"stzhFileAdded"),this.stzhFilesAdded=e(this,"stzhFilesAdded"),this.stzhFileRemove=e(this,"stzhFileRemove"),this.stzhFileRemoved=e(this,"stzhFileRemoved"),this.stzhSending=e(this,"stzhSending"),this.stzhSendingMultiple=e(this,"stzhSendingMultiple"),this.stzhProcessing=e(this,"stzhProcessing"),this.stzhProcessingMultiple=e(this,"stzhProcessingMultiple"),this.stzhProgress=e(this,"stzhProgress"),this.stzhProgressTotal=e(this,"stzhProgressTotal"),this.stzhError=e(this,"stzhError"),this.stzhErrorMultiple=e(this,"stzhErrorMultiple"),this.stzhSuccess=e(this,"stzhSuccess"),this.stzhSuccessMultiple=e(this,"stzhSuccessMultiple"),this.stzhCanceled=e(this,"stzhCanceled"),this.stzhCanceledMultiple=e(this,"stzhCanceledMultiple"),this.stzhComplete=e(this,"stzhComplete"),this.stzhCompleteMultiple=e(this,"stzhCompleteMultiple"),this.existingFiles=[],this._existingFiles=[],this.name="",this.label="",this.noLabelTruncate=!1,this.labelHidden=!1,this.description="",this.button="",this.buttonScan="",this.photographingEnabled=!1,this.disableToasts=!1,this.method="post",this.withCredentials=!1,this.disabled=!1,this.invalid=!1,this.hideOptional=!1,this.required=!1,this.downloadDisabled=!1,this.downloadDisabledWhileProcessing=!1,this.acceptedFiles=".jpg,.jpeg,.png,.pdf",this.autoProcessQueue=!0,this.hideProgress=!1,this.hideProgressWhileIdle=!1,this.maxFiles=null,this.maxFilesize=25,this.maxFilesizeTotal=100,this.parallelUploads=2,this.uploadMultiple=!1,this.chunking=!1,this.forceChunking=!1,this.chunkSize=2097152,this.parallelChunkUploads=!1,this.retryChunks=!1,this.retryChunksLimit=3,this.filesizeBase=1024,this.headers=null,this.headersAsync=null,this.defaultHeaders=!0,this.preventDuplicateFileNames=!1,this.accept=function(t,e){return e()},this.chunksUploaded=function(t,e){e()},this.preventHiddenInputClear=!1,this.totalFileSize=0,this.duplicateDetected=!1,this.totalTooBig=!1,this.totalTooBigMessageHeading="",this.totalTooBigMessageBody="",this.totalTooBigMessageBody2="",this.totalFilesState=[],this.duplicateFileName="",this.duplicateFileSize="",this.hasDefaultSlot=!1,this.hasResolvedDefaultSlot=!1,this.PHOTOGRAPHING_BASE_URL="/appl/mobiscan/rs",this.PHOTOGRAPHING_ENDPOINTS={PING:"/ping",URL:"/url",IMAGE:"/image",CONFIG:"/config",AUTH:"/auth"},this.isPhotographingAvailable=!1,this.hiddenInputFiles=[],this.handleReset=()=>{this.removeAllFiles(!0)},this.closePhotographingWebsocketConnection=()=>{var t;null===(t=this.photographingWebsocket)||void 0===t||t.close()},this.onButtonScanClick=t=>{t.preventDefault(),t.stopPropagation(),this.photographingOverlayElement.show().then(),this.isPhotographingAvailable&&this.startPhotographingUserSession().then().catch((t=>{console.error("photographingUserSessionException",t)}))},this.closePhotographingOverlay=async()=>{this.photographingOverlayElement.hide().catch()},this.filesize=function(t){let e=0,n="b";if(t>0){let r=["tb","gb","mb","kb","b"];for(let i=0;i<r.length;i++){let o=r[i];if(t>=Math.pow(this.options.filesizeBase,4-i)/10){e=t/Math.pow(this.options.filesizeBase,4-i),n=o;break}}e=Math.round(100*e)/100}return`<strong>${e}</strong> ${this.options.dictFileSizeUnits[n]}`},this.filePreviewId=function(t){return`${this.uploadId}-${t._id}`},this.updateDefaultSlotState=()=>{const t=a(this.uploadEl,["stzh-upload"]);this.hasDefaultSlot!==t&&(this.hasDefaultSlot=t),this.hasResolvedDefaultSlot||(this.hasResolvedDefaultSlot=!0)}}resetListener(t){t.target.contains(this.uploadEl)&&requestAnimationFrame((()=>{this.handleReset()}))}nameWatcher(t){var e;const n=null===(e=this.hiddenInputContainerElement)||void 0===e?void 0:e.querySelector("input"),r="string"==typeof t?t.trim():"";n&&(r?n.setAttribute("name",r):n.removeAttribute("name")),this.dropzone&&(this.dropzone.options.paramName=r||"file")}maxFilesWatcher(t){this.dropzone.options.maxFiles=t}maxFilesizeWatcher(t){this.dropzone.options.maxFilesize=null!=t?t:void 0}acceptedFilesWatcher(t){this.dropzone.options.acceptedFiles=null==t||""===t?".jpg,.jpeg,.png,.pdf":t}existingFilesWatcher(t){this._existingFiles="string"==typeof t?JSON.parse(t):t}disabledWatcher(){this.dropzone&&(this.disabled?this.dropzone.disable():this.dropzone.enable())}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(e){this._error=t?[t]:[]}else this._error=t||[]}async setFocus(t){var e;null===(e=document.querySelector("stzh-flyingfocus"))||void 0===e||e.activate(),this.uploadEl.focus(t),this.chooseFileButtonEl&&!1!==(null==t?void 0:t.deep)&&this.chooseFileButtonEl.focus(t)}async processQueue(){return this.dropzone.processQueue()}async removeFile(t,e=!1){return this.dropzone.removeFile(t,e)}async removeAllFiles(t=!1,e=!1){return this.dropzone.removeAllFiles(t,e)}get a11yDescribedby(){var t,e;const n=s(this.uploadEl,"error")||(null!==(e=null===(t=this._error)||void 0===t?void 0:t.length)&&void 0!==e?e:0)>0;return[`${this.uploadId}-label`,this.description?`${this.uploadId}-upload-description`:null,`${this.uploadId}-instruction`,n?`${this.uploadId}-description`:null].filter(Boolean).join(" ")}getDropzoneUrl(t=[],e){return"function"==typeof this.url?this.url(t,e):"string"==typeof this.url&&this.url.trim().length>0?this.url:this.autoProcessQueue?(console.error('[stzh-upload] When autoProcessQueue is true, "url" must be provided (string or function). Either set url or set autoProcessQueue="false".'),"/"):"/"}cleanLabel(t){""!==t&&void 0!==t||(t=this.localization.photographingLabelDefault);let e=t.replaceAll("/","-");return encodeURIComponent(e.replaceAll("%",""))}async getToken(){return this.photographingToken&&this.photographingToken.access_token&&Date.now()<this.photographingToken.expires_in?this.photographingToken:await this.requestPhotographingToken()}async requestPhotographingToken(){try{const t=await fetch(`${this.photographingHost}${this.PHOTOGRAPHING_BASE_URL}${this.PHOTOGRAPHING_ENDPOINTS.AUTH}`);if(!t.ok)throw new Error("Token retrieval failed");const e=await t.json();return this.photographingToken={access_token:e.access_token,expires_in:Date.now()+1e3*e.expires_in},this.photographingToken}catch(t){throw console.error("Token retrieval failed",t),new Error("Token retrieval failed")}}async initializePhotographingWithEnvironment(t){this.photographingHost=this.getPhotographingHostForEnvironment(t),await this.setPhotographingConfig(),this.photographingConfig&&!0===this.photographingEnabled&&await this.checkPhotographingAvailability()}async startPhotographingUserSession(){try{const t=await fetch(`${this.photographingConfig.publicEndpoint}${this.PHOTOGRAPHING_ENDPOINTS.URL}`,await this.getPhotographingHttpOptionsWithToken());if(t.ok){const e=await t.json(),n=new URL(e.url),r=new URLSearchParams(n.search);this.photographingUrlDetails={url:e.url,userId:r.get("id"),label:this.cleanLabel(this.label)};try{await At.toCanvas(this.photographingQrcodeElement,e.url+"&label="+this.cleanLabel(this.label))}catch(t){console.error("Error generating QR code:",t)}await this.establishPhotographingWebsocketConnection()}}catch(t){console.error("StzhUpload.startPhotographingUserSession() - startPhotographingUserSessionException:",t)}}async retrievePhotographingPdf(){try{const t=await fetch(`${this.photographingConfig.publicEndpoint}${this.PHOTOGRAPHING_ENDPOINTS.IMAGE}/retrieve-pdf?id=${this.photographingUrlDetails.userId}&label=${this.cleanLabel(this.label)}`,await this.getPhotographingHttpOptionsWithToken());if(t.ok){const e=await t.json(),n=await this.fetchFile(e.downloadLink);this.dropzone.addFile(n),await this.closePhotographingOverlay()}else console.error(`StzhUpload.retrievePhotographingPdf() - HTTP error! status: ${t.status}`)}catch(t){console.error("StzhUpload.retrievePhotographingPdf() - retrievePhotographingPdfException:",t)}}async fetchFile(t){const e=await fetch(t),n=await e.blob(),r=t.split("/").pop(),i=decodeURIComponent(r.split("?")[0]);return"application/octet-stream"===n.type?new File([n],i,{type:"application/pdf"}):new File([n],i,{type:n.type})}async establishPhotographingWebsocketConnection(){this.photographingWebsocket=new WebSocket(`${this.photographingConfig.wsClientUrl}${this.photographingUrlDetails.userId}`,["chat",(await this.getToken()).access_token]),this.photographingWebsocket.onopen=()=>{setInterval((()=>{this.sendPhotographingWebsocketMessage("Ping")}),2e4)},this.photographingWebsocket.onmessage=async t=>{"retrievePdf"===t.data&&await this.retrievePhotographingPdf()},this.photographingWebsocket.onerror=t=>{console.error("WebSocket error: ",t)}}sendPhotographingWebsocketMessage(t){this.photographingWebsocket.send(t)}async getPhotographingHttpOptionsWithToken(){return{headers:{Authorization:`Bearer ${(await this.getToken()).access_token}`}}}async checkPhotographingAvailability(){try{const t=await fetch(`${this.photographingConfig.publicEndpoint}${this.PHOTOGRAPHING_ENDPOINTS.PING}`,await this.getPhotographingHttpOptionsWithToken());t.ok?this.isPhotographingAvailable=!0:(console.error(`StzhUpload.isAvailable() - HTTP error! status: ${t.status}`),this.isPhotographingAvailable=!1)}catch(t){console.error("StzhUpload.isAvailable() - isAvailableException:",t),this.isPhotographingAvailable=!1}}async setPhotographingConfig(){try{const t=await fetch(`${this.photographingHost}${this.PHOTOGRAPHING_BASE_URL}${this.PHOTOGRAPHING_ENDPOINTS.CONFIG}`);t.ok?this.photographingConfig=await t.json():console.error(`StzhUpload.setPhotographingConfig() - HTTP error! status: ${t.status}`)}catch(t){console.error("StzhUpload.setPhotographingConfig() - getConfigException:",t)}}getPhotographingHostForEnvironment(t){switch(t){case"DEV":return"https://www.test.stadt-zuerich.loc";case"UAT":return"https://www.integ.stadt-zuerich.ch";case"PROD":return"https://www.stadt-zuerich.ch";case"UNKNOWN":return this.PHOTOGRAPHING_BASE_URL=`/stzh-components/assets/mock${this.PHOTOGRAPHING_BASE_URL}`,`${window.location.origin}`}}removeFileFromState(t){var e;if(this.totalFilesState=this.totalFilesState.filter((e=>e._id!==t._id)),this.preventHiddenInputClear){this.hiddenInputFiles=this.hiddenInputFiles.filter((e=>e.name!==t.name));const n=null===(e=this.hiddenInputContainerElement)||void 0===e?void 0:e.querySelector("input");if(n){const t=new DataTransfer;this.hiddenInputFiles.forEach((e=>{t.items.add(e)})),n.files=t.files}}}async componentWillLoad(){this.uploadId="stzh-upload-"+jt++,this.existingFilesWatcher(this.existingFiles),this.errorWatcher(this.error),this.localization||(this.localization=await window.stzhComponents.utils.fetchTranslations(this.uploadEl,"upload")),this.environment=u(),this.photographingEnabled&&this.initializePhotographingWithEnvironment(this.environment).catch((t=>{console.error("initializePhotographingWithEnvironmentException",t)}))}toggleToast(t,e){this.disableToasts||document.querySelector("stzh-upload").querySelector("stzh-toastbar").toast(t,{type:e})}componentDidLoad(){this.updateDefaultSlotState()}componentDidRender(){var t;if(this.dropzone)return;const e=this;function n(t){var n;let r=t.url||"";if(t.upload&&(r=URL.createObjectURL(t)),r)for(var i of null===(n=t.previewElement)||void 0===n?void 0:n.querySelectorAll(`[${Ft}]`)){i.setAttribute("href",r),i.setAttribute("download",t.name);const n=c(i),o=e.filePreviewId(t);i.setAttribute(n?"analytics-id":"s-object-id",`${e.localization.downloadFile} ${t.name}`),i.setAttribute(n?"a11y-label":"aria-label",`${e.localization.downloadFile} ${t.name}`),i.setAttribute(n?"a11y-describedby":"aria-describedby",`${o}-error-message ${o}-meta`)}}async function r(t){const e=document.getElementById(t);e&&e.classList.add("stzh-upload__fade-out")}async function i(t){const e=document.getElementById(t);if(e){const t=e.querySelector(".stzh-button");t&&t.click()}}null!==this.headersAsync&&(this.autoProcessQueue=!1),this.dropzone=new window.Dropzone(this.dropzoneElement,{accept:this.accept,acceptedFiles:this.acceptedFiles,autoProcessQueue:this.autoProcessQueue,chunking:this.chunking,chunkSize:this.chunkSize,chunksUploaded:this.chunksUploaded,clickable:[this.clickareaElement],createImageThumbnails:!1,defaultHeaders:this.defaultHeaders,defaultLabel:this.localization.photographingLabelDefault,dictCancelUpload:this.localization.cancelUpload,dictCancelUploadConfirmation:this.localization.cancelUploadConfirmation,dictDeleteFile:this.localization.deleteFile,dictFileSizeUnits:{tb:"TiB",gb:"GiB",mb:"MiB",kb:"KiB",b:"b"},dictFileTooBig:this.localization.fileTooBig,dictInvalidFileType:this.localization.invalidFileType,dictMaxFilesExceeded:this.localization.maxFilesExceeded,dictRemoveFile:this.localization.removeFile,dictRemoveFileConfirmation:null,dictResponseError:this.localization.responseError,dictUploadCanceled:this.localization.uploadCanceled,duplicateFileName:this.duplicateFileName,duplicateFileSize:this.duplicateFileSize,duplicateFileUploadHeading:this.localization.duplicateFileUploadHeading,duplicateFileUploadParagraph:this.localization.duplicateFileUploadParagraph,filesize:this.filesize,filesizeBase:this.filesizeBase,forceChunking:this.forceChunking,headers:this.headers,hiddenInputContainer:this.hiddenInputContainer?this.hiddenInputContainer:this.hiddenInputContainerElement,maxFiles:this.maxFiles,maxFilesize:null!==(t=this.maxFilesize)&&void 0!==t?t:void 0,method:this.method,parallelChunkUploads:this.parallelChunkUploads,parallelUploads:this.parallelUploads,preventDuplicateFileNames:this.preventDuplicateFileNames,preventHiddenInputClear:this.preventHiddenInputClear,previewsContainer:this.previewsElement,retryChunks:this.retryChunks,retryChunksLimit:this.retryChunksLimit,totalFilesState:this.totalFilesState,uploadMultiple:this.uploadMultiple,url:t=>this.getDropzoneUrl([t]),withCredentials:this.withCredentials,drop:t=>{var e;if(this.preventHiddenInputClear){const n=null===(e=this.hiddenInputContainerElement)||void 0===e?void 0:e.querySelector("input"),r=new DataTransfer;for(let t=0;t<n.files.length;t++)r.items.add(n.files[t]);for(const e of t.dataTransfer.files)r.items.add(e);n.files=r.files}return this.uploadEl.classList.remove("dz-drag-hover")},async addedfile(t){var o,a,s,u,l,f;if(t._id=It++,e.totalFilesState.push(t),e.preventHiddenInputClear){const n=null===(o=e.hiddenInputContainerElement)||void 0===o?void 0:o.querySelector("input");if(n){let r=!1;if(t instanceof File&&(r=e.hiddenInputFiles.some((e=>e.name===t.name&&e.size===t.size)),r||e.hiddenInputFiles.push(t)),e.hiddenInputFiles.length>0){const t=new DataTransfer;e.hiddenInputFiles.forEach((e=>{t.items.add(e)})),n.files=t.files}}}e.preventDuplicateFileNames&&e.totalFilesState.length>0&&(e.duplicateDetected=!1,e.totalFilesState.forEach((n=>{t.name===n.name&&t._id!==n._id&&(e.duplicateDetected=!0,e.duplicateFileName=t.name,e.duplicateFileSize=(t.size/1048576).toFixed(2)+" MiB",setTimeout(r,10,"_"+t._id),setTimeout(i,2e3,"_"+t._id))}))),this.element===this.previewsContainer&&this.element.classList.add("dz-started");const h=t.size/1048576;if("number"==typeof e.maxFilesizeTotal&&e.maxFilesizeTotal>0&&e.totalFileSize+h>e.maxFilesizeTotal)return e.totalTooBig=!0,e.totalTooBigMessageHeading=e.localization.uploadFailed,e.totalTooBigMessageBody=e.localization.fileTooBigTotal.replace("{{totalFilesize}}",`${(e.totalFileSize+h).toFixed(1)}`),e.totalTooBigMessageBody2=e.localization.fileTooBigTotal2.replace("{{maxFilesizeTotal}}",`${e.maxFilesizeTotal}`),void(e.totalFilesState=e.totalFilesState.filter((e=>e.name!==t.name)));if(e.totalTooBig=!1,e.totalFileSize+=h,this.previewsContainer&&!this.options.disablePreviews){for(var d of(t.previewElement=window.Dropzone.createElement(this.options.previewTemplate.trim()),t.previewElement.setAttribute("id","_"+t._id),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement),t.size||t.previewElement.classList.add("dz-empty"),null===(a=t.previewElement)||void 0===a?void 0:a.querySelectorAll(`[${Et}]`)))d.textContent=t.name;for(d of null===(s=t.previewElement)||void 0===s?void 0:s.querySelectorAll(`[${St}]`))d.innerHTML=e.filesize.call(this,t.size);for(d of null===(u=t.previewElement)||void 0===u?void 0:u.querySelectorAll(`[${Ct}]`))d.setAttribute("id",`${e.filePreviewId(t)}-meta`);for(d of null===(l=t.previewElement)||void 0===l?void 0:l.querySelectorAll(`[${Rt}]`))d.setAttribute("id",`${e.filePreviewId(t)}-error-message`);this.options.addRemoveLinks&&(t._removeLink=window.Dropzone.createElement(`<a class="dz-remove" href="javascript:undefined;" ${Ut}>\n ${this.options.dictRemoveFile}\n </a>`),t.previewElement.appendChild(t._removeLink));let r=e=>(e.preventDefault(),e.stopPropagation(),t.status===window.Dropzone.UPLOADING?window.Dropzone.confirm(this.options.dictCancelUploadConfirmation,(()=>this.removeFile(t))):this.options.dictRemoveFileConfirmation?window.Dropzone.confirm(this.options.dictRemoveFileConfirmation,(()=>this.removeFile(t))):this.removeFile(t));for(let n of null===(f=t.previewElement)||void 0===f?void 0:f.querySelectorAll(`[${Ut}]`)){n.addEventListener("click",r);const i=c(n),o=e.filePreviewId(t);n.setAttribute(i?"analytics-id":"s-object-id",`${this.options.dictRemoveFile}`),n.setAttribute(i?"a11y-label":"aria-label",`${this.options.dictRemoveFile} ${t.name}`),n.setAttribute(i?"a11y-describedby":"aria-describedby",`${o}-error-message ${o}-meta`)}e.downloadDisabled||e.downloadDisabledWhileProcessing||n(t)}null!==e.headersAsync&&(e.dropzone.options.headers=await e.headersAsync(),e.dropzone.processQueue())},complete(t){const r=t.previewElement,i=r?Array.from(r.querySelectorAll(`[${Ut}]`)):[],o="error"===t.status,a=o?this.options.dictRemoveFile:this.options.dictDeleteFile,s=e.filePreviewId(t);if(i.forEach((e=>{const n=c(e);e.setAttribute(n?"a11y-label":"aria-label",`${a} ${t.name}`),e.setAttribute(n?"a11y-describedby":"aria-describedby",`${s}-error-message ${s}-meta`)})),o?e.errorsElement.appendChild(t.previewElement):!e.downloadDisabled&&e.downloadDisabledWhileProcessing&&n(t),t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},removedfile(t){null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),e.totalFileSize-=t.size/1048576,e.chooseFileButtonEl.focus();const n=this,r=n.options.maxFiles;if(null!=r&&n.getAcceptedFiles().length<r){const t=n.files.filter((t=>t._maxFilesExceeded&&t.status===window.Dropzone.ERROR));for(const i of t){if(n.getAcceptedFiles().length>=r)break;i._maxFilesExceeded=!1,i.accepted=!0,i.status=window.Dropzone.QUEUED,i.previewElement&&(i.previewElement.classList.remove("dz-error"),i.previewElement.querySelectorAll("[data-dz-errormessage]").forEach((t=>t.textContent="")),i.previewElement.parentNode===e.errorsElement&&e.previewsElement.appendChild(i.previewElement)),n.options.autoProcessQueue&&(n.enqueueFile(i),n.processQueue())}}return this._updateMaxFilesReachedClass()},error(t,n,r){if(t.previewElement){t.previewElement.classList.add("dz-error"),"string"!=typeof n&&n.error?n=n.error:r&&(n=401===r.status||403===r.status?e.localization.accessError:413===r.status?e.localization.fileTooBigServer:415===r.status?e.localization.invalidFileType:r.status>=500?e.localization.serverError:e.localization.responseError.replace("{{statusCode}}",r.status));for(let e of t.previewElement.querySelectorAll("[data-dz-errormessage]"))e.textContent=n}},maxfilesexceeded(t){t._maxFilesExceeded=!0,this.emit("error",t,e.localization.maxFilesExceeded),this.emit("complete",t)},previewTemplate:`\n <div class="stzh-upload__preview">\n <div class="stzh-upload__image">\n <img data-dz-thumbnail />\n </div>\n\n <div class="stzh-upload__details">\n <div class="stzh-upload__info-wrapper">\n\n <div class="stzh-upload__info-wrapper-processing">\n <div class="stzh-upload__title-meta-row">\n <div class="stzh-upload__icon">\n <span class="stzh-upload__leading-icon-slot" aria-hidden="true"></span>\n </div>\n <div class="stzh-upload__infos">\n <div class="stzh-upload__subtitle">\n <a class="stzh-upload__link" ${Et} ${Ft}></a>\n </div>\n <div class="stzh-upload__progress-text">\n <span ${Mt}></span>\n </div>\n </div>\n <div class="stzh-upload__meta">\n <span class="stzh-upload__extension" ${Tt}></span>\n <span class="stzh-upload__separator"></span>\n <span class="stzh-upload__size" ${St}></span>\n </div>\n <div class="stzh-upload__progress">\n <span class="stzh-upload__progress-bar" data-dz-uploadprogress></span>\n </div>\n </div>\n </div>\n\n <div class="stzh-upload__info-wrapper-complete">\n <div class="stzh-upload__title-meta-row">\n <div class="stzh-upload__icon">\n <span class="stzh-upload__leading-icon-slot" aria-hidden="true"></span>\n </div>\n <div class="stzh-upload__content">\n <div class="stzh-upload__title-meta-line">\n <div class="stzh-upload__title">\n <a class="stzh-upload__link" ${Et} ${Ft}></a>\n </div>\n <div class="stzh-upload__meta" ${Ct}>\n <span class="stzh-upload__extension" ${Tt}></span>\n <span class="stzh-upload__separator"></span>\n <span class="stzh-upload__size" ${St}></span>\n </div>\n </div>\n <div class="stzh-upload__error-message" ${Rt}>\n <span data-dz-errormessage></span>\n </div>\n </div>\n\n </div>\n </div>\n\n <div class="stzh-upload__actions">\n \x3c!-- <stzh-button variant="tertiary" size="tiny" icon-only icon="download" class="stzh-upload__download" ${Ft}></stzh-button> --\x3e\n <stzh-button variant="tertiary" size="tiny" icon-only class="stzh-upload__delete" ${Ut}>\n <stzh-icon slot="icon" class="stzh-upload__delete-icon" name="delete"></stzh-icon>\n <stzh-icon slot="icon" class="stzh-upload__delete-icon-error" name="close"></stzh-icon>\n </stzh-button>\n </div>\n </div>\n </div>\n </div>\n `}),this.nameWatcher(this.name),this.disabledWatcher(),this.dropzone.on("addedfile",(t=>this.stzhFileAdded.emit({component:"stzh-upload",file:t}))),this.dropzone.on("addedfiles",(t=>this.stzhFilesAdded.emit({component:"stzh-upload",files:t}))),this.dropzone.on("removefile",(t=>(this.removeFileFromState(t),!1===this.stzhFileRemove.emit({component:"stzh-upload",file:t}).defaultPrevented))),this.dropzone.on("removedfile",((t,e)=>this.stzhFileRemoved.emit({component:"stzh-upload",file:t,force:e}))),this.dropzone.on("sending",((t,e,n)=>this.stzhSending.emit({component:"stzh-upload",file:t,xhr:e,formData:n}))),this.dropzone.on("sendingmultiple",((t,e,n)=>this.stzhSendingMultiple.emit({component:"stzh-upload",files:t,xhr:e,formData:n}))),this.dropzone.on("processing",(t=>this.stzhProcessing.emit({component:"stzh-upload",file:t}))),this.dropzone.on("processingmultiple",(t=>this.stzhProcessingMultiple.emit({component:"stzh-upload",files:t}))),this.dropzone.on("uploadprogress",((t,e,n)=>this.stzhProgress.emit({component:"stzh-upload",file:t,progress:e,bytesSent:n}))),this.dropzone.on("totaluploadprogress",((t,e,n)=>this.stzhProgressTotal.emit({component:"stzh-upload",totalUploadProgress:t,totalBytes:e,totalBytesSent:n}))),this.dropzone.on("error",((t,e,n)=>{n&&n.status>=400&&this.toggleToast(this.localization.uploadErrorToast,"error"),this.stzhError.emit({component:"stzh-upload",file:t,message:e,xhr:n})})),this.dropzone.on("errormultiple",((t,e,n)=>{n&&n.status>=400&&this.toggleToast(this.localization.uploadErrorToast,"error"),this.stzhErrorMultiple.emit({component:"stzh-upload",files:t,message:e,xhr:n})})),this.dropzone.on("success",((t,e,n)=>{this.toggleToast(this.localization.uploadSuccessToast,"success"),this.stzhSuccess.emit({component:"stzh-upload",file:t,responseText:e,event:n})})),this.dropzone.on("successmultiple",((t,e,n)=>{this.toggleToast(this.localization.uploadSuccessToast,"success"),this.stzhSuccessMultiple.emit({component:"stzh-upload",files:t,responseText:e,event:n})})),this.dropzone.on("canceled",(t=>this.stzhCanceled.emit({component:"stzh-upload",file:t}))),this.dropzone.on("canceledmultiple",(t=>this.stzhCanceledMultiple.emit({component:"stzh-upload",files:t}))),this.dropzone.on("complete",(t=>this.stzhComplete.emit({component:"stzh-upload",file:t}))),this.dropzone.on("completemultiple",(t=>this.stzhCompleteMultiple.emit({component:"stzh-upload",files:t}))),this.dropzone.on("maxfilesexceeded",(t=>{t._maxFilesExceeded=!0,this.dropzone.emit("error",t,this.localization.maxFilesExceeded),this.dropzone.emit("complete",t)})),this.dropzone.on("addedfile",(t=>{var e,n,r,i;const o=t.previewElement;if(!o)return;const a=(null!==(e=this.leadingIcon)&&void 0!==e?e:"").trim(),s=o.querySelectorAll(".stzh-upload__icon");a?o.querySelectorAll(".stzh-upload__leading-icon-slot").forEach((t=>{t.innerHTML=`<stzh-icon class="stzh-upload__leading-icon" name="${a}"></stzh-icon>`})):s.forEach((t=>t.remove()));const u=null!==(n=t.name)&&void 0!==n?n:"",c=null!==(r=t.type)&&void 0!==r?r:"",l=u.includes(".")&&null!==(i=u.split(".").pop())&&void 0!==i?i:"",f=(t,e)=>{o.querySelectorAll(`[${t}]`).forEach(e)};f(Et,(t=>{t.title=u})),f("data-dz-type",(t=>{t.innerText=c})),f(Tt,(t=>{t.innerText=l}))})),this.dropzone.on("uploadprogress",((t,e)=>{var n;null===(n=t.previewElement)||void 0===n||n.querySelectorAll(`[${Mt}]`).forEach((t=>{t.innerText=`${Math.floor(e)}%`}))})),this._existingFiles.forEach((t=>{this.dropzone.displayExistingFile(t,null,null,null,null)}))}disconnectedCallback(){this.dropzone&&(this.dropzone.destroy(),this.dropzone=null)}render(){var t,e,o,a,u,c,f,h,d;const p=s(this.uploadEl,"error")||(null===(t=this._error)||void 0===t?void 0:t.length)>0,v=!!this.description,g=!!this.descriptionLong||s(this.uploadEl,"description-long"),m=!!this.label||this.hasDefaultSlot,y=!this.hasResolvedDefaultSlot||m||g,z={"stzh-upload":!0,"stzh-upload--is-invalid":this.invalid||p,"stzh-upload--is-disabled":this.disabled,"stzh-upload--is-required":this.required,"stzh-upload--has-label-hidden":this.labelHidden,"stzh-upload--has-hidden-progress":this.hideProgress,"stzh-upload--has-hidden-progress-while-idle":this.hideProgressWhileIdle,"stzh-upload--has-error":p,"stzh-upload--has-description":v,"stzh-upload--has-description-long":g,"stzh-upload--has-instructions":!!this.description||!!this.localization.description},b=null!==(o=null===(e=this.localization)||void 0===e?void 0:e.description)&&void 0!==o?o:"",w=null!==(u=null===(a=this.localization)||void 0===a?void 0:a.descriptionMaxFilesLimit)&&void 0!==u?u:"",_=null!==(f=null===(c=this.localization)||void 0===c?void 0:c.descriptionMaxFilesizeLimit)&&void 0!==f?f:"",x=null!==(d=null===(h=this.localization)||void 0===h?void 0:h.descriptionTotalFileSizeLimit)&&void 0!==d?d:"",k="number"==typeof this.maxFilesize&&this.maxFilesize>0,A="number"==typeof this.maxFilesizeTotal&&this.maxFilesizeTotal>0,E=[];"number"==typeof this.maxFiles&&this.maxFiles>0&&E.push(w.replace("{{maxFiles}}",`${this.maxFiles}`)),k&&E.push(_.replace("{{maxFilesize}}",`${this.maxFilesize}`)),A&&E.push(x.replace("{{maxFilesizeTotal}}",`${this.maxFilesizeTotal}`));const S=E.filter(Boolean).join(", ");let F=b.replace("{{fileformats}}",this.acceptedFiles).replace("{{filesize}}",S);return S||(F=F.replace(/\s*\(\s*\)\s*/,"")),n(i,{key:"4b4ce2488f798a7ffe9fa7eda458b3943240181b",tabindex:this.disabled?null:"-1","is-invalid":this.invalid||p,"aria-required":this.required?"true":"false","aria-invalid":this.invalid||p?"true":"false","aria-describedby":this.invalid||p?this.error:void 0,role:"group","aria-labelledby":y&&(this.label||s(this.uploadEl))?`${this.uploadId}-label`:void 0},n("stzh-toastbar",{key:"b9d27d57865fe17ce5e2e17f4bea5c762370d48a"}),n("div",{key:"d263bb0442116401576acca91c3dcc6374acf4fc",class:z,ref:t=>this.dropzoneElement=t},n("div",{key:"de5ee1659048d5b1612493a83273a69a3d1ea9fe",ref:t=>this.hiddenInputContainerElement=t}),y&&n("div",{key:"a0fc39daee71e2197c6ad193bc1ab7894fe7b66a",class:"stzh-upload__label-wrapper"},n("label",{key:"c45774ae92533958fdb9a07e7a290cfa6cb74e53",id:`${this.uploadId}-label`,class:{"stzh-upload__label":!0,"no-label-truncate":this.noLabelTruncate}},this.label?this.label:n("slot",{onSlotchange:this.updateDefaultSlotState}),m&&!this.hideOptional&&n("span",{key:"51c5aa91d2b2781f838ccc8493968454e6b85ce2",class:"stzh-upload__marker"},n("span",{key:"d0cebf7d48466afe776b38376e5630c1ac1397cc",class:"stzh-upload__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),n("span",{key:"3051dcc4600ee493811642a1c2fe7702d3f4c80c",class:"stzh-upload__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),(this.descriptionLong||s(this.uploadEl,"description-long"))&&n(l,{key:"763fb7d5359f4391114de562fa5cb441d833c9a9",classPrefix:"stzh-upload",id:`${this.uploadId}-description-long`,descriptionLong:this.descriptionLong,descriptionLongUsed:!0,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel,showError:!1,showDescriptionText:!1})),n("div",{key:"95294f2b91d6c787d2b36e2ced1c313ea85714d1",class:"stzh-upload__clickarea",ref:t=>this.clickareaElement=t},n("div",{key:"8a340a645c54080822824bfa82f95066905a9e48",class:"stzh-upload__heading-wrapper"},n("div",{key:"d194f3b76e1bc21b58d032e9eead5f6bec0ad5ae",class:"stzh-upload__heading-inner-wrapper"},n("div",{key:"4045620f6a42386dea79fc7c589fbb7662bf5f0b",class:"stzh-upload__buttons-wrapper"},n("stzh-button",{key:"478652098454c2dcceb77ee79ac137e6612b13a8",id:`${this.uploadId}-button`,class:"stzh-upload__button",variant:"secondary",size:"tiny",ref:t=>this.chooseFileButtonEl=t,label:this.button?this.button:this.localization.button,a11yDescribedby:this.a11yDescribedby,a11yControls:`${this.uploadId}-previews`,"aria-invalid":this.invalid||p?"true":"false",disabled:this.disabled},n("stzh-icon",{key:"8fd8dd2c26007dede87b77224d94dcfaa5ec37ba",slot:"icon",name:"upload"})),this.isPhotographingAvailable&&n("stzh-button",{key:"46ea16570e330f91938adc0cc4c69ee5e5da3660",onClick:this.onButtonScanClick,class:"stzh-upload__button-scan",variant:"secondary",size:"tiny",label:this.buttonScan?this.buttonScan:this.localization.buttonScan,a11yDescribedby:this.a11yDescribedby,"aria-invalid":this.invalid||p?"true":"false",disabled:this.disabled},n("stzh-icon",{key:"685dceaafd37d6e7af285a65856cbcc1da18b4ad",slot:"icon",name:"camera"}))))),n("div",{key:"3076ff10e7bb25fb4728f3c03610156f558cbab2",class:"stzh-upload__instructions",id:`${this.uploadId}-instruction`},n("p",{key:"aabeb4b9f84760017c79c639f415da1731aad5db"},F))),(this.description||p)&&n(l,{key:"d80b85dd95b95fc4bcfacedd283d8ce23a53014a",classPrefix:"stzh-upload",id:`${this.uploadId}-description`,error:this._error,description:this.description,descriptionLongUsed:!1}),n("div",{key:"8260e726a0735c19206bb02c661eabb9a7bbcd0b",id:`${this.uploadId}-previews`,class:"stzh-upload__previews-wrapper"},n("div",{key:"c0da9b4c4bfe74e61f618e3ae9f95bdb36d17648",class:"stzh-upload__previews-inner-wrapper"},n("div",{key:"aeeef42684cb0b6171401a9082e98726918cbfcb",class:"stzh-upload__errors",ref:t=>this.errorsElement=t}),n("div",{key:"50ff6fcd32ab770394811fa170f38aa7d7d46bc4",class:"stzh-upload__previews dropzone-previews",ref:t=>this.previewsElement=t})))),this.duplicateDetected&&n("div",{key:"3849a2500a69c8aff289b21bd150fe9fdbace245",class:"stzh-upload__previews-message-wrapper"},n("stzh-message",{key:"71e3d9cce8a620d2df0e021c7f3f23796c51ee50",type:"error",label:this.localization.duplicateFileUploadHeading,onStzhClose:()=>this.duplicateDetected=!1},n("stzh-text",{key:"bce4044f9841f00f62639e76d23b51529e8b8dcb"},n("p",{key:"c39f8a8ee13fdb4399ec9636c55ced12e21c17c0"},"«",this.duplicateFileName,"» (",this.duplicateFileSize,")"),n("p",{key:"c6115a492fafa95f2a95b953002c77207b80e896"},this.localization.duplicateFileUploadParagraph)))),this.totalTooBig&&n("div",{key:"3089c1b088337b955f795b4dd79295f521ac7b0f",class:"stzh-upload__previews-message-wrapper"},n("stzh-message",{key:"edde7460e5ec031cf54d9d51ef7e4b95a0e13922",type:"warning",label:this.totalTooBigMessageHeading,onStzhClose:()=>this.totalTooBig=!1},n("stzh-text",{key:"7ba132c881d57a567f9495c12e77977289349e11"},n("p",{key:"074a138b1c927ecf91c9916b38007734de6d3783"},this.totalTooBigMessageBody," ",this.totalTooBigMessageBody2)))),n("stzh-dialog",{key:"7ae92873f235db25a42f9f6b594a2c062bbe4760",ref:t=>this.photographingOverlayElement=t,onStzhClose:this.closePhotographingWebsocketConnection,class:this.isPhotographingAvailable&&"stzh-dialog--fit-content",heading:this.localization.photographingTitle1},n("stzh-button",{key:"68013b9d1c9f03b6261da41ee2808d0eb2198a56",class:"stzh-upload-photographing__back-button",icon:"arrow-left",size:"tiny",variant:"tertiary-plain","no-padding-left":"true","no-padding-right":"true",onClick:this.closePhotographingOverlay},this.localization.back),this.isPhotographingAvailable&&n(r,{key:"31934153c7e1b422fd8659abc102a19adad2e317"},n("div",{key:"18cd4c04d30a14952c63827a381eab47e9305baa",class:"stzh-upload-photographing__info"},n("div",{key:"66ad20ad24963e370c7ef2c71b69b07e2c4dde7c",class:"stzh-upload-photographing__text-qrcode"},n("div",{key:"a59fe213e4f7cbc233182d668634c1736b26890f",class:"stzh-upload-photographing-qrlink-container"},n("stzh-text",{key:"1171db191e5286b12a3950ae2790745e4fb6a2a0"},this.localization.photographingText1)),n("div",{key:"0f210b877914509cd9bdddd7671738a8fa3aba4c",class:"stzh-upload-photographing-qrcode-container"},n("canvas",{key:"48a7962efe3ac0aa1228358eb215a229532cfcf6",class:"stzh-upload-photographing-qrcode",ref:t=>this.photographingQrcodeElement=t})))),n("div",{key:"e02cbf10b820cf0d0682fb5155d4f636d43cddac",class:"stzh-upload-photographing__info"},n("stzh-heading",{key:"38fef933289f7a97866e8321fc187f79e4d5b2a8",level:"3"},this.localization.photographingTitle2),n("stzh-text",{key:"0127356264f3c7635ce55ae441eb3548ca245d84"},this.localization.photographingText2)),n("div",{key:"9b35ad4f3f38ae80a01a996478616fcf4597c828",class:"stzh-upload-photographing__continue"},!!this.photographingUrlDetails&&n("stzh-link",{key:"566fdd6a1e109c390e11545ee81d1b024faedf91",class:"stzh-upload-photographing-link",href:this.photographingUrlDetails.url+"&label="+this.cleanLabel(this.label),target:"_blank"},this.localization.photographingContinue)))))}get uploadEl(){return o(this)}static get watchers(){return{name:[{nameWatcher:0}],maxFiles:[{maxFilesWatcher:0}],maxFilesize:[{maxFilesizeWatcher:0}],acceptedFiles:[{acceptedFilesWatcher:0}],existingFiles:[{existingFilesWatcher:0}],disabled:[{disabledWatcher:0}],error:[{errorWatcher:0}]}}};$t.style=':host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-upload{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}stzh-upload[hidden],stzh-upload[stzh-hidden]{display:none}stzh-upload::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-upload *,stzh-upload *::before,stzh-upload *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}stzh-upload{}stzh-upload .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-upload .stzh-fylingfocus-focused{outline-style:none !important}stzh-upload .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-upload{--label-color:var(--stzh-upload-label-color, var(--stzh-color-primary));--list-grid-template-areas:var( --stzh-upload-list-grid-template-areas, "list list list list" );--list-grid-template-columns:var( --stzh-upload-list-grid-template-columns, repeat(4, minmax(0, 1fr)) )}@media screen and (min-width: 600px){stzh-upload{--list-grid-template-areas:var( --stzh-upload-list-grid-template-areas, "list list list ." )}}@media screen and (min-width: 900px){stzh-upload{--list-grid-template-areas:var( --stzh-upload-list-grid-template-areas, "list list list list list . . ." );--list-grid-template-columns:var( --stzh-upload-list-grid-template-columns, repeat(8, minmax(0, 1fr)) )}}stzh-upload[disabled]:not([disabled=false]){--description-color:var(--stzh-color-grey70);--label-color:var(--stzh-color-grey70)}.stzh-upload__marker-symbol{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-upload__marker-text{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-upload__description-wrapper{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-upload__error,.stzh-upload__description{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-upload__error{color:var(--stzh-color-error60)}.stzh-upload__error-list{list-style:none;margin:0;padding:0}.stzh-upload__description{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-upload__description-long{margin-right:var(--stzh-space-xxsmall, 4px);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-upload__description-long{margin-top:0}}.stzh-upload__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-upload__description-long-button{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-upload stzh-icon.stzh-upload__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-xxxsmall, 2px)}.stzh-upload{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);position:relative;color:var(--stzh-color-grey70);box-sizing:border-box;display:flex;flex-direction:column;}.stzh-upload__label-wrapper{display:flex;align-items:center;gap:var(--stzh-space-xsmall, 8px);width:100%;min-width:0;min-height:1.375rem;margin-bottom:var(--stzh-space-xxxsmall, 2px)}.stzh-upload__label{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;color:var(--label-color);min-width:0;flex:0 1 auto;max-width:100%;margin-bottom:0}.stzh-upload__label.no-label-truncate{text-overflow:clip;white-space:normal;overflow:visible}.stzh-upload__label:empty{display:none}.stzh-upload__label:not(.no-label-truncate){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stzh-upload__label-wrapper>.stzh-upload__description-wrapper{flex:0 0 auto;display:inline-flex;align-items:flex-start;margin:0;transform:translateY(0.0625rem)}.stzh-upload__label-wrapper .stzh-upload__error,.stzh-upload__label-wrapper .stzh-upload__description-text{display:none}.stzh-upload__label-wrapper .stzh-upload__description,.stzh-upload__label-wrapper .stzh-upload__description-long{display:inline-flex;align-items:flex-start;margin:0}.stzh-upload__label-wrapper .stzh-upload__description-long-button{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;line-height:1}.stzh-upload__label-wrapper stzh-popover .stzh-upload__description-long-icon{--size:var(--stzh-icon-size-small);display:block;line-height:0;color:var(--stzh-color-primary70)}.stzh-upload__marker{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall, 8px))}.stzh-upload__clickarea{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);padding-top:var(--stzh-space-medium, 16px);padding-left:var(--stzh-space-medium, 16px);padding-right:var(--stzh-space-medium, 16px);display:flex;flex-direction:column;align-items:center;text-align:center;border:0.0625rem solid var(--stzh-color-black);background-color:var(--stzh-color-grey10);border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABMSURBVHgB7dexCgAQEIDhO2X2ih7NK5oNTEo3kFI3+L+Z/BnkNMXSZVFbVtmw663b/UGc6Sw6lb82z3W/AQDgJSSAAAIAgP+Afj8dD2mcJJvEMWjkAAAAAElFTkSuQmCC\');border-image-slice:8;border-image-width:0.5rem;border-image-repeat:round;transition:background-color var(--stzh-base-transition-animation-speed)}@media (min-resolution: 192dpi){.stzh-upload__clickarea{border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB5SURBVHgB7dsxCoQwFEXRl4Gp3aJLc4vWFtpbaCGC8M5ZQEIu/CYkY/ovey6s2zzywN36d97e/5dyAqTcOM/I05n7uvN5jUDK1QcAAAAA+rgTTDkBUk6AlBMg5QRIOQFSToCUEyAAAAAAZbwPSDkBUm74O1xOgJQ7AMC9JLtRTkNkAAAAAElFTkSuQmCC\');border-image-slice:16}}@media (forced-colors: active){.stzh-upload__clickarea{border:0.125rem dashed ButtonBorder}}@media screen and (min-width: 600px){.stzh-upload__clickarea{padding-left:var(--stzh-space-large, 20px);padding-right:var(--stzh-space-large, 20px)}}.stzh-upload__heading-wrapper{width:100%;font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:flex;align-items:flex-start;gap:var(--stzh-space-medium, 16px);color:var(--stzh-color-grey90);transition:color var(--stzh-base-transition-animation-speed)}.stzh-upload__heading-inner-wrapper{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--stzh-space-xsmall, 8px)}.stzh-upload__buttons-wrapper{display:flex;flex-direction:column;gap:var(--stzh-space-medium);width:100%}@media screen and (min-width: 900px){.stzh-upload__buttons-wrapper{flex-direction:row;justify-content:center}}.stzh-upload__instructions{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-upload__instructions p{margin-top:var(--stzh-space-medium, 16px);margin-bottom:var(--stzh-space-medium, 16px)}.stzh-upload stzh-icon.stzh-upload__delete-icon{display:none}.stzh-upload__previews-wrapper{grid-template-areas:var(--list-grid-template-areas);grid-template-columns:var(--list-grid-template-columns)}.stzh-upload__previews-inner-wrapper{grid-area:list}.stzh-upload__previews-message-wrapper{display:block}.stzh-upload__preview{padding-top:var(--stzh-space-xxsmall, 4px)}@media screen and (min-width: 900px){.stzh-upload__preview{padding-top:var(--stzh-space-xsmall, 8px)}}@media screen and (min-width: 1260px){.stzh-upload__preview{padding-top:var(--stzh-space-small, 12px)}}.stzh-upload__preview{padding-bottom:var(--stzh-space-xxsmall, 4px)}@media screen and (min-width: 900px){.stzh-upload__preview{padding-bottom:var(--stzh-space-xsmall, 8px)}}@media screen and (min-width: 1260px){.stzh-upload__preview{padding-bottom:var(--stzh-space-small, 12px)}}.stzh-upload__preview{display:flex;align-items:center;opacity:1;transform-origin:center;background-color:var(--stzh-color-grey10);margin-bottom:var(--stzh-space-xxsmall, 4px);padding-left:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-upload__preview{padding-left:var(--stzh-space-large, 20px)}}.stzh-upload__preview.dz-error .stzh-upload__title,.stzh-upload__preview.dz-error .stzh-upload__link[href]:not([href=""]),.stzh-upload__preview.dz-error .stzh-upload__link[href]:not([href=""]):hover{color:var(--stzh-color-error60)}.stzh-upload__preview.dz-error .stzh-upload__error-message{display:block}.stzh-upload__preview.dz-error .stzh-upload__meta{display:none}.stzh-upload__preview.dz-complete:not(.dz-error) stzh-icon.stzh-upload__delete-icon-error{display:none}.stzh-upload__preview.dz-complete:not(.dz-error) stzh-icon.stzh-upload__delete-icon{display:inline-flex}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-processing{display:none}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete{display:flex}.stzh-upload__preview.dz-empty .stzh-upload__separator{display:none}.stzh-upload__preview.dz-empty .stzh-upload__size{display:none}.stzh-upload__icon{display:none;align-content:center}@media screen and (min-width: 900px){.stzh-upload__icon{color:var(--stzh-color-grey90);display:block;padding-right:var(--stzh-space-medium, 16px)}}.stzh-upload__details{flex-grow:1;display:flex;overflow:hidden}.stzh-upload__info-wrapper{flex-grow:1;display:flex;overflow:hidden}.stzh-upload{}.stzh-upload__title-meta-row{display:flex;flex-direction:row;align-items:flex-start;min-width:0}.stzh-upload__info-wrapper-processing .stzh-upload__progress-text{margin-top:var(--stzh-space-xsmall, 8px)}.stzh-upload__content{flex:1 1 auto;min-width:0}.stzh-upload{}.stzh-upload__title-meta-line{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.stzh-upload__title{flex:1 1 auto;min-width:0}.stzh-upload__meta{flex:0 0 auto;margin-left:0;text-align:left;white-space:normal}.stzh-upload{}@media screen and (min-width: 900px){.stzh-upload__title-meta-line{flex-direction:row;align-items:center}.stzh-upload__meta{margin-left:auto;text-align:right;white-space:nowrap}}.stzh-upload__title .stzh-upload__link{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stzh-upload__info-wrapper-processing,.stzh-upload__info-wrapper-complete{flex-grow:1;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.stzh-upload__info-wrapper-complete{display:none}.stzh-upload__actions{flex-shrink:0;display:flex;align-items:center}.stzh-upload__actions:not(:empty){margin-left:var(--stzh-space-xsmall, 8px)}.stzh-upload__infos{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:flex;justify-content:space-between;align-items:center}.stzh-upload__title,.stzh-upload__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-upload__title{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-upload__link[href]:not([href=""]){color:var(--stzh-link-color)}.stzh-upload__link[href]:not([href=""]):hover{color:var(--stzh-link-hover-color)}.stzh-upload__meta{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;display:flex;align-items:center;gap:var(--stzh-space-xsmall, 8px)}.stzh-upload__info-wrapper-processing .stzh-upload__meta{display:flex}.stzh-upload__size strong{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-upload__image{display:none}.stzh-upload__progress{display:block;height:0.375rem;background-color:var(--stzh-color-black20op);margin-top:var(--stzh-space-xsmall, 8px)}.stzh-upload__progress-bar{display:block;height:100%;width:0;background:var(--stzh-color-secondary40)}.stzh-upload__progress-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium, 16px);font-variant-numeric:tabular-nums}.stzh-upload__separator{width:0.0625rem;height:1rem;flex:0 0 0.0625rem;background-color:currentColor;display:block}.stzh-upload__extension{text-transform:uppercase}.stzh-upload__extension:empty+.stzh-upload__separator{display:none}.stzh-upload__error-message{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;color:var(--stzh-color-error60);transition:color var(--stzh-base-transition-animation-speed);display:none}.stzh-upload{}.stzh-upload.dz-started .stzh-upload__errors,.stzh-upload:has(.stzh-upload__preview) .stzh-upload__errors{margin-top:var(--stzh-space-xxsmall, 4px)}.stzh-upload{}.stzh-upload.dz-drag-hover .stzh-upload__clickarea{background-color:var(--stzh-color-secondary10);border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABMSURBVHgB7ddBCgAQEEDRGa7iRs7pRq4iVkqzIKVm4b81+VnIaMy1y6KVpLJh11u3+4M401l0Kn9tnut+AwDAS0gAAQQAAP8B/X46HlNzJxHDedWMAAAAAElFTkSuQmCC\')}@media (min-resolution: 192dpi){.stzh-upload.dz-drag-hover .stzh-upload__clickarea{border-image-source:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB5SURBVHgB7dvBCYQwFEXRl5lW7Mg67chWRPcudCGC8M4pICEX/iYk4z+vey5syzTywN36d97e/5dyAqTcOM/I05n7uvN5jUDK1QcAAAAA+rgTTDkBUk6AlBMg5QRIOQFSToCUEyAAAAAAZbwPSDkBUm74O1xOgJQ7AO1EJzEUHPSNAAAAAElFTkSuQmCC\')}}@media (forced-colors: active){.stzh-upload.dz-drag-hover .stzh-upload__clickarea{border-color:Highlight}}.stzh-upload.dz-drag-hover .stzh-upload__heading-wrapper{color:var(--stzh-color-primary70)}.stzh-upload{}.stzh-upload{}.stzh-upload--has-hidden-progress .stzh-upload__progress,.stzh-upload--has-hidden-progress .stzh-upload__progress-text,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__progress,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__progress-text{display:none}.stzh-upload--has-hidden-progress .stzh-upload__info-wrapper-processing .stzh-upload__meta,.stzh-upload--has-hidden-progress-while-idle .stzh-upload__preview:not(.dz-processing) .stzh-upload__info-wrapper-processing .stzh-upload__meta{display:flex}.stzh-upload{}.stzh-upload--is-invalid{--label-color:var(--stzh-color-error60)}.stzh-upload--has-description>.stzh-upload__description-wrapper{margin-top:var(--stzh-space-xxsmall, 4px)}.stzh-upload{}.stzh-upload--has-label-hidden .stzh-upload__label{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-upload{}.stzh-upload--is-disabled .stzh-upload__clickarea{cursor:not-allowed;background-color:var(--stzh-color-grey10)}@media (forced-colors: active){.stzh-upload--is-disabled .stzh-upload__clickarea{border-color:GrayText}}.stzh-upload{}.stzh-upload-photographing__info:not(:last-child){padding-bottom:var(--stzh-space-xxlarge, 32px)}@media screen and (min-width: 900px){.stzh-upload-photographing__info:not(:last-child){padding-bottom:var(--stzh-space-xxxlarge, 40px)}}@media screen and (min-width: 1260px){.stzh-upload-photographing__info:not(:last-child){padding-bottom:var(--stzh-space-xxxxlarge, 48px)}}.stzh-upload-photographing__text-qrcode{display:flex;gap:var(--stzh-space-large, 20px)}.stzh-upload-photographing-qrlink-container{width:50%;flex-grow:0;overflow-x:hidden}.stzh-upload-photographing-qrcode-container{width:50%;flex-grow:1}.stzh-upload-photographing-qrcode{width:7.5rem;height:7.5rem}@media screen and (min-width: 1260px){.stzh-upload-photographing-qrcode{width:8.75rem;height:8.75rem}}.stzh-upload-photographing-link{margin-top:var(--stzh-space-medium, 16px)}@media screen and (min-width: 900px){.stzh-upload-photographing-link{margin-top:var(--stzh-space-large, 20px)}}.stzh-upload-photographing-link{word-break:break-all !important;width:auto}.stzh-upload-photographing__continue{display:flex;justify-content:flex-end;gap:var(--stzh-space-large, 20px)}.stzh-upload-photographing__back-button{margin-bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-upload-photographing__back-button{margin-bottom:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-upload-photographing__back-button{margin-bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-upload-photographing__back-button{margin-bottom:var(--stzh-space-xxlarge, 32px)}}.stzh-upload__fade-out{opacity:0;transition-duration:1.8s;transition-delay:0s;transition-property:opacity;transition-timing-function:ease-out}.stzh-upload__info-wrapper-processing .stzh-upload__title-meta-row{display:flex;flex-wrap:wrap;align-items:flex-start;min-width:0}.stzh-upload__info-wrapper-processing .stzh-upload__icon{flex:0 0 auto}.stzh-upload__info-wrapper-processing{}.stzh-upload__info-wrapper-processing .stzh-upload__infos{flex:1 1 100%;min-width:0;order:1}.stzh-upload__info-wrapper-processing{}.stzh-upload__info-wrapper-processing .stzh-upload__meta{flex:0 0 100%;margin-left:0;order:2;justify-content:flex-start;text-align:left;white-space:normal}@media screen and (min-width: 900px){.stzh-upload__info-wrapper-processing .stzh-upload__title-meta-row{flex-wrap:nowrap;align-items:center}.stzh-upload__info-wrapper-processing .stzh-upload__infos{flex:1 1 auto;order:1}.stzh-upload__info-wrapper-processing .stzh-upload__meta{flex:0 0 auto;order:2;margin-left:auto;justify-content:flex-end;text-align:right;white-space:nowrap}}';export{$t as stzh_upload}
|