@swisspost/design-system-components 9.3.0 → 9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +17 -17
- package/dist/cjs/{package-2e701f12.js → package-b7689832.js} +1 -1
- package/dist/cjs/{post-accordion-cddda519.js → post-accordion-afd1ef06.js} +1 -1
- package/dist/cjs/{post-accordion-item-f9f2f560.js → post-accordion-item-1f5077e4.js} +1 -1
- package/dist/cjs/post-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/post-accordion.cjs.entry.js +2 -2
- package/dist/cjs/{post-alert-19db0345.js → post-alert-6d1b309c.js} +1 -1
- package/dist/cjs/post-alert.cjs.entry.js +2 -2
- package/dist/cjs/{post-card-control-1cb70464.js → post-card-control-e0c0e212.js} +1 -1
- package/dist/cjs/post-card-control.cjs.entry.js +2 -2
- package/dist/cjs/{post-collapsible-trigger-58bc62a5.js → post-collapsible-trigger-369a5874.js} +1 -1
- package/dist/cjs/post-collapsible_2.cjs.entry.js +2 -2
- package/dist/cjs/{post-icon-1fa10325.js → post-icon-1cc748ac.js} +1 -1
- package/dist/cjs/post-icon.cjs.entry.js +2 -2
- package/dist/cjs/{post-logo-fc562364.js → post-logo-9f300393.js} +1 -1
- package/dist/cjs/post-logo.cjs.entry.js +2 -2
- package/dist/cjs/{post-popover-65b13389.js → post-popover-ceea360d.js} +1 -1
- package/dist/cjs/post-popover.cjs.entry.js +2 -2
- package/dist/cjs/{post-popovercontainer-59ac146f.js → post-popovercontainer-f6a4c7ce.js} +1 -1
- package/dist/cjs/post-popovercontainer.cjs.entry.js +2 -2
- package/dist/cjs/{post-rating-0ebdb735.js → post-rating-2a5e0bff.js} +1 -1
- package/dist/cjs/post-rating.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-header-a4ca474c.js → post-tab-header-0fc09ab6.js} +1 -1
- package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-panel-ff3031c1.js → post-tab-panel-2625cd97.js} +1 -1
- package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/{post-tabs-4076a4b9.js → post-tabs-f2049472.js} +1 -1
- package/dist/cjs/post-tabs.cjs.entry.js +2 -2
- package/dist/cjs/{post-tag-ebd96d11.js → post-tag-35bffa38.js} +1 -1
- package/dist/cjs/post-tag.cjs.entry.js +2 -2
- package/dist/cjs/{post-tooltip-933bee83.js → post-tooltip-33630423.js} +1 -1
- package/dist/cjs/{post-tooltip-trigger-7a9a35ed.js → post-tooltip-trigger-4215f072.js} +1 -1
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +2 -2
- package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
- package/dist/components/package.js +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/index.js +17 -17
- package/dist/esm/{package-2cfc259f.js → package-5f8f618b.js} +1 -1
- package/dist/esm/{post-accordion-3b5d8c58.js → post-accordion-8c472e18.js} +1 -1
- package/dist/esm/{post-accordion-item-d04647f8.js → post-accordion-item-fe36f93b.js} +1 -1
- package/dist/esm/post-accordion-item.entry.js +2 -2
- package/dist/esm/post-accordion.entry.js +2 -2
- package/dist/esm/{post-alert-ddbe2f99.js → post-alert-c6141d6e.js} +1 -1
- package/dist/esm/post-alert.entry.js +2 -2
- package/dist/esm/{post-card-control-e4f29d54.js → post-card-control-b86e4640.js} +1 -1
- package/dist/esm/post-card-control.entry.js +2 -2
- package/dist/esm/{post-collapsible-trigger-388b7f80.js → post-collapsible-trigger-4b10bb33.js} +1 -1
- package/dist/esm/post-collapsible_2.entry.js +2 -2
- package/dist/esm/{post-icon-89edb676.js → post-icon-1b7453e0.js} +1 -1
- package/dist/esm/post-icon.entry.js +2 -2
- package/dist/esm/{post-logo-18e8bd8c.js → post-logo-eacba23d.js} +1 -1
- package/dist/esm/post-logo.entry.js +2 -2
- package/dist/esm/{post-popover-bf95f497.js → post-popover-9710d5b2.js} +1 -1
- package/dist/esm/post-popover.entry.js +2 -2
- package/dist/esm/{post-popovercontainer-923a26f7.js → post-popovercontainer-df40aaf2.js} +1 -1
- package/dist/esm/post-popovercontainer.entry.js +2 -2
- package/dist/esm/{post-rating-1104b305.js → post-rating-c24242e1.js} +1 -1
- package/dist/esm/post-rating.entry.js +2 -2
- package/dist/esm/{post-tab-header-6b8a5e02.js → post-tab-header-63f7945a.js} +1 -1
- package/dist/esm/post-tab-header.entry.js +2 -2
- package/dist/esm/{post-tab-panel-5fe66243.js → post-tab-panel-0831b0fe.js} +1 -1
- package/dist/esm/post-tab-panel.entry.js +2 -2
- package/dist/esm/{post-tabs-7424ca91.js → post-tabs-48839ea4.js} +1 -1
- package/dist/esm/post-tabs.entry.js +2 -2
- package/dist/esm/{post-tag-97882e74.js → post-tag-f27d35d8.js} +1 -1
- package/dist/esm/post-tag.entry.js +2 -2
- package/dist/esm/{post-tooltip-231791ca.js → post-tooltip-8366be5c.js} +1 -1
- package/dist/esm/{post-tooltip-trigger-ba9ab0ad.js → post-tooltip-trigger-84254b5f.js} +1 -1
- package/dist/esm/post-tooltip-trigger.entry.js +2 -2
- package/dist/esm/post-tooltip.entry.js +2 -2
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-03c3b6aa.entry.js +1 -0
- package/dist/post-components/{p-5eb0b140.js → p-04abe3cb.js} +1 -1
- package/dist/post-components/p-0f80d4e2.entry.js +1 -0
- package/dist/post-components/p-2a2a3858.entry.js +1 -0
- package/dist/post-components/p-2bd9a9c1.entry.js +1 -0
- package/dist/post-components/p-2e8a32c9.entry.js +1 -0
- package/dist/post-components/{p-7a8303f4.js → p-34ab424f.js} +1 -1
- package/dist/post-components/{p-7e9b828b.js → p-3b095442.js} +1 -1
- package/dist/post-components/p-421d5aed.entry.js +1 -0
- package/dist/post-components/p-43e6da3a.js +1 -0
- package/dist/post-components/p-5035eb57.entry.js +1 -0
- package/dist/post-components/p-53231a22.entry.js +1 -0
- package/dist/post-components/p-571a419c.js +1 -0
- package/dist/post-components/{p-d692f570.js → p-6733d2ac.js} +1 -1
- package/dist/post-components/p-6ad6d1a8.js +1 -0
- package/dist/post-components/{p-522e3f31.js → p-7a452f4f.js} +1 -1
- package/dist/post-components/{p-73a31a5a.js → p-7c9bd441.js} +1 -1
- package/dist/post-components/p-7d071057.entry.js +1 -0
- package/dist/post-components/p-7de7c4ba.entry.js +1 -0
- package/dist/post-components/p-7e094ac2.entry.js +1 -0
- package/dist/post-components/{p-bb337633.js → p-a6a87040.js} +1 -1
- package/dist/post-components/p-b8d0cffa.entry.js +1 -0
- package/dist/post-components/{p-cbbf22bc.js → p-c479e2c8.js} +1 -1
- package/dist/post-components/p-d42da7bb.entry.js +1 -0
- package/dist/post-components/p-d8b507a0.entry.js +1 -0
- package/dist/post-components/{p-701e0894.js → p-e665a109.js} +1 -1
- package/dist/post-components/p-e880714a.entry.js +1 -0
- package/dist/post-components/{p-4c2e2b9a.js → p-eda80706.js} +1 -1
- package/dist/post-components/{p-2764cb33.js → p-ede171b5.js} +1 -1
- package/dist/post-components/{p-4a478c75.js → p-efb2287b.js} +1 -1
- package/dist/post-components/{p-13f92d79.js → p-f21375cd.js} +1 -1
- package/dist/post-components/{p-2b8ae578.js → p-f494f206.js} +1 -1
- package/dist/post-components/{p-827595af.entry.js → p-f9fde534.entry.js} +1 -1
- package/dist/post-components/post-components.esm.js +1 -1
- package/loaders/package.js +1 -1
- package/package.json +2 -2
- package/dist/post-components/p-1be81742.entry.js +0 -1
- package/dist/post-components/p-1c6e6815.entry.js +0 -1
- package/dist/post-components/p-28066d74.entry.js +0 -1
- package/dist/post-components/p-2ab1438e.entry.js +0 -1
- package/dist/post-components/p-3f3ec1cb.entry.js +0 -1
- package/dist/post-components/p-5db1fe7e.entry.js +0 -1
- package/dist/post-components/p-805bf705.entry.js +0 -1
- package/dist/post-components/p-952c4508.entry.js +0 -1
- package/dist/post-components/p-97783dd2.js +0 -1
- package/dist/post-components/p-9f6b6b38.entry.js +0 -1
- package/dist/post-components/p-b8a3a501.entry.js +0 -1
- package/dist/post-components/p-cd373a68.entry.js +0 -1
- package/dist/post-components/p-d11545c3.entry.js +0 -1
- package/dist/post-components/p-d34b3b56.entry.js +0 -1
- package/dist/post-components/p-d3ce3f6c.js +0 -1
- package/dist/post-components/p-dcc94c76.entry.js +0 -1
- package/dist/post-components/p-eeec0aa7.entry.js +0 -1
- package/dist/post-components/p-f7010122.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r,h as o,H as e,g as a}from"./p-3eab790d.js";import{c}from"./p-611b3c41.js";import{c as i}from"./p-b095519d.js";import{v as n}from"./p-f7010122.js";let l=0;const s=class{async reset(){this.validity=null,this.controlSetChecked(this.initialChecked)}async groupReset(){this.disabled&&(this.control.checked=this.checked=!1),this.controlSetChecked(!1)}validateControlLabel(t=this.label){i(t,'The "post-card-control" element requires its "label" property to be set.')}validateControlType(t=this.type){c(t,["checkbox","radio"],'The "post-card-control" element requires its "type" prop to be one of either "checkbox" or "radio".')}updateControlChecked(t=this.checked){this.controlSetChecked(t)}updateControlDisabled(){this.controlSetChecked(this.checked)}constructor(o){t(this,o),this.postInput=r(this,"postInput",7),this.postChange=r(this,"postChange",7),o.$hostElement$["s-ei"]?this.internals=o.$hostElement$["s-ei"]:(this.internals=o.$hostElement$.attachInternals(),o.$hostElement$["s-ei"]=this.internals),this.EVENT_MAP={input:"postInput",change:"postChange"},this.KEYCODES={SPACE:"Space",LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"},this.group={hosts:[],members:[],first:null,last:null,checked:null,focused:null},this.controlId="PostCardControl_"+l++,this.focused=!1,this.label=void 0,this.description=null,this.type=void 0,this.name=null,this.value=null,this.checked=!1,this.disabled=!1,this.validity=null,this.icon=null,this.cardClickHandler=this.cardClickHandler.bind(this),this.controlClickHandler=this.controlClickHandler.bind(this),this.controlChangeHandler=this.controlChangeHandler.bind(this),this.controlFocusHandler=this.controlFocusHandler.bind(this),this.controlKeyDownHandler=this.controlKeyDownHandler.bind(this)}cardClickHandler(t){t.stopPropagation(),t.target!==this.control&&this.control.click()}controlClickHandler(t){t.stopPropagation(),this.disabled&&t.preventDefault()}controlChangeHandler(t){t.stopPropagation(),this.groupCollectMembers(),this.controlSetChecked(this.control.checked,t),this.groupSetChecked(this.control,t)}controlFocusHandler(){this.focused=this.host===document.activeElement}controlKeyDownHandler(t){if("radio"===this.type)switch(t.stopPropagation(),Object.values(this.KEYCODES).includes(t.code)&&t.preventDefault(),this.groupCollectMembers(),t.code){case this.KEYCODES.UP:case this.KEYCODES.LEFT:this.groupSetChecked(this.groupGetPrev(),t);break;case this.KEYCODES.DOWN:case this.KEYCODES.RIGHT:this.groupSetChecked(this.groupGetNext(),t);break;case this.KEYCODES.SPACE:this.groupSetChecked(this.control,t)}}controlSetChecked(t,r){this.control&&(this.disabled?this.internals.setFormValue(null):(this.control.checked=this.checked=t,this.internals.setFormValue(this.checked?this.control.value:null),r&&("checkbox"===this.type||"radio"===this.type&&this.checked)&&this[this.EVENT_MAP[r.type]].emit({state:this.checked,value:this.value})))}groupCollectMembers(){var t,r;if("radio"===this.type&&this.name&&(this.group.hosts=Array.from(document.querySelectorAll(`post-card-control[type="radio"][name="${this.name}"]`)),this.group.members=this.group.hosts.map((t=>t.shadowRoot.querySelector('input[type="radio"]'))).filter((t=>null!==t)),this.group.members.length>1)){this.group.first=this.group.members[0],this.group.last=this.group.members[this.group.members.length-1],this.group.checked=null!==(t=this.group.members.find((t=>t.checked)))&&void 0!==t?t:null,this.group.focused=null!==(r=this.group.members.find((t=>t.getRootNode().host===document.activeElement)))&&void 0!==r?r:this.group.first;const o=this.group.checked||this.group.focused||this.group.first;this.group.members.forEach((t=>{t.tabIndex=t===o?0:-1}))}}groupGetPrev(){var t;const r=this.group.members.findIndex((t=>t.id===this.group.focused.id));return null!==(t=this.group.members.find(((t,o)=>o===r-1)))&&void 0!==t?t:this.group.last}groupGetNext(){var t;const r=this.group.members.findIndex((t=>t.id===this.group.focused.id));return null!==(t=this.group.members.find(((t,o)=>o===r+1)))&&void 0!==t?t:this.group.first}groupSetChecked(t,r){if(this.group.members.length>1){const o="keydown"===r.type,e=t.hasAttribute("aria-disabled"),a=this.group.members.findIndex((r=>r===t));o&&t.focus(),e||(this.group.hosts.filter(((t,r)=>r!==a)).forEach((t=>{t.groupReset()})),o&&t.click())}}setHostContext(){let t;const r=window.getComputedStyle(this.host).getPropertyValue("--post-card-control-bg-context").split(", ");let o;const e=["fieldset"];let a=this.host;for(;a&&(!t||!o);)t=null!=t?t:r.find((t=>a.matches(t))),o=null!=o?o:e.find((t=>a.matches(t))),a=a.parentElement;const c=[t,o].filter((t=>!!t)).join(" ");this.host.setAttribute("data-context",c)}connectedCallback(){this.initialChecked=this.checked}componentWillRender(){this.hasIcon=Boolean(this.host.querySelector('[slot="icon"]')||this.icon)}render(){return o(e,{key:"9ae199f3c25ae7af1019f3c76baf43248b301f84","data-version":n,onClick:this.cardClickHandler},o("div",{key:"a2060187ccede9b8944e19f49ba292bab0c72635",class:{"card-control":!0,"is-checked":this.checked,"is-disabled":this.disabled,"is-focused":this.focused,"is-valid":null!==this.validity&&"false"!==this.validity,"is-invalid":"false"===this.validity}},o("input",{key:"e1e456566e1861966415c115564a8325ab479ef4",ref:t=>this.control=t,id:this.controlId,class:"card-control--input form-check-input",type:this.type,name:this.name,value:this.value,checked:this.checked,"aria-describedby":`${this.controlId}_content`,"aria-disabled":this.disabled,"aria-invalid":"false"===this.validity,onClick:this.controlClickHandler,onInput:this.controlChangeHandler,onChange:this.controlChangeHandler,onFocus:this.controlFocusHandler,onBlur:this.controlFocusHandler,onKeyDown:this.controlKeyDownHandler}),o("label",{key:"d4377ab6041e2a73be5d14a7897158f6788831e4",id:`${this.controlId}_label`,htmlFor:this.controlId,class:"card-control--label form-check-label"},this.label,this.description?o("div",{class:"card-control--description"},this.description):null),this.hasIcon?o("div",{class:"card-control--icon"},o("slot",{name:"icon"},this.icon?o("post-icon",{name:this.icon}):null)):null,o("div",{key:"15f01cc76bdf792b7ace1997a08b961f46e112ed",id:`${this.controlId}_content`,class:"card-control--content"},o("slot",{key:"4d4af0edaef3fd61f40203cadd25ea8b34963b48"}))))}componentDidRender(){this.setHostContext(),this.groupCollectMembers()}componentDidLoad(){this.validateControlLabel(),this.validateControlType()}formAssociatedCallback(){this.controlSetChecked(this.checked)}formDisabledCallback(t){this.disabled=t}formStateRestoreCallback(t){this.controlSetChecked(t)}formResetCallback(){this.reset()}static get formAssociated(){return!0}get host(){return a(this)}static get watchers(){return{label:["validateControlLabel"],type:["validateControlType"],checked:["updateControlChecked"],disabled:["updateControlDisabled"]}}};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)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.form-check{display:flex;flex-wrap:wrap;row-gap:.75rem;margin-bottom:1rem}.form-check{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.form-check:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.form-check:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.form-check-inline{display:inline-flex}.form-check-inline:not(:last-of-type){margin-right:1.5rem}.form-check-input,.form-check-label{color:rgba(var(--post-contrast-color-rgb), 0.8);transition:color 250ms cubic-bezier(0.4, 0, 0.2, 1)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input,.form-check-label{transition:none}}.form-check-input:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-label-label,.form-check-label:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled])~.form-check-label-label{color:var(--post-contrast-color)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-label-label,.form-check-label:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled])~.form-check-label-label{border-color:Highlight}}.form-check-input{outline:none;display:inline-flex;flex:0 auto;appearance:none;background:rgba(0,0,0,0);height:1.375rem;width:1.375rem;border:2px solid currentColor;margin-top:1px}.form-check-input:not([disabled]),.form-check-input:not([disabled])~.form-check-label{cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input{border-color:FieldText}}.form-check-input::after{content:"";display:block;flex:1}.form-check-input[type=checkbox]:checked::after{-webkit-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");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}.form-check-input[type=checkbox]:indeterminate::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'m5.333 16.01 20-.021.001 1.333-20 .021z\'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'m5.333 16.01 20-.021.001 1.333-20 .021z\'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=checkbox]:checked,.form-check-input[type=checkbox]:indeterminate{background-color:SelectedItem !important;color:SelectedItemText !important}}.form-check-input[type=radio]{border-radius:50%}.form-check-input[type=radio]:checked::after{border:.25rem solid rgba(0,0,0,0);background-color:currentColor;border-radius:inherit;background-clip:padding-box}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=radio]:checked::after{background-color:SelectedItem;border-color:Canvas}}.form-check-input[type=radio][disabled]{padding:2px;background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[type=radio][disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'rgba(255, 255, 255, 0.8)\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=radio][disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e") !important}}.form-check-input[disabled]{border:0;background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=checkbox],.form-check-input[disabled][type=radio]{border-color:GrayText !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=checkbox]:checked,.form-check-input[disabled][type=checkbox]:indeterminate{background-color:Field !important;color:GrayText !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=radio]:checked::after{background-color:GrayText}}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'rgba(255, 255, 255, 0.8)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e") !important}}.form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'66\' /%3e%3c/svg%3e")}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'rgba(255, 255, 255, 0.8)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'66\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'66\' /%3e%3c/svg%3e") !important}}.form-check-input[disabled],.form-check-input[disabled]~.form-check-label{color:rgba(0,0,0,.6)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled],:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled]~.form-check-label{color:rgba(255,255,255,.8)}.form-check-sm .form-check-input{height:1rem;width:1rem}.form-check-sm .form-check-input[type=radio]:checked::after{border-width:2px}.form-check-label{flex:1}:not(.form-switch,.radio-button-card,.checkbox-button-card)>.form-check-label{padding-inline-start:.5rem}.form-check-sm .form-check-label{font-size:.75rem}.form-switch .form-check-input{height:2rem;width:4rem;border:0;border-radius:4rem;background-image:linear-gradient(to right, rgba(var(--post-contrast-color-rgb), 0.3) 50%, var(--post-success) 50%);background-size:8rem;background-position-x:0;transition:background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),background-position 250ms cubic-bezier(0.4, 0, 0.2, 1)}.form-switch .form-check-input::after{max-width:2rem;background-color:#fff;border:2px solid #666;border-radius:50%;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.form-switch .form-check-input:checked{background-position-x:4rem}.form-switch .form-check-input:checked::after{-webkit-mask-image:none;mask-image:none;background-color:#fff;border-color:#000;transform:translateX(2rem)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch .form-check-input{transition:none;border:2px solid CanvasText}.form-switch .form-check-input:checked{background-color:SelectedItem !important}.form-switch .form-check-input::after,.form-switch .form-check-input:checked::after{max-width:calc(2rem - 4px);border-color:Canvas;background-color:CanvasText}}.form-switch .form-check-input[disabled]{background:#ccc}.form-switch .form-check-input[disabled]::after{border-color:#999}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch .form-check-input[disabled]::after{border-color:Field}.form-switch .form-check-input[disabled]:checked{background-color:GrayText !important}}.form-switch:hover>.form-check-input:not([disabled]){background-color:rgba(var(--post-contrast-color-rgb), 0.1)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch:hover>.form-check-input:not([disabled]){border-color:Highlight}}.form-switch .form-check-label{padding-top:.25rem}.form-switch .form-check-label.order-first{flex:0 auto;padding-inline-end:1rem}.form-switch .form-check-label:not(.order-first){padding-inline-start:1rem}:host{--post-card-control-bg-context: .bg-yellow, .bg-white, .bg-light, .bg-gray, .bg-warning, .bg-info, .bg-success-background, .bg-warning-background, .bg-error-background, .bg-petrol-bright, .bg-coral-bright, .bg-olive-bright, .alert-warning, post-alert[type=warning], .alert-info, post-alert[type=info], .alert-gray, post-alert[type=gray], .bg-dark, .bg-black, .bg-primary, .bg-secondary, .bg-success, .bg-error, .bg-nightblue, .bg-nightblue-bright, .bg-petrol, .bg-coral, .bg-olive, .bg-purple, .bg-purple-bright, .bg-aubergine, .bg-aubergine-bright, .alert-primary, post-alert[type=primary], .alert-success, post-alert[type=success], .alert-danger, post-alert[type=danger], .alert-notification, post-alert[type=notification], .alert-error, post-alert[type=error];display:flex;width:100%}:host-context(fieldset):host(:not(:last-child)) .card-control{margin-bottom:1rem}.card-control{--post-card-control-border-color: hsl(0, 0%, 40%);--post-card-control-bg: #fff;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff;flex-basis:100%;display:grid;grid-template:"input label icon" "input content content"/min-content auto min-content;gap:0 .5rem;margin:0;padding:1rem;background-color:var(--post-card-control-bg);border:2px solid var(--post-card-control-border-color);border-radius:4px;color:var(--post-card-control-color) !important;cursor:pointer}.card-control .card-control--input{grid-area:input;margin:.25rem 0;background-color:var(--post-card-control-input-bg) !important;border-color:var(--post-card-control-input-border-color) !important;color:var(--post-card-control-input-border-color) !important;cursor:inherit;transition:none}.card-control .card-control--input:focus,.card-control .card-control--input:focus-visible{box-shadow:none}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control .card-control--input::after{forced-color-adjust:none;border-color:rgba(0,0,0,0)}}.card-control .card-control--label{grid-area:label;margin:.25rem 0;padding:0;color:inherit !important;pointer-events:none;transition:none}.card-control .card-control--label:not(:has(+.card-control--icon)){grid-area:1/label/1/icon}.card-control .card-control--description{grid-area:label;font-size:.75rem}.card-control .card-control--content{grid-area:content}.card-control .card-control--icon{grid-area:icon;width:2rem;height:2rem;pointer-events:none}.card-control .card-control--icon>slot>*{width:100%;height:100%}.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #000;--post-card-control-bg: #fc0}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: SelectedItemText;--post-card-control-input-bg: SelectedItem}.card-control:not(.is-disabled).is-checked .card-control--input::after{background-color:var(--post-card-control-color) !important}}.card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728}.card-control:not(.is-disabled):hover{--post-card-control-border-color: hsl(0, 0%, 20%);--post-card-control-bg: hsl(0, 0%, 40%);--post-card-control-color: #fff;--post-card-control-input-border-color: #000}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}.card-control:not(.is-disabled):hover .card-control--input::after{color:FieldText}}.card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-offset:2px;outline:2px solid #1976c8}.card-control.is-disabled{--post-card-control-border-color: hsl(0, 0%, 40%);--post-card-control-bg: transparent;--post-card-control-color: hsl(0, 0%, 40%);--post-card-control-input-border-color: hsl(0, 0%, 40%);--post-card-control-input-bg: transparent;border-style:dashed;cursor:default}.card-control.is-disabled .card-control--input{border:0 none;padding:2px;background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}.card-control.is-disabled .card-control--input[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field;outline:2px solid Field;outline-offset:-4px}.card-control .card-control--input{outline:2px solid Field}.card-control .card-control--input[type]{background-color:Field !important}.card-control .card-control--input::after{border-color:Field !important}.card-control .card-control--label,.card-control .card-control--content{background-color:var(--post-card-control-bg) !important}.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}.card-control:not(.is-disabled).is-checked .card-control--input::after{background-color:FieldText !important}.card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}.card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}.card-control.is-disabled .card-control--input{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}.card-control.is-disabled .card-control--input[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}.card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;position:relative;background-color:Field}.card-control.is-disabled.is-checked::before{display:block;content:"";position:absolute;inset:2px;background-color:SelectedItem;z-index:1}.card-control.is-disabled.is-checked>*{position:relative;z-index:2}.card-control.is-disabled.is-checked .card-control--input::after{background-color:FieldText !important}}@media(forced-colors: active)and (forced-colors: active),(forced-colors: active)and (-ms-high-contrast: active),(forced-colors: active)and (-ms-high-contrast: white-on-black),(-ms-high-contrast: active)and (forced-colors: active),(-ms-high-contrast: active)and (-ms-high-contrast: active),(-ms-high-contrast: active)and (-ms-high-contrast: white-on-black),(-ms-high-contrast: white-on-black)and (forced-colors: active),(-ms-high-contrast: white-on-black)and (-ms-high-contrast: active),(-ms-high-contrast: white-on-black)and (-ms-high-contrast: white-on-black){.card-control{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}.card-control.is-checked{--post-card-control-input-bg: field;position:relative}.card-control.is-checked::before{display:block;content:"";position:absolute;inset:2px;border-radius:1px;background-color:SelectedItem}.card-control.is-checked>*{position:relative}.card-control.is-checked .card-control--input{outline:2px solid Field}}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control{--post-card-control-border-color: #fff;--post-card-control-bg: transparent;--post-card-control-color: #fff;--post-card-control-input-border-color: #fff;--post-card-control-input-bg: transparent}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #fc0;--post-card-control-bg: #fc0;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-bg: #ffdade;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728;--post-card-control-input-bg: #fff}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-invalid:where(.is-checked){--post-card-control-bg: #fc0}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: #000;--post-card-control-bg: hsl(0, 0%, 80%);--post-card-control-color: #000;--post-card-control-input-border-color: #000;--post-card-control-input-bg: #fff}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-color:#fff}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled{--post-card-control-border-color: post.$white-alpha-80;--post-card-control-bg: transparent;--post-card-control-color: post.$white-alpha-80;--post-card-control-input-border-color: post.$white-alpha-80;--post-card-control-input-bg: transparent}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled.is-checked{--post-card-control-input-bg: Field}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText}}:host(:not([data-context])){display:none}:host([data-context*=fieldset]:not(:last-child)) .card-control{margin-bottom:1rem}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control{--post-card-control-border-color: #fff;--post-card-control-bg: transparent;--post-card-control-color: #fff;--post-card-control-input-border-color: #fff;--post-card-control-input-bg: transparent}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #fc0;--post-card-control-bg: #fc0;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-bg: #ffdade;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728;--post-card-control-input-bg: #fff}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-invalid:where(.is-checked){--post-card-control-bg: #fc0}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: #000;--post-card-control-bg: hsl(0, 0%, 80%);--post-card-control-color: #000;--post-card-control-input-border-color: #000;--post-card-control-input-bg: #fff}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-color:#fff}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled{--post-card-control-border-color: post.$white-alpha-80;--post-card-control-bg: transparent;--post-card-control-color: post.$white-alpha-80;--post-card-control-input-border-color: post.$white-alpha-80;--post-card-control-input-bg: transparent}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled.is-checked{--post-card-control-input-bg: Field}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color:SelectedItemText}';export{s as P}
|
|
1
|
+
import{r as t,c as r,h as o,H as e,g as a}from"./p-3eab790d.js";import{c}from"./p-611b3c41.js";import{c as i}from"./p-b095519d.js";import{v as n}from"./p-43e6da3a.js";let l=0;const s=class{async reset(){this.validity=null,this.controlSetChecked(this.initialChecked)}async groupReset(){this.disabled&&(this.control.checked=this.checked=!1),this.controlSetChecked(!1)}validateControlLabel(t=this.label){i(t,'The "post-card-control" element requires its "label" property to be set.')}validateControlType(t=this.type){c(t,["checkbox","radio"],'The "post-card-control" element requires its "type" prop to be one of either "checkbox" or "radio".')}updateControlChecked(t=this.checked){this.controlSetChecked(t)}updateControlDisabled(){this.controlSetChecked(this.checked)}constructor(o){t(this,o),this.postInput=r(this,"postInput",7),this.postChange=r(this,"postChange",7),o.$hostElement$["s-ei"]?this.internals=o.$hostElement$["s-ei"]:(this.internals=o.$hostElement$.attachInternals(),o.$hostElement$["s-ei"]=this.internals),this.EVENT_MAP={input:"postInput",change:"postChange"},this.KEYCODES={SPACE:"Space",LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"},this.group={hosts:[],members:[],first:null,last:null,checked:null,focused:null},this.controlId="PostCardControl_"+l++,this.focused=!1,this.label=void 0,this.description=null,this.type=void 0,this.name=null,this.value=null,this.checked=!1,this.disabled=!1,this.validity=null,this.icon=null,this.cardClickHandler=this.cardClickHandler.bind(this),this.controlClickHandler=this.controlClickHandler.bind(this),this.controlChangeHandler=this.controlChangeHandler.bind(this),this.controlFocusHandler=this.controlFocusHandler.bind(this),this.controlKeyDownHandler=this.controlKeyDownHandler.bind(this)}cardClickHandler(t){t.stopPropagation(),t.target!==this.control&&this.control.click()}controlClickHandler(t){t.stopPropagation(),this.disabled&&t.preventDefault()}controlChangeHandler(t){t.stopPropagation(),this.groupCollectMembers(),this.controlSetChecked(this.control.checked,t),this.groupSetChecked(this.control,t)}controlFocusHandler(){this.focused=this.host===document.activeElement}controlKeyDownHandler(t){if("radio"===this.type)switch(t.stopPropagation(),Object.values(this.KEYCODES).includes(t.code)&&t.preventDefault(),this.groupCollectMembers(),t.code){case this.KEYCODES.UP:case this.KEYCODES.LEFT:this.groupSetChecked(this.groupGetPrev(),t);break;case this.KEYCODES.DOWN:case this.KEYCODES.RIGHT:this.groupSetChecked(this.groupGetNext(),t);break;case this.KEYCODES.SPACE:this.groupSetChecked(this.control,t)}}controlSetChecked(t,r){this.control&&(this.disabled?this.internals.setFormValue(null):(this.control.checked=this.checked=t,this.internals.setFormValue(this.checked?this.control.value:null),r&&("checkbox"===this.type||"radio"===this.type&&this.checked)&&this[this.EVENT_MAP[r.type]].emit({state:this.checked,value:this.value})))}groupCollectMembers(){var t,r;if("radio"===this.type&&this.name&&(this.group.hosts=Array.from(document.querySelectorAll(`post-card-control[type="radio"][name="${this.name}"]`)),this.group.members=this.group.hosts.map((t=>t.shadowRoot.querySelector('input[type="radio"]'))).filter((t=>null!==t)),this.group.members.length>1)){this.group.first=this.group.members[0],this.group.last=this.group.members[this.group.members.length-1],this.group.checked=null!==(t=this.group.members.find((t=>t.checked)))&&void 0!==t?t:null,this.group.focused=null!==(r=this.group.members.find((t=>t.getRootNode().host===document.activeElement)))&&void 0!==r?r:this.group.first;const o=this.group.checked||this.group.focused||this.group.first;this.group.members.forEach((t=>{t.tabIndex=t===o?0:-1}))}}groupGetPrev(){var t;const r=this.group.members.findIndex((t=>t.id===this.group.focused.id));return null!==(t=this.group.members.find(((t,o)=>o===r-1)))&&void 0!==t?t:this.group.last}groupGetNext(){var t;const r=this.group.members.findIndex((t=>t.id===this.group.focused.id));return null!==(t=this.group.members.find(((t,o)=>o===r+1)))&&void 0!==t?t:this.group.first}groupSetChecked(t,r){if(this.group.members.length>1){const o="keydown"===r.type,e=t.hasAttribute("aria-disabled"),a=this.group.members.findIndex((r=>r===t));o&&t.focus(),e||(this.group.hosts.filter(((t,r)=>r!==a)).forEach((t=>{t.groupReset()})),o&&t.click())}}setHostContext(){let t;const r=window.getComputedStyle(this.host).getPropertyValue("--post-card-control-bg-context").split(", ");let o;const e=["fieldset"];let a=this.host;for(;a&&(!t||!o);)t=null!=t?t:r.find((t=>a.matches(t))),o=null!=o?o:e.find((t=>a.matches(t))),a=a.parentElement;const c=[t,o].filter((t=>!!t)).join(" ");this.host.setAttribute("data-context",c)}connectedCallback(){this.initialChecked=this.checked}componentWillRender(){this.hasIcon=Boolean(this.host.querySelector('[slot="icon"]')||this.icon)}render(){return o(e,{key:"9ae199f3c25ae7af1019f3c76baf43248b301f84","data-version":n,onClick:this.cardClickHandler},o("div",{key:"a2060187ccede9b8944e19f49ba292bab0c72635",class:{"card-control":!0,"is-checked":this.checked,"is-disabled":this.disabled,"is-focused":this.focused,"is-valid":null!==this.validity&&"false"!==this.validity,"is-invalid":"false"===this.validity}},o("input",{key:"e1e456566e1861966415c115564a8325ab479ef4",ref:t=>this.control=t,id:this.controlId,class:"card-control--input form-check-input",type:this.type,name:this.name,value:this.value,checked:this.checked,"aria-describedby":`${this.controlId}_content`,"aria-disabled":this.disabled,"aria-invalid":"false"===this.validity,onClick:this.controlClickHandler,onInput:this.controlChangeHandler,onChange:this.controlChangeHandler,onFocus:this.controlFocusHandler,onBlur:this.controlFocusHandler,onKeyDown:this.controlKeyDownHandler}),o("label",{key:"d4377ab6041e2a73be5d14a7897158f6788831e4",id:`${this.controlId}_label`,htmlFor:this.controlId,class:"card-control--label form-check-label"},this.label,this.description?o("div",{class:"card-control--description"},this.description):null),this.hasIcon?o("div",{class:"card-control--icon"},o("slot",{name:"icon"},this.icon?o("post-icon",{name:this.icon}):null)):null,o("div",{key:"15f01cc76bdf792b7ace1997a08b961f46e112ed",id:`${this.controlId}_content`,class:"card-control--content"},o("slot",{key:"4d4af0edaef3fd61f40203cadd25ea8b34963b48"}))))}componentDidRender(){this.setHostContext(),this.groupCollectMembers()}componentDidLoad(){this.validateControlLabel(),this.validateControlType()}formAssociatedCallback(){this.controlSetChecked(this.checked)}formDisabledCallback(t){this.disabled=t}formStateRestoreCallback(t){this.controlSetChecked(t)}formResetCallback(){this.reset()}static get formAssociated(){return!0}get host(){return a(this)}static get watchers(){return{label:["validateControlLabel"],type:["validateControlType"],checked:["updateControlChecked"],disabled:["updateControlDisabled"]}}};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)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.form-check{display:flex;flex-wrap:wrap;row-gap:.75rem;margin-bottom:1rem}.form-check{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.form-check:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.form-check:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.form-check-inline{display:inline-flex}.form-check-inline:not(:last-of-type){margin-right:1.5rem}.form-check-input,.form-check-label{color:rgba(var(--post-contrast-color-rgb), 0.8);transition:color 250ms cubic-bezier(0.4, 0, 0.2, 1)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input,.form-check-label{transition:none}}.form-check-input:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-label-label,.form-check-label:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled])~.form-check-label-label{color:var(--post-contrast-color)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-label-label,.form-check-label:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled])~.form-check-label-label{border-color:Highlight}}.form-check-input{outline:none;display:inline-flex;flex:0 auto;appearance:none;background:rgba(0,0,0,0);height:1.375rem;width:1.375rem;border:2px solid currentColor;margin-top:1px}.form-check-input:not([disabled]),.form-check-input:not([disabled])~.form-check-label{cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input{border-color:FieldText}}.form-check-input::after{content:"";display:block;flex:1}.form-check-input[type=checkbox]:checked::after{-webkit-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");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}.form-check-input[type=checkbox]:indeterminate::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'m5.333 16.01 20-.021.001 1.333-20 .021z\'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'m5.333 16.01 20-.021.001 1.333-20 .021z\'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=checkbox]:checked,.form-check-input[type=checkbox]:indeterminate{background-color:SelectedItem !important;color:SelectedItemText !important}}.form-check-input[type=radio]{border-radius:50%}.form-check-input[type=radio]:checked::after{border:.25rem solid rgba(0,0,0,0);background-color:currentColor;border-radius:inherit;background-clip:padding-box}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=radio]:checked::after{background-color:SelectedItem;border-color:Canvas}}.form-check-input[type=radio][disabled]{padding:2px;background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[type=radio][disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'rgba(255, 255, 255, 0.8)\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=radio][disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e") !important}}.form-check-input[disabled]{border:0;background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=checkbox],.form-check-input[disabled][type=radio]{border-color:GrayText !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=checkbox]:checked,.form-check-input[disabled][type=checkbox]:indeterminate{background-color:Field !important;color:GrayText !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=radio]:checked::after{background-color:GrayText}}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'rgba(255, 255, 255, 0.8)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e") !important}}.form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'66\' /%3e%3c/svg%3e")}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'rgba(255, 255, 255, 0.8)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'66\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'66\' /%3e%3c/svg%3e") !important}}.form-check-input[disabled],.form-check-input[disabled]~.form-check-label{color:rgba(0,0,0,.6)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled],:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled]~.form-check-label{color:rgba(255,255,255,.8)}.form-check-sm .form-check-input{height:1rem;width:1rem}.form-check-sm .form-check-input[type=radio]:checked::after{border-width:2px}.form-check-label{flex:1}:not(.form-switch,.radio-button-card,.checkbox-button-card)>.form-check-label{padding-inline-start:.5rem}.form-check-sm .form-check-label{font-size:.75rem}.form-switch .form-check-input{height:2rem;width:4rem;border:0;border-radius:4rem;background-image:linear-gradient(to right, rgba(var(--post-contrast-color-rgb), 0.3) 50%, var(--post-success) 50%);background-size:8rem;background-position-x:0;transition:background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),background-position 250ms cubic-bezier(0.4, 0, 0.2, 1)}.form-switch .form-check-input::after{max-width:2rem;background-color:#fff;border:2px solid #666;border-radius:50%;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.form-switch .form-check-input:checked{background-position-x:4rem}.form-switch .form-check-input:checked::after{-webkit-mask-image:none;mask-image:none;background-color:#fff;border-color:#000;transform:translateX(2rem)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch .form-check-input{transition:none;border:2px solid CanvasText}.form-switch .form-check-input:checked{background-color:SelectedItem !important}.form-switch .form-check-input::after,.form-switch .form-check-input:checked::after{max-width:calc(2rem - 4px);border-color:Canvas;background-color:CanvasText}}.form-switch .form-check-input[disabled]{background:#ccc}.form-switch .form-check-input[disabled]::after{border-color:#999}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch .form-check-input[disabled]::after{border-color:Field}.form-switch .form-check-input[disabled]:checked{background-color:GrayText !important}}.form-switch:hover>.form-check-input:not([disabled]){background-color:rgba(var(--post-contrast-color-rgb), 0.1)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch:hover>.form-check-input:not([disabled]){border-color:Highlight}}.form-switch .form-check-label{padding-top:.25rem}.form-switch .form-check-label.order-first{flex:0 auto;padding-inline-end:1rem}.form-switch .form-check-label:not(.order-first){padding-inline-start:1rem}:host{--post-card-control-bg-context: .bg-yellow, .bg-white, .bg-light, .bg-gray, .bg-warning, .bg-info, .bg-success-background, .bg-warning-background, .bg-error-background, .bg-petrol-bright, .bg-coral-bright, .bg-olive-bright, .alert-warning, post-alert[type=warning], .alert-info, post-alert[type=info], .alert-gray, post-alert[type=gray], .bg-dark, .bg-black, .bg-primary, .bg-secondary, .bg-success, .bg-error, .bg-nightblue, .bg-nightblue-bright, .bg-petrol, .bg-coral, .bg-olive, .bg-purple, .bg-purple-bright, .bg-aubergine, .bg-aubergine-bright, .alert-primary, post-alert[type=primary], .alert-success, post-alert[type=success], .alert-danger, post-alert[type=danger], .alert-notification, post-alert[type=notification], .alert-error, post-alert[type=error];display:flex;width:100%}:host-context(fieldset):host(:not(:last-child)) .card-control{margin-bottom:1rem}.card-control{--post-card-control-border-color: hsl(0, 0%, 40%);--post-card-control-bg: #fff;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff;flex-basis:100%;display:grid;grid-template:"input label icon" "input content content"/min-content auto min-content;gap:0 .5rem;margin:0;padding:1rem;background-color:var(--post-card-control-bg);border:2px solid var(--post-card-control-border-color);border-radius:4px;color:var(--post-card-control-color) !important;cursor:pointer}.card-control .card-control--input{grid-area:input;margin:.25rem 0;background-color:var(--post-card-control-input-bg) !important;border-color:var(--post-card-control-input-border-color) !important;color:var(--post-card-control-input-border-color) !important;cursor:inherit;transition:none}.card-control .card-control--input:focus,.card-control .card-control--input:focus-visible{box-shadow:none}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control .card-control--input::after{forced-color-adjust:none;border-color:rgba(0,0,0,0)}}.card-control .card-control--label{grid-area:label;margin:.25rem 0;padding:0;color:inherit !important;pointer-events:none;transition:none}.card-control .card-control--label:not(:has(+.card-control--icon)){grid-area:1/label/1/icon}.card-control .card-control--description{grid-area:label;font-size:.75rem}.card-control .card-control--content{grid-area:content}.card-control .card-control--icon{grid-area:icon;width:2rem;height:2rem;pointer-events:none}.card-control .card-control--icon>slot>*{width:100%;height:100%}.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #000;--post-card-control-bg: #fc0}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: SelectedItemText;--post-card-control-input-bg: SelectedItem}.card-control:not(.is-disabled).is-checked .card-control--input::after{background-color:var(--post-card-control-color) !important}}.card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728}.card-control:not(.is-disabled):hover{--post-card-control-border-color: hsl(0, 0%, 20%);--post-card-control-bg: hsl(0, 0%, 40%);--post-card-control-color: #fff;--post-card-control-input-border-color: #000}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}.card-control:not(.is-disabled):hover .card-control--input::after{color:FieldText}}.card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-offset:2px;outline:2px solid #1976c8}.card-control.is-disabled{--post-card-control-border-color: hsl(0, 0%, 40%);--post-card-control-bg: transparent;--post-card-control-color: hsl(0, 0%, 40%);--post-card-control-input-border-color: hsl(0, 0%, 40%);--post-card-control-input-bg: transparent;border-style:dashed;cursor:default}.card-control.is-disabled .card-control--input{border:0 none;padding:2px;background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}.card-control.is-disabled .card-control--input[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field;outline:2px solid Field;outline-offset:-4px}.card-control .card-control--input{outline:2px solid Field}.card-control .card-control--input[type]{background-color:Field !important}.card-control .card-control--input::after{border-color:Field !important}.card-control .card-control--label,.card-control .card-control--content{background-color:var(--post-card-control-bg) !important}.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}.card-control:not(.is-disabled).is-checked .card-control--input::after{background-color:FieldText !important}.card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}.card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}.card-control.is-disabled .card-control--input{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}.card-control.is-disabled .card-control--input[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}.card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;position:relative;background-color:Field}.card-control.is-disabled.is-checked::before{display:block;content:"";position:absolute;inset:2px;background-color:SelectedItem;z-index:1}.card-control.is-disabled.is-checked>*{position:relative;z-index:2}.card-control.is-disabled.is-checked .card-control--input::after{background-color:FieldText !important}}@media(forced-colors: active)and (forced-colors: active),(forced-colors: active)and (-ms-high-contrast: active),(forced-colors: active)and (-ms-high-contrast: white-on-black),(-ms-high-contrast: active)and (forced-colors: active),(-ms-high-contrast: active)and (-ms-high-contrast: active),(-ms-high-contrast: active)and (-ms-high-contrast: white-on-black),(-ms-high-contrast: white-on-black)and (forced-colors: active),(-ms-high-contrast: white-on-black)and (-ms-high-contrast: active),(-ms-high-contrast: white-on-black)and (-ms-high-contrast: white-on-black){.card-control{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}.card-control.is-checked{--post-card-control-input-bg: field;position:relative}.card-control.is-checked::before{display:block;content:"";position:absolute;inset:2px;border-radius:1px;background-color:SelectedItem}.card-control.is-checked>*{position:relative}.card-control.is-checked .card-control--input{outline:2px solid Field}}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control{--post-card-control-border-color: #fff;--post-card-control-bg: transparent;--post-card-control-color: #fff;--post-card-control-input-border-color: #fff;--post-card-control-input-bg: transparent}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #fc0;--post-card-control-bg: #fc0;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-bg: #ffdade;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728;--post-card-control-input-bg: #fff}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-invalid:where(.is-checked){--post-card-control-bg: #fc0}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: #000;--post-card-control-bg: hsl(0, 0%, 80%);--post-card-control-color: #000;--post-card-control-input-border-color: #000;--post-card-control-input-bg: #fff}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-color:#fff}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled{--post-card-control-border-color: post.$white-alpha-80;--post-card-control-bg: transparent;--post-card-control-color: post.$white-alpha-80;--post-card-control-input-border-color: post.$white-alpha-80;--post-card-control-input-bg: transparent}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled.is-checked{--post-card-control-input-bg: Field}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText}}:host(:not([data-context])){display:none}:host([data-context*=fieldset]:not(:last-child)) .card-control{margin-bottom:1rem}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control{--post-card-control-border-color: #fff;--post-card-control-bg: transparent;--post-card-control-color: #fff;--post-card-control-input-border-color: #fff;--post-card-control-input-bg: transparent}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #fc0;--post-card-control-bg: #fc0;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-bg: #ffdade;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728;--post-card-control-input-bg: #fff}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-invalid:where(.is-checked){--post-card-control-bg: #fc0}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: #000;--post-card-control-bg: hsl(0, 0%, 80%);--post-card-control-color: #000;--post-card-control-input-border-color: #000;--post-card-control-input-bg: #fff}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-color:#fff}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled{--post-card-control-border-color: post.$white-alpha-80;--post-card-control-bg: transparent;--post-card-control-color: post.$white-alpha-80;--post-card-control-input-border-color: post.$white-alpha-80;--post-card-control-input-bg: transparent}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled.is-checked{--post-card-control-input-bg: Field}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color:SelectedItemText}';export{s as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_icon}from"./p-f494f206.js";import"./p-3eab790d.js";import"./p-788e64fb.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";import"./p-43e6da3a.js";import"./p-b095519d.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o="9.5.0";export{o as v}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_popover}from"./p-7c9bd441.js";import"./p-3eab790d.js";import"./p-43e6da3a.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_logo}from"./p-efb2287b.js";import"./p-3eab790d.js";import"./p-43e6da3a.js";import"./p-788e64fb.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as s,H as t,g as a}from"./p-3eab790d.js";import{v as o}from"./p-43e6da3a.js";const r=class{constructor(s){e(this,s),this.panelId=void 0,this.name=void 0}componentWillLoad(){this.panelId=`panel-${this.host.id||crypto.randomUUID()}`}render(){return s(t,{key:"b3cf3aa9d4a89fc1f561ba7ecd62ff456e3392eb","data-version":o,id:this.panelId,role:"tabpanel"},s("slot",{key:"63be1c4ea7c1c57a1438eeb164b446d39613f926"}))}get host(){return a(this)}};r.style=":host{display:none}";export{r as P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t,H as r,g as a}from"./p-3eab790d.js";import{v as e}from"./p-
|
|
1
|
+
import{r as o,h as t,H as r,g as a}from"./p-3eab790d.js";import{v as e}from"./p-43e6da3a.js";import{c as b}from"./p-b095519d.js";const c=class{constructor(t){o(this,t),this.tabId=void 0,this.panel=void 0}validateFor(o){b(o,'The "panel" prop is required for the post-tab-header.')}componentWillLoad(){this.tabId=`tab-${this.host.id||crypto.randomUUID()}`}render(){return t(r,{key:"5912b0379fbde496a165cc18bd8025e02858dd20",id:this.tabId,role:"tab","data-version":e,"aria-selected":"false",tabindex:"-1",class:"tab-title",slot:"tabs"},t("slot",{key:"14d7d226e09a018139570ded2acef36ade7ad501"}))}get host(){return a(this)}static get watchers(){return{panel:["validateFor"]}}};c.style='.tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:var(--post-contrast-color-inverted);color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:2px solid Highlight;outline-offset:-0.25rem}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}.bg-yellow .tab-title{background-color:#fc0}.bg-yellow .tab-title.active{background-color:#fc0}.bg-yellow .nav-item{background-color:#fc0}.bg-white .tab-title{background-color:#fff}.bg-white .tab-title.active{background-color:#fff}.bg-white .nav-item{background-color:#fff}.bg-light .tab-title{background-color:#faf9f8}.bg-light .tab-title.active{background-color:#faf9f8}.bg-light .nav-item{background-color:#faf9f8}.bg-gray .tab-title{background-color:#f4f3f1}.bg-gray .tab-title.active{background-color:#f4f3f1}.bg-gray .nav-item{background-color:#f4f3f1}.bg-dark .tab-title{background-color:#333}.bg-dark .tab-title.active{background-color:#333}.bg-dark .nav-item{background-color:#333}.bg-black .tab-title{background-color:#000}.bg-black .tab-title.active{background-color:#000}.bg-black .nav-item{background-color:#000}.bg-primary .tab-title{background-color:#333}.bg-primary .tab-title.active{background-color:#333}.bg-primary .nav-item{background-color:#333}.bg-secondary .tab-title{background-color:#666}.bg-secondary .tab-title.active{background-color:#666}.bg-secondary .nav-item{background-color:#666}.bg-success .tab-title{background-color:#2c871d}.bg-success .tab-title.active{background-color:#2c871d}.bg-success .nav-item{background-color:#2c871d}.bg-warning .tab-title{background-color:#f49e00}.bg-warning .tab-title.active{background-color:#f49e00}.bg-warning .nav-item{background-color:#f49e00}.bg-error .tab-title{background-color:#a51728}.bg-error .tab-title.active{background-color:#a51728}.bg-error .nav-item{background-color:#a51728}.bg-info .tab-title{background-color:#cce4ee}.bg-info .tab-title.active{background-color:#cce4ee}.bg-info .nav-item{background-color:#cce4ee}.bg-success-background .tab-title{background-color:#c0debb}.bg-success-background .tab-title.active{background-color:#c0debb}.bg-success-background .nav-item{background-color:#c0debb}.bg-warning-background .tab-title{background-color:#fce2b2}.bg-warning-background .tab-title.active{background-color:#fce2b2}.bg-warning-background .nav-item{background-color:#fce2b2}.bg-error-background .tab-title{background-color:#ffdade}.bg-error-background .tab-title.active{background-color:#ffdade}.bg-error-background .nav-item{background-color:#ffdade}.bg-nightblue .tab-title{background-color:#004976}.bg-nightblue .tab-title.active{background-color:#004976}.bg-nightblue .nav-item{background-color:#004976}.bg-nightblue-bright .tab-title{background-color:#0076a8}.bg-nightblue-bright .tab-title.active{background-color:#0076a8}.bg-nightblue-bright .nav-item{background-color:#0076a8}.bg-petrol .tab-title{background-color:#006d68}.bg-petrol .tab-title.active{background-color:#006d68}.bg-petrol .nav-item{background-color:#006d68}.bg-petrol-bright .tab-title{background-color:#00968f}.bg-petrol-bright .tab-title.active{background-color:#00968f}.bg-petrol-bright .nav-item{background-color:#00968f}.bg-coral .tab-title{background-color:#9e2a2f}.bg-coral .tab-title.active{background-color:#9e2a2f}.bg-coral .nav-item{background-color:#9e2a2f}.bg-coral-bright .tab-title{background-color:#e03c31}.bg-coral-bright .tab-title.active{background-color:#e03c31}.bg-coral-bright .nav-item{background-color:#e03c31}.bg-olive .tab-title{background-color:#716135}.bg-olive .tab-title.active{background-color:#716135}.bg-olive .nav-item{background-color:#716135}.bg-olive-bright .tab-title{background-color:#aa9d2e}.bg-olive-bright .tab-title.active{background-color:#aa9d2e}.bg-olive-bright .nav-item{background-color:#aa9d2e}.bg-purple .tab-title{background-color:#80276c}.bg-purple .tab-title.active{background-color:#80276c}.bg-purple .nav-item{background-color:#80276c}.bg-purple-bright .tab-title{background-color:#c5299b}.bg-purple-bright .tab-title.active{background-color:#c5299b}.bg-purple-bright .nav-item{background-color:#c5299b}.bg-aubergine .tab-title{background-color:#523178}.bg-aubergine .tab-title.active{background-color:#523178}.bg-aubergine .nav-item{background-color:#523178}.bg-aubergine-bright .tab-title{background-color:#7566a0}.bg-aubergine-bright .tab-title.active{background-color:#7566a0}.bg-aubergine-bright .nav-item{background-color:#7566a0}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}@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)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}';export{c as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as s,g as i}from"./p-3eab790d.js";import{v as a}from"./p-43e6da3a.js";import{H as o}from"./p-247a1668.js";import{c as r}from"./p-611b3c41.js";const c=class{constructor(e){t(this,e),this.expandedItems=new Set,this.headingLevel=void 0,this.multiple=!1}validateHeadingLevel(t=this.headingLevel){t&&(r(t,o,"The `heading-level` property of the `post-accordion` must be a number between 1 and 6."),this.accordionItems.forEach((e=>{e.setAttribute("heading-level",String(t))})))}componentWillLoad(){this.registerAccordionItems(),this.validateHeadingLevel()}collapseToggleHandler(t){t.stopPropagation();const e=t.target;if(e.closest("post-accordion")===this.host&&"post-accordion-item"===e.localName){const e=t.target,s=this.expandedItems.has(e);if(s?this.expandedItems.delete(e):this.expandedItems.add(e),this.multiple||s)return;Array.from(this.expandedItems.values()).filter((t=>t!==e)).forEach((t=>{t.toggle(!1)}))}}async toggle(t){const e=this.accordionItems.find((e=>e.id===t));if(!e)throw new Error(`No post-accordion-item found with id #${t}.`);await e.toggle()}async expandAll(){this.multiple?await Promise.all(this.accordionItems.map((t=>t.toggle(!0)))):this.expandedItems.size||await this.accordionItems[0].toggle(!0)}async collapseAll(){await Promise.all(this.accordionItems.map((t=>t.toggle(!1))))}registerAccordionItems(){this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item")),this.accordionItems.filter((t=>!t.collapsed||this.expandedItems.has(t))).forEach(((t,e)=>{this.multiple||0===e?this.expandedItems.add(t):t.setAttribute("collapsed","")}))}render(){return e(s,{key:"cfc6280e052937f50bc481fe73cf25ede6e40314","data-version":a},e("div",{key:"090539a2ebe9d216609a7e56597c5f379d439fb8",class:"accordion"},e("slot",{key:"4ae4095b14b6b9233f1d66c8543d625a77a77e09",onSlotchange:()=>this.registerAccordionItems()})))}get host(){return i(this)}static get watchers(){return{headingLevel:["validateHeadingLevel"]}}};c.style=":host{display:block}";export{c as P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as n,H as o,g as r}from"./p-3eab790d.js";import{v as i}from"./p-f7010122.js";const s=Math.min,a=Math.max,l=Math.round,p=Math.floor,c=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function h(t,e,n){return a(t,s(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function g(t){return t.split("-")[0]}function m(t){return t.split("-")[1]}function v(t){return"x"===t?"y":"x"}function w(t){return"y"===t?"height":"width"}const x=new Set(["top","bottom"]);function y(t){return x.has(g(t))?"y":"x"}function b(t){return v(y(t))}function T(t){return t.replace(/start|end/g,(t=>u[t]))}const E=["left","right"],S=["right","left"],A=["top","bottom"],O=["bottom","top"];function I(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function M(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 R(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function L(t,e,n){let{reference:o,floating:r}=t;const i=y(e),s=b(e),a=w(s),l=g(e),p="y"===i,c=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,u=o[a]/2-r[a]/2;let h;switch(l){case"top":h={x:c,y:o.y-r.height};break;case"bottom":h={x:c,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-r.width,y:f};break;default:h={x:o.x,y:o.y}}switch(m(e)){case"start":h[s]-=u*(n&&p?-1:1);break;case"end":h[s]+=u*(n&&p?-1:1)}return h}async function H(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:s,elements:a,strategy:l}=t,{boundary:p="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:u=!1,padding:h=0}=d(e,t),g=M(h),m=a[u?"floating"===f?"reference":"floating":f],v=R(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:p,rootBoundary:c,strategy:l})),w="floating"===f?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},b=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:x,strategy:l}):w);return{top:(v.top-b.top+g.top)/y.y,bottom:(b.bottom-v.bottom+g.bottom)/y.y,left:(v.left-b.left+g.left)/y.x,right:(b.right-v.right+g.right)/y.x}}function k(t){const e=s(...t.map((t=>t.left))),n=s(...t.map((t=>t.top)));return{x:e,y:n,width:a(...t.map((t=>t.right)))-e,height:a(...t.map((t=>t.bottom)))-n}}const N=new Set(["left","top"]);function D(){return"undefined"!=typeof window}function F(t){return W(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function P(t){var e;return null==(e=(W(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function W(t){return!!D()&&(t instanceof Node||t instanceof C(t).Node)}function $(t){return!!D()&&(t instanceof Element||t instanceof C(t).Element)}function B(t){return!!D()&&(t instanceof HTMLElement||t instanceof C(t).HTMLElement)}function z(t){return!(!D()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}const j=new Set(["inline","contents"]);function U(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!j.has(r)}const q=new Set(["table","td","th"]);function G(t){return q.has(F(t))}const Y=[":popover-open",":modal"];function V(t){return Y.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}const X=["transform","translate","scale","rotate","perspective"],K=["transform","translate","scale","rotate","perspective","filter"],_=["paint","layout","strict","content"];function J(t){const e=Q(),n=$(t)?et(t):t;return X.some((t=>!!n[t]&&"none"!==n[t]))||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||K.some((t=>(n.willChange||"").includes(t)))||_.some((t=>(n.contain||"").includes(t)))}function Q(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Z=new Set(["html","body","#document"]);function tt(t){return Z.has(F(t))}function et(t){return C(t).getComputedStyle(t)}function nt(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ot(t){if("html"===F(t))return t;const e=t.assignedSlot||t.parentNode||z(t)&&t.host||P(t);return z(e)?e.host:e}function rt(t){const e=ot(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&U(e)?e:rt(e)}function it(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const r=rt(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),s=C(r);if(i){const t=function(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}(s);return e.concat(s,s.visualViewport||[],U(r)?r:[],t&&n?it(t):[])}return e.concat(r,it(r,[],n))}function st(t){const e=et(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=B(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,a=l(n)!==i||l(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}function at(t){return $(t)?t:t.contextElement}function lt(t){const e=at(t);if(!B(e))return c(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=st(e);let s=(i?l(n.width):n.width)/o,a=(i?l(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const pt=c(0);function ct(t){const e=C(t);return Q()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:pt}function ft(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=at(t);let s=c(1);e&&(o?$(o)&&(s=lt(o)):s=lt(t));const a=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==C(t))&&e}(i,n,o)?ct(i):c(0);let l=(r.left+a.x)/s.x,p=(r.top+a.y)/s.y,f=r.width/s.x,u=r.height/s.y;if(i){const t=C(i),e=o&&$(o)?C(o):o;let n=t,r=n.frameElement;for(;r&&o&&e!==n;){const t=lt(r),e=r.getBoundingClientRect(),o=et(r),i=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;l*=t.x,p*=t.y,f*=t.x,u*=t.y,l+=i,p+=s,n=C(r),r=n.frameElement}}return R({width:f,height:u,x:l,y:p})}function ut(t){return ft(P(t)).left+nt(t).scrollLeft}function ht(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=C(t),o=P(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,a=0,l=0;if(r){i=r.width,s=r.height;const t=Q();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:s,x:a,y:l}}(t,n);else if("document"===e)o=function(t){const e=P(t),n=nt(t),o=t.ownerDocument.body,r=a(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=a(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+ut(t);const l=-n.scrollTop;return"rtl"===et(o).direction&&(s+=a(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:l}}(P(t));else if($(e))o=function(t,e){const n=ft(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=B(t)?lt(t):c(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=ct(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return R(o)}function dt(t,e){const n=ot(t);return!(n===e||!$(n)||tt(n))&&("fixed"===et(n).position||dt(n,e))}function gt(t,e,n){const o=B(e),r=P(e),i="fixed"===n,s=ft(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const l=c(0);if(o||!o&&!i)if(("body"!==F(e)||U(r))&&(a=nt(e)),o){const t=ft(e,!0,i,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=ut(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function mt(t){return"static"===et(t).position}function vt(t,e){return B(t)&&"fixed"!==et(t).position?e?e(t):t.offsetParent:null}function wt(t,e){const n=C(t);if(V(t))return n;if(!B(t)){let e=ot(t);for(;e&&!tt(e);){if($(e)&&!mt(e))return e;e=ot(e)}return n}let o=vt(t,e);for(;o&&G(o)&&mt(o);)o=vt(o,e);return o&&tt(o)&&mt(o)&&!J(o)?n:o||function(t){let e=ot(t);for(;B(e)&&!tt(e);){if(J(e))return e;if(V(e))return null;e=ot(e)}return null}(t)||n}const xt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i="fixed"===r,s=P(o),a=!!e&&V(e.floating);if(o===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},p=c(1);const f=c(0),u=B(o);if((u||!u&&!i)&&(("body"!==F(o)||U(s))&&(l=nt(o)),B(o))){const t=ft(o);p=lt(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-l.scrollLeft*p.x+f.x,y:n.y*p.y-l.scrollTop*p.y+f.y}},getDocumentElement:P,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===n?V(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=it(t,[],!1).filter((t=>$(t)&&"body"!==F(t))),r=null;const i="fixed"===et(t).position;let s=i?ot(t):t;for(;$(s)&&!tt(s);){const e=et(s),n=J(s);n||"fixed"!==e.position||(r=null),(i?!n&&!r:!n&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||U(s)&&!n&&dt(t,s))?o=o.filter((t=>t!==s)):r=e,s=ot(s)}return e.set(t,o),o}(e,this._c):[].concat(n),o],l=i.reduce(((t,n)=>{const o=ht(e,n,r);return t.top=a(o.top,t.top),t.right=s(o.right,t.right),t.bottom=s(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),ht(e,i[0],r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:wt,getElementRects:async function(t){const e=this.getOffsetParent||wt,n=this.getDimensions,o=await n(t.floating);return{reference:gt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=st(t);return{width:e,height:n}},getScale:lt,isElement:$,isRTL:function(t){return"rtl"===et(t).direction}};const yt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:a}=e,l=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),s=g(n),a=m(n),l="y"===y(n),p=N.has(s)?-1:1,c=i&&l?-1:1,f=d(e,t);let{mainAxis:u,crossAxis:h,alignmentAxis:v}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof v&&(h="end"===a?-1*v:v),l?{x:h*c,y:u*p}:{x:u*p,y:h*c}}(e,t);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:s}}}}},bt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...l}=d(t,e),p={x:n,y:o},c=await H(e,l),f=y(g(r)),u=v(f);let m=p[u],w=p[f];i&&(m=h(m+c["y"===u?"top":"left"],m,m-c["y"===u?"bottom":"right"])),s&&(w=h(w+c["y"===f?"top":"left"],w,w-c["y"===f?"bottom":"right"]));const x=a.fn({...e,[u]:m,[f]:w});return{...x,data:{x:x.x-n,y:x.y-o,enabled:{[u]:i,[f]:s}}}}}},Tt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:p}=e,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:x=!0,...M}=d(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const R=g(r),L=y(a),k=g(a)===a,N=await(null==l.isRTL?void 0:l.isRTL(p.floating)),D=u||(k||!x?[I(a)]:function(t){const e=I(t);return[T(t),e,T(e)]}(a)),F="none"!==v;!u&&F&&D.push(...function(t,e,n,o){const r=m(t);let i=function(t,e,n){switch(t){case"top":case"bottom":return n?e?S:E:e?E:S;case"left":case"right":return e?A:O;default:return[]}}(g(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(T)))),i}(a,x,v,N));const C=[a,...D],P=await H(e,M),W=[];let $=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&W.push(P[R]),f){const t=function(t,e,n){void 0===n&&(n=!1);const o=m(t),r=b(t),i=w(r);let s="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=I(s)),[s,I(s)]}(r,s,N);W.push(P[t[0]],P[t[1]])}if($=[...$,{placement:r,overflows:W}],!W.every((t=>t<=0))){var B,z;const t=((null==(B=i.flip)?void 0:B.index)||0)+1,e=C[t];if(e&&("alignment"!==f||L===y(e)||$.every((t=>t.overflows[0]>0&&y(t.placement)===L))))return{data:{index:t,overflows:$},reset:{placement:e}};let n=null==(z=$.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:z.placement;if(!n)switch(h){case"bestFit":{var j;const t=null==(j=$.filter((t=>{if(F){const e=y(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:j[0];t&&(n=t);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}},Et=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:i,platform:l,elements:p}=e,{apply:c=(()=>{}),...f}=d(t,e),u=await H(e,f),h=g(r),v=m(r),w="y"===y(r),{width:x,height:b}=i.floating;let T,E;"top"===h||"bottom"===h?(T=h,E=v===(await(null==l.isRTL?void 0:l.isRTL(p.floating))?"start":"end")?"left":"right"):(E=h,T="end"===v?"top":"bottom");const S=b-u.top-u.bottom,A=x-u.left-u.right;let O=s(b-u[T],S),I=s(x-u[E],A);if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(I=A),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(O=S),!e.middlewareData.shift&&!v){const t=a(u.left,0),e=a(u.right,0),n=a(u.top,0),o=a(u.bottom,0);w?I=x-2*(0!==t||0!==e?t+e:a(u.left,u.right)):O=b-2*(0!==n||0!==o?n+o:a(u.top,u.bottom))}await c({...e,availableWidth:I,availableHeight:O});const M=await l.getDimensions(p.floating);return x!==M.width||b!==M.height?{reset:{rects:!0}}:{}}}},St=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=e,{offset:a=0,mainAxis:l=!0,crossAxis:p=!0}=d(t,e),c={x:n,y:o},f=y(r),u=v(f);let h=c[u],m=c[f];const w=d(a,e),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(l){const t="y"===u?"height":"width",e=i.reference[u]-i.floating[t]+x.mainAxis,n=i.reference[u]+i.reference[t]-x.mainAxis;h<e?h=e:h>n&&(h=n)}if(p){var b,T;const t="y"===u?"width":"height",e=N.has(g(r)),n=i.reference[f]-i.floating[t]+(e&&(null==(b=s.offset)?void 0:b[f])||0)+(e?0:x.crossAxis),o=i.reference[f]+i.reference[t]+(e?0:(null==(T=s.offset)?void 0:T[f])||0)-(e?x.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[u]:h,[f]:m}}}};(()=>{var t=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:n="",...o}={}){super(t,o),this.oldState=String(e||""),this.newState=String(n||"")}},e=new WeakMap;function n(n,o,r){e.set(n,setTimeout((()=>{e.has(n)&&n.dispatchEvent(new t("toggle",{cancelable:!1,oldState:o,newState:r}))}),0))}var o=globalThis.ShadowRoot||function(){},r=globalThis.HTMLDialogElement||function(){},i=new WeakMap,s=new WeakMap,a=new WeakMap;function l(t){return a.get(t)||"hidden"}var p=new WeakMap;function c(t,e){return!("auto"!==t.popover&&"manual"!==t.popover||!t.isConnected||e&&"showing"!==l(t)||!e&&"hidden"!==l(t)||t instanceof r&&t.hasAttribute("open")||document.fullscreenElement===t)}function f(t){return t?Array.from(s.get(t.ownerDocument)||[]).indexOf(t)+1:0}function u(t){let e=s.get(t);for(let t of e||[]){if(t.isConnected)return t;e.delete(t)}return null}function h(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?h(t.parentNode):t}function d(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===a.get(t))return t;if((t=t.parentElement||h(t))instanceof o&&(t=t.host),t instanceof Document)return}}function g(t){return!(t.hidden||t instanceof o||(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 m=new WeakMap;function v(e){if(!c(e,!1))return;let o=e.ownerDocument;if(!e.dispatchEvent(new t("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"}))||!c(e,!1))return;let r=!1;if("auto"===e.popover){let t=e.getAttribute("popover"),n=function(t){let e=new Map,n=0,o=t.ownerDocument;for(let t of s.get(o)||[])e.set(t,n),n+=1;e.set(t,n),n+=1;let r=null;return function(t){let n=d(t);if(null===n)return null;let o=e.get(n);(null===r||e.get(r)<o)&&(r=n)}(t?.parentElement),r}(e)||o;if(y(n,!1,!0),t!==e.getAttribute("popover")||!c(e,!1))return}u(o)||(r=!0),m.delete(e);let l=o.activeElement;e.classList.add(":popover-open"),a.set(e,"showing"),i.has(o)||i.set(o,new Set),i.get(o).add(e),function(t){(function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let n=e.querySelector("[autofocus]");if(n)return n;{let t=e.querySelectorAll("slot");for(let e of t){let t=e.assignedElements({flatten:!0});for(let e of t){if(e.hasAttribute("autofocus"))return e;if(n=e.querySelector("[autofocus]"),n)return n}}}let o=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT),r=o.currentNode;for(;r;){if(g(r))return r;r=o.nextNode()}})(t)?.focus()}(e),"auto"===e.popover&&(s.has(o)||s.set(o,new Set),s.get(o).add(e),S(p.get(e),!0)),r&&l&&"auto"===e.popover&&m.set(e,l),n(e,"closed","open")}function w(e,o=!1,r=!1){if(!c(e,!0))return;let l=e.ownerDocument;if("auto"===e.popover&&(y(e,o,r),!c(e,!0))||(S(p.get(e),!1),p.delete(e),r&&(e.dispatchEvent(new t("beforetoggle",{oldState:"open",newState:"closed"})),!c(e,!0))))return;i.get(l)?.delete(e),s.get(l)?.delete(e),e.classList.remove(":popover-open"),a.set(e,"hidden"),r&&n(e,"open","closed");let f=m.get(e);f&&(m.delete(e),o&&f.focus())}function x(t,e=!1,n=!1){let o=u(t);for(;o;)w(o,e,n),o=u(t)}function y(t,e,n){let o=t.ownerDocument||t;if(t instanceof Document)return x(o,e,n);let r=null,i=!1;for(let e of s.get(o)||[])if(e===t)i=!0;else if(i){r=e;break}if(!i)return x(o,e,n);for(;r&&"showing"===l(r)&&s.get(o)?.size;)w(r,e,n)}var b=new WeakMap;function T(t){if(!t.isTrusted)return;let e=t.composedPath()[0];if(!e)return;let n=e.ownerDocument;if(!u(n))return;let r=function(t){let e=d(t),n=function(t){for(;t;){let e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||h(t))instanceof o&&(t=t.host),t instanceof Document)return}}(t);return f(e)>f(n)?e:n}(e);if(r&&"pointerdown"===t.type)b.set(n,r);else if("pointerup"===t.type){let t=b.get(n)===r;b.delete(n),t&&y(r||n,!1,!0)}}var E=new WeakMap;function S(t,e=!1){if(!t)return;E.has(t)||E.set(t,t.getAttribute("aria-expanded"));let n=t.popoverTargetElement;if(n instanceof HTMLElement&&"auto"===n.popover)t.setAttribute("aria-expanded",String(e));else{let e=E.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var A=globalThis.ShadowRoot||function(){};function O(t,e,n){let o=t[e];Object.defineProperty(t,e,{value(t){return o.call(this,n(t))}})}var I=/(^|[^\\]):popover-open\b/g,M="\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(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\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n",R=null;function L(t){if(null===R)try{(R=new CSSStyleSheet).replaceSync(M)}catch{R=!1}if(!1===R){let e=document.createElement("style");e.textContent=M,t instanceof Document?t.head.prepend(e):t.prepend(e)}else t.adoptedStyleSheets=[R,...t.adoptedStyleSheets]}typeof HTMLElement<"u"&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){function e(t){return t?.includes(":popover-open")&&(t=t.replace(I,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||t,O(Document.prototype,"querySelector",e),O(Document.prototype,"querySelectorAll",e),O(Element.prototype,"querySelector",e),O(Element.prototype,"querySelectorAll",e),O(Element.prototype,"matches",e),O(Element.prototype,"closest",e),O(DocumentFragment.prototype,"querySelectorAll",e),O(DocumentFragment.prototype,"querySelectorAll",e),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;let t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"manual"},set(t){this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(){v(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){w(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t){"showing"===a.get(this)&&void 0===t||!1===t?w(this,!0,!0):(void 0===t||!0===t)&&v(this)}}});let n=Element.prototype.attachShadow;n&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){let e=n.call(this,t);return L(e),e}}});let o=HTMLElement.prototype.attachInternals;o&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){let t=o.call(this);return t.shadowRoot&&L(t.shadowRoot),t}}});let r=new WeakMap;function i(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),r.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),r.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName||"input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type||this.disabled||this.form&&"submit"===this.type)return null;let t=r.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return r.delete(this),null;let e=h(this),n=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof A)&&n&&e.getElementById(n)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){let t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}i(HTMLButtonElement),i(HTMLInputElement);var s;(s=document).addEventListener("click",(t=>{if(!t.isTrusted)return;let e=t.composedPath()[0];if(!(e instanceof Element)||e?.shadowRoot)return;let n=h(e);if(!(n instanceof A||n instanceof Document))return;let o=e.closest("[popovertargetaction],[popovertarget]");return o?(function(t){let e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;let n=l(e);"show"===t.popoverTargetAction&&"showing"===n||"hide"===t.popoverTargetAction&&"hidden"===n||("showing"===n?w(e,!0,!0):c(e,!1)&&(p.set(e,t),v(e)))}(o),void t.preventDefault()):void 0})),s.addEventListener("keydown",(t=>{let e=t.key,n=t.target;!t.defaultPrevented&&n&&("Escape"===e||"Esc"===e)&&y(n.ownerDocument,!0,!0)})),s.addEventListener("pointerdown",T),s.addEventListener("pointerup",T),L(document)}()})();const At=class{constructor(n){t(this,n),this.postToggle=e(this,"postToggle",7),this.placement="top",this.edgeGap=8,this.animation=null,this.arrow=!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`)}componentDidLoad(){this.host.setAttribute("popover",""),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,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,u=at(t),h=r||i?[...u?it(u):[],...it(e)]:[];h.forEach((t=>{r&&t.addEventListener("scroll",n,{passive:!0}),i&&t.addEventListener("resize",n)}));const d=u&&c?function(t,e){let n,o=null;const r=P(t);function i(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function l(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),i();const{left:u,top:h,width:d,height:g}=t.getBoundingClientRect();if(c||e(),!d||!g)return;const m={rootMargin:-p(h)+"px "+-p(r.clientWidth-(u+d))+"px "+-p(r.clientHeight-(h+g))+"px "+-p(u)+"px",threshold:a(0,s(1,f))||1};let v=!0;function w(t){const e=t[0].intersectionRatio;if(e!==f){if(!v)return l();e?l(!1,e):n=setTimeout((()=>{l(!1,1e-7)}),1e3)}v=!1}try{o=new IntersectionObserver(w,{...m,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(w,m)}o.observe(t)}(!0),i}(u,n):null;let g,m=-1,v=null;l&&(v=new ResizeObserver((t=>{let[o]=t;o&&o.target===u&&v&&(v.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=v)||t.observe(e)}))),n()})),u&&!f&&v.observe(u),v.observe(e));let w=f?ft(t):null;return f&&function e(){const o=ft(t);!w||o.x===w.x&&o.y===w.y&&o.width===w.width&&o.height===w.height||n(),w=o,g=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach((t=>{r&&t.removeEventListener("scroll",n),i&&t.removeEventListener("resize",n)})),null==d||d(),null==(t=v)||t.disconnect(),v=null,f&&cancelAnimationFrame(g)}}(this.eventTarget,this.host,this.calculatePosition.bind(this))}async calculatePosition(){const{x:t,y:e,middlewareData:n,placement:o}=await this.computeMainPosition(),r=o.split("-")[0];if(this.host.style.left=`${t}px`,this.host.style.top=`${e}px`,this.arrow&&n.arrow){const{x:t,y:e}=n.arrow,o=At.STATIC_SIDES[r];o&&Object.assign(this.arrowRef.style,{left:t?`${t}px`:"",top:e?`${e}px`:"",[o]:"-7px"})}this.safeSpace&&this.eventTarget&&await this.updateSafeSpaceBoundaries(r)}async computeMainPosition(){const t=this.edgeGap,e=[Tt(),(void 0===n&&(n={}),{name:"inline",options:n,async fn(t){const{placement:e,elements:o,rects:r,platform:i,strategy:l}=t,{padding:p=2,x:c,y:f}=d(n,t),u=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),h=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const r=e[t];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((t=>R(k(t))))}(u),m=R(k(u)),v=M(p),w=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=c&&null!=f)return h.find((t=>c>t.left-v.left&&c<t.right+v.right&&f>t.top-v.top&&f<t.bottom+v.bottom))||m;if(h.length>=2){if("y"===y(e)){const t=h[0],n=h[h.length-1],o="top"===g(e),r=t.top,i=n.bottom,s=o?t.left:n.left,a=o?t.right:n.right;return{top:r,bottom:i,left:s,right:a,width:a-s,height:i-r,x:s,y:r}}const t="left"===g(e),n=a(...h.map((t=>t.right))),o=s(...h.map((t=>t.left))),r=h.filter((e=>t?e.left===o:e.right===n)),i=r[0].top,l=r[r.length-1].bottom;return{top:i,bottom:l,left:o,right:n,width:n-o,height:l-i,x:o,y:i}}return m}},floating:o.floating,strategy:l});return r.reference.x!==w.reference.x||r.reference.y!==w.reference.y||r.reference.width!==w.reference.width||r.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}),bt({padding:t,limiter:St({offset:32})}),Et({apply({availableWidth:e,elements:n}){Object.assign(n.floating.style,{maxWidth:e-2*t+"px"})}}),yt(this.arrow?t+4:t)];var n;return this.arrow&&e.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:a,elements:l,middlewareData:p}=e,{element:c,padding:f=0}=d(t,e)||{};if(null==c)return{};const u=M(f),g={x:n,y:o},v=b(r),x=w(v),y=await a.getDimensions(c),T="y"===v,E=T?"top":"left",S=T?"bottom":"right",A=T?"clientHeight":"clientWidth",O=i.reference[x]+i.reference[v]-g[v]-i.floating[x],I=g[v]-i.reference[v],R=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let L=R?R[A]:0;L&&await(null==a.isElement?void 0:a.isElement(R))||(L=l.floating[A]||i.floating[x]);const H=O/2-I/2,k=L/2-y[x]/2-1,N=s(u[E],k),D=s(u[S],k),F=N,C=L-y[x]-D,P=L/2-y[x]/2+H,W=h(F,P,C),$=!p.arrow&&null!=m(r)&&P!==W&&i.reference[x]/2-(P<F?N:D)-y[x]/2<0,B=$?P<F?P-F:P-C:0;return{[v]:g[v]+B,data:{[v]:W,centerOffset:P-W-B,...$&&{alignmentOffset:B}},reset:$}}}))({element:this.arrowRef,padding:t})),((t,e,n)=>{const o=new Map,r={platform:xt,...n},i={...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let p=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:c,y:f}=L(p,o,l),u=o,h={},d=0;for(let n=0;n<a.length;n++){const{name:i,fn:g}=a[n],{x:m,y:v,data:w,reset:x}=await g({x:c,y:f,initialPlacement:o,placement:u,strategy:r,middlewareData:h,rects:p,platform:s,elements:{reference:t,floating:e}});c=null!=m?m:c,f=null!=v?v:f,h={...h,[i]:{...h[i],...w}},x&&d<=50&&(d++,"object"==typeof x&&(x.placement&&(u=x.placement),x.rects&&(p=!0===x.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:c,y:f}=L(p,u,l))),n=-1)}return{x:c,y:f,placement:u,strategy:r,middlewareData:h}})(t,e,{...r,platform:i})})(this.eventTarget,this.host,{placement:this.placement||"top",strategy:"fixed",middleware:e})}async updateSafeSpaceBoundaries(t){const e=this.eventTarget.getBoundingClientRect(),n="top"===t||"bottom"===t,o=((t,e,n)=>"top"===t||"bottom"===t?{popover:{y:"top"===t?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:"top"===t?n.top:n.bottom,xStart:n.left,xEnd:n.right}}:{popover:{x:"left"===t?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:"left"===t?n.left:n.right,yStart:n.top,yEnd:n.bottom}})(t,this.host.getBoundingClientRect(),e);At.PROPERTIES_TO_CLEAR.forEach((t=>{this.host.style.removeProperty(t)})),n?(this.host.style.setProperty("--post-safe-space-popover-y",`${o.popover.y}px`),this.host.style.setProperty("--post-safe-space-popover-x-start",`${o.popover.xStart}px`),this.host.style.setProperty("--post-safe-space-popover-x-end",`${o.popover.xEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-y",`${o.trigger.y}px`),this.host.style.setProperty("--post-safe-space-trigger-x-start",`${o.trigger.xStart}px`),this.host.style.setProperty("--post-safe-space-trigger-x-end",`${o.trigger.xEnd}px`)):(this.host.style.setProperty("--post-safe-space-popover-x",`${o.popover.x}px`),this.host.style.setProperty("--post-safe-space-popover-y-start",`${o.popover.yStart}px`),this.host.style.setProperty("--post-safe-space-popover-y-end",`${o.popover.yEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-x",`${o.trigger.x}px`),this.host.style.setProperty("--post-safe-space-trigger-y-start",`${o.trigger.yStart}px`),this.host.style.setProperty("--post-safe-space-trigger-y-end",`${o.trigger.yEnd}px`))}render(){return n(o,{key:"98ea26b46803e8aa98cc2cec53798d994c0ff856","data-version":i},n("div",{key:"230fa7df2963b36e67a4559f07010f7213240e3c",class:this.animation?`animate-${this.animation}`:""},this.arrow&&n("span",{key:"58647eb14ef84ff04b04b7dec0bbb38b9bcd4b69",class:"arrow",ref:t=>{this.arrowRef=t}}),n("slot",{key:"de0afc53f013ac7d4cdd06e0e2d7746a8e0971dc"})))}get host(){return r(this)}};At.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"},At.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"],At.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)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */@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:.5px 3px 4px rgba(0,0,0,.1),2px 4px 10px 4px rgba(0,0,0,.12);width:max-content;display:flex;align-items:center;max-width:100%;color:var(--post-contrast-color);background-color:rgb(var(--post-bg-rgb));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):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)}';export{At as P}
|
|
1
|
+
import{r as t,c as e,h as n,H as o,g as r}from"./p-3eab790d.js";import{v as i}from"./p-43e6da3a.js";const a=Math.min,s=Math.max,l=Math.round,p=Math.floor,c=t=>({x:t,y:t}),u={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function h(t,e,n){return s(t,a(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function g(t){return t.split("-")[0]}function m(t){return t.split("-")[1]}function v(t){return"x"===t?"y":"x"}function w(t){return"y"===t?"height":"width"}const x=new Set(["top","bottom"]);function y(t){return x.has(g(t))?"y":"x"}function b(t){return v(y(t))}function T(t){return t.replace(/start|end/g,(t=>f[t]))}const E=["left","right"],S=["right","left"],A=["top","bottom"],O=["bottom","top"];function I(t){return t.replace(/left|right|bottom|top/g,(t=>u[t]))}function M(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 R(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function L(t,e,n){let{reference:o,floating:r}=t;const i=y(e),a=b(e),s=w(a),l=g(e),p="y"===i,c=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,f=o[s]/2-r[s]/2;let h;switch(l){case"top":h={x:c,y:o.y-r.height};break;case"bottom":h={x:c,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-r.width,y:u};break;default:h={x:o.x,y:o.y}}switch(m(e)){case"start":h[a]-=f*(n&&p?-1:1);break;case"end":h[a]+=f*(n&&p?-1:1)}return h}async function H(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:a,elements:s,strategy:l}=t,{boundary:p="clippingAncestors",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:f=!1,padding:h=0}=d(e,t),g=M(h),m=s[f?"floating"===u?"reference":"floating":u],v=R(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:p,rootBoundary:c,strategy:l})),w="floating"===u?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),y=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},b=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:x,strategy:l}):w);return{top:(v.top-b.top+g.top)/y.y,bottom:(b.bottom-v.bottom+g.bottom)/y.y,left:(v.left-b.left+g.left)/y.x,right:(b.right-v.right+g.right)/y.x}}function k(t){const e=a(...t.map((t=>t.left))),n=a(...t.map((t=>t.top)));return{x:e,y:n,width:s(...t.map((t=>t.right)))-e,height:s(...t.map((t=>t.bottom)))-n}}const N=new Set(["left","top"]);function D(){return"undefined"!=typeof window}function F(t){return W(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function P(t){var e;return null==(e=(W(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function W(t){return!!D()&&(t instanceof Node||t instanceof C(t).Node)}function $(t){return!!D()&&(t instanceof Element||t instanceof C(t).Element)}function B(t){return!!D()&&(t instanceof HTMLElement||t instanceof C(t).HTMLElement)}function z(t){return!(!D()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}const j=new Set(["inline","contents"]);function U(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!j.has(r)}const q=new Set(["table","td","th"]);function G(t){return q.has(F(t))}const Y=[":popover-open",":modal"];function V(t){return Y.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}const X=["transform","translate","scale","rotate","perspective"],K=["transform","translate","scale","rotate","perspective","filter"],_=["paint","layout","strict","content"];function J(t){const e=Q(),n=$(t)?et(t):t;return X.some((t=>!!n[t]&&"none"!==n[t]))||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||K.some((t=>(n.willChange||"").includes(t)))||_.some((t=>(n.contain||"").includes(t)))}function Q(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Z=new Set(["html","body","#document"]);function tt(t){return Z.has(F(t))}function et(t){return C(t).getComputedStyle(t)}function nt(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ot(t){if("html"===F(t))return t;const e=t.assignedSlot||t.parentNode||z(t)&&t.host||P(t);return z(e)?e.host:e}function rt(t){const e=ot(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&U(e)?e:rt(e)}function it(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const r=rt(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),a=C(r);if(i){const t=function(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}(a);return e.concat(a,a.visualViewport||[],U(r)?r:[],t&&n?it(t):[])}return e.concat(r,it(r,[],n))}function at(t){const e=et(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=B(t),i=r?t.offsetWidth:n,a=r?t.offsetHeight:o,s=l(n)!==i||l(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}function st(t){return $(t)?t:t.contextElement}function lt(t){const e=st(t);if(!B(e))return c(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=at(e);let a=(i?l(n.width):n.width)/o,s=(i?l(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const pt=c(0);function ct(t){const e=C(t);return Q()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:pt}function ut(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=st(t);let a=c(1);e&&(o?$(o)&&(a=lt(o)):a=lt(t));const s=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==C(t))&&e}(i,n,o)?ct(i):c(0);let l=(r.left+s.x)/a.x,p=(r.top+s.y)/a.y,u=r.width/a.x,f=r.height/a.y;if(i){const t=C(i),e=o&&$(o)?C(o):o;let n=t,r=n.frameElement;for(;r&&o&&e!==n;){const t=lt(r),e=r.getBoundingClientRect(),o=et(r),i=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,a=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;l*=t.x,p*=t.y,u*=t.x,f*=t.y,l+=i,p+=a,n=C(r),r=n.frameElement}}return R({width:u,height:f,x:l,y:p})}function ft(t){return ut(P(t)).left+nt(t).scrollLeft}function ht(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=C(t),o=P(t),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;const t=Q();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s,y:l}}(t,n);else if("document"===e)o=function(t){const e=P(t),n=nt(t),o=t.ownerDocument.body,r=s(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=s(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+ft(t);const l=-n.scrollTop;return"rtl"===et(o).direction&&(a+=s(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(P(t));else if($(e))o=function(t,e){const n=ut(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=B(t)?lt(t):c(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=ct(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return R(o)}function dt(t,e){const n=ot(t);return!(n===e||!$(n)||tt(n))&&("fixed"===et(n).position||dt(n,e))}function gt(t,e,n){const o=B(e),r=P(e),i="fixed"===n,a=ut(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const l=c(0);if(o||!o&&!i)if(("body"!==F(e)||U(r))&&(s=nt(e)),o){const t=ut(e,!0,i,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=ft(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function mt(t){return"static"===et(t).position}function vt(t,e){return B(t)&&"fixed"!==et(t).position?e?e(t):t.offsetParent:null}function wt(t,e){const n=C(t);if(V(t))return n;if(!B(t)){let e=ot(t);for(;e&&!tt(e);){if($(e)&&!mt(e))return e;e=ot(e)}return n}let o=vt(t,e);for(;o&&G(o)&&mt(o);)o=vt(o,e);return o&&tt(o)&&mt(o)&&!J(o)?n:o||function(t){let e=ot(t);for(;B(e)&&!tt(e);){if(J(e))return e;if(V(e))return null;e=ot(e)}return null}(t)||n}const xt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i="fixed"===r,a=P(o),s=!!e&&V(e.floating);if(o===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},p=c(1);const u=c(0),f=B(o);if((f||!f&&!i)&&(("body"!==F(o)||U(a))&&(l=nt(o)),B(o))){const t=ut(o);p=lt(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-l.scrollLeft*p.x+u.x,y:n.y*p.y-l.scrollTop*p.y+u.y}},getDocumentElement:P,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===n?V(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=it(t,[],!1).filter((t=>$(t)&&"body"!==F(t))),r=null;const i="fixed"===et(t).position;let a=i?ot(t):t;for(;$(a)&&!tt(a);){const e=et(a),n=J(a);n||"fixed"!==e.position||(r=null),(i?!n&&!r:!n&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||U(a)&&!n&&dt(t,a))?o=o.filter((t=>t!==a)):r=e,a=ot(a)}return e.set(t,o),o}(e,this._c):[].concat(n),o],l=i.reduce(((t,n)=>{const o=ht(e,n,r);return t.top=s(o.top,t.top),t.right=a(o.right,t.right),t.bottom=a(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),ht(e,i[0],r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:wt,getElementRects:async function(t){const e=this.getOffsetParent||wt,n=this.getDimensions,o=await n(t.floating);return{reference:gt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=at(t);return{width:e,height:n}},getScale:lt,isElement:$,isRTL:function(t){return"rtl"===et(t).direction}};const yt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:a,middlewareData:s}=e,l=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=g(n),s=m(n),l="y"===y(n),p=N.has(a)?-1:1,c=i&&l?-1:1,u=d(e,t);let{mainAxis:f,crossAxis:h,alignmentAxis:v}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return s&&"number"==typeof v&&(h="end"===s?-1*v:v),l?{x:h*c,y:f*p}:{x:f*p,y:h*c}}(e,t);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:a}}}}},bt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...l}=d(t,e),p={x:n,y:o},c=await H(e,l),u=y(g(r)),f=v(u);let m=p[f],w=p[u];i&&(m=h(m+c["y"===f?"top":"left"],m,m-c["y"===f?"bottom":"right"])),a&&(w=h(w+c["y"===u?"top":"left"],w,w-c["y"===u?"bottom":"right"]));const x=s.fn({...e,[f]:m,[u]:w});return{...x,data:{x:x.x-n,y:x.y-o,enabled:{[f]:i,[u]:a}}}}}},Tt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:p}=e,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:x=!0,...M}=d(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const R=g(r),L=y(s),k=g(s)===s,N=await(null==l.isRTL?void 0:l.isRTL(p.floating)),D=f||(k||!x?[I(s)]:function(t){const e=I(t);return[T(t),e,T(e)]}(s)),F="none"!==v;!f&&F&&D.push(...function(t,e,n,o){const r=m(t);let i=function(t,e,n){switch(t){case"top":case"bottom":return n?e?S:E:e?E:S;case"left":case"right":return e?A:O;default:return[]}}(g(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(T)))),i}(s,x,v,N));const C=[s,...D],P=await H(e,M),W=[];let $=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&W.push(P[R]),u){const t=function(t,e,n){void 0===n&&(n=!1);const o=m(t),r=b(t),i=w(r);let a="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=I(a)),[a,I(a)]}(r,a,N);W.push(P[t[0]],P[t[1]])}if($=[...$,{placement:r,overflows:W}],!W.every((t=>t<=0))){var B,z;const t=((null==(B=i.flip)?void 0:B.index)||0)+1,e=C[t];if(e&&("alignment"!==u||L===y(e)||$.every((t=>t.overflows[0]>0&&y(t.placement)===L))))return{data:{index:t,overflows:$},reset:{placement:e}};let n=null==(z=$.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:z.placement;if(!n)switch(h){case"bestFit":{var j;const t=null==(j=$.filter((t=>{if(F){const e=y(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:j[0];t&&(n=t);break}case"initialPlacement":n=s}if(r!==n)return{reset:{placement:n}}}return{}}}},Et=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:i,platform:l,elements:p}=e,{apply:c=(()=>{}),...u}=d(t,e),f=await H(e,u),h=g(r),v=m(r),w="y"===y(r),{width:x,height:b}=i.floating;let T,E;"top"===h||"bottom"===h?(T=h,E=v===(await(null==l.isRTL?void 0:l.isRTL(p.floating))?"start":"end")?"left":"right"):(E=h,T="end"===v?"top":"bottom");const S=b-f.top-f.bottom,A=x-f.left-f.right;let O=a(b-f[T],S),I=a(x-f[E],A);if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(I=A),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(O=S),!e.middlewareData.shift&&!v){const t=s(f.left,0),e=s(f.right,0),n=s(f.top,0),o=s(f.bottom,0);w?I=x-2*(0!==t||0!==e?t+e:s(f.left,f.right)):O=b-2*(0!==n||0!==o?n+o:s(f.top,f.bottom))}await c({...e,availableWidth:I,availableHeight:O});const M=await l.getDimensions(p.floating);return x!==M.width||b!==M.height?{reset:{rects:!0}}:{}}}},St=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:p=!0}=d(t,e),c={x:n,y:o},u=y(r),f=v(u);let h=c[f],m=c[u];const w=d(s,e),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(l){const t="y"===f?"height":"width",e=i.reference[f]-i.floating[t]+x.mainAxis,n=i.reference[f]+i.reference[t]-x.mainAxis;h<e?h=e:h>n&&(h=n)}if(p){var b,T;const t="y"===f?"width":"height",e=N.has(g(r)),n=i.reference[u]-i.floating[t]+(e&&(null==(b=a.offset)?void 0:b[u])||0)+(e?0:x.crossAxis),o=i.reference[u]+i.reference[t]+(e?0:(null==(T=a.offset)?void 0:T[u])||0)-(e?x.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[f]:h,[u]:m}}}};(()=>{var t=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:n="",...o}={}){super(t,o),this.oldState=String(e||""),this.newState=String(n||"")}},e=new WeakMap;function n(n,o,r){e.set(n,setTimeout((()=>{e.has(n)&&n.dispatchEvent(new t("toggle",{cancelable:!1,oldState:o,newState:r}))}),0))}var o=globalThis.ShadowRoot||function(){},r=globalThis.HTMLDialogElement||function(){},i=new WeakMap,a=new WeakMap,s=new WeakMap;function l(t){return s.get(t)||"hidden"}var p=new WeakMap;function c(t,e){return!("auto"!==t.popover&&"manual"!==t.popover||!t.isConnected||e&&"showing"!==l(t)||!e&&"hidden"!==l(t)||t instanceof r&&t.hasAttribute("open")||document.fullscreenElement===t)}function u(t){return t?Array.from(a.get(t.ownerDocument)||[]).indexOf(t)+1:0}function f(t){let e=a.get(t);for(let t of e||[]){if(t.isConnected)return t;e.delete(t)}return null}function h(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?h(t.parentNode):t}function d(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===s.get(t))return t;if((t=t.parentElement||h(t))instanceof o&&(t=t.host),t instanceof Document)return}}function g(t){return!(t.hidden||t instanceof o||(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 m=new WeakMap;function v(e){if(!c(e,!1))return;let o=e.ownerDocument;if(!e.dispatchEvent(new t("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"}))||!c(e,!1))return;let r=!1;if("auto"===e.popover){let t=e.getAttribute("popover"),n=function(t){let e=new Map,n=0,o=t.ownerDocument;for(let t of a.get(o)||[])e.set(t,n),n+=1;e.set(t,n),n+=1;let r=null;return function(t){let n=d(t);if(null===n)return null;let o=e.get(n);(null===r||e.get(r)<o)&&(r=n)}(t?.parentElement),r}(e)||o;if(y(n,!1,!0),t!==e.getAttribute("popover")||!c(e,!1))return}f(o)||(r=!0),m.delete(e);let l=o.activeElement;e.classList.add(":popover-open"),s.set(e,"showing"),i.has(o)||i.set(o,new Set),i.get(o).add(e),function(t){(function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let n=e.querySelector("[autofocus]");if(n)return n;{let t=e.querySelectorAll("slot");for(let e of t){let t=e.assignedElements({flatten:!0});for(let e of t){if(e.hasAttribute("autofocus"))return e;if(n=e.querySelector("[autofocus]"),n)return n}}}let o=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT),r=o.currentNode;for(;r;){if(g(r))return r;r=o.nextNode()}})(t)?.focus()}(e),"auto"===e.popover&&(a.has(o)||a.set(o,new Set),a.get(o).add(e),S(p.get(e),!0)),r&&l&&"auto"===e.popover&&m.set(e,l),n(e,"closed","open")}function w(e,o=!1,r=!1){if(!c(e,!0))return;let l=e.ownerDocument;if("auto"===e.popover&&(y(e,o,r),!c(e,!0))||(S(p.get(e),!1),p.delete(e),r&&(e.dispatchEvent(new t("beforetoggle",{oldState:"open",newState:"closed"})),!c(e,!0))))return;i.get(l)?.delete(e),a.get(l)?.delete(e),e.classList.remove(":popover-open"),s.set(e,"hidden"),r&&n(e,"open","closed");let u=m.get(e);u&&(m.delete(e),o&&u.focus())}function x(t,e=!1,n=!1){let o=f(t);for(;o;)w(o,e,n),o=f(t)}function y(t,e,n){let o=t.ownerDocument||t;if(t instanceof Document)return x(o,e,n);let r=null,i=!1;for(let e of a.get(o)||[])if(e===t)i=!0;else if(i){r=e;break}if(!i)return x(o,e,n);for(;r&&"showing"===l(r)&&a.get(o)?.size;)w(r,e,n)}var b=new WeakMap;function T(t){if(!t.isTrusted)return;let e=t.composedPath()[0];if(!e)return;let n=e.ownerDocument;if(!f(n))return;let r=function(t){let e=d(t),n=function(t){for(;t;){let e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||h(t))instanceof o&&(t=t.host),t instanceof Document)return}}(t);return u(e)>u(n)?e:n}(e);if(r&&"pointerdown"===t.type)b.set(n,r);else if("pointerup"===t.type){let t=b.get(n)===r;b.delete(n),t&&y(r||n,!1,!0)}}var E=new WeakMap;function S(t,e=!1){if(!t)return;E.has(t)||E.set(t,t.getAttribute("aria-expanded"));let n=t.popoverTargetElement;if(n instanceof HTMLElement&&"auto"===n.popover)t.setAttribute("aria-expanded",String(e));else{let e=E.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var A=globalThis.ShadowRoot||function(){};function O(t,e,n){let o=t[e];Object.defineProperty(t,e,{value(t){return o.call(this,n(t))}})}var I=/(^|[^\\]):popover-open\b/g,M="\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(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\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n",R=null;function L(t){if(null===R)try{(R=new CSSStyleSheet).replaceSync(M)}catch{R=!1}if(!1===R){let e=document.createElement("style");e.textContent=M,t instanceof Document?t.head.prepend(e):t.prepend(e)}else t.adoptedStyleSheets=[R,...t.adoptedStyleSheets]}typeof HTMLElement<"u"&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){function e(t){return t?.includes(":popover-open")&&(t=t.replace(I,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||t,O(Document.prototype,"querySelector",e),O(Document.prototype,"querySelectorAll",e),O(Element.prototype,"querySelector",e),O(Element.prototype,"querySelectorAll",e),O(Element.prototype,"matches",e),O(Element.prototype,"closest",e),O(DocumentFragment.prototype,"querySelectorAll",e),O(DocumentFragment.prototype,"querySelectorAll",e),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;let t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"manual"},set(t){this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(){v(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){w(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t){"showing"===s.get(this)&&void 0===t||!1===t?w(this,!0,!0):(void 0===t||!0===t)&&v(this)}}});let n=Element.prototype.attachShadow;n&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){let e=n.call(this,t);return L(e),e}}});let o=HTMLElement.prototype.attachInternals;o&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){let t=o.call(this);return t.shadowRoot&&L(t.shadowRoot),t}}});let r=new WeakMap;function i(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),r.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),r.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName||"input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type||this.disabled||this.form&&"submit"===this.type)return null;let t=r.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return r.delete(this),null;let e=h(this),n=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof A)&&n&&e.getElementById(n)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){let t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}i(HTMLButtonElement),i(HTMLInputElement);var a;(a=document).addEventListener("click",(t=>{if(!t.isTrusted)return;let e=t.composedPath()[0];if(!(e instanceof Element)||e?.shadowRoot)return;let n=h(e);if(!(n instanceof A||n instanceof Document))return;let o=e.closest("[popovertargetaction],[popovertarget]");return o?(function(t){let e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;let n=l(e);"show"===t.popoverTargetAction&&"showing"===n||"hide"===t.popoverTargetAction&&"hidden"===n||("showing"===n?w(e,!0,!0):c(e,!1)&&(p.set(e,t),v(e)))}(o),void t.preventDefault()):void 0})),a.addEventListener("keydown",(t=>{let e=t.key,n=t.target;!t.defaultPrevented&&n&&("Escape"===e||"Esc"===e)&&y(n.ownerDocument,!0,!0)})),a.addEventListener("pointerdown",T),a.addEventListener("pointerup",T),L(document)}()})();const At=class{constructor(n){t(this,n),this.postToggle=e(this,"postToggle",7),this.placement="top",this.edgeGap=8,this.animation=null,this.arrow=!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`)}componentDidLoad(){this.host.setAttribute("popover",""),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,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,f=st(t),h=r||i?[...f?it(f):[],...it(e)]:[];h.forEach((t=>{r&&t.addEventListener("scroll",n,{passive:!0}),i&&t.addEventListener("resize",n)}));const d=f&&c?function(t,e){let n,o=null;const r=P(t);function i(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function l(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),i();const{left:f,top:h,width:d,height:g}=t.getBoundingClientRect();if(c||e(),!d||!g)return;const m={rootMargin:-p(h)+"px "+-p(r.clientWidth-(f+d))+"px "+-p(r.clientHeight-(h+g))+"px "+-p(f)+"px",threshold:s(0,a(1,u))||1};let v=!0;function w(t){const e=t[0].intersectionRatio;if(e!==u){if(!v)return l();e?l(!1,e):n=setTimeout((()=>{l(!1,1e-7)}),1e3)}v=!1}try{o=new IntersectionObserver(w,{...m,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(w,m)}o.observe(t)}(!0),i}(f,n):null;let g,m=-1,v=null;l&&(v=new ResizeObserver((t=>{let[o]=t;o&&o.target===f&&v&&(v.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=v)||t.observe(e)}))),n()})),f&&!u&&v.observe(f),v.observe(e));let w=u?ut(t):null;return u&&function e(){const o=ut(t);!w||o.x===w.x&&o.y===w.y&&o.width===w.width&&o.height===w.height||n(),w=o,g=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach((t=>{r&&t.removeEventListener("scroll",n),i&&t.removeEventListener("resize",n)})),null==d||d(),null==(t=v)||t.disconnect(),v=null,u&&cancelAnimationFrame(g)}}(this.eventTarget,this.host,this.calculatePosition.bind(this))}async calculatePosition(){const{x:t,y:e,middlewareData:n,placement:o}=await this.computeMainPosition(),r=o.split("-")[0];if(this.host.style.left=`${t}px`,this.host.style.top=`${e}px`,this.arrow&&n.arrow){const{x:t,y:e}=n.arrow,o=At.STATIC_SIDES[r];o&&Object.assign(this.arrowRef.style,{left:t?`${t}px`:"",top:e?`${e}px`:"",[o]:"-7px"})}this.safeSpace&&this.eventTarget&&await this.updateSafeSpaceBoundaries(r)}async computeMainPosition(){const t=this.edgeGap,e=[Tt(),(void 0===n&&(n={}),{name:"inline",options:n,async fn(t){const{placement:e,elements:o,rects:r,platform:i,strategy:l}=t,{padding:p=2,x:c,y:u}=d(n,t),f=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),h=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const r=e[t];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((t=>R(k(t))))}(f),m=R(k(f)),v=M(p),w=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=c&&null!=u)return h.find((t=>c>t.left-v.left&&c<t.right+v.right&&u>t.top-v.top&&u<t.bottom+v.bottom))||m;if(h.length>=2){if("y"===y(e)){const t=h[0],n=h[h.length-1],o="top"===g(e),r=t.top,i=n.bottom,a=o?t.left:n.left,s=o?t.right:n.right;return{top:r,bottom:i,left:a,right:s,width:s-a,height:i-r,x:a,y:r}}const t="left"===g(e),n=s(...h.map((t=>t.right))),o=a(...h.map((t=>t.left))),r=h.filter((e=>t?e.left===o:e.right===n)),i=r[0].top,l=r[r.length-1].bottom;return{top:i,bottom:l,left:o,right:n,width:n-o,height:l-i,x:o,y:i}}return m}},floating:o.floating,strategy:l});return r.reference.x!==w.reference.x||r.reference.y!==w.reference.y||r.reference.width!==w.reference.width||r.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}),bt({padding:t,limiter:St({offset:32})}),Et({apply({availableWidth:e,elements:n}){Object.assign(n.floating.style,{maxWidth:e-2*t+"px"})}}),yt(this.arrow?t+4:t)];var n;return this.arrow&&e.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:l,middlewareData:p}=e,{element:c,padding:u=0}=d(t,e)||{};if(null==c)return{};const f=M(u),g={x:n,y:o},v=b(r),x=w(v),y=await s.getDimensions(c),T="y"===v,E=T?"top":"left",S=T?"bottom":"right",A=T?"clientHeight":"clientWidth",O=i.reference[x]+i.reference[v]-g[v]-i.floating[x],I=g[v]-i.reference[v],R=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let L=R?R[A]:0;L&&await(null==s.isElement?void 0:s.isElement(R))||(L=l.floating[A]||i.floating[x]);const H=O/2-I/2,k=L/2-y[x]/2-1,N=a(f[E],k),D=a(f[S],k),F=N,C=L-y[x]-D,P=L/2-y[x]/2+H,W=h(F,P,C),$=!p.arrow&&null!=m(r)&&P!==W&&i.reference[x]/2-(P<F?N:D)-y[x]/2<0,B=$?P<F?P-F:P-C:0;return{[v]:g[v]+B,data:{[v]:W,centerOffset:P-W-B,...$&&{alignmentOffset:B}},reset:$}}}))({element:this.arrowRef,padding:t})),((t,e,n)=>{const o=new Map,r={platform:xt,...n},i={...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let p=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:c,y:u}=L(p,o,l),f=o,h={},d=0;for(let n=0;n<s.length;n++){const{name:i,fn:g}=s[n],{x:m,y:v,data:w,reset:x}=await g({x:c,y:u,initialPlacement:o,placement:f,strategy:r,middlewareData:h,rects:p,platform:a,elements:{reference:t,floating:e}});c=null!=m?m:c,u=null!=v?v:u,h={...h,[i]:{...h[i],...w}},x&&d<=50&&(d++,"object"==typeof x&&(x.placement&&(f=x.placement),x.rects&&(p=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:c,y:u}=L(p,f,l))),n=-1)}return{x:c,y:u,placement:f,strategy:r,middlewareData:h}})(t,e,{...r,platform:i})})(this.eventTarget,this.host,{placement:this.placement||"top",strategy:"fixed",middleware:e})}async updateSafeSpaceBoundaries(t){const e=this.eventTarget.getBoundingClientRect(),n="top"===t||"bottom"===t,o=((t,e,n)=>"top"===t||"bottom"===t?{popover:{y:"top"===t?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:"top"===t?n.top:n.bottom,xStart:n.left,xEnd:n.right}}:{popover:{x:"left"===t?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:"left"===t?n.left:n.right,yStart:n.top,yEnd:n.bottom}})(t,this.host.getBoundingClientRect(),e);At.PROPERTIES_TO_CLEAR.forEach((t=>{this.host.style.removeProperty(t)})),n?(this.host.style.setProperty("--post-safe-space-popover-y",`${o.popover.y}px`),this.host.style.setProperty("--post-safe-space-popover-x-start",`${o.popover.xStart}px`),this.host.style.setProperty("--post-safe-space-popover-x-end",`${o.popover.xEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-y",`${o.trigger.y}px`),this.host.style.setProperty("--post-safe-space-trigger-x-start",`${o.trigger.xStart}px`),this.host.style.setProperty("--post-safe-space-trigger-x-end",`${o.trigger.xEnd}px`)):(this.host.style.setProperty("--post-safe-space-popover-x",`${o.popover.x}px`),this.host.style.setProperty("--post-safe-space-popover-y-start",`${o.popover.yStart}px`),this.host.style.setProperty("--post-safe-space-popover-y-end",`${o.popover.yEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-x",`${o.trigger.x}px`),this.host.style.setProperty("--post-safe-space-trigger-y-start",`${o.trigger.yStart}px`),this.host.style.setProperty("--post-safe-space-trigger-y-end",`${o.trigger.yEnd}px`))}render(){return n(o,{key:"98ea26b46803e8aa98cc2cec53798d994c0ff856","data-version":i},n("div",{key:"230fa7df2963b36e67a4559f07010f7213240e3c",class:this.animation?`animate-${this.animation}`:""},this.arrow&&n("span",{key:"58647eb14ef84ff04b04b7dec0bbb38b9bcd4b69",class:"arrow",ref:t=>{this.arrowRef=t}}),n("slot",{key:"de0afc53f013ac7d4cdd06e0e2d7746a8e0971dc"})))}get host(){return r(this)}};At.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"},At.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"],At.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)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */@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:.5px 3px 4px rgba(0,0,0,.1),2px 4px 10px 4px rgba(0,0,0,.12);width:max-content;display:flex;align-items:center;max-width:100%;color:var(--post-contrast-color);background-color:rgb(var(--post-bg-rgb));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):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)}';export{At as P}
|