@oiz/stzh-components 2.2.0-beta → 2.3.0-alpha
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/{animation-utils-cfa35ce7.js → animation-utils-54d784c2.js} +3 -0
- package/dist/cjs/{app-globals-f4ad4e99.js → app-globals-13e786d3.js} +1 -1
- package/dist/cjs/{arrow-3c3b0ae5.js → arrow-cd521f34.js} +468 -478
- package/dist/cjs/axios-7ec96df7.js +3167 -0
- package/dist/cjs/{dom-9deb26c8.js → dom-be1edfde.js} +1 -1
- package/dist/cjs/{focus-trap.esm-1cb6bb2e.js → focus-trap.esm-34a1a0d0.js} +188 -278
- package/dist/cjs/{index-9fcb4305.js → index-83d427ee.js} +113 -3
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/{shadow-css-bf3843d2.js → shadow-css-54f5c2d9.js} +1 -1
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +6 -3
- package/dist/cjs/stzh-accordion.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +15 -5
- package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-calendar.cjs.entry.js +2 -2
- package/dist/cjs/stzh-card_3.cjs.entry.js +47 -12
- package/dist/cjs/stzh-cell.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chart.cjs.entry.js +1471 -404
- package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
- package/dist/cjs/stzh-chip_2.cjs.entry.js +132 -0
- package/dist/cjs/stzh-components.cjs.js +27 -5
- package/dist/cjs/stzh-contact.cjs.entry.js +91 -0
- package/dist/cjs/stzh-container.cjs.entry.js +3 -2
- package/dist/cjs/stzh-cspace.cjs.entry.js +2 -2
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +33 -13
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +4 -3
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +32 -31
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +4 -4
- package/dist/cjs/stzh-details.cjs.entry.js +5 -2
- package/dist/cjs/stzh-dialog.cjs.entry.js +6 -6
- package/dist/cjs/stzh-dropdown.cjs.entry.js +1057 -426
- package/dist/cjs/stzh-fieldset.cjs.entry.js +2 -2
- package/dist/cjs/stzh-figure.cjs.entry.js +5 -3
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +2 -2
- package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +3 -3
- package/dist/cjs/stzh-header.cjs.entry.js +6 -5
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +4 -3
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
- package/dist/cjs/{stzh-input-description-4326b0d9.js → stzh-input-description-2edc5cac.js} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +3 -3
- package/dist/cjs/stzh-invert.cjs.entry.js +23 -0
- package/dist/cjs/stzh-langnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +2 -2
- package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-list.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 +2 -2
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-metanav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +4 -4
- package/dist/cjs/stzh-olmap.cjs.entry.js +2 -2
- package/dist/cjs/stzh-overlay.cjs.entry.js +2 -2
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +5 -2
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +9 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +22 -8
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +2 -2
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +6 -4
- package/dist/cjs/stzh-progressbar.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ratio.cjs.entry.js +26 -0
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-row.cjs.entry.js +1 -1
- package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-share.cjs.entry.js +1 -1
- package/dist/cjs/stzh-show.cjs.entry.js +41 -0
- package/dist/cjs/stzh-sitemap.cjs.entry.js +2 -2
- package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sortable.cjs.entry.js +10 -66
- package/dist/cjs/stzh-space.cjs.entry.js +34 -0
- package/dist/cjs/stzh-status.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +5 -3
- package/dist/cjs/stzh-table.cjs.entry.js +3 -2
- package/dist/cjs/stzh-text.cjs.entry.js +2 -2
- package/dist/cjs/stzh-textandimage.cjs.entry.js +4 -2
- package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
- package/dist/cjs/stzh-tooltip.cjs.entry.js +32 -11
- package/dist/cjs/stzh-upload.cjs.entry.js +6 -3
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +784 -691
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +7 -7
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +3 -3
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +4 -3
- package/dist/collection/assets/i18n/de.json +10 -7
- package/dist/collection/assets/i18n/en.json +11 -8
- package/dist/collection/collection-manifest.json +7 -3
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +12 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +1 -0
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +3 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.css +11 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +18 -8
- package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +5 -5
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +1 -3
- package/dist/collection/components/stzh-button/stzh-button.css +13 -4
- package/dist/collection/components/stzh-button/stzh-button.stories.js +21 -17
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -0
- package/dist/collection/components/stzh-card/stzh-card.css +34 -16
- package/dist/collection/components/stzh-card/stzh-card.js +26 -4
- package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
- package/dist/collection/components/stzh-chart/stzh-chart.css +55 -37
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +1 -0
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +1 -0
- package/dist/collection/components/stzh-chip/stzh-chip.css +68 -6
- package/dist/collection/components/stzh-chip/stzh-chip.js +52 -5
- package/dist/collection/components/stzh-chip/stzh-chip.stories.js +7 -0
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +8 -0
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +41 -4
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +5 -0
- package/dist/collection/components/{stzh-contactaddress/stzh-contactaddress.css → stzh-contact/stzh-contact.css} +22 -22
- package/dist/collection/components/{stzh-contactaddress/stzh-contactaddress.js → stzh-contact/stzh-contact.js} +25 -25
- package/dist/collection/components/{stzh-contactaddress/stzh-contactaddress.stories.js → stzh-contact/stzh-contact.stories.js} +10 -9
- package/dist/collection/components/stzh-container/stzh-container.css +11 -1
- package/dist/collection/components/stzh-container/stzh-container.js +26 -1
- package/dist/collection/components/stzh-container/stzh-container.stories.js +6 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +136 -43
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +12 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +19 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +2 -1
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +28 -12
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +35 -13
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +11 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +3 -2
- package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +20 -1
- package/dist/collection/components/stzh-details/stzh-details.js +3 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +1 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +3 -3
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +9 -8
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +1 -0
- package/dist/collection/components/stzh-figure/stzh-figure.css +8 -5
- package/dist/collection/components/stzh-figure/stzh-figure.js +21 -1
- package/dist/collection/components/stzh-footer/stzh-footer.css +1 -0
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +13 -1
- package/dist/collection/components/stzh-header/stzh-header.css +5 -1
- package/dist/collection/components/stzh-header/stzh-header.js +4 -3
- package/dist/collection/components/stzh-header/stzh-header.stories.js +47 -39
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +166 -138
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +30 -6
- package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
- package/dist/collection/components/stzh-input/stzh-input.css +1 -0
- package/dist/collection/components/stzh-invert/stzh-invert.css +158 -0
- package/dist/collection/components/stzh-invert/stzh-invert.js +25 -0
- package/dist/collection/components/stzh-invert/stzh-invert.stories.js +55 -0
- package/dist/collection/components/stzh-link/stzh-link.css +1 -0
- package/dist/collection/components/stzh-link/stzh-link.stories.js +11 -19
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +1 -0
- package/dist/collection/components/stzh-message/stzh-message.css +1 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +4 -1
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +1 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +8 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +6 -6
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +14 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +4 -6
- package/dist/collection/components/stzh-popover/stzh-popover.css +3 -1
- package/dist/collection/components/stzh-popover/stzh-popover.js +18 -4
- package/dist/collection/components/stzh-popover/stzh-popover.stories.js +5 -7
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +34 -9
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +2 -2
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +2 -1
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +147 -10
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +22 -2
- package/dist/collection/components/stzh-radio/stzh-radio.css +1 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +1 -0
- package/dist/collection/components/stzh-ratio/stzh-ratio.css +172 -0
- package/dist/collection/components/stzh-ratio/stzh-ratio.js +88 -0
- package/dist/collection/components/stzh-ratio/stzh-ratio.stories.js +35 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +10 -5
- package/dist/collection/components/stzh-show/stzh-show.css +165 -0
- package/dist/collection/components/stzh-show/stzh-show.js +158 -0
- package/dist/collection/components/stzh-show/stzh-show.stories.js +52 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +6 -3
- package/dist/collection/components/stzh-space/stzh-space.css +842 -0
- package/dist/collection/components/stzh-space/stzh-space.js +262 -0
- package/dist/collection/components/stzh-space/stzh-space.stories.js +76 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +9 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +21 -1
- package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +3 -1
- package/dist/collection/components/stzh-table/stzh-table.css +3 -0
- package/dist/collection/components/stzh-table/stzh-table.js +19 -0
- package/dist/collection/components/stzh-text/stzh-text.css +2 -2
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +38 -2
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +20 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +1 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +1 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +28 -7
- package/dist/collection/components/stzh-upload/stzh-upload.css +1 -0
- package/dist/collection/components/stzh-upload/stzh-upload.js +3 -0
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +2 -1
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +157 -129
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +30 -6
- package/dist/collection/pages/egov.stories.js +191 -183
- package/dist/collection/pages/meinkonto.stories.js +368 -512
- package/dist/collection/pages/microsite.stories.js +235 -0
- package/dist/collection/pages/website.stories.js +139 -0
- package/dist/collection/patterns/appointments.stories.js +2 -2
- package/dist/collection/patterns/contact.stories.js +67 -41
- package/dist/collection/patterns/contactform.stories.js +2 -2
- package/dist/collection/patterns/jobdetails.stories.js +151 -0
- package/dist/collection/patterns/subpages.stories.js +6 -6
- package/dist/collection/patterns/twocolumns.stories.js +46 -0
- package/dist/collection/utils/animation-utils.js +3 -0
- package/dist/components/animation-utils.js +3 -0
- package/dist/components/arrow.js +468 -478
- package/dist/components/axios.js +3165 -0
- package/dist/components/date-utils.js +159 -0
- package/dist/components/focus-trap.esm.js +188 -278
- package/dist/components/index.d.ts +14 -1
- package/dist/components/index.js +7 -3
- package/dist/components/stzh-accordion-item.js +4 -1
- package/dist/components/stzh-actionset2.js +16 -6
- package/dist/components/stzh-anchornav.js +1 -1
- package/dist/components/stzh-appointments.js +2 -1
- package/dist/components/stzh-button2.js +1 -1
- package/dist/components/stzh-calendar2.js +3 -160
- package/dist/components/stzh-card2.js +9 -5
- package/dist/components/stzh-chart.js +1470 -403
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +1 -1
- package/dist/components/stzh-chip-select2.js +47 -8
- package/dist/components/stzh-chip2.js +26 -6
- package/dist/components/stzh-clamp2.js +1 -1
- package/dist/components/{stzh-contactaddress.d.ts → stzh-contact.d.ts} +4 -4
- package/dist/components/stzh-contact.js +157 -0
- package/dist/components/stzh-container.js +5 -2
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist-item2.js +30 -11
- package/dist/components/stzh-datalist2.js +3 -1
- package/dist/components/stzh-datamessagelist-item.js +3 -2
- package/dist/components/stzh-datatable.js +32 -30
- package/dist/components/stzh-datepicker2.js +2 -1
- package/dist/components/stzh-details.js +3 -0
- package/dist/components/stzh-dialog.js +4 -4
- package/dist/components/stzh-dropdown2.js +1055 -424
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +6 -3
- package/dist/components/stzh-footer.js +1 -1
- package/dist/components/stzh-ghettobox2.js +1 -1
- package/dist/components/stzh-header.js +5 -4
- package/dist/components/stzh-hspace.js +8 -5
- package/dist/components/stzh-icon2.js +1 -1
- package/dist/components/stzh-input2.js +1 -1
- package/dist/components/stzh-invert.d.ts +11 -0
- package/dist/components/stzh-invert.js +36 -0
- package/dist/components/stzh-link2.js +1 -1
- package/dist/components/stzh-menu-item2.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +2 -2
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-pagebottom.js +4 -1
- package/dist/components/stzh-pagetitle-hero.js +1 -1
- package/dist/components/stzh-pagetitle.js +8 -0
- package/dist/components/stzh-popover2.js +18 -4
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-progressbar-item2.js +6 -3
- package/dist/components/stzh-progressbar.js +1 -1
- package/dist/components/stzh-radio2.js +1 -1
- package/dist/components/stzh-radiogroup2.js +1 -1
- package/dist/components/stzh-ratio.d.ts +11 -0
- package/dist/components/stzh-ratio.js +43 -0
- package/dist/components/stzh-richtext2.js +1 -1
- package/dist/components/stzh-show.d.ts +11 -0
- package/dist/components/stzh-show.js +62 -0
- package/dist/components/stzh-sitemap.js +1 -1
- package/dist/components/stzh-sortable2.js +9 -65
- package/dist/components/stzh-space.d.ts +11 -0
- package/dist/components/stzh-space.js +59 -0
- package/dist/components/stzh-sticky.js +5 -2
- package/dist/components/stzh-table.js +3 -1
- package/dist/components/stzh-text2.js +1 -1
- package/dist/components/stzh-textandimage.js +4 -1
- package/dist/components/stzh-toggle.js +1 -1
- package/dist/components/stzh-tooltip2.js +28 -7
- package/dist/components/stzh-upload.js +4 -1
- package/dist/components/stzh-vbz-linechip2.js +774 -681
- package/dist/components/stzh-vbz-majorticker.js +1 -1
- package/dist/components/stzh-vbz-ticker.js +1 -1
- package/dist/components/stzh-vspace.js +8 -5
- package/dist/esm/{animation-utils-25c74e5b.js → animation-utils-e234a5f8.js} +3 -0
- package/dist/esm/{app-globals-17c2ba8d.js → app-globals-2e508622.js} +1 -1
- package/dist/esm/{arrow-86a679c7.js → arrow-480bc86f.js} +468 -478
- package/dist/esm/axios-e2b39666.js +3165 -0
- package/dist/esm/{dom-6be6f662.js → dom-c525f6e4.js} +1 -1
- package/dist/esm/{focus-trap.esm-074705a3.js → focus-trap.esm-82634dec.js} +188 -278
- package/dist/esm/{index-011c84fe.js → index-319b7c49.js} +112 -4
- package/dist/esm/loader.js +5 -4
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{shadow-css-ed4599f8.js → shadow-css-abbdeef8.js} +1 -1
- package/dist/esm/stzh-accordion-item.entry.js +6 -3
- package/dist/esm/stzh-accordion.entry.js +1 -1
- package/dist/esm/stzh-actions.entry.js +1 -1
- package/dist/esm/stzh-actionset.entry.js +16 -6
- package/dist/esm/stzh-anchornav.entry.js +2 -2
- package/dist/esm/stzh-appnav.entry.js +1 -1
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +3 -3
- package/dist/esm/stzh-calendar.entry.js +2 -2
- package/dist/esm/stzh-card_3.entry.js +47 -12
- package/dist/esm/stzh-cell.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +1471 -404
- package/dist/esm/stzh-checkbox.entry.js +3 -3
- package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
- package/dist/esm/stzh-chip_2.entry.js +127 -0
- package/dist/esm/stzh-components.js +24 -5
- package/dist/esm/stzh-contact.entry.js +87 -0
- package/dist/esm/stzh-container.entry.js +3 -2
- package/dist/esm/stzh-cspace.entry.js +2 -2
- package/dist/esm/stzh-datalist_2.entry.js +33 -13
- package/dist/esm/stzh-datamessagelist-item.entry.js +4 -3
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +32 -31
- package/dist/esm/stzh-datepicker_3.entry.js +4 -4
- package/dist/esm/stzh-details.entry.js +5 -2
- package/dist/esm/stzh-dialog.entry.js +6 -6
- package/dist/esm/stzh-dropdown.entry.js +1057 -426
- package/dist/esm/stzh-fieldset.entry.js +2 -2
- package/dist/esm/stzh-figure.entry.js +5 -3
- package/dist/esm/stzh-flyingfocus.entry.js +2 -2
- package/dist/esm/stzh-footer.entry.js +2 -2
- package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
- package/dist/esm/stzh-header.entry.js +6 -5
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +4 -3
- package/dist/esm/stzh-icon-sprite.entry.js +1 -1
- package/dist/esm/{stzh-input-description-bdd1e340.js → stzh-input-description-cc38e214.js} +1 -1
- package/dist/esm/stzh-input.entry.js +3 -3
- package/dist/esm/stzh-invert.entry.js +19 -0
- package/dist/esm/stzh-langnav.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +2 -2
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-list.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 +2 -2
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-metanav.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +3 -3
- package/dist/esm/stzh-olmap.entry.js +2 -2
- package/dist/esm/stzh-overlay.entry.js +2 -2
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +5 -2
- package/dist/esm/stzh-pagetitle-hero.entry.js +2 -2
- package/dist/esm/stzh-pagetitle.entry.js +9 -1
- package/dist/esm/stzh-popover.entry.js +22 -8
- package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-progressbar-item.entry.js +6 -4
- package/dist/esm/stzh-progressbar.entry.js +2 -2
- package/dist/esm/stzh-ratio.entry.js +22 -0
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-row.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +1 -1
- package/dist/esm/stzh-show.entry.js +37 -0
- package/dist/esm/stzh-sitemap.entry.js +2 -2
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-sortable.entry.js +10 -66
- package/dist/esm/stzh-space.entry.js +30 -0
- package/dist/esm/stzh-status.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +5 -3
- package/dist/esm/stzh-table.entry.js +3 -2
- package/dist/esm/stzh-text.entry.js +2 -2
- package/dist/esm/stzh-textandimage.entry.js +4 -2
- package/dist/esm/stzh-toggle.entry.js +3 -3
- package/dist/esm/stzh-tooltip.entry.js +32 -11
- package/dist/esm/stzh-upload.entry.js +6 -3
- package/dist/esm/stzh-vbz-linechip.entry.js +785 -692
- package/dist/esm/stzh-vbz-majorticker.entry.js +2 -2
- package/dist/esm/stzh-vbz-ticker.entry.js +2 -2
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +4 -3
- package/dist/esm-es5/animation-utils-e234a5f8.js +1 -0
- package/dist/esm-es5/app-globals-2e508622.js +1 -0
- package/dist/esm-es5/arrow-480bc86f.js +1 -0
- package/dist/esm-es5/axios-e2b39666.js +1 -0
- package/dist/esm-es5/{dom-6be6f662.js → dom-c525f6e4.js} +0 -0
- package/dist/esm-es5/focus-trap.esm-82634dec.js +9 -0
- package/dist/esm-es5/index-319b7c49.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{shadow-css-ed4599f8.js → shadow-css-abbdeef8.js} +0 -0
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-accordion.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset.entry.js +1 -1
- package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-card_3.entry.js +1 -1
- package/dist/esm-es5/stzh-cell.entry.js +1 -1
- package/dist/esm-es5/stzh-chart.entry.js +3 -3
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip_2.entry.js +1 -0
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-contact.entry.js +1 -0
- package/dist/esm-es5/stzh-container.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +4 -4
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -1
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +9 -1
- package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-heading.entry.js +1 -1
- package/dist/esm-es5/stzh-hr.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
- package/dist/esm-es5/{stzh-input-description-bdd1e340.js → stzh-input-description-cc38e214.js} +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-invert.entry.js +1 -0
- package/dist/esm-es5/stzh-langnav.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-list-item.entry.js +1 -1
- package/dist/esm-es5/stzh-list.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-metanav.entry.js +1 -1
- package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm-es5/stzh-olmap.entry.js +2 -2
- package/dist/esm-es5/stzh-overlay.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-ratio.entry.js +1 -0
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-section.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -1
- package/dist/esm-es5/stzh-show.entry.js +1 -0
- package/dist/esm-es5/stzh-sitemap.entry.js +1 -1
- package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-space.entry.js +1 -0
- package/dist/esm-es5/stzh-status.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-text.entry.js +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/translation-utils-2623783f.js +1 -1
- package/dist/stzh-components/assets/i18n/de.json +10 -7
- package/dist/stzh-components/assets/i18n/en.json +11 -8
- package/dist/stzh-components/p-00c4c8c0.system.entry.js +1 -0
- package/dist/stzh-components/p-013d269a.system.entry.js +1 -0
- package/dist/stzh-components/p-0447b178.system.entry.js +1 -0
- package/dist/stzh-components/p-04d390eb.entry.js +1 -0
- package/dist/stzh-components/p-06f5abab.system.entry.js +1 -0
- package/dist/stzh-components/{p-9176246f.entry.js → p-0930004d.entry.js} +1 -1
- package/dist/stzh-components/p-09f582cd.entry.js +1 -0
- package/dist/stzh-components/p-0a2de4e8.entry.js +1 -0
- package/dist/stzh-components/p-0ada0b0a.system.entry.js +1 -0
- package/dist/stzh-components/p-0af8a184.system.entry.js +1 -0
- package/dist/stzh-components/p-0afba769.entry.js +1 -0
- package/dist/stzh-components/p-0ce8b383.system.js +1 -0
- package/dist/stzh-components/p-0f882e26.system.entry.js +1 -0
- package/dist/stzh-components/{p-fbf2f4ed.system.entry.js → p-101f9b11.system.entry.js} +1 -1
- package/dist/stzh-components/{p-cff8376e.entry.js → p-12564ee4.entry.js} +1 -1
- package/dist/stzh-components/p-125a8244.entry.js +1 -0
- package/dist/stzh-components/{p-bee6eef5.entry.js → p-126a0f14.entry.js} +1 -1
- package/dist/stzh-components/p-12e03b78.system.entry.js +1 -0
- package/dist/stzh-components/{p-30ae5c00.system.entry.js → p-16b3d4ee.system.entry.js} +1 -1
- package/dist/stzh-components/p-1783b15a.js +12 -0
- package/dist/stzh-components/p-1c2c9ca8.entry.js +1 -0
- package/dist/stzh-components/p-1f925e84.system.entry.js +1 -0
- package/dist/stzh-components/p-20bd79d0.entry.js +1 -0
- package/dist/stzh-components/p-246cd179.js +1 -0
- package/dist/stzh-components/p-26889a91.entry.js +9 -0
- package/dist/stzh-components/p-2ad73c0c.system.entry.js +1 -0
- package/dist/stzh-components/p-2b67b0b3.system.entry.js +9 -0
- package/dist/stzh-components/p-2ba88798.entry.js +1 -0
- package/dist/stzh-components/{p-60274e67.system.entry.js → p-2c490268.system.entry.js} +1 -1
- package/dist/stzh-components/p-2e6ef670.entry.js +1 -0
- package/dist/stzh-components/p-2f4448c9.system.entry.js +1 -0
- package/dist/stzh-components/{p-376946bc.entry.js → p-2f4c5e18.entry.js} +1 -1
- package/dist/stzh-components/p-3238b0bf.entry.js +1 -0
- package/dist/stzh-components/p-36e72c1d.system.js +2 -0
- package/dist/stzh-components/{p-fd265f3a.entry.js → p-38e7645a.entry.js} +1 -1
- package/dist/stzh-components/{p-ed6adb96.entry.js → p-3b00d8b8.entry.js} +1 -1
- package/dist/stzh-components/p-3e433996.entry.js +1 -0
- package/dist/stzh-components/p-3f676d99.system.entry.js +1 -0
- package/dist/stzh-components/{p-0c8427bc.entry.js → p-40798ed2.entry.js} +1 -1
- package/dist/stzh-components/p-418e04f7.system.entry.js +1 -0
- package/dist/stzh-components/{p-3145cd2f.entry.js → p-41fa7e81.entry.js} +1 -1
- package/dist/stzh-components/p-4370efe7.entry.js +1 -0
- package/dist/stzh-components/p-444b2baf.entry.js +1 -0
- package/dist/stzh-components/p-44b03dbb.js +10 -0
- package/dist/stzh-components/{p-2577ca1e.system.entry.js → p-44d10402.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ed0d51b6.entry.js → p-46d07ed7.entry.js} +1 -1
- package/dist/stzh-components/p-470182bb.system.entry.js +1 -0
- package/dist/stzh-components/{p-669896ec.entry.js → p-48dee587.entry.js} +1 -1
- package/dist/stzh-components/p-48e835cf.system.js +1 -0
- package/dist/stzh-components/{p-55b7cda7.system.entry.js → p-4a298117.system.entry.js} +1 -1
- package/dist/stzh-components/p-4a60b27f.entry.js +1 -0
- package/dist/stzh-components/p-4d8c81b2.system.entry.js +1 -0
- package/dist/stzh-components/p-5011f10c.js +1 -0
- package/dist/stzh-components/{p-f027e569.system.entry.js → p-512c38b3.system.entry.js} +1 -1
- package/dist/stzh-components/p-51b3a560.system.entry.js +1 -0
- package/dist/stzh-components/p-537adcfe.system.entry.js +3 -0
- package/dist/stzh-components/{p-13051e1c.js → p-538882c8.js} +0 -0
- package/dist/stzh-components/{p-6267a327.system.js → p-5494f37d.system.js} +1 -1
- package/dist/stzh-components/p-55752bd5.system.entry.js +1 -0
- package/dist/stzh-components/p-563b1abc.system.entry.js +1 -0
- package/dist/stzh-components/p-59793ef8.system.entry.js +1 -0
- package/dist/stzh-components/{p-6a0a76b3.entry.js → p-5b162e4f.entry.js} +1 -1
- package/dist/stzh-components/{p-0409bf6b.system.entry.js → p-5c717080.system.entry.js} +1 -1
- package/dist/stzh-components/p-5cb1cd93.system.entry.js +1 -0
- package/dist/stzh-components/p-5f9b58fb.system.entry.js +1 -0
- package/dist/stzh-components/{p-e7cf6c45.system.entry.js → p-617ece76.system.entry.js} +1 -1
- package/dist/stzh-components/{p-104df3a8.system.entry.js → p-6414454e.system.entry.js} +1 -1
- package/dist/stzh-components/p-6496df0a.system.entry.js +9 -0
- package/dist/stzh-components/p-64cdef2f.entry.js +1 -0
- package/dist/stzh-components/p-64e27ac1.entry.js +1 -0
- package/dist/stzh-components/p-655e3c46.system.entry.js +1 -0
- package/dist/stzh-components/{p-b0d8866d.entry.js → p-65ea23f6.entry.js} +1 -1
- package/dist/stzh-components/p-668b4025.system.entry.js +1 -0
- package/dist/stzh-components/{p-f03ce92d.system.entry.js → p-6722e89a.system.entry.js} +1 -1
- package/dist/stzh-components/p-67ae4994.entry.js +1 -0
- package/dist/stzh-components/{p-f39f347c.system.js → p-6845b6ac.system.js} +0 -0
- package/dist/stzh-components/p-6adc5f0c.system.entry.js +1 -0
- package/dist/stzh-components/p-6c80b920.system.entry.js +1 -0
- package/dist/stzh-components/p-6dbf976b.entry.js +1 -0
- package/dist/stzh-components/{p-eade9f77.entry.js → p-6e3231ce.entry.js} +1 -1
- package/dist/stzh-components/p-705aa56d.entry.js +1 -0
- package/dist/stzh-components/{p-288ee536.system.entry.js → p-70f85be3.system.entry.js} +1 -1
- package/dist/stzh-components/{p-62a2684d.entry.js → p-7185f634.entry.js} +1 -1
- package/dist/stzh-components/{p-11d7b426.system.entry.js → p-74d6e349.system.entry.js} +1 -1
- package/dist/stzh-components/p-77d0a54b.system.entry.js +1 -0
- package/dist/stzh-components/p-7b0c04b3.system.entry.js +1 -0
- package/dist/stzh-components/{p-2b5b1e4a.system.entry.js → p-7e4261ce.system.entry.js} +2 -2
- package/dist/stzh-components/{p-f5db6234.entry.js → p-7e94b787.entry.js} +1 -1
- package/dist/stzh-components/{p-df5f49b4.js → p-7f0fb35c.js} +1 -1
- package/dist/stzh-components/{p-44e0b101.system.entry.js → p-7f1b7b44.system.entry.js} +1 -1
- package/dist/stzh-components/{p-97e16665.system.entry.js → p-80f497d8.system.entry.js} +1 -1
- package/dist/stzh-components/p-81b4b0e6.system.entry.js +1 -0
- package/dist/stzh-components/{p-8cc119d3.system.entry.js → p-8361c9d8.system.entry.js} +1 -1
- package/dist/stzh-components/{p-cc720d2d.entry.js → p-838b0542.entry.js} +1 -1
- package/dist/stzh-components/p-862e7723.system.entry.js +1 -0
- package/dist/stzh-components/{p-49b292df.entry.js → p-86336227.entry.js} +1 -1
- package/dist/stzh-components/p-8715198b.entry.js +1 -0
- package/dist/stzh-components/p-8972cf20.entry.js +1 -0
- package/dist/stzh-components/p-8c5a6832.system.entry.js +1 -0
- package/dist/stzh-components/p-8caafed2.system.entry.js +1 -0
- package/dist/stzh-components/p-8ccefd49.system.entry.js +1 -0
- package/dist/stzh-components/p-8ee705ed.entry.js +1 -0
- package/dist/stzh-components/p-906caf97.js +1 -0
- package/dist/stzh-components/{p-9e4e0cc9.entry.js → p-923dffc7.entry.js} +1 -1
- package/dist/stzh-components/p-9380fb85.entry.js +1 -0
- package/dist/stzh-components/p-97e4272b.system.entry.js +1 -0
- package/dist/stzh-components/p-990f395b.entry.js +1 -0
- package/dist/stzh-components/p-99a3742a.js +2 -0
- package/dist/stzh-components/p-99aacd74.entry.js +1 -0
- package/dist/stzh-components/p-99b82949.entry.js +1 -0
- package/dist/stzh-components/p-99e27f57.system.js +1 -0
- package/dist/stzh-components/{p-576e1345.entry.js → p-99e43fb0.entry.js} +1 -1
- package/dist/stzh-components/p-9be29697.entry.js +1 -0
- package/dist/stzh-components/{p-eb6d3e6c.entry.js → p-9c35c9cd.entry.js} +1 -1
- package/dist/stzh-components/{p-33f80cd2.system.entry.js → p-9d5c70ee.system.entry.js} +1 -1
- package/dist/stzh-components/p-9e30ee4a.system.js +10 -0
- package/dist/stzh-components/{p-94830f96.system.entry.js → p-a0a033bd.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d5cb80ad.system.entry.js → p-a11ef2d6.system.entry.js} +1 -1
- package/dist/stzh-components/p-a2b2cfac.system.entry.js +1 -0
- package/dist/stzh-components/p-a3c7aa63.entry.js +9 -0
- package/dist/stzh-components/p-a408bfba.system.js +1 -1
- package/dist/stzh-components/{p-68400ee7.entry.js → p-a44527f8.entry.js} +1 -1
- package/dist/stzh-components/{p-8bbaed3a.entry.js → p-a4dd5ba3.entry.js} +1 -1
- package/dist/stzh-components/{p-c30600d0.system.entry.js → p-a51dd210.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4b0f473e.entry.js → p-a693ab41.entry.js} +1 -1
- package/dist/stzh-components/p-a6be6aca.system.entry.js +1 -0
- package/dist/stzh-components/p-ac3e3b2a.system.entry.js +1 -0
- package/dist/stzh-components/{p-72389069.entry.js → p-ad816fd9.entry.js} +1 -1
- package/dist/stzh-components/p-af67ea5e.entry.js +7 -0
- package/dist/stzh-components/p-b050c1f4.entry.js +1 -0
- package/dist/stzh-components/{p-be79497f.system.entry.js → p-b1ffc2a9.system.entry.js} +1 -1
- package/dist/stzh-components/p-b395bed5.system.entry.js +1 -0
- package/dist/stzh-components/{p-30ba96a3.entry.js → p-b689b882.entry.js} +1 -1
- package/dist/stzh-components/{p-5c3c9ad4.entry.js → p-b6e6f847.entry.js} +1 -1
- package/dist/stzh-components/p-b92734db.entry.js +1 -0
- package/dist/stzh-components/p-b9427914.entry.js +1 -0
- package/dist/stzh-components/p-bada7caa.system.entry.js +1 -0
- package/dist/stzh-components/p-bb82fa2d.system.entry.js +1 -0
- package/dist/stzh-components/p-bc36fda4.system.entry.js +1 -0
- package/dist/stzh-components/{p-1d8272a5.entry.js → p-be68b323.entry.js} +1 -1
- package/dist/stzh-components/p-bf071e77.system.js +1 -0
- package/dist/stzh-components/{p-84965eac.entry.js → p-c0ec905d.entry.js} +1 -1
- package/dist/stzh-components/p-c2f909c1.system.entry.js +1 -0
- package/dist/stzh-components/p-c33b7d23.entry.js +1 -0
- package/dist/stzh-components/p-c646c712.entry.js +1 -0
- package/dist/stzh-components/p-c8cc2563.system.entry.js +1 -0
- package/dist/stzh-components/p-c9c7d88a.entry.js +1 -0
- package/dist/stzh-components/p-cbe6d2ea.entry.js +1 -0
- package/dist/stzh-components/{p-2732d8c8.system.js → p-cbfae706.system.js} +0 -0
- package/dist/stzh-components/p-ccf023da.entry.js +3 -0
- package/dist/stzh-components/p-d04bbc19.js +1 -0
- package/dist/stzh-components/p-d32965be.system.entry.js +1 -0
- package/dist/stzh-components/p-d54ff4d4.system.entry.js +1 -0
- package/dist/stzh-components/p-d5644c25.entry.js +8 -0
- package/dist/stzh-components/p-d6a11daa.entry.js +1 -0
- package/dist/stzh-components/p-d943e02c.system.entry.js +1 -0
- package/dist/stzh-components/{p-a474826c.system.entry.js → p-da85cf73.system.entry.js} +1 -1
- package/dist/stzh-components/p-da98a8bb.system.entry.js +7 -0
- package/dist/stzh-components/p-db306e24.entry.js +1 -0
- package/dist/stzh-components/{p-d2f6fb1b.system.js → p-db339680.system.js} +1 -1
- package/dist/stzh-components/{p-f5fdc88c.entry.js → p-dbe5320f.entry.js} +3 -3
- package/dist/stzh-components/p-dd1bb919.entry.js +1 -0
- package/dist/stzh-components/p-dd5f29aa.entry.js +1 -0
- package/dist/stzh-components/p-de9edaf2.entry.js +1 -0
- package/dist/stzh-components/p-e3afc8f7.entry.js +1 -0
- package/dist/stzh-components/p-e54ef44f.system.entry.js +1 -0
- package/dist/stzh-components/p-e78fe899.system.entry.js +1 -0
- package/dist/stzh-components/{p-60d9bf98.system.entry.js → p-e7909de9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-58af0855.system.entry.js → p-e7e9b295.system.entry.js} +1 -1
- package/dist/stzh-components/p-e8feb92e.system.entry.js +1 -0
- package/dist/stzh-components/p-eb7773f3.entry.js +1 -0
- package/dist/stzh-components/p-ed58b644.system.entry.js +1 -0
- package/dist/stzh-components/p-ee4b939a.entry.js +1 -0
- package/dist/stzh-components/{p-28d8aa31.entry.js → p-f0e2a32d.entry.js} +1 -1
- package/dist/stzh-components/{p-0cff4e01.entry.js → p-f2deda0a.entry.js} +1 -1
- package/dist/stzh-components/p-f3d69226.system.entry.js +1 -0
- package/dist/stzh-components/p-f433e62a.system.entry.js +1 -0
- package/dist/stzh-components/p-f5b2c12e.entry.js +1 -0
- package/dist/stzh-components/{p-4226dec6.system.entry.js → p-f7bb76d8.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4c7e52aa.entry.js → p-f8feb07b.entry.js} +1 -1
- package/dist/stzh-components/p-f9ab0433.entry.js +1 -0
- package/dist/stzh-components/p-fa615b51.system.entry.js +1 -0
- package/dist/stzh-components/p-fd15cc86.entry.js +1 -0
- package/dist/stzh-components/p-fd3acd16.system.entry.js +1 -0
- package/dist/stzh-components/p-fe5d5fc8.entry.js +1 -0
- package/dist/stzh-components/p-fe9acc68.system.entry.js +1 -0
- package/dist/stzh-components/stzh-components.css +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-actionset/stzh-actionset.localization.d.ts +1 -1
- package/dist/types/components/stzh-appointments/stzh-appointments.localization.d.ts +1 -1
- package/dist/types/components/stzh-audio/stzh-audio.localization.d.ts +1 -1
- package/dist/types/components/stzh-calendar/stzh-calendar-day.d.ts +1 -1
- package/dist/types/components/stzh-calendar/stzh-calendar-month.d.ts +1 -1
- package/dist/types/components/stzh-calendar/stzh-calendar.localization.d.ts +1 -1
- package/dist/types/components/stzh-card/stzh-card.localization.d.ts +1 -1
- package/dist/types/components/stzh-card-list/stzh-card-list.localization.d.ts +1 -1
- package/dist/types/components/stzh-container/stzh-container.d.ts +2 -0
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +2 -1
- package/dist/types/components/stzh-datatable/stzh-datatable.localization.d.ts +1 -1
- package/dist/types/components/stzh-datepicker/stzh-datepicker.localization.d.ts +1 -1
- package/dist/types/components/stzh-dialog/stzh-dialog.localization.d.ts +1 -1
- package/dist/types/components/stzh-dropdown/stzh-dropdown.localization.d.ts +1 -1
- package/dist/types/components/stzh-footer/stzh-footer.localization.d.ts +1 -1
- package/dist/types/components/stzh-ghettobox/stzh-ghettobox.localization.d.ts +1 -1
- package/dist/types/components/stzh-hspace/stzh-hspace.d.ts +3 -1
- package/dist/types/components/stzh-input/stzh-input-description.d.ts +1 -1
- package/dist/types/components/stzh-message/stzh-message.localization.d.ts +1 -1
- package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +1 -1
- package/dist/types/components/stzh-olmap/stzh-olmap.localization.d.ts +1 -1
- package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +2 -1
- package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +1 -0
- package/dist/types/components/stzh-saptcha/stzh-saptcha.localization.d.ts +1 -1
- package/dist/types/components/stzh-share/stzh-share.localization.d.ts +1 -1
- package/dist/types/components/stzh-sortable/stzh-sortable.localization.d.ts +1 -1
- package/dist/types/components/stzh-space/stzh-space.d.ts +27 -0
- package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +2 -1
- package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -1
- package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.d.ts +1 -1
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +1 -1
- package/dist/types/components/stzh-vspace/stzh-vspace.d.ts +3 -1
- package/dist/types/components.d.ts +416 -22
- package/dist/types/index.d.ts +139 -132
- package/dist/types/stencil-public-runtime.d.ts +59 -3
- package/dist/types/utils/date-adapter.d.ts +2 -2
- package/dist/types/utils/h.d.ts +3 -3
- package/dist/types/utils/test-utils.d.ts +2 -2
- package/dist/types/utils/translation-utils.d.ts +5 -5
- package/dist/vscode-data.json +675 -104
- package/loader/index.d.ts +9 -0
- package/package.json +11 -11
- package/dist/cjs/index-8bd1552a.js +0 -2019
- package/dist/cjs/stzh-chip.cjs.entry.js +0 -99
- package/dist/cjs/stzh-clamp.cjs.entry.js +0 -27
- package/dist/cjs/stzh-contactaddress.cjs.entry.js +0 -91
- package/dist/collection/pages/example.stories.js +0 -170
- package/dist/components/index3.js +0 -2017
- package/dist/components/stzh-contactaddress.js +0 -157
- package/dist/esm/index-545902f4.js +0 -2017
- package/dist/esm/stzh-chip.entry.js +0 -95
- package/dist/esm/stzh-clamp.entry.js +0 -23
- package/dist/esm/stzh-contactaddress.entry.js +0 -87
- package/dist/esm-es5/animation-utils-25c74e5b.js +0 -1
- package/dist/esm-es5/app-globals-17c2ba8d.js +0 -1
- package/dist/esm-es5/arrow-86a679c7.js +0 -1
- package/dist/esm-es5/focus-trap.esm-074705a3.js +0 -9
- package/dist/esm-es5/index-011c84fe.js +0 -2
- package/dist/esm-es5/index-545902f4.js +0 -1
- package/dist/esm-es5/stzh-chip.entry.js +0 -1
- package/dist/esm-es5/stzh-clamp.entry.js +0 -1
- package/dist/esm-es5/stzh-contactaddress.entry.js +0 -1
- package/dist/stzh-components/p-006751fc.system.entry.js +0 -1
- package/dist/stzh-components/p-025c9c5b.entry.js +0 -1
- package/dist/stzh-components/p-02fd7470.entry.js +0 -1
- package/dist/stzh-components/p-037357fc.system.entry.js +0 -1
- package/dist/stzh-components/p-04a45622.system.entry.js +0 -1
- package/dist/stzh-components/p-09da70d8.entry.js +0 -1
- package/dist/stzh-components/p-0a647396.entry.js +0 -1
- package/dist/stzh-components/p-0b264a7a.entry.js +0 -1
- package/dist/stzh-components/p-0b9dc96d.system.js +0 -1
- package/dist/stzh-components/p-10c046fc.system.entry.js +0 -1
- package/dist/stzh-components/p-171c5795.system.entry.js +0 -1
- package/dist/stzh-components/p-19ab7e34.system.entry.js +0 -1
- package/dist/stzh-components/p-1ca12032.system.entry.js +0 -1
- package/dist/stzh-components/p-1da26ca1.entry.js +0 -1
- package/dist/stzh-components/p-1e4b4d71.system.js +0 -1
- package/dist/stzh-components/p-1fe1169e.entry.js +0 -1
- package/dist/stzh-components/p-213959b7.entry.js +0 -1
- package/dist/stzh-components/p-22b06793.entry.js +0 -1
- package/dist/stzh-components/p-231e6e6a.system.entry.js +0 -1
- package/dist/stzh-components/p-2862cdd8.system.entry.js +0 -1
- package/dist/stzh-components/p-2a5855f8.js +0 -1
- package/dist/stzh-components/p-2bdc71ae.system.entry.js +0 -1
- package/dist/stzh-components/p-31029226.entry.js +0 -1
- package/dist/stzh-components/p-311813bc.system.entry.js +0 -1
- package/dist/stzh-components/p-31c3469c.entry.js +0 -1
- package/dist/stzh-components/p-34b45788.entry.js +0 -7
- package/dist/stzh-components/p-3848d8ee.entry.js +0 -1
- package/dist/stzh-components/p-38f9cbf3.system.entry.js +0 -1
- package/dist/stzh-components/p-3905ca20.entry.js +0 -1
- package/dist/stzh-components/p-391e6b90.entry.js +0 -1
- package/dist/stzh-components/p-3a1ff759.entry.js +0 -1
- package/dist/stzh-components/p-40a19ce6.js +0 -10
- package/dist/stzh-components/p-4228cd58.system.entry.js +0 -1
- package/dist/stzh-components/p-441ea784.entry.js +0 -1
- package/dist/stzh-components/p-49bb09a5.entry.js +0 -1
- package/dist/stzh-components/p-4bd7dafb.system.entry.js +0 -1
- package/dist/stzh-components/p-4cd9f5c7.system.entry.js +0 -1
- package/dist/stzh-components/p-51be647d.entry.js +0 -1
- package/dist/stzh-components/p-53934cfd.js +0 -1
- package/dist/stzh-components/p-55f6fa41.system.entry.js +0 -1
- package/dist/stzh-components/p-57237509.system.entry.js +0 -1
- package/dist/stzh-components/p-5b1c1cf7.entry.js +0 -1
- package/dist/stzh-components/p-5b379647.system.entry.js +0 -1
- package/dist/stzh-components/p-5ddf8258.system.entry.js +0 -1
- package/dist/stzh-components/p-5fd9ae99.system.entry.js +0 -1
- package/dist/stzh-components/p-60ec90b2.system.entry.js +0 -1
- package/dist/stzh-components/p-64422176.entry.js +0 -9
- package/dist/stzh-components/p-65675e11.entry.js +0 -1
- package/dist/stzh-components/p-661831da.entry.js +0 -1
- package/dist/stzh-components/p-71c07419.system.entry.js +0 -1
- package/dist/stzh-components/p-75068cd7.system.entry.js +0 -1
- package/dist/stzh-components/p-7684506e.system.entry.js +0 -1
- package/dist/stzh-components/p-7adc28a4.system.entry.js +0 -7
- package/dist/stzh-components/p-7ce59988.system.entry.js +0 -1
- package/dist/stzh-components/p-7da446d5.js +0 -1
- package/dist/stzh-components/p-7e94dde2.entry.js +0 -1
- package/dist/stzh-components/p-812ea5e9.system.entry.js +0 -1
- package/dist/stzh-components/p-8364475f.js +0 -12
- package/dist/stzh-components/p-83830baa.system.entry.js +0 -1
- package/dist/stzh-components/p-84c86e4c.system.entry.js +0 -1
- package/dist/stzh-components/p-88a31179.system.entry.js +0 -1
- package/dist/stzh-components/p-88cbd2c0.entry.js +0 -1
- package/dist/stzh-components/p-8a1d00fe.entry.js +0 -3
- package/dist/stzh-components/p-92afa8df.entry.js +0 -1
- package/dist/stzh-components/p-95b490ec.system.entry.js +0 -1
- package/dist/stzh-components/p-9743f558.system.entry.js +0 -1
- package/dist/stzh-components/p-996579d0.entry.js +0 -1
- package/dist/stzh-components/p-99f92c6d.system.entry.js +0 -1
- package/dist/stzh-components/p-9a5ebb1f.js +0 -2
- package/dist/stzh-components/p-9dac46e2.system.entry.js +0 -1
- package/dist/stzh-components/p-9e38b823.system.entry.js +0 -1
- package/dist/stzh-components/p-a16dc363.entry.js +0 -1
- package/dist/stzh-components/p-a17754c7.system.entry.js +0 -1
- package/dist/stzh-components/p-a53c0a98.entry.js +0 -1
- package/dist/stzh-components/p-a795868f.entry.js +0 -1
- package/dist/stzh-components/p-a8101552.entry.js +0 -8
- package/dist/stzh-components/p-a934dd4d.entry.js +0 -1
- package/dist/stzh-components/p-aacf685b.system.entry.js +0 -3
- package/dist/stzh-components/p-ab28e094.system.entry.js +0 -1
- package/dist/stzh-components/p-ac3aa560.system.entry.js +0 -1
- package/dist/stzh-components/p-addc48e5.entry.js +0 -1
- package/dist/stzh-components/p-af0ab448.system.entry.js +0 -1
- package/dist/stzh-components/p-af63f1a4.entry.js +0 -1
- package/dist/stzh-components/p-b0fe9349.entry.js +0 -1
- package/dist/stzh-components/p-b2145753.system.entry.js +0 -1
- package/dist/stzh-components/p-b436a18d.system.entry.js +0 -1
- package/dist/stzh-components/p-b908d228.system.entry.js +0 -1
- package/dist/stzh-components/p-ba0b93c4.system.entry.js +0 -9
- package/dist/stzh-components/p-bfcfbfbb.system.entry.js +0 -1
- package/dist/stzh-components/p-c065387a.entry.js +0 -1
- package/dist/stzh-components/p-c0fef3d1.entry.js +0 -1
- package/dist/stzh-components/p-c26aec94.entry.js +0 -1
- package/dist/stzh-components/p-c3a543a6.entry.js +0 -1
- package/dist/stzh-components/p-c42435be.entry.js +0 -1
- package/dist/stzh-components/p-cf6003d6.js +0 -1
- package/dist/stzh-components/p-cfc0bc2e.system.entry.js +0 -1
- package/dist/stzh-components/p-d1d5825d.entry.js +0 -1
- package/dist/stzh-components/p-d4405931.system.entry.js +0 -1
- package/dist/stzh-components/p-d5c0801b.entry.js +0 -1
- package/dist/stzh-components/p-db1692fb.entry.js +0 -1
- package/dist/stzh-components/p-dbdc01c7.system.js +0 -2
- package/dist/stzh-components/p-dce19efd.entry.js +0 -1
- package/dist/stzh-components/p-ded16c0e.system.js +0 -1
- package/dist/stzh-components/p-e20369c8.system.js +0 -10
- package/dist/stzh-components/p-e2e54f09.system.js +0 -1
- package/dist/stzh-components/p-e46d82b9.system.entry.js +0 -1
- package/dist/stzh-components/p-e71cd5cd.system.entry.js +0 -1
- package/dist/stzh-components/p-e72ca013.system.entry.js +0 -1
- package/dist/stzh-components/p-e76a3647.entry.js +0 -1
- package/dist/stzh-components/p-e812d35e.system.entry.js +0 -1
- package/dist/stzh-components/p-ec3a472a.system.entry.js +0 -1
- package/dist/stzh-components/p-f3107fc7.system.entry.js +0 -1
- package/dist/stzh-components/p-f37be5d7.entry.js +0 -1
- package/dist/stzh-components/p-f59b3545.system.entry.js +0 -1
- package/dist/stzh-components/p-f792fc8f.entry.js +0 -1
- package/dist/stzh-components/p-fcec6003.system.entry.js +0 -1
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-011c84fe.js';
|
|
2
|
-
|
|
3
|
-
const stzhChipCss = ".sc-stzh-chip-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-h{display:none}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-chip-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--height:2rem;--border:0.0625rem solid var(--stzh-color-grey13);--border-radius:1rem;--remove-color:var(--stzh-base-lead-color);--remove-border-radius:1.5rem;--background-color:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--icon-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-primary48);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border:var(--border);--hover-background-color:var(--stzh-color-primary8);--hover-remove-color:var(--hover-color);--hover-remove-background-color:var(--hover-background-color);--hover-icon-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));display:-ms-inline-flexbox;display:inline-flex;border-radius:var(--border-radius)}[size=small].sc-stzh-chip-h{--height:1.5rem;--border-radius:0.75rem;--icon-size:var(--stzh-icon-size-xsmall)}[variant=input].sc-stzh-chip-h{--border:0.0625rem solid transparent;--background-color:var(--stzh-color-grey5);--hover-border:0.0625rem solid transparent}[variant=tag].sc-stzh-chip-h{--color:var(--stzh-base-color);--icon-color:var(--stzh-base-color);--counter-color:var(--stzh-base-color);--border:0.0625rem solid transparent;--background-color:var(--stzh-color-black8);--hover-color:var(--stzh-base-color);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-black8);--hover-icon-color:var(--stzh-base-color);--hover-counter-color:var(--stzh-base-color)}[type=secondary].sc-stzh-chip-h{--color:var(--stzh-base-lead-color);--counter-color:var(--stzh-color-grey40)}[type=important].sc-stzh-chip-h{--color:var(--stzh-color-error);--icon-color:var(--stzh-color-error);--counter-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-icon-color:var(--stzh-color-error);--hover-counter-color:var(--stzh-color-error)}[active].sc-stzh-chip-h:not([active=false]){--color:var(--stzh-color-white);--border:0.0625rem solid transparent;--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-white48);--icon-color:var(--stzh-color-white);--hover-color:var(--stzh-color-white);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-remove-color:var(--stzh-color-white);--hover-remove-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-white48);--hover-icon-color:var(--stzh-color-white)}[disabled].sc-stzh-chip-h:not([disabled=false]){--color:var(--stzh-color-grey25);--border:0.0625rem solid var(--stzh-base-border-color);--remove-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-white);--counter-color:var(--stzh-color-grey25);--icon-color:var(--stzh-color-grey25);--hover-color:var(--stzh-color-grey25);--hover-border:0.0625rem solid var(--stzh-base-border-color);--hover-background-color:var(--stzh-color-white);--hover-remove-color:var(--stzh-color-grey13);--hover-remove-background-color:transparent;--hover-counter-color:var(--stzh-color-grey25);--hover-icon-color:var(--stzh-color-grey25)}.sc-stzh-chip-h .sc-stzh-chip-s>stzh-icon,.stzh-chip__icon.sc-stzh-chip{--size:var(--icon-size)}.stzh-chip.sc-stzh-chip{position:relative;white-space:nowrap}.stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);height:var(--height);display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:var(--border-radius);padding:0 var(--stzh-space-medium);color:var(--color);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--border);background-color:var(--background-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);text-decoration:none}.stzh-chip__icon-wrapper.sc-stzh-chip{display:-ms-flexbox;display:flex;color:var(--icon-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-chip__counter.sc-stzh-chip{display:-ms-flexbox;display:flex;font-variant-numeric:tabular-nums;margin-left:var(--stzh-space-xsmall);color:var(--counter-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip{position:absolute;top:0;right:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:0;width:var(--height);height:var(--height);border-radius:var(--remove-border-radius);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--remove-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip:hover{color:var(--hover-remove-color);background-color:var(--hover-remove-background-color)}.stzh-chip__remove-icon.sc-stzh-chip{--size:var(--stzh-icon-size-xxsmall)}.stzh-chip__button.sc-stzh-chip:hover,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip{color:var(--hover-color);background-color:var(--hover-background-color);border:var(--hover-border)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__counter.sc-stzh-chip{color:var(--hover-counter-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__icon-wrapper.sc-stzh-chip{color:var(--hover-icon-color)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);padding:0 var(--stzh-space-small)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xxsmall)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__counter.sc-stzh-chip{margin-left:var(--stzh-space-xxsmall)}.stzh-chip--is-removable.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{padding-right:calc(var(--height) + var(--stzh-space-xxsmall))}.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__button.sc-stzh-chip,.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__remove.sc-stzh-chip{cursor:not-allowed}";
|
|
4
|
-
|
|
5
|
-
const StzhChip = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.stzhClick = createEvent(this, "stzhClick", 7);
|
|
9
|
-
this.stzhRemove = createEvent(this, "stzhRemove", 7);
|
|
10
|
-
this.stzhFocus = createEvent(this, "stzhFocus", 7);
|
|
11
|
-
this.stzhBlur = createEvent(this, "stzhBlur", 7);
|
|
12
|
-
this.onFocus = (event) => {
|
|
13
|
-
const focusEvent = new FocusEvent("focus", {
|
|
14
|
-
view: window,
|
|
15
|
-
bubbles: false,
|
|
16
|
-
cancelable: false
|
|
17
|
-
});
|
|
18
|
-
this.element.dispatchEvent(focusEvent);
|
|
19
|
-
this.stzhFocus.emit({
|
|
20
|
-
component: "stzh-chip",
|
|
21
|
-
originalEvent: event
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
this.onBlur = (event) => {
|
|
25
|
-
const blurEvent = new FocusEvent("blur", {
|
|
26
|
-
view: window,
|
|
27
|
-
bubbles: false,
|
|
28
|
-
cancelable: false
|
|
29
|
-
});
|
|
30
|
-
this.element.dispatchEvent(blurEvent);
|
|
31
|
-
this.stzhBlur.emit({
|
|
32
|
-
component: "stzh-chip",
|
|
33
|
-
originalEvent: event
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
this.onClick = (event) => {
|
|
37
|
-
this.stzhClick.emit({
|
|
38
|
-
component: "stzh-chip",
|
|
39
|
-
originalEvent: event
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
this.onRemoveClick = (event) => {
|
|
43
|
-
this.stzhRemove.emit({
|
|
44
|
-
component: "stzh-chip",
|
|
45
|
-
originalEvent: event
|
|
46
|
-
});
|
|
47
|
-
};
|
|
48
|
-
this.label = "";
|
|
49
|
-
this.icon = "";
|
|
50
|
-
this.href = "";
|
|
51
|
-
this.target = "";
|
|
52
|
-
this.removable = false;
|
|
53
|
-
this.variant = "tag";
|
|
54
|
-
this.size = "default";
|
|
55
|
-
this.type = "default";
|
|
56
|
-
this.counter = "";
|
|
57
|
-
this.removeLabel = "";
|
|
58
|
-
this.active = false;
|
|
59
|
-
this.disabled = false;
|
|
60
|
-
this.a11yLabel = undefined;
|
|
61
|
-
this.a11yDescribedby = "";
|
|
62
|
-
}
|
|
63
|
-
/** Focus menu item */
|
|
64
|
-
async setFocus() {
|
|
65
|
-
this.chip.focus();
|
|
66
|
-
}
|
|
67
|
-
renderInner() {
|
|
68
|
-
return (h(Fragment, null, h("div", { class: "stzh-chip__icon-wrapper" }, this.icon ?
|
|
69
|
-
h("stzh-icon", { class: "stzh-chip__icon", name: this.icon })
|
|
70
|
-
:
|
|
71
|
-
h("slot", { name: "icon" })), h("div", { class: "stzh-chip__label" }, this.label ? this.label : h("slot", null)), this.counter &&
|
|
72
|
-
h("div", { class: "stzh-chip__counter" }, this.counter)));
|
|
73
|
-
}
|
|
74
|
-
render() {
|
|
75
|
-
const classes = {
|
|
76
|
-
"stzh-chip": true,
|
|
77
|
-
"stzh-chip--is-active": this.active,
|
|
78
|
-
"stzh-chip--is-disabled": this.disabled,
|
|
79
|
-
"stzh-chip--is-removable": this.removable,
|
|
80
|
-
"stzh-chip--has-counter": !!this.counter,
|
|
81
|
-
[`stzh-chip--type-${this.type}`]: !!this.type,
|
|
82
|
-
[`stzh-chip--size-${this.size}`]: !!this.size,
|
|
83
|
-
[`stzh-chip--${this.variant}`]: !!this.variant
|
|
84
|
-
};
|
|
85
|
-
return (h(Host, null, h("div", { class: classes }, this.removable &&
|
|
86
|
-
h("button", { class: "stzh-chip__remove", onClick: this.onRemoveClick, disabled: this.disabled, "aria-label": this.removeLabel, type: "button" }, h("stzh-icon", { class: "stzh-chip__remove-icon", name: "close" })), this.href ?
|
|
87
|
-
h("a", { class: "stzh-chip__button", href: this.disabled ? null : this.href, target: this.target, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner())
|
|
88
|
-
:
|
|
89
|
-
h("button", { class: "stzh-chip__button", disabled: this.disabled, type: "button", "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner()))));
|
|
90
|
-
}
|
|
91
|
-
get element() { return getElement(this); }
|
|
92
|
-
};
|
|
93
|
-
StzhChip.style = stzhChipCss;
|
|
94
|
-
|
|
95
|
-
export { StzhChip as stzh_chip };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, a as Host } from './index-011c84fe.js';
|
|
2
|
-
|
|
3
|
-
const stzhClampCss = ".sc-stzh-clamp-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-clamp-h{display:none}.sc-stzh-clamp-h *.sc-stzh-clamp,.sc-stzh-clamp-h *.sc-stzh-clamp::before,.sc-stzh-clamp-h *.sc-stzh-clamp::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-clamp-h{--lines:1;width:100%;color:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;line-height:inherit}[lines=\"1\"].sc-stzh-clamp-h{--lines:1}[lines=\"2\"].sc-stzh-clamp-h{--lines:2}[lines=\"3\"].sc-stzh-clamp-h{--lines:3}[lines=\"4\"].sc-stzh-clamp-h{--lines:4}[lines=\"5\"].sc-stzh-clamp-h{--lines:5}@media screen and (min-width: 600px){[lines-small=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 600px){[lines-small=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 600px){[lines-small=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 600px){[lines-small=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 600px){[lines-small=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 800px){[lines-smallheader=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 800px){[lines-smallheader=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 800px){[lines-smallheader=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 800px){[lines-smallheader=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 800px){[lines-smallheader=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1024px){[lines-medium=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1024px){[lines-medium=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1024px){[lines-medium=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1024px){[lines-medium=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1024px){[lines-medium=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1260px){[lines-large=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1260px){[lines-large=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1260px){[lines-large=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1260px){[lines-large=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1260px){[lines-large=\"5\"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1440px){[lines-ultra=\"1\"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1440px){[lines-ultra=\"2\"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1440px){[lines-ultra=\"3\"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1440px){[lines-ultra=\"4\"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1440px){[lines-ultra=\"5\"].sc-stzh-clamp-h{--lines:5}}.stzh-clamp.sc-stzh-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--lines);line-clamp:var(--lines);overflow:hidden}";
|
|
4
|
-
|
|
5
|
-
const StzhClamp = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.lines = 1;
|
|
9
|
-
this.linesSmall = 0;
|
|
10
|
-
this.linesMedium = 0;
|
|
11
|
-
this.linesLarge = 0;
|
|
12
|
-
this.linesUltra = 0;
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
const classes = {
|
|
16
|
-
"stzh-clamp": true
|
|
17
|
-
};
|
|
18
|
-
return (h(Host, null, h("div", { class: classes }, h("slot", null))));
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
StzhClamp.style = stzhClampCss;
|
|
22
|
-
|
|
23
|
-
export { StzhClamp as stzh_clamp };
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, F as Fragment, a as Host, g as getElement } from './index-011c84fe.js';
|
|
2
|
-
import { h as hasSlot } from './utils-92a77db5.js';
|
|
3
|
-
|
|
4
|
-
const stzhContactaddressCss = ".sc-stzh-contactaddress-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-contactaddress-h{display:none}.sc-stzh-contactaddress-h *.sc-stzh-contactaddress,.sc-stzh-contactaddress-h *.sc-stzh-contactaddress::before,.sc-stzh-contactaddress-h *.sc-stzh-contactaddress::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{width:5.5rem;height:5.5rem;top:0;left:0;border-radius:50%;-o-object-fit:cover;object-fit:cover;margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 800px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{margin-right:var(--stzh-space-xlarge);margin-bottom:0}}@media screen and (min-width: 800px) and (min-width: 1024px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{margin-right:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px) and (min-width: 1260px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{margin-right:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{width:12.25rem;height:12.25rem}}.stzh-contactaddress.sc-stzh-contactaddress{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 1024px){.stzh-contactaddress.sc-stzh-contactaddress{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-contactaddress.sc-stzh-contactaddress,.stzh-contactaddress__inner-wrapper.sc-stzh-contactaddress{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 800px){.stzh-contactaddress.sc-stzh-contactaddress,.stzh-contactaddress__inner-wrapper.sc-stzh-contactaddress{-ms-flex-direction:row;flex-direction:row}}.stzh-contactaddress__wrapper.sc-stzh-contactaddress{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-contactaddress__image.sc-stzh-contactaddress{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-large)}}.stzh-contactaddress__main-heading.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-contactaddress__main-heading.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-contactaddress__main-heading.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-large)}}.stzh-contactaddress__number-link.sc-stzh-contactaddress{color:var(--stzh-link-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-contactaddress__number-link.sc-stzh-contactaddress:hover,.stzh-contactaddress__number-link.sc-stzh-contactaddress:focus{color:var(--stzh-link-hover-color)}.stzh-contactaddress__info.sc-stzh-contactaddress{-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 800px){.stzh-contactaddress__info.sc-stzh-contactaddress{-ms-flex-preferred-size:45%;flex-basis:45%}}.stzh-contactaddress__availability-title.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-xsmall)}.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 800px){.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-left:var(--stzh-space-xlarge);margin-top:0;-ms-flex-preferred-size:55%;flex-basis:55%}}@media screen and (min-width: 800px) and (min-width: 1024px){.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px) and (min-width: 1260px){.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-left:var(--stzh-space-xxxlarge)}}.stzh-contactaddress--has-border.sc-stzh-contactaddress{padding-bottom:var(--stzh-space-xlarge);border-bottom:0.0625rem solid var(--stzh-base-border-color)}";
|
|
5
|
-
|
|
6
|
-
function formatTel(tel) {
|
|
7
|
-
return tel.replace(/\s/g, '');
|
|
8
|
-
}
|
|
9
|
-
const StzhContactaddress = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
registerInstance(this, hostRef);
|
|
12
|
-
this._numbers = [];
|
|
13
|
-
this._availability = [];
|
|
14
|
-
this.availabilityDataItems = [];
|
|
15
|
-
this.type = "Organization";
|
|
16
|
-
this.heading = undefined;
|
|
17
|
-
this.mainHeading = undefined;
|
|
18
|
-
this.name = undefined;
|
|
19
|
-
this.street = undefined;
|
|
20
|
-
this.streetInfo = undefined;
|
|
21
|
-
this.postalCode = undefined;
|
|
22
|
-
this.location = undefined;
|
|
23
|
-
this.numbers = [];
|
|
24
|
-
this.poBoxHeading = undefined;
|
|
25
|
-
this.poboxTitle = undefined;
|
|
26
|
-
this.poboxPostalCode = undefined;
|
|
27
|
-
this.poboxLocation = undefined;
|
|
28
|
-
this.availabilityTitle = undefined;
|
|
29
|
-
this.availability = undefined;
|
|
30
|
-
this.withBorder = false;
|
|
31
|
-
}
|
|
32
|
-
availabilityWatcher(newValue) {
|
|
33
|
-
if (typeof newValue === "string") {
|
|
34
|
-
this._availability = JSON.parse(newValue);
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
this._availability = newValue;
|
|
38
|
-
}
|
|
39
|
-
if (this._availability) {
|
|
40
|
-
this.availabilityDataItems = this._availability.map((item) => ({
|
|
41
|
-
value: item.hours.join(' | '),
|
|
42
|
-
label: item.weekday
|
|
43
|
-
}));
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
numbersWatcher(newValue) {
|
|
47
|
-
if (typeof newValue === "string") {
|
|
48
|
-
this._numbers = JSON.parse(newValue);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
this._numbers = newValue;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
async componentWillLoad() {
|
|
55
|
-
this.numbersWatcher(this.numbers);
|
|
56
|
-
this.availabilityWatcher(this.availability);
|
|
57
|
-
}
|
|
58
|
-
render() {
|
|
59
|
-
const hasImage = hasSlot(this.element, "image");
|
|
60
|
-
const classes = {
|
|
61
|
-
"stzh-contactaddress": true,
|
|
62
|
-
"stzh-contactaddress--has-image": hasImage,
|
|
63
|
-
"stzh-contactaddress--has-border": this.withBorder
|
|
64
|
-
};
|
|
65
|
-
return (h(Host, null, h("div", { class: classes, itemscope: true, itemtype: `http://schema.org/${this.type}` }, h("div", { class: "stzh-contactaddress__image" }, h("slot", { name: "image" })), h("div", { class: "stzh-contactaddress__wrapper" }, this.mainHeading &&
|
|
66
|
-
h("stzh-heading", { level: "3", class: "stzh-contactaddress__main-heading", itemprop: (this.type === "Organization" && !this.heading
|
|
67
|
-
|| this.type === "Person" && !this.name) ? "name" : null, innerHTML: this.mainHeading }), h("div", { class: "stzh-contactaddress__inner-wrapper" }, h("div", { class: "stzh-contactaddress__info" }, this.heading &&
|
|
68
|
-
h("stzh-heading", { level: "4", class: "stzh-contactaddress__heading", itemprop: this.type === "Organization" || !this.name ? "name" : null, innerHTML: this.heading }), this.name &&
|
|
69
|
-
h("div", { class: "stzh-contactaddress__name", itemprop: this.type === "Person" ? "name" : null }, this.name), (this.street || this.postalCode || this.location) &&
|
|
70
|
-
h("div", { class: "stzh-contactaddress__address", itemprop: "address", itemscope: true, itemtype: "http://schema.org/PostalAddress" }, this.street &&
|
|
71
|
-
h("div", { class: "stzh-contactaddress__street", itemprop: "streetAddress" }, this.street, this.streetInfo &&
|
|
72
|
-
h(Fragment, null, h("br", null), " ", this.streetInfo)), this.postalCode &&
|
|
73
|
-
h("span", { class: "stzh-contactaddress__postal-code", itemprop: "postalCode" }, this.postalCode, "\u00A0"), this.location &&
|
|
74
|
-
h("span", { class: "stzh-contactaddress__locality", itemprop: "addressLocality" }, this.location)), this._numbers.map((number) => h("div", { class: "stzh-contactaddress__number" }, h("span", null, number.label, "\u00A0"), h("span", { itemprop: number.type === "fax" ? "faxNumber" : "telephone" }, h("a", { class: "stzh-contactaddress__number-link", href: `${number.type}:${formatTel(number.number)}` }, number.number)))), (this.poBoxHeading || this.poboxTitle || this.poboxPostalCode || this.poboxLocation) &&
|
|
75
|
-
h("div", { class: "stzh-contactaddress__pobox" }, h("div", { class: "stzh-contactaddress__pobox-heading" }, this.poBoxHeading), h("div", { class: "stzh-contactaddress__pobox-title" }, this.poboxTitle), h("span", { class: "stzh-contactaddress__pobox-postal-code" }, this.poboxPostalCode, "\u00A0"), h("span", { class: "stzh-contactaddress__pobox-locality" }, this.poboxLocation))), this.availability &&
|
|
76
|
-
h("div", { class: "stzh-contactaddress__availability" }, this.availabilityTitle &&
|
|
77
|
-
h("stzh-heading", { level: "4", class: "stzh-contactaddress__availability-title" }, this.availabilityTitle), h("stzh-datalist", { hideBorder: true, directionSmall: "vertical", items: this.availabilityDataItems })))))));
|
|
78
|
-
}
|
|
79
|
-
get element() { return getElement(this); }
|
|
80
|
-
static get watchers() { return {
|
|
81
|
-
"availability": ["availabilityWatcher"],
|
|
82
|
-
"numbers": ["numbersWatcher"]
|
|
83
|
-
}; }
|
|
84
|
-
};
|
|
85
|
-
StzhContactaddress.style = stzhContactaddressCss;
|
|
86
|
-
|
|
87
|
-
export { StzhContactaddress as stzh_contactaddress };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function animateTo(e,n,t){return new Promise((function(i){if((t===null||t===void 0?void 0:t.duration)===Infinity){throw new Error("Promise-based animations must be finite.")}var r=e.animate(n,Object.assign(Object.assign({},t),{duration:prefersReducedMotion()?0:t.duration}));r.addEventListener("cancel",i,{once:true});r.addEventListener("finish",i,{once:true})}))}function prefersReducedMotion(){var e=window.matchMedia("(prefers-reduced-motion: reduce)");return e.matches}function stopAnimations(e){return Promise.all(e.getAnimations().map((function(e){return new Promise((function(n){var t=requestAnimationFrame(n);e.addEventListener("cancel",(function(){return t}),{once:true});e.addEventListener("finish",(function(){return t}),{once:true});e.cancel()}))})))}function shimKeyframesHeightAuto(e,n){return e.map((function(e){return Object.assign(Object.assign({},e),{height:e.height==="auto"?"".concat(n,"px"):e.height})}))}export{animateTo as a,shimKeyframesHeightAuto as b,prefersReducedMotion as p,stopAnimations as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var name="@oiz/stzh-components";var version="2.2.0-beta";var packageName=name.substring(name.indexOf("/")+1);function applyAutofocus(){window.addEventListener("appload",(function(e){var o=document.querySelector("[autofocus]");if(o&&e.detail.namespace===packageName&&o.tagName.toLowerCase().indexOf("stzh-")===0&&"setFocus"in o){o.setFocus()}}))}function observeScrollbarWidth(){var e={threshold:1};var o=function(e){e.forEach((function(e){var o=0;if(e.intersectionRatio<1){o=window.innerWidth-document.body.clientWidth}document.documentElement.style.setProperty("--stzh-scrollbar-width",o+"px")}))};var t=new IntersectionObserver(o,e);t.observe(document.body)}function appGlobalScript(){window.stzhComponents=Object.assign({version:version,labels:"fixed",cacheTranslations:true,pathTranslations:"/",formats:{}},window.stzhComponents||{});applyAutofocus();observeScrollbarWidth()}var globalScripts=appGlobalScript;export{globalScripts as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{s(r.next(e))}catch(t){o(t)}}function l(e){try{s(r["throw"](e))}catch(t){o(t)}}function s(e){e.done?n(e.value):i(e.value).then(a,l)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(e){return function(t){return s([e,t])}}function s(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(l){a=[6,l];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(e,t){var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)n[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++){if(t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i]))n[r[i]]=e[r[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};function getSide(e){return e.split("-")[0]}function getAlignment(e){return e.split("-")[1]}function getMainAxisFromPlacement(e){return["top","bottom"].includes(getSide(e))?"x":"y"}function getLengthFromAxis(e){return e==="y"?"height":"width"}function computeCoordsFromPlacement(e,t,n){var r=e.reference,i=e.floating;var o=r.x+r.width/2-i.width/2;var a=r.y+r.height/2-i.height/2;var l=getMainAxisFromPlacement(t);var s=getLengthFromAxis(l);var c=r[s]/2-i[s]/2;var f=getSide(t);var u=l==="x";var g;switch(f){case"top":g={x:o,y:r.y-i.height};break;case"bottom":g={x:o,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:a};break;case"left":g={x:r.x-i.width,y:a};break;default:g={x:r.x,y:r.y}}switch(getAlignment(t)){case"start":g[l]-=c*(n&&u?-1:1);break;case"end":g[l]+=c*(n&&u?-1:1);break}return g}var computePosition$1=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,i,o,a,l,s,c,f,u,g,d,m,v,p,h,y,w,x,b,_,A,R,P,O,C;var E,S;return __generator(this,(function(T){switch(T.label){case 0:r=n.placement,i=r===void 0?"bottom":r,o=n.strategy,a=o===void 0?"absolute":o,l=n.middleware,s=l===void 0?[]:l,c=n.platform;return[4,c.isRTL==null?void 0:c.isRTL(t)];case 1:f=T.sent();return[4,c.getElementRects({reference:e,floating:t,strategy:a})];case 2:u=T.sent();g=computeCoordsFromPlacement(u,i,f),d=g.x,m=g.y;v=i;p={};h=0;y=0;T.label=3;case 3:if(!(y<s.length))return[3,11];w=s[y],x=w.name,b=w.fn;return[4,b({x:d,y:m,initialPlacement:i,placement:v,strategy:a,middlewareData:p,rects:u,platform:c,elements:{reference:e,floating:t}})];case 4:_=T.sent(),A=_.x,R=_.y,P=_.data,O=_.reset;d=A!=null?A:d;m=R!=null?R:m;p=__assign(__assign({},p),(E={},E[x]=__assign(__assign({},p[x]),P),E));if(!(O&&h<=50))return[3,10];h++;if(!(typeof O==="object"))return[3,9];if(O.placement){v=O.placement}if(!O.rects)return[3,8];if(!(O.rects===true))return[3,6];return[4,c.getElementRects({reference:e,floating:t,strategy:a})];case 5:C=T.sent();return[3,7];case 6:C=O.rects;T.label=7;case 7:u=C;T.label=8;case 8:S=computeCoordsFromPlacement(u,v,f),d=S.x,m=S.y;T.label=9;case 9:y=-1;return[3,10];case 10:y++;return[3,3];case 11:return[2,{x:d,y:m,placement:v,strategy:a,middlewareData:p}]}}))}))};function expandPaddingObject(e){return __assign({top:0,right:0,bottom:0,left:0},e)}function getSideObjectFromPadding(e){return typeof e!=="number"?expandPaddingObject(e):{top:e,right:e,bottom:e,left:e}}function rectToClientRect(e){return __assign(__assign({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function detectOverflow(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,l,s,c,f,u,g,d,m,v,p,h,y,w,x,b,_,A,R,P,O,C,E,S,T,L,N;var W,D;return __generator(this,(function(B){switch(B.label){case 0:if(t===void 0){t={}}r=e.x,i=e.y,o=e.platform,a=e.rects,l=e.elements,s=e.strategy;c=t.boundary,f=c===void 0?"clippingAncestors":c,u=t.rootBoundary,g=u===void 0?"viewport":u,d=t.elementContext,m=d===void 0?"floating":d,v=t.altBoundary,p=v===void 0?false:v,h=t.padding,y=h===void 0?0:h;w=getSideObjectFromPadding(y);x=m==="floating"?"reference":"floating";b=l[p?x:m];A=rectToClientRect;P=(R=o).getClippingRect;W={};return[4,o.isElement==null?void 0:o.isElement(b)];case 1:if(!((n=B.sent())!=null?n:true))return[3,2];O=b;return[3,5];case 2:C=b.contextElement;if(C)return[3,4];return[4,o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)];case 3:C=B.sent();B.label=4;case 4:O=C;B.label=5;case 5:return[4,P.apply(R,[(W.element=O,W.boundary=f,W.rootBoundary=g,W.strategy=s,W)])];case 6:_=A.apply(void 0,[B.sent()]);S=rectToClientRect;if(!o.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,9];N=(L=o).convertOffsetParentRelativeRectToViewportRelativeRect;D={rect:m==="floating"?__assign(__assign({},a.floating),{x:r,y:i}):a.reference};return[4,o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)];case 7:return[4,N.apply(L,[(D.offsetParent=B.sent(),D.strategy=s,D)])];case 8:T=B.sent();return[3,10];case 9:T=a[m];B.label=10;case 10:E=S.apply(void 0,[T]);return[2,{top:_.top-E.top+w.top,bottom:E.bottom-_.bottom+w.bottom,left:_.left-E.left+w.left,right:E.right-_.right+w.right}]}}))}))}var min$1=Math.min;var max$1=Math.max;function within(e,t,n){return max$1(e,min$1(t,n))}var arrow=function(e){return{name:"arrow",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,l,s,c,f,u,g,d,m,v,p,h,y,w,x,b,_,A,R,P,O,C,E,S,T;var L,N;return __generator(this,(function(W){switch(W.label){case 0:n=e!=null?e:{},r=n.element,i=n.padding,o=i===void 0?0:i;a=t.x,l=t.y,s=t.placement,c=t.rects,f=t.platform;if(r==null){return[2,{}]}u=getSideObjectFromPadding(o);g={x:a,y:l};d=getMainAxisFromPlacement(s);m=getAlignment(s);v=getLengthFromAxis(d);return[4,f.getDimensions(r)];case 1:p=W.sent();h=d==="y"?"top":"left";y=d==="y"?"bottom":"right";w=c.reference[v]+c.reference[d]-g[d]-c.floating[v];x=g[d]-c.reference[d];return[4,f.getOffsetParent==null?void 0:f.getOffsetParent(r)];case 2:b=W.sent();_=b?d==="y"?b.clientHeight||0:b.clientWidth||0:0;if(_===0){_=c.floating[v]}A=w/2-x/2;R=u[h];P=_-p[v]-u[y];O=_/2-p[v]/2+A;C=within(R,O,P);E=m==="start"?u[h]:u[y];S=E>0&&O!==C&&c.reference[v]<=c.floating[v];T=S?O<R?R-O:P-O:0;return[2,(L={},L[d]=g[d]-T,L.data=(N={},N[d]=C,N.centerOffset=O-C,N),L)]}}))}))}}};var hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(function(e){return hash$1[e]}))}function getAlignmentSides(e,t,n){if(n===void 0){n=false}var r=getAlignment(e);var i=getMainAxisFromPlacement(e);var o=getLengthFromAxis(i);var a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";if(t.reference[o]>t.floating[o]){a=getOppositePlacement(a)}return{main:a,cross:getOppositePlacement(a)}}var hash={start:"end",end:"start"};function getOppositeAlignmentPlacement(e){return e.replace(/start|end/g,(function(e){return hash[e]}))}function getExpandedPlacements(e){var t=getOppositePlacement(e);return[getOppositeAlignmentPlacement(e),t,getOppositeAlignmentPlacement(t)]}var flip=function(e){if(e===void 0){e={}}return{name:"flip",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,l,s,c,f,u,g,d,m,v,p,h,y,w,x,b,_,A,R,P,O,C,E,S,T,L,N,W,D,B,F,H;return __generator(this,(function(M){switch(M.label){case 0:r=t.placement,i=t.middlewareData,o=t.rects,a=t.initialPlacement,l=t.platform,s=t.elements;c=e.mainAxis,f=c===void 0?true:c,u=e.crossAxis,g=u===void 0?true:u,d=e.fallbackPlacements,m=e.fallbackStrategy,v=m===void 0?"bestFit":m,p=e.flipAlignment,h=p===void 0?true:p,y=__rest(e,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]);w=getSide(r);x=w===a;b=d||(x||!h?[getOppositePlacement(a)]:getExpandedPlacements(a));_=__spreadArray([a],b,true);return[4,detectOverflow(t,y)];case 1:A=M.sent();R=[];P=((n=i.flip)==null?void 0:n.overflows)||[];if(f){R.push(A[w])}if(!g)return[3,3];S=getAlignmentSides;T=[r,o];return[4,l.isRTL==null?void 0:l.isRTL(s.floating)];case 2:O=S.apply(void 0,T.concat([M.sent()])),C=O.main,E=O.cross;R.push(A[C],A[E]);M.label=3;case 3:P=__spreadArray(__spreadArray([],P,true),[{placement:r,overflows:R}],false);if(!R.every((function(e){return e<=0}))){W=((L=(N=i.flip)==null?void 0:N.index)!=null?L:0)+1;D=_[W];if(D){return[2,{data:{index:W,overflows:P},reset:{placement:D}}]}B="bottom";switch(v){case"bestFit":{H=(F=P.map((function(e){return[e,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])==null?void 0:F[0].placement;if(H){B=H}break}case"initialPlacement":B=a;break}if(r!==B){return[2,{reset:{placement:B}}]}}return[2,{}]}}))}))}}};function convertValueToCoords(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,l,s,c,f,u,g,d,m,v;return __generator(this,(function(p){switch(p.label){case 0:n=e.placement,r=e.platform,i=e.elements;return[4,r.isRTL==null?void 0:r.isRTL(i.floating)];case 1:o=p.sent();a=getSide(n);l=getAlignment(n);s=getMainAxisFromPlacement(n)==="x";c=["left","top"].includes(a)?-1:1;f=o&&s?-1:1;u=typeof t==="function"?t(e):t;g=typeof u==="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},u),d=g.mainAxis,m=g.crossAxis,v=g.alignmentAxis;if(l&&typeof v==="number"){m=l==="end"?v*-1:v}return[2,s?{x:m*f,y:d*c}:{x:d*c,y:m*f}]}}))}))}var offset=function(e){if(e===void 0){e=0}return{name:"offset",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i;return __generator(this,(function(o){switch(o.label){case 0:n=t.x,r=t.y;return[4,convertValueToCoords(t,e)];case 1:i=o.sent();return[2,{x:n+i.x,y:r+i.y,data:i}]}}))}))}}};function getCrossAxis(e){return e==="x"?"y":"x"}var shift=function(e){if(e===void 0){e={}}return{name:"shift",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,l,s,c,f,u,g,d,m,v,p,h,y,w,x,b,y,w,_,A,R;var P;return __generator(this,(function(O){switch(O.label){case 0:n=t.x,r=t.y,i=t.placement;o=e.mainAxis,a=o===void 0?true:o,l=e.crossAxis,s=l===void 0?false:l,c=e.limiter,f=c===void 0?{fn:function(e){var t=e.x,n=e.y;return{x:t,y:n}}}:c,u=__rest(e,["mainAxis","crossAxis","limiter"]);g={x:n,y:r};return[4,detectOverflow(t,u)];case 1:d=O.sent();m=getMainAxisFromPlacement(getSide(i));v=getCrossAxis(m);p=g[m];h=g[v];if(a){y=m==="y"?"top":"left";w=m==="y"?"bottom":"right";x=p+d[y];b=p-d[w];p=within(x,p,b)}if(s){y=v==="y"?"top":"left";w=v==="y"?"bottom":"right";_=h+d[y];A=h-d[w];h=within(_,h,A)}R=f.fn(__assign(__assign({},t),(P={},P[m]=p,P[v]=h,P)));return[2,__assign(__assign({},R),{data:{x:R.x-n,y:R.y-r}})]}}))}))}}};function isWindow(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function getWindow(e){if(e==null){return window}if(!isWindow(e)){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function getNodeName(e){return isWindow(e)?"":e?(e.nodeName||"").toLowerCase():""}function getUAString(){var e=navigator.userAgentData;if(e!=null&&e.brands){return e.brands.map((function(e){return e.brand+"/"+e.version})).join(" ")}return navigator.userAgent}function isHTMLElement(e){return e instanceof getWindow(e).HTMLElement}function isElement(e){return e instanceof getWindow(e).Element}function isNode(e){return e instanceof getWindow(e).Node}function isShadowRoot(e){if(typeof ShadowRoot==="undefined"){return false}var t=getWindow(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function isOverflowElement(e){var t=getComputedStyle(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function isTableElement(e){return["table","td","th"].includes(getNodeName(e))}function isContainingBlock(e){var t=/firefox/i.test(getUAString());var n=getComputedStyle(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":false)}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}var min=Math.min;var max=Math.max;var round=Math.round;function getBoundingClientRect(e,t,n){var r,i,o,a;if(t===void 0){t=false}if(n===void 0){n=false}var l=e.getBoundingClientRect();var s=1;var c=1;if(t&&isHTMLElement(e)){s=e.offsetWidth>0?round(l.width)/e.offsetWidth||1:1;c=e.offsetHeight>0?round(l.height)/e.offsetHeight||1:1}var f=isElement(e)?getWindow(e):window;var u=!isLayoutViewport()&&n;var g=(l.left+(u?(r=(i=f.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0:0))/s;var d=(l.top+(u?(o=(a=f.visualViewport)==null?void 0:a.offsetTop)!=null?o:0:0))/c;var m=l.width/s;var v=l.height/c;return{width:m,height:v,top:d,right:g+m,bottom:d+v,left:g,x:g,y:d}}function getDocumentElement(e){return((isNode(e)?e.ownerDocument:e.document)||window.document).documentElement}function getNodeScroll(e){if(isElement(e)){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getNodeScroll(e).scrollLeft}function isScaled(e){var t=getBoundingClientRect(e);return round(t.width)!==e.offsetWidth||round(t.height)!==e.offsetHeight}function getRectRelativeToOffsetParent(e,t,n){var r=isHTMLElement(t);var i=getDocumentElement(t);var o=getBoundingClientRect(e,r&&isScaled(t),n==="fixed");var a={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(r||!r&&n!=="fixed"){if(getNodeName(t)!=="body"||isOverflowElement(i)){a=getNodeScroll(t)}if(isHTMLElement(t)){var s=getBoundingClientRect(t,true);l.x=s.x+t.clientLeft;l.y=s.y+t.clientTop}else if(i){l.x=getWindowScrollBarX(i)}}return{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function getParentNode(e){if(getNodeName(e)==="html"){return e}return e.assignedSlot||e.parentNode||(isShadowRoot(e)?e.host:null)||getDocumentElement(e)}function getTrueOffsetParent(e){if(!isHTMLElement(e)||getComputedStyle(e).position==="fixed"){return null}return composedOffsetParent(e)}function composedOffsetParent(e){var t=e.offsetParent;var n=e;var r=false;while(n&&n!==t){var i=n.assignedSlot;if(i){var o=i.offsetParent;if(getComputedStyle(i).display==="contents"){var a=i.hasAttribute("style");var l=i.style.display;i.style.display=getComputedStyle(n).display;o=i.offsetParent;i.style.display=l;if(!a){i.removeAttribute("style")}}n=i;if(t!==o){t=o;r=true}}else if(isShadowRoot(n)&&n.host&&r){break}n=isShadowRoot(n)&&n.host||n.parentNode}return t}function getContainingBlock(e){var t=getParentNode(e);if(isShadowRoot(t)){t=t.host}while(isHTMLElement(t)&&!["html","body"].includes(getNodeName(t))){if(isContainingBlock(t)){return t}else{var n=t.parentNode;t=isShadowRoot(n)?n.host:n}}return null}function getOffsetParent(e){var t=getWindow(e);var n=getTrueOffsetParent(e);while(n&&isTableElement(n)&&getComputedStyle(n).position==="static"){n=getTrueOffsetParent(n)}if(n&&(getNodeName(n)==="html"||getNodeName(n)==="body"&&getComputedStyle(n).position==="static"&&!isContainingBlock(n))){return t}return n||getContainingBlock(e)||t}function getDimensions(e){if(isHTMLElement(e)){return{width:e.offsetWidth,height:e.offsetHeight}}var t=getBoundingClientRect(e);return{width:t.width,height:t.height}}function convertOffsetParentRelativeRectToViewportRelativeRect(e){var t=e.rect,n=e.offsetParent,r=e.strategy;var i=isHTMLElement(n);var o=getDocumentElement(n);if(n===o){return t}var a={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(i||!i&&r!=="fixed"){if(getNodeName(n)!=="body"||isOverflowElement(o)){a=getNodeScroll(n)}if(isHTMLElement(n)){var s=getBoundingClientRect(n,true);l.x=s.x+n.clientLeft;l.y=s.y+n.clientTop}}return __assign(__assign({},t),{x:t.x-a.scrollLeft+l.x,y:t.y-a.scrollTop+l.y})}function getViewportRect(e,t){var n=getWindow(e);var r=getDocumentElement(e);var i=n.visualViewport;var o=r.clientWidth;var a=r.clientHeight;var l=0;var s=0;if(i){o=i.width;a=i.height;var c=isLayoutViewport();if(c||!c&&t==="fixed"){l=i.offsetLeft;s=i.offsetTop}}return{width:o,height:a,x:l,y:s}}function getDocumentRect(e){var t;var n=getDocumentElement(e);var r=getNodeScroll(e);var i=(t=e.ownerDocument)==null?void 0:t.body;var o=max(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0);var a=max(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);var l=-r.scrollLeft+getWindowScrollBarX(e);var s=-r.scrollTop;if(getComputedStyle(i||n).direction==="rtl"){l+=max(n.clientWidth,i?i.clientWidth:0)-o}return{width:o,height:a,x:l,y:s}}function getNearestOverflowAncestor(e){var t=getParentNode(e);if(["html","body","#document"].includes(getNodeName(t))){return e.ownerDocument.body}if(isHTMLElement(t)&&isOverflowElement(t)){return t}return getNearestOverflowAncestor(t)}function getOverflowAncestors(e,t){var n;if(t===void 0){t=[]}var r=getNearestOverflowAncestor(e);var i=r===((n=e.ownerDocument)==null?void 0:n.body);var o=getWindow(r);var a=i?[o].concat(o.visualViewport||[],isOverflowElement(r)?r:[]):r;var l=t.concat(a);return i?l:l.concat(getOverflowAncestors(a))}function contains(e,t){var n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t)){return true}else if(n&&isShadowRoot(n)){var r=t;do{if(r&&e===r){return true}r=r.parentNode||r.host}while(r)}return false}function getInnerBoundingClientRect(e,t){var n=getBoundingClientRect(e,false,t==="fixed");var r=n.top+e.clientTop;var i=n.left+e.clientLeft;return{top:r,left:i,x:i,y:r,right:i+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function getClientRectFromClippingAncestor(e,t,n){if(t==="viewport"){return rectToClientRect(getViewportRect(e,n))}if(isElement(t)){return getInnerBoundingClientRect(t,n)}return rectToClientRect(getDocumentRect(getDocumentElement(e)))}function getClippingAncestors(e){var t=getOverflowAncestors(e);var n=["absolute","fixed"].includes(getComputedStyle(e).position);var r=n&&isHTMLElement(e)?getOffsetParent(e):e;if(!isElement(r)){return[]}return t.filter((function(e){return isElement(e)&&contains(e,r)&&getNodeName(e)!=="body"}))}function getClippingRect(e){var t=e.element,n=e.boundary,r=e.rootBoundary,i=e.strategy;var o=n==="clippingAncestors"?getClippingAncestors(t):[].concat(n);var a=__spreadArray(__spreadArray([],o,true),[r],false);var l=a[0];var s=a.reduce((function(e,n){var r=getClientRectFromClippingAncestor(t,n,i);e.top=max(r.top,e.top);e.right=min(r.right,e.right);e.bottom=min(r.bottom,e.bottom);e.left=max(r.left,e.left);return e}),getClientRectFromClippingAncestor(t,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}var platform={getClippingRect:getClippingRect,convertOffsetParentRelativeRectToViewportRelativeRect:convertOffsetParentRelativeRectToViewportRelativeRect,isElement:isElement,getDimensions:getDimensions,getOffsetParent:getOffsetParent,getDocumentElement:getDocumentElement,getElementRects:function(e){var t=e.reference,n=e.floating,r=e.strategy;return{reference:getRectRelativeToOffsetParent(t,getOffsetParent(n),r),floating:__assign(__assign({},getDimensions(n)),{x:0,y:0})}},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return getComputedStyle(e).direction==="rtl"}};function autoUpdate(e,t,n,r){if(r===void 0){r={}}var i=r.ancestorScroll,o=i===void 0?true:i,a=r.ancestorResize,l=a===void 0?true:a,s=r.elementResize,c=s===void 0?true:s,f=r.animationFrame,u=f===void 0?false:f;var g=o&&!u;var d=l&&!u;var m=g||d?__spreadArray(__spreadArray([],isElement(e)?getOverflowAncestors(e):[],true),getOverflowAncestors(t),true):[];m.forEach((function(e){g&&e.addEventListener("scroll",n,{passive:true});d&&e.addEventListener("resize",n)}));var v=null;if(c){var p=true;v=new ResizeObserver((function(){if(!p){n()}p=false}));isElement(e)&&!u&&v.observe(e);v.observe(t)}var h;var y=u?getBoundingClientRect(e):null;if(u){w()}function w(){var t=getBoundingClientRect(e);if(y&&(t.x!==y.x||t.y!==y.y||t.width!==y.width||t.height!==y.height)){n()}y=t;h=requestAnimationFrame(w)}n();return function(){var e;m.forEach((function(e){g&&e.removeEventListener("scroll",n);d&&e.removeEventListener("resize",n)}));(e=v)==null?void 0:e.disconnect();v=null;if(u){cancelAnimationFrame(h)}}}var computePosition=function(e,t,n){return computePosition$1(e,t,__assign({platform:platform},n))};var Arrow='<svg width="16" height="8" viewBox="0 0 16 8" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 8L16 8L8 0L0 8Z" fill="currentColor"/>\n</svg>\n';export{Arrow as A,autoUpdate as a,arrow as b,computePosition as c,flip as f,offset as o,shift as s};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* tabbable 6.0.0
|
|
3
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
-
*/
|
|
5
|
-
var candidateSelectors=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"];var candidateSelector=candidateSelectors.join(",");var NoElement=typeof Element==="undefined";var matches=NoElement?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;var getRootNode=!NoElement&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument};var getCandidates=function e(t,a,r){var n=Array.prototype.slice.apply(t.querySelectorAll(candidateSelector));if(a&&matches.call(t,candidateSelector)){n.unshift(t)}n=n.filter(r);return n};var getCandidatesIteratively=function e(t,a,r){var n=[];var i=Array.from(t);while(i.length){var o=i.shift();if(o.tagName==="SLOT"){var u=o.assignedElements();var s=u.length?u:o.children;var c=e(s,true,r);if(r.flatten){n.push.apply(n,c)}else{n.push({scope:o,candidates:c})}}else{var l=matches.call(o,candidateSelector);if(l&&r.filter(o)&&(a||!t.includes(o))){n.push(o)}var d=o.shadowRoot||typeof r.getShadowRoot==="function"&&r.getShadowRoot(o);var f=!r.shadowRootFilter||r.shadowRootFilter(o);if(d&&f){var b=e(d===true?o.children:d.children,true,r);if(r.flatten){n.push.apply(n,b)}else{n.push({scope:o,candidates:b})}}else{i.unshift.apply(i,o.children)}}}return n};var getTabindex=function e(t,a){if(t.tabIndex<0){if((a||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))){return 0}}return t.tabIndex};var sortOrderedTabbables=function e(t,a){return t.tabIndex===a.tabIndex?t.documentOrder-a.documentOrder:t.tabIndex-a.tabIndex};var isInput=function e(t){return t.tagName==="INPUT"};var isHiddenInput=function e(t){return isInput(t)&&t.type==="hidden"};var isDetailsWithSummary=function e(t){var a=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some((function(e){return e.tagName==="SUMMARY"}));return a};var getCheckedRadio=function e(t,a){for(var r=0;r<t.length;r++){if(t[r].checked&&t[r].form===a){return t[r]}}};var isTabbableRadio=function e(t){if(!t.name){return true}var a=t.form||getRootNode(t);var r=function e(t){return a.querySelectorAll('input[type="radio"][name="'+t+'"]')};var n;if(typeof window!=="undefined"&&typeof window.CSS!=="undefined"&&typeof window.CSS.escape==="function"){n=r(window.CSS.escape(t.name))}else{try{n=r(t.name)}catch(o){console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message);return false}}var i=getCheckedRadio(n,t.form);return!i||i===t};var isRadio=function e(t){return isInput(t)&&t.type==="radio"};var isNonTabbableRadio=function e(t){return isRadio(t)&&!isTabbableRadio(t)};var isNodeAttached=function e(t){var a;var r=getRootNode(t).host;var n=!!((a=r)!==null&&a!==void 0&&a.ownerDocument.contains(r)||t.ownerDocument.contains(t));while(!n&&r){var i;r=getRootNode(r).host;n=!!((i=r)!==null&&i!==void 0&&i.ownerDocument.contains(r))}return n};var isZeroArea=function e(t){var a=t.getBoundingClientRect(),r=a.width,n=a.height;return r===0&&n===0};var isHidden=function e(t,a){var r=a.displayCheck,n=a.getShadowRoot;if(getComputedStyle(t).visibility==="hidden"){return true}var i=matches.call(t,"details>summary:first-of-type");var o=i?t.parentElement:t;if(matches.call(o,"details:not([open]) *")){return true}if(!r||r==="full"||r==="legacy-full"){if(typeof n==="function"){var u=t;while(t){var s=t.parentElement;var c=getRootNode(t);if(s&&!s.shadowRoot&&n(s)===true){return isZeroArea(t)}else if(t.assignedSlot){t=t.assignedSlot}else if(!s&&c!==t.ownerDocument){t=c.host}else{t=s}}t=u}if(isNodeAttached(t)){return!t.getClientRects().length}if(r!=="legacy-full"){return true}}else if(r==="non-zero-area"){return isZeroArea(t)}return false};var isDisabledFromFieldset=function e(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName)){var a=t.parentElement;while(a){if(a.tagName==="FIELDSET"&&a.disabled){for(var r=0;r<a.children.length;r++){var n=a.children.item(r);if(n.tagName==="LEGEND"){return matches.call(a,"fieldset[disabled] *")?true:!n.contains(t)}}return true}a=a.parentElement}}return false};var isNodeMatchingSelectorFocusable=function e(t,a){if(a.disabled||isHiddenInput(a)||isHidden(a,t)||isDetailsWithSummary(a)||isDisabledFromFieldset(a)){return false}return true};var isNodeMatchingSelectorTabbable=function e(t,a){if(isNonTabbableRadio(a)||getTabindex(a)<0||!isNodeMatchingSelectorFocusable(t,a)){return false}return true};var isValidShadowRootTabbable=function e(t){var a=parseInt(t.getAttribute("tabindex"),10);if(isNaN(a)||a>=0){return true}return false};var sortByOrder=function e(t){var a=[];var r=[];t.forEach((function(t,n){var i=!!t.scope;var o=i?t.scope:t;var u=getTabindex(o,i);var s=i?e(t.candidates):o;if(u===0){i?a.push.apply(a,s):a.push(o)}else{r.push({documentOrder:n,tabIndex:u,item:t,isScope:i,content:s})}}));return r.sort(sortOrderedTabbables).reduce((function(e,t){t.isScope?e.push.apply(e,t.content):e.push(t.content);return e}),[]).concat(a)};var tabbable=function e(t,a){a=a||{};var r;if(a.getShadowRoot){r=getCandidatesIteratively([t],a.includeContainer,{filter:isNodeMatchingSelectorTabbable.bind(null,a),flatten:false,getShadowRoot:a.getShadowRoot,shadowRootFilter:isValidShadowRootTabbable})}else{r=getCandidates(t,a.includeContainer,isNodeMatchingSelectorTabbable.bind(null,a))}return sortByOrder(r)};var focusable=function e(t,a){a=a||{};var r;if(a.getShadowRoot){r=getCandidatesIteratively([t],a.includeContainer,{filter:isNodeMatchingSelectorFocusable.bind(null,a),flatten:true,getShadowRoot:a.getShadowRoot})}else{r=getCandidates(t,a.includeContainer,isNodeMatchingSelectorFocusable.bind(null,a))}return r};var isTabbable=function e(t,a){a=a||{};if(!t){throw new Error("No node provided")}if(matches.call(t,candidateSelector)===false){return false}return isNodeMatchingSelectorTabbable(a,t)};var focusableCandidateSelector=candidateSelectors.concat("iframe").join(",");var isFocusable=function e(t,a){a=a||{};if(!t){throw new Error("No node provided")}if(matches.call(t,focusableCandidateSelector)===false){return false}return isNodeMatchingSelectorFocusable(a,t)};
|
|
6
|
-
/*!
|
|
7
|
-
* focus-trap 7.0.0
|
|
8
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
9
|
-
*/function ownKeys(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(a),!0).forEach((function(t){_defineProperty(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function _defineProperty(e,t,a){if(t in e){Object.defineProperty(e,t,{value:a,enumerable:true,configurable:true,writable:true})}else{e[t]=a}return e}var activeFocusTraps=function(){var e=[];return{activateTrap:function t(a){if(e.length>0){var r=e[e.length-1];if(r!==a){r.pause()}}var n=e.indexOf(a);if(n===-1){e.push(a)}else{e.splice(n,1);e.push(a)}},deactivateTrap:function t(a){var r=e.indexOf(a);if(r!==-1){e.splice(r,1)}if(e.length>0){e[e.length-1].unpause()}}}}();var isSelectableInput=function e(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select==="function"};var isEscapeEvent=function e(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27};var isTabEvent=function e(t){return t.key==="Tab"||t.keyCode===9};var delay=function e(t){return setTimeout(t,0)};var findIndex=function e(t,a){var r=-1;t.every((function(e,t){if(a(e)){r=t;return false}return true}));return r};var valueOrHandler=function e(t){for(var a=arguments.length,r=new Array(a>1?a-1:0),n=1;n<a;n++){r[n-1]=arguments[n]}return typeof t==="function"?t.apply(void 0,r):t};var getActualTarget=function e(t){return t.target.shadowRoot&&typeof t.composedPath==="function"?t.composedPath()[0]:t.target};var createFocusTrap=function e(t,a){var r=(a===null||a===void 0?void 0:a.document)||document;var n=_objectSpread2({returnFocusOnDeactivate:true,escapeDeactivates:true,delayInitialFocus:true},a);var i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:false,paused:false,delayInitialFocusTimer:undefined};var o;var u=function e(t,a,r){return t&&t[a]!==undefined?t[a]:n[r||a]};var s=function e(t){return i.containerGroups.findIndex((function(e){var a=e.container,r=e.tabbableNodes;return a.contains(t)||r.find((function(e){return e===t}))}))};var c=function e(t){var a=n[t];if(typeof a==="function"){for(var i=arguments.length,o=new Array(i>1?i-1:0),u=1;u<i;u++){o[u-1]=arguments[u]}a=a.apply(void 0,o)}if(a===true){a=undefined}if(!a){if(a===undefined||a===false){return a}throw new Error("`".concat(t,"` was specified but was not a node, or did not return a node"))}var s=a;if(typeof a==="string"){s=r.querySelector(a);if(!s){throw new Error("`".concat(t,"` as selector refers to no known node"))}}return s};var l=function e(){var t=c("initialFocus");if(t===false){return false}if(t===undefined){if(s(r.activeElement)>=0){t=r.activeElement}else{var a=i.tabbableGroups[0];var n=a&&a.firstTabbableNode;t=n||c("fallbackFocus")}}if(!t){throw new Error("Your focus-trap needs to have at least one focusable element")}return t};var d=function e(){i.containerGroups=i.containers.map((function(e){var t=tabbable(e,n.tabbableOptions);var a=focusable(e,n.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:a,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;var i=a.findIndex((function(e){return e===t}));if(i<0){return undefined}if(r){return a.slice(i+1).find((function(e){return isTabbable(e,n.tabbableOptions)}))}return a.slice(0,i).reverse().find((function(e){return isTabbable(e,n.tabbableOptions)}))}}}));i.tabbableGroups=i.containerGroups.filter((function(e){return e.tabbableNodes.length>0}));if(i.tabbableGroups.length<=0&&!c("fallbackFocus")){throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")}};var f=function e(t){if(t===false){return}if(t===r.activeElement){return}if(!t||!t.focus){e(l());return}t.focus({preventScroll:!!n.preventScroll});i.mostRecentlyFocusedNode=t;if(isSelectableInput(t)){t.select()}};var b=function e(t){var a=c("setReturnFocus",t);return a?a:a===false?false:t};var v=function e(t){var a=getActualTarget(t);if(s(a)>=0){return}if(valueOrHandler(n.clickOutsideDeactivates,t)){o.deactivate({returnFocus:n.returnFocusOnDeactivate&&!isFocusable(a,n.tabbableOptions)});return}if(valueOrHandler(n.allowOutsideClick,t)){return}t.preventDefault()};var p=function e(t){var a=getActualTarget(t);var r=s(a)>=0;if(r||a instanceof Document){if(r){i.mostRecentlyFocusedNode=a}}else{t.stopImmediatePropagation();f(i.mostRecentlyFocusedNode||l())}};var h=function e(t){var a=getActualTarget(t);d();var r=null;if(i.tabbableGroups.length>0){var o=s(a);var u=o>=0?i.containerGroups[o]:undefined;if(o<0){if(t.shiftKey){r=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode}else{r=i.tabbableGroups[0].firstTabbableNode}}else if(t.shiftKey){var l=findIndex(i.tabbableGroups,(function(e){var t=e.firstTabbableNode;return a===t}));if(l<0&&(u.container===a||isFocusable(a,n.tabbableOptions)&&!isTabbable(a,n.tabbableOptions)&&!u.nextTabbableNode(a,false))){l=o}if(l>=0){var b=l===0?i.tabbableGroups.length-1:l-1;var v=i.tabbableGroups[b];r=v.lastTabbableNode}}else{var p=findIndex(i.tabbableGroups,(function(e){var t=e.lastTabbableNode;return a===t}));if(p<0&&(u.container===a||isFocusable(a,n.tabbableOptions)&&!isTabbable(a,n.tabbableOptions)&&!u.nextTabbableNode(a))){p=o}if(p>=0){var h=p===i.tabbableGroups.length-1?0:p+1;var g=i.tabbableGroups[h];r=g.firstTabbableNode}}}else{r=c("fallbackFocus")}if(r){t.preventDefault();f(r)}};var g=function e(t){if(isEscapeEvent(t)&&valueOrHandler(n.escapeDeactivates,t)!==false){t.preventDefault();o.deactivate();return}if(isTabEvent(t)){h(t);return}};var m=function e(t){var a=getActualTarget(t);if(s(a)>=0){return}if(valueOrHandler(n.clickOutsideDeactivates,t)){return}if(valueOrHandler(n.allowOutsideClick,t)){return}t.preventDefault();t.stopImmediatePropagation()};var y=function e(){if(!i.active){return}activeFocusTraps.activateTrap(o);i.delayInitialFocusTimer=n.delayInitialFocus?delay((function(){f(l())})):f(l());r.addEventListener("focusin",p,true);r.addEventListener("mousedown",v,{capture:true,passive:false});r.addEventListener("touchstart",v,{capture:true,passive:false});r.addEventListener("click",m,{capture:true,passive:false});r.addEventListener("keydown",g,{capture:true,passive:false});return o};var w=function e(){if(!i.active){return}r.removeEventListener("focusin",p,true);r.removeEventListener("mousedown",v,true);r.removeEventListener("touchstart",v,true);r.removeEventListener("click",m,true);r.removeEventListener("keydown",g,true);return o};o={get active(){return i.active},get paused(){return i.paused},activate:function e(t){if(i.active){return this}var a=u(t,"onActivate");var n=u(t,"onPostActivate");var o=u(t,"checkCanFocusTrap");if(!o){d()}i.active=true;i.paused=false;i.nodeFocusedBeforeActivation=r.activeElement;if(a){a()}var s=function e(){if(o){d()}y();if(n){n()}};if(o){o(i.containers.concat()).then(s,s);return this}s();return this},deactivate:function e(t){if(!i.active){return this}var a=_objectSpread2({onDeactivate:n.onDeactivate,onPostDeactivate:n.onPostDeactivate,checkCanReturnFocus:n.checkCanReturnFocus},t);clearTimeout(i.delayInitialFocusTimer);i.delayInitialFocusTimer=undefined;w();i.active=false;i.paused=false;activeFocusTraps.deactivateTrap(o);var r=u(a,"onDeactivate");var s=u(a,"onPostDeactivate");var c=u(a,"checkCanReturnFocus");var l=u(a,"returnFocus","returnFocusOnDeactivate");if(r){r()}var d=function e(){delay((function(){if(l){f(b(i.nodeFocusedBeforeActivation))}if(s){s()}}))};if(l&&c){c(b(i.nodeFocusedBeforeActivation)).then(d,d);return this}d();return this},pause:function e(){if(i.paused||!i.active){return this}i.paused=true;w();return this},unpause:function e(){if(!i.paused||!i.active){return this}i.paused=false;d();y();return this},updateContainerElements:function e(t){var a=[].concat(t).filter(Boolean);i.containers=a.map((function(e){return typeof e==="string"?r.querySelector(e):e}));if(i.active){d()}return this}};o.updateContainerElements(t);return o};export{createFocusTrap as c};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function i(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):a(e.value).then(s,i)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(i){s=[6,i];a=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};var NAMESPACE="stzh-components";var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var XLINK_NS="http://www.w3.org/1999/xlink";var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=null;var s=null;var i=false;var l=false;var c=[];var f=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(i&&l){c[c.length-1].$text$+=a}else{c.push(i?newVNode(null,a):a)}l=i}}};f(n);if(t){if(t.key){o=t.key}if(t.name){s=t.name}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,c,vdomFnUtils)}var d=newVNode(e,null);d.$attrs$=t;if(c.length>0){d.$children$=c}{d.$key$=o}{d.$name$=s}return d};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}{n.$name$=null}return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var n=newVNode(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,n){var r=getElement(e);return{emit:function(e){return emitEvent(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructableStylesheets&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n,r){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){{{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(supportsShadow&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=o;n.classList.add(o+"-h");if(r&2){n.classList.add(o+"-s")}}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var setAccessor=function(e,t,n,r,a,o){if(n!==r){var s=isMemberInElement(e,t);var i=t.toLowerCase();if(t==="class"){var l=e.classList;var c=parseClassList(n);var f=parseClassList(r);l.remove.apply(l,c.filter((function(e){return e&&!f.includes(e)})));l.add.apply(l,f.filter((function(e){return e&&!c.includes(e)})))}else if(t==="style"){{for(var u in n){if(!r||r[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in r){if(!n||r[u]!==n[u]){if(u.includes("-")){e.style.setProperty(u,r[u])}else{e.style[u]=r[u]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!s&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,i)){t=i.slice(2)}else{t=i[2]+t.slice(3)}if(n){plt.rel(e,t,n,false)}if(r){plt.ael(e,t,r,false)}}else{var d=isComplexType(r);if((s||d&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var $=r==null?"":r;if(t==="list"){s=false}else if(n==null||e[t]!=$){e[t]=$}}else{e[t]=r}}catch(p){}}var v=false;{if(i!==(i=i.replace(/^xlink\:?/,""))){t=i;v=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(v){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!d){r=r===true?"":r;if(v){e.setAttributeNS(XLINK_NS,t,r)}else{e.setAttribute(t,r)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var s=t.$attrs$||EMPTY_OBJ;{for(r in o){if(!(r in s)){setAccessor(a,r,o[r],undefined,n,t.$flags$)}}}for(r in s){setAccessor(a,r,o[r],s[r],n,t.$flags$)}};var createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var s;var i;var l;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.$tag$==="slot"){if(scopeId){r.classList.add(scopeId+"-s")}a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){s=a.$elm$=doc.createTextNode(a.$text$)}else if(a.$flags$&1){s=a.$elm$=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=a.$tag$==="svg"}s=a.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,a.$flags$&2?"slot-fb":a.$tag$);if(isSvgMode&&a.$tag$==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o,s);if(i){s.appendChild(i)}}}{if(a.$tag$==="svg"){isSvgMode=false}else if(s.tagName==="foreignObject"){isSvgMode=true}}}{s["s-hn"]=hostTagName;if(a.$flags$&(2|1)){s["s-sr"]=true;s["s-cr"]=contentRef;s["s-sn"]=a.$name$||"";l=e&&e.$children$&&e.$children$[n];if(l&&l.$tag$===a.$tag$&&e.$elm$){putBackInOriginalLocation(e.$elm$,false)}}}return s};var putBackInOriginalLocation=function(e,t){plt.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.$flags$&=~1};var addVnodes=function(e,t,n,r,a,o){var s=e["s-cr"]&&e["s-cr"].parentNode||e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(r[a]){i=createElm(null,n,a,e);if(i){r[a].$elm$=i;s.insertBefore(i,referenceNode(t))}}}};var removeVnodes=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;callNodeRefs(r);{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}};var updateChildren=function(e,t,n,r){var a=0;var o=0;var s=0;var i=0;var l=t.length-1;var c=t[0];var f=t[l];var u=r.length-1;var d=r[0];var $=r[u];var v;var p;while(a<=l&&o<=u){if(c==null){c=t[++a]}else if(f==null){f=t[--l]}else if(d==null){d=r[++o]}else if($==null){$=r[--u]}else if(isSameVnode(c,d)){patch(c,d);c=t[++a];d=r[++o]}else if(isSameVnode(f,$)){patch(f,$);f=t[--l];$=r[--u]}else if(isSameVnode(c,$)){if(c.$tag$==="slot"||$.$tag$==="slot"){putBackInOriginalLocation(c.$elm$.parentNode,false)}patch(c,$);e.insertBefore(c.$elm$,f.$elm$.nextSibling);c=t[++a];$=r[--u]}else if(isSameVnode(f,d)){if(c.$tag$==="slot"||$.$tag$==="slot"){putBackInOriginalLocation(f.$elm$.parentNode,false)}patch(f,d);e.insertBefore(f.$elm$,c.$elm$);f=t[--l];d=r[++o]}else{s=-1;{for(i=a;i<=l;++i){if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){s=i;break}}}if(s>=0){p=t[s];if(p.$tag$!==d.$tag$){v=createElm(t&&t[o],n,s,e)}else{patch(p,d);t[s]=undefined;v=p.$elm$}d=r[++o]}else{v=createElm(t&&t[o],n,o,e);d=r[++o]}if(v){{parentReferenceNode(c.$elm$).insertBefore(v,referenceNode(c.$elm$))}}}}if(a>l){addVnodes(e,r[u+1]==null?null:r[u+1].$elm$,n,r,o,u)}else if(o>u){removeVnodes(t,a,l)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var o=t.$tag$;var s=t.$text$;var i;if(s===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(r!==null&&a!==null){updateChildren(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}addVnodes(n,null,t,a,0,a.length-1)}else if(r!==null){removeVnodes(r,0,r.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(i=n["s-cr"]){i.parentNode.textContent=s}else if(e.$text$!==s){n.data=s}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;var n;var r;var a;var o;var s;var i;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){s=n["s-sn"];n.hidden=false;for(o=0;o<a;o++){i=t[o].nodeType;if(t[o]["s-hn"]!==n["s-hn"]||s!==""){if(i===1&&s===t[o].getAttribute("slot")){n.hidden=true;break}}else{if(i===1||i===3&&t[o].textContent.trim()!==""){n.hidden=true;break}}}}updateFallbackSlotVisibility(n)}}};var relocateNodes=[];var relocateSlotContent=function(e){var t;var n;var r;var a;var o;var s;var i=0;var l=e.childNodes;var c=l.length;for(;i<c;i++){t=l[i];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(s=r.length-1;s>=0;s--){n=r[s];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(isNodeLocatedInSlot(n,a)){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));checkSlotFallbackVisibility=true;n["s-sn"]=n["s-sn"]||a;if(o){o.$slotRefNode$=t}else{relocateNodes.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){relocateNodes.map((function(e){if(isNodeLocatedInSlot(e.$nodeToRelocate$,n["s-sn"])){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!relocateNodes.some((function(e){return e.$nodeToRelocate$===n}))){relocateNodes.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){relocateSlotContent(t)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;if(r.$attrsToReflect$){o.$attrs$=o.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return o.$attrs$[r]=n[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=n.shadowRoot||n;{scopeId=n["s-sc"]}{contentRef=n["s-cr"];useNativeShadowDom=supportsShadow&&(r.$flags$&1)!==0;checkSlotFallbackVisibility=false}patch(a,o);{plt.$flags$|=1;if(checkSlotRelocate){relocateSlotContent(o.$elm$);var s=void 0;var i=void 0;var l=void 0;var c=void 0;var f=void 0;var u=void 0;var d=0;for(;d<relocateNodes.length;d++){s=relocateNodes[d];i=s.$nodeToRelocate$;if(!i["s-ol"]){l=doc.createTextNode("");l["s-nr"]=i;i.parentNode.insertBefore(i["s-ol"]=l,i)}}for(d=0;d<relocateNodes.length;d++){s=relocateNodes[d];i=s.$nodeToRelocate$;if(s.$slotRefNode$){c=s.$slotRefNode$.parentNode;f=s.$slotRefNode$.nextSibling;l=i["s-ol"];while(l=l.previousSibling){u=l["s-nr"];if(u&&u["s-sn"]===i["s-sn"]&&c===u.parentNode){u=u.nextSibling;if(!u||!u["s-nr"]){f=u;break}}}if(!f&&c!==i.parentNode||i.nextSibling!==f){if(i!==f){if(!i["s-hn"]&&i["s-ol"]){i["s-hn"]=i["s-ol"].parentNode.nodeName}c.insertBefore(i,f)}}}else{if(i.nodeType===1){i.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(o.$elm$)}plt.$flags$&=~1;relocateNodes.length=0}};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return safeCall(r,t,n)}));e.$queuedListeners$=null}}{a=safeCall(r,"componentWillLoad")}}else{{a=safeCall(r,"componentWillUpdate")}}{a=then(a,(function(){return safeCall(r,"componentWillRender")}))}n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,s,i,l;return __generator(this,(function(c){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}s();a();{i=r["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$lazyInstance$;var o=e.$ancestorComponent$;{safeCall(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}{safeCall(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!o){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var forceUpdate=function(e){{var t=getHostRef(e);var n=t.$hostElement$.isConnected;if(n&&(t.$flags$&(2|16))===2){scheduleUpdate(t,false)}return n}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(r){consoleError(r)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,n,r){var a=getHostRef(e);var o=a.$hostElement$;var s=a.$instanceValues$.get(t);var i=a.$flags$;var l=a.$lazyInstance$;n=parsePropertyValue(n,r.$members$[t][0]);var c=Number.isNaN(s)&&Number.isNaN(n);var f=n!==s&&!c;if((!(i&8)||s===undefined)&&f){a.$instanceValues$.set(t,n);if(l){if(r.$watchers$&&i&128){var u=r.$watchers$[t];if(u){u.map((function(e){try{l[e](n,s,t)}catch(r){consoleError(r,o)}}))}}if((i&(2|16))===2){if(l.componentShouldUpdate){if(l.componentShouldUpdate(n,s,t)===false){return}}scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,n){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],o=e[1][0];if(o&31||n&2&&o&32){Object.defineProperty(a,r,{get:function(){return getValue(this,r)},set:function(e){setValue(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&o&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=getHostRef(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var o=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;plt.jmp((function(){var t=o.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;o.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,s,i,l,c;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,5];t.$flags$|=32;a=loadModule(n);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=f.sent();e();f.label=2;case 2:if(!a.isProxied){{n.$watchers$=a.watchers}proxyComponent(a,n,2);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(u){consoleError(u)}{t.$flags$&=~8}{t.$flags$|=128}r();fireConnectedCallback(t.$lazyInstance$);if(!a.style)return[3,5];o=a.style;s=getScopeId(n);if(!!styles.has(s))return[3,5];i=createTime("registerStyles",n.$tagName$);if(!(n.$flags$&8))return[3,4];return[4,import("./shadow-css-ed4599f8.js").then((function(e){return e.scopeCss(o,s,false)}))];case 3:o=f.sent();f.label=4;case 4:registerStyle(s,o,!!(n.$flags$&1));i();f.label=5;case 5:l=t.$ancestorComponent$;c=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{if(n.$flags$&(4|8)){setContentReference(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{initializeComponent(e,t,n)}}else{addHostEventListeners(e,t,n.$listeners$);fireConnectedCallback(t.$lazyInstance$)}r()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{safeCall(n,"disconnectedCallback")}}};var patchCloneNode=function(e){var t=e.cloneNode;e.cloneNode=function(e){var n=this;var r=n.shadowRoot&&supportsShadow;var a=t.call(n,r?e:false);if(!r&&e){var o=0;var s=void 0,i=void 0;var l=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;o<n.childNodes.length;o++){s=n.childNodes[o]["s-nr"];i=l.every((function(e){return!n.childNodes[o][e]}));if(s){if(a.__appendChild){a.__appendChild(s.cloneNode(true))}else{a.appendChild(s.cloneNode(true))}}if(i){a.appendChild(n.childNodes[o].cloneNode(true))}}}return a}};var patchSlotAppendChild=function(e){e.__appendChild=e.appendChild;e.appendChild=function(e){var t=e["s-sn"]=getSlotName(e);var n=getHostSlotNode(this.childNodes,t);if(n){var r=getHostSlotChildNodes(n,t);var a=r[r.length-1];return a.parentNode.insertBefore(e,a.nextSibling)}return this.__appendChild(e)}};var patchTextContent=function(e,t){if(t.$flags$&2){var n=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(e,"__textContent",n);Object.defineProperty(e,"textContent",{get:function(){var e;var t=getHostSlotNode(this.childNodes,"");if(((e=t===null||t===void 0?void 0:t.nextSibling)===null||e===void 0?void 0:e.nodeType)===3){return t.nextSibling.textContent}else if(t){return t.textContent}else{return this.__textContent}},set:function(e){var t;var n=getHostSlotNode(this.childNodes,"");if(((t=n===null||n===void 0?void 0:n.nextSibling)===null||t===void 0?void 0:t.nodeType)===3){n.nextSibling.textContent=e}else if(n){n.textContent=e}else{this.__textContent=e;var r=this["s-cr"];if(r){this.insertBefore(r,this.firstChild)}}}})}};var patchChildSlotNodes=function(e,t){var n=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.$flags$&8){var r=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=r.call(this);if((plt.$flags$&1)===0&&getHostRef(this).$flags$&2){var t=new n;for(var a=0;a<e.length;a++){var o=e[a]["s-nr"];if(o){t.push(o)}}return t}return n.from(e)}})}};var getSlotName=function(e){return e["s-sn"]||e.nodeType===1&&e.getAttribute("slot")||""};var getHostSlotNode=function(e,t){var n=0;var r;for(;n<e.length;n++){r=e[n];if(r["s-sr"]&&r["s-sn"]===t){return r}r=getHostSlotNode(r.childNodes,t);if(r){return r}}return null};var getHostSlotChildNodes=function(e,t){var n=[e];while((e=e.nextSibling)&&e["s-sn"]===t){n.push(e)}return n};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n=createTime();var r=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var c=[];var f;var u=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}{n.$watchers$={}}if(!supportsShadow&&n.$flags$&1){n.$flags$|=8}var s=n.$tagName$;var i=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.$flags$&1){if(supportsShadow){{t.attachShadow({mode:"open"})}}else if(!("shadowRoot"in t)){t.shadowRoot=t}}{patchChildSlotNodes(t,n)}return r}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(u){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);{patchCloneNode(i.prototype)}{patchSlotAppendChild(i.prototype)}{patchTextContent(i.prototype,n)}n.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){r.push(s);o.define(s,proxyComponent(i,n,1))}}))}));{l.innerHTML=r+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}u=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}n()};var Fragment=function(e,t){return t};var addHostEventListeners=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],o=n[2];var s=getHostListenerTarget(e,r);var i=hostListenerProxy(t,o);var l=hostListenerOpts(r);plt.ael(s,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(s,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(r){consoleError(r)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;if(t&8)return win;return e};var hostListenerOpts=function(e){return(e&2)!==0};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,n,t.$listeners$);return hostRefs.set(e,n)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var H=win.HTMLElement||function(){function e(){}return e}();var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var supportsShadow=function(){return(doc.head.attachShadow+"").indexOf("[native")>-1}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(n){consoleError(n)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var readTask=queueTask(queueDomReads,false);var writeTask=queueTask(queueDomWrites,true);export{Fragment as F,H,NAMESPACE as N,Host as a,bootstrapLazy as b,createEvent as c,doc as d,readTask as e,writeTask as f,getElement as g,h,forceUpdate as i,promiseResolve as p,registerInstance as r,win as w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var bind=function e(r,t){return function e(){var n=new Array(arguments.length);for(var i=0;i<n.length;i++){n[i]=arguments[i]}return r.apply(t,n)}};var toString=Object.prototype.toString;var kindOf=function(e){return function(r){var t=toString.call(r);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())}}(Object.create(null));function kindOfTest(e){e=e.toLowerCase();return function r(t){return kindOf(t)===e}}function isArray(e){return Array.isArray(e)}function isUndefined(e){return typeof e==="undefined"}function isBuffer(e){return e!==null&&!isUndefined(e)&&e.constructor!==null&&!isUndefined(e.constructor)&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}var isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(e){var r;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){r=ArrayBuffer.isView(e)}else{r=e&&e.buffer&&isArrayBuffer(e.buffer)}return r}function isString(e){return typeof e==="string"}function isNumber(e){return typeof e==="number"}function isObject(e){return e!==null&&typeof e==="object"}function isPlainObject(e){if(kindOf(e)!=="object"){return false}var r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}var isDate=kindOfTest("Date");var isFile=kindOfTest("File");var isBlob=kindOfTest("Blob");var isFileList=kindOfTest("FileList");function isFunction(e){return toString.call(e)==="[object Function]"}function isStream(e){return isObject(e)&&isFunction(e.pipe)}function isFormData(e){var r="[object FormData]";return e&&(typeof FormData==="function"&&e instanceof FormData||toString.call(e)===r||isFunction(e.toString)&&e.toString()===r)}var isURLSearchParams=kindOfTest("URLSearchParams");function trim(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function isStandardBrowserEnv(){if(typeof navigator!=="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")){return false}return typeof window!=="undefined"&&typeof document!=="undefined"}function forEach(e,r){if(e===null||typeof e==="undefined"){return}if(typeof e!=="object"){e=[e]}if(isArray(e)){for(var t=0,n=e.length;t<n;t++){r.call(null,e[t],t,e)}}else{for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){r.call(null,e[i],i,e)}}}}function merge(){var e={};function r(r,t){if(isPlainObject(e[t])&&isPlainObject(r)){e[t]=merge(e[t],r)}else if(isPlainObject(r)){e[t]=merge({},r)}else if(isArray(r)){e[t]=r.slice()}else{e[t]=r}}for(var t=0,n=arguments.length;t<n;t++){forEach(arguments[t],r)}return e}function extend(e,r,t){forEach(r,(function r(n,i){if(t&&typeof n==="function"){e[i]=bind(n,t)}else{e[i]=n}}));return e}function stripBOM(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e}function inherits(e,r,t,n){e.prototype=Object.create(r.prototype,n);e.prototype.constructor=e;t&&Object.assign(e.prototype,t)}function toFlatObject(e,r,t){var n;var i;var o;var s={};r=r||{};do{n=Object.getOwnPropertyNames(e);i=n.length;while(i-- >0){o=n[i];if(!s[o]){r[o]=e[o];s[o]=true}}e=Object.getPrototypeOf(e)}while(e&&(!t||t(e,r))&&e!==Object.prototype);return r}function endsWith(e,r,t){e=String(e);if(t===undefined||t>e.length){t=e.length}t-=r.length;var n=e.indexOf(r,t);return n!==-1&&n===t}function toArray(e){if(!e)return null;var r=e.length;if(isUndefined(r))return null;var t=new Array(r);while(r-- >0){t[r]=e[r]}return t}var isTypedArray=function(e){return function(r){return e&&r instanceof e}}(typeof Uint8Array!=="undefined"&&Object.getPrototypeOf(Uint8Array));var utils={isArray:isArray,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isObject:isObject,isPlainObject:isPlainObject,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isStandardBrowserEnv:isStandardBrowserEnv,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,isTypedArray:isTypedArray,isFileList:isFileList};function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var buildURL=function e(r,t,n){if(!t){return r}var i;if(n){i=n(t)}else if(utils.isURLSearchParams(t)){i=t.toString()}else{var o=[];utils.forEach(t,(function e(r,t){if(r===null||typeof r==="undefined"){return}if(utils.isArray(r)){t=t+"[]"}else{r=[r]}utils.forEach(r,(function e(r){if(utils.isDate(r)){r=r.toISOString()}else if(utils.isObject(r)){r=JSON.stringify(r)}o.push(encode(t)+"="+encode(r))}))}));i=o.join("&")}if(i){var s=r.indexOf("#");if(s!==-1){r=r.slice(0,s)}r+=(r.indexOf("?")===-1?"?":"&")+i}return r};function InterceptorManager(){this.handlers=[]}InterceptorManager.prototype.use=function e(r,t,n){this.handlers.push({fulfilled:r,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1};InterceptorManager.prototype.eject=function e(r){if(this.handlers[r]){this.handlers[r]=null}};InterceptorManager.prototype.forEach=function e(r){utils.forEach(this.handlers,(function e(t){if(t!==null){r(t)}}))};var InterceptorManager_1=InterceptorManager;var normalizeHeaderName=function e(r,t){utils.forEach(r,(function e(n,i){if(i!==t&&i.toUpperCase()===t.toUpperCase()){r[t]=n;delete r[i]}}))};function AxiosError(e,r,t,n,i){Error.call(this);this.message=e;this.name="AxiosError";r&&(this.code=r);t&&(this.config=t);n&&(this.request=n);i&&(this.response=i)}utils.inherits(AxiosError,Error,{toJSON:function e(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var prototype=AxiosError.prototype;var descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){descriptors[e]={value:e}}));Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype,"isAxiosError",{value:true});AxiosError.from=function(e,r,t,n,i,o){var s=Object.create(prototype);utils.toFlatObject(e,s,(function e(r){return r!==Error.prototype}));AxiosError.call(s,e.message,r,t,n,i);s.name=e.name;o&&Object.assign(s,o);return s};var AxiosError_1=AxiosError;var transitional={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};function toFormData(e,r){r=r||new FormData;var t=[];function n(e){if(e===null)return"";if(utils.isDate(e)){return e.toISOString()}if(utils.isArrayBuffer(e)||utils.isTypedArray(e)){return typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function i(e,o){if(utils.isPlainObject(e)||utils.isArray(e)){if(t.indexOf(e)!==-1){throw Error("Circular reference detected in "+o)}t.push(e);utils.forEach(e,(function e(t,s){if(utils.isUndefined(t))return;var a=o?o+"."+s:s;var u;if(t&&!o&&typeof t==="object"){if(utils.endsWith(s,"{}")){t=JSON.stringify(t)}else if(utils.endsWith(s,"[]")&&(u=utils.toArray(t))){u.forEach((function(e){!utils.isUndefined(e)&&r.append(a,n(e))}));return}}i(t,a)}));t.pop()}else{r.append(o,n(e))}}i(e);return r}var toFormData_1=toFormData;var settle=function e(r,t,n){var i=n.config.validateStatus;if(!n.status||!i||i(n.status)){r(n)}else{t(new AxiosError_1("Request failed with status code "+n.status,[AxiosError_1.ERR_BAD_REQUEST,AxiosError_1.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}};var cookies=utils.isStandardBrowserEnv()?function e(){return{write:function e(r,t,n,i,o,s){var a=[];a.push(r+"="+encodeURIComponent(t));if(utils.isNumber(n)){a.push("expires="+new Date(n).toGMTString())}if(utils.isString(i)){a.push("path="+i)}if(utils.isString(o)){a.push("domain="+o)}if(s===true){a.push("secure")}document.cookie=a.join("; ")},read:function e(r){var t=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function e(r){this.write(r,"",Date.now()-864e5)}}}():function e(){return{write:function e(){},read:function e(){return null},remove:function e(){}}}();var isAbsoluteURL=function e(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)};var combineURLs=function e(r,t){return t?r.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):r};var buildFullPath=function e(r,t){if(r&&!isAbsoluteURL(t)){return combineURLs(r,t)}return t};var ignoreDuplicateOf=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];var parseHeaders=function e(r){var t={};var n;var i;var o;if(!r){return t}utils.forEach(r.split("\n"),(function e(r){o=r.indexOf(":");n=utils.trim(r.substr(0,o)).toLowerCase();i=utils.trim(r.substr(o+1));if(n){if(t[n]&&ignoreDuplicateOf.indexOf(n)>=0){return}if(n==="set-cookie"){t[n]=(t[n]?t[n]:[]).concat([i])}else{t[n]=t[n]?t[n]+", "+i:i}}}));return t};var isURLSameOrigin=utils.isStandardBrowserEnv()?function e(){var r=/(msie|trident)/i.test(navigator.userAgent);var t=document.createElement("a");var n;function i(e){var n=e;if(r){t.setAttribute("href",n);n=t.href}t.setAttribute("href",n);return{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}n=i(window.location.href);return function e(r){var t=utils.isString(r)?i(r):r;return t.protocol===n.protocol&&t.host===n.host}}():function e(){return function e(){return true}}();function CanceledError(e){AxiosError_1.call(this,e==null?"canceled":e,AxiosError_1.ERR_CANCELED);this.name="CanceledError"}utils.inherits(CanceledError,AxiosError_1,{__CANCEL__:true});var CanceledError_1=CanceledError;var parseProtocol=function e(r){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return t&&t[1]||""};var xhr=function e(r){return new Promise((function e(t,n){var i=r.data;var o=r.headers;var s=r.responseType;var a;function u(){if(r.cancelToken){r.cancelToken.unsubscribe(a)}if(r.signal){r.signal.removeEventListener("abort",a)}}if(utils.isFormData(i)&&utils.isStandardBrowserEnv()){delete o["Content-Type"]}var f=new XMLHttpRequest;if(r.auth){var l=r.auth.username||"";var c=r.auth.password?unescape(encodeURIComponent(r.auth.password)):"";o.Authorization="Basic "+btoa(l+":"+c)}var d=buildFullPath(r.baseURL,r.url);f.open(r.method.toUpperCase(),buildURL(d,r.params,r.paramsSerializer),true);f.timeout=r.timeout;function p(){if(!f){return}var e="getAllResponseHeaders"in f?parseHeaders(f.getAllResponseHeaders()):null;var i=!s||s==="text"||s==="json"?f.responseText:f.response;var o={data:i,status:f.status,statusText:f.statusText,headers:e,config:r,request:f};settle((function e(r){t(r);u()}),(function e(r){n(r);u()}),o);f=null}if("onloadend"in f){f.onloadend=p}else{f.onreadystatechange=function e(){if(!f||f.readyState!==4){return}if(f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)){return}setTimeout(p)}}f.onabort=function e(){if(!f){return}n(new AxiosError_1("Request aborted",AxiosError_1.ECONNABORTED,r,f));f=null};f.onerror=function e(){n(new AxiosError_1("Network Error",AxiosError_1.ERR_NETWORK,r,f,f));f=null};f.ontimeout=function e(){var t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";var i=r.transitional||transitional;if(r.timeoutErrorMessage){t=r.timeoutErrorMessage}n(new AxiosError_1(t,i.clarifyTimeoutError?AxiosError_1.ETIMEDOUT:AxiosError_1.ECONNABORTED,r,f));f=null};if(utils.isStandardBrowserEnv()){var h=(r.withCredentials||isURLSameOrigin(d))&&r.xsrfCookieName?cookies.read(r.xsrfCookieName):undefined;if(h){o[r.xsrfHeaderName]=h}}if("setRequestHeader"in f){utils.forEach(o,(function e(r,t){if(typeof i==="undefined"&&t.toLowerCase()==="content-type"){delete o[t]}else{f.setRequestHeader(t,r)}}))}if(!utils.isUndefined(r.withCredentials)){f.withCredentials=!!r.withCredentials}if(s&&s!=="json"){f.responseType=r.responseType}if(typeof r.onDownloadProgress==="function"){f.addEventListener("progress",r.onDownloadProgress)}if(typeof r.onUploadProgress==="function"&&f.upload){f.upload.addEventListener("progress",r.onUploadProgress)}if(r.cancelToken||r.signal){a=function(e){if(!f){return}n(!e||e&&e.type?new CanceledError_1:e);f.abort();f=null};r.cancelToken&&r.cancelToken.subscribe(a);if(r.signal){r.signal.aborted?a():r.signal.addEventListener("abort",a)}}if(!i){i=null}var m=parseProtocol(d);if(m&&["http","https","file"].indexOf(m)===-1){n(new AxiosError_1("Unsupported protocol "+m+":",AxiosError_1.ERR_BAD_REQUEST,r));return}f.send(i)}))};var _null=null;var DEFAULT_CONTENT_TYPE={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(e,r){if(!utils.isUndefined(e)&&utils.isUndefined(e["Content-Type"])){e["Content-Type"]=r}}function getDefaultAdapter(){var e;if(typeof XMLHttpRequest!=="undefined"){e=xhr}else if(typeof process!=="undefined"&&Object.prototype.toString.call(process)==="[object process]"){e=xhr}return e}function stringifySafely(e,r,t){if(utils.isString(e)){try{(r||JSON.parse)(e);return utils.trim(e)}catch(n){if(n.name!=="SyntaxError"){throw n}}}return(t||JSON.stringify)(e)}var defaults={transitional:transitional,adapter:getDefaultAdapter(),transformRequest:[function e(r,t){normalizeHeaderName(t,"Accept");normalizeHeaderName(t,"Content-Type");if(utils.isFormData(r)||utils.isArrayBuffer(r)||utils.isBuffer(r)||utils.isStream(r)||utils.isFile(r)||utils.isBlob(r)){return r}if(utils.isArrayBufferView(r)){return r.buffer}if(utils.isURLSearchParams(r)){setContentTypeIfUnset(t,"application/x-www-form-urlencoded;charset=utf-8");return r.toString()}var n=utils.isObject(r);var i=t&&t["Content-Type"];var o;if((o=utils.isFileList(r))||n&&i==="multipart/form-data"){var s=this.env&&this.env.FormData;return toFormData_1(o?{"files[]":r}:r,s&&new s)}else if(n||i==="application/json"){setContentTypeIfUnset(t,"application/json");return stringifySafely(r)}return r}],transformResponse:[function e(r){var t=this.transitional||defaults.transitional;var n=t&&t.silentJSONParsing;var i=t&&t.forcedJSONParsing;var o=!n&&this.responseType==="json";if(o||i&&utils.isString(r)&&r.length){try{return JSON.parse(r)}catch(s){if(o){if(s.name==="SyntaxError"){throw AxiosError_1.from(s,AxiosError_1.ERR_BAD_RESPONSE,this,null,this.response)}throw s}}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_null},validateStatus:function e(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils.forEach(["delete","get","head"],(function e(r){defaults.headers[r]={}}));utils.forEach(["post","put","patch"],(function e(r){defaults.headers[r]=utils.merge(DEFAULT_CONTENT_TYPE)}));var defaults_1=defaults;var transformData=function e(r,t,n){var i=this||defaults_1;utils.forEach(n,(function e(n){r=n.call(i,r,t)}));return r};var isCancel=function e(r){return!!(r&&r.__CANCEL__)};function throwIfCancellationRequested(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new CanceledError_1}}var dispatchRequest=function e(r){throwIfCancellationRequested(r);r.headers=r.headers||{};r.data=transformData.call(r,r.data,r.headers,r.transformRequest);r.headers=utils.merge(r.headers.common||{},r.headers[r.method]||{},r.headers);utils.forEach(["delete","get","head","post","put","patch","common"],(function e(t){delete r.headers[t]}));var t=r.adapter||defaults_1.adapter;return t(r).then((function e(t){throwIfCancellationRequested(r);t.data=transformData.call(r,t.data,t.headers,r.transformResponse);return t}),(function e(t){if(!isCancel(t)){throwIfCancellationRequested(r);if(t&&t.response){t.response.data=transformData.call(r,t.response.data,t.response.headers,r.transformResponse)}}return Promise.reject(t)}))};var mergeConfig=function e(r,t){t=t||{};var n={};function i(e,r){if(utils.isPlainObject(e)&&utils.isPlainObject(r)){return utils.merge(e,r)}else if(utils.isPlainObject(r)){return utils.merge({},r)}else if(utils.isArray(r)){return r.slice()}return r}function o(e){if(!utils.isUndefined(t[e])){return i(r[e],t[e])}else if(!utils.isUndefined(r[e])){return i(undefined,r[e])}}function s(e){if(!utils.isUndefined(t[e])){return i(undefined,t[e])}}function a(e){if(!utils.isUndefined(t[e])){return i(undefined,t[e])}else if(!utils.isUndefined(r[e])){return i(undefined,r[e])}}function u(e){if(e in t){return i(r[e],t[e])}else if(e in r){return i(undefined,r[e])}}var f={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};utils.forEach(Object.keys(r).concat(Object.keys(t)),(function e(r){var t=f[r]||o;var i=t(r);utils.isUndefined(i)&&t!==u||(n[r]=i)}));return n};var data={version:"0.27.2"};var VERSION=data.version;var validators$1={};["object","boolean","number","function","string","symbol"].forEach((function(e,r){validators$1[e]=function t(n){return typeof n===e||"a"+(r<1?"n ":" ")+e}}));var deprecatedWarnings={};validators$1.transitional=function e(r,t,n){function i(e,r){return"[Axios v"+VERSION+"] Transitional option '"+e+"'"+r+(n?". "+n:"")}return function(e,n,o){if(r===false){throw new AxiosError_1(i(n," has been removed"+(t?" in "+t:"")),AxiosError_1.ERR_DEPRECATED)}if(t&&!deprecatedWarnings[n]){deprecatedWarnings[n]=true;console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))}return r?r(e,n,o):true}};function assertOptions(e,r,t){if(typeof e!=="object"){throw new AxiosError_1("options must be an object",AxiosError_1.ERR_BAD_OPTION_VALUE)}var n=Object.keys(e);var i=n.length;while(i-- >0){var o=n[i];var s=r[o];if(s){var a=e[o];var u=a===undefined||s(a,o,e);if(u!==true){throw new AxiosError_1("option "+o+" must be "+u,AxiosError_1.ERR_BAD_OPTION_VALUE)}continue}if(t!==true){throw new AxiosError_1("Unknown option "+o,AxiosError_1.ERR_BAD_OPTION)}}}var validator={assertOptions:assertOptions,validators:validators$1};var validators=validator.validators;function Axios(e){this.defaults=e;this.interceptors={request:new InterceptorManager_1,response:new InterceptorManager_1}}Axios.prototype.request=function e(r,t){if(typeof r==="string"){t=t||{};t.url=r}else{t=r||{}}t=mergeConfig(this.defaults,t);if(t.method){t.method=t.method.toLowerCase()}else if(this.defaults.method){t.method=this.defaults.method.toLowerCase()}else{t.method="get"}var n=t.transitional;if(n!==undefined){validator.assertOptions(n,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},false)}var i=[];var o=true;this.interceptors.request.forEach((function e(r){if(typeof r.runWhen==="function"&&r.runWhen(t)===false){return}o=o&&r.synchronous;i.unshift(r.fulfilled,r.rejected)}));var s=[];this.interceptors.response.forEach((function e(r){s.push(r.fulfilled,r.rejected)}));var a;if(!o){var u=[dispatchRequest,undefined];Array.prototype.unshift.apply(u,i);u=u.concat(s);a=Promise.resolve(t);while(u.length){a=a.then(u.shift(),u.shift())}return a}var f=t;while(i.length){var l=i.shift();var c=i.shift();try{f=l(f)}catch(d){c(d);break}}try{a=dispatchRequest(f)}catch(d){return Promise.reject(d)}while(s.length){a=a.then(s.shift(),s.shift())}return a};Axios.prototype.getUri=function e(r){r=mergeConfig(this.defaults,r);var t=buildFullPath(r.baseURL,r.url);return buildURL(t,r.params,r.paramsSerializer)};utils.forEach(["delete","get","head","options"],(function e(r){Axios.prototype[r]=function(e,t){return this.request(mergeConfig(t||{},{method:r,url:e,data:(t||{}).data}))}}));utils.forEach(["post","put","patch"],(function e(r){function t(e){return function t(n,i,o){return this.request(mergeConfig(o||{},{method:r,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Axios.prototype[r]=t();Axios.prototype[r+"Form"]=t(true)}));var Axios_1=Axios;function CancelToken(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}var r;this.promise=new Promise((function e(t){r=t}));var t=this;this.promise.then((function(e){if(!t._listeners)return;var r;var n=t._listeners.length;for(r=0;r<n;r++){t._listeners[r](e)}t._listeners=null}));this.promise.then=function(e){var r;var n=new Promise((function(e){t.subscribe(e);r=e})).then(e);n.cancel=function e(){t.unsubscribe(r)};return n};e((function e(n){if(t.reason){return}t.reason=new CanceledError_1(n);r(t.reason)}))}CancelToken.prototype.throwIfRequested=function e(){if(this.reason){throw this.reason}};CancelToken.prototype.subscribe=function e(r){if(this.reason){r(this.reason);return}if(this._listeners){this._listeners.push(r)}else{this._listeners=[r]}};CancelToken.prototype.unsubscribe=function e(r){if(!this._listeners){return}var t=this._listeners.indexOf(r);if(t!==-1){this._listeners.splice(t,1)}};CancelToken.source=function e(){var r;var t=new CancelToken((function e(t){r=t}));return{token:t,cancel:r}};var CancelToken_1=CancelToken;var spread=function e(r){return function e(t){return r.apply(null,t)}};var isAxiosError=function e(r){return utils.isObject(r)&&r.isAxiosError===true};function createInstance(e){var r=new Axios_1(e);var t=bind(Axios_1.prototype.request,r);utils.extend(t,Axios_1.prototype,r);utils.extend(t,r);t.create=function r(t){return createInstance(mergeConfig(e,t))};return t}var axios$1=createInstance(defaults_1);axios$1.Axios=Axios_1;axios$1.CanceledError=CanceledError_1;axios$1.CancelToken=CancelToken_1;axios$1.isCancel=isCancel;axios$1.VERSION=data.version;axios$1.toFormData=toFormData_1;axios$1.AxiosError=AxiosError_1;axios$1.Cancel=axios$1.CanceledError;axios$1.all=function e(r){return Promise.all(r)};axios$1.spread=spread;axios$1.isAxiosError=isAxiosError;var axios_1=axios$1;var _default=axios$1;axios_1.default=_default;var axios=axios_1;export{axios as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(r,o,e,t){function s(r){return r instanceof e?r:new e((function(o){o(r)}))}return new(e||(e=Promise))((function(e,i){function h(r){try{a(t.next(r))}catch(o){i(o)}}function c(r){try{a(t["throw"](r))}catch(o){i(o)}}function a(r){r.done?e(r.value):s(r.value).then(h,c)}a((t=t.apply(r,o||[])).next())}))};var __generator=this&&this.__generator||function(r,o){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,s,i,h;return h={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(h[Symbol.iterator]=function(){return this}),h;function c(r){return function(o){return a([r,o])}}function a(h){if(t)throw new TypeError("Generator is already executing.");while(e)try{if(t=1,s&&(i=h[0]&2?s["return"]:h[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,h[1])).done)return i;if(s=0,i)h=[h[0]&2,i.value];switch(h[0]){case 0:case 1:i=h;break;case 4:e.label++;return{value:h[1],done:false};case 5:e.label++;s=h[1];h=[0];continue;case 7:h=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(h[0]===6||h[0]===2)){e=0;continue}if(h[0]===3&&(!i||h[1]>i[0]&&h[1]<i[3])){e.label=h[1];break}if(h[0]===6&&e.label<i[1]){e.label=i[1];i=h;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(h);break}if(i[2])e.ops.pop();e.trys.pop();continue}h=o.call(r,e)}catch(c){h=[6,c];s=0}finally{t=i=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,F as Fragment,a as Host,g as getElement}from"./index-011c84fe.js";var stzhChipCss=".sc-stzh-chip-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-h{display:none}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-chip-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--height:2rem;--border:0.0625rem solid var(--stzh-color-grey13);--border-radius:1rem;--remove-color:var(--stzh-base-lead-color);--remove-border-radius:1.5rem;--background-color:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--icon-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-primary48);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border:var(--border);--hover-background-color:var(--stzh-color-primary8);--hover-remove-color:var(--hover-color);--hover-remove-background-color:var(--hover-background-color);--hover-icon-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));display:-ms-inline-flexbox;display:inline-flex;border-radius:var(--border-radius)}[size=small].sc-stzh-chip-h{--height:1.5rem;--border-radius:0.75rem;--icon-size:var(--stzh-icon-size-xsmall)}[variant=input].sc-stzh-chip-h{--border:0.0625rem solid transparent;--background-color:var(--stzh-color-grey5);--hover-border:0.0625rem solid transparent}[variant=tag].sc-stzh-chip-h{--color:var(--stzh-base-color);--icon-color:var(--stzh-base-color);--counter-color:var(--stzh-base-color);--border:0.0625rem solid transparent;--background-color:var(--stzh-color-black8);--hover-color:var(--stzh-base-color);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-black8);--hover-icon-color:var(--stzh-base-color);--hover-counter-color:var(--stzh-base-color)}[type=secondary].sc-stzh-chip-h{--color:var(--stzh-base-lead-color);--counter-color:var(--stzh-color-grey40)}[type=important].sc-stzh-chip-h{--color:var(--stzh-color-error);--icon-color:var(--stzh-color-error);--counter-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-icon-color:var(--stzh-color-error);--hover-counter-color:var(--stzh-color-error)}[active].sc-stzh-chip-h:not([active=false]){--color:var(--stzh-color-white);--border:0.0625rem solid transparent;--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-white48);--icon-color:var(--stzh-color-white);--hover-color:var(--stzh-color-white);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-remove-color:var(--stzh-color-white);--hover-remove-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-white48);--hover-icon-color:var(--stzh-color-white)}[disabled].sc-stzh-chip-h:not([disabled=false]){--color:var(--stzh-color-grey25);--border:0.0625rem solid var(--stzh-base-border-color);--remove-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-white);--counter-color:var(--stzh-color-grey25);--icon-color:var(--stzh-color-grey25);--hover-color:var(--stzh-color-grey25);--hover-border:0.0625rem solid var(--stzh-base-border-color);--hover-background-color:var(--stzh-color-white);--hover-remove-color:var(--stzh-color-grey13);--hover-remove-background-color:transparent;--hover-counter-color:var(--stzh-color-grey25);--hover-icon-color:var(--stzh-color-grey25)}.sc-stzh-chip-h .sc-stzh-chip-s>stzh-icon,.stzh-chip__icon.sc-stzh-chip{--size:var(--icon-size)}.stzh-chip.sc-stzh-chip{position:relative;white-space:nowrap}.stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);height:var(--height);display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:var(--border-radius);padding:0 var(--stzh-space-medium);color:var(--color);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--border);background-color:var(--background-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);text-decoration:none}.stzh-chip__icon-wrapper.sc-stzh-chip{display:-ms-flexbox;display:flex;color:var(--icon-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-chip__counter.sc-stzh-chip{display:-ms-flexbox;display:flex;font-variant-numeric:tabular-nums;margin-left:var(--stzh-space-xsmall);color:var(--counter-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip{position:absolute;top:0;right:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:0;width:var(--height);height:var(--height);border-radius:var(--remove-border-radius);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--remove-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip:hover{color:var(--hover-remove-color);background-color:var(--hover-remove-background-color)}.stzh-chip__remove-icon.sc-stzh-chip{--size:var(--stzh-icon-size-xxsmall)}.stzh-chip__button.sc-stzh-chip:hover,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip{color:var(--hover-color);background-color:var(--hover-background-color);border:var(--hover-border)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__counter.sc-stzh-chip{color:var(--hover-counter-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__icon-wrapper.sc-stzh-chip{color:var(--hover-icon-color)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);padding:0 var(--stzh-space-small)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xxsmall)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__counter.sc-stzh-chip{margin-left:var(--stzh-space-xxsmall)}.stzh-chip--is-removable.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{padding-right:calc(var(--height) + var(--stzh-space-xxsmall))}.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__button.sc-stzh-chip,.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__remove.sc-stzh-chip{cursor:not-allowed}";var StzhChip=function(){function r(r){var o=this;registerInstance(this,r);this.stzhClick=createEvent(this,"stzhClick",7);this.stzhRemove=createEvent(this,"stzhRemove",7);this.stzhFocus=createEvent(this,"stzhFocus",7);this.stzhBlur=createEvent(this,"stzhBlur",7);this.onFocus=function(r){var e=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});o.element.dispatchEvent(e);o.stzhFocus.emit({component:"stzh-chip",originalEvent:r})};this.onBlur=function(r){var e=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});o.element.dispatchEvent(e);o.stzhBlur.emit({component:"stzh-chip",originalEvent:r})};this.onClick=function(r){o.stzhClick.emit({component:"stzh-chip",originalEvent:r})};this.onRemoveClick=function(r){o.stzhRemove.emit({component:"stzh-chip",originalEvent:r})};this.label="";this.icon="";this.href="";this.target="";this.removable=false;this.variant="tag";this.size="default";this.type="default";this.counter="";this.removeLabel="";this.active=false;this.disabled=false;this.a11yLabel=undefined;this.a11yDescribedby=""}r.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.chip.focus();return[2]}))}))};r.prototype.renderInner=function(){return h(Fragment,null,h("div",{class:"stzh-chip__icon-wrapper"},this.icon?h("stzh-icon",{class:"stzh-chip__icon",name:this.icon}):h("slot",{name:"icon"})),h("div",{class:"stzh-chip__label"},this.label?this.label:h("slot",null)),this.counter&&h("div",{class:"stzh-chip__counter"},this.counter))};r.prototype.render=function(){var r;var o=(r={"stzh-chip":true,"stzh-chip--is-active":this.active,"stzh-chip--is-disabled":this.disabled,"stzh-chip--is-removable":this.removable,"stzh-chip--has-counter":!!this.counter},r["stzh-chip--type-".concat(this.type)]=!!this.type,r["stzh-chip--size-".concat(this.size)]=!!this.size,r["stzh-chip--".concat(this.variant)]=!!this.variant,r);return h(Host,null,h("div",{class:o},this.removable&&h("button",{class:"stzh-chip__remove",onClick:this.onRemoveClick,disabled:this.disabled,"aria-label":this.removeLabel,type:"button"},h("stzh-icon",{class:"stzh-chip__remove-icon",name:"close"})),this.href?h("a",{class:"stzh-chip__button",href:this.disabled?null:this.href,target:this.target,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner()):h("button",{class:"stzh-chip__button",disabled:this.disabled,type:"button","aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner())))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return r}();StzhChip.style=stzhChipCss;export{StzhChip as stzh_chip};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host}from"./index-011c84fe.js";var stzhClampCss='.sc-stzh-clamp-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-clamp-h{display:none}.sc-stzh-clamp-h *.sc-stzh-clamp,.sc-stzh-clamp-h *.sc-stzh-clamp::before,.sc-stzh-clamp-h *.sc-stzh-clamp::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-clamp-h{--lines:1;width:100%;color:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;line-height:inherit}[lines="1"].sc-stzh-clamp-h{--lines:1}[lines="2"].sc-stzh-clamp-h{--lines:2}[lines="3"].sc-stzh-clamp-h{--lines:3}[lines="4"].sc-stzh-clamp-h{--lines:4}[lines="5"].sc-stzh-clamp-h{--lines:5}@media screen and (min-width: 600px){[lines-small="1"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 600px){[lines-small="2"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 600px){[lines-small="3"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 600px){[lines-small="4"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 600px){[lines-small="5"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 800px){[lines-smallheader="1"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 800px){[lines-smallheader="2"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 800px){[lines-smallheader="3"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 800px){[lines-smallheader="4"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 800px){[lines-smallheader="5"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1024px){[lines-medium="1"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1024px){[lines-medium="2"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1024px){[lines-medium="3"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1024px){[lines-medium="4"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1024px){[lines-medium="5"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1260px){[lines-large="1"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1260px){[lines-large="2"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1260px){[lines-large="3"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1260px){[lines-large="4"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1260px){[lines-large="5"].sc-stzh-clamp-h{--lines:5}}@media screen and (min-width: 1440px){[lines-ultra="1"].sc-stzh-clamp-h{--lines:1}}@media screen and (min-width: 1440px){[lines-ultra="2"].sc-stzh-clamp-h{--lines:2}}@media screen and (min-width: 1440px){[lines-ultra="3"].sc-stzh-clamp-h{--lines:3}}@media screen and (min-width: 1440px){[lines-ultra="4"].sc-stzh-clamp-h{--lines:4}}@media screen and (min-width: 1440px){[lines-ultra="5"].sc-stzh-clamp-h{--lines:5}}.stzh-clamp.sc-stzh-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--lines);line-clamp:var(--lines);overflow:hidden}';var StzhClamp=function(){function s(s){registerInstance(this,s);this.lines=1;this.linesSmall=0;this.linesMedium=0;this.linesLarge=0;this.linesUltra=0}s.prototype.render=function(){var s={"stzh-clamp":true};return h(Host,null,h("div",{class:s},h("slot",null)))};return s}();StzhClamp.style=stzhClampCss;export{StzhClamp as stzh_clamp};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,s,e,a){function i(t){return t instanceof e?t:new e((function(s){s(t)}))}return new(e||(e=Promise))((function(e,n){function r(t){try{c(a.next(t))}catch(s){n(s)}}function o(t){try{c(a["throw"](t))}catch(s){n(s)}}function c(t){t.done?e(t.value):i(t.value).then(r,o)}c((a=a.apply(t,s||[])).next())}))};var __generator=this&&this.__generator||function(t,s){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,i,n,r;return r={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(s){return c([t,s])}}function c(r){if(a)throw new TypeError("Generator is already executing.");while(e)try{if(a=1,i&&(n=r[0]&2?i["return"]:r[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,r[1])).done)return n;if(i=0,n)r=[r[0]&2,n.value];switch(r[0]){case 0:case 1:n=r;break;case 4:e.label++;return{value:r[1],done:false};case 5:e.label++;i=r[1];r=[0];continue;case 7:r=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(r[0]===6||r[0]===2)){e=0;continue}if(r[0]===3&&(!n||r[1]>n[0]&&r[1]<n[3])){e.label=r[1];break}if(r[0]===6&&e.label<n[1]){e.label=n[1];n=r;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(r);break}if(n[2])e.ops.pop();e.trys.pop();continue}r=s.call(t,e)}catch(o){r=[6,o];i=0}finally{a=n=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};import{r as registerInstance,h,F as Fragment,a as Host,g as getElement}from"./index-011c84fe.js";import{h as hasSlot}from"./utils-92a77db5.js";var stzhContactaddressCss=".sc-stzh-contactaddress-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-contactaddress-h{display:none}.sc-stzh-contactaddress-h *.sc-stzh-contactaddress,.sc-stzh-contactaddress-h *.sc-stzh-contactaddress::before,.sc-stzh-contactaddress-h *.sc-stzh-contactaddress::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{width:5.5rem;height:5.5rem;top:0;left:0;border-radius:50%;-o-object-fit:cover;object-fit:cover;margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 800px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{margin-right:var(--stzh-space-xlarge);margin-bottom:0}}@media screen and (min-width: 800px) and (min-width: 1024px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{margin-right:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px) and (min-width: 1260px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{margin-right:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-contactaddress-h .sc-stzh-contactaddress-s>[slot=image]{width:12.25rem;height:12.25rem}}.stzh-contactaddress.sc-stzh-contactaddress{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 1024px){.stzh-contactaddress.sc-stzh-contactaddress{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-contactaddress.sc-stzh-contactaddress,.stzh-contactaddress__inner-wrapper.sc-stzh-contactaddress{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 800px){.stzh-contactaddress.sc-stzh-contactaddress,.stzh-contactaddress__inner-wrapper.sc-stzh-contactaddress{-ms-flex-direction:row;flex-direction:row}}.stzh-contactaddress__wrapper.sc-stzh-contactaddress{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-contactaddress__image.sc-stzh-contactaddress{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-contactaddress__pobox.sc-stzh-contactaddress{margin-top:var(--stzh-space-large)}}.stzh-contactaddress__main-heading.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-contactaddress__main-heading.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-contactaddress__main-heading.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-large)}}.stzh-contactaddress__number-link.sc-stzh-contactaddress{color:var(--stzh-link-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-contactaddress__number-link.sc-stzh-contactaddress:hover,.stzh-contactaddress__number-link.sc-stzh-contactaddress:focus{color:var(--stzh-link-hover-color)}.stzh-contactaddress__info.sc-stzh-contactaddress{-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 800px){.stzh-contactaddress__info.sc-stzh-contactaddress{-ms-flex-preferred-size:45%;flex-basis:45%}}.stzh-contactaddress__availability-title.sc-stzh-contactaddress{margin-bottom:var(--stzh-space-xsmall)}.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 800px){.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-left:var(--stzh-space-xlarge);margin-top:0;-ms-flex-preferred-size:55%;flex-basis:55%}}@media screen and (min-width: 800px) and (min-width: 1024px){.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px) and (min-width: 1260px){.stzh-contactaddress__availability.sc-stzh-contactaddress{margin-left:var(--stzh-space-xxxlarge)}}.stzh-contactaddress--has-border.sc-stzh-contactaddress{padding-bottom:var(--stzh-space-xlarge);border-bottom:0.0625rem solid var(--stzh-base-border-color)}";function formatTel(t){return t.replace(/\s/g,"")}var StzhContactaddress=function(){function t(t){registerInstance(this,t);this._numbers=[];this._availability=[];this.availabilityDataItems=[];this.type="Organization";this.heading=undefined;this.mainHeading=undefined;this.name=undefined;this.street=undefined;this.streetInfo=undefined;this.postalCode=undefined;this.location=undefined;this.numbers=[];this.poBoxHeading=undefined;this.poboxTitle=undefined;this.poboxPostalCode=undefined;this.poboxLocation=undefined;this.availabilityTitle=undefined;this.availability=undefined;this.withBorder=false}t.prototype.availabilityWatcher=function(t){if(typeof t==="string"){this._availability=JSON.parse(t)}else{this._availability=t}if(this._availability){this.availabilityDataItems=this._availability.map((function(t){return{value:t.hours.join(" | "),label:t.weekday}}))}};t.prototype.numbersWatcher=function(t){if(typeof t==="string"){this._numbers=JSON.parse(t)}else{this._numbers=t}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.numbersWatcher(this.numbers);this.availabilityWatcher(this.availability);return[2]}))}))};t.prototype.render=function(){var t=hasSlot(this.element,"image");var s={"stzh-contactaddress":true,"stzh-contactaddress--has-image":t,"stzh-contactaddress--has-border":this.withBorder};return h(Host,null,h("div",{class:s,itemscope:true,itemtype:"http://schema.org/".concat(this.type)},h("div",{class:"stzh-contactaddress__image"},h("slot",{name:"image"})),h("div",{class:"stzh-contactaddress__wrapper"},this.mainHeading&&h("stzh-heading",{level:"3",class:"stzh-contactaddress__main-heading",itemprop:this.type==="Organization"&&!this.heading||this.type==="Person"&&!this.name?"name":null,innerHTML:this.mainHeading}),h("div",{class:"stzh-contactaddress__inner-wrapper"},h("div",{class:"stzh-contactaddress__info"},this.heading&&h("stzh-heading",{level:"4",class:"stzh-contactaddress__heading",itemprop:this.type==="Organization"||!this.name?"name":null,innerHTML:this.heading}),this.name&&h("div",{class:"stzh-contactaddress__name",itemprop:this.type==="Person"?"name":null},this.name),(this.street||this.postalCode||this.location)&&h("div",{class:"stzh-contactaddress__address",itemprop:"address",itemscope:true,itemtype:"http://schema.org/PostalAddress"},this.street&&h("div",{class:"stzh-contactaddress__street",itemprop:"streetAddress"},this.street,this.streetInfo&&h(Fragment,null,h("br",null)," ",this.streetInfo)),this.postalCode&&h("span",{class:"stzh-contactaddress__postal-code",itemprop:"postalCode"},this.postalCode," "),this.location&&h("span",{class:"stzh-contactaddress__locality",itemprop:"addressLocality"},this.location)),this._numbers.map((function(t){return h("div",{class:"stzh-contactaddress__number"},h("span",null,t.label," "),h("span",{itemprop:t.type==="fax"?"faxNumber":"telephone"},h("a",{class:"stzh-contactaddress__number-link",href:"".concat(t.type,":").concat(formatTel(t.number))},t.number)))})),(this.poBoxHeading||this.poboxTitle||this.poboxPostalCode||this.poboxLocation)&&h("div",{class:"stzh-contactaddress__pobox"},h("div",{class:"stzh-contactaddress__pobox-heading"},this.poBoxHeading),h("div",{class:"stzh-contactaddress__pobox-title"},this.poboxTitle),h("span",{class:"stzh-contactaddress__pobox-postal-code"},this.poboxPostalCode," "),h("span",{class:"stzh-contactaddress__pobox-locality"},this.poboxLocation))),this.availability&&h("div",{class:"stzh-contactaddress__availability"},this.availabilityTitle&&h("stzh-heading",{level:"4",class:"stzh-contactaddress__availability-title"},this.availabilityTitle),h("stzh-datalist",{hideBorder:true,directionSmall:"vertical",items:this.availabilityDataItems}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{availability:["availabilityWatcher"],numbers:["numbersWatcher"]}},enumerable:false,configurable:true});return t}();StzhContactaddress.style=stzhContactaddressCss;export{StzhContactaddress as stzh_contactaddress};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function s(e){try{h(r.next(e))}catch(t){o(t)}}function n(e){try{h(r["throw"](e))}catch(t){o(t)}}function h(e){e.done?i(e.value):a(e.value).then(s,n)}h((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,s;return s={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function n(e){return function(t){return h([e,t])}}function h(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(s[0]===6&&i.label<o[1]){i.label=o[1];o=s;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(s);break}if(o[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(n){s=[6,n];a=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-791bc813.system.js","./p-176db2fe.system.js"],(function(e){"use strict";var t,i,r,a,o,s,n,h,l;return{setters:[function(e){t=e.r;i=e.h;r=e.a;a=e.g},function(e){o=e.s;s=e.h},function(e){n=e.a;h=e.r;l=e.m}],execute:function(){var c=function(e){if(e){var t=function(e){return[].slice.call(e)},i=0,r=1,a=2,o=3,s=[],n=null,h="requestAnimationFrame"in e?function(){e.cancelAnimationFrame(n),n=e.requestAnimationFrame((function(){return c(s.filter((function(e){return e.dirty&&e.active})))}))}:function(){},l=function(e){return function(){s.forEach((function(t){return t.dirty=e})),h()}},c=function(e){e.filter((function(e){return!e.styleComputed})).forEach((function(e){e.styleComputed=z(e)})),e.filter(u).forEach(m);var t=e.filter(d);t.forEach(g),t.forEach((function(e){m(e),p(e)})),t.forEach(f)},p=function(e){return e.dirty=i},g=function(e){e.availableWidth=e.element.parentNode.clientWidth,e.currentWidth=e.element.scrollWidth,e.previousFontSize=e.currentFontSize,e.currentFontSize=Math.min(Math.max(e.minSize,e.availableWidth/e.currentWidth*e.previousFontSize),e.maxSize),e.whiteSpace=e.multiLine&&e.currentFontSize===e.minSize?"normal":"nowrap"},d=function(e){return e.dirty!==a||e.dirty===a&&e.element.parentNode.clientWidth!==e.availableWidth},z=function(t){var i=e.getComputedStyle(t.element,null);return t.currentFontSize=parseFloat(i.getPropertyValue("font-size")),t.display=i.getPropertyValue("display"),t.whiteSpace=i.getPropertyValue("white-space"),!0},u=function(e){var t=!1;return!e.preStyleTestCompleted&&(/inline-/.test(e.display)||(t=!0,e.display="inline-block"),"nowrap"!==e.whiteSpace&&(t=!0,e.whiteSpace="nowrap"),e.preStyleTestCompleted=!0,t)},m=function(e){e.element.style.whiteSpace=e.whiteSpace,e.element.style.display=e.display,e.element.style.fontSize=e.currentFontSize+"px"},f=function(e){e.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:e.previousFontSize,newValue:e.currentFontSize,scaleFactor:e.currentFontSize/e.previousFontSize}}))},v=function(e,t){return function(){e.dirty=t,e.active&&h()}},b=function(e){return function(){s=s.filter((function(t){return t.element!==e.element})),e.observeMutations&&e.observer.disconnect(),e.element.style.whiteSpace=e.originalStyle.whiteSpace,e.element.style.display=e.originalStyle.display,e.element.style.fontSize=e.originalStyle.fontSize}},x=function(e){return function(){e.active||(e.active=!0,h())}},w=function(e){return function(){return e.active=!1}},_=function(e){e.observeMutations&&(e.observer=new MutationObserver(v(e,r)),e.observer.observe(e.element,e.observeMutations))},y={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in e&&{subtree:!0,childList:!0,characterData:!0}},k=null,S=function(){e.clearTimeout(k),k=e.setTimeout(l(a),W.observeWindowDelay)},F=["resize","orientationchange"];return Object.defineProperty(W,"observeWindow",{set:function(t){var i="".concat(t?"add":"remove","EventListener");F.forEach((function(t){e[i](t,S)}))}}),W.observeWindow=!0,W.observeWindowDelay=100,W.fitAll=l(o),W}function E(e,t){var i=Object.assign({},y,t),r=e.map((function(e){var t=Object.assign({},i,{element:e,active:!0});return function(e){e.originalStyle={whiteSpace:e.element.style.whiteSpace,display:e.element.style.display,fontSize:e.element.style.fontSize},_(e),e.newbie=!0,e.dirty=!0,s.push(e)}(t),{element:e,fit:v(t,o),unfreeze:x(t),freeze:w(t),unsubscribe:b(t)}}));return h(),r}function W(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e?E(t(document.querySelectorAll(e)),i):E([e],i)[0]}}("undefined"==typeof window?null:window);var p=".sc-stzh-pagetitle-hero-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-pagetitle-hero-h{display:none}.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero,.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero::before,.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>img[slot=image],.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>[slot=image] img{display:block;position:absolute;width:100%;height:100%;top:0;left:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag][variant=filter]:not([disabled]){--color:var(--stzh-color-white);--border:0.0625rem solid var(--stzh-color-white);--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-white48);--icon-color:var(--stzh-color-white);--hover-color:var(--stzh-color-white);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-white16);--hover-remove-color:var(--stzh-color-white);--hover-remove-background-color:var(--stzh-color-white16);--hover-counter-color:var(--stzh-color-white);--hover-icon-color:var(--stzh-color-white)}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag][variant=filter][active]:not([active=false]):not([disabled]){--border:0.0625rem solid transparent;--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-remove-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag]:not(:last-child){margin-right:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero.sc-stzh-pagetitle-hero{padding-top:var(--stzh-space-xxlarge)}}.stzh-pagetitle-hero__tags.sc-stzh-pagetitle-hero{list-style:none;padding:0;margin:0;display:-ms-flexbox;display:flex}.stzh-pagetitle-hero__tags.sc-stzh-pagetitle-hero:not(:empty){margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{position:absolute;left:0;top:0}}@media screen and (max-width: 1023px){.stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero:not(:empty){margin:var(--stzh-space-xlarge) 0}}.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{--stzh-flyingfocus-color:var(--stzh-base-invert-color);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;-ms-flex-negative:0;flex-shrink:0;position:relative;z-index:1;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));padding:var(--stzh-space-xxxlarge) var(--stzh-space-xlarge);margin-top:calc(var(--stzh-space-xxxlarge) * -1)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-xxxxlarge) var(--stzh-space-xxlarge);margin-top:calc(var(--stzh-space-big) * -1)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-big)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{margin:var(--stzh-space-big) 0;width:50%;margin-left:-8.3333333333%}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-xbig)}}.stzh-pagetitle-hero__title.sc-stzh-pagetitle-hero{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-white);margin:0;font-size:1.875rem;line-height:1.107;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:normal;word-break:normal;word-break:break-word}@media screen and (min-width: 600px){.stzh-pagetitle-hero__title.sc-stzh-pagetitle-hero{font-size:2.8125rem}}.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h3-default-text-letter-spacing);margin-top:var(--stzh-space-xlarge);color:var(--stzh-color-white)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-text-line-height, var(--stzh-font-deci-text-line-height));letter-spacing:var(--stzh-font-curve-h3-small-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-text-line-height, var(--stzh-font-regular-text-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxxlarge)}}.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxxxlarge);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}@media screen and (min-width: 600px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-big)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:row;flex-direction:row}}.stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{position:relative;-ms-flex-negative:0;flex-shrink:0;background-color:var(--stzh-color-grey5);margin-left:calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2);margin-right:calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{width:58.3333333333%;margin-left:0;margin-right:0}}.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{position:relative;width:100%;height:0;padding-bottom:75%}@media screen and (min-width: 600px){.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{padding-bottom:56.25%}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{padding-bottom:75%}}.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin:0 auto;margin-bottom:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-huge);max-width:70%}}.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-back-link.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-back-link.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{margin-right:-8.3333333333%}}.stzh-pagetitle-hero--has-no-lead.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{display:none}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{display:none}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:column;flex-direction:column;margin-top:0}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{width:100%;margin:0}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xlarge);margin-bottom:var(--stzh-space-xlarge);position:static}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxxlarge)}}";var g=e("stzh_pagetitle_hero",function(){function e(e){var i=this;t(this,e);this.init=function(){var e=i.element.querySelector('stzh-link[slot="back-link"], [slot="back-link"] stzh-link');var t=i.element.querySelectorAll('stzh-text[slot="lead"], [slot="lead"] stzh-text');var r=i.element.querySelectorAll('stzh-chip[slot="tag"], [slot="tag"] stzh-chip');if(e){o(e,{icon:"arrow-left-circle"})}t.forEach((function(e){o(e,{lead:true})}));r.forEach((function(e){o(e,{role:"listitem"})}))};this.reinitFitty=function(){i.destroyFitty();var e=l("small").matches;i.fitty=c(i.mainTitleElement,{minSize:e?45:32,maxSize:e?96:64})};this.heading="";this.leadAuthor="";this.subtitle=""}e.prototype.destroyFitty=function(){if(this.fitty){this.fitty.unsubscribe();this.fitty=null}};e.prototype.componentWillUpdate=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.destroyFitty();return[2]}))}))};e.prototype.componentDidRender=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.fitty){return[2]}this.reinitFitty();return[2]}))}))};e.prototype.connectedCallback=function(){this.init();n(this.reinitFitty);this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){this.observer.disconnect();h(this.reinitFitty);this.destroyFitty()};e.prototype.render=function(){var e=this;var t=s(this.element,"image");var a=s(this.element,"lead");var o=s(this.element,"back-link");var n={"stzh-pagetitle-hero":true,"stzh-pagetitle-hero--has-no-image":!t,"stzh-pagetitle-hero--has-no-lead":!a,"stzh-pagetitle-hero--has-back-link":o};return i(r,null,i("div",{class:n},i("div",{class:"stzh-pagetitle-hero__header"},i("div",{class:"stzh-pagetitle-hero__back-link"},i("slot",{name:"back-link"})),i("div",{class:"stzh-pagetitle-hero__image-wrapper"},i("div",{class:"stzh-pagetitle-hero__image-ratio"}),i("slot",{name:"image"})),i("div",{class:"stzh-pagetitle-hero__title-wrapper"},i("div",{class:"stzh-pagetitle-hero__tags",role:"list"},i("slot",{name:"tag"})),i("div",{class:"stzh-pagetitle-hero__title-parent"},i("h1",{ref:function(t){return e.mainTitleElement=t},class:"stzh-pagetitle-hero__title"},this.heading)),this.subtitle&&i("div",{class:"stzh-pagetitle-hero__subtitle"},this.subtitle))),i("div",{class:"stzh-pagetitle-hero__lead"},i("slot",{name:"lead"}),i("div",{class:"stzh-pagetitle-hero__lead-author"},this.leadAuthor))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());g.style=p}}}));
|