@duetds/components 8.4.3 → 8.4.5
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 +184 -32
- package/lib/cjs/action-new-window-50c8aed0.js +11 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +8 -7
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
- 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 +45 -21
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- 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 +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +52 -4
- 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 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
- 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 +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +6 -6
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-overlay.cjs.entry.js +57 -0
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +8 -3
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
- 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 +1 -1
- 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 +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +6 -9
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
- 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-a8f819a3.js → focus-utils-8769bc19.js} +1 -1
- package/lib/cjs/{index-cb4d7840.js → index-4522afdb.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{token-utils-7a618677.js → token-utils-c8094d1e.js} +1 -1
- package/lib/cjs/{tokens-c3eecae6.js → tokens-5b487d39.js} +3 -0
- package/lib/cjs/{tokens.module-bc323a09.js → tokens.module-450a747b.js} +2 -0
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-banner/duet-banner.js +5 -4
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +0 -4
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +1 -1
- package/lib/collection/components/duet-link/duet-link.css +95 -9
- package/lib/collection/components/duet-link/duet-link.js +73 -20
- package/lib/collection/components/duet-modal/duet-modal.css +4 -8
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-overlay/duet-overlay.css +97 -0
- package/lib/collection/components/duet-overlay/duet-overlay.js +204 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +24 -1
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +0 -23
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -4
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +0 -12
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -3
- package/lib/collection/components/duet-upload/duet-upload.js +67 -1
- package/lib/collection/utils/string-utils.js +6 -0
- 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 +9 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +26 -20
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +5 -7
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +20 -14
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-overlay.d.ts +11 -0
- package/lib/dist-custom-elements/duet-overlay.js +9 -0
- 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 +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +8 -2
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +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 +5 -5
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +12 -9
- 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 +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +15 -8
- package/lib/dist-custom-elements/duet-tab-group.js +13 -13
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +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 +68 -19
- 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-03e1643a.js +195 -0
- package/lib/dist-custom-elements/{p-22530bf0.js → p-0bff5208.js} +1 -1
- package/lib/dist-custom-elements/{p-c5d64549.js → p-1a2ca780.js} +10 -10
- package/lib/dist-custom-elements/{p-bb06c3ac.js → p-1f275a30.js} +2 -2
- package/lib/dist-custom-elements/{p-04a28e53.js → p-20675093.js} +2 -2
- package/lib/dist-custom-elements/{p-cbac9ed5.js → p-2807b16f.js} +1 -1
- package/lib/dist-custom-elements/{p-c7bbc1bd.js → p-2d18f2ff.js} +2 -2
- package/lib/dist-custom-elements/{p-9b8fa220.js → p-2e754a46.js} +2 -2
- package/lib/dist-custom-elements/{p-d37a3cec.js → p-2f3ee599.js} +2 -0
- package/lib/dist-custom-elements/{p-ea4b4bbb.js → p-3db8a54a.js} +2 -2
- package/lib/dist-custom-elements/{p-34f86ab2.js → p-3ff6fd48.js} +1 -1
- package/lib/dist-custom-elements/{p-2103fc77.js → p-42b04d28.js} +1 -1
- package/lib/dist-custom-elements/{p-3da9e71c.js → p-4de7a2a2.js} +5 -5
- package/lib/dist-custom-elements/{p-b7f8263a.js → p-51eec445.js} +2 -2
- package/lib/dist-custom-elements/{p-6a2c4e3a.js → p-589b472b.js} +6 -6
- package/lib/dist-custom-elements/{p-4da748b2.js → p-73334255.js} +1 -1
- package/lib/dist-custom-elements/p-80939c89.js +76 -0
- package/lib/dist-custom-elements/p-8855e26a.js +8 -0
- package/lib/dist-custom-elements/{p-09ac88f3.js → p-8fed8d20.js} +3 -3
- package/lib/dist-custom-elements/{p-252800e5.js → p-900d6d8f.js} +1 -1
- package/lib/dist-custom-elements/{p-29282584.js → p-90196337.js} +1 -1
- package/lib/dist-custom-elements/{p-3e7280f6.js → p-aad10747.js} +8 -8
- package/lib/dist-custom-elements/{p-c8659f64.js → p-abf479dc.js} +3 -3
- package/lib/dist-custom-elements/{p-f79a36ee.js → p-af8298ea.js} +1 -1
- package/lib/dist-custom-elements/{p-e6920cf3.js → p-b88a191b.js} +2 -2
- package/lib/dist-custom-elements/{p-010b0059.js → p-bab22149.js} +4 -4
- package/lib/dist-custom-elements/{p-44cdc06d.js → p-bbf96d07.js} +2 -2
- package/lib/dist-custom-elements/{p-8d2fe91f.js → p-bc13b982.js} +10 -10
- package/lib/dist-custom-elements/{p-613dba69.js → p-ccdcae7e.js} +5 -5
- package/lib/dist-custom-elements/{p-a225fccd.js → p-cd17adee.js} +5 -5
- package/lib/dist-custom-elements/{p-c7343af9.js → p-ce95ed21.js} +2 -2
- package/lib/dist-custom-elements/{p-3fa35111.js → p-d2a5748f.js} +2 -2
- package/lib/dist-custom-elements/{p-d0cf13fd.js → p-db1f5f99.js} +1 -1
- package/lib/dist-custom-elements/{p-d9f82ff4.js → p-e2372337.js} +1 -1
- package/lib/dist-custom-elements/{p-d940c692.js → p-ecad7dde.js} +2 -2
- package/lib/{esm/tokens-30d01e1d.js → dist-custom-elements/p-ed995372.js} +3 -0
- package/lib/dist-custom-elements/{p-8af17456.js → p-f36ef263.js} +1 -1
- package/lib/dist-custom-elements/{p-cd25ec2f.js → p-fbccb31a.js} +2 -2
- package/lib/dist-custom-elements/{p-101df5e0.js → p-ff7cd52f.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-1e3a9599.system.entry.js → p-03967390.system.entry.js} +1 -1
- package/lib/duet/{p-f2aa1623.js → p-03f6f09a.js} +1 -1
- package/lib/duet/{p-80ab419c.entry.js → p-076900c7.entry.js} +1 -1
- package/lib/duet/{p-17130b15.system.entry.js → p-081dddef.system.entry.js} +1 -1
- package/lib/duet/{p-85695c74.entry.js → p-0890b5c0.entry.js} +1 -1
- package/lib/duet/{p-0b80e74d.system.entry.js → p-08ce2eeb.system.entry.js} +1 -1
- package/lib/duet/{p-0cfba791.entry.js → p-0a829741.entry.js} +1 -1
- package/lib/duet/p-0aacfef8.system.entry.js +4 -0
- package/lib/duet/{p-88f9880c.system.entry.js → p-0b90d38a.system.entry.js} +1 -1
- package/lib/duet/{p-f7dc3756.system.entry.js → p-0c4e9ba0.system.entry.js} +1 -1
- package/lib/duet/{p-f63c4cea.system.entry.js → p-0e5b33be.system.entry.js} +1 -1
- package/lib/duet/{p-44dd3f6b.entry.js → p-136b8e2e.entry.js} +1 -1
- package/lib/duet/{p-1b32fc71.system.entry.js → p-14b542d3.system.entry.js} +1 -1
- package/lib/duet/{p-18b21092.system.entry.js → p-1b8466a0.system.entry.js} +1 -1
- package/lib/duet/{p-29e18bae.entry.js → p-1cab6059.entry.js} +1 -1
- package/lib/duet/{p-6aaaa6e6.system.entry.js → p-1d61dcf4.system.entry.js} +1 -1
- package/lib/duet/{p-bb134fb0.entry.js → p-1dea0116.entry.js} +1 -1
- package/lib/duet/{p-2765967c.entry.js → p-25d270e9.entry.js} +1 -1
- package/lib/duet/{p-098dcfbc.system.entry.js → p-269a2b16.system.entry.js} +1 -1
- package/lib/duet/p-26d669aa.entry.js +4 -0
- package/lib/duet/{p-2a594105.system.entry.js → p-27e6e785.system.entry.js} +1 -1
- package/lib/duet/{p-3266adc5.entry.js → p-2ddf153d.entry.js} +1 -1
- package/lib/duet/{p-56c12a47.system.entry.js → p-2e7c6c53.system.entry.js} +1 -1
- package/lib/duet/{p-46efd28d.system.entry.js → p-2e7db6e1.system.entry.js} +1 -1
- package/lib/duet/{p-d79938f5.entry.js → p-2f349bb9.entry.js} +1 -1
- package/lib/duet/{p-bc715683.entry.js → p-316610c1.entry.js} +1 -1
- package/lib/duet/{p-7a79672d.system.entry.js → p-33fe642a.system.entry.js} +1 -1
- package/lib/duet/{p-3d74d9ba.system.entry.js → p-3539c6d4.system.entry.js} +1 -1
- package/lib/duet/{p-7ad16b5f.entry.js → p-3691e86f.entry.js} +1 -1
- package/lib/duet/p-37895b24.entry.js +4 -0
- package/lib/duet/{p-ebc5c075.entry.js → p-37c36dca.entry.js} +1 -1
- package/lib/duet/{p-9dd9783c.entry.js → p-3dc29f91.entry.js} +1 -1
- package/lib/duet/{p-f102b3c6.system.entry.js → p-3e9236bb.system.entry.js} +1 -1
- package/lib/duet/p-3f7c8cee.entry.js +4 -0
- package/lib/duet/{p-34eeb826.entry.js → p-40839797.entry.js} +1 -1
- package/lib/duet/{p-4219a6cc.system.entry.js → p-41207875.system.entry.js} +1 -1
- package/lib/duet/{p-abdbce02.system.js → p-41ba30b7.system.js} +1 -1
- package/lib/duet/p-41bbd59c.system.entry.js +4 -0
- package/lib/duet/{p-a25a5bda.entry.js → p-42aa1a1a.entry.js} +1 -1
- package/lib/duet/{p-4dc1f780.system.entry.js → p-443fc685.system.entry.js} +1 -1
- package/lib/duet/{p-7ac66521.entry.js → p-44e139b4.entry.js} +1 -1
- package/lib/duet/{p-99528b33.system.entry.js → p-45a051e1.system.entry.js} +1 -1
- package/lib/duet/{p-916c05c0.system.entry.js → p-494a9b5f.system.entry.js} +1 -1
- package/lib/duet/{p-9ff8f713.system.entry.js → p-4fe83168.system.entry.js} +1 -1
- package/lib/duet/{p-3e86fc2f.entry.js → p-50bf27d5.entry.js} +1 -1
- package/lib/duet/{p-be48cfce.system.entry.js → p-5284b60c.system.entry.js} +1 -1
- package/lib/duet/p-52e38899.system.js +4 -0
- package/lib/duet/{p-1a2ff25f.system.entry.js → p-549b9ade.system.entry.js} +1 -1
- package/lib/duet/{p-d1acd619.entry.js → p-5b564bef.entry.js} +1 -1
- package/lib/duet/{p-e066623e.system.entry.js → p-5bf253d5.system.entry.js} +1 -1
- package/lib/duet/{p-39b31261.entry.js → p-5c405e9d.entry.js} +1 -1
- package/lib/duet/{p-2c1f79ac.system.entry.js → p-5d261ccd.system.entry.js} +1 -1
- package/lib/duet/{p-01a3e3f8.entry.js → p-603732bf.entry.js} +1 -1
- package/lib/duet/{p-cacd3719.entry.js → p-60af0a8a.entry.js} +1 -1
- package/lib/duet/p-650a419d.system.js +4 -0
- package/lib/duet/p-6532401b.system.js +4 -0
- package/lib/duet/{p-f0233912.entry.js → p-6671ca35.entry.js} +1 -1
- package/lib/duet/{p-849e68d1.entry.js → p-66e17c2e.entry.js} +1 -1
- package/lib/duet/{p-7df9ed1a.system.entry.js → p-68d16a03.system.entry.js} +1 -1
- package/lib/duet/{p-d915620f.entry.js → p-6a1594c9.entry.js} +1 -1
- package/lib/duet/{p-4999bd59.entry.js → p-6c4a8d82.entry.js} +1 -1
- package/lib/duet/{p-e45c589a.js → p-6df2b029.js} +1 -1
- package/lib/duet/{p-e4206eb5.system.entry.js → p-6e43a469.system.entry.js} +1 -1
- package/lib/duet/p-6f6318f0.system.entry.js +4 -0
- package/lib/duet/{p-977832d7.entry.js → p-6ffcfe0b.entry.js} +1 -1
- package/lib/duet/{p-a82cd36e.system.entry.js → p-704238cb.system.entry.js} +1 -1
- package/lib/duet/{p-142fffe3.system.entry.js → p-77671d1f.system.entry.js} +1 -1
- package/lib/duet/p-7767eb78.entry.js +4 -0
- package/lib/duet/{p-5f87ea3d.js → p-7a66b632.js} +1 -1
- package/lib/duet/{p-ef3fb30c.entry.js → p-7e31ec95.entry.js} +1 -1
- package/lib/duet/p-82373c91.system.entry.js +4 -0
- package/lib/duet/{p-8ad68512.entry.js → p-82567378.entry.js} +1 -1
- package/lib/duet/{p-8814dca5.system.entry.js → p-827998c8.system.entry.js} +1 -1
- package/lib/duet/{p-d40d6372.system.entry.js → p-845f9c74.system.entry.js} +1 -1
- package/lib/duet/p-861a1b8d.system.entry.js +4 -0
- package/lib/duet/{p-d2fff81e.system.entry.js → p-86a77667.system.entry.js} +1 -1
- package/lib/duet/p-8855e26a.js +4 -0
- package/lib/duet/p-894d217b.system.entry.js +4 -0
- package/lib/duet/{p-22d2d468.system.entry.js → p-8b32c948.system.entry.js} +1 -1
- package/lib/duet/{p-580aed81.system.entry.js → p-8bda35d1.system.entry.js} +2 -2
- package/lib/duet/{p-d5e31ef5.entry.js → p-8bdd5287.entry.js} +1 -1
- package/lib/duet/{p-c1502939.system.entry.js → p-8c49cec4.system.entry.js} +1 -1
- package/lib/duet/{p-97574cd9.entry.js → p-8cd2f57c.entry.js} +1 -1
- package/lib/duet/{p-c946fab0.entry.js → p-8d0ecf93.entry.js} +1 -1
- package/lib/duet/{p-2f82c4d4.entry.js → p-8d2535f8.entry.js} +1 -1
- package/lib/duet/{p-660c33d4.system.entry.js → p-8d26b1e6.system.entry.js} +1 -1
- package/lib/duet/{p-1d7f59a7.entry.js → p-8deda08c.entry.js} +1 -1
- package/lib/duet/{p-5ea4fe7b.system.entry.js → p-8f9cae27.system.entry.js} +1 -1
- package/lib/duet/{p-611fc71b.system.entry.js → p-921ef4d5.system.entry.js} +1 -1
- package/lib/duet/{p-c8405ffe.entry.js → p-938c4499.entry.js} +1 -1
- package/lib/duet/{p-01bf6506.entry.js → p-939b613a.entry.js} +1 -1
- package/lib/duet/{p-fa9802a4.entry.js → p-941f11ef.entry.js} +1 -1
- package/lib/duet/{p-8606a8a4.system.entry.js → p-954bbc13.system.entry.js} +1 -1
- package/lib/duet/{p-d9cbeb06.system.entry.js → p-971eee71.system.entry.js} +1 -1
- package/lib/duet/{p-6b9228dd.entry.js → p-98fc2930.entry.js} +1 -1
- package/lib/duet/{p-029e0713.system.entry.js → p-9bfd0313.system.entry.js} +1 -1
- package/lib/duet/{p-30a6959f.entry.js → p-9c1a6a86.entry.js} +1 -1
- package/lib/duet/{p-e9a89efc.system.entry.js → p-9d6d2893.system.entry.js} +1 -1
- package/lib/duet/{p-0995d4db.entry.js → p-9d8a5815.entry.js} +1 -1
- package/lib/duet/p-9dda3bc2.system.js +4 -0
- package/lib/duet/{p-3a93f309.entry.js → p-9f2d6c10.entry.js} +1 -1
- package/lib/duet/{p-ee3003f9.system.entry.js → p-a042ea41.system.entry.js} +1 -1
- package/lib/duet/{p-9bfa5c62.entry.js → p-a04d8c4c.entry.js} +1 -1
- package/lib/duet/{p-e2d770ba.entry.js → p-a3d254ab.entry.js} +1 -1
- package/lib/duet/{p-543bc859.entry.js → p-a4514e57.entry.js} +1 -1
- package/lib/duet/p-a46b4450.system.js +4 -0
- package/lib/duet/p-a54e7c7e.entry.js +4 -0
- package/lib/duet/p-a77adbe3.entry.js +4 -0
- package/lib/duet/{p-b9fe5e8a.entry.js → p-a7b75dab.entry.js} +1 -1
- package/lib/duet/{p-876f9b62.entry.js → p-a810bcad.entry.js} +1 -1
- package/lib/duet/p-a87cbd61.system.entry.js +4 -0
- package/lib/duet/{p-2e53172a.system.entry.js → p-a8f13005.system.entry.js} +1 -1
- package/lib/duet/{p-c782fbd2.system.entry.js → p-a96b1223.system.entry.js} +1 -1
- package/lib/duet/{p-04e058bc.system.entry.js → p-aa562b2b.system.entry.js} +1 -1
- package/lib/duet/{p-98f8ad8c.system.entry.js → p-ab16108e.system.entry.js} +1 -1
- package/lib/duet/{p-a7e7dc8e.entry.js → p-ae0fcb13.entry.js} +1 -1
- package/lib/duet/{p-bee1c0ab.system.entry.js → p-afdd39e7.system.entry.js} +1 -1
- package/lib/duet/{p-0f33db5a.system.entry.js → p-b12162bf.system.entry.js} +1 -1
- package/lib/duet/p-b34190f3.entry.js +4 -0
- package/lib/duet/{p-aaa9d7f0.entry.js → p-b3586087.entry.js} +1 -1
- package/lib/duet/{p-ba1d9ad1.entry.js → p-b3cf64e0.entry.js} +1 -1
- package/lib/duet/{p-19348034.entry.js → p-b4809f6d.entry.js} +1 -1
- package/lib/duet/p-b883eda2.entry.js +4 -0
- package/lib/duet/{p-473f2aeb.entry.js → p-ba1752b1.entry.js} +1 -1
- package/lib/duet/{p-0f9796d8.entry.js → p-ba68b3df.entry.js} +1 -1
- package/lib/duet/{p-deb7a598.system.entry.js → p-bce20014.system.entry.js} +1 -1
- package/lib/duet/{p-3736f46a.system.entry.js → p-bd27dd27.system.entry.js} +1 -1
- package/lib/duet/{p-8cf21e97.system.entry.js → p-be77d17f.system.entry.js} +1 -1
- package/lib/duet/{p-f598c39f.entry.js → p-c219a16b.entry.js} +1 -1
- package/lib/duet/{p-091d343c.system.entry.js → p-c3d82842.system.entry.js} +1 -1
- package/lib/duet/{p-389ec8d1.entry.js → p-c67314ae.entry.js} +1 -1
- package/lib/duet/{p-afa55acc.entry.js → p-c7c8abe1.entry.js} +1 -1
- package/lib/duet/{p-88f72255.system.entry.js → p-c7d56cc4.system.entry.js} +1 -1
- package/lib/duet/{p-1bf2c055.entry.js → p-caf0c325.entry.js} +1 -1
- package/lib/duet/p-cb3e8ad9.entry.js +4 -0
- package/lib/duet/{p-0806aac6.system.entry.js → p-cbd66aa3.system.entry.js} +1 -1
- package/lib/duet/{p-f624f421.system.entry.js → p-cd67d8d8.system.entry.js} +1 -1
- package/lib/duet/{p-67af148d.entry.js → p-cf2203ec.entry.js} +1 -1
- package/lib/duet/{p-f441c24f.system.entry.js → p-cf7b1662.system.entry.js} +1 -1
- package/lib/duet/{p-f3bcdaa7.system.entry.js → p-d00e94e9.system.entry.js} +1 -1
- package/lib/duet/{p-a8b99baa.system.entry.js → p-d21af276.system.entry.js} +1 -1
- package/lib/duet/{p-16669185.entry.js → p-d253fa0b.entry.js} +1 -1
- package/lib/duet/{p-31322a2c.system.entry.js → p-d371834d.system.entry.js} +1 -1
- package/lib/duet/{p-205c1d86.entry.js → p-d3a82468.entry.js} +1 -1
- package/lib/duet/{p-7b220ee3.system.entry.js → p-d4d3270a.system.entry.js} +1 -1
- package/lib/duet/{p-4128d086.entry.js → p-d67a1a14.entry.js} +1 -1
- package/lib/duet/{p-da899a00.entry.js → p-d9133471.entry.js} +1 -1
- package/lib/duet/{p-9fa80a0d.entry.js → p-d920541e.entry.js} +1 -1
- package/lib/duet/{p-3b930917.system.entry.js → p-d98f2243.system.entry.js} +1 -1
- package/lib/duet/p-d9fa1de5.entry.js +4 -0
- package/lib/duet/{p-f8ce87ee.system.entry.js → p-da7dd944.system.entry.js} +1 -1
- package/lib/duet/{p-d5366eb5.system.entry.js → p-db4560bb.system.entry.js} +1 -1
- package/lib/duet/{p-778af8b7.system.entry.js → p-dbe44c6e.system.entry.js} +1 -1
- package/lib/duet/{p-f24be27e.system.entry.js → p-dc4a54ff.system.entry.js} +1 -1
- package/lib/duet/{p-83d69e66.system.entry.js → p-dd8c88cb.system.entry.js} +1 -1
- package/lib/duet/{p-7e7d991d.entry.js → p-dfa902a8.entry.js} +1 -1
- package/lib/duet/{p-76d99102.system.entry.js → p-e29ffcf8.system.entry.js} +1 -1
- package/lib/duet/p-e4ecfdde.entry.js +4 -0
- package/lib/duet/{p-b6168b5a.system.entry.js → p-e711b385.system.entry.js} +1 -1
- package/lib/duet/{p-5e396e57.system.entry.js → p-e8e30a8e.system.entry.js} +1 -1
- package/lib/duet/{p-0ad0dc08.entry.js → p-ea4e0dd6.entry.js} +1 -1
- package/lib/duet/{p-4ebf7879.entry.js → p-eaa50dc0.entry.js} +1 -1
- package/lib/duet/p-ed995372.js +4 -0
- package/lib/duet/{p-ae31c909.system.js → p-ee38815c.system.js} +1 -1
- package/lib/duet/{p-904b6f63.entry.js → p-f13b5365.entry.js} +1 -1
- package/lib/duet/{p-29d5a763.system.entry.js → p-f201356b.system.entry.js} +1 -1
- package/lib/duet/{p-3c47cc95.entry.js → p-f42838e7.entry.js} +1 -1
- package/lib/duet/{p-665cd245.system.entry.js → p-f4930436.system.entry.js} +1 -1
- package/lib/duet/{p-bef5842c.entry.js → p-f7640a53.entry.js} +1 -1
- package/lib/duet/{p-93872497.js → p-f8614750.js} +1 -1
- package/lib/duet/p-f9e4277a.entry.js +4 -0
- package/lib/duet/{p-51f24687.system.entry.js → p-f9ff3511.system.entry.js} +1 -1
- package/lib/duet/{p-841e2acc.entry.js → p-fc7bdc0c.entry.js} +1 -1
- package/lib/duet/p-fe22728e.system.entry.js +4 -0
- package/lib/duet/{p-2bfe2f51.entry.js → p-fe99e5e9.entry.js} +1 -1
- package/lib/esm/action-new-window-9c8f7830.js +8 -0
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +8 -7
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +3 -3
- 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 +45 -21
- package/lib/esm/duet-card.entry.js +3 -3
- 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 +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +4 -4
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +52 -4
- 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 +2 -4
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +3 -3
- 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 +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +6 -6
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-overlay.entry.js +53 -0
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +4 -4
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +8 -3
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +3 -3
- 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 +1 -1
- 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 +4 -4
- package/lib/esm/duet-slideout.entry.js +6 -9
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +7 -6
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-item.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
- 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-68697c1f.js → focus-utils-03349cd9.js} +1 -1
- package/lib/esm/{index-090eaa9b.js → index-692029e8.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{token-utils-0c77cb3c.js → token-utils-be83d039.js} +1 -1
- package/lib/{dist-custom-elements/p-d81ec707.js → esm/tokens-94133fa9.js} +3 -0
- package/lib/esm/{tokens.module-c9866649.js → tokens.module-3547915d.js} +2 -0
- package/lib/esm-es5/action-new-window-9c8f7830.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 +2 -2
- 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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-overlay.entry.js +4 -0
- 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 +1 -1
- 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 +2 -2
- 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-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +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 +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +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-68697c1f.js → focus-utils-03349cd9.js} +1 -1
- package/lib/esm-es5/{index-090eaa9b.js → index-692029e8.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{token-utils-0c77cb3c.js → token-utils-be83d039.js} +1 -1
- package/lib/esm-es5/tokens-94133fa9.js +4 -0
- package/lib/esm-es5/tokens.module-3547915d.js +4 -0
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-link/duet-link.d.ts +13 -5
- package/lib/types/components/duet-overlay/duet-overlay.d.ts +47 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +4 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +7 -0
- package/lib/types/components.d.ts +99 -4
- package/lib/types/utils/string-utils.d.ts +4 -0
- package/package.json +5 -5
- package/lib/cjs/action-arrow-right-24fe06be.js +0 -8
- package/lib/dist-custom-elements/p-3a2a46d4.js +0 -169
- package/lib/dist-custom-elements/p-6fa39608.js +0 -6
- package/lib/duet/p-02833fe6.system.entry.js +0 -4
- package/lib/duet/p-15fde8cc.system.js +0 -4
- package/lib/duet/p-41faac57.entry.js +0 -4
- package/lib/duet/p-4e22efae.entry.js +0 -4
- package/lib/duet/p-57a3bf19.entry.js +0 -4
- package/lib/duet/p-682cc430.system.entry.js +0 -4
- package/lib/duet/p-6fa39608.js +0 -4
- package/lib/duet/p-71fc3743.entry.js +0 -4
- package/lib/duet/p-720b866c.entry.js +0 -4
- package/lib/duet/p-81a240d4.entry.js +0 -4
- package/lib/duet/p-89beef33.entry.js +0 -4
- package/lib/duet/p-8c6521c9.entry.js +0 -4
- package/lib/duet/p-9ce7e4da.entry.js +0 -4
- package/lib/duet/p-9d3ff1f9.entry.js +0 -4
- package/lib/duet/p-b9678b20.system.entry.js +0 -4
- package/lib/duet/p-c746fdd9.system.entry.js +0 -4
- package/lib/duet/p-d1a08c91.system.entry.js +0 -4
- package/lib/duet/p-d81ec707.js +0 -4
- package/lib/duet/p-dd994793.system.js +0 -4
- package/lib/duet/p-dfedf8dc.system.entry.js +0 -4
- package/lib/duet/p-e1868c94.system.js +0 -4
- package/lib/duet/p-e56fe6af.system.js +0 -4
- package/lib/duet/p-e94af0bf.entry.js +0 -4
- package/lib/duet/p-f2eee8be.system.entry.js +0 -4
- package/lib/duet/p-f65457b0.system.js +0 -4
- package/lib/esm/action-arrow-right-f7d56681.js +0 -6
- package/lib/esm-es5/action-arrow-right-f7d56681.js +0 -4
- package/lib/esm-es5/tokens-30d01e1d.js +0 -4
- package/lib/esm-es5/tokens.module-c9866649.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(e,t,n,o){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(r,s)}l((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(s){if(o)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(o=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{o=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-
|
|
4
|
+
*/System.register(["./p-ee38815c.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,o,i,a;return{setters:[function(e){t=e.r;n=e.h;o=e.H;i=e.g},function(e){a=e.i}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:1.25rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.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-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}';var s=e("duet_slideout_panel_dropdown",function(){function e(e){var n=this;t(this,e);this.onClick=function(){n.open=!n.open};this.theme="";this.active=false;this.open=false;this.icon=undefined}e.prototype.handleFocus=function(e){var t=this;var n=e.composedPath().every((function(e){return e!==t.element}));if(n){this.open=false}};e.prototype.componentWillLoad=function(){a(this);var e=this.element.querySelectorAll("duet-slideout-link");e.forEach((function(e){e.menuItem=true}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return n(o,null,n("div",{class:{"duet-slideout-panel-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open}},n("button",{ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&n("duet-icon",{name:this.icon,size:"medium",margin:"none",color:"secondary"}),n("span",{class:"label"},n("slot",{name:"label"}),n("duet-icon",{class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),n("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());s.style=r}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{E as t,r as e,h as i,H as d,g as n}from"./p-e45c589a.js";import{i as o}from"./p-a58bd561.js";import{g as a,r}from"./p-5f87ea3d.js";import"./p-f2aa1623.js";const s=t=>{if("script"===t.nodeName.toLowerCase())return!1;for(let e=0;e<t.attributes.length;e++)if(0===t.attributes[e].name.toLowerCase().indexOf("on"))return!1;if(t.children)for(let e=0;e<t.children.length;e++)if(!s(t.children[e]))return!1;return!0},u={};const h=class{constructor(t){e(this,t),this.svgContent=void 0,this.theme="",this.icon=void 0,this.src=void 0,this.name="action-add",this.margin="auto",this.responsive=!0,this.color="",this.background="",this.backgroundOpacity=1,this.backgroundRotation=0,this.size="medium",this.outline="",this.shape="circle"}componentWillLoad(){o(this),this.src&&this.icon&&console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src),this.loadIcon()}async loadIcon(){if(this.icon)return void(this.svgContent=this.icon);const e=this.src?this.src:`${t.cdnURIProd}/icons/${t.duetIconVersion}/lib/assets/${this.name}.svg`;try{this.svgContent=await function(t){if(u[t])return u[t];const e=async function(){const e=await fetch(t);if(!e.ok)throw new Error(`SVG request failed: ${e.status} ${e.statusText}`);const i=(t=>{if("undefined"==typeof document||!t)return;const e=document.createElement("div");e.innerHTML=t;for(let t=e.childNodes.length-1;t>=0;t--)"svg"!==e.childNodes[t].nodeName.toLowerCase()&&e.removeChild(e.childNodes[t]);return e.firstElementChild})(await e.text());if(!s(i))throw new Error("SVG validation failed");const d=document.createElement("div");return d.appendChild(i),d.innerHTML}();return u[t]=e}(e)}catch(t){console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${e}.`,t)}}render(){const t="currentColor"===this.color?"currentColor":a(this.color,this.theme)||a(this.outline,this.theme),e=this.backgroundRotation?{transform:`rotate(${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{},n=Object.assign({color:t,background:r(a(this.background,this.theme),this.backgroundOpacity),"border-color":a(this.outline,this.theme)},e),o=Object.assign({},this.backgroundRotation?{transform:`rotate(-${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{});return i(d,{class:{"duet-m-0":"none"===this.margin,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},i("span",{"aria-hidden":"true",style:n,class:{"duet-icon":!0,[this.size]:!0,"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background,["brand-rotated"===this.shape?"duet-icon-shape-brand":`duet-icon-shape-${this.shape}`]:!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme,"duet-icon-not-responsive":!this.responsive}},i("span",{"aria-hidden":"true",class:{"duet-icon-svg":!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme},innerHTML:this.svgContent,style:o})))}get element(){return n(this)}static get watchers(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}}};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;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg{width:16px;height:16px}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.auto .duet-icon-svg{width:100%;height:100%}.duet-icon.xxx-small .duet-icon-svg{width:7px;height:7px}.duet-icon.duet-icon-has-background.xxx-small{padding:6px}.duet-icon.duet-icon-has-outline.xxx-small{padding:4px}.duet-icon.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small{padding:8px}.duet-icon.duet-icon-has-outline.xx-small{padding:7px}.duet-icon.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-has-outline.x-small{padding:10px}.duet-icon.duet-icon-has-background.x-small{padding:12px}.duet-icon.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-has-background.small{padding:14px}.duet-icon.large .duet-icon-svg{width:30px;height:30px}.duet-icon.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.xxx-large .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){.duet-icon.xxx-large .duet-icon-svg{width:72px;height:72px}}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(20deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small{width:18px;height:15px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small{width:32px;height:30px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.small{width:36px;height:34px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium{width:48px;height:44px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.large{width:62px;height:56px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large{width:76px;height:68px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large{width:95px;height:86px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large{width:144px;height:130px;padding:0}.duet-icon.duet-icon-shape-brand.xxx-small{padding:0}.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg{width:0;height:0}.duet-icon.duet-icon-shape-brand.xx-small{padding:4px}.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-shape-brand.x-small{padding:8px}.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-shape-brand.small{padding:8px}.duet-icon.duet-icon-shape-brand.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-shape-brand.medium{padding:12px}.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg{width:24px;height:24px}.duet-icon.duet-icon-shape-brand.large{padding:16px}.duet-icon.duet-icon-shape-brand.large .duet-icon-svg{width:30px;height:30px}.duet-icon.duet-icon-shape-brand.x-large{padding:20px}.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.duet-icon-shape-brand.xx-large{padding:24px}.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.duet-icon-shape-brand.xxx-large{padding:36px}.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg{width:72px;height:72px}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-20deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;fill:currentColor}";export{h as duet_icon}
|
|
4
|
+
import{E as t,r as e,h as i,H as d,g as n}from"./p-6df2b029.js";import{i as o}from"./p-a58bd561.js";import{g as a,r}from"./p-7a66b632.js";import"./p-03f6f09a.js";const s=t=>{if("script"===t.nodeName.toLowerCase())return!1;for(let e=0;e<t.attributes.length;e++)if(0===t.attributes[e].name.toLowerCase().indexOf("on"))return!1;if(t.children)for(let e=0;e<t.children.length;e++)if(!s(t.children[e]))return!1;return!0},u={};const h=class{constructor(t){e(this,t),this.svgContent=void 0,this.theme="",this.icon=void 0,this.src=void 0,this.name="action-add",this.margin="auto",this.responsive=!0,this.color="",this.background="",this.backgroundOpacity=1,this.backgroundRotation=0,this.size="medium",this.outline="",this.shape="circle"}componentWillLoad(){o(this),this.src&&this.icon&&console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src),this.loadIcon()}async loadIcon(){if(this.icon)return void(this.svgContent=this.icon);const e=this.src?this.src:`${t.cdnURIProd}/icons/${t.duetIconVersion}/lib/assets/${this.name}.svg`;try{this.svgContent=await function(t){if(u[t])return u[t];const e=async function(){const e=await fetch(t);if(!e.ok)throw new Error(`SVG request failed: ${e.status} ${e.statusText}`);const i=(t=>{if("undefined"==typeof document||!t)return;const e=document.createElement("div");e.innerHTML=t;for(let t=e.childNodes.length-1;t>=0;t--)"svg"!==e.childNodes[t].nodeName.toLowerCase()&&e.removeChild(e.childNodes[t]);return e.firstElementChild})(await e.text());if(!s(i))throw new Error("SVG validation failed");const d=document.createElement("div");return d.appendChild(i),d.innerHTML}();return u[t]=e}(e)}catch(t){console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${e}.`,t)}}render(){const t="currentColor"===this.color?"currentColor":a(this.color,this.theme)||a(this.outline,this.theme),e=this.backgroundRotation?{transform:`rotate(${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{},n=Object.assign({color:t,background:r(a(this.background,this.theme),this.backgroundOpacity),"border-color":a(this.outline,this.theme)},e),o=Object.assign({},this.backgroundRotation?{transform:`rotate(-${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{});return i(d,{class:{"duet-m-0":"none"===this.margin,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},i("span",{"aria-hidden":"true",style:n,class:{"duet-icon":!0,[this.size]:!0,"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background,["brand-rotated"===this.shape?"duet-icon-shape-brand":`duet-icon-shape-${this.shape}`]:!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme,"duet-icon-not-responsive":!this.responsive}},i("span",{"aria-hidden":"true",class:{"duet-icon-svg":!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme},innerHTML:this.svgContent,style:o})))}get element(){return n(this)}static get watchers(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}}};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;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg{width:16px;height:16px}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.auto .duet-icon-svg{width:100%;height:100%}.duet-icon.xxx-small .duet-icon-svg{width:7px;height:7px}.duet-icon.duet-icon-has-background.xxx-small{padding:6px}.duet-icon.duet-icon-has-outline.xxx-small{padding:4px}.duet-icon.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small{padding:8px}.duet-icon.duet-icon-has-outline.xx-small{padding:7px}.duet-icon.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-has-outline.x-small{padding:10px}.duet-icon.duet-icon-has-background.x-small{padding:12px}.duet-icon.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-has-background.small{padding:14px}.duet-icon.large .duet-icon-svg{width:30px;height:30px}.duet-icon.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.xxx-large .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){.duet-icon.xxx-large .duet-icon-svg{width:72px;height:72px}}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(20deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small{width:18px;height:15px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small{width:32px;height:30px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.small{width:36px;height:34px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium{width:48px;height:44px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.large{width:62px;height:56px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large{width:76px;height:68px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large{width:95px;height:86px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large{width:144px;height:130px;padding:0}.duet-icon.duet-icon-shape-brand.xxx-small{padding:0}.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg{width:0;height:0}.duet-icon.duet-icon-shape-brand.xx-small{padding:4px}.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-shape-brand.x-small{padding:8px}.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-shape-brand.small{padding:8px}.duet-icon.duet-icon-shape-brand.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-shape-brand.medium{padding:12px}.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg{width:24px;height:24px}.duet-icon.duet-icon-shape-brand.large{padding:16px}.duet-icon.duet-icon-shape-brand.large .duet-icon-svg{width:30px;height:30px}.duet-icon.duet-icon-shape-brand.x-large{padding:20px}.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.duet-icon-shape-brand.xx-large{padding:24px}.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.duet-icon-shape-brand.xxx-large{padding:36px}.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg{width:72px;height:72px}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-20deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;fill:currentColor}";export{h as duet_icon}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-ee38815c.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,r,a,o;return{setters:[function(e){t=e.r;n=e.h;r=e.H;a=e.g},function(e){o=e.i}],execute:function(){var i="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(225, 227, 230)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.negative{background:rgb(0, 119, 179)}.duet-toolbar.negative .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(228, 228, 230)}.duet-toolbar.duet-theme-turva.negative{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.negative .container{border-bottom:0}";var s=e("duet_toolbar",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){var e;var t=this.variation==="negative"?"negative":"default";return n(r,null,n("nav",{class:(e={"duet-toolbar":true,"duet-theme-turva":this.theme==="turva"},e[t]=true,e),"aria-label":this.accessibleLabel},n("div",{class:"container"},n("div",{class:"list",role:"list"},n("slot",{name:"left"})),n("div",{class:"list",role:"list"},n("slot",{name:"right"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=i}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import{r as e,c as t,h as a,H as i,g as o}from"./p-6df2b029.js";import{a as s}from"./p-115c79b6.js";import{f as l,t as n}from"./p-ed995372.js";import{i as r}from"./p-a58bd561.js";import{c as d}from"./p-5e59e970.js";import{i as c,s as p,u as h}from"./p-3624bad1.js";import{h as m}from"./p-796edee6.js";import{s as g}from"./p-0e052642.js";const u=class{constructor(a){e(this,a),this.duetToggle=t(this,"duetToggle",7),this.id=d("DuetCollapsible"),this.handleKeyDown=e=>{c(e)&&this.handleClick(e)},this.getFontSizeFromTokens=(e=this.headingSize)=>{if(e){const t=e.replace(/-/g,"_");return n[`font_size_${t}`]}return l},this.getEquivalentIconSize=(e=this.headingSize)=>{switch(e){case"x-small":case"small":case"medium":default:return"xx-small";case"large":return"x-small";case"x-large":return"small";case"xx-large":return"medium";case"xxx-large":return"x-large";case"xxxx-large":return"xxx-large"}},this.handleClick=e=>{e.preventDefault(),this.open=!this.open,this.duetToggle.emit({component:"duet-collapsible",originalEvent:e})},this.theme="",this.accessibleLabel=void 0,this.heading="",this.headingFullWidth=!1,this.centerHeading=!1,this.headingWeight="semibold",this.headingSize=void 0,this.headingLevel=void 0,this.margin="auto",this.open=!1}componentWillLoad(){r(this),this.hasAfterHeading=m(this.element,"after-heading")}connectedCallback(){p(this)}disconnectedCallback(){h(this)}async setFocus(e){this.nativeButton&&(this.element.classList.add("user-is-tabbing"),this.nativeButton.focus(e))}render(){const e=this.headingLevel?g(this.headingLevel):"div";return a(i,{class:{"duet-m-0":"none"===this.margin}},a(e,null,a("button",{class:{"duet-collapsible-heading":!0,"duet-collapsible-heading-centered":this.centerHeading,"duet-theme-turva":"turva"===this.theme,"duet-collapsible-normal-weight":"normal"===this.headingWeight,"has-after-heading":this.hasAfterHeading,"full-width":this.headingFullWidth},style:{"font-size":this.getFontSizeFromTokens()},role:"button",ref:e=>this.nativeButton=e,"aria-label":this.accessibleLabel,"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},a("div",{class:"duet-collapsible-heading-icon"},a("duet-icon",{margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary",size:this.getEquivalentIconSize(),icon:s.svg})),a("div",{class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading),this.hasAfterHeading&&a("div",{part:"duet-collapsible-after-heading"},a("slot",{name:"after-heading"})))),a("div",{id:this.id,class:{"duet-collapsible-content":!0,"duet-theme-turva":"turva"===this.theme},part:"duet-collapsible-content"},a("slot",null)))}get element(){return o(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}';export{u as duet_collapsible}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function c(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?i(e.value):r(e.value).then(c,a)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return u([e,t])}}function u(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(i=0)),i)try{if(n=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];r=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-ae31c909.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-b2716337.system.js"],(function(e){"use strict";var t,i,n,r,o,c,a,u,d;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.H;o=e.g},function(e){c=e.i},function(e){a=e.c},function(e){u=e.s;d=e.u}],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;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(207, 210, 212);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(207, 207, 209)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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:600;line-height:1rem;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(230, 242, 248);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}';var s=e("duet_chip",function(){function e(e){var n=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.chipId=a("DuetChip");this.enforceNoDisabledSelected=function(){if(n.disabled&&n.checked){console.error("Duet error: pre-selected chip may not be disabled");n.disabled=false}};this.popupSetUp=function(){var e=document.querySelector("duet-popup-menu#".concat(n.popup));if(e){n.popupElement=e;e.controller=n.element;var t=n.element.textContent;var i=n.value;if(!e.id){e.id="popup-menu"}e.addEventListener("duetToggle",(function(e){n.popupOpen=e.detail.open}));var r=function(){e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.active=false}))};e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.addEventListener("click",(function(o){var c;var a=(c=e.value)!==null&&c!==void 0?c:e.innerText;if(!e.active){r();e.active=true;n.element.textContent=e.innerText;n.value=a;n.checked=true}else{r();n.element.textContent=t;n.value=i;n.checked=false}n.emitChange(o);setTimeout((function(){if(n.popupElement.isOpen()){n.popupElement.hide()}}))}))}))}};this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.emitChange=function(e){n.duetChange.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onFilterChange=function(e){n.checked=!n.checked;n.emitChange(e)};this.onRadioChange=function(e){var t=n.focusableElement;var i=t.checked;n.checked=i;n.emitChange(e)};this.onFilterClick=function(e){if(n.disabled){e.stopPropagation();e.preventDefault();return}if(n.popupElement){e.stopPropagation();e.preventDefault();n.popupElement.toggle()}};this.onRemoveClick=function(e){e.stopPropagation();e.preventDefault();n.element.remove()};this.focus=false;this.popupElement=undefined;this.popupOpen=undefined;this.accessibleLabel=undefined;this.variation="button";this.size="medium";this.popup=undefined;this.icon="";this.theme="";this.identifier=undefined;this.value=undefined;this.name=undefined;this.checked=false;this.disabled=false;this.accessibleExpanded=undefined;this.accessiblePopup="false"}e.prototype.clearOtherRadioButtons=function(){var e=this;if(this.variation==="radio"&&this.checked){var t=document.querySelectorAll('duet-chip[variation="radio"][name="'.concat(this.name,'"]'));t.forEach((function(t){if(t!==e.element){t.checked=false}}))}};e.prototype.componentWillLoad=function(){c(this);this.popupSetUp();this.enforceNoDisabledSelected()};e.prototype.connectedCallback=function(){u(this)};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.getAccessibleExpanded=function(){if(this.accessibleExpanded!=null){return(!!this.accessibleExpanded).toString()}if(this.popupElement){return this.popupOpen?"true":"false"}return undefined};e.prototype.getAccessiblePopup=function(){if(this.popupElement){return"true"}else{return this.accessiblePopup!=null?this.accessiblePopup.toString():undefined}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.focusableElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e;var t=this;var i;var o=this.identifier||this.chipId;var c=(e={"duet-chip-container":true},e["duet-chip-".concat(this.variation)]=true,e["duet-chip-focus"]=this.focus,e["duet-chip-has-icon"]=!!this.icon,e["duet-chip-has-popup"]=this.variation==="filter"&&!!this.popupElement,e["duet-theme-turva"]=this.theme==="turva",e["duet-chip-filter-checked"]=this.variation==="filter"&&this.checked,e["duet-chip-radio-checked"]=this.variation==="radio"&&this.checked,e["duet-chip-filter-popup-open"]=this.popupOpen,e["duet-chip-disabled"]=this.disabled,e[this.size]=true,e);var a={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return t.focusableElement=e}};return n(r,null,this.variation==="button"&&n("span",{class:c},n("button",Object.assign({id:o,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":undefined,name:this.name,value:this.value,onClick:this.disabled?function(e){return e.stopPropagation()}:undefined},a),n("span",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",null))),this.variation==="input"&&n("span",{class:c},n("button",Object.assign({id:o,class:"duet-chip-input-button","aria-label":this.accessibleLabel},a),n("span",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",null)),n("button",{class:"duet-chip-remove-button",onClick:this.onRemoveClick},n("duet-icon",{name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&n("span",{class:c},n("input",Object.assign({"aria-haspopup":this.getAccessiblePopup(),"aria-controls":(i=this.popupElement)===null||i===void 0?void 0:i.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,id:o,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},a)),n("label",{htmlFor:o},this.icon&&n("span",{class:"duet-chip-icon-container"},n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",null),this.popupElement&&n("span",{class:"duet-chip-popup-disclosure"},n("duet-icon",{name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&n("span",{class:c},n("input",Object.assign({"aria-disabled":this.disabled?"true":undefined,id:o,type:"radio",name:this.name,value:this.value,checked:this.checked,onChange:this.onRadioChange,onClick:this.disabled?function(e){return e.preventDefault()}:undefined},a)),n("label",{htmlFor:o},this.icon&&n("span",{class:"duet-chip-icon-container"},n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return e}());s.style=h}}}));
|
|
4
|
+
*/System.register(["./p-ee38815c.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-b2716337.system.js"],(function(e){"use strict";var t,i,n,r,o,c,a,u,d;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.H;o=e.g},function(e){c=e.i},function(e){a=e.c},function(e){u=e.s;d=e.u}],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;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(207, 210, 212);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(207, 207, 209)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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:600;line-height:1rem;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(230, 242, 248);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}';var s=e("duet_chip",function(){function e(e){var n=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.chipId=a("DuetChip");this.enforceNoDisabledSelected=function(){if(n.disabled&&n.checked){console.error("Duet error: pre-selected chip may not be disabled");n.disabled=false}};this.popupSetUp=function(){var e=document.querySelector("duet-popup-menu#".concat(n.popup));if(e){n.popupElement=e;e.controller=n.element;var t=n.element.textContent;var i=n.value;if(!e.id){e.id="popup-menu"}e.addEventListener("duetToggle",(function(e){n.popupOpen=e.detail.open}));var r=function(){e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.active=false}))};e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.addEventListener("click",(function(o){var c;var a=(c=e.value)!==null&&c!==void 0?c:e.innerText;if(!e.active){r();e.active=true;n.element.textContent=e.innerText;n.value=a;n.checked=true}else{r();n.element.textContent=t;n.value=i;n.checked=false}n.emitChange(o);setTimeout((function(){if(n.popupElement.isOpen()){n.popupElement.hide()}}))}))}))}};this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.emitChange=function(e){n.duetChange.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onFilterChange=function(e){n.checked=!n.checked;n.emitChange(e)};this.onRadioChange=function(e){var t=n.focusableElement;var i=t.checked;n.checked=i;n.emitChange(e)};this.onFilterClick=function(e){if(n.disabled){e.stopPropagation();e.preventDefault();return}if(n.popupElement){e.stopPropagation();e.preventDefault();n.popupElement.toggle()}};this.onRemoveClick=function(e){e.stopPropagation();e.preventDefault();n.element.remove()};this.focus=false;this.popupElement=undefined;this.popupOpen=undefined;this.accessibleLabel=undefined;this.variation="button";this.size="medium";this.popup=undefined;this.icon="";this.theme="";this.identifier=undefined;this.value=undefined;this.name=undefined;this.checked=false;this.disabled=false;this.accessibleExpanded=undefined;this.accessiblePopup="false"}e.prototype.clearOtherRadioButtons=function(){var e=this;if(this.variation==="radio"&&this.checked){var t=document.querySelectorAll('duet-chip[variation="radio"][name="'.concat(this.name,'"]'));t.forEach((function(t){if(t!==e.element){t.checked=false}}))}};e.prototype.componentWillLoad=function(){c(this);this.popupSetUp();this.enforceNoDisabledSelected()};e.prototype.connectedCallback=function(){u(this)};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.getAccessibleExpanded=function(){if(this.accessibleExpanded!=null){return(!!this.accessibleExpanded).toString()}if(this.popupElement){return this.popupOpen?"true":"false"}return undefined};e.prototype.getAccessiblePopup=function(){if(this.popupElement){return"true"}else{return this.accessiblePopup!=null?this.accessiblePopup.toString():undefined}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.focusableElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e;var t=this;var i;var o=this.identifier||this.chipId;var c=(e={"duet-chip-container":true},e["duet-chip-".concat(this.variation)]=true,e["duet-chip-focus"]=this.focus,e["duet-chip-has-icon"]=!!this.icon,e["duet-chip-has-popup"]=this.variation==="filter"&&!!this.popupElement,e["duet-theme-turva"]=this.theme==="turva",e["duet-chip-filter-checked"]=this.variation==="filter"&&this.checked,e["duet-chip-radio-checked"]=this.variation==="radio"&&this.checked,e["duet-chip-filter-popup-open"]=this.popupOpen,e["duet-chip-disabled"]=this.disabled,e[this.size]=true,e);var a={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return t.focusableElement=e}};return n(r,null,this.variation==="button"&&n("span",{class:c},n("button",Object.assign({id:o,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":undefined,name:this.name,value:this.value,onClick:this.disabled?function(e){return e.stopPropagation()}:undefined},a),n("span",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",null))),this.variation==="input"&&n("span",{class:c},n("button",Object.assign({id:o,class:"duet-chip-input-button","aria-label":this.accessibleLabel},a),n("span",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",null)),n("button",{class:"duet-chip-remove-button",onClick:this.onRemoveClick},n("duet-icon",{name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&n("span",{class:c},n("input",Object.assign({"aria-haspopup":this.getAccessiblePopup(),"aria-controls":(i=this.popupElement)===null||i===void 0?void 0:i.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,id:o,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},a)),n("label",{htmlFor:o},this.icon&&n("span",{class:"duet-chip-icon-container"},n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",null),this.popupElement&&n("span",{class:"duet-chip-popup-disclosure"},n("duet-icon",{name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&n("span",{class:c},n("input",Object.assign({"aria-disabled":this.disabled?"true":undefined,id:o,type:"radio",name:this.name,value:this.value,checked:this.checked,onChange:this.onRadioChange,onClick:this.disabled?function(e){return e.preventDefault()}:undefined},a)),n("label",{htmlFor:o},this.icon&&n("span",{class:"duet-chip-icon-container"},n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return e}());s.style=h}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(t,n,i,e){function o(t){return t instanceof i?t:new i((function(n){n(t)}))}return new(i||(i=Promise))((function(i,r){function a(t){try{s(e.next(t))}catch(t){r(t)}}function u(t){try{s(e["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):o(t.value).then(a,u)}s((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},e,o,r,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(n){return s([t,n])}}function s(u){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(i=0)),i)try{if(e=1,o&&(r=u[0]&2?o["return"]:u[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,u[1])).done)return r;if(o=0,r)u=[u[0]&2,r.value];switch(u[0]){case 0:case 1:r=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;o=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){i.label=u[1];break}if(u[0]===6&&i.label<r[1]){i.label=r[1];r=u;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(u);break}if(r[2])i.ops.pop();i.trys.pop();continue}u=n.call(t,i)}catch(t){u=[6,t];o=0}finally{e=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-
|
|
4
|
+
*/System.register(["./p-ee38815c.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-b2716337.system.js","./p-224f6c46.system.js","./p-41ba30b7.system.js","./p-6ef75455.system.js","./p-52e38899.system.js"],(function(t){"use strict";var n,i,e,o,r,a,u,s,c,d,h,b,f,l,p;return{setters:[function(t){n=t.r;i=t.c;e=t.h;o=t.H;r=t.g},function(t){a=t.i},function(t){u=t.c},function(t){s=t.d},function(t){c=t.i},function(t){d=t.g;h=t.c;b=t.d},function(t){f=t.c;l=t.g;p=t.s},function(){},function(){}],execute:function(){var m="*,*::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)}";var g=t("duet_action_button",function(){function t(t){var e=this;n(this,t);this.duetActionEvent=i(this,"duetActionEvent",6);this.listId=u("duet-action-button");this.emitPageEvent=s((function(t){e.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:e.actionId,name:e.actionName,meta:e.actionMeta,id:e.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName="default-action";this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=d(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(c(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){var t="";if(typeof this.accessibleTitle==="string"){t=this.accessibleTitle}if(this.accessibleTitle===true){t=f("".concat(this.actionName))}return t};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var n=this;var i=this.color==="currentColor"?"currentColor":l(this.color,this.theme);var r=l(this.background,this.theme);var a=r?p(r,-.1):r;var u=r?"\n button.duet-action-button {\n background: ".concat(r," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(a," !important;\n }\n "):"";var s={color:i,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var c={ref:function(t){return n.nativeButton=t},part:"button",style:s,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:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return e(o,{onKeyDown:function(t){return n.onKeyboardDown(t)}},e("style",{innerHTML:u}),this.url&&!this.disabled?e("a",Object.assign({},c,{href:this.url}),e("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):e("button",Object.assign({},c,{onClick:function(t){return n.onMouseHandler(t)}}),e("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),e("duet-visually-hidden",null,e("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());g.style=m}}}));
|
|
@@ -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-6df2b029.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
|
-
import{r as t,h as e,H as a,g as i}from"./p-
|
|
4
|
+
import{r as t,h as e,H as a,g as i}from"./p-6df2b029.js";import{i as o}from"./p-a58bd561.js";import{a as n,c as s,d as r}from"./p-2e36d5bf.js";import"./p-0e052642.js";const d=class{constructor(e){t(this,e),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=n(),this.theme="",this.margin="auto",this.image=void 0,this.name=void 0,this.description=void 0,this.email=void 0,this.phone=void 0,this.buttonText=void 0,this.buttonIcon="form-date",this.buttonUrl=void 0}componentWillLoad(){o(this)}connectedCallback(){s(this)}disconnectedCallback(){r(this)}render(){const t="turva"===this.theme?"turva":"default";return e(a,{class:{"duet-m-0":"none"===this.margin}},e("div",{class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?e("img",{class:"image",src:this.image,alt:this.name}):e("div",null),e("div",null,this.name&&e("duet-heading",{class:"name",level:"h3",margin:"none",theme:t},this.name),this.description&&e("duet-paragraph",{class:"description",margin:"none",theme:t},this.description),this.email&&e("div",{class:"email"},e("duet-icon",{name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:t}),e("duet-link",{url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:t},this.email)),this.phone&&e("div",{class:"phone"},e("duet-icon",{name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:t}),e("duet-link",{url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:t},this.phone))),this.buttonUrl&&this.buttonText&&e("div",{class:"call-to-action"},e("duet-button",{variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:t},this.buttonText)),e("div",null),e("slot",null)))}get element(){return i(this)}};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;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns: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:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';export{d as duet_contact_card}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
const _="rgb(247, 178, 40)",r="rgb(101, 119, 135)",a="rgb(245, 248, 250)",o="rgb(211, 36, 131)",e="rgb(0, 119, 179)",l="rgb(54, 74, 129)",i="rgb(0, 135, 90)",t="rgb(11, 114, 136)",s="rgb(243, 249, 252)",c="rgb(230, 242, 248)",g="rgb(0, 161, 212)",x="rgb(0, 77, 128)",d="rgb(255, 255, 255)",m="rgb(122, 1, 196)",p="rgb(144, 149, 153)",n="rgb(225, 227, 230)",u="rgb(0, 41, 77)",y="rgb(168, 1, 78)",b="rgb(205, 229, 241)",h="rgb(213, 66, 3)",v="rgb(207, 210, 212)",z="rgb(222, 35, 98)",f="rgb(68, 68, 69)",w="rgb(245, 245, 247)",k="rgb(161, 10, 78)",q="rgb(198, 12, 48)",S="rgb(23, 28, 58)",I="rgb(8, 135, 78)",U="rgb(252, 243, 244)",j="rgb(199, 12, 112)",A="rgb(169, 69, 124)",E="rgb(249, 230, 234)",B="rgb(148, 9, 37)",C="rgb(255, 255, 255)",F="rgb(116, 116, 117)",H="rgb(228, 228, 230)",M="rgb(178, 180, 179)",R="rgb(23, 28, 58)",O="rgb(244, 207, 214)",D="rgb(9, 129, 148)",G="rgb(207, 207, 209)",J="rgb(224, 42, 13)",K="rgb(250, 164, 15)",L="rgb(192, 101, 247)",N="rgb(0, 105, 191)",P="rgb(19, 120, 53)",Q="rgb(179, 60, 24)",T="rgb(13, 163, 166)",V="rgb(122, 1, 196)",W="rgb(11, 114, 136)",X="rgb(0, 155, 204)",Y="rgb(179, 137, 24)",Z="rgb(27, 171, 75)",$="rgb(128, 98, 17)",__="rgb(255, 86, 34)",r_="rgb(0, 41, 77)",a_="rgb(245, 76, 154)",o_="rgb(194, 21, 101)",e_="-0.01rem",l_="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",i_="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",t_="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",s_="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",c_="4.5rem",g_="3rem",x_="2.25rem",d_="1.5rem",m_="1.25rem",p_="1rem",n_="0.875rem",u_="0.75rem",y_="12px",b_="16px",h_="20rem",v_="0 2px 10px 0 rgba(117, 117, 117, 0.13)",z_="0 0 0 1px #171c3a",f_="0 2px 6px 0 rgba(0, 41, 77, 0.07)",w_="0 0 0 1px #0077b3",k_="0 2px 10px 0 rgba(0, 41, 77, 0.07)",q_="0 0 0 1px #747475",S_="0 0 0 1px #e55039",I_="0 0 0 1px #909599",U_="0 0 0 1px #de2362",j_="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",A_="0 2px 20px 0 rgba(0, 0, 0, 0.2)",E_="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",B_="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a",C_="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3",F_="0 2px 10px 0 rgba(117, 117, 117, 0.15)",H_="0 2px 10px 0 rgba(0, 41, 77, 0.1)",M_="0 2px 6px 0 rgba(117, 117, 117, 0.13)",R_="20px",O_="12px",D_="16px",G_="36px",J_="72px",K_="94px",L_="48px",N_="28px",P_="48px",Q_="40px",T_="8rem",V_="4rem",W_="72px",X_="36px",Y_="10px",Z_="30px",$_="3rem",_r="30px",rr="1110px",ar="48px",or="16px",er="24px",lr="20px",ir="0.85",tr="0.75",sr="0.50",cr="0.30",gr="-999999",xr="1.25",dr="300ms ease",mr="600ms ease",pr="'(min-width: 106.25em)'",nr="'(min-width: 64.0625em)'",ur="'(min-width: 48em)'",yr="'(min-width: 62em)'",br="'(min-width: 76.25em)'",hr="'(max-width: 35.9375em)'",vr="'(max-width: 20.5em)'",zr="'(min-width: 36em)'",fr="'(max-width: 22.5em)'",wr=Object.freeze({__proto__:null,color_warning:_,color_gray_darker:r,color_gray_lighter:a,color_category_home:o,color_primary:e,color_category_vehicle:l,color_success:i,color_category_family:t,color_primary_lightest:s,color_primary_lighter:c,color_brand_blue:g,color_primary_dark:x,color_gray_lightest:d,color_category_finance:m,color_gray_dark:p,color_gray_light:n,color_secondary:u,color_category_pet:y,color_primary_light:b,color_category_travel:h,color_gray:v,color_danger:z,color_gray_darker_turva:f,color_gray_lighter_turva:w,color_category_home_turva:k,color_primary_turva:q,color_category_vehicle_turva:S,color_success_turva:I,color_primary_lightest_turva:U,color_category_family_turva:j,color_category_union_turva:A,color_primary_lighter_turva:E,color_primary_dark_turva:B,color_gray_lightest_turva:C,color_gray_dark_turva:F,color_gray_light_turva:H,color_brand_gray_turva:M,color_secondary_turva:R,color_primary_light_turva:O,color_category_travel_turva:D,color_gray_turva:G,color_danger_turva:J,color_warning_turva:K,color_data_07:L,color_data_08:N,color_data_09:P,color_data_10:Q,color_data_11:T,color_data_01:V,color_data_12:W,color_data_02:X,color_data_13:Y,color_data_03:Z,color_data_14:$,color_data_04:__,color_data_15:r_,color_data_05:a_,color_data_06:o_,font_weight_extra_bold:"800",letter_spacing_heading:e_,font_family_heading_turva:l_,font_family_text_turva:i_,font_family_heading:t_,font_family_text:s_,font_weight_bold:"700",font_weight_normal:"400",font_weight_semi_bold:"600",font_size_xxxx_large:c_,font_size_xxx_large:g_,font_size_xx_large:x_,font_size_x_large:d_,font_size_large:m_,font_size_medium:p_,font_size_small:n_,font_size_x_small:u_,radius_sharp:"0",radius_default:"4px",radius_medium:"8px",radius_intermediate:y_,radius_large:b_,radius_circle:"50%",radius_pill:h_,shadow_tooltip_turva:v_,shadow_focus_input_turva:z_,shadow_default:f_,shadow_focus_input:w_,shadow_tooltip:k_,shadow_hover_input_turva:q_,shadow_error_turva:S_,shadow_hover_input:I_,shadow_error:U_,shadow_card_turva:j_,shadow_modal:A_,shadow_card:E_,shadow_focus_turva:B_,shadow_focus:C_,shadow_hover_turva:F_,shadow_hover:H_,shadow_default_turva:M_,space_xx_small:"4px",space_large:R_,space_x_small:"8px",space_xxx_small:"2px",space_small:O_,space_medium:D_,space_xx_large:G_,space_xxxx_large:J_,space_xxxxx_large:K_,space_xxx_large:L_,space_x_large:N_,size_icon_xx_large:P_,size_form_border:"1px",size_step_medium:Q_,size_button_min_width:T_,size_header:V_,size_icon_xxx_large:W_,size_icon_x_large:X_,size_icon_xx_small:Y_,size_step_small:Z_,size_navigation:$_,size_icon_large:_r,size_layout_max_width:rr,size_tappable_square:ar,size_icon_x_small:or,size_medium_border:"2px",size_icon_xxx_small:"7px",size_button_border:"1px",size_button_tiny_border:"1px",size_icon_medium:er,size_icon_small:lr,opacity_85:ir,opacity_75:tr,opacity_50:sr,opacity_30:cr,z_index_mask_buttons:"250",z_index_dropdown:"600",z_index_spinner:"800",z_index_default:"1",z_index_toast:"500",z_index_popup:"950",z_index_modal:"900",z_index_sticky:"300",z_index_masked:"100",z_index_deep:gr,z_index_overlay:"700",z_index_mask:"200",z_index_header:"400",line_height_medium:"1.5",line_height_small:xr,line_height_x_small:"1.1",transition_quickly:dr,transition_slowly:mr,media_query_xxx_large:pr,media_query_x_large:nr,media_query_medium:ur,media_query_large:yr,media_query_xx_large:br,media_query_x_small:hr,media_query_xxx_small:vr,media_query_small:zr,media_query_xx_small:fr,default:{color_warning:_,color_gray_darker:r,color_gray_lighter:a,color_category_home:o,color_primary:e,color_category_vehicle:l,color_success:i,color_category_family:t,color_primary_lightest:s,color_primary_lighter:c,color_brand_blue:g,color_primary_dark:x,color_gray_lightest:d,color_category_finance:m,color_gray_dark:p,color_gray_light:n,color_secondary:u,color_category_pet:y,color_primary_light:b,color_category_travel:h,color_gray:v,color_danger:z,color_gray_darker_turva:f,color_gray_lighter_turva:w,color_category_home_turva:k,color_primary_turva:q,color_category_vehicle_turva:S,color_success_turva:I,color_primary_lightest_turva:U,color_category_family_turva:j,color_category_union_turva:A,color_primary_lighter_turva:E,color_primary_dark_turva:B,color_gray_lightest_turva:C,color_gray_dark_turva:F,color_gray_light_turva:H,color_brand_gray_turva:M,color_secondary_turva:R,color_primary_light_turva:O,color_category_travel_turva:D,color_gray_turva:G,color_danger_turva:J,color_warning_turva:K,color_data_07:L,color_data_08:N,color_data_09:P,color_data_10:Q,color_data_11:T,color_data_01:V,color_data_12:W,color_data_02:X,color_data_13:Y,color_data_03:Z,color_data_14:$,color_data_04:__,color_data_15:r_,color_data_05:a_,color_data_06:o_,font_weight_extra_bold:"800",letter_spacing_heading:e_,font_family_heading_turva:l_,font_family_text_turva:i_,font_family_heading:t_,font_family_text:s_,font_weight_bold:"700",font_weight_normal:"400",font_weight_semi_bold:"600",font_size_xxxx_large:c_,font_size_xxx_large:g_,font_size_xx_large:x_,font_size_x_large:d_,font_size_large:m_,font_size_medium:p_,font_size_small:n_,font_size_x_small:u_,radius_sharp:"0",radius_default:"4px",radius_medium:"8px",radius_intermediate:y_,radius_large:b_,radius_circle:"50%",radius_pill:h_,shadow_tooltip_turva:v_,shadow_focus_input_turva:z_,shadow_default:f_,shadow_focus_input:w_,shadow_tooltip:k_,shadow_hover_input_turva:q_,shadow_error_turva:S_,shadow_hover_input:I_,shadow_error:U_,shadow_card_turva:j_,shadow_modal:A_,shadow_card:E_,shadow_focus_turva:B_,shadow_focus:C_,shadow_hover_turva:F_,shadow_hover:H_,shadow_default_turva:M_,space_xx_small:"4px",space_large:R_,space_x_small:"8px",space_xxx_small:"2px",space_small:O_,space_medium:D_,space_xx_large:G_,space_xxxx_large:J_,space_xxxxx_large:K_,space_xxx_large:L_,space_x_large:N_,size_icon_xx_large:P_,size_form_border:"1px",size_step_medium:Q_,size_button_min_width:T_,size_header:V_,size_icon_xxx_large:W_,size_icon_x_large:X_,size_icon_xx_small:Y_,size_step_small:Z_,size_navigation:$_,size_icon_large:_r,size_layout_max_width:rr,size_tappable_square:ar,size_icon_x_small:or,size_medium_border:"2px",size_icon_xxx_small:"7px",size_button_border:"1px",size_button_tiny_border:"1px",size_icon_medium:er,size_icon_small:lr,opacity_85:ir,opacity_75:tr,opacity_50:sr,opacity_30:cr,z_index_mask_buttons:"250",z_index_dropdown:"600",z_index_spinner:"800",z_index_default:"1",z_index_toast:"500",z_index_popup:"950",z_index_modal:"900",z_index_sticky:"300",z_index_masked:"100",z_index_deep:gr,z_index_overlay:"700",z_index_mask:"200",z_index_header:"400",line_height_medium:"1.5",line_height_small:xr,line_height_x_small:"1.1",transition_quickly:dr,transition_slowly:mr,media_query_xxx_large:pr,media_query_x_large:nr,media_query_medium:ur,media_query_large:yr,media_query_xx_large:br,media_query_x_small:hr,media_query_xxx_small:vr,media_query_small:zr,media_query_xx_small:fr}});export{yr as a,zr as b,br as c,p_ as f,ur as m,wr as t}
|
|
@@ -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.39"});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.41"});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,h as n,H as r,g as e}from"./p-
|
|
4
|
+
import{r as t,h as n,H as r,g as e}from"./p-6df2b029.js";const a=class{constructor(n){t(this,n)}render(){return n(r,{class:"duet-visually-hidden"},n("slot",null))}get element(){return e(this)}};a.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";export{a as duet_visually_hidden}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(t,o,e,i){function s(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,c){function b(t){try{n(i.next(t))}catch(t){c(t)}}function u(t){try{n(i["throw"](t))}catch(t){c(t)}}function n(t){t.done?e(t.value):s(t.value).then(b,u)}n((i=i.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},i,s,c,b;return b={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(b[Symbol.iterator]=function(){return this}),b;function u(t){return function(o){return n([t,o])}}function n(u){if(i)throw new TypeError("Generator is already executing.");while(b&&(b=0,u[0]&&(e=0)),e)try{if(i=1,s&&(c=u[0]&2?s["return"]:u[0]?s["throw"]||((c=s["return"])&&c.call(s),0):s.next)&&!(c=c.call(s,u[1])).done)return c;if(s=0,c)u=[u[0]&2,c.value];switch(u[0]){case 0:case 1:c=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;s=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(c=e.trys,c=c.length>0&&c[c.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!c||u[1]>c[0]&&u[1]<c[3])){e.label=u[1];break}if(u[0]===6&&e.label<c[1]){e.label=c[1];c=u;break}if(c&&e.label<c[2]){e.label=c[2];e.ops.push(u);break}if(c[2])e.ops.pop();e.trys.pop();continue}u=o.call(t,e)}catch(t){u=[6,t];s=0}finally{i=c=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-ae31c909.system.js","./p-50f4bca2.system.js","./p-41982d26.system.js","./p-b2716337.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var o,e,i,s,c,b,u,n,r,d,a,m,l,h,x,f,v,p;return{setters:[function(t){o=t.h;e=t.F;i=t.r;s=t.c;c=t.H;b=t.g},function(t){u=t.i},function(t){n=t.d},function(t){r=t.j;d=t.f;a=t.o;m=t.b;l=t.c},function(t){h=t.g;x=t.a;f=t.c;v=t.d},function(t){p=t.p}],execute:function(){var g=function(t){var i=t.item,s=t.search,c=s===void 0?"":s,b=t.selected;var u=c!==""?new RegExp("("+c.split(" ").join("|")+")","gi"):undefined;return o(e,null,b&&o("duet-icon",{class:"option-icon",name:"messaging-checked",size:"xx-small",margin:"none"}),u?o("span",{class:"option-container","aria-hidden":"true"},o("span",{innerHTML:i.name.replace(u,'<span class="highlight">$&</span>')})):i.name,i.tags&&o("span",{class:"option-tags"},i.tags.join(", ")))};var w=function(t){var e=t.item,i=t.active,s=t.total,c=t.selected,b=t.label,u=b===void 0?undefined:b,n=t.clickHandler,r=n===void 0?function(t){t.preventDefault()}:n,d=t.keyHandler,a=d===void 0?function(t){t.preventDefault()}:d,m=t.search;return o("li",{class:{"list-item":true,option:true,active:i,selected:c},id:i?"active_item":"","data-index":e.id,"aria-selected":i?"true":undefined,"aria-current":c?"true":undefined,role:"option","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")")},o("a",{tabindex:"-1",onClick:function(t){return r(t)},onKeyUp:function(t){return a(t)},class:"option-link","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")"),"aria-hidden":"true"},o(g,{item:e,search:m,selected:c})))};var y='.sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{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-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.selected.sc-duet-combobox{background:rgb(244, 207, 214)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox{position:absolute;top:calc(100% - 12px);height:0;overflow:hidden;background:rgb(255, 255, 255);border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);opacity:0}.duet-combobox-list.open.sc-duet-combobox{z-index:700;display:block;height:auto;opacity:1}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox{max-height:200px;padding:0.75rem 0;margin:0;overflow-y:scroll;font-weight:600;list-style:none;cursor:pointer;scroll-behavior:smooth}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox{padding:4px 0}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected){padding-left:16px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected) .highlight.sc-duet-combobox{text-decoration:underline}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{float:right;padding-right:0.875rem;font-weight:400;color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.sc-duet-combobox{padding-left:0;background:rgb(205, 229, 241)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-icon.sc-duet-combobox{padding:0 8px 0 8px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}';var _=t("duet_combobox",function(){function t(t){var o=this;i(this,t);this.duetChange=s(this,"duetChange",3);this.resizeObserver=new ResizeObserver(n((function(t){var e,i;if((t===null||t===void 0?void 0:t.length)===1){var s=(i=(e=t[0])===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.getBoundingClientRect().width;o.listContainer.style.width="".concat(s+1,"px")}}),100));this.processedItems=null;this.inputWidth=0;this.inputValue="";this.selectionMsg="";this.listOpen=false;this.selectedItems=new Set;this.activeItem=undefined;this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}, ({current} of {total})",itemFiltered:"{name}, ({current} of {total}, {hiddenItems} filtered)"},fi:{heading:"Valitse:",item:"{name}, ({current}/{total})",itemFiltered:"{name}, ({current}/{total}, {hiddenItems} suodatettu)"},sv:{heading:"Välj:",item:"{name}, ({current} av {total})",itemFiltered:"{name}, ({current} av {total}, {hiddenItems} filtrerade)"}};this.accessibleLabels=h(this.accessibleLabelDefaults,x());this.theme="";this.force=false;this.items=undefined;this.formatter=function(t){return t&&t.name?t.name:""};this.value=undefined;this.minCharacters=1;this.openListOnClick=false;this.filterType="startsWith"}t.prototype.activeItemHandler=function(t){this.input.accessibleActiveDescendant=this.listOpen&&(t||t===0)?"active_item":""};t.prototype.handleDocumentClick=function(t){var o=this;var e=t.composedPath();var i=e.every((function(t){return t!==o.element}));if(i){this.updateInputText(true,true);this.listOpen=false}};t.prototype.formatItem=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(o){return[2,this.formatter(t)]}))}))};t.prototype.processItems=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.items=this.processedItems=p(this.items);return[4,this.updateInputText()];case 1:t.sent();return[2]}}))}))};t.prototype.processValue=function(){return __awaiter(this,void 0,void 0,(function(){var t;var o=this;return __generator(this,(function(e){if(this.value){t=this.items.find((function(t){return t.value===o.value}));this.updateSelectedItems(t.id)}return[2]}))}))};t.prototype.processListOpenChange=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.openListOnClick){this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"}return[2]}))}))};t.prototype.componentWillLoad=function(){u(this)};t.prototype.connectedCallback=function(){var t=this;this.items=this.processedItems=p(this.items);this.input=this.element.querySelector("duet-input");this.input.addEventListener("duetChange",this.updateInputValue.bind(this));this.input.addEventListener("click",(function(){if(!t.openListOnClick){t.inputValue.length>=t.minCharacters?t.listOpen=true:t.listOpen=false}else{t.listOpen=!t.listOpen}}));this.element.addEventListener("keydown",this.handleInputKeyDownEvent.bind(this));f(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"});this.input.accessibleAutocomplete="list";this.input.accessibleControls="duet-combobox-list-element";this.processListOpenChange()};t.prototype.disconnectedCallback=function(){var t=this;this.input.removeEventListener("duetChange",this.updateInputValue.bind(this));this.input.removeEventListener("click",(function(){return t.inputValue.length?t.listOpen=true:t.listOpen=false}));this.element.removeEventListener("keydown",this.handleInputKeyDownEvent.bind(this));this.listElement.removeEventListener("click",(function(t){t.stopPropagation()}));this.resizeObserver.disconnect();v(this)};t.prototype.componentDidLoad=function(){this.resizeObserver.observe(this.input);this.listElement.addEventListener("click",(function(t){t.stopPropagation()}));this.processValue()};t.prototype.onListClick=function(t,o){t.preventDefault();this.updateSelectedItems(o.id,true);this.listOpen=false;return this.listOpen};t.prototype.shouldListBeFiltered=function(){var t=this;if(this.selectedItems.size&&this.input.value===this.inputValue){var o=this.items.filter((function(o){return t.selectedItems.has(o.id)}));return!(this.formatter(o).toLowerCase()===this.input.value.toLowerCase())}return true};t.prototype.returnFilteredOrNonFiltered=function(){return this.processedItems?this.shouldListBeFiltered()?this.getFilteredItems():this.sortFilteredItems(this.processedItems):[]};t.prototype.updateSelectedItems=function(t,o){return __awaiter(this,void 0,void 0,(function(){var e;var i=this;return __generator(this,(function(s){switch(s.label){case 0:this.selectedItems.clear();if(this.selectedItems){if(this.selectedItems.has(t)){this.selectedItems.delete(t)}else{this.selectedItems.add(t)}}if(o){e=this.selectedItems.size===0?[]:this.items.filter((function(t){return i.selectedItems.has(t.id)}));this.duetChange.emit({value:e[0].value,item:e[0],component:"duet-combobox"})}return[4,this.updateInputText()];case 1:s.sent();return[2]}}))}))};t.prototype.updateInputText=function(t,o){if(t===void 0){t=false}if(o===void 0){o=false}return __awaiter(this,void 0,void 0,(function(){var e,i;var s=this;return __generator(this,(function(c){switch(c.label){case 0:e=this.selectedItems.size===0?[]:this.items.filter((function(t){return s.selectedItems.has(t.id)}));if(e.length===0&&this.selectedItems.size>0){this.selectedItems.clear();this.input.value="";this.value=undefined;this.activeItem=undefined}if(!(!o&&this.selectedItems.size===1))return[3,2];this.input.value="";i=this.input;return[4,this.formatItem(e[0])];case 1:i.value=c.sent();this.input.scrollLeft=this.input.scrollWidth;this.activeItem=undefined;this.value=e[0].value;c.label=2;case 2:if(t&&this.selectedItems.size===0){if(this.force){this.inputValue="";this.input.value=""}this.activeItem=undefined}this.listOpen=false;return[2]}}))}))};t.prototype.updateInputValue=function(t){var o;this.inputValue=t.detail.value;this.listOpen=String(this.inputValue).length>=this.minCharacters&&((o=this.getFilteredItems())===null||o===void 0?void 0:o.length)>0};t.prototype.handleInputKeyDownEvent=function(t){this.input.accessibleActiveDescendant=undefined;if(r(t)){t.preventDefault();this.selectActiveItem();this.updateInputText(false);this.listOpen=false;return}if(d(t)||a(t)){this.updateInputText(true);this.listOpen=false;return}var o=this.activeItem;if(m(t)){t.preventDefault();o=this.activeItem-1}else if(l(t)){t.preventDefault();o=this.listOpen?this.activeItem+1:this.activeItem;this.listOpen=true}if(l(t)||m(t)){var e=this.shouldListBeFiltered()?this.getFilteredItems():this.processedItems;if(o<0||!o){o=0}if(o>=e.length){o=e.length-1}this.input.accessibleActiveDescendant="active_item";this.activeItem=o;this.scrollToActive()}this.announceActive();return};t.prototype.selectActiveItem=function(){if(this.activeItem===undefined){return}var t=this.returnFilteredOrNonFiltered();var o=t[this.activeItem];this.updateSelectedItems(o.id,true)};t.prototype.announceActive=function(t){if(!t){t=this.returnFilteredOrNonFiltered()}if(this.activeItem===undefined||this.activeItem===-1){return}var o=t[this.activeItem];this.selectionMsg=structuredClone(this.formatLabel(o,t.length,this.items.length))};t.prototype.scrollToActive=function(){var t=this.listElement.querySelector(".active");if(t){t.scrollIntoView({behavior:"smooth",block:"center"})}};t.prototype.formatLabel=function(t,o,e){if(!t||e===undefined){return""}var i=o===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered;return i.replace("{name}",String(t.name)).replace("{current}",String(this.activeItem+1)).replace("{total}",String(o)).replace("{hiddenItems}",String(e-o))};t.prototype.getFilteredItems=function(){var t=this;var o=this.processedItems.filter((function(o){var e,i,s,c;return((e=String(o.value))===null||e===void 0?void 0:e.toLowerCase()[t.filterType]((i=t.inputValue)===null||i===void 0?void 0:i.toLowerCase()))||((s=String(o.name))===null||s===void 0?void 0:s.toLowerCase()[t.filterType]((c=t.inputValue)===null||c===void 0?void 0:c.toLowerCase()))||t.selectedItems.has(o.id)}));return this.sortFilteredItems(o)};t.prototype.sortFilteredItems=function(t){var o=this;if(t.length>0){t.filter((function(t){return o.selectedItems.has(t.id)})).forEach((function(o){var e=t.indexOf(o);t.splice(e,1);t.unshift(o)}))}return t};t.prototype.render=function(){var t;var e=this;var i=this.returnFilteredOrNonFiltered();return o(c,{role:"combobox","aria-expanded":this.listOpen?"true":"false","aria-owns":"duet-combobox-list-element","aria-haspopup":"listbox",class:(t={"duet-combobox":true},t["duet-theme-".concat(this.theme)]=true,t)},o("slot",null),o("div",{class:{"duet-combobox-list":true,open:this.listOpen},ref:function(t){return e.listContainer=t}},o("ul",{class:{"duet-combobox-listbox-open":this.listOpen,"duet-combobox-listbox":true},role:"listbox",ref:function(t){return e.listElement=t},id:"duet-combobox-list-element"},i.map((function(t,s){return o(w,{item:t,active:s===e.activeItem,selected:e.selectedItems.has(t.id),search:e.inputValue,total:i.length,clickHandler:function(o){return e.onListClick(o,t)},label:e.formatLabel(t,i.length,e.items.length)})})))))};Object.defineProperty(t.prototype,"element",{get:function(){return b(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{activeItem:["activeItemHandler"],items:["processItems"],value:["processValue"],listOpen:["processListOpenChange"]}},enumerable:false,configurable:true});return t}());_.style=y}}}));
|
|
4
|
+
*/System.register(["./p-ee38815c.system.js","./p-50f4bca2.system.js","./p-41982d26.system.js","./p-b2716337.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var o,e,i,s,c,b,u,n,r,d,a,m,l,h,x,f,v,p;return{setters:[function(t){o=t.h;e=t.F;i=t.r;s=t.c;c=t.H;b=t.g},function(t){u=t.i},function(t){n=t.d},function(t){r=t.j;d=t.f;a=t.o;m=t.b;l=t.c},function(t){h=t.g;x=t.a;f=t.c;v=t.d},function(t){p=t.p}],execute:function(){var g=function(t){var i=t.item,s=t.search,c=s===void 0?"":s,b=t.selected;var u=c!==""?new RegExp("("+c.split(" ").join("|")+")","gi"):undefined;return o(e,null,b&&o("duet-icon",{class:"option-icon",name:"messaging-checked",size:"xx-small",margin:"none"}),u?o("span",{class:"option-container","aria-hidden":"true"},o("span",{innerHTML:i.name.replace(u,'<span class="highlight">$&</span>')})):i.name,i.tags&&o("span",{class:"option-tags"},i.tags.join(", ")))};var w=function(t){var e=t.item,i=t.active,s=t.total,c=t.selected,b=t.label,u=b===void 0?undefined:b,n=t.clickHandler,r=n===void 0?function(t){t.preventDefault()}:n,d=t.keyHandler,a=d===void 0?function(t){t.preventDefault()}:d,m=t.search;return o("li",{class:{"list-item":true,option:true,active:i,selected:c},id:i?"active_item":"","data-index":e.id,"aria-selected":i?"true":undefined,"aria-current":c?"true":undefined,role:"option","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")")},o("a",{tabindex:"-1",onClick:function(t){return r(t)},onKeyUp:function(t){return a(t)},class:"option-link","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")"),"aria-hidden":"true"},o(g,{item:e,search:m,selected:c})))};var y='.sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{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-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.selected.sc-duet-combobox{background:rgb(244, 207, 214)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox{position:absolute;top:calc(100% - 12px);height:0;overflow:hidden;background:rgb(255, 255, 255);border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);opacity:0}.duet-combobox-list.open.sc-duet-combobox{z-index:700;display:block;height:auto;opacity:1}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox{max-height:200px;padding:0.75rem 0;margin:0;overflow-y:scroll;font-weight:600;list-style:none;cursor:pointer;scroll-behavior:smooth}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox{padding:4px 0}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected){padding-left:16px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected) .highlight.sc-duet-combobox{text-decoration:underline}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{float:right;padding-right:0.875rem;font-weight:400;color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.sc-duet-combobox{padding-left:0;background:rgb(205, 229, 241)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-icon.sc-duet-combobox{padding:0 8px 0 8px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}';var _=t("duet_combobox",function(){function t(t){var o=this;i(this,t);this.duetChange=s(this,"duetChange",3);this.resizeObserver=new ResizeObserver(n((function(t){var e,i;if((t===null||t===void 0?void 0:t.length)===1){var s=(i=(e=t[0])===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.getBoundingClientRect().width;o.listContainer.style.width="".concat(s+1,"px")}}),100));this.processedItems=null;this.inputWidth=0;this.inputValue="";this.selectionMsg="";this.listOpen=false;this.selectedItems=new Set;this.activeItem=undefined;this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}, ({current} of {total})",itemFiltered:"{name}, ({current} of {total}, {hiddenItems} filtered)"},fi:{heading:"Valitse:",item:"{name}, ({current}/{total})",itemFiltered:"{name}, ({current}/{total}, {hiddenItems} suodatettu)"},sv:{heading:"Välj:",item:"{name}, ({current} av {total})",itemFiltered:"{name}, ({current} av {total}, {hiddenItems} filtrerade)"}};this.accessibleLabels=h(this.accessibleLabelDefaults,x());this.theme="";this.force=false;this.items=undefined;this.formatter=function(t){return t&&t.name?t.name:""};this.value=undefined;this.minCharacters=1;this.openListOnClick=false;this.filterType="startsWith"}t.prototype.activeItemHandler=function(t){this.input.accessibleActiveDescendant=this.listOpen&&(t||t===0)?"active_item":""};t.prototype.handleDocumentClick=function(t){var o=this;var e=t.composedPath();var i=e.every((function(t){return t!==o.element}));if(i){this.updateInputText(true,true);this.listOpen=false}};t.prototype.formatItem=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(o){return[2,this.formatter(t)]}))}))};t.prototype.processItems=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.items=this.processedItems=p(this.items);return[4,this.updateInputText()];case 1:t.sent();return[2]}}))}))};t.prototype.processValue=function(){return __awaiter(this,void 0,void 0,(function(){var t;var o=this;return __generator(this,(function(e){if(this.value){t=this.items.find((function(t){return t.value===o.value}));this.updateSelectedItems(t.id)}return[2]}))}))};t.prototype.processListOpenChange=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.openListOnClick){this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"}return[2]}))}))};t.prototype.componentWillLoad=function(){u(this)};t.prototype.connectedCallback=function(){var t=this;this.items=this.processedItems=p(this.items);this.input=this.element.querySelector("duet-input");this.input.addEventListener("duetChange",this.updateInputValue.bind(this));this.input.addEventListener("click",(function(){if(!t.openListOnClick){t.inputValue.length>=t.minCharacters?t.listOpen=true:t.listOpen=false}else{t.listOpen=!t.listOpen}}));this.element.addEventListener("keydown",this.handleInputKeyDownEvent.bind(this));f(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"});this.input.accessibleAutocomplete="list";this.input.accessibleControls="duet-combobox-list-element";this.processListOpenChange()};t.prototype.disconnectedCallback=function(){var t=this;this.input.removeEventListener("duetChange",this.updateInputValue.bind(this));this.input.removeEventListener("click",(function(){return t.inputValue.length?t.listOpen=true:t.listOpen=false}));this.element.removeEventListener("keydown",this.handleInputKeyDownEvent.bind(this));this.listElement.removeEventListener("click",(function(t){t.stopPropagation()}));this.resizeObserver.disconnect();v(this)};t.prototype.componentDidLoad=function(){this.resizeObserver.observe(this.input);this.listElement.addEventListener("click",(function(t){t.stopPropagation()}));this.processValue()};t.prototype.onListClick=function(t,o){t.preventDefault();this.updateSelectedItems(o.id,true);this.listOpen=false;return this.listOpen};t.prototype.shouldListBeFiltered=function(){var t=this;if(this.selectedItems.size&&this.input.value===this.inputValue){var o=this.items.filter((function(o){return t.selectedItems.has(o.id)}));return!(this.formatter(o).toLowerCase()===this.input.value.toLowerCase())}return true};t.prototype.returnFilteredOrNonFiltered=function(){return this.processedItems?this.shouldListBeFiltered()?this.getFilteredItems():this.sortFilteredItems(this.processedItems):[]};t.prototype.updateSelectedItems=function(t,o){return __awaiter(this,void 0,void 0,(function(){var e;var i=this;return __generator(this,(function(s){switch(s.label){case 0:this.selectedItems.clear();if(this.selectedItems){if(this.selectedItems.has(t)){this.selectedItems.delete(t)}else{this.selectedItems.add(t)}}if(o){e=this.selectedItems.size===0?[]:this.items.filter((function(t){return i.selectedItems.has(t.id)}));this.duetChange.emit({value:e[0].value,item:e[0],component:"duet-combobox"})}return[4,this.updateInputText()];case 1:s.sent();return[2]}}))}))};t.prototype.updateInputText=function(t,o){if(t===void 0){t=false}if(o===void 0){o=false}return __awaiter(this,void 0,void 0,(function(){var e,i;var s=this;return __generator(this,(function(c){switch(c.label){case 0:e=this.selectedItems.size===0?[]:this.items.filter((function(t){return s.selectedItems.has(t.id)}));if(e.length===0&&this.selectedItems.size>0){this.selectedItems.clear();this.input.value="";this.value=undefined;this.activeItem=undefined}if(!(!o&&this.selectedItems.size===1))return[3,2];this.input.value="";i=this.input;return[4,this.formatItem(e[0])];case 1:i.value=c.sent();this.input.scrollLeft=this.input.scrollWidth;this.activeItem=undefined;this.value=e[0].value;c.label=2;case 2:if(t&&this.selectedItems.size===0){if(this.force){this.inputValue="";this.input.value=""}this.activeItem=undefined}this.listOpen=false;return[2]}}))}))};t.prototype.updateInputValue=function(t){var o;this.inputValue=t.detail.value;this.listOpen=String(this.inputValue).length>=this.minCharacters&&((o=this.getFilteredItems())===null||o===void 0?void 0:o.length)>0};t.prototype.handleInputKeyDownEvent=function(t){this.input.accessibleActiveDescendant=undefined;if(r(t)){t.preventDefault();this.selectActiveItem();this.updateInputText(false);this.listOpen=false;return}if(d(t)||a(t)){this.updateInputText(true);this.listOpen=false;return}var o=this.activeItem;if(m(t)){t.preventDefault();o=this.activeItem-1}else if(l(t)){t.preventDefault();o=this.listOpen?this.activeItem+1:this.activeItem;this.listOpen=true}if(l(t)||m(t)){var e=this.shouldListBeFiltered()?this.getFilteredItems():this.processedItems;if(o<0||!o){o=0}if(o>=e.length){o=e.length-1}this.input.accessibleActiveDescendant="active_item";this.activeItem=o;this.scrollToActive()}this.announceActive();return};t.prototype.selectActiveItem=function(){if(this.activeItem===undefined){return}var t=this.returnFilteredOrNonFiltered();var o=t[this.activeItem];this.updateSelectedItems(o.id,true)};t.prototype.announceActive=function(t){if(!t){t=this.returnFilteredOrNonFiltered()}if(this.activeItem===undefined||this.activeItem===-1){return}var o=t[this.activeItem];this.selectionMsg=structuredClone(this.formatLabel(o,t.length,this.items.length))};t.prototype.scrollToActive=function(){var t=this.listElement.querySelector(".active");if(t){t.scrollIntoView({behavior:"smooth",block:"center"})}};t.prototype.formatLabel=function(t,o,e){if(!t||e===undefined){return""}var i=o===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered;return i.replace("{name}",String(t.name)).replace("{current}",String(this.activeItem+1)).replace("{total}",String(o)).replace("{hiddenItems}",String(e-o))};t.prototype.getFilteredItems=function(){var t=this;var o=this.processedItems.filter((function(o){var e,i,s,c;return((e=String(o.value))===null||e===void 0?void 0:e.toLowerCase()[t.filterType]((i=t.inputValue)===null||i===void 0?void 0:i.toLowerCase()))||((s=String(o.name))===null||s===void 0?void 0:s.toLowerCase()[t.filterType]((c=t.inputValue)===null||c===void 0?void 0:c.toLowerCase()))||t.selectedItems.has(o.id)}));return this.sortFilteredItems(o)};t.prototype.sortFilteredItems=function(t){var o=this;if(t.length>0){t.filter((function(t){return o.selectedItems.has(t.id)})).forEach((function(o){var e=t.indexOf(o);t.splice(e,1);t.unshift(o)}))}return t};t.prototype.render=function(){var t;var e=this;var i=this.returnFilteredOrNonFiltered();return o(c,{role:"combobox","aria-expanded":this.listOpen?"true":"false","aria-owns":"duet-combobox-list-element","aria-haspopup":"listbox",class:(t={"duet-combobox":true},t["duet-theme-".concat(this.theme)]=true,t)},o("slot",null),o("div",{class:{"duet-combobox-list":true,open:this.listOpen},ref:function(t){return e.listContainer=t}},o("ul",{class:{"duet-combobox-listbox-open":this.listOpen,"duet-combobox-listbox":true},role:"listbox",ref:function(t){return e.listElement=t},id:"duet-combobox-list-element"},i.map((function(t,s){return o(w,{item:t,active:s===e.activeItem,selected:e.selectedItems.has(t.id),search:e.inputValue,total:i.length,clickHandler:function(o){return e.onListClick(o,t)},label:e.formatLabel(t,i.length,e.items.length)})})))))};Object.defineProperty(t.prototype,"element",{get:function(){return b(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{activeItem:["activeItemHandler"],items:["processItems"],value:["processValue"],listOpen:["processListOpenChange"]}},enumerable:false,configurable:true});return t}());_.style=y}}}));
|