@oiz/stzh-components 2.0.0-beta → 2.1.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-58a084a9.js → app-globals-e1f4f1d9.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 +34 -26
- 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 -24
- 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 +38 -59
- package/dist/cjs/stzh-calendar.cjs.entry.js +9 -25
- package/dist/cjs/stzh-card-list.cjs.entry.js +23 -26
- package/dist/cjs/stzh-card.cjs.entry.js +37 -49
- package/dist/cjs/stzh-cell.cjs.entry.js +1 -8
- package/dist/cjs/stzh-checkbox.cjs.entry.js +15 -20
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +29 -20
- package/dist/cjs/stzh-chip-select.cjs.entry.js +57 -11
- package/dist/cjs/stzh-chip.cjs.entry.js +15 -24
- 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 +2 -2
- package/dist/cjs/stzh-datalist.cjs.entry.js +8 -20
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +12 -12
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +16 -22
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +431 -0
- package/dist/cjs/stzh-dialog.cjs.entry.js +12 -20
- 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 +10 -21
- package/dist/cjs/stzh-header.cjs.entry.js +3 -9
- package/dist/cjs/stzh-heading.cjs.entry.js +2 -5
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +2 -11
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +2 -2
- package/dist/cjs/{stzh-input-description-9802abc2.js → stzh-input-description-4326b0d9.js} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +32 -39
- package/dist/cjs/stzh-link.cjs.entry.js +27 -33
- package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
- 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 +13 -17
- package/dist/cjs/stzh-message.cjs.entry.js +6 -19
- 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-pagetitle.cjs.entry.js +2 -2
- 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 +5 -8
- package/dist/cjs/stzh-section.cjs.entry.js +1 -2
- package/dist/cjs/stzh-skiplink.cjs.entry.js +4 -2
- package/dist/cjs/stzh-sortable.cjs.entry.js +29 -32
- 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 +9 -11
- 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 +52 -131
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +5 -7
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +8 -9
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +7 -8
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +2 -11
- package/dist/collection/assets/i18n/de.json +19 -0
- package/dist/collection/assets/i18n/en.json +19 -0
- package/dist/collection/assets/icons/mono/code-window.svg +3 -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 +7 -2
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +0 -2
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +34 -8
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +123 -24
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +9 -0
- package/dist/collection/components/stzh-actions/stzh-actions.js +2 -4
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +21 -29
- 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.css +22 -2
- package/dist/collection/components/stzh-badge/stzh-badge.js +24 -2
- package/dist/collection/components/stzh-button/stzh-button.css +1 -0
- package/dist/collection/components/stzh-button/stzh-button.js +65 -46
- package/dist/collection/components/stzh-calendar/stzh-calendar.js +8 -24
- package/dist/collection/components/stzh-card/stzh-card.css +2 -14
- package/dist/collection/components/stzh-card/stzh-card.js +39 -69
- package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -4
- package/dist/collection/components/stzh-card-list/stzh-card-list.js +25 -54
- package/dist/collection/components/stzh-card-list/stzh-card-list.stories.js +2 -2
- package/dist/collection/components/stzh-cell/stzh-cell.js +0 -7
- 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 +49 -23
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +80 -0
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +217 -9
- 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-cspace/stzh-cspace.css +87 -176
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +7 -19
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -8
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +10 -10
- package/dist/collection/components/stzh-datatable/stzh-datatable.css +5 -0
- 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.css +9 -19
- 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 +4 -4
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +16 -16
- 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 +2 -8
- package/dist/collection/components/stzh-heading/stzh-heading.css +5 -15
- 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.css +19 -24
- 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 +58 -32
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-input/stzh-input.js +31 -38
- package/dist/collection/components/stzh-link/stzh-link.css +18 -0
- package/dist/collection/components/stzh-link/stzh-link.js +97 -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-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 +48 -16
- package/dist/collection/components/stzh-message/stzh-message.css +5 -0
- 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-pagetitle/stzh-pagetitle.css +3 -8
- package/dist/collection/components/stzh-popover/stzh-popover.js +9 -12
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +226 -337
- 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 +34 -22
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +88 -129
- 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.css +8 -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-skiplink/stzh-skiplink.js +3 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.css +12 -6
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +27 -30
- 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.css +5 -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 +16 -7
- package/dist/collection/components/stzh-upload/stzh-upload.js +49 -128
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +1 -1
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +4 -6
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +7 -8
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +2 -7
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +5 -6
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +19 -24
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +0 -9
- package/dist/collection/pages/meinkonto.stories.js +3 -3
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +6 -1
- package/dist/components/stzh-accordion-item.js +51 -26
- package/dist/components/stzh-accordion.js +0 -2
- package/dist/components/stzh-actions.js +2 -4
- package/dist/components/stzh-actionset2.js +15 -23
- 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 +9 -4
- package/dist/components/stzh-button2.js +32 -47
- package/dist/components/stzh-calendar2.js +8 -24
- package/dist/components/stzh-card-list.js +23 -27
- package/dist/components/stzh-card.js +36 -49
- package/dist/components/stzh-cell.js +0 -7
- package/dist/components/stzh-checkbox.js +13 -18
- package/dist/components/stzh-checkboxgroup.js +28 -19
- package/dist/components/stzh-chip-select.js +67 -12
- package/dist/components/stzh-chip2.js +16 -23
- 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-cspace.js +1 -1
- package/dist/components/stzh-datalist.js +7 -19
- package/dist/components/stzh-datamessagelist-item.js +11 -11
- package/dist/components/stzh-datatable.js +15 -21
- package/dist/components/stzh-datepicker2.js +19 -35
- package/dist/components/stzh-dialog.js +11 -19
- 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 +8 -17
- package/dist/components/stzh-header.js +2 -8
- package/dist/components/stzh-heading2.js +1 -4
- package/dist/components/stzh-hspace.js +1 -10
- package/dist/components/stzh-icon-sprite.js +1 -1
- package/dist/components/stzh-icon2.js +0 -8
- package/dist/components/stzh-input2.js +30 -37
- package/dist/components/stzh-link2.js +30 -32
- 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 +14 -16
- package/dist/components/stzh-message.js +5 -18
- 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-pagetitle.js +1 -1
- 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 +1 -3
- package/dist/components/stzh-row.js +0 -8
- package/dist/components/stzh-saptcha.js +4 -7
- package/dist/components/stzh-section.js +0 -1
- package/dist/components/stzh-skiplink.js +3 -1
- package/dist/components/stzh-sortable2.js +28 -31
- 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 +8 -10
- 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 +50 -129
- package/dist/components/stzh-vbz-linechip2.js +4 -6
- package/dist/components/stzh-vbz-majorticker.js +7 -8
- package/dist/components/stzh-vbz-ticker.js +6 -7
- package/dist/components/stzh-vspace.js +1 -10
- package/dist/esm/{app-globals-6b6ff890.js → app-globals-453acbdb.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 +34 -26
- 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 -24
- 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 +38 -59
- package/dist/esm/stzh-calendar.entry.js +10 -26
- package/dist/esm/stzh-card-list.entry.js +23 -26
- package/dist/esm/stzh-card.entry.js +37 -49
- package/dist/esm/stzh-cell.entry.js +1 -8
- package/dist/esm/stzh-checkbox.entry.js +15 -20
- package/dist/esm/stzh-checkboxgroup.entry.js +29 -20
- package/dist/esm/stzh-chip-select.entry.js +57 -11
- package/dist/esm/stzh-chip.entry.js +15 -24
- 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 +2 -2
- package/dist/esm/stzh-datalist.entry.js +8 -20
- package/dist/esm/stzh-datamessagelist-item.entry.js +12 -12
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +16 -22
- package/dist/esm/stzh-datepicker_3.entry.js +425 -0
- package/dist/esm/stzh-dialog.entry.js +12 -20
- 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 +10 -21
- package/dist/esm/stzh-header.entry.js +3 -9
- package/dist/esm/stzh-heading.entry.js +2 -5
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +2 -11
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/{stzh-input-description-8c477f97.js → stzh-input-description-e87e6697.js} +1 -1
- package/dist/esm/stzh-input.entry.js +32 -39
- package/dist/esm/stzh-link.entry.js +27 -33
- package/dist/esm/stzh-list-item.entry.js +1 -1
- 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 +13 -17
- package/dist/esm/stzh-message.entry.js +6 -19
- 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-pagetitle.entry.js +2 -2
- 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 +5 -8
- package/dist/esm/stzh-section.entry.js +1 -2
- package/dist/esm/stzh-skiplink.entry.js +4 -2
- package/dist/esm/stzh-sortable.entry.js +29 -32
- 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 +9 -11
- 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 +52 -131
- package/dist/esm/stzh-vbz-linechip.entry.js +5 -7
- package/dist/esm/stzh-vbz-majorticker.entry.js +8 -9
- package/dist/esm/stzh-vbz-ticker.entry.js +7 -8
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +2 -11
- package/dist/esm-es5/app-globals-453acbdb.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-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-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 +19 -0
- package/dist/stzh-components/assets/i18n/en.json +19 -0
- package/dist/stzh-components/assets/icons/mono/code-window.svg +3 -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 +58 -32
- 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-01909f35.system.entry.js +1 -0
- package/dist/stzh-components/p-020379d7.system.entry.js +7 -0
- 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-05901b22.system.entry.js +1 -0
- package/dist/stzh-components/{p-fdf0b4bc.system.entry.js → p-08714718.system.entry.js} +1 -1
- package/dist/stzh-components/p-090bfb8e.system.entry.js +1 -0
- package/dist/stzh-components/p-0977d9b6.entry.js +1 -0
- package/dist/stzh-components/{p-8f16b0ac.entry.js → p-0c10d9b1.entry.js} +2 -2
- package/dist/stzh-components/p-0e474d1a.system.entry.js +1 -0
- package/dist/stzh-components/p-0e48efa7.entry.js +1 -0
- package/dist/stzh-components/{p-4c61dcad.js → p-13051e1c.js} +0 -0
- package/dist/stzh-components/{p-b9295dc2.entry.js → p-1399b2d7.entry.js} +1 -1
- package/dist/stzh-components/p-140e4b63.entry.js +1 -0
- package/dist/stzh-components/p-14f0d546.entry.js +1 -0
- package/dist/stzh-components/p-183e4790.system.entry.js +1 -0
- 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-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-27839f48.entry.js +1 -0
- 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-2bf021f2.js +1 -0
- 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-2c891eee.entry.js +1 -0
- 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-34eb65b9.entry.js +1 -0
- package/dist/stzh-components/p-3623b3a5.system.js +1 -0
- 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-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-b9382599.entry.js → p-3efefb7f.entry.js} +1 -1
- package/dist/stzh-components/{p-8a9e588e.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-470e5f38.system.entry.js +1 -0
- package/dist/stzh-components/{p-ce070ccd.entry.js → p-4b93fb24.entry.js} +1 -1
- package/dist/stzh-components/p-509c97c9.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-554fb3ac.system.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-851e0caa.system.entry.js → p-641126a8.system.entry.js} +1 -1
- package/dist/stzh-components/p-648e03bc.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-6b2282cd.system.entry.js +1 -0
- package/dist/stzh-components/p-6b5f447c.system.entry.js +1 -0
- package/dist/stzh-components/{p-33c0229f.system.entry.js → p-6c1ad586.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f788a468.entry.js → p-6c76e51d.entry.js} +1 -1
- package/dist/stzh-components/p-6cbdbd06.entry.js +1 -0
- package/dist/stzh-components/{p-64b4cc74.entry.js → p-6f7a7f7a.entry.js} +1 -1
- 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-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-b636a18a.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-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-48b5b697.system.entry.js → p-90941379.system.entry.js} +1 -1
- 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-b084fcbf.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-58d886cb.system.entry.js → p-9ca1efe4.system.entry.js} +1 -1
- package/dist/stzh-components/p-9d58c713.entry.js +1 -0
- package/dist/stzh-components/p-a10e0117.system.entry.js +1 -0
- package/dist/stzh-components/p-a3559e69.entry.js +1 -0
- package/dist/stzh-components/p-a4a4370d.entry.js +1 -0
- package/dist/stzh-components/p-a61bf274.entry.js +9 -0
- package/dist/stzh-components/{p-ab455116.system.entry.js → p-a6da8c06.system.entry.js} +1 -1
- package/dist/stzh-components/p-afaa9c37.system.entry.js +1 -0
- package/dist/stzh-components/{p-88e0f453.entry.js → p-b09b85ac.entry.js} +1 -1
- package/dist/stzh-components/{p-5997e418.system.entry.js → p-b3587b9d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-a67e09cd.system.entry.js → p-b491bcd7.system.entry.js} +1 -1
- 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-2e559062.entry.js → p-b99c0844.entry.js} +1 -1
- package/dist/stzh-components/p-bb8f71a4.entry.js +7 -0
- 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-c6813d9f.system.entry.js +1 -0
- package/dist/stzh-components/p-c7c3735a.entry.js +1 -0
- package/dist/stzh-components/p-c8009c05.system.entry.js +1 -0
- 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-3b27a43f.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-d408604f.system.entry.js +1 -0
- 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-de8f9508.system.entry.js +1 -0
- package/dist/stzh-components/{p-a7c35778.system.entry.js → p-e347ce1e.system.entry.js} +1 -1
- package/dist/stzh-components/p-e56d7b16.system.entry.js +1 -0
- 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-560f96f0.system.entry.js → p-eb3425a1.system.entry.js} +1 -1
- package/dist/stzh-components/p-ee711f37.system.entry.js +1 -0
- package/dist/stzh-components/{p-5987573e.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-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-e7a84e53.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-badge/stzh-badge.d.ts +2 -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.d.ts +644 -43
- package/dist/types/index.d.ts +72 -1
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/vscode-data.json +383 -25
- 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-6b6ff890.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-08a564af.entry.js +0 -1
- package/dist/stzh-components/p-0b8de542.system.entry.js +0 -1
- package/dist/stzh-components/p-0bbbbe85.system.entry.js +0 -1
- package/dist/stzh-components/p-0d5522dc.system.entry.js +0 -1
- package/dist/stzh-components/p-0efe125f.system.entry.js +0 -1
- package/dist/stzh-components/p-13b3500e.entry.js +0 -1
- package/dist/stzh-components/p-13f44000.entry.js +0 -1
- package/dist/stzh-components/p-216577b4.entry.js +0 -1
- package/dist/stzh-components/p-2818488f.entry.js +0 -1
- package/dist/stzh-components/p-2cf1ae40.system.entry.js +0 -1
- package/dist/stzh-components/p-332e4fd3.entry.js +0 -1
- package/dist/stzh-components/p-373f79e8.entry.js +0 -1
- package/dist/stzh-components/p-3ac93a01.entry.js +0 -1
- package/dist/stzh-components/p-45bab70d.system.entry.js +0 -1
- package/dist/stzh-components/p-552f49c4.entry.js +0 -1
- package/dist/stzh-components/p-5975c355.system.entry.js +0 -1
- package/dist/stzh-components/p-59c323ce.entry.js +0 -1
- package/dist/stzh-components/p-6354fee3.entry.js +0 -1
- package/dist/stzh-components/p-638bedfa.entry.js +0 -1
- package/dist/stzh-components/p-63d8db7b.entry.js +0 -1
- package/dist/stzh-components/p-653c6bbc.entry.js +0 -1
- package/dist/stzh-components/p-67f906b1.entry.js +0 -1
- package/dist/stzh-components/p-69f4a27e.entry.js +0 -1
- package/dist/stzh-components/p-6a81e64b.entry.js +0 -1
- package/dist/stzh-components/p-75cdc8a6.system.entry.js +0 -1
- package/dist/stzh-components/p-7ad87d98.system.entry.js +0 -1
- package/dist/stzh-components/p-7d8c9866.entry.js +0 -1
- package/dist/stzh-components/p-7f9f9a8d.entry.js +0 -1
- package/dist/stzh-components/p-83b1e379.entry.js +0 -9
- package/dist/stzh-components/p-86bc421e.system.entry.js +0 -1
- package/dist/stzh-components/p-8aebb240.entry.js +0 -1
- package/dist/stzh-components/p-8cbc987f.system.entry.js +0 -1
- package/dist/stzh-components/p-938ef748.entry.js +0 -1
- package/dist/stzh-components/p-93e8e31f.js +0 -2
- package/dist/stzh-components/p-9bda100f.system.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-a99d3e97.system.entry.js +0 -1
- package/dist/stzh-components/p-af2664fc.system.entry.js +0 -1
- package/dist/stzh-components/p-b9c3f3cc.entry.js +0 -1
- package/dist/stzh-components/p-bd178c32.system.entry.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-c013a00b.system.entry.js +0 -1
- package/dist/stzh-components/p-c1337453.entry.js +0 -1
- package/dist/stzh-components/p-c456c04b.system.entry.js +0 -1
- package/dist/stzh-components/p-c499e04d.entry.js +0 -1
- package/dist/stzh-components/p-c692e405.entry.js +0 -1
- package/dist/stzh-components/p-c83e4fec.system.entry.js +0 -1
- package/dist/stzh-components/p-ca062c11.system.js +0 -1
- package/dist/stzh-components/p-ce28428b.entry.js +0 -1
- package/dist/stzh-components/p-cfaac121.js +0 -1
- package/dist/stzh-components/p-d11a70e2.system.entry.js +0 -1
- package/dist/stzh-components/p-d1dba399.system.entry.js +0 -1
- package/dist/stzh-components/p-d2b5e066.entry.js +0 -1
- package/dist/stzh-components/p-d54f04c8.system.entry.js +0 -1
- package/dist/stzh-components/p-d645d645.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-da7b363e.entry.js +0 -1
- package/dist/stzh-components/p-de017b87.system.entry.js +0 -1
- package/dist/stzh-components/p-e009bfdc.entry.js +0 -1
- package/dist/stzh-components/p-f167eaa4.system.entry.js +0 -1
- package/dist/stzh-components/p-f2ee016a.entry.js +0 -1
- package/dist/stzh-components/p-fdd1998f.entry.js +0 -1
- package/dist/stzh-components/p-ffa1e9dd.system.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as o,h as s,a as e,g as r}from"./p-7a4c6adb.js";import{c as i,a as p,A as a,o as h,f as n,s as l,b as c}from"./p-cf6003d6.js";import{c as d}from"./p-40a19ce6.js";import{f as v}from"./p-25a09313.js";import{m as z}from"./p-9111e257.js";import{w as m}from"./p-df2bb358.js";import{s as f,a as b}from"./p-2a5855f8.js";let u=0;const x=class{constructor(s){t(this,s),this.stzhOpen=o(this,"stzhOpen",7),this.stzhOpened=o(this,"stzhOpened",7),this.stzhClose=o(this,"stzhClose",7),this.stzhClosed=o(this,"stzhClosed",7),this.initialTouchX=null,this.initialTouchY=null,this.handleKeydown=t=>{27===t.keyCode&&this.hide()},this.onClickTrigger=()=>{this.toggle()},this.computePosition=async()=>{if(z("small").matches){const t=[h({mainAxis:this.distance,crossAxis:this.skidding}),n({padding:5}),l({padding:5})];"tooltip"===this.variant&&t.push(c({element:this.arrowElement,padding:5}));const{x:o=0,y:s=0,strategy:e="absolute",placement:r,middlewareData:p}=await i(this.element,this.dialogElement,{strategy:this.strategy,placement:this.placement,middleware:t});this.computedPlacement=r,Object.assign(this.dialogElement.style,{position:e,left:`${o}px`,top:`${s}px`}),"tooltip"===this.variant&&Object.assign(this.arrowElement.style,{left:null!=o?`${p.arrow.x}px`:"",top:null!=s?`${p.arrow.y}px`:""})}else Object.assign(this.dialogElement.style,{position:null,left:null,top:null}),"tooltip"===this.variant&&Object.assign(this.arrowElement.style,{left:null,top:null})},this.handleTouchStart=t=>{const o=t.changedTouches[0];this.initialTouchX=o.pageX,this.initialTouchY=o.pageY},this.handleTouchEnd=t=>{const o=t.changedTouches[0],s=o.pageX-this.initialTouchX;Math.abs(o.pageY-this.initialTouchY)>=70&&Math.abs(s)<=70&&this.hide(),this.initialTouchY=null,this.initialTouchX=null},this.open=!1,this.placement="bottom",this.variant="default",this.skidding=0,this.distance=void 0,this.label="",this.strategy="absolute",this.localization=void 0,this.computedPlacement=void 0}async show(){if(!this.open)return this.toggledByMethod=!0,this.open=!0,m(this.element,"stzhOpened")}async hide(){if(this.open)return this.toggledByMethod=!0,this.open=!1,m(this.element,"stzhClosed")}async toggle(){return this.open?await this.hide():await this.show()}async update(){return await this.computePosition()}handleOutsideClick(t){if(!this.open)return;const o=t.target!==this.dialogElement&&!1===this.dialogElement.contains(t.target),s=t.target===this.triggerElement||this.triggerElement.contains(t.target);o&&!s&&this.hide()}async openWatcher(t){if(t){this.toggledByMethod&&this.stzhOpen.emit({component:"stzh-popover"});const t={keyframes:[{opacity:"0"},{opacity:"1"}],options:{duration:z("small").matches?100:200,easing:"linear"}},o=function(){const t=z("small").matches;return{keyframes:[{transform:t?"translateY(-8px)":"translateY(100%)"},{transform:"translateY(0px)"}],options:{duration:t?100:200,easing:"linear"}}}();await Promise.all([f(this.contentWrapperElement),f(this.contentElement),f(this.dialogElement)]),this.dialogElement.style.willChange="transform, opacity, position, top, left, bottom, right",this.contentWrapperElement.hidden=!1,await Promise.all([b(this.contentWrapperElement,t.keyframes,t.options),b(z("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)]),this.toggledByMethod&&this.stzhOpened.emit({component:"stzh-popover"})}else{this.toggledByMethod&&this.stzhClose.emit({component:"stzh-popover"});const t={keyframes:[{opacity:"1"},{opacity:"0"}],options:{duration:z("small").matches?200:300,easing:"linear"}},o=function(){const t=z("small").matches;return{keyframes:[{transform:"translateY(0px)"},{transform:t?"translateY(-8px)":"translateY(100%)"}],options:{duration:t?200:300,easing:"linear"}}}();await Promise.all([f(this.contentWrapperElement),f(this.contentElement),f(this.dialogElement)]),await Promise.all([b(this.contentWrapperElement,t.keyframes,t.options),b(z("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)]),this.contentWrapperElement.hidden=!0,this.dialogElement.style.willChange="auto",this.toggledByMethod&&this.stzhClosed.emit({component:"stzh-popover"})}this.toggledByMethod=!1}distanceWatcher(t){this.distance="number"==typeof t?t:"tooltip"===this.variant?16:8}async componentWillLoad(){this.labelId=`stzh-popover-label-${u}`,u++,this.distanceWatcher(this.distance),this.localization||(this.localization=await v(this.element,"popover"))}popoverShown(){document.body.classList.add("stzh-popover-open"),this.triggerElement.firstElementChild.setAttribute("aria-expanded","true"),this.trap&&this.trap.activate()}popoverHidden(){document.body.classList.remove("stzh-popover-open"),this.triggerElement.firstElementChild.setAttribute("aria-expanded","false"),this.trap&&this.trap.deactivate()}componentDidRender(){this.computePosition(),this.open?this.popoverShown():this.popoverHidden()}componentDidUpdate(){this.trap.updateContainerElements(this.dialogElement)}componentDidLoad(){this.autoUpdateCleanup=p(this.element,this.dialogElement,this.computePosition),this.contentWrapperElement.hidden=!this.open,this.trap=d(this.dialogElement,{fallbackFocus:this.dialogElement,clickOutsideDeactivates:!0,returnFocusOnDeactivate:!0}),this.open&&this.popoverShown()}connectedCallback(){var t;let o=null===(t=this.triggerElement)||void 0===t?void 0:t.firstElementChild;o||(o=Array.from(this.element.children).find((t=>!t.hasAttribute("slot")))),o&&o.addEventListener("click",this.onClickTrigger)}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.triggerElement.firstElementChild.removeEventListener("click",this.onClickTrigger)}render(){return s(e,null,s("div",{class:{"stzh-popover":!0,"stzh-popover--open":this.open,[`stzh-popover--placement-${this.computedPlacement}`]:!!this.computedPlacement,[`stzh-popover--${this.variant}`]:!!this.variant},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},s("div",{ref:t=>this.triggerElement=t,class:"stzh-popover__trigger"},s("slot",null)),s("div",{ref:t=>this.contentWrapperElement=t,class:"stzh-popover__content-wrapper"},s("div",{class:"stzh-popover__backdrop"}),s("div",{ref:t=>this.contentElement=t,class:"stzh-popover__content"},s("div",{ref:t=>this.dialogElement=t,class:"stzh-popover__dialog",role:"dialog",tabindex:"-1","aria-modal":"true","aria-labelledby":this.label?this.labelId:null,"aria-hidden":this.open?"false":"true",onKeyDown:this.handleKeydown},"tooltip"===this.variant&&s("div",{class:"stzh-popover__arrow",ref:t=>this.arrowElement=t,innerHTML:a}),s("div",{class:"stzh-popover__content-inner"},s("div",{class:"stzh-popover__content-slot"},s("slot",{name:"content"}),s("div",{class:"stzh-popover__action-slot"},s("slot",{name:"action"}))),s("div",{class:"stzh-popover__label-wrapper"},s("h2",{id:this.labelId,class:"stzh-popover__label"},this.label?this.label:s("slot",{name:"label"})),s("button",{class:"stzh-popover__close",onClick:()=>this.hide(),type:"button"},s("stzh-icon",{name:"close",class:"stzh-popover__icon"}),s("span",{class:"stzh-popover__vhidden"},this.localization.close)))))))))}get element(){return r(this)}static get watchers(){return{open:["openWatcher"],distance:["distanceWatcher"]}}};x.style=".sc-stzh-popover-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-popover-h{display:none}.sc-stzh-popover-h *.sc-stzh-popover,.sc-stzh-popover-h *.sc-stzh-popover::before,.sc-stzh-popover-h *.sc-stzh-popover::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-popover-h{--width:var(--stzh-popover-width);--min-width:var(--stzh-popover-min-width);--max-width:var(--stzh-popover-max-width);--padding:0;--border-radius:var(--stzh-popover-border-radius)}[variant=tooltip].sc-stzh-popover-h{--width:var(--stzh-tooltip-width);--min-width:var(--stzh-tooltip-min-width);--max-width:var(--stzh-tooltip-max-width);--padding:var(--stzh-space-small) var(--stzh-space-large);--border-radius:var(--stzh-tooltip-border-radius)}@media screen and (min-width: 600px){[variant=tooltip].sc-stzh-popover-h{--padding:var(--stzh-tooltip-padding)}}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover--placement-bottom.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{top:0;-webkit-transform:translateY(-0.5rem);transform:translateY(-0.5rem)}.stzh-popover--placement-top.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{bottom:0;-webkit-transform:translateY(0.5rem) rotate(180deg);transform:translateY(0.5rem) rotate(180deg)}.stzh-popover--placement-left.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{right:0;-webkit-transform:translateX(0.75rem) rotate(90deg);transform:translateX(0.75rem) rotate(90deg)}.stzh-popover--placement-right.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{left:0;-webkit-transform:translateX(-0.75rem) rotate(-90deg);transform:translateX(-0.75rem) rotate(-90deg)}@media screen and (max-width: 599px){.stzh-popover__content-wrapper.sc-stzh-popover{z-index:var(--stzh-z-index-dialog);display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:stretch;justify-content:stretch}}@media screen and (max-width: 599px){.stzh-popover__backdrop.sc-stzh-popover{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.8}}@media screen and (max-width: 599px){.stzh-popover__content.sc-stzh-popover{z-index:2;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;overflow:auto}}.stzh-popover__dialog.sc-stzh-popover{margin-top:auto;width:100%;overflow:visible;border-top-left-radius:0.125rem;border-top-right-radius:0.125rem;background-color:var(--stzh-color-white);-ms-touch-action:none;touch-action:none;outline:none;border-bottom:0.125rem solid var(--stzh-color-grey13)}@media screen and (min-width: 600px){.stzh-popover__dialog.sc-stzh-popover{z-index:var(--stzh-z-index-popover);position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);left:auto;right:auto;bottom:auto;border-radius:var(--border-radius);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);border:none}}.stzh-popover__content-inner.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-popover__content-slot.sc-stzh-popover{padding:var(--padding)}.stzh-popover__action-slot.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-popover__action-slot.sc-stzh-popover:not(:empty){margin:var(--stzh-space-xsmall) var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}.stzh-popover__label-wrapper.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-small) var(--stzh-space-large);padding-right:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-grey70)}@media screen and (min-width: 600px){.stzh-popover__label-wrapper.sc-stzh-popover{padding:0;border-bottom:0}}.stzh-popover__label.sc-stzh-popover{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;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));margin:0;margin-right:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-popover__label.sc-stzh-popover{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 (min-width: 600px){.stzh-popover__label.sc-stzh-popover{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-popover__close.sc-stzh-popover{cursor:pointer;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;margin-left:auto;border-radius:50%;color:var(--stzh-base-lead-color);padding:var(--stzh-space-xxsmall)}.stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xsmall)}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover__vhidden.sc-stzh-popover{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-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus{-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))}@media screen and (min-width: 600px){.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{position:absolute;top:0;right:0;-webkit-transform:translate(30%, -30%);transform:translate(30%, -30%);background-color:var(--stzh-color-grey5)}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active){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}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;position:absolute;top:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-xxsmall);padding-bottom:var(--stzh-space-xxxsmall);color:var(--stzh-base-lead-color);border-radius:var(--stzh-button-border-radius)}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xxsmall)}}@media screen and (min-width: 600px){@supports ((-webkit-filter: var(--stzh-tooltip-drop-shadow)) or (filter: var(--stzh-tooltip-drop-shadow))){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{-webkit-box-shadow:none;box-shadow:none;-webkit-filter:var(--stzh-tooltip-drop-shadow);filter:var(--stzh-tooltip-drop-shadow)}}}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-slot.sc-stzh-popover{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}";export{x as stzh_popover}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const t="stzh-components";let e,n,s,l=!1,o=!1,i=!1,r=!1,c=!1;const f="http://www.w3.org/1999/xlink",u={},a=t=>"object"==(t=typeof t)||"function"===t,d=(t,e,...n)=>{let s=null,l=null,o=null,i=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)s=e[n],Array.isArray(s)?f(s):null!=s&&"boolean"!=typeof s&&((i="function"!=typeof t&&!a(s))&&(s+=""),i&&r?c[c.length-1].t+=s:c.push(i?h(null,s):s),r=i)};if(f(n),e){e.key&&(l=e.key),e.name&&(o=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,m);const u=h(t,null);return u.l=e,c.length>0&&(u.o=c),u.i=l,u.u=o,u},h=(t,e)=>({h:0,p:t,t:e,m:null,o:null,l:null,i:null,u:null}),p={},m={forEach:(t,e)=>t.map(b).forEach(e),map:(t,e)=>t.map(b).map(e).map($)},b=t=>({vattrs:t.l,vchildren:t.o,vkey:t.i,vname:t.u,vtag:t.p,vtext:t.t}),$=t=>{if("function"==typeof t.vtag){const e=Object.assign({},t.vattrs);return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),d(t.vtag,e,...t.vchildren||[])}const e=h(t.vtag,t.vtext);return e.l=t.vattrs,e.o=t.vchildren,e.i=t.vkey,e.u=t.vname,e},y=t=>ht(t).$,w=(t,e,n)=>{const s=y(t);return{emit:t=>v(s,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},v=(t,e,n)=>{const s=Ot.ce(e,n);return t.dispatchEvent(s),s},g=new WeakMap,j=t=>"sc-"+t.v,k=(t,e,n,s,l,o)=>{if(n!==s){let r=bt(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=S(n),o=S(s);e.remove(...l.filter((t=>t&&!o.includes(t)))),e.add(...o.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)s&&null!=s[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in s)n&&s[e]===n[e]||(e.includes("-")?t.style.setProperty(e,s[e]):t.style[e]=s[e])}else if("key"===e);else if("ref"===e)s&&s(t);else if(r||"o"!==e[0]||"n"!==e[1]){const u=a(s);if((r||u&&null!==s)&&!l)try{if(t.tagName.includes("-"))t[e]=s;else{const l=null==s?"":s;"list"===e?r=!1:null!=n&&t[e]==l||(t[e]=l)}}catch(i){}let d=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,d=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(e)||(d?t.removeAttributeNS(f,e):t.removeAttribute(e)):(!r||4&o||l)&&!u&&(s=!0===s?"":s,d?t.setAttributeNS(f,e,s):t.setAttribute(e,s))}else e="-"===e[2]?e.slice(3):bt(gt,c)?c.slice(2):c[2]+e.slice(3),n&&Ot.rel(t,e,n,!1),s&&Ot.ael(t,e,s,!1)}},O=/\s/,S=t=>t?t.split(O):[],_=(t,e,n,s)=>{const l=11===e.m.nodeType&&e.m.host?e.m.host:e.m,o=t&&t.l||u,i=e.l||u;for(s in o)s in i||k(l,s,o[s],void 0,n,e.h);for(s in i)k(l,s,o[s],i[s],n,e.h)},C=(t,o,c,f)=>{const u=o.o[c];let a,d,h,p=0;if(l||(i=!0,"slot"===u.p&&(e&&f.classList.add(e+"-s"),u.h|=u.o?2:1)),null!==u.t)a=u.m=jt.createTextNode(u.t);else if(1&u.h)a=u.m=jt.createTextNode("");else{if(r||(r="svg"===u.p),a=u.m=jt.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.h?"slot-fb":u.p),r&&"foreignObject"===u.p&&(r=!1),_(null,u,r),null!=e&&a["s-si"]!==e&&a.classList.add(a["s-si"]=e),u.o)for(p=0;p<u.o.length;++p)d=C(t,u,p,a),d&&a.appendChild(d);"svg"===u.p?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=s,3&u.h&&(a["s-sr"]=!0,a["s-cr"]=n,a["s-sn"]=u.u||"",h=t&&t.o&&t.o[c],h&&h.p===u.p&&t.m&&x(t.m,!1)),a},x=(t,e)=>{Ot.h|=1;const n=t.childNodes;for(let l=n.length-1;l>=0;l--){const t=n[l];t["s-hn"]!==s&&t["s-ol"]&&(P(t).insertBefore(t,E(t)),t["s-ol"].remove(),t["s-ol"]=void 0,i=!0),e&&x(t,e)}Ot.h&=-2},M=(t,e,n,l,o,i)=>{let r,c=t["s-cr"]&&t["s-cr"].parentNode||t;for(c.shadowRoot&&c.tagName===s&&(c=c.shadowRoot);o<=i;++o)l[o]&&(r=C(null,n,o,t),r&&(l[o].m=r,c.insertBefore(r,E(e))))},N=(t,e,n,s,l)=>{for(;e<=n;++e)(s=t[e])&&(l=s.m,A(s),o=!0,l["s-ol"]?l["s-ol"].remove():x(l,!0),l.remove())},R=(t,e)=>t.p===e.p&&("slot"===t.p?t.u===e.u:t.i===e.i),E=t=>t&&t["s-ol"]||t,P=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,T=(t,e)=>{const n=e.m=t.m,s=t.o,l=e.o,o=e.p,i=e.t;let c;null===i?(r="svg"===o||"foreignObject"!==o&&r,"slot"===o||_(t,e,r),null!==s&&null!==l?((t,e,n,s)=>{let l,o,i=0,r=0,c=0,f=0,u=e.length-1,a=e[0],d=e[u],h=s.length-1,p=s[0],m=s[h];for(;i<=u&&r<=h;)if(null==a)a=e[++i];else if(null==d)d=e[--u];else if(null==p)p=s[++r];else if(null==m)m=s[--h];else if(R(a,p))T(a,p),a=e[++i],p=s[++r];else if(R(d,m))T(d,m),d=e[--u],m=s[--h];else if(R(a,m))"slot"!==a.p&&"slot"!==m.p||x(a.m.parentNode,!1),T(a,m),t.insertBefore(a.m,d.m.nextSibling),a=e[++i],m=s[--h];else if(R(d,p))"slot"!==a.p&&"slot"!==m.p||x(d.m.parentNode,!1),T(d,p),t.insertBefore(d.m,a.m),d=e[--u],p=s[++r];else{for(c=-1,f=i;f<=u;++f)if(e[f]&&null!==e[f].i&&e[f].i===p.i){c=f;break}c>=0?(o=e[c],o.p!==p.p?l=C(e&&e[r],n,c,t):(T(o,p),e[c]=void 0,l=o.m),p=s[++r]):(l=C(e&&e[r],n,r,t),p=s[++r]),l&&P(a.m).insertBefore(l,E(a.m))}i>u?M(t,null==s[h+1]?null:s[h+1].m,n,s,r,h):r>h&&N(e,i,u)})(n,s,e,l):null!==l?(null!==t.t&&(n.textContent=""),M(n,null,e,l,0,l.length-1)):null!==s&&N(s,0,s.length-1),r&&"svg"===o&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:t.t!==i&&(n.data=i)},W=t=>{const e=t.childNodes;let n,s,l,o,i,r;for(s=0,l=e.length;s<l;s++)if(n=e[s],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,o=0;o<l;o++)if(r=e[o].nodeType,e[o]["s-hn"]!==n["s-hn"]||""!==i){if(1===r&&i===e[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===r||3===r&&""!==e[o].textContent.trim()){n.hidden=!0;break}W(n)}},z=[],L=t=>{let e,n,s,l,i,r,c=0;const f=t.childNodes,u=f.length;for(;c<u;c++){if(e=f[c],e["s-sr"]&&(n=e["s-cr"])&&n.parentNode)for(s=n.parentNode.childNodes,l=e["s-sn"],r=s.length-1;r>=0;r--)n=s[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||(U(n,l)?(i=z.find((t=>t.g===n)),o=!0,n["s-sn"]=n["s-sn"]||l,i?i.j=e:z.push({j:e,g:n}),n["s-sr"]&&z.map((t=>{U(t.g,n["s-sn"])&&(i=z.find((t=>t.g===n)),i&&!t.j&&(t.j=i.j))}))):z.some((t=>t.g===n))||z.push({g:n}));1===e.nodeType&&L(e)}},U=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,A=t=>{t.l&&t.l.ref&&t.l.ref(null),t.o&&t.o.map(A)},D=(t,e)=>{e&&!t.k&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.k=e)))},F=(t,e)=>{if(t.h|=16,!(4&t.h))return D(t,t.O),Wt((()=>q(t,e)));t.h|=512},q=(t,e)=>{const n=t.S;let s;return e?(t.h|=256,t._&&(t._.map((([t,e])=>J(n,t,e))),t._=null),s=J(n,"componentWillLoad")):s=J(n,"componentWillUpdate"),s=K(s,(()=>J(n,"componentWillRender"))),K(s,(()=>H(t,n,e)))},H=async(t,e,n)=>{const s=t.$,l=s["s-rc"];n&&(t=>{const e=t.C,n=t.$,s=e.h,l=((t,e)=>{let n=j(e);const s=vt.get(n);if(t=11===t.nodeType?t:jt,s)if("string"==typeof s){let e,l=g.get(t=t.head||t);l||g.set(t,l=new Set),l.has(n)||(e=jt.createElement("style"),e.innerHTML=s,t.insertBefore(e,t.querySelector("link")),l&&l.add(n))}else t.adoptedStyleSheets.includes(s)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,s]);return n})(St&&n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&s&&(n["s-sc"]=l,n.classList.add(l+"-h"),2&s&&n.classList.add(l+"-s"))})(t);V(t,e),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const e=s["s-p"],n=()=>B(t);0===e.length?n():(Promise.all(e).then(n),t.h|=4,e.length=0)}},V=(t,r)=>{try{r=r.render(),t.h&=-17,t.h|=2,((t,r)=>{const c=t.$,f=t.C,u=t.M||h(null,null),a=(t=>t&&t.p===p)(r)?r:d(null,null,r);if(s=c.tagName,f.N&&(a.l=a.l||{},f.N.map((([t,e])=>a.l[e]=c[t]))),a.p=null,a.h|=4,t.M=a,a.m=u.m=c.shadowRoot||c,e=c["s-sc"],n=c["s-cr"],l=St&&0!=(1&f.h),o=!1,T(u,a),Ot.h|=1,i){let t,e,n,s,l,o;L(a.m);let i=0;for(;i<z.length;i++)t=z[i],e=t.g,e["s-ol"]||(n=jt.createTextNode(""),n["s-nr"]=e,e.parentNode.insertBefore(e["s-ol"]=n,e));for(i=0;i<z.length;i++)if(t=z[i],e=t.g,t.j){for(s=t.j.parentNode,l=t.j.nextSibling,n=e["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===e["s-sn"]&&s===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}(!l&&s!==e.parentNode||e.nextSibling!==l)&&e!==l&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),s.insertBefore(e,l))}else 1===e.nodeType&&(e.hidden=!0)}o&&W(a.m),Ot.h&=-2,z.length=0})(t,r)}catch(c){$t(c,t.$)}return null},B=t=>{const e=t.$,n=t.S,s=t.O;J(n,"componentDidRender"),64&t.h?J(n,"componentDidUpdate"):(t.h|=64,Q(e),J(n,"componentDidLoad"),t.R(e),s||I()),t.P(e),t.k&&(t.k(),t.k=void 0),512&t.h&&Pt((()=>F(t,!1))),t.h&=-517},G=t=>{{const e=ht(t),n=e.$.isConnected;return n&&2==(18&e.h)&&F(e,!1),n}},I=()=>{Q(jt.documentElement),Pt((()=>v(gt,"appload",{detail:{namespace:"stzh-components"}})))},J=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(s){$t(s)}},K=(t,e)=>t&&t.then?t.then(e):e(),Q=t=>t.classList.add("hydrated"),X=(t,e,n)=>{if(e.T){t.watchers&&(e.W=t.watchers);const s=Object.entries(e.T),l=t.prototype;if(s.map((([t,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(l,t,{get(){return((t,e)=>ht(this).L.get(e))(0,t)},set(n){((t,e,n,s)=>{const l=ht(t),o=l.$,i=l.L.get(e),r=l.h,c=l.S;if(n=((t,e)=>null==t||a(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(n,s.T[e][0]),(!(8&r)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(l.L.set(e,n),c)){if(s.W&&128&r){const t=s.W[e];t&&t.map((t=>{try{c[t](n,i,e)}catch(s){$t(s,o)}}))}if(2==(18&r)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,i,e))return;F(l,!1)}}})(this,t,n,e)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(l,t,{value(...e){const n=ht(this);return n.U.then((()=>n.S[t](...e)))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(t,e,s){Ot.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e))s=this[e],delete this[e];else if(l.hasOwnProperty(e)&&"number"==typeof this[e]&&this[e]==s)return;this[e]=(null!==s||"boolean"!=typeof this[e])&&s}))},t.observedAttributes=s.filter((([t,e])=>15&e[0])).map((([t,s])=>{const l=s[1]||t;return n.set(l,t),512&s[0]&&e.N.push([t,l]),l}))}}return t},Y=t=>{J(t,"connectedCallback")},Z=t=>{const e=t.cloneNode;t.cloneNode=function(t){const n=this,s=n.shadowRoot&&St,l=e.call(n,!!s&&t);if(!s&&t){let t,e,s=0;const o=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;s<n.childNodes.length;s++)t=n.childNodes[s]["s-nr"],e=o.every((t=>!n.childNodes[s][t])),t&&(l.__appendChild?l.__appendChild(t.cloneNode(!0)):l.appendChild(t.cloneNode(!0))),e&&l.appendChild(n.childNodes[s].cloneNode(!0))}return l}},tt=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const e=t["s-sn"]=st(t),n=lt(this.childNodes,e);if(n){const s=ot(n,e),l=s[s.length-1];return l.parentNode.insertBefore(t,l.nextSibling)}return this.__appendChild(t)}},et=(t,e)=>{if(2&e.h){const e=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(t,"__textContent",e),Object.defineProperty(t,"textContent",{get(){var t;const e=lt(this.childNodes,"");return 3===(null===(t=null==e?void 0:e.nextSibling)||void 0===t?void 0:t.nodeType)?e.nextSibling.textContent:e?e.textContent:this.__textContent},set(t){var e;const n=lt(this.childNodes,"");if(3===(null===(e=null==n?void 0:n.nextSibling)||void 0===e?void 0:e.nodeType))n.nextSibling.textContent=t;else if(n)n.textContent=t;else{this.__textContent=t;const e=this["s-cr"];e&&this.insertBefore(e,this.firstChild)}}})}},nt=(t,e)=>{class n extends Array{item(t){return this[t]}}if(8&e.h){const e=t.__lookupGetter__("childNodes");Object.defineProperty(t,"children",{get(){return this.childNodes.map((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get:()=>t.children.length}),Object.defineProperty(t,"childNodes",{get(){const t=e.call(this);if(0==(1&Ot.h)&&2&ht(this).h){const e=new n;for(let n=0;n<t.length;n++){const s=t[n]["s-nr"];s&&e.push(s)}return e}return n.from(t)}})}},st=t=>t["s-sn"]||1===t.nodeType&&t.getAttribute("slot")||"",lt=(t,e)=>{let n,s=0;for(;s<t.length;s++){if(n=t[s],n["s-sr"]&&n["s-sn"]===e)return n;if(n=lt(n.childNodes,e),n)return n}return null},ot=(t,e)=>{const n=[t];for(;(t=t.nextSibling)&&t["s-sn"]===e;)n.push(t);return n},it=(t,e={})=>{const n=[],s=e.exclude||[],l=gt.customElements,o=jt.head,i=o.querySelector("meta[charset]"),r=jt.createElement("style"),c=[];let f,u=!0;Object.assign(Ot,e),Ot.A=new URL(e.resourcesUrl||"./",jt.baseURI).href,t.map((t=>{t[1].map((e=>{const o={h:e[0],v:e[1],T:e[2],D:e[3]};o.T=e[2],o.D=e[3],o.N=[],o.W={},!St&&1&o.h&&(o.h|=8);const i=o.v,r=class extends HTMLElement{constructor(t){super(t),mt(t=this,o),1&o.h&&(St?t.attachShadow({mode:"open"}):"shadowRoot"in t||(t.shadowRoot=t)),nt(t,o)}connectedCallback(){f&&(clearTimeout(f),f=null),u?c.push(this):Ot.jmp((()=>(t=>{if(0==(1&Ot.h)){const e=ht(t),n=e.C,s=()=>{};if(1&e.h)ct(t,e,n.D),Y(e.S);else{e.h|=1,12&n.h&&(t=>{const e=t["s-cr"]=jt.createComment("");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){D(e,e.O=n);break}}n.T&&Object.entries(n.T).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n,s,l)=>{if(0==(32&e.h)){{if(e.h|=32,(l=wt(n)).then){const t=()=>{};l=await l,t()}l.isProxied||(n.W=l.watchers,X(l,n,2),l.isProxied=!0);const t=()=>{};e.h|=8;try{new l(e)}catch(r){$t(r)}e.h&=-9,e.h|=128,t(),Y(e.S)}if(l.style){let t=l.style;const e=j(n);if(!vt.has(e)){const s=()=>{};8&n.h&&(t=await __sc_import_stzh_components("./p-8364475f.js").then((n=>n.scopeCss(t,e,!1)))),((t,e,n)=>{let s=vt.get(t);Ct&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=e:s.replaceSync(e)):s=e,vt.set(t,s)})(e,t,!!(1&n.h)),s()}}}const o=e.O,i=()=>F(e,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,e,n)}s()}})(this)))}disconnectedCallback(){Ot.jmp((()=>(()=>{if(0==(1&Ot.h)){const t=ht(this),e=t.S;t.F&&(t.F.map((t=>t())),t.F=void 0),J(e,"disconnectedCallback")}})()))}componentOnReady(){return ht(this).q}};Z(r.prototype),tt(r.prototype),et(r.prototype,o),o.H=t[0],s.includes(i)||l.get(i)||(n.push(i),l.define(i,X(r,o,1)))}))})),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),o.insertBefore(r,i?i.nextSibling:o.firstChild),u=!1,c.length?c.map((t=>t.connectedCallback())):Ot.jmp((()=>f=setTimeout(I,30)))},rt=(t,e)=>e,ct=(t,e,n)=>{n&&n.map((([n,s,l])=>{const o=ut(t,n),i=ft(e,l),r=at(n);Ot.ael(o,s,i,r),(e.F=e.F||[]).push((()=>Ot.rel(o,s,i,r)))}))},ft=(t,e)=>n=>{try{256&t.h?t.S[e](n):(t._=t._||[]).push([e,n])}catch(s){$t(s)}},ut=(t,e)=>4&e?jt:8&e?gt:t,at=t=>0!=(2&t),dt=new WeakMap,ht=t=>dt.get(t),pt=(t,e)=>dt.set(e.S=t,e),mt=(t,e)=>{const n={h:0,$:t,C:e,L:new Map};return n.U=new Promise((t=>n.P=t)),n.q=new Promise((t=>n.R=t)),t["s-p"]=[],t["s-rc"]=[],ct(t,n,e.D),dt.set(t,n)},bt=(t,e)=>e in t,$t=(t,e)=>(0,console.error)(t,e),yt=new Map,wt=t=>{const e=t.v.replace(/-/g,"_"),n=t.H,s=yt.get(n);return s?s[e]:__sc_import_stzh_components(`./${n}.entry.js`).then((t=>(yt.set(n,t),t[e])),$t)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},vt=new Map,gt="undefined"!=typeof window?window:{},jt=gt.document||{head:{}},kt=gt.HTMLElement||class{},Ot={h:0,A:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)},St=(()=>(jt.head.attachShadow+"").indexOf("[native")>-1)(),_t=t=>Promise.resolve(t),Ct=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),xt=[],Mt=[],Nt=(t,e)=>n=>{t.push(n),c||(c=!0,e&&4&Ot.h?Pt(Et):Ot.raf(Et))},Rt=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(e){$t(e)}t.length=0},Et=()=>{Rt(xt),Rt(Mt),(c=xt.length>0)&&Ot.raf(Et)},Pt=t=>_t().then(t),Tt=Nt(xt,!1),Wt=Nt(Mt,!0);export{rt as F,kt as H,t as N,p as a,it as b,w as c,jt as d,Tt as e,G as f,y as g,d as h,Wt as i,_t as p,pt as r,gt as w}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,a as n}from"./p-
|
|
1
|
+
import{r as t,h as i,a as n}from"./p-7a4c6adb.js";const h=class{constructor(i){t(this,i)}render(){return i(n,null,i("div",{class:"stzh-container"},i("slot",null)))}};h.style=".sc-stzh-container-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-container-h{display:none}.sc-stzh-container-h *.sc-stzh-container,.sc-stzh-container-h *.sc-stzh-container::before,.sc-stzh-container-h *.sc-stzh-container::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-1.25rem;margin-right:-1.25rem}@media screen and (min-width: 600px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-2rem;margin-right:-2rem}}@media screen and (min-width: 1024px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-2.5rem;margin-right:-2.5rem}}@media screen and (min-width: 1260px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-5.5rem;margin-right:-5.5rem}}@media screen and (min-width: 1440px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / -2);margin-right:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / -2)}}.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:1.25rem}@media screen and (min-width: 600px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:2rem}}@media screen and (min-width: 1024px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:2.5rem}}@media screen and (min-width: 1260px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:var(--stzh-space-xlarge)}}@media screen and (max-width: 1259px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;width:100vw;max-width:100vw}}.sc-stzh-container-h .sc-stzh-container-s stzh-row stzh-section[variant=highlight]{--highlight-horizontal-padding:var(--stzh-section-highlight-horizontal-padding)}@media screen and (max-width: 1259px){.sc-stzh-container-h .sc-stzh-container-s stzh-row stzh-section[variant=highlight]{left:initial;right:initial;margin:initial;width:initial;max-width:initial}}.stzh-container.sc-stzh-container{margin:0 1.25rem}@media screen and (min-width: 600px){.stzh-container.sc-stzh-container{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-container.sc-stzh-container{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-container.sc-stzh-container{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-container.sc-stzh-container{margin:0 auto;width:78.75rem}}";export{h as stzh_container}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-609bf766.system.js"],(function(t){"use strict";var e,i,s,r;return{setters:[function(t){e=t.r;i=t.h;s=t.a;r=t.g}],execute:function(){var n='@charset "UTF-8";:host{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}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{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);counter-reset:li-counter}@media screen and (min-width: 1024px){:host{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)}}:host ::slotted(stzh-list-item){--icon-checklist-visibility:hidden;counter-increment:li-counter;position:relative}:host([variant=unordered]) ::slotted(stzh-list-item){--icon-checklist-visibility:hidden;padding-left:calc(var(--stzh-space-xsmall) + var(--stzh-space-small))}:host([variant=unordered]) ::slotted(stzh-list-item)::before{content:"–"}:host([variant=ordered]) ::slotted(stzh-list-item){--icon-checklist-visibility:hidden;padding-left:calc(var(--stzh-space-large) + var(--stzh-space-small))}:host([variant=ordered]) ::slotted(stzh-list-item)::before{content:counter(li-counter) ". "}:host([variant=checklist]) ::slotted(stzh-list-item){--icon-checklist-visibility:visible;padding-left:calc(var(--stzh-icon-size-medium) + var(--stzh-space-small))}';var o=t("stzh_list",function(){function t(t){e(this,t);this.variant="unordered"}t.prototype.render=function(){var t;var e=(t={"stzh-list":true},t["stzh-list--".concat(this.variant)]=!!this.variant,t);return i(s,null,i("div",{class:e,role:"list"},i("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());o.style=n}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as o}from"./p-
|
|
1
|
+
import{h as o}from"./p-7a4c6adb.js";const s=({id:s,classPrefix:i,error:t,description:r,descriptionLong:e,descriptionLongUsed:n,moreInfoButtonLabel:l})=>o("div",{class:`${i}__description-wrapper`,id:s},o("div",{class:`${i}__error`},t.length>0?o("ul",{class:`${i}__error-list`},t.map((s=>o("li",{class:`${i}__error-listitem`},s)))):o("slot",{name:"error"})),o("div",{class:`${i}__description`},o("div",{class:`${i}__description-text`},r||o("slot",{name:"description"})),n&&o("div",{class:`${i}__description-long`},o("stzh-popover",{class:`${i}__description-long-popover`,variant:"tooltip"},o("button",{class:`${i}__description-long-button`,"aria-label":l,type:"button"},o("stzh-icon",{class:`${i}__description-long-icon`,name:"info-help"})),o("div",{slot:"label"},r||o("slot",{name:"description"})),o("div",{slot:"content"},e||o("slot",{name:"description-long"}))))));export{s as S}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,s){function
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,s){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{h(s.next(e))}catch(t){r(t)}}function a(e){try{h(s["throw"](e))}catch(t){r(t)}}function h(e){e.done?n(e.value):i(e.value).then(o,a)}h((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,i,r,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return h([e,t])}}function h(o){if(s)throw new TypeError("Generator is already executing.");while(n)try{if(s=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(a){o=[6,a];i=0}finally{s=r=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-0230004d.system.js"],(function(e){"use strict";var t,n,s,i,r,o,a;return{setters:[function(e){t=e.r;n=e.h;s=e.a;i=e.c;r=e.F;o=e.g},function(e){a=e.h}],execute:function(){var h=".sc-stzh-menu-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-menu-h{display:none}.sc-stzh-menu-h *.sc-stzh-menu,.sc-stzh-menu-h *.sc-stzh-menu::before,.sc-stzh-menu-h *.sc-stzh-menu::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-menu-h .sc-stzh-menu-s>stzh-hr{margin-top:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-xsmall)}.stzh-menu.sc-stzh-menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}";var l=e("stzh_menu",function(){function e(e){t(this,e)}e.prototype.render=function(){return n(s,{role:"menu"},n("div",{class:"stzh-menu"},n("slot",null)))};return e}());l.style=h;var c=".sc-stzh-menu-item-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-menu-item-h{display:none}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-grey70);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey5)}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary8)}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey13);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-grey13)}.sc-stzh-menu-item-h .sc-stzh-menu-item-s>stzh-icon,.stzh-menu-item__icon.sc-stzh-menu-item{--size:var(--icon-size)}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-decoration:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:1em}.stzh-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item+.stzh-menu-item__text.sc-stzh-menu-item:not(:empty){margin-left:var(--stzh-space-xsmall)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}";var u=e("stzh_menu_item",function(){function e(e){var n=this;t(this,e);this.stzhFocus=i(this,"stzhFocus",7);this.stzhBlur=i(this,"stzhBlur",7);this.onFocus=function(e){var t=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});n.element.dispatchEvent(t);n.stzhFocus.emit({component:"stzh-menu-item",originalEvent:e})};this.onBlur=function(e){var t=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});n.element.dispatchEvent(t);n.stzhBlur.emit({component:"stzh-menu-item",originalEvent:e})};this.badge="";this.badgeType="default";this.badgeEmpty=false;this.icon="";this.active=false;this.label="";this.href="";this.target="";this.disabled=false;this.a11yLabel=undefined}e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.menuItem.focus();return[2]}))}))};e.prototype.renderInner=function(e){return n(r,null,e&&n("div",{class:"stzh-menu-item__icon-wrapper"},this.icon?n("stzh-icon",{class:"stzh-menu-item__icon",name:this.icon}):n("slot",{name:"icon"}),(this.badge||this.badgeEmpty)&&n("stzh-badge",{class:"stzh-menu-item__badge",label:this.badge,type:this.badgeType})),n("div",{class:"stzh-menu-item__text"},this.label?this.label:n("slot",null)))};e.prototype.render=function(){var e=this;var t=a(this.element,"icon")||!!this.icon;var i={"stzh-menu-item":true,"stzh-menu-item--has-icon":t,"stzh-menu-item--has-badge":!!this.badge,"stzh-menu-item--is-disabled":this.disabled,"stzh-menu-item--is-active":this.active};return n(s,{role:"menuitem"},this.href?n("a",{ref:function(t){return e.menuItem=t},href:this.disabled?null:this.href,target:this.target,class:i,"aria-label":this.a11yLabel,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(t)):n("button",{ref:function(t){return e.menuItem=t},class:i,type:"button",disabled:this.disabled,"aria-label":this.a11yLabel,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(t)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());u.style=c}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as s,F as i,a as e,g as r}from"./p-7a4c6adb.js";import{a as c}from"./p-53934cfd.js";import{f as a}from"./p-25a09313.js";import{c as z}from"./p-c8bcceac.js";const h=class{constructor(s){t(this,s),this.globalDisturbances=[],this.lines=[],this.counter={__global__:0,0:0,1:0,2:0,4:0,5:0},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=void 0,this.localization=void 0}localizationWatcher(){this.collator=new Intl.Collator(this.localization.$locale,{numeric:!0})}async apiWatcher(t){if(!t)return;let s=this.api.replace(/\{lang\}/,this.localization.$locale);s=s+(s.includes("?")?"&":"?")+Date.now();const{data:i}=await c.get(s);this.data=i}async dataWatcher(t){var s,i;this._data="string"==typeof t?JSON.parse(t):t;const e={};null===(i=null===(s=this._data)||void 0===s?void 0:s.Message)||void 0===i||i.forEach((t=>{const s=t.channel.filter((t=>"ticker"===t.name&&t.url)).map((t=>t.url)).reduce(((t,s)=>t.concat(s)),[]).find((t=>-1!==t.url.indexOf("stadt-zuerich.ch/vbz")));"GLOBAL"===t.baseType?(this.counter.__global__++,this.globalDisturbances.push({id:t.id,head:t.head,category:t.category,baseType:t.baseType,startDate:new Date(`${t.sDate}T${t.sTime}+02:00`),endDate:new Date(`${t.eDate}T${t.eTime}+02:00`),altStart:t.altStart,altEnd:t.altEnd,infoUrl:s})):this.counter[t.category]++,t.affectedProduct&&"0"!==t.category&&"GLOBAL"!==t.baseType&&t.affectedProduct.forEach((i=>{void 0===e[i.lineId]&&(e[i.lineId]={line:i.line,name:i.name,category:i.cls,disturbances:[],alert:!1}),"2"===t.category&&(e[i.lineId].alert=!0),e[i.lineId].disturbances.push({id:t.id,head:t.head,category:t.category,baseType:t.baseType,startDate:new Date(`${t.sDate}T${t.sTime}+02:00`),endDate:new Date(`${t.eDate}T${t.eTime}+02:00`),altStart:t.altStart,altEnd:t.altEnd,infoUrl:s})}))})),this.lines=Object.keys(e).map((t=>e[t])),this.lines.sort(((t,s)=>this.collator.compare(t.line,s.line)))}async componentWillLoad(){this.localization||(this.localization=await a(this.element,"vbz-ticker"),this.localizationWatcher()),this.dateAdapter||(this.dateAdapter=z(this.localization.$formats,this.localization.$globals)),this.data?await this.dataWatcher(this.data):await this.apiWatcher(this.api)}renderDisturbance(t){return s("div",{class:{"stzh-vbz-ticker__disturbance":!0,[`stzh-vbz-ticker__disturbance--type${t.category}`]:!!t.category}},s("stzh-icon","2"===t.category||"GLOBAL"===t.baseType?{name:"warning-big",class:"stzh-vbz-ticker__disturbance-icon"}:{name:"construction",class:"stzh-vbz-ticker__disturbance-icon"}),s("div",{class:"stzh-vbz-ticker__disturbance-text"},s("div",{class:"stzh-vbz-ticker__disturbance-title"},t.head),s("div",{class:"stzh-vbz-ticker__disturbance-date"},t.altStart||this.dateAdapter.format(t.startDate),s("span",{innerHTML:this.localization.$formats.dateRange}),t.altEnd||this.dateAdapter.format(t.endDate)),s("stzh-link",t.infoUrl?{class:"stzh-vbz-ticker__disturbance-link",size:"small",href:t.infoUrl.url}:{class:"stzh-vbz-ticker__disturbance-link",size:"small",target:"_blank",icon:"external-link",href:this.moreInfoLink.replace(/\{lang\}/,this.localization.$locale).replace(/\{id\}/,t.id)},this.localization.moreInfo)))}render(){return s(e,null,s("div",{class:{"stzh-vbz-ticker":!0}},s("div",{class:"stzh-vbz-ticker__text"},s("div",{class:"stzh-vbz-ticker__title"},s("div",{class:"stzh-vbz-ticker__title-parts"},0===this.lines.length&&0===this.counter.__global__&&s("div",{class:"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--no-disturbances"},s("stzh-icon",{class:"stzh-vbz-ticker__icon",name:"checkmark-circle"}),this.localization.noDisturbances),this.counter.__global__>0&&s("div",{class:"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--major-events"},s("stzh-icon",{class:"stzh-vbz-ticker__icon",name:"important-warning"}),this.localization.majorEventTitle),this.counter[2]>0&&s("div",{class:"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--disturbances"},s("stzh-icon",{class:"stzh-vbz-ticker__icon",name:"warning"}),this.localization.disturbanceTitle),(this.counter[1]>0||this.counter[4]>0||this.counter[5]>0)&&s("div",{class:"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--others"},s("stzh-icon",{class:"stzh-vbz-ticker__icon",name:"construction"}),this.localization.othersTitle))),(this.lines.length>0||this.counter.__global__>0)&&s(i,null,s("div",{class:"stzh-vbz-ticker__description"},this.counter.__global__>0?this.localization.globalDisturbance:this.localization.affectedLines),s("div",{class:"stzh-vbz-ticker__chips",role:"list"},this.counter.__global__>0&&s("div",{class:"stzh-vbz-ticker__chip",role:"listitem"},s("stzh-tooltip",{class:"stzh-vbz-ticker__tooltip"},s("stzh-vbz-linechip",{global:!0}),s("div",{class:"stzh-vbz-ticker__tooltip-content",slot:"content"},this.globalDisturbances.map((t=>this.renderDisturbance(t)))))),this.lines.map((t=>s("div",{class:"stzh-vbz-ticker__chip",role:"listitem"},s("stzh-tooltip",{class:"stzh-vbz-ticker__tooltip"},s("stzh-vbz-linechip",{line:t.line,alert:t.alert}),s("div",{class:"stzh-vbz-ticker__tooltip-content",slot:"content"},t.disturbances.map((t=>this.renderDisturbance(t))))))))))),s("div",{class:"stzh-vbz-ticker__link"},s("slot",{name:"link"}))))}get element(){return r(this)}static get watchers(){return{localization:["localizationWatcher"],api:["apiWatcher"],data:["dataWatcher"]}}};h.style=".sc-stzh-vbz-ticker-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-ticker-h{display:none}.sc-stzh-vbz-ticker-h *.sc-stzh-vbz-ticker,.sc-stzh-vbz-ticker-h *.sc-stzh-vbz-ticker::before,.sc-stzh-vbz-ticker-h *.sc-stzh-vbz-ticker::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-vbz-ticker.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}@media screen and (min-width: 1024px){.stzh-vbz-ticker.sc-stzh-vbz-ticker{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}}.stzh-vbz-ticker__icon.sc-stzh-vbz-ticker{--size:var(--stzh-icon-size-small);margin-right:var(--stzh-space-xsmall)}.stzh-vbz-ticker__title.sc-stzh-vbz-ticker{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;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-wrap:wrap;flex-wrap:wrap}@media screen and (min-width: 1024px){.stzh-vbz-ticker__title.sc-stzh-vbz-ticker{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-vbz-ticker__title-parts.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-xxxsmall) / -1) 0}.stzh-vbz-ticker__title-part.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;white-space:nowrap;margin:var(--stzh-space-xxxsmall) 0}.stzh-vbz-ticker__title-part.sc-stzh-vbz-ticker:not(:last-child){margin-right:var(--stzh-space-large)}.stzh-vbz-ticker__title-part--no-disturbances.sc-stzh-vbz-ticker{color:var(--stzh-color-truegreen)}.stzh-vbz-ticker__title-part--major-events.sc-stzh-vbz-ticker{color:var(--stzh-color-coral)}.stzh-vbz-ticker__title-part--disturbances.sc-stzh-vbz-ticker{color:var(--stzh-color-error)}.stzh-vbz-ticker__description.sc-stzh-vbz-ticker{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-top:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-vbz-ticker__description.sc-stzh-vbz-ticker{margin-top:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-vbz-ticker__description.sc-stzh-vbz-ticker{margin-top:var(--stzh-space-medium)}}.stzh-vbz-ticker__link.sc-stzh-vbz-ticker{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-vbz-ticker__link.sc-stzh-vbz-ticker{position:absolute;top:0;right:0;margin-top:0}}.stzh-vbz-ticker__chips.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.stzh-vbz-ticker__chips.sc-stzh-vbz-ticker:not(:empty){margin:calc(var(--stzh-space-xxsmall) * -1);margin-top:calc(var(--stzh-space-small) - var(--stzh-space-xxsmall))}.stzh-vbz-ticker__chip.sc-stzh-vbz-ticker{margin:var(--stzh-space-xxsmall)}.stzh-vbz-ticker__tooltip.sc-stzh-vbz-ticker{--width:20.875rem}.stzh-vbz-ticker__disturbance.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-vbz-ticker__disturbance.sc-stzh-vbz-ticker:not(:first-child){margin-top:var(--stzh-space-small)}.stzh-vbz-ticker__disturbance--type0.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type0.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-icon.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type2.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type2.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-icon.sc-stzh-vbz-ticker{color:var(--stzh-color-error)}.stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;display:-ms-flexbox;display:flex}.stzh-vbz-ticker__disturbance--type0.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type2.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-vbz-ticker__disturbance-icon.sc-stzh-vbz-ticker{--size:var(--stzh-icon-size-xsmall);margin-top:var(--stzh-space-xxxsmall);margin-right:var(--stzh-space-xsmall)}.stzh-vbz-ticker__disturbance-link.sc-stzh-vbz-ticker{margin-top:var(--stzh-space-xsmall)}";export{h as stzh_vbz_ticker}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,i,e,n){function s(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,l){function o(t){try{h(n.next(t))}catch(i){l(i)}}function r(t){try{h(n["throw"](t))}catch(i){l(i)}}function h(t){t.done?e(t.value):s(t.value).then(o,r)}h((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},n,s,l,o;return o={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(t){return function(i){return h([t,i])}}function h(o){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=1,s&&(l=o[0]&2?s["return"]:o[0]?s["throw"]||((l=s["return"])&&l.call(s),0):s.next)&&!(l=l.call(s,o[1])).done)return l;if(s=0,l)o=[o[0]&2,l.value];switch(o[0]){case 0:case 1:l=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;s=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(l=e.trys,l=l.length>0&&l[l.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!l||o[1]>l[0]&&o[1]<l[3])){e.label=o[1];break}if(o[0]===6&&e.label<l[1]){e.label=l[1];l=o;break}if(l&&e.label<l[2]){e.label=l[2];e.ops.push(o);break}if(l[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(r){o=[6,r];s=0}finally{n=l=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-0230004d.system.js"],(function(t){"use strict";var i,e,n,s,l,o,r;return{setters:[function(t){i=t.r;e=t.c;n=t.h;s=t.F;l=t.a;o=t.g},function(t){r=t.h}],execute:function(){var h='@charset "UTF-8";.sc-stzh-link-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-link-h{display:none}.sc-stzh-link-h *.sc-stzh-link,.sc-stzh-link-h *.sc-stzh-link::before,.sc-stzh-link-h *.sc-stzh-link::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-link-h{--color:var(--stzh-link-color);--text-decoration:underline;--icon-size:var(--stzh-icon-size-medium);--icon-wrapper-height:var(--stzh-link-icon-wrapper-height);--hover-color:var(--stzh-link-hover-color);--hover-text-decoration:underline;color:var(--color);display:inline-block;border-radius:var(--stzh-button-border-radius)}.sc-stzh-link-h .sc-stzh-link-s>stzh-text{--color:initial}[fullwidth].sc-stzh-link-h:not([fullwidth=false]){width:100%;display:block}[size=small].sc-stzh-link-h{--icon-size:var(--stzh-icon-size-small)}[variant=secondary].sc-stzh-link-h{--color:var(--stzh-base-color)}[active].sc-stzh-link-h:not([active=false]){--color:var(--hover-color)}[disabled].sc-stzh-link-h:not([disabled=false]){--color:var(--stzh-color-grey25);--hover-color:var(--stzh-color-grey25)}.sc-stzh-link-h .sc-stzh-link-s>stzh-icon,.stzh-link__icon.sc-stzh-link{--size:var(--icon-size)}.stzh-link.sc-stzh-link{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);position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;color:var(--color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);cursor:pointer;width:100%;text-decoration:none;background-color:transparent;padding:0;border-radius:var(--stzh-button-border-radius);text-align:left}@media screen and (min-width: 1024px){.stzh-link.sc-stzh-link{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-link.sc-stzh-link:hover{color:var(--hover-color)}.stzh-link.sc-stzh-link:hover .stzh-link__text.sc-stzh-link{-webkit-text-decoration:var(--hover-text-decoration);text-decoration:var(--hover-text-decoration)}.stzh-link__inner.sc-stzh-link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}.stzh-link__icon-wrapper.sc-stzh-link{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:var(--icon-wrapper-height)}.stzh-link__text.sc-stzh-link{-webkit-text-decoration:var(--text-decoration);text-decoration:var(--text-decoration)}.stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-xxsmall)}.stzh-link__badge.sc-stzh-link{position:absolute;z-index:1;top:0;right:0}.stzh-link--has-icon-only.sc-stzh-link .stzh-link__text.sc-stzh-link{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-link--badge-position-link.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{position:static}.stzh-link__badge.sc-stzh-link,.stzh-link--badge-position-link.sc-stzh-link .stzh-link__badge.sc-stzh-link{top:calc(var(--stzh-space-xxsmall) * -1);right:calc(var(--stzh-space-large) * -1)}.stzh-link--badge-position-icon.stzh-link--has-icon.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{position:relative}.stzh-link--badge-position-icon.stzh-link--has-icon.sc-stzh-link .stzh-link__badge.sc-stzh-link{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-small) * -1)}.stzh-link--badge-position-icon.stzh-link--has-icon.stzh-link--has-badge.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link+.stzh-link__text.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-small)}.stzh-link--size-small.sc-stzh-link{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-link--size-inherit.sc-stzh-link{font-size:inherit;line-height:inherit;letter-spacing:inherit}.stzh-link--align-left.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:start;justify-content:flex-start}.stzh-link--align-right.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:end;justify-content:flex-end}.stzh-link--align-center.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:center;justify-content:center}.stzh-link--align-space-between.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:justify;justify-content:space-between}.stzh-link--is-disabled.sc-stzh-link{cursor:not-allowed}';var a=t("stzh_link",function(){function t(t){var n=this;i(this,t);this.stzhFocus=e(this,"stzhFocus",7);this.stzhBlur=e(this,"stzhBlur",7);this.onFocus=function(t){var i=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});n.element.dispatchEvent(i);n.stzhFocus.emit({component:"stzh-link",originalEvent:t})};this.onBlur=function(t){var i=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});n.element.dispatchEvent(i);n.stzhBlur.emit({component:"stzh-link",originalEvent:t})};this.icon="";this.iconPosition="left";this.size="default";this.href="";this.target="";this.type="button";this.variant="default";this.fullwidth=false;this.textAlign="default";this.badge="";this.badgeType="default";this.badgeEmpty=false;this.badgePosition="icon";this.disabled=false;this.active=false;this.iconOnly=false;this.label="";this.linkAccesskey=undefined}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.link.focus();return[2]}))}))};t.prototype.renderIcon=function(){return n("div",{class:"stzh-link__icon-wrapper"},this.icon?n("stzh-icon",{class:"stzh-link__icon",name:this.icon}):n("slot",{name:"icon"}),(this.badge||this.badgeEmpty)&&n("stzh-badge",{class:"stzh-link__badge",label:this.badge,type:this.badgeType}))};t.prototype.renderContent=function(){return n("div",{class:"stzh-link__text"},this.label?this.label:n("slot",null))};t.prototype.renderInner=function(t){return n(s,null,n("div",{class:"stzh-link__inner"},this.iconPosition==="left"&&this.renderIcon(),this.renderContent(),this.iconPosition==="right"&&this.renderIcon()),(this.badge||this.badgeEmpty)&&!t&&n("stzh-badge",{class:"stzh-link__badge",label:this.badge,type:this.badgeType}))};t.prototype.render=function(){var t;var i=this;var e=r(this.element,"icon")||!!this.icon;var s=(t={"stzh-link":true,"stzh-link--has-icon":e,"stzh-link--has-icon-only":this.iconOnly,"stzh-link--has-badge":!!this.badge,"stzh-link--is-fullwidth":this.fullwidth,"stzh-link--is-disabled":this.disabled,"stzh-link--is-active":this.active},t["stzh-link--badge-position-".concat(this.badgePosition)]=!!this.badgePosition,t["stzh-link--align-".concat(this.textAlign)]=!!this.textAlign,t["stzh-link--size-".concat(this.size)]=!!this.size,t["stzh-link--".concat(this.variant)]=!!this.variant,t);return n(l,null,this.href?n("a",{ref:function(t){return i.link=t},href:this.disabled?null:this.href,target:this.target,class:s,accessKey:this.linkAccesskey,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(e)):n("button",{ref:function(t){return i.link=t},class:s,type:this.type,disabled:this.disabled,accessKey:this.linkAccesskey,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(e)))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());a.style=h}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-609bf766.system.js"],(function(t){"use strict";var s,r,e,a;return{setters:[function(t){s=t.r;r=t.h;e=t.a;a=t.g}],execute:function(){var o=".sc-stzh-status-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-status-h{display:none}.sc-stzh-status-h *.sc-stzh-status,.sc-stzh-status-h *.sc-stzh-status::before,.sc-stzh-status-h *.sc-stzh-status::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-status-h{--color:var(--stzh-base-color)}[type=success].sc-stzh-status-h{--color:var(--stzh-color-truegreen)}[type=warning].sc-stzh-status-h{--color:var(--stzh-color-warning)}[type=error].sc-stzh-status-h{--color:var(--stzh-color-error)}[type=info].sc-stzh-status-h{--color:var(--stzh-color-zueriblue)}.stzh-status.sc-stzh-status{min-width:10rem;color:var(--color)}.stzh-status__dot.sc-stzh-status{border-radius:50%;width:0.75rem;height:0.75rem;background-color:currentColor;margin-right:var(--stzh-space-xxsmall)}.stzh-status__bar.sc-stzh-status{display:block;height:0.25rem;border-radius:0.75rem;background-color:var(--stzh-color-grey13);margin-top:var(--stzh-space-xxsmall)}.stzh-status__bar-inner.sc-stzh-status{display:block;height:100%;width:0;border-radius:0.75rem;background:currentColor}.stzh-status__text.sc-stzh-status{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}";var h=t("stzh_status",function(){function t(t){s(this,t);this.percent=0;this.withLoadingbar=false;this.label="";this.type="default"}t.prototype.render=function(){var t;var s=(t={"stzh-status":true},t["stzh-status--type-".concat(this.type)]=!!this.type,t);return r(e,null,r("div",{class:s},r("div",{class:"stzh-status__text"},r("div",{class:"stzh-status__dot"}),this.label&&r("div",{class:"stzh-status__label"},this.label)),this.withLoadingbar&&r("div",{class:"stzh-status__bar"},r("div",{class:"stzh-status__bar-inner",style:{width:"".concat(this.percent,"%")}}))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());h.style=o}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-609bf766.system.js"],(function(e){"use strict";var t,s,i;return{setters:[function(e){t=e.r;s=e.h;i=e.a}],execute:function(){var h=".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}";var l=e("stzh_fieldset",function(){function e(e){t(this,e);this.legend="";this.hideLegend=false;this.legendLevel="";this.legendCurve="auto"}e.prototype.render=function(){var e={"stzh-fieldset":true,"stzh-fieldset--hide-legend":this.hideLegend};return s(i,null,s("fieldset",{class:e},this.legend&&s("legend",{class:"stzh-fieldset__legend"},this.legendLevel?s("stzh-heading",{level:this.legendLevel,curve:this.legendCurve},this.legend):this.legend),s("slot",null)))};return e}());l.style=h}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-609bf766.system.js"],(function(t){"use strict";var e,s,n,r;return{setters:[function(t){e=t.r;s=t.h;n=t.a;r=t.g}],execute:function(){var a=".sc-stzh-metanav-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-metanav-h{display:none}.sc-stzh-metanav-h *.sc-stzh-metanav,.sc-stzh-metanav-h *.sc-stzh-metanav::before,.sc-stzh-metanav-h *.sc-stzh-metanav::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);padding:var(--stzh-space-xsmall) var(--stzh-space-small);color:var(--stzh-color-grey61)}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link:hover .stzh-link__text{text-decoration:underline}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link__text{text-decoration:none}.stzh-metanav.sc-stzh-metanav{display:-ms-flexbox;display:flex}";var i=t("stzh_metanav",function(){function t(t){var s=this;e(this,t);this.init=function(){var t=s.element.querySelectorAll("stzh-link");t.forEach((function(t){t.setAttribute("role","listitem")}))}}t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){return s(n,null,s("div",{class:"stzh-metanav",role:"list"},s("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());i.style=a}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-609bf766.system.js"],(function(t){"use strict";var e,i,s,o;return{setters:[function(t){e=t.r;i=t.h;s=t.a;o=t.g}],execute:function(){var r='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2 11.3333L9 18.6667L22 5.33334" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n';var n=":host{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}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--icon-checklist-visibility:hidden}:host::before{display:inline-block;position:absolute;left:0;top:0}.stzh-list-item__checkmark-icon{visibility:var(--icon-checklist-visibility);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:absolute;top:0.0625rem;left:0}.stzh-list-item__checkmark-icon svg{width:1.5em;height:1.5em;display:block}";var l=t("stzh_list_item",function(){function t(t){e(this,t)}t.prototype.render=function(){var t={"stzh-list-item":true};return i(s,null,i("div",{class:t,role:"listitem"},i("div",{class:"stzh-list-item__checkmark-icon",innerHTML:r}),i("div",{class:"stzh-list-item__text"},i("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());l.style=n}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,a,g as e}from"./p-7a4c6adb.js";import{f as o}from"./p-25a09313.js";import{m as n}from"./p-9111e257.js";const c=class{constructor(i){t(this,i),this.stzhActionClick=s(this,"stzhActionClick",7),this._actions=[],this.actionClick=(t,s)=>{this.stzhActionClick.emit({component:"stzh-actionset",action:t,originalEvent:s})},this.update=()=>{if(this.isSmall=n("small").matches,this.isMedium=n("medium").matches,!this.actionsElement)return;Object.assign(this.actionsElement.style,{width:null,height:null});let t=0;if("overflow"===this.variant&&this.isMedium||"stack"===this.variant&&this.isSmall){this.dynamicActions=!0;let s=0,i=0;Array.from(this.actionsElement.children).forEach((a=>{if(0===a.offsetTop){t++;const e=getComputedStyle(a),o=parseInt(e.marginLeft),n=parseInt(e.marginRight),c=parseInt(e.marginTop),h=parseInt(e.marginBottom),r=a.offsetHeight+c+h;s<r&&(s=r),i+=a.offsetWidth+o+n}})),Object.assign(this.actionsElement.style,{width:`${i+1}px`,height:`${s}px`})}else this.dynamicActions=!1,"overflow"===this.variant?t=0:"stack"===this.variant&&(t=this._actions.length<=3?this._actions.length:2);this.actionsCollapsed=this._actions.slice(t)},this.localization=void 0,this.variant="stack",this.popoverButtonVariant="",this.popoverButtonSize="",this.popoverPlacement="bottom-end",this.actions=[],this.actionsCollapsed=[],this.dynamicActions=void 0,this.isSmall=void 0,this.isMedium=void 0}actionsWatcher(t){this._actions="string"==typeof t?JSON.parse(t):t}handleResize(){this.debounceResize&&window.cancelAnimationFrame(this.debounceResize),this.debounceResize=requestAnimationFrame(this.update)}async componentWillLoad(){this.actionsWatcher(this.actions),this.localization||(this.localization=await o(this.element,"actionset"))}componentDidLoad(){this.update()}render(){const t=t=>i("stzh-button",{class:{"stzh-actionset__action":!0,"is-button":!0},role:"listitem",icon:t.icon,iconPosition:t.iconPosition,iconOnly:t.iconOnly,badge:t.badge,variant:t.variant?t.variant:"stack"===this.variant?"secondary":"tertiary",size:t.size?t.size:"stack"===this.variant?"default":"tiny",badgePosition:"icon",onClick:s=>{this.actionClick(t,s)}},i("span",{class:{}},t.label));return i(a,{"has-collapsed-items":this.actionsCollapsed.length>0},i("div",{class:{"stzh-actionset":!0,"stzh-actionset--has-collapsed-items":this.actionsCollapsed.length>0,[`stzh-actionset--${this.variant}`]:!!this.variant}},i("div",{class:"stzh-actionset__actions",role:"list"},i("div",{ref:t=>this.actionsElement=t,class:"stzh-actionset__actions-wrapper"},this._actions.map((s=>(this.dynamicActions||!this.dynamicActions&&-1===this.actionsCollapsed.indexOf(s))&&(s.tooltipContent?i("stzh-tooltip",{strategy:"fixed",content:s.tooltipContent},t(s)):t(s))))),i("stzh-popover",{label:"stack"===this.variant?this.localization.furtherActions:this.isMedium?"":this.localization.actions,strategy:"fixed",placement:this.popoverPlacement,class:"stzh-actionset__action-popover"},i("stzh-button",{fullwidth:!0,disabled:0===this.actionsCollapsed.length,class:"stzh-actionset__action is-further",variant:""!==this.popoverButtonVariant?this.popoverButtonVariant:"stack"===this.variant?"secondary":"tertiary",size:""!==this.popoverButtonSize?this.popoverButtonSize:"stack"===this.variant?"default":"tiny",icon:"stack"===this.variant?"angle-down":"more-vertical",iconOnly:"overflow"===this.variant&&this.isMedium,iconPosition:"right",label:"stack"===this.variant?this.localization.furtherActions:this.isMedium?"":this.localization.actions}),i("stzh-menu",{slot:"content"},this.actionsCollapsed.map((t=>i("stzh-menu-item",{icon:t.icon,badge:t.badge,badgeEmpty:t.badgeEmpty,badgeType:t.badgeType,onClick:s=>{this.actionClick(t,s)}},t.label))))))))}get element(){return e(this)}static get watchers(){return{actions:["actionsWatcher"]}}};c.style=".sc-stzh-actionset-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-actionset-h{display:none}.sc-stzh-actionset-h *.sc-stzh-actionset,.sc-stzh-actionset-h *.sc-stzh-actionset::before,.sc-stzh-actionset-h *.sc-stzh-actionset::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-actionset__actions.sc-stzh-actionset{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-actionset__actions-wrapper.sc-stzh-actionset{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-right:var(--stzh-space-xsmall)}.stzh-actionset__action-popover.sc-stzh-actionset{opacity:0}.stzh-actionset--has-collapsed-items.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{--width:auto;opacity:1}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions-wrapper.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-bottom:var(--stzh-space-xsmall);margin-right:0}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{margin-top:var(--stzh-space-xsmall)}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset:not(.stzh-actionset--has-collapsed-items) .stzh-actionset__action-popover.sc-stzh-actionset{display:none}}";export{c as stzh_actionset}
|
|
@@ -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}
|