@duetds/components 7.0.11 → 7.0.13
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/hydrate/index.js +214 -83
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -4
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +2 -2
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +22 -4
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -4
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +13 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +3 -3
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +53 -10
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +6 -6
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout.cjs.entry.js +33 -6
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +14 -10
- package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-904b5d93.js → focus-utils-a94e86a5.js} +1 -1
- package/lib/cjs/{index-87e1f90a.js → index-04d05fd9.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{token-utils-c1864408.js → token-utils-71db4785.js} +1 -1
- package/lib/cjs/{tokens-30e7656b.js → tokens-cecc0f2f.js} +24 -0
- package/lib/cjs/{tokens.module-5fe478ed.js → tokens.module-10f42b21.js} +16 -0
- package/lib/collection/components/duet-action-button/duet-action-button.css +8 -10
- package/lib/collection/components/duet-action-button/duet-action-button.js +3 -2
- package/lib/collection/components/duet-alert/duet-alert.css +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-badge/duet-badge.css +9 -9
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +22 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +23 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +13 -21
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -3
- package/lib/collection/components/duet-button/duet-button.css +13 -13
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.css +4 -4
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +2 -2
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.css +2 -2
- package/lib/collection/components/duet-chip/duet-chip.js +4 -4
- package/lib/collection/components/duet-choice/duet-choice.css +6 -3
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +6 -6
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +27 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +12 -12
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.css +3 -3
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.css +12 -12
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.css +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-input/duet-input.css +18 -18
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.css +2 -2
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.css +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +6 -6
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +7 -7
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +7 -7
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +15 -15
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification/duet-notification.css +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.css +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.css +18 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +84 -30
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +3 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +3 -3
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.css +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +2 -2
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.css +30 -11
- package/lib/collection/components/duet-select/duet-select.js +11 -11
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +6 -3
- package/lib/collection/components/duet-slideout/duet-slideout.js +34 -3
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +6 -6
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +4 -4
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.css +2 -2
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +8 -8
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +11 -7
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +7 -7
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +7 -7
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +7 -7
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +5 -6
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.css +8 -8
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.css +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +5 -5
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +7 -7
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +7 -7
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +4 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.css +4 -4
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +24 -6
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -12
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +5 -5
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +3 -3
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +19 -9
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +5 -5
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +10 -10
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +11 -11
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +12 -12
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +101 -22
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +3 -3
- package/lib/dist-custom-elements/duet-popup-menu.js +3 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
- package/lib/dist-custom-elements/duet-slideout.js +33 -5
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +15 -11
- package/lib/dist-custom-elements/duet-tab-group.js +14 -14
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +11 -11
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-de68431d.js → p-03e72a70.js} +1 -1
- package/lib/dist-custom-elements/{p-fe16ab51.js → p-147839fe.js} +2 -2
- package/lib/dist-custom-elements/{p-0c432f19.js → p-216ee242.js} +2 -2
- package/lib/dist-custom-elements/{p-d6ba9330.js → p-235639a0.js} +6 -5
- package/lib/dist-custom-elements/{p-c34976a7.js → p-31d056ee.js} +11 -11
- package/lib/dist-custom-elements/{p-91c5485e.js → p-32b3e436.js} +1 -1
- package/lib/dist-custom-elements/{p-05f08935.js → p-3b2d38bd.js} +3 -3
- package/lib/dist-custom-elements/{p-5bd9489b.js → p-444a8a81.js} +1 -1
- package/lib/dist-custom-elements/{p-120f66c1.js → p-457ad3b4.js} +2 -2
- package/lib/dist-custom-elements/{p-6379e5c0.js → p-5128c90e.js} +2 -2
- package/lib/dist-custom-elements/{p-ba5c09ae.js → p-54138086.js} +1 -1
- package/lib/dist-custom-elements/{p-687196b5.js → p-580110b9.js} +1 -1
- package/lib/dist-custom-elements/{p-b519ac77.js → p-64d43840.js} +24 -0
- package/lib/dist-custom-elements/{p-b514c789.js → p-6658c850.js} +2 -2
- package/lib/dist-custom-elements/p-6ff6de66.js +262 -0
- package/lib/dist-custom-elements/{p-9c9ea306.js → p-70bf0b69.js} +5 -5
- package/lib/dist-custom-elements/{p-2b5c6ba3.js → p-735d77aa.js} +1 -1
- package/lib/dist-custom-elements/{p-b7079e8b.js → p-778299c4.js} +2 -2
- package/lib/dist-custom-elements/{p-a18f1990.js → p-7a8c2aed.js} +7 -7
- package/lib/dist-custom-elements/{p-fef085ea.js → p-7ccf98f1.js} +1 -1
- package/lib/dist-custom-elements/{p-81c56b23.js → p-811e436b.js} +2 -2
- package/lib/dist-custom-elements/{p-7d753a00.js → p-86766141.js} +10 -10
- package/lib/dist-custom-elements/{p-bc8d2341.js → p-87ab6444.js} +2 -2
- package/lib/dist-custom-elements/{p-acf16b0a.js → p-891cf00a.js} +1 -1
- package/lib/dist-custom-elements/{p-afe7886a.js → p-89f61853.js} +2 -2
- package/lib/dist-custom-elements/{p-37376979.js → p-8a544a4a.js} +3 -3
- package/lib/dist-custom-elements/{p-f14bd0c6.js → p-9510958d.js} +6 -6
- package/lib/dist-custom-elements/{p-873b2ba5.js → p-9ec763ef.js} +1 -1
- package/lib/dist-custom-elements/{p-d89ad85e.js → p-ae9d10ef.js} +2 -2
- package/lib/dist-custom-elements/{p-d111b07b.js → p-b4fb8e06.js} +4 -4
- package/lib/dist-custom-elements/{p-e8475b3c.js → p-c057158b.js} +16 -0
- package/lib/dist-custom-elements/{p-a741522e.js → p-dddcc1da.js} +3 -3
- package/lib/dist-custom-elements/p-e4de8f7b.js +271 -0
- package/lib/dist-custom-elements/{p-9ae52620.js → p-e7815ffd.js} +2 -2
- package/lib/dist-custom-elements/{p-87306ee7.js → p-e8146874.js} +4 -4
- package/lib/dist-custom-elements/{p-15f143d3.js → p-e9d838dd.js} +2 -2
- package/lib/dist-custom-elements/{p-cfac6456.js → p-fbdc5afe.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-00abf5b6.entry.js +4 -0
- package/lib/duet/{p-a4f2ef63.system.entry.js → p-02b7e1ef.system.entry.js} +1 -1
- package/lib/duet/p-02f1d7cc.system.js +4 -0
- package/lib/duet/p-0478d0eb.entry.js +4 -0
- package/lib/duet/{p-d9837b02.system.entry.js → p-04940a8a.system.entry.js} +1 -1
- package/lib/duet/{p-4bd910ce.entry.js → p-059c9d4e.entry.js} +1 -1
- package/lib/duet/{p-cf0b8d70.entry.js → p-066f7fdf.entry.js} +1 -1
- package/lib/duet/{p-e655693e.system.entry.js → p-076228e9.system.entry.js} +1 -1
- package/lib/duet/{p-e9641c9c.entry.js → p-076aef18.entry.js} +1 -1
- package/lib/duet/{p-14572cb2.system.entry.js → p-0acc8f88.system.entry.js} +1 -1
- package/lib/duet/{p-2737980f.entry.js → p-0b0a898d.entry.js} +1 -1
- package/lib/duet/p-0c3d7e64.system.entry.js +4 -0
- package/lib/duet/{p-0ebb9c78.system.entry.js → p-0c6705bb.system.entry.js} +1 -1
- package/lib/duet/p-0e697654.system.entry.js +4 -0
- package/lib/duet/{p-8a43a36b.entry.js → p-0ffc3cf9.entry.js} +1 -1
- package/lib/duet/p-108d9370.system.entry.js +4 -0
- package/lib/duet/p-11e79c8c.system.entry.js +4 -0
- package/lib/duet/p-14285f86.system.entry.js +4 -0
- package/lib/duet/{p-312b8994.entry.js → p-14bd6514.entry.js} +1 -1
- package/lib/duet/{p-24be555f.system.entry.js → p-16abb2d5.system.entry.js} +1 -1
- package/lib/duet/{p-098a521b.entry.js → p-1719aa4e.entry.js} +1 -1
- package/lib/duet/{p-f7418b24.js → p-18f1d30e.js} +1 -1
- package/lib/duet/p-1b398a07.entry.js +4 -0
- package/lib/duet/p-1c0ad101.system.entry.js +4 -0
- package/lib/duet/{p-f83c8880.system.entry.js → p-1d463cc4.system.entry.js} +1 -1
- package/lib/duet/p-213ba11f.entry.js +4 -0
- package/lib/duet/{p-f8115fd2.entry.js → p-23ba9eba.entry.js} +1 -1
- package/lib/duet/{p-9995c95a.system.entry.js → p-243a9ef5.system.entry.js} +1 -1
- package/lib/duet/{p-fde69767.entry.js → p-24e2be74.entry.js} +1 -1
- package/lib/duet/p-25495204.system.entry.js +4 -0
- package/lib/duet/p-29280d68.entry.js +4 -0
- package/lib/duet/{p-bcc83d43.entry.js → p-2992af15.entry.js} +1 -1
- package/lib/duet/{p-839d40e7.entry.js → p-29be2109.entry.js} +1 -1
- package/lib/duet/p-29f1e1a4.system.entry.js +4 -0
- package/lib/duet/{p-a76ceaf6.js → p-2bb34e3d.js} +1 -1
- package/lib/duet/p-2e9a772c.entry.js +4 -0
- package/lib/duet/{p-c074a0e7.entry.js → p-2ea04945.entry.js} +1 -1
- package/lib/duet/{p-169ae92e.entry.js → p-2eabea79.entry.js} +1 -1
- package/lib/duet/{p-d9dafc19.entry.js → p-31b566c1.entry.js} +1 -1
- package/lib/duet/{p-19162fe2.entry.js → p-3346552d.entry.js} +1 -1
- package/lib/duet/{p-661f8827.entry.js → p-34928212.entry.js} +1 -1
- package/lib/duet/{p-ca5e4a54.system.entry.js → p-3536fd40.system.entry.js} +1 -1
- package/lib/duet/{p-956a4a3a.system.entry.js → p-356745e0.system.entry.js} +1 -1
- package/lib/duet/{p-765e3ec1.entry.js → p-3709d186.entry.js} +1 -1
- package/lib/duet/{p-92e48b99.system.entry.js → p-380c94f6.system.entry.js} +1 -1
- package/lib/duet/p-388e6ec4.entry.js +4 -0
- package/lib/duet/{p-ba1d3a66.system.js → p-3cb9e865.system.js} +1 -1
- package/lib/duet/{p-8c27f203.entry.js → p-3ec86ced.entry.js} +1 -1
- package/lib/duet/{p-01b45353.system.entry.js → p-417357f9.system.entry.js} +1 -1
- package/lib/duet/p-427dbb96.system.entry.js +4 -0
- package/lib/duet/{p-1b518a40.system.entry.js → p-429a181d.system.entry.js} +1 -1
- package/lib/duet/p-43b0c3d2.system.entry.js +4 -0
- package/lib/duet/p-43b42819.entry.js +4 -0
- package/lib/duet/{p-b940581b.entry.js → p-45bec102.entry.js} +1 -1
- package/lib/duet/{p-da9649c1.entry.js → p-46b3ed07.entry.js} +1 -1
- package/lib/duet/{p-7feb3a81.entry.js → p-4a4faa7d.entry.js} +1 -1
- package/lib/duet/p-4ab24dcd.entry.js +4 -0
- package/lib/duet/{p-af3f52ec.system.entry.js → p-4e886433.system.entry.js} +1 -1
- package/lib/duet/{p-37ebb688.entry.js → p-521c96ec.entry.js} +1 -1
- package/lib/duet/p-56952081.entry.js +4 -0
- package/lib/duet/{p-1727b8ec.system.entry.js → p-5738c25c.system.entry.js} +1 -1
- package/lib/duet/{p-2912650b.entry.js → p-60a70493.entry.js} +1 -1
- package/lib/duet/p-64d43840.js +4 -0
- package/lib/duet/{p-76f69465.system.entry.js → p-67862509.system.entry.js} +1 -1
- package/lib/duet/p-67d9de79.system.entry.js +4 -0
- package/lib/duet/p-6c93f614.system.entry.js +4 -0
- package/lib/duet/{p-589881f3.entry.js → p-6d711206.entry.js} +1 -1
- package/lib/duet/p-6d74aac6.system.entry.js +4 -0
- package/lib/duet/p-6f677b2a.system.entry.js +4 -0
- package/lib/duet/{p-aff6a3f8.system.entry.js → p-6f6a58e4.system.entry.js} +1 -1
- package/lib/duet/{p-7d34f006.entry.js → p-701b89a1.entry.js} +1 -1
- package/lib/duet/p-70477e77.system.entry.js +4 -0
- package/lib/duet/{p-f86bdaa9.entry.js → p-7174ea1e.entry.js} +1 -1
- package/lib/duet/{p-974ec475.entry.js → p-7260f799.entry.js} +1 -1
- package/lib/duet/p-7326a4c0.system.entry.js +4 -0
- package/lib/duet/{p-33a1196f.entry.js → p-74216caa.entry.js} +1 -1
- package/lib/duet/{p-3a9af609.entry.js → p-7804ff1e.entry.js} +1 -1
- package/lib/duet/p-79075bec.system.entry.js +4 -0
- package/lib/duet/p-7ac0621b.system.entry.js +4 -0
- package/lib/duet/{p-f4d36100.system.entry.js → p-7b7faa01.system.entry.js} +1 -1
- package/lib/duet/{p-05ba305e.system.entry.js → p-7cf9e266.system.entry.js} +2 -2
- package/lib/duet/{p-da51b5d0.system.entry.js → p-7dc87593.system.entry.js} +1 -1
- package/lib/duet/{p-5c0b4434.system.entry.js → p-7fe6bf2c.system.entry.js} +1 -1
- package/lib/duet/p-81c35152.entry.js +4 -0
- package/lib/duet/p-822a791e.entry.js +4 -0
- package/lib/duet/{p-37db0554.entry.js → p-8364fae3.entry.js} +1 -1
- package/lib/duet/p-8433b6d1.system.entry.js +4 -0
- package/lib/duet/p-850eacf6.entry.js +4 -0
- package/lib/duet/{p-c529a45e.entry.js → p-87ca87df.entry.js} +1 -1
- package/lib/duet/p-8810df88.js +4 -0
- package/lib/duet/p-885b38a9.system.js +4 -0
- package/lib/duet/{p-938eb486.system.entry.js → p-8a3fcbdb.system.entry.js} +1 -1
- package/lib/duet/p-8b5d616e.system.entry.js +4 -0
- package/lib/duet/p-8b641c9c.system.entry.js +4 -0
- package/lib/duet/{p-3bca30ca.system.entry.js → p-8db716f2.system.entry.js} +1 -1
- package/lib/duet/{p-5bc67330.entry.js → p-8e5253bc.entry.js} +1 -1
- package/lib/duet/p-97fc4a88.system.entry.js +4 -0
- package/lib/duet/p-98488fab.system.entry.js +4 -0
- package/lib/duet/{p-84377dda.entry.js → p-9949a334.entry.js} +1 -1
- package/lib/duet/p-9ce8627c.system.entry.js +4 -0
- package/lib/duet/p-9d033a04.system.js +4 -0
- package/lib/duet/{p-27bcd0ee.system.entry.js → p-9d505129.system.entry.js} +1 -1
- package/lib/duet/p-9e3276c6.system.entry.js +4 -0
- package/lib/duet/{p-918a8ca7.system.entry.js → p-9f9ada02.system.entry.js} +1 -1
- package/lib/duet/{p-5cc6f176.entry.js → p-a374de00.entry.js} +1 -1
- package/lib/duet/{p-6e5ee495.entry.js → p-a39844b6.entry.js} +1 -1
- package/lib/duet/{p-b502b5b8.entry.js → p-a678835a.entry.js} +1 -1
- package/lib/duet/{p-c48d8cfe.system.js → p-a7c2017b.system.js} +1 -1
- package/lib/duet/p-a87a2760.system.entry.js +4 -0
- package/lib/duet/{p-83032abc.entry.js → p-a8e6dcb9.entry.js} +1 -1
- package/lib/duet/p-ac962b74.system.entry.js +4 -0
- package/lib/duet/p-afee3739.system.entry.js +4 -0
- package/lib/duet/p-b0475c8a.entry.js +4 -0
- package/lib/duet/p-b07fe45f.system.entry.js +4 -0
- package/lib/duet/{p-fb7932ed.entry.js → p-b465c929.entry.js} +1 -1
- package/lib/duet/{p-3ad8fd01.system.entry.js → p-b71c141b.system.entry.js} +1 -1
- package/lib/duet/{p-393bb353.entry.js → p-b7605eb1.entry.js} +1 -1
- package/lib/duet/{p-71a46879.system.js → p-b760c72b.system.js} +1 -1
- package/lib/duet/{p-55fd5afe.entry.js → p-b760effb.entry.js} +1 -1
- package/lib/duet/{p-ac70bace.system.entry.js → p-b7e61bdc.system.entry.js} +1 -1
- package/lib/duet/p-b8b12400.system.entry.js +4 -0
- package/lib/duet/p-b9eb37ae.system.entry.js +4 -0
- package/lib/duet/p-bd594a8b.entry.js +4 -0
- package/lib/duet/p-bde9a702.system.entry.js +4 -0
- package/lib/duet/{p-fdeecf57.system.entry.js → p-c1573ac3.system.entry.js} +1 -1
- package/lib/duet/p-c1fb544b.system.entry.js +4 -0
- package/lib/duet/{p-dfb3dc4a.entry.js → p-c201968f.entry.js} +1 -1
- package/lib/duet/{p-03048264.system.entry.js → p-c2731be1.system.entry.js} +1 -1
- package/lib/duet/p-c2b0861c.system.entry.js +4 -0
- package/lib/duet/p-c3a883e3.entry.js +4 -0
- package/lib/duet/p-c4fac0b5.system.entry.js +4 -0
- package/lib/duet/{p-b069fbc0.entry.js → p-cb451f23.entry.js} +1 -1
- package/lib/duet/{p-0445200d.entry.js → p-cba1009b.entry.js} +1 -1
- package/lib/duet/p-cd05fea5.system.entry.js +4 -0
- package/lib/duet/p-cf824b6b.system.entry.js +4 -0
- package/lib/duet/{p-e845d5f4.system.entry.js → p-d183a3e7.system.entry.js} +1 -1
- package/lib/duet/{p-8c8fbad6.system.entry.js → p-d1f815a3.system.entry.js} +1 -1
- package/lib/duet/p-d4d63fbd.system.entry.js +4 -0
- package/lib/duet/{p-71f9674a.entry.js → p-d68c84ab.entry.js} +1 -1
- package/lib/duet/{p-444b3ae5.entry.js → p-d6d5ef13.entry.js} +1 -1
- package/lib/duet/{p-eedc5e43.entry.js → p-d7c5ac53.entry.js} +1 -1
- package/lib/duet/p-db6887df.entry.js +4 -0
- package/lib/duet/{p-78d94bf8.entry.js → p-db95e133.entry.js} +1 -1
- package/lib/duet/{p-ad71602b.entry.js → p-dfc66b98.entry.js} +1 -1
- package/lib/duet/{p-1200d4b2.system.entry.js → p-e27a7520.system.entry.js} +1 -1
- package/lib/duet/{p-3d82ea29.entry.js → p-e356ca29.entry.js} +1 -1
- package/lib/duet/{p-2432f0f4.entry.js → p-e3f8becc.entry.js} +1 -1
- package/lib/duet/{p-a7253ad1.entry.js → p-e4734600.entry.js} +1 -1
- package/lib/duet/{p-7a81869c.entry.js → p-e4e0578f.entry.js} +1 -1
- package/lib/duet/{p-50db959c.system.entry.js → p-e50d1003.system.entry.js} +1 -1
- package/lib/duet/{p-dd8c607e.system.entry.js → p-e7cc2826.system.entry.js} +1 -1
- package/lib/duet/{p-e8c0cf74.entry.js → p-e91a7222.entry.js} +1 -1
- package/lib/duet/p-e9b8cee0.system.entry.js +4 -0
- package/lib/duet/p-ea1287ce.system.entry.js +4 -0
- package/lib/duet/{p-2f431a14.entry.js → p-f0317574.entry.js} +1 -1
- package/lib/duet/{p-fd4785ab.js → p-f1d51e20.js} +1 -1
- package/lib/duet/p-f27b134c.system.entry.js +4 -0
- package/lib/duet/{p-4ad5e118.entry.js → p-f5903e7d.entry.js} +1 -1
- package/lib/duet/{p-8abd8397.entry.js → p-f74b6629.entry.js} +1 -1
- package/lib/duet/p-faf2b9d1.entry.js +4 -0
- package/lib/duet/p-fbdb1eec.entry.js +4 -0
- package/lib/duet/p-fc0f56ae.system.entry.js +4 -0
- package/lib/duet/{p-9f1e66fa.entry.js → p-fee0f558.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +5 -4
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +2 -2
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +22 -4
- package/lib/esm/duet-breadcrumbs.entry.js +3 -5
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +4 -4
- package/lib/esm/duet-card.entry.js +4 -4
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +2 -2
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +13 -3
- package/lib/esm/duet-date-picker.entry.js +3 -3
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +3 -3
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +2 -2
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +2 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +3 -3
- package/lib/esm/duet-number-input.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +53 -10
- package/lib/esm/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm/duet-popup-menu.entry.js +3 -1
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +3 -3
- package/lib/esm/duet-scrollable_3.entry.js +2 -2
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +6 -6
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +2 -2
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +5 -5
- package/lib/esm/duet-slideout.entry.js +33 -6
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +14 -10
- package/lib/esm/duet-textarea.entry.js +2 -2
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +4 -4
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-6a5d6710.js → focus-utils-e26ba3b3.js} +1 -1
- package/lib/esm/{index-461a449b.js → index-c1a17a4c.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{token-utils-a1dcaa4b.js → token-utils-2d3af0db.js} +1 -1
- package/lib/esm/{tokens-f6b32339.js → tokens-e6b6db9b.js} +24 -0
- package/lib/esm/{tokens.module-ed773027.js → tokens.module-c7944140.js} +16 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +2 -2
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +2 -2
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +2 -2
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-6a5d6710.js → focus-utils-e26ba3b3.js} +1 -1
- package/lib/esm-es5/{index-461a449b.js → index-c1a17a4c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{token-utils-a1dcaa4b.js → token-utils-2d3af0db.js} +1 -1
- package/lib/esm-es5/tokens-e6b6db9b.js +4 -0
- package/lib/esm-es5/tokens.module-c7944140.js +4 -0
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +6 -1
- package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +2 -0
- package/lib/types/components/duet-pagination/duet-pagination.d.ts +10 -4
- package/lib/types/components/duet-select/duet-select.d.ts +3 -2
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +5 -0
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +2 -2
- package/lib/types/components.d.ts +10 -10
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-1a94e82b.js +0 -262
- package/lib/dist-custom-elements/p-bb65095e.js +0 -271
- package/lib/duet/p-0037e20d.system.entry.js +0 -4
- package/lib/duet/p-0289fbda.entry.js +0 -4
- package/lib/duet/p-06f27610.system.entry.js +0 -4
- package/lib/duet/p-073d6f97.entry.js +0 -4
- package/lib/duet/p-0a30ca43.js +0 -4
- package/lib/duet/p-0eee231b.system.entry.js +0 -4
- package/lib/duet/p-1300971a.system.entry.js +0 -4
- package/lib/duet/p-153a027b.system.entry.js +0 -4
- package/lib/duet/p-15534404.system.entry.js +0 -4
- package/lib/duet/p-15799688.system.entry.js +0 -4
- package/lib/duet/p-1667e146.system.entry.js +0 -4
- package/lib/duet/p-16a5c1c3.system.entry.js +0 -4
- package/lib/duet/p-1f28890e.entry.js +0 -4
- package/lib/duet/p-2220521c.system.entry.js +0 -4
- package/lib/duet/p-223e3b4e.system.entry.js +0 -4
- package/lib/duet/p-24396004.system.entry.js +0 -4
- package/lib/duet/p-2578f223.entry.js +0 -4
- package/lib/duet/p-2768e79d.system.entry.js +0 -4
- package/lib/duet/p-3a8c1f83.system.entry.js +0 -4
- package/lib/duet/p-3ace0310.system.entry.js +0 -4
- package/lib/duet/p-3f0e3f2e.system.entry.js +0 -4
- package/lib/duet/p-43bf80f7.entry.js +0 -4
- package/lib/duet/p-45e609b1.system.js +0 -4
- package/lib/duet/p-4a6d2260.system.entry.js +0 -4
- package/lib/duet/p-4bebb594.system.entry.js +0 -4
- package/lib/duet/p-51d7dce2.entry.js +0 -4
- package/lib/duet/p-547f4d57.system.entry.js +0 -4
- package/lib/duet/p-54bedfc1.entry.js +0 -4
- package/lib/duet/p-54e76170.entry.js +0 -4
- package/lib/duet/p-583c363f.system.entry.js +0 -4
- package/lib/duet/p-63f0077b.entry.js +0 -4
- package/lib/duet/p-64b40242.system.entry.js +0 -4
- package/lib/duet/p-6e95e911.entry.js +0 -4
- package/lib/duet/p-6ff65c0f.system.entry.js +0 -4
- package/lib/duet/p-75e5becf.system.entry.js +0 -4
- package/lib/duet/p-775ae756.entry.js +0 -4
- package/lib/duet/p-82b579a9.system.entry.js +0 -4
- package/lib/duet/p-86364112.system.entry.js +0 -4
- package/lib/duet/p-88fbee70.system.entry.js +0 -4
- package/lib/duet/p-8c6e3c4f.system.js +0 -4
- package/lib/duet/p-94dd060e.system.entry.js +0 -4
- package/lib/duet/p-9721d5c8.entry.js +0 -4
- package/lib/duet/p-97a0cefa.system.entry.js +0 -4
- package/lib/duet/p-a1aae246.entry.js +0 -4
- package/lib/duet/p-aa76ed06.system.entry.js +0 -4
- package/lib/duet/p-acb8efa3.system.entry.js +0 -4
- package/lib/duet/p-b519ac77.js +0 -4
- package/lib/duet/p-c0421abd.system.entry.js +0 -4
- package/lib/duet/p-c0a1eca6.system.entry.js +0 -4
- package/lib/duet/p-c9881968.system.entry.js +0 -4
- package/lib/duet/p-cdc5fd58.system.entry.js +0 -4
- package/lib/duet/p-d01530c7.entry.js +0 -4
- package/lib/duet/p-d6f75b8c.system.entry.js +0 -4
- package/lib/duet/p-d89ed9a7.entry.js +0 -4
- package/lib/duet/p-dc42d88f.system.entry.js +0 -4
- package/lib/duet/p-dd01dec3.entry.js +0 -4
- package/lib/duet/p-e0e8af53.system.entry.js +0 -4
- package/lib/duet/p-e4408451.system.entry.js +0 -4
- package/lib/duet/p-e71c9a22.system.entry.js +0 -4
- package/lib/duet/p-e7db4458.system.entry.js +0 -4
- package/lib/duet/p-ecb74e7a.system.js +0 -4
- package/lib/duet/p-eec6e6f2.entry.js +0 -4
- package/lib/duet/p-f5caefda.entry.js +0 -4
- package/lib/duet/p-f89a1ae9.system.entry.js +0 -4
- package/lib/duet/p-fa3fea8e.entry.js +0 -4
- package/lib/duet/p-fcc290f8.system.entry.js +0 -4
- package/lib/esm-es5/tokens-f6b32339.js +0 -4
- package/lib/esm-es5/tokens.module-ed773027.js +0 -4
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,c,o){function i(e){return e instanceof c?e:new c((function(t){t(e)}))}return new(c||(c=Promise))((function(c,r){function d(e){try{s(o.next(e))}catch(e){r(e)}}function n(e){try{s(o["throw"](e))}catch(e){r(e)}}function s(e){e.done?c(e.value):i(e.value).then(d,n)}s((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,i,r,d;return d={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function n(e){return function(t){return s([e,t])}}function s(n){if(o)throw new TypeError("Generator is already executing.");while(d&&(d=0,n[0]&&(c=0)),c)try{if(o=1,i&&(r=n[0]&2?i["return"]:n[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;if(i=0,r)n=[n[0]&2,r.value];switch(n[0]){case 0:case 1:r=n;break;case 4:c.label++;return{value:n[1],done:false};case 5:c.label++;i=n[1];n=[0];continue;case 7:n=c.ops.pop();c.trys.pop();continue;default:if(!(r=c.trys,r=r.length>0&&r[r.length-1])&&(n[0]===6||n[0]===2)){c=0;continue}if(n[0]===3&&(!r||n[1]>r[0]&&n[1]<r[3])){c.label=n[1];break}if(n[0]===6&&c.label<r[1]){c.label=r[1];r=n;break}if(r&&c.label<r[2]){c.label=r[2];c.ops.push(n);break}if(r[2])c.ops.pop();c.trys.pop();continue}n=t.call(e,c)}catch(e){n=[6,e];i=0}finally{o=r=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* Built with Duet Design System
|
|
4
|
+
*/System.register(["./p-a7c2017b.system.js","./p-33b3aba4.system.js","./p-5c8e5f29.system.js","./p-c7ae95bd.system.js","./p-5f6bd5db.system.js","./p-3cb9e865.system.js","./p-51721695.system.js","./p-43660fa9.system.js","./p-eb55ccd2.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,c,o,i,r,d,n,s,a,h,u,l,p,b,g,f,m,k,v;return{setters:[function(e){t=e.r;c=e.c;o=e.h;i=e.H;r=e.g},function(e){d=e.i},function(e){n=e.h},function(e){s=e.D},function(e){a=e.c},function(e){h=e.F},function(e){u=e.i;l=e.h;p=e.f},function(e){b=e.g;g=e.a;f=e.c;m=e.d},function(e){k=e.f;v=e.w},function(){}],execute:function(){var x={title:"messaging-info",tags:"messaging info information circle",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>'};var y='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px);border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';var w=e("duet_choice",function(){function e(e){var o=this;t(this,e);this.duetChange=c(this,"duetChange",7);this.duetFocus=c(this,"duetFocus",7);this.duetBlur=c(this,"duetBlur",7);this.hasHeader=false;this.choiceId=a("DuetChoice");this.expandId=a("DuetChoiceExpand");this.headerId=a("DuetChoiceHeader");this.infoButtonId=a("DuetChoiceInfoButton");this.onMouseEnter=function(){o.isHovering=true};this.onMouseLeave=function(){o.isHovering=false};this.onClick=function(e){o.toggleChecked(e)};this.handleKeyDown=function(e){if(u(e)){o.toggleChecked(e)}if(l(e)&&o.hasInfo){o.toggleInfo()}};this.onChange=function(){o.checked=o.nativeInput.checked||false;o.duetChange.emit({checked:o.checked,value:o.value,component:"duet-choice"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.toggleChecked=function(e){e.preventDefault();e.stopPropagation();if(o.getDisabled()){return}o.isInfoOpen=false;if(o.type==="radio"&&o.checked){return}o.checked=!o.checked;o.duetChange.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.toggleInfo=function(){o.isInfoOpen=!o.isInfoOpen};this.isHovering=false;this.isInfoOpen=false;this.isBlurred=false;this.theme="";this.label="label";this.accessibleLabelInfoButtonDefaults=s;this.accessibleLabelInfoButton=b(this.accessibleLabelInfoButtonDefaults);this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.caption="";this.value=undefined;this.type="checkbox";this.name=undefined;this.checked=false;this.collapsible=false;this.collapsibleForceExpanded=false;this.margin="auto";this.icon="";this.expand=false;this.padding="auto";this.identifier=undefined;this.groupDirection=undefined;this.groupDisabled=undefined;this.groupResponsive=undefined;this.disabled=false;this.required=false;this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"};this.infoLabel=b(this.infoLabelDefaults,g())}e.prototype.componentWillLoad=function(){d(this);this.hasInfo=n(this.element,"info");this.hasHeader=n(this.element,"header");this.hasAdditional=n(this.element,"additional");this.hasLabel=n(this.element,"label");this.hasBeforeText=n(this.element,"before-text")};e.prototype.connectedCallback=function(){f(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"}])};e.prototype.disconnectedCallback=function(){m(this)};e.prototype.handleHostBlur=function(e){if(this.hasInfo&&this.isInfoOpen&&this.isKeyDown){var t=this.element.contains(e===null||e===void 0?void 0:e.relatedTarget)||false;if(!t){this.toggleInfo()}}};e.prototype.handleHostKeyDown=function(){this.isKeyDown=true};e.prototype.handleHostKeyUp=function(e){this.isKeyDown=false;if(p(e)&&this.isInfoOpen){this.toggleInfo()}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.toggleInfoMethod=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isInfoOpen=!this.isInfoOpen;return[2]}))}))};e.prototype.getAriaDescribedby=function(){if(this.accessibleDescribedBy){return this.accessibleDescribedBy}if(this.collapsible||this.hasInfo){if(this.hasHeader){return this.headerId}else{return this.expandId}}return null};e.prototype.getDisabled=function(){return this.disabled||this.groupDisabled};e.prototype.getExpanded=function(){return this.checked||this.collapsibleForceExpanded};e.prototype.getClassNames=function(){if(this.hasInfo&&!this.collapsible){return{checked:this.checked,"duet-choice-card-info":true,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":this.theme==="turva"}}if(!this.hasInfo&&this.collapsible){return{checked:this.checked,"duet-choice-card-collapsible":true,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":this.theme==="turva"}}return{checked:this.checked,"duet-choice-default-slot":true}};e.prototype.render=function(){var e=this;var t=this.element.closest("duet-choice-group");var c=t?t.label:undefined;var r=this.identifier||this.choiceId;return o(i,{class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none","duet-expand":this.expand,"duet-theme-turva":this.theme==="turva","no-hover":this.isHovering,disabled:this.getDisabled()}},o("div",{class:{"duet-choice-card-flextainer":true,"duet-theme-turva":this.theme==="turva"}},o("div",{class:{"duet-choice-card":true,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":this.padding==="none"}},o("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:r,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:function(t){return e.nativeInput=t}}),o("label",{htmlFor:r,class:{"duet-choice-label":true,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&o("slot",{name:"before-text"}),this.icon&&o("div",{class:"duet-choice-card-icon"},o("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),o("div",{class:"duet-choice-card-text"},c&&o("duet-visually-hidden",null,c,", "),o("div",null,this.hasLabel?o("slot",{name:"label"}):this.label),this.caption&&o("div",null,o("duet-spacer",{size:"xx-small"}),o("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&o("div",null,o("duet-spacer",{size:"xx-small"}),o("slot",{name:"additional"}))),o("div",null,o("div",{class:{"duet-checkmark-container":true,"duet-checkmark-radio":this.type==="radio"}},this.checked&&o("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&o("button",{ref:function(t){return e.infoButtonEl=t},id:this.infoButtonId,class:{"duet-choice-info-toggle":true,"duet-theme-turva":this.theme==="turva"},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":"".concat(this.infoLabel," ").concat(this.label),"aria-controls":this.expandId,"aria-flowto":this.expandId,tabindex:this.type==="radio"&&!this.checked?"-1":"0",type:"button"},o("duet-visually-hidden",{"aria-hidden":!this.isBlurred?"true":"false"},this.accessibleLabelInfoButton),o("div",{class:"duet-choice-info-icon"},o("duet-icon",{icon:x.svg,margin:"none",size:"small",color:"currentColor"})))),this.collapsible||this.hasInfo?o("div",{class:this.getClassNames(),id:this.expandId},o("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},o("span",{id:this.headerId},o("slot",{name:"header"})),this.hasInfo?o("span",null,o("span",{"aria-relevant":"all","aria-atomic":"true","aria-live":this.isInfoOpen?"polite":"off"},o("slot",{name:"info"})),o("slot",null)):o("span",null,o("slot",null))),this.isInfoOpen&&o(h,{moveFocusTo:this.infoButtonEl})):null)};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());w.style=y;var I="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";var C=":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";var D=e("duet_choice_group",function(){function e(e){var c=this;t(this,e);this.choiceGroupName="duet-choice-group";this.getChoices=function(){return Array.from(c.element.querySelectorAll(C))};this.isMyChoice=function(e){return c.getChoices().includes(e)};this.onSelect=function(e){if(e.detail.component!=="duet-choice"){return}var t=e.target;if(t&&c.isMyChoice(t)){c.value=t.value}e.cancelBubble=true};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption=undefined;this.tooltip=undefined;this.tooltipDirection="auto";this.responsive=false;this.breakpoint="small";this.value=undefined;this.disabled=undefined}e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var c=this;return __generator(this,(function(o){switch(o.label){case 0:e=this.element;if(!(this.value===undefined))return[3,2];t=k(e,C);if(!(t!==undefined))return[3,2];return[4,t.componentOnReady()];case 1:o.sent();if(this.value===undefined){this.value=t.value}o.label=2;case 2:this.mutationO=v(e,C,(function(e){if(e!==undefined){e.componentOnReady().then((function(){if(c.isMyChoice(e)){c.value=e.value}}))}else{c.updateChoices()}}));this.updateChoices();return[2]}}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};e.prototype.componentWillLoad=function(){d(this)};e.prototype.updateChoices=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,c,o,i,r;return __generator(this,(function(d){e=this.getChoices();t=this.value;c=false;for(o=0,i=e;o<i.length;o++){r=i[o];r.name=this.name;r.groupDisabled=this.disabled;r.groupDirection=this.direction;r.groupResponsive=this.responsive;if(!c&&r.value===t){c=true;r.checked=true}else{r.checked=false}}if(!c){this.value=undefined}return[2]}))}))};e.prototype.render=function(){var e;return o(i,{onDuetChange:this.onSelect,class:{horizontal:this.direction==="horizontal","duet-choice-group-breakpoint-x-small":this.responsive&&this.breakpoint==="x-small","duet-choice-group-breakpoint-small":this.responsive&&this.breakpoint==="small","duet-choice-group-breakpoint-medium":this.responsive&&this.breakpoint==="medium","duet-choice-group-breakpoint-large":this.responsive&&this.breakpoint==="large","duet-choice-group-breakpoint-x-large":this.responsive&&this.breakpoint==="x-large"}},o("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:true,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&o("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("div",{class:(e={},e[this.choiceGroupName]=true,e["duet-no-stacking"]=!this.responsive,e)},o("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}},enumerable:false,configurable:true});return e}());D.style=I}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
System.register(["./p-a7c2017b.system.js","./p-33b3aba4.system.js","./p-51721695.system.js"],(function(e){"use strict";var t,o,n,r,a,i;return{setters:[function(e){t=e.r;o=e.h;n=e.H;r=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var l='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-dropdown-link.active,.duet-toolbar-dropdown-link.active:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-toolbar-dropdown-link.active.duet-theme-turva,.duet-toolbar-dropdown-link.active:hover.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-toolbar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';var s=e("duet_toolbar_dropdown_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.href="#";this.icon=undefined;this.active=false}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-toolbar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return o(n,null,o("a",{class:{"duet-toolbar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&o("duet-icon",{name:this.icon,size:"x-small",margin:"none"}),o("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());s.style=l}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,h as t,H as o,g as a}from"./p-
|
|
4
|
+
import{r as e,h as t,H as o,g as a}from"./p-18f1d30e.js";import{i as r}from"./p-4ebf1618.js";const n=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){r(this)}render(){return t(o,null,t("a",{class:{"duet-toolbar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{size:"x-small",name:this.icon,margin:"none",theme:this.theme,color:"currentColor"}),t("slot",null)))}get element(){return a(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-link:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-link.active{color:rgb(0, 41, 77)}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}';export{n as duet_toolbar_link}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,o,i){function r(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,n){function a(e){try{l(i.next(e))}catch(e){n(e)}}function d(e){try{l(i["throw"](e))}catch(e){n(e)}}function l(e){e.done?o(e.value):r(e.value).then(a,d)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var o={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,a;return a={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function d(e){return function(t){return l([e,t])}}function l(d){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,d[0]&&(o=0)),o)try{if(i=1,r&&(n=d[0]&2?r["return"]:d[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,d[1])).done)return n;if(r=0,n)d=[d[0]&2,n.value];switch(d[0]){case 0:case 1:n=d;break;case 4:o.label++;return{value:d[1],done:false};case 5:o.label++;r=d[1];d=[0];continue;case 7:d=o.ops.pop();o.trys.pop();continue;default:if(!(n=o.trys,n=n.length>0&&n[n.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!n||d[1]>n[0]&&d[1]<n[3])){o.label=d[1];break}if(d[0]===6&&o.label<n[1]){o.label=n[1];n=d;break}if(n&&o.label<n[2]){o.label=n[2];o.ops.push(d);break}if(n[2])o.ops.pop();o.trys.pop();continue}d=t.call(e,o)}catch(e){d=[6,e];r=0}finally{i=n=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* Built with Duet Design System
|
|
4
|
+
*/System.register(["./p-a7c2017b.system.js","./p-dd994793.system.js","./p-053b71e6.system.js","./p-c7ae95bd.system.js","./p-33b3aba4.system.js","./p-43660fa9.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,o,i,r,n,a,d,l,u,s,p,c,f,m;return{setters:[function(e){t=e.r;o=e.c;i=e.h;r=e.F;n=e.g},function(e){a=e.a},function(e){d=e.a},function(e){l=e.D},function(e){u=e.i},function(e){s=e.a;p=e.g;c=e.c;f=e.d},function(e){m=e.p}],execute:function(){var h={title:"action-new-window",tags:"arrow open new window tab external link square box rectangle action",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>'};var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:36px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin:0}}.duet-footer{display:block;width:100%;padding-top:20px;padding-bottom:16px;margin-top:48px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(255, 255, 255);text-align:left;background:rgb(0, 41, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 36em){.duet-footer{padding-top:36px}}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:rgb(198, 12, 48)}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center;justify-content:space-between}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1.5}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;justify-content:space-between}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row}}duet-logo{margin-left:16px !important}@media (min-width: 36em){duet-logo{margin-left:28px !important}}@media (min-width: 62em){duet-logo{margin-left:0 !important}}.duet-footer-link{padding:16px !important;display:flex;flex-direction:row;align-items:center;width:100%;font-weight:600;border-bottom:1px solid rgba(255, 255, 255, 0.2);transition:background-color 300ms ease}@media (min-width: 36em){.duet-footer-link{padding-right:20px !important;padding-left:28px !important}}@media (min-width: 62em){.duet-footer-link{width:auto;min-width:0;padding-right:0 !important;padding-left:0 !important;border:0}}.duet-footer-link:first-of-type{margin-top:20px;border-top:1px solid rgba(255, 255, 255, 0.2)}@media (min-width: 62em){.duet-footer-link:first-of-type{margin:0;border:0}}.duet-footer-link span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duet-footer-link:hover{background:rgba(0, 0, 0, 0.1)}@media (min-width: 62em){.duet-footer-link:hover{background:transparent}}.duet-footer-icon{display:flex;align-items:center;justify-content:center;padding:12px;margin-right:16px;background:rgb(0, 119, 179);border-radius:50%;transition:300ms ease}.duet-theme-turva .duet-footer-icon{background:transparent;box-shadow:0 0 0 1px #fff}a:hover .duet-footer-icon{background:#006ba1}.duet-theme-turva a:hover .duet-footer-icon{background:transparent}.duet-footer-arrow{display:flex;align-items:center;justify-content:center;width:20px;min-width:20px;max-width:20px;height:20px;max-height:20px;margin-left:auto;color:rgb(255, 255, 255);transition:transform 300ms ease}@media (min-width: 62em){.duet-footer-arrow{width:10px;min-width:10px;margin-top:3px;margin-left:8px}}@media (min-width: 62em){.duet-footer-arrow{margin-right:0}}a:hover .duet-footer-arrow{transform:translateX(4px)}.duet-footer-arrow duet-icon{width:20px;height:20px}@media (min-width: 62em){.duet-footer-arrow duet-icon{width:10px;height:10px}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-left:8px !important}}.duet-footer-menu a{display:inline-block;text-decoration:none;word-break:break-all}.duet-footer-menu a:hover,.duet-footer-menu a:focus{text-decoration:underline}.duet-footer-menu a:hover .duet-footer-divider,.duet-footer-menu a:focus .duet-footer-divider{text-decoration:none}.duet-footer-menu .duet-footer-divider{display:inline-block;margin:0 8px}.duet-footer-menu .duet-footer-divider-copyright{display:none}.duet-footer-menu .duet-footer-menu-links{flex:1}@media (min-width: 62em){.duet-footer-menu .duet-footer-menu-links{text-align:right}}.duet-footer-menu a:last-of-type .duet-footer-divider{display:none}.duet-footer-copyright{display:none;font-size:0.875rem;color:rgb(255, 255, 255)}@media (min-width: 62em){.duet-footer-copyright{display:inline}}.duet-footer-copyright.duet-footer-copyright-mobile{display:block;padding-top:0.5rem;padding-bottom:1.25rem;padding-left:2rem;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(0, 41, 77);background:transparent !important;border-top:1px solid rgb(225, 227, 230)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(0, 41, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 28, 58)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(198, 12, 48)}';var b={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}};var x=function(e,t){return{component:"duet-footer",data:t,originalEvent:e}};var v=e("duet_footer",function(){function e(e){var i=this;t(this,e);this.duetChange=o(this,"duetChange",3);this.duetLogoClick=o(this,"duetLogoClick",7);this.duetMenuClick=o(this,"duetMenuClick",7);this.duetItemClick=o(this,"duetItemClick",7);this.duetAnalytics=o(this,"duetAnalytics",7);this.duetEvent=o(this,"duetEvent",7);this.handleClick=function(e){if(e.data.analyticsId){i.duetAnalytics.emit({component:"duet-footer",analyticsId:e.data.analyticsId})}i.duetChange.emit(e)};this.handleLogoClick=function(e){var t=x(e,{href:i.logoHref,label:"logo"});i.duetLogoClick.emit(t);i.handleClick(t)};this.handleMenuClick=function(e,t){var o=x(e,t);i.handleClick(o);i.duetMenuClick.emit(o)};this.handleItemClick=function(e,t){var o=x(e,t);i.handleClick(o);i.duetItemClick.emit(o)};this.emitDuetEvent=function(e,t){i.duetEvent.emit({component:"duet-footer",data:t,originalEvent:e})};this.processedMainItem=null;this.processedItems=null;this.processedMenu=null;this.theme="";this.variation="default";this.margin="auto";this.logoHref="/";this.language=s();this.items=undefined;this.accessibleLabel=undefined;this.accessibleLabelExternalDefaults=l;this.accessibleLabelExternal=p(this.accessibleLabelExternalDefaults);this.menu=undefined}e.prototype.componentWillLoad=function(){u(this);this.refresh();this.hasInfoSlot=!!this.element.querySelector(":scope > [slot='info']")};e.prototype.connectedCallback=function(){c(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){f(this)};e.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.processedItems=m(this.items);this.processedMenu=m(this.menu);return[2]}))}))};e.prototype.renderFooterTop=function(){var e=this;var t=i("div",{class:{"footer-top-logo":this.hasInfoSlot}},this.variation!=="simple"&&i("duet-logo",{href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:true,language:this.language,theme:this.theme}));var o=this.processedItems&&this.variation!=="simple"&&this.processedItems.map((function(t){return i("a",{class:"duet-footer-link",href:t.href,id:t.id,target:t.external?"_blank":"_self",onClick:function(o){return e.handleItemClick(o,t)},onMouseEnter:function(o){return e.emitDuetEvent(o,t)},onTouchStart:function(o){return e.emitDuetEvent(o,t)}},i("div",{class:"duet-footer-icon"},i("duet-icon",{size:"medium",margin:"none",name:t.icon,color:"currentColor"})),i("span",null,t.label),!t.hideArrow&&i(r,null,t.external&&i("duet-visually-hidden",null,", ",e.accessibleLabelExternal),i("div",{class:"duet-footer-arrow"},t.external?i("duet-icon",{icon:h.svg,size:"xx-small",margin:"none",color:"currentColor"}):i("duet-icon",{icon:a.svg,size:"auto",margin:"none",color:"currentColor"}))))}));if(this.hasInfoSlot){return i(r,null,t,i("div",{class:"footer-top-right-container"},i("slot",{name:"info"}),i("div",{class:"footer-top-items"},o)))}return i(r,null,t,o)};e.prototype.render=function(){var e=this;var t=p(b);var o=this.theme==="turva"?t.turva:t.lahi;return i("footer",{class:{"duet-footer":true,"duet-m-0":this.margin==="none","duet-theme-turva":this.theme==="turva","duet-footer-simple":this.variation==="simple"},"aria-label":this.accessibleLabel},i("div",{class:"duet-footer-wrapper"},i("div",{class:"duet-footer-top",part:"top"},this.renderFooterTop()),i("slot",{name:"extra"}),i("p",{class:"duet-footer-menu",part:"menu"},i("span",{class:"duet-footer-copyright"},"".concat(o," ").concat((new Date).getFullYear())),i("div",{class:"duet-footer-menu-links"},this.processedMenu&&i(r,null,this.processedMenu.map((function(t){return i("a",{href:t.href,id:t.id,target:t.external?"_blank":"_self",onClick:function(o){return e.handleMenuClick(o,t)},onMouseEnter:function(o){return e.emitDuetEvent(o,t)},onTouchStart:function(o){return e.emitDuetEvent(o,t)}},t.label,t.external&&i(r,null,i("duet-visually-hidden",null,", ",e.accessibleLabelExternal),i("div",{class:"duet-footer-external"},i("duet-icon",{icon:d.svg,size:"xx-small",margin:"none",color:"currentColor"}))),i("span",{class:"duet-footer-divider",role:"presentation","aria-hidden":"true"},"/"))}))))),i("p",{class:"duet-footer-copyright duet-footer-copyright-mobile"},"".concat(o," ").concat((new Date).getFullYear()))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{menu:["refresh"],items:["refresh"]}},enumerable:false,configurable:true});return e}());v.style=g}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
System.register([],(function(r){"use strict";return{execute:function(){var a="rgb(247, 178, 40)";var o="rgb(101, 119, 135)";var e="rgb(245, 248, 250)";var v="rgb(211, 36, 131)";var i=r("k","rgb(0, 119, 179)");var l="rgb(54, 74, 129)";var g="rgb(0, 135, 90)";var t="rgb(11, 114, 136)";var p="rgb(243, 249, 252)";var x="rgb(230, 242, 248)";var c="rgb(0, 161, 212)";var s="rgb(0, 77, 128)";var m=r("n","rgb(255, 255, 255)");var n="rgb(122, 1, 196)";var b="rgb(144, 149, 153)";var d="rgb(225, 227, 230)";var u="rgb(0, 41, 77)";var y="rgb(168, 1, 78)";var S="rgb(205, 229, 241)";var h="rgb(213, 66, 3)";var z=r("l","rgb(207, 210, 212)");var T="rgb(222, 35, 98)";var I="rgb(68, 68, 69)";var L="rgb(245, 245, 247)";var D="rgb(161, 10, 78)";var f=r("i","rgb(198, 12, 48)");var w="rgb(23, 28, 58)";var X="rgb(8, 135, 78)";var C="rgb(252, 243, 244)";var H="rgb(199, 12, 112)";var M="rgb(169, 69, 124)";var B="rgb(249, 230, 234)";var k="rgb(148, 9, 37)";var F="rgb(255, 255, 255)";var G="rgb(116, 116, 117)";var P="rgb(228, 228, 230)";var U=r("o","rgb(178, 180, 179)");var E="rgb(23, 28, 58)";var j="rgb(244, 207, 214)";var Q="rgb(9, 129, 148)";var A=r("j","rgb(207, 207, 209)");var W="rgb(224, 42, 13)";var R="rgb(250, 164, 15)";var _="rgb(192, 101, 247)";var N="rgb(0, 105, 191)";var O="rgb(19, 120, 53)";var V="rgb(179, 60, 24)";var q="rgb(13, 163, 166)";var J="rgb(122, 1, 196)";var K="rgb(11, 114, 136)";var Y="rgb(0, 155, 204)";var Z="rgb(179, 137, 24)";var $="rgb(27, 171, 75)";var rr="rgb(128, 98, 17)";var ar="rgb(255, 86, 34)";var or="rgb(0, 41, 77)";var er="rgb(245, 76, 154)";var vr="rgb(194, 21, 101)";var ir="800";var lr="-0.01rem";var gr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var tr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var pr="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var xr="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var cr="700";var sr="400";var mr="600";var nr="4.5rem";var br="3rem";var dr="2.25rem";var ur="1.5rem";var yr="1.25rem";var Sr="1rem";var hr="0.875rem";var zr="0.75rem";var Tr="0";var Ir="4px";var Lr="8px";var Dr="20px";var fr="50%";var wr="20rem";var Xr="0 2px 10px 0 rgba(117, 117, 117, 0.13)";var Cr="0 0 0 1px #171c3a";var Hr="0 2px 6px 0 rgba(0, 41, 77, 0.07)";var Mr="0 0 0 1px #0077b3";var Br="0 2px 10px 0 rgba(0, 41, 77, 0.07)";var kr="0 0 0 1px #0077b3";var Fr="0 0 0 1px #e55039";var Gr="0 0 0 1px #909599";var Pr="0 0 0 1px #de2362";var Ur="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";var Er="0 2px 20px 0 rgba(0, 0, 0, 0.2)";var jr="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";var Qr="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a";var Ar="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3";var Wr="0 2px 10px 0 rgba(117, 117, 117, 0.15)";var Rr="0 2px 10px 0 rgba(0, 41, 77, 0.1)";var _r="0 2px 6px 0 rgba(117, 117, 117, 0.13)";var Nr="4px";var Or="20px";var Vr="8px";var qr="2px";var Jr="12px";var Kr="16px";var Yr="36px";var Zr="72px";var $r="94px";var ra="48px";var aa="28px";var oa="48px";var ea="1px";var va="40px";var ia="8rem";var la=r("s","4rem");var ga="72px";var ta="36px";var pa="10px";var xa="30px";var ca=r("p","3rem");var sa="30px";var ma="1110px";var na="48px";var ba="16px";var da="7px";var ua="2px";var ya="1px";var Sa="24px";var ha="20px";var za="0.85";var Ta="0.75";var Ia="0.50";var La="0.30";var Da="250";var fa="600";var wa="800";var Xa="1";var Ca="500";var Ha="950";var Ma="900";var Ba="300";var ka="100";var Fa="-999999";var Ga="700";var Pa="200";var Ua="400";var Ea="1.5";var ja="1.25";var Qa="1.1";var Aa="300ms ease";var Wa="600ms ease";var Ra=r("g","'(min-width: 106.25em)'");var _a=r("e","'(min-width: 64.0625em)'");var Na=r("c","'(min-width: 48em)'");var Oa=r("d","'(min-width: 62em)'");var Va=r("f","'(min-width: 76.25em)'");var qa=r("a","'(max-width: 35.9375em)'");var Ja=r("h","'(max-width: 20.5em)'");var Ka=r("b","'(min-width: 36em)'");var Ya=r("m","'(max-width: 22.5em)'");var Za=Object.freeze({__proto__:null,colorWarning:a,colorGrayDarker:o,colorGrayLighter:e,colorCategoryHome:v,colorPrimary:i,colorCategoryVehicle:l,colorSuccess:g,colorCategoryFamily:t,colorPrimaryLightest:p,colorPrimaryLighter:x,colorBrandBlue:c,colorPrimaryDark:s,colorGrayLightest:m,colorCategoryFinance:n,colorGrayDark:b,colorGrayLight:d,colorSecondary:u,colorCategoryPet:y,colorPrimaryLight:S,colorCategoryTravel:h,colorGray:z,colorDanger:T,colorGrayDarkerTurva:I,colorGrayLighterTurva:L,colorCategoryHomeTurva:D,colorPrimaryTurva:f,colorCategoryVehicleTurva:w,colorSuccessTurva:X,colorPrimaryLightestTurva:C,colorCategoryFamilyTurva:H,colorCategoryUnionTurva:M,colorPrimaryLighterTurva:B,colorPrimaryDarkTurva:k,colorGrayLightestTurva:F,colorGrayDarkTurva:G,colorGrayLightTurva:P,colorBrandGrayTurva:U,colorSecondaryTurva:E,colorPrimaryLightTurva:j,colorCategoryTravelTurva:Q,colorGrayTurva:A,colorDangerTurva:W,colorWarningTurva:R,colorData07:_,colorData08:N,colorData09:O,colorData10:V,colorData11:q,colorData01:J,colorData12:K,colorData02:Y,colorData13:Z,colorData03:$,colorData14:rr,colorData04:ar,colorData15:or,colorData05:er,colorData06:vr,fontWeightExtraBold:ir,letterSpacingHeading:lr,fontFamilyHeadingTurva:gr,fontFamilyTextTurva:tr,fontFamilyHeading:pr,fontFamilyText:xr,fontWeightBold:cr,fontWeightNormal:sr,fontWeightSemiBold:mr,fontSizeXxxxLarge:nr,fontSizeXxxLarge:br,fontSizeXxLarge:dr,fontSizeXLarge:ur,fontSizeLarge:yr,fontSizeMedium:Sr,fontSizeSmall:hr,fontSizeXSmall:zr,radiusSharp:Tr,radiusDefault:Ir,radiusMedium:Lr,radiusLarge:Dr,radiusCircle:fr,radiusPill:wr,shadowTooltipTurva:Xr,shadowFocusInputTurva:Cr,shadowDefault:Hr,shadowFocusInput:Mr,shadowTooltip:Br,shadowHoverInputTurva:kr,shadowErrorTurva:Fr,shadowHoverInput:Gr,shadowError:Pr,shadowCardTurva:Ur,shadowModal:Er,shadowCard:jr,shadowFocusTurva:Qr,shadowFocus:Ar,shadowHoverTurva:Wr,shadowHover:Rr,shadowDefaultTurva:_r,spaceXxSmall:Nr,spaceLarge:Or,spaceXSmall:Vr,spaceXxxSmall:qr,spaceSmall:Jr,spaceMedium:Kr,spaceXxLarge:Yr,spaceXxxxLarge:Zr,spaceXxxxxLarge:$r,spaceXxxLarge:ra,spaceXLarge:aa,sizeIconXxLarge:oa,sizeFormBorder:ea,sizeStepMedium:va,sizeButtonMinWidth:ia,sizeHeader:la,sizeIconXxxLarge:ga,sizeIconXLarge:ta,sizeIconXxSmall:pa,sizeStepSmall:xa,sizeNavigation:ca,sizeIconLarge:sa,sizeLayoutMaxWidth:ma,sizeTappableSquare:na,sizeIconXSmall:ba,sizeIconXxxSmall:da,sizeButtonBorder:ua,sizeButtonTinyBorder:ya,sizeIconMedium:Sa,sizeIconSmall:ha,opacity85:za,opacity75:Ta,opacity50:Ia,opacity30:La,zIndexMaskButtons:Da,zIndexDropdown:fa,zIndexSpinner:wa,zIndexDefault:Xa,zIndexToast:Ca,zIndexPopup:Ha,zIndexModal:Ma,zIndexSticky:Ba,zIndexMasked:ka,zIndexDeep:Fa,zIndexOverlay:Ga,zIndexMask:Pa,zIndexHeader:Ua,lineHeightMedium:Ea,lineHeightSmall:ja,lineHeightXSmall:Qa,transitionQuickly:Aa,transitionSlowly:Wa,mediaQueryXxxLarge:Ra,mediaQueryXLarge:_a,mediaQueryMedium:Na,mediaQueryLarge:Oa,mediaQueryXxLarge:Va,mediaQueryXSmall:qa,mediaQueryXxxSmall:Ja,mediaQuerySmall:Ka,mediaQueryXxSmall:Ya});r("t",Za)}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(t,e,i,o){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function s(t){try{l(o.next(t))}catch(t){a(t)}}function r(t){try{l(o["throw"](t))}catch(t){a(t)}}function l(t){t.done?i(t.value):n(t.value).then(s,r)}l((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,n,a,s;return s={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function r(t){return function(e){return l([t,e])}}function l(r){if(o)throw new TypeError("Generator is already executing.");while(s&&(s=0,r[0]&&(i=0)),i)try{if(o=1,n&&(a=r[0]&2?n["return"]:r[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,r[1])).done)return a;if(n=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;n=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){i.label=r[1];break}if(r[0]===6&&i.label<a[1]){i.label=a[1];a=r;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(r);break}if(a[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];n=0}finally{o=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-
|
|
4
|
+
*/System.register(["./p-a7c2017b.system.js","./p-885b38a9.system.js","./p-a659351d.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-51721695.system.js","./p-43660fa9.system.js","./p-2bf922c1.system.js","./p-b6d51921.system.js"],(function(t){"use strict";var e,i,o,n,a,s,r,l,c,u,p,h,f,d,b,m,v,g;return{setters:[function(t){e=t.r;i=t.h;o=t.H;n=t.g},function(t){a=t.m;s=t.a},function(t){r=t.c;l=t.f;c=t.s;u=t.a},function(t){p=t.i},function(t){h=t.c},function(t){f=t.f},function(t){d=t.a;b=t.g;m=t.c;v=t.d},function(t){g=t.T},function(){}],execute:function(){var y="*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";var w=t("duet_tooltip",function(){function t(t){var i=this;e(this,t);this.mql=[window.matchMedia(a.replace(/'/g,"")),window.matchMedia(s.replace(/'/g,""))];this.tooltipId=h("DuetTooltip");this.openTooltip=function(){i.active=true;i.focusTarget="tooltip";i.teleport.go()};this.closeTooltip=function(t){if(t===void 0){t=false}i.active=false;if(t){i.focusTarget="trigger"}setTimeout((function(){i.teleport.resume();i.updatePlacement()}),200)};this.toggleOpen=function(){i.active?i.closeTooltip():i.openTooltip()};this.updatePlacement=function(){return __awaiter(i,void 0,void 0,(function(){var t,e,i,o,n;return __generator(this,(function(a){switch(a.label){case 0:i=true;if(this.breakpoint==="large"&&!this.mql[1].matches){i=false}else if(this.breakpoint==="medium"&&!this.mql[0].matches){i=false}o=i?"top-start":"top-end";if(this.direction==="left"){o="top-end"}else if(this.direction==="right"){o="top-start"}return[4,r(this.buttonEl,this.popupElement,{placement:o,middleware:[l(),c({padding:5}),u({element:this.arrowEl})]})];case 1:n=a.sent();this.tooltipY=n.y;this.tooltipX=n.x;this.placement=n.placement;this.arrowY=(t=n.middlewareData.arrow)===null||t===void 0?void 0:t.y;this.arrowX=(e=n.middlewareData.arrow)===null||e===void 0?void 0:e.x;return[2]}}))}))};this.placement="bottom";this.tooltipY=undefined;this.tooltipX=undefined;this.arrowX=undefined;this.arrowY=undefined;this.theme="";this.language=d();this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"};this.accessibleLabel=b(this.accessibleLabelDefault,this.language);this.accessibleInputLabel=undefined;this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"};this.accessibleCloseLabel=b(this.accessibleCloseLabelDefault,this.language);this.label="";this.breakpoint="medium";this.direction="auto";this.positionVertical="0";this.positionHorizontal="0";this.active=false}t.prototype.componentWillLoad=function(){p(this)};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:t=this;return[4,this.popupElement.getArrowElement()];case 1:t.arrowEl=i.sent();e=this;return[4,this.popupElement.getContentElement()];case 2:e.contentEl=i.sent();this.teleport=new g(this.popupElement);{this.updatePlacement()}if(this.active){this.openTooltip()}this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body});this.intersectionObserver.observe(this.element);return[2]}}))}))};t.prototype.componentDidUpdate=function(){var t=this;switch(this.focusTarget){case"tooltip":setTimeout((function(){return t.contentEl.focus({preventScroll:true})}));break;case"trigger":setTimeout((function(){return t.buttonEl.setFocus({preventScroll:true})}));break}this.focusTarget=null};t.prototype.connectedCallback=function(){m(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])};t.prototype.disconnectedCallback=function(){v(this)};t.prototype.onScroll=function(){var t=this;clearTimeout(this.scrollTimer);this.scrollTimer=setTimeout((function(){if(t.active){t.updatePlacement()}}),100)};t.prototype.handleWindowResize=function(){var t=this;clearTimeout(this.resizeTimer);this.resizeTimer=setTimeout((function(){t.updatePlacement()}),100)};t.prototype.handleDocumentClick=function(t){var e=this;if(!this.active){return}var i=t.composedPath();var o=i.every((function(t){return t!==e.element&&t!==e.contentEl}));if(o){this.closeTooltip()}};t.prototype.handleKeyDown=function(t){if(this.active&&f(t)){this.closeTooltip(true)}};t.prototype.handlePopupClose=function(){if(this.active){this.closeTooltip(true)}};t.prototype.handleActiveChange=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){if(t){this.updatePlacement()}else{setTimeout((function(){return e.updatePlacement()}),300)}return[2]}))}))};t.prototype.render=function(){var t=this;var e={transform:"translateY(".concat(this.positionVertical,") translateX(").concat(this.positionHorizontal,")"),zIndex:this.active?"201":""};var n={top:"".concat(this.tooltipY,"px"),left:"".concat(this.tooltipX,"px"),display:"block","pointer-events":this.active?"auto":"none"};var a={top:this.arrowY?"".concat(this.arrowY,"px"):undefined,left:this.arrowX?"".concat(this.arrowX,"px"):undefined};return i(o,{style:e},i("duet-tooltip-button",{ref:function(e){return t.buttonEl=e},active:this.active,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel?"".concat(this.accessibleInputLabel,", ").concat(this.accessibleLabel):this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme}),i("duet-tooltip-popup",{ref:function(e){return t.popupElement=e},active:this.active,tooltipId:this.tooltipId,arrowStyles:a,style:n,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},i("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["handleActiveChange"]}},enumerable:false,configurable:true});return t}());w.style=y}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,o){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function u(t){try{d(o.next(t))}catch(t){i(t)}}function a(t){try{d(o["throw"](t))}catch(t){i(t)}}function d(t){t.done?n(t.value):r(t.value).then(u,a)}d((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(e){return d([t,e])}}function d(a){if(o)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(n=0)),n)try{if(o=1,r&&(i=a[0]&2?r["return"]:a[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;if(r=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];r=0}finally{o=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* Built with Duet Design System
|
|
4
|
+
*/System.register(["./p-a7c2017b.system.js","./p-33b3aba4.system.js","./p-c7ae95bd.system.js","./p-43660fa9.system.js","./p-b760c72b.system.js","./p-b6d51921.system.js","./p-9d033a04.system.js"],(function(t){"use strict";var e,n,o,r,i,u,a,d,b,s,l,p;return{setters:[function(t){e=t.r;n=t.c;o=t.h;r=t.H;i=t.g},function(t){u=t.i},function(t){a=t.D},function(t){d=t.a;b=t.g;s=t.c;l=t.d},function(t){p=t.g},function(){},function(){}],execute:function(){var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.small{padding-left:20px !important}.duet-button.plain.icon.small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium-small{padding-left:20px !important}.duet-button.plain.icon.medium-small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}';var h=t("duet_button",function(){function t(t){var o=this;e(this,t);this.duetFocus=n(this,"duetFocus",7);this.duetBlur=n(this,"duetBlur",7);this.handleClick=function(t){if(!o.url&&o.element.closest("form")){t.preventDefault();o.proxyButton.click()}};this.onFocus=function(){o.duetFocus.emit()};this.onBlur=function(){o.duetBlur.emit()};this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.loading=false;this.variation="default";this.negative=false;this.theme="";this.margin="auto";this.padding="auto";this.centerText=false;this.wrapping="auto";this.expand=false;this.fixed=false;this.disabled=false;this.name=undefined;this.value=undefined;this.identifier=undefined;this.submit=false;this.external=false;this.language=d();this.accessibleLabelExternalDefaults=a;this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults);this.icon="";this.color="";this.iconRight=false;this.iconSize="medium";this.size="medium";this.iconOnly=false;this.url=undefined}t.prototype.componentWillLoad=function(){u(this);if(this.url&&this.external&&this.icon){console.warn("[DUET]: Button used as an external link will override any icon that is set")}};t.prototype.connectedCallback=function(){this.proxyButton=document.createElement("button");this.proxyButton.style.display="none";this.syncToProxyButton();s(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"});if(!this.url&&this.element.closest("form")){this.element.insertAdjacentElement("beforebegin",this.proxyButton)}};t.prototype.disconnectedCallback=function(){this.proxyButton.remove();this.proxyButton=null;l(this)};t.prototype.syncToProxyButton=function(){this.proxyButton.type=this.getButtonType();this.proxyButton.disabled=this.disabled;if(this.name!=null){this.proxyButton.name=this.name}else{this.proxyButton.removeAttribute("name")}if(this.value!=null){this.proxyButton.value=this.value}else{this.proxyButton.removeAttribute("value")}};t.prototype.getButtonType=function(){return this.submit?"submit":"button"};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t,e,n;var i=this;var u;var a=this.external&&this.url;var d=a?"action-new-window":this.icon;var b=a?true:this.iconRight;var s=o("span",{class:"duet-button-contents",style:{color:p(this.color)}},d&&o("div",{"aria-hidden":"true",class:(t={"duet-button-icon":true,left:!b,right:b},t[this.iconSize]=true,t)},o("duet-icon",{size:"auto",margin:"none",name:d,color:"currentColor"})),o("slot",null));var l={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return i.nativeButton=t},id:this.identifier,class:(e={"duet-m-0":this.margin==="none","duet-p-0":this.padding==="none","duet-no-wrap":this.wrapping==="none","duet-button":true,"duet-button-is-small":this.size==="small","duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||this.variation==="negative"},e[this.variation]=true,e.disabled=this.disabled,e.icon=!!d,e["icon-right"]=b,e[this.iconSize]=true,e),"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(r,{onClick:this.handleClick,class:{"duet-m-0":this.margin==="none","duet-small":this.size==="small","duet-fixed":this.fixed,"duet-expand":this.expand,"input-button":(u=this.variation)===null||u===void 0?void 0:u.startsWith("input-button")}},o("div",{class:(n={"duet-button-container":true,"duet-button-is-loading":this.loading,"duet-theme-turva":this.theme==="turva","duet-button-negative":this.negative||this.variation==="negative"},n[this.variation]=true,n)},this.url?o("a",Object.assign({},l,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":undefined}),s,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},l,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":this.accessiblePressed!=null?this.accessiblePressed.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,"aria-disabled":this.disabled}),s),this.loading&&o("duet-spinner",{color:"currentColor"})))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["syncToProxyButton"],submit:["syncToProxyButton"],value:["syncToProxyButton"],name:["syncToProxyButton"]}},enumerable:false,configurable:true});return t}());h.style=c;var m=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}';var g=t("duet_spinner",function(){function t(t){e(this,t);this.accessibleLabel=undefined;this.color="gray-lightest";this.size="small";this.theme=""}t.prototype.componentWillLoad=function(){u(this)};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":p(this.color);return o(r,{class:{"duet-custom-color":this.color!=="currentColor"&&this.theme!=="turva"&&this.theme!=="default","duet-theme-turva":this.theme==="turva"&&this.color!=="currentColor","duet-theme-default":this.theme==="default"&&this.color!=="currentColor"}},o("div",{class:(t={"duet-spinner":true},t[this.size]=true,t),style:{color:e},"aria-label":this.accessibleLabel}))};return t}());g.style=m}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-a7c2017b.system.js","./p-33b3aba4.system.js","./p-b760c72b.system.js","./p-9d033a04.system.js"],(function(e){"use strict";var t,o,r,i,a,n;return{setters:[function(e){t=e.r;o=e.h;r=e.H;i=e.g},function(e){a=e.i},function(e){n=e.g},function(){}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}';var l=e("duet_promo_card",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}e.prototype.componentWillLoad=function(){a(this);this.hasPreHeadingSlot=!!this.element.querySelector('[slot="pre-heading"]');this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]');this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]');this.hasActionSlot=!!this.element.querySelector('[slot="action"]')};e.prototype.render=function(){var e=n(this.backgroundColor,this.theme);var t={backgroundColor:e?e:"none"};var i=this.url?"a":"div";return o(r,{class:{"duet-m-0":this.margin==="none"}},o("aside",{class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor},style:t},o(i,{href:this.url,class:"content-wrapper"},o("img",{class:"image",src:this.image,alt:"",role:"presentation"}),o("div",{class:"content"},this.hasPreHeadingSlot&&o("div",{class:"pre-heading"},o("slot",{name:"pre-heading"})),this.hasHeadingSlot&&o("div",{class:"heading"},o("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},o("slot",{name:"heading"}))),this.hasDescriptionSlot&&o("div",{class:"description"},o("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},o("slot",{name:"description"}))),this.hasActionSlot&&o("div",{class:"action"},o("slot",{name:"action"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());l.style=s}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,c as e,h as i,H as s}from"./p-
|
|
4
|
+
import{r as t,c as e,h as i,H as s}from"./p-18f1d30e.js";import{i as a}from"./p-4ebf1618.js";import{c as r}from"./p-c1325e35.js";import{g as o,c as n,d}from"./p-03baceb5.js";import"./p-5a9d75e1.js";const l=class{constructor(i){t(this,i),this.duetDismiss=e(this,"duetDismiss",7),this.descriptiveId=r("DuetAlert"),this.handleDismiss=t=>{this.handleHide(),this.duetDismiss.emit({component:"duet-alert",originalEvent:t})},this.handleShow=()=>{this.isDismissed=!1},this.handleHide=()=>{this.isDismissed=!0},this.theme="",this.isDismissed=!1,this.timeoutID=void 0,this.accessibleLabelDefaults={fi:"Sulje viesti",sv:"Stäng meddelandet",en:"Close the message"},this.accessibleLabel=o(this.accessibleLabelDefaults),this.announcements=!0,this.icon="",this.autoDismiss=void 0,this.margin="auto",this.padding="auto",this.variation="default",this.dismissible=!1,this.focusable=!1}componentWillLoad(){a(this)}componentDidLoad(){this.autoDismiss&&(this.timeoutID=setTimeout((()=>this.handleDismiss()),this.autoDismiss))}connectedCallback(){n(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"})}disconnectedCallback(){this.timeoutID&&clearTimeout(this.timeoutID),d(this)}async show(){this.handleShow()}async hide(){this.handleHide()}async setFocus(t){this.alertContainer.focus(t)}render(){const t="turva"===this.theme?"secondary-turva":"secondary";return i(s,{class:{"duet-theme-turva":"turva"===this.theme,"duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"danger"===this.variation||"warning"===this.variation?"alert":"status":void 0},i("div",{class:{"duet-alert":!0,"duet-alert-has-icon":!!this.icon,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[this.variation]:!0,"duet-theme-turva":"turva"===this.theme}},i("div",{class:"duet-alert-container",ref:t=>{this.alertContainer=t},tabindex:this.focusable?"0":void 0},this.icon&&i("div",{class:"duet-alert-icon"},i("duet-icon",{size:"auto",name:this.icon,color:"currentColor"})),i("span",{id:this.descriptiveId},i("slot",null))),this.dismissible&&i("div",{class:"duet-alert-dismiss"},i("duet-button",{variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,color:t,iconSize:"medium",icon:"navigation-close",iconOnly:!0,margin:"none",theme:this.theme,onClick:this.handleDismiss,fixed:!0}))))}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding:16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:rgb(250, 164, 15)}.duet-alert.danger{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-alert.success{background:#f2f9f7;border-color:rgb(0, 135, 90)}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:rgb(8, 135, 78)}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}';export{l as duet_alert}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,c as e,h as a,H as r,g as i}from"./p-f7418b24.js";import{i as s}from"./p-4ebf1618.js";import{c as o}from"./p-c1325e35.js";import{c as d}from"./p-56118313.js";const u=({value:t,maxlength:e,label:r,theme:i})=>{if(null==e)return;const s=t.length,o=Math.max(e-s,0);return a("div",{class:"duet-character-count"},a("duet-caption",{margin:"none",theme:i,size:"small"},a("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true",class:"duet-textarea-counter-remaining"},o/e<=.1&&`${o} ${r}`),a("span",{"aria-hidden":"true"},s,"/",e)))},h=class{constructor(a){t(this,a),this.duetInput=e(this,"duetInput",7),this.duetChange=e(this,"duetChange",7),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.textareaId=o("DuetTextarea"),this.topCaptionId=o("DuetCaptionTop"),this.topCaptionPlaceholderId=o("DuetCaptionPlaceholderTop"),this.labelId=o("DuetLabel"),this.errorId=o("DuetError"),this.characterCountId=o("DuetCharacterCount"),this.disallowPatternRegex=null,this.handleInput=t=>{this.disallowPatternRegex&&d(this.nativeInput,this.disallowPatternRegex),this.value=this.nativeInput.value,this.isCaptionVisible=!!this.caption,this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.handleChange=t=>{this.value=this.nativeInput.value,this.duetChange.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.handleBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.handleFocus=t=>{this.counter&&(this.hiddenCounterLabel.textContent=`${Math.max(this.maxlength-this.value.length,0)}/${this.maxlength} ${this.counterLabel}`),this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),this.counter&&t.push(this.characterCountId),t.length>0?t.join(" "):null},this.margin="auto",this.accessibleActiveDescendant=void 0,this.accessibleAutocomplete=void 0,this.accessibleControls=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveError="polite",this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.theme="",this.expand=!1,this.disabled=!1,this.identifier=void 0,this.required=!1,this.label="label",this.labelHidden=!1,this.name=void 0,this.placeholder=void 0,this.caption=void 0,this.echoPlaceholder=!1,this.maxlength=void 0,this.minlength=void 0,this.error="",this.role=void 0,this.tooltip="",this.tooltipDirection="auto",this.value="",this.disallowPattern=null,this.counter=!1,this.counterLabel=void 0}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"g"):null}componentWillLoad(){s(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption,this.counter&&null==this.maxlength&&console.warn("[DUET WARNING]: counter will only take effect if maxlength is set"),this.counter||null==this.counterLabel||console.warn("[DUET WARNING]: counter-label is redundant unless used with counter"),this.counter&&!this.counterLabel&&console.warn("[DUET WARNING]: counter requires counter-label to be set")}async setFocus(t){this.nativeInput.focus(t)}render(){const t=this.identifier||this.textareaId;return a(r,{class:{"duet-m-0":"none"===this.margin,"duet-has-counter":this.counter&&!this.error,"duet-expand":this.expand}},a("div",{class:{"duet-textarea-container":!0,"duet-theme-turva":"turva"===this.theme,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error}},a("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},margin:this.isCaptionVisible?"small":"auto",id:this.labelId,for:t},this.label),this.tooltip&&a("duet-tooltip",{direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:"turva"===this.theme?"turva":"default"},this.tooltip),this.caption&&a("duet-caption",{id:this.topCaptionId,size:"medium",theme:"turva"===this.theme?"turva":"default"},this.caption),a("div",{class:"duet-textarea-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&a("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-textarea-placeholder",size:"small"},this.placeholder),a("textarea",{onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,ref:t=>this.nativeInput=t,class:{"duet-textarea":!0,disabled:this.disabled},value:this.value,disabled:this.disabled,"aria-labelledby":this.accessibleLabelledBy?`${this.labelId} ${this.accessibleLabelledBy}`:this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,placeholder:this.placeholder,spellcheck:"false",required:this.required,minlength:this.minlength,maxlength:this.maxlength,role:this.role,name:this.name,id:t})),a("duet-grid",{alignment:"stretch"},a("duet-grid-item",{margin:"none",fill:!0},a("div",{class:"duet-textarea-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&a("span",null,this.error))),a("duet-grid-item",{margin:"none",class:"duet-character-count-caption"},this.counter&&a(u,{theme:this.theme,value:this.value,maxlength:this.maxlength,label:this.counterLabel}))),this.counter&&a("duet-visually-hidden",{class:"duet-visually-hidden",id:this.characterCountId,ref:t=>{this.hiddenCounterLabel=t}})))}get element(){return i(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"]}}};h.style='*.sc-duet-textarea,*.sc-duet-textarea::after,*.sc-duet-textarea::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-textarea-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}.sc-duet-textarea-h:last-child,.sc-duet-textarea-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-textarea-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-textarea-h{width:100% !important}}.duet-m-0.sc-duet-textarea-h{margin:0 !important}duet-tooltip.sc-duet-textarea{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-textarea{position:relative;top:4px;right:auto}}.duet-textarea-container.sc-duet-textarea{position:relative;width:100%;height:100%}.duet-textarea-container.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:none}.duet-textarea-container.duet-input-top-caption-shown.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:flex !important}.duet-textarea-wrapper.sc-duet-textarea{position:relative}.duet-textarea-placeholder.sc-duet-textarea{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea.sc-duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(224, 42, 13) !important}.duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea[disabled].sc-duet-textarea{color:rgb(101, 119, 135) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important}.duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(0, 41, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(0, 41, 77);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(0, 41, 77)}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px rgb(144, 149, 153)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px rgb(116, 116, 117)}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-textarea.sc-duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px rgb(23, 28, 58)}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-textarea.sc-duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help.sc-duet-textarea{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;line-height:1.25}.duet-textarea-help.sc-duet-textarea span.sc-duet-textarea{display:block;margin-top:8px}.duet-theme-turva.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-textarea duet-label.sc-duet-textarea{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count.sc-duet-textarea{display:block;margin:8px 0 0 auto}';export{h as duet_textarea}
|
|
4
|
+
import{r as t,c as e,h as a,H as r,g as i}from"./p-18f1d30e.js";import{i as s}from"./p-4ebf1618.js";import{c as o}from"./p-c1325e35.js";import{c as d}from"./p-56118313.js";const u=({value:t,maxlength:e,label:r,theme:i})=>{if(null==e)return;const s=t.length,o=Math.max(e-s,0);return a("div",{class:"duet-character-count"},a("duet-caption",{margin:"none",theme:i,size:"small"},a("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true",class:"duet-textarea-counter-remaining"},o/e<=.1&&`${o} ${r}`),a("span",{"aria-hidden":"true"},s,"/",e)))},h=class{constructor(a){t(this,a),this.duetInput=e(this,"duetInput",7),this.duetChange=e(this,"duetChange",7),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.textareaId=o("DuetTextarea"),this.topCaptionId=o("DuetCaptionTop"),this.topCaptionPlaceholderId=o("DuetCaptionPlaceholderTop"),this.labelId=o("DuetLabel"),this.errorId=o("DuetError"),this.characterCountId=o("DuetCharacterCount"),this.disallowPatternRegex=null,this.handleInput=t=>{this.disallowPatternRegex&&d(this.nativeInput,this.disallowPatternRegex),this.value=this.nativeInput.value,this.isCaptionVisible=!!this.caption,this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.handleChange=t=>{this.value=this.nativeInput.value,this.duetChange.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.handleBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.handleFocus=t=>{this.counter&&(this.hiddenCounterLabel.textContent=`${Math.max(this.maxlength-this.value.length,0)}/${this.maxlength} ${this.counterLabel}`),this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),this.counter&&t.push(this.characterCountId),t.length>0?t.join(" "):null},this.margin="auto",this.accessibleActiveDescendant=void 0,this.accessibleAutocomplete=void 0,this.accessibleControls=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveError="polite",this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.theme="",this.expand=!1,this.disabled=!1,this.identifier=void 0,this.required=!1,this.label="label",this.labelHidden=!1,this.name=void 0,this.placeholder=void 0,this.caption=void 0,this.echoPlaceholder=!1,this.maxlength=void 0,this.minlength=void 0,this.error="",this.role=void 0,this.tooltip="",this.tooltipDirection="auto",this.value="",this.disallowPattern=null,this.counter=!1,this.counterLabel=void 0}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"g"):null}componentWillLoad(){s(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption,this.counter&&null==this.maxlength&&console.warn("[DUET WARNING]: counter will only take effect if maxlength is set"),this.counter||null==this.counterLabel||console.warn("[DUET WARNING]: counter-label is redundant unless used with counter"),this.counter&&!this.counterLabel&&console.warn("[DUET WARNING]: counter requires counter-label to be set")}async setFocus(t){this.nativeInput.focus(t)}render(){const t=this.identifier||this.textareaId;return a(r,{class:{"duet-m-0":"none"===this.margin,"duet-has-counter":this.counter&&!this.error,"duet-expand":this.expand}},a("div",{class:{"duet-textarea-container":!0,"duet-theme-turva":"turva"===this.theme,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error}},a("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},margin:this.isCaptionVisible?"small":"auto",id:this.labelId,for:t},this.label),this.tooltip&&a("duet-tooltip",{direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:"turva"===this.theme?"turva":"default"},this.tooltip),this.caption&&a("duet-caption",{id:this.topCaptionId,size:"medium",theme:"turva"===this.theme?"turva":"default"},this.caption),a("div",{class:"duet-textarea-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&a("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-textarea-placeholder",size:"small"},this.placeholder),a("textarea",{onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,ref:t=>this.nativeInput=t,class:{"duet-textarea":!0,disabled:this.disabled},value:this.value,disabled:this.disabled,"aria-labelledby":this.accessibleLabelledBy?`${this.labelId} ${this.accessibleLabelledBy}`:this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,placeholder:this.placeholder,spellcheck:"false",required:this.required,minlength:this.minlength,maxlength:this.maxlength,role:this.role,name:this.name,id:t})),a("duet-grid",{alignment:"stretch"},a("duet-grid-item",{margin:"none",fill:!0},a("div",{class:"duet-textarea-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&a("span",null,this.error))),a("duet-grid-item",{margin:"none",class:"duet-character-count-caption"},this.counter&&a(u,{theme:this.theme,value:this.value,maxlength:this.maxlength,label:this.counterLabel}))),this.counter&&a("duet-visually-hidden",{class:"duet-visually-hidden",id:this.characterCountId,ref:t=>{this.hiddenCounterLabel=t}})))}get element(){return i(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"]}}};h.style='*.sc-duet-textarea,*.sc-duet-textarea::after,*.sc-duet-textarea::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-textarea-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}.sc-duet-textarea-h:last-child,.sc-duet-textarea-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-textarea-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-textarea-h{width:100% !important}}.duet-m-0.sc-duet-textarea-h{margin:0 !important}duet-tooltip.sc-duet-textarea{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-textarea{position:relative;top:4px;right:auto}}.duet-textarea-container.sc-duet-textarea{position:relative;width:100%;height:100%}.duet-textarea-container.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:none}.duet-textarea-container.duet-input-top-caption-shown.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:flex !important}.duet-textarea-wrapper.sc-duet-textarea{position:relative}.duet-textarea-placeholder.sc-duet-textarea{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea.sc-duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(224, 42, 13) !important}.duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea[disabled].sc-duet-textarea{color:rgb(101, 119, 135) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important}.duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(0, 41, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(0, 41, 77);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(0, 41, 77)}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #0077b3}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help.sc-duet-textarea{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;line-height:1.25}.duet-textarea-help.sc-duet-textarea span.sc-duet-textarea{display:block;margin-top:8px}.duet-theme-turva.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-textarea duet-label.sc-duet-textarea{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count.sc-duet-textarea{display:block;margin:8px 0 0 auto}';export{h as duet_textarea}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,h as e,H as i,g as a}from"./p-
|
|
4
|
+
import{r as t,h as e,H as i,g as a}from"./p-18f1d30e.js";import{i as d}from"./p-704245ef.js";const n=class{constructor(e){t(this,e),this.margin="auto",this.middle=!1}render(){return e(i,{class:{"duet-middle":this.middle,"duet-ie":d()}},e("div",{class:{"duet-layout":!0,"duet-m-0":"none"===this.margin}},e("section",{class:"duet-main"},e("slot",null))))}get element(){return a(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}";export{n as duet_section_layout}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function l(e){try{s(r.next(e))}catch(e){i(e)}}function o(e){try{s(r["throw"](e))}catch(e){i(e)}}function s(e){e.done?n(e.value):a(e.value).then(l,o)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,l;return l={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(t){return s([e,t])}}function s(o){if(r)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(n=0)),n)try{if(r=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){n.label=o[1];break}if(o[0]===6&&n.label<i[1]){n.label=i[1];i=o;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(o);break}if(i[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{r=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,i;r<a;r++){if(i||!(r in t)){if(!i)i=Array.prototype.slice.call(t,0,r);i[r]=t[r]}}return e.concat(i||Array.prototype.slice.call(t))};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register([],(function(e,t){"use strict";return{execute:function(){var n=this;var r=e("N","duet");var a=e("E",{cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.10"});var i;var l;var o;var s=false;var $=false;var f=false;var u=false;var c=false;var v=e("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var d=function(e,t){if(t===void 0){t=""}{return function(){return}}};var h=function(e,t){{return function(){return}}};var p="r";var m="o";var g="s";var y="t";var b="s-id";var w="sty-id";var N="c-id";var R="{visibility:hidden}.hydrated{visibility:inherit}";var x="http://www.w3.org/1999/xlink";var S={};var _="http://www.w3.org/2000/svg";var k="http://www.w3.org/1999/xhtml";var T=function(e){return e!=null};var L=function(e){e=typeof e;return e==="object"||e==="function"};function A(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:undefined}var C=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var i=null;var l=null;var o=false;var s=false;var $=[];var f=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!L(a)){a=String(a)}if(o&&s){$[$.length-1].$text$+=a}else{$.push(o?I(null,a):a)}s=o}}};f(n);if(t){if(t.key){i=t.key}if(t.name){l=t.name}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,$,P)}var c=I(e,null);c.$attrs$=t;if($.length>0){c.$children$=$}{c.$key$=i}{c.$name$=l}return c}));var I=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}{n.$name$=null}return n};var j=e("H",{});var E=function(e){return e&&e.$tag$===j};var P={forEach:function(e,t){return e.map(O).forEach(t)},map:function(e,t){return e.map(O).map(t).map(M)}};var O=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var M=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return C.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var n=I(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var B=function(e,t,n,r){var a=d("hydrateClient",t);var i=e.shadowRoot;var l=[];var o=[];var s=i?[]:null;var $=r.$vnode$=I(t,null);if(!Ze.$orgLocNodes$){z(Ye.body,Ze.$orgLocNodes$=new Map)}e[b]=n;e.removeAttribute(b);q($,l,o,s,e,e,n);l.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=Ze.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&et&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!i){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}Ze.$orgLocNodes$.delete(n)}));if(i){s.map((function(e){if(e){i.appendChild(e)}}))}a()};var q=function(e,t,n,r,a,i,l){var o;var s;var $;var f;if(i.nodeType===1){o=i.getAttribute(N);if(o){s=o.split(".");if(s[0]===l||s[0]==="0"){$={$flags$:0,$hostId$:s[0],$nodeId$:s[1],$depth$:s[2],$index$:s[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push($);i.removeAttribute(N);if(!e.$children$){e.$children$=[]}e.$children$[$.$index$]=$;e=$;if(r&&$.$depth$==="0"){r[$.$index$]=$.$elm$}}}for(f=i.childNodes.length-1;f>=0;f--){q(e,t,n,r,a,i.childNodes[f],l)}if(i.shadowRoot){for(f=i.shadowRoot.childNodes.length-1;f>=0;f--){q(e,t,n,r,a,i.shadowRoot.childNodes[f],l)}}}else if(i.nodeType===8){s=i.nodeValue.split(".");if(s[1]===l||s[1]==="0"){o=s[0];$={$flags$:0,$hostId$:s[1],$nodeId$:s[2],$depth$:s[3],$index$:s[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(o===y){$.$elm$=i.nextSibling;if($.$elm$&&$.$elm$.nodeType===3){$.$text$=$.$elm$.textContent;t.push($);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[$.$index$]=$;if(r&&$.$depth$==="0"){r[$.$index$]=$.$elm$}}}else if($.$hostId$===l){if(o===g){$.$tag$="slot";if(s[5]){i["s-sn"]=$.$name$=s[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(r){$.$elm$=Ye.createElement($.$tag$);if($.$name$){$.$elm$.setAttribute("name",$.$name$)}i.parentNode.insertBefore($.$elm$,i);i.remove();if($.$depth$==="0"){r[$.$index$]=$.$elm$}}n.push($);if(!e.$children$){e.$children$=[]}e.$children$[$.$index$]=$}else if(o===p){if(r){i.remove()}else{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var u=I(null,i.textContent);u.$elm$=i;u.$index$="0";e.$children$=[u]}};var z=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){z(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){z(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===m){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var U=function(e,t){if(e!=null&&!L(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var V=e("g",(function(e){return He(e).$hostElement$}));var H=e("c",(function(e,t,n){var r=V(e);return{emit:function(e){return D(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var D=function(e,t,n){var r=Ze.ce(t,n);e.dispatchEvent(r);return r};var F=new WeakMap;var W=function(e,t,n){var r=Qe.get(e);if(nt&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}Qe.set(e,r)};var G=function(e,t,n,r){var a;var i=K(t);var l=Qe.get(i);e=e.nodeType===11?e:Ye;if(l){if(typeof l==="string"){e=e.head||e;var o=F.get(e);var s=void 0;if(!o){F.set(e,o=new Set)}if(!o.has(i)){if(e.host&&(s=e.querySelector("[".concat(w,'="').concat(i,'"]')))){s.innerHTML=l}else{{s=Ye.createElement("style");s.innerHTML=l}var $=(a=Ze.$nonce$)!==null&&a!==void 0?a:A(Ye);if($!=null){s.setAttribute("nonce",$)}e.insertBefore(s,e.querySelector("link"))}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(l)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[l],false)}}return i};var J=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=d("attachStyles",t.$tagName$);var i=G(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h");if(r&2){n.classList.add(i+"-s")}}a()};var K=function(e,t){return"sc-"+e.$tagName$};var Q=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var X=function(e,t,n,r,a,i){if(n!==r){var l=We(e,t);var o=t.toLowerCase();if(t==="class"){var s=e.classList;var $=Z(n);var f=Z(r);s.remove.apply(s,$.filter((function(e){return e&&!f.includes(e)})));s.add.apply(s,f.filter((function(e){return e&&!$.includes(e)})))}else if(t==="style"){{for(var u in n){if(!r||r[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in r){if(!n||r[u]!==n[u]){if(u.includes("-")){e.style.setProperty(u,r[u])}else{e.style[u]=r[u]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(We(Xe,o)){t=o.slice(2)}else{t=o[2]+t.slice(3)}if(n){Ze.rel(e,t,n,false)}if(r){Ze.ael(e,t,r,false)}}else{var c=L(r);if((l||c&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var v=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!=v){e[t]=v}}else{e[t]=r}}catch(e){}}var d=false;{if(o!==(o=o.replace(/^xlink\:?/,""))){t=o;d=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(d){e.removeAttributeNS(x,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!c){r=r===true?"":r;if(d){e.setAttributeNS(x,t,r)}else{e.setAttribute(t,r)}}}}};var Y=/\s/;var Z=function(e){return!e?[]:e.split(Y)};var ee=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||S;var l=t.$attrs$||S;{for(r in i){if(!(r in l)){X(a,r,i[r],undefined,n,t.$flags$)}}}for(r in l){X(a,r,i[r],l[r],n,t.$flags$)}};var te=function(e,t,n,r){var a=t.$children$[n];var $=0;var c;var v;var d;if(!s){f=true;if(a.$tag$==="slot"){if(i){r.classList.add(i+"-s")}a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){c=a.$elm$=Ye.createTextNode(a.$text$)}else if(a.$flags$&1){c=a.$elm$=Ye.createTextNode("")}else{if(!u){u=a.$tag$==="svg"}c=a.$elm$=Ye.createElementNS(u?_:k,a.$flags$&2?"slot-fb":a.$tag$);if(u&&a.$tag$==="foreignObject"){u=false}{ee(null,a,u)}if(T(i)&&c["s-si"]!==i){c.classList.add(c["s-si"]=i)}if(a.$children$){for($=0;$<a.$children$.length;++$){v=te(e,a,$,c);if(v){c.appendChild(v)}}}{if(a.$tag$==="svg"){u=false}else if(c.tagName==="foreignObject"){u=true}}}{c["s-hn"]=o;if(a.$flags$&(2|1)){c["s-sr"]=true;c["s-cr"]=l;c["s-sn"]=a.$name$||"";d=e&&e.$children$&&e.$children$[n];if(d&&d.$tag$===a.$tag$&&e.$elm$){ne(e.$elm$,false)}}}return c};var ne=function(e,t){Ze.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==o&&a["s-ol"]){se(a).insertBefore(a,oe(a));a["s-ol"].remove();a["s-ol"]=undefined;f=true}if(t){ne(a,t)}}Ze.$flags$&=~1};var re=function(e,t,n,r,a,i){var l=e["s-cr"]&&e["s-cr"].parentNode||e;var s;if(l.shadowRoot&&l.tagName===o){l=l.shadowRoot}for(;a<=i;++a){if(r[a]){s=te(null,n,a,e);if(s){r[a].$elm$=s;l.insertBefore(s,oe(t))}}}};var ae=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;de(r);{$=true;if(a["s-ol"]){a["s-ol"].remove()}else{ne(a,true)}}a.remove()}}};var ie=function(e,t,n,r){var a=0;var i=0;var l=0;var o=0;var s=t.length-1;var $=t[0];var f=t[s];var u=r.length-1;var c=r[0];var v=r[u];var d;var h;while(a<=s&&i<=u){if($==null){$=t[++a]}else if(f==null){f=t[--s]}else if(c==null){c=r[++i]}else if(v==null){v=r[--u]}else if(le($,c)){$e($,c);$=t[++a];c=r[++i]}else if(le(f,v)){$e(f,v);f=t[--s];v=r[--u]}else if(le($,v)){if($.$tag$==="slot"||v.$tag$==="slot"){ne($.$elm$.parentNode,false)}$e($,v);e.insertBefore($.$elm$,f.$elm$.nextSibling);$=t[++a];v=r[--u]}else if(le(f,c)){if($.$tag$==="slot"||v.$tag$==="slot"){ne(f.$elm$.parentNode,false)}$e(f,c);e.insertBefore(f.$elm$,$.$elm$);f=t[--s];c=r[++i]}else{l=-1;{for(o=a;o<=s;++o){if(t[o]&&t[o].$key$!==null&&t[o].$key$===c.$key$){l=o;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=te(t&&t[i],n,l,e)}else{$e(h,c);t[l]=undefined;d=h.$elm$}c=r[++i]}else{d=te(t&&t[i],n,i,e);c=r[++i]}if(d){{se($.$elm$).insertBefore(d,oe($.$elm$))}}}}if(a>s){re(e,r[u+1]==null?null:r[u+1].$elm$,n,r,i,u)}else if(i>u){ae(t,a,s)}};var le=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var oe=function(e){return e&&e["s-ol"]||e};var se=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var $e=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var i=t.$tag$;var l=t.$text$;var o;if(l===null){{u=i==="svg"?true:i==="foreignObject"?false:u}{if(i==="slot");else{ee(e,t,u)}}if(r!==null&&a!==null){ie(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}re(n,null,t,a,0,a.length-1)}else if(r!==null){ae(r,0,r.length-1)}if(u&&i==="svg"){u=false}}else if(o=n["s-cr"]){o.parentNode.textContent=l}else if(e.$text$!==l){n.data=l}};var fe=function(e){var t=e.childNodes;var n;var r;var a;var i;var l;var o;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){l=n["s-sn"];n.hidden=false;for(i=0;i<a;i++){o=t[i].nodeType;if(t[i]["s-hn"]!==n["s-hn"]||l!==""){if(o===1&&l===t[i].getAttribute("slot")){n.hidden=true;break}}else{if(o===1||o===3&&t[i].textContent.trim()!==""){n.hidden=true;break}}}}fe(n)}}};var ue=[];var ce=function(e){var t;var n;var r;var a;var i;var l;var o=0;var s=e.childNodes;var f=s.length;for(;o<f;o++){t=s[o];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(l=r.length-1;l>=0;l--){n=r[l];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(ve(n,a)){i=ue.find((function(e){return e.$nodeToRelocate$===n}));$=true;n["s-sn"]=n["s-sn"]||a;if(i){i.$slotRefNode$=t}else{ue.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){ue.map((function(e){if(ve(e.$nodeToRelocate$,n["s-sn"])){i=ue.find((function(e){return e.$nodeToRelocate$===n}));if(i&&!e.$slotRefNode$){e.$slotRefNode$=i.$slotRefNode$}}}))}}else if(!ue.some((function(e){return e.$nodeToRelocate$===n}))){ue.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){ce(t)}}};var ve=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var de=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(de)}};var he=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var a=e.$vnode$||I(null,null);var u=E(t)?t:C(null,null,t);o=n.tagName;if(r.$attrsToReflect$){u.$attrs$=u.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return u.$attrs$[r]=n[t]}))}u.$tag$=null;u.$flags$|=4;e.$vnode$=u;u.$elm$=a.$elm$=n.shadowRoot||n;{i=n["s-sc"]}{l=n["s-cr"];s=(r.$flags$&1)!==0;$=false}$e(a,u);{Ze.$flags$|=1;if(f){ce(u.$elm$);var c=void 0;var v=void 0;var d=void 0;var h=void 0;var p=void 0;var m=void 0;var g=0;for(;g<ue.length;g++){c=ue[g];v=c.$nodeToRelocate$;if(!v["s-ol"]){d=Ye.createTextNode("");d["s-nr"]=v;v.parentNode.insertBefore(v["s-ol"]=d,v)}}for(g=0;g<ue.length;g++){c=ue[g];v=c.$nodeToRelocate$;if(c.$slotRefNode$){h=c.$slotRefNode$.parentNode;p=c.$slotRefNode$.nextSibling;d=v["s-ol"];while(d=d.previousSibling){m=d["s-nr"];if(m&&m["s-sn"]===v["s-sn"]&&h===m.parentNode){m=m.nextSibling;if(!m||!m["s-nr"]){p=m;break}}}if(!p&&h!==v.parentNode||v.nextSibling!==p){if(v!==p){if(!v["s-hn"]&&v["s-ol"]){v["s-hn"]=v["s-ol"].parentNode.nodeName}h.insertBefore(v,p)}}}else{if(v.nodeType===1){v.hidden=true}}}}if($){fe(u.$elm$)}Ze.$flags$&=~1;ue.length=0}};var pe=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var me=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}pe(e,e.$ancestorComponent$);var n=function(){return ge(e,t)};return $t(n)};var ge=function(e,t){var n=d("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return Re(r,t,n)}));e.$queuedListeners$=null}}{a=Re(r,"componentWillLoad")}}{a=xe(a,(function(){return Re(r,"componentWillRender")}))}n();return xe(a,(function(){return ye(e,r,t)}))};var ye=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,a,i,l,o,s;return __generator(this,(function($){n=e.$hostElement$;a=d("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(r){J(e)}l=d("render",e.$cmpMeta$.$tagName$);{be(e,t)}if(i){i.map((function(e){return e()}));n["s-rc"]=undefined}l();a();{o=n["s-p"];s=function(){return we(e)};if(o.length===0){s()}else{Promise.all(o).then(s);e.$flags$|=4;o.length=0}}return[2]}))}))};var be=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{he(e,t)}}}}catch(t){Ge(t,e.$hostElement$)}return null};var we=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=d("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{Re(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{Se(n)}{Re(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!i){Ne()}}}else{{Re(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){st((function(){return me(e,false)}))}e.$flags$&=~(4|512)}};var Ne=function(e){{Se(Ye.documentElement)}st((function(){return D(Xe,"appload",{detail:{namespace:r}})}))};var Re=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){Ge(e)}}return undefined};var xe=function(e,t){return e&&e.then?e.then(t):t()};var Se=function(e){return e.classList.add("hydrated")};var _e=function(e,t){return He(e).$instanceValues$.get(t)};var ke=function(e,t,n,r){var a=He(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var o=a.$flags$;var s=a.$lazyInstance$;n=U(n,r.$members$[t][0]);var $=Number.isNaN(l)&&Number.isNaN(n);var f=n!==l&&!$;if((!(o&8)||l===undefined)&&f){a.$instanceValues$.set(t,n);if(s){if(r.$watchers$&&o&128){var u=r.$watchers$[t];if(u){u.map((function(e){try{s[e](n,l,t)}catch(e){Ge(e,i)}}))}}if((o&(2|16))===2){me(a,false)}}}};var Te=function(e,t,n){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,r,{get:function(){return _e(this,r)},set:function(e){ke(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&i&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=He(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;Ze.jmp((function(){var t=i.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;i.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var Le=function(e,t,r,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,l,o,s,$;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=Ke(r);if(!i.then)return[3,2];e=h();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{r.$watchers$=i.watchers}Te(i,r,2);i.isProxied=true}n=d("createInstance",r.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){Ge(e)}{t.$flags$&=~8}{t.$flags$|=128}n();Ae(t.$lazyInstance$);if(i.style){a=i.style;l=K(r);if(!Qe.has(l)){o=d("registerStyles",r.$tagName$);W(l,a,!!(r.$flags$&1));o()}}f.label=3;case 3:s=t.$ancestorComponent$;$=function(){return me(t,true)};if(s&&s["s-rc"]){s["s-rc"].push($)}else{$()}return[2]}}))}))};var Ae=function(e){{Re(e,"connectedCallback")}};var Ce=function(e){if((Ze.$flags$&1)===0){var t=He(e);var n=t.$cmpMeta$;var r=d("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(b);if(a){if(n.$flags$&1){var i=G(e.shadowRoot,n);e.classList.remove(i+"-h",i+"-s")}B(e,n.$tagName$,a,t)}}if(!a){if(n.$flags$&(4|8)){Ie(e)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){pe(t,t.$ancestorComponent$=l);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{st((function(){return Le(e,t,n)}))}}else{Me(e,t,n.$listeners$);Ae(t.$lazyInstance$)}r()}};var Ie=function(e){var t=e["s-cr"]=Ye.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var je=function(e){if((Ze.$flags$&1)===0){var t=He(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{Re(n,"disconnectedCallback")}}};var Ee=function(e,t){var n=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.$flags$&8){var r=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=r.call(this);if((Ze.$flags$&1)===0&&He(this).$flags$&2){var t=new n;for(var a=0;a<e.length;a++){var i=e[a]["s-nr"];if(i){t.push(i)}}return t}return n.from(e)}})}};var Pe=e("b",(function(e,t){if(t===void 0){t={}}var n;var r=d();var a=[];var i=t.exclude||[];var l=Xe.customElements;var o=Ye.head;var s=o.querySelector("meta[charset]");var $=Ye.createElement("style");var f=[];var u=Ye.querySelectorAll("[".concat(w,"]"));var c;var v=true;var h=0;Object.assign(Ze,t);Ze.$resourcesUrl$=new URL(t.resourcesUrl||"./",Ye.baseURI).href;{Ze.$flags$|=2}{for(;h<u.length;h++){W(u[h].getAttribute(w),Q(u[h].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}{n.$watchers$={}}var r=n.$tagName$;var o=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;Fe(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open",delegatesFocus:!!(n.$flags$&16)})}}}{Ee(t,n)}return r}t.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{Ze.jmp((function(){return Ce(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;Ze.jmp((function(){return je(e)}))};t.prototype.componentOnReady=function(){return He(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!i.includes(r)&&!l.get(r)){a.push(r);l.define(r,Te(o,n,1))}}))}));{$.innerHTML=a+R;$.setAttribute("data-styles","");var p=(n=Ze.$nonce$)!==null&&n!==void 0?n:A(Ye);if(p!=null){$.setAttribute("nonce",p)}o.insertBefore($,s?s.nextSibling:o.firstChild)}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{Ze.jmp((function(){return c=setTimeout(Ne,30)}))}}r()}));var Oe=e("F",(function(e,t){return t}));var Me=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],i=n[2];var l=qe(e,r);var o=Be(t,i);var s=ze(r);Ze.ael(l,a,o,s);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return Ze.rel(l,a,o,s)}))}))}};var Be=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){Ge(e)}}};var qe=function(e,t){if(t&4)return Ye;if(t&8)return Xe;if(t&16)return Ye.body;return e};var ze=function(e){return(e&2)!==0};var Ue=e("s",(function(e){return Ze.$nonce$=e}));var Ve=new WeakMap;var He=function(e){return Ve.get(e)};var De=e("r",(function(e,t){return Ve.set(t.$lazyInstance$=e,t)}));var Fe=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}Me(e,n,t.$listeners$);return Ve.set(e,n)};var We=function(e,t){return t in e};var Ge=function(e,t){return(0,console.error)(e,t)};var Je=new Map;var Ke=function(e,n,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Je.get(i);if(l){return l[a]}
|
|
4
|
+
*/System.register([],(function(e,t){"use strict";return{execute:function(){var n=this;var r=e("N","duet");var a=e("E",{cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.12"});var i;var l;var o;var s=false;var $=false;var f=false;var u=false;var c=false;var v=e("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var d=function(e,t){if(t===void 0){t=""}{return function(){return}}};var h=function(e,t){{return function(){return}}};var p="r";var m="o";var g="s";var y="t";var b="s-id";var w="sty-id";var N="c-id";var R="{visibility:hidden}.hydrated{visibility:inherit}";var x="http://www.w3.org/1999/xlink";var S={};var _="http://www.w3.org/2000/svg";var k="http://www.w3.org/1999/xhtml";var T=function(e){return e!=null};var L=function(e){e=typeof e;return e==="object"||e==="function"};function A(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:undefined}var C=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var i=null;var l=null;var o=false;var s=false;var $=[];var f=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!L(a)){a=String(a)}if(o&&s){$[$.length-1].$text$+=a}else{$.push(o?I(null,a):a)}s=o}}};f(n);if(t){if(t.key){i=t.key}if(t.name){l=t.name}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,$,P)}var c=I(e,null);c.$attrs$=t;if($.length>0){c.$children$=$}{c.$key$=i}{c.$name$=l}return c}));var I=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}{n.$name$=null}return n};var j=e("H",{});var E=function(e){return e&&e.$tag$===j};var P={forEach:function(e,t){return e.map(O).forEach(t)},map:function(e,t){return e.map(O).map(t).map(M)}};var O=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var M=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return C.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var n=I(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var B=function(e,t,n,r){var a=d("hydrateClient",t);var i=e.shadowRoot;var l=[];var o=[];var s=i?[]:null;var $=r.$vnode$=I(t,null);if(!Ze.$orgLocNodes$){z(Ye.body,Ze.$orgLocNodes$=new Map)}e[b]=n;e.removeAttribute(b);q($,l,o,s,e,e,n);l.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=Ze.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&et&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!i){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}Ze.$orgLocNodes$.delete(n)}));if(i){s.map((function(e){if(e){i.appendChild(e)}}))}a()};var q=function(e,t,n,r,a,i,l){var o;var s;var $;var f;if(i.nodeType===1){o=i.getAttribute(N);if(o){s=o.split(".");if(s[0]===l||s[0]==="0"){$={$flags$:0,$hostId$:s[0],$nodeId$:s[1],$depth$:s[2],$index$:s[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push($);i.removeAttribute(N);if(!e.$children$){e.$children$=[]}e.$children$[$.$index$]=$;e=$;if(r&&$.$depth$==="0"){r[$.$index$]=$.$elm$}}}for(f=i.childNodes.length-1;f>=0;f--){q(e,t,n,r,a,i.childNodes[f],l)}if(i.shadowRoot){for(f=i.shadowRoot.childNodes.length-1;f>=0;f--){q(e,t,n,r,a,i.shadowRoot.childNodes[f],l)}}}else if(i.nodeType===8){s=i.nodeValue.split(".");if(s[1]===l||s[1]==="0"){o=s[0];$={$flags$:0,$hostId$:s[1],$nodeId$:s[2],$depth$:s[3],$index$:s[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(o===y){$.$elm$=i.nextSibling;if($.$elm$&&$.$elm$.nodeType===3){$.$text$=$.$elm$.textContent;t.push($);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[$.$index$]=$;if(r&&$.$depth$==="0"){r[$.$index$]=$.$elm$}}}else if($.$hostId$===l){if(o===g){$.$tag$="slot";if(s[5]){i["s-sn"]=$.$name$=s[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(r){$.$elm$=Ye.createElement($.$tag$);if($.$name$){$.$elm$.setAttribute("name",$.$name$)}i.parentNode.insertBefore($.$elm$,i);i.remove();if($.$depth$==="0"){r[$.$index$]=$.$elm$}}n.push($);if(!e.$children$){e.$children$=[]}e.$children$[$.$index$]=$}else if(o===p){if(r){i.remove()}else{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var u=I(null,i.textContent);u.$elm$=i;u.$index$="0";e.$children$=[u]}};var z=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){z(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){z(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===m){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var U=function(e,t){if(e!=null&&!L(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var V=e("g",(function(e){return He(e).$hostElement$}));var H=e("c",(function(e,t,n){var r=V(e);return{emit:function(e){return D(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var D=function(e,t,n){var r=Ze.ce(t,n);e.dispatchEvent(r);return r};var F=new WeakMap;var W=function(e,t,n){var r=Qe.get(e);if(nt&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}Qe.set(e,r)};var G=function(e,t,n,r){var a;var i=K(t);var l=Qe.get(i);e=e.nodeType===11?e:Ye;if(l){if(typeof l==="string"){e=e.head||e;var o=F.get(e);var s=void 0;if(!o){F.set(e,o=new Set)}if(!o.has(i)){if(e.host&&(s=e.querySelector("[".concat(w,'="').concat(i,'"]')))){s.innerHTML=l}else{{s=Ye.createElement("style");s.innerHTML=l}var $=(a=Ze.$nonce$)!==null&&a!==void 0?a:A(Ye);if($!=null){s.setAttribute("nonce",$)}e.insertBefore(s,e.querySelector("link"))}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(l)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[l],false)}}return i};var J=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=d("attachStyles",t.$tagName$);var i=G(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h");if(r&2){n.classList.add(i+"-s")}}a()};var K=function(e,t){return"sc-"+e.$tagName$};var Q=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var X=function(e,t,n,r,a,i){if(n!==r){var l=We(e,t);var o=t.toLowerCase();if(t==="class"){var s=e.classList;var $=Z(n);var f=Z(r);s.remove.apply(s,$.filter((function(e){return e&&!f.includes(e)})));s.add.apply(s,f.filter((function(e){return e&&!$.includes(e)})))}else if(t==="style"){{for(var u in n){if(!r||r[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in r){if(!n||r[u]!==n[u]){if(u.includes("-")){e.style.setProperty(u,r[u])}else{e.style[u]=r[u]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(We(Xe,o)){t=o.slice(2)}else{t=o[2]+t.slice(3)}if(n){Ze.rel(e,t,n,false)}if(r){Ze.ael(e,t,r,false)}}else{var c=L(r);if((l||c&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var v=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!=v){e[t]=v}}else{e[t]=r}}catch(e){}}var d=false;{if(o!==(o=o.replace(/^xlink\:?/,""))){t=o;d=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(d){e.removeAttributeNS(x,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!c){r=r===true?"":r;if(d){e.setAttributeNS(x,t,r)}else{e.setAttribute(t,r)}}}}};var Y=/\s/;var Z=function(e){return!e?[]:e.split(Y)};var ee=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||S;var l=t.$attrs$||S;{for(r in i){if(!(r in l)){X(a,r,i[r],undefined,n,t.$flags$)}}}for(r in l){X(a,r,i[r],l[r],n,t.$flags$)}};var te=function(e,t,n,r){var a=t.$children$[n];var $=0;var c;var v;var d;if(!s){f=true;if(a.$tag$==="slot"){if(i){r.classList.add(i+"-s")}a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){c=a.$elm$=Ye.createTextNode(a.$text$)}else if(a.$flags$&1){c=a.$elm$=Ye.createTextNode("")}else{if(!u){u=a.$tag$==="svg"}c=a.$elm$=Ye.createElementNS(u?_:k,a.$flags$&2?"slot-fb":a.$tag$);if(u&&a.$tag$==="foreignObject"){u=false}{ee(null,a,u)}if(T(i)&&c["s-si"]!==i){c.classList.add(c["s-si"]=i)}if(a.$children$){for($=0;$<a.$children$.length;++$){v=te(e,a,$,c);if(v){c.appendChild(v)}}}{if(a.$tag$==="svg"){u=false}else if(c.tagName==="foreignObject"){u=true}}}{c["s-hn"]=o;if(a.$flags$&(2|1)){c["s-sr"]=true;c["s-cr"]=l;c["s-sn"]=a.$name$||"";d=e&&e.$children$&&e.$children$[n];if(d&&d.$tag$===a.$tag$&&e.$elm$){ne(e.$elm$,false)}}}return c};var ne=function(e,t){Ze.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==o&&a["s-ol"]){se(a).insertBefore(a,oe(a));a["s-ol"].remove();a["s-ol"]=undefined;f=true}if(t){ne(a,t)}}Ze.$flags$&=~1};var re=function(e,t,n,r,a,i){var l=e["s-cr"]&&e["s-cr"].parentNode||e;var s;if(l.shadowRoot&&l.tagName===o){l=l.shadowRoot}for(;a<=i;++a){if(r[a]){s=te(null,n,a,e);if(s){r[a].$elm$=s;l.insertBefore(s,oe(t))}}}};var ae=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;de(r);{$=true;if(a["s-ol"]){a["s-ol"].remove()}else{ne(a,true)}}a.remove()}}};var ie=function(e,t,n,r){var a=0;var i=0;var l=0;var o=0;var s=t.length-1;var $=t[0];var f=t[s];var u=r.length-1;var c=r[0];var v=r[u];var d;var h;while(a<=s&&i<=u){if($==null){$=t[++a]}else if(f==null){f=t[--s]}else if(c==null){c=r[++i]}else if(v==null){v=r[--u]}else if(le($,c)){$e($,c);$=t[++a];c=r[++i]}else if(le(f,v)){$e(f,v);f=t[--s];v=r[--u]}else if(le($,v)){if($.$tag$==="slot"||v.$tag$==="slot"){ne($.$elm$.parentNode,false)}$e($,v);e.insertBefore($.$elm$,f.$elm$.nextSibling);$=t[++a];v=r[--u]}else if(le(f,c)){if($.$tag$==="slot"||v.$tag$==="slot"){ne(f.$elm$.parentNode,false)}$e(f,c);e.insertBefore(f.$elm$,$.$elm$);f=t[--s];c=r[++i]}else{l=-1;{for(o=a;o<=s;++o){if(t[o]&&t[o].$key$!==null&&t[o].$key$===c.$key$){l=o;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=te(t&&t[i],n,l,e)}else{$e(h,c);t[l]=undefined;d=h.$elm$}c=r[++i]}else{d=te(t&&t[i],n,i,e);c=r[++i]}if(d){{se($.$elm$).insertBefore(d,oe($.$elm$))}}}}if(a>s){re(e,r[u+1]==null?null:r[u+1].$elm$,n,r,i,u)}else if(i>u){ae(t,a,s)}};var le=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var oe=function(e){return e&&e["s-ol"]||e};var se=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var $e=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var i=t.$tag$;var l=t.$text$;var o;if(l===null){{u=i==="svg"?true:i==="foreignObject"?false:u}{if(i==="slot");else{ee(e,t,u)}}if(r!==null&&a!==null){ie(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}re(n,null,t,a,0,a.length-1)}else if(r!==null){ae(r,0,r.length-1)}if(u&&i==="svg"){u=false}}else if(o=n["s-cr"]){o.parentNode.textContent=l}else if(e.$text$!==l){n.data=l}};var fe=function(e){var t=e.childNodes;var n;var r;var a;var i;var l;var o;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){l=n["s-sn"];n.hidden=false;for(i=0;i<a;i++){o=t[i].nodeType;if(t[i]["s-hn"]!==n["s-hn"]||l!==""){if(o===1&&l===t[i].getAttribute("slot")){n.hidden=true;break}}else{if(o===1||o===3&&t[i].textContent.trim()!==""){n.hidden=true;break}}}}fe(n)}}};var ue=[];var ce=function(e){var t;var n;var r;var a;var i;var l;var o=0;var s=e.childNodes;var f=s.length;for(;o<f;o++){t=s[o];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(l=r.length-1;l>=0;l--){n=r[l];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(ve(n,a)){i=ue.find((function(e){return e.$nodeToRelocate$===n}));$=true;n["s-sn"]=n["s-sn"]||a;if(i){i.$slotRefNode$=t}else{ue.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){ue.map((function(e){if(ve(e.$nodeToRelocate$,n["s-sn"])){i=ue.find((function(e){return e.$nodeToRelocate$===n}));if(i&&!e.$slotRefNode$){e.$slotRefNode$=i.$slotRefNode$}}}))}}else if(!ue.some((function(e){return e.$nodeToRelocate$===n}))){ue.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){ce(t)}}};var ve=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var de=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(de)}};var he=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var a=e.$vnode$||I(null,null);var u=E(t)?t:C(null,null,t);o=n.tagName;if(r.$attrsToReflect$){u.$attrs$=u.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return u.$attrs$[r]=n[t]}))}u.$tag$=null;u.$flags$|=4;e.$vnode$=u;u.$elm$=a.$elm$=n.shadowRoot||n;{i=n["s-sc"]}{l=n["s-cr"];s=(r.$flags$&1)!==0;$=false}$e(a,u);{Ze.$flags$|=1;if(f){ce(u.$elm$);var c=void 0;var v=void 0;var d=void 0;var h=void 0;var p=void 0;var m=void 0;var g=0;for(;g<ue.length;g++){c=ue[g];v=c.$nodeToRelocate$;if(!v["s-ol"]){d=Ye.createTextNode("");d["s-nr"]=v;v.parentNode.insertBefore(v["s-ol"]=d,v)}}for(g=0;g<ue.length;g++){c=ue[g];v=c.$nodeToRelocate$;if(c.$slotRefNode$){h=c.$slotRefNode$.parentNode;p=c.$slotRefNode$.nextSibling;d=v["s-ol"];while(d=d.previousSibling){m=d["s-nr"];if(m&&m["s-sn"]===v["s-sn"]&&h===m.parentNode){m=m.nextSibling;if(!m||!m["s-nr"]){p=m;break}}}if(!p&&h!==v.parentNode||v.nextSibling!==p){if(v!==p){if(!v["s-hn"]&&v["s-ol"]){v["s-hn"]=v["s-ol"].parentNode.nodeName}h.insertBefore(v,p)}}}else{if(v.nodeType===1){v.hidden=true}}}}if($){fe(u.$elm$)}Ze.$flags$&=~1;ue.length=0}};var pe=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var me=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}pe(e,e.$ancestorComponent$);var n=function(){return ge(e,t)};return $t(n)};var ge=function(e,t){var n=d("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return Re(r,t,n)}));e.$queuedListeners$=null}}{a=Re(r,"componentWillLoad")}}{a=xe(a,(function(){return Re(r,"componentWillRender")}))}n();return xe(a,(function(){return ye(e,r,t)}))};var ye=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,a,i,l,o,s;return __generator(this,(function($){n=e.$hostElement$;a=d("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(r){J(e)}l=d("render",e.$cmpMeta$.$tagName$);{be(e,t)}if(i){i.map((function(e){return e()}));n["s-rc"]=undefined}l();a();{o=n["s-p"];s=function(){return we(e)};if(o.length===0){s()}else{Promise.all(o).then(s);e.$flags$|=4;o.length=0}}return[2]}))}))};var be=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{he(e,t)}}}}catch(t){Ge(t,e.$hostElement$)}return null};var we=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=d("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{Re(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{Se(n)}{Re(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!i){Ne()}}}else{{Re(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){st((function(){return me(e,false)}))}e.$flags$&=~(4|512)}};var Ne=function(e){{Se(Ye.documentElement)}st((function(){return D(Xe,"appload",{detail:{namespace:r}})}))};var Re=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){Ge(e)}}return undefined};var xe=function(e,t){return e&&e.then?e.then(t):t()};var Se=function(e){return e.classList.add("hydrated")};var _e=function(e,t){return He(e).$instanceValues$.get(t)};var ke=function(e,t,n,r){var a=He(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var o=a.$flags$;var s=a.$lazyInstance$;n=U(n,r.$members$[t][0]);var $=Number.isNaN(l)&&Number.isNaN(n);var f=n!==l&&!$;if((!(o&8)||l===undefined)&&f){a.$instanceValues$.set(t,n);if(s){if(r.$watchers$&&o&128){var u=r.$watchers$[t];if(u){u.map((function(e){try{s[e](n,l,t)}catch(e){Ge(e,i)}}))}}if((o&(2|16))===2){me(a,false)}}}};var Te=function(e,t,n){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,r,{get:function(){return _e(this,r)},set:function(e){ke(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&i&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=He(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;Ze.jmp((function(){var t=i.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;i.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var Le=function(e,t,r,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,l,o,s,$;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=Ke(r);if(!i.then)return[3,2];e=h();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{r.$watchers$=i.watchers}Te(i,r,2);i.isProxied=true}n=d("createInstance",r.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){Ge(e)}{t.$flags$&=~8}{t.$flags$|=128}n();Ae(t.$lazyInstance$);if(i.style){a=i.style;l=K(r);if(!Qe.has(l)){o=d("registerStyles",r.$tagName$);W(l,a,!!(r.$flags$&1));o()}}f.label=3;case 3:s=t.$ancestorComponent$;$=function(){return me(t,true)};if(s&&s["s-rc"]){s["s-rc"].push($)}else{$()}return[2]}}))}))};var Ae=function(e){{Re(e,"connectedCallback")}};var Ce=function(e){if((Ze.$flags$&1)===0){var t=He(e);var n=t.$cmpMeta$;var r=d("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(b);if(a){if(n.$flags$&1){var i=G(e.shadowRoot,n);e.classList.remove(i+"-h",i+"-s")}B(e,n.$tagName$,a,t)}}if(!a){if(n.$flags$&(4|8)){Ie(e)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){pe(t,t.$ancestorComponent$=l);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{st((function(){return Le(e,t,n)}))}}else{Me(e,t,n.$listeners$);Ae(t.$lazyInstance$)}r()}};var Ie=function(e){var t=e["s-cr"]=Ye.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var je=function(e){if((Ze.$flags$&1)===0){var t=He(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{Re(n,"disconnectedCallback")}}};var Ee=function(e,t){var n=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.$flags$&8){var r=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=r.call(this);if((Ze.$flags$&1)===0&&He(this).$flags$&2){var t=new n;for(var a=0;a<e.length;a++){var i=e[a]["s-nr"];if(i){t.push(i)}}return t}return n.from(e)}})}};var Pe=e("b",(function(e,t){if(t===void 0){t={}}var n;var r=d();var a=[];var i=t.exclude||[];var l=Xe.customElements;var o=Ye.head;var s=o.querySelector("meta[charset]");var $=Ye.createElement("style");var f=[];var u=Ye.querySelectorAll("[".concat(w,"]"));var c;var v=true;var h=0;Object.assign(Ze,t);Ze.$resourcesUrl$=new URL(t.resourcesUrl||"./",Ye.baseURI).href;{Ze.$flags$|=2}{for(;h<u.length;h++){W(u[h].getAttribute(w),Q(u[h].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}{n.$watchers$={}}var r=n.$tagName$;var o=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;Fe(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open",delegatesFocus:!!(n.$flags$&16)})}}}{Ee(t,n)}return r}t.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{Ze.jmp((function(){return Ce(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;Ze.jmp((function(){return je(e)}))};t.prototype.componentOnReady=function(){return He(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!i.includes(r)&&!l.get(r)){a.push(r);l.define(r,Te(o,n,1))}}))}));{$.innerHTML=a+R;$.setAttribute("data-styles","");var p=(n=Ze.$nonce$)!==null&&n!==void 0?n:A(Ye);if(p!=null){$.setAttribute("nonce",p)}o.insertBefore($,s?s.nextSibling:o.firstChild)}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{Ze.jmp((function(){return c=setTimeout(Ne,30)}))}}r()}));var Oe=e("F",(function(e,t){return t}));var Me=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],i=n[2];var l=qe(e,r);var o=Be(t,i);var s=ze(r);Ze.ael(l,a,o,s);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return Ze.rel(l,a,o,s)}))}))}};var Be=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){Ge(e)}}};var qe=function(e,t){if(t&4)return Ye;if(t&8)return Xe;if(t&16)return Ye.body;return e};var ze=function(e){return(e&2)!==0};var Ue=e("s",(function(e){return Ze.$nonce$=e}));var Ve=new WeakMap;var He=function(e){return Ve.get(e)};var De=e("r",(function(e,t){return Ve.set(t.$lazyInstance$=e,t)}));var Fe=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}Me(e,n,t.$listeners$);return Ve.set(e,n)};var We=function(e,t){return t in e};var Ge=function(e,t){return(0,console.error)(e,t)};var Je=new Map;var Ke=function(e,n,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Je.get(i);if(l){return l[a]}
|
|
5
5
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{Je.set(i,e)}return e[a]}),Ge)};var Qe=new Map;var Xe=typeof window!=="undefined"?window:{};var Ye=e("d",Xe.document||{head:{}});var Ze={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var et=true;var tt=e("p",(function(e){return Promise.resolve(e)}));var nt=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var rt=[];var at=[];var it=function(e,t){return function(n){e.push(n);if(!c){c=true;if(t&&Ze.$flags$&4){st(ot)}else{Ze.raf(ot)}}}};var lt=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){Ge(e)}}e.length=0};var ot=function(){lt(rt);{lt(at);if(c=rt.length>0){Ze.raf(ot)}}};var st=function(e){return tt().then(e)};var $t=it(at,true)}}}));
|