@oiz/stzh-components 4.10.0-beta1 → 4.10.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-44C7OsiK.js → index-CLYMFtQm.js} +3 -3
- package/dist/cjs/{index-44C7OsiK.js.map → index-CLYMFtQm.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
- 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_3.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-Csg5ez4Q.js → stzh-input-description-DE0KJWgB.js} +3 -3
- package/dist/cjs/{stzh-input-description-Csg5ez4Q.js.map → stzh-input-description-DE0KJWgB.js.map} +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-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-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 +1 -1
- 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/components/index.js +2 -2
- package/dist/components/{p-D4_n-2Ms.js → p-0236I21-.js} +7 -7
- package/dist/components/{p-D4_n-2Ms.js.map → p-0236I21-.js.map} +1 -1
- package/dist/components/{p-45Ty4zpd.js → p-9r8p9BUI.js} +3 -3
- package/dist/components/{p-45Ty4zpd.js.map → p-9r8p9BUI.js.map} +1 -1
- package/dist/components/{p-CdqGCyz7.js → p-AbGm5dW0.js} +8 -8
- package/dist/components/{p-CdqGCyz7.js.map → p-AbGm5dW0.js.map} +1 -1
- package/dist/components/{p-Dii3YRL8.js → p-B-TtPvY1.js} +6 -6
- package/dist/components/{p-Dii3YRL8.js.map → p-B-TtPvY1.js.map} +1 -1
- package/dist/components/{p-CWcbfJk_.js → p-B4ov3VSW.js} +3 -3
- package/dist/components/{p-CWcbfJk_.js.map → p-B4ov3VSW.js.map} +1 -1
- package/dist/components/{p-C9mpmdY7.js → p-BCWurktL.js} +3 -3
- package/dist/components/{p-C9mpmdY7.js.map → p-BCWurktL.js.map} +1 -1
- package/dist/components/{p-BJ3jiUO1.js → p-BEnCw0ZO.js} +3 -3
- package/dist/components/{p-BJ3jiUO1.js.map → p-BEnCw0ZO.js.map} +1 -1
- package/dist/components/{p-B9POtTlS.js → p-BPf3Q0zD.js} +7 -7
- package/dist/components/{p-B9POtTlS.js.map → p-BPf3Q0zD.js.map} +1 -1
- package/dist/components/{p-DlUjW_k8.js → p-BXZUgr03.js} +3 -3
- package/dist/components/{p-DlUjW_k8.js.map → p-BXZUgr03.js.map} +1 -1
- package/dist/components/{p-BYQabW7z.js → p-B_fJQ6tu.js} +3 -3
- package/dist/components/{p-BYQabW7z.js.map → p-B_fJQ6tu.js.map} +1 -1
- package/dist/components/{p-CV45nlCD.js → p-Ba2Bva0s.js} +4 -4
- package/dist/components/{p-CV45nlCD.js.map → p-Ba2Bva0s.js.map} +1 -1
- package/dist/components/{p-DPbYSVpa.js → p-Bi42veQe.js} +9 -9
- package/dist/components/{p-DPbYSVpa.js.map → p-Bi42veQe.js.map} +1 -1
- package/dist/components/{p-oNphYUn4.js → p-Bj7oUjXe.js} +7 -7
- package/dist/components/{p-oNphYUn4.js.map → p-Bj7oUjXe.js.map} +1 -1
- package/dist/components/{p-DZamHD_l.js → p-Bl9tD7uq.js} +6 -6
- package/dist/components/{p-DZamHD_l.js.map → p-Bl9tD7uq.js.map} +1 -1
- package/dist/components/{p-f-gxuhc1.js → p-BnEnros_.js} +3 -3
- package/dist/components/{p-f-gxuhc1.js.map → p-BnEnros_.js.map} +1 -1
- package/dist/components/{p-d8VDcitV.js → p-BqD-6Uyq.js} +3 -3
- package/dist/components/{p-d8VDcitV.js.map → p-BqD-6Uyq.js.map} +1 -1
- package/dist/components/{p-CaGMMl7h.js → p-Br9iq5v0.js} +3 -3
- package/dist/components/{p-CaGMMl7h.js.map → p-Br9iq5v0.js.map} +1 -1
- package/dist/components/{p-0jHblgpi.js → p-C-cWMWjK.js} +4 -4
- package/dist/components/{p-0jHblgpi.js.map → p-C-cWMWjK.js.map} +1 -1
- package/dist/components/{p-BcCp3tOb.js → p-C0eoM6jL.js} +7 -7
- package/dist/components/{p-BcCp3tOb.js.map → p-C0eoM6jL.js.map} +1 -1
- package/dist/components/{p-B5b0cZrZ.js → p-C2fkwuiL.js} +6 -6
- package/dist/components/{p-B5b0cZrZ.js.map → p-C2fkwuiL.js.map} +1 -1
- package/dist/components/{p-Ck4dL21N.js → p-C9SxUKMo.js} +7 -7
- package/dist/components/{p-Ck4dL21N.js.map → p-C9SxUKMo.js.map} +1 -1
- package/dist/components/{p-CdoioB5a.js → p-CBm5dUcI.js} +10 -10
- package/dist/components/{p-CdoioB5a.js.map → p-CBm5dUcI.js.map} +1 -1
- package/dist/components/{p-3lUBnCHI.js → p-CHsDsF4j.js} +3 -3
- package/dist/components/{p-3lUBnCHI.js.map → p-CHsDsF4j.js.map} +1 -1
- package/dist/components/{p-4xjLemRb.js → p-CPhenplF.js} +7 -7
- package/dist/components/{p-4xjLemRb.js.map → p-CPhenplF.js.map} +1 -1
- package/dist/components/{p-CyTP66-5.js → p-CU207ROz.js} +3 -3
- package/dist/components/{p-CyTP66-5.js.map → p-CU207ROz.js.map} +1 -1
- package/dist/components/{p-B_r0ozbU.js → p-CUujfXGZ.js} +3 -3
- package/dist/components/{p-B_r0ozbU.js.map → p-CUujfXGZ.js.map} +1 -1
- package/dist/components/{p-DJhPOyNd.js → p-CX2dz2Bb.js} +11 -11
- package/dist/components/{p-DJhPOyNd.js.map → p-CX2dz2Bb.js.map} +1 -1
- package/dist/components/{p-ADDMMKkm.js → p-CdjHLYTf.js} +5 -5
- package/dist/components/{p-ADDMMKkm.js.map → p-CdjHLYTf.js.map} +1 -1
- package/dist/components/{p-B1xDyMh8.js → p-Cl93LJda.js} +7 -7
- package/dist/components/{p-B1xDyMh8.js.map → p-Cl93LJda.js.map} +1 -1
- package/dist/components/{p-CvZI8O_m.js → p-Cla6GVJl.js} +3 -3
- package/dist/components/{p-CvZI8O_m.js.map → p-Cla6GVJl.js.map} +1 -1
- package/dist/components/{p-CgsV1M3w.js → p-CvKT-Mki.js} +3 -3
- package/dist/components/{p-CgsV1M3w.js.map → p-CvKT-Mki.js.map} +1 -1
- package/dist/components/{p-C-JPpiBg.js → p-CxXO_cqj.js} +4 -4
- package/dist/components/{p-C-JPpiBg.js.map → p-CxXO_cqj.js.map} +1 -1
- package/dist/components/{p-Cs-rg2dx.js → p-D-wjggPy.js} +11 -11
- package/dist/components/{p-Cs-rg2dx.js.map → p-D-wjggPy.js.map} +1 -1
- package/dist/components/{p-CR_uLfdV.js → p-D36sFB-f.js} +4 -4
- package/dist/components/{p-CR_uLfdV.js.map → p-D36sFB-f.js.map} +1 -1
- package/dist/components/{p-DgJY72Xq.js → p-D5mdbZ1m.js} +3 -3
- package/dist/components/{p-DgJY72Xq.js.map → p-D5mdbZ1m.js.map} +1 -1
- package/dist/components/{p-ClyMeCj6.js → p-D8Xk8iM1.js} +11 -11
- package/dist/components/{p-ClyMeCj6.js.map → p-D8Xk8iM1.js.map} +1 -1
- package/dist/components/{p-lUUPgNcQ.js → p-DLlZq7iU.js} +3 -3
- package/dist/components/{p-lUUPgNcQ.js.map → p-DLlZq7iU.js.map} +1 -1
- package/dist/components/{p-DUQhW916.js → p-DPBLkGIO.js} +3 -3
- package/dist/components/{p-DUQhW916.js.map → p-DPBLkGIO.js.map} +1 -1
- package/dist/components/{p-DLFjdAqn.js → p-DXFYCyWz.js} +4 -4
- package/dist/components/{p-DLFjdAqn.js.map → p-DXFYCyWz.js.map} +1 -1
- package/dist/components/{p-D-6EO5vG.js → p-DZGcrLIr.js} +3 -3
- package/dist/components/{p-D-6EO5vG.js.map → p-DZGcrLIr.js.map} +1 -1
- package/dist/components/{p-dax2kiNX.js → p-DZmJJLfK.js} +12 -12
- package/dist/components/{p-dax2kiNX.js.map → p-DZmJJLfK.js.map} +1 -1
- package/dist/components/{p-xIHszt2i.js → p-D_o61BZJ.js} +7 -7
- package/dist/components/{p-xIHszt2i.js.map → p-D_o61BZJ.js.map} +1 -1
- package/dist/components/{p-BfqihN6x.js → p-D_w8j389.js} +3 -3
- package/dist/components/{p-BfqihN6x.js.map → p-D_w8j389.js.map} +1 -1
- package/dist/components/{p-BvVEbhsj.js → p-DoEOS1rz.js} +6 -6
- package/dist/components/{p-BvVEbhsj.js.map → p-DoEOS1rz.js.map} +1 -1
- package/dist/components/{p-D-kokQzu.js → p-Ds3Xf7HO.js} +6 -6
- package/dist/components/{p-D-kokQzu.js.map → p-Ds3Xf7HO.js.map} +1 -1
- package/dist/components/{p-Do7Cqwk9.js → p-Dxt_KaZJ.js} +3 -3
- package/dist/components/{p-Do7Cqwk9.js.map → p-Dxt_KaZJ.js.map} +1 -1
- package/dist/components/{p-BtKGUmZA.js → p-EFtIYe07.js} +5 -5
- package/dist/components/{p-BtKGUmZA.js.map → p-EFtIYe07.js.map} +1 -1
- package/dist/components/{p-Buh91n-u.js → p-GLNS1q2a.js} +5 -5
- package/dist/components/{p-Buh91n-u.js.map → p-GLNS1q2a.js.map} +1 -1
- package/dist/components/{p-29jzXFRt.js → p-LRN3e03F.js} +5 -5
- package/dist/components/{p-29jzXFRt.js.map → p-LRN3e03F.js.map} +1 -1
- package/dist/components/{p-B2d5L01N.js → p-NkWiianJ.js} +3 -3
- package/dist/components/{p-B2d5L01N.js.map → p-NkWiianJ.js.map} +1 -1
- package/dist/components/{p-ChukRxdO.js → p-Ol_RRMGB.js} +5 -5
- package/dist/components/{p-ChukRxdO.js.map → p-Ol_RRMGB.js.map} +1 -1
- package/dist/components/{p-B4ZyBtbE.js → p-Q-f34pkU.js} +3 -3
- package/dist/components/{p-B4ZyBtbE.js.map → p-Q-f34pkU.js.map} +1 -1
- package/dist/components/{p-B-HLuLv9.js → p-RKHdQGuh.js} +3 -3
- package/dist/components/{p-B-HLuLv9.js.map → p-RKHdQGuh.js.map} +1 -1
- package/dist/components/{p-BTB-TZKh.js → p-SfncvvQt.js} +4 -4
- package/dist/components/{p-BTB-TZKh.js.map → p-SfncvvQt.js.map} +1 -1
- package/dist/components/{p-B3Xwu-yM.js → p-YckM1D_L.js} +3 -3
- package/dist/components/{p-B3Xwu-yM.js.map → p-YckM1D_L.js.map} +1 -1
- package/dist/components/{p-BIrHEJY9.js → p-YpVuLovc.js} +10 -10
- package/dist/components/{p-BIrHEJY9.js.map → p-YpVuLovc.js.map} +1 -1
- package/dist/components/{p-CGoecBDY.js → p-_oPvxDjS.js} +4 -4
- package/dist/components/{p-CGoecBDY.js.map → p-_oPvxDjS.js.map} +1 -1
- package/dist/components/{p-D1C6erqJ.js → p-b61bpkSU.js} +3 -3
- package/dist/components/{p-D1C6erqJ.js.map → p-b61bpkSU.js.map} +1 -1
- package/dist/components/{p-DpZTt4Z2.js → p-bCUQRc-d.js} +6 -6
- package/dist/components/{p-DpZTt4Z2.js.map → p-bCUQRc-d.js.map} +1 -1
- package/dist/components/{p-VlIs_0mL.js → p-hyzEZfgL.js} +3 -3
- package/dist/components/{p-VlIs_0mL.js.map → p-hyzEZfgL.js.map} +1 -1
- package/dist/components/{p-BLNtZ0vP.js → p-iayhrwy5.js} +4 -4
- package/dist/components/{p-BLNtZ0vP.js.map → p-iayhrwy5.js.map} +1 -1
- package/dist/components/{p-DIFqNsF1.js → p-m6rlXYCx.js} +3 -3
- package/dist/components/{p-DIFqNsF1.js.map → p-m6rlXYCx.js.map} +1 -1
- package/dist/components/{p-DriV35S7.js → p-mWRI28It.js} +3 -3
- package/dist/components/{p-DriV35S7.js.map → p-mWRI28It.js.map} +1 -1
- package/dist/components/{p-BSXs_Q74.js → p-oJrSY_Eh.js} +12 -12
- package/dist/components/{p-BSXs_Q74.js.map → p-oJrSY_Eh.js.map} +1 -1
- package/dist/components/{p-mgGUqooi.js → p-ogdE0ZRA.js} +6 -6
- package/dist/components/{p-mgGUqooi.js.map → p-ogdE0ZRA.js.map} +1 -1
- package/dist/components/{p-C6vp9SBX.js → p-s4RWk35S.js} +3 -3
- package/dist/components/{p-C6vp9SBX.js.map → p-s4RWk35S.js.map} +1 -1
- package/dist/components/{p-bJjqNxwb.js → p-tUZeJBio.js} +9 -9
- package/dist/components/{p-bJjqNxwb.js.map → p-tUZeJBio.js.map} +1 -1
- package/dist/components/{p-CW1-Bxhz.js → p-wFg7jTyH.js} +9 -9
- package/dist/components/{p-CW1-Bxhz.js.map → p-wFg7jTyH.js.map} +1 -1
- package/dist/components/{p-qjhZOAlu.js → p-xQukwkcn.js} +3 -3
- package/dist/components/{p-qjhZOAlu.js.map → p-xQukwkcn.js.map} +1 -1
- package/dist/components/{p-CylWZljZ.js → p-yyUgGCAC.js} +8 -8
- package/dist/components/{p-CylWZljZ.js.map → p-yyUgGCAC.js.map} +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 +17 -17
- 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 +1 -1
- 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 +7 -7
- 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 +1 -1
- 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 +3 -3
- 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-BQiZz3hq.js → index-WVDCFmOb.js} +3 -3
- package/dist/esm/{index-BQiZz3hq.js.map → index-WVDCFmOb.js.map} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion_3.entry.js +1 -1
- 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_3.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-1QVd_Xa1.js → stzh-input-description-Cl6JJQPg.js} +3 -3
- package/dist/esm/{stzh-input-description-1QVd_Xa1.js.map → stzh-input-description-Cl6JJQPg.js.map} +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-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-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 +1 -1
- 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-017d7972.entry.js → p-00a89ed9.entry.js} +2 -2
- package/dist/stzh-components/{p-aa0c6582.entry.js → p-014c4efb.entry.js} +2 -2
- package/dist/stzh-components/{p-b027bd3c.entry.js → p-017820c0.entry.js} +2 -2
- package/dist/stzh-components/{p-2d295ba4.entry.js → p-06825cd6.entry.js} +2 -2
- package/dist/stzh-components/{p-82d8d7d3.entry.js → p-09dacbbb.entry.js} +2 -2
- package/dist/stzh-components/{p-69474c30.entry.js → p-0a0076e0.entry.js} +2 -2
- package/dist/stzh-components/{p-4b81c2d3.entry.js → p-0bd31c3f.entry.js} +2 -2
- package/dist/stzh-components/{p-8b9437b1.entry.js → p-0cb8ded0.entry.js} +2 -2
- package/dist/stzh-components/{p-7b783078.entry.js → p-0ecdbcb2.entry.js} +2 -2
- package/dist/stzh-components/{p-a53a9180.entry.js → p-0f7a068e.entry.js} +2 -2
- package/dist/stzh-components/{p-855f5edc.entry.js → p-106166bb.entry.js} +2 -2
- package/dist/stzh-components/{p-21f6dbca.entry.js → p-1244a4ad.entry.js} +2 -2
- package/dist/stzh-components/{p-aa1042b6.entry.js → p-12821225.entry.js} +2 -2
- package/dist/stzh-components/{p-27a84a6e.entry.js → p-1ba93bb7.entry.js} +2 -2
- package/dist/stzh-components/{p-1fb6d525.entry.js → p-1e6be6d0.entry.js} +2 -2
- package/dist/stzh-components/{p-04539966.entry.js → p-1ef74860.entry.js} +2 -2
- package/dist/stzh-components/{p-f1fe46ec.entry.js → p-204a03f9.entry.js} +2 -2
- package/dist/stzh-components/{p-10173c7f.entry.js → p-20e1a372.entry.js} +2 -2
- package/dist/stzh-components/{p-327a905a.entry.js → p-2152b3e7.entry.js} +2 -2
- package/dist/stzh-components/{p-82cdb1d8.entry.js → p-21c5f5b1.entry.js} +2 -2
- package/dist/stzh-components/{p-6953ea26.entry.js → p-25be19b2.entry.js} +2 -2
- package/dist/stzh-components/{p-d96a3ff4.entry.js → p-26be1f66.entry.js} +2 -2
- package/dist/stzh-components/{p-8ec2529b.entry.js → p-26db7280.entry.js} +2 -2
- package/dist/stzh-components/{p-18658450.entry.js → p-2c1e5e8b.entry.js} +2 -2
- package/dist/stzh-components/{p-4da2cfb3.entry.js → p-2d967d43.entry.js} +2 -2
- package/dist/stzh-components/{p-78a3b449.entry.js → p-2df734f4.entry.js} +3 -3
- package/dist/stzh-components/{p-c6dcd53e.entry.js → p-307aca14.entry.js} +2 -2
- package/dist/stzh-components/{p-badd991a.entry.js → p-314926bf.entry.js} +2 -2
- package/dist/stzh-components/{p-17b1a96e.entry.js → p-31778486.entry.js} +2 -2
- package/dist/stzh-components/{p-a7e3e8cd.entry.js → p-32370a7e.entry.js} +2 -2
- package/dist/stzh-components/{p-16cf8be6.entry.js → p-32d53bf2.entry.js} +2 -2
- package/dist/stzh-components/{p-103f702c.entry.js → p-336a013f.entry.js} +2 -2
- package/dist/stzh-components/{p-4019079e.entry.js → p-3aade6ab.entry.js} +2 -2
- package/dist/stzh-components/{p-9cc4168e.entry.js → p-3c23588a.entry.js} +2 -2
- package/dist/stzh-components/p-3f8bf92a.entry.js +2 -0
- package/dist/stzh-components/{p-6d1b6f60.entry.js.map → p-3f8bf92a.entry.js.map} +1 -1
- package/dist/stzh-components/{p-60721c92.entry.js → p-43284068.entry.js} +2 -2
- package/dist/stzh-components/{p-f70d4c62.entry.js → p-43b8cfde.entry.js} +2 -2
- package/dist/stzh-components/{p-339b48da.entry.js → p-46abd0ee.entry.js} +2 -2
- package/dist/stzh-components/{p-76329746.entry.js → p-480fcf35.entry.js} +2 -2
- package/dist/stzh-components/{p-ccb86e6b.entry.js → p-4851302c.entry.js} +2 -2
- package/dist/stzh-components/{p-8bc4bf60.entry.js → p-4917b35e.entry.js} +2 -2
- package/dist/stzh-components/{p-3b9e6083.entry.js → p-4bf3b5f3.entry.js} +2 -2
- package/dist/stzh-components/{p-42a99591.entry.js → p-4cfef42a.entry.js} +2 -2
- package/dist/stzh-components/{p-f0ae61bf.entry.js → p-4e259e7f.entry.js} +2 -2
- package/dist/stzh-components/{p-f55b8b36.entry.js → p-4ecbba07.entry.js} +2 -2
- package/dist/stzh-components/{p-ff753a9e.entry.js → p-4ef46628.entry.js} +2 -2
- package/dist/stzh-components/{p-5314c3ed.entry.js → p-4f0eb507.entry.js} +2 -2
- package/dist/stzh-components/{p-95bdc9c5.entry.js → p-50e739d8.entry.js} +2 -2
- package/dist/stzh-components/{p-033c474e.entry.js → p-519286e2.entry.js} +6 -6
- package/dist/stzh-components/{p-e46c11f5.entry.js → p-52594c33.entry.js} +2 -2
- package/dist/stzh-components/{p-0d20d5af.entry.js → p-5351b862.entry.js} +2 -2
- package/dist/stzh-components/{p-31c96628.entry.js → p-568981a4.entry.js} +2 -2
- package/dist/stzh-components/{p-91f04fc1.entry.js → p-5a82f73f.entry.js} +2 -2
- package/dist/stzh-components/{p-5e8a4ce9.entry.js → p-5d7a4338.entry.js} +2 -2
- package/dist/stzh-components/{p-c8770c93.entry.js → p-5db52fa5.entry.js} +2 -2
- package/dist/stzh-components/{p-16a48308.entry.js → p-5fceb96e.entry.js} +2 -2
- package/dist/stzh-components/{p-3b8f9063.entry.js → p-625f8711.entry.js} +2 -2
- package/dist/stzh-components/{p-c864da30.entry.js → p-69139874.entry.js} +2 -2
- package/dist/stzh-components/{p-7a3ecd1b.entry.js → p-6f165f23.entry.js} +2 -2
- package/dist/stzh-components/{p-2f49c8f7.entry.js → p-730fb5c2.entry.js} +2 -2
- package/dist/stzh-components/{p-9e6e44cc.entry.js → p-780cc1a5.entry.js} +2 -2
- package/dist/stzh-components/{p-f4a4fa26.entry.js → p-7d08eaa9.entry.js} +2 -2
- package/dist/stzh-components/{p-e4356710.entry.js → p-82d5f5ad.entry.js} +2 -2
- package/dist/stzh-components/{p-63e70153.entry.js → p-8b35cda8.entry.js} +2 -2
- package/dist/stzh-components/{p-1a619dcb.entry.js → p-8de9da26.entry.js} +2 -2
- package/dist/stzh-components/{p-42742579.entry.js → p-8f76f465.entry.js} +3 -3
- package/dist/stzh-components/{p-8596abc3.entry.js → p-8fb80103.entry.js} +2 -2
- package/dist/stzh-components/{p-7a05cb17.entry.js → p-8fcee79e.entry.js} +2 -2
- package/dist/stzh-components/{p-b8b12244.entry.js → p-9179335b.entry.js} +2 -2
- package/dist/stzh-components/{p-ff26df15.entry.js → p-967b7a54.entry.js} +2 -2
- package/dist/stzh-components/{p-88e52580.entry.js → p-96b8de3e.entry.js} +2 -2
- package/dist/stzh-components/{p-b4359a31.entry.js → p-9c61cba8.entry.js} +2 -2
- package/dist/stzh-components/{p-863760db.entry.js → p-9df3128f.entry.js} +2 -2
- package/dist/stzh-components/{p-89a708f4.entry.js → p-9e3a8711.entry.js} +2 -2
- package/dist/stzh-components/{p-60cb6129.entry.js → p-9f695971.entry.js} +2 -2
- package/dist/stzh-components/{p-8790ece9.entry.js → p-9ff014f1.entry.js} +2 -2
- package/dist/stzh-components/p-QItfqfyu.js +2 -0
- package/dist/stzh-components/{p-wQYjVTpY.js.map → p-QItfqfyu.js.map} +1 -1
- package/dist/stzh-components/{p-BQiZz3hq.js → p-WVDCFmOb.js} +2 -2
- package/dist/stzh-components/{p-BQiZz3hq.js.map → p-WVDCFmOb.js.map} +1 -1
- package/dist/stzh-components/{p-98b58539.entry.js → p-a0718284.entry.js} +2 -2
- package/dist/stzh-components/{p-d2048456.entry.js → p-a0b6d562.entry.js} +2 -2
- package/dist/stzh-components/{p-296b6210.entry.js → p-a104e707.entry.js} +2 -2
- package/dist/stzh-components/{p-8354aff6.entry.js → p-a278877a.entry.js} +2 -2
- package/dist/stzh-components/{p-183f58ec.entry.js → p-a421e8a0.entry.js} +2 -2
- package/dist/stzh-components/{p-b34ab266.entry.js → p-a8171280.entry.js} +2 -2
- package/dist/stzh-components/{p-23dfbfab.entry.js → p-a94ba33f.entry.js} +2 -2
- package/dist/stzh-components/{p-37903b87.entry.js → p-ab868670.entry.js} +2 -2
- package/dist/stzh-components/{p-d057e2ad.entry.js → p-b08fc8cf.entry.js} +2 -2
- package/dist/stzh-components/{p-10827ace.entry.js → p-b4e3e52a.entry.js} +2 -2
- package/dist/stzh-components/{p-41ae3508.entry.js → p-b7428699.entry.js} +2 -2
- package/dist/stzh-components/{p-b1cfaf65.entry.js → p-b9587fe9.entry.js} +2 -2
- package/dist/stzh-components/{p-d08c73d8.entry.js → p-b988ea63.entry.js} +2 -2
- package/dist/stzh-components/{p-73fc93a8.entry.js → p-b99109a6.entry.js} +2 -2
- package/dist/stzh-components/{p-da4f5180.entry.js → p-bd6065e7.entry.js} +2 -2
- package/dist/stzh-components/{p-299ed934.entry.js → p-be2a47c8.entry.js} +2 -2
- package/dist/stzh-components/{p-4640b18c.entry.js → p-be7e85d0.entry.js} +2 -2
- package/dist/stzh-components/{p-f16e444d.entry.js → p-bef76a75.entry.js} +2 -2
- package/dist/stzh-components/{p-5b3725d1.entry.js → p-bf8ea30f.entry.js} +2 -2
- package/dist/stzh-components/{p-686fee54.entry.js → p-c26c847d.entry.js} +2 -2
- package/dist/stzh-components/{p-027a4896.entry.js → p-c41dee66.entry.js} +2 -2
- package/dist/stzh-components/{p-4d0a2874.entry.js → p-c86d6269.entry.js} +2 -2
- package/dist/stzh-components/{p-44a5d62d.entry.js → p-c9fa28c4.entry.js} +2 -2
- package/dist/stzh-components/{p-3deaa0a9.entry.js → p-ca28db90.entry.js} +2 -2
- package/dist/stzh-components/{p-cc76d724.entry.js → p-ca9f7ff3.entry.js} +2 -2
- package/dist/stzh-components/{p-293158ae.entry.js → p-d3793844.entry.js} +2 -2
- package/dist/stzh-components/{p-fc107269.entry.js → p-d4bb18c3.entry.js} +2 -2
- package/dist/stzh-components/{p-f589b3e4.entry.js → p-d7d9cd05.entry.js} +2 -2
- package/dist/stzh-components/{p-48830a3b.entry.js → p-d9417daf.entry.js} +2 -2
- package/dist/stzh-components/{p-7e988fd5.entry.js → p-db0494ee.entry.js} +2 -2
- package/dist/stzh-components/{p-66fd88a3.entry.js → p-dead446b.entry.js} +2 -2
- package/dist/stzh-components/{p-b63b0c91.entry.js → p-e07c9fb1.entry.js} +2 -2
- package/dist/stzh-components/{p-a527b072.entry.js → p-e21c9013.entry.js} +7 -7
- package/dist/stzh-components/{p-4013e943.entry.js → p-e347a06b.entry.js} +2 -2
- package/dist/stzh-components/{p-3c6a6923.entry.js → p-e6032117.entry.js} +2 -2
- package/dist/stzh-components/{p-eaaf50e5.entry.js → p-e976ab4c.entry.js} +2 -2
- package/dist/stzh-components/{p-1dc548a4.entry.js → p-ead4866b.entry.js} +2 -2
- package/dist/stzh-components/{p-d6938dee.entry.js → p-eccc3a52.entry.js} +2 -2
- package/dist/stzh-components/{p-17fc51fd.entry.js → p-ed58d60f.entry.js} +2 -2
- package/dist/stzh-components/{p-d1173be6.entry.js → p-ef2af4d0.entry.js} +3 -3
- package/dist/stzh-components/{p-87dfa240.entry.js → p-f5562b5d.entry.js} +2 -2
- package/dist/stzh-components/{p-ff7f1cb8.entry.js → p-f6ad50e0.entry.js} +2 -2
- package/dist/stzh-components/{p-b6621fd9.entry.js → p-f7cde1f8.entry.js} +2 -2
- package/dist/stzh-components/{p-3e5f8f85.entry.js → p-f9a6e354.entry.js} +2 -2
- package/dist/stzh-components/{p-28bcc5d2.entry.js → p-fbc8e5fb.entry.js} +2 -2
- package/dist/stzh-components/{p-8f403273.entry.js → p-fc1c1b2f.entry.js} +2 -2
- package/dist/stzh-components/{p-bb6a2441.entry.js → p-fd447ae1.entry.js} +2 -2
- package/dist/stzh-components/{p-4c685dac.entry.js → p-fd5c190d.entry.js} +2 -2
- package/dist/stzh-components/{p-8dbaa5f9.entry.js → p-fd9a5ab6.entry.js} +2 -2
- package/dist/stzh-components/{p-d406920a.entry.js → p-fdc1490c.entry.js} +2 -2
- package/dist/stzh-components/{p-81e96281.entry.js → p-fe4dd322.entry.js} +2 -2
- package/dist/stzh-components/{p-5ec0e4f1.entry.js → p-fea524e1.entry.js} +2 -2
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/stzh-components/p-6d1b6f60.entry.js +0 -2
- package/dist/stzh-components/p-wQYjVTpY.js +0 -2
- /package/dist/stzh-components/{p-017d7972.entry.js.map → p-00a89ed9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aa0c6582.entry.js.map → p-014c4efb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b027bd3c.entry.js.map → p-017820c0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2d295ba4.entry.js.map → p-06825cd6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-82d8d7d3.entry.js.map → p-09dacbbb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-69474c30.entry.js.map → p-0a0076e0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4b81c2d3.entry.js.map → p-0bd31c3f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8b9437b1.entry.js.map → p-0cb8ded0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7b783078.entry.js.map → p-0ecdbcb2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a53a9180.entry.js.map → p-0f7a068e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-855f5edc.entry.js.map → p-106166bb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-21f6dbca.entry.js.map → p-1244a4ad.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aa1042b6.entry.js.map → p-12821225.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-27a84a6e.entry.js.map → p-1ba93bb7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1fb6d525.entry.js.map → p-1e6be6d0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-04539966.entry.js.map → p-1ef74860.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f1fe46ec.entry.js.map → p-204a03f9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-10173c7f.entry.js.map → p-20e1a372.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-327a905a.entry.js.map → p-2152b3e7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-82cdb1d8.entry.js.map → p-21c5f5b1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6953ea26.entry.js.map → p-25be19b2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d96a3ff4.entry.js.map → p-26be1f66.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8ec2529b.entry.js.map → p-26db7280.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-18658450.entry.js.map → p-2c1e5e8b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4da2cfb3.entry.js.map → p-2d967d43.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-78a3b449.entry.js.map → p-2df734f4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c6dcd53e.entry.js.map → p-307aca14.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-badd991a.entry.js.map → p-314926bf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-17b1a96e.entry.js.map → p-31778486.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a7e3e8cd.entry.js.map → p-32370a7e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-16cf8be6.entry.js.map → p-32d53bf2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-103f702c.entry.js.map → p-336a013f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4019079e.entry.js.map → p-3aade6ab.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9cc4168e.entry.js.map → p-3c23588a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-60721c92.entry.js.map → p-43284068.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f70d4c62.entry.js.map → p-43b8cfde.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-339b48da.entry.js.map → p-46abd0ee.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-76329746.entry.js.map → p-480fcf35.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ccb86e6b.entry.js.map → p-4851302c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8bc4bf60.entry.js.map → p-4917b35e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3b9e6083.entry.js.map → p-4bf3b5f3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42a99591.entry.js.map → p-4cfef42a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f0ae61bf.entry.js.map → p-4e259e7f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f55b8b36.entry.js.map → p-4ecbba07.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ff753a9e.entry.js.map → p-4ef46628.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5314c3ed.entry.js.map → p-4f0eb507.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-95bdc9c5.entry.js.map → p-50e739d8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-033c474e.entry.js.map → p-519286e2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e46c11f5.entry.js.map → p-52594c33.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0d20d5af.entry.js.map → p-5351b862.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-31c96628.entry.js.map → p-568981a4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-91f04fc1.entry.js.map → p-5a82f73f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5e8a4ce9.entry.js.map → p-5d7a4338.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c8770c93.entry.js.map → p-5db52fa5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-16a48308.entry.js.map → p-5fceb96e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3b8f9063.entry.js.map → p-625f8711.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c864da30.entry.js.map → p-69139874.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a3ecd1b.entry.js.map → p-6f165f23.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2f49c8f7.entry.js.map → p-730fb5c2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9e6e44cc.entry.js.map → p-780cc1a5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f4a4fa26.entry.js.map → p-7d08eaa9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e4356710.entry.js.map → p-82d5f5ad.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-63e70153.entry.js.map → p-8b35cda8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1a619dcb.entry.js.map → p-8de9da26.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42742579.entry.js.map → p-8f76f465.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8596abc3.entry.js.map → p-8fb80103.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a05cb17.entry.js.map → p-8fcee79e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b8b12244.entry.js.map → p-9179335b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ff26df15.entry.js.map → p-967b7a54.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-88e52580.entry.js.map → p-96b8de3e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4359a31.entry.js.map → p-9c61cba8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-863760db.entry.js.map → p-9df3128f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-89a708f4.entry.js.map → p-9e3a8711.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-60cb6129.entry.js.map → p-9f695971.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8790ece9.entry.js.map → p-9ff014f1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-98b58539.entry.js.map → p-a0718284.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d2048456.entry.js.map → p-a0b6d562.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-296b6210.entry.js.map → p-a104e707.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8354aff6.entry.js.map → p-a278877a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-183f58ec.entry.js.map → p-a421e8a0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b34ab266.entry.js.map → p-a8171280.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-23dfbfab.entry.js.map → p-a94ba33f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-37903b87.entry.js.map → p-ab868670.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d057e2ad.entry.js.map → p-b08fc8cf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-10827ace.entry.js.map → p-b4e3e52a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-41ae3508.entry.js.map → p-b7428699.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b1cfaf65.entry.js.map → p-b9587fe9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d08c73d8.entry.js.map → p-b988ea63.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-73fc93a8.entry.js.map → p-b99109a6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-da4f5180.entry.js.map → p-bd6065e7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-299ed934.entry.js.map → p-be2a47c8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4640b18c.entry.js.map → p-be7e85d0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f16e444d.entry.js.map → p-bef76a75.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5b3725d1.entry.js.map → p-bf8ea30f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-686fee54.entry.js.map → p-c26c847d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-027a4896.entry.js.map → p-c41dee66.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4d0a2874.entry.js.map → p-c86d6269.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-44a5d62d.entry.js.map → p-c9fa28c4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3deaa0a9.entry.js.map → p-ca28db90.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cc76d724.entry.js.map → p-ca9f7ff3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-293158ae.entry.js.map → p-d3793844.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fc107269.entry.js.map → p-d4bb18c3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f589b3e4.entry.js.map → p-d7d9cd05.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-48830a3b.entry.js.map → p-d9417daf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7e988fd5.entry.js.map → p-db0494ee.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-66fd88a3.entry.js.map → p-dead446b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b63b0c91.entry.js.map → p-e07c9fb1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a527b072.entry.js.map → p-e21c9013.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4013e943.entry.js.map → p-e347a06b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3c6a6923.entry.js.map → p-e6032117.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-eaaf50e5.entry.js.map → p-e976ab4c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1dc548a4.entry.js.map → p-ead4866b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d6938dee.entry.js.map → p-eccc3a52.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-17fc51fd.entry.js.map → p-ed58d60f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d1173be6.entry.js.map → p-ef2af4d0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-87dfa240.entry.js.map → p-f5562b5d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ff7f1cb8.entry.js.map → p-f6ad50e0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b6621fd9.entry.js.map → p-f7cde1f8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3e5f8f85.entry.js.map → p-f9a6e354.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-28bcc5d2.entry.js.map → p-fbc8e5fb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8f403273.entry.js.map → p-fc1c1b2f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bb6a2441.entry.js.map → p-fd447ae1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4c685dac.entry.js.map → p-fd5c190d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8dbaa5f9.entry.js.map → p-fd9a5ab6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d406920a.entry.js.map → p-fdc1490c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-81e96281.entry.js.map → p-fe4dd322.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5ec0e4f1.entry.js.map → p-fea524e1.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as s,c as t,h as e,a as i,d as a}from"./p-BQiZz3hq.js";import{i as h}from"./p--MYN2wgX.js";import{a as c,r as o,m as r}from"./p-CUGRmgip.js";import"./p-BubviQku.js";const l=()=>`.sc-stzh-carousel-h{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}[hidden].sc-stzh-carousel-h,[stzh-hidden].sc-stzh-carousel-h{display:none}.sc-stzh-carousel-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-carousel-h *.sc-stzh-carousel,.sc-stzh-carousel-h *.sc-stzh-carousel::before,.sc-stzh-carousel-h *.sc-stzh-carousel::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)}.sc-stzh-carousel-h .has-focus.sc-stzh-carousel{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-carousel-h .stzh-fylingfocus-focused.sc-stzh-carousel{outline-style:none !important}.sc-stzh-carousel-h .stzh-fylingfocus-focused.sc-stzh-carousel::-moz-focus-inner{border:0 !important}.sc-stzh-carousel-h{--gutter:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-carousel-h{--gutter:var(--stzh-space-large)}}@media screen and (min-width: 900px){.sc-stzh-carousel-h{--gutter:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-carousel-h{--gutter:var(--stzh-space-xxlarge)}}.sc-stzh-carousel-h{--peek:calc(var(--peek-in, 0px) + var(--peek-out, 0px));--peek-in:calc(var(--stzh-space-medium) + var(--stzh-space-medium));--padding-top:0px;--padding-bottom:0px;--snap-stop:always;--slides:1;--slide-size:calc(\n (100% - (var(--slides) - 1) * var(--gutter)) / var(--slides)\n )}@media screen and (min-width: 600px){.sc-stzh-carousel-h{--peek-in:calc(\n var(--stzh-space-xxxlarge) + var(--stzh-space-xlarge)\n )}}@media screen and (min-width: 900px){.sc-stzh-carousel-h{--peek-in:calc(var(--stzh-space-big) + var(--stzh-space-xxlarge))}}.sc-stzh-carousel-h.sc-stzh-carousel-s>*,.sc-stzh-carousel-h .sc-stzh-carousel-s>*{width:100%;height:inherit;flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:var(--snap-stop);transition:opacity var(--stzh-base-transition-animation-speed)}.sc-stzh-carousel-h .sc-stzh-carousel-s [inert]{opacity:0.5}.sc-stzh-carousel-h.sc-stzh-carousel-s>*,.sc-stzh-carousel-h.sc-stzh-carousel-s>*:where(stzh-figure[inert]),.sc-stzh-carousel-h .sc-stzh-carousel-s>*:where(stzh-figure[inert]){--caption-opacity:0}.sc-stzh-carousel-h .sc-stzh-carousel-s img{-webkit-user-drag:none;user-drag:none;-webkit-user-select:none;user-select:none}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions]{position:absolute;top:0;left:0;z-index:1;pointer-events:none;padding:0 var(--peek)}@media print{.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions]{display:none}}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] stzh-text,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-text{width:auto}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] stzh-button,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-button{pointer-events:all}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous,.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next{position:absolute;top:50%;transform:translateY(-50%)}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous{left:calc((var(--stzh-space-medium) + var(--stzh-space-medium)) / -1)}@media screen and (min-width: 600px){.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous{left:calc((var(--stzh-space-xxxlarge) + var(--stzh-space-xlarge)) / -1)}}@media screen and (min-width: 900px){.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous{left:calc((var(--stzh-space-big) + var(--stzh-space-xxlarge)) / -1)}}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next{right:calc((var(--stzh-space-medium) + var(--stzh-space-medium)) / -1)}@media screen and (min-width: 600px){.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next{right:calc((var(--stzh-space-xxxlarge) + var(--stzh-space-xlarge)) / -1)}}@media screen and (min-width: 900px){.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next{right:calc((var(--stzh-space-big) + var(--stzh-space-xxlarge)) / -1)}}.sc-stzh-carousel-h.sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-space,.sc-stzh-carousel-h.sc-stzh-carousel-s>stzh-ratio[slot=actions],.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-space,.sc-stzh-carousel-h.sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-hspace,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-hspace,.sc-stzh-carousel-h.sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-vspace,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-vspace{padding:var(--stzh-space-xsmall)}.sc-stzh-carousel-h.sc-stzh-carousel-s>stzh-ratio[slot=actions],.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions]{--background-color:transparent}[variant=cards].sc-stzh-carousel-h{--gutter:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){[variant=cards].sc-stzh-carousel-h{--gutter:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){[variant=cards].sc-stzh-carousel-h{--gutter:var(--stzh-space-small)}}[variant=cards].sc-stzh-carousel-h{--padding-top:0.25rem;--padding-bottom:0.25rem}@media screen and (min-width: 900px){[variant=cards].sc-stzh-carousel-h{--peek-out:2.5rem}}@media screen and (min-width: 1260px){[variant=cards].sc-stzh-carousel-h{--peek-out:4rem}}@media screen and (min-width: 1600px){[variant=cards].sc-stzh-carousel-h{--peek-out:calc(\n (100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2\n )}}.sc-stzh-carousel-h[variant=cards].sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h[variant=cards] .sc-stzh-carousel-s>[slot=actions]{position:absolute;order:1;margin-top:calc(var(--stzh-space-medium) - var(--padding-bottom))}[no-peek].sc-stzh-carousel-h:not([no-peek=false]){--peek-out:0px;--peek-in:0px}.stzh-carousel.sc-stzh-carousel{position:relative;display:flex;flex-direction:column;width:calc(100% + var(--peek-out) * 2);margin-left:calc(var(--peek-out) / -1);margin-right:calc(var(--peek-out) / -1)}.stzh-carousel__vhidden.sc-stzh-carousel{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-carousel__indicator.sc-stzh-carousel{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-carousel__indicator.sc-stzh-carousel{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-carousel__indicator.sc-stzh-carousel{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-carousel__indicator.sc-stzh-carousel{margin-top:var(--stzh-space-xxlarge)}}.stzh-carousel__indicator.sc-stzh-carousel{margin-left:auto;margin-right:auto;position:relative;width:14.375rem;height:0.25rem;background-color:var(--stzh-color-black20op)}.stzh-carousel__indicator-track.sc-stzh-carousel{position:absolute;background-color:var(--stzh-color-secondary50);height:0.375rem;left:0px;bottom:0px;transition-property:left, width;transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-carousel__scroll.sc-stzh-carousel{position:relative;grid-area:slides;display:grid;width:100%;height:100%;place-items:center;overflow-x:auto;overflow-y:visible;grid-auto-flow:column;grid-auto-columns:var(--slide-size);grid-auto-rows:100%;column-gap:var(--gutter);-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 var(--peek);padding:var(--padding-top) var(--peek) var(--padding-bottom)}@media (prefers-reduced-motion: reduce){.stzh-carousel__scroll.sc-stzh-carousel{scroll-behavior:auto}}.stzh-carousel__scroll.sc-stzh-carousel::-webkit-scrollbar{display:none}.stzh-carousel--is-draggable.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:grab}.stzh-carousel--is-dragging.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:grabbing}.stzh-carousel--is-disabled.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:not-allowed;overflow:hidden}.stzh-carousel--is-non-interactive.sc-stzh-carousel{pointer-events:none;touch-action:none}`;const n=window.matchMedia("(prefers-reduced-motion: reduce)");let u=0;const d=class{constructor(e){s(this,e);this.stzhSlideStart=t(this,"stzhSlideStart");this.stzhSlidePassed=t(this,"stzhSlidePassed");this.stzhSlideEnd=t(this,"stzhSlideEnd");this.variant="default";this.disabled=false;this.noPeek=false;this.slides=1;this.slidesSmall=0;this.slidesMedium=0;this.slidesLarge=0;this.slidesUltra=0;this.slide=0;this.autoplay=false;this.autoplayTimeout=3e3;this.nonInteractive=false;this.preventMouseDrag=false;this.preventAutoplayPause=false;this.preventAutoplayStop=false;this.tabThrough=false;this.withTrack=false;this.scrollTimeout=100;this.distanceQuickSwipe=40;this.distancePreventClick=6;this.autoplayRunning=false;this.autoplayDisabledByMotionMedia=false;this.autoplayDisabledByMouse=false;this.autoplayDisabledByFocus=false;this.autoplayDisabledByScroll=false;this.autoplayDisabledByDrag=false;this.dragging=false;this.scrolling=false;this.ariaLive="";this.currentSlides=1;this.currentSwipeSlides=1;this.slideElements=[];this.previousElements=[];this.nextElements=[];this.navigationTextElements=[];this.slideScrollLeft=0;this.scrolledByAutoplay=false;this.scrollTimeoutId=null;this.lastX=null;this.startX=null;this.startScrollLeft=null;this.disableTimeoutId=null;this.stoppedDragging=false;this.onReducedMotionMediaChange=()=>{this.autoplayDisabledByMotionMedia=n.matches};this.onMouseenter=()=>{if(!this.preventAutoplayPause){this.autoplayDisabledByMouse=true}};this.onMouseleave=()=>{this.autoplayDisabledByMouse=false};this.onFocusin=()=>{if(!this.preventAutoplayPause){this.autoplayDisabledByFocus=true}};this.onFocusout=()=>{this.autoplayDisabledByFocus=false};this.onPreviousClick=()=>{this.scrollToPreviousSnapPoint()};this.onNextClick=()=>{this.scrollToNextSnapPoint()};this.onSlideResize=()=>{if(this.scrollElement){this.itemSize=this.sizingMethod()}};this.onMutation=()=>{if(!this.scrollElement){return}this.slideElements=Array.from(this.scrollElement.children);this.slideElements.forEach(((s,t)=>{s.setAttribute("role","group");s.setAttribute("aria-roledescription","slide");s.setAttribute("aria-label",this.localization.slideLabel.replace(/\{current\}/gi,(t+1).toString()).replace(/\{total\}/gi,this.slideElements.length.toString()))}));this.previousElements=Array.from(this.element.querySelectorAll("[data-stzh-carousel-previous]"));this.nextElements=Array.from(this.element.querySelectorAll("[data-stzh-carousel-next]"));this.navigationTextElements=Array.from(this.element.querySelectorAll("[data-stzh-carousel-navigation-text]"))};this.onScroll=()=>{if(this.scrollTimeoutId===null){const s=this.scrollElement.scrollLeft>this.slideScrollLeft?1:-1;this.scrolling=true;if(!this.scrolledByAutoplay){if(this.preventAutoplayStop){this.autoplayDisabledByScroll=true}else{this.autoplay=false}}this.stzhSlideStart.emit({component:"stzh-carousel",index:this.slide+s})}if(this.slide!==this.calculateSlide()){this.update();this.stzhSlidePassed.emit({component:"stzh-carousel",index:this.slide})}this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId);this.scrollTimeoutId=window.setTimeout(this.onScrollEnd,this.scrollTimeout)};this.onScrollEnd=()=>{this.scrollTimeoutId=null;this.update();this.scrolling=false;this.scrolledByAutoplay=false;this.autoplayDisabledByScroll=false;if(this.stoppedDragging){this.stoppedDragging=false;this.scrollElement.style.removeProperty("scroll-behavior");this.scrollElement.style.removeProperty("scroll-snap-type")}if(this.tabThrough||this.variant==="cards"){this.ariaLive=""}else{this.ariaLive=(this.currentSlides>1?this.localization.slidesLabel:this.localization.slideLabel).replace(/\{(current|from)\}/gi,(this.slide+1).toString()).replace(/\{to\}/gi,(this.slide+this.currentSlides).toString()).replace(/\{total\}/gi,this.slideElements.length.toString())}this.stzhSlideEnd.emit({component:"stzh-carousel",index:this.slide})};this.onMediaChange=()=>{const s=r("ultra").matches;const t=r("large").matches;const e=r("medium").matches;const i=r("small").matches;if(s&&this.slidesUltra!==0){this.currentSlides=this.slidesUltra}else if(t&&this.slidesLarge!==0){this.currentSlides=this.slidesLarge}else if(e&&this.slidesMedium!==0){this.currentSlides=this.slidesMedium}else if(i&&this.slidesSmall!==0){this.currentSlides=this.slidesSmall}else{this.currentSlides=this.slides}this.currentSwipeSlides=this.currentSlides};this.mouseMove=s=>{const t=this.lastX-s.clientX;this.lastX=s.clientX;this.scrollElement.scrollLeft+=t};this.startDragging=s=>{s.preventDefault();this.disableTimeoutId&&window.clearTimeout(this.disableTimeoutId);this.disableTimeoutId=null;this.startX=this.lastX=s.clientX;this.startScrollLeft=this.scrollElement.scrollLeft;this.scrollElement.style.setProperty("scroll-behavior","auto");this.scrollElement.style.setProperty("scroll-snap-type","unset");this.dragging=true;if(this.preventAutoplayStop){this.autoplayDisabledByDrag=true}else{this.autoplay=false}window.addEventListener("mousemove",this.mouseMove);window.addEventListener("mouseup",this.stopDragging,{capture:true});window.addEventListener("click",this.checkClick,{capture:true})};this.stopDragging=s=>{s.preventDefault();const t=Math.abs(this.startX-this.lastX);const e=t>this.distanceQuickSwipe;const i=this.lastX>this.startX?1:-1;this.dragging=false;this.autoplayDisabledByDrag=false;const a=this.scrollElement.scrollLeft;this.scrollElement.style.removeProperty("scroll-snap-type");const h=this.scrollElement.scrollLeft;this.scrollElement.style.setProperty("scroll-snap-type","unset");this.scrollElement.scrollTo({left:a,behavior:"auto"});if(h!==this.startScrollLeft||!e){this.scrollElement.scrollTo({left:h,behavior:n.matches?"auto":"smooth"})}else if(i===1){this.slideToPrevious()}else{this.slideToNext()}window.removeEventListener("mousemove",this.mouseMove);window.removeEventListener("mouseup",this.stopDragging,{capture:true});this.stoppedDragging=true};this.checkClick=s=>{const t=Math.abs(this.startX-this.lastX);const e=t>this.distancePreventClick;if(e){s.preventDefault();s.stopPropagation()}this.lastX=null;window.removeEventListener("click",this.checkClick,{capture:true})};this.autoplayInterval=()=>{this.scrolledByAutoplay=true;if(this.hasReachedLastSlide()){this.slideTo(0)}else{this.slideToNext()}}}async slideTo(s,t="smooth"){this.scrollToSlide(s,t)}async slideToPrevious(s="smooth"){this.scrollToPreviousSnapPoint(s)}async slideToNext(s="smooth"){this.scrollToNextSnapPoint(s)}disabledWatcher(){if(this.disabled){this.scrollElement&&this.scrollElement.removeEventListener("scroll",this.onScroll);this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId);this.scrollTimeoutId=null;this.element.removeEventListener("mouseenter",this.onMouseenter);this.element.removeEventListener("mouseleave",this.onMouseleave);this.element.removeEventListener("focusin",this.onFocusin);this.element.removeEventListener("focusout",this.onFocusout);this.onReducedMotionMediaChange();n&&n.removeEventListener("change",this.onReducedMotionMediaChange)}else{this.scrollElement&&this.scrollElement.addEventListener("scroll",this.onScroll,{passive:true});this.element.addEventListener("mouseenter",this.onMouseenter);this.element.addEventListener("mouseleave",this.onMouseleave);this.element.addEventListener("focusin",this.onFocusin);this.element.addEventListener("focusout",this.onFocusout);n&&n.addEventListener("change",this.onReducedMotionMediaChange)}}preventMouseDragWatcher(){if(this.preventMouseDrag||this.disabled){this.disableTimeoutId&&window.clearTimeout(this.disableTimeoutId);this.disableTimeoutId=null;this.scrollElement&&this.scrollElement.removeEventListener("mousedown",this.startDragging);this.lastX=null}else{this.scrollElement&&this.scrollElement.addEventListener("mousedown",this.startDragging)}}autoplayRunningWatcher(){if(!this.autoplay||this.disabled||this.autoplayDisabledByMotionMedia||this.autoplayDisabledByMouse||this.autoplayDisabledByFocus||this.autoplayDisabledByScroll||this.autoplayDisabledByDrag){this.autoplayIntervalId&&window.clearInterval(this.autoplayIntervalId);this.autoplayIntervalId=null;this.autoplayRunning=false}else{this.autoplayIntervalId&&window.clearInterval(this.autoplayIntervalId);this.autoplayIntervalId=window.setInterval(this.autoplayInterval,this.autoplayTimeout);this.autoplayRunning=true}}snapAlignWatcher(){this.slideElements.forEach(((s,t)=>{const e=(t-this.currentSwipeSlides)%this.currentSwipeSlides===0;if(e){s.style.removeProperty("scroll-snap-align")}else{s.style.setProperty("scroll-snap-align","none")}}))}inertWatcher(){this.slideElements.forEach(((s,t)=>{const e=this.tabThrough||this.variant==="cards"||t>=this.slide&&t<this.slide+this.currentSlides;s.inert=!e;if(e){s.removeAttribute("aria-hidden")}else{s.setAttribute("aria-hidden",e?"false":"true")}}))}prevNextNavigationWatcher(){const s=this.tabThrough||this.variant==="cards";const t=t=>{const e=h(t);if(s){t.setAttribute("aria-hidden","true");t.setAttribute(e?"a11y-tabindex":"tabindex","-1")}else{t.removeAttribute("aria-hidden");t.removeAttribute(e?"a11y-tabindex":"tabindex")}};this.nextElements.forEach(t);this.previousElements.forEach(t)}prevNextHiddenWatcher(){const s=this.slideElements.length<=this.currentSlides;const t=t=>{if(s){t.setAttribute("hidden","")}else{t.removeAttribute("hidden")}};this.navigationTextElements.forEach(t);this.nextElements.forEach(t);this.previousElements.forEach(t)}nextPrevDisabledWatcher(){if(!this.scrollElement){return}const s=this.slide===0;const t=this.hasReachedLastSlide();this.nextElements.forEach((s=>{const e=h(s);s.setAttribute(e?"a11y-disabled":"aria-disabled",t||this.disabled?"true":"false")}));this.previousElements.forEach((t=>{const e=h(t);t.setAttribute(e?"a11y-disabled":"aria-disabled",s||this.disabled?"true":"false")}))}nextElementsWatcher(){this.nextElements.forEach((s=>{const t=h(s);s.addEventListener("click",this.onNextClick);s.setAttribute(t?"a11y-controls":"aria-controls",`${this.carouselId}-scroll`)}))}previousElementsWatcher(){this.previousElements.forEach((s=>{const t=h(s);s.addEventListener("click",this.onPreviousClick);s.setAttribute(t?"a11y-controls":"aria-controls",`${this.carouselId}-scroll`)}))}scrollToSlide(s,t="smooth"){if(this.disabled){return}this.scrollElement.scrollTo({left:s*this.itemSize,behavior:n.matches?"auto":t})}sizingMethod(){const s=window.getComputedStyle(this.scrollElement);return(this.scrollElement.firstElementChild||this.scrollElement).offsetWidth+parseInt(s.getPropertyValue("column-gap"),10)}calculateSlide(){return Math.round(this.scrollElement.scrollLeft/this.itemSize)}scrollToPreviousSnapPoint(s="smooth"){if(this.disabled){return}let t=this.slide;let e=false;while(!e&&t>0){t=t-1;e=(t-this.currentSwipeSlides)%this.currentSwipeSlides===0}this.slideTo(t,s)}scrollToNextSnapPoint(s="smooth"){if(this.disabled){return}this.slideTo(this.slide+this.currentSwipeSlides,s)}update(){this.slide=this.calculateSlide();this.slideScrollLeft=this.slide*this.itemSize;this.onMutation()}hasReachedLastSlide(){const{scrollLeft:s,offsetWidth:t,scrollWidth:e}=this.scrollElement;return Math.ceil(s+t)>=e}async componentWillLoad(){this.carouselId=`stzh-carousel-${u++}`;this.onMediaChange();if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"carousel")}}componentDidLoad(){this.itemSize=this.sizingMethod();this.update();this.disabledWatcher();this.preventMouseDragWatcher();this.autoplayRunningWatcher()}connectedCallback(){c(this.onMediaChange);this.resizeObserver=new ResizeObserver(this.onSlideResize);this.resizeObserver.observe(this.element);this.mutationObserver=new MutationObserver(this.onMutation);this.mutationObserver.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId);this.scrollTimeoutId=null;o(this.onMediaChange);if(this.resizeObserver){this.resizeObserver.disconnect()}if(this.mutationObserver){this.mutationObserver.disconnect()}}render(){var s,t;const a={"stzh-carousel":true,"stzh-carousel--is-disabled":this.disabled,"stzh-carousel--is-draggable":!this.preventMouseDrag,"stzh-carousel--is-non-interactive":this.nonInteractive,"stzh-carousel--is-dragging":this.dragging,"stzh-carousel--is-scrolling":this.scrolling,"stzh-carousel--has-autoplay":this.autoplay,"stzh-carousel--is-autoplay-running":this.autoplayRunning};return e(i,{key:"c17bdead6d4602f963c3819bdb62ad5c6b0fa879","aria-roledescription":"carousel",style:{"--slides":this.currentSlides.toString()}},e("div",{key:"0957cad4ada3b8e08a2038585a48976aa252f559",class:a},e("slot",{key:"cf07207cccb1c2c78563a179b083b5ea1ad5a0b4",name:"actions"}),e("div",{key:"71629bc0a3a38445036c92495848976fbe7983bd",class:"stzh-carousel__vhidden","aria-live":this.autoplayDisabledByFocus||this.autoplayDisabledByMouse?"polite":"off"},this.ariaLive),e("div",{key:"fe00537e0cb086cb0ada9a8b45a471f7413a4c9b",ref:s=>this.scrollElement=s,id:`${this.carouselId}-scroll`,class:"stzh-carousel__scroll"},e("slot",{key:"2afa84cf50c09a90afa630e6314f9611280b3def"})),this.withTrack&&e("div",{key:"b95afceb9dd007e53073b7f7a860b003809da629",class:"stzh-carousel__indicator"},e("div",{key:"19ed7b5ce66733bbece10106d1c18d31b48ba0c7",class:"stzh-carousel__indicator-track",style:{left:`${100/(((s=this.slideElements)===null||s===void 0?void 0:s.length)||1)*this.slide}%`,width:`${100/(((t=this.slideElements)===null||t===void 0?void 0:t.length)||1)*this.currentSlides||0}%`}}))))}get element(){return a(this)}static get watchers(){return{disabled:["disabledWatcher","preventMouseDragWatcher","autoplayRunningWatcher","nextPrevDisabledWatcher"],preventMouseDrag:["preventMouseDragWatcher"],autoplay:["autoplayRunningWatcher"],autoplayDisabledByMotionMedia:["autoplayRunningWatcher"],autoplayDisabledByMouse:["autoplayRunningWatcher"],autoplayDisabledByFocus:["autoplayRunningWatcher"],autoplayDisabledByScroll:["autoplayRunningWatcher"],autoplayDisabledByDrag:["autoplayRunningWatcher"],autoplayTimeout:["autoplayRunningWatcher"],slideElements:["snapAlignWatcher","inertWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher"],currentSwipeSlides:["snapAlignWatcher"],slide:["inertWatcher","nextPrevDisabledWatcher"],variant:["inertWatcher","prevNextNavigationWatcher"],currentSlides:["inertWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher"],tabThrough:["inertWatcher","prevNextNavigationWatcher"],nextElements:["prevNextNavigationWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher","nextElementsWatcher"],previousElements:["prevNextNavigationWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher","previousElementsWatcher"],navigationTextElements:["prevNextHiddenWatcher"]}}};d.style=l();export{d as stzh_carousel};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as s,c as t,h as e,a as i,d as a}from"./p-WVDCFmOb.js";import{i as h}from"./p--MYN2wgX.js";import{a as c,r as o,m as r}from"./p-CUGRmgip.js";import"./p-BubviQku.js";const l=()=>`.sc-stzh-carousel-h{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}[hidden].sc-stzh-carousel-h,[stzh-hidden].sc-stzh-carousel-h{display:none}.sc-stzh-carousel-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-carousel-h *.sc-stzh-carousel,.sc-stzh-carousel-h *.sc-stzh-carousel::before,.sc-stzh-carousel-h *.sc-stzh-carousel::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)}.sc-stzh-carousel-h .has-focus.sc-stzh-carousel{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-carousel-h .stzh-fylingfocus-focused.sc-stzh-carousel{outline-style:none !important}.sc-stzh-carousel-h .stzh-fylingfocus-focused.sc-stzh-carousel::-moz-focus-inner{border:0 !important}.sc-stzh-carousel-h{--gutter:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-carousel-h{--gutter:var(--stzh-space-large)}}@media screen and (min-width: 900px){.sc-stzh-carousel-h{--gutter:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-carousel-h{--gutter:var(--stzh-space-xxlarge)}}.sc-stzh-carousel-h{--peek:calc(var(--peek-in, 0px) + var(--peek-out, 0px));--peek-in:calc(var(--stzh-space-medium) + var(--stzh-space-medium));--padding-top:0px;--padding-bottom:0px;--snap-stop:always;--slides:1;--slide-size:calc(\n (100% - (var(--slides) - 1) * var(--gutter)) / var(--slides)\n )}@media screen and (min-width: 600px){.sc-stzh-carousel-h{--peek-in:calc(\n var(--stzh-space-xxxlarge) + var(--stzh-space-xlarge)\n )}}@media screen and (min-width: 900px){.sc-stzh-carousel-h{--peek-in:calc(var(--stzh-space-big) + var(--stzh-space-xxlarge))}}.sc-stzh-carousel-h.sc-stzh-carousel-s>*,.sc-stzh-carousel-h .sc-stzh-carousel-s>*{width:100%;height:inherit;flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:var(--snap-stop);transition:opacity var(--stzh-base-transition-animation-speed)}.sc-stzh-carousel-h .sc-stzh-carousel-s [inert]{opacity:0.5}.sc-stzh-carousel-h.sc-stzh-carousel-s>*,.sc-stzh-carousel-h.sc-stzh-carousel-s>*:where(stzh-figure[inert]),.sc-stzh-carousel-h .sc-stzh-carousel-s>*:where(stzh-figure[inert]){--caption-opacity:0}.sc-stzh-carousel-h .sc-stzh-carousel-s img{-webkit-user-drag:none;user-drag:none;-webkit-user-select:none;user-select:none}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions]{position:absolute;top:0;left:0;z-index:1;pointer-events:none;padding:0 var(--peek)}@media print{.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions]{display:none}}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] stzh-text,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-text{width:auto}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] stzh-button,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-button{pointer-events:all}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous,.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next{position:absolute;top:50%;transform:translateY(-50%)}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous{left:calc((var(--stzh-space-medium) + var(--stzh-space-medium)) / -1)}@media screen and (min-width: 600px){.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous{left:calc((var(--stzh-space-xxxlarge) + var(--stzh-space-xlarge)) / -1)}}@media screen and (min-width: 900px){.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-previous{left:calc((var(--stzh-space-big) + var(--stzh-space-xxlarge)) / -1)}}.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next{right:calc((var(--stzh-space-medium) + var(--stzh-space-medium)) / -1)}@media screen and (min-width: 600px){.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next{right:calc((var(--stzh-space-xxxlarge) + var(--stzh-space-xlarge)) / -1)}}@media screen and (min-width: 900px){.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h.sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next,.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] .stzh-carousel-action-next{right:calc((var(--stzh-space-big) + var(--stzh-space-xxlarge)) / -1)}}.sc-stzh-carousel-h.sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-space,.sc-stzh-carousel-h.sc-stzh-carousel-s>stzh-ratio[slot=actions],.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-space,.sc-stzh-carousel-h.sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-hspace,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-hspace,.sc-stzh-carousel-h.sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-vspace,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-vspace{padding:var(--stzh-space-xsmall)}.sc-stzh-carousel-h.sc-stzh-carousel-s>stzh-ratio[slot=actions],.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions]{--background-color:transparent}[variant=cards].sc-stzh-carousel-h{--gutter:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){[variant=cards].sc-stzh-carousel-h{--gutter:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){[variant=cards].sc-stzh-carousel-h{--gutter:var(--stzh-space-small)}}[variant=cards].sc-stzh-carousel-h{--padding-top:0.25rem;--padding-bottom:0.25rem}@media screen and (min-width: 900px){[variant=cards].sc-stzh-carousel-h{--peek-out:2.5rem}}@media screen and (min-width: 1260px){[variant=cards].sc-stzh-carousel-h{--peek-out:4rem}}@media screen and (min-width: 1600px){[variant=cards].sc-stzh-carousel-h{--peek-out:calc(\n (100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2\n )}}.sc-stzh-carousel-h[variant=cards].sc-stzh-carousel-s>[slot=actions],.sc-stzh-carousel-h[variant=cards] .sc-stzh-carousel-s>[slot=actions]{position:absolute;order:1;margin-top:calc(var(--stzh-space-medium) - var(--padding-bottom))}[no-peek].sc-stzh-carousel-h:not([no-peek=false]){--peek-out:0px;--peek-in:0px}.stzh-carousel.sc-stzh-carousel{position:relative;display:flex;flex-direction:column;width:calc(100% + var(--peek-out) * 2);margin-left:calc(var(--peek-out) / -1);margin-right:calc(var(--peek-out) / -1)}.stzh-carousel__vhidden.sc-stzh-carousel{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-carousel__indicator.sc-stzh-carousel{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-carousel__indicator.sc-stzh-carousel{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-carousel__indicator.sc-stzh-carousel{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-carousel__indicator.sc-stzh-carousel{margin-top:var(--stzh-space-xxlarge)}}.stzh-carousel__indicator.sc-stzh-carousel{margin-left:auto;margin-right:auto;position:relative;width:14.375rem;height:0.25rem;background-color:var(--stzh-color-black20op)}.stzh-carousel__indicator-track.sc-stzh-carousel{position:absolute;background-color:var(--stzh-color-secondary50);height:0.375rem;left:0px;bottom:0px;transition-property:left, width;transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-carousel__scroll.sc-stzh-carousel{position:relative;grid-area:slides;display:grid;width:100%;height:100%;place-items:center;overflow-x:auto;overflow-y:visible;grid-auto-flow:column;grid-auto-columns:var(--slide-size);grid-auto-rows:100%;column-gap:var(--gutter);-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 var(--peek);padding:var(--padding-top) var(--peek) var(--padding-bottom)}@media (prefers-reduced-motion: reduce){.stzh-carousel__scroll.sc-stzh-carousel{scroll-behavior:auto}}.stzh-carousel__scroll.sc-stzh-carousel::-webkit-scrollbar{display:none}.stzh-carousel--is-draggable.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:grab}.stzh-carousel--is-dragging.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:grabbing}.stzh-carousel--is-disabled.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:not-allowed;overflow:hidden}.stzh-carousel--is-non-interactive.sc-stzh-carousel{pointer-events:none;touch-action:none}`;const n=window.matchMedia("(prefers-reduced-motion: reduce)");let u=0;const d=class{constructor(e){s(this,e);this.stzhSlideStart=t(this,"stzhSlideStart");this.stzhSlidePassed=t(this,"stzhSlidePassed");this.stzhSlideEnd=t(this,"stzhSlideEnd");this.variant="default";this.disabled=false;this.noPeek=false;this.slides=1;this.slidesSmall=0;this.slidesMedium=0;this.slidesLarge=0;this.slidesUltra=0;this.slide=0;this.autoplay=false;this.autoplayTimeout=3e3;this.nonInteractive=false;this.preventMouseDrag=false;this.preventAutoplayPause=false;this.preventAutoplayStop=false;this.tabThrough=false;this.withTrack=false;this.scrollTimeout=100;this.distanceQuickSwipe=40;this.distancePreventClick=6;this.autoplayRunning=false;this.autoplayDisabledByMotionMedia=false;this.autoplayDisabledByMouse=false;this.autoplayDisabledByFocus=false;this.autoplayDisabledByScroll=false;this.autoplayDisabledByDrag=false;this.dragging=false;this.scrolling=false;this.ariaLive="";this.currentSlides=1;this.currentSwipeSlides=1;this.slideElements=[];this.previousElements=[];this.nextElements=[];this.navigationTextElements=[];this.slideScrollLeft=0;this.scrolledByAutoplay=false;this.scrollTimeoutId=null;this.lastX=null;this.startX=null;this.startScrollLeft=null;this.disableTimeoutId=null;this.stoppedDragging=false;this.onReducedMotionMediaChange=()=>{this.autoplayDisabledByMotionMedia=n.matches};this.onMouseenter=()=>{if(!this.preventAutoplayPause){this.autoplayDisabledByMouse=true}};this.onMouseleave=()=>{this.autoplayDisabledByMouse=false};this.onFocusin=()=>{if(!this.preventAutoplayPause){this.autoplayDisabledByFocus=true}};this.onFocusout=()=>{this.autoplayDisabledByFocus=false};this.onPreviousClick=()=>{this.scrollToPreviousSnapPoint()};this.onNextClick=()=>{this.scrollToNextSnapPoint()};this.onSlideResize=()=>{if(this.scrollElement){this.itemSize=this.sizingMethod()}};this.onMutation=()=>{if(!this.scrollElement){return}this.slideElements=Array.from(this.scrollElement.children);this.slideElements.forEach(((s,t)=>{s.setAttribute("role","group");s.setAttribute("aria-roledescription","slide");s.setAttribute("aria-label",this.localization.slideLabel.replace(/\{current\}/gi,(t+1).toString()).replace(/\{total\}/gi,this.slideElements.length.toString()))}));this.previousElements=Array.from(this.element.querySelectorAll("[data-stzh-carousel-previous]"));this.nextElements=Array.from(this.element.querySelectorAll("[data-stzh-carousel-next]"));this.navigationTextElements=Array.from(this.element.querySelectorAll("[data-stzh-carousel-navigation-text]"))};this.onScroll=()=>{if(this.scrollTimeoutId===null){const s=this.scrollElement.scrollLeft>this.slideScrollLeft?1:-1;this.scrolling=true;if(!this.scrolledByAutoplay){if(this.preventAutoplayStop){this.autoplayDisabledByScroll=true}else{this.autoplay=false}}this.stzhSlideStart.emit({component:"stzh-carousel",index:this.slide+s})}if(this.slide!==this.calculateSlide()){this.update();this.stzhSlidePassed.emit({component:"stzh-carousel",index:this.slide})}this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId);this.scrollTimeoutId=window.setTimeout(this.onScrollEnd,this.scrollTimeout)};this.onScrollEnd=()=>{this.scrollTimeoutId=null;this.update();this.scrolling=false;this.scrolledByAutoplay=false;this.autoplayDisabledByScroll=false;if(this.stoppedDragging){this.stoppedDragging=false;this.scrollElement.style.removeProperty("scroll-behavior");this.scrollElement.style.removeProperty("scroll-snap-type")}if(this.tabThrough||this.variant==="cards"){this.ariaLive=""}else{this.ariaLive=(this.currentSlides>1?this.localization.slidesLabel:this.localization.slideLabel).replace(/\{(current|from)\}/gi,(this.slide+1).toString()).replace(/\{to\}/gi,(this.slide+this.currentSlides).toString()).replace(/\{total\}/gi,this.slideElements.length.toString())}this.stzhSlideEnd.emit({component:"stzh-carousel",index:this.slide})};this.onMediaChange=()=>{const s=r("ultra").matches;const t=r("large").matches;const e=r("medium").matches;const i=r("small").matches;if(s&&this.slidesUltra!==0){this.currentSlides=this.slidesUltra}else if(t&&this.slidesLarge!==0){this.currentSlides=this.slidesLarge}else if(e&&this.slidesMedium!==0){this.currentSlides=this.slidesMedium}else if(i&&this.slidesSmall!==0){this.currentSlides=this.slidesSmall}else{this.currentSlides=this.slides}this.currentSwipeSlides=this.currentSlides};this.mouseMove=s=>{const t=this.lastX-s.clientX;this.lastX=s.clientX;this.scrollElement.scrollLeft+=t};this.startDragging=s=>{s.preventDefault();this.disableTimeoutId&&window.clearTimeout(this.disableTimeoutId);this.disableTimeoutId=null;this.startX=this.lastX=s.clientX;this.startScrollLeft=this.scrollElement.scrollLeft;this.scrollElement.style.setProperty("scroll-behavior","auto");this.scrollElement.style.setProperty("scroll-snap-type","unset");this.dragging=true;if(this.preventAutoplayStop){this.autoplayDisabledByDrag=true}else{this.autoplay=false}window.addEventListener("mousemove",this.mouseMove);window.addEventListener("mouseup",this.stopDragging,{capture:true});window.addEventListener("click",this.checkClick,{capture:true})};this.stopDragging=s=>{s.preventDefault();const t=Math.abs(this.startX-this.lastX);const e=t>this.distanceQuickSwipe;const i=this.lastX>this.startX?1:-1;this.dragging=false;this.autoplayDisabledByDrag=false;const a=this.scrollElement.scrollLeft;this.scrollElement.style.removeProperty("scroll-snap-type");const h=this.scrollElement.scrollLeft;this.scrollElement.style.setProperty("scroll-snap-type","unset");this.scrollElement.scrollTo({left:a,behavior:"auto"});if(h!==this.startScrollLeft||!e){this.scrollElement.scrollTo({left:h,behavior:n.matches?"auto":"smooth"})}else if(i===1){this.slideToPrevious()}else{this.slideToNext()}window.removeEventListener("mousemove",this.mouseMove);window.removeEventListener("mouseup",this.stopDragging,{capture:true});this.stoppedDragging=true};this.checkClick=s=>{const t=Math.abs(this.startX-this.lastX);const e=t>this.distancePreventClick;if(e){s.preventDefault();s.stopPropagation()}this.lastX=null;window.removeEventListener("click",this.checkClick,{capture:true})};this.autoplayInterval=()=>{this.scrolledByAutoplay=true;if(this.hasReachedLastSlide()){this.slideTo(0)}else{this.slideToNext()}}}async slideTo(s,t="smooth"){this.scrollToSlide(s,t)}async slideToPrevious(s="smooth"){this.scrollToPreviousSnapPoint(s)}async slideToNext(s="smooth"){this.scrollToNextSnapPoint(s)}disabledWatcher(){if(this.disabled){this.scrollElement&&this.scrollElement.removeEventListener("scroll",this.onScroll);this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId);this.scrollTimeoutId=null;this.element.removeEventListener("mouseenter",this.onMouseenter);this.element.removeEventListener("mouseleave",this.onMouseleave);this.element.removeEventListener("focusin",this.onFocusin);this.element.removeEventListener("focusout",this.onFocusout);this.onReducedMotionMediaChange();n&&n.removeEventListener("change",this.onReducedMotionMediaChange)}else{this.scrollElement&&this.scrollElement.addEventListener("scroll",this.onScroll,{passive:true});this.element.addEventListener("mouseenter",this.onMouseenter);this.element.addEventListener("mouseleave",this.onMouseleave);this.element.addEventListener("focusin",this.onFocusin);this.element.addEventListener("focusout",this.onFocusout);n&&n.addEventListener("change",this.onReducedMotionMediaChange)}}preventMouseDragWatcher(){if(this.preventMouseDrag||this.disabled){this.disableTimeoutId&&window.clearTimeout(this.disableTimeoutId);this.disableTimeoutId=null;this.scrollElement&&this.scrollElement.removeEventListener("mousedown",this.startDragging);this.lastX=null}else{this.scrollElement&&this.scrollElement.addEventListener("mousedown",this.startDragging)}}autoplayRunningWatcher(){if(!this.autoplay||this.disabled||this.autoplayDisabledByMotionMedia||this.autoplayDisabledByMouse||this.autoplayDisabledByFocus||this.autoplayDisabledByScroll||this.autoplayDisabledByDrag){this.autoplayIntervalId&&window.clearInterval(this.autoplayIntervalId);this.autoplayIntervalId=null;this.autoplayRunning=false}else{this.autoplayIntervalId&&window.clearInterval(this.autoplayIntervalId);this.autoplayIntervalId=window.setInterval(this.autoplayInterval,this.autoplayTimeout);this.autoplayRunning=true}}snapAlignWatcher(){this.slideElements.forEach(((s,t)=>{const e=(t-this.currentSwipeSlides)%this.currentSwipeSlides===0;if(e){s.style.removeProperty("scroll-snap-align")}else{s.style.setProperty("scroll-snap-align","none")}}))}inertWatcher(){this.slideElements.forEach(((s,t)=>{const e=this.tabThrough||this.variant==="cards"||t>=this.slide&&t<this.slide+this.currentSlides;s.inert=!e;if(e){s.removeAttribute("aria-hidden")}else{s.setAttribute("aria-hidden",e?"false":"true")}}))}prevNextNavigationWatcher(){const s=this.tabThrough||this.variant==="cards";const t=t=>{const e=h(t);if(s){t.setAttribute("aria-hidden","true");t.setAttribute(e?"a11y-tabindex":"tabindex","-1")}else{t.removeAttribute("aria-hidden");t.removeAttribute(e?"a11y-tabindex":"tabindex")}};this.nextElements.forEach(t);this.previousElements.forEach(t)}prevNextHiddenWatcher(){const s=this.slideElements.length<=this.currentSlides;const t=t=>{if(s){t.setAttribute("hidden","")}else{t.removeAttribute("hidden")}};this.navigationTextElements.forEach(t);this.nextElements.forEach(t);this.previousElements.forEach(t)}nextPrevDisabledWatcher(){if(!this.scrollElement){return}const s=this.slide===0;const t=this.hasReachedLastSlide();this.nextElements.forEach((s=>{const e=h(s);s.setAttribute(e?"a11y-disabled":"aria-disabled",t||this.disabled?"true":"false")}));this.previousElements.forEach((t=>{const e=h(t);t.setAttribute(e?"a11y-disabled":"aria-disabled",s||this.disabled?"true":"false")}))}nextElementsWatcher(){this.nextElements.forEach((s=>{const t=h(s);s.addEventListener("click",this.onNextClick);s.setAttribute(t?"a11y-controls":"aria-controls",`${this.carouselId}-scroll`)}))}previousElementsWatcher(){this.previousElements.forEach((s=>{const t=h(s);s.addEventListener("click",this.onPreviousClick);s.setAttribute(t?"a11y-controls":"aria-controls",`${this.carouselId}-scroll`)}))}scrollToSlide(s,t="smooth"){if(this.disabled){return}this.scrollElement.scrollTo({left:s*this.itemSize,behavior:n.matches?"auto":t})}sizingMethod(){const s=window.getComputedStyle(this.scrollElement);return(this.scrollElement.firstElementChild||this.scrollElement).offsetWidth+parseInt(s.getPropertyValue("column-gap"),10)}calculateSlide(){return Math.round(this.scrollElement.scrollLeft/this.itemSize)}scrollToPreviousSnapPoint(s="smooth"){if(this.disabled){return}let t=this.slide;let e=false;while(!e&&t>0){t=t-1;e=(t-this.currentSwipeSlides)%this.currentSwipeSlides===0}this.slideTo(t,s)}scrollToNextSnapPoint(s="smooth"){if(this.disabled){return}this.slideTo(this.slide+this.currentSwipeSlides,s)}update(){this.slide=this.calculateSlide();this.slideScrollLeft=this.slide*this.itemSize;this.onMutation()}hasReachedLastSlide(){const{scrollLeft:s,offsetWidth:t,scrollWidth:e}=this.scrollElement;return Math.ceil(s+t)>=e}async componentWillLoad(){this.carouselId=`stzh-carousel-${u++}`;this.onMediaChange();if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"carousel")}}componentDidLoad(){this.itemSize=this.sizingMethod();this.update();this.disabledWatcher();this.preventMouseDragWatcher();this.autoplayRunningWatcher()}connectedCallback(){c(this.onMediaChange);this.resizeObserver=new ResizeObserver(this.onSlideResize);this.resizeObserver.observe(this.element);this.mutationObserver=new MutationObserver(this.onMutation);this.mutationObserver.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId);this.scrollTimeoutId=null;o(this.onMediaChange);if(this.resizeObserver){this.resizeObserver.disconnect()}if(this.mutationObserver){this.mutationObserver.disconnect()}}render(){var s,t;const a={"stzh-carousel":true,"stzh-carousel--is-disabled":this.disabled,"stzh-carousel--is-draggable":!this.preventMouseDrag,"stzh-carousel--is-non-interactive":this.nonInteractive,"stzh-carousel--is-dragging":this.dragging,"stzh-carousel--is-scrolling":this.scrolling,"stzh-carousel--has-autoplay":this.autoplay,"stzh-carousel--is-autoplay-running":this.autoplayRunning};return e(i,{key:"c17bdead6d4602f963c3819bdb62ad5c6b0fa879","aria-roledescription":"carousel",style:{"--slides":this.currentSlides.toString()}},e("div",{key:"0957cad4ada3b8e08a2038585a48976aa252f559",class:a},e("slot",{key:"cf07207cccb1c2c78563a179b083b5ea1ad5a0b4",name:"actions"}),e("div",{key:"71629bc0a3a38445036c92495848976fbe7983bd",class:"stzh-carousel__vhidden","aria-live":this.autoplayDisabledByFocus||this.autoplayDisabledByMouse?"polite":"off"},this.ariaLive),e("div",{key:"fe00537e0cb086cb0ada9a8b45a471f7413a4c9b",ref:s=>this.scrollElement=s,id:`${this.carouselId}-scroll`,class:"stzh-carousel__scroll"},e("slot",{key:"2afa84cf50c09a90afa630e6314f9611280b3def"})),this.withTrack&&e("div",{key:"b95afceb9dd007e53073b7f7a860b003809da629",class:"stzh-carousel__indicator"},e("div",{key:"19ed7b5ce66733bbece10106d1c18d31b48ba0c7",class:"stzh-carousel__indicator-track",style:{left:`${100/(((s=this.slideElements)===null||s===void 0?void 0:s.length)||1)*this.slide}%`,width:`${100/(((t=this.slideElements)===null||t===void 0?void 0:t.length)||1)*this.currentSlides||0}%`}}))))}get element(){return a(this)}static get watchers(){return{disabled:["disabledWatcher","preventMouseDragWatcher","autoplayRunningWatcher","nextPrevDisabledWatcher"],preventMouseDrag:["preventMouseDragWatcher"],autoplay:["autoplayRunningWatcher"],autoplayDisabledByMotionMedia:["autoplayRunningWatcher"],autoplayDisabledByMouse:["autoplayRunningWatcher"],autoplayDisabledByFocus:["autoplayRunningWatcher"],autoplayDisabledByScroll:["autoplayRunningWatcher"],autoplayDisabledByDrag:["autoplayRunningWatcher"],autoplayTimeout:["autoplayRunningWatcher"],slideElements:["snapAlignWatcher","inertWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher"],currentSwipeSlides:["snapAlignWatcher"],slide:["inertWatcher","nextPrevDisabledWatcher"],variant:["inertWatcher","prevNextNavigationWatcher"],currentSlides:["inertWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher"],tabThrough:["inertWatcher","prevNextNavigationWatcher"],nextElements:["prevNextNavigationWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher","nextElementsWatcher"],previousElements:["prevNextNavigationWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher","previousElementsWatcher"],navigationTextElements:["prevNextHiddenWatcher"]}}};d.style=l();export{d as stzh_carousel};
|
|
2
|
+
//# sourceMappingURL=p-8b35cda8.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,a as o,d as h}from"./p-BQiZz3hq.js";import{h as i}from"./p--MYN2wgX.js";import{c}from"./p-BubviQku.js";import{S as r}from"./p-wQYjVTpY.js";const n=()=>`.sc-stzh-checkboxgroup-h{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}[hidden].sc-stzh-checkboxgroup-h,[stzh-hidden].sc-stzh-checkboxgroup-h{display:none}.sc-stzh-checkboxgroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup,.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup::before,.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup::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)}.sc-stzh-checkboxgroup-h .has-focus.sc-stzh-checkboxgroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-checkboxgroup-h .stzh-fylingfocus-focused.sc-stzh-checkboxgroup{outline-style:none !important}.sc-stzh-checkboxgroup-h .stzh-fylingfocus-focused.sc-stzh-checkboxgroup::-moz-focus-inner{border:0 !important}[disabled].sc-stzh-checkboxgroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-checkboxgroup__marker-symbol.sc-stzh-checkboxgroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-checkboxgroup__marker-text.sc-stzh-checkboxgroup{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-checkboxgroup__description-wrapper.sc-stzh-checkboxgroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-checkboxgroup__error.sc-stzh-checkboxgroup,.stzh-checkboxgroup__description.sc-stzh-checkboxgroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-checkboxgroup__error.sc-stzh-checkboxgroup{color:var(--stzh-color-error60)}.stzh-checkboxgroup__error-list.sc-stzh-checkboxgroup{list-style:none;margin:0;padding:0}.stzh-checkboxgroup__description.sc-stzh-checkboxgroup{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-checkboxgroup__description-long.sc-stzh-checkboxgroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-checkboxgroup__description-long.sc-stzh-checkboxgroup{margin-top:0}}.stzh-checkboxgroup__description-long-popover.sc-stzh-checkboxgroup{--width:auto;--max-width:27.3125rem}.stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup{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-checkboxgroup.sc-stzh-checkboxgroup stzh-icon.stzh-checkboxgroup__description-long-icon.sc-stzh-checkboxgroup{--size:var(--stzh-icon-size-xsmall)}.stzh-checkboxgroup--has-error.sc-stzh-checkboxgroup .stzh-checkboxgroup__error.sc-stzh-checkboxgroup,.stzh-checkboxgroup--has-description.sc-stzh-checkboxgroup .stzh-checkboxgroup__description.sc-stzh-checkboxgroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-checkboxgroup.sc-stzh-checkboxgroup{margin:0;padding:0;border:none}.stzh-checkboxgroup__fields.sc-stzh-checkboxgroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-checkboxgroup__legend.sc-stzh-checkboxgroup{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);color:var(--stzh-heading-color);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-checkboxgroup--hide-legend.sc-stzh-checkboxgroup .stzh-checkboxgroup__legend.sc-stzh-checkboxgroup{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-checkboxgroup--direction-horizontal.sc-stzh-checkboxgroup .stzh-checkboxgroup__fields.sc-stzh-checkboxgroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}`;let a=0;const p=class{constructor(s){t(this,s);this.stzhChange=e(this,"stzhChange");this.disabled=false;this.hideLegend=false;this.invalid=false;this.required=false;this.hideOptional=false;this.value="";this._value=[];this.defaultValue=[];this.direction="vertical";this.checkedCheckbox=null;this.preventUpdateProperties=[];this._preventUpdateProperties=[];this.handleReset=async()=>{this.value=[...this.defaultValue]};this.init=()=>{this.checkboxes=Array.from(this.element.querySelectorAll("stzh-checkbox"));this.updateCheckboxesProperty("hide-optional",true);this.updateCheckboxesProperty("a11y-describedby",`${this.checkboxgroupId}-description`);this.updateCheckboxesProperty("invalid",this.invalid||this.errorUsed);this.watchValue(this.value);this.watchName(this.name);this.watchDisabled(this.disabled)}}watchName(t){this.updateCheckboxesProperty("name",t)}watchDisabled(t){this.updateCheckboxesProperty("disabled",t)}watchValue(t){if(typeof t==="string"){this._value=JSON.parse(t)}else{this._value=t}if(JSON.stringify(this._value)!==JSON.stringify(this.value)){this.value=this._value}this.updateCheckedCheckboxByValue(this._value)}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(e){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}preventUpdatePropertiesWatcher(t){if(typeof t==="string"){this._preventUpdateProperties=JSON.parse(t)}else{this._preventUpdateProperties=t}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}onChange(t){if(t.detail.component==="stzh-checkbox"){if(t.detail.checked){this._value.push(t.detail.value)}else{this._value=this._value.filter((e=>e!==t.detail.value))}t.stopPropagation();this.value=this._value;this.stzhChange.emit({component:"stzh-checkboxgroup",value:this._value})}}get errorUsed(){var t;return i(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0}updateCheckboxesProperty(t,e){this.checkboxes.forEach((s=>{if(t==="disabled"){if(!s.disabled){s.disabled=e}}else if(t==="name"||this._preventUpdateProperties.indexOf(t)===-1){s[c(t)]=e}}))}updateCheckedCheckboxByValue(t){this.checkedCheckbox=this.checkboxes.filter((e=>t.indexOf(e.value)>-1));this.checkboxes.forEach((e=>e.checked=t.indexOf(e.value)>-1))}async componentWillLoad(){this.checkboxgroupId=`stzh-checkboxgroup-${a++}`;this.errorWatcher(this.error);this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"checkboxgroup")}}componentShouldUpdate(t,e,s){return s!=="checkedCheckbox"}componentDidRender(){this.init()}componentDidLoad(){this.defaultValue=this.defaultValue.length>0?this.defaultValue:[...this._value]}connectedCallback(){if(!this.value.length){this.checkboxes=Array.from(this.element.querySelectorAll("stzh-checkbox"));this.value=this.checkboxes.filter((t=>t.checked)).map((t=>t.value))}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const t=i(this.element,"description")||!!this.description;const e=i(this.element,"description-long")||!!this.descriptionLong;const h={"stzh-checkboxgroup":true,"stzh-checkboxgroup--has-description":t,"stzh-checkboxgroup--has-description-long":e,"stzh-checkboxgroup--has-error":this.errorUsed,"stzh-checkboxgroup--is-disabled":this.disabled,"stzh-checkboxgroup--is-invalid":this.invalid||this.errorUsed,"stzh-checkboxgroup--hide-legend":this.hideLegend,[`stzh-checkboxgroup--direction-${this.direction}`]:!!this.direction};return s(o,{key:"646f9b70310576551fb8e0651bf4c61ed844d953","is-invalid":this.invalid||this.errorUsed},s("fieldset",{key:"02663b04ef6a9e547dad289b7deaea348704816b",class:h},this.legend&&s("legend",{key:"e8818675df5d4b182096b12dd7a92aa7f32b553f",class:"stzh-checkboxgroup__legend"},this.legend,!this.hideOptional&&s("span",{key:"050b8670bef83fd03bf9e3c63d2cc39fb5165038",class:"stzh-checkboxgroup__marker"},s("span",{key:"dcf7a1713fa1fa2ea9fe425fe705ce1ee141658b",class:"stzh-checkboxgroup__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),s("span",{key:"bd7238a0cb04cca844cc63780486281e0c1c827b",class:"stzh-checkboxgroup__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),s("div",{key:"7ff99a6053aabf9ed4d6f8b8e1698e6f270032bc",class:"stzh-checkboxgroup__fields"},s("slot",{key:"94b0ed3c40c223e087f6d6f3076ddece67fbd744"})),(this.errorUsed||this.description||this.descriptionLong)&&s(r,{key:"c059eeb4069df9cfaf1d87cbfe14b12ef28eea25",classPrefix:"stzh-checkboxgroup",id:`${this.checkboxgroupId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:e,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return h(this)}static get watchers(){return{name:["watchName"],disabled:["watchDisabled"],value:["watchValue"],error:["errorWatcher"],preventUpdateProperties:["preventUpdatePropertiesWatcher"]}}};p.style=n();export{p as stzh_checkboxgroup};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as e,h as s,a as o,d as h}from"./p-WVDCFmOb.js";import{h as i}from"./p--MYN2wgX.js";import{c}from"./p-BubviQku.js";import{S as r}from"./p-QItfqfyu.js";const n=()=>`.sc-stzh-checkboxgroup-h{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}[hidden].sc-stzh-checkboxgroup-h,[stzh-hidden].sc-stzh-checkboxgroup-h{display:none}.sc-stzh-checkboxgroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup,.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup::before,.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup::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)}.sc-stzh-checkboxgroup-h .has-focus.sc-stzh-checkboxgroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-checkboxgroup-h .stzh-fylingfocus-focused.sc-stzh-checkboxgroup{outline-style:none !important}.sc-stzh-checkboxgroup-h .stzh-fylingfocus-focused.sc-stzh-checkboxgroup::-moz-focus-inner{border:0 !important}[disabled].sc-stzh-checkboxgroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-checkboxgroup__marker-symbol.sc-stzh-checkboxgroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-checkboxgroup__marker-text.sc-stzh-checkboxgroup{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-checkboxgroup__description-wrapper.sc-stzh-checkboxgroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-checkboxgroup__error.sc-stzh-checkboxgroup,.stzh-checkboxgroup__description.sc-stzh-checkboxgroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-checkboxgroup__error.sc-stzh-checkboxgroup{color:var(--stzh-color-error60)}.stzh-checkboxgroup__error-list.sc-stzh-checkboxgroup{list-style:none;margin:0;padding:0}.stzh-checkboxgroup__description.sc-stzh-checkboxgroup{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-checkboxgroup__description-long.sc-stzh-checkboxgroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-checkboxgroup__description-long.sc-stzh-checkboxgroup{margin-top:0}}.stzh-checkboxgroup__description-long-popover.sc-stzh-checkboxgroup{--width:auto;--max-width:27.3125rem}.stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup{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-checkboxgroup.sc-stzh-checkboxgroup stzh-icon.stzh-checkboxgroup__description-long-icon.sc-stzh-checkboxgroup{--size:var(--stzh-icon-size-xsmall)}.stzh-checkboxgroup--has-error.sc-stzh-checkboxgroup .stzh-checkboxgroup__error.sc-stzh-checkboxgroup,.stzh-checkboxgroup--has-description.sc-stzh-checkboxgroup .stzh-checkboxgroup__description.sc-stzh-checkboxgroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-checkboxgroup.sc-stzh-checkboxgroup{margin:0;padding:0;border:none}.stzh-checkboxgroup__fields.sc-stzh-checkboxgroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-checkboxgroup__legend.sc-stzh-checkboxgroup{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);color:var(--stzh-heading-color);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-checkboxgroup--hide-legend.sc-stzh-checkboxgroup .stzh-checkboxgroup__legend.sc-stzh-checkboxgroup{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-checkboxgroup--direction-horizontal.sc-stzh-checkboxgroup .stzh-checkboxgroup__fields.sc-stzh-checkboxgroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}`;let a=0;const p=class{constructor(s){t(this,s);this.stzhChange=e(this,"stzhChange");this.disabled=false;this.hideLegend=false;this.invalid=false;this.required=false;this.hideOptional=false;this.value="";this._value=[];this.defaultValue=[];this.direction="vertical";this.checkedCheckbox=null;this.preventUpdateProperties=[];this._preventUpdateProperties=[];this.handleReset=async()=>{this.value=[...this.defaultValue]};this.init=()=>{this.checkboxes=Array.from(this.element.querySelectorAll("stzh-checkbox"));this.updateCheckboxesProperty("hide-optional",true);this.updateCheckboxesProperty("a11y-describedby",`${this.checkboxgroupId}-description`);this.updateCheckboxesProperty("invalid",this.invalid||this.errorUsed);this.watchValue(this.value);this.watchName(this.name);this.watchDisabled(this.disabled)}}watchName(t){this.updateCheckboxesProperty("name",t)}watchDisabled(t){this.updateCheckboxesProperty("disabled",t)}watchValue(t){if(typeof t==="string"){this._value=JSON.parse(t)}else{this._value=t}if(JSON.stringify(this._value)!==JSON.stringify(this.value)){this.value=this._value}this.updateCheckedCheckboxByValue(this._value)}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(e){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}preventUpdatePropertiesWatcher(t){if(typeof t==="string"){this._preventUpdateProperties=JSON.parse(t)}else{this._preventUpdateProperties=t}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}onChange(t){if(t.detail.component==="stzh-checkbox"){if(t.detail.checked){this._value.push(t.detail.value)}else{this._value=this._value.filter((e=>e!==t.detail.value))}t.stopPropagation();this.value=this._value;this.stzhChange.emit({component:"stzh-checkboxgroup",value:this._value})}}get errorUsed(){var t;return i(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0}updateCheckboxesProperty(t,e){this.checkboxes.forEach((s=>{if(t==="disabled"){if(!s.disabled){s.disabled=e}}else if(t==="name"||this._preventUpdateProperties.indexOf(t)===-1){s[c(t)]=e}}))}updateCheckedCheckboxByValue(t){this.checkedCheckbox=this.checkboxes.filter((e=>t.indexOf(e.value)>-1));this.checkboxes.forEach((e=>e.checked=t.indexOf(e.value)>-1))}async componentWillLoad(){this.checkboxgroupId=`stzh-checkboxgroup-${a++}`;this.errorWatcher(this.error);this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"checkboxgroup")}}componentShouldUpdate(t,e,s){return s!=="checkedCheckbox"}componentDidRender(){this.init()}componentDidLoad(){this.defaultValue=this.defaultValue.length>0?this.defaultValue:[...this._value]}connectedCallback(){if(!this.value.length){this.checkboxes=Array.from(this.element.querySelectorAll("stzh-checkbox"));this.value=this.checkboxes.filter((t=>t.checked)).map((t=>t.value))}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const t=i(this.element,"description")||!!this.description;const e=i(this.element,"description-long")||!!this.descriptionLong;const h={"stzh-checkboxgroup":true,"stzh-checkboxgroup--has-description":t,"stzh-checkboxgroup--has-description-long":e,"stzh-checkboxgroup--has-error":this.errorUsed,"stzh-checkboxgroup--is-disabled":this.disabled,"stzh-checkboxgroup--is-invalid":this.invalid||this.errorUsed,"stzh-checkboxgroup--hide-legend":this.hideLegend,[`stzh-checkboxgroup--direction-${this.direction}`]:!!this.direction};return s(o,{key:"646f9b70310576551fb8e0651bf4c61ed844d953","is-invalid":this.invalid||this.errorUsed},s("fieldset",{key:"02663b04ef6a9e547dad289b7deaea348704816b",class:h},this.legend&&s("legend",{key:"e8818675df5d4b182096b12dd7a92aa7f32b553f",class:"stzh-checkboxgroup__legend"},this.legend,!this.hideOptional&&s("span",{key:"050b8670bef83fd03bf9e3c63d2cc39fb5165038",class:"stzh-checkboxgroup__marker"},s("span",{key:"dcf7a1713fa1fa2ea9fe425fe705ce1ee141658b",class:"stzh-checkboxgroup__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),s("span",{key:"bd7238a0cb04cca844cc63780486281e0c1c827b",class:"stzh-checkboxgroup__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),s("div",{key:"7ff99a6053aabf9ed4d6f8b8e1698e6f270032bc",class:"stzh-checkboxgroup__fields"},s("slot",{key:"94b0ed3c40c223e087f6d6f3076ddece67fbd744"})),(this.errorUsed||this.description||this.descriptionLong)&&s(r,{key:"c059eeb4069df9cfaf1d87cbfe14b12ef28eea25",classPrefix:"stzh-checkboxgroup",id:`${this.checkboxgroupId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:e,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return h(this)}static get watchers(){return{name:["watchName"],disabled:["watchDisabled"],value:["watchValue"],error:["errorWatcher"],preventUpdateProperties:["preventUpdatePropertiesWatcher"]}}};p.style=n();export{p as stzh_checkboxgroup};
|
|
2
|
+
//# sourceMappingURL=p-8de9da26.entry.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,a as s,d as a}from"./p-
|
|
1
|
+
import{r as t,c as e,h as i,a as s,d as a}from"./p-WVDCFmOb.js";import{f as r}from"./p-PUB8fb5E.js";import{h as n}from"./p--MYN2wgX.js";import"./p-E-ZsRS8r.js";import"./p-BubviQku.js";var o={exports:{}};
|
|
2
2
|
/* @license
|
|
3
3
|
Papa Parse
|
|
4
4
|
v5.5.3
|
|
5
5
|
https://github.com/mholt/PapaParse
|
|
6
6
|
License: MIT
|
|
7
|
-
*/var o=h.exports;var l;function d(){if(l)return h.exports;l=1;(function(t,e){((e,i)=>{t.exports=i()})(o,(function t(){var e="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{};var i,s=!e.document&&!!e.postMessage,a=e.IS_PAPA_WORKER||false,r={},n=0,h={};function o(t){this._handle=null,this._finished=false,this._completed=false,this._halted=false,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=true,this._completeResults={data:[],errors:[],meta:{}},function(t){var e=_(t);e.chunkSize=parseInt(e.chunkSize),t.step||t.chunk||(e.chunkSize=null);this._handle=new u(e),(this._handle.streamer=this)._config=e}.call(this,t),this.parseChunk=function(t,i){var s=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<s){let e=this._config.newline;e||(r=this._config.quoteChar||'"',e=this._handle.guessLineEndings(t,r)),t=[...t.split(e).slice(s)].join(e)}this.isFirstChunk&&y(this._config.beforeFirstChunk)&&void 0!==(r=this._config.beforeFirstChunk(t))&&(t=r),this.isFirstChunk=false,this._halted=false;var s=this._partialLine+t,r=(this._partialLine="",this._handle.parse(s,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){t=r.meta.cursor,s=(this._finished||(this._partialLine=s.substring(t-this._baseIndex),this._baseIndex=t),r&&r.data&&(this._rowCount+=r.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview);if(a)e.postMessage({results:r,workerId:h.WORKER_ID,finished:s});else if(y(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=true);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!s||!y(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=true),s||r&&r.meta.paused||this._nextChunk(),r}this._halted=true},this._sendError=function(t){y(this._config.error)?this._config.error(t):a&&this._config.error&&e.postMessage({workerId:h.WORKER_ID,error:t,finished:false})}}function l(t){var e;(t=t||{}).chunkSize||(t.chunkSize=h.RemoteChunkSize),o.call(this,t),this._nextChunk=s?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),s||(e.onload=g(this._chunkLoaded,this),e.onerror=g(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!s),this._config.downloadRequestHeaders){var t,i=this._config.downloadRequestHeaders;for(t in i)e.setRequestHeader(t,i[t])}var a;this._config.chunkSize&&(a=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+a));try{e.send(this._config.downloadRequestBody)}catch(t){this._chunkError(t.message)}s&&0===e.status&&this._chunkError()}},this._chunkLoaded=function(){4===e.readyState&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize||e.responseText.length,this._finished=!this._config.chunkSize||this._start>=(t=>null!==(t=t.getResponseHeader("Content-Range"))?parseInt(t.substring(t.lastIndexOf("/")+1)):-1)(e),this.parseChunk(e.responseText)))},this._chunkError=function(t){t=e.statusText||t;this._sendError(new Error(t))}}function d(t){(t=t||{}).chunkSize||(t.chunkSize=h.LocalChunkSize),o.call(this,t);var e,i,s="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,i=t.slice||t.webkitSlice||t.mozSlice,s?((e=new FileReader).onload=g(this._chunkLoaded,this),e.onerror=g(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var t=this._input,a=(this._config.chunkSize&&(a=Math.min(this._start+this._config.chunkSize,this._input.size),t=i.call(t,this._start,a)),e.readAsText(t,this._config.encoding));s||this._chunkLoaded({target:{result:a}})},this._chunkLoaded=function(t){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(e.error)}}function c(t){var e;o.call(this,t=t||{}),this.stream=function(t){return e=t,this._nextChunk()},this._nextChunk=function(){var t,i;if(!this._finished)return t=this._config.chunkSize,e=t?(i=e.substring(0,t),e.substring(t)):(i=e,""),this._finished=!e,this.parseChunk(i)}}function f(t){o.call(this,t=t||{});var e=[],i=true,s=false;this.pause=function(){o.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){o.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){s&&1===e.length&&(this._finished=true)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=true},this._streamData=g((function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),i&&(i=false,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}}),this),this._streamError=g((function(t){this._streamCleanUp(),this._sendError(t)}),this),this._streamEnd=g((function(){this._streamCleanUp(),s=true,this._streamData("")}),this),this._streamCleanUp=g((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function u(t){var e,i,s,a,r=Math.pow(2,53),n=-r,o=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,d=this,c=0,f=0,u=false,z=false,v=[],m={data:[],errors:[],meta:{}};function g(e){return"greedy"===t.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function w(){if(m&&s&&(x("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+h.DefaultDelimiter+"'"),s=false),t.skipEmptyLines&&(m.data=m.data.filter((function(t){return!g(t)}))),k()){if(m)if(Array.isArray(m.data[0])){for(var e=0;k()&&e<m.data.length;e++)m.data[e].forEach(d);m.data.splice(0,1)}else m.data.forEach(d);function d(e,i){y(t.transformHeader)&&(e=t.transformHeader(e,i)),v.push(e)}}function i(e,i){for(var s=t.header?{}:[],a=0;a<e.length;a++){var h=a,d=e[a],d=((e,i)=>(e=>(t.dynamicTypingFunction&&void 0===t.dynamicTyping[e]&&(t.dynamicTyping[e]=t.dynamicTypingFunction(e)),true===(t.dynamicTyping[e]||t.dynamicTyping)))(e)?"true"===i||"TRUE"===i||"false"!==i&&"FALSE"!==i&&((t=>{if(o.test(t)){t=parseFloat(t);if(n<t&&t<r)return 1}})(i)?parseFloat(i):l.test(i)?new Date(i):""===i?null:i):i)(h=t.header?a>=v.length?"__parsed_extra":v[a]:h,d=t.transform?t.transform(d,h):d);"__parsed_extra"===h?(s[h]=s[h]||[],s[h].push(d)):s[h]=d}return t.header&&(a>v.length?x("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+a,f+i):a<v.length&&x("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+a,f+i)),s}var a;m&&(t.header||t.dynamicTyping||t.transform)&&(a=1,!m.data.length||Array.isArray(m.data[0])?(m.data=m.data.map(i),a=m.data.length):m.data=i(m.data,0),t.header&&m.meta&&(m.meta.fields=v),f+=a)}function k(){return t.header&&0===v.length}function x(t,e,i,s){t={type:t,code:e,message:i};void 0!==s&&(t.row=s),m.errors.push(t)}y(t.step)&&(a=t.step,t.step=function(e){m=e,k()?w():(w(),0!==m.data.length&&(c+=e.data.length,t.preview&&c>t.preview?i.abort():(m.data=m.data[0],a(m,d))))}),this.parse=function(a,r,n){var o=t.quoteChar||'"',o=(t.newline||(t.newline=this.guessLineEndings(a,o)),s=false,t.delimiter?y(t.delimiter)&&(t.delimiter=t.delimiter(a),m.meta.delimiter=t.delimiter):((o=((e,i,s,a,r)=>{var n,o,l,d;r=r||[",","\t","|",";",h.RECORD_SEP,h.UNIT_SEP];for(var c=0;c<r.length;c++){for(var f,u=r[c],b=0,z=0,v=0,m=(l=void 0,new p({comments:a,delimiter:u,newline:i,preview:10}).parse(e)),_=0;_<m.data.length;_++)s&&g(m.data[_])?v++:(f=m.data[_].length,z+=f,void 0===l?l=f:0<f&&(b+=Math.abs(f-l),l=f));0<m.data.length&&(z/=m.data.length-v),(void 0===o||b<=o)&&(void 0===d||d<z)&&1.99<z&&(o=b,n=u,d=z)}return{successful:!!(t.delimiter=n),bestDelimiter:n}})(a,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=o.bestDelimiter:(s=true,t.delimiter=h.DefaultDelimiter),m.meta.delimiter=t.delimiter),_(t));return t.preview&&t.header&&o.preview++,e=a,i=new p(o),m=i.parse(e,r,n),w(),u?{meta:{paused:true}}:m||{meta:{paused:false}}},this.paused=function(){return u},this.pause=function(){u=true,i.abort(),e=y(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){d.streamer._halted?(u=false,d.streamer.parseChunk(e,true)):setTimeout(d.resume,3)},this.aborted=function(){return z},this.abort=function(){z=true,i.abort(),m.meta.aborted=true,y(t.complete)&&t.complete(m),e=""},this.guessLineEndings=function(t,e){t=t.substring(0,1048576);var e=new RegExp(b(e)+"([^]*?)"+b(e),"gm"),i=(t=t.replace(e,"")).split("\r"),e=t.split("\n"),t=1<e.length&&e[0].length<i[0].length;if(1===i.length||t)return"\n";for(var s=0,a=0;a<i.length;a++)"\n"===i[a][0]&&s++;return s>=i.length/2?"\r\n":"\r"}}function b(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(t){var e=(t=t||{}).delimiter,i=t.newline,s=t.comments,a=t.step,r=t.preview,n=t.fastMode,o=null,l=false,d=null==t.quoteChar?'"':t.quoteChar,c=d;if(void 0!==t.escapeChar&&(c=t.escapeChar),("string"!=typeof e||-1<h.BAD_DELIMITERS.indexOf(e))&&(e=","),s===e)throw new Error("Comment character same as delimiter");true===s?s="#":("string"!=typeof s||-1<h.BAD_DELIMITERS.indexOf(s))&&(s=false),"\n"!==i&&"\r"!==i&&"\r\n"!==i&&(i="\n");var f=0,u=false;this.parse=function(h,p,z){if("string"!=typeof h)throw new Error("Input must be a string");var v=h.length,m=e.length,_=i.length,g=s.length,w=y(a),k=[],x=[],j=[],O=f=0;if(!h)return W();if(n||false!==n&&-1===h.indexOf(d)){for(var C=h.split(i),S=0;S<C.length;S++){if(j=C[S],f+=j.length,S!==C.length-1)f+=i.length;else if(z)return W();if(!s||j.substring(0,g)!==s){if(w){if(k=[],N(j.split(e)),$(),u)return W()}else N(j.split(e));if(r&&r<=S)return k=k.slice(0,r),W(true)}}return W()}for(var E=h.indexOf(e,f),A=h.indexOf(i,f),T=new RegExp(b(c)+b(d),"g"),I=h.indexOf(d,f);;)if(h[f]===d)for(I=f,f++;;){if(-1===(I=h.indexOf(d,I+1)))return z||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:k.length,index:f}),D();if(I===v-1)return D(h.substring(f,I).replace(T,d));if(d===c&&h[I+1]===c)I++;else if(d===c||0===I||h[I-1]!==c){-1!==E&&E<I+1&&(E=h.indexOf(e,I+1));var M=R(-1===(A=-1!==A&&A<I+1?h.indexOf(i,I+1):A)?E:Math.min(E,A));if(h.substr(I+1+M,m)===e){j.push(h.substring(f,I).replace(T,d)),h[f=I+1+M+m]!==d&&(I=h.indexOf(d,f)),E=h.indexOf(e,f),A=h.indexOf(i,f);break}M=R(A);if(h.substring(I+1+M,I+1+M+_)===i){if(j.push(h.substring(f,I).replace(T,d)),F(I+1+M+_),E=h.indexOf(e,f),I=h.indexOf(d,f),w&&($(),u))return W();if(r&&k.length>=r)return W(true);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:k.length,index:f}),I++}}else if(s&&0===j.length&&h.substring(f,f+g)===s){if(-1===A)return W();f=A+_,A=h.indexOf(i,f),E=h.indexOf(e,f)}else if(-1!==E&&(E<A||-1===A))j.push(h.substring(f,E)),f=E+m,E=h.indexOf(e,f);else{if(-1===A)break;if(j.push(h.substring(f,A)),F(A+_),w&&($(),u))return W();if(r&&k.length>=r)return W(true)}return D();function N(t){k.push(t),O=f}function R(t){var e=0;return e=-1!==t&&(t=h.substring(I+1,t))&&""===t.trim()?t.length:e}function D(t){return z||(void 0===t&&(t=h.substring(f)),j.push(t),f=v,N(j),w&&$()),W()}function F(t){f=t,N(j),j=[],A=h.indexOf(i,f)}function W(s){if(t.header&&!p&&k.length&&!l){var a=k[0],r=Object.create(null),n=new Set(a);let e=false;for(let i=0;i<a.length;i++){let s=a[i];if(r[s=y(t.transformHeader)?t.transformHeader(s,i):s]){let t,h=r[s];for(;t=s+"_"+h,h++,n.has(t););n.add(t),a[i]=t,r[s]++,e=true,(o=null===o?{}:o)[t]=s}else r[s]=1,a[i]=s;n.add(s)}e&&console.warn("Duplicate headers found and renamed."),l=true}return{data:k,errors:x,meta:{delimiter:e,linebreak:i,aborted:u,truncated:!!s,cursor:O+(p||0),renamedHeaders:o}}}function $(){a(W()),k=[],x=[]}},this.abort=function(){u=true},this.getCharIndex=function(){return f}}function z(t){var e=t.data,i=r[e.workerId],s=false;if(e.error)i.userError(e.error,e.file);else if(e.results&&e.results.data){var a={abort:function(){s=true,v(e.workerId,{data:[],errors:[],meta:{aborted:true}})},pause:m,resume:m};if(y(i.userStep)){for(var n=0;n<e.results.data.length&&(i.userStep({data:e.results.data[n],errors:e.results.errors,meta:e.results.meta},a),!s);n++);delete e.results}else y(i.userChunk)&&(i.userChunk(e.results,a,e.file),delete e.results)}e.finished&&!s&&v(e.workerId,e.results)}function v(t,e){var i=r[t];y(i.userComplete)&&i.userComplete(e),i.terminate(),delete r[t]}function m(){throw new Error("Not implemented.")}function _(t){if("object"!=typeof t||null===t)return t;var e,i=Array.isArray(t)?[]:{};for(e in t)i[e]=_(t[e]);return i}function g(t,e){return function(){t.apply(e,arguments)}}function y(t){return"function"==typeof t}return h.parse=function(i,s){var a=(s=s||{}).dynamicTyping||false;y(a)&&(s.dynamicTypingFunction=a,a={});if(s.dynamicTyping=a,s.transform=!!y(s.transform)&&s.transform,!s.worker||!h.WORKERS_SUPPORTED)return a=null,"string"==typeof i?(i=(t=>65279!==t.charCodeAt(0)?t:t.slice(1))(i),a=new(s.download?l:c)(s)):true===i.readable&&y(i.read)&&y(i.on)?a=new f(s):(e.File&&i instanceof File||i instanceof Object)&&(a=new d(s)),a.stream(i);(a=(()=>{var i;return!!h.WORKERS_SUPPORTED&&(i=(()=>{var i=e.URL||e.webkitURL||null,s=t.toString();return h.BLOB_URL||(h.BLOB_URL=i.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",s,")();"],{type:"text/javascript"})))})(),(i=new e.Worker(i)).onmessage=z,i.id=n++,r[i.id]=i)})()).userStep=s.step,a.userChunk=s.chunk,a.userComplete=s.complete,a.userError=s.error,s.step=y(s.step),s.chunk=y(s.chunk),s.complete=y(s.complete),s.error=y(s.error),delete s.worker,a.postMessage({input:i,config:s,workerId:a.id})},h.unparse=function(t,e){var i=false,s=true,a=",",r="\r\n",n='"',o=n+n,l=false,d=null,c=false,f=((()=>{if("object"==typeof e){if("string"!=typeof e.delimiter||h.BAD_DELIMITERS.filter((function(t){return-1!==e.delimiter.indexOf(t)})).length||(a=e.delimiter),"boolean"!=typeof e.quotes&&"function"!=typeof e.quotes&&!Array.isArray(e.quotes)||(i=e.quotes),"boolean"!=typeof e.skipEmptyLines&&"string"!=typeof e.skipEmptyLines||(l=e.skipEmptyLines),"string"==typeof e.newline&&(r=e.newline),"string"==typeof e.quoteChar&&(n=e.quoteChar),"boolean"==typeof e.header&&(s=e.header),Array.isArray(e.columns)){if(0===e.columns.length)throw new Error("Option columns is empty");d=e.columns}void 0!==e.escapeChar&&(o=e.escapeChar+n),e.escapeFormulae instanceof RegExp?c=e.escapeFormulae:"boolean"==typeof e.escapeFormulae&&e.escapeFormulae&&(c=/^[=+\-@\t\r].*$/)}})(),new RegExp(b(n),"g"));"string"==typeof t&&(t=JSON.parse(t));if(Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return u(null,t,l);if("object"==typeof t[0])return u(d||Object.keys(t[0]),t,l)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||d),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:"object"==typeof t.data[0]?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||"object"==typeof t.data[0]||(t.data=[t.data])),u(t.fields||[],t.data||[],l);throw new Error("Unable to serialize unrecognized input");function u(t,e,i){var n="",h=("string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e)),Array.isArray(t)&&0<t.length),o=!Array.isArray(e[0]);if(h&&s){for(var l=0;l<t.length;l++)0<l&&(n+=a),n+=p(t[l],l);0<e.length&&(n+=r)}for(var d=0;d<e.length;d++){var c=(h?t:e[d]).length,f=false,u=h?0===Object.keys(e[d]).length:0===e[d].length;if(i&&!h&&(f="greedy"===i?""===e[d].join("").trim():1===e[d].length&&0===e[d][0].length),"greedy"===i&&h){for(var b=[],z=0;z<c;z++){var v=o?t[z]:z;b.push(e[d][v])}f=""===b.join("").trim()}if(!f){for(var m=0;m<c;m++){0<m&&!u&&(n+=a);var _=h&&o?t[m]:m;n+=p(e[d][_],m)}d<e.length-1&&(!i||0<c&&!u)&&(n+=r)}}return n}function p(t,e){var s,r;return null==t?"":t.constructor===Date?JSON.stringify(t).slice(1,25):(r=false,c&&"string"==typeof t&&c.test(t)&&(t="'"+t,r=true),s=t.toString().replace(f,o),(r=r||true===i||"function"==typeof i&&i(t,e)||Array.isArray(i)&&i[e]||((t,e)=>{for(var i=0;i<e.length;i++)if(-1<t.indexOf(e[i]))return true;return false})(s,h.BAD_DELIMITERS)||-1<s.indexOf(a)||" "===s.charAt(0)||" "===s.charAt(s.length-1))?n+s+n:s)}},h.RECORD_SEP=String.fromCharCode(30),h.UNIT_SEP=String.fromCharCode(31),h.BYTE_ORDER_MARK="\ufeff",h.BAD_DELIMITERS=["\r","\n",'"',h.BYTE_ORDER_MARK],h.WORKERS_SUPPORTED=!s&&!!e.Worker,h.NODE_STREAM_INPUT=1,h.LocalChunkSize=10485760,h.RemoteChunkSize=5242880,h.DefaultDelimiter=",",h.Parser=p,h.ParserHandle=u,h.NetworkStreamer=l,h.FileStreamer=d,h.StringStreamer=c,h.ReadableStreamStreamer=f,e.jQuery&&((i=e.jQuery).fn.parse=function(t){var s=t.config||{},a=[];return this.each((function(t){if(!("INPUT"===i(this).prop("tagName").toUpperCase()&&"file"===i(this).attr("type").toLowerCase()&&e.FileReader)||!this.files||0===this.files.length)return true;for(var r=0;r<this.files.length;r++)a.push({file:this.files[r],inputElem:this,instanceConfig:i.extend({},s)})})),r(),this;function r(){if(0===a.length)y(t.complete)&&t.complete();else{var e,s,r,o,l=a[0];if(y(t.before)){var d=t.before(l.file,l.inputElem);if("object"==typeof d){if("abort"===d.action)return e="AbortError",s=l.file,r=l.inputElem,o=d.reason,void(y(t.error)&&t.error({name:e},s,r,o));if("skip"===d.action)return void n();"object"==typeof d.config&&(l.instanceConfig=i.extend(l.instanceConfig,d.config))}else if("skip"===d)return void n()}var c=l.instanceConfig.complete;l.instanceConfig.complete=function(t){y(c)&&c(t,l.file,l.inputElem),n()},h.parse(l.file,l.instanceConfig)}}function n(){a.splice(0,1),r()}}),a&&(e.onmessage=function(t){t=t.data;void 0===h.WORKER_ID&&t&&(h.WORKER_ID=t.workerId);"string"==typeof t.input?e.postMessage({workerId:h.WORKER_ID,results:h.parse(t.input,t.config),finished:true}):(e.File&&t.input instanceof File||t.input instanceof Object)&&(t=h.parse(t.input,t.config))&&e.postMessage({workerId:h.WORKER_ID,results:t,finished:true})}),(l.prototype=Object.create(o.prototype)).constructor=l,(d.prototype=Object.create(o.prototype)).constructor=d,(c.prototype=Object.create(c.prototype)).constructor=c,(f.prototype=Object.create(o.prototype)).constructor=f,h}))})(h);return h.exports}var c=d();const f=()=>`: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-datatable{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-datatable[hidden],stzh-datatable[stzh-hidden]{display:none}stzh-datatable::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-datatable *,stzh-datatable *::before,stzh-datatable *::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-datatable{}stzh-datatable .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-datatable .stzh-fylingfocus-focused{outline-style:none !important}stzh-datatable .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-datatable{--stzh-list-font-size:"";--stzh-list-line-height:"";--stzh-list-letter-spacing:"";--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--search-input-width:var(--stzh-table-search-input-width)}stzh-datatable[disable-min-width]:not([disable-min-width=false]){--min-width:none}.stzh-datatable{-webkit-text-size-adjust:100%}.stzh-datatable__sub-header{display:flex;align-items:flex-end;justify-content:space-between}.stzh-datatable__header .stzh-datatable__search{flex-grow:1;margin-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__header .stzh-datatable__search{width:var(--search-input-width);flex-grow:0}}.stzh-datatable__action-button{flex-shrink:0;margin-left:auto}.stzh-datatable__outer-wrapper{position:relative}.stzh-datatable__outer-wrapper::before,.stzh-datatable__outer-wrapper::after{z-index:4;background:linear-gradient(90deg, rgb(210, 210, 210) 0%, rgba(255, 255, 255, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:1.5rem;transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-datatable__outer-wrapper::before{left:0}.stzh-datatable__outer-wrapper::after{right:0;transform:rotate(-180deg)}.stzh-datatable__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-datatable__wrapper::-webkit-scrollbar{position:absolute;z-index:9999999;width:0.5rem;background-color:transparent}.stzh-datatable__wrapper::-webkit-scrollbar:horizontal{height:0.5rem}.stzh-datatable__wrapper::-webkit-scrollbar-track{background-color:transparent}.stzh-datatable__wrapper::-webkit-scrollbar-thumb{background-color:var(--stzh-color-secondary50)}.stzh-datatable__wrapper::-webkit-scrollbar-thumb:active,.stzh-datatable__wrapper ::-webkit-scrollbar-thumb:hover{background-color:var(--stzh-color-secondary50)}.stzh-datatable__pagination-wrapper{display:flex;justify-content:flex-end}.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xxlarge)}}.stzh-datatable__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);cursor:pointer;appearance:none;background:none;border:none;display:inline-flex;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding);gap:var(--stzh-space-xxsmall)}.stzh-datatable__sort-button:hover,.stzh-datatable__sort-button:focus{color:var(--stzh-color-primary-hover)}.stzh-datatable__list-sort-wrapper{display:flex;flex-direction:column;align-items:flex-start}.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xxlarge)}}.stzh-datatable__list-sort-wrapper stzh-dropdown+stzh-dropdown{margin-top:calc(var(--stzh-space-xsmall) / -1)}.stzh-datatable__table{width:100%;border-spacing:0;min-width:var(--min-width);}.stzh-datatable__table.has-layout-fixed{table-layout:fixed}.stzh-datatable__thead{position:sticky;top:0;z-index:1}.stzh-datatable__tbody .stzh-datatable__row:nth-child(even) .stzh-datatable__cell{background-color:var(--stzh-color-grey10)}.stzh-datatable__cell{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);text-align:left;border:none;vertical-align:top;border:none;background-color:var(--stzh-color-white);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding)}.stzh-datatable__cell a{color:var(--stzh-link-color);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius);text-underline-offset:var(--stzh-link-text-underline-offset);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line);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-datatable__cell a:hover{color:var(--stzh-link-hover-color);-webkit-text-decoration-line:var(--stzh-link-hover-text-decoration-line);text-decoration-line:var(--stzh-link-hover-text-decoration-line)}.stzh-datatable__cell b,.stzh-datatable__cell strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-datatable__cell i,.stzh-datatable__cell em{font-family:var(--stzh-font-family-medium-italic);font-weight:var(--stzh-font-weight-medium-italic);font-style:var(--stzh-font-style-medium-italic)}.stzh-datatable__cell{}.stzh-datatable__cell.align-left{text-align:left}.stzh-datatable__cell.align-right{text-align:right}.stzh-datatable__cell.align-center{text-align:center}.stzh-datatable__cell{}.stzh-datatable__cell.valign-auto{vertical-align:auto}.stzh-datatable__cell.valign-middle{vertical-align:middle}.stzh-datatable__cell.valign-bottom{vertical-align:bottom}.stzh-datatable__cell.valign-top{vertical-align:top}.stzh-datatable__cell{}.stzh-datatable__cell.nowrap{white-space:nowrap}.stzh-datatable__cell{}.stzh-datatable__cell.is-head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-datatable__cell{}.stzh-datatable__cell.is-sticky-left,.stzh-datatable__cell.is-sticky-right{position:sticky;z-index:1}.stzh-datatable__cell.has-sticked{z-index:2}.stzh-datatable__cell.is-sticky-left{left:0}.stzh-datatable__cell.is-sticky-right{right:0}.stzh-datatable__cell.is-sticky-left::after,.stzh-datatable__cell.is-sticky-right::after{background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;transform:translate(100%);opacity:0;transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-datatable__cell.is-sticky-left::after{right:0}.stzh-datatable__cell.is-sticky-right::after{left:0;transform:rotate(-180deg) translate(100%)}.stzh-datatable__cell.has-sticked.is-sticky-left::after,.stzh-datatable__cell.has-sticked.is-sticky-right::after{opacity:1}.stzh-datatable__cell--head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-table-head-color, var(--stzh-color-primary))}.stzh-datatable__cell--head.is-sortable{padding:0}.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>span,.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>stzh-icon{vertical-align:middle}.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>stzh-icon{display:inline-block}.stzh-datatable{}.stzh-datatable__cell.has-sorted .stzh-datatable__sort-icon{display:inline-flex}.stzh-datatable__cell.has-sorted-desc .stzh-datatable__sort-icon{transform:rotate(180deg)}.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-xlarge)}}.stzh-datatable.has-action-or-search .stzh-datatable__heading:not(:empty){margin-bottom:var(--stzh-space-xlarge)}.stzh-datatable{}.stzh-datatable.has-list .stzh-datatable__outer-wrapper{display:none}@media screen and (min-width: 1260px){.stzh-datatable.has-list .stzh-datatable__outer-wrapper{display:block}}@media screen and (min-width: 1260px){.stzh-datatable.has-list .stzh-datatable__list-wrapper{display:none}}.stzh-datatable{}.stzh-datatable.has-scroll-left-shadow .stzh-datatable__outer-wrapper::before,.stzh-datatable.has-scroll-right-shadow .stzh-datatable__outer-wrapper::after{opacity:1}.stzh-datatable__caption{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}`;const u=class{constructor(i){t(this,i);this.stzhRowClick=e(this,"stzhRowClick");this.stzhCellClick=e(this,"stzhCellClick");this.stzhHeadingCellClick=e(this,"stzhHeadingCellClick");this.stzhSortClick=e(this,"stzhSortClick");this.stzhSortByChange=e(this,"stzhSortByChange");this.stzhSortDirectionChange=e(this,"stzhSortDirectionChange");this.tableLayout="auto";this.label="";this.caption="";this.sortBy="";this.sortDirection="asc";this.idField="id";this.rowHeaderField="";this.hideSearch=false;this.hideColumnHeadings=false;this.showList=false;this.page=1;this.pageSize=null;this.csvHeader=true;this.csvDynamicTyping=true;this.disableMinWidth=false;this.rows=[];this.columns=[];this.query="";this.hasScrollLeft=false;this.hasScrollRight=false;this.isScrollable=false;this.cellsStickyLeft=[];this.cellsStickyRight=[];this.handleSortByDropdownChange=async t=>{const e=t.target;const i=await e.getValue();this.sortBy=i};this.handleSortDirectionDropdownChange=async t=>{const e=t.target;const i=await e.getValue();this.sortDirection=i};this.handleRowClick=(t,e)=>{this.stzhRowClick.emit({component:"stzh-datatable",row:e,originalEvent:t})};this.handleCellClick=(t,e,i,s,a)=>{this.stzhCellClick.emit({component:"stzh-datatable",row:e,column:i,cellIndex:s,rowIndex:a,originalEvent:t})};this.handleSortClick=(t,e)=>{this.stzhSortClick.emit({component:"stzh-datatable",column:e,originalEvent:t});this.toggleSort(e.key)};this.updateScrollStates=()=>{if(!this.tableWrapper){return}const t=this.tableWrapper.scrollLeft;const e=this.tableWrapper.scrollWidth;const i=this.tableWrapper.clientWidth;this.isScrollable=e>i;this.hasScrollLeft=t>0;this.hasScrollRight=t<e-i;const s=Array.from(this.tableWrapper.querySelectorAll("tr"));const a=s[0];if(!a){return}this.cellsStickyLeft=[];this.cellsStickyRight=[];const r=Array.from(a.children);r.forEach(((e,s)=>{const a=e.offsetLeft;const r=a+e.offsetWidth;if(this.hasScrollLeft&&this._columns[s].fixed==="left"&&Math.ceil(t)>=a){this.cellsStickyLeft.push(s)}if(this.hasScrollRight&&this._columns[s].fixed==="right"&&Math.ceil(t)+i<=r){this.cellsStickyRight.push(s)}}))};this.handleResize=()=>{if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame(this.updateScrollStates)};this.handleScroll=()=>{if(this.debounceScroll){window.cancelAnimationFrame(this.debounceScroll)}this.debounceScroll=requestAnimationFrame(this.updateScrollStates)};this.onInputChange=()=>{this.query=this.input.value};this.onPaginationChange=t=>{if(t.detail.component==="stzh-pagination"){this.page=t.detail.page}}}async toggleSort(t){this.page=1;if(t===this.sortBy){this.sortDirection=this.sortDirection==="asc"?"desc":"asc"}else{this.sortDirection="asc";this.sortBy=t}}async csvUrlsWatcher(t){if(!t){return}const e=await fetch(t);const i=await e.text();const{columns:s,rows:a}=await this.parseCsvToJson(i);if(this.csvHeader){this.columns=s.map((t=>{var e;return Object.assign(Object.assign({},t),((e=this._columns)===null||e===void 0?void 0:e.find((({key:e})=>e===t.key)))||{})}))}else{this.columns=this.columns||s}this.rows=a}rowsWatcher(t){let e;if(typeof t==="string"){e=JSON.parse(t)}else{e=t}this._rows=e.map((t=>{const e={};function i(t){const e={value:""};if(typeof t==="object"){return Object.assign(Object.assign({},e),t)}else{return Object.assign(Object.assign({},e),{value:t})}}this._columns.forEach(((s,a)=>{if(Array.isArray(t)){e[s.key]=i(t[a])}else{e[s.key]=i(t[s.key])}if(s.sort&&typeof s.sort==="object"&&s.sort.type==="date"){const t=e[s.key];if(t&&typeof t.value==="string"){t.value=this.parseStringToDate(t.value)}}}));return e}));this.buildSearchIndex()}parseStringToDate(t){var e,i;let s;try{s=(e=this._isoAdapter)===null||e===void 0?void 0:e.parse(t,"dateInput");if(s&&!Number.isNaN(s.getTime()))return s}catch(t){}try{s=(i=this._displayAdapter)===null||i===void 0?void 0:i.parse(t,"dateInput");if(s&&!Number.isNaN(s.getTime()))return s}catch(t){}}columnsWatcher(t){if(typeof t==="string"){this._columns=JSON.parse(t)}else{this._columns=t}this.rowsWatcher(this.rows)}sortByWatcher(t,e){this.stzhSortByChange.emit({component:"stzh-datatable",value:t,oldValue:e})}sortDirectionWatcher(t,e){this.stzhSortDirectionChange.emit({component:"stzh-datatable",value:t,oldValue:e})}async parseCsvToJson(t){return new Promise(((e,i)=>{c.parse(t,{header:this.csvHeader,dynamicTyping:this.csvDynamicTyping,complete:t=>{const i=t.data.map((t=>{const e={};Object.keys(t).forEach((i=>{e[i.toLowerCase()]=t[i]}));return e}));e({columns:Object.keys(t.data[0]).map((t=>({key:t.toLowerCase(),text:t}))),rows:i})},error:t=>{i(t)}})}))}handleHeadingCellClick(t,e,i){this.stzhHeadingCellClick.emit({component:"stzh-datatable",column:e,index:i,originalEvent:t})}buildSearchIndex(){if(!this._rows||this._rows.length===0||!this._columns||this._columns.length===0){return}this.searchIndex=new r.Document({tokenize:"forward",matcher:{"[äà]":"a","[öó]":"o","[üûúù]":"u","[éè]":"e"},document:{id:this.idField,index:this._columns.map((t=>t.key))}});this._rows.forEach((t=>{const e={};for(const i in t){e[i]=this.getCellDisplayValue(t[i])}this.searchIndex.add(e)}))}parseDateValue(t){if(t instanceof Date){return t.getTime()}return 0}getCellDisplayValue(t){if(!t||t.value==null){return""}const e=t.value;if(e instanceof Date){return this._displayAdapter.format(e,"dateInput")}return e.toString()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datatable")}this._displayAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals);this._isoAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsIso,this.localization.$globals);this.columnsWatcher(this.columns);await this.csvUrlsWatcher(this.csvUrl)}componentDidLoad(){this.updateScrollStates()}componentWillRender(){this._rowsShown=[];this._rowsFiltered=[];if(this.query&&this.searchIndex){let t=[];this.searchIndex.search(this.query).forEach((e=>{t=[...t,...e.result]}));t=t.filter((function(e,i){return t.indexOf(e)===i}));this._rows.forEach((e=>{if(t.includes(e[this.idField].value)||t.includes(e[this.idField].value.toString())){this._rowsFiltered.push(e)}}))}else{this._rowsFiltered=[...this._rows]}if(this.sortBy){const t=this._columns.find((t=>t.key===this.sortBy));let e=this.sortBy;let i=null;if(typeof t.sort==="object"){if(t.sort.field){e=t.sort.field}if(t.sort.type){i=t.sort.type}}this._rowsFiltered.sort(((t,s)=>{if(i==="numerical"){if(this.sortDirection==="asc"){return Number(t[e].value)-Number(s[e].value)}else{return Number(s[e].value)-Number(t[e].value)}}else if(i==="date"){const i=this.parseDateValue(t[e].value);const a=this.parseDateValue(s[e].value);return this.sortDirection==="asc"?i-a:a-i}else{const i=t[e].value.toString().localeCompare(s[e].value.toString());return this.sortDirection==="asc"?i:i/-1}}))}if(this.pageSize!==null){const t=this.page*this.pageSize;this._rowsShown=this._rowsFiltered.slice(t-this.pageSize,t)}else{this._rowsShown=[...this._rowsFiltered]}}connectedCallback(){this.resizeObserver=new ResizeObserver(this.handleResize);this.resizeObserver.observe(this.element)}disconnectedCallback(){if(this.resizeObserver){this.resizeObserver.disconnect()}}render(){var t,e;const a=n(this.element,"heading");const r=n(this.element,"action-button");const h={"stzh-datatable":true,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&this.cellsStickyLeft.length===0,"has-scroll-right-shadow":this.hasScrollRight&&this.cellsStickyRight.length===0,"has-list":this.showList,"has-heading":a,"has-action-or-search":r||!this.hideSearch,"has-header":a||r||!this.hideSearch};const o=Math.ceil(this._rowsFiltered.length/this.pageSize);const l=this._columns.find((t=>t.isHeader));const d=[{text:this.localization.sortByDefaultOption,value:""},...this._columns.filter((t=>!!t.sort)).map((t=>{var e;return{value:t.key,text:(e=this.localization.sortByOption)===null||e===void 0?void 0:e.replace(/\{column\}/gi,t.text)}}))];const c=[{value:"asc",text:(t=this.localization.sortDirectionOption)===null||t===void 0?void 0:t.replace(/\{direction\}/gi,this.localization.asc)},{value:"desc",text:(e=this.localization.sortDirectionOption)===null||e===void 0?void 0:e.replace(/\{direction\}/gi,this.localization.desc)}];const f=(t,e,i)=>{var s,a,r,n,h;return{"stzh-datatable__cell stzh-datatable__cell--body":true,"is-sticky-left":t.fixed==="left","is-sticky-right":t.fixed==="right","is-head":!!((s=e[t.key])===null||s===void 0?void 0:s.isHeader)||!!t.isHeader,"is-sortable":!!t.sort,"has-sticked":this.cellsStickyLeft.indexOf(i)>-1||this.cellsStickyRight.indexOf(i)>-1,"has-sorted":t.key===this.sortBy,"has-sorted-asc":t.key===this.sortBy&&this.sortDirection==="asc","has-sorted-desc":t.key===this.sortBy&&this.sortDirection==="desc",[`align-${((a=e[t.key])===null||a===void 0?void 0:a.align)||t.align}`]:!!((r=e[t.key])===null||r===void 0?void 0:r.align)||!!t.align,[`valign-${((n=e[t.key])===null||n===void 0?void 0:n.valign)||t.valign}`]:!!((h=e[t.key])===null||h===void 0?void 0:h.valign)||!!t.valign}};return i(s,null,i("div",{class:h},i("div",{class:"stzh-datatable__header"},i("div",{class:"stzh-datatable__heading"},i("slot",{name:"heading"})),i("div",{class:"stzh-datatable__sub-header"},!this.hideSearch&&i("stzh-input",{ref:t=>this.input=t,class:"stzh-datatable__search",size:"small",name:"stzh-datatable-search",onStzhChange:this.onInputChange,hideOptional:true,label:this.localization.searchLabel,type:"search"}),i("div",{class:"stzh-datatable__action-button"},i("slot",{name:"action-button"})))),i("div",{class:"stzh-datatable__outer-wrapper"},i("div",{ref:t=>this.tableWrapper=t,class:"stzh-datatable__wrapper",onScroll:this.handleScroll},i("table",{class:{"stzh-datatable__table":true,"has-layout-fixed":this.tableLayout==="fixed"}},!!this.caption&&i("caption",{class:"stzh-datatable__caption"},this.caption),!this.hideColumnHeadings&&i("thead",{class:"stzh-datatable__thead"},i("tr",{class:"stzh-datatable__row stzh-datatable__row--head"},(()=>{let t=0;return this._columns.map(((e,s)=>{if(t>0){t--;return null}const a=e.colspan||1;if(a>1){t=a-1}return i("th",Object.assign({onClick:t=>this.handleHeadingCellClick(t,e,s),style:e.style,class:{"stzh-datatable__cell stzh-datatable__cell--head":true,"is-sticky-left":e.fixed==="left","is-sticky-right":e.fixed==="right","is-sortable":!!e.sort,"has-sticked":this.cellsStickyLeft.indexOf(s)>-1||this.cellsStickyRight.indexOf(s)>-1,"has-sorted":e.key===this.sortBy,"has-sorted-asc":e.key===this.sortBy&&this.sortDirection==="asc","has-sorted-desc":e.key===this.sortBy&&this.sortDirection==="desc",[`align-${e.align}`]:!!e.align,[`valign-${e.valign}`]:!!e.valign}},a>1?{colspan:a}:{},e.rowspan?{rowspan:e.rowspan}:{}),!e.hideColumnHeading&&(e.sort?i("button",{class:"stzh-datatable__sort-button",type:"button",onClick:t=>this.handleSortClick(t,e),"s-object-id":e.analyticsId||`${e.text} ${this.localization.columnSort}`},i("span",{innerHTML:e.text}),i("stzh-icon",{name:e.key===this.sortBy?"arrow-up":"sort",class:"stzh-datatable__sort-icon",a11yTitle:this.localization.columnSort})):i("span",{innerHTML:e.text})))}))})())),i("tbody",{class:"stzh-datatable__tbody"},(()=>{const t=[];return this._rowsShown.map(((e,s)=>i("tr",{class:"stzh-datatable__row stzh-datatable__row--body",onClick:t=>this.handleRowClick(t,e)},(()=>{let a=0;return this._columns.map(((r,n)=>{if(t[n]){t[n]--;return null}if(a>0){a--;return null}const h=e[r.key];const o=(h===null||h===void 0?void 0:h.colspan)||1;const l=(h===null||h===void 0?void 0:h.rowspan)||1;if(o>1){a=o-1}if(l>1){t[n]=l-1}return(h===null||h===void 0?void 0:h.isHeader)||r.isHeader?i("th",Object.assign({id:h.id,onClick:t=>this.handleCellClick(t,e,r,n,s),innerHTML:this.getCellDisplayValue(h),style:r.style},o>1?{colspan:o}:{},l>1?{rowspan:l}:{},{class:f(r,e,n)})):i("td",Object.assign({id:h.id,onClick:t=>this.handleCellClick(t,e,r,n,s),innerHTML:this.getCellDisplayValue(h),style:r.style},o>1?{colspan:o}:{},l>1?{rowspan:l}:{},{class:f(r,e,n)}))}))})())))})())))),this.showList&&i("div",{class:"stzh-datatable__list-wrapper"},d.length>1&&i("div",{class:"stzh-datatable__list-sort-wrapper"},i("stzh-dropdown",{inline:true,"no-search":true,class:"stzh-datatable__list-sort-by-dropdown",variant:"plain",size:"small",items:[this.sortBy],options:d,onStzhChange:this.handleSortByDropdownChange}),i("stzh-dropdown",{disabled:this.sortBy==="",inline:true,"no-search":true,class:"stzh-datatable__list-sort-direction-dropdown",variant:"plain",size:"small",items:[this.sortDirection],options:c,onStzhChange:this.handleSortDirectionDropdownChange})),i("stzh-accordion",{variant:"table"},this._rowsShown.map(((t,e)=>{var s,a,r,n;return i("stzh-accordion-item",{heading:((a=(s=t[this.rowHeaderField])===null||s===void 0?void 0:s.value)===null||a===void 0?void 0:a.toString())||((n=(r=t[l===null||l===void 0?void 0:l.key])===null||r===void 0?void 0:r.value)===null||n===void 0?void 0:n.toString())||this.localization.defaultListRowHeading.replace(/\{n\}/gi,(e+1).toString())},i("stzh-datalist",{variant:"table",columnsMedium:2},this._columns.map((e=>i("stzh-datalist-item",{label:e.text,value:this.getCellDisplayValue(t[e.key])})))))})))),this.pageSize!==null&&o>1&&i("div",{class:"stzh-datatable__pagination-wrapper"},i("stzh-pagination",{value:this.page,total:o,onStzhChange:this.onPaginationChange}))))}get element(){return a(this)}static get watchers(){return{csvUrls:["csvUrlsWatcher"],rows:["rowsWatcher"],columns:["columnsWatcher"],sortBy:["sortByWatcher"],sortDirection:["sortDirectionWatcher"]}}};u.style=f();export{u as stzh_datatable};
|
|
8
|
-
//# sourceMappingURL=p-
|
|
7
|
+
*/var h=o.exports;var l;function d(){if(l)return o.exports;l=1;(function(t,e){((e,i)=>{t.exports=i()})(h,(function t(){var e="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{};var i,s=!e.document&&!!e.postMessage,a=e.IS_PAPA_WORKER||false,r={},n=0,o={};function h(t){this._handle=null,this._finished=false,this._completed=false,this._halted=false,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=true,this._completeResults={data:[],errors:[],meta:{}},function(t){var e=_(t);e.chunkSize=parseInt(e.chunkSize),t.step||t.chunk||(e.chunkSize=null);this._handle=new u(e),(this._handle.streamer=this)._config=e}.call(this,t),this.parseChunk=function(t,i){var s=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<s){let e=this._config.newline;e||(r=this._config.quoteChar||'"',e=this._handle.guessLineEndings(t,r)),t=[...t.split(e).slice(s)].join(e)}this.isFirstChunk&&y(this._config.beforeFirstChunk)&&void 0!==(r=this._config.beforeFirstChunk(t))&&(t=r),this.isFirstChunk=false,this._halted=false;var s=this._partialLine+t,r=(this._partialLine="",this._handle.parse(s,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){t=r.meta.cursor,s=(this._finished||(this._partialLine=s.substring(t-this._baseIndex),this._baseIndex=t),r&&r.data&&(this._rowCount+=r.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview);if(a)e.postMessage({results:r,workerId:o.WORKER_ID,finished:s});else if(y(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=true);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!s||!y(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=true),s||r&&r.meta.paused||this._nextChunk(),r}this._halted=true},this._sendError=function(t){y(this._config.error)?this._config.error(t):a&&this._config.error&&e.postMessage({workerId:o.WORKER_ID,error:t,finished:false})}}function l(t){var e;(t=t||{}).chunkSize||(t.chunkSize=o.RemoteChunkSize),h.call(this,t),this._nextChunk=s?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),s||(e.onload=g(this._chunkLoaded,this),e.onerror=g(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!s),this._config.downloadRequestHeaders){var t,i=this._config.downloadRequestHeaders;for(t in i)e.setRequestHeader(t,i[t])}var a;this._config.chunkSize&&(a=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+a));try{e.send(this._config.downloadRequestBody)}catch(t){this._chunkError(t.message)}s&&0===e.status&&this._chunkError()}},this._chunkLoaded=function(){4===e.readyState&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize||e.responseText.length,this._finished=!this._config.chunkSize||this._start>=(t=>null!==(t=t.getResponseHeader("Content-Range"))?parseInt(t.substring(t.lastIndexOf("/")+1)):-1)(e),this.parseChunk(e.responseText)))},this._chunkError=function(t){t=e.statusText||t;this._sendError(new Error(t))}}function d(t){(t=t||{}).chunkSize||(t.chunkSize=o.LocalChunkSize),h.call(this,t);var e,i,s="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,i=t.slice||t.webkitSlice||t.mozSlice,s?((e=new FileReader).onload=g(this._chunkLoaded,this),e.onerror=g(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var t=this._input,a=(this._config.chunkSize&&(a=Math.min(this._start+this._config.chunkSize,this._input.size),t=i.call(t,this._start,a)),e.readAsText(t,this._config.encoding));s||this._chunkLoaded({target:{result:a}})},this._chunkLoaded=function(t){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(e.error)}}function c(t){var e;h.call(this,t=t||{}),this.stream=function(t){return e=t,this._nextChunk()},this._nextChunk=function(){var t,i;if(!this._finished)return t=this._config.chunkSize,e=t?(i=e.substring(0,t),e.substring(t)):(i=e,""),this._finished=!e,this.parseChunk(i)}}function f(t){h.call(this,t=t||{});var e=[],i=true,s=false;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){s&&1===e.length&&(this._finished=true)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=true},this._streamData=g((function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),i&&(i=false,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}}),this),this._streamError=g((function(t){this._streamCleanUp(),this._sendError(t)}),this),this._streamEnd=g((function(){this._streamCleanUp(),s=true,this._streamData("")}),this),this._streamCleanUp=g((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function u(t){var e,i,s,a,r=Math.pow(2,53),n=-r,h=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,d=this,c=0,f=0,u=false,z=false,v=[],m={data:[],errors:[],meta:{}};function g(e){return"greedy"===t.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function w(){if(m&&s&&(x("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),s=false),t.skipEmptyLines&&(m.data=m.data.filter((function(t){return!g(t)}))),k()){if(m)if(Array.isArray(m.data[0])){for(var e=0;k()&&e<m.data.length;e++)m.data[e].forEach(d);m.data.splice(0,1)}else m.data.forEach(d);function d(e,i){y(t.transformHeader)&&(e=t.transformHeader(e,i)),v.push(e)}}function i(e,i){for(var s=t.header?{}:[],a=0;a<e.length;a++){var o=a,d=e[a],d=((e,i)=>(e=>(t.dynamicTypingFunction&&void 0===t.dynamicTyping[e]&&(t.dynamicTyping[e]=t.dynamicTypingFunction(e)),true===(t.dynamicTyping[e]||t.dynamicTyping)))(e)?"true"===i||"TRUE"===i||"false"!==i&&"FALSE"!==i&&((t=>{if(h.test(t)){t=parseFloat(t);if(n<t&&t<r)return 1}})(i)?parseFloat(i):l.test(i)?new Date(i):""===i?null:i):i)(o=t.header?a>=v.length?"__parsed_extra":v[a]:o,d=t.transform?t.transform(d,o):d);"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(d)):s[o]=d}return t.header&&(a>v.length?x("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+a,f+i):a<v.length&&x("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+a,f+i)),s}var a;m&&(t.header||t.dynamicTyping||t.transform)&&(a=1,!m.data.length||Array.isArray(m.data[0])?(m.data=m.data.map(i),a=m.data.length):m.data=i(m.data,0),t.header&&m.meta&&(m.meta.fields=v),f+=a)}function k(){return t.header&&0===v.length}function x(t,e,i,s){t={type:t,code:e,message:i};void 0!==s&&(t.row=s),m.errors.push(t)}y(t.step)&&(a=t.step,t.step=function(e){m=e,k()?w():(w(),0!==m.data.length&&(c+=e.data.length,t.preview&&c>t.preview?i.abort():(m.data=m.data[0],a(m,d))))}),this.parse=function(a,r,n){var h=t.quoteChar||'"',h=(t.newline||(t.newline=this.guessLineEndings(a,h)),s=false,t.delimiter?y(t.delimiter)&&(t.delimiter=t.delimiter(a),m.meta.delimiter=t.delimiter):((h=((e,i,s,a,r)=>{var n,h,l,d;r=r||[",","\t","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var c=0;c<r.length;c++){for(var f,u=r[c],b=0,z=0,v=0,m=(l=void 0,new p({comments:a,delimiter:u,newline:i,preview:10}).parse(e)),_=0;_<m.data.length;_++)s&&g(m.data[_])?v++:(f=m.data[_].length,z+=f,void 0===l?l=f:0<f&&(b+=Math.abs(f-l),l=f));0<m.data.length&&(z/=m.data.length-v),(void 0===h||b<=h)&&(void 0===d||d<z)&&1.99<z&&(h=b,n=u,d=z)}return{successful:!!(t.delimiter=n),bestDelimiter:n}})(a,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=h.bestDelimiter:(s=true,t.delimiter=o.DefaultDelimiter),m.meta.delimiter=t.delimiter),_(t));return t.preview&&t.header&&h.preview++,e=a,i=new p(h),m=i.parse(e,r,n),w(),u?{meta:{paused:true}}:m||{meta:{paused:false}}},this.paused=function(){return u},this.pause=function(){u=true,i.abort(),e=y(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){d.streamer._halted?(u=false,d.streamer.parseChunk(e,true)):setTimeout(d.resume,3)},this.aborted=function(){return z},this.abort=function(){z=true,i.abort(),m.meta.aborted=true,y(t.complete)&&t.complete(m),e=""},this.guessLineEndings=function(t,e){t=t.substring(0,1048576);var e=new RegExp(b(e)+"([^]*?)"+b(e),"gm"),i=(t=t.replace(e,"")).split("\r"),e=t.split("\n"),t=1<e.length&&e[0].length<i[0].length;if(1===i.length||t)return"\n";for(var s=0,a=0;a<i.length;a++)"\n"===i[a][0]&&s++;return s>=i.length/2?"\r\n":"\r"}}function b(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(t){var e=(t=t||{}).delimiter,i=t.newline,s=t.comments,a=t.step,r=t.preview,n=t.fastMode,h=null,l=false,d=null==t.quoteChar?'"':t.quoteChar,c=d;if(void 0!==t.escapeChar&&(c=t.escapeChar),("string"!=typeof e||-1<o.BAD_DELIMITERS.indexOf(e))&&(e=","),s===e)throw new Error("Comment character same as delimiter");true===s?s="#":("string"!=typeof s||-1<o.BAD_DELIMITERS.indexOf(s))&&(s=false),"\n"!==i&&"\r"!==i&&"\r\n"!==i&&(i="\n");var f=0,u=false;this.parse=function(o,p,z){if("string"!=typeof o)throw new Error("Input must be a string");var v=o.length,m=e.length,_=i.length,g=s.length,w=y(a),k=[],x=[],j=[],O=f=0;if(!o)return W();if(n||false!==n&&-1===o.indexOf(d)){for(var C=o.split(i),S=0;S<C.length;S++){if(j=C[S],f+=j.length,S!==C.length-1)f+=i.length;else if(z)return W();if(!s||j.substring(0,g)!==s){if(w){if(k=[],D(j.split(e)),$(),u)return W()}else D(j.split(e));if(r&&r<=S)return k=k.slice(0,r),W(true)}}return W()}for(var E=o.indexOf(e,f),A=o.indexOf(i,f),T=new RegExp(b(c)+b(d),"g"),I=o.indexOf(d,f);;)if(o[f]===d)for(I=f,f++;;){if(-1===(I=o.indexOf(d,I+1)))return z||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:k.length,index:f}),R();if(I===v-1)return R(o.substring(f,I).replace(T,d));if(d===c&&o[I+1]===c)I++;else if(d===c||0===I||o[I-1]!==c){-1!==E&&E<I+1&&(E=o.indexOf(e,I+1));var M=N(-1===(A=-1!==A&&A<I+1?o.indexOf(i,I+1):A)?E:Math.min(E,A));if(o.substr(I+1+M,m)===e){j.push(o.substring(f,I).replace(T,d)),o[f=I+1+M+m]!==d&&(I=o.indexOf(d,f)),E=o.indexOf(e,f),A=o.indexOf(i,f);break}M=N(A);if(o.substring(I+1+M,I+1+M+_)===i){if(j.push(o.substring(f,I).replace(T,d)),F(I+1+M+_),E=o.indexOf(e,f),I=o.indexOf(d,f),w&&($(),u))return W();if(r&&k.length>=r)return W(true);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:k.length,index:f}),I++}}else if(s&&0===j.length&&o.substring(f,f+g)===s){if(-1===A)return W();f=A+_,A=o.indexOf(i,f),E=o.indexOf(e,f)}else if(-1!==E&&(E<A||-1===A))j.push(o.substring(f,E)),f=E+m,E=o.indexOf(e,f);else{if(-1===A)break;if(j.push(o.substring(f,A)),F(A+_),w&&($(),u))return W();if(r&&k.length>=r)return W(true)}return R();function D(t){k.push(t),O=f}function N(t){var e=0;return e=-1!==t&&(t=o.substring(I+1,t))&&""===t.trim()?t.length:e}function R(t){return z||(void 0===t&&(t=o.substring(f)),j.push(t),f=v,D(j),w&&$()),W()}function F(t){f=t,D(j),j=[],A=o.indexOf(i,f)}function W(s){if(t.header&&!p&&k.length&&!l){var a=k[0],r=Object.create(null),n=new Set(a);let e=false;for(let i=0;i<a.length;i++){let s=a[i];if(r[s=y(t.transformHeader)?t.transformHeader(s,i):s]){let t,o=r[s];for(;t=s+"_"+o,o++,n.has(t););n.add(t),a[i]=t,r[s]++,e=true,(h=null===h?{}:h)[t]=s}else r[s]=1,a[i]=s;n.add(s)}e&&console.warn("Duplicate headers found and renamed."),l=true}return{data:k,errors:x,meta:{delimiter:e,linebreak:i,aborted:u,truncated:!!s,cursor:O+(p||0),renamedHeaders:h}}}function $(){a(W()),k=[],x=[]}},this.abort=function(){u=true},this.getCharIndex=function(){return f}}function z(t){var e=t.data,i=r[e.workerId],s=false;if(e.error)i.userError(e.error,e.file);else if(e.results&&e.results.data){var a={abort:function(){s=true,v(e.workerId,{data:[],errors:[],meta:{aborted:true}})},pause:m,resume:m};if(y(i.userStep)){for(var n=0;n<e.results.data.length&&(i.userStep({data:e.results.data[n],errors:e.results.errors,meta:e.results.meta},a),!s);n++);delete e.results}else y(i.userChunk)&&(i.userChunk(e.results,a,e.file),delete e.results)}e.finished&&!s&&v(e.workerId,e.results)}function v(t,e){var i=r[t];y(i.userComplete)&&i.userComplete(e),i.terminate(),delete r[t]}function m(){throw new Error("Not implemented.")}function _(t){if("object"!=typeof t||null===t)return t;var e,i=Array.isArray(t)?[]:{};for(e in t)i[e]=_(t[e]);return i}function g(t,e){return function(){t.apply(e,arguments)}}function y(t){return"function"==typeof t}return o.parse=function(i,s){var a=(s=s||{}).dynamicTyping||false;y(a)&&(s.dynamicTypingFunction=a,a={});if(s.dynamicTyping=a,s.transform=!!y(s.transform)&&s.transform,!s.worker||!o.WORKERS_SUPPORTED)return a=null,"string"==typeof i?(i=(t=>65279!==t.charCodeAt(0)?t:t.slice(1))(i),a=new(s.download?l:c)(s)):true===i.readable&&y(i.read)&&y(i.on)?a=new f(s):(e.File&&i instanceof File||i instanceof Object)&&(a=new d(s)),a.stream(i);(a=(()=>{var i;return!!o.WORKERS_SUPPORTED&&(i=(()=>{var i=e.URL||e.webkitURL||null,s=t.toString();return o.BLOB_URL||(o.BLOB_URL=i.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",s,")();"],{type:"text/javascript"})))})(),(i=new e.Worker(i)).onmessage=z,i.id=n++,r[i.id]=i)})()).userStep=s.step,a.userChunk=s.chunk,a.userComplete=s.complete,a.userError=s.error,s.step=y(s.step),s.chunk=y(s.chunk),s.complete=y(s.complete),s.error=y(s.error),delete s.worker,a.postMessage({input:i,config:s,workerId:a.id})},o.unparse=function(t,e){var i=false,s=true,a=",",r="\r\n",n='"',h=n+n,l=false,d=null,c=false,f=((()=>{if("object"==typeof e){if("string"!=typeof e.delimiter||o.BAD_DELIMITERS.filter((function(t){return-1!==e.delimiter.indexOf(t)})).length||(a=e.delimiter),"boolean"!=typeof e.quotes&&"function"!=typeof e.quotes&&!Array.isArray(e.quotes)||(i=e.quotes),"boolean"!=typeof e.skipEmptyLines&&"string"!=typeof e.skipEmptyLines||(l=e.skipEmptyLines),"string"==typeof e.newline&&(r=e.newline),"string"==typeof e.quoteChar&&(n=e.quoteChar),"boolean"==typeof e.header&&(s=e.header),Array.isArray(e.columns)){if(0===e.columns.length)throw new Error("Option columns is empty");d=e.columns}void 0!==e.escapeChar&&(h=e.escapeChar+n),e.escapeFormulae instanceof RegExp?c=e.escapeFormulae:"boolean"==typeof e.escapeFormulae&&e.escapeFormulae&&(c=/^[=+\-@\t\r].*$/)}})(),new RegExp(b(n),"g"));"string"==typeof t&&(t=JSON.parse(t));if(Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return u(null,t,l);if("object"==typeof t[0])return u(d||Object.keys(t[0]),t,l)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||d),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:"object"==typeof t.data[0]?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||"object"==typeof t.data[0]||(t.data=[t.data])),u(t.fields||[],t.data||[],l);throw new Error("Unable to serialize unrecognized input");function u(t,e,i){var n="",o=("string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e)),Array.isArray(t)&&0<t.length),h=!Array.isArray(e[0]);if(o&&s){for(var l=0;l<t.length;l++)0<l&&(n+=a),n+=p(t[l],l);0<e.length&&(n+=r)}for(var d=0;d<e.length;d++){var c=(o?t:e[d]).length,f=false,u=o?0===Object.keys(e[d]).length:0===e[d].length;if(i&&!o&&(f="greedy"===i?""===e[d].join("").trim():1===e[d].length&&0===e[d][0].length),"greedy"===i&&o){for(var b=[],z=0;z<c;z++){var v=h?t[z]:z;b.push(e[d][v])}f=""===b.join("").trim()}if(!f){for(var m=0;m<c;m++){0<m&&!u&&(n+=a);var _=o&&h?t[m]:m;n+=p(e[d][_],m)}d<e.length-1&&(!i||0<c&&!u)&&(n+=r)}}return n}function p(t,e){var s,r;return null==t?"":t.constructor===Date?JSON.stringify(t).slice(1,25):(r=false,c&&"string"==typeof t&&c.test(t)&&(t="'"+t,r=true),s=t.toString().replace(f,h),(r=r||true===i||"function"==typeof i&&i(t,e)||Array.isArray(i)&&i[e]||((t,e)=>{for(var i=0;i<e.length;i++)if(-1<t.indexOf(e[i]))return true;return false})(s,o.BAD_DELIMITERS)||-1<s.indexOf(a)||" "===s.charAt(0)||" "===s.charAt(s.length-1))?n+s+n:s)}},o.RECORD_SEP=String.fromCharCode(30),o.UNIT_SEP=String.fromCharCode(31),o.BYTE_ORDER_MARK="\ufeff",o.BAD_DELIMITERS=["\r","\n",'"',o.BYTE_ORDER_MARK],o.WORKERS_SUPPORTED=!s&&!!e.Worker,o.NODE_STREAM_INPUT=1,o.LocalChunkSize=10485760,o.RemoteChunkSize=5242880,o.DefaultDelimiter=",",o.Parser=p,o.ParserHandle=u,o.NetworkStreamer=l,o.FileStreamer=d,o.StringStreamer=c,o.ReadableStreamStreamer=f,e.jQuery&&((i=e.jQuery).fn.parse=function(t){var s=t.config||{},a=[];return this.each((function(t){if(!("INPUT"===i(this).prop("tagName").toUpperCase()&&"file"===i(this).attr("type").toLowerCase()&&e.FileReader)||!this.files||0===this.files.length)return true;for(var r=0;r<this.files.length;r++)a.push({file:this.files[r],inputElem:this,instanceConfig:i.extend({},s)})})),r(),this;function r(){if(0===a.length)y(t.complete)&&t.complete();else{var e,s,r,h,l=a[0];if(y(t.before)){var d=t.before(l.file,l.inputElem);if("object"==typeof d){if("abort"===d.action)return e="AbortError",s=l.file,r=l.inputElem,h=d.reason,void(y(t.error)&&t.error({name:e},s,r,h));if("skip"===d.action)return void n();"object"==typeof d.config&&(l.instanceConfig=i.extend(l.instanceConfig,d.config))}else if("skip"===d)return void n()}var c=l.instanceConfig.complete;l.instanceConfig.complete=function(t){y(c)&&c(t,l.file,l.inputElem),n()},o.parse(l.file,l.instanceConfig)}}function n(){a.splice(0,1),r()}}),a&&(e.onmessage=function(t){t=t.data;void 0===o.WORKER_ID&&t&&(o.WORKER_ID=t.workerId);"string"==typeof t.input?e.postMessage({workerId:o.WORKER_ID,results:o.parse(t.input,t.config),finished:true}):(e.File&&t.input instanceof File||t.input instanceof Object)&&(t=o.parse(t.input,t.config))&&e.postMessage({workerId:o.WORKER_ID,results:t,finished:true})}),(l.prototype=Object.create(h.prototype)).constructor=l,(d.prototype=Object.create(h.prototype)).constructor=d,(c.prototype=Object.create(c.prototype)).constructor=c,(f.prototype=Object.create(h.prototype)).constructor=f,o}))})(o);return o.exports}var c=d();const f=()=>`: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-datatable{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-datatable[hidden],stzh-datatable[stzh-hidden]{display:none}stzh-datatable::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-datatable *,stzh-datatable *::before,stzh-datatable *::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-datatable{}stzh-datatable .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-datatable .stzh-fylingfocus-focused{outline-style:none !important}stzh-datatable .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-datatable{--stzh-list-font-size:"";--stzh-list-line-height:"";--stzh-list-letter-spacing:"";--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--search-input-width:var(--stzh-table-search-input-width)}stzh-datatable[disable-min-width]:not([disable-min-width=false]){--min-width:none}.stzh-datatable{-webkit-text-size-adjust:100%}.stzh-datatable__sub-header{display:flex;align-items:flex-end;justify-content:space-between}.stzh-datatable__header .stzh-datatable__search{flex-grow:1;margin-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__header .stzh-datatable__search{width:var(--search-input-width);flex-grow:0}}.stzh-datatable__action-button{flex-shrink:0;margin-left:auto}.stzh-datatable__outer-wrapper{position:relative}.stzh-datatable__outer-wrapper::before,.stzh-datatable__outer-wrapper::after{z-index:4;background:linear-gradient(90deg, rgb(210, 210, 210) 0%, rgba(255, 255, 255, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:1.5rem;transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-datatable__outer-wrapper::before{left:0}.stzh-datatable__outer-wrapper::after{right:0;transform:rotate(-180deg)}.stzh-datatable__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-datatable__wrapper::-webkit-scrollbar{position:absolute;z-index:9999999;width:0.5rem;background-color:transparent}.stzh-datatable__wrapper::-webkit-scrollbar:horizontal{height:0.5rem}.stzh-datatable__wrapper::-webkit-scrollbar-track{background-color:transparent}.stzh-datatable__wrapper::-webkit-scrollbar-thumb{background-color:var(--stzh-color-secondary50)}.stzh-datatable__wrapper::-webkit-scrollbar-thumb:active,.stzh-datatable__wrapper ::-webkit-scrollbar-thumb:hover{background-color:var(--stzh-color-secondary50)}.stzh-datatable__pagination-wrapper{display:flex;justify-content:flex-end}.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xxlarge)}}.stzh-datatable__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);cursor:pointer;appearance:none;background:none;border:none;display:inline-flex;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding);gap:var(--stzh-space-xxsmall)}.stzh-datatable__sort-button:hover,.stzh-datatable__sort-button:focus{color:var(--stzh-color-primary-hover)}.stzh-datatable__list-sort-wrapper{display:flex;flex-direction:column;align-items:flex-start}.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xxlarge)}}.stzh-datatable__list-sort-wrapper stzh-dropdown+stzh-dropdown{margin-top:calc(var(--stzh-space-xsmall) / -1)}.stzh-datatable__table{width:100%;border-spacing:0;min-width:var(--min-width);}.stzh-datatable__table.has-layout-fixed{table-layout:fixed}.stzh-datatable__thead{position:sticky;top:0;z-index:1}.stzh-datatable__tbody .stzh-datatable__row:nth-child(even) .stzh-datatable__cell{background-color:var(--stzh-color-grey10)}.stzh-datatable__cell{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);text-align:left;border:none;vertical-align:top;border:none;background-color:var(--stzh-color-white);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding)}.stzh-datatable__cell a{color:var(--stzh-link-color);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius);text-underline-offset:var(--stzh-link-text-underline-offset);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line);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-datatable__cell a:hover{color:var(--stzh-link-hover-color);-webkit-text-decoration-line:var(--stzh-link-hover-text-decoration-line);text-decoration-line:var(--stzh-link-hover-text-decoration-line)}.stzh-datatable__cell b,.stzh-datatable__cell strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-datatable__cell i,.stzh-datatable__cell em{font-family:var(--stzh-font-family-medium-italic);font-weight:var(--stzh-font-weight-medium-italic);font-style:var(--stzh-font-style-medium-italic)}.stzh-datatable__cell{}.stzh-datatable__cell.align-left{text-align:left}.stzh-datatable__cell.align-right{text-align:right}.stzh-datatable__cell.align-center{text-align:center}.stzh-datatable__cell{}.stzh-datatable__cell.valign-auto{vertical-align:auto}.stzh-datatable__cell.valign-middle{vertical-align:middle}.stzh-datatable__cell.valign-bottom{vertical-align:bottom}.stzh-datatable__cell.valign-top{vertical-align:top}.stzh-datatable__cell{}.stzh-datatable__cell.nowrap{white-space:nowrap}.stzh-datatable__cell{}.stzh-datatable__cell.is-head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-datatable__cell{}.stzh-datatable__cell.is-sticky-left,.stzh-datatable__cell.is-sticky-right{position:sticky;z-index:1}.stzh-datatable__cell.has-sticked{z-index:2}.stzh-datatable__cell.is-sticky-left{left:0}.stzh-datatable__cell.is-sticky-right{right:0}.stzh-datatable__cell.is-sticky-left::after,.stzh-datatable__cell.is-sticky-right::after{background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;transform:translate(100%);opacity:0;transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-datatable__cell.is-sticky-left::after{right:0}.stzh-datatable__cell.is-sticky-right::after{left:0;transform:rotate(-180deg) translate(100%)}.stzh-datatable__cell.has-sticked.is-sticky-left::after,.stzh-datatable__cell.has-sticked.is-sticky-right::after{opacity:1}.stzh-datatable__cell--head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-table-head-color, var(--stzh-color-primary))}.stzh-datatable__cell--head.is-sortable{padding:0}.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>span,.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>stzh-icon{vertical-align:middle}.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>stzh-icon{display:inline-block}.stzh-datatable{}.stzh-datatable__cell.has-sorted .stzh-datatable__sort-icon{display:inline-flex}.stzh-datatable__cell.has-sorted-desc .stzh-datatable__sort-icon{transform:rotate(180deg)}.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-xlarge)}}.stzh-datatable.has-action-or-search .stzh-datatable__heading:not(:empty){margin-bottom:var(--stzh-space-xlarge)}.stzh-datatable{}.stzh-datatable.has-list .stzh-datatable__outer-wrapper{display:none}@media screen and (min-width: 1260px){.stzh-datatable.has-list .stzh-datatable__outer-wrapper{display:block}}@media screen and (min-width: 1260px){.stzh-datatable.has-list .stzh-datatable__list-wrapper{display:none}}.stzh-datatable{}.stzh-datatable.has-scroll-left-shadow .stzh-datatable__outer-wrapper::before,.stzh-datatable.has-scroll-right-shadow .stzh-datatable__outer-wrapper::after{opacity:1}.stzh-datatable__caption{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}`;const u=class{constructor(i){t(this,i);this.stzhRowClick=e(this,"stzhRowClick");this.stzhCellClick=e(this,"stzhCellClick");this.stzhHeadingCellClick=e(this,"stzhHeadingCellClick");this.stzhSortClick=e(this,"stzhSortClick");this.stzhSortByChange=e(this,"stzhSortByChange");this.stzhSortDirectionChange=e(this,"stzhSortDirectionChange");this.tableLayout="auto";this.label="";this.caption="";this.sortBy="";this.sortDirection="asc";this.idField="id";this.rowHeaderField="";this.hideSearch=false;this.hideColumnHeadings=false;this.showList=false;this.page=1;this.pageSize=null;this.csvHeader=true;this.csvDynamicTyping=true;this.disableMinWidth=false;this.rows=[];this.columns=[];this.query="";this.hasScrollLeft=false;this.hasScrollRight=false;this.isScrollable=false;this.cellsStickyLeft=[];this.cellsStickyRight=[];this.handleSortByDropdownChange=async t=>{const e=t.target;const i=await e.getValue();this.sortBy=i};this.handleSortDirectionDropdownChange=async t=>{const e=t.target;const i=await e.getValue();this.sortDirection=i};this.handleRowClick=(t,e)=>{this.stzhRowClick.emit({component:"stzh-datatable",row:e,originalEvent:t})};this.handleCellClick=(t,e,i,s,a)=>{this.stzhCellClick.emit({component:"stzh-datatable",row:e,column:i,cellIndex:s,rowIndex:a,originalEvent:t})};this.handleSortClick=(t,e)=>{this.stzhSortClick.emit({component:"stzh-datatable",column:e,originalEvent:t});this.toggleSort(e.key)};this.updateScrollStates=()=>{if(!this.tableWrapper){return}const t=this.tableWrapper.scrollLeft;const e=this.tableWrapper.scrollWidth;const i=this.tableWrapper.clientWidth;this.isScrollable=e>i;this.hasScrollLeft=t>0;this.hasScrollRight=t<e-i;const s=Array.from(this.tableWrapper.querySelectorAll("tr"));const a=s[0];if(!a){return}this.cellsStickyLeft=[];this.cellsStickyRight=[];const r=Array.from(a.children);r.forEach(((e,s)=>{const a=e.offsetLeft;const r=a+e.offsetWidth;if(this.hasScrollLeft&&this._columns[s].fixed==="left"&&Math.ceil(t)>=a){this.cellsStickyLeft.push(s)}if(this.hasScrollRight&&this._columns[s].fixed==="right"&&Math.ceil(t)+i<=r){this.cellsStickyRight.push(s)}}))};this.handleResize=()=>{if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame(this.updateScrollStates)};this.handleScroll=()=>{if(this.debounceScroll){window.cancelAnimationFrame(this.debounceScroll)}this.debounceScroll=requestAnimationFrame(this.updateScrollStates)};this.onInputChange=()=>{this.query=this.input.value};this.onPaginationChange=t=>{if(t.detail.component==="stzh-pagination"){this.page=t.detail.page}}}async toggleSort(t){this.page=1;if(t===this.sortBy){this.sortDirection=this.sortDirection==="asc"?"desc":"asc"}else{this.sortDirection="asc";this.sortBy=t}}async csvUrlsWatcher(t){if(!t){return}const e=await fetch(t);const i=await e.text();const{columns:s,rows:a}=await this.parseCsvToJson(i);if(this.csvHeader){this.columns=s.map((t=>{var e;return Object.assign(Object.assign({},t),((e=this._columns)===null||e===void 0?void 0:e.find((({key:e})=>e===t.key)))||{})}))}else{this.columns=this.columns||s}this.rows=a}rowsWatcher(t){let e;if(typeof t==="string"){e=JSON.parse(t)}else{e=t}this._rows=e.map((t=>{const e={};function i(t){const e={value:""};if(typeof t==="object"){return Object.assign(Object.assign({},e),t)}else{return Object.assign(Object.assign({},e),{value:t})}}this._columns.forEach(((s,a)=>{if(Array.isArray(t)){e[s.key]=i(t[a])}else{e[s.key]=i(t[s.key])}if(s.sort&&typeof s.sort==="object"&&s.sort.type==="date"){const t=e[s.key];if(t&&typeof t.value==="string"){t.value=this.parseStringToDate(t.value)}}}));return e}));this.buildSearchIndex()}parseStringToDate(t){var e,i;let s;try{s=(e=this._isoAdapter)===null||e===void 0?void 0:e.parse(t,"dateInput");if(s&&!Number.isNaN(s.getTime()))return s}catch(t){}try{s=(i=this._displayAdapter)===null||i===void 0?void 0:i.parse(t,"dateInput");if(s&&!Number.isNaN(s.getTime()))return s}catch(t){}}columnsWatcher(t){if(typeof t==="string"){this._columns=JSON.parse(t)}else{this._columns=t}this.rowsWatcher(this.rows)}sortByWatcher(t,e){this.stzhSortByChange.emit({component:"stzh-datatable",value:t,oldValue:e})}sortDirectionWatcher(t,e){this.stzhSortDirectionChange.emit({component:"stzh-datatable",value:t,oldValue:e})}async parseCsvToJson(t){return new Promise(((e,i)=>{c.parse(t,{header:this.csvHeader,dynamicTyping:this.csvDynamicTyping,complete:t=>{const i=t.data.map((t=>{const e={};Object.keys(t).forEach((i=>{e[i.toLowerCase()]=t[i]}));return e}));e({columns:Object.keys(t.data[0]).map((t=>({key:t.toLowerCase(),text:t}))),rows:i})},error:t=>{i(t)}})}))}handleHeadingCellClick(t,e,i){this.stzhHeadingCellClick.emit({component:"stzh-datatable",column:e,index:i,originalEvent:t})}buildSearchIndex(){if(!this._rows||this._rows.length===0||!this._columns||this._columns.length===0){return}this.searchIndex=new r.Document({tokenize:"forward",matcher:{"[äà]":"a","[öó]":"o","[üûúù]":"u","[éè]":"e"},document:{id:this.idField,index:this._columns.map((t=>t.key))}});this._rows.forEach((t=>{const e={};for(const i in t){e[i]=this.getCellDisplayValue(t[i])}this.searchIndex.add(e)}))}parseDateValue(t){if(t instanceof Date){return t.getTime()}return 0}getCellDisplayValue(t){if(!t||t.value==null){return""}const e=t.value;if(e instanceof Date){return this._displayAdapter.format(e,"dateInput")}return e.toString()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datatable")}this._displayAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals);this._isoAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsIso,this.localization.$globals);this.columnsWatcher(this.columns);await this.csvUrlsWatcher(this.csvUrl)}componentDidLoad(){this.updateScrollStates()}componentWillRender(){this._rowsShown=[];this._rowsFiltered=[];if(this.query&&this.searchIndex){let t=[];this.searchIndex.search(this.query).forEach((e=>{t=[...t,...e.result]}));t=t.filter((function(e,i){return t.indexOf(e)===i}));this._rows.forEach((e=>{if(t.includes(e[this.idField].value)||t.includes(e[this.idField].value.toString())){this._rowsFiltered.push(e)}}))}else{this._rowsFiltered=[...this._rows]}if(this.sortBy){const t=this._columns.find((t=>t.key===this.sortBy));let e=this.sortBy;let i=null;if(typeof t.sort==="object"){if(t.sort.field){e=t.sort.field}if(t.sort.type){i=t.sort.type}}this._rowsFiltered.sort(((t,s)=>{if(i==="numerical"){if(this.sortDirection==="asc"){return Number(t[e].value)-Number(s[e].value)}else{return Number(s[e].value)-Number(t[e].value)}}else if(i==="date"){const i=this.parseDateValue(t[e].value);const a=this.parseDateValue(s[e].value);return this.sortDirection==="asc"?i-a:a-i}else{const i=t[e].value.toString().localeCompare(s[e].value.toString());return this.sortDirection==="asc"?i:i/-1}}))}if(this.pageSize!==null){const t=this.page*this.pageSize;this._rowsShown=this._rowsFiltered.slice(t-this.pageSize,t)}else{this._rowsShown=[...this._rowsFiltered]}}connectedCallback(){this.resizeObserver=new ResizeObserver(this.handleResize);this.resizeObserver.observe(this.element)}disconnectedCallback(){if(this.resizeObserver){this.resizeObserver.disconnect()}}render(){var t,e;const a=n(this.element,"heading");const r=n(this.element,"action-button");const o={"stzh-datatable":true,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&this.cellsStickyLeft.length===0,"has-scroll-right-shadow":this.hasScrollRight&&this.cellsStickyRight.length===0,"has-list":this.showList,"has-heading":a,"has-action-or-search":r||!this.hideSearch,"has-header":a||r||!this.hideSearch};const h=Math.ceil(this._rowsFiltered.length/this.pageSize);const l=this._columns.find((t=>t.isHeader));const d=[{text:this.localization.sortByDefaultOption,value:""},...this._columns.filter((t=>!!t.sort)).map((t=>{var e;return{value:t.key,text:(e=this.localization.sortByOption)===null||e===void 0?void 0:e.replace(/\{column\}/gi,t.text)}}))];const c=[{value:"asc",text:(t=this.localization.sortDirectionOption)===null||t===void 0?void 0:t.replace(/\{direction\}/gi,this.localization.asc)},{value:"desc",text:(e=this.localization.sortDirectionOption)===null||e===void 0?void 0:e.replace(/\{direction\}/gi,this.localization.desc)}];const f=(t,e,i)=>{var s,a,r,n,o;return{"stzh-datatable__cell stzh-datatable__cell--body":true,"is-sticky-left":t.fixed==="left","is-sticky-right":t.fixed==="right","is-head":!!((s=e[t.key])===null||s===void 0?void 0:s.isHeader)||!!t.isHeader,"is-sortable":!!t.sort,"has-sticked":this.cellsStickyLeft.indexOf(i)>-1||this.cellsStickyRight.indexOf(i)>-1,"has-sorted":t.key===this.sortBy,"has-sorted-asc":t.key===this.sortBy&&this.sortDirection==="asc","has-sorted-desc":t.key===this.sortBy&&this.sortDirection==="desc",[`align-${((a=e[t.key])===null||a===void 0?void 0:a.align)||t.align}`]:!!((r=e[t.key])===null||r===void 0?void 0:r.align)||!!t.align,[`valign-${((n=e[t.key])===null||n===void 0?void 0:n.valign)||t.valign}`]:!!((o=e[t.key])===null||o===void 0?void 0:o.valign)||!!t.valign}};return i(s,null,i("div",{class:o},i("div",{class:"stzh-datatable__header"},i("div",{class:"stzh-datatable__heading"},i("slot",{name:"heading"})),i("div",{class:"stzh-datatable__sub-header"},!this.hideSearch&&i("stzh-input",{ref:t=>this.input=t,class:"stzh-datatable__search",size:"small",name:"stzh-datatable-search",onStzhChange:this.onInputChange,hideOptional:true,label:this.localization.searchLabel,type:"search"}),i("div",{class:"stzh-datatable__action-button"},i("slot",{name:"action-button"})))),i("div",{class:"stzh-datatable__outer-wrapper"},i("div",{ref:t=>this.tableWrapper=t,class:"stzh-datatable__wrapper",onScroll:this.handleScroll},i("table",{class:{"stzh-datatable__table":true,"has-layout-fixed":this.tableLayout==="fixed"}},!!this.caption&&i("caption",{class:"stzh-datatable__caption"},this.caption),!this.hideColumnHeadings&&i("thead",{class:"stzh-datatable__thead"},i("tr",{class:"stzh-datatable__row stzh-datatable__row--head"},(()=>{let t=0;return this._columns.map(((e,s)=>{if(t>0){t--;return null}const a=e.colspan||1;if(a>1){t=a-1}return i("th",Object.assign({onClick:t=>this.handleHeadingCellClick(t,e,s),style:e.style,class:{"stzh-datatable__cell stzh-datatable__cell--head":true,"is-sticky-left":e.fixed==="left","is-sticky-right":e.fixed==="right","is-sortable":!!e.sort,"has-sticked":this.cellsStickyLeft.indexOf(s)>-1||this.cellsStickyRight.indexOf(s)>-1,"has-sorted":e.key===this.sortBy,"has-sorted-asc":e.key===this.sortBy&&this.sortDirection==="asc","has-sorted-desc":e.key===this.sortBy&&this.sortDirection==="desc",[`align-${e.align}`]:!!e.align,[`valign-${e.valign}`]:!!e.valign}},a>1?{colspan:a}:{},e.rowspan?{rowspan:e.rowspan}:{}),!e.hideColumnHeading&&(e.sort?i("button",{class:"stzh-datatable__sort-button",type:"button",onClick:t=>this.handleSortClick(t,e),"s-object-id":e.analyticsId||`${e.text} ${this.localization.columnSort}`},i("span",{innerHTML:e.text}),i("stzh-icon",{name:e.key===this.sortBy?"arrow-up":"sort",class:"stzh-datatable__sort-icon",a11yTitle:this.localization.columnSort})):i("span",{innerHTML:e.text})))}))})())),i("tbody",{class:"stzh-datatable__tbody"},(()=>{const t=[];return this._rowsShown.map(((e,s)=>i("tr",{class:"stzh-datatable__row stzh-datatable__row--body",onClick:t=>this.handleRowClick(t,e)},(()=>{let a=0;return this._columns.map(((r,n)=>{if(t[n]){t[n]--;return null}if(a>0){a--;return null}const o=e[r.key];const h=(o===null||o===void 0?void 0:o.colspan)||1;const l=(o===null||o===void 0?void 0:o.rowspan)||1;if(h>1){a=h-1}if(l>1){t[n]=l-1}return(o===null||o===void 0?void 0:o.isHeader)||r.isHeader?i("th",Object.assign({id:o.id,onClick:t=>this.handleCellClick(t,e,r,n,s),innerHTML:this.getCellDisplayValue(o),style:r.style},h>1?{colspan:h}:{},l>1?{rowspan:l}:{},{class:f(r,e,n)})):i("td",Object.assign({id:o.id,onClick:t=>this.handleCellClick(t,e,r,n,s),innerHTML:this.getCellDisplayValue(o),style:r.style},h>1?{colspan:h}:{},l>1?{rowspan:l}:{},{class:f(r,e,n)}))}))})())))})())))),this.showList&&i("div",{class:"stzh-datatable__list-wrapper"},d.length>1&&i("div",{class:"stzh-datatable__list-sort-wrapper"},i("stzh-dropdown",{inline:true,"no-search":true,class:"stzh-datatable__list-sort-by-dropdown",variant:"plain",size:"small",items:[this.sortBy],options:d,onStzhChange:this.handleSortByDropdownChange}),i("stzh-dropdown",{disabled:this.sortBy==="",inline:true,"no-search":true,class:"stzh-datatable__list-sort-direction-dropdown",variant:"plain",size:"small",items:[this.sortDirection],options:c,onStzhChange:this.handleSortDirectionDropdownChange})),i("stzh-accordion",{variant:"table"},this._rowsShown.map(((t,e)=>{var s,a,r,n;return i("stzh-accordion-item",{heading:((a=(s=t[this.rowHeaderField])===null||s===void 0?void 0:s.value)===null||a===void 0?void 0:a.toString())||((n=(r=t[l===null||l===void 0?void 0:l.key])===null||r===void 0?void 0:r.value)===null||n===void 0?void 0:n.toString())||this.localization.defaultListRowHeading.replace(/\{n\}/gi,(e+1).toString())},i("stzh-datalist",{variant:"table",columnsMedium:2},this._columns.map((e=>i("stzh-datalist-item",{label:e.text,value:this.getCellDisplayValue(t[e.key])})))))})))),this.pageSize!==null&&h>1&&i("div",{class:"stzh-datatable__pagination-wrapper"},i("stzh-pagination",{value:this.page,total:h,onStzhChange:this.onPaginationChange}))))}get element(){return a(this)}static get watchers(){return{csvUrls:["csvUrlsWatcher"],rows:["rowsWatcher"],columns:["columnsWatcher"],sortBy:["sortByWatcher"],sortDirection:["sortDirectionWatcher"]}}};u.style=f();export{u as stzh_datatable};
|
|
8
|
+
//# sourceMappingURL=p-8f76f465.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,F as r,a as e,d as o}from"./p-BQiZz3hq.js";import{a}from"./p-Df1Iqnz9.js";import{h}from"./p--MYN2wgX.js";import{S as d}from"./p-wQYjVTpY.js";import{c}from"./p-BubviQku.js";const n=()=>`.sc-stzh-datepicker-h{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}[hidden].sc-stzh-datepicker-h,[stzh-hidden].sc-stzh-datepicker-h{display:none}.sc-stzh-datepicker-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datepicker-h *.sc-stzh-datepicker,.sc-stzh-datepicker-h *.sc-stzh-datepicker::before,.sc-stzh-datepicker-h *.sc-stzh-datepicker::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)}.sc-stzh-datepicker-h .has-focus.sc-stzh-datepicker{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker{outline-style:none !important}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker::-moz-focus-inner{border:0 !important}.sc-stzh-datepicker-h{--calendar-width:var(--stzh-calendar-width);width:100%;position:relative}[inline].sc-stzh-datepicker-h:not([inline=false]){width:var(--calendar-width)}.stzh-datepicker__popover.sc-stzh-datepicker{--width:auto}.stzh-datepicker__calendar.sc-stzh-datepicker{margin-left:auto;margin-right:auto}.stzh-datepicker__calendar.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker{display:flex;width:var(--calendar-width);margin-left:auto;margin-right:auto}.stzh-datepicker__actions.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker:not(:empty){padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-small)}.stzh-datepicker--has-action.sc-stzh-datepicker .stzh-datepicker__popover.sc-stzh-datepicker{--content-padding:0 0 var(--stzh-space-small) 0}`;const l=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange");this.calendarMin="";this.calendarMax="";this.calendarIsDateDisabled=()=>false;this.name="";this.value="";this.calendarValue="";this.inputValue="";this.defaultValue="";this.label="";this.labelHidden=false;this.readonly=false;this.disabled=false;this.invalid=false;this.required=false;this.hideOptional=false;this.size="default";this.inline=false;this.internalDateAdapter="iso";this.handleReset=async()=>{this.value=this.defaultValue};this.onRootFocus=()=>{if(this.input){this.input.focus()}};this.onInputChanged=()=>{const t=this.dateAdapter.parse(this.input.value,"dateInput");if(this.input.value===""||t){const s=this._internalDateAdapter.format(t,"dateInput");if(this.value!==s){this.value=s}else{this.valueWatcher(s)}this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t})}};this.onCalendarChange=t=>{if(t.detail.component!=="stzh-calendar"){t.stopPropagation();return}this.value=t.detail.valueAsDate&&this._internalDateAdapter.format(t.detail.valueAsDate,"dateInput");this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t.detail.valueAsDate});if(this.popoverElement){this.popoverElement.hide()}}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}createDateFormatters(){if(this.localization){this.dateFormatLong=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long",year:"numeric"})}}valueWatcher(t){if(!this._internalDateAdapter){return}const s=this._internalDateAdapter.parse(t,"dateInput");this.calendarValue=a(s);this.inputValue=this.dateAdapter.format(s,"dateInput");this.updateButtonAccessibleLabel()}dateAdapterWatcher(t){if(!t){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}}internalDateAdapterWatcher(t){if(t==="iso"||!t){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsIso,this.localization.$globals)}else if(t==="legacy"){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsLegacy,this.localization.$globals)}else{this._internalDateAdapter=t}}async setDate(t){this.value=this._internalDateAdapter.format(t,"dateInput")}async getPopover(){return this.popoverElement}updateButtonAccessibleLabel(){if(!this.localization){return}try{const t=this._internalDateAdapter.parse(this.value,"dateInput");this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(t)}`}catch(t){this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}`}}connectedCallback(){this.createDateFormatters()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datepicker")}this.dateAdapterWatcher(this.dateAdapter);this.internalDateAdapterWatcher(this.internalDateAdapter);this.valueWatcher(this.value);this.defaultValue=this.defaultValue||this.value}render(){const t=h(this.element,"action");const s={"stzh-datepicker":true,"stzh-datepicker--inline":this.inline,"stzh-datepicker--has-action":t};return i(e,{key:"a52d9624dabb7c42b2aca063617cbf4c58127bc4",tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"7404dd380fdb5a753c532873aba9251376ca5b9f",class:s},i("input",{key:"dd52fed0a66c9fd644a741c7d77e1267d0dda7ff",type:"hidden",name:this.name,value:this.value,defaultValue:this.defaultValue}),this.inline&&i(r,{key:"418047f0d970748aef11562c42bd6881b3f1adc9"},i("stzh-calendar",{key:"f495e7a09408da7f3b4fd9d825f4767c008a930d",value:this.calendarValue,class:"stzh-datepicker__calendar is-inline",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"d2b7b3046ca5f5b759a37df5854ecd701d096c81",class:"stzh-datepicker__actions"},i("slot",{key:"be0a3d645da926485f433354589023d43bd0b194",name:"action"}))),!this.inline&&i("stzh-input",{key:"47a7d1e2dac63e0a671622036e018fc8551e430a",value:this.inputValue,label:this.label,labelHidden:this.labelHidden,ref:t=>this.input=t,noAutocomplete:true,onStzhChanged:this.onInputChanged,readonly:this.readonly,disabled:this.disabled,description:this.description,descriptionLong:this.descriptionLong,error:this.error,invalid:this.invalid,required:this.required,hideOptional:this.hideOptional,size:this.size},i("stzh-popover",{key:"88a4c69dabe171b5c584019eea6b0d5d97ee4864",ref:t=>this.popoverElement=t,class:"stzh-datepicker__popover",slot:"button-right",placement:"bottom-end",strategy:"fixed",label:this.label},i("stzh-button",{key:"aee2d861b3359fb308403d0190a7bd510605c07b","icon-only":true,icon:"calendar",size:this.size,disabled:this.disabled,a11yLabel:this.buttonLabel}),i("div",{key:"8dc55f20ad3c95666d58262a516a8b38a1870760",slot:"content"},i("stzh-calendar",{key:"f97f29fc39df058b02dfabbed2eb3af1f2e5edeb",value:this.calendarValue,class:"stzh-datepicker__calendar is-popover",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"74d5a5147c5fea90f91bb52f78b2d2ede3fc6ee9",class:"stzh-datepicker__actions"},i("slot",{key:"6661005acb96f9cfb88d1e5608c315bbb4af8535",name:"action"})))))))}get element(){return o(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"],dateAdapter:["dateAdapterWatcher"],internalDateAdapter:["internalDateAdapterWatcher"]}}};l.style=n();const z=()=>`.sc-stzh-radio-h{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}[hidden].sc-stzh-radio-h,[stzh-hidden].sc-stzh-radio-h{display:none}.sc-stzh-radio-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radio-h *.sc-stzh-radio,.sc-stzh-radio-h *.sc-stzh-radio::before,.sc-stzh-radio-h *.sc-stzh-radio::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)}.sc-stzh-radio-h .has-focus.sc-stzh-radio{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio{outline-style:none !important}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio::-moz-focus-inner{border:0 !important}.sc-stzh-radio-h{--label-color:var(--stzh-radio-label-color, var(--stzh-base-color));--label-hover-color:var(--stzh-radio-label-hover-color, var(--stzh-color-primary70));--label-hover-checked-color:var(\n --stzh-radio-label-hover-checked-color,\n var(--stzh-color-primary90)\n );display:inline-block}[disabled].sc-stzh-radio-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radio__marker-symbol.sc-stzh-radio{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radio__marker-text.sc-stzh-radio{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-radio__description-wrapper.sc-stzh-radio{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radio__error.sc-stzh-radio,.stzh-radio__description.sc-stzh-radio{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radio__error.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio__error-list.sc-stzh-radio{list-style:none;margin:0;padding:0}.stzh-radio__description.sc-stzh-radio{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-radio__description-long.sc-stzh-radio{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radio__description-long.sc-stzh-radio{margin-top:0}}.stzh-radio__description-long-popover.sc-stzh-radio{--width:auto;--max-width:27.3125rem}.stzh-radio__description-long-button.sc-stzh-radio{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-radio.sc-stzh-radio stzh-icon.stzh-radio__description-long-icon.sc-stzh-radio{--size:var(--stzh-icon-size-xsmall)}.stzh-radio--has-error.sc-stzh-radio .stzh-radio__error.sc-stzh-radio,.stzh-radio--has-description.sc-stzh-radio .stzh-radio__description.sc-stzh-radio{margin-top:var(--stzh-space-xxxsmall)}.stzh-radio.sc-stzh-radio{display:grid}.stzh-radio__field-wrapper.sc-stzh-radio{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);position:relative;display:flex;-webkit-user-select:none;user-select:none;cursor:pointer}.stzh-radio__input.sc-stzh-radio{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;appearance:none;border-radius:var(--stzh-form-input-border-radius)}.stzh-radio__mark.sc-stzh-radio{border:0.125rem solid var(--stzh-color-black);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;flex-shrink:0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-radio__mark.sc-stzh-radio::before{content:""}.stzh-radio__check.sc-stzh-radio{background-color:currentColor;color:var(--stzh-color-primary70);width:1rem;height:1rem;border-radius:50%;opacity:0;transition-property:color;transition-duration:var(--stzh-base-transition-animation-speed)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-radio__check.sc-stzh-radio{background-color:ButtonText}}.stzh-radio__label.sc-stzh-radio{--stzh-base-color:initial;display:inline-block;color:var(--label-color);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-radio__label.sc-stzh-radio:empty{display:none}.stzh-radio__marker.sc-stzh-radio{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radio.sc-stzh-radio:hover .stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__label.sc-stzh-radio{color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--label-hover-checked-color)}.stzh-radio.sc-stzh-radio:hover .stzh-radio__mark.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-checked-color)}.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{opacity:1}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio,.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-error60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__field-wrapper.sc-stzh-radio{cursor:not-allowed}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio{color:var(--stzh-color-grey60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__mark.sc-stzh-radio{background-color:var(--stzh-color-grey20)}`;let p=0;const f=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange");this.stzhFocus=s(this,"stzhFocus");this.stzhBlur=s(this,"stzhBlur");this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.hideOptional=false;this.checked=false;this.label="";this.a11yDescribedby="";this.focusedByInput=false;this.handleReset=async()=>{this.checked=this.defaultChecked};this.onInput=t=>{this.checked=this.input.checked;this.stzhChange.emit({component:"stzh-radio",originalEvent:t,value:this.value,checked:this.checked})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-radio",originalEvent:t})};this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-radio",originalEvent:t})}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}async componentWillLoad(){this.inputId=`stzh-radio-${p++}`;this.errorWatcher(this.error);this.defaultChecked=typeof this.defaultChecked==="boolean"?this.defaultChecked:this.checked;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radio")}}render(){var t;const s=h(this.element,"description")||!!this.description;const r=h(this.element,"description-long")||!!this.descriptionLong;const o=h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const a={"stzh-radio":true,"stzh-radio--has-description":s,"stzh-radio--has-description-long":r,"stzh-radio--has-error":o,"stzh-radio--is-required":this.required,"stzh-radio--is-invalid":this.invalid||o,"stzh-radio--is-disabled":this.disabled};return i(e,{key:"4de55dcf0cf5751dea729849cbca2b766c34baac","is-invalid":this.invalid||o,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"018a6fa6d79c7f64b3a8b214ef77d63b36e2178d",class:a},i("label",{key:"f6137e3feb9debe11e31eb3c162a7932c82b68aa",class:"stzh-radio__field-wrapper"},i("input",{key:"118a9e4140741846288154d47bf2e2de2312aaf7",class:"stzh-radio__input",ref:t=>this.input=t,type:"radio",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,defaultChecked:this.defaultChecked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),i("div",{key:"fb02dbba793d2d5fe03e1825700167044b5911b6",class:"stzh-radio__mark"},i("div",{key:"198e7d5767f7990d246ab208ada160786fb38ba3",class:"stzh-radio__check"})),i("div",{key:"fb42d1545bbbd40bf113ac893b756db32e0d9d98",class:"stzh-radio__label"},this.label?this.label:i("slot",null),!this.hideOptional&&i("span",{key:"54887af076ec189d17f37cf61a346ee841071706",class:"stzh-radio__marker"},i("span",{key:"5da875ed1cc969a251a8a3318628476959eb13e8",class:"stzh-radio__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"c0bded0610f13b04844f33e2db4ea1331ba10378",class:"stzh-radio__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),(o||this.description||this.descriptionLong)&&i(d,{key:"e5f84e2d1bba00885e0ebb0e5702ea6cbef4b61a",classPrefix:"stzh-radio",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:r,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{error:["errorWatcher"]}}};f.style=z();const u=()=>`.sc-stzh-radiogroup-h{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}[hidden].sc-stzh-radiogroup-h,[stzh-hidden].sc-stzh-radiogroup-h{display:none}.sc-stzh-radiogroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radiogroup-h *.sc-stzh-radiogroup,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::before,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::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)}.sc-stzh-radiogroup-h .has-focus.sc-stzh-radiogroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup{outline-style:none !important}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup::-moz-focus-inner{border:0 !important}.sc-stzh-radiogroup-h{--legend-color:var(--stzh-radio-group-legend-color, var(--stzh-heading-color))}[disabled].sc-stzh-radiogroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radiogroup__marker-symbol.sc-stzh-radiogroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radiogroup__marker-text.sc-stzh-radiogroup{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-radiogroup__description-wrapper.sc-stzh-radiogroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__description.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radiogroup__error.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup__error-list.sc-stzh-radiogroup{list-style:none;margin:0;padding:0}.stzh-radiogroup__description.sc-stzh-radiogroup{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-radiogroup__description-long.sc-stzh-radiogroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-top:0}}.stzh-radiogroup__description-long-popover.sc-stzh-radiogroup{--width:auto;--max-width:27.3125rem}.stzh-radiogroup__description-long-button.sc-stzh-radiogroup{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-radiogroup.sc-stzh-radiogroup stzh-icon.stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-xsmall)}.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup--has-description.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-radiogroup.sc-stzh-radiogroup{margin:0;padding:0;border:none}.stzh-radiogroup__fields.sc-stzh-radiogroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-radiogroup__legend.sc-stzh-radiogroup{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);color:var(--legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-radiogroup__marker.sc-stzh-radiogroup{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))}.stzh-radiogroup--hide-legend.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{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-radiogroup--is-invalid.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup,.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup--is-disabled.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-grey60)}.stzh-radiogroup--direction-horizontal.sc-stzh-radiogroup .stzh-radiogroup__fields.sc-stzh-radiogroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}`;const g="stzh-radio, stzh-button[type=radio], stzh-card";let b=0;const m=class{constructor(s){t(this,s);this.disabled=false;this.hideLegend=false;this.invalid=false;this.required=false;this.hideOptional=false;this.value="";this.defaultValue="";this.direction="vertical";this.checkedRadio=null;this.preventUpdateProperties=[];this._preventUpdateProperties=[];this.handleReset=async()=>{this.value=this.defaultValue};this.init=()=>{this.radios=Array.from(this.element.querySelectorAll(g));this.updateRadiosProperty("hide-optional",true);this.updateRadiosProperty("a11y-describedby",`${this.radiogroupId}-description`);this.updateRadiosProperty("invalid",this.invalid||this.errorUsed);this.watchValue(this.value);this.watchName(this.name);this.watchDisabled(this.disabled);this.watchRequired(this.required)}}watchName(t){this.updateRadiosProperty("name",t)}watchDisabled(t){this.updateRadiosProperty("disabled",t)}watchRequired(t){this.updateRadiosProperty("required",t)}watchValue(t){this.updateCheckedRadioByValue(t)}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}preventUpdatePropertiesWatcher(t){if(typeof t==="string"){this._preventUpdateProperties=JSON.parse(t)}else{this._preventUpdateProperties=t}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}onChange(t){this.value=t.detail.value}updateRadiosProperty(t,s){this.radios.forEach((i=>{if(t==="disabled"){if(!i.disabled){i.disabled=s}}else if(t==="name"||this._preventUpdateProperties.indexOf(t)===-1){i[c(t)]=s}}))}get errorUsed(){var t;return h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0}updateCheckedRadioByValue(t){this.checkedRadio=this.radios.find((s=>s.value===t));if(this.checkedRadio){this.checkedRadio.checked=true}this.uncheckRadios()}uncheckRadios(){this.radios.forEach((t=>{if(!this.checkedRadio||t!==this.checkedRadio){t.checked=false}}))}componentDidLoad(){this.defaultValue=this.defaultValue?this.defaultValue:this.value}async componentWillLoad(){this.radiogroupId=`stzh-radiogroup-${b++}`;this.errorWatcher(this.error);this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radiogroup")}}componentShouldUpdate(t,s,i){return i!=="checkedRadio"}componentDidRender(){this.init()}connectedCallback(){if(!this.value){this.radios=Array.from(this.element.querySelectorAll(g));const t=this.radios.find((t=>t.checked));if(t){this.value=t.value}}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const t=h(this.element,"description")||!!this.description;const s=h(this.element,"description-long")||!!this.descriptionLong;const r={"stzh-radiogroup":true,"stzh-radiogroup--has-description":t,"stzh-radiogroup--has-description-long":s,"stzh-radiogroup--has-error":this.errorUsed,"stzh-radiogroup--is-required":this.required,"stzh-radiogroup--is-disabled":this.disabled,"stzh-radiogroup--is-invalid":this.invalid||this.errorUsed,"stzh-radiogroup--hide-legend":this.hideLegend,[`stzh-radiogroup--direction-${this.direction}`]:!!this.direction};return i(e,{key:"4b55ab98e15a04debe63b212cd4f25e65a15ef1d","is-invalid":this.invalid||this.errorUsed},i("fieldset",{key:"45d212fee1fea266114221c5c9de0b05f5a5fb9b",class:r},this.legend&&i("legend",{key:"c2a9d48ccbdadb3382382dc2c5bdbf63f3a6d595",class:"stzh-radiogroup__legend"},this.legend,!this.hideOptional&&i("span",{key:"24e4f867820ab2f2506ffa906fad0af67a492351",class:"stzh-radiogroup__marker"},i("span",{key:"0c933048161777d8dfa2d690413c591a80c3a7bf",class:"stzh-radiogroup__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"3a8343e9de73db242c5c86c17032b8729c3ec22c",class:"stzh-radiogroup__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),i("div",{key:"988907f9f473b15786855ed15401590e97f4d278",class:"stzh-radiogroup__fields"},i("slot",{key:"b1b851a932856476fb634fddc33a84e7aa6c71f2"})),(this.errorUsed||this.description||this.descriptionLong)&&i(d,{key:"d52f2333e6f2e5fa68f740ab7df8856434f1b9d0",classPrefix:"stzh-radiogroup",id:`${this.radiogroupId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{name:["watchName"],disabled:["watchDisabled"],required:["watchRequired"],value:["watchValue"],error:["errorWatcher"],preventUpdateProperties:["preventUpdatePropertiesWatcher"]}}};m.style=u();export{l as stzh_datepicker,f as stzh_radio,m as stzh_radiogroup};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as s,h as i,F as r,a as e,d as o}from"./p-WVDCFmOb.js";import{a}from"./p-Df1Iqnz9.js";import{h}from"./p--MYN2wgX.js";import{S as d}from"./p-QItfqfyu.js";import{c}from"./p-BubviQku.js";const n=()=>`.sc-stzh-datepicker-h{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}[hidden].sc-stzh-datepicker-h,[stzh-hidden].sc-stzh-datepicker-h{display:none}.sc-stzh-datepicker-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datepicker-h *.sc-stzh-datepicker,.sc-stzh-datepicker-h *.sc-stzh-datepicker::before,.sc-stzh-datepicker-h *.sc-stzh-datepicker::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)}.sc-stzh-datepicker-h .has-focus.sc-stzh-datepicker{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker{outline-style:none !important}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker::-moz-focus-inner{border:0 !important}.sc-stzh-datepicker-h{--calendar-width:var(--stzh-calendar-width);width:100%;position:relative}[inline].sc-stzh-datepicker-h:not([inline=false]){width:var(--calendar-width)}.stzh-datepicker__popover.sc-stzh-datepicker{--width:auto}.stzh-datepicker__calendar.sc-stzh-datepicker{margin-left:auto;margin-right:auto}.stzh-datepicker__calendar.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker{display:flex;width:var(--calendar-width);margin-left:auto;margin-right:auto}.stzh-datepicker__actions.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker:not(:empty){padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-small)}.stzh-datepicker--has-action.sc-stzh-datepicker .stzh-datepicker__popover.sc-stzh-datepicker{--content-padding:0 0 var(--stzh-space-small) 0}`;const l=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange");this.calendarMin="";this.calendarMax="";this.calendarIsDateDisabled=()=>false;this.name="";this.value="";this.calendarValue="";this.inputValue="";this.defaultValue="";this.label="";this.labelHidden=false;this.readonly=false;this.disabled=false;this.invalid=false;this.required=false;this.hideOptional=false;this.size="default";this.inline=false;this.internalDateAdapter="iso";this.handleReset=async()=>{this.value=this.defaultValue};this.onRootFocus=()=>{if(this.input){this.input.focus()}};this.onInputChanged=()=>{const t=this.dateAdapter.parse(this.input.value,"dateInput");if(this.input.value===""||t){const s=this._internalDateAdapter.format(t,"dateInput");if(this.value!==s){this.value=s}else{this.valueWatcher(s)}this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t})}};this.onCalendarChange=t=>{if(t.detail.component!=="stzh-calendar"){t.stopPropagation();return}this.value=t.detail.valueAsDate&&this._internalDateAdapter.format(t.detail.valueAsDate,"dateInput");this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t.detail.valueAsDate});if(this.popoverElement){this.popoverElement.hide()}}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}createDateFormatters(){if(this.localization){this.dateFormatLong=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long",year:"numeric"})}}valueWatcher(t){if(!this._internalDateAdapter){return}const s=this._internalDateAdapter.parse(t,"dateInput");this.calendarValue=a(s);this.inputValue=this.dateAdapter.format(s,"dateInput");this.updateButtonAccessibleLabel()}dateAdapterWatcher(t){if(!t){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}}internalDateAdapterWatcher(t){if(t==="iso"||!t){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsIso,this.localization.$globals)}else if(t==="legacy"){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsLegacy,this.localization.$globals)}else{this._internalDateAdapter=t}}async setDate(t){this.value=this._internalDateAdapter.format(t,"dateInput")}async getPopover(){return this.popoverElement}updateButtonAccessibleLabel(){if(!this.localization){return}try{const t=this._internalDateAdapter.parse(this.value,"dateInput");this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(t)}`}catch(t){this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}`}}connectedCallback(){this.createDateFormatters()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datepicker")}this.dateAdapterWatcher(this.dateAdapter);this.internalDateAdapterWatcher(this.internalDateAdapter);this.valueWatcher(this.value);this.defaultValue=this.defaultValue||this.value}render(){const t=h(this.element,"action");const s={"stzh-datepicker":true,"stzh-datepicker--inline":this.inline,"stzh-datepicker--has-action":t};return i(e,{key:"a52d9624dabb7c42b2aca063617cbf4c58127bc4",tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"7404dd380fdb5a753c532873aba9251376ca5b9f",class:s},i("input",{key:"dd52fed0a66c9fd644a741c7d77e1267d0dda7ff",type:"hidden",name:this.name,value:this.value,defaultValue:this.defaultValue}),this.inline&&i(r,{key:"418047f0d970748aef11562c42bd6881b3f1adc9"},i("stzh-calendar",{key:"f495e7a09408da7f3b4fd9d825f4767c008a930d",value:this.calendarValue,class:"stzh-datepicker__calendar is-inline",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"d2b7b3046ca5f5b759a37df5854ecd701d096c81",class:"stzh-datepicker__actions"},i("slot",{key:"be0a3d645da926485f433354589023d43bd0b194",name:"action"}))),!this.inline&&i("stzh-input",{key:"47a7d1e2dac63e0a671622036e018fc8551e430a",value:this.inputValue,label:this.label,labelHidden:this.labelHidden,ref:t=>this.input=t,noAutocomplete:true,onStzhChanged:this.onInputChanged,readonly:this.readonly,disabled:this.disabled,description:this.description,descriptionLong:this.descriptionLong,error:this.error,invalid:this.invalid,required:this.required,hideOptional:this.hideOptional,size:this.size},i("stzh-popover",{key:"88a4c69dabe171b5c584019eea6b0d5d97ee4864",ref:t=>this.popoverElement=t,class:"stzh-datepicker__popover",slot:"button-right",placement:"bottom-end",strategy:"fixed",label:this.label},i("stzh-button",{key:"aee2d861b3359fb308403d0190a7bd510605c07b","icon-only":true,icon:"calendar",size:this.size,disabled:this.disabled,a11yLabel:this.buttonLabel}),i("div",{key:"8dc55f20ad3c95666d58262a516a8b38a1870760",slot:"content"},i("stzh-calendar",{key:"f97f29fc39df058b02dfabbed2eb3af1f2e5edeb",value:this.calendarValue,class:"stzh-datepicker__calendar is-popover",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"74d5a5147c5fea90f91bb52f78b2d2ede3fc6ee9",class:"stzh-datepicker__actions"},i("slot",{key:"6661005acb96f9cfb88d1e5608c315bbb4af8535",name:"action"})))))))}get element(){return o(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"],dateAdapter:["dateAdapterWatcher"],internalDateAdapter:["internalDateAdapterWatcher"]}}};l.style=n();const z=()=>`.sc-stzh-radio-h{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}[hidden].sc-stzh-radio-h,[stzh-hidden].sc-stzh-radio-h{display:none}.sc-stzh-radio-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radio-h *.sc-stzh-radio,.sc-stzh-radio-h *.sc-stzh-radio::before,.sc-stzh-radio-h *.sc-stzh-radio::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)}.sc-stzh-radio-h .has-focus.sc-stzh-radio{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio{outline-style:none !important}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio::-moz-focus-inner{border:0 !important}.sc-stzh-radio-h{--label-color:var(--stzh-radio-label-color, var(--stzh-base-color));--label-hover-color:var(--stzh-radio-label-hover-color, var(--stzh-color-primary70));--label-hover-checked-color:var(\n --stzh-radio-label-hover-checked-color,\n var(--stzh-color-primary90)\n );display:inline-block}[disabled].sc-stzh-radio-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radio__marker-symbol.sc-stzh-radio{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radio__marker-text.sc-stzh-radio{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-radio__description-wrapper.sc-stzh-radio{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radio__error.sc-stzh-radio,.stzh-radio__description.sc-stzh-radio{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radio__error.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio__error-list.sc-stzh-radio{list-style:none;margin:0;padding:0}.stzh-radio__description.sc-stzh-radio{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-radio__description-long.sc-stzh-radio{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radio__description-long.sc-stzh-radio{margin-top:0}}.stzh-radio__description-long-popover.sc-stzh-radio{--width:auto;--max-width:27.3125rem}.stzh-radio__description-long-button.sc-stzh-radio{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-radio.sc-stzh-radio stzh-icon.stzh-radio__description-long-icon.sc-stzh-radio{--size:var(--stzh-icon-size-xsmall)}.stzh-radio--has-error.sc-stzh-radio .stzh-radio__error.sc-stzh-radio,.stzh-radio--has-description.sc-stzh-radio .stzh-radio__description.sc-stzh-radio{margin-top:var(--stzh-space-xxxsmall)}.stzh-radio.sc-stzh-radio{display:grid}.stzh-radio__field-wrapper.sc-stzh-radio{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);position:relative;display:flex;-webkit-user-select:none;user-select:none;cursor:pointer}.stzh-radio__input.sc-stzh-radio{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;appearance:none;border-radius:var(--stzh-form-input-border-radius)}.stzh-radio__mark.sc-stzh-radio{border:0.125rem solid var(--stzh-color-black);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;flex-shrink:0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-radio__mark.sc-stzh-radio::before{content:""}.stzh-radio__check.sc-stzh-radio{background-color:currentColor;color:var(--stzh-color-primary70);width:1rem;height:1rem;border-radius:50%;opacity:0;transition-property:color;transition-duration:var(--stzh-base-transition-animation-speed)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-radio__check.sc-stzh-radio{background-color:ButtonText}}.stzh-radio__label.sc-stzh-radio{--stzh-base-color:initial;display:inline-block;color:var(--label-color);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-radio__label.sc-stzh-radio:empty{display:none}.stzh-radio__marker.sc-stzh-radio{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radio.sc-stzh-radio:hover .stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__label.sc-stzh-radio{color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--label-hover-checked-color)}.stzh-radio.sc-stzh-radio:hover .stzh-radio__mark.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-checked-color)}.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{opacity:1}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio,.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-error60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__field-wrapper.sc-stzh-radio{cursor:not-allowed}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio{color:var(--stzh-color-grey60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__mark.sc-stzh-radio{background-color:var(--stzh-color-grey20)}`;let p=0;const f=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange");this.stzhFocus=s(this,"stzhFocus");this.stzhBlur=s(this,"stzhBlur");this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.hideOptional=false;this.checked=false;this.label="";this.a11yDescribedby="";this.focusedByInput=false;this.handleReset=async()=>{this.checked=this.defaultChecked};this.onInput=t=>{this.checked=this.input.checked;this.stzhChange.emit({component:"stzh-radio",originalEvent:t,value:this.value,checked:this.checked})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-radio",originalEvent:t})};this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-radio",originalEvent:t})}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}async componentWillLoad(){this.inputId=`stzh-radio-${p++}`;this.errorWatcher(this.error);this.defaultChecked=typeof this.defaultChecked==="boolean"?this.defaultChecked:this.checked;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radio")}}render(){var t;const s=h(this.element,"description")||!!this.description;const r=h(this.element,"description-long")||!!this.descriptionLong;const o=h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const a={"stzh-radio":true,"stzh-radio--has-description":s,"stzh-radio--has-description-long":r,"stzh-radio--has-error":o,"stzh-radio--is-required":this.required,"stzh-radio--is-invalid":this.invalid||o,"stzh-radio--is-disabled":this.disabled};return i(e,{key:"4de55dcf0cf5751dea729849cbca2b766c34baac","is-invalid":this.invalid||o,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"018a6fa6d79c7f64b3a8b214ef77d63b36e2178d",class:a},i("label",{key:"f6137e3feb9debe11e31eb3c162a7932c82b68aa",class:"stzh-radio__field-wrapper"},i("input",{key:"118a9e4140741846288154d47bf2e2de2312aaf7",class:"stzh-radio__input",ref:t=>this.input=t,type:"radio",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,defaultChecked:this.defaultChecked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),i("div",{key:"fb02dbba793d2d5fe03e1825700167044b5911b6",class:"stzh-radio__mark"},i("div",{key:"198e7d5767f7990d246ab208ada160786fb38ba3",class:"stzh-radio__check"})),i("div",{key:"fb42d1545bbbd40bf113ac893b756db32e0d9d98",class:"stzh-radio__label"},this.label?this.label:i("slot",null),!this.hideOptional&&i("span",{key:"54887af076ec189d17f37cf61a346ee841071706",class:"stzh-radio__marker"},i("span",{key:"5da875ed1cc969a251a8a3318628476959eb13e8",class:"stzh-radio__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"c0bded0610f13b04844f33e2db4ea1331ba10378",class:"stzh-radio__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),(o||this.description||this.descriptionLong)&&i(d,{key:"e5f84e2d1bba00885e0ebb0e5702ea6cbef4b61a",classPrefix:"stzh-radio",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:r,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{error:["errorWatcher"]}}};f.style=z();const u=()=>`.sc-stzh-radiogroup-h{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}[hidden].sc-stzh-radiogroup-h,[stzh-hidden].sc-stzh-radiogroup-h{display:none}.sc-stzh-radiogroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radiogroup-h *.sc-stzh-radiogroup,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::before,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::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)}.sc-stzh-radiogroup-h .has-focus.sc-stzh-radiogroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup{outline-style:none !important}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup::-moz-focus-inner{border:0 !important}.sc-stzh-radiogroup-h{--legend-color:var(--stzh-radio-group-legend-color, var(--stzh-heading-color))}[disabled].sc-stzh-radiogroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radiogroup__marker-symbol.sc-stzh-radiogroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radiogroup__marker-text.sc-stzh-radiogroup{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-radiogroup__description-wrapper.sc-stzh-radiogroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__description.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radiogroup__error.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup__error-list.sc-stzh-radiogroup{list-style:none;margin:0;padding:0}.stzh-radiogroup__description.sc-stzh-radiogroup{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-radiogroup__description-long.sc-stzh-radiogroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-top:0}}.stzh-radiogroup__description-long-popover.sc-stzh-radiogroup{--width:auto;--max-width:27.3125rem}.stzh-radiogroup__description-long-button.sc-stzh-radiogroup{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-radiogroup.sc-stzh-radiogroup stzh-icon.stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-xsmall)}.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup--has-description.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-radiogroup.sc-stzh-radiogroup{margin:0;padding:0;border:none}.stzh-radiogroup__fields.sc-stzh-radiogroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-radiogroup__legend.sc-stzh-radiogroup{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);color:var(--legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-radiogroup__marker.sc-stzh-radiogroup{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))}.stzh-radiogroup--hide-legend.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{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-radiogroup--is-invalid.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup,.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup--is-disabled.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-grey60)}.stzh-radiogroup--direction-horizontal.sc-stzh-radiogroup .stzh-radiogroup__fields.sc-stzh-radiogroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}`;const g="stzh-radio, stzh-button[type=radio], stzh-card";let b=0;const m=class{constructor(s){t(this,s);this.disabled=false;this.hideLegend=false;this.invalid=false;this.required=false;this.hideOptional=false;this.value="";this.defaultValue="";this.direction="vertical";this.checkedRadio=null;this.preventUpdateProperties=[];this._preventUpdateProperties=[];this.handleReset=async()=>{this.value=this.defaultValue};this.init=()=>{this.radios=Array.from(this.element.querySelectorAll(g));this.updateRadiosProperty("hide-optional",true);this.updateRadiosProperty("a11y-describedby",`${this.radiogroupId}-description`);this.updateRadiosProperty("invalid",this.invalid||this.errorUsed);this.watchValue(this.value);this.watchName(this.name);this.watchDisabled(this.disabled);this.watchRequired(this.required)}}watchName(t){this.updateRadiosProperty("name",t)}watchDisabled(t){this.updateRadiosProperty("disabled",t)}watchRequired(t){this.updateRadiosProperty("required",t)}watchValue(t){this.updateCheckedRadioByValue(t)}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}preventUpdatePropertiesWatcher(t){if(typeof t==="string"){this._preventUpdateProperties=JSON.parse(t)}else{this._preventUpdateProperties=t}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}onChange(t){this.value=t.detail.value}updateRadiosProperty(t,s){this.radios.forEach((i=>{if(t==="disabled"){if(!i.disabled){i.disabled=s}}else if(t==="name"||this._preventUpdateProperties.indexOf(t)===-1){i[c(t)]=s}}))}get errorUsed(){var t;return h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0}updateCheckedRadioByValue(t){this.checkedRadio=this.radios.find((s=>s.value===t));if(this.checkedRadio){this.checkedRadio.checked=true}this.uncheckRadios()}uncheckRadios(){this.radios.forEach((t=>{if(!this.checkedRadio||t!==this.checkedRadio){t.checked=false}}))}componentDidLoad(){this.defaultValue=this.defaultValue?this.defaultValue:this.value}async componentWillLoad(){this.radiogroupId=`stzh-radiogroup-${b++}`;this.errorWatcher(this.error);this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radiogroup")}}componentShouldUpdate(t,s,i){return i!=="checkedRadio"}componentDidRender(){this.init()}connectedCallback(){if(!this.value){this.radios=Array.from(this.element.querySelectorAll(g));const t=this.radios.find((t=>t.checked));if(t){this.value=t.value}}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const t=h(this.element,"description")||!!this.description;const s=h(this.element,"description-long")||!!this.descriptionLong;const r={"stzh-radiogroup":true,"stzh-radiogroup--has-description":t,"stzh-radiogroup--has-description-long":s,"stzh-radiogroup--has-error":this.errorUsed,"stzh-radiogroup--is-required":this.required,"stzh-radiogroup--is-disabled":this.disabled,"stzh-radiogroup--is-invalid":this.invalid||this.errorUsed,"stzh-radiogroup--hide-legend":this.hideLegend,[`stzh-radiogroup--direction-${this.direction}`]:!!this.direction};return i(e,{key:"4b55ab98e15a04debe63b212cd4f25e65a15ef1d","is-invalid":this.invalid||this.errorUsed},i("fieldset",{key:"45d212fee1fea266114221c5c9de0b05f5a5fb9b",class:r},this.legend&&i("legend",{key:"c2a9d48ccbdadb3382382dc2c5bdbf63f3a6d595",class:"stzh-radiogroup__legend"},this.legend,!this.hideOptional&&i("span",{key:"24e4f867820ab2f2506ffa906fad0af67a492351",class:"stzh-radiogroup__marker"},i("span",{key:"0c933048161777d8dfa2d690413c591a80c3a7bf",class:"stzh-radiogroup__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"3a8343e9de73db242c5c86c17032b8729c3ec22c",class:"stzh-radiogroup__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),i("div",{key:"988907f9f473b15786855ed15401590e97f4d278",class:"stzh-radiogroup__fields"},i("slot",{key:"b1b851a932856476fb634fddc33a84e7aa6c71f2"})),(this.errorUsed||this.description||this.descriptionLong)&&i(d,{key:"d52f2333e6f2e5fa68f740ab7df8856434f1b9d0",classPrefix:"stzh-radiogroup",id:`${this.radiogroupId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{name:["watchName"],disabled:["watchDisabled"],required:["watchRequired"],value:["watchValue"],error:["errorWatcher"],preventUpdateProperties:["preventUpdatePropertiesWatcher"]}}};m.style=u();export{l as stzh_datepicker,f as stzh_radio,m as stzh_radiogroup};
|
|
2
|
+
//# sourceMappingURL=p-8fb80103.entry.js.map
|