@swisspost/design-system-components 9.0.0 → 10.0.0-next.37
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/.config/bindings.angular.js +4 -0
- package/dist/cjs/breakpoints-cdf1b747.js +59 -0
- package/dist/cjs/check-non-empty-bd99d236.js +15 -0
- package/dist/cjs/check-one-of-75d270b5.js +13 -0
- package/dist/cjs/check-type-cdbf6d29.js +21 -0
- package/dist/cjs/check-url-220a286c.js +19 -0
- package/dist/cjs/event-guard-efabc84f.js +47 -0
- package/dist/cjs/fade-72d5ef55.js +14 -0
- package/dist/cjs/get-root-8102fecd.js +17 -0
- package/dist/cjs/index-23e36ff7.js +37 -0
- package/dist/cjs/{index-e1f32cce.js → index-b60129c4.js} +35 -15
- package/dist/cjs/index.browser-4af21c17.js +16 -0
- package/dist/cjs/index.cjs.js +57 -28
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/long-press-event-6e62d113.js +266 -0
- package/dist/cjs/{package-3ed88bb9.js → package-8121f093.js} +1 -1
- package/dist/cjs/{post-accordion-9ef382e8.js → post-accordion-beac7c9f.js} +11 -12
- package/dist/cjs/post-accordion-item-4846fbee.js +64 -0
- package/dist/cjs/post-accordion-item.cjs.entry.js +10 -6
- package/dist/cjs/post-accordion.cjs.entry.js +6 -4
- package/dist/cjs/post-avatar-a36991fb.js +145 -0
- package/dist/cjs/post-avatar.cjs.entry.js +14 -0
- package/dist/cjs/post-back-to-top-32aa9017.js +96 -0
- package/dist/cjs/post-back-to-top.cjs.entry.js +16 -0
- package/dist/cjs/post-banner-be0e8909.js +92 -0
- package/dist/cjs/post-banner.cjs.entry.js +20 -0
- package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +18 -0
- package/dist/cjs/post-breadcrumbs-6ef82a41.js +120 -0
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +13 -0
- package/dist/cjs/post-card-control-fe919333.js +269 -0
- package/dist/cjs/post-card-control.cjs.entry.js +6 -5
- package/dist/cjs/post-closebutton_15.cjs.entry.js +36 -0
- package/dist/cjs/{post-collapsible-trigger-1764e6dc.js → post-collapsible-trigger-f42be607.js} +62 -76
- package/dist/cjs/post-collapsible_2.cjs.entry.js +11 -7
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-footer-5179aa17.js +38 -0
- package/dist/cjs/post-footer.cjs.entry.js +12 -0
- package/dist/cjs/post-linkarea-27125078.js +30 -0
- package/dist/cjs/post-linkarea.cjs.entry.js +11 -0
- package/dist/cjs/post-menu-item-d78a9121.js +68 -0
- package/dist/cjs/post-popover-feb1e773.js +135 -0
- package/dist/cjs/post-popover.cjs.entry.js +4 -3
- package/dist/cjs/{post-rating-d5073d8d.js → post-rating-6d153a2c.js} +4 -4
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/post-tab-header-e4532918.js +34 -0
- package/dist/cjs/post-tab-header.cjs.entry.js +6 -4
- package/dist/cjs/{post-tab-panel-97b79ecd.js → post-tab-panel-40df21ad.js} +5 -4
- package/dist/cjs/post-tab-panel.cjs.entry.js +4 -3
- package/dist/cjs/{post-tabs-834497f2.js → post-tabs-45db2696.js} +14 -16
- package/dist/cjs/post-tabs.cjs.entry.js +5 -4
- package/dist/cjs/post-tag-0967bb1e.js +47 -0
- package/dist/cjs/post-tag.cjs.entry.js +3 -3
- package/dist/cjs/post-togglebutton-42b7d166.js +4494 -0
- package/dist/cjs/{post-tooltip-20ebe011.js → post-tooltip-f833d51d.js} +10 -6
- package/dist/cjs/{post-tooltip-trigger-6f4c9748.js → post-tooltip-trigger-3ceac010.js} +17 -280
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +5 -4
- package/dist/cjs/post-tooltip.cjs.entry.js +5 -4
- package/dist/cjs/slide-cd1f09b3.js +28 -0
- package/dist/collection/animations/collapse.js +8 -6
- package/dist/collection/animations/fade.js +6 -2
- package/dist/collection/animations/slide.js +23 -0
- package/dist/collection/collection-manifest.json +22 -3
- package/dist/collection/components/post-accordion/post-accordion.css +1 -1
- package/dist/collection/components/post-accordion/post-accordion.js +8 -10
- package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +30 -16
- package/dist/collection/components/post-avatar/post-avatar.css +1 -0
- package/dist/collection/components/post-avatar/post-avatar.js +233 -0
- package/dist/collection/components/post-back-to-top/post-back-to-top.css +1 -0
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +127 -0
- package/dist/collection/components/post-banner/banner-types.js +1 -0
- package/dist/collection/components/post-banner/post-banner.css +1 -0
- package/dist/collection/components/{post-alert/post-alert.js → post-banner/post-banner.js} +44 -72
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -0
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +96 -0
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -0
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +160 -0
- package/dist/collection/components/post-card-control/post-card-control.css +1 -31
- package/dist/collection/components/post-card-control/post-card-control.js +20 -24
- package/dist/collection/components/post-closebutton/post-closebutton.css +1 -0
- package/dist/collection/components/post-closebutton/post-closebutton.js +23 -0
- package/dist/collection/components/post-collapsible/post-collapsible.css +1 -1
- package/dist/collection/components/post-collapsible/post-collapsible.js +6 -3
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +43 -45
- package/dist/collection/components/post-footer/post-footer.css +1 -0
- package/dist/collection/components/post-footer/post-footer.js +75 -0
- package/dist/collection/components/post-header/post-header.css +1 -0
- package/dist/collection/components/post-header/post-header.js +320 -0
- package/dist/collection/components/post-icon/post-icon.js +58 -55
- package/dist/collection/components/post-language-option/post-language-option.css +1 -0
- package/dist/collection/components/post-language-option/post-language-option.js +237 -0
- package/dist/collection/components/post-language-switch/post-language-switch.css +1 -0
- package/dist/collection/components/post-language-switch/post-language-switch.js +186 -0
- package/dist/collection/components/post-language-switch/switch-variants.js +1 -0
- package/dist/collection/components/post-linkarea/post-linkarea.css +1 -0
- package/dist/collection/components/post-linkarea/post-linkarea.js +30 -0
- package/dist/collection/components/post-list/post-list.css +1 -0
- package/dist/collection/components/post-list/post-list.js +88 -0
- package/dist/collection/components/post-list-item/post-list-item.css +1 -0
- package/dist/collection/components/post-list-item/post-list-item.js +26 -0
- package/dist/collection/components/post-logo/post-logo.css +1 -1
- package/dist/collection/components/post-logo/post-logo.js +2 -2
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.css +1 -0
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +184 -0
- package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -0
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +275 -0
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -0
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +133 -0
- package/dist/collection/components/post-menu/post-menu.css +1 -0
- package/dist/collection/components/post-menu/post-menu.js +294 -0
- package/dist/collection/components/post-menu-item/post-menu-item.js +8 -0
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.css +1 -0
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +120 -0
- package/dist/collection/components/post-popover/post-popover.css +1 -31
- package/dist/collection/components/post-popover/post-popover.js +16 -13
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -31
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +39 -6
- package/dist/collection/components/post-rating/post-rating.css +1 -31
- package/dist/collection/components/post-rating/post-rating.js +1 -1
- package/dist/collection/components/post-tab-header/post-tab-header.css +1 -31
- package/dist/collection/components/post-tab-header/post-tab-header.js +6 -5
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +4 -3
- package/dist/collection/components/post-tabs/post-tabs.css +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +7 -15
- package/dist/collection/components/post-tag/post-tag.css +1 -31
- package/dist/collection/components/post-tag/post-tag.js +2 -2
- package/dist/collection/components/post-togglebutton/post-togglebutton.css +1 -0
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +74 -0
- package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.js +6 -3
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +14 -14
- package/dist/collection/index.js +21 -2
- package/dist/collection/utils/attribute-observer.js +6 -5
- package/dist/collection/utils/breakpoints.js +52 -0
- package/dist/collection/utils/component-on-ready.js +4 -4
- package/dist/collection/utils/debounce.js +2 -1
- package/dist/collection/utils/environment.js +2 -0
- package/dist/collection/utils/event-guard.js +43 -0
- package/dist/collection/utils/get-focusable-children.js +33 -0
- package/dist/collection/utils/get-root.js +6 -1
- package/dist/collection/utils/index.js +5 -0
- package/dist/collection/utils/is-motion-reduced.js +2 -1
- package/dist/collection/utils/property-checkers/check-non-empty.js +6 -2
- package/dist/collection/utils/property-checkers/check-one-of.js +8 -3
- package/dist/collection/utils/property-checkers/check-pattern.js +8 -3
- package/dist/collection/utils/property-checkers/check-type.js +11 -6
- package/dist/collection/utils/property-checkers/check-url.js +11 -6
- package/dist/collection/utils/property-checkers/empty-or.js +5 -2
- package/dist/collection/utils/sass-export.js +8 -5
- package/dist/components/breakpoints.js +56 -0
- package/dist/components/check-non-empty.js +6 -2
- package/dist/components/check-one-of.js +8 -3
- package/dist/components/check-type.js +11 -6
- package/dist/components/event-guard.js +45 -0
- package/dist/components/fade.js +6 -2
- package/dist/components/get-focusable-children.js +35 -0
- package/dist/components/get-root.js +15 -0
- package/dist/components/index.browser.js +14 -0
- package/dist/components/index.js +21 -2
- package/dist/components/index2.js +25 -12
- package/dist/components/long-press-event.js +264 -0
- package/dist/components/package.js +1 -1
- package/dist/components/post-accordion-item2.js +37 -18
- package/dist/components/post-accordion2.js +8 -9
- package/dist/components/post-avatar.d.ts +11 -0
- package/dist/components/post-avatar.js +6 -0
- package/dist/components/post-avatar2.js +170 -0
- package/dist/components/post-back-to-top.d.ts +11 -0
- package/dist/components/post-back-to-top.js +6 -0
- package/dist/components/post-back-to-top2.js +121 -0
- package/dist/components/post-banner.d.ts +11 -0
- package/dist/components/post-banner.js +6 -0
- package/dist/components/post-banner2.js +127 -0
- package/dist/components/post-breadcrumb-item.d.ts +11 -0
- package/dist/components/post-breadcrumb-item.js +6 -0
- package/dist/components/post-breadcrumb-item2.js +82 -0
- package/dist/components/post-breadcrumbs.d.ts +11 -0
- package/dist/components/post-breadcrumbs.js +6 -0
- package/dist/components/post-breadcrumbs2.js +177 -0
- package/dist/components/post-card-control2.js +16 -19
- package/dist/components/post-closebutton.d.ts +11 -0
- package/dist/components/post-closebutton.js +6 -0
- package/dist/components/post-closebutton2.js +39 -0
- package/dist/components/post-collapsible-trigger2.js +47 -64
- package/dist/components/post-collapsible2.js +17 -12
- package/dist/components/post-footer.d.ts +11 -0
- package/dist/components/post-footer.js +6 -0
- package/dist/components/post-footer2.js +78 -0
- package/dist/components/post-header.d.ts +11 -0
- package/dist/components/post-header.js +6 -0
- package/dist/components/post-header2.js +399 -0
- package/dist/components/post-icon2.js +59 -55
- package/dist/components/post-language-option.d.ts +11 -0
- package/dist/components/post-language-option.js +6 -0
- package/dist/components/post-language-option2.js +103 -0
- package/dist/components/post-language-switch.d.ts +11 -0
- package/dist/components/post-language-switch.js +6 -0
- package/dist/components/post-language-switch2.js +145 -0
- package/dist/components/post-linkarea.d.ts +11 -0
- package/dist/components/post-linkarea.js +6 -0
- package/dist/components/post-linkarea2.js +43 -0
- package/dist/components/post-list-item.d.ts +11 -0
- package/dist/components/post-list-item.js +6 -0
- package/dist/components/post-list-item2.js +36 -0
- package/dist/components/{post-alert.d.ts → post-list.d.ts} +4 -4
- package/dist/components/post-list.js +6 -0
- package/dist/components/post-list2.js +54 -0
- package/dist/components/post-logo2.js +4 -3
- package/dist/components/post-mainnavigation.d.ts +11 -0
- package/dist/components/post-mainnavigation.js +6 -0
- package/dist/components/post-mainnavigation2.js +183 -0
- package/dist/components/post-megadropdown-trigger.d.ts +11 -0
- package/dist/components/post-megadropdown-trigger.js +6 -0
- package/dist/components/post-megadropdown-trigger2.js +121 -0
- package/dist/components/post-megadropdown.d.ts +11 -0
- package/dist/components/post-megadropdown.js +6 -0
- package/dist/components/post-megadropdown2.js +190 -0
- package/dist/components/post-menu-item.d.ts +11 -0
- package/dist/components/post-menu-item.js +6 -0
- package/dist/components/post-menu-item2.js +27 -0
- package/dist/components/post-menu-trigger.d.ts +11 -0
- package/dist/components/post-menu-trigger.js +6 -0
- package/dist/components/post-menu-trigger2.js +109 -0
- package/dist/components/post-menu.d.ts +11 -0
- package/dist/components/post-menu.js +6 -0
- package/dist/components/post-menu2.js +192 -0
- package/dist/components/post-popover2.js +20 -16
- package/dist/components/post-popovercontainer2.js +788 -73
- package/dist/components/post-rating2.js +2 -2
- package/dist/components/post-tab-header2.js +8 -6
- package/dist/components/post-tab-panel2.js +4 -3
- package/dist/components/post-tabs2.js +11 -13
- package/dist/components/post-tag2.js +2 -2
- package/dist/components/post-togglebutton.d.ts +11 -0
- package/dist/components/post-togglebutton.js +6 -0
- package/dist/components/post-togglebutton2.js +62 -0
- package/dist/components/post-tooltip-trigger2.js +14 -277
- package/dist/components/post-tooltip2.js +7 -3
- package/dist/components/slide.js +25 -0
- package/dist/docs.json +1977 -287
- package/dist/esm/breakpoints-7812702e.js +56 -0
- package/dist/esm/check-non-empty-258a56b3.js +13 -0
- package/dist/esm/check-one-of-0bee20f5.js +11 -0
- package/dist/esm/check-type-37d5d307.js +19 -0
- package/dist/esm/check-url-17962bc8.js +17 -0
- package/dist/esm/event-guard-538ee077.js +45 -0
- package/dist/esm/fade-1f3cacf4.js +11 -0
- package/dist/esm/get-root-1b1af46f.js +15 -0
- package/dist/esm/index-8f8fe5b0.js +32 -0
- package/dist/esm/{index-e1b64755.js → index-f4d19816.js} +35 -15
- package/dist/esm/index.browser-ff103197.js +14 -0
- package/dist/esm/index.js +33 -23
- package/dist/esm/loader.js +3 -3
- package/dist/esm/long-press-event-04d24397.js +264 -0
- package/dist/esm/package-d9237b44.js +3 -0
- package/dist/esm/{post-accordion-ad570427.js → post-accordion-fdcf7205.js} +11 -12
- package/dist/esm/post-accordion-item-e11e3804.js +62 -0
- package/dist/esm/post-accordion-item.entry.js +10 -6
- package/dist/esm/post-accordion.entry.js +6 -4
- package/dist/esm/post-avatar-d360c6d2.js +143 -0
- package/dist/esm/post-avatar.entry.js +6 -0
- package/dist/esm/post-back-to-top-85796c8b.js +94 -0
- package/dist/esm/post-back-to-top.entry.js +8 -0
- package/dist/esm/post-banner-a3090f67.js +90 -0
- package/dist/esm/post-banner.entry.js +12 -0
- package/dist/esm/post-breadcrumb-item_2.entry.js +9 -0
- package/dist/esm/post-breadcrumbs-15ec5a26.js +118 -0
- package/dist/esm/post-breadcrumbs.entry.js +5 -0
- package/dist/esm/post-card-control-6142534e.js +267 -0
- package/dist/esm/post-card-control.entry.js +6 -5
- package/dist/esm/post-closebutton_15.entry.js +14 -0
- package/dist/esm/{post-collapsible-trigger-45fe328a.js → post-collapsible-trigger-68306358.js} +62 -76
- package/dist/esm/post-collapsible_2.entry.js +11 -7
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-footer-d2a3270e.js +36 -0
- package/dist/esm/post-footer.entry.js +4 -0
- package/dist/esm/post-linkarea-64998c67.js +28 -0
- package/dist/esm/post-linkarea.entry.js +3 -0
- package/dist/esm/post-menu-item-95a0a647.js +65 -0
- package/dist/esm/post-popover-c5f81087.js +133 -0
- package/dist/esm/post-popover.entry.js +4 -3
- package/dist/esm/{post-rating-f60024fa.js → post-rating-7bfedafb.js} +4 -4
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/post-tab-header-08033da4.js +32 -0
- package/dist/esm/post-tab-header.entry.js +6 -4
- package/dist/esm/{post-tab-panel-0ddb05a2.js → post-tab-panel-be701793.js} +5 -4
- package/dist/esm/post-tab-panel.entry.js +4 -3
- package/dist/esm/{post-tabs-ab7853cf.js → post-tabs-c69e2842.js} +14 -16
- package/dist/esm/post-tabs.entry.js +5 -4
- package/dist/esm/post-tag-ebac7f3e.js +45 -0
- package/dist/esm/post-tag.entry.js +3 -3
- package/dist/esm/post-togglebutton-706e3af0.js +4478 -0
- package/dist/esm/{post-tooltip-c03cd719.js → post-tooltip-9a195d47.js} +10 -6
- package/dist/esm/{post-tooltip-trigger-1fefc8ad.js → post-tooltip-trigger-7d6f234b.js} +17 -280
- package/dist/esm/post-tooltip-trigger.entry.js +5 -4
- package/dist/esm/post-tooltip.entry.js +5 -4
- package/dist/esm/slide-cd2850ee.js +25 -0
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-034715ec.js +1 -0
- package/dist/post-components/p-0717fe4c.js +1 -0
- package/dist/post-components/p-0889c759.js +1 -0
- package/dist/post-components/p-0c03547b.js +1 -0
- package/dist/post-components/p-0de8d05f.js +1 -0
- package/dist/post-components/p-1373a79b.entry.js +1 -0
- package/dist/post-components/p-17dc4170.js +8 -0
- package/dist/post-components/p-181c73d5.js +1 -0
- package/dist/post-components/p-1a21fd8d.js +1 -0
- package/dist/post-components/p-1ab3eba4.entry.js +1 -0
- package/dist/post-components/p-2d6c0670.js +1 -0
- package/dist/post-components/p-2dc0a2d0.js +1 -0
- package/dist/post-components/p-35ad2e11.entry.js +1 -0
- package/dist/post-components/p-368c473a.js +1 -0
- package/dist/post-components/p-38f778a7.entry.js +1 -0
- package/dist/post-components/p-39a8df3c.entry.js +1 -0
- package/dist/post-components/p-3c7f6003.js +1 -0
- package/dist/post-components/p-474a41bc.entry.js +1 -0
- package/dist/post-components/p-64e3de38.js +1 -0
- package/dist/post-components/p-69bc8eaf.entry.js +1 -0
- package/dist/post-components/p-6b31a76a.js +1 -0
- package/dist/post-components/p-722ffaae.js +1 -0
- package/dist/post-components/p-72310bf0.entry.js +1 -0
- package/dist/post-components/p-7709c14a.js +1 -0
- package/dist/post-components/p-804b61b7.entry.js +1 -0
- package/dist/post-components/p-85fdc2d3.js +1 -0
- package/dist/post-components/p-89247caa.js +1 -0
- package/dist/post-components/p-89dc67c7.entry.js +1 -0
- package/dist/post-components/p-8db32dab.js +8 -0
- package/dist/post-components/p-8f7f5200.entry.js +1 -0
- package/dist/post-components/p-964f9581.js +1 -0
- package/dist/post-components/p-9b052461.js +1 -0
- package/dist/post-components/{p-3eab790d.js → p-9e461613.js} +2 -2
- package/dist/post-components/p-a52b2d34.js +1 -0
- package/dist/post-components/p-ab566526.js +1 -0
- package/dist/post-components/p-b648e537.entry.js +1 -0
- package/dist/post-components/p-bc33a6d9.js +1 -0
- package/dist/post-components/p-bcfdbd0b.entry.js +1 -0
- package/dist/post-components/p-beb67979.js +1 -0
- package/dist/post-components/p-c41868b1.js +1 -0
- package/dist/post-components/p-c65f32b0.js +1 -0
- package/dist/post-components/p-c71700a7.js +1 -0
- package/dist/post-components/p-cb027003.js +1 -0
- package/dist/post-components/p-cc5b1437.js +1 -0
- package/dist/post-components/p-ceda889e.entry.js +1 -0
- package/dist/post-components/p-d45df336.js +1 -0
- package/dist/post-components/p-de4d4274.js +1 -0
- package/dist/post-components/p-deb9efcf.entry.js +1 -0
- package/dist/post-components/p-e585c6fe.js +1 -0
- package/dist/post-components/p-e9f1cc46.entry.js +1 -0
- package/dist/post-components/p-ee4e776d.entry.js +1 -0
- package/dist/post-components/p-ee7c3bcc.entry.js +1 -0
- package/dist/post-components/p-f56482fa.entry.js +1 -0
- package/dist/post-components/p-f8c652ce.entry.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/animations/collapse.d.ts +2 -2
- package/dist/types/animations/fade.d.ts +2 -2
- package/dist/types/animations/slide.d.ts +2 -0
- package/dist/types/components/post-accordion/post-accordion.d.ts +1 -1
- package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +8 -2
- package/dist/types/components/post-avatar/post-avatar.d.ts +51 -0
- package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +21 -0
- package/dist/types/components/post-banner/banner-types.d.ts +2 -0
- package/dist/types/components/post-banner/post-banner.d.ts +49 -0
- package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +20 -0
- package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +30 -0
- package/dist/types/components/post-card-control/post-card-control.d.ts +9 -9
- package/dist/types/components/post-closebutton/post-closebutton.d.ts +7 -0
- package/dist/types/components/post-collapsible-trigger/post-collapsible-trigger.d.ts +9 -14
- package/dist/types/components/post-footer/post-footer.d.ts +23 -0
- package/dist/types/components/post-header/post-header.d.ts +52 -0
- package/dist/types/components/post-icon/post-icon.d.ts +10 -6
- package/dist/types/components/post-language-option/post-language-option.d.ts +49 -0
- package/dist/types/components/post-language-switch/post-language-switch.d.ts +39 -0
- package/dist/types/components/post-language-switch/switch-variants.d.ts +2 -0
- package/dist/types/components/post-linkarea/post-linkarea.d.ts +5 -0
- package/dist/types/components/post-list/post-list.d.ts +24 -0
- package/dist/types/components/post-list-item/post-list-item.d.ts +8 -0
- package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +46 -0
- package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +59 -0
- package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +33 -0
- package/dist/types/components/post-menu/post-menu.d.ts +49 -0
- package/dist/types/components/post-menu-item/post-menu-item.d.ts +3 -0
- package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +28 -0
- package/dist/types/components/post-popover/post-popover.d.ts +6 -4
- package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +9 -1
- package/dist/types/components/post-tab-header/post-tab-header.d.ts +1 -1
- package/dist/types/components/post-tabs/post-tabs.d.ts +1 -1
- package/dist/types/components/post-tag/post-tag.d.ts +2 -2
- package/dist/types/components/post-togglebutton/post-togglebutton.d.ts +15 -0
- package/dist/types/components/post-tooltip/post-tooltip.d.ts +1 -0
- package/dist/types/components/post-tooltip-trigger/post-tooltip-trigger.d.ts +0 -1
- package/dist/types/components.d.ts +603 -50
- package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/.config/bindings.angular.d.ts +2 -0
- package/dist/types/index.d.ts +22 -3
- package/dist/types/popover-fn.d.ts +11 -0
- package/dist/types/utils/attribute-observer.d.ts +1 -1
- package/dist/types/utils/breakpoints.d.ts +12 -0
- package/dist/types/utils/component-on-ready.d.ts +1 -1
- package/dist/types/utils/environment.d.ts +2 -0
- package/dist/types/utils/event-guard.d.ts +4 -0
- package/dist/types/utils/get-focusable-children.d.ts +1 -0
- package/dist/types/utils/get-root.d.ts +5 -1
- package/dist/types/utils/index.d.ts +5 -0
- package/dist/types/utils/property-checkers/check-non-empty.d.ts +3 -1
- package/dist/types/utils/property-checkers/check-one-of.d.ts +3 -1
- package/dist/types/utils/property-checkers/check-pattern.d.ts +3 -1
- package/dist/types/utils/property-checkers/check-type.d.ts +3 -1
- package/dist/types/utils/property-checkers/check-url.d.ts +3 -1
- package/dist/types/utils/property-checkers/index.d.ts +12 -4
- package/dist/types/utils/sass-export.d.ts +5 -1
- package/loaders/breakpoints.js +56 -0
- package/loaders/check-non-empty.js +6 -2
- package/loaders/check-one-of.js +8 -3
- package/loaders/check-type.js +11 -6
- package/loaders/event-guard.js +45 -0
- package/loaders/fade.js +6 -2
- package/loaders/get-focusable-children.js +35 -0
- package/loaders/get-root.js +15 -0
- package/loaders/index.browser.js +14 -0
- package/loaders/index.d.ts +40 -2
- package/loaders/index.js +22 -2
- package/loaders/index2.js +25 -12
- package/loaders/long-press-event.js +264 -0
- package/loaders/package.js +1 -1
- package/loaders/post-accordion-item.js +1 -82
- package/loaders/post-accordion-item2.js +103 -0
- package/loaders/post-accordion.js +8 -9
- package/loaders/post-avatar.d.ts +11 -0
- package/loaders/post-avatar.js +173 -0
- package/loaders/post-back-to-top.d.ts +11 -0
- package/loaders/post-back-to-top.js +124 -0
- package/loaders/post-banner.d.ts +11 -0
- package/loaders/post-banner.js +130 -0
- package/loaders/post-breadcrumb-item.d.ts +11 -0
- package/loaders/post-breadcrumb-item.js +6 -0
- package/loaders/post-breadcrumb-item2.js +82 -0
- package/loaders/post-breadcrumbs.d.ts +11 -0
- package/loaders/post-breadcrumbs.js +180 -0
- package/loaders/post-card-control.js +16 -19
- package/loaders/post-closebutton.d.ts +11 -0
- package/loaders/post-closebutton.js +42 -0
- package/loaders/post-collapsible-trigger2.js +47 -64
- package/loaders/post-collapsible2.js +16 -11
- package/loaders/post-footer.d.ts +11 -0
- package/loaders/post-footer.js +81 -0
- package/loaders/post-header.d.ts +11 -0
- package/loaders/post-header.js +402 -0
- package/loaders/post-icon2.js +59 -55
- package/loaders/post-language-option.d.ts +11 -0
- package/loaders/post-language-option.js +106 -0
- package/loaders/post-language-switch.d.ts +11 -0
- package/loaders/post-language-switch.js +148 -0
- package/loaders/post-linkarea.d.ts +11 -0
- package/loaders/post-linkarea.js +46 -0
- package/loaders/post-list-item.d.ts +11 -0
- package/loaders/post-list-item.js +39 -0
- package/loaders/{post-alert.d.ts → post-list.d.ts} +4 -4
- package/loaders/post-list.js +57 -0
- package/loaders/post-logo.js +5 -4
- package/loaders/post-mainnavigation.d.ts +11 -0
- package/loaders/post-mainnavigation.js +186 -0
- package/loaders/post-megadropdown-trigger.d.ts +11 -0
- package/loaders/post-megadropdown-trigger.js +124 -0
- package/loaders/post-megadropdown.d.ts +11 -0
- package/loaders/post-megadropdown.js +193 -0
- package/loaders/post-menu-item.d.ts +11 -0
- package/loaders/post-menu-item.js +6 -0
- package/loaders/post-menu-item2.js +27 -0
- package/loaders/post-menu-trigger.d.ts +11 -0
- package/loaders/post-menu-trigger.js +6 -0
- package/loaders/post-menu-trigger2.js +109 -0
- package/loaders/post-menu.d.ts +11 -0
- package/loaders/post-menu.js +6 -0
- package/loaders/post-menu2.js +192 -0
- package/loaders/post-popover.js +20 -16
- package/loaders/post-popovercontainer2.js +788 -73
- package/loaders/post-rating.js +2 -2
- package/loaders/post-tab-header.js +8 -6
- package/loaders/post-tab-panel.js +4 -3
- package/loaders/post-tabs.js +11 -13
- package/loaders/post-tag.js +2 -2
- package/loaders/post-togglebutton.d.ts +11 -0
- package/loaders/post-togglebutton.js +65 -0
- package/loaders/post-tooltip-trigger.js +14 -277
- package/loaders/post-tooltip.js +7 -3
- package/loaders/slide.js +25 -0
- package/package.json +45 -33
- package/dist/cjs/check-non-empty-eeaa8f77.js +0 -11
- package/dist/cjs/check-one-of-f4f5d0c0.js +0 -8
- package/dist/cjs/check-type-64af82a9.js +0 -16
- package/dist/cjs/fade-35a3633a.js +0 -10
- package/dist/cjs/index-824d2b71.js +0 -39
- package/dist/cjs/post-accordion-item-5f685bee.js +0 -52
- package/dist/cjs/post-alert-88adc668.js +0 -99
- package/dist/cjs/post-alert.cjs.entry.js +0 -17
- package/dist/cjs/post-card-control-c6e5c427.js +0 -272
- package/dist/cjs/post-icon-f735da00.js +0 -139
- package/dist/cjs/post-icon.cjs.entry.js +0 -16
- package/dist/cjs/post-logo-2cd8ae98.js +0 -39
- package/dist/cjs/post-logo.cjs.entry.js +0 -15
- package/dist/cjs/post-popover-36c854a4.js +0 -131
- package/dist/cjs/post-popovercontainer-cb4793c1.js +0 -2281
- package/dist/cjs/post-popovercontainer.cjs.entry.js +0 -11
- package/dist/cjs/post-tab-header-b756d9b1.js +0 -32
- package/dist/cjs/post-tag-c70fb945.js +0 -47
- package/dist/collection/components/post-alert/alert-types.js +0 -1
- package/dist/collection/components/post-alert/post-alert.css +0 -35
- package/dist/components/post-alert.js +0 -6
- package/dist/components/post-alert2.js +0 -136
- package/dist/esm/check-non-empty-58bd6b17.js +0 -9
- package/dist/esm/check-one-of-6b3ef8eb.js +0 -6
- package/dist/esm/check-type-8828dbe4.js +0 -14
- package/dist/esm/fade-7fd71785.js +0 -7
- package/dist/esm/index-69587a51.js +0 -34
- package/dist/esm/package-983f957d.js +0 -3
- package/dist/esm/post-accordion-item-4db0aa2a.js +0 -50
- package/dist/esm/post-alert-1e9fbdfa.js +0 -97
- package/dist/esm/post-alert.entry.js +0 -9
- package/dist/esm/post-card-control-ccb189a8.js +0 -270
- package/dist/esm/post-icon-3fc4dd7d.js +0 -137
- package/dist/esm/post-icon.entry.js +0 -8
- package/dist/esm/post-logo-e6cdea13.js +0 -37
- package/dist/esm/post-logo.entry.js +0 -7
- package/dist/esm/post-popover-afdf4906.js +0 -129
- package/dist/esm/post-popovercontainer-b19b7606.js +0 -2279
- package/dist/esm/post-popovercontainer.entry.js +0 -3
- package/dist/esm/post-tab-header-333e15d5.js +0 -30
- package/dist/esm/post-tag-4a7d14b9.js +0 -45
- package/dist/post-components/p-0a45da5e.entry.js +0 -1
- package/dist/post-components/p-12e82863.entry.js +0 -1
- package/dist/post-components/p-1386b77d.js +0 -1
- package/dist/post-components/p-1528b798.js +0 -1
- package/dist/post-components/p-18dc1299.entry.js +0 -1
- package/dist/post-components/p-1a8f6c84.entry.js +0 -1
- package/dist/post-components/p-256453ca.js +0 -1
- package/dist/post-components/p-2737eaf5.js +0 -1
- package/dist/post-components/p-3272ebad.js +0 -1
- package/dist/post-components/p-3596035e.js +0 -1
- package/dist/post-components/p-3668f4fa.entry.js +0 -1
- package/dist/post-components/p-375845d4.js +0 -1
- package/dist/post-components/p-381de59d.entry.js +0 -1
- package/dist/post-components/p-4a3f67ab.js +0 -1
- package/dist/post-components/p-4e68c514.js +0 -1
- package/dist/post-components/p-4eb5d9a1.entry.js +0 -1
- package/dist/post-components/p-611b3c41.js +0 -1
- package/dist/post-components/p-61a7d216.js +0 -1
- package/dist/post-components/p-788e64fb.js +0 -1
- package/dist/post-components/p-7d5b41d1.js +0 -1
- package/dist/post-components/p-82ea24e7.js +0 -1
- package/dist/post-components/p-85c4d04f.js +0 -1
- package/dist/post-components/p-85c6d001.entry.js +0 -1
- package/dist/post-components/p-8e555dda.js +0 -15
- package/dist/post-components/p-962a6f36.entry.js +0 -1
- package/dist/post-components/p-a76c71bc.js +0 -1
- package/dist/post-components/p-a7e8fd41.entry.js +0 -1
- package/dist/post-components/p-ac216bd0.entry.js +0 -1
- package/dist/post-components/p-b095519d.js +0 -1
- package/dist/post-components/p-b17ecbee.entry.js +0 -1
- package/dist/post-components/p-bb4227ad.entry.js +0 -1
- package/dist/post-components/p-bc294d0b.js +0 -1
- package/dist/post-components/p-d0b3c5d3.entry.js +0 -1
- package/dist/post-components/p-d4e148d8.entry.js +0 -1
- package/dist/post-components/p-d9809281.js +0 -1
- package/dist/post-components/p-eb1e7a49.js +0 -1
- package/dist/post-components/p-f35291d5.entry.js +0 -1
- package/dist/post-components/p-fc3bfe08.js +0 -1
- package/dist/types/components/post-alert/alert-types.d.ts +0 -2
- package/dist/types/components/post-alert/post-alert.d.ts +0 -54
- package/loaders/post-alert.js +0 -139
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as o,g as i,c as n}from"./p-9e461613.js";import{v as a}from"./p-2dc0a2d0.js";import{a as s,s as r}from"./p-9b052461.js";import{e as l}from"./p-0889c759.js";import{I as c,b as d}from"./p-722ffaae.js";import{c as p,d as h,b as g}from"./p-e585c6fe.js";import{c as u}from"./p-181c73d5.js";import{c as f}from"./p-7709c14a.js";import{n as m}from"./p-c65f32b0.js";import{g as v}from"./p-6b31a76a.js";const b=`:where(${["button",'input:not([type="hidden"])',"[tabindex]","select","textarea","[contenteditable]","a[href]","iframe","audio[controls]","video[controls]","area[href]","details > summary:first-of-type"].join(",")})`,w=`:where(${["[inert]","[inert] *",":disabled","dialog:not([open]) *","[popover]:not(:popover-open) *","details:not([open]) > *:not(details > summary:first-of-type)","details:not([open]) > *:not(details > summary:first-of-type) *",'[tabindex^="-"]','[hidden]:not([hidden="false"])'].join(",")})`;function x(t){const e=t.querySelectorAll(`${b}:not(${w})`);return Array.from(e).filter((t=>{const e=window.getComputedStyle(t.parentElement);return"none"!==e.display&&"hidden"!==e.visibility}))}const y=class{constructor(e){t(this,e)}render(){return e(o,{key:"cfa55f799fdf9ad0f3ac1eb296e063b5001de997","data-version":a},e("button",{key:"7c8a084f6d7278329ddfb5fc4b2b8f992a185666",class:"btn btn-icon-close",type:"button"},e("post-icon",{key:"fc74ccb4f0c4c091a02a41cdef918d6c3b065c8c","aria-hidden":"true",name:"closex"}),e("span",{key:"98478b013714df6d82c6c2f533ac8ecd2abae778",class:"visually-hidden"},e("slot",{key:"109e2bca4436986dd037d8c29088cc79395bc200"}))))}get host(){return i(this)}};y.style=".btn-icon-close{padding:0;border:unset;min-height:unset;min-width:unset;width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1);border-radius:var(--post-device-border-radius-round);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}.btn-icon-close>post-icon{min-width:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4);height:var(--post-device-sizing-interactive-icon-size4)}.btn-icon-close:not(:disabled):hover,.btn-icon-close.pretend-hover{cursor:pointer;background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-icon-close:not(:disabled):hover,.btn-icon-close.pretend-hover{color:HighlightText !important}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}";const k=class{get scrollParent(){const t=document.querySelector("[data-post-scroll-locked]");if(t)return t;let e=this.host.parentElement;for(;e;){const t=getComputedStyle(e).overflowY;if(["auto","scroll"].includes(t))return e;e=e.parentElement}return document.body}lockBody(t,e,o){const i=this.scrollParent;"desktop"!==this.device&&("mobileMenuExtended"===o?t:this.mobileMenuExtended)?(i.setAttribute("data-post-scroll-locked",""),this.host.addEventListener("keydown",this.keyboardHandler)):(i.removeAttribute("data-post-scroll-locked"),this.host.removeEventListener("keydown",this.keyboardHandler))}constructor(e){t(this,e),this.postUpdateDevice=n(this,"postUpdateDevice",7),this.throttledResize=function(t,e){var o,i={},n=i.noTrailing,a=void 0!==n&&n,s=i.noLeading,r=void 0!==s&&s,l=i.debounceMode,c=void 0===l?void 0:l,d=!1,p=0;function h(){o&&clearTimeout(o)}function g(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];var s=this,l=Date.now()-p;function g(){p=Date.now(),e.apply(s,i)}function u(){o=void 0}d||(r||!c||o||g(),h(),void 0===c&&l>50?r?(p=Date.now(),a||(o=setTimeout(c?u:g,50))):g():!0!==a&&(o=setTimeout(c?u:g,void 0===c?50-l:50)))}return g.cancel=function(t){var e=(t||{}).upcomingOnly,o=void 0!==e&&e;h(),d=!o},g}(0,(()=>this.handleResize())),this.megedropdownStateHandler=t=>{l(this.host,t,{targetLocalName:"post-megadropdown",delegatorSelector:"post-header"},(()=>{this.megadropdownOpen=t.detail.isVisible}))},this.device=null,this.mobileMenuExtended=!1,this.megadropdownOpen=!1,this.handleScrollEvent=this.handleScrollEvent.bind(this),this.updateScrollParentHeight=this.updateScrollParentHeight.bind(this),this.updateLocalHeaderHeight=this.updateLocalHeaderHeight.bind(this),this.megedropdownStateHandler=this.megedropdownStateHandler.bind(this),this.keyboardHandler=this.keyboardHandler.bind(this),this.handleLinkClick=this.handleLinkClick.bind(this)}connectedCallback(){window.addEventListener("resize",this.throttledResize,{passive:!0}),window.addEventListener("scroll",this.handleScrollEvent,{passive:!0}),this.scrollParent.addEventListener("scroll",this.handleScrollEvent,{passive:!0}),document.addEventListener("postToggleMegadropdown",this.megedropdownStateHandler),this.host.addEventListener("click",this.handleLinkClick),this.handleResize(),this.handleScrollParentResize(),this.lockBody(!1,this.mobileMenuExtended,"mobileMenuExtended")}componentWillRender(){this.handleScrollEvent()}componentDidRender(){this.getFocusableElements(),this.handleLocalHeaderResize()}disconnectedCallback(){const t=this.scrollParent;window.removeEventListener("resize",this.throttledResize),window.removeEventListener("scroll",this.handleScrollEvent),t.removeEventListener("scroll",this.handleScrollEvent),document.removeEventListener("postToggleMegadropdown",this.megedropdownStateHandler),this.host.removeEventListener("keydown",this.keyboardHandler),this.host.removeEventListener("click",this.handleLinkClick),this.scrollParentResizeObserver&&(this.scrollParentResizeObserver.disconnect(),this.scrollParentResizeObserver=null),this.localHeaderResizeObserver&&(this.localHeaderResizeObserver.disconnect(),this.localHeaderResizeObserver=null),this.mobileMenuExtended=!1}async toggleMobileMenu(t){"desktop"!==this.device&&(this.mobileMenuAnimation=this.mobileMenuExtended?s(this.mobileMenu):r(this.mobileMenu),this.host.querySelector("post-togglebutton").toggled=t??!this.mobileMenuExtended,this.mobileMenuExtended&&await this.mobileMenuAnimation.finished,this.mobileMenuExtended=t??!this.mobileMenuExtended,!1===this.mobileMenuExtended&&Array.from(this.host.querySelectorAll("post-megadropdown")).forEach((t=>{t.hide(!1,!0)})))}getFocusableElements(){const t=[...Array.from(this.host.querySelectorAll('.list-inline:not([slot="meta-navigation"]) > li')),...Array.from(this.host.querySelectorAll("nav > post-list > div > post-list-item, post-mainnavigation > .back-button, post-megadropdown-trigger")),...Array.from(this.host.querySelectorAll('.list-inline[slot="meta-navigation"] > li, post-language-option'))],e=[this.host.querySelector("post-togglebutton"),...t.flatMap((t=>Array.from(x(t))))];this.firstFocusableEl=e[0],this.lastFocusableEl=e[e.length-1]}keyboardHandler(t){"Tab"===t.key&&this.mobileMenuExtended&&(t.shiftKey&&document.activeElement===this.firstFocusableEl?(t.preventDefault(),this.lastFocusableEl.focus()):t.shiftKey||document.activeElement!==this.lastFocusableEl||(t.preventDefault(),this.firstFocusableEl.focus()))}handleScrollEvent(){const t=this.scrollParent===document.body?window.scrollY:this.scrollParent.scrollTop;document.documentElement.style.setProperty("--post-header-scroll-top",`${t}px`)}updateLocalHeaderHeight(){const t=this.host.shadowRoot.querySelector(".local-header")?.clientHeight||0;document.documentElement.style.setProperty("--post-local-header-height",`${t}px`)}updateScrollParentHeight(){this.host.style.setProperty("--post-header-scroll-parent-height",`${this.scrollParent.clientHeight}px`)}handleLinkClick(t){const e=t.target,o=e.closest("post-mainnavigation a"),i=e.closest("post-megadropdown a");(o||i)&&(this.mobileMenuExtended&&(o||i)&&this.toggleMobileMenu(!1),"desktop"===this.device&&i)&&e.closest("post-megadropdown a")&&e.closest("post-megadropdown").hide(!0)}handleResize(){const t=this.device;let e;const o=window?.innerWidth;e=o>=1024?"desktop":o>=600?"tablet":"mobile",e!==t&&(this.device=e,this.postUpdateDevice.emit(this.device),window.requestAnimationFrame((()=>{this.switchLanguageSwitchMode()})))}handleScrollParentResize(){this.scrollParent&&(this.scrollParentResizeObserver=new ResizeObserver(this.updateScrollParentHeight),this.scrollParentResizeObserver.observe(this.scrollParent))}handleLocalHeaderResize(){const t=this.host.shadowRoot.querySelector(".local-header");t&&!this.localHeaderResizeObserver&&(this.localHeaderResizeObserver=new ResizeObserver(this.updateLocalHeaderHeight),this.localHeaderResizeObserver.observe(t))}switchLanguageSwitchMode(){const t="desktop"===this.device?"menu":"list";Array.from(this.host.querySelectorAll("post-language-switch")).forEach((e=>{e?.setAttribute("variant",t)}))}renderNavigation(){const t=["navigation"],o=this.mobileMenu?.scrollTop??0;return this.mobileMenuExtended&&t.push("extended"),this.megadropdownOpen&&t.push("megadropdown-open"),e("div",{class:t.join(" "),style:{"--post-header-navigation-current-inset":`${o}px`}},e("div",{class:"mobile-menu",ref:t=>this.mobileMenu=t},e("slot",{name:"post-mainnavigation"}),("mobile"===this.device||"tablet"===this.device)&&e("div",{class:"navigation-footer"},e("slot",{name:"meta-navigation"}),e("slot",{name:"post-language-switch"}))))}render(){return e(o,{key:"9705dc224bcf389c8836efbaf40d6d6617b2052f","data-version":a},e("div",{key:"41a1b10ff4193b0a31eecc673935aabb70c1d1b4",class:"global-header"},e("div",{key:"7e3692fca4130755c009447fcc20585386f1c65d",class:"global-sub"},e("div",{key:"5b4d7fb16fcbeee3f07a1a160751b5c23e9f9edb",class:"logo"},e("slot",{key:"67048479266ba86f2a1b739751be7bfe97ce4544",name:"post-logo"}))),e("div",{key:"83642103fae714a7c9ac1962e1433fd72899cf87",class:"global-sub"},"desktop"===this.device&&e("slot",{key:"ff672718574b3690d9ac8c2f54cb50e2b7052533",name:"meta-navigation"}),e("slot",{key:"782d10f094831da10cd9e9695944eee9c8003a05",name:"global-controls"}),"desktop"===this.device&&e("slot",{key:"5c5a277e3a627f5a731e1342c6604b6e064f3b52",name:"post-language-switch"}),e("div",{key:"b07c9f1994fd99b170192ed4f4092afb92a1dd3e",onClick:()=>this.toggleMobileMenu(),class:"mobile-toggle"},e("slot",{key:"1bbb5a704cf1841e4845ff9921cd6662ee2d7387",name:"post-togglebutton"})))),e("div",{key:"da8ecfd78835ab7431408558ee938d5054349955",class:"local-header "+(this.mobileMenuExtended?"local-header-mobile-extended":"")},e("slot",{key:"23c35a54fdf177a9b58054154e09f406f27fe049",name:"title"}),e("div",{key:"de4dfdec5bd43a22587aa8e93842c4e16c73f82b",class:"local-sub"},e("slot",{key:"35b09a33f3c87e382afb809f0c2b8153dd909097",name:"local-controls"}),e("slot",{key:"bdfa7a68815e8d259cd346ef890904b652a5a7f2"})),"desktop"===this.device&&this.renderNavigation()),"desktop"!==this.device&&this.renderNavigation())}get host(){return i(this)}static get watchers(){return{device:["lockBody"],mobileMenuExtended:["lockBody"]}}};k.style='*,::before,::after{box-sizing:border-box}:host{z-index:1020;position:relative;--post-global-header-top:calc( (var(--post-global-header-height) - var(--post-global-header-reduced-height)) * -1 );--post-local-header-top:calc( -1 * (var(--post-local-header-height) - var(--post-main-navigation-height)) + var(--post-global-header-reduced-height) );--post-logo-height:calc(var(--post-global-header-height) - var(--post-header-scroll-top, 0px));--post-global-controls-top:calc(min((var(--post-header-scroll-top) / 4), 20px) * -1)}:host:has(.global-sub>*:not(.logo):focus-within),:host:has(.local-sub:focus-within){--post-global-header-top:0;--post-local-header-top:var(--post-global-header-height);--post-logo-height:var(--post-global-header-height);--post-global-controls-top:0}:host(:not(:has([slot=title]))) .local-header{padding-block-start:0}:host(:not(:has([slot=title]))) .local-sub{display:none}.d-flex{display:flex}.space-between{justify-content:space-between}.global-header{background-color:#fc0;display:flex;justify-content:space-between;position:sticky;padding-inline:4px;height:var(--post-global-header-height)}@media screen and (max-width: 1023.98px){.global-header{z-index:3;inset-block-start:0}}@media screen and (min-width: 1024px){.global-header{z-index:5;padding-inline-end:12px;inset-block-start:var(--post-global-header-top);transition:inset-block-start .2s ease-in-out}}.global-sub{display:flex;align-items:center;gap:24px}@media screen and (min-width: 1024px){.global-sub:not(:has(.logo)){position:relative;transition:inset-block-start .2s ease-in-out;inset-block-start:var(--post-global-controls-top)}}.align-end{align-items:flex-end}.logo{flex:1 0 auto;height:var(--post-global-header-height);width:var(--post-global-header-height);min-height:var(--post-global-header-reduced-height);align-self:flex-end}@media screen and (min-width: 1024px){.logo{transition:height .2 ease-in-out;height:var(--post-logo-height)}}::slotted(ul){margin-block:0 !important;list-style:none;display:flex;padding-inline-start:0;gap:1rem;flex-shrink:0 !important}.local-header{display:flex;position:sticky;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;min-height:var(--post-local-header-min-height);background:#fff;transition:box-shadow .2s ease-in-out}.local-header::after{content:"";position:absolute;width:100%;height:1px;background-color:#e1e0dc;inset-block-end:-1px;z-index:1}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.local-header::after{background-color:Highlight}}@media screen and (min-width: 1024px){.local-header{z-index:3;inset-block-start:var(--post-local-header-top);padding-block-start:18px;box-shadow:var(--post-device-elevation-300);transition:box-shadow .2s ease-in-out,inset-block-start .2s ease-in-out}}@media screen and (max-width: 1023.98px){.local-header{z-index:2;inset-block-start:var(--post-global-header-height);padding-block:8px;flex-wrap:wrap;gap:12px}.local-header.local-header-mobile-extended::after{inset-block-end:0}.local-header:not(.local-header-mobile-extended){box-shadow:var(--post-device-elevation-300)}}.local-sub{margin-inline-end:8px}@media screen and (max-width: 1023.98px){.local-sub{margin-inline-end:4px}}::slotted(.list-inline){margin:0 !important;z-index:3 !important;position:relative !important}@media screen and (min-width: 1024px){.mobile-toggle{display:none}}.navigation{width:100%}@media screen and (min-width: 1024px){.navigation{inset-block-start:var(--post-global-header-reduced-height)}.navigation::before{display:block;content:"";position:absolute;inset:0;z-index:2;background:#fff}}@media screen and (max-width: 1023.98px){.navigation{position:sticky;z-index:1;inset-inline:0;inset-block-start:var(--post-header-height)}.mobile-menu{background-color:#fafafa}::slotted(post-mainnavigation),.navigation-footer{display:none;flex-direction:column;padding-block:16px 24px;padding-inline:32px}.navigation.extended ::slotted(post-mainnavigation),.navigation.extended .navigation-footer{display:flex}.navigation.extended>div{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;height:calc(min(var(--post-header-scroll-parent-height, 100dvh),100dvh) - var(--post-header-height))}.navigation.extended.megadropdown-open>div{overflow-y:hidden}.navigation.extended ::slotted(post-mainnavigation){flex-grow:1 !important}::slotted(post-mainnavigation){gap:32px}.navigation-footer{background-color:#f0efed;gap:24px}}@media screen and (max-width: 599.98px){::slotted(post-mainnavigation),.navigation-footer{padding-inline:16px}}';const T=`https://unpkg.com/@swisspost/design-system-icons@${a}/public/post-icons/`,E=["cylon","cylon-vertical","spin","spin-reverse","fade","throb"],z=class{constructor(e){t(this,e),this.animation=null,this.base=null,this.flipH=!1,this.flipV=!1,this.name=void 0,this.rotate=null,this.scale=null}validateAnimation(t=this.animation){void 0!==t&&p(this,"animation",E)}validateBase(){h(this,"base","string")}validateFlipH(){h(this,"flipH","boolean")}validateFlipV(){h(this,"flipV","boolean")}validateName(){u(this,"name"),f(this,"name","string")}validateRotate(){h(this,"rotate","number")}validateScale(){h(this,"scale","number")}getUrl(){let t;const e=`${this.name}.svg`,o=[this.getUrlDefinition(this.base,"both")];c&&(o.push(this.getUrlDefinition(document.head.querySelector('meta[name="design-system-settings"][data-post-icon-base]')?.getAttribute("data-post-icon-base"),"relative")),o.push(this.getUrlDefinition(document.querySelector("base[href]")?.getAttribute("href"),"both")));const i=o.find((t=>t.definesDomain))?.url?.origin,n=o.find((t=>t.definesSlug))?.url?.pathname;return t=i&&n?`${i}${n}${e}`:!i&&n?`${n}${e}`:`${T}${e}`,t}getUrlDefinition(t,e){return{url:this.getUrlObject(t),definesDomain:"relative"!==e&&this.definesDomain(t),definesSlug:"absolute"!==e&&this.definesSlug(t)}}getUrlObject(t){return t?(t=t?.endsWith("/")?t:`${t}/`,new URL(t,"https://url.base")):null}definesDomain(t){return!!t&&/^https?:\/\//.test(t)}definesSlug(t){return Boolean(/^\/.+/.test(this.getUrlObject(t)?.pathname))}getStyles(){const t=this.getUrl();return Object.entries({"-webkit-mask-image":`url(${t})`,"mask-image":`url('${t}')`,transform:(this.scale&&!isNaN(Number(this.scale))?"scale("+this.scale+")":"")+(this.rotate&&!isNaN(Number(this.rotate))?" rotate("+this.rotate+"deg)":"")}).filter((([t,e])=>null!==e)).reduce(((t,[e,o])=>Object.assign(t,{[e]:o})),{})}componentDidLoad(){this.validateBase(),this.validateName(),this.validateFlipH(),this.validateFlipV(),this.validateScale(),this.validateRotate(),this.validateAnimation()}render(){return e(o,{key:"b3c3efcc03f423a248e231b4b4c5d79c93ae25a6","data-version":a},e("span",{key:"d73d4df11fcccb96d5346f3f8c3e18602bb8d484",style:this.getStyles()}))}get host(){return i(this)}static get watchers(){return{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}}};z.style=":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;forced-color-adjust:preserve-parent-color;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";const S=class{constructor(e){t(this,e),this.postChange=n(this,"postChange",7),this.postLanguageOptionInitiallyActive=n(this,"postLanguageOptionInitiallyActive",7),this.code=void 0,this.active=void 0,this.variant=void 0,this.name=void 0,this.url=void 0}validateCode(){f(this,"code","string")}validateActiveProp(){h(this,"active","boolean")}validateName(){h(this,"name","string")}validateUrl(){h(this,"url","string")}componentDidLoad(){if(this.validateCode(),this.validateActiveProp(),this.validateName(),this.validateUrl(),!this.name&&this.isNameRequired())throw new Error('The "name" property of the post-language-option component is required when the full language name is not displayed.');this.active&&this.postLanguageOptionInitiallyActive.emit(this.code)}async select(){this.active=!0,this.emitChange()}emitChange(){this.postChange.emit(this.code)}isNameRequired(){return this.host.textContent.toLowerCase()===this.code.toLowerCase()}render(){const t=this.code.toLowerCase(),i=t=>{"Enter"!==t.key&&" "!==t.key||this.emitChange()};return e(o,{key:"3a6b9a8f63c90f431a13c1df529a2e4716ede5d8","data-version":a},this.url?e("a",{"aria-current":this.active?"page":void 0,"aria-label":this.name,href:this.url,hrefLang:t,lang:t,onClick:()=>this.emitChange(),onKeyDown:i},e("slot",null)):e("button",{"aria-current":this.active?"true":void 0,"aria-label":this.name,lang:t,onClick:()=>this.emitChange(),onKeyDown:i},e("slot",null)))}get host(){return i(this)}static get watchers(){return{code:["validateCode"],active:["validateActiveProp"],name:["validateName"],url:["validateUrl"]}}};S.style="@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}post-language-option{display:inline-block}post-language-option 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-language-option button{background-color:ButtonFace !important}post-language-option button:hover{background-color:Highlight !important}}post-language-option a{color:var(--post-scheme-color-surface-default-fg);text-decoration:none}post-language-option :is(a,button){cursor:pointer;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:2px;text-transform:uppercase}post-language-option :is(a,button){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-language-option :is(a,button):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-language-option :is(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-language-option :is(a,button):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-language-option :is(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}post-language-option:where([variant=list]) :is(a,button){padding-inline:0;width:40px;height:40px;border-radius:2px}post-language-option:where([variant=list]) :is(a,button):hover{color:#504f4b}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option:where([variant=list]) :is(a,button){border:1px solid ButtonBorder;color:ButtonText}}post-language-option:where([variant=list])[active]:not([active=false]) :is(a,button){background-color:#050400 !important;color:#fff;pointer-events:none}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option:where([variant=list])[active]:not([active=false]) :is(a,button){background-color:Highlight !important;color:HighlightText}}post-language-option:where([variant=menu]){min-width:72px}post-language-option:where([variant=menu])[active]:not([active=false]){display:none}post-language-option:where([variant=menu]) :is(a,button){padding-block:13px;padding-inline:16px;box-sizing:border-box;justify-content:flex-start;position:relative}post-language-option:where([variant=menu]) :is(a,button):hover{color:#fff;background-color:#504f4b}";const A=["list","menu"],M=class{constructor(e){t(this,e),this.menuId=`p${m(11)}`,this.caption=void 0,this.description=void 0,this.variant="list",this.activeLang=void 0}get languageOptions(){return Array.from(this.host.querySelectorAll("post-language-option"))}validateCaption(){f(this,"caption","string")}validateDescription(){f(this,"description","string")}validateVariant(){p(this,"variant",A),this.updateChildrenVariant()}componentDidLoad(){this.validateCaption(),this.validateDescription(),this.validateVariant(),this.updateChildrenVariant()}handlePostChange(t){l(this.host,t,{targetLocalName:"post-language-option",delegatorSelector:"post-language-switch"},(()=>{this.activeLang=t.detail,this.languageOptions.forEach((t=>{t.code&&t.code===this.activeLang?t.setAttribute("active",""):t.removeAttribute("active")})),"menu"===this.variant&&this.host.shadowRoot.querySelector("post-menu").hide()}))}handleInitiallyActive(t){this.activeLang=t.detail}updateChildrenVariant(){this.languageOptions.forEach((t=>{t.setAttribute("variant",this.variant)}))}renderList(){return e(o,{"data-version":a,role:"list","aria-label":this.caption},e("div",{class:"post-language-switch-list",role:"group","aria-label":this.description},e("slot",null)))}renderDropdown(){return e(o,{"data-version":a},e("post-menu-trigger",{for:this.menuId},e("button",{class:"post-language-switch-trigger","aria-label":this.description},this.activeLang,e("post-icon",{"aria-hidden":"true",name:"chevrondown"}))),e("post-menu",{id:this.menuId,class:"post-language-switch-dropdown-container","aria-label":this.caption},e("slot",null)))}render(){return"list"===this.variant?this.renderList():this.renderDropdown()}get host(){return i(this)}static get watchers(){return{caption:["validateCaption"],description:["validateDescription"],variant:["validateVariant"]}}};M.style=":host{display:flex !important;flex-wrap:wrap;gap:.5rem}.post-language-switch-dropdown-container{display:flex;flex-direction:column}.post-language-switch-trigger{cursor:pointer;text-transform:uppercase;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;text-decoration:none;display:inline-flex;align-items:center;gap:6px;border-radius:24px;font-size:16px;padding:3px 10px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-switch-trigger{background-color:ButtonFace !important}.post-language-switch-trigger:hover{background-color:Highlight !important}}.post-language-switch-trigger{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-language-switch-trigger: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-language-switch-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-language-switch-trigger: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-language-switch-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-language-switch-trigger:not(:disabled):hover,.post-language-switch-trigger.pretend-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-language-switch-trigger post-icon{height:24px;width:24px}.post-language-switch-trigger[aria-expanded=true]{background-color:#050400;color:#fff}.post-language-switch-trigger[aria-expanded=true] post-icon{transform:rotate(180deg)}.post-language-switch-trigger[aria-expanded=true]:hover{background-color:#504f4b;color:#fff}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-switch-trigger{border:1px solid ButtonBorder}.post-language-switch-trigger[aria-expanded=true] post-icon,.post-language-switch-trigger:hover post-icon{color:HighlightText}}";const H=class{constructor(e){t(this,e),this.titleId=void 0,this.titleHidden=!1,this.horizontal=!1}componentWillLoad(){this.titleId=`title-${this.host.id||m(6)}`}componentDidLoad(){this.checkTitle()}checkTitle(){this.titleEl.textContent.trim()||console.error("Please provide a title to the list component. Title is mandatory for accessibility purposes.")}render(){return e(o,{key:"b003aa61735359b6a1d95aad8d29c609d5bb3c8b","data-version":a},e("div",{key:"2f69a2c72dd357767735e10d16f1b7586da6d5a3",ref:t=>this.titleEl=t,id:this.titleId,class:"list-title"+(this.titleHidden?" visually-hidden":"")},e("slot",{key:"3982783d438519673a676323339a013d3edb84db"})),e("div",{key:"b8a91c4430774f019cc46aa19393e2a1566204a5",role:"list","aria-labelledby":this.titleId},e("slot",{key:"378a51785c4d52df8ae422657a16e8295b405149",name:"post-list-item"})))}get host(){return i(this)}};H.style="@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}post-list{display:flex;flex-direction:column;gap:var(--post-list-title-gap, 0)}post-list>[role=list]{display:flex;flex-direction:column;gap:var(--post-list-item-gap, 0)}post-list:where([horizontal]:not([horizontal=false])){flex-direction:row;align-items:center}post-list:where([horizontal]:not([horizontal=false]))>[role=list]{flex-direction:row;align-items:center}post-list>.list-title.visually-hidden{width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}post-list>.list-title.visually-hidden:not(caption){position:absolute !important}";const L=class{constructor(e){t(this,e)}connectedCallback(){this.host.setAttribute("slot","post-list-item")}render(){return e(o,{key:"c826293ea2a7446bea2f5b223934b444655198a0",role:"listitem",slot:"post-list-item",version:a},e("slot",{key:"b997f79da2fbc87fbc6a388c118a03c008ad2c23"}))}get host(){return i(this)}};L.style=":host{display:flex}";const C=class{constructor(e){t(this,e),this.url=void 0}validateUrl(){g(this,"url")}componentDidLoad(){this.validateUrl(),this.checkDescription()}checkDescription(){this.host.textContent||console.warn("Be sure to add descriptive text in the post-logo to ensure good accessibility of the component.")}render(){const t=this.url&&("string"==typeof this.url?this.url:this.url.href);return e(o,{key:"7dee19302c0c560b29f09b1675135f10d41fc44a","data-version":a},e(t?"a":"span",{key:"1d851ca305d1bfc24666b416ad5f210b96d39811",class:"logo "+(t?"logo-link":""),...t?{href:t}:{}},e("span",{key:"cd75bd4040bc2f0d62e5cec2afc9529fa7c43c49",class:"description"},e("slot",{key:"caf63c4f823873181fa52cfb0cf38217b6a45823",onSlotchange:()=>this.checkDescription()})),e("svg",{key:"d41c14973b829eb35764c9e562fe449e65f410b4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72","aria-hidden":"true"},e("g",{key:"90c52e528bf4fc8e075e6517c18a59686ffd39f6",id:"Logo"},e("rect",{key:"50633d1110596123232f07272406ebd0a32ffce8",fill:"#ffcc00",x:"0",y:"0",width:"72",height:"72"}),e("polygon",{key:"7a617412c094669a66914edf769fba9ee9448b83",fill:"#ff0000",points:"34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3"}),e("path",{key:"74213b21fad18ba6a1dbb07e0b0b7dcf4a89b855",d:"M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z"})))))}get host(){return i(this)}static get watchers(){return{url:["validateUrl"]}}};C.style=":host,.logo{display:inline-block}:host,:host .logo>svg,.logo,.logo .logo>svg{height:100%}.description{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.logo-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}.logo-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){.logo-link:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.logo-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){.logo-link:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.logo-link :focus,:focus-visible{border-radius:2px}";const D=class{constructor(e){t(this,e),this.canScrollLeft=!1,this.canScrollRight=!1,this.scrollRight=this.scrollRight.bind(this),this.scrollLeft=this.scrollLeft.bind(this),this.handleMutations=this.handleMutations.bind(this),this.checkScrollability=this.checkScrollability.bind(this),this.resizeObserver=new ResizeObserver(this.checkScrollability),this.mutationObserver=new MutationObserver(this.handleMutations)}componentDidLoad(){setTimeout((()=>{this.fixLayoutShift(),this.checkScrollability()})),this.resizeObserver.observe(this.navbar),this.mutationObserver.observe(this.navbar,{subtree:!0,childList:!0}),this.navbar.addEventListener("scrollend",this.checkScrollability)}disconnectedCallback(){this.mutationObserver.disconnect(),this.resizeObserver.disconnect(),this.navbar.removeEventListener("scrollend",this.checkScrollability)}stopScrolling(){this.scrollRepeatInterval&&clearInterval(this.scrollRepeatInterval)}async handleMutations(t){const e=t.flatMap((t=>Array.from(t.addedNodes)));await Promise.all(e.map((t=>t.componentOnReady?t.componentOnReady():Promise.resolve(t)))),this.fixLayoutShift(),this.checkScrollability()}get navigationItems(){return Array.from(this.navbar.querySelectorAll(":is(a, button):not(post-megadropdown *)"))}fixLayoutShift(){this.navigationItems.filter((t=>!t.matches(":has(.nav-el-active)"))).forEach((t=>{t.innerHTML=`\n <span class="nav-el-active">${t.innerHTML}</span>\n <span class="nav-el-inactive" aria-hidden="true">${t.innerHTML}</span>\n `}))}handleBackButtonClick(){const t=this.navbar.closest("post-header");t&&t.toggleMobileMenu()}get canScroll(){return this.canScrollLeft||this.canScrollRight}checkScrollability(){const{scrollLeft:t,scrollWidth:e,clientWidth:o}=this.navbar;e===o?this.canScrollLeft=this.canScrollRight=!1:(this.canScrollLeft=Math.floor(t)>0,this.canScrollRight=Math.ceil(o+t)<e)}handleScrollButtonClick(t,e){if(!this.canScroll||0!==t.button)return;this.temporarilyDisableNavbar();const o="right"===e?this.scrollRight:this.scrollLeft;o(),this.scrollRepeatInterval=setInterval((()=>{o()}),100)}scrollRight(){const t=document.querySelector(".scroll-right").getBoundingClientRect().left;for(const e of this.navigationItems){const{right:o,width:i}=e.getBoundingClientRect();if(!(o-.25*i<t))return void this.navbar.scrollBy({left:o-t})}}scrollLeft(){const t=document.querySelector(".scroll-left").getBoundingClientRect().right;for(const e of this.navigationItems.reverse()){const{left:o,width:i}=e.getBoundingClientRect();if(!(o+.25*i>t))return void this.navbar.scrollBy({left:o-t})}}temporarilyDisableNavbar(){this.navbarDisableTimer&&clearTimeout(this.navbarDisableTimer),this.navbar.setAttribute("inert",""),this.navbarDisableTimer=setTimeout((()=>{this.navbar.removeAttribute("inert")}),400)}render(){return e(o,{key:"6cd850555585d87eb25e3f6892b8010f5e4d23d6",slot:"post-mainnavigation",version:a},e("div",{key:"3411008120d072920f4de0b71c9dc014748f1390",onClick:()=>this.handleBackButtonClick(),class:"back-button"},e("slot",{key:"2e3747380cb546bd6da77e5ffba2403586205a55",name:"back-button"})),e("div",{key:"e9eedd836b3f679ba2861109db2d0811c1142677","aria-hidden":"true",class:{"scroll-control scroll-left":!0,"d-none":!this.canScrollLeft},onMouseDown:t=>this.handleScrollButtonClick(t,"left")},e("post-icon",{key:"628511a2c1812a08828e1aa2b51f26ad01a5a2cf","aria-hidden":"true",name:"chevronleft"})),e("nav",{key:"1b660d65e1984e8701a98a369046f391fd177338",ref:t=>this.navbar=t},e("slot",{key:"0eb35366ac0bd58509afd6a12f68c2b09396a497"})),e("div",{key:"11145ad6602e2df78d3c3f4643cc6e4e960775aa","aria-hidden":"true",class:{"scroll-control scroll-right":!0,"d-none":!this.canScrollRight},onMouseDown:t=>this.handleScrollButtonClick(t,"right")},e("post-icon",{key:"26e795cd00221dbfb1a7632453d0d48993584b0b","aria-hidden":"true",name:"chevronright"})))}};D.style='post-mainnavigation post-list-item>a{text-decoration:none;border-radius:0}post-mainnavigation post-list-item post-megadropdown-trigger 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;text-align:start}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-mainnavigation post-list-item post-megadropdown-trigger button{background-color:ButtonFace !important}post-mainnavigation post-list-item post-megadropdown-trigger button:hover{background-color:Highlight !important}}post-mainnavigation post-list-item>a,post-mainnavigation post-list-item post-megadropdown-trigger button{flex:0 0 fit-content;white-space:nowrap;display:flex;align-items:center;justify-content:space-between}post-mainnavigation post-list-item>a:hover,post-mainnavigation post-list-item post-megadropdown-trigger button:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}post-mainnavigation post-list-item>a:focus-visible,post-mainnavigation post-list-item post-megadropdown-trigger button:focus-visible{border-radius:4px;outline-offset:-2px !important}@media screen and (max-width: 1023.98px){post-mainnavigation .back-button{font-size:16px}}@media screen and (max-width: 599.98px){post-mainnavigation .back-button{font-size:14px}}post-mainnavigation>button::after,post-mainnavigation post-megadropdown-trigger button::after{content:"";mask-image:url("data:image/svg+xml,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'m23.6 13.2-7.5 7.6-7.6-7.6.9-.9 6.6 6.6 6.6-6.6z\'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;height:24px;width:24px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-mainnavigation>button,post-mainnavigation post-megadropdown-trigger button{border:1px solid ButtonBorder !important}post-mainnavigation>button:hover::after,post-mainnavigation>button[aria-expanded=true]::after,post-mainnavigation post-megadropdown-trigger button:hover::after,post-mainnavigation post-megadropdown-trigger button[aria-expanded=true]::after{color:HighlightText}}@media screen and (min-width: 1024px){post-mainnavigation{display:block;position:relative;height:var(--post-main-navigation-height);background:#fff;user-select:none}post-mainnavigation nav{flex:1 1 auto;overflow:hidden;scroll-behavior:smooth}post-mainnavigation .scroll-control{cursor:pointer;position:absolute;inset-block:0;z-index:5;padding:16px;background:#fff;box-shadow:var(--post-device-elevation-500);line-height:1}post-mainnavigation .scroll-control.scroll-left{inset-inline-start:0}post-mainnavigation .scroll-control.scroll-right{inset-inline-end:0}post-mainnavigation .scroll-control.d-none{display:none}post-mainnavigation .scroll-control post-icon{font-size:1rem}post-mainnavigation post-list>[role=list]{flex-direction:row;max-width:100vw}post-mainnavigation post-list-item>a,post-mainnavigation post-list-item>button,post-mainnavigation post-list-item post-megadropdown-trigger button{position:sticky;padding-inline:12px;height:var(--post-main-navigation-height);gap:4px;font-size:16px;z-index:4}post-mainnavigation post-list-item>a .nav-el-active,post-mainnavigation post-list-item>button .nav-el-active,post-mainnavigation post-list-item post-megadropdown-trigger button .nav-el-active{font-weight:700;text-align:center;opacity:0}post-mainnavigation post-list-item>a .nav-el-inactive,post-mainnavigation post-list-item>button .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button .nav-el-inactive{position:absolute;opacity:1;text-align:center;width:100%;inset-inline-start:0}post-mainnavigation post-list-item>a.selected,post-mainnavigation post-list-item>a[aria-expanded=true],post-mainnavigation post-list-item>button.selected,post-mainnavigation post-list-item>button[aria-expanded=true],post-mainnavigation post-list-item post-megadropdown-trigger button.selected,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true]{background-color:#050400;color:#fff;font-weight:700}post-mainnavigation post-list-item>a.selected .nav-el-active,post-mainnavigation post-list-item>a[aria-expanded=true] .nav-el-active,post-mainnavigation post-list-item>button.selected .nav-el-active,post-mainnavigation post-list-item>button[aria-expanded=true] .nav-el-active,post-mainnavigation post-list-item post-megadropdown-trigger button.selected .nav-el-active,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true] .nav-el-active{opacity:1}post-mainnavigation post-list-item>a.selected .nav-el-inactive,post-mainnavigation post-list-item>a[aria-expanded=true] .nav-el-inactive,post-mainnavigation post-list-item>button.selected .nav-el-inactive,post-mainnavigation post-list-item>button[aria-expanded=true] .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button.selected .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true] .nav-el-inactive{opacity:0}post-mainnavigation post-list-item>a:hover,post-mainnavigation post-list-item>button:hover,post-mainnavigation post-list-item post-megadropdown-trigger button:hover{background-color:#504f4b;color:#fff}}@media screen and (min-width: 1024px)and (max-width: 599.98px){post-mainnavigation post-list-item>a,post-mainnavigation post-list-item>button,post-mainnavigation post-list-item post-megadropdown-trigger button{font-size:14px}}@media screen and (min-width: 1024px){post-mainnavigation post-list-item>button,post-mainnavigation post-list-item post-megadropdown-trigger button{padding-inline-end:12px;transition:border-block-end-color 250ms cubic-bezier(0.4, 0, 0.2, 1)}post-mainnavigation post-list-item>button .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button .nav-el-inactive{width:calc(100% - 28px)}post-mainnavigation post-list-item>button::after,post-mainnavigation post-list-item post-megadropdown-trigger button::after{transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}post-mainnavigation post-list-item>button.selected::after,post-mainnavigation post-list-item>button[aria-expanded=true]::after,post-mainnavigation post-list-item post-megadropdown-trigger button.selected::after,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true]::after{transform:rotate(180deg)}}@media screen and (min-width: 1024px){post-mainnavigation post-megadropdown button:not(.btn-icon-close),post-mainnavigation post-megadropdown a{width:100%;min-width:100%;height:48px;padding-inline:8px 12px;gap:16px;font-weight:400;position:relative}post-mainnavigation post-megadropdown button:not(.btn-icon-close)::before,post-mainnavigation post-megadropdown a::before{content:"";background-color:#050400;bottom:0;width:100%;height:1px;position:absolute;left:0}post-mainnavigation post-megadropdown button:not(.btn-icon-close).selected,post-mainnavigation post-megadropdown button:not(.btn-icon-close)[aria-expanded=true],post-mainnavigation post-megadropdown a.selected,post-mainnavigation post-megadropdown a[aria-expanded=true]{background-color:#050400;color:#fff}post-mainnavigation post-megadropdown button:not(.btn-icon-close):hover,post-mainnavigation post-megadropdown a:hover{background-color:#504f4b;color:#fff}post-mainnavigation post-megadropdown button:not(.btn-icon-close):hover::before,post-mainnavigation post-megadropdown a:hover::before{background-color:#504f4b}}@media screen and (min-width: 1024px){post-mainnavigation [slot=back-button]{display:none}}@media screen and (max-width: 1023.98px){post-mainnavigation nav{transform:none !important}post-mainnavigation .scroll-control{display:none}post-mainnavigation post-list-item>a,post-mainnavigation post-list-item>button,post-mainnavigation post-list-item post-megadropdown-trigger button{width:100%;min-width:100%;height:48px;padding-inline:8px 12px;gap:16px;font-weight:400;position:relative}post-mainnavigation post-list-item>a::before,post-mainnavigation post-list-item>button::before,post-mainnavigation post-list-item post-megadropdown-trigger button::before{content:"";background-color:#050400;bottom:0;width:100%;height:1px;position:absolute;left:0}post-mainnavigation post-list-item>a.selected,post-mainnavigation post-list-item>a[aria-expanded=true],post-mainnavigation post-list-item>button.selected,post-mainnavigation post-list-item>button[aria-expanded=true],post-mainnavigation post-list-item post-megadropdown-trigger button.selected,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true]{background-color:#050400;color:#fff}post-mainnavigation post-list-item>a:hover,post-mainnavigation post-list-item>button:hover,post-mainnavigation post-list-item post-megadropdown-trigger button:hover{background-color:#504f4b;color:#fff}post-mainnavigation post-list-item>a:hover::before,post-mainnavigation post-list-item>button:hover::before,post-mainnavigation post-list-item post-megadropdown-trigger button:hover::before{background-color:#504f4b}post-mainnavigation post-list-item>a .nav-el-inactive,post-mainnavigation post-list-item>button .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button .nav-el-inactive{display:none}post-mainnavigation>button::after,post-mainnavigation post-megadropdown-trigger button::after{transform:rotate(-90deg)}}post-mainnavigation .back-button .btn{padding-inline:0}';const $=class{constructor(e){t(this,e),this.postToggleMegadropdown=n(this,"postToggleMegadropdown",7),this.handleClickOutside=t=>{if("desktop"!==this.device)return;const e=t.target;if(!this.host.contains(e)){if(e instanceof HTMLElement){const t=e.closest("post-megadropdown-trigger");if(t&&t.getAttribute("for")!==this.host.id)return}this.hide(!1)}},this.device=d.get("name"),this.isVisible=!1,this.animationClass=null}breakpointChange(t){this.device=t.detail,"desktop"===this.device&&this.isVisible&&(this.animationClass=null)}disconnectedCallback(){this.removeListeners(),window.removeEventListener("postBreakpoint:name",this.breakpointChange.bind(this)),$.activeDropdown===this&&($.activeDropdown=null)}componentWillRender(){this.getFocusableElements()}async toggle(){this.isVisible?this.hide():await this.show()}async show(){$.activeDropdown&&$.activeDropdown!==this?$.activeDropdown.forceClose():this.animationClass="slide-in",this.isVisible=!0,$.activeDropdown=this,this.postToggleMegadropdown.emit({isVisible:this.isVisible}),this.firstFocusableEl&&"none"!==window.getComputedStyle(this.firstFocusableEl).display&&this.firstFocusableEl.focus(),this.addListeners()}async hide(t=!0,e=!1){this.postToggleMegadropdown.emit({isVisible:!1,focusParent:t}),e?this.forceClose():this.animationClass="slide-out"}async focusFirst(){this.firstFocusableEl?.focus()}connectedCallback(){window.addEventListener("postBreakpoint:name",this.breakpointChange.bind(this))}forceClose(){this.isVisible=!1,this.animationClass=null,this.postToggleMegadropdown.emit({isVisible:this.isVisible,focusParent:!1}),this.removeListeners()}handleAnimationEnd(){"slide-out"===this.animationClass&&(this.isVisible=!1,this.animationClass=null,$.activeDropdown=null,this.removeListeners())}addListeners(){this.host.addEventListener("keydown",(t=>this.keyboardHandler(t))),document.addEventListener("keyup",(t=>this.handleTabOutside(t))),document.addEventListener("mousedown",this.handleClickOutside)}removeListeners(){this.host.removeEventListener("keydown",(t=>this.keyboardHandler(t))),document.removeEventListener("keyup",(t=>this.handleTabOutside(t))),document.removeEventListener("mousedown",this.handleClickOutside)}getFocusableElements(){const t=Array.from(this.host.querySelectorAll("post-list-item, h3, .back-button")).flatMap((t=>Array.from(x(t))));this.firstFocusableEl=t[0],this.lastFocusableEl=t[t.length-1]}keyboardHandler(t){"Tab"===t.key&&"desktop"!==this.device&&(t.shiftKey&&document.activeElement===this.firstFocusableEl?(t.preventDefault(),this.lastFocusableEl.focus()):t.shiftKey||document.activeElement!==this.lastFocusableEl||(t.preventDefault(),this.firstFocusableEl.focus()))}handleTabOutside(t){"Tab"===t.key&&"desktop"===this.device&&(this.host.contains(t.target)||this.hide(!1))}render(){return e(o,{key:"7426a12ebaeac0ce3b8402c3da4d5393daca059b",version:a},e("div",{key:"d47b60c334577f5662f19912f12ce941b4b52d94",class:`megadropdown-container ${this.animationClass||""}`,style:this.isVisible?{}:{display:"none"},onAnimationEnd:()=>this.handleAnimationEnd()},e("div",{key:"2798f217b2b3e43c3c63072884bbbbe7d99ed62f",class:"megadropdown"},e("slot",{key:"b61f82bbc7f87f65d9b6957e7a4e5d6790b6dd00",name:"megadropdown-title"}),e("div",{key:"f4996a819511cb59185faeedbdcec4be6e6f8a24",class:"megadropdown-content"},e("slot",{key:"54f695c3b3d30a6a1aae7f7dc6f65f4d4d27de68"})),e("div",{key:"b1334295c7d758e20c85b6c6c8cefc31dcf09e20",onClick:()=>this.hide(!0),class:"back-button"},e("slot",{key:"c4db69fa3207ce4cb47b725e37b1993820a2a64c",name:"back-button"})),e("div",{key:"68b22a3222382586fc749dec63e36edae84360c1",onClick:()=>this.hide(!0),class:"close-button"},e("slot",{key:"8023b75c931a95dbd9552c1a713790e77e40f526",name:"close-button"})))))}get host(){return i(this)}};$.activeDropdown=null,$.style='@keyframes slide-in{0%{transform:translateX(100%)}100%{transform:translateX(0%)}}@keyframes slide-out{from{transform:translateX(0%)}to{transform:translateX(100%)}}@keyframes slide-down{from{transform:translateY(-100%)}to{transform:translateY(0%)}}@keyframes slide-up{0%{transform:translateY(0%)}100%{transform:translateY(-100%)}}*,::before,::after{box-sizing:border-box}.megadropdown-container{box-shadow:0 8px 6px rgba(0,0,0,.16);position:absolute;background-color:#fafafa;border:none;z-index:1;width:100%;inset-block-start:100%;inset-inline-start:0;border-radius:0}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.megadropdown-container{border-block-end:1px solid CanvasText}}.megadropdown-container.slide-in{animation:slide-down 350ms forwards}.megadropdown-container.slide-out{animation:slide-up 350ms forwards}@media screen and (max-width: 1023.98px){.megadropdown-container{z-index:4;position:fixed;inset-block-start:var(--post-header-navigation-current-inset);inset-inline:0;height:calc(min(var(--post-header-scroll-parent-height, 100dvh),100dvh) - var(--post-header-height));border-block-start:unset;overflow-y:auto;overscroll-behavior:contain}.megadropdown-container.slide-in{animation:slide-in 350ms forwards}.megadropdown-container.slide-out{animation:slide-out 350ms forwards}}@media screen and (min-width: 1024px){.megadropdown-container{max-height:calc(100vh - var(--post-header-height) - 48px);overflow-y:auto}}.megadropdown{padding:31px 40px 40px;background-color:#fafafa}@media screen and (max-width: 1023.98px){.megadropdown{display:flex;flex-direction:column;width:inherit;padding:16px 32px 24px}}@media screen and (max-width: 599.98px){.megadropdown{padding-inline:16px}}.megadropdown .megadropdown-content{gap:1.5rem;display:grid;grid-template-columns:repeat(auto-fit, minmax(min(15vw, 100%), 1fr));grid-auto-rows:1fr auto;grid-auto-flow:dense}@media screen and (max-width: 1023.98px){.megadropdown .megadropdown-content{grid-template-columns:repeat(auto-fit, minmax(min(35vw, 100%), 1fr))}}@media screen and (max-width: 599.98px){.megadropdown .megadropdown-content{grid-template-columns:1fr}}.megadropdown h2{display:none;margin-block:0 8px;font-weight:900}.megadropdown h2 a{text-decoration:none;display:none;font-weight:inherit;border-block:0}@media screen and (max-width: 1023.98px){.megadropdown h2{display:block;font-size:1.25rem}}@media screen and (max-width: 599.98px){.megadropdown h2{font-size:1.125rem}}.megadropdown post-list{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0px}.megadropdown post-list>[role=list]{flex-direction:unset;display:unset}.megadropdown post-list>*{width:100%}.megadropdown post-list .list-title{display:flex;flex-direction:column-reverse;height:100%}.megadropdown post-list .list-title h3{font-size:20px;display:block;font-weight:900}.megadropdown post-list .list-title h3:not(:has(a)),.megadropdown post-list .list-title h3 a{padding:16px 12px 14px 8px}.megadropdown post-list .list-title h3:not(:has(a)){position:relative}.megadropdown post-list .list-title h3:not(:has(a))::before{content:"";background-color:#050400;inset-block-end:0;inset-inline-start:0;width:100%;height:2px;position:absolute}.megadropdown post-list .list-title h3 a{border-radius:0;text-decoration:none;font-size:inherit;display:flex;align-items:center;justify-content:space-between;min-height:53px;width:100%;min-width:100%;height:48px;padding-inline:8px 12px;gap:16px;font-weight:400;position:relative;height:unset;font-weight:900}.megadropdown post-list .list-title h3 a::before{content:"";background-color:#050400;bottom:0;width:100%;height:1px;position:absolute;left:0}.megadropdown post-list .list-title h3 a.selected,.megadropdown post-list .list-title h3 a[aria-expanded=true]{background-color:#050400;color:#fff}.megadropdown post-list .list-title h3 a:hover{background-color:#504f4b;color:#fff}.megadropdown post-list .list-title h3 a:hover::before{background-color:#504f4b}.megadropdown post-list .list-title h3 a::before{height:2px}@media screen and (max-width: 1023.98px){.megadropdown post-list .list-title h3{font-size:1rem}.megadropdown post-list .list-title h3:not(:has(a)),.megadropdown post-list .list-title h3 a{padding:14px 12px 12px 8px}}@media screen and (max-width: 599.98px){.megadropdown post-list .list-title h3{font-size:.875rem}}.megadropdown post-list-item>a{padding-block:13px 12px;padding-inline-start:8px;display:flex;text-decoration:none;width:100%;min-width:100%;height:auto;min-height:48px;white-space:normal;word-break:break-word}.megadropdown post-list-item>a:hover{border-block-width:0}@media screen and (min-width: 1024px){.megadropdown post-list-item>a{font-size:1.25rem}}@media screen and (max-width: 1023.98px){.megadropdown post-list-item>a{padding-block:12px 11px}}@media screen and (max-width: 599.98px){.megadropdown post-list-item>a{font-size:.875rem}}.megadropdown .back-button{display:none;margin-block-end:2rem}.megadropdown .back-button .btn{width:auto}@media screen and (max-width: 1023.98px){.megadropdown .back-button{order:-1;display:block}}.megadropdown .close-button{position:absolute;inset-block-start:1rem;inset-inline-end:1rem}@media screen and (max-width: 1023.98px){.megadropdown .close-button{display:none}}';const B=class{constructor(e){t(this,e),this.slottedButton=null,this.wasExpanded=!1,this.handleKeyDown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleToggle(),this.megadropdown&&!this.ariaExpanded&&setTimeout((()=>this.megadropdown.focusFirst()),100))},this.handleToggleMegadropdown=t=>{l(this.host,t,{targetLocalName:"post-megadropdown"},(()=>{t.target.id===this.for&&(this.ariaExpanded=t.detail.isVisible,this.wasExpanded&&!this.ariaExpanded&&t.detail.focusParent&&setTimeout((()=>{this.slottedButton?.focus()}),100),this.wasExpanded=this.ariaExpanded,this.slottedButton&&this.slottedButton.setAttribute("aria-expanded",this.ariaExpanded.toString()))}))},this.for=void 0,this.ariaExpanded=!1}validateControlFor(){f(this,"for","string")}get megadropdown(){const t=document.getElementById(this.for);return t&&"post-megadropdown"===t.localName?t:null}handleToggle(){this.megadropdown?this.megadropdown.toggle():console.warn(`No post-megadropdown found with ID: ${this.for}`)}componentDidLoad(){this.validateControlFor(),document.addEventListener("postToggleMegadropdown",this.handleToggleMegadropdown),this.slottedButton=this.host.querySelector("button"),this.slottedButton?(this.slottedButton.setAttribute("aria-haspopup","menu"),this.slottedButton.addEventListener("click",(()=>{this.handleToggle()})),this.slottedButton.addEventListener("keydown",this.handleKeyDown)):console.warn("No button found within post-megadropdown-trigger")}disconnectedCallback(){document.removeEventListener("postToggleMegadropdown",this.handleToggleMegadropdown)}render(){return e(o,{key:"86b85efede8d9b19f3f0560f500f33f5e172177f","data-version":a,"tab-index":"-1"},e("button",{key:"0f810e4c38bc4abf23ac60ab27b36d408e7ced0d"},e("slot",{key:"2a522ac7e15ef8ac077b73cdebf629b89ea173c6"})))}get host(){return i(this)}static get watchers(){return{for:["validateControlFor"]}}};B.style="post-megadropdown-trigger{width:100%;position:relative;z-index:3}";const j=class{constructor(e){t(this,e),this.toggleMenu=n(this,"toggleMenu",7),this.lastFocusedElement=null,this.KEYCODES={SPACE:" ",ENTER:"Enter",UP:"ArrowUp",DOWN:"ArrowDown",TAB:"Tab",HOME:"Home",END:"End",ESCAPE:"Escape"},this.handleKeyDown=t=>{t.stopPropagation(),t.key!==this.KEYCODES.ESCAPE?Object.values(this.KEYCODES).includes(t.key)&&this.controlKeyDownHandler(t):this.toggle(this.host)},this.handlePostToggle=t=>{l(this.host,t,{targetLocalName:"post-popovercontainer",delegatorSelector:"post-menu"},(()=>{this.isVisible=t.detail,this.toggleMenu.emit(this.isVisible),requestAnimationFrame((()=>{if(this.isVisible){this.lastFocusedElement=this.root?.activeElement;const t=this.getSlottedItems();t.length>0&&t[0].focus()}else this.lastFocusedElement&&this.lastFocusedElement.focus()}))}))},this.handleClick=t=>{["BUTTON","A","INPUT","SELECT","TEXTAREA"].includes(t.target.tagName)&&this.toggle(this.host)},this.placement="bottom",this.isVisible=!1}connectedCallback(){this.root=v(this.host),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick)}disconnectedCallback(){this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.popoverRef?.removeEventListener("postToggle",this.handlePostToggle)}componentDidLoad(){this.popoverRef&&this.popoverRef.addEventListener("postToggle",this.handlePostToggle)}async toggle(t){this.popoverRef?await this.popoverRef.toggle(t):console.error("toggle: popoverRef is null or undefined")}async show(t){this.popoverRef?await this.popoverRef.show(t):console.error("show: popoverRef is null or undefined")}async hide(){this.popoverRef?await this.popoverRef.hide():console.error("hide: popoverRef is null or undefined")}controlKeyDownHandler(t){const e=this.getSlottedItems();if(!e.length)return;let o=e.findIndex((t=>t===v(t).activeElement));switch(t.key){case this.KEYCODES.UP:t.preventDefault(),o=(o-1+e.length)%e.length;break;case this.KEYCODES.DOWN:t.preventDefault(),o=(o+1)%e.length;break;case this.KEYCODES.HOME:o=0;break;case this.KEYCODES.END:t.preventDefault(),o=e.length-1;break;case this.KEYCODES.SPACE:return void this.toggle(this.host);case this.KEYCODES.TAB:this.toggle(this.host)}e[o]&&e[o].focus()}getSlottedItems(){const t=this.host.shadowRoot.querySelector("slot");return(t?t.assignedElements():[]).flatMap((t=>t instanceof HTMLSlotElement?t.assignedElements():t)).flatMap((t=>Array.from(x(t))))}render(){return e(o,{key:"dd3bbcbf568e529588bcf5c90b8c2d4d07d454fb","data-version":a,role:"menu"},e("post-popovercontainer",{key:"17a24933ef087cc8699b00f7165fff33756da9a8",placement:this.placement,ref:t=>this.popoverRef=t},e("div",{key:"9ff3d687146c88cf153ea745abcaf7a3267be620",class:"popover-container",part:"popover-container"},e("slot",{key:"aff50800748410f6e2583690620c12e47b4c7a22"}))))}get host(){return i(this)}};j.style="@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}:host{display:block}post-popovercontainer{padding:var(--post-menu-padding);background-color:var(--post-menu-bg, #ffffff);border-color:var(--post-menu-bg, #ffffff)}.popover-container{display:flex;flex-direction:column}";const R=class{constructor(e){t(this,e),this.slottedButton=null,this.handleKeyDown=t=>{"ArrowUp"!==t.key&&"ArrowDown"!==t.key||(t.preventDefault(),this.handleToggle())},this.for=void 0,this.ariaExpanded=!1}validateControlFor(){f(this,"for","string")}get menu(){const t=this.root.getElementById(this.for);return t&&"post-menu"===t.localName?t:null}handleToggle(){this.menu?this.menu.toggle(this.host):console.warn(`No post-menu found with ID: ${this.for}`)}connectedCallback(){this.root=v(this.host)}componentDidLoad(){if(this.validateControlFor(),this.slottedButton=this.host.querySelector("button"),!this.slottedButton){const t=this.host.querySelector(".menu-trigger-webc");if(t.shadowRoot){const e=t.shadowRoot.querySelector("button");e&&(this.slottedButton=e)}}this.slottedButton?(this.slottedButton.setAttribute("aria-haspopup","menu"),this.menu&&this.slottedButton&&this.menu.addEventListener("toggleMenu",(t=>{this.ariaExpanded=t.detail,this.slottedButton.setAttribute("aria-expanded",this.ariaExpanded.toString())})),this.slottedButton.addEventListener("click",(()=>{this.handleToggle()})),this.slottedButton.addEventListener("keydown",this.handleKeyDown)):console.warn("No button found within post-menu-trigger")}render(){return e(o,{key:"1b9589febc2976d17eed3363d91b4321473b7b5e","data-version":a,"tab-index":"-1"},e("slot",{key:"bec55f97274084ab4721dc085dc9e1c3a216c0a3"}))}get host(){return i(this)}static get watchers(){return{for:["validateControlFor"]}}};R.style=":host{display:inline-block}";const O=Math.min,F=Math.max,N=Math.round,P=Math.floor,I=t=>({x:t,y:t}),W={left:"right",right:"left",bottom:"top",top:"bottom"},U={start:"end",end:"start"};function V(t,e,o){return F(t,O(e,o))}function q(t,e){return"function"==typeof t?t(e):t}function X(t){return t.split("-")[0]}function Y(t){return t.split("-")[1]}function K(t){return"x"===t?"y":"x"}function G(t){return"y"===t?"height":"width"}function _(t){return["top","bottom"].includes(X(t))?"y":"x"}function J(t){return K(_(t))}function Q(t){return t.replace(/start|end/g,(t=>U[t]))}function Z(t){return t.replace(/left|right|bottom|top/g,(t=>W[t]))}function tt(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 et(t){const{x:e,y:o,width:i,height:n}=t;return{width:i,height:n,top:o,left:e,right:e+i,bottom:o+n,x:e,y:o}}function ot(t,e,o){let{reference:i,floating:n}=t;const a=_(e),s=J(e),r=G(s),l=X(e),c="y"===a,d=i.x+i.width/2-n.width/2,p=i.y+i.height/2-n.height/2,h=i[r]/2-n[r]/2;let g;switch(l){case"top":g={x:d,y:i.y-n.height};break;case"bottom":g={x:d,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:p};break;case"left":g={x:i.x-n.width,y:p};break;default:g={x:i.x,y:i.y}}switch(Y(e)){case"start":g[s]-=h*(o&&c?-1:1);break;case"end":g[s]+=h*(o&&c?-1:1)}return g}async function it(t,e){var o;void 0===e&&(e={});const{x:i,y:n,platform:a,rects:s,elements:r,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:h=!1,padding:g=0}=q(e,t),u=tt(g),f=r[h?"floating"===p?"reference":"floating":p],m=et(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(f)))||o?f:f.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(r.floating)),boundary:c,rootBoundary:d,strategy:l})),v="floating"===p?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(r.floating)),w=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},x=et(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:v,offsetParent:b,strategy:l}):v);return{top:(m.top-x.top+u.top)/w.y,bottom:(x.bottom-m.bottom+u.bottom)/w.y,left:(m.left-x.left+u.left)/w.x,right:(x.right-m.right+u.right)/w.x}}function nt(t){const e=O(...t.map((t=>t.left))),o=O(...t.map((t=>t.top)));return{x:e,y:o,width:F(...t.map((t=>t.right)))-e,height:F(...t.map((t=>t.bottom)))-o}}function at(){return"undefined"!=typeof window}function st(t){return ct(t)?(t.nodeName||"").toLowerCase():"#document"}function rt(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function lt(t){var e;return null==(e=(ct(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function ct(t){return!!at()&&(t instanceof Node||t instanceof rt(t).Node)}function dt(t){return!!at()&&(t instanceof Element||t instanceof rt(t).Element)}function pt(t){return!!at()&&(t instanceof HTMLElement||t instanceof rt(t).HTMLElement)}function ht(t){return!(!at()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof rt(t).ShadowRoot)}function gt(t){const{overflow:e,overflowX:o,overflowY:i,display:n}=wt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(n)}function ut(t){return["table","td","th"].includes(st(t))}function ft(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function mt(t){const e=vt(),o=dt(t)?wt(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!o[t]&&"none"!==o[t]))||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function vt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function bt(t){return["html","body","#document"].includes(st(t))}function wt(t){return rt(t).getComputedStyle(t)}function xt(t){return dt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function yt(t){if("html"===st(t))return t;const e=t.assignedSlot||t.parentNode||ht(t)&&t.host||lt(t);return ht(e)?e.host:e}function kt(t){const e=yt(t);return bt(e)?t.ownerDocument?t.ownerDocument.body:t.body:pt(e)&>(e)?e:kt(e)}function Tt(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const n=kt(t),a=n===(null==(i=t.ownerDocument)?void 0:i.body),s=rt(n);if(a){const t=Et(s);return e.concat(s,s.visualViewport||[],gt(n)?n:[],t&&o?Tt(t):[])}return e.concat(n,Tt(n,[],o))}function Et(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function zt(t){const e=wt(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const n=pt(t),a=n?t.offsetWidth:o,s=n?t.offsetHeight:i,r=N(o)!==a||N(i)!==s;return r&&(o=a,i=s),{width:o,height:i,$:r}}function St(t){return dt(t)?t:t.contextElement}function At(t){const e=St(t);if(!pt(e))return I(1);const o=e.getBoundingClientRect(),{width:i,height:n,$:a}=zt(e);let s=(a?N(o.width):o.width)/i,r=(a?N(o.height):o.height)/n;return s&&Number.isFinite(s)||(s=1),r&&Number.isFinite(r)||(r=1),{x:s,y:r}}const Mt=I(0);function Ht(t){const e=rt(t);return vt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Mt}function Lt(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const n=t.getBoundingClientRect(),a=St(t);let s=I(1);e&&(i?dt(i)&&(s=At(i)):s=At(t));const r=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==rt(t))&&e}(a,o,i)?Ht(a):I(0);let l=(n.left+r.x)/s.x,c=(n.top+r.y)/s.y,d=n.width/s.x,p=n.height/s.y;if(a){const t=rt(a),e=i&&dt(i)?rt(i):i;let o=t,n=Et(o);for(;n&&i&&e!==o;){const t=At(n),e=n.getBoundingClientRect(),i=wt(n),a=e.left+(n.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(n.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,p*=t.y,l+=a,c+=s,o=rt(n),n=Et(o)}}return et({width:d,height:p,x:l,y:c})}function Ct(t,e){const o=xt(t).scrollLeft;return e?e.left+o:Lt(lt(t)).left+o}function Dt(t,e,o){void 0===o&&(o=!1);const i=t.getBoundingClientRect();return{x:i.left+e.scrollLeft-(o?0:Ct(t,i)),y:i.top+e.scrollTop}}function $t(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=rt(t),i=lt(t),n=o.visualViewport;let a=i.clientWidth,s=i.clientHeight,r=0,l=0;if(n){a=n.width,s=n.height;const t=vt();(!t||t&&"fixed"===e)&&(r=n.offsetLeft,l=n.offsetTop)}return{width:a,height:s,x:r,y:l}}(t,o);else if("document"===e)i=function(t){const e=lt(t),o=xt(t),i=t.ownerDocument.body,n=F(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=F(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+Ct(t);const r=-o.scrollTop;return"rtl"===wt(i).direction&&(s+=F(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:r}}(lt(t));else if(dt(e))i=function(t,e){const o=Lt(t,!0,"fixed"===e),i=o.top+t.clientTop,n=o.left+t.clientLeft,a=pt(t)?At(t):I(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:n*a.x,y:i*a.y}}(e,o);else{const o=Ht(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return et(i)}function Bt(t,e){const o=yt(t);return!(o===e||!dt(o)||bt(o))&&("fixed"===wt(o).position||Bt(o,e))}function jt(t,e,o){const i=pt(e),n=lt(e),a="fixed"===o,s=Lt(t,!0,a,e);let r={scrollLeft:0,scrollTop:0};const l=I(0);function c(){l.x=Ct(n)}if(i||!i&&!a)if(("body"!==st(e)||gt(n))&&(r=xt(e)),i){const t=Lt(e,!0,a,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else n&&c();a&&!i&&n&&c();const d=!n||i||a?I(0):Dt(n,r);return{x:s.left+r.scrollLeft-l.x-d.x,y:s.top+r.scrollTop-l.y-d.y,width:s.width,height:s.height}}function Rt(t){return"static"===wt(t).position}function Ot(t,e){if(!pt(t)||"fixed"===wt(t).position)return null;if(e)return e(t);let o=t.offsetParent;return lt(t)===o&&(o=o.ownerDocument.body),o}function Ft(t,e){const o=rt(t);if(ft(t))return o;if(!pt(t)){let e=yt(t);for(;e&&!bt(e);){if(dt(e)&&!Rt(e))return e;e=yt(e)}return o}let i=Ot(t,e);for(;i&&ut(i)&&Rt(i);)i=Ot(i,e);return i&&bt(i)&&Rt(i)&&!mt(i)?o:i||function(t){let e=yt(t);for(;pt(e)&&!bt(e);){if(mt(e))return e;if(ft(e))return null;e=yt(e)}return null}(t)||o}const Nt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:o,offsetParent:i,strategy:n}=t;const a="fixed"===n,s=lt(i),r=!!e&&ft(e.floating);if(i===s||r&&a)return o;let l={scrollLeft:0,scrollTop:0},c=I(1);const d=I(0),p=pt(i);if((p||!p&&!a)&&(("body"!==st(i)||gt(s))&&(l=xt(i)),pt(i))){const t=Lt(i);c=At(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}const h=!s||p||a?I(0):Dt(s,l,!0);return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:o.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:lt,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t;const a=[..."clippingAncestors"===o?ft(e)?[]:function(t,e){const o=e.get(t);if(o)return o;let i=Tt(t,[],!1).filter((t=>dt(t)&&"body"!==st(t))),n=null;const a="fixed"===wt(t).position;let s=a?yt(t):t;for(;dt(s)&&!bt(s);){const e=wt(s),o=mt(s);o||"fixed"!==e.position||(n=null),(a?!o&&!n:!o&&"static"===e.position&&n&&["absolute","fixed"].includes(n.position)||gt(s)&&!o&&Bt(t,s))?i=i.filter((t=>t!==s)):n=e,s=yt(s)}return e.set(t,i),i}(e,this._c):[].concat(o),i],s=a.reduce(((t,o)=>{const i=$t(e,o,n);return t.top=F(i.top,t.top),t.right=O(i.right,t.right),t.bottom=O(i.bottom,t.bottom),t.left=F(i.left,t.left),t}),$t(e,a[0],n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ft,getElementRects:async function(t){const e=this.getOffsetParent||Ft,o=this.getDimensions,i=await o(t.floating);return{reference:jt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:o}=zt(t);return{width:e,height:o}},getScale:At,isElement:dt,isRTL:function(t){return"rtl"===wt(t).direction}};function Pt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const It=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var o,i;const{x:n,y:a,placement:s,middlewareData:r}=e,l=await async function(t,e){const{placement:o,platform:i,elements:n}=t,a=await(null==i.isRTL?void 0:i.isRTL(n.floating)),s=X(o),r=Y(o),l="y"===_(o),c=["left","top"].includes(s)?-1:1,d=a&&l?-1:1,p=q(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:u}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return r&&"number"==typeof u&&(g="end"===r?-1*u:u),l?{x:g*d,y:h*c}:{x:h*c,y:g*d}}(e,t);return s===(null==(o=r.offset)?void 0:o.placement)&&null!=(i=r.arrow)&&i.alignmentOffset?{}:{x:n+l.x,y:a+l.y,data:{...l,placement:s}}}}},Wt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:r={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=q(t,e),c={x:o,y:i},d=await it(e,l),p=_(X(n)),h=K(p);let g=c[h],u=c[p];a&&(g=V(g+d["y"===h?"top":"left"],g,g-d["y"===h?"bottom":"right"])),s&&(u=V(u+d["y"===p?"top":"left"],u,u-d["y"===p?"bottom":"right"]));const f=r.fn({...e,[h]:g,[p]:u});return{...f,data:{x:f.x-o,y:f.y-i,enabled:{[h]:a,[p]:s}}}}}},Ut=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:n,middlewareData:a,rects:s,initialPlacement:r,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:f=!0,...m}=q(t,e);if(null!=(o=a.arrow)&&o.alignmentOffset)return{};const v=X(n),b=_(r),w=X(r)===r,x=await(null==l.isRTL?void 0:l.isRTL(c.floating)),y=h||(w||!f?[Z(r)]:function(t){const e=Z(t);return[Q(t),e,Q(e)]}(r)),k="none"!==u;!h&&k&&y.push(...function(t,e,o,i){const n=Y(t);let a=function(t,e,o){const i=["left","right"],n=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?n:i:e?i:n;case"left":case"right":return e?a:s;default:return[]}}(X(t),"start"===o,i);return n&&(a=a.map((t=>t+"-"+n)),e&&(a=a.concat(a.map(Q)))),a}(r,f,u,x));const T=[r,...y],E=await it(e,m),z=[];let S=(null==(i=a.flip)?void 0:i.overflows)||[];if(d&&z.push(E[v]),p){const t=function(t,e,o){void 0===o&&(o=!1);const i=Y(t),n=J(t),a=G(n);let s="x"===n?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Z(s)),[s,Z(s)]}(n,s,x);z.push(E[t[0]],E[t[1]])}if(S=[...S,{placement:n,overflows:z}],!z.every((t=>t<=0))){var A,M;const t=((null==(A=a.flip)?void 0:A.index)||0)+1,e=T[t];if(e){var H;const o="alignment"===p&&b!==_(e),i=(null==(H=S[0])?void 0:H.overflows[0])>0;if(!o||i)return{data:{index:t,overflows:S},reset:{placement:e}}}let o=null==(M=S.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:M.placement;if(!o)switch(g){case"bestFit":{var L;const t=null==(L=S.filter((t=>{if(k){const e=_(t.placement);return e===b||"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:L[0];t&&(o=t);break}case"initialPlacement":o=r}if(n!==o)return{reset:{placement:o}}}return{}}}},Vt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var o,i;const{placement:n,rects:a,platform:s,elements:r}=e,{apply:l=(()=>{}),...c}=q(t,e),d=await it(e,c),p=X(n),h=Y(n),g="y"===_(n),{width:u,height:f}=a.floating;let m,v;"top"===p||"bottom"===p?(m=p,v=h===(await(null==s.isRTL?void 0:s.isRTL(r.floating))?"start":"end")?"left":"right"):(v=p,m="end"===h?"top":"bottom");const b=f-d.top-d.bottom,w=u-d.left-d.right;let x=O(f-d[m],b),y=O(u-d[v],w);if(null!=(o=e.middlewareData.shift)&&o.enabled.x&&(y=w),null!=(i=e.middlewareData.shift)&&i.enabled.y&&(x=b),!e.middlewareData.shift&&!h){const t=F(d.left,0),e=F(d.right,0),o=F(d.top,0),i=F(d.bottom,0);g?y=u-2*(0!==t||0!==e?t+e:F(d.left,d.right)):x=f-2*(0!==o||0!==i?o+i:F(d.top,d.bottom))}await l({...e,availableWidth:y,availableHeight:x});const k=await s.getDimensions(r.floating);return u!==k.width||f!==k.height?{reset:{rects:!0}}:{}}}},qt=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:o,y:i,placement:n,rects:a,middlewareData:s}=e,{offset:r=0,mainAxis:l=!0,crossAxis:c=!0}=q(t,e),d={x:o,y:i},p=_(n),h=K(p);let g=d[h],u=d[p];const f=q(r,e),m="number"==typeof f?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(l){const t="y"===h?"height":"width",e=a.reference[h]-a.floating[t]+m.mainAxis,o=a.reference[h]+a.reference[t]-m.mainAxis;g<e?g=e:g>o&&(g=o)}if(c){var v,b;const t="y"===h?"width":"height",e=["top","left"].includes(X(n)),o=a.reference[p]-a.floating[t]+(e&&(null==(v=s.offset)?void 0:v[p])||0)+(e?0:m.crossAxis),i=a.reference[p]+a.reference[t]+(e?0:(null==(b=s.offset)?void 0:b[p])||0)-(e?m.crossAxis:0);u<o?u=o:u>i&&(u=i)}return{[h]:g,[p]:u}}}};var Xt=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:o="",...i}={}){super(t,i),this.oldState=String(e||""),this.newState=String(o||"")}},Yt=new WeakMap;function Kt(t,e,o){Yt.set(t,setTimeout((()=>{Yt.has(t)&&t.dispatchEvent(new Xt("toggle",{cancelable:!1,oldState:e,newState:o}))}),0))}var Gt=globalThis.ShadowRoot||function(){},_t=globalThis.HTMLDialogElement||function(){},Jt=new WeakMap,Qt=new WeakMap,Zt=new WeakMap;function te(t){return Zt.get(t)||"hidden"}var ee=new WeakMap;function oe(t,e){return!("auto"!==t.popover&&"manual"!==t.popover||!t.isConnected||e&&"showing"!==te(t)||!e&&"hidden"!==te(t)||t instanceof _t&&t.hasAttribute("open")||document.fullscreenElement===t)}function ie(t){return t?Array.from(Qt.get(t.ownerDocument)||[]).indexOf(t)+1:0}function ne(t){const e=Qt.get(t);for(const t of e||[]){if(t.isConnected)return t;e.delete(t)}return null}function ae(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?ae(t.parentNode):t}function se(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===Zt.get(t))return t;if((t=t instanceof Element&&t.assignedSlot||t.parentElement||ae(t))instanceof Gt&&(t=t.host),t instanceof Document)return}}function re(t){return!(t.hidden||t instanceof Gt||(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 le=new WeakMap;function ce(t){if(!oe(t,!1))return;const e=t.ownerDocument;if(!t.dispatchEvent(new Xt("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"})))return;if(!oe(t,!1))return;let o=!1;if("auto"===t.popover){const o=t.getAttribute("popover");if(he(function(t){const e=new Map;let o=0;for(const i of Qt.get(t.ownerDocument)||[])e.set(i,o),o+=1;e.set(t,o),o+=1;let i=null;return function(t){const o=se(t);if(null===o)return null;const n=e.get(o);(null===i||e.get(i)<n)&&(i=o)}(t.parentElement||ae(t)),i}(t)||e,!1,!0),o!==t.getAttribute("popover")||!oe(t,!1))return}ne(e)||(o=!0),le.delete(t);const i=e.activeElement;var n;t.classList.add(":popover-open"),Zt.set(t,"showing"),Jt.has(e)||Jt.set(e,new Set),Jt.get(e).add(t),n=t,function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let o=e.querySelector("[autofocus]");if(o)return o;{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(o=e.querySelector("[autofocus]"),o)return o}}}const i=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);let n=i.currentNode;for(;n;){if(re(n))return n;n=i.nextNode()}}(n)?.focus(),"auto"===t.popover&&(Qt.has(e)||Qt.set(e,new Set),Qt.get(e).add(t),me(ee.get(t),!0)),o&&i&&"auto"===t.popover&&le.set(t,i),Kt(t,"closed","open")}function de(t,e=!1,o=!1){if(!oe(t,!0))return;const i=t.ownerDocument;if("auto"===t.popover&&(he(t,e,o),!oe(t,!0)))return;if(me(ee.get(t),!1),ee.delete(t),o&&(t.dispatchEvent(new Xt("beforetoggle",{oldState:"open",newState:"closed"})),!oe(t,!0)))return;Jt.get(i)?.delete(t),Qt.get(i)?.delete(t),t.classList.remove(":popover-open"),Zt.set(t,"hidden"),o&&Kt(t,"open","closed");const n=le.get(t);n&&(le.delete(t),e&&n.focus())}function pe(t,e=!1,o=!1){let i=ne(t);for(;i;)de(i,e,o),i=ne(t)}function he(t,e,o){const i=t.ownerDocument||t;if(t instanceof Document)return pe(i,e,o);let n=null,a=!1;for(const e of Qt.get(i)||[])if(e===t)a=!0;else if(a){n=e;break}if(!a)return pe(i,e,o);for(;n&&"showing"===te(n)&&Qt.get(i)?.size;)de(n,e,o)}var ge=new WeakMap;function ue(t){if(!t.isTrusted)return;const e=t.composedPath()[0];if(!e)return;const o=e.ownerDocument;if(!ne(o))return;const i=function(t){const e=se(t),o=function(t){for(;t;){const e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||ae(t))instanceof Gt&&(t=t.host),t instanceof Document)return}}(t);return ie(e)>ie(o)?e:o}(e);if(i&&"pointerdown"===t.type)ge.set(o,i);else if("pointerup"===t.type){const t=ge.get(o)===i;ge.delete(o),t&&he(i||o,!1,!0)}}var fe=new WeakMap;function me(t,e=!1){if(!t)return;fe.has(t)||fe.set(t,t.getAttribute("aria-expanded"));const o=t.popoverTargetElement;if(o instanceof HTMLElement&&"auto"===o.popover)t.setAttribute("aria-expanded",String(e));else{const e=fe.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var ve=globalThis.ShadowRoot||function(){};function be(t,e,o){const i=t[e];Object.defineProperty(t,e,{value(t){return i.call(this,o(t))}})}var we=/(^|[^\\]):popover-open\b/g;var xe=null;function ye(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===xe)try{(xe=new CSSStyleSheet).replaceSync(e)}catch{xe=!1}if(!1===xe){const o=document.createElement("style");o.textContent=e,t instanceof Document?t.head.prepend(o):t.prepend(o)}else t.adoptedStyleSheets=[xe,...t.adoptedStyleSheets]}const ke=class{constructor(e){t(this,e),this.postToggle=n(this,"postToggle",7),this.placement="top",this.edgeGap=8,this.animation=null,this.arrow=!1,this.manualClose=!1,this.safeSpace=void 0}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(){!c||"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(we,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||Xt,be(Document.prototype,"querySelector",t),be(Document.prototype,"querySelectorAll",t),be(Element.prototype,"querySelector",t),be(Element.prototype,"querySelectorAll",t),be(Element.prototype,"matches",t),be(Element.prototype,"closest",t),be(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":"manual"},set(t){null===t?this.removeAttribute("popover"):this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(){ce(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){de(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t){"showing"===Zt.get(this)&&void 0===t||!1===t?de(this,!0,!0):void 0!==t&&!0!==t||ce(this)}}});const e=Element.prototype.attachShadow;e&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){const o=e.call(this,t);return ye(o),o}}});const o=HTMLElement.prototype.attachInternals;o&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){const t=o.call(this);return t.shadowRoot&&ye(t.shadowRoot),t}}});const i=new WeakMap;function n(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),i.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),i.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=i.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return i.delete(this),null;const e=ae(this),o=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof ve)&&o&&e.getElementById(o)||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 a;n(HTMLButtonElement),n(HTMLInputElement),(a=document).addEventListener("click",(t=>{const e=t.composedPath(),o=e[0];if(!(o instanceof Element)||o?.shadowRoot)return;const i=ae(o);if(!(i instanceof ve||i instanceof Document))return;const n=e.find((t=>t.matches?.("[popovertargetaction],[popovertarget]")));return n?(function(t){const e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;const o=te(e);"show"===t.popoverTargetAction&&"showing"===o||"hide"===t.popoverTargetAction&&"hidden"===o||("showing"===o?de(e,!0,!0):oe(e,!1)&&(ee.set(e,t),ce(e)))}(n),void t.preventDefault()):void 0})),a.addEventListener("keydown",(t=>{const e=t.key,o=t.target;t.defaultPrevented||!o||"Escape"!==e&&"Esc"!==e||he(o.ownerDocument,!0,!0)})),a.addEventListener("pointerdown",ue),a.addEventListener("pointerup",ue),ye(document)}()}componentDidLoad(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))}disconnectedCallback(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate()}async show(t){this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.host.showPopover())}async hide(){this.toggleTimeoutId||(this.eventTarget=null,this.host.hidePopover())}async toggle(t,e){return this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.host.togglePopover(e),this.toggleTimeoutId=null),this.host.matches(":where(:popover-open, .popover-open)")}handleToggle(t){this.toggleTimeoutId=window.setTimeout((()=>this.toggleTimeoutId=null),10);const e="open"===t.newState;e?(this.startAutoupdates(),this.safeSpace&&window.addEventListener("mousemove",this.mouseTrackingHandler.bind(this))):("function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.safeSpace&&window.removeEventListener("mousemove",this.mouseTrackingHandler.bind(this))),this.postToggle.emit(e)}startAutoupdates(){this.clearAutoUpdate=function(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:n=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=St(t),d=n||a?[...c?Tt(c):[],...Tt(e)]:[];d.forEach((t=>{n&&t.addEventListener("scroll",o,{passive:!0}),a&&t.addEventListener("resize",o)}));const p=c&&r?function(t,e){let o,i=null;const n=lt(t);function a(){var t;clearTimeout(o),null==(t=i)||t.disconnect(),i=null}return function s(r,l){void 0===r&&(r=!1),void 0===l&&(l=1),a();const c=t.getBoundingClientRect(),{left:d,top:p,width:h,height:g}=c;if(r||e(),!h||!g)return;const u={rootMargin:-P(p)+"px "+-P(n.clientWidth-(d+h))+"px "+-P(n.clientHeight-(p+g))+"px "+-P(d)+"px",threshold:F(0,O(1,l))||1};let f=!0;function m(e){const i=e[0].intersectionRatio;if(i!==l){if(!f)return s();i?s(!1,i):o=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==i||Pt(c,t.getBoundingClientRect())||s(),f=!1}try{i=new IntersectionObserver(m,{...u,root:n.ownerDocument})}catch(t){i=new IntersectionObserver(m,u)}i.observe(t)}(!0),a}(c,o):null;let h,g=-1,u=null;s&&(u=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&u&&(u.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var t;null==(t=u)||t.observe(e)}))),o()})),c&&!l&&u.observe(c),u.observe(e));let f=l?Lt(t):null;return l&&function e(){const i=Lt(t);f&&!Pt(f,i)&&o(),f=i,h=requestAnimationFrame(e)}(),o(),()=>{var t;d.forEach((t=>{n&&t.removeEventListener("scroll",o),a&&t.removeEventListener("resize",o)})),null==p||p(),null==(t=u)||t.disconnect(),u=null,l&&cancelAnimationFrame(h)}}(this.eventTarget,this.host,this.calculatePosition.bind(this))}getHeaderHeight(){const t=document.querySelector("post-header");return t?parseFloat(getComputedStyle(t).height):0}async calculatePosition(){const{x:t,y:e,middlewareData:o,placement:i}=await this.computeMainPosition(),n=i.split("-")[0];if(this.host.style.left=`${t}px`,this.host.style.top=`${e}px`,this.arrow&&o.arrow){const{x:t,y:e}=o.arrow,i=ke.STATIC_SIDES[n];i&&Object.assign(this.arrowRef.style,{left:t?`${t}px`:"",top:e?`${e}px`:"",[i]:"-7px"})}this.safeSpace&&this.eventTarget&&await this.updateSafeSpaceBoundaries(n)}async computeMainPosition(){const t=this.edgeGap,e=[Ut({padding:this.getHeaderHeight()}),(void 0===o&&(o={}),{name:"inline",options:o,async fn(t){const{placement:e,elements:i,rects:n,platform:a,strategy:s}=t,{padding:r=2,x:l,y:c}=q(o,t),d=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]),p=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),o=[];let i=null;for(let t=0;t<e.length;t++){const n=e[t];!i||n.y-i.y>i.height/2?o.push([n]):o[o.length-1].push(n),i=n}return o.map((t=>et(nt(t))))}(d),h=et(nt(d)),g=tt(r),u=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=l&&null!=c)return p.find((t=>l>t.left-g.left&&l<t.right+g.right&&c>t.top-g.top&&c<t.bottom+g.bottom))||h;if(p.length>=2){if("y"===_(e)){const t=p[0],o=p[p.length-1],i="top"===X(e),n=t.top,a=o.bottom,s=i?t.left:o.left,r=i?t.right:o.right;return{top:n,bottom:a,left:s,right:r,width:r-s,height:a-n,x:s,y:n}}const t="left"===X(e),o=F(...p.map((t=>t.right))),i=O(...p.map((t=>t.left))),n=p.filter((e=>t?e.left===i:e.right===o)),a=n[0].top,s=n[n.length-1].bottom;return{top:a,bottom:s,left:i,right:o,width:o-i,height:s-a,x:i,y:a}}return h}},floating:i.floating,strategy:s});return n.reference.x!==u.reference.x||n.reference.y!==u.reference.y||n.reference.width!==u.reference.width||n.reference.height!==u.reference.height?{reset:{rects:u}}:{}}}),Wt({padding:t,limiter:qt({offset:32})}),Vt({apply({availableWidth:e,elements:o}){Object.assign(o.floating.style,{maxWidth:e-2*t+"px"})}}),It(this.arrow?t+4:t)];var o;return this.arrow&&e.push((t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:n,rects:a,platform:s,elements:r,middlewareData:l}=e,{element:c,padding:d=0}=q(t,e)||{};if(null==c)return{};const p=tt(d),h={x:o,y:i},g=J(n),u=G(g),f=await s.getDimensions(c),m="y"===g,v=m?"top":"left",b=m?"bottom":"right",w=m?"clientHeight":"clientWidth",x=a.reference[u]+a.reference[g]-h[g]-a.floating[u],y=h[g]-a.reference[g],k=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let T=k?k[w]:0;T&&await(null==s.isElement?void 0:s.isElement(k))||(T=r.floating[w]||a.floating[u]);const E=x/2-y/2,z=T/2-f[u]/2-1,S=O(p[v],z),A=O(p[b],z),M=S,H=T-f[u]-A,L=T/2-f[u]/2+E,C=V(M,L,H),D=!l.arrow&&null!=Y(n)&&L!==C&&a.reference[u]/2-(L<M?S:A)-f[u]/2<0,$=D?L<M?L-M:L-H:0;return{[g]:h[g]+$,data:{[g]:C,centerOffset:L-C-$,...D&&{alignmentOffset:$}},reset:D}}}))({element:this.arrowRef,padding:t})),((t,e,o)=>{const i=new Map,n={platform:Nt,...o},a={...n.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=o,r=a.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:d,y:p}=ot(c,i,l),h=i,g={},u=0;for(let o=0;o<r.length;o++){const{name:a,fn:f}=r[o],{x:m,y:v,data:b,reset:w}=await f({x:d,y:p,initialPlacement:i,placement:h,strategy:n,middlewareData:g,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=m?m:d,p=null!=v?v:p,g={...g,[a]:{...g[a],...b}},w&&u<=50&&(u++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(c=!0===w.rects?await s.getElementRects({reference:t,floating:e,strategy:n}):w.rects),({x:d,y:p}=ot(c,h,l))),o=-1)}return{x:d,y:p,placement:h,strategy:n,middlewareData:g}})(t,e,{...n,platform:a})})(this.eventTarget,this.host,{placement:this.placement||"top",strategy:"fixed",middleware:e})}async updateSafeSpaceBoundaries(t){const e=this.eventTarget.getBoundingClientRect(),o="top"===t||"bottom"===t,i=((t,e,o)=>"top"===t||"bottom"===t?{popover:{y:"top"===t?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:"top"===t?o.top:o.bottom,xStart:o.left,xEnd:o.right}}:{popover:{x:"left"===t?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:"left"===t?o.left:o.right,yStart:o.top,yEnd:o.bottom}})(t,this.host.getBoundingClientRect(),e);ke.PROPERTIES_TO_CLEAR.forEach((t=>{this.host.style.removeProperty(t)})),o?(this.host.style.setProperty("--post-safe-space-popover-y",`${i.popover.y}px`),this.host.style.setProperty("--post-safe-space-popover-x-start",`${i.popover.xStart}px`),this.host.style.setProperty("--post-safe-space-popover-x-end",`${i.popover.xEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-y",`${i.trigger.y}px`),this.host.style.setProperty("--post-safe-space-trigger-x-start",`${i.trigger.xStart}px`),this.host.style.setProperty("--post-safe-space-trigger-x-end",`${i.trigger.xEnd}px`)):(this.host.style.setProperty("--post-safe-space-popover-x",`${i.popover.x}px`),this.host.style.setProperty("--post-safe-space-popover-y-start",`${i.popover.yStart}px`),this.host.style.setProperty("--post-safe-space-popover-y-end",`${i.popover.yEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-x",`${i.trigger.x}px`),this.host.style.setProperty("--post-safe-space-trigger-y-start",`${i.trigger.yStart}px`),this.host.style.setProperty("--post-safe-space-trigger-y-end",`${i.trigger.yEnd}px`))}render(){return e(o,{key:"980c2d7531ef77f71ea51b069dc20bbf40cd0ac4","data-version":a,popover:this.manualClose?"manual":"auto"},e("div",{key:"9fa08070a5e7f864aade0dc1afc2917e54693109",class:this.animation?`animate-${this.animation}`:""},this.arrow&&e("span",{key:"4700f55c721387f2d918214309e87c9057e4831f",class:"arrow",ref:t=>{this.arrowRef=t}}),e("slot",{key:"ec5304bc77d4f3eb91c79fb2a37d096b4d43b888"})))}get host(){return i(this)}};ke.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"},ke.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"],ke.style='@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}@layer polyfill{@supports not selector(:popover-open){[popover]:not(.\\:popover-open){display:none}}}:where(post-popovercontainer){background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;margin:0;padding:0;overflow:visible}:where(post-popovercontainer)>div{box-shadow:var(--post-device-elevation-300);width:max-content;max-width:100%;color:var(--post-current-palette-fg);background-color:var(--post-current-palette-bg);border:2px solid rgba(0,0,0,0);border-radius:4px}:where(post-popovercontainer)>div.animate-pop-in{animation:popIn .25s ease-out forwards}:where(post-popovercontainer)[tooltip]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:where(post-popovercontainer)[safe-space]::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto}:where(post-popovercontainer)[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)))}:where(post-popovercontainer)[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)))}:where(post-popovercontainer):not(:has(.arrow))>div{box-shadow:var(--post-device-elevation-300)}:where(post-popovercontainer):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))}:where(post-popovercontainer):has(.arrow.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))}:where(post-popovercontainer):has(.arrow.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))}:where(post-popovercontainer):has(.arrow.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))}:where(post-popovercontainer) .arrow{position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:where(post-popovercontainer) .arrow.top{border-block-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.right{border-block-start:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.left{border-block-end:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.bottom{border-block-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0)}';const Te=class{constructor(e){t(this,e),this.handleClick=()=>{this.toggled=!this.toggled},this.handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())},this.toggled=!1}validateToggled(){f(this,"toggled","boolean")}componentWillLoad(){this.validateToggled(),this.host.addEventListener("click",(()=>this.handleClick())),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)))}render(){return e(o,{key:"3a1429a9b67b8cfafae184fe0d060ee3a04974e0","data-version":a,role:"button",tabindex:"0","aria-pressed":this.toggled.toString()},e("slot",{key:"9ab1537574423740fc335fde732c699698acac25"}))}get host(){return i(this)}static get watchers(){return{toggled:["validateToggled"]}}};Te.style=":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}";export{y as P,k as a,z as b,S as c,M as d,H as e,L as f,C as g,D as h,$ as i,B as j,j as k,R as l,ke as m,Te as n}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,H as a,g as s}from"./p-9e461613.js";import{v as e}from"./p-2dc0a2d0.js";import{c as r}from"./p-181c73d5.js";import"./p-722ffaae.js";var o;!function(t){t.Slotted="slotted",t.Image="image",t.Initials="initials",t[t.Null=null]="Null"}(o||(o={}));const n=class{constructor(i){t(this,i),this.firstname=void 0,this.lastname=void 0,this.userid=void 0,this.email=void 0,this.slottedImage=void 0,this.avatarType=null,this.imageUrl="",this.imageAlt="",this.initials=""}validateFirstname(){r(this,"firstname")}async getAvatar(){if(null!==this.slottedImage)this.avatarType=o.Slotted;else{let t=!1;!t&&this.userid&&(t=await this.getImageByProp(this.userid,this.fetchImageByUserId.bind(this))),!t&&this.email&&(t=await this.getImageByProp(this.email,this.fetchImageByEmail.bind(this))),t||this.getAvatarByInitials()}}async getImageByProp(t,i){if(!t)return!1;const a=await this.getStorageItem(t)??{ok:!1,url:""};if(!a.ok)try{const t=await i();a.ok=t.ok,a.url=t.url,this.imageUrl=a.url,this.imageAlt=`${this.firstname} ${this.lastname} avatar`,this.avatarType=o.Image,this.setStorageItem(this.userid,JSON.stringify(a))}catch(i){this.removeStorageItem(t),console.info(`Loading avatar by type "${o.Image}" failed.`)}return a.ok}async fetchImageByUserId(){return await fetch(n.INTERNAL_USERID_IMAGE_SRC.replace("{userid}",encodeURIComponent(this.userid)))}async fetchImageByEmail(){const t=await this.cryptify(this.email),i="https://www.gravatar.com/avatar/{email}?s=80&d=404&r=g".replace("{email}",t);return await fetch(i)}getAvatarByInitials(){this.initials=this.getInitials(),this.avatarType=o.Initials}getNames(){return[this.firstname,this.lastname].filter((t=>t))}getInitials(){return this.getNames().map((t=>t.charAt(0))).join("").trim()}async getStorageItem(t){const i=await this.cryptify(t),a=window?.sessionStorage?.getItem(i);return a?JSON.parse(a):null}async setStorageItem(t,i){const a=await this.cryptify(t);window?.sessionStorage?.setItem(a,i)}async removeStorageItem(t){const i=await this.cryptify(t);window?.sessionStorage?.removeItem(i)}async cryptify(t){return await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t)).then((t=>Array.from(new Uint8Array(t)).map((t=>t.toString(16).padStart(2,"0"))).join("")))}onSlotDefaultChange(){this.slottedImage=this.host.querySelector("img"),this.getAvatar()}componentWillRender(){this.slottedImage=this.host.querySelector("img"),this.getAvatar()}componentDidLoad(){this.validateFirstname()}render(){const t=this.getNames().reduce(((t,a,s)=>(s>0&&t.push(i("span",null," ")),t.push(a.charAt(0)),t.push(i("span",null,a.slice(1))),t)),[]);return i(a,{"data-version":e},i("slot",{onSlotchange:this.onSlotDefaultChange.bind(this)},"image"===this.avatarType&&i("img",{src:this.imageUrl,alt:this.imageAlt}),"initials"===this.avatarType&&i("div",{class:"initials"},t)))}get host(){return s(this)}static get watchers(){return{firstname:["validateFirstname"]}}};n.INTERNAL_USERID_IMAGE_SRC="https://web.post.ch/UserProfileImage/{userid}.png",n.style='@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}:host{--post-avatar-bg:var(--post-scheme-color-interactive-primary-enabled-bg2);--post-avatar-fg:var(--post-scheme-color-interactive-primary-enabled-fg3);display:inline-flex;position:relative;width:var(--post-device-sizing-interactive-icon-size3);height:var(--post-device-sizing-interactive-icon-size3);background-color:var(--post-scheme-color-interactive-primary-enabled-stroke3);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3);border-radius:var(--post-device-border-radius-round);font-size:var(--post-device-font-size-8);vertical-align:top;line-height:1}:host::after{display:block;content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}*,*::before,*::after{box-sizing:border-box}slot,img,::slotted(img){display:block;width:100%;height:100%}img,::slotted(img){border-radius:var(--post-device-border-radius-round)}::slotted(:not(img)){display:none !important}.initials{display:flex;justify-content:center;align-items:center;position:relative;z-index:2;width:100%;height:100%;background-color:var(--post-avatar-bg);border-radius:var(--post-device-border-radius-round);color:var(--post-avatar-fg);text-transform:uppercase}.initials span{width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.initials span:not(caption){position:absolute !important}';export{n as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(n,o,t,e){const c=o.target;c&&c.localName===t.targetLocalName&&(t.delegatorSelector&&function(n,o){let t=n;for(;t;){if(t.matches(o))return t;const n=t.parentElement;if(n)t=n;else{const n=t.parentNode;t=n instanceof ShadowRoot?n.host:null}}return null}(c,t.delegatorSelector)!==n||e())}export{n as e}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as o,H as e,g as i}from"./p-9e461613.js";import{s,a}from"./p-9b052461.js";import{v as r}from"./p-2dc0a2d0.js";import{c}from"./p-7709c14a.js";import{c as n}from"./p-181c73d5.js";import"./p-722ffaae.js";const h=class{constructor(o){t(this,o),this.handleScroll=()=>{this.belowFold=this.isBelowFold()},this.label=void 0,this.belowFold=!1}isBelowFold(){return window.scrollY>window.innerHeight}watchBelowFold(t){t?s(this.host,this.translateY):a(this.host,this.translateY)}scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}getSecondPixelValue(t){for(const o of t){const t=o.match(/\b\d+px\b/g);if(t&&t.length>1)return t[1]}}animateButton(){const t=window.getComputedStyle(this.host).getPropertyValue("top"),o=this.host.shadowRoot.querySelector("button"),e=getComputedStyle(o).getPropertyValue("--post-back-to-top-elevation").split(","),i=this.getSecondPixelValue(e);this.translateY=String(-1-parseFloat(t.replace("px",""))-parseFloat(i.replace("px","")))+"px",this.belowFold&&s(this.host,this.translateY),this.belowFold||(this.host.style.transform=`translateY(${this.translateY})`)}validateLabel(){n(this,"label"),c(this,"label","string")}componentWillLoad(){this.belowFold=this.isBelowFold()}componentDidLoad(){window.addEventListener("scroll",this.handleScroll,!1),this.animateButton(),this.validateLabel()}disconnectedCallback(){window.removeEventListener("scroll",this.handleScroll)}render(){return o(e,{key:"c1ab6c5e7619ad829d64aea16c59a923310cf091","data-version":r},o("button",{key:"99e10e4d16c8d82521b001c3b3d902d8ba47ee92",class:"back-to-top","aria-hidden":this.belowFold?"false":"true",tabindex:this.belowFold?"0":"-1",onClick:this.scrollToTop},o("post-icon",{key:"5a6a1b472b45fcc466127ece7091617e4700ee16","aria-hidden":"true",name:"3026"}),o("span",{key:"c8502e4822347d48034f6a936203e3314c7ae91e",class:"visually-hidden"},this.label)))}get host(){return i(this)}static get watchers(){return{belowFold:["watchBelowFold"],label:["validateLabel"]}}};h.style=":host{--post-floating-button-position-top:var(--post-device-position-4);--post-back-to-top-position-top:calc( var(--post-header-height) + var(--post-floating-button-position-top) );--post-back-to-top-elevation:var(--post-device-elevation-300);position:fixed;inset-block-start:var(--post-back-to-top-position-top);inset-inline-end:var(--post-device-position-1)}:host .back-to-top{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;box-shadow:var(--post-back-to-top-elevation);cursor:pointer;border-radius:var(--post-device-border-radius-round);width:var(--post-device-sizing-interactive-button-height-2);height:var(--post-device-sizing-interactive-button-height-2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-button-secondary-enabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg);display:flex;align-items:center;justify-content:center}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top{background-color:ButtonFace !important}:host .back-to-top:hover{background-color:Highlight !important}}:host .back-to-top{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 .back-to-top: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){:host .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .back-to-top: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){:host .back-to-top:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .back-to-top:hover{border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke);color:var(--post-scheme-color-interactive-button-secondary-hover-fg);background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:hover{color:HighlightText !important}}:host .back-to-top post-icon{height:var(--post-device-sizing-interactive-button-icon-3);width:var(--post-device-sizing-interactive-button-icon-3)}:host .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}";export{h as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as a,H as i,g as r}from"./p-9e461613.js";import{v as e}from"./p-2dc0a2d0.js";const o=class{constructor(a){t(this,a),this.postInput=s(this,"postInput",7),this.postChange=s(this,"postChange",7),this.hasChanged=!1,this.hoveredIndex=void 0,this.label="Rating",this.stars=5,this.currentRating=0,this.readonly=!1,this.keydownHandler=this.keydownHandler.bind(this),this.blurHandler=this.blurHandler.bind(this),this.hoverHandler=this.hoverHandler.bind(this)}update(t){this.readonly||t<0||t>this.stars||(this.currentRating=this.currentRating!==t?t:0,this.postInput.emit({value:this.currentRating}),this.hasChanged=!0)}keydownHandler(t){switch(t.key){case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.update(this.currentRating-1);break;case"ArrowUp":case"ArrowRight":t.preventDefault(),this.update(this.currentRating+1);break;case"Home":t.preventDefault(),this.update(0);break;case"End":t.preventDefault(),this.update(this.stars);break;case"Enter":case" ":this.blurHandler();break;default:return}}blurHandler(){this.hasChanged&&(this.postChange.emit({value:this.currentRating}),this.hasChanged=!1)}hoverHandler(t,s){this.readonly||("mouseenter"===s.type?this.hoveredIndex=t:"mouseleave"===s.type&&(this.hoveredIndex=void 0))}render(){return a(i,{key:"4ccdf384b9a4cfc462d5d3f4a7caab659b6ba2b0","data-version":e},a("div",{key:"7ab53083bcdff6586b1de7f1c9e5fa546728fc6f",role:"slider",class:"rating",tabindex:"0","aria-label":this.label,"aria-valuemin":"0","aria-valuemax":this.stars,"aria-valuenow":this.currentRating,"aria-valuetext":`${this.currentRating} out of ${this.stars}`,"aria-readonly":this.readonly?"true":"false",onKeyDown:this.keydownHandler,onBlur:this.blurHandler},Array.from({length:this.stars}).map(((t,s)=>a("div",{key:`star-${t}`,"aria-hidden":"true",class:{star:!0,"before-hover":s<this.hoveredIndex,active:s<Math.round(this.currentRating),hover:s===this.hoveredIndex,"after-active":s>this.hoveredIndex&&s<this.currentRating},onClick:()=>this.update(s+1),onMouseEnter:t=>this.hoverHandler(s,t),onMouseLeave:t=>this.hoverHandler(s,t)},a("post-icon",{name:"2062",class:"stroke"}),a("post-icon",{name:"2574",class:"fill"}))))))}get host(){return r(this)}};o.style="@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}:host{display:inline-block}.rating{display:flex;flex-wrap:wrap;overflow:hidden;margin:0 calc(var(--post-core-dimension-4)*-1);border-radius:4px}.rating .star{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fff;position:relative;width:2rem;height:2rem;cursor:pointer}.rating .star .stroke,.rating .star .fill{display:block;width:100%;height:100%;transition:all ease 100ms}.rating .star .stroke{position:absolute;inset:auto;z-index:1;color:var(--post-rating-star-stroke)}.rating .star .fill{margin:1px;width:calc(100% - 2px);height:calc(100% - 2px);color:var(--post-rating-star-fill)}.rating .star.before-hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.active{--post-rating-star-stroke:hsl(0, 0%, 20%);--post-rating-star-fill:#fc0}.rating .star.hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.after-active{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:hsl(0, 0%, 80%)}.rating :focus{outline:none}.rating:focus-visible{outline-offset:var(--post-core-dimension-2);outline:var(--post-core-dimension-2) solid #1976c8}.rating[aria-readonly=true] .star,.rating[aria-disabled=true] .star{cursor:default}.rating[aria-disabled=true] .star{--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:#fff}.rating[aria-disabled=true] .star.active{cursor:default;--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:hsl(0, 0%, 90%)}";export{o as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_tag}from"./p-89247caa.js";import"./p-9e461613.js";import"./p-2dc0a2d0.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{r as e,h as t,H as n,g as r}from"./p-9e461613.js";import{I as i}from"./p-722ffaae.js";import{c as o}from"./p-7709c14a.js";import{v as a}from"./p-2dc0a2d0.js";var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var c,s,d={exports:{}},f={exports:{}},b={exports:{}},v={exports:{}},p={exports:{}};c=p,s=p.exports,Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(e){if(!e)return[];if(Array.isArray(e))return e;if(void 0!==e.nodeType)return[e];if("string"==typeof e&&(e=document.querySelectorAll(e)),void 0!==e.length)return[].slice.call(e,0);throw new TypeError("unexpected input "+String(e))},c.exports=s.default,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.label,n=void 0===t?"context-to-element":t,i=e.resolveDocument,o=e.defaultToDocument,a=(0,r.default)(e.context)[0];if(i&&a&&a.nodeType===Node.DOCUMENT_NODE&&(a=a.documentElement),!a&&o)return document.documentElement;if(!a)throw new TypeError(n+" requires valid options.context");if(a.nodeType!==Node.ELEMENT_NODE&&a.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)throw new TypeError(n+" requires options.context to be an Element");return a};var n,r=(n=p.exports)&&n.__esModule?n:{default:n};e.exports=t.default}(v,v.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=[],t=(0,r.default)({label:"get/parents",context:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context});t;)e.push(t),(t=t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE&&(t=null);return e};var n,r=(n=v.exports)&&n.__esModule?n:{default:n};e.exports=t.default}(b,b.exports);var m={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return r||function(e){n.some((function(t){return!!e[t]&&(r=t,!0)}))}(e),e[r](t)};var n=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"],r=null;e.exports=t.default}(m,m.exports);var x={exports:{}},h={exports:{}},g={exports:{}},O={exports:{}},S={exports:{}},_={exports:{}};
|
|
2
|
+
/*!
|
|
3
|
+
* Platform.js <https://mths.be/platform>
|
|
4
|
+
* Copyright 2014-2016 Benjamin Tan <https://demoneaux.github.io/>
|
|
5
|
+
* Copyright 2011-2013 John-David Dalton <http://allyoucanleet.com/>
|
|
6
|
+
* Available under MIT license <https://mths.be/mit>
|
|
7
|
+
*/
|
|
8
|
+
!function(e,t){(function(){var n={function:!0,object:!0}[typeof window]&&window||this,r=n,i=t,o=e&&!e.nodeType&&e,a=i&&o&&"object"==typeof u&&u;!a||a.global!==a&&a.window!==a&&a.self!==a||(n=a);var l=Math.pow(2,53)-1,c=/\bOpera/,s=this,d=Object.prototype,f=d.hasOwnProperty,b=d.toString;function v(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function p(e){return e=S(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:v(e)}function m(e,t){for(var n in e)f.call(e,n)&&t(e[n],n,e)}function x(e){return null==e?v(e):b.call(e).slice(8,-1)}function h(e,t){var n=null!=e?typeof e[t]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(n)||"object"==n&&!e[t])}function g(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function O(e,t){var n=null;return function(e,t){var n=-1,r=e?e.length:0;if("number"==typeof r&&r>-1&&r<=l)for(;++n<r;)t(e[n],n);else m(e,t)}(e,(function(r,i){n=t(n,r,i,e)})),n}function S(e){return String(e).replace(/^ +| +$/g,"")}var _=function e(t){var i=n,o=t&&"object"==typeof t&&"String"!=x(t);o&&(i=t,t=null);var a=i.navigator||{},u=a.userAgent||"";t||(t=u);var l,d,f=o||s==r,v=o?!!a.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(b.toString()),_="Object",w=o?_:"ScriptBridgingProxyObject",M=o?_:"Environment",y=o&&i.java?"JavaPackage":x(i.java),j=o?_:"RuntimeObject",A=/\bJava/.test(y)&&i.java,E=A&&x(i.environment)==M,I=A?"a":"α",k=A?"b":"β",P=i.document||{},T=i.operamini||i.opera,B=c.test(B=o&&T?T["[[Class]]"]:x(T))?B:T=null,C=t,W=[],R=null,F=t==u,Z=F&&T&&"function"==typeof T.version&&T.version(),N=O([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"],(function(e,n){return e||RegExp("\\b"+(n.pattern||g(n))+"\\b","i").exec(t)&&(n.label||n)})),$=O(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt","SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"],(function(e,n){return e||RegExp("\\b"+(n.pattern||g(n))+"\\b","i").exec(t)&&(n.label||n)})),G=X([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation 3","PlayStation 4","PlayStation Vita","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),L=O({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{"PlayStation 4":1,"PlayStation 3":1,"PlayStation Vita":1}},(function(e,n,r){return e||(n[G]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(G)]||RegExp("\\b"+g(r)+"(?:\\b|\\w*\\d)","i").exec(t))&&r})),D=O(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "],(function(e,n){var r=n.pattern||g(n);return!e&&(e=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=function(e,t,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(r=r[/[\d.]+$/.exec(e)])&&(e="Windows "+r),e=String(e),t&&n&&(e=e.replace(RegExp(t,"i"),n)),p(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}(e,r,n.label||n)),e}));function X(e){return O(e,(function(e,n){var r=n.pattern||g(n);return!e&&(e=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:e).split("/"))[1]&&!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=p(e[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e}))}if(N&&(N=[N]),L&&!G&&(G=X([L])),(l=/\bGoogle TV\b/.exec(G))&&(G=l[0]),/\bSimulator\b/i.test(t)&&(G=(G?G+" ":"")+"Simulator"),"Opera Mini"==$&&/\bOPiOS\b/.test(t)&&W.push("running in Turbo/Uncompressed mode"),"IE"==$&&/\blike iPhone OS\b/.test(t)?(L=(l=e(t.replace(/like iPhone OS/,""))).manufacturer,G=l.product):/^iP/.test(G)?($||($="Safari"),D="iOS"+((l=/ OS ([\d_]+)/i.exec(t))?" "+l[1].replace(/_/g,"."):"")):"Konqueror"!=$||/buntu/i.test(D)?L&&"Google"!=L&&(/Chrome/.test($)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(G))||/\bAndroid\b/.test(D)&&/^Chrome/.test($)&&/\bVersion\//i.test(t)?($="Android Browser",D=/\bAndroid\b/.test(D)?D:"Android"):"Silk"==$?(/\bMobi/i.test(t)||(D="Android",W.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&W.unshift("accelerated")):"PaleMoon"==$&&(l=/\bFirefox\/([\d.]+)\b/.exec(t))?W.push("identifying as Firefox "+l[1]):"Firefox"==$&&(l=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(D||(D="Firefox OS"),G||(G=l[1])):$&&!(l=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec($))||($&&!G&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(l+"/")+8))&&($=null),(l=G||L||D)&&(G||L||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(D))&&($=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(D)?D:l)+" Browser")):D="Kubuntu",Z||(Z=O(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|Silk(?!/[\\d.]+$))","Version",g($),"(?:Firefox|Minefield|NetFront)"],(function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null}))),(l=("iCab"==N&&parseFloat(Z)>3?"WebKit":/\bOpera\b/.test($)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(N)&&"WebKit"||!N&&/\bMSIE\b/i.test(t)&&("Mac OS"==D?"Tasman":"Trident")||"WebKit"==N&&/\bPlayStation\b(?! Vita\b)/i.test($)&&"NetFront")&&(N=[l]),"IE"==$&&(l=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?($+=" Mobile",D="Windows Phone "+(/\+$/.test(l)?l:l+".x"),W.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?($="IE Mobile",D="Windows Phone 8.x",W.unshift("desktop mode"),Z||(Z=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=$&&"Trident"==N&&(l=/\brv:([\d.]+)/.exec(t))&&($&&W.push("identifying as "+$+(Z?" "+Z:"")),$="IE",Z=l[1]),F){if(h(i,"global"))if(A&&(C=(l=A.lang.System).getProperty("os.arch"),D=D||l.getProperty("os.name")+" "+l.getProperty("os.version")),f&&h(i,"system")&&(l=[i.system])[0]){D||(D=l[0].os||null);try{l[1]=i.require("ringo/engine").version,Z=l[1].join("."),$="RingoJS"}catch(e){l[0].global.system==i.system&&($="Narwhal")}}else"object"==typeof i.process&&!i.process.browser&&(l=i.process)?($="Node.js",C=l.arch,D=l.platform,Z=/[\d.]+/.exec(l.version)[0]):E&&($="Rhino");else x(l=i.runtime)==w?($="Adobe AIR",D=l.flash.system.Capabilities.os):x(l=i.phantom)==j?($="PhantomJS",Z=(l=l.version||null)&&l.major+"."+l.minor+"."+l.patch):"number"==typeof P.documentMode&&(l=/\bTrident\/(\d+)/i.exec(t))&&((l=+l[1]+4)!=(Z=[Z,P.documentMode])[1]&&(W.push("IE "+Z[1]+" mode"),N&&(N[1]=""),Z[1]=l),Z="IE"==$?String(Z[1].toFixed(1)):Z[0]);D=D&&p(D)}Z&&(l=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Z)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(F&&a.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(R=/b/i.test(l)?"beta":"alpha",Z=Z.replace(RegExp(l+"\\+?$"),"")+("beta"==R?k:I)+(/\d+\+?/.exec(l)||"")),"Fennec"==$||"Firefox"==$&&/\b(?:Android|Firefox OS)\b/.test(D)?$="Firefox Mobile":"Maxthon"==$&&Z?Z=Z.replace(/\.[\d.]+/,".x"):/\bXbox\b/i.test(G)?(D=null,"Xbox 360"==G&&/\bIEMobile\b/.test(t)&&W.unshift("mobile mode")):!/^(?:Chrome|IE|Opera)$/.test($)&&(!$||G||/Browser|Mobi/.test($))||"Windows CE"!=D&&!/Mobi/i.test(t)?"IE"==$&&F&&null===i.external?W.unshift("platform preview"):(/\bBlackBerry\b/.test(G)||/\bBB10\b/.test(t))&&(l=(RegExp(G.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||Z)?(D=((l=[l,/BB10/.test(t)])[1]?(G=null,L="BlackBerry"):"Device Software")+" "+l[0],Z=null):this!=m&&"Wii"!=G&&(F&&T||/Opera/.test($)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==$&&/\bOS X (?:\d+\.){2,}/.test(D)||"IE"==$&&(D&&!/^Win/.test(D)&&Z>5.5||/\bWindows XP\b/.test(D)&&Z>8||8==Z&&!/\bTrident\b/.test(t)))&&!c.test(l=e.call(m,t.replace(c,"")+";"))&&l.name&&(l="ing as "+l.name+((l=l.version)?" "+l:""),c.test($)?(/\bIE\b/.test(l)&&"Mac OS"==D&&(D=null),l="identify"+l):(l="mask"+l,$=B?p(B.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(l)&&(D=null),F||(Z=null)),N=["Presto"],W.push(l)):$+=" Mobile",(l=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(l=[parseFloat(l.replace(/\.(\d)$/,".0$1")),l],"Safari"==$&&"+"==l[1].slice(-1)?($="WebKit Nightly",R="alpha",Z=l[1].slice(0,-1)):Z!=l[1]&&Z!=(l[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1])||(Z=null),l[1]=(/\bChrome\/([\d.]+)/i.exec(t)||0)[1],537.36==l[0]&&537.36==l[2]&&parseFloat(l[1])>=28&&"WebKit"==N&&(N=["Blink"]),F&&(v||l[1])?(N&&(N[1]="like Chrome"),l=l[1]||((l=l[0])<530?1:l<532?2:l<532.05?3:l<533?4:l<534.03?5:l<534.07?6:l<534.1?7:l<534.13?8:l<534.16?9:l<534.24?10:l<534.3?11:l<535.01?12:l<535.02?"13+":l<535.07?15:l<535.11?16:l<535.19?17:l<536.05?18:l<536.1?19:l<537.01?20:l<537.11?"21+":l<537.13?23:l<537.18?24:l<537.24?25:l<537.36?26:"Blink"!=N?"27":"28")):(N&&(N[1]="like Safari"),l=(l=l[0])<400?1:l<500?2:l<526?3:l<533?4:l<534?"4+":l<535?5:l<537?6:l<538?7:l<601?8:"8"),N&&(N[1]+=" "+(l+="number"==typeof l?".x":/[.+]/.test(l)?"":"+")),"Safari"==$&&(!Z||parseInt(Z)>45)&&(Z=l)),"Opera"==$&&(l=/\bzbov|zvav$/.exec(D))?($+=" ",W.unshift("desktop mode"),"zvav"==l?($+="Mini",Z=null):$+="Mobile",D=D.replace(RegExp(" *"+l+"$"),"")):"Safari"==$&&/\bChrome\b/.exec(N&&N[1])&&(W.unshift("desktop mode"),$="Chrome Mobile",Z=null,/\bOS X\b/.test(D)?(L="Apple",D="iOS 4.3+"):D=null),Z&&0==Z.indexOf(l=/[\d.]+$/.exec(D))&&t.indexOf("/"+l+"-")>-1&&(D=S(D.replace(l,""))),N&&!/\b(?:Avant|Nook)\b/.test($)&&(/Browser|Lunascape|Maxthon/.test($)||"Safari"!=$&&/^iOS/.test(D)&&/\bSafari\b/.test(N[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test($)&&N[1])&&(l=N[N.length-1])&&W.push(l),W.length&&(W=["("+W.join("; ")+")"]),L&&G&&G.indexOf(L)<0&&W.push("on "+L),G&&W.push((/^on /.test(W[W.length-1])?"":"on ")+G),D&&(l=/ ([\d.+]+)$/.exec(D),d=l&&"/"==D.charAt(D.length-l[0].length-1),D={architecture:32,family:l&&!d?D.replace(l[0],""):D,version:l?l[1]:null,toString:function(){var e=this.version;return this.family+(e&&!d?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(l=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(C))&&!/\bi686\b/i.test(C)?(D&&(D.architecture=64,D.family=D.family.replace(RegExp(" *"+l),"")),$&&(/\bWOW64\b/i.test(t)||F&&/\w(?:86|32)$/.test(a.cpuClass||a.platform)&&!/\bWin64; x64\b/i.test(t))&&W.unshift("32-bit")):D&&/^OS X/.test(D.family)&&"Chrome"==$&&parseFloat(Z)>=39&&(D.architecture=64),t||(t=null);var K={};return K.description=t,K.layout=N&&N[0],K.manufacturer=L,K.name=$,K.prerelease=R,K.product=G,K.ua=t,K.version=$&&Z,K.os=D||{architecture:null,family:null,version:null,toString:function(){return"null"}},K.parse=e,K.toString=function(){return this.description||""},K.version&&W.unshift(Z),K.name&&W.unshift($),D&&$&&(D!=String(D).split(" ")[0]||D!=$.split(" ")[0]&&!G)&&W.push(G?"("+D+")":"on "+D),W.length&&(K.description=W.join(" ")),K}();i&&o?m(_,(function(e,t){i[t]=e})):n.platform=_}).call(u)}(_,_.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=_.exports)&&n.__esModule?n:{default:n},i=JSON.parse(JSON.stringify(r.default)),o=i.os.family||"",a="Android"===o,u="Windows"===o.slice(0,7),l="OS X"===o,c="iOS"===o,s="Blink"===i.layout,d="Gecko"===i.layout,f="Trident"===i.layout,b="EdgeHTML"===i.layout,v="WebKit"===i.layout,p=parseFloat(i.version),m=Math.floor(p);i.majorVersion=m,i.is={ANDROID:a,WINDOWS:u,OSX:l,IOS:c,BLINK:s,GECKO:d,TRIDENT:f,EDGE:b,WEBKIT:v,IE9:f&&9===m,IE10:f&&10===m,IE11:f&&11===m},t.default=i,e.exports=t.default}(S,S.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(){var e={activeElement:document.activeElement,windowScrollTop:window.scrollTop,windowScrollLeft:window.scrollLeft,bodyScrollTop:document.body.scrollTop,bodyScrollLeft:document.body.scrollLeft},t=document.createElement("iframe");t.setAttribute("style","position:absolute; position:fixed; top:0; left:-2px; width:1px; height:1px; overflow:hidden;"),t.setAttribute("aria-live","off"),t.setAttribute("aria-busy","true"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t);var n=t.contentWindow,r=n.document;r.open(),r.close();var i=r.createElement("div");return r.body.appendChild(i),e.iframe=t,e.wrapper=i,e.window=n,e.document=r,e}(),n={};return Object.keys(e).map((function(r){n[r]=function(e,t){e.wrapper.innerHTML="";var n="string"==typeof t.element?e.document.createElement(t.element):t.element(e.wrapper,e.document),r=t.mutate&&t.mutate(n,e.wrapper,e.document);return r||!1===r||(r=n),!n.parentNode&&e.wrapper.appendChild(n),r&&r.focus&&r.focus(),t.validate?t.validate(n,r,e.document):e.document.activeElement===r}(t,e[r])})),function(e){e.activeElement===document.body?(document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),r.default.is.IE10&&document.body.focus()):e.activeElement&&e.activeElement.focus&&e.activeElement.focus(),document.body.removeChild(e.iframe),window.scrollTop=e.windowScrollTop,window.scrollLeft=e.windowScrollLeft,document.body.scrollTop=e.bodyScrollTop,document.body.scrollLeft=e.bodyScrollLeft}(t),n};var n,r=(n=S.exports)&&n.__esModule?n:{default:n};e.exports=t.default}(O,O.exports);var w={exports:{}},M={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default="1.4.1",e.exports=t.default}(M,M.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=M.exports)&&n.__esModule?n:{default:n},i="undefined"!=typeof window&&window.navigator.userAgent||"",o="ally-supports-cache",a=function(e){var t=void 0;try{t=(t=window.localStorage&&window.localStorage.getItem(e))?JSON.parse(t):{}}catch(e){t={}}return t}(o);a.userAgent===i&&a.version===r.default||(a={}),a.userAgent=i,a.version=r.default,t.default={get:function(){return a},set:function(e){Object.keys(e).forEach((function(t){a[t]=e[t]})),a.time=(new Date).toISOString(),function(e,t){if(document.hasFocus())try{window.localStorage&&window.localStorage.setItem(e,JSON.stringify(t))}catch(e){}else try{window.localStorage&&window.localStorage.removeItem(e)}catch(e){}}(o,a)}},e.exports=t.default}(w,w.exports);var y={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=void 0;try{document.querySelector("html >>> :first-child"),e=">>>"}catch(t){try{document.querySelector("html /deep/ :first-child"),e="/deep/"}catch(t){e=""}}return e},e.exports=t.default}(y,y.exports);var j={exports:{}},A={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",e.exports=t.default}(A,A.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=A.exports)&&n.__esModule?n:{default:n};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" tabindex="-1" alt="" src="'+r.default+'">',e.querySelector("area")}},e.exports=t.default}(j,j.exports);var E={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=i(A.exports),r=i(S.exports);function i(e){return e&&e.__esModule?e:{default:e}}t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area href="#void" tabindex="-1" shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" alt="" src="'+n.default+'">',!1},validate:function(e,t,n){if(r.default.is.GECKO)return!0;var i=e.querySelector("area");return i.focus(),n.activeElement===i}},e.exports=t.default}(E,E.exports);var I={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=i(A.exports),r=i(S.exports);function i(e){return e&&e.__esModule?e:{default:e}}t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-area-href-test"><area shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-area-href-test" alt="" src="'+n.default+'">',e.querySelector("area")},validate:function(e,t,n){return!!r.default.is.GECKO||n.activeElement===t}},e.exports=t.default}(I,I.exports);var k={exports:{}},P={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=A.exports)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(P,P.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=P.exports)&&n.__esModule?n:{default:n};t.default={name:"can-focus-audio-without-controls",element:"audio",mutate:function(e){try{e.setAttribute("src",r.default)}catch(e){}}},e.exports=t.default}(k,k.exports);var T={exports:{}},B={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ",e.exports=t.default}(B,B.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=B.exports)&&n.__esModule?n:{default:n};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="broken-image-map-test"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#broken-image-map-test" alt="" src="'+r.default+'">',e.querySelector("area")}},e.exports=t.default}(T,T.exports);var C={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){return e.setAttribute("tabindex","-1"),e.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;"),e.innerHTML='<span style="display: block;">hello</span>',e.querySelector("span")}},e.exports=t.default}(C,C.exports);var W={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"fieldset",mutate:function(e){e.setAttribute("tabindex",0),e.setAttribute("disabled","disabled")}},e.exports=t.default}(W,W.exports);var R={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"fieldset",mutate:function(e){e.innerHTML="<legend>legend</legend><p>content</p>"}},e.exports=t.default}(R,R.exports);var F={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"span",mutate:function(e){e.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;"),e.innerHTML='<span style="display: block;">hello</span>'}},e.exports=t.default}(F,F.exports);var Z={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"form",mutate:function(e){e.setAttribute("tabindex",0),e.setAttribute("disabled","disabled")}},e.exports=t.default}(Z,Z.exports);var N={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=A.exports)&&n.__esModule?n:{default:n};t.default={element:"a",mutate:function(e){return e.href="#void",e.innerHTML='<img ismap src="'+r.default+'" alt="">',e.querySelector("img")}},e.exports=t.default}(N,N.exports);var $={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=A.exports)&&n.__esModule?n:{default:n};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" tabindex="-1" alt="" src="'+r.default+'">',e.querySelector("img")}},e.exports=t.default}($,$.exports);var G={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:function(e,t){var n=t.createElement("iframe");e.appendChild(n);var r=n.contentWindow.document;return r.open(),r.close(),n},mutate:function(e){e.style.visibility="hidden";var t=e.contentWindow.document,n=t.createElement("input");return t.body.appendChild(n),n},validate:function(e){var t=e.contentWindow.document,n=t.querySelector("input");return t.activeElement===n}},e.exports=t.default}(G,G.exports);var L={exports:{}};!function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r};var r=!((n=S.exports)&&n.__esModule?n:{default:n}).default.is.WEBKIT;e.exports=t.default}(L,L.exports);var D={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("tabindex","invalid-value")}},e.exports=t.default}(D,D.exports);var X={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"label",mutate:function(e){e.setAttribute("tabindex","-1")},validate:function(e,t,n){return e.focus(),n.activeElement===e}},e.exports=t.default}(X,X.exports);var K={exports:{}},H={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBpZD0ic3ZnIj48dGV4dCB4PSIxMCIgeT0iMjAiIGlkPSJzdmctbGluay10ZXh0Ij50ZXh0PC90ZXh0Pjwvc3ZnPg==",e.exports=t.default}(H,H.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=H.exports)&&n.__esModule?n:{default:n};t.default={element:"object",mutate:function(e){e.setAttribute("type","image/svg+xml"),e.setAttribute("data",r.default),e.setAttribute("width","200"),e.setAttribute("height","50"),e.style.visibility="hidden"}},e.exports=t.default}(K,K.exports);var z={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=i(H.exports),r=i(S.exports);function i(e){return e&&e.__esModule?e:{default:e}}t.default={name:"can-focus-object-svg",element:"object",mutate:function(e){e.setAttribute("type","image/svg+xml"),e.setAttribute("data",n.default),e.setAttribute("width","200"),e.setAttribute("height","50")},validate:function(e,t,n){return!!r.default.is.GECKO||n.activeElement===e}},e.exports=t.default}(z,z.exports);var V={exports:{}};!function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r};var r=!((n=S.exports)&&n.__esModule?n:{default:n}).default.is.IE9;e.exports=t.default}(V,V.exports);var J={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=A.exports)&&n.__esModule?n:{default:n};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="focus-redirect-img-usemap"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#focus-redirect-img-usemap" alt="" src="'+r.default+'">',e.querySelector("img")},validate:function(e,t,n){var r=e.querySelector("area");return n.activeElement===r}},e.exports=t.default}(J,J.exports);var q={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"fieldset",mutate:function(e){return e.innerHTML='<legend>legend</legend><input tabindex="-1"><input tabindex="0">',!1},validate:function(e,t,n){var r=e.querySelector('input[tabindex="-1"]'),i=e.querySelector('input[tabindex="0"]');return e.focus(),e.querySelector("legend").focus(),(n.activeElement===r?"focusable":n.activeElement===i&&"tabbable")||""}},e.exports=t.default}(q,q.exports);var U={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){return e.setAttribute("style","width: 100px; height: 50px; overflow: auto;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>',e.querySelector("div")}},e.exports=t.default}(U,U.exports);var Q={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("style","width: 100px; height: 50px;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}},e.exports=t.default}(Q,Q.exports);var Y={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("style","width: 100px; height: 50px; overflow: auto;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}},e.exports=t.default}(Y,Y.exports);var ee={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"details",mutate:function(e){return e.innerHTML="<summary>foo</summary><p>content</p>",e.firstElementChild}},e.exports=t.default}(ee,ee.exports);var te={exports:{}},ne={},re={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e.ownerSVGElement&&"svg"!==e.nodeName.toLowerCase())return!1;var t,n=((t=document.createElement("div")).innerHTML='<svg><foreignObject width="30" height="30">\n <input type="text"/>\n </foreignObject></svg>',t.firstChild.firstChild);e.appendChild(n);var r=n.querySelector("input");return r.focus(),r.disabled=!0,e.removeChild(n),!0},e.exports=t.default}(re,re.exports),Object.defineProperty(ne,"__esModule",{value:!0}),ne.generate=function(e){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+e+"</svg>"},ne.focus=ae,ne.validate=function(e,t,n){return ae(t),n.activeElement===t};var ie,oe=(ie=re.exports)&&ie.__esModule?ie:{default:ie};function ae(e){if(!e.focus)try{HTMLElement.prototype.focus.call(e)}catch(t){(0,oe.default)(e)}}!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=ne;t.default={element:"div",mutate:function(e){return e.innerHTML=(0,n.generate)('<text focusable="true">a</text>'),e.querySelector("text")},validate:n.validate},e.exports=t.default}(te,te.exports);var ue={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=ne;t.default={element:"div",mutate:function(e){return e.innerHTML=(0,n.generate)('<text tabindex="0">a</text>'),e.querySelector("text")},validate:n.validate},e.exports=t.default}(ue,ue.exports);var le={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=ne;t.default={element:"div",mutate:function(e){return e.innerHTML=(0,n.generate)('<text tabindex="-1">a</text>'),e.querySelector("text")},validate:n.validate},e.exports=t.default}(le,le.exports);var ce={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=ne;t.default={element:"div",mutate:function(e){return e.innerHTML=(0,n.generate)(['<g id="ally-test-target"><a xlink:href="#void"><text>link</text></a></g>','<use xlink:href="#ally-test-target" x="0" y="0" tabindex="-1" />'].join("")),e.querySelector("use")},validate:n.validate},e.exports=t.default}(ce,ce.exports);var se={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=ne;t.default={element:"div",mutate:function(e){return e.innerHTML=(0,n.generate)('<foreignObject tabindex="-1"><input type="text" /></foreignObject>'),e.querySelector("foreignObject")||e.getElementsByTagName("foreignObject")[0]},validate:n.validate},e.exports=t.default}(se,se.exports);var de={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r};var n=function(e){return e&&e.__esModule?e:{default:e}}(S.exports),r=Boolean(n.default.is.GECKO&&"undefined"!=typeof SVGElement&&SVGElement.prototype.focus);e.exports=t.default}(de,de.exports);var fe={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=ne;t.default={element:"div",mutate:function(e){return e.innerHTML=(0,n.generate)(""),e.firstChild},validate:n.validate},e.exports=t.default}(fe,fe.exports);var be={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("tabindex","3x")}},e.exports=t.default}(be,be.exports);var ve={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"table",mutate:function(e,t,n){var r=n.createDocumentFragment();r.innerHTML="<tr><td>cell</td></tr>",e.appendChild(r)}},e.exports=t.default}(ve,ve.exports);var pe={exports:{}},me={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(A.exports);t.default=n.default,e.exports=t.default}(me,me.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(me.exports);t.default={element:"video",mutate:function(e){try{e.setAttribute("src",n.default)}catch(e){}}},e.exports=t.default}(pe,pe.exports);var xe={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r};var n=function(e){return e&&e.__esModule?e:{default:e}}(S.exports),r=n.default.is.GECKO||n.default.is.TRIDENT||n.default.is.EDGE;e.exports=t.default}(xe,xe.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return Ie||((Ie=r.default.get()).time||(r.default.set((e=(0,n.default)(Ee),Object.keys(Ae).forEach((function(t){e[t]=Ae[t]()})),e)),Ie=r.default.get()),Ie);var e};var n=je(O.exports),r=je(w.exports),i=je(y.exports),o=je(j.exports),a=je(E.exports),u=je(I.exports),l=je(k.exports),c=je(T.exports),s=je(C.exports),d=je(W.exports),f=je(R.exports),b=je(F.exports),v=je(Z.exports),p=je(N.exports),m=je($.exports),x=je(G.exports),h=je(L.exports),g=je(D.exports),S=je(X.exports),_=je(K.exports),M=je(z.exports),A=je(V.exports),P=je(J.exports),B=je(q.exports),H=je(U.exports),ne=je(Q.exports),re=je(Y.exports),ie=je(ee.exports),oe=je(te.exports),ae=je(ue.exports),me=je(le.exports),he=je(ce.exports),ge=je(se.exports),Oe=je(de.exports),Se=je(fe.exports),_e=je(be.exports),we=je(ve.exports),Me=je(pe.exports),ye=je(xe.exports);function je(e){return e&&e.__esModule?e:{default:e}}var Ae={cssShadowPiercingDeepCombinator:i.default,focusInZeroDimensionObject:h.default,focusObjectSwf:A.default,focusSvgInIframe:Oe.default,tabsequenceAreaAtImgPosition:ye.default},Ee={focusAreaImgTabindex:o.default,focusAreaTabindex:a.default,focusAreaWithoutHref:u.default,focusAudioWithoutControls:l.default,focusBrokenImageMap:c.default,focusChildrenOfFocusableFlexbox:s.default,focusFieldsetDisabled:d.default,focusFieldset:f.default,focusFlexboxContainer:b.default,focusFormDisabled:v.default,focusImgIsmap:p.default,focusImgUsemapTabindex:m.default,focusInHiddenIframe:x.default,focusInvalidTabindex:g.default,focusLabelTabindex:S.default,focusObjectSvg:M.default,focusObjectSvgHidden:_.default,focusRedirectImgUsemap:P.default,focusRedirectLegend:B.default,focusScrollBody:H.default,focusScrollContainerWithoutOverflow:ne.default,focusScrollContainer:re.default,focusSummary:ie.default,focusSvgFocusableAttribute:oe.default,focusSvgTabindexAttribute:ae.default,focusSvgNegativeTabindexAttribute:me.default,focusSvgUseTabindex:he.default,focusSvgForeignobjectTabindex:ge.default,focusSvg:Se.default,focusTabindexTrailingCharacters:_e.default,focusTable:we.default,focusVideoWithoutControls:Me.default},Ie=null;e.exports=t.default}(g,g.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){o||(o=(0,r.default)());var t=o.focusTabindexTrailingCharacters?u:a,i=(0,n.default)({label:"is/valid-tabindex",resolveDocument:!0,context:e}),l=i.hasAttribute("tabindex"),c=i.hasAttribute("tabIndex");if(!l&&!c)return!1;if((i.ownerSVGElement||"svg"===i.nodeName.toLowerCase())&&!o.focusSvgTabindexAttribute)return!1;if(o.focusInvalidTabindex)return!0;var s=i.getAttribute(l?"tabindex":"tabIndex");return"-32768"!==s&&Boolean(s&&t.test(s))};var n=i(v.exports),r=i(g.exports);function i(e){return e&&e.__esModule?e:{default:e}}var o=void 0,a=/^\s*(-|\+)?[0-9]+\s*$/,u=/^\s*(-|\+)?[0-9]+.*$/;e.exports=t.default}(h,h.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,n.default)(e))return null;var t=e.hasAttribute("tabindex"),r=parseInt(e.getAttribute(t?"tabindex":"tabIndex"),10);return isNaN(r)?-1:r};var n=function(e){return e&&e.__esModule?e:{default:e}}(h.exports);e.exports=t.default}(x,x.exports);var he={};function ge(e){return[e.getPropertyValue("overflow"),e.getPropertyValue("overflow-x"),e.getPropertyValue("overflow-y")].some((function(e){return"auto"===e||"scroll"===e}))}Object.defineProperty(he,"__esModule",{value:!0}),he.isUserModifyWritable=function(e){var t=e.webkitUserModify||"";return Boolean(t&&-1!==t.indexOf("write"))},he.hasCssOverflowScroll=ge,he.hasCssDisplayFlex=function(e){return e.display.indexOf("flex")>-1},he.isScrollableContainer=function(e,t,n,r){return("div"===t||"span"===t)&&(!(n&&"div"!==n&&"span"!==n&&!ge(r))&&(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth))},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=c(b.exports),r=c(v.exports),i=c(m.exports),o=c(x.exports),a=c(h.exports),u=he,l=c(g.exports);function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,c=e.except,d=void 0===c?{flexbox:!1,scrollable:!1,shadow:!1}:c;s||(s=(0,l.default)());var f=(0,r.default)({label:"is/focus-relevant",resolveDocument:!0,context:t});if(!d.shadow&&f.shadowRoot)return!0;var b=f.nodeName.toLowerCase();if("input"===b&&"hidden"===f.type)return!1;if("input"===b||"select"===b||"button"===b||"textarea"===b)return!0;if("legend"===b&&s.focusRedirectLegend)return!0;if("label"===b)return!0;if("area"===b)return!0;if("a"===b&&f.hasAttribute("href"))return!0;if("object"===b&&f.hasAttribute("usemap"))return!1;if("object"===b){var v=f.getAttribute("type");if(!s.focusObjectSvg&&"image/svg+xml"===v)return!1;if(!s.focusObjectSwf&&"application/x-shockwave-flash"===v)return!1}if("iframe"===b||"object"===b)return!0;if("embed"===b||"keygen"===b)return!0;if(f.hasAttribute("contenteditable"))return!0;if("audio"===b&&(s.focusAudioWithoutControls||f.hasAttribute("controls")))return!0;if("video"===b&&(s.focusVideoWithoutControls||f.hasAttribute("controls")))return!0;if(s.focusSummary&&"summary"===b)return!0;var p=(0,a.default)(f);if("img"===b&&f.hasAttribute("usemap"))return p&&s.focusImgUsemapTabindex||s.focusRedirectImgUsemap;if(s.focusTable&&("table"===b||"td"===b))return!0;if(s.focusFieldset&&"fieldset"===b)return!0;var m="svg"===b,x=f.ownerSVGElement,h=f.getAttribute("focusable"),g=(0,o.default)(f);if("use"===b&&null!==g&&!s.focusSvgUseTabindex)return!1;if("foreignobject"===b)return null!==g&&s.focusSvgForeignobjectTabindex;if((0,i.default)(f,"svg a")&&f.hasAttribute("xlink:href"))return!0;if((m||x)&&f.focus&&!s.focusSvgNegativeTabindexAttribute&&g<0)return!1;if(m)return p||s.focusSvg||s.focusSvgInIframe||Boolean(s.focusSvgFocusableAttribute&&h&&"true"===h);if(x){if(s.focusSvgTabindexAttribute&&p)return!0;if(s.focusSvgFocusableAttribute)return"true"===h}if(p)return!0;var O=window.getComputedStyle(f,null);if((0,u.isUserModifyWritable)(O))return!0;if(s.focusImgIsmap&&"img"===b&&f.hasAttribute("ismap")){var S=(0,n.default)({context:f}).some((function(e){return"a"===e.nodeName.toLowerCase()&&e.hasAttribute("href")}));if(S)return!0}if(!d.scrollable&&s.focusScrollContainer)if(s.focusScrollContainerWithoutOverflow){if((0,u.isScrollableContainer)(f,b))return!0}else if((0,u.hasCssOverflowScroll)(O))return!0;if(!d.flexbox&&s.focusFlexboxContainer&&(0,u.hasCssDisplayFlex)(O))return!0;var _=f.parentElement;if(!d.scrollable&&_){var w=_.nodeName.toLowerCase(),M=window.getComputedStyle(_,null);if(s.focusScrollBody&&(0,u.isScrollableContainer)(_,b,w,M))return!0;if(s.focusChildrenOfFocusableFlexbox&&(0,u.hasCssDisplayFlex)(M))return!0}return!1}d.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return d({context:t,except:e})};return t.rules=d,t};var f=d.except({});t.default=f,e.exports=t.default}(f,f.exports);var Oe={exports:{}},Se={exports:{}},_e={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e.findIndex)return e.findIndex(t);var n=e.length;if(0===n)return-1;for(var r=0;r<n;r++)if(t(e[r],r,e))return r;return-1},e.exports=t.default}(_e,_e.exports);var we={exports:{}},Me={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){try{return e.contentDocument||e.contentWindow&&e.contentWindow.document||e.getSVGDocument&&e.getSVGDocument()||null}catch(e){return null}},e.exports=t.default}(Me,Me.exports);var ye={exports:{}},je={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument||document:document},e.exports=t.default}(je,je.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e).defaultView||window};var n=function(e){return e&&e.__esModule?e:{default:e}}(je.exports);e.exports=t.default}(ye,ye.exports);var Ae={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof r){var t=(0,n.default)();t&&(r=", html "+t+" ")}return r?e+r+e.replace(/\s*,\s*/g,",").split(",").join(r):e};var n=function(e){return e&&e.__esModule?e:{default:e}}(y.exports),r=void 0;e.exports=t.default}(Ae,Ae.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)(e);if(!t.parent||t.parent===t)return null;try{return t.frameElement||function(e){if(a||(a=(0,i.default)("object, iframe")),void 0!==e._frameElement)return e._frameElement;e._frameElement=null;var t=e.parent.document.querySelectorAll(a);return[].some.call(t,(function(t){return(0,n.default)(t)===e.document&&(e._frameElement=t,!0)})),e._frameElement}(t)}catch(e){return null}};var n=o(Me.exports),r=o(ye.exports),i=o(Ae.exports);function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0;e.exports=t.default}(we,we.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=a(_e.exports),r=a(b.exports),i=a(v.exports),o=a(we.exports);function a(e){return e&&e.__esModule?e:{default:e}}var u=/^(area)$/;function l(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.except,a=void 0===t?{notRendered:!1,cssDisplay:!1,cssVisibility:!1,detailsElement:!1,browsingContext:!1}:t,s=(0,i.default)({label:"is/visible",resolveDocument:!0,context:e.context}),d=s.nodeName.toLowerCase();if(!a.notRendered&&u.test(d))return!0;var f=(0,r.default)({context:s}),b="audio"===d&&!s.hasAttribute("controls");if(!a.cssDisplay&&function(e){return e.some((function(e){return"none"===l(e,"display")}))}(b?f.slice(1):f))return!1;if(!a.cssVisibility&&function(e){var t=(0,n.default)(e,(function(e){var t=l(e,"visibility");return"hidden"===t||"collapse"===t}));if(-1===t)return!1;var r=(0,n.default)(e,(function(e){return"visible"===l(e,"visibility")}));return-1===r||t<r}(f))return!1;if(!a.detailsElement&&function(e){var t=1;return"summary"===e[0].nodeName.toLowerCase()&&(t=2),e.slice(t).some((function(e){return"details"===e.nodeName.toLowerCase()&&!1===e.open}))}(f))return!1;if(!a.browsingContext){var v=(0,o.default)(s),p=c.except(a);if(v&&!p(v))return!1}return!0}c.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return c({context:t,except:e})};return t.rules=c,t};var s=c.except({});t.default=s,e.exports=t.default}(Se,Se.exports);var Ee={},Ie={exports:{}};Ie.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var t,n=String(e),r=n.length,i=-1,o="",a=n.charCodeAt(0);++i<r;)0!=(t=n.charCodeAt(i))?o+=t>=1&&t<=31||127==t||0==i&&t>=48&&t<=57||1==i&&t>=48&&t<=57&&45==a?"\\"+t.toString(16)+" ":0==i&&1==r&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+n.charAt(i):n.charAt(i):o+="�";return o};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(u),Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.getMapByName=Be,Ee.getMapOfImage=function(e){var t=e.getAttribute("usemap");if(!t)return null;var n=(0,Pe.default)(e);return Be(t.slice(1),n)},Ee.getImageOfArea=function(e){var t=e.parentElement;return t.name&&"map"===t.nodeName.toLowerCase()&&(0,Pe.default)(e).querySelector('img[usemap="#'+(0,ke.default)(t.name)+'"]')||null};var ke=Te(Ie.exports),Pe=Te(je.exports);function Te(e){return e&&e.__esModule?e:{default:e}}function Be(e,t){return t.querySelector('map[name="'+(0,ke.default)(e)+'"]')||null}!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){l||(l=(0,a.default)());var t=(0,n.default)({label:"is/valid-area",context:e});if("area"!==t.nodeName.toLowerCase())return!1;var u=t.hasAttribute("tabindex");if(!l.focusAreaTabindex&&u)return!1;var c=(0,o.getImageOfArea)(t);return!(!c||!(0,r.default)(c))&&!(!l.focusBrokenImageMap&&(!c.complete||!c.naturalHeight||c.offsetWidth<=0||c.offsetHeight<=0))&&(l.focusAreaWithoutHref||t.href?!(0,i.default)({context:c}).slice(1).some((function(e){var t=e.nodeName.toLowerCase();return"button"===t||"a"===t})):l.focusAreaTabindex&&u||l.focusAreaImgTabindex&&c.hasAttribute("tabindex"))};var n=u(v.exports),r=u(Se.exports),i=u(b.exports),o=Ee,a=u(g.exports);function u(e){return e&&e.__esModule?e:{default:e}}var l=void 0;e.exports=t.default}(Oe,Oe.exports);var Ce={exports:{}},We={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){o||((o=(0,r.default)()).focusFieldsetDisabled&&delete u.fieldset,o.focusFormDisabled&&delete u.form,a=new RegExp("^("+Object.keys(u).join("|")+")$"));var t=(0,n.default)({label:"is/native-disabled-supported",context:e}).nodeName.toLowerCase();return Boolean(a.test(t))};var n=i(v.exports),r=i(g.exports);function i(e){return e&&e.__esModule?e:{default:e}}var o=void 0,a=void 0,u={input:!0,select:!0,textarea:!0,button:!0,fieldset:!0,form:!0};e.exports=t.default}(We,We.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){u||(u=(0,o.default)());var t=(0,n.default)({label:"is/disabled",context:e});if(t.hasAttribute("data-ally-disabled"))return!0;if(!(0,i.default)(t))return!1;if(t.disabled)return!0;var a=(0,r.default)({context:t});return!!a.some(l)||!(u.focusFormDisabled||!a.some(c))};var n=a(v.exports),r=a(b.exports),i=a(We.exports),o=a(g.exports);function a(e){return e&&e.__esModule?e:{default:e}}var u=void 0;function l(e){return"fieldset"===e.nodeName.toLowerCase()&&e.disabled}function c(e){return"form"===e.nodeName.toLowerCase()&&e.disabled}e.exports=t.default}(Ce,Ce.exports);var Re={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=u(Se.exports),r=u(v.exports),i=u(we.exports),o=u(x.exports),a=u(S.exports);function u(e){return e&&e.__esModule?e:{default:e}}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.except,u=void 0===t?{onlyFocusableBrowsingContext:!1,visible:!1}:t,l=(0,r.default)({label:"is/only-tabbable",resolveDocument:!0,context:e.context});if(!u.visible&&!(0,n.default)(l))return!1;if(!u.onlyFocusableBrowsingContext&&(a.default.is.GECKO||a.default.is.TRIDENT||a.default.is.EDGE)){var c=(0,i.default)(l);if(c&&(0,o.default)(c)<0)return!1}var s=l.nodeName.toLowerCase(),d=(0,o.default)(l);return"label"===s&&a.default.is.GECKO?null!==d&&d>=0:!!(a.default.is.GECKO&&l.ownerSVGElement&&!l.focus&&"a"===s&&l.hasAttribute("xlink:href")&&a.default.is.GECKO)}l.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return l({context:t,except:e})};return t.rules=l,t};var c=l.except({});t.default=c,e.exports=t.default}(Re,Re.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=d(f.exports),r=d(Oe.exports),i=d(Se.exports),o=d(Ce.exports),a=d(Re.exports),u=d(v.exports),l=d(we.exports),c=d(x.exports),s=d(g.exports);function d(e){return e&&e.__esModule?e:{default:e}}var b=void 0;function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,d=e.except,f=void 0===d?{disabled:!1,visible:!1,onlyTabbable:!1}:d;b||(b=(0,s.default)());var v=a.default.rules.except({onlyFocusableBrowsingContext:!0,visible:f.visible}),p=(0,u.default)({label:"is/focusable",resolveDocument:!0,context:t});if(!n.default.rules({context:p,except:f})||function(e){var t=e.nodeName.toLowerCase();if("embed"===t||"keygen"===t)return!0;var n=(0,c.default)(e);if(e.shadowRoot&&null===n)return!0;if("label"===t)return!b.focusLabelTabindex||null===n;if("legend"===t)return null===n;if(b.focusSvgFocusableAttribute&&(e.ownerSVGElement||"svg"===t)){var i=e.getAttribute("focusable");return i&&"false"===i}return"img"===t&&e.hasAttribute("usemap")?null===n||!b.focusImgUsemapTabindex:"area"===t&&!(0,r.default)(e)}(p))return!1;if(!f.disabled&&(0,o.default)(p))return!1;if(!f.onlyTabbable&&v(p))return!1;if(!f.visible){var m={context:p,except:{}};if(b.focusInHiddenIframe&&(m.except.browsingContext=!0),b.focusObjectSvgHidden&&"object"===p.nodeName.toLowerCase()&&(m.except.cssVisibility=!0),!i.default.rules(m))return!1}var x=(0,l.default)(p);return!(x&&!("object"!==x.nodeName.toLowerCase()||b.focusInZeroDimensionObject||x.offsetWidth&&x.offsetHeight))&&!("svg"===p.nodeName.toLowerCase()&&b.focusSvgInIframe&&!x&&null===p.getAttribute("tabindex"))}p.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return p({context:t,except:e})};return t.rules=p,t};var m=p.except({});t.default=m,e.exports=t.default}(d,d.exports);const Fe=l(d.exports),Ze=["pointerenter","pointerleave","focusin","focusout","long-press"];i&&(async()=>{await import("./p-8db32dab.js")})();const Ne=class{constructor(t){e(this,t),this.trigger=null,this.delayTimeout=null,this.for=void 0,this.delay=0,this.boundTriggerHandler=this.handleTriggerEvent.bind(this),this.boundTooltipHandler=this.handleTooltipEvent.bind(this)}validateControlFor(){o(this,"for","string")}get tooltip(){if(!i)return null;const e=document.getElementById(this.for);return"post-tooltip"===e?.localName?e:null}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 e=this.trigger.getAttribute("aria-describedby")||"";if(e.includes(this.for)){const t=e.split(" ").filter((e=>e!==this.for)).join(" ");t?this.trigger.setAttribute("aria-describedby",t):this.trigger.removeAttribute("aria-describedby")}this.trigger=null}}setupTrigger(){if(this.trigger=this.host.querySelector("*"),this.trigger){Fe(this.trigger)||this.trigger.setAttribute("tabindex","0");const e=this.trigger.getAttribute("aria-describedby")||"";e.includes(this.for)||this.trigger.setAttribute("aria-describedby",`${e} ${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(){Ze.forEach((e=>{this.host.addEventListener(e,this.boundTriggerHandler)}))}removeListeners(){Ze.forEach((e=>{this.host.removeEventListener(e,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(e){switch(e.type){case"pointerenter":case"focusin":case"long-press":this.handleEnter();break;case"pointerleave":case"focusout":this.handleLeave(e)}}handleTooltipEvent(e){switch(e.type){case"pointerenter":this.handleEnter();break;case"pointerleave":this.handleLeave(e)}}handleEnter(){this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null),this.interestHandler()}handleLeave(e){const t=e.relatedTarget;this.tooltip&&t&&this.tooltip.contains(t)||t===this.trigger||this.interestLostHandler()}interestHandler(){this.delay>0?this.delayTimeout=window.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 t(n,{key:"4e4b53e85570d6dbba4ee7833a1d3de00e53dbc6","data-version":a},t("slot",{key:"f8f5ea2e2ce848d654e233617455bbbbdc6ba5b1",onSlotchange:()=>this.handleSlotChange()}))}get host(){return r(this)}static get watchers(){return{for:["validateControlFor"]}}};Ne.style="post-tooltip-trigger{vertical-align:top}";export{Ne as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{E as o}from"./p-440193f4.js";function r(r,t,e){const n=r.host.localName,i=r[t],p=`The prop \`${String(t)}\` of the \`${n}\` component is required.`,f=e||p;if(o.some((o=>o===i)))throw new Error(f)}export{r as c}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,H as i,g as o}from"./p-9e461613.js";import{v as r}from"./p-2dc0a2d0.js";import{b as s}from"./p-e585c6fe.js";import"./p-722ffaae.js";const c=class{constructor(t){e(this,t),this.url=void 0,this.fullUrl=void 0}validateUrl(){try{this.validUrl=this.constructUrl(this.url)}catch(e){this.validUrl=void 0}}constructUrl(e){const t=/^https?:\/\//.test(String(this.url));if("string"==typeof e)return this.fullUrl=t?e:`${window.location.origin}${e}`,s(this,"fullUrl"),this.fullUrl}connectedCallback(){this.validateUrl()}handleKeyDown(e){if("Enter"===e.key||" "===e.key){const t=this.host.shadowRoot?.querySelector("a");t&&(e.preventDefault(),t.click())}}render(){const e=this.validUrl?"a":"span";return t(i,{key:"d0444118aa031f4cf6f5161d7aa21900e9768348","data-version":r},t("post-icon",{key:"719a76e6e86bbb02526c4610acefb3ad253454af",name:"2111",class:"breadcrumb-item-icon"}),t(e,{key:"3f5ffb9c77567dba35efa7938029cd519de55474",class:"breadcrumb-item",...this.validUrl?{href:this.validUrl}:{},onKeyDown:e=>this.handleKeyDown(e)},t("slot",{key:"bb1be29905c1533f2238a47a346fb35d6a7645fd"})))}get host(){return o(this)}static get watchers(){return{url:["validateUrl"]}}};c.style=":host{display:flex;align-items:center;justify-content:start;gap:var(--post-device-spacing-gap-inline-5)}:host post-icon{box-sizing:border-box;height:var(--post-core-dimension-24);width:var(--post-core-dimension-24);padding-block:var(--post-core-dimension-4);padding-inline:var(--post-core-dimension-4)}.breadcrumb-item{white-space:nowrap;line-height:150%;padding-block:var(--post-device-spacing-padding-block-7);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-decoration:var(--post-core-text-decoration-none)}.breadcrumb-item{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}.breadcrumb-item: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){.breadcrumb-item:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.breadcrumb-item: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){.breadcrumb-item:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.breadcrumb-item:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}.breadcrumb-item:focus-visible{border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.breadcrumb-item,.breadcrumb-item:focus,.breadcrumb-item:hover{color:LinkText !important}.breadcrumb-item:visited{color:VisitedText !important}}";const a=class{constructor(t){e(this,t)}render(){return t(i,{key:"376ce17a520b6cb74c55c009843df878f99ef411",role:"menuitem","data-version":r},t("slot",{key:"e489c5c09f1527e527e052e9f4349c5b26db6ea9"}))}};export{c as P,a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_rating}from"./p-0de8d05f.js";import"./p-9e461613.js";import"./p-2dc0a2d0.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,c as n,h as e,H as t,g as r}from"./p-9e461613.js";import{v as a}from"./p-2dc0a2d0.js";import{f as i}from"./p-64e3de38.js";import{a as c,c as s}from"./p-e585c6fe.js";import"./p-722ffaae.js";import{n as l}from"./p-c65f32b0.js";import{c as b}from"./p-7709c14a.js";import{c as d}from"./p-181c73d5.js";const h=["neutral","success","warning","danger","info"],p=class{constructor(e){o(this,e),this.postDismissed=n(this,"postDismissed",7),this.bannerId=`p${l(6)}`,this.classes=void 0,this.hasActions=void 0,this.hasHeading=void 0,this.onDismissButtonClick=()=>this.dismiss(),this.dismissible=!1,this.dismissLabel=void 0,this.icon=void 0,this.type="neutral"}validateDismissible(){b(this,"dismissible","boolean"),setTimeout((()=>this.validateDismissLabel()))}validateDismissLabel(){this.dismissible&&d(this,"dismissLabel",'Dismissible post-banner\'s require a "dismiss-label" prop.')}validateIcon(){c(this,"icon",/\d{4}|none/,'The post-banner "icon" prop should be a 4-digit string.')}validateType(){s(this,"type",h)}componentDidLoad(){this.validateDismissible(),this.validateIcon(),this.validateType()}componentWillRender(){this.hasHeading=this.host.querySelectorAll("[slot=heading]").length>0,this.hasActions=this.host.querySelectorAll("[slot=actions]").length>0,this.classes="banner "+(this.type?"banner-"+this.type:""),this.dismissible&&(this.classes+=" banner-dismissible"),this.hasActions&&(this.classes+=" banner-action"),"none"===this.icon&&(this.classes+=" no-icon")}async dismiss(){const o=i(this.host);await o.finished,this.host.remove(),this.postDismissed.emit()}render(){const o=[this.hasHeading&&e("div",{key:`${this.bannerId}-heading`,class:"banner-heading"},e("slot",{key:"d4b29e3591f026b880c4b859a47bcbc3e3b11ced",name:"heading"})),e("slot",{key:`${this.bannerId}-message`})],n=[e("div",{key:`${this.bannerId}-content`,class:"banner-content"},o),e("div",{key:`${this.bannerId}-buttons`,class:"banner-buttons"},e("slot",{key:"2f1461a2374d736cb3b72641aa150bc611082f56",name:"actions"}))];return e(t,{key:"ec72012fa82e03b0dca2368025449e1942731c21","data-version":a},e("div",{key:"acae7ac34af951ca9176769ab4bcdc388d769931",role:"alert",class:this.classes,part:this.classes},this.dismissible&&e("button",{key:"23cc4d77c2825bc76cedcdc321b80b9b0f333e71",class:"btn-close",onClick:this.onDismissButtonClick},e("span",{key:"2f0753d49fc86f19df743f33a086c14b2a0686f7",class:"visually-hidden"},this.dismissLabel)),this.icon&&"none"!==this.icon&&e("post-icon",{key:`${this.bannerId}-icon`,name:this.icon}),this.hasActions?n:o))}get host(){return r(this)}static get watchers(){return{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],icon:["validateIcon"],type:["validateType"]}}};p.style=".banner,.alert{min-height:calc(var(--post-device-sizing-notification-icon-2) + (2 * var(--post-device-spacing-padding-10)));box-sizing:border-box;box-shadow:var(--post-device-elevation-100);border-radius:var(--post-device-border-radius-2);padding:var(--post-device-spacing-padding-10) var(--post-device-spacing-padding-10);padding-inline-start:calc(var(--post-device-spacing-padding-10) + var(--post-device-sizing-notification-icon-2) + var(--post-device-spacing-gap-inline-6));font-weight:var(--post-core-font-weight-400);border-style:var(--post-core-border-style-solid);border-width:var(--post-device-border-width-default);position:relative;color:var(--post-scheme-color-surface-default-fg);background-color:var(--post-scheme-color-signal-neutral);border-color:var(--post-scheme-color-signal-neutral-dark);color-scheme:var(--post-core-bg-scheme-light)}.banner:not(.no-icon)::before,.alert:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.986 15.73c-.503.16-1.03.27-1.586.27a5.24 5.24 0 0 1-4.43-2.448c-.73.382-1.547.62-2.427.62a5.257 5.257 0 0 1-5.257-5.258c0-.88.237-1.698.62-2.427a5.24 5.24 0 0 1-2.449-4.43c0-.714.145-1.393.403-2.014C16.574.028 16.29 0 16 0 7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16c0-.091-.012-.18-.014-.27M16 30.667c-8.087 0-14.667-6.58-14.667-14.667 0-7.806 6.13-14.207 13.828-14.643a6.54 6.54 0 0 0 2.116 5.56 6.3 6.3 0 0 0-.325 1.997 6.6 6.6 0 0 0 6.59 6.59c.677 0 1.346-.108 1.998-.324a6.54 6.54 0 0 0 5.067 2.15C29.933 24.796 23.639 30.667 16 30.667M11.352 14.17a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 1 1 1.334 1.334 1.336 1.336 0 0 1-1.334-1.334m13.981 8.496a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 0 1 2.667 0c0 .735-.598 1.333-1.333 1.333a1.335 1.335 0 0 1-1.334-1.333m-7.276-1.829a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.667a.667.667 0 1 1 .002-1.335.667.667 0 0 1-.002 1.335m7.772-6a2 2 0 1 0-4 0 2 2 0 0 0 4 0m-2 .666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M11.505 5.505a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M28.93 18.548a13.2 13.2 0 0 1-4.335 7.357.663.663 0 0 1-.94-.073.666.666 0 0 1 .073-.94 11.84 11.84 0 0 0 3.894-6.61.668.668 0 0 1 1.307.266m-6.668 8.212a.667.667 0 0 1-.295.896c-.837.423-1.722.757-2.63.99a.665.665 0 1 1-.33-1.292 11.7 11.7 0 0 0 2.359-.888.67.67 0 0 1 .896.294M4 15.921a.666.666 0 1 1-1.333 0 13.13 13.13 0 0 1 4.597-9.984.666.666 0 1 1 .867 1.013A11.8 11.8 0 0 0 4 15.92'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-signal-neutral-dark)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner:not(.no-icon)::before,.alert:not(.no-icon)::before{color:CanvasText}}.banner:has(>post-icon)::before,.alert:has(>post-icon)::before{content:none}.banner>post-icon,.alert>post-icon{background-color:var(--post-scheme-color-signal-neutral);color:var(--post-scheme-color-signal-neutral-dark)}.banner::before,.alert::before{content:\"\";display:block}.banner::before,.banner>post-icon,.alert::before,.alert>post-icon{position:absolute;height:var(--post-device-sizing-notification-icon-2);width:var(--post-device-sizing-notification-icon-2);left:var(--post-device-spacing-padding-10);top:var(--post-device-spacing-padding-10)}.banner.no-icon,.alert.no-icon{min-height:calc(2*var(--post-device-spacing-padding-10) + var(--post-core-dimension-24));padding-inline-start:var(--post-device-spacing-padding-10)}.banner.no-icon::before,.alert.no-icon::before{content:unset}.banner.no-icon>post-icon,.alert.no-icon>post-icon{display:none}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner,.alert{filter:none !important;border:2px solid CanvasText}}.banner:not(.banner-action):not(.alert-action),.alert:not(.banner-action):not(.alert-action){display:flex;flex-direction:column;justify-content:center;gap:var(--post-core-dimension-4)}.banner:not(.banner-action):not(.alert-action) a,.alert:not(.banner-action):not(.alert-action) a{font-weight:var(--post-core-font-weight-400)}.banner:not(.banner-action):not(.alert-action) hr,.alert:not(.banner-action):not(.alert-action) hr{margin-block:var(--post-core-dimension-8) var(--post-core-dimension-12) !important}.banner:not(.banner-action):not(.alert-action)>*,.alert:not(.banner-action):not(.alert-action)>*{margin:0}.banner-container{border:unset;background-color:rgba(0,0,0,0)}.banner-dismissible,.alert-dismissible{pointer-events:auto;position:relative}.banner-dismissible:not(.banner-action):not(.alert-action),.alert-dismissible:not(.banner-action):not(.alert-action){padding-inline-end:calc(var(--post-device-spacing-padding-10) + var(--post-device-spacing-gap-inline-6) + var(--post-core-dimension-24))}.banner-dismissible>.btn-close,.alert-dismissible>.btn-close{position:absolute;inset-block-start:1rem;inset-inline-end:var(--post-device-spacing-padding-10)}.banner-buttons,.alert-buttons{display:flex;align-items:center;justify-content:flex-start;flex-direction:row-reverse;margin-block-start:var(--post-device-spacing-padding-block-10);gap:var(--post-device-spacing-gap-1)}@media (max-width: 779.98px){.banner-buttons,.alert-buttons{flex-direction:column}}.banner-action>.banner-content,.banner-action>.alert-content,.alert-action>.banner-content,.alert-action>.alert-content{display:flex;flex-direction:column;justify-content:center;gap:var(--post-core-dimension-4)}.banner-action>.banner-content a,.banner-action>.alert-content a,.alert-action>.banner-content a,.alert-action>.alert-content a{font-weight:var(--post-core-font-weight-400)}.banner-action>.banner-content hr,.banner-action>.alert-content hr,.alert-action>.banner-content hr,.alert-action>.alert-content hr{margin-block:var(--post-core-dimension-8) var(--post-core-dimension-12) !important}.banner-action>.banner-content>*,.banner-action>.alert-content>*,.alert-action>.banner-content>*,.alert-action>.alert-content>*{margin:0}@media (max-width: 779.98px){.banner-action,.alert-action{flex-direction:column;align-items:stretch}.banner-action>.banner-content,.banner-action>.alert-content,.alert-action>.banner-content,.alert-action>.alert-content{padding-inline-start:var(--post-device-spacing-gap-inline-6)var(--post-device-sizing-notification-icon-2);padding-inline-end:var(--post-device-spacing-gap-inline-6)var(--post-core-dimension-24)}.banner-action.no-icon>.banner-content,.banner-action.no-icon>.alert-content,.alert-action.no-icon>.banner-content,.alert-action.no-icon>.alert-content{padding-inline-start:0}.banner-action>.banner-buttons,.banner-action>.alert-buttons,.alert-action>.banner-buttons,.alert-action>.alert-buttons{display:flex}.banner-action>.banner-buttons>.btn,.banner-action>.banner-buttons>::slotted(.btn),.banner-action>.alert-buttons>.btn,.banner-action>.alert-buttons>::slotted(.btn),.alert-action>.banner-buttons>.btn,.alert-action>.banner-buttons>::slotted(.btn),.alert-action>.alert-buttons>.btn,.alert-action>.alert-buttons>::slotted(.btn){flex:1 0 0;width:100%}.banner-action>.banner-buttons>.btn:first-child,.banner-action>.banner-buttons>::slotted(.btn:first-child),.banner-action>.alert-buttons>.btn:first-child,.banner-action>.alert-buttons>::slotted(.btn:first-child),.alert-action>.banner-buttons>.btn:first-child,.alert-action>.banner-buttons>::slotted(.btn:first-child),.alert-action>.alert-buttons>.btn:first-child,.alert-action>.alert-buttons>::slotted(.btn:first-child){margin-inline-start:0}}.banner-neutral,.alert-neutral{background-color:var(--post-scheme-color-signal-neutral);border-color:var(--post-scheme-color-signal-neutral-dark);color-scheme:var(--post-core-bg-scheme-light)}.banner-neutral:not(.no-icon)::before,.alert-neutral:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.986 15.73c-.503.16-1.03.27-1.586.27a5.24 5.24 0 0 1-4.43-2.448c-.73.382-1.547.62-2.427.62a5.257 5.257 0 0 1-5.257-5.258c0-.88.237-1.698.62-2.427a5.24 5.24 0 0 1-2.449-4.43c0-.714.145-1.393.403-2.014C16.574.028 16.29 0 16 0 7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16c0-.091-.012-.18-.014-.27M16 30.667c-8.087 0-14.667-6.58-14.667-14.667 0-7.806 6.13-14.207 13.828-14.643a6.54 6.54 0 0 0 2.116 5.56 6.3 6.3 0 0 0-.325 1.997 6.6 6.6 0 0 0 6.59 6.59c.677 0 1.346-.108 1.998-.324a6.54 6.54 0 0 0 5.067 2.15C29.933 24.796 23.639 30.667 16 30.667M11.352 14.17a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 1 1 1.334 1.334 1.336 1.336 0 0 1-1.334-1.334m13.981 8.496a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 0 1 2.667 0c0 .735-.598 1.333-1.333 1.333a1.335 1.335 0 0 1-1.334-1.333m-7.276-1.829a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.667a.667.667 0 1 1 .002-1.335.667.667 0 0 1-.002 1.335m7.772-6a2 2 0 1 0-4 0 2 2 0 0 0 4 0m-2 .666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M11.505 5.505a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M28.93 18.548a13.2 13.2 0 0 1-4.335 7.357.663.663 0 0 1-.94-.073.666.666 0 0 1 .073-.94 11.84 11.84 0 0 0 3.894-6.61.668.668 0 0 1 1.307.266m-6.668 8.212a.667.667 0 0 1-.295.896c-.837.423-1.722.757-2.63.99a.665.665 0 1 1-.33-1.292 11.7 11.7 0 0 0 2.359-.888.67.67 0 0 1 .896.294M4 15.921a.666.666 0 1 1-1.333 0 13.13 13.13 0 0 1 4.597-9.984.666.666 0 1 1 .867 1.013A11.8 11.8 0 0 0 4 15.92'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-signal-neutral-dark)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-neutral:not(.no-icon)::before,.alert-neutral:not(.no-icon)::before{color:CanvasText}}.banner-neutral:has(>post-icon)::before,.alert-neutral:has(>post-icon)::before{content:none}.banner-neutral>post-icon,.alert-neutral>post-icon{background-color:var(--post-scheme-color-signal-neutral);color:var(--post-scheme-color-signal-neutral-dark)}.banner-success,.alert-success{background-color:var(--post-scheme-color-interactive-notification-success-bg);border-color:var(--post-scheme-color-interactive-notification-success-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-success:not(.no-icon)::before,.alert-success:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12.667 24.533-7.6-7.6 1.867-1.867 5.733 5.733 12.4-12.4 1.867 1.867z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-success-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-success:not(.no-icon)::before,.alert-success:not(.no-icon)::before{color:CanvasText}}.banner-success:has(>post-icon)::before,.alert-success:has(>post-icon)::before{content:none}.banner-success>post-icon,.alert-success>post-icon{background-color:var(--post-scheme-color-interactive-notification-success-bg);color:var(--post-scheme-color-interactive-notification-success-icon)}.banner-warning,.alert-warning{background-color:var(--post-scheme-color-interactive-notification-warning-bg);border-color:var(--post-scheme-color-interactive-notification-warning-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-warning:not(.no-icon)::before,.alert-warning:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-warning-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-warning:not(.no-icon)::before,.alert-warning:not(.no-icon)::before{color:CanvasText}}.banner-warning:has(>post-icon)::before,.alert-warning:has(>post-icon)::before{content:none}.banner-warning>post-icon,.alert-warning>post-icon{background-color:var(--post-scheme-color-interactive-notification-warning-bg);color:var(--post-scheme-color-interactive-notification-warning-icon)}.banner-error,.alert-error{background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-error:not(.no-icon)::before,.alert-error:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-error-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-error:not(.no-icon)::before,.alert-error:not(.no-icon)::before{color:CanvasText}}.banner-error:has(>post-icon)::before,.alert-error:has(>post-icon)::before{content:none}.banner-error>post-icon,.alert-error>post-icon{background-color:var(--post-scheme-color-interactive-notification-error-bg);color:var(--post-scheme-color-interactive-notification-error-icon)}.banner-info,.alert-info{background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-info:not(.no-icon)::before,.alert-info:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.33 25.33v-16h-4.67V12h2v13.33h-2V28h6.67v-2.67zM14.67 4h2.67v2.67h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-info-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-info:not(.no-icon)::before,.alert-info:not(.no-icon)::before{color:CanvasText}}.banner-info:has(>post-icon)::before,.alert-info:has(>post-icon)::before{content:none}.banner-info>post-icon,.alert-info>post-icon{background-color:var(--post-scheme-color-interactive-notification-info-bg);color:var(--post-scheme-color-interactive-notification-info-icon)}.banner-danger,.alert-danger{background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-danger:not(.no-icon)::before,.alert-danger:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-error-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-danger:not(.no-icon)::before,.alert-danger:not(.no-icon)::before{color:CanvasText}}.banner-danger:has(>post-icon)::before,.alert-danger:has(>post-icon)::before{content:none}.banner-danger>post-icon,.alert-danger>post-icon{background-color:var(--post-scheme-color-interactive-notification-error-bg);color:var(--post-scheme-color-interactive-notification-error-icon)}.btn-close{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;border-radius:var(--post-device-border-radius-round);color:#000;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{background-color:ButtonFace !important}.btn-close:hover{background-color:Highlight !important}}.btn-close{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}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-close::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:var(--post-core-dimension-24);width:var(--post-core-dimension-24)}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:#000}.btn-close:disabled{color:#999}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:Highlight}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}:host{display:block}:host ::slotted(*){margin:0 !important}.visually-hidden{width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.visually-hidden:not(caption){position:absolute !important}";export{p as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t="10.0.0-next.37";export{t as v}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_footer}from"./p-bc33a6d9.js";import"./p-9e461613.js";import"./p-2dc0a2d0.js";import"./p-722ffaae.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,H as e,g as o}from"./p-9e461613.js";import{v as a}from"./p-2dc0a2d0.js";import{I as r}from"./p-722ffaae.js";import{d as h}from"./p-e585c6fe.js";import{c}from"./p-7709c14a.js";import{c as l}from"./p-181c73d5.js";import{e as n}from"./p-0889c759.js";import{g as d}from"./p-6b31a76a.js";const p={height:"0",overflow:"hidden"},b={duration:350,easing:"ease",fill:"forwards"},g=class{constructor(i){t(this,i),this.postToggle=s(this,"postToggle",7),this.isLoaded=!1,this.isOpen=!0,this.collapsed=!1}collapsedChange(){h(this,"collapsed","boolean"),this.toggle(!this.collapsed)}componentDidLoad(){this.collapsedChange(),this.isLoaded=!0,this.updateTriggers()}async toggle(t=!this.isOpen){if(t===this.isOpen)return t;this.isOpen=t,this.collapsed=!t,this.isLoaded&&this.postToggle.emit(t);const s=t?(i=this.host).animate([p,{height:`${i.scrollHeight}px`,offset:1},{height:"auto",overflow:"visible"}],b):function(t){const s=r?window.getComputedStyle(t).height:`${t.scrollHeight}px`;return t.animate([{height:s},p],b)}(this.host);var i;return(!this.isLoaded||r&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)&&s.finish(),await s.finished,this.host.offsetParent&&s.commitStyles(),this.updateTriggers(),t}updateTriggers(){document.querySelectorAll(`post-collapsible-trigger[for="${this.host.id}"]`).forEach((t=>t.update()))}render(){return i(e,{key:"a678bc639dfd7686d8e1bd57ca0f09984a24ab61","data-version":a,tabindex:this.collapsed?-1:void 0},i("slot",{key:"e0b88ac152fa09314b4bc01c9abdb11480e2cb4d"}))}get host(){return o(this)}static get watchers(){return{collapsed:["collapsedChange"]}}};g.style=":host{display:block;position:relative;overflow:hidden}";const f=class{constructor(s){t(this,s),this.observer=new MutationObserver((()=>this.setTrigger())),this.for=void 0}validateAriaAttributes(){l(this,"for"),c(this,"for","string",'The post-collapsible-trigger "for" prop should be a id.')}connectedCallback(){this.root=d(this.host),this.root.addEventListener("postToggle",this.handlePostToggle),this.observer.observe(this.host,{childList:!0,subtree:!0})}componentDidLoad(){this.setTrigger(),this.trigger||console.warn("The post-collapsible-trigger must contain a button."),this.validateAriaAttributes()}disconnectedCallback(){this.observer.disconnect(),this.root.removeEventListener("postToggle",this.handlePostToggle)}async update(){this.updateAriaAttributes()}handlePostToggle(t){n(this.host,t,{targetLocalName:"post-collapsible"},(()=>{this.trigger&&this.trigger.setAttribute("aria-expanded",`${t.detail}`)}))}updateAriaAttributes(){if(!this.trigger)return;const t=this.trigger.getAttribute("aria-controls");t?.includes(this.for)||this.trigger.setAttribute("aria-controls",t?`${t} ${this.for}`:this.for);const s=this.collapsible?.collapsed;this.trigger.setAttribute("aria-expanded",`${void 0!==s?!s:void 0}`)}async toggleCollapsible(){await(this.collapsible?.toggle())}get collapsible(){const t=this.root.getElementById(this.for);return t&&"post-collapsible"===t.localName?t:null}setTrigger(){const t=this.host.querySelector("button");!t||this.trigger&&t.isEqualNode(this.trigger)||(this.trigger=t,this.trigger.addEventListener("click",(()=>this.toggleCollapsible())),this.updateAriaAttributes())}render(){return i(e,{key:"cd703fe34b8c82afc5956b58724d36b06054bc0b","data-version":a},i("slot",{key:"5abe4ba2b8922b941cc8aebbc7039e34e1853855"}))}get host(){return o(this)}static get watchers(){return{for:["validateAriaAttributes"]}}};export{g as P,f as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_accordion_item}from"./p-964f9581.js";import"./p-9e461613.js";import"./p-2dc0a2d0.js";import"./p-247a1668.js";import"./p-e585c6fe.js";import"./p-440193f4.js";import"./p-d45df336.js";import"./p-7709c14a.js";import"./p-85fdc2d3.js";import"./p-722ffaae.js";import"./p-0889c759.js";import"./p-c65f32b0.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_banner}from"./p-2d6c0670.js";import"./p-9e461613.js";import"./p-2dc0a2d0.js";import"./p-64e3de38.js";import"./p-e585c6fe.js";import"./p-440193f4.js";import"./p-d45df336.js";import"./p-7709c14a.js";import"./p-85fdc2d3.js";import"./p-722ffaae.js";import"./p-c65f32b0.js";import"./p-181c73d5.js";
|