@helvetia-design/core 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -0
- package/components/ds-accordion.js +1 -1
- package/components/ds-alert-container.js +1 -1
- package/components/ds-app-footer.js +1 -1
- package/components/ds-app-navbar.js +1 -1
- package/components/ds-badge.js +1 -1
- package/components/ds-brand-icon.js +1 -1
- package/components/ds-button-group.js +1 -1
- package/components/ds-button.js +1 -1
- package/components/ds-card-actions.js +1 -1
- package/components/ds-card-content.js +1 -1
- package/components/ds-card-header.js +1 -1
- package/components/ds-card-subtitle.js +1 -1
- package/components/ds-card-title.js +1 -1
- package/components/ds-card.js +1 -1
- package/components/ds-carousel-item.js +1 -1
- package/components/ds-carousel.js +1 -1
- package/components/ds-checkbox-group.js +1 -1
- package/components/ds-checkbox.js +1 -1
- package/components/ds-close.js +1 -1
- package/components/ds-content.js +1 -1
- package/components/ds-counter.js +1 -1
- package/components/ds-data-item.js +1 -1
- package/components/ds-data-label.js +1 -1
- package/components/ds-data-value.js +1 -1
- package/components/ds-data.js +1 -1
- package/components/ds-datepicker.js +1 -1
- package/components/ds-divider.js +1 -1
- package/components/ds-drawer.js +1 -1
- package/components/ds-file-upload.js +1 -1
- package/components/ds-heading.js +1 -1
- package/components/ds-hint-text.js +1 -1
- package/components/ds-hint-title.js +1 -1
- package/components/ds-hint.js +1 -1
- package/components/ds-icon.js +1 -1
- package/components/ds-input.js +1 -1
- package/components/ds-item.js +1 -1
- package/components/ds-label.js +1 -1
- package/components/ds-list.js +1 -1
- package/components/ds-logo.js +1 -1
- package/components/ds-modal-body.js +1 -1
- package/components/ds-modal-header.js +1 -1
- package/components/ds-modal.js +1 -1
- package/components/ds-notification.js +1 -1
- package/components/ds-number-input.js +1 -1
- package/components/ds-pagination.js +1 -1
- package/components/ds-phone-input.js +1 -1
- package/components/ds-popup.js +1 -1
- package/components/ds-progress-bar.js +1 -1
- package/components/ds-radio-group.js +1 -1
- package/components/ds-radio.js +1 -1
- package/components/ds-root.js +1 -1
- package/components/ds-segment-item.js +1 -1
- package/components/ds-segment.js +1 -1
- package/components/ds-select-optgroup.js +1 -1
- package/components/ds-select-option.js +1 -1
- package/components/ds-select.js +1 -1
- package/components/ds-shape.js +1 -1
- package/components/ds-sheet.js +1 -1
- package/components/ds-slider.js +1 -1
- package/components/ds-snackbar.js +1 -1
- package/components/ds-spinner.js +1 -1
- package/components/ds-stack.js +1 -1
- package/components/ds-step-panel.js +1 -1
- package/components/ds-step.js +1 -1
- package/components/ds-steps.js +1 -1
- package/components/ds-tab-panel.js +1 -1
- package/components/ds-tab.js +1 -1
- package/components/ds-tabs.js +1 -1
- package/components/ds-tag-group.js +1 -1
- package/components/ds-tag.js +1 -1
- package/components/ds-text.js +1 -1
- package/components/ds-textarea.js +1 -1
- package/components/ds-toast.js +1 -1
- package/components/ds-toggle.js +1 -1
- package/components/ds-tooltip.js +1 -1
- package/components/index.js +1 -1
- package/components/p-3DnZqMoY.js +14 -0
- package/components/{p-Dz4gbncy.js → p-B1celIGd.js} +1 -1
- package/components/{p-AjhCP5sN.js → p-B4PwKlaW.js} +1 -1
- package/components/{p-C2olRmZ-.js → p-B9El_sPq.js} +1 -1
- package/{dist/design-system/p-DqEwL34o.js → components/p-B9OReveE.js} +1 -1
- package/components/{p-j7VsKeVd.js → p-BI_5Zbrm.js} +1 -1
- package/components/{p-Dl7R2ZPs.js → p-BJ2D8QfA.js} +1 -1
- package/components/{p-xQf4GJxM.js → p-BJK2OSM1.js} +1 -1
- package/{dist/design-system/p-CZ_qlWWQ.js → components/p-BVNhJBnn.js} +1 -1
- package/components/{p-Bl_soFOX.js → p-BWrjPWjt.js} +1 -1
- package/components/{p-B8nj0zHa.js → p-Bd5NhwlZ.js} +1 -1
- package/{dist/design-system/p-nVdGbZYj.js → components/p-C8OqQuJ7.js} +1 -1
- package/{dist/design-system/p-zuNnnG1x.js → components/p-CDNe0ZaI.js} +1 -1
- package/components/{p-CenSJbHh.js → p-CEPnyz7c.js} +1 -1
- package/components/{p-BUZBtnQL.js → p-CJycEnj5.js} +1 -1
- package/components/{p-Dl4u6w0V.js → p-C_1UxX8G.js} +1 -1
- package/components/{p-BfVlVhQa.js → p-Ce1uMkAI.js} +1 -1
- package/components/{p-CaZA7z9r.js → p-CkQK5z17.js} +1 -1
- package/components/{p-CFt9NQdE.js → p-CpB1Qjh1.js} +1 -1
- package/components/{p-CiZ4PMen.js → p-D6jvX9E6.js} +1 -1
- package/components/p-D8RaAucx.js +5 -0
- package/components/{p-BV65welS.js → p-DEnVBHne.js} +1 -1
- package/components/p-DOP4fM2o.js +4 -0
- package/{dist/design-system/p-Bo3ozMyW.js → components/p-DaqLtBr3.js} +1 -1
- package/components/{p-EjCh38Af.js → p-Dbt7_-_D.js} +1 -1
- package/components/{p-VWxo1gxA.js → p-DgLUmdPH.js} +1 -1
- package/components/{p-n8QXleYD.js → p-DpLrRYE7.js} +1 -1
- package/components/{p-Br89jVgJ.js → p-Dq0RGuR5.js} +1 -1
- package/components/{p-H-j7GE58.js → p-Dwybw1sf.js} +1 -1
- package/components/p-El2snbN5.js +4 -0
- package/components/{p-Cpaj76bt.js → p-VnJFXLI2.js} +1 -1
- package/components/{p-CpxLBgza.js → p-VwgiuJog.js} +1 -1
- package/components/{p-CvM0ZzoU.js → p-kwr2iIN4.js} +1 -1
- package/{dist/design-system/p-bTeo6KbL.js → components/p-vUPe8Qmy.js} +1 -1
- package/dist/cjs/{array-CzUg2Ga6.js → array-DoZQchdZ.js} +2 -2
- package/dist/cjs/{breakpoints.decorator-CFC7J7xQ.js → breakpoints.decorator-Dm8t1zZX.js} +1 -1
- package/dist/cjs/{breakpoints.subject-DPaQVsnU.js → breakpoints.subject-BPlVZABg.js} +3 -3
- package/dist/cjs/{config.utils-obklVSg-.js → config.utils-BC0OM7Do.js} +1 -1
- package/dist/cjs/{create-validator-decorator-D1N31xdI.js → create-validator-decorator-BthpaMGb.js} +1 -1
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{device-CkwueF-7.js → device-DoKzl-_E.js} +1 -1
- package/dist/cjs/ds-accordion.cjs.entry.js +7 -7
- package/dist/cjs/ds-alert-container.cjs.entry.js +6 -6
- package/dist/cjs/ds-app-footer.cjs.entry.js +6 -6
- package/dist/cjs/ds-app-navbar.cjs.entry.js +13 -13
- package/dist/cjs/ds-badge.cjs.entry.js +6 -6
- package/dist/cjs/ds-brand-icon_3.cjs.entry.js +8 -8
- package/dist/cjs/ds-button-group.cjs.entry.js +6 -6
- package/dist/cjs/ds-card-actions.cjs.entry.js +4 -4
- package/dist/cjs/ds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/ds-card-header.cjs.entry.js +5 -5
- package/dist/cjs/ds-card-subtitle.cjs.entry.js +6 -6
- package/dist/cjs/ds-card-title.cjs.entry.js +6 -6
- package/dist/cjs/ds-card.cjs.entry.js +6 -6
- package/dist/cjs/ds-carousel-item.cjs.entry.js +6 -6
- package/dist/cjs/ds-carousel.cjs.entry.js +7 -7
- package/dist/cjs/ds-checkbox-group.cjs.entry.js +11 -11
- package/dist/cjs/ds-checkbox.cjs.entry.js +8 -8
- package/dist/cjs/ds-content_2.cjs.entry.js +6 -6
- package/dist/cjs/ds-counter.cjs.entry.js +8 -8
- package/dist/cjs/ds-data-item.cjs.entry.js +5 -5
- package/dist/cjs/ds-data-label.cjs.entry.js +4 -4
- package/dist/cjs/ds-data-value.cjs.entry.js +2 -2
- package/dist/cjs/ds-data.cjs.entry.js +4 -4
- package/dist/cjs/ds-datepicker.cjs.entry.js +9 -9
- package/dist/cjs/ds-divider_2.cjs.entry.js +12 -12
- package/dist/cjs/ds-drawer_2.cjs.entry.js +8 -8
- package/dist/cjs/ds-file-upload.cjs.entry.js +10 -10
- package/dist/cjs/ds-heading.cjs.entry.js +6 -6
- package/dist/cjs/ds-hint-text.cjs.entry.js +2 -2
- package/dist/cjs/ds-hint-title.cjs.entry.js +2 -2
- package/dist/cjs/ds-hint.cjs.entry.js +10 -10
- package/dist/cjs/ds-icon_2.cjs.entry.js +14 -12
- package/dist/cjs/ds-input.cjs.entry.js +10 -10
- package/dist/cjs/ds-item.cjs.entry.js +6 -6
- package/dist/cjs/ds-label.cjs.entry.js +7 -7
- package/dist/cjs/ds-list.cjs.entry.js +6 -6
- package/dist/cjs/ds-modal-body.cjs.entry.js +2 -2
- package/dist/cjs/ds-modal-header.cjs.entry.js +2 -2
- package/dist/cjs/ds-modal.cjs.entry.js +6 -6
- package/dist/cjs/ds-notification.cjs.entry.js +7 -7
- package/dist/cjs/ds-number-input.cjs.entry.js +10 -10
- package/dist/cjs/ds-pagination.cjs.entry.js +11 -11
- package/dist/cjs/ds-phone-input.cjs.entry.js +10 -10
- package/dist/cjs/ds-progress-bar.cjs.entry.js +11 -11
- package/dist/cjs/ds-radio-group.cjs.entry.js +8 -8
- package/dist/cjs/ds-radio.cjs.entry.js +7 -7
- package/dist/cjs/ds-root.cjs.entry.js +9 -9
- package/dist/cjs/ds-segment-item.cjs.entry.js +4 -4
- package/dist/cjs/ds-segment.cjs.entry.js +9 -9
- package/dist/cjs/ds-select-optgroup.cjs.entry.js +4 -4
- package/dist/cjs/ds-select-option.cjs.entry.js +4 -4
- package/dist/cjs/ds-select.cjs.entry.js +91 -137
- package/dist/cjs/ds-shape.cjs.entry.js +4 -4
- package/dist/cjs/ds-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ds-slider.cjs.entry.js +10 -10
- package/dist/cjs/ds-snackbar.cjs.entry.js +11 -11
- package/dist/cjs/ds-step-panel.cjs.entry.js +5 -5
- package/dist/cjs/ds-step.cjs.entry.js +5 -5
- package/dist/cjs/ds-steps.cjs.entry.js +6 -6
- package/dist/cjs/ds-tab-panel.cjs.entry.js +5 -5
- package/dist/cjs/ds-tab.cjs.entry.js +5 -5
- package/dist/cjs/ds-tabs.cjs.entry.js +7 -7
- package/dist/cjs/ds-tag-group.cjs.entry.js +2 -2
- package/dist/cjs/ds-tag.cjs.entry.js +6 -6
- package/dist/cjs/ds-text.cjs.entry.js +6 -6
- package/dist/cjs/ds-textarea.cjs.entry.js +8 -8
- package/dist/cjs/ds-toast.cjs.entry.js +9 -9
- package/dist/cjs/ds-toggle.cjs.entry.js +7 -7
- package/dist/cjs/ds-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/{field.util-BZ0-f1v6.js → field.util-BtZI1wzx.js} +1 -1
- package/dist/cjs/{focus-Bv0hrXz3.js → focus-CWX7XV7l.js} +7 -4
- package/dist/cjs/{form-control-ByeZXHpq.js → form-control-DM3FxzL9.js} +1 -1
- package/dist/cjs/{has-value-CBVBjBwO.js → has-value-DWblEJUY.js} +1 -1
- package/dist/cjs/{index-CwPTwAjW.js → index-CyaxwkZQ.js} +42 -28
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/{isNaN-DIIUFyAr.js → isNaN-CEewdlJZ.js} +1 -1
- package/dist/cjs/{isNil-DrqNFqs2.js → isNil-D0mNOhrh.js} +1 -1
- package/dist/cjs/{listener-BKouf67K.js → listener-DOKLlUb5.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{logo.animation-Cuja-JN4.js → logo.animation-dvcSskVG.js} +2 -2
- package/dist/cjs/{lottie_light_html-C_mBwRBh.js → lottie_light_html-DzsXdx4w.js} +1 -1
- package/dist/cjs/{one-of-D0xhgLU-.js → one-of-D0uVlyvx.js} +1 -1
- package/dist/cjs/{required-HiflFAT7.js → required-BX5d5kDo.js} +1 -1
- package/dist/cjs/{resize.decorator-CqEDvHo5.js → resize.decorator-CHSUnK5V.js} +2 -2
- package/dist/cjs/{scroll-DCvj4nye.js → scroll-i0uYOSWH.js} +1 -1
- package/dist/cjs/{spinner.animation-CUVRmAW-.js → spinner.animation-DzuE_Ien.js} +2 -2
- package/dist/cjs/{tslib.es6-S4D9nLEw.js → tslib.es6-BZEK5U4Y.js} +1 -1
- package/dist/cjs/{type-7b7yRER9.js → type-CwlDjRSC.js} +1 -1
- package/dist/cjs/{upperFirst-cad3Eler.js → upperFirst-DMFyd865.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/indicators/spinner/spinner.js +5 -3
- package/dist/collection/global/constants/version.constant.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-ecfec0f033.entry.js → p-03f71b802d.entry.js} +1 -1
- package/dist/design-system/{p-5ca9a48d4a.entry.js → p-08cc8257b5.entry.js} +1 -1
- package/dist/design-system/{p-BBgONt6X.js → p-0Tzaj6-a.js} +1 -1
- package/dist/design-system/{p-9f37df0fe5.entry.js → p-0be74307ee.entry.js} +1 -1
- package/dist/design-system/{p-cd86672996.entry.js → p-12008e4b4a.entry.js} +1 -1
- package/dist/design-system/{p-03b95da587.entry.js → p-1832a8b10c.entry.js} +1 -1
- package/dist/design-system/{p-6722fff689.entry.js → p-199e5794f9.entry.js} +1 -1
- package/dist/design-system/{p-65762bf10a.entry.js → p-1e2fdd526f.entry.js} +1 -1
- package/dist/design-system/{p-d03b0204bf.entry.js → p-227bf7005f.entry.js} +1 -1
- package/dist/design-system/{p-f1c14f2d6d.entry.js → p-273efbd0f4.entry.js} +1 -1
- package/dist/design-system/{p-53a026d51f.entry.js → p-2984e0c419.entry.js} +1 -1
- package/dist/design-system/{p-868cdfa283.entry.js → p-387808b33b.entry.js} +1 -1
- package/dist/design-system/{p-a5ddb670f6.entry.js → p-42bc0ecdea.entry.js} +1 -1
- package/dist/design-system/{p-fbea94a9f1.entry.js → p-4434546768.entry.js} +1 -1
- package/dist/design-system/{p-068ccfad8e.entry.js → p-4560cd05e2.entry.js} +1 -1
- package/dist/design-system/{p-aa818d939d.entry.js → p-46f29960b4.entry.js} +1 -1
- package/dist/design-system/{p-5861eed0cd.entry.js → p-5448f94833.entry.js} +1 -1
- package/dist/design-system/{p-0aa4490aef.entry.js → p-590395ca65.entry.js} +1 -1
- package/dist/design-system/{p-26dfe27017.entry.js → p-6317524d37.entry.js} +1 -1
- package/dist/design-system/{p-7e0181bf02.entry.js → p-65913aa877.entry.js} +1 -1
- package/dist/design-system/{p-355ad7eb13.entry.js → p-68f1c98ef3.entry.js} +1 -1
- package/dist/design-system/{p-293c1d7f54.entry.js → p-6b6fdc57c1.entry.js} +1 -1
- package/dist/design-system/p-6c9ebf73a3.entry.js +4 -0
- package/dist/design-system/{p-4d73ae2824.entry.js → p-70d98ea08d.entry.js} +1 -1
- package/dist/design-system/{p-4eaac5ca6b.entry.js → p-72843320f7.entry.js} +1 -1
- package/dist/design-system/{p-a4a063f280.entry.js → p-76551271c7.entry.js} +1 -1
- package/dist/design-system/{p-2345e9fed5.entry.js → p-78fa42f19b.entry.js} +1 -1
- package/dist/design-system/{p-8d04a63919.entry.js → p-7c1ce160fe.entry.js} +1 -1
- package/dist/design-system/{p-9cb2b5b812.entry.js → p-836ac75016.entry.js} +1 -1
- package/dist/design-system/{p-45f3014f29.entry.js → p-870e3c0138.entry.js} +1 -1
- package/dist/design-system/{p-3543892968.entry.js → p-8734bc6735.entry.js} +1 -1
- package/dist/design-system/{p-0b66853b5b.entry.js → p-89418d345c.entry.js} +1 -1
- package/dist/design-system/{p-c7943ebfc0.entry.js → p-8c18e03816.entry.js} +1 -1
- package/dist/design-system/{p-24adf9e503.entry.js → p-8e0ce35e32.entry.js} +1 -1
- package/dist/design-system/p-8ecf64f703.entry.js +4 -0
- package/dist/design-system/{p-cf785c381a.entry.js → p-903d110824.entry.js} +1 -1
- package/dist/design-system/{p-4859ab8eef.entry.js → p-94a2067cb2.entry.js} +1 -1
- package/dist/design-system/{p-fe1e907d10.entry.js → p-94a8f24fe1.entry.js} +1 -1
- package/dist/design-system/{p-e9c5ac32da.entry.js → p-97670520d2.entry.js} +1 -1
- package/dist/design-system/{p-6fb65596cb.entry.js → p-9ada63ba4b.entry.js} +1 -1
- package/dist/design-system/p-B0WMymhT.js +4 -0
- package/dist/design-system/{p-CqgSz7Zj.js → p-B6z5TnDK.js} +1 -1
- package/dist/design-system/p-B7VRmbiX.js +14 -0
- package/{components/p-BF-2xfmq.js → dist/design-system/p-B8_nVD8J.js} +1 -1
- package/dist/design-system/{p-DQwXy0j5.js → p-BXt6QjIx.js} +1 -1
- package/dist/design-system/{p-DWaM_oN0.js → p-BYD3IPs8.js} +1 -1
- package/dist/design-system/p-BZEWgXed.js +6 -0
- package/{components/p-C7Qb2sJV.js → dist/design-system/p-BZsCW9yV.js} +1 -1
- package/dist/design-system/p-BaZBnuEF.js +4 -0
- package/{components/p-CxDrGhiv.js → dist/design-system/p-Bwb-pdM2.js} +1 -1
- package/dist/design-system/{p-CnMdxr0m.js → p-C0WbBTf4.js} +1 -1
- package/dist/design-system/p-CBGuu-I2.js +4 -0
- package/{components/p-Bv45jA_n.js → dist/design-system/p-D4hbhLgQ.js} +1 -1
- package/dist/design-system/p-D9mt3Oq6.js +4 -0
- package/dist/design-system/{p-PoatOrqI.js → p-DDkg6jid.js} +1 -1
- package/{components/p-PmBBNJAS.js → dist/design-system/p-DE5aqD5-.js} +1 -1
- package/dist/design-system/{p-CvAtwmbq.js → p-DYqA7KF0.js} +1 -1
- package/dist/design-system/p-Dd1T3Uhf.js +4 -0
- package/dist/design-system/p-Dw7BDW7b.js +4 -0
- package/dist/design-system/{p-DtLg8ChN.js → p-FibyOiqE.js} +1 -1
- package/{components/p-C6y5h01N.js → dist/design-system/p-GV5U_dO3.js} +1 -1
- package/dist/design-system/{p-C8zA_Viz.js → p-ZGXsBgE3.js} +1 -1
- package/dist/design-system/{p-46bd8e78a8.entry.js → p-a4621dc9f7.entry.js} +1 -1
- package/dist/design-system/{p-14569675ee.entry.js → p-a6709bd6a4.entry.js} +1 -1
- package/dist/design-system/{p-ec64c341a0.entry.js → p-af756319ff.entry.js} +1 -1
- package/dist/design-system/p-b5c2efdef4.entry.js +4 -0
- package/dist/design-system/{p-d63e48925b.entry.js → p-b64cafbcbf.entry.js} +1 -1
- package/dist/design-system/{p-66e34dc71f.entry.js → p-b7b13b1f3a.entry.js} +1 -1
- package/dist/design-system/{p-0bc7faf8c4.entry.js → p-b81604634a.entry.js} +1 -1
- package/dist/design-system/{p-9be15dfb8d.entry.js → p-bcadbbe619.entry.js} +1 -1
- package/dist/design-system/p-bdbf9a394c.entry.js +4 -0
- package/dist/design-system/{p-6996c344f7.entry.js → p-bee20202e4.entry.js} +1 -1
- package/dist/design-system/{p-51fed987db.entry.js → p-bfa52f09c1.entry.js} +1 -1
- package/dist/design-system/{p-6354401906.entry.js → p-c0efe2d99d.entry.js} +1 -1
- package/dist/design-system/{p-8226ff1223.entry.js → p-c1058ab51d.entry.js} +1 -1
- package/dist/design-system/{p-d9c00436ba.entry.js → p-c7b33c067e.entry.js} +1 -1
- package/dist/design-system/{p-21e0f63b01.entry.js → p-d12febf08e.entry.js} +1 -1
- package/dist/design-system/p-d429f6e937.entry.js +4 -0
- package/dist/design-system/{p-945c165b6b.entry.js → p-d5c0b5ddf3.entry.js} +1 -1
- package/dist/design-system/{p-82f48d1748.entry.js → p-d65c14d35e.entry.js} +1 -1
- package/dist/design-system/{p-1e2c6ef668.entry.js → p-dcab67df56.entry.js} +1 -1
- package/dist/design-system/{p-e5c6227929.entry.js → p-dcc1c89e7a.entry.js} +1 -1
- package/dist/design-system/{p-64911e079d.entry.js → p-e6ac93cc12.entry.js} +1 -1
- package/dist/design-system/{p-a2d5d98d3a.entry.js → p-e862697fd0.entry.js} +1 -1
- package/dist/design-system/p-eae2a1547c.entry.js +4 -0
- package/dist/design-system/{p-da193757b7.entry.js → p-ebbec13d79.entry.js} +1 -1
- package/dist/design-system/{p-8f47eaa1b3.entry.js → p-ee0928114d.entry.js} +1 -1
- package/dist/design-system/{p-65dc693177.entry.js → p-eea3eb3953.entry.js} +1 -1
- package/dist/design-system/{p-e3942a6edb.entry.js → p-eff94c9727.entry.js} +1 -1
- package/dist/design-system/{p-503bfc3ac4.entry.js → p-f67413bb28.entry.js} +1 -1
- package/dist/design-system/{p-20067695d5.entry.js → p-fd42d172be.entry.js} +1 -1
- package/dist/design-system/{p-bdb708d712.entry.js → p-fd53c6d59f.entry.js} +1 -1
- package/{components/p-DwoEAAFz.js → dist/design-system/p-reH0cIhP.js} +1 -1
- package/dist/esm/{array-DoJNFnXv.js → array-e_JtE-nB.js} +2 -2
- package/dist/esm/{breakpoints.decorator-CnkvAW5b.js → breakpoints.decorator-BCEvQ01q.js} +1 -1
- package/dist/esm/{breakpoints.subject-I5r5lNF8.js → breakpoints.subject-1t_GD0pz.js} +3 -3
- package/dist/esm/{config.utils-Dp02shGd.js → config.utils-C2ZxpLao.js} +1 -1
- package/dist/esm/{create-validator-decorator-C9h9tdvI.js → create-validator-decorator-DoOlbRcm.js} +1 -1
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{device-Cgmtx8Rt.js → device-C6cGaC0a.js} +1 -1
- package/dist/esm/ds-accordion.entry.js +7 -7
- package/dist/esm/ds-alert-container.entry.js +6 -6
- package/dist/esm/ds-app-footer.entry.js +6 -6
- package/dist/esm/ds-app-navbar.entry.js +13 -13
- package/dist/esm/ds-badge.entry.js +6 -6
- package/dist/esm/ds-brand-icon_3.entry.js +8 -8
- package/dist/esm/ds-button-group.entry.js +6 -6
- package/dist/esm/ds-card-actions.entry.js +4 -4
- package/dist/esm/ds-card-content.entry.js +2 -2
- package/dist/esm/ds-card-header.entry.js +5 -5
- package/dist/esm/ds-card-subtitle.entry.js +6 -6
- package/dist/esm/ds-card-title.entry.js +6 -6
- package/dist/esm/ds-card.entry.js +6 -6
- package/dist/esm/ds-carousel-item.entry.js +6 -6
- package/dist/esm/ds-carousel.entry.js +7 -7
- package/dist/esm/ds-checkbox-group.entry.js +11 -11
- package/dist/esm/ds-checkbox.entry.js +8 -8
- package/dist/esm/ds-content_2.entry.js +6 -6
- package/dist/esm/ds-counter.entry.js +8 -8
- package/dist/esm/ds-data-item.entry.js +5 -5
- package/dist/esm/ds-data-label.entry.js +4 -4
- package/dist/esm/ds-data-value.entry.js +2 -2
- package/dist/esm/ds-data.entry.js +4 -4
- package/dist/esm/ds-datepicker.entry.js +9 -9
- package/dist/esm/ds-divider_2.entry.js +12 -12
- package/dist/esm/ds-drawer_2.entry.js +8 -8
- package/dist/esm/ds-file-upload.entry.js +10 -10
- package/dist/esm/ds-heading.entry.js +6 -6
- package/dist/esm/ds-hint-text.entry.js +2 -2
- package/dist/esm/ds-hint-title.entry.js +2 -2
- package/dist/esm/ds-hint.entry.js +10 -10
- package/dist/esm/ds-icon_2.entry.js +14 -12
- package/dist/esm/ds-input.entry.js +10 -10
- package/dist/esm/ds-item.entry.js +6 -6
- package/dist/esm/ds-label.entry.js +7 -7
- package/dist/esm/ds-list.entry.js +6 -6
- package/dist/esm/ds-modal-body.entry.js +2 -2
- package/dist/esm/ds-modal-header.entry.js +2 -2
- package/dist/esm/ds-modal.entry.js +6 -6
- package/dist/esm/ds-notification.entry.js +7 -7
- package/dist/esm/ds-number-input.entry.js +10 -10
- package/dist/esm/ds-pagination.entry.js +11 -11
- package/dist/esm/ds-phone-input.entry.js +10 -10
- package/dist/esm/ds-progress-bar.entry.js +11 -11
- package/dist/esm/ds-radio-group.entry.js +8 -8
- package/dist/esm/ds-radio.entry.js +7 -7
- package/dist/esm/ds-root.entry.js +9 -9
- package/dist/esm/ds-segment-item.entry.js +4 -4
- package/dist/esm/ds-segment.entry.js +9 -9
- package/dist/esm/ds-select-optgroup.entry.js +4 -4
- package/dist/esm/ds-select-option.entry.js +4 -4
- package/dist/esm/ds-select.entry.js +91 -137
- package/dist/esm/ds-shape.entry.js +4 -4
- package/dist/esm/ds-sheet.entry.js +4 -4
- package/dist/esm/ds-slider.entry.js +10 -10
- package/dist/esm/ds-snackbar.entry.js +11 -11
- package/dist/esm/ds-step-panel.entry.js +5 -5
- package/dist/esm/ds-step.entry.js +5 -5
- package/dist/esm/ds-steps.entry.js +6 -6
- package/dist/esm/ds-tab-panel.entry.js +5 -5
- package/dist/esm/ds-tab.entry.js +5 -5
- package/dist/esm/ds-tabs.entry.js +7 -7
- package/dist/esm/ds-tag-group.entry.js +2 -2
- package/dist/esm/ds-tag.entry.js +6 -6
- package/dist/esm/ds-text.entry.js +6 -6
- package/dist/esm/ds-textarea.entry.js +8 -8
- package/dist/esm/ds-toast.entry.js +9 -9
- package/dist/esm/ds-toggle.entry.js +7 -7
- package/dist/esm/ds-tooltip.entry.js +5 -5
- package/dist/esm/{field.util-Df-hqJaT.js → field.util-Bynx8isK.js} +1 -1
- package/dist/esm/{focus-DD2is1gX.js → focus-DxBiWf5t.js} +7 -4
- package/dist/esm/{form-control-BJWSlSG_.js → form-control-CDcwGSHl.js} +1 -1
- package/dist/esm/{has-value-gNK_M3-3.js → has-value-Bo85hk4Z.js} +1 -1
- package/dist/esm/{index-vF16SDFF.js → index-BZEWgXed.js} +42 -28
- package/dist/esm/index.js +8 -8
- package/dist/esm/{isNaN-7y2s4B42.js → isNaN-CnSbS9y5.js} +1 -1
- package/dist/esm/{isNil-CdsPICws.js → isNil-CSyb5N-K.js} +1 -1
- package/dist/esm/{listener-CoC_59Q5.js → listener-D0i_9cCL.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{logo.animation-DFnRNKvb.js → logo.animation-d3SUvNsa.js} +2 -2
- package/dist/esm/{lottie_light_html-DcbRcQ3w.js → lottie_light_html-BvqthL78.js} +1 -1
- package/dist/esm/{one-of-0XcP43f0.js → one-of-CEp_lE0A.js} +1 -1
- package/dist/esm/{required-BbKCKkv2.js → required-DFokOkqn.js} +1 -1
- package/dist/esm/{resize.decorator-DuBNoG5Y.js → resize.decorator-BFNXd4pc.js} +2 -2
- package/dist/esm/{scroll-w5Ky8GVa.js → scroll-Dg5YCtp0.js} +1 -1
- package/dist/esm/{spinner.animation-Dy_M0hD_.js → spinner.animation-jNZuSaBw.js} +2 -2
- package/dist/esm/{tslib.es6-CJY5Vco2.js → tslib.es6-syzWW8yN.js} +1 -1
- package/dist/esm/{type-CGNubZpn.js → type-Djd2i_VN.js} +1 -1
- package/dist/esm/{upperFirst-oiegw5tz.js → upperFirst-DpjZayHD.js} +1 -1
- package/docs/components.json +1 -1
- package/hydrate/index.js +496 -321
- package/hydrate/index.mjs +496 -321
- package/package.json +14 -14
- package/sbom.cdx.json +9086 -9578
- package/components/p-BKQaXv5U.js +0 -5
- package/components/p-CeFbrWv3.js +0 -14
- package/components/p-ZM4hf44X.js +0 -4
- package/dist/design-system/p-0be478196e.entry.js +0 -4
- package/dist/design-system/p-0fdfaf35ed.entry.js +0 -4
- package/dist/design-system/p-1610742ec0.entry.js +0 -4
- package/dist/design-system/p-5996168bba.entry.js +0 -4
- package/dist/design-system/p-7b3106cdba.entry.js +0 -4
- package/dist/design-system/p-BDn2kGoY.js +0 -14
- package/dist/design-system/p-BJZKXpi_.js +0 -4
- package/dist/design-system/p-BVkfpg--.js +0 -4
- package/dist/design-system/p-BwDOnHtD.js +0 -4
- package/dist/design-system/p-C2tiilHE.js +0 -4
- package/dist/design-system/p-CYTkqxYD.js +0 -4
- package/dist/design-system/p-DljpDnEC.js +0 -4
- package/dist/design-system/p-a942075486.entry.js +0 -4
- package/dist/design-system/p-bAyVKTSh.js +0 -4
- package/dist/design-system/p-vF16SDFF.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{p as t,H as i,e as s,h as a,c as o,t as e,d as p}from"./p-ZM4hf44X.js";import{_ as r,L as n,a as d}from"./p-C7Qb2sJV.js";import{a as h,c,s as l,f as u,o as m,b}from"./p-C1kAmkEd.js";import{F as g}from"./p-CeFbrWv3.js";import{w as v}from"./p-EjCh38Af.js";import{i as f}from"./p-BsFXlUpb.js";import{d as w}from"./p-B8nj0zHa.js";import{d as y}from"./p-Cpaj76bt.js";import{d as k}from"./p-xQf4GJxM.js";import{d as x}from"./p-Bl_soFOX.js";import{d as _}from"./p-BKQaXv5U.js";import{T as z}from"./p-BV65welS.js";import{O as j}from"./p-PmBBNJAS.js";import{L as C}from"./p-DwoEAAFz.js";const B=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],D=new Map,E=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.dsWillPresent=s(this,"dsWillPresent"),this.dsDidPresent=s(this,"dsDidPresent"),this.dsWillDismiss=s(this,"dsWillDismiss"),this.dsDidDismiss=s(this,"dsDidDismiss"),this.currentTrigger=void 0,this.focusHandler=new g,this.transitionQueue=Promise.resolve(),this.animated=!0,this.isOpen=!1,this.open=!1,this.trigger=void 0,this.placement="bottom",this.offset=8,this.role="dialog",this.closable=!1,this.backdropDismiss=!1,this.backdrop=!1,this.group=void 0,this.label="",this.arrow=!1,this.trapFocus=void 0,this.handleCloseClick=()=>{this.dismiss()}}createLogger(t){this.log=t}openChanged(t){t?this.runPresent():this.runDismiss()}triggerChanged(t,i){i&&(i.removeAttribute("aria-haspopup"),i.removeAttribute("aria-expanded")),t&&(t.setAttribute("aria-haspopup",this.role),t.setAttribute("aria-expanded","false"))}connectedCallback(){this.registerGroup()}componentDidLoad(){this.trigger&&(this.trigger.setAttribute("aria-haspopup",this.role),this.trigger.setAttribute("aria-expanded","false")),this.open&&this.runPresent()}disconnectedCallback(){var t;null===(t=this.cleanupPositioner)||void 0===t||t.call(this),this.focusHandler.disconnect(),this.trigger&&(this.trigger.removeAttribute("aria-haspopup"),this.trigger.removeAttribute("aria-expanded")),this.unregisterGroup()}async listenToClick(t){var i;if(this.el.id){const i=t.target.closest(`[data-popup="${this.el.id}"]`);if(i)return this.currentTrigger=i,void await this.toggle()}if(this.backdropDismiss&&this.isOpen){const s=t.composedPath(),a=s.includes(this.panelEl),o=null!==(i=this.currentTrigger)&&void 0!==i?i:this.trigger,e=!!o&&s.includes(o);a||e||await this.dismiss()}}listenToKeyDown(t){this.isOpen&&this.closable&&f(t)&&(t.stopPropagation(),this.dismiss())}async present(){this.open=!0}async dismiss(){this.open=!1}async toggle(){this.open?this.dismiss():this.present()}async configChanged(t){this.animated=t.animated}get shouldTrapFocus(){return void 0!==this.trapFocus?this.trapFocus:this.backdrop}runPresent(){this.transitionQueue=this.transitionQueue.then((()=>this.doPresent())).catch((()=>{}))}runDismiss(){this.transitionQueue=this.transitionQueue.then((()=>this.doDismiss())).catch((()=>{}))}async doPresent(){var t;if(this.isOpen)return;const i=null!==(t=this.currentTrigger)&&void 0!==t?t:this.trigger;await this.dismissGroupSiblings(),this.dsWillPresent.emit({trigger:i}),i&&(i.setAttribute("aria-expanded","true"),await this.updatePosition(i),this.startPositioner(i)),this.isOpen=!0,this.animated&&await v(300),this.shouldTrapFocus?this.focusHandler.enable({target:this.panelEl,restoreElement:null!=i?i:null}):this.focusPanel(),this.dsDidPresent.emit({trigger:i})}async doDismiss(){var t,i;if(!this.isOpen)return;const s=null!==(t=this.currentTrigger)&&void 0!==t?t:this.trigger;this.dsWillDismiss.emit({trigger:s}),null===(i=this.cleanupPositioner)||void 0===i||i.call(this),this.cleanupPositioner=void 0,s&&s.setAttribute("aria-expanded","false"),this.isOpen=!1,this.animated&&await v(300),this.shouldTrapFocus?(this.focusHandler.disable(),this.focusHandler.restoreFocus()):null==s||s.focus(),this.dsDidDismiss.emit({trigger:s})}startPositioner(t){this.panelEl&&(this.cleanupPositioner=h(t,this.panelEl,(()=>this.updatePosition(t)),{ancestorScroll:!0,ancestorResize:!0,elementResize:!0,layoutShift:!0,animationFrame:!1}))}async updatePosition(t){if(!this.panelEl)return;const{x:i,y:s,placement:a,middlewareData:o}=await c(t,this.panelEl,{placement:this.placement,strategy:"fixed",middleware:[p.hasWindow&&!window.frameElement?l():void 0,u(),m(this.offset),this.arrow&&this.arrowEl?b({element:this.arrowEl}):void 0].filter(Boolean)});if(Object.assign(this.panelEl.style,{left:`${i}px`,top:`${s}px`}),this.panelEl.dataset.placement=a.split("-")[0],this.arrow&&this.arrowEl&&o.arrow){const{x:t,y:i}=o.arrow;Object.assign(this.arrowEl.style,{left:null!=t?`${t}px`:"",top:null!=i?`${i}px`:""})}}focusPanel(){if(!this.panelEl)return;const t=Array.from(this.panelEl.querySelectorAll('button:not([disabled]):not([tabindex^="-"]),input:not([type=hidden]):not([disabled]):not([tabindex^="-"]),select:not([disabled]):not([tabindex^="-"]),textarea:not([disabled]):not([tabindex^="-"]),a[href]:not([tabindex^="-"]),[tabindex]:not([tabindex^="-"])'));t.length>0?t[0].focus({preventScroll:!0}):this.panelEl.focus({preventScroll:!0})}registerGroup(){this.group&&(D.has(this.group)||D.set(this.group,new Set),D.get(this.group).add(this.el))}unregisterGroup(){var t;this.group&&(null===(t=D.get(this.group))||void 0===t||t.delete(this.el))}async dismissGroupSiblings(){if(!this.group)return;const t=D.get(this.group);if(t)for(const i of t)i!==this.el&&await i.dismiss()}render(){return a(o,{key:"fbcc73545dbe44938d0a26ece77f85858c652b71",class:{"is-open":this.isOpen,"is-animated":this.animated,"is-closable":this.closable}},this.backdrop&&a("div",{key:"6c78f88d7af762d56b580fac1ba9aa264ae69073",part:"backdrop"}),a("div",{key:"31f233c1a59254655c8b90aa9c42cd99a9a57fa0",part:"panel",ref:t=>this.panelEl=t,role:this.role,"aria-modal":"dialog"===this.role?"true":void 0,"aria-label":this.label||void 0,tabindex:"-1","data-testid":"ds-popup-panel"},this.arrow&&a("div",{key:"8ac2486a85fbf11448c851493ba3d452059fa65e",part:"arrow",ref:t=>this.arrowEl=t}),this.closable&&a("ds-close",{key:"83393ec4be0971eb48dcadf76b2341b6e94e71e7",part:"close",onClick:this.handleCloseClick}),a("slot",{key:"53a0d290554605dbafd3192c7bf086b752e81808"})))}get el(){return this}static get watchers(){return{open:[{openChanged:0}],trigger:[{triggerChanged:0}]}}static get style(){return":host{--_popup-background:var(--popup-background, var(--mod-popup-background, var(--ds-popup-color-background)));--_popup-radius:var(--popup-radius, var(--mod-popup-radius, var(--ds-popup-radius)));--_popup-shadow:var(--popup-shadow, var(--mod-popup-shadow, var(--ds-popup-shadow)));--_popup-p:var(--popup-p, var(--mod-popup-p, var(--ds-popup-padding)));--_popup-min-width:var(--popup-min-width, var(--mod-popup-min-width, var(--ds-popup-min-width)));--_popup-max-width:var(--popup-max-width, var(--mod-popup-max-width, none));--_popup-z-index:var(--popup-z-index, var(--mod-popup-z-index, var(--ds-popup-z-index)));--_popup-backdrop-background:var(--popup-backdrop-background, var(--mod-popup-backdrop-background, var(--ds-popup-backdrop-background)));--_popup-backdrop-opacity:var(--popup-backdrop-opacity, var(--mod-popup-backdrop-opacity, var(--ds-popup-backdrop-opacity)));--_popup-arrow-size:var(--popup-arrow-size, var(--mod-popup-arrow-size, var(--ds-popup-arrow-size, 8px)));display:contents}[part=backdrop]{position:fixed;inset:0;z-index:calc(var(--_popup-z-index) - 1);background:var(--_popup-backdrop-background);opacity:0;pointer-events:none;-webkit-transition:opacity 200ms ease;transition:opacity 200ms ease}:host(.is-open) [part=backdrop]{opacity:var(--_popup-backdrop-opacity);pointer-events:auto}:host(.is-animated) [part=backdrop]{-webkit-transition:opacity 200ms ease;transition:opacity 200ms ease}[part=panel]{position:fixed;z-index:var(--_popup-z-index);background:var(--_popup-background);border-radius:var(--_popup-radius);-webkit-box-shadow:var(--_popup-shadow);box-shadow:var(--_popup-shadow);padding:var(--_popup-p);min-width:var(--_popup-min-width);max-width:var(--_popup-max-width);opacity:0;visibility:hidden;pointer-events:none;outline:none !important}[part=panel]::-moz-focus-inner{border:0}:host(.is-open) [part=panel]{opacity:1;visibility:visible;pointer-events:auto}:host(.is-animated) [part=panel]{-webkit-transition:opacity 200ms ease,visibility 200ms ease;transition:opacity 200ms ease,visibility 200ms ease}[part=close]{position:absolute;top:.5rem;right:.5rem}:host(.is-closable) [part=panel]{padding-right:calc(var(--_popup-p) + var(--_popup-p))}[part=arrow]{position:absolute;width:var(--_popup-arrow-size);height:var(--_popup-arrow-size);background:var(--_popup-background);-webkit-transform:rotate(45deg);transform:rotate(45deg);pointer-events:none}[part=panel][data-placement=bottom] [part=arrow]{top:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=top] [part=arrow]{bottom:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=right] [part=arrow]{left:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=left] [part=arrow]{right:calc(var(--_popup-arrow-size)/-2)}@media (prefers-reduced-motion: reduce){:host(.is-animated) [part=panel],:host(.is-animated) [part=backdrop]{-webkit-transition:none !important;transition:none !important}}"}},[257,"ds-popup",{open:[1540],trigger:[16],placement:[1],offset:[2],role:[1],closable:[4],backdropDismiss:[4,"backdrop-dismiss"],backdrop:[4],group:[1],label:[1],arrow:[4],trapFocus:[4,"trap-focus"],animated:[32],isOpen:[32],present:[64],dismiss:[64],toggle:[64],configChanged:[64]},[[4,"click","listenToClick"],[4,"keydown","listenToKeyDown"]],{open:[{openChanged:0}],trigger:[{triggerChanged:0}]}]);function F(){"undefined"!=typeof customElements&&["ds-popup","ds-brand-icon","ds-button","ds-close","ds-icon","ds-spinner"].forEach((t=>{switch(t){case"ds-popup":customElements.get(e(t))||customElements.define(e(t),E);break;case"ds-brand-icon":customElements.get(e(t))||w();break;case"ds-button":customElements.get(e(t))||y();break;case"ds-close":customElements.get(e(t))||k();break;case"ds-icon":customElements.get(e(t))||x();break;case"ds-spinner":customElements.get(e(t))||_()}}))}r([n("popup"),d("design:type",Function),d("design:paramtypes",[Function]),d("design:returntype",void 0)],E.prototype,"createLogger",null),r([z("boolean"),d("design:type",Boolean)],E.prototype,"open",void 0),r([j(B),d("design:type",String)],E.prototype,"placement",void 0),r([z("number"),d("design:type",Number)],E.prototype,"offset",void 0),r([j(["dialog","listbox","menu","tree","grid"]),d("design:type",String)],E.prototype,"role",void 0),r([z("boolean"),d("design:type",Boolean)],E.prototype,"closable",void 0),r([z("boolean"),d("design:type",Boolean)],E.prototype,"backdropDismiss",void 0),r([z("boolean"),d("design:type",Boolean)],E.prototype,"backdrop",void 0),r([z("string"),d("design:type",Object)],E.prototype,"group",void 0),r([z("string"),d("design:type",String)],E.prototype,"label",void 0),r([z("boolean"),d("design:type",Boolean)],E.prototype,"arrow",void 0),r([z("boolean"),d("design:type",Object)],E.prototype,"trapFocus",void 0),r([C(),d("design:type",Function),d("design:paramtypes",[Object]),d("design:returntype",Promise)],E.prototype,"configChanged",null);export{B as P,E as a,F as d}
|
|
4
|
+
import{p as t,H as i,e as s,h as a,c as o,t as e,d as p}from"./p-DOP4fM2o.js";import{_ as r,L as n,a as d}from"./p-C8OqQuJ7.js";import{a as h,c,s as u,f as l,o as m,b}from"./p-C1kAmkEd.js";import{F as g}from"./p-3DnZqMoY.js";import{w as v}from"./p-Dbt7_-_D.js";import{i as f}from"./p-BsFXlUpb.js";import{d as w}from"./p-Bd5NhwlZ.js";import{d as y}from"./p-VnJFXLI2.js";import{d as k}from"./p-BJK2OSM1.js";import{d as x}from"./p-BWrjPWjt.js";import{d as _}from"./p-D8RaAucx.js";import{T as j}from"./p-DEnVBHne.js";import{O as z}from"./p-DaqLtBr3.js";import{L as D}from"./p-B9OReveE.js";const C=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],B=new Map,E=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.dsWillPresent=s(this,"dsWillPresent"),this.dsDidPresent=s(this,"dsDidPresent"),this.dsWillDismiss=s(this,"dsWillDismiss"),this.dsDidDismiss=s(this,"dsDidDismiss"),this.currentTrigger=void 0,this.focusHandler=new g,this.transitionQueue=Promise.resolve(),this.animated=!0,this.isOpen=!1,this.open=!1,this.trigger=void 0,this.placement="bottom",this.offset=8,this.role="dialog",this.closable=!1,this.backdropDismiss=!1,this.backdrop=!1,this.group=void 0,this.label="",this.arrow=!1,this.trapFocus=void 0,this.handleCloseClick=()=>{this.dismiss()}}createLogger(t){this.log=t}openChanged(t){t?this.runPresent():this.runDismiss()}triggerChanged(t,i){i&&(i.removeAttribute("aria-haspopup"),i.removeAttribute("aria-expanded")),t&&(t.setAttribute("aria-haspopup",this.role),t.setAttribute("aria-expanded","false"))}connectedCallback(){this.registerGroup()}componentDidLoad(){this.trigger&&(this.trigger.setAttribute("aria-haspopup",this.role),this.trigger.setAttribute("aria-expanded","false")),this.open&&this.runPresent()}disconnectedCallback(){var t;null===(t=this.cleanupPositioner)||void 0===t||t.call(this),this.focusHandler.disconnect(),this.trigger&&(this.trigger.removeAttribute("aria-haspopup"),this.trigger.removeAttribute("aria-expanded")),this.unregisterGroup()}async listenToClick(t){var i;if(this.el.id){const i=t.target.closest(`[data-popup="${this.el.id}"]`);if(i)return this.currentTrigger=i,void await this.toggle()}if(this.backdropDismiss&&this.isOpen){const s=t.composedPath(),a=s.includes(this.panelEl),o=null!==(i=this.currentTrigger)&&void 0!==i?i:this.trigger,e=!!o&&s.includes(o);a||e||await this.dismiss()}}listenToKeyDown(t){this.isOpen&&this.closable&&f(t)&&(t.stopPropagation(),this.dismiss())}async present(){this.open=!0}async dismiss(){this.open=!1}async toggle(){this.open?this.dismiss():this.present()}async configChanged(t){this.animated=t.animated}get shouldTrapFocus(){return void 0!==this.trapFocus?this.trapFocus:this.backdrop}runPresent(){this.transitionQueue=this.transitionQueue.then((()=>this.doPresent())).catch((()=>{}))}runDismiss(){this.transitionQueue=this.transitionQueue.then((()=>this.doDismiss())).catch((()=>{}))}async doPresent(){var t;if(this.isOpen)return;const i=null!==(t=this.currentTrigger)&&void 0!==t?t:this.trigger;await this.dismissGroupSiblings(),this.dsWillPresent.emit({trigger:i}),i&&(i.setAttribute("aria-expanded","true"),await this.updatePosition(i),this.startPositioner(i)),this.isOpen=!0,this.animated&&await v(300),this.shouldTrapFocus?this.focusHandler.enable({target:this.panelEl,restoreElement:null!=i?i:null}):this.focusPanel(),this.dsDidPresent.emit({trigger:i})}async doDismiss(){var t,i;if(!this.isOpen)return;const s=null!==(t=this.currentTrigger)&&void 0!==t?t:this.trigger;this.dsWillDismiss.emit({trigger:s}),null===(i=this.cleanupPositioner)||void 0===i||i.call(this),this.cleanupPositioner=void 0,s&&s.setAttribute("aria-expanded","false"),this.isOpen=!1,this.animated&&await v(300),this.shouldTrapFocus?(this.focusHandler.disable(),this.focusHandler.restoreFocus()):null==s||s.focus(),this.dsDidDismiss.emit({trigger:s})}startPositioner(t){this.panelEl&&(this.cleanupPositioner=h(t,this.panelEl,(()=>this.updatePosition(t)),{ancestorScroll:!0,ancestorResize:!0,elementResize:!0,layoutShift:!0,animationFrame:!1}))}async updatePosition(t){if(!this.panelEl)return;const{x:i,y:s,placement:a,middlewareData:o}=await c(t,this.panelEl,{placement:this.placement,strategy:"fixed",middleware:[p.hasWindow&&!window.frameElement?u():void 0,l(),m(this.offset),this.arrow&&this.arrowEl?b({element:this.arrowEl}):void 0].filter(Boolean)});if(Object.assign(this.panelEl.style,{left:`${i}px`,top:`${s}px`}),this.panelEl.dataset.placement=a.split("-")[0],this.arrow&&this.arrowEl&&o.arrow){const{x:t,y:i}=o.arrow;Object.assign(this.arrowEl.style,{left:null!=t?`${t}px`:"",top:null!=i?`${i}px`:""})}}focusPanel(){if(!this.panelEl)return;const t=Array.from(this.panelEl.querySelectorAll('button:not([disabled]):not([tabindex^="-"]),input:not([type=hidden]):not([disabled]):not([tabindex^="-"]),select:not([disabled]):not([tabindex^="-"]),textarea:not([disabled]):not([tabindex^="-"]),a[href]:not([tabindex^="-"]),[tabindex]:not([tabindex^="-"])'));t.length>0?t[0].focus({preventScroll:!0}):this.panelEl.focus({preventScroll:!0})}registerGroup(){this.group&&(B.has(this.group)||B.set(this.group,new Set),B.get(this.group).add(this.el))}unregisterGroup(){var t;this.group&&(null===(t=B.get(this.group))||void 0===t||t.delete(this.el))}async dismissGroupSiblings(){if(!this.group)return;const t=B.get(this.group);if(t)for(const i of t)i!==this.el&&await i.dismiss()}render(){return a(o,{key:"fbcc73545dbe44938d0a26ece77f85858c652b71",class:{"is-open":this.isOpen,"is-animated":this.animated,"is-closable":this.closable}},this.backdrop&&a("div",{key:"6c78f88d7af762d56b580fac1ba9aa264ae69073",part:"backdrop"}),a("div",{key:"31f233c1a59254655c8b90aa9c42cd99a9a57fa0",part:"panel",ref:t=>this.panelEl=t,role:this.role,"aria-modal":"dialog"===this.role?"true":void 0,"aria-label":this.label||void 0,tabindex:"-1","data-testid":"ds-popup-panel"},this.arrow&&a("div",{key:"8ac2486a85fbf11448c851493ba3d452059fa65e",part:"arrow",ref:t=>this.arrowEl=t}),this.closable&&a("ds-close",{key:"83393ec4be0971eb48dcadf76b2341b6e94e71e7",part:"close",onClick:this.handleCloseClick}),a("slot",{key:"53a0d290554605dbafd3192c7bf086b752e81808"})))}get el(){return this}static get watchers(){return{open:[{openChanged:0}],trigger:[{triggerChanged:0}]}}static get style(){return":host{--_popup-background:var(--popup-background, var(--mod-popup-background, var(--ds-popup-color-background)));--_popup-radius:var(--popup-radius, var(--mod-popup-radius, var(--ds-popup-radius)));--_popup-shadow:var(--popup-shadow, var(--mod-popup-shadow, var(--ds-popup-shadow)));--_popup-p:var(--popup-p, var(--mod-popup-p, var(--ds-popup-padding)));--_popup-min-width:var(--popup-min-width, var(--mod-popup-min-width, var(--ds-popup-min-width)));--_popup-max-width:var(--popup-max-width, var(--mod-popup-max-width, none));--_popup-z-index:var(--popup-z-index, var(--mod-popup-z-index, var(--ds-popup-z-index)));--_popup-backdrop-background:var(--popup-backdrop-background, var(--mod-popup-backdrop-background, var(--ds-popup-backdrop-background)));--_popup-backdrop-opacity:var(--popup-backdrop-opacity, var(--mod-popup-backdrop-opacity, var(--ds-popup-backdrop-opacity)));--_popup-arrow-size:var(--popup-arrow-size, var(--mod-popup-arrow-size, var(--ds-popup-arrow-size, 8px)));display:contents}[part=backdrop]{position:fixed;inset:0;z-index:calc(var(--_popup-z-index) - 1);background:var(--_popup-backdrop-background);opacity:0;pointer-events:none;-webkit-transition:opacity 200ms ease;transition:opacity 200ms ease}:host(.is-open) [part=backdrop]{opacity:var(--_popup-backdrop-opacity);pointer-events:auto}:host(.is-animated) [part=backdrop]{-webkit-transition:opacity 200ms ease;transition:opacity 200ms ease}[part=panel]{position:fixed;z-index:var(--_popup-z-index);background:var(--_popup-background);border-radius:var(--_popup-radius);-webkit-box-shadow:var(--_popup-shadow);box-shadow:var(--_popup-shadow);padding:var(--_popup-p);min-width:var(--_popup-min-width);max-width:var(--_popup-max-width);opacity:0;visibility:hidden;pointer-events:none;outline:none !important}[part=panel]::-moz-focus-inner{border:0}:host(.is-open) [part=panel]{opacity:1;visibility:visible;pointer-events:auto}:host(.is-animated) [part=panel]{-webkit-transition:opacity 200ms ease,visibility 200ms ease;transition:opacity 200ms ease,visibility 200ms ease}[part=close]{position:absolute;top:.5rem;right:.5rem}:host(.is-closable) [part=panel]{padding-right:calc(var(--_popup-p) + var(--_popup-p))}[part=arrow]{position:absolute;width:var(--_popup-arrow-size);height:var(--_popup-arrow-size);background:var(--_popup-background);-webkit-transform:rotate(45deg);transform:rotate(45deg);pointer-events:none}[part=panel][data-placement=bottom] [part=arrow]{top:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=top] [part=arrow]{bottom:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=right] [part=arrow]{left:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=left] [part=arrow]{right:calc(var(--_popup-arrow-size)/-2)}@media (prefers-reduced-motion: reduce){:host(.is-animated) [part=panel],:host(.is-animated) [part=backdrop]{-webkit-transition:none !important;transition:none !important}}"}},[257,"ds-popup",{open:[1540],trigger:[16],placement:[1],offset:[2],role:[1],closable:[4],backdropDismiss:[4,"backdrop-dismiss"],backdrop:[4],group:[1],label:[1],arrow:[4],trapFocus:[4,"trap-focus"],animated:[32],isOpen:[32],present:[64],dismiss:[64],toggle:[64],configChanged:[64]},[[4,"click","listenToClick"],[4,"keydown","listenToKeyDown"]],{open:[{openChanged:0}],trigger:[{triggerChanged:0}]}]);function P(){"undefined"!=typeof customElements&&["ds-popup","ds-brand-icon","ds-button","ds-close","ds-icon","ds-spinner"].forEach((t=>{switch(t){case"ds-popup":customElements.get(e(t))||customElements.define(e(t),E);break;case"ds-brand-icon":customElements.get(e(t))||w();break;case"ds-button":customElements.get(e(t))||y();break;case"ds-close":customElements.get(e(t))||k();break;case"ds-icon":customElements.get(e(t))||x();break;case"ds-spinner":customElements.get(e(t))||_()}}))}r([n("popup"),d("design:type",Function),d("design:paramtypes",[Function]),d("design:returntype",void 0)],E.prototype,"createLogger",null),r([j("boolean"),d("design:type",Boolean)],E.prototype,"open",void 0),r([z(C),d("design:type",String)],E.prototype,"placement",void 0),r([j("number"),d("design:type",Number)],E.prototype,"offset",void 0),r([z(["dialog","listbox","menu","tree","grid"]),d("design:type",String)],E.prototype,"role",void 0),r([j("boolean"),d("design:type",Boolean)],E.prototype,"closable",void 0),r([j("boolean"),d("design:type",Boolean)],E.prototype,"backdropDismiss",void 0),r([j("boolean"),d("design:type",Boolean)],E.prototype,"backdrop",void 0),r([j("string"),d("design:type",Object)],E.prototype,"group",void 0),r([j("string"),d("design:type",String)],E.prototype,"label",void 0),r([j("boolean"),d("design:type",Boolean)],E.prototype,"arrow",void 0),r([j("boolean"),d("design:type",Object)],E.prototype,"trapFocus",void 0),r([D(),d("design:type",Function),d("design:paramtypes",[Object]),d("design:returntype",Promise)],E.prototype,"configChanged",null);export{C as P,E as a,P as d}
|
|
@@ -2,4 +2,4 @@ import * as __inlinedDynamicImport0 from './p-9Qqq_V-4.js'
|
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
4
4
|
*/
|
|
5
|
-
import{h as o,p as t,H as i,c as s,t as e}from"./p-ZM4hf44X.js";import{_ as a,L as r,a as l}from"./p-C7Qb2sJV.js";import{d as g,c as h,e as n,f as m,g as d,h as v,i as c,j as p,k as C}from"./p-n8QXleYD.js";import{h as f}from"./p-CenSJbHh.js";import{t as _}from"./p-EjCh38Af.js";import{L as b}from"./p-Br89jVgJ.js";import{T as u}from"./p-BV65welS.js";import{O as y}from"./p-PmBBNJAS.js";import{L as M}from"./p-DwoEAAFz.js";const Z=({onlyText:t,height:i})=>o("svg",{focusable:"false","aria-hidden":"true",width:1084/204*i,height:i,viewBox:(!0===t?"230":"0")+" 0 1084 204",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.52,97.92c-3.36,3.36-3.36,8.8,0,12.15l91.41,91.41c3.36,3.36,8.8,3.36,12.15,0l50.72-50.72-30.87-30.87-25.93,25.93-41.81-41.81,41.81-41.81,72.69,72.69,24.8-24.8c3.36-3.36,3.36-8.8,0-12.15L106.08,6.52c-3.36-3.36-8.8-3.36-12.15,0L2.52,97.92ZM352.2,101.98v73.06h-36.42v-65.86c0-12.43-8.5-19.63-19.41-19.63s-19.85,7.85-19.85,18.32v67.17h-36.42V15.62h36.42v51.9c7.85-6.32,18.32-10.25,30.97-10.25,27.04,0,44.71,18.32,44.71,44.71ZM403.23,128.37c3.71,12.87,13.96,19.85,27.7,19.85,12.87,0,19.19-4.36,23.77-11.99l27.26,18.1c-9.16,11.99-23.55,23.55-52.12,23.55-37.95,0-61.93-25.95-61.93-60.19s26.61-60.41,59.75-60.41c37.51,0,59.75,29.66,59.75,58.01,0,5.67-.44,10.03-.87,13.08h-83.31ZM453.6,105.69c-3.05-13.08-11.78-21.15-25.08-21.15s-22.68,7.2-25.73,21.15h50.81ZM503.97,175.04V15.62h36.42v159.42h-36.42ZM638.52,60.11h37.51l-40.78,114.93h-42.53l-40.78-114.93h37.51l24.42,79.16,24.64-79.16ZM712.23,128.37c3.71,12.87,13.96,19.85,27.7,19.85,12.87,0,19.19-4.36,23.77-11.99l27.26,18.1c-9.16,11.99-23.55,23.55-52.12,23.55-37.95,0-61.93-25.95-61.93-60.19s26.61-60.41,59.75-60.41c37.51,0,59.75,29.66,59.75,58.01,0,5.67-.44,10.03-.87,13.08h-83.31ZM762.6,105.69c-3.05-13.08-11.78-21.15-25.08-21.15s-22.68,7.2-25.73,21.15h50.81ZM867.71,175.04c-29.66,0-44.71-17.66-44.71-44.27v-39.69h-19.19v-30.97h9.16c8.07,0,12.21-4.36,12.21-12.87v-17.66h35.33v30.53h26.17v30.97h-27.48v35.33c0,11.12,5.89,17.01,16.14,17.01h11.99v31.62h-19.63ZM902.6,22.46c0-12.87,10.03-22.46,22.9-22.46s22.9,9.6,22.9,22.46-10.03,22.24-22.9,22.24-22.9-9.16-22.9-22.24ZM907.18,175.04V60.11h36.42v114.93h-36.42ZM1050.42,60.11h33.58v114.93h-33.58v-10.47c-8.07,8.5-18.97,13.3-33.15,13.3-33.37,0-57.35-25.73-57.35-60.19s23.99-58.01,57.35-58.01c14.18,0,25.08,4.36,33.15,12.43v-11.99ZM1049.11,117.68c0-16.79-10.69-28.35-26.61-28.35s-26.39,11.99-26.39,28.35,10.9,28.13,26.39,28.13,26.61-11.56,26.61-28.13Z",fill:"#000D6E"})),w=({onlyText:t,height:i})=>o("svg",{focusable:"false","aria-hidden":"true",width:4.9375*i,height:i,viewBox:(!0===t?"36":"0")+" 0 158 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M112.351 3.52166C112.351 1.47065 114.09 0 116.118 0C118.146 0 119.727 1.47065 119.727 3.52166C119.727 5.57268 118.146 7.00945 116.118 7.00945C114.09 7.00945 112.351 5.57324 112.351 3.52166ZM113.231 9.43647H118.97V27.4547H113.231V9.43647ZM82.5903 2.46199H88.33V27.4541H82.5903V2.46199ZM48.3558 27.8995C53.6142 27.8995 57.3602 23.8647 57.3602 18.4631C57.3602 13.0609 53.7175 9.0266 48.4915 9.02715C46.5342 9.02715 44.8845 9.60807 43.5786 10.7022V2.46255H37.839V27.4547H43.132V25.9163C44.4378 27.1814 46.1908 27.8995 48.3558 27.8995ZM47.5312 14.02C49.9368 14.02 51.6893 15.8989 51.6893 18.4631C51.6893 21.0272 49.9368 22.8733 47.5312 22.8733C45.0224 22.8733 43.3034 21.0611 43.3034 18.4631C43.3034 15.8317 44.9877 14.02 47.5312 14.02ZM78.8057 27.4547V9.43647H73.5127V11.317C72.2409 10.0524 70.522 9.36815 68.2889 9.36815C63.0305 9.36815 59.2498 13.0614 59.2498 18.4631C59.2498 23.8647 63.0305 27.8995 68.2889 27.8995C70.5226 27.8995 72.2409 27.1464 73.5127 25.8135V27.4547H78.8057ZM69.114 14.02C71.6229 14.02 73.3072 15.83 73.3072 18.4631C73.3072 21.0617 71.6224 22.8733 69.114 22.8733C66.6744 22.8733 64.9554 21.0256 64.9554 18.4631C64.9554 15.9005 66.7084 14.02 69.114 14.02ZM100.74 9.02659C94.9667 9.02659 90.8422 13.0609 90.8422 18.463C90.8422 23.8308 94.9684 27.8995 100.74 27.8995C106.549 27.8995 110.673 23.8308 110.673 18.463C110.673 13.0609 106.546 9.02659 100.74 9.02659ZM100.774 14.0867C103.283 14.0867 104.899 15.8644 104.899 18.4286C104.899 21.0272 103.249 22.8389 100.774 22.8394C98.2656 22.8394 96.6159 20.9928 96.6159 18.463C96.6159 15.8639 98.2656 14.0867 100.774 14.0867ZM126.05 21.2666L121.307 23.0788C122.373 26.2267 125.294 27.8995 129.382 27.8962C134.159 27.8962 137.183 25.6397 137.183 21.9125C137.183 17.823 133.59 16.8788 130.834 16.1549C129.121 15.7047 127.732 15.3397 127.732 14.3566C127.732 13.6046 128.316 13.1603 129.484 13.1603C130.687 13.1603 131.547 13.7412 131.959 14.8697L136.705 13.0231C135.983 10.4945 133.302 9.02437 129.59 9.02437C125.019 9.02437 122.132 11.1465 122.132 14.6337C122.132 18.3232 125.492 19.3268 128.205 20.1373C130.043 20.6862 131.584 21.1465 131.584 22.2924C131.584 23.1127 130.896 23.6253 129.59 23.6253C127.734 23.6253 126.531 22.7711 126.05 21.2666ZM157.6 18.0871C157.6 13.644 154.094 8.99216 148.183 8.99216C142.959 8.99216 138.766 13.2686 138.766 18.463C138.766 23.8308 142.546 27.8995 148.527 27.8995C152.473 27.8995 154.804 26.3867 156.201 24.6616L152.901 21.3716C151.87 22.6401 150.726 23.2493 148.698 23.2493C146.533 23.2493 144.918 22.1552 144.334 20.1392H157.462C157.557 19.4593 157.603 18.7735 157.6 18.0871ZM144.264 16.5825C144.746 14.3943 146.223 13.2658 148.32 13.2658C150.416 13.2658 151.791 14.531 152.272 16.5825H144.264ZM16.7228 1.02356L31.1352 15.3613C31.2611 15.4866 31.3609 15.6354 31.4289 15.7991C31.497 15.9628 31.5319 16.1383 31.5318 16.3155C31.5316 16.4926 31.4964 16.668 31.428 16.8316C31.3597 16.9953 31.2596 17.1439 31.1335 17.269L27.2256 21.1566L15.7648 9.75525L9.17152 16.3143L15.7648 22.8733L19.8525 18.8063L24.7206 23.6486L16.7256 31.605C16.5997 31.7302 16.4503 31.8296 16.2859 31.8973C16.1215 31.9651 15.9453 32 15.7673 32C15.5893 32 15.4131 31.9651 15.2486 31.8973C15.0842 31.8296 14.9348 31.7302 14.809 31.605L0.396538 17.2673C0.142626 17.0145 0 16.6717 0 16.3143C0 15.9569 0.142626 15.6141 0.396538 15.3613L14.8062 1.02356C14.932 0.898338 15.0814 0.799001 15.2458 0.731227C15.4103 0.663454 15.5865 0.628572 15.7645 0.628572C15.9425 0.628572 16.1187 0.663454 16.2831 0.731227C16.4475 0.799001 16.5969 0.898338 16.7228 1.02356Z",fill:"#000D6E"})),L=t(class extends i{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.isTouch=g.isTouch,this.doesConfigAllowAnimation=!0,this.configBrand="baloise",this.animated=!1,this.color="primary"}createLogger(o){this.log=o}animatedChanged(){this.isAnimated||this.destroyAnimation()}connectedCallback(){this.animatedChanged()}componentDidUpdate(){this.resetAnimation()}componentDidLoad(){this.resetAnimation()}disconnectedCallback(){this.el&&!this.el.isConnected&&this.destroyAnimation()}listenToBreakpoint(o){this.isTouch=o.touch}async configChanged(o){this.doesConfigAllowAnimation=o.animated,this.configBrand=o.brand}get isAnimated(){return this.doesConfigAllowAnimation&&this.animated}async resetAnimation(){this.destroyAnimation(),this.animated&&(await this.loadAnimation(),this.animationFunction&&(this.destroyAnimation(),this.animationItem=this.animationFunction(this.animatedLogoElement,this.getColor(),!1)))}async loadAnimation(){return new Promise(((o,t)=>{if(this.animationFunction)return o();_((async()=>{Promise.resolve(__inlinedDynamicImport0).then((t=>{this.animationFunction=t.animate,o()})).catch(t)}))}))}destroyAnimation(){this.animated&&this.animationItem&&this.animationItem.destroy&&this.animationItem.destroy(),this.animatedLogoElement&&(this.animatedLogoElement.innerHTML="")}getColor(){return"inverted"===this.color?h:n}getHeight(){return"sm"===this.size?this.isTouch?m:d:"lg"===this.size?this.isTouch?v:c:this.isTouch?p:C}render(){const t="helvetia"===this.brand||!f(this.brand)&&"helvetia"===this.configBrand?o(Z,{onlyText:this.animated,height:this.getHeight()}):o(w,{onlyText:this.animated,height:this.getHeight()});return o(s,{key:"0c4ae76f0cc4cf2c61a2c57fe76553d3db2232ec",class:{"is-animated":this.isAnimated,"is-inverted":"inverted"===this.color,"is-sm":"sm"===this.size,"is-lg":"lg"===this.size}},o("div",{key:"dc6e0d480b8c05960f754b8254b842d235b800ff",id:"animated",part:"animated",ref:o=>this.animatedLogoElement=o,"aria-hidden":"true",style:{display:this.isAnimated?"block":"none",width:this.getHeight()+"px",height:this.getHeight()+"px"}}),t)}get el(){return this}static get watchers(){return{animated:[{animatedChanged:0}]}}static get style(){return":host{--_logo-position:var(--logo-position, var(--mod-logo-position, static));--_logo-top:var(--logo-top, var(--mod-logo-top));--_logo-right:var(--logo-right, var(--mod-logo-right));--_logo-bottom:var(--logo-bottom, var(--mod-logo-bottom));--_logo-left:var(--logo-left, var(--mod-logo-left));position:var(--_logo-position);top:var(--_logo-top);right:var(--_logo-right);bottom:var(--_logo-bottom);left:var(--_logo-left);--_logo-m:var(--logo-m, var(--mod-logo-m, 0));--_logo-my:var(--logo-my, var(--mod-logo-my));--_logo-mx:var(--logo-mx, var(--mod-logo-mx));--_logo-ml:var(--logo-ml, var(--mod-logo-ml));--_logo-mr:var(--logo-mr, var(--mod-logo-mr));--_logo-mt:var(--logo-mt, var(--mod-logo-mt));--_logo-mb:var(--logo-mb, var(--mod-logo-mb));margin:var(--_logo-m);margin-inline:var(--_logo-mx);margin-block:var(--_logo-my);margin-left:var(--_logo-ml);margin-right:var(--_logo-mr);margin-top:var(--_logo-mt);margin-bottom:var(--_logo-mb);--_logo-color:var(--logo-color, var(--mod-logo-color, var(--ds-logo-color-primary)));--_logo-height:var(--logo-height, var(--mod-logo-height, var(--ds-logo-size-base-mobile)))}:host{margin:var(--_logo-m);margin-inline:var(--_logo-mx);margin-block:var(--_logo-my);margin-left:var(--_logo-ml);margin-right:var(--_logo-mr);margin-top:var(--_logo-mt);margin-bottom:var(--_logo-mb);position:var(--_logo-position);top:var(--_logo-top);right:var(--_logo-right);bottom:var(--_logo-bottom);left:var(--_logo-left);position:static;display:grid;grid-template-columns:1fr;gap:4px}:host svg{-webkit-transform:unset !important;transform:unset !important}:host svg svg,:host svg g,:host svg path,:host svg circle{fill:var(--_logo-color)}:host{height:var(--_logo-height)}:host>div{height:var(--_logo-height)}@media screen and (min-width: 1024px){:host{--mod-logo-height:var(--ds-logo-size-base-desktop)}}:host #animated{display:none;width:0;height:0}:host(.is-animated){grid-template-columns:auto 1fr}:host(.is-animated) #animated{display:block;width:var(--_logo-height);height:var(--_logo-height)}:host(.is-inverted){--mod-logo-color:var(--ds-logo-color-inverted)}:host(.is-sm){--mod-logo-height:var(--ds-logo-size-sm-mobile)}@media screen and (min-width: 1024px){:host(.is-sm){--mod-logo-height:var(--ds-logo-size-sm-desktop)}}:host(.is-lg){--mod-logo-height:var(--ds-logo-size-lg-mobile)}@media screen and (min-width: 1024px){:host(.is-lg){--mod-logo-height:var(--ds-logo-size-lg-desktop)}}"}},[1,"ds-logo",{animated:[4],brand:[1],color:[1],size:[1],isTouch:[32],doesConfigAllowAnimation:[32],configBrand:[32],configChanged:[64]},void 0,{animated:[{animatedChanged:0}]}]);function x(){"undefined"!=typeof customElements&&["ds-logo"].forEach((o=>{"ds-logo"===o&&(customElements.get(e(o))||customElements.define(e(o),L))}))}a([r("logo"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],L.prototype,"createLogger",null),a([u("boolean"),l("design:type",Boolean)],L.prototype,"animated",void 0),a([y(["baloise","helvetia"]),l("design:type",String)],L.prototype,"brand",void 0),a([y(["primary","inverted"]),l("design:type",String)],L.prototype,"color",void 0),a([y(["lg","sm"]),l("design:type",String)],L.prototype,"size",void 0),a([b(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",void 0)],L.prototype,"listenToBreakpoint",null),a([M(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],L.prototype,"configChanged",null);export{L,x as d}
|
|
5
|
+
import{h as o,p as t,H as i,c as s,t as e}from"./p-DOP4fM2o.js";import{_ as a,L as r,a as l}from"./p-C8OqQuJ7.js";import{d as g,c as h,e as n,f as m,g as d,h as v,i as c,j as p,k as C}from"./p-DpLrRYE7.js";import{h as f}from"./p-CEPnyz7c.js";import{t as _}from"./p-Dbt7_-_D.js";import{L as u}from"./p-Dq0RGuR5.js";import{T as b}from"./p-DEnVBHne.js";import{O as y}from"./p-DaqLtBr3.js";import{L as M}from"./p-B9OReveE.js";const Z=({onlyText:t,height:i})=>o("svg",{focusable:"false","aria-hidden":"true",width:1084/204*i,height:i,viewBox:(!0===t?"230":"0")+" 0 1084 204",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.52,97.92c-3.36,3.36-3.36,8.8,0,12.15l91.41,91.41c3.36,3.36,8.8,3.36,12.15,0l50.72-50.72-30.87-30.87-25.93,25.93-41.81-41.81,41.81-41.81,72.69,72.69,24.8-24.8c3.36-3.36,3.36-8.8,0-12.15L106.08,6.52c-3.36-3.36-8.8-3.36-12.15,0L2.52,97.92ZM352.2,101.98v73.06h-36.42v-65.86c0-12.43-8.5-19.63-19.41-19.63s-19.85,7.85-19.85,18.32v67.17h-36.42V15.62h36.42v51.9c7.85-6.32,18.32-10.25,30.97-10.25,27.04,0,44.71,18.32,44.71,44.71ZM403.23,128.37c3.71,12.87,13.96,19.85,27.7,19.85,12.87,0,19.19-4.36,23.77-11.99l27.26,18.1c-9.16,11.99-23.55,23.55-52.12,23.55-37.95,0-61.93-25.95-61.93-60.19s26.61-60.41,59.75-60.41c37.51,0,59.75,29.66,59.75,58.01,0,5.67-.44,10.03-.87,13.08h-83.31ZM453.6,105.69c-3.05-13.08-11.78-21.15-25.08-21.15s-22.68,7.2-25.73,21.15h50.81ZM503.97,175.04V15.62h36.42v159.42h-36.42ZM638.52,60.11h37.51l-40.78,114.93h-42.53l-40.78-114.93h37.51l24.42,79.16,24.64-79.16ZM712.23,128.37c3.71,12.87,13.96,19.85,27.7,19.85,12.87,0,19.19-4.36,23.77-11.99l27.26,18.1c-9.16,11.99-23.55,23.55-52.12,23.55-37.95,0-61.93-25.95-61.93-60.19s26.61-60.41,59.75-60.41c37.51,0,59.75,29.66,59.75,58.01,0,5.67-.44,10.03-.87,13.08h-83.31ZM762.6,105.69c-3.05-13.08-11.78-21.15-25.08-21.15s-22.68,7.2-25.73,21.15h50.81ZM867.71,175.04c-29.66,0-44.71-17.66-44.71-44.27v-39.69h-19.19v-30.97h9.16c8.07,0,12.21-4.36,12.21-12.87v-17.66h35.33v30.53h26.17v30.97h-27.48v35.33c0,11.12,5.89,17.01,16.14,17.01h11.99v31.62h-19.63ZM902.6,22.46c0-12.87,10.03-22.46,22.9-22.46s22.9,9.6,22.9,22.46-10.03,22.24-22.9,22.24-22.9-9.16-22.9-22.24ZM907.18,175.04V60.11h36.42v114.93h-36.42ZM1050.42,60.11h33.58v114.93h-33.58v-10.47c-8.07,8.5-18.97,13.3-33.15,13.3-33.37,0-57.35-25.73-57.35-60.19s23.99-58.01,57.35-58.01c14.18,0,25.08,4.36,33.15,12.43v-11.99ZM1049.11,117.68c0-16.79-10.69-28.35-26.61-28.35s-26.39,11.99-26.39,28.35,10.9,28.13,26.39,28.13,26.61-11.56,26.61-28.13Z",fill:"#000D6E"})),L=({onlyText:t,height:i})=>o("svg",{focusable:"false","aria-hidden":"true",width:4.9375*i,height:i,viewBox:(!0===t?"36":"0")+" 0 158 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M112.351 3.52166C112.351 1.47065 114.09 0 116.118 0C118.146 0 119.727 1.47065 119.727 3.52166C119.727 5.57268 118.146 7.00945 116.118 7.00945C114.09 7.00945 112.351 5.57324 112.351 3.52166ZM113.231 9.43647H118.97V27.4547H113.231V9.43647ZM82.5903 2.46199H88.33V27.4541H82.5903V2.46199ZM48.3558 27.8995C53.6142 27.8995 57.3602 23.8647 57.3602 18.4631C57.3602 13.0609 53.7175 9.0266 48.4915 9.02715C46.5342 9.02715 44.8845 9.60807 43.5786 10.7022V2.46255H37.839V27.4547H43.132V25.9163C44.4378 27.1814 46.1908 27.8995 48.3558 27.8995ZM47.5312 14.02C49.9368 14.02 51.6893 15.8989 51.6893 18.4631C51.6893 21.0272 49.9368 22.8733 47.5312 22.8733C45.0224 22.8733 43.3034 21.0611 43.3034 18.4631C43.3034 15.8317 44.9877 14.02 47.5312 14.02ZM78.8057 27.4547V9.43647H73.5127V11.317C72.2409 10.0524 70.522 9.36815 68.2889 9.36815C63.0305 9.36815 59.2498 13.0614 59.2498 18.4631C59.2498 23.8647 63.0305 27.8995 68.2889 27.8995C70.5226 27.8995 72.2409 27.1464 73.5127 25.8135V27.4547H78.8057ZM69.114 14.02C71.6229 14.02 73.3072 15.83 73.3072 18.4631C73.3072 21.0617 71.6224 22.8733 69.114 22.8733C66.6744 22.8733 64.9554 21.0256 64.9554 18.4631C64.9554 15.9005 66.7084 14.02 69.114 14.02ZM100.74 9.02659C94.9667 9.02659 90.8422 13.0609 90.8422 18.463C90.8422 23.8308 94.9684 27.8995 100.74 27.8995C106.549 27.8995 110.673 23.8308 110.673 18.463C110.673 13.0609 106.546 9.02659 100.74 9.02659ZM100.774 14.0867C103.283 14.0867 104.899 15.8644 104.899 18.4286C104.899 21.0272 103.249 22.8389 100.774 22.8394C98.2656 22.8394 96.6159 20.9928 96.6159 18.463C96.6159 15.8639 98.2656 14.0867 100.774 14.0867ZM126.05 21.2666L121.307 23.0788C122.373 26.2267 125.294 27.8995 129.382 27.8962C134.159 27.8962 137.183 25.6397 137.183 21.9125C137.183 17.823 133.59 16.8788 130.834 16.1549C129.121 15.7047 127.732 15.3397 127.732 14.3566C127.732 13.6046 128.316 13.1603 129.484 13.1603C130.687 13.1603 131.547 13.7412 131.959 14.8697L136.705 13.0231C135.983 10.4945 133.302 9.02437 129.59 9.02437C125.019 9.02437 122.132 11.1465 122.132 14.6337C122.132 18.3232 125.492 19.3268 128.205 20.1373C130.043 20.6862 131.584 21.1465 131.584 22.2924C131.584 23.1127 130.896 23.6253 129.59 23.6253C127.734 23.6253 126.531 22.7711 126.05 21.2666ZM157.6 18.0871C157.6 13.644 154.094 8.99216 148.183 8.99216C142.959 8.99216 138.766 13.2686 138.766 18.463C138.766 23.8308 142.546 27.8995 148.527 27.8995C152.473 27.8995 154.804 26.3867 156.201 24.6616L152.901 21.3716C151.87 22.6401 150.726 23.2493 148.698 23.2493C146.533 23.2493 144.918 22.1552 144.334 20.1392H157.462C157.557 19.4593 157.603 18.7735 157.6 18.0871ZM144.264 16.5825C144.746 14.3943 146.223 13.2658 148.32 13.2658C150.416 13.2658 151.791 14.531 152.272 16.5825H144.264ZM16.7228 1.02356L31.1352 15.3613C31.2611 15.4866 31.3609 15.6354 31.4289 15.7991C31.497 15.9628 31.5319 16.1383 31.5318 16.3155C31.5316 16.4926 31.4964 16.668 31.428 16.8316C31.3597 16.9953 31.2596 17.1439 31.1335 17.269L27.2256 21.1566L15.7648 9.75525L9.17152 16.3143L15.7648 22.8733L19.8525 18.8063L24.7206 23.6486L16.7256 31.605C16.5997 31.7302 16.4503 31.8296 16.2859 31.8973C16.1215 31.9651 15.9453 32 15.7673 32C15.5893 32 15.4131 31.9651 15.2486 31.8973C15.0842 31.8296 14.9348 31.7302 14.809 31.605L0.396538 17.2673C0.142626 17.0145 0 16.6717 0 16.3143C0 15.9569 0.142626 15.6141 0.396538 15.3613L14.8062 1.02356C14.932 0.898338 15.0814 0.799001 15.2458 0.731227C15.4103 0.663454 15.5865 0.628572 15.7645 0.628572C15.9425 0.628572 16.1187 0.663454 16.2831 0.731227C16.4475 0.799001 16.5969 0.898338 16.7228 1.02356Z",fill:"#000D6E"})),w=t(class extends i{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.isTouch=g.isTouch,this.doesConfigAllowAnimation=!0,this.configBrand="baloise",this.animated=!1,this.color="primary"}createLogger(o){this.log=o}animatedChanged(){this.isAnimated||this.destroyAnimation()}connectedCallback(){this.animatedChanged()}componentDidUpdate(){this.resetAnimation()}componentDidLoad(){this.resetAnimation()}disconnectedCallback(){this.el&&!this.el.isConnected&&this.destroyAnimation()}listenToBreakpoint(o){this.isTouch=o.touch}async configChanged(o){this.doesConfigAllowAnimation=o.animated,this.configBrand=o.brand}get isAnimated(){return this.doesConfigAllowAnimation&&this.animated}async resetAnimation(){this.destroyAnimation(),this.animated&&(await this.loadAnimation(),this.animationFunction&&(this.destroyAnimation(),this.animationItem=this.animationFunction(this.animatedLogoElement,this.getColor(),!1)))}async loadAnimation(){return new Promise(((o,t)=>{if(this.animationFunction)return o();_((async()=>{Promise.resolve(__inlinedDynamicImport0).then((t=>{this.animationFunction=t.animate,o()})).catch(t)}))}))}destroyAnimation(){this.animated&&this.animationItem&&this.animationItem.destroy&&this.animationItem.destroy(),this.animatedLogoElement&&(this.animatedLogoElement.innerHTML="")}getColor(){return"inverted"===this.color?h:n}getHeight(){return"sm"===this.size?this.isTouch?m:d:"lg"===this.size?this.isTouch?v:c:this.isTouch?p:C}render(){const t="helvetia"===this.brand||!f(this.brand)&&"helvetia"===this.configBrand?o(Z,{onlyText:this.animated,height:this.getHeight()}):o(L,{onlyText:this.animated,height:this.getHeight()});return o(s,{key:"0c4ae76f0cc4cf2c61a2c57fe76553d3db2232ec",class:{"is-animated":this.isAnimated,"is-inverted":"inverted"===this.color,"is-sm":"sm"===this.size,"is-lg":"lg"===this.size}},o("div",{key:"dc6e0d480b8c05960f754b8254b842d235b800ff",id:"animated",part:"animated",ref:o=>this.animatedLogoElement=o,"aria-hidden":"true",style:{display:this.isAnimated?"block":"none",width:this.getHeight()+"px",height:this.getHeight()+"px"}}),t)}get el(){return this}static get watchers(){return{animated:[{animatedChanged:0}]}}static get style(){return":host{--_logo-position:var(--logo-position, var(--mod-logo-position, static));--_logo-top:var(--logo-top, var(--mod-logo-top));--_logo-right:var(--logo-right, var(--mod-logo-right));--_logo-bottom:var(--logo-bottom, var(--mod-logo-bottom));--_logo-left:var(--logo-left, var(--mod-logo-left));position:var(--_logo-position);top:var(--_logo-top);right:var(--_logo-right);bottom:var(--_logo-bottom);left:var(--_logo-left);--_logo-m:var(--logo-m, var(--mod-logo-m, 0));--_logo-my:var(--logo-my, var(--mod-logo-my));--_logo-mx:var(--logo-mx, var(--mod-logo-mx));--_logo-ml:var(--logo-ml, var(--mod-logo-ml));--_logo-mr:var(--logo-mr, var(--mod-logo-mr));--_logo-mt:var(--logo-mt, var(--mod-logo-mt));--_logo-mb:var(--logo-mb, var(--mod-logo-mb));margin:var(--_logo-m);margin-inline:var(--_logo-mx);margin-block:var(--_logo-my);margin-left:var(--_logo-ml);margin-right:var(--_logo-mr);margin-top:var(--_logo-mt);margin-bottom:var(--_logo-mb);--_logo-color:var(--logo-color, var(--mod-logo-color, var(--ds-logo-color-primary)));--_logo-height:var(--logo-height, var(--mod-logo-height, var(--ds-logo-size-base-mobile)))}:host{margin:var(--_logo-m);margin-inline:var(--_logo-mx);margin-block:var(--_logo-my);margin-left:var(--_logo-ml);margin-right:var(--_logo-mr);margin-top:var(--_logo-mt);margin-bottom:var(--_logo-mb);position:var(--_logo-position);top:var(--_logo-top);right:var(--_logo-right);bottom:var(--_logo-bottom);left:var(--_logo-left);position:static;display:grid;grid-template-columns:1fr;gap:4px}:host svg{-webkit-transform:unset !important;transform:unset !important}:host svg svg,:host svg g,:host svg path,:host svg circle{fill:var(--_logo-color)}:host{height:var(--_logo-height)}:host>div{height:var(--_logo-height)}@media screen and (min-width: 1024px){:host{--mod-logo-height:var(--ds-logo-size-base-desktop)}}:host #animated{display:none;width:0;height:0}:host(.is-animated){grid-template-columns:auto 1fr}:host(.is-animated) #animated{display:block;width:var(--_logo-height);height:var(--_logo-height)}:host(.is-inverted){--mod-logo-color:var(--ds-logo-color-inverted)}:host(.is-sm){--mod-logo-height:var(--ds-logo-size-sm-mobile)}@media screen and (min-width: 1024px){:host(.is-sm){--mod-logo-height:var(--ds-logo-size-sm-desktop)}}:host(.is-lg){--mod-logo-height:var(--ds-logo-size-lg-mobile)}@media screen and (min-width: 1024px){:host(.is-lg){--mod-logo-height:var(--ds-logo-size-lg-desktop)}}"}},[1,"ds-logo",{animated:[4],brand:[1],color:[1],size:[1],isTouch:[32],doesConfigAllowAnimation:[32],configBrand:[32],configChanged:[64]},void 0,{animated:[{animatedChanged:0}]}]);function x(){"undefined"!=typeof customElements&&["ds-logo"].forEach((o=>{"ds-logo"===o&&(customElements.get(e(o))||customElements.define(e(o),w))}))}a([r("logo"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],w.prototype,"createLogger",null),a([b("boolean"),l("design:type",Boolean)],w.prototype,"animated",void 0),a([y(["baloise","helvetia"]),l("design:type",String)],w.prototype,"brand",void 0),a([y(["primary","inverted"]),l("design:type",String)],w.prototype,"color",void 0),a([y(["lg","sm"]),l("design:type",String)],w.prototype,"size",void 0),a([u(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",void 0)],w.prototype,"listenToBreakpoint",null),a([M(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],w.prototype,"configChanged",null);export{w as L,x as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{p as s,H as a,e as
|
|
4
|
+
import{p as s,H as a,e as t,h as i,c as e,t as r}from"./p-DOP4fM2o.js";import{_ as o,L as d,a as n}from"./p-C8OqQuJ7.js";import{w as c}from"./p-Dbt7_-_D.js";import{S as l}from"./p-CDNe0ZaI.js";import{d as h}from"./p-Bd5NhwlZ.js";import{d as p}from"./p-VnJFXLI2.js";import{d as m}from"./p-BJK2OSM1.js";import{d as b}from"./p-BWrjPWjt.js";import{d as u}from"./p-D8RaAucx.js";import{T as g}from"./p-DEnVBHne.js";import{O as f}from"./p-DaqLtBr3.js";import{L as w}from"./p-B9OReveE.js";const v=s(class extends a{constructor(s){super(),!1!==s&&this.__registerHost(),this.__attachShadow(),this.dsWillPresent=t(this,"dsWillPresent"),this.dsDidPresent=t(this,"dsDidPresent"),this.dsWillDismiss=t(this,"dsWillDismiss"),this.dsDidDismiss=t(this,"dsDidDismiss"),this.scrollHandler=new l,this.transitionQueue=Promise.resolve(),this.animated=!0,this.isOpen=!1,this.open=!1,this.closable=!0,this.backdropDismiss=!0,this.label="",this.container="default",this.handleCancel=s=>{s.preventDefault(),this.closable&&(this.open=!1)},this.handleNativeClose=()=>{var s;this.open&&(null===(s=this.dialogEl)||void 0===s||s.showModal())},this.handleBackdropClick=s=>{this.backdropDismiss&&s.target===this.dialogEl&&(this.open=!1)},this.handleCloseClick=()=>{this.open=!1}}createLogger(s){this.log=s}openChanged(s){s?this.runOpen():this.runClose()}connectedCallback(){this.scrollHandler.connect()}componentDidLoad(){var s,a;null===(s=this.dialogEl)||void 0===s||s.addEventListener("cancel",this.handleCancel),null===(a=this.dialogEl)||void 0===a||a.addEventListener("close",this.handleNativeClose),this.open&&this.runOpen()}disconnectedCallback(){var s,a;null===(s=this.dialogEl)||void 0===s||s.removeEventListener("cancel",this.handleCancel),null===(a=this.dialogEl)||void 0===a||a.removeEventListener("close",this.handleNativeClose),this.scrollHandler.disconnect()}async present(){this.open=!0}async dismiss(){this.open=!1}async configChanged(s){this.animated=s.animated}runOpen(){this.transitionQueue=this.transitionQueue.then((()=>this.doOpen())).catch((()=>{}))}runClose(){this.transitionQueue=this.transitionQueue.then((()=>this.doClose())).catch((()=>{}))}async doOpen(){var s,a;(null===(s=this.dialogEl)||void 0===s?void 0:s.open)||(this.dsWillPresent.emit(),null===(a=this.dialogEl)||void 0===a||a.showModal(),this.scrollHandler.disable(),this.isOpen=!0,this.animated&&await c(300),this.dsDidPresent.emit())}async doClose(){var s,a;(null===(s=this.dialogEl)||void 0===s?void 0:s.open)&&(this.dsWillDismiss.emit(),this.isOpen=!1,this.animated&&await c(300),null===(a=this.dialogEl)||void 0===a||a.close(),this.scrollHandler.enable(),this.dsDidDismiss.emit())}render(){return i(e,{key:"148b3071e52aa73f5860894c0498d3eccbcb7424",class:{"is-open":this.isOpen,"is-animated":this.animated}},i("dialog",{key:"120491d7a155d06ce44131823176eab806f8e692",part:"dialog",ref:s=>this.dialogEl=s,"aria-label":this.label||void 0,onClick:this.handleBackdropClick},i("div",{key:"63768e5098b1312368667d5a589c5bd2d657ca82",class:{"ds-container":!0,"is-fluid":"fluid"===this.container,"is-compact":"compact"===this.container}},this.closable&&i("ds-close",{key:"a7e3ff650ebe73948027d41859c98a92639a4389",part:"close",onClick:this.handleCloseClick}),i("slot",{key:"7769da23ecd0d903909cfe4b333ff8f41e100ad3"}))))}get el(){return this}static get watchers(){return{open:[{openChanged:0}]}}static get style(){return":host{--_drawer-background:var(--drawer-background, var(--mod-drawer-background, var(--ds-drawer-background)));--_drawer-radius:var(--drawer-radius, var(--mod-drawer-radius, var(--ds-drawer-radius)));--_drawer-max-height:var(--drawer-max-height, var(--mod-drawer-max-height, var(--ds-drawer-max-height)));--_drawer-p:var(--drawer-p, var(--mod-drawer-p, var(--ds-drawer-padding)));--_drawer-backdrop-opacity:var(--drawer-backdrop-opacity, var(--mod-drawer-backdrop-opacity, var(--ds-backdrop-opacity)));display:contents}:host dialog{all:unset;-webkit-box-sizing:border-box;box-sizing:border-box;position:fixed;bottom:0;left:0;right:0;width:100%;max-height:var(--_drawer-max-height);overflow-y:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%);pointer-events:none}:host(.is-open) dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);pointer-events:auto}:host(.is-animated) dialog{-webkit-transition:opacity 300ms ease,-webkit-transform 300ms ease;transition:opacity 300ms ease,-webkit-transform 300ms ease;transition:opacity 300ms ease,transform 300ms ease;transition:opacity 300ms ease,transform 300ms ease,-webkit-transform 300ms ease}:host dialog::-webkit-backdrop{background-color:rgba(0,7,57,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:var(--_drawer-backdrop-opacity)}:host dialog::-ms-backdrop{background-color:rgba(0,7,57,.5);backdrop-filter:blur(4px);opacity:var(--_drawer-backdrop-opacity)}:host dialog::backdrop{background-color:rgba(0,7,57,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:var(--_drawer-backdrop-opacity)}:host .ds-container ds-close{position:absolute;top:1rem;right:1rem}:host .ds-container{-ms-flex:1;flex:1;width:100%;margin:0 auto;max-width:var(--ds-alias-container-width-default);background:var(--_drawer-background);border-radius:var(--_drawer-radius) var(--_drawer-radius) 0 0;padding:var(--_drawer-p);position:relative}:host .ds-container.is-fluid{max-width:var(--ds-alias-container-width-fluid)}:host .ds-container.is-compact{max-width:var(--ds-alias-container-width-compact)}@media (prefers-reduced-motion: reduce){:host(.is-animated) dialog{-webkit-transition:none !important;transition:none !important}}"}},[257,"ds-drawer",{open:[1540],closable:[4],backdropDismiss:[4,"backdrop-dismiss"],label:[1],container:[1],animated:[32],isOpen:[32],present:[64],dismiss:[64],configChanged:[64]},void 0,{open:[{openChanged:0}]}]);function k(){"undefined"!=typeof customElements&&["ds-drawer","ds-brand-icon","ds-button","ds-close","ds-icon","ds-spinner"].forEach((s=>{switch(s){case"ds-drawer":customElements.get(r(s))||customElements.define(r(s),v);break;case"ds-brand-icon":customElements.get(r(s))||h();break;case"ds-button":customElements.get(r(s))||p();break;case"ds-close":customElements.get(r(s))||m();break;case"ds-icon":customElements.get(r(s))||b();break;case"ds-spinner":customElements.get(r(s))||u()}}))}o([d("drawer"),n("design:type",Function),n("design:paramtypes",[Function]),n("design:returntype",void 0)],v.prototype,"createLogger",null),o([g("boolean"),n("design:type",Boolean)],v.prototype,"open",void 0),o([g("boolean"),n("design:type",Boolean)],v.prototype,"closable",void 0),o([g("boolean"),n("design:type",Boolean)],v.prototype,"backdropDismiss",void 0),o([g("string"),n("design:type",String)],v.prototype,"label",void 0),o([f(["default","fluid","compact"]),n("design:type",String)],v.prototype,"container",void 0),o([w(),n("design:type",Function),n("design:paramtypes",[Object]),n("design:returntype",Promise)],v.prototype,"configChanged",null);export{v as D,k as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{i as n}from"./p-
|
|
4
|
+
import{i as n}from"./p-DOP4fM2o.js";const t=[void 0,null,"",Number.NaN];function e(n){return t.some((t=>Object.is(t,n)))}const o=new WeakSet,i=new WeakSet,c=new WeakMap,r=new WeakMap,s=new WeakMap,f=new WeakMap;function u(n,t,e){let o=n.get(t);return o||(o=e(),n.set(t,o)),o}function a(n){return u(r,n,(()=>new Set))}function b(n){return u(s,n,(()=>new Map))}function p(n,t){const o=Object.getPrototypeOf(n),i=c.get(o);if(!i)return;const r=i.get(t);if(!r||0===r.length)return;const s=[...r].sort(((n,t)=>n.priority-t.priority)),f=e(n[t]);for(const e of s)if((!f||e.validateEmptyValues)&&!e.run(n,t)&&e.blocking)break}function h(n){return function(t,e){!function(n,t){const e=Object.getOwnPropertyDescriptor(n,t);e&&e.get||Object.defineProperty(n,t,{get(){return b(this).get(t)},set(n){if(b(this).set(t,n),i.has(this)){p(this,t);const n=Object.getPrototypeOf(this),e=f.get(n);if(e){const n=e.get(t);if(n)for(const t of n)p(this,t)}}},enumerable:!0,configurable:!0})}(t,e),function(n){if(o.has(n))return;o.add(n);const t="componentDidLoad"in n&&"function"==typeof n.componentDidLoad?n.componentDidLoad:void 0;Object.defineProperty(n,"componentDidLoad",{writable:!0,configurable:!0,value:function(...n){i.add(this);const e=a(Object.getPrototypeOf(this));for(const n of e)p(this,n);if(t)return t.apply(this,n)}})}(t),a(t).add(e),function(n,t){const e=u(c,n,(()=>new Map));return u(e,t,(()=>[]))}(t,e).push(n)}}function w(t,e){const o=n(t),i=o.localName,c=t[e];return{value:c,showError(n){console.error(`[${i}] Property "${String(e)}" ${n}. Received: ${JSON.stringify(c)}.`,o)}}}export{h as c,w as g,e as i}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{d as t}from"./p-
|
|
4
|
+
import{d as t}from"./p-DOP4fM2o.js";class i{get isPortrait(){return!(!t.hasWindow||!window.matchMedia)&&window.matchMedia("(orientation: portrait)").matches}get isLandscape(){return!t.hasWindow||!window.matchMedia||window.matchMedia("(orientation: landscape)").matches}toObject(){return{landscape:this.isLandscape,portrait:this.isPortrait}}}class r{constructor(){this.orientation=new i}get isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|OperaMini/i.test(t.userAgent)}get hasTouchScreen(){return!(!t.hasWindow||!t.hasNavigator||!("ontouchstart"in window)&&!navigator.msMaxTouchPoints)}}const o=new r;export{r as D,o as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{p as i,H as d,h as r,t as e,c as a}from"./p-
|
|
4
|
+
import{p as i,H as d,h as r,t as e,c as a}from"./p-DOP4fM2o.js";import{_ as s,L as v,a as o}from"./p-C8OqQuJ7.js";import{h as t}from"./p-CEPnyz7c.js";import{n as m}from"./p-B3VN_5Hp.js";import{O as n}from"./p-DaqLtBr3.js";import{T as c}from"./p-DEnVBHne.js";const l=i(class extends d{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.layout="horizontal",this.space="none",this.color="default",this.dashed=!1}createLogger(i){this.log=i}render(){const i=m(this.space)||"";return r(a,{key:"5990e6d2937498c9dc20b3e606d3068c1deb3f65",role:"separator",class:{[`is-${this.layout}`]:t(this.layout),[`is-${this.color}`]:t(this.color),[`has-space-${i}`]:t(this.space),"is-dashed":this.dashed}})}get el(){return this}static get style(){return":host{--_divider-position:var(--divider-position, var(--mod-divider-position, static));--_divider-top:var(--divider-top, var(--mod-divider-top));--_divider-right:var(--divider-right, var(--mod-divider-right));--_divider-bottom:var(--divider-bottom, var(--mod-divider-bottom));--_divider-left:var(--divider-left, var(--mod-divider-left));position:var(--_divider-position);top:var(--_divider-top);right:var(--_divider-right);bottom:var(--_divider-bottom);left:var(--_divider-left);--_divider-m:var(--divider-m, var(--mod-divider-m, 0));--_divider-my:var(--divider-my, var(--mod-divider-my));--_divider-mx:var(--divider-mx, var(--mod-divider-mx));--_divider-ml:var(--divider-ml, var(--mod-divider-ml));--_divider-mr:var(--divider-mr, var(--mod-divider-mr));--_divider-mt:var(--divider-mt, var(--mod-divider-mt));--_divider-mb:var(--divider-mb, var(--mod-divider-mb));margin:var(--_divider-m);margin-inline:var(--_divider-mx);margin-block:var(--_divider-my);margin-left:var(--_divider-ml);margin-right:var(--_divider-mr);margin-top:var(--_divider-mt);margin-bottom:var(--_divider-mb);--_divider-color:var(--divider-color, var(--mod-divider-color, var(--ds-divider-color-default)));--_divider-size:var(--divider-size, var(--mod-divider-size, var(--ds-divider-size)));--_divider-radius:var(--divider-radius, var(--mod-divider-radius, var(--ds-divider-radius)));--_divider-margin:var(--divider-margin, var(--mod-divider-margin, 0))}:host{display:block;padding:0;margin:0;border:none;border-radius:var(--_divider-radius);height:var(--_divider-size);background-color:var(--_divider-color)}:host(:not(.is-vertical)),:host(.is-horizontal){-ms-flex:1 0 100%;flex:1 0 100%;width:100%;min-height:var(--_divider-size);height:var(--_divider-size);margin-top:var(--_divider-margin);margin-bottom:var(--_divider-margin)}:host(.is-vertical){height:auto;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:stretch;align-self:stretch;width:var(--_divider-size);margin-left:var(--_divider-margin);margin-right:var(--_divider-margin)}:host(.is-primary){--mod-divider-color:var(--ds-divider-color-primary)}:host(.is-secondary){--mod-divider-color:var(--ds-divider-color-secondary)}:host(.is-default){--mod-divider-color:var(--ds-divider-color-default)}:host(.is-inverted){--mod-divider-color:var(--ds-divider-color-inverted)}:host(.has-space-none){--mod-divider-margin:var(--ds-device-space-none)}:host(.has-space-2xs){--mod-divider-margin:var(--ds-device-space-2xs)}:host(.has-space-xs){--mod-divider-margin:var(--ds-device-space-xs)}:host(.has-space-sm){--mod-divider-margin:var(--ds-device-space-sm)}:host(.has-space-base){--mod-divider-margin:var(--ds-device-space-base)}:host(.has-space-md){--mod-divider-margin:var(--ds-device-space-md)}:host(.has-space-lg){--mod-divider-margin:var(--ds-device-space-lg)}:host(.has-space-xl){--mod-divider-margin:var(--ds-device-space-xl)}:host(.has-space-2xl){--mod-divider-margin:var(--ds-device-space-2xl)}:host(.has-space-3xl){--mod-divider-margin:var(--ds-device-space-3xl)}:host(:not(.is-vertical).is-dashed){background:repeating-linear-gradient(90deg, var(--_divider-color) 0, var(--_divider-color) 8px, transparent 8px, transparent 16px)}:host(.is-vertical.is-dashed){background:repeating-linear-gradient(180deg, var(--_divider-color) 0, var(--_divider-color) 8px, transparent 8px, transparent 16px)}:host{display:block}"}},[1,"ds-divider",{layout:[1],space:[1],color:[1],dashed:[4]}]);function p(){"undefined"!=typeof customElements&&["ds-divider"].forEach((i=>{"ds-divider"===i&&(customElements.get(e(i))||customElements.define(e(i),l))}))}s([v("divider"),o("design:type",Function),o("design:paramtypes",[Function]),o("design:returntype",void 0)],l.prototype,"createLogger",null),s([n(["horizontal","vertical"]),o("design:type",String)],l.prototype,"layout",void 0),s([n(["none","2xs","xs","sm","base","md","lg","xl","2xl","3xl"]),o("design:type",String)],l.prototype,"space",void 0),s([n(["primary","secondary","default","inverted"]),o("design:type",String)],l.prototype,"color",void 0),s([c("boolean"),o("design:type",Boolean)],l.prototype,"dashed",void 0);export{l as D,p as d}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as __inlinedDynamicImport0 from './p-Va0FkndL.js'
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
4
|
+
*/
|
|
5
|
+
import{p as i,H as e,h as n,c as r,t as s}from"./p-DOP4fM2o.js";import{_ as t,L as o,a}from"./p-C8OqQuJ7.js";import{h as d}from"./p-CEPnyz7c.js";import{r as c,t as p}from"./p-Dbt7_-_D.js";import{d as l}from"./p-CKMUtsmn.js";import{T as m}from"./p-DEnVBHne.js";import{O as h}from"./p-DaqLtBr3.js";import{L as g}from"./p-B9OReveE.js";const v={de:{loading:"Laden"},en:{loading:"Loading"},fr:{loading:"Chargement"},it:{loading:"Caricamento"},nl:{loading:"Laden"},es:{loading:"Cargando"},pl:{loading:"Ładowanie"},pt:{loading:"Carregando"},sv:{loading:"Laddar"},fi:{loading:"Ladataan"}},f=i(class extends e{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.animated=l.animated,this.language=l.language,this.region=l.region,this.deactivated=!1,this.inverted=!1,this.label="",this.labelPosition="right",this.variation="logo",this.animate=async()=>{this.animated?(await this.load(),void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()&&(this.destroy(),this.currentRaf=c((async()=>{this.animationFunction&&this.innerEl&&this.animationFunction(this.innerEl,this.getColor())})))):this.destroy()},this.destroy=()=>{this.animationItem&&this.animationItem.destroy&&this.animationItem.destroy(),this.innerEl&&(this.innerEl.innerHTML="")},this.shouldAnimate=()=>"logo"===this.variation&&"undefined"!=typeof window&&void 0!==this.animationFunction&&!this.deactivated,this.load=async()=>new Promise(((i,e)=>{if(this.animationFunction)return i();p((async()=>{Promise.resolve(__inlinedDynamicImport0).then((e=>{this.animationFunction=e.animate,i()})).catch(e)}))}))}createLogger(i){this.log=i}deactivatedChanged(i,e){i!==e&&(this.deactivated?this.destroy():this.animate())}variationChanged(i,e){i!==e&&("circle"===this.variation?this.destroy():this.animate())}componentDidLoad(){"logo"===this.variation?this.animate():this.destroy()}disconnectedCallback(){this.el&&this.innerEl&&!this.el.isConnected&&this.destroy()}async configChanged(i){this.animated=i.animated,this.language=i.language,this.region=i.region,!1===i.animated&&this.destroy()}getColor(){try{const i=this.el?getComputedStyle(this.el).getPropertyValue("--spinner-color").trim():"";if(i)return i}catch(i){}return this.inverted?"#ffffff":"#151f6d"}render(){return n(r,{key:"227cdc02622cbd3eeb07b8cb7cd7a43d416f451a",role:"progressbar","aria-label":this.label||v[this.language].loading,class:{"is-animated":this.animated,"is-circle":"circle"===this.variation,"is-sm":"sm"===this.size,"is-inverted":this.inverted,"is-label-right":d(this.label)&&"right"===this.labelPosition,"is-label-bottom":d(this.label)&&"bottom"===this.labelPosition}},n("div",{key:"c353d6e09d91691585f1fcd1ed0a2501a8fa5e8a"},n("div",{key:"1752811bef9b36bd2a778c75ce3d5a1f7d87be0e",id:"inner",part:"inner",ref:i=>this.innerEl=i})),d(this.label)&&n("span",{key:"5cdc8753a2a1d5a7f005c1d62865e2dbd9f64266",part:"label"},this.label))}get el(){return this}static get watchers(){return{deactivated:[{deactivatedChanged:0}],variation:[{variationChanged:0}]}}static get style(){return":host{--_spinner-position:var(--spinner-position, var(--mod-spinner-position, static));--_spinner-top:var(--spinner-top, var(--mod-spinner-top));--_spinner-right:var(--spinner-right, var(--mod-spinner-right));--_spinner-bottom:var(--spinner-bottom, var(--mod-spinner-bottom));--_spinner-left:var(--spinner-left, var(--mod-spinner-left));position:var(--_spinner-position);top:var(--_spinner-top);right:var(--_spinner-right);bottom:var(--_spinner-bottom);left:var(--_spinner-left);--_spinner-m:var(--spinner-m, var(--mod-spinner-m, 0));--_spinner-my:var(--spinner-my, var(--mod-spinner-my));--_spinner-mx:var(--spinner-mx, var(--mod-spinner-mx));--_spinner-ml:var(--spinner-ml, var(--mod-spinner-ml));--_spinner-mr:var(--spinner-mr, var(--mod-spinner-mr));--_spinner-mt:var(--spinner-mt, var(--mod-spinner-mt));--_spinner-mb:var(--spinner-mb, var(--mod-spinner-mb));margin:var(--_spinner-m);margin-inline:var(--_spinner-mx);margin-block:var(--_spinner-my);margin-left:var(--_spinner-ml);margin-right:var(--_spinner-mr);margin-top:var(--_spinner-mt);margin-bottom:var(--_spinner-mb);--_spinner-logo-size:var(--spinner-logo-size, var(--mod-spinner-logo-size, var(--ds-spinner-logo-size-md)));--_spinner-circle-size:var(--spinner-circle-size, var(--mod-spinner-circle-size, var(--ds-spinner-circle-size-md)));--_spinner-circle-thickness:var(--spinner-circle-thickness, var(--mod-spinner-circle-thickness, var(--ds-spinner-circle-thickness-md)));--_spinner-circle-background-color:var(--spinner-circle-background-color, var(--mod-spinner-circle-background-color, var(--ds-spinner-circle-primary-background)));--_spinner-circle-progress-color:var(--spinner-circle-progress-color, var(--mod-spinner-circle-progress-color, var(--ds-spinner-circle-primary-progress)))}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none}:host,:host>div{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;text-align:center}:host svg{-webkit-transform:unset !important;transform:unset !important}:host(:not(.is-circle))>div{width:var(--_spinner-logo-size)}:host(.is-circle) #inner{border-radius:50%;border-style:solid;border-width:var(--_spinner-circle-thickness);border-color:var(--_spinner-circle-background-color);border-top-color:var(--_spinner-circle-progress-color);width:var(--_spinner-circle-size);height:var(--_spinner-circle-size)}:host(.is-animated) #inner{-webkit-animation:spinner 1.6s linear infinite;animation:spinner 1.6s linear infinite}:host(.is-sm){--mod-spinner-logo-size:var(--ds-spinner-logo-size-sm);--mod-spinner-circle-size:var(--ds-spinner-circle-size-sm);--mod-spinner-circle-thickness:var(--ds-spinner-circle-thickness-sm)}:host(.is-inverted){--mod-spinner-circle-background-color:var(--ds-spinner-circle-inverted-background);--mod-spinner-circle-progress-color:var(--ds-spinner-circle-inverted-progress)}:host(.is-label-right){-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:.5rem;width:auto}:host(.is-label-bottom){-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;gap:.25rem;width:auto}::part(label){font-family:var(--ds-alias-text-family-text);line-height:var(--ds-alias-text-line-height-text)}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}"}},[1,"ds-spinner",{deactivated:[4],inverted:[4],size:[1025],label:[1],labelPosition:[1,"label-position"],variation:[1],animated:[32],language:[32],region:[32],configChanged:[64]},void 0,{deactivated:[{deactivatedChanged:0}],variation:[{variationChanged:0}]}]);function b(){"undefined"!=typeof customElements&&["ds-spinner"].forEach((i=>{"ds-spinner"===i&&(customElements.get(s(i))||customElements.define(s(i),f))}))}t([o("spinner"),a("design:type",Function),a("design:paramtypes",[Function]),a("design:returntype",void 0)],f.prototype,"createLogger",null),t([m("boolean"),a("design:type",Boolean)],f.prototype,"deactivated",void 0),t([m("boolean"),a("design:type",Boolean)],f.prototype,"inverted",void 0),t([h(["sm"]),a("design:type",String)],f.prototype,"size",void 0),t([m("string"),a("design:type",String)],f.prototype,"label",void 0),t([h(["right","bottom"]),a("design:type",String)],f.prototype,"labelPosition",void 0),t([h(["logo","circle"]),a("design:type",String)],f.prototype,"variation",void 0),t([g(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",Promise)],f.prototype,"configChanged",null);export{f as S,b as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{c as r,g as o}from"./p-
|
|
4
|
+
import{c as r,g as o}from"./p-CkQK5z17.js";function t(t){return r({priority:1,blocking:!1,run(r,a){const{value:e,showError:n}=o(r,a),s="array"===t,p=Array.isArray(e);return!!(s||p?p===s:typeof e===t)||(n(`must be of type "${t}"`),!1)}})}export{t as T}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
const t="hydrated";class e{get width(){return n.hasWindow?window.innerWidth:0}get height(){return n.hasWindow?window.innerHeight:0}}const n=new class{constructor(){this.window=new e}get isSafari(){return/^((?!chrome|android).)*safari/i.test(this.userAgent)}get hasWindow(){return"undefined"!=typeof window}get hasNavigator(){return"undefined"!=typeof navigator}get hasDocument(){return"undefined"!=typeof document}get userAgent(){var t;return this.hasWindow&&this.hasNavigator&&null!==(t=navigator.userAgent)&&void 0!==t?t:""}},s=":where(ds-accordion,ds-alert-container,ds-app-footer,ds-app-navbar,ds-badge,ds-brand-icon,ds-button,ds-button-group,ds-card,ds-card-actions,ds-card-content,ds-card-header,ds-card-subtitle,ds-card-title,ds-carousel,ds-carousel-item,ds-checkbox,ds-checkbox-group,ds-close,ds-content,ds-counter,ds-data,ds-data-item,ds-data-label,ds-data-value,ds-datepicker,ds-divider,ds-drawer,ds-file-upload,ds-heading,ds-hint,ds-hint-text,ds-hint-title,ds-icon,ds-input,ds-item,ds-label,ds-list,ds-logo,ds-modal,ds-modal-body,ds-modal-header,ds-notification,ds-number-input,ds-pagination,ds-phone-input,ds-popup,ds-progress-bar,ds-radio,ds-radio-group,ds-root,ds-segment,ds-segment-item,ds-select,ds-select-optgroup,ds-select-option,ds-shape,ds-sheet,ds-slider,ds-snackbar,ds-spinner,ds-stack,ds-step,ds-step-panel,ds-steps,ds-tab,ds-tab-panel,ds-tabs,ds-tag,ds-tag-group,ds-text,ds-textarea,ds-toast,ds-toggle,ds-tooltip):not(:defined):not(.hydrated){visibility:hidden}@media (scripting: none){:where(ds-accordion,ds-alert-container,ds-app-footer,ds-app-navbar,ds-badge,ds-brand-icon,ds-button,ds-button-group,ds-card,ds-card-actions,ds-card-content,ds-card-header,ds-card-subtitle,ds-card-title,ds-carousel,ds-carousel-item,ds-checkbox,ds-checkbox-group,ds-close,ds-content,ds-counter,ds-data,ds-data-item,ds-data-label,ds-data-value,ds-datepicker,ds-divider,ds-drawer,ds-file-upload,ds-heading,ds-hint,ds-hint-text,ds-hint-title,ds-icon,ds-input,ds-item,ds-label,ds-list,ds-logo,ds-modal,ds-modal-body,ds-modal-header,ds-notification,ds-number-input,ds-pagination,ds-phone-input,ds-popup,ds-progress-bar,ds-radio,ds-radio-group,ds-root,ds-segment,ds-segment-item,ds-select,ds-select-optgroup,ds-select-option,ds-shape,ds-sheet,ds-slider,ds-snackbar,ds-spinner,ds-stack,ds-step,ds-step-panel,ds-steps,ds-tab,ds-tab-panel,ds-tabs,ds-tag,ds-tag-group,ds-text,ds-textarea,ds-toast,ds-toggle,ds-tooltip):not(:defined):not(.hydrated){visibility:visible}}/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}:host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}";var o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),i=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(i||{}),l="type",r="value",c="serialized:";function d(t,e,n){const s="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==s;){const s=Object.getOwnPropertyDescriptor(t,e);if(s&&(!n||s.get))return s;t=Object.getPrototypeOf(t)}}var a,u=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[s]])=>{if(31&s||32&s){const s=t[n],o=d(Object.getPrototypeOf(t),n,!0)||Object.getOwnPropertyDescriptor(t,n);o&&Object.defineProperty(t,n,{get(){return o.get.call(this)},set(t){o.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(n)?t[n]=e.i.get(n):void 0!==s&&(t[n]=s)}}))},f=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,e)=>e in t,p=(t,e)=>(0,console.error)(t,e),b=new Map,g="s-id",v="sty-id",m="c-id",$="http://www.w3.org/1999/xlink",y=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w="undefined"!=typeof window?window:{},j=w.HTMLElement||class{},O={l:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)},S=t=>{Object.assign(O,t)},x=(()=>{var t;let e=!1;try{null==(t=w.document)||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),N=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),k=!!N&&(()=>!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable)(),C=!1,E=[],M=[],A=()=>{var t;return(null==(t=w.document)?void 0:t.hidden)?setTimeout(L,16):O.raf(L)},I=(t,e)=>n=>{t.push(n),C||(C=!0,e&&4&O.l?_(L):A())},T=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){p(t)}t.length=0},L=()=>{T(E),T(M),(C=E.length>0)&&A()},_=t=>Promise.resolve(undefined).then(t),R=I(M,!0),B=t=>{const e=new URL(t,O.u);return e.origin!==w.location.origin?e.href:e.pathname},D=t=>O.u=t;function z(){var t;const e=this.attachShadow({mode:"open"});if(void 0===a&&(a=null!=(t=function(t){if(!N)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(s))?t:null),a)k?e.adoptedStyleSheets.push(a):e.adoptedStyleSheets=[...e.adoptedStyleSheets,a];else if(!N){const t=document.createElement("style");t.innerHTML=s,e.prepend(t)}}var F=t=>{const e=bt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&V(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!W(t,q(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&bt(t,"childNodes").length&&F(t)}},U=t=>{const e=[];for(let n=0;n<t.length;n++){const s=t[n]["s-nr"]||void 0;s&&s.isConnected&&e.push(s)}return e};function V(t,e,n){let s,o=0,i=[];for(;o<t.length;o++){if(s=t[o],s["s-sr"]&&(!e||s["s-hn"]===e)&&(void 0===n||q(s)===n)&&(i.push(s),void 0!==n))return i;i=[...i,...V(bt(s,"childNodes"),e,n)]}return i}var W=(t,e,n=!0)=>{const s=[];(n&&t["s-sr"]||!t["s-sr"])&&s.push(t);let o=t;for(;o=o.nextSibling;)q(o)!==e||!n&&o["s-sr"]||s.push(o);return s},H=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,P=(t,e,n,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const i=e["s-cr"].parentNode,l=bt(i,n?"prepend":"appendChild");if(void 0!==s){o["s-oo"]=s;const t=bt(i,"childNodes"),e=[o];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>l.call(i,t)))}else l.call(i,o);t["s-ol"]=o,t["s-sh"]=e["s-hn"]},q=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function Y(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],s=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const o=this["s-cr"].parentElement;return(o.__childNodes?o.childNodes:U(o.childNodes)).forEach((t=>{s===q(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function J(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function Z(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const s=t["s-sn"]=q(t)||"";return{slotNode:V(bt(e,"childNodes"),e.tagName,s)[0],slotName:s}}var G=t=>{if(t.__cloneNode)return;const e=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const n=this.shadowRoot&&true,s=e.call(this,!!n&&t);if(!n&&t){let t,e,n=0;const o=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;n<i.length;n++)t=i[n]["s-nr"],e=o.every((t=>!i[n][t])),t&&(s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),e&&s.appendChild(i[n].cloneNode(!0))}return s}},K=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=Z(t,this);if(n){P(t,n);const s=W(n,e),o=s[s.length-1],i=bt(o,"parentNode"),l=bt(i,"insertBefore")(t,o.nextSibling);return J(n),F(this),l}return this.__appendChild(t)})},Q=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&V(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void F(this)):this.__removeChild(t)})},X=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=q(e))||"",s=V(bt(this,"childNodes"),this.tagName,n)[0];if(s){P(e,s,!0);const t=W(s,n)[0],o=bt(t,"parentNode"),i=bt(o,"insertBefore")(e,bt(t,"nextSibling"));return J(s),i}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},tt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},et=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const s=this.ownerDocument.createElement("_");let o;if(s.innerHTML=n,"afterbegin"===t)for(;o=s.firstChild;)this.prepend(o);else if("beforeend"===t)for(;o=s.firstChild;)this.append(o)}},nt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},st=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:s}=Z(t,this),o=this.__childNodes?this.childNodes:U(this.childNodes);if(s){let i=!1;if(o.forEach((o=>{if(o!==e&&null!==e);else{if(i=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){P(t,s);const n=bt(e,"parentNode");bt(n,"insertBefore")(t,e),J(s)}}})),i)return t}const i=null==e?void 0:e.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,e)})},ot=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},it=t=>{pt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:U(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:U(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},lt=t=>{class e extends Array{item(t){return this[t]}}pt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),pt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),pt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),pt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...U(this.__childNodes)),t}})},rt=t=>{t&&!t.__nextSibling&&(pt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]||null:this.__nextSibling}}))},ct=t=>{t&&!t.__nextElementSibling&&(pt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]||null:this.__nextElementSibling}}))},dt=t=>{t&&!t.__previousSibling&&(pt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]||null:this.__previousSibling}}))},at=t=>{t&&!t.__previousElementSibling&&(pt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]||null:this.__previousElementSibling}}))},ut=t=>{t&&!t.__parentNode&&(pt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},ft=["children","nextElementSibling","previousElementSibling"],ht=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function pt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;ft.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):ht.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function bt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var gt=new WeakMap,vt=(t,e,n)=>{let s=b.get(t);N&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=e:s.replaceSync(e)):s=e,b.set(t,s)},mt=(t,e)=>{var n,s,o;const i=$t(e),l=b.get(i);if(!w.document)return i;if(t=11===t.nodeType?t:w.document,l)if("string"==typeof l){let o,r=gt.get(t=t.head||t);r||gt.set(t,r=new Set);const c=t.querySelector(`[${v}="${i}"]`);if(c)c.textContent=l;else if(!r.has(i)){o=w.document.createElement("style"),o.textContent=l;const c=null!=(n=O.h)?n:function(){var t,e,n;return null!=(n=null==(e=null==(t=w.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?n:void 0}();if(null!=c&&o.setAttribute("nonce",c),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(N){const e=new(null!=(s=t.defaultView)?s:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(l),k?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=l+e.textContent:t.prepend(o)}else t.append(o);1&e.l&&t.insertBefore(o,null),4&e.l&&(o.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(i)}}else{let e=gt.get(t);if(e||gt.set(t,e=new Set),!e.has(i)){const n=null!=(o=t.defaultView)?o:t.ownerDocument.defaultView;let s;if(l.constructor===n.CSSStyleSheet)s=l;else{s=new n.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)s.insertRule(l.cssRules[t].cssText,t)}if(k?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],e.add(i),"host"in t){const e=t.querySelector(`[${v}="${i}"]`);e&&R((()=>e.remove()))}}}return i},$t=t=>"sc-"+t.p,yt=t=>"object"==(t=typeof t)||"function"===t,wt=(t,e,...n)=>{let s=null,o=null,i=null,l=!1,r=!1;const c=[],d=e=>{for(let n=0;n<e.length;n++)if(s=e[n],Array.isArray(s))d(s);else if(null!=s&&"boolean"!=typeof s){if(l="function"!=typeof t&&!yt(s))s=String(s);else if("function"!=typeof t&&void 0===s.l){p("Invalid vNode child");continue}l&&r?c[c.length-1].v+=s:c.push(l?jt(null,s):s),r=l}};if(d(n),e){e.key&&(o=e.key),e.name&&(i=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,St);const a=jt(t,null);return a.m=e,c.length>0&&(a.$=c),a.j=o,a.O=i,a},jt=(t,e)=>({l:0,S:t,v:null!=e?e:null,N:null,$:null,m:null,j:null,O:null}),Ot={},St={forEach:(t,e)=>t.map(xt).forEach(e),map:(t,e)=>t.map(xt).map(e).map(Nt)},xt=t=>({vattrs:t.m,vchildren:t.$,vkey:t.j,vname:t.O,vtag:t.S,vtext:t.v}),Nt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),wt(t.vtag,e,...t.vchildren||[])}const e=jt(t.vtag,t.vtext);return e.m=t.vattrs,e.$=t.vchildren,e.j=t.vkey,e.O=t.vname,e},kt=(t,e,n,s,o,i,l,r=[])=>{let c,d,a,u;if(1===i.nodeType){if(c=i.getAttribute(m),c&&(d=c.split("."),d[0]===l||"0"===d[0])){a=Et({l:0,k:d[0],C:d[1],M:d[2],A:d[3],S:i.tagName.toLowerCase(),N:i,m:{class:i.className||""}}),e.push(a),i.removeAttribute(m),t.$||(t.$=[]);const o=a.N.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===a.S&&Mt(o,d[2],a,i,t,e,n,s,r),a.N["s-sn"]=o,a.N.removeAttribute("s-sn")),void 0!==a.A&&(t.$[a.A]=a),t=a,s&&"0"===a.M&&(s[a.A]=a.N)}if(i.shadowRoot)for(u=i.shadowRoot.childNodes.length-1;u>=0;u--)kt(t,e,n,s,o,i.shadowRoot.childNodes[u],l,r);const f=i.__childNodes||i.childNodes;for(u=f.length-1;u>=0;u--)kt(t,e,n,s,o,f[u],l,r)}else if(8===i.nodeType)d=i.nodeValue.split("."),(d[1]===l||"0"===d[1])&&(c=d[0],a=Et({k:d[1],C:d[2],M:d[3],A:d[4]||"0",N:i,m:null,$:null,j:null,O:null,S:null,v:null}),"t"===c?(a.N=It(i,3),a.N&&3===a.N.nodeType&&(a.v=a.N.textContent,e.push(a),i.remove(),l===a.k&&(t.$||(t.$=[]),t.$[a.A]=a),s&&"0"===a.M&&(s[a.A]=a.N))):"c"===c?(a.N=It(i,8),a.N&&8===a.N.nodeType&&(e.push(a),i.remove())):a.k===l&&("s"===c?Mt(i["s-sn"]=d[5]||"",d[2],a,i,t,e,n,s,r):"r"===c&&(s?i.remove():(o["s-cr"]=i,i["s-cn"]=!0))));else if(t&&"style"===t.S){const e=jt(null,i.textContent);e.N=i,e.A="0",t.$=[e]}return t},Ct=(t,e)=>{if(1===t.nodeType){const n=t[g]||t.getAttribute(g);n&&e.set(n,t);let s=0;if(t.shadowRoot)for(;s<t.shadowRoot.childNodes.length;s++)Ct(t.shadowRoot.childNodes[s],e);const o=t.__childNodes||t.childNodes;for(s=0;s<o.length;s++)Ct(o[s],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Et=t=>({l:0,k:null,C:null,M:null,A:"0",N:null,m:null,$:null,j:null,O:null,S:null,v:null,...t});function Mt(t,e,n,s,o,i,l,r,c){s["s-sr"]=!0,n.O=t||null,n.S="slot";const d=(null==o?void 0:o.N)?o.N["s-id"]||o.N.getAttribute("s-id"):"";if(r&&w.document){const i=n.N=w.document.createElement(n.S);n.O&&n.N.setAttribute("name",t),o.N.shadowRoot&&d&&d!==n.k?bt(o.N,"insertBefore")(i,bt(o.N,"children")[0]):bt(bt(s,"parentNode"),"insertBefore")(i,s),At(c,e,t,s,n.k),s.remove(),"0"===n.M&&(r[n.A]=n.N)}else{const i=n.N,l=d&&d!==n.k&&o.N.shadowRoot;At(c,e,t,s,l?d:n.k),Y(s),l&&o.N.insertBefore(i,o.N.children[0])}i.push(n),l.push(n),o.$||(o.$=[]),o.$[n.A]=n}var At=(t,e,n,s,o)=>{var i,l;let r=s.nextSibling;if(t[e]=t[e]||[],r&&!(null==(i=r.nodeValue)?void 0:i.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==n&&(""!==n||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=n,t[e].push({slot:s,node:r,hostId:o})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(l=r.nodeValue)?void 0:l.startsWith("s.")))},It=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},Tt=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const s of e){if(n)break;for(const e of t[s])if("string"==typeof e){n=!0;break}}if(!n)return t;const s={};for(const n of e)s[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return s},Lt=class t{static fromLocalValue(e){const n=e[l],s=r in e?e[r]:void 0;switch(n){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((e=>t.fromLocalValue(e)));case"date":return new Date(s);case"map":const e=new Map;for(const[n,o]of s){const s="object"==typeof n&&null!==n?t.fromLocalValue(n):n,i=t.fromLocalValue(o);e.set(s,i)}return e;case"object":const o={};for(const[e,n]of s)o[e]=t.fromLocalValue(n);return o;case"regexp":const{pattern:i,flags:l}=s;return new RegExp(i,l);case"set":const r=new Set;for(const e of s)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(s);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(l))return!1;const e=t[l];return!!Object.values({...o,...i}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(r))}};var _t,Rt,Bt=(t,e,n)=>{return"string"==typeof t&&t.startsWith(c)?t="string"==typeof(s=t)&&s.startsWith(c)?Lt.fromLocalValue(JSON.parse(function(t){const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return(new TextDecoder).decode(n)}(s.slice(11)))):s:null==t||yt(t)?t:4&e?(n&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?String(t):t;var s},Dt=t=>t,zt=(t,e)=>{const n=t;return{emit:t=>Ft(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},Ft=(t,e,n)=>{const s=O.ce(e,n);return t.dispatchEvent(s),s},Ut=(t,e,n,s,o,i,l)=>{if(n===s)return;let r=h(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=qt(n);let r=qt(s);if((t["s-si"]||t["s-sc"])&&l){const n=t["s-sc"]||t["s-si"];r.push(n),o.forEach((t=>{t.startsWith(n)&&r.push(t)})),r=[...new Set(r)].filter((t=>t)),e.add(...r)}else{let n=o.filter((t=>t&&!r.includes(t)));if(l&&!(4&i)){const e=Pt(t);n=n.filter((t=>!e.includes(t)))}e.remove(...n),e.add(...r.filter((t=>t&&!o.includes(t))))}}else if("style"===e){for(const e in n)s&&null!=s[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in s)n&&s[e]===n[e]||(e.includes("-")?t.style.setProperty(e,s[e]):t.style[e]=s[e])}else if("key"===e);else if("ref"===e)s&&pe(s,t);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let o;{const e=f(t);if(e&&e.o&&e.o.t){const t=e.o.t[n];t&&t[1]&&(o=t[1])}}return o||(o=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(o)||t.removeAttribute(o):t.setAttribute(o,!0===s?"":s))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=s}catch(t){}return}{const l=yt(s);if((r||l&&null!==s)&&!o)try{if(t.tagName.includes("-"))t[e]!==s&&(t[e]=s);else{const o=null==s?"":s;"list"===e?r=!1:null!=n&&t[e]===o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let d=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,d=!0),null==s||!1===s?(!1!==s||""===t.getAttribute(e)||4&i&&!Wt(e))&&(d?t.removeAttributeNS($,e):t.removeAttribute(e)):(!r||4&i||o)&&!l&&1===t.nodeType&&(s=!0===s?"":s,d?t.setAttributeNS($,e,s):t.setAttribute(e,s))}}else if(e="-"===e[2]?e.slice(3):h(w,c)?c.slice(2):c[2]+e.slice(3),n||s){const o=e.endsWith(Yt);e=e.replace(Jt,""),n&&O.rel(t,e,n,o),s&&O.ael(t,e,s,o)}},Vt=new Set(["draggable","contenteditable","spellcheck"]),Wt=t=>Vt.has(t)||t.startsWith("aria-"),Ht=/\s/,Pt=e=>{var n,s,o;const i=f(e);if(!(i&&2&i.l))return[];const l=qt(null==(s=null==(n=i.I)?void 0:n.m)?void 0:s.class);return l.push(null!=(o=t)?o:"hydrated"),l},qt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Ht):[]),Yt="Capture",Jt=new RegExp(Yt+"$"),Zt=(t,e,n,s)=>{const o=11===e.N.nodeType&&e.N.host?e.N.host:e.N,i=t&&t.m||{},l=e.m||{};for(const t of Gt(Object.keys(i)))t in l||Ut(o,t,i[t],void 0,n,e.l,s);for(const t of Gt(Object.keys(l)))Ut(o,t,i[t],l[t],n,e.l,s)};function Gt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Kt=!1,Qt=!1,Xt=!1,te=!1,ee=[],ne=[],se=(t,e,n)=>{var s;const o=e.$[n];let i,l,r,c=0;if(Kt||(Xt=!0,"slot"===o.S&&(o.l|=o.$?2:1)),null!=o.v)i=o.N=w.document.createTextNode(o.v);else if(1&o.l)i=o.N=w.document.createTextNode(""),Zt(null,o,te);else{if(te||(te="svg"===o.S),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=o.N=w.document.createElementNS(te?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Kt&&2&o.l?"slot-fb":o.S),te&&"foreignObject"===o.S&&(te=!1),Zt(null,o,te),o.$){const e="template"===o.S?i.content:i;for(c=0;c<o.$.length;++c)l=se(t,o,c),l&&e.appendChild(l)}"svg"===o.S?te=!1:"foreignObject"===i.tagName&&(te=!0)}return i["s-hn"]=Rt,3&o.l&&(i["s-sr"]=!0,i["s-cr"]=_t,i["s-sn"]=o.O||"",i["s-rf"]=null==(s=o.m)?void 0:s.ref,Y(i),r=t&&t.$&&t.$[n],r&&r.S===o.S&&t.N&&oe(t.N)),i},oe=t=>{O.l|=1;const e=t.closest(Rt.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),s=Array.from(t.__childNodes||t.childNodes);for(const t of n?s.reverse():s)null!=t["s-sh"]&&(be(e,t,null!=n?n:null),t["s-sh"]=void 0,Xt=!0)}O.l&=-2},ie=(t,e)=>{O.l|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Rt&&n.push(e)}for(let t=n.length-1;t>=0;t--){const s=n[t];s["s-hn"]!==Rt&&s["s-ol"]&&(be(de(s).parentNode,s,de(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,Xt=!0),e&&ie(s,e)}O.l&=-2},le=(t,e,n,s,o,i)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===Rt&&(r=r.shadowRoot),"template"===n.S&&(r=r.content);o<=i;++o)s[o]&&(l=se(null,n,o),l&&(s[o].N=l,be(r,l,de(e))))},re=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.N;he(e),t&&(Qt=!0,t["s-ol"]?t["s-ol"].remove():ie(t,!0),t.remove())}}},ce=(t,e,n=!1)=>t.S===e.S&&("slot"===t.S?t.O===e.O:n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),de=t=>t&&t["s-ol"]||t,ae=(t,e,n=!1)=>{const s=e.N=t.N,o=t.$,i=e.$,l=e.S,r=e.v;let c;null==r?(te="svg"===l||"foreignObject"!==l&&te,"slot"!==l||Kt||t.O!==e.O&&(e.N["s-sn"]=e.O||"",oe(e.N.parentElement)),Zt(t,e,te,n),null!==o&&null!==i?((t,e,n,s,o=!1)=>{let i,l,r=0,c=0,d=0,a=0,u=e.length-1,f=e[0],h=e[u],p=s.length-1,b=s[0],g=s[p];const v="template"===n.S?t.content:t;for(;r<=u&&c<=p;)if(null==f)f=e[++r];else if(null==h)h=e[--u];else if(null==b)b=s[++c];else if(null==g)g=s[--p];else if(ce(f,b,o))ae(f,b,o),f=e[++r],b=s[++c];else if(ce(h,g,o))ae(h,g,o),h=e[--u],g=s[--p];else if(ce(f,g,o))"slot"!==f.S&&"slot"!==g.S||ie(f.N.parentNode,!1),ae(f,g,o),be(v,f.N,h.N.nextSibling),f=e[++r],g=s[--p];else if(ce(h,b,o))"slot"!==f.S&&"slot"!==g.S||ie(h.N.parentNode,!1),ae(h,b,o),be(v,h.N,f.N),h=e[--u],b=s[++c];else{for(d=-1,a=r;a<=u;++a)if(e[a]&&null!==e[a].j&&e[a].j===b.j){d=a;break}d>=0?(l=e[d],l.S!==b.S?i=se(e&&e[c],n,c):(ae(l,b,o),e[d]=void 0,i=l.N),b=s[++c]):(i=se(e&&e[c],n,c),b=s[++c]),i&&be(de(f.N).parentNode,i,de(f.N))}r>u?le(t,null==s[p+1]?null:s[p+1].N,n,s,c,p):c>p&&re(e,r,u)})(s,o,e,i,n):null!==i?(null!==t.v&&(s.textContent=""),le(s,null,e,i,0,i.length-1)):n||null===o?n&&null!==o&&null===i&&(e.$=o):re(o,0,o.length-1),te&&"svg"===l&&(te=!1)):(c=s["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(s.data=r)},ue=[],fe=t=>{let e,n,s;const o=t.__childNodes||t.childNodes;for(const t of o){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const o=t["s-sn"];for(s=n.length-1;s>=0;s--)if(e=n[s],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"]&&(!e["s-sh"]||e["s-sh"]!==t["s-hn"]||""!==o&&q(e)===o))if(H(e,o)){let n=ue.find((t=>t.T===e));Qt=!0,e["s-sn"]=e["s-sn"]||o,n?(n.T["s-sh"]=t["s-hn"],n.L=t):(e["s-sh"]=t["s-hn"],ue.push({L:t,T:e})),e["s-sr"]&&ue.map((t=>{H(t.T,e["s-sn"])&&(n=ue.find((t=>t.T===e)),n&&!t.L&&(t.L=n.L))}))}else ue.some((t=>t.T===e))||ue.push({T:e})}1===t.nodeType&&fe(t)}},he=t=>{t.m&&t.m.ref&&ee.push((()=>t.m.ref(null))),t.$&&t.$.map(he)},pe=(t,e)=>{ne.push((()=>t(e)))},be=(t,e,n,s)=>{if("string"==typeof e["s-sn"]){11!==t.getRootNode().nodeType&&ut(e),t.insertBefore(e,n);const{slotNode:o}=Z(e);return o&&!s&&J(o),e}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)},ge=(t,e,n=!1)=>{var s,o,i,l,r;const c=t.$hostElement$,d=t.o,a=t.I||jt(null,null);var u;const f=(u=e)&&u.S===Ot?e:wt(null,null,e);if(Rt=c.tagName,d._&&(f.m=f.m||{},d._.forEach((([t,e])=>{f.m[e]=c[t]}))),n&&f.m)for(const t of Object.keys(f.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(f.m[t]=c[t]);if(f.S=null,f.l|=4,t.I=f,f.N=a.N=c.shadowRoot||c,Kt=!(!(1&d.l)||128&d.l),_t=c["s-cr"],Qt=!1,ae(a,f,n),O.l|=1,Xt){fe(f.N);for(const t of ue){const e=t.T;if(!e["s-ol"]&&w.document){const t=w.document.createTextNode("");t["s-nr"]=e,be(e.parentNode,e["s-ol"]=t,e,n)}}for(const t of ue){const e=t.T,r=t.L;if(1===e.nodeType&&n&&(e["s-ih"]=null!=(s=e.hidden)&&s),r){const t=r.parentNode;let s=r.nextSibling;if(s&&1===s.nodeType){let n=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;n;){let o=null!=(i=n["s-nr"])?i:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}n=n.previousSibling}}if((!s&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==s)&&e!==s){if(be(t,e,s,n),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=w.document.createTextNode(e.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=e["s-hn"],t["s-sn"]=e["s-sn"],t["s-sh"]=e["s-sh"],t["s-sr"]=e["s-sr"],t["s-ol"]=e["s-ol"],t["s-ol"]["s-nr"]=t,be(e.parentNode,t,e,n),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(l=e["s-ih"])&&l)}e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(e.hidden=!0)}}if(Qt&&F(f.N),O.l&=-2,ue.length=0,!Kt&&!(1&d.l)&&c["s-cr"]){const t=f.N.__childNodes||f.N.childNodes;for(const e of t)if(e["s-hn"]!==Rt&&!e["s-sh"])if(n&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=w.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],be(e.parentNode,t,e,n),e.parentNode.removeChild(e)}}_t=void 0,ee.forEach((t=>t())),ee.length=0,ne.forEach((t=>t())),ne.length=0},ve=(t,e)=>{if(e&&!t.R&&e["s-p"]){const n=e["s-p"].push(new Promise((s=>t.R=()=>{e["s-p"].splice(n-1,1),s()})))}},me=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);ve(t,t.B);const n=()=>$e(t,e);if(!e)return R(n);queueMicrotask((()=>{n()}))},$e=(t,e)=>{const n=t.$hostElement$,s=n;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=Ne(s,e?"componentWillLoad":"componentWillUpdate",void 0,n),o=ye(o,(()=>Ne(s,"componentWillRender",void 0,n))),ye(o,(()=>je(t,s,e)))},ye=(t,e)=>we(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),we=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,je=async(t,e,n)=>{var s;const o=t.$hostElement$,i=o["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,s=e.l,o=mt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&s&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(t);Oe(t,e,o,n),i&&(i.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(s=o["s-p"])?s:[],n=()=>Se(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.l|=4,e.length=0)}},Oe=(t,e,n,s)=>{try{e=e.render(),t.l&=-17,t.l|=2,ge(t,e,s)}catch(e){p(e,t.$hostElement$)}return null},Se=t=>{const e=t.$hostElement$,n=e,s=t.B;Ne(n,"componentDidRender",void 0,e),64&t.l?Ne(n,"componentDidUpdate",void 0,e):(t.l|=64,ke(e),Ne(n,"componentDidLoad",void 0,e),t.D(e),s||xe()),t.R&&(t.R(),t.R=void 0),512&t.l&&_((()=>me(t,!1))),t.l&=-517},xe=()=>{var t;_((()=>Ft(w,"appload",{detail:{namespace:"design-system"}}))),(null==(t=O.F)?void 0:t.size)&&O.F.clear()},Ne=(t,e,n,s)=>{if(t&&t[e])try{return t[e](n)}catch(t){p(t,s)}},ke=e=>{var n;return e.classList.add(null!=(n=t)?n:"hydrated")},Ce=(t,e,n,s)=>{const o=f(t);if(!o)return;const i=t,l=o.i.get(e),r=o.l,c=i;n=Bt(n,s.t[e][0],!!(64&s.l));const d=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!d){if(o.i.set(e,n),s.U){const t=s.U[e];t&&t.map((t=>{try{const[[s,i]]=Object.entries(t);(128&r||1&i)&&(c?c[s](n,l,e):o.V.push((()=>{o.W[s](n,l,e)})))}catch(t){p(t,i)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,l,e)&&!(16&r))return;16&r||me(o,!1)}}},Ee=(t,e,n)=>{var s,o;const i=t.prototype;64&e.l&&1&n&&y.forEach((t=>{const e=i[t];Object.defineProperty(i,t,{value(...n){var s;const o=f(this),i=this;i?"function"==typeof e&&e.call(i,...n):null==(s=null==o?void 0:o.H)||s.then((e=>{const s=e[t];"function"==typeof s&&s.call(e,...n)}))}})}));{t.watchers&&!e.U&&(e.U=Tt(t.watchers)),t.deserializers&&!e.P&&(e.P=t.deserializers),t.serializers&&!e.q&&(e.q=t.serializers);const n=Object.entries(null!=(s=e.t)?s:{});n.map((([t,[n]])=>{if(31&n||32&n){const{get:s,set:o}=d(i,t)||{};s&&(e.t[t][0]|=2048),o&&(e.t[t][0]|=4096),Object.defineProperty(i,t,{get(){return s?s.apply(this):(e=t,f(this).i.get(e));var e},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=f(this);if(i){if(o)return void 0===(32&n?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(s=i.i.get(t)),o.apply(this,[Bt(s,n,!!(64&e.l))]),void Ce(this,t,s=32&n?this[t]:i.$hostElement$[t],e);Ce(this,t,s,e)}}})}}));{const s=new Map;i.attributeChangedCallback=function(t,o,l){O.jmp((()=>{var r;const c=s.get(t),d=f(this);if(this.hasOwnProperty(c),i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const n=null==d?void 0:d.l;if(d&&n&&!(8&n)&&l!==o){const s=this,i=null==(r=e.U)?void 0:r[t];null==i||i.forEach((e=>{const[[i,r]]=Object.entries(e);null!=s[i]&&(128&n||1&r)&&s[i].call(s,l,o,t)}))}return}const a=n.find((([t])=>t===c)),u=a?a[1][0]:0,h=4&u;if(512&u&&8&u&&!yt(this[c])&&(null==(p=this[c])||!1===p?null:!0===p?"":String(p))===l)return;var p;const b=h&&null===l&&void 0===this[c];h&&(l=!(null===l||"false"===l&&!(64&e.l)));const g=Object.getOwnPropertyDescriptor(i,c);b||l==this[c]||g.get&&!g.set||(this[c]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=e.U)?o:{}),...n.filter((([t,e])=>31&e[0])).map((([t,n])=>{var o;const i=n[1]||t;return s.set(i,t),512&n[0]&&(null==(o=e._)||o.push([t,i])),i}))]))}}return t},Me=async(t,e,n)=>{let s;try{if(!(32&e.l)&&(e.l|=32,e.l&=-1025,s=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),s&&s.style)){let t;"string"==typeof s.style&&(t=s.style);const e=$t(n);if(!b.has(e)){const s=()=>{};vt(e,t,!!(1&n.l)),s()}}const o=e.B,i=()=>me(e,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()}catch(n){p(n,t),e.R&&(e.R(),e.R=void 0),!e.D||1024&e.l||e.D(t)}},Ae=t=>{if(!w.document)return;const e=t["s-cr"]=w.document.createComment("");e["s-cn"]=!0,be(t,e,t.firstChild)},Ie=(t,e)=>{const n={l:e[0],p:e[1]};try{n.t=e[2],n.Y=e[3],n.U=Tt(t.U),n.P=t.P,n.q=t.q,n._=[],!(1&n.l)&&256&n.l?(G(s=t.prototype),K(s),tt(s),X(s),ot(s),et(s),nt(s),st(s),it(s),lt(s),Q(s)):G(t.prototype),(()=>{if(!w.document)return;const t=w.document.querySelectorAll(`[${v}]`);let e=0;for(;e<t.length;e++)vt(t[e].getAttribute(v),t[e].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)})();const o=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const n={l:0,$hostElement$:t,o:e,i:new Map,J:new Map};n.H=new Promise((t=>n.D=t)),t["s-p"]=[],t["s-rc"]=[];const s=n;t.__stencil__getHostRef=()=>s,512&e.l&&u(t,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=f(this);if(!t)return;Le(this,t,n.Y),this.__hasHostListenerAttached=!0}(t=>{if(!(1&O.l)){const e=f(t);if(!e)return;const n=e.o,s=()=>{};if(1&e.l)Le(t,e,n.Y),(null==e?void 0:e.W)||(1024&e.l?setTimeout((()=>Me(t,e,n)),1e3):(null==e?void 0:e.H)&&e.H.then((()=>{})));else{let s;if(e.l|=1,s=t.getAttribute(g),s){if(1&n.l){const e=mt(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}((t,e,n,s)=>{var o,i,l,r;const c=t.shadowRoot,d=[],a=[],u=c?[]:null,h=jt(e,null);h.N=t,!w.document||O.F&&O.F.size||Ct(w.document.body,O.F=new Map),t[g]=n,t.removeAttribute(g),s.I=kt(h,d,[],u,t,t,n,a);let p=0;const b=d.length;let v;for(;p<b;p++){v=d[p];const n=v.k+"."+v.C,s=O.F.get(n),i=v.N;if(c){if((null==(o=v.S)?void 0:o.toString().includes("-"))&&"slot-fb"!==v.S&&!v.N.shadowRoot){const t=f(v.N);if(t){const e=$t(t.o),n=w.document.querySelector(`style[sty-id="${e}"]`);n&&u.unshift(n.cloneNode(!0))}}}else i["s-hn"]=e.toUpperCase(),"slot"===v.S&&(i["s-cr"]=t["s-cr"]);"slot"===v.S&&(v.O=v.N["s-sn"]||v.N.name||null,v.$?(v.l|=2,v.N.childNodes.length||v.$.forEach((t=>{v.N.appendChild(t.N)}))):v.l|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),c||(i["s-oo"]=parseInt(v.C))),s&&!s["s-id"]&&O.F.delete(n)}const m=[],$=a.length;let y,j,S,x,N=0,k=0;for(;N<$;N++)if(y=a[N],y&&y.length)for(S=y.length,j=0;j<S;j++){if(x=y[j],m[x.hostId]||(m[x.hostId]=O.F.get(x.hostId)),!m[x.hostId])continue;const t=m[x.hostId];t.shadowRoot&&x.node.parentElement!==t&&t.insertBefore(x.node,null==(l=null==(i=y[j-1])?void 0:i.node)?void 0:l.nextSibling),t.shadowRoot&&c||(x.slot["s-cr"]||(x.slot["s-cr"]=t["s-cr"],x.slot["s-cr"]=!x.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),P(x.node,x.slot,!1,x.node["s-oo"]||k),(null==(r=x.node.parentElement)?void 0:r.shadowRoot)&&x.node.getAttribute&&x.node.getAttribute("slot")&&x.node.removeAttribute("slot"),(C=x.node)&&void 0===C.__nextSibling&&globalThis.Node&&(rt(C),dt(C),ut(C),C.nodeType===Node.ELEMENT_NODE&&(ct(C),at(C)))),k=(x.node["s-oo"]||k)+1}var C;if(c&&!c.childNodes.length){let e=0;const n=u.length;if(n){for(;e<n;e++){const t=u[e];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t})(t,n.p,s,e)}s||12&n.l&&Ae(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ve(e,e.B=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),_((()=>Me(t,e,n)))}s()}})(this),o&&o.call(this)},disconnectedCallback(){(async t=>{if(!(1&O.l)){const e=f(t);(null==e?void 0:e.Z)&&(e.Z.map((t=>t())),e.Z=void 0)}gt.has(t)&>.delete(t),t.shadowRoot&>.has(t.shadowRoot)&>.delete(t.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else z.call(this,n)}}),Object.defineProperty(t,"is",{value:n.p,configurable:!0}),Ee(t,n,3)}catch(e){return p(e),t}var s},Te=(t,e)=>e,Le=(t,e,n)=>{n&&w.document&&n.map((([n,s,o])=>{const i=Re(w.document,t,n),l=_e(e,o),r=Be(n);O.ael(i,s,l,r),(e.Z=e.Z||[]).push((()=>O.rel(i,s,l,r)))}))},_e=(t,e)=>n=>{try{t.$hostElement$[e](n)}catch(e){p(e,t.$hostElement$)}},Re=(t,e,n)=>4&n?t:8&n?w:e,Be=t=>x?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t),De=t=>O.h=t,ze=t=>Object.assign(O,t),Fe=new WeakMap;function Ue(t,e){let n=Fe.get(e);n||(n={l:0,o:{l:0,p:e.tagName},$hostElement$:e},Fe.set(e,n)),ge(n,t)}function Ve(t){return t}export{Te as F,j as H,De as a,ze as b,Ot as c,n as d,zt as e,S as f,B as g,wt as h,Dt as i,Ie as p,Ue as r,D as s,Ve as t}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{c as r,g as o}from"./p-
|
|
4
|
+
import{c as r,g as o}from"./p-CkQK5z17.js";function n(n){return r({priority:1,blocking:!1,run(r,t){const{value:s,showError:e}=o(r,t);return!!n.includes(s)||(e(`must be one of [${n.join(", ")}]`),!1)}})}export{n as O}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{d as e}from"./p-
|
|
4
|
+
import{d as e}from"./p-DOP4fM2o.js";const t=()=>{const e=window;return e&&e.DesignSystem&&e.DesignSystem.config},n=(t,n=32)=>{let s=!1;const i=()=>{s||(s=!0,t())};if(e.hasWindow){const e=setTimeout(i,n);window.addEventListener("load",(()=>{clearTimeout(e),i()}))}else setTimeout(i,32)},s=(t,n=5e3)=>{e.hasWindow&&"requestIdleCallback"in window?window.requestIdleCallback(t,{timeout:n}):setTimeout(t,32)},i=(e=0)=>new Promise((t=>{setTimeout((()=>t()),e)})),o=(e,t)=>{const n=e._original||e;return{_original:e,emit:r(n.emit.bind(n),t)}},r=(e,t=0)=>{let n;return(...s)=>{clearTimeout(n),n=setTimeout(e,t,...s)}},a=(e,t)=>e&&e.tagName&&e.tagName===t.toUpperCase(),u=(e,t)=>{let n=t.parentNode;for(;null!=n;){if(n==e)return!0;n=n.parentNode}return!1},m=["ds-root","ds-app"],l=e=>{for(const t of m){const n=e.querySelector(t);if(n)return n}return e.body},w=e=>l(e),c=(e,t)=>{null!=e.componentOnReady?e.componentOnReady().then((e=>t(e))):f((()=>t(e)))},f=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),d=(n,s,i,o)=>{if(e.hasWindow){const e=t();if(e&&e._ael)return e._ael(n,s,i,o)}return n.addEventListener(s,i,o)},P=(n,s,i,o)=>{if(e.hasWindow){const e=t();if(e&&e._rel)return e._rel(n,s,i,o)}return n.removeEventListener(s,i,o)},T=e=>e?new Promise((t=>c(e,t))):Promise.resolve(),_=async(e,t=!1)=>{const n=e;if(n){if(null!=n.componentOnReady){const e=await n.componentOnReady();if(!t&&null!=e)return}await Promise.all(Array.from(n.children).map((e=>_(e,t))))}},p=async e=>{await _(e,!0),await b(),await q()},y=async(e,t)=>{const n=Object.assign({animated:!1},t),s=e;if(null!=s){await _(s,!0);const e=Array.prototype.slice.call(s.querySelectorAll("*")).filter((e=>e.tagName.match(/^bal/i)));await Promise.all(e.map((e=>{if(null!=e.configChanged)return e.configChanged(n)})))}await Promise.all([b(),A(),q()])},b=()=>new Promise((e=>f((()=>F(e))))),q=()=>new Promise((e=>s((()=>F(e))))),A=()=>new Promise((t=>((t,n=3e3)=>{let i=!1;if(!e.isSafari&&e.hasWindow&&"PerformanceObserver"in window){const e=new PerformanceObserver((n=>{const o=n.getEntries();o[o.length-1]&&(e.disconnect(),i=!0,s((()=>t())))}));e.observe({type:"largest-contentful-paint",buffered:!0}),setTimeout((()=>{i||(e.disconnect(),t())}),n)}else setTimeout(t,32)})((()=>F(t))))),g=()=>new Promise((e=>n((()=>F(e))))),F=t=>{if(e.hasWindow&&"MessageChannel"in window){const e=new window.MessageChannel;e.port1.onmessage=t,e.port2.postMessage(void 0)}else setTimeout(t,32)};export{l as a,b,c,_ as d,q as e,A as f,w as g,p as h,u as i,y as j,g as k,a as l,s as m,o as n,d as o,P as p,r as q,f as r,T as s,n as t,i as w}
|