@oiz/stzh-components 2.0.0 → 2.1.0-beta
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/{app-globals-ec8cc33e.js → app-globals-07890ee7.js} +1 -1
- package/dist/cjs/{dom-874a1e39.js → dom-9deb26c8.js} +1 -1
- package/dist/cjs/{index-ac9bdc7f.js → index-9fcb4305.js} +228 -210
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{shadow-css-a33dc836.js → shadow-css-bf3843d2.js} +1 -1
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +13 -23
- package/dist/cjs/stzh-accordion.cjs.entry.js +1 -3
- package/dist/cjs/stzh-actions.cjs.entry.js +3 -5
- package/dist/cjs/stzh-actionset.cjs.entry.js +16 -16
- package/dist/cjs/stzh-anchornav.cjs.entry.js +52 -0
- package/dist/cjs/stzh-appnav.cjs.entry.js +4 -7
- package/dist/cjs/stzh-appointments.cjs.entry.js +12 -17
- package/dist/cjs/stzh-audio.cjs.entry.js +4150 -0
- package/dist/cjs/stzh-badge_3.cjs.entry.js +26 -57
- package/dist/cjs/stzh-calendar.cjs.entry.js +9 -25
- package/dist/cjs/stzh-card-list.cjs.entry.js +6 -8
- package/dist/cjs/stzh-card.cjs.entry.js +20 -50
- package/dist/cjs/stzh-cell.cjs.entry.js +1 -8
- package/dist/cjs/stzh-checkbox.cjs.entry.js +17 -22
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +29 -20
- package/dist/cjs/stzh-chip-select.cjs.entry.js +14 -16
- package/dist/cjs/stzh-chip.cjs.entry.js +14 -25
- package/dist/cjs/stzh-clamp.cjs.entry.js +27 -0
- package/dist/cjs/stzh-components.cjs.js +5 -5
- package/dist/cjs/stzh-container.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist.cjs.entry.js +8 -20
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +13 -13
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +15 -21
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +431 -0
- package/dist/cjs/stzh-dialog.cjs.entry.js +11 -19
- package/dist/cjs/stzh-dropdown.cjs.entry.js +17 -37
- package/dist/cjs/stzh-fieldset.cjs.entry.js +1 -5
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -3
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +7 -7
- package/dist/cjs/stzh-footer.cjs.entry.js +5 -5
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +8 -19
- package/dist/cjs/stzh-header.cjs.entry.js +4 -10
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -4
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -10
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +3 -3
- package/dist/cjs/{stzh-input-description-9802abc2.js → stzh-input-description-4326b0d9.js} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +30 -37
- package/dist/cjs/stzh-link.cjs.entry.js +23 -33
- package/dist/cjs/stzh-list-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-list.cjs.entry.js +1 -2
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -4
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -4
- package/dist/cjs/stzh-menu_2.cjs.entry.js +11 -19
- package/dist/cjs/stzh-message.cjs.entry.js +5 -18
- package/dist/cjs/stzh-metanav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-olmap.cjs.entry.js +51129 -0
- package/dist/cjs/stzh-overlay.cjs.entry.js +1 -4
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +32 -0
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +10 -13
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +2 -2
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +9 -9
- package/dist/cjs/stzh-progressbar.cjs.entry.js +9 -24
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +3 -1
- package/dist/cjs/stzh-row.cjs.entry.js +1 -9
- package/dist/cjs/stzh-saptcha.cjs.entry.js +4 -7
- package/dist/cjs/stzh-section.cjs.entry.js +1 -2
- package/dist/cjs/stzh-share.cjs.entry.js +113 -0
- package/dist/cjs/stzh-skiplink.cjs.entry.js +4 -2
- package/dist/cjs/stzh-sortable.cjs.entry.js +26 -30
- package/dist/cjs/stzh-status.cjs.entry.js +1 -5
- package/dist/cjs/stzh-sticky.cjs.entry.js +84 -0
- package/dist/cjs/stzh-table.cjs.entry.js +8 -10
- package/dist/cjs/stzh-text.cjs.entry.js +37 -0
- package/dist/cjs/stzh-toggle.cjs.entry.js +16 -22
- package/dist/cjs/stzh-tooltip.cjs.entry.js +12 -23
- package/dist/cjs/stzh-upload.cjs.entry.js +58 -162
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +16 -10
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +8 -9
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +6 -7
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -10
- package/dist/collection/assets/i18n/de.json +29 -0
- package/dist/collection/assets/i18n/en.json +29 -0
- package/dist/collection/assets/icons/mono/target-bullet.svg +12 -0
- package/dist/collection/assets/media/olmap/marker-active.png +0 -0
- package/dist/collection/assets/media/olmap/marker-position.png +0 -0
- package/dist/collection/assets/media/olmap/marker.png +0 -0
- package/dist/collection/assets/media/olmap/thumb-satellite.jpg +0 -0
- package/dist/collection/assets/media/olmap/thumb-streets.jpg +0 -0
- package/dist/collection/collection-manifest.json +9 -2
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +0 -2
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +12 -22
- package/dist/collection/components/stzh-actions/stzh-actions.js +2 -4
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +21 -21
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +286 -0
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +216 -0
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.stories.js +76 -0
- package/dist/collection/components/stzh-appnav/stzh-appnav.js +3 -6
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +11 -16
- package/dist/collection/components/stzh-audio/stzh-audio.css +319 -0
- package/dist/collection/components/stzh-audio/stzh-audio.js +333 -0
- package/dist/collection/components/stzh-audio/stzh-audio.localization.js +1 -0
- package/dist/collection/components/stzh-audio/stzh-audio.stories.js +89 -0
- package/dist/collection/components/stzh-badge/stzh-badge.js +0 -2
- package/dist/collection/components/stzh-button/stzh-button.css +1 -0
- package/dist/collection/components/stzh-button/stzh-button.js +24 -45
- package/dist/collection/components/stzh-calendar/stzh-calendar.js +8 -24
- package/dist/collection/components/stzh-card/stzh-card.js +19 -49
- package/dist/collection/components/stzh-card-list/stzh-card-list.js +5 -7
- package/dist/collection/components/stzh-cell/stzh-cell.js +0 -7
- package/dist/collection/components/stzh-checkbox/assets/check.svg +1 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +0 -3
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +13 -18
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +33 -20
- package/dist/collection/components/stzh-chip/stzh-chip.js +13 -24
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +12 -14
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +279 -0
- package/dist/collection/components/stzh-clamp/stzh-clamp.js +125 -0
- package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +41 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +7 -19
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +0 -11
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +11 -11
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +14 -20
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +19 -35
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +10 -18
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +15 -35
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +0 -4
- package/dist/collection/components/stzh-figure/stzh-figure.js +0 -2
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +6 -6
- package/dist/collection/components/stzh-footer/stzh-footer.js +5 -5
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +7 -16
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.stories.js +6 -6
- package/dist/collection/components/stzh-header/stzh-header.js +4 -10
- package/dist/collection/components/stzh-heading/stzh-heading.js +0 -3
- package/dist/collection/components/stzh-hr/stzh-hr.stories.js +11 -1
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +0 -9
- package/dist/collection/components/stzh-icon/stzh-icon.js +0 -8
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +19 -6
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +5 -1
- package/dist/collection/components/stzh-input/stzh-input.js +29 -36
- package/dist/collection/components/stzh-link/stzh-link.css +18 -0
- package/dist/collection/components/stzh-link/stzh-link.js +57 -31
- package/dist/collection/components/stzh-link/stzh-link.stories.js +3 -1
- package/dist/collection/components/stzh-list/stzh-list.js +0 -1
- package/dist/collection/components/stzh-list-item/assets/checkmark.svg +1 -1
- package/dist/collection/components/stzh-loader/stzh-loader.js +0 -3
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +0 -3
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +10 -18
- package/dist/collection/components/stzh-message/stzh-message.js +4 -17
- package/dist/collection/components/stzh-olmap/stzh-olmap.css +284 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +1042 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.localization.js +1 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.stories.js +36 -0
- package/dist/collection/components/stzh-overlay/stzh-overlay.js +0 -3
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +150 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +151 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +44 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +3 -3
- package/dist/collection/components/stzh-popover/stzh-popover.js +9 -12
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +0 -1
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.js +1 -2
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.stories.js +1 -1
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +8 -23
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +8 -8
- package/dist/collection/components/stzh-radio/stzh-radio.js +13 -18
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +35 -23
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +0 -2
- package/dist/collection/components/stzh-row/stzh-row.js +0 -8
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +3 -6
- package/dist/collection/components/stzh-section/stzh-section.js +0 -1
- package/dist/collection/components/stzh-share/stzh-share.css +146 -0
- package/dist/collection/components/stzh-share/stzh-share.js +184 -0
- package/dist/collection/components/stzh-share/stzh-share.localization.js +1 -0
- package/dist/collection/components/stzh-share/stzh-share.stories.js +33 -0
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +3 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +25 -29
- package/dist/collection/components/stzh-status/stzh-status.js +0 -4
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +144 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +184 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +91 -0
- package/dist/collection/components/stzh-table/stzh-table.js +7 -9
- package/dist/collection/components/stzh-text/stzh-text.js +0 -8
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +14 -20
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +11 -22
- package/dist/collection/components/stzh-upload/stzh-upload.css +23 -7
- package/dist/collection/components/stzh-upload/stzh-upload.js +74 -160
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +3 -3
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +5 -7
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +7 -8
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +5 -6
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +0 -9
- package/dist/collection/pages/meinkonto.stories.js +2 -2
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +8 -1
- package/dist/components/stzh-accordion-item.js +12 -22
- package/dist/components/stzh-accordion.js +0 -2
- package/dist/components/stzh-actions.js +2 -4
- package/dist/components/stzh-actionset2.js +15 -15
- package/dist/components/stzh-anchornav.d.ts +11 -0
- package/dist/components/stzh-anchornav.js +97 -0
- package/dist/components/stzh-appnav.js +3 -6
- package/dist/components/stzh-appointments.js +11 -16
- package/dist/components/stzh-audio.d.ts +11 -0
- package/dist/components/stzh-audio.js +4195 -0
- package/dist/components/stzh-badge2.js +0 -2
- package/dist/components/stzh-button2.js +25 -46
- package/dist/components/stzh-calendar2.js +8 -24
- package/dist/components/stzh-card-list.js +5 -7
- package/dist/components/stzh-card.js +19 -49
- package/dist/components/stzh-cell.js +0 -7
- package/dist/components/stzh-checkbox.js +15 -20
- package/dist/components/stzh-checkboxgroup.js +28 -19
- package/dist/components/stzh-chip-select.js +12 -14
- package/dist/components/stzh-chip2.js +13 -24
- package/dist/components/stzh-clamp.d.ts +11 -0
- package/dist/components/stzh-clamp.js +6 -0
- package/dist/components/stzh-clamp2.js +43 -0
- package/dist/components/stzh-datalist.js +7 -19
- package/dist/components/stzh-datamessagelist-item.js +24 -18
- package/dist/components/stzh-datatable.js +14 -20
- package/dist/components/stzh-datepicker2.js +19 -35
- package/dist/components/stzh-dialog.js +10 -18
- package/dist/components/stzh-dropdown2.js +15 -35
- package/dist/components/stzh-fieldset.js +0 -4
- package/dist/components/stzh-figure.js +0 -2
- package/dist/components/stzh-flyingfocus.js +6 -6
- package/dist/components/stzh-footer.js +4 -4
- package/dist/components/stzh-ghettobox2.js +7 -16
- package/dist/components/stzh-header.js +3 -9
- package/dist/components/stzh-heading2.js +0 -3
- package/dist/components/stzh-hspace.js +0 -9
- package/dist/components/stzh-icon-sprite.js +2 -2
- package/dist/components/stzh-icon2.js +0 -8
- package/dist/components/stzh-input2.js +28 -35
- package/dist/components/stzh-link2.js +24 -32
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +0 -1
- package/dist/components/stzh-loader.js +1 -43
- package/dist/components/stzh-loader2.js +42 -0
- package/dist/components/stzh-loadingbar.js +0 -3
- package/dist/components/stzh-menu-item2.js +10 -18
- package/dist/components/stzh-message.js +4 -17
- package/dist/components/stzh-olmap.d.ts +11 -0
- package/dist/components/stzh-olmap.js +51168 -0
- package/dist/components/stzh-overlay.js +0 -3
- package/dist/components/stzh-pagebottom.d.ts +11 -0
- package/dist/components/stzh-pagebottom.js +70 -0
- package/dist/components/stzh-popover2.js +9 -12
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-progressbar-item2.js +8 -8
- package/dist/components/stzh-progressbar.js +8 -23
- package/dist/components/stzh-radio2.js +13 -18
- package/dist/components/stzh-radiogroup2.js +29 -21
- package/dist/components/stzh-readspeaker.js +2 -0
- package/dist/components/stzh-richtext2.js +0 -2
- package/dist/components/stzh-row.js +0 -8
- package/dist/components/stzh-saptcha.js +3 -6
- package/dist/components/stzh-section.js +0 -1
- package/dist/components/stzh-share.d.ts +11 -0
- package/dist/components/stzh-share.js +6 -0
- package/dist/components/stzh-share2.js +139 -0
- package/dist/components/stzh-skiplink.js +3 -1
- package/dist/components/stzh-sortable2.js +25 -29
- package/dist/components/stzh-status2.js +0 -4
- package/dist/components/stzh-sticky.d.ts +11 -0
- package/dist/components/stzh-sticky.js +102 -0
- package/dist/components/stzh-table.js +7 -9
- package/dist/components/stzh-text2.js +0 -8
- package/dist/components/stzh-toggle.js +14 -20
- package/dist/components/stzh-tooltip2.js +11 -22
- package/dist/components/stzh-upload.js +57 -160
- package/dist/components/stzh-vbz-linechip2.js +15 -9
- package/dist/components/stzh-vbz-majorticker.js +7 -8
- package/dist/components/stzh-vbz-ticker.js +5 -6
- package/dist/components/stzh-vspace.js +0 -9
- package/dist/esm/{app-globals-e66420b3.js → app-globals-acc57d0e.js} +1 -1
- package/dist/esm/{dom-104fb833.js → dom-6be6f662.js} +1 -1
- package/dist/esm/{index-84f71a43.js → index-2915b467.js} +228 -210
- package/dist/esm/loader.js +4 -4
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{shadow-css-4261c637.js → shadow-css-ed4599f8.js} +1 -1
- package/dist/esm/stzh-accordion-item.entry.js +13 -23
- package/dist/esm/stzh-accordion.entry.js +1 -3
- package/dist/esm/stzh-actions.entry.js +3 -5
- package/dist/esm/stzh-actionset.entry.js +16 -16
- package/dist/esm/stzh-anchornav.entry.js +48 -0
- package/dist/esm/stzh-appnav.entry.js +4 -7
- package/dist/esm/stzh-appointments.entry.js +12 -17
- package/dist/esm/stzh-audio.entry.js +4146 -0
- package/dist/esm/stzh-badge_3.entry.js +26 -57
- package/dist/esm/stzh-calendar.entry.js +10 -26
- package/dist/esm/stzh-card-list.entry.js +6 -8
- package/dist/esm/stzh-card.entry.js +20 -50
- package/dist/esm/stzh-cell.entry.js +1 -8
- package/dist/esm/stzh-checkbox.entry.js +17 -22
- package/dist/esm/stzh-checkboxgroup.entry.js +29 -20
- package/dist/esm/stzh-chip-select.entry.js +14 -16
- package/dist/esm/stzh-chip.entry.js +14 -25
- package/dist/esm/stzh-clamp.entry.js +23 -0
- package/dist/esm/stzh-components.js +5 -5
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-datalist.entry.js +8 -20
- package/dist/esm/stzh-datamessagelist-item.entry.js +13 -13
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +15 -21
- package/dist/esm/stzh-datepicker_3.entry.js +425 -0
- package/dist/esm/stzh-dialog.entry.js +11 -19
- package/dist/esm/stzh-dropdown.entry.js +17 -37
- package/dist/esm/stzh-fieldset.entry.js +1 -5
- package/dist/esm/stzh-figure.entry.js +1 -3
- package/dist/esm/stzh-flyingfocus.entry.js +7 -7
- package/dist/esm/stzh-footer.entry.js +5 -5
- package/dist/esm/stzh-ghettobox_2.entry.js +8 -19
- package/dist/esm/stzh-header.entry.js +4 -10
- package/dist/esm/stzh-heading.entry.js +1 -4
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -10
- package/dist/esm/stzh-icon-sprite.entry.js +3 -3
- package/dist/esm/{stzh-input-description-8c477f97.js → stzh-input-description-e87e6697.js} +1 -1
- package/dist/esm/stzh-input.entry.js +30 -37
- package/dist/esm/stzh-link.entry.js +23 -33
- package/dist/esm/stzh-list-item.entry.js +2 -2
- package/dist/esm/stzh-list.entry.js +1 -2
- package/dist/esm/stzh-loader.entry.js +1 -4
- package/dist/esm/stzh-loadingbar.entry.js +1 -4
- package/dist/esm/stzh-menu_2.entry.js +11 -19
- package/dist/esm/stzh-message.entry.js +5 -18
- package/dist/esm/stzh-metanav.entry.js +1 -1
- package/dist/esm/stzh-olmap.entry.js +51125 -0
- package/dist/esm/stzh-overlay.entry.js +1 -4
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +28 -0
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +10 -13
- package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-progressbar-item.entry.js +9 -9
- package/dist/esm/stzh-progressbar.entry.js +9 -24
- package/dist/esm/stzh-readspeaker.entry.js +3 -1
- package/dist/esm/stzh-row.entry.js +1 -9
- package/dist/esm/stzh-saptcha.entry.js +4 -7
- package/dist/esm/stzh-section.entry.js +1 -2
- package/dist/esm/stzh-share.entry.js +109 -0
- package/dist/esm/stzh-skiplink.entry.js +4 -2
- package/dist/esm/stzh-sortable.entry.js +26 -30
- package/dist/esm/stzh-status.entry.js +1 -5
- package/dist/esm/stzh-sticky.entry.js +80 -0
- package/dist/esm/stzh-table.entry.js +8 -10
- package/dist/esm/stzh-text.entry.js +33 -0
- package/dist/esm/stzh-toggle.entry.js +16 -22
- package/dist/esm/stzh-tooltip.entry.js +12 -23
- package/dist/esm/stzh-upload.entry.js +58 -162
- package/dist/esm/stzh-vbz-linechip.entry.js +16 -10
- package/dist/esm/stzh-vbz-majorticker.entry.js +8 -9
- package/dist/esm/stzh-vbz-ticker.entry.js +6 -7
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -10
- package/dist/esm-es5/app-globals-acc57d0e.js +1 -0
- package/dist/esm-es5/{dom-104fb833.js → dom-6be6f662.js} +0 -0
- package/dist/esm-es5/index-2915b467.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{shadow-css-4261c637.js → shadow-css-ed4599f8.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 -0
- 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 +31 -0
- 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-list.entry.js +1 -1
- package/dist/esm-es5/stzh-card.entry.js +1 -1
- package/dist/esm-es5/stzh-cell.entry.js +1 -1
- 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-select.entry.js +1 -1
- package/dist/esm-es5/stzh-chip.entry.js +1 -1
- package/dist/esm-es5/stzh-clamp.entry.js +1 -0
- package/dist/esm-es5/stzh-components.js +1 -1
- 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.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 +2 -2
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -0
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -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-8c477f97.js → stzh-input-description-e87e6697.js} +1 -1
- package/dist/esm-es5/stzh-input.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-olmap.entry.js +7 -0
- 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 -0
- 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-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 -0
- 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-status.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -0
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/{stzh-components/p-fc6b4f91.system.entry.js → esm-es5/stzh-text.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/stzh-components/assets/i18n/de.json +29 -0
- package/dist/stzh-components/assets/i18n/en.json +29 -0
- package/dist/stzh-components/assets/icons/mono/target-bullet.svg +12 -0
- package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
- package/dist/stzh-components/assets/media/olmap/marker-position.png +0 -0
- package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
- package/dist/stzh-components/assets/media/olmap/thumb-satellite.jpg +0 -0
- package/dist/stzh-components/assets/media/olmap/thumb-streets.jpg +0 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +19 -6
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/{p-5a354428.system.entry.js → p-011dcf30.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f24db7e8.system.entry.js → p-01909f35.system.entry.js} +1 -1
- package/dist/stzh-components/p-025953d1.system.entry.js +1 -0
- package/dist/stzh-components/{p-981b2629.system.entry.js → p-0321e98e.system.entry.js} +1 -1
- package/dist/stzh-components/p-04dd6821.entry.js +1 -0
- package/dist/stzh-components/{p-929dbdf1.system.entry.js → p-05901b22.system.entry.js} +1 -1
- package/dist/stzh-components/p-07fc857b.system.entry.js +1 -0
- package/dist/stzh-components/{p-8b6de2c0.system.entry.js → p-090bfb8e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-051bc2a8.entry.js → p-0977d9b6.entry.js} +1 -1
- package/dist/stzh-components/{p-713ae713.entry.js → p-0c10d9b1.entry.js} +2 -2
- package/dist/stzh-components/p-0e48efa7.entry.js +1 -0
- package/dist/stzh-components/p-10c36281.entry.js +1 -0
- package/dist/stzh-components/{p-4c61dcad.js → p-13051e1c.js} +0 -0
- package/dist/stzh-components/p-140e4b63.entry.js +1 -0
- package/dist/stzh-components/{p-a67e09cd.system.entry.js → p-14e457c6.system.entry.js} +1 -1
- package/dist/stzh-components/{p-eb61c369.entry.js → p-14f0d546.entry.js} +1 -1
- package/dist/stzh-components/p-1663fc49.system.entry.js +1 -0
- package/dist/stzh-components/{p-796ae62c.system.entry.js → p-183e4790.system.entry.js} +1 -1
- package/dist/stzh-components/p-1a5fc8e3.system.entry.js +1 -0
- package/dist/stzh-components/{p-db5363ef.entry.js → p-20a6ffbb.entry.js} +1 -1
- package/dist/stzh-components/p-229f4ebc.system.entry.js +1 -0
- package/dist/stzh-components/{p-3b912468.system.entry.js → p-23e9b6c7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5f4eb46c.entry.js → p-241f060e.entry.js} +1 -1
- package/dist/stzh-components/{p-89274cd5.system.entry.js → p-26159eac.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6523a23b.system.js → p-2732d8c8.system.js} +0 -0
- package/dist/stzh-components/{p-56b9cc3c.system.entry.js → p-27573504.system.entry.js} +1 -1
- package/dist/stzh-components/{p-9e716229.entry.js → p-27839f48.entry.js} +1 -1
- package/dist/stzh-components/{p-fc13d017.system.entry.js → p-27bfb4c2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-29427863.entry.js → p-29d9a568.entry.js} +1 -1
- package/dist/stzh-components/{p-f1356a85.entry.js → p-2c16d2ea.entry.js} +1 -1
- package/dist/stzh-components/p-2c783943.entry.js +1 -0
- package/dist/stzh-components/{p-560f96f0.system.entry.js → p-2c8d491a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-17c6c1db.system.entry.js → p-2e276f2e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5bd2849d.entry.js → p-30e5a674.entry.js} +1 -1
- package/dist/stzh-components/{p-19bff884.system.entry.js → p-33a52001.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b462a61f.entry.js → p-34eb65b9.entry.js} +1 -1
- package/dist/stzh-components/p-36596b2b.system.entry.js +1 -0
- package/dist/stzh-components/{p-d6c07494.system.entry.js → p-37bdb9cd.system.entry.js} +1 -1
- package/dist/stzh-components/p-38977481.entry.js +1 -0
- package/dist/stzh-components/p-3a0f37bd.entry.js +1 -0
- package/dist/stzh-components/p-3a279b45.entry.js +1 -0
- package/dist/stzh-components/p-3a47ff2d.system.entry.js +1 -0
- package/dist/stzh-components/p-3b33fa76.system.entry.js +1 -0
- package/dist/stzh-components/{p-2b338050.entry.js → p-3e24b964.entry.js} +1 -1
- package/dist/stzh-components/{p-ee22256f.entry.js → p-3e504f50.entry.js} +1 -1
- package/dist/stzh-components/{p-bb3c1249.entry.js → p-3efefb7f.entry.js} +1 -1
- package/dist/stzh-components/{p-21566d65.system.entry.js → p-3f8976bc.system.entry.js} +1 -1
- package/dist/stzh-components/{p-8d0da18d.system.entry.js → p-3fc40cc0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4c6989ae.system.entry.js → p-440ae0cc.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b550feaa.system.entry.js → p-44435254.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ab246b66.entry.js → p-456143f9.entry.js} +1 -1
- package/dist/stzh-components/{p-190de4de.entry.js → p-46f4e907.entry.js} +1 -1
- package/dist/stzh-components/p-470ccde5.system.entry.js +1 -0
- package/dist/stzh-components/{p-d1552460.system.entry.js → p-470e5f38.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ce070ccd.entry.js → p-4b93fb24.entry.js} +1 -1
- package/dist/stzh-components/{p-562e6c52.entry.js → p-4c93ffbe.entry.js} +1 -1
- package/dist/stzh-components/{p-20ef4a20.system.entry.js → p-509c97c9.system.entry.js} +1 -1
- package/dist/stzh-components/p-51c75fba.system.entry.js +1 -0
- package/dist/stzh-components/{p-0fc83964.system.entry.js → p-529a56aa.system.entry.js} +1 -1
- package/dist/stzh-components/{p-63d89b96.system.js → p-52cd1bd1.system.js} +1 -1
- package/dist/stzh-components/p-53c30c58.entry.js +1 -0
- package/dist/stzh-components/p-55435022.system.entry.js +1 -0
- package/dist/stzh-components/p-5623c1a3.entry.js +1 -0
- package/dist/stzh-components/{p-e213663c.system.entry.js → p-5869502c.system.entry.js} +1 -1
- package/dist/stzh-components/p-58714045.entry.js +1 -0
- package/dist/stzh-components/p-59970f71.entry.js +1 -0
- package/dist/stzh-components/{p-3d8317b5.entry.js → p-5c2d0572.entry.js} +1 -1
- package/dist/stzh-components/p-5c311df3.entry.js +1 -0
- package/dist/stzh-components/{p-72f29f07.entry.js → p-5e81420b.entry.js} +1 -1
- package/dist/stzh-components/p-609bf766.system.js +2 -0
- package/dist/stzh-components/{p-f832e938.system.entry.js → p-616e70e9.system.entry.js} +1 -1
- package/dist/stzh-components/p-62afe664.entry.js +1 -0
- package/dist/stzh-components/p-62c7caed.entry.js +1 -0
- package/dist/stzh-components/p-652eee8b.system.entry.js +1 -0
- package/dist/stzh-components/{p-69c3187f.system.entry.js → p-67ade1c7.system.entry.js} +1 -1
- package/dist/stzh-components/p-6a16ceff.entry.js +1 -0
- package/dist/stzh-components/{p-9c72f491.system.entry.js → p-6a96d63e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-33c0229f.system.entry.js → p-6c1ad586.system.entry.js} +1 -1
- package/dist/stzh-components/p-6c3d7756.system.entry.js +7 -0
- package/dist/stzh-components/{p-61aac051.system.entry.js → p-725b3e74.system.entry.js} +1 -1
- package/dist/stzh-components/p-74786856.system.entry.js +1 -0
- package/dist/stzh-components/p-783346ed.entry.js +1 -0
- package/dist/stzh-components/p-7909f56b.entry.js +1 -0
- package/dist/stzh-components/p-79f27d21.entry.js +1 -0
- package/dist/stzh-components/p-7a4c6adb.js +2 -0
- package/dist/stzh-components/{p-a7ee2636.entry.js → p-7d77b8d2.entry.js} +1 -1
- package/dist/stzh-components/{p-9fb4da92.system.entry.js → p-7dd6fbc9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f84fa2a4.js → p-8347b91f.js} +1 -1
- package/dist/stzh-components/{p-ef5d4167.js → p-8364475f.js} +0 -0
- package/dist/stzh-components/{p-bbe4e3d1.system.entry.js → p-881e526e.system.entry.js} +1 -1
- package/dist/stzh-components/p-8d9056de.entry.js +1 -0
- package/dist/stzh-components/p-8e363084.system.entry.js +1 -0
- package/dist/stzh-components/p-8e5f4ef6.system.entry.js +1 -0
- package/dist/stzh-components/{p-8d547247.system.entry.js → p-8eb72064.system.entry.js} +1 -1
- package/dist/stzh-components/{p-fa56fc0d.system.entry.js → p-8fc8d8c2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6305db38.system.entry.js → p-90665664.system.entry.js} +1 -1
- package/dist/stzh-components/p-9084f0c1.entry.js +1 -0
- package/dist/stzh-components/p-90ad5e2c.entry.js +1 -0
- package/dist/stzh-components/p-92788577.entry.js +34 -0
- package/dist/stzh-components/{p-27fd6c6f.system.entry.js → p-92ad9720.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c58dd9de.entry.js → p-9454a438.entry.js} +1 -1
- package/dist/stzh-components/p-948acea1.js +1 -0
- package/dist/stzh-components/{p-530252c6.system.entry.js → p-965829a6.system.entry.js} +1 -1
- package/dist/stzh-components/p-9a7593f5.entry.js +1 -0
- package/dist/stzh-components/p-9af41730.system.js +1 -0
- package/dist/stzh-components/{p-58d886cb.system.entry.js → p-9ca1efe4.system.entry.js} +1 -1
- package/dist/stzh-components/p-a10e0117.system.entry.js +1 -0
- package/dist/stzh-components/{p-3f0363db.entry.js → p-a3559e69.entry.js} +1 -1
- package/dist/stzh-components/{p-7ec2f3fd.entry.js → p-a61bf274.entry.js} +2 -2
- package/dist/stzh-components/{p-8c648042.system.entry.js → p-a6da8c06.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ccd30d73.system.entry.js → p-afaa9c37.system.entry.js} +1 -1
- package/dist/stzh-components/{p-88e0f453.entry.js → p-b09b85ac.entry.js} +1 -1
- package/dist/stzh-components/p-b0e514c7.entry.js +1 -0
- package/dist/stzh-components/{p-5997e418.system.entry.js → p-b3587b9d.system.entry.js} +1 -1
- package/dist/stzh-components/p-b367d4e3.entry.js +7 -0
- package/dist/stzh-components/p-b54ed1f9.entry.js +1 -0
- package/dist/stzh-components/p-b5a59ac0.entry.js +1 -0
- package/dist/stzh-components/p-b666bb15.entry.js +1 -0
- package/dist/stzh-components/p-b71a1607.system.js +1 -0
- package/dist/stzh-components/{p-2e559062.entry.js → p-b99c0844.entry.js} +1 -1
- package/dist/stzh-components/p-bb9e8364.entry.js +1 -0
- package/dist/stzh-components/p-bc841847.entry.js +1 -0
- package/dist/stzh-components/p-bd7dd853.system.entry.js +1 -0
- package/dist/stzh-components/p-bdc627fa.system.entry.js +1 -0
- package/dist/stzh-components/p-be534671.entry.js +1 -0
- package/dist/stzh-components/p-bfdce66c.entry.js +1 -0
- package/dist/stzh-components/p-c051fc3b.entry.js +1 -0
- package/dist/stzh-components/p-c1100fde.entry.js +1 -0
- package/dist/stzh-components/{p-55d23a3c.system.entry.js → p-c3161c9b.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0fc06049.system.entry.js → p-c5749124.system.entry.js} +1 -1
- package/dist/stzh-components/{p-786a92d4.system.entry.js → p-c6813d9f.system.entry.js} +1 -1
- package/dist/stzh-components/p-c777032f.system.entry.js +1 -0
- package/dist/stzh-components/{p-c4fc6433.system.entry.js → p-c8009c05.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d0aa9d3b.entry.js → p-c866224d.entry.js} +1 -1
- package/dist/stzh-components/p-cbaab05e.entry.js +1 -0
- package/dist/stzh-components/{p-5353ba86.system.entry.js → p-cc735465.system.entry.js} +2 -2
- package/dist/stzh-components/{p-6a873872.entry.js → p-d00e20ff.entry.js} +1 -1
- package/dist/stzh-components/{p-c3d93395.entry.js → p-d26ed018.entry.js} +1 -1
- package/dist/stzh-components/{p-64b4cc74.entry.js → p-d2c97cbc.entry.js} +1 -1
- package/dist/stzh-components/{p-84ab53cc.system.entry.js → p-d408604f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b9a027aa.entry.js → p-d69b12f8.entry.js} +1 -1
- package/dist/stzh-components/p-da857e0d.entry.js +1 -0
- package/dist/stzh-components/{p-2ca4a828.system.entry.js → p-de8f9508.system.entry.js} +1 -1
- package/dist/stzh-components/{p-a7c35778.system.entry.js → p-e347ce1e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-961cb979.entry.js → p-e662b688.entry.js} +1 -1
- package/dist/stzh-components/{p-c4b7c2be.entry.js → p-e69903fe.entry.js} +1 -1
- package/dist/stzh-components/p-e7afcd6f.entry.js +1 -0
- package/dist/stzh-components/p-e9313802.system.entry.js +31 -0
- package/dist/stzh-components/p-ee711f37.system.entry.js +1 -0
- package/dist/stzh-components/{p-b5a85078.system.entry.js → p-ee944add.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5a02ef03.entry.js → p-ef62b905.entry.js} +1 -1
- package/dist/stzh-components/{p-a8de6293.system.js → p-f39f347c.system.js} +0 -0
- package/dist/stzh-components/p-f8ccf5b1.entry.js +1 -0
- package/dist/stzh-components/p-f9039c23.entry.js +1 -0
- package/dist/stzh-components/{p-073c89b1.system.entry.js → p-fa6427bf.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ba94e315.system.entry.js → p-fa9a4cd5.system.entry.js} +1 -1
- package/dist/stzh-components/p-fade35c7.entry.js +1 -0
- package/dist/stzh-components/{p-851e0caa.system.entry.js → p-fb150554.system.entry.js} +1 -1
- package/dist/stzh-components/{p-684c345e.system.entry.js → p-fd811f6b.system.entry.js} +2 -2
- 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-anchornav/stzh-anchornav.d.ts +32 -0
- package/dist/types/components/stzh-audio/stzh-audio.localization.d.ts +11 -0
- package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +16 -0
- package/dist/types/components/stzh-olmap/stzh-olmap.localization.d.ts +10 -0
- package/dist/types/components/stzh-portal-mitwirken/stzh-portal-mitwirken.d.ts +1 -2
- package/dist/types/components/stzh-share/stzh-share.localization.d.ts +10 -0
- package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -0
- package/dist/types/components.d.ts +557 -17
- package/dist/types/index.d.ts +68 -1
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/vscode-data.json +265 -8
- package/package.json +7 -2
- package/dist/cjs/stzh-datepicker_4.cjs.entry.js +0 -483
- package/dist/esm/stzh-datepicker_4.entry.js +0 -476
- package/dist/esm-es5/app-globals-e66420b3.js +0 -1
- package/dist/esm-es5/index-84f71a43.js +0 -2
- package/dist/esm-es5/stzh-datepicker_4.entry.js +0 -1
- package/dist/stzh-components/p-001b7d10.entry.js +0 -1
- package/dist/stzh-components/p-03ea86bd.entry.js +0 -1
- package/dist/stzh-components/p-0711e511.entry.js +0 -1
- package/dist/stzh-components/p-08a564af.entry.js +0 -1
- package/dist/stzh-components/p-0bbbbe85.system.entry.js +0 -1
- package/dist/stzh-components/p-13b3500e.entry.js +0 -1
- package/dist/stzh-components/p-1440163c.system.entry.js +0 -1
- package/dist/stzh-components/p-18958371.entry.js +0 -1
- package/dist/stzh-components/p-216577b4.entry.js +0 -1
- package/dist/stzh-components/p-22701389.system.entry.js +0 -1
- package/dist/stzh-components/p-252d3178.entry.js +0 -1
- package/dist/stzh-components/p-2cf1ae40.system.entry.js +0 -1
- package/dist/stzh-components/p-3042b23e.entry.js +0 -1
- package/dist/stzh-components/p-3beb58d6.system.entry.js +0 -1
- package/dist/stzh-components/p-45bab70d.system.entry.js +0 -1
- package/dist/stzh-components/p-48b5b697.system.entry.js +0 -1
- package/dist/stzh-components/p-552f49c4.entry.js +0 -1
- package/dist/stzh-components/p-55cdbf79.entry.js +0 -1
- package/dist/stzh-components/p-62db1e59.entry.js +0 -1
- package/dist/stzh-components/p-638bedfa.entry.js +0 -1
- package/dist/stzh-components/p-6425898c.entry.js +0 -1
- package/dist/stzh-components/p-676fd54d.entry.js +0 -1
- package/dist/stzh-components/p-69f4a27e.entry.js +0 -1
- package/dist/stzh-components/p-764ba190.entry.js +0 -1
- package/dist/stzh-components/p-7d8c9866.entry.js +0 -1
- package/dist/stzh-components/p-80d70586.entry.js +0 -1
- package/dist/stzh-components/p-838df84a.system.entry.js +0 -1
- package/dist/stzh-components/p-85161133.js +0 -1
- package/dist/stzh-components/p-864d7c50.entry.js +0 -1
- package/dist/stzh-components/p-93e8e31f.js +0 -2
- package/dist/stzh-components/p-9469b812.entry.js +0 -1
- package/dist/stzh-components/p-a3fa6122.system.entry.js +0 -1
- package/dist/stzh-components/p-a448f5a5.entry.js +0 -1
- package/dist/stzh-components/p-a646c09a.entry.js +0 -1
- package/dist/stzh-components/p-a6627504.entry.js +0 -1
- package/dist/stzh-components/p-b391d962.system.entry.js +0 -1
- package/dist/stzh-components/p-b70bc70c.system.js +0 -1
- package/dist/stzh-components/p-be461e19.system.entry.js +0 -1
- package/dist/stzh-components/p-bf0fdd23.system.js +0 -2
- package/dist/stzh-components/p-c1337453.entry.js +0 -1
- package/dist/stzh-components/p-cb1d4678.entry.js +0 -1
- package/dist/stzh-components/p-cd795307.entry.js +0 -1
- package/dist/stzh-components/p-cdc9e600.entry.js +0 -1
- package/dist/stzh-components/p-d7893dfd.entry.js +0 -1
- package/dist/stzh-components/p-d9643cc4.entry.js +0 -1
- package/dist/stzh-components/p-e3e3e88c.system.js +0 -1
- package/dist/stzh-components/p-ebeb8d7b.system.entry.js +0 -1
- package/dist/stzh-components/p-eca1732f.entry.js +0 -1
- package/dist/stzh-components/p-f788a468.entry.js +0 -1
- package/dist/stzh-components/p-fdd1998f.entry.js +0 -1
- package/dist/stzh-components/p-fdf0b4bc.system.entry.js +0 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,a as e,g as h}from"./p-7a4c6adb.js";import{h as n}from"./p-1f57d28e.js";import{f as r}from"./p-25a09313.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2017 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/var o;const a=window,l=a.trustedTypes,d=l?l.createPolicy("lit-html",{createHTML:t=>t}):void 0,u=`lit$${(Math.random()+"").slice(9)}$`,c="?"+u,v=`<${c}>`,p=document,g=(t="")=>p.createComment(t),f=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,b=/>/g,w=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),z=/'/g,k=/"/g,x=/^(?:script|style|textarea|title)$/i,E=(t,...s)=>({_$litType$:1,strings:t,values:s}),C=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),M=new WeakMap,$=p.createTreeWalker(p,129,null,!1),T=(t,s)=>{const i=t.length-1,e=[];let h,n=2===s?"<svg>":"",r=y;for(let a=0;a<i;a++){const s=t[a];let i,o,l=-1,d=0;for(;d<s.length&&(r.lastIndex=d,o=r.exec(s),null!==o);)d=r.lastIndex,r===y?"!--"===o[1]?r=_:void 0!==o[1]?r=b:void 0!==o[2]?(x.test(o[2])&&(h=RegExp("</"+o[2],"g")),r=w):void 0!==o[3]&&(r=w):r===w?">"===o[0]?(r=null!=h?h:y,l=-1):void 0===o[1]?l=-2:(l=r.lastIndex-o[2].length,i=o[1],r=void 0===o[3]?w:'"'===o[3]?k:z):r===k||r===z?r=w:r===_||r===b?r=y:(r=w,h=void 0);const c=r===w&&t[a+1].startsWith("/>")?" ":"";n+=r===y?s+v:l>=0?(e.push(i),s.slice(0,l)+"$lit$"+s.slice(l)+u+c):s+u+(-2===l?(e.push(void 0),a):c)}const o=n+(t[i]||"<?>")+(2===s?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==d?d.createHTML(o):o,e]};class P{constructor({strings:t,_$litType$:s},i){let e;this.parts=[];let h=0,n=0;const r=t.length-1,o=this.parts,[a,d]=T(t,s);if(this.el=P.createElement(a,i),$.currentNode=this.el.content,2===s){const t=this.el.content,s=t.firstChild;s.remove(),t.append(...s.childNodes)}for(;null!==(e=$.nextNode())&&o.length<r;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const s of e.getAttributeNames())if(s.endsWith("$lit$")||s.startsWith(u)){const i=d[n++];if(t.push(s),void 0!==i){const t=e.getAttribute(i.toLowerCase()+"$lit$").split(u),s=/([.?@])?(.*)/.exec(i);o.push({type:1,index:h,name:s[2],strings:t,ctor:"."===s[1]?O:"?"===s[1]?V:"@"===s[1]?N:q})}else o.push({type:6,index:h})}for(const s of t)e.removeAttribute(s)}if(x.test(e.tagName)){const t=e.textContent.split(u),s=t.length-1;if(s>0){e.textContent=l?l.emptyScript:"";for(let i=0;i<s;i++)e.append(t[i],g()),$.nextNode(),o.push({type:2,index:++h});e.append(t[s],g())}}}else if(8===e.nodeType)if(e.data===c)o.push({type:2,index:h});else{let t=-1;for(;-1!==(t=e.data.indexOf(u,t+1));)o.push({type:7,index:h}),t+=u.length-1}h++}}static createElement(t,s){const i=p.createElement("template");return i.innerHTML=t,i}}function F(t,s,i=t,e){var h,n,r,o;if(s===C)return s;let a=void 0!==e?null===(h=i._$Co)||void 0===h?void 0:h[e]:i._$Cl;const l=f(s)?void 0:s._$litDirective$;return(null==a?void 0:a.constructor)!==l&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===l?a=void 0:(a=new l(t),a._$AT(t,i,e)),void 0!==e?(null!==(r=(o=i)._$Co)&&void 0!==r?r:o._$Co=[])[e]=a:i._$Cl=a),void 0!==a&&(s=F(t,a._$AS(t,s.values),a,e)),s}class A{constructor(t,s){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var s;const{el:{content:i},parts:e}=this._$AD,h=(null!==(s=null==t?void 0:t.creationScope)&&void 0!==s?s:p).importNode(i,!0);$.currentNode=h;let n=$.nextNode(),r=0,o=0,a=e[0];for(;void 0!==a;){if(r===a.index){let s;2===a.type?s=new D(n,n.nextSibling,this,t):1===a.type?s=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(s=new R(n,this,t)),this.u.push(s),a=e[++o]}r!==(null==a?void 0:a.index)&&(n=$.nextNode(),r++)}return h}p(t){let s=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,s),s+=i.strings.length-2):i._$AI(t[s])),s++}}class D{constructor(t,s,i,e){var h;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=i,this.options=e,this._$Cm=null===(h=null==e?void 0:e.isConnected)||void 0===h||h}get _$AU(){var t,s;return null!==(s=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==s?s:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const s=this._$AM;return void 0!==s&&11===t.nodeType&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=F(this,t,s),f(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==C&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>m(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,s=this._$AB){return this._$AA.parentNode.insertBefore(t,s)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==S&&f(this._$AH)?this._$AA.nextSibling.data=t:this.T(p.createTextNode(t)),this._$AH=t}$(t){var s;const{values:i,_$litType$:e}=t,h="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=P.createElement(e.h,this.options)),e);if((null===(s=this._$AH)||void 0===s?void 0:s._$AD)===h)this._$AH.p(i);else{const t=new A(h,this),s=t.v(this.options);t.p(i),this.T(s),this._$AH=t}}_$AC(t){let s=M.get(t.strings);return void 0===s&&M.set(t.strings,s=new P(t)),s}k(t){m(this._$AH)||(this._$AH=[],this._$AR());const s=this._$AH;let i,e=0;for(const h of t)e===s.length?s.push(i=new D(this.O(g()),this.O(g()),this,this.options)):i=s[e],i._$AI(h),e++;e<s.length&&(this._$AR(i&&i._$AB.nextSibling,e),s.length=e)}_$AR(t=this._$AA.nextSibling,s){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,s);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var s;void 0===this._$AM&&(this._$Cm=t,null===(s=this._$AP)||void 0===s||s.call(this,t))}}class q{constructor(t,s,i,e,h){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=s,this._$AM=e,this.options=h,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,s=this,i,e){const h=this.strings;let n=!1;if(void 0===h)t=F(this,t,s,0),n=!f(t)||t!==this._$AH&&t!==C,n&&(this._$AH=t);else{const e=t;let r,o;for(t=h[0],r=0;r<h.length-1;r++)o=F(this,e[i+r],s,r),o===C&&(o=this._$AH[r]),n||(n=!f(o)||o!==this._$AH[r]),o===S?t=S:t!==S&&(t+=(null!=o?o:"")+h[r+1]),this._$AH[r]=o}n&&!e&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class O extends q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}const L=l?l.emptyScript:"";class V extends q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==S?this.element.setAttribute(this.name,L):this.element.removeAttribute(this.name)}}class N extends q{constructor(t,s,i,e,h){super(t,s,i,e,h),this.type=5}_$AI(t,s=this){var i;if((t=null!==(i=F(this,t,s,0))&&void 0!==i?i:S)===C)return;const e=this._$AH,h=t===S&&e!==S||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==S&&(e===S||h);h&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var s,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(s=this.options)||void 0===s?void 0:s.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class R{constructor(t,s,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){F(this,t)}}const U=a.litHtmlPolyfillSupport;null==U||U(P,D),(null!==(o=a.litHtmlVersions)&&void 0!==o?o:a.litHtmlVersions=[]).push("2.5.0");var j=function(t,s,i){var e=null,h=null,n=i&&i.leading,r=i&&i.trailing;null==n&&(n=!0),null==r&&(r=!n),1==n&&(r=!1);var o=function(){e&&(clearTimeout(e),e=null)},a=function(){var i=n&&!e,o=this,a=arguments;if(h=function(){return t.apply(o,a)},e||(e=setTimeout((function(){if(e=null,r)return h()}),s)),i)return i=!1,h()};return a.cancel=o,a.flush=function(){var t=h;o(),t&&t()},a};function I(t,s,i,e){return t.addEventListener(s,i,e),()=>{t.removeEventListener(s,i,e)}}var B=class{constructor(){this._disposal=this._disposal??[]}add(...t){t&&t.forEach((t=>{this._disposal.push(t)}))}empty(){this._disposal.forEach((t=>t())),this._disposal=[]}};function H(t,s,i,e){let h;function n(){h||(h=I(e?.target??t,s,i,e))}n(),t.addController({hostConnected(){n()},hostDisconnected(){h?.(),h=void 0}})}var W=class extends CustomEvent{constructor(t,s={}){super(t,s),this.triggerEvent=s.triggerEvent,this.hasOwnProperty("originEvent")||Object.defineProperties(this,{originEvent:{get(){return K(this)??this}},isOriginTrusted:{get(){return K(this)?.isTrusted??!1}}})}get originEvent(){return K(this)??this}get isOriginTrusted(){return this.originEvent?.isTrusted??!1}};function Y(t,s={}){return new W(t,s)}function K(t){let s=t.triggerEvent;for(;s&&s.triggerEvent;)s=s.triggerEvent;return s}function X(t,s){(K(t)??t).triggerEvent=s}var J=new Map;function Z(t){const s=Symbol("@vidstack/context");return{id:s,consume:i=>new class{constructor(t,s,i){this._host=t,this.initialValue=s,this._options=i,this._registrationCallbacks=[],t.addController({hostConnected:()=>{this._connect()},hostDisconnected:()=>{delete this._host[this.id]}})}get id(){return this._options.id}get value(){return this._host[this.id]??this.initialValue}get registered(){return this.id in this._host}_connect(){if(this.id in this._host)return;const t=t=>{this._host[this.id]=t,this._registrationCallbacks?.forEach((s=>s(t))),this._registrationCallbacks=void 0};if(this._host.dispatchEvent(Y("vds-context-consumer-connect",{bubbles:!0,composed:!0,detail:{id:this.id,setValue:t}})),!this.registered){const s=J.get(this.id)??[];s.push({host:this._host,setValue:t}),J.set(this.id,s)}}whenRegistered(t){this.registered?t(this.value):this._registrationCallbacks?.push(t)}}(i,t(),{id:s}),provide:i=>new class{constructor(t,s,i){this._host=t,this._initValue=s,this._options=i,this._stopDisposal=new B,this._value=s(),t.addController({hostConnected:this.start.bind(this),hostDisconnected:this.stop.bind(this)})}get id(){return this._options.id}get value(){return this._value}start(){const t=I(this._host,"vds-context-consumer-connect",this._handleConsumerConnect.bind(this));for(const s of function(t,s){const i=J.get(t)??[],e=i.filter((({host:t})=>s.contains(t)));return J.set(t,i.filter((({host:t})=>!s.contains(t)))),e}(this.id,this._host))s.setValue(this._value);this._stopDisposal.add(t)}stop(){this._stopDisposal.empty()}_handleConsumerConnect(t){const s=t.detail;s.id===this.id&&(t.stopImmediatePropagation(),s.setValue(this._value))}}(i,t,{id:s})}}function G(t){return"symbol"==typeof t?.id&&"@vidstack/context"===t.id.description}function Q(){}function tt(t){return void 0===t}function st(t){return function(t){return null===t}(t)||tt(t)}function it(t){return"number"==typeof t&&!Number.isNaN(t)}function et(t){return"string"==typeof t}function ht(t){return"function"==typeof t}var nt=new Map,rt=new Map;function ot(t,s,i={}){const e=i.register,h=new B,n=t=>{h.add(t)},r={element:t,onDisconnect:n};t.addController({hostConnected(){const i=Y(s,{bubbles:!0,composed:!0,detail:r});t.dispatchEvent(i),e&&(rt.set(e,(rt.get(e)??new Set).add(r)),function(t,s,i){for(const{host:e,callback:h}of Array.from(nt.get(s)??[]))e!==t&&e.contains(t)&&h(t,i)}(t,e,n))},hostDisconnected(){h.empty(),e&&rt.get(e)?.delete(r)}})}var at="undefined"!=typeof window,lt=at?window.navigator?.userAgent.toLowerCase():"",dt=/iphone|ipad|ipod|ios|CriOS|FxiOS/.test(lt);/android/.test(lt),at&&/(iPhone|iPod)/gi.test(window.navigator?.platform),/firefox/.test(lt);var ut=at&&!!window.chrome;at&&!ut&&(window.safari||dt||/(apple|safari)/.test(lt));var ct={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5,fullscreen:6},vt=["webkitFullscreenEnabled","webkitFullscreenElement","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],pt=["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],gt=["msFullscreenEnabled","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"],ft="undefined"!=typeof window&&void 0!==window.document?window.document:{},mt="fullscreenEnabled"in ft&&Object.keys(ct)||vt[0]in ft&&vt||pt[0]in ft&&pt||gt[0]in ft&>||[],yt={requestFullscreen:function(t){return t[mt[ct.requestFullscreen]]()},requestFullscreenFunction:function(t){return t[mt[ct.requestFullscreen]]},get exitFullscreen(){return ft[mt[ct.exitFullscreen]].bind(ft)},get fullscreenPseudoClass(){return":"+mt[ct.fullscreen]},addEventListener:function(t,s,i){return ft.addEventListener(mt[ct[t]],s,i)},removeEventListener:function(t,s,i){return ft.removeEventListener(mt[ct[t]],s,i)},get fullscreenEnabled(){return Boolean(ft[mt[ct.fullscreenEnabled]])},set fullscreenEnabled(t){},get fullscreenElement(){return ft[mt[ct.fullscreenElement]]},set fullscreenElement(t){},get onfullscreenchange(){return ft[("on"+mt[ct.fullscreenchange]).toLowerCase()]},set onfullscreenchange(t){return ft[("on"+mt[ct.fullscreenchange]).toLowerCase()]=t},get onfullscreenerror(){return ft[("on"+mt[ct.fullscreenerror]).toLowerCase()]},set onfullscreenerror(t){return ft[("on"+mt[ct.fullscreenerror]).toLowerCase()]=t}};function _t(t,s=2){return Number(t.toFixed(s))}function bt(t,s,i){return Math.max(t,Math.min(i,s))}function wt(t){return String(t).split(".")[1]?.length??0}!function(){if(at&&!tt(window.localStorage)){let t={};try{t=JSON.parse(localStorage.getItem("@vidstack/log-colors")??"")}catch{}new Map(Object.entries(t))}}(),Object.freeze({silent:0,error:1,warn:2,info:3,debug:4}),Object.freeze({silent:"white",error:"hsl(6, 58%, 50%)",warn:"hsl(51, 58%, 50%)",info:"hsl(219, 58%, 50%)",debug:"hsl(280, 58%, 50%)"});var zt=class{constructor(t,s){this._host=t,this._screenOrientationController=s,this._logger=void 0,this._listenerDisposal=new B,t.addController({hostDisconnected:this._handleHostDisconnected.bind(this)})}async _handleHostDisconnected(){this.isFullscreen&&await this.exitFullscreen(),this._listenerDisposal.empty()}get isSupported(){return this.isSupportedNatively}get isSupportedNatively(){return yt.fullscreenEnabled}get isFullscreen(){return this.isNativeFullscreen}get isNativeFullscreen(){if(yt.fullscreenElement===this._host)return!0;try{return this._host.matches(yt.fullscreenPseudoClass)}catch(t){return!1}}_addFullscreenChangeEventListener(t){if(!this.isSupported)return Q;const s=I(yt,"fullscreenchange",t);return()=>{s()}}_addFullscreenErrorEventListener(t){if(!this.isSupported)return Q;const s=I(yt,"fullscreenerror",t);return()=>{s()}}async enterFullscreen(){if(this.isFullscreen)return;this._throwIfNoFullscreenSupport(),this._listenerDisposal.add(this._addFullscreenChangeEventListener(this._handleFullscreenChange.bind(this))),this._listenerDisposal.add(this._addFullscreenErrorEventListener(this._handleFullscreenError.bind(this)));const t=await this._makeEnterFullscreenRequest();return await this._lockScreenOrientation(),t}async _makeEnterFullscreenRequest(){return yt.requestFullscreen(this._host)}_handleFullscreenChange(t){this.isFullscreen||this._listenerDisposal.empty(),this._host.dispatchEvent(Y("vds-fullscreen-change",{bubbles:!0,composed:!0,detail:this.isFullscreen,triggerEvent:t}))}_handleFullscreenError(t){this._host.dispatchEvent(Y("vds-fullscreen-error",{bubbles:!0,composed:!0,triggerEvent:t}))}async exitFullscreen(){if(!this.isFullscreen)return;this._throwIfNoFullscreenSupport();const t=await this._makeExitFullscreenRequest();return await this._unlockScreenOrientation(),t}async _makeExitFullscreenRequest(){return yt.exitFullscreen()}_shouldOrientScreen(){return this._screenOrientationController.canOrient&&!tt(this.screenOrientationLock)}async _lockScreenOrientation(){!tt(this.screenOrientationLock)&&this._shouldOrientScreen()&&await this._screenOrientationController.lock(this.screenOrientationLock)}async _unlockScreenOrientation(){this._shouldOrientScreen()&&await this._screenOrientationController.unlock()}_throwIfNoFullscreenSupport(){if(!this.isSupported)throw Error("Fullscreen API is not enabled or supported in this environment.")}};function kt(t){return new class{constructor(t){this._host=t;const s=new B;let i=!1;s.add(I(document,"pointerdown",(()=>{i=!1}))),H(t,"keydown",(t=>{t.metaKey||t.altKey||t.ctrlKey||(i=!0)})),H(t,"focus",(()=>{i&&t.classList.add("focus-visible")})),H(t,"blur",(()=>{t.classList.remove("focus-visible")})),t.addController({hostDisconnected:()=>{s.empty()}})}}(t)}function xt(){let t=Q,s=Q;return{promise:new Promise(((i,e)=>{t=i,s=e})),resolve:t,reject:s}}var Et=class{constructor(){this._requestQueue=new Map,this._requestKeys=[],this._pendingFlush=xt(),this._isServing=!1}get isServing(){return this._isServing}get size(){return this._requestQueue.size}async waitForFlush(){this._isServing||await this._pendingFlush.promise}queue(t,s){this._isServing?s():(this._requestKeys=[...this._requestKeys.filter((s=>s!==t)),t],this._requestQueue.set(t,s))}serve(t){this._requestQueue.get(t)?.(),this._requestQueue.delete(t)}start(){this._flush(),this._isServing=!0,this._requestQueue.size>0&&this._flush()}_flush(){for(const t of this._requestKeys)this.serve(t);this._requestKeys=[],this._release()}_empty(){this._requestQueue.clear()}_release(){this._pendingFlush.resolve(),this._pendingFlush=xt()}stop(){this._isServing=!1}destroy(){this.stop(),this._empty(),this._release()}};function Ct(t){const s=new Et;return t.addController({hostConnected:s.start.bind(s),hostDisconnected:s.destroy.bind(s)}),s}var St=class{constructor(t){this._host=t,this._isScreenOrientationLocked=!1,this._logger=void 0,this._updateScreenOrientation(),this._listenerDisposal=new B,t.addController({hostConnected:this._handleHostConnected.bind(this),hostDisconnected:this._handleHostDisconnected.bind(this)})}async _handleHostConnected(){this._updateScreenOrientation(),this._addScreenOrientationEventListeners()}async _handleHostDisconnected(){this.canOrient&&this._isScreenOrientationLocked&&await this.unlock(),this._listenerDisposal.empty()}get currentOrientation(){return this._screenOrientation}get canOrient(){return at&&!tt(screen.orientation)&&ht(screen.orientation.lock)&&ht(screen.orientation.unlock)}get isLocked(){return this._isScreenOrientationLocked}async lock(t){this._throwIfScreenOrientationUnavailable(),await screen.orientation.lock(t),this._isScreenOrientationLocked=!0,this._host.dispatchEvent(Y("vds-screen-orientation-lock-change",{bubbles:!0,composed:!0,detail:t}))}async unlock(){this._throwIfScreenOrientationUnavailable(),await screen.orientation.unlock(),this._isScreenOrientationLocked=!1,this._host.dispatchEvent(Y("vds-screen-orientation-lock-change",{bubbles:!0,composed:!0,detail:screen.orientation.type}))}_addScreenOrientationEventListeners(){this.canOrient&&this._listenerDisposal.add(this._addScreenOrientationChangeEventListener())}_addScreenOrientationChangeEventListener(){return I(screen.orientation,"change",this._handleOrientationChange.bind(this))}_handleOrientationChange(t){this._screenOrientation=window.screen.orientation.type,this._host.dispatchEvent(Y("vds-screen-orientation-change",{bubbles:!0,composed:!0,detail:this._screenOrientation,triggerEvent:t}))}_updateScreenOrientation(){this._screenOrientation=at?window.screen?.orientation?.type:void 0}_throwIfScreenOrientationUnavailable(){if(!this.canOrient)throw Error("Screen orientation API is not available.")}};function Mt(t){return Object.keys(t)}var $t=[];function Tt(t,s=Q){let i;const e=new Set;function h(s){if(function(t,s){return t!=t?s==s:t!==s||t&&"object"==typeof t||"function"==typeof t}(t,s)&&(t=s,i)){const s=!$t.length;for(const i of e)i[1](),$t.push(i,t);if(s){for(let t=0;t<$t.length;t+=2)$t[t][0]($t[t+1]);$t.length=0}}}return{initialValue:t,set:h,update:function(s){h(s(t))},subscribe:function(n,r=Q){const o=[n,r];return e.add(o),1===e.size&&(i=s(h)||Q),n(t),()=>{e.delete(o),0===e.size&&(i?.(),i=null)}}}}function Pt(t,s,i){const e=!Array.isArray(t),h=e?[t]:t,n=s.length<2;return{initialValue:r=i,subscribe:Tt(r,(t=>{let i=!1;const r=[];let o=0,a=Q;const l=()=>{if(o)return;a();const i=s(e?r[0]:r,t);n?t(i):a=ht(i)?i:Q},d=h.map(((t,s)=>t.subscribe((t=>{r[s]=t,o&=~(1<<s),i&&l()}),(()=>{o|=1<<s}))));return i=!0,l(),function(){d.forEach((t=>t())),a()}})).subscribe};var r}function Ft(t){let s;return t.subscribe((t=>s=t))(),s}function At(t,s){for(const i of Mt(t)){const e=t[i],h=s[i];if(!e||!h)continue;const n=Ft(e);n!==Ft(h)&&h.set(n)}}function Dt(t){return new Proxy(t,{get:(t,s)=>Ft(t[s]),has:(t,s)=>Reflect.has(t,s),ownKeys:t=>Reflect.ownKeys(t),getOwnPropertyDescriptor:(t,s)=>Reflect.getOwnPropertyDescriptor(t,s)})}function qt(t){return new Promise((s=>{const i=window.requestAnimationFrame((async()=>{await(t?.()),s(i)}))}))}function Ot(t,s,i=at){const e=i&&!tt(window.customElements.get(t));i&&!e&&window.customElements.define(t,s)}function Lt(t,s,i){if(st(i)||!1===i)t.removeAttribute(s);else{const e=et(i)?i:"";t.setAttribute(s,e)}}function Vt(t,s,i){t.hasAttribute(s)||t.setAttribute(s,i)}function Nt(t,s,i,e="vds"){t.style.setProperty(`--${e}-${s}`,i||null)}function Rt(t){const s=window.requestIdleCallback??(t=>t());"complete"===document.readyState?s(t):window.addEventListener("load",(()=>{s(t)}),{once:!0})}function Ut(t){return t?.type.startsWith("key")??!1}function jt(t,s){const i=String(t),e=i.length;return e<s?`${"0".repeat(s-e)}${t}`:i}function It(t){return{hours:Math.trunc(t/3600),minutes:Math.trunc(t%3600/60),seconds:Math.trunc(t%60),fraction:Number((t-Math.trunc(t)).toPrecision(3))}}function Bt(t,s=!1,i=!1){const{hours:e,minutes:h,seconds:n}=It(t),r=s?jt(e,2):e,o=jt(h,2),a=jt(n,2);return e>0||i?`${r}:${o}:${a}`:`${h}:${a}`}function Ht(t){const s=[],{hours:i,minutes:e,seconds:h}=It(t),n=(t,s)=>1===t?s:`${s}s`;return i>0&&s.push(`${i} ${n(i,"hour")}`),e>0&&s.push(`${e} ${n(e,"minute")}`),(h>0||0===s.length)&&s.push(`${h} ${n(h,"second")}`),s.join(", ")}function Wt(t){let s;const i=()=>!tt(s);function e(...e){i()||(s=window.requestAnimationFrame((()=>{t.apply(this,e),s=void 0})))}return e.cancel=()=>{tt(s)||(window.cancelAnimationFrame(s),s=void 0)},e.pending=i,e}var Yt=Z((()=>Tt(void 0)));function Kt(t,s,i,e){return function(t,s,i){if(!it(s)||s<0||s>i)throw new Error(`Failed to execute '${t}' on 'TimeRanges': The index provided (${s}) is non-numeric or out of bounds (0-${i}).`)}(t,e,i.length-1),i[e][s]}function Xt(t){if(tt(t)||0===t.length){const t=()=>{throw new Error("This TimeRanges object is empty")};return{length:0,start:t,end:t}}return{length:t.length,start:Kt.bind(null,"start",0,t),end:Kt.bind(null,"end",1,t)}}function Jt(t,s){return Array.isArray(t)?Xt(t):tt(t)||tt(s)?Xt():Xt([[t,s]])}var Zt={autoplay:!1,autoplayError:void 0,buffered:Jt(),duration:0,bufferedAmount:0,canLoad:!1,canPlay:!1,canFullscreen:!1,controls:!1,poster:"",currentSrc:"",currentTime:0,ended:!1,error:void 0,fullscreen:!1,userIdle:!1,loop:!1,mediaType:"unknown",muted:!1,paused:!0,played:Jt(),playing:!1,playsinline:!1,seekable:Jt(),seekableAmount:0,seeking:!1,src:[],started:!1,viewType:"unknown",volume:1,waiting:!1};function Gt(){const t={};for(const s of Mt(Zt))t[s]=Tt(Zt[s]);return t}var Qt=new Set(["autoplay","canFullscreen","canLoad","controls","currentSrc","loop","muted","playsinline","poster","src","viewType","volume"]),ts=Z(Gt);function ss(t,s,i){return function(t,s,i,e){if(!G(s))return function(t,s,i){let e,h;const n=()=>{h=(e?.value??s).subscribe(i)};G(s)&&(e=s.consume(t)),t.addController({hostConnected(){G(s)?e.whenRegistered(n):n()},hostDisconnected(){h?.()}})}(t,s[i],e);{const h=s.consume(t);let n;const r=()=>{n=h.value[i].subscribe(e)};t.addController({hostConnected:()=>{h.whenRegistered(r)},hostDisconnected:()=>{n?.()}})}}(t,ts,s,i)}var is=Object.defineProperty,es=Object.getOwnPropertyDescriptor,hs=(t,s,i,e)=>{for(var h,n=e>1?void 0:e?es(s,i):s,r=t.length-1;r>=0;r--)(h=t[r])&&(n=(e?h(s,i,n):h(n))||n);return e&&n&&is(s,i,n),n};
|
|
7
|
+
/**
|
|
8
|
+
* @license
|
|
9
|
+
* Copyright 2019 Google LLC
|
|
10
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
|
+
*/
|
|
12
|
+
const ns=window,rs=ns.ShadowRoot&&(void 0===ns.ShadyCSS||ns.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,os=Symbol(),as=new WeakMap;class ls{constructor(t,s,i){if(this._$cssResult$=!0,i!==os)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=s}get styleSheet(){let t=this.o;const s=this.t;if(rs&&void 0===t){const i=void 0!==s&&1===s.length;i&&(t=as.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&as.set(s,t))}return t}toString(){return this.cssText}}const ds=(t,...s)=>{const i=1===t.length?t[0]:s.reduce(((s,i,e)=>s+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[e+1]),t[0]);return new ls(i,t,os)},us=rs?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let s="";for(const i of t.cssRules)s+=i.cssText;return(t=>new ls("string"==typeof t?t:t+"",void 0,os))(s)})(t):t
|
|
13
|
+
/**
|
|
14
|
+
* @license
|
|
15
|
+
* Copyright 2017 Google LLC
|
|
16
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
|
+
*/;var cs;const vs=window,ps=vs.trustedTypes,gs=ps?ps.emptyScript:"",fs=vs.reactiveElementPolyfillSupport,ms={toAttribute(t,s){switch(s){case Boolean:t=t?gs:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},ys=(t,s)=>s!==t&&(s==s||t==t),_s={attribute:!0,type:String,converter:ms,reflect:!1,hasChanged:ys};class bs extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var s;this.finalize(),(null!==(s=this.h)&&void 0!==s?s:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((s,i)=>{const e=this._$Ep(i,s);void 0!==e&&(this._$Ev.set(e,i),t.push(e))})),t}static createProperty(t,s=_s){if(s.state&&(s.attribute=!1),this.finalize(),this.elementProperties.set(t,s),!s.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,i,s);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,s,i){return{get(){return this[s]},set(e){const h=this[t];this[s]=e,this.requestUpdate(t,h,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||_s}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,s=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of s)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const s=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)s.unshift(us(t))}else void 0!==t&&s.push(us(t));return s}static _$Ep(t,s){const i=s.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var s,i;(null!==(s=this._$ES)&&void 0!==s?s:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var s;null===(s=this._$ES)||void 0===s||s.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,s)=>{this.hasOwnProperty(s)&&(this._$Ei.set(s,this[s]),delete this[s])}))}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,s)=>{rs?t.adoptedStyleSheets=s.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):s.forEach((s=>{const i=document.createElement("style"),e=ns.litNonce;void 0!==e&&i.setAttribute("nonce",e),i.textContent=s.cssText,t.appendChild(i)}))})(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var s;return null===(s=t.hostConnected)||void 0===s?void 0:s.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var s;return null===(s=t.hostDisconnected)||void 0===s?void 0:s.call(t)}))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EO(t,s,i=_s){var e;const h=this.constructor._$Ep(t,i);if(void 0!==h&&!0===i.reflect){const n=(void 0!==(null===(e=i.converter)||void 0===e?void 0:e.toAttribute)?i.converter:ms).toAttribute(s,i.type);this._$El=t,null==n?this.removeAttribute(h):this.setAttribute(h,n),this._$El=null}}_$AK(t,s){var i;const e=this.constructor,h=e._$Ev.get(t);if(void 0!==h&&this._$El!==h){const t=e.getPropertyOptions(h),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:ms;this._$El=h,this[h]=n.fromAttribute(s,t.type),this._$El=null}}requestUpdate(t,s,i){let e=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||ys)(this[t],s)?(this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((t,s)=>this[s]=t)),this._$Ei=void 0);let s=!1;const i=this._$AL;try{s=this.shouldUpdate(i),s?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var s;return null===(s=t.hostUpdate)||void 0===s?void 0:s.call(t)})),this.update(i)):this._$Ek()}catch(t){throw s=!1,this._$Ek(),t}s&&this._$AE(i)}willUpdate(t){}_$AE(t){var s;null===(s=this._$ES)||void 0===s||s.forEach((t=>{var s;return null===(s=t.hostUpdated)||void 0===s?void 0:s.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,s)=>this._$EO(s,this[s],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
|
|
18
|
+
/**
|
|
19
|
+
* @license
|
|
20
|
+
* Copyright 2017 Google LLC
|
|
21
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
+
*/
|
|
23
|
+
var ws,zs;bs.finalized=!0,bs.elementProperties=new Map,bs.elementStyles=[],bs.shadowRootOptions={mode:"open"},null==fs||fs({ReactiveElement:bs}),(null!==(cs=vs.reactiveElementVersions)&&void 0!==cs?cs:vs.reactiveElementVersions=[]).push("1.5.0");class ks extends bs{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,s;const i=super.createRenderRoot();return null!==(t=(s=this.renderOptions).renderBefore)&&void 0!==t||(s.renderBefore=i.firstChild),i}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,s,i)=>{var e,h;const n=null!==(e=null==i?void 0:i.renderBefore)&&void 0!==e?e:s;let r=n._$litPart$;if(void 0===r){const t=null!==(h=null==i?void 0:i.renderBefore)&&void 0!==h?h:null;n._$litPart$=r=new D(s.insertBefore(g(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(s,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return C}}ks.finalized=!0,ks._$litElement$=!0,null===(ws=globalThis.litElementHydrateSupport)||void 0===ws||ws.call(globalThis,{LitElement:ks});const xs=globalThis.litElementPolyfillSupport;null==xs||xs({LitElement:ks}),(null!==(zs=globalThis.litElementVersions)&&void 0!==zs?zs:globalThis.litElementVersions=[]).push("3.2.2");
|
|
24
|
+
/**
|
|
25
|
+
* @license
|
|
26
|
+
* Copyright 2017 Google LLC
|
|
27
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
28
|
+
*/
|
|
29
|
+
const Es=(t,s)=>"method"===s.kind&&s.descriptor&&!("value"in s.descriptor)?{...s,finisher(i){i.createProperty(s.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:s.key,initializer(){"function"==typeof s.initializer&&(this[s.key]=s.initializer.call(this))},finisher(i){i.createProperty(s.key,t)}};function Cs(t){return(s,i)=>void 0!==i?((t,s,i)=>{s.constructor.createProperty(i,t)})(t,s,i):Es(t,s)
|
|
30
|
+
/**
|
|
31
|
+
* @license
|
|
32
|
+
* Copyright 2017 Google LLC
|
|
33
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
34
|
+
*/}function Ss(t){return Cs({...t,state:!0})}var Ms=Symbol("@vidstack/media-provider-discovery"),$s=class extends ks{constructor(){super(),this._disconnectDisposal=new B,this._logger=void 0,this.loading="visible",this._attemptingAutoplay=!1,this.controllerQueue=new Et,this._store=Gt(),this._state=Dt(this._store),this.connectedQueue=Ct(this),this.mediaQueue=new Et,this.screenOrientationController=new St(this),this.fullscreenController=new zt(this,this.screenOrientationController),ot(this,"vds-media-provider-connect",{register:Ms});const t=function(...t){return new class{constructor(t,s={},i=(()=>!0),e){this._host=t,this._callback=i,this._logger=e,this._skipInitial=!1,this._unobservedUpdate=!1;const{target:h,skipInitial:n,...r}=s;this._target=h??void 0,this._skipInitial=n??this._skipInitial,window.IntersectionObserver&&(this._observer=new IntersectionObserver((t=>{const s=this._unobservedUpdate;this._unobservedUpdate=!1,this._skipInitial&&s||(this.handleChanges(t),this._host.requestUpdate())}),r),t.addController(this))}handleChanges(t){this.value=this._callback(t,this._observer)}hostConnected(){this._target&&this.observe(this._target)}hostDisconnected(){this._disconnect()}async hostUpdated(){const t=this._observer.takeRecords();t.length&&this.handleChanges(t)}observe(t){return this._observer.observe(t),this._unobservedUpdate=!0,()=>{this._observer.unobserve(t)}}_disconnect(){this._observer.disconnect()}}(...t)}(this,{target:this,threshold:0},(s=>{/(visible|lazy)/.test(this.loading)?s[0]?.isIntersecting&&(this.startLoadingMedia(),t.hostDisconnected()):t.hostDisconnected()}))}connectedCallback(){super.connectedCallback(),this._logMediaEvents(),window.requestAnimationFrame((()=>{tt(this.canLoadPoster)&&(this.canLoadPoster=!0)}))}firstUpdated(t){super.firstUpdated(t),this.dispatchEvent(Y("vds-fullscreen-support-change",{detail:this.canFullscreen})),this.canLoad||"eager"===this.loading?window?.requestAnimationFrame((()=>{this.startLoadingMedia()})):"idle"===this.loading&&Rt((()=>{this.startLoadingMedia()}))}render(){return E`<slot @slotchange="${this.handleDefaultSlotChange}"></slot>`}disconnectedCallback(){this._updateMediaStoreOnDisconnect(this._store),this.mediaQueue.destroy(),this._disconnectDisposal.empty(),super.disconnectedCallback(),qt((()=>{qt((()=>{this.isConnected||this.destroy()}))}))}_updateMediaStoreOnDisconnect(t){t.paused.set(!0),t.playing.set(!1),t.seeking.set(!1),t.waiting.set(!1),t.fullscreen.set(!1)}destroy(){this.isConnected&&this.disconnectedCallback(),this.dispatchEvent(Y("vds-destroy"))}_logMediaEvents(){}get volume(){return this._getVolume()}set volume(t){this.mediaQueue.queue("volume",(()=>{const s=this.volume,i=bt(0,t,1);s!==i&&(this._setVolume(i),this.requestUpdate("volume",s))}))}get paused(){return this._getPaused()}set paused(t){this.mediaQueue.queue("paused",(()=>{if(this.paused!==t)try{t?this.pause():this.play(),this.requestUpdate("paused",!t)}catch(Cs){this._logger?.error("paused-change-fail",Cs)}}))}get currentTime(){return this._getCurrentTime()}set currentTime(t){this.mediaQueue.queue("current-time",(()=>{const s=this.currentTime;s!==t&&(this._setCurrentTime(t),this.requestUpdate("currentTime",s))}))}get muted(){return this._getMuted()}set muted(t){this.mediaQueue.queue("muted",(()=>{const s=this.muted;s!==t&&(this._setMuted(t),this.requestUpdate("muted",s))}))}get poster(){return this.state.poster}set poster(t){const s=this.poster;s!==t&&(this.dispatchEvent(Y("vds-poster-change",{detail:t})),this.requestUpdate("poster",s))}get loop(){return this.state.loop}set loop(t){const s=this.loop;s!==t&&(this.dispatchEvent(Y("vds-loop-change",{detail:t})),this.requestUpdate("loop",s))}get controls(){return this.state.controls}set controls(t){const s=this.controls;s!==t&&(this.dispatchEvent(Y("vds-controls-change",{detail:t})),this.requestUpdate("controls",s))}get canLoad(){return this.state.canLoad}startLoadingMedia(){this.state.canPlay||this.dispatchEvent(Y("vds-can-load"))}_throwIfNotReadyForPlayback(){if(!this.state.canPlay)throw Error("Media is not ready - wait for `vds-can-play` event.")}async _resetPlaybackIfEnded(){if(this.state.ended&&0!==this.state.currentTime)return this._setCurrentTime(0)}_throwIfNotVideoView(){if("video"!==this.state.viewType)throw Error("Player is currently not in a video view.")}async _handleMediaReady({event:t,duration:s}){this.state.canPlay||(this.dispatchEvent(Y("vds-can-play",{triggerEvent:t,detail:{duration:s}})),this.mediaQueue.start(),await this._attemptAutoplay())}_handleCurrentSrcChange(t,s){this.state.currentSrc!==t&&(this.mediaQueue.stop(),this.dispatchEvent(Y("vds-current-src-change",{detail:t,triggerEvent:s})))}get autoplay(){return this.state.autoplay}set autoplay(t){this.autoplay!==t&&(this.dispatchEvent(Y("vds-autoplay-change",{detail:t})),this.requestUpdate("autoplay",!t)),this._attemptAutoplay()}get _canAttemptAutoplay(){return this.state.canPlay&&this.state.autoplay&&!this.state.started}async _attemptAutoplay(){if(this._canAttemptAutoplay){this._attemptingAutoplay=!0;try{await this.play(),this.dispatchEvent(Y("vds-autoplay",{detail:{muted:this.muted}}))}catch(t){this.dispatchEvent(Y("vds-autoplay-fail",{detail:{muted:this.muted,error:t}})),this.requestUpdate()}this._attemptingAutoplay=!1}}get controller(){return this._controller}get logLevel(){return this._controller?.logLevel??"silent"}set logLevel(t){}get idleDelay(){return this._controller?.idleDelay??0}set idleDelay(t){this.controllerQueue.queue("idle-delay",(()=>{this._controller.idleDelay=t}))}attachMediaController(t,s){this._controller=t,this._store=t._store,this._state=t.state,this.controllerQueue.start(),s((()=>{this.controllerQueue.destroy(),this._store=Gt(),this._state=Dt(this._store),this._controller&&(At(this._controller._store,this._store),this._updateMediaStoreOnDisconnect(this._controller._store)),this._controller=void 0}))}dispatchEvent(t){return!this._controller&&t.type.startsWith("vds-")&&"vds-destroy"!==t.type?(this.controllerQueue.queue(t.type,(()=>{super.dispatchEvent(t)})),!1):super.dispatchEvent(t)}store(){return this._store}get state(){return this._state}get canFullscreen(){return this.fullscreenController.isSupported}get fullscreen(){return this.fullscreenController.isFullscreen}get fullscreenOrientation(){return this.fullscreenController.screenOrientationLock}set fullscreenOrientation(t){const s=this.fullscreenController.screenOrientationLock;s!==t&&(this.fullscreenController.screenOrientationLock=t,this.requestUpdate("fullscreen-orientation",s))}enterFullscreen(){return this.fullscreenController.enterFullscreen()}exitFullscreen(){return this.fullscreenController.exitFullscreen()}};hs([Cs({type:Number})],$s.prototype,"volume",1),hs([Cs({type:Boolean})],$s.prototype,"paused",1),hs([Cs({type:Number})],$s.prototype,"currentTime",1),hs([Cs({type:Boolean})],$s.prototype,"muted",1),hs([Cs()],$s.prototype,"poster",1),hs([Cs({type:Boolean})],$s.prototype,"loop",1),hs([Cs({type:Boolean})],$s.prototype,"controls",1),hs([Ss()],$s.prototype,"canLoadPoster",2),hs([Cs({attribute:"loading"})],$s.prototype,"loading",2),hs([Cs({type:Boolean})],$s.prototype,"autoplay",1),hs([Cs({attribute:"log-level"})],$s.prototype,"logLevel",1),hs([Cs({attribute:"idle-delay",type:Number})],$s.prototype,"idleDelay",1),hs([Cs({attribute:"fullscreen-orientation"})],$s.prototype,"fullscreenOrientation",1);var Ts=class{constructor(t,s,i){this._host=t,this._store=s,this._mediaProps=i,this._disposal=new B,this._host.addController({hostConnected:this._hostConnected.bind(this),hostDisconnected:this._hostDisconnected.bind(this)})}_hostConnected(){Rt((()=>{for(const t of this._mediaProps){const s=this._store[t];if(s){const i=this._getMediaAttrName(t),e=s.subscribe((s=>{window?.requestAnimationFrame((()=>{this._handleValueChange(t,i,s)}))}));this._disposal.add(e)}}}))}_hostDisconnected(){for(const t of this._mediaProps)this._handleDisconnect(t,this._getMediaAttrName(t));this._disposal.empty()}_getMediaAttrName(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},Ps=class extends Ts{_handleValueChange(t,s,i){window.requestAnimationFrame((()=>{Lt(this._host,s,et(i)||it(i)?String(i):!!i)}))}_handleDisconnect(t,s){this._host.removeAttribute(s)}},Fs=class extends Ts{_handleValueChange(t,s,i){window.requestAnimationFrame((()=>{this._host.style.setProperty(this._getCssPropName(s),et(i)||it(i)?String(i):null)}))}_getCssPropName(t){return`--vds-${t}`}_handleDisconnect(t,s){this._host.style.setProperty(this._getCssPropName(s),null)}},As=Symbol("@vidstack/media-discovery"),Ds=class extends ks{constructor(){super(),this.controller=new class{constructor(t){var s,i,e,h,n,r,o;this._host=t,this._disconnectDisposal=new B,this.providerQueue=new Et,this.providerDisposal=new B,this._logController=void 0,this._logger=void 0,this._providerContext=Yt.provide(this._host),this._mediaStoreProvider=ts.provide(this._host),this.state=Dt(this._store),this._userIdleController=new class{constructor(t,s){this._host=t,this._mediaStore=s,this._idle=!1,this._mediaPaused=!1,this._idlingPaused=!1,this._disposal=new B,this.delay=2e3,t.addController(this)}get paused(){return this._idlingPaused||this._mediaPaused}set paused(t){this._idlingPaused=t,this._handleIdleChange()}hostConnected(){this._disposal.add(this._mediaStore.paused.subscribe((t=>{this._mediaPaused=t,this._handleIdleChange()}))),["pointerdown","pointermove","focus","keydown"].forEach((t=>{const s=I(this._host,t,this._handleIdleChange.bind(this));this._disposal.add(s)}))}hostDisconnected(){this._disposal.empty(),this._stopIdleTimer()}_handleIdleChange(){this.paused?this._stopIdleTimer():this._startIdleTimer()}_startIdleTimer(){this._stopIdleTimer(),this._idleTimeout=window.setTimeout((()=>{this._dispatchIdleChange(!this.paused)}),this.delay)}_stopIdleTimer(){window.clearTimeout(this._idleTimeout),this._dispatchIdleChange(!1)}_dispatchIdleChange(t){this._idle!==t&&(this._host.dispatchEvent(Y("vds-user-idle-change",{detail:t})),this._idle=t)}}(this._host,this._store),this._handleIdleChange=H(this._host,"vds-user-idle-change",(t=>{this._store.userIdle.set(t.detail),this._satisfyMediaRequest("userIdle",t)})),this._pendingMediaRequests={loading:[],play:[],pause:[],volume:[],fullscreen:[],seeked:[],seeking:[],userIdle:[]},this._handleStartLoadingRequest=H(this._host,"vds-start-loading",this._createMediaRequestHandler("loading",(t=>{this.state.canLoad||(this._pendingMediaRequests.loading.push(t),this._provider.startLoadingMedia())}))),this._handleMuteRequest=H(this._host,"vds-mute-request",this._createMediaRequestHandler("muted",(t=>{this.state.muted||(this._pendingMediaRequests.volume.push(t),this.provider.muted=!0)}))),this._handleUnmuteRequest=H(this._host,"vds-unmute-request",this._createMediaRequestHandler("muted",(t=>{this.state.muted&&(this._pendingMediaRequests.volume.push(t),this.provider.muted=!1,0===this.state.volume&&(this._pendingMediaRequests.volume.push(t),this.provider.volume=.25))}))),this._handlePlayRequest=H(this._host,"vds-play-request",this._createMediaRequestHandler("paused",(t=>{this.state.paused&&(this._pendingMediaRequests.play.push(t),this.provider.paused=!1)}))),this._handlePauseRequest=H(this._host,"vds-pause-request",this._createMediaRequestHandler("paused",(t=>{this.state.paused||(this._pendingMediaRequests.pause.push(t),this.provider.paused=!0)}))),this._isSeekingRequestPending=!1,this._handleSeekingRequest=H(this._host,"vds-seeking-request",this._createMediaRequestHandler("seeking",(t=>{this._stopWaiting(),this._pendingMediaRequests.seeking.push(t),this._isSeekingRequestPending=!0,this._store.seeking.set(!0)}))),this._handleSeekRequest=H(this._host,"vds-seek-request",this._createMediaRequestHandler("seeking",(t=>{this.store.ended&&(this._isReplay=!0),this._pendingMediaRequests.seeked.push(t),this._isSeekingRequestPending=!1;let s=t.detail;this.state.duration-t.detail<.25&&(s=this.state.duration),this.provider.currentTime=s}))),this._handleVolumeChangeRequest=H(this._host,"vds-volume-change-request",this._createMediaRequestHandler("volume",(t=>{const s=t.detail;this.state.volume!==s&&(this._pendingMediaRequests.volume.push(t),this.provider.volume=s,s>0&&this.state.muted&&(this._pendingMediaRequests.volume.push(t),this.provider.muted=!1))}))),this._handleEnterFullscreenRequest=H(this._host,"vds-enter-fullscreen-request",this._createMediaRequestHandler("fullscreen",(async t=>{this.state.fullscreen||("media"===(t.detail??"media")&&this._host.canFullscreen?(this._pendingMediaRequests.fullscreen.push(t),await(this._host.enterFullscreen?.())):this.provider&&(this._pendingMediaRequests.fullscreen.push(t),await this.provider.enterFullscreen()))}))),this._handleExitFullscreenRequest=H(this._host,"vds-exit-fullscreen-request",this._createMediaRequestHandler("fullscreen",(async t=>{this.state.fullscreen&&("media"===(t.detail??"media")&&this._host.canFullscreen?(this._pendingMediaRequests.fullscreen.push(t),await(this._host.exitFullscreen?.())):this.provider&&(this._pendingMediaRequests.fullscreen.push(t),await this.provider.exitFullscreen()))}))),this._handleResumeIdlingRequest=H(this._host,"vds-resume-user-idle-request",(t=>{this._mediaRequestEventGateway(t)&&(this._pendingMediaRequests.userIdle.push(t),this._userIdleController.paused=!1)})),this._handlePauseIdlingRequest=H(this._host,"vds-pause-user-idle-request",(t=>{this._mediaRequestEventGateway(t)&&(this._pendingMediaRequests.userIdle.push(t),this._userIdleController.paused=!0)})),this._handleShowPosterRequest=H(this._host,"vds-show-poster-request",this._createMediaRequestHandler("poster",(()=>{this._provider.canLoadPoster=!0}))),this._handleHidePosterRequest=H(this._host,"vds-hide-poster-request",this._createMediaRequestHandler("poster",(()=>{this._provider.canLoadPoster=!1}))),this._handleLoopRequest=this._createMediaRequestHandler("loop",(()=>{window.requestAnimationFrame((async()=>{try{this._isLooping=!0,this._isReplay=!0,await this._provider.play()}catch(Cs){this._isReplay=!1,this._isLooping=!1}}))})),this._handleFullscreenChange=H(this._host,"vds-fullscreen-change",(t=>{this._store.fullscreen.set(t.detail),t.target===this._host&&(this._satisfyMediaRequest("fullscreen",t),this._provider?.dispatchEvent(Y("vds-fullscreen-change",{detail:t.detail,triggerEvent:t})))})),this._handleFullscreenError=H(this._host,"vds-fullscreen-error",(t=>{t.target===this._host&&(this._satisfyMediaRequest("fullscreen",t),this._provider?.dispatchEvent(Y("vds-fullscreen-error",{detail:t.detail,triggerEvent:t})))})),this._isReplay=!1,this._isLooping=!1,this._firingWaiting=!1,this._mediaEvents=[],this._handleSeeking=j((t=>{this._mediaEvents.push(t),this._store.seeking.set(!0),this._store.currentTime.set(t.detail),this._satisfyMediaRequest("seeking",t)}),150,{leading:!0}),this._fireWaiting=(s=()=>{if(!this._originalWaitingEvent)return;this._firingWaiting=!0;const t=Y("vds-waiting",this._originalWaitingEvent);this._mediaEvents.push(t),this._store.waiting.set(!0),this._store.playing.set(!1),this._provider?.dispatchEvent(t),this._originalWaitingEvent=void 0,this._firingWaiting=!1},i=300,h=null,n=null,(o=function(){if(!i)return s.apply(this,arguments);var t=this,o=arguments,a=e&&!h;return r(),n=function(){s.apply(t,o)},h=setTimeout((function(){if(h=null,!a){var t=n;return n=null,t()}}),i),a?n():void 0}).cancel=r=function(){h&&(clearTimeout(h),n=null,h=null)},o.flush=function(){var t=n;r(),t&&t()},o),this._skipInitialSrcChange=!0,function(t,s,i){const e={host:t,callback:i};t.addController({hostConnected:()=>{for(const{element:e,onDisconnect:h}of function(t,s){return Array.from(rt.get(s)??[]).filter((({element:s})=>t!==s&&t.contains(s)))}(t,s))i(e,h);nt.set(s,(nt.get(s)??new Set).add(e))},hostDisconnected:()=>{nt.get(s)?.delete(e)}})}(t,Ms,((t,s)=>{this.attachMediaProvider(t,s)})),t.addController({hostConnected:()=>{this.state.canPlay||this._host.setAttribute("aria-busy","true")},hostDisconnected:()=>{this._clearMediaStateTracking(),this._clearPendingMediaRequests(),this.providerQueue.destroy(),this.providerDisposal.empty(),this._skipInitialSrcChange=!0,this._disconnectDisposal.empty()}})}get logLevel(){return this._logController?.logLevel??"silent"}set logLevel(t){}get provider(){return this._provider}attachMediaProvider(t,s){st(this.provider)&&this.provider!==t&&(this._handleMediaProviderDisconnect(),this._provider=t,this._providerContext.value.set(t),At(this._provider._store,this._store),this._attachMediaEventListeners(),t.attachMediaController(this,(t=>this._disconnectDisposal.add(t))),this._flushMediaProviderConnectedQueue(),s(this._handleMediaProviderDisconnect.bind(this)))}_handleMediaProviderDisconnect(){st(this.provider)||(this._stopWaiting(),this.providerQueue.destroy(),this.providerDisposal.empty(),this._provider=void 0,this._providerContext.value.set(void 0),function(t){for(const s of Mt(Zt))t[s].set(Zt[s])}(this._store),this._store.viewType.set("unknown"))}_flushMediaProviderConnectedQueue(){this.providerQueue.start(),this.providerDisposal.add((()=>{this.providerQueue.stop()}))}get store(){return this._mediaStoreProvider.value}get _store(){return this._mediaStoreProvider.value}get idleDelay(){return this._userIdleController.delay}set idleDelay(t){this._userIdleController.delay=t}_clearPendingMediaRequests(){Mt(this._pendingMediaRequests).forEach((t=>{this._pendingMediaRequests[t]=[]}))}_satisfyMediaRequest(t,s){const i=this._pendingMediaRequests[t].shift();i&&(s.requestEvent=i,X(s,i))}_mediaRequestEventGateway(t){return t.stopPropagation(),!0}_createMediaRequestHandler(t,s){return i=>{this._mediaRequestEventGateway(i)&&(this._provider?s(i):this.providerQueue.queue(t,(()=>{s(i)})))}}_attachMediaEventListeners(){if(!this._provider)return;const t={"vds-can-load":this._handleCanLoad,"vds-load-start":this._handleLoadStart,"vds-loaded-data":this._handleLoadedData,"vds-loaded-metadata":this._handleLoadedMetadata,"vds-can-play":this._handleCanPlay,"vds-can-play-through":this._handleCanPlayThrough,"vds-current-src-change":this._handleCurrentSrcChange,"vds-autoplay":this._handleAutoplay,"vds-autoplay-fail":this._handleAutoplayFail,"vds-loop-request":this._handleLoopRequest,"vds-play":this._handlePlay,"vds-play-fail":this._handlePlayFail,"vds-playing":this._handlePlaying,"vds-pause":this._handlePause,"vds-time-update":this._handleTimeUpdate,"vds-volume-change":this._handleVolumeChange,"vds-seeking":this._handleSeeking,"vds-seeked":this._handleSeeked,"vds-waiting":this._handleWaiting,"vds-ended":this._handleEnded,"vds-autoplay-change":this._handleAutoplayChange,"vds-error":this._handleError,"vds-fullscreen-support-change":this._handleFullscreenSupportChange,"vds-poster-change":this._handlePosterChange,"vds-loop-change":this._handleLoopChange,"vds-playsinline-change":this._handlePlaysinlineChange,"vds-controls-change":this._handleControlsChange,"vds-media-type-change":this._handleMediaTypeChange,"vds-view-type-change":this._handleViewTypeChange,"vds-duration-change":this._handleDurationChange,"vds-progress":this._handleProgress,"vds-src-change":this._handleSrcChange};for(const s of Mt(t)){const i=t[s].bind(this);this.providerDisposal.add(I(this._provider,s,i))}}_clearMediaStateTracking(){this._isReplay=!1,this._isLooping=!1,this._firingWaiting=!1,this._originalWaitingEvent=void 0,this._mediaEvents=[]}_findLastMediaEvent(t){return this._mediaEvents[this._mediaEvents.map((t=>t.type)).lastIndexOf(t)]}_handleCanLoad(t){this._store.canLoad.set(!0),this._mediaEvents.push(t),this._satisfyMediaRequest("loading",t)}_updateMetadata(t){this._store.currentSrc.set(t.currentSrc),this._store.mediaType.set(t.mediaType),this._store.viewType.set(t.viewType)}_handleLoadStart(t){this._updateMetadata(t.detail),this._mediaEvents.push(t),X(t,this._findLastMediaEvent("vds-src-change")),X(t,this._findLastMediaEvent("vds-can-load"))}_handleLoadedData(t){this._mediaEvents.push(t),X(t,this._findLastMediaEvent("vds-load-start"))}_handleLoadedMetadata(t){this._updateMetadata(t.detail),this._mediaEvents.push(t),X(t,this._findLastMediaEvent("vds-load-start"))}_handleCanPlay(t){this._mediaEvents.push(t),"loadedmetadata"!==t.triggerEvent?.type&&X(t,this._findLastMediaEvent("vds-loaded-metadata")),this._store.canPlay.set(!0),this._store.duration.set(t.detail.duration),this._host.setAttribute("aria-busy","false")}_handleCanPlayThrough(t){this._store.canPlay.set(!0),this._store.duration.set(t.detail.duration),X(t,this._findLastMediaEvent("vds-can-play"))}_handleAutoplay(t){this._mediaEvents.push(t),X(t,this._findLastMediaEvent("vds-play")),X(t,this._findLastMediaEvent("vds-can-play")),this._store.autoplayError.set(void 0)}_handleAutoplayFail(t){X(t,this._findLastMediaEvent("vds-play-fail")),X(t,this._findLastMediaEvent("vds-can-play")),this._store.autoplayError.set(t.detail),this._clearMediaStateTracking()}_handlePlay(t){if(!this._isLooping&&this.state.paused){if(this._mediaEvents.push(t),X(t,this._findLastMediaEvent("vds-waiting")),this._satisfyMediaRequest("play",t),this._store.paused.set(!1),this._store.autoplayError.set(void 0),this.state.ended||this._isReplay){this._isReplay=!1,this._store.ended.set(!1);const s=Y("vds-replay",{triggerEvent:t});this._provider?.dispatchEvent(s)}}else t.stopImmediatePropagation()}_handlePlayFail(t){this._mediaEvents.push(t),this._stopWaiting(),X(t,this._findLastMediaEvent("vds-play")),this._store.paused.set(!0),this._store.playing.set(!1),this._satisfyMediaRequest("play",t),this._clearMediaStateTracking()}_handlePlaying(t){this._mediaEvents.push(t);const s=this._findLastMediaEvent("vds-play");if(s?(X(t,this._findLastMediaEvent("vds-waiting")),X(t,s)):X(t,this._findLastMediaEvent("vds-seeked")),this._stopWaiting(),this._clearMediaStateTracking(),this._store.paused.set(!1),this._store.playing.set(!0),this._store.seeking.set(!1),this._store.ended.set(!1),this._isLooping)return t.stopImmediatePropagation(),void(this._isLooping=!1);this.state.started||(this._store.started.set(!0),this._provider?.dispatchEvent(Y("vds-started",{triggerEvent:t})))}_handlePause(t){this._isLooping?t.stopImmediatePropagation():(X(t,this._findLastMediaEvent("vds-seeked")),this._satisfyMediaRequest("pause",t),this._store.paused.set(!0),this._store.playing.set(!1),this._store.seeking.set(!1),this._stopWaiting(),this._clearMediaStateTracking())}_handleTimeUpdate(t){const{currentTime:s,played:i}=t.detail;this._store.currentTime.set(s),this._store.played.set(i),this._store.waiting.set(!1)}_handleVolumeChange(t){this._store.volume.set(t.detail.volume),this._store.muted.set(t.detail.muted||0===t.detail.volume),this._satisfyMediaRequest("volume",t)}_handleSeeked(t){this._isSeekingRequestPending?(this._store.seeking.set(!0),t.stopImmediatePropagation()):this.state.seeking&&(this._mediaEvents.push(t),X(t,this._findLastMediaEvent("vds-waiting")),X(t,this._findLastMediaEvent("vds-seeking")),this.state.paused&&this._stopWaiting(),this._store.seeking.set(!1),t.detail!==this.state.duration&&this._store.ended.set(!1),this._store.currentTime.set(t.detail),this._satisfyMediaRequest("seeked",t))}_stopWaiting(){this._fireWaiting.cancel(),this._store.waiting.set(!1)}_handleWaiting(t){this._firingWaiting||(t.stopImmediatePropagation(),this._originalWaitingEvent=t,this._fireWaiting())}_handleEnded(t){this._isLooping?t.stopImmediatePropagation():(this._stopWaiting(),this._store.paused.set(!0),this._store.playing.set(!1),this._store.seeking.set(!1),this._store.ended.set(!0),this._clearMediaStateTracking())}_handleAutoplayChange(t){this._store.autoplay.set(t.detail)}_handleCurrentSrcChange(t){var s;this._store.currentSrc.set(t.detail),this._skipInitialSrcChange?this._skipInitialSrcChange=!1:(this._clearMediaStateTracking(),Mt(s=this._store).forEach((t=>{Qt.has(t)||s[t].set(s[t].initialValue)})),this._host.setAttribute("aria-busy","true"))}_handleError(t){this._store.error.set(t.detail)}_handleFullscreenSupportChange(t){this._store.canFullscreen.set(t.detail)}_handlePosterChange(t){this._store.poster.set(t.detail)}_handleLoopChange(t){this._store.loop.set(t.detail)}_handlePlaysinlineChange(t){this._store.playsinline.set(t.detail)}_handleControlsChange(t){this._store.controls.set(t.detail)}_handleMediaTypeChange(t){this._store.mediaType.set(t.detail)}_handleDurationChange(t){const s=t.detail;this._store.duration.set(isNaN(s)?0:s)}_handleProgress(t){const{buffered:s,seekable:i}=t.detail,e=0===s.length?0:s.end(s.length-1),h=0===i.length?0:i.end(i.length-1);this._store.buffered.set(s),this._store.bufferedAmount.set(e),this._store.seekable.set(i),this._store.seekableAmount.set(h)}_handleSrcChange(t){this._store.src.set(t.detail)}_handleViewTypeChange(t){this._store.viewType.set(t.detail)}}(this),this.__mediaFullscreen=!1,this.__mediaIsVideoView=!1,this.__mediaPlaysinline=!1,this.screenOrientationController=new St(this),this.fullscreenController=new zt(this,this.screenOrientationController),ot(this,"vds-media-connect",{register:As}),ss(this,"fullscreen",(t=>{this.__mediaFullscreen=t})),ss(this,"viewType",(t=>{this.__mediaIsVideoView="video"===t})),ss(this,"playsinline",(t=>{this.__mediaPlaysinline=t})),this._bindMediaAttributes(),this._bindMediaCSSProperties()}static get styles(){return[ds`:host{display:inline-block;position:relative;contain:content}:host([hidden]){display:none}`]}get provider(){return this.controller.provider}update(t){Lt(this,"hide-ui",this._shouldHideMediaUI()),super.update(t)}render(){return E`<slot></slot>`}get canFullscreen(){return this.fullscreenController.isSupported}get fullscreen(){return this.fullscreenController.isFullscreen}get fullscreenOrientation(){return this.fullscreenController.screenOrientationLock}set fullscreenOrientation(t){const s=this.fullscreenController.screenOrientationLock;s!==t&&(this.fullscreenController.screenOrientationLock=t,this.requestUpdate("fullscreen-orientation",s))}enterFullscreen(){return this.fullscreenController.enterFullscreen()}exitFullscreen(){return this.fullscreenController.exitFullscreen()}_bindMediaAttributes(){!function(...t){new Ps(...t)}(this,this.controller.store,["autoplay","autoplayError","canLoad","canPlay","canFullscreen","ended","error","fullscreen","userIdle","loop","mediaType","muted","paused","playing","playsinline","seeking","started","viewType","waiting"])}_bindMediaCSSProperties(){!function(...t){new Fs(...t)}(this,this.controller.store,["bufferedAmount","currentTime","duration","seekableAmount"])}_shouldHideMediaUI(){return dt&&this.__mediaIsVideoView&&(!this.__mediaPlaysinline||this.__mediaFullscreen)}};hs([Ss()],Ds.prototype,"__mediaFullscreen",2),hs([Ss()],Ds.prototype,"__mediaIsVideoView",2),hs([Ss()],Ds.prototype,"__mediaPlaysinline",2),hs([Cs({attribute:"fullscreen-orientation"})],Ds.prototype,"fullscreenOrientation",1),Ot("vds-media",Ds);var qs=/\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,Os=/\.(mp4|og[gv]|webm|mov|m4v|avi)($|\?)/i,Ls=class extends $s{constructor(){super(...arguments),this.preload="metadata",this._timeRAF=void 0,this._hasMediaElementConnected=!1,this._mediaElementDisposal=new B,this._isMediaWaiting=!1,this._ignoreNextAbortEvent=!1,this._ignoreNextEmptiedEvent=!1}get mediaElement(){return this._mediaElement}disconnectedCallback(){this._isMediaWaiting=!1,super.disconnectedCallback(),this._cancelTimeUpdates()}destroy(){this.mediaElement&&(this.mediaElement.pause(),this.mediaElement.src="",this.mediaElement.innerHTML="",this.mediaElement.load()),super.destroy()}_cancelTimeUpdates(){it(this._timeRAF)&&window.cancelAnimationFrame(this._timeRAF),this._timeRAF=void 0}_requestTimeUpdates(){tt(this._timeRAF)&&this._requestTimeUpdate()}_requestTimeUpdate(){const t=this.mediaElement?.currentTime??0;this.state.currentTime!==t&&this._updateCurrentTime(t),this._timeRAF=window.requestAnimationFrame((()=>{tt(this._timeRAF)||this._requestTimeUpdate()}))}_updateCurrentTime(t,s){this.dispatchEvent(Y("vds-time-update",{detail:{currentTime:Math.min(t,this.mediaElement?.duration??0),played:this.mediaElement.played},triggerEvent:s}))}handleDefaultSlotChange(){this._handleMediaElementDisconnect(),this._handleMediaElementConnect()}get _canMediaElementConnect(){return this.canLoad&&!st(this.mediaElement)&&!this._hasMediaElementConnected}_findSlottedMediaElement(){const t=function(t){const s=t.shadowRoot?.querySelector("slot:not([name])")?.assignedNodes({flatten:!0})??[];return Array.prototype.filter.call(s,(t=>t.nodeType==Node.ELEMENT_NODE))}(this)[0];/^(audio|video)$/i.test(t?.tagName??""),this._mediaElement=t??void 0}_handleMediaElementConnect(){window.requestAnimationFrame((()=>{if(this._findSlottedMediaElement(),!this._canMediaElementConnect)return;const t=this.mediaElement;t.hasAttribute("loop")&&(this.loop=!0),t.removeAttribute("loop"),t.removeAttribute("poster"),Lt(t,"controls",this.controls),!this.state.canFullscreen&&this.fullscreenController.isSupported&&this.dispatchEvent(Y("vds-fullscreen-support-change",{detail:this.canFullscreen})),this._attachMediaEventListeners(),this._observePlaysinline(),this._observeMediaSources(),this.canLoadPoster&&this.poster.length>0&&t.getAttribute("poster")!==this.poster&&t.setAttribute("poster",this.poster),this._startPreloadingMedia(),this._hasMediaElementConnected=!0,this._disconnectDisposal.add(this._handleMediaElementDisconnect.bind(this))}))}_handleMediaElementDisconnect(){this._cancelTimeUpdates(),window.requestAnimationFrame((()=>{this._mediaElementDisposal.empty(),this._mediaElement=void 0})),this._hasMediaElementConnected=!1}startLoadingMedia(){super.startLoadingMedia(),this._handleMediaElementConnect()}_startPreloadingMedia(){if(this.state.canPlay)return;this.mediaElement.setAttribute("preload",this.preload);const t=this.mediaElement.networkState>=1;this._ignoreNextAbortEvent=t,this._ignoreNextEmptiedEvent=t,this.mediaElement.load(),setTimeout((()=>{this._ignoreNextAbortEvent=!1,this._ignoreNextEmptiedEvent=!1}),0)}_observePlaysinline(){const t=()=>this.mediaElement.hasAttribute("playsinline");this._handlePlaysinlineChange(t());const s=new MutationObserver((()=>this._handlePlaysinlineChange(t())));s.observe(this.mediaElement,{attributeFilter:["playsinline"]}),this._mediaElementDisposal.add((()=>s.disconnect()))}_handlePlaysinlineChange(t){this.dispatchEvent(Y("vds-playsinline-change",{detail:t}))}_observeMediaSources(){this._handleSrcChange(this._getMediaSources());const t=new MutationObserver((()=>this._handleSrcChange(this._getMediaSources())));t.observe(this.mediaElement,{attributeFilter:["src"],subtree:!0}),this._mediaElementDisposal.add((()=>t.disconnect()))}_handleSrcChange(t){var s,i;(s=this.state.src).length===(i=t).length&&s.every(((t,s)=>t===i[s]))||this.dispatchEvent(Y("vds-src-change",{detail:t}))}_getMediaSources(){const t=[this.mediaElement?.src,...Array.from(this.mediaElement?.querySelectorAll("source")??[]).map((t=>t.src))].filter(Boolean);return Array.from(new Set(t))}_getMediaMetadata(){return{src:this.state.src,currentSrc:this.mediaElement.currentSrc,duration:this.mediaElement.duration||0,poster:this.mediaElement.poster,mediaType:this._getMediaType(),viewType:this.state.viewType}}_attachMediaEventListeners(){if(st(this.mediaElement))return;const t={abort:this._handleAbort,canplay:this._handleCanPlay,canplaythrough:this._handleCanPlayThrough,durationchange:this._handleDurationChange,emptied:this._handleEmptied,ended:this._handleEnded,error:this._handleError,loadeddata:this._handleLoadedData,loadedmetadata:this._handleLoadedMetadata,loadstart:this._handleLoadStart,pause:this._handlePause,play:this._handlePlay,playing:this._handlePlaying,progress:this._handleProgress,ratechange:this._handleRateChange,seeked:this._handleSeeked,seeking:this._handleSeeking,stalled:this._handleStalled,suspend:this._handleSuspend,volumechange:this._handleVolumeChange,waiting:this._handleWaiting};Mt(t).forEach((s=>{const i=t[s].bind(this),e=I(this.mediaElement,s,(async t=>{await i(t)}));this._mediaElementDisposal.add(e)}))}_handleAbort(t){this._ignoreNextAbortEvent||(this.dispatchEvent(Y("vds-abort",{triggerEvent:t})),this._handleCurrentSrcChange("",t))}_handleCanPlay(t){this._handleMediaReady({event:t,duration:this.mediaElement.duration})}_handleCanPlayThrough(t){this.state.started||this.dispatchEvent(Y("vds-can-play-through",{triggerEvent:t,detail:{duration:this.mediaElement.duration}}))}_handleLoadStart(t){this._handleCurrentSrcChange(this.mediaElement.currentSrc,t),""!==this.mediaElement.currentSrc?this.dispatchEvent(Y("vds-load-start",{triggerEvent:t,detail:this._getMediaMetadata()})):this._handleAbort()}_handleEmptied(t){this._ignoreNextEmptiedEvent||this.dispatchEvent(Y("vds-emptied",{triggerEvent:t}))}_handleLoadedData(t){this.dispatchEvent(Y("vds-loaded-data",{triggerEvent:t}))}_handleLoadedMetadata(t){this.dispatchEvent(Y("vds-volume-change",{detail:{volume:this.mediaElement.volume,muted:this.mediaElement.muted}})),this.dispatchEvent(Y("vds-loaded-metadata",{triggerEvent:t,detail:this._getMediaMetadata()}))}_determineMediaType(t){this.dispatchEvent(Y("vds-media-type-change",{detail:this._getMediaType(),triggerEvent:t}))}_handlePlay(t){const s=Y("vds-play",{triggerEvent:t});s.autoplay=this._attemptingAutoplay,this.dispatchEvent(s)}_handlePause(t){(1!==this.mediaElement.readyState||this._isMediaWaiting)&&(this._isMediaWaiting=!1,this._cancelTimeUpdates(),this.dispatchEvent(Y("vds-pause",{triggerEvent:t})))}_handlePlaying(t){this._isMediaWaiting=!1;const s=Y("vds-playing",{triggerEvent:t});this.dispatchEvent(s),this._requestTimeUpdates()}_handleDurationChange(t){this.mediaElement.ended&&this._updateCurrentTime(this.mediaElement.duration,t),this.dispatchEvent(Y("vds-duration-change",{detail:this.mediaElement.duration,triggerEvent:t}))}_handleProgress(t){this.dispatchEvent(Y("vds-progress",{triggerEvent:t,detail:{buffered:this.mediaElement.buffered,seekable:this.mediaElement.seekable}}))}_handleRateChange(t){throw Error("Not implemented")}_handleSeeking(t){this.dispatchEvent(Y("vds-seeking",{detail:this.mediaElement.currentTime,triggerEvent:t}))}_handleSeeked(t){const s=Y("vds-seeked",{detail:this.mediaElement.currentTime,triggerEvent:t});this.dispatchEvent(s);const i=this.mediaElement.currentTime;if(Math.trunc(i)===Math.trunc(this.mediaElement.duration)&&wt(this.mediaElement.duration)>wt(i)&&(this._updateCurrentTime(this.mediaElement.duration,t),!this.mediaElement.ended))try{this.play()}catch(Cs){}}_handleStalled(t){this.dispatchEvent(Y("vds-stalled",{triggerEvent:t})),this.mediaElement.readyState<3&&(this._isMediaWaiting=!0,this.dispatchEvent(Y("vds-waiting",{triggerEvent:t})))}_handleVolumeChange(t){this.dispatchEvent(Y("vds-volume-change",{detail:{volume:this.mediaElement.volume,muted:this.mediaElement.muted},triggerEvent:t}))}_handleWaiting(t){this.mediaElement.readyState<3&&(this._isMediaWaiting=!0,this.dispatchEvent(Y("vds-waiting",{triggerEvent:t})))}_handleSuspend(t){const s=Y("vds-suspend",{triggerEvent:t});this.dispatchEvent(s)}_handleEnded(t){this._cancelTimeUpdates(),this._updateCurrentTime(this.mediaElement.duration,t);const s=Y("vds-end",{triggerEvent:t});this.dispatchEvent(s),this.state.loop?this._handleLoop():this.dispatchEvent(Y("vds-ended",{triggerEvent:t}))}_handleLoop(){st(this.controls)&&(this.mediaElement.controls=!1),this.dispatchEvent(Y("vds-loop-request"))}_handleError(t){const s=this.mediaElement.error;s&&this.dispatchEvent(Y("vds-error",{detail:{message:s.message,code:s.code,mediaError:s},triggerEvent:t}))}_getPaused(){return this.mediaElement?.paused??!0}_getVolume(){return this.mediaElement?.volume??1}_setVolume(t){this.mediaElement.volume=t}_getCurrentTime(){return this.mediaElement?.currentTime??0}_setCurrentTime(t){this.mediaElement.currentTime!==t&&(this.mediaElement.currentTime=t)}_getMuted(){return this.mediaElement?.muted??!1}_setMuted(t){this.mediaElement.muted=t}async play(){try{return this._throwIfNotReadyForPlayback(),await this._resetPlaybackIfEnded(),this.mediaElement?.play()}catch(t){const s=Y("vds-play-fail");throw s.autoplay=this._attemptingAutoplay,s.error=t,t}}async pause(){return this.mediaElement?.pause()}_getMediaType(){return qs.test(t=this.state.currentSrc)?"audio":Os.test(t)?"video":"unknown";var t}};hs([Cs()],Ls.prototype,"preload",2),Ot("vds-audio",class extends Ls{static get styles(){return[ds`:host{display:inline-block}:host([hidden]){display:none}`]}connectedCallback(){super.connectedCallback(),this.dispatchEvent(Y("vds-view-type-change",{detail:"audio"}))}});var Vs=ds`:host{display:table;contain:content;user-select:none;cursor:pointer;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}:host([hidden]){display:none}:host(:focus){outline:0}:host(:focus-visible){outline:1px auto Highlight;outline:1px auto -webkit-focus-ring-color}:host(.focus-visible){outline:1px auto Highlight;outline:1px auto -webkit-focus-ring-color}`,Ns=class extends ks{constructor(){super(),this.pressed=!1,this.disabled=!1,this._handleButtonClickCapture=H(this,"click",(t=>{this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),{capture:!0}),kt(this),["pointerup","keydown"].forEach((t=>{H(this,t,(t=>{this.disabled||Ut(t)&&!function(t){return Ut(t)&&("Enter"===t.key||" "===t.key)}(t)||this._handleButtonClick(t)}))}))}static get styles(){return[Vs]}static get parts(){return[]}connectedCallback(){super.connectedCallback(),Vt(this,"tabindex","0"),Vt(this,"role","button"),this._updateAriaPressedAttr()}updated(t){t.has("pressed")&&this._updateAriaPressedAttr()}_updateAriaPressedAttr(){Lt(this,"aria-pressed",this.pressed?"true":"false")}render(){return this._renderDefaultSlot()}_renderDefaultSlot(){return E`<slot></slot>`}_handleButtonClick(t){this.pressed=!this.pressed}};hs([Cs({type:Boolean})],Ns.prototype,"pressed",2),hs([Cs({type:Boolean,reflect:!0})],Ns.prototype,"disabled",2);var Rs=class{constructor(t){t?(this._target=t,this._createLogger(t),this._requests=Ct(t)):this._requests=new Et}startLoading(t){this._dispatchRequest("vds-start-loading",{triggerEvent:t})}play(t){this._dispatchRequest("vds-play-request",{triggerEvent:t})}pause(t){this._dispatchRequest("vds-pause-request",{triggerEvent:t})}mute(t){this._dispatchRequest("vds-mute-request",{triggerEvent:t})}unmute(t){this._dispatchRequest("vds-unmute-request",{triggerEvent:t})}enterFullscreen(t,s){this._dispatchRequest("vds-enter-fullscreen-request",{triggerEvent:s,detail:t})}exitFullscreen(t,s){this._dispatchRequest("vds-exit-fullscreen-request",{triggerEvent:s,detail:t})}seeking(t,s){this._dispatchRequest("vds-seeking-request",{detail:t,triggerEvent:s})}seek(t,s){this._dispatchRequest("vds-seek-request",{detail:t,triggerEvent:s})}changeVolume(t,s){this._dispatchRequest("vds-volume-change-request",{detail:t,triggerEvent:s})}resumeUserIdle(t){this._dispatchRequest("vds-resume-user-idle-request",{triggerEvent:t})}pauseUserIdle(t){this._dispatchRequest("vds-pause-user-idle-request",{triggerEvent:t})}showPoster(t){this._dispatchRequest("vds-show-poster-request",{triggerEvent:t})}hidePoster(t){this._dispatchRequest("vds-hide-poster-request",{triggerEvent:t})}setTarget(t){this._target!==t&&(this._target=t,t?(this._createLogger(t),this._requests.start()):this._requests.stop())}_dispatchRequest(t,s){this._requests.queue(t,(()=>{const i=Y(t,{...s,bubbles:!0,composed:!0});this._target?.dispatchEvent(i)}))}_createLogger(t){}};Ot("vds-play-button",class extends Ns{constructor(){super(),this._mediaRemote=new Rs(this),ss(this,"paused",(t=>{this.pressed=!t,Lt(this,"paused",t)}))}connectedCallback(){super.connectedCallback(),Vt(this,"aria-label","Play")}_handleButtonClick(t){this.disabled||(this.pressed?this._mediaRemote.pause(t):this._mediaRemote.play(t))}}),Ot("vds-mute-button",class extends Ns{constructor(){super(),this._mediaRemote=new Rs(this),this._volume=1,this._muted=!1,ss(this,"volume",(t=>{this._volume=t,this._handleMutedChange()})),ss(this,"muted",(t=>{this._muted=t,this._handleMutedChange()}))}connectedCallback(){super.connectedCallback(),Vt(this,"aria-label","Mute")}_handleMutedChange(){const t=this._muted||0===this._volume;this.pressed=t,Lt(this,"muted",t)}_handleButtonClick(t){this.disabled||(this.pressed?this._mediaRemote.unmute(t):this._mediaRemote.mute(t))}});var Us=Z((function(){const t=Tt(!1),s=Tt(!1);return{value:Tt(50),pointerValue:Tt(0),min:Tt(0),max:Tt(100),dragging:t,pointing:s,interactive:Pt([t,s],(([t,s])=>t||s))}})),js=ds`*{box-sizing:border-box;touch-action:none}:host{display:block;contain:layout;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}:host([hidden]){display:none}:host(:focus){outline:0}:host(:focus-visible){outline:1px auto Highlight;outline:1px auto -webkit-focus-ring-color}:host(.focus-visible){outline:1px auto Highlight;outline:1px auto -webkit-focus-ring-color}`,Is=(t=>(t[t.Left=-1]="Left",t[t.ArrowLeft=-1]="ArrowLeft",t[t.Up=-1]="Up",t[t.ArrowUp=-1]="ArrowUp",t[t.Right=1]="Right",t[t.ArrowRight=1]="ArrowRight",t[t.Down=1]="Down",t[t.ArrowDown=1]="ArrowDown",t))(Is||{}),Bs=class extends ks{constructor(){super(),this._sliderStoreProvider=Us.provide(this),this.disabled=!1,this.value=50,this._step=1,this._keyboardStep=1,this.shiftKeyMultiplier=5,this.customValueText=!1,this._mediaRemote=new Rs(this),this._disconnectDisposal=new B,this._handlePointerEnter=H(this,"pointerenter",(()=>{this.disabled||(this.setAttribute("pointing",""),this.store.pointing.set(!0))})),this._handlePointerMove=H(this,"pointermove",(t=>{if(this.disabled||this.isDragging)return;const s=this._getValueBasedOnThumbPosition(t);this.store.pointerValue.set(s),this._dispatchPointerValueChange(t)})),this._handlePointerLeave=H(this,"pointerleave",(()=>{this.disabled||(this.removeAttribute("pointing"),this.store.pointing.set(!1))})),this._handlePointerDown=H(this,"pointerdown",(t=>{this.disabled||(this._startDragging(t),this._onDrag(t))})),this._handleKeydown=H(this,"keydown",(t=>{if(this.disabled)return;const{key:s,shiftKey:i}=t;if(!Object.keys(Is).includes(s))return;const e=i?this.keyboardStep*this.shiftKeyMultiplier:this.keyboardStep,h=Number(Is[s]);this.value=this._getClampedValue(this.step*((this.value+e*h)/this.step)),this._dispatchValueChange(t)})),this._handleFillValueChange=H(this,"vds-slider-value-change",this._updateFillCSSProps.bind(this)),this._handlePointerValueChange=H(this,"vds-slider-pointer-value-change",this._updatePointerCSSProps.bind(this)),this._onDrag=Wt((t=>{if(this.disabled||!this.isDragging)return;const s=this._getValueBasedOnThumbPosition(t);this.store.pointerValue.set(s),this._dispatchPointerValueChange(t)})),this._handleDocumentPointerUp=H(this,"pointerup",(t=>{!this.disabled&&this.isDragging&&this._stopDragging(t)}),{target:document}),this._handleDocumentTouchMove=H(this,"touchmove",(t=>{!this.disabled&&this.isDragging&&t.preventDefault()}),{target:document,passive:!1}),this._handleDocumentPointerMove=H(this,"pointermove",(t=>{!this.disabled&&this.isDragging&&this._onDrag(t)}),{target:document}),this._lastDispatchedValue=this.value,this._dispatchValueChange=Wt((t=>{this.value!==this._lastDispatchedValue&&(this.dispatchEvent(Y("vds-slider-value-change",{detail:this.value,triggerEvent:t})),this._lastDispatchedValue=this.value)})),this._lastDispatchedPointerValue=this.pointerValue,this._dispatchPointerValueChange=Wt((t=>{this.pointerValue!==this._lastDispatchedPointerValue&&(["vds-slider-pointer-value-change",this.isDragging&&"vds-slider-drag-value-change"].forEach((s=>{s&&this.dispatchEvent(Y(s,{detail:this.pointerValue,triggerEvent:t}))})),this._lastDispatchedPointerValue=this.pointerValue)})),kt(this)}static get styles(){return[js]}static get parts(){return[]}get store(){return this._sliderStoreProvider.value}get min(){return Ft(this.store.min)}set min(t){this.store.min.set(t)}get max(){return Ft(this.store.max)}set max(t){this.store.max.set(t)}get step(){return this._step}set step(t){this._step=t}get keyboardStep(){return this._keyboardStep}set keyboardStep(t){this._keyboardStep=t}get isDragging(){return Ft(this.store.dragging)}get fillRate(){const t=this.max-this.min;return t>0?(this.value-this.min)/t:0}get fillPercent(){return 100*this.fillRate}get pointerValue(){return Ft(this.store.pointerValue)}get pointerRate(){const t=this.max-this.min;return t>0?(this.pointerValue-this.min)/t:0}get pointerPercent(){return 100*this.pointerRate}connectedCallback(){super.connectedCallback(),this._setupAriaAttrs(),this._updateFillCSSProps(),this._updatePointerCSSProps(),this._disconnectDisposal.add(this.store.interactive.subscribe((t=>{Lt(this,"interactive",t)})))}willUpdate(t){(t.has("value")||t.has("min")||t.has("max"))&&(this.value=this._getClampedValue(this.value),this.store.value.set(this.value),this._updateFillCSSProps(),this._dispatchValueChange()),t.has("disabled")&&this.disabled&&(this.store.dragging.set(!1),this.store.pointing.set(!1),this.removeAttribute("dragging"),this.removeAttribute("pointing"),this.removeAttribute("interactive"),Lt(this,"aria-disabled",this.disabled)),this.customValueText||this._updateAriaValueAttrs(),super.willUpdate(t)}disconnectedCallback(){this._onDrag.cancel(),this._disconnectDisposal.empty(),super.disconnectedCallback()}_updateFillCSSProps(){Nt(this,"fill-value",`${this.value}`),Nt(this,"fill-rate",`${this.fillRate}`),Nt(this,"fill-percent",`${this.fillPercent}%`)}_updatePointerCSSProps(){Nt(this,"pointer-value",`${this.pointerValue}`),Nt(this,"pointer-rate",`${this.pointerRate}`),Nt(this,"pointer-percent",`${this.pointerPercent}%`)}render(){return this._renderSlider()}_renderSlider(){return E`${this._renderDefaultSlot()}`}_renderDefaultSlot(){return E`<slot></slot>`}_setupAriaAttrs(){Vt(this,"role","slider"),Vt(this,"tabindex","0"),Vt(this,"aria-orientation","horizontal"),Vt(this,"autocomplete","off")}_updateAriaValueAttrs(){this.setAttribute("aria-valuemin",this._getValueMin()),this.setAttribute("aria-valuenow",this._getValueNow()),this.setAttribute("aria-valuemax",this._getValueMax()),this.setAttribute("aria-valuetext",this._getValueText())}_getValueMin(){return String(this.min)}_getValueNow(){return String(this.value)}_getValueMax(){return String(this.max)}_getValueText(){return`${_t(this.value/this.max*100,2)}%`}_startDragging(t){if(this.isDragging)return;this.store.dragging.set(!0),this.setAttribute("dragging","");const s=this._getValueBasedOnThumbPosition(t);this.store.pointerValue.set(s),this._dispatchPointerValueChange(t),this.dispatchEvent(Y("vds-slider-drag-start",{triggerEvent:t,detail:this.value})),this._mediaRemote.pauseUserIdle(t)}_stopDragging(t){if(!this.isDragging)return;this.store.dragging.set(!1),this._dispatchValueChange.cancel(),this.removeAttribute("dragging");const s=this._getValueBasedOnThumbPosition(t);this.value=s,this.store.pointerValue.set(s),this._dispatchValueChange(t),this._dispatchPointerValueChange(t),this.dispatchEvent(Y("vds-slider-drag-end",{triggerEvent:t,detail:this.value})),this._mediaRemote.resumeUserIdle(t)}_getClampedValue(t){return bt(this.min,_t(t,wt(this.step)),this.max)}_getValueFromRate(t){const s=bt(0,t,1),i=Math.round((this.max-this.min)*s/this.step);return this.min+this.step*i}_getValueBasedOnThumbPosition(t){const s=t.clientX,{left:i,width:e}=this.getBoundingClientRect();return this._getValueFromRate((s-i)/e)}};hs([Cs({type:Number})],Bs.prototype,"min",1),hs([Cs({type:Number})],Bs.prototype,"max",1),hs([Cs({reflect:!0,type:Boolean})],Bs.prototype,"disabled",2),hs([Cs({type:Number})],Bs.prototype,"value",2),hs([Cs({type:Number})],Bs.prototype,"step",1),hs([Cs({attribute:"keyboard-step",type:Number})],Bs.prototype,"keyboardStep",1),hs([Cs({attribute:"shift-key-multiplier",type:Number})],Bs.prototype,"shiftKeyMultiplier",2),hs([Cs({type:Boolean,attribute:"custom-value-text"})],Bs.prototype,"customValueText",2);var Hs=ds``,Ws=class extends Bs{constructor(){super(),this._step=.1,this.value=0,this.valueText="{currentTime} out of {duration}",this.pauseWhileDragging=!1,this.seekingRequestThrottle=100,this.__mediaDuration=0,this.__mediaPaused=!0,this._handleSliderDragStart=H(this,"vds-slider-drag-start",(t=>{this._togglePlaybackWhileDragging(t)})),this._handleSliderValueChange=H(this,"vds-slider-value-change",(t=>{Ut(t.originEvent)&&(this._dispatchSeekingRequest.cancel(),this._mediaRemote.seek(this.value,t))})),this._handleSliderDragValueChange=H(this,"vds-slider-drag-value-change",(t=>{this._dispatchSeekingRequest(t)})),this._handleSliderDragEnd=H(this,"vds-slider-drag-end",(t=>{this._dispatchSeekingRequest.cancel(),this._mediaRemote.seek(this.value,t),this._togglePlaybackWhileDragging(t)})),this._dispatchSeekingRequest=j((t=>{this._mediaRemote.seeking(this.value,t)}),this.seekingRequestThrottle),this._wasPlayingBeforeDragStart=!1,ss(this,"currentTime",(t=>{this.value=t})),ss(this,"duration",(t=>{this.__mediaDuration=t,this.requestUpdate("max")})),ss(this,"paused",(t=>{this.__mediaPaused=t}))}static get styles(){return[super.styles,Hs]}connectedCallback(){super.connectedCallback(),Vt(this,"aria-label","Media time")}get min(){return 0}set min(t){}get max(){return this.__mediaDuration}set max(t){}update(t){t.has("disabled")&&this.disabled&&this._dispatchSeekingRequest.cancel(),super.update(t)}disconnectedCallback(){this._dispatchSeekingRequest.cancel(),super.disconnectedCallback()}_getValueMin(){return"0%"}_getValueNow(){return`${Math.round(this.fillPercent)}%`}_getValueText(){return this.valueText.replace("{currentTime}",Ht(this.value)).replace("{duration}",Ht(this.__mediaDuration))}_getValueMax(){return"100%"}_togglePlaybackWhileDragging(t){this.pauseWhileDragging&&(this.isDragging&&!this.__mediaPaused?(this._wasPlayingBeforeDragStart=!0,this._mediaRemote.pause(t)):this._wasPlayingBeforeDragStart&&!this.isDragging&&this.__mediaPaused&&(this._wasPlayingBeforeDragStart=!1,this._mediaRemote.play(t)))}};hs([Cs({attribute:!1,state:!0})],Ws.prototype,"value",2),hs([Cs({attribute:!1})],Ws.prototype,"min",1),hs([Cs({attribute:!1})],Ws.prototype,"max",1),hs([Cs({attribute:"value-text"})],Ws.prototype,"valueText",2),hs([Cs({attribute:"pause-while-dragging",type:Boolean})],Ws.prototype,"pauseWhileDragging",2),hs([Cs({attribute:"seeking-request-throttle",type:Number})],Ws.prototype,"seekingRequestThrottle",2),hs([Ss()],Ws.prototype,"__mediaDuration",2),hs([Ss()],Ws.prototype,"__mediaPaused",2),Ot("vds-time-slider",Ws);var Ys=class extends Bs{constructor(){super(),this.value=100,this._handleSliderValueChange=H(this,"vds-slider-value-change",this._changeVolume.bind(this)),this._handleSliderDragValueChange=H(this,"vds-slider-drag-value-change",this._changeVolume.bind(this)),ss(this,"volume",(t=>{this.value=100*t}))}connectedCallback(){super.connectedCallback(),Vt(this,"aria-label","Media volume")}get min(){return 0}set min(t){}get max(){return 100}set max(t){}_changeVolume(t){const s=_t(t.detail/100,3);this._mediaRemote.changeVolume(s,t)}};hs([Cs({attribute:!1})],Ys.prototype,"min",1),hs([Cs({attribute:!1})],Ys.prototype,"max",1),hs([Cs({attribute:!1,state:!0})],Ys.prototype,"value",2),Ot("vds-volume-slider",Ys);var Ks=class extends ks{constructor(){super(...arguments),this._disposal=new B,this._sliderStoreConsumer=Us.consume(this),this.__value=0,this.type="current",this.showHours=!1,this.padHours=!1,this.decimalPlaces=2}static get styles(){return[ds`:host{display:inline-block;contain:content}:host([hidden]){display:none}`]}get _sliderStore(){return this._sliderStoreConsumer.value}connectedCallback(){super.connectedCallback(),this._handleTypeChange()}update(t){(t.has("type")||t.has("format"))&&this._handleTypeChange(),super.update(t)}disconnectedCallback(){this._disposal.empty(),super.disconnectedCallback()}render(){return E`${this._getValueText()}`}_handleTypeChange(){this._disposal.empty();const t=this._sliderStore["current"===this.type?"value":"pointerValue"],s=("percent"===this.format?this._createPercentStore(t):t).subscribe((t=>{this.__value=t}));this._disposal.add(s)}_createPercentStore(t){return Pt([t,this._sliderStore.min,this._sliderStore.max],(([t,s,i])=>t/(i-s)*100))}_getValueText(){switch(this.format){case"percent":return this._getPercentFormat();case"time":return this._getTimeFormat();default:return`${this.__value}`}}_getPercentFormat(){return`${_t(this.__value,this.decimalPlaces)}%`}_getTimeFormat(){return Bt(this.__value,this.padHours,this.showHours)}};hs([Ss()],Ks.prototype,"__value",2),hs([Cs()],Ks.prototype,"type",2),hs([Cs()],Ks.prototype,"format",2),hs([Cs({attribute:"show-hours",type:Boolean})],Ks.prototype,"showHours",2),hs([Cs({attribute:"pad-hours",type:Boolean})],Ks.prototype,"padHours",2),hs([Cs({attribute:"decimal-places",type:Number})],Ks.prototype,"decimalPlaces",2),Ot("vds-slider-value-text",Ks);var Xs=class extends ks{constructor(){super(...arguments),this._disposal=new B,this._mediaStoreConsumer=ts.consume(this),this.__seconds=0,this.type="current",this.showHours=!1,this.padHours=!1,this.remainder=!1}static get styles(){return[ds`:host{display:inline-block;contain:content}:host([hidden]){display:none}`]}get _mediaStore(){return this._mediaStoreConsumer.value}connectedCallback(){super.connectedCallback(),this._handleTypeChange()}update(t){(t.has("type")||t.has("remainder"))&&this._handleTypeChange(),super.update(t)}disconnectedCallback(){this._disposal.empty(),super.disconnectedCallback()}render(){return E`${this._getFormattedTime()}`}_handleTypeChange(){this._disposal.empty();const t=this._getTypeStore(),s=(this.remainder?this._createRemainderStore(t):t).subscribe((t=>{this.__seconds=t}));this._disposal.add(s)}_getTypeStore(){switch(this.type){case"buffered":return this._mediaStore.bufferedAmount;case"seekable":return this._mediaStore.seekableAmount;case"duration":return this._mediaStore.duration;default:return this._mediaStore.currentTime}}_createRemainderStore(t){return Pt([t,this._mediaStore.duration],(([t,s])=>Math.max(0,s-t)))}_getFormattedTime(){return Bt(this.__seconds,this.padHours,this.showHours)}};hs([Ss()],Xs.prototype,"__seconds",2),hs([Cs()],Xs.prototype,"type",2),hs([Cs({attribute:"show-hours",type:Boolean})],Xs.prototype,"showHours",2),hs([Cs({attribute:"pad-hours",type:Boolean})],Xs.prototype,"padHours",2),hs([Cs({type:Boolean})],Xs.prototype,"remainder",2),Ot("vds-time",Xs);const Js=class{constructor(i){t(this,i),this.stzhPlay=s(this,"stzhPlay",7),this.stzhPlaying=s(this,"stzhPlaying",7),this.stzhPause=s(this,"stzhPause",7),this.stzhReplay=s(this,"stzhReplay",7),this.stzhEnd=s(this,"stzhEnd",7),this.stzhEnded=s(this,"stzhEnded",7),this.stzhError=s(this,"stzhError",7),this.localization=void 0,this.src="",this.preload="none",this.transcript="",this.transcriptShown=!1}async play(){this.vsdAudioElement.play()}async pause(){this.vsdAudioElement.pause()}async componentWillLoad(){this.localization||(this.localization=await r(this.element,"audio"))}render(){const t=!!this.transcript||n(this.element,"transcript");return i(e,null,i("vds-media",{class:{"stzh-audio":!0}},i("vds-audio",{class:"stzh-audio__audio",ref:t=>this.vsdAudioElement=t,"onVds-play":()=>{this.stzhPlay.emit({component:"stzh-audio"})},"onVds-playing":()=>{this.stzhPlaying.emit({component:"stzh-audio"})},"onVds-end":()=>{this.stzhEnd.emit({component:"stzh-audio"})},"onVds-ended":()=>{this.stzhEnded.emit({component:"stzh-audio"})},"onVds-replay":()=>{this.stzhReplay.emit({component:"stzh-audio"})},"onVds-error":t=>{this.stzhError.emit({component:"stzh-audio",originalEvent:t})}},i("audio",{preload:this.preload,src:this.src},i("slot",null))),i("div",{class:"stzh-audio__controls"},i("div",{class:"stzh-audio__loader-overlay"},i("stzh-loader",{class:"stzh-audio__loader",label:this.localization.loading,"hide-label":!0})),i("div",{class:"stzh-audio__controls-top"},i("vds-time-slider",{class:"stzh-audio__slider is-time"},i("div",{class:"stzh-audio__slider-track"}),i("div",{class:"stzh-audio__slider-track is-fill"}),i("div",{class:"stzh-audio__slider-thumb-container"},i("div",{class:"stzh-audio__slider-thumb"})),i("div",{class:"stzh-audio__media-preview-container"},i("vds-slider-value-text",{class:"stzh-audio__slider-text",type:"pointer",format:"time"})))),i("div",{class:"stzh-audio__controls-bottom"},i("stzh-tooltip",null,i("vds-play-button",{class:"stzh-audio__button is-play"},i("stzh-icon",{class:"stzh-audio__played",name:"play"}),i("stzh-icon",{class:"stzh-audio__paused",name:"close"})),i("span",{slot:"content"},i("span",{class:"stzh-audio__played"},this.localization.play),i("span",{class:"stzh-audio__paused"},this.localization.pause))),i("div",{class:"stzh-audio__time"},i("vds-time",{type:"current"}),i("span",{class:"stzh-audio__time-separator"},"/"),i("vds-time",{type:"duration"})),i("stzh-tooltip",null,i("vds-mute-button",{class:"stzh-audio__button is-mute"},i("stzh-icon",{class:"stzh-audio__muted",name:"volume-medium"}),i("stzh-icon",{class:"stzh-audio__unmuted",name:"silent-mode"})),i("span",{slot:"content"},i("span",{class:"stzh-audio__muted"},this.localization.mute),i("span",{class:"stzh-audio__unmuted"},this.localization.unmute))),i("vds-volume-slider",{class:"stzh-audio__slider is-volume"},i("div",{class:"stzh-audio__slider-track"}),i("div",{class:"stzh-audio__slider-track is-fill"}),i("div",{class:"stzh-audio__slider-thumb-container"},i("div",{class:"stzh-audio__slider-thumb"})),i("div",{class:"stzh-audio__media-preview-container"},i("vds-slider-value-text",{class:"stzh-audio__slider-text",type:"pointer",format:"percent"}))),t&&i("stzh-tooltip",{content:this.transcriptShown?this.localization.hideTranscript:this.localization.showTranscript},i("button",{class:{"stzh-audio__button is-transcript":!0,"is-active":this.transcriptShown},onClick:()=>this.transcriptShown=!this.transcriptShown},i("stzh-icon",{name:"transcript"}))),i("stzh-tooltip",{content:this.localization.download},i("a",{class:"stzh-audio__button is-download",href:this.src,download:""},i("stzh-icon",{name:"download"}))))),i("div",{class:"stzh-audio__transcript",hidden:!this.transcriptShown},i("stzh-text",null,this.transcript?this.transcript:i("slot",{name:"transcript"})))))}get element(){return h(this)}};Js.style=".sc-stzh-audio-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-audio-h{display:none}.sc-stzh-audio-h *.sc-stzh-audio,.sc-stzh-audio-h *.sc-stzh-audio::before,.sc-stzh-audio-h *.sc-stzh-audio::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-audio.sc-stzh-audio{display:block;contain:none}.stzh-audio__audio.sc-stzh-audio{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-audio__controls.sc-stzh-audio{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-audio__controls-top.sc-stzh-audio{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--stzh-space-small)}.stzh-audio__controls-bottom.sc-stzh-audio{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-audio__controls.sc-stzh-audio,.stzh-audio__transcript.sc-stzh-audio{border:0.0625rem solid var(--stzh-color-grey25);padding:var(--stzh-space-medium) var(--stzh-space-xlarge)}.stzh-audio__controls.sc-stzh-audio{padding-bottom:var(--stzh-space-xsmall)}.stzh-audio__button.sc-stzh-audio{width:2.5rem;height:2.5rem;display:grid;place-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--stzh-button-border-radius);-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);-webkit-transition-property:color, background-color;transition-property:color, background-color;color:var(--stzh-color-grey55)}.stzh-audio__button.is-play.sc-stzh-audio,.stzh-audio__button.is-mute.sc-stzh-audio,.stzh-audio__button.is-transcript.sc-stzh-audio{margin-right:var(--stzh-space-xsmall)}.stzh-audio__button.is-active.sc-stzh-audio{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-audio__button.sc-stzh-audio:hover{color:var(--stzh-color-white);background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-audio__transcript.sc-stzh-audio{border-top:none}.stzh-audio__loader-overlay.sc-stzh-audio{display:grid;place-items:center;position:absolute;z-index:3;top:0;left:0;width:100%;height:100%;background-color:var(--stzh-color-white);opacity:0;visibility:hidden}.stzh-audio__time.sc-stzh-audio{font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height));display:-ms-inline-flexbox;display:inline-flex;margin-right:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-audio__time.sc-stzh-audio{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}@media screen and (max-width: 599px){.stzh-audio__time.sc-stzh-audio{margin-right:auto}}.stzh-audio__time-separator.sc-stzh-audio{margin:0 var(--stzh-space-xxsmall)}.stzh-audio__slider.sc-stzh-audio{--height:1.1875rem;--thumb-width:0.8125rem;--track-height:0.3125rem;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:var(--height);border-radius:var(--stzh-button-border-radius)}.stzh-audio__slider.is-time.sc-stzh-audio{-ms-flex-positive:1;flex-grow:1}.stzh-audio__slider.is-volume.sc-stzh-audio{width:20%;min-width:5rem;max-width:6.875rem;display:none}@media screen and (min-width: 600px){.stzh-audio__slider.is-volume.sc-stzh-audio{display:-ms-flexbox;display:flex;margin-right:auto}}.stzh-audio__slider-track.sc-stzh-audio{width:100%;height:var(--track-height);position:absolute;top:50%;left:0;z-index:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);border-radius:0.25rem;background-color:var(--stzh-color-grey25)}.stzh-audio__slider-track.is-fill.sc-stzh-audio{background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-transform-origin:left center;transform-origin:left center;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:calc(var(--vds-fill-rate) * 100%);z-index:1}.stzh-audio__slider-thumb-container.sc-stzh-audio{position:absolute;top:0;left:var(--vds-fill-percent);width:var(--thumb-width);height:100%;-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:2}.stzh-audio__slider[dragging].sc-stzh-audio .stzh-audio__slider-thumb-container.sc-stzh-audio{left:var(--vds-pointer-percent)}.stzh-audio__slider-thumb.sc-stzh-audio{position:absolute;top:50%;left:0;width:var(--thumb-width);height:var(--thumb-width);border-radius:50%;background-color:var(--stzh-color-white);-webkit-box-shadow:0 0 0 0.0625rem rgba(0, 0, 0, 0.25);box-shadow:0 0 0 0.0625rem rgba(0, 0, 0, 0.25);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.stzh-audio__media-preview-container.sc-stzh-audio{--width:2.625rem;--width-half:calc(var(--width) / 2);--top:-1.5rem;--left-clamp:max(var(--width-half), var(--vds-pointer-percent));--right-clamp:calc(100% - var(--width-half));--left:min(var(--left-clamp), var(--right-clamp));display:grid;place-items:center;position:absolute;width:var(--width);top:var(--top);left:var(--left);width:var(--width);opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:var(--stzh-z-index-popover);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);border-radius:var(--stzh-tooltip-border-radius);background-color:var(--stzh-color-white)}@supports ((-webkit-filter: var(--stzh-tooltip-drop-shadow)) or (filter: var(--stzh-tooltip-drop-shadow))){.stzh-audio__media-preview-container.sc-stzh-audio{-webkit-box-shadow:none;box-shadow:none;-webkit-filter:var(--stzh-tooltip-drop-shadow);filter:var(--stzh-tooltip-drop-shadow)}}.stzh-audio__slider[pointing].sc-stzh-audio .stzh-audio__media-preview-container.sc-stzh-audio{opacity:1}.stzh-audio__slider-text.sc-stzh-audio{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-audio[hide-ui].sc-stzh-audio .stzh-audio__controls.sc-stzh-audio{opacity:0;visibility:hidden}.stzh-audio[autoplay-error].sc-stzh-audio .stzh-audio__controls.sc-stzh-audio{opacity:1}.stzh-audio.sc-stzh-audio:not([can-play]) .stzh-audio__loader-overlay.sc-stzh-audio,.stzh-audio[waiting].sc-stzh-audio .stzh-audio__loader-overlay.sc-stzh-audio{opacity:0.8;visibility:visible}.stzh-audio[paused].sc-stzh-audio .stzh-audio__paused.sc-stzh-audio{display:none}.stzh-audio.sc-stzh-audio:not([paused]) .stzh-audio__played.sc-stzh-audio{display:none}.stzh-audio[muted].sc-stzh-audio .stzh-audio__muted.sc-stzh-audio{display:none}.stzh-audio.sc-stzh-audio:not([muted]) .stzh-audio__unmuted.sc-stzh-audio{display:none}";export{Js as stzh_audio}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,a,t,s){function n(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,r){function i(e){try{l(s.next(e))}catch(a){r(a)}}function o(e){try{l(s["throw"](e))}catch(a){r(a)}}function l(e){e.done?t(e.value):n(e.value).then(i,o)}l((s=s.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,n,r,i;return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(e){return function(a){return l([e,a])}}function l(i){if(s)throw new TypeError("Generator is already executing.");while(t)try{if(s=1,n&&(r=i[0]&2?n["return"]:i[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;if(n=0,r)i=[i[0]&2,r.value];switch(i[0]){case 0:case 1:r=i;break;case 4:t.label++;return{value:i[1],done:false};case 5:t.label++;n=i[1];i=[0];continue;case 7:i=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(i[0]===6||i[0]===2)){t=0;continue}if(i[0]===3&&(!r||i[1]>r[0]&&i[1]<r[3])){t.label=i[1];break}if(i[0]===6&&t.label<r[1]){t.label=r[1];r=i;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(i);break}if(r[2])t.ops.pop();t.trys.pop();continue}i=a.call(e,t)}catch(o){i=[6,o];n=0}finally{s=r=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-bf0fdd23.system.js","./p-11816251.system.js","./p-a408bfba.system.js"],(function(e){"use strict";var a,t,s,n,r,i,o,l,c,h,d,u,f,z,p,v,y,b,_,m,g;return{setters:[function(e){a=e.h;t=e.r;s=e.c;n=e.a;r=e.g},function(e){i=e.i;o=e.b;l=e.g;c=e.c;h=e.D;d=e.p;u=e.d;f=e.a;z=e.e;p=e.s;v=e.f;y=e.h;b=e.j;_=e.k;m=e.l},function(e){g=e.f}],execute:function(){var x=function(e){var t=e.focusedDay,s=e.today,n=e.day,r=e.onDaySelect,l=e.onKeyboardNavigation,c=e.focusedDayRef,h=e.disabled,d=e.inRange,u=e.isSelected,f=e.dateFormatter;var z=i(n,s);var p=o(n,t);var v=i(n,t);var y=!d;function b(e){r(e,n)}return a("button",{class:{"stzh-calendar__day":true,"is-outside":y,"is-today":z,"is-month":p,"is-disabled":h},tabIndex:v?0:-1,onClick:b,onKeyDown:l,"aria-disabled":h?"true":undefined,disabled:y,type:"button","aria-pressed":u?"true":"false","aria-current":z?"date":undefined,ref:function(e){if(v&&e&&c){c(e)}}},a("span",{"aria-hidden":"true"},n.getDate()),a("span",{class:"stzh-calendar__vhidden"},f.format(n)))};function w(e,a){var t=[];for(var s=0;s<e.length;s+=a){t.push(e.slice(s,s+a))}return t}function D(e,a,t){return e.map((function(s,n){var r=(n+a)%e.length;return t(e[r])}))}var k=function(e){var t=e.selectedDate,s=e.focusedDate,n=e.labelledById,r=e.localization,o=e.firstDayOfWeek,h=e.min,d=e.max,u=e.dateFormatter,f=e.isDateDisabled,z=e.onDateSelect,p=e.onKeyboardNavigation,v=e.focusedDayRef;var y=new Date;var b=l(s,o);return a("table",{class:"stzh-calendar__table","aria-labelledby":n},a("thead",null,a("tr",null,D(r.$globals.dayNames,o,(function(e){return a("th",{class:"stzh-calendar__table-header",scope:"col"},a("span",{"aria-hidden":"true"},e.substring(0,2)),a("span",{class:"stzh-calendar__vhidden"},e))})))),a("tbody",null,w(b,7).map((function(e){return a("tr",{class:"stzh-calendar__row"},e.map((function(e){return a("td",{class:"stzh-calendar__cell"},a(x,{day:e,today:y,focusedDay:s,isSelected:i(e,t),disabled:f(e),inRange:c(e,h,d),onDaySelect:z,dateFormatter:u,onKeyboardNavigation:p,focusedDayRef:v}))})))}))))};var F='.sc-stzh-calendar-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-calendar-h{display:none}.sc-stzh-calendar-h *.sc-stzh-calendar,.sc-stzh-calendar-h *.sc-stzh-calendar::before,.sc-stzh-calendar-h *.sc-stzh-calendar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-calendar-h{display:block}.stzh-calendar.sc-stzh-calendar{display:-ms-flexbox;display:flex;position:relative;text-align:left;color:var(--stzh-base-color);-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.stzh-calendar__wrapper.sc-stzh-calendar{width:100%}@media screen and (min-width: 600px){.stzh-calendar__wrapper.sc-stzh-calendar{min-width:18.125rem}}.stzh-calendar__table.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border-collapse:collapse;border-spacing:0;color:var(--stzh-base-color);text-align:center;width:100%}.stzh-calendar__table-header.sc-stzh-calendar,.stzh-calendar__cell.sc-stzh-calendar{padding:var(--stzh-space-xxxsmall)}.stzh-calendar__table-header.sc-stzh-calendar:first-child,.stzh-calendar__cell.sc-stzh-calendar:first-child{padding-left:0}.stzh-calendar__table-header.sc-stzh-calendar:last-child,.stzh-calendar__cell.sc-stzh-calendar:last-child{padding-right:0}.stzh-calendar__row.sc-stzh-calendar:last-child .stzh-calendar__cell.sc-stzh-calendar{padding-bottom:0}.stzh-calendar__table-header.sc-stzh-calendar{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-decoration:none;padding-top:0}.stzh-calendar__cell.sc-stzh-calendar{text-align:center}.stzh-calendar__day.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:50%;color:var(--stzh-base-color);cursor:pointer;display:inline-block;font-variant-numeric:tabular-nums;height:2.5rem;padding:0 0 0.0625rem;position:relative;text-align:center;vertical-align:middle;width:2.5rem;z-index:1}.stzh-calendar__day.sc-stzh-calendar::before{border-radius:50%;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.stzh-calendar__day.is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));position:relative;z-index:200}.stzh-calendar__day.sc-stzh-calendar:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day.sc-stzh-calendar:hover::before{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.08}.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar,.stzh-calendar__day.sc-stzh-calendar:focus{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-color-white)}.stzh-calendar__day.sc-stzh-calendar:active{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));color:var(--stzh-color-white);z-index:200}.stzh-calendar__day.sc-stzh-calendar:focus{z-index:200}.stzh-calendar__day.sc-stzh-calendar:not(.is-month){-webkit-box-shadow:none;box-shadow:none}.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{background:transparent;color:var(--stzh-color-grey25);cursor:default}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13);box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13)}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar:focus{-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar::before{display:none}.stzh-calendar__day.is-disabled.sc-stzh-calendar{text-decoration:line-through}.stzh-calendar__day.is-outside.sc-stzh-calendar{background:var(--stzh-color-grey5);-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-base-color);cursor:default;opacity:0.6;pointer-events:none;text-decoration:none}.stzh-calendar__day.is-outside.sc-stzh-calendar::before{display:none}.stzh-calendar__header.sc-stzh-calendar{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);width:100%}.stzh-calendar__nav.sc-stzh-calendar{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-calendar__prev.sc-stzh-calendar,.stzh-calendar__next.sc-stzh-calendar{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0.0625rem solid var(--stzh-color-grey13);border-radius:50%;color:var(--stzh-color-grey70);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;margin-left:var(--stzh-space-xsmall);padding:0;-webkit-transition:background-color 300ms ease;transition:background-color 300ms ease;height:2rem;width:2rem}.stzh-calendar__prev.sc-stzh-calendar:disabled,.stzh-calendar__next.sc-stzh-calendar:disabled{cursor:default;opacity:0.5}.stzh-calendar__select-wrapper.sc-stzh-calendar{display:-ms-inline-flexbox;display:inline-flex;position:relative}.stzh-calendar__select-wrapper.sc-stzh-calendar span.sc-stzh-calendar{margin-right:0}.stzh-calendar__select.sc-stzh-calendar{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:2;border-radius:var(--stzh-form-input-border-radius)}.stzh-calendar__select-label.sc-stzh-calendar{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);-ms-flex-align:center;align-items:center;border-radius:var(--stzh-form-input-border-radius);color:var(--stzh-color-grey70);display:-ms-flexbox;display:flex;padding:0 var(--stzh-space-xxsmall) 0 var(--stzh-space-xsmall);pointer-events:none;position:relative;width:100%;z-index:1}.stzh-calendar__icon.sc-stzh-calendar{--size:var(--stzh-icon-size-medium)}.stzh-calendar__vhidden.sc-stzh-calendar{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}';function S(e,a){var t=[];for(var s=e;s<=a;s++){t.push(s)}return t}var M={TAB:9,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};var T=0;var Y=e("stzh_calendar",function(){function e(e){var a=this;t(this,e);this.stzhChange=s(this,"stzhChange",7);this.value="";this.min="";this.max="";this.firstDayOfWeek=h.Monday;this.isDateDisabled=function(){return false};this.activeFocus=false;this.focusedDay=new Date;this.initialTouchX=null;this.initialTouchY=null;this.enableActiveFocus=function(){a.activeFocus=true};this.disableActiveFocus=function(){a.activeFocus=false};this.handleTouchStart=function(e){var t=e.changedTouches[0];a.initialTouchX=t.pageX;a.initialTouchY=t.pageY};this.handleTouchEnd=function(e){var t=e.changedTouches[0];var s=t.pageX-a.initialTouchX;var n=t.pageY-a.initialTouchY;var r=70;var i=Math.abs(s)>=r&&Math.abs(n)<=r;if(i){a.addMonths(s<0?1:-1)}a.initialTouchY=null;a.initialTouchX=null};this.handleNextMonthClick=function(e){e.preventDefault();a.addMonths(1)};this.handlePreviousMonthClick=function(e){e.preventDefault();a.addMonths(-1)};this.handleKeyboardNavigation=function(e){var t=true;switch(e.keyCode){case M.RIGHT:a.addDays(1);break;case M.LEFT:a.addDays(-1);break;case M.DOWN:a.addDays(7);break;case M.UP:a.addDays(-7);break;case M.PAGE_UP:if(e.shiftKey){a.addYears(-1)}else{a.addMonths(-1)}break;case M.PAGE_DOWN:if(e.shiftKey){a.addYears(1)}else{a.addMonths(1)}break;case M.HOME:a.startOfWeek();break;case M.END:a.endOfWeek();break;default:t=false}if(t){e.preventDefault();a.enableActiveFocus()}};this.handleDaySelect=function(e,t){var s=c(t,d(a.min),d(a.max));var n=!a.isDateDisabled(t);if(s&&n){a.setDate(t);a.stzhChange.emit({component:"stzh-calendar",value:a.value,valueAsDate:t})}else{a.setFocusedDay(t)}};this.handleMonthSelect=function(e){a.setMonth(parseInt(e.target.value,10))};this.handleYearSelect=function(e){a.setYear(parseInt(e.target.value,10))};this.processFocusedDayNode=function(e){if(a.activeFocus){setTimeout((function(){return e.focus()}),0)}}}e.prototype.createDateFormatters=function(){if(this.localization){this.dateFormatShort=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long"})}};e.prototype.valueWatcher=function(e){if(e){this.setFocusedDay(d(this.value))}else{this.setFocusedDay(new Date)}};e.prototype.setFocusedDay=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.focusedDay=u(e,d(this.min),d(this.max));return[2]}))}))};e.prototype.setDate=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.value=f(e);return[2]}))}))};e.prototype.addDays=function(e){this.setFocusedDay(z(this.focusedDay,e))};e.prototype.addMonths=function(e){this.setMonth(this.focusedDay.getMonth()+e)};e.prototype.addYears=function(e){this.setYear(this.focusedDay.getFullYear()+e)};e.prototype.startOfWeek=function(){this.setFocusedDay(p(this.focusedDay,this.firstDayOfWeek))};e.prototype.endOfWeek=function(){this.setFocusedDay(v(this.focusedDay,this.firstDayOfWeek))};e.prototype.setMonth=function(e){var a=y(b(this.focusedDay),e);var t=_(a);var s=y(this.focusedDay,e);this.setFocusedDay(u(s,a,t))};e.prototype.setYear=function(e){var a=m(b(this.focusedDay),e);var t=_(a);var s=m(this.focusedDay,e);this.setFocusedDay(u(s,a,t))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){switch(a.label){case 0:this.monthSelectId="stzh-calendar-month-".concat(T);this.yearSelectId="stzh-calendar-year-".concat(T);this.dialogLabelId="stzh-calendar-dialog-".concat(T);T++;this.valueWatcher(this.value);if(!!this.localization)return[3,2];e=this;return[4,g(this.element,"calendar")];case 1:e.localization=a.sent();a.label=2;case 2:return[2]}}))}))};e.prototype.connectedCallback=function(){this.createDateFormatters()};e.prototype.render=function(){var e=d(this.value);var t=(e||this.focusedDay).getFullYear();var s=this.focusedDay.getMonth();var r=this.focusedDay.getFullYear();var i=d(this.min);var o=d(this.max);var l=i!=null&&i.getMonth()===s&&i.getFullYear()===r;var h=o!=null&&o.getMonth()===s&&o.getFullYear()===r;var u=i?i.getFullYear():t-10;var f=o?o.getFullYear():t+10;return a(n,null,a("div",{class:{"stzh-calendar":true},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},a("div",{class:"stzh-calendar__wrapper"},a("div",{class:"stzh-calendar__header",onFocusin:this.disableActiveFocus},a("div",null,a("h2",{id:this.dialogLabelId,class:"stzh-calendar__vhidden","aria-live":"polite","aria-atomic":"true"},this.localization.$globals.monthNames[s],this.focusedDay.getFullYear()),a("label",{htmlFor:this.monthSelectId,class:"stzh-calendar__vhidden"},this.localization.monthSelectLabel),a("div",{class:"stzh-calendar__select-wrapper"},a("select",{id:this.monthSelectId,class:"stzh-calendar__select stzh-calendar__select--month",onChange:this.handleMonthSelect},this.localization.$globals.monthNames.map((function(e,t){return a("option",{key:e,value:t,selected:t===s,disabled:!c(new Date(r,t,1),i?b(i):null,o?_(o):null)},e)}))),a("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},a("span",null,this.localization.$globals.monthNamesShort[s]),a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"}))),a("label",{htmlFor:this.yearSelectId,class:"stzh-calendar__vhidden"},this.localization.yearSelectLabel),a("div",{class:"stzh-calendar__select-wrapper"},a("select",{id:this.yearSelectId,class:"stzh-calendar__select stzh-calendar__select--year",onChange:this.handleYearSelect},S(u,f).map((function(e){return a("option",{key:e,selected:e===r},e)}))),a("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},a("span",null,this.focusedDay.getFullYear()),a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"})))),a("div",{class:"stzh-calendar__nav"},a("button",{class:"stzh-calendar__prev",onClick:this.handlePreviousMonthClick,disabled:l,type:"button"},a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-left"}),a("span",{class:"stzh-calendar__vhidden"},this.localization.prevMonthLabel)),a("button",{class:"stzh-calendar__next",onClick:this.handleNextMonthClick,disabled:h,type:"button"},a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-right"}),a("span",{class:"stzh-calendar__vhidden"},this.localization.nextMonthLabel)))),a(k,{dateFormatter:this.dateFormatShort,selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:i,max:o,isDateDisabled:this.isDateDisabled}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{localization:["createDateFormatters"],value:["valueWatcher"]}},enumerable:false,configurable:true});return e}());Y.style=F}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,a,t,s){function n(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,r){function i(e){try{l(s.next(e))}catch(a){r(a)}}function o(e){try{l(s["throw"](e))}catch(a){r(a)}}function l(e){e.done?t(e.value):n(e.value).then(i,o)}l((s=s.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,n,r,i;return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(e){return function(a){return l([e,a])}}function l(i){if(s)throw new TypeError("Generator is already executing.");while(t)try{if(s=1,n&&(r=i[0]&2?n["return"]:i[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;if(n=0,r)i=[i[0]&2,r.value];switch(i[0]){case 0:case 1:r=i;break;case 4:t.label++;return{value:i[1],done:false};case 5:t.label++;n=i[1];i=[0];continue;case 7:i=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(i[0]===6||i[0]===2)){t=0;continue}if(i[0]===3&&(!r||i[1]>r[0]&&i[1]<r[3])){t.label=i[1];break}if(i[0]===6&&t.label<r[1]){t.label=r[1];r=i;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(i);break}if(r[2])t.ops.pop();t.trys.pop();continue}i=a.call(e,t)}catch(o){i=[6,o];n=0}finally{s=r=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-609bf766.system.js","./p-11816251.system.js","./p-a408bfba.system.js"],(function(e){"use strict";var a,t,s,n,r,i,o,l,c,h,d,u,f,z,p,v,y,b,_,m,g;return{setters:[function(e){a=e.h;t=e.r;s=e.c;n=e.a;r=e.g},function(e){i=e.i;o=e.b;l=e.g;c=e.c;h=e.p;d=e.D;u=e.d;f=e.a;z=e.e;p=e.s;v=e.f;y=e.h;b=e.j;_=e.k;m=e.l},function(e){g=e.f}],execute:function(){var x=function(e){var t=e.focusedDay,s=e.today,n=e.day,r=e.onDaySelect,l=e.onKeyboardNavigation,c=e.focusedDayRef,h=e.disabled,d=e.inRange,u=e.isSelected,f=e.dateFormatter;var z=i(n,s);var p=o(n,t);var v=i(n,t);var y=!d;function b(e){r(e,n)}return a("button",{class:{"stzh-calendar__day":true,"is-outside":y,"is-today":z,"is-month":p,"is-disabled":h},tabIndex:v?0:-1,onClick:b,onKeyDown:l,"aria-disabled":h?"true":undefined,disabled:y,type:"button","aria-pressed":u?"true":"false","aria-current":z?"date":undefined,ref:function(e){if(v&&e&&c){c(e)}}},a("span",{"aria-hidden":"true"},n.getDate()),a("span",{class:"stzh-calendar__vhidden"},f.format(n)))};function w(e,a){var t=[];for(var s=0;s<e.length;s+=a){t.push(e.slice(s,s+a))}return t}function D(e,a,t){return e.map((function(s,n){var r=(n+a)%e.length;return t(e[r])}))}var k=function(e){var t=e.selectedDate,s=e.focusedDate,n=e.labelledById,r=e.localization,o=e.firstDayOfWeek,h=e.min,d=e.max,u=e.dateFormatter,f=e.isDateDisabled,z=e.onDateSelect,p=e.onKeyboardNavigation,v=e.focusedDayRef;var y=new Date;var b=l(s,o);return a("table",{class:"stzh-calendar__table","aria-labelledby":n},a("thead",null,a("tr",null,D(r.$globals.dayNames,o,(function(e){return a("th",{class:"stzh-calendar__table-header",scope:"col"},a("span",{"aria-hidden":"true"},e.substring(0,2)),a("span",{class:"stzh-calendar__vhidden"},e))})))),a("tbody",null,w(b,7).map((function(e){return a("tr",{class:"stzh-calendar__row"},e.map((function(e){return a("td",{class:"stzh-calendar__cell"},a(x,{day:e,today:y,focusedDay:s,isSelected:i(e,t),disabled:f(e),inRange:c(e,h,d),onDaySelect:z,dateFormatter:u,onKeyboardNavigation:p,focusedDayRef:v}))})))}))))};var F='.sc-stzh-calendar-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-calendar-h{display:none}.sc-stzh-calendar-h *.sc-stzh-calendar,.sc-stzh-calendar-h *.sc-stzh-calendar::before,.sc-stzh-calendar-h *.sc-stzh-calendar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-calendar-h{display:block}.stzh-calendar.sc-stzh-calendar{display:-ms-flexbox;display:flex;position:relative;text-align:left;color:var(--stzh-base-color);-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.stzh-calendar__wrapper.sc-stzh-calendar{width:100%}@media screen and (min-width: 600px){.stzh-calendar__wrapper.sc-stzh-calendar{min-width:18.125rem}}.stzh-calendar__table.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border-collapse:collapse;border-spacing:0;color:var(--stzh-base-color);text-align:center;width:100%}.stzh-calendar__table-header.sc-stzh-calendar,.stzh-calendar__cell.sc-stzh-calendar{padding:var(--stzh-space-xxxsmall)}.stzh-calendar__table-header.sc-stzh-calendar:first-child,.stzh-calendar__cell.sc-stzh-calendar:first-child{padding-left:0}.stzh-calendar__table-header.sc-stzh-calendar:last-child,.stzh-calendar__cell.sc-stzh-calendar:last-child{padding-right:0}.stzh-calendar__row.sc-stzh-calendar:last-child .stzh-calendar__cell.sc-stzh-calendar{padding-bottom:0}.stzh-calendar__table-header.sc-stzh-calendar{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-decoration:none;padding-top:0}.stzh-calendar__cell.sc-stzh-calendar{text-align:center}.stzh-calendar__day.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:50%;color:var(--stzh-base-color);cursor:pointer;display:inline-block;font-variant-numeric:tabular-nums;height:2.5rem;padding:0 0 0.0625rem;position:relative;text-align:center;vertical-align:middle;width:2.5rem;z-index:1}.stzh-calendar__day.sc-stzh-calendar::before{border-radius:50%;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.stzh-calendar__day.is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));position:relative;z-index:200}.stzh-calendar__day.sc-stzh-calendar:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day.sc-stzh-calendar:hover::before{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.08}.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar,.stzh-calendar__day.sc-stzh-calendar:focus{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-color-white)}.stzh-calendar__day.sc-stzh-calendar:active{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));color:var(--stzh-color-white);z-index:200}.stzh-calendar__day.sc-stzh-calendar:focus{z-index:200}.stzh-calendar__day.sc-stzh-calendar:not(.is-month){-webkit-box-shadow:none;box-shadow:none}.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{background:transparent;color:var(--stzh-color-grey25);cursor:default}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13);box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13)}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar:focus{-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar::before{display:none}.stzh-calendar__day.is-disabled.sc-stzh-calendar{text-decoration:line-through}.stzh-calendar__day.is-outside.sc-stzh-calendar{background:var(--stzh-color-grey5);-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-base-color);cursor:default;opacity:0.6;pointer-events:none;text-decoration:none}.stzh-calendar__day.is-outside.sc-stzh-calendar::before{display:none}.stzh-calendar__header.sc-stzh-calendar{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);width:100%}.stzh-calendar__nav.sc-stzh-calendar{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-calendar__prev.sc-stzh-calendar,.stzh-calendar__next.sc-stzh-calendar{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0.0625rem solid var(--stzh-color-grey13);border-radius:50%;color:var(--stzh-color-grey70);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;margin-left:var(--stzh-space-xsmall);padding:0;-webkit-transition:background-color 300ms ease;transition:background-color 300ms ease;height:2rem;width:2rem}.stzh-calendar__prev.sc-stzh-calendar:disabled,.stzh-calendar__next.sc-stzh-calendar:disabled{cursor:default;opacity:0.5}.stzh-calendar__select-wrapper.sc-stzh-calendar{display:-ms-inline-flexbox;display:inline-flex;position:relative}.stzh-calendar__select-wrapper.sc-stzh-calendar span.sc-stzh-calendar{margin-right:0}.stzh-calendar__select.sc-stzh-calendar{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:2;border-radius:var(--stzh-form-input-border-radius)}.stzh-calendar__select-label.sc-stzh-calendar{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);-ms-flex-align:center;align-items:center;border-radius:var(--stzh-form-input-border-radius);color:var(--stzh-color-grey70);display:-ms-flexbox;display:flex;padding:0 var(--stzh-space-xxsmall) 0 var(--stzh-space-xsmall);pointer-events:none;position:relative;width:100%;z-index:1}.stzh-calendar__icon.sc-stzh-calendar{--size:var(--stzh-icon-size-medium)}.stzh-calendar__vhidden.sc-stzh-calendar{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}';function S(e,a){var t=[];for(var s=e;s<=a;s++){t.push(s)}return t}var M={TAB:9,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};var T=0;var Y=e("stzh_calendar",function(){function e(e){var a=this;t(this,e);this.stzhChange=s(this,"stzhChange",7);this.initialTouchX=null;this.initialTouchY=null;this.enableActiveFocus=function(){a.activeFocus=true};this.disableActiveFocus=function(){a.activeFocus=false};this.handleTouchStart=function(e){var t=e.changedTouches[0];a.initialTouchX=t.pageX;a.initialTouchY=t.pageY};this.handleTouchEnd=function(e){var t=e.changedTouches[0];var s=t.pageX-a.initialTouchX;var n=t.pageY-a.initialTouchY;var r=70;var i=Math.abs(s)>=r&&Math.abs(n)<=r;if(i){a.addMonths(s<0?1:-1)}a.initialTouchY=null;a.initialTouchX=null};this.handleNextMonthClick=function(e){e.preventDefault();a.addMonths(1)};this.handlePreviousMonthClick=function(e){e.preventDefault();a.addMonths(-1)};this.handleKeyboardNavigation=function(e){var t=true;switch(e.keyCode){case M.RIGHT:a.addDays(1);break;case M.LEFT:a.addDays(-1);break;case M.DOWN:a.addDays(7);break;case M.UP:a.addDays(-7);break;case M.PAGE_UP:if(e.shiftKey){a.addYears(-1)}else{a.addMonths(-1)}break;case M.PAGE_DOWN:if(e.shiftKey){a.addYears(1)}else{a.addMonths(1)}break;case M.HOME:a.startOfWeek();break;case M.END:a.endOfWeek();break;default:t=false}if(t){e.preventDefault();a.enableActiveFocus()}};this.handleDaySelect=function(e,t){var s=c(t,h(a.min),h(a.max));var n=!a.isDateDisabled(t);if(s&&n){a.setDate(t);a.stzhChange.emit({component:"stzh-calendar",value:a.value,valueAsDate:t})}else{a.setFocusedDay(t)}};this.handleMonthSelect=function(e){a.setMonth(parseInt(e.target.value,10))};this.handleYearSelect=function(e){a.setYear(parseInt(e.target.value,10))};this.processFocusedDayNode=function(e){if(a.activeFocus){setTimeout((function(){return e.focus()}),0)}};this.value="";this.min="";this.max="";this.firstDayOfWeek=d.Monday;this.localization=undefined;this.isDateDisabled=function(){return false};this.activeFocus=false;this.focusedDay=new Date}e.prototype.createDateFormatters=function(){if(this.localization){this.dateFormatShort=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long"})}};e.prototype.valueWatcher=function(e){if(e){this.setFocusedDay(h(this.value))}else{this.setFocusedDay(new Date)}};e.prototype.setFocusedDay=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.focusedDay=u(e,h(this.min),h(this.max));return[2]}))}))};e.prototype.setDate=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.value=f(e);return[2]}))}))};e.prototype.addDays=function(e){this.setFocusedDay(z(this.focusedDay,e))};e.prototype.addMonths=function(e){this.setMonth(this.focusedDay.getMonth()+e)};e.prototype.addYears=function(e){this.setYear(this.focusedDay.getFullYear()+e)};e.prototype.startOfWeek=function(){this.setFocusedDay(p(this.focusedDay,this.firstDayOfWeek))};e.prototype.endOfWeek=function(){this.setFocusedDay(v(this.focusedDay,this.firstDayOfWeek))};e.prototype.setMonth=function(e){var a=y(b(this.focusedDay),e);var t=_(a);var s=y(this.focusedDay,e);this.setFocusedDay(u(s,a,t))};e.prototype.setYear=function(e){var a=m(b(this.focusedDay),e);var t=_(a);var s=m(this.focusedDay,e);this.setFocusedDay(u(s,a,t))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){switch(a.label){case 0:this.monthSelectId="stzh-calendar-month-".concat(T);this.yearSelectId="stzh-calendar-year-".concat(T);this.dialogLabelId="stzh-calendar-dialog-".concat(T);T++;this.valueWatcher(this.value);if(!!this.localization)return[3,2];e=this;return[4,g(this.element,"calendar")];case 1:e.localization=a.sent();a.label=2;case 2:return[2]}}))}))};e.prototype.connectedCallback=function(){this.createDateFormatters()};e.prototype.render=function(){var e=h(this.value);var t=(e||this.focusedDay).getFullYear();var s=this.focusedDay.getMonth();var r=this.focusedDay.getFullYear();var i=h(this.min);var o=h(this.max);var l=i!=null&&i.getMonth()===s&&i.getFullYear()===r;var d=o!=null&&o.getMonth()===s&&o.getFullYear()===r;var u=i?i.getFullYear():t-10;var f=o?o.getFullYear():t+10;return a(n,null,a("div",{class:{"stzh-calendar":true},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},a("div",{class:"stzh-calendar__wrapper"},a("div",{class:"stzh-calendar__header",onFocusin:this.disableActiveFocus},a("div",null,a("h2",{id:this.dialogLabelId,class:"stzh-calendar__vhidden","aria-live":"polite","aria-atomic":"true"},this.localization.$globals.monthNames[s],this.focusedDay.getFullYear()),a("label",{htmlFor:this.monthSelectId,class:"stzh-calendar__vhidden"},this.localization.monthSelectLabel),a("div",{class:"stzh-calendar__select-wrapper"},a("select",{id:this.monthSelectId,class:"stzh-calendar__select stzh-calendar__select--month",onChange:this.handleMonthSelect},this.localization.$globals.monthNames.map((function(e,t){return a("option",{key:e,value:t,selected:t===s,disabled:!c(new Date(r,t,1),i?b(i):null,o?_(o):null)},e)}))),a("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},a("span",null,this.localization.$globals.monthNamesShort[s]),a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"}))),a("label",{htmlFor:this.yearSelectId,class:"stzh-calendar__vhidden"},this.localization.yearSelectLabel),a("div",{class:"stzh-calendar__select-wrapper"},a("select",{id:this.yearSelectId,class:"stzh-calendar__select stzh-calendar__select--year",onChange:this.handleYearSelect},S(u,f).map((function(e){return a("option",{key:e,selected:e===r},e)}))),a("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},a("span",null,this.focusedDay.getFullYear()),a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"})))),a("div",{class:"stzh-calendar__nav"},a("button",{class:"stzh-calendar__prev",onClick:this.handlePreviousMonthClick,disabled:l,type:"button"},a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-left"}),a("span",{class:"stzh-calendar__vhidden"},this.localization.prevMonthLabel)),a("button",{class:"stzh-calendar__next",onClick:this.handleNextMonthClick,disabled:d,type:"button"},a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-right"}),a("span",{class:"stzh-calendar__vhidden"},this.localization.nextMonthLabel)))),a(k,{dateFormatter:this.dateFormatShort,selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:i,max:o,isDateDisabled:this.isDateDisabled}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{localization:["createDateFormatters"],value:["valueWatcher"]}},enumerable:false,configurable:true});return e}());Y.style=F}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as t,a as e}from"./p-
|
|
1
|
+
import{r as s,h as t,a as e}from"./p-7a4c6adb.js";const h=class{constructor(t){s(this,t),this.legend="",this.hideLegend=!1,this.legendLevel="",this.legendCurve="auto"}render(){return t(e,null,t("fieldset",{class:{"stzh-fieldset":!0,"stzh-fieldset--hide-legend":this.hideLegend}},this.legend&&t("legend",{class:"stzh-fieldset__legend"},this.legendLevel?t("stzh-heading",{level:this.legendLevel,curve:this.legendCurve},this.legend):this.legend),t("slot",null)))}};h.style=".sc-stzh-fieldset-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-fieldset-h{display:none}.sc-stzh-fieldset-h *.sc-stzh-fieldset,.sc-stzh-fieldset-h *.sc-stzh-fieldset::before,.sc-stzh-fieldset-h *.sc-stzh-fieldset::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-input,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-datepicker,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-dropdown,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-fieldset,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-actions,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-upload,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-checkbox,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-checkboxgroup,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-radio,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-radiogroup,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-row,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-vspace,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-hspace{margin-bottom:var(--stzh-space-large)}.sc-stzh-fieldset-h .sc-stzh-fieldset-s>:last-child{margin-bottom:0}.stzh-fieldset.sc-stzh-fieldset{margin:0;padding:0;border:none}.stzh-fieldset__legend.sc-stzh-fieldset{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);padding:0;margin-bottom:var(--stzh-space-large)}@media screen and (min-width: 1024px){.stzh-fieldset__legend.sc-stzh-fieldset{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-fieldset--hide-legend.sc-stzh-fieldset .stzh-fieldset__legend.sc-stzh-fieldset{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}";export{h as stzh_fieldset}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=function(){window.stzhComponents=Object.assign({version:"2.1.0-beta",labels:"fixed",cacheTranslations:!0,pathTranslations:"/",formats:{}},window.stzhComponents||{}),window.addEventListener("appload",(o=>{const t=document.querySelector("[autofocus]");t&&"stzh-components"===o.detail.namespace&&0===t.tagName.toLowerCase().indexOf("stzh-")&&"setFocus"in t&&t.setFocus()})),new IntersectionObserver((o=>{o.forEach((o=>{let t=0;o.intersectionRatio<1&&(t=window.innerWidth-document.body.clientWidth),document.documentElement.style.setProperty("--stzh-scrollbar-width",t+"px")}))}),{threshold:1}).observe(document.body)};export{o as g}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,s,i){function a(t){return t instanceof s?t:new s((function(e){e(t)}))}return new(s||(s=Promise))((function(s,l){function r(t){try{o(i.next(t))}catch(e){l(e)}}function n(t){try{o(i["throw"](t))}catch(e){l(e)}}function o(t){t.done?s(t.value):a(t.value).then(r,n)}o((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var s={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},i,a,l,r;return r={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function n(t){return function(e){return o([t,e])}}function o(r){if(i)throw new TypeError("Generator is already executing.");while(s)try{if(i=1,a&&(l=r[0]&2?a["return"]:r[0]?a["throw"]||((l=a["return"])&&l.call(a),0):a.next)&&!(l=l.call(a,r[1])).done)return l;if(a=0,l)r=[r[0]&2,l.value];switch(r[0]){case 0:case 1:l=r;break;case 4:s.label++;return{value:r[1],done:false};case 5:s.label++;a=r[1];r=[0];continue;case 7:r=s.ops.pop();s.trys.pop();continue;default:if(!(l=s.trys,l=l.length>0&&l[l.length-1])&&(r[0]===6||r[0]===2)){s=0;continue}if(r[0]===3&&(!l||r[1]>l[0]&&r[1]<l[3])){s.label=r[1];break}if(r[0]===6&&s.label<l[1]){s.label=l[1];l=r;break}if(l&&s.label<l[2]){s.label=l[2];s.ops.push(r);break}if(l[2])s.ops.pop();s.trys.pop();continue}r=e.call(t,s)}catch(n){r=[6,n];a=0}finally{i=l=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,s,i){function a(t){return t instanceof s?t:new s((function(e){e(t)}))}return new(s||(s=Promise))((function(s,l){function r(t){try{o(i.next(t))}catch(e){l(e)}}function n(t){try{o(i["throw"](t))}catch(e){l(e)}}function o(t){t.done?s(t.value):a(t.value).then(r,n)}o((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var s={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},i,a,l,r;return r={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function n(t){return function(e){return o([t,e])}}function o(r){if(i)throw new TypeError("Generator is already executing.");while(s)try{if(i=1,a&&(l=r[0]&2?a["return"]:r[0]?a["throw"]||((l=a["return"])&&l.call(a),0):a.next)&&!(l=l.call(a,r[1])).done)return l;if(a=0,l)r=[r[0]&2,l.value];switch(r[0]){case 0:case 1:l=r;break;case 4:s.label++;return{value:r[1],done:false};case 5:s.label++;a=r[1];r=[0];continue;case 7:r=s.ops.pop();s.trys.pop();continue;default:if(!(l=s.trys,l=l.length>0&&l[l.length-1])&&(r[0]===6||r[0]===2)){s=0;continue}if(r[0]===3&&(!l||r[1]>l[0]&&r[1]<l[3])){s.label=r[1];break}if(r[0]===6&&s.label<l[1]){s.label=l[1];l=r;break}if(l&&s.label<l[2]){s.label=l[2];s.ops.push(r);break}if(l[2])s.ops.pop();s.trys.pop();continue}r=e.call(t,s)}catch(n){r=[6,n];a=0}finally{i=l=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-609bf766.system.js","./p-0230004d.system.js","./p-a408bfba.system.js"],(function(t){"use strict";var e,s,i,a,l,r,n;return{setters:[function(t){e=t.r;s=t.c;i=t.h;a=t.a;l=t.g},function(t){r=t.c},function(t){n=t.f}],execute:function(){var o=".sc-stzh-card-list-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-card-list-h{display:none}.sc-stzh-card-list-h *.sc-stzh-card-list,.sc-stzh-card-list-h *.sc-stzh-card-list::before,.sc-stzh-card-list-h *.sc-stzh-card-list::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-xlarge)}}.sc-stzh-card-list-h .sc-stzh-card-list-s>[slot=description] stzh-icon{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.sc-stzh-card-list-h .sc-stzh-card-list-s>stzh-text[slot=description]{--color:inherit}.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-medium);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 1024px){.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){.stzh-card-list__header.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row}}.stzh-card-list__description.sc-stzh-card-list{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);color:var(--stzh-base-lead-color)}@media screen and (min-width: 1024px){.stzh-card-list__description.sc-stzh-card-list{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-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 800px){.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:0}}.stzh-card-list__switch.sc-stzh-card-list{--color:var(--stzh-base-lead-color);-ms-flex-item-align:end;align-self:end}";var c=t("stzh_card_list",function(){function t(t){var i=this;e(this,t);this.stzhCollapseAll=s(this,"stzhCollapseAll",7);this.collapseClick=function(){var t=Array.from(i.element.querySelectorAll("stzh-card"));t.forEach((function(t){if(t.collapsible){t.collapsed=!i.allCollapsed}}));i.allCollapsed=!i.allCollapsed;i.stzhCollapseAll.emit({component:"stzh-card-list",allCollapsed:i.allCollapsed})};this.updateCollapsedState=function(){var t=Array.from(i.element.querySelectorAll("stzh-card"));i.allCollapsed=!t.some((function(t){return!t.collapsed}))};this.sortableGhostClone=function(t){var e=r(t),s=e[0],i=e[1],a=e[2];if(i&&a&&i.tagName.toLowerCase()==="stzh-card"){var l=i;var n=a;l.heading=n.heading;l.subtitle=n.subtitle;l.headerActions=n.headerActions;l.footerActions=n.footerActions;l.hideMovementActions=n.hideMovementActions}return s};this.localization=undefined;this.showToggleLink=false;this.sortableEnabled=false;this.sortableDataIdAttribute="data-id";this.allCollapsed=false}t.prototype.collapseListener=function(){this.updateCollapsedState()};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(!!this.localization)return[3,2];t=this;return[4,n(this.element,"card-list")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.componentDidLoad=function(){this.updateCollapsedState()};t.prototype.render=function(){var t={"stzh-card-list":true};return i(a,null,i("div",{class:t},i("div",{class:"stzh-card-list__header"},i("div",{class:"stzh-card-list__description"},i("slot",{name:"description"})),this.showToggleLink&&i("stzh-link",{class:"stzh-card-list__switch",icon:this.allCollapsed?"list-expanded":"list-shrinked",label:this.allCollapsed?this.localization.expandAll:this.localization.collapseAll,onClick:this.collapseClick})),i("stzh-sortable",{disabled:!this.sortableEnabled,dataIdAttribute:this.sortableDataIdAttribute,ghostClone:this.sortableGhostClone},i("div",{class:"stzh-card-list__cards",role:"list"},i("slot",null)))))};Object.defineProperty(t.prototype,"element",{get:function(){return l(this)},enumerable:false,configurable:true});return t}());c.style=o}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,f as a,h as e,F as i,a as r,g as h}from"./p-7a4c6adb.js";import{s as c,h as d}from"./p-1f57d28e.js";import{m as o}from"./p-9111e257.js";import{f as n}from"./p-25a09313.js";const l=class{constructor(e){t(this,e),this.stzhCollapse=s(this,"stzhCollapse",7),this.stzhSubtitleClick=s(this,"stzhSubtitleClick",7),this.stzhStarClick=s(this,"stzhStarClick",7),this.stzhHeaderActionClick=s(this,"stzhHeaderActionClick",7),this._subtitles=[],this.nodeChange=t=>{let s=!1;t.forEach((t=>{(t.target.closest("[slot]")||t.target.hasAttribute("slot"))&&(s=!0)})),s&&a(this.element)},this.update=()=>{this.mainElement&&(this.mainElement.classList.remove("stzh-card--has-collapsed-header"),o("medium").matches)&&this.headerElement.clientWidth-this.headerLeftElement.clientWidth<=this.headerRightElement.clientWidth&&this.mainElement.classList.add("stzh-card--has-collapsed-header")},this.headerClick=t=>{if(!this.collapsible)return;const s=["stzh-popover","stzh-tooltip","button","a","input","select","textarea","iframe","details","label","area"];t.composedPath().map((t=>{var s;return null===(s=t.tagName)||void 0===s?void 0:s.toLowerCase()})).some((t=>s.includes(t)))||(this.collapsed=!this.collapsed,this.stzhCollapse.emit({component:"stzh-card",collapsed:this.collapsed}))},this.subtitleClick=()=>{this.subtitleInteractive&&this.stzhSubtitleClick.emit({component:"stzh-card"})},this.starToggleClick=()=>{this.stzhStarClick.emit({component:"stzh-card",starred:this.starred})},this.actionClick=t=>{this.stzhHeaderActionClick.emit({component:"stzh-card",action:t})},this.arrowUpClick=()=>{const t=this.element.closest("stzh-sortable");if(t){const s=this.findSortableChildElement();t.moveItem(s,"up")}},this.arrowDownClick=()=>{const t=this.element.closest("stzh-sortable");if(t){const s=this.findSortableChildElement();t.moveItem(s,"down")}},this.updateElementInsideSortable=()=>{if(!this.element.closest("stzh-sortable"))return this.sortable.removeEventListener("stzhUpdate",this.updateElementInsideSortable),void this.sortable.removeEventListener("stzhDisable",this.updateElementInsideSortable);this.element&&a(this.element)},this.init=()=>{this.element.querySelectorAll('stzh-chip[slot="meta"], [slot="meta"] stzh-chip').forEach((t=>{c(t,{size:"small"})}))},this.handleMutation=t=>{this.init(),this.nodeChange(t)},this.handleSelectionChange=t=>{this.checked=t.detail.checked},this.localization=void 0,this.collapsed=!1,this.starred=!1,this.starrable=!1,this.selectable=!1,this.checked=!1,this.name="",this.value="",this.disabled=!1,this.heading="",this.subtitle="",this.headerActions=[],this.footerActions=[],this.subtitleInteractive=!1,this.sortableDisabled=!1,this.collapsible=!1,this.hideHeaderBorder=!1,this.hideFooterBorder=!1,this.hideMovementActions=!1}handleResize(){this.debounceResize&&window.cancelAnimationFrame(this.debounceResize),this.debounceResize=requestAnimationFrame(this.update)}subtitleWatcher(t){if("string"==typeof t)try{this._subtitles=JSON.parse(t)}catch(s){this._subtitles=[t]}else this._subtitles=t}headerActionsWatcher(t){this._headerActions="string"==typeof t?JSON.parse(t):t}footerActionsWatcher(t){this._footerActions="string"==typeof t?JSON.parse(t):t}findSortableChildElement(){const t=this.element.closest("stzh-sortable");if(t){let s=this.element,a=null;for(a="function"==typeof t.container?t.container():t.container;s.parentElement&&s.parentElement!==a;)s=s.parentElement;return s}}async componentWillLoad(){this.subtitleWatcher(this.subtitle),this.headerActionsWatcher(this.headerActions),this.footerActionsWatcher(this.footerActions),this.localization||(this.localization=await n(this.element,"card"))}componentDidLoad(){this.sortable=this.element.closest("stzh-sortable"),this.sortable&&(this.sortable.addEventListener("stzhUpdate",this.updateElementInsideSortable),this.sortable.addEventListener("stzhDisable",this.updateElementInsideSortable))}connectedCallback(){this.init(),this.observer=new MutationObserver(this.handleMutation),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){var t,s,a;const h={"stzh-card":!0,"stzh-card--has-image":d(this.element,"image"),"stzh-card--has-content":d(this.element,"content"),"stzh-card--has-subtitle":!!this.subtitle,"stzh-card--has-subtitle-interactive":!!this.subtitle&&this.subtitleInteractive,"stzh-card--has-hidden-header-border":this.hideHeaderBorder,"stzh-card--has-hidden-footer-border":this.hideFooterBorder,"stzh-card--is-collapsed":this.collapsed,"stzh-card--is-starred":this.starred,"stzh-card--is-checked":this.checked},c=this.subtitleInteractive?"button":"span",o=this.findSortableChildElement(),n=(null==o?void 0:o.parentElement)&&0===Array.from(null===(t=null==o?void 0:o.parentElement)||void 0===t?void 0:t.children).indexOf(o),l=(null==o?void 0:o.parentElement)&&Array.from(null===(s=null==o?void 0:o.parentElement)||void 0===s?void 0:s.children).indexOf(o)===(null===(a=null==o?void 0:o.parentElement)||void 0===a?void 0:a.children.length)-1,z=!this.sortableDisabled&&!this.hideMovementActions&&this.sortable&&!this.sortable.disabled,p=this._headerActions.filter((t=>!t.onlyCollapseText));return e(r,{role:"listitem","aria-label":this.heading},e("article",{ref:t=>this.mainElement=t,class:h},e("slot",{name:"image"}),e("div",{class:"stzh-card__content-wrapper"},e("stzh-icon",{class:"stzh-card__dnd",name:"drag"}),e("header",{ref:t=>this.headerElement=t,class:"stzh-card__header",onClick:this.headerClick},e("div",{class:"stzh-card__header-top"},e("div",{ref:t=>this.headerLeftElement=t,class:"stzh-card__header-left"},e("div",{class:"stzh-card__title-area"},e("h3",{class:"stzh-card__title"},this.heading),this._subtitles.length>0&&e(c,{class:"stzh-card__subtitle",onClick:this.subtitleClick},this._subtitles.map((t=>e("span",{class:"stzh-card__subtitle-text"},t)))))),e("div",{ref:t=>this.headerRightElement=t,class:"stzh-card__header-right"},e("div",{class:"stzh-card__card-actions"},this._headerActions.map((t=>e("stzh-button",{class:{"stzh-card__card-action":!0,"is-button":!0,"show-medium":!t.onlyCollapseText,"hide-when-collapsed":!t.onlyCollapseText,"hide-text-when-collapsed":t.onlyCollapseText},icon:t.icon,badge:t.badge,badgeEmpty:t.badgeEmpty,badgeType:t.badgeType,variant:"tertiary",size:"tiny",badgePosition:"icon",onClick:()=>{this.actionClick(t)}},e("span",{class:{"show-medium":t.onlyCollapseText,"hide-when-collapsed":t.onlyCollapseText}},t.label)))),this.starrable&&e("stzh-tooltip",null,e("stzh-button",{class:"stzh-card__card-action is-star",icon:this.starred?"star-filled":"star",variant:"tertiary",size:"tiny",iconOnly:!0,onClick:this.starToggleClick}),e("div",{slot:"content"},this.starred?this.localization.actionRemove:this.localization.actionAdd)),(p.length>0||this.starrable||z)&&e("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:{"stzh-card__card-action-popover":!0,"hide-medium show-when-collapsed":!this.starrable&&!z}},e("stzh-button",{class:"stzh-card__card-action is-further",variant:"tertiary",size:"tiny",icon:"more-vertical",iconOnly:!0}),e("stzh-menu",{slot:"content"},this.starrable&&e("stzh-menu-item",{icon:this.starred?"star-filled":"star",onClick:this.starToggleClick},this.starred?this.localization.actionRemove:this.localization.actionAdd),p.map((t=>e("stzh-menu-item",{class:"hide-medium show-when-collapsed",icon:t.icon,badge:t.badge,badgeEmpty:t.badgeEmpty,badgeType:t.badgeType,onClick:()=>{this.actionClick(t)}},t.label))),z&&e(i,null,!n&&e("stzh-menu-item",{icon:"arrow-up",onClick:this.arrowUpClick},this.localization.actionMoveUp),!l&&e("stzh-menu-item",{icon:"arrow-down",onClick:this.arrowDownClick},this.localization.actionMoveDown))))))),e("div",{class:"stzh-card__header-meta"},e("slot",{name:"meta"}))),e("div",{class:"stzh-card__content hide-when-collapsed"},e("slot",{name:"content"})),e("div",{class:"stzh-card__footer hide-when-collapsed"},this._footerActions.length>0&&e("stzh-actionset",{actions:this._footerActions}),this.selectable&&e("stzh-button",{fullwidth:!0,type:"radio",variant:"secondary",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled,label:this.localization.select,onStzhChange:this.handleSelectionChange})))))}get element(){return h(this)}static get watchers(){return{subtitle:["subtitleWatcher"],headerActions:["headerActionsWatcher"],footerActions:["footerActionsWatcher"]}}};l.style='.sc-stzh-card-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-card-h{display:none}.sc-stzh-card-h *.sc-stzh-card,.sc-stzh-card-h *.sc-stzh-card::before,.sc-stzh-card-h *.sc-stzh-card::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-popover);--border:0.0625rem solid var(--stzh-base-border-color);--border-radius:0.1875rem;--dnd-visibility:hidden;--dnd-opacity:0;position:relative;border-radius:var(--border-radius)}[checked].sc-stzh-card-h:not([checked=false]){outline:0.1875rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}.is-ghost.sc-stzh-card-h::after,.is-ghost .sc-stzh-card-h::after{border-radius:var(--border-radius)}.is-selected.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-selected .sc-stzh-card-h,.is-chosen .sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-overlay)}.is-ghost.sc-stzh-card-h,.is-ghost .sc-stzh-card-h{--box-shadow:none;--border:0.0625rem solid transparent;overflow:hidden}.is-drag.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-ghost.sc-stzh-card-h,.is-selected.sc-stzh-card-h,.is-drag .sc-stzh-card-h,.is-chosen .sc-stzh-card-h,.is-ghost .sc-stzh-card-h,.is-selected .sc-stzh-card-h{--dnd-visibility:visible;--dnd-opacity:1}.sc-stzh-card-h .sc-stzh-card-s>*{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.sc-stzh-card-h .sc-stzh-card-s>[slot=image]{max-width:100%}.sc-stzh-card-h .sc-stzh-card-s>img[slot=image]{display:block}.sc-stzh-card-h .sc-stzh-card-s>[slot=meta]:not(:last-child){margin-right:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>table{border:0;border-spacing:0}.sc-stzh-card-h .sc-stzh-card-s>table th{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-card-h .sc-stzh-card-s>table td,.sc-stzh-card-h .sc-stzh-card-s>table th{padding:0}.sc-stzh-card-h .sc-stzh-card-s>table td{color:var(--stzh-color-black);padding-left:var(--stzh-space-xsmall)}.stzh-card.sc-stzh-card{background-color:var(--stzh-color-white);border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);border:var(--border);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .show-medium.sc-stzh-card{display:none}}@media screen and (min-width: 1024px){.stzh-card.sc-stzh-card .hide-medium.sc-stzh-card{display:none}}.stzh-card__content-wrapper.sc-stzh-card{position:relative}.stzh-card__dnd.sc-stzh-card{--size:var(--stzh-icon-size-xsmall);position:absolute;left:0.1875rem;top:1.4375rem;display:-ms-flexbox;display:flex;visibility:var(--dnd-visibility);opacity:var(--dnd-opacity);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);display:none}@media screen and (min-width: 1024px){.stzh-card__dnd.sc-stzh-card{display:block}}@media screen and (min-width: 1260px){.stzh-card__dnd.sc-stzh-card{left:0.25rem;top:1.6875rem}}.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-xlarge)}}.stzh-card__header-top.sc-stzh-card{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}.stzh-card__header-meta.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-meta.sc-stzh-card:not(:empty){margin-top:var(--stzh-space-xsmall)}.stzh-card__header-left.sc-stzh-card,.stzh-card__header-right.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-medium)}}.stzh-card__left.sc-stzh-card{-ms-flex-item-align:center;align-self:center}.stzh-card__title-area.sc-stzh-card{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden}.stzh-card__title.sc-stzh-card,.stzh-card__subtitle.sc-stzh-card{margin:0}.stzh-card__title.sc-stzh-card{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing);color:var(--stzh-base-lead-color)}@media screen and (min-width: 600px){.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.stzh-card__subtitle.sc-stzh-card{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);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-decoration:none;margin-left:-0.5625em}@media screen and (min-width: 1024px){.stzh-card__subtitle.sc-stzh-card{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-card__subtitle-text.sc-stzh-card{position:relative;display:-ms-inline-flexbox;display:inline-flex;padding-left:0.5625em}.stzh-card__subtitle-text.sc-stzh-card::after{content:",";position:absolute;left:0}.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__card-actions.sc-stzh-card{display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap}@media screen and (max-width: 1023px){.stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}}.stzh-card__card-action[variant=tertiary].sc-stzh-card{--color:var(--stzh-color-grey70)}.stzh-card__card-action.is-button.sc-stzh-card{--icon-size:var(--stzh-icon-size-small)}.stzh-card__card-action.is-placeholder.sc-stzh-card{width:var(--stzh-space-xxlarge);height:var(--stzh-space-xxlarge)}.stzh-card__card-action-popover.sc-stzh-card{--width:auto}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card{cursor:pointer;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:hover,.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--is-collapsed.sc-stzh-card .hide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .hide-when-collapsed.sc-stzh-card{display:none}.stzh-card--is-collapsed.sc-stzh-card .show-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .show-when-collapsed.sc-stzh-card{display:block}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__card-action.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:hover,.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-hidden-header-border.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none;padding-bottom:0}.stzh-card--has-hidden-footer-border.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding-top:0;border-top:none}';export{l as stzh_card}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-609bf766.system.js","./p-b71a1607.system.js"],(function(e,t){"use strict";var s,a,i,l,o,r,n;return{setters:[function(e){s=e.d;a=e.N;i=e.w;l=e.p;o=e.H;r=e.b},function(e){n=e.g}],execute:function(){var e=function(e){return"__sc_import_".concat(e.replace(/\s|-/g,"_"))};var d=function(){{p(o.prototype)}var e=Array.from(s.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(a,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===a}));var r=e["data-opts"]||{};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{r.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,i.location.href)).href;{c(r.resourcesUrl,e)}if(!i.customElements){return t.import("./p-2732d8c8.system.js").then((function(){return r}))}}return l(r)};var c=function(t,l){var o=e(a);try{i[o]=new Function("w","return import(w);//".concat(Math.random()))}catch(n){var r=new Map;i[o]=function(e){var a=new URL(e,t).href;var n=r.get(a);if(!n){var d=s.createElement("script");d.type="module";d.crossOrigin=l.crossOrigin;d.src=URL.createObjectURL(new Blob(["import * as m from '".concat(a,"'; window.").concat(o,".m = m;")],{type:"application/javascript"}));n=new Promise((function(e){d.onload=function(){e(i[o].m);d.remove()}}));r.set(a,n);s.head.appendChild(d)}return n}}};var p=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var s=t.call(this,false);var a=this.childNodes;if(e){for(var i=0;i<a.length;i++){if(a[i].nodeType!==2){s.appendChild(a[i].cloneNode(true))}}}return s}};d().then((function(e){n();return r(JSON.parse('[["p-36596b2b.system",[[2,"stzh-appointments",{"localization":[16],"sortBy":[1025,"sort-by"],"appointments":[1],"currentDate":[1025,"current-date"],"value":[1025],"name":[513],"showItems":[1026,"show-items"],"stepItems":[2,"step-items"],"calendarTitle":[1,"calendar-title"],"appointmentsTitle":[1,"appointments-title"],"dateAdapter":[16]}]]],["p-c777032f.system",[[2,"stzh-datamessagelist-item",{"localization":[16],"heading":[1],"unread":[4],"href":[1],"description":[1],"externalHref":[1,"external-href"],"loadingStatus":[1,"loading-status"],"meta":[1],"actions":[1],"tags":[1]}]]],["p-c6813d9f.system",[[6,"stzh-card",{"localization":[16],"collapsed":[1540],"starred":[1540],"starrable":[516],"selectable":[516],"checked":[516],"name":[513],"value":[1025],"disabled":[516],"heading":[1],"subtitle":[1],"headerActions":[1,"header-actions"],"footerActions":[1,"footer-actions"],"subtitleInteractive":[4,"subtitle-interactive"],"sortableDisabled":[516,"sortable-disabled"],"collapsible":[516],"hideHeaderBorder":[516,"hide-header-border"],"hideFooterBorder":[516,"hide-footer-border"],"hideMovementActions":[4,"hide-movement-actions"]},[[9,"resize","handleResize"]]]]],["p-fd811f6b.system",[[4,"stzh-datatable",{"localization":[16],"label":[1],"sortBy":[1025,"sort-by"],"sortDirection":[1025,"sort-direction"],"tokenize":[1],"idField":[1,"id-field"],"rows":[1],"columns":[1],"query":[32],"hasScrollLeft":[32],"hasScrollRight":[32],"isScrollable":[32],"cellsStickyLeft":[32],"cellsStickyRight":[32],"toggleSort":[64]},[[9,"resize","handleResize"]]]]],["p-3b33fa76.system",[[2,"stzh-anchornav",{"columns":[514],"columnsSmall":[514,"columns-small"],"columnsMedium":[514,"columns-medium"],"columnsLarge":[514,"columns-large"],"columnsUltra":[514,"columns-ultra"],"items":[1],"withBorder":[516,"with-border"]}]]],["p-e9313802.system",[[6,"stzh-audio",{"localization":[16],"src":[1],"preload":[1],"transcript":[1],"transcriptShown":[1028,"transcript-shown"],"play":[64],"pause":[64]}]]],["p-965829a6.system",[[6,"stzh-card-list",{"localization":[16],"showToggleLink":[516,"show-toggle-link"],"sortableEnabled":[4,"sortable-enabled"],"sortableDataIdAttribute":[1,"sortable-data-id-attribute"],"allCollapsed":[32]},[[0,"stzhCollapse","collapseListener"]]]]],["p-01909f35.system",[[6,"stzh-chip-select",{"localization":[16],"data":[1],"name":[513],"label":[1],"value":[1],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"invalid":[516],"required":[516],"disabled":[516],"a11yDescribedby":[1,"a11y-describedby"]}]]],["p-529a56aa.system",[[2,"stzh-datalist",{"direction":[513],"directionSmall":[513,"direction-small"],"directionMedium":[513,"direction-medium"],"directionLarge":[513,"direction-large"],"directionUltra":[513,"direction-ultra"],"hideBorder":[516,"hide-border"],"items":[1]}]]],["p-2c8d491a.system",[[4,"stzh-footer",{"copyright":[1],"variant":[1],"mainUrl":[1,"main-url"],"localization":[16]}]]],["p-afaa9c37.system",[[6,"stzh-accordion-item",{"open":[1540],"disabled":[516],"heading":[1],"subtitle":[1],"description":[1],"icon":[1],"badge":[1],"badgeEmpty":[516,"badge-empty"],"badgeType":[513,"badge-type"],"headingLevel":[513,"heading-level"],"show":[64],"hide":[64],"toggle":[64],"setFocus":[64]}]]],["p-51c75fba.system",[[6,"stzh-checkbox",{"localization":[16],"disabled":[516],"name":[513],"value":[1025],"invalid":[516],"required":[516],"checked":[1540],"label":[1],"description":[1],"descriptionLong":[1,"description-long"],"showMarker":[516,"show-marker"],"error":[1],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}]]],["p-37bdb9cd.system",[[6,"stzh-checkboxgroup",{"localization":[16],"disabled":[516],"name":[513],"legend":[1],"hideLegend":[516,"hide-legend"],"invalid":[516],"showMarker":[516,"show-marker"],"value":[1025],"direction":[513],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"checkedCheckbox":[16],"preventUpdateProperties":[1,"prevent-update-properties"]},[[0,"stzhChange","onChange"]]]]],["p-090bfb8e.system",[[6,"stzh-dialog",{"localization":[16],"closeOnEscapeKey":[4,"close-on-escape-key"],"closeOnBackdropClick":[4,"close-on-backdrop-click"],"open":[1028],"stay":[4],"size":[513],"hideClose":[4,"hide-close"],"heading":[1],"a11yRole":[1,"a11y-role"],"a11yLabel":[1,"a11y-label"],"show":[64],"hide":[64]},[[6,"click","handleOutsideClick"],[4,"keydown","handleKeydown"],[4,"click","handleOpenTriggerClick"]]]]],["p-8fc8d8c2.system",[[6,"stzh-fieldset",{"legend":[1],"hideLegend":[4,"hide-legend"],"legendLevel":[1,"legend-level"],"legendCurve":[1,"legend-curve"]}]]],["p-3f8976bc.system",[[6,"stzh-message",{"label":[1],"description":[1],"closeKey":[1,"close-key"],"type":[513],"hideClose":[4,"hide-close"],"localization":[16],"open":[32],"show":[64],"hide":[64]}]]],["p-6c3d7756.system",[[0,"stzh-olmap",{"localization":[16],"hostname":[1],"scaleControl":[4,"scale-control"],"layerControl":[4,"layer-control"],"printControl":[4,"print-control"],"locationControl":[4,"location-control"],"layer":[1025],"zoom":[2],"center":[16],"centerMarker":[4,"center-marker"],"resolutions":[16],"layers":[1],"getMap":[64],"addIconMarker":[64],"removeIconMarker":[64],"setIconMarkerActive":[64],"setIconMarkerInactive":[64],"enableLocationTracking":[64],"disableLocationTracking":[64]}]]],["p-c3161c9b.system",[[6,"stzh-accordion",{"collapsible":[4],"multiselectable":[4],"setItemFocus":[64]},[[0,"stzhOpen","openListener"]]]]],["p-011dcf30.system",[[6,"stzh-actions",{"variant":[513],"withBorder":[516,"with-border"]}]]],["p-725b3e74.system",[[6,"stzh-appnav",{"appTitle":[1,"app-title"],"appStatus":[1,"app-status"],"appHref":[1,"app-href"]}]]],["p-26159eac.system",[[1,"stzh-cell",{"span":[2],"spanSmall":[2,"span-small"],"spanMedium":[2,"span-medium"],"spanLarge":[2,"span-large"],"spanUltra":[2,"span-ultra"],"justifySelf":[513,"justify-self"],"alignSelf":[513,"align-self"]}]]],["p-616e70e9.system",[[6,"stzh-container"]]],["p-183e4790.system",[[6,"stzh-cspace"]]],["p-fa9a4cd5.system",[[6,"stzh-datamessagelist"]]],["p-9ca1efe4.system",[[6,"stzh-figure",{"caption":[1],"copyright":[1]}]]],["p-27bfb4c2.system",[[2,"stzh-flyingfocus",{"style":[32],"position":[32],"enabled":[32],"visible":[32],"helper":[32],"moving":[32],"reposition":[64]},[[4,"keydown","handleKeydown"],[5,"mousedown","handleMousedown"],[6,"focus","handleFocus"],[6,"blur","handleBlur"],[7,"scroll","handleScrollResize"],[11,"resize","handleScrollResize"]]]]],["p-14e457c6.system",[[6,"stzh-header",{"href":[1],"preventAppnavPlaceholder":[4,"prevent-appnav-placeholder"],"hideLogo":[32],"paddingTop":[32],"metabarTransform":[32],"sticky":[32],"stickyClosing":[32],"stickyMetabar":[32],"stickyMetabarEnd":[32],"updatePosition":[64]},[[9,"resize","resizeListener"],[8,"DOMContentLoaded","resizeListener"],[8,"load","resizeListener"],[9,"scroll","scrollListener"]]]]],["p-3fc40cc0.system",[[2,"stzh-hr"]]],["p-05901b22.system",[[6,"stzh-hspace",{"curve":[1],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"],"justify":[1],"around":[4],"border":[1]}]]],["p-fa6427bf.system",[[0,"stzh-icon-sprite"]]],["p-7dd6fbc9.system",[[1,"stzh-list",{"variant":[513]}]]],["p-470ccde5.system",[[1,"stzh-list-item"]]],["p-e347ce1e.system",[[2,"stzh-loadingbar",{"percent":[2],"hidePercent":[4,"hide-percent"],"label":[1]}]]],["p-90665664.system",[[6,"stzh-metanav"]]],["p-44435254.system",[[6,"stzh-overlay",{"open":[1028],"stay":[4],"a11yLabel":[1,"a11y-label"],"show":[64],"hide":[64]}]]],["p-27573504.system",[[6,"stzh-page-skiplinks"]]],["p-74786856.system",[[6,"stzh-button",{"badge":[1],"badgeType":[513,"badge-type"],"badgePosition":[513,"badge-position"],"badgeEmpty":[516,"badge-empty"],"fullwidth":[516],"size":[513],"textAlign":[513,"text-align"],"variant":[513],"icon":[1],"iconPosition":[513,"icon-position"],"checked":[1540],"name":[513],"value":[1025],"href":[1],"target":[1],"type":[1],"disabled":[516],"active":[516],"label":[1],"effect":[1],"iconOnly":[516,"icon-only"],"a11yLabel":[1,"a11y-label"],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}],[2,"stzh-badge",{"label":[1],"type":[513]}],[2,"stzh-icon",{"name":[1],"a11yTitle":[1,"a11y-title"]}]]],["p-652eee8b.system",[[2,"stzh-saptcha",{"localization":[16],"numbers":[1],"value":[1],"name":[513],"error":[1],"invalid":[516],"disabled":[516]}]]],["p-a10e0117.system",[[2,"stzh-vbz-majorticker",{"api":[1],"data":[8],"moreInfoLink":[1,"more-info-link"],"dateAdapter":[16],"localization":[16],"ghettoboxCloseTimeKey":[1,"ghettobox-close-time-key"],"ghettoboxShown":[32]}]]],["p-509c97c9.system",[[6,"stzh-vbz-ticker",{"api":[1],"data":[8],"moreInfoLink":[1,"more-info-link"],"dateAdapter":[16],"localization":[16]}]]],["p-23e9b6c7.system",[[4,"stzh-upload",{"existingFiles":[1,"existing-files"],"label":[1],"description":[1],"button":[1],"url":[1],"method":[1],"withCredentials":[4,"with-credentials"],"disabled":[516],"invalid":[516],"downloadDisabled":[4,"download-disabled"],"error":[1],"acceptedFiles":[1,"accepted-files"],"autoProcessQueue":[4,"auto-process-queue"],"maxFiles":[2,"max-files"],"maxFilesize":[2,"max-filesize"],"parallelUploads":[2,"parallel-uploads"],"uploadMultiple":[4,"upload-multiple"],"chunking":[4],"forceChunking":[4,"force-chunking"],"chunkSize":[2,"chunk-size"],"parallelChunkUploads":[4,"parallel-chunk-uploads"],"retryChunks":[4,"retry-chunks"],"retryChunksLimit":[2,"retry-chunks-limit"],"filesizeBase":[2,"filesize-base"],"headers":[16],"defaultHeaders":[4,"default-headers"],"accept":[16],"chunksUploaded":[16],"hiddenInputContainer":[1,"hidden-input-container"],"localization":[16],"processQueue":[64]}]]],["p-1663fc49.system",[[6,"stzh-pagebottom",{"shareTitle":[1,"share-title"],"shareUrl":[1,"share-url"],"shareServices":[1,"share-services"],"shareDisabled":[4,"share-disabled"],"logoHref":[1,"logo-href"],"withBorder":[4,"with-border"]}]]],["p-229f4ebc.system",[[2,"stzh-progressbar",{"data":[1],"index":[2],"steps":[2],"stepsSmall":[2,"steps-small"],"stepsMedium":[2,"steps-medium"],"stepsLarge":[2,"steps-large"],"stepsUltra":[2,"steps-ultra"],"currentSteps":[32]}]]],["p-b3587b9d.system",[[6,"stzh-toggle",{"localization":[16],"disabled":[516],"name":[513],"value":[1025],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"checked":[1540],"label":[1],"labelPosition":[513,"label-position"],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}]]],["p-c8009c05.system",[[6,"stzh-pagetitle"]]],["p-8e5f4ef6.system",[[0,"stzh-portal-mitwirken"]]],["p-6c1ad586.system",[[4,"stzh-readspeaker",{"href":[1],"eventId":[1,"event-id"]},[[8,"DOMContentLoaded","addClickEvents"],[8,"load","addClickEvents"]]]]],["p-33a52001.system",[[1,"stzh-row",{"span":[2],"spanSmall":[2,"span-small"],"spanMedium":[2,"span-medium"],"spanLarge":[2,"span-large"],"spanUltra":[2,"span-ultra"],"justify":[513],"items":[513],"content":[513]}]]],["p-0321e98e.system",[[6,"stzh-section",{"variant":[1]}]]],["p-6a96d63e.system",[[6,"stzh-skiplink",{"href":[1],"linkAccesskey":[1,"link-accesskey"],"linkTitle":[1,"link-title"],"focused":[32]},[[0,"focusin","focusinHandler"],[0,"focusout","focusoutHandler"]]]]],["p-bdc627fa.system",[[6,"stzh-sticky",{"disableStickyTop":[516,"disable-sticky-top"],"disableStickyBottom":[516,"disable-sticky-bottom"],"isStuckTop":[32],"isStuckBottom":[32]}]]],["p-d408604f.system",[[4,"stzh-table",{"fixedLeft":[2,"fixed-left"],"fixedRight":[2,"fixed-right"],"hasScrollLeft":[32],"hasScrollRight":[32],"isScrollable":[32],"cellsStickyLeft":[32],"cellsStickyRight":[32]},[[9,"resize","handleResize"]]]]],["p-2e276f2e.system",[[6,"stzh-visuallyhidden"]]],["p-470e5f38.system",[[6,"stzh-vspace",{"curve":[1],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"],"justify":[1],"around":[4],"border":[1]}]]],["p-ee711f37.system",[[6,"stzh-tooltip",{"open":[1028],"label":[1],"content":[1],"placement":[1],"strategy":[1],"skidding":[2],"distance":[2],"interactive":[4],"trigger":[1],"localization":[16],"computedPlacement":[32],"show":[64],"hide":[64],"toggle":[64],"update":[64]},[[6,"click","handleDocumentClick"]]]]],["p-5869502c.system",[[6,"stzh-popover",{"open":[1540],"placement":[513],"variant":[513],"skidding":[2],"distance":[2],"label":[1],"strategy":[1],"localization":[16],"computedPlacement":[32],"show":[64],"hide":[64],"toggle":[64],"update":[64]},[[6,"click","handleOutsideClick"]]]]],["p-55435022.system",[[2,"stzh-actionset",{"localization":[16],"variant":[513],"popoverButtonVariant":[513,"popover-button-variant"],"popoverButtonSize":[513,"popover-button-size"],"popoverPlacement":[513,"popover-placement"],"actions":[1],"actionsCollapsed":[32],"dynamicActions":[32],"isSmall":[32],"isMedium":[32]},[[8,"appload","handleResize"],[9,"resize","handleResize"],[8,"DOMContentLoaded","handleResize"],[8,"load","handleResize"]]]]],["p-07fc857b.system",[[2,"stzh-share",{"localization":[16],"url":[1],"services":[1]}]]],["p-67ade1c7.system",[[6,"stzh-progressbar-item",{"first":[516],"last":[516],"passed":[516],"current":[516],"hide":[516],"dotted":[516],"step":[514],"icon":[513]}]]],["p-fb150554.system",[[2,"stzh-vbz-linechip",{"line":[1],"active":[516],"alert":[516],"global":[516],"setFocus":[64]}]]],["p-440ae0cc.system",[[6,"stzh-loader",{"size":[1],"label":[1],"hideLabel":[4,"hide-label"]}]]],["p-cc735465.system",[[6,"stzh-sortable",{"localization":[16],"disabled":[516],"dataIdAttribute":[1,"data-id-attribute"],"container":[16],"ghostClone":[16],"filterElements":[1,"filter-elements"],"toArray":[64],"sort":[64],"moveItem":[64]}]]],["p-8eb72064.system",[[2,"stzh-status",{"percent":[2],"withLoadingbar":[4,"with-loadingbar"],"label":[1],"type":[513]}]]],["p-bd7dd853.system",[[6,"stzh-ghettobox",{"hiddenTitle":[1,"hidden-title"],"mainTitle":[1,"main-title"],"description":[1],"publishDate":[1,"publish-date"],"closeTimeKey":[1,"close-time-key"],"localization":[16],"open":[32],"show":[64],"hide":[64]}],[6,"stzh-richtext",{"externalLinkSelector":[1,"external-link-selector"],"externalLinkIcon":[1,"external-link-icon"]}]]],["p-c5749124.system",[[4,"stzh-dropdown",{"options":[1],"optgroups":[1],"items":[1],"searchField":[1,"search-field"],"multiple":[516],"inline":[516],"maxOptions":[2,"max-options"],"searchConjunction":[1,"search-conjunction"],"allowEmptyOption":[4,"allow-empty-option"],"openOnFocus":[4,"open-on-focus"],"closeAfterSelect":[4,"close-after-select"],"load":[16],"minCharacters":[2,"min-characters"],"loadThrottle":[2,"load-throttle"],"preload":[8],"labelField":[1,"label-field"],"valueField":[1,"value-field"],"optgroupField":[1,"optgroup-field"],"optgroupLabelField":[1,"optgroup-label-field"],"optgroupValueField":[1,"optgroup-value-field"],"lockOptgroupOrder":[4,"lock-optgroup-order"],"name":[513],"variant":[513],"size":[513],"disabled":[516],"popoverPlacement":[513,"popover-placement"],"label":[1],"icon":[1],"noSearch":[4,"no-search"],"noBackspaceDelete":[4,"no-backspace-delete"],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"localization":[16],"a11yDescribedby":[1,"a11y-describedby"],"getValue":[64],"setValue":[64],"setFocus":[64],"resetLoadedSearches":[64],"getLoadedSearches":[64],"loadItems":[64]}]]],["p-92ad9720.system",[[2,"stzh-calendar",{"value":[1025],"min":[1],"max":[1],"firstDayOfWeek":[2,"first-day-of-week"],"localization":[16],"isDateDisabled":[16],"activeFocus":[32],"focusedDay":[32],"setFocusedDay":[64],"setDate":[64]}]]],["p-a6da8c06.system",[[6,"stzh-chip",{"label":[1],"icon":[1],"removable":[516],"variant":[513],"size":[513],"type":[513],"counter":[1],"removeLabel":[1,"remove-label"],"active":[516],"disabled":[516],"invert":[516],"a11yLabel":[1,"a11y-label"],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}]]],["p-3a47ff2d.system",[[6,"stzh-clamp",{"lines":[514],"linesSmall":[514,"lines-small"],"linesMedium":[514,"lines-medium"],"linesLarge":[514,"lines-large"],"linesUltra":[514,"lines-ultra"]}]]],["p-de8f9508.system",[[6,"stzh-heading",{"level":[513],"curve":[513],"withBorder":[516,"with-border"]}]]],["p-1a5fc8e3.system",[[6,"stzh-text",{"font":[1],"curve":[513],"lead":[516],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"]}]]],["p-ee944add.system",[[6,"stzh-input",{"localization":[16],"multiline":[4],"rows":[2],"type":[1],"step":[2],"min":[2],"max":[2],"showSpin":[516,"show-spin"],"readonly":[516],"disabled":[516],"clearable":[516],"showMarker":[516,"show-marker"],"minlength":[2],"maxlength":[2],"name":[513],"value":[1025],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"invalid":[516],"required":[516],"inputmode":[1],"autocomplete":[1],"noAutocomplete":[4,"no-autocomplete"],"label":[1],"size":[513],"a11yDescribedby":[1,"a11y-describedby"],"filled":[32],"setFocus":[64]}]]],["p-025953d1.system",[[6,"stzh-datepicker",{"calendarMin":[1,"calendar-min"],"calendarMax":[1,"calendar-max"],"calendarIsDateDisabled":[16],"name":[513],"value":[1025],"label":[1],"readonly":[516],"disabled":[516],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"size":[513],"inline":[4],"dateAdapter":[16],"localization":[16],"buttonLabel":[32],"setDate":[64],"getPopover":[64]}],[6,"stzh-radio",{"localization":[16],"disabled":[516],"name":[513],"value":[1025],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"checked":[1540],"label":[1],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}],[6,"stzh-radiogroup",{"localization":[16],"disabled":[516],"name":[513],"legend":[1],"hideLegend":[516,"hide-legend"],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"value":[1025],"direction":[513],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"checkedRadio":[8,"checked-radio"],"preventUpdateProperties":[1,"prevent-update-properties"]},[[0,"stzhChange","onChange"]]]]],["p-881e526e.system",[[6,"stzh-menu-item",{"badge":[1],"badgeType":[513,"badge-type"],"badgeEmpty":[516,"badge-empty"],"icon":[1],"active":[4],"label":[1],"href":[1],"target":[1],"disabled":[4],"a11yLabel":[1,"a11y-label"],"setFocus":[64]}],[6,"stzh-menu"]]],["p-8e363084.system",[[6,"stzh-link",{"icon":[1],"iconPosition":[513,"icon-position"],"size":[513],"href":[1],"target":[1],"type":[1],"variant":[513],"fullwidth":[516],"textAlign":[513,"text-align"],"badge":[1],"badgeType":[513,"badge-type"],"badgeEmpty":[516,"badge-empty"],"badgePosition":[513,"badge-position"],"disabled":[516],"active":[516],"iconOnly":[516,"icon-only"],"label":[1],"linkAccesskey":[1,"link-accesskey"],"setFocus":[64]}]]]]'),e)}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-609bf766.system.js","./p-0230004d.system.js"],(function(t){"use strict";var e,i,s,r,n;return{setters:[function(t){e=t.r;i=t.h;s=t.a;r=t.g},function(t){n=t.h}],execute:function(){var o=".sc-stzh-figure-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-figure-h{display:none}.sc-stzh-figure-h *.sc-stzh-figure,.sc-stzh-figure-h *.sc-stzh-figure::before,.sc-stzh-figure-h *.sc-stzh-figure::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-figure-h .sc-stzh-figure-s>img,.sc-stzh-figure-h .sc-stzh-figure-s>video,.sc-stzh-figure-h .sc-stzh-figure-s>picture{width:100%;max-width:100%}.stzh-figure.sc-stzh-figure{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0}.stzh-figure__element.sc-stzh-figure{display:-ms-flexbox;display:flex}.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));color:var(--stzh-base-color);margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-figure__caption.sc-stzh-figure:empty{display:none}.stzh-figure__copyright.sc-stzh-figure{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-figure__copyright.sc-stzh-figure:not(:empty){margin-left:var(--stzh-space-xxsmall)}";var h=t("stzh_figure",function(){function t(t){e(this,t);this.caption="";this.copyright=""}t.prototype.render=function(){var t=n(this.element,"caption");var e={"stzh-figure":true,"stzh-figure--has-caption":t};return i(s,null,i("figure",{class:e},i("div",{class:"stzh-figure__element"},i("slot",null)),i("figcaption",{class:"stzh-figure__caption"},this.caption?this.caption:i("slot",{name:"caption"}),i("span",{class:"stzh-figure__copyright"},this.copyright?this.copyright:i("slot",{name:"copyright"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());h.style=o}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function o(t){try{c(n.next(t))}catch(e){a(e)}}function s(t){try{c(n["throw"](t))}catch(e){a(e)}}function c(t){t.done?r(t.value):i(t.value).then(o,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;i=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){r.label=o[1];break}if(o[0]===6&&r.label<a[1]){r.label=a[1];a=o;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(o);break}if(a[2])r.ops.pop();r.trys.pop();continue}o=e.call(t,r)}catch(s){o=[6,s];i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-609bf766.system.js","./p-ded16c0e.system.js","./p-f58c28ad.system.js","./p-a408bfba.system.js","./p-309d2b66.system.js"],(function(t){"use strict";var e,r,n,i,a,o,s,c;return{setters:[function(t){e=t.r;r=t.h;n=t.a;i=t.g},function(t){a=t.a},function(t){o=t.a},function(t){s=t.f},function(t){c=t.c}],execute:function(){var h=".sc-stzh-vbz-majorticker-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-vbz-majorticker-h{display:none}.sc-stzh-vbz-majorticker-h *.sc-stzh-vbz-majorticker,.sc-stzh-vbz-majorticker-h *.sc-stzh-vbz-majorticker::before,.sc-stzh-vbz-majorticker-h *.sc-stzh-vbz-majorticker::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-vbz-majorticker__ghettobox.sc-stzh-vbz-majorticker{--background-color:var(--stzh-color-coral);--stzh-base-invert-color:var(--stzh-color-black)}";var l="0";var u="GLOBAL";var f="ticker";var b="stadt-zuerich.ch/vbz";var d=t("stzh_vbz_majorticker",function(){function t(t){var r=this;e(this,t);this.onGhettoboxOpen=function(){r.ghettoboxShown=true};this.onGhettoboxClose=function(){r.ghettoboxShown=false};this.api="https://fpbe.zvv.ch/restproxy/himsearch?format=json&accessId=unic&channels=ticker&additionalfields=tickers:VBZ&orderBy=LMOD_DESC&lang={lang}";this.data="";this.moreInfoLink="https://zvv.ch/zvv/{lang}/fahrplan/vl.html?himIds={id}";this.dateAdapter=undefined;this.localization=undefined;this.ghettoboxCloseTimeKey=undefined;this.ghettoboxShown=true}t.prototype.apiWatcher=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r;return __generator(this,(function(n){switch(n.label){case 0:if(!t){return[2]}e=this.api.replace(/\{lang\}/,this.localization.$locale);e=e+(e.includes("?")?"&":"?")+Date.now();return[4,a.get(e)];case 1:r=n.sent().data;this.data=r;return[2]}}))}))};t.prototype.dataWatcher=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,n,i,a;return __generator(this,(function(s){if(typeof t==="string"){this._data=JSON.parse(t)}else{this._data=t}n=(r=(e=this._data)===null||e===void 0?void 0:e.Message)===null||r===void 0?void 0:r.find((function(t){return t.category===l&&t.baseType===u}));if(n){i=n.channel.filter((function(t){return t.name===f&&t.url})).map((function(t){return t.url})).reduce((function(t,e){return t.concat(e)}),[]);a=i.find((function(t){return t.url.indexOf(b)!==-1}));this.disturbance={id:n.id,head:n.head,text:o(n.text),startDate:new Date("".concat(n.sDate,"T").concat(n.sTime,"+02:00")),endDate:new Date("".concat(n.eDate,"T").concat(n.eTime,"+02:00")),altStart:n.altStart,altEnd:n.altEnd,infoUrl:a}}return[2]}))}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(!!this.localization)return[3,2];t=this;return[4,s(this.element,"vbz-majorticker")];case 1:t.localization=e.sent();e.label=2;case 2:if(!this.dateAdapter){this.dateAdapter=c(this.localization.$formats,this.localization.$globals)}if(!this.data)return[3,4];return[4,this.dataWatcher(this.data)];case 3:e.sent();return[3,6];case 4:return[4,this.apiWatcher(this.api)];case 5:e.sent();e.label=6;case 6:return[2]}}))}))};t.prototype.render=function(){var t={"stzh-vbz-majorticker":true};return r(n,{hidden:!this.disturbance||!this.ghettoboxShown},r("div",{class:t},this.disturbance&&r("stzh-ghettobox",{onStzhOpen:this.onGhettoboxOpen,onStzhClose:this.onGhettoboxClose,class:"stzh-vbz-majorticker__ghettobox",closeTimeKey:this.ghettoboxCloseTimeKey,mainTitle:this.disturbance.head,publishDate:this.disturbance.startDate},r("stzh-richtext",{innerHTML:this.disturbance.text}),this.disturbance.infoUrl?r("stzh-button",{slot:"button",href:this.disturbance.infoUrl.url},this.disturbance.infoUrl.name):r("stzh-button",{slot:"button",target:"_blank",href:this.moreInfoLink.replace(/\{lang\}/,this.localization.$locale).replace(/\{id\}/,this.disturbance.id)},this.localization.moreInfo))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{api:["apiWatcher"],data:["dataWatcher"]}},enumerable:false,configurable:true});return t}());d.style=h}}}));
|