@duetds/components 8.3.1 → 8.4.1
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 +303 -70
- package/lib/cjs/{common-strings-22c70ef0.js → common-strings-75850753.js} +7 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +16 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +14 -5
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- 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 +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +3 -3
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-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 +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +88 -0
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -15
- package/lib/cjs/duet-modal.cjs.entry.js +4 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +85 -22
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- 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 +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +59 -0
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -15
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-2d403f5e.js → focus-utils-327224fb.js} +1 -1
- package/lib/cjs/{index-a515d5ff.js → index-f9de8fc6.js} +1 -1
- package/lib/cjs/{keyboard-utils-66010749.js → keyboard-utils-66ecb5d6.js} +4 -2
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +2 -0
- package/lib/collection/common-strings.js +6 -1
- package/lib/collection/components/duet-banner/duet-banner.css +88 -14
- package/lib/collection/components/duet-banner/duet-banner.js +18 -5
- package/lib/collection/components/duet-button/duet-button.css +3 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
- package/lib/collection/components/duet-link/duet-link.css +8 -4
- package/lib/collection/components/duet-link/duet-link.js +77 -3
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +45 -9
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +1 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +0 -13
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +1 -1
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +103 -0
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +286 -0
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.css +2 -2
- package/lib/collection/components/duet-notification/duet-notification.css +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +95 -25
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +20 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +3 -3
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +3 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +65 -14
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +1 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +0 -13
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +1 -1
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +1 -1
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +122 -0
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +270 -0
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +1 -1
- package/lib/collection/utils/keyboard-utils.js +4 -2
- 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 +19 -6
- package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- 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 +3 -3
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +7 -7
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +3 -3
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- 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 +8 -8
- 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 +6 -6
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +10 -10
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar-item.js +119 -0
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -16
- package/lib/dist-custom-elements/duet-modal.js +9 -9
- package/lib/dist-custom-elements/duet-multiselect.js +10 -10
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +12 -12
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +14 -14
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -3
- package/lib/dist-custom-elements/duet-popup-menu.js +90 -24
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- 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 +5 -5
- 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 +6 -6
- 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 +2 -2
- 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-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +14 -14
- 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 +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-item.d.ts +11 -0
- package/lib/dist-custom-elements/duet-toolbar-item.js +90 -0
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +2 -15
- 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 +4 -4
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-033ffb95.js → p-0ccedd20.js} +1 -1
- package/lib/dist-custom-elements/{p-83c687c4.js → p-15060f3e.js} +10 -10
- package/lib/dist-custom-elements/{p-7385cfae.js → p-19e196d7.js} +2 -2
- package/lib/dist-custom-elements/{p-99bfa47d.js → p-2a149fd8.js} +1 -1
- package/lib/dist-custom-elements/{p-15b43530.js → p-2e054d37.js} +2 -2
- package/lib/dist-custom-elements/{p-8aacf8f2.js → p-2e5140b1.js} +1 -1
- package/lib/dist-custom-elements/{p-d84624d1.js → p-3b611f77.js} +1 -1
- package/lib/dist-custom-elements/{p-82a9c4cc.js → p-40c896f1.js} +1 -1
- package/lib/dist-custom-elements/{p-fdafc7af.js → p-44597ec8.js} +1 -1
- package/lib/dist-custom-elements/{p-89fa2387.js → p-4b0c6729.js} +1 -1
- package/lib/dist-custom-elements/{p-eb30f749.js → p-4bff90c2.js} +1 -1
- package/lib/dist-custom-elements/{p-57d9241f.js → p-4ef93ac1.js} +2 -2
- package/lib/dist-custom-elements/{p-13cbfdc6.js → p-5230e644.js} +1 -1
- package/lib/dist-custom-elements/{p-8500f1f3.js → p-57391cc8.js} +1 -1
- package/lib/dist-custom-elements/{p-dd3202f3.js → p-5744809e.js} +1 -1
- package/lib/dist-custom-elements/{p-022cc9de.js → p-6542b17e.js} +1 -1
- package/lib/dist-custom-elements/{p-e8d8a5f1.js → p-65c75ef9.js} +8 -8
- package/lib/dist-custom-elements/{p-89c8eef0.js → p-65d670a0.js} +6 -6
- package/lib/dist-custom-elements/{p-3380c780.js → p-6c44ff37.js} +1 -1
- package/lib/dist-custom-elements/{p-33c43f27.js → p-72e0efbc.js} +6 -6
- package/lib/dist-custom-elements/{p-57e61a09.js → p-7a89935d.js} +1 -1
- package/lib/dist-custom-elements/{p-f1a37b7f.js → p-8e5e3b4e.js} +6 -6
- package/lib/dist-custom-elements/{p-85c51c36.js → p-95fd6b77.js} +4 -4
- package/lib/dist-custom-elements/{p-da0965a5.js → p-99feccb2.js} +1 -1
- package/lib/dist-custom-elements/{p-6c8a44ea.js → p-a6d6bf5b.js} +1 -1
- package/lib/dist-custom-elements/{p-4ab776f4.js → p-aa07d1a7.js} +7 -2
- package/lib/dist-custom-elements/{p-55634a0b.js → p-bec3a15c.js} +4 -2
- package/lib/dist-custom-elements/{p-70fb72b8.js → p-c0e3f8a6.js} +1 -1
- package/lib/dist-custom-elements/{p-ba9d785a.js → p-d696adf5.js} +3 -3
- package/lib/dist-custom-elements/{p-92e8fec4.js → p-d91292b9.js} +1 -1
- package/lib/dist-custom-elements/{p-a8d729e4.js → p-de784f1a.js} +1 -1
- package/lib/dist-custom-elements/{p-99c2c6f3.js → p-e1bb31ca.js} +5 -5
- package/lib/dist-custom-elements/{p-7f8daa04.js → p-ee4d3c46.js} +4 -4
- package/lib/dist-custom-elements/{p-de5298ac.js → p-f6fffc84.js} +2 -2
- package/lib/dist-custom-elements/{p-eb03dc27.js → p-f70cdce4.js} +11 -11
- package/lib/dist-custom-elements/{p-97144a49.js → p-fe64b544.js} +18 -6
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-004adfad.entry.js +4 -0
- package/lib/duet/p-0086f84d.system.entry.js +4 -0
- package/lib/duet/p-01d4ec9a.entry.js +4 -0
- package/lib/duet/{p-db688714.system.entry.js → p-0201d375.system.entry.js} +1 -1
- package/lib/duet/{p-03237a62.system.entry.js → p-0506b997.system.entry.js} +2 -2
- package/lib/duet/{p-2171907b.system.entry.js → p-0681edcd.system.entry.js} +1 -1
- package/lib/duet/{p-49ba8156.system.entry.js → p-08708eb4.system.entry.js} +1 -1
- package/lib/duet/{p-7d4d3bee.system.entry.js → p-0f667990.system.entry.js} +1 -1
- package/lib/duet/{p-de2da9fd.system.entry.js → p-0fa339a9.system.entry.js} +1 -1
- package/lib/duet/{p-c8ff85f8.entry.js → p-0fc49dba.entry.js} +1 -1
- package/lib/duet/{p-21f1bd62.system.entry.js → p-10b4dd2b.system.entry.js} +1 -1
- package/lib/duet/{p-72179a41.entry.js → p-11220124.entry.js} +1 -1
- package/lib/duet/{p-28b22d09.entry.js → p-17b7ba64.entry.js} +1 -1
- package/lib/duet/{p-947af010.entry.js → p-18bc2b2f.entry.js} +1 -1
- package/lib/duet/{p-05728995.entry.js → p-19c965b5.entry.js} +1 -1
- package/lib/duet/{p-3733ebe1.system.entry.js → p-1aca2547.system.entry.js} +1 -1
- package/lib/duet/{p-0b4b179c.system.entry.js → p-1bce83be.system.entry.js} +1 -1
- package/lib/duet/{p-1f0dc968.entry.js → p-1cacf327.entry.js} +1 -1
- package/lib/duet/p-1ed57d33.entry.js +4 -0
- package/lib/duet/p-20211120.entry.js +4 -0
- package/lib/duet/p-214121e2.entry.js +4 -0
- package/lib/duet/{p-45199b0c.system.entry.js → p-2609cbef.system.entry.js} +1 -1
- package/lib/duet/{p-f15a1679.system.entry.js → p-2663955a.system.entry.js} +2 -2
- package/lib/duet/{p-1e6bd5da.entry.js → p-26ed2d8a.entry.js} +1 -1
- package/lib/duet/{p-3f56cdd6.entry.js → p-284bcc14.entry.js} +1 -1
- package/lib/duet/p-29e5a618.system.entry.js +4 -0
- package/lib/duet/p-2b05e7f2.system.entry.js +4 -0
- package/lib/duet/{p-1db3932f.system.entry.js → p-2b681fe9.system.entry.js} +1 -1
- package/lib/duet/{p-1020c84c.system.entry.js → p-2ccdffe3.system.entry.js} +1 -1
- package/lib/duet/{p-ec2eb98f.system.entry.js → p-2d5e65b9.system.entry.js} +1 -1
- package/lib/duet/{p-4cd1b2dc.entry.js → p-30e523d0.entry.js} +1 -1
- package/lib/duet/{p-3cf8a878.entry.js → p-3106cd96.entry.js} +1 -1
- package/lib/duet/{p-26be2678.entry.js → p-34dd8057.entry.js} +1 -1
- package/lib/duet/{p-e69813f3.system.entry.js → p-351dbf91.system.entry.js} +1 -1
- package/lib/duet/p-35ba024d.entry.js +4 -0
- package/lib/duet/p-3624bad1.js +4 -0
- package/lib/duet/{p-77be9214.entry.js → p-3626334d.entry.js} +1 -1
- package/lib/duet/{p-6b5fc33f.entry.js → p-39a8acfe.entry.js} +1 -1
- package/lib/duet/{p-b8cd8aa9.entry.js → p-3a42e1ad.entry.js} +1 -1
- package/lib/duet/{p-969152f0.system.entry.js → p-3bcb8dde.system.entry.js} +1 -1
- package/lib/duet/{p-a53d7d39.system.entry.js → p-3bfb8a8b.system.entry.js} +1 -1
- package/lib/duet/{p-39ea1b09.system.entry.js → p-3c4f16aa.system.entry.js} +1 -1
- package/lib/duet/p-3caa2fe0.system.entry.js +4 -0
- package/lib/duet/{p-63b8a5d9.entry.js → p-3cbad6d0.entry.js} +1 -1
- package/lib/duet/{p-0cdc8487.system.entry.js → p-3d8d12ae.system.entry.js} +1 -1
- package/lib/duet/p-403f1729.entry.js +4 -0
- package/lib/duet/{p-d143df18.system.entry.js → p-40ec91af.system.entry.js} +1 -1
- package/lib/duet/{p-c2973a4e.system.entry.js → p-41a45115.system.entry.js} +1 -1
- package/lib/duet/p-41f5841c.entry.js +4 -0
- package/lib/duet/p-42529cf1.entry.js +4 -0
- package/lib/duet/{p-03c3cf91.entry.js → p-43b43c30.entry.js} +1 -1
- package/lib/duet/{p-875ba244.system.entry.js → p-460e260b.system.entry.js} +1 -1
- package/lib/duet/p-46b89ca6.js +4 -0
- package/lib/duet/{p-a319471c.system.entry.js → p-474c2b3a.system.entry.js} +1 -1
- package/lib/duet/p-47f5cc6a.entry.js +4 -0
- package/lib/duet/{p-0600d0e8.system.entry.js → p-4c85aea8.system.entry.js} +1 -1
- package/lib/duet/{p-e00c9499.system.entry.js → p-4d7b03d6.system.entry.js} +1 -1
- package/lib/duet/p-4fd6f45a.entry.js +4 -0
- package/lib/duet/{p-a0f179db.entry.js → p-556a9b8e.entry.js} +1 -1
- package/lib/duet/{p-d0500cf2.system.entry.js → p-571a1255.system.entry.js} +1 -1
- package/lib/duet/{p-825dac25.system.entry.js → p-57a4f750.system.entry.js} +1 -1
- package/lib/duet/{p-80aa59cb.entry.js → p-5ba285e6.entry.js} +1 -1
- package/lib/duet/{p-bfe237fe.entry.js → p-5c52a571.entry.js} +1 -1
- package/lib/duet/{p-6689cf76.entry.js → p-5caa2783.entry.js} +1 -1
- package/lib/duet/{p-d9887cdb.system.entry.js → p-5d1dd83e.system.entry.js} +1 -1
- package/lib/duet/{p-e0d1257a.entry.js → p-5fd0a40f.entry.js} +1 -1
- package/lib/duet/{p-31730560.entry.js → p-60e4f666.entry.js} +1 -1
- package/lib/duet/{p-1001ec0f.entry.js → p-630d3a3a.entry.js} +1 -1
- package/lib/duet/{p-f7167337.system.entry.js → p-6315a118.system.entry.js} +1 -1
- package/lib/duet/{p-9ed3ab30.entry.js → p-63dfab5b.entry.js} +1 -1
- package/lib/duet/{p-2c79b6d8.entry.js → p-651ba417.entry.js} +1 -1
- package/lib/duet/{p-65c5d605.system.entry.js → p-67081f4b.system.entry.js} +1 -1
- package/lib/duet/{p-d5d63283.system.entry.js → p-6a3c4621.system.entry.js} +1 -1
- package/lib/duet/{p-dc3e35c7.entry.js → p-6b8435d2.entry.js} +1 -1
- package/lib/duet/{p-4c416890.system.entry.js → p-6d276a1a.system.entry.js} +1 -1
- package/lib/duet/{p-dcd8af75.entry.js → p-6f6a2a37.entry.js} +1 -1
- package/lib/duet/{p-43adcd6a.entry.js → p-70c8c61a.entry.js} +1 -1
- package/lib/duet/p-70fa2c28.system.entry.js +4 -0
- package/lib/duet/{p-e03b6928.system.entry.js → p-72e17db2.system.entry.js} +1 -1
- package/lib/duet/{p-169aab07.entry.js → p-7599b013.entry.js} +1 -1
- package/lib/duet/{p-7b445598.system.entry.js → p-77d6d051.system.entry.js} +1 -1
- package/lib/duet/{p-1d195c3a.system.entry.js → p-78774220.system.entry.js} +1 -1
- package/lib/duet/{p-20ed91ba.entry.js → p-78fb70b7.entry.js} +1 -1
- package/lib/duet/{p-f630e363.system.entry.js → p-790dad25.system.entry.js} +1 -1
- package/lib/duet/{p-a89e81b7.entry.js → p-7985f554.entry.js} +1 -1
- package/lib/duet/p-7ad82468.entry.js +4 -0
- package/lib/duet/{p-ae0382ff.entry.js → p-7c9656b0.entry.js} +1 -1
- package/lib/duet/{p-976ed5a5.system.entry.js → p-7d9cb5c8.system.entry.js} +1 -1
- package/lib/duet/{p-d4285ed0.system.entry.js → p-7e09da7d.system.entry.js} +1 -1
- package/lib/duet/{p-d6c18967.system.entry.js → p-813c70d0.system.entry.js} +1 -1
- package/lib/duet/p-827c5d5a.system.entry.js +4 -0
- package/lib/duet/p-83e46984.system.entry.js +4 -0
- package/lib/duet/{p-c327db77.entry.js → p-85b7c2e7.entry.js} +1 -1
- package/lib/duet/{p-dbedcced.entry.js → p-87ce9349.entry.js} +1 -1
- package/lib/duet/{p-aab945c6.system.entry.js → p-89fa198c.system.entry.js} +1 -1
- package/lib/duet/{p-ab005633.system.entry.js → p-8cedb41b.system.entry.js} +1 -1
- package/lib/duet/{p-e24a3978.entry.js → p-8d4942c5.entry.js} +1 -1
- package/lib/duet/p-8dd241c6.system.js +4 -0
- package/lib/duet/{p-0ef53ae6.entry.js → p-8ecc454b.entry.js} +1 -1
- package/lib/duet/p-8efd4118.entry.js +4 -0
- package/lib/duet/{p-d44d74d3.system.entry.js → p-8f27c1f3.system.entry.js} +1 -1
- package/lib/duet/{p-e0931ac9.entry.js → p-90d3f3c8.entry.js} +1 -1
- package/lib/duet/{p-827fece7.system.entry.js → p-946b6050.system.entry.js} +1 -1
- package/lib/duet/{p-1612a6c7.system.entry.js → p-9531abc8.system.entry.js} +1 -1
- package/lib/duet/{p-79abaaad.entry.js → p-96ebee12.entry.js} +1 -1
- package/lib/duet/{p-81a79874.system.entry.js → p-9b22092d.system.entry.js} +1 -1
- package/lib/duet/{p-3ecc2d1e.system.entry.js → p-a60b9d5f.system.entry.js} +1 -1
- package/lib/duet/{p-5729c070.entry.js → p-a6e667d6.entry.js} +1 -1
- package/lib/duet/{p-d5b79ee4.entry.js → p-a8028561.entry.js} +1 -1
- package/lib/duet/{p-ee7738c2.entry.js → p-a942bdee.entry.js} +1 -1
- package/lib/duet/p-aa07d1a7.js +4 -0
- package/lib/duet/p-ab53abe4.entry.js +4 -0
- package/lib/duet/p-adab3da6.system.entry.js +4 -0
- package/lib/duet/{p-f1397f55.system.entry.js → p-ae014830.system.entry.js} +1 -1
- package/lib/duet/{p-16c13a11.system.entry.js → p-aeef3da1.system.entry.js} +1 -1
- package/lib/duet/{p-e21cc133.entry.js → p-b001db05.entry.js} +1 -1
- package/lib/duet/{p-70af7daf.entry.js → p-b0d6abce.entry.js} +1 -1
- package/lib/duet/{p-f3c91c9e.system.entry.js → p-b0f55d96.system.entry.js} +1 -1
- package/lib/duet/{p-b9568179.entry.js → p-b1efef46.entry.js} +1 -1
- package/lib/duet/{p-09c54c8e.system.js → p-b2716337.system.js} +1 -1
- package/lib/duet/{p-43ebba16.system.entry.js → p-b2fbc8d4.system.entry.js} +1 -1
- package/lib/duet/p-b72bdbe7.entry.js +4 -0
- package/lib/duet/{p-8d260eac.entry.js → p-b7331242.entry.js} +1 -1
- package/lib/duet/{p-99cc01cb.system.entry.js → p-b80d0aeb.system.entry.js} +1 -1
- package/lib/duet/{p-03c217ae.entry.js → p-b9842ee6.entry.js} +1 -1
- package/lib/duet/p-bc06eaac.entry.js +4 -0
- package/lib/duet/{p-dccd9c7c.js → p-bc9d8564.js} +1 -1
- package/lib/duet/{p-aac0b756.entry.js → p-bed03d19.entry.js} +1 -1
- package/lib/duet/{p-6b5f5f20.system.entry.js → p-beed8c17.system.entry.js} +1 -1
- package/lib/duet/p-befc75ae.system.js +4 -0
- package/lib/duet/{p-38cdaf08.entry.js → p-bfec3e0a.entry.js} +1 -1
- package/lib/duet/{p-eced32c1.system.entry.js → p-c0d2a7a9.system.entry.js} +1 -1
- package/lib/duet/{p-aabf89fa.system.js → p-c5e6009e.system.js} +1 -1
- package/lib/duet/{p-4e002d37.entry.js → p-c6077732.entry.js} +1 -1
- package/lib/duet/{p-2ddd9719.entry.js → p-c8ad985d.entry.js} +1 -1
- package/lib/duet/{p-e538a8a2.system.entry.js → p-c9768708.system.entry.js} +1 -1
- package/lib/duet/{p-9e95e6eb.entry.js → p-ca737839.entry.js} +1 -1
- package/lib/duet/{p-bda222d2.system.entry.js → p-cac37646.system.entry.js} +1 -1
- package/lib/duet/{p-9e1d8b6f.system.entry.js → p-cb238aa1.system.entry.js} +1 -1
- package/lib/duet/p-cb40a8fc.entry.js +4 -0
- package/lib/duet/{p-92e54702.system.entry.js → p-cddf8053.system.entry.js} +2 -2
- package/lib/duet/{p-d328f8cc.entry.js → p-cf3efe73.entry.js} +1 -1
- package/lib/duet/p-d27edac1.system.entry.js +4 -0
- package/lib/duet/{p-5581d26e.entry.js → p-da6df9ee.entry.js} +1 -1
- package/lib/duet/{p-3f4713a3.system.entry.js → p-db927865.system.entry.js} +1 -1
- package/lib/duet/{p-69f280e3.entry.js → p-dc3cc6a3.entry.js} +1 -1
- package/lib/duet/{p-e2eb1521.system.entry.js → p-de80b40e.system.entry.js} +1 -1
- package/lib/duet/{p-a917c2ae.system.entry.js → p-dec35d01.system.entry.js} +1 -1
- package/lib/duet/p-deff1b20.system.entry.js +4 -0
- package/lib/duet/{p-0a28d72d.entry.js → p-dfa44807.entry.js} +1 -1
- package/lib/duet/{p-3760418d.entry.js → p-e11114db.entry.js} +1 -1
- package/lib/duet/{p-3730d6bd.system.entry.js → p-e309c2a0.system.entry.js} +1 -1
- package/lib/duet/p-e350f3f3.system.js +4 -0
- package/lib/duet/{p-a424f7b8.system.entry.js → p-e58cd7fd.system.entry.js} +1 -1
- package/lib/duet/{p-71d1dbcb.entry.js → p-e8731309.entry.js} +1 -1
- package/lib/duet/{p-43091aa7.system.entry.js → p-e9d9754b.system.entry.js} +1 -1
- package/lib/duet/{p-bc522875.system.entry.js → p-f1bbf5eb.system.entry.js} +2 -2
- package/lib/duet/p-f3108381.system.entry.js +4 -0
- package/lib/duet/{p-f0419f45.entry.js → p-f3cd8f65.entry.js} +1 -1
- package/lib/duet/{p-e956cd9b.system.entry.js → p-f52f2a6e.system.entry.js} +1 -1
- package/lib/duet/{p-aa08b72e.system.entry.js → p-f60d9095.system.entry.js} +1 -1
- package/lib/duet/{p-41d61870.entry.js → p-f7dc5f61.entry.js} +1 -1
- package/lib/duet/{p-eedadd50.system.entry.js → p-f8d38386.system.entry.js} +1 -1
- package/lib/duet/{p-9f355c50.entry.js → p-fc070130.entry.js} +1 -1
- package/lib/duet/{p-6c34c6d4.entry.js → p-fdedb0c5.entry.js} +1 -1
- package/lib/duet/{p-4bd54c36.entry.js → p-fe2b2427.entry.js} +1 -1
- package/lib/duet/{p-20ff95cd.system.entry.js → p-fe57483c.system.entry.js} +1 -1
- package/lib/esm/{common-strings-59db6973.js → common-strings-7c7f8e40.js} +7 -2
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +16 -3
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +14 -5
- package/lib/esm/duet-card.entry.js +2 -2
- 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 +4 -4
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +2 -2
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +3 -3
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +2 -2
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +2 -2
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-menu-bar-item.entry.js +84 -0
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -15
- package/lib/esm/duet-modal.entry.js +4 -4
- package/lib/esm/duet-multiselect.entry.js +2 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +3 -3
- package/lib/esm/duet-number-input.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +2 -2
- package/lib/esm/duet-popup-menu-item.entry.js +3 -2
- package/lib/esm/duet-popup-menu.entry.js +85 -22
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +2 -2
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +4 -4
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
- package/lib/esm/duet-toolbar-item.entry.js +55 -0
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +2 -15
- package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-5adec865.js → focus-utils-92ce3363.js} +1 -1
- package/lib/esm/{index-88bb0f20.js → index-ca0e302d.js} +1 -1
- package/lib/esm/{keyboard-utils-c472d19d.js → keyboard-utils-0708be80.js} +4 -2
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/common-strings-7c7f8e40.js +4 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +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 +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +4 -0
- 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 +2 -2
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +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-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +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 +4 -0
- 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 +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-92ce3363.js +4 -0
- package/lib/esm-es5/{index-88bb0f20.js → index-ca0e302d.js} +1 -1
- package/lib/esm-es5/{keyboard-utils-c472d19d.js → keyboard-utils-0708be80.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/common-strings.d.ts +1 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +7 -2
- package/lib/types/components/duet-link/duet-link.d.ts +16 -0
- package/lib/types/components/duet-list/duet-list.d.ts +1 -0
- package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +67 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +9 -2
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +4 -0
- package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +65 -0
- package/lib/types/components.d.ts +214 -8
- package/package.json +6 -6
- package/lib/duet/p-07adc606.system.entry.js +0 -4
- package/lib/duet/p-0857e91c.entry.js +0 -4
- package/lib/duet/p-1c9ee2ea.entry.js +0 -4
- package/lib/duet/p-29186e16.entry.js +0 -4
- package/lib/duet/p-31657213.entry.js +0 -4
- package/lib/duet/p-357307f7.entry.js +0 -4
- package/lib/duet/p-4648c2cf.system.entry.js +0 -4
- package/lib/duet/p-47f7fd31.system.entry.js +0 -4
- package/lib/duet/p-4ab776f4.js +0 -4
- package/lib/duet/p-5263bc35.js +0 -4
- package/lib/duet/p-575e4de7.system.js +0 -4
- package/lib/duet/p-5b3275f8.system.entry.js +0 -4
- package/lib/duet/p-5c810c8e.entry.js +0 -4
- package/lib/duet/p-671a9905.entry.js +0 -4
- package/lib/duet/p-67bd1eae.entry.js +0 -4
- package/lib/duet/p-756e625e.entry.js +0 -4
- package/lib/duet/p-7c8c5534.entry.js +0 -4
- package/lib/duet/p-92861390.entry.js +0 -4
- package/lib/duet/p-9d9cab9d.system.entry.js +0 -4
- package/lib/duet/p-bfd50a6a.entry.js +0 -4
- package/lib/duet/p-c9cb8ffa.system.entry.js +0 -4
- package/lib/duet/p-ce746fbf.entry.js +0 -4
- package/lib/duet/p-d1cedaa1.system.js +0 -4
- package/lib/duet/p-d9400840.entry.js +0 -4
- package/lib/duet/p-e276fee0.js +0 -4
- package/lib/duet/p-ead2a738.system.js +0 -4
- package/lib/duet/p-ef83d9da.system.entry.js +0 -4
- package/lib/duet/p-f121b583.entry.js +0 -4
- package/lib/duet/p-f273c4de.system.entry.js +0 -4
- package/lib/duet/p-f5c69659.system.entry.js +0 -4
- package/lib/esm-es5/common-strings-59db6973.js +0 -4
- package/lib/esm-es5/focus-utils-5adec865.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.35"};let n,l,o,s=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",d="sty-id",$="c-id",v="slot-fb{display:contents}slot-fb[hidden]{display:none}",h="http://www.w3.org/1999/xlink",p={},m=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,k);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=o,u.u=s,u},w=(e,t)=>({$:0,v:e,t,h:null,o:null,l:null,i:null,u:null}),g={},k={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(O)},j=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.v,vtext:e.t}),O=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},S=(e,t,n,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute($),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],m:r[1],k:r[2],j:r[3],v:s.tagName.toLowerCase(),h:s,l:null,o:null,i:null,u:null,t:null},t.push(f),s.removeAttribute($),e.o||(e.o=[]),e.o[f.j]=f,e=f,l&&"0"===f.k&&(l[f.j]=f.h))),u=s.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],m:r[2],k:r[3],j:r[4],h:s,l:null,o:null,i:null,u:null,v:null,t:null},"t"===c?(f.h=s.nextSibling,f.h&&3===f.h.nodeType&&(f.t=f.h.textContent,t.push(f),s.remove(),e.o||(e.o=[]),e.o[f.j]=f,l&&"0"===f.k&&(l[f.j]=f.h))):f.p===i&&("s"===c?(f.v="slot",s["s-sn"]=r[5]?f.u=r[5]:"",s["s-sr"]=!0,l&&(f.h=Te.createElement(f.v),f.u&&f.h.setAttribute("name",f.u),s.parentNode.insertBefore(f.h,s),s.remove(),"0"===f.k&&(l[f.j]=f.h)),n.push(f),e.o||(e.o=[]),e.o[f.j]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.v){const t=w(null,s.textContent);t.h=s,t.j="0",e.o=[t]}},x=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)x(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)x(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},C=e=>Se(e).$hostElement$,R=(e,t,n)=>{const l=C(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Le.ce(t,n);return e.dispatchEvent(l),l},E=new WeakMap,I=(e,t,n)=>{let l=Ne.get(e);De&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ne.set(e,l)},N=(e,t)=>{var n;const l=P(t),o=Ne.get(l);if(e=11===e.nodeType?e:Te,o)if("string"==typeof o){let s,i=E.get(e=e.head||e);if(i||E.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[${d}="${l}"]`)))s.innerHTML=o;else{s=Te.createElement("style"),s.innerHTML=o;const t=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.$&&(s.innerHTML+=v),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},P=e=>"sc-"+e.S,T=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,o,s)=>{if(n!==l){let i=Re(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=A(n),s=A(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=m(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):Re(Pe,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(D);t=t.replace(F,""),n&&Le.rel(e,t,n,o),l&&Le.ael(e,t,l,o)}}},U=/\s/,A=e=>e?e.split(U):[],D="Capture",F=RegExp(D+"$"),W=(e,t,n,l)=>{const o=11===t.h.nodeType&&t.h.host?t.h.host:t.h,s=e&&e.l||p,i=t.l||p;for(l in s)l in i||L(o,l,s[l],void 0,n,t.$);for(l in i)L(o,l,s[l],i[l],n,t.$)},B=(e,t,i,f)=>{const u=t.o[i];let a,d,$,v=0;if(s||(c=!0,"slot"===u.v&&(n&&f.classList.add(n+"-s"),u.$|=u.o?2:1)),null!==u.t)a=u.h=Te.createTextNode(u.t);else if(1&u.$)a=u.h=Te.createTextNode("");else{if(r||(r="svg"===u.v),a=u.h=Te.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.$?"slot-fb":u.v),r&&"foreignObject"===u.v&&(r=!1),W(null,u,r),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.o)for(v=0;v<u.o.length;++v)d=B(e,u,v,a),d&&a.appendChild(d);"svg"===u.v?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=o,3&u.$&&(a["s-sr"]=!0,a["s-cr"]=l,a["s-sn"]=u.u||"",$=e&&e.o&&e.o[i],$&&$.v===u.v&&e.h&&H(e.h,!1)),a},H=(e,t)=>{Le.$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==o&&l["s-ol"]&&(G(l).insertBefore(l,z(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,c=!0),t&&H(l,t)}Le.$&=-2},V=(e,t,n,l,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===o&&(r=r.shadowRoot);s<=i;++s)l[s]&&(c=B(null,n,s,e),c&&(l[s].h=c,r.insertBefore(c,z(t))))},q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.h;Z(t),e&&(i=!0,e["s-ol"]?e["s-ol"].remove():H(e,!0),e.remove())}}},_=(e,t,n=!1)=>e.v===t.v&&("slot"===e.v?e.u===t.u:!!n||e.i===t.i),z=e=>e&&e["s-ol"]||e,G=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,J=(e,t,n=!1)=>{const l=t.h=e.h,o=e.o,s=t.o,i=t.v,c=t.t;let f;null===c?(r="svg"===i||"foreignObject"!==i&&r,"slot"===i||W(e,t,r),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,c=0,r=0,f=0,u=0,a=t.length-1,d=t[0],$=t[a],v=l.length-1,h=l[0],p=l[v];for(;c<=a&&r<=v;)if(null==d)d=t[++c];else if(null==$)$=t[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--v];else if(_(d,h,o))J(d,h,o),d=t[++c],h=l[++r];else if(_($,p,o))J($,p,o),$=t[--a],p=l[--v];else if(_(d,p,o))"slot"!==d.v&&"slot"!==p.v||H(d.h.parentNode,!1),J(d,p,o),e.insertBefore(d.h,$.h.nextSibling),d=t[++c],p=l[--v];else if(_($,h,o))"slot"!==d.v&&"slot"!==p.v||H($.h.parentNode,!1),J($,h,o),e.insertBefore($.h,d.h),$=t[--a],h=l[++r];else{for(f=-1,u=c;u<=a;++u)if(t[u]&&null!==t[u].i&&t[u].i===h.i){f=u;break}f>=0?(i=t[f],i.v!==h.v?s=B(t&&t[r],n,f,e):(J(i,h,o),t[f]=void 0,s=i.h),h=l[++r]):(s=B(t&&t[r],n,r,e),h=l[++r]),s&&G(d.h).insertBefore(s,z(d.h))}c>a?V(e,null==l[v+1]?null:l[v+1].h,n,l,r,v):r>v&&q(t,c,a)})(l,o,t,s,n):null!==s?(null!==e.t&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):null!==o&&q(o,0,o.length-1),r&&"svg"===i&&(r=!1)):(f=l["s-cr"])?f.parentNode.textContent=c:e.t!==c&&(l.data=c)},K=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}K(e)}},Q=[],X=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(Y(t,e)){let n=Q.find((e=>e.C===t));i=!0,t["s-sn"]=t["s-sn"]||e,n?(n.C["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],Q.push({R:o,C:t})),t["s-sr"]&&Q.map((e=>{Y(e.C,t["s-sn"])&&(n=Q.find((e=>e.C===t)),n&&!e.R&&(e.R=n.R))}))}else Q.some((e=>e.C===t))||Q.push({C:t})}1===o.nodeType&&X(o)}},Y=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Z=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Z)},ee=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},te=(e,t)=>{if(e.$|=16,!(4&e.$))return ee(e,e.I),_e((()=>ne(e,t)));e.$|=512},ne=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>fe(n,e,t))),e.P=void 0),l=fe(n,"componentWillLoad")),l=le(l,(()=>fe(n,"componentWillRender"))),le(l,(()=>se(e,n,t)))},le=(e,t)=>oe(e)?e.then(t):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.T,n=e.$hostElement$,l=t.$,o=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);ie(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},ie=(e,t,r,f)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t,r=!1)=>{var f,u,a,d;const $=e.$hostElement$,v=e.T,h=e.L||w(null,null),p=(e=>e&&e.v===g)(t)?t:b(null,null,t);if(o=$.tagName,v.U&&(p.l=p.l||{},v.U.map((([e,t])=>p.l[t]=$[e]))),r&&p.l)for(const e of Object.keys(p.l))$.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(p.l[e]=$[e]);if(p.v=null,p.$|=4,e.L=p,p.h=h.h=$.shadowRoot||$,n=$["s-sc"],l=$["s-cr"],s=0!=(1&v.$),i=!1,J(h,p,r),Le.$|=1,c){X(p.h);for(const e of Q){const t=e.C;if(!t["s-ol"]){const e=Te.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of Q){const t=e.C,n=e.R;if(n){const e=n.parentNode;let l=n.nextSibling;{let n=null===(f=t["s-ol"])||void 0===f?void 0:f.previousSibling;for(;n;){let o=null!==(u=n["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}n=n.previousSibling}}(!l&&e!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,l),1===t.nodeType&&(t.hidden=null!==(a=t["s-ih"])&&void 0!==a&&a))}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(d=t.hidden)&&void 0!==d&&d),t.hidden=!0)}}i&&K(p.h),Le.$&=-2,Q.length=0})(e,t,f)}catch(t){Me(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.N,l=e.I;fe(n,"componentDidRender"),64&e.$?fe(n,"componentDidUpdate"):(e.$|=64,ue(t),fe(n,"componentDidLoad"),e.A(t),l||re()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&qe((()=>te(e,!1))),e.$&=-517},re=()=>{ue(Te.documentElement),qe((()=>M(Pe,"appload",{detail:{namespace:e}})))},fe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Me(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{var l;const o=e.prototype;if(t.F){e.watchers&&(t.W=e.watchers);const s=Object.entries(t.F);if(s.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>Se(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=Se(e),s=o.$hostElement$,i=o.B.get(t),c=o.$,r=o.N;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.B.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Me(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){var n;const l=Se(this);return null===(n=null==l?void 0:l.H)||void 0===n?void 0:n.then((()=>{var n;return null===(n=l.N)||void 0===n?void 0:n[e](...t)}))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,l,s){Le.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=Se(this),o=null==n?void 0:n.$;if(o&&!(8&o)&&128&o&&s!==l){const o=n.N,c=null===(i=t.W)||void 0===i?void 0:i[e];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.W)&&void 0!==l?l:{}),...s.filter((([e,t])=>15&t[0])).map((([e,l])=>{var o;const s=l[1]||e;return n.set(s,e),512&l[0]&&(null===(o=t.U)||void 0===o||o.push([e,s])),s}))]))}}return e},de=e=>{fe(e,"connectedCallback")},$e=e=>{if(0==(1&Le.$)){const t=Se(e),n=t.T,l=()=>{};if(1&t.$)be(e,t,n.V),(null==t?void 0:t.N)?de(t.N):(null==t?void 0:t.q)&&t.q.then((()=>de(t.N)));else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.L=w(t,null);Le._||x(Te.body,Le._=new Map),e[a]=n,e.removeAttribute(a),S(c,s,[],i,e,e,n),s.map((e=>{const n=e.p+"."+e.m,l=Le._.get(n),s=e.h;l&&Ue&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Le._.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&ve(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ee(t,t.I=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),qe((()=>(async(e,t,n)=>{let l;if(0==(32&t.$)){t.$|=32;{if(l=Ie(n),l.then){const e=()=>{};l=await l,e()}l.isProxied||(n.W=l.watchers,ae(l,n,2),l.isProxied=!0);const e=()=>{};t.$|=8;try{new l(t)}catch(e){Me(e)}t.$&=-9,t.$|=128,e(),de(t.N)}if(l.style){let e=l.style;const t=P(n);if(!Ne.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,s=()=>te(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,n)))}l()}},ve=e=>{const t=e["s-cr"]=Te.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},he=e=>{fe(e,"disconnectedCallback")},pe=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&Le.$)&&2&Se(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},me=(e,t={})=>{var n;const l=t.exclude||[],o=Pe.customElements,s=Te.head,i=s.querySelector("meta[charset]"),c=Te.createElement("style"),r=[],f=Te.querySelectorAll(`[${d}]`);let u,a=!0,$=0;for(Object.assign(Le,t),Le.G=new URL(t.resourcesUrl||"./",Te.baseURI).href,Le.$|=2;$<f.length;$++)I(f[$].getAttribute(d),T(f[$].innerHTML),!0);let h=!1;if(e.map((e=>{e[1].map((t=>{var n;const s={$:t[0],S:t[1],F:t[2],V:t[3]};4&s.$&&(h=!0),s.F=t[2],s.V=t[3],s.U=[],s.W=null!==(n=t[4])&&void 0!==n?n:{};const i=s.S,c=class extends HTMLElement{constructor(e){super(e),Ce(e=this,s),1&s.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&s.$)})}connectedCallback(){u&&(clearTimeout(u),u=null),a?r.push(this):Le.jmp((()=>$e(this)))}disconnectedCallback(){Le.jmp((()=>(async()=>{if(0==(1&Le.$)){const e=Se(this);e.J&&(e.J.map((e=>e())),e.J=void 0),(null==e?void 0:e.N)?he(e.N):(null==e?void 0:e.q)&&e.q.then((()=>he(e.N)))}})()))}componentOnReady(){return Se(this).q}};pe(c.prototype,s),s.K=e[0],l.includes(i)||o.get(i)||o.define(i,ae(c,s,1))}))})),h&&(c.innerHTML+=v),c.innerHTML.length){c.setAttribute("data-styles","");const e=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=e&&c.setAttribute("nonce",e),s.insertBefore(c,i?i.nextSibling:s.firstChild)}a=!1,r.length?r.map((e=>e.connectedCallback())):Le.jmp((()=>u=setTimeout(re,30)))},ye=(e,t)=>t,be=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ge(e,n),i=we(t,o),c=ke(n);Le.ael(s,l,i,c),(t.J=t.J||[]).push((()=>Le.rel(s,l,i,c)))}))},we=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Me(e)}},ge=(e,t)=>4&t?Te:8&t?Pe:16&t?Te.body:e,ke=e=>0!=(2&e),je=e=>Le.O=e,Oe=new WeakMap,Se=e=>Oe.get(e),xe=(e,t)=>Oe.set(t.N=e,t),Ce=(e,t)=>{const n={$:0,$hostElement$:e,T:t,B:new Map};return n.H=new Promise((e=>n.D=e)),n.q=new Promise((e=>n.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,n,t.V),Oe.set(e,n)},Re=(e,t)=>t in e,Me=(e,t)=>(0,console.error)(e,t),Ee=new Map,Ie=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Ee.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Ee.set(n,e),e[t])),Me)
|
|
4
|
+
const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.37"};let n,l,o,s=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",d="sty-id",$="c-id",v="slot-fb{display:contents}slot-fb[hidden]{display:none}",h="http://www.w3.org/1999/xlink",p={},m=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,k);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=o,u.u=s,u},w=(e,t)=>({$:0,v:e,t,h:null,o:null,l:null,i:null,u:null}),g={},k={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(O)},j=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.v,vtext:e.t}),O=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},S=(e,t,n,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute($),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],m:r[1],k:r[2],j:r[3],v:s.tagName.toLowerCase(),h:s,l:null,o:null,i:null,u:null,t:null},t.push(f),s.removeAttribute($),e.o||(e.o=[]),e.o[f.j]=f,e=f,l&&"0"===f.k&&(l[f.j]=f.h))),u=s.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],m:r[2],k:r[3],j:r[4],h:s,l:null,o:null,i:null,u:null,v:null,t:null},"t"===c?(f.h=s.nextSibling,f.h&&3===f.h.nodeType&&(f.t=f.h.textContent,t.push(f),s.remove(),e.o||(e.o=[]),e.o[f.j]=f,l&&"0"===f.k&&(l[f.j]=f.h))):f.p===i&&("s"===c?(f.v="slot",s["s-sn"]=r[5]?f.u=r[5]:"",s["s-sr"]=!0,l&&(f.h=Te.createElement(f.v),f.u&&f.h.setAttribute("name",f.u),s.parentNode.insertBefore(f.h,s),s.remove(),"0"===f.k&&(l[f.j]=f.h)),n.push(f),e.o||(e.o=[]),e.o[f.j]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.v){const t=w(null,s.textContent);t.h=s,t.j="0",e.o=[t]}},x=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)x(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)x(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},C=e=>Se(e).$hostElement$,R=(e,t,n)=>{const l=C(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Le.ce(t,n);return e.dispatchEvent(l),l},E=new WeakMap,I=(e,t,n)=>{let l=Ne.get(e);De&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ne.set(e,l)},N=(e,t)=>{var n;const l=P(t),o=Ne.get(l);if(e=11===e.nodeType?e:Te,o)if("string"==typeof o){let s,i=E.get(e=e.head||e);if(i||E.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[${d}="${l}"]`)))s.innerHTML=o;else{s=Te.createElement("style"),s.innerHTML=o;const t=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.$&&(s.innerHTML+=v),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},P=e=>"sc-"+e.S,T=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,o,s)=>{if(n!==l){let i=Re(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=A(n),s=A(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=m(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):Re(Pe,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(D);t=t.replace(F,""),n&&Le.rel(e,t,n,o),l&&Le.ael(e,t,l,o)}}},U=/\s/,A=e=>e?e.split(U):[],D="Capture",F=RegExp(D+"$"),W=(e,t,n,l)=>{const o=11===t.h.nodeType&&t.h.host?t.h.host:t.h,s=e&&e.l||p,i=t.l||p;for(l in s)l in i||L(o,l,s[l],void 0,n,t.$);for(l in i)L(o,l,s[l],i[l],n,t.$)},B=(e,t,i,f)=>{const u=t.o[i];let a,d,$,v=0;if(s||(c=!0,"slot"===u.v&&(n&&f.classList.add(n+"-s"),u.$|=u.o?2:1)),null!==u.t)a=u.h=Te.createTextNode(u.t);else if(1&u.$)a=u.h=Te.createTextNode("");else{if(r||(r="svg"===u.v),a=u.h=Te.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.$?"slot-fb":u.v),r&&"foreignObject"===u.v&&(r=!1),W(null,u,r),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.o)for(v=0;v<u.o.length;++v)d=B(e,u,v,a),d&&a.appendChild(d);"svg"===u.v?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=o,3&u.$&&(a["s-sr"]=!0,a["s-cr"]=l,a["s-sn"]=u.u||"",$=e&&e.o&&e.o[i],$&&$.v===u.v&&e.h&&H(e.h,!1)),a},H=(e,t)=>{Le.$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==o&&l["s-ol"]&&(G(l).insertBefore(l,z(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,c=!0),t&&H(l,t)}Le.$&=-2},V=(e,t,n,l,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===o&&(r=r.shadowRoot);s<=i;++s)l[s]&&(c=B(null,n,s,e),c&&(l[s].h=c,r.insertBefore(c,z(t))))},q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.h;Z(t),e&&(i=!0,e["s-ol"]?e["s-ol"].remove():H(e,!0),e.remove())}}},_=(e,t,n=!1)=>e.v===t.v&&("slot"===e.v?e.u===t.u:!!n||e.i===t.i),z=e=>e&&e["s-ol"]||e,G=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,J=(e,t,n=!1)=>{const l=t.h=e.h,o=e.o,s=t.o,i=t.v,c=t.t;let f;null===c?(r="svg"===i||"foreignObject"!==i&&r,"slot"===i||W(e,t,r),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,c=0,r=0,f=0,u=0,a=t.length-1,d=t[0],$=t[a],v=l.length-1,h=l[0],p=l[v];for(;c<=a&&r<=v;)if(null==d)d=t[++c];else if(null==$)$=t[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--v];else if(_(d,h,o))J(d,h,o),d=t[++c],h=l[++r];else if(_($,p,o))J($,p,o),$=t[--a],p=l[--v];else if(_(d,p,o))"slot"!==d.v&&"slot"!==p.v||H(d.h.parentNode,!1),J(d,p,o),e.insertBefore(d.h,$.h.nextSibling),d=t[++c],p=l[--v];else if(_($,h,o))"slot"!==d.v&&"slot"!==p.v||H($.h.parentNode,!1),J($,h,o),e.insertBefore($.h,d.h),$=t[--a],h=l[++r];else{for(f=-1,u=c;u<=a;++u)if(t[u]&&null!==t[u].i&&t[u].i===h.i){f=u;break}f>=0?(i=t[f],i.v!==h.v?s=B(t&&t[r],n,f,e):(J(i,h,o),t[f]=void 0,s=i.h),h=l[++r]):(s=B(t&&t[r],n,r,e),h=l[++r]),s&&G(d.h).insertBefore(s,z(d.h))}c>a?V(e,null==l[v+1]?null:l[v+1].h,n,l,r,v):r>v&&q(t,c,a)})(l,o,t,s,n):null!==s?(null!==e.t&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):null!==o&&q(o,0,o.length-1),r&&"svg"===i&&(r=!1)):(f=l["s-cr"])?f.parentNode.textContent=c:e.t!==c&&(l.data=c)},K=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}K(e)}},Q=[],X=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(Y(t,e)){let n=Q.find((e=>e.C===t));i=!0,t["s-sn"]=t["s-sn"]||e,n?(n.C["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],Q.push({R:o,C:t})),t["s-sr"]&&Q.map((e=>{Y(e.C,t["s-sn"])&&(n=Q.find((e=>e.C===t)),n&&!e.R&&(e.R=n.R))}))}else Q.some((e=>e.C===t))||Q.push({C:t})}1===o.nodeType&&X(o)}},Y=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Z=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Z)},ee=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},te=(e,t)=>{if(e.$|=16,!(4&e.$))return ee(e,e.I),_e((()=>ne(e,t)));e.$|=512},ne=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>fe(n,e,t))),e.P=void 0),l=fe(n,"componentWillLoad")),l=le(l,(()=>fe(n,"componentWillRender"))),le(l,(()=>se(e,n,t)))},le=(e,t)=>oe(e)?e.then(t):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.T,n=e.$hostElement$,l=t.$,o=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);ie(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},ie=(e,t,r,f)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t,r=!1)=>{var f,u,a,d;const $=e.$hostElement$,v=e.T,h=e.L||w(null,null),p=(e=>e&&e.v===g)(t)?t:b(null,null,t);if(o=$.tagName,v.U&&(p.l=p.l||{},v.U.map((([e,t])=>p.l[t]=$[e]))),r&&p.l)for(const e of Object.keys(p.l))$.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(p.l[e]=$[e]);if(p.v=null,p.$|=4,e.L=p,p.h=h.h=$.shadowRoot||$,n=$["s-sc"],l=$["s-cr"],s=0!=(1&v.$),i=!1,J(h,p,r),Le.$|=1,c){X(p.h);for(const e of Q){const t=e.C;if(!t["s-ol"]){const e=Te.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of Q){const t=e.C,n=e.R;if(n){const e=n.parentNode;let l=n.nextSibling;{let n=null===(f=t["s-ol"])||void 0===f?void 0:f.previousSibling;for(;n;){let o=null!==(u=n["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}n=n.previousSibling}}(!l&&e!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,l),1===t.nodeType&&(t.hidden=null!==(a=t["s-ih"])&&void 0!==a&&a))}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(d=t.hidden)&&void 0!==d&&d),t.hidden=!0)}}i&&K(p.h),Le.$&=-2,Q.length=0})(e,t,f)}catch(t){Me(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.N,l=e.I;fe(n,"componentDidRender"),64&e.$?fe(n,"componentDidUpdate"):(e.$|=64,ue(t),fe(n,"componentDidLoad"),e.A(t),l||re()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&qe((()=>te(e,!1))),e.$&=-517},re=()=>{ue(Te.documentElement),qe((()=>M(Pe,"appload",{detail:{namespace:e}})))},fe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Me(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{var l;const o=e.prototype;if(t.F){e.watchers&&(t.W=e.watchers);const s=Object.entries(t.F);if(s.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>Se(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=Se(e),s=o.$hostElement$,i=o.B.get(t),c=o.$,r=o.N;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.B.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Me(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){var n;const l=Se(this);return null===(n=null==l?void 0:l.H)||void 0===n?void 0:n.then((()=>{var n;return null===(n=l.N)||void 0===n?void 0:n[e](...t)}))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,l,s){Le.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=Se(this),o=null==n?void 0:n.$;if(o&&!(8&o)&&128&o&&s!==l){const o=n.N,c=null===(i=t.W)||void 0===i?void 0:i[e];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.W)&&void 0!==l?l:{}),...s.filter((([e,t])=>15&t[0])).map((([e,l])=>{var o;const s=l[1]||e;return n.set(s,e),512&l[0]&&(null===(o=t.U)||void 0===o||o.push([e,s])),s}))]))}}return e},de=e=>{fe(e,"connectedCallback")},$e=e=>{if(0==(1&Le.$)){const t=Se(e),n=t.T,l=()=>{};if(1&t.$)be(e,t,n.V),(null==t?void 0:t.N)?de(t.N):(null==t?void 0:t.q)&&t.q.then((()=>de(t.N)));else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.L=w(t,null);Le._||x(Te.body,Le._=new Map),e[a]=n,e.removeAttribute(a),S(c,s,[],i,e,e,n),s.map((e=>{const n=e.p+"."+e.m,l=Le._.get(n),s=e.h;l&&Ue&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Le._.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&ve(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ee(t,t.I=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),qe((()=>(async(e,t,n)=>{let l;if(0==(32&t.$)){t.$|=32;{if(l=Ie(n),l.then){const e=()=>{};l=await l,e()}l.isProxied||(n.W=l.watchers,ae(l,n,2),l.isProxied=!0);const e=()=>{};t.$|=8;try{new l(t)}catch(e){Me(e)}t.$&=-9,t.$|=128,e(),de(t.N)}if(l.style){let e=l.style;const t=P(n);if(!Ne.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,s=()=>te(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,n)))}l()}},ve=e=>{const t=e["s-cr"]=Te.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},he=e=>{fe(e,"disconnectedCallback")},pe=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&Le.$)&&2&Se(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},me=(e,t={})=>{var n;const l=t.exclude||[],o=Pe.customElements,s=Te.head,i=s.querySelector("meta[charset]"),c=Te.createElement("style"),r=[],f=Te.querySelectorAll(`[${d}]`);let u,a=!0,$=0;for(Object.assign(Le,t),Le.G=new URL(t.resourcesUrl||"./",Te.baseURI).href,Le.$|=2;$<f.length;$++)I(f[$].getAttribute(d),T(f[$].innerHTML),!0);let h=!1;if(e.map((e=>{e[1].map((t=>{var n;const s={$:t[0],S:t[1],F:t[2],V:t[3]};4&s.$&&(h=!0),s.F=t[2],s.V=t[3],s.U=[],s.W=null!==(n=t[4])&&void 0!==n?n:{};const i=s.S,c=class extends HTMLElement{constructor(e){super(e),Ce(e=this,s),1&s.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&s.$)})}connectedCallback(){u&&(clearTimeout(u),u=null),a?r.push(this):Le.jmp((()=>$e(this)))}disconnectedCallback(){Le.jmp((()=>(async()=>{if(0==(1&Le.$)){const e=Se(this);e.J&&(e.J.map((e=>e())),e.J=void 0),(null==e?void 0:e.N)?he(e.N):(null==e?void 0:e.q)&&e.q.then((()=>he(e.N)))}})()))}componentOnReady(){return Se(this).q}};pe(c.prototype,s),s.K=e[0],l.includes(i)||o.get(i)||o.define(i,ae(c,s,1))}))})),h&&(c.innerHTML+=v),c.innerHTML.length){c.setAttribute("data-styles","");const e=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=e&&c.setAttribute("nonce",e),s.insertBefore(c,i?i.nextSibling:s.firstChild)}a=!1,r.length?r.map((e=>e.connectedCallback())):Le.jmp((()=>u=setTimeout(re,30)))},ye=(e,t)=>t,be=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ge(e,n),i=we(t,o),c=ke(n);Le.ael(s,l,i,c),(t.J=t.J||[]).push((()=>Le.rel(s,l,i,c)))}))},we=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Me(e)}},ge=(e,t)=>4&t?Te:8&t?Pe:16&t?Te.body:e,ke=e=>0!=(2&e),je=e=>Le.O=e,Oe=new WeakMap,Se=e=>Oe.get(e),xe=(e,t)=>Oe.set(t.N=e,t),Ce=(e,t)=>{const n={$:0,$hostElement$:e,T:t,B:new Map};return n.H=new Promise((e=>n.D=e)),n.q=new Promise((e=>n.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,n,t.V),Oe.set(e,n)},Re=(e,t)=>t in e,Me=(e,t)=>(0,console.error)(e,t),Ee=new Map,Ie=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Ee.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Ee.set(n,e),e[t])),Me)
|
|
5
5
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ne=new Map,Pe="undefined"!=typeof window?window:{},Te=Pe.document||{head:{}},Le={$:0,G:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},Ue=!0,Ae=e=>Promise.resolve(e),De=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Fe=[],We=[],Be=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&Le.$?qe(Ve):Le.raf(Ve))},He=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Me(e)}e.length=0},Ve=()=>{He(Fe),He(We),(f=Fe.length>0)&&Le.raf(Ve)},qe=e=>Ae().then(e),_e=Be(We,!0);export{u as B,t as E,ye as F,g as H,e as N,me as b,R as c,Te as d,C as g,b as h,Ae as p,xe as r,je as s}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,c as e,h as i,H as s,g as o}from"./p-
|
|
4
|
+
import{r as t,c as e,h as i,H as s,g as o}from"./p-bc9d8564.js";import{e as a,d}from"./p-141e14d0.js";import{i as n}from"./p-a58bd561.js";import{f as l,F as r}from"./p-46b89ca6.js";import{f as h}from"./p-3624bad1.js";import{a as u,c as p,d as c,g}from"./p-2e36d5bf.js";import{h as m}from"./p-796edee6.js";import{T as b}from"./p-ccdff614.js";import{g as v}from"./p-5f87ea3d.js";import"./p-0e052642.js";import"./p-f2aa1623.js";const y=class{constructor(i){t(this,i),this.duetSlideoutEvent=e(this,"duetSlideoutEvent",7),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"},this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.hasStickyHeaderSlot=!1,this.setOpenButton=t=>{if(t)try{const e=t;e.accessiblePopup="true",e.accessibleExpanded=!1,this.openButton=e}catch(t){}},this.setStickHeaderStyleMutations=(t=!1)=>{this.element.querySelectorAll('[slot="sticky-header"] duet-tab-group').forEach((e=>{e.style.position=t?null:"relative",e.style.top=t?null:"1px"}))},this.openButtonEventListener=t=>{t.stopPropagation(),t.preventDefault(),this.onClick(t)},this.getOpenPanel=()=>this.element.querySelector("duet-slideout-panel[open]"),this.toggleMenu=t=>{this.open=!this.open,this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"})},this.bgOnClick=t=>{this.open&&this.toggleMenu(t)},this.onClick=t=>{this.toggleMenu(t)},this.language=u(),this.displaying=!1,this.openPanel=!1,this.theme="",this.accessibleRole="menubar",this.open=!1,this.opener=void 0,this.backgroundColor="gray-lightest"}componentWillLoad(){n(this),this.hasStickyHeaderSlot=m(this.element,"sticky-header"),this.teleport=new b(this.element)}connectedCallback(){p(this),this.opener&&(this.setOpenButton(document.getElementById(this.opener)),this.openButton&&this.openButton.addEventListener("click",this.openButtonEventListener)),this.setStickHeaderStyleMutations(),this.mutationObserver=new MutationObserver((()=>{this.openPanel=!!this.getOpenPanel()})),this.mutationObserver.observe(this.element,{childList:!0,attributeFilter:["open"],subtree:!0})}disconnectedCallback(){c(this),a(this.dialog),this.mutationObserver&&this.mutationObserver.disconnect(),this.openButton&&this.openButton.removeEventListener("click",this.openButtonEventListener),this.setStickHeaderStyleMutations(!0)}handleOpenChange(t,e){if(!!t!=!!e)if(this.open&&!e){this.openButton&&(this.openButton.accessibleExpanded=!0);const t=this.getOpenPanel();this.teleport.go(!0),d(this.dialog,{reserveScrollBarGap:!0}),t?t.setFocus():setTimeout((()=>{this.closeButton.focus()}),200)}else!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),setTimeout((()=>{l(this.openButton),a(this.dialog),this.teleport.resume()}),200))}handleKeyUp(t){h(t)&&this.open&&this.toggleMenu(t)}async setFocus(t){var e;null===(e=this.openButton)||void 0===e||e.focus(t)}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}async show(){this.open||(this.setOpenButton(document.activeElement),this.toggleMenu(new CustomEvent("toggle")))}async hide(){this.open&&this.toggleMenu(new CustomEvent("toggle"))}render(){const t={background:v(this.backgroundColor,this.theme)},e=g(this.topLevelOpenMenuBarLangObject),o=g(this.exitLangObject);return i(s,null,i("div",{class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},i("div",{class:{"desktop-bg":!0,hidden:!this.open},onClick:this.bgOnClick}),i("div",{ref:t=>this.dialog=t,tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"slot-container",class:{dialog:!0,hidden:!this.open},style:t},i(r,{moveFocusTo:this.closeButton}),i("div",{class:{"top-container":!0,"has-sticky-header-slot":this.hasStickyHeaderSlot}},i("div",{class:"top"},i("button",{ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${o}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick,inert:this.openPanel},i("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{class:"sticky-header"},i("slot",{name:"sticky-header"}))),i("div",{id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?e:null,class:{items:!0}},i("slot",null)),i(r,{moveFocusTo:this.closeButton}))))}get element(){return o(this)}static get watchers(){return{open:["handleOpenChange"]}}};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:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77)}.duet-slideout.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-slideout .desktop-bg{display:none}@media (min-width: 62em){.duet-slideout .desktop-bg{position:fixed;top:0;left:0;z-index:400;display:block;width:100%;height:100%;visibility:hidden;background:rgb(0, 41, 77);opacity:0;transition:600ms ease}.duet-slideout .desktop-bg:not(.hidden){visibility:visible;opacity:0.3;transition:600ms ease}}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(243, 249, 252)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 245, 247)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}';export{y as duet_slideout}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,n;a<o;a++){if(n||!(a in t)){if(!n)n=Array.prototype.slice.call(t,0,a);n[a]=t[a]}}return e.concat(n||Array.prototype.slice.call(t))};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-
|
|
4
|
+
*/System.register(["./p-c5e6009e.system.js","./p-50f4bca2.system.js","./p-224f6c46.system.js","./p-abdbce02.system.js","./p-6ef75455.system.js","./p-e1868c94.system.js"],(function(e){"use strict";var t,r,a,o,n,i,s;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i},function(e){i=e.g},function(e){s=e.g},function(){},function(){}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 77, 128)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(225, 227, 230)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(148, 9, 37)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(0, 41, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}';var u=e("duet_breadcrumbs",function(){function e(e){t(this,e);this.observers=[];this.breadcrumbsAriaLabel=i({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header";this.color=""}e.prototype.componentWillLoad=function(){n(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(t){var r=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));r.observe(t,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[r],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;var t=s(this.color);return r(a,null,r("nav",{"aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},r("div",{class:"container"},r("div",{role:"list",class:"list",style:{color:t}},r("slot",null)),r("div",{class:"bottom-border bottom-border--container"})),r("div",{class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());u.style=d}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
System.register(["./p-c5e6009e.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.h}],execute:function(){var n=e("f",(function(e){if("setFocus"in e){e.setFocus()}else{e.focus()}}));var u=e("F",(function(e){var u=e.moveFocusTo;return t("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:function(){return n(u)}})}))}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,h as t,H as o,g as a}from"./p-
|
|
4
|
+
import{r as e,h as t,H as o,g as a}from"./p-bc9d8564.js";import{i as n}from"./p-a58bd561.js";import{a as i,c as s,d as r,g as l}from"./p-2e36d5bf.js";import"./p-0e052642.js";const p=class{constructor(t){e(this,t),this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"},this.language=i(),this.theme=""}componentWillLoad(){n(this)}connectedCallback(){s(this)}disconnectedCallback(){r(this)}render(){const e=l(this.chooseLangObject);return t(o,null,t("div",{class:"duet-slideout-lang",role:"group","aria-label":e},t("duet-icon",{name:"navigation-language",margin:"none",color:"secondary"}),t("slot",null)))}get element(){return a(this)}};p.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-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:15%;right:-16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:16px;font-weight:600;line-height:150%;color:rgb(0, 41, 77);content:"|"}.duet-theme-turva ::slotted(:not(:last-child))::after{color:rgb(23, 28, 58)}';export{p as duet_slideout_lang}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-c5e6009e.system.js","./p-15fde8cc.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,i,a,r,o;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.i}],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;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-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-link:focus,.duet-menu-bar-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-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"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var u=e("duet_menu_bar_link",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.theme="";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.render=function(){return n(i,{role:"listitem"},n("a",{class:{"duet-menu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());u.style=s}}}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function f(r){try{o(t.next(r))}catch(r){a(r)}}function u(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?n(r.value):i(r.value).then(f,u)}o((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f;return f={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(r){return function(e){return o([r,e])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t=r("N","duet");var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:true,invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:true,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var a=r("E",{cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.35"});var f;var u;var o;var l=false;var v=false;var s=false;var c=false;var d=false;var h=r("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var p=function(r,e){if(e===void 0){e=""}{return function(){return}}};var $=function(r,e){{return function(){return}}};var m="r";var y="o";var b="s";var w="t";var g="s-id";var _="sty-id";var S="c-id";var k="slot-fb{display:contents}slot-fb[hidden]{display:none}";var x="http://www.w3.org/1999/xlink";var j={};var C="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var A=function(r){return r!=null};var T=function(r){r=typeof r;return r==="object"||r==="function"};function R(r){var e,n,t;return(t=(n=(e=r.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&t!==void 0?t:undefined}var L=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var f=null;var u=false;var o=false;var l=[];var v=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!T(i)){i=String(i)}if(u&&o){l[l.length-1].t+=i}else{l.push(u?D(null,i):i)}o=u}}};v(n);if(e){if(e.key){a=e.key}if(e.name){f=e.name}{var s=e.className||e.class;if(s){e.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}if(typeof r==="function"){return r(e===null?{}:e,l,N)}var c=D(r,null);c.i=e;if(l.length>0){c.u=l}{c.o=a}{c.l=f}return c}));var D=function(r,e){var n={v:0,h:r,t:e,p:null,u:null};{n.i=null}{n.o=null}{n.l=null}return n};var F=r("H",{});var M=function(r){return r&&r.h===F};var N={forEach:function(r,e){return r.map(P).forEach(e)},map:function(r,e){return r.map(P).map(e).map(U)}};var P=function(r){return{vattrs:r.i,vchildren:r.u,vkey:r.o,vname:r.l,vtag:r.h,vtext:r.t}};var U=function(r){if(typeof r.vtag==="function"){var e=Object.assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return L.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=D(r.vtag,r.vtext);n.i=r.vattrs;n.u=r.vchildren;n.o=r.vkey;n.l=r.vname;return n};var E=function(r,e,n,t){var i=p("hydrateClient",e);var a=r.shadowRoot;var f=[];var u=[];var o=a?[]:null;var l=t.$=D(e,null);if(!ie.m){W(te.body,ie.m=new Map)}r[g]=n;r.removeAttribute(g);I(l,f,u,o,r,r,n);f.map((function(r){var n=r._+"."+r.S;var t=ie.m.get(n);var i=r.p;if(t&&ae&&t["s-en"]===""){t.parentNode.insertBefore(i,t.nextSibling)}if(!a){i["s-hn"]=e;if(t){i["s-ol"]=t;i["s-ol"]["s-nr"]=i}}ie.m.delete(n)}));if(a){o.map((function(r){if(r){a.appendChild(r)}}))}i()};var I=function(r,e,n,t,i,a,f){var u;var o;var l;var v;if(a.nodeType===1){u=a.getAttribute(S);if(u){o=u.split(".");if(o[0]===f||o[0]==="0"){l={v:0,_:o[0],S:o[1],k:o[2],j:o[3],h:a.tagName.toLowerCase(),p:a,i:null,u:null,o:null,l:null,t:null};e.push(l);a.removeAttribute(S);if(!r.u){r.u=[]}r.u[l.j]=l;r=l;if(t&&l.k==="0"){t[l.j]=l.p}}}for(v=a.childNodes.length-1;v>=0;v--){I(r,e,n,t,i,a.childNodes[v],f)}if(a.shadowRoot){for(v=a.shadowRoot.childNodes.length-1;v>=0;v--){I(r,e,n,t,i,a.shadowRoot.childNodes[v],f)}}}else if(a.nodeType===8){o=a.nodeValue.split(".");if(o[1]===f||o[1]==="0"){u=o[0];l={v:0,_:o[1],S:o[2],k:o[3],j:o[4],p:a,i:null,u:null,o:null,l:null,h:null,t:null};if(u===w){l.p=a.nextSibling;if(l.p&&l.p.nodeType===3){l.t=l.p.textContent;e.push(l);a.remove();if(!r.u){r.u=[]}r.u[l.j]=l;if(t&&l.k==="0"){t[l.j]=l.p}}}else if(l._===f){if(u===b){l.h="slot";if(o[5]){a["s-sn"]=l.l=o[5]}else{a["s-sn"]=""}a["s-sr"]=true;if(t){l.p=te.createElement(l.h);if(l.l){l.p.setAttribute("name",l.l)}a.parentNode.insertBefore(l.p,a);a.remove();if(l.k==="0"){t[l.j]=l.p}}n.push(l);if(!r.u){r.u=[]}r.u[l.j]=l}else if(u===m){if(t){a.remove()}else{i["s-cr"]=a;a["s-cn"]=true}}}}}else if(r&&r.h==="style"){var s=D(null,a.textContent);s.p=a;s.j="0";r.u=[s]}};var W=function(r,e){if(r.nodeType===1){var n=0;for(;n<r.childNodes.length;n++){W(r.childNodes[n],e)}if(r.shadowRoot){for(n=0;n<r.shadowRoot.childNodes.length;n++){W(r.shadowRoot.childNodes[n],e)}}}else if(r.nodeType===8){var t=r.nodeValue.split(".");if(t[0]===y){e.set(t[1]+"."+t[2],r);r.nodeValue="";r["s-en"]=t[3]}}};var B=function(r,e){if(r!=null&&!T(r)){if(e&4){return r==="false"?false:r===""||!!r}if(e&2){return parseFloat(r)}if(e&1){return String(r)}return r}return r};var z=r("g",(function(r){return Gr(r).$hostElement$}));var H=r("c",(function(r,e,n){var t=z(r);return{emit:function(r){return Q(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var Q=function(r,e,n){var t=ie.ce(e,n);r.dispatchEvent(t);return t};var V=new WeakMap;var q=function(r,e,n){var t=ee.get(r);if(ue&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}ee.set(r,t)};var G=function(r,e,n){var t;var i=X(e);var a=ee.get(i);r=r.nodeType===11?r:te;if(a){if(typeof a==="string"){r=r.head||r;var f=V.get(r);var u=void 0;if(!f){V.set(r,f=new Set)}if(!f.has(i)){if(r.host&&(u=r.querySelector("[".concat(_,'="').concat(i,'"]')))){u.innerHTML=a}else{u=te.createElement("style");u.innerHTML=a;var o=(t=ie.C)!==null&&t!==void 0?t:R(te);if(o!=null){u.setAttribute("nonce",o)}r.insertBefore(u,r.querySelector("link"))}if(e.v&4){u.innerHTML+=k}if(f){f.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var K=function(r){var e=r.O;var n=r.$hostElement$;var t=e.v;var i=p("attachStyles",e.A);var a=G(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10){n["s-sc"]=a;n.classList.add(a+"-h");if(t&2){n.classList.add(a+"-s")}}i()};var X=function(r,e){return"sc-"+r.A};var J=function(r){return r.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var Y=function(r,e,n,t,i,a){if(n!==t){var f=Jr(r,e);var u=e.toLowerCase();if(e==="class"){var o=r.classList;var l=rr(n);var v=rr(t);o.remove.apply(o,l.filter((function(r){return r&&!v.includes(r)})));o.add.apply(o,v.filter((function(r){return r&&!l.includes(r)})))}else if(e==="style"){{for(var s in n){if(!t||t[s]==null){if(s.includes("-")){r.style.removeProperty(s)}else{r.style[s]=""}}}}for(var s in t){if(!n||t[s]!==n[s]){if(s.includes("-")){r.style.setProperty(s,t[s])}else{r.style[s]=t[s]}}}}else if(e==="key");else if(e==="ref"){if(t){t(r)}}else if(!f&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Jr(ne,u)){e=u.slice(2)}else{e=u[2]+e.slice(3)}if(n||t){var c=e.endsWith(er);e=e.replace(nr,"");if(n){ie.rel(r,e,n,c)}if(t){ie.ael(r,e,t,c)}}}else{var d=T(t);if((f||d&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var h=t==null?"":t;if(e==="list"){f=false}else if(n==null||r[e]!=h){r[e]=h}}else{r[e]=t}}catch(r){}}var p=false;{if(u!==(u=u.replace(/^xlink\:?/,""))){e=u;p=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(p){r.removeAttributeNS(x,e)}else{r.removeAttribute(e)}}}else if((!f||a&4||i)&&!d){t=t===true?"":t;if(p){r.setAttributeNS(x,e,t)}else{r.setAttribute(e,t)}}}}};var Z=/\s/;var rr=function(r){return!r?[]:r.split(Z)};var er="Capture";var nr=new RegExp(er+"$");var tr=function(r,e,n,t){var i=e.p.nodeType===11&&e.p.host?e.p.host:e.p;var a=r&&r.i||j;var f=e.i||j;{for(t in a){if(!(t in f)){Y(i,t,a[t],undefined,n,e.v)}}}for(t in f){Y(i,t,a[t],f[t],n,e.v)}};var ir=function(r,e,n,t){var i=e.u[n];var a=0;var v;var d;var h;if(!l){s=true;if(i.h==="slot"){if(f){t.classList.add(f+"-s")}i.v|=i.u?2:1}}if(i.t!==null){v=i.p=te.createTextNode(i.t)}else if(i.v&1){v=i.p=te.createTextNode("")}else{if(!c){c=i.h==="svg"}v=i.p=te.createElementNS(c?C:O,i.v&2?"slot-fb":i.h);if(c&&i.h==="foreignObject"){c=false}{tr(null,i,c)}if(A(f)&&v["s-si"]!==f){v.classList.add(v["s-si"]=f)}if(i.u){for(a=0;a<i.u.length;++a){d=ir(r,i,a,v);if(d){v.appendChild(d)}}}{if(i.h==="svg"){c=false}else if(v.tagName==="foreignObject"){c=true}}}v["s-hn"]=o;{if(i.v&(2|1)){v["s-sr"]=true;v["s-cr"]=u;v["s-sn"]=i.l||"";h=r&&r.u&&r.u[n];if(h&&h.h===i.h&&r.p){{ar(r.p,false)}}}}return v};var ar=function(r,e){ie.v|=1;var n=r.childNodes;for(var t=n.length-1;t>=0;t--){var i=n[t];if(i["s-hn"]!==o&&i["s-ol"]){sr(i).insertBefore(i,vr(i));i["s-ol"].remove();i["s-ol"]=undefined;i["s-sh"]=undefined;s=true}if(e){ar(i,e)}}ie.v&=~1};var fr=function(r,e,n,t,i,a){var f=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(f.shadowRoot&&f.tagName===o){f=f.shadowRoot}for(;i<=a;++i){if(t[i]){u=ir(null,n,i,r);if(u){t[i].p=u;f.insertBefore(u,vr(e))}}}};var ur=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.p;mr(i);if(a){{v=true;if(a["s-ol"]){a["s-ol"].remove()}else{ar(a,true)}}a.remove()}}}};var or=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var f=0;var u=0;var o=0;var l=e.length-1;var v=e[0];var s=e[l];var c=t.length-1;var d=t[0];var h=t[c];var p;var $;while(a<=l&&f<=c){if(v==null){v=e[++a]}else if(s==null){s=e[--l]}else if(d==null){d=t[++f]}else if(h==null){h=t[--c]}else if(lr(v,d,i)){cr(v,d,i);v=e[++a];d=t[++f]}else if(lr(s,h,i)){cr(s,h,i);s=e[--l];h=t[--c]}else if(lr(v,h,i)){if(v.h==="slot"||h.h==="slot"){ar(v.p.parentNode,false)}cr(v,h,i);r.insertBefore(v.p,s.p.nextSibling);v=e[++a];h=t[--c]}else if(lr(s,d,i)){if(v.h==="slot"||h.h==="slot"){ar(s.p.parentNode,false)}cr(s,d,i);r.insertBefore(s.p,v.p);s=e[--l];d=t[++f]}else{u=-1;{for(o=a;o<=l;++o){if(e[o]&&e[o].o!==null&&e[o].o===d.o){u=o;break}}}if(u>=0){$=e[u];if($.h!==d.h){p=ir(e&&e[f],n,u,r)}else{cr($,d,i);e[u]=undefined;p=$.p}d=t[++f]}else{p=ir(e&&e[f],n,f,r);d=t[++f]}if(p){{sr(v.p).insertBefore(p,vr(v.p))}}}}if(a>l){fr(r,t[c+1]==null?null:t[c+1].p,n,t,f,c)}else if(f>c){ur(e,a,l)}};var lr=function(r,e,n){if(n===void 0){n=false}if(r.h===e.h){if(r.h==="slot"){return r.l===e.l}if(!n){return r.o===e.o}return true}return false};var vr=function(r){return r&&r["s-ol"]||r};var sr=function(r){return(r["s-ol"]?r["s-ol"]:r).parentNode};var cr=function(r,e,n){if(n===void 0){n=false}var t=e.p=r.p;var i=r.u;var a=e.u;var f=e.h;var u=e.t;var o;if(u===null){{c=f==="svg"?true:f==="foreignObject"?false:c}{if(f==="slot");else{tr(r,e,c)}}if(i!==null&&a!==null){or(t,i,e,a,n)}else if(a!==null){if(r.t!==null){t.textContent=""}fr(t,null,e,a,0,a.length-1)}else if(i!==null){ur(i,0,i.length-1)}if(c&&f==="svg"){c=false}}else if(o=t["s-cr"]){o.parentNode.textContent=u}else if(r.t!==u){t.data=u}};var dr=function(r){var e=r.childNodes;for(var n=0,t=e;n<t.length;n++){var i=t[n];if(i.nodeType===1){if(i["s-sr"]){var a=i["s-sn"];i.hidden=false;for(var f=0,u=e;f<u.length;f++){var o=u[f];if(o!==i){if(o["s-hn"]!==i["s-hn"]||a!==""){if(o.nodeType===1&&(a===o.getAttribute("slot")||a===o["s-sn"])){i.hidden=true;break}}else{if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){i.hidden=true;break}}}}}dr(i)}}};var hr=[];var pr=function(r){var e;var n;var t;for(var a=0,f=r.childNodes;a<f.length;a++){var u=f[a];if(u["s-sr"]&&(e=u["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;var o=u["s-sn"];var l=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==u["s-hn"]&&!i.experimentalSlotFixes){if($r(e,o)){var r=hr.find((function(r){return r.T===e}));v=true;e["s-sn"]=e["s-sn"]||o;if(r){r.T["s-sh"]=u["s-hn"];r.R=u}else{e["s-sh"]=u["s-hn"];hr.push({R:u,T:e})}if(e["s-sr"]){hr.map((function(n){if($r(n.T,e["s-sn"])){r=hr.find((function(r){return r.T===e}));if(r&&!n.R){n.R=r.R}}}))}}else if(!hr.some((function(r){return r.T===e}))){hr.push({T:e})}}};for(t=n.length-1;t>=0;t--){l()}}if(u.nodeType===1){pr(u)}}};var $r=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var mr=function(r){{r.i&&r.i.ref&&r.i.ref(null);r.u&&r.u.map(mr)}};var yr=function(r,e,n){if(n===void 0){n=false}var t,i,a,c;var d=r.$hostElement$;var h=r.O;var p=r.$||D(null,null);var $=M(e)?e:L(null,null,e);o=d.tagName;if(h.L){$.i=$.i||{};h.L.map((function(r){var e=r[0],n=r[1];return $.i[n]=d[e]}))}if(n&&$.i){for(var m=0,y=Object.keys($.i);m<y.length;m++){var b=y[m];if(d.hasAttribute(b)&&!["key","ref","style","class"].includes(b)){$.i[b]=d[b]}}}$.h=null;$.v|=4;r.$=$;$.p=p.p=d.shadowRoot||d;{f=d["s-sc"]}{u=d["s-cr"];l=(h.v&1)!==0;v=false}cr(p,$,n);{ie.v|=1;if(s){pr($.p);for(var w=0,g=hr;w<g.length;w++){var _=g[w];var S=_.T;if(!S["s-ol"]){var k=te.createTextNode("");k["s-nr"]=S;S.parentNode.insertBefore(S["s-ol"]=k,S)}}for(var x=0,j=hr;x<j.length;x++){var _=j[x];var S=_.T;var C=_.R;if(C){var O=C.parentNode;var A=C.nextSibling;{var k=(t=S["s-ol"])===null||t===void 0?void 0:t.previousSibling;while(k){var T=(i=k["s-nr"])!==null&&i!==void 0?i:null;if(T&&T["s-sn"]===S["s-sn"]&&O===T.parentNode){T=T.nextSibling;if(!T||!T["s-nr"]){A=T;break}}k=k.previousSibling}}if(!A&&O!==S.parentNode||S.nextSibling!==A){if(S!==A){if(!S["s-hn"]&&S["s-ol"]){S["s-hn"]=S["s-ol"].parentNode.nodeName}O.insertBefore(S,A);if(S.nodeType===1){S.hidden=(a=S["s-ih"])!==null&&a!==void 0?a:false}}}}else{if(S.nodeType===1){if(n){S["s-ih"]=(c=S.hidden)!==null&&c!==void 0?c:false}S.hidden=true}}}}if(v){dr($.p)}ie.v&=~1;hr.length=0}};var br=function(r,e){if(e&&!r.D&&e["s-p"]){e["s-p"].push(new Promise((function(e){return r.D=e})))}};var wr=function(r,e){{r.v|=16}if(r.v&4){r.v|=512;return}br(r,r.F);var n=function(){return gr(r,e)};return he(n)};var gr=function(r,e){var n=p("scheduleUpdate",r.O.A);var t=r.M;var i;if(e){{r.v|=256;if(r.N){r.N.map((function(r){var e=r[0],n=r[1];return Or(t,e,n)}));r.N=undefined}}{i=Or(t,"componentWillLoad")}}{i=_r(i,(function(){return Or(t,"componentWillRender")}))}n();return _r(i,(function(){return kr(r,t,e)}))};var _r=function(r,e){return Sr(r)?r.then(e):e()};var Sr=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var kr=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;a=p("update",r.O.A);f=i["s-rc"];if(t){K(r)}u=p("render",r.O.A);{xr(r,e,i,t)}if(f){f.map((function(r){return r()}));i["s-rc"]=undefined}u();a();{o=(n=i["s-p"])!==null&&n!==void 0?n:[];l=function(){return jr(r)};if(o.length===0){l()}else{Promise.all(o).then(l);r.v|=4;o.length=0}}return[2]}))}))};var xr=function(r,e,n,t){try{e=e.render();{r.v&=~16}{r.v|=2}{{{yr(r,e,t)}}}}catch(e){Yr(e,r.$hostElement$)}return null};var jr=function(r){var e=r.O.A;var n=r.$hostElement$;var t=p("postUpdate",e);var i=r.M;var a=r.F;{Or(i,"componentDidRender")}if(!(r.v&64)){r.v|=64;{Ar(n)}{Or(i,"componentDidLoad")}t();{r.P(n);if(!a){Cr()}}}else{{Or(i,"componentDidUpdate")}t()}{r.U(n)}{if(r.D){r.D();r.D=undefined}if(r.v&512){de((function(){return wr(r,false)}))}r.v&=~(4|512)}};var Cr=function(r){{Ar(te.documentElement)}de((function(){return Q(ne,"appload",{detail:{namespace:t}})}))};var Or=function(r,e,n){if(r&&r[e]){try{return r[e](n)}catch(r){Yr(r)}}return undefined};var Ar=function(r){return r.classList.add("hydrated")};var Tr=function(r,e){return Gr(r).I.get(e)};var Rr=function(r,e,n,t){var i=Gr(r);var a=i.$hostElement$;var f=i.I.get(e);var u=i.v;var o=i.M;n=B(n,t.W[e][0]);var l=Number.isNaN(f)&&Number.isNaN(n);var v=n!==f&&!l;if((!(u&8)||f===undefined)&&v){i.I.set(e,n);if(o){if(t.B&&u&128){var s=t.B[e];if(s){s.map((function(r){try{o[r](n,f,e)}catch(r){Yr(r,a)}}))}}if((u&(2|16))===2){wr(i,false)}}}};var Lr=function(r,e,n){var t;var i=r.prototype;if(e.W){if(r.watchers){e.B=r.watchers}var a=Object.entries(e.W);a.map((function(r){var t=r[0],a=r[1][0];if(a&31||n&2&&a&32){Object.defineProperty(i,t,{get:function(){return Tr(this,t)},set:function(r){Rr(this,t,r,e)},configurable:true,enumerable:true})}else if(n&1&&a&64){Object.defineProperty(i,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n;var i=Gr(this);return(n=i===null||i===void 0?void 0:i.H)===null||n===void 0?void 0:n.then((function(){var e;return(e=i.M)===null||e===void 0?void 0:e[t].apply(e,r)}))}})}}));if(n&1){var f=new Map;i.attributeChangedCallback=function(r,n,t){var a=this;ie.jmp((function(){var u;var o=f.get(r);if(a.hasOwnProperty(o)){t=a[o];delete a[o]}else if(i.hasOwnProperty(o)&&typeof a[o]==="number"&&a[o]==t){return}else if(o==null){var l=Gr(a);var v=l===null||l===void 0?void 0:l.v;if(v&&!(v&8)&&v&128&&t!==n){var s=l.M;var c=(u=e.B)===null||u===void 0?void 0:u[r];c===null||c===void 0?void 0:c.forEach((function(e){if(s[e]!=null){s[e].call(s,t,n,r)}}))}return}a[o]=t===null&&typeof a[o]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=e.B)!==null&&t!==void 0?t:{}),true),a.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;f.set(a,n);if(t[0]&512){(i=e.L)===null||i===void 0?void 0:i.push([n,a])}return a})),true)))}}return r};var Dr=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var r,n,i,a,f,u,o,l;return __generator(this,(function(v){switch(v.label){case 0:if(!((e.v&32)===0))return[3,3];e.v|=32;r=re(t);if(!r.then)return[3,2];n=$();return[4,r];case 1:r=v.sent();n();v.label=2;case 2:if(!r.isProxied){{t.B=r.watchers}Lr(r,t,2);r.isProxied=true}i=p("createInstance",t.A);{e.v|=8}try{new r(e)}catch(r){Yr(r)}{e.v&=~8}{e.v|=128}i();Fr(e.M);if(r.style){a=r.style;f=X(t);if(!ee.has(f)){u=p("registerStyles",t.A);q(f,a,!!(t.v&1));u()}}v.label=3;case 3:o=e.F;l=function(){return wr(e,true)};if(o&&o["s-rc"]){o["s-rc"].push(l)}else{l()}return[2]}}))}))};var Fr=function(r){{Or(r,"connectedCallback")}};var Mr=function(r){if((ie.v&1)===0){var e=Gr(r);var n=e.O;var t=p("connectedCallback",n.A);if(!(e.v&1)){e.v|=1;var i=void 0;{i=r.getAttribute(g);if(i){if(n.v&1){var a=G(r.shadowRoot,n);r.classList.remove(a+"-h",a+"-s")}E(r,n.A,i,e)}}if(!i){if(n.v&(4|8)){Nr(r)}}{var f=r;while(f=f.parentNode||f.host){if(f.nodeType===1&&f.hasAttribute("s-id")&&f["s-p"]||f["s-p"]){br(e,e.F=f);break}}}if(n.W){Object.entries(n.W).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{de((function(){return Dr(r,e,n)}))}}else{Br(r,e,n.V);if(e===null||e===void 0?void 0:e.M){Fr(e.M)}else if(e===null||e===void 0?void 0:e.q){e.q.then((function(){return Fr(e.M)}))}}t()}};var Nr=function(r){var e=r["s-cr"]=te.createComment("");e["s-cn"]=true;r.insertBefore(e,r.firstChild)};var Pr=function(r){{Or(r,"disconnectedCallback")}};var Ur=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((ie.v&1)===0){e=Gr(r);{if(e.G){e.G.map((function(r){return r()}));e.G=undefined}}if(e===null||e===void 0?void 0:e.M){Pr(e.M)}else if(e===null||e===void 0?void 0:e.q){e.q.then((function(){return Pr(e.M)}))}}return[2]}))}))};var Er=function(r,e){var n=function(r){__extends(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}e.prototype.item=function(r){return this[r]};return e}(Array);if(e.v&8){var t=r.__lookupGetter__("childNodes");Object.defineProperty(r,"children",{get:function(){return this.childNodes.map((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return r.children.length}});Object.defineProperty(r,"childNodes",{get:function(){var r=t.call(this);if((ie.v&1)===0&&Gr(this).v&2){var e=new n;for(var i=0;i<r.length;i++){var a=r[i]["s-nr"];if(a){e.push(a)}}return e}return n.from(r)}})}};var Ir=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=p();var i=e.exclude||[];var a=ne.customElements;var f=te.head;var u=f.querySelector("meta[charset]");var o=te.createElement("style");var l=[];var v=te.querySelectorAll("[".concat(_,"]"));var s;var c=true;var d=0;Object.assign(ie,e);ie.K=new URL(e.resourcesUrl||"./",te.baseURI).href;{ie.v|=2}{for(;d<v.length;d++){q(v[d].getAttribute(_),J(v[d].innerHTML),true)}}var h=false;r.map((function(r){r[1].map((function(e){var n;var t={v:e[0],A:e[1],W:e[2],V:e[3]};if(t.v&4){h=true}{t.W=e[2]}{t.V=e[3]}{t.L=[]}{t.B=(n=e[4])!==null&&n!==void 0?n:{}}var f=t.A;var u=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;e=n;Xr(e,t);if(t.v&1){{{e.attachShadow({mode:"open",delegatesFocus:!!(t.v&16)})}}}return n}e.prototype.connectedCallback=function(){var r=this;if(s){clearTimeout(s);s=null}if(c){l.push(this)}else{ie.jmp((function(){return Mr(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;ie.jmp((function(){return Ur(r)}))};e.prototype.componentOnReady=function(){return Gr(this).q};return e}(HTMLElement);{{Er(u.prototype,t)}}t.X=r[0];if(!i.includes(f)&&!a.get(f)){a.define(f,Lr(u,t,1))}}))}));if(h){o.innerHTML+=k}if(o.innerHTML.length){o.setAttribute("data-styles","");var $=(n=ie.C)!==null&&n!==void 0?n:R(te);if($!=null){o.setAttribute("nonce",$)}f.insertBefore(o,u?u.nextSibling:f.firstChild)}c=false;if(l.length){l.map((function(r){return r.connectedCallback()}))}else{{ie.jmp((function(){return s=setTimeout(Cr,30)}))}}t()}));var Wr=r("F",(function(r,e){return e}));var Br=function(r,e,n,t){if(n){n.map((function(n){var t=n[0],i=n[1],a=n[2];var f=Hr(r,t);var u=zr(e,a);var o=Qr(t);ie.ael(f,i,u,o);(e.G=e.G||[]).push((function(){return ie.rel(f,i,u,o)}))}))}};var zr=function(r,e){return function(n){try{{if(r.v&256){r.M[e](n)}else{(r.N=r.N||[]).push([e,n])}}}catch(r){Yr(r)}}};var Hr=function(r,e){if(e&4)return te;if(e&8)return ne;if(e&16)return te.body;return r};var Qr=function(r){return(r&2)!==0};var Vr=r("s",(function(r){return ie.C=r}));var qr=new WeakMap;var Gr=function(r){return qr.get(r)};var Kr=r("r",(function(r,e){return qr.set(e.M=r,e)}));var Xr=function(r,e){var n={v:0,$hostElement$:r,O:e,I:new Map};{n.H=new Promise((function(r){return n.U=r}))}{n.q=new Promise((function(r){return n.P=r}));r["s-p"]=[];r["s-rc"]=[]}Br(r,n,e.V);return qr.set(r,n)};var Jr=function(r,e){return e in r};var Yr=function(r,e){return(0,console.error)(r,e)};var Zr=new Map;var re=function(r,n,t){var i=r.A.replace(/-/g,"_");var a=r.X;var f=Zr.get(a);if(f){return f[i]}
|
|
4
|
+
*/System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t=r("N","duet");var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:true,invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:true,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var a=r("E",{cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.37"});var f;var u;var o;var l=false;var v=false;var s=false;var c=false;var d=false;var h=r("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var p=function(r,e){if(e===void 0){e=""}{return function(){return}}};var $=function(r,e){{return function(){return}}};var m="r";var y="o";var b="s";var w="t";var g="s-id";var _="sty-id";var S="c-id";var k="slot-fb{display:contents}slot-fb[hidden]{display:none}";var x="http://www.w3.org/1999/xlink";var j={};var C="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var A=function(r){return r!=null};var T=function(r){r=typeof r;return r==="object"||r==="function"};function R(r){var e,n,t;return(t=(n=(e=r.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&t!==void 0?t:undefined}var L=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var f=null;var u=false;var o=false;var l=[];var v=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!T(i)){i=String(i)}if(u&&o){l[l.length-1].t+=i}else{l.push(u?D(null,i):i)}o=u}}};v(n);if(e){if(e.key){a=e.key}if(e.name){f=e.name}{var s=e.className||e.class;if(s){e.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}if(typeof r==="function"){return r(e===null?{}:e,l,N)}var c=D(r,null);c.i=e;if(l.length>0){c.u=l}{c.o=a}{c.l=f}return c}));var D=function(r,e){var n={v:0,h:r,t:e,p:null,u:null};{n.i=null}{n.o=null}{n.l=null}return n};var F=r("H",{});var M=function(r){return r&&r.h===F};var N={forEach:function(r,e){return r.map(P).forEach(e)},map:function(r,e){return r.map(P).map(e).map(U)}};var P=function(r){return{vattrs:r.i,vchildren:r.u,vkey:r.o,vname:r.l,vtag:r.h,vtext:r.t}};var U=function(r){if(typeof r.vtag==="function"){var e=Object.assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return L.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=D(r.vtag,r.vtext);n.i=r.vattrs;n.u=r.vchildren;n.o=r.vkey;n.l=r.vname;return n};var E=function(r,e,n,t){var i=p("hydrateClient",e);var a=r.shadowRoot;var f=[];var u=[];var o=a?[]:null;var l=t.$=D(e,null);if(!ie.m){W(te.body,ie.m=new Map)}r[g]=n;r.removeAttribute(g);I(l,f,u,o,r,r,n);f.map((function(r){var n=r._+"."+r.S;var t=ie.m.get(n);var i=r.p;if(t&&ae&&t["s-en"]===""){t.parentNode.insertBefore(i,t.nextSibling)}if(!a){i["s-hn"]=e;if(t){i["s-ol"]=t;i["s-ol"]["s-nr"]=i}}ie.m.delete(n)}));if(a){o.map((function(r){if(r){a.appendChild(r)}}))}i()};var I=function(r,e,n,t,i,a,f){var u;var o;var l;var v;if(a.nodeType===1){u=a.getAttribute(S);if(u){o=u.split(".");if(o[0]===f||o[0]==="0"){l={v:0,_:o[0],S:o[1],k:o[2],j:o[3],h:a.tagName.toLowerCase(),p:a,i:null,u:null,o:null,l:null,t:null};e.push(l);a.removeAttribute(S);if(!r.u){r.u=[]}r.u[l.j]=l;r=l;if(t&&l.k==="0"){t[l.j]=l.p}}}for(v=a.childNodes.length-1;v>=0;v--){I(r,e,n,t,i,a.childNodes[v],f)}if(a.shadowRoot){for(v=a.shadowRoot.childNodes.length-1;v>=0;v--){I(r,e,n,t,i,a.shadowRoot.childNodes[v],f)}}}else if(a.nodeType===8){o=a.nodeValue.split(".");if(o[1]===f||o[1]==="0"){u=o[0];l={v:0,_:o[1],S:o[2],k:o[3],j:o[4],p:a,i:null,u:null,o:null,l:null,h:null,t:null};if(u===w){l.p=a.nextSibling;if(l.p&&l.p.nodeType===3){l.t=l.p.textContent;e.push(l);a.remove();if(!r.u){r.u=[]}r.u[l.j]=l;if(t&&l.k==="0"){t[l.j]=l.p}}}else if(l._===f){if(u===b){l.h="slot";if(o[5]){a["s-sn"]=l.l=o[5]}else{a["s-sn"]=""}a["s-sr"]=true;if(t){l.p=te.createElement(l.h);if(l.l){l.p.setAttribute("name",l.l)}a.parentNode.insertBefore(l.p,a);a.remove();if(l.k==="0"){t[l.j]=l.p}}n.push(l);if(!r.u){r.u=[]}r.u[l.j]=l}else if(u===m){if(t){a.remove()}else{i["s-cr"]=a;a["s-cn"]=true}}}}}else if(r&&r.h==="style"){var s=D(null,a.textContent);s.p=a;s.j="0";r.u=[s]}};var W=function(r,e){if(r.nodeType===1){var n=0;for(;n<r.childNodes.length;n++){W(r.childNodes[n],e)}if(r.shadowRoot){for(n=0;n<r.shadowRoot.childNodes.length;n++){W(r.shadowRoot.childNodes[n],e)}}}else if(r.nodeType===8){var t=r.nodeValue.split(".");if(t[0]===y){e.set(t[1]+"."+t[2],r);r.nodeValue="";r["s-en"]=t[3]}}};var B=function(r,e){if(r!=null&&!T(r)){if(e&4){return r==="false"?false:r===""||!!r}if(e&2){return parseFloat(r)}if(e&1){return String(r)}return r}return r};var z=r("g",(function(r){return Gr(r).$hostElement$}));var H=r("c",(function(r,e,n){var t=z(r);return{emit:function(r){return Q(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var Q=function(r,e,n){var t=ie.ce(e,n);r.dispatchEvent(t);return t};var V=new WeakMap;var q=function(r,e,n){var t=ee.get(r);if(ue&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}ee.set(r,t)};var G=function(r,e,n){var t;var i=X(e);var a=ee.get(i);r=r.nodeType===11?r:te;if(a){if(typeof a==="string"){r=r.head||r;var f=V.get(r);var u=void 0;if(!f){V.set(r,f=new Set)}if(!f.has(i)){if(r.host&&(u=r.querySelector("[".concat(_,'="').concat(i,'"]')))){u.innerHTML=a}else{u=te.createElement("style");u.innerHTML=a;var o=(t=ie.C)!==null&&t!==void 0?t:R(te);if(o!=null){u.setAttribute("nonce",o)}r.insertBefore(u,r.querySelector("link"))}if(e.v&4){u.innerHTML+=k}if(f){f.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var K=function(r){var e=r.O;var n=r.$hostElement$;var t=e.v;var i=p("attachStyles",e.A);var a=G(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10){n["s-sc"]=a;n.classList.add(a+"-h");if(t&2){n.classList.add(a+"-s")}}i()};var X=function(r,e){return"sc-"+r.A};var J=function(r){return r.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var Y=function(r,e,n,t,i,a){if(n!==t){var f=Jr(r,e);var u=e.toLowerCase();if(e==="class"){var o=r.classList;var l=rr(n);var v=rr(t);o.remove.apply(o,l.filter((function(r){return r&&!v.includes(r)})));o.add.apply(o,v.filter((function(r){return r&&!l.includes(r)})))}else if(e==="style"){{for(var s in n){if(!t||t[s]==null){if(s.includes("-")){r.style.removeProperty(s)}else{r.style[s]=""}}}}for(var s in t){if(!n||t[s]!==n[s]){if(s.includes("-")){r.style.setProperty(s,t[s])}else{r.style[s]=t[s]}}}}else if(e==="key");else if(e==="ref"){if(t){t(r)}}else if(!f&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Jr(ne,u)){e=u.slice(2)}else{e=u[2]+e.slice(3)}if(n||t){var c=e.endsWith(er);e=e.replace(nr,"");if(n){ie.rel(r,e,n,c)}if(t){ie.ael(r,e,t,c)}}}else{var d=T(t);if((f||d&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var h=t==null?"":t;if(e==="list"){f=false}else if(n==null||r[e]!=h){r[e]=h}}else{r[e]=t}}catch(r){}}var p=false;{if(u!==(u=u.replace(/^xlink\:?/,""))){e=u;p=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(p){r.removeAttributeNS(x,e)}else{r.removeAttribute(e)}}}else if((!f||a&4||i)&&!d){t=t===true?"":t;if(p){r.setAttributeNS(x,e,t)}else{r.setAttribute(e,t)}}}}};var Z=/\s/;var rr=function(r){return!r?[]:r.split(Z)};var er="Capture";var nr=new RegExp(er+"$");var tr=function(r,e,n,t){var i=e.p.nodeType===11&&e.p.host?e.p.host:e.p;var a=r&&r.i||j;var f=e.i||j;{for(t in a){if(!(t in f)){Y(i,t,a[t],undefined,n,e.v)}}}for(t in f){Y(i,t,a[t],f[t],n,e.v)}};var ir=function(r,e,n,t){var i=e.u[n];var a=0;var v;var d;var h;if(!l){s=true;if(i.h==="slot"){if(f){t.classList.add(f+"-s")}i.v|=i.u?2:1}}if(i.t!==null){v=i.p=te.createTextNode(i.t)}else if(i.v&1){v=i.p=te.createTextNode("")}else{if(!c){c=i.h==="svg"}v=i.p=te.createElementNS(c?C:O,i.v&2?"slot-fb":i.h);if(c&&i.h==="foreignObject"){c=false}{tr(null,i,c)}if(A(f)&&v["s-si"]!==f){v.classList.add(v["s-si"]=f)}if(i.u){for(a=0;a<i.u.length;++a){d=ir(r,i,a,v);if(d){v.appendChild(d)}}}{if(i.h==="svg"){c=false}else if(v.tagName==="foreignObject"){c=true}}}v["s-hn"]=o;{if(i.v&(2|1)){v["s-sr"]=true;v["s-cr"]=u;v["s-sn"]=i.l||"";h=r&&r.u&&r.u[n];if(h&&h.h===i.h&&r.p){{ar(r.p,false)}}}}return v};var ar=function(r,e){ie.v|=1;var n=r.childNodes;for(var t=n.length-1;t>=0;t--){var i=n[t];if(i["s-hn"]!==o&&i["s-ol"]){sr(i).insertBefore(i,vr(i));i["s-ol"].remove();i["s-ol"]=undefined;i["s-sh"]=undefined;s=true}if(e){ar(i,e)}}ie.v&=~1};var fr=function(r,e,n,t,i,a){var f=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(f.shadowRoot&&f.tagName===o){f=f.shadowRoot}for(;i<=a;++i){if(t[i]){u=ir(null,n,i,r);if(u){t[i].p=u;f.insertBefore(u,vr(e))}}}};var ur=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.p;mr(i);if(a){{v=true;if(a["s-ol"]){a["s-ol"].remove()}else{ar(a,true)}}a.remove()}}}};var or=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var f=0;var u=0;var o=0;var l=e.length-1;var v=e[0];var s=e[l];var c=t.length-1;var d=t[0];var h=t[c];var p;var $;while(a<=l&&f<=c){if(v==null){v=e[++a]}else if(s==null){s=e[--l]}else if(d==null){d=t[++f]}else if(h==null){h=t[--c]}else if(lr(v,d,i)){cr(v,d,i);v=e[++a];d=t[++f]}else if(lr(s,h,i)){cr(s,h,i);s=e[--l];h=t[--c]}else if(lr(v,h,i)){if(v.h==="slot"||h.h==="slot"){ar(v.p.parentNode,false)}cr(v,h,i);r.insertBefore(v.p,s.p.nextSibling);v=e[++a];h=t[--c]}else if(lr(s,d,i)){if(v.h==="slot"||h.h==="slot"){ar(s.p.parentNode,false)}cr(s,d,i);r.insertBefore(s.p,v.p);s=e[--l];d=t[++f]}else{u=-1;{for(o=a;o<=l;++o){if(e[o]&&e[o].o!==null&&e[o].o===d.o){u=o;break}}}if(u>=0){$=e[u];if($.h!==d.h){p=ir(e&&e[f],n,u,r)}else{cr($,d,i);e[u]=undefined;p=$.p}d=t[++f]}else{p=ir(e&&e[f],n,f,r);d=t[++f]}if(p){{sr(v.p).insertBefore(p,vr(v.p))}}}}if(a>l){fr(r,t[c+1]==null?null:t[c+1].p,n,t,f,c)}else if(f>c){ur(e,a,l)}};var lr=function(r,e,n){if(n===void 0){n=false}if(r.h===e.h){if(r.h==="slot"){return r.l===e.l}if(!n){return r.o===e.o}return true}return false};var vr=function(r){return r&&r["s-ol"]||r};var sr=function(r){return(r["s-ol"]?r["s-ol"]:r).parentNode};var cr=function(r,e,n){if(n===void 0){n=false}var t=e.p=r.p;var i=r.u;var a=e.u;var f=e.h;var u=e.t;var o;if(u===null){{c=f==="svg"?true:f==="foreignObject"?false:c}{if(f==="slot");else{tr(r,e,c)}}if(i!==null&&a!==null){or(t,i,e,a,n)}else if(a!==null){if(r.t!==null){t.textContent=""}fr(t,null,e,a,0,a.length-1)}else if(i!==null){ur(i,0,i.length-1)}if(c&&f==="svg"){c=false}}else if(o=t["s-cr"]){o.parentNode.textContent=u}else if(r.t!==u){t.data=u}};var dr=function(r){var e=r.childNodes;for(var n=0,t=e;n<t.length;n++){var i=t[n];if(i.nodeType===1){if(i["s-sr"]){var a=i["s-sn"];i.hidden=false;for(var f=0,u=e;f<u.length;f++){var o=u[f];if(o!==i){if(o["s-hn"]!==i["s-hn"]||a!==""){if(o.nodeType===1&&(a===o.getAttribute("slot")||a===o["s-sn"])){i.hidden=true;break}}else{if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){i.hidden=true;break}}}}}dr(i)}}};var hr=[];var pr=function(r){var e;var n;var t;for(var a=0,f=r.childNodes;a<f.length;a++){var u=f[a];if(u["s-sr"]&&(e=u["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;var o=u["s-sn"];var l=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==u["s-hn"]&&!i.experimentalSlotFixes){if($r(e,o)){var r=hr.find((function(r){return r.T===e}));v=true;e["s-sn"]=e["s-sn"]||o;if(r){r.T["s-sh"]=u["s-hn"];r.R=u}else{e["s-sh"]=u["s-hn"];hr.push({R:u,T:e})}if(e["s-sr"]){hr.map((function(n){if($r(n.T,e["s-sn"])){r=hr.find((function(r){return r.T===e}));if(r&&!n.R){n.R=r.R}}}))}}else if(!hr.some((function(r){return r.T===e}))){hr.push({T:e})}}};for(t=n.length-1;t>=0;t--){l()}}if(u.nodeType===1){pr(u)}}};var $r=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var mr=function(r){{r.i&&r.i.ref&&r.i.ref(null);r.u&&r.u.map(mr)}};var yr=function(r,e,n){if(n===void 0){n=false}var t,i,a,c;var d=r.$hostElement$;var h=r.O;var p=r.$||D(null,null);var $=M(e)?e:L(null,null,e);o=d.tagName;if(h.L){$.i=$.i||{};h.L.map((function(r){var e=r[0],n=r[1];return $.i[n]=d[e]}))}if(n&&$.i){for(var m=0,y=Object.keys($.i);m<y.length;m++){var b=y[m];if(d.hasAttribute(b)&&!["key","ref","style","class"].includes(b)){$.i[b]=d[b]}}}$.h=null;$.v|=4;r.$=$;$.p=p.p=d.shadowRoot||d;{f=d["s-sc"]}{u=d["s-cr"];l=(h.v&1)!==0;v=false}cr(p,$,n);{ie.v|=1;if(s){pr($.p);for(var w=0,g=hr;w<g.length;w++){var _=g[w];var S=_.T;if(!S["s-ol"]){var k=te.createTextNode("");k["s-nr"]=S;S.parentNode.insertBefore(S["s-ol"]=k,S)}}for(var x=0,j=hr;x<j.length;x++){var _=j[x];var S=_.T;var C=_.R;if(C){var O=C.parentNode;var A=C.nextSibling;{var k=(t=S["s-ol"])===null||t===void 0?void 0:t.previousSibling;while(k){var T=(i=k["s-nr"])!==null&&i!==void 0?i:null;if(T&&T["s-sn"]===S["s-sn"]&&O===T.parentNode){T=T.nextSibling;if(!T||!T["s-nr"]){A=T;break}}k=k.previousSibling}}if(!A&&O!==S.parentNode||S.nextSibling!==A){if(S!==A){if(!S["s-hn"]&&S["s-ol"]){S["s-hn"]=S["s-ol"].parentNode.nodeName}O.insertBefore(S,A);if(S.nodeType===1){S.hidden=(a=S["s-ih"])!==null&&a!==void 0?a:false}}}}else{if(S.nodeType===1){if(n){S["s-ih"]=(c=S.hidden)!==null&&c!==void 0?c:false}S.hidden=true}}}}if(v){dr($.p)}ie.v&=~1;hr.length=0}};var br=function(r,e){if(e&&!r.D&&e["s-p"]){e["s-p"].push(new Promise((function(e){return r.D=e})))}};var wr=function(r,e){{r.v|=16}if(r.v&4){r.v|=512;return}br(r,r.F);var n=function(){return gr(r,e)};return he(n)};var gr=function(r,e){var n=p("scheduleUpdate",r.O.A);var t=r.M;var i;if(e){{r.v|=256;if(r.N){r.N.map((function(r){var e=r[0],n=r[1];return Or(t,e,n)}));r.N=undefined}}{i=Or(t,"componentWillLoad")}}{i=_r(i,(function(){return Or(t,"componentWillRender")}))}n();return _r(i,(function(){return kr(r,t,e)}))};var _r=function(r,e){return Sr(r)?r.then(e):e()};var Sr=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var kr=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;a=p("update",r.O.A);f=i["s-rc"];if(t){K(r)}u=p("render",r.O.A);{xr(r,e,i,t)}if(f){f.map((function(r){return r()}));i["s-rc"]=undefined}u();a();{o=(n=i["s-p"])!==null&&n!==void 0?n:[];l=function(){return jr(r)};if(o.length===0){l()}else{Promise.all(o).then(l);r.v|=4;o.length=0}}return[2]}))}))};var xr=function(r,e,n,t){try{e=e.render();{r.v&=~16}{r.v|=2}{{{yr(r,e,t)}}}}catch(e){Yr(e,r.$hostElement$)}return null};var jr=function(r){var e=r.O.A;var n=r.$hostElement$;var t=p("postUpdate",e);var i=r.M;var a=r.F;{Or(i,"componentDidRender")}if(!(r.v&64)){r.v|=64;{Ar(n)}{Or(i,"componentDidLoad")}t();{r.P(n);if(!a){Cr()}}}else{{Or(i,"componentDidUpdate")}t()}{r.U(n)}{if(r.D){r.D();r.D=undefined}if(r.v&512){de((function(){return wr(r,false)}))}r.v&=~(4|512)}};var Cr=function(r){{Ar(te.documentElement)}de((function(){return Q(ne,"appload",{detail:{namespace:t}})}))};var Or=function(r,e,n){if(r&&r[e]){try{return r[e](n)}catch(r){Yr(r)}}return undefined};var Ar=function(r){return r.classList.add("hydrated")};var Tr=function(r,e){return Gr(r).I.get(e)};var Rr=function(r,e,n,t){var i=Gr(r);var a=i.$hostElement$;var f=i.I.get(e);var u=i.v;var o=i.M;n=B(n,t.W[e][0]);var l=Number.isNaN(f)&&Number.isNaN(n);var v=n!==f&&!l;if((!(u&8)||f===undefined)&&v){i.I.set(e,n);if(o){if(t.B&&u&128){var s=t.B[e];if(s){s.map((function(r){try{o[r](n,f,e)}catch(r){Yr(r,a)}}))}}if((u&(2|16))===2){wr(i,false)}}}};var Lr=function(r,e,n){var t;var i=r.prototype;if(e.W){if(r.watchers){e.B=r.watchers}var a=Object.entries(e.W);a.map((function(r){var t=r[0],a=r[1][0];if(a&31||n&2&&a&32){Object.defineProperty(i,t,{get:function(){return Tr(this,t)},set:function(r){Rr(this,t,r,e)},configurable:true,enumerable:true})}else if(n&1&&a&64){Object.defineProperty(i,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n;var i=Gr(this);return(n=i===null||i===void 0?void 0:i.H)===null||n===void 0?void 0:n.then((function(){var e;return(e=i.M)===null||e===void 0?void 0:e[t].apply(e,r)}))}})}}));if(n&1){var f=new Map;i.attributeChangedCallback=function(r,n,t){var a=this;ie.jmp((function(){var u;var o=f.get(r);if(a.hasOwnProperty(o)){t=a[o];delete a[o]}else if(i.hasOwnProperty(o)&&typeof a[o]==="number"&&a[o]==t){return}else if(o==null){var l=Gr(a);var v=l===null||l===void 0?void 0:l.v;if(v&&!(v&8)&&v&128&&t!==n){var s=l.M;var c=(u=e.B)===null||u===void 0?void 0:u[r];c===null||c===void 0?void 0:c.forEach((function(e){if(s[e]!=null){s[e].call(s,t,n,r)}}))}return}a[o]=t===null&&typeof a[o]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=e.B)!==null&&t!==void 0?t:{}),true),a.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;f.set(a,n);if(t[0]&512){(i=e.L)===null||i===void 0?void 0:i.push([n,a])}return a})),true)))}}return r};var Dr=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var r,n,i,a,f,u,o,l;return __generator(this,(function(v){switch(v.label){case 0:if(!((e.v&32)===0))return[3,3];e.v|=32;r=re(t);if(!r.then)return[3,2];n=$();return[4,r];case 1:r=v.sent();n();v.label=2;case 2:if(!r.isProxied){{t.B=r.watchers}Lr(r,t,2);r.isProxied=true}i=p("createInstance",t.A);{e.v|=8}try{new r(e)}catch(r){Yr(r)}{e.v&=~8}{e.v|=128}i();Fr(e.M);if(r.style){a=r.style;f=X(t);if(!ee.has(f)){u=p("registerStyles",t.A);q(f,a,!!(t.v&1));u()}}v.label=3;case 3:o=e.F;l=function(){return wr(e,true)};if(o&&o["s-rc"]){o["s-rc"].push(l)}else{l()}return[2]}}))}))};var Fr=function(r){{Or(r,"connectedCallback")}};var Mr=function(r){if((ie.v&1)===0){var e=Gr(r);var n=e.O;var t=p("connectedCallback",n.A);if(!(e.v&1)){e.v|=1;var i=void 0;{i=r.getAttribute(g);if(i){if(n.v&1){var a=G(r.shadowRoot,n);r.classList.remove(a+"-h",a+"-s")}E(r,n.A,i,e)}}if(!i){if(n.v&(4|8)){Nr(r)}}{var f=r;while(f=f.parentNode||f.host){if(f.nodeType===1&&f.hasAttribute("s-id")&&f["s-p"]||f["s-p"]){br(e,e.F=f);break}}}if(n.W){Object.entries(n.W).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{de((function(){return Dr(r,e,n)}))}}else{Br(r,e,n.V);if(e===null||e===void 0?void 0:e.M){Fr(e.M)}else if(e===null||e===void 0?void 0:e.q){e.q.then((function(){return Fr(e.M)}))}}t()}};var Nr=function(r){var e=r["s-cr"]=te.createComment("");e["s-cn"]=true;r.insertBefore(e,r.firstChild)};var Pr=function(r){{Or(r,"disconnectedCallback")}};var Ur=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((ie.v&1)===0){e=Gr(r);{if(e.G){e.G.map((function(r){return r()}));e.G=undefined}}if(e===null||e===void 0?void 0:e.M){Pr(e.M)}else if(e===null||e===void 0?void 0:e.q){e.q.then((function(){return Pr(e.M)}))}}return[2]}))}))};var Er=function(r,e){var n=function(r){__extends(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}e.prototype.item=function(r){return this[r]};return e}(Array);if(e.v&8){var t=r.__lookupGetter__("childNodes");Object.defineProperty(r,"children",{get:function(){return this.childNodes.map((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return r.children.length}});Object.defineProperty(r,"childNodes",{get:function(){var r=t.call(this);if((ie.v&1)===0&&Gr(this).v&2){var e=new n;for(var i=0;i<r.length;i++){var a=r[i]["s-nr"];if(a){e.push(a)}}return e}return n.from(r)}})}};var Ir=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=p();var i=e.exclude||[];var a=ne.customElements;var f=te.head;var u=f.querySelector("meta[charset]");var o=te.createElement("style");var l=[];var v=te.querySelectorAll("[".concat(_,"]"));var s;var c=true;var d=0;Object.assign(ie,e);ie.K=new URL(e.resourcesUrl||"./",te.baseURI).href;{ie.v|=2}{for(;d<v.length;d++){q(v[d].getAttribute(_),J(v[d].innerHTML),true)}}var h=false;r.map((function(r){r[1].map((function(e){var n;var t={v:e[0],A:e[1],W:e[2],V:e[3]};if(t.v&4){h=true}{t.W=e[2]}{t.V=e[3]}{t.L=[]}{t.B=(n=e[4])!==null&&n!==void 0?n:{}}var f=t.A;var u=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;e=n;Xr(e,t);if(t.v&1){{{e.attachShadow({mode:"open",delegatesFocus:!!(t.v&16)})}}}return n}e.prototype.connectedCallback=function(){var r=this;if(s){clearTimeout(s);s=null}if(c){l.push(this)}else{ie.jmp((function(){return Mr(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;ie.jmp((function(){return Ur(r)}))};e.prototype.componentOnReady=function(){return Gr(this).q};return e}(HTMLElement);{{Er(u.prototype,t)}}t.X=r[0];if(!i.includes(f)&&!a.get(f)){a.define(f,Lr(u,t,1))}}))}));if(h){o.innerHTML+=k}if(o.innerHTML.length){o.setAttribute("data-styles","");var $=(n=ie.C)!==null&&n!==void 0?n:R(te);if($!=null){o.setAttribute("nonce",$)}f.insertBefore(o,u?u.nextSibling:f.firstChild)}c=false;if(l.length){l.map((function(r){return r.connectedCallback()}))}else{{ie.jmp((function(){return s=setTimeout(Cr,30)}))}}t()}));var Wr=r("F",(function(r,e){return e}));var Br=function(r,e,n,t){if(n){n.map((function(n){var t=n[0],i=n[1],a=n[2];var f=Hr(r,t);var u=zr(e,a);var o=Qr(t);ie.ael(f,i,u,o);(e.G=e.G||[]).push((function(){return ie.rel(f,i,u,o)}))}))}};var zr=function(r,e){return function(n){try{{if(r.v&256){r.M[e](n)}else{(r.N=r.N||[]).push([e,n])}}}catch(r){Yr(r)}}};var Hr=function(r,e){if(e&4)return te;if(e&8)return ne;if(e&16)return te.body;return r};var Qr=function(r){return(r&2)!==0};var Vr=r("s",(function(r){return ie.C=r}));var qr=new WeakMap;var Gr=function(r){return qr.get(r)};var Kr=r("r",(function(r,e){return qr.set(e.M=r,e)}));var Xr=function(r,e){var n={v:0,$hostElement$:r,O:e,I:new Map};{n.H=new Promise((function(r){return n.U=r}))}{n.q=new Promise((function(r){return n.P=r}));r["s-p"]=[];r["s-rc"]=[]}Br(r,n,e.V);return qr.set(r,n)};var Jr=function(r,e){return e in r};var Yr=function(r,e){return(0,console.error)(r,e)};var Zr=new Map;var re=function(r,n,t){var i=r.A.replace(/-/g,"_");var a=r.X;var f=Zr.get(a);if(f){return f[i]}
|
|
5
5
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{Zr.set(a,r)}return r[i]}),Yr)};var ee=new Map;var ne=typeof window!=="undefined"?window:{};var te=r("d",ne.document||{head:{}});var ie={v:0,K:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var ae=true;var fe=r("p",(function(r){return Promise.resolve(r)}));var ue=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var oe=[];var le=[];var ve=function(r,e){return function(n){r.push(n);if(!d){d=true;if(e&&ie.v&4){de(ce)}else{ie.raf(ce)}}}};var se=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){Yr(r)}}r.length=0};var ce=function(){se(oe);{se(le);if(d=oe.length>0){ie.raf(ce)}}};var de=function(r){return fe().then(r)};var he=ve(le,true)}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,c as i,h as o,H as e,g as a}from"./p-
|
|
4
|
+
import{r as t,c as i,h as o,H as e,g as a}from"./p-bc9d8564.js";import{i as n}from"./p-a58bd561.js";import{c as s}from"./p-5e59e970.js";import{d as r}from"./p-9e371678.js";import{i as d}from"./p-3624bad1.js";import{g as c,c as u,d as h}from"./p-2e36d5bf.js";import{c as b,g as l,s as p}from"./p-5f87ea3d.js";import"./p-0e052642.js";import"./p-f2aa1623.js";const m=class{constructor(o){t(this,o),this.duetActionEvent=i(this,"duetActionEvent",6),this.listId=s("duet-action-button"),this.emitPageEvent=r((t=>{this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionId,name:this.actionName,meta:this.actionMeta,id:this.listId})})),this.numbersStore="",this.theme="",this.iconName="action-arrow-left-small",this.iconColor="currentColor",this.iconSize="xx-small",this.actionName="default-action",this.actionId=void 0,this.actionMeta=void 0,this.disabled=!1,this.color="",this.background="",this.accessibleTitle=!0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"},this.accessibleLabel=c(this.accessibleLabelsDefaults),this.accessibleControls="",this.url=void 0}async onKeyboardDown(t){d(t)&&this.emitPageEvent(t)}getTitle(){let t="";return"string"==typeof this.accessibleTitle&&(t=this.accessibleTitle),!0===this.accessibleTitle&&(t=b(`${this.actionName}`)),t}async onMouseHandler(t){t.preventDefault(),this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta})}componentWillLoad(){n(this)}connectedCallback(){u(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){h(this)}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){const t="currentColor"===this.color?"currentColor":l(this.color,this.theme),i=l(this.background,this.theme),a=i?p(i,-.1):i,n=i?`\n button.duet-action-button {\n background: ${i} !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ${a} !important;\n }\n `:"",s={ref:t=>this.nativeButton=t,part:"button",style:{color:t,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"},disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:{"duet-action-button":!0,"duet-action-button--disabled":this.disabled,[`duet-action-button--${this.theme}`]:""!==this.theme,"duet-theme-turva":"turva"===this.theme}};return o(e,{onKeyDown:t=>this.onKeyboardDown(t)},o("style",{innerHTML:n}),this.url&&!this.disabled?o("a",Object.assign({},s,{href:this.url}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):o("button",Object.assign({},s,{onClick:t=>this.onMouseHandler(t)}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),o("duet-visually-hidden",null,o("slot",null))))}get element(){return a(this)}};m.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-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(0, 41, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9e9eb}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#ddddde !important}.duet-action-button:disabled{color:rgb(144, 149, 153);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(116, 116, 117);background:rgb(245, 245, 247)}";export{m as duet_action_button}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,h as t,H as i,g as s}from"./p-
|
|
4
|
+
import{r as e,h as t,H as i,g as s}from"./p-bc9d8564.js";import{a as n}from"./p-d81ec707.js";import{e as a,d as o}from"./p-141e14d0.js";import{i as r}from"./p-a58bd561.js";const d=class{constructor(t){e(this,t),this.mql=[window.matchMedia(n.replace(/'/g,""))],this.boundMqlFunctions=[],this.handleMobileView=()=>{this.mql[0].matches?(this.mobile=!1,this.enableBodyScroll()):(this.mobile=!0,this.bodyScroll||this.disableBodyScroll())},this.onClick=()=>{this.open=!this.open},this.enableBodyScroll=()=>{this.nav&&a(this.nav),this.itemsContainer&&a(this.itemsContainer)},this.disableBodyScroll=()=>{this.nav&&o(this.nav,{reserveScrollBarGap:!0}),this.itemsContainer&&o(this.itemsContainer,{reserveScrollBarGap:!0})},this.checkIfHasItems=()=>{const e=!!this.element.querySelector("duet-submenu-bar-dropdown-link"),t=!!this.element.querySelector("duet-submenu-bar-link");return e||t},this.mobile=!0,this.bodyScroll=!0,this.theme="",this.open=!1,this.accessibleLabel=void 0}watchOpenStateHandler(e){e?(this.bodyScroll=!1,this.disableBodyScroll()):(this.enableBodyScroll(),this.bodyScroll=!0)}componentWillLoad(){r(this);const e=Array.from(this.element.children).filter((e=>!e.hasAttribute("slot")));for(const t of e)t.setAttribute("role","listitem")}connectedCallback(){this.nav=document.querySelector("duet-nav > [slot='mobile']"),this.hasItems=this.checkIfHasItems(),this.handleMobileView();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.handleMobileView.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[],this.enableBodyScroll()}async setFocus(e){this.button.focus(e)}render(){return t(i,null,t("nav",{class:{"duet-submenu-bar":!0,"duet-theme-turva":"turva"===this.theme},"aria-label":this.accessibleLabel},this.hasItems&&t("button",{ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},t("div",{class:"label"},t("slot",{name:"label"}),t("duet-icon",{theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{class:{"menu-container":!0,hidden:!this.open},role:"presentation"},t("div",{role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:!0,hidden:!this.open},ref:e=>this.itemsContainer=e},t("div",{class:"list",role:this.mobile?"presentation":"list"},t("slot",null),t("div",{class:"list-padding"}))),t("div",{class:"mobile-background"}))))}get element(){return s(this)}static get watchers(){return{open:["watchOpenStateHandler"]}}};d.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;width:100%}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;z-index:1;background:rgb(243, 249, 252)}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(205, 229, 241)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{max-height:0;overflow:hidden;visibility:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;max-height:unset;overflow:visible;visibility:visible}}.duet-submenu-bar .items{width:100%;height:70vh;overflow-y:scroll;visibility:visible;background:rgb(243, 249, 252);border-bottom:1px solid rgb(207, 210, 212)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(207, 210, 212)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;visibility:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar .mobile-background{position:absolute;width:100%;height:100%;background:rgb(0, 41, 77);opacity:0.3}@media (min-width: 62em){.duet-submenu-bar .mobile-background{display:none}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 245, 247)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 28, 58)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}';export{d as duet_submenu_bar}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-c5e6009e.system.js","./p-e1868c94.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-b2716337.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var e,i,a,s,n,r,o,d,u,l,p,c,b;return{setters:[function(t){e=t.r;i=t.h;a=t.F;s=t.g},function(t){n=t.s},function(t){r=t.i},function(t){o=t.c},function(t){d=t.s;u=t.u},function(t){l=t.a;p=t.g;c=t.c;b=t.d},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tray{position:fixed;top:4rem;right:0;left:0;z-index:399;display:flex;flex-direction:column;max-height:calc(100% - 8rem);padding:16px 20px 16px 24px;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(0, 41, 77);visibility:hidden;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:opacity 600ms ease, visibility 600ms ease, transform 600ms ease;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray{padding:16px 36px}}@media (min-width: 106.25em){.duet-tray{padding:16px 52px 16px 60px}}.duet-tray:focus{outline:0}:host(.user-is-tabbing) .duet-tray:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-tray.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-tray.duet-tray-is-active{visibility:visible;opacity:1;transform:translateY(0)}.duet-tray.duet-tray-is-hidden{visibility:hidden;opacity:0;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray.duet-tray-is-responsive{display:none !important}}.duet-tray.duet-tray-is-expandable{padding-right:66px}@media (min-width: 62em){.duet-tray.duet-tray-is-expandable{padding-right:78px}}@media (min-width: 106.25em){.duet-tray.duet-tray-is-expandable{padding-right:94px}}.duet-tray-expandable{position:relative;z-index:100;width:calc(100% + 46px);max-height:0;overflow-y:auto;visibility:hidden;opacity:0;transition:opacity 600ms ease, visibility 600ms ease, max-height 600ms ease;scrollbar-width:none}.duet-tray-expandable::-webkit-scrollbar{display:none}.duet-tray-expandable.active{max-height:500px;visibility:visible;opacity:1}.duet-tray-expandable-content{width:100%;margin-top:16px;border-top:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-tray-expandable-content{border-color:rgb(228, 228, 230)}.duet-tray-button{-webkit-user-select:none;user-select:none;padding:20px !important;position:absolute;top:-2px;right:0;z-index:200;color:rgb(0, 41, 77);text-align:center;cursor:pointer;border-radius:4px;transition:transform 300ms ease;-webkit-tap-highlight-color:transparent}@media (min-width: 62em){.duet-tray-button{margin-right:16px}}@media (min-width: 106.25em){.duet-tray-button{margin-right:36px}}.duet-theme-turva .duet-tray-button{color:rgb(23, 28, 58)}.duet-tray-button.duet-tray-is-expanded{transform:rotate(-180deg)}.duet-tray-button:focus{outline:0}:host(.user-is-tabbing) .duet-tray-button: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-tray-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray-button:active{box-shadow:none;opacity:0.75}';var m=parseFloat(n)*2*16;var y=t("duet_tray",function(){function t(t){var i=this;e(this,t);this.isTicking=false;this.expandableId=o("DuetTray");this.animationLoop=function(){i.hiddenState=window.pageYOffset<m;i.isTicking=false};this.toggleExpandable=function(t){t.preventDefault();i.expanded=!i.expanded};this.expanded=false;this.hiddenState=false;this.language=l();this.accessibleCloseLabelDefaults={fi:"Sulje",en:"Close",sv:"Stäng"};this.accessibleCloseLabel=p(this.accessibleCloseLabelDefaults,this.language);this.accessibleOpenLabelDefaults={fi:"Avaa",en:"Open",sv:"Öppna"};this.accessibleOpenLabel=p(this.accessibleOpenLabelDefaults,this.language);this.theme="";this.active=false;this.autoHide=true;this.responsive=true}t.prototype.componentWillLoad=function(){r(this);this.hasAdditionalContent=!!this.element.querySelector("[slot='additional']")};t.prototype.connectedCallback=function(){c(this,[{prop:"accessibleOpenLabel",defaults:"accessibleOpenLabelDefaults"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"}]);d(this)};t.prototype.disconnectedCallback=function(){b(this);u(this)};t.prototype.getFrame=function(){if(!this.isTicking&&this.autoHide&&this.active){requestAnimationFrame(this.animationLoop);this.isTicking=true}};t.prototype.handleBodyClick=function(t){if(this.expanded){this.expanded=this.element.contains(t.target)}};t.prototype.render=function(){var t=this;return i("div",{class:{"duet-tray":true,"duet-tray-is-active":this.active,"duet-tray-is-hidden":this.hiddenState,"duet-tray-is-responsive":this.responsive,"duet-theme-turva":this.theme==="turva","duet-tray-is-expandable":this.hasAdditionalContent}},i("div",{class:"duet-tray-default-content",role:"status"},i("slot",null)),this.hasAdditionalContent&&i(a,null,i("button",{"aria-expanded":this.expanded?"true":"false","aria-controls":this.expandableId,onClick:function(e){return t.toggleExpandable(e)},class:{"duet-tray-button":true,"duet-tray-is-expanded":this.expanded}},i("duet-icon",{name:"action-arrow-down",size:"small",color:"currentColor",margin:"none"}),i("duet-visually-hidden",null,this.expanded?this.accessibleCloseLabel:this.accessibleOpenLabel)),i("div",{id:this.expandableId,class:{"duet-tray-expandable":true,active:this.expanded}},i("div",{class:"duet-tray-expandable-content"},i("slot",{name:"additional"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());y.style=h}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,h as t,H as i,g as r}from"./p-
|
|
4
|
+
import{r as e,h as t,H as i,g as r}from"./p-bc9d8564.js";import{i as a}from"./p-a58bd561.js";import{s,u as o}from"./p-3624bad1.js";import{a as n,c as d,d as l,g as c}from"./p-2e36d5bf.js";import"./p-0e052642.js";const h=class{constructor(t){e(this,t),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){a(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){l(this),o(this)}render(){var e;return t(i,{role:"listitem"},t("div",{class:"container"},"arrow-right-small-icon"===this.icon&&t("duet-icon",{class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),t("a",{class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${c(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[t("duet-icon",{size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&t("duet-spacer",{size:"x-small",direction:"horizontal"})],t("slot",null))))}get element(){return r(this)}};h.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:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";export{h as duet_breadcrumb}
|