@oiz/stzh-components 1.4.0-npmjstest → 2.0.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -56
- package/dist/cjs/{app-globals-e07b8f5f.js → app-globals-58a084a9.js} +5 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +164 -0
- package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +25 -4
- package/dist/cjs/stzh-card-list.cjs.entry.js +79 -0
- package/dist/cjs/stzh-card.cjs.entry.js +294 -0
- package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -4
- package/dist/cjs/stzh-chip-select.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist.cjs.entry.js +74 -0
- package/dist/cjs/stzh-datepicker_4.cjs.entry.js +7 -8
- package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
- package/dist/cjs/stzh-dropdown.cjs.entry.js +33 -8
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-header.cjs.entry.js +1 -1
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +10 -6
- package/dist/cjs/stzh-link.cjs.entry.js +2 -2
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-overlay.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +30 -28
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sortable.cjs.entry.js +3230 -2440
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-tooltip.cjs.entry.js +3 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +44 -11
- package/dist/cjs/utils-8dc66449.js +76 -0
- package/dist/collection/assets/fonts.css +5 -5
- package/dist/collection/assets/i18n/de.json +7 -2
- package/dist/collection/assets/i18n/en.json +7 -2
- package/dist/collection/assets/icons/mono/recycling-outline.svg +11 -0
- package/dist/collection/assets/icons/mono/recycling.svg +10 -0
- package/dist/collection/assets/icons/mono/smartphone.svg +10 -0
- package/dist/collection/assets/icons/mono/target.svg +11 -0
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/stzh-actionset/stzh-actionset.css +147 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +351 -0
- package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.localization.js → stzh-actionset/stzh-actionset.localization.js} +0 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +72 -0
- package/dist/collection/components/stzh-button/stzh-button.css +66 -0
- package/dist/collection/components/stzh-button/stzh-button.js +98 -4
- package/dist/collection/components/stzh-button/stzh-button.stories.js +1 -1
- package/dist/collection/components/stzh-card/stzh-card.css +408 -0
- package/dist/collection/components/stzh-card/stzh-card.js +771 -0
- package/dist/collection/components/stzh-card/stzh-card.localization.js +1 -0
- package/dist/collection/components/stzh-card/stzh-card.stories.js +137 -0
- package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.css → stzh-card-list/stzh-card-list.css} +9 -9
- package/dist/collection/components/stzh-card-list/stzh-card-list.js +224 -0
- package/dist/collection/components/{stzh-servicecard/stzh-servicecard.localization.js → stzh-card-list/stzh-card-list.localization.js} +0 -0
- package/dist/collection/components/stzh-card-list/stzh-card-list.stories.js +132 -0
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +1 -3
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +1 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +19 -6
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +621 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +237 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +66 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -21
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +11 -2
- package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +18 -8
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +5 -7
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +86 -27
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +3328 -0
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +63 -11
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-input/stzh-input.css +18 -9
- package/dist/collection/components/stzh-input/stzh-input.js +80 -26
- package/dist/collection/components/stzh-link/stzh-link.css +5 -0
- package/dist/collection/components/stzh-link/stzh-link.js +2 -2
- package/dist/collection/components/stzh-overlay/stzh-overlay.css +5 -1
- package/dist/collection/components/stzh-popover/stzh-popover.js +52 -32
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +292 -9
- package/dist/collection/components/stzh-radio/stzh-radio.css +2 -2
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +5 -6
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +3 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +145 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +19 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +75 -8
- package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +1 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +21 -1
- package/dist/collection/components/stzh-upload/stzh-upload.css +3 -0
- package/dist/collection/components/stzh-upload/stzh-upload.js +43 -10
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +10 -8
- package/dist/collection/global/js/helpers/autofocus.js +3 -1
- package/dist/collection/global/js/script.js +1 -1
- package/dist/collection/libraries/sortable.js +3791 -0
- package/dist/collection/pages/meinkonto.stories.js +93 -88
- package/dist/collection/utils/utils.js +39 -0
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.js +9 -5
- package/dist/components/{stzh-servicecard.d.ts → stzh-actionset.d.ts} +4 -4
- package/dist/components/stzh-actionset.js +6 -0
- package/dist/components/stzh-actionset2.js +227 -0
- package/dist/components/stzh-button2.js +27 -3
- package/dist/components/{stzh-servicecard-list.d.ts → stzh-card-list.d.ts} +4 -4
- package/dist/components/stzh-card-list.js +123 -0
- package/dist/components/stzh-card.d.ts +11 -0
- package/dist/components/stzh-card.js +376 -0
- package/dist/components/stzh-checkboxgroup.js +1 -3
- package/dist/components/stzh-chip-select.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist.d.ts +11 -0
- package/dist/components/stzh-datalist.js +113 -0
- package/dist/components/stzh-datepicker2.js +1 -2
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-dropdown2.js +36 -9
- package/dist/components/stzh-icon-sprite.js +1 -1
- package/dist/components/stzh-input2.js +13 -6
- package/dist/components/stzh-link2.js +1 -1
- package/dist/components/stzh-overlay.js +1 -1
- package/dist/components/stzh-popover2.js +31 -28
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-radio2.js +1 -1
- package/dist/components/stzh-radiogroup2.js +4 -5
- package/dist/components/stzh-richtext2.js +1 -1
- package/dist/components/stzh-sortable2.js +3232 -2441
- package/dist/components/stzh-tooltip2.js +4 -1
- package/dist/components/stzh-upload.js +43 -10
- package/dist/components/utils.js +40 -1
- package/dist/esm/{app-globals-70c229e3.js → app-globals-6b6ff890.js} +5 -3
- package/dist/esm/{index-0e6d34c6.js → index-84f71a43.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion-item.entry.js +1 -1
- package/dist/esm/stzh-accordion.entry.js +1 -1
- package/dist/esm/stzh-actions.entry.js +2 -2
- package/dist/esm/stzh-actionset.entry.js +160 -0
- package/dist/esm/stzh-appnav.entry.js +2 -2
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +26 -5
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card-list.entry.js +75 -0
- package/dist/esm/stzh-card.entry.js +290 -0
- package/dist/esm/stzh-cell.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +3 -3
- package/dist/esm/stzh-checkboxgroup.entry.js +4 -6
- package/dist/esm/stzh-chip-select.entry.js +2 -2
- package/dist/esm/stzh-chip.entry.js +1 -1
- package/dist/esm/stzh-components.js +3 -3
- 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 +70 -0
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_4.entry.js +9 -10
- package/dist/esm/stzh-dialog.entry.js +3 -3
- package/dist/esm/stzh-dropdown.entry.js +35 -10
- package/dist/esm/stzh-fieldset.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +2 -2
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +2 -2
- package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
- package/dist/esm/stzh-header.entry.js +2 -2
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/{stzh-input-description-da7b0e98.js → stzh-input-description-8c477f97.js} +1 -1
- package/dist/esm/stzh-input.entry.js +12 -8
- package/dist/esm/stzh-link.entry.js +3 -3
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-list.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +2 -2
- package/dist/esm/stzh-message.entry.js +1 -1
- package/dist/esm/stzh-metanav.entry.js +1 -1
- package/dist/esm/stzh-overlay.entry.js +2 -2
- 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 +31 -29
- package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm/stzh-progressbar.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +2 -2
- package/dist/esm/stzh-row.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-sortable.entry.js +3231 -2441
- package/dist/esm/stzh-status.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +2 -2
- package/dist/esm/stzh-toggle.entry.js +3 -3
- package/dist/esm/stzh-tooltip.entry.js +4 -2
- package/dist/esm/stzh-upload.entry.js +46 -13
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/utils-68a28fce.js +72 -0
- package/dist/esm-es5/app-globals-6b6ff890.js +1 -0
- package/dist/esm-es5/{index-0e6d34c6.js → index-84f71a43.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- 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 -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-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 -0
- package/dist/esm-es5/stzh-card.entry.js +1 -0
- 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-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 -0
- 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 +1 -1
- package/dist/esm-es5/stzh-datepicker_4.entry.js +1 -1
- 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-da7b0e98.js → stzh-input-description-8c477f97.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-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-table.entry.js +1 -1
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/utils-68a28fce.js +1 -0
- package/dist/stzh-components/assets/fonts.css +5 -5
- package/dist/stzh-components/assets/i18n/de.json +7 -2
- package/dist/stzh-components/assets/i18n/en.json +7 -2
- package/dist/stzh-components/assets/icons/mono/recycling-outline.svg +11 -0
- package/dist/stzh-components/assets/icons/mono/recycling.svg +10 -0
- package/dist/stzh-components/assets/icons/mono/smartphone.svg +10 -0
- package/dist/stzh-components/assets/icons/mono/target.svg +11 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +63 -11
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/{p-07f16263.entry.js → p-001b7d10.entry.js} +1 -1
- package/dist/stzh-components/p-0230004d.system.js +1 -0
- package/dist/stzh-components/{p-0837657c.entry.js → p-08a564af.entry.js} +1 -1
- package/dist/stzh-components/{p-a6486f64.system.entry.js → p-0b8de542.system.entry.js} +1 -1
- package/dist/stzh-components/{p-8db4279d.system.entry.js → p-0bbbbe85.system.entry.js} +1 -1
- package/dist/stzh-components/p-0d5522dc.system.entry.js +1 -0
- package/dist/stzh-components/{p-33d033a3.system.entry.js → p-0efe125f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4cfe83b5.system.entry.js → p-0fc06049.system.entry.js} +1 -1
- package/dist/stzh-components/p-0fc83964.system.entry.js +1 -0
- package/dist/stzh-components/{p-08d4ed80.entry.js → p-13b3500e.entry.js} +1 -1
- package/dist/stzh-components/p-13f44000.entry.js +1 -0
- package/dist/stzh-components/{p-65444117.system.entry.js → p-17c6c1db.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b34774e7.entry.js → p-190de4de.entry.js} +1 -1
- package/dist/stzh-components/{p-b2c8c31e.system.entry.js → p-19bff884.system.entry.js} +1 -1
- package/dist/stzh-components/p-1f57d28e.js +1 -0
- package/dist/stzh-components/{p-debb00e6.entry.js → p-216577b4.entry.js} +1 -1
- package/dist/stzh-components/{p-6edd58a4.system.entry.js → p-27fd6c6f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-55188328.entry.js → p-2818488f.entry.js} +1 -1
- package/dist/stzh-components/{p-f9dc7a9b.entry.js → p-29427863.entry.js} +1 -1
- package/dist/stzh-components/{p-3c4478b0.entry.js → p-2b338050.entry.js} +1 -1
- package/dist/stzh-components/p-2cf1ae40.system.entry.js +1 -0
- package/dist/stzh-components/{p-fa8651dd.entry.js → p-2e559062.entry.js} +1 -1
- package/dist/stzh-components/{p-11d0c8f3.entry.js → p-332e4fd3.entry.js} +1 -1
- package/dist/stzh-components/{p-1ccbd2d6.system.entry.js → p-33c0229f.system.entry.js} +1 -1
- package/dist/stzh-components/p-373f79e8.entry.js +1 -0
- package/dist/stzh-components/{p-b651f251.entry.js → p-3ac93a01.entry.js} +1 -1
- package/dist/stzh-components/p-3b27a43f.system.entry.js +7 -0
- package/dist/stzh-components/{p-1cde29ea.entry.js → p-3d8317b5.entry.js} +1 -1
- package/dist/stzh-components/{p-48bbcc26.system.entry.js → p-45bab70d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3f03fd94.system.entry.js → p-48b5b697.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ece7ad4d.system.entry.js → p-4c6989ae.system.entry.js} +1 -1
- package/dist/stzh-components/{p-79ca1ba6.entry.js → p-552f49c4.entry.js} +1 -1
- package/dist/stzh-components/{p-562394a9.system.entry.js → p-55d23a3c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-60b4f34c.system.entry.js → p-560f96f0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f48a2b00.system.entry.js → p-56b9cc3c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-cb4a91b7.system.entry.js → p-58d886cb.system.entry.js} +1 -1
- package/dist/stzh-components/p-5975c355.system.entry.js +1 -0
- package/dist/stzh-components/p-5987573e.system.entry.js +1 -0
- package/dist/stzh-components/{p-634095bd.system.entry.js → p-5997e418.system.entry.js} +1 -1
- package/dist/stzh-components/p-59c323ce.entry.js +1 -0
- package/dist/stzh-components/{p-49968bbf.entry.js → p-5a02ef03.entry.js} +1 -1
- package/dist/stzh-components/{p-82d85c3a.system.entry.js → p-5a354428.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0a71fbac.entry.js → p-5bd2849d.entry.js} +1 -1
- package/dist/stzh-components/{p-19344366.system.entry.js → p-61aac051.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ade1ebcf.system.entry.js → p-6305db38.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ff8a3e96.entry.js → p-6354fee3.entry.js} +1 -1
- package/dist/stzh-components/{p-86d3ce62.entry.js → p-638bedfa.entry.js} +1 -1
- package/dist/stzh-components/{p-9c0494a6.system.js → p-63d89b96.system.js} +1 -1
- package/dist/stzh-components/{p-33d75303.entry.js → p-63d8db7b.entry.js} +1 -1
- package/dist/stzh-components/{p-818634d2.entry.js → p-64b4cc74.entry.js} +1 -1
- package/dist/stzh-components/p-653c6bbc.entry.js +1 -0
- package/dist/stzh-components/{p-b1976630.entry.js → p-67f906b1.entry.js} +1 -1
- package/dist/stzh-components/{p-f44f4d26.system.entry.js → p-69c3187f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c2d58384.entry.js → p-69f4a27e.entry.js} +1 -1
- package/dist/stzh-components/p-6a81e64b.entry.js +1 -0
- package/dist/stzh-components/p-6a873872.entry.js +1 -0
- package/dist/stzh-components/{p-03b16275.entry.js → p-72f29f07.entry.js} +1 -1
- package/dist/stzh-components/p-75cdc8a6.system.entry.js +1 -0
- package/dist/stzh-components/{p-a4100bd8.system.entry.js → p-7ad87d98.system.entry.js} +1 -1
- package/dist/stzh-components/p-7d8c9866.entry.js +1 -0
- package/dist/stzh-components/{p-1cebd703.entry.js → p-7f9f9a8d.entry.js} +1 -1
- package/dist/stzh-components/{p-7d098987.entry.js → p-83b1e379.entry.js} +1 -1
- package/dist/stzh-components/{p-aec2d2d1.system.entry.js → p-851e0caa.system.entry.js} +1 -1
- package/dist/stzh-components/{p-1f15a4e0.system.entry.js → p-86bc421e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-690d14cd.entry.js → p-88e0f453.entry.js} +1 -1
- package/dist/stzh-components/{p-0338cec3.system.entry.js → p-89274cd5.system.entry.js} +1 -1
- package/dist/stzh-components/{p-346e26f2.system.entry.js → p-8a9e588e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-66556f67.entry.js → p-8aebb240.entry.js} +1 -1
- package/dist/stzh-components/{p-bba52769.system.entry.js → p-8cbc987f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0ae3e066.system.entry.js → p-8d0da18d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-56fccfa3.system.entry.js → p-8d547247.system.entry.js} +1 -1
- package/dist/stzh-components/p-8f16b0ac.entry.js +8 -0
- package/dist/stzh-components/{p-85d78e08.entry.js → p-938ef748.entry.js} +1 -1
- package/dist/stzh-components/{p-65282c9d.js → p-93e8e31f.js} +1 -1
- package/dist/stzh-components/{p-e9ca8ddc.entry.js → p-961cb979.entry.js} +1 -1
- package/dist/stzh-components/{p-98afd4b0.system.entry.js → p-981b2629.system.entry.js} +1 -1
- package/dist/stzh-components/p-9bda100f.system.js +1 -0
- package/dist/stzh-components/{p-0ec28130.system.entry.js → p-9c72f491.system.entry.js} +1 -1
- package/dist/stzh-components/{p-8cf287d8.system.entry.js → p-9fb4da92.system.entry.js} +1 -1
- package/dist/stzh-components/{p-e58d3bc7.entry.js → p-a448f5a5.entry.js} +1 -1
- package/dist/stzh-components/{p-96fd158c.entry.js → p-a646c09a.entry.js} +1 -1
- package/dist/stzh-components/p-a6627504.entry.js +1 -0
- package/dist/stzh-components/{p-2f2cb544.system.entry.js → p-a67e09cd.system.entry.js} +1 -1
- package/dist/stzh-components/{p-378be0be.system.entry.js → p-a7c35778.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c8bc2812.entry.js → p-a7ee2636.entry.js} +1 -1
- package/dist/stzh-components/{p-632d9076.system.entry.js → p-a99d3e97.system.entry.js} +1 -1
- package/dist/stzh-components/{p-148de4e6.entry.js → p-ab246b66.entry.js} +1 -1
- package/dist/stzh-components/{p-936cc626.system.entry.js → p-ab455116.system.entry.js} +1 -1
- package/dist/stzh-components/p-af2664fc.system.entry.js +1 -0
- package/dist/stzh-components/p-b084fcbf.system.entry.js +1 -0
- package/dist/stzh-components/p-b550feaa.system.entry.js +1 -0
- package/dist/stzh-components/{p-f8d9411d.system.entry.js → p-b636a18a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f544cf3d.entry.js → p-b9295dc2.entry.js} +1 -1
- package/dist/stzh-components/{p-1bfc1097.entry.js → p-b9382599.entry.js} +1 -1
- package/dist/stzh-components/{p-46f301c0.entry.js → p-b9a027aa.entry.js} +1 -1
- package/dist/stzh-components/{p-e4347cfe.entry.js → p-b9c3f3cc.entry.js} +1 -1
- package/dist/stzh-components/{p-7e3924a0.system.entry.js → p-ba94e315.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7d62dfeb.system.entry.js → p-bd178c32.system.entry.js} +1 -1
- package/dist/stzh-components/{p-e972a44f.system.entry.js → p-be461e19.system.entry.js} +1 -1
- package/dist/stzh-components/{p-30b347ee.system.js → p-bf0fdd23.system.js} +2 -2
- package/dist/stzh-components/{p-0433fff9.system.entry.js → p-c013a00b.system.entry.js} +1 -1
- package/dist/stzh-components/p-c1337453.entry.js +1 -0
- package/dist/stzh-components/{p-915e8ad6.entry.js → p-c3d93395.entry.js} +1 -1
- package/dist/stzh-components/{p-c6cad5ed.system.entry.js → p-c456c04b.system.entry.js} +1 -1
- package/dist/stzh-components/{p-298276e4.entry.js → p-c499e04d.entry.js} +1 -1
- package/dist/stzh-components/{p-e9bc3a43.entry.js → p-c4b7c2be.entry.js} +1 -1
- package/dist/stzh-components/{p-df422d36.entry.js → p-c58dd9de.entry.js} +1 -1
- package/dist/stzh-components/{p-7d2237ca.entry.js → p-c692e405.entry.js} +1 -1
- package/dist/stzh-components/{p-4e9bfeb8.system.entry.js → p-c83e4fec.system.entry.js} +1 -1
- package/dist/stzh-components/p-ca062c11.system.js +1 -0
- package/dist/stzh-components/{p-49e37004.entry.js → p-ce070ccd.entry.js} +1 -1
- package/dist/stzh-components/{p-b3b5ee7e.entry.js → p-ce28428b.entry.js} +1 -1
- package/dist/stzh-components/p-cfaac121.js +1 -0
- package/dist/stzh-components/{p-6ec17efc.entry.js → p-d0aa9d3b.entry.js} +1 -1
- package/dist/stzh-components/{p-2990206c.system.entry.js → p-d11a70e2.system.entry.js} +1 -1
- package/dist/stzh-components/p-d1dba399.system.entry.js +1 -0
- package/dist/stzh-components/p-d2b5e066.entry.js +1 -0
- package/dist/stzh-components/{p-58ffc722.system.entry.js → p-d54f04c8.system.entry.js} +1 -1
- package/dist/stzh-components/p-d645d645.entry.js +1 -0
- package/dist/stzh-components/{p-30cb8bc0.system.entry.js → p-d6c07494.system.entry.js} +1 -1
- package/dist/stzh-components/{p-cf162e67.entry.js → p-d7893dfd.entry.js} +1 -1
- package/dist/stzh-components/{p-73194e28.entry.js → p-d9643cc4.entry.js} +1 -1
- package/dist/stzh-components/{p-c6ad1a8c.entry.js → p-da7b363e.entry.js} +1 -1
- package/dist/stzh-components/{p-58917ce2.entry.js → p-db5363ef.entry.js} +1 -1
- package/dist/stzh-components/p-de017b87.system.entry.js +1 -0
- package/dist/stzh-components/{p-2d0685e3.entry.js → p-e009bfdc.entry.js} +1 -1
- package/dist/stzh-components/{p-fc9c4fc3.system.entry.js → p-e213663c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7a6e347d.system.entry.js → p-e7a84e53.system.entry.js} +1 -1
- package/dist/stzh-components/{p-14d728f0.entry.js → p-ee22256f.entry.js} +1 -1
- package/dist/stzh-components/{p-670d4834.entry.js → p-f1356a85.entry.js} +1 -1
- package/dist/stzh-components/{p-82e6148a.system.entry.js → p-f167eaa4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3c799247.entry.js → p-f2ee016a.entry.js} +1 -1
- package/dist/stzh-components/{p-1ace5d80.entry.js → p-f788a468.entry.js} +1 -1
- package/dist/stzh-components/{p-99533090.system.entry.js → p-f832e938.system.entry.js} +1 -1
- package/dist/stzh-components/{p-32b78d65.js → p-f84fa2a4.js} +1 -1
- package/dist/stzh-components/{p-80db7aa6.system.entry.js → p-fa56fc0d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-88a4f756.system.entry.js → p-fc13d017.system.entry.js} +1 -1
- package/dist/stzh-components/p-fc6b4f91.system.entry.js +1 -0
- package/dist/stzh-components/p-fdd1998f.entry.js +1 -0
- package/dist/stzh-components/{p-9e6c25ed.system.entry.js → p-fdf0b4bc.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0c92ee26.system.entry.js → p-ffa1e9dd.system.entry.js} +1 -1
- package/dist/stzh-components/stzh-components.css +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-actionset/stzh-actionset.localization.d.ts +5 -0
- package/dist/types/components/{stzh-servicecard/stzh-servicecard.localization.d.ts → stzh-card/stzh-card.localization.d.ts} +2 -1
- package/dist/types/components/{stzh-servicecard-list/stzh-servicecard-list.localization.d.ts → stzh-card-list/stzh-card-list.localization.d.ts} +1 -1
- package/dist/types/components.d.ts +518 -239
- package/dist/types/index.d.ts +57 -14
- package/dist/types/utils/utils.d.ts +2 -0
- package/dist/vscode-data.json +366 -132
- package/package.json +1 -1
- package/dist/cjs/stzh-servicecard-list.cjs.entry.js +0 -56
- package/dist/cjs/stzh-servicecard.cjs.entry.js +0 -212
- package/dist/cjs/utils-d327c19d.js +0 -36
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.css +0 -558
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +0 -592
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +0 -73
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.js +0 -153
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +0 -115
- package/dist/components/stzh-servicecard-list.js +0 -99
- package/dist/components/stzh-servicecard.js +0 -283
- package/dist/esm/stzh-servicecard-list.entry.js +0 -52
- package/dist/esm/stzh-servicecard.entry.js +0 -208
- package/dist/esm/utils-904416df.js +0 -33
- package/dist/esm-es5/app-globals-70c229e3.js +0 -1
- package/dist/esm-es5/stzh-servicecard-list.entry.js +0 -1
- package/dist/esm-es5/stzh-servicecard.entry.js +0 -1
- package/dist/esm-es5/utils-904416df.js +0 -1
- package/dist/stzh-components/p-043ab41e.system.entry.js +0 -1
- package/dist/stzh-components/p-1d914f6c.entry.js +0 -1
- package/dist/stzh-components/p-323fdc2f.entry.js +0 -1
- package/dist/stzh-components/p-49ea222f.system.entry.js +0 -1
- package/dist/stzh-components/p-5f7b72c8.entry.js +0 -1
- package/dist/stzh-components/p-5f856307.system.js +0 -1
- package/dist/stzh-components/p-63b5068a.system.entry.js +0 -1
- package/dist/stzh-components/p-6c502e6e.js +0 -1
- package/dist/stzh-components/p-6ea5c23d.system.entry.js +0 -7
- package/dist/stzh-components/p-7279af4a.system.entry.js +0 -1
- package/dist/stzh-components/p-7bb1bd3b.entry.js +0 -1
- package/dist/stzh-components/p-8462ba57.entry.js +0 -1
- package/dist/stzh-components/p-88bef2cd.entry.js +0 -1
- package/dist/stzh-components/p-a7c3b41a.entry.js +0 -1
- package/dist/stzh-components/p-a86c6487.entry.js +0 -1
- package/dist/stzh-components/p-aa4e28cc.system.js +0 -1
- package/dist/stzh-components/p-ac1da083.system.js +0 -1
- package/dist/stzh-components/p-b63d6ded.system.entry.js +0 -1
- package/dist/stzh-components/p-bcade28e.entry.js +0 -1
- package/dist/stzh-components/p-be21cebd.js +0 -1
- package/dist/stzh-components/p-d04e8743.system.entry.js +0 -1
- package/dist/stzh-components/p-d8819b74.system.entry.js +0 -1
- package/dist/stzh-components/p-e048de42.entry.js +0 -8
- package/dist/stzh-components/p-e2ce48f1.system.entry.js +0 -1
- package/dist/stzh-components/p-e987954a.system.entry.js +0 -1
- package/dist/stzh-components/p-f21440b3.entry.js +0 -1
- package/dist/stzh-components/p-fe9f8a09.system.entry.js +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{r as t,c as n,h as i,a as e,g as r}from"./p-93e8e31f.js";import{c as o}from"./p-1f57d28e.js";import{f as s}from"./p-25a09313.js";function a(t){return"object"==typeof t&&null!=t&&1===t.nodeType}function u(t,n){return(!n||"hidden"!==t)&&"visible"!==t&&"clip"!==t}function l(t,n){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var i=getComputedStyle(t,null);return u(i.overflowY,n)||u(i.overflowX,n)||function(t){var n=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t);return!!n&&(n.clientHeight<t.scrollHeight||n.clientWidth<t.scrollWidth)}(t)}return!1}function c(t,n,i,e,r,o,s,a){return o<t&&s>n||o>t&&s<n?0:o<=t&&a<=i||s>=n&&a>=i?o-t-e:s>n&&a<i||o<t&&a>i?s-n+r:0}function h(t,n){var i=window,e=n.scrollMode,r=n.block,o=n.inline,s=n.boundary,u=n.skipOverflowHiddenElements,h="function"==typeof s?s:function(t){return t!==s};if(!a(t))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,d=[],v=t;a(v)&&h(v);){if((v=v.parentElement)===f){d.push(v);break}null!=v&&v===document.body&&l(v)&&!l(document.documentElement)||null!=v&&l(v,u)&&d.push(v)}for(var m=i.visualViewport?i.visualViewport.width:innerWidth,b=i.visualViewport?i.visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,w=t.getBoundingClientRect(),y=w.height,E=w.width,z=w.top,x=w.right,I=w.bottom,S=w.left,O="start"===r||"nearest"===r?z:"end"===r?I:z+y/2,k="center"===o?S+E/2:"end"===o?x:S,M=[],T=0;T<d.length;T++){var C=d[T],_=C.getBoundingClientRect(),D=_.height,A=_.width,j=_.top,N=_.right,W=_.bottom,F=_.left;if("if-needed"===e&&z>=0&&S>=0&&I<=b&&x<=m&&z>=j&&I<=W&&S>=F&&x<=N)return M;var P=getComputedStyle(C),G=parseInt(P.borderLeftWidth,10),H=parseInt(P.borderTopWidth,10),L=parseInt(P.borderRightWidth,10),U=parseInt(P.borderBottomWidth,10),B=0,K=0,$="offsetWidth"in C?C.offsetWidth-C.clientWidth-G-L:0,R="offsetHeight"in C?C.offsetHeight-C.clientHeight-H-U:0;if(f===C)B="start"===r?O:"end"===r?O-b:"nearest"===r?c(g,g+b,b,H,U,g+O,g+O+y,y):O-b/2,K="start"===o?k:"center"===o?k-m/2:"end"===o?k-m:c(p,p+m,m,G,L,p+k,p+k+E,E),B=Math.max(0,B+g),K=Math.max(0,K+p);else{B="start"===r?O-j-H:"end"===r?O-W+U+R:"nearest"===r?c(j,W,D,H,U+R,O,O+y,y):O-(j+D/2)+R/2,K="start"===o?k-F-G:"center"===o?k-(F+A/2)+$/2:"end"===o?k-N+L+$:c(F,N,A,G,L+$,k,k+E,E);var X=C.scrollLeft,Y=C.scrollTop;O+=Y-(B=Math.max(0,Math.min(Y+B,C.scrollHeight-D+R))),k+=X-(K=Math.max(0,Math.min(X+K,C.scrollWidth-A+$)))}M.push({el:C,top:B,left:K})}return M}function f(t){return t===Object(t)&&0!==Object.keys(t).length}
|
|
2
|
+
/**!
|
|
3
|
+
* Sortable 1.15.0
|
|
4
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
5
|
+
* @author owenm <owen23355@gmail.com>
|
|
6
|
+
* @license MIT
|
|
7
|
+
*/
|
|
8
|
+
function d(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,e)}return i}function v(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?d(Object(i),!0).forEach((function(n){b(t,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}return t}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function p(){return(p=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e])}return t}).apply(this,arguments)}function g(t,n){if(null==t)return{};var i,e,r=function(t,n){if(null==t)return{};var i,e,r={},o=Object.keys(t);for(e=0;e<o.length;e++)n.indexOf(i=o[e])>=0||(r[i]=t[i]);return r}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(e=0;e<o.length;e++)n.indexOf(i=o[e])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}function w(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,e=new Array(n);i<n;i++)e[i]=t[i];return e}function y(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var E=y(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),z=y(/Edge/i),x=y(/firefox/i),I=y(/safari/i)&&!y(/chrome/i)&&!y(/android/i),S=y(/iP(ad|od|hone)/i),O=y(/chrome/i)&&y(/android/i),k={capture:!1,passive:!1};function M(t,n,i){t.addEventListener(n,i,!E&&k)}function T(t,n,i){t.removeEventListener(n,i,!E&&k)}function C(t,n){if(n){if(">"===n[0]&&(n=n.substring(1)),t)try{if(t.matches)return t.matches(n);if(t.msMatchesSelector)return t.msMatchesSelector(n);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(n)}catch(i){return!1}return!1}}function _(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function D(t,n,i,e){if(t){i=i||document;do{if(null!=n&&(">"===n[0]?t.parentNode===i&&C(t,n):C(t,n))||e&&t===i)return t;if(t===i)break}while(t=_(t))}return null}var A,j=/\s+/g;function N(t,n,i){if(t&&n)if(t.classList)t.classList[i?"add":"remove"](n);else{var e=(" "+t.className+" ").replace(j," ").replace(" "+n+" "," ");t.className=(e+(i?" "+n:"")).replace(j," ")}}function W(t,n,i){var e=t&&t.style;if(e){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===n?i:i[n];n in e||-1!==n.indexOf("webkit")||(n="-webkit-"+n),e[n]=i+("string"==typeof i?"":"px")}}function F(t,n){var i="";if("string"==typeof t)i=t;else do{var e=W(t,"transform");e&&"none"!==e&&(i=e+" "+i)}while(!n&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(i)}function P(t,n,i){if(t){var e=t.getElementsByTagName(n),r=0,o=e.length;if(i)for(;r<o;r++)i(e[r],r);return e}return[]}function G(){return document.scrollingElement||document.documentElement}function H(t,n,i,e,r){if(t.getBoundingClientRect||t===window){var o,s,a,u,l,c,h;if(t!==window&&t.parentNode&&t!==G()?(s=(o=t.getBoundingClientRect()).top,a=o.left,u=o.bottom,l=o.right,c=o.height,h=o.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(n||i)&&t!==window&&(r=r||t.parentNode,!E))do{if(r&&r.getBoundingClientRect&&("none"!==W(r,"transform")||i&&"static"!==W(r,"position"))){var f=r.getBoundingClientRect();s-=f.top+parseInt(W(r,"border-top-width")),a-=f.left+parseInt(W(r,"border-left-width")),u=s+o.height,l=a+o.width;break}}while(r=r.parentNode);if(e&&t!==window){var d=F(r||t),v=d&&d.a,m=d&&d.d;d&&(u=(s/=m)+(c/=m),l=(a/=v)+(h/=v))}return{top:s,left:a,bottom:u,right:l,width:h,height:c}}}function L(t,n,i){for(var e=R(t,!0),r=H(t)[n];e;){var o=H(e)[i];if(!("top"===i||"left"===i?r>=o:r<=o))return e;if(e===G())break;e=R(e,!1)}return!1}function U(t,n,i,e){for(var r=0,o=0,s=t.children;o<s.length;){if("none"!==s[o].style.display&&s[o]!==Zt.ghost&&(e||s[o]!==Zt.dragged)&&D(s[o],i.draggable,t,!1)){if(r===n)return s[o];r++}o++}return null}function B(t,n){for(var i=t.lastElementChild;i&&(i===Zt.ghost||"none"===W(i,"display")||n&&!C(i,n));)i=i.previousElementSibling;return i||null}function K(t,n){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Zt.clone||n&&!C(t,n)||i++;return i}function $(t){var n=0,i=0,e=G();if(t)do{var r=F(t);n+=t.scrollLeft*r.a,i+=t.scrollTop*r.d}while(t!==e&&(t=t.parentNode));return[n,i]}function R(t,n){if(!t||!t.getBoundingClientRect)return G();var i=t,e=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var r=W(i);if(i.clientWidth<i.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!i.getBoundingClientRect||i===document.body)return G();if(e||n)return i;e=!0}}}while(i=i.parentNode);return G()}function X(t,n){return Math.round(t.top)===Math.round(n.top)&&Math.round(t.left)===Math.round(n.left)&&Math.round(t.height)===Math.round(n.height)&&Math.round(t.width)===Math.round(n.width)}function Y(t,n){return function(){if(!A){var i=arguments,e=this;1===i.length?t.call(e,i[0]):t.apply(e,i),A=setTimeout((function(){A=void 0}),n)}}}function V(t,n,i){t.scrollLeft+=n,t.scrollTop+=i}function J(t){var n=window.Polymer,i=window.jQuery||window.Zepto;return n&&n.dom?n.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}function Z(t,n){W(t,"position","absolute"),W(t,"top",n.top),W(t,"left",n.left),W(t,"width",n.width),W(t,"height",n.height)}function q(t){W(t,"position",""),W(t,"top",""),W(t,"left",""),W(t,"width",""),W(t,"height","")}var Q="Sortable"+(new Date).getTime();var tt=[],nt={initializeByDefault:!0},it={mount:function(t){for(var n in nt)nt.hasOwnProperty(n)&&!(n in t)&&(t[n]=nt[n]);tt.forEach((function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),tt.push(t)},pluginEvent:function(t,n,i){var e=this;this.eventCanceled=!1,i.cancel=function(){e.eventCanceled=!0};var r=t+"Global";tt.forEach((function(e){n[e.pluginName]&&(n[e.pluginName][r]&&n[e.pluginName][r](v({sortable:n},i)),n.options[e.pluginName]&&n[e.pluginName][t]&&n[e.pluginName][t](v({sortable:n},i)))}))},initializePlugins:function(t,n,i){for(var e in tt.forEach((function(e){var r=e.pluginName;if(t.options[r]||e.initializeByDefault){var o=new e(t,n,t.options);o.sortable=t,o.options=t.options,t[r]=o,p(i,o.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var r=this.modifyOption(t,e,t.options[e]);void 0!==r&&(t.options[e]=r)}},getEventProperties:function(t,n){var i={};return tt.forEach((function(e){"function"==typeof e.eventProperties&&p(i,e.eventProperties.call(n[e.pluginName],t))})),i},modifyOption:function(t,n,i){var e;return tt.forEach((function(r){t[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[n]&&(e=r.optionListeners[n].call(t[r.pluginName],i))})),e}};function et(t){var n=t.sortable,i=t.rootEl,e=t.name,r=t.targetEl,o=t.cloneEl,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,d=t.putSortable,m=t.extraEventProperties;if(n=n||i&&i[Q]){var b,p=n.options,g="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||E||z?(b=document.createEvent("Event")).initEvent(e,!0,!0):b=new CustomEvent(e,{bubbles:!0,cancelable:!0}),b.to=s||i,b.from=a||i,b.item=r||i,b.clone=o,b.oldIndex=u,b.newIndex=l,b.oldDraggableIndex=c,b.newDraggableIndex=h,b.originalEvent=f,b.pullMode=d?d.lastPutMode:void 0;var w=v(v({},m),it.getEventProperties(e,n));for(var y in w)b[y]=w[y];i&&i.dispatchEvent(b),p[g]&&p[g].call(n,b)}}var rt=["evt"],ot=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=i.evt,r=g(i,rt);it.pluginEvent.bind(Zt)(t,n,v({dragEl:at,parentEl:ut,ghostEl:lt,rootEl:ct,nextEl:ht,lastDownEl:ft,cloneEl:dt,cloneHidden:vt,dragStarted:kt,putSortable:yt,activeSortable:Zt.active,originalEvent:e,oldIndex:mt,oldDraggableIndex:pt,newIndex:bt,newDraggableIndex:gt,hideGhostForTarget:Xt,unhideGhostForTarget:Yt,cloneNowHidden:function(){vt=!0},cloneNowShown:function(){vt=!1},dispatchSortableEvent:function(t){st({sortable:n,name:t,originalEvent:e})}},r))};function st(t){et(v({putSortable:yt,cloneEl:dt,targetEl:at,rootEl:ct,oldIndex:mt,oldDraggableIndex:pt,newIndex:bt,newDraggableIndex:gt},t))}var at,ut,lt,ct,ht,ft,dt,vt,mt,bt,pt,gt,wt,yt,Et,zt,xt,It,St,Ot,kt,Mt,Tt,Ct,_t,Dt=!1,At=!1,jt=[],Nt=!1,Wt=!1,Ft=[],Pt=!1,Gt=[],Ht="undefined"!=typeof document,Lt=S,Ut=z||E?"cssFloat":"float",Bt=Ht&&!O&&!S&&"draggable"in document.createElement("div"),Kt=function(){if(Ht){if(E)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),$t=function(t,n){var i=W(t),e=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),r=U(t,0,n),o=U(t,1,n),s=r&&W(r),a=o&&W(o),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+H(r).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+H(o).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":r&&s.float&&"none"!==s.float?!o||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":r&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||u>=e&&"none"===i[Ut]||o&&"none"===i[Ut]&&u+l>e)?"vertical":"horizontal"},Rt=function(t){function n(t,i){return function(e,r,o,s){if(null==t&&(i||e.options.group.name&&r.options.group.name&&e.options.group.name===r.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return n(t(e,r,o,s),i)(e,r,o,s);var a=(i?e:r).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var i={},e=t.group;e&&"object"==m(e)||(e={name:e}),i.name=e.name,i.checkPull=n(e.pull,!0),i.checkPut=n(e.put),i.revertClone=e.revertClone,t.group=i},Xt=function(){!Kt&<&&W(lt,"display","none")},Yt=function(){!Kt&<&&W(lt,"display","")};Ht&&!O&&document.addEventListener("click",(function(t){if(At)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),At=!1,!1}),!0);var Vt=function(t){if(at){var n=(r=(t=t.touches?t.touches[0]:t).clientX,o=t.clientY,jt.some((function(t){var n=t[Q].options.emptyInsertThreshold;if(n&&!B(t)){var i=H(t);return r>=i.left-n&&r<=i.right+n&&o>=i.top-n&&o<=i.bottom+n?s=t:void 0}})),s);if(n){var i={};for(var e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);i.target=i.rootEl=n,i.preventDefault=void 0,i.stopPropagation=void 0,n[Q]._onDragOver(i)}}var r,o,s},Jt=function(t){at&&at.parentNode[Q]._isOutsideThisEl(t.target)};function Zt(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=n=p({},n),t[Q]=this;var i,e,r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return $t(t,this.options)},ghostClone:function(t){return t.cloneNode(!0)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,n){t.setData("Text",n.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Zt.supportPointer&&"PointerEvent"in window&&!I,emptyInsertThreshold:5};for(var o in it.initializePlugins(this,t,r),r)!(o in n)&&(n[o]=r[o]);for(var s in Rt(n),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!n.forceFallback&&Bt,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.supportPointer?M(t,"pointerdown",this._onTapStart):(M(t,"mousedown",this._onTapStart),M(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(M(t,"dragover",this),M(t,"dragenter",this)),jt.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),p(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==W(t,"display")&&t!==Zt.ghost){e.push({target:t,rect:H(t)});var n=v({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=F(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,n){for(var i in t)if(t.hasOwnProperty(i))for(var e in n)if(n.hasOwnProperty(e)&&n[e]===t[i][e])return Number(i);return-1}(e,{target:t}),1)},animateAll:function(t){var n=this;if(!this.options.animation)return clearTimeout(i),void("function"==typeof t&&t());var r=!1,o=0;e.forEach((function(t){var i=0,e=t.target,s=e.fromRect,a=H(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=F(e,!0);h&&(a.top-=h.f,a.left-=h.e),e.toRect=a,e.thisAnimationDuration&&X(u,a)&&!X(s,a)&&(c.top-a.top)/(c.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(i=function(t,n,i,e){return Math.sqrt(Math.pow(n.top-t.top,2)+Math.pow(n.left-t.left,2))/Math.sqrt(Math.pow(n.top-i.top,2)+Math.pow(n.left-i.left,2))*e.animation}(c,u,l,n.options)),X(a,s)||(e.prevFromRect=s,e.prevToRect=a,i||(i=n.options.animation),n.animate(e,c,a,i)),i&&(r=!0,o=Math.max(o,i),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),i),e.thisAnimationDuration=i)})),clearTimeout(i),r?i=setTimeout((function(){"function"==typeof t&&t()}),o):"function"==typeof t&&t(),e=[]},animate:function(t,n,i,e){if(e){W(t,"transition",""),W(t,"transform","");var r=F(this.el),o=(n.left-i.left)/(r&&r.a||1),s=(n.top-i.top)/(r&&r.d||1);t.animatingX=!!o,t.animatingY=!!s,W(t,"transform","translate3d("+o+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),W(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),W(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){W(t,"transition",""),W(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function qt(t,n,i,e,r,o,s,a){var u,l,c=t[Q],h=c.options.onMove;return!window.CustomEvent||E||z?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=n,u.from=t,u.dragged=i,u.draggedRect=e,u.related=r||n,u.relatedRect=o||H(n),u.willInsertAfter=a,u.originalEvent=s,t.dispatchEvent(u),h&&(l=h.call(c,u,s)),l}function Qt(t){t.draggable=!1}function tn(){Pt=!1}function nn(t){for(var n=t.tagName+t.className+t.src+t.href+t.textContent,i=n.length,e=0;i--;)e+=n.charCodeAt(i);return e.toString(36)}function en(t){return setTimeout(t,0)}function rn(t){return clearTimeout(t)}Zt.prototype={constructor:Zt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Mt=null)},_getDirection:function(t,n){return"function"==typeof this.options.direction?this.options.direction.call(this,t,n,at):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,i=this.el,e=this.options,r=e.preventOnFilter,o=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,l=e.filter;if(function(t){Gt.length=0;for(var n=t.getElementsByTagName("input"),i=n.length;i--;){var e=n[i];e.checked&&Gt.push(e)}}(i),!at&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!I||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=D(a,e.draggable,i,!1))&&a.animated||ft===a)){if(mt=K(a),pt=K(a,e.draggable),"function"==typeof l){if(l.call(this,t,a,this))return st({sortable:n,rootEl:u,name:"filter",targetEl:a,toEl:i,fromEl:i}),ot("filter",n,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=D(u,e.trim(),i,!1))return st({sortable:n,rootEl:e,name:"filter",targetEl:a,fromEl:i,toEl:i}),ot("filter",n,{evt:t}),!0}))))return void(r&&t.cancelable&&t.preventDefault());e.handle&&!D(u,e.handle,i,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,n,i){var e,r=this,o=r.el,s=r.options,a=o.ownerDocument;if(i&&!at&&i.parentNode===o){var u=H(i);if(ct=o,ut=(at=i).parentNode,ht=at.nextSibling,ft=i,wt=s.group,Zt.dragged=at,St=(Et={target:at,clientX:(n||t).clientX,clientY:(n||t).clientY}).clientX-u.left,Ot=Et.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,at.style["will-change"]="all",e=function(){ot("delayEnded",r,{evt:t}),Zt.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!x&&r.nativeDraggable&&(at.draggable=!0),r._triggerDragStart(t,n),st({sortable:r,name:"choose",originalEvent:t}),N(at,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){P(at,t.trim(),Qt)})),M(a,"dragover",Vt),M(a,"mousemove",Vt),M(a,"touchmove",Vt),M(a,"mouseup",r._onDrop),M(a,"touchend",r._onDrop),M(a,"touchcancel",r._onDrop),x&&this.nativeDraggable&&(this.options.touchStartThreshold=4,at.draggable=!0),ot("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!n||this.nativeDraggable&&(z||E))e();else{if(Zt.eventCanceled)return void this._onDrop();M(a,"mouseup",r._disableDelayedDrag),M(a,"touchend",r._disableDelayedDrag),M(a,"touchcancel",r._disableDelayedDrag),M(a,"mousemove",r._delayedDragTouchMoveHandler),M(a,"touchmove",r._delayedDragTouchMoveHandler),s.supportPointer&&M(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(e,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){at&&Qt(at),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;T(t,"mouseup",this._disableDelayedDrag),T(t,"touchend",this._disableDelayedDrag),T(t,"touchcancel",this._disableDelayedDrag),T(t,"mousemove",this._delayedDragTouchMoveHandler),T(t,"touchmove",this._delayedDragTouchMoveHandler),T(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||"touch"==t.pointerType&&t,!this.nativeDraggable||n?M(document,this.options.supportPointer?"pointermove":n?"touchmove":"mousemove",this._onTouchMove):(M(at,"dragend",this),M(ct,"dragstart",this._onDragStart));try{document.selection?en((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(i){}},_dragStarted:function(t,n){if(Dt=!1,ct&&at){ot("dragStarted",this,{evt:n}),this.nativeDraggable&&M(document,"dragover",Jt);var i=this.options;!t&&N(at,i.dragClass,!1),N(at,i.ghostClass,!0),Zt.active=this,t&&this._appendGhost(),st({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(zt){this._lastX=zt.clientX,this._lastY=zt.clientY,Xt();for(var t=document.elementFromPoint(zt.clientX,zt.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(zt.clientX,zt.clientY))!==n;)n=t;if(at.parentNode[Q]._isOutsideThisEl(t),n)do{if(n[Q]&&n[Q]._onDragOver({clientX:zt.clientX,clientY:zt.clientY,target:t,rootEl:n})&&!this.options.dragoverBubble)break;t=n}while(n=n.parentNode);Yt()}},_onTouchMove:function(t){if(Et){var n=this.options,i=n.fallbackTolerance,e=n.fallbackOffset,r=t.touches?t.touches[0]:t,o=lt&&F(lt,!0),s=lt&&o&&o.a,a=lt&&o&&o.d,u=Lt&&_t&&$(_t),l=(r.clientX-Et.clientX+e.x)/(s||1)+(u?u[0]-Ft[0]:0)/(s||1),c=(r.clientY-Et.clientY+e.y)/(a||1)+(u?u[1]-Ft[1]:0)/(a||1);if(!Zt.active&&!Dt){if(i&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(lt){o?(o.e+=l-(xt||0),o.f+=c-(It||0)):o={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");W(lt,"webkitTransform",h),W(lt,"mozTransform",h),W(lt,"msTransform",h),W(lt,"transform",h),xt=l,It=c,zt=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!lt){var t=this.options.fallbackOnBody?document.body:ct,n=H(at,!0,Lt,!0,t),i=this.options;if(Lt){for(_t=t;"static"===W(_t,"position")&&"none"===W(_t,"transform")&&_t!==document;)_t=_t.parentNode;_t!==document.body&&_t!==document.documentElement?(_t===document&&(_t=G()),n.top+=_t.scrollTop,n.left+=_t.scrollLeft):_t=G(),Ft=$(_t)}N(lt=i.ghostClone(at),i.ghostClass,!1),N(lt,i.fallbackClass,!0),N(lt,i.dragClass,!0),W(lt,"transition",""),W(lt,"transform",""),W(lt,"box-sizing","border-box"),W(lt,"margin",0),W(lt,"top",n.top),W(lt,"left",n.left),W(lt,"width",n.width),W(lt,"height",n.height),W(lt,"opacity","0.8"),W(lt,"position",Lt?"absolute":"fixed"),W(lt,"zIndex","100000"),W(lt,"pointerEvents","none"),Zt.ghost=lt,t.appendChild(lt),W(lt,"transform-origin",St/parseInt(lt.style.width)*100+"% "+Ot/parseInt(lt.style.height)*100+"%")}},_onDragStart:function(t,n){var i=this,e=t.dataTransfer,r=i.options;ot("dragStart",this,{evt:t}),Zt.eventCanceled?this._onDrop():(ot("setupClone",this),Zt.eventCanceled||((dt=J(at)).removeAttribute("id"),dt.draggable=!1,dt.style["will-change"]="",this._hideClone(),N(dt,this.options.chosenClass,!1),Zt.clone=dt),i.cloneId=en((function(){ot("clone",i),Zt.eventCanceled||(i.options.removeCloneOnHide||ct.insertBefore(dt,at),i._hideClone(),st({sortable:i,name:"clone"}))})),!n&&N(at,r.dragClass,!0),n?(At=!0,i._loopId=setInterval(i._emulateDragOver,50)):(T(document,"mouseup",i._onDrop),T(document,"touchend",i._onDrop),T(document,"touchcancel",i._onDrop),e&&(e.effectAllowed="move",r.setData&&r.setData.call(i,e,at)),M(document,"drop",i),W(at,"transform","translateZ(0)")),Dt=!0,i._dragStartId=en(i._dragStarted.bind(i,n,t)),M(document,"selectstart",i),kt=!0,I&&W(document.body,"user-select","none"))},_onDragOver:function(t){var n,i,e,r,o=this.el,s=t.target,a=this.options,u=a.group,l=Zt.active,c=wt===u,h=a.sort,f=yt||l,d=this,m=!1;if(!Pt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=D(s,a.draggable,o,!0),C("dragOver"),Zt.eventCanceled)return m;if(at.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||d._ignoreWhileAnimating===s)return A(!1);if(At=!1,l&&!a.disabled&&(c?h||(e=ut!==ct):yt===this||(this.lastPutMode=wt.checkPull(this,l,at,t))&&u.checkPut(this,l,at,t))){if(r="vertical"===this._getDirection(t,s),n=H(at),C("dragOverValid"),Zt.eventCanceled)return m;if(e)return ut=ct,_(),this._hideClone(),C("revert"),Zt.eventCanceled||(ht?ct.insertBefore(at,ht):ct.appendChild(at)),A(!0);var b=B(o,a.draggable);if(!b||function(t,n,i){var e=H(B(i.el,i.options.draggable));return n?t.clientX>e.right+10||t.clientX<=e.right&&t.clientY>e.bottom&&t.clientX>=e.left:t.clientX>e.right&&t.clientY>e.top||t.clientX<=e.right&&t.clientY>e.bottom+10}(t,r,this)&&!b.animated){if(b===at)return A(!1);if(b&&o===t.target&&(s=b),s&&(i=H(s)),!1!==qt(ct,o,at,n,s,i,t,!!s))return _(),b&&b.nextSibling?o.insertBefore(at,b.nextSibling):o.appendChild(at),ut=o,j(),A(!0)}else if(b&&function(t,n,i){var e=H(U(i.el,0,i.options,!0));return n?t.clientX<e.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<e.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,r,this)){var p=U(o,0,a,!0);if(p===at)return A(!1);if(i=H(s=p),!1!==qt(ct,o,at,n,s,i,t,!1))return _(),o.insertBefore(at,p),ut=o,j(),A(!0)}else if(s.parentNode===o){i=H(s);var g,w,y,E=at.parentNode!==o,z=!function(t,n,i){var e=i?t.left:t.top,r=i?n.left:n.top;return e===r||(i?t.right:t.bottom)===(i?n.right:n.bottom)||e+(i?t.width:t.height)/2===r+(i?n.width:n.height)/2}(at.animated&&at.toRect||n,s.animated&&s.toRect||i,r),x=r?"top":"left",I=L(s,"top","top")||L(at,"top","top"),S=I?I.scrollTop:void 0;if(Mt!==s&&(w=i[x],Nt=!1,Wt=!z&&a.invertSwap||E),0!==(g=function(t,n,i,e,r,o,s,a){var u=e?t.clientY:t.clientX,l=e?i.height:i.width,c=e?i.top:i.left,h=e?i.bottom:i.right,f=!1;if(!s)if(a&&Ct<l*r){if(!Nt&&(1===Tt?u>c+l*o/2:u<h-l*o/2)&&(Nt=!0),Nt)f=!0;else if(1===Tt?u<c+Ct:u>h-Ct)return-Tt}else if(u>c+l*(1-r)/2&&u<h-l*(1-r)/2)return function(t){return K(at)<K(t)?1:-1}(n);return(f=f||s)&&(u<c+l*o/2||u>h-l*o/2)?u>c+l/2?1:-1:0}(t,s,i,r,z?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,Wt,Mt===s))){var O=K(at);do{y=ut.children[O-=g]}while(y&&("none"===W(y,"display")||y===lt))}if(0===g||y===s)return A(!1);Mt=s,Tt=g;var k=s.nextElementSibling,M=!1,T=qt(ct,o,at,n,s,i,t,M=1===g);if(!1!==T)return 1!==T&&-1!==T||(M=1===T),Pt=!0,setTimeout(tn,30),_(),M&&!k?o.appendChild(at):s.parentNode.insertBefore(at,M?k:s),I&&V(I,0,S-I.scrollTop),ut=at.parentNode,void 0===w||Wt||(Ct=Math.abs(w-H(s)[x])),j(),A(!0)}if(o.contains(at))return A(!1)}return!1}function C(a,u){ot(a,d,v({evt:t,isOwner:c,axis:r?"vertical":"horizontal",revert:e,dragRect:n,targetRect:i,canSort:h,fromSortable:f,target:s,completed:A,onMove:function(i,e){return qt(ct,o,at,n,i,H(i),t,e)},changed:j},u))}function _(){C("dragOverAnimationCapture"),d.captureAnimationState(),d!==f&&f.captureAnimationState()}function A(n){return C("dragOverCompleted",{insertion:n}),n&&(c?l._hideClone():l._showClone(d),d!==f&&(N(at,yt?yt.options.ghostClass:l.options.ghostClass,!1),N(at,a.ghostClass,!0)),yt!==d&&d!==Zt.active?yt=d:d===Zt.active&&yt&&(yt=null),f===d&&(d._ignoreWhileAnimating=s),d.animateAll((function(){C("dragOverAnimationComplete"),d._ignoreWhileAnimating=null})),d!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===at&&!at.animated||s===o&&!s.animated)&&(Mt=null),a.dragoverBubble||t.rootEl||s===document||(at.parentNode[Q]._isOutsideThisEl(t.target),!n&&Vt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function j(){bt=K(at),gt=K(at,a.draggable),st({sortable:d,name:"change",toEl:o,newIndex:bt,newDraggableIndex:gt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){T(document,"mousemove",this._onTouchMove),T(document,"touchmove",this._onTouchMove),T(document,"pointermove",this._onTouchMove),T(document,"dragover",Vt),T(document,"mousemove",Vt),T(document,"touchmove",Vt)},_offUpEvents:function(){var t=this.el.ownerDocument;T(t,"mouseup",this._onDrop),T(t,"touchend",this._onDrop),T(t,"pointerup",this._onDrop),T(t,"touchcancel",this._onDrop),T(document,"selectstart",this)},_onDrop:function(t){var n=this.el,i=this.options;bt=K(at),gt=K(at,i.draggable),ot("drop",this,{evt:t}),ut=at&&at.parentNode,bt=K(at),gt=K(at,i.draggable),Zt.eventCanceled||(Dt=!1,Wt=!1,Nt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),rn(this.cloneId),rn(this._dragStartId),this.nativeDraggable&&(T(document,"drop",this),T(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),I&&W(document.body,"user-select",""),W(at,"transform",""),t&&(kt&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),lt&<.parentNode&<.parentNode.removeChild(lt),(ct===ut||yt&&"clone"!==yt.lastPutMode)&&dt&&dt.parentNode&&dt.parentNode.removeChild(dt),at&&(this.nativeDraggable&&T(at,"dragend",this),Qt(at),at.style["will-change"]="",kt&&!Dt&&N(at,yt?yt.options.ghostClass:this.options.ghostClass,!1),N(at,this.options.chosenClass,!1),st({sortable:this,name:"unchoose",toEl:ut,newIndex:null,newDraggableIndex:null,originalEvent:t}),ct!==ut?(bt>=0&&(st({rootEl:ut,name:"add",toEl:ut,fromEl:ct,originalEvent:t}),st({sortable:this,name:"remove",toEl:ut,originalEvent:t}),st({rootEl:ut,name:"sort",toEl:ut,fromEl:ct,originalEvent:t}),st({sortable:this,name:"sort",toEl:ut,originalEvent:t})),yt&&yt.save()):bt!==mt&&bt>=0&&(st({sortable:this,name:"update",toEl:ut,originalEvent:t}),st({sortable:this,name:"sort",toEl:ut,originalEvent:t})),Zt.active&&(null!=bt&&-1!==bt||(bt=mt,gt=pt),st({sortable:this,name:"end",toEl:ut,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){ot("nulling",this),ct=at=ut=lt=ht=dt=ft=vt=Et=zt=kt=bt=gt=mt=pt=Mt=Tt=yt=wt=Zt.dragged=Zt.ghost=Zt.clone=Zt.active=null,Gt.forEach((function(t){t.checked=!0})),Gt.length=xt=It=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":at&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,n=[],i=this.el.children,e=0,r=i.length,o=this.options;e<r;e++)D(t=i[e],o.draggable,this.el,!1)&&n.push(t.getAttribute(o.dataIdAttr)||nn(t));return n},sort:function(t,n){var i={},e=this.el;this.toArray().forEach((function(t,n){var r=e.children[n];D(r,this.options.draggable,e,!1)&&(i[t]=r)}),this),n&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(e.removeChild(i[t]),e.appendChild(i[t]))})),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return D(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var i=this.options;if(void 0===n)return i[t];var e=it.modifyOption(this,t,n);i[t]=void 0!==e?e:n,"group"===t&&Rt(i)},destroy:function(){ot("destroy",this);var t=this.el;t[Q]=null,T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart),T(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),jt.splice(jt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!vt){if(ot("hideClone",this),Zt.eventCanceled)return;W(dt,"display","none"),this.options.removeCloneOnHide&&dt.parentNode&&dt.parentNode.removeChild(dt),vt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(vt){if(ot("showClone",this),Zt.eventCanceled)return;at.parentNode!=ct||this.options.group.revertClone?ht?ct.insertBefore(dt,ht):ct.appendChild(dt):ct.insertBefore(dt,at),this.options.group.revertClone&&this.animate(at,dt),W(dt,"display",""),vt=!1}}else this._hideClone()}},Ht&&M(document,"touchmove",(function(t){(Zt.active||Dt)&&t.cancelable&&t.preventDefault()})),Zt.utils={on:M,off:T,css:W,find:P,is:function(t,n){return!!D(t,n,t,!1)},extend:function(t,n){if(t&&n)for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t},throttle:Y,closest:D,toggleClass:N,clone:J,index:K,nextTick:en,cancelNextTick:rn,detectDirection:$t,getChild:U},Zt.get=function(t){return t[Q]},Zt.mount=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];n[0].constructor===Array&&(n=n[0]),n.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Zt.utils=v(v({},Zt.utils),t.utils)),it.mount(t)}))},Zt.create=function(t,n){return new Zt(t,n)},Zt.version="1.15.0";var on,sn,an,un,ln,cn,hn=[],fn=!1;function dn(){hn.forEach((function(t){clearInterval(t.pid)})),hn=[]}function vn(){clearInterval(cn)}var mn,bn=Y((function(t,n,i,e){if(n.scroll){var r,o=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=n.scrollSensitivity,u=n.scrollSpeed,l=G(),c=!1;sn!==i&&(sn=i,dn(),r=n.scrollFn,!0===(on=n.scroll)&&(on=R(i,!0)));var h=0,f=on;do{var d=f,v=H(d),m=v.top,b=v.bottom,p=v.left,g=v.right,w=v.width,y=v.height,E=void 0,z=void 0,x=d.scrollWidth,I=d.scrollHeight,S=W(d),O=d.scrollLeft,k=d.scrollTop;d===l?(E=w<x&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),z=y<I&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(E=w<x&&("auto"===S.overflowX||"scroll"===S.overflowX),z=y<I&&("auto"===S.overflowY||"scroll"===S.overflowY));var M=E&&(Math.abs(g-o)<=a&&O+w<x)-(Math.abs(p-o)<=a&&!!O),T=z&&(Math.abs(b-s)<=a&&k+y<I)-(Math.abs(m-s)<=a&&!!k);if(!hn[h])for(var C=0;C<=h;C++)hn[C]||(hn[C]={});hn[h].vx==M&&hn[h].vy==T&&hn[h].el===d||(hn[h].el=d,hn[h].vx=M,hn[h].vy=T,clearInterval(hn[h].pid),0==M&&0==T||(c=!0,hn[h].pid=setInterval(function(){e&&0===this.layer&&Zt.active._onTouchMove(ln);var n=hn[this.layer].vy?hn[this.layer].vy*u:0,i=hn[this.layer].vx?hn[this.layer].vx*u:0;"function"==typeof r&&"continue"!==r.call(Zt.dragged.parentNode[Q],i,n,t,ln,hn[this.layer].el)||V(hn[this.layer].el,i,n)}.bind({layer:h}),24))),h++}while(n.bubbleScroll&&f!==l&&(f=R(f,!1)));fn=c}}),30),pn=function(t){var n=t.originalEvent,i=t.putSortable,e=t.dragEl,r=t.dispatchSortableEvent,o=t.unhideGhostForTarget;if(n){var s=i||t.activeSortable;(0,t.hideGhostForTarget)();var a=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,u=document.elementFromPoint(a.clientX,a.clientY);o(),s&&!s.el.contains(u)&&(r("spill"),this.onSpill({dragEl:e,putSortable:i}))}};function gn(){}function wn(){}gn.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var e=U(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(n,e):this.sortable.el.appendChild(n),this.sortable.animateAll(),i&&i.animateAll()},drop:pn},p(gn,{pluginName:"revertOnSpill"}),wn.prototype={onSpill:function(t){var n=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:pn},p(wn,{pluginName:"removeOnSpill"});var yn,En,zn,xn,In,Sn=[],On=[],kn=!1,Mn=!1,Tn=!1;function Cn(t,n){On.forEach((function(i,e){var r=n.children[i.sortableIndex+(t?Number(e):0)];r?n.insertBefore(i,r):n.appendChild(i)}))}function _n(){Sn.forEach((function(t){t!==zn&&t.parentNode&&t.parentNode.removeChild(t)}))}Zt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?M(document,"dragover",this._handleAutoScroll):M(document,this.options.supportPointer?"pointermove":n.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;this.options.dragOverBubble||n.rootEl||this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):(T(document,"pointermove",this._handleFallbackAutoScroll),T(document,"touchmove",this._handleFallbackAutoScroll),T(document,"mousemove",this._handleFallbackAutoScroll)),vn(),dn(),clearTimeout(A),A=void 0},nulling:function(){ln=sn=on=fn=cn=an=un=null,hn.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var i=this,e=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(e,r);if(ln=t,n||this.options.forceAutoScrollFallback||z||E||I){bn(t,this.options,o,n);var s=R(o,!0);!fn||cn&&e===an&&r===un||(cn&&vn(),cn=setInterval((function(){var o=R(document.elementFromPoint(e,r),!0);o!==s&&(s=o,dn()),bn(t,i.options,o,n)}),10),an=e,un=r)}else{if(!this.options.bubbleScroll||R(o,!0)===G())return void dn();bn(t,this.options,R(o,!1),!1)}}},p(t,{pluginName:"scroll",initializeByDefault:!0})}),Zt.mount(wn,gn),Zt.mount(new function(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){mn=t.dragEl},dragOverValid:function(t){var n=t.completed,i=t.target,e=t.changed,r=t.cancel;if(t.activeSortable.options.swap){var o=this.options;if(i&&i!==this.sortable.el){var s=mn;!1!==(0,t.onMove)(i)?(N(i,o.swapClass,!0),mn=i):mn=null,s&&s!==mn&&N(s,o.swapClass,!1)}e(),n(!0),r()}},drop:function(t){var n,i,e,r,o,s,a=t.activeSortable,u=t.putSortable,l=t.dragEl,c=u||this.sortable,h=this.options;mn&&N(mn,h.swapClass,!1),mn&&(h.swap||u&&u.options.swap)&&l!==mn&&(c.captureAnimationState(),c!==a&&a.captureAnimationState(),s=(i=mn).parentNode,(o=(n=l).parentNode)&&s&&!o.isEqualNode(i)&&!s.isEqualNode(n)&&(e=K(n),r=K(i),o.isEqualNode(s)&&e<r&&r++,o.insertBefore(i,o.children[e]),s.insertBefore(n,s.children[r])),c.animateAll(),c!==a&&a.animateAll())},nulling:function(){mn=null}},p(t,{pluginName:"swap",eventProperties:function(){return{swapItem:mn}}})}),Zt.mount(new function(){function t(t){for(var n in this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));t.options.avoidImplicitDeselect||(t.options.supportPointer?M(document,"pointerup",this._deselectMultiDrag):(M(document,"mouseup",this._deselectMultiDrag),M(document,"touchend",this._deselectMultiDrag))),M(document,"keydown",this._checkKeyDown),M(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(n,i){var e="";Sn.length&&En===t?Sn.forEach((function(t,n){e+=(n?", ":"")+t.textContent})):e=i.textContent,n.setData("Text",e)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){zn=t.dragEl},delayEnded:function(){this.isMultiDrag=~Sn.indexOf(zn)},setupClone:function(t){var n=t.sortable,i=t.cancel;if(this.isMultiDrag){for(var e=0;e<Sn.length;e++)On.push(J(Sn[e])),On[e].sortableIndex=Sn[e].sortableIndex,On[e].draggable=!1,On[e].style["will-change"]="",N(On[e],this.options.selectedClass,!1),Sn[e]===zn&&N(On[e],this.options.chosenClass,!1);n._hideClone(),i()}},clone:function(t){var n=t.dispatchSortableEvent,i=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Sn.length&&En===t.sortable&&(Cn(!0,t.rootEl),n("clone"),i()))},showClone:function(t){var n=t.cloneNowShown,i=t.cancel;this.isMultiDrag&&(Cn(!1,t.rootEl),On.forEach((function(t){W(t,"display","")})),n(),In=!1,i())},hideClone:function(t){var n=this,i=t.cloneNowHidden,e=t.cancel;this.isMultiDrag&&(On.forEach((function(t){W(t,"display","none"),n.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),i(),In=!0,e())},dragStartGlobal:function(){!this.isMultiDrag&&En&&En.multiDrag._deselectMultiDrag(),Sn.forEach((function(t){t.sortableIndex=K(t)})),Sn=Sn.sort((function(t,n){return t.sortableIndex-n.sortableIndex})),Tn=!0},dragStarted:function(t){var n=this,i=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){Sn.forEach((function(t){t!==zn&&W(t,"position","absolute")}));var e=H(zn,!1,!0,!0);Sn.forEach((function(t){t!==zn&&Z(t,e)})),Mn=!0,kn=!0}i.animateAll((function(){Mn=!1,kn=!1,n.options.animation&&Sn.forEach((function(t){q(t)})),n.options.sort&&_n()}))}},dragOver:function(t){var n=t.completed,i=t.cancel;Mn&&~Sn.indexOf(t.target)&&(n(!1),i())},revert:function(t){var n=t.fromSortable,i=t.rootEl,e=t.sortable,r=t.dragRect;Sn.length>1&&(Sn.forEach((function(t){e.addAnimationState({target:t,rect:Mn?H(t):r}),q(t),t.fromRect=r,n.removeAnimationState(t)})),Mn=!1,function(t,n){Sn.forEach((function(i,e){var r=n.children[i.sortableIndex+(t?Number(e):0)];r?n.insertBefore(i,r):n.appendChild(i)}))}(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(t){var n=t.sortable,i=t.isOwner,e=t.activeSortable,r=t.parentEl,o=t.putSortable,s=this.options;if(t.insertion){if(i&&e._hideClone(),kn=!1,s.animation&&Sn.length>1&&(Mn||!i&&!e.options.sort&&!o)){var a=H(zn,!1,!0,!0);Sn.forEach((function(t){t!==zn&&(Z(t,a),r.appendChild(t))})),Mn=!0}if(!i)if(Mn||_n(),Sn.length>1){var u=In;e._showClone(n),e.options.animation&&!In&&u&&On.forEach((function(t){e.addAnimationState({target:t,rect:xn}),t.fromRect=xn,t.thisAnimationDuration=null}))}else e._showClone(n)}},dragOverAnimationCapture:function(t){var n=t.dragRect,i=t.isOwner,e=t.activeSortable;if(Sn.forEach((function(t){t.thisAnimationDuration=null})),e.options.animation&&!i&&e.multiDrag.isMultiDrag){xn=p({},n);var r=F(zn,!0);xn.top-=r.f,xn.left-=r.e}},dragOverAnimationComplete:function(){Mn&&(Mn=!1,_n())},drop:function(t){var n=t.originalEvent,i=t.rootEl,e=t.parentEl,r=t.sortable,o=t.dispatchSortableEvent,s=t.oldIndex,a=t.putSortable,u=a||this.sortable;if(n){var l=this.options,c=e.children;if(!Tn)if(l.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),N(zn,l.selectedClass,!~Sn.indexOf(zn)),~Sn.indexOf(zn))Sn.splice(Sn.indexOf(zn),1),yn=null,et({sortable:r,rootEl:i,name:"deselect",targetEl:zn,originalEvent:n});else{if(Sn.push(zn),et({sortable:r,rootEl:i,name:"select",targetEl:zn,originalEvent:n}),n.shiftKey&&yn&&r.el.contains(yn)){var h,f,d=K(yn),v=K(zn);if(~d&&~v&&d!==v)for(v>d?(f=d,h=v):(f=v,h=d+1);f<h;f++)~Sn.indexOf(c[f])||(N(c[f],l.selectedClass,!0),Sn.push(c[f]),et({sortable:r,rootEl:i,name:"select",targetEl:c[f],originalEvent:n}))}else yn=zn;En=u}if(Tn&&this.isMultiDrag){if(Mn=!1,(e[Q].options.sort||e!==i)&&Sn.length>1){var m=H(zn),b=K(zn,":not(."+this.options.selectedClass+")");if(!kn&&l.animation&&(zn.thisAnimationDuration=null),u.captureAnimationState(),!kn&&(l.animation&&(zn.fromRect=m,Sn.forEach((function(t){if(t.thisAnimationDuration=null,t!==zn){var n=Mn?H(t):m;t.fromRect=n,u.addAnimationState({target:t,rect:n})}}))),_n(),Sn.forEach((function(t){c[b]?e.insertBefore(t,c[b]):e.appendChild(t),b++})),s===K(zn))){var p=!1;Sn.forEach((function(t){t.sortableIndex===K(t)||(p=!0)})),p&&o("update")}Sn.forEach((function(t){q(t)})),u.animateAll()}En=u}(i===e||a&&"clone"!==a.lastPutMode)&&On.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Tn=!1,On.length=0},destroyGlobal:function(){this._deselectMultiDrag(),T(document,"pointerup",this._deselectMultiDrag),T(document,"mouseup",this._deselectMultiDrag),T(document,"touchend",this._deselectMultiDrag),T(document,"keydown",this._checkKeyDown),T(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==Tn&&Tn||En!==this.sortable||t&&D(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;Sn.length;){var n=Sn[0];N(n,this.options.selectedClass,!1),Sn.shift(),et({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:n,originalEvent:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},p(t,{pluginName:"multiDrag",utils:{select:function(t){var n=t.parentNode[Q];n&&n.options.multiDrag&&!~Sn.indexOf(t)&&(En&&En!==n&&(En.multiDrag._deselectMultiDrag(),En=n),N(t,n.options.selectedClass,!0),Sn.push(t))},deselect:function(t){var n=t.parentNode[Q],i=Sn.indexOf(t);n&&n.options.multiDrag&&~i&&(N(t,n.options.selectedClass,!1),Sn.splice(i,1))}},eventProperties:function(){var t,n=this,i=[],e=[];return Sn.forEach((function(t){var r;i.push({multiDragElement:t,index:t.sortableIndex}),r=Mn&&t!==zn?-1:Mn?K(t,":not(."+n.options.selectedClass+")"):K(t),e.push({multiDragElement:t,index:r})})),{items:(t=Sn,function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return w(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?w(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),clones:[].concat(On),oldIndicies:i,newIndicies:e}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})});let Dn=0;const An=class{constructor(i){t(this,i),this.stzhUpdate=n(this,"stzhUpdate",7),this.stzhDisable=n(this,"stzhDisable",7),this.disabled=!1,this.dataIdAttribute="data-id",this.container=()=>{var t;return null===(t=this.containerElement)||void 0===t?void 0:t.firstElementChild},this.ghostClone=t=>{const[n]=o(t);return n},this.filterElements=["[data-stzh-sortable-filtered]","[sortable-disabled]","button","a[href]","input","select","textarea","label","iframe","details","area","stzh-sortable"],this.selectedItem=null,this.resetItemOnBlur=!1,this.init=()=>{this.getContainer()&&Array.from(this.getContainer().children).forEach((t=>{t.classList.add("is-sortable-item"),t.addEventListener("blur",this.onBlur),t.addEventListener("keydown",this.onKeydown),t.setAttribute("tabindex","0"),t.setAttribute("aria-describedby",`${this.sortableId}-description`)}))},this.updated=async t=>{let n,i,e;t?(n=t.newIndex,i=t.oldIndex,e=t.item):(n=this.getIndexOfSelectedItem(),i=this.lastIndex,e=this.selectedItem),n!==i&&this.stzhUpdate.emit({component:"stzh-sortable",data:await this.toArray(),item:e,newIndex:n,oldIndex:i})},this.onKeydown=t=>{const n=t.currentTarget,i=t.target;if(!this.getContainer()||this.disabled)return;const e=i.matches(this._filterElements.join(", "));" "!==t.key||e?"Tab"===t.key&&this.selectedItem&&this.selectedItem===t.currentTarget?t.preventDefault():"Escape"===t.key&&this.selectedItem?(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.canceled),this.resetActiveItem(!0)):"ArrowUp"===t.key?this.selectedItem?this.moveItem(this.selectedItem,"up"):this.focusItem(n.previousElementSibling):"ArrowDown"===t.key&&(this.selectedItem?this.moveItem(this.selectedItem,"down"):this.focusItem(n.nextElementSibling)):(t.preventDefault(),this.selectedItem?(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.dropped),this.updated(),this.resetActiveItem()):(this.selectedItem=n,this.selectedItem.parentElement.classList.add("has-item-selected"),this.selectedItem.classList.add("is-selected"),this.lastIndex=this.getIndexOfSelectedItem(),this.resetItemOnBlur=!0,this.updateAriaLive(this.localization.started)))},this.onBlur=()=>{this.resetItemOnBlur&&(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.dropped),this.updated(),this.resetActiveItem())}}async toArray(){return this.sortable.toArray()}async sort(t,n=!0){return this.sortable.sort(t,n)}async moveItem(t,n){var i;if(!t||!t.nextElementSibling&&"down"===n||!t.previousElementSibling&&"up"===n)return;this.resetItemOnBlur=!1,"up"===n?t.previousElementSibling.before(t):"down"===n&&t.nextElementSibling.after(t),this.updateAriaLive(this.localization.moved,t),this.focusItem(t);const e=Array.from(null===(i=t.parentElement)||void 0===i?void 0:i.children).indexOf(t);this.stzhUpdate.emit({component:"stzh-sortable",data:await this.toArray(),item:t,newIndex:e,oldIndex:e+("up"===n?1:-1)}),this.resetItemOnBlur=!0}disabledWatcher(){this.stzhDisable.emit({component:"stzh-sortable",disabled:this.disabled})}filterElementsWatcher(t){this._filterElements="string"==typeof t?JSON.parse(t):t}getContainer(){return"function"==typeof this.container?this.container():this.container}updateAriaLive(t,n=this.selectedItem){if(!this.getContainer())return;if(n){const i=n.getAttribute("aria-label")||"",e=this.getIndexOfSelectedItem(n);t=t.replace("{title}",i).replace("{current}",(e+1).toString())}const i=this.getContainer().children.length;t=t.replace("{total}",i.toString()),this.ariaLiveElement.textContent=t}getIndexOfSelectedItem(t=this.selectedItem){if(t)return Array.from(t.parentElement.children).indexOf(t)}resetActiveItem(t=!1){if(!this.selectedItem)return;const n=this.getIndexOfSelectedItem(),i=this.selectedItem.parentElement;t&&this.lastIndex!==n&&(this.lastIndex>n?i.children[this.lastIndex].after(this.selectedItem):i.children[this.lastIndex].before(this.selectedItem),this.selectedItem.focus()),i.classList.remove("has-item-selected"),this.selectedItem.classList.remove("is-selected"),this.selectedItem=null,this.lastIndex=null}focusItem(t){if(!t)return;t.focus();const n=document.querySelector("stzh-flyingfocus");n&&n.reposition(),function(t,n){var i=t.isConnected||t.ownerDocument.documentElement.contains(t);if(f(n)&&"function"==typeof n.behavior)return n.behavior(i?h(t,n):[]);if(i){var e=function(t){return!1===t?{block:"end",inline:"nearest"}:f(t)?t:{block:"start",inline:"nearest"}}(n);(function(t,n){void 0===n&&(n="auto");var i="scrollBehavior"in document.body.style;t.forEach((function(t){var e=t.el,r=t.top,o=t.left;e.scroll&&i?e.scroll({top:r,left:o,behavior:n}):(e.scrollTop=r,e.scrollLeft=o)}))})(h(t,e),e.behavior)}}(t,{scrollMode:"if-needed",block:"nearest",inline:"nearest"})}async componentWillLoad(){this.sortableId="stzh-sortable-"+Dn++,this.filterElementsWatcher(this.filterElements),this.localization||(this.localization=await s(this.element,"sortable"))}componentWillUpdate(){this.sortable&&(this.sortable.destroy(),this.sortable=null)}componentDidRender(){this.sortable||(this.sortable=new Zt(this.getContainer(),{animation:150,filter:this._filterElements.join(", "),ghostClass:"is-ghost",chosenClass:"is-chosen",dragClass:"is-drag",dataIdAttr:this.dataIdAttribute,preventOnFilter:!1,forceFallback:!0,delay:200,delayOnTouchOnly:!0,disabled:this.disabled,ghostClone:this.ghostClone,onUpdate:this.updated}))}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect(),this.sortable&&(this.sortable.destroy(),this.sortable=null)}render(){return i(e,null,i("div",{class:{"stzh-sortable":!0}},i("div",{id:`${this.sortableId}-description`,class:"stzh-sortable__description"},this.localization.description),i("div",{ref:t=>this.ariaLiveElement=t,"aria-live":"assertive",class:"stzh-sortable__aria-live"}),i("div",{ref:t=>this.containerElement=t,class:"stzh-sortable__container"},i("slot",null))))}get element(){return r(this)}static get watchers(){return{disabled:["disabledWatcher"],filterElements:["filterElementsWatcher"]}}};An.style='.sc-stzh-sortable-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-sortable-h{display:none}.sc-stzh-sortable-h *.sc-stzh-sortable,.sc-stzh-sortable-h *.sc-stzh-sortable::before,.sc-stzh-sortable-h *.sc-stzh-sortable::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-sortable-h{--unselected-item-opacity:0.6;--ghost-item-background:var(--stzh-color-grey5);--ghost-item-box-shadow:inset 0 0 0.5rem rgba(0, 0, 0, 0.32)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item{position:relative;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;cursor:-webkit-grab;cursor:grab}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-chosen,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-selected{cursor:move;cursor:-webkit-grabbing;cursor:grabbing}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag{opacity:1 !important}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost{z-index:0}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost::after{z-index:99;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--ghost-item-background);-webkit-box-shadow:var(--ghost-item-box-shadow);box-shadow:var(--ghost-item-box-shadow)}.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item{opacity:var(--unselected-item-opacity)}.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item.is-selected{opacity:1}.stzh-sortable__description.sc-stzh-sortable,.stzh-sortable__aria-live.sc-stzh-sortable{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}';export{An as stzh_sortable}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as e,a}from"./p-65282c9d.js";const c=class{constructor(e){s(this,e),this.curve="none",this.size="inherit",this.sizeSmall="inherit",this.sizeMedium="inherit",this.sizeLarge="inherit",this.sizeUltra="inherit",this.justify="start",this.around=!1,this.border="none"}render(){return e(a,null,e("div",{class:{"stzh-vspace":!0,[`stzh-vspace--justify-${this.justify}`]:!!this.justify,[`stzh-vspace--border-${this.border}`]:!!this.border}},e("slot",null)))}};c.style=".sc-stzh-vspace-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-vspace-h{display:none}.sc-stzh-vspace-h *.sc-stzh-vspace,.sc-stzh-vspace-h *.sc-stzh-vspace::before,.sc-stzh-vspace-h *.sc-stzh-vspace::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-vspace-h{--space:var(--stzh-space-default);--around:0}.sc-stzh-vspace-h .sc-stzh-vspace-s>*{max-width:100%;padding-top:calc(var(--space) * var(--around));padding-bottom:calc(var(--space) * var(--around));margin:0}.sc-stzh-vspace-h .sc-stzh-vspace-s>*:not(:last-child){margin-bottom:calc(var(--space) * (1 - var(--around)))}.sc-stzh-vspace-h .sc-stzh-vspace-s>stzh-vspace,.sc-stzh-vspace-h .sc-stzh-vspace-s>stzh-hspace,.sc-stzh-vspace-h .sc-stzh-vspace-s>stzh-row,.sc-stzh-vspace-h .sc-stzh-vspace-s>stzh-container,.sc-stzh-vspace-h .sc-stzh-vspace-s>stzh-section{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-positive:1;flex-grow:1}[around].sc-stzh-vspace-h{--around:1}[curve=tiny].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){[curve=tiny].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1024px){[curve=tiny].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){[curve=tiny].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}[curve=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}@media screen and (min-width: 1024px){[curve=small].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}[curve=regular].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}@media screen and (min-width: 1024px){[curve=regular].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){[curve=regular].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}[curve=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}@media screen and (min-width: 600px){[curve=medium].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1024px){[curve=medium].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){[curve=medium].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}[curve=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}@media screen and (min-width: 600px){[curve=large].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){[curve=large].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){[curve=large].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}[curve=big].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){[curve=big].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){[curve=big].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}[curve=huge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){[curve=huge].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){[curve=huge].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){[curve=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}[size=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}[size=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}[size=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}[size=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}[size=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}[size=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}[size=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}[size=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}[size=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}[size=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}[size=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}[size=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}[size=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}[size=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}[size=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}[size=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}@media screen and (min-width: 600px){[size-small=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 600px){[size-small=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 600px){[size-small=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 600px){[size-small=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 600px){[size-small=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 600px){[size-small=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 600px){[size-small=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){[size-small=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 600px){[size-small=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){[size-small=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){[size-small=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 600px){[size-small=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){[size-small=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 600px){[size-small=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 600px){[size-small=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 600px){[size-small=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 800px){[size-smallheader=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 800px){[size-smallheader=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 800px){[size-smallheader=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 800px){[size-smallheader=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 800px){[size-smallheader=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 800px){[size-smallheader=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 800px){[size-smallheader=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){[size-smallheader=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px){[size-smallheader=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 800px){[size-smallheader=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 800px){[size-smallheader=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 800px){[size-smallheader=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 800px){[size-smallheader=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 800px){[size-smallheader=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 800px){[size-smallheader=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 800px){[size-smallheader=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 1024px){[size-medium=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1024px){[size-medium=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1024px){[size-medium=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1024px){[size-medium=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1024px){[size-medium=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){[size-medium=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1024px){[size-medium=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){[size-medium=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){[size-medium=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){[size-medium=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){[size-medium=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){[size-medium=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1024px){[size-medium=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){[size-medium=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1024px){[size-medium=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 1024px){[size-medium=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 1260px){[size-large=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){[size-large=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){[size-large=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){[size-large=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){[size-large=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){[size-large=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){[size-large=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){[size-large=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){[size-large=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){[size-large=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){[size-large=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){[size-large=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){[size-large=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 1260px){[size-large=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1260px){[size-large=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 1260px){[size-large=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 1440px){[size-ultra=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1440px){[size-ultra=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1440px){[size-ultra=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1440px){[size-ultra=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1440px){[size-ultra=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){[size-ultra=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1440px){[size-ultra=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1440px){[size-ultra=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1440px){[size-ultra=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1440px){[size-ultra=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1440px){[size-ultra=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1440px){[size-ultra=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1440px){[size-ultra=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 1440px){[size-ultra=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1440px){[size-ultra=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 1440px){[size-ultra=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}}.stzh-vspace.sc-stzh-vspace{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:start;align-items:flex-start;padding:0;margin:0}.stzh-vspace.sc-stzh-vspace:empty{height:var(--space)}.stzh-vspace--border-top.sc-stzh-vspace{border-top:0.0625rem solid var(--stzh-base-border-color)}.stzh-vspace--border-bottom.sc-stzh-vspace{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-vspace--justify-center.sc-stzh-vspace{-ms-flex-pack:center;justify-content:center}.stzh-vspace--justify-end.sc-stzh-vspace{-ms-flex-pack:end;justify-content:flex-end}.stzh-vspace--justify-between.sc-stzh-vspace{-ms-flex-pack:justify;justify-content:space-between}.stzh-vspace--justify-around.sc-stzh-vspace{-ms-flex-pack:distribute;justify-content:space-around}.stzh-vspace--justify-evenly.sc-stzh-vspace{-ms-flex-pack:space-evenly;justify-content:space-evenly}";export{c as stzh_vspace}
|
|
1
|
+
import{r as s,h as e,a}from"./p-93e8e31f.js";const c=class{constructor(e){s(this,e),this.curve="none",this.size="inherit",this.sizeSmall="inherit",this.sizeMedium="inherit",this.sizeLarge="inherit",this.sizeUltra="inherit",this.justify="start",this.around=!1,this.border="none"}render(){return e(a,null,e("div",{class:{"stzh-vspace":!0,[`stzh-vspace--justify-${this.justify}`]:!!this.justify,[`stzh-vspace--border-${this.border}`]:!!this.border}},e("slot",null)))}};c.style=".sc-stzh-vspace-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-vspace-h{display:none}.sc-stzh-vspace-h *.sc-stzh-vspace,.sc-stzh-vspace-h *.sc-stzh-vspace::before,.sc-stzh-vspace-h *.sc-stzh-vspace::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-vspace-h{--space:var(--stzh-space-default);--around:0}.sc-stzh-vspace-h .sc-stzh-vspace-s>*{max-width:100%;padding-top:calc(var(--space) * var(--around));padding-bottom:calc(var(--space) * var(--around));margin:0}.sc-stzh-vspace-h .sc-stzh-vspace-s>*:not(:last-child){margin-bottom:calc(var(--space) * (1 - var(--around)))}.sc-stzh-vspace-h .sc-stzh-vspace-s>stzh-vspace,.sc-stzh-vspace-h .sc-stzh-vspace-s>stzh-hspace,.sc-stzh-vspace-h .sc-stzh-vspace-s>stzh-row,.sc-stzh-vspace-h .sc-stzh-vspace-s>stzh-container,.sc-stzh-vspace-h .sc-stzh-vspace-s>stzh-section{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-positive:1;flex-grow:1}[around].sc-stzh-vspace-h{--around:1}[curve=tiny].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){[curve=tiny].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1024px){[curve=tiny].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){[curve=tiny].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}[curve=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}@media screen and (min-width: 1024px){[curve=small].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}[curve=regular].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}@media screen and (min-width: 1024px){[curve=regular].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){[curve=regular].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}[curve=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}@media screen and (min-width: 600px){[curve=medium].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1024px){[curve=medium].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){[curve=medium].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}[curve=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}@media screen and (min-width: 600px){[curve=large].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){[curve=large].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){[curve=large].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}[curve=big].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){[curve=big].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){[curve=big].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}[curve=huge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){[curve=huge].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){[curve=huge].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){[curve=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}[size=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}[size=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}[size=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}[size=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}[size=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}[size=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}[size=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}[size=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}[size=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}[size=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}[size=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}[size=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}[size=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}[size=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}[size=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}[size=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}@media screen and (min-width: 600px){[size-small=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 600px){[size-small=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 600px){[size-small=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 600px){[size-small=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 600px){[size-small=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 600px){[size-small=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 600px){[size-small=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){[size-small=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 600px){[size-small=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){[size-small=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){[size-small=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 600px){[size-small=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){[size-small=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 600px){[size-small=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 600px){[size-small=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 600px){[size-small=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 800px){[size-smallheader=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 800px){[size-smallheader=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 800px){[size-smallheader=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 800px){[size-smallheader=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 800px){[size-smallheader=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 800px){[size-smallheader=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 800px){[size-smallheader=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){[size-smallheader=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px){[size-smallheader=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 800px){[size-smallheader=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 800px){[size-smallheader=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 800px){[size-smallheader=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 800px){[size-smallheader=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 800px){[size-smallheader=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 800px){[size-smallheader=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 800px){[size-smallheader=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 1024px){[size-medium=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1024px){[size-medium=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1024px){[size-medium=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1024px){[size-medium=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1024px){[size-medium=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){[size-medium=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1024px){[size-medium=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){[size-medium=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){[size-medium=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){[size-medium=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){[size-medium=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){[size-medium=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1024px){[size-medium=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){[size-medium=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1024px){[size-medium=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 1024px){[size-medium=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 1260px){[size-large=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){[size-large=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){[size-large=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){[size-large=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){[size-large=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){[size-large=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){[size-large=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){[size-large=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){[size-large=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){[size-large=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){[size-large=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){[size-large=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){[size-large=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 1260px){[size-large=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1260px){[size-large=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 1260px){[size-large=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 1440px){[size-ultra=xxxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1440px){[size-ultra=xxsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1440px){[size-ultra=xsmall].sc-stzh-vspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1440px){[size-ultra=small].sc-stzh-vspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1440px){[size-ultra=medium].sc-stzh-vspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){[size-ultra=large].sc-stzh-vspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1440px){[size-ultra=xlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1440px){[size-ultra=xxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1440px){[size-ultra=xxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1440px){[size-ultra=xxxxlarge].sc-stzh-vspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1440px){[size-ultra=big].sc-stzh-vspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1440px){[size-ultra=xbig].sc-stzh-vspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1440px){[size-ultra=huge].sc-stzh-vspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 1440px){[size-ultra=xhuge].sc-stzh-vspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1440px){[size-ultra=none].sc-stzh-vspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 1440px){[size-ultra=default].sc-stzh-vspace-h{--space:var(--stzh-space-default)}}.stzh-vspace.sc-stzh-vspace{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:start;align-items:flex-start;padding:0;margin:0}.stzh-vspace.sc-stzh-vspace:empty{height:var(--space)}.stzh-vspace--border-top.sc-stzh-vspace{border-top:0.0625rem solid var(--stzh-base-border-color)}.stzh-vspace--border-bottom.sc-stzh-vspace{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-vspace--justify-center.sc-stzh-vspace{-ms-flex-pack:center;justify-content:center}.stzh-vspace--justify-end.sc-stzh-vspace{-ms-flex-pack:end;justify-content:flex-end}.stzh-vspace--justify-between.sc-stzh-vspace{-ms-flex-pack:justify;justify-content:space-between}.stzh-vspace--justify-around.sc-stzh-vspace{-ms-flex-pack:distribute;justify-content:space-around}.stzh-vspace--justify-evenly.sc-stzh-vspace{-ms-flex-pack:space-evenly;justify-content:space-evenly}";export{c as stzh_vspace}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const t="stzh-components";let e,n,s,l=!1,o=!1,i=!1,r=!1,c=!1;const f="undefined"!=typeof window?window:{},u=f.document||{head:{}},a=f.HTMLElement||class{},d={t:0,l:"",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)},h=(()=>(u.head.attachShadow+"").indexOf("[native")>-1)(),p=t=>Promise.resolve(t),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),b=(t,e,n)=>{n&&n.map((([n,s,l])=>{const o=y(t,n),i=$(e,l),r=w(n);d.ael(o,s,i,r),(e.o=e.o||[]).push((()=>d.rel(o,s,i,r)))}))},$=(t,e)=>n=>{try{256&t.t?t.i[e](n):(t.u=t.u||[]).push([e,n])}catch(s){Ot(s)}},y=(t,e)=>4&e?u:8&e?f:t,w=t=>0!=(2&t),v="http://www.w3.org/1999/xlink",g=new WeakMap,j=t=>"sc-"+t.h,k={},O=t=>"object"==(t=typeof t)||"function"===t,S=(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&&!O(s))&&(s+=""),i&&r?c[c.length-1].p+=s:c.push(i?_(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,x);const u=_(t,null);return u.m=e,c.length>0&&(u.$=c),u.v=l,u.g=o,u},_=(t,e)=>({t:0,j:t,p:e,k:null,$:null,m:null,v:null,g:null}),C={},x={forEach:(t,e)=>t.map(M).forEach(e),map:(t,e)=>t.map(M).map(e).map(N)},M=t=>({vattrs:t.m,vchildren:t.$,vkey:t.v,vname:t.g,vtag:t.j,vtext:t.p}),N=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),S(t.vtag,e,...t.vchildren||[])}const e=_(t.vtag,t.vtext);return e.m=t.vattrs,e.$=t.vchildren,e.v=t.vkey,e.g=t.vname,e},R=(t,e,n,s,l,o)=>{if(n!==s){let r=kt(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=P(n),o=P(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 f=O(s);if((r||f&&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 u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(v,e):t.removeAttribute(e)):(!r||4&o||l)&&!f&&(s=!0===s?"":s,u?t.setAttributeNS(v,e,s):t.setAttribute(e,s))}else e="-"===e[2]?e.slice(3):kt(f,c)?c.slice(2):c[2]+e.slice(3),n&&d.rel(t,e,n,!1),s&&d.ael(t,e,s,!1)}},E=/\s/,P=t=>t?t.split(E):[],T=(t,e,n,s)=>{const l=11===e.k.nodeType&&e.k.host?e.k.host:e.k,o=t&&t.m||k,i=e.m||k;for(s in o)s in i||R(l,s,o[s],void 0,n,e.t);for(s in i)R(l,s,o[s],i[s],n,e.t)},W=(t,o,c,f)=>{const a=o.$[c];let d,h,p,m=0;if(l||(i=!0,"slot"===a.j&&(e&&f.classList.add(e+"-s"),a.t|=a.$?2:1)),null!==a.p)d=a.k=u.createTextNode(a.p);else if(1&a.t)d=a.k=u.createTextNode("");else{if(r||(r="svg"===a.j),d=a.k=u.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&a.t?"slot-fb":a.j),r&&"foreignObject"===a.j&&(r=!1),T(null,a,r),null!=e&&d["s-si"]!==e&&d.classList.add(d["s-si"]=e),a.$)for(m=0;m<a.$.length;++m)h=W(t,a,m,d),h&&d.appendChild(h);"svg"===a.j?r=!1:"foreignObject"===d.tagName&&(r=!0)}return d["s-hn"]=s,3&a.t&&(d["s-sr"]=!0,d["s-cr"]=n,d["s-sn"]=a.g||"",p=t&&t.$&&t.$[c],p&&p.j===a.j&&t.k&&z(t.k,!1)),d},z=(t,e)=>{d.t|=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"]&&(F(t).insertBefore(t,D(t)),t["s-ol"].remove(),t["s-ol"]=void 0,i=!0),e&&z(t,e)}d.t&=-2},L=(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=W(null,n,o,t),r&&(l[o].k=r,c.insertBefore(r,D(e))))},U=(t,e,n,s,l)=>{for(;e<=n;++e)(s=t[e])&&(l=s.k,I(s),o=!0,l["s-ol"]?l["s-ol"].remove():z(l,!0),l.remove())},A=(t,e)=>t.j===e.j&&("slot"===t.j?t.g===e.g:t.v===e.v),D=t=>t&&t["s-ol"]||t,F=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,q=(t,e)=>{const n=e.k=t.k,s=t.$,l=e.$,o=e.j,i=e.p;let c;null===i?(r="svg"===o||"foreignObject"!==o&&r,"slot"===o||T(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(A(a,p))q(a,p),a=e[++i],p=s[++r];else if(A(d,m))q(d,m),d=e[--u],m=s[--h];else if(A(a,m))"slot"!==a.j&&"slot"!==m.j||z(a.k.parentNode,!1),q(a,m),t.insertBefore(a.k,d.k.nextSibling),a=e[++i],m=s[--h];else if(A(d,p))"slot"!==a.j&&"slot"!==m.j||z(d.k.parentNode,!1),q(d,p),t.insertBefore(d.k,a.k),d=e[--u],p=s[++r];else{for(c=-1,f=i;f<=u;++f)if(e[f]&&null!==e[f].v&&e[f].v===p.v){c=f;break}c>=0?(o=e[c],o.j!==p.j?l=W(e&&e[r],n,c,t):(q(o,p),e[c]=void 0,l=o.k),p=s[++r]):(l=W(e&&e[r],n,r,t),p=s[++r]),l&&F(a.k).insertBefore(l,D(a.k))}i>u?L(t,null==s[h+1]?null:s[h+1].k,n,s,r,h):r>h&&U(e,i,u)})(n,s,e,l):null!==l?(null!==t.p&&(n.textContent=""),L(n,null,e,l,0,l.length-1)):null!==s&&U(s,0,s.length-1),r&&"svg"===o&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:t.p!==i&&(n.data=i)},H=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}H(n)}},V=[],B=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"]||(G(n,l)?(i=V.find((t=>t.O===n)),o=!0,n["s-sn"]=n["s-sn"]||l,i?i.S=e:V.push({S:e,O:n}),n["s-sr"]&&V.map((t=>{G(t.O,n["s-sn"])&&(i=V.find((t=>t.O===n)),i&&!t.S&&(t.S=i.S))}))):V.some((t=>t.O===n))||V.push({O:n}));1===e.nodeType&&B(e)}},G=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,I=t=>{t.m&&t.m.ref&&t.m.ref(null),t.$&&t.$.map(I)},J=t=>vt(t)._,K=(t,e,n)=>{const s=J(t);return{emit:t=>Q(s,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},Q=(t,e,n)=>{const s=d.ce(e,n);return t.dispatchEvent(s),s},X=(t,e)=>{e&&!t.C&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.C=e)))},Y=(t,e)=>{if(t.t|=16,!(4&t.t))return X(t,t.M),Wt((()=>Z(t,e)));t.t|=512},Z=(t,e)=>{const n=t.i;let s;return e?(t.t|=256,t.u&&(t.u.map((([t,e])=>ot(n,t,e))),t.u=null),s=ot(n,"componentWillLoad")):s=ot(n,"componentWillUpdate"),s=it(s,(()=>ot(n,"componentWillRender"))),it(s,(()=>tt(t,n,e)))},tt=async(t,e,n)=>{const s=t._,l=s["s-rc"];n&&(t=>{const e=t.N,n=t._,s=e.t,l=((t,e)=>{let n=j(e);const s=Ct.get(n);if(t=11===t.nodeType?t:u,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=u.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})(h&&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);et(t,e),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const e=s["s-p"],n=()=>nt(t);0===e.length?n():(Promise.all(e).then(n),t.t|=4,e.length=0)}},et=(t,r)=>{try{r=r.render(),t.t&=-17,t.t|=2,((t,r)=>{const c=t._,f=t.N,a=t.R||_(null,null),p=(t=>t&&t.j===C)(r)?r:S(null,null,r);if(s=c.tagName,f.P&&(p.m=p.m||{},f.P.map((([t,e])=>p.m[e]=c[t]))),p.j=null,p.t|=4,t.R=p,p.k=a.k=c.shadowRoot||c,e=c["s-sc"],n=c["s-cr"],l=h&&0!=(1&f.t),o=!1,q(a,p),d.t|=1,i){let t,e,n,s,l,o;B(p.k);let i=0;for(;i<V.length;i++)t=V[i],e=t.O,e["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=e,e.parentNode.insertBefore(e["s-ol"]=n,e));for(i=0;i<V.length;i++)if(t=V[i],e=t.O,t.S){for(s=t.S.parentNode,l=t.S.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&&H(p.k),d.t&=-2,V.length=0})(t,r)}catch(c){Ot(c,t._)}return null},nt=t=>{const e=t._,n=t.i,s=t.M;ot(n,"componentDidRender"),64&t.t?ot(n,"componentDidUpdate"):(t.t|=64,rt(e),ot(n,"componentDidLoad"),t.T(e),s||lt()),t.W(e),t.C&&(t.C(),t.C=void 0),512&t.t&&Pt((()=>Y(t,!1))),t.t&=-517},st=t=>{{const e=vt(t),n=e._.isConnected;return n&&2==(18&e.t)&&Y(e,!1),n}},lt=()=>{rt(u.documentElement),Pt((()=>Q(f,"appload",{detail:{namespace:"stzh-components"}})))},ot=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(s){Ot(s)}},it=(t,e)=>t&&t.then?t.then(e):e(),rt=t=>t.classList.add("hydrated"),ct=(t,e,n)=>{if(e.L){t.watchers&&(e.U=t.watchers);const s=Object.entries(e.L),l=t.prototype;if(s.map((([t,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(l,t,{get(){return((t,e)=>vt(this).A.get(e))(0,t)},set(n){((t,e,n,s)=>{const l=vt(t),o=l._,i=l.A.get(e),r=l.t,c=l.i;if(n=((t,e)=>null==t||O(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(n,s.L[e][0]),(!(8&r)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(l.A.set(e,n),c)){if(s.U&&128&r){const t=s.U[e];t&&t.map((t=>{try{c[t](n,i,e)}catch(s){Ot(s,o)}}))}if(2==(18&r)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,i,e))return;Y(l,!1)}}})(this,t,n,e)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(l,t,{value(...e){const n=vt(this);return n.D.then((()=>n.i[t](...e)))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(t,e,s){d.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.P.push([t,l]),l}))}}return t},ft=t=>{ot(t,"connectedCallback")},ut=t=>{const e=t.cloneNode;t.cloneNode=function(t){const n=this,s=n.shadowRoot&&h,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}},at=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const e=t["s-sn"]=pt(t),n=mt(this.childNodes,e);if(n){const s=bt(n,e),l=s[s.length-1];return l.parentNode.insertBefore(t,l.nextSibling)}return this.__appendChild(t)}},dt=(t,e)=>{if(2&e.t){const e=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(t,"__textContent",e),Object.defineProperty(t,"textContent",{get(){var t;const e=mt(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=mt(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)}}})}},ht=(t,e)=>{class n extends Array{item(t){return this[t]}}if(8&e.t){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&d.t)&&2&vt(this).t){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)}})}},pt=t=>t["s-sn"]||1===t.nodeType&&t.getAttribute("slot")||"",mt=(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=mt(n.childNodes,e),n)return n}return null},bt=(t,e)=>{const n=[t];for(;(t=t.nextSibling)&&t["s-sn"]===e;)n.push(t);return n},$t=(t,e={})=>{const n=[],s=e.exclude||[],l=f.customElements,o=u.head,i=o.querySelector("meta[charset]"),r=u.createElement("style"),c=[];let a,p=!0;Object.assign(d,e),d.l=new URL(e.resourcesUrl||"./",u.baseURI).href,t.map((t=>{t[1].map((e=>{const o={t:e[0],h:e[1],L:e[2],F:e[3]};o.L=e[2],o.F=e[3],o.P=[],o.U={},!h&&1&o.t&&(o.t|=8);const i=o.h,r=class extends HTMLElement{constructor(t){super(t),jt(t=this,o),1&o.t&&(h?t.attachShadow({mode:"open"}):"shadowRoot"in t||(t.shadowRoot=t)),ht(t,o)}connectedCallback(){a&&(clearTimeout(a),a=null),p?c.push(this):d.jmp((()=>(t=>{if(0==(1&d.t)){const e=vt(t),n=e.N,s=()=>{};if(1&e.t)b(t,e,n.F),ft(e.i);else{e.t|=1,12&n.t&&(t=>{const e=t["s-cr"]=u.createComment("");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(e,e.M=n);break}}n.L&&Object.entries(n.L).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.t)){{if(e.t|=32,(l=_t(n)).then){const t=()=>{};l=await l,t()}l.isProxied||(n.U=l.watchers,ct(l,n,2),l.isProxied=!0);const t=()=>{};e.t|=8;try{new l(e)}catch(r){Ot(r)}e.t&=-9,e.t|=128,t(),ft(e.i)}if(l.style){let t=l.style;const e=j(n);if(!Ct.has(e)){const s=()=>{};8&n.t&&(t=await __sc_import_stzh_components("./p-ef5d4167.js").then((n=>n.scopeCss(t,e,!1)))),((t,e,n)=>{let s=Ct.get(t);m&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=e:s.replaceSync(e)):s=e,Ct.set(t,s)})(e,t,!!(1&n.t)),s()}}}const o=e.M,i=()=>Y(e,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,e,n)}s()}})(this)))}disconnectedCallback(){d.jmp((()=>(()=>{if(0==(1&d.t)){const t=vt(this),e=t.i;t.o&&(t.o.map((t=>t())),t.o=void 0),ot(e,"disconnectedCallback")}})()))}componentOnReady(){return vt(this).q}};ut(r.prototype),at(r.prototype),dt(r.prototype,o),o.H=t[0],s.includes(i)||l.get(i)||(n.push(i),l.define(i,ct(r,o,1)))}))})),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),o.insertBefore(r,i?i.nextSibling:o.firstChild),p=!1,c.length?c.map((t=>t.connectedCallback())):d.jmp((()=>a=setTimeout(lt,30)))},yt=(t,e)=>e,wt=new WeakMap,vt=t=>wt.get(t),gt=(t,e)=>wt.set(e.i=t,e),jt=(t,e)=>{const n={t:0,_:t,N:e,A:new Map};return n.D=new Promise((t=>n.W=t)),n.q=new Promise((t=>n.T=t)),t["s-p"]=[],t["s-rc"]=[],b(t,n,e.F),wt.set(t,n)},kt=(t,e)=>e in t,Ot=(t,e)=>(0,console.error)(t,e),St=new Map,_t=t=>{const e=t.h.replace(/-/g,"_"),n=t.H,s=St.get(n);return s?s[e]:__sc_import_stzh_components(`./${n}.entry.js`).then((t=>(St.set(n,t),t[e])),Ot)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ct=new Map,xt=[],Mt=[],Nt=(t,e)=>n=>{t.push(n),c||(c=!0,e&&4&d.t?Pt(Et):d.raf(Et))},Rt=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(e){Ot(e)}t.length=0},Et=()=>{Rt(xt),Rt(Mt),(c=xt.length>0)&&d.raf(Et)},Pt=t=>p().then(t),Tt=Nt(xt,!1),Wt=Nt(Mt,!0);export{yt as F,a as H,t as N,C as a,$t as b,K as c,u as d,Tt as e,
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ct=new Map,xt=[],Mt=[],Nt=(t,e)=>n=>{t.push(n),c||(c=!0,e&&4&d.t?Pt(Et):d.raf(Et))},Rt=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(e){Ot(e)}t.length=0},Et=()=>{Rt(xt),Rt(Mt),(c=xt.length>0)&&d.raf(Et)},Pt=t=>p().then(t),Tt=Nt(xt,!1),Wt=Nt(Mt,!0);export{yt as F,a as H,t as N,C as a,$t as b,K as c,u as d,Tt as e,st as f,J as g,S as h,Wt as i,p,gt as r,f as w}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,a as i,g as s}from"./p-
|
|
1
|
+
import{r as t,h as e,a as i,g as s}from"./p-93e8e31f.js";const o=class{constructor(e){t(this,e),this.variant="unordered"}render(){return e(i,null,e("div",{class:{"stzh-list":!0,[`stzh-list--${this.variant}`]:!!this.variant},role:"list"},e("slot",null)))}get element(){return s(this)}};o.style='@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))}';export{o as stzh_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-bf0fdd23.system.js"],(function(t){"use strict";var i,h,s;return{setters:[function(t){i=t.r;h=t.h;s=t.a}],execute:function(){var n=".sc-stzh-section-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-section-h{display:none}.sc-stzh-section-h *.sc-stzh-section,.sc-stzh-section-h *.sc-stzh-section::before,.sc-stzh-section-h *.sc-stzh-section::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-section-h{--background-color:var(--stzh-section-background-color)}[variant=highlight].sc-stzh-section-h{--stzh-base-color:var(--stzh-color-grey61);--background-color:var(--stzh-section-highlight-background-color);--highlight-horizontal-padding:var(--stzh-section-highlight-horizontal-padding);--highlight-padding:var(--stzh-space-medium) var(--highlight-horizontal-padding)}@media screen and (min-width: 600px){[variant=highlight].sc-stzh-section-h{--highlight-padding:var(--stzh-space-medium) var(--highlight-horizontal-padding) var(--stzh-space-large)}}@media screen and (min-width: 1024px){[variant=highlight].sc-stzh-section-h{--highlight-padding:var(--stzh-space-large) var(--highlight-horizontal-padding) var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){[variant=highlight].sc-stzh-section-h{--highlight-padding:var(--stzh-space-xlarge) var(--highlight-horizontal-padding) var(--stzh-space-xxlarge)}}.stzh-section--highlight.sc-stzh-section{background-color:var(--background-color);padding:var(--highlight-padding)}";var a=t("stzh_section",function(){function t(t){i(this,t);this.variant="default"}t.prototype.render=function(){var t;return h(s,null,h("section",{class:(t={"stzh-section":true},t["stzh-section--".concat(this.variant)]=true,t)},h("slot",null)))};return t}());a.style=n}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register([],(function(t){"use strict";return{execute:function(){var e="@oiz/stzh-components";var n="2.0.0-beta";var o=e.substring(e.indexOf("/")+1);function s(){window.addEventListener("appload",(function(t){var e=document.querySelector("[autofocus]");if(e&&t.detail.namespace===o&&e.tagName.toLowerCase().indexOf("stzh-")===0&&"setFocus"in e){e.setFocus()}}))}function i(){var t={threshold:1};var e=function(t){t.forEach((function(t){var e=0;if(t.intersectionRatio<1){e=window.innerWidth-document.body.clientWidth}document.documentElement.style.setProperty("--stzh-scrollbar-width",e+"px")}))};var n=new IntersectionObserver(e,t);n.observe(document.body)}function r(){window.stzhComponents=Object.assign({version:n,labels:"fixed",cacheTranslations:true,pathTranslations:"/",formats:{}},window.stzhComponents||{});s();i()}var a=t("g",r)}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-bf0fdd23.system.js"],(function(s){"use strict";var i,t,r;return{setters:[function(s){i=s.r;t=s.h;r=s.a}],execute:function(){var o=".sc-stzh-skiplink-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-skiplink-h{display:none}.sc-stzh-skiplink-h *.sc-stzh-skiplink,.sc-stzh-skiplink-h *.sc-stzh-skiplink::before,.sc-stzh-skiplink-h *.sc-stzh-skiplink::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-skiplink-h:not([focused]){padding:0 !important;margin:0 !important}.stzh-skiplink.sc-stzh-skiplink{display:inline-block;right:0;top:0;white-space:nowrap;padding:var(--stzh-space-large) var(--stzh-space-xxlarge);border:solid 0.0625rem var(--stzh-color-grey40);border-radius:0.125rem;background:var(--stzh-color-white);color:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);text-decoration:none}.stzh-skiplink.sc-stzh-skiplink: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}.stzh-skiplink.sc-stzh-skiplink:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}";var e=s("stzh_skiplink",function(){function s(s){i(this,s);this.focused=false}s.prototype.focusinHandler=function(){this.focused=true};s.prototype.focusoutHandler=function(){this.focused=false};s.prototype.render=function(){return t(r,{focused:this.focused},t("a",{class:"stzh-skiplink",href:this.href,accessKey:this.linkAccesskey,title:this.linkTitle},t("slot",null)))};return s}());e.style=o}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-bf0fdd23.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{r as t,h as s,F as i,a as o,g as e}from"./p-
|
|
1
|
+
import{r as t,h as s,F as i,a as o,g as e}from"./p-93e8e31f.js";import{f as r}from"./p-25a09313.js";import{s as n,h as l}from"./p-1f57d28e.js";const a=class{constructor(s){t(this,s),this.variant="default",this.mainUrl="https://stadt-zuerich.ch",this.init=()=>{const t=this.element.querySelector('stzh-link[slot="social-link"]'),s=this.element.querySelectorAll('stzh-link[slot="link"]');t&&n(t,{icon:"social-media"}),s.forEach((t=>{t.setAttribute("role","listitem")}))}}async componentWillLoad(){if(void 0===this.copyright){const t=new Date;this.copyright=`© ${t.getFullYear()} Stadt Zürich`}this.localization||(this.localization=await r(this.element,"footer"))}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){const t=l(this.element,"link"),e=l(this.element,"social-link");return s(o,null,s("footer",{class:{"stzh-footer":!0,"stzh-footer--has-links":t,"stzh-footer--has-social-link":e}},s("div",{class:"stzh-footer__wrapper"},s("slot",{name:"social-link"}),s("div",{class:"stzh-footer__links"},this.copyright&&s("div",{class:"stzh-footer__copyright"},this.copyright),s("div",{class:"stzh-footer__link-list",role:"list"},s("slot",{name:"link"},"egov"===this.variant&&s(i,null,s("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:`${this.mainUrl}/${this.localization.legalNoticeUrl}`},this.localization.legalNoticeText),s("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:`${this.mainUrl}/${this.localization.imprintUrl}`},this.localization.imprintText),s("stzh-link",{class:"stzh-footer__link",slot:"link",target:"_blank",href:`${this.mainUrl}/${this.localization.accessibilityUrl}`},this.localization.accessibilityText))))))))}get element(){return e(this)}};a.style=":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}.stzh-footer{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;font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height);background-color:var(--stzh-color-white);padding:var(--stzh-space-xlarge) 0}.stzh-footer[hidden]{display:none}.stzh-footer *,.stzh-footer *::before,.stzh-footer *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-footer stzh-link[slot=link],.stzh-footer stzh-link[slot=social-link],.stzh-footer stzh-link.stzh-footer__link{--color:var(--stzh-base-color);--text-decoration:none;--icon-wrapper-height:auto;--icon-size:var(--stzh-icon-size-large)}.stzh-footer stzh-link[slot=link] .stzh-link,.stzh-footer stzh-link[slot=social-link] .stzh-link,.stzh-footer stzh-link.stzh-footer__link .stzh-link{font-size:inherit}.stzh-footer stzh-link[slot=social-link]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer stzh-link[slot=social-link]{margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer__wrapper{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 600px){.stzh-footer__wrapper{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-footer__wrapper{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-footer__wrapper{margin:0 auto;width:78.75rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 1024px){.stzh-footer__links{margin-left:auto}}.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:0;margin-left:var(--stzh-space-large)}}";export{a as stzh_footer}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as i,a as t}from"./p-
|
|
1
|
+
import{r as s,h as i,a as t}from"./p-93e8e31f.js";const r=class{constructor(i){s(this,i),this.focused=!1}focusinHandler(){this.focused=!0}focusoutHandler(){this.focused=!1}render(){return i(t,{focused:this.focused},i("a",{class:"stzh-skiplink",href:this.href,accessKey:this.linkAccesskey,title:this.linkTitle},i("slot",null)))}};r.style=".sc-stzh-skiplink-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-skiplink-h{display:none}.sc-stzh-skiplink-h *.sc-stzh-skiplink,.sc-stzh-skiplink-h *.sc-stzh-skiplink::before,.sc-stzh-skiplink-h *.sc-stzh-skiplink::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-skiplink-h:not([focused]){padding:0 !important;margin:0 !important}.stzh-skiplink.sc-stzh-skiplink{display:inline-block;right:0;top:0;white-space:nowrap;padding:var(--stzh-space-large) var(--stzh-space-xxlarge);border:solid 0.0625rem var(--stzh-color-grey40);border-radius:0.125rem;background:var(--stzh-color-white);color:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);text-decoration:none}.stzh-skiplink.sc-stzh-skiplink: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}.stzh-skiplink.sc-stzh-skiplink:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}";export{r as stzh_skiplink}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as o,a as i,g as h}from"./p-93e8e31f.js";import{c as e,a,A as r,o as l,f as n,s as p,b as c}from"./p-cf6003d6.js";import{c as d}from"./p-40a19ce6.js";import{f as z}from"./p-25a09313.js";import{w as m}from"./p-df2bb358.js";import{s as b,a as u}from"./p-2a5855f8.js";const f=[{opacity:"0"},{opacity:"1"}],w={duration:100,easing:"linear"},g=[{opacity:"1"},{opacity:"0"}],_={duration:200,easing:"linear"};let v=0;const x=class{constructor(o){t(this,o),this.stzhOpen=s(this,"stzhOpen",7),this.stzhOpened=s(this,"stzhOpened",7),this.stzhClose=s(this,"stzhClose",7),this.stzhClosed=s(this,"stzhClosed",7),this.open=!1,this.label="",this.content="",this.placement="bottom",this.strategy="absolute",this.skidding=0,this.distance=16,this.interactive=!1,this.trigger="hover focus",this.toggledByMethod=!1,this.isHovering=!1,this.onEscKey=t=>{27===t.keyCode&&this.hide()},this.computePosition=async()=>{if(!this.open)return;const{x:t=0,y:s=0,strategy:o="absolute",placement:i,middlewareData:h}=await e(this.triggerElement.firstElementChild,this.contentElement,{strategy:this.strategy,placement:this.placement,middleware:[l({mainAxis:this.distance,crossAxis:this.skidding}),n({padding:5}),p({padding:5}),c({element:this.arrowElement,padding:5})]});this.middlewareData=h,this.computedPlacement=i,Object.assign(this.contentElement.style,{position:o,left:`${t}px`,top:`${s}px`}),Object.assign(this.arrowElement.style,{left:null!=t?`${h.arrow.x}px`:"",top:null!=s?`${h.arrow.y}px`:""})},this.onClickTrigger=()=>{this.hasTrigger("click")&&this.toggle()},this.onMouseEnterTrigger=()=>{this.hasTrigger("hover")&&(this.isHovering=!0,this.show())},this.onMouseLeaveTrigger=()=>{this.hasTrigger("hover")&&(this.isHovering=!1,document.addEventListener("mousemove",this.onMouseMoveDocument))},this.onFocusTrigger=()=>{this.hasTrigger("focus")&&this.show()},this.onBlurTrigger=()=>{this.hasTrigger("focus")&&this.hide()},this.onMouseMoveDocument=t=>{const{clientX:s,clientY:o}=t;if(!this.computedPlacement)return!0;const i=this.computedPlacement.split("-")[0],h=this.middlewareData.offset,e=this.contentElement.getBoundingClientRect();if(!h)return!0;(e.top-o>("bottom"===i?h.y:0)||o-e.bottom>("top"===i?h.y:0)||e.left-s>("right"===i?h.x:0)||s-e.right>("left"===i?h.x:0))&&(document.removeEventListener("mousemove",this.onMouseMoveDocument),this.isHovering||this.hide())}}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()}async openWatcher(t){t?(this.toggledByMethod&&this.stzhOpen.emit({component:"stzh-tooltip"}),await b(this.contentElement),this.contentElement.style.willChange="transform, opacity, position, top, left, bottom, right",this.contentElement.hidden=!1,await u(this.contentElement,f,w),this.toggledByMethod&&this.stzhOpened.emit({component:"stzh-tooltip"})):(this.toggledByMethod&&this.stzhClose.emit({component:"stzh-tooltip"}),await b(this.contentElement),await u(this.contentElement,g,_),this.contentElement.hidden=!0,this.contentElement.style.willChange="auto",this.toggledByMethod&&this.stzhClosed.emit({component:"stzh-tooltip"})),this.toggledByMethod=!1}triggerWatcher(t){this._trigger=t.split(" ")}handleDocumentClick(t){if(!this.open)return;const s=t.target!==this.contentElement&&!1===this.contentElement.contains(t.target),o=t.target===this.triggerElement||this.triggerElement.contains(t.target);s&&!o&&this.hasTrigger("click")&&this.hide()}hasTrigger(t){return this._trigger.indexOf(t)>-1}async componentWillLoad(){this.labelId=`stzh-tooltip-label-${v}`,v++,this.triggerWatcher(this.trigger),this.localization||(this.localization=await z(this.element,"tooltip"))}componentDidRender(){this.computePosition(),this.interactive&&this.triggerElement.firstElementChild.setAttribute("aria-expanded",this.open?"true":"false"),this.trap&&(this.open?this.trap.activate():this.trap.deactivate())}componentDidUpdate(){this.trap&&this.trap.updateContainerElements(this.contentElement)}componentDidLoad(){this.autoUpdateCleanup=a(this.element,this.contentElement,this.computePosition),this.interactive&&(this.trap=d(this.contentElement,{fallbackFocus:this.contentElement,clickOutsideDeactivates:!0,returnFocusOnDeactivate:!0}),this.open&&this.trap.activate()),this.contentElement.hidden=!this.open}connectedCallback(){var t;let s=null===(t=this.triggerElement)||void 0===t?void 0:t.firstElementChild;s||(s=Array.from(this.element.children).find((t=>!t.hasAttribute("slot")))),s&&(s.addEventListener("click",this.onClickTrigger),s.addEventListener("mouseenter",this.onMouseEnterTrigger),s.addEventListener("mouseleave",this.onMouseLeaveTrigger),s.addEventListener("focusin",this.onFocusTrigger),s.addEventListener("focusout",this.onBlurTrigger))}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.triggerElement.firstElementChild.removeEventListener("click",this.onClickTrigger),this.triggerElement.firstElementChild.removeEventListener("mouseenter",this.onMouseEnterTrigger),this.triggerElement.firstElementChild.removeEventListener("mouseleave",this.onMouseLeaveTrigger),this.triggerElement.firstElementChild.removeEventListener("focusin",this.onFocusTrigger),this.triggerElement.firstElementChild.removeEventListener("focusout",this.onBlurTrigger)}render(){return o(i,null,o("div",{class:{"stzh-tooltip":!0,"stzh-tooltip--open":this.open,[`stzh-tooltip--placement-${this.computedPlacement}`]:!!this.computedPlacement}},o("div",{class:"stzh-tooltip__trigger",ref:t=>this.triggerElement=t},o("slot",null)),o("div",{class:"stzh-tooltip__content",ref:t=>this.contentElement=t,tabindex:"-1","aria-labelledby":this.label?this.labelId:null,"aria-hidden":this.open?"false":"true",onKeyDown:this.onEscKey,onMouseEnter:this.onMouseEnterTrigger,onMouseLeave:this.onMouseLeaveTrigger,onFocusin:this.onFocusTrigger,onFocusout:this.onBlurTrigger},o("div",{class:"stzh-tooltip__arrow",ref:t=>this.arrowElement=t,innerHTML:r}),this.label&&o("h2",{id:this.labelId,class:"stzh-tooltip__vhidden"},this.label),o("div",{class:"stzh-tooltip__content-slot"},this.content?this.content:o("slot",{name:"content"})),this.hasTrigger("click")&&o("button",{class:"stzh-tooltip__close",onClick:()=>this.hide(),type:"button"},o("stzh-icon",{name:"close",class:"stzh-tooltip__icon"}),o("span",{class:"stzh-tooltip__vhidden"},this.localization.close)))))}get element(){return h(this)}static get watchers(){return{open:["openWatcher"],trigger:["triggerWatcher"]}}};x.style=".sc-stzh-tooltip-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-tooltip-h{display:none}.sc-stzh-tooltip-h *.sc-stzh-tooltip,.sc-stzh-tooltip-h *.sc-stzh-tooltip::before,.sc-stzh-tooltip-h *.sc-stzh-tooltip::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-tooltip-h{--width:var(--stzh-tooltip-width);--min-width:var(--stzh-tooltip-min-width);--max-width:var(--stzh-tooltip-max-width);--padding:var(--stzh-tooltip-padding);--border-radius:var(--stzh-tooltip-border-radius)}.stzh-tooltip__arrow.sc-stzh-tooltip{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-tooltip--placement-bottom.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip,.stzh-tooltip--placement-bottom-start.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip,.stzh-tooltip--placement-bottom-end.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip{top:0;-webkit-transform:translateY(-0.5rem);transform:translateY(-0.5rem)}.stzh-tooltip--placement-top.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip,.stzh-tooltip--placement-top-start.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip,.stzh-tooltip--placement-top-end.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip{bottom:0;-webkit-transform:translateY(0.5rem) rotate(180deg);transform:translateY(0.5rem) rotate(180deg)}.stzh-tooltip--placement-left.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip,.stzh-tooltip--placement-left-start.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip,.stzh-tooltip--placement-left-end.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip{right:0;-webkit-transform:translateX(0.75rem) rotate(90deg);transform:translateX(0.75rem) rotate(90deg)}.stzh-tooltip--placement-right.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip,.stzh-tooltip--placement-right-start.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip,.stzh-tooltip--placement-right-end.sc-stzh-tooltip .stzh-tooltip__arrow.sc-stzh-tooltip{left:0;-webkit-transform:translateX(-0.75rem) rotate(-90deg);transform:translateX(-0.75rem) rotate(-90deg)}.stzh-tooltip__content.sc-stzh-tooltip{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);position:absolute;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(--border-radius);background-color:var(--stzh-color-white);width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}@supports ((-webkit-filter: var(--stzh-tooltip-drop-shadow)) or (filter: var(--stzh-tooltip-drop-shadow))){.stzh-tooltip__content.sc-stzh-tooltip{-webkit-box-shadow:none;box-shadow:none;-webkit-filter:var(--stzh-tooltip-drop-shadow);filter:var(--stzh-tooltip-drop-shadow)}}.stzh-tooltip__content-slot.sc-stzh-tooltip{padding:var(--padding)}.stzh-tooltip__close.sc-stzh-tooltip{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)}.stzh-tooltip__icon.sc-stzh-tooltip{--size:var(--stzh-icon-size-xxsmall)}.stzh-tooltip__vhidden.sc-stzh-tooltip{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}";export{x as stzh_tooltip}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,a,r){function s(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,i){function n(e){try{h(r.next(e))}catch(t){i(t)}}function o(e){try{h(r["throw"](e))}catch(t){i(t)}}function h(e){e.done?a(e.value):s(e.value).then(n,o)}h((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,n;return n={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(e){return function(t){return h([e,t])}}function h(n){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,s&&(i=n[0]&2?s["return"]:n[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,n[1])).done)return i;if(s=0,i)n=[n[0]&2,i.value];switch(n[0]){case 0:case 1:i=n;break;case 4:a.label++;return{value:n[1],done:false};case 5:a.label++;s=n[1];n=[0];continue;case 7:n=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(n[0]===6||n[0]===2)){a=0;continue}if(n[0]===3&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(n[0]===6&&a.label<i[1]){a.label=i[1];i=n;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(n);break}if(i[2])a.ops.pop();a.trys.pop();continue}n=t.call(e,a)}catch(o){n=[6,o];s=0}finally{r=i=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-30b347ee.system.js","./p-5f856307.system.js","./p-176db2fe.system.js"],(function(e){"use strict";var t,a,r,s,i,n,o,h;return{setters:[function(e){t=e.r;a=e.e;r=e.f;s=e.h;i=e.a;n=e.g},function(e){o=e.h},function(e){h=e.m}],execute:function(){var d=".sc-stzh-header-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-header-h{display:none}.sc-stzh-header-h *.sc-stzh-header,.sc-stzh-header-h *.sc-stzh-header::before,.sc-stzh-header-h *.sc-stzh-header::after{-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@-webkit-keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.sc-stzh-header-h .sc-stzh-header-s>img[slot=logo]{width:auto;height:100%}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login]{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover,.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover__trigger{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);height:auto}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{border-radius:0;height:100%}}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button__badge{top:0.5rem;right:0.4375rem}}.header__inner.sc-stzh-header{-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}.header__main.sc-stzh-header{position:relative;z-index:var(--stzh-z-index-header);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 800px){.header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none;-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:4rem}@supports ((position: -webkit-sticky) or (position: sticky)){.header__main.sc-stzh-header{padding-top:0}}}.header__metabar.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 800px){.header__metabar.sc-stzh-header{border-top:none;background-color:var(--stzh-color-grey5);z-index:1;position:absolute;top:0;left:0;right:0}@supports ((position: -webkit-sticky) or (position: sticky)){.header__metabar.sc-stzh-header{position:-webkit-sticky;position:sticky}}}.header__metabar-inner.sc-stzh-header{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;height:3rem}@media screen and (min-width: 600px){.header__metabar-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 1024px){.header__metabar-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 1260px){.header__metabar-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 1440px){.header__metabar-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}@media screen and (max-width: 799px){.header__metabar-inner.sc-stzh-header{margin:0 auto}}@media screen and (min-width: 800px){.header__metabar-inner.sc-stzh-header{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;height:4rem}}.header__metabar-nav.sc-stzh-header{display:none}@media screen and (min-width: 800px){.header__metabar-nav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}.header__metabar-login.sc-stzh-header{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:50%;flex-basis:50%}@media screen and (min-width: 800px){.header__metabar-login.sc-stzh-header:not(:first-child){-ms-flex-preferred-size:auto;flex-basis:auto;margin-left:var(--stzh-space-small)}}.header__logobar.sc-stzh-header{display:-ms-flexbox;display:flex;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.header__logobar-logo.sc-stzh-header{-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;background-color:var(--stzh-color-white);overflow:hidden;width:calc(100% - 3rem - 0.0625rem)}@media screen and (min-width: 800px){.header__logobar-logo.sc-stzh-header{width:25rem}}@media screen and (min-width: 1260px){.header__logobar-logo.sc-stzh-header{width:28.75rem}}@media screen and (min-width: 1440px){.header__logobar-logo.sc-stzh-header{padding-left:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.header__logo-link.sc-stzh-header{-ms-flex-positive:1;flex-grow:1;display:-ms-inline-flexbox;display:inline-flex;height:4.75rem;padding:var(--stzh-space-medium);padding-left:1.25rem;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.header__logo-link.sc-stzh-header{padding-left:2rem}}@media screen and (min-width: 800px){.header__logo-link.sc-stzh-header{height:5.625rem}}@media screen and (min-width: 1260px){.header__logo-link.sc-stzh-header{height:7.5rem;padding:var(--stzh-space-large);padding-left:5.5rem}}@media screen and (min-width: 1440px){.header__logo-link.sc-stzh-header{padding-left:0}}.header__appnav.sc-stzh-header{position:fixed;left:0;right:0;bottom:0;z-index:calc(var(--stzh-z-index-header) - 1);-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white)}@media screen and (min-width: 600px){.header__appnav.sc-stzh-header{position:static;-webkit-box-shadow:none;box-shadow:none}}@media screen and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 1.25rem}}@media screen and (min-width: 600px) and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 600px) and (min-width: 1024px){.header__appnav-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 600px) and (min-width: 1260px){.header__appnav-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 600px) and (min-width: 1440px){.header__appnav-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}.header--hide-logo.sc-stzh-header .header__logo-link.sc-stzh-header{opacity:0}@media screen and (max-width: 799px){.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}}@media screen and (min-width: 800px){.header--sticky-metabar.sc-stzh-header:not(.header--sticky) .header__metabar.sc-stzh-header{position:fixed}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header)}}@media screen and (max-width: 599px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none}}@media screen and (max-width: 799px){.header--sticky.sc-stzh-header .header__appnav.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}}.header--sticky.sc-stzh-header .header__metabar.sc-stzh-header{border-top:none}.header--sticky.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}.header--sticky.sc-stzh-header .header__logobar.sc-stzh-header{display:none}@media screen and (min-width: 600px){.header--sticky-closing.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}@media screen and (max-width: 599px){.header--sticky-closing.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}";var l=e("stzh_header",function(){function e(e){t(this,e);this.href="https://stadt-zuerich.ch";this.preventAppnavPlaceholder=false;this.hideLogo=false;this.sticky=false;this.stickyClosing=false;this.stickyMetabar=false;this.stickyMetabarEnd=false}e.prototype.updatePosition=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var a=this;return __generator(this,(function(r){e=function(){a.sticky=false;a.stickyClosing=false;a.paddingTop=0};if(this.scrollingUp&&this.belowStayStickyPoint){if(!this.sticky&&this.belowStartStickyPoint){this.paddingTop=this.headerHeight;this.sticky=true}this.updateMetabarPosition()}else{if(this.sticky&&this.belowStayStickyPoint){t=function(){e();a.updateMetabarPosition();a.innerElement.removeEventListener("animationend",t)};this.innerElement.addEventListener("animationend",t);this.stickyClosing=true}else{e();this.updateMetabarPosition()}}return[2]}))}))};e.prototype.resizeListener=function(){var e=this;if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame((function(){a((function(){e.isSmall=h("small").matches;e.isSmallheader=h("smallheader").matches;e.headerTop=e.element.offsetTop;e.headerHeight=e.element.offsetHeight;e.appnavHeight=e.appnavElement?e.appnavElement.offsetHeight:0;e.metabarHeight=e.metabarElement?e.metabarElement.offsetHeight:0}));r((function(){if(e.appnavHeight&&!e.isSmall&&!e.preventAppnavPlaceholder){e.appnavPlaceholderElement.style.height="".concat(e.appnavHeight,"px")}else{e.appnavPlaceholderElement.style.height="0px"}}));e.scrollListener()}))};e.prototype.scrollListener=function(){var e=this;a((function(){e.scrollTop=e.getScrollTop();e.scrollingUp=e.lastScrollTop&&e.lastScrollTop>e.scrollTop;e.lastScrollTop=e.scrollTop;e.innerHeight=e.innerElement?e.innerElement.offsetHeight:0;e.mainHeight=e.mainElement?e.mainElement.offsetHeight:0;e.logobarHeight=e.sticky?e.isSmall?e.headerHeight-e.innerHeight:e.headerHeight-e.mainHeight:e.logobarElement?e.logobarElement.offsetHeight:0;e.belowStayStickyPoint=e.scrollTop>e.logobarHeight;e.belowStartStickyPoint=e.scrollTop>e.headerHeight;e.headerOverlap=(e.headerTop-e.scrollTop)/-1;e.hideLogo=e.isSmallheader&&e.headerOverlap>10}));r((function(){e.updatePosition()}))};e.prototype.getScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop};e.prototype.updateMetabarPosition=function(){if(!this.metabarElement){return}if(CSS&&CSS.supports&&CSS.supports("position","sticky")){return}if(this.isSmallheader&&this.headerOverlap>0&&!this.sticky&&!this.stickyClosing){if(this.headerOverlap<this.mainHeight-this.metabarHeight){this.stickyMetabar=true;this.stickyMetabarEnd=false;this.metabarTransform="translateY(0)"}else{this.stickyMetabar=false;this.stickyMetabarEnd=true;this.metabarTransform="translateY(".concat(this.logobarHeight,"px)")}}else{this.stickyMetabar=false;this.stickyMetabarEnd=false;this.metabarTransform="translateY(0)"}};e.prototype.connectedCallback=function(){this.appnavPlaceholderElement=document.createElement("div");this.element.parentElement.appendChild(this.appnavPlaceholderElement)};e.prototype.disconnectedCallback=function(){this.appnavPlaceholderElement.parentElement.removeChild(this.appnavPlaceholderElement)};e.prototype.render=function(){var e=this;var t=o(this.element,"nav");var a=o(this.element,"login");var r=o(this.element,"appnav");var n={header:true,"header--sticky":this.sticky,"header--sticky-closing":this.stickyClosing,"header--hide-logo":this.hideLogo,"header--sticky-metabar":this.stickyMetabar,"header--sticky-metabar-end":this.stickyMetabarEnd,"header--has-empty-metabar":!t&&!a,"header--has-appnav":r};return s(i,null,s("div",{style:{paddingTop:"".concat(this.paddingTop,"px")},class:n},s("div",{class:"header__inner",ref:function(t){return e.innerElement=t}},s("div",{class:"header__main",ref:function(t){return e.mainElement=t}},s("div",{class:"header__logobar",ref:function(t){return e.logobarElement=t}},s("div",{class:"header__logobar-logo"},s("a",{href:this.href,class:"header__logo-link"},s("slot",{name:"logo"})))),s("div",{class:"header__metabar",style:{transform:this.metabarTransform},ref:function(t){return e.metabarElement=t}},s("div",{class:"header__metabar-inner"},s("div",{class:"header__metabar-nav"},s("slot",{name:"nav"})),s("div",{class:"header__metabar-login"},s("slot",{name:"login"}))))),s("div",{class:"header__appnav",ref:function(t){return e.appnavElement=t}},s("div",{class:"header__appnav-inner"},s("slot",{name:"appnav"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=d}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,a,r){function s(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,i){function n(e){try{h(r.next(e))}catch(t){i(t)}}function o(e){try{h(r["throw"](e))}catch(t){i(t)}}function h(e){e.done?a(e.value):s(e.value).then(n,o)}h((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,n;return n={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(e){return function(t){return h([e,t])}}function h(n){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,s&&(i=n[0]&2?s["return"]:n[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,n[1])).done)return i;if(s=0,i)n=[n[0]&2,i.value];switch(n[0]){case 0:case 1:i=n;break;case 4:a.label++;return{value:n[1],done:false};case 5:a.label++;s=n[1];n=[0];continue;case 7:n=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(n[0]===6||n[0]===2)){a=0;continue}if(n[0]===3&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(n[0]===6&&a.label<i[1]){a.label=i[1];i=n;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(n);break}if(i[2])a.ops.pop();a.trys.pop();continue}n=t.call(e,a)}catch(o){n=[6,o];s=0}finally{r=i=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-bf0fdd23.system.js","./p-0230004d.system.js","./p-176db2fe.system.js"],(function(e){"use strict";var t,a,r,s,i,n,o,h;return{setters:[function(e){t=e.r;a=e.e;r=e.i;s=e.h;i=e.a;n=e.g},function(e){o=e.h},function(e){h=e.m}],execute:function(){var d=".sc-stzh-header-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-header-h{display:none}.sc-stzh-header-h *.sc-stzh-header,.sc-stzh-header-h *.sc-stzh-header::before,.sc-stzh-header-h *.sc-stzh-header::after{-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@-webkit-keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.sc-stzh-header-h .sc-stzh-header-s>img[slot=logo]{width:auto;height:100%}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login]{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover,.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover__trigger{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);height:auto}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{border-radius:0;height:100%}}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button__badge{top:0.5rem;right:0.4375rem}}.header__inner.sc-stzh-header{-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}.header__main.sc-stzh-header{position:relative;z-index:var(--stzh-z-index-header);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 800px){.header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none;-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:4rem}@supports ((position: -webkit-sticky) or (position: sticky)){.header__main.sc-stzh-header{padding-top:0}}}.header__metabar.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 800px){.header__metabar.sc-stzh-header{border-top:none;background-color:var(--stzh-color-grey5);z-index:1;position:absolute;top:0;left:0;right:0}@supports ((position: -webkit-sticky) or (position: sticky)){.header__metabar.sc-stzh-header{position:-webkit-sticky;position:sticky}}}.header__metabar-inner.sc-stzh-header{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;height:3rem}@media screen and (min-width: 600px){.header__metabar-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 1024px){.header__metabar-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 1260px){.header__metabar-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 1440px){.header__metabar-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}@media screen and (max-width: 799px){.header__metabar-inner.sc-stzh-header{margin:0 auto}}@media screen and (min-width: 800px){.header__metabar-inner.sc-stzh-header{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;height:4rem}}.header__metabar-nav.sc-stzh-header{display:none}@media screen and (min-width: 800px){.header__metabar-nav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}.header__metabar-login.sc-stzh-header{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:50%;flex-basis:50%}@media screen and (min-width: 800px){.header__metabar-login.sc-stzh-header:not(:first-child){-ms-flex-preferred-size:auto;flex-basis:auto;margin-left:var(--stzh-space-small)}}.header__logobar.sc-stzh-header{display:-ms-flexbox;display:flex;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.header__logobar-logo.sc-stzh-header{-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;background-color:var(--stzh-color-white);overflow:hidden;width:calc(100% - 3rem - 0.0625rem)}@media screen and (min-width: 800px){.header__logobar-logo.sc-stzh-header{width:25rem}}@media screen and (min-width: 1260px){.header__logobar-logo.sc-stzh-header{width:28.75rem}}@media screen and (min-width: 1440px){.header__logobar-logo.sc-stzh-header{padding-left:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.header__logo-link.sc-stzh-header{-ms-flex-positive:1;flex-grow:1;display:-ms-inline-flexbox;display:inline-flex;height:4.75rem;padding:var(--stzh-space-medium);padding-left:1.25rem;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.header__logo-link.sc-stzh-header{padding-left:2rem}}@media screen and (min-width: 800px){.header__logo-link.sc-stzh-header{height:5.625rem}}@media screen and (min-width: 1260px){.header__logo-link.sc-stzh-header{height:7.5rem;padding:var(--stzh-space-large);padding-left:5.5rem}}@media screen and (min-width: 1440px){.header__logo-link.sc-stzh-header{padding-left:0}}.header__appnav.sc-stzh-header{position:fixed;left:0;right:0;bottom:0;z-index:calc(var(--stzh-z-index-header) - 1);-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white)}@media screen and (min-width: 600px){.header__appnav.sc-stzh-header{position:static;-webkit-box-shadow:none;box-shadow:none}}@media screen and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 1.25rem}}@media screen and (min-width: 600px) and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 600px) and (min-width: 1024px){.header__appnav-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 600px) and (min-width: 1260px){.header__appnav-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 600px) and (min-width: 1440px){.header__appnav-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}.header--hide-logo.sc-stzh-header .header__logo-link.sc-stzh-header{opacity:0}@media screen and (max-width: 799px){.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}}@media screen and (min-width: 800px){.header--sticky-metabar.sc-stzh-header:not(.header--sticky) .header__metabar.sc-stzh-header{position:fixed}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header)}}@media screen and (max-width: 599px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none}}@media screen and (max-width: 799px){.header--sticky.sc-stzh-header .header__appnav.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}}.header--sticky.sc-stzh-header .header__metabar.sc-stzh-header{border-top:none}.header--sticky.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}.header--sticky.sc-stzh-header .header__logobar.sc-stzh-header{display:none}@media screen and (min-width: 600px){.header--sticky-closing.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}@media screen and (max-width: 599px){.header--sticky-closing.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}";var l=e("stzh_header",function(){function e(e){t(this,e);this.href="https://stadt-zuerich.ch";this.preventAppnavPlaceholder=false;this.hideLogo=false;this.sticky=false;this.stickyClosing=false;this.stickyMetabar=false;this.stickyMetabarEnd=false}e.prototype.updatePosition=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var a=this;return __generator(this,(function(r){e=function(){a.sticky=false;a.stickyClosing=false;a.paddingTop=0};if(this.scrollingUp&&this.belowStayStickyPoint){if(!this.sticky&&this.belowStartStickyPoint){this.paddingTop=this.headerHeight;this.sticky=true}this.updateMetabarPosition()}else{if(this.sticky&&this.belowStayStickyPoint){t=function(){e();a.updateMetabarPosition();a.innerElement.removeEventListener("animationend",t)};this.innerElement.addEventListener("animationend",t);this.stickyClosing=true}else{e();this.updateMetabarPosition()}}return[2]}))}))};e.prototype.resizeListener=function(){var e=this;if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame((function(){a((function(){e.isSmall=h("small").matches;e.isSmallheader=h("smallheader").matches;e.headerTop=e.element.offsetTop;e.headerHeight=e.element.offsetHeight;e.appnavHeight=e.appnavElement?e.appnavElement.offsetHeight:0;e.metabarHeight=e.metabarElement?e.metabarElement.offsetHeight:0}));r((function(){if(e.appnavHeight&&!e.isSmall&&!e.preventAppnavPlaceholder){e.appnavPlaceholderElement.style.height="".concat(e.appnavHeight,"px")}else{e.appnavPlaceholderElement.style.height="0px"}}));e.scrollListener()}))};e.prototype.scrollListener=function(){var e=this;a((function(){e.scrollTop=e.getScrollTop();e.scrollingUp=e.lastScrollTop&&e.lastScrollTop>e.scrollTop;e.lastScrollTop=e.scrollTop;e.innerHeight=e.innerElement?e.innerElement.offsetHeight:0;e.mainHeight=e.mainElement?e.mainElement.offsetHeight:0;e.logobarHeight=e.sticky?e.isSmall?e.headerHeight-e.innerHeight:e.headerHeight-e.mainHeight:e.logobarElement?e.logobarElement.offsetHeight:0;e.belowStayStickyPoint=e.scrollTop>e.logobarHeight;e.belowStartStickyPoint=e.scrollTop>e.headerHeight;e.headerOverlap=(e.headerTop-e.scrollTop)/-1;e.hideLogo=e.isSmallheader&&e.headerOverlap>10}));r((function(){e.updatePosition()}))};e.prototype.getScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop};e.prototype.updateMetabarPosition=function(){if(!this.metabarElement){return}if(CSS&&CSS.supports&&CSS.supports("position","sticky")){return}if(this.isSmallheader&&this.headerOverlap>0&&!this.sticky&&!this.stickyClosing){if(this.headerOverlap<this.mainHeight-this.metabarHeight){this.stickyMetabar=true;this.stickyMetabarEnd=false;this.metabarTransform="translateY(0)"}else{this.stickyMetabar=false;this.stickyMetabarEnd=true;this.metabarTransform="translateY(".concat(this.logobarHeight,"px)")}}else{this.stickyMetabar=false;this.stickyMetabarEnd=false;this.metabarTransform="translateY(0)"}};e.prototype.connectedCallback=function(){this.appnavPlaceholderElement=document.createElement("div");this.element.parentElement.appendChild(this.appnavPlaceholderElement)};e.prototype.disconnectedCallback=function(){this.appnavPlaceholderElement.parentElement.removeChild(this.appnavPlaceholderElement)};e.prototype.render=function(){var e=this;var t=o(this.element,"nav");var a=o(this.element,"login");var r=o(this.element,"appnav");var n={header:true,"header--sticky":this.sticky,"header--sticky-closing":this.stickyClosing,"header--hide-logo":this.hideLogo,"header--sticky-metabar":this.stickyMetabar,"header--sticky-metabar-end":this.stickyMetabarEnd,"header--has-empty-metabar":!t&&!a,"header--has-appnav":r};return s(i,null,s("div",{style:{paddingTop:"".concat(this.paddingTop,"px")},class:n},s("div",{class:"header__inner",ref:function(t){return e.innerElement=t}},s("div",{class:"header__main",ref:function(t){return e.mainElement=t}},s("div",{class:"header__logobar",ref:function(t){return e.logobarElement=t}},s("div",{class:"header__logobar-logo"},s("a",{href:this.href,class:"header__logo-link"},s("slot",{name:"logo"})))),s("div",{class:"header__metabar",style:{transform:this.metabarTransform},ref:function(t){return e.metabarElement=t}},s("div",{class:"header__metabar-inner"},s("div",{class:"header__metabar-nav"},s("slot",{name:"nav"})),s("div",{class:"header__metabar-login"},s("slot",{name:"login"}))))),s("div",{class:"header__appnav",ref:function(t){return e.appnavElement=t}},s("div",{class:"header__appnav-inner"},s("slot",{name:"appnav"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=d}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-bf0fdd23.system.js"],(function(t){"use strict";var r,a,e,s;return{setters:[function(t){r=t.r;a=t.h;e=t.a;s=t.g}],execute:function(){var i=".sc-stzh-loadingbar-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-loadingbar-h{display:none}.sc-stzh-loadingbar-h *.sc-stzh-loadingbar,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::before,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-loadingbar-h{--color:var(--stzh-base-color);--bar-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--bar-bg-color:var(--stzh-color-grey13)}.stzh-loadingbar.sc-stzh-loadingbar{min-width:10rem}.stzh-loadingbar__bar.sc-stzh-loadingbar{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--bar-bg-color)}.stzh-loadingbar__bar-inner.sc-stzh-loadingbar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--bar-color)}.stzh-loadingbar__text.sc-stzh-loadingbar{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;color:var(--color);margin-bottom:var(--stzh-space-xxsmall)}.stzh-loadingbar__percent.sc-stzh-loadingbar{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}";var n=t("stzh_loadingbar",function(){function t(t){r(this,t);this.percent=0;this.hidePercent=false;this.label=""}t.prototype.render=function(){var t={"stzh-loadingbar":true};return a(e,null,a("div",{class:t},a("div",{class:"stzh-loadingbar__text"},this.label&&a("div",{class:"stzh-loadingbar__label"},this.label),this.percent&&!this.hidePercent&&a("div",{class:"stzh-loadingbar__percent"},this.percent,"%")),a("div",{class:"stzh-loadingbar__bar"},a("div",{class:"stzh-loadingbar__bar-inner",style:{width:"".concat(this.percent,"%")}}))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());n.style=i}}}));
|
|
@@ -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-93e8e31f.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}
|