@duetds/components 9.7.2 → 9.8.0
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 +147 -142
- package/lib/cjs/{a11y-utils-ae1e63c4.js → a11y-utils-a2456285.js} +1 -1
- package/lib/cjs/{app-globals-540cd51d.js → app-globals-d1845172.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +10 -9
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- 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 +3 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- package/lib/cjs/duet-grid_2.cjs.entry.js +46 -42
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +4 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +12 -9
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
- package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +7 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-b47aaa45.js → errorcodes.utils-f65f1fe3.js} +1 -1
- package/lib/cjs/{floating-ui.dom.esm-806e7c53.js → floating-ui.dom.esm-bdde8521.js} +50 -27
- package/lib/cjs/{focus-utils-c4163f8f.js → focus-utils-923b8b88.js} +1 -1
- package/lib/cjs/{index-00821d28.js → index-3d8a31a0.js} +1 -1
- package/lib/cjs/{language-utils-77bf1c27.js → language-utils-53bb7035.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-55f6a689.js → slot-utils-f85c14a2.js} +1 -1
- package/lib/cjs/{token-utils-12717808.js → token-utils-6258d3f7.js} +1 -1
- package/lib/cjs/{tokens-57e06fe4.js → tokens-e6fda5ee.js} +2 -3
- package/lib/cjs/{tokens.module-46ddb47a.js → tokens.module-a7c77c13.js} +2 -2
- package/lib/cjs/{watch-options-30a12622.js → watch-options-31527e7b.js} +0 -20
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-banner/duet-banner.js +1 -1
- 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.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +6 -6
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- 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.js +1 -1
- 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-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +50 -49
- 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.js +5 -5
- 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 +33 -11
- package/lib/collection/components/duet-link/duet-link.js +4 -3
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +4 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +4 -4
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +9 -6
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- 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.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- 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.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.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 +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- 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 +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- 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-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +7 -7
- 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 +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- 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 +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +8 -8
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +3 -3
- package/lib/dist-custom-elements/duet-pagination.js +14 -14
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +16 -16
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -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 +9 -9
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- 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 +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +4 -4
- 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-status-icon.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-tab-group.js +7 -7
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- 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 +6 -6
- 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 +20 -20
- 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-cc3db4b5.js → p-04762e09.js} +3 -3
- package/lib/dist-custom-elements/{p-294be03e.js → p-0d73c2f1.js} +47 -44
- package/lib/dist-custom-elements/{p-b2209719.js → p-0e65f2d7.js} +10 -10
- package/lib/dist-custom-elements/{p-f2c2f3d2.js → p-0e694c06.js} +1 -1
- package/lib/dist-custom-elements/{p-ef48f2c7.js → p-153359ff.js} +1 -1
- package/lib/dist-custom-elements/{p-2f35ab6d.js → p-2a6040d0.js} +5 -5
- package/lib/dist-custom-elements/{p-2c553cff.js → p-30c1366b.js} +2 -2
- package/lib/dist-custom-elements/{p-cc4d7cd3.js → p-30ef95ec.js} +2 -2
- package/lib/dist-custom-elements/{p-8dc35603.js → p-31dbfae1.js} +7 -6
- package/lib/dist-custom-elements/{p-5830b545.js → p-364b7287.js} +2 -2
- package/lib/dist-custom-elements/{p-60321ce4.js → p-3c4c4976.js} +2 -2
- package/lib/dist-custom-elements/{p-65a2c6d6.js → p-40ede289.js} +5 -5
- package/lib/dist-custom-elements/{p-90074c50.js → p-4365799e.js} +5 -4
- package/lib/dist-custom-elements/{p-198d7866.js → p-498c5db1.js} +2 -2
- package/lib/dist-custom-elements/{p-d8dddc51.js → p-4e2c2dde.js} +5 -5
- package/lib/dist-custom-elements/{p-521ea41a.js → p-5330f4d6.js} +2 -2
- package/lib/dist-custom-elements/{p-92f53ff1.js → p-5980607d.js} +1 -1
- package/lib/dist-custom-elements/{p-5c9414bb.js → p-59a8e5d4.js} +1 -1
- package/lib/dist-custom-elements/{p-30c909e0.js → p-614647ec.js} +2 -2
- package/lib/dist-custom-elements/{p-28e818db.js → p-685e9f01.js} +3 -3
- package/lib/dist-custom-elements/{p-4c179c1e.js → p-6f42296b.js} +2 -2
- package/lib/dist-custom-elements/{p-fcea7cb2.js → p-7247730a.js} +10 -10
- package/lib/dist-custom-elements/{p-6e022235.js → p-77260ba8.js} +1 -1
- package/lib/dist-custom-elements/{p-f0e6f0d8.js → p-7fc5f0dc.js} +1 -1
- package/lib/{esm/watch-options-e96ecd92.js → dist-custom-elements/p-8a5bd61a.js} +1 -20
- package/lib/dist-custom-elements/{p-9cd492a4.js → p-8d795f62.js} +2 -2
- package/lib/dist-custom-elements/{p-821b01b0.js → p-991fa955.js} +3 -3
- package/lib/dist-custom-elements/{p-3c061dcb.js → p-9978e596.js} +1 -1
- package/lib/dist-custom-elements/{p-d383dac5.js → p-9a109585.js} +56 -33
- package/lib/dist-custom-elements/{p-3e0e12ca.js → p-9e65e6c5.js} +4 -4
- package/lib/dist-custom-elements/{p-bb35f7e7.js → p-a80179a7.js} +1 -1
- package/lib/dist-custom-elements/{p-b16d3074.js → p-ad18c534.js} +20 -17
- package/lib/dist-custom-elements/{p-1b9771cc.js → p-b29b6605.js} +2 -2
- package/lib/dist-custom-elements/{p-a42d6be2.js → p-b78caef0.js} +7 -7
- package/lib/dist-custom-elements/{p-874675e6.js → p-c4fbeffc.js} +1 -1
- package/lib/dist-custom-elements/{p-4ce79667.js → p-c824afc6.js} +2 -2
- package/lib/dist-custom-elements/{p-3fda4c4e.js → p-c8aa0c8c.js} +8 -8
- package/lib/dist-custom-elements/{p-931ac5ac.js → p-d0fa2af7.js} +2 -2
- package/lib/dist-custom-elements/{p-f6000a03.js → p-d32bd233.js} +3 -3
- package/lib/dist-custom-elements/{p-9b364696.js → p-dda43548.js} +1 -1
- package/lib/dist-custom-elements/{p-e9121d56.js → p-e3decce6.js} +2 -2
- package/lib/dist-custom-elements/{p-e096b297.js → p-eafee3ad.js} +5 -5
- package/lib/dist-custom-elements/{p-1bc9fed2.js → p-ebecd579.js} +2 -2
- package/lib/dist-custom-elements/{p-ac057b32.js → p-f0d133ad.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-69e3ec89.entry.js → p-00eead31.entry.js} +1 -1
- package/lib/duet/p-00feb58c.system.entry.js +4 -0
- package/lib/duet/{p-fee19c9f.entry.js → p-01182f5e.entry.js} +1 -1
- package/lib/duet/{p-c760a6bc.system.entry.js → p-018b754d.system.entry.js} +1 -1
- package/lib/duet/{p-91d4e473.entry.js → p-01c72f8e.entry.js} +1 -1
- package/lib/duet/{p-2e66d74b.entry.js → p-02ce78c7.entry.js} +1 -1
- package/lib/duet/{p-4952116e.entry.js → p-02ea4090.entry.js} +1 -1
- package/lib/duet/{p-b49e5c58.system.entry.js → p-038e3b41.system.entry.js} +1 -1
- package/lib/duet/{p-4853837e.system.entry.js → p-03ec5f79.system.entry.js} +1 -1
- package/lib/duet/{p-142afd63.entry.js → p-03ff933b.entry.js} +1 -1
- package/lib/duet/{p-56ad7189.system.js → p-058dde3c.system.js} +1 -1
- package/lib/duet/{p-d384e575.entry.js → p-09bd9f19.entry.js} +1 -1
- package/lib/duet/{p-7fed5b14.system.entry.js → p-09cb29f2.system.entry.js} +1 -1
- package/lib/duet/{p-f8314996.system.entry.js → p-0aaa3c39.system.entry.js} +1 -1
- package/lib/duet/{p-f6cbe5d9.system.entry.js → p-0c8421f5.system.entry.js} +1 -1
- package/lib/duet/{p-ba08c98a.entry.js → p-0fa57cb4.entry.js} +1 -1
- package/lib/duet/{p-9a43132b.system.js → p-122d1eb2.system.js} +1 -1
- package/lib/duet/{p-facb3115.entry.js → p-13381697.entry.js} +1 -1
- package/lib/duet/{p-1004af75.js → p-17efced0.js} +1 -1
- package/lib/duet/{p-9c75c38d.entry.js → p-198b651e.entry.js} +1 -1
- package/lib/duet/{p-e51d65c9.entry.js → p-1b7c607c.entry.js} +1 -1
- package/lib/duet/{p-229649f1.system.entry.js → p-1d5686e9.system.entry.js} +2 -2
- package/lib/duet/{p-f11db08e.system.entry.js → p-1d81cad7.system.entry.js} +1 -1
- package/lib/duet/{p-744b8ee1.js → p-1ebe06b3.js} +1 -1
- package/lib/duet/{p-14857c6a.system.entry.js → p-22ab9afa.system.entry.js} +1 -1
- package/lib/duet/{p-171a126f.entry.js → p-242b4466.entry.js} +1 -1
- package/lib/duet/{p-6d0be00f.entry.js → p-26095d4c.entry.js} +1 -1
- package/lib/duet/{p-25caa9f7.entry.js → p-26ec4dbe.entry.js} +1 -1
- package/lib/duet/{p-bf9205ac.system.entry.js → p-2cd44aef.system.entry.js} +1 -1
- package/lib/duet/{p-64a9d71c.system.entry.js → p-2f2954b2.system.entry.js} +1 -1
- package/lib/duet/{p-b562ad7e.entry.js → p-315b2470.entry.js} +1 -1
- package/lib/duet/p-32c98c69.system.entry.js +4 -0
- package/lib/duet/{p-f2ccd2cc.system.entry.js → p-34a25d95.system.entry.js} +1 -1
- package/lib/duet/{p-101d8dd9.system.entry.js → p-35d29de1.system.entry.js} +1 -1
- package/lib/duet/{p-e4d173cc.entry.js → p-35ef7ec4.entry.js} +1 -1
- package/lib/duet/p-36ea2c29.entry.js +4 -0
- package/lib/duet/{p-b40ce0fa.entry.js → p-36f4e631.entry.js} +1 -1
- package/lib/duet/{p-cab23b7f.entry.js → p-3848cdc3.entry.js} +1 -1
- package/lib/duet/{p-22a75312.entry.js → p-3e748a32.entry.js} +1 -1
- package/lib/duet/{p-9eb022e9.system.entry.js → p-40c929c7.system.entry.js} +1 -1
- package/lib/duet/{p-fcafbcd4.entry.js → p-40de9bfa.entry.js} +1 -1
- package/lib/duet/p-411366b0.system.js +4 -0
- package/lib/duet/{p-905072e0.entry.js → p-41b3ba17.entry.js} +1 -1
- package/lib/duet/{p-9c155069.system.entry.js → p-451b4abc.system.entry.js} +1 -1
- package/lib/duet/{p-d9e3c5d3.entry.js → p-457fc76a.entry.js} +1 -1
- package/lib/duet/{p-e80dd41f.system.entry.js → p-47c86331.system.entry.js} +1 -1
- package/lib/duet/{p-ebb8d192.entry.js → p-4ed96d6a.entry.js} +1 -1
- package/lib/duet/{p-c3e52ce9.system.entry.js → p-52a7b68f.system.entry.js} +1 -1
- package/lib/duet/{p-b75e6fd7.entry.js → p-575df633.entry.js} +1 -1
- package/lib/duet/{p-5e0654cc.system.js → p-57dbe566.system.js} +1 -1
- package/lib/duet/{p-0511fd26.system.js → p-585fb676.system.js} +1 -1
- package/lib/duet/{p-9bd3407d.system.entry.js → p-58c9bd19.system.entry.js} +1 -1
- package/lib/duet/{p-d3bde4cc.system.entry.js → p-5939ca51.system.entry.js} +1 -1
- package/lib/duet/{p-44b36dbf.js → p-5c1cada7.js} +1 -1
- package/lib/duet/{p-db9ef24f.system.entry.js → p-5c732e81.system.entry.js} +1 -1
- package/lib/duet/{p-4d3c01fa.system.entry.js → p-5cce55d7.system.entry.js} +1 -1
- package/lib/duet/p-5de30279.js +4 -0
- package/lib/duet/p-5ee5540a.js +4 -0
- package/lib/duet/{p-3b4f6e4b.entry.js → p-5eee138b.entry.js} +1 -1
- package/lib/duet/{p-bf0f7acd.entry.js → p-5f13e48c.entry.js} +1 -1
- package/lib/duet/{p-820937d1.system.entry.js → p-5f38327e.system.entry.js} +1 -1
- package/lib/duet/{p-c2a22f7e.entry.js → p-5fdc84cf.entry.js} +1 -1
- package/lib/duet/{p-8097eb44.entry.js → p-5fef7caf.entry.js} +1 -1
- package/lib/duet/{p-6f415c0f.system.entry.js → p-5ff67999.system.entry.js} +1 -1
- package/lib/duet/p-600b6b9f.entry.js +4 -0
- package/lib/duet/{p-ce1ee182.entry.js → p-630e7601.entry.js} +1 -1
- package/lib/duet/{p-185cd6bd.system.entry.js → p-630fd37d.system.entry.js} +1 -1
- package/lib/duet/{p-c3a69e37.js → p-63675f5c.js} +1 -1
- package/lib/duet/{p-ef731dfb.system.js → p-64959c1d.system.js} +1 -1
- package/lib/duet/{p-1d94d37d.system.entry.js → p-64f9793b.system.entry.js} +1 -1
- package/lib/duet/{p-1d32c95c.system.entry.js → p-6722009a.system.entry.js} +1 -1
- package/lib/duet/{p-f64e1189.system.entry.js → p-67cccb20.system.entry.js} +1 -1
- package/lib/duet/{p-706f68c0.entry.js → p-6dcdd126.entry.js} +1 -1
- package/lib/duet/{p-c0137b84.system.entry.js → p-6e2b62bf.system.entry.js} +1 -1
- package/lib/duet/{p-fd3af4d2.entry.js → p-700a2c3e.entry.js} +1 -1
- package/lib/duet/{p-1b031645.system.entry.js → p-71639b6e.system.entry.js} +1 -1
- package/lib/duet/{p-c4204738.entry.js → p-7186b899.entry.js} +1 -1
- package/lib/duet/{p-10e56ab2.entry.js → p-71c75b42.entry.js} +1 -1
- package/lib/duet/{p-32a2d722.entry.js → p-71fe9d70.entry.js} +1 -1
- package/lib/duet/{p-1515a887.entry.js → p-72ce083f.entry.js} +1 -1
- package/lib/duet/{p-0b3cb828.system.entry.js → p-739a8ad7.system.entry.js} +1 -1
- package/lib/duet/{p-5ede36ae.entry.js → p-7476c2a6.entry.js} +1 -1
- package/lib/duet/{p-926266f1.system.entry.js → p-760c9e95.system.entry.js} +2 -2
- package/lib/duet/{p-1c2eb6d0.system.entry.js → p-77163df8.system.entry.js} +1 -1
- package/lib/duet/{p-74331989.system.entry.js → p-799a3c7b.system.entry.js} +1 -1
- package/lib/duet/{p-bd6a9171.system.entry.js → p-7bd75507.system.entry.js} +1 -1
- package/lib/duet/{p-7a2f8df9.entry.js → p-7ff31aac.entry.js} +1 -1
- package/lib/duet/{p-6372e73b.entry.js → p-801fd1e1.entry.js} +1 -1
- package/lib/duet/{p-f1ba5666.system.entry.js → p-80b1d485.system.entry.js} +1 -1
- package/lib/duet/{p-776ed377.system.entry.js → p-815520c1.system.entry.js} +1 -1
- package/lib/duet/{p-54188be3.system.entry.js → p-83114a6d.system.entry.js} +1 -1
- package/lib/duet/{p-e7185338.entry.js → p-834cbeea.entry.js} +1 -1
- package/lib/duet/{p-50a13103.system.entry.js → p-86b908de.system.entry.js} +1 -1
- package/lib/duet/{p-c44b5ed2.system.entry.js → p-8a388f5b.system.entry.js} +1 -1
- package/lib/duet/p-8a5bd61a.js +4 -0
- package/lib/duet/{p-f2d5c69e.system.js → p-90dad2bc.system.js} +1 -1
- package/lib/duet/{p-a2fa6a72.system.entry.js → p-9141866f.system.entry.js} +1 -1
- package/lib/duet/{p-3bb14438.entry.js → p-933894b9.entry.js} +1 -1
- package/lib/duet/{p-7cb195ba.entry.js → p-946b9f45.entry.js} +1 -1
- package/lib/duet/p-9508ee67.system.js +4 -0
- package/lib/duet/{p-6cbe31c3.system.entry.js → p-97b94b88.system.entry.js} +1 -1
- package/lib/duet/{p-453f791b.system.entry.js → p-97ff0a20.system.entry.js} +1 -1
- package/lib/duet/{p-4f0be726.system.entry.js → p-985a89d4.system.entry.js} +1 -1
- package/lib/duet/{p-1144fc8e.system.entry.js → p-9b2636f0.system.entry.js} +1 -1
- package/lib/duet/p-9d336f77.system.js +4 -0
- package/lib/duet/{p-495e7223.system.entry.js → p-9edfcaf6.system.entry.js} +1 -1
- package/lib/duet/{p-db36e60c.entry.js → p-a0703d11.entry.js} +1 -1
- package/lib/duet/{p-50c18c14.system.js → p-a0a62431.system.js} +1 -1
- package/lib/duet/{p-73eb17ac.entry.js → p-a31a969b.entry.js} +1 -1
- package/lib/duet/{p-0af2a9fd.entry.js → p-a420b2d1.entry.js} +1 -1
- package/lib/duet/{p-ce25bba1.entry.js → p-a438841c.entry.js} +1 -1
- package/lib/duet/{p-da4450d1.system.entry.js → p-a671f12e.system.entry.js} +1 -1
- package/lib/duet/p-a7a13290.entry.js +4 -0
- package/lib/duet/{p-15560f1b.entry.js → p-a9b1974d.entry.js} +1 -1
- package/lib/duet/{p-56c617ae.entry.js → p-ab0bf0f4.entry.js} +1 -1
- package/lib/duet/p-acb3b427.system.entry.js +4 -0
- package/lib/duet/{p-0071a5b9.system.entry.js → p-b0839ac6.system.entry.js} +1 -1
- package/lib/duet/{p-a234eaa5.system.entry.js → p-b1242cfd.system.entry.js} +1 -1
- package/lib/duet/{p-f6c64bac.entry.js → p-b1a2f837.entry.js} +1 -1
- package/lib/duet/{p-dee5d396.system.entry.js → p-b26f5296.system.entry.js} +1 -1
- package/lib/duet/{p-2d73a182.entry.js → p-b31efa7d.entry.js} +1 -1
- package/lib/duet/{p-579d96f9.system.entry.js → p-b4cfa7bb.system.entry.js} +1 -1
- package/lib/duet/{p-f4a74e37.entry.js → p-b53d454b.entry.js} +1 -1
- package/lib/duet/{p-ed3748dc.js → p-b54f9b74.js} +1 -1
- package/lib/duet/{p-d01c4f4b.entry.js → p-b5d3ae06.entry.js} +1 -1
- package/lib/duet/{p-9b7649d6.system.entry.js → p-b5fe55fe.system.entry.js} +1 -1
- package/lib/duet/{p-0e883b85.entry.js → p-b7646687.entry.js} +1 -1
- package/lib/duet/{p-99e02dad.entry.js → p-b8c6086f.entry.js} +1 -1
- package/lib/duet/{p-63fef46e.system.entry.js → p-ba8e2d0a.system.entry.js} +1 -1
- package/lib/duet/{p-04f1897d.system.entry.js → p-bb6aee0a.system.entry.js} +1 -1
- package/lib/duet/{p-611dd17d.entry.js → p-bbfe0fc7.entry.js} +1 -1
- package/lib/duet/{p-24bace56.entry.js → p-bc4acf3c.entry.js} +1 -1
- package/lib/duet/{p-792c9b83.system.entry.js → p-bc7d623e.system.entry.js} +1 -1
- package/lib/duet/{p-5c8ad4d6.system.entry.js → p-bc923039.system.entry.js} +1 -1
- package/lib/duet/{p-8d19eece.entry.js → p-be301324.entry.js} +1 -1
- package/lib/duet/{p-afd26f78.entry.js → p-c15b13a7.entry.js} +1 -1
- package/lib/duet/{p-d6806be3.system.entry.js → p-c387c23d.system.entry.js} +1 -1
- package/lib/duet/p-c854531e.system.entry.js +4 -0
- package/lib/duet/{p-3a85f7b2.system.entry.js → p-c8cad658.system.entry.js} +1 -1
- package/lib/duet/{p-7f03dd39.entry.js → p-ccfce1f5.entry.js} +1 -1
- package/lib/duet/p-cd16c798.system.entry.js +4 -0
- package/lib/duet/{p-fff58939.entry.js → p-cd3bd02d.entry.js} +1 -1
- package/lib/duet/{p-ae0b5812.entry.js → p-cf66bd19.entry.js} +1 -1
- package/lib/duet/p-cfa74eff.js +4 -0
- package/lib/duet/{p-33433426.system.entry.js → p-d10be375.system.entry.js} +1 -1
- package/lib/duet/{p-7f85afa0.entry.js → p-d21b4ed5.entry.js} +1 -1
- package/lib/duet/{p-f6000a03.js → p-d32bd233.js} +1 -1
- package/lib/duet/{p-a0e30584.entry.js → p-d6d0230a.entry.js} +1 -1
- package/lib/duet/p-d7f543fb.js +4 -0
- package/lib/duet/p-d8861775.system.js +4 -0
- package/lib/duet/{p-d159fb1f.system.entry.js → p-d8a4ec3a.system.entry.js} +1 -1
- package/lib/duet/{p-4118597d.entry.js → p-d8c070da.entry.js} +1 -1
- package/lib/duet/p-d997b605.system.js +4 -0
- package/lib/duet/p-daf57f21.entry.js +4 -0
- package/lib/duet/{p-5475be04.entry.js → p-dc844ded.entry.js} +1 -1
- package/lib/duet/{p-a4c84b87.system.entry.js → p-df163adc.system.entry.js} +1 -1
- package/lib/duet/p-df6faea3.entry.js +4 -0
- package/lib/duet/{p-51e5cc18.system.entry.js → p-e180ccbf.system.entry.js} +1 -1
- package/lib/duet/{p-8b570e72.system.entry.js → p-e24cf47d.system.entry.js} +1 -1
- package/lib/duet/{p-50551117.system.entry.js → p-e35fa4c0.system.entry.js} +1 -1
- package/lib/duet/{p-f51c3456.entry.js → p-e59aa740.entry.js} +1 -1
- package/lib/duet/{p-60c66aa9.entry.js → p-e72daab4.entry.js} +1 -1
- package/lib/duet/{p-bc20b234.system.entry.js → p-e78deb4d.system.entry.js} +1 -1
- package/lib/duet/{p-a7e80b9d.system.entry.js → p-e7ca4c2a.system.entry.js} +1 -1
- package/lib/duet/{p-b6f08326.entry.js → p-e80aa07c.entry.js} +1 -1
- package/lib/duet/{p-77d28810.system.entry.js → p-e82e56d1.system.entry.js} +1 -1
- package/lib/duet/p-e8532ea6.js +4 -0
- package/lib/duet/{p-4d7186ca.system.entry.js → p-e981142d.system.entry.js} +1 -1
- package/lib/duet/{p-a6e8ceb0.system.entry.js → p-ea419ab1.system.entry.js} +1 -1
- package/lib/duet/{p-0217b93f.system.entry.js → p-eac48d1e.system.entry.js} +1 -1
- package/lib/duet/{p-2fafdd81.entry.js → p-ec025b1a.entry.js} +1 -1
- package/lib/duet/{p-2c7d99df.system.entry.js → p-ec6820d3.system.entry.js} +1 -1
- package/lib/duet/{p-7443f659.system.entry.js → p-ee209df1.system.entry.js} +1 -1
- package/lib/duet/{p-8b301afb.entry.js → p-ee2ad3a0.entry.js} +1 -1
- package/lib/duet/{p-67e6cff0.system.entry.js → p-ef35aa03.system.entry.js} +1 -1
- package/lib/duet/{p-5c3f4962.system.entry.js → p-efb38f60.system.entry.js} +2 -2
- package/lib/duet/{p-34569fd2.entry.js → p-efdcb86f.entry.js} +1 -1
- package/lib/duet/{p-6d5e9383.entry.js → p-f075d310.entry.js} +1 -1
- package/lib/duet/{p-5940d019.entry.js → p-f3285f42.entry.js} +1 -1
- package/lib/duet/{p-3b2c0995.system.entry.js → p-f46c78c3.system.entry.js} +1 -1
- package/lib/duet/{p-05931a12.system.entry.js → p-fa2753c1.system.entry.js} +1 -1
- package/lib/duet/{p-f7a870e4.entry.js → p-fc16a9c7.entry.js} +1 -1
- package/lib/duet/{p-0bc30861.system.entry.js → p-fc7fd7e4.system.entry.js} +1 -1
- package/lib/duet/{p-49ee5283.entry.js → p-fcd270af.entry.js} +1 -1
- package/lib/duet/{p-5c870999.entry.js → p-fe1cf73e.entry.js} +1 -1
- package/lib/duet/p-fe982640.entry.js +4 -0
- package/lib/duet/p-ff1194f7.system.js +4 -0
- package/lib/duet/{p-d30e2e4f.system.entry.js → p-ff643468.system.entry.js} +1 -1
- package/lib/duet/{p-e874b49c.entry.js → p-ffc592b1.entry.js} +1 -1
- package/lib/esm/{a11y-utils-3b7c95b9.js → a11y-utils-02146774.js} +1 -1
- package/lib/esm/{app-globals-2c6c1103.js → app-globals-3f3fcf1f.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +2 -2
- package/lib/esm/duet-caption_4.entry.js +10 -9
- package/lib/esm/duet-card.entry.js +4 -4
- package/lib/esm/duet-checkbox.entry.js +1 -1
- 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 +3 -3
- package/lib/esm/duet-contact-card.entry.js +2 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +4 -4
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +5 -5
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +2 -2
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +3 -3
- package/lib/esm/duet-grid_2.entry.js +46 -42
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +3 -3
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +5 -5
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +2 -2
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-item.entry.js +4 -4
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +4 -4
- package/lib/esm/duet-multiselect.entry.js +3 -3
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +2 -2
- package/lib/esm/duet-number-input.entry.js +3 -3
- package/lib/esm/duet-overlay.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +3 -3
- package/lib/esm/duet-popup-menu_2.entry.js +12 -9
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +5 -5
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +2 -2
- package/lib/esm/duet-slideout-link.entry.js +4 -4
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +6 -6
- package/lib/esm/duet-slideout.entry.js +6 -6
- package/lib/esm/duet-status-icon.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-item.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-item.entry.js +4 -4
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +7 -6
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +3 -3
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-86af68b7.js → errorcodes.utils-0b711abe.js} +1 -1
- package/lib/esm/{floating-ui.dom.esm-ebc91b33.js → floating-ui.dom.esm-ef361ca5.js} +50 -27
- package/lib/esm/{focus-utils-9bbe977f.js → focus-utils-59c3798e.js} +1 -1
- package/lib/esm/{index-a830b2de.js → index-dd60f5fc.js} +1 -1
- package/lib/esm/{language-utils-40caac4f.js → language-utils-47475a59.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-a481f2c6.js → slot-utils-205a8937.js} +1 -1
- package/lib/esm/{token-utils-a32eb753.js → token-utils-7360bb84.js} +1 -1
- package/lib/esm/{tokens-84fb2357.js → tokens-85fb95d1.js} +3 -3
- package/lib/esm/{tokens.module-a746651a.js → tokens.module-821694bb.js} +2 -2
- package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-e22542d2.js} +1 -20
- package/lib/esm-es5/{a11y-utils-3b7c95b9.js → a11y-utils-02146774.js} +1 -1
- package/lib/esm-es5/{app-globals-2c6c1103.js → app-globals-3f3fcf1f.js} +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- 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 +1 -1
- 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 +1 -1
- 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-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- 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-item.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 +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.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-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- 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-item.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 +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- 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-item.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 +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-86af68b7.js → errorcodes.utils-0b711abe.js} +1 -1
- package/lib/esm-es5/floating-ui.dom.esm-ef361ca5.js +4 -0
- package/lib/esm-es5/focus-utils-59c3798e.js +4 -0
- package/lib/esm-es5/{index-a830b2de.js → index-dd60f5fc.js} +1 -1
- package/lib/esm-es5/{language-utils-40caac4f.js → language-utils-47475a59.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-a481f2c6.js → slot-utils-205a8937.js} +1 -1
- package/lib/esm-es5/{token-utils-a32eb753.js → token-utils-7360bb84.js} +1 -1
- package/lib/esm-es5/{tokens-84fb2357.js → tokens-85fb95d1.js} +1 -1
- package/lib/esm-es5/{tokens.module-a746651a.js → tokens.module-821694bb.js} +1 -1
- package/lib/esm-es5/watch-options-e22542d2.js +4 -0
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-grid/duet-grid.d.ts +4 -4
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +1 -1
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
- package/lib/types/components.d.ts +4 -4
- package/package.json +4 -4
- package/lib/duet/p-055e24d8.system.entry.js +0 -4
- package/lib/duet/p-0dc9089b.system.js +0 -4
- package/lib/duet/p-10c530d1.js +0 -4
- package/lib/duet/p-1cb66641.js +0 -4
- package/lib/duet/p-22064e74.entry.js +0 -4
- package/lib/duet/p-2683cdc8.entry.js +0 -4
- package/lib/duet/p-2e346b26.system.entry.js +0 -4
- package/lib/duet/p-4a3dae6f.js +0 -4
- package/lib/duet/p-5080b864.system.entry.js +0 -4
- package/lib/duet/p-5577da59.system.js +0 -4
- package/lib/duet/p-61ac836c.system.js +0 -4
- package/lib/duet/p-6e1f8ca5.system.entry.js +0 -4
- package/lib/duet/p-718585c1.entry.js +0 -4
- package/lib/duet/p-79d7199e.entry.js +0 -4
- package/lib/duet/p-7d8a2628.js +0 -4
- package/lib/duet/p-81287261.js +0 -4
- package/lib/duet/p-81c3bbcc.system.entry.js +0 -4
- package/lib/duet/p-a0a5581f.js +0 -4
- package/lib/duet/p-a62f7dce.entry.js +0 -4
- package/lib/duet/p-afad5fd3.system.js +0 -4
- package/lib/duet/p-cbbf6d6a.system.js +0 -4
- package/lib/duet/p-dcc6df5e.entry.js +0 -4
- package/lib/duet/p-e4c8559c.system.js +0 -4
- package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
- package/lib/esm-es5/focus-utils-9bbe977f.js +0 -4
- package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,h as i,H as n,g as e}from"./p-44b36dbf.js";import{a as d,m as r,b as a}from"./p-f6000a03.js";import{w as o,a as m}from"./p-7d8a2628.js";import{i as l}from"./p-aaa7a7bd.js";function g(t){return"duet-grid-item"===t.tagName.toLowerCase()}const s=class{constructor(i){t(this,i),this.mql=[window.matchMedia(d.replace(/'/g,"")),window.matchMedia(r.replace(/'/g,"")),window.matchMedia(a.replace(/'/g,""))],this.distributeFormElement=!1,this.responsive=!1,this.breakpoint="small",this.direction="horizontal",this.rowReverse=!1,this.alignment="top",this.distribution="default",this.mobile="",this.gridTemplate=null}outerHeight(t){const i=t.offsetHeight,n=window.getComputedStyle(t);return["top","bottom"].map((t=>parseInt(n[`margin-${t}`]))).reduce(((t,i)=>t+i),i)}async connectedCallback(){const t=this.element;if(this.distributeFormElement="form_distribute"===this.alignment,this.mutationO=o(t,"duet-grid-item",(()=>{this.updateGridItems()})),this.distributeFormElement){this.mutation1=m(t,"duet-input",(()=>{this.updateGridItemsWithInputFields()}));for(let t=0;t<this.mql.length;t++)this.mql[t].addEventListener&&this.mql[t].addEventListener("change",this.updateGridItemsWithInputFields.bind(this))}this.updateGridItems()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.mutation1&&(this.mutation1.disconnect(),this.mutation1=void 0);for(let t=0;t<this.mql.length;t++)this.mql[t].removeEventListener&&this.mql[t].removeEventListener("change",this.updateGridItemsWithInputFields.bind(this))}async updateGridItems(){Array.from(this.element.children).filter(g).forEach((t=>{t.responsive=this.responsive,t.breakpoint=this.breakpoint,t.direction=this.direction,t.rowReverse=this.rowReverse}))}async updateGridItemsWithInputFields(){const t=Array.from(this.element.children).filter(g),i=!!window&&"column"===window.getComputedStyle(this.element).flexDirection;let n=0;const e=[];t.forEach((t=>{const i=t.querySelector("span.duet-input-error"),n=i?this.outerHeight(i):0;e.push(n)})),n=Math.max(...e),t.forEach((t=>{const e=t.querySelector("span.duet-input-error"),d=e?this.outerHeight(e):0;d<n&&!i?t.setAttribute("style",`padding-bottom: ${n-d}px;`):(d===n||i)&&t.setAttribute("style","padding-bottom: 0px;")}))}render(){return i(n,{class:{"duet-grid":!0,"duet-no-stacking":!this.responsive,"duet-grid-align-top":"top"===this.alignment,"duet-grid-align-bottom":"bottom"===this.alignment||"form_distribute"===this.alignment,"duet-grid-align-center":"center"===this.alignment,"duet-grid-align-stretch":"stretch"===this.alignment,"duet-grid-align-baseline":"baseline"===this.alignment,"duet-grid-distribution-left":"left"===this.distribution,"duet-grid-distribution-right":"right"===this.distribution,"duet-grid-distribution-center":"center"===this.distribution,"duet-grid-distribution-between":"space-between"===this.distribution,"duet-grid-distribution-around":"space-around"===this.distribution,"duet-grid-distribution-evenly":"space-evenly"===this.distribution,"duet-grid-mobile-left":"left"===this.mobile,"duet-grid-mobile-center":"center"===this.mobile,"duet-grid-mobile-right":"right"===this.mobile,"duet-grid-direction-horizontal":"horizontal"===this.direction,"duet-grid-direction-vertical":"vertical"===this.direction,"duet-grid-breakpoint-x-small":"x-small"===this.breakpoint,"duet-grid-breakpoint-small":"small"===this.breakpoint,"duet-grid-breakpoint-medium":"medium"===this.breakpoint,"duet-grid-breakpoint-large":"large"===this.breakpoint,"duet-grid-breakpoint-x-large":"x-large"===this.breakpoint,"duet-grid-row-reverse":this.rowReverse,["duet-grid-variation-"+(this.gridTemplate?"grid":"flex")]:!0,[`duet-grid-template-${this.gridTemplate}`]:!0}},i("slot",null))}get element(){return e(this)}static get watchers(){return{responsive:["updateGridItems"],breakpoint:["updateGridItems"],direction:["updateGridItems"]}}};s.style=":host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host(.duet-grid-variation-flex) {\n display: flex !important;\n flex-direction: column !important;\n align-items: flex-start !important;\n justify-content: flex-start !important;\n width: 100%;\n max-width: 100%;\n height: auto;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small) {\n flex-direction: row !important;\n}\n@media (max-width: 22.5em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-small) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-small.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-medium) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-medium.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-large) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-large.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-large) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-large.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-wrap) {\n flex-wrap: wrap !important;\n}\n\n:host(.duet-grid-variation-flex.duet-no-stacking) {\n flex-direction: row !important;\n}\n\n:host(.duet-grid-variation-flex.duet-no-stacking.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n}\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small) {\n flex-direction: column !important;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium) {\n flex-direction: column !important;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large) {\n flex-direction: column !important;\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large) {\n flex-direction: column !important;\n}\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-top.duet-no-stacking) {\n align-items: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-no-stacking) {\n align-items: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-center.duet-no-stacking) {\n align-items: center !important;\n}\n\n.duet-grid-align-stretch.duet-no-stacking {\n align-items: stretch !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-no-stacking) {\n align-items: baseline !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-small) {\n align-items: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-small) {\n align-items: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-small) {\n align-items: center !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-small) {\n align-items: stretch !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-small) {\n align-items: baseline !important;\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-small) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-small) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-small) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-small) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-small) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-medium) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-medium) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-medium) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-medium) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-medium) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-large) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-large) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-large) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-large) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-large) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-large) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-large) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-large) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-large) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-large) {\n align-items: baseline !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-left) {\n justify-content: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-right) {\n justify-content: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-center) {\n justify-content: center !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-between) {\n justify-content: space-between !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-around) {\n justify-content: space-around !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-evenly) {\n justify-content: space-evenly !important;\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-left) {\n align-items: flex-start !important;\n justify-content: flex-start !important;\n text-align: left !important;\n }\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-center) {\n align-items: center !important;\n justify-content: center !important;\n text-align: center !important;\n }\n :host(.duet-grid-variation-flex.duet-grid-mobile-center) * {\n text-align: center !important;\n }\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-right) {\n align-items: flex-end !important;\n justify-content: flex-end !important;\n text-align: right !important;\n }\n :host(.duet-grid-variation-flex.duet-grid-mobile-right) * {\n text-align: right !important;\n }\n}\n\n:host(.duet-grid-variation-grid) {\n display: grid;\n grid-template-rows: repeat(1, 1fr);\n grid-template-columns: repeat(4, minmax(0, 1fr));\n gap: 16px;\n align-items: flex-start;\n justify-content: center;\n padding: 0 20px;\n container-type: inline-size;\n overflow-x: clip;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-grid) {\n gap: 24px;\n padding: 0 40px;\n }\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(8, 55px);\n gap: 24px 32px;\n padding: 0;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n padding: 0 64px;\n }\n}\n@media (min-width: 76.25em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(12, 55px);\n gap: 40px;\n padding: 0;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 3/span 8;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 2/span 10;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 12;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 9/span 4;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 5/span 8;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 6;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 5/span 4;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 7/span 6;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 5/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 9/span 4;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n grid-template-columns: minmax(0, 1fr);\n gap: 12px;\n padding: 0;\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n gap: 16px;\n }\n}\n@container (min-width: 664px) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n /* stylelint-enable */\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n@container (min-width: 1100px) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n /* stylelint-enable */\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}";const u=class{constructor(i){t(this,i),this.fill=!1,this.maxWidth=void 0,this.minWidth=void 0,this.theme="",this.margin="auto",this.responsive=!1,this.direction="horizontal",this.breakpoint="small",this.rowReverse=!1}componentWillLoad(){l(this)}render(){return i(n,{style:{"min-width":this.minWidth,"max-width":this.maxWidth},class:{"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-grid-item":!0,"duet-grid-item-fill":this.fill,"duet-grid-item-responsive":this.responsive,"duet-grid-item-row-reverse":this.rowReverse,"duet-grid-direction-horizontal":"horizontal"===this.direction,"duet-grid-direction-vertical":"vertical"===this.direction,"duet-grid-item-br-x-small":"x-small"===this.breakpoint,"duet-grid-item-br-small":"small"===this.breakpoint,"duet-grid-item-br-medium":"medium"===this.breakpoint,"duet-grid-item-br-large":"large"===this.breakpoint,"duet-grid-item-br-x-large":"x-large"===this.breakpoint}},i("slot",null))}};u.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;min-width:0;max-width:100%;flex:0 0 auto;padding-right:8px;padding-left:8px;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-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):first-child){padding-left:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):first-of-type){padding-left:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):last-child){padding-right:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):last-of-type){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:first-child){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:first-of-type){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:last-child){padding-left:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:last-of-type){padding-left:0}@media (max-width: 35.9375em){:host(.duet-grid-item-responsive){width:100% !important;min-width:0 !important;max-width:100% !important;padding-right:0;padding-left:0}}@media screen and (max-width: 47.9375em){:host(.duet-grid-item-br-medium){width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 47.9375em){:host(.duet-grid-item-responsive.duet-grid-item-br-medium){padding-right:0;padding-left:0}}@media screen and (max-width: 64em){:host(.duet-grid-item-br-x-large){width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 64em){:host(.duet-grid-item-responsive.duet-grid-item-br-x-large){padding-right:0;padding-left:0}}:host(.duet-grid-item-fill){flex:1 1 auto;width:100%}:host(.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)}:host(.duet-m-0){padding:0 !important;margin:0 !important}';export{s as duet_grid,u as duet_grid_item}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,o,r){function n(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function u(t){try{s(r["throw"](t))}catch(t){i(t)}}function s(t){t.done?o(t.value):n(t.value).then(a,u)}s((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return s([t,e])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(o=0)),o)try{if(r=1,n&&(i=u[0]&2?n["return"]:u[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;if(n=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:o.label++;return{value:u[1],done:false};case 5:o.label++;n=u[1];u=[0];continue;case 7:u=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1];i=u;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(u);break}if(i[2])o.ops.pop();o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t];n=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-f2d5c69e.system.js","./p-e216bea4.system.js","./p-752fa0fc.system.js","./p-5577da59.system.js","./p-b1f33063.system.js"],(function(t){"use strict";var e,o,r,n,i,a,u,s,d,c;return{setters:[function(t){e=t.r;o=t.h;r=t.H;n=t.g;i=t.c},function(t){a=t.i},function(t){u=t.s;s=t.u},function(t){d=t.F},function(t){c=t.T}],execute:function(){var p='*,*::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}.duet-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:hover{color:rgb(0, 75, 129)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-tooltip-button:hover.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !important;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;line-height:1.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}';var b=p;var l=t("duet_tooltip_button",function(){function t(t){e(this,t);this.label="";this.accessibleLabel=undefined;this.theme="";this.negative=false;this.active=undefined;this.tooltipId=undefined}t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){u(this)};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.buttonElement){this.buttonElement.focus(t)}return[2]}))}))};t.prototype.render=function(){var t=this;return o(r,{key:"bc36621b7fc830cfb8ca434188d7f50ba4e4542b"},o("button",{key:"db275d682c9270a6fda156c50776662d94816b1a",ref:function(e){return t.buttonElement=e},"aria-controls":this.tooltipId,"aria-expanded":this.active?"true":"false",type:"button",class:{"duet-tooltip-button":true,"duet-tooltip-button-has-label":!!this.label,"duet-theme-turva":this.theme==="turva","duet-tooltip-button-negative":this.negative}},o("svg",{key:"6f74e7cd6e8ec203590038e36b1351d2245707ee","aria-hidden":"true",role:"img",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"47704ecc8941cdcb856f6882b36ea67b17e2c4cb",d:"m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z"}),o("circle",{key:"5787a0fd9287e4706445dc87620523fa4cb71868",cx:"11.625",cy:"7.125",r:"1.125"}),o("path",{key:"78de402d0a039784299b486eb685bb06e3f3459a",d:"m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z"})),this.label?o("span",{class:"duet-tooltip-label"},this.label):o("duet-visually-hidden",null,this.accessibleLabel)))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());l.style=b;var f='*,*::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;position:absolute;z-index:950}.duet-tooltip{position:relative;width:282px;min-height: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:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:300ms ease;transform-origin:100% 100%}.duet-tooltip.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);border-color:rgb(222, 224, 228);box-shadow:0 2px 10px 0 rgba(117, 117, 117, 0.13)}.duet-tooltip .arrow{position:absolute;width:22px;height:22px;pointer-events:none}.duet-tooltip .arrow.bottom,.duet-tooltip .arrow.bottom-start,.duet-tooltip .arrow.bottom-end{top:-20px}.duet-tooltip .arrow-container{position:relative;left:4px;width:100%;height:100%;pointer-events:none}.duet-tooltip .arrow-container::after{position:absolute;z-index:200;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container::before{position:absolute;z-index:100;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container.top::after,.duet-tooltip .arrow-container.top-start::after,.duet-tooltip .arrow-container.top-end::after{bottom:2px;left:2px;border:10px solid transparent;border-top:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.top::before,.duet-tooltip .arrow-container.top-start::before,.duet-tooltip .arrow-container.top-end::before{bottom:-1px;left:1px;border:11px solid transparent;border-top:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.top::before,.duet-theme-turva .duet-tooltip .arrow-container.top-start::before,.duet-theme-turva .duet-tooltip .arrow-container.top-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip .arrow-container.bottom::after,.duet-tooltip .arrow-container.bottom-start::after,.duet-tooltip .arrow-container.bottom-end::after{bottom:1px;left:2px;border:10px solid transparent;border-bottom:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.bottom::before,.duet-tooltip .arrow-container.bottom-start::before,.duet-tooltip .arrow-container.bottom-end::before{bottom:1px;left:1px;border:11px solid transparent;border-bottom:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.bottom::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-start::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip.duet-tooltip-has-label{right:auto !important;left:0;width:282px !important;transform-origin:0 0 !important}.duet-tooltip.duet-tooltip-active{visibility:visible;opacity:1;transition-property:transform, opacity}.duet-tooltip-content-area{padding:20px !important;width:100%;padding-right:25px !important;overflow-y:auto;-webkit-hyphens:auto;hyphens:auto;border-radius:4px;-webkit-overflow-scrolling:touch}.duet-tooltip-content-area:focus{outline:none}:host(.user-is-tabbing) .duet-tooltip-content-area: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 .duet-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tooltip-content-area::-webkit-scrollbar{width:4px}.duet-tooltip-content-area::-webkit-scrollbar-track{border-radius:4px}.duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(212, 223, 229);border-radius:4px}.duet-theme-turva .duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(222, 224, 228)}.duet-tooltip-close{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;min-height:0 !important;padding:0 !important;margin:0 !important;line-height:normal;color:rgb(8, 42, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;-webkit-appearance:none;appearance:none}.duet-tooltip-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-tooltip-close:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}';var h=f;var m=t("duet_tooltip_popup",function(){function t(t){var o=this;e(this,t);this.tooltipPopupClosed=i(this,"tooltipPopupClosed",7);this.handleCloseClick=function(){o.tooltipPopupClosed.emit()};this.theme="";this.active=undefined;this.tooltipId=undefined;this.arrowStyles=undefined;this.placement=undefined;this.accessibleCloseLabel=undefined}t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){u(this);if(!this.teleport){this.teleport=new c(this.element)}if(this.teleport){this.teleport.activate()}};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.getArrowElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.arrowEl]}))}))};t.prototype.getContentElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.contentEl]}))}))};t.prototype.setFocusOnContentElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.contentEl.focus();return[2]}))}))};t.prototype.render=function(){var t,e;var n=this;return o(r,{key:"8474dad9661249e8ba481e360e8f42a7321c5412"},o("div",{key:"f1e70b81c3d3398a5074b07a60e791eca97e2881",class:{"duet-tooltip":true,"duet-theme-turva":this.theme==="turva","duet-tooltip-active":this.active===true}},o(d,{key:"d21aeccf6723db71c44cf16f15a322c1cdc85fdc",moveFocusTo:this.buttonEl}),o("div",{key:"36fe75956cac98e1ecc917dd4eccaebc7ac3659a",ref:function(t){return n.contentEl=t},class:"duet-tooltip-content-area",tabindex:0,id:this.tooltipId},o("slot",{key:"7e7930c17ae679c7c49f7c6d727ff9d5e33b098a"})),o("div",{key:"05feacb8b46d298d0b789b8e1ba2ef6e291e8d62",ref:function(t){return n.arrowEl=t},class:(t={arrow:true},t[this.placement]=true,t),style:this.arrowStyles},o("div",{key:"bf3d5ad0aa7fcd59514e32be36406abad9bdf42a",class:(e={"arrow-container":true},e[this.placement]=true,e)})),o("button",{key:"8667096436686fb84ebac5d92d5e15c4d7940d1c",type:"button",class:"duet-tooltip-close",onClick:this.handleCloseClick,ref:function(t){return n.buttonEl=t}},o("duet-icon",{key:"dca41a670fb8f3fb7b36261932f0caec193c8fbc",name:"navigation-close-small",margin:"none",color:"currentColor",size:"xxx-small"}),o("duet-visually-hidden",{key:"f3737f4bc108eba91b5520fbf3ff39ef55d82b3c"},this.accessibleCloseLabel)),o(d,{key:"b702d271e89ba15b2ab3b6f01854238b57a3875d",moveFocusTo:this.contentEl})))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());m.style=h}}}));
|
package/lib/duet/p-4a3dae6f.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{s(i.next(t))}catch(t){o(t)}}function d(t){try{s(i["throw"](t))}catch(t){o(t)}}function s(t){t.done?n(t.value):a(t.value).then(r,d)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function d(t){return function(e){return s([t,e])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,d[0]&&(n=0)),n)try{if(i=1,a&&(o=d[0]&2?a["return"]:d[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,d[1])).done)return o;if(a=0,o)d=[d[0]&2,o.value];switch(d[0]){case 0:case 1:o=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;a=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){n.label=d[1];break}if(d[0]===6&&n.label<o[1]){n.label=o[1];o=d;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(d);break}if(o[2])n.ops.pop();n.trys.pop();continue}d=e.call(t,n)}catch(t){d=[6,t];a=0}finally{i=o=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-f2d5c69e.system.js","./p-e216bea4.system.js","./p-98636086.system.js","./p-cbbf6d6a.system.js","./p-053b71e6.system.js","./p-cc5e6288.system.js","./p-50c18c14.system.js","./p-9a43132b.system.js","./p-e6b5a1c7.system.js","./p-ef731dfb.system.js","./p-61ac836c.system.js"],(function(t){"use strict";var e,n,i,a,o,r,d,s,u,l,h,c,p,m,g,b,f;return{setters:[function(t){e=t.r;n=t.h;i=t.H;a=t.g;o=t.F},function(t){r=t.i},function(t){d=t.s},function(t){s=t.g},function(t){u=t.a},function(t){l=t.D;h=t.c},function(t){c=t.g},function(t){p=t.a;m=t.g;g=t.c;b=t.d},function(t){f=t.c},function(){},function(){}],execute:function(){var k=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width: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-size:1rem;font-weight:400;line-height:1.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.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(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';var x=k;var w=t("duet_caption",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){return n(i,{key:"46c245b72ac2d6f4641a58e56dccecdce8421151",class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",{key:"56d458c5573dda5e0b8f6ec7d376a9eb327e0628"}))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());w.style=x;var v='*,*::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;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width: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;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.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";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var y=v;var z=t("duet_heading",function(){function t(t){e(this,t);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false;this.fixedSize=false;this.accessibleLabel=undefined}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=d(this.level);var i=s(this.color);return n(e,{key:"503e72f1d157423d41337a6ac71c1032e611b72b",class:(t={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},t[this.visualLevel?this.visualLevel:this.level]=true,t["duet-theme-turva"]=this.theme==="turva",t["fixed-size"]=this.fixedSize,t),"aria-label":this.accessibleLabel,style:{color:i},part:"duet-heading"},n("slot",{key:"5d267eda1aea3d9d8284864c0386c4099823a6c9"}))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());z.style=y;var S={title:"action-arrow-right",tags:"action arrow right caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z"/></svg>'};var _={title:"action-download-small",tags:"action download arrow down small",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z"/><path d="M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z"/></svg>'};var j={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 I='*,*::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:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;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;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-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(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow: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)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}';var U=I;var A=t("duet_link",function(){function t(t){e(this,t);this.variation="default";this.accessibleLabel=undefined;this.language=p();this.accessibleLabelExternalDefaults=l;this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults);this.accessibleLabelDownloadDefaults=h;this.accessibleLabelDownload=m(this.accessibleLabelDownloadDefaults);this.accessibleExpanded=undefined;this.accessiblePopup="false";this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.download=null;this.tabToLink=false;this.icon=undefined;this.iconColor="currentColor";this.iconBackground=null;this.iconResponsive=false;this.margin="auto";this.padding="auto";this.isMediumScreen=false;this.ariaLabel=undefined}t.prototype.componentWillLoad=function(){r(this);this.resolvedDownload=this.resolveDownload();if(this.variation==="button"&&this.url==="#"){this.url=undefined}};t.prototype.connectedCallback=function(){g(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"});this.setAriaLabel();{this.mutationObserver=new MutationObserver(this.setAriaLabel.bind(this));this.mutationObserver.observe(this.element,{subtree:true,childList:true,characterData:true})}};t.prototype.disconnectedCallback=function(){b(this);if(this.mutationObserver){this.mutationObserver.disconnect()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeLink.focus(t);return[2]}))}))};t.prototype.setAriaLabel=function(){var t=this;setTimeout((function(){t.ariaLabel=t.url&&c(t)||t.accessibleLabel}))};t.prototype.resolveDownload=function(){if(this.download===""){return this.url.split("/").pop()}return this.download};t.prototype.renderDefaultContent=function(){return n(o,null,n("span",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),(this.resolvedDownload||this.external)&&this.variation==="default"&&n(o,null,n("span",{class:"duet-link-icon-tail"}," ",n("duet-icon",{icon:this.resolvedDownload?_.svg:u.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};t.prototype.renderBlockContent=function(){return n(o,null,this.icon&&n("span",{class:"block__icon"},n("duet-icon",{class:this.iconResponsive?"icon-responsive":"",size:"auto",name:this.icon,margin:"none",color:this.iconColor})),n("span",{class:"block__content"},this.renderDefaultContent()),n("span",{class:"block__chevron",part:"block-chevron"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?j.svg:S.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderButtonCardContent=function(){var t={"background-color":s(this.iconBackground,this.theme)};return n(o,null,this.icon&&n("span",{class:"icon-wrap",style:t},n("duet-icon",{size:"auto",name:this.icon,margin:"none",color:this.iconColor})),n("div",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),n("span",{class:"chevron-wrap"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?j.svg:S.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderContent=function(){switch(this.variation){case"default":return this.renderDefaultContent();case"block":return this.renderBlockContent();case"button":case"card":return this.renderButtonCardContent()}};t.prototype.render=function(){var t,e;var a=this;var o=!this.url?"button":"a";var r=o==="button";return n(i,{key:"bcde4f333a3bd278709dddda0e90ceae4c6a705d",class:(t={},t["duet-link-".concat(this.variation)]=true,t["duet-m-0"]=this.margin==="none",t)},n(o,{key:"ab2c62a98d88a54965ab7be9cc45907e6e07e5d7",href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-is-download":!!this.download,"duet-link-has-icon":!!this.icon,"duet-link-has-icon-background":!!this.iconBackground,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.download||!this.url?null:this.external?"_blank":"_self",download:this.resolvedDownload,"aria-label":this.ariaLabel,"aria-expanded":this.accessibleExpanded!=null&&r?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null&&r?this.accessiblePopup.toString():undefined,id:this.identifier,ref:function(t){return a.nativeLink=t},part:"duet-link",rel:this.external?"noopener":undefined},this.renderContent()))};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{language:["setAriaLabel"]}},enumerable:false,configurable:true});return t}());A.style=U;var E='*,*::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;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width: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-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.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-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){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;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).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(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}';var C=E;var M=t("duet_paragraph",function(){function t(t){e(this,t);this.id=f("duet-paragraph");this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=s(this.color);return n(i,{key:"c40c5ba6cbe85a63b4175aaedcd83594adc10734","aria-describedby":this.id},n("p",{key:"96d0dad61f9e9b74f6c0945723b401dc179c87df",id:this.id,class:(t={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t),style:{color:e},part:"duet-paragraph"},n("slot",{key:"b8d26076ea382a76379fb587c13f05eadb91da4e"})))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());M.style=C}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-f2d5c69e.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.h}],execute:function(){var n=t("f",(function(t){if("setFocus"in t){t.setFocus()}else{t.focus()}}));var u=t("F",(function(t){var u=t.moveFocusTo;return e("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:function(){return n(u)}})}))}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-f2d5c69e.system.js"],(function(n){"use strict";return{setters:[function(){}],execute:function(){var e=n("g",(function(n,e){var r=Array.from(n.querySelectorAll(":scope > *"));return r.filter((function(n){return n.matches("[slot='".concat(e,"']"))}))}));var r=n("a",(function(n){var e=Array.from(n.querySelectorAll(":scope > *"));return e.filter((function(n){return!n.getAttribute("slot")}))}));var t=n("h",(function(n,t){return t?e(n,t).length>0:r(n).length>0}));var u=n("c",(function(n,r,t,u,o){if(u===void 0){u=0}if(o===void 0){o=false}var i=o?"error":"warn";var f=[];var s=e(n,r);var c=s.filter((function(n){if(n.matches(t)){return true}f.push('Only elements matcing selector "'.concat(t,'" may be used in slot ').concat(r,", found:\n").concat(n.outerHTML));if(o){n.remove();return false}return true}));if(u&&c.length>u){f.push("Only ".concat(u," element").concat(u>1?"s":""," may be used in slot ").concat(r,", found ").concat(s.length,"."));if(o){c.slice(u).forEach((function(n){return n.remove()}))}}if(f.length>0){console[i]("Duet ".concat(i," in ").concat(n.tagName.toLowerCase(),":\n").concat(f.join("\n")).concat(o?"\nElement".concat(f.length>1?"s":""," removed."):""))}}))}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-f2d5c69e.system.js","./p-e216bea4.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var n,t,r,o,a,i;return{setters:[function(e){n=e.r;t=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){i=e.f}],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;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;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(8, 42, 77);text-align:center;text-decoration:none}.duet-menu-bar-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-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-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-menu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}';var u=s;var d=e("duet_menu_bar_dropdown_link",function(){function e(e){var t=this;n(this,e);this.getVariant=function(){var e=t.element.parentElement.parentElement.getAttribute("slot");switch(e){case"center":return"right";case"right":return"right";default:return"right"}};this.theme="";this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var n=this.element.closest("duet-menu-bar-dropdown");n.open=false;n.setFocus()}};e.prototype.render=function(){var e;var n=this;return t(r,{key:"6068b6651363acfa5a38ce76f97eef97c617ae40"},t("a",{key:"7181016d9299aae44bfabcb59504bc1cb839d794",class:(e={"duet-menu-bar-dropdown-link":true},e["duet-menu-bar-dropdown-link--slot-".concat(this.getVariant())]=true,e["duet-theme-turva"]=this.theme==="turva",e),href:this.href,role:"menuitem",onKeyUp:function(e){return n.handleEscape(e)},"aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{key:"d188538d34c86debcdcea72edb4453b58ce86bb7",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),t("slot",{key:"4dc908e75b92425aa98d33349389a063c96d6417"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());d.style=u}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,h as i,H as s,g as e}from"./p-44b36dbf.js";import{m as o,a as h}from"./p-f6000a03.js";import{c as a,f as n,s as l,a as p,b as r}from"./p-81287261.js";import{i as d}from"./p-aaa7a7bd.js";import{c}from"./p-5e59e970.js";import{f as m}from"./p-a45e3f8b.js";import{a as u,g as b,c as f,d as v}from"./p-744b8ee1.js";import"./p-9c3c64b9.js";const g=class{constructor(i){t(this,i),this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(h.replace(/'/g,""))],this.tooltipId=c("DuetTooltip"),this.aboutString={fi:"aiheesta",en:"about",sv:"om"},this.openTooltip=()=>{this.active=!0,setTimeout((()=>{this.contentEl.focus({preventScroll:!0}),this.buttonActive=!0}),200)},this.closeTooltip=(t=!1)=>{this.active=!1,t&&setTimeout((()=>{this.buttonEl.setFocus({preventScroll:!0})}),200),setTimeout((()=>{this.buttonActive=!1})),setTimeout((()=>{this.updatePlacement()}),200)},this.toggleOpen=()=>{this.active?this.closeTooltip():this.openTooltip()},this.updatePlacement=async()=>{var t,i;let s=!0;("large"!==this.breakpoint||this.mql[1].matches)&&("medium"!==this.breakpoint||this.mql[0].matches)||(s=!1);let e=s?"top-start":"top-end";"left"===this.direction?e="top-end":"right"===this.direction&&(e="top-start");const o=await a(this.buttonEl,this.popupElement,{placement:e,middleware:[n(),l({padding:5}),p({element:this.arrowEl})]});this.tooltipY=o.y,this.tooltipX=o.x,this.placement=o.placement,this.arrowY=null===(t=o.middlewareData.arrow)||void 0===t?void 0:t.y,this.arrowX=null===(i=o.middlewareData.arrow)||void 0===i?void 0:i.x},this.placement="bottom",this.tooltipY=void 0,this.tooltipX=void 0,this.arrowX=void 0,this.arrowY=void 0,this.buttonActive=void 0,this.theme="",this.language=u(),this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"},this.accessibleLabel=b(this.accessibleLabelDefault,this.language),this.accessibleAboutLabel=void 0,this.accessibleInputLabel=void 0,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=!1,this.negative=!1}componentWillLoad(){d(this),this.buttonActive=this.active}async componentDidLoad(){this.arrowEl=await this.popupElement.getArrowElement(),this.contentEl=await this.popupElement.getContentElement(),this.updatePlacement(),this.active&&(this.openTooltip(),await this.handleActiveChange(this.active)),this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body}),this.intersectionObserver.observe(this.element)}connectedCallback(){f(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])}disconnectedCallback(){v(this)}handleDocumentClick(t){this.active&&t.composedPath().every((t=>t!==this.element&&t!==this.contentEl))&&this.closeTooltip()}handleKeyDown(t){this.active&&m(t)&&this.closeTooltip(!0)}handlePopupClose(){this.active&&this.closeTooltip(!0)}async handleActiveChange(t){t?this.autoUpdateCleanup=r(this.buttonEl,this.popupElement,this.updatePlacement):this.autoUpdateCleanup()}render(){const t={position:"relative",overflow:this.active?"visible":"hidden"},e={top:`${this.tooltipY}px`,left:`${this.tooltipX}px`,display:"block","pointer-events":this.active?"auto":"none"},o={top:this.arrowY?`${this.arrowY}px`:void 0,left:this.arrowX?`${this.arrowX}px`:void 0};return i(s,{style:{transform:`translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,zIndex:this.active?"201":""}},i("duet-tooltip-button",{ref:t=>this.buttonEl=t,active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&`${this.accessibleInputLabel}, ${this.accessibleLabel}`||this.accessibleAboutLabel&&`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme,negative:this.negative}),i("div",{style:t},i("duet-tooltip-popup",{ref:t=>this.popupElement=t,active:this.active,tooltipId:this.tooltipId,arrowStyles:o,style:e,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},i("slot",null))))}get element(){return e(this)}static get watchers(){return{active:["handleActiveChange"]}}};g.style="*.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}";export{g as duet_tooltip}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,c as e,h as d,H as s,g as o}from"./p-44b36dbf.js";import{i}from"./p-aaa7a7bd.js";import{c as g}from"./p-5e59e970.js";import{s as u,u as c}from"./p-a45e3f8b.js";const r=class{constructor(d){t(this,d),this.duetChange=e(this,"duetChange",3),this.toggleId=g("DuetToggle"),this.onClick=t=>{t.preventDefault(),this.setFocus(),this.checked=!this.checked},this.theme="",this.margin="auto",this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.label="label",this.labelColor=void 0,this.labelWeight=void 0,this.labelPosition="top",this.required=!1,this.disabled=!1,this.checked=!1,this.value=void 0,this.identifier=void 0,this.name=void 0,this.role=void 0}checkedChanged(t){this.duetChange.emit({checked:t,value:this.value,component:"duet-toggle"})}componentWillLoad(){i(this),void 0===this.value&&(this.value=this.identifier)}connectedCallback(){u(this)}disconnectedCallback(){c(this)}async setFocus(t){this.nativeInput.focus(t)}render(){const t=this.identifier||this.toggleId;return d(s,{onClick:this.disabled?void 0:this.onClick,class:{"duet-m-0":"none"===this.margin}},d("div",{class:{"duet-toggle":!0,"duet-theme-turva":"turva"===this.theme,"duet-side-label":"top"!==this.labelPosition,"duet-reverse-label":"right"===this.labelPosition}},d("duet-label",{theme:this.theme,color:this.labelColor,weight:this.labelWeight,for:t,margin:"top"===this.labelPosition?"auto":"none"},this.label),d("label",{class:"duet-switch",htmlFor:t},d("input",{type:"checkbox",value:this.value,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,id:t,role:this.role,name:this.name,checked:this.checked,required:this.required,disabled:this.disabled,ref:t=>this.nativeInput=t}),d("div",{class:"duet-slider"}))))}get element(){return o(this)}static get watchers(){return{checked:["checkedChanged"]}}};r.style='*.sc-duet-toggle,*.sc-duet-toggle::after,*.sc-duet-toggle::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-toggle-h{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;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-toggle-h:last-child,.sc-duet-toggle-h:last-of-type{margin-right:0 !important}.duet-m-0.sc-duet-toggle-h{margin:0 !important}duet-label.sc-duet-toggle{display:block !important;width:100% !important}.duet-side-label.sc-duet-toggle{display:flex;gap:12px;align-items:center}.duet-side-label.sc-duet-toggle duet-label.sc-duet-toggle{width:auto !important}.duet-reverse-label.sc-duet-toggle{flex-direction:row-reverse}.duet-switch.sc-duet-toggle{position:relative;display:block;width:48px;height:28px}.duet-switch.sc-duet-toggle input.sc-duet-toggle{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(198, 12, 48)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle{cursor:default}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#bfcbd2}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#c7c9cf}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#80bbd9}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#e38698}.user-is-tabbing.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}.user-is-tabbing.sc-duet-toggle-h .duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider.sc-duet-toggle{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider.sc-duet-toggle::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:"";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle{background-color:rgb(143, 147, 158)}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}';export{r as duet_toggle}
|
package/lib/duet/p-7d8a2628.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
const e=(e,t,r,n,s={childList:!0,subtree:!0})=>{let d;return"undefined"!=typeof MutationObserver&&(d=new MutationObserver((e=>{r(n(e,t))})),d.observe(e,s)),d},t=(t,r,n)=>e(t,r,n,s),r=(t,r,s)=>e(t,r,s,n,{childList:!0,subtree:!0}),n=e=>{let t=!1,r=!1;return e.forEach((e=>{e.addedNodes.length&&(t=!0),e.removedNodes.length&&(r=!0)})),{addedNode:t,removedNode:r,mutationList:e}},s=(e,t)=>{let r;return e.forEach((e=>{for(let n=0;n<e.addedNodes.length;n++)r=d(e.addedNodes[n],t)||r})),r},d=(e,t)=>{if(1===e.nodeType)return(e.tagName===t.toUpperCase()?[e]:Array.from(e.querySelectorAll(t))).find((e=>!0===e.checked))};export{r as a,d as f,t as w}
|
package/lib/duet/p-81287261.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
const t=Math.min,n=Math.max,e={left:"right",right:"left",bottom:"top",top:"bottom"},o={start:"end",end:"start"};function r(e,o,r){return n(e,t(o,r))}function i(t,n){return"function"==typeof t?t(n):t}function l(t){return t.split("-")[0]}function a(t){return t.split("-")[1]}function c(t){return"x"===t?"y":"x"}function s(t){return"y"===t?"height":"width"}function u(t){return["top","bottom"].includes(l(t))?"y":"x"}function f(t){return c(u(t))}function d(t){return t.replace(/start|end/g,(t=>o[t]))}function y(t){return t.replace(/left|right|bottom|top/g,(t=>e[t]))}function m(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function p(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function h(t,n,e){let{reference:o,floating:r}=t;const i=u(n),c=f(n),d=s(c),y=l(n),m="y"===i,p=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,x=o[d]/2-r[d]/2;let g;switch(y){case"top":g={x:p,y:o.y-r.height};break;case"bottom":g={x:p,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:h};break;case"left":g={x:o.x-r.width,y:h};break;default:g={x:o.x,y:o.y}}switch(a(n)){case"start":g[c]-=x*(e&&m?-1:1);break;case"end":g[c]+=x*(e&&m?-1:1)}return g}async function x(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:l,rects:a,elements:c,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:y=!1,padding:h=0}=i(n,t),x=m(h),g=c[y?"floating"===d?"reference":"floating":d],w=p(await l.getClippingRect({element:null==(e=await(null==l.isElement?void 0:l.isElement(g)))||e?g:g.contextElement||await(null==l.getDocumentElement?void 0:l.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:s})),v="floating"===d?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==l.getOffsetParent?void 0:l.getOffsetParent(c.floating)),A=await(null==l.isElement?void 0:l.isElement(b))&&await(null==l.getScale?void 0:l.getScale(b))||{x:1,y:1},k=p(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:s}):v);return{top:(w.top-k.top+x.top)/A.y,bottom:(k.bottom-w.bottom+x.bottom)/A.y,left:(w.left-k.left+x.left)/A.x,right:(k.right-w.right+x.right)/A.x}}const g=n=>({name:"arrow",options:n,async fn(e){const{x:o,y:l,placement:c,rects:u,platform:d,elements:y,middlewareData:p}=e,{element:h,padding:x=0}=i(n,e)||{};if(null==h)return{};const g=m(x),w={x:o,y:l},v=f(c),b=s(v),A=await d.getDimensions(h),k="y"===v,R=k?"top":"left",S=k?"bottom":"right",F=k?"clientHeight":"clientWidth",D=u.reference[b]+u.reference[v]-w[v]-u.floating[b],P=w[v]-u.reference[v],C=await(null==d.getOffsetParent?void 0:d.getOffsetParent(h));let M=C?C[F]:0;M&&await(null==d.isElement?void 0:d.isElement(C))||(M=y.floating[F]||u.floating[b]);const T=D/2-P/2,z=M/2-A[b]/2-1,B=t(g[R],z),L=t(g[S],z),O=B,E=M-A[b]-L,N=M/2-A[b]/2+T,V=r(O,N,E),j=!p.arrow&&null!=a(c)&&N!==V&&u.reference[b]/2-(N<O?B:L)-A[b]/2<0,q=j?N<O?N-O:N-E:0;return{[v]:w[v]+q,data:{[v]:V,centerOffset:N-V-q,...j&&{alignmentOffset:q}},reset:j}}}),w=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:c,rects:u,initialPlacement:m,platform:p,elements:h}=n,{mainAxis:g=!0,crossAxis:w=!0,fallbackPlacements:v,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:k=!0,...R}=i(t,n);if(null!=(e=c.arrow)&&e.alignmentOffset)return{};const S=l(r),F=l(m)===m,D=await(null==p.isRTL?void 0:p.isRTL(h.floating)),P=v||(F||!k?[y(m)]:function(t){const n=y(t);return[d(t),n,d(n)]}(m));v||"none"===A||P.push(...function(t,n,e,o){const r=a(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:l;default:return[]}}(l(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(d)))),i}(m,k,A,D));const C=[m,...P],M=await x(n,R),T=[];let z=(null==(o=c.flip)?void 0:o.overflows)||[];if(g&&T.push(M[S]),w){const t=function(t,n,e){void 0===e&&(e=!1);const o=a(t),r=f(t),i=s(r);let l="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(l=y(l)),[l,y(l)]}(r,u,D);T.push(M[t[0]],M[t[1]])}if(z=[...z,{placement:r,overflows:T}],!T.every((t=>t<=0))){var B,L;const t=((null==(B=c.flip)?void 0:B.index)||0)+1,n=C[t];if(n)return{data:{index:t,overflows:z},reset:{placement:n}};let e=null==(L=z.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:L.placement;if(!e)switch(b){case"bestFit":{var O;const t=null==(O=z.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:O[0];t&&(e=t);break}case"initialPlacement":e=m}if(r!==e)return{reset:{placement:e}}}return{}}}},v=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:c,placement:s,middlewareData:f}=n,d=await async function(t,n){const{placement:e,platform:o,elements:r}=t,c=await(null==o.isRTL?void 0:o.isRTL(r.floating)),s=l(e),f=a(e),d="y"===u(e),y=["left","top"].includes(s)?-1:1,m=c&&d?-1:1,p=i(n,t);let{mainAxis:h,crossAxis:x,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof g&&(x="end"===f?-1*g:g),d?{x:x*m,y:h*y}:{x:h*y,y:x*m}}(n,t);return s===(null==(e=f.offset)?void 0:e.placement)&&null!=(o=f.arrow)&&o.alignmentOffset?{}:{x:r+d.x,y:c+d.y,data:{...d,placement:s}}}}},b=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:a}=n,{mainAxis:s=!0,crossAxis:f=!1,limiter:d={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...y}=i(t,n),m={x:e,y:o},p=await x(n,y),h=u(l(a)),g=c(h);let w=m[g],v=m[h];s&&(w=r(w+p["y"===g?"top":"left"],w,w-p["y"===g?"bottom":"right"])),f&&(v=r(v+p["y"===h?"top":"left"],v,v-p["y"===h?"bottom":"right"]));const b=d.fn({...n,[g]:w,[h]:v});return{...b,data:{x:b.x-e,y:b.y-o}}}}};function A(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function k(t){return A(t).getComputedStyle(t)}function R(t){return t instanceof A(t).Node}function S(t){return R(t)?(t.nodeName||"").toLowerCase():""}function F(t){return t instanceof A(t).HTMLElement}function D(t){return t instanceof A(t).Element}function P(t){return"undefined"!=typeof ShadowRoot&&(t instanceof A(t).ShadowRoot||t instanceof ShadowRoot)}function C(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=k(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function M(t){return["table","td","th"].includes(S(t))}function T(t){const n=z(),e=k(t);return"none"!==e.transform||"none"!==e.perspective||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function z(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function B(t){return["html","body","#document"].includes(S(t))}const L=Math.min,O=Math.max,E=Math.round;function N(t){const n=k(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=F(t),i=r?t.offsetWidth:e,l=r?t.offsetHeight:o,a=E(e)!==i||E(o)!==l;return a&&(e=i,o=l),{width:e,height:o,fallback:a}}function V(t){return D(t)?t:t.contextElement}const j={x:1,y:1};function q(t){const n=V(t);if(!F(n))return j;const e=n.getBoundingClientRect(),{width:o,height:r,fallback:i}=N(n);let l=(i?E(e.width):e.width)/o,a=(i?E(e.height):e.height)/r;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}const H={x:0,y:0};function W(t,n,e){var o,r;if(void 0===n&&(n=!0),!z())return H;const i=t?A(t):window;return!e||n&&e!==i?H:{x:(null==(o=i.visualViewport)?void 0:o.offsetLeft)||0,y:(null==(r=i.visualViewport)?void 0:r.offsetTop)||0}}function X(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=V(t);let l=j;n&&(o?D(o)&&(l=q(o)):l=q(t));const a=W(i,e,o);let c=(r.left+a.x)/l.x,s=(r.top+a.y)/l.y,u=r.width/l.x,f=r.height/l.y;if(i){const t=A(i),n=o&&D(o)?A(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=q(e),n=e.getBoundingClientRect(),o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x,n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y,c*=t.x,s*=t.y,u*=t.x,f*=t.y,c+=n.x,s+=n.y,e=A(e).frameElement}}return p({width:u,height:f,x:c,y:s})}function Y(t){return((R(t)?t.ownerDocument:t.document)||window.document).documentElement}function _(t){return D(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function G(t){return X(Y(t)).left+_(t).scrollLeft}function I(t){if("html"===S(t))return t;const n=t.assignedSlot||t.parentNode||P(t)&&t.host||Y(t);return P(n)?n.host:n}function J(t){const n=I(t);return B(n)?n.ownerDocument.body:F(n)&&C(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=A(o);return r?n.concat(i,i.visualViewport||[],C(o)?o:[]):n.concat(o,K(o))}function Q(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=A(t),o=Y(t),r=e.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,c=0;if(r){i=r.width,l=r.height;const t=z();(!t||t&&"fixed"===n)&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:l,x:a,y:c}}(t,e);else if("document"===n)o=function(t){const n=Y(t),e=_(t),o=t.ownerDocument.body,r=O(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=O(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+G(t);const a=-e.scrollTop;return"rtl"===k(o).direction&&(l+=O(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:a}}(Y(t));else if(D(n))o=function(t,n){const e=X(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=F(t)?q(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=W(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return p(o)}function U(t,n){const e=I(t);return!(e===n||!D(e)||B(e))&&("fixed"===k(e).position||U(e,n))}function Z(t,n){return F(t)&&"fixed"!==k(t).position?n?n(t):t.offsetParent:null}function $(t,n){const e=A(t);if(!F(t))return e;let o=Z(t,n);for(;o&&M(o)&&"static"===k(o).position;)o=Z(o,n);return o&&("html"===S(o)||"body"===S(o)&&"static"===k(o).position&&!T(o))?e:o||function(t){let n=I(t);for(;F(n)&&!B(n);){if(T(n))return n;n=I(n)}return null}(t)||e}function tt(t,n,e){const o=F(n),r=Y(n),i="fixed"===e,l=X(t,!0,i,n);let a={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(o||!o&&!i)if(("body"!==S(n)||C(r))&&(a=_(n)),F(n)){const t=X(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=G(r));return{x:l.left+a.scrollLeft-c.x,y:l.top+a.scrollTop-c.y,width:l.width,height:l.height}}const nt={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=K(t).filter((t=>D(t)&&"body"!==S(t))),r=null;const i="fixed"===k(t).position;let l=i?I(t):t;for(;D(l)&&!B(l);){const n=k(l),e=T(l);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||C(l)&&!e&&U(t,l))?o=o.filter((t=>t!==l)):r=n,l=I(l)}return n.set(t,o),o}(n,this._c):[].concat(e),o],l=i.reduce(((t,e)=>{const o=Q(n,e,r);return t.top=O(o.top,t.top),t.right=L(o.right,t.right),t.bottom=L(o.bottom,t.bottom),t.left=O(o.left,t.left),t}),Q(n,i[0],r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=F(e),i=Y(e);if(e===i)return n;let l={scrollLeft:0,scrollTop:0},a={x:1,y:1};const c={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==S(e)||C(i))&&(l=_(e)),F(e))){const t=X(e);a=q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+c.x,y:n.y*a.y-l.scrollTop*a.y+c.y}},isElement:D,getDimensions:function(t){return N(t)},getOffsetParent:$,getDocumentElement:Y,getScale:q,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||$,i=this.getDimensions;return{reference:tt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===k(t).direction};function et(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l=!0,animationFrame:a=!1}=o,c=r||i?[...D(t)?K(t):t.contextElement?K(t.contextElement):[],...K(n)]:[];c.forEach((t=>{const n=!D(t)&&t.toString().includes("V");!r||a&&!n||t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let s,u=null;l&&(u=new ResizeObserver((()=>{e()})),D(t)&&!a&&u.observe(t),D(t)||!t.contextElement||a||u.observe(t.contextElement),u.observe(n));let f=a?X(t):null;return a&&function n(){const o=X(t);!f||o.x===f.x&&o.y===f.y&&o.width===f.width&&o.height===f.height||e(),f=o,s=requestAnimationFrame(n)}(),e(),()=>{var t;c.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=u)||t.disconnect(),u=null,a&&cancelAnimationFrame(s)}}const ot=(t,n,e)=>{const o=new Map,r={platform:nt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,a=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(n));let s=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=h(s,o,c),d=o,y={},m=0;for(let e=0;e<a.length;e++){const{name:i,fn:p}=a[e],{x,y:g,data:w,reset:v}=await p({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:s,platform:l,elements:{reference:t,floating:n}});u=null!=x?x:u,f=null!=g?g:f,y={...y,[i]:{...y[i],...w}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:f}=h(s,d,c))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{g as a,et as b,ot as c,w as f,v as o,b as s}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function o(t){try{u(n.next(t))}catch(t){s(t)}}function a(t){try{u(n["throw"](t))}catch(t){s(t)}}function u(t){t.done?i(t.value):r(t.value).then(o,a)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return u([t,e])}}function u(a){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(i=0)),i)try{if(n=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(a[0]===6&&i.label<s[1]){i.label=s[1];s=a;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(a);break}if(s[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];r=0}finally{n=s=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-f2d5c69e.system.js","./p-ef731dfb.system.js","./p-0dc9089b.system.js","./p-e216bea4.system.js","./p-5577da59.system.js","./p-752fa0fc.system.js","./p-9a43132b.system.js","./p-b1f33063.system.js","./p-053b71e6.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,i,n,r,s,o,a,u,c,f,h,d,p,l,m,b,g,v,y,x;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.H;s=t.g},function(t){o=t.q},function(t){a=t.o;u=t.f;c=t.s;f=t.c;h=t.b},function(t){d=t.i},function(t){p=t.f},function(t){l=t.c;m=t.f;b=t.b;g=t.o},function(t){v=t.a},function(t){y=t.T},function(t){x=t.a},function(){}],execute:function(){var w="*,*::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}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";var _=w;var k=t("duet_popup_menu",function(){function t(t){var n=this;e(this,t);this.duetToggle=i(this,"duetToggle",7);this.filterLabel={en:"Filter menu",fi:"Suodata valikkoa",sv:"Filtrera meny"};this.filterResultCountLabel={en:"items match filter",fi:"kohtaa vastaa suodatinta",sv:"menyalternativ matchar filtret"};this.setOpenButton=function(t){if(!t){return}try{var e=t;e.accessiblePopup="true";e.accessibleExpanded=false;if(n.controllerIcon){e.setAttribute("trailing-icon","action-arrow-down-small")}n.openButton=e}catch(t){}};this.openButtonEventListener=function(){n.toggle()};this.updatePlacement=function(){return __awaiter(n,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:if(!this.openButton){return[2]}t=[a({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&u(),c({padding:5})].filter(Boolean);return[4,f(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position})];case 1:e=i.sent();this.menuY=e.y;this.menuX=e.x;return[2]}}))}))};this.getNonFilteredItems=function(){return n.showFilterInput?n.itemElements.filter((function(t){return t.style.display!=="none"})):n.itemElements};this.filterItems=function(){var t;var e=(t=n.filterInput.value)===null||t===void 0?void 0:t.toLocaleLowerCase();var i=n.itemElements;i.forEach((function(t){var i;t.style.display=!e||t.textContent.toLowerCase().includes(e)||((i=t.value)===null||i===void 0?void 0:i.toLowerCase().includes(e))?"":"none"}));n.filterResultCount=i.filter((function(t){return t.style.display!=="none"})).length};this.handleKeyDownOnFilter=function(t){var e;if(l(t)){(e=n.getNonFilteredItems()[0])===null||e===void 0?void 0:e.setFocus()}};this.open=false;this.menuY=undefined;this.menuX=undefined;this.filterResultCount=undefined;this.language=v();this.accessibleLabel=undefined;this.accessibleRole="menu";this.theme="";this.skipTeleport=undefined;this.placement="bottom-start";this.forcePlacement=false;this.allowVerticalFlip=true;this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0;this.controllerIcon="action-arrow-down-small";this.scrollLimit=undefined;this.showFilterInput=undefined}Object.defineProperty(t.prototype,"controller",{get:function(){return this._controller},set:function(t){if(this._controller===t){return}this._controller=t;if(typeof t==="string"){this.setOpenButton(document.getElementById(t));if(this.openButton){this.openButton.addEventListener("click",this.openButtonEventListener)}}else{this.setOpenButton(t)}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"opener",{get:function(){return this._controller},set:function(t){this.controller=t},enumerable:false,configurable:true});t.prototype.componentWillLoad=function(){d(this)};t.prototype.componentDidLoad=function(){{this.updatePlacement()}};t.prototype.connectedCallback=function(){if(!this.teleport){this.teleport=new y(this.element)}if(this.teleport){this.teleport.activate()}};t.prototype.disconnectedCallback=function(){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}if(this.openButton){this.openButton.removeEventListener("click",this.openButtonEventListener);if(this.controllerIcon){this.openButton.removeAttribute("trailing-icon")}}};t.prototype.handleKeyUp=function(t){if(this.open){if(m(t)){this.hide()}}};t.prototype.handleKeyDown=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,i;return __generator(this,(function(n){switch(n.label){case 0:e=this.getNonFilteredItems();if(!this.open)return[3,5];if(!l(t))return[3,2];t.preventDefault();return[4,this.getFocusedItemIndex()];case 1:i=n.sent();if(i!==-1){if(i<e.length-1){e[i+1].setFocus()}else{e[0].setFocus()}}n.label=2;case 2:if(!b(t))return[3,4];t.preventDefault();return[4,this.getFocusedItemIndex()];case 3:i=n.sent();if(i!==-1){if(i===0){if(this.showFilterInput){this.filterInput.setFocus()}else{e[e.length-1].setFocus()}}else{e[i-1].setFocus()}}n.label=4;case 4:if(g(t)&&this.accessibleRole==="menu"){t.preventDefault();this.hide()}n.label=5;case 5:return[2]}}))}))};t.prototype.handleClick=function(t){var e=this;var i=t.composedPath().every((function(t){return t!==e.element&&t!==e.openButton}));if(this.open&&i){this.hide()}};t.prototype.isOpen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.open]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=true;return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}this.open=false;return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){this.hide()}else{this.show()}return[2]}))}))};t.prototype.handleOpenChange=function(t,e){var i=this;if(!!t===!!e){return}if(this.open&&!e){if(this.openButton){this.openButton.accessibleExpanded=true}if(this.accessibleRole!=="listbox"){this.teleport.makeSiblingsInert()}this.updatePlacement();if(this.menuElement&&this.openButton){this.autoUpdateCleanup=h(this.openButton,this.menuElement,this.updatePlacement)}if(this.showFilterInput){this.filterInput.value="";this.filterItems()}setTimeout((function(){if(i.accessibleRole==="menu"){i.itemElements[0].setFocus()}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"})}),200)}else if(!this.open&&e){if(this.openButton){this.openButton.accessibleExpanded=false}if(this.autoUpdateCleanup){this.autoUpdateCleanup()}setTimeout((function(){if(i.accessibleRole==="menu"){p(i.openButton)}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"});if(i.accessibleRole!=="listbox"){i.teleport.removeInertFromSiblings()}}),200)}};Object.defineProperty(t.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"popupMenuStyleHeight",{get:function(){var t=":scope duet-popup-menu-item, :scope duet-notification";var e=Array.from(this.element.querySelectorAll(t));if(e.length>0&&this.scrollLimit){var i=Number(o.replace("px",""))*2;return"".concat(e[0].offsetHeight*this.scrollLimit+i,"px")}else{return"auto"}},enumerable:false,configurable:true});t.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:t=this.getNonFilteredItems();e=0;i.label=1;case 1:if(!(e<t.length))return[3,4];return[4,t[e].isFocused()];case 2:if(i.sent()){return[2,e]}i.label=3;case 3:e++;return[3,1];case 4:return[2,-1]}}))}))};t.prototype.render=function(){var t=this;var e={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px"),position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight};return n(r,{key:"4f4ca864cfb97bc6556bf03328bf67aebe9e87e8"},n("div",{key:"e9b910938c461f74532f3bcf0c70ace1334dfeb2",ref:function(e){t.menuElement=e},style:e,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva","scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},this.showFilterInput&&n("div",{key:"6c501ae153f306bad04eadbc02917c07f7beed3d"},n("duet-input",{key:"427f1ab729a887ca89925bbbf2aeb3e803c92428",ref:function(e){return t.filterInput=e},label:this.filterLabel[this.language],"label-hidden":true,expand:true,margin:"none",type:"search",onDuetInput:this.filterItems,onKeyDown:this.handleKeyDownOnFilter}),n("duet-visually-hidden",{key:"726ba29261adca2c956588370b1c41b79cd6fb68"},n("span",{key:"1ede14ac5d046b1d5b1a30e3ab58c3d3f19c09e4",role:"status"},"\n ".concat(this.filterResultCount,"/").concat(this.itemElements.length,"\n ").concat(this.filterResultCountLabel[this.language],"\n "))),n("duet-spacer",{key:"1c1cfce92b76b59e5c5be5bb625da22768c979ec",size:"xx-small"})),n("slot",{key:"8490807b5f19ca1bb49f1e5432b20b3be5924844"})))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return t}());k.style=_;var j='*,*::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:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;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(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.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-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var S=j;var z=t("duet_popup_menu_item",function(){function t(t){var n=this;e(this,t);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.onFocus=function(t){n.focus=true;n.duetFocus.emit({originalEvent:t,value:n.value,component:"duet-popup-menu-item"})};this.onBlur=function(t){n.focus=false;n.duetBlur.emit({originalEvent:t,value:n.value,component:"duet-popup-menu-item"})};this.focus=false;this.accessibleLabel=undefined;this.accessibleRole="menuitem";this.theme="";this.url=undefined;this.external=false;this.targetLanguage=undefined;this.value=undefined;this.leadingIcon=undefined;this.leadingIconColor=undefined;this.trailingIcon=undefined;this.trailingText=undefined;this.active=false;this.activeDescendant=false}t.prototype.componentWillLoad=function(){d(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){setTimeout((function(){return e.itemElement.focus(t)}),200);return[2]}))}))};t.prototype.isFocused=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.focus]}))}))};t.prototype.render=function(){var t=this;var e=this.url?"a":"button";var i={"duet-popup-menu-item":true,active:this.active,"duet-theme-turva":this.theme==="turva","active-descendant":this.activeDescendant};return n(r,{key:"ec9a97488880d6513ce756f9816356ab2a3ef1ae",role:this.accessibleRole},n(e,{key:"6bb037d35469526f830d2767f9b94aa3e401730a",ref:function(e){return t.itemElement=e},tabIndex:this.accessibleRole==="listitem"?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"".concat(e==="a"?"link":"button"),"aria-label":this.accessibleLabel,class:i,value:this.value,href:this.url,target:this.external?"_blank":undefined,rel:this.external?"noopener":undefined,lang:e==="button"?undefined:this.targetLanguage,hreflang:e==="button"?undefined:this.targetLanguage},this.leadingIcon&&n("duet-icon",{key:"aeb1363d0e70572dcead578251332bc61047313b",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),n("span",{key:"815b720a77e1ff6a7ecceffa4d1a42a876c9ca5f",class:"duet-popup-menu-item-label"},n("slot",{key:"32a806ebff96ce81bd67c42ab95df5d170a6305c"})),(this.trailingIcon||this.active||this.url&&this.external)&&n("duet-icon",{key:"0fd375db736e280b9c2157fadce9f8319328fe27",name:this.url&&this.external?x.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&n("span",{key:"3a8c841ef1ec29f2174c1d62da75f692f73cb2fe",class:"duet-popup-menu-item-trailing"},this.trailingText)))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());z.style=S}}}));
|
package/lib/duet/p-a0a5581f.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{a as n}from"./p-1cb66641.js";function o(o){const r=o.element.textContent;return o.accessibleLabel?o.accessibleLabel:(o.download||""===o.download)&&r?`${r}. ${o.accessibleLabelDownload}.`:o.external&&r?`${r}. ${o.accessibleLabelExternal}.`:n(o.element).length?r:null}export{o as g}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,h as e,H as i,g as n,F as o}from"./p-44b36dbf.js";import{i as a}from"./p-aaa7a7bd.js";import{s as d}from"./p-9c3c64b9.js";import{g as r}from"./p-10c530d1.js";import{a as s}from"./p-f11208c3.js";import{D as l,c as h}from"./p-beeb12f1.js";import{g as u}from"./p-a0a5581f.js";import{a as c,g as p,c as m,d as g}from"./p-744b8ee1.js";import{c as b}from"./p-5e59e970.js";import"./p-1004af75.js";import"./p-1cb66641.js";const k=class{constructor(e){t(this,e),this.theme="",this.margin="auto",this.selected=!1,this.size="medium"}componentWillLoad(){a(this)}render(){return e(i,{key:"46c245b72ac2d6f4641a58e56dccecdce8421151",class:{"duet-caption":!0,"duet-caption-selected":this.selected,"duet-caption-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},e("slot",{key:"56d458c5573dda5e0b8f6ec7d376a9eb327e0628"}))}get element(){return n(this)}};k.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width: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-size:1rem;font-weight:400;line-height:1.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.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(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';const x=class{constructor(e){t(this,e),this.level="h2",this.margin="auto",this.visualLevel=void 0,this.border=!1,this.weight="auto",this.color="",this.theme="",this.hyphenate=!1,this.fixedSize=!1,this.accessibleLabel=void 0}componentWillLoad(){a(this)}render(){const t=d(this.level),i=r(this.color);return e(t,{key:"503e72f1d157423d41337a6ac71c1032e611b72b",class:{"duet-heading":!0,"duet-heading-border":!1!==this.border,"duet-heading-border-solid":"solid"===this.border,"duet-normal":"normal"===this.weight,"duet-semibold":"semibold"===this.weight,"duet-heading-hyphenate":this.hyphenate,"duet-m-0":"none"===this.margin,[this.visualLevel?this.visualLevel:this.level]:!0,"duet-theme-turva":"turva"===this.theme,"fixed-size":this.fixedSize},"aria-label":this.accessibleLabel,style:{color:i},part:"duet-heading"},e("slot",{key:"5d267eda1aea3d9d8284864c0386c4099823a6c9"}))}get element(){return n(this)}};x.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;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width: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;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.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";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var f='<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z"/></svg>',w='<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>';const v=class{constructor(e){t(this,e),this.variation="default",this.accessibleLabel=void 0,this.language=c(),this.accessibleLabelExternalDefaults=l,this.accessibleLabelExternal=p(this.accessibleLabelExternalDefaults),this.accessibleLabelDownloadDefaults=h,this.accessibleLabelDownload=p(this.accessibleLabelDownloadDefaults),this.accessibleExpanded=void 0,this.accessiblePopup="false",this.identifier=void 0,this.theme="",this.url="#",this.external=!1,this.download=null,this.tabToLink=!1,this.icon=void 0,this.iconColor="currentColor",this.iconBackground=null,this.iconResponsive=!1,this.margin="auto",this.padding="auto",this.isMediumScreen=!1,this.ariaLabel=void 0}componentWillLoad(){a(this),this.resolvedDownload=this.resolveDownload(),"button"===this.variation&&"#"===this.url&&(this.url=void 0)}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"}),this.setAriaLabel(),this.mutationObserver=new MutationObserver(this.setAriaLabel.bind(this)),this.mutationObserver.observe(this.element,{subtree:!0,childList:!0,characterData:!0})}disconnectedCallback(){g(this),this.mutationObserver&&this.mutationObserver.disconnect()}async setFocus(t){this.nativeLink.focus(t)}setAriaLabel(){setTimeout((()=>{this.ariaLabel=this.url&&u(this)||this.accessibleLabel}))}resolveDownload(){return""===this.download?this.url.split("/").pop():this.download}renderDefaultContent(){return e(o,null,e("span",{class:"duet-link-content",part:"duet-link-content"},e("slot",null)),(this.resolvedDownload||this.external)&&"default"===this.variation&&e(o,null,e("span",{class:"duet-link-icon-tail"}," ",e("duet-icon",{icon:this.resolvedDownload?'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z"/><path d="M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z"/></svg>':s.svg,size:"xx-small",margin:"none",color:"currentColor"}))))}renderBlockContent(){return e(o,null,this.icon&&e("span",{class:"block__icon"},e("duet-icon",{class:this.iconResponsive?"icon-responsive":"",size:"auto",name:this.icon,margin:"none",color:this.iconColor})),e("span",{class:"block__content"},this.renderDefaultContent()),e("span",{class:"block__chevron",part:"block-chevron"},e("duet-icon",{class:"block__chevron-icon",icon:this.external?w:f,size:"x-small",margin:"none",color:"primary-dark"})))}renderButtonCardContent(){const t={"background-color":r(this.iconBackground,this.theme)};return e(o,null,this.icon&&e("span",{class:"icon-wrap",style:t},e("duet-icon",{size:"auto",name:this.icon,margin:"none",color:this.iconColor})),e("div",{class:"duet-link-content",part:"duet-link-content"},e("slot",null)),e("span",{class:"chevron-wrap"},e("duet-icon",{class:"block__chevron-icon",icon:this.external?w:f,size:"x-small",margin:"none",color:"primary-dark"})))}renderContent(){switch(this.variation){case"default":return this.renderDefaultContent();case"block":return this.renderBlockContent();case"button":case"card":return this.renderButtonCardContent()}}render(){const t=this.url?"a":"button",n="button"===t;return e(i,{key:"bcde4f333a3bd278709dddda0e90ceae4c6a705d",class:{[`duet-link-${this.variation}`]:!0,"duet-m-0":"none"===this.margin}},e(t,{key:"ab2c62a98d88a54965ab7be9cc45907e6e07e5d7",href:this.url,class:{"duet-link":!0,"duet-link-is-external":this.external,"duet-link-is-download":!!this.download,"duet-link-has-icon":!!this.icon,"duet-link-has-icon-background":!!this.iconBackground,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":"turva"===this.theme,"duet-p-0":"none"===this.padding,[this.padding]:!0,[this.variation]:!0},target:this.download||!this.url?null:this.external?"_blank":"_self",download:this.resolvedDownload,"aria-label":this.ariaLabel,"aria-expanded":null!=this.accessibleExpanded&&n?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup&&n?this.accessiblePopup.toString():void 0,id:this.identifier,ref:t=>this.nativeLink=t,part:"duet-link",rel:this.external?"noopener":void 0},this.renderContent()))}static get delegatesFocus(){return!0}get element(){return n(this)}static get watchers(){return{language:["setAriaLabel"]}}};v.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:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;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;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-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(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow: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)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}';const y=class{constructor(e){t(this,e),this.id=b("duet-paragraph"),this.theme="",this.margin="auto",this.size="medium",this.weight=void 0,this.variation="default",this.color=""}componentWillLoad(){a(this)}render(){const t=r(this.color);return e(i,{key:"c40c5ba6cbe85a63b4175aaedcd83594adc10734","aria-describedby":this.id},e("p",{key:"96d0dad61f9e9b74f6c0945723b401dc179c87df",id:this.id,class:{"duet-paragraph":!0,"duet-paragraph-small":"small"===this.size,"duet-paragraph-semi-bold":"semi-bold"===this.weight,"duet-paragraph-bold":"bold"===this.weight,"duet-m-0":"none"===this.margin,[this.variation]:!0,"duet-theme-turva":"turva"===this.theme},style:{color:t},part:"duet-paragraph"},e("slot",{key:"b8d26076ea382a76379fb587c13f05eadb91da4e"})))}get element(){return n(this)}};y.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;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width: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-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.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-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){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;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).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(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}';export{k as duet_caption,x as duet_heading,v as duet_link,y as duet_paragraph}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register([],(function(r){"use strict";return{execute:function(){var t=function(r,t,e,n,u){if(u===void 0){u={childList:true,subtree:true}}var i;if(typeof MutationObserver!=="undefined"){i=new MutationObserver((function(r){e(n(r,t))}));i.observe(r,u)}return i};var e=r("w",(function(r,e,n){return t(r,e,n,i)}));var n=r("a",(function(r,e,n){return t(r,e,n,u,{childList:true,subtree:true})}));var u=function(r){var t=false;var e=false;r.forEach((function(r){if(r.addedNodes.length){t=true}if(r.removedNodes.length){e=true}}));return{addedNode:t,removedNode:e,mutationList:r}};var i=function(r,t){var e;r.forEach((function(r){for(var n=0;n<r.addedNodes.length;n++){e=f(r.addedNodes[n],t)||e}}));return e};var f=r("f",(function(r,t){if(r.nodeType!==1){return undefined}var e=r.tagName===t.toUpperCase()?[r]:Array.from(r.querySelectorAll(t));return e.find((function(r){return r.checked===true}))}))}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-ef731dfb.system.js"],(function(r){"use strict";var n,t,e,u,i,f,a,o,v,c;return{setters:[function(r){n=r.m;t=r.a;e=r.b;u=r.c;i=r.d;f=r.e;a=r.f;o=r.g;v=r.h;c=r.t}],execute:function(){r({c:p,d:O,g:j,r:w,s:S});var d=["turva"];function s(r){var n=r.includes("-");var t=r.includes(" ")||r.includes("_");var e=r.charAt(0)==="-";return n&&!t&&!e}function l(r){if(r===void 0){r=""}return"".concat(r.charAt(0).toUpperCase()).concat(r.slice(1))}function x(r){if(r===void 0){r=""}return"".concat(r.charAt(0).toLowerCase()).concat(r.slice(1))}function m(r){if(r===void 0){r=""}var n=r.split("-");n.forEach((function(r,t){n[t]=l(r)}));return n.join("")}function g(r){if(r===void 0){r=""}if(d.includes(r.toLowerCase())){return r.toLowerCase()}return""}function p(r){return r.charAt(0).toUpperCase()+r.slice(1)}function b(r,n){if(n===void 0){n=""}return n.indexOf(p(r))===0||n.indexOf(r)===0}function I(r,n){if(n===void 0){n=""}if(n&&!s(n)&&!b(r,n)){return"".concat(r).concat(l(n))}return n}function h(r,n){var t=g(n).length;if(t&&r.indexOf(n)===-1){return"".concat(r).concat(l(n))}return r}function j(r,n){if(n===void 0){n=""}if(!r){return undefined}var t=y(r);var e=y(r,n);var u=c[e];if(!u){u=c[t]}return u}function y(r,n){if(r===void 0){r=""}if(n===void 0){n=""}var t=r;var e=s(r);if(e){t=m(t)}t=I("color",t);t=h(t,n);t=x(t);return t}function M(r,n){if(!n){return undefined}var t=n;var e=s(n);if(e){t=m(t)}t=I(r,t);t=x(t);try{return c[t]}catch(r){return undefined}}function O(r){return M("shadow",r)}function w(r,n){if(!r||n!==0&&!n){return undefined}var t=r.split(",");var e=parseInt(t[0].slice(4)),u=parseInt(t[1]),i=parseInt(t[2]);return"rgba(".concat(e,",").concat(u,",").concat(i,",").concat(n,")")}function S(r,n){var t=r.split(","),e=n<0?0:255,u=n<0?n*-1:n;var i=parseInt(t[0].slice(4)),f=parseInt(t[1]),a=parseInt(t[2]);i=Math.round((e-i)*u)+i;f=Math.round((e-f)*u)+f;a=Math.round((e-a)*u)+a;i=i<0?0:i;i=i>255?255:i;f=f<0?0:f;f=f>255?255:f;a=a<0?0:a;a=a>255?255:a;return"rgb(".concat(i,",").concat(f,",").concat(a,")")}var _=function(r){return r.substring(1,r.length-1)};var k=r("a",{"xxx-small":_(v),"xx-small":_(n),"x-small":_(t),small:_(e),medium:_(u),large:_(i),"x-large":_(f),"xx-large":_(a),"xxx-large":_(o)});var q=r("b",Object.keys(k).filter((function(r){return r.indexOf("x-small")!==-1})));Object.keys(k).filter((function(r){return!q.includes(r)}))}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,h as o,H as e,g as r,c as a}from"./p-44b36dbf.js";import{i}from"./p-aaa7a7bd.js";import{s as n,u as s}from"./p-a45e3f8b.js";import{F as p}from"./p-ed3748dc.js";import{T as d}from"./p-8cb0e6bd.js";const l=class{constructor(o){t(this,o),this.label="",this.accessibleLabel=void 0,this.theme="",this.negative=!1,this.active=void 0,this.tooltipId=void 0}componentWillLoad(){i(this)}connectedCallback(){n(this)}disconnectedCallback(){s(this)}async setFocus(t){this.buttonElement&&this.buttonElement.focus(t)}render(){return o(e,{key:"bc36621b7fc830cfb8ca434188d7f50ba4e4542b"},o("button",{key:"db275d682c9270a6fda156c50776662d94816b1a",ref:t=>this.buttonElement=t,"aria-controls":this.tooltipId,"aria-expanded":this.active?"true":"false",type:"button",class:{"duet-tooltip-button":!0,"duet-tooltip-button-has-label":!!this.label,"duet-theme-turva":"turva"===this.theme,"duet-tooltip-button-negative":this.negative}},o("svg",{key:"6f74e7cd6e8ec203590038e36b1351d2245707ee","aria-hidden":"true",role:"img",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"47704ecc8941cdcb856f6882b36ea67b17e2c4cb",d:"m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z"}),o("circle",{key:"5787a0fd9287e4706445dc87620523fa4cb71868",cx:"11.625",cy:"7.125",r:"1.125"}),o("path",{key:"78de402d0a039784299b486eb685bb06e3f3459a",d:"m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z"})),this.label?o("span",{class:"duet-tooltip-label"},this.label):o("duet-visually-hidden",null,this.accessibleLabel)))}get element(){return r(this)}};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}.duet-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:hover{color:rgb(0, 75, 129)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-tooltip-button:hover.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !important;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;line-height:1.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}';const b=class{constructor(o){t(this,o),this.tooltipPopupClosed=a(this,"tooltipPopupClosed",7),this.handleCloseClick=()=>{this.tooltipPopupClosed.emit()},this.theme="",this.active=void 0,this.tooltipId=void 0,this.arrowStyles=void 0,this.placement=void 0,this.accessibleCloseLabel=void 0}componentWillLoad(){i(this)}connectedCallback(){n(this),this.teleport||(this.teleport=new d(this.element)),this.teleport&&this.teleport.activate()}disconnectedCallback(){s(this)}async getArrowElement(){return this.arrowEl}async getContentElement(){return this.contentEl}async setFocusOnContentElement(){this.contentEl.focus()}render(){return o(e,{key:"8474dad9661249e8ba481e360e8f42a7321c5412"},o("div",{key:"f1e70b81c3d3398a5074b07a60e791eca97e2881",class:{"duet-tooltip":!0,"duet-theme-turva":"turva"===this.theme,"duet-tooltip-active":!0===this.active}},o(p,{key:"d21aeccf6723db71c44cf16f15a322c1cdc85fdc",moveFocusTo:this.buttonEl}),o("div",{key:"36fe75956cac98e1ecc917dd4eccaebc7ac3659a",ref:t=>this.contentEl=t,class:"duet-tooltip-content-area",tabindex:0,id:this.tooltipId},o("slot",{key:"7e7930c17ae679c7c49f7c6d727ff9d5e33b098a"})),o("div",{key:"05feacb8b46d298d0b789b8e1ba2ef6e291e8d62",ref:t=>this.arrowEl=t,class:{arrow:!0,[this.placement]:!0},style:this.arrowStyles},o("div",{key:"bf3d5ad0aa7fcd59514e32be36406abad9bdf42a",class:{"arrow-container":!0,[this.placement]:!0}})),o("button",{key:"8667096436686fb84ebac5d92d5e15c4d7940d1c",type:"button",class:"duet-tooltip-close",onClick:this.handleCloseClick,ref:t=>this.buttonEl=t},o("duet-icon",{key:"dca41a670fb8f3fb7b36261932f0caec193c8fbc",name:"navigation-close-small",margin:"none",color:"currentColor",size:"xxx-small"}),o("duet-visually-hidden",{key:"f3737f4bc108eba91b5520fbf3ff39ef55d82b3c"},this.accessibleCloseLabel)),o(p,{key:"b702d271e89ba15b2ab3b6f01854238b57a3875d",moveFocusTo:this.contentEl})))}get element(){return r(this)}};b.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;position:absolute;z-index:950}.duet-tooltip{position:relative;width:282px;min-height: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:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:300ms ease;transform-origin:100% 100%}.duet-tooltip.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);border-color:rgb(222, 224, 228);box-shadow:0 2px 10px 0 rgba(117, 117, 117, 0.13)}.duet-tooltip .arrow{position:absolute;width:22px;height:22px;pointer-events:none}.duet-tooltip .arrow.bottom,.duet-tooltip .arrow.bottom-start,.duet-tooltip .arrow.bottom-end{top:-20px}.duet-tooltip .arrow-container{position:relative;left:4px;width:100%;height:100%;pointer-events:none}.duet-tooltip .arrow-container::after{position:absolute;z-index:200;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container::before{position:absolute;z-index:100;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container.top::after,.duet-tooltip .arrow-container.top-start::after,.duet-tooltip .arrow-container.top-end::after{bottom:2px;left:2px;border:10px solid transparent;border-top:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.top::before,.duet-tooltip .arrow-container.top-start::before,.duet-tooltip .arrow-container.top-end::before{bottom:-1px;left:1px;border:11px solid transparent;border-top:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.top::before,.duet-theme-turva .duet-tooltip .arrow-container.top-start::before,.duet-theme-turva .duet-tooltip .arrow-container.top-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip .arrow-container.bottom::after,.duet-tooltip .arrow-container.bottom-start::after,.duet-tooltip .arrow-container.bottom-end::after{bottom:1px;left:2px;border:10px solid transparent;border-bottom:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.bottom::before,.duet-tooltip .arrow-container.bottom-start::before,.duet-tooltip .arrow-container.bottom-end::before{bottom:1px;left:1px;border:11px solid transparent;border-bottom:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.bottom::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-start::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip.duet-tooltip-has-label{right:auto !important;left:0;width:282px !important;transform-origin:0 0 !important}.duet-tooltip.duet-tooltip-active{visibility:visible;opacity:1;transition-property:transform, opacity}.duet-tooltip-content-area{padding:20px !important;width:100%;padding-right:25px !important;overflow-y:auto;-webkit-hyphens:auto;hyphens:auto;border-radius:4px;-webkit-overflow-scrolling:touch}.duet-tooltip-content-area:focus{outline:none}:host(.user-is-tabbing) .duet-tooltip-content-area: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 .duet-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tooltip-content-area::-webkit-scrollbar{width:4px}.duet-tooltip-content-area::-webkit-scrollbar-track{border-radius:4px}.duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(212, 223, 229);border-radius:4px}.duet-theme-turva .duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(222, 224, 228)}.duet-tooltip-close{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;min-height:0 !important;padding:0 !important;margin:0 !important;line-height:normal;color:rgb(8, 42, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;-webkit-appearance:none;appearance:none}.duet-tooltip-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-tooltip-close:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}';export{l as duet_tooltip_button,b as duet_tooltip_popup}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register([],(function(r){"use strict";return{execute:function(){var _="rgb(0, 161, 212)";var a="rgb(178, 180, 179)";var o="rgb(11, 114, 136)";var l="rgb(199, 12, 112)";var e="rgb(122, 1, 196)";var c="rgb(211, 36, 131)";var t="rgb(161, 10, 78)";var g="rgb(168, 1, 78)";var v="rgb(213, 66, 3)";var i="rgb(9, 129, 148)";var s="rgb(169, 69, 124)";var d="rgb(54, 74, 129)";var u="rgb(23, 28, 58)";var n="rgb(214, 28, 82)";var b="rgb(255, 240, 243)";var x="rgb(255, 211, 219)";var m="rgb(89, 0, 45)";var y="rgb(255, 173, 190)";var p="rgb(252, 136, 162)";var h="rgb(243, 98, 134)";var w="rgb(255, 225, 231)";var z="rgb(231, 62, 107)";var f="rgb(214, 28, 82)";var k="rgb(185, 16, 74)";var q="rgb(153, 9, 66)";var S="rgb(120, 4, 56)";var I="rgb(214, 28, 82)";var U="rgb(122, 1, 196)";var j="rgb(0, 155, 204)";var A="rgb(27, 171, 75)";var E="rgb(255, 86, 34)";var B="rgb(245, 76, 154)";var C="rgb(194, 21, 101)";var F="rgb(192, 101, 247)";var H="rgb(0, 105, 191)";var M="rgb(19, 120, 53)";var R="rgb(179, 60, 24)";var O="rgb(13, 163, 166)";var D="rgb(11, 114, 136)";var G="rgb(179, 137, 24)";var J="rgb(128, 98, 17)";var K="rgb(0, 41, 77)";var L="rgb(181, 198, 208)";var N="rgb(127, 150, 165)";var P="rgb(143, 147, 158)";var Q="rgb(98, 121, 138)";var T="rgb(113, 118, 132)";var V="rgb(212, 223, 229)";var W="rgb(222, 224, 228)";var X="rgb(245, 248, 250)";var Y="rgb(245, 247, 250)";var Z="rgb(255, 255, 255)";var $="rgb(255, 255, 255)";var rr="rgb(199, 202, 207)";var _r="rgb(240, 247, 250)";var ar="rgb(217, 236, 245)";var or="rgb(8, 42, 77)";var lr="rgb(198, 225, 238)";var er="rgb(172, 210, 229)";var cr="rgb(131, 188, 217)";var tr="rgb(228, 241, 247)";var gr="rgb(50, 153, 204)";var vr="rgb(0, 119, 179)";var ir="rgb(0, 97, 155)";var sr="rgb(0, 75, 129)";var dr="rgb(3, 56, 102)";var ur="rgb(245, 248, 250)";var nr="rgb(212, 223, 229)";var br="rgb(17, 28, 38)";var xr="rgb(181, 198, 208)";var mr="rgb(153, 174, 186)";var yr="rgb(127, 150, 165)";var pr="rgb(228, 236, 239)";var hr="rgb(98, 121, 138)";var wr="rgb(81, 105, 123)";var zr="rgb(62, 84, 102)";var fr="rgb(45, 64, 81)";var kr="rgb(30, 45, 59)";var qr="rgb(0, 119, 179)";var Sr="rgb(0, 75, 129)";var Ir="rgb(126, 2, 35)";var Ur="rgb(0, 97, 155)";var jr="rgb(164, 4, 40)";var Ar="rgb(198, 225, 238)";var Er="rgb(255, 185, 190)";var Br="rgb(228, 241, 247)";var Cr="rgb(255, 227, 228)";var Fr="rgb(240, 247, 250)";var Hr="rgb(255, 241, 241)";var Mr="rgb(198, 12, 48)";var Rr="rgb(8, 42, 77)";var Or="rgb(23, 28, 58)";var Dr="rgb(48, 131, 105)";var Gr="rgb(244, 250, 247)";var Jr="rgb(218, 246, 233)";var Kr="rgb(4, 38, 33)";var Lr="rgb(191, 239, 218)";var Nr="rgb(163, 229, 202)";var Pr="rgb(134, 215, 185)";var Qr="rgb(231, 248, 239)";var Tr="rgb(105, 196, 166)";var Vr="rgb(77, 171, 143)";var Wr="rgb(48, 131, 105)";var Xr="rgb(29, 106, 88)";var Yr="rgb(13, 71, 59)";var Zr="rgb(48, 131, 105)";var $r="rgb(245, 247, 250)";var r_="rgb(222, 224, 228)";var __="rgb(8, 13, 38)";var a_="rgb(199, 202, 207)";var o_="rgb(175, 178, 186)";var l_="rgb(143, 147, 158)";var e_="rgb(234, 235, 239)";var c_="rgb(113, 118, 132)";var t_="rgb(98, 104, 122)";var g_="rgb(71, 78, 101)";var v_="rgb(45, 52, 79)";var i_="rgb(23, 28, 58)";var s_="rgb(255, 241, 241)";var d_="rgb(255, 213, 215)";var u_="rgb(51, 5, 20)";var n_="rgb(255, 185, 190)";var b_="rgb(252, 148, 158)";var x_="rgb(240, 102, 119)";var m_="rgb(255, 227, 228)";var y_="rgb(221, 49, 77)";var p_="rgb(198, 12, 48)";var h_="rgb(164, 4, 40)";var w_="rgb(126, 2, 35)";var z_="rgb(87, 4, 29)";var f_="rgb(247, 178, 40)";var k_="rgb(255, 251, 242)";var q_="rgb(255, 244, 198)";var S_="rgb(38, 26, 4)";var I_="rgb(255, 232, 160)";var U_="rgb(255, 217, 120)";var j_="rgb(255, 199, 79)";var A_="rgb(255, 247, 221)";var E_="rgb(247, 178, 40)";var B_="rgb(212, 151, 32)";var C_="rgb(156, 110, 22)";var F_="rgb(126, 87, 16)";var H_="rgb(81, 55, 9)";var M_="rgb(247, 178, 40)";var R_="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var O_="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var D_="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var G_="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var J_="1.25rem";var K_=r("f","1rem");var L_="0.875rem";var N_="1.5rem";var P_="0.75rem";var Q_="2.25rem";var T_="3rem";var V_="4.5rem";var W_="700";var X_="800";var Y_="400";var Z_="600";var $_="-0.01rem";var ra="1.5";var _a="1.25";var aa="1.1";var oa=r("a","'(min-width: 62em)'");var la=r("m","'(min-width: 48em)'");var ea=r("b","'(min-width: 36em)'");var ca="'(min-width: 64.0625em)'";var ta="'(max-width: 35.9375em)'";var ga=r("c","'(min-width: 76.25em)'");var va="'(max-width: 22.5em)'";var ia="'(min-width: 106.25em)'";var sa="'(max-width: 20.5em)'";var da="0.30";var ua="0.50";var na="0.75";var ba="0.85";var xa="50%";var ma="4px";var ya="12px";var pa="16px";var ha="8px";var wa="20rem";var za="0";var fa="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 ka="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 qa="0 2px 6px 0 rgba(0, 41, 77, 0.07)";var Sa="0 2px 6px 0 rgba(117, 117, 117, 0.13)";var Ia="0 0 0 1px #de2362";var Ua="0 0 0 1px #e55039";var ja="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3";var Aa="0 0 0 1px #0077b3";var Ea="0 0 0 1px #171c3a";var Ba="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a";var Ca="0 2px 10px 0 rgba(0, 41, 77, 0.1)";var Fa="0 0 0 1px #909599";var Ha="0 0 0 1px #747475";var Ma="0 2px 10px 0 rgba(117, 117, 117, 0.15)";var Ra="0 2px 20px 0 rgba(0, 0, 0, 0.2)";var Oa="0 2px 10px 0 rgba(0, 41, 77, 0.07)";var Da="0 2px 10px 0 rgba(117, 117, 117, 0.13)";var Ga="1px";var Ja="8rem";var Ka="1px";var La="1px";var Na="4rem";var Pa="30px";var Qa="24px";var Ta="20px";var Va="36px";var Wa="16px";var Xa="48px";var Ya="10px";var Za="72px";var $a="7px";var ro="1110px";var _o="2px";var ao="3rem";var oo="40px";var lo="30px";var eo="48px";var co="20px";var to="16px";var go="12px";var vo="28px";var io="8px";var so="36px";var uo="4px";var no="48px";var bo="2px";var xo="72px";var mo="94px";var yo="300ms ease";var po="600ms ease";var ho="-999999";var wo="1";var zo="600";var fo="400";var ko="200";var qo="250";var So="100";var Io="900";var Uo="700";var jo="950";var Ao="800";var Eo="300";var Bo="500";var Co={color_brand_blue:_,color_brand_gray_turva:a,color_category_family:o,color_category_family_turva:l,color_category_finance:e,color_category_home:c,color_category_home_turva:t,color_category_pet:g,color_category_travel:v,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:b,color_danger_100:x,color_danger_1000:m,color_danger_200:y,color_danger_300:p,color_danger_400:h,color_danger_50:w,color_danger_500:z,color_danger_600:f,color_danger_700:k,color_danger_800:q,color_danger_900:S,color_danger_turva:I,color_data_01:U,color_data_02:j,color_data_03:A,color_data_04:E,color_data_05:B,color_data_06:C,color_data_07:F,color_data_08:H,color_data_09:M,color_data_10:R,color_data_11:O,color_data_12:D,color_data_13:G,color_data_14:J,color_data_15:K,color_gray:L,color_gray_dark:N,color_gray_dark_turva:P,color_gray_darker:Q,color_gray_darker_turva:T,color_gray_light:V,color_gray_light_turva:W,color_gray_lighter:X,color_gray_lighter_turva:Y,color_gray_lightest:Z,color_gray_lightest_turva:$,color_gray_turva:rr,color_lt_blue_00:_r,color_lt_blue_100:ar,color_lt_blue_1000:or,color_lt_blue_200:lr,color_lt_blue_300:er,color_lt_blue_400:cr,color_lt_blue_50:tr,color_lt_blue_500:gr,color_lt_blue_600:vr,color_lt_blue_700:ir,color_lt_blue_800:sr,color_lt_blue_900:dr,color_lt_gray_00:ur,color_lt_gray_100:nr,color_lt_gray_1000:br,color_lt_gray_200:xr,color_lt_gray_300:mr,color_lt_gray_400:yr,color_lt_gray_50:pr,color_lt_gray_500:hr,color_lt_gray_600:wr,color_lt_gray_700:zr,color_lt_gray_800:fr,color_lt_gray_900:kr,color_primary:qr,color_primary_dark:Sr,color_primary_dark_turva:Ir,color_primary_darker:Ur,color_primary_darker_turva:jr,color_primary_light:Ar,color_primary_light_turva:Er,color_primary_lighter:Br,color_primary_lighter_turva:Cr,color_primary_lightest:Fr,color_primary_lightest_turva:Hr,color_primary_turva:Mr,color_secondary:Rr,color_secondary_turva:Or,color_success:Dr,color_success_00:Gr,color_success_100:Jr,color_success_1000:Kr,color_success_200:Lr,color_success_300:Nr,color_success_400:Pr,color_success_50:Qr,color_success_500:Tr,color_success_600:Vr,color_success_700:Wr,color_success_800:Xr,color_success_900:Yr,color_success_turva:Zr,color_turva_gray_00:$r,color_turva_gray_100:r_,color_turva_gray_1000:__,color_turva_gray_200:a_,color_turva_gray_300:o_,color_turva_gray_400:l_,color_turva_gray_50:e_,color_turva_gray_500:c_,color_turva_gray_600:t_,color_turva_gray_700:g_,color_turva_gray_800:v_,color_turva_gray_900:i_,color_turva_red_00:s_,color_turva_red_100:d_,color_turva_red_1000:u_,color_turva_red_200:n_,color_turva_red_300:b_,color_turva_red_400:x_,color_turva_red_50:m_,color_turva_red_500:y_,color_turva_red_600:p_,color_turva_red_700:h_,color_turva_red_800:w_,color_turva_red_900:z_,color_warning:f_,color_warning_00:k_,color_warning_100:q_,color_warning_1000:S_,color_warning_200:I_,color_warning_300:U_,color_warning_400:j_,color_warning_50:A_,color_warning_500:E_,color_warning_600:B_,color_warning_700:C_,color_warning_800:F_,color_warning_900:H_,color_warning_turva:M_,font_family_heading:R_,font_family_heading_turva:O_,font_family_text:D_,font_family_text_turva:G_,font_size_large:J_,font_size_medium:K_,font_size_small:L_,font_size_x_large:N_,font_size_x_small:P_,font_size_xx_large:Q_,font_size_xxx_large:T_,font_size_xxxx_large:V_,font_weight_bold:W_,font_weight_extra_bold:X_,font_weight_normal:Y_,font_weight_semi_bold:Z_,letter_spacing_heading:$_,line_height_medium:ra,line_height_small:_a,line_height_x_small:aa,media_query_large:oa,media_query_medium:la,media_query_small:ea,media_query_x_large:ca,media_query_x_small:ta,media_query_xx_large:ga,media_query_xx_small:va,media_query_xxx_large:ia,media_query_xxx_small:sa,opacity_30:da,opacity_50:ua,opacity_75:na,opacity_85:ba,radius_circle:xa,radius_default:ma,radius_intermediate:ya,radius_large:pa,radius_medium:ha,radius_pill:wa,radius_sharp:za,shadow_card:fa,shadow_card_turva:ka,shadow_default:qa,shadow_default_turva:Sa,shadow_error:Ia,shadow_error_turva:Ua,shadow_focus:ja,shadow_focus_input:Aa,shadow_focus_input_turva:Ea,shadow_focus_turva:Ba,shadow_hover:Ca,shadow_hover_input:Fa,shadow_hover_input_turva:Ha,shadow_hover_turva:Ma,shadow_modal:Ra,shadow_tooltip:Oa,shadow_tooltip_turva:Da,size_button_border:Ga,size_button_min_width:Ja,size_button_tiny_border:Ka,size_form_border:La,size_header:Na,size_icon_large:Pa,size_icon_medium:Qa,size_icon_small:Ta,size_icon_x_large:Va,size_icon_x_small:Wa,size_icon_xx_large:Xa,size_icon_xx_small:Ya,size_icon_xxx_large:Za,size_icon_xxx_small:$a,size_layout_max_width:ro,size_medium_border:_o,size_navigation:ao,size_step_medium:oo,size_step_small:lo,size_tappable_square:eo,space_large:co,space_medium:to,space_small:go,space_x_large:vo,space_x_small:io,space_xx_large:so,space_xx_small:uo,space_xxx_large:no,space_xxx_small:bo,space_xxxx_large:xo,space_xxxxx_large:mo,transition_quickly:yo,transition_slowly:po,z_index_deep:ho,z_index_default:wo,z_index_dropdown:zo,z_index_header:fo,z_index_mask:ko,z_index_mask_buttons:qo,z_index_masked:So,z_index_modal:Io,z_index_overlay:Uo,z_index_popup:jo,z_index_spinner:Ao,z_index_sticky:Eo,z_index_toast:Bo};var Fo=Object.freeze({__proto__:null,color_brand_blue:_,color_brand_gray_turva:a,color_category_family:o,color_category_family_turva:l,color_category_finance:e,color_category_home:c,color_category_home_turva:t,color_category_pet:g,color_category_travel:v,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:b,color_danger_100:x,color_danger_1000:m,color_danger_200:y,color_danger_300:p,color_danger_400:h,color_danger_50:w,color_danger_500:z,color_danger_600:f,color_danger_700:k,color_danger_800:q,color_danger_900:S,color_danger_turva:I,color_data_01:U,color_data_02:j,color_data_03:A,color_data_04:E,color_data_05:B,color_data_06:C,color_data_07:F,color_data_08:H,color_data_09:M,color_data_10:R,color_data_11:O,color_data_12:D,color_data_13:G,color_data_14:J,color_data_15:K,color_gray:L,color_gray_dark:N,color_gray_dark_turva:P,color_gray_darker:Q,color_gray_darker_turva:T,color_gray_light:V,color_gray_light_turva:W,color_gray_lighter:X,color_gray_lighter_turva:Y,color_gray_lightest:Z,color_gray_lightest_turva:$,color_gray_turva:rr,color_lt_blue_00:_r,color_lt_blue_100:ar,color_lt_blue_1000:or,color_lt_blue_200:lr,color_lt_blue_300:er,color_lt_blue_400:cr,color_lt_blue_50:tr,color_lt_blue_500:gr,color_lt_blue_600:vr,color_lt_blue_700:ir,color_lt_blue_800:sr,color_lt_blue_900:dr,color_lt_gray_00:ur,color_lt_gray_100:nr,color_lt_gray_1000:br,color_lt_gray_200:xr,color_lt_gray_300:mr,color_lt_gray_400:yr,color_lt_gray_50:pr,color_lt_gray_500:hr,color_lt_gray_600:wr,color_lt_gray_700:zr,color_lt_gray_800:fr,color_lt_gray_900:kr,color_primary:qr,color_primary_dark:Sr,color_primary_dark_turva:Ir,color_primary_darker:Ur,color_primary_darker_turva:jr,color_primary_light:Ar,color_primary_light_turva:Er,color_primary_lighter:Br,color_primary_lighter_turva:Cr,color_primary_lightest:Fr,color_primary_lightest_turva:Hr,color_primary_turva:Mr,color_secondary:Rr,color_secondary_turva:Or,color_success:Dr,color_success_00:Gr,color_success_100:Jr,color_success_1000:Kr,color_success_200:Lr,color_success_300:Nr,color_success_400:Pr,color_success_50:Qr,color_success_500:Tr,color_success_600:Vr,color_success_700:Wr,color_success_800:Xr,color_success_900:Yr,color_success_turva:Zr,color_turva_gray_00:$r,color_turva_gray_100:r_,color_turva_gray_1000:__,color_turva_gray_200:a_,color_turva_gray_300:o_,color_turva_gray_400:l_,color_turva_gray_50:e_,color_turva_gray_500:c_,color_turva_gray_600:t_,color_turva_gray_700:g_,color_turva_gray_800:v_,color_turva_gray_900:i_,color_turva_red_00:s_,color_turva_red_100:d_,color_turva_red_1000:u_,color_turva_red_200:n_,color_turva_red_300:b_,color_turva_red_400:x_,color_turva_red_50:m_,color_turva_red_500:y_,color_turva_red_600:p_,color_turva_red_700:h_,color_turva_red_800:w_,color_turva_red_900:z_,color_warning:f_,color_warning_00:k_,color_warning_100:q_,color_warning_1000:S_,color_warning_200:I_,color_warning_300:U_,color_warning_400:j_,color_warning_50:A_,color_warning_500:E_,color_warning_600:B_,color_warning_700:C_,color_warning_800:F_,color_warning_900:H_,color_warning_turva:M_,font_family_heading:R_,font_family_heading_turva:O_,font_family_text:D_,font_family_text_turva:G_,font_size_large:J_,font_size_medium:K_,font_size_small:L_,font_size_x_large:N_,font_size_x_small:P_,font_size_xx_large:Q_,font_size_xxx_large:T_,font_size_xxxx_large:V_,font_weight_bold:W_,font_weight_extra_bold:X_,font_weight_normal:Y_,font_weight_semi_bold:Z_,letter_spacing_heading:$_,line_height_medium:ra,line_height_small:_a,line_height_x_small:aa,media_query_large:oa,media_query_medium:la,media_query_small:ea,media_query_x_large:ca,media_query_x_small:ta,media_query_xx_large:ga,media_query_xx_small:va,media_query_xxx_large:ia,media_query_xxx_small:sa,opacity_30:da,opacity_50:ua,opacity_75:na,opacity_85:ba,radius_circle:xa,radius_default:ma,radius_intermediate:ya,radius_large:pa,radius_medium:ha,radius_pill:wa,radius_sharp:za,shadow_card:fa,shadow_card_turva:ka,shadow_default:qa,shadow_default_turva:Sa,shadow_error:Ia,shadow_error_turva:Ua,shadow_focus:ja,shadow_focus_input:Aa,shadow_focus_input_turva:Ea,shadow_focus_turva:Ba,shadow_hover:Ca,shadow_hover_input:Fa,shadow_hover_input_turva:Ha,shadow_hover_turva:Ma,shadow_modal:Ra,shadow_tooltip:Oa,shadow_tooltip_turva:Da,size_button_border:Ga,size_button_min_width:Ja,size_button_tiny_border:Ka,size_form_border:La,size_header:Na,size_icon_large:Pa,size_icon_medium:Qa,size_icon_small:Ta,size_icon_x_large:Va,size_icon_x_small:Wa,size_icon_xx_large:Xa,size_icon_xx_small:Ya,size_icon_xxx_large:Za,size_icon_xxx_small:$a,size_layout_max_width:ro,size_medium_border:_o,size_navigation:ao,size_step_medium:oo,size_step_small:lo,size_tappable_square:eo,space_large:co,space_medium:to,space_small:go,space_x_large:vo,space_x_small:io,space_xx_large:so,space_xx_small:uo,space_xxx_large:no,space_xxx_small:bo,space_xxxx_large:xo,space_xxxxx_large:mo,transition_quickly:yo,transition_slowly:po,z_index_deep:ho,z_index_default:wo,z_index_dropdown:zo,z_index_header:fo,z_index_mask:ko,z_index_mask_buttons:qo,z_index_masked:So,z_index_modal:Io,z_index_overlay:Uo,z_index_popup:jo,z_index_spinner:Ao,z_index_sticky:Eo,z_index_toast:Bo,default:Co});r("t",Fo)}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):i(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(e,t){var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)n[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++){if(t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i]))n[r[i]]=e[r[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/var min$1=Math.min;var max$1=Math.max;var oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"};var oppositeAlignmentMap={start:"end",end:"start"};function clamp(e,t,n){return max$1(e,min$1(t,n))}function evaluate(e,t){return typeof e==="function"?e(t):e}function getSide(e){return e.split("-")[0]}function getAlignment(e){return e.split("-")[1]}function getOppositeAxis(e){return e==="x"?"y":"x"}function getAxisLength(e){return e==="y"?"height":"width"}function getSideAxis(e){return["top","bottom"].includes(getSide(e))?"y":"x"}function getAlignmentAxis(e){return getOppositeAxis(getSideAxis(e))}function getAlignmentSides(e,t,n){if(n===void 0){n=false}var r=getAlignment(e);var i=getAlignmentAxis(e);var o=getAxisLength(i);var a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";if(t.reference[o]>t.floating[o]){a=getOppositePlacement(a)}return[a,getOppositePlacement(a)]}function getExpandedPlacements(e){var t=getOppositePlacement(e);return[getOppositeAlignmentPlacement(e),t,getOppositeAlignmentPlacement(t)]}function getOppositeAlignmentPlacement(e){return e.replace(/start|end/g,(function(e){return oppositeAlignmentMap[e]}))}function getSideList(e,t,n){var r=["left","right"];var i=["right","left"];var o=["top","bottom"];var a=["bottom","top"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?o:a;default:return[]}}function getOppositeAxisPlacements(e,t,n,r){var i=getAlignment(e);var o=getSideList(getSide(e),n==="start",r);if(i){o=o.map((function(e){return e+"-"+i}));if(t){o=o.concat(o.map(getOppositeAlignmentPlacement))}}return o}function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(function(e){return oppositeSideMap[e]}))}function expandPaddingObject(e){return __assign({top:0,right:0,bottom:0,left:0},e)}function getPaddingObject(e){return typeof e!=="number"?expandPaddingObject(e):{top:e,right:e,bottom:e,left:e}}function rectToClientRect(e){var t=e.x,n=e.y,r=e.width,i=e.height;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function computeCoordsFromPlacement(e,t,n){var r=e.reference,i=e.floating;var o=getSideAxis(t);var a=getAlignmentAxis(t);var s=getAxisLength(a);var u=getSide(t);var l=o==="y";var c=r.x+r.width/2-i.width/2;var f=r.y+r.height/2-i.height/2;var g=r[s]/2-i[s]/2;var v;switch(u){case"top":v={x:c,y:r.y-i.height};break;case"bottom":v={x:c,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:f};break;case"left":v={x:r.x-i.width,y:f};break;default:v={x:r.x,y:r.y}}switch(getAlignment(t)){case"start":v[a]-=g*(n&&l?-1:1);break;case"end":v[a]+=g*(n&&l?-1:1);break}return v}var computePosition$1=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,i,o,a,s,u,l,c,f,g,v,d,m,p,h,w,_,y,x,A,b,S,C,O,E,P;var R,N;return __generator(this,(function(T){switch(T.label){case 0:r=n.placement,i=r===void 0?"bottom":r,o=n.strategy,a=o===void 0?"absolute":o,s=n.middleware,u=s===void 0?[]:s,l=n.platform;c=u.filter(Boolean);return[4,l.isRTL==null?void 0:l.isRTL(t)];case 1:f=T.sent();return[4,l.getElementRects({reference:e,floating:t,strategy:a})];case 2:g=T.sent();v=computeCoordsFromPlacement(g,i,f),d=v.x,m=v.y;p=i;h={};w=0;_=0;T.label=3;case 3:if(!(_<c.length))return[3,11];y=c[_],x=y.name,A=y.fn;return[4,A({x:d,y:m,initialPlacement:i,placement:p,strategy:a,middlewareData:h,rects:g,platform:l,elements:{reference:e,floating:t}})];case 4:b=T.sent(),S=b.x,C=b.y,O=b.data,E=b.reset;d=S!=null?S:d;m=C!=null?C:m;h=__assign(__assign({},h),(R={},R[x]=__assign(__assign({},h[x]),O),R));if(!(E&&w<=50))return[3,10];w++;if(!(typeof E==="object"))return[3,9];if(E.placement){p=E.placement}if(!E.rects)return[3,8];if(!(E.rects===true))return[3,6];return[4,l.getElementRects({reference:e,floating:t,strategy:a})];case 5:P=T.sent();return[3,7];case 6:P=E.rects;T.label=7;case 7:g=P;T.label=8;case 8:N=computeCoordsFromPlacement(g,p,f),d=N.x,m=N.y;T.label=9;case 9:_=-1;T.label=10;case 10:_++;return[3,3];case 11:return[2,{x:d,y:m,placement:p,strategy:a,middlewareData:h}]}}))}))};function detectOverflow(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,g,v,d,m,p,h,w,_,y,x,A,b,S,C,O,E,P,R,N,T,L,k,B,M;var D;return __generator(this,(function(F){switch(F.label){case 0:if(t===void 0){t={}}r=e.x,i=e.y,o=e.platform,a=e.rects,s=e.elements,u=e.strategy;l=evaluate(t,e),c=l.boundary,f=c===void 0?"clippingAncestors":c,g=l.rootBoundary,v=g===void 0?"viewport":g,d=l.elementContext,m=d===void 0?"floating":d,p=l.altBoundary,h=p===void 0?false:p,w=l.padding,_=w===void 0?0:w;y=getPaddingObject(_);x=m==="floating"?"reference":"floating";A=s[h?x:m];S=rectToClientRect;O=(C=o).getClippingRect;D={};return[4,o.isElement==null?void 0:o.isElement(A)];case 1:if(!((n=F.sent())!=null?n:true))return[3,2];E=A;return[3,5];case 2:P=A.contextElement;if(P)return[3,4];return[4,o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)];case 3:P=F.sent();F.label=4;case 4:E=P;F.label=5;case 5:return[4,O.apply(C,[(D.element=E,D.boundary=f,D.rootBoundary=v,D.strategy=u,D)])];case 6:b=S.apply(void 0,[F.sent()]);R=m==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference;return[4,o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)];case 7:N=F.sent();return[4,o.isElement==null?void 0:o.isElement(N)];case 8:if(!F.sent())return[3,10];return[4,o.getScale==null?void 0:o.getScale(N)];case 9:L=F.sent()||{x:1,y:1};return[3,11];case 10:L={x:1,y:1};F.label=11;case 11:T=L;B=rectToClientRect;if(!o.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:R,offsetParent:N,strategy:u})];case 12:M=F.sent();return[3,14];case 13:M=R;F.label=14;case 14:k=B.apply(void 0,[M]);return[2,{top:(b.top-k.top+y.top)/T.y,bottom:(k.bottom-b.bottom+y.bottom)/T.y,left:(b.left-k.left+y.left)/T.x,right:(k.right-b.right+y.right)/T.x}]}}))}))}var arrow=function(e){return{name:"arrow",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,g,v,d,m,p,h,w,_,y,x,A,b,S,C,O,E,P,R,N,T,L,k,B,M,D;var F,$;return __generator(this,(function(W){switch(W.label){case 0:n=t.x,r=t.y,i=t.placement,o=t.rects,a=t.platform,s=t.elements,u=t.middlewareData;l=evaluate(e,t)||{},c=l.element,f=l.padding,g=f===void 0?0:f;if(c==null){return[2,{}]}v=getPaddingObject(g);d={x:n,y:r};m=getAlignmentAxis(i);p=getAxisLength(m);return[4,a.getDimensions(c)];case 1:h=W.sent();w=m==="y";_=w?"top":"left";y=w?"bottom":"right";x=w?"clientHeight":"clientWidth";A=o.reference[p]+o.reference[m]-d[m]-o.floating[p];b=d[m]-o.reference[m];return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(c)];case 2:S=W.sent();C=S?S[x]:0;O=!C;if(O)return[3,4];return[4,a.isElement==null?void 0:a.isElement(S)];case 3:O=!W.sent();W.label=4;case 4:if(O){C=s.floating[x]||o.floating[p]}E=A/2-b/2;P=C/2-h[p]/2-1;R=min$1(v[_],P);N=min$1(v[y],P);T=R;L=C-h[p]-N;k=C/2-h[p]/2+E;B=clamp(T,k,L);M=!u.arrow&&getAlignment(i)!=null&&k!==B&&o.reference[p]/2-(k<T?R:N)-h[p]/2<0;D=M?k<T?k-T:k-L:0;return[2,(F={},F[m]=d[m]+D,F.data=__assign(($={},$[m]=B,$.centerOffset=k-B-D,$),M&&{alignmentOffset:D}),F.reset=M,F)]}}))}))}}};var flip=function(e){if(e===void 0){e={}}return{name:"flip",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,g,v,d,m,p,h,w,_,y,x,A,b,S,C,O,E,P,R,N,T,L,k,B,M,D,F,$;return __generator(this,(function(W){switch(W.label){case 0:i=t.placement,o=t.middlewareData,a=t.rects,s=t.initialPlacement,u=t.platform,l=t.elements;c=evaluate(e,t),f=c.mainAxis,g=f===void 0?true:f,v=c.crossAxis,d=v===void 0?true:v,m=c.fallbackPlacements,p=c.fallbackStrategy,h=p===void 0?"bestFit":p,w=c.fallbackAxisSideDirection,_=w===void 0?"none":w,y=c.flipAlignment,x=y===void 0?true:y,A=__rest(c,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=o.arrow)!=null&&n.alignmentOffset){return[2,{}]}b=getSide(i);S=getSide(s)===s;return[4,u.isRTL==null?void 0:u.isRTL(l.floating)];case 1:C=W.sent();O=m||(S||!x?[getOppositePlacement(s)]:getExpandedPlacements(s));if(!m&&_!=="none"){O.push.apply(O,getOppositeAxisPlacements(s,x,_,C))}E=__spreadArray([s],O,true);return[4,detectOverflow(t,A)];case 2:P=W.sent();R=[];N=((r=o.flip)==null?void 0:r.overflows)||[];if(g){R.push(P[b])}if(d){T=getAlignmentSides(i,a,C);R.push(P[T[0]],P[T[1]])}N=__spreadArray(__spreadArray([],N,true),[{placement:i,overflows:R}],false);if(!R.every((function(e){return e<=0}))){B=(((L=o.flip)==null?void 0:L.index)||0)+1;M=E[B];if(M){return[2,{data:{index:B,overflows:N},reset:{placement:M}}]}D=(k=N.filter((function(e){return e.overflows[0]<=0})).sort((function(e,t){return e.overflows[1]-t.overflows[1]}))[0])==null?void 0:k.placement;if(!D){switch(h){case"bestFit":{$=(F=N.map((function(e){return[e.placement,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])==null?void 0:F[0];if($){D=$}break}case"initialPlacement":D=s;break}}if(i!==D){return[2,{reset:{placement:D}}]}}return[2,{}]}}))}))}}};function convertValueToCoords(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,g,v,d,m;return __generator(this,(function(p){switch(p.label){case 0:n=e.placement,r=e.platform,i=e.elements;return[4,r.isRTL==null?void 0:r.isRTL(i.floating)];case 1:o=p.sent();a=getSide(n);s=getAlignment(n);u=getSideAxis(n)==="y";l=["left","top"].includes(a)?-1:1;c=o&&u?-1:1;f=evaluate(t,e);g=typeof f==="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},f),v=g.mainAxis,d=g.crossAxis,m=g.alignmentAxis;if(s&&typeof m==="number"){d=s==="end"?m*-1:m}return[2,u?{x:d*c,y:v*l}:{x:v*l,y:d*c}]}}))}))}var offset=function(e){if(e===void 0){e=0}return{name:"offset",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u;return __generator(this,(function(l){switch(l.label){case 0:i=t.x,o=t.y,a=t.placement,s=t.middlewareData;return[4,convertValueToCoords(t,e)];case 1:u=l.sent();if(a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset){return[2,{}]}return[2,{x:i+u.x,y:o+u.y,data:__assign(__assign({},u),{placement:a})}]}}))}))}}};var shift=function(e){if(e===void 0){e={}}return{name:"shift",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,g,v,d,m,p,h,w,_,y,x,A,_,y,b,S,C;var O;return __generator(this,(function(E){switch(E.label){case 0:n=t.x,r=t.y,i=t.placement;o=evaluate(e,t),a=o.mainAxis,s=a===void 0?true:a,u=o.crossAxis,l=u===void 0?false:u,c=o.limiter,f=c===void 0?{fn:function(e){var t=e.x,n=e.y;return{x:t,y:n}}}:c,g=__rest(o,["mainAxis","crossAxis","limiter"]);v={x:n,y:r};return[4,detectOverflow(t,g)];case 1:d=E.sent();m=getSideAxis(getSide(i));p=getOppositeAxis(m);h=v[p];w=v[m];if(s){_=p==="y"?"top":"left";y=p==="y"?"bottom":"right";x=h+d[_];A=h-d[y];h=clamp(x,h,A)}if(l){_=m==="y"?"top":"left";y=m==="y"?"bottom":"right";b=w+d[_];S=w-d[y];w=clamp(b,w,S)}C=f.fn(__assign(__assign({},t),(O={},O[p]=h,O[m]=w,O)));return[2,__assign(__assign({},C),{data:{x:C.x-n,y:C.y-r}})]}}))}))}}};function getWindow(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function getComputedStyle$1(e){return getWindow(e).getComputedStyle(e)}function isNode(e){return e instanceof getWindow(e).Node}function getNodeName(e){return isNode(e)?(e.nodeName||"").toLowerCase():""}function isHTMLElement(e){return e instanceof getWindow(e).HTMLElement}function isElement(e){return e instanceof getWindow(e).Element}function isShadowRoot(e){if(typeof ShadowRoot==="undefined"){return false}var t=getWindow(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function isOverflowElement(e){var t=getComputedStyle$1(e),n=t.overflow,r=t.overflowX,i=t.overflowY,o=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+r)&&!["inline","contents"].includes(o)}function isTableElement(e){return["table","td","th"].includes(getNodeName(e))}function isContainingBlock(e){var t=isSafari();var n=getComputedStyle$1(e);return n.transform!=="none"||n.perspective!=="none"||!t&&(n.backdropFilter?n.backdropFilter!=="none":false)||!t&&(n.filter?n.filter!=="none":false)||["transform","perspective","filter"].some((function(e){return(n.willChange||"").includes(e)}))||["paint","layout","strict","content"].some((function(e){return(n.contain||"").includes(e)}))}function isSafari(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(e){return["html","body","#document"].includes(getNodeName(e))}var min=Math.min;var max=Math.max;var round=Math.round;function getCssDimensions(e){var t=getComputedStyle$1(e);var n=parseFloat(t.width)||0;var r=parseFloat(t.height)||0;var i=isHTMLElement(e);var o=i?e.offsetWidth:n;var a=i?e.offsetHeight:r;var s=round(n)!==o||round(r)!==a;if(s){n=o;r=a}return{width:n,height:r,fallback:s}}function unwrapElement(e){return!isElement(e)?e.contextElement:e}var FALLBACK_SCALE={x:1,y:1};function getScale(e){var t=unwrapElement(e);if(!isHTMLElement(t)){return FALLBACK_SCALE}var n=t.getBoundingClientRect();var r=getCssDimensions(t),i=r.width,o=r.height,a=r.fallback;var s=(a?round(n.width):n.width)/i;var u=(a?round(n.height):n.height)/o;if(!s||!Number.isFinite(s)){s=1}if(!u||!Number.isFinite(u)){u=1}return{x:s,y:u}}var noOffsets={x:0,y:0};function getVisualOffsets(e,t,n){var r,i;if(t===void 0){t=true}if(!isSafari()){return noOffsets}var o=e?getWindow(e):window;if(!n||t&&n!==o){return noOffsets}return{x:((r=o.visualViewport)==null?void 0:r.offsetLeft)||0,y:((i=o.visualViewport)==null?void 0:i.offsetTop)||0}}function getBoundingClientRect(e,t,n,r){if(t===void 0){t=false}if(n===void 0){n=false}var i=e.getBoundingClientRect();var o=unwrapElement(e);var a=FALLBACK_SCALE;if(t){if(r){if(isElement(r)){a=getScale(r)}}else{a=getScale(e)}}var s=getVisualOffsets(o,n,r);var u=(i.left+s.x)/a.x;var l=(i.top+s.y)/a.y;var c=i.width/a.x;var f=i.height/a.y;if(o){var g=getWindow(o);var v=r&&isElement(r)?getWindow(r):r;var d=g.frameElement;while(d&&r&&v!==g){var m=getScale(d);var p=d.getBoundingClientRect();var h=getComputedStyle(d);p.x+=(d.clientLeft+parseFloat(h.paddingLeft))*m.x;p.y+=(d.clientTop+parseFloat(h.paddingTop))*m.y;u*=m.x;l*=m.y;c*=m.x;f*=m.y;u+=p.x;l+=p.y;d=getWindow(d).frameElement}}return rectToClientRect({width:c,height:f,x:u,y:l})}function getDocumentElement(e){return((isNode(e)?e.ownerDocument:e.document)||window.document).documentElement}function getNodeScroll(e){if(isElement(e)){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function convertOffsetParentRelativeRectToViewportRelativeRect(e){var t=e.rect,n=e.offsetParent,r=e.strategy;var i=isHTMLElement(n);var o=getDocumentElement(n);if(n===o){return t}var a={scrollLeft:0,scrollTop:0};var s={x:1,y:1};var u={x:0,y:0};if(i||!i&&r!=="fixed"){if(getNodeName(n)!=="body"||isOverflowElement(o)){a=getNodeScroll(n)}if(isHTMLElement(n)){var l=getBoundingClientRect(n);s=getScale(n);u.x=l.x+n.clientLeft;u.y=l.y+n.clientTop}}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+u.x,y:t.y*s.y-a.scrollTop*s.y+u.y}}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getNodeScroll(e).scrollLeft}function getDocumentRect(e){var t=getDocumentElement(e);var n=getNodeScroll(e);var r=e.ownerDocument.body;var i=max(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth);var o=max(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);var a=-n.scrollLeft+getWindowScrollBarX(e);var s=-n.scrollTop;if(getComputedStyle$1(r).direction==="rtl"){a+=max(t.clientWidth,r.clientWidth)-i}return{width:i,height:o,x:a,y:s}}function getParentNode(e){if(getNodeName(e)==="html"){return e}var t=e.assignedSlot||e.parentNode||isShadowRoot(e)&&e.host||getDocumentElement(e);return isShadowRoot(t)?t.host:t}function getNearestOverflowAncestor(e){var t=getParentNode(e);if(isLastTraversableNode(t)){return t.ownerDocument.body}if(isHTMLElement(t)&&isOverflowElement(t)){return t}return getNearestOverflowAncestor(t)}function getOverflowAncestors(e,t){var n;if(t===void 0){t=[]}var r=getNearestOverflowAncestor(e);var i=r===((n=e.ownerDocument)==null?void 0:n.body);var o=getWindow(r);if(i){return t.concat(o,o.visualViewport||[],isOverflowElement(r)?r:[])}return t.concat(r,getOverflowAncestors(r))}function getViewportRect(e,t){var n=getWindow(e);var r=getDocumentElement(e);var i=n.visualViewport;var o=r.clientWidth;var a=r.clientHeight;var s=0;var u=0;if(i){o=i.width;a=i.height;var l=isSafari();if(!l||l&&t==="fixed"){s=i.offsetLeft;u=i.offsetTop}}return{width:o,height:a,x:s,y:u}}function getInnerBoundingClientRect(e,t){var n=getBoundingClientRect(e,true,t==="fixed");var r=n.top+e.clientTop;var i=n.left+e.clientLeft;var o=isHTMLElement(e)?getScale(e):{x:1,y:1};var a=e.clientWidth*o.x;var s=e.clientHeight*o.y;var u=i*o.x;var l=r*o.y;return{width:a,height:s,x:u,y:l}}function getClientRectFromClippingAncestor(e,t,n){var r;if(t==="viewport"){r=getViewportRect(e,n)}else if(t==="document"){r=getDocumentRect(getDocumentElement(e))}else if(isElement(t)){r=getInnerBoundingClientRect(t,n)}else{var i=getVisualOffsets(e);r=__assign(__assign({},t),{x:t.x-i.x,y:t.y-i.y})}return rectToClientRect(r)}function hasFixedPositionAncestor(e,t){var n=getParentNode(e);if(n===t||!isElement(n)||isLastTraversableNode(n)){return false}return getComputedStyle$1(n).position==="fixed"||hasFixedPositionAncestor(n,t)}function getClippingElementAncestors(e,t){var n=t.get(e);if(n){return n}var r=getOverflowAncestors(e).filter((function(e){return isElement(e)&&getNodeName(e)!=="body"}));var i=null;var o=getComputedStyle$1(e).position==="fixed";var a=o?getParentNode(e):e;while(isElement(a)&&!isLastTraversableNode(a)){var s=getComputedStyle$1(a);var u=isContainingBlock(a);if(!u&&s.position==="fixed"){i=null}var l=o?!u&&!i:!u&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||isOverflowElement(a)&&!u&&hasFixedPositionAncestor(e,a);if(l){r=r.filter((function(e){return e!==a}))}else{i=s}a=getParentNode(a)}t.set(e,r);return r}function getClippingRect(e){var t=e.element,n=e.boundary,r=e.rootBoundary,i=e.strategy;var o=n==="clippingAncestors"?getClippingElementAncestors(t,this._c):[].concat(n);var a=__spreadArray(__spreadArray([],o,true),[r],false);var s=a[0];var u=a.reduce((function(e,n){var r=getClientRectFromClippingAncestor(t,n,i);e.top=max(r.top,e.top);e.right=min(r.right,e.right);e.bottom=min(r.bottom,e.bottom);e.left=max(r.left,e.left);return e}),getClientRectFromClippingAncestor(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function getDimensions(e){return getCssDimensions(e)}function getTrueOffsetParent(e,t){if(!isHTMLElement(e)||getComputedStyle$1(e).position==="fixed"){return null}if(t){return t(e)}return e.offsetParent}function getContainingBlock(e){var t=getParentNode(e);while(isHTMLElement(t)&&!isLastTraversableNode(t)){if(isContainingBlock(t)){return t}else{t=getParentNode(t)}}return null}function getOffsetParent(e,t){var n=getWindow(e);if(!isHTMLElement(e)){return n}var r=getTrueOffsetParent(e,t);while(r&&isTableElement(r)&&getComputedStyle$1(r).position==="static"){r=getTrueOffsetParent(r,t)}if(r&&(getNodeName(r)==="html"||getNodeName(r)==="body"&&getComputedStyle$1(r).position==="static"&&!isContainingBlock(r))){return n}return r||getContainingBlock(e)||n}function getRectRelativeToOffsetParent(e,t,n){var r=isHTMLElement(t);var i=getDocumentElement(t);var o=n==="fixed";var a=getBoundingClientRect(e,true,o,t);var s={scrollLeft:0,scrollTop:0};var u={x:0,y:0};if(r||!r&&!o){if(getNodeName(t)!=="body"||isOverflowElement(i)){s=getNodeScroll(t)}if(isHTMLElement(t)){var l=getBoundingClientRect(t,true,o,t);u.x=l.x+t.clientLeft;u.y=l.y+t.clientTop}else if(i){u.x=getWindowScrollBarX(i)}}return{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}var platform={getClippingRect:getClippingRect,convertOffsetParentRelativeRectToViewportRelativeRect:convertOffsetParentRelativeRectToViewportRelativeRect,isElement:isElement,getDimensions:getDimensions,getOffsetParent:getOffsetParent,getDocumentElement:getDocumentElement,getScale:getScale,getElementRects:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,r,i,o,a,s,u;var l;return __generator(this,(function(c){switch(c.label){case 0:t=e.reference,n=e.floating,r=e.strategy;i=this.getOffsetParent||getOffsetParent;o=this.getDimensions;l={};a=getRectRelativeToOffsetParent;s=[t];return[4,i(n)];case 1:l.reference=a.apply(void 0,s.concat([c.sent(),r]));u=[{x:0,y:0}];return[4,o(n)];case 2:return[2,(l.floating=__assign.apply(void 0,u.concat([c.sent()])),l)]}}))}))},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return getComputedStyle$1(e).direction==="rtl"}};function autoUpdate(e,t,n,r){if(r===void 0){r={}}var i=r.ancestorScroll,o=i===void 0?true:i,a=r.ancestorResize,s=a===void 0?true:a,u=r.elementResize,l=u===void 0?true:u,c=r.animationFrame,f=c===void 0?false:c;var g=o||s?__spreadArray(__spreadArray([],isElement(e)?getOverflowAncestors(e):e.contextElement?getOverflowAncestors(e.contextElement):[],true),getOverflowAncestors(t),true):[];g.forEach((function(e){var t=!isElement(e)&&e.toString().includes("V");if(o&&(f?t:true)){e.addEventListener("scroll",n,{passive:true})}s&&e.addEventListener("resize",n)}));var v=null;if(l){v=new ResizeObserver((function(){n()}));isElement(e)&&!f&&v.observe(e);if(!isElement(e)&&e.contextElement&&!f){v.observe(e.contextElement)}v.observe(t)}var d;var m=f?getBoundingClientRect(e):null;if(f){p()}function p(){var t=getBoundingClientRect(e);if(m&&(t.x!==m.x||t.y!==m.y||t.width!==m.width||t.height!==m.height)){n()}m=t;d=requestAnimationFrame(p)}n();return function(){var e;g.forEach((function(e){o&&e.removeEventListener("scroll",n);s&&e.removeEventListener("resize",n)}));(e=v)==null?void 0:e.disconnect();v=null;if(f){cancelAnimationFrame(d)}}}var computePosition=function(e,t,n){var r=new Map;var i=__assign({platform:platform},n);var o=__assign(__assign({},i.platform),{_c:r});return computePosition$1(e,t,__assign(__assign({},i),{platform:o}))};export{arrow as a,autoUpdate as b,computePosition as c,flip as f,offset as o,shift as s};
|