@swisspost/design-system-components 10.0.0-next.70 → 10.0.0-next.72
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/dist/cjs/breakpoints-B0Olgvgc.js +206 -0
- package/dist/cjs/component-on-ready-CifOTqw1.js +24 -0
- package/dist/cjs/create-validator-decorator-Bnx17kwi.js +223 -0
- package/dist/cjs/{focusable-ZqET_zrB.js → focusable-COT2uiEV.js} +25 -4
- package/dist/cjs/{index-DPdHkdGf.js → index-ngUOBQot.js} +17 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/nanoid-CmjyF1Cm.js +20 -0
- package/dist/cjs/one-of-BHyX4vYq.js +27 -0
- package/dist/cjs/{package-Ds_LS1pB.js → package-Bi-tiNRc.js} +1 -1
- package/dist/cjs/pattern-BgBx5zGQ.js +27 -0
- package/dist/cjs/post-accordion_2.cjs.entry.js +18 -24
- package/dist/cjs/post-autocomplete.cjs.entry.js +27 -14
- package/dist/cjs/post-avatar.cjs.entry.js +33 -54
- package/dist/cjs/post-back-to-top.cjs.entry.js +21 -12
- package/dist/cjs/post-banner.cjs.entry.js +9 -14
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +48 -41
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +106 -105
- package/dist/cjs/post-closebutton_14.cjs.entry.js +257 -288
- package/dist/cjs/post-collapsible_2.cjs.entry.js +57 -40
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-date-picker.cjs.entry.js +154 -144
- package/dist/cjs/post-footer.cjs.entry.js +26 -19
- package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
- package/dist/cjs/post-listbox-option.cjs.entry.js +4 -4
- package/dist/cjs/post-listbox.cjs.entry.js +4 -6
- package/dist/cjs/post-login-widget.cjs.entry.js +35 -3
- package/dist/cjs/post-number-input.cjs.entry.js +6 -6
- package/dist/cjs/post-pagination.cjs.entry.js +53 -83
- package/dist/cjs/post-popover-trigger.cjs.entry.js +22 -19
- package/dist/cjs/post-popover.cjs.entry.js +25 -23
- package/dist/cjs/post-progressbar.cjs.entry.js +147 -0
- package/dist/cjs/post-rating.cjs.entry.js +34 -35
- package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/post-stepper.cjs.entry.js +49 -38
- package/dist/cjs/post-tab-item.cjs.entry.js +23 -15
- package/dist/cjs/post-tab-panel.cjs.entry.js +23 -16
- package/dist/cjs/post-tabs.cjs.entry.js +24 -30
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +34 -21
- package/dist/cjs/post-tooltip.cjs.entry.js +19 -16
- package/dist/cjs/required-lRDOdbd6.js +44 -0
- package/dist/cjs/type-shT641Eo.js +30 -0
- package/dist/cjs/url-DRUMqVBq.js +34 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/post-accordion/post-accordion.js +11 -8
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -18
- package/dist/collection/components/post-autocomplete/post-autocomplete.js +23 -13
- package/dist/collection/components/post-avatar/avatar-utils.js +2 -2
- package/dist/collection/components/post-avatar/post-avatar.js +29 -72
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +17 -10
- package/dist/collection/components/post-banner/post-banner.js +7 -14
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +92 -47
- package/dist/collection/components/post-breadcrumb-item/variants.js +1 -0
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +110 -114
- package/dist/collection/components/post-closebutton/post-closebutton.js +24 -27
- package/dist/collection/components/post-collapsible/post-collapsible.js +26 -16
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +34 -30
- package/dist/collection/components/post-date-picker/post-date-picker.css +1 -1
- package/dist/collection/components/post-date-picker/post-date-picker.js +64 -96
- package/dist/collection/components/post-footer/post-footer.js +17 -13
- package/dist/collection/components/post-header/post-header.js +18 -24
- package/dist/collection/components/post-icon/post-icon.js +36 -48
- package/dist/collection/components/post-language-menu/post-language-menu.js +16 -22
- package/dist/collection/components/post-language-menu-item/post-language-menu-item.js +28 -39
- package/dist/collection/components/post-linkarea/post-linkarea.js +2 -2
- package/dist/collection/components/post-listbox/post-listbox.js +3 -5
- package/dist/collection/components/post-listbox-option/post-listbox-option.js +3 -3
- package/dist/collection/components/post-login-widget/post-login-widget.css +1 -0
- package/dist/collection/components/post-login-widget/post-login-widget.js +103 -5
- package/dist/collection/components/post-logo/post-logo.js +16 -13
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +17 -13
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +24 -23
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +7 -15
- package/dist/collection/components/post-menu/post-menu.js +14 -24
- package/dist/collection/components/post-menu-item/post-menu-item.css +1 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +17 -13
- package/dist/collection/components/post-number-input/post-number-input.js +5 -5
- package/dist/collection/components/post-pagination/post-pagination.js +47 -83
- package/dist/collection/components/post-popover/post-popover.js +20 -22
- package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +16 -14
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +28 -34
- package/dist/collection/components/post-progressbar/post-progressbar.css +1 -0
- package/dist/collection/components/post-progressbar/post-progressbar.js +136 -0
- package/dist/collection/components/post-rating/post-rating.js +25 -29
- package/dist/collection/components/post-stepper/post-stepper.js +44 -36
- package/dist/collection/components/post-stepper-item/post-stepper-item.js +2 -2
- package/dist/collection/components/post-tab-item/post-tab-item.js +17 -13
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +17 -14
- package/dist/collection/components/post-tabs/post-tabs.js +20 -7
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +5 -3
- package/dist/collection/components/post-tooltip/post-tooltip.js +17 -16
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +30 -19
- package/dist/collection/hydrate-stub/index.stub.js +5 -0
- package/dist/collection/test-setup.js +7 -0
- package/dist/collection/utils/index.js +4 -3
- package/dist/collection/utils/is-value-empty.js +1 -1
- package/dist/collection/utils/locales.js +9 -2
- package/dist/collection/utils/nanoid.js +16 -0
- package/dist/collection/utils/property-decorators/array-of.js +22 -0
- package/dist/collection/utils/property-decorators/bound.js +75 -0
- package/dist/collection/utils/property-decorators/create-validator-decorator.js +211 -0
- package/dist/collection/utils/property-decorators/date.js +21 -0
- package/dist/collection/utils/property-decorators/index.js +9 -0
- package/dist/collection/utils/property-decorators/iso-date.js +21 -0
- package/dist/collection/utils/property-decorators/one-of.js +22 -0
- package/dist/collection/utils/property-decorators/pattern.js +22 -0
- package/dist/collection/utils/property-decorators/required.js +40 -0
- package/dist/collection/utils/property-decorators/type.js +25 -0
- package/dist/collection/utils/property-decorators/url.js +29 -0
- package/dist/component-names.json +1 -0
- package/dist/components/breakpoints.js +1 -0
- package/dist/components/component-on-ready.js +1 -0
- package/dist/components/focusable.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/nanoid.js +1 -0
- package/dist/components/one-of.js +1 -0
- package/dist/components/package.js +1 -1
- package/dist/components/pattern.js +1 -0
- package/dist/components/post-accordion-item2.js +1 -1
- package/dist/components/post-accordion2.js +1 -1
- package/dist/components/post-autocomplete.js +1 -1
- package/dist/components/post-avatar.js +1 -1
- package/dist/components/post-avatar2.js +1 -0
- package/dist/components/post-back-to-top.js +1 -1
- package/dist/components/post-banner.js +1 -1
- package/dist/components/post-breadcrumb-item.js +1 -1
- package/dist/components/post-breadcrumbs.js +1 -1
- package/dist/components/post-closebutton2.js +1 -1
- package/dist/components/post-collapsible-trigger2.js +1 -1
- package/dist/components/post-collapsible2.js +1 -1
- package/dist/components/post-date-picker.js +1 -1
- package/dist/components/post-footer.js +1 -1
- package/dist/components/post-header.js +1 -1
- package/dist/components/post-icon2.js +1 -1
- package/dist/components/post-language-menu-item.js +1 -1
- package/dist/components/post-language-menu.js +1 -1
- package/dist/components/post-linkarea.js +1 -1
- package/dist/components/post-listbox-option.js +1 -1
- package/dist/components/post-listbox.js +1 -1
- package/dist/components/post-login-widget.js +1 -1
- package/dist/components/post-logo.js +1 -1
- package/dist/components/post-mainnavigation.js +1 -1
- package/dist/components/post-megadropdown-trigger.js +1 -1
- package/dist/components/post-megadropdown.js +1 -1
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +1 -1
- package/dist/components/post-menu2.js +1 -1
- package/dist/components/post-number-input.js +1 -1
- package/dist/components/post-pagination.js +1 -1
- package/dist/components/post-popover-trigger.js +1 -1
- package/dist/components/post-popover.js +1 -1
- package/dist/components/post-popovercontainer2.js +1 -1
- package/dist/components/post-progressbar.d.ts +11 -0
- package/dist/components/post-progressbar.js +1 -0
- package/dist/components/post-rating.js +1 -1
- package/dist/components/post-stepper-item.js +1 -1
- package/dist/components/post-stepper.js +1 -1
- package/dist/components/post-tab-item.js +1 -1
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/post-togglebutton2.js +1 -1
- package/dist/components/post-tooltip-trigger.js +1 -1
- package/dist/components/post-tooltip.js +1 -1
- package/dist/components/react/index.js +1 -1
- package/dist/components/react/p-4wtxqxXu.js +1 -0
- package/dist/components/react/p-85IGlhtB.js +1 -0
- package/dist/components/react/p-8LXe8Zt_.js +1 -0
- package/dist/components/react/p-B9ZFuYey.js +1 -0
- package/dist/components/react/p-BXqGI600.js +1 -0
- package/dist/components/react/p-BZSAV0-K.js +1 -0
- package/dist/components/react/p-B_WnO-QF.js +1 -0
- package/dist/components/react/p-BaB8wJvk.js +1 -0
- package/dist/components/react/p-Bg9dtyzK.js +1 -0
- package/dist/components/react/p-Bji_4dfL.js +1 -0
- package/dist/components/react/p-Bn66acGG.js +1 -0
- package/dist/components/react/p-BrY4VWTQ.js +1 -0
- package/dist/components/react/p-Bu2JeHDf.js +1 -0
- package/dist/components/react/p-BxoRVIIr.js +1 -0
- package/dist/components/react/p-CX2E_IXB.js +1 -0
- package/dist/components/react/p-Cd1TsNm7.js +1 -0
- package/dist/components/react/p-CkTAQJGd.js +1 -0
- package/dist/components/react/p-ClG-N42b.js +1 -0
- package/dist/components/react/p-D1zw8FxT.js +1 -0
- package/dist/components/react/p-DwuW52g5.js +1 -0
- package/dist/components/react/p-PM7l--ff.js +1 -0
- package/dist/components/react/p-lpWRZjJp.js +1 -0
- package/dist/components/react/post-accordion-item.js +1 -1
- package/dist/components/react/post-accordion.js +1 -1
- package/dist/components/react/post-autocomplete.js +1 -1
- package/dist/components/react/post-avatar.js +1 -1
- package/dist/components/react/post-back-to-top.js +1 -1
- package/dist/components/react/post-banner.js +1 -1
- package/dist/components/react/post-breadcrumb-item.js +1 -1
- package/dist/components/react/post-breadcrumbs.js +1 -1
- package/dist/components/react/post-closebutton.js +1 -1
- package/dist/components/react/post-collapsible-trigger.js +1 -1
- package/dist/components/react/post-collapsible.js +1 -1
- package/dist/components/react/post-date-picker.js +1 -1
- package/dist/components/react/post-footer.js +1 -1
- package/dist/components/react/post-header.js +1 -1
- package/dist/components/react/post-icon.js +1 -1
- package/dist/components/react/post-language-menu-item.js +1 -1
- package/dist/components/react/post-language-menu.js +1 -1
- package/dist/components/react/post-linkarea.js +1 -1
- package/dist/components/react/post-listbox-option.js +1 -1
- package/dist/components/react/post-listbox.js +1 -1
- package/dist/components/react/post-login-widget.js +1 -1
- package/dist/components/react/post-logo.js +1 -1
- package/dist/components/react/post-mainnavigation.js +1 -1
- package/dist/components/react/post-megadropdown-trigger.js +1 -1
- package/dist/components/react/post-megadropdown.js +1 -1
- package/dist/components/react/post-menu-item.js +1 -1
- package/dist/components/react/post-menu-trigger.js +1 -1
- package/dist/components/react/post-menu.js +1 -1
- package/dist/components/react/post-number-input.js +1 -1
- package/dist/components/react/post-pagination.js +1 -1
- package/dist/components/react/post-popover-trigger.js +1 -1
- package/dist/components/react/post-popover.js +1 -1
- package/dist/components/react/post-popovercontainer.js +1 -1
- package/dist/components/react/post-progressbar.d.ts +11 -0
- package/dist/components/react/post-progressbar.js +1 -0
- package/dist/components/react/post-rating.js +1 -1
- package/dist/components/react/post-stepper-item.js +1 -1
- package/dist/components/react/post-stepper.js +1 -1
- package/dist/components/react/post-tab-item.js +1 -1
- package/dist/components/react/post-tab-panel.js +1 -1
- package/dist/components/react/post-tabs.js +1 -1
- package/dist/components/react/post-togglebutton.js +1 -1
- package/dist/components/react/post-tooltip-trigger.js +1 -1
- package/dist/components/react/post-tooltip.js +1 -1
- package/dist/components/required.js +1 -0
- package/dist/components/type.js +1 -0
- package/dist/components/url.js +1 -0
- package/dist/docs.json +307 -72
- package/dist/esm/breakpoints-BQ3HlJPr.js +202 -0
- package/dist/esm/component-on-ready-lpWRZjJp.js +22 -0
- package/dist/esm/create-validator-decorator-D8qwF5Qe.js +218 -0
- package/dist/esm/{focusable-BD_WT2MO.js → focusable-C7afHKmo.js} +25 -5
- package/dist/esm/{index-DmAi35UF.js → index-BbDawWJ5.js} +17 -13
- package/dist/esm/loader.js +3 -3
- package/dist/esm/nanoid-8LXe8Zt_.js +18 -0
- package/dist/esm/one-of-GPr3FflU.js +25 -0
- package/dist/esm/package-ClG-N42b.js +3 -0
- package/dist/esm/pattern-BWPRYpYv.js +25 -0
- package/dist/esm/post-accordion_2.entry.js +17 -23
- package/dist/esm/post-autocomplete.entry.js +27 -14
- package/dist/esm/post-avatar.entry.js +33 -54
- package/dist/esm/post-back-to-top.entry.js +21 -12
- package/dist/esm/post-banner.entry.js +9 -14
- package/dist/esm/post-breadcrumb-item.entry.js +48 -41
- package/dist/esm/post-breadcrumbs.entry.js +106 -105
- package/dist/esm/post-closebutton_14.entry.js +252 -283
- package/dist/esm/post-collapsible_2.entry.js +57 -40
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-date-picker.entry.js +151 -141
- package/dist/esm/post-footer.entry.js +21 -14
- package/dist/esm/post-linkarea.entry.js +3 -3
- package/dist/esm/post-listbox-option.entry.js +4 -4
- package/dist/esm/post-listbox.entry.js +4 -6
- package/dist/esm/post-login-widget.entry.js +35 -3
- package/dist/esm/post-number-input.entry.js +5 -5
- package/dist/esm/post-pagination.entry.js +52 -82
- package/dist/esm/post-popover-trigger.entry.js +20 -17
- package/dist/esm/post-popover.entry.js +25 -23
- package/dist/esm/post-progressbar.entry.js +145 -0
- package/dist/esm/post-rating.entry.js +29 -30
- package/dist/esm/post-stepper-item.entry.js +3 -3
- package/dist/esm/post-stepper.entry.js +49 -38
- package/dist/esm/post-tab-item.entry.js +22 -14
- package/dist/esm/post-tab-panel.entry.js +22 -15
- package/dist/esm/post-tabs.entry.js +23 -29
- package/dist/esm/post-tooltip-trigger.entry.js +34 -21
- package/dist/esm/post-tooltip.entry.js +19 -16
- package/dist/esm/required-uK-rZZjy.js +42 -0
- package/dist/esm/type-obmwEgkM.js +28 -0
- package/dist/esm/url-B28ByZCe.js +32 -0
- package/dist/post-components/p-00f55af5.entry.js +1 -0
- package/dist/post-components/p-0288484f.entry.js +1 -0
- package/dist/post-components/p-07cdd022.entry.js +1 -0
- package/dist/post-components/{p-c2e05ba0.entry.js → p-12047216.entry.js} +1 -1
- package/dist/post-components/p-17df4e91.entry.js +1 -0
- package/dist/post-components/p-17e046fa.entry.js +1 -0
- package/dist/post-components/p-29bd31a0.entry.js +1 -0
- package/dist/post-components/p-2c6b4e6a.entry.js +1 -0
- package/dist/post-components/p-3b05e01d.entry.js +1 -0
- package/dist/post-components/p-53fd5230.entry.js +1 -0
- package/dist/post-components/p-5b7e6369.entry.js +1 -0
- package/dist/post-components/p-5f4ca179.entry.js +1 -0
- package/dist/post-components/p-62b6154a.entry.js +1 -0
- package/dist/post-components/{p-77d5e17b.entry.js → p-686a6e22.entry.js} +1 -1
- package/dist/post-components/p-758fc84f.entry.js +1 -0
- package/dist/post-components/{p-570d64dd.entry.js → p-7f929bb9.entry.js} +1 -1
- package/dist/post-components/p-8LXe8Zt_.js +1 -0
- package/dist/post-components/p-9865f72c.entry.js +1 -0
- package/dist/post-components/p-99803d57.entry.js +1 -0
- package/dist/post-components/p-BQ3HlJPr.js +1 -0
- package/dist/post-components/p-BRNqUiXj.js +1 -0
- package/dist/post-components/p-BbDawWJ5.js +2 -0
- package/dist/post-components/p-BrY4VWTQ.js +1 -0
- package/dist/post-components/p-CVsNfXZd.js +1 -0
- package/dist/post-components/p-Ck2qPht6.js +1 -0
- package/dist/post-components/p-ClG-N42b.js +1 -0
- package/dist/post-components/p-D4F0BqBW.js +1 -0
- package/dist/post-components/p-DSNGJB58.js +1 -0
- package/dist/post-components/p-IUnDBhPg.js +1 -0
- package/dist/post-components/p-a0e0a760.entry.js +1 -0
- package/dist/post-components/p-a850652d.entry.js +1 -0
- package/dist/post-components/p-aac1a8ea.entry.js +1 -0
- package/dist/post-components/{p-092f8795.entry.js → p-b3f0f9a2.entry.js} +1 -1
- package/dist/post-components/p-c37dba4b.entry.js +1 -0
- package/dist/post-components/p-d061773b.entry.js +1 -0
- package/dist/post-components/p-e2370e94.entry.js +1 -0
- package/dist/post-components/p-f1ca1d3f.entry.js +1 -0
- package/dist/post-components/p-f2e5f44e.entry.js +1 -0
- package/dist/post-components/p-ff98ada4.entry.js +1 -0
- package/dist/post-components/p-lpWRZjJp.js +1 -0
- package/dist/post-components/post-components.css +2 -2
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-accordion/post-accordion.d.ts +1 -1
- package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +0 -2
- package/dist/types/components/post-autocomplete/post-autocomplete.d.ts +0 -1
- package/dist/types/components/post-avatar/avatar-utils.d.ts +1 -1
- package/dist/types/components/post-avatar/post-avatar.d.ts +0 -13
- package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +0 -1
- package/dist/types/components/post-banner/post-banner.d.ts +0 -1
- package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +11 -11
- package/dist/types/components/post-breadcrumb-item/variants.d.ts +2 -0
- package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +20 -26
- package/dist/types/components/post-closebutton/post-closebutton.d.ts +0 -3
- package/dist/types/components/post-collapsible/post-collapsible.d.ts +1 -2
- package/dist/types/components/post-collapsible-trigger/post-collapsible-trigger.d.ts +3 -6
- package/dist/types/components/post-date-picker/post-date-picker.d.ts +0 -12
- package/dist/types/components/post-footer/post-footer.d.ts +0 -1
- package/dist/types/components/post-header/post-header.d.ts +0 -2
- package/dist/types/components/post-icon/post-icon.d.ts +0 -6
- package/dist/types/components/post-language-menu/post-language-menu.d.ts +1 -3
- package/dist/types/components/post-language-menu-item/post-language-menu-item.d.ts +0 -5
- package/dist/types/components/post-login-widget/post-login-widget.d.ts +17 -2
- package/dist/types/components/post-logo/post-logo.d.ts +0 -1
- package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +0 -1
- package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +1 -3
- package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +0 -2
- package/dist/types/components/post-menu/post-menu.d.ts +1 -4
- package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +0 -1
- package/dist/types/components/post-pagination/post-pagination.d.ts +0 -17
- package/dist/types/components/post-popover/post-popover.d.ts +0 -3
- package/dist/types/components/post-popover-trigger/post-popover-trigger.d.ts +0 -1
- package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +0 -3
- package/dist/types/components/post-progressbar/post-progressbar.d.ts +23 -0
- package/dist/types/components/post-rating/post-rating.d.ts +0 -4
- package/dist/types/components/post-stepper/post-stepper.d.ts +1 -4
- package/dist/types/components/post-tab-item/post-tab-item.d.ts +0 -1
- package/dist/types/components/post-tab-panel/post-tab-panel.d.ts +0 -1
- package/dist/types/components/post-tooltip/post-tooltip.d.ts +1 -3
- package/dist/types/components/post-tooltip-trigger/post-tooltip-trigger.d.ts +1 -1
- package/dist/types/components.d.ts +119 -29
- package/dist/types/modules.d.ts +2 -0
- package/dist/types/utils/index.d.ts +4 -3
- package/dist/types/utils/nanoid.d.ts +8 -0
- package/dist/types/utils/property-decorators/array-of.d.ts +9 -0
- package/dist/types/utils/property-decorators/bound.d.ts +36 -0
- package/dist/types/utils/property-decorators/create-validator-decorator.d.ts +48 -0
- package/dist/types/utils/property-decorators/date.d.ts +6 -0
- package/dist/types/utils/property-decorators/index.d.ts +9 -0
- package/dist/types/utils/property-decorators/iso-date.d.ts +6 -0
- package/dist/types/utils/property-decorators/one-of.d.ts +8 -0
- package/dist/types/utils/property-decorators/pattern.d.ts +8 -0
- package/dist/types/utils/property-decorators/required.d.ts +17 -0
- package/dist/types/utils/property-decorators/type.d.ts +9 -0
- package/dist/types/utils/property-decorators/url.d.ts +6 -0
- package/hydrate/index.js +1536 -115469
- package/hydrate/index.mjs +1536 -115469
- package/hydrate/index.stub.js +5 -0
- package/package.json +28 -18
- package/dist/cjs/index-YBj3gUJp.js +0 -114540
- package/dist/cjs/index-qCzRmwgB.js +0 -114
- package/dist/cjs/index.browser-BVb9l9T_.js +0 -16
- package/dist/collection/utils/property-checkers/check-array-of.js +0 -8
- package/dist/collection/utils/property-checkers/check-date.js +0 -13
- package/dist/collection/utils/property-checkers/check-iso-date.js +0 -9
- package/dist/collection/utils/property-checkers/check-one-of.js +0 -8
- package/dist/collection/utils/property-checkers/check-pattern.js +0 -8
- package/dist/collection/utils/property-checkers/check-type.js +0 -15
- package/dist/collection/utils/property-checkers/check-url.js +0 -15
- package/dist/collection/utils/property-checkers/constants.js +0 -1
- package/dist/collection/utils/property-checkers/empty-or.js +0 -9
- package/dist/collection/utils/property-checkers/index.js +0 -20
- package/dist/collection/utils/property-checkers/required-and.js +0 -14
- package/dist/components/heading-levels.js +0 -1
- package/dist/components/index.browser.js +0 -1
- package/dist/components/index2.js +0 -1
- package/dist/components/index3.js +0 -6
- package/dist/components/post-breadcrumb-item2.js +0 -1
- package/dist/components/react/p-B076QoO3.js +0 -1
- package/dist/components/react/p-B2BDAeHI.js +0 -1
- package/dist/components/react/p-B2iQay0-.js +0 -1
- package/dist/components/react/p-B_RL4AOE.js +0 -1
- package/dist/components/react/p-BoFDru4R.js +0 -1
- package/dist/components/react/p-BuL0WAoF.js +0 -1
- package/dist/components/react/p-C8b6-YQl.js +0 -1
- package/dist/components/react/p-CJcRbvrI.js +0 -6
- package/dist/components/react/p-Cu9RsvYK.js +0 -1
- package/dist/components/react/p-D6uA8DbL.js +0 -1
- package/dist/components/react/p-DSSN7xW4.js +0 -1
- package/dist/components/react/p-DW7sbg9f.js +0 -1
- package/dist/components/react/p-DgdnwpId.js +0 -1
- package/dist/components/react/p-Dmnnz3fB.js +0 -1
- package/dist/components/react/p-PuHMz_9_.js +0 -1
- package/dist/components/react/p-nA1BKco0.js +0 -1
- package/dist/components/react/p-r4txK0AC.js +0 -1
- package/dist/components/react/p-tpgRP2Dr.js +0 -1
- package/dist/esm/index-CJcRbvrI.js +0 -114535
- package/dist/esm/index-D9bU2pIE.js +0 -104
- package/dist/esm/index.browser-nA1BKco0.js +0 -14
- package/dist/esm/package-DW7sbg9f.js +0 -3
- package/dist/post-components/p-17ccebe6.entry.js +0 -1
- package/dist/post-components/p-1d58bec1.entry.js +0 -1
- package/dist/post-components/p-25c28493.entry.js +0 -1
- package/dist/post-components/p-29ada3d7.entry.js +0 -1
- package/dist/post-components/p-2fcca5ec.entry.js +0 -1
- package/dist/post-components/p-3cefd49e.entry.js +0 -1
- package/dist/post-components/p-3fea238c.entry.js +0 -1
- package/dist/post-components/p-5068ae7e.entry.js +0 -1
- package/dist/post-components/p-521178f5.entry.js +0 -1
- package/dist/post-components/p-534fed55.entry.js +0 -1
- package/dist/post-components/p-5f52cba3.entry.js +0 -1
- package/dist/post-components/p-86697a58.entry.js +0 -1
- package/dist/post-components/p-987bebe8.entry.js +0 -1
- package/dist/post-components/p-9ca5c297.entry.js +0 -1
- package/dist/post-components/p-9ea3066f.entry.js +0 -1
- package/dist/post-components/p-CJcRbvrI.js +0 -6
- package/dist/post-components/p-D9bU2pIE.js +0 -1
- package/dist/post-components/p-DW7sbg9f.js +0 -1
- package/dist/post-components/p-DmAi35UF.js +0 -2
- package/dist/post-components/p-PuHMz_9_.js +0 -1
- package/dist/post-components/p-a6fc33fa.entry.js +0 -1
- package/dist/post-components/p-ac853d6b.entry.js +0 -1
- package/dist/post-components/p-bd09bc20.entry.js +0 -1
- package/dist/post-components/p-c55b537b.entry.js +0 -1
- package/dist/post-components/p-dded4f13.entry.js +0 -1
- package/dist/post-components/p-e6ba44b1.entry.js +0 -1
- package/dist/post-components/p-ead1094e.entry.js +0 -1
- package/dist/post-components/p-f12e59a0.entry.js +0 -1
- package/dist/post-components/p-nA1BKco0.js +0 -1
- package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/types/language-tags.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-array-of.d.ts +0 -4
- package/dist/types/utils/property-checkers/check-date.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-iso-date.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-one-of.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-pattern.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-type.d.ts +0 -4
- package/dist/types/utils/property-checkers/check-url.d.ts +0 -3
- package/dist/types/utils/property-checkers/constants.d.ts +0 -1
- package/dist/types/utils/property-checkers/empty-or.d.ts +0 -3
- package/dist/types/utils/property-checkers/index.d.ts +0 -34
- package/dist/types/utils/property-checkers/required-and.d.ts +0 -3
- /package/dist/types/{language-tags.js → test-setup.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as o,transformTag as r}from"@stencil/core/internal/client";import{v as c}from"./package.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return i(o,{key:"f41ae27d8de89912b3aa34d9c89f5ec69f3df301","data-version":c,role:"listitem"},i("span",{key:"00a0dd2eb3fb020e49c5782245e1f3e72c77e780",class:"stepper-item-content"},i("span",{key:"bc9932083d295b92db24ddd22cb18a755db5ad11",class:"step-hidden-label visually-hidden"}),i("span",{key:"efe2d809c82c1d7de9e0cdf4e52b924943afa0bf",class:"label"},i("slot",{key:"47aceca3fc331ef91da60674dbc2af5ea7e76ec8"}))))}static get style(){return':host{grid-row:1;position:relative;padding-inline-start:0}:host::before,:host::after{content:"";display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - 2px)/2);height:2px;background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);inset-inline:0}:host(:not(:first-of-type)){padding-inline-start:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2)}:host(:not(:last-of-type)){padding-inline-end:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);grid-column:span 2}:host(:not(:first-of-type,:last-of-type))::before{inset-inline-end:50%}:host(:not(:first-of-type,:last-of-type))::after{inset-inline-start:50%}:host(.stepper-item-current:not(:last-of-type))::after,:host(.stepper-item-current:first-of-type)::before,:host(.stepper-item-after-current)::before,:host(.stepper-item-after-current:last-of-type)::after{background-color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after{background-color:var(--post-scheme-color-interactive-primary-selected-bg2);z-index:1}.stepper-item-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;position:relative;z-index:2;overflow:hidden;text-decoration:none;color:var(--post-scheme-color-interactive-primary-disabled-fg1);width:fit-content;word-break:break-word;font-size:var(--post-device-font-size-7)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content{margin-inline:auto;text-align:center}:host(:last-of-type)>.stepper-item-content{margin-inline-start:auto;margin-inline-end:-20px;text-align:end}:host(.stepper-item-completed)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-selected)>.stepper-item-content{font-weight:var(--post-device-font-weight-bold)}:host(.stepper-item-selected)>.stepper-item-content::before{font-weight:var(--post-device-font-weight-regular)}:host(.stepper-item-current)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3)}.stepper-item-content::before{counter-increment:step-index;content:counter(step-index);display:flex;align-items:center;justify-content:center;z-index:1;height:var(--post-device-sizing-interactive-stepper-indicator);width:var(--post-device-sizing-interactive-stepper-indicator);box-sizing:border-box;margin-block-end:var(--post-device-spacing-gap-1);color:var(--post-scheme-color-interactive-primary-disabled-fg3);background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-disabled-stroke3);border-radius:var(--post-device-border-radius-round);text-indent:initial}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::before{margin-inline:auto}:host(:last-of-type)>.stepper-item-content::before{margin-inline-start:auto}:host(.stepper-item-completed)>.stepper-item-content::before{color:rgba(0,0,0,0);background-color:var(--post-scheme-color-interactive-primary-selected-bg2);border-color:var(--post-scheme-color-interactive-primary-selected-stroke3)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3);background-color:var(--post-scheme-color-interactive-primary-enabled-bg2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3)}.stepper-item-content::after{display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2);z-index:1;mask-image:var(--post-icon-checkmark-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size7);height:var(--post-device-sizing-interactive-icon-size7);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3)}:root,:host{--post-icon-checkmark-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hlY2ttYXJrLXNvbGlkIj48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0ibTcuNDkgMTIuOTktMy42NC0zLjljLS40Ny0uNS0uNDQtMS4zLjA2LTEuNzdzMS4yOS0uNDQgMS43Ny4wNmwxLjQ4IDEuNTggMy4wNS00LjYyYy4zOC0uNTggMS4xNi0uNzQgMS43My0uMzUuNTguMzguNzQgMS4xNi4zNSAxLjczeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJtMTEuMTggMTguODgtNS4xNC01LjUxYTEuNSAxLjUgMCAwIDEgLjA3LTIuMTJjLjYtLjU2IDEuNTUtLjUzIDIuMTIuMDdsMi41NCAyLjcyIDQuODQtNy4zM2MuNDYtLjY5IDEuMzktLjg4IDIuMDgtLjQzLjY5LjQ2Ljg4IDEuMzkuNDMgMi4wOGwtNi45NCAxMC41MVoiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTE0Ljg3IDI0LjgxIDguMjMgMTcuN2MtLjY2LS43MS0uNjItMS44MS4wOC0yLjQ3LjcxLS42NiAxLjgxLS42MiAyLjQ3LjA4bDMuNjEgMy44NiA2LjYyLTEwLjA0Yy41My0uODEgMS42Mi0xLjAzIDIuNDItLjUuODEuNTMgMS4wMyAxLjYyLjUgMi40MkwxNC44NiAyNC44WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJtMTguNTYgMzAuNi04LjE0LTguNzFjLS43NS0uODEtLjcxLTIuMDcuMS0yLjgzLjgxLS43NSAyLjA3LS43MSAyLjgzLjFsNC42NyA1IDguNDEtMTIuNzRhMiAyIDAgMCAxIDMuMzQgMi4yeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48cGF0aCBkPSJtMjIuMjYgMzYuNTctOS42My0xMC4zMmMtLjg1LS45MS0uOC0yLjMzLjExLTMuMThzMi4zMy0uOCAzLjE4LjExbDUuNzQgNi4xNCAxMC4yLTE1LjQ1YTIuMjU0IDIuMjU0IDAgMCAxIDMuMTItLjY0YzEuMDQuNjggMS4zMiAyLjA4LjY0IDMuMTJMMjIuMjcgMzYuNTdaIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjxwYXRoIGQ9Ik0yOS42MSA0Ny45MSAxNy4yIDM0LjYyYTIuNDk3IDIuNDk3IDAgMSAxIDMuNjUtMy40MWw4LjA4IDguNjUgMTMuOTUtMjEuMTNhMi40OTkgMi40OTkgMCAwIDEgNC4xNyAyLjc1TDI5LjYgNDcuOTFaIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZWNrbWFyay1zb2xpZCIvPjwvZz48L3N2Zz4=")}:host(:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size7)/2)}:host(:last-of-type)>.stepper-item-content::after{inset-inline-end:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(.stepper-item-completed)>.stepper-item-content::after{content:""}:host([aria-current=step])>.stepper-item-content::after{mask-image:var(--post-icon-edit-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size4);height:var(--post-device-sizing-interactive-icon-size4);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3);inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:root,:host{--post-icon-edit-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktZWRpdC1zb2xpZCI+PHN5bWJvbCBpZD0iczE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxwYXRoIGQ9Im0xLjUgMTAuOTkgOC41LTguNXMuMDMuMDUuMDUuMDdsMy41IDMuNDUtOC41MiA4LjUxem0tLjkyIDEuMi0uNTYgMy44IDMuODEtLjU2LTMuMjQtMy4yNFptMTUuMjUtOS4zN0wxMy4xOS4xOGEuNjMuNjMgMCAwIDAtLjg4IDBsLTEuMjcgMS4yN3MuMDQuMDIuMDYuMDRsMy41IDMuNDUgMS4yMy0xLjIzYy4yNC0uMjQuMjQtLjY0IDAtLjg4WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNS44NCAyMy4xNS4wMiAyNGwuODUtNS44MnptMS40MS0xLjA4TDIwLjQ5IDguODNsLTUuMjUtNS4xN3MtLjA0LS4wNy0uMDctLjFMMS45NSAxNi43OGw1LjMgNS4zWm0xNi41LTE3LjgzTDE5Ljc4LjI3YS45MzYuOTM2IDAgMCAwLTEuMzMgMGwtMi4wOSAyLjA5cy4wNi4wMy4wOS4wNmw1LjI2IDUuMTggMi4wMy0yLjAzYy4zNy0uMzcuMzctLjk2IDAtMS4zM1oiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0ibTguMDcgMzAuNzctOC4wNCAxLjIgMS4yMS04LjA3em0xLjUzLTEuMzEgMTcuODMtMTcuODQtNi45OS02Ljg5cy0uMDYtLjA5LS4wOS0uMTRMMi41NiAyMi4zOGw3LjAzIDcuMDdaTTMxLjY2IDUuNjIgMjYuMzcuMzNjLS40OS0uNDktMS4yOC0uNDktMS43NiAwbC0yLjg5IDIuODlzLjA5LjA0LjEyLjA4bDcuMDEgNi45IDIuODItMi44MmMuNDktLjQ5LjQ5LTEuMjggMC0xLjc2WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJNMi40MSAyOC43OSAyNS41MiA1LjcxYy4wNC4wNi4wNi4xMi4xMS4xN2w4Ljc0IDguNkwxMS4yMyAzNy42em0tMS4wMiAyLjE2TC4wNCA0MC4wMWw5LjA0LTEuMzktNy42OS03LjY4Wk0zOS41OCA3LjA3IDMyLjk3LjQ3Yy0uNjEtLjYxLTEuNi0uNjEtMi4yMSAwbC0zLjcgMy43Yy4wNS4wNC4xMS4wNi4xNS4xbDguNzYgOC42MSAzLjYxLTMuNjFjLjYxLS42MS42MS0xLjYgMC0yLjIiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+PHBhdGggZD0iTTIuODMgMzQuNTggMzEuMyA2LjExYy4wNS4wNy4wOC4xNC4xNC4ybDEwLjQ5IDEwLjMzLTI4LjU1IDI4LjU0em0tMS4xOCAyLjM2TDAgNDhsMTAuOTktMS42NnpNNDcuNDYgOC40NyAzOS41My41NGMtLjczLS43My0xLjkyLS43My0yLjY1IDBsLTMuODcgMy44N2MuMDYuMDQuMTMuMDcuMTkuMTJsMTAuNTEgMTAuMzQgMy43NS0zLjc1Yy43My0uNzMuNzMtMS45MiAwLTIuNjUiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZD0iTTE1LjA4IDYxLjcyIDAgNjMuOThsMi4zLTE1LjA0ek00Mi41MiA3Ljg0Yy0uMDgtLjA4LS4xMy0uMTgtLjE5LS4yOEwzLjU5IDQ2LjM0bDE0LjA5IDE0LjA5LTEuMDcgMS4wN2guMDJMNTYuNSAyMS42em0yMC43NiAzLjQ1TDUyLjcxLjcxYy0uOTctLjk3LTIuNTUtLjk3LTMuNTMgMGwtNC45OSA1Yy4wOS4wNS4xOC4xLjI2LjE3bDEzLjk5IDEzLjc4IDQuODQtNC44NGMuOTctLjk3Ljk3LTIuNTUgMC0zLjUzIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWVkaXQtc29saWQiLz48L2c+PC9zdmc+")}:host([aria-current=step]:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:host([aria-current=step]:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size4)/2)}@media screen and (max-width: 779.98px){:host{flex-grow:1;margin-inline:0;padding:0 !important}:host::before{content:unset}:host::after{inset-inline-start:0 !important}:host(:last-of-type){flex:0 0 32px}:host(:last-of-type)::after{content:unset}.stepper-item-content{margin-inline:0 !important}.label{display:none}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host::before,:host::after{background-color:CanvasText !important}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after,:host(.stepper-item-completed)::before{background-color:Highlight !important}.stepper-item-content::before{forced-color-adjust:none}:host(.stepper-item-current) .stepper-item-content::before{background-color:Canvas;color:CanvasText}:host(.stepper-item-completed) .stepper-item-content::before,:host(.stepper-item-inactive) .stepper-item-content::before{border-color:Canvas;background-color:CanvasText}:host(.stepper-item-inactive) .stepper-item-content::before{color:Canvas}.stepper-item-content::after{color:Canvas}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}'}},[257,"post-stepper-item"]),a=s,n=function(){"undefined"!=typeof customElements&&["post-stepper-item"].forEach((e=>{"post-stepper-item"===e&&(customElements.get(r(e))||customElements.define(r(e),s))}))};export{a as PostStepperItem,n as defineCustomElement}
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as o,transformTag as r}from"@stencil/core/internal/client";import{v as c}from"./package.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return i(o,{key:"0919891d67f961e1ee2c8a7fb556d232ed34ed94","data-version":c,role:"listitem"},i("span",{key:"862705599a537267080fbf054e06353c65888bba",class:"stepper-item-content"},i("span",{key:"96c62cc07fd460402d4e49a36fad70c80eb52f78",class:"step-hidden-label visually-hidden"}),i("span",{key:"6cce8bef3684d50f8dbb72f48b1ca3b0bbcd57ca",class:"label"},i("slot",{key:"9ec06d2716870180309bbfde83a04953e7abb011"}))))}static get style(){return':host{grid-row:1;position:relative;padding-inline-start:0}:host::before,:host::after{content:"";display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - 2px)/2);height:2px;background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);inset-inline:0}:host(:not(:first-of-type)){padding-inline-start:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2)}:host(:not(:last-of-type)){padding-inline-end:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);grid-column:span 2}:host(:not(:first-of-type,:last-of-type))::before{inset-inline-end:50%}:host(:not(:first-of-type,:last-of-type))::after{inset-inline-start:50%}:host(.stepper-item-current:not(:last-of-type))::after,:host(.stepper-item-current:first-of-type)::before,:host(.stepper-item-after-current)::before,:host(.stepper-item-after-current:last-of-type)::after{background-color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after{background-color:var(--post-scheme-color-interactive-primary-selected-bg2);z-index:1}.stepper-item-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;position:relative;z-index:2;overflow:hidden;text-decoration:none;color:var(--post-scheme-color-interactive-primary-disabled-fg1);width:fit-content;word-break:break-word;font-size:var(--post-device-font-size-7)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content{margin-inline:auto;text-align:center}:host(:last-of-type)>.stepper-item-content{margin-inline-start:auto;margin-inline-end:-20px;text-align:end}:host(.stepper-item-completed)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-selected)>.stepper-item-content{font-weight:var(--post-device-font-weight-bold)}:host(.stepper-item-selected)>.stepper-item-content::before{font-weight:var(--post-device-font-weight-regular)}:host(.stepper-item-current)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3)}.stepper-item-content::before{counter-increment:step-index;content:counter(step-index);display:flex;align-items:center;justify-content:center;z-index:1;height:var(--post-device-sizing-interactive-stepper-indicator);width:var(--post-device-sizing-interactive-stepper-indicator);box-sizing:border-box;margin-block-end:var(--post-device-spacing-gap-1);color:var(--post-scheme-color-interactive-primary-disabled-fg3);background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-disabled-stroke3);border-radius:var(--post-device-border-radius-round);text-indent:initial}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::before{margin-inline:auto}:host(:last-of-type)>.stepper-item-content::before{margin-inline-start:auto}:host(.stepper-item-completed)>.stepper-item-content::before{color:rgba(0,0,0,0);background-color:var(--post-scheme-color-interactive-primary-selected-bg2);border-color:var(--post-scheme-color-interactive-primary-selected-stroke3)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3);background-color:var(--post-scheme-color-interactive-primary-enabled-bg2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3)}.stepper-item-content::after{display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2);z-index:1;mask-image:var(--post-icon-checkmark-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size7);height:var(--post-device-sizing-interactive-icon-size7);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3)}:root,:host{--post-icon-checkmark-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hlY2ttYXJrLXNvbGlkIj48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0ibTcuNDkgMTIuOTktMy42NC0zLjljLS40Ny0uNS0uNDQtMS4zLjA2LTEuNzdzMS4yOS0uNDQgMS43Ny4wNmwxLjQ4IDEuNTggMy4wNS00LjYyYy4zOC0uNTggMS4xNi0uNzQgMS43My0uMzUuNTguMzguNzQgMS4xNi4zNSAxLjczeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJtMTEuMTggMTguODgtNS4xNC01LjUxYTEuNSAxLjUgMCAwIDEgLjA3LTIuMTJjLjYtLjU2IDEuNTUtLjUzIDIuMTIuMDdsMi41NCAyLjcyIDQuODQtNy4zM2MuNDYtLjY5IDEuMzktLjg4IDIuMDgtLjQzLjY5LjQ2Ljg4IDEuMzkuNDMgMi4wOGwtNi45NCAxMC41MVoiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTE0Ljg3IDI0LjgxIDguMjMgMTcuN2MtLjY2LS43MS0uNjItMS44MS4wOC0yLjQ3LjcxLS42NiAxLjgxLS42MiAyLjQ3LjA4bDMuNjEgMy44NiA2LjYyLTEwLjA0Yy41My0uODEgMS42Mi0xLjAzIDIuNDItLjUuODEuNTMgMS4wMyAxLjYyLjUgMi40MkwxNC44NiAyNC44WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJtMTguNTYgMzAuNi04LjE0LTguNzFjLS43NS0uODEtLjcxLTIuMDcuMS0yLjgzLjgxLS43NSAyLjA3LS43MSAyLjgzLjFsNC42NyA1IDguNDEtMTIuNzRhMiAyIDAgMCAxIDMuMzQgMi4yeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48cGF0aCBkPSJtMjIuMjYgMzYuNTctOS42My0xMC4zMmMtLjg1LS45MS0uOC0yLjMzLjExLTMuMThzMi4zMy0uOCAzLjE4LjExbDUuNzQgNi4xNCAxMC4yLTE1LjQ1YTIuMjU0IDIuMjU0IDAgMCAxIDMuMTItLjY0YzEuMDQuNjggMS4zMiAyLjA4LjY0IDMuMTJMMjIuMjcgMzYuNTdaIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjxwYXRoIGQ9Ik0yOS42MSA0Ny45MSAxNy4yIDM0LjYyYTIuNDk3IDIuNDk3IDAgMSAxIDMuNjUtMy40MWw4LjA4IDguNjUgMTMuOTUtMjEuMTNhMi40OTkgMi40OTkgMCAwIDEgNC4xNyAyLjc1TDI5LjYgNDcuOTFaIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZWNrbWFyay1zb2xpZCIvPjwvZz48L3N2Zz4=")}:host(:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size7)/2)}:host(:last-of-type)>.stepper-item-content::after{inset-inline-end:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(.stepper-item-completed)>.stepper-item-content::after{content:""}:host([aria-current=step])>.stepper-item-content::after{mask-image:var(--post-icon-edit-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size4);height:var(--post-device-sizing-interactive-icon-size4);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3);inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:root,:host{--post-icon-edit-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktZWRpdC1zb2xpZCI+PHN5bWJvbCBpZD0iczE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxwYXRoIGQ9Im0xLjUgMTAuOTkgOC41LTguNXMuMDMuMDUuMDUuMDdsMy41IDMuNDUtOC41MiA4LjUxem0tLjkyIDEuMi0uNTYgMy44IDMuODEtLjU2LTMuMjQtMy4yNFptMTUuMjUtOS4zN0wxMy4xOS4xOGEuNjMuNjMgMCAwIDAtLjg4IDBsLTEuMjcgMS4yN3MuMDQuMDIuMDYuMDRsMy41IDMuNDUgMS4yMy0xLjIzYy4yNC0uMjQuMjQtLjY0IDAtLjg4WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNS44NCAyMy4xNS4wMiAyNGwuODUtNS44MnptMS40MS0xLjA4TDIwLjQ5IDguODNsLTUuMjUtNS4xN3MtLjA0LS4wNy0uMDctLjFMMS45NSAxNi43OGw1LjMgNS4zWm0xNi41LTE3LjgzTDE5Ljc4LjI3YS45MzYuOTM2IDAgMCAwLTEuMzMgMGwtMi4wOSAyLjA5cy4wNi4wMy4wOS4wNmw1LjI2IDUuMTggMi4wMy0yLjAzYy4zNy0uMzcuMzctLjk2IDAtMS4zM1oiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0ibTguMDcgMzAuNzctOC4wNCAxLjIgMS4yMS04LjA3em0xLjUzLTEuMzEgMTcuODMtMTcuODQtNi45OS02Ljg5cy0uMDYtLjA5LS4wOS0uMTRMMi41NiAyMi4zOGw3LjAzIDcuMDdaTTMxLjY2IDUuNjIgMjYuMzcuMzNjLS40OS0uNDktMS4yOC0uNDktMS43NiAwbC0yLjg5IDIuODlzLjA5LjA0LjEyLjA4bDcuMDEgNi45IDIuODItMi44MmMuNDktLjQ5LjQ5LTEuMjggMC0xLjc2WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJNMi40MSAyOC43OSAyNS41MiA1LjcxYy4wNC4wNi4wNi4xMi4xMS4xN2w4Ljc0IDguNkwxMS4yMyAzNy42em0tMS4wMiAyLjE2TC4wNCA0MC4wMWw5LjA0LTEuMzktNy42OS03LjY4Wk0zOS41OCA3LjA3IDMyLjk3LjQ3Yy0uNjEtLjYxLTEuNi0uNjEtMi4yMSAwbC0zLjcgMy43Yy4wNS4wNC4xMS4wNi4xNS4xbDguNzYgOC42MSAzLjYxLTMuNjFjLjYxLS42MS42MS0xLjYgMC0yLjIiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+PHBhdGggZD0iTTIuODMgMzQuNTggMzEuMyA2LjExYy4wNS4wNy4wOC4xNC4xNC4ybDEwLjQ5IDEwLjMzLTI4LjU1IDI4LjU0em0tMS4xOCAyLjM2TDAgNDhsMTAuOTktMS42NnpNNDcuNDYgOC40NyAzOS41My41NGMtLjczLS43My0xLjkyLS43My0yLjY1IDBsLTMuODcgMy44N2MuMDYuMDQuMTMuMDcuMTkuMTJsMTAuNTEgMTAuMzQgMy43NS0zLjc1Yy43My0uNzMuNzMtMS45MiAwLTIuNjUiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZD0iTTE1LjA4IDYxLjcyIDAgNjMuOThsMi4zLTE1LjA0ek00Mi41MiA3Ljg0Yy0uMDgtLjA4LS4xMy0uMTgtLjE5LS4yOEwzLjU5IDQ2LjM0bDE0LjA5IDE0LjA5LTEuMDcgMS4wN2guMDJMNTYuNSAyMS42em0yMC43NiAzLjQ1TDUyLjcxLjcxYy0uOTctLjk3LTIuNTUtLjk3LTMuNTMgMGwtNC45OSA1Yy4wOS4wNS4xOC4xLjI2LjE3bDEzLjk5IDEzLjc4IDQuODQtNC44NGMuOTctLjk3Ljk3LTIuNTUgMC0zLjUzIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWVkaXQtc29saWQiLz48L2c+PC9zdmc+")}:host([aria-current=step]:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:host([aria-current=step]:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size4)/2)}@media screen and (max-width: 779.98px){:host{flex-grow:1;margin-inline:0;padding:0 !important}:host::before{content:unset}:host::after{inset-inline-start:0 !important}:host(:last-of-type){flex:0 0 32px}:host(:last-of-type)::after{content:unset}.stepper-item-content{margin-inline:0 !important}.label{display:none}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host::before,:host::after{background-color:CanvasText !important}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after,:host(.stepper-item-completed)::before{background-color:Highlight !important}.stepper-item-content::before{forced-color-adjust:none}:host(.stepper-item-current) .stepper-item-content::before{background-color:Canvas;color:CanvasText}:host(.stepper-item-completed) .stepper-item-content::before,:host(.stepper-item-inactive) .stepper-item-content::before{border-color:Canvas;background-color:CanvasText}:host(.stepper-item-inactive) .stepper-item-content::before{color:Canvas}.stepper-item-content::after{color:Canvas}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}'}},[257,"post-stepper-item"]),a=s,n=function(){"undefined"!=typeof customElements&&["post-stepper-item"].forEach((e=>{"post-stepper-item"===e&&(customElements.get(r(e))||customElements.define(r(e),s))}))};export{a as PostStepperItem,n as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as s,transformTag as n}from"@stencil/core/internal/client";import{v as r}from"./package.js";import{
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as s,transformTag as n}from"@stencil/core/internal/client";import"./breakpoints.js";import{v as r}from"./package.js";import{R as d}from"./required.js";import{T as a}from"./type.js";import{P as p}from"./pattern.js";var c=function(e,t,i,s){var n,r=arguments.length,d=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(d=(r<3?n(d):r>3?n(t,i,d):n(t,i))||d);return r>3&&d&&Object.defineProperty(t,i,d),d};const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.currentIndex=-1}validateCurrentIndex(){this.stepItems&&(this.updateSteps(),this.checkIndexes())}validateSelectedIndex(){void 0===this.selectedIndex?this.selectedIndex=this.currentIndex:this.checkIndexes(),this.updateSteps()}updateActiveStepNumber(){this.textStepNumber&&(this.mobileActiveStepLabel=this.textStepNumber.replaceAll("{number}",""+(this.selectedIndex+1)),this.stepItems&&this.updateMobileActiveStepVisibility())}componentDidLoad(){setTimeout((()=>{this.validateCurrentIndex(),this.validateSelectedIndex()}))}checkIndexes(){this.selectedIndex>this.currentIndex&&console.error("The selected-index cannot be higher than the current-index, as only the current and completed steps can be selected.")}updateSteps(){this.stepItems=this.host.querySelectorAll("post-stepper-item"),!this.stepItems||this.stepItems.length<3?console.error("The post-stepper component should have at least three steps."):(this.updateActiveStepNumber(),this.stepItems.forEach(((e,t)=>{this.selectedIndex===t&&(this.mobileActiveStepName=e.innerHTML),e.classList.toggle("stepper-item-completed",this.currentIndex>t),e.classList.toggle("stepper-item-current",this.currentIndex===t),e.classList.toggle("stepper-item-selected",this.selectedIndex===t),e.classList.toggle("stepper-item-inactive",this.currentIndex<t),e.classList.toggle("stepper-item-after-current",t===this.currentIndex+1);const i=e.shadowRoot?.querySelector(".step-hidden-label");if(i){let e="";this.currentIndex>t&&(e=this.textCompletedStep+": "),this.selectedIndex===t&&(e=`${e}${this.textCurrentStep}: `),i.textContent=e}this.selectedIndex===t?(e.setAttribute("aria-current","step"),e.setAttribute("aria-live","polite")):(e.removeAttribute("aria-current"),e.removeAttribute("aria-live"))})),this.updateMobileActiveStepVisibility())}updateMobileActiveStepVisibility(){(this.selectedIndex>=this.stepItems.length||this.selectedIndex<0)&&(this.mobileActiveStepLabel="",this.mobileActiveStepName="")}render(){return i(s,{key:"54ed38463a97b7141fdd5ce7576547cb709b377a","data-version":r},i("ol",{key:"7bed20f941c892da6c00f973bf6cf99780d4cec1"},i("slot",{key:"36cd434ae62f7e6ffa742ddedbea2f2f5a870825",onSlotchange:()=>this.updateSteps()})),i("div",{key:"b523effd246fb447cf5511d973b9cef463e6d316",class:"active-step","aria-hidden":"true"},i("span",{key:"506617bee389d6b6ee2c477e06388ae13d0eef16",class:"active-step-label"},this.mobileActiveStepLabel),i("span",{key:"0aebdb5c031c30bc732a73a6a38544038a9f48ef",innerHTML:this.mobileActiveStepName})))}get host(){return this}static get watchers(){return{currentIndex:[{validateCurrentIndex:0}],selectedIndex:[{validateSelectedIndex:0}],textStepNumber:[{updateActiveStepNumber:0}]}}static get style(){return"ol{margin-block:0;padding-inline-start:0;list-style:none;counter-reset:step-index;display:grid;position:relative;overflow:hidden;grid-template-columns:20px;grid-auto-columns:minmax(0, 1fr);padding-inline-end:20px}@media screen and (max-width: 779.98px){ol{display:flex;padding-inline-end:0}}.active-step{font-size:var(--post-device-font-size-7);font-weight:var(--post-device-font-weight-bold);color:var(--post-scheme-color-interactive-primary-enabled-fg1)}.active-step .active-step-label:has(+span:empty){visibility:hidden}@media screen and (min-width: 780px){.active-step{display:none}}"}},[257,"post-stepper",{textCurrentStep:[513,"text-current-step"],textCompletedStep:[513,"text-completed-step"],textStepNumber:[513,"text-step-number"],currentIndex:[2,"current-index"],selectedIndex:[2,"selected-index"],mobileActiveStepLabel:[32],mobileActiveStepName:[32]},void 0,{currentIndex:[{validateCurrentIndex:0}],selectedIndex:[{validateSelectedIndex:0}],textStepNumber:[{updateActiveStepNumber:0}]}]);c([d(),a("string")],o.prototype,"textCurrentStep",void 0),c([d(),a("string")],o.prototype,"textCompletedStep",void 0),c([d(),p(/\{number\}/)],o.prototype,"textStepNumber",void 0),c([d(),a("number")],o.prototype,"currentIndex",void 0),c([a("number")],o.prototype,"selectedIndex",void 0);const l=o,h=function(){"undefined"!=typeof customElements&&["post-stepper"].forEach((e=>{"post-stepper"===e&&(customElements.get(n(e))||customElements.define(n(e),o))}))};export{l as PostStepper,h as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as e,h as o,Host as i,transformTag as a}from"@stencil/core/internal/client";import{
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,h as o,Host as i,transformTag as a}from"@stencil/core/internal/client";import"./breakpoints.js";import{n as r}from"./nanoid.js";import{v as c}from"./package.js";import{R as n}from"./required.js";import{T as s}from"./type.js";const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.mutationObserver=new MutationObserver(this.checkNavigationMode.bind(this)),this.isNavigationMode=!1}connectedCallback(){this.mutationObserver.observe(this.host,{childList:!0,subtree:!0})}componentWillLoad(){this.tabId="tab-"+(this.host.id||r(6)),this.checkNavigationMode()}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect()}checkNavigationMode(){const t=null!==this.host.querySelector("a");this.isNavigationMode=t}render(){return o(i,{key:"bd2713959afafd5dafa80c5f59e8249ffbb78b09",id:this.tabId,role:this.isNavigationMode?void 0:"tab","data-version":c,"data-navigation-mode":""+this.isNavigationMode,"aria-selected":this.isNavigationMode?void 0:"false",tabindex:this.isNavigationMode?void 0:"-1",class:this.isNavigationMode?"nav-item":"tab-title"},o("slot",{key:"87e22df81eae1ecef48a6ad443b959562d8a816b"}))}get host(){return this}static get style(){return'.tab-title,.nav-item a{display:inline-block;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);opacity:.7;color:#000;text-decoration:none;background-color:rgba(0,0,0,0);cursor:pointer}.tab-title:hover,.nav-item a:hover{opacity:1;background-color:rgba(0,0,0,.6);color:#fff}.tab-title:focus-visible,.nav-item a:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(0,0,0,.6);color:#fff;box-shadow:none}.tab-title:focus-visible::after,.nav-item a:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title:hover,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title:focus-visible,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .nav-item a:hover,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .nav-item a:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title,.nav-item a{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title:hover,.tab-title:focus,.tab-title:focus-within,.tab-title:focus-visible,.nav-item a:hover,.nav-item a:focus,.nav-item a:focus-within,.nav-item a:focus-visible{outline:var(--post-core-dimension-2) solid Highlight;outline-offset:calc(var(--post-core-dimension-4)*-1)}}.nav-item{display:inline-block;position:relative;box-sizing:border-box;cursor:default}.nav-item:focus,.nav-item:focus-visible{outline:none;box-shadow:none}.nav-item:focus::after,.nav-item:focus-visible::after{display:none}.nav-item a{color:inherit;text-decoration:none;display:block;width:100%;height:100%;box-sizing:border-box;position:relative;outline:none;cursor:pointer;border-radius:0}.nav-item a:focus{outline:none}.nav-item a:active{opacity:1;background-color:rgba(0,0,0,.6);color:#fff}.nav-item a:focus-visible{outline:none !important}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .nav-item a:hover{background-color:rgba(255,255,255,.2)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .nav-item a:focus-visible{background-color:rgba(255,255,255,.2)}.tab-title.active,.nav-item.active a{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:#fff;color:#000;font-weight:700}.tab-title.active::before,.nav-item.active a::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:var(--post-core-dimension-4);background-color:#fc0}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title.active,.nav-item.active a{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title.active::before,.nav-item.active a::before{background-color:Highlight}}:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title{background-color:ButtonFace !important}.tab-title:hover{background-color:Highlight !important}}'}},[257,"post-tab-item",{name:[513],tabId:[32],isNavigationMode:[32]}]);!function(t,e,o,i){var a,r=arguments.length,c=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(c=(r<3?a(c):r>3?a(e,o,c):a(e,o))||c);r>3&&c&&Object.defineProperty(e,o,c)}([n(),s("string")],b.prototype,"name",void 0);const l=b,d=function(){"undefined"!=typeof customElements&&["post-tab-item"].forEach((t=>{"post-tab-item"===t&&(customElements.get(a(t))||customElements.define(a(t),b))}))};export{l as PostTabItem,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as e,h as
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,h as o,Host as s,transformTag as n}from"@stencil/core/internal/client";import"./breakpoints.js";import{n as r}from"./nanoid.js";import{v as a}from"./package.js";import{R as c}from"./required.js";import{T as i}from"./type.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){this.panelId="panel-"+(this.host.id||r(6))}render(){return o(s,{key:"a67cc32e99a26cafcdb39968252012d8b67810b1","data-version":a,id:this.panelId,role:"tabpanel",slot:"panels"},o("slot",{key:"2435e43fcecac9a863e4ba2fc215efa7b03c7c18"}))}get host(){return this}static get style(){return":host{display:none}"}},[257,"post-tab-panel",{for:[513],panelId:[32]}]);!function(t,e,o,s){var n,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,s);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(a=(r<3?n(a):r>3?n(e,o,a):n(e,o))||a);r>3&&a&&Object.defineProperty(e,o,a)}([c(),i("string")],l.prototype,"for",void 0);const p=l,f=function(){"undefined"!=typeof customElements&&["post-tab-panel"].forEach((t=>{"post-tab-panel"===t&&(customElements.get(n(t))||customElements.define(n(t),l))}))};export{p as PostTabPanel,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as s,createEvent as i,h as e,Host as a,transformTag as
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as s,createEvent as i,h as e,Host as a,transformTag as o}from"@stencil/core/internal/client";import{f as n}from"./fade.js";import"./breakpoints.js";import{c as h}from"./component-on-ready.js";import{v as r}from"./package.js";import{T as l}from"./type.js";const c=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postChange=i(this,"postChange",7),this.isLoaded=!1,this.isNavigationMode=!1,this.fullWidth=!1}get tabs(){return Array.from(this.host.querySelectorAll("post-tab-item")).filter((t=>t.closest("post-tabs")===this.host))}get panels(){return Array.from(this.host.querySelectorAll("post-tab-panel")).filter((t=>t.closest("post-tabs")===this.host))}validateLabel(){this.isNavigationMode&&!this.label&&console.error(`[${this.host.localName}] Property "label" is required in navigation mode. Received: ${JSON.stringify(this.label)}.`,this.host)}componentWillRender(){this.detectMode()}componentDidLoad(){if(this.moveMisplacedTabs(),this.moveMisplacedPanels(),this.enableTabs(),this.setupContentObserver(),this.validateLabel(),this.isNavigationMode){const t=this.findActiveNavigationTab();t&&this.activateTab(t)}else{const t=this.activeTab||this.tabs[0]?.name;t&&this.show(t)}this.isLoaded=!0}disconnectedCallback(){this.showing&&(this.showing.cancel(),this.showing=null),this.hiding&&(this.hiding.cancel(),this.hiding=null),this.contentObserver&&this.contentObserver.disconnect()}setupContentObserver(){this.contentObserver=new MutationObserver(this.handleContentChange.bind(this)),this.contentObserver.observe(this.host,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-navigation-mode","aria-current"]})}handleContentChange(t){const s=this.shouldRedetectMode(t);this.hasAriaCurrentChanged(t)&&this.isNavigationMode&&this.updateActiveNavigationTab(),s&&this.handleModeChange()}shouldRedetectMode(t){return t.some((t=>"childList"===t.type?t.addedNodes.length>0||t.removedNodes.length>0:"attributes"===t.type&&"data-navigation-mode"===t.attributeName))}hasAriaCurrentChanged(t){return t.some((t=>"attributes"===t.type&&"aria-current"===t.attributeName))}updateActiveNavigationTab(){const t=this.findActiveNavigationTab();t&&t!==this.currentActiveTab&&this.activateTab(t)}handleModeChange(){const t=this.isNavigationMode;this.detectMode(),t!==this.isNavigationMode&&(this.enableTabs(),this.initializeActiveTab())}initializeActiveTab(){if(this.isNavigationMode){const t=this.findActiveNavigationTab();t&&this.activateTab(t)}else{const t=this.activeTab||this.tabs[0]?.name;t&&this.show(t)}}detectMode(){const t=this.tabs.some((t=>null!==t.querySelector("a")||"true"===t.dataset.navigationMode));if(t&&this.panels.length>0)throw Error("PostTabs: Mixed mode detected. Cannot use both navigation mode (anchor elements) and panel mode (post-tab-panel elements) at the same time.");this.isNavigationMode=t}findActiveNavigationTab(){return this.tabs.find((t=>null!==t.querySelector('a[aria-current="page"]')))||null}async show(t){if(t===this.currentActiveTab?.name)return;const s=this.currentActiveTab,i=this.host.querySelector(`post-tab-item[name=${t}]`);this.activateTab(i),this.showing&&(this.showing.finish(),this.showing=null),!s||this.showing||this.hiding||this.hidePanel(s.name),this.hiding&&await this.hiding.finished,this.showSelectedPanel(),this.showing&&await this.showing.finished,this.isLoaded&&this.postChange.emit(this.currentActiveTab.name)}moveMisplacedTabs(){this.tabs&&this.tabs.forEach((t=>{t.getAttribute("slot")&&t.removeAttribute("slot")}))}moveMisplacedPanels(){this.panels&&this.panels.forEach((t=>{"panels"!==t.getAttribute("slot")&&t.setAttribute("slot","panels")}))}enableTabs(){this.tabs&&(this.tabs.forEach((async t=>{if(await h(t),this.isNavigationMode)return;if(t.getAttribute("aria-controls"))return;const s=this.getPanel(t.name);s&&(t.setAttribute("aria-controls",s.id),s.setAttribute("aria-labelledby",t.id)),t.addEventListener("click",(()=>{this.show(t.name)})),t.addEventListener("keydown",(s=>{"Enter"!==s.key&&" "!==s.key||(s.preventDefault(),this.show(t.name))})),t.addEventListener("keydown",(s=>{"ArrowRight"!==s.key&&"ArrowLeft"!==s.key||this.navigateTabs(t,s.key)}))})),this.currentActiveTab&&!this.currentActiveTab.isConnected&&this.show(this.tabs[0]?.name))}activateTab(t){this.currentActiveTab&&(this.currentActiveTab.classList.remove("active"),this.isNavigationMode||(this.currentActiveTab.setAttribute("aria-selected","false"),this.currentActiveTab.setAttribute("tabindex","-1"))),t.classList.add("active"),this.isNavigationMode||(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0")),this.currentActiveTab=t}hidePanel(t){const s=this.getPanel(t);s&&(this.hiding=n(s,"out"),this.hiding.onfinish=()=>{s.style.display="none",this.hiding=null})}showSelectedPanel(){const t=this.getPanel(this.currentActiveTab.name);t&&(t.style.display="block",this.isLoaded&&(this.showing=n(t,"in"),this.showing.onfinish=()=>{this.showing=null}))}getPanel(t){return this.host.querySelector(`post-tab-panel[for=${t}]`)}navigateTabs(t,s){const i=Array.from(this.tabs).indexOf(t);let e;e="ArrowRight"===s?this.tabs[i+1]||this.tabs[0]:this.tabs[i-1]||this.tabs.at(-1),e&&(e.focus(),this.show(e.name))}render(){return e(a,{key:"3b674ed455e34a7efc1c1ffed14ac719a7ecb061","data-version":r},e("div",{key:"749f4695adc7c3125bfb678606249c48a4d7ea31",class:"tabs-wrapper",part:"post-tabs"},e(this.isNavigationMode?"nav":"div",{key:"c06c83dbcbdf9f3fd38f01db7beae181748b369d",class:"tabs",role:this.isNavigationMode?void 0:"tablist","aria-label":this.isNavigationMode?this.label:void 0},e("slot",{key:"b065d0200fb2d4b6a63e23141d3e625a4147a93d",onSlotchange:()=>{this.moveMisplacedTabs(),this.enableTabs()}}))),!this.isNavigationMode&&e("div",{key:"8dc41274f8c9da24b2d65eebf213ea35c41368d0",class:"tab-content",part:"post-tabs-content"},e("slot",{key:"e859256ebcb60fc0457349ca991508406b3bc309",name:"panels",onSlotchange:()=>this.moveMisplacedPanels()})))}get host(){return this}static get watchers(){return{label:[{validateLabel:0}]}}static get style(){return'.tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(0,0,0,.02)}.tabs-wrapper::after{content:"";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}.tabs::after{content:"";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}:host{display:block}:host([full-width=true]) .tabs-wrapper{margin-inline:calc(-1*var(--post-container-offset))}:host([full-width=true]) .tabs-wrapper .tabs{padding-inline:var(--post-container-offset)}'}},[257,"post-tabs",{activeTab:[1,"active-tab"],fullWidth:[516,"full-width"],label:[513],isNavigationMode:[32],show:[64]},void 0,{label:[{validateLabel:0}]}]);!function(t,s,i,e){var a,o=arguments.length,n=o<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,s,i,e);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(n=(o<3?a(n):o>3?a(s,i,n):a(s,i))||n);o>3&&n&&Object.defineProperty(s,i,n)}([l("string")],c.prototype,"label",void 0);const d=c,b=function(){"undefined"!=typeof customElements&&["post-tabs"].forEach((t=>{"post-tabs"===t&&(customElements.get(o(t))||customElements.define(o(t),c))}))};export{d as PostTabs,b as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as e,h as o,Host as s,transformTag as i}from"@stencil/core/internal/client";import{v as r}from"./package.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.toggled=!1,this.handleClick=()=>{this.toggled=!this.toggled},this.handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())}}componentWillLoad(){this.host.addEventListener("click",(()=>this.handleClick()),{capture:!0}),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)),{capture:!0})}render(){return o(s,{key:"
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,h as o,Host as s,transformTag as i}from"@stencil/core/internal/client";import{v as r}from"./package.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.toggled=!1,this.handleClick=()=>{this.toggled=!this.toggled},this.handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())}}componentWillLoad(){this.host.addEventListener("click",(()=>this.handleClick()),{capture:!0}),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)),{capture:!0})}render(){return o(s,{key:"6659870a07cf41d8808660906165797572f6a24d","data-version":r,role:"button",tabindex:"0","aria-pressed":this.toggled.toString()},o("slot",{key:"08e6e5b43eeff5239eb40ec8ee960076058dede1"}))}get host(){return this}static get style(){return":host{cursor:pointer;outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host(:focus-visible){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:focus-visible){outline-color:Highlight !important}}:host([aria-pressed=true]) ::slotted([data-showwhen=untoggled]){display:none}:host([aria-pressed=false]) ::slotted([data-showwhen=toggled]){display:none}"}},[257,"post-togglebutton",{toggled:[1028]}]);function a(){"undefined"!=typeof customElements&&["post-togglebutton"].forEach((t=>{"post-togglebutton"===t&&(customElements.get(i(t))||customElements.define(i(t),n))}))}export{n as P,a as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,Build as s,h as i,Host as o,transformTag as n}from"@stencil/core/internal/client";import"./breakpoints.js";import{v as r}from"./package.js";import{R as h}from"./required.js";import{T as l}from"./type.js";const a=["pointerenter","pointerleave","focusin","focusout","long-press"];let c;const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.delay=0,this.trigger=null,this.delayTimeout=null,this.boundTriggerHandler=this.handleTriggerEvent.bind(this),this.boundTooltipHandler=this.handleTooltipEvent.bind(this)}get tooltip(){if(s.isServer)return null;const t=document.getElementById(this.for);return"post-tooltip"===t?.localName?t:null}componentWillLoad(){s.isBrowser&&(import("./long-press-event.js"),import("./focusable.js").then((function(t){return t.f})).then((t=>{c??(c=t.default)})))}componentDidLoad(){this.setupTrigger(),this.attachListeners(),this.attachTooltipListeners()}disconnectedCallback(){this.removeListeners(),this.removeTooltipListeners(),this.cleanupTrigger(),this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null)}handleSlotChange(){this.cleanupTrigger(),this.setupTrigger()}cleanupTrigger(){if(this.trigger){const t=this.trigger.getAttribute("aria-describedby")||"";if(t.includes(this.for)){const e=t.split(" ").filter((t=>t!==this.for)).join(" ");e?this.trigger.setAttribute("aria-describedby",e):this.trigger.removeAttribute("aria-describedby")}this.trigger=null}}setupTrigger(){if(this.trigger=this.host.querySelector("*"),this.trigger){c?.(this.trigger)||this.trigger.setAttribute("tabindex","0");const t=this.trigger.getAttribute("aria-describedby")||"";t.includes(this.for)||this.trigger.setAttribute("aria-describedby",`${t} ${this.for}`.trim())}else console.warn("No content found in the post-tooltip-trigger slot. Please insert a focusable element or content that can receive focus.")}attachListeners(){a.forEach((t=>{this.host.addEventListener(t,this.boundTriggerHandler)}))}removeListeners(){a.forEach((t=>{this.host.removeEventListener(t,this.boundTriggerHandler)}))}attachTooltipListeners(){this.tooltip&&(this.tooltip.addEventListener("pointerenter",this.boundTooltipHandler),this.tooltip.addEventListener("pointerleave",this.boundTooltipHandler))}removeTooltipListeners(){this.tooltip&&(this.tooltip.removeEventListener("pointerenter",this.boundTooltipHandler),this.tooltip.removeEventListener("pointerleave",this.boundTooltipHandler))}handleTriggerEvent(t){switch(t.type){case"pointerenter":case"focusin":case"long-press":this.handleEnter();break;case"pointerleave":case"focusout":this.handleLeave(t)}}handleTooltipEvent(t){switch(t.type){case"pointerenter":this.handleEnter();break;case"pointerleave":this.handleLeave(t)}}handleEnter(){this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null),this.interestHandler()}handleLeave(t){const e=t.relatedTarget;this.tooltip&&e&&this.tooltip.contains(e)||e===this.trigger||this.interestLostHandler()}interestHandler(){this.trigger&&(this.delay>0?this.delayTimeout=globalThis.setTimeout((()=>{this.tooltip?.show(this.trigger),this.delayTimeout=null}),this.delay):this.tooltip?.show(this.trigger))}interestLostHandler(){this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null),this.tooltip?.hide()}render(){return i(o,{key:"a1f51fabc4417e30a2b3454f9faf239a3a1f8071","data-version":r},i("slot",{key:"0ee1caede699ad7bc0c529f6fd1dd85c63107136",onSlotchange:()=>this.handleSlotChange()}))}get host(){return this}static get style(){return"post-tooltip-trigger{vertical-align:top}:host{cursor:pointer}"}},[257,"post-tooltip-trigger",{for:[513],delay:[2]}]);!function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);n>3&&r&&Object.defineProperty(e,s,r)}([h(),l("string")],p.prototype,"for",void 0);const u=p,f=function(){"undefined"!=typeof customElements&&["post-tooltip-trigger"].forEach((t=>{"post-tooltip-trigger"===t&&(customElements.get(n(t))||customElements.define(n(t),p))}))};export{u as PostTooltipTrigger,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as t,h as e,Host as r,transformTag as s}from"@stencil/core/internal/client";import{d as a,a as i}from"./post-popovercontainer2.js";import"./breakpoints.js";import{v as n}from"./package.js";import{O as p}from"./one-of.js";const c=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.placement="top",this.arrow=!1,this.open=!1}componentDidLoad(){this.host.id||console.error("No id set: <post-tooltip> must have an id, linking it to it's target element with a <post-tooltip-trigger> element.")}async show(o){this.open||await this.popoverRef.show(o)}async hide(){this.popoverRef.hide()}async toggle(o,t){this.popoverRef.toggle(o,t)}handleBeforeToggle(o){this.open=o.detail.willOpen}render(){return e(r,{key:"8186d5446993e1c21c107a496239e56af2493e87","data-version":n},e("post-popovercontainer",{key:"6f916cddf8f3b577b7920b02c001905b782b6ff7",safeSpace:"trapezoid",class:this.arrow?"has-arrow":"",role:"tooltip",arrow:this.arrow,placement:this.placement,onPostBeforeToggle:o=>this.handleBeforeToggle(o),ref:o=>this.popoverRef=o},e("slot",{key:"0443322d0ef00792b14e69fd55abaf42f64c0838"})))}get host(){return this}static get style(){return':host{display:none}:host([open]){display:contents}post-popovercontainer[arrow]::after{position:absolute;content:"";inset:-13px;z-index:-1}post-popovercontainer{--post-current-bg:var(--post-scheme-color-surface-accent-bg);--post-current-fg:var(--post-scheme-color-surface-accent-fg);--post-popovercontainer-arrow-border-width:var(--post-device-border-width-alternative1);--post-popovercontainer-arrow-border-color:var(--post-scheme-color-surface-accent-fg)}post-popovercontainer::part(post-popovercontainer-border-mask){display:block;box-shadow:inset 0 0 0 var(--post-device-spacing-padding-14) var(--post-scheme-color-surface-accent-bg)}post-popovercontainer::part(post-popovercontainer-content){border:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-surface-accent-fg);border-radius:var(--post-device-border-radius-1);padding:var(--post-device-spacing-padding-14) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-9);max-width:var(--post-tooltip-max-width, 280px);width:inherit;word-wrap:break-word;white-space:normal}'}},[257,"post-tooltip",{placement:[1],arrow:[4],open:[1540],show:[64],hide:[64],toggle:[64]}]);!function(o,t,e,r){var s,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(o,t,e,r);else for(var n=o.length-1;n>=0;n--)(s=o[n])&&(i=(a<3?s(i):a>3?s(t,e,i):s(t,e))||i);a>3&&i&&Object.defineProperty(t,e,i)}([p(i)],c.prototype,"placement",void 0);const d=c,l=function(){"undefined"!=typeof customElements&&["post-tooltip","post-popovercontainer"].forEach((o=>{switch(o){case"post-tooltip":customElements.get(s(o))||customElements.define(s(o),c);break;case"post-popovercontainer":customElements.get(s(o))||a()}}))};export{d as PostTooltip,l as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=":where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:hidden}@media (scripting: none){:where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:visible}}post-accordion:not([multiple]):not(:has([collapsed]))>post-accordion-item~post-accordion-item{--post-collapsible-initial-height:0;--post-collapsible-initial-overflow:hidden;--post-accordion-icon-initial-transform:rotate(-180deg)}.form-label:has(+post-number-input){display:block}.form-label:has(+post-number-input.number-input-sm){padding-inline:var(--post-device-spacing-padding-2);padding-block:var(--post-device-spacing-padding-30);font-weight:var(--post-device-font-weight-bold);font-size:var(--post-device-font-size-7)}.form-label:has(+post-number-input.disabled){color:var(--post-scheme-color-interactive-input-disabled-fg)}post-number-input.form-floating>input.form-control{padding:var(--post-device-spacing-padding-block-29) var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-block-3)}post-number-input.form-floating>input.form-control:focus~label,post-number-input.form-floating>input.form-control:not(:placeholder-shown)~label{padding-block-start:var(--post-device-spacing-padding-block-3);padding-inline:var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-10)}post-number-input.form-floating::after{width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1)}post-number-input.form-floating:has(>input.form-control.is-valid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-valid)::after,post-number-input.form-floating:has(>input.form-control.is-invalid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-invalid)::after{top:calc(var(--post-device-sizing-interactive-button-height-6) / 2);right:calc(\n var(--post-device-spacing-padding-inline-1) +\n (var(--post-device-spacing-padding-23)* 2) +\n var(--post-device-sizing-interactive-icon-size6) +\n (var(--post-device-border-width-default) * 2)\n )}post-number-input input[type=number]{appearance:textfield}post-number-input input[type=number]::-webkit-inner-spin-button,post-number-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}post-login-widget>[slot=unauthenticated]{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:flex;padding:.25rem .625rem;gap:.375rem;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}post-login-widget>[slot=unauthenticated]:hover{text-decoration:none}post-login-widget>[slot=unauthenticated]:disabled{border-style:var(--post-core-border-style-dash)}post-login-widget>[slot=unauthenticated]{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-login-widget>[slot=unauthenticated]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=unauthenticated]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-login-widget>[slot=unauthenticated]:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=unauthenticated]:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=unauthenticated]:is(a){color:LinkText;border:unset}post-login-widget>[slot=unauthenticated]:is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}post-login-widget>[slot=unauthenticated]:not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}post-login-widget>[slot=unauthenticated]:not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}post-login-widget>[slot=unauthenticated]:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}post-login-widget>[slot=unauthenticated]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg);color:var(--post-scheme-color-interactive-button-primary-enabled-fg)}post-login-widget>[slot=unauthenticated]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg);color:var(--post-scheme-color-interactive-button-primary-hover-fg)}post-login-widget>[slot=unauthenticated]{width:fit-content}@media screen and (min-width: 0)and (max-width: 599.98px){post-login-widget>[slot=unauthenticated]>:not(post-icon){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}post-login-widget>[slot=unauthenticated]>post-icon{font-size:1.5rem}}post-login-widget>[slot=authenticated]>post-menu-trigger>button{border-radius:var(--post-device-border-radius-round) !important}";var e=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(e||{}),o=(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))(o||{}),n="type",i="value",s="serialized:";function r(t,e,o){const n="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==n;){const n=Object.getOwnPropertyDescriptor(t,e);if(n&&(!o||n.get))return n;t=Object.getPrototypeOf(t)}}var l,a=(t,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[n]])=>{if(31&n||32&n){const n=t[o],i=r(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);i&&Object.defineProperty(t,o,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(o)?t[o]=e.i.get(o):void 0!==n&&(t[o]=n)}}))},c=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},u=(t,e)=>e in t,p=(t,e)=>(0,console.error)(t,e),d=new Map,f="s-id",g="sty-id",b="c-id",h="http://www.w3.org/1999/xlink",v="undefined"!=typeof window?window:{},m=v.HTMLElement||class{},$={l:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,o,n)=>t.addEventListener(e,o,n),rel:(t,e,o,n)=>t.removeEventListener(e,o,n),ce:(t,e)=>new CustomEvent(t,e)},y=(()=>{try{return!!v.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),w=!!y&&(()=>!!v.document&&Object.getOwnPropertyDescriptor(v.document.adoptedStyleSheets,"length").writable)(),k=!1,x=[],j=[],O=(t,e)=>o=>{t.push(o),k||(k=!0,e&&4&$.l?E(N):$.raf(N))},S=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){p(t)}t.length=0},N=()=>{S(x),S(j),(k=x.length>0)&&$.raf(N)},E=t=>Promise.resolve(void 0).then(t),M=O(j,!0),z=t=>{const e=new URL(t,$.u);return e.origin!==v.location.origin?e.href:e.pathname},L=t=>$.u=t;function I(){var e;const o=this.attachShadow({mode:"open"});if(void 0===l&&(l=null!=(e=function(t){if(!y)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(t))?e:null),l)w?o.adoptedStyleSheets.push(l):o.adoptedStyleSheets=[...o.adoptedStyleSheets,l];else if(!y){const e=document.createElement("style");e.innerHTML=t,o.prepend(e)}}var A=t=>{const e=F(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&C(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!_(t,R(t),!1).length)}));let o=0;for(o=0;o<e.length;o++){const t=e[o];1===t.nodeType&&F(t,"childNodes").length&&A(t)}};function C(t,e,o){let n,i=0,s=[];for(;i<t.length;i++){if(n=t[i],n["s-sr"]&&(!e||n["s-hn"]===e)&&(void 0===o||R(n)===o)&&(s.push(n),void 0!==o))return s;s=[...s,...C(n.childNodes,e,o)]}return s}var _=(t,e,o=!0)=>{const n=[];(o&&t["s-sr"]||!t["s-sr"])&&n.push(t);let i=t;for(;i=i.nextSibling;)R(i)!==e||!o&&i["s-sr"]||n.push(i);return n},B=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,H=(t,e,o,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const i=document.createTextNode("");if(i["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,r=F(s,"appendChild");if(void 0!==n){i["s-oo"]=n;const t=F(s,"childNodes"),e=[i];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=>r.call(s,t)))}else r.call(s,i);t["s-ol"]=i,t["s-sh"]=e["s-hn"]},R=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function T(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const o=[],n=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 i=this["s-cr"].parentElement;return(i.__childNodes?i.childNodes:(t=>{const e=[];for(let o=0;o<t.length;o++){const n=t[o]["s-nr"]||void 0;n&&n.isConnected&&e.push(n)}return e})(i.childNodes)).forEach((t=>{n===R(t)&&o.push(t)})),e?o.filter((t=>1===t.nodeType)):o}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function F(t,e){if("__"+e in t){const o=t["__"+e];return"function"!=typeof o?o:o.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var D=new WeakMap,U=(t,e,o)=>{let n=d.get(t);y&&o?(n=n||new CSSStyleSheet,"string"==typeof n?n=e:n.replaceSync(e)):n=e,d.set(t,n)},V=(t,e)=>{var o,n,i;const s=P(e),r=d.get(s);if(!v.document)return s;if(t=11===t.nodeType?t:v.document,r)if("string"==typeof r){let i,l=D.get(t=t.head||t);l||D.set(t,l=new Set);const a=t.querySelector(`[${g}="${s}"]`);if(a)a.textContent=r;else if(!l.has(s)){i=v.document.createElement("style"),i.textContent=r;const a=null!=(o=$.p)?o:function(){var t,e,o;return null!=(o=null==(e=null==(t=v.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}();if(null!=a&&i.setAttribute("nonce",a),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),o=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(y){const e=new(null!=(n=t.defaultView)?n:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(r),w?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=r+e.textContent:t.prepend(i)}else t.append(i);1&e.l&&t.insertBefore(i,null),4&e.l&&(i.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(s)}}else{let e=D.get(t);if(e||D.set(t,e=new Set),!e.has(s)){const o=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let n;if(r.constructor===o.CSSStyleSheet)n=r;else{n=new o.CSSStyleSheet;for(let t=0;t<r.cssRules.length;t++)n.insertRule(r.cssRules[t].cssText,t)}if(w?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[...t.adoptedStyleSheets,n],e.add(s),"host"in t){const e=t.querySelector(`[${g}="${s}"]`);e&&M((()=>e.remove()))}}}return s},P=t=>"sc-"+t.h,W=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),q=t=>"object"==(t=typeof t)||"function"===t,Y=(t,e,...o)=>{let n=null,i=null,s=null,r=!1,l=!1;const a=[],c=e=>{for(let o=0;o<e.length;o++)n=e[o],Array.isArray(n)?c(n):null!=n&&"boolean"!=typeof n&&((r="function"!=typeof t&&!q(n))&&(n+=""),r&&l?a[a.length-1].v+=n:a.push(r?J(null,n):n),l=r)};if(c(o),e){e.key&&(i=e.key),e.name&&(s=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,a,G);const u=J(t,null);return u.m=e,a.length>0&&(u.$=a),u.k=i,u.j=s,u},J=(t,e)=>({l:0,O:t,v:null!=e?e:null,S:null,$:null,m:null,k:null,j:null}),Z={},G={forEach:(t,e)=>t.map(K).forEach(e),map:(t,e)=>t.map(K).map(e).map(Q)},K=t=>({vattrs:t.m,vchildren:t.$,vkey:t.k,vname:t.j,vtag:t.O,vtext:t.v}),Q=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Y(t.vtag,e,...t.vchildren||[])}const e=J(t.vtag,t.vtext);return e.m=t.vattrs,e.$=t.vchildren,e.k=t.vkey,e.j=t.vname,e},X=(t,e,o,n,i,s,r,l=[])=>{let a,c,u,p;if(1===s.nodeType){if(a=s.getAttribute(b),a&&(c=a.split("."),c[0]===r||"0"===c[0])){u=et({l:0,N:c[0],M:c[1],L:c[2],I:c[3],O:s.tagName.toLowerCase(),S:s,m:{class:s.className||""}}),e.push(u),s.removeAttribute(b),t.$||(t.$=[]);const i=u.S.getAttribute("s-sn");"string"==typeof i&&("slot-fb"===u.O&&ot(i,c[2],u,s,t,e,o,n,l),u.S["s-sn"]=i,u.S.removeAttribute("s-sn")),void 0!==u.I&&(t.$[u.I]=u),t=u,n&&"0"===u.L&&(n[u.I]=u.S)}if(s.shadowRoot)for(p=s.shadowRoot.childNodes.length-1;p>=0;p--)X(t,e,o,n,i,s.shadowRoot.childNodes[p],r,l);const d=s.__childNodes||s.childNodes;for(p=d.length-1;p>=0;p--)X(t,e,o,n,i,d[p],r,l)}else if(8===s.nodeType)c=s.nodeValue.split("."),(c[1]===r||"0"===c[1])&&(a=c[0],u=et({N:c[1],M:c[2],L:c[3],I:c[4]||"0",S:s,m:null,$:null,k:null,j:null,O:null,v:null}),"t"===a?(u.S=rt(s,3),u.S&&3===u.S.nodeType&&(u.v=u.S.textContent,e.push(u),s.remove(),r===u.N&&(t.$||(t.$=[]),t.$[u.I]=u),n&&"0"===u.L&&(n[u.I]=u.S))):"c"===a?(u.S=rt(s,8),u.S&&8===u.S.nodeType&&(e.push(u),s.remove())):u.N===r&&("s"===a?ot(s["s-sn"]=c[5]||"",c[2],u,s,t,e,o,n,l):"r"===a&&(n?s.remove():(i["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.O){const e=J(null,s.textContent);e.S=s,e.I="0",t.$=[e]}return t},tt=(t,e)=>{if(1===t.nodeType){const o=t[f]||t.getAttribute(f);o&&e.set(o,t);let n=0;if(t.shadowRoot)for(;n<t.shadowRoot.childNodes.length;n++)tt(t.shadowRoot.childNodes[n],e);const i=t.__childNodes||t.childNodes;for(n=0;n<i.length;n++)tt(i[n],e)}else if(8===t.nodeType){const o=t.nodeValue.split(".");"o"===o[0]&&(e.set(o[1]+"."+o[2],t),t.nodeValue="",t["s-en"]=o[3])}},et=t=>({l:0,N:null,M:null,L:null,I:"0",S:null,m:null,$:null,k:null,j:null,O:null,v:null,...t});function ot(t,e,o,n,i,s,r,l,a){n["s-sr"]=!0,o.j=t||null,o.O="slot";const c=(null==i?void 0:i.S)?i.S["s-id"]||i.S.getAttribute("s-id"):"";if(l&&v.document){const s=o.S=v.document.createElement(o.O);o.j&&o.S.setAttribute("name",t),i.S.shadowRoot&&c&&c!==o.N?F(i.S,"insertBefore")(s,F(i.S,"children")[0]):F(F(n,"parentNode"),"insertBefore")(s,n),st(a,e,t,n,o.N),n.remove(),"0"===o.L&&(l[o.I]=o.S)}else{const s=o.S,r=c&&c!==o.N&&i.S.shadowRoot;st(a,e,t,n,r?c:o.N),T(n),r&&i.S.insertBefore(s,i.S.children[0])}s.push(o),r.push(o),i.$||(i.$=[]),i.$[o.I]=o}var nt,it,st=(t,e,o,n,i)=>{var s,r;let l=n.nextSibling;if(t[e]=t[e]||[],l&&!(null==(s=l.nodeValue)?void 0:s.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==o&&(""!==o||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=o,t[e].push({slot:n,node:l,hostId:i})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))},rt=(t,e)=>{let o=t;do{o=o.nextSibling}while(o&&(o.nodeType!==e||!o.nodeValue));return o},lt=class t{static fromLocalValue(e){const o=e[n],s=i in e?e[i]:void 0;switch(o){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[o,n]of s){const i="object"==typeof o&&null!==o?t.fromLocalValue(o):o,s=t.fromLocalValue(n);e.set(i,s)}return e;case"object":const n={};for(const[e,o]of s)n[e]=t.fromLocalValue(o);return n;case"regexp":const{pattern:i,flags:r}=s;return RegExp(i,r);case"set":const l=new Set;for(const e of s)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+o)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(n))return!1;const s=t[n];return!!Object.values({...e,...o}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(i))}},at=(t,e)=>"string"==typeof t&&t.startsWith(s)?t=function(t){return"string"==typeof t&&t.startsWith(s)?lt.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||q(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,ct=(t,e)=>{const o=t;return{emit:t=>ut(o,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ut=(t,e,o)=>{const n=$.ce(e,o);return t.dispatchEvent(n),n},pt=(t,e,o,n,i,s,r)=>{if(o===n)return;let l=u(t,e),a=e.toLowerCase();if("class"===e){const e=t.classList,i=ft(o);let s=ft(n);if((t["s-si"]||t["s-sc"])&&r){const o=t["s-sc"]||t["s-si"];s.push(o),i.forEach((t=>{t.startsWith(o)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),e.add(...s)}else e.remove(...i.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!i.includes(t))))}else if("style"===e){for(const e in o)n&&null!=n[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in n)o&&n[e]===o[e]||(e.includes("-")?t.style.setProperty(e,n[e]):t.style[e]=n[e])}else if("key"===e);else if("ref"===e)n&&_t(n,t);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let i;{const e=c(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(i=t[1])}}return i||(i=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==n||!1===n?!1===n&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===n?"":n))}if("p"===e[0]&&e.startsWith("prop:")){const o=e.slice(5);try{t[o]=n}catch(t){}return}{const r=q(n);if((l||r&&null!==n)&&!i)try{if(t.tagName.includes("-"))t[e]!==n&&(t[e]=n);else{const i=null==n?"":n;"list"===e?l=!1:null!=o&&t[e]===i||("function"==typeof t.__lookupSetter__(e)?t[e]=i:t.setAttribute(e,i))}}catch(t){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(e=a,c=!0),null==n||!1===n?!1===n&&""!==t.getAttribute(e)||(c?t.removeAttributeNS(h,e):t.removeAttribute(e)):(!l||4&s||i)&&!r&&1===t.nodeType&&(n=!0===n?"":n,c?t.setAttributeNS(h,e,n):t.setAttribute(e,n))}}else if(e="-"===e[2]?e.slice(3):u(v,a)?a.slice(2):a[2]+e.slice(3),o||n){const i=e.endsWith(gt);e=e.replace(bt,""),o&&$.rel(t,e,o,i),n&&$.ael(t,e,n,i)}},dt=/\s/,ft=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(dt):[]),gt="Capture",bt=RegExp(gt+"$"),ht=(t,e,o,n)=>{const i=11===e.S.nodeType&&e.S.host?e.S.host:e.S,s=t&&t.m||{},r=e.m||{};for(const t of vt(Object.keys(s)))t in r||pt(i,t,s[t],void 0,o,e.l,n);for(const t of vt(Object.keys(r)))pt(i,t,s[t],r[t],o,e.l,n)};function vt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var mt=!1,$t=!1,yt=!1,wt=!1,kt=[],xt=[],jt=(t,e,o)=>{var n;const i=e.$[o];let s,r,l,a=0;if(mt||(yt=!0,"slot"===i.O&&(i.l|=i.$?2:1)),null!=i.v)s=i.S=v.document.createTextNode(i.v);else if(1&i.l)s=i.S=v.document.createTextNode(""),ht(null,i,wt);else{if(wt||(wt="svg"===i.O),!v.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=i.S=v.document.createElementNS(wt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!mt&&2&i.l?"slot-fb":i.O),wt&&"foreignObject"===i.O&&(wt=!1),ht(null,i,wt),i.$){const e="template"===i.O?s.content:s;for(a=0;a<i.$.length;++a)r=jt(t,i,a),r&&e.appendChild(r)}"svg"===i.O?wt=!1:"foreignObject"===s.tagName&&(wt=!0)}return s["s-hn"]=it,3&i.l&&(s["s-sr"]=!0,s["s-cr"]=nt,s["s-sn"]=i.j||"",s["s-rf"]=null==(n=i.m)?void 0:n.ref,T(s),l=t&&t.$&&t.$[o],l&&l.O===i.O&&t.S&&Ot(t.S)),s},Ot=t=>{$.l|=1;const e=t.closest(it.toLowerCase());if(null!=e){const o=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),n=Array.from(t.__childNodes||t.childNodes);for(const t of o?n.reverse():n)null!=t["s-sh"]&&(Bt(e,t,null!=o?o:null),t["s-sh"]=void 0,yt=!0)}$.l&=-2},St=(t,e)=>{$.l|=1;const o=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"]===it&&o.push(e)}for(let t=o.length-1;t>=0;t--){const n=o[t];n["s-hn"]!==it&&n["s-ol"]&&(Bt(zt(n).parentNode,n,zt(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,yt=!0),e&&St(n,e)}$.l&=-2},Nt=(t,e,o,n,i,s)=>{let r,l=t["s-cr"]&&t["s-cr"].parentNode||t;for(l.shadowRoot&&l.tagName===it&&(l=l.shadowRoot),"template"===o.O&&(l=l.content);i<=s;++i)n[i]&&(r=jt(null,o,i),r&&(n[i].S=r,Bt(l,r,zt(e))))},Et=(t,e,o)=>{for(let n=e;n<=o;++n){const e=t[n];if(e){const t=e.S;Ct(e),t&&($t=!0,t["s-ol"]?t["s-ol"].remove():St(t,!0),t.remove())}}},Mt=(t,e,o=!1)=>t.O===e.O&&("slot"===t.O?t.j===e.j:o?(o&&!t.k&&e.k&&(t.k=e.k),!0):t.k===e.k),zt=t=>t&&t["s-ol"]||t,Lt=(t,e,o=!1)=>{const n=e.S=t.S,i=t.$,s=e.$,r=e.O,l=e.v;let a;null==l?(wt="svg"===r||"foreignObject"!==r&&wt,"slot"!==r||mt||t.j!==e.j&&(e.S["s-sn"]=e.j||"",Ot(e.S.parentElement)),ht(t,e,wt,o),null!==i&&null!==s?((t,e,o,n,i=!1)=>{let s,r,l=0,a=0,c=0,u=0,p=e.length-1,d=e[0],f=e[p],g=n.length-1,b=n[0],h=n[g];const v="template"===o.O?t.content:t;for(;l<=p&&a<=g;)if(null==d)d=e[++l];else if(null==f)f=e[--p];else if(null==b)b=n[++a];else if(null==h)h=n[--g];else if(Mt(d,b,i))Lt(d,b,i),d=e[++l],b=n[++a];else if(Mt(f,h,i))Lt(f,h,i),f=e[--p],h=n[--g];else if(Mt(d,h,i))"slot"!==d.O&&"slot"!==h.O||St(d.S.parentNode,!1),Lt(d,h,i),Bt(v,d.S,f.S.nextSibling),d=e[++l],h=n[--g];else if(Mt(f,b,i))"slot"!==d.O&&"slot"!==h.O||St(f.S.parentNode,!1),Lt(f,b,i),Bt(v,f.S,d.S),f=e[--p],b=n[++a];else{for(c=-1,u=l;u<=p;++u)if(e[u]&&null!==e[u].k&&e[u].k===b.k){c=u;break}c>=0?(r=e[c],r.O!==b.O?s=jt(e&&e[a],o,c):(Lt(r,b,i),e[c]=void 0,s=r.S),b=n[++a]):(s=jt(e&&e[a],o,a),b=n[++a]),s&&Bt(zt(d.S).parentNode,s,zt(d.S))}l>p?Nt(t,null==n[g+1]?null:n[g+1].S,o,n,a,g):a>g&&Et(e,l,p)})(n,i,e,s,o):null!==s?(null!==t.v&&(n.textContent=""),Nt(n,null,e,s,0,s.length-1)):o||null===i?o&&null!==i&&null===s&&(e.$=i):Et(i,0,i.length-1),wt&&"svg"===r&&(wt=!1)):(a=n["s-cr"])?a.parentNode.textContent=l:t.v!==l&&(n.data=l)},It=[],At=t=>{let e,o,n;const i=t.__childNodes||t.childNodes;for(const t of i){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){o=e.parentNode.__childNodes||e.parentNode.childNodes;const i=t["s-sn"];for(n=o.length-1;n>=0;n--)if(e=o[n],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(B(e,i)){let o=It.find((t=>t.A===e));$t=!0,e["s-sn"]=e["s-sn"]||i,o?(o.A["s-sh"]=t["s-hn"],o.C=t):(e["s-sh"]=t["s-hn"],It.push({C:t,A:e})),e["s-sr"]&&It.map((t=>{B(t.A,e["s-sn"])&&(o=It.find((t=>t.A===e)),o&&!t.C&&(t.C=o.C))}))}else It.some((t=>t.A===e))||It.push({A:e})}1===t.nodeType&&At(t)}},Ct=t=>{t.m&&t.m.ref&&kt.push((()=>t.m.ref(null))),t.$&&t.$.map(Ct)},_t=(t,e)=>{xt.push((()=>t(e)))},Bt=(t,e,o,n)=>{if("string"==typeof e["s-sn"]){t.insertBefore(e,o);const{slotNode:i}=function(t,e){var o;if(!(e=e||(null==(o=t["s-ol"])?void 0:o.parentElement)))return{slotNode:null,slotName:""};const n=t["s-sn"]=R(t)||"";return{slotNode:C(F(e,"childNodes"),e.tagName,n)[0],slotName:n}}(e);return i&&!n&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(i),e}return t.__insertBefore?t.__insertBefore(e,o):null==t?void 0:t.insertBefore(e,o)},Ht=(t,e,o=!1)=>{var n,i,s,r,l;const a=t.$hostElement$,c=t.o,u=t._||J(null,null),p=(t=>t&&t.O===Z)(e)?e:Y(null,null,e);if(it=a.tagName,c.B&&(p.m=p.m||{},c.B.forEach((([t,e])=>{p.m[e]=a[t]}))),o&&p.m)for(const t of Object.keys(p.m))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.m[t]=a[t]);if(p.O=null,p.l|=4,t._=p,p.S=u.S=a.shadowRoot||a,mt=!(!(1&c.l)||128&c.l),nt=a["s-cr"],$t=!1,Lt(u,p,o),$.l|=1,yt){At(p.S);for(const t of It){const e=t.A;if(!e["s-ol"]&&v.document){const t=v.document.createTextNode("");t["s-nr"]=e,Bt(e.parentNode,e["s-ol"]=t,e,o)}}for(const t of It){const e=t.A,l=t.C;if(1===e.nodeType&&o&&(e["s-ih"]=null!=(n=e.hidden)&&n),l){const t=l.parentNode;let n=l.nextSibling;if(n&&1===n.nodeType){let o=null==(i=e["s-ol"])?void 0:i.previousSibling;for(;o;){let i=null!=(s=o["s-nr"])?s:null;if(i&&i["s-sn"]===e["s-sn"]&&t===(i.__parentNode||i.parentNode)){for(i=i.nextSibling;i===e||(null==i?void 0:i["s-sr"]);)i=null==i?void 0:i.nextSibling;if(!i||!i["s-nr"]){n=i;break}}o=o.previousSibling}}if((!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n){if(Bt(t,e,n,o),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=v.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,Bt(e.parentNode,t,e,o),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(r=e["s-ih"])&&r)}e&&"function"==typeof l["s-rf"]&&l["s-rf"](l)}else 1===e.nodeType&&(e.hidden=!0)}}if($t&&A(p.S),$.l&=-2,It.length=0,!mt&&!(1&c.l)&&a["s-cr"]){const t=p.S.__childNodes||p.S.childNodes;for(const e of t)if(e["s-hn"]!==it&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(l=e.hidden)&&l),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=v.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],Bt(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}nt=void 0,kt.forEach((t=>t())),kt.length=0,xt.forEach((t=>t())),xt.length=0},Rt=(t,e)=>{if(e&&!t.H&&e["s-p"]){const o=e["s-p"].push(new Promise((n=>t.H=()=>{e["s-p"].splice(o-1,1),n()})))}},Tt=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Rt(t,t.R);const o=()=>Ft(t,e);if(!e)return M(o);queueMicrotask((()=>{o()}))},Ft=(t,e)=>{const o=t.$hostElement$,n=o;if(!n)throw Error(`Can't render component <${o.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 i;return i=Yt(n,e?"componentWillLoad":"componentWillUpdate",void 0,o),i=Dt(i,(()=>Yt(n,"componentWillRender",void 0,o))),Dt(i,(()=>Vt(t,n,e)))},Dt=(t,e)=>Ut(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Ut=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Vt=async(t,e,o)=>{var n;const i=t.$hostElement$,s=i["s-rc"];o&&(t=>{const e=t.o,o=t.$hostElement$,n=e.l,i=V(o.shadowRoot?o.shadowRoot:o.getRootNode(),e);10&n&&(o["s-sc"]=i,o.classList.add(i+"-h"))})(t);Pt(t,e,i,o),s&&(s.map((t=>t())),i["s-rc"]=void 0);{const e=null!=(n=i["s-p"])?n:[],o=()=>Wt(t);0===e.length?o():(Promise.all(e).then(o).catch(o),t.l|=4,e.length=0)}},Pt=(t,e,o,n)=>{try{e=e.render&&e.render(),t.l&=-17,t.l|=2,Ht(t,e,n)}catch(e){p(e,t.$hostElement$)}return null},Wt=t=>{const e=t.$hostElement$,o=e,n=t.R;Yt(o,"componentDidRender",void 0,e),64&t.l?Yt(o,"componentDidUpdate",void 0,e):(t.l|=64,Jt(e),Yt(o,"componentDidLoad",void 0,e),t.T(e),n||qt()),t.H&&(t.H(),t.H=void 0),512&t.l&&E((()=>Tt(t,!1))),t.l&=-517},qt=()=>{var t;E((()=>ut(v,"appload",{detail:{namespace:"post-components"}}))),(null==(t=$.F)?void 0:t.size)&&$.F.clear()},Yt=(t,e,o,n)=>{if(t&&t[e])try{return t[e](o)}catch(t){p(t,n)}},Jt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Zt=(t,e,o,n)=>{const i=c(t);if(!i)return;const s=t,r=i.i.get(e),l=i.l,a=s;if(!((o=at(o,n.t[e][0]))===r||Number.isNaN(r)&&Number.isNaN(o))){if(i.i.set(e,o),n.D){const t=n.D[e];t&&t.map((t=>{try{const[[n,s]]=Object.entries(t);(128&l||1&s)&&(a?a[n](o,r,e):i.U.push((()=>{i.V[n](o,r,e)})))}catch(t){p(t,s)}}))}if(2&l){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,r,e)&&!(16&l))return;16&l||Tt(i,!1)}}},Gt=(t,e)=>{var o,n;const i=t.prototype;{t.watchers&&!e.D&&(e.D=t.watchers),t.deserializers&&!e.P&&(e.P=t.deserializers),t.serializers&&!e.W&&(e.W=t.serializers);const s=Object.entries(null!=(o=e.t)?o:{});s.map((([t,[o]])=>{if(31&o||32&o){const{get:n,set:s}=r(i,t)||{};n&&(e.t[t][0]|=2048),s&&(e.t[t][0]|=4096),Object.defineProperty(i,t,{get(){return n?n.apply(this):((t,e)=>c(this).i.get(e))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(n){const i=c(this);if(i){if(s)return void 0===(32&o?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(n=i.i.get(t)),s.call(this,at(n,o)),void Zt(this,t,n=32&o?this[t]:i.$hostElement$[t],e);Zt(this,t,n,e)}}})}}));{const o=new Map;i.attributeChangedCallback=function(t,n,r){$.jmp((()=>{var l;const a=o.get(t),u=c(this);if(this.hasOwnProperty(a),i.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.l;if(u&&o&&!(8&o)&&r!==n){const i=this,s=null==(l=e.D)?void 0:l[t];null==s||s.forEach((e=>{const[[s,l]]=Object.entries(e);null!=i[s]&&(128&o||1&l)&&i[s].call(i,r,n,t)}))}return}const p=s.find((([t])=>t===a));p&&4&p[1][0]&&(r=null!==r&&"false"!==r);const d=Object.getOwnPropertyDescriptor(i,a);r==this[a]||d.get&&!d.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=e.D)?n:{}),...s.filter((([t,e])=>31&e[0])).map((([t,n])=>{var i;const s=n[1]||t;return o.set(s,t),512&n[0]&&(null==(i=e.B)||i.push([t,s])),s}))]))}}return t},Kt=t=>{if(!v.document)return;const e=t["s-cr"]=v.document.createComment("");e["s-cn"]=!0,Bt(t,e,t.firstChild)},Qt=(t,e)=>{const o={l:e[0],h:e[1]};try{o.t=e[2],o.q=e[3],o.D=t.D,o.P=t.P,o.W=t.W,o.B=[],(()=>{if(!v.document)return;const t=v.document.querySelectorAll(`[${g}]`);let e=0;for(;e<t.length;e++)U(t[e].getAttribute(g),W(t[e].innerHTML),!0)})();const n=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const o={l:0,$hostElement$:t,o:e,i:new Map,Y:new Map};o.J=new Promise((t=>o.T=t)),t["s-p"]=[],t["s-rc"]=[];const n=o;t.__stencil__getHostRef=()=>n,512&e.l&&a(t,o)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=c(this);if(!t)return;Xt(this,t,o.q),this.__hasHostListenerAttached=!0}(t=>{if(!(1&$.l)){const e=c(t);if(!e)return;const o=e.o,n=()=>{};if(1&e.l)Xt(t,e,o.q),(null==e?void 0:e.V)||(null==e?void 0:e.J)&&e.J.then((()=>{}));else{let n;if(e.l|=1,n=t.getAttribute(f),n){if(1&o.l){const e=V(t.shadowRoot,o);t.classList.remove(e+"-h",e+"-s")}((t,e,o,n)=>{var i,s,r,l;const a=t.shadowRoot,u=[],p=[],d=a?[]:null,g=J(e,null);g.S=t,!v.document||$.F&&$.F.size||tt(v.document.body,$.F=new Map),t[f]=o,t.removeAttribute(f),n._=X(g,u,[],d,t,t,o,p);let b=0;const h=u.length;let m;for(;b<h;b++){m=u[b];const o=m.N+"."+m.M,n=$.F.get(o),s=m.S;if(a){if((null==(i=m.O)?void 0:(""+i).includes("-"))&&"slot-fb"!==m.O&&!m.S.shadowRoot){const t=c(m.S);if(t){const e=P(t.o),o=v.document.querySelector(`style[sty-id="${e}"]`);o&&d.unshift(o.cloneNode(!0))}}}else s["s-hn"]=e.toUpperCase(),"slot"===m.O&&(s["s-cr"]=t["s-cr"]);"slot"===m.O&&(m.j=m.S["s-sn"]||m.S.name||null,m.$?(m.l|=2,m.S.childNodes.length||m.$.forEach((t=>{m.S.appendChild(t.S)}))):m.l|=1),n&&n.isConnected&&(n.parentElement.shadowRoot&&""===n["s-en"]&&n.parentNode.insertBefore(s,n.nextSibling),n.parentNode.removeChild(n),a||(s["s-oo"]=parseInt(m.M))),n&&!n["s-id"]&&$.F.delete(o)}const y=[],w=p.length;let k,x,j,O,S=0,N=0;for(;S<w;S++)if(k=p[S],k&&k.length)for(j=k.length,x=0;x<j;x++){if(O=k[x],y[O.hostId]||(y[O.hostId]=$.F.get(O.hostId)),!y[O.hostId])continue;const t=y[O.hostId];t.shadowRoot&&O.node.parentElement!==t&&t.insertBefore(O.node,null==(r=null==(s=k[x-1])?void 0:s.node)?void 0:r.nextSibling),t.shadowRoot&&a||(O.slot["s-cr"]||(O.slot["s-cr"]=t["s-cr"],O.slot["s-cr"]=!O.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),H(O.node,O.slot,0,O.node["s-oo"]||N),(null==(l=O.node.parentElement)?void 0:l.shadowRoot)&&O.node.getAttribute&&O.node.getAttribute("slot")&&O.node.removeAttribute("slot")),N=(O.node["s-oo"]||N)+1}if(a&&!a.childNodes.length){let e=0;const o=d.length;if(o){for(;e<o;e++){const t=d[e];t&&a.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))}))}}n.$hostElement$=t})(t,o.h,n,e)}n||12&o.l&&Kt(t);{let o=t;for(;o=o.parentNode||o.host;)if(1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){Rt(e,e.R=o);break}}o.t&&Object.entries(o.t).map((([e,[o]])=>{if(31&o&&Object.prototype.hasOwnProperty.call(t,e)){const o=t[e];delete t[e],t[e]=o}})),(async(t,e,o)=>{let n;try{if(!(32&e.l)&&(e.l|=32,n=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),n&&n.style)){let t;"string"==typeof n.style&&(t=n.style);const e=P(o);if(!d.has(e)){const n=()=>{};U(e,t,!!(1&o.l)),n()}}const i=e.R,s=()=>Tt(e,!0);i&&i["s-rc"]?i["s-rc"].push(s):s()}catch(o){p(o,t),e.H&&(e.H(),e.H=void 0),e.T&&e.T(t)}})(t,e,o)}n()}})(this),n&&n.call(this)},disconnectedCallback(){(async t=>{if(!(1&$.l)){const e=c(t);(null==e?void 0:e.Z)&&(e.Z.map((t=>t())),e.Z=void 0)}D.has(t)&&D.delete(t),t.shadowRoot&&D.has(t.shadowRoot)&&D.delete(t.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.h}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else I.call(this,o)}}),Object.defineProperty(t,"is",{value:o.h,configurable:!0}),Gt(t,o)}catch(e){return p(e),t}},Xt=(t,e,o)=>{o&&v.document&&o.map((([o,n,i])=>{const s=ee(v.document,t,o),r=te(e,i),l=oe(o);$.ael(s,n,r,l),(e.Z=e.Z||[]).push((()=>$.rel(s,n,r,l)))}))},te=(t,e)=>o=>{try{t.$hostElement$[e](o)}catch(e){p(e,t.$hostElement$)}},ee=(t,e,o)=>4&o?t:8&o?v:e,oe=t=>({passive:!!(1&t),capture:!!(2&t)}),ne=t=>$.p=t,ie=t=>Object.assign($,t);function se(t,e){Ht({o:{l:0,h:e.tagName},$hostElement$:e},t)}function re(t){return t}export{m as H,Z as a,ct as c,z as getAssetPath,Y as h,Qt as p,se as render,L as setAssetPath,ne as setNonce,ie as setPlatformOptions,re as t}
|
|
1
|
+
const t=":where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:hidden}@media (scripting: none){:where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:visible}}post-accordion:not([multiple]):not(:has([collapsed]))>post-accordion-item~post-accordion-item{--post-collapsible-initial-height:0;--post-collapsible-initial-overflow:hidden;--post-accordion-icon-initial-transform:rotate(-180deg)}.form-label:has(+post-number-input){display:block}.form-label:has(+post-number-input.number-input-sm){padding-inline:var(--post-device-spacing-padding-2);padding-block:var(--post-device-spacing-padding-30);font-weight:var(--post-device-font-weight-bold);font-size:var(--post-device-font-size-7)}.form-label:has(+post-number-input.disabled){color:var(--post-scheme-color-interactive-input-disabled-fg)}post-number-input.form-floating>input.form-control{padding:var(--post-device-spacing-padding-block-29) var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-block-3)}post-number-input.form-floating>input.form-control:focus~label,post-number-input.form-floating>input.form-control:not(:placeholder-shown)~label{padding-block-start:var(--post-device-spacing-padding-block-3);padding-inline:var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-10)}post-number-input.form-floating::after{width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1)}post-number-input.form-floating:has(>input.form-control.is-valid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-valid)::after,post-number-input.form-floating:has(>input.form-control.is-invalid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-invalid)::after{top:calc(var(--post-device-sizing-interactive-button-height-6) / 2);right:calc(\n var(--post-device-spacing-padding-inline-1) +\n (var(--post-device-spacing-padding-23)* 2) +\n var(--post-device-sizing-interactive-icon-size6) +\n (var(--post-device-border-width-default) * 2)\n )}post-number-input input[type=number]{appearance:textfield}post-number-input input[type=number]::-webkit-inner-spin-button,post-number-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}post-login-widget>[slot=login-link]{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:flex;padding:.25rem .625rem;gap:.375rem;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}post-login-widget>[slot=login-link]:hover{text-decoration:none}post-login-widget>[slot=login-link]:disabled{border-style:var(--post-core-border-style-dash)}post-login-widget>[slot=login-link]{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-login-widget>[slot=login-link]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-login-widget>[slot=login-link]:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(a){color:LinkText;border:unset}post-login-widget>[slot=login-link]:is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}post-login-widget>[slot=login-link]:not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}post-login-widget>[slot=login-link]:not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}post-login-widget>[slot=login-link]:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}post-login-widget>[slot=login-link]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg);color:var(--post-scheme-color-interactive-button-primary-enabled-fg)}post-login-widget>[slot=login-link]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg);color:var(--post-scheme-color-interactive-button-primary-hover-fg)}post-login-widget>[slot=login-link]{width:fit-content}@media screen and (min-width: 0)and (max-width: 599.98px){post-login-widget>[slot=login-link]>:not(post-icon){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}post-login-widget>[slot=login-link]>post-icon{font-size:1.5rem}}";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||{}),e=(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))(e||{}),n="type",i="value",s="serialized:";function l(t,o,e){const n="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==n;){const n=Object.getOwnPropertyDescriptor(t,o);if(n&&(!e||n.get))return n;t=Object.getPrototypeOf(t)}}var r,c=(t,o)=>{var e;Object.entries(null!=(e=o.o.t)?e:{}).map((([e,[n]])=>{if(31&n||32&n){const n=t[e],i=l(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);i&&Object.defineProperty(t,e,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),o.i.has(e)?t[e]=o.i.get(e):void 0!==n&&(t[e]=n)}}))},a=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},p=(t,o)=>o in t,u=(t,o)=>(0,console.error)(t,o),d=new Map,f="s-id",g="sty-id",b="c-id",v="http://www.w3.org/1999/xlink",m="undefined"!=typeof window?window:{},h=m.HTMLElement||class{},$={l:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,o,e,n)=>t.addEventListener(o,e,n),rel:(t,o,e,n)=>t.removeEventListener(o,e,n),ce:(t,o)=>new CustomEvent(t,o)},y=(()=>{try{return!!m.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),w=!!y&&(()=>!!m.document&&Object.getOwnPropertyDescriptor(m.document.adoptedStyleSheets,"length").writable)(),k=!1,x=[],j=[],O=(t,o)=>e=>{t.push(e),k||(k=!0,o&&4&$.l?E(N):$.raf(N))},S=t=>{for(let o=0;o<t.length;o++)try{t[o](performance.now())}catch(t){u(t)}t.length=0},N=()=>{S(x),S(j),(k=x.length>0)&&$.raf(N)},E=t=>Promise.resolve(void 0).then(t),M=O(j,!0),z=t=>{const o=new URL(t,$.p);return o.origin!==m.location.origin?o.href:o.pathname},L=t=>$.p=t;function I(){var o;const e=this.attachShadow({mode:"open"});if(void 0===r&&(r=null!=(o=function(t){if(!y)return;const o=new CSSStyleSheet;return o.replaceSync(t),o}(t))?o:null),r)w?e.adoptedStyleSheets.push(r):e.adoptedStyleSheets=[...e.adoptedStyleSheets,r];else if(!y){const o=document.createElement("style");o.innerHTML=t,e.prepend(o)}}var A=t=>{const o=F(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&C(o,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!_(t,R(t),!1).length)}));let e=0;for(e=0;e<o.length;e++){const t=o[e];1===t.nodeType&&F(t,"childNodes").length&&A(t)}};function C(t,o,e){let n,i=0,s=[];for(;i<t.length;i++){if(n=t[i],n["s-sr"]&&(!o||n["s-hn"]===o)&&(void 0===e||R(n)===e)&&(s.push(n),void 0!==e))return s;s=[...s,...C(n.childNodes,o,e)]}return s}var _=(t,o,e=!0)=>{const n=[];(e&&t["s-sr"]||!t["s-sr"])&&n.push(t);let i=t;for(;i=i.nextSibling;)R(i)!==o||!e&&i["s-sr"]||n.push(i);return n},B=(t,o)=>1===t.nodeType?null===t.getAttribute("slot")&&""===o||t.getAttribute("slot")===o:t["s-sn"]===o||""===o,H=(t,o,e,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const i=document.createTextNode("");if(i["s-nr"]=t,!o["s-cr"]||!o["s-cr"].parentNode)return;const s=o["s-cr"].parentNode,l=F(s,"appendChild");if(void 0!==n){i["s-oo"]=n;const t=F(s,"childNodes"),o=[i];t.forEach((t=>{t["s-nr"]&&o.push(t)})),o.sort(((t,o)=>!t["s-oo"]||t["s-oo"]<(o["s-oo"]||0)?-1:!o["s-oo"]||o["s-oo"]<t["s-oo"]?1:0)),o.forEach((t=>l.call(s,t)))}else l.call(s,i);t["s-ol"]=i,t["s-sh"]=o["s-hn"]},R=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function T(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const o=o=>function(t){const e=[],n=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 i=this["s-cr"].parentElement;return(i.__childNodes?i.childNodes:(t=>{const o=[];for(let e=0;e<t.length;e++){const n=t[e]["s-nr"]||void 0;n&&n.isConnected&&o.push(n)}return o})(i.childNodes)).forEach((t=>{n===R(t)&&e.push(t)})),o?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=o(!0),t.assignedNodes=o(!1)}function F(t,o){if("__"+o in t){const e=t["__"+o];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[o]?t[o]:t[o].bind(t)}var D=new WeakMap,U=(t,o,e)=>{let n=d.get(t);y&&e?(n=n||new CSSStyleSheet,"string"==typeof n?n=o:n.replaceSync(o)):n=o,d.set(t,n)},V=(t,o)=>{var e,n,i;const s=P(o),l=d.get(s);if(!m.document)return s;if(t=11===t.nodeType?t:m.document,l)if("string"==typeof l){let i,r=D.get(t=t.head||t);r||D.set(t,r=new Set);const c=t.querySelector(`[${g}="${s}"]`);if(c)c.textContent=l;else if(!r.has(s)){i=m.document.createElement("style"),i.textContent=l;const c=null!=(e=$.u)?e:function(){var t,o,e;return null!=(e=null==(o=null==(t=m.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:o.getAttribute("content"))?e:void 0}();if(null!=c&&i.setAttribute("nonce",c),!(1&o.l))if("HEAD"===t.nodeName){const o=t.querySelectorAll("link[rel=preconnect]"),e=o.length>0?o[o.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(y){const o=new(null!=(n=t.defaultView)?n:t.ownerDocument.defaultView).CSSStyleSheet;o.replaceSync(l),w?t.adoptedStyleSheets.unshift(o):t.adoptedStyleSheets=[o,...t.adoptedStyleSheets]}else{const o=t.querySelector("style");o?o.textContent=l+o.textContent:t.prepend(i)}else t.append(i);1&o.l&&t.insertBefore(i,null),4&o.l&&(i.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let o=D.get(t);if(o||D.set(t,o=new Set),!o.has(s)){const e=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let n;if(l.constructor===e.CSSStyleSheet)n=l;else{n=new e.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)n.insertRule(l.cssRules[t].cssText,t)}if(w?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[...t.adoptedStyleSheets,n],o.add(s),"host"in t){const o=t.querySelector(`[${g}="${s}"]`);o&&M((()=>o.remove()))}}}return s},P=t=>"sc-"+t.v,W=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),q=t=>"object"==(t=typeof t)||"function"===t,Y=(t,o,...e)=>{let n=null,i=null,s=null,l=!1,r=!1;const c=[],a=o=>{for(let e=0;e<o.length;e++)n=o[e],Array.isArray(n)?a(n):null!=n&&"boolean"!=typeof n&&((l="function"!=typeof t&&!q(n))&&(n+=""),l&&r?c[c.length-1].m+=n:c.push(l?J(null,n):n),r=l)};if(a(e),o){o.key&&(i=o.key),o.name&&(s=o.name);{const t=o.className||o.class;t&&(o.class="object"!=typeof t?t:Object.keys(t).filter((o=>t[o])).join(" "))}}if("function"==typeof t)return t(null===o?{}:o,c,G);const p=J(t,null);return p.h=o,c.length>0&&(p.$=c),p.k=i,p.j=s,p},J=(t,o)=>({l:0,O:t,m:null!=o?o:null,S:null,$:null,h:null,k:null,j:null}),Z={},G={forEach:(t,o)=>t.map(K).forEach(o),map:(t,o)=>t.map(K).map(o).map(Q)},K=t=>({vattrs:t.h,vchildren:t.$,vkey:t.k,vname:t.j,vtag:t.O,vtext:t.m}),Q=t=>{if("function"==typeof t.vtag){const o={...t.vattrs};return t.vkey&&(o.key=t.vkey),t.vname&&(o.name=t.vname),Y(t.vtag,o,...t.vchildren||[])}const o=J(t.vtag,t.vtext);return o.h=t.vattrs,o.$=t.vchildren,o.k=t.vkey,o.j=t.vname,o},X=(t,o,e,n,i,s,l,r=[])=>{let c,a,p,u;if(1===s.nodeType){if(c=s.getAttribute(b),c&&(a=c.split("."),a[0]===l||"0"===a[0])){p=ot({l:0,N:a[0],M:a[1],L:a[2],I:a[3],O:s.tagName.toLowerCase(),S:s,h:{class:s.className||""}}),o.push(p),s.removeAttribute(b),t.$||(t.$=[]);const i=p.S.getAttribute("s-sn");"string"==typeof i&&("slot-fb"===p.O&&et(i,a[2],p,s,t,o,e,n,r),p.S["s-sn"]=i,p.S.removeAttribute("s-sn")),void 0!==p.I&&(t.$[p.I]=p),t=p,n&&"0"===p.L&&(n[p.I]=p.S)}if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)X(t,o,e,n,i,s.shadowRoot.childNodes[u],l,r);const d=s.__childNodes||s.childNodes;for(u=d.length-1;u>=0;u--)X(t,o,e,n,i,d[u],l,r)}else if(8===s.nodeType)a=s.nodeValue.split("."),(a[1]===l||"0"===a[1])&&(c=a[0],p=ot({N:a[1],M:a[2],L:a[3],I:a[4]||"0",S:s,h:null,$:null,k:null,j:null,O:null,m:null}),"t"===c?(p.S=lt(s,3),p.S&&3===p.S.nodeType&&(p.m=p.S.textContent,o.push(p),s.remove(),l===p.N&&(t.$||(t.$=[]),t.$[p.I]=p),n&&"0"===p.L&&(n[p.I]=p.S))):"c"===c?(p.S=lt(s,8),p.S&&8===p.S.nodeType&&(o.push(p),s.remove())):p.N===l&&("s"===c?et(s["s-sn"]=a[5]||"",a[2],p,s,t,o,e,n,r):"r"===c&&(n?s.remove():(i["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.O){const o=J(null,s.textContent);o.S=s,o.I="0",t.$=[o]}return t},tt=(t,o)=>{if(1===t.nodeType){const e=t[f]||t.getAttribute(f);e&&o.set(e,t);let n=0;if(t.shadowRoot)for(;n<t.shadowRoot.childNodes.length;n++)tt(t.shadowRoot.childNodes[n],o);const i=t.__childNodes||t.childNodes;for(n=0;n<i.length;n++)tt(i[n],o)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(o.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},ot=t=>({l:0,N:null,M:null,L:null,I:"0",S:null,h:null,$:null,k:null,j:null,O:null,m:null,...t});function et(t,o,e,n,i,s,l,r,c){n["s-sr"]=!0,e.j=t||null,e.O="slot";const a=(null==i?void 0:i.S)?i.S["s-id"]||i.S.getAttribute("s-id"):"";if(r&&m.document){const s=e.S=m.document.createElement(e.O);e.j&&e.S.setAttribute("name",t),i.S.shadowRoot&&a&&a!==e.N?F(i.S,"insertBefore")(s,F(i.S,"children")[0]):F(F(n,"parentNode"),"insertBefore")(s,n),st(c,o,t,n,e.N),n.remove(),"0"===e.L&&(r[e.I]=e.S)}else{const s=e.S,l=a&&a!==e.N&&i.S.shadowRoot;st(c,o,t,n,l?a:e.N),T(n),l&&i.S.insertBefore(s,i.S.children[0])}s.push(e),l.push(e),i.$||(i.$=[]),i.$[e.I]=e}var nt,it,st=(t,o,e,n,i)=>{var s,l;let r=n.nextSibling;if(t[o]=t[o]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[o].push({slot:n,node:r,hostId:i})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(l=r.nodeValue)?void 0:l.startsWith("s.")))},lt=(t,o)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==o||!e.nodeValue));return e},rt=class t{static fromLocalValue(o){const e=o[n],s=i in o?o[i]:void 0;switch(e){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((o=>t.fromLocalValue(o)));case"date":return new Date(s);case"map":const o=new Map;for(const[e,n]of s){const i="object"==typeof e&&null!==e?t.fromLocalValue(e):e,s=t.fromLocalValue(n);o.set(i,s)}return o;case"object":const n={};for(const[o,e]of s)n[o]=t.fromLocalValue(e);return n;case"regexp":const{pattern:i,flags:l}=s;return RegExp(i,l);case"set":const r=new Set;for(const o of s)r.add(t.fromLocalValue(o));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+e)}}static fromLocalValueArray(o){return o.map((o=>t.fromLocalValue(o)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(n))return!1;const s=t[n];return!!Object.values({...o,...e}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(i))}},ct=(t,o)=>"string"==typeof t&&t.startsWith(s)?t=function(t){return"string"==typeof t&&t.startsWith(s)?rt.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||q(t)?t:4&o?"false"!==t&&(""===t||!!t):2&o?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&o?t+"":t,at=t=>t,pt=(t,o)=>{const e=t;return{emit:t=>ut(e,o,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ut=(t,o,e)=>{const n=$.ce(o,e);return t.dispatchEvent(n),n},dt=(t,o,e,n,i,s,l)=>{if(e===n)return;let r=p(t,o),c=o.toLowerCase();if("class"===o){const o=t.classList,i=gt(e);let s=gt(n);if((t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];s.push(e),i.forEach((t=>{t.startsWith(e)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),o.add(...s)}else o.remove(...i.filter((t=>t&&!s.includes(t)))),o.add(...s.filter((t=>t&&!i.includes(t))))}else if("style"===o){for(const o in e)n&&null!=n[o]||(o.includes("-")?t.style.removeProperty(o):t.style[o]="");for(const o in n)e&&n[o]===e[o]||(o.includes("-")?t.style.setProperty(o,n[o]):t.style[o]=n[o])}else if("key"===o);else if("ref"===o)n&&Bt(n,t);else if(t.__lookupSetter__(o)||"o"!==o[0]||"n"!==o[1]){if("a"===o[0]&&o.startsWith("attr:")){const e=o.slice(5);let i;{const o=a(t);if(o&&o.o&&o.o.t){const t=o.o.t[e];t&&t[1]&&(i=t[1])}}return i||(i=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==n||!1===n?!1===n&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===n?"":n))}if("p"===o[0]&&o.startsWith("prop:")){const e=o.slice(5);try{t[e]=n}catch(t){}return}{const l=q(n);if((r||l&&null!==n)&&!i)try{if(t.tagName.includes("-"))t[o]!==n&&(t[o]=n);else{const i=null==n?"":n;"list"===o?r=!1:null!=e&&t[o]===i||("function"==typeof t.__lookupSetter__(o)?t[o]=i:t.setAttribute(o,i))}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(o=c,a=!0),null==n||!1===n?!1===n&&""!==t.getAttribute(o)||(a?t.removeAttributeNS(v,o):t.removeAttribute(o)):(!r||4&s||i)&&!l&&1===t.nodeType&&(n=!0===n?"":n,a?t.setAttributeNS(v,o,n):t.setAttribute(o,n))}}else if(o="-"===o[2]?o.slice(3):p(m,c)?c.slice(2):c[2]+o.slice(3),e||n){const i=o.endsWith(bt);o=o.replace(vt,""),e&&$.rel(t,o,e,i),n&&$.ael(t,o,n,i)}},ft=/\s/,gt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ft):[]),bt="Capture",vt=RegExp(bt+"$"),mt=(t,o,e,n)=>{const i=11===o.S.nodeType&&o.S.host?o.S.host:o.S,s=t&&t.h||{},l=o.h||{};for(const t of ht(Object.keys(s)))t in l||dt(i,t,s[t],void 0,e,o.l,n);for(const t of ht(Object.keys(l)))dt(i,t,s[t],l[t],e,o.l,n)};function ht(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var $t=!1,yt=!1,wt=!1,kt=!1,xt=[],jt=[],Ot=(t,o,e)=>{var n;const i=o.$[e];let s,l,r,c=0;if($t||(wt=!0,"slot"===i.O&&(i.l|=i.$?2:1)),null!=i.m)s=i.S=m.document.createTextNode(i.m);else if(1&i.l)s=i.S=m.document.createTextNode(""),mt(null,i,kt);else{if(kt||(kt="svg"===i.O),!m.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=i.S=m.document.createElementNS(kt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!$t&&2&i.l?"slot-fb":i.O),kt&&"foreignObject"===i.O&&(kt=!1),mt(null,i,kt),i.$){const o="template"===i.O?s.content:s;for(c=0;c<i.$.length;++c)l=Ot(t,i,c),l&&o.appendChild(l)}"svg"===i.O?kt=!1:"foreignObject"===s.tagName&&(kt=!0)}return s["s-hn"]=it,3&i.l&&(s["s-sr"]=!0,s["s-cr"]=nt,s["s-sn"]=i.j||"",s["s-rf"]=null==(n=i.h)?void 0:n.ref,T(s),r=t&&t.$&&t.$[e],r&&r.O===i.O&&t.S&&St(t.S)),s},St=t=>{$.l|=1;const o=t.closest(it.toLowerCase());if(null!=o){const e=Array.from(o.__childNodes||o.childNodes).find((t=>t["s-cr"])),n=Array.from(t.__childNodes||t.childNodes);for(const t of e?n.reverse():n)null!=t["s-sh"]&&(Ht(o,t,null!=e?e:null),t["s-sh"]=void 0,wt=!0)}$.l&=-2},Nt=(t,o)=>{$.l|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let o=t;for(;o=o.nextSibling;)o&&o["s-sn"]===t["s-sn"]&&o["s-sh"]===it&&e.push(o)}for(let t=e.length-1;t>=0;t--){const n=e[t];n["s-hn"]!==it&&n["s-ol"]&&(Ht(Lt(n).parentNode,n,Lt(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,wt=!0),o&&Nt(n,o)}$.l&=-2},Et=(t,o,e,n,i,s)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===it&&(r=r.shadowRoot),"template"===e.O&&(r=r.content);i<=s;++i)n[i]&&(l=Ot(null,e,i),l&&(n[i].S=l,Ht(r,l,Lt(o))))},Mt=(t,o,e)=>{for(let n=o;n<=e;++n){const o=t[n];if(o){const t=o.S;_t(o),t&&(yt=!0,t["s-ol"]?t["s-ol"].remove():Nt(t,!0),t.remove())}}},zt=(t,o,e=!1)=>t.O===o.O&&("slot"===t.O?t.j===o.j:e?(e&&!t.k&&o.k&&(t.k=o.k),!0):t.k===o.k),Lt=t=>t&&t["s-ol"]||t,It=(t,o,e=!1)=>{const n=o.S=t.S,i=t.$,s=o.$,l=o.O,r=o.m;let c;null==r?(kt="svg"===l||"foreignObject"!==l&&kt,"slot"!==l||$t||t.j!==o.j&&(o.S["s-sn"]=o.j||"",St(o.S.parentElement)),mt(t,o,kt,e),null!==i&&null!==s?((t,o,e,n,i=!1)=>{let s,l,r=0,c=0,a=0,p=0,u=o.length-1,d=o[0],f=o[u],g=n.length-1,b=n[0],v=n[g];const m="template"===e.O?t.content:t;for(;r<=u&&c<=g;)if(null==d)d=o[++r];else if(null==f)f=o[--u];else if(null==b)b=n[++c];else if(null==v)v=n[--g];else if(zt(d,b,i))It(d,b,i),d=o[++r],b=n[++c];else if(zt(f,v,i))It(f,v,i),f=o[--u],v=n[--g];else if(zt(d,v,i))"slot"!==d.O&&"slot"!==v.O||Nt(d.S.parentNode,!1),It(d,v,i),Ht(m,d.S,f.S.nextSibling),d=o[++r],v=n[--g];else if(zt(f,b,i))"slot"!==d.O&&"slot"!==v.O||Nt(f.S.parentNode,!1),It(f,b,i),Ht(m,f.S,d.S),f=o[--u],b=n[++c];else{for(a=-1,p=r;p<=u;++p)if(o[p]&&null!==o[p].k&&o[p].k===b.k){a=p;break}a>=0?(l=o[a],l.O!==b.O?s=Ot(o&&o[c],e,a):(It(l,b,i),o[a]=void 0,s=l.S),b=n[++c]):(s=Ot(o&&o[c],e,c),b=n[++c]),s&&Ht(Lt(d.S).parentNode,s,Lt(d.S))}r>u?Et(t,null==n[g+1]?null:n[g+1].S,e,n,c,g):c>g&&Mt(o,r,u)})(n,i,o,s,e):null!==s?(null!==t.m&&(n.textContent=""),Et(n,null,o,s,0,s.length-1)):e||null===i?e&&null!==i&&null===s&&(o.$=i):Mt(i,0,i.length-1),kt&&"svg"===l&&(kt=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:t.m!==r&&(n.data=r)},At=[],Ct=t=>{let o,e,n;const i=t.__childNodes||t.childNodes;for(const t of i){if(t["s-sr"]&&(o=t["s-cr"])&&o.parentNode){e=o.parentNode.__childNodes||o.parentNode.childNodes;const i=t["s-sn"];for(n=e.length-1;n>=0;n--)if(o=e[n],!(o["s-cn"]||o["s-nr"]||o["s-hn"]===t["s-hn"]||o["s-sh"]&&o["s-sh"]===t["s-hn"]))if(B(o,i)){let e=At.find((t=>t.A===o));yt=!0,o["s-sn"]=o["s-sn"]||i,e?(e.A["s-sh"]=t["s-hn"],e.C=t):(o["s-sh"]=t["s-hn"],At.push({C:t,A:o})),o["s-sr"]&&At.map((t=>{B(t.A,o["s-sn"])&&(e=At.find((t=>t.A===o)),e&&!t.C&&(t.C=e.C))}))}else At.some((t=>t.A===o))||At.push({A:o})}1===t.nodeType&&Ct(t)}},_t=t=>{t.h&&t.h.ref&&xt.push((()=>t.h.ref(null))),t.$&&t.$.map(_t)},Bt=(t,o)=>{jt.push((()=>t(o)))},Ht=(t,o,e,n)=>{if("string"==typeof o["s-sn"]){t.insertBefore(o,e);const{slotNode:i}=function(t,o){var e;if(!(o=o||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const n=t["s-sn"]=R(t)||"";return{slotNode:C(F(o,"childNodes"),o.tagName,n)[0],slotName:n}}(o);return i&&!n&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(i),o}return t.__insertBefore?t.__insertBefore(o,e):null==t?void 0:t.insertBefore(o,e)},Rt=(t,o,e=!1)=>{var n,i,s,l,r;const c=t.$hostElement$,a=t.o,p=t._||J(null,null),u=(t=>t&&t.O===Z)(o)?o:Y(null,null,o);if(it=c.tagName,a.B&&(u.h=u.h||{},a.B.forEach((([t,o])=>{u.h[o]=c[t]}))),e&&u.h)for(const t of Object.keys(u.h))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.h[t]=c[t]);if(u.O=null,u.l|=4,t._=u,u.S=p.S=c.shadowRoot||c,$t=!(!(1&a.l)||128&a.l),nt=c["s-cr"],yt=!1,It(p,u,e),$.l|=1,wt){Ct(u.S);for(const t of At){const o=t.A;if(!o["s-ol"]&&m.document){const t=m.document.createTextNode("");t["s-nr"]=o,Ht(o.parentNode,o["s-ol"]=t,o,e)}}for(const t of At){const o=t.A,r=t.C;if(1===o.nodeType&&e&&(o["s-ih"]=null!=(n=o.hidden)&&n),r){const t=r.parentNode;let n=r.nextSibling;if(n&&1===n.nodeType){let e=null==(i=o["s-ol"])?void 0:i.previousSibling;for(;e;){let i=null!=(s=e["s-nr"])?s:null;if(i&&i["s-sn"]===o["s-sn"]&&t===(i.__parentNode||i.parentNode)){for(i=i.nextSibling;i===o||(null==i?void 0:i["s-sr"]);)i=null==i?void 0:i.nextSibling;if(!i||!i["s-nr"]){n=i;break}}e=e.previousSibling}}if((!n&&t!==(o.__parentNode||o.parentNode)||(o.__nextSibling||o.nextSibling)!==n)&&o!==n){if(Ht(t,o,n,e),8===o.nodeType&&o.nodeValue.startsWith("s-nt-")){const t=m.document.createTextNode(o.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=o["s-hn"],t["s-sn"]=o["s-sn"],t["s-sh"]=o["s-sh"],t["s-sr"]=o["s-sr"],t["s-ol"]=o["s-ol"],t["s-ol"]["s-nr"]=t,Ht(o.parentNode,t,o,e),o.parentNode.removeChild(o)}1===o.nodeType&&"SLOT-FB"!==o.tagName&&(o.hidden=null!=(l=o["s-ih"])&&l)}o&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===o.nodeType&&(o.hidden=!0)}}if(yt&&A(u.S),$.l&=-2,At.length=0,!$t&&!(1&a.l)&&c["s-cr"]){const t=u.S.__childNodes||u.S.childNodes;for(const o of t)if(o["s-hn"]!==it&&!o["s-sh"])if(e&&null==o["s-ih"]&&(o["s-ih"]=null!=(r=o.hidden)&&r),1===o.nodeType)o.hidden=!0;else if(3===o.nodeType&&o.nodeValue.trim()){const t=m.document.createComment("s-nt-"+o.nodeValue);t["s-sn"]=o["s-sn"],Ht(o.parentNode,t,o,e),o.parentNode.removeChild(o)}}nt=void 0,xt.forEach((t=>t())),xt.length=0,jt.forEach((t=>t())),jt.length=0},Tt=(t,o)=>{if(o&&!t.H&&o["s-p"]){const e=o["s-p"].push(new Promise((n=>t.H=()=>{o["s-p"].splice(e-1,1),n()})))}},Ft=(t,o)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Tt(t,t.R);const e=()=>Dt(t,o);if(!o)return M(e);queueMicrotask((()=>{e()}))},Dt=(t,o)=>{const e=t.$hostElement$,n=e;if(!n)throw Error(`Can't render component <${e.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 i;return i=Jt(n,o?"componentWillLoad":"componentWillUpdate",void 0,e),i=Ut(i,(()=>Jt(n,"componentWillRender",void 0,e))),Ut(i,(()=>Pt(t,n,o)))},Ut=(t,o)=>Vt(t)?t.then(o).catch((t=>{console.error(t),o()})):o(),Vt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Pt=async(t,o,e)=>{var n;const i=t.$hostElement$,s=i["s-rc"];e&&(t=>{const o=t.o,e=t.$hostElement$,n=o.l,i=V(e.shadowRoot?e.shadowRoot:e.getRootNode(),o);10&n&&(e["s-sc"]=i,e.classList.add(i+"-h"))})(t);Wt(t,o,i,e),s&&(s.map((t=>t())),i["s-rc"]=void 0);{const o=null!=(n=i["s-p"])?n:[],e=()=>qt(t);0===o.length?e():(Promise.all(o).then(e).catch(e),t.l|=4,o.length=0)}},Wt=(t,o,e,n)=>{try{o=o.render&&o.render(),t.l&=-17,t.l|=2,Rt(t,o,n)}catch(o){u(o,t.$hostElement$)}return null},qt=t=>{const o=t.$hostElement$,e=o,n=t.R;Jt(e,"componentDidRender",void 0,o),64&t.l?Jt(e,"componentDidUpdate",void 0,o):(t.l|=64,Zt(o),Jt(e,"componentDidLoad",void 0,o),t.T(o),n||Yt()),t.H&&(t.H(),t.H=void 0),512&t.l&&E((()=>Ft(t,!1))),t.l&=-517},Yt=()=>{var t;E((()=>ut(m,"appload",{detail:{namespace:"post-components"}}))),(null==(t=$.F)?void 0:t.size)&&$.F.clear()},Jt=(t,o,e,n)=>{if(t&&t[o])try{return t[o](e)}catch(t){u(t,n)}},Zt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Gt=(t,o,e,n)=>{const i=a(t);if(!i)return;const s=t,l=i.i.get(o),r=i.l,c=s;if(!((e=ct(e,n.t[o][0]))===l||Number.isNaN(l)&&Number.isNaN(e))){if(i.i.set(o,e),n.D){const t=n.D[o];t&&t.map((t=>{try{const[[n,s]]=Object.entries(t);(128&r||1&s)&&(c?c[n](e,l,o):i.U.push((()=>{i.V[n](e,l,o)})))}catch(t){u(t,s)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,l,o)&&!(16&r))return;16&r||Ft(i,!1)}}},Kt=(t,o)=>{var e,n;const i=t.prototype;{t.watchers&&!o.D&&(o.D=t.watchers),t.deserializers&&!o.P&&(o.P=t.deserializers),t.serializers&&!o.W&&(o.W=t.serializers);const s=Object.entries(null!=(e=o.t)?e:{});s.map((([t,[e]])=>{if(31&e||32&e){const{get:n,set:s}=l(i,t)||{};n&&(o.t[t][0]|=2048),s&&(o.t[t][0]|=4096),Object.defineProperty(i,t,{get(){return n?n.apply(this):((t,o)=>a(this).i.get(o))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(n){const i=a(this);if(i){if(s)return void 0===(32&e?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(n=i.i.get(t)),s.call(this,ct(n,e)),void Gt(this,t,n=32&e?this[t]:i.$hostElement$[t],o);Gt(this,t,n,o)}}})}}));{const e=new Map;i.attributeChangedCallback=function(t,n,l){$.jmp((()=>{var r;const c=e.get(t),p=a(this);if(this.hasOwnProperty(c),i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const e=null==p?void 0:p.l;if(p&&e&&!(8&e)&&l!==n){const i=this,s=null==(r=o.D)?void 0:r[t];null==s||s.forEach((o=>{const[[s,r]]=Object.entries(o);null!=i[s]&&(128&e||1&r)&&i[s].call(i,l,n,t)}))}return}const u=s.find((([t])=>t===c));u&&4&u[1][0]&&(l=null!==l&&"false"!==l);const d=Object.getOwnPropertyDescriptor(i,c);l==this[c]||d.get&&!d.set||(this[c]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=o.D)?n:{}),...s.filter((([t,o])=>31&o[0])).map((([t,n])=>{var i;const s=n[1]||t;return e.set(s,t),512&n[0]&&(null==(i=o.B)||i.push([t,s])),s}))]))}}return t},Qt=t=>{if(!m.document)return;const o=t["s-cr"]=m.document.createComment("");o["s-cn"]=!0,Ht(t,o,t.firstChild)},Xt=(t,o)=>{const e={l:o[0],v:o[1]};try{e.t=o[2],e.q=o[3],e.D=t.D,e.P=t.P,e.W=t.W,e.B=[],(()=>{if(!m.document)return;const t=m.document.querySelectorAll(`[${g}]`);let o=0;for(;o<t.length;o++)U(t[o].getAttribute(g),W(t[o].innerHTML),!0)})();const n=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,o)=>{const e={l:0,$hostElement$:t,o,i:new Map,Y:new Map};e.J=new Promise((t=>e.T=t)),t["s-p"]=[],t["s-rc"]=[];const n=e;t.__stencil__getHostRef=()=>n,512&o.l&&c(t,e)})(this,e)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=a(this);if(!t)return;to(this,t,e.q),this.__hasHostListenerAttached=!0}(t=>{if(!(1&$.l)){const o=a(t);if(!o)return;const e=o.o,n=()=>{};if(1&o.l)to(t,o,e.q),(null==o?void 0:o.V)||(null==o?void 0:o.J)&&o.J.then((()=>{}));else{let n;if(o.l|=1,n=t.getAttribute(f),n){if(1&e.l){const o=V(t.shadowRoot,e);t.classList.remove(o+"-h",o+"-s")}((t,o,e,n)=>{var i,s,l,r;const c=t.shadowRoot,p=[],u=[],d=c?[]:null,g=J(o,null);g.S=t,!m.document||$.F&&$.F.size||tt(m.document.body,$.F=new Map),t[f]=e,t.removeAttribute(f),n._=X(g,p,[],d,t,t,e,u);let b=0;const v=p.length;let h;for(;b<v;b++){h=p[b];const e=h.N+"."+h.M,n=$.F.get(e),s=h.S;if(c){if((null==(i=h.O)?void 0:(""+i).includes("-"))&&"slot-fb"!==h.O&&!h.S.shadowRoot){const t=a(h.S);if(t){const o=P(t.o),e=m.document.querySelector(`style[sty-id="${o}"]`);e&&d.unshift(e.cloneNode(!0))}}}else s["s-hn"]=o.toUpperCase(),"slot"===h.O&&(s["s-cr"]=t["s-cr"]);"slot"===h.O&&(h.j=h.S["s-sn"]||h.S.name||null,h.$?(h.l|=2,h.S.childNodes.length||h.$.forEach((t=>{h.S.appendChild(t.S)}))):h.l|=1),n&&n.isConnected&&(n.parentElement.shadowRoot&&""===n["s-en"]&&n.parentNode.insertBefore(s,n.nextSibling),n.parentNode.removeChild(n),c||(s["s-oo"]=parseInt(h.M))),n&&!n["s-id"]&&$.F.delete(e)}const y=[],w=u.length;let k,x,j,O,S=0,N=0;for(;S<w;S++)if(k=u[S],k&&k.length)for(j=k.length,x=0;x<j;x++){if(O=k[x],y[O.hostId]||(y[O.hostId]=$.F.get(O.hostId)),!y[O.hostId])continue;const t=y[O.hostId];t.shadowRoot&&O.node.parentElement!==t&&t.insertBefore(O.node,null==(l=null==(s=k[x-1])?void 0:s.node)?void 0:l.nextSibling),t.shadowRoot&&c||(O.slot["s-cr"]||(O.slot["s-cr"]=t["s-cr"],O.slot["s-cr"]=!O.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),H(O.node,O.slot,0,O.node["s-oo"]||N),(null==(r=O.node.parentElement)?void 0:r.shadowRoot)&&O.node.getAttribute&&O.node.getAttribute("slot")&&O.node.removeAttribute("slot")),N=(O.node["s-oo"]||N)+1}if(c&&!c.childNodes.length){let o=0;const e=d.length;if(e){for(;o<e;o++){const t=d[o];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))}))}}n.$hostElement$=t})(t,e.v,n,o)}n||12&e.l&&Qt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Tt(o,o.R=e);break}}e.t&&Object.entries(e.t).map((([o,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,o)){const e=t[o];delete t[o],t[o]=e}})),(async(t,o,e)=>{let n;try{if(!(32&o.l)&&(o.l|=32,n=t.constructor,customElements.whenDefined(t.localName).then((()=>o.l|=128)),n&&n.style)){let t;"string"==typeof n.style&&(t=n.style);const o=P(e);if(!d.has(o)){const n=()=>{};U(o,t,!!(1&e.l)),n()}}const i=o.R,s=()=>Ft(o,!0);i&&i["s-rc"]?i["s-rc"].push(s):s()}catch(e){u(e,t),o.H&&(o.H(),o.H=void 0),o.T&&o.T(t)}})(t,o,e)}n()}})(this),n&&n.call(this)},disconnectedCallback(){(async t=>{if(!(1&$.l)){const o=a(t);(null==o?void 0:o.Z)&&(o.Z.map((t=>t())),o.Z=void 0)}D.has(t)&&D.delete(t),t.shadowRoot&&D.has(t.shadowRoot)&&D.delete(t.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${e.v}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else I.call(this,e)}}),Object.defineProperty(t,"is",{value:e.v,configurable:!0}),Kt(t,e)}catch(o){return u(o),t}},to=(t,o,e)=>{e&&m.document&&e.map((([e,n,i])=>{const s=eo(m.document,t,e),l=oo(o,i),r=no(e);$.ael(s,n,l,r),(o.Z=o.Z||[]).push((()=>$.rel(s,n,l,r)))}))},oo=(t,o)=>e=>{try{t.$hostElement$[o](e)}catch(o){u(o,t.$hostElement$)}},eo=(t,o,e)=>4&e?t:8&e?m:o,no=t=>({passive:!!(1&t),capture:!!(2&t)}),io=t=>$.u=t,so=t=>Object.assign($,t);function lo(t,o){Rt({o:{l:0,v:o.tagName},$hostElement$:o},t)}function ro(t){return t}export{h as H,Z as a,pt as c,at as g,z as getAssetPath,Y as h,Xt as p,lo as render,L as setAssetPath,io as setNonce,so as setPlatformOptions,ro as t}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as r,i as t,g as i,r as n}from"./p-Bji_4dfL.js";function o(o){const s=r({priority:0,blocking:!0,validateEmptyValues:!0,run(r,n){if(o&&"string"==typeof o.when&&r[o.when]!==(o.truthy??!0))return!0;const{value:s,showError:e}=i(r,n);return!t(s)||(e("is required"),!1)}});return function(r,t){s(r,t),o?.when&&n(r,o.when,t)}}export{o as R}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,t as o}from"./index.js";import{v as n}from"./p-ClG-N42b.js";const i=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost()}connectedCallback(){this.host.dataset.version=n}get host(){return this}static get style(){return"post-menu-item button{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item a{text-decoration:none}post-menu-item button,post-menu-item a{width:100%;position:relative;display:flex;align-items:center;padding:.5rem .75rem .5rem 1rem;gap:.75rem;font-size:.875rem;color:#050400;border-radius:0}post-menu-item button post-icon,post-menu-item a post-icon{width:1rem;height:1rem;margin-block:.25rem}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:.75rem;gap:1rem}post-menu-item button post-icon,post-menu-item a post-icon{width:1.5rem;height:1.5rem;margin:0}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:.8125rem}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline-offset:2px !important;border-radius:4px}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}"}},[0,"post-menu-item"]);function m(){"undefined"!=typeof customElements&&["post-menu-item"].forEach((t=>{"post-menu-item"===t&&(customElements.get(o(t))||customElements.define(o(t),i))}))}m();export{i as P,m as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t=21){const n=crypto.getRandomValues(new Uint8Array(t));let r="";for(let e=0;e<t;e++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return r}export{t as n}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,c as n,h as o,a as r,t as i}from"./index.js";import"./p-Bji_4dfL.js";import{v as s}from"./p-ClG-N42b.js";import{O as a}from"./p-BaB8wJvk.js";import{T as c}from"./p-B_WnO-QF.js";const l=["top","right","bottom","left","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end"],p=Math.min,f=Math.max,u=Math.round,h=Math.floor,d=t=>({x:t,y:t}),m={left:"right",right:"left",bottom:"top",top:"bottom"};function v(t,e,n){return f(t,p(e,n))}function g(t,e){return"function"==typeof t?t(e):t}function w(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function x(t){return"x"===t?"y":"x"}function b(t){return"y"===t?"height":"width"}function S(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function k(t){return x(S(t))}function E(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const T=["left","right"],M=["right","left"],A=["top","bottom"],O=["bottom","top"];function H(t){const e=w(t);return m[e]+t.slice(e.length)}function L(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function $(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function D(t,e,n){let{reference:o,floating:r}=t;const i=S(e),s=k(e),a=b(s),c=w(e),l="y"===i,p=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,u=o[a]/2-r[a]/2;let h;switch(c){case"top":h={x:p,y:o.y-r.height};break;case"bottom":h={x:p,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-r.width,y:f};break;default:h={x:o.x,y:o.y}}switch(y(e)){case"start":h[s]-=u*(n&&l?-1:1);break;case"end":h[s]+=u*(n&&l?-1:1)}return h}async function j(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:s,elements:a,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:u=!1,padding:h=0}=g(e,t),d=L(h),m=a[u?"floating"===f?"reference":"floating":f],v=$(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:l,rootBoundary:p,strategy:c})),w="floating"===f?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),x=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=$(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:y,strategy:c}):w);return{top:(v.top-b.top+d.top)/x.y,bottom:(b.bottom-v.bottom+d.bottom)/x.y,left:(v.left-b.left+d.left)/x.x,right:(b.right-v.right+d.right)/x.x}}function R(t){const e=p(...t.map((t=>t.left))),n=p(...t.map((t=>t.top)));return{x:e,y:n,width:f(...t.map((t=>t.right)))-e,height:f(...t.map((t=>t.bottom)))-n}}const F=new Set(["left","top"]);function z(){return"undefined"!=typeof window}function C(t){return W(t)?(t.nodeName||"").toLowerCase():"#document"}function P(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function B(t){var e;return null==(e=(W(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function W(t){return!!z()&&(t instanceof Node||t instanceof P(t).Node)}function q(t){return!!z()&&(t instanceof Element||t instanceof P(t).Element)}function I(t){return!!z()&&(t instanceof HTMLElement||t instanceof P(t).HTMLElement)}function N(t){return!(!z()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof P(t).ShadowRoot)}function G(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&"inline"!==r&&"contents"!==r}function _(t){return/^(table|td|th)$/.test(C(t))}function J(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const Q=/transform|translate|scale|rotate|perspective|filter/,V=/paint|layout|strict|content/,X=t=>!!t&&"none"!==t;let Y;function K(t){const e=q(t)?tt(t):t;return X(e.transform)||X(e.translate)||X(e.scale)||X(e.rotate)||X(e.perspective)||!U()&&(X(e.backdropFilter)||X(e.filter))||Q.test(e.willChange||"")||V.test(e.contain||"")}function U(){return null==Y&&(Y="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Y}function Z(t){return/^(html|body|#document)$/.test(C(t))}function tt(t){return P(t).getComputedStyle(t)}function et(t){return q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function nt(t){if("html"===C(t))return t;const e=t.assignedSlot||t.parentNode||N(t)&&t.host||B(t);return N(e)?e.host:e}function ot(t){const e=nt(t);return Z(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&G(e)?e:ot(e)}function rt(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const r=ot(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),s=P(r);if(i){const t=it(s);return e.concat(s,s.visualViewport||[],G(r)?r:[],t&&n?rt(t):[])}return e.concat(r,rt(r,[],n))}function it(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function st(t){const e=tt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=I(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,a=u(n)!==i||u(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}function at(t){return q(t)?t:t.contextElement}function ct(t){const e=at(t);if(!I(e))return d(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=st(e);let s=(i?u(n.width):n.width)/o,a=(i?u(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const lt=d(0);function pt(t){const e=P(t);return U()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:lt}function ft(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=at(t);let s=d(1);e&&(o?q(o)&&(s=ct(o)):s=ct(t));const a=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==P(t))&&e}(i,n,o)?pt(i):d(0);let c=(r.left+a.x)/s.x,l=(r.top+a.y)/s.y,p=r.width/s.x,f=r.height/s.y;if(i){const t=P(i),e=o&&q(o)?P(o):o;let n=t,r=it(n);for(;r&&o&&e!==n;){const t=ct(r),e=r.getBoundingClientRect(),o=tt(r),i=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,l*=t.y,p*=t.x,f*=t.y,c+=i,l+=s,n=P(r),r=it(n)}}return $({width:p,height:f,x:c,y:l})}function ut(t,e){const n=et(t).scrollLeft;return e?e.left+n:ft(B(t)).left+n}function ht(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-ut(t,n),y:n.top+e.scrollTop}}function dt(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=P(t),o=B(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,a=0,c=0;if(r){i=r.width,s=r.height;const t=U();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,c=r.offsetTop)}const l=ut(o);if(l<=0){const t=o.ownerDocument,e=t.body,n=getComputedStyle(e),r="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(o.clientWidth-e.clientWidth-r);s<=25&&(i-=s)}else l<=25&&(i+=l);return{width:i,height:s,x:a,y:c}}(t,n);else if("document"===e)o=function(t){const e=B(t),n=et(t),o=t.ownerDocument.body,r=f(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=f(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+ut(t);const a=-n.scrollTop;return"rtl"===tt(o).direction&&(s+=f(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:a}}(B(t));else if(q(e))o=function(t,e){const n=ft(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=I(t)?ct(t):d(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=pt(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return $(o)}function mt(t,e){const n=nt(t);return!(n===e||!q(n)||Z(n))&&("fixed"===tt(n).position||mt(n,e))}function vt(t,e,n){const o=I(e),r=B(e),i="fixed"===n,s=ft(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const c=d(0);function l(){c.x=ut(r)}if(o||!o&&!i)if(("body"!==C(e)||G(r))&&(a=et(e)),o){const t=ft(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else r&&l();i&&!o&&r&&l();const p=!r||o||i?d(0):ht(r,a);return{x:s.left+a.scrollLeft-c.x-p.x,y:s.top+a.scrollTop-c.y-p.y,width:s.width,height:s.height}}function gt(t){return"static"===tt(t).position}function wt(t,e){if(!I(t)||"fixed"===tt(t).position)return null;if(e)return e(t);let n=t.offsetParent;return B(t)===n&&(n=n.ownerDocument.body),n}function yt(t,e){const n=P(t);if(J(t))return n;if(!I(t)){let e=nt(t);for(;e&&!Z(e);){if(q(e)&&!gt(e))return e;e=nt(e)}return n}let o=wt(t,e);for(;o&&_(o)&>(o);)o=wt(o,e);return o&&Z(o)&>(o)&&!K(o)?n:o||function(t){let e=nt(t);for(;I(e)&&!Z(e);){if(K(e))return e;if(J(e))return null;e=nt(e)}return null}(t)||n}const xt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i="fixed"===r,s=B(o),a=!!e&&J(e.floating);if(o===s||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=d(1);const p=d(0),f=I(o);if((f||!f&&!i)&&(("body"!==C(o)||G(s))&&(c=et(o)),f)){const t=ft(o);l=ct(o),p.x=t.x+o.clientLeft,p.y=t.y+o.clientTop}const u=!s||f||i?d(0):ht(s,c);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+p.x+u.x,y:n.y*l.y-c.scrollTop*l.y+p.y+u.y}},getDocumentElement:B,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===n?J(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=rt(t,[],!1).filter((t=>q(t)&&"body"!==C(t))),r=null;const i="fixed"===tt(t).position;let s=i?nt(t):t;for(;q(s)&&!Z(s);){const e=tt(s),n=K(s);n||"fixed"!==e.position||(r=null),(i?!n&&!r:!n&&"static"===e.position&&r&&("absolute"===r.position||"fixed"===r.position)||G(s)&&!n&&mt(t,s))?o=o.filter((t=>t!==s)):r=e,s=nt(s)}return e.set(t,o),o}(e,this._c):[].concat(n),o],s=dt(e,i[0],r);let a=s.top,c=s.right,l=s.bottom,u=s.left;for(let t=1;t<i.length;t++){const n=dt(e,i[t],r);a=f(n.top,a),c=p(n.right,c),l=p(n.bottom,l),u=f(n.left,u)}return{width:c-u,height:l-a,x:u,y:a}},getOffsetParent:yt,getElementRects:async function(t){const e=this.getOffsetParent||yt,n=this.getDimensions,o=await n(t.floating);return{reference:vt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=st(t);return{width:e,height:n}},getScale:ct,isElement:q,isRTL:function(t){return"rtl"===tt(t).direction}};function bt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const St=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:a}=e,c=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),s=w(n),a=y(n),c="y"===S(n),l=F.has(s)?-1:1,p=i&&c?-1:1,f=g(e,t);let{mainAxis:u,crossAxis:h,alignmentAxis:d}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof d&&(h="end"===a?-1*d:d),c?{x:h*p,y:u*l}:{x:u*l,y:h*p}}(e,t);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:s}}}}},kt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:a,platform:c,elements:l}=e,{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:m=!0,...v}=g(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const x=w(r),L=S(a),$=w(a)===a,D=await(null==c.isRTL?void 0:c.isRTL(l.floating)),j=u||($||!m?[H(a)]:function(t){const e=H(t);return[E(t),e,E(e)]}(a)),R="none"!==d;!u&&R&&j.push(...function(t,e,n,o){const r=y(t);let i=function(t,e,n){switch(t){case"top":case"bottom":return n?e?M:T:e?T:M;case"left":case"right":return e?A:O;default:return[]}}(w(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(E)))),i}(a,m,d,D));const F=[a,...j],z=await c.detectOverflow(e,v),C=[];let P=(null==(o=i.flip)?void 0:o.overflows)||[];if(p&&C.push(z[x]),f){const t=function(t,e,n){void 0===n&&(n=!1);const o=y(t),r=k(t),i=b(r);let s="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=H(s)),[s,H(s)]}(r,s,D);C.push(z[t[0]],z[t[1]])}if(P=[...P,{placement:r,overflows:C}],!C.every((t=>t<=0))){var B,W;const t=((null==(B=i.flip)?void 0:B.index)||0)+1,e=F[t];if(e&&("alignment"!==f||L===S(e)||P.every((t=>S(t.placement)!==L||t.overflows[0]>0))))return{data:{index:t,overflows:P},reset:{placement:e}};let n=null==(W=P.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:W.placement;if(!n)switch(h){case"bestFit":{var q;const t=null==(q=P.filter((t=>{if(R){const e=S(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:q[0];t&&(n=t);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}},Et=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:i,platform:s,elements:a}=e,{apply:c=()=>{},...l}=g(t,e),u=await s.detectOverflow(e,l),h=w(r),d=y(r),m="y"===S(r),{width:v,height:x}=i.floating;let b,k;"top"===h||"bottom"===h?(b=h,k=d===(await(null==s.isRTL?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(k=h,b="end"===d?"top":"bottom");const E=x-u.top-u.bottom,T=v-u.left-u.right;let M=p(x-u[b],E),A=p(v-u[k],T);if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(A=T),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(M=E),!e.middlewareData.shift&&!d){const t=f(u.left,0),e=f(u.right,0),n=f(u.top,0),o=f(u.bottom,0);m?A=v-2*(0!==t||0!==e?t+e:f(u.left,u.right)):M=x-2*(0!==n||0!==o?n+o:f(u.top,u.bottom))}await c({...e,availableWidth:A,availableHeight:M});const O=await s.getDimensions(a.floating);return v!==O.width||x!==O.height?{reset:{rects:!0}}:{}}}},Tt=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:r,platform:i,strategy:s}=e,{padding:a=2,x:c,y:l}=g(t,e),u=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),h=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const r=e[t];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((t=>$(R(t))))}(u),d=$(R(u)),m=L(a),v=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=c&&null!=l)return h.find((t=>c>t.left-m.left&&c<t.right+m.right&&l>t.top-m.top&&l<t.bottom+m.bottom))||d;if(h.length>=2){if("y"===S(n)){const t=h[0],e=h[h.length-1],o="top"===w(n),r=t.top,i=e.bottom,s=o?t.left:e.left,a=o?t.right:e.right;return{top:r,bottom:i,left:s,right:a,width:a-s,height:i-r,x:s,y:r}}const t="left"===w(n),e=f(...h.map((t=>t.right))),o=p(...h.map((t=>t.left))),r=h.filter((n=>t?n.left===o:n.right===e)),i=r[0].top,s=r[r.length-1].bottom;return{top:i,bottom:s,left:o,right:e,width:e-o,height:s-i,x:o,y:i}}return d}},floating:o.floating,strategy:s});return r.reference.x!==v.reference.x||r.reference.y!==v.reference.y||r.reference.width!==v.reference.width||r.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}};var Mt=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:n="",...o}={}){super(t,o),this.oldState=String(e||""),this.newState=String(n||"")}},At=new WeakMap;function Ot(t,e,n){At.set(t,setTimeout((()=>{At.has(t)&&t.dispatchEvent(new Mt("toggle",{cancelable:!1,oldState:e,newState:n}))}),0))}var Ht=globalThis.ShadowRoot||function(){},Lt=globalThis.HTMLDialogElement||function(){},$t=new WeakMap,Dt=new WeakMap,jt=new WeakMap,Rt=new WeakMap;function Ft(t){return Rt.get(t)||"hidden"}var zt=new WeakMap;function Ct(t){return[...t].pop()}function Pt(t,e){return!("auto"!==t.popover&&"manual"!==t.popover&&"hint"!==t.popover||!t.isConnected||e&&"showing"!==Ft(t)||!e&&"hidden"!==Ft(t)||t instanceof Lt&&t.hasAttribute("open")||document.fullscreenElement===t)}function Bt(t){if(!t)return 0;const e=Dt.get(document)||new Set,n=jt.get(document)||new Set;return n.has(t)?[...n].indexOf(t)+e.size+1:e.has(t)?[...e].indexOf(t)+1:0}function Wt(t){let e;const n=jt.get(t)||new Set,o=Dt.get(t)||new Set,r=n.size>0?n:o.size>0?o:null;return r?(e=Ct(r),e.isConnected?e:(r.delete(e),Wt(t))):null}function qt(t){for(const e of t||[]){if(e.isConnected)return e;t.delete(e)}return null}function It(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?It(t.parentNode):t}function Nt(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===Rt.get(t))return t;if((t=t instanceof Element&&t.assignedSlot||t.parentElement||It(t))instanceof Ht&&(t=t.host),t instanceof Document)return}}function Gt(t,e){const n=new Map;let o=0;for(const t of e||[])n.set(t,o),o+=1;n.set(t,o),o+=1;let r=null;return function(e){if(!e)return;let o=!1,i=null,s=null;for(;!o;){if(i=Nt(e)||null,null===i)return;if(!n.has(i))return;"hint"!==t.popover&&"auto"!==i.popover||(o=!0),o||(e=i.parentElement)}s=n.get(i),(null===r||n.get(r)<s)&&(r=i)}(t.parentElement||It(t)),r}function _t(t){return!(t.hidden||t instanceof Ht||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLOptGroupElement||t instanceof HTMLOptionElement||t instanceof HTMLFieldSetElement)&&t.disabled||t instanceof HTMLInputElement&&"hidden"===t.type||t instanceof HTMLAnchorElement&&""===t.href||"number"!=typeof t.tabIndex||-1===t.tabIndex)}var Jt=new WeakMap;function Qt(t){if(!Pt(t,!1))return;const e=t.ownerDocument;if(!t.dispatchEvent(new Mt("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"})))return;if(!Pt(t,!1))return;let n=!1;const o=t.popover;let r=null;const i=Gt(t,Dt.get(e)||new Set),s=Gt(t,jt.get(e)||new Set);if("auto"===o&&(Xt(jt.get(e)||new Set,n,!0),Kt(i||e,n,!0),r="auto"),"hint"===o&&(s?(Kt(s,n,!0),r="hint"):(Xt(jt.get(e)||new Set,n,!0),i?(Kt(i,n,!0),r="auto"):r="hint")),"auto"===o||"hint"===o){if(o!==t.popover||!Pt(t,!1))return;Wt(e)||(n=!0),"auto"===r?(Dt.has(e)||Dt.set(e,new Set),Dt.get(e).add(t)):"hint"===r&&(jt.has(e)||jt.set(e,new Set),jt.get(e).add(t))}Jt.delete(t);const a=e.activeElement;var c;t.classList.add(":popover-open"),Rt.set(t,"showing"),$t.has(e)||$t.set(e,new Set),$t.get(e).add(t),ee(zt.get(t),!0),c=t,function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let n=e.querySelector("[autofocus]");if(n)return n;{const t=e.querySelectorAll("slot");for(const e of t){const t=e.assignedElements({flatten:!0});for(const e of t){if(e.hasAttribute("autofocus"))return e;if(n=e.querySelector("[autofocus]"),n)return n}}}const o=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);let r=o.currentNode;for(;r;){if(_t(r))return r;r=o.nextNode()}}(c)?.focus(),n&&a&&"auto"===t.popover&&Jt.set(t,a),Ot(t,"closed","open")}function Vt(t,e=!1,n=!1){if(!Pt(t,!0))return;const o=t.ownerDocument;if(["auto","hint"].includes(t.popover)&&(Kt(t,e,n),!Pt(t,!0)))return;const r=Dt.get(o)||new Set,i=r.has(t)&&Ct(r)===t;if(ee(zt.get(t),!1),zt.delete(t),n&&(t.dispatchEvent(new Mt("beforetoggle",{oldState:"open",newState:"closed"})),i&&Ct(r)!==t&&Kt(t,e,n),!Pt(t,!0)))return;$t.get(o)?.delete(t),r.delete(t),jt.get(o)?.delete(t),t.classList.remove(":popover-open"),Rt.set(t,"hidden"),n&&Ot(t,"open","closed");const s=Jt.get(t);s&&(Jt.delete(t),e&&s.focus())}function Xt(t,e=!1,n=!1){let o=qt(t);for(;o;)Vt(o,e,n),o=qt(t)}function Yt(t,e,n,o){let r=!1,i=!1;for(;r||!i;){i=!0;let s=null,a=!1;for(const n of e)if(n===t)a=!0;else if(a){s=n;break}if(!s)return;for(;"showing"===Ft(s)&&e.size;)Vt(Ct(e),n,o);e.has(t)&&Ct(e)!==t&&(r=!0),r&&(o=!1)}}function Kt(t,e,n){const o=t.ownerDocument||t;if(t instanceof Document)return function(t,e=!1,n=!1){let o=Wt(t);for(;o;)Vt(o,e,n),o=Wt(t)}(o,e,n);jt.get(o)?.has(t)?Yt(t,jt.get(o),e,n):(Xt(jt.get(o)||new Set,e,n),Dt.get(o)?.has(t)&&Yt(t,Dt.get(o),e,n))}var Ut=new WeakMap;function Zt(t){if(!t.isTrusted)return;const e=t.composedPath()[0];if(!e)return;const n=e.ownerDocument;if(!Wt(n))return;const o=function(t){const e=Nt(t),n=function(t){for(;t;){const e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||It(t))instanceof Ht&&(t=t.host),t instanceof Document)return}}(t);return Bt(e)>Bt(n)?e:n}(e);if(o&&"pointerdown"===t.type)Ut.set(n,o);else if("pointerup"===t.type){const t=Ut.get(n)===o;Ut.delete(n),t&&Kt(o||n,!1,!0)}}var te=new WeakMap;function ee(t,e=!1){if(!t)return;te.has(t)||te.set(t,t.getAttribute("aria-expanded"));const n=t.popoverTargetElement;if(n instanceof HTMLElement&&"auto"===n.popover)t.setAttribute("aria-expanded",String(e));else{const e=te.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var ne=globalThis.ShadowRoot||function(){};function oe(t,e,n){const o=t[e];Object.defineProperty(t,e,{value(t){return o.call(this,n(t))}})}var re=/(^|[^\\]):popover-open\b/g;var ie=null;function se(t){const e=function(){const t="function"==typeof globalThis.CSSLayerBlockRule;return`\n${t?"@layer popover-polyfill {":""}\n :where([popover]) {\n position: fixed;\n z-index: 2147483647;\n inset: 0;\n padding: 0.25em;\n width: fit-content;\n height: fit-content;\n border-width: initial;\n border-color: initial;\n border-image: initial;\n border-style: solid;\n background-color: canvas;\n color: canvastext;\n overflow: auto;\n margin: auto;\n }\n\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n\n :where(dialog[popover].\\:popover-open) {\n display: block;\n }\n\n :where(dialog[popover][open]) {\n display: revert;\n }\n\n :where([anchor].\\:popover-open) {\n inset: auto;\n }\n\n :where([anchor]:popover-open) {\n inset: auto;\n }\n\n @supports not (background-color: canvas) {\n :where([popover]) {\n background-color: white;\n color: black;\n }\n }\n\n @supports (width: -moz-fit-content) {\n :where([popover]) {\n width: -moz-fit-content;\n height: -moz-fit-content;\n }\n }\n\n @supports not (inset: 0) {\n :where([popover]) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n${t?"}":""}\n`}();if(null===ie)try{(ie=new CSSStyleSheet).replaceSync(e)}catch{ie=!1}if(!1===ie){const n=document.createElement("style");n.textContent=e,t instanceof Document?t.head.prepend(n):t.prepend(n)}else t.adoptedStyleSheets=[ie,...t.adoptedStyleSheets]}var ae=function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};const ce={"pop-in":function(t){if(t)return t.animate([{transform:"scale(0.9)",opacity:0},{transform:"scale(1)",opacity:1}],{duration:250,easing:"ease-out",fill:"forwards"})}},le=t(class t extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postBeforeShow=n(this,"postBeforeShow"),this.postShow=n(this,"postShow"),this.postHide=n(this,"postHide"),this.postBeforeToggle=n(this,"postBeforeToggle"),this.postToggle=n(this,"postToggle"),this.toggleTimeoutId=null,this.hasOpenedOnce=!0,this.placement="top",this.edgeGap=8,this.arrow=!1,this.animation="pop-in",this.currentAnimation=null,this.boundMouseTrackingHandler=this.mouseTrackingHandler.bind(this)}mouseTrackingHandler(t){this.host.style.setProperty("--post-safe-space-cursor-x",`${t.clientX}px`),this.host.style.setProperty("--post-safe-space-cursor-y",`${t.clientY}px`)}connectedCallback(){"undefined"!=typeof HTMLElement&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){if("undefined"==typeof window)return;function t(t){return t?.includes(":popover-open")&&(t=t.replace(re,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||Mt,oe(Document.prototype,"querySelector",t),oe(Document.prototype,"querySelectorAll",t),oe(Element.prototype,"querySelector",t),oe(Element.prototype,"querySelectorAll",t),oe(Element.prototype,"matches",t),oe(Element.prototype,"closest",t),oe(DocumentFragment.prototype,"querySelectorAll",t),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;const t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"hint"==t?"hint":"manual"},set(t){null===t?this.removeAttribute("popover"):this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(t={}){Qt(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){Vt(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t={}){return"boolean"==typeof t&&(t={force:t}),"showing"===Rt.get(this)&&void 0===t.force||!1===t.force?Vt(this,!0,!0):void 0!==t.force&&!0!==t.force||Qt(this),"showing"===Rt.get(this)}}});const e=Element.prototype.attachShadow;e&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){const n=e.call(this,t);return se(n),n}}});const n=HTMLElement.prototype.attachInternals;n&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){const t=n.call(this);return t.shadowRoot&&se(t.shadowRoot),t}}});const o=new WeakMap;function r(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),o.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),o.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName)return null;if("input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type)return null;if(this.disabled)return null;if(this.form&&"submit"===this.type)return null;const t=o.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return o.delete(this),null;const e=It(this),n=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof ne)&&n&&e.getElementById(n)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){const t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}var i;r(HTMLButtonElement),r(HTMLInputElement),(i=document).addEventListener("click",(t=>{const e=t.composedPath(),n=e[0];if(!(n instanceof Element)||n?.shadowRoot)return;const o=It(n);if(!(o instanceof ne||o instanceof Document))return;const r=e.find((t=>t.matches?.("[popovertargetaction],[popovertarget]")));return r?(function(t){const e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;const n=Ft(e);"show"===t.popoverTargetAction&&"showing"===n||"hide"===t.popoverTargetAction&&"hidden"===n||("showing"===n?Vt(e,!0,!0):Pt(e,!1)&&(zt.set(e,t),Qt(e)))}(r),void t.preventDefault()):void 0})),i.addEventListener("keydown",(t=>{const e=t.key,n=t.target;t.defaultPrevented||!n||"Escape"!==e&&"Esc"!==e||Kt(n.ownerDocument,!0,!0)})),i.addEventListener("pointerdown",Zt),i.addEventListener("pointerup",Zt),se(document)}()}componentDidLoad(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))}disconnectedCallback(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.host.removeEventListener("beforetoggle",this.handleToggle.bind(this))}async show(t){this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.host.showPopover())}async hide(){this.toggleTimeoutId||(this.eventTarget=null,this.host.hidePopover(),this.postHide.emit())}async toggle(t,e){return this.eventTarget=t,this.toggleTimeoutId||(this.calculatePosition(),this.host.togglePopover(e),this.toggleTimeoutId=null),this.host.matches(":where(:popover-open, .popover-open)")}open(){const t=this.host.shadowRoot?.querySelector(".popover-content");if(this.startAutoupdates(),t){const e=ce[this.animation];"function"==typeof e?this.runOpenAnimation(e,t):(this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!0}),this.postShow.emit({first:this.hasOpenedOnce}),this.hasOpenedOnce&&(this.hasOpenedOnce=!1))}this.safeSpace&&globalThis.addEventListener("mousemove",this.boundMouseTrackingHandler)}close(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.safeSpace&&globalThis.removeEventListener("mousemove",this.boundMouseTrackingHandler),this.currentAnimation&&(this.currentAnimation.cancel(),this.currentAnimation=null),this.postBeforeToggle.emit({willOpen:!1}),this.postToggle.emit({isOpen:!1}),this.postHide.emit()}async runOpenAnimation(t,e){let n;try{if(n=t(e),!n)return this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!0}),void this.postShow.emit({first:this.hasOpenedOnce});this.currentAnimation=n,"running"===n.playState&&(this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce})),await n.finished,this.postToggle.emit({isOpen:!0}),this.postShow.emit({first:this.hasOpenedOnce}),this.hasOpenedOnce=!0}catch(t){console.warn("Animation failed or was interrupted:",t),this.postBeforeToggle.emit({willOpen:!1}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!1})}finally{this.currentAnimation===n&&(this.currentAnimation=null)}}handleToggle(t){this.toggleTimeoutId=globalThis.setTimeout((()=>this.toggleTimeoutId=null),10),"open"===t.newState?this.open():this.close()}startAutoupdates(){this.eventTarget&&this.host&&(this.clearAutoUpdate=function(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,l=at(t),u=r||i?[...l?rt(l):[],...e?rt(e):[]]:[];u.forEach((t=>{r&&t.addEventListener("scroll",n,{passive:!0}),i&&t.addEventListener("resize",n)}));const d=l&&a?function(t,e){let n,o=null;const r=B(t);function i(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function s(a,c){void 0===a&&(a=!1),void 0===c&&(c=1),i();const l=t.getBoundingClientRect(),{left:u,top:d,width:m,height:v}=l;if(a||e(),!m||!v)return;const g={rootMargin:-h(d)+"px "+-h(r.clientWidth-(u+m))+"px "+-h(r.clientHeight-(d+v))+"px "+-h(u)+"px",threshold:f(0,p(1,c))||1};let w=!0;function y(e){const o=e[0].intersectionRatio;if(o!==c){if(!w)return s();o?s(!1,o):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==o||bt(l,t.getBoundingClientRect())||s(),w=!1}try{o=new IntersectionObserver(y,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(y,g)}o.observe(t)}(!0),i}(l,n):null;let m,v=-1,g=null;s&&(g=new ResizeObserver((t=>{let[o]=t;o&&o.target===l&&g&&e&&(g.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame((()=>{var t;null==(t=g)||t.observe(e)}))),n()})),l&&!c&&g.observe(l),e&&g.observe(e));let w=c?ft(t):null;return c&&function e(){const o=ft(t);w&&!bt(w,o)&&n(),w=o,m=requestAnimationFrame(e)}(),n(),()=>{var t;u.forEach((t=>{r&&t.removeEventListener("scroll",n),i&&t.removeEventListener("resize",n)})),null==d||d(),null==(t=g)||t.disconnect(),g=null,c&&cancelAnimationFrame(m)}}(this.eventTarget,this.host,this.calculatePosition.bind(this)))}getHeaderHeight(){const t=document.querySelector("post-header");return t?Number.parseFloat(getComputedStyle(t).height):0}async calculatePosition(){const{x:e,y:n,middlewareData:o,placement:r}=await this.computeMainPosition(),i=r.split("-")[0];if(this.dynamicPlacement=i,this.host.style.left=`${e}px`,this.host.style.top=`${n}px`,this.arrow&&o.arrow){const{x:e,y:n}=o.arrow,r=t.STATIC_SIDES[i],s=-.5*this.arrowRef.offsetWidth;r&&Object.assign(this.arrowRef.style,{left:e?`${e}px`:"",top:n?`${n}px`:"",[r]:`${s}px`})}this.safeSpace&&this.eventTarget&&await this.updateSafeSpaceBoundaries(i)}async computeMainPosition(){const t=this.edgeGap,e=(this.placement||"top").includes("-"),n=kt({padding:this.getHeaderHeight(),crossAxis:!1}),o=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r,platform:i}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...l}=g(t,e),p={x:n,y:o},f=await i.detectOverflow(e,l),u=S(w(r)),h=x(u);let d=p[h],m=p[u];s&&(d=v(d+f["y"===h?"top":"left"],d,d-f["y"===h?"bottom":"right"])),a&&(m=v(m+f["y"===u?"top":"left"],m,m-f["y"===u?"bottom":"right"]));const y=c.fn({...e,[h]:d,[u]:m});return{...y,data:{x:y.x-n,y:y.y-o,enabled:{[h]:s,[u]:a}}}}}}({padding:t,limiter:(i={offset:32},void 0===i&&(i={}),{options:i,fn(t){const{x:e,y:n,placement:o,rects:r,middlewareData:s}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=g(i,t),p={x:e,y:n},f=S(o),u=x(f);let h=p[u],d=p[f];const m=g(a,t),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const t="y"===u?"height":"width",e=r.reference[u]-r.floating[t]+v.mainAxis,n=r.reference[u]+r.reference[t]-v.mainAxis;h<e?h=e:h>n&&(h=n)}if(l){var y,b;const t="y"===u?"width":"height",e=F.has(w(o)),n=r.reference[f]-r.floating[t]+(e&&(null==(y=s.offset)?void 0:y[f])||0)+(e?0:v.crossAxis),i=r.reference[f]+r.reference[t]+(e?0:(null==(b=s.offset)?void 0:b[f])||0)-(e?v.crossAxis:0);d<n?d=n:d>i&&(d=i)}return{[u]:h,[f]:d}}})}),r=[St(this.offset??(this.arrow?t+4:t)),Tt(),...e?[n,o]:[o,n],Et({apply({availableWidth:e,availableHeight:n,elements:o}){o.floating.style.maxWidth=e-2*t+"px",o.floating.style.setProperty("--post-popovercontainer-available-height",n-2*t+"px")}})];var i;return this.arrow&&r.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:a,middlewareData:c}=e,{element:l,padding:f=0}=g(t,e)||{};if(null==l)return{};const u=L(f),h={x:n,y:o},d=k(r),m=b(d),w=await s.getDimensions(l),x="y"===d,S=x?"top":"left",E=x?"bottom":"right",T=x?"clientHeight":"clientWidth",M=i.reference[m]+i.reference[d]-h[d]-i.floating[m],A=h[d]-i.reference[d],O=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let H=O?O[T]:0;H&&await(null==s.isElement?void 0:s.isElement(O))||(H=a.floating[T]||i.floating[m]);const $=M/2-A/2,D=H/2-w[m]/2-1,j=p(u[S],D),R=p(u[E],D),F=j,z=H-w[m]-R,C=H/2-w[m]/2+$,P=v(F,C,z),B=!c.arrow&&null!=y(r)&&C!==P&&i.reference[m]/2-(C<F?j:R)-w[m]/2<0,W=B?C<F?C-F:C-z:0;return{[d]:h[d]+W,data:{[d]:P,centerOffset:C-P-W,...B&&{alignmentOffset:W}},reset:B}}}))({element:this.arrowRef,padding:t})),((t,e,n)=>{const o=new Map,r={platform:xt,...n},i={...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=s.detectOverflow?s:{...s,detectOverflow:j},c=await(null==s.isRTL?void 0:s.isRTL(e));let l=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=D(l,o,c),u=o,h=0;const d={};for(let n=0;n<i.length;n++){const m=i[n];if(!m)continue;const{name:v,fn:g}=m,{x:w,y,data:x,reset:b}=await g({x:p,y:f,initialPlacement:o,placement:u,strategy:r,middlewareData:d,rects:l,platform:a,elements:{reference:t,floating:e}});p=null!=w?w:p,f=null!=y?y:f,d[v]={...d[v],...x},b&&h<50&&(h++,"object"==typeof b&&(b.placement&&(u=b.placement),b.rects&&(l=!0===b.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):b.rects),({x:p,y:f}=D(l,u,c))),n=-1)}return{x:p,y:f,placement:u,strategy:r,middlewareData:d}})(t,e,{...r,platform:i})})(this.eventTarget,this.host,{placement:this.placement||"top",strategy:"fixed",middleware:r})}async updateSafeSpaceBoundaries(e){const n=this.eventTarget.getBoundingClientRect(),o="top"===e||"bottom"===e,r=((t,e,n)=>"top"===t||"bottom"===t?{popover:{y:"top"===t?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:"top"===t?n.top:n.bottom,xStart:n.left,xEnd:n.right}}:{popover:{x:"left"===t?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:"left"===t?n.left:n.right,yStart:n.top,yEnd:n.bottom}})(e,this.host.getBoundingClientRect(),n);t.PROPERTIES_TO_CLEAR.forEach((t=>{this.host.style.removeProperty(t)})),o?(this.host.style.setProperty("--post-safe-space-popover-y",`${r.popover.y}px`),this.host.style.setProperty("--post-safe-space-popover-x-start",`${r.popover.xStart}px`),this.host.style.setProperty("--post-safe-space-popover-x-end",`${r.popover.xEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-y",`${r.trigger.y}px`),this.host.style.setProperty("--post-safe-space-trigger-x-start",`${r.trigger.xStart}px`),this.host.style.setProperty("--post-safe-space-trigger-x-end",`${r.trigger.xEnd}px`)):(this.host.style.setProperty("--post-safe-space-popover-x",`${r.popover.x}px`),this.host.style.setProperty("--post-safe-space-popover-y-start",`${r.popover.yStart}px`),this.host.style.setProperty("--post-safe-space-popover-y-end",`${r.popover.yEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-x",`${r.trigger.x}px`),this.host.style.setProperty("--post-safe-space-trigger-y-start",`${r.trigger.yStart}px`),this.host.style.setProperty("--post-safe-space-trigger-y-end",`${r.trigger.yEnd}px`))}render(){return o(r,{key:"468af4ce773ab7c5d4feb4320c33175347ceca3d","data-version":s,popover:"auto"},o("div",{key:"f8a78f27bf46079134b75d468b44ad40d15a0001",part:"post-popovercontainer-content",class:"popover-content"},this.arrow&&o("span",{key:"9d92eaec690d67bdbf3b991274c2351744628519","dynamic-placement":this.dynamicPlacement,class:"arrow",ref:t=>{this.arrowRef=t}}),o("span",{key:"a1dd28b0ddd3af5792199f47e7a921eb14b86f93",part:"post-popovercontainer-border-mask"}),o("div",{key:"94e84d35042983d832d6f0e9f8c01b68428d1401",class:"popover-scroll"},o("slot",{key:"28909f395a3ed25f489458f94de79c3c1ae309c9"}))))}get host(){return this}static get style(){return'@layer polyfill{@supports not selector(:popover-open){:host([popover]:not(.\\:popover-open)){display:none}}}:host{background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;margin:0;padding:0;overflow:visible}:host>div{box-shadow:var(--post-device-elevation-300);width:max-content;max-width:100%;color:var(--post-current-fg);background-color:var(--post-current-bg);border-radius:4px;position:relative}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host>div{border:2px solid rgba(0,0,0,0)}}:host .popover-scroll{max-height:var(--post-popovercontainer-available-height, none);overflow-y:auto}:host [part=post-popovercontainer-border-mask]{display:none;position:absolute;inset:0;border-radius:4px;pointer-events:none}:host .arrow{--post-popovercontainer-arrow-border: var(--post-popovercontainer-arrow-border-width, 0px) solid var(--post-popovercontainer-arrow-border-color, transparent);position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:host .arrow[dynamic-placement=top]{border-bottom-right-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=right]{border-bottom-left-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=bottom]{border-top-left-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=left]{border-top-right-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .arrow[dynamic-placement=top]{border-block-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);bottom:-0.3796735336rem !important}:host .arrow[dynamic-placement=left]{border-block-start:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);right:-0.3796735336rem !important}:host .arrow[dynamic-placement=right]{border-block-end:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);left:-0.3796735336rem !important}:host .arrow[dynamic-placement=bottom]{border-block-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);top:-0.3796735336rem !important}}:host([tooltip]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:host([safe-space])::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto}:host([safe-space=triangle])::after{clip-path:polygon(var(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)))}:host([safe-space=trapezoid])::after{clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)))}:host(:not(:has(.arrow)))>div{box-shadow:var(--post-device-elevation-300)}:host(:has(.arrow))>div{filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=top]))>div{filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=left]))>div{filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=right]))>div{filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15))}'}},[257,"post-popovercontainer",{placement:[1],edgeGap:[2,"edge-gap"],offset:[2],arrow:[4],safeSpace:[513,"safe-space"],dynamicPlacement:[32],show:[64],hide:[64],toggle:[64]}]);function pe(){"undefined"!=typeof customElements&&["post-popovercontainer"].forEach((t=>{"post-popovercontainer"===t&&(customElements.get(i(t))||customElements.define(i(t),le))}))}le.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"},le.PROPERTIES_TO_CLEAR=["--post-safe-space-popover-x","--post-safe-space-popover-y","--post-safe-space-popover-x-start","--post-safe-space-popover-x-end","--post-safe-space-popover-y-start","--post-safe-space-popover-y-end","--post-safe-space-trigger-x","--post-safe-space-trigger-y","--post-safe-space-trigger-x-start","--post-safe-space-trigger-x-end","--post-safe-space-trigger-y-start","--post-safe-space-trigger-y-end"],ae([a(l)],le.prototype,"placement",void 0),ae([c("number")],le.prototype,"edgeGap",void 0),ae([a(["triangle","trapezoid"])],le.prototype,"safeSpace",void 0),pe();export{le as P,l as a,pe as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as r,g as t}from"./p-Bji_4dfL.js";function o(o){return r({priority:1,blocking:!1,run(r,n){const{value:s,showError:i}=t(r,n);return!("string"!=typeof s||!o.test(s))||(i(`must match ${o}`),!1)}})}export{o as P}
|